SHOW:
|
|
- or go back to the newest paste.
1 | local PROJECTJOJOGUI = Instance.new("ScreenGui") | |
2 | local Frame = Instance.new("Frame") | |
3 | local jojo = Instance.new("TextLabel") | |
4 | local Stand = Instance.new("TextButton") | |
5 | local Roka = Instance.new("TextButton") | |
6 | local money = Instance.new("TextButton") | |
7 | local trait = Instance.new("TextButton") | |
8 | local farm = Instance.new("TextButton") | |
9 | local shop = Instance.new("TextButton") | |
10 | local close = Instance.new("TextButton") | |
11 | local Req = Instance.new("TextButton") | |
12 | --Properties: | |
13 | PROJECTJOJOGUI.Name = "PROJECT JOJO GUI" | |
14 | PROJECTJOJOGUI.Parent = game.CoreGui | |
15 | PROJECTJOJOGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
16 | ||
17 | Frame.Parent = PROJECTJOJOGUI | |
18 | Frame.BackgroundColor3 = Color3.new(0.356863, 0.356863, 0.356863) | |
19 | Frame.BorderColor3 = Color3.new(0.356863, 0.356863, 0.356863) | |
20 | Frame.Position = UDim2.new(0.0194496512, 0, 0.518618286, 0) | |
21 | Frame.Size = UDim2.new(0, 232, 0, 185) | |
22 | Frame.Active = true | |
23 | Frame.Draggable = true | |
24 | ||
25 | jojo.Name = "jojo" | |
26 | jojo.Parent = Frame | |
27 | jojo.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
28 | jojo.BorderColor3 = Color3.new(1, 0.333333, 0) | |
29 | jojo.Position = UDim2.new(0, 0, -0.00378467445, 0) | |
30 | jojo.Size = UDim2.new(0, 231, 0, 19) | |
31 | jojo.Font = Enum.Font.SourceSans | |
32 | jojo.Text = "PROJECT JOJO" | |
33 | jojo.TextColor3 = Color3.new(0, 0, 0) | |
34 | jojo.TextScaled = true | |
35 | jojo.TextSize = 14 | |
36 | jojo.TextWrapped = true | |
37 | ||
38 | Stand.Name = "Stand" | |
39 | Stand.Parent = Frame | |
40 | Stand.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
41 | Stand.BackgroundTransparency = 0.5 | |
42 | Stand.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
43 | Stand.Position = UDim2.new(0.0371921025, 0, 0.188197941, 0) | |
44 | Stand.Size = UDim2.new(0, 95, 0, 21) | |
45 | Stand.Font = Enum.Font.SourceSans | |
46 | Stand.Text = "Stand Arrow" | |
47 | Stand.TextColor3 = Color3.new(0, 0, 0) | |
48 | Stand.TextSize = 14 | |
49 | Stand.MouseButton1Click:connect(function() | |
50 | for _,v in pairs(game.Workspace:GetDescendants()) do | |
51 | if string.find(v.Name, "StandArrow") and v:FindFirstChild("Handle") then | |
52 | v:FindFirstChild("Handle").Anchored = true | |
53 | v:FindFirstChild("Handle").CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,0) | |
54 | end | |
55 | end | |
56 | end) | |
57 | ||
58 | Roka.Name = "Roka" | |
59 | Roka.Parent = Frame | |
60 | Roka.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
61 | Roka.BackgroundTransparency = 0.5 | |
62 | Roka.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
63 | Roka.Position = UDim2.new(0.550235569, 0, 0.188197941, 0) | |
64 | Roka.Size = UDim2.new(0, 95, 0, 21) | |
65 | Roka.Font = Enum.Font.SourceSans | |
66 | Roka.Text = "Rokaka Fruit" | |
67 | Roka.TextColor3 = Color3.new(0, 0, 0) | |
68 | Roka.TextSize = 14 | |
69 | Roka.TextWrapped = true | |
70 | Roka.MouseButton1Click:connect(function() | |
71 | for _,v in pairs(game.Workspace:GetDescendants()) do | |
72 | if string.find(v.Name, "RokakakaFruit") and v:FindFirstChild("Handle") then | |
73 | v:FindFirstChild("Handle").Anchored = true | |
74 | v:FindFirstChild("Handle").CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,0) | |
75 | end | |
76 | end | |
77 | end) | |
78 | ||
79 | money.Name = "money" | |
80 | money.Parent = Frame | |
81 | money.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
82 | money.BackgroundTransparency = 0.5 | |
83 | money.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
84 | money.Position = UDim2.new(0.0371921025, 0, 0.37198171, 0) | |
85 | money.Size = UDim2.new(0, 95, 0, 21) | |
86 | money.Font = Enum.Font.SourceSans | |
87 | money.Text = "Money" | |
88 | money.TextColor3 = Color3.new(0, 0, 0) | |
89 | money.TextSize = 14 | |
90 | money.MouseButton1Click:connect(function() | |
91 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = workspace:WaitForChild("MoneyBag").CFrame | |
92 | end) | |
93 | ||
94 | trait.Name = "trait" | |
95 | trait.Parent = Frame | |
96 | trait.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
97 | trait.BackgroundTransparency = 0.5 | |
98 | trait.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
99 | trait.Position = UDim2.new(0.5459252, 0, 0.37198171, 0) | |
100 | trait.Size = UDim2.new(0, 95, 0, 21) | |
101 | trait.Font = Enum.Font.SourceSans | |
102 | trait.Text = "Legendary Trait" | |
103 | trait.TextColor3 = Color3.new(0, 0, 0) | |
104 | trait.TextSize = 14 | |
105 | trait.MouseButton1Click:connect(function() | |
106 | game.Players.LocalPlayer.Resilience.Value = "inf" | |
107 | game.Players.LocalPlayer.Potency.Value = "inf" | |
108 | game.Players.LocalPlayer.Speed.Value = 2 | |
109 | end) | |
110 | ||
111 | farm.Name = "farm" | |
112 | farm.Parent = Frame | |
113 | farm.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
114 | farm.BackgroundTransparency = 0.5 | |
115 | farm.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
116 | farm.Position = UDim2.new(0.0329942107, 0, 0.539549232, 0) | |
117 | farm.Size = UDim2.new(0, 95, 0, 21) | |
118 | farm.Font = Enum.Font.SourceSans | |
119 | farm.Text = "VIP SERVER ONLY" | |
120 | farm.TextColor3 = Color3.new(0, 0, 0) | |
121 | farm.TextSize = 14 | |
122 | farm.MouseButton1Click:connect(function() | |
123 | local P=workspace:FindFirstChildOfClass'Part' | |
124 | local R=game:GetService'ReplicatedStorage':WaitForChild'Logic':WaitForChild'hitbox' | |
125 | local R2=game:GetService'ReplicatedStorage':WaitForChild'Logic':WaitForChild'misc' | |
126 | local LP=game:GetService'Players'.LocalPlayer | |
127 | for _,a in ipairs(workspace:GetChildren())do | |
128 | if(a:FindFirstChildOfClass'Humanoid'and a.Name~=LP.Name)then | |
129 | spawn(function() | |
130 | local Pa=LP.Character:FindFirstChildOfClass'Part' | |
131 | R:InvokeServer(0,Pa,Pa.CFrame,2e8,LP.Character.Torso.voiceline,a:FindFirstChildOfClass'Humanoid') | |
132 | end) | |
133 | end | |
134 | end | |
135 | workspace.ChildAdded:Connect(function(a) | |
136 | wait(.125) | |
137 | if(a:FindFirstChildOfClass'Humanoid'and a.Name~=LP.Name)then | |
138 | spawn(function() | |
139 | repeat wait(.75)until not a:FindFirstChildOfClass'ForceField' | |
140 | local Pa=LP.Character:FindFirstChildOfClass'Part' | |
141 | R:InvokeServer(0,Pa,Pa.CFrame,2e8,LP.Character.Torso.voiceline,a:FindFirstChildOfClass'Humanoid') | |
142 | end) | |
143 | end | |
144 | end) | |
145 | for _,a in ipairs(game:GetService'Players':GetPlayers())do | |
146 | R2:FireServer(10,a['S/Level'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
147 | R2:FireServer(10,a['Level'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
148 | R2:FireServer(10,a['Speed'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
149 | R2:FireServer(10,a['S/Speed'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
150 | R2:FireServer(10,a['Power'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
151 | R2:FireServer(10,a['S/Power'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
152 | R2:FireServer(10,a['Stand'],'UI','zxck0d929easjdkadasdji29e9u2es21') | |
153 | R2:FireServer(10,a['S/Stand'],'UI','zxck0d929easjdkadasdji29e9u2es21') | |
154 | R2:FireServer(10,a['Points'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
155 | R2:FireServer(10,a['S/Points'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
156 | R2:FireServer(10,a['Special'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
157 | R2:FireServer(10,a['S/Special'],2e8,'zxck0d929easjdkadasdji29e9u2es21') | |
158 | end | |
159 | end) | |
160 | ||
161 | shop.Name = "shop" | |
162 | shop.Parent = Frame | |
163 | shop.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
164 | shop.BackgroundTransparency = 0.5 | |
165 | shop.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
166 | shop.Position = UDim2.new(0.550123096, 0, 0.534143865, 0) | |
167 | shop.Size = UDim2.new(0, 95, 0, 21) | |
168 | shop.Font = Enum.Font.SourceSans | |
169 | shop.Text = "Shop" | |
170 | shop.TextColor3 = Color3.new(0, 0, 0) | |
171 | shop.TextSize = 14 | |
172 | shop.MouseButton1Click:connect(function() | |
173 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1518.72522, 875.027283, -425.667816) | |
174 | end) | |
175 | ||
176 | close.Name = "close" | |
177 | close.Parent = Frame | |
178 | close.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
179 | close.BorderColor3 = Color3.new(1, 0.333333, 0) | |
180 | close.Position = UDim2.new(0.87193799, 0, -0.000991243985, 0) | |
181 | close.Size = UDim2.new(0, 20, 0, 18) | |
182 | close.Font = Enum.Font.SourceSans | |
183 | close.Text = "X" | |
184 | close.TextColor3 = Color3.new(0, 0, 0) | |
185 | close.TextScaled = true | |
186 | close.TextSize = 14 | |
187 | close.TextStrokeColor3 = Color3.new(1, 0.333333, 0) | |
188 | close.TextWrapped = true | |
189 | close.MouseButton1Click:connect(function() | |
190 | Frame.Visible = false | |
191 | end) | |
192 | ||
193 | Req.Name = "Req" | |
194 | Req.Parent = Frame | |
195 | Req.BackgroundColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
196 | Req.BackgroundTransparency = 0.5 | |
197 | Req.BorderColor3 = Color3.new(0.835294, 0.835294, 0.835294) | |
198 | Req.Position = UDim2.new(0.257019699, 0, 0.750360131, 0) | |
199 | Req.Size = UDim2.new(0, 111, 0, 31) | |
200 | Req.Font = Enum.Font.SourceSans | |
201 | Req.Text = "Requiem Arrow TEST" | |
202 | Req.TextColor3 = Color3.new(0, 0, 0) | |
203 | Req.TextSize = 14 | |
204 | Req.MouseButton1Click:connect(function() | |
205 | trueSettings = { | |
206 | - | if string.find(v.Name, "RequiemArrow") and v:FindFirstChild("Handle") then |
206 | + | commandPrefix = ";"; |
207 | hotkeys = {}; | |
208 | fchotkeymode = "unfc"; | |
209 | } | |
210 | gsPlayers = game:GetService("Players") | |
211 | gsWorkspace = game:GetService("Workspace") | |
212 | gsLighting = game:GetService("Lighting") | |
213 | gsReplicatedStorage = game:GetService("ReplicatedStorage") | |
214 | gsCoreGui = game:GetService("CoreGui") | |
215 | gsTween = game:GetService("TweenService") | |
216 | gsHttp = game:GetService("HttpService") | |
217 | ||
218 | LP = gsPlayers.LocalPlayer | |
219 | Mouse = LP:GetMouse() | |
220 | ||
221 | defaultSettings = gsHttp:JSONEncode(trueSettings) | |
222 | function CreateSave() | |
223 | writefile("Shattervast.txt", defaultSettings) | |
224 | wait(0.5) | |
225 | local content = readfile("Shattervast.txt") | |
226 | local trueValue = gsHttp:JSONDecode(content) | |
227 | commandPrefix = trueValue.commandPrefix | |
228 | hotkeys = trueValue.hotkeys | |
229 | fchotkeymode = trueValue.fchotkeymode | |
230 | end | |
231 | function fullUpdate() | |
232 | local updatedSettings = { | |
233 | commandPrefix = commandPrefix; | |
234 | hotkeys = hotkeys; | |
235 | fchotkeymode = fchotkeymode; | |
236 | } | |
237 | local fullUPDATED = gsHttp:JSONEncode(updatedSettings) | |
238 | wait(0.2) | |
239 | writefile("Shattervast.txt", fullUPDATED) | |
240 | end | |
241 | if writefile ~= nil then | |
242 | function builder() | |
243 | local TESTsave = readfile("Shattervast.txt") | |
244 | if TESTsave == nil then | |
245 | return false | |
246 | else | |
247 | return true | |
248 | end | |
249 | end | |
250 | local success, message = pcall(builder) | |
251 | if success == true then | |
252 | function reader() | |
253 | local content = readfile("Shattervast.txt") | |
254 | local trueValue = gsHttp:JSONDecode(content) | |
255 | commandPrefix = trueValue.commandPrefix | |
256 | hotkeys = trueValue.hotkeys | |
257 | if trueValue.fchotkeymode == nil then | |
258 | fchotkeymode = "unfc" | |
259 | fullUpdate() | |
260 | else | |
261 | fchotkeymode = trueValue.fchotkeymode | |
262 | end | |
263 | end | |
264 | reader() | |
265 | elseif success == false then | |
266 | CreateSave() | |
267 | end | |
268 | else | |
269 | commandPrefix = ";" | |
270 | hotkeys = {} | |
271 | fchotkeymode = "unfc" | |
272 | end | |
273 | ||
274 | CurrentGravity = gsWorkspace.Gravity | |
275 | CurrentWalkspeed = LP.Character.Humanoid.WalkSpeed | |
276 | CurrentJumppower = LP.Character.Humanoid.JumpPower | |
277 | CurrentHipheight = LP.Character.Humanoid.HipHeight | |
278 | CurrentNormal = LP.DevCameraOcclusionMode | |
279 | ||
280 | gsWorkspace.Camera.Changed:Connect(function() | |
281 | gsWorkspace.Camera.FieldOfView = 70 | |
282 | end) | |
283 | ||
284 | -- Important Functions | |
285 | function view(plr) | |
286 | if plr.Character.Humanoid ~= nil then | |
287 | gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid | |
288 | else | |
289 | gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head | |
290 | end | |
291 | end | |
292 | function unlockWS() | |
293 | for i,part in pairs(gsWorkspace:GetDescendants()) do | |
294 | if part:IsA("Part") then | |
295 | part.Locked = false | |
296 | end | |
297 | end | |
298 | end | |
299 | function lockWS() | |
300 | for i,part in pairs(gsWorkspace:GetDescendants()) do | |
301 | if part:IsA("Part") then | |
302 | part.Locked = true | |
303 | end | |
304 | end | |
305 | end | |
306 | function FEGodmode() | |
307 | local changeview = false | |
308 | if gsWorkspace.CurrentCamera.CameraSubject == LP.Character.Humanoid or gsWorkspace.CurrentCamera.CameraSubject == LP.Character then | |
309 | changeview = true | |
310 | end | |
311 | LP.Character.Humanoid.Name = 1 | |
312 | local l = LP.Character["1"]:Clone() | |
313 | l.Parent = LP.Character | |
314 | l.Name = "Humanoid" | |
315 | wait(0.1) | |
316 | LP.Character["1"]:Destroy() | |
317 | if changeview then | |
318 | game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character | |
319 | end | |
320 | LP.Character.Animate.Disabled = true | |
321 | wait(0.1) | |
322 | LP.Character.Animate.Disabled = false | |
323 | LP.Character.Humanoid.DisplayDistanceType = "None" | |
324 | end | |
325 | function RocketPropulsion(maxthrust,maxspeed,thrustp,targetplr,name) | |
326 | local l = Instance.new("RocketPropulsion") | |
327 | l.Parent = LP.Character.HumanoidRootPart | |
328 | l.CartoonFactor = 1 | |
329 | l.MaxThrust = maxthrust | |
330 | l.MaxSpeed = maxspeed | |
331 | l.ThrustP = thrustp | |
332 | l.Name = name | |
333 | l.Target = targetplr.Character.HumanoidRootPart | |
334 | l:Fire() | |
335 | end | |
336 | function createIntro(style, msg, length) | |
337 | if gsCoreGui:FindFirstChild("Notification") then | |
338 | gsCoreGui:FindFirstChild("Notification"):Destroy() | |
339 | end | |
340 | local info = "http://www.roblox.com/asset/?id=1281284684" | |
341 | local warning = "http://www.roblox.com/asset/?id=1281286925" | |
342 | if style == "info" then | |
343 | style = info | |
344 | elseif style == "warning" then | |
345 | style = warning | |
346 | end | |
347 | local Notification = Instance.new("ScreenGui") | |
348 | local Frame = Instance.new("Frame") | |
349 | local TextLabel = Instance.new("TextLabel") | |
350 | local IMAGE = Instance.new("ImageLabel") | |
351 | Notification.Name = "Notification" | |
352 | Notification.Parent = gsCoreGui | |
353 | Frame.Parent = Notification | |
354 | Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) | |
355 | Frame.BackgroundTransparency = 0.20000000298023 | |
356 | Frame.BorderSizePixel = 0 | |
357 | Frame.Position = UDim2.new(0, 0, -0.2, 0) | |
358 | Frame.Size = UDim2.new(1, 0, 0, 30) | |
359 | TextLabel.Parent = Frame | |
360 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
361 | TextLabel.BackgroundTransparency = 1 | |
362 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
363 | TextLabel.Font = Enum.Font.SourceSansLight | |
364 | TextLabel.Text = msg | |
365 | TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882) | |
366 | TextLabel.TextScaled = true | |
367 | TextLabel.TextSize = 14 | |
368 | TextLabel.TextWrapped = true | |
369 | IMAGE.Parent = Frame | |
370 | IMAGE.BackgroundTransparency = 1 | |
371 | IMAGE.Size = UDim2.new(0, 50, 0, 50) | |
372 | IMAGE.Position = UDim2.new(0.1, 0, 0, 0) | |
373 | IMAGE.Image = style | |
374 | local Intro = Instance.new("ScreenGui") | |
375 | local Frame2 = Instance.new("Frame") | |
376 | local IMAGE2 = Instance.new("ImageLabel") | |
377 | Intro.Name = "Intro" | |
378 | Intro.Parent = gsCoreGui | |
379 | Frame2.Parent = Intro | |
380 | Frame2.BackgroundTransparency = 1 | |
381 | Frame2.BorderSizePixel = 0 | |
382 | Frame2.Position = UDim2.new(0, 0, -0.2, 0) | |
383 | Frame2.Size = UDim2.new(1, 0, 0, 30) | |
384 | IMAGE2.Parent = Frame | |
385 | IMAGE2.BackgroundTransparency = 1 | |
386 | IMAGE2.AnchorPoint = Vector2.new(0.5, 0) | |
387 | IMAGE2.Size = UDim2.new(0, 240, 0, 120) | |
388 | IMAGE2.Position = UDim2.new(0.5, 0, 0, 0) | |
389 | IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522" | |
390 | Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5) | |
391 | Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5) | |
392 | wait(length) | |
393 | pcall(function() | |
394 | Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3) | |
395 | Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3) | |
396 | end) | |
397 | wait(3.01) | |
398 | Intro:Destroy() | |
399 | Notification:Destroy() | |
400 | end | |
401 | function Notification(style, msg, length) | |
402 | if gsCoreGui:FindFirstChild("Notification") then | |
403 | gsCoreGui:FindFirstChild("Notification"):Destroy() | |
404 | end | |
405 | local info = "http://www.roblox.com/asset/?id=1281284684" | |
406 | local warning = "http://www.roblox.com/asset/?id=1281286925" | |
407 | if style == "info" then | |
408 | style = info | |
409 | elseif style == "warning" then | |
410 | style = warning | |
411 | end | |
412 | local Notification = Instance.new("ScreenGui") | |
413 | local Frame = Instance.new("Frame") | |
414 | local TextLabel = Instance.new("TextLabel") | |
415 | local IMAGE = Instance.new("ImageLabel") | |
416 | Notification.Name = "Notification" | |
417 | Notification.Parent = gsCoreGui | |
418 | Frame.Parent = Notification | |
419 | Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) | |
420 | Frame.BackgroundTransparency = 0.20000000298023 | |
421 | Frame.BorderSizePixel = 0 | |
422 | Frame.Position = UDim2.new(0, 0, -0.2, 0) | |
423 | Frame.Size = UDim2.new(1, 0, 0, 30) | |
424 | TextLabel.Parent = Frame | |
425 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
426 | TextLabel.BackgroundTransparency = 1 | |
427 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
428 | TextLabel.Font = Enum.Font.SourceSansLight | |
429 | TextLabel.Text = msg | |
430 | TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882) | |
431 | TextLabel.TextScaled = true | |
432 | TextLabel.TextSize = 14 | |
433 | TextLabel.TextWrapped = true | |
434 | IMAGE.Parent = Frame | |
435 | IMAGE.BackgroundTransparency = 1 | |
436 | IMAGE.Size = UDim2.new(0, 50, 0, 50) | |
437 | IMAGE.Position = UDim2.new(0.1, 0, 0, 0) | |
438 | IMAGE.Image = style | |
439 | Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5) | |
440 | wait(length) | |
441 | pcall(function() | |
442 | Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3) | |
443 | end) | |
444 | wait(3.01) | |
445 | Notification:Destroy() | |
446 | end | |
447 | function hasTools() | |
448 | local a = false | |
449 | local b = false | |
450 | for i,v in pairs(LP.Character:GetDescendants()) do | |
451 | if v:IsA("Tool") then | |
452 | if v ~= nil then | |
453 | a = true | |
454 | else | |
455 | a = false | |
456 | end | |
457 | end | |
458 | end | |
459 | for i,k in pairs(LP.Backpack:GetDescendants()) do | |
460 | if k:IsA("Tool") then | |
461 | if k ~= nil then | |
462 | b = true | |
463 | else | |
464 | b = false | |
465 | end | |
466 | end | |
467 | end | |
468 | return a or b | |
469 | end | |
470 | Compliments = {" is the coolest person in this server!", ", I really like your avatar!", ", I really want to be your friend!", " is truly amazing. Truly!", " is incredible!", ", you are my favourite here!!", ", I am complimenting you right now at this very moment.", " you are really awesome", " when will you be my friend!?", " is such a great person", " is a fantastic person!"} | |
471 | function complimentplr(player) | |
472 | local plrName = player.Name | |
473 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plrName..Compliments[math.random(1, #Compliments)], "All") | |
474 | end | |
475 | function createINFO(player) | |
476 | local InfoGUIv2 = Instance.new("ScreenGui") | |
477 | local Frame = Instance.new("Frame") | |
478 | local Frame_2 = Instance.new("Frame") | |
479 | local infoguiCLOSE = Instance.new("TextButton") | |
480 | local Frame_3 = Instance.new("Frame") | |
481 | local playerName = Instance.new("TextLabel") | |
482 | local Frame_4 = Instance.new("Frame") | |
483 | local playerAvatar = Instance.new("ImageLabel") | |
484 | local playerAccAge = Instance.new("TextLabel") | |
485 | local playerId = Instance.new("TextLabel") | |
486 | local playerOs = Instance.new("TextLabel") | |
487 | local playerMembership = Instance.new("TextLabel") | |
488 | local Frame_5 = Instance.new("Frame") | |
489 | local Frame_6 = Instance.new("Frame") | |
490 | InfoGUIv2.Name = "InfoGUIv2" | |
491 | InfoGUIv2.Parent = gsCoreGui | |
492 | Frame.Parent = InfoGUIv2 | |
493 | Frame.BackgroundColor3 = Color3.new(0, 0, 0) | |
494 | Frame.BackgroundTransparency = 1 | |
495 | Frame.BorderColor3 = Color3.new(0, 0, 0) | |
496 | Frame.ClipsDescendants = true | |
497 | Frame.Position = UDim2.new(0.45, 0, 1, 0) | |
498 | Frame.Size = UDim2.new(0, 265, 0, 302) | |
499 | Frame.ZIndex = -1 | |
500 | Frame_2.Parent = Frame | |
501 | Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059) | |
502 | Frame_2.BorderSizePixel = 0 | |
503 | Frame_2.Size = UDim2.new(0, 260, 0, 20) | |
504 | infoguiCLOSE.Name = "infoguiCLOSE" | |
505 | infoguiCLOSE.Parent = Frame_2 | |
506 | infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1) | |
507 | infoguiCLOSE.BackgroundTransparency = 1 | |
508 | infoguiCLOSE.BorderSizePixel = 0 | |
509 | infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0) | |
510 | infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20) | |
511 | infoguiCLOSE.Font = Enum.Font.SourceSansBold | |
512 | infoguiCLOSE.Text = "X" | |
513 | infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157) | |
514 | infoguiCLOSE.TextSize = 20 | |
515 | Frame_3.Parent = Frame | |
516 | Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294) | |
517 | Frame_3.BorderSizePixel = 0 | |
518 | Frame_3.Position = UDim2.new(0, 0, 0, 20) | |
519 | Frame_3.Size = UDim2.new(0, 260, 0, 40) | |
520 | playerName.Name = "playerName" | |
521 | playerName.Parent = Frame_3 | |
522 | playerName.BackgroundColor3 = Color3.new(1, 1, 1) | |
523 | playerName.BackgroundTransparency = 1 | |
524 | playerName.Position = UDim2.new(0, 10, 0, 5) | |
525 | playerName.Size = UDim2.new(0, 240, 0, 30) | |
526 | playerName.Font = Enum.Font.SourceSansLight | |
527 | playerName.Text = player.Name | |
528 | playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235) | |
529 | playerName.TextScaled = true | |
530 | playerName.TextSize = 14 | |
531 | playerName.TextWrapped = true | |
532 | Frame_4.Parent = Frame | |
533 | Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863) | |
534 | Frame_4.BorderSizePixel = 0 | |
535 | Frame_4.Position = UDim2.new(0, 0, 0, 60) | |
536 | Frame_4.Size = UDim2.new(0, 260, 0, 237) | |
537 | playerAvatar.Name = "playerAvatar" | |
538 | playerAvatar.Parent = Frame_4 | |
539 | playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1) | |
540 | playerAvatar.Position = UDim2.new(0, 85, 0, 10) | |
541 | playerAvatar.Size = UDim2.new(0, 85, 0, 85) | |
542 | playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name | |
543 | playerAccAge.Name = "playerAccAge" | |
544 | playerAccAge.Parent = Frame_4 | |
545 | playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1) | |
546 | playerAccAge.BackgroundTransparency = 1 | |
547 | playerAccAge.Position = UDim2.new(0, 5, 0, 101) | |
548 | playerAccAge.Size = UDim2.new(0, 250, 0, 30) | |
549 | playerAccAge.Font = Enum.Font.SourceSans | |
550 | playerAccAge.Text = "Account Age: "..player.AccountAge | |
551 | playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314) | |
552 | playerAccAge.TextScaled = true | |
553 | playerAccAge.TextSize = 14 | |
554 | playerAccAge.TextWrapped = true | |
555 | playerId.Name = "playerId" | |
556 | playerId.Parent = Frame_4 | |
557 | playerId.BackgroundColor3 = Color3.new(1, 1, 1) | |
558 | playerId.BackgroundTransparency = 1 | |
559 | playerId.Position = UDim2.new(0, 5, 0, 131) | |
560 | playerId.Size = UDim2.new(0, 250, 0, 30) | |
561 | playerId.Font = Enum.Font.SourceSans | |
562 | playerId.Text = "Account ID: "..player.UserId | |
563 | playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314) | |
564 | playerId.TextScaled = true | |
565 | playerId.TextSize = 14 | |
566 | playerId.TextWrapped = true | |
567 | playerOs.Name = "playerOs" | |
568 | playerOs.Parent = Frame_4 | |
569 | playerOs.BackgroundColor3 = Color3.new(1, 1, 1) | |
570 | playerOs.BackgroundTransparency = 1 | |
571 | playerOs.Position = UDim2.new(0, 5, 0, 161) | |
572 | playerOs.Size = UDim2.new(0, 250, 0, 30) | |
573 | playerOs.Font = Enum.Font.SourceSansLight | |
574 | playerOs.Text = "Player OS: "..player.OsPlatform | |
575 | playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314) | |
576 | playerOs.TextScaled = true | |
577 | playerOs.TextSize = 14 | |
578 | playerOs.TextWrapped = true | |
579 | playerMembership.Name = "playerMembership" | |
580 | playerMembership.Parent = Frame_4 | |
581 | playerMembership.BackgroundColor3 = Color3.new(1, 1, 1) | |
582 | playerMembership.BackgroundTransparency = 1 | |
583 | playerMembership.Position = UDim2.new(0, 5, 0, 191) | |
584 | playerMembership.Size = UDim2.new(0, 250, 0, 30) | |
585 | playerMembership.Font = Enum.Font.SourceSansLight | |
586 | if player.MembershipType == Enum.MembershipType.None then | |
587 | playerMembership.Text = "No builder's club." | |
588 | elseif player.MembershipType == Enum.MembershipType.BuildersClub then | |
589 | playerMembership.Text = "Builder's club!" | |
590 | elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then | |
591 | playerMembership.Text = "Turbo Builder's club!" | |
592 | elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then | |
593 | playerMembership.Text = "Outrageous Builder's club!" | |
594 | end | |
595 | playerMembership.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314) | |
596 | playerMembership.TextScaled = true | |
597 | playerMembership.TextSize = 14 | |
598 | playerMembership.TextWrapped = true | |
599 | Frame_5.Parent = Frame | |
600 | Frame_5.BackgroundColor3 = Color3.new(0, 0, 0) | |
601 | Frame_5.BackgroundTransparency = 0.69999998807907 | |
602 | Frame_5.BorderColor3 = Color3.new(0, 0, 0) | |
603 | Frame_5.BorderSizePixel = 0 | |
604 | Frame_5.ClipsDescendants = true | |
605 | Frame_5.Position = UDim2.new(0, 10, 0, 10) | |
606 | Frame_5.Selectable = true | |
607 | Frame_5.Size = UDim2.new(0, 255, 0, 292) | |
608 | Frame_5.ZIndex = -1 | |
609 | Frame_6.Parent = Frame | |
610 | Frame_6.BackgroundColor3 = Color3.new(0, 0, 0) | |
611 | Frame_6.BackgroundTransparency = 0.69999998807907 | |
612 | Frame_6.BorderColor3 = Color3.new(0, 0, 0) | |
613 | Frame_6.BorderSizePixel = 0 | |
614 | Frame_6.ClipsDescendants = true | |
615 | Frame_6.Position = UDim2.new(0, 8, 0, 8) | |
616 | Frame_6.Selectable = true | |
617 | Frame_6.Size = UDim2.new(0, 255, 0, 292) | |
618 | Frame_6.ZIndex = -1 | |
619 | local closeGet = {} | |
620 | closeGet.Size = UDim2.new(0, 0, 0, 0) | |
621 | local openGet = {} | |
622 | openGet.Position = UDim2.new(0.45, 0, 0.45, 0) | |
623 | local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet) | |
624 | local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet) | |
625 | infoguiCLOSE.MouseButton1Click:Connect(function() | |
626 | closeFunction:Play() | |
627 | Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2) | |
628 | wait(2.01) | |
629 | Frame:Destroy() | |
630 | end) | |
631 | openFunction:Play() | |
632 | local UserInputService = game:GetService("UserInputService") | |
633 | local dragging | |
634 | local dragInput | |
635 | local dragStart | |
636 | local startPos | |
637 | local function update(input) | |
638 | local delta = input.Position - dragStart | |
639 | local dragTime = 0.055 | |
640 | local SmoothDrag = {} | |
641 | SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) | |
642 | local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag) | |
643 | dragSmoothFunction:Play() | |
644 | end | |
645 | Frame.InputBegan:Connect(function(input) | |
646 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
647 | dragging = true | |
648 | dragStart = input.Position | |
649 | startPos = Frame.Position | |
650 | input.Changed:Connect(function() | |
651 | if input.UserInputState == Enum.UserInputState.End then | |
652 | dragging = false | |
653 | end | |
654 | end) | |
655 | end | |
656 | end) | |
657 | Frame.InputChanged:Connect(function(input) | |
658 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
659 | dragInput = input | |
660 | end | |
661 | end) | |
662 | UserInputService.InputChanged:Connect(function(input) | |
663 | if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then | |
664 | update(input) | |
665 | end | |
666 | end) | |
667 | end | |
668 | function clientSided() | |
669 | Notification("info", "This command is for the client (you) only, no one else can see!", 6) | |
670 | end | |
671 | searchCmds={"1 print [msg] - Prints a message to the developer console","2 warn [msg] - Warns a message to the developer console","3 sit - Makes you sit","4 god - Activates FE Godmode (breaks tools)","5 view [plr] - Changes your camera subject to another player","6 unview - Changes your camera back to your player","7 gravity [num] - Changes workspace gravity to [num]","8 ungravity - Reverts workspace gravity to game's default","9 goto [plr] - Teleports you to a player","10 fecheck - Checks whether the game is FE or not","11 lockws - Locks the whole workspace","12 unlockws - Unlocks the whole workspace","13 noclip - Allows you to walk through walls and other objects","14 clip - Stops noclip, can collide","15 follow [plr] / [num] - Makes you follow a player constantly, optional [num] for how far away to follow","16 unfollow - Stops you from following","17 fling [plr] / [pow] - Uses your character to fling a player, optional [pow] for how much power to put into the fling","18 unfling - Stops you from flinging","19 trail [plr] / [num] - Makes you trail (walk infront) of a player constantly, optional [num] for how far away to trail","20 untrail - Stops you from trailing","21 annoy [plr] - Loop teleports you to the player","22 unannoy - Stops loop teleporting you","23 reset - Resets your character","24 grespawn - Respawns your character, best for use after FE godmode","25 respawn - Respawns your character, best to use if grespawn fails to work","26 speed // ws [num] - Changes your walkspeed (speed or ws) to [num]","27 jumppower // jp [num] - Changes your jumppower (jumppower or jp) to [num]","28 hipheight // hh [num] - Changes your hipheight (hipheight or hh) to [num]","29 default - Changes your walkspeed, jumppower and hipheight back to normal","30 credits - Displays admin credits (by illremember#3799)","31 attach [plr] - Attaches you to a player, tool required","32 fly / [speed] - Enables fly, optional [speed] for how fast to fly","33 unfly - Disables fly","34 kill [plr] - Kills a player, tool required","35 bring [plr] - Brings a player, tool required","36 naked - Displays avatar body colours","37 nolimbs - Deletes all your arms and legs","38 noarms - Deletes both your arms","39 nolegs - Deletes both your legs","40 antikick [on/off] - Blocks all remotes for antikick when on, disables when off","41 blockremote [remote] / [service] - Blocks a remote from firing, optional [service] for where the remote is located","42 remotespy [on/off] - Prints all remotes to developer console when on when fired, stops printing when off","43 bang [plr] / [speed] - Bangs a player, optional [speed] to set animation adjust speed","44 unbang - Stops bang player","45 spam [msg] - Spams [msg] in chat","46 spamdelay [num] - Sets how long to wait in between spamming","47 unspam - Stops spamming","48 info [plr] - Creates GUI with information about player account, shows Account age, membership and account ID","49 age [plr] - Chats account age of player","50 invisible - Enables FE invisibility, by Timeless","51 walk [plr] - Begins to make you loop walk towards player","52 glitch [plr] / [num] - Glitches a player, tool required, optional [num] for strength of glitch","53 tp [plr] [plr] - Teleports a player to another player, tool required","54 givetool [plr] / [tool] - Gives your current equipped tool to player, optional [tool] to pick a tool by name from your inventory","55 givealltools [plr] - Gives all tools currently equipped and in inventory to player","56 blockhats - Removes mesh of all accessories","57 blocktool - Removes mesh of currently equipped tool","58 orbit [plr] - Begins to make you orbit around a player","59 unorbit - Stops you orbiting a player","60 pos - Shows your current position","61 savepos - Saves your current position","62 loadpos - Loads your current position from savepos","63 tppos [num] [num] [num] - Teleports you to position [num], [num], [num]","64 pmspam [plr] [msg] - Makes you spam a player's pm with [msg]","65 unpmspam - Stops spamming a player's pm","66 wsvis [num] - Changes all parts in workspace to [num] transparency","67 bringobj [obj] / [num] - Brings an object in the workspace to you, optional [num] for how far away to bring object","68 cbring [plr] - Brings a player to you constantly on client","69 uncbring - Stops bringing a player to you on client","70 cfreeze [plr] - Freezes a player on your client","71 uncfreeze / [plr] - Unfreezes a player on your cleint","72 unattach - Unattaches you from a player","73 reach [on/off] / [num] - Activates/Deactivates reach for currently equipped tool, optional [num] for how long the reach should be","74 droptool / [tool] - Drops a tool into the workspace, optional [tool] command for which tool to drop","75 drophats - Drops all your accessories into the workspace","76 hidecmdbar - Hides the command bar","77 showcmdbar - Shows the command bar","78 prefix [key] - Changes your prefix to [key] must be 1 character","79 removeinvis - Removes all invisible parts in workspace","80 removefog - Removes fog in lighting","81 animation [id/gui] / [speed] - Makes you play an animation with [id], optional [speed] for adjusting animation speed OR [gui] to open Energize animation GUI","82 btools - Gives you btools for deleting, copying and dragging (client side)","83 esp [plr] - Enables an esp for that player, credits to Infinite Yield","84 unesp / [plr] - Disables all esp, optional [plr] for disabling esp just for that player","85 dice - Chats you rolling a dice for 1, 2, 3, 4, 5 or 6","86 random [min] [max] - Chats you picking a random number between [min] and [max]","87 closegame - Shutsdown/closes your game","88 savetool / [tool] - Saves a tool to your player equipped, optional [tool] for which tool to save in your inventory","89 loadtool / [tool] - Loads a tool from your player, optional [tool] for which tool to load by name","90 savealltool - Saves all tools in your character/inventory","91 loadalltool - Loads all tools in your player saved tools","92 clicktp / [key] - Enables click teleport, optional [key] to set a key instead of clicking","93 clickdel / [key] - Enables click delete part, optional [key] to set a key instead of clicking","94 unclicktp - Disables clicktp","95 unclickdel - Disables clickdel","96 shutdown - Attempts a server shutdown","97 chatlogs - Opens up a chat log gui with options to print chat to developer console","98 stopadmin - Disables currently running admin completely","99 freecam / [speed] - Enables freecam (like flying but not in character), optional [speed] for how fast the freecam should go","100 unfreecam // unfc - Disables freecam","101 fctp [plr] - Teleports your freecam to player","102 gotofc - Teleports you to current freecam position","103 cmds - Opens up this GUI with commands","104 fullcredits - Shows full individual credits for all help with the admin","105 hotkey [key] [cmd] - Creates a hotkey that executes [cmd] when [key] is pressed","106 removehotkey [key] - Removes a hotkey with [key]","107 removeallhotkey - Removes all current hotkeys for commands","108 printhotkeys - Prints all current existing hotkeys","109 os [plr] - Chats the current OS of a player","110 spin [plr] - Makes you spin with a player, tool required","111 unspin - Stops you spinning a player/teleporting to a player","112 explorer - Loads DEX explorer","113 maxzoom [num] - Changes your maxzoom to number","114 stare [plr] - Makes you stare at another player","115 unstare [plr] - Makes you stop staring at player","116 tempgod - Enables temporary FE godmode, does not work on all games, does not break tools","117 void [plr] - Teleports you and a player to the void, requires a tool","118 freefall [plr] - Makes you and a player freefall to the ground","119 version - Shows current admin's version","120 shiftlockon - Enables shift lock if not enabled by game developer","121 copychat [plr] - Makes you copy the chat player says, use uncopychat to stop copying chat","122 newattach [plr] - Does not FE Godmode you, requires 2 tools, attaches you to player","123 newkill [plr] - Does not FE Godmode you, requires 2 tools, kills player","124 newbring [plr] - Does not FE Godmode you, requires 2 tools, brings player","125 spawn [ws/jp/hh/god] [num] - Sets your walkspeed/jumppower/hipheight to number whenever you respawn, or makes you FE Godded whenever you respawn","126 unspawn - Stops you spawning with stats set by "..commandPrefix.."spawn","127 autosavetool [on/off] - Auto saves your tools when you reset","128 beginbot / [mode] - Makes you a bot for other players, type just "..commandPrefix.."beginbot to print available modes","129 endbot / [mode] - Ends "..commandPrefix.."beginbot, optional [mode] to disable one mode only","130 stopsit - Disables your ability to sit","131 gosit - Enables your ability to sit","132 spawnpoint - Sets your spawnpoint for whenever you reset to where you are","133 nospawn - Removes your spawnpoint","134 chaterror - Creates a chat error, works best first time","135 bypass [on/off] - Changes certain commands like "..commandPrefix.."fly so they are not detected by most anti-exploits", "136 fixcam - Fixes your camera in case it breaks", "137 gotoobj [obj] - Teleports you to a part in the workspace, make sure you put the name properly!", "138 breakcam - Makes it so your camera can go through parts, fixed with "..commandPrefix.."fixcam", "139 inviscam - Makes it so your camera goes through parts and makes them transparent so your character is always visible, fixed with "..commandPrefix.."fixcam", "140 printobj / [key] - Prints the object's path clicked to developer console, optional [key] for key pressed instead of click", "141 unprintobj - Stops printobj from running", "142 hotkeyfc [goto/unfc] - If freecam is set as a hotkey, chooses whether to use unfreecam or gotofc when disabling through a hotkey", "143 carpet [plr] - Makes you a carpet for a player", "144 uncarpet - Stops carpet", "145 brickcreate [num] / [pos] [pos] [pos] - Creates [num] amount of bricks from accessories, wont work in all games, optional [pos] for position to create bricks", "146 uncopychat - Stops copying chat", "147 forward / [speed] - Makes you automatically move forward default speed is 1", "148 unforward - Stops you moving automatically forward from forward", "149 id [plr] - Makes you chat the user ID of the player", "150 spinhats / [pow] - Makes all your accessories begin to spin around! Credit to xFunnieuss.", "151 unspinhats - Stops spinhats from spinning accessories", "152 headless - Makes you headless, but cannot control your character after, use grespawn to reset", "153 savemap - Saves the current workspace/map", "154 loadmap - Loads map saved by savemap", "155 creatorid - Changes your user ID to the game creator's user ID", "156 gameid - Shows the game's ID", "157 delobj [obj] - Allows you to delete an object in the workspace by name", "158 glide [plr] / [speed] - Makes you glide towards a player, optional [speed] for the speed of gliding", "159 stutter [on/off] - Makes your character begin stuttering as you move", "160 platform - Creates a platform on your client that you can stand on, deletes in 20 seconds", "161 servertime - Gets the server time", "162 ride [plr] - Makes you ride a player's head", "163 unride [plr] - Makes you stop riding a player's head", "164 cmute [plr] - Client mutes a player, useful for muting spammers", "165 uncmute - Unmutes a player that has been cmuted", "166 hat [plr] - Makes you carpet a player, but on their head", "167 unhat - Stops hat from running", "168 chat [msg] - Makes you chat a string, useful for hotkeys"} | |
672 | CMDS={"print [msg]","warn [msg]","sit","god","view [plr]","unview","gravity [num]","ungravity","goto [plr]","fecheck","lockws","unlockws","noclip","clip","follow [plr] / [num]","unfollow","fling [plr] / [pow]","unfling","trail [plr] / [num]","untrail","annoy [plr]","unannoy","reset","grespawn","respawn","speed // ws [num]","jumppower // jp [num]","hipheight // hh [num]","default","credits","attach [plr]","fly / [speed]","unfly","kill [plr]","bring [plr]","naked","nolimbs","noarms","nolegs","antikick [on/off]","blockremote [remote] / [service]","remotespy [on/off]","bang [plr] / [speed]","unbang","spam [msg]","spamdelay [num]","unspam","info [plr]","age [plr]","invisible","walk [plr]","glitch [plr] / [num]","tp [plr] [plr]","givetool [plr] / [tool]","givealltools [plr]","blockhats","blocktool","orbit [plr]","unorbit","pos","savepos","loadpos","tppos [num] [num] [num]","pmspam [plr] [msg]","unpmspam","wsvis [num]","bringobj [obj] / [num]","cbring [plr] / [num]","uncbring","cfreeze [plr]","uncfreeze / [plr]","unattach","reach [on/off] / [num]","droptool / [tool]","drophats","hidecmdbar","showcmdbar","prefix [key]","removeinvis","removefog","animation [id/gui] / [speed]","btools","esp [plr]","unesp / [plr]","dice","random [min] [max]","closegame","savetool / [tool]","loadtool / [tool]","savealltool","loadalltool","clicktp / [key]","clickdel / [key]","unclicktp","unclickdel","oof","chatlogs","stopadmin","freecam / [speed] // fc / [speed]","unfreecam // unfc","gotofc","cmds","fullcredits","hotkey [key] [cmd]","removehotkey [key]","removeallhotkey","printhotkeys","os [plr]","spin [plr]","unspin","fctp [plr]","explorer","maxzoom [num]","stare [plr]","unstare [plr]","tempgod","void [plr]","freefall [plr]","version","shiftlockon","copychat [plr]","newattach [plr]","newkill [plr]","newbring [plr]","spawn [ws/jp/hh/god] [num]","unspawn","autosavetool [on/off]","beginbot / [mode]","endbot / [mode]","stopsit","gosit","spawnpoint","nospawn","chaterror", "bypass [on/off]", "fixcam", "gotoobj [obj]", "breakcam", "inviscam", "printobj / [key]", "unprintobj", "hotkeyfc [goto/unfc]", "carpet [plr]", "uncarpet", "brickcreate [num] / [pos] [pos] [pos]", "uncopychat", "forward / [speed]", "unforward", "id [plr]", "spinhats / [pow]", "unspinhats", "headless", "savemap", "loadmap", "creatorid", "gameid", "delobj [obj]", "glide [plr] / [speed]", "stutter [on/off]", "platform", "servertime", "ride [plr]", "unride", "cmute [plr]", "uncmute", "hat [plr]", "unhat", "chat [msg]"} -- 168 | |
673 | local CMDS_GUI_V2 = Instance.new("ScreenGui") | |
674 | local CMDSmain = Instance.new("Frame") | |
675 | local CMDSframemain = Instance.new("Frame") | |
676 | local cmdgui_topframe = Instance.new("Frame") | |
677 | local closecmdsgui = Instance.new("TextButton") | |
678 | local cmdgui_midframe = Instance.new("Frame") | |
679 | local cmdsgui_SearchFunction = Instance.new("TextBox") | |
680 | local cmdsgui_searchDETAILFRAME = Instance.new("Frame") | |
681 | local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel") | |
682 | local ListofCMDS = Instance.new("ScrollingFrame") | |
683 | local cmdTutorial = Instance.new("TextLabel") | |
684 | local cmdTutorial_2 = Instance.new("TextLabel") | |
685 | local cmdTutorial_3 = Instance.new("TextLabel") | |
686 | local CMDS_Shadow = Instance.new("Frame") | |
687 | local CMDS_Shadow2 = Instance.new("Frame") | |
688 | CMDS_GUI_V2.Name = "CMDS_GUI_V2" | |
689 | CMDS_GUI_V2.Parent = gsCoreGui | |
690 | CMDSmain.Name = "CMDSmain" | |
691 | CMDSmain.Parent = CMDS_GUI_V2 | |
692 | CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1) | |
693 | CMDSmain.BackgroundTransparency = 1 | |
694 | CMDSmain.Position = UDim2.new(0, 695, 0, 297) | |
695 | CMDSmain.Size = UDim2.new(0, 440, 0, 367) | |
696 | CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5) | |
697 | CMDSmain.Visible = false | |
698 | CMDSmain.ClipsDescendants = true | |
699 | CMDSframemain.Name = "CMDSframemain" | |
700 | CMDSframemain.Parent = CMDSmain | |
701 | CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804) | |
702 | CMDSframemain.BorderSizePixel = 0 | |
703 | CMDSframemain.Size = UDim2.new(0, 440, 0, 367) | |
704 | cmdgui_topframe.Name = "cmdgui_topframe" | |
705 | cmdgui_topframe.Parent = CMDSframemain | |
706 | cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
707 | cmdgui_topframe.BorderSizePixel = 0 | |
708 | cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15) | |
709 | closecmdsgui.Name = "closecmdsgui" | |
710 | closecmdsgui.Parent = cmdgui_topframe | |
711 | closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1) | |
712 | closecmdsgui.BackgroundTransparency = 1 | |
713 | closecmdsgui.Position = UDim2.new(0, 410, 0, 0) | |
714 | closecmdsgui.Size = UDim2.new(0, 30, 0, 15) | |
715 | closecmdsgui.Font = Enum.Font.SourceSansBold | |
716 | closecmdsgui.Text = "X" | |
717 | closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628) | |
718 | closecmdsgui.TextSize = 20 | |
719 | cmdgui_midframe.Name = "cmdgui_midframe" | |
720 | cmdgui_midframe.Parent = CMDSframemain | |
721 | cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902) | |
722 | cmdgui_midframe.BorderSizePixel = 0 | |
723 | cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15) | |
724 | cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45) | |
725 | cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction" | |
726 | cmdsgui_SearchFunction.Parent = cmdgui_midframe | |
727 | cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1) | |
728 | cmdsgui_SearchFunction.BackgroundTransparency = 1 | |
729 | cmdsgui_SearchFunction.BorderSizePixel = 0 | |
730 | cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10) | |
731 | cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25) | |
732 | cmdsgui_SearchFunction.Font = Enum.Font.SourceSans | |
733 | cmdsgui_SearchFunction.Text = "" | |
734 | cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
735 | cmdsgui_SearchFunction.TextScaled = true | |
736 | cmdsgui_SearchFunction.TextSize = 14 | |
737 | cmdsgui_SearchFunction.TextWrapped = true | |
738 | cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME" | |
739 | cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction | |
740 | cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240) | |
741 | cmdsgui_searchDETAILFRAME.BorderSizePixel = 0 | |
742 | cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25) | |
743 | cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2) | |
744 | cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT" | |
745 | cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction | |
746 | cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240) | |
747 | cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1 | |
748 | cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25) | |
749 | cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight | |
750 | cmdsgui_searchDETAILTEXT.Text = "Search" | |
751 | cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240) | |
752 | cmdsgui_searchDETAILTEXT.TextSize = 30 | |
753 | ListofCMDS.Name = "ListofCMDS" | |
754 | ListofCMDS.Parent = CMDSframemain | |
755 | ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804) | |
756 | ListofCMDS.BorderSizePixel = 0 | |
757 | ListofCMDS.Position = UDim2.new(0, 0, 0, 60) | |
758 | ListofCMDS.Size = UDim2.new(0, 440, 0, 307) | |
759 | ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0) | |
760 | ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY | |
761 | cmdTutorial.Name = "cmdTutorial" | |
762 | cmdTutorial.Parent = ListofCMDS | |
763 | cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1) | |
764 | cmdTutorial.BackgroundTransparency = 1 | |
765 | cmdTutorial.BorderSizePixel = 0 | |
766 | cmdTutorial.Position = UDim2.new(0, 5, 0, 5) | |
767 | cmdTutorial.Size = UDim2.new(0, 420, 0, 20) | |
768 | cmdTutorial.Font = Enum.Font.SourceSansBold | |
769 | cmdTutorial.Text = "\"/\" means OPTIONAL argument after" | |
770 | cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863) | |
771 | cmdTutorial.TextScaled = true | |
772 | cmdTutorial.TextSize = 14 | |
773 | cmdTutorial.TextWrapped = true | |
774 | cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left | |
775 | cmdTutorial_2.Name = "cmdTutorial" | |
776 | cmdTutorial_2.Parent = ListofCMDS | |
777 | cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
778 | cmdTutorial_2.BackgroundTransparency = 1 | |
779 | cmdTutorial_2.BorderSizePixel = 0 | |
780 | cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25) | |
781 | cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20) | |
782 | cmdTutorial_2.Font = Enum.Font.SourceSansBold | |
783 | cmdTutorial_2.Text = "\"//\" means another way of running command" | |
784 | cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863) | |
785 | cmdTutorial_2.TextScaled = true | |
786 | cmdTutorial_2.TextSize = 14 | |
787 | cmdTutorial_2.TextWrapped = true | |
788 | cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left | |
789 | cmdTutorial_3.Name = "cmdTutorial" | |
790 | cmdTutorial_3.Parent = ListofCMDS | |
791 | cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
792 | cmdTutorial_3.BackgroundTransparency = 1 | |
793 | cmdTutorial_3.BorderSizePixel = 0 | |
794 | cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45) | |
795 | cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20) | |
796 | cmdTutorial_3.Font = Enum.Font.SourceSansBold | |
797 | cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command" | |
798 | cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863) | |
799 | cmdTutorial_3.TextScaled = true | |
800 | cmdTutorial_3.TextSize = 14 | |
801 | cmdTutorial_3.TextWrapped = true | |
802 | cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left | |
803 | CMDS_Shadow.Name = "CMDS_Shadow" | |
804 | CMDS_Shadow.Parent = CMDSmain | |
805 | CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0) | |
806 | CMDS_Shadow.BackgroundTransparency = 0.60000002384186 | |
807 | CMDS_Shadow.BorderSizePixel = 0 | |
808 | CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2) | |
809 | CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367) | |
810 | CMDS_Shadow.ZIndex = -1 | |
811 | CMDS_Shadow2.Name = "CMDS_Shadow2" | |
812 | CMDS_Shadow2.Parent = CMDSmain | |
813 | CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0) | |
814 | CMDS_Shadow2.BackgroundTransparency = 0.80000001192093 | |
815 | CMDS_Shadow2.BorderSizePixel = 0 | |
816 | CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5) | |
817 | CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367) | |
818 | CMDS_Shadow2.ZIndex = -1 | |
819 | closecmdsgui.MouseButton1Click:Connect(function() | |
820 | CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2) | |
821 | end) | |
822 | function CreateCMDlabel(position, text) | |
823 | local sizenow = 15 | |
824 | local cmdHere = Instance.new("TextLabel") | |
825 | cmdHere.Name = "cmdHere" | |
826 | cmdHere.TextWrapped = true | |
827 | cmdHere.Parent = ListofCMDS | |
828 | cmdHere.BackgroundColor3 = Color3.new(1, 1, 1) | |
829 | cmdHere.BackgroundTransparency = 1 | |
830 | cmdHere.BorderSizePixel = 0 | |
831 | cmdHere.Position = position | |
832 | cmdHere.Size = UDim2.new(0, 1950, 0, sizenow) | |
833 | cmdHere.Font = Enum.Font.SourceSans | |
834 | cmdHere.Text = text | |
835 | cmdHere.TextWrapped = true | |
836 | cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863) | |
837 | cmdHere.TextScaled = false | |
838 | cmdHere.TextSize = 20 | |
839 | cmdHere.TextXAlignment = Enum.TextXAlignment.Left | |
840 | end | |
841 | for i,_cmds in pairs(searchCmds) do | |
842 | CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds) | |
843 | end | |
844 | local UserInputService = game:GetService("UserInputService") | |
845 | local dragging | |
846 | local dragInput | |
847 | local dragStart | |
848 | local startPos | |
849 | local function updateCMDS(input) | |
850 | local delta = input.Position - dragStart | |
851 | local dragTime = 0.055 | |
852 | local SmoothDrag = {} | |
853 | SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) | |
854 | local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag) | |
855 | dragSmoothFunction:Play() | |
856 | end | |
857 | cmdgui_topframe.InputBegan:Connect(function(input) | |
858 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
859 | dragging = true | |
860 | dragStart = input.Position | |
861 | startPos = CMDSmain.Position | |
862 | input.Changed:Connect(function() | |
863 | if input.UserInputState == Enum.UserInputState.End then | |
864 | dragging = false | |
865 | end | |
866 | end) | |
867 | end | |
868 | end) | |
869 | cmdgui_topframe.InputChanged:Connect(function(input) | |
870 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
871 | dragInput = input | |
872 | end | |
873 | end) | |
874 | cmdgui_midframe.InputBegan:Connect(function(input) | |
875 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
876 | dragging = true | |
877 | dragStart = input.Position | |
878 | startPos = CMDSmain.Position | |
879 | input.Changed:Connect(function() | |
880 | if input.UserInputState == Enum.UserInputState.End then | |
881 | dragging = false | |
882 | end | |
883 | end) | |
884 | end | |
885 | end) | |
886 | cmdgui_midframe.InputChanged:Connect(function(input) | |
887 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
888 | dragInput = input | |
889 | end | |
890 | end) | |
891 | UserInputService.InputChanged:Connect(function(input) | |
892 | if input == dragInput and dragging then | |
893 | updateCMDS(input) | |
894 | end | |
895 | end) | |
896 | cmdsgui_SearchFunction.Focused:Connect(function() | |
897 | cmdsgui_SearchFunction.TextTransparency = 0 | |
898 | local searchTween = {} | |
899 | searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529) | |
900 | searchTween.TextSize = 18 | |
901 | searchTween.Position = UDim2.new(0, -70, 0, -15) | |
902 | local frameTweenblue = {} | |
903 | frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529) | |
904 | local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween) | |
905 | searchTween1:Play() | |
906 | local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue) | |
907 | frameTweenblue1:Play() | |
908 | end) | |
909 | cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed) | |
910 | if not enterPressed then | |
911 | cmdsgui_SearchFunction.TextTransparency = 1 | |
912 | else | |
913 | cmdsgui_SearchFunction.Text = " " | |
914 | end | |
915 | local searchTween = {} | |
916 | searchTween.TextColor3 = Color3.fromRGB(240, 240, 240) | |
917 | searchTween.TextSize = 30 | |
918 | searchTween.Position = UDim2.new(0, 0, 0, 0) | |
919 | local frameTweenblue = {} | |
920 | frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240) | |
921 | local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween) | |
922 | searchTween1:Play() | |
923 | local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue) | |
924 | frameTweenblue1:Play() | |
925 | end) | |
926 | cmdsgui_SearchFunction.Changed:Connect(function() | |
927 | local index = 0 | |
928 | if cmdsgui_SearchFunction.Text ~= "" then | |
929 | for i,v in pairs(ListofCMDS:GetChildren()) do | |
930 | if v.Name == "cmdHere" then | |
931 | if not string.find(v.Text, cmdsgui_SearchFunction.Text) then | |
932 | v.Visible = false | |
933 | else | |
934 | v.Visible = true | |
935 | index = index + 1 | |
936 | v.Position = UDim2.new(0, 5, 0, 50 + (index * 15)) | |
937 | end | |
938 | end | |
939 | end | |
940 | end | |
941 | end) | |
942 | ||
943 | -- Command Execution | |
944 | LP.Chatted:Connect(function(chat) | |
945 | run(chat) | |
946 | end) | |
947 | ||
948 | function run(msg) | |
949 | if string.lower(string.sub(msg, 2, 5)) == "chat" then | |
950 | msg = msg | |
951 | elseif string.match(msg, "hotkey") and string.match(msg, "chat") then | |
952 | msg = msg | |
953 | else | |
954 | msg = string.lower(msg) | |
955 | end | |
956 | local cmdPrefix = string.sub(msg, 1, 1) | |
957 | if cmdPrefix == commandPrefix then | |
958 | msg = string.sub(msg, 2) | |
959 | local args = {} | |
960 | for arg in string.gmatch(msg,"[^%s]+") do | |
961 | table.insert(args,arg) | |
962 | end | |
963 | local cmdName = args[1] | |
964 | table.remove(args,1) | |
965 | local doCmd = Commands[cmdName] | |
966 | ||
967 | if doCmd ~= nil then | |
968 | doCmd(args) | |
969 | end | |
970 | end | |
971 | end | |
972 | ||
973 | -- Command bar | |
974 | local CommandBar = Instance.new("ScreenGui") | |
975 | local CMDBAR = Instance.new("Frame") | |
976 | local CMDBARText = Instance.new("TextBox") | |
977 | CommandBar.Name = "CommandBar" | |
978 | CommandBar.Parent = gsCoreGui | |
979 | CMDBAR.Name = "CMDBAR" | |
980 | CMDBAR.Parent = CommandBar | |
981 | CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549) | |
982 | CMDBAR.BorderSizePixel = 0 | |
983 | CMDBAR.Position = UDim2.new(0.025, 0, 1, 0) | |
984 | CMDBAR.Size = UDim2.new(0, 270, 0, 35) | |
985 | CMDBARText.Name = "CMDBARText" | |
986 | CMDBARText.Parent = CMDBAR | |
987 | CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235) | |
988 | CMDBARText.BorderSizePixel = 0 | |
989 | CMDBARText.Position = UDim2.new(0, 5, 0, 5) | |
990 | CMDBARText.Size = UDim2.new(0, 260, 0, 25) | |
991 | CMDBARText.Font = Enum.Font.SourceSansLight | |
992 | CMDBARText.Text = "" | |
993 | CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333) | |
994 | CMDBARText.TextScaled = true | |
995 | CMDBARText.TextSize = 14 | |
996 | CMDBARText.TextWrapped = true | |
997 | Mouse.KeyDown:connect(function(Key) | |
998 | if Key == string.lower(commandPrefix) then | |
999 | CMDBARText:CaptureFocus() | |
1000 | CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true) | |
1001 | end | |
1002 | end) | |
1003 | CMDBARText.FocusLost:connect(function(enterPressed) | |
1004 | CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true) | |
1005 | if enterPressed then | |
1006 | local cmdmsg = CMDBARText.Text | |
1007 | CMDBARText.Text = "" | |
1008 | run(commandPrefix..cmdmsg) | |
1009 | end | |
1010 | end) | |
1011 | local Match = Instance.new("Frame") | |
1012 | Match.Name = "Match" | |
1013 | Match.Parent = CMDBAR | |
1014 | Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549) | |
1015 | Match.BorderSizePixel = 0 | |
1016 | Match.Position = UDim2.new(0, 0, -4, 0) | |
1017 | Match.Size = UDim2.new(1, 0, 4, 0) | |
1018 | Match.Visible = false | |
1019 | function CreateOption(Text) | |
1020 | local Option1 = Instance.new("TextLabel") | |
1021 | Option1.Name = "Option" | |
1022 | Option1.Parent = Match | |
1023 | Option1.BackgroundColor3 = Color3.new(1, 1, 1) | |
1024 | Option1.BackgroundTransparency = 1 | |
1025 | Option1.Position = UDim2.new(-10, 0, 0, 0) | |
1026 | Option1.Size = UDim2.new(1, 0, 0, 20) | |
1027 | Option1.Font = Enum.Font.SourceSans | |
1028 | Option1.Text = Text | |
1029 | Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941) | |
1030 | Option1.TextScaled = true | |
1031 | Option1.TextWrapped = true | |
1032 | end | |
1033 | for i,cmdtext2 in pairs(CMDS) do | |
1034 | CreateOption(cmdtext2) | |
1035 | end | |
1036 | CMDBARText.Changed:Connect(function() | |
1037 | if CMDBARText.Text ~= "" and CMDBARText.Text ~= commandPrefix then | |
1038 | Match.Visible = true | |
1039 | local PositionMatch = 0 | |
1040 | for i,cmdtext in pairs(Match:GetChildren()) do | |
1041 | if cmdtext.Name == "Option" then | |
1042 | if string.find(cmdtext.Text, CMDBARText.Text) then | |
1043 | cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20)) | |
1044 | PositionMatch = PositionMatch + 1 | |
1045 | if cmdtext.Position == UDim2.new(0, 0, 0, 142) then | |
1046 | cmdtext.Position = UDim2.new(-10, 0, 0, 0) | |
1047 | PositionMatch = PositionMatch - 1 | |
1048 | end | |
1049 | else | |
1050 | cmdtext.Position = UDim2.new(-10, 0, 0, 0) | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | else | |
1055 | Match.Visible = false | |
1056 | end | |
1057 | end) | |
1058 | ||
1059 | -- Chat | |
1060 | local ChatLogsv2 = Instance.new("ScreenGui") | |
1061 | local MainChatFrame = Instance.new("Frame") | |
1062 | local Framess = Instance.new("Frame") | |
1063 | local CloseChatGUI = Instance.new("TextButton") | |
1064 | local Frame_222 = Instance.new("Frame") | |
1065 | local PrintChat = Instance.new("TextButton") | |
1066 | local Shadow1 = Instance.new("Frame") | |
1067 | local Shadow2 = Instance.new("Frame") | |
1068 | local ScrollingFrame = Instance.new("ScrollingFrame") | |
1069 | ChatLogsv2.Name = "ChatLogsv2" | |
1070 | ChatLogsv2.Parent = gsCoreGui | |
1071 | MainChatFrame.Name = "MainChatFrame" | |
1072 | MainChatFrame.Parent = ChatLogsv2 | |
1073 | MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1) | |
1074 | MainChatFrame.BackgroundTransparency = 1 | |
1075 | MainChatFrame.Position = UDim2.new(0, 760, 0, 261) | |
1076 | MainChatFrame.Size = UDim2.new(0, 525, 0, 337) | |
1077 | MainChatFrame.Visible = false | |
1078 | Framess.Parent = MainChatFrame | |
1079 | Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314) | |
1080 | Framess.BorderSizePixel = 0 | |
1081 | Framess.Size = UDim2.new(0, 525, 0, 15) | |
1082 | CloseChatGUI.Name = "CloseChatGUI" | |
1083 | CloseChatGUI.Parent = Framess | |
1084 | CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1) | |
1085 | CloseChatGUI.BackgroundTransparency = 1 | |
1086 | CloseChatGUI.BorderSizePixel = 0 | |
1087 | CloseChatGUI.Position = UDim2.new(0, 495, 0, 0) | |
1088 | CloseChatGUI.Size = UDim2.new(0, 30, 0, 15) | |
1089 | CloseChatGUI.Font = Enum.Font.SourceSansBold | |
1090 | CloseChatGUI.Text = "X" | |
1091 | CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098) | |
1092 | CloseChatGUI.TextSize = 20 | |
1093 | Frame_222.Parent = MainChatFrame | |
1094 | Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902) | |
1095 | Frame_222.BorderSizePixel = 0 | |
1096 | Frame_222.Position = UDim2.new(0, 0, 0, 15) | |
1097 | Frame_222.Size = UDim2.new(0, 525, 0, 50) | |
1098 | PrintChat.Name = "PrintChat" | |
1099 | PrintChat.Parent = Frame_222 | |
1100 | PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098) | |
1101 | PrintChat.BorderSizePixel = 0 | |
1102 | PrintChat.Position = UDim2.new(0, 15, 0, 0) | |
1103 | PrintChat.Size = UDim2.new(0, 170, 0, 30) | |
1104 | PrintChat.Font = Enum.Font.SourceSansLight | |
1105 | PrintChat.Text = "Print Chat" | |
1106 | PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784) | |
1107 | PrintChat.TextSize = 30 | |
1108 | PrintChat.TextWrapped = true | |
1109 | Shadow1.Name = "Shadow1" | |
1110 | Shadow1.Parent = MainChatFrame | |
1111 | Shadow1.BackgroundColor3 = Color3.new(0, 0, 0) | |
1112 | Shadow1.BackgroundTransparency = 0.5 | |
1113 | Shadow1.Position = UDim2.new(0, 2, 0, 2) | |
1114 | Shadow1.Size = UDim2.new(0, 525, 0, 337) | |
1115 | Shadow1.ZIndex = -1 | |
1116 | Shadow2.Name = "Shadow2" | |
1117 | Shadow2.Parent = MainChatFrame | |
1118 | Shadow2.BackgroundColor3 = Color3.new(0, 0, 0) | |
1119 | Shadow2.BackgroundTransparency = 0.80000001192093 | |
1120 | Shadow2.Position = UDim2.new(0, 5, 0, 5) | |
1121 | Shadow2.Size = UDim2.new(0, 525, 0, 337) | |
1122 | Shadow2.ZIndex = -1 | |
1123 | ScrollingFrame.Parent = MainChatFrame | |
1124 | ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667) | |
1125 | ScrollingFrame.BorderSizePixel = 0 | |
1126 | ScrollingFrame.Position = UDim2.new(0, 0, 0, 65) | |
1127 | ScrollingFrame.Size = UDim2.new(0, 525, 0, 271) | |
1128 | ScrollingFrame.CanvasPosition = Vector2.new(0, 403) | |
1129 | ScrollingFrame.ScrollBarThickness = 8 | |
1130 | function CreateChatText(plr, chat) | |
1131 | for i,v in pairs(ScrollingFrame:GetDescendants()) do | |
1132 | v.Position = v.Position - UDim2.new(0, 0, 0, 20) | |
1133 | if v.Position == UDim2.new(0, 5, 0, 10) then | |
1134 | v:Destroy() | |
1135 | end | |
1136 | end | |
1137 | local Example = Instance.new("TextLabel") | |
1138 | Example.Name = "Example" | |
1139 | Example.Parent = ScrollingFrame | |
1140 | Example.BackgroundColor3 = Color3.new(1, 1, 1) | |
1141 | Example.BackgroundTransparency = 1 | |
1142 | Example.Position = UDim2.new(0, 5, 0, 650) | |
1143 | Example.Size = UDim2.new(0, 500, 0, 20) | |
1144 | Example.Font = Enum.Font.SourceSans | |
1145 | Example.Text = "["..plr.Name.."]: "..chat | |
1146 | Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784) | |
1147 | Example.TextScaled = true | |
1148 | Example.TextSize = 20 | |
1149 | Example.TextWrapped = true | |
1150 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
1151 | end | |
1152 | CloseChatGUI.MouseButton1Click:Connect(function() | |
1153 | MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2) | |
1154 | wait(2.01) | |
1155 | MainChatFrame.Visible = false | |
1156 | end) | |
1157 | printingChat = false | |
1158 | PrintChat.MouseButton1Click:Connect(function() | |
1159 | if printingChat == false then | |
1160 | printingChat = true | |
1161 | PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60) | |
1162 | elseif printingChat == true then | |
1163 | printingChat = false | |
1164 | PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098) | |
1165 | end | |
1166 | end) | |
1167 | local UserInputService = game:GetService("UserInputService") | |
1168 | local dragging | |
1169 | local dragInput | |
1170 | local dragStart | |
1171 | local startPos | |
1172 | local function updateChat(input) | |
1173 | local delta = input.Position - dragStart | |
1174 | local dragTime = 0.055 | |
1175 | local SmoothDrag = {} | |
1176 | SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) | |
1177 | local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag) | |
1178 | dragSmoothFunction:Play() | |
1179 | end | |
1180 | Frame_222.InputBegan:Connect(function(input) | |
1181 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
1182 | dragging = true | |
1183 | dragStart = input.Position | |
1184 | startPos = MainChatFrame.Position | |
1185 | input.Changed:Connect(function() | |
1186 | if input.UserInputState == Enum.UserInputState.End then | |
1187 | dragging = false | |
1188 | end | |
1189 | end) | |
1190 | end | |
1191 | end) | |
1192 | Frame_222.InputChanged:Connect(function(input) | |
1193 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
1194 | dragInput = input | |
1195 | end | |
1196 | end) | |
1197 | UserInputService.InputChanged:Connect(function(input) | |
1198 | if input == dragInput and dragging then | |
1199 | updateChat(input) | |
1200 | end | |
1201 | end) | |
1202 | ||
1203 | function printChat(player, chat) | |
1204 | print("["..player.Name.."]: "..chat) | |
1205 | end | |
1206 | complimentReady = true | |
1207 | for i,currentPlayersChatting in pairs(game:GetService("Players"):GetPlayers()) do | |
1208 | currentPlayersChatting.Chatted:connect(function(chat) | |
1209 | CreateChatText(currentPlayersChatting, chat) | |
1210 | if printingChat then | |
1211 | printChat(currentPlayersChatting, chat) | |
1212 | end | |
1213 | if copychatACTIVE then | |
1214 | if currentPlayersChatting == copychatplayer then | |
1215 | gsReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chat, "All") | |
1216 | end | |
1217 | end | |
1218 | if modeFling == true then | |
1219 | if string.lower(string.sub(chat, 1, 7)) == "!fling " then | |
1220 | if gsWorkspace:PGSIsEnabled() == false then | |
1221 | FEGodmode() | |
1222 | end | |
1223 | if string.lower(string.sub(chat, 8)) == "me" then | |
1224 | run(commandPrefix.."unfling") | |
1225 | LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0) | |
1226 | run(commandPrefix.."fling "..currentPlayersChatting.Name.." 2000000") | |
1227 | else | |
1228 | for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do | |
1229 | if notAll ~= LP then | |
1230 | run(commandPrefix.."unfling") | |
1231 | LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0) | |
1232 | run(commandPrefix.."fling "..notAll.Name.." 2000000") | |
1233 | end | |
1234 | end | |
1235 | end | |
1236 | end | |
1237 | end | |
1238 | if modeCompliment == true then | |
1239 | if string.lower(string.sub(chat, 1, 3)) == "!c " then | |
1240 | if complimentReady then | |
1241 | complimentReady = false | |
1242 | if string.lower(string.sub(chat, 4)) == "me" then | |
1243 | complimentplr(currentPlayersChatting) | |
1244 | else | |
1245 | for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do | |
1246 | if Others == LP then | |
1247 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All") | |
1248 | else | |
1249 | complimentplr(Others) | |
1250 | end | |
1251 | end | |
1252 | end | |
1253 | wait(1) | |
1254 | complimentReady = true | |
1255 | end | |
1256 | end | |
1257 | end | |
1258 | if modeMove == true then | |
1259 | if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then | |
1260 | run(commandPrefix.."unfollow") | |
1261 | run(commandPrefix.."unwalk") | |
1262 | run(commandPrefix.."goto "..currentPlayersChatting.Name) | |
1263 | elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then | |
1264 | for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do | |
1265 | if getWalkPlayer == LP then | |
1266 | run(commandPrefix.."unfollow") | |
1267 | run(commandPrefix.."walk "..currentPlayersChatting.Name) | |
1268 | else | |
1269 | run(commandPrefix.."unfollow") | |
1270 | run(commandPrefix.."walk "..getWalkPlayer.Name) | |
1271 | end | |
1272 | end | |
1273 | elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then | |
1274 | for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do | |
1275 | if getFollowPlayer == LP then | |
1276 | run(commandPrefix.."unwalk") | |
1277 | run(commandPrefix.."follow "..currentPlayersChatting.Name) | |
1278 | else | |
1279 | run(commandPrefix.."unwalk") | |
1280 | run(commandPrefix.."follow "..getFollowPlayer.Name) | |
1281 | end | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | if modeInfo == true then | |
1286 | if infoReady then | |
1287 | infoReady = false | |
1288 | if string.lower(string.sub(chat, 1, 5)) == "!age " then | |
1289 | for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do | |
1290 | if v == LP then | |
1291 | run(commandPrefix.."age "..currentPlayersChatting.Name) | |
1292 | else | |
1293 | run(commandPrefix.."age "..v.Name) | |
1294 | end | |
1295 | end | |
1296 | end | |
1297 | if string.lower(string.sub(chat, 1, 4)) == "!id " then | |
1298 | for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do | |
1299 | if a == LP then | |
1300 | run(commandPrefix.."id "..currentPlayersChatting.Name) | |
1301 | else | |
1302 | run(commandPrefix.."id "..a.Name) | |
1303 | end | |
1304 | end | |
1305 | end | |
1306 | wait(1) | |
1307 | infoReady = true | |
1308 | end | |
1309 | end | |
1310 | end) | |
1311 | end | |
1312 | game:GetService("Players").PlayerAdded:connect(function(plr) | |
1313 | plr.Chatted:connect(function(chat) | |
1314 | CreateChatText(plr, chat) | |
1315 | if printingChat then | |
1316 | printChat(plr, chat) | |
1317 | end | |
1318 | if modeFling == true then | |
1319 | if string.lower(string.sub(chat, 1, 7)) == "!fling " then | |
1320 | if gsWorkspace:PGSIsEnabled() == false then | |
1321 | FEGodmode() | |
1322 | end | |
1323 | if string.lower(string.sub(chat, 8)) == "me" then | |
1324 | run(commandPrefix.."unfling") | |
1325 | LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0) | |
1326 | run(commandPrefix.."fling "..plr.Name.." 2000000") | |
1327 | else | |
1328 | for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do | |
1329 | if notAll ~= LP then | |
1330 | run(commandPrefix.."unfling") | |
1331 | LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0) | |
1332 | run(commandPrefix.."fling "..notAll.Name.." 2000000") | |
1333 | end | |
1334 | end | |
1335 | end | |
1336 | end | |
1337 | end | |
1338 | if modeCompliment == true then | |
1339 | if string.lower(string.sub(chat, 1, 3)) == "!c " then | |
1340 | if complimentReady == true then | |
1341 | complimentReady = false | |
1342 | if string.lower(string.sub(chat, 4)) == "me" then | |
1343 | complimentplr(plr) | |
1344 | else | |
1345 | for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do | |
1346 | if Others == LP then | |
1347 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All") | |
1348 | else | |
1349 | complimentplr(Others) | |
1350 | end | |
1351 | end | |
1352 | end | |
1353 | wait(1) | |
1354 | complimentReady = true | |
1355 | end | |
1356 | end | |
1357 | end | |
1358 | if modeMove == true then | |
1359 | if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then | |
1360 | run(commandPrefix.."unfollow") | |
1361 | run(commandPrefix.."unwalk") | |
1362 | run(commandPrefix.."goto "..plr.Name) | |
1363 | elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then | |
1364 | for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do | |
1365 | if getWalkPlayer == LP then | |
1366 | run(commandPrefix.."unfollow") | |
1367 | run(commandPrefix.."walk "..plr.Name) | |
1368 | else | |
1369 | run(commandPrefix.."unfollow") | |
1370 | run(commandPrefix.."walk "..getWalkPlayer.Name) | |
1371 | end | |
1372 | end | |
1373 | elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then | |
1374 | for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do | |
1375 | if getFollowPlayer == LP then | |
1376 | run(commandPrefix.."unwalk") | |
1377 | run(commandPrefix.."follow "..plr.Name) | |
1378 | else | |
1379 | run(commandPrefix.."unwalk") | |
1380 | run(commandPrefix.."follow "..getFollowPlayer.Name) | |
1381 | end | |
1382 | end | |
1383 | end | |
1384 | end | |
1385 | if modeInfo == true then | |
1386 | if infoReady then | |
1387 | infoReady = false | |
1388 | if string.lower(string.sub(chat, 1, 5)) == "!age " then | |
1389 | for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do | |
1390 | if v == LP then | |
1391 | run(commandPrefix.."age "..plr.Name) | |
1392 | else | |
1393 | run(commandPrefix.."age "..v.Name) | |
1394 | end | |
1395 | end | |
1396 | end | |
1397 | if string.lower(string.sub(chat, 1, 4)) == "!id " then | |
1398 | for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do | |
1399 | if a == LP then | |
1400 | run(commandPrefix.."id "..plr.Name) | |
1401 | else | |
1402 | run(commandPrefix.."id "..a.Name) | |
1403 | end | |
1404 | end | |
1405 | end | |
1406 | wait(1) | |
1407 | infoReady = true | |
1408 | end | |
1409 | end | |
1410 | end) | |
1411 | end) | |
1412 | ||
1413 | -- Loops | |
1414 | noclip = false | |
1415 | following = false | |
1416 | trailing = false | |
1417 | annoying = false | |
1418 | flingnoclip = false | |
1419 | staring = false | |
1420 | stopsitting = false | |
1421 | stareplr = "" | |
1422 | CBRINGamount = 3 | |
1423 | spawnWS = CurrentWalkspeed | |
1424 | spawnJP = CurrentJumppower | |
1425 | spawnHH = CurrentHipheight | |
1426 | spawningfegod = false | |
1427 | looptpbypassfly = false | |
1428 | if game.GameId == 245662005 or game.GameId == 601130232 then | |
1429 | bypassMODE = true | |
1430 | else | |
1431 | bypassMODE = false | |
1432 | end | |
1433 | viewplr = "" | |
1434 | loopview = false | |
1435 | cmdForward = false | |
1436 | forwardSpeed = 1 | |
1437 | loopviewfc = false | |
1438 | spinTOhead = false | |
1439 | spinObj = "" | |
1440 | rideACTIVE = false | |
1441 | ridePLAYER = "" | |
1442 | ||
1443 | LPcurrenthumanoid = LP.Character.Humanoid | |
1444 | game:GetService('RunService').Stepped:connect(function() | |
1445 | if LP.Character.Humanoid ~= nil then | |
1446 | LPcurrenthumanoid = LP.Character.Humanoid | |
1447 | end | |
1448 | if noclip then | |
1449 | if LP.Character then | |
1450 | if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then | |
1451 | LP.Character.Head.CanCollide = false | |
1452 | LP.Character.Torso.CanCollide = false | |
1453 | LP.Character["Left Leg"].CanCollide = false | |
1454 | LP.Character["Right Leg"].CanCollide = false | |
1455 | LP.Character["Left Arm"].CanCollide = false | |
1456 | LP.Character["Right Arm"].CanCollide = false | |
1457 | elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
1458 | LP.Character.Head.CanCollide = false | |
1459 | LP.Character.UpperTorso.CanCollide = false | |
1460 | LP.Character.LowerTorso.CanCollide = false | |
1461 | LP.Character.HumanoidRootPart.CanCollide = false | |
1462 | end | |
1463 | end | |
1464 | end | |
1465 | if following then | |
1466 | LP.Character.HumanoidRootPart.CFrame = gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * flwnum | |
1467 | end | |
1468 | if trailing then | |
1469 | LP.Character.HumanoidRootPart.CFrame = gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * trlnum | |
1470 | end | |
1471 | if annoying then | |
1472 | LP.Character.HumanoidRootPart.CFrame = gsPlayers[annplr.Name].Character.HumanoidRootPart.CFrame | |
1473 | end | |
1474 | if walkto then | |
1475 | LP.Character.Humanoid:MoveTo(walkplr.Character.HumanoidRootPart.Position) | |
1476 | end | |
1477 | if cbringing then | |
1478 | CBRINGplr.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount | |
1479 | end | |
1480 | if cbringingall then | |
1481 | for i,getbringplrs in pairs(gsPlayers:GetPlayers()) do | |
1482 | if getbringplrs ~= LP then | |
1483 | getbringplrs.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount | |
1484 | end | |
1485 | end | |
1486 | end | |
1487 | if staring then | |
1488 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(LP.Character.Torso.Position, gsPlayers[stareplr.Name].Character.Torso.Position) | |
1489 | end | |
1490 | if stopsitting then | |
1491 | LP.Character.Humanoid.Sit = false | |
1492 | end | |
1493 | if looptpbypassfly then | |
1494 | pcall(function() | |
1495 | LP.Character.Head.Anchored = false | |
1496 | LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame | |
1497 | LP.Character.Head.Anchored = true | |
1498 | end) | |
1499 | end | |
1500 | if loopview then | |
1501 | view(viewplr) | |
1502 | end | |
1503 | if cmdForward then | |
1504 | LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * forwardSpeed | |
1505 | end | |
1506 | if loopviewfc then | |
1507 | pcall(function() | |
1508 | gsWorkspace.CurrentCamera.CameraSubject = gsWorkspace.rGETpartNUMBER2 | |
1509 | end) | |
1510 | end | |
1511 | if spinTOhead then | |
1512 | pcall(function() | |
1513 | spinObj.Position = LP.Character.Head.Position | |
1514 | end) | |
1515 | end | |
1516 | if rideACTIVE == true then | |
1517 | LP.character.HumanoidRootPart.CFrame = ridePLAYER.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0) | |
1518 | end | |
1519 | end) | |
1520 | spawningatreset = false | |
1521 | spawnresetpoint = LP.Character.Head.CFrame | |
1522 | ||
1523 | LPcurrenthumanoid.Died:Connect(function() | |
1524 | flying = false | |
1525 | doFREECAM = false | |
1526 | if savingtoolsloop then | |
1527 | run(commandPrefix.."savealltool") | |
1528 | end | |
1529 | if spawningatreset == true then | |
1530 | spawnresetpoint = LP.Character.Head.CFrame + Vector3.new(0, 5, 0) | |
1531 | end | |
1532 | end) | |
1533 | ||
1534 | LP.CharacterAdded:Connect(function() | |
1535 | wait(0.2) | |
1536 | LP.Character.Humanoid.WalkSpeed = spawnWS | |
1537 | LP.Character.Humanoid.JumpPower = spawnJP | |
1538 | LP.Character.Humanoid.HipHeight = spawnHH | |
1539 | if spawningfegod then | |
1540 | FEGodmode() | |
1541 | end | |
1542 | if spawningpos and spawnpos ~= nil then | |
1543 | LP.Character.HumanoidRootPart.CFrame = spawnpos | |
1544 | end | |
1545 | if spawningatreset == true then | |
1546 | LP.Character.HumanoidRootPart.CFrame = spawnresetpoint | |
1547 | end | |
1548 | end) | |
1549 | ||
1550 | -- Commands | |
1551 | Commands = {} | |
1552 | ||
1553 | Commands.print = function(args) | |
1554 | local msg = table.concat(args," ") | |
1555 | print(msg) | |
1556 | end | |
1557 | ||
1558 | Commands.warn = function(args) | |
1559 | local msg = table.concat(args," ") | |
1560 | warn(msg) | |
1561 | end | |
1562 | ||
1563 | Commands.sit = function(args) | |
1564 | LP.Character.Humanoid.Sit = true | |
1565 | end | |
1566 | ||
1567 | Commands.god = function(args) | |
1568 | FEGodmode() | |
1569 | Notification("warning", "You have enabled FE Godmode, tools will not work. Use "..commandPrefix.."grespawn to remove.", 7) | |
1570 | end | |
1571 | ||
1572 | Commands.view = function(args) | |
1573 | if args[1] then | |
1574 | for i,v in pairs(findSinglePlayer(args[1])) do | |
1575 | if bypassMODE == false then | |
1576 | view(v) | |
1577 | Notification("info", "Now viewing "..v.Name..". Use "..commandPrefix.."unview to stop viewing.", 3) | |
1578 | elseif bypassMODE == true then | |
1579 | viewplr = v | |
1580 | loopview = true | |
1581 | end | |
1582 | end | |
1583 | end | |
1584 | end | |
1585 | ||
1586 | Commands.unview = function(args) | |
1587 | view(LP) | |
1588 | loopview = false | |
1589 | end | |
1590 | ||
1591 | Commands.gravity = function(args) | |
1592 | if args[1] then | |
1593 | gsWorkspace.Gravity = args[1] | |
1594 | end | |
1595 | end | |
1596 | ||
1597 | Commands.ungravity = function(args) | |
1598 | gsWorkspace.Gravity = CurrentGravity | |
1599 | end | |
1600 | ||
1601 | Commands.goto = function(args) | |
1602 | if args[1] then | |
1603 | if bypassMODE == false then | |
1604 | for i,v in pairs(findPlayer(args[1])) do | |
1605 | LP.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame | |
1606 | end | |
1607 | elseif bypassMODE == true then | |
1608 | for i,v in pairs(findPlayer(args[1])) do | |
1609 | local TPbypass = {} | |
1610 | TPbypass.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0) | |
1611 | local TPFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), TPbypass) | |
1612 | TPFunction:Play() | |
1613 | end | |
1614 | end | |
1615 | end | |
1616 | end | |
1617 | ||
1618 | Commands.fecheck = function(args) | |
1619 | if gsWorkspace.FilteringEnabled == true then | |
1620 | Notification("warning", "FE is enabled!", 7) | |
1621 | else | |
1622 | Notification("warning", "FE is disabled. Consider using a different script.", 7) | |
1623 | end | |
1624 | end | |
1625 | ||
1626 | Commands.lockws = function(args) | |
1627 | lockWS() | |
1628 | Notification("info", "Workspace locked.", 4) | |
1629 | end | |
1630 | ||
1631 | Commands.unlockws = function(args) | |
1632 | unlockWS() | |
1633 | Notification("info", "Workspace unlocked.", 4) | |
1634 | end | |
1635 | ||
1636 | Commands.noclip = function(args) | |
1637 | noclip = true | |
1638 | Notification("info", "Noclip enabled.", 4) | |
1639 | end | |
1640 | ||
1641 | Commands.clip = function(args) | |
1642 | noclip = false | |
1643 | Notification("info", "Noclip disabled.", 4) | |
1644 | end | |
1645 | ||
1646 | Commands.follow = function(args) | |
1647 | if args[1] then | |
1648 | for i,v in pairs(findPlayer(args[1])) do | |
1649 | flwplr = v | |
1650 | end | |
1651 | if args[2] then | |
1652 | flwnum = args[2] | |
1653 | else | |
1654 | flwnum = -5 | |
1655 | end | |
1656 | following = true | |
1657 | else | |
1658 | Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4) | |
1659 | end | |
1660 | end | |
1661 | ||
1662 | Commands.unfollow = function(args) | |
1663 | following = false | |
1664 | end | |
1665 | ||
1666 | Commands.fling = function(args) | |
1667 | if args[1] then | |
1668 | for i,v in pairs(findSinglePlayer(args[1])) do | |
1669 | if v ~= LP then | |
1670 | view(v) | |
1671 | pcall(function() | |
1672 | LP.Character.HumanoidRootPart.Fling:Destroy() | |
1673 | end) | |
1674 | if not args[2] then | |
1675 | RocketPropulsion(800000,1000,400000,v,"Fling") | |
1676 | else | |
1677 | RocketPropulsion(args[2],1500,400000,v,"Fling") | |
1678 | end | |
1679 | if noclip ~= true then | |
1680 | flingnoclip = true | |
1681 | noclip = true | |
1682 | end | |
1683 | end | |
1684 | end | |
1685 | else | |
1686 | Notification("warning", "No player selected to fling! Use: "..commandPrefix.."fling player", 4) | |
1687 | end | |
1688 | end | |
1689 | ||
1690 | Commands.unfling = function(args) | |
1691 | view(LP) | |
1692 | pcall(function() | |
1693 | if LP.Character.HumanoidRootPart.Fling then | |
1694 | for i,v in pairs(LP.Character:GetDescendants()) do | |
1695 | if v.Name == "Fling" and v:IsA("RocketPropulsion") then | |
1696 | v:Destroy() | |
1697 | end | |
1698 | end | |
1699 | end | |
1700 | end) | |
1701 | if flingnoclip == true then | |
1702 | noclip = false | |
1703 | flingnoclip = false | |
1704 | end | |
1705 | end | |
1706 | ||
1707 | Commands.trail = function(args) | |
1708 | if args[1] then | |
1709 | for i,v in pairs(findPlayer(args[1])) do | |
1710 | trlplr = v | |
1711 | end | |
1712 | if args[2] then | |
1713 | trlnum = args[2] | |
1714 | else | |
1715 | trlnum = 5 | |
1716 | end | |
1717 | trailing = true | |
1718 | else | |
1719 | Notification("warning", "No player selected to trail! Use: "..commandPrefix.."trail player", 4) | |
1720 | end | |
1721 | end | |
1722 | ||
1723 | Commands.untrail = function(args) | |
1724 | trailing = false | |
1725 | end | |
1726 | ||
1727 | Commands.annoy = function(args) | |
1728 | if args[1] then | |
1729 | for i,v in pairs(findPlayer(args[1])) do | |
1730 | annplr = v | |
1731 | end | |
1732 | annoying = true | |
1733 | else | |
1734 | Notification("warning", "No player selected to annoy! Use: "..commandPrefix.."annoy player", 4) | |
1735 | end | |
1736 | end | |
1737 | ||
1738 | Commands.unannoy = function(args) | |
1739 | annoying = false | |
1740 | end | |
1741 | ||
1742 | Commands.reset = function(args) | |
1743 | LP.Character:BreakJoints() | |
1744 | end | |
1745 | ||
1746 | Commands.grespawn = function(args) | |
1747 | LP.Character.Humanoid.Health = 0 | |
1748 | wait(1) | |
1749 | LP.Character.Head.CFrame = CFrame.new(1000000,0,1000000) | |
1750 | LP.Character.Torso.CFrame = CFrame.new(1000000,0,1000000) | |
1751 | end | |
1752 | ||
1753 | Commands.respawn = function(args) | |
1754 | local mod = Instance.new('Model', workspace) mod.Name = 'new '..LP.Name | |
1755 | local hum = Instance.new('Humanoid', mod) | |
1756 | local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1 | |
1757 | LP.Character = mod | |
1758 | end | |
1759 | ||
1760 | Commands.speed = function(args) | |
1761 | if args[1] then | |
1762 | run(commandPrefix.."ws "..args[1]) | |
1763 | end | |
1764 | end | |
1765 | ||
1766 | bypassingwalkspeed = false | |
1767 | Commands.ws = function(args) | |
1768 | if args[1] then | |
1769 | if bypassMODE == false then | |
1770 | LP.Character.Humanoid.WalkSpeed = args[1] | |
1771 | elseif bypassMODE == true then | |
1772 | if game.GameId == 245662005 then | |
1773 | bypassingwalkspeed = true | |
1774 | bypassWalkspeed = args[1] | |
1775 | end | |
1776 | end | |
1777 | end | |
1778 | end | |
1779 | ||
1780 | game:GetService("RunService").Heartbeat:Connect(function() | |
1781 | if bypassingwalkspeed then | |
1782 | LP.Character.Humanoid.WalkSpeed = bypassWalkspeed | |
1783 | end | |
1784 | end) | |
1785 | ||
1786 | Commands.jumppower = function(args) | |
1787 | if args[1] then | |
1788 | LP.Character.Humanoid.JumpPower = args[1] | |
1789 | end | |
1790 | end | |
1791 | ||
1792 | Commands.jp = function(args) | |
1793 | if args[1] then | |
1794 | LP.Character.Humanoid.JumpPower = args[1] | |
1795 | end | |
1796 | end | |
1797 | ||
1798 | Commands.hipheight = function(args) | |
1799 | if args[1] then | |
1800 | LP.Character.Humanoid.HipHeight = args[1] | |
1801 | end | |
1802 | end | |
1803 | ||
1804 | Commands.hh = function(args) | |
1805 | if args[1] then | |
1806 | LP.Character.Humanoid.HipHeight = args[1] | |
1807 | end | |
1808 | end | |
1809 | ||
1810 | Commands.default = function(args) | |
1811 | LP.Character.Humanoid.WalkSpeed = CurrentWalkspeed | |
1812 | LP.Character.Humanoid.HipHeight = CurrentHipheight | |
1813 | LP.Character.Humanoid.JumpPower = CurrentJumppower | |
1814 | end | |
1815 | ||
1816 | Commands.credits = function(args) | |
1817 | Notification("info", "Shattervast was made by illremember#3799 , "..commandPrefix.."fullcredits for all credits.", 8) | |
1818 | end | |
1819 | ||
1820 | Commands.attach = function(args) | |
1821 | if hasTools() == false then | |
1822 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
1823 | else | |
1824 | FEGodmode() | |
1825 | for i,v in pairs(LP.Backpack:GetChildren())do | |
1826 | LP.Character.Humanoid:EquipTool(v) | |
1827 | end | |
1828 | if args[1] then | |
1829 | for i,v in pairs(findSinglePlayer(args[1])) do | |
1830 | if v ~= LP then | |
1831 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
1832 | wait(0.3) | |
1833 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
1834 | end | |
1835 | end | |
1836 | end | |
1837 | end | |
1838 | end | |
1839 | ||
1840 | Commands.fly = function(args) | |
1841 | if bypassMODE == false then | |
1842 | local speedget = 1 | |
1843 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid') | |
1844 | repeat wait() until Mouse | |
1845 | if args[1] then | |
1846 | speedfly = args[1] | |
1847 | else | |
1848 | speedfly = 1 | |
1849 | end | |
1850 | ||
1851 | local T = LP.Character.HumanoidRootPart | |
1852 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1853 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1854 | local SPEED = speedget | |
1855 | ||
1856 | local function fly() | |
1857 | flying = true | |
1858 | local BG = Instance.new('BodyGyro', T) | |
1859 | local BV = Instance.new('BodyVelocity', T) | |
1860 | BG.P = 9e4 | |
1861 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
1862 | BG.cframe = T.CFrame | |
1863 | BV.velocity = Vector3.new(0, 0.1, 0) | |
1864 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1865 | spawn(function() | |
1866 | repeat wait() | |
1867 | LP.Character.Humanoid.PlatformStand = true | |
1868 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
1869 | SPEED = 50 | |
1870 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
1871 | SPEED = 0 | |
1872 | end | |
1873 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
1874 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
1875 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
1876 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
1877 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
1878 | else | |
1879 | BV.velocity = Vector3.new(0, 0.1, 0) | |
1880 | end | |
1881 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
1882 | until not flying | |
1883 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1884 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
1885 | SPEED = 0 | |
1886 | BG:destroy() | |
1887 | BV:destroy() | |
1888 | LP.Character.Humanoid.PlatformStand = false | |
1889 | end) | |
1890 | end | |
1891 | Mouse.KeyDown:connect(function(KEY) | |
1892 | if KEY:lower() == 'w' then | |
1893 | CONTROL.F = speedfly | |
1894 | elseif KEY:lower() == 's' then | |
1895 | CONTROL.B = -speedfly | |
1896 | elseif KEY:lower() == 'a' then | |
1897 | CONTROL.L = -speedfly | |
1898 | elseif KEY:lower() == 'd' then | |
1899 | CONTROL.R = speedfly | |
1900 | end | |
1901 | end) | |
1902 | Mouse.KeyUp:connect(function(KEY) | |
1903 | if KEY:lower() == 'w' then | |
1904 | CONTROL.F = 0 | |
1905 | elseif KEY:lower() == 's' then | |
1906 | CONTROL.B = 0 | |
1907 | elseif KEY:lower() == 'a' then | |
1908 | CONTROL.L = 0 | |
1909 | elseif KEY:lower() == 'd' then | |
1910 | CONTROL.R = 0 | |
1911 | end | |
1912 | end) | |
1913 | fly() | |
1914 | elseif bypassMODE == true then | |
1915 | if not args[1] then | |
1916 | run(commandPrefix.."fc") | |
1917 | else | |
1918 | run(commandPrefix.."fc "..args[1]) | |
1919 | end | |
1920 | LP.Character.Head.Anchored = false | |
1921 | looptpbypassfly = true | |
1922 | view(LP) | |
1923 | end | |
1924 | end | |
1925 | ||
1926 | Commands.unfly = function(args) | |
1927 | if bypassMODE == false then | |
1928 | flying = false | |
1929 | LP.Character.Humanoid.PlatformStand = false | |
1930 | else | |
1931 | looptpbypassfly = false | |
1932 | run(commandPrefix.."unfreecam") | |
1933 | local goalTP = LP.Character.HumanoidRootPart.CFrame | |
1934 | if game.GameId == 245662005 then | |
1935 | for i = 1, 5 do wait(0.2) | |
1936 | LP.Character.HumanoidRootPart.CFrame = goalTP | |
1937 | end | |
1938 | else | |
1939 | LP.Character.HumanoidRootPart.CFrame = goalTP | |
1940 | end | |
1941 | LP.Character.Head.Anchored = false | |
1942 | end | |
1943 | end | |
1944 | ||
1945 | Commands.kill = function(args) | |
1946 | if args[1] then | |
1947 | for i,v in pairs(findSinglePlayer(args[1])) do | |
1948 | if v == LP then | |
1949 | LP.Character:BreakJoints() | |
1950 | else | |
1951 | if hasTools() == false then | |
1952 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
1953 | else | |
1954 | FEGodmode() | |
1955 | for i,v in pairs(LP.Backpack:GetChildren())do | |
1956 | LP.Character.Humanoid:EquipTool(v) | |
1957 | end | |
1958 | local NOW = LP.Character.HumanoidRootPart.CFrame | |
1959 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
1960 | wait(0.3) | |
1961 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
1962 | local function tp(player,player2) | |
1963 | local char1,char2=player.Character,player2.Character | |
1964 | if char1 and char2 then | |
1965 | char1:MoveTo(char2.Head.Position) | |
1966 | end | |
1967 | end | |
1968 | wait(0.5) | |
1969 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(100000,0,100000)) | |
1970 | wait(0.5) | |
1971 | tp(LP,game:GetService("Players")[v.Name]) | |
1972 | wait(0.7) | |
1973 | LP.Character.HumanoidRootPart.CFrame = NOW | |
1974 | view(LP) | |
1975 | end | |
1976 | end | |
1977 | end | |
1978 | end | |
1979 | end | |
1980 | Commands.bring = function(args) | |
1981 | if hasTools() == false then | |
1982 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
1983 | else | |
1984 | FEGodmode() | |
1985 | for i,v in pairs(LP.Backpack:GetChildren())do | |
1986 | LP.Character.Humanoid:EquipTool(v) | |
1987 | end | |
1988 | if args[1] then | |
1989 | for i,v in pairs(findSinglePlayer(args[1])) do | |
1990 | if v ~= LP then | |
1991 | local NOW = LP.Character.HumanoidRootPart.CFrame | |
1992 | local function tp(player,player2) | |
1993 | local char1,char2=player.Character,player2.Character | |
1994 | if char1 and char2 then | |
1995 | char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame | |
1996 | end | |
1997 | end | |
1998 | local function getout(player,player2) | |
1999 | local char1,char2=player.Character,player2.Character | |
2000 | if char1 and char2 then | |
2001 | char1:MoveTo(char2.Head.Position) | |
2002 | end | |
2003 | end | |
2004 | tp(game:GetService("Players")[v.Name], LP) | |
2005 | wait(0.2) | |
2006 | tp(game:GetService("Players")[v.Name], LP) | |
2007 | wait(0.5) | |
2008 | LP.Character.HumanoidRootPart.CFrame = NOW | |
2009 | wait(0.5) | |
2010 | getout(LP, game:GetService("Players")[v.Name]) | |
2011 | wait(0.3) | |
2012 | LP.Character.HumanoidRootPart.CFrame = NOW | |
2013 | end | |
2014 | end | |
2015 | end | |
2016 | end | |
2017 | end | |
2018 | ||
2019 | Commands.naked = function(args) | |
2020 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2021 | if v:IsA("Clothing") then | |
2022 | v:Destroy() | |
2023 | end | |
2024 | end | |
2025 | end | |
2026 | ||
2027 | Commands.nolimbs = function(args) | |
2028 | LP.Character["Left Arm"]:Destroy() | |
2029 | LP.Character["Right Arm"]:Destroy() | |
2030 | LP.Character["Left Leg"]:Destroy() | |
2031 | LP.Character["Right Leg"]:Destroy() | |
2032 | end | |
2033 | ||
2034 | Commands.noarms = function(args) | |
2035 | LP.Character["Left Arm"]:Destroy() | |
2036 | LP.Character["Right Arm"]:Destroy() | |
2037 | end | |
2038 | ||
2039 | Commands.nolegs = function(args) | |
2040 | LP.Character["Left Leg"]:Destroy() | |
2041 | LP.Character["Right Leg"]:Destroy() | |
2042 | end | |
2043 | ||
2044 | Commands.headless = function(args) | |
2045 | local l = LP.Character.Humanoid:Clone() | |
2046 | LP.Character.Humanoid:Destroy() | |
2047 | wait(0.2) | |
2048 | LP.Character.Head.CanCollide = false | |
2049 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2050 | if string.sub(v.Name, 1, 4) == "Neck" then | |
2051 | v:Destroy() | |
2052 | end | |
2053 | end | |
2054 | wait(0.2) | |
2055 | l.Name = "Humanoid" | |
2056 | l.Parent = LP.Character | |
2057 | wait(0.1) | |
2058 | game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character | |
2059 | LP.Character.Animate:Destroy() | |
2060 | end | |
2061 | ||
2062 | antiremotes = false | |
2063 | Commands.antikick = function(args) | |
2064 | if args[1] then | |
2065 | if args[1] == "on" then | |
2066 | antiremotes = true | |
2067 | wait(0.2) | |
2068 | for i,v in pairs(LP.Character:GetChildren()) do | |
2069 | if string.find(string.lower(v.Name), "exploit") and v:IsA("LocalScript") then | |
2070 | v.Disabled = true | |
2071 | end | |
2072 | end | |
2073 | Notification("warning", "This command disables all remotes incase they are kick remotes, may break game.", 8) | |
2074 | Notification("info", "Does not prevent serverside kicks, use "..commandPrefix.."antikick off to turn off.", 8) | |
2075 | elseif args[1] == "off" then | |
2076 | antiremotes = false | |
2077 | Notification("warning", "Remote anti-kick turned off.", 8) | |
2078 | end | |
2079 | end | |
2080 | end | |
2081 | ||
2082 | blockedremotes = {} | |
2083 | Commands.blockremote = function(args) | |
2084 | local getService = "" | |
2085 | if args[1] then | |
2086 | local remoteName = string.lower(tostring(args[1])) | |
2087 | if args[2] then | |
2088 | local serviceRemote = string.lower(tostring(args[2])) | |
2089 | if serviceRemote == "workspace" then | |
2090 | getService = "Workspace" | |
2091 | elseif serviceRemote == "replicatedstorage" then | |
2092 | getService = "ReplicatedStorage" | |
2093 | elseif serviceRemote == "players" then | |
2094 | getService = "Players" | |
2095 | elseif serviceRemote == "lighting" then | |
2096 | getService = "Lighting" | |
2097 | elseif serviceRemote == "startergui" then | |
2098 | getService = "StarterGui" | |
2099 | elseif serviceRemote == "starterpack" then | |
2100 | getService = "StarterPack" | |
2101 | elseif serviceRemote == "starterplayer" then | |
2102 | getService = "StarterPlayer" | |
2103 | else | |
2104 | getService = "ReplicatedStorage" | |
2105 | end | |
2106 | else | |
2107 | getService = "ReplicatedStorage" | |
2108 | end | |
2109 | for i,getRemote in pairs(game:GetService(getService):GetDescendants()) do | |
2110 | if string.lower(getRemote.Name) == remoteName then | |
2111 | table.insert(blockedremotes, getRemote.Name) | |
2112 | end | |
2113 | end | |
2114 | end | |
2115 | Notification("warning", "If this command does not work, make sure you type remote name/service fully correct.", 8) | |
2116 | end | |
2117 | ||
2118 | spyingremotes = false | |
2119 | Commands.remotespy = function(args) | |
2120 | if args[1] then | |
2121 | if args[1] == "on" then | |
2122 | spyingremotes = true | |
2123 | Notification("info", "Remotespy turned on.", 4) | |
2124 | elseif args[1] == "off" then | |
2125 | spyingremotes = false | |
2126 | Notification("info", "Remotespy turned off.", 4) | |
2127 | end | |
2128 | end | |
2129 | end | |
2130 | ||
2131 | Commands.bang = function(args) | |
2132 | if args[1] then | |
2133 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2134 | if v ~= nil then | |
2135 | following = true | |
2136 | flwplr = v | |
2137 | flwnum = -1 | |
2138 | local bangAnimation = Instance.new("Animation") | |
2139 | bangAnimation.AnimationId = "rbxassetid://148840371" | |
2140 | bangTrack = LP.Character.Humanoid:LoadAnimation(bangAnimation) | |
2141 | if args[2] then | |
2142 | bangTrack:Play(.1, 1, args[2]) | |
2143 | else | |
2144 | bangTrack:Play(.1, 1, 1) | |
2145 | end | |
2146 | end | |
2147 | end | |
2148 | else | |
2149 | Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4) | |
2150 | end | |
2151 | end | |
2152 | ||
2153 | Commands.unbang = function(args) | |
2154 | following = false | |
2155 | bangTrack:Stop() | |
2156 | end | |
2157 | ||
2158 | spamdelay = 1 | |
2159 | spamtext = "Spam" | |
2160 | spamming = false | |
2161 | Commands.spam = function(args) | |
2162 | if args[1] then | |
2163 | spamtext = args[1] | |
2164 | spamming = true | |
2165 | end | |
2166 | end | |
2167 | Commands.spamdelay = function(args) | |
2168 | if args[1] then | |
2169 | spamdelay = args[1] | |
2170 | end | |
2171 | end | |
2172 | spawn(function() | |
2173 | while wait(spamdelay) do | |
2174 | if spamming then | |
2175 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All") | |
2176 | end | |
2177 | end | |
2178 | end) | |
2179 | ||
2180 | Commands.unspam = function(args) | |
2181 | spamming = false | |
2182 | end | |
2183 | ||
2184 | Commands.info = function(args) | |
2185 | if args[1] then | |
2186 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2187 | createINFO(v) | |
2188 | end | |
2189 | end | |
2190 | end | |
2191 | ||
2192 | Commands.age = function(args) | |
2193 | if args[1] then | |
2194 | for i,v in pairs(findPlayer(args[1])) do | |
2195 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account Age: "..v.AccountAge.." days!", "All") | |
2196 | end | |
2197 | end | |
2198 | end | |
2199 | ||
2200 | Commands.invisible = function(args) | |
2201 | local Character = LP.Character | |
2202 | if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then | |
2203 | local Clone = Character.HumanoidRootPart:Clone() | |
2204 | Character.HumanoidRootPart:Destroy() | |
2205 | Clone.Parent = Character | |
2206 | else | |
2207 | local Clone = Character.LowerTorso.Root:Clone() | |
2208 | Character.LowerTorso.Root:Destroy() | |
2209 | Clone.Parent = Character.LowerTorso | |
2210 | end | |
2211 | end | |
2212 | ||
2213 | walkto = false | |
2214 | walkplr = "" | |
2215 | Commands.walk = function(args) | |
2216 | if args[1] then | |
2217 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2218 | walkplr = v | |
2219 | walkto = true | |
2220 | noclip = true | |
2221 | end | |
2222 | end | |
2223 | end | |
2224 | ||
2225 | Commands.unwalk = function(args) | |
2226 | walkto = false | |
2227 | noclip = false | |
2228 | LP.Character.Humanoid:MoveTo(LP.Character.HumanoidRootPart.Position) | |
2229 | end | |
2230 | ||
2231 | Commands.glitch = function(args) | |
2232 | if hasTools() == false then | |
2233 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
2234 | else | |
2235 | FEGodmode() | |
2236 | for i,v in pairs(LP.Backpack:GetChildren())do | |
2237 | LP.Character.Humanoid:EquipTool(v) | |
2238 | end | |
2239 | if args[1] then | |
2240 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2241 | local function tp(player,player2) | |
2242 | local char1,char2=player.Character,player2.Character | |
2243 | if char1 and char2 then | |
2244 | char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame | |
2245 | end | |
2246 | end | |
2247 | tp(game:GetService("Players")[v.Name], LP) | |
2248 | wait(0.2) | |
2249 | tp(game:GetService("Players")[v.Name], LP) | |
2250 | wait(0.5) | |
2251 | local b = Instance.new("BodyForce") | |
2252 | b.Parent = LP.Character.HumanoidRootPart | |
2253 | b.Name = "Glitch" | |
2254 | if args[2] then | |
2255 | b.Force = Vector3.new(args[2],5000,0) | |
2256 | else | |
2257 | b.Force = Vector3.new(100000000,5000,0) | |
2258 | end | |
2259 | wait(6) | |
2260 | b:Destroy() | |
2261 | end | |
2262 | end | |
2263 | end | |
2264 | end | |
2265 | ||
2266 | Commands.tp = function(args) | |
2267 | if args[1] then | |
2268 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2269 | if v == LP then | |
2270 | if args[2] then | |
2271 | for i,a in pairs(findSinglePlayer(args[2])) do | |
2272 | v.Character.HumanoidRootPart.CFrame = a.Character.HumanoidRootPart.CFrame | |
2273 | end | |
2274 | end | |
2275 | else | |
2276 | if hasTools() == false then | |
2277 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
2278 | else | |
2279 | FEGodmode() | |
2280 | for i,v in pairs(LP.Backpack:GetChildren())do | |
2281 | LP.Character.Humanoid:EquipTool(v) | |
2282 | end | |
2283 | if args[1] then | |
2284 | for i,first in pairs(findSinglePlayer(args[1])) do | |
2285 | if args[2] then | |
2286 | for i,second in pairs(findSinglePlayer(args[2])) do | |
2287 | local function tp(player,player2) | |
2288 | local char1,char2=player.Character,player2.Character | |
2289 | if char1 and char2 then | |
2290 | char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame | |
2291 | end | |
2292 | end | |
2293 | local function getout(player,player2) | |
2294 | local char1,char2=player.Character,player2.Character | |
2295 | if char1 and char2 then | |
2296 | char1:MoveTo(char2.Head.Position) | |
2297 | end | |
2298 | end | |
2299 | tp(LP, first) | |
2300 | wait(0.2) | |
2301 | tp(LP, first) | |
2302 | wait(0.5) | |
2303 | tp(LP, second) | |
2304 | wait(0.2) | |
2305 | tp(LP, second) | |
2306 | wait(0.2) | |
2307 | getout(LP, first) | |
2308 | end | |
2309 | end | |
2310 | end | |
2311 | end | |
2312 | end | |
2313 | end | |
2314 | end | |
2315 | end | |
2316 | end | |
2317 | ||
2318 | Commands.givetool = function(args) | |
2319 | if args[1] then | |
2320 | if args[2] then | |
2321 | local selectedTool = "" | |
2322 | for i,allTools in pairs(LP.Character:GetDescendants()) do | |
2323 | if allTools:IsA("Tool") and string.lower(allTools.Name) == string.lower(args[2]) then | |
2324 | selectedTool = allTools | |
2325 | else | |
2326 | for i,otherTools in pairs(LP.Backpack:GetDescendants()) do | |
2327 | if otherTools:IsA("Tool") and string.lower(otherTools.Name) == string.lower(args[2]) then | |
2328 | selectedTool = otherTools | |
2329 | end | |
2330 | end | |
2331 | end | |
2332 | end | |
2333 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2334 | if selectedTool ~= "" then | |
2335 | selectedTool.Parent = v.Character | |
2336 | end | |
2337 | end | |
2338 | else | |
2339 | for i,plr in pairs(findSinglePlayer(args[1])) do | |
2340 | for i,tool in pairs(LP.Character:GetDescendants()) do | |
2341 | if tool:IsA("Tool") then | |
2342 | tool.Parent = plr.Character | |
2343 | end | |
2344 | end | |
2345 | end | |
2346 | end | |
2347 | end | |
2348 | end | |
2349 | ||
2350 | Commands.givealltools = function(args) | |
2351 | LP.Character.Humanoid:UnequipTools() | |
2352 | for i,plr in pairs(findSinglePlayer(args[1])) do | |
2353 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2354 | if v:IsA("Tool") then | |
2355 | v.Parent = plr.Character | |
2356 | end | |
2357 | end | |
2358 | for i,a in pairs(LP.Backpack:GetDescendants()) do | |
2359 | if a:IsA("Tool") then | |
2360 | a.Parent = plr.Character | |
2361 | end | |
2362 | end | |
2363 | end | |
2364 | end | |
2365 | ||
2366 | Commands.blockhats = function(args) | |
2367 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2368 | if v:IsA("Accessory") or v:IsA("Hat") then | |
2369 | for i,mesh in pairs(v:GetDescendants()) do | |
2370 | if mesh.Name == "Mesh" then | |
2371 | mesh:Destroy() | |
2372 | end | |
2373 | end | |
2374 | end | |
2375 | end | |
2376 | end | |
2377 | ||
2378 | Commands.blocktool = function(args) | |
2379 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2380 | if v:IsA("Tool") then | |
2381 | for i,mesh in pairs(v:GetDescendants()) do | |
2382 | if mesh.Name == "Mesh" then | |
2383 | mesh:Destroy() | |
2384 | end | |
2385 | end | |
2386 | end | |
2387 | end | |
2388 | end | |
2389 | ||
2390 | Commands.orbit = function(args) | |
2391 | if args[1] then | |
2392 | for i,v in pairs(findSinglePlayer(args[1])) do | |
2393 | view(v) | |
2394 | RocketPropulsion(5000,100,5000,v,"OrbitMove") | |
2395 | end | |
2396 | else | |
2397 | Notification("warning", "No player selected to orbit! Use: "..commandPrefix.."orbit player", 4) | |
2398 | end | |
2399 | end | |
2400 | ||
2401 | Commands.unorbit = function(args) | |
2402 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2403 | if v.Name == "OrbitMove" then | |
2404 | v:Destroy() | |
2405 | end | |
2406 | end | |
2407 | view(LP) | |
2408 | end | |
2409 | ||
2410 | Commands.pos = function(args) | |
2411 | Notification("info", "Your current position is ".. tostring(LP.Character.HumanoidRootPart.Position), 9) | |
2412 | end | |
2413 | ||
2414 | SavedPosition = "" | |
2415 | Commands.savepos = function(args) | |
2416 | SavedPosition = LP.Character.HumanoidRootPart.CFrame | |
2417 | end | |
2418 | Commands.loadpos = function(args) | |
2419 | if SavedPosition ~= "" then | |
2420 | LP.Character.HumanoidRootPart.CFrame = SavedPosition | |
2421 | end | |
2422 | end | |
2423 | ||
2424 | Commands.tppos = function(args) | |
2425 | if args[1] and args[2] and args[3] then | |
2426 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(args[1], args[2], args[3])) | |
2427 | end | |
2428 | end | |
2429 | ||
2430 | Commands.pmspam = function(args) | |
2431 | if args[1] then | |
2432 | local gotPlayer = "" | |
2433 | for i,v in pairs(findPlayer(args[1])) do | |
2434 | gotPlayer = v | |
2435 | end | |
2436 | table.remove(args, 1) | |
2437 | local pmSpamMsg = table.concat(args," ") | |
2438 | spamtext = "/w "..gotPlayer.Name.." "..pmSpamMsg | |
2439 | spamming = true | |
2440 | end | |
2441 | end | |
2442 | ||
2443 | Commands.unpmspam = function(args) | |
2444 | spamming = false | |
2445 | end | |
2446 | ||
2447 | Commands.wsvis = function(args) | |
2448 | if args[1] then | |
2449 | for i,v in pairs(gsWorkspace:GetDescendants()) do | |
2450 | if v:IsA("Part") or v:IsA("Decal") then | |
2451 | if tonumber(args[1]) > 1 then | |
2452 | v.Transparency = 0.5 | |
2453 | else | |
2454 | v.Transparency = args[1] | |
2455 | end | |
2456 | end | |
2457 | end | |
2458 | end | |
2459 | clientSided() | |
2460 | end | |
2461 | ||
2462 | Commands.bringobj = function(args) | |
2463 | if args[1] then | |
2464 | local Object = "" | |
2465 | for i,v in pairs(gsWorkspace:GetDescendants()) do | |
2466 | if string.lower(v.Name) == string.lower(args[1]) then | |
2467 | Object = v | |
2468 | end | |
2469 | end | |
2470 | if Object == "" then | |
2471 | Notification("warning", "Object was not found in the workspace.", 6) | |
2472 | end | |
2473 | if args[2] then | |
2474 | Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * args[2] | |
2475 | else | |
2476 | Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 3 | |
2477 | end | |
2478 | clientSided() | |
2479 | end | |
2480 | end | |
2481 | ||
2482 | CBRINGplr = "" | |
2483 | cbringing = false | |
2484 | cbringingall = false | |
2485 | Commands.cbring = function(args) | |
2486 | if args[1] then | |
2487 | if string.lower(tostring(args[1])) == "all" or string.lower(tostring(args[1])) == "others" then | |
2488 | cbringingall = true | |
2489 | else | |
2490 | for i,v in pairs(findPlayer(args[1])) do | |
2491 | CBRINGplr = v | |
2492 | cbringing = true | |
2493 | end | |
2494 | end | |
2495 | if args[2] then | |
2496 | CBRINGamount = args[2] | |
2497 | else | |
2498 | CBRINGamount = 3 | |
2499 | end | |
2500 | clientSided() | |
2501 | end | |
2502 | end | |
2503 | ||
2504 | Commands.uncbring = function(args) | |
2505 | cbringing = false | |
2506 | cbringingall = false | |
2507 | end | |
2508 | ||
2509 | Commands.cfreeze = function(args) | |
2510 | if args[1] then | |
2511 | for i,v in pairs(findPlayer(args[1])) do | |
2512 | v.Character.HumanoidRootPart.Anchored = true | |
2513 | end | |
2514 | clientSided() | |
2515 | end | |
2516 | end | |
2517 | ||
2518 | Commands.uncfreeze = function(args) | |
2519 | if args[1] then | |
2520 | for i,v in pairs(findPlayer(args[1])) do | |
2521 | v.Character.HumanoidRootPart.Anchored = false | |
2522 | end | |
2523 | else | |
2524 | for i,all in pairs(gsPlayers:GetPlayers()) do | |
2525 | all.Character.HumanoidRootPart.Anchored = false | |
2526 | end | |
2527 | end | |
2528 | end | |
2529 | ||
2530 | Commands.unattach = function(args) | |
2531 | local function getout(player,player2) | |
2532 | local char1,char2=player.Character,player2.Character | |
2533 | if char1 and char2 then | |
2534 | char1:MoveTo(char2.Head.Position) | |
2535 | end | |
2536 | end | |
2537 | getout(LP, LP) | |
2538 | end | |
2539 | ||
2540 | currentToolSize = "" | |
2541 | Commands.reach = function(args) | |
2542 | if args[1] then | |
2543 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2544 | if v:IsA("Tool") then | |
2545 | if string.lower(tostring(args[1])) == "off" then | |
2546 | v.Handle.Size = currentToolSize | |
2547 | v.Handle.SelectionBoxCreated:Destroy() | |
2548 | LP.Character.Humanoid:UnequipTools() | |
2549 | elseif string.lower(tostring(args[1])) == "on" then | |
2550 | if args[2] then | |
2551 | currentToolSize = v.Handle.Size | |
2552 | local a = Instance.new("SelectionBox",v.Handle) | |
2553 | a.Name = "SelectionBoxCreated" | |
2554 | a.Adornee = v.Handle | |
2555 | v.Handle.Size = Vector3.new(0.5,0.5,args[2]) | |
2556 | v.GripPos = Vector3.new(0,0,0) | |
2557 | LP.Character.Humanoid:UnequipTools() | |
2558 | else | |
2559 | currentToolSize = v.Handle.Size | |
2560 | local a = Instance.new("SelectionBox",v.Handle) | |
2561 | a.Name = "SelectionBoxCreated" | |
2562 | a.Adornee = v.Handle | |
2563 | v.Handle.Size = Vector3.new(0.5,0.5,60) | |
2564 | v.GripPos = Vector3.new(0,0,0) | |
2565 | LP.Character.Humanoid:UnequipTools() | |
2566 | end | |
2567 | end | |
2568 | end | |
2569 | end | |
2570 | end | |
2571 | end | |
2572 | ||
2573 | Commands.droptool = function(args) | |
2574 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2575 | if v:IsA("Tool") then | |
2576 | v.Parent = gsWorkspace | |
2577 | end | |
2578 | end | |
2579 | for i,a in pairs(LP.Backpack:GetDescendants()) do | |
2580 | if a:IsA("Tool") then | |
2581 | a.Parent = gsWorkspace | |
2582 | end | |
2583 | end | |
2584 | end | |
2585 | ||
2586 | Commands.drophats = function(args) | |
2587 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2588 | if v:IsA("Accessory") or v:IsA("Hat") then | |
2589 | v.Parent = gsWorkspace | |
2590 | end | |
2591 | end | |
2592 | end | |
2593 | ||
2594 | Commands.hidecmdbar = function(args) | |
2595 | CMDBAR.Visible = false | |
2596 | end | |
2597 | ||
2598 | Commands.showcmdbar = function(args) | |
2599 | CMDBAR.Visible = true | |
2600 | end | |
2601 | ||
2602 | Commands.prefix = function(args) | |
2603 | if args[1] then | |
2604 | commandPrefix = string.sub(tostring(args[1]), 1, 1) | |
2605 | fullUpdate() | |
2606 | end | |
2607 | end | |
2608 | ||
2609 | Commands.removeinvis = function(args) | |
2610 | for i,v in pairs(gsWorkspace:GetDescendants()) do | |
2611 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then | |
2612 | if v.Transparency == 1 then | |
2613 | v:Destroy() | |
2614 | end | |
2615 | end | |
2616 | end | |
2617 | clientSided() | |
2618 | end | |
2619 | ||
2620 | Commands.removefog = function(args) | |
2621 | gsLighting.FogStart = 0 | |
2622 | gsLighting.FogEnd = 9999999999999 | |
2623 | clientSided() | |
2624 | end | |
2625 | ||
2626 | Commands.animation = function(args) | |
2627 | if args[1] then | |
2628 | if string.lower(tostring(args[1])) == "gui" then | |
2629 | loadstring(game:HttpGet(("https://pastebin.com/raw/mdbTSP4d"),true))() | |
2630 | else | |
2631 | local Anim = Instance.new("Animation") | |
2632 | Anim.AnimationId = "rbxassetid://".. tostring(args[1]) | |
2633 | local track = LP.Character.Humanoid:LoadAnimation(Anim) | |
2634 | if args[2] then | |
2635 | track:Play(.1, 1, args[2]) | |
2636 | else | |
2637 | track:Play(.1, 1, 1) | |
2638 | end | |
2639 | end | |
2640 | end | |
2641 | end | |
2642 | ||
2643 | Commands.btools = function(args) | |
2644 | local Clone_T = Instance.new("HopperBin",LP.Backpack) | |
2645 | Clone_T.BinType = "Clone" | |
2646 | local Destruct = Instance.new("HopperBin",LP.Backpack) | |
2647 | Destruct.BinType = "Hammer" | |
2648 | local Hold_T = Instance.new("HopperBin",LP.Backpack) | |
2649 | Hold_T.BinType = "Grab" | |
2650 | clientSided() | |
2651 | end | |
2652 | ||
2653 | Commands.esp = function(args) | |
2654 | if args[1] then | |
2655 | for i,v in pairs(findPlayer(args[1])) do | |
2656 | local espPlayer = v | |
2657 | for i,createESP in pairs(espPlayer.Character:GetDescendants()) do | |
2658 | if createESP:IsA("Part") or createESP:IsA("MeshPart") then | |
2659 | if createESP.Name ~= "HumanoidRootPart" and createESP.Name ~= "Handle" then | |
2660 | local current = true | |
2661 | local espBOX = Instance.new("BoxHandleAdornment") | |
2662 | espBOX.Parent = gsCoreGui | |
2663 | espBOX.Name = "rGET"..espPlayer.Name | |
2664 | espBOX.Adornee = createESP | |
2665 | espBOX.AlwaysOnTop = true | |
2666 | espBOX.ZIndex = 0 | |
2667 | espBOX.Size = createESP.Size | |
2668 | espBOX.Transparency = 0.3 | |
2669 | local AboveHead = Instance.new("BillboardGui") | |
2670 | AboveHead.Parent = gsCoreGui | |
2671 | AboveHead.Adornee = espPlayer.Character.Head | |
2672 | AboveHead.Name = "rGET"..espPlayer.Name | |
2673 | AboveHead.Size = UDim2.new(0, 100, 0, 100) | |
2674 | AboveHead.StudsOffset = Vector3.new(0, 1, 0) | |
2675 | AboveHead.AlwaysOnTop = true | |
2676 | local Info = Instance.new("TextLabel") | |
2677 | Info.Parent = AboveHead | |
2678 | Info.BackgroundTransparency = 1 | |
2679 | Info.Position = UDim2.new(0, 0, 0, 0) | |
2680 | Info.Size = UDim2.new(1, 0, 0, 40) | |
2681 | Info.TextColor3 = Color3.fromRGB(200,200,200) | |
2682 | Info.TextStrokeTransparency = 0.5 | |
2683 | Info.TextSize = 15 | |
2684 | if espPlayer.TeamColor == LP.TeamColor then | |
2685 | espBOX.Color = BrickColor.new("Lime green") | |
2686 | Info.TextStrokeColor3 = Color3.fromRGB(10,100,10) | |
2687 | else | |
2688 | espBOX.Color = BrickColor.new("Really red") | |
2689 | Info.TextStrokeColor3 = Color3.fromRGB(100,10,10) | |
2690 | end | |
2691 | game:GetService('RunService').Stepped:connect(function() | |
2692 | if current and LP.Character.Humanoid and espPlayer.Character.HumanoidRootPart then | |
2693 | Info.Text = espPlayer.Name.." (".. math.floor((LP.Character.HumanoidRootPart.Position - espPlayer.Character.HumanoidRootPart.Position).magnitude)..")" | |
2694 | end | |
2695 | end) | |
2696 | espPlayer.Character.Humanoid.Died:Connect(function() | |
2697 | current = false | |
2698 | espBOX:Destroy() | |
2699 | AboveHead:Destroy() | |
2700 | end) | |
2701 | gsPlayers.PlayerRemoving:Connect(function(plr) | |
2702 | if plr == espPlayer then | |
2703 | current = false | |
2704 | espBOX:Destroy() | |
2705 | AboveHead:Destroy() | |
2706 | end | |
2707 | end) | |
2708 | end | |
2709 | end | |
2710 | end | |
2711 | end | |
2712 | clientSided() | |
2713 | end | |
2714 | end | |
2715 | ||
2716 | Commands.unesp = function(args) | |
2717 | if not args[1] then | |
2718 | for i,v in pairs(gsCoreGui:GetDescendants()) do | |
2719 | if string.sub(v.Name, 1, 4) == "rGET" then | |
2720 | v:Destroy() | |
2721 | end | |
2722 | end | |
2723 | else | |
2724 | for i,v in pairs(gsCoreGui:GetDescendants()) do | |
2725 | if string.sub(v.Name, 1, 4) == "rGET" then | |
2726 | for i,a in pairs(findPlayer(args[1])) do | |
2727 | if string.sub(v.Name, 5) == a.Name then | |
2728 | v:Destroy() | |
2729 | end | |
2730 | end | |
2731 | end | |
2732 | end | |
2733 | end | |
2734 | end | |
2735 | ||
2736 | Commands.dice = function(args) | |
2737 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("You rolled a dice for ".. tostring(math.random(1, 6)), "All") | |
2738 | end | |
2739 | ||
2740 | Commands.random = function(args) | |
2741 | if args[1] and args[2] then | |
2742 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Picking random number between "..args[1].." and "..args[2].."... The number is ".. tostring(math.random(args[1], args[2])), "All") | |
2743 | end | |
2744 | end | |
2745 | ||
2746 | Commands.closegame = function(args) | |
2747 | game:Shutdown() | |
2748 | end | |
2749 | ||
2750 | Commands.savetool = function(args) | |
2751 | if args[1] then | |
2752 | for i,a in pairs(LP.Character:GetDescendants()) do | |
2753 | if a:IsA("Tool") and string.lower(a.Name) == string.lower(tostring(args[1])) then | |
2754 | a.Parent = LP | |
2755 | local oldName = a.Name | |
2756 | a.Name = "saved "..oldName | |
2757 | else | |
2758 | for i,n in pairs(LP.Backpack:GetDescendants()) do | |
2759 | if n:IsA("Tool") and string.lower(n.Name) == string.lower(tostring(args[1])) then | |
2760 | n.Parent = LP | |
2761 | local sOldName = n.Name | |
2762 | n.Name = "saved "..sOldName | |
2763 | end | |
2764 | end | |
2765 | end | |
2766 | end | |
2767 | else | |
2768 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2769 | if v:IsA("Tool") then | |
2770 | v.Parent = LP | |
2771 | local oldName = v.Name | |
2772 | v.Name = "saved "..oldName | |
2773 | end | |
2774 | end | |
2775 | end | |
2776 | end | |
2777 | ||
2778 | Commands.loadtool = function(args) | |
2779 | if args[1] then | |
2780 | for i,a in pairs(LP:GetChildren()) do | |
2781 | if a:IsA("Tool") and string.sub(a.Name, 1, 5) == "saved" and string.lower(string.sub(a.Name, 7)) == string.lower(tostring(args[1])) then | |
2782 | a.Parent = LP.Backpack | |
2783 | local currentName = a.Name | |
2784 | a.Name = string.sub(currentName, 7) | |
2785 | end | |
2786 | end | |
2787 | else | |
2788 | for i,v in pairs(LP:GetChildren()) do | |
2789 | if string.sub(v.Name, 1, 5) == "saved" then | |
2790 | v.Parent = LP.Backpack | |
2791 | local currentName = v.Name | |
2792 | v.Name = string.sub(currentName, 7) | |
2793 | end | |
2794 | end | |
2795 | end | |
2796 | end | |
2797 | ||
2798 | Commands.savealltool = function(args) | |
2799 | for i,v in pairs(LP.Character:GetDescendants()) do | |
2800 | if v:IsA("Tool") then | |
2801 | v.Parent = LP | |
2802 | local oldName = v.Name | |
2803 | v.Name = "saved "..oldName | |
2804 | end | |
2805 | end | |
2806 | for i,v in pairs(LP.Backpack:GetDescendants()) do | |
2807 | if v:IsA("Tool") then | |
2808 | v.Parent = LP | |
2809 | local oldName = v.Name | |
2810 | v.Name = "saved "..oldName | |
2811 | end | |
2812 | end | |
2813 | end | |
2814 | ||
2815 | Commands.loadalltool = function(args) | |
2816 | for i,v in pairs(LP:GetChildren()) do | |
2817 | if v:IsA("Tool") and string.sub(v.Name, 1, 5) == "saved" then | |
2818 | v.Parent = LP.Backpack | |
2819 | local currentName = v.Name | |
2820 | v.Name = string.sub(currentName, 7) | |
2821 | end | |
2822 | end | |
2823 | end | |
2824 | ||
2825 | Mouse.KeyDown:Connect(function(key) | |
2826 | if key == clicktpKEY and clicktpACTIVE == true then | |
2827 | if Mouse.Target then | |
2828 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z) | |
2829 | end | |
2830 | end | |
2831 | if key == clickdelKEY and clickdelACTIVE == true then | |
2832 | if Mouse.Target then | |
2833 | Mouse.Target:Destroy() | |
2834 | end | |
2835 | end | |
2836 | end) | |
2837 | Mouse.Button1Down:Connect(function() | |
2838 | if clicktpACTIVE == true and clicktpCLICK == true then | |
2839 | if Mouse.Target then | |
2840 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z) | |
2841 | end | |
2842 | end | |
2843 | if clickdelACTIVE == true and clickdelCLICK == true then | |
2844 | if Mouse.Target then | |
2845 | Mouse.Target:Destroy() | |
2846 | end | |
2847 | end | |
2848 | end) | |
2849 | ||
2850 | clicktpKEY = "" | |
2851 | clickdelKEY = "" | |
2852 | clicktpACTIVE = false | |
2853 | clickdelACTIVE = false | |
2854 | clicktpCLICK = false | |
2855 | clickdelCLICK = false | |
2856 | ||
2857 | Commands.clicktp = function(args) | |
2858 | if args[1] then | |
2859 | clicktpKEY = string.sub(tostring(args[1]), 1, 1) | |
2860 | clicktpACTIVE = true | |
2861 | clicktpCLICK = false | |
2862 | else | |
2863 | clicktpKEY = "" | |
2864 | clicktpACTIVE = true | |
2865 | clicktpCLICK = true | |
2866 | end | |
2867 | clientSided() | |
2868 | end | |
2869 | ||
2870 | Commands.clickdel = function(args) | |
2871 | if args[1] then | |
2872 | clickdelKEY = string.sub(tostring(args[1]), 1, 1) | |
2873 | clickdelACTIVE = true | |
2874 | clickdelCLICK = false | |
2875 | else | |
2876 | clickdelKEY = "" | |
2877 | clickdelACTIVE = true | |
2878 | clickdelCLICK = true | |
2879 | end | |
2880 | clientSided() | |
2881 | end | |
2882 | ||
2883 | Commands.unclicktp = function(args) | |
2884 | clicktpACTIVE = false | |
2885 | end | |
2886 | ||
2887 | Commands.unclickdel = function(args) | |
2888 | clickdelACTIVE = false | |
2889 | end | |
2890 | ||
2891 | Commands.oof = function(args) | |
2892 | spawn(function() | |
2893 | while wait() do | |
2894 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
2895 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
2896 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
2897 | if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true) end | |
2898 | end | |
2899 | end | |
2900 | end | |
2901 | end | |
2902 | end) | |
2903 | end | |
2904 | ||
2905 | Commands.chatlogs = function(args) | |
2906 | MainChatFrame.Position = UDim2.new(0, 760, 0, 261) | |
2907 | MainChatFrame.Visible = true | |
2908 | end | |
2909 | ||
2910 | Commands.stopadmin = function(args) | |
2911 | commandPrefix = " " | |
2912 | following = false | |
2913 | trailing = false | |
2914 | annoying = false | |
2915 | CMDBAR.Visible = false | |
2916 | Match.Visible = false | |
2917 | flying = false | |
2918 | end | |
2919 | ||
2920 | Commands.freecam = function(args) | |
2921 | for i,getFC in pairs(gsWorkspace:GetDescendants()) do | |
2922 | if getFC.Name == "rGETpartNUMBER2" then | |
2923 | getFC:Destroy() | |
2924 | end | |
2925 | end | |
2926 | local CameraPart = Instance.new("Part") | |
2927 | CameraPart.CanCollide = false | |
2928 | CameraPart.CFrame = LP.Character.Head.CFrame | |
2929 | CameraPart.Locked = true | |
2930 | CameraPart.Transparency = 1 | |
2931 | CameraPart.Size = Vector3.new(1, 1, 1) | |
2932 | CameraPart.Parent = gsWorkspace | |
2933 | CameraPart.Name = "rGETpartNUMBER2" | |
2934 | if bypassMODE == true then | |
2935 | loopviewfc = true | |
2936 | elseif bypassMODE == false then | |
2937 | gsWorkspace.CurrentCamera.CameraSubject = CameraPart | |
2938 | end | |
2939 | local speedget = 1 | |
2940 | local T = CameraPart | |
2941 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2942 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2943 | local SPEED = speedget | |
2944 | if args[1] then | |
2945 | speedfly = tonumber(args[1]) | |
2946 | else | |
2947 | speedfly = 1 | |
2948 | end | |
2949 | local function freecamfly() | |
2950 | LP.Character.Head.Anchored = true | |
2951 | doFREECAM = true | |
2952 | local BG = Instance.new('BodyGyro', T) | |
2953 | local BV = Instance.new('BodyVelocity', T) | |
2954 | BG.P = 9e4 | |
2955 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
2956 | BG.cframe = T.CFrame | |
2957 | BV.velocity = Vector3.new(0, 0.1, 0) | |
2958 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
2959 | spawn(function() | |
2960 | repeat wait() | |
2961 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
2962 | SPEED = 50 | |
2963 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
2964 | SPEED = 0 | |
2965 | end | |
2966 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
2967 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
2968 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
2969 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
2970 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
2971 | else | |
2972 | BV.velocity = Vector3.new(0, 0.1, 0) | |
2973 | end | |
2974 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
2975 | until not doFREECAM | |
2976 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2977 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2978 | SPEED = 0 | |
2979 | BG:destroy() | |
2980 | BV:destroy() | |
2981 | end) | |
2982 | end | |
2983 | Mouse.KeyDown:connect(function(KEY) | |
2984 | if KEY:lower() == 'w' then | |
2985 | CONTROL.F = speedfly | |
2986 | elseif KEY:lower() == 's' then | |
2987 | CONTROL.B = -speedfly | |
2988 | elseif KEY:lower() == 'a' then | |
2989 | CONTROL.L = -speedfly | |
2990 | elseif KEY:lower() == 'd' then | |
2991 | CONTROL.R = speedfly | |
2992 | end | |
2993 | end) | |
2994 | Mouse.KeyUp:connect(function(KEY) | |
2995 | if KEY:lower() == 'w' then | |
2996 | CONTROL.F = 0 | |
2997 | elseif KEY:lower() == 's' then | |
2998 | CONTROL.B = 0 | |
2999 | elseif KEY:lower() == 'a' then | |
3000 | CONTROL.L = 0 | |
3001 | elseif KEY:lower() == 'd' then | |
3002 | CONTROL.R = 0 | |
3003 | end | |
3004 | end) | |
3005 | freecamfly() | |
3006 | end | |
3007 | ||
3008 | Commands.fc = function(args) | |
3009 | if args[1] then | |
3010 | run(commandPrefix.."freecam "..args[1]) | |
3011 | else | |
3012 | run(commandPrefix.."freecam") | |
3013 | end | |
3014 | end | |
3015 | ||
3016 | Commands.unfreecam = function(args) | |
3017 | doFREECAM = false | |
3018 | LP.Character.Head.Anchored = false | |
3019 | view(LP) | |
3020 | if gsWorkspace.rGETpartNUMBER2 then | |
3021 | gsWorkspace.rGETpartNUMBER2:Destroy() | |
3022 | end | |
3023 | loopviewfc = false | |
3024 | end | |
3025 | ||
3026 | Commands.unfc = function(args) | |
3027 | doFREECAM = false | |
3028 | LP.Character.Head.Anchored = false | |
3029 | view(LP) | |
3030 | if gsWorkspace.rGETpartNUMBER2 then | |
3031 | gsWorkspace.rGETpartNUMBER2:Destroy() | |
3032 | end | |
3033 | loopviewfc = false | |
3034 | end | |
3035 | ||
3036 | Commands.gotofc = function(args) | |
3037 | doFREECAM = false | |
3038 | LP.Character.Head.Anchored = false | |
3039 | view(LP) | |
3040 | pcall(function() | |
3041 | LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame | |
3042 | gsWorkspace.rGETpartNUMBER2:Destroy() | |
3043 | end) | |
3044 | loopviewfc = false | |
3045 | end | |
3046 | ||
3047 | Commands.fctp = function(args) | |
3048 | if args[1] then | |
3049 | for i,v in pairs(findPlayer(args[1])) do | |
3050 | pcall(function() | |
3051 | gsWorkspace.rGETpartNUMBER2.CFrame = v.Character.Head.CFrame | |
3052 | end) | |
3053 | end | |
3054 | end | |
3055 | end | |
3056 | ||
3057 | Commands.cmds = function(args) | |
3058 | CMDSmain.Position = UDim2.new(0, 695, 0, 297) | |
3059 | CMDSmain.Visible = true | |
3060 | CMDSmain:TweenSize(UDim2.new(0, 440, 0, 367), "InOut", "Sine", 1) | |
3061 | end | |
3062 | ||
3063 | Commands.fullcredits = function(args) | |
3064 | Notification("info", "Credit to Autumn, Josh and 3dsboy08 (Help with "..commandPrefix.."remotespy and anti client kick)", 1) | |
3065 | Notification("info", "Credit to Infinite Yield developers (Assisted in "..commandPrefix.."esp and "..commandPrefix.."fly commands)", 1) | |
3066 | Notification("info", "Credit to Timeless ("..commandPrefix.."invisible) and Harkinian ("..commandPrefix.."shutdown)", 1) | |
3067 | Notification("info", "Credit to DEX creators ("..commandPrefix.."explorer) and xFunnieuss ("..commandPrefix.."spinhats)", 1) | |
3068 | Notification("info", "Only creator is illremember", 2) | |
3069 | end | |
3070 | ||
3071 | Commands.hotkey = function(args) | |
3072 | if args[1] then | |
3073 | local hotkeyKEY = string.sub(tostring(args[1]), 1, 3) | |
3074 | if args[2] then | |
3075 | table.remove(args, 1) | |
3076 | local hotkeyCMD = table.concat(args, " ") | |
3077 | table.insert(hotkeys, hotkeyCMD.."//"..hotkeyKEY) | |
3078 | fullUpdate() | |
3079 | Notification("info", "Hotkey added!", 1) | |
3080 | end | |
3081 | end | |
3082 | end | |
3083 | ||
3084 | Mouse.KeyDown:Connect(function(key) | |
3085 | for i,v in pairs(hotkeys) do | |
3086 | local currentKey = string.match(v, "[%a%d]+$") | |
3087 | if string.len(currentKey) == 1 then | |
3088 | if key == string.sub(v, #v, #v) then | |
3089 | local commandtoRUN = string.match(v, "^[%w%s]+") | |
3090 | if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then | |
3091 | if bypassMODE == true then | |
3092 | if doFREECAM == false then | |
3093 | run(commandPrefix..tostring(commandtoRUN)) | |
3094 | else | |
3095 | run(commandPrefix.."unfly") | |
3096 | end | |
3097 | else | |
3098 | if flying == false then | |
3099 | run(commandPrefix..tostring(commandtoRUN)) | |
3100 | else | |
3101 | run(commandPrefix.."unfly") | |
3102 | end | |
3103 | end | |
3104 | elseif tostring(commandtoRUN) == "noclip" then | |
3105 | if noclip == false then | |
3106 | run(commandPrefix..tostring(commandtoRUN)) | |
3107 | else | |
3108 | run(commandPrefix.."clip") | |
3109 | end | |
3110 | elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then | |
3111 | if doFREECAM == false then | |
3112 | run(commandPrefix..tostring(commandtoRUN)) | |
3113 | else | |
3114 | if fchotkeymode == "goto" then | |
3115 | run(commandPrefix.."gotofc") | |
3116 | elseif fchotkeymode == "unfc" then | |
3117 | run(commandPrefix.."unfreecam") | |
3118 | end | |
3119 | end | |
3120 | else | |
3121 | run(commandPrefix..tostring(commandtoRUN)) | |
3122 | end | |
3123 | end | |
3124 | else | |
3125 | if string.lower(string.sub(tostring(currentKey), 1, 1)) == "f" then | |
3126 | local commandtoRUN = string.match(v, "^[%w%s]+") | |
3127 | local hotkeyadjust = tonumber(string.sub(currentKey, 2, 3)) + 25 | |
3128 | if string.byte(key) == hotkeyadjust then | |
3129 | if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then | |
3130 | if bypassMODE == true then | |
3131 | if doFREECAM == false then | |
3132 | run(commandPrefix..tostring(commandtoRUN)) | |
3133 | else | |
3134 | run(commandPrefix.."unfly") | |
3135 | end | |
3136 | else | |
3137 | if flying == false then | |
3138 | run(commandPrefix..tostring(commandtoRUN)) | |
3139 | else | |
3140 | run(commandPrefix.."unfly") | |
3141 | end | |
3142 | end | |
3143 | elseif tostring(commandtoRUN) == "noclip" then | |
3144 | if noclip == false then | |
3145 | run(commandPrefix..tostring(commandtoRUN)) | |
3146 | else | |
3147 | run(commandPrefix.."clip") | |
3148 | end | |
3149 | elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then | |
3150 | if doFREECAM == false then | |
3151 | run(commandPrefix..tostring(commandtoRUN)) | |
3152 | else | |
3153 | if fchotkeymode == "goto" then | |
3154 | run(commandPrefix.."gotofc") | |
3155 | elseif fchotkeymode == "unfc" then | |
3156 | run(commandPrefix.."unfreecam") | |
3157 | end | |
3158 | end | |
3159 | else | |
3160 | run(commandPrefix..tostring(commandtoRUN)) | |
3161 | end | |
3162 | end | |
3163 | end | |
3164 | end | |
3165 | end | |
3166 | end) | |
3167 | ||
3168 | Commands.removeallhotkey = function(args) | |
3169 | hotkeys = {} | |
3170 | fullUpdate() | |
3171 | Notification("warning", "All hotkeys reset/removed", 6) | |
3172 | end | |
3173 | ||
3174 | Commands.removehotkey = function(args) | |
3175 | if args[1] then | |
3176 | for i,v in pairs(hotkeys) do | |
3177 | local currentKey = string.match(v, "[%a%d]+$") | |
3178 | if currentKey == string.lower(tostring(args[1])) then | |
3179 | table.remove(hotkeys, i) | |
3180 | fullUpdate() | |
3181 | end | |
3182 | end | |
3183 | end | |
3184 | end | |
3185 | ||
3186 | Commands.printhotkeys = function(args) | |
3187 | for i,v in pairs(hotkeys) do | |
3188 | warn("HOTKEYS:") | |
3189 | print(v) | |
3190 | end | |
3191 | end | |
3192 | ||
3193 | Commands.os = function(args) | |
3194 | if args[1] then | |
3195 | for i,v in pairs(findPlayer(args[1])) do | |
3196 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." is on "..v.OsPlatform, "All") | |
3197 | end | |
3198 | end | |
3199 | end | |
3200 | ||
3201 | spinning = false | |
3202 | Commands.spin = function(args) | |
3203 | if args[1] then | |
3204 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3205 | run(commandPrefix.."attach "..v.Name) | |
3206 | annplr = v | |
3207 | annoying = true | |
3208 | spinning = true | |
3209 | end | |
3210 | end | |
3211 | end | |
3212 | ||
3213 | Commands.unspin = function(args) | |
3214 | if spinning then | |
3215 | annoying = false | |
3216 | spinning = false | |
3217 | end | |
3218 | run(""..commandPrefix.."unattach") | |
3219 | end | |
3220 | ||
3221 | Commands.explorer = function(args) | |
3222 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)() | |
3223 | Notification("info", "Loaded DEX explorer!", 5) | |
3224 | end | |
3225 | ||
3226 | Commands.maxzoom = function(args) | |
3227 | if args[1] then | |
3228 | LP.CameraMaxZoomDistance = args[1] | |
3229 | end | |
3230 | end | |
3231 | ||
3232 | Commands.stare = function(args) | |
3233 | if args[1] then | |
3234 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3235 | stareplr = v | |
3236 | staring = true | |
3237 | end | |
3238 | end | |
3239 | end | |
3240 | ||
3241 | Commands.unstare = function(args) | |
3242 | staring = false | |
3243 | end | |
3244 | ||
3245 | Commands.tempgod = function(args) | |
3246 | local hu = LP.Character.Humanoid | |
3247 | local l = Instance.new("Humanoid") | |
3248 | l.Parent = LP.Character | |
3249 | l.Name = "Humanoid" | |
3250 | wait(0.1) | |
3251 | hu.Parent = LP | |
3252 | gsWorkspace.CurrentCamera.CameraSubject = LP.Character | |
3253 | LP.Character.Animate.Disabled = true | |
3254 | wait(0.1) | |
3255 | LP.Character.Animate.Disabled = false | |
3256 | Notification("info", "Enabled Temp FE Godmode", 4) | |
3257 | end | |
3258 | ||
3259 | Commands.void = function(args) | |
3260 | if hasTools() == false then | |
3261 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
3262 | else | |
3263 | FEGodmode() | |
3264 | for i,v in pairs(LP.Backpack:GetChildren())do | |
3265 | LP.Character.Humanoid:EquipTool(v) | |
3266 | end | |
3267 | if args[1] then | |
3268 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3269 | local NOW = LP.Character.HumanoidRootPart.CFrame | |
3270 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
3271 | wait(0.3) | |
3272 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
3273 | local function tp(player,player2) | |
3274 | local char1,char2=player.Character,player2.Character | |
3275 | if char1 and char2 then | |
3276 | char1:MoveTo(char2.Head.Position) | |
3277 | end | |
3278 | end | |
3279 | wait(0.5) | |
3280 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(999999999999999,0,999999999999999)) | |
3281 | end | |
3282 | end | |
3283 | end | |
3284 | end | |
3285 | ||
3286 | Commands.freefall = function(args) | |
3287 | if hasTools() == false then | |
3288 | Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8) | |
3289 | else | |
3290 | FEGodmode() | |
3291 | for i,v in pairs(LP.Backpack:GetChildren())do | |
3292 | LP.Character.Humanoid:EquipTool(v) | |
3293 | end | |
3294 | if args[1] then | |
3295 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3296 | local NOW = LP.Character.HumanoidRootPart.CFrame | |
3297 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
3298 | wait(0.3) | |
3299 | LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame | |
3300 | wait(0.5) | |
3301 | LP.Character.HumanoidRootPart.CFrame = NOW | |
3302 | wait(0.5) | |
3303 | LP.Character.HumanoidRootPart.CFrame = NOW | |
3304 | wait(0.6) | |
3305 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0) | |
3306 | end | |
3307 | end | |
3308 | end | |
3309 | end | |
3310 | ||
3311 | Commands.version = function(args) | |
3312 | Notification("info", "Current Shattervast Version: V2.8", 7) | |
3313 | end | |
3314 | ||
3315 | Commands.shiftlockon = function(args) | |
3316 | LP.DevEnableMouseLock = true | |
3317 | Notification("info", "Shift lock enabled!", 5) | |
3318 | end | |
3319 | ||
3320 | for i,needChat in pairs(gsPlayers:GetPlayers()) do | |
3321 | needChat.Chatted:Connect(function(msg) | |
3322 | if copychatall then | |
3323 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All") | |
3324 | end | |
3325 | end) | |
3326 | end | |
3327 | gsPlayers.PlayerAdded:Connect(function(plr) | |
3328 | plr.Chatted:Connect(function(msg) | |
3329 | if copychatall then | |
3330 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All") | |
3331 | end | |
3332 | end) | |
3333 | end) | |
3334 | ||
3335 | copychatplayer = nil | |
3336 | copychatall = false | |
3337 | copychatACTIVE = false | |
3338 | Commands.copychat = function(args) | |
3339 | if args[1] then | |
3340 | if string.lower(args[1]) == "all" or string.lower(args[1]) == "others" then | |
3341 | copychatall = true | |
3342 | else | |
3343 | for i,v in pairs(findPlayer(args[1])) do | |
3344 | if v ~= LP then | |
3345 | copychatplayer = v | |
3346 | copychatACTIVE = true | |
3347 | end | |
3348 | end | |
3349 | end | |
3350 | end | |
3351 | end | |
3352 | ||
3353 | Commands.uncopychat = function(args) | |
3354 | copychatall = false | |
3355 | copychatACTIVE = false | |
3356 | end | |
3357 | ||
3358 | Commands.newkill = function(args) | |
3359 | if hasTools() == false then | |
3360 | Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8) | |
3361 | else | |
3362 | if args[1] then | |
3363 | for i,plr in pairs(findSinglePlayer(args[1])) do | |
3364 | for i,v in pairs(LP.Backpack:GetChildren())do | |
3365 | LP.Character.Humanoid:EquipTool(v) | |
3366 | end | |
3367 | for i,v in pairs(LP.Backpack:GetDescendants()) do | |
3368 | if v:IsA("Tool") then | |
3369 | v.Parent = LP.Character | |
3370 | wait() | |
3371 | v.Parent = plr.Character | |
3372 | end | |
3373 | end | |
3374 | wait(0.4) | |
3375 | LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(4000000, -10, 200000)) | |
3376 | end | |
3377 | end | |
3378 | end | |
3379 | end | |
3380 | ||
3381 | Commands.newattach = function(args) | |
3382 | if hasTools() == false then | |
3383 | Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8) | |
3384 | else | |
3385 | if args[1] then | |
3386 | for i,plr in pairs(findSinglePlayer(args[1])) do | |
3387 | for i,v in pairs(LP.Backpack:GetChildren())do | |
3388 | LP.Character.Humanoid:EquipTool(v) | |
3389 | end | |
3390 | for i,v in pairs(LP.Backpack:GetDescendants()) do | |
3391 | if v:IsA("Tool") then | |
3392 | v.Parent = LP.Character | |
3393 | wait() | |
3394 | v.Parent = plr.Character | |
3395 | end | |
3396 | end | |
3397 | end | |
3398 | end | |
3399 | end | |
3400 | end | |
3401 | ||
3402 | Commands.newbring = function(args) | |
3403 | if hasTools() == false then | |
3404 | Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8) | |
3405 | else | |
3406 | if args[1] then | |
3407 | for i,plr in pairs(findSinglePlayer(args[1])) do | |
3408 | local NOW = LP.Character.HumanoidRootPart.CFrame | |
3409 | for i,v in pairs(LP.Backpack:GetChildren())do | |
3410 | LP.Character.Humanoid:EquipTool(v) | |
3411 | end | |
3412 | for i,v in pairs(LP.Backpack:GetDescendants()) do | |
3413 | if v:IsA("Tool") then | |
3414 | v.Parent = LP.Character | |
3415 | wait() | |
3416 | v.Parent = plr.Character | |
3417 | end | |
3418 | end | |
3419 | wait(0.4) | |
3420 | LP.Character.HumanoidRootPart.CFrame = NOW | |
3421 | wait(0.4) | |
3422 | LP.Character.HumanoidRootPart.CFrame = NOW | |
3423 | end | |
3424 | end | |
3425 | end | |
3426 | end | |
3427 | ||
3428 | Commands.spawn = function(args) | |
3429 | if args[1] then | |
3430 | if string.lower(tostring(args[1])) == "ws" then | |
3431 | spawnWS = args[2] or CurrentWalkspeed | |
3432 | LP.Character.Humanoid.WalkSpeed = args[2] or CurrentWalkspeed | |
3433 | elseif string.lower(tostring(args[1])) == "jp" then | |
3434 | spawnJP = args[2] or CurrentJumppower | |
3435 | LP.Character.Humanoid.JumpPower = args[2] or CurrentJumppower | |
3436 | elseif string.lower(tostring(args[1])) == "hh" then | |
3437 | spawnHH = args[2] or CurrentHipheight | |
3438 | LP.Character.Humanoid.HipHeight = args[2] or CurrentHipheight | |
3439 | elseif string.lower(tostring(args[1])) == "god" then | |
3440 | spawningfegod = true | |
3441 | FEGodmode() | |
3442 | end | |
3443 | end | |
3444 | end | |
3445 | ||
3446 | Commands.unspawn = function(args) | |
3447 | spawnWS = CurrentWalkspeed | |
3448 | spawnJP = CurrentJumppower | |
3449 | spawnHH = CurrentHipheight | |
3450 | spawningfegod = false | |
3451 | Notification("info", "Reset spawning stats", 5) | |
3452 | end | |
3453 | ||
3454 | savingtoolsloop = false | |
3455 | Commands.autosavetool = function(args) | |
3456 | if args[1] then | |
3457 | if string.lower(tostring(args[1])) == "on" then | |
3458 | savingtoolsloop = true | |
3459 | elseif string.lower(tostring(args[1])) == "off" then | |
3460 | savingtoolsloop = false | |
3461 | end | |
3462 | end | |
3463 | end | |
3464 | ||
3465 | modeFling = false | |
3466 | modeCompliment = false | |
3467 | modeMove = false | |
3468 | modeInfo = false | |
3469 | Commands.beginbot = function(args) | |
3470 | if not args[1] then | |
3471 | print("fling // compliment // move // info") | |
3472 | Notification("info", ""..commandPrefix.."beginbot Modes printed", 5) | |
3473 | else | |
3474 | if string.lower(tostring(args[1])) == "fling" then | |
3475 | modeFling = true | |
3476 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hello! I am Fling-Bot 5000! Say !fling [Player] to fling that player!", "All") | |
3477 | elseif string.lower(tostring(args[1])) == "compliment" then | |
3478 | modeCompliment = true | |
3479 | complimentReady = true | |
3480 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Good day, I am Compliment-Bot. Say !c [Player] to give them a compliment.", "All") | |
3481 | elseif string.lower(tostring(args[1])) == "move" then | |
3482 | modeMove = true | |
3483 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hi, I am movement bot. Commands you can use: !walk [Player], !bringbot, !follow [Player].", "All") | |
3484 | elseif string.lower(tostring(args[1])) == "info" then | |
3485 | modeInfo = true | |
3486 | infoReady = true | |
3487 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hey, I'm Info-Bot. Commands you can use: !age [Player], !id [Player].", "All") | |
3488 | end | |
3489 | end | |
3490 | end | |
3491 | ||
3492 | Commands.endbot = function(args) | |
3493 | if not args[1] then | |
3494 | modeFling = false | |
3495 | modeCompliment = false | |
3496 | modeMove = false | |
3497 | modeInfo = false | |
3498 | else | |
3499 | if string.lower(tostring(args[1])) == "fling" then | |
3500 | modeFling = false | |
3501 | elseif string.lower(tostring(args[1])) == "compliment" then | |
3502 | modeCompliment = false | |
3503 | elseif string.lower(tostring(args[1])) == "move" then | |
3504 | modeMove = false | |
3505 | elseif string.lower(tostring(args[1])) == "info" then | |
3506 | modeInfo = false | |
3507 | end | |
3508 | end | |
3509 | end | |
3510 | ||
3511 | Commands.stopsit = function(args) | |
3512 | stopsitting = true | |
3513 | end | |
3514 | ||
3515 | Commands.gosit = function(args) | |
3516 | stopsitting = false | |
3517 | end | |
3518 | ||
3519 | chattingerror = true | |
3520 | Commands.chaterror = function(args) | |
3521 | if chattingerror then | |
3522 | chattingerror = false | |
3523 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All") | |
3524 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All") | |
3525 | wait(4) | |
3526 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All") | |
3527 | wait(3) | |
3528 | chattingerror = true | |
3529 | end | |
3530 | end | |
3531 | ||
3532 | spawnpos = nil | |
3533 | spawningpos = true | |
3534 | Commands.spawnpoint = function(args) | |
3535 | spawnpos = LP.Character.HumanoidRootPart.CFrame | |
3536 | spawningpos = true | |
3537 | Notification("info", "Spawn point has been set! Use "..commandPrefix.."nospawn to remove.", 6) | |
3538 | end | |
3539 | ||
3540 | Commands.nospawn = function(args) | |
3541 | spawningpos = false | |
3542 | Notification("info", "Spawn point has been removed. Use "..commandPrefix.."spawnpoint to enable.", 6) | |
3543 | end | |
3544 | ||
3545 | Commands.bypass = function(args) | |
3546 | if args[1] then | |
3547 | if string.lower(tostring(args[1])) == "on" then | |
3548 | bypassMODE = true | |
3549 | Notification("warning", "Bypass mode turned on, this changes functions of "..commandPrefix.."fly and other commands to bypass most anti-exploits.", 7) | |
3550 | elseif string.lower(tostring(args[1])) == "off" then | |
3551 | bypassMODE = false | |
3552 | Notification("warning", "Bypass mode has been turned off.", 7) | |
3553 | end | |
3554 | end | |
3555 | end | |
3556 | ||
3557 | Commands.fixcam = function(args) | |
3558 | gsWorkspace.CurrentCamera:Destroy() | |
3559 | wait(0.1) | |
3560 | game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character.Humanoid | |
3561 | game:GetService("Workspace").CurrentCamera.CameraType = "Custom" | |
3562 | LP.CameraMinZoomDistance = 0.5 | |
3563 | LP.CameraMaxZoomDistance = 400 | |
3564 | LP.CameraMode = "Classic" | |
3565 | LP.DevCameraOcclusionMode = CurrentNormal | |
3566 | end | |
3567 | ||
3568 | Commands.gotoobj = function(args) | |
3569 | if args[1] then | |
3570 | for i,v in pairs(gsWorkspace:GetDescendants()) do | |
3571 | if string.lower(v.Name) == string.lower(tostring(args[1])) then | |
3572 | LP.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0, 3, 0) | |
3573 | end | |
3574 | end | |
3575 | end | |
3576 | end | |
3577 | ||
3578 | Commands.breakcam = function(args) | |
3579 | gsWorkspace.CurrentCamera.CameraSubject = LP.Character.Head | |
3580 | end | |
3581 | ||
3582 | Commands.inviscam = function(args) | |
3583 | LP.DevCameraOcclusionMode = "Invisicam" | |
3584 | end | |
3585 | ||
3586 | printobjKEY = "" | |
3587 | printobjCLICKING = false | |
3588 | printobjACTIVE = false | |
3589 | ||
3590 | Commands.printobj = function(args) | |
3591 | if args[1] then | |
3592 | printobjKEY = string.sub(tostring(args[1]), 1, 1) | |
3593 | printobjACTIVE = true | |
3594 | printobjCLICKING = false | |
3595 | else | |
3596 | printobjKEY = "" | |
3597 | printobjACTIVE = true | |
3598 | printobjCLICKING = true | |
3599 | end | |
3600 | end | |
3601 | ||
3602 | Mouse.KeyDown:Connect(function(key) | |
3603 | if key == printobjKEY and printobjACTIVE == true then | |
3604 | if Mouse.Target then | |
3605 | local path = Mouse.Target:GetFullName() | |
3606 | local getPath = "game:GetService(\"Workspace\")" | |
3607 | local getSpaces = "" | |
3608 | local separate = {} | |
3609 | local a = nil | |
3610 | for v in string.gmatch(string.sub(path, 10), "[^.]+") do | |
3611 | if string.match(v, " ") then | |
3612 | a = "["..v.."]" | |
3613 | table.insert(separate, a) | |
3614 | else | |
3615 | a = "."..v | |
3616 | table.insert(separate, a) | |
3617 | end | |
3618 | getSpaces = table.concat(separate, "") | |
3619 | end | |
3620 | local fullPath = getPath..getSpaces | |
3621 | print(fullPath) | |
3622 | end | |
3623 | end | |
3624 | end) | |
3625 | Mouse.Button1Down:Connect(function() | |
3626 | if printobjCLICKING == true and printobjACTIVE == true then | |
3627 | if Mouse.Target then | |
3628 | local path = Mouse.Target:GetFullName() | |
3629 | local getPath = "game:GetService(\"Workspace\")" | |
3630 | local getSpaces = "" | |
3631 | local separate = {} | |
3632 | local a = nil | |
3633 | for v in string.gmatch(string.sub(path, 10), "[^.]+") do | |
3634 | if string.match(v, " ") then | |
3635 | a = "["..v.."]" | |
3636 | table.insert(separate, a) | |
3637 | else | |
3638 | a = "."..v | |
3639 | table.insert(separate, a) | |
3640 | end | |
3641 | getSpaces = table.concat(separate, "") | |
3642 | end | |
3643 | local fullPath = getPath..getSpaces | |
3644 | print(fullPath) | |
3645 | end | |
3646 | end | |
3647 | end) | |
3648 | ||
3649 | Commands.unprintobj = function(args) | |
3650 | printobjACTIVE = false | |
3651 | printobjCLICKING = false | |
3652 | end | |
3653 | ||
3654 | Commands.hotkeyfc = function(args) | |
3655 | if args[1] then | |
3656 | if string.lower(tostring(args[1])) == "goto" then | |
3657 | fchotkeymode = "goto" | |
3658 | elseif string.lower(tostring(args[1])) == "unfc" then | |
3659 | fchotkeymode = "unfc" | |
3660 | end | |
3661 | fullUpdate() | |
3662 | end | |
3663 | end | |
3664 | ||
3665 | Commands.carpet = function(args) | |
3666 | if args[1] then | |
3667 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3668 | if v ~= nil then | |
3669 | annoying = true | |
3670 | annplr = v | |
3671 | local carpetAnimation = Instance.new("Animation") | |
3672 | carpetAnimation.AnimationId = "rbxassetid://282574440" | |
3673 | carpetTrack = LP.Character.Humanoid:LoadAnimation(carpetAnimation) | |
3674 | carpetTrack:Play(.1, 1, 1) | |
3675 | end | |
3676 | end | |
3677 | end | |
3678 | end | |
3679 | ||
3680 | Commands.uncarpet = function(args) | |
3681 | annoying = false | |
3682 | carpetTrack:Stop() | |
3683 | end | |
3684 | ||
3685 | Commands.brickcreate = function(args) | |
3686 | if args[1] then | |
3687 | local createPosition = LP.Character.HumanoidRootPart.CFrame | |
3688 | if args[2] and args[3] and args[4] then | |
3689 | createPosition = CFrame.new(Vector3.new(args[2], args[3], args[4])) | |
3690 | else | |
3691 | createPosition = LP.Character.HumanoidRootPart.CFrame | |
3692 | end | |
3693 | for i = 1, args[1] do | |
3694 | LP.Character.HumanoidRootPart.CFrame = createPosition | |
3695 | run(commandPrefix.."blockhats") | |
3696 | wait(0.2) | |
3697 | run(commandPrefix.."drophats") | |
3698 | wait(0.2) | |
3699 | run(commandPrefix.."reset") | |
3700 | wait(6) | |
3701 | end | |
3702 | end | |
3703 | end | |
3704 | ||
3705 | Commands.forward = function(args) | |
3706 | if args[1] then | |
3707 | forwardSpeed = args[1] | |
3708 | else | |
3709 | forwardSpeed = 1 | |
3710 | end | |
3711 | cmdForward = true | |
3712 | end | |
3713 | ||
3714 | Commands.unforward = function(args) | |
3715 | cmdForward = false | |
3716 | end | |
3717 | ||
3718 | Commands.id = function(args) | |
3719 | if args[1] then | |
3720 | for i,v in pairs(findPlayer(args[1])) do | |
3721 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account ID: "..v.UserId.."!", "All") | |
3722 | end | |
3723 | end | |
3724 | end | |
3725 | ||
3726 | Commands.spinhats = function(args) -- Credit to xFunnieuss | |
3727 | for i,v in pairs(LP.Character:GetDescendants()) do | |
3728 | if v:IsA("Accessory") or v:IsA("Hat") then | |
3729 | local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no" | |
3730 | local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha" | |
3731 | if v.Handle.AccessoryWeld then | |
3732 | v.Handle.AccessoryWeld:Destroy() | |
3733 | end | |
3734 | if args[1] then | |
3735 | spin.AngularVelocity = Vector3.new(0, args[1], 0) | |
3736 | spin.MaxTorque = Vector3.new(0, args[1] * 2, 0) | |
3737 | else | |
3738 | spin.AngularVelocity = Vector3.new(0, 100, 0) | |
3739 | spin.MaxTorque = Vector3.new(0, 200, 0) | |
3740 | end | |
3741 | keep.P = 30000 | |
3742 | keep.D = 50 | |
3743 | spinObj = keep | |
3744 | spinTOhead = true | |
3745 | end | |
3746 | end | |
3747 | end | |
3748 | ||
3749 | Commands.unspinhats = function(args) | |
3750 | for i,v in pairs(LP.Character:GetDescendants()) do | |
3751 | if v:IsA("Accessory") or v:IsA("Hat") then | |
3752 | pcall(function() | |
3753 | run(commandPrefix.."drophats") | |
3754 | wait(2) | |
3755 | v.Handle.spin:Destroy() | |
3756 | v.Handle.keep:Destroy() | |
3757 | end) | |
3758 | end | |
3759 | end | |
3760 | end | |
3761 | ||
3762 | savedmap = {} | |
3763 | Commands.savemap = function(args) | |
3764 | for i,v in pairs(gsWorkspace:GetChildren()) do | |
3765 | v.Archivable = true | |
3766 | if not v:IsA("Terrain") and not v:IsA("Camera") then | |
3767 | if not gsPlayers:FindFirstChild(v.Name) then | |
3768 | table.insert(savedmap, v:Clone()) | |
3769 | end | |
3770 | end | |
3771 | end | |
3772 | clientSided() | |
3773 | end | |
3774 | ||
3775 | Commands.loadmap = function(args) | |
3776 | for i,v in pairs(gsWorkspace:GetChildren()) do | |
3777 | if not v:IsA("Terrain") and not v:IsA("Camera") then | |
3778 | if not gsPlayers:FindFirstChild(v.Name) then | |
3779 | pcall(function() | |
3780 | v:Destroy() | |
3781 | end) | |
3782 | end | |
3783 | end | |
3784 | end | |
3785 | for i,a in ipairs(savedmap) do | |
3786 | a:Clone().Parent = gsWorkspace | |
3787 | end | |
3788 | clientSided() | |
3789 | end | |
3790 | ||
3791 | Commands.creatorid = function(args) | |
3792 | LP.UserId = game.CreatorId | |
3793 | end | |
3794 | ||
3795 | Commands.gameid = function(args) | |
3796 | Notification("info", "Current game's ID = "..game.GameId, 8) | |
3797 | end | |
3798 | ||
3799 | Commands.delobj = function(args) | |
3800 | if args[1] then | |
3801 | for i,v in pairs(gsWorkspace:GetDescendants()) do | |
3802 | if string.lower(v.Name) == string.lower(tostring(args[1])) then | |
3803 | v:Destroy() | |
3804 | clientSided() | |
3805 | end | |
3806 | end | |
3807 | end | |
3808 | end | |
3809 | ||
3810 | Commands.glide = function(args) | |
3811 | if args[1] then | |
3812 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3813 | local goal = {} | |
3814 | goal.CFrame = v.Character.HumanoidRootPart.CFrame | |
3815 | local defaultSpeed = 3 | |
3816 | if args[2] then | |
3817 | if tonumber(args[2]) < 10 then | |
3818 | defaultSpeed = tonumber(args[2]) | |
3819 | else | |
3820 | defaultSpeed = 5 | |
3821 | end | |
3822 | else | |
3823 | defaultSpeed = 3 | |
3824 | end | |
3825 | local goalFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(defaultSpeed, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), goal) | |
3826 | goalFunction:Play() | |
3827 | end | |
3828 | end | |
3829 | end | |
3830 | ||
3831 | stutterON = false | |
3832 | Commands.stutter = function(args) | |
3833 | if args[1] then | |
3834 | if string.lower(tostring(args[1])) == "on" then | |
3835 | stutterON = true | |
3836 | elseif string.lower(tostring(args[1])) == "off" then | |
3837 | stutterON = false | |
3838 | wait(0.4) | |
3839 | LP.Character.HumanoidRootPart.Anchored = false | |
3840 | end | |
3841 | end | |
3842 | end | |
3843 | ||
3844 | spawn(function() | |
3845 | while wait(0.1) do | |
3846 | if stutterON == true then | |
3847 | LP.Character.HumanoidRootPart.Anchored = false | |
3848 | wait(0.1) | |
3849 | LP.Character.HumanoidRootPart.Anchored = true | |
3850 | end | |
3851 | end | |
3852 | end) | |
3853 | ||
3854 | Commands.platform = function(args) | |
3855 | local a = Instance.new("Part") | |
3856 | a.Parent = gsWorkspace | |
3857 | a.Size = Vector3.new(10, 1, 10) | |
3858 | a.Anchored = true | |
3859 | a.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0) | |
3860 | LP.Character.HumanoidRootPart.CFrame = a.CFrame + Vector3.new(0, 2, 0) | |
3861 | clientSided() | |
3862 | wait(20) | |
3863 | a:Destroy() | |
3864 | end | |
3865 | ||
3866 | Commands.servertime = function(args) | |
3867 | Notification("info", "Server time is "..math.ceil(tonumber(gsWorkspace.DistributedGameTime)).." seconds.", 8) | |
3868 | end | |
3869 | ||
3870 | Commands.ride = function(args) | |
3871 | if args[1] then | |
3872 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3873 | local Anim = Instance.new("Animation") | |
3874 | Anim.AnimationId = "rbxassetid://179224234" | |
3875 | RIDEtrack = LP.Character.Humanoid:LoadAnimation(Anim) | |
3876 | rideACTIVE = true | |
3877 | ridePLAYER = v | |
3878 | RIDEtrack:Play() | |
3879 | end | |
3880 | end | |
3881 | end | |
3882 | ||
3883 | Commands.unride = function(args) | |
3884 | RIDEtrack:Stop() | |
3885 | rideACTIVE = false | |
3886 | end | |
3887 | ||
3888 | Commands.cmute = function(args) | |
3889 | if args[1] then | |
3890 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3891 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/mute "..v.Name, "All") | |
3892 | clientSided() | |
3893 | end | |
3894 | end | |
3895 | end | |
3896 | ||
3897 | Commands.uncmute = function(args) | |
3898 | if args[1] then | |
3899 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3900 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/unmute "..v.Name, "All") | |
3901 | end | |
3902 | end | |
3903 | end | |
3904 | ||
3905 | Commands.hat = function(args) | |
3906 | if args[1] then | |
3907 | for i,v in pairs(findSinglePlayer(args[1])) do | |
3908 | local Anim = Instance.new("Animation") | |
3909 | Anim.AnimationId = "rbxassetid://282574440" | |
3910 | HATtrack = LP.Character.Humanoid:LoadAnimation(Anim) | |
3911 | rideACTIVE = true | |
3912 | ridePLAYER = v | |
3913 | HATtrack:Play() | |
3914 | view(v) | |
3915 | end | |
3916 | end | |
3917 | end | |
3918 | ||
3919 | Commands.unhat = function(args) | |
3920 | HATtrack:Stop() | |
3921 | rideACTIVE = false | |
3922 | view(LP) | |
3923 | end | |
3924 | ||
3925 | --[[Commands.spawnreset = function(args) | |
3926 | if args[1] then | |
3927 | if string.lower(tostring(args[1])) == "on" then | |
3928 | spawningatreset = true | |
3929 | elseif string.lower(tostring(args[1])) == "off" then | |
3930 | spawningatreset = false | |
3931 | end | |
3932 | end | |
3933 | end]] | |
3934 | ||
3935 | Commands.chat = function(args) | |
3936 | if args[1] then | |
3937 | local Chatmsg = table.concat(args, " ") | |
3938 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Chatmsg, "All") | |
3939 | end | |
3940 | end | |
3941 | ||
3942 | -- findPlayer function (ALL, OTHERS, ME, NOOBS, VETERANS, OLDVETERANS, FRIENDS, NOFRIENDS, DEFAULT, RANDOM, SAMETEAM, NOTEAM, OTHERTEAM, TEAMname) | |
3943 | function findPlayer(plr) | |
3944 | local players = {} | |
3945 | local find = plr:lower() | |
3946 | local getAllNames = getmultipleplayers(find) | |
3947 | for i,mplr in pairs(getAllNames) do | |
3948 | if mplr == "all" then | |
3949 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3950 | table.insert(players,v) | |
3951 | end | |
3952 | elseif mplr == "others" then | |
3953 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3954 | if v.Name ~= LP.Name then | |
3955 | table.insert(players,v) | |
3956 | end | |
3957 | end | |
3958 | elseif mplr == "me" then | |
3959 | table.insert(players,LP) | |
3960 | elseif mplr == "noobs" then | |
3961 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3962 | if v.AccountAge <= 3 then | |
3963 | table.insert(players,v) | |
3964 | end | |
3965 | end | |
3966 | elseif mplr == "veterans" then | |
3967 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3968 | if v.AccountAge >= 365 then | |
3969 | table.insert(players,v) | |
3970 | end | |
3971 | end | |
3972 | elseif mplr == "oldveterans" then | |
3973 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3974 | if v.AccountAge >= 1500 then | |
3975 | table.insert(players,v) | |
3976 | end | |
3977 | end | |
3978 | elseif mplr == "friends" then | |
3979 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3980 | if v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then | |
3981 | table.insert(players,v) | |
3982 | end | |
3983 | end | |
3984 | elseif mplr == "nofriends" then | |
3985 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3986 | if not v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then | |
3987 | table.insert(players,v) | |
3988 | end | |
3989 | end | |
3990 | elseif mplr == "default" then | |
3991 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3992 | if v.Character:FindFirstChild("Pal Hair") or v.Character:FindFirstChild("Kate Hair") then | |
3993 | table.insert(players,v) | |
3994 | end | |
3995 | end | |
3996 | elseif mplr == "random" then | |
3997 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
3998 | table.insert(players,v[math.random(1, #v)]) | |
3999 | end | |
4000 | elseif mplr == "sameteam" then | |
4001 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
4002 | if v.Team == LP.Team then | |
4003 | table.insert(players,v) | |
4004 | end | |
4005 | end | |
4006 | elseif mplr == "noteam" then | |
4007 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
4008 | if v.Team == nil then | |
4009 | table.insert(players,v) | |
4010 | end | |
4011 | end | |
4012 | elseif mplr == "otherteam" then | |
4013 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
4014 | if v.Team ~= LP.Team then | |
4015 | table.insert(players,v) | |
4016 | end | |
4017 | end | |
4018 | elseif string.sub(mplr, 1, 4) == "team" then | |
4019 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
4020 | local spaceTEAM = {} | |
4021 | for teamValues in (string.gmatch(string.sub(mplr, 5), "[^_]+")) do | |
4022 | spaceTEAM[#spaceTEAM + 1] = teamValues | |
4023 | end | |
4024 | local gottrueteam = table.concat(spaceTEAM, " ") | |
4025 | if string.lower(tostring(v.Team)) == string.lower(gottrueteam) then | |
4026 | table.insert(players,v) | |
4027 | end | |
4028 | end | |
4029 | else | |
4030 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
4031 | if string.lower(v.Name):sub(1, #mplr) == string.lower(mplr) then | |
4032 | table.insert(players,v) | |
4033 | end | |
4034 | end | |
4035 | end | |
4036 | end | |
4037 | ||
4038 | return players | |
4039 | end | |
4040 | function getmultipleplayers(plr) | |
4041 | local plrsgotten = {} | |
4042 | for i in string.gmatch(plr,"[^,]+") do | |
4043 | table.insert(plrsgotten,i) | |
4044 | end | |
4045 | return plrsgotten | |
4046 | end | |
4047 | function findSinglePlayer(plr) | |
4048 | local players = {} | |
4049 | local find = plr:lower() | |
4050 | if find == "me" then | |
4051 | table.insert(players,LP) | |
4052 | else | |
4053 | for i,v in pairs(gsPlayers:GetPlayers()) do | |
4054 | if string.lower(v.Name):sub(1, #find) == string.lower(find) then | |
4055 | table.insert(players,v) | |
4056 | end | |
4057 | end | |
4058 | end | |
4059 | local oneplayer = {} | |
4060 | pcall(function() | |
4061 | table.insert(oneplayer, players[math.random(1, #players)]) | |
4062 | end) | |
4063 | return oneplayer | |
4064 | end | |
4065 | ||
4066 | -- Anti Kick | |
4067 | ||
4068 | if getrawmetatable then | |
4069 | function formatargs(getArgs,v) | |
4070 | if #getArgs == 0 then | |
4071 | return "" | |
4072 | end | |
4073 | ||
4074 | local collectArgs = {} | |
4075 | for k,v in next,getArgs do | |
4076 | local argument = "" | |
4077 | if type(v) == "string" then | |
4078 | argument = "\""..v.."\"" | |
4079 | elseif type(v) == "table" then | |
4080 | argument = "{" .. formatargs(v,true) .. "}" | |
4081 | else | |
4082 | argument = tostring(v) | |
4083 | end | |
4084 | if v and type(k) ~= "number" then | |
4085 | table.insert(collectArgs,k.."="..argument) | |
4086 | else | |
4087 | table.insert(collectArgs,argument) | |
4088 | end | |
4089 | end | |
4090 | return table.concat(collectArgs, ", ") | |
4091 | end | |
4092 | ||
4093 | kicknum = 0 | |
4094 | local game_meta = getrawmetatable(game) | |
4095 | local game_namecall = game_meta.__namecall | |
4096 | local game_index = game_meta.__index | |
4097 | local w = (setreadonly or fullaccess or make_writeable) | |
4098 | pcall(w, game_meta, false) | |
4099 | game_meta.__namecall = function(out, ...) | |
4100 | local args = {...} | |
4101 | local Method = args[#args] | |
4102 | args[#args] = nil | |
4103 | ||
4104 | if Method == "Kick" and out == LP then | |
4105 | kicknum = kicknum + 1 | |
4106 | warn("Blocked client-kick attempt "..kicknum) | |
4107 | return | |
4108 | end | |
4109 | ||
4110 | if antiremotes then | |
4111 | if Method == "FireServer" or Method == "InvokeServer" then | |
4112 | if out.Name ~= "CharacterSoundEvent" and out.Name ~= "SayMessageRequest" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Parent ~= "DefaultChatSystemChatEvents" then | |
4113 | warn("Blocked remote: "..out.Name.." // Method: "..Method) | |
4114 | return | |
4115 | end | |
4116 | end | |
4117 | else | |
4118 | if Method == "FireServer" or Method == "InvokeServer" then | |
4119 | for i,noremote in pairs(blockedremotes) do | |
4120 | if out.Name == noremote and out.Name ~= "SayMessageRequest" then | |
4121 | warn("Blocked remote: "..out.Name.." // Method: "..Method) | |
4122 | return | |
4123 | end | |
4124 | end | |
4125 | end | |
4126 | end | |
4127 | ||
4128 | if spyingremotes then | |
4129 | if Method == "FireServer" or Method == "InvokeServer" then | |
4130 | if out.Name ~= "CharacterSoundEvent" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Name ~= "SayMessageRequest" then | |
4131 | local arguments = {} | |
4132 | for i = 1,#args do | |
4133 | arguments[i] = args[i] | |
4134 | end | |
4135 | local getScript = getfenv(2).script | |
4136 | if getScript == nil then | |
4137 | getScript = "??? (Not Found) ???" | |
4138 | end | |
4139 | warn("<> <> <> A "..out.ClassName.." has been fired! How to fire:\ngame."..out:GetFullName()..":"..Method.."("..formatargs(arguments)..")\n\nFired from script: ".. tostring(getScript:GetFullName())) | |
4140 | end | |
4141 | end | |
4142 | end | |
4143 | ||
4144 | return game_namecall(out, ...) | |
4145 | end | |
4146 | end | |
4147 | function FEcheckDefault() | |
4148 | if gsWorkspace.FilteringEnabled == true then | |
4149 | createIntro("warning", "FE is enabled! Press "..commandPrefix.." to bring Command Bar.", 7) | |
4150 | else | |
4151 | createIntro("warning", "FE is disabled. Consider using a different script.", 7) | |
4152 | end | |
4153 | end | |
4154 | FEcheckDefault() | |
4155 | end) |