Repository navigation
Expand file tree
/
Copy pathmenu.lua
More file actions
153 lines (121 loc) · 3.85 KB
/
Copy pathmenu.lua
File metadata and controls
153 lines (121 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local VirtualUser = game:GetService("VirtualUser")
local player = Players.LocalPlayer
local Framework = shared.Framework
local MainMenu = Framework.CreateWindow({
Id = "MainMenu",
Title = "No comment",
Size = UDim2.fromOffset(720, 480),
})
if #MainMenu.Tabs == 0 then
local General = MainMenu:AddTab("General")
local Visual = MainMenu:AddTab("Visual")
local PlayerTab = MainMenu:AddTab("Player")
local External = MainMenu:AddTab("External")
local generalSection = General:AddSection("Functions")
local visualSection = Visual:AddSection("Visuals")
local playerSection = PlayerTab:AddSection("Movement")
local externalSection = External:AddSection("Scripts")
externalSection:AddButton({
Text = "Remote Spy",
Callback = function()
Framework.Notify({
Title = "Remote Spy",
Text = "Initializing Remote Spy",
})
local func, err = loadstring(game:HttpGet("https://raw.githubusercontent.com/LiquifyCD/No-Comment-Menu/main/scripts/RemoteSpy.lua"))()
if not func then
Framework.Notify({
Title = "Error",
Text = "Failed to initialize Remote Spy",
})
return
end
end,
})
externalSection:AddButton({
Text = "Dark Dex",
Callback = function()
Framework.Notify({
Title = "Dark Dex",
Text = "Initializing Dark Dex",
})
local func, err = loadstring(game:HttpGet("https://raw.githubusercontent.com/LiquifyCD/No-Comment-Menu/main/scripts/DarkDexV4.lua"))()
if not func then
Framework.Notify({
Title = "Error",
Text = "Failed to initialize Dark Dex",
})
return
end
end,
})
--Anti AFK
local antiAfkConnection = nil
local function enableAntiAFK()
if antiAfkConnection then return end
local ok, err = pcall(function()
antiAfkConnection = player.Idled:Connect(function()
VirtualUser:CaptureController()
VirtualUser:ClickButton2(Vector2.new(0, 0))
end)
end)
if not ok then
Framework.Notify({
Title = "Error",
Text = "Failed initializing Anti-AFK: " .. tostring(err),
})
return
end
Framework.Notify({
Title = "Anti-AFK",
Text = "Anti-AFK enabled",
})
end
local function disableAntiAFK()
if antiAfkConnection then
antiAfkConnection:Disconnect()
antiAfkConnection = nil
end
Framework.Notify({
Title = "Anti-AFK",
Text = "Anti-AFK disabled",
})
end
generalSection:AddToggle({
Text = "Anti-AFK",
Default = false,
Callback = function(value)
if value then
enableAntiAFK()
else
disableAntiAFK()
end
end,
})
playerSection:AddSlider({
Text = "Walkspeed",
Min = 0,
Max = 100,
Default = 16,
Step = 1,
Callback = function(value)
local player = game:GetService("Players").LocalPlayer
if player.Character and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.WalkSpeed = value
end
end,
})
end
repeat task.wait() until shared.NoComment and shared.NoComment.Ready
local Framework = shared.NoComment
-- Wait for the specific window to exist (it was created with Id = "MainMenu")
repeat task.wait() until Framework.Windows["MainMenu"]
local MainMenu = Framework.Windows["MainMenu"]
-- Uses the framework's own InputManager (same pattern it uses internally
-- for F1 / Escape), so this plays nicely with any other binds you add later.
Framework.InputManager.Bind("ToggleMainMenu", Enum.KeyCode.RightShift, function()
MainMenu.Frame.Visible = not MainMenu.Frame.Visible
end)
game:GetService("CoreGui").NoCommentGui:SetAttribute("MenuReady", true)