SHOW:
|
|
- or go back to the newest paste.
1 | --------------------------------------------------------------- | |
2 | --------------------------------------------------------------- | |
3 | -- _____ __ _ _ _ __ ___ _ _ -- | |
4 | -- |_ _| / _(_) (_) | \ \ / (_) | | | | -- | |
5 | -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | -- | |
6 | -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | -- | |
7 | -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | -- | |
8 | -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| -- | |
9 | -- -- | |
10 | --------------------------------------------------------------- | |
11 | --------------------------------------------------------------- | |
12 | ---------------------------Version 4--------------------------- | |
13 | --------------------------------------------------------------- | |
14 | ---------------------IoIman616---Edge#3467--------------------- | |
15 | -------------Desiredusername1233--bluntboomer#1259------------- | |
16 | --------------------sweg2hip----Master#9156-------------------- | |
17 | --------------------------------------------------------------- | |
18 | ||
19 | --The message system was created by HARKINIAN @ V3RMILLION | |
20 | --Bang and fly is from rocky2u | |
21 | --Thank you for support everyone | |
22 | ||
23 | local gCoreGui = game:GetService('CoreGui') | |
24 | local gPlayers = game:GetService('Players') | |
25 | local gLighting = game:GetService('Lighting') | |
26 | local gWorkspace = game:GetService('Workspace') | |
27 | local Player = game.Players.LocalPlayer | |
28 | local Mouse = Player:GetMouse() | |
29 | local char = Player.Character | |
30 | local LP = gPlayers.LocalPlayer | |
31 | local gPlayers = game:GetService("Players") | |
32 | - | local admin = gPlayers.LocalPlayer.Name |
32 | + | local admin = gPlayers.LocalPlayer.micamox |
33 | local _players = game:GetService('Players') | |
34 | MSGhook = false | |
35 | cmdbarpos = '1' | |
36 | cmdbarpos2 = '-24' | |
37 | cmdbarpos3 = '0' | |
38 | cmdbarpos4 = '5' | |
39 | local services={} | |
40 | local cmds={} | |
41 | local std={} | |
42 | local loopkillT = {} | |
43 | local rainbowT = {} | |
44 | local disabletoolsT = {} | |
45 | local banT = {} | |
46 | local admins = {} | |
47 | print("turtleman4real put this in pastebin >.<") | |
48 | function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end | |
49 | local Version = '4.0' | |
50 | wait(0.1) | |
51 | services.players=gPlayers | |
52 | services.lighting=game:GetService('Lighting') | |
53 | services.workspace=game:GetService('Workspace') | |
54 | services.events = {} | |
55 | local user = gPlayers.LocalPlayer | |
56 | local gCoreGui = game:GetService('CoreGui') | |
57 | local gPlayers = game:GetService('Players') | |
58 | local gLighting = game:GetService('Lighting') | |
59 | local gWorkspace = game:GetService('Workspace') | |
60 | local cmdprefix=';' | |
61 | local scriptprefix='\\' | |
62 | local split=" " | |
63 | local Checked = Instance.new("BoolValue") | |
64 | Checked.Name = "notify" | |
65 | Checked.Value = true | |
66 | Checked.Parent = game.CoreGui | |
67 | local Checked2 = Instance.new("BoolValue") | |
68 | Checked2.Name = "allowfriends" | |
69 | Checked2.Value = true | |
70 | Checked2.Parent = game.CoreGui | |
71 | local Checked3 = Instance.new("BoolValue") | |
72 | Checked3.Name = "JLnotify" | |
73 | Checked3.Value = true | |
74 | Checked3.Parent = game.CoreGui | |
75 | local Mtime = Instance.new("IntValue") | |
76 | Mtime.Name = "MSGtime" | |
77 | Mtime.Value = 7 -- this is adjustable in settings (default is 7 seconds) | |
78 | Mtime.Parent = game.CoreGui | |
79 | slock = false | |
80 | ||
81 | local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = | |
82 | game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = | |
83 | game.Lighting.FogEnd, fs = game.Lighting.FogStart} | |
84 | ||
85 | function FindTable(Table, Name) | |
86 | for i,v in pairs(Table) do | |
87 | if v == Name then | |
88 | return true | |
89 | end | |
90 | end | |
91 | return false | |
92 | end | |
93 | function GetInTable(Table, Name) | |
94 | for i = 1, #Table do | |
95 | if Table[i] == Name then | |
96 | return i | |
97 | end | |
98 | end | |
99 | return false | |
100 | end | |
101 | game:GetService('RunService').Stepped:connect(function() | |
102 | for _, child in pairs( workspace:GetChildren()) do | |
103 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
104 | child.Name = "IYmessage" | |
105 | child.Text = '' | |
106 | MSGhook = true | |
107 | end | |
108 | end | |
109 | end) | |
110 | wait(0.5) | |
111 | game:GetService('RunService').Stepped:connect(function() | |
112 | if workspace:FindFirstChild("IYmessage") then | |
113 | MSGhook = true | |
114 | else | |
115 | MSGhook = false | |
116 | end | |
117 | end) | |
118 | game:GetService('RunService').Stepped:connect(function() | |
119 | if MSGhook == true and workspace.IYmessage.Text == '' then | |
120 | for _, child in pairs( game.Lighting:GetChildren()) do | |
121 | if child.Name == "IYmblur" then | |
122 | child:Destroy() | |
123 | end | |
124 | end | |
125 | end | |
126 | end) | |
127 | ||
128 | game:GetService('RunService').Stepped:connect(function() | |
129 | for i,v in pairs(_players:GetPlayers()) do | |
130 | if FindTable(loopkillT, v.Name) then | |
131 | v.Character:BreakJoints() | |
132 | end | |
133 | end | |
134 | end) | |
135 | ||
136 | game:GetService('RunService').Stepped:connect(function() | |
137 | for i,v in pairs(_players:GetPlayers()) do | |
138 | if FindTable(rainbowT, v.Name) then | |
139 | v.Neutral = false | |
140 | v.TeamColor = BrickColor.random() | |
141 | end | |
142 | end | |
143 | end) | |
144 | local FLYING = false | |
145 | game:GetService('RunService').Stepped:connect(function() | |
146 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then | |
147 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
148 | repeat wait() until LP.Character.Humanoid.Health > 0 | |
149 | end | |
150 | end) | |
151 | function sFLY() | |
152 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid') | |
153 | repeat wait() until Mouse | |
154 | ||
155 | local T = LP.Character.Torso | |
156 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
157 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
158 | local SPEED = 0 | |
159 | ||
160 | local function FLY() | |
161 | FLYING = true | |
162 | local BG = Instance.new('BodyGyro', T) | |
163 | local BV = Instance.new('BodyVelocity', T) | |
164 | BG.P = 9e4 | |
165 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
166 | BG.cframe = T.CFrame | |
167 | BV.velocity = Vector3.new(0, 0.1, 0) | |
168 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
169 | spawn(function() | |
170 | repeat wait() | |
171 | LP.Character.Humanoid.PlatformStand = true | |
172 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
173 | SPEED = 50 | |
174 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
175 | SPEED = 0 | |
176 | end | |
177 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
178 | 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 | |
179 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
180 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
181 | 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 | |
182 | else | |
183 | BV.velocity = Vector3.new(0, 0.1, 0) | |
184 | end | |
185 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
186 | until not FLYING | |
187 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
188 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
189 | SPEED = 0 | |
190 | BG:destroy() | |
191 | BV:destroy() | |
192 | LP.Character.Humanoid.PlatformStand = false | |
193 | end) | |
194 | end | |
195 | Mouse.KeyDown:connect(function(KEY) | |
196 | if KEY:lower() == 'w' then | |
197 | CONTROL.F = 1 | |
198 | elseif KEY:lower() == 's' then | |
199 | CONTROL.B = -1 | |
200 | elseif KEY:lower() == 'a' then | |
201 | CONTROL.L = -1 | |
202 | elseif KEY:lower() == 'd' then | |
203 | CONTROL.R = 1 | |
204 | end | |
205 | end) | |
206 | Mouse.KeyUp:connect(function(KEY) | |
207 | if KEY:lower() == 'w' then | |
208 | CONTROL.F = 0 | |
209 | elseif KEY:lower() == 's' then | |
210 | CONTROL.B = 0 | |
211 | elseif KEY:lower() == 'a' then | |
212 | CONTROL.L = 0 | |
213 | elseif KEY:lower() == 'd' then | |
214 | CONTROL.R = 0 | |
215 | end | |
216 | end) | |
217 | FLY() | |
218 | end | |
219 | function NOFLY() | |
220 | FLYING = false | |
221 | LP.Character.Humanoid.PlatformStand = false | |
222 | end | |
223 | game:GetService('RunService').Stepped:connect(function() | |
224 | for i,n in pairs(_players:GetPlayers()) do | |
225 | if FindTable(disabletoolsT, n.Name) then | |
226 | for i,v in pairs(n.Backpack:GetChildren()) do | |
227 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
228 | v:destroy() | |
229 | end | |
230 | for i,v in pairs(n.Character:GetChildren()) do | |
231 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
232 | v:destroy() | |
233 | end | |
234 | end | |
235 | end | |
236 | end | |
237 | end | |
238 | end) | |
239 | ||
240 | ------------------------------------------- | |
241 | ------------Player Joined/Left------------- | |
242 | ------------------------------------------- | |
243 | waitTime=5 | |
244 | function PlayerEntered(Player) | |
245 | if Player ~= nil and game.CoreGui.JLnotify.Value == true then | |
246 | local runDummyScript = function(f,scri) | |
247 | local oldenv = getfenv(f) | |
248 | local newenv = setmetatable({}, { | |
249 | __index = function(_, k) | |
250 | if k:lower() == 'script' then | |
251 | return scri | |
252 | else | |
253 | return oldenv[k] | |
254 | end | |
255 | end | |
256 | }) | |
257 | setfenv(f, newenv) | |
258 | ypcall(function() f() end) | |
259 | end | |
260 | cors = {} | |
261 | mas = Instance.new("Model",game:GetService("Lighting")) | |
262 | mas.Name = "CompiledModel" | |
263 | o1 = Instance.new("ScreenGui") | |
264 | o2 = Instance.new("Decal") | |
265 | o3 = Instance.new("Frame") | |
266 | o4 = Instance.new("ImageLabel") | |
267 | o5 = Instance.new("TextBox") | |
268 | o1.Name = "PlayerEntered" | |
269 | o1.Parent = mas | |
270 | o2.Parent = o1 | |
271 | o2.Texture = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474" | |
272 | o3.Parent = o1 | |
273 | o3.Position = UDim2.new(0,-360,0,400) | |
274 | o3.Size = UDim2.new(0,350,0,100) | |
275 | o3.Style = Enum.FrameStyle.RobloxSquare | |
276 | o3.Position = UDim2.new(0,-360,0,400) | |
277 | o3.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667) | |
278 | o4.Parent = o3 | |
279 | o4.Size = UDim2.new(0,90,1,0) | |
280 | o4.BackgroundColor3 = Color3.new(1, 1, 1) | |
281 | o4.BackgroundTransparency = 0.89999997615814 | |
282 | o4.BorderColor3 = Color3.new(0, 0, 0) | |
283 | o4.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474" | |
284 | o5.Parent = o3 | |
285 | o5.Position = UDim2.new(0,100,0,0) | |
286 | o5.Size = UDim2.new(0,230,1,0) | |
287 | o5.Text = "-Playername- Joined the Game" | |
288 | o5.Position = UDim2.new(0,100,0,0) | |
289 | o5.Active = false | |
290 | o5.BackgroundColor3 = Color3.new(1, 1, 1) | |
291 | o5.BackgroundTransparency = 0.89999997615814 | |
292 | o5.BorderColor3 = Color3.new(0, 0, 0) | |
293 | o5.Font = Enum.Font.ArialBold | |
294 | o5.FontSize = Enum.FontSize.Size14 | |
295 | o5.TextColor3 = Color3.new(1, 1, 1) | |
296 | o5.TextStrokeTransparency = 0 | |
297 | mas.Parent = workspace | |
298 | mas:MakeJoints() | |
299 | local mas1 = mas:GetChildren() | |
300 | for i=1,#mas1 do | |
301 | mas1[i].Parent = game.Players.LocalPlayer.PlayerGui | |
302 | ypcall(function() mas1[i]:MakeJoints() end) | |
303 | end | |
304 | mas:Destroy() | |
305 | for i=1,#cors do | |
306 | spawn(cors[i]) | |
307 | end | |
308 | wait(0.5) | |
309 | o2.Parent.Frame.Visible=false | |
310 | link = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=" | |
311 | o2.Parent.Frame.ImageLabel.Image = link .. Player.Name .. "&RAND=" .. math.random(1,100000) | |
312 | o2.Parent.Frame.TextBox.Text= Player.Name .. " Joined" | |
313 | o2.Parent.Frame.Visible=true | |
314 | o2.Parent.Frame:TweenPosition(UDim2.new(0,0,0,400),"Out","Quint",0.3,true) | |
315 | wait(waitTime) | |
316 | o2.Parent.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true) | |
317 | wait(1) | |
318 | o1:Destroy() | |
319 | for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
320 | if child.Name == "PlayerEntered" then | |
321 | child.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true) | |
322 | wait(1) | |
323 | child:Destroy() | |
324 | end | |
325 | end | |
326 | end | |
327 | end | |
328 | ||
329 | game.Players.ChildAdded:connect(PlayerEntered) | |
330 | ||
331 | function PlayerLeft(Player) | |
332 | if Player ~= nil and game.CoreGui.JLnotify.Value == true then | |
333 | local runDummyScript = function(f,scri) | |
334 | local oldenv = getfenv(f) | |
335 | local newenv = setmetatable({}, { | |
336 | __index = function(_, k) | |
337 | if k:lower() == 'script' then | |
338 | return scri | |
339 | else | |
340 | return oldenv[k] | |
341 | end | |
342 | end | |
343 | }) | |
344 | setfenv(f, newenv) | |
345 | ypcall(function() f() end) | |
346 | end | |
347 | cors = {} | |
348 | mas = Instance.new("Model",game:GetService("Lighting")) | |
349 | mas.Name = "CompiledModel" | |
350 | o1 = Instance.new("ScreenGui") | |
351 | o2 = Instance.new("Decal") | |
352 | o3 = Instance.new("Frame") | |
353 | o4 = Instance.new("ImageLabel") | |
354 | o5 = Instance.new("TextBox") | |
355 | o1.Name = "PlayerEntered" | |
356 | o1.Parent = mas | |
357 | o2.Parent = o1 | |
358 | o2.Texture = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474" | |
359 | o3.Parent = o1 | |
360 | o3.Position = UDim2.new(0,-360,0,400) | |
361 | o3.Size = UDim2.new(0,350,0,100) | |
362 | o3.Style = Enum.FrameStyle.RobloxSquare | |
363 | o3.Position = UDim2.new(0,-360,0,400) | |
364 | o3.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667) | |
365 | o4.Parent = o3 | |
366 | o4.Size = UDim2.new(0,90,1,0) | |
367 | o4.BackgroundColor3 = Color3.new(1, 1, 1) | |
368 | o4.BackgroundTransparency = 0.89999997615814 | |
369 | o4.BorderColor3 = Color3.new(0, 0, 0) | |
370 | o4.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=Roblox&RAND=7474" | |
371 | o5.Parent = o3 | |
372 | o5.Position = UDim2.new(0,100,0,0) | |
373 | o5.Size = UDim2.new(0,230,1,0) | |
374 | o5.Text = "-Playername- Joined the Game" | |
375 | o5.Position = UDim2.new(0,100,0,0) | |
376 | o5.Active = false | |
377 | o5.BackgroundColor3 = Color3.new(1, 1, 1) | |
378 | o5.BackgroundTransparency = 0.89999997615814 | |
379 | o5.BorderColor3 = Color3.new(0, 0, 0) | |
380 | o5.Font = Enum.Font.ArialBold | |
381 | o5.FontSize = Enum.FontSize.Size14 | |
382 | o5.TextColor3 = Color3.new(1, 1, 1) | |
383 | o5.TextStrokeTransparency = 0 | |
384 | mas.Parent = workspace | |
385 | mas:MakeJoints() | |
386 | local mas1 = mas:GetChildren() | |
387 | for i=1,#mas1 do | |
388 | mas1[i].Parent = game.Players.LocalPlayer.PlayerGui | |
389 | ypcall(function() mas1[i]:MakeJoints() end) | |
390 | end | |
391 | mas:Destroy() | |
392 | for i=1,#cors do | |
393 | spawn(cors[i]) | |
394 | end | |
395 | wait(0.5) | |
396 | link = "http://www.roblox.com/thumbs/avatar.ashx?x=150&y=200&format=png&username=" | |
397 | o2.Parent.Frame.ImageLabel.Image = link .. Player.Name .. "&RAND=" .. math.random(1,100000) | |
398 | o2.Parent.Frame.TextBox.Text= Player.Name .. " Left" | |
399 | o2.Parent.Frame.Visible=true | |
400 | o2.Parent.Frame:TweenPosition(UDim2.new(0,0,0,400),"Out","Quint",0.3,true) | |
401 | wait(waitTime) | |
402 | o2.Parent.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true) | |
403 | wait(1) | |
404 | o1:Destroy() | |
405 | for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
406 | if child.Name == "PlayerEntered" then | |
407 | child.Frame:TweenPosition(UDim2.new(0,-360,0,400),"Out","Quint",0.3,true) | |
408 | wait(1) | |
409 | child:Destroy() | |
410 | end | |
411 | end | |
412 | end | |
413 | end | |
414 | ||
415 | game.Players.PlayerRemoving:connect(PlayerLeft) | |
416 | ||
417 | ------------------------------------------- | |
418 | ---Commands that show up in the CMD list--- | |
419 | ------------------------------------------- | |
420 | ||
421 | CMDs = { | |
422 | '- settings', | |
423 | '1. ff [plr]', | |
424 | '2. unff [plr]', | |
425 | '3. fire [plr] [R G B]', | |
426 | '4. unfire [plr]', | |
427 | '5. sparkles [plr] [R G B]', | |
428 | '6. unsparkles [plr]', | |
429 | '7. smoke [plr]', | |
430 | '8. unsmoke [plr]', | |
431 | '9. btools [plr]', | |
432 | '10. god [plr]', | |
433 | '11. ungod [plr]', | |
434 | '12. smite [plr]', | |
435 | '13. heal [plr]', | |
436 | '14. freeze [plr]', | |
437 | '15. thaw [plr]', | |
438 | '16. kill [plr]', | |
439 | '17. sound [ID]', | |
440 | '18. volume [num]', | |
441 | '19. pitch [num]', | |
442 | '20. explode [plr]', | |
443 | '21. invisible [plr]', | |
444 | '22. visible [plr]', | |
445 | '23. goto [plr]', | |
446 | '24. bring [plr]', | |
447 | '25. tp [plr] [plr]', | |
448 | '26. char [plr] [ID]', | |
449 | '27. charplr [plr] [plr]', | |
450 | '28. unchar [plr]', | |
451 | '29. speed [plr] [num]', | |
452 | '30. sgod [plr]', | |
453 | '31. unlockws', | |
454 | '32. lockws', | |
455 | '33. unanchor', | |
456 | '34. anchor', | |
457 | '35. loadm', | |
458 | '36. m [msg]', | |
459 | '37. light [plr] [R G B]', | |
460 | '38. decalspam [ID]', | |
461 | '39. undecalspam', | |
462 | '40. firstp [plr]', | |
463 | '41. thirdp [plr]', | |
464 | '42. fart [plr]', | |
465 | '43. name [plr]', | |
466 | '44. unname [plr]', | |
467 | '45. stun [plr]', | |
468 | '46. unstun [plr]', | |
469 | '47. copytools [plr]', | |
470 | '48. serverinfo', | |
471 | '49. damage [plr]', | |
472 | '50. view [plr]', | |
473 | '51. unview [plr]', | |
474 | '52. nolimbs [plr]', | |
475 | '53. box [plr]', | |
476 | '54. nobox [plr]', | |
477 | '55. ghost [plr]', | |
478 | '56. sphere [plr]', | |
479 | '57. loadmap [ID]', | |
480 | '58. sky [ID]', | |
481 | '59. ambient [R G B]', | |
482 | '60. clrterrain', | |
483 | '61. jail [plr]', | |
484 | '62. unjail [plr]', | |
485 | '63. shutdown', | |
486 | '64. animation [plr] [anim]', | |
487 | '65. normal [plr]', | |
488 | '66. creeper [plr]', | |
489 | '67. uncreeper [plr]', | |
490 | '68. shrek [plr]', | |
491 | '69. unshrek [plr]', | |
492 | '70. respawn [plr]', | |
493 | '71. base', | |
494 | '72. control [plr]', | |
495 | '73. nuke [plr]', | |
496 | '74. infect [plr]', | |
497 | '75. uninfect [plr]', | |
498 | '76. duck [plr]', | |
499 | '77. unduck [plr]', | |
500 | '78. disable [plr]', | |
501 | '79. enable [plr]', | |
502 | '80. size [plr]', | |
503 | '81. confuse [plr]', | |
504 | '82. unconfuse [plr]', | |
505 | '83. clone [plr]', | |
506 | '84. spin [plr]', | |
507 | '85. unspin [plr]', | |
508 | '86. dog [plr]', | |
509 | '87. undog [plr]', | |
510 | '88. loopheal [plr]', | |
511 | '89. unloopheal [plr]', | |
512 | '90. fling [plr]', | |
513 | '91. ayylmao [plr]', | |
514 | '92. nograv [plr]', | |
515 | '93. grav [plr]', | |
516 | '94. seizure [plr]', | |
517 | '95. unseizure [plr]', | |
518 | '96. paper [plr]', | |
519 | '97. punish [plr]', | |
520 | '98. unpunish [plr]', | |
521 | '99. fogend [num]', | |
522 | '100. fogcolor [R G B]', | |
523 | '101. disco', | |
524 | '102. undisco', | |
525 | '103. fix', | |
526 | '104. flood', | |
527 | '105. spookyify', | |
528 | '106. explorer', | |
529 | '107. particles [plr] [ID]', | |
530 | '108. noparticles [plr]', | |
531 | '109. draw', | |
532 | '110. devuzi', | |
533 | '111. ban [plr]', | |
534 | '112. clrbans', | |
535 | '113. float [plr]', | |
536 | '114. unfloat [plr]', | |
537 | '115. noclip', | |
538 | '116. clip', | |
539 | '117. hatsize [plr] [num]', | |
540 | '118. removehat [plr]', | |
541 | '119. cripple [plr]', | |
542 | '120. uncripple [plr]', | |
543 | '121. blur [num]', | |
544 | '122. hipheight [plr] [num]', | |
545 | '123. bgui [plr] [text]', | |
546 | '124. unbgui [plr]', | |
547 | '125. loopkill [plr]', | |
548 | '126. unloopkill [plr]', | |
549 | '127. removetools [plr]', | |
550 | '128. grav [plr] [num]', | |
551 | '129. serverlock', | |
552 | '130. unserverlock', | |
553 | '131. headshake [plr]', | |
554 | '132. addstat [plr] [text]', | |
555 | '133. change [stat] [plr] [num]', | |
556 | '134. headsize [plr] [num]', | |
557 | '135. bang [plr]', | |
558 | '136. chat [plr] [msg]', | |
559 | '137. gravity [num]', | |
560 | '138. disabletools [plr]', | |
561 | '139. enabletools [plr]', | |
562 | '140. nil [plr]', | |
563 | '141. rainbowname [plr]', | |
564 | '142. unrainbowname [plr]', | |
565 | '143. mesh [plr] [mesh] [txtr]', | |
566 | '144. neon [plr]', | |
567 | '145. longneck [plr]', | |
568 | '146. unlongneck [plr]', | |
569 | '147. time [num]', | |
570 | '148. spasm [plr]', | |
571 | '149. meteor [plr]', | |
572 | '150. countdown [num]', | |
573 | '151. bomb [plr]', | |
574 | '152. fly', | |
575 | '153. unfly', | |
576 | '154. crash [plr]', | |
577 | '155. kick [plr]', | |
578 | '156. admin [plr]', | |
579 | '157. unadmin [plr]', | |
580 | '158. clradmins', | |
581 | '159. executor', | |
582 | '160. prefix [string]', | |
583 | '161. cmds', | |
584 | '162. rejoin', | |
585 | '163. version' | |
586 | } | |
587 | ||
588 | ------- | |
589 | --Lib-- | |
590 | ------- | |
591 | ||
592 | updateevents=function() | |
593 | for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end | |
594 | for i,v in pairs(gPlayers:players())do | |
595 | local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end) | |
596 | services.events[#services.events+1] = ev | |
597 | end | |
598 | end | |
599 | std.inTable=function(tbl,val) | |
600 | if tbl==nil then return false end | |
601 | ||
602 | for _,v in pairs(tbl)do | |
603 | if v==val then return true end | |
604 | end | |
605 | return false | |
606 | end | |
607 | std.out=function(str) | |
608 | print(str) | |
609 | end | |
610 | std.list=function(tbl) | |
611 | local str='' | |
612 | for i,v in pairs(tbl)do | |
613 | str=str..tostring(v) | |
614 | if i~=#tbl then str=str..', ' end | |
615 | end | |
616 | return str | |
617 | end | |
618 | std.endat=function(str,val) | |
619 | local z=str:find(val) | |
620 | if z then | |
621 | return str:sub(0,z-string.len(val)),true | |
622 | else | |
623 | return str,false | |
624 | end | |
625 | end | |
626 | std.first=function(str) return str:sub(1,1) end | |
627 | isAdmin=function(name) | |
628 | for i,v in pairs(_players:GetPlayers()) do | |
629 | if FindTable(admins, v.Name) then | |
630 | return true | |
631 | elseif name==admin then | |
632 | return true | |
633 | end | |
634 | end | |
635 | return false | |
636 | end | |
637 | local exec=function(str) | |
638 | spawn(function() | |
639 | local script, loaderr = loadstring(str) | |
640 | if not script then | |
641 | error(loaderr) | |
642 | else | |
643 | script() | |
644 | end | |
645 | end) | |
646 | end | |
647 | local findCmd=function(cmd_name) | |
648 | for i,v in pairs(cmds)do | |
649 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
650 | return v | |
651 | end | |
652 | end | |
653 | end | |
654 | local getCmd=function(msg) | |
655 | local cmd,hassplit=std.endat(msg:lower(),split) | |
656 | if hassplit then | |
657 | return {cmd,true} | |
658 | else | |
659 | return {cmd,false} | |
660 | end | |
661 | end | |
662 | local getprfx=function(strn) | |
663 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1} | |
664 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1} | |
665 | end return | |
666 | end | |
667 | function getArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S:lower(), split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end | |
668 | function getCapArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S, split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end | |
669 | _players.PlayerAdded:connect(function(player) | |
670 | if slock == true and game.CoreGui.allowfriends.Value == false then player.CharacterAdded:connect(function() | |
671 | spawn(function() | |
672 | function Kick(PLAYER) | |
673 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
674 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
675 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
676 | Plat.Name = 'IYkick' | |
677 | Plat.Size = Vector3.new(100, 1, 100) | |
678 | local PART = Instance.new('Part', PLAYER.Character) | |
679 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
680 | PART.Size = Vector3.new(100, 1, 100) | |
681 | PART.Anchored = true | |
682 | ||
683 | PART.Transparency = 1 | |
684 | Plat.Transparency = 1 | |
685 | ||
686 | repeat wait(1) | |
687 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
688 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
689 | end | |
690 | Kick(PLAYER) | |
691 | until not game.Players:findFirstChild(PLAYER) | |
692 | end | |
693 | end | |
694 | Kick(player) | |
695 | end) | |
696 | end) | |
697 | elseif slock == true and game.CoreGui.allowfriends.Value == true and not player:IsFriendsWith(user.userId) then | |
698 | spawn(function() | |
699 | function Kick(PLAYER) | |
700 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
701 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
702 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
703 | Plat.Name = 'IYkick' | |
704 | Plat.Size = Vector3.new(100, 1, 100) | |
705 | local PART = Instance.new('Part', PLAYER.Character) | |
706 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
707 | PART.Size = Vector3.new(100, 1, 100) | |
708 | PART.Anchored = true | |
709 | ||
710 | PART.Transparency = 1 | |
711 | Plat.Transparency = 1 | |
712 | ||
713 | repeat wait(1) | |
714 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
715 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
716 | end | |
717 | Kick(PLAYER) | |
718 | until not game.Players:findFirstChild(PLAYER) | |
719 | end | |
720 | end | |
721 | Kick(player) | |
722 | end) | |
723 | end | |
724 | if FindTable(banT, player.userId) then | |
725 | spawn(function() | |
726 | function Kick(PLAYER) | |
727 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
728 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
729 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
730 | Plat.Name = 'IYkick' | |
731 | Plat.Size = Vector3.new(100, 1, 100) | |
732 | local PART = Instance.new('Part', PLAYER.Character) | |
733 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
734 | PART.Size = Vector3.new(100, 1, 100) | |
735 | PART.Anchored = true | |
736 | ||
737 | PART.Transparency = 1 | |
738 | Plat.Transparency = 1 | |
739 | ||
740 | repeat wait(1) | |
741 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
742 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
743 | end | |
744 | Kick(PLAYER) | |
745 | until not game.Players:findFirstChild(PLAYER) | |
746 | end | |
747 | end | |
748 | Kick(player) | |
749 | end) | |
750 | end | |
751 | end) | |
752 | local function execCmd(str, plr) | |
753 | local s_cmd | |
754 | local a | |
755 | local cmd | |
756 | s_cmd = getCmd(str) | |
757 | cmd = findCmd(s_cmd[1]) | |
758 | if cmd == nil then return end | |
759 | a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1) | |
760 | local args=getArgs(a) | |
761 | cargs=getCapArgs(a) | |
762 | pcall(function() | |
763 | cmd.FUNC(args, plr) | |
764 | end) | |
765 | end | |
766 | function do_exec(str,plr) | |
767 | if not isAdmin(plr.Name)then return end | |
768 | ||
769 | str=str:gsub('/e ','') | |
770 | ||
771 | local t=getprfx(str) | |
772 | if t==nil then return end | |
773 | str=str:sub(t[2]) | |
774 | if t[1]=='exec' then | |
775 | exec(str) | |
776 | elseif t[1]=='cmd' then | |
777 | execCmd(str, plr) | |
778 | end | |
779 | end | |
780 | updateevents() | |
781 | _G.exec_cmd = execCmd | |
782 | --game.Players.LocalPlayer.Chatted:connect(doexec) | |
783 | function GLS(lower, start) local AA = '' for i,v in pairs(cargs) do if i > start then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not lower then return AA else return string.lower(AA) end end | |
784 | local _char=function(plr_name) | |
785 | for i,v in pairs(game.Players:GetChildren())do | |
786 | if v:IsA'Player'then | |
787 | if v.Name==plr_name then return v.Character end | |
788 | end | |
789 | end | |
790 | return | |
791 | end | |
792 | local _plr=function(plr_name) | |
793 | for i,v in pairs(game.Players:GetChildren())do | |
794 | if v:IsA'Player'then | |
795 | if v.Name==plr_name then return v end | |
796 | end | |
797 | end | |
798 | return | |
799 | end | |
800 | function addcmd(name,desc,alias,func) | |
801 | cmds[#cmds+1]= | |
802 | { | |
803 | NAME=name; | |
804 | DESC=desc; | |
805 | ALIAS=alias; | |
806 | FUNC=func; | |
807 | } | |
808 | end | |
809 | function getPlayer(name, speaker) | |
810 | local name_table = {} | |
811 | name = name:lower() | |
812 | if name == 'me' then | |
813 | table.insert(name_table, speaker.Name) | |
814 | elseif name == 'others' then | |
815 | for i,v in pairs(_players:GetPlayers()) do if v.Name ~= speaker.Name then table.insert(name_table, v.Name) end end | |
816 | elseif name == 'all' then | |
817 | for i,v in pairs(_players:GetPlayers()) do table.insert(name_table, v.Name) end | |
818 | elseif name == 'random' then | |
819 | table.insert(name_table, _players:GetPlayers()[math.random(1, #_players:GetPlayers())].Name) | |
820 | elseif name == 'team' then | |
821 | for i,v in pairs(_players:GetPlayers()) do if v.TeamColor == speaker.TeamColor then table.insert(name_table, v.Name) end end | |
822 | elseif name == "nonteam" then | |
823 | for i,v in pairs(gPlayers:GetChildren()) do | |
824 | if v.TeamColor ~= user.TeamColor then | |
825 | name_table[#name_table+1]=v.Name | |
826 | end | |
827 | end | |
828 | elseif name == 'nonfriends' then | |
829 | for i,v in pairs(_players:GetPlayers()) do if not v:IsFriendsWith(speaker.userId) then table.insert(name_table, v.Name) end end | |
830 | elseif name == 'friends' then | |
831 | for i,v in pairs(_players:GetPlayers()) do if v ~= speaker and v:IsFriendsWith(speaker.userId) then table.insert(name_table, v.Name) end end | |
832 | elseif name == 'guests' then | |
833 | for i,v in pairs(_players:GetPlayers()) do if v.Guest then table.insert(name_table, v.Name) end end | |
834 | elseif name == 'admins' then | |
835 | for i,v in pairs(_players:GetPlayers()) do if FindTable(admins, v.Name) then table.insert(name_table, v.Name) end end | |
836 | elseif name == 'nonadmins' then | |
837 | for i,v in pairs(_players:GetPlayers()) do if not FindTable(admins, v.Name) then table.insert(name_table, v.Name) end end | |
838 | else | |
839 | for i,v in pairs(_players:GetPlayers()) do local L_name = v.Name:lower() local F = L_name:find(name) if F == 1 then table.insert(name_table, v.Name) end end | |
840 | end | |
841 | return name_table | |
842 | end | |
843 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
844 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 | |
845 | if (zCoco) then | |
846 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
847 | else | |
848 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
849 | end | |
850 | return funcw | |
851 | end | |
852 | function _G.msg(txt) | |
853 | if MSGhook == true then | |
854 | workspace.IYmessage.Text = '' | |
855 | wait(0.1) | |
856 | local b = Instance.new("BlurEffect", game.Lighting) | |
857 | b.Name = "IYmblur" | |
858 | b.Size = 18 | |
859 | workspace.IYmessage.Text = txt | |
860 | wait(game.CoreGui.MSGtime.Value) | |
861 | workspace.IYmessage.Text = '' | |
862 | b:Destroy() | |
863 | elseif MSGhook == false then | |
864 | execCmd("loadm") | |
865 | repeat wait() until MSGhook == true | |
866 | workspace.IYmessage.Text = '' | |
867 | wait(0.1) | |
868 | local b = Instance.new("BlurEffect", game.Lighting) | |
869 | b.Name = "IYmblur" | |
870 | b.Size = 18 | |
871 | workspace.IYmessage.Text = txt | |
872 | wait(game.CoreGui.MSGtime.Value) | |
873 | workspace.IYmessage.Text = '' | |
874 | b:Destroy() | |
875 | end | |
876 | end | |
877 | function rape(victim) | |
878 | spawn(function() | |
879 | local P1 = _players.LocalPlayer.Character.Torso | |
880 | local V1 = _players[victim].Character.Torso | |
881 | V1.Parent.Humanoid.PlatformStand = true | |
882 | P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder' | |
883 | P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder' | |
884 | V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder' | |
885 | V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder' | |
886 | V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip' | |
887 | V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip' | |
888 | local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1) | |
889 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4) | |
890 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0) | |
891 | local D2 = D:Clone() D2.Parent = P1 | |
892 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0) | |
893 | local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.Size = Vector3.new(0.4, 1.3, 0.4) | |
894 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0) | |
895 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1 | |
896 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0) | |
897 | local CM = Instance.new('CylinderMesh', C) | |
898 | local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1) | |
899 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2) | |
900 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0) | |
901 | local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1) | |
902 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2) | |
903 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0) | |
904 | local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1) | |
905 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2) | |
906 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0) | |
907 | local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1) | |
908 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2) | |
909 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0) | |
910 | LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0) | |
911 | LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0) | |
912 | LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0) | |
913 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end | |
914 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0) | |
915 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
916 | end) | |
917 | spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) end end end) | |
918 | end | |
919 | ||
920 | ---------------- | |
921 | ----Commands---- | |
922 | ---------------- | |
923 | addcmd('exe','gives you a quick executor',{'executor'}, | |
924 | function(args, speaker) | |
925 | local PlayerName = game.Players.LocalPlayer.Name | |
926 | ||
927 | Exploit = Instance.new("ScreenGui") | |
928 | ||
929 | UI = Instance.new("Frame") | |
930 | ScrollingFrame = Instance.new("ScrollingFrame") | |
931 | GScrollingFrame = Instance.new("ScrollingFrame") | |
932 | Source = Instance.new("TextBox") | |
933 | Execute = Instance.new("TextButton") | |
934 | Clear = Instance.new("TextButton") | |
935 | Close = Instance.new("TextButton") | |
936 | Open = Instance.new("TextButton") | |
937 | Name = Instance.new("TextLabel") | |
938 | TextButton = Instance.new("TextButton") | |
939 | -- Properties | |
940 | ||
941 | Exploit.Name = "Exploit" | |
942 | Exploit.Parent = game.Players.LocalPlayer.PlayerGui | |
943 | ||
944 | UI.Name = "UI" | |
945 | UI.Parent = Exploit | |
946 | UI.Active = true | |
947 | UI.BackgroundColor3 = Color3.new(0, 0, 0) | |
948 | UI.BorderColor3 = Color3.new(255, 255, 255) | |
949 | UI.Draggable = true | |
950 | UI.Position = UDim2.new(0, 31, 0, 111) | |
951 | UI.Selectable = true | |
952 | UI.Size = UDim2.new(0, 600, 0, 300) | |
953 | UI.Visible = false | |
954 | ||
955 | ScrollingFrame.Parent = UI | |
956 | ScrollingFrame.BackgroundColor3 = Color3.new(0, 0, 0) | |
957 | ScrollingFrame.BorderColor3 = Color3.new(255, 255, 255) | |
958 | ScrollingFrame.Position = UDim2.new(0, 10, 0, 10) | |
959 | ScrollingFrame.Size = UDim2.new(0, 580, 0, 240) | |
960 | ScrollingFrame.CanvasSize = UDim2.new(0,0,20,0) | |
961 | ScrollingFrame.Changed:connect(function() | |
962 | GScrollingFrame.CanvasPosition = ScrollingFrame.CanvasPosition | |
963 | end) | |
964 | Source.Name = "Source" | |
965 | Source.Parent = ScrollingFrame | |
966 | Source.BackgroundColor3 = Color3.new(0, 0, 0) | |
967 | Source.BorderColor3 = Color3.new(0, 0,0) | |
968 | Source.Position = UDim2.new(0, 0, 0, 0) | |
969 | Source.Size = UDim2.new(0, 550, 0, 3000) | |
970 | Source.ClearTextOnFocus = false | |
971 | Source.Font = Enum.Font.Code | |
972 | Source.FontSize = Enum.FontSize.Size18 | |
973 | Source.MultiLine = true | |
974 | Source.Text = 'print("Hello World!")' | |
975 | Source.TextColor3 = Color3.new(255, 255, 255) | |
976 | Source.TextSize = 18 | |
977 | Source.TextWrapped = true | |
978 | Source.TextXAlignment = Enum.TextXAlignment.Left | |
979 | Source.TextYAlignment = Enum.TextYAlignment.Top | |
980 | ||
981 | Execute.Name = "Execute" | |
982 | Execute.Parent = UI | |
983 | Execute.BackgroundColor3 = Color3.new(0, 0, 0) | |
984 | Execute.BorderColor3 = Color3.new(255, 255, 255) | |
985 | Execute.Position = UDim2.new(0, 150, 0, 260) | |
986 | Execute.Size = UDim2.new(0, 60, 0, 30) | |
987 | Execute.Font = Enum.Font.SciFi | |
988 | Execute.FontSize = Enum.FontSize.Size14 | |
989 | Execute.Text = "Execute" | |
990 | Execute.TextColor3 = Color3.new(255, 255, 255) | |
991 | Execute.TextSize = 14 | |
992 | Execute.MouseButton1Down:connect(function() | |
993 | Name.Text = "Running" | |
994 | loadstring(tostring(Source.Text))() | |
995 | Name.Text = "Executed" | |
996 | wait(1) | |
997 | Name.Text = "Quick Exe" | |
998 | end) | |
999 | Clear.Name = "Clear" | |
1000 | Clear.Parent = UI | |
1001 | Clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
1002 | Clear.BorderColor3 = Color3.new(255, 255, 255) | |
1003 | Clear.Position = UDim2.new(0, 380, 0, 260) | |
1004 | Clear.Size = UDim2.new(0, 60, 0, 30) | |
1005 | Clear.Font = Enum.Font.SciFi | |
1006 | Clear.FontSize = Enum.FontSize.Size14 | |
1007 | Clear.Text = "Clear" | |
1008 | Clear.TextColor3 = Color3.new(255, 255, 255) | |
1009 | Clear.TextSize = 14 | |
1010 | Clear.MouseButton1Down:connect(function() | |
1011 | Name.Text = "Cleared!" | |
1012 | Source.Text = "" | |
1013 | wait(1) | |
1014 | Name.Text = "Quick Exe" | |
1015 | end) | |
1016 | ||
1017 | Close.Name = "Close" | |
1018 | Close.Parent = UI | |
1019 | Close.BackgroundColor3 = Color3.new(0, 0, 0) | |
1020 | Close.BorderColor3 = Color3.new(255, 255, 255) | |
1021 | Close.Position = UDim2.new(0, 270, 0, 301) | |
1022 | Close.Size = UDim2.new(0, 50, 0, 15) | |
1023 | Close.Font = Enum.Font.Code | |
1024 | Close.FontSize = Enum.FontSize.Size14 | |
1025 | Close.Text = "Hide" | |
1026 | Close.TextColor3 = Color3.new(255, 255, 255) | |
1027 | Close.TextSize = 14 | |
1028 | Close.MouseButton1Down:connect(function() | |
1029 | UI.Visible = false | |
1030 | for Down = 146,600,16 do | |
1031 | wait(0) | |
1032 | end | |
1033 | Open.Visible = true | |
1034 | end) | |
1035 | Open.Name = "Open" | |
1036 | Open.Parent = Exploit | |
1037 | Open.BackgroundColor3 = Color3.new(0, 0, 0) | |
1038 | Open.BorderColor3 = Color3.new(255, 255, 255) | |
1039 | Open.Position = UDim2.new(0, 100, 0.9, 0) | |
1040 | Open.Size = UDim2.new(0, 300, 0, 30) | |
1041 | Open.Visible = false | |
1042 | Open.Font = Enum.Font.Code | |
1043 | Open.FontSize = Enum.FontSize.Size14 | |
1044 | Open.Text = "Left click = open | Right Click = exit" | |
1045 | Open.TextColor3 = Color3.new(255, 255, 255) | |
1046 | Open.TextSize = 14 | |
1047 | Open.MouseButton1Down:connect(function() | |
1048 | UI.Visible = true | |
1049 | Open.Visible = false | |
1050 | for Up = 600,146,-16 do | |
1051 | wait(0) | |
1052 | end | |
1053 | end) | |
1054 | Open.MouseButton2Down:connect(function() | |
1055 | Exploit:Destroy() | |
1056 | for Up = 600,146,-16 do | |
1057 | wait(0) | |
1058 | end | |
1059 | end) | |
1060 | ||
1061 | Name.Name = "Name" | |
1062 | Name.Parent = UI | |
1063 | Name.BackgroundColor3 = Color3.new(0, 0, 0) | |
1064 | Name.BorderColor3 = Color3.new(255, 255, 255) | |
1065 | Name.Position = UDim2.new(0, 190, 0, -31) | |
1066 | Name.Size = UDim2.new(0, 220, 0, 30) | |
1067 | Name.Font = Enum.Font.SciFi | |
1068 | Name.FontSize = Enum.FontSize.Size24 | |
1069 | Name.Text = "Quick Exe" | |
1070 | Name.TextColor3 = Color3.new(0.490196, 0.490196, 0.490196) | |
1071 | Name.TextSize = 24 | |
1072 | ||
1073 | UI.Visible = true | |
1074 | Name.Text = "Quick Exe" | |
1075 | ||
1076 | while true do | |
1077 | wait(0) | |
1078 | for i = 255,100,-5 do | |
1079 | Name.TextColor3 = Color3.fromRGB(i,i,i) | |
1080 | wait(0) | |
1081 | end | |
1082 | for c = 100,255,5 do | |
1083 | Name.TextColor3 = Color3.fromRGB(c,c,c) | |
1084 | wait(0) | |
1085 | end | |
1086 | end | |
1087 | end) | |
1088 | ||
1089 | addcmd('ff','gives ff to player',{}, | |
1090 | function(args, speaker) | |
1091 | local players = getPlayer(args[1], speaker) | |
1092 | for i,v in pairs(players)do | |
1093 | local pchar=_char(v) | |
1094 | Instance.new("ForceField", pchar) | |
1095 | end | |
1096 | end) | |
1097 | ||
1098 | addcmd('rejoin','gives ff to player',{'rj'}, | |
1099 | function(args, speaker) | |
1100 | game:GetService('TeleportService'):Teleport(game.PlaceId) | |
1101 | end) | |
1102 | ||
1103 | addcmd('unff', 'takes away ff from player',{'unff'}, | |
1104 | function(args, speaker) | |
1105 | local players = getPlayer(args[1], speaker) | |
1106 | for i,v in pairs(players)do | |
1107 | local pchar=_char(v) | |
1108 | for j,v1 in pairs(pchar:GetChildren()) do | |
1109 | if v1:IsA("ForceField") then | |
1110 | v1:Destroy() | |
1111 | end | |
1112 | end | |
1113 | end | |
1114 | end) | |
1115 | ||
1116 | addcmd('spasm','makes someone c r a z y',{}, | |
1117 | function(args, speaker) | |
1118 | local players = getPlayer(args[1], speaker) | |
1119 | for i,v in pairs(players)do | |
1120 | local pchar=_char(v) | |
1121 | local AnimationId = "33796059" | |
1122 | local Anim = Instance.new("Animation") | |
1123 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
1124 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
1125 | k:Play() | |
1126 | k:AdjustSpeed(99) | |
1127 | end | |
1128 | end) | |
1129 | ||
1130 | ||
1131 | addcmd('fly','makes you fly',{}, | |
1132 | function(args, speaker) | |
1133 | sFLY() | |
1134 | end) | |
1135 | ||
1136 | addcmd('unfly','takes away fly',{'nofly'}, | |
1137 | function(args, speaker) | |
1138 | NOFLY() | |
1139 | end) | |
1140 | ||
1141 | ||
1142 | addcmd('fire', 'set a player on fire',{}, | |
1143 | function(args, speaker) | |
1144 | local players = getPlayer(args[1], speaker) | |
1145 | for i,v in pairs(players)do | |
1146 | spawn(function() | |
1147 | local pchar=_char(v) | |
1148 | local Fire1 = Instance.new("Fire", pchar.Head) | |
1149 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart) | |
1150 | local Fire3 = Instance.new("Fire", pchar["Left Arm"]) | |
1151 | local Fire4 = Instance.new("Fire", pchar["Right Arm"]) | |
1152 | local Fire5 = Instance.new("Fire", pchar["Left Leg"]) | |
1153 | local Fire6 = Instance.new("Fire", pchar["Right Leg"]) | |
1154 | if not args[2] then return end | |
1155 | Fire1.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1156 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1157 | Fire2.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1158 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1159 | Fire3.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1160 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1161 | Fire4.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1162 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1163 | Fire5.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1164 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1165 | Fire6.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1166 | Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
1167 | end) | |
1168 | end | |
1169 | end) | |
1170 | ||
1171 | addcmd('nofire', 'extinguish a player',{'unfire'}, | |
1172 | function(args, speaker) | |
1173 | local players = getPlayer(args[1], speaker) | |
1174 | for i,v in pairs(players)do | |
1175 | local pchar=_char(v) | |
1176 | for j,v1 in pairs(pchar.Head:GetChildren()) do | |
1177 | if v1:IsA("Fire") then | |
1178 | v1:Destroy() | |
1179 | end | |
1180 | end | |
1181 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
1182 | if v1:IsA("Fire") then | |
1183 | v1:Destroy() | |
1184 | end | |
1185 | end | |
1186 | for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do | |
1187 | if v1:IsA("Fire") then | |
1188 | v1:Destroy() | |
1189 | end | |
1190 | end | |
1191 | for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do | |
1192 | if v1:IsA("Fire") then | |
1193 | v1:Destroy() | |
1194 | end | |
1195 | end | |
1196 | for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do | |
1197 | if v1:IsA("Fire") then | |
1198 | v1:Destroy() | |
1199 | end | |
1200 | end | |
1201 | for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do | |
1202 | if v1:IsA("Fire") then | |
1203 | v1:Destroy() | |
1204 | end | |
1205 | end | |
1206 | end | |
1207 | end) | |
1208 | ||
1209 | addcmd('light', 'givs em light',{}, | |
1210 | function(args, speaker) | |
1211 | local players = getPlayer(args[1], speaker) | |
1212 | for i,v in pairs(players)do | |
1213 | spawn(function() | |
1214 | local pchar=_char(v) | |
1215 | local light = Instance.new("PointLight", pchar.HumanoidRootPart) | |
1216 | light.Range = 12 | |
1217 | light.Brightness = 3 | |
1218 | if not args[2] then return end | |
1219 | light.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1220 | light.Range = 12 | |
1221 | light.Brightness = 3 | |
1222 | end) | |
1223 | end | |
1224 | end) | |
1225 | ||
1226 | addcmd('nolight', 'no more light',{'unlight'}, | |
1227 | function(args, speaker) | |
1228 | local players = getPlayer(args[1], speaker) | |
1229 | for i,v in pairs(players)do | |
1230 | local pchar=_char(v) | |
1231 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
1232 | if v1:IsA("PointLight") then | |
1233 | v1:Destroy() | |
1234 | end | |
1235 | end | |
1236 | end | |
1237 | end) | |
1238 | ||
1239 | addcmd('loopkill', 'rip person',{'lkill'}, | |
1240 | function(args, speaker) | |
1241 | local players = getPlayer(args[1], speaker) | |
1242 | for i,v in pairs(players)do | |
1243 | if not FindTable(loopkillT, _players[v].Name) then | |
1244 | table.insert(loopkillT, _players[v].Name) | |
1245 | if args[1] == "all" then | |
1246 | Notify('Loopkilling everyone') | |
1247 | elseif args[1] == "others" then | |
1248 | Notify('Loopkilling others') | |
1249 | elseif args[1] == "friends" then | |
1250 | Notify('Loopkilling friends') | |
1251 | elseif args[1] == "nonfriends" then | |
1252 | Notify('Loopkilling nonfriends') | |
1253 | elseif args[1] == "team" then | |
1254 | Notify('Loopkilling your team') | |
1255 | elseif args[1] == "nonteam" then | |
1256 | Notify('Loopkilling the opposing team') | |
1257 | elseif args[1] == "guests" then | |
1258 | Notify('Loopkilling guests') | |
1259 | elseif args[1] == "admins" then | |
1260 | Notify('Loopkilling admins') | |
1261 | elseif args[1] == "nonadmins" then | |
1262 | Notify('Loopkilling non admins') | |
1263 | else | |
1264 | Notify('Loopkilling ' .. gPlayers[v].Name) | |
1265 | end | |
1266 | end | |
1267 | end | |
1268 | end) | |
1269 | ||
1270 | addcmd('unloopkill', 'un rip person',{'unlkill'}, | |
1271 | function(args, speaker) | |
1272 | local players = getPlayer(args[1], speaker) | |
1273 | for i,v in pairs(players)do | |
1274 | if FindTable(loopkillT, _players[v].Name) then | |
1275 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
1276 | if args[1] == "all" then | |
1277 | Notify('No longer loopkilling everyone') | |
1278 | elseif args[1] == "others" then | |
1279 | Notify('No longer loopkilling others') | |
1280 | elseif args[1] == "friends" then | |
1281 | Notify('No longer loopkilling friends') | |
1282 | elseif args[1] == "nonfriends" then | |
1283 | Notify('No longer loopkilling nonfriends') | |
1284 | elseif args[1] == "team" then | |
1285 | Notify('No longer loopkilling your team') | |
1286 | elseif args[1] == "nonteam" then | |
1287 | Notify('No longer loopkilling the opposing team') | |
1288 | elseif args[1] == "guests" then | |
1289 | Notify('No longer loopkilling guests') | |
1290 | elseif args[1] == "admins" then | |
1291 | Notify('No longer loopkilling admins') | |
1292 | elseif args[1] == "nonadmins" then | |
1293 | Notify('No longer loopkilling nonadmins') | |
1294 | else | |
1295 | Notify('No longer loopkilling ' .. gPlayers[v].Name) | |
1296 | end | |
1297 | end | |
1298 | end | |
1299 | end) | |
1300 | ||
1301 | addcmd('disabletools', 'removes their tools',{'loopremovetools'}, | |
1302 | function(args, speaker) | |
1303 | local players = getPlayer(args[1], speaker) | |
1304 | for i,v in pairs(players)do | |
1305 | if not FindTable(disabletoolsT, _players[v].Name) then | |
1306 | table.insert(disabletoolsT, _players[v].Name) | |
1307 | if args[1] == "all" then | |
1308 | Notify('Disabled tools for everyone') | |
1309 | elseif args[1] == "others" then | |
1310 | Notify('Disabled tools for others') | |
1311 | elseif args[1] == "friends" then | |
1312 | Notify('Disabled tools for friends') | |
1313 | elseif args[1] == "nonfriends" then | |
1314 | Notify('Disabled tools for nonfriends') | |
1315 | elseif args[1] == "team" then | |
1316 | Notify('Disabled tools for your team') | |
1317 | elseif args[1] == "nonteam" then | |
1318 | Notify('Disabled tools for the opposing team') | |
1319 | elseif args[1] == "guests" then | |
1320 | Notify('Disabled tools for guests') | |
1321 | elseif args[1] == "admins" then | |
1322 | Notify('Disabled tools for admins') | |
1323 | elseif args[1] == "nonadmins" then | |
1324 | Notify('Disabled tools for nonadmins') | |
1325 | else | |
1326 | Notify('Disabled tools for ' .. gPlayers[v].Name) | |
1327 | end | |
1328 | end | |
1329 | end | |
1330 | end) | |
1331 | ||
1332 | addcmd('rainbowname', 'color spam their name tag',{'rname'}, | |
1333 | function(args, speaker) | |
1334 | local players = getPlayer(args[1], speaker) | |
1335 | for i,v in pairs(players)do | |
1336 | if not FindTable(rainbowT, _players[v].Name) then | |
1337 | table.insert(rainbowT, _players[v].Name) | |
1338 | if args[1] == "all" then | |
1339 | Notify('Gave everyone rainbow name') | |
1340 | elseif args[1] == "others" then | |
1341 | Notify('Gave others rainbow name') | |
1342 | elseif args[1] == "friends" then | |
1343 | Notify('Gave friends rainbow name') | |
1344 | elseif args[1] == "nonfriends" then | |
1345 | Notify('Gave nonfriends rainbow name') | |
1346 | elseif args[1] == "team" then | |
1347 | Notify('Gave your team rainbow name') | |
1348 | elseif args[1] == "nonteam" then | |
1349 | Notify('Gave the opposing team rainbow name') | |
1350 | elseif args[1] == "guests" then | |
1351 | Notify('Gave guests rainbow name') | |
1352 | elseif args[1] == "admins" then | |
1353 | Notify('Gave admins rainbowname') | |
1354 | elseif args[1] == "nonadmins" then | |
1355 | Notify('Gave nonadmins rainbow name') | |
1356 | else | |
1357 | Notify('Gave ' .. gPlayers[v].Name .. ' rainbow name') | |
1358 | end | |
1359 | end | |
1360 | end | |
1361 | end) | |
1362 | ||
1363 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'}, | |
1364 | function(args, speaker) | |
1365 | local players = getPlayer(args[1], speaker) | |
1366 | for i,v in pairs(players)do | |
1367 | if FindTable(rainbowT, _players[v].Name) then | |
1368 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
1369 | _players[v].Neutral = true | |
1370 | if args[1] == "all" then | |
1371 | Notify('Disabled rainbow name for everyone') | |
1372 | elseif args[1] == "others" then | |
1373 | Notify('Disabled others rainbow name') | |
1374 | elseif args[1] == "friends" then | |
1375 | Notify('Disabled friends rainbow name') | |
1376 | elseif args[1] == "nonfriends" then | |
1377 | Notify('Disabled non friends rainbow name') | |
1378 | elseif args[1] == "team" then | |
1379 | Notify('Disabled rainbow name for your team') | |
1380 | elseif args[1] == "nonteam" then | |
1381 | Notify('Disabled rainbow name for the opposing team') | |
1382 | elseif args[1] == "guests" then | |
1383 | Notify('Disabled rainbow name for guests') | |
1384 | elseif args[1] == "admins" then | |
1385 | Notify('Disabled rainbow name for admins') | |
1386 | elseif args[1] == "nonadmins" then | |
1387 | Notify('Disabled rainbow name for non admins') | |
1388 | else | |
1389 | Notify('Disabled rainbow name for ' .. gPlayers[v].Name) | |
1390 | end | |
1391 | end | |
1392 | end | |
1393 | end) | |
1394 | ||
1395 | addcmd('enabletools', 'lets them have tools',{'unloopremovetools'}, | |
1396 | function(args, speaker) | |
1397 | local players = getPlayer(args[1], speaker) | |
1398 | for i,v in pairs(players)do | |
1399 | if FindTable(disabletoolsT, _players[v].Name) then | |
1400 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) | |
1401 | if args[1] == "all" then | |
1402 | Notify('Enabled tools for everyone') | |
1403 | elseif args[1] == "others" then | |
1404 | Notify('Enabled tools for others') | |
1405 | elseif args[1] == "friends" then | |
1406 | Notify('Enabled tools for friends') | |
1407 | elseif args[1] == "nonfriends" then | |
1408 | Notify('Enabled tools for nonfriends') | |
1409 | elseif args[1] == "team" then | |
1410 | Notify('Enabled tools for your team') | |
1411 | elseif args[1] == "nonteam" then | |
1412 | Notify('Enabled tools for the opposing team') | |
1413 | elseif args[1] == "guests" then | |
1414 | Notify('Enabled tools for guests') | |
1415 | elseif args[1] == "admins" then | |
1416 | Notify('Enabled tools for admins') | |
1417 | elseif args[1] == "nonadmins" then | |
1418 | Notify('Enabled tools for nonadmins') | |
1419 | else | |
1420 | Notify('Enabled tools for ' .. gPlayers[v].Name) | |
1421 | end | |
1422 | end | |
1423 | end | |
1424 | end) | |
1425 | ||
1426 | addcmd('nil', 'removes the player',{}, | |
1427 | function(args, speaker) | |
1428 | local players = getPlayer(args[1], speaker) | |
1429 | for i,v in pairs(players)do | |
1430 | pcall(function() gPlayers[v].Character:Remove() end) | |
1431 | gPlayers[v].Character = nil | |
1432 | if args[1] == "all" then | |
1433 | Notify('Made everyone nil') | |
1434 | elseif args[1] == "others" then | |
1435 | Notify('Made others nil') | |
1436 | elseif args[1] == "friends" then | |
1437 | Notify('Made friends nil') | |
1438 | elseif args[1] == "nonfriends" then | |
1439 | Notify('Made non friends nil') | |
1440 | elseif args[1] == "team" then | |
1441 | Notify('Made your team nil') | |
1442 | elseif args[1] == "nonteam" then | |
1443 | Notify('Made the opposing team nil') | |
1444 | elseif args[1] == "guests" then | |
1445 | Notify('Made guests nil') | |
1446 | elseif args[1] == "admins" then | |
1447 | Notify('Made admins nil') | |
1448 | elseif args[1] == "nonadmins" then | |
1449 | Notify('Made nonadmins nil') | |
1450 | else | |
1451 | Notify('Made ' .. gPlayers[v].Name .. ' nil') | |
1452 | end | |
1453 | end | |
1454 | end) | |
1455 | ||
1456 | addcmd('ban', 'goodbye ;)',{}, | |
1457 | function(args, speaker) | |
1458 | local players = getPlayer(args[1], speaker) | |
1459 | for i,v in pairs(players)do | |
1460 | if args[1] == "all" then | |
1461 | Notify('Banned everyone') | |
1462 | elseif args[1] == "others" then | |
1463 | Notify('Banned others') | |
1464 | elseif args[1] == "friends" then | |
1465 | Notify('Banned friends') | |
1466 | elseif args[1] == "nonfriends" then | |
1467 | Notify('Banned nonfriends') | |
1468 | elseif args[1] == "team" then | |
1469 | Notify('Your team has been banned') | |
1470 | elseif args[1] == "nonteam" then | |
1471 | Notify('The opposing team has been banned') | |
1472 | elseif args[1] == "guests" then | |
1473 | Notify('Guests have been banned') | |
1474 | elseif args[1] == "nonadmins" then | |
1475 | Notify('Nonadmins have been banned') | |
1476 | else | |
1477 | Notify(gPlayers[v].Name .. ' has been banned') | |
1478 | end | |
1479 | spawn(function() | |
1480 | table.insert(banT, _players[v].userId) | |
1481 | function Kick(PLAYER) | |
1482 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
1483 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
1484 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
1485 | Plat.Name = 'IYkick' | |
1486 | Plat.Size = Vector3.new(100, 1, 100) | |
1487 | local PART = Instance.new('Part', PLAYER.Character) | |
1488 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
1489 | PART.Size = Vector3.new(100, 1, 100) | |
1490 | PART.Anchored = true | |
1491 | ||
1492 | PART.Transparency = 1 | |
1493 | Plat.Transparency = 1 | |
1494 | ||
1495 | repeat wait(1) | |
1496 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
1497 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
1498 | end | |
1499 | Kick(PLAYER) | |
1500 | until not game.Players:findFirstChild(PLAYER) | |
1501 | end | |
1502 | end | |
1503 | Kick(gPlayers[v]) | |
1504 | end) | |
1505 | end | |
1506 | end) | |
1507 | ||
1508 | addcmd('clearbans', 'welcome back!',{'clrbans'}, | |
1509 | function(args, speaker) | |
1510 | banT = {} | |
1511 | Notify('Removed all bans') | |
1512 | end) | |
1513 | ||
1514 | addcmd('verify', 'dismiss',{''}, | |
1515 | function(args, speaker) | |
1516 | local players = getPlayer(args[1], speaker) | |
1517 | for i,v in pairs(players)do | |
1518 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
1519 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove() | |
1520 | end | |
1521 | end | |
1522 | end) | |
1523 | ||
1524 | addcmd('admin', 'ur an admin now ;o',{}, | |
1525 | function(args, speaker) | |
1526 | local players = getPlayer(args[1], speaker) | |
1527 | for i,v in pairs(players)do | |
1528 | if not FindTable(admins, _players[v].Name) then | |
1529 | table.insert(admins, _players[v].Name) | |
1530 | if args[1] == "all" then | |
1531 | Notify('Everyone has been given admin') | |
1532 | elseif args[1] == "others" then | |
1533 | Notify('Others have been given admin') | |
1534 | elseif args[1] == "friends" then | |
1535 | Notify('Friends have been given admin') | |
1536 | elseif args[1] == "team" then | |
1537 | Notify('Your team has been given admin') | |
1538 | elseif args[1] == "nonteam" then | |
1539 | Notify('The opposing team has been given admin') | |
1540 | else | |
1541 | Notify(gPlayers[v].Name .. ' has been given admin') | |
1542 | game.Chat:Chat(gPlayers[v].Character.Head, 'You are now an admin! The prefix is ' .. cmdprefix) | |
1543 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
1544 | if mod:FindFirstChild("TAG") then | |
1545 | gPlayers[v].Character.Head.Transparency = 0 | |
1546 | mod:Destroy() | |
1547 | end | |
1548 | end | |
1549 | ||
1550 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
1551 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove() | |
1552 | end | |
1553 | ||
1554 | y = Instance.new("BillboardGui") | |
1555 | y.Size = UDim2.new(0,100,0,150) | |
1556 | y.StudsOffset = Vector3.new(0,1,0) | |
1557 | y.Parent = gPlayers[v].Character.Head | |
1558 | y.Adornee = gPlayers[v].Character.Head | |
1559 | f = Instance.new("TextLabel") | |
1560 | f.Parent = y | |
1561 | f.BackgroundTransparency = 1 | |
1562 | f.Position = UDim2.new(0,0,0,-50) | |
1563 | f.Size = UDim2.new(0,100,0,100) | |
1564 | f.Font = "ArialBold" | |
1565 | f.TextSize = 20 | |
1566 | f.Text = "Go to cmds.infiniteyield.x10host.com to view commands (say ;verify me to dismiss)" | |
1567 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
1568 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
1569 | f.TextStrokeTransparency = 0 | |
1570 | f.TextYAlignment = "Bottom" | |
1571 | end | |
1572 | end | |
1573 | end | |
1574 | end) | |
1575 | ||
1576 | addcmd('bang','owo',{'rape'}, | |
1577 | function(args, speaker) | |
1578 | local players = getPlayer(args[1], speaker) | |
1579 | for i,v in pairs(players)do | |
1580 | rape(_players[v].Name) | |
1581 | end | |
1582 | end) | |
1583 | ||
1584 | addcmd('clearadmins', 'welcome back!',{'clradmins'}, | |
1585 | function(args, speaker) | |
1586 | admins = {} | |
1587 | Notify('Removed all admins') | |
1588 | end) | |
1589 | ||
1590 | addcmd('unadmin', 'removes the admin',{'noadmin'}, | |
1591 | function(args, speaker) | |
1592 | local players = getPlayer(args[1], speaker) | |
1593 | for i,v in pairs(players)do | |
1594 | if FindTable(admins, _players[v].Name) then | |
1595 | table.remove(admins, GetInTable(admins, _players[v].Name)) | |
1596 | if args[1] == "all" then | |
1597 | Notify('Removed everyones admin') | |
1598 | elseif args[1] == "others" then | |
1599 | Notify('Others no longer have admin') | |
1600 | elseif args[1] == "friends" then | |
1601 | Notify('Friends no longer have admin') | |
1602 | elseif args[1] == "team" then | |
1603 | Notify('Your team no longer has admin') | |
1604 | elseif args[1] == "nonteam" then | |
1605 | Notify('The opposing team no longer has admin') | |
1606 | else | |
1607 | Notify(gPlayers[v].Name .. ' no longer has admin') | |
1608 | end | |
1609 | end | |
1610 | game.Chat:Chat(gPlayers[v].Character.Head, 'You are no longer an admin') | |
1611 | end | |
1612 | end) | |
1613 | ||
1614 | addcmd('bgui', 'gives player billboard gui presenting text',{}, | |
1615 | function(args, speaker) | |
1616 | local players = getPlayer(args[1], speaker) | |
1617 | for i,v in pairs(players)do | |
1618 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
1619 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove() | |
1620 | end | |
1621 | ||
1622 | y = Instance.new("BillboardGui") | |
1623 | y.Size = UDim2.new(0,100,0,150) | |
1624 | y.StudsOffset = Vector3.new(0,1,0) | |
1625 | y.Parent = gPlayers[v].Character.Head | |
1626 | y.Adornee = gPlayers[v].Character.Head | |
1627 | f = Instance.new("TextLabel") | |
1628 | f.Parent = y | |
1629 | f.BackgroundTransparency = 1 | |
1630 | f.Position = UDim2.new(0,0,0,-50) | |
1631 | f.Size = UDim2.new(0,100,0,100) | |
1632 | f.Font = "Highway" | |
1633 | f.FontSize = "Size48" | |
1634 | f.Text = GLS(false, 1) | |
1635 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
1636 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
1637 | f.TextStrokeTransparency = 0 | |
1638 | f.TextYAlignment = "Bottom" | |
1639 | end | |
1640 | end) | |
1641 | ||
1642 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'}, | |
1643 | function(args, speaker) | |
1644 | local players = getPlayer(args[1], speaker) | |
1645 | for i,v in pairs(players)do | |
1646 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then | |
1647 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove() | |
1648 | end | |
1649 | end | |
1650 | end) | |
1651 | ||
1652 | addcmd('rhats', 'no more hats',{'removehats'}, | |
1653 | function(args, speaker) | |
1654 | local players = getPlayer(args[1], speaker) | |
1655 | for i,v in pairs(players) do | |
1656 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
1657 | if v:IsA('Accessory') then | |
1658 | v:destroy() | |
1659 | end | |
1660 | end | |
1661 | end | |
1662 | end) | |
1663 | ||
1664 | addcmd('removetools', 'no more tools',{'rtools'}, | |
1665 | function(args, speaker) | |
1666 | local players = getPlayer(args[1], speaker) | |
1667 | for i,v in pairs(players) do | |
1668 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
1669 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
1670 | v:destroy() | |
1671 | end | |
1672 | for i,v in pairs(players) do | |
1673 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
1674 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
1675 | v:destroy() | |
1676 | end | |
1677 | end | |
1678 | end | |
1679 | end | |
1680 | end | |
1681 | end) | |
1682 | ||
1683 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools'}, | |
1684 | function(args, speaker) | |
1685 | local players = getPlayer(args[1], speaker) | |
1686 | for i,v in pairs(players) do | |
1687 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
1688 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
1689 | v:Clone().Parent = LP.Backpack | |
1690 | end | |
1691 | end | |
1692 | end | |
1693 | end) | |
1694 | ||
1695 | addcmd('gravity', 'workspace gravity',{''}, | |
1696 | function(args, speaker) | |
1697 | workspace.Gravity = args[1] | |
1698 | Notify('Gravity set to ' .. args[1]) | |
1699 | end) | |
1700 | ||
1701 | addcmd('serverinfo', 'gives you info about the server',{'info'}, | |
1702 | function(args, speaker) | |
1703 | wait(0.5) | |
1704 | ||
1705 | -- Objects | |
1706 | ||
1707 | local Sinfo = Instance.new("ScreenGui") | |
1708 | local Time = Instance.new("TextLabel") | |
1709 | local TextLabel = Instance.new("TextLabel") | |
1710 | local TextLabel3 = Instance.new("TextLabel") | |
1711 | local name = Instance.new("TextLabel") | |
1712 | local fe = Instance.new("TextLabel") | |
1713 | local players = Instance.new("TextLabel") | |
1714 | local maxplayers = Instance.new("TextLabel") | |
1715 | local TextLabel2 = Instance.new("TextLabel") | |
1716 | local playerid = Instance.new("TextLabel") | |
1717 | local appearance = Instance.new("TextLabel") | |
1718 | local placeid = Instance.new("TextLabel") | |
1719 | local exit = Instance.new("TextButton") | |
1720 | ||
1721 | -- Properties | |
1722 | ||
1723 | Sinfo.Name = "Sinfo" | |
1724 | Sinfo.Parent = game.Players.LocalPlayer.PlayerGui | |
1725 | ||
1726 | Time.Name = "Time" | |
1727 | Time.Parent = Sinfo | |
1728 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1729 | Time.BackgroundTransparency = 1 | |
1730 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1731 | Time.Position = UDim2.new(0, 20, 0.924000025, 0) | |
1732 | Time.Size = UDim2.new(0, 1000, 0, 20) | |
1733 | Time.Font = Enum.Font.ArialBold | |
1734 | Time.FontSize = Enum.FontSize.Size14 | |
1735 | Time.Text = "0 Hours, 0 Minute(s), 0 Seconds" | |
1736 | Time.TextColor3 = Color3.new(1, 1, 1) | |
1737 | Time.TextStrokeTransparency = 0 | |
1738 | ||
1739 | TextLabel.Name = "Text Label" | |
1740 | TextLabel.Parent = Sinfo | |
1741 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
1742 | TextLabel.BackgroundTransparency = 1 | |
1743 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
1744 | TextLabel.Position = UDim2.new(0, 50, 0.924000025, 0) | |
1745 | TextLabel.Size = UDim2.new(0, 600, 0, 20) | |
1746 | TextLabel.Font = Enum.Font.ArialBold | |
1747 | TextLabel.FontSize = Enum.FontSize.Size14 | |
1748 | TextLabel.Text = "Server Time:" | |
1749 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
1750 | TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1751 | TextLabel.TextStrokeTransparency = 0 | |
1752 | ||
1753 | TextLabel3.Name = "Text Label3" | |
1754 | TextLabel3.Parent = Sinfo | |
1755 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
1756 | TextLabel3.BackgroundTransparency = 1 | |
1757 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
1758 | TextLabel3.Position = UDim2.new(0, -250, 0.924000025, 0) | |
1759 | TextLabel3.Size = UDim2.new(0, 600, 0, 20) | |
1760 | TextLabel3.Font = Enum.Font.ArialBold | |
1761 | TextLabel3.FontSize = Enum.FontSize.Size14 | |
1762 | TextLabel3.Text = "Local Player:" | |
1763 | TextLabel3.TextColor3 = Color3.new(0, 0, 0) | |
1764 | TextLabel3.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1765 | TextLabel3.TextStrokeTransparency = 0 | |
1766 | ||
1767 | name.Name = "name" | |
1768 | name.Parent = Sinfo | |
1769 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1770 | name.BackgroundTransparency = 1 | |
1771 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1772 | name.Position = UDim2.new(0, 350, 0.899999976, 0) | |
1773 | name.Size = UDim2.new(0, 1000, 0, 20) | |
1774 | name.Font = Enum.Font.ArialBold | |
1775 | name.FontSize = Enum.FontSize.Size14 | |
1776 | name.Text = "Loading Place Name" | |
1777 | name.TextColor3 = Color3.new(1, 1, 1) | |
1778 | name.TextStrokeTransparency = 0 | |
1779 | ||
1780 | fe.Name = "fe" | |
1781 | fe.Parent = Sinfo | |
1782 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1783 | fe.BackgroundTransparency = 1 | |
1784 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1785 | fe.Position = UDim2.new(0, 350, 0.949999988, 0) | |
1786 | fe.Size = UDim2.new(0, 1000, 0, 20) | |
1787 | fe.Font = Enum.Font.ArialBold | |
1788 | fe.FontSize = Enum.FontSize.Size14 | |
1789 | fe.Text = "Loading FE Status" | |
1790 | fe.TextColor3 = Color3.new(1, 1, 1) | |
1791 | fe.TextStrokeTransparency = 0 | |
1792 | ||
1793 | players.Name = "players" | |
1794 | players.Parent = Sinfo | |
1795 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1796 | players.BackgroundTransparency = 1 | |
1797 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1798 | players.Position = UDim2.new(0, 530, 0.899999976, 0) | |
1799 | players.Size = UDim2.new(0, 1000, 0, 20) | |
1800 | players.Font = Enum.Font.ArialBold | |
1801 | players.FontSize = Enum.FontSize.Size14 | |
1802 | players.Text = "Loading Players" | |
1803 | players.TextColor3 = Color3.new(1, 1, 1) | |
1804 | players.TextStrokeTransparency = 0 | |
1805 | ||
1806 | maxplayers.Name = "maxplayers" | |
1807 | maxplayers.Parent = Sinfo | |
1808 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1809 | maxplayers.BackgroundTransparency = 1 | |
1810 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1811 | maxplayers.Position = UDim2.new(0, 530, 0.949999988, 0) | |
1812 | maxplayers.Size = UDim2.new(0, 1000, 0, 20) | |
1813 | maxplayers.Font = Enum.Font.ArialBold | |
1814 | maxplayers.FontSize = Enum.FontSize.Size14 | |
1815 | maxplayers.Text = "Loading Max Players" | |
1816 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
1817 | maxplayers.TextStrokeTransparency = 0 | |
1818 | ||
1819 | TextLabel2.Name = "Text Label2" | |
1820 | TextLabel2.Parent = Sinfo | |
1821 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
1822 | TextLabel2.BackgroundTransparency = 1 | |
1823 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
1824 | TextLabel2.Position = UDim2.new(0, 400, 0.924000025, 0) | |
1825 | TextLabel2.Size = UDim2.new(0, 600, 0, 20) | |
1826 | TextLabel2.Font = Enum.Font.ArialBold | |
1827 | TextLabel2.FontSize = Enum.FontSize.Size14 | |
1828 | TextLabel2.Text = "Statistics:" | |
1829 | TextLabel2.TextColor3 = Color3.new(0, 0, 0) | |
1830 | TextLabel2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1831 | TextLabel2.TextStrokeTransparency = 0 | |
1832 | ||
1833 | playerid.Name = "playerid" | |
1834 | playerid.Parent = Sinfo | |
1835 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1836 | playerid.BackgroundTransparency = 1 | |
1837 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1838 | playerid.Position = UDim2.new(0, -330, 0.899999976, 0) | |
1839 | playerid.Size = UDim2.new(0, 1000, 0, 20) | |
1840 | playerid.Font = Enum.Font.ArialBold | |
1841 | playerid.FontSize = Enum.FontSize.Size14 | |
1842 | playerid.Text = "Loading Player ID" | |
1843 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
1844 | playerid.TextStrokeTransparency = 0 | |
1845 | ||
1846 | appearance.Name = "appearance" | |
1847 | appearance.Parent = Sinfo | |
1848 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1849 | appearance.BackgroundTransparency = 1 | |
1850 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1851 | appearance.Position = UDim2.new(0, -330, 0.949999988, 0) | |
1852 | appearance.Size = UDim2.new(0, 1000, 0, 20) | |
1853 | appearance.Font = Enum.Font.ArialBold | |
1854 | appearance.FontSize = Enum.FontSize.Size14 | |
1855 | appearance.Text = "Loading Appearance ID" | |
1856 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
1857 | appearance.TextStrokeTransparency = 0 | |
1858 | ||
1859 | placeid.Name = "placeid" | |
1860 | placeid.Parent = Sinfo | |
1861 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1862 | placeid.BackgroundTransparency = 1 | |
1863 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1864 | placeid.Position = UDim2.new(0, 700, 0.899999976, 0) | |
1865 | placeid.Size = UDim2.new(0, 1000, 0, 20) | |
1866 | placeid.Font = Enum.Font.ArialBold | |
1867 | placeid.FontSize = Enum.FontSize.Size14 | |
1868 | placeid.Text = "Loading Place ID" | |
1869 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
1870 | placeid.TextStrokeTransparency = 0 | |
1871 | ||
1872 | exit.Name = "exit" | |
1873 | exit.Parent = Sinfo | |
1874 | exit.BackgroundColor3 = Color3.new(1, 1, 1) | |
1875 | exit.BorderColor3 = Color3.new(0, 0, 0) | |
1876 | exit.Position = UDim2.new(0, 1150, 0.944999993, 0) | |
1877 | exit.Size = UDim2.new(0, 100, 0, 25) | |
1878 | exit.FontSize = Enum.FontSize.Size10 | |
1879 | exit.Text = "Exit" | |
1880 | exit.TextColor3 = Color3.new(0, 0, 0) | |
1881 | ||
1882 | wait(0.5) | |
1883 | game.Players.LocalPlayer.PlayerGui.Sinfo.name.Text = game.Name | |
1884 | game.Players.LocalPlayer.PlayerGui.Sinfo.playerid.Text = "Player ID: " ..game.Players.LocalPlayer.UserId | |
1885 | if game.Workspace.FilteringEnabled == true then | |
1886 | game.Players.LocalPlayer.PlayerGui.Sinfo.fe.Text = "Filtering Enabled" | |
1887 | elseif game.Workspace.FilteringEnabled == false then | |
1888 | game.Players.LocalPlayer.PlayerGui.Sinfo.fe.Text = "Filtering Disabled" | |
1889 | end | |
1890 | players = game.Players:getPlayers() | |
1891 | game.Players.LocalPlayer.PlayerGui.Sinfo.maxplayers.Text = game.Players.MaxPlayers.. " Players Max" | |
1892 | game.Players.LocalPlayer.PlayerGui.Sinfo.placeid.Text = "Place ID: " ..game.PlaceId | |
1893 | ||
1894 | game.Players.LocalPlayer.PlayerGui.Sinfo.exit.MouseButton1Click:Connect(function() | |
1895 | wait() | |
1896 | game.Players.LocalPlayer.PlayerGui.Sinfo:Destroy() | |
1897 | end) | |
1898 | ||
1899 | while true do | |
1900 | wait() | |
1901 | game.Players.LocalPlayer.PlayerGui.Sinfo.players.Text = #players.. " Player(s)" | |
1902 | game.Players.LocalPlayer.PlayerGui.Sinfo.appearance.Text = "Appearance: " ..game.Players.LocalPlayer.CharacterAppearanceId | |
1903 | local seconds = math.floor(workspace.DistributedGameTime) | |
1904 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
1905 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
1906 | local seconds = seconds - (minutes * 60) | |
1907 | local minutes = minutes - (hours * 60) | |
1908 | if hours < 1 then | |
1909 | if minutes < 1 then | |
1910 | game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = seconds .. " Second(s)" | |
1911 | else | |
1912 | game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
1913 | end | |
1914 | else | |
1915 | game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
1916 | end | |
1917 | end | |
1918 | end) | |
1919 | ||
1920 | addcmd('sparkles', 'give a player sparkles',{}, | |
1921 | function(args, speaker) | |
1922 | local players = getPlayer(args[1], speaker) | |
1923 | for i,v in pairs(players)do | |
1924 | spawn(function() | |
1925 | local pchar=_char(v) | |
1926 | local Sparkles1 = Instance.new("Sparkles", pchar.Head) | |
1927 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart) | |
1928 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"]) | |
1929 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"]) | |
1930 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"]) | |
1931 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"]) | |
1932 | if not args[2] then return end | |
1933 | Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1934 | Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1935 | Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1936 | Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1937 | Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1938 | Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
1939 | end) | |
1940 | end | |
1941 | end) | |
1942 | ||
1943 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'}, | |
1944 | function(args, speaker) | |
1945 | local players = getPlayer(args[1], speaker) | |
1946 | for i,v in pairs(players)do | |
1947 | local pchar=_char(v) | |
1948 | for j,v1 in pairs(pchar.Head:GetChildren()) do | |
1949 | if v1:IsA("Sparkles") then | |
1950 | v1:Destroy() | |
1951 | end | |
1952 | end | |
1953 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
1954 | if v1:IsA("Sparkles") then | |
1955 | v1:Destroy() | |
1956 | end | |
1957 | end | |
1958 | for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do | |
1959 | if v1:IsA("Sparkles") then | |
1960 | v1:Destroy() | |
1961 | end | |
1962 | end | |
1963 | for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do | |
1964 | if v1:IsA("Sparkles") then | |
1965 | v1:Destroy() | |
1966 | end | |
1967 | end | |
1968 | for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do | |
1969 | if v1:IsA("Sparkles") then | |
1970 | v1:Destroy() | |
1971 | end | |
1972 | end | |
1973 | for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do | |
1974 | if v1:IsA("Sparkles") then | |
1975 | v1:Destroy() | |
1976 | end | |
1977 | end | |
1978 | end | |
1979 | end) | |
1980 | ||
1981 | addcmd('smoke', 'give a player smoke',{}, | |
1982 | function(args, speaker) | |
1983 | local players = getPlayer(args[1], speaker) | |
1984 | for i,v in pairs(players)do | |
1985 | local pchar=_char(v) | |
1986 | Instance.new("Smoke", pchar.HumanoidRootPart) | |
1987 | end | |
1988 | end) | |
1989 | ||
1990 | addcmd('addstat', 'give a player a stat',{'stat'}, | |
1991 | function(args, speaker) | |
1992 | local players = getPlayer(args[1], speaker) | |
1993 | for i,v in pairs(players)do | |
1994 | spawn(function() | |
1995 | wait(0.5) | |
1996 | ||
1997 | function meep() | |
1998 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
1999 | if child.Name == "STAT" then | |
2000 | child:Destroy() | |
2001 | end | |
2002 | end | |
2003 | ||
2004 | local score = Instance.new("StringValue") | |
2005 | ||
2006 | score.Name = "STAT" | |
2007 | score.Value = GLS(false, 1) | |
2008 | ||
2009 | score.Parent = gPlayers[v].leaderstats | |
2010 | end | |
2011 | ||
2012 | ||
2013 | if gPlayers[v]:FindFirstChild("leaderstats") then | |
2014 | meep() | |
2015 | else | |
2016 | local stats = Instance.new("IntValue") | |
2017 | stats.Name = "leaderstats" | |
2018 | stats.Parent = gPlayers[v] | |
2019 | wait(0.5) | |
2020 | meep() | |
2021 | end | |
2022 | end) | |
2023 | end | |
2024 | end) | |
2025 | ||
2026 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'}, | |
2027 | function(args, speaker) | |
2028 | local players = getPlayer(args[1], speaker) | |
2029 | for i,v in pairs(players)do | |
2030 | local pchar=_char(v) | |
2031 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
2032 | if v1:IsA("Smoke") then | |
2033 | v1:Destroy() | |
2034 | end | |
2035 | end | |
2036 | end | |
2037 | end) | |
2038 | ||
2039 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'}, | |
2040 | function(args, speaker) | |
2041 | local players = getPlayer(args[1], speaker) | |
2042 | for i,v in pairs(players)do | |
2043 | local pchar=_char(v) | |
2044 | for i,v in pairs(pchar:GetChildren()) do | |
2045 | if pchar.Torso:FindFirstChild("Neck") then | |
2046 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
2047 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
2048 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1) | |
2049 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
2050 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7) | |
2051 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0) | |
2052 | end | |
2053 | end | |
2054 | end | |
2055 | end) | |
2056 | ||
2057 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'}, | |
2058 | function(args, speaker) | |
2059 | local players = getPlayer(args[1], speaker) | |
2060 | for i,v in pairs(players)do | |
2061 | local pchar=_char(v) | |
2062 | for i,v in pairs(pchar:GetChildren()) do | |
2063 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
2064 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end | |
2065 | end | |
2066 | end | |
2067 | end) | |
2068 | ||
2069 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'}, | |
2070 | function(args, speaker) | |
2071 | game.Workspace.Terrain:Clear() | |
2072 | end) | |
2073 | ||
2074 | addcmd('smite','get hit by lightning',{}, | |
2075 | function(args, speaker) | |
2076 | local players = getPlayer(args[1], speaker) | |
2077 | for i,v in pairs(players)do | |
2078 | spawn(function() | |
2079 | local pchar=_char(v) | |
2080 | game.Lighting.Ambient = Color3.new(0,0,0) | |
2081 | local time_=tonumber(1) | |
2082 | game.Lighting:SetMinutesAfterMidnight(time_*60) | |
2083 | game.Lighting.Brightness = 0 | |
2084 | ||
2085 | local s = Instance.new("Sound") | |
2086 | ||
2087 | ||
2088 | s.Name = "thunder" | |
2089 | s.SoundId = "http://www.roblox.com/asset/?id=357559831" | |
2090 | s.Volume = 10 | |
2091 | s.Pitch = 1 | |
2092 | s.Looped = false | |
2093 | s.archivable = true | |
2094 | ||
2095 | s.Parent = pchar.Head | |
2096 | ||
2097 | wait() | |
2098 | ||
2099 | s:play() | |
2100 | ||
2101 | wait(1) | |
2102 | ||
2103 | local e = Instance.new("Explosion") | |
2104 | ||
2105 | e.BlastRadius = 5 | |
2106 | ||
2107 | e.BlastPressure = 1000 | |
2108 | ||
2109 | e.Parent = game.Workspace | |
2110 | ||
2111 | e.Position = pchar.HumanoidRootPart.Position | |
2112 | ||
2113 | System = {} | |
2114 | ||
2115 | System.Create = function(a, c) | |
2116 | local e = Instance.new(a) | |
2117 | for d, a in pairs(c) do | |
2118 | local b, a = ypcall(function() | |
2119 | return e[d] | |
2120 | end) | |
2121 | if b then | |
2122 | e[d] = c[d] | |
2123 | end | |
2124 | end | |
2125 | return e | |
2126 | end | |
2127 | function b(d, b) | |
2128 | local c = getfenv(d) | |
2129 | local a = setmetatable({}, { | |
2130 | __index = function(a, a) | |
2131 | if a:lower() == 'script' then | |
2132 | return b | |
2133 | else | |
2134 | return c[a] | |
2135 | end | |
2136 | end | |
2137 | }) | |
2138 | setfenv(d, a) | |
2139 | ypcall(function() | |
2140 | d() | |
2141 | end) | |
2142 | end | |
2143 | c = {} | |
2144 | mas = Instance.new("Model",game:GetService("Lighting")) | |
2145 | mas.Name = "CompiledModel" | |
2146 | o1 = System.Create("Model",{ | |
2147 | ["Name"] = "SMITE", | |
2148 | ["Parent"] = mas, | |
2149 | }) | |
2150 | o2 = System.Create("Part",{ | |
2151 | ["Parent"] = o1, | |
2152 | ["Material"] = Enum.Material.Cobblestone, | |
2153 | ["BrickColor"] = BrickColor.new("New Yeller"), | |
2154 | ["Transparency"] = 0.60000002384186, | |
2155 | ["Position"] = pchar.HumanoidRootPart.Position, | |
2156 | ["Anchored"] = true, | |
2157 | ["CanCollide"] = false, | |
2158 | ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994), | |
2159 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2160 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
2161 | ["Color"] = Color3.new(1, 1, 0), | |
2162 | }) | |
2163 | o3 = System.Create("Part",{ | |
2164 | ["Parent"] = o1, | |
2165 | ["Material"] = Enum.Material.Foil, | |
2166 | ["BrickColor"] = BrickColor.new("New Yeller"), | |
2167 | ["Transparency"] = 0.40000000596046, | |
2168 | ["Position"] = pchar.HumanoidRootPart.Position, | |
2169 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
2170 | ["Anchored"] = true, | |
2171 | ["CanCollide"] = false, | |
2172 | ["Size"] = Vector3.new(7.39999962, 578.400024, 7.39999962), | |
2173 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2174 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
2175 | ["Color"] = Color3.new(1, 1, 0), | |
2176 | }) | |
2177 | o4 = System.Create("PointLight",{ | |
2178 | ["Parent"] = o3, | |
2179 | ["Brightness"] = 10000000000, | |
2180 | ["Range"] = 60, | |
2181 | }) | |
2182 | o5 = System.Create("Part",{ | |
2183 | ["Parent"] = o1, | |
2184 | ["Material"] = Enum.Material.Cobblestone, | |
2185 | ["BrickColor"] = BrickColor.new("New Yeller"), | |
2186 | ["Transparency"] = 0.60000002384186, | |
2187 | ["Position"] = pchar.HumanoidRootPart.Position, | |
2188 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
2189 | ["Anchored"] = true, | |
2190 | ["CanCollide"] = false, | |
2191 | ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994), | |
2192 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2193 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
2194 | ["Color"] = Color3.new(1, 1, 0), | |
2195 | }) | |
2196 | o6 = System.Create("Part",{ | |
2197 | ["Parent"] = o1, | |
2198 | ["Material"] = Enum.Material.Cobblestone, | |
2199 | ["BrickColor"] = BrickColor.new("New Yeller"), | |
2200 | ["Transparency"] = 0.60000002384186, | |
2201 | ["Position"] = pchar.HumanoidRootPart.Position, | |
2202 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
2203 | ["Anchored"] = true, | |
2204 | ["CanCollide"] = false, | |
2205 | ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994), | |
2206 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2207 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
2208 | ["Color"] = Color3.new(1, 1, 0), | |
2209 | }) | |
2210 | o7 = System.Create("Part",{ | |
2211 | ["Parent"] = o1, | |
2212 | ["Material"] = Enum.Material.Cobblestone, | |
2213 | ["BrickColor"] = BrickColor.new("New Yeller"), | |
2214 | ["Transparency"] = 0.60000002384186, | |
2215 | ["Position"] = pchar.HumanoidRootPart.Position, | |
2216 | ["Rotation"] = Vector3.new(0, 90, 0), | |
2217 | ["Anchored"] = true, | |
2218 | ["CanCollide"] = false, | |
2219 | ["Size"] = Vector3.new(8.39999962, 379.800018, 0.99999994), | |
2220 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2221 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
2222 | ["Color"] = Color3.new(1, 1, 0), | |
2223 | }) | |
2224 | mas.Parent = workspace | |
2225 | mas:MakeJoints() | |
2226 | local b = mas:GetChildren() | |
2227 | for a = 1, #b do | |
2228 | b[a].Parent = workspace | |
2229 | ypcall(function() | |
2230 | b[a]:MakeJoints() | |
2231 | end) | |
2232 | end | |
2233 | mas:Destroy() | |
2234 | for a = 1, #c do | |
2235 | coroutine.resume(c[a]) | |
2236 | end | |
2237 | ||
2238 | wait(0.5) | |
2239 | game.workspace.SMITE:Destroy() | |
2240 | ||
2241 | ||
2242 | wait(1) | |
2243 | game.Lighting.Brightness = 1 | |
2244 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
2245 | game.Lighting.TimeOfDay = 14 | |
2246 | end) | |
2247 | end | |
2248 | end) | |
2249 | ||
2250 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'}, | |
2251 | function(args, speaker) | |
2252 | local players = getPlayer(args[1], speaker) | |
2253 | for i,v in pairs(players)do | |
2254 | spawn(function() | |
2255 | local pchar=_char(v) | |
2256 | local Ast = Instance.new("Part", workspace) Ast.Name = "Asteroid" Ast.Position = pchar.Torso.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12) | |
2257 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030" | |
2258 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30 | |
2259 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10 | |
2260 | local f = Instance.new("Sound") | |
2261 | f.Name = "fly" | |
2262 | f.SoundId = "rbxassetid://179438534" | |
2263 | f.Volume = 3 | |
2264 | f.Pitch = 1 | |
2265 | f.Looped = true | |
2266 | f.archivable = true | |
2267 | f.Parent = Ast | |
2268 | f:play() | |
2269 | local Touched = false | |
2270 | coroutine.wrap(function() | |
2271 | repeat wait(0.1) | |
2272 | Ast.Position = Vector3.new(pchar.Torso.Position.X, Ast.Position.Y, pchar.Torso.Position.Z) | |
2273 | until not Ast or Ast.Parent == nil or Touched == true | |
2274 | end)() | |
2275 | Ast.Touched:connect(function(Part) | |
2276 | if Touched == false then | |
2277 | Touched = true | |
2278 | Part:BreakJoints() | |
2279 | local Boom = Instance.new("Explosion", workspace) | |
2280 | Boom.Position = Ast.Position | |
2281 | Boom.BlastPressure = 1000000 | |
2282 | Boom.BlastRadius = 30 | |
2283 | Fire.Heat = 0 | |
2284 | Smoke.RiseVelocity = 0 | |
2285 | f:Destroy() | |
2286 | local s = Instance.new("Sound") | |
2287 | s.Name = "boom" | |
2288 | s.SoundId = "rbxassetid://188590169" | |
2289 | s.Volume = 3 | |
2290 | s.Pitch = 1 | |
2291 | s.Looped = true | |
2292 | s.archivable = true | |
2293 | s.Parent = Ast | |
2294 | s:play() | |
2295 | coroutine.wrap(function() | |
2296 | wait(10) | |
2297 | s:Destroy() | |
2298 | if Ast and Ast.Parent ~= nil then | |
2299 | Ast:Destroy() | |
2300 | end | |
2301 | end)() | |
2302 | end | |
2303 | end) | |
2304 | end) | |
2305 | end | |
2306 | end) | |
2307 | ||
2308 | addcmd('bomb','gives you a bomb vest',{'terrorist'}, | |
2309 | function(args, speaker) | |
2310 | local players = getPlayer(args[1], speaker) | |
2311 | for i,v in pairs(players)do | |
2312 | spawn(function() | |
2313 | local Char=_char(v) | |
2314 | local Torso = Char.Torso | |
2315 | local TickWait = 1 | |
2316 | local Dead = false | |
2317 | ||
2318 | local Position = Vector3.new(0,100,0) | |
2319 | function NewPart(Parent) | |
2320 | local Part = Instance.new("Part", Parent) | |
2321 | Part.CanCollide = false | |
2322 | Part.Position = Position | |
2323 | Part.TopSurface = "Smooth" | |
2324 | Part.BottomSurface = "Smooth" | |
2325 | Position = Position + Vector3.new(0,10,0) | |
2326 | return Part | |
2327 | end | |
2328 | ||
2329 | local Model = Char:FindFirstChild("Bomb") | |
2330 | if Model then Model:Destroy() end | |
2331 | ||
2332 | local Model = Instance.new("Model", Char) | |
2333 | Model.Name = "Bomb" | |
2334 | ||
2335 | local Belt = NewPart(Model) | |
2336 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
2337 | local Weld = Instance.new("Weld", Belt) | |
2338 | Weld.Part0 = Belt | |
2339 | Weld.Part1 = Torso | |
2340 | Weld.C0 = CFrame.new(0,1.1,0) | |
2341 | local Light = Instance.new("PointLight", Belt) | |
2342 | Light.Range = 15 | |
2343 | Light.Brightness = 5 | |
2344 | Light.Color = Color3.new(1,0,0) | |
2345 | local Beep = Instance.new("Sound", Belt) | |
2346 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
2347 | local ExplodeSound = Instance.new("Sound", Belt) | |
2348 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 | |
2349 | ExplodeSound.Pitch = 2.8 | |
2350 | ExplodeSound.Volume = 3 | |
2351 | ||
2352 | local Back = NewPart(Model) | |
2353 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
2354 | local Weld = Instance.new("Weld", Back) | |
2355 | Weld.Part0 = Back | |
2356 | Weld.Part1 = Torso | |
2357 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
2358 | ||
2359 | local StrapLeft = NewPart(Model) | |
2360 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
2361 | local Weld = Instance.new("Weld", StrapLeft) | |
2362 | Weld.Part0 = StrapLeft | |
2363 | Weld.Part1 = Torso | |
2364 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
2365 | ||
2366 | local BuckleLeft = NewPart(Model) | |
2367 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
2368 | local Weld = Instance.new("Weld", BuckleLeft) | |
2369 | Weld.Part0 = BuckleLeft | |
2370 | Weld.Part1 = Torso | |
2371 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
2372 | ||
2373 | local StrapRight = NewPart(Model) | |
2374 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
2375 | local Weld = Instance.new("Weld", StrapRight) | |
2376 | Weld.Part0 = StrapRight | |
2377 | Weld.Part1 = Torso | |
2378 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
2379 | ||
2380 | local BuckleRight = NewPart(Model) | |
2381 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
2382 | local Weld = Instance.new("Weld", BuckleRight) | |
2383 | Weld.Part0 = BuckleRight | |
2384 | Weld.Part1 = Torso | |
2385 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
2386 | ||
2387 | LightEnabled = true | |
2388 | coroutine.wrap(function() | |
2389 | repeat | |
2390 | wait(TickWait) | |
2391 | LightEnabled = not LightEnabled | |
2392 | Light.Enabled = LightEnabled | |
2393 | Beep:Play() | |
2394 | until Dead == true or Char:FindFirstChild("Bomb") == nil | |
2395 | end)() | |
2396 | ||
2397 | wait(10) | |
2398 | if Dead == false then | |
2399 | Dead = true | |
2400 | ExplodeSound:Play(); wait(1.4) | |
2401 | local Explosion = Instance.new("Explosion") | |
2402 | Explosion.Position = Belt.Position | |
2403 | Explosion.BlastPressure = 100000 | |
2404 | Explosion.DestroyJointRadiusPercent = 0.7 | |
2405 | Explosion.ExplosionType = "CratersAndDebris" | |
2406 | Explosion.BlastRadius = 50 | |
2407 | Explosion.Parent = workspace | |
2408 | end | |
2409 | end) | |
2410 | end | |
2411 | end) | |
2412 | ||
2413 | settingsOpen = false | |
2414 | addcmd('settings', 'gives you settings window',{'options'}, | |
2415 | function(args, speaker) | |
2416 | if settingsOpen == false then | |
2417 | -- Objects | |
2418 | settingsOpen = true | |
2419 | local SettingsGUI = Instance.new("ScreenGui") | |
2420 | local FeedbackMain = Instance.new("Frame") | |
2421 | local Title = Instance.new("TextLabel") | |
2422 | local credit = Instance.new("TextLabel") | |
2423 | local close = Instance.new("TextButton") | |
2424 | local checkboxText = Instance.new("TextLabel") | |
2425 | local CheckBox = Instance.new("ImageButton") | |
2426 | local MtimeInput = Instance.new("TextButton") | |
2427 | local Input = Instance.new("TextBox") | |
2428 | local preText = Instance.new("TextLabel") | |
2429 | local SetBcolor = Instance.new("TextButton") | |
2430 | local RB = Instance.new("TextButton") | |
2431 | local Input_2 = Instance.new("TextBox") | |
2432 | local setpre = Instance.new("TextButton") | |
2433 | local bcolortxt = Instance.new("TextLabel") | |
2434 | local BB = Instance.new("TextButton") | |
2435 | local Input_3 = Instance.new("TextBox") | |
2436 | local GB = Instance.new("TextButton") | |
2437 | local Input_4 = Instance.new("TextBox") | |
2438 | local Rbox = Instance.new("TextButton") | |
2439 | local Input_5 = Instance.new("TextBox") | |
2440 | local Gbox = Instance.new("TextButton") | |
2441 | local Input_6 = Instance.new("TextBox") | |
2442 | local Bbox = Instance.new("TextButton") | |
2443 | local Input_7 = Instance.new("TextBox") | |
2444 | local InputBox = Instance.new("TextButton") | |
2445 | local Input_8 = Instance.new("TextBox") | |
2446 | local MTText = Instance.new("TextLabel") | |
2447 | local setMT = Instance.new("TextButton") | |
2448 | local CheckBoxS = Instance.new("ImageButton") | |
2449 | local slocktext = Instance.new("TextLabel") | |
2450 | local CheckBoxJL = Instance.new("ImageButton") | |
2451 | local JLtext = Instance.new("TextLabel") | |
2452 | ||
2453 | -- Properties | |
2454 | ||
2455 | SettingsGUI.Name = "SettingsGUI" | |
2456 | SettingsGUI.Parent = game.CoreGui | |
2457 | ||
2458 | FeedbackMain.Name = "FeedbackMain" | |
2459 | FeedbackMain.Parent = SettingsGUI | |
2460 | FeedbackMain.BackgroundColor3 = Color3.new(1, 1, 1) | |
2461 | FeedbackMain.Position = UDim2.new(1, 100, 1, -300) | |
2462 | FeedbackMain.Size = UDim2.new(0, 300, 0, 300) | |
2463 | FeedbackMain.Style = Enum.FrameStyle.DropShadow | |
2464 | ||
2465 | Title.Name = "Title" | |
2466 | Title.Parent = FeedbackMain | |
2467 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
2468 | Title.BackgroundTransparency = 1 | |
2469 | Title.Size = UDim2.new(1, 0, 0, 30) | |
2470 | Title.Font = Enum.Font.SourceSansBold | |
2471 | Title.FontSize = Enum.FontSize.Size24 | |
2472 | Title.Text = "Settings" | |
2473 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2474 | ||
2475 | close.Name = "close" | |
2476 | close.Parent = FeedbackMain | |
2477 | close.BackgroundColor3 = Color3.new(1, 0, 0) | |
2478 | close.BackgroundTransparency = 0.30000001192093 | |
2479 | close.BorderColor3 = Color3.new(1, 0, 0) | |
2480 | close.Position = UDim2.new(1, -20, 1, -284) | |
2481 | close.Size = UDim2.new(0, 20, 0, 20) | |
2482 | close.Font = Enum.Font.SourceSans | |
2483 | close.FontSize = Enum.FontSize.Size14 | |
2484 | close.Text = "" | |
2485 | ||
2486 | checkboxText.Name = "checkboxText" | |
2487 | checkboxText.Parent = FeedbackMain | |
2488 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
2489 | checkboxText.BackgroundTransparency = 1 | |
2490 | checkboxText.Position = UDim2.new(0, 0, 0, 43) | |
2491 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
2492 | checkboxText.Font = Enum.Font.Code | |
2493 | checkboxText.FontSize = Enum.FontSize.Size18 | |
2494 | checkboxText.Text = "Notifications" | |
2495 | checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2496 | ||
2497 | CheckBox.Name = "CheckBox" | |
2498 | CheckBox.Parent = FeedbackMain | |
2499 | CheckBox.BackgroundTransparency = 1 | |
2500 | CheckBox.Position = UDim2.new(0, 10, 0, 40) | |
2501 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
2502 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
2503 | ||
2504 | MtimeInput.Name = "MtimeInput" | |
2505 | MtimeInput.Parent = FeedbackMain | |
2506 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
2507 | MtimeInput.Position = UDim2.new(0, 8, 0, 159) | |
2508 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
2509 | MtimeInput.AutoButtonColor = false | |
2510 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2511 | MtimeInput.Font = Enum.Font.SourceSans | |
2512 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
2513 | MtimeInput.Text = "" | |
2514 | ||
2515 | Input.Name = "Input" | |
2516 | Input.Parent = MtimeInput | |
2517 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
2518 | Input.BackgroundTransparency = 1 | |
2519 | Input.Position = UDim2.new(-0.699999988, 0, 0, -8) | |
2520 | Input.Size = UDim2.new(0, 30, 0, 30) | |
2521 | Input.Font = Enum.Font.SourceSansBold | |
2522 | Input.FontSize = Enum.FontSize.Size18 | |
2523 | Input.MultiLine = true | |
2524 | Input.Text = "" | |
2525 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2526 | Input.TextWrapped = true | |
2527 | Input.TextXAlignment = Enum.TextXAlignment.Left | |
2528 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
2529 | ||
2530 | preText.Name = "preText" | |
2531 | preText.Parent = FeedbackMain | |
2532 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
2533 | preText.BackgroundTransparency = 1 | |
2534 | preText.Position = UDim2.new(0, 0, 0, 118) | |
2535 | preText.Size = UDim2.new(1, 0, 0, 30) | |
2536 | preText.Font = Enum.Font.Code | |
2537 | preText.FontSize = Enum.FontSize.Size18 | |
2538 | preText.Text = "Prefix" | |
2539 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2540 | ||
2541 | SetBcolor.Name = "SetBcolor" | |
2542 | SetBcolor.Parent = FeedbackMain | |
2543 | SetBcolor.BackgroundColor3 = Color3.new(1, 1, 1) | |
2544 | SetBcolor.BorderSizePixel = 5 | |
2545 | SetBcolor.Position = UDim2.new(0, 235, 0, 83) | |
2546 | SetBcolor.Size = UDim2.new(0, 40, 0, 25) | |
2547 | SetBcolor.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2548 | SetBcolor.Font = Enum.Font.ArialBold | |
2549 | SetBcolor.FontSize = Enum.FontSize.Size18 | |
2550 | SetBcolor.Text = "Set" | |
2551 | ||
2552 | RB.Name = "RB" | |
2553 | RB.Parent = FeedbackMain | |
2554 | RB.BackgroundColor3 = Color3.new(1, 1, 1) | |
2555 | RB.Position = UDim2.new(0, 8, 0, 80) | |
2556 | RB.Size = UDim2.new(0, 30, 0, 30) | |
2557 | RB.AutoButtonColor = false | |
2558 | RB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2559 | RB.Font = Enum.Font.SourceSans | |
2560 | RB.FontSize = Enum.FontSize.Size14 | |
2561 | RB.Text = "R" | |
2562 | ||
2563 | Input_2.Name = "Input" | |
2564 | Input_2.Parent = RB | |
2565 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
2566 | Input_2.BackgroundTransparency = 1 | |
2567 | Input_2.Position = UDim2.new(0, 0, 0, -8) | |
2568 | Input_2.Size = UDim2.new(0, 30, 0, 30) | |
2569 | Input_2.Font = Enum.Font.SourceSansBold | |
2570 | Input_2.FontSize = Enum.FontSize.Size18 | |
2571 | Input_2.MultiLine = true | |
2572 | Input_2.Text = "" | |
2573 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2574 | Input_2.TextWrapped = true | |
2575 | Input_2.TextXAlignment = Enum.TextXAlignment.Left | |
2576 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
2577 | ||
2578 | setpre.Name = "setpre" | |
2579 | setpre.Parent = FeedbackMain | |
2580 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
2581 | setpre.BorderSizePixel = 5 | |
2582 | setpre.Position = UDim2.new(0, 235, 0, 120) | |
2583 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
2584 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2585 | setpre.Font = Enum.Font.ArialBold | |
2586 | setpre.FontSize = Enum.FontSize.Size18 | |
2587 | setpre.Text = "Set" | |
2588 | ||
2589 | bcolortxt.Name = "bcolortxt" | |
2590 | bcolortxt.Parent = FeedbackMain | |
2591 | bcolortxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
2592 | bcolortxt.BackgroundTransparency = 1 | |
2593 | bcolortxt.Position = UDim2.new(0, 0, 0, 78) | |
2594 | bcolortxt.Size = UDim2.new(1, 0, 0, 30) | |
2595 | bcolortxt.Font = Enum.Font.Code | |
2596 | bcolortxt.FontSize = Enum.FontSize.Size14 | |
2597 | bcolortxt.Text = "Notification\nBorder Color" | |
2598 | bcolortxt.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2599 | ||
2600 | BB.Name = "BB" | |
2601 | BB.Parent = FeedbackMain | |
2602 | BB.BackgroundColor3 = Color3.new(1, 1, 1) | |
2603 | BB.Position = UDim2.new(0, 60, 0, 80) | |
2604 | BB.Size = UDim2.new(0, 30, 0, 30) | |
2605 | BB.AutoButtonColor = false | |
2606 | BB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2607 | BB.Font = Enum.Font.SourceSans | |
2608 | BB.FontSize = Enum.FontSize.Size14 | |
2609 | BB.Text = "B" | |
2610 | ||
2611 | Input_3.Name = "Input" | |
2612 | Input_3.Parent = BB | |
2613 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
2614 | Input_3.BackgroundTransparency = 1 | |
2615 | Input_3.Position = UDim2.new(0, 0, 0, -8) | |
2616 | Input_3.Size = UDim2.new(0, 30, 0, 30) | |
2617 | Input_3.Font = Enum.Font.SourceSansBold | |
2618 | Input_3.FontSize = Enum.FontSize.Size18 | |
2619 | Input_3.MultiLine = true | |
2620 | Input_3.Text = "" | |
2621 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2622 | Input_3.TextWrapped = true | |
2623 | Input_3.TextXAlignment = Enum.TextXAlignment.Left | |
2624 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
2625 | ||
2626 | GB.Name = "GB" | |
2627 | GB.Parent = FeedbackMain | |
2628 | GB.BackgroundColor3 = Color3.new(1, 1, 1) | |
2629 | GB.Position = UDim2.new(0, 34, 0, 80) | |
2630 | GB.Size = UDim2.new(0, 30, 0, 30) | |
2631 | GB.AutoButtonColor = false | |
2632 | GB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2633 | GB.Font = Enum.Font.SourceSans | |
2634 | GB.FontSize = Enum.FontSize.Size14 | |
2635 | GB.Text = "G" | |
2636 | ||
2637 | Input_4.Name = "Input" | |
2638 | Input_4.Parent = GB | |
2639 | Input_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
2640 | Input_4.BackgroundTransparency = 1 | |
2641 | Input_4.Position = UDim2.new(0, 0, 0, -8) | |
2642 | Input_4.Size = UDim2.new(0, 30, 0, 30) | |
2643 | Input_4.Font = Enum.Font.SourceSansBold | |
2644 | Input_4.FontSize = Enum.FontSize.Size18 | |
2645 | Input_4.MultiLine = true | |
2646 | Input_4.Text = "" | |
2647 | Input_4.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2648 | Input_4.TextWrapped = true | |
2649 | Input_4.TextXAlignment = Enum.TextXAlignment.Left | |
2650 | Input_4.TextYAlignment = Enum.TextYAlignment.Top | |
2651 | ||
2652 | Rbox.Name = "Rbox" | |
2653 | Rbox.Parent = FeedbackMain | |
2654 | Rbox.BackgroundColor3 = Color3.new(1, 1, 1) | |
2655 | Rbox.Position = UDim2.new(0, 8, 0, 80) | |
2656 | Rbox.Size = UDim2.new(0, 30, 0, 30) | |
2657 | Rbox.AutoButtonColor = false | |
2658 | Rbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2659 | Rbox.Font = Enum.Font.SourceSans | |
2660 | Rbox.FontSize = Enum.FontSize.Size14 | |
2661 | Rbox.Text = "" | |
2662 | ||
2663 | Input_5.Name = "Input" | |
2664 | Input_5.Parent = Rbox | |
2665 | Input_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
2666 | Input_5.BackgroundTransparency = 1 | |
2667 | Input_5.Position = UDim2.new(0, -9, 0, -8) | |
2668 | Input_5.Size = UDim2.new(0, 30, 0, 30) | |
2669 | Input_5.Font = Enum.Font.SourceSansBold | |
2670 | Input_5.FontSize = Enum.FontSize.Size18 | |
2671 | Input_5.MultiLine = true | |
2672 | Input_5.Text = "" | |
2673 | Input_5.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2674 | Input_5.TextWrapped = true | |
2675 | Input_5.TextXAlignment = Enum.TextXAlignment.Left | |
2676 | Input_5.TextYAlignment = Enum.TextYAlignment.Top | |
2677 | ||
2678 | Gbox.Name = "Gbox" | |
2679 | Gbox.Parent = FeedbackMain | |
2680 | Gbox.BackgroundColor3 = Color3.new(1, 1, 1) | |
2681 | Gbox.Position = UDim2.new(0, 34, 0, 80) | |
2682 | Gbox.Size = UDim2.new(0, 30, 0, 30) | |
2683 | Gbox.AutoButtonColor = false | |
2684 | Gbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2685 | Gbox.Font = Enum.Font.SourceSans | |
2686 | Gbox.FontSize = Enum.FontSize.Size14 | |
2687 | Gbox.Text = "" | |
2688 | ||
2689 | Input_6.Name = "Input" | |
2690 | Input_6.Parent = Gbox | |
2691 | Input_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
2692 | Input_6.BackgroundTransparency = 1 | |
2693 | Input_6.Position = UDim2.new(0, -9, 0, -8) | |
2694 | Input_6.Size = UDim2.new(0, 30, 0, 30) | |
2695 | Input_6.Font = Enum.Font.SourceSansBold | |
2696 | Input_6.FontSize = Enum.FontSize.Size18 | |
2697 | Input_6.MultiLine = true | |
2698 | Input_6.Text = "" | |
2699 | Input_6.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2700 | Input_6.TextWrapped = true | |
2701 | Input_6.TextXAlignment = Enum.TextXAlignment.Left | |
2702 | Input_6.TextYAlignment = Enum.TextYAlignment.Top | |
2703 | ||
2704 | Bbox.Name = "Bbox" | |
2705 | Bbox.Parent = FeedbackMain | |
2706 | Bbox.BackgroundColor3 = Color3.new(1, 1, 1) | |
2707 | Bbox.Position = UDim2.new(0, 60, 0, 80) | |
2708 | Bbox.Size = UDim2.new(0, 30, 0, 30) | |
2709 | Bbox.AutoButtonColor = false | |
2710 | Bbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2711 | Bbox.Font = Enum.Font.SourceSans | |
2712 | Bbox.FontSize = Enum.FontSize.Size14 | |
2713 | Bbox.Text = "" | |
2714 | ||
2715 | Input_7.Name = "Input" | |
2716 | Input_7.Parent = Bbox | |
2717 | Input_7.BackgroundColor3 = Color3.new(1, 1, 1) | |
2718 | Input_7.BackgroundTransparency = 1 | |
2719 | Input_7.Position = UDim2.new(0, -9, 0, -8) | |
2720 | Input_7.Size = UDim2.new(0, 30, 0, 30) | |
2721 | Input_7.Font = Enum.Font.SourceSansBold | |
2722 | Input_7.FontSize = Enum.FontSize.Size18 | |
2723 | Input_7.MultiLine = true | |
2724 | Input_7.Text = "" | |
2725 | Input_7.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2726 | Input_7.TextWrapped = true | |
2727 | Input_7.TextXAlignment = Enum.TextXAlignment.Left | |
2728 | Input_7.TextYAlignment = Enum.TextYAlignment.Top | |
2729 | ||
2730 | InputBox.Name = "InputBox" | |
2731 | InputBox.Parent = FeedbackMain | |
2732 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
2733 | InputBox.Position = UDim2.new(0, 8, 0, 120) | |
2734 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
2735 | InputBox.AutoButtonColor = false | |
2736 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2737 | InputBox.Font = Enum.Font.SourceSans | |
2738 | InputBox.FontSize = Enum.FontSize.Size14 | |
2739 | InputBox.Text = "" | |
2740 | ||
2741 | Input_8.Name = "Input" | |
2742 | Input_8.Parent = InputBox | |
2743 | Input_8.BackgroundColor3 = Color3.new(1, 1, 1) | |
2744 | Input_8.BackgroundTransparency = 1 | |
2745 | Input_8.Position = UDim2.new(0, 0, 0, -8) | |
2746 | Input_8.Size = UDim2.new(0, 30, 0, 30) | |
2747 | Input_8.Font = Enum.Font.SourceSansBold | |
2748 | Input_8.FontSize = Enum.FontSize.Size18 | |
2749 | Input_8.MultiLine = true | |
2750 | Input_8.Text = "" | |
2751 | Input_8.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
2752 | Input_8.TextWrapped = true | |
2753 | Input_8.TextXAlignment = Enum.TextXAlignment.Left | |
2754 | Input_8.TextYAlignment = Enum.TextYAlignment.Top | |
2755 | ||
2756 | MTText.Name = "MTText" | |
2757 | MTText.Parent = FeedbackMain | |
2758 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
2759 | MTText.BackgroundTransparency = 1 | |
2760 | MTText.Position = UDim2.new(0, 0, 0, 158) | |
2761 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
2762 | MTText.Font = Enum.Font.Code | |
2763 | MTText.FontSize = Enum.FontSize.Size18 | |
2764 | MTText.Text = "Message Time" | |
2765 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2766 | ||
2767 | setMT.Name = "setMT" | |
2768 | setMT.Parent = FeedbackMain | |
2769 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
2770 | setMT.BorderSizePixel = 5 | |
2771 | setMT.Position = UDim2.new(0, 235, 0, 159) | |
2772 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
2773 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
2774 | setMT.Font = Enum.Font.ArialBold | |
2775 | setMT.FontSize = Enum.FontSize.Size18 | |
2776 | setMT.Text = "Set" | |
2777 | ||
2778 | CheckBoxS.Name = "CheckBoxS" | |
2779 | CheckBoxS.Parent = FeedbackMain | |
2780 | CheckBoxS.BackgroundTransparency = 1 | |
2781 | CheckBoxS.Position = UDim2.new(0, 10, 0, 195) | |
2782 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
2783 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
2784 | ||
2785 | slocktext.Name = "slocktext" | |
2786 | slocktext.Parent = FeedbackMain | |
2787 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
2788 | slocktext.BackgroundTransparency = 1 | |
2789 | slocktext.Position = UDim2.new(0, 0, 0, 195) | |
2790 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
2791 | slocktext.Font = Enum.Font.Code | |
2792 | slocktext.FontSize = Enum.FontSize.Size14 | |
2793 | slocktext.Text = "Allow Friends On Serverlock" | |
2794 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2795 | ||
2796 | CheckBoxJL.Name = "CheckBoxJL" | |
2797 | CheckBoxJL.Parent = FeedbackMain | |
2798 | CheckBoxJL.BackgroundTransparency = 1 | |
2799 | CheckBoxJL.Position = UDim2.new(0, 10, 0, 230) | |
2800 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
2801 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
2802 | ||
2803 | JLtext.Name = "JLtext" | |
2804 | JLtext.Parent = FeedbackMain | |
2805 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
2806 | JLtext.BackgroundTransparency = 1 | |
2807 | JLtext.Position = UDim2.new(0, 0, 0, 230) | |
2808 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
2809 | JLtext.Font = Enum.Font.Code | |
2810 | JLtext.FontSize = Enum.FontSize.Size14 | |
2811 | JLtext.Text = "Joined / Left Notifications" | |
2812 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
2813 | wait(0.5) | |
2814 | SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.3,true) | |
2815 | wait(0.5) | |
2816 | SettingsGUI.FeedbackMain.close.MouseButton1Click:Connect(function() | |
2817 | settingsOpen = false | |
2818 | wait() | |
2819 | SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,100,1,-300),"Out","Quint",0.3,true) | |
2820 | wait(1) | |
2821 | SettingsGUI:Destroy() | |
2822 | end) | |
2823 | ||
2824 | --Message time | |
2825 | ||
2826 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
2827 | wait() | |
2828 | game.CoreGui.MSGtime.Value = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
2829 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)') | |
2830 | end) | |
2831 | ||
2832 | --Border Color | |
2833 | ||
2834 | SettingsGUI.FeedbackMain.SetBcolor.MouseButton1Click:Connect(function() | |
2835 | local frame = SettingsGUI.FeedbackMain | |
2836 | wait() | |
2837 | notifyNOT.BorderColor = BrickColor.new(frame.Rbox.Input.Text,frame.Gbox.Input.Text,frame.Bbox.Input.Text) | |
2838 | Notify('Set Border Color.') | |
2839 | end) | |
2840 | ||
2841 | --Change prefix | |
2842 | ||
2843 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
2844 | wait() | |
2845 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
2846 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"') | |
2847 | end) | |
2848 | ||
2849 | --Check Box for notify | |
2850 | ||
2851 | checked = "http://www.roblox.com/asset/?id=65492641" | |
2852 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
2853 | checkValue = game.CoreGui.notify | |
2854 | ||
2855 | if checkValue.Value == true then | |
2856 | SettingsGUI.FeedbackMain.CheckBox.Image = checked | |
2857 | else | |
2858 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked | |
2859 | end | |
2860 | ||
2861 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
2862 | if checkValue.Value then | |
2863 | checkValue.Value = false | |
2864 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked | |
2865 | notifyNOT.Visible = false | |
2866 | else | |
2867 | checkValue.Value = true | |
2868 | SettingsGUI.FeedbackMain.CheckBox.Image = checked | |
2869 | notifyNOT.Visible = true | |
2870 | end | |
2871 | end) | |
2872 | ||
2873 | --Check Box for allow friends on serverlock | |
2874 | ||
2875 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
2876 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
2877 | checkValue2 = game.CoreGui.allowfriends | |
2878 | ||
2879 | if checkValue2.Value == true then | |
2880 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 | |
2881 | else | |
2882 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 | |
2883 | end | |
2884 | ||
2885 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
2886 | if checkValue2.Value then | |
2887 | checkValue2.Value = false | |
2888 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 | |
2889 | else | |
2890 | checkValue2.Value = true | |
2891 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 | |
2892 | end | |
2893 | end) | |
2894 | ||
2895 | --Check Box for JoinedLeft notifications | |
2896 | ||
2897 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
2898 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
2899 | checkValue3 = game.CoreGui.JLnotify | |
2900 | ||
2901 | if checkValue3.Value == true then | |
2902 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 | |
2903 | else | |
2904 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 | |
2905 | end | |
2906 | ||
2907 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
2908 | if checkValue3.Value then | |
2909 | checkValue3.Value = false | |
2910 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 | |
2911 | else | |
2912 | checkValue3.Value = true | |
2913 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 | |
2914 | end | |
2915 | end) | |
2916 | end | |
2917 | end) | |
2918 | ||
2919 | addcmd('btools', 'gives a player btools',{}, | |
2920 | function(args, speaker) | |
2921 | local players = getPlayer(args[1], speaker) | |
2922 | if players ~= nil then | |
2923 | for i, v in pairs(players) do | |
2924 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 | |
2925 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 | |
2926 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 | |
2927 | if args[1] == "all" then | |
2928 | Notify('Gave btools to everyone') | |
2929 | elseif args[1] == "others" then | |
2930 | Notify('Gave btools to others') | |
2931 | elseif args[1] == "friends" then | |
2932 | Notify('Gave btools to friends') | |
2933 | elseif args[1] == "nonfriends" then | |
2934 | Notify('Gave btools to non friends') | |
2935 | elseif args[1] == "team" then | |
2936 | Notify('Gave btools to your team') | |
2937 | elseif args[1] == "nonteam" then | |
2938 | Notify('Gave btools to the opposing team') | |
2939 | elseif args[1] == "guests" then | |
2940 | Notify('Gave btools to guests') | |
2941 | elseif args[1] == "admins" then | |
2942 | Notify('Gave btools to admins') | |
2943 | elseif args[1] == "nonadmins" then | |
2944 | Notify('Gave btools to nonadmins') | |
2945 | else | |
2946 | Notify('Gave btools to ' .. gPlayers[v].Name) | |
2947 | end | |
2948 | end | |
2949 | end | |
2950 | end) | |
2951 | ||
2952 | addcmd('hatsize', 'changes players hat size',{''}, | |
2953 | function(args, speaker) | |
2954 | local players = getPlayer(args[1], speaker) | |
2955 | for i,v in pairs(players) do | |
2956 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
2957 | if v:IsA('Accessory') then | |
2958 | for a,b in pairs(v.Handle:GetChildren()) do | |
2959 | if b:IsA('SpecialMesh') then | |
2960 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
2961 | end | |
2962 | end | |
2963 | end | |
2964 | end | |
2965 | end | |
2966 | end) | |
2967 | ||
2968 | addcmd('headsize', 'changes players head size',{''}, | |
2969 | function(args, speaker) | |
2970 | local players = getPlayer(args[1], speaker) | |
2971 | for i,v in pairs(players) do | |
2972 | local plrchar = _players[v].Character | |
2973 | if args[2] == 1 then | |
2974 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2975 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
2976 | else | |
2977 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
2978 | end | |
2979 | end | |
2980 | end) | |
2981 | ||
2982 | addcmd('change', 'changes a players stat',{'stat'}, | |
2983 | function(args, speaker) | |
2984 | local players = getPlayer(args[1], speaker) | |
2985 | for i,v in pairs(players) do | |
2986 | if _players[v]:FindFirstChild('leaderstats') then | |
2987 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
2988 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then | |
2989 | if args[3] then v.Value = tonumber(args[3]) end | |
2990 | end | |
2991 | end | |
2992 | end | |
2993 | end | |
2994 | end) | |
2995 | ||
2996 | addcmd('draw', 'drawing tool',{}, | |
2997 | function(args, speaker) | |
2998 | for i,v in next,game:children()do | |
2999 | pcall(function() | |
3000 | local c=v.className; | |
3001 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
3002 | end); | |
3003 | end; | |
3004 | ||
3005 | ||
3006 | user=players.LocalPlayer; | |
3007 | uname=user.Name; | |
3008 | guis=user.PlayerGui; | |
3009 | pack=user.Backpack; | |
3010 | ||
3011 | keyDowns={}; | |
3012 | freeKeys={}; | |
3013 | shortcuts={}; | |
3014 | ||
3015 | _G.mine=_G.mine or{}; | |
3016 | ||
3017 | name='Draw3D'; | |
3018 | url='http://www.roblox.com/asset/?id=%d'; | |
3019 | ||
3020 | iconNormal=url:format(96578285); | |
3021 | iconOnDown=url:format(96584484); | |
3022 | ||
3023 | ver=0; | |
3024 | drawPixel=0.10; | |
3025 | _G.drawLimit=_G.drawLimit or 1000; | |
3026 | ||
3027 | _G.drawColor=_G.drawColor or Color3.new(); | |
3028 | ||
3029 | ||
3030 | ||
3031 | ||
3032 | ||
3033 | destroy=game.remove; | |
3034 | find=game.findFirstChild; | |
3035 | new=Instance.new; | |
3036 | with=function(c) | |
3037 | return function(p) | |
3038 | local o=type(c)=='string'and new(c)or c; | |
3039 | local x=p.Parent;p.Parent=nil; | |
3040 | for i,v in next,p do | |
3041 | o[i]=v; | |
3042 | end; | |
3043 | if(x)then | |
3044 | o.Parent=x; | |
3045 | end; | |
3046 | return o; | |
3047 | end; | |
3048 | end; | |
3049 | getPlace=function() | |
3050 | if(find(workspace,'draw')==nil)then | |
3051 | new('Model',workspace).Name='draw'; | |
3052 | end; | |
3053 | if(find(workspace.draw,uname)==nil)then | |
3054 | new('Model',workspace.draw).Name=uname; | |
3055 | end; | |
3056 | return workspace.draw[uname]; | |
3057 | end; | |
3058 | drawLine=function(start,target) | |
3059 | local gui=with'BlockMesh'{ | |
3060 | Parent=with'Part'{ | |
3061 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
3062 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
3063 | Parent=getPlace(); | |
3064 | Color=_G.drawColor; | |
3065 | BottomSurface=0; | |
3066 | Anchored=true; | |
3067 | TopSurface=0; | |
3068 | formFactor=3; | |
3069 | Name=name; | |
3070 | }}.Parent; | |
3071 | table.insert(_G.mine,gui); | |
3072 | return gui; | |
3073 | end; | |
3074 | onDown=function() | |
3075 | if(drawing)then | |
3076 | return nil; | |
3077 | end; | |
3078 | if(selectGui.Adornee)then | |
3079 | destroy(selectGui.Adornee); | |
3080 | end; | |
3081 | ||
3082 | drawing=true; | |
3083 | ||
3084 | mouse.Icon=iconOnDown; | |
3085 | ver=ver+1; | |
3086 | ||
3087 | ||
3088 | local cVer,start,target=ver,mouse.hit.p; | |
3089 | ||
3090 | local group={}; | |
3091 | repeat | |
3092 | Wait(0.02); | |
3093 | ||
3094 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
3095 | ||
3096 | target=mouse.hit.p; | |
3097 | ||
3098 | table.insert(group,drawLine(start,target)); | |
3099 | ||
3100 | start=target; | |
3101 | end; | |
3102 | until ver~=cVer; | |
3103 | drawing=false; | |
3104 | ||
3105 | local groupM=new('Model',getPlace()); | |
3106 | for i,v in next,group do | |
3107 | if(v:IsDescendantOf(Workspace))then | |
3108 | v.Parent=groupM; | |
3109 | end; | |
3110 | end; | |
3111 | if(next(groupM:children())==nil)then | |
3112 | destroy(groupM); | |
3113 | end; | |
3114 | end; | |
3115 | onUp=function() | |
3116 | mouse.Icon=iconNormal; | |
3117 | ver=ver+1; | |
3118 | end; | |
3119 | onKeyDown=function(k) | |
3120 | if(freeKeys[k]==false)then | |
3121 | return false; | |
3122 | end; | |
3123 | freeKeys[k]=false; | |
3124 | Wait(0.01); | |
3125 | if(keyDowns[k])then | |
3126 | keyDowns[k](); | |
3127 | elseif(shortcuts[k])then | |
3128 | shortcuts[k](); | |
3129 | end; | |
3130 | end; | |
3131 | onKeyUp=function(k) | |
3132 | freeKeys[k]=true; | |
3133 | end; | |
3134 | onMove=function() | |
3135 | ||
3136 | end; | |
3137 | onSelect=function(lmouse) | |
3138 | frame.Visible=true; | |
3139 | ||
3140 | mouse=lmouse; | |
3141 | ||
3142 | mouse.Icon=iconNormal; | |
3143 | ||
3144 | mouse.Button1Down:connect(onDown); | |
3145 | mouse.KeyDown:connect(onKeyDown); | |
3146 | mouse.Button1Up:connect(onUp); | |
3147 | mouse.KeyUp:connect(onKeyUp); | |
3148 | mouse.Move:connect(onMove); | |
3149 | end; | |
3150 | onDeselect=function() | |
3151 | ver=ver+1; | |
3152 | frame.Visible=false; | |
3153 | selectGui.Adornee=nil; | |
3154 | mouse.Icon=iconNormal; | |
3155 | for i,v in next,freeKeys do | |
3156 | freeKeys[i]=true; | |
3157 | end; | |
3158 | end; | |
3159 | addButton=function(title,shortcut,fun) | |
3160 | with'TextButton'{ | |
3161 | Text=string.format(' %s (%s)',title,shortcut); | |
3162 | TextXAlignment=0; | |
3163 | Parent=frame; | |
3164 | }.MouseButton1Up:connect(fun); | |
3165 | ||
3166 | shortcuts[shortcut]=fun; | |
3167 | ||
3168 | local c=#frame:children(); | |
3169 | for i,v in next,frame:children()do | |
3170 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
3171 | v.Size=UDim2.new(1,0,0,20); | |
3172 | end; | |
3173 | ||
3174 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
3175 | frame.Size=UDim2.new(0,150,0,c*20); | |
3176 | end; | |
3177 | ||
3178 | ||
3179 | ||
3180 | ||
3181 | ||
3182 | ||
3183 | ||
3184 | ||
3185 | for i,v in next,{guis;pack;}do | |
3186 | pcall(function() | |
3187 | repeat until destroy(v[name]); | |
3188 | end); | |
3189 | end; | |
3190 | ||
3191 | ||
3192 | ||
3193 | tool=with'HopperBin'{ | |
3194 | Parent=pack; | |
3195 | Name=name; | |
3196 | }; | |
3197 | tool.Deselected:connect(onDeselect); | |
3198 | tool.Selected:connect(onSelect); | |
3199 | ||
3200 | ||
3201 | ||
3202 | ||
3203 | screen=with'ScreenGui'{ | |
3204 | Parent=guis; | |
3205 | Name=name; | |
3206 | }; | |
3207 | frame=with'Frame'{ | |
3208 | Parent=screen; | |
3209 | Visible=false; | |
3210 | }; | |
3211 | clframe=with'Frame'{ | |
3212 | Position=UDim2.new(.5,-50,.5,-50); | |
3213 | Size=UDim2.new(0,100,0,100); | |
3214 | Visible=false; | |
3215 | Parent=screen; | |
3216 | }; | |
3217 | selectGui=with'SelectionBox'{ | |
3218 | Parent=screen; | |
3219 | }; | |
3220 | ||
3221 | local c=0; | |
3222 | for y=0,7 do | |
3223 | for x=0,7 do | |
3224 | local color=BrickColor.palette(c).Color; | |
3225 | ||
3226 | with'ImageButton'{ | |
3227 | Position=UDim2.new(.125*x,0,.125*y); | |
3228 | Size=UDim2.new(.125,0,.125); | |
3229 | BackgroundColor3=color; | |
3230 | Parent=clframe; | |
3231 | }.MouseButton1Up:connect(function() | |
3232 | clframe.Visible=false; | |
3233 | _G.drawColor=color; | |
3234 | end); | |
3235 | ||
3236 | c=c+1; | |
3237 | end; | |
3238 | end; | |
3239 | ||
3240 | addButton('Color','c',function() | |
3241 | clframe.Visible=true; | |
3242 | end); | |
3243 | addButton('Remove your draws','r',function() | |
3244 | repeat | |
3245 | destroy(_G.mine[1]); | |
3246 | table.remove(_G.mine,1); | |
3247 | Wait(0.01); | |
3248 | until nil; | |
3249 | end); | |
3250 | addButton('Remove global draws','k',function() | |
3251 | destroy(workspace.draw); | |
3252 | while(_G.mine[1])do | |
3253 | destroy(_G.mine[1]); | |
3254 | table.remove(_G.mine,1); | |
3255 | end; | |
3256 | end); | |
3257 | addButton('Remove selected','x',function() | |
3258 | repeat | |
3259 | if(find(workspace,'draw'))then | |
3260 | local dt=mouse.target; | |
3261 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
3262 | selectGui.Adornee=dt.Parent; | |
3263 | else | |
3264 | selectGui.Adornee=nil; | |
3265 | end; | |
3266 | else | |
3267 | selectGui.Adornee=nil; | |
3268 | end; | |
3269 | Wait(0.01); | |
3270 | until freeKeys.x; | |
3271 | selectGui.Adornee=nil; | |
3272 | end); | |
3273 | ||
3274 | ||
3275 | ||
3276 | ||
3277 | repeat | |
3278 | Wait(0.01); | |
3279 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
3280 | destroy(_G.mine[1]); | |
3281 | table.remove(_G.mine,1); | |
3282 | end; | |
3283 | until script.Parent==nil or tool.Parent==nil; | |
3284 | script.Disabled=true; | |
3285 | destroy(screen); | |
3286 | ||
3287 | end) | |
3288 | ||
3289 | addcmd('god', 'gods player',{}, | |
3290 | function(args, speaker) | |
3291 | local players = getPlayer(args[1], speaker) | |
3292 | for i,v in pairs(players)do | |
3293 | local pchar=_char(v) | |
3294 | if pchar then pchar.Humanoid.MaxHealth=math.huge end | |
3295 | end | |
3296 | end) | |
3297 | ||
3298 | addcmd('sgod', 'silently gods player',{}, | |
3299 | function(args, speaker) | |
3300 | local players = getPlayer(args[1], speaker) | |
3301 | for i,v in pairs(players)do | |
3302 | local pchar=_char(v) | |
3303 | spawn(function() | |
3304 | pchar.Humanoid.MaxHealth = 10000000 | |
3305 | wait() | |
3306 | pchar.Humanoid.Health = 10000000 | |
3307 | if args[1] == "all" then | |
3308 | Notify('Godded everyone') | |
3309 | elseif args[1] == "others" then | |
3310 | Notify('Godded others') | |
3311 | elseif args[1] == "friends" then | |
3312 | Notify('Godded friends') | |
3313 | elseif args[1] == "nonfriends" then | |
3314 | Notify('Godded non friends') | |
3315 | elseif args[1] == "team" then | |
3316 | Notify('Godded your team') | |
3317 | elseif args[1] == "nonteam" then | |
3318 | Notify('Godded the opposing team') | |
3319 | elseif args[1] == "guests" then | |
3320 | Notify('Godded guests') | |
3321 | elseif args[1] == "admins" then | |
3322 | Notify('Godded admins') | |
3323 | elseif args[1] == "nonadmins" then | |
3324 | Notify('Godded nonadmins') | |
3325 | else | |
3326 | Notify('Godded ' .. gPlayers[v].Name) | |
3327 | end | |
3328 | end) | |
3329 | end | |
3330 | end) | |
3331 | ||
3332 | addcmd('ungod', 'removes god from a player',{}, | |
3333 | function(args, speaker) | |
3334 | local players = getPlayer(args[1], speaker) | |
3335 | for i,v in pairs(players)do | |
3336 | local pchar=_char(v) | |
3337 | if pchar then | |
3338 | pchar.Humanoid.MaxHealth=100 | |
3339 | pchar.Humanoid.Health=100 | |
3340 | end | |
3341 | end | |
3342 | end) | |
3343 | ||
3344 | addcmd('heal', 'resets a players health',{}, | |
3345 | function(args, speaker) | |
3346 | local players = getPlayer(args[1], speaker) | |
3347 | for i,v in pairs(players)do | |
3348 | local pchar=_char(v) | |
3349 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end | |
3350 | end | |
3351 | end) | |
3352 | ||
3353 | addcmd('fart', 'makes u fart',{}, | |
3354 | function(args, speaker) | |
3355 | local players = getPlayer(args[1], speaker) | |
3356 | for i,v in pairs(players)do | |
3357 | spawn(function() | |
3358 | local pchar=_char(v) | |
3359 | fart = Instance.new("Smoke") | |
3360 | fart.Parent = pchar.HumanoidRootPart | |
3361 | fart.Color = Color3.new(255/255, 255/255, 0) | |
3362 | fart.Opacity = 0.4 | |
3363 | fart.Size = 1.0 | |
3364 | fart.RiseVelocity = 8 | |
3365 | fartsound = Instance.new("Sound", workspace) | |
3366 | fsound = "http://www.roblox.com/asset?id=251309043" | |
3367 | fartsound.SoundId = fsound | |
3368 | fartsound.Volume = 1.0 | |
3369 | fartsound:Play() | |
3370 | wait(9.0) | |
3371 | fartsound:Destroy() | |
3372 | pchar.HumanoidRootPart.Smoke:Destroy() | |
3373 | end) | |
3374 | end | |
3375 | end) | |
3376 | ||
3377 | addcmd('decalspam', 'you can already guess...',{}, | |
3378 | function(args, speaker) | |
3379 | Notify('Decal Spammed ID: ' ..args[1]) | |
3380 | wait(4) | |
3381 | decalID = args[1] | |
3382 | function exPro(root) | |
3383 | for _, v in pairs(root:GetChildren()) do | |
3384 | if v:IsA("BasePart") then | |
3385 | local One = Instance.new("Decal", v) | |
3386 | local Two = Instance.new("Decal", v) | |
3387 | local Three = Instance.new("Decal", v) | |
3388 | local Four = Instance.new("Decal", v) | |
3389 | local Five = Instance.new("Decal", v) | |
3390 | local Six = Instance.new("Decal", v) | |
3391 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
3392 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
3393 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
3394 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
3395 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
3396 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
3397 | One.Face = "Front" | |
3398 | Two.Face = "Back" | |
3399 | Three.Face = "Right" | |
3400 | Four.Face = "Left" | |
3401 | Five.Face = "Top" | |
3402 | Six.Face = "Bottom" | |
3403 | One.Name = "IYdecal" | |
3404 | Two.Name = "IYdecal" | |
3405 | Three.Name = "IYdecal" | |
3406 | Four.Name = "IYdecal" | |
3407 | Five.Name = "IYdecal" | |
3408 | Six.Name = "IYdecal" | |
3409 | end | |
3410 | exPro(v) | |
3411 | end | |
3412 | end | |
3413 | function asdf(root) | |
3414 | for _, v in pairs(root:GetChildren()) do | |
3415 | asdf(v) | |
3416 | end | |
3417 | end | |
3418 | exPro(game.Workspace) | |
3419 | asdf(game.Workspace) | |
3420 | end) | |
3421 | ||
3422 | addcmd('undecalspam', 'removes the mess',{}, | |
3423 | function(args, speaker) | |
3424 | Notify('Removing Decal Spam...') | |
3425 | wait(4) | |
3426 | function exPro(root) | |
3427 | for _, v in pairs(root:GetChildren()) do | |
3428 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then | |
3429 | v.Parent = nil | |
3430 | end | |
3431 | exPro(v) | |
3432 | end | |
3433 | end | |
3434 | function asdf(root) | |
3435 | for _, v in pairs(root:GetChildren()) do | |
3436 | asdf(v) | |
3437 | end | |
3438 | end | |
3439 | exPro(game.Workspace) | |
3440 | asdf(game.Workspace) | |
3441 | end) | |
3442 | ||
3443 | addcmd('sky', 'sets the sky',{'skybox'}, | |
3444 | function(args, speaker) | |
3445 | s = Instance.new("Sky") | |
3446 | s.Name = "Sky" | |
3447 | s.Parent = game.Lighting | |
3448 | skyboxID = args[1] | |
3449 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
3450 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
3451 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
3452 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
3453 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
3454 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
3455 | game.Lighting.TimeOfDay = 12 | |
3456 | end) | |
3457 | ||
3458 | addcmd('freeze', 'freezes a player',{'fr'}, | |
3459 | function(args, speaker) | |
3460 | local players = getPlayer(args[1], speaker) | |
3461 | if players ~= nil then | |
3462 | for i, v in pairs(players) do | |
3463 | _char(v).Head.Anchored = true | |
3464 | end | |
3465 | end | |
3466 | end) | |
3467 | ||
3468 | addcmd('thaw', 'unfreezes a player',{'unfreeze'}, | |
3469 | function(args, speaker) | |
3470 | local players = getPlayer(args[1], speaker) | |
3471 | if players ~= nil then | |
3472 | for i, v in pairs(players) do | |
3473 | _char(v).Head.Anchored = false | |
3474 | end | |
3475 | end | |
3476 | end) | |
3477 | ||
3478 | addcmd('neon', 'makes a player neon',{}, | |
3479 | function(args, speaker) | |
3480 | local players = getPlayer(args[1], speaker) | |
3481 | if players ~= nil then | |
3482 | for i, v in pairs(players) do | |
3483 | for _, child in pairs( _char(v):GetChildren()) do | |
3484 | if child.ClassName == "Part" then | |
3485 | child.Material = "Neon" | |
3486 | end | |
3487 | end | |
3488 | end | |
3489 | end | |
3490 | end) | |
3491 | ||
3492 | addcmd('kill', 'kills a player',{}, | |
3493 | function(args, speaker) | |
3494 | local players = getPlayer(args[1], speaker) | |
3495 | for i,v in pairs(players)do | |
3496 | local pchar=_char(v) | |
3497 | if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end | |
3498 | end | |
3499 | end) | |
3500 | ||
3501 | addcmd('sound', 'plays a sound',{'music','play'}, | |
3502 | function(args, speaker) | |
3503 | local function dels(instance) | |
3504 | for i,v in pairs(instance:GetChildren())do | |
3505 | if v:IsA'Sound'then v:Destroy()end | |
3506 | dels(v) | |
3507 | end | |
3508 | end | |
3509 | dels(workspace) | |
3510 | ||
3511 | local c = args[1] or 'stop' | |
3512 | if std.inTable({'stop'}, c:lower()) then return end | |
3513 | local s = Instance.new("Sound", workspace) | |
3514 | s.Name = "IYsound" | |
3515 | s.Looped = true | |
3516 | s.SoundId = "rbxassetid://" .. c | |
3517 | s.Volume = 1 | |
3518 | s:Play() | |
3519 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c) | |
3520 | Notify('Playing: ' .. Asset.Name) | |
3521 | end) | |
3522 | ||
3523 | addcmd('blur', 'adjusts blur',{}, | |
3524 | function(args, speaker) | |
3525 | local function dels(instance) | |
3526 | for i,v in pairs(instance:GetChildren())do | |
3527 | if v:IsA'BlurEffect'then v:Destroy()end | |
3528 | dels(v) | |
3529 | end | |
3530 | end | |
3531 | dels(game.Lighting) | |
3532 | ||
3533 | local b = Instance.new("BlurEffect", game.Lighting) | |
3534 | b.Name = "IYblur" | |
3535 | b.Size = args[1] | |
3536 | end) | |
3537 | ||
3538 | ||
3539 | addcmd('volume','changes volume of sound',{}, | |
3540 | function(args, speaker) | |
3541 | for i,v in pairs(game.Workspace:GetChildren())do | |
3542 | if v:IsA("Sound") and v.Name == "IYsound" then | |
3543 | v.Volume = args[1] | |
3544 | Notify('Changed volume to ' .. args[1]) | |
3545 | end | |
3546 | end | |
3547 | end) | |
3548 | ||
3549 | addcmd('pitch','changes pitch of sound',{}, | |
3550 | function(args, speaker) | |
3551 | for i,v in pairs(game.Workspace:GetChildren())do | |
3552 | if v:IsA("Sound") and v.Name == "IYsound" then | |
3553 | v.Pitch = args[1] | |
3554 | Notify('Changed pitch to ' .. args[1]) | |
3555 | end | |
3556 | end | |
3557 | end) | |
3558 | ||
3559 | addcmd('loadmap', 'spawns a map',{}, | |
3560 | function(args, speaker) | |
3561 | local m = args[1] | |
3562 | ||
3563 | for i,v in pairs(game.Workspace:GetChildren()) do | |
3564 | if v.Name ~= "Terrain" and v.Name ~= "Camera" then | |
3565 | v:Destroy() | |
3566 | end | |
3567 | end | |
3568 | ||
3569 | game.Lighting.FogEnd = 1999999999 | |
3570 | game.Lighting.TimeOfDay = 14 | |
3571 | ||
3572 | for i,v in pairs(game.Lighting:GetChildren()) do | |
3573 | if v:IsA('Sky') then | |
3574 | v:Remove() | |
3575 | end | |
3576 | end | |
3577 | ||
3578 | for i,v in pairs(game.Players:GetChildren()) do | |
3579 | if v.Character ~= nil then | |
3580 | local M = Instance.new('Model', game.Workspace) M.Name = 'respawn_iy' | |
3581 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
3582 | Instance.new('Humanoid', M) | |
3583 | v.Character = M | |
3584 | wait(1) | |
3585 | game:GetObjects('rbxassetid://'..m..'')[1].Parent = workspace | |
3586 | wait(1) | |
3587 | end | |
3588 | end | |
3589 | end) | |
3590 | ||
3591 | addcmd('loadm','loads global messaging',{}, | |
3592 | function(args, speaker) | |
3593 | if MSGhook == false then | |
3594 | wait(0.1) | |
3595 | ||
3596 | localp = game:GetService'Players'.LocalPlayer | |
3597 | localp.CharacterAppearanceId = 20018 | |
3598 | game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
3599 | wait(3) | |
3600 | game.Players.LocalPlayer.Character:WaitForChild("Humanoid") | |
3601 | wait(0.5) | |
3602 | repeat wait() until game.Players.LocalPlayer.Character.Humanoid.Health > 0 | |
3603 | Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
3604 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
3605 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
3606 | print'loaded hat successfully' | |
3607 | localp.CharacterAppearanceId = 0 | |
3608 | game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
3609 | print'Resetting' | |
3610 | if _G.mainhat ~= nil then | |
3611 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
3612 | local localp = game:GetService'Players'.LocalPlayer | |
3613 | local part = Instance.new('Part') | |
3614 | part.Anchored = true | |
3615 | part.Transparency = 1 | |
3616 | main.Disabled = false | |
3617 | main.Parent = part | |
3618 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
3619 | Instance.new('ForceField', localp.Character) | |
3620 | localp.Character.Torso.Anchored = true | |
3621 | part.Parent = localp.Character | |
3622 | part.CFrame = localp.Character.Torso.CFrame | |
3623 | wait(0.5) | |
3624 | localp.Character.Torso.Anchored = false | |
3625 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
3626 | part:Remove() | |
3627 | local message = localp:FindFirstChild'ChessMsg' | |
3628 | message.Text = '' | |
3629 | message.Parent = workspace | |
3630 | message.Name = "IYmessage" | |
3631 | if part ~= nil then part:Remove() end | |
3632 | localp.Character.Torso.Anchored = false | |
3633 | for _, child in pairs( workspace:GetChildren()) do | |
3634 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
3635 | child:Destroy() | |
3636 | end | |
3637 | end | |
3638 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end | |
3639 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end | |
3640 | if _G.msg ~= nil then | |
3641 | print'Loaded Message System' | |
3642 | Notify('Done!') | |
3643 | else | |
3644 | warn'failed sadly' | |
3645 | end | |
3646 | end | |
3647 | elseif MSGhook == true then | |
3648 | Notify('Messages already loaded!') | |
3649 | end | |
3650 | end) | |
3651 | ||
3652 | addcmd('countdown', 'makes a countdown', {}, | |
3653 | function(args, speaker) | |
3654 | local players = getPlayer(args[1], speaker) | |
3655 | if args[1] ~= string then | |
3656 | local time = args[1] | |
3657 | if MSGhook == true then | |
3658 | local h = game.Workspace.IYmessage | |
3659 | for i = time, 1, -1 do | |
3660 | wait(1) | |
3661 | h.Text = "Countdown: "..i.."" | |
3662 | end | |
3663 | wait(1) | |
3664 | h.Text = "Times Up!" | |
3665 | wait(2) | |
3666 | h.Text = '' | |
3667 | elseif MSGhook == false then | |
3668 | execCmd("loadm") | |
3669 | repeat wait() until MSGhook == true | |
3670 | local h = game.Workspace.IYmessage | |
3671 | for i = time, 1, -1 do | |
3672 | wait(1) | |
3673 | h.Text = "Countdown: "..i.."" | |
3674 | end | |
3675 | wait(1) | |
3676 | h.Text = "Times Up!" | |
3677 | wait(2) | |
3678 | h.Text = '' | |
3679 | end | |
3680 | end | |
3681 | end) | |
3682 | ||
3683 | addcmd('explode', 'explode a player', {}, | |
3684 | function(args, speaker) | |
3685 | local players = getPlayer(args[1], speaker) | |
3686 | for i, v in pairs(players) do | |
3687 | local char = _char(v) | |
3688 | if char:FindFirstChild("Torso") then | |
3689 | Instance.new("Explosion", char).Position = char.Torso.Position | |
3690 | end | |
3691 | end | |
3692 | end) | |
3693 | ||
3694 | addcmd('flood', 'makes a flood e.e', {}, | |
3695 | function(args, speaker) | |
3696 | game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
3697 | end) | |
3698 | ||
3699 | addcmd('spookyify', 'makes it sp00ky', {}, | |
3700 | function(args, speaker) | |
3701 | local music = Instance.new("Sound", workspace) | |
3702 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
3703 | music.Volume = 20 | |
3704 | music.Looped = true | |
3705 | music:Play() | |
3706 | ||
3707 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
3708 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
3709 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
3710 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
3711 | ||
3712 | local w = game.Workspace:GetChildren() | |
3713 | ||
3714 | for i= 1,#w do | |
3715 | if w[i]:isA("BasePart") then | |
3716 | pe = Instance.new("ParticleEmitter", w[i]) | |
3717 | pe.Texture = tex4 | |
3718 | pe.VelocitySpread = 5 | |
3719 | end | |
3720 | end | |
3721 | ||
3722 | local playerLeaderstats = {} | |
3723 | for i, v in pairs(game.Players:GetChildren()) do | |
3724 | table.insert(playerLeaderstats, v) | |
3725 | end | |
3726 | for i, v in pairs(playerLeaderstats) do | |
3727 | pe = Instance.new("ParticleEmitter",v.Character.Torso) | |
3728 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
3729 | pe.VelocitySpread = 50 | |
3730 | end | |
3731 | ||
3732 | texture = "http://www.roblox.com/asset/?id=185495987" | |
3733 | ||
3734 | local A = game.Workspace:GetChildren() | |
3735 | local B = game.Workspace:GetChildren() | |
3736 | local C = game.Workspace:GetChildren() | |
3737 | local D = game.Workspace:GetChildren() | |
3738 | local E = game.Workspace:GetChildren() | |
3739 | local F = game.Workspace:GetChildren() | |
3740 | for i,v in pairs(A) do | |
3741 | if v:IsA("Part") then | |
3742 | local d = Instance.new("Decal",v) | |
3743 | v.Decal.Face = "Top" | |
3744 | v.Decal.Texture = texture | |
3745 | v.Anchored = true | |
3746 | end | |
3747 | end | |
3748 | ||
3749 | for i,v in pairs(B) do | |
3750 | if v:IsA("Part") then | |
3751 | local s = Instance.new("Decal",v) | |
3752 | s.Face = "Front" | |
3753 | s.Texture = texture | |
3754 | end | |
3755 | end | |
3756 | ||
3757 | for i,v in pairs(C) do | |
3758 | if v:IsA("Part") then | |
3759 | local h = Instance.new("Decal",v) | |
3760 | h.Face = "Back" | |
3761 | h.Texture = texture | |
3762 | end | |
3763 | end | |
3764 | ||
3765 | for i,v in pairs(D) do | |
3766 | if v:IsA("Part") then | |
3767 | local j = Instance.new("Decal",v) | |
3768 | j.Face = "Left" | |
3769 | j.Texture = texture | |
3770 | end | |
3771 | end | |
3772 | ||
3773 | for i,v in pairs(E) do | |
3774 | if v:IsA("Part") then | |
3775 | local k = Instance.new("Decal",v) | |
3776 | k.Face = "Right" | |
3777 | k.Texture = texture | |
3778 | end | |
3779 | end | |
3780 | ||
3781 | for i,v in pairs(F) do | |
3782 | if v:IsA("Part") then | |
3783 | local l = Instance.new("Decal",v) | |
3784 | l.Face = "Bottom" | |
3785 | l.Texture = texture | |
3786 | end | |
3787 | ||
3788 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
3789 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
3790 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
3791 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
3792 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
3793 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
3794 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
3795 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
3796 | ||
3797 | Spooky = Instance.new("Sound", workspace) | |
3798 | Spooky.Name = "Spooky" | |
3799 | Spooky.SoundId = "rbxassetid://174270407" | |
3800 | Spooky.Volume = 15 | |
3801 | Spooky.Looped = true | |
3802 | Spooky:Play() | |
3803 | ||
3804 | Sky = Instance.new("Sky", game.Lighting) | |
3805 | Sky.SkyboxBk = imageOne | |
3806 | Sky.SkyboxDn = imageOne | |
3807 | Sky.SkyboxFt = imageOne | |
3808 | Sky.SkyboxLf = imageOne | |
3809 | Sky.SkyboxRt = imageOne | |
3810 | Sky.SkyboxUp = imageOne | |
3811 | ||
3812 | ||
3813 | while true do | |
3814 | Sky.SkyboxBk = imageOne | |
3815 | Sky.SkyboxDn = imageOne | |
3816 | Sky.SkyboxFt = imageOne | |
3817 | Sky.SkyboxLf = imageOne | |
3818 | Sky.SkyboxRt = imageOne | |
3819 | Sky.SkyboxUp = imageOne | |
3820 | wait(0.15) | |
3821 | Sky.SkyboxBk = imageTwo | |
3822 | Sky.SkyboxDn = imageTwo | |
3823 | Sky.SkyboxFt = imageTwo | |
3824 | Sky.SkyboxLf = imageTwo | |
3825 | Sky.SkyboxRt = imageTwo | |
3826 | Sky.SkyboxUp = imageTwo | |
3827 | wait(0.15) | |
3828 | Sky.SkyboxBk = imageThree | |
3829 | Sky.SkyboxDn = imageThree | |
3830 | Sky.SkyboxFt = imageThree | |
3831 | Sky.SkyboxLf = imageThree | |
3832 | Sky.SkyboxRt = imageThree | |
3833 | Sky.SkyboxUp = imageThree | |
3834 | wait(0.15) | |
3835 | Sky.SkyboxBk = imageFour | |
3836 | Sky.SkyboxDn = imageFour | |
3837 | Sky.SkyboxFt = imageFour | |
3838 | Sky.SkyboxLf = imageFour | |
3839 | Sky.SkyboxRt = imageFour | |
3840 | Sky.SkyboxUp = imageFour | |
3841 | wait(0.15) | |
3842 | Sky.SkyboxBk = imageFive | |
3843 | Sky.SkyboxDn = imageFive | |
3844 | Sky.SkyboxFt = imageFive | |
3845 | Sky.SkyboxLf = imageFive | |
3846 | Sky.SkyboxRt = imageFive | |
3847 | Sky.SkyboxUp = imageFive | |
3848 | wait(0.15) | |
3849 | Sky.SkyboxBk = imageSix | |
3850 | Sky.SkyboxDn = imageSix | |
3851 | Sky.SkyboxFt = imageSix | |
3852 | Sky.SkyboxLf = imageSix | |
3853 | Sky.SkyboxRt = imageSix | |
3854 | Sky.SkyboxUp = imageSix | |
3855 | wait(0.15) | |
3856 | Sky.SkyboxBk = imageSeven | |
3857 | Sky.SkyboxDn = imageSeven | |
3858 | Sky.SkyboxFt = imageSeven | |
3859 | Sky.SkyboxLf = imageSeven | |
3860 | Sky.SkyboxRt = imageSeven | |
3861 | Sky.SkyboxUp = imageSeven | |
3862 | wait(0.15) | |
3863 | Sky.SkyboxBk = imageEight | |
3864 | Sky.SkyboxDn = imageEight | |
3865 | Sky.SkyboxFt = imageEight | |
3866 | Sky.SkyboxLf = imageEight | |
3867 | Sky.SkyboxRt = imageEight | |
3868 | Sky.SkyboxUp = imageEight | |
3869 | wait(0.15) | |
3870 | ||
3871 | end | |
3872 | end | |
3873 | end) | |
3874 | ||
3875 | addcmd('invisible', 'make a player invisible',{}, | |
3876 | function(args, speaker) | |
3877 | local players = getPlayer(args[1], speaker) | |
3878 | for i, v in pairs(players) do | |
3879 | for k, v2 in pairs(_char(v):GetChildren()) do | |
3880 | if v2.className == "Part" then | |
3881 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
3882 | elseif v2.className == "Accessory" then | |
3883 | if v2:FindFirstChild("Handle") then | |
3884 | v2.Handle.Transparency = 1 | |
3885 | end | |
3886 | end | |
3887 | if v2:FindFirstChild("face") then | |
3888 | v2.face.Transparency = 1 | |
3889 | end | |
3890 | end | |
3891 | end | |
3892 | end) | |
3893 | ||
3894 | addcmd('visible', 'make a player visible',{}, | |
3895 | function(args, speaker) | |
3896 | local players = getPlayer(args[1], speaker) | |
3897 | for i, v in pairs(players) do | |
3898 | for k, v2 in pairs(_char(v):GetChildren()) do | |
3899 | if v2.className == "Part" then | |
3900 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
3901 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end | |
3902 | end | |
3903 | if v2:FindFirstChild("face") then | |
3904 | v2.face.Transparency = 0 | |
3905 | end | |
3906 | end | |
3907 | end | |
3908 | end) | |
3909 | ||
3910 | addcmd('goto', 'go to a player',{}, | |
3911 | function(args, speaker) | |
3912 | local players = getPlayer(args[1], speaker) | |
3913 | if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then | |
3914 | _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame | |
3915 | end | |
3916 | end) | |
3917 | ||
3918 | addcmd('bring', 'bring a player to you',{}, | |
3919 | function(args, speaker) | |
3920 | local players = getPlayer(args[1], speaker) | |
3921 | for i,v in pairs(players) do | |
3922 | if _char(v):FindFirstChild("HumanoidRootPart") then | |
3923 | _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame | |
3924 | end | |
3925 | end | |
3926 | end) | |
3927 | ||
3928 | addcmd('tp', 'teleport player 1 to player 2',{}, | |
3929 | function(args, speaker) | |
3930 | local players1=getPlayer(args[1], speaker) | |
3931 | local players2=getPlayer(args[2], speaker) | |
3932 | if not players2[1] then return end | |
3933 | for i,v in pairs(players1) do | |
3934 | if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then | |
3935 | _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame | |
3936 | wait(0.1) | |
3937 | _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame | |
3938 | end | |
3939 | end | |
3940 | end) | |
3941 | ||
3942 | addcmd('charplr','charplr [plr] [plr]',{'cp'}, | |
3943 | function(args, speaker) | |
3944 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
3945 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
3946 | if _players[v].Character and _players[b].Character then | |
3947 | _players[v].CharacterAppearanceId = _players[b].userId | |
3948 | _players[v].Character:BreakJoints() | |
3949 | end | |
3950 | end | |
3951 | end | |
3952 | end) | |
3953 | ||
3954 | addcmd('char', 'change a players appearance',{}, | |
3955 | function(args, speaker) | |
3956 | local players = getPlayer(args[1], speaker) | |
3957 | if not args[1]or not args[2]then return end | |
3958 | local id=args[2] | |
3959 | if players ~= nil then | |
3960 | for i,v in pairs(players) do | |
3961 | gPlayers[v].CharacterAppearanceId = id | |
3962 | if _char(v):FindFirstChild("Head") then | |
3963 | _char(v).Head:Destroy() | |
3964 | end | |
3965 | end | |
3966 | end | |
3967 | end) | |
3968 | ||
3969 | addcmd('unchar', 'change a players appearance to default',{'nochar'}, | |
3970 | function(args, speaker) | |
3971 | local players = getPlayer(args[1], speaker) | |
3972 | if players ~= nil then | |
3973 | for i,v in pairs(players) do | |
3974 | gPlayers[v].CharacterAppearanceId = 0 | |
3975 | if _char(v):FindFirstChild("Head") then | |
3976 | _char(v).Head:Destroy() | |
3977 | end | |
3978 | end | |
3979 | end | |
3980 | end) | |
3981 | ||
3982 | addcmd('speed', 'change a players walkspeed',{'ws'}, | |
3983 | function(args, speaker) | |
3984 | local players = getPlayer(args[1], speaker) | |
3985 | if not args[1]or not args[2]then return end | |
3986 | local num=args[2] | |
3987 | for i,v in pairs(players) do | |
3988 | if _char(v):FindFirstChild("Humanoid") then | |
3989 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
3990 | end | |
3991 | end | |
3992 | end) | |
3993 | ||
3994 | addcmd('gravity', 'change a players jump height',{'grav'}, | |
3995 | function(args, speaker) | |
3996 | local players = getPlayer(args[1], speaker) | |
3997 | if not args[1]or not args[2]then return end | |
3998 | local num=args[2] | |
3999 | for i,v in pairs(players) do | |
4000 | if _char(v):FindFirstChild("Humanoid") then | |
4001 | _char(v).Humanoid.JumpPower=tonumber(num) | |
4002 | end | |
4003 | end | |
4004 | end) | |
4005 | ||
4006 | addcmd('confuse', 'confusing...',{}, | |
4007 | function(args, speaker) | |
4008 | local players = getPlayer(args[1], speaker) | |
4009 | for i,v in pairs(players) do | |
4010 | spawn(function() | |
4011 | if _char(v):FindFirstChild("Humanoid") then | |
4012 | _char(v).Humanoid.Name = "ConfusedNigga" | |
4013 | while true do | |
4014 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
4015 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
4016 | wait(0.1) | |
4017 | end | |
4018 | ||
4019 | end | |
4020 | end) | |
4021 | end | |
4022 | end) | |
4023 | ||
4024 | addcmd('unconfuse', 'not confusing...',{}, | |
4025 | function(args, speaker) | |
4026 | local players = getPlayer(args[1], speaker) | |
4027 | for i,v in pairs(players) do | |
4028 | spawn(function() | |
4029 | if _char(v):FindFirstChild("ConfusedNigga") then | |
4030 | _char(v).ConfusedNigga.Name = "Humanoid" | |
4031 | wait(0.3) | |
4032 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
4033 | ||
4034 | end | |
4035 | end) | |
4036 | end | |
4037 | end) | |
4038 | ||
4039 | addcmd('cripple', 'cripples a player xddd',{'stun'}, | |
4040 | function(args, speaker) | |
4041 | local players = getPlayer(args[1], speaker) | |
4042 | for i,v in pairs(players) do | |
4043 | if _char(v):FindFirstChild("Humanoid") then | |
4044 | _char(v).Humanoid.PlatformStand = true | |
4045 | end | |
4046 | end | |
4047 | end) | |
4048 | ||
4049 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'}, | |
4050 | function(args, speaker) | |
4051 | local players = getPlayer(args[1], speaker) | |
4052 | for i,v in pairs(players) do | |
4053 | if _char(v):FindFirstChild("Humanoid") then | |
4054 | _char(v).Humanoid.PlatformStand = false | |
4055 | end | |
4056 | end | |
4057 | end) | |
4058 | ||
4059 | addcmd('hipheight', 'adjusts hip height',{'hheight'}, | |
4060 | function(args, speaker) | |
4061 | local players = getPlayer(args[1], speaker) | |
4062 | for i,v in pairs(players) do | |
4063 | if _char(v):FindFirstChild("Humanoid") then | |
4064 | _char(v).Humanoid.HipHeight = args[2] | |
4065 | end | |
4066 | end | |
4067 | end) | |
4068 | ||
4069 | addcmd('time', 'change the time of day',{}, | |
4070 | function(args, speaker) | |
4071 | if not args[1]then return end | |
4072 | local time_=tonumber(args[1]) | |
4073 | Notify('Time set to ' .. args[1]) | |
4074 | game.Lighting:SetMinutesAfterMidnight(time_*60) | |
4075 | end) | |
4076 | ||
4077 | addcmd('kick', 'kick a player',{}, | |
4078 | function(args, speaker) | |
4079 | local players = getPlayer(args[1], speaker) | |
4080 | for i,v in pairs(players) do | |
4081 | if args[1] == "all" then | |
4082 | Notify('Kicked everyone') | |
4083 | elseif args[1] == "others" then | |
4084 | Notify('Kicked others') | |
4085 | elseif args[1] == "friends" then | |
4086 | Notify('Kicked friends') | |
4087 | elseif args[1] == "nonfriends" then | |
4088 | Notify('Kicked non friends') | |
4089 | elseif args[1] == "team" then | |
4090 | Notify('Kicked your team') | |
4091 | elseif args[1] == "nonteam" then | |
4092 | Notify('Kicked the opposing team') | |
4093 | elseif args[1] == "guests" then | |
4094 | Notify('Kicked guests') | |
4095 | elseif args[1] == "nonadmins" then | |
4096 | Notify('Kicked nonadmins') | |
4097 | else | |
4098 | Notify('Kicked ' .. gPlayers[v].Name) | |
4099 | end | |
4100 | spawn(function() | |
4101 | function Kick(PLAYER) | |
4102 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
4103 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
4104 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
4105 | Plat.Name = 'IYkick' | |
4106 | Plat.Size = Vector3.new(100, 1, 100) | |
4107 | local PART = Instance.new('Part', PLAYER.Character) | |
4108 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
4109 | PART.Size = Vector3.new(100, 1, 100) | |
4110 | PART.Anchored = true | |
4111 | ||
4112 | PART.Transparency = 1 | |
4113 | Plat.Transparency = 1 | |
4114 | ||
4115 | repeat wait(1) | |
4116 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
4117 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
4118 | end | |
4119 | Kick(PLAYER) | |
4120 | until not game.Players:findFirstChild(PLAYER) | |
4121 | end | |
4122 | end | |
4123 | Kick(gPlayers[v]) | |
4124 | end) | |
4125 | end | |
4126 | end) | |
4127 | ||
4128 | addcmd('serverlock', 'lock teh server',{'slock'}, | |
4129 | function(args, speaker) | |
4130 | slock = true | |
4131 | Notify('Locked Server') | |
4132 | end) | |
4133 | ||
4134 | addcmd('unserverlock', 'unlock teh server',{'unslock'}, | |
4135 | function(args, speaker) | |
4136 | slock = false | |
4137 | Notify('Unlocked Server') | |
4138 | end) | |
4139 | ||
4140 | addcmd('unlockws', 'unlock the whole workspace',{'unlock'}, | |
4141 | function(args, speaker) | |
4142 | Notify('Workspace unlocked') | |
4143 | wait(1) | |
4144 | local function unlock(instance) | |
4145 | for i,v in pairs(instance:GetChildren()) do | |
4146 | if v:IsA("BasePart") then | |
4147 | v.Locked = false | |
4148 | end | |
4149 | unlock(v) | |
4150 | end | |
4151 | end | |
4152 | unlock(workspace) | |
4153 | end) | |
4154 | ||
4155 | addcmd('lockws', 'lock the whole workspace',{'lock'}, | |
4156 | function(args, speaker) | |
4157 | Notify('Workspace locked') | |
4158 | wait(1) | |
4159 | local function lock(instance) | |
4160 | for i,v in pairs(instance:GetChildren()) do | |
4161 | if v:IsA("BasePart") then | |
4162 | v.Locked = true | |
4163 | end | |
4164 | lock(v) | |
4165 | end | |
4166 | end | |
4167 | lock(workspace) | |
4168 | end) | |
4169 | ||
4170 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'}, | |
4171 | function(args, speaker) | |
4172 | local function unanchor(instance) | |
4173 | for i,v in pairs(instance:GetChildren()) do | |
4174 | if v:IsA("BasePart") then | |
4175 | v.Anchored=false | |
4176 | end | |
4177 | unanchor(v) | |
4178 | end | |
4179 | end | |
4180 | unanchor(workspace) | |
4181 | end) | |
4182 | ||
4183 | addcmd('anchorws', 'unanchor the whole workspace',{'unanchor', 'anchor'}, | |
4184 | function(args, speaker) | |
4185 | local function anchor(instance) | |
4186 | for i,v in pairs(instance:GetChildren()) do | |
4187 | if v:IsA("BasePart") then | |
4188 | v.Anchored=true | |
4189 | end | |
4190 | anchor(v) | |
4191 | end | |
4192 | end | |
4193 | anchor(workspace) | |
4194 | end) | |
4195 | ||
4196 | addcmd('headshake', 'shakes a players head',{}, | |
4197 | function(args, speaker) | |
4198 | local players = getPlayer(args[1], speaker) | |
4199 | for i,v in pairs(players) do | |
4200 | spawn(function() | |
4201 | local shaken = gPlayers[v].Character | |
4202 | for X = 1, math.huge, 0.2 do | |
4203 | wait() | |
4204 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
4205 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
4206 | end | |
4207 | for X = 1, math.huge, 0.1 do | |
4208 | wait() | |
4209 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
4210 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
4211 | end | |
4212 | for _,c in pairs(game.Players:GetChildren()) do | |
4213 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
4214 | end | |
4215 | for _,c in pairs(game.Players:GetChildren()) do | |
4216 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
4217 | end | |
4218 | end) | |
4219 | end | |
4220 | end) | |
4221 | ||
4222 | addcmd('explorer', 'opens DEX',{}, | |
4223 | function(args, speaker) | |
4224 | loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)() | |
4225 | end) | |
4226 | ||
4227 | addcmd('firstp', 'forces player to go into first person',{}, | |
4228 | function(args, speaker) | |
4229 | local players = getPlayer(args[1], speaker) | |
4230 | for i,v in pairs(players)do | |
4231 | gPlayers[v].CameraMode = "LockFirstPerson" | |
4232 | end | |
4233 | end) | |
4234 | ||
4235 | addcmd('base', 'spawns a base',{}, | |
4236 | function(args, speaker) | |
4237 | local pt = Instance.new("Part") | |
4238 | pt.BrickColor = BrickColor.new("Silver") | |
4239 | pt.Anchored = true | |
4240 | pt.CanCollide = true | |
4241 | pt.BottomSurface = "Weld" | |
4242 | pt.Parent = workspace | |
4243 | pt.Name = (math.random(1,1000000)) | |
4244 | pt.Size = Vector3.new(1000, 1, 1000) | |
4245 | pt.Locked = true | |
4246 | Notify('Created new base') | |
4247 | end) | |
4248 | ||
4249 | addcmd('fix', 'restores lighting and what not',{}, | |
4250 | function(args, speaker) | |
4251 | game.Lighting.Ambient = origsettings.abt | |
4252 | game.Lighting.Brightness = origsettings.brt | |
4253 | game.Lighting.TimeOfDay = origsettings.time | |
4254 | game.Lighting.FogColor = origsettings.fclr | |
4255 | game.Lighting.FogEnd = origsettings.fe | |
4256 | game.Lighting.FogStart = origsettings.fs | |
4257 | local function dels(instance) | |
4258 | for i,v in pairs(instance:GetChildren())do | |
4259 | if v:IsA'Sound'then v:Destroy()end | |
4260 | dels(v) | |
4261 | end | |
4262 | end | |
4263 | dels(workspace) | |
4264 | for i,v in pairs(game.Lighting:GetChildren()) do | |
4265 | if v:IsA('Sky') then | |
4266 | v:Remove() | |
4267 | end | |
4268 | end | |
4269 | for i,v in pairs(game.Lighting:GetChildren()) do | |
4270 | if v:IsA('BloomEffect') then | |
4271 | v:Remove() | |
4272 | end | |
4273 | end | |
4274 | for i,v in pairs(game.Lighting:GetChildren()) do | |
4275 | if v:IsA('BlurEffect') then | |
4276 | v:Remove() | |
4277 | end | |
4278 | end | |
4279 | for i,v in pairs(game.Lighting:GetChildren()) do | |
4280 | if v:IsA('ColorCorrectionEffect') then | |
4281 | v:Remove() | |
4282 | end | |
4283 | end | |
4284 | for i,v in pairs(game.Lighting:GetChildren()) do | |
4285 | if v:IsA('SunRaysEffect') then | |
4286 | v:Remove() | |
4287 | end | |
4288 | end | |
4289 | end) | |
4290 | ||
4291 | addcmd('thirdp', 'allows player to go into third person',{}, | |
4292 | function(args, speaker) | |
4293 | local players = getPlayer(args[1], speaker) | |
4294 | for i,v in pairs(players)do | |
4295 | gPlayers[v].CameraMode = "Classic" | |
4296 | end | |
4297 | end) | |
4298 | ||
4299 | addcmd('chat', 'forces player to chat what you input',{}, | |
4300 | function(args, speaker) | |
4301 | local players = getPlayer(args[1], speaker) | |
4302 | for i,v in pairs(players)do | |
4303 | game.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1)) | |
4304 | end | |
4305 | end) | |
4306 | ||
4307 | addcmd('name', 'names player',{}, | |
4308 | function(args, speaker) | |
4309 | local players = getPlayer(args[1], speaker) | |
4310 | for i,v in pairs(players) do | |
4311 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
4312 | if mod:FindFirstChild("TAG") then | |
4313 | gPlayers[v].Character.Head.Transparency = 0 | |
4314 | mod:Destroy() | |
4315 | end | |
4316 | end | |
4317 | ||
4318 | local char = gPlayers[v].Character | |
4319 | local model = Instance.new("Model", char) | |
4320 | local clone = char.Head:Clone() | |
4321 | local hum = Instance.new("Humanoid", model) | |
4322 | local weld = Instance.new("Weld", clone) | |
4323 | model.Name = GLS(false, 1) | |
4324 | clone.Parent = model | |
4325 | hum.Name = "TAG" | |
4326 | hum.MaxHealth = 100 | |
4327 | hum.Health = 100 | |
4328 | weld.Part0 = clone | |
4329 | weld.Part1 = char.Head | |
4330 | char.Head.Transparency = 1 | |
4331 | end | |
4332 | end) | |
4333 | ||
4334 | addcmd('unname', 'unnames player',{}, | |
4335 | function(args, speaker) | |
4336 | local players = getPlayer(args[1], speaker) | |
4337 | local name = (args[2]) | |
4338 | for i,v in pairs(players) do | |
4339 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
4340 | if mod:FindFirstChild("TAG") then | |
4341 | gPlayers[v].Character.Head.Transparency = 0 | |
4342 | mod:Destroy() | |
4343 | end | |
4344 | end | |
4345 | end | |
4346 | end) | |
4347 | ||
4348 | addcmd('damage', 'damages a player',{}, | |
4349 | function(args, speaker) | |
4350 | local players = getPlayer(args[1], speaker) | |
4351 | for i,v in pairs(players) do | |
4352 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
4353 | end | |
4354 | end) | |
4355 | ||
4356 | addcmd('view', 'views player',{}, | |
4357 | function(args, speaker) | |
4358 | local players = getPlayer(args[1], speaker) | |
4359 | for i,v in pairs(players) do | |
4360 | game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
4361 | Notify('Viewing ' .. gPlayers[v].Name) | |
4362 | end | |
4363 | end) | |
4364 | ||
4365 | addcmd('unview', 'stops viewing player',{}, | |
4366 | function() | |
4367 | game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character | |
4368 | Notify('View turned off') | |
4369 | end) | |
4370 | ||
4371 | addcmd('nolimbs', 'removes limbs from player',{}, | |
4372 | function(args, speaker) | |
4373 | local players = getPlayer(args[1], speaker) | |
4374 | for i,v in pairs(players) do | |
4375 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
4376 | if v:IsA("BasePart") and | |
4377 | v.Name == "Right Leg" or | |
4378 | v.Name == "Left Leg" or | |
4379 | v.Name == "Right Arm" or | |
4380 | v.Name == "Left Arm" then | |
4381 | v:Remove() | |
4382 | end | |
4383 | end | |
4384 | end | |
4385 | end) | |
4386 | ||
4387 | addcmd('box', 'creates a box around player',{}, | |
4388 | function(args, speaker) | |
4389 | local players = getPlayer(args[1], speaker) | |
4390 | for i,v in pairs(players)do | |
4391 | local pchar=_char(v) | |
4392 | local SB = Instance.new("SelectionBox", pchar) | |
4393 | SB.Adornee = SB.Parent | |
4394 | end | |
4395 | end) | |
4396 | ||
4397 | addcmd('nobox', 'takes away box from player',{'unbox'}, | |
4398 | function(args, speaker) | |
4399 | local players = getPlayer(args[1], speaker) | |
4400 | for i,v in pairs(players)do | |
4401 | local pchar=_char(v) | |
4402 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
4403 | if v:IsA("SelectionBox") then | |
4404 | v:Destroy() | |
4405 | end | |
4406 | end | |
4407 | end | |
4408 | end) | |
4409 | ||
4410 | addcmd('ghost', 'ghostifys player',{}, | |
4411 | function(args, speaker) | |
4412 | local players = getPlayer(args[1], speaker) | |
4413 | for i,v in pairs(players)do | |
4414 | local pchar=gPlayers[v].Character | |
4415 | pchar.Head.Transparency = 0.5 | |
4416 | pchar.Torso.Transparency = 0.5 | |
4417 | pchar["Left Arm"].Transparency = 0.5 | |
4418 | pchar["Right Arm"].Transparency = 0.5 | |
4419 | pchar["Left Leg"].Transparency = 0.5 | |
4420 | pchar["Right Leg"].Transparency = 0.5 | |
4421 | pchar.Head.face.Transparency = 0.5 | |
4422 | end | |
4423 | end) | |
4424 | ||
4425 | addcmd('sphere', 'puts sphere around player',{}, | |
4426 | function(args, speaker) | |
4427 | local players = getPlayer(args[1], speaker) | |
4428 | for i,v in pairs(players)do | |
4429 | local pchar=gPlayers[v].Character | |
4430 | local SS = Instance.new("SelectionSphere", pchar) | |
4431 | SS.Adornee = SS.Parent | |
4432 | end | |
4433 | end) | |
4434 | ||
4435 | addcmd('unsphere', 'removes sphere around player',{}, | |
4436 | function(args, speaker) | |
4437 | local players = getPlayer(args[1], speaker) | |
4438 | for i,v in pairs(players)do | |
4439 | local pchar=_char(v) | |
4440 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
4441 | if v:IsA("SelectionSphere") then | |
4442 | v:Destroy() | |
4443 | end | |
4444 | end | |
4445 | end | |
4446 | end) | |
4447 | ||
4448 | addcmd('ambient','changes ambient',{}, | |
4449 | function(args, speaker) | |
4450 | game.Lighting.Ambient = Color3.new(args[1],args[2],args[3]) | |
4451 | end) | |
4452 | ||
4453 | addcmd('fogend','changes the fogend',{}, | |
4454 | function(args, speaker) | |
4455 | game.Lighting.FogEnd = args[1] | |
4456 | end) | |
4457 | ||
4458 | addcmd('fogcolor','changes the fogs color',{}, | |
4459 | function(args, speaker) | |
4460 | game.Lighting.FogColor = Color3.new(args[1],args[2],args[3]) | |
4461 | end) | |
4462 | ||
4463 | addcmd('jail','jails player',{}, | |
4464 | function(args, speaker) | |
4465 | local players = getPlayer(args[1], speaker) | |
4466 | for i,v in pairs(players)do | |
4467 | local pchar=gPlayers[v].Character | |
4468 | local JailPlayer = DATA.JAIL:Clone() | |
4469 | JailPlayer.Parent = game.Workspace | |
4470 | JailPlayer:MoveTo(pchar.Torso.Position) | |
4471 | JailPlayer.Name = "JAIL_" .. gPlayers[v].Name | |
4472 | if pchar:FindFirstChild("HumanoidRootPart") then | |
4473 | pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame | |
4474 | end | |
4475 | end | |
4476 | end) | |
4477 | ||
4478 | addcmd('unjail','unjails player',{}, | |
4479 | function(args, speaker) | |
4480 | local players = getPlayer(args[1], speaker) | |
4481 | for i,v in pairs(players)do | |
4482 | game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy() | |
4483 | end | |
4484 | end) | |
4485 | ||
4486 | addcmd('shutdown', 'shuts the server down',{}, | |
4487 | function(args, speaker) | |
4488 | Notify('Shutting Down...') | |
4489 | wait(1) | |
4490 | workspace.Gravity = 1/0*0 | |
4491 | end) | |
4492 | ||
4493 | addcmd('animation','makes player animate',{'anim'}, | |
4494 | function(args, speaker) | |
4495 | local players = getPlayer(args[1], speaker) | |
4496 | for i,v in pairs(players)do | |
4497 | local pchar = gPlayers[v].Character | |
4498 | local ID = args[2] | |
4499 | ||
4500 | if args[2] == "climb" then | |
4501 | ID = "180436334" | |
4502 | end | |
4503 | if args[2] == "fall" then | |
4504 | ID = "180436148" | |
4505 | end | |
4506 | if args[2] == "jump" then | |
4507 | ID = "125750702" | |
4508 | end | |
4509 | if args[2] == "sit" then | |
4510 | ID = "178130996" | |
4511 | end | |
4512 | for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do | |
4513 | if x:IsA("StringValue") then | |
4514 | for _,c in pairs(x:GetChildren()) do | |
4515 | if c:IsA("Animation") then | |
4516 | c.AnimationId = "rbxassetid://" .. ID | |
4517 | end | |
4518 | end | |
4519 | end | |
4520 | end | |
4521 | end | |
4522 | end) | |
4523 | ||
4524 | addcmd('normal','turns player back to normal',{}, | |
4525 | function(args, speaker) | |
4526 | local players = getPlayer(args[1], speaker) | |
4527 | for i,v in pairs(players)do | |
4528 | local pchar = gPlayers[v].Character | |
4529 | ||
4530 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
4531 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0) | |
4532 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0) | |
4533 | pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0) | |
4534 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0) | |
4535 | ||
4536 | for i,v in pairs(pchar.Head:GetChildren()) do | |
4537 | if v:IsA("SpecialMesh") then | |
4538 | v:Destroy() | |
4539 | end | |
4540 | end | |
4541 | ||
4542 | for i,v in pairs(pchar:GetChildren()) do | |
4543 | if v:IsA("Shirt") then | |
4544 | v:Destroy() | |
4545 | end | |
4546 | end | |
4547 | ||
4548 | for i,v in pairs(pchar:GetChildren()) do | |
4549 | if v:IsA("Pants") then | |
4550 | v:Destroy() | |
4551 | end | |
4552 | end | |
4553 | ||
4554 | if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then | |
4555 | Player.Character["Shirt Graphic"].Graphic = "" | |
4556 | end | |
4557 | ||
4558 | local HeadMesh = Instance.new("SpecialMesh", pchar.Head) | |
4559 | HeadMesh.MeshType = "Head" | |
4560 | HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
4561 | ||
4562 | pchar.Head.Transparency = 0 | |
4563 | pchar.Torso.Transparency = 0 | |
4564 | pchar["Left Arm"].Transparency = 0 | |
4565 | pchar["Right Arm"].Transparency = 0 | |
4566 | pchar["Left Leg"].Transparency = 0 | |
4567 | pchar["Right Leg"].Transparency = 0 | |
4568 | ||
4569 | for i,v in pairs(pchar.Head:GetChildren()) do | |
4570 | if v:IsA("Decal") then | |
4571 | v:Destroy() | |
4572 | end | |
4573 | end | |
4574 | ||
4575 | local face = Instance.new("Decal", pchar.Head) | |
4576 | face.Name = "face" | |
4577 | face.Texture = "rbxasset://textures/face.png" | |
4578 | face.Face = "Front" | |
4579 | ||
4580 | for i,v in pairs(pchar:GetChildren()) do | |
4581 | if v:IsA("Seat") then | |
4582 | v:Destroy() | |
4583 | end | |
4584 | end | |
4585 | ||
4586 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
4587 | if v:IsA("Weld") then | |
4588 | v:Destroy() | |
4589 | end | |
4590 | end | |
4591 | ||
4592 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
4593 | if v:IsA("SpecialMesh") then | |
4594 | v:Destroy() | |
4595 | end | |
4596 | end | |
4597 | ||
4598 | pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow") | |
4599 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow") | |
4600 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue") | |
4601 | pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow") | |
4602 | pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue") | |
4603 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue") | |
4604 | for _,v in pairs(Player.Character:GetChildren()) do | |
4605 | if v:IsA("Accessory") then | |
4606 | v:Destroy() | |
4607 | end | |
4608 | end | |
4609 | end | |
4610 | end) | |
4611 | ||
4612 | addcmd('creeper','make the player a creeper',{'crpr'}, | |
4613 | function(args, speaker) | |
4614 | local players = getPlayer(args[1], speaker) | |
4615 | for i,v in pairs(players)do | |
4616 | local pchar = gPlayers[v].Character | |
4617 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then | |
4618 | if pchar:FindFirstChild("Shirt") then | |
4619 | pchar.Shirt.Parent = pchar.Torso | |
4620 | end | |
4621 | if pchar:FindFirstChild("Pants") then | |
4622 | pchar.Pants.Parent = pchar.Torso | |
4623 | end | |
4624 | if pchar:FindFirstChild("Shirt Graphic") then | |
4625 | pchar["Shirt Graphic"].Graphic = "" | |
4626 | end | |
4627 | for i,v in pairs(pchar:GetChildren()) do | |
4628 | if v:IsA("Accessory") then | |
4629 | v:Destroy() | |
4630 | end | |
4631 | end | |
4632 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
4633 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
4634 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
4635 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
4636 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
4637 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green") | |
4638 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green") | |
4639 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green") | |
4640 | pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green") | |
4641 | pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green") | |
4642 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green") | |
4643 | end | |
4644 | end | |
4645 | end) | |
4646 | ||
4647 | addcmd('uncreeper','makes player back to normal',{}, | |
4648 | function(args, speaker) | |
4649 | local players = getPlayer(args[1], speaker) | |
4650 | for i,v in pairs(players)do | |
4651 | execCmd("normal " .. gPlayers[v].Name, Player) | |
4652 | end | |
4653 | end) | |
4654 | ||
4655 | addcmd('crash','crashes a player',{}, | |
4656 | function(args, speaker) | |
4657 | local players = getPlayer(args[1], speaker) | |
4658 | for i,v in pairs(players)do | |
4659 | if args[1] == "all" then | |
4660 | Notify('Everyone has been crashed') | |
4661 | elseif args[1] == "others" then | |
4662 | Notify('Crashed others') | |
4663 | elseif args[1] == "friends" then | |
4664 | Notify('Crashed friends') | |
4665 | elseif args[1] == "nonfriends" then | |
4666 | Notify('Crashed non friends') | |
4667 | elseif args[1] == "team" then | |
4668 | Notify('Crashed your team') | |
4669 | elseif args[1] == "nonteam" then | |
4670 | Notify('Crashed the opposing team') | |
4671 | elseif args[1] == "guests" then | |
4672 | Notify('Crashed guests') | |
4673 | elseif args[1] == "nonadmins" then | |
4674 | Notify('Crashed nonadmins') | |
4675 | else | |
4676 | Notify(gPlayers[v].Name .. ' has been crashed') | |
4677 | end | |
4678 | wait(4) | |
4679 | local play = gPlayers[v] | |
4680 | if play ~= nil then | |
4681 | for i=1,3600 do | |
4682 | Instance.new("HopperBin",play.Backpack).Name = "nig" | |
4683 | end | |
4684 | wait() | |
4685 | for i=1,3600 do | |
4686 | Instance.new("HopperBin",play.Backpack).Name = "nog" | |
4687 | end | |
4688 | wait() | |
4689 | end | |
4690 | end | |
4691 | end) | |
4692 | ||
4693 | addcmd('shrek', 'makes player shrek',{}, | |
4694 | function(args, speaker) | |
4695 | local players = getPlayer(args[1], speaker) | |
4696 | for i,v in pairs(players) do | |
4697 | local pchar = gPlayers[v].Character | |
4698 | for i,v in pairs(pchar:GetChildren()) do | |
4699 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") | |
4700 | then | |
4701 | v:Destroy() | |
4702 | end | |
4703 | end | |
4704 | for i,v in pairs(pchar.Head:GetChildren()) do | |
4705 | if v:IsA("Decal") or v:IsA("SpecialMesh") then | |
4706 | v:Destroy() | |
4707 | end | |
4708 | end | |
4709 | ||
4710 | local mesh = Instance.new("SpecialMesh", pchar.Head) | |
4711 | mesh.MeshType = "FileMesh" | |
4712 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
4713 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
4714 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
4715 | ||
4716 | local Shirt = Instance.new("Shirt", gPlayers[v].Character) | |
4717 | local Pants = Instance.new("Pants", gPlayers[v].Character) | |
4718 | ||
4719 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
4720 | Pants.PantsTemplate = "rbxassetid://133078204" | |
4721 | end | |
4722 | end) | |
4723 | ||
4724 | addcmd('unshrek','makes player back to normal',{}, | |
4725 | function(args, speaker) | |
4726 | local players = getPlayer(args[1], speaker) | |
4727 | for i,v in pairs(players)do | |
4728 | execCmd("normal " .. gPlayers[v].Name, Player) | |
4729 | end | |
4730 | end) | |
4731 | ||
4732 | addcmd('oof','good things happen',{}, | |
4733 | function(args, speaker) | |
4734 | local players = getPlayer(args[1], speaker) | |
4735 | for i,v in pairs(players)do | |
4736 | spawn(function() | |
4737 | gPlayers[v].Character.Head.Died.Looped = true | |
4738 | wait(0.1) | |
4739 | gPlayers[v].Character.Head.Died.Playing = true | |
4740 | gPlayers[v].Character.Head.Died.Volume = 10 | |
4741 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
4742 | execCmd("size " .. gPlayers[v].Name .. ' -1') | |
4743 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000') | |
4744 | wait(5) | |
4745 | execCmd("explode " .. gPlayers[v].Name) | |
4746 | wait(0.1) | |
4747 | gPlayers[v].Character.Humanoid.Health = 0 | |
4748 | end) | |
4749 | end | |
4750 | end) | |
4751 | ||
4752 | addcmd('control','controls player',{}, | |
4753 | function(args, speaker) | |
4754 | local players = getPlayer(args[1], speaker) | |
4755 | for i,v in pairs(players)do | |
4756 | local pchar = gPlayers[v].Character | |
4757 | if gPlayers[v] and pchar then | |
4758 | pchar.Humanoid.PlatformStand = true | |
4759 | local w = Instance.new("Weld", Player.Character.Torso) | |
4760 | w.Part0 = Player.Character.Torso | |
4761 | w.Part1 = pchar.Torso | |
4762 | local w2 = Instance.new("Weld", Player.Character.Head) | |
4763 | w2.Part0 = Player.Character.Head | |
4764 | w2.Part1 = pchar.Head | |
4765 | local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm")) | |
4766 | w3.Part0 = Player.Character:findFirstChild("Right Arm") | |
4767 | w3.Part1 = pchar:findFirstChild("Right Arm") | |
4768 | local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm")) | |
4769 | w4.Part0 = Player.Character:findFirstChild("Left Arm") | |
4770 | w4.Part1 = pchar:findFirstChild("Left Arm") | |
4771 | local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg")) | |
4772 | w5.Part0 = Player.Character:findFirstChild("Right Leg") | |
4773 | w5.Part1 = pchar:findFirstChild("Right Leg") | |
4774 | local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg")) | |
4775 | w6.Part0 = Player.Character:findFirstChild("Left Leg") | |
4776 | w6.Part1 = pchar:findFirstChild("Left Leg") | |
4777 | char.Head.face:Destroy() | |
4778 | for i,v in pairs(pchar:GetChildren()) do | |
4779 | if v:IsA("BasePart") then | |
4780 | v.CanCollide = false | |
4781 | end | |
4782 | end | |
4783 | for i,v in pairs(char:GetChildren()) do | |
4784 | if v:IsA("BasePart") then | |
4785 | v.Transparency = 1 | |
4786 | elseif v:IsA("Accessory") then | |
4787 | v:Destroy() | |
4788 | end | |
4789 | end | |
4790 | pchar.Parent = char | |
4791 | pchar.Humanoid.Changed:connect(function() | |
4792 | pchar.Humanoid.PlatformStand = true | |
4793 | end) | |
4794 | end | |
4795 | end | |
4796 | end) | |
4797 | ||
4798 | addcmd('nuke','nukes player',{}, | |
4799 | function(args, speaker) | |
4800 | local players = getPlayer(args[1], speaker) | |
4801 | for i,v in pairs(players)do | |
4802 | local pchar = gPlayers[v].Character | |
4803 | if gPlayers[v] and pchar and pchar:FindFirstChild("Torso") then | |
4804 | local nuke = Instance.new("Part", game.Workspace) | |
4805 | nuke.Anchored = true | |
4806 | nuke.CanCollide = false | |
4807 | nuke.FormFactor = "Symmetric" | |
4808 | nuke.Shape = "Ball" | |
4809 | nuke.Size = Vector3.new(1,1,1) | |
4810 | nuke.BrickColor = BrickColor.new("New Yeller") | |
4811 | nuke.Transparency = 0.5 | |
4812 | nuke.Reflectance = 0.2 | |
4813 | nuke.TopSurface = 0 | |
4814 | nuke.BottomSurface = 0 | |
4815 | nuke.Touched:connect(function (hit) | |
4816 | if hit and hit.Parent then | |
4817 | local boom = Instance.new("Explosion", game.Workspace) | |
4818 | boom.Position = hit.Position | |
4819 | boom.BlastRadius = 11 | |
4820 | boom.BlastPressure = math.huge | |
4821 | end | |
4822 | end) | |
4823 | local CF = pchar.Torso.CFrame | |
4824 | nuke.CFrame = CF | |
4825 | for i = 1,333 do | |
4826 | nuke.Size = nuke.Size + Vector3.new(3,3,3) | |
4827 | nuke.CFrame = CF | |
4828 | wait(1/44) | |
4829 | end | |
4830 | nuke:Destroy() | |
4831 | end | |
4832 | end | |
4833 | end) | |
4834 | ||
4835 | addcmd('infect','infects player',{}, | |
4836 | function(args, speaker) | |
4837 | local players = getPlayer(args[1], speaker) | |
4838 | for i,v in pairs(players)do | |
4839 | function infect(rip) | |
4840 | local pchar = gPlayers[v].Character | |
4841 | for i,v in pairs(pchar:GetChildren()) do | |
4842 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
4843 | v:Destroy() | |
4844 | end | |
4845 | end | |
4846 | if pchar.Torso:FindFirstChild("roblox") then | |
4847 | pchar.Torso.roblox:Destroy() | |
4848 | end | |
4849 | if pchar.Head:FindFirstChild("face") then | |
4850 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
4851 | end | |
4852 | if pchar:FindFirstChild("Body Colors") then | |
4853 | local Colors = pchar["Body Colors"] | |
4854 | local Skin = BrickColor.new("Pastel green") | |
4855 | local Clothes = BrickColor.new("Reddish brown") | |
4856 | Colors.HeadColor = Skin | |
4857 | Colors.LeftArmColor = Skin | |
4858 | Colors.RightArmColor = Skin | |
4859 | Colors.LeftLegColor = Clothes | |
4860 | Colors.RightLegColor = Clothes | |
4861 | Colors.TorsoColor = Clothes | |
4862 | end | |
4863 | local w1 = Instance.new("Weld", pchar) | |
4864 | w1.Part0 = pchar["Right Arm"] | |
4865 | w1.Part1 = pchar.Torso | |
4866 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
4867 | local w2 = Instance.new("Weld", pchar) | |
4868 | w2.Part0 = pchar["Left Arm"] | |
4869 | w2.Part1 = pchar.Torso | |
4870 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
4871 | local rip = false | |
4872 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
4873 | if connect1 == false then | |
4874 | connect1 = true | |
4875 | if game.Players:FindFirstChild(hit.Parent.Name) then | |
4876 | infect(game.Players[hit.Parent.Name]) | |
4877 | end | |
4878 | wait(0.5) | |
4879 | connect1 = true | |
4880 | end | |
4881 | end) | |
4882 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
4883 | if connect2 == false then | |
4884 | connect2 = true | |
4885 | if game.Players:FindFirstChild(hit.Parent.Name) then | |
4886 | infect(game.Players[hit.Parent.Name]) | |
4887 | end | |
4888 | wait(0.5) | |
4889 | connect2 = true | |
4890 | end | |
4891 | end) | |
4892 | local IV = Instance.new("IntValue", pchar) | |
4893 | IV.Name = "Infected" | |
4894 | IV.Value = 0 | |
4895 | IV.Changed:connect(function() | |
4896 | connect1:disconnect() | |
4897 | connect2:disconnect() | |
4898 | end) | |
4899 | end | |
4900 | infect(v) | |
4901 | end | |
4902 | end) | |
4903 | ||
4904 | addcmd('uninfect','makes player back to normal',{}, | |
4905 | function(args, speaker) | |
4906 | local players = getPlayer(args[1], speaker) | |
4907 | for i,v in pairs(players)do | |
4908 | execCmd("normal " .. gPlayers[v].Name, Player) | |
4909 | end | |
4910 | end) | |
4911 | ||
4912 | addcmd('duck','makes players head a duck',{}, | |
4913 | function(args, speaker) | |
4914 | local players = getPlayer(args[1], speaker) | |
4915 | for i,v in pairs(players)do | |
4916 | local pchar = gPlayers[v].Character | |
4917 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
4918 | if v:IsA("Decal") then | |
4919 | v:Destroy() | |
4920 | end | |
4921 | end | |
4922 | for i,v in pairs(pchar:GetChildren()) do | |
4923 | if v:IsA("Accessory") then | |
4924 | v:Destroy() | |
4925 | end | |
4926 | end | |
4927 | local duck = Instance.new("SpecialMesh", pchar.Torso) | |
4928 | duck.MeshType = "FileMesh" | |
4929 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
4930 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
4931 | duck.Scale = Vector3.new(5, 5, 5) | |
4932 | pchar.Head.Transparency = 1 | |
4933 | pchar["Left Arm"].Transparency = 1 | |
4934 | pchar["Right Arm"].Transparency = 1 | |
4935 | pchar["Left Leg"].Transparency = 1 | |
4936 | pchar["Right Leg"].Transparency = 1 | |
4937 | pchar.Head.face.Transparency = 1 | |
4938 | end | |
4939 | end) | |
4940 | ||
4941 | addcmd('unduck','makes player back to normal',{}, | |
4942 | function(args, speaker) | |
4943 | local players = getPlayer(args[1], speaker) | |
4944 | for i,v in pairs(players)do | |
4945 | execCmd("normal " .. gPlayers[v].Name, Player) | |
4946 | end | |
4947 | end) | |
4948 | ||
4949 | addcmd('mesh','makes a player into a mesh',{}, | |
4950 | function(args, speaker) | |
4951 | local players = getPlayer(args[1], speaker) | |
4952 | for i,v in pairs(players)do | |
4953 | local pchar = gPlayers[v].Character | |
4954 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
4955 | if v:IsA("Decal") then | |
4956 | v:Destroy() | |
4957 | end | |
4958 | end | |
4959 | for i,v in pairs(pchar:GetChildren()) do | |
4960 | if v:IsA("Accessory") then | |
4961 | v:Destroy() | |
4962 | end | |
4963 | end | |
4964 | pchar.Head.Transparency = 1 | |
4965 | pchar["Left Arm"].Transparency = 1 | |
4966 | pchar["Right Arm"].Transparency = 1 | |
4967 | pchar["Left Leg"].Transparency = 1 | |
4968 | pchar["Right Leg"].Transparency = 1 | |
4969 | pchar.Head.face.Transparency = 1 | |
4970 | local msh = Instance.new("SpecialMesh", pchar.Torso) | |
4971 | msh.MeshType = "FileMesh" | |
4972 | msh.Scale = Vector3.new(3, 3, 3) | |
4973 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
4974 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
4975 | msh.Scale = Vector3.new(3, 3, 3) | |
4976 | end | |
4977 | end) | |
4978 | ||
4979 | addcmd('disable','removes players humanoid',{}, | |
4980 | function(args, speaker) | |
4981 | local players = getPlayer(args[1], speaker) | |
4982 | for i,v in pairs(players)do | |
4983 | local pchar = gPlayers[v].Character | |
4984 | if pchar:FindFirstChild("Humanoid") then | |
4985 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
4986 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
4987 | humanoid.Parent = game.ContextActionService | |
4988 | if args[1] == "all" then | |
4989 | Notify('Everyone has been disabled') | |
4990 | elseif args[1] == "others" then | |
4991 | Notify('Others have been disabled') | |
4992 | elseif args[1] == "friends" then | |
4993 | Notify('Friends have been disabled') | |
4994 | elseif args[1] == "nonfriends" then | |
4995 | Notify('Non friends have been disabled') | |
4996 | elseif args[1] == "team" then | |
4997 | Notify('Your team has been disabled') | |
4998 | elseif args[1] == "nonteam" then | |
4999 | Notify('The opossing team been disabled') | |
5000 | elseif args[1] == "guests" then | |
5001 | Notify('Guests have been disabled') | |
5002 | elseif args[1] == "nonadmins" then | |
5003 | Notify('Nonadmins have been disabled') | |
5004 | else | |
5005 | Notify(gPlayers[v].Name .. ' has been disabled') | |
5006 | end | |
5007 | end | |
5008 | end | |
5009 | end) | |
5010 | ||
5011 | addcmd('enable','gives player humanoid',{}, | |
5012 | function(args, speaker) | |
5013 | local players = getPlayer(args[1], speaker) | |
5014 | for i,v in pairs(players)do | |
5015 | local pchar = gPlayers[v].Character | |
5016 | if pchar:FindFirstChild("Humanoid") then | |
5017 | return | |
5018 | else | |
5019 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
5020 | humanoid.Parent = pchar | |
5021 | humanoid.Name = "Humanoid" | |
5022 | if args[1] == "all" then | |
5023 | Notify('Everyone has been enabled') | |
5024 | elseif args[1] == "others" then | |
5025 | Notify('Others have been enabled') | |
5026 | elseif args[1] == "friends" then | |
5027 | Notify('Friends have been enabled') | |
5028 | elseif args[1] == "nonfriends" then | |
5029 | Notify('Non friends have been enabled') | |
5030 | elseif args[1] == "team" then | |
5031 | Notify('Your team has been enabled') | |
5032 | elseif args[1] == "nonteam" then | |
5033 | Notify('The opossing team has been enabled') | |
5034 | elseif args[1] == "guests" then | |
5035 | Notify('Guests have been enabled') | |
5036 | elseif args[1] == "nonadmins" then | |
5037 | Notify('Nonadmins have been enabled') | |
5038 | elseif args[1] == "admins" then | |
5039 | Notify('Admins have been enabled') | |
5040 | else | |
5041 | Notify(gPlayers[v].Name .. ' has been enabled') | |
5042 | end | |
5043 | end | |
5044 | end | |
5045 | end) | |
5046 | ||
5047 | addcmd('size','changes size of player',{}, | |
5048 | function(args, speaker) | |
5049 | local players = getPlayer(args[1], speaker) | |
5050 | for i,v in pairs(players)do | |
5051 | local pchar = gPlayers[v].Character | |
5052 | local function scale(chr,scl) | |
5053 | ||
5054 | for _,v in pairs(pchar:GetChildren()) do | |
5055 | if v:IsA("Accessory") then | |
5056 | v:Clone() | |
5057 | v.Parent = game.Lighting | |
5058 | end | |
5059 | end | |
5060 | ||
5061 | local Head = chr['Head'] | |
5062 | local Torso = chr['Torso'] | |
5063 | local LA = chr['Left Arm'] | |
5064 | local RA = chr['Right Arm'] | |
5065 | local LL = chr['Left Leg'] | |
5066 | local RL = chr['Right Leg'] | |
5067 | local HRP = chr['HumanoidRootPart'] | |
5068 | ||
5069 | wait(0.1) | |
5070 | ||
5071 | Head.formFactor = 3 | |
5072 | Torso.formFactor = 3 | |
5073 | LA.formFactor = 3 | |
5074 | RA.formFactor = 3 | |
5075 | LL.formFactor = 3 | |
5076 | RL.formFactor = 3 | |
5077 | HRP.formFactor = 3 | |
5078 | ||
5079 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
5080 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
5081 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
5082 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
5083 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
5084 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
5085 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
5086 | ||
5087 | local Motor1 = Instance.new('Motor6D', Torso) | |
5088 | Motor1.Part0 = Torso | |
5089 | Motor1.Part1 = Head | |
5090 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
5091 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
5092 | Motor1.Name = "Neck" | |
5093 | ||
5094 | local Motor2 = Instance.new('Motor6D', Torso) | |
5095 | Motor2.Part0 = Torso | |
5096 | Motor2.Part1 = LA | |
5097 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
5098 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
5099 | Motor2.Name = "Left Shoulder" | |
5100 | ||
5101 | local Motor3 = Instance.new('Motor6D', Torso) | |
5102 | Motor3.Part0 = Torso | |
5103 | Motor3.Part1 = RA | |
5104 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
5105 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
5106 | Motor3.Name = "Right Shoulder" | |
5107 | ||
5108 | local Motor4 = Instance.new('Motor6D', Torso) | |
5109 | Motor4.Part0 = Torso | |
5110 | Motor4.Part1 = LL | |
5111 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
5112 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
5113 | Motor4.Name = "Left Hip" | |
5114 | ||
5115 | local Motor5 = Instance.new('Motor6D', Torso) | |
5116 | Motor5.Part0 = Torso | |
5117 | Motor5.Part1 = RL | |
5118 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
5119 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
5120 | Motor5.Name = "Right Hip" | |
5121 | ||
5122 | local Motor6 = Instance.new('Motor6D', HRP) | |
5123 | Motor6.Part0 = HRP | |
5124 | Motor6.Part1 = Torso | |
5125 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
5126 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
5127 | ||
5128 | end | |
5129 | ||
5130 | scale(pchar, args[2]) | |
5131 | ||
5132 | for _,v in pairs(game.Lighting:GetChildren()) do | |
5133 | if v:IsA("Accessory") then | |
5134 | v.Parent = pchar | |
5135 | end | |
5136 | end | |
5137 | end | |
5138 | end) | |
5139 | ||
5140 | addcmd('clone','clones player',{}, | |
5141 | function(args, speaker) | |
5142 | local players = getPlayer(args[1], speaker) | |
5143 | for i,v in pairs(players)do | |
5144 | local pchar = gPlayers[v].Character | |
5145 | pchar.Archivable = true | |
5146 | local clone = pchar:Clone() | |
5147 | clone.Parent = game.Workspace | |
5148 | clone:MoveTo(pchar:GetModelCFrame().p) | |
5149 | clone:MakeJoints() | |
5150 | pchar.Archivable = false | |
5151 | end | |
5152 | end) | |
5153 | ||
5154 | addcmd('spin','spins player',{}, | |
5155 | function(args, speaker) | |
5156 | local players = getPlayer(args[1], speaker) | |
5157 | for i,v in pairs(players)do | |
5158 | local pchar = gPlayers[v].Character | |
5159 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
5160 | if v.Name == "Spinning" then | |
5161 | v:Destroy() | |
5162 | end | |
5163 | end | |
5164 | local Torso = pchar.Torso | |
5165 | local BG = Instance.new("BodyGyro", Torso) | |
5166 | BG.Name = "Spinning" | |
5167 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
5168 | BG.P = 11111 | |
5169 | BG.cframe = Torso.CFrame | |
5170 | repeat wait(1/44) | |
5171 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
5172 | until not BG or BG.Parent ~= Torso | |
5173 | end | |
5174 | end) | |
5175 | ||
5176 | addcmd('unspin','stops spinning player',{}, | |
5177 | function(args, speaker) | |
5178 | local players = getPlayer(args[1], speaker) | |
5179 | for i,v in pairs(players)do | |
5180 | local pchar = gPlayers[v].Character | |
5181 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
5182 | if v.Name == "Spinning" then | |
5183 | v:Destroy() | |
5184 | end | |
5185 | end | |
5186 | end | |
5187 | end) | |
5188 | ||
5189 | addcmd('dog','makes player a dog',{}, | |
5190 | function(args, speaker) | |
5191 | local players = getPlayer(args[1], speaker) | |
5192 | for i,v in pairs(players)do | |
5193 | local pchar = gPlayers[v].Character | |
5194 | if pchar:FindFirstChild("Shirt") then | |
5195 | pchar.Shirt:Destroy() | |
5196 | end | |
5197 | if pchar:FindFirstChild("Pants") then | |
5198 | pchar.Pants:Destroy() | |
5199 | end | |
5200 | if pchar:FindFirstChild("Shirt Graphic") then | |
5201 | pchar["Shirt Graphic"].Graphic = "" | |
5202 | end | |
5203 | pchar.Torso.Transparency = 1 | |
5204 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
5205 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
5206 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
5207 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
5208 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
5209 | local FakeTorso = Instance.new("Seat", pchar) | |
5210 | FakeTorso.Name = "FakeTorso" | |
5211 | FakeTorso.FormFactor = "Symmetric" | |
5212 | FakeTorso.TopSurface = 0 | |
5213 | FakeTorso.BottomSurface = 0 | |
5214 | FakeTorso.Size = Vector3.new(3,1,4) | |
5215 | FakeTorso.BrickColor = BrickColor.new("Brown") | |
5216 | FakeTorso.CFrame = pchar.Torso.CFrame | |
5217 | local BF = Instance.new("BodyForce", FakeTorso) | |
5218 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
5219 | local W = Instance.new("Weld", pchar.Torso) | |
5220 | W.Part0 = pchar.Torso | |
5221 | W.Part1 = FakeTorso | |
5222 | W.C0 = CFrame.new(0,-.5,0) | |
5223 | local BC = pchar["Body Colors"] | |
5224 | BC.HeadColor = BrickColor.new("Brown") | |
5225 | BC.LeftArmColor = BrickColor.new("Brown") | |
5226 | BC.LeftLegColor = BrickColor.new("Brown") | |
5227 | BC.RightArmColor = BrickColor.new("Brown") | |
5228 | BC.RightLegColor = BrickColor.new("Brown") | |
5229 | BC.TorsoColor = BrickColor.new("Brown") | |
5230 | end | |
5231 | end) | |
5232 | ||
5233 | addcmd('undog','makes player back to normal',{}, | |
5234 | function(args, speaker) | |
5235 | local players = getPlayer(args[1], speaker) | |
5236 | for i,v in pairs(players)do | |
5237 | execCmd("normal " .. gPlayers[v].Name, Player) | |
5238 | end | |
5239 | end) | |
5240 | ||
5241 | addcmd('loopheal','loop heals player',{}, | |
5242 | function(args, speaker) | |
5243 | local players = getPlayer(args[1], speaker) | |
5244 | for i,v in pairs(players)do | |
5245 | spawn(function() | |
5246 | local pchar = gPlayers[v].Character | |
5247 | if pchar:FindFirstChild("LoopHeal") then | |
5248 | pchar.LoopHeal.Name = "NotLoopHeal" | |
5249 | wait(0.1) | |
5250 | pchar.NotLoopHeal:Destroy() | |
5251 | end | |
5252 | local LoopHeal = Instance.new("StringValue", pchar) | |
5253 | LoopHeal.Name = "LoopHeal" | |
5254 | repeat wait(0.1) | |
5255 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
5256 | until LoopHeal.Name == "NotLoopHeal" | |
5257 | end) | |
5258 | end | |
5259 | end) | |
5260 | ||
5261 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'}, | |
5262 | function(args, speaker) | |
5263 | local players = getPlayer(args[1], speaker) | |
5264 | for i,v in pairs(players)do | |
5265 | local pchar = gPlayers[v].Character | |
5266 | if pchar:FindFirstChild("LoopHeal") then | |
5267 | pchar.LoopHeal.Name = "NotLoopHeal" | |
5268 | wait(0.1) | |
5269 | pchar.NotLoopHeal:Destroy() | |
5270 | end | |
5271 | end | |
5272 | end) | |
5273 | ||
5274 | addcmd('fling','flings player',{}, | |
5275 | function(args, speaker) | |
5276 | local players = getPlayer(args[1], speaker) | |
5277 | for i,v in pairs(players)do | |
5278 | local pchar = gPlayers[v].Character | |
5279 | if pchar:FindFirstChild("Humanoid") then | |
5280 | local xran | |
5281 | local zran | |
5282 | repeat | |
5283 | xran = math.random(-9999,9999) | |
5284 | until math.abs(xran) >= 5555 | |
5285 | repeat | |
5286 | zran = math.random(-9999,9999) | |
5287 | until math.abs(zran) >= 5555 | |
5288 | pchar.Humanoid.Sit = true | |
5289 | pchar.Torso.Velocity = Vector3.new(0,0,0) | |
5290 | local BF = Instance.new("BodyForce", pchar.Torso) | |
5291 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
5292 | end | |
5293 | end | |
5294 | end) | |
5295 | ||
5296 | addcmd('nograv','makes player have moon gravity',{''}, | |
5297 | function(args, speaker) | |
5298 | local players = getPlayer(args[1], speaker) | |
5299 | for i,v in pairs(players)do | |
5300 | local pchar = gPlayers[v].Character | |
5301 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
5302 | if v.Name == "NoGrav" then | |
5303 | v:Destroy() | |
5304 | end | |
5305 | end | |
5306 | local BF = Instance.new("BodyForce", pchar.Torso) | |
5307 | BF.Name = "NoGrav" | |
5308 | BF.Force = Vector3.new(0,2700,0) | |
5309 | end | |
5310 | end) | |
5311 | ||
5312 | addcmd('grav','makes player have normal gravity',{''}, | |
5313 | function(args, speaker) | |
5314 | local players = getPlayer(args[1], speaker) | |
5315 | for i,v in pairs(players)do | |
5316 | local pchar = gPlayers[v].Character | |
5317 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
5318 | if v.Name == "NoGrav" then | |
5319 | v:Destroy() | |
5320 | end | |
5321 | end | |
5322 | end | |
5323 | end) | |
5324 | ||
5325 | addcmd('seizure','makes player have a seizure',{''}, | |
5326 | function(args, speaker) | |
5327 | local players = getPlayer(args[1], speaker) | |
5328 | for i,v in pairs(players)do | |
5329 | local pchar = gPlayers[v].Character | |
5330 | if pchar:FindFirstChild("Seizure") then | |
5331 | ||
5332 | end | |
5333 | local Seizure = Instance.new("StringValue", pchar) | |
5334 | Seizure.Name = "Seizure" | |
5335 | pchar.Humanoid.PlatformStand = true | |
5336 | repeat wait() | |
5337 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
5338 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
5339 | until Seizure.Name == "NotSeizure" | |
5340 | end | |
5341 | end) | |
5342 | ||
5343 | addcmd('unseizure','makes player stop having a seizure',{''}, | |
5344 | function(args, speaker) | |
5345 | local players = getPlayer(args[1], speaker) | |
5346 | for i,v in pairs(players)do | |
5347 | local pchar = gPlayers[v].Character | |
5348 | if pchar:FindFirstChild("Seizure") then | |
5349 | pchar.Humanoid.PlatformStand = false | |
5350 | pchar.Seizure.Name = "NotSeizure" | |
5351 | wait(0.1) | |
5352 | pchar.NotSeizure:Destroy() | |
5353 | end | |
5354 | end | |
5355 | end) | |
5356 | ||
5357 | addcmd('m','makes a global message',{'message'}, | |
5358 | function(args, speaker) | |
5359 | local MSG = GLS(false, 0) | |
5360 | local newMSG = GLS(false, 0) | |
5361 | _G.msg(MSG) | |
5362 | end) | |
5363 | ||
5364 | addcmd('paper','makes player thin as paper',{''}, | |
5365 | function(args, speaker) | |
5366 | local players = getPlayer(args[1], speaker) | |
5367 | for i,v in pairs(players)do | |
5368 | local pchar = gPlayers[v].Character | |
5369 | local LA = DATA.Paper:Clone() | |
5370 | LA.Parent = pchar["Left Arm"] | |
5371 | local RA = DATA.Paper:Clone() | |
5372 | RA.Parent = pchar["Right Arm"] | |
5373 | local LL = DATA.Paper:Clone() | |
5374 | LL.Parent = pchar["Left Leg"] | |
5375 | local RL = DATA.Paper:Clone() | |
5376 | RL.Parent = pchar["Right Leg"] | |
5377 | local T = DATA.Paper:Clone() | |
5378 | T.Parent = pchar.Torso | |
5379 | local H = DATA.Paper:Clone() | |
5380 | H.Parent = pchar.Head | |
5381 | pchar.Head.face:Destroy() | |
5382 | end | |
5383 | end) | |
5384 | ||
5385 | addcmd('particles','gives a player particles',{''}, | |
5386 | function(args, speaker) | |
5387 | local players = getPlayer(args[1], speaker) | |
5388 | for i,v in pairs(players)do | |
5389 | local char = gPlayers[v].Character | |
5390 | for i,v in pairs(char.Torso:GetChildren()) do | |
5391 | if v:IsA('ParticleEmitter') then | |
5392 | v:destroy() | |
5393 | end | |
5394 | end | |
5395 | local prt = Instance.new('ParticleEmitter', char.Torso) | |
5396 | prt.Texture = 'rbxassetid://' .. args[2] | |
5397 | prt.Rate = 10 | |
5398 | prt.SpreadAngle = Vector2.new(50, 50) | |
5399 | end | |
5400 | end) | |
5401 | ||
5402 | addcmd('unparticles','gives a player particles',{'noparticles'}, | |
5403 | function(args, speaker) | |
5404 | local players = getPlayer(args[1], speaker) | |
5405 | for i,v in pairs(players)do | |
5406 | local char = gPlayers[v].Character | |
5407 | for i,v in pairs(char.Torso:GetChildren()) do | |
5408 | if v:IsA('ParticleEmitter') then | |
5409 | v:destroy() | |
5410 | end | |
5411 | end | |
5412 | end | |
5413 | end) | |
5414 | ||
5415 | addcmd('punish','punishs player',{''}, | |
5416 | function(args, speaker) | |
5417 | local players = getPlayer(args[1], speaker) | |
5418 | for i,v in pairs(players)do | |
5419 | local pchar = gPlayers[v].Character | |
5420 | pchar.Parent = game.Lighting | |
5421 | end | |
5422 | end) | |
5423 | ||
5424 | addcmd('unpunish','unpunishs player',{''}, | |
5425 | function(args, speaker) | |
5426 | local players = getPlayer(args[1], speaker) | |
5427 | for i,v in pairs(players)do | |
5428 | if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then | |
5429 | game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace | |
5430 | end | |
5431 | end | |
5432 | end) | |
5433 | ||
5434 | addcmd('disco','disco party',{''}, | |
5435 | function(args, speaker) | |
5436 | Disco = true | |
5437 | if Disco == true then | |
5438 | repeat wait(0.3) | |
5439 | game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random()) | |
5440 | until Disco == false | |
5441 | end | |
5442 | end) | |
5443 | ||
5444 | addcmd('undisco','rip disco party',{''}, | |
5445 | function(args, speaker) | |
5446 | Disco = false | |
5447 | wait(0.1) | |
5448 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
5449 | end) | |
5450 | ||
5451 | Floating = false | |
5452 | Fly = false | |
5453 | ||
5454 | addcmd('float', 'makes player float',{}, | |
5455 | function(args,speaker) | |
5456 | Floating = true | |
5457 | local players = getPlayer(args[1], speaker) | |
5458 | for _,v in pairs(players) do | |
5459 | local pchar = gPlayers[v].Character | |
5460 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then | |
5461 | spawn(function() | |
5462 | local float = DATA.Float:Clone() | |
5463 | float.Parent = pchar | |
5464 | float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0) | |
5465 | spawn(function() | |
5466 | while wait(0.1) do | |
5467 | if pchar:FindFirstChild("Float") then | |
5468 | float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0) | |
5469 | else | |
5470 | break | |
5471 | end | |
5472 | end | |
5473 | end) | |
5474 | end) | |
5475 | end | |
5476 | end | |
5477 | end) | |
5478 | ||
5479 | addcmd('unfloat','disables floating',{}, | |
5480 | function(args, speaker) | |
5481 | Floating = false | |
5482 | local players = getPlayer(args[1], speaker) | |
5483 | for i,v in pairs(players)do | |
5484 | local pchar = gPlayers[v].Character | |
5485 | if pchar:FindFirstChild("Float") then | |
5486 | pchar.Float:Destroy() | |
5487 | end | |
5488 | end | |
5489 | end) | |
5490 | ||
5491 | local Clip = true | |
5492 | ||
5493 | addcmd('noclip','enables noclip',{}, | |
5494 | function(args, speaker) | |
5495 | Notify('NoClip enabled') | |
5496 | Clip = false | |
5497 | wait(1) | |
5498 | Name = game.Players.LocalPlayer.Name | |
5499 | game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC) | |
5500 | delay(0, function() | |
5501 | if NC.Name ~= "Memes" then | |
5502 | NC:Destroy() | |
5503 | end | |
5504 | end) | |
5505 | end) | |
5506 | game:GetService('RunService').Stepped:connect(function () | |
5507 | game.Workspace[Name].Torso.CanCollide = Clip | |
5508 | game.Workspace[Name].Head.CanCollide = Clip | |
5509 | end) | |
5510 | game.Workspace[Name].Torso.Changed:connect(function() | |
5511 | game.Workspace[Name].Torso.CanCollide = Clip | |
5512 | game.Workspace[Name].Head.CanCollide = Clip | |
5513 | end) | |
5514 | end) | |
5515 | ||
5516 | addcmd('clip','disables noclip',{}, | |
5517 | function(args, speaker) | |
5518 | Notify('NoClip disabled') | |
5519 | Clip = true | |
5520 | end) | |
5521 | ||
5522 | wait(0.1) | |
5523 | ||
5524 | addcmd('prefix','changes prefix',{}, | |
5525 | function(args, speaker) | |
5526 | cmdprefix = args[1] | |
5527 | Notify('Set prefix to "' .. args[1] .. '"') | |
5528 | end) | |
5529 | ||
5530 | addcmd('respawn','respawns',{}, | |
5531 | function(args, speaker) | |
5532 | local players = getPlayer(args[1], speaker) | |
5533 | for i,v in pairs(players) do | |
5534 | local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy' | |
5535 | local H = Instance.new('Humanoid', M) | |
5536 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
5537 | gPlayers[v].Character = M | |
5538 | end | |
5539 | end) | |
5540 | ||
5541 | addcmd('version','shows version',{''}, | |
5542 | function(args, speaker) | |
5543 | Notify("Version is " .. Version) | |
5544 | end) | |
5545 | ||
5546 | Mouse.KeyDown:connect(function (Key) | |
5547 | if Key:byte() == 29 then | |
5548 | if Fly == false then | |
5549 | execCmd("fly me", Player) | |
5550 | Fly = true | |
5551 | elseif Fly == true then | |
5552 | execCmd("unfly me", Player) | |
5553 | Fly = false | |
5554 | end | |
5555 | end | |
5556 | end) | |
5557 | ||
5558 | ------------------- | |
5559 | ----Command bar---- | |
5560 | ------------------- | |
5561 | ||
5562 | CMDbar = Instance.new('ScreenGui', game.CoreGui) | |
5563 | CMDbar.Name = 'GUI' | |
5564 | cmdBAR = Instance.new('TextBox', CMDbar) | |
5565 | cmdBAR.Name = 'CMDbar' | |
5566 | cmdBAR.Active = true | |
5567 | cmdBAR.BackgroundColor = BrickColor.new(0,0,0) | |
5568 | cmdBAR.BackgroundTransparency = 0.5 | |
5569 | cmdBAR.BorderColor = BrickColor.new(255,255,255) | |
5570 | cmdBAR.BorderSizePixel = 1 | |
5571 | cmdBAR.Position = UDim2.new(0, 5, cmdbarpos, cmdbarpos2) | |
5572 | cmdBAR.Size = UDim2.new(0,200,0,20) | |
5573 | cmdBAR.Font = 'SourceSans' | |
5574 | cmdBAR.FontSize = 'Size18' | |
5575 | cmdBAR.Text = 'Press ; to Execute a Command' | |
5576 | cmdBAR.TextColor = BrickColor.new(255,255,255) | |
5577 | cmdBAR.TextStrokeColor3 = Color3.new(0,0,0) | |
5578 | ||
5579 | ------------------- | |
5580 | ----Data Folder---- | |
5581 | ------------------- | |
5582 | ||
5583 | DATA = Instance.new('Folder', game.ContextActionService) | |
5584 | DATA.Name = 'Data' | |
5585 | ||
5586 | Paper = Instance.new('BlockMesh', DATA) | |
5587 | Paper.Name = 'Paper' | |
5588 | Paper.Scale = Vector3.new(1,1,0.1) | |
5589 | ||
5590 | ayylmao = Instance.new('Hat', DATA) | |
5591 | ayylmao.Name = 'ayylmao' | |
5592 | ayyHandle = Instance.new('Part', ayylmao) | |
5593 | ayyHandle.Name = 'Handle' | |
5594 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
5595 | ayyHandle.FormFactor = 'Plate' | |
5596 | ayyMesh = Instance.new('SpecialMesh', ayyHandle) | |
5597 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
5598 | ayyMesh.MeshType = 'FileMesh' | |
5599 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
5600 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
5601 | ||
5602 | Float = Instance.new('Part', DATA) | |
5603 | Float.Name = 'Float' | |
5604 | Float.Transparency = 1 | |
5605 | Float.Size = Vector3.new(6,1,6) | |
5606 | Float.Anchored = true | |
5607 | ||
5608 | --------------------------- | |
5609 | --Commands GUI properties-- | |
5610 | --------------------------- | |
5611 | ||
5612 | local NewGuiPart1 = Instance.new('ScreenGui', DATA) | |
5613 | NewGuiPart1.Name = "CMDs" | |
5614 | local NewGuiPart2 = Instance.new("Frame") | |
5615 | NewGuiPart2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
5616 | NewGuiPart2.Name = "MAIN" | |
5617 | NewGuiPart2.Position = UDim2.new(0, -350, 1, -300) | |
5618 | NewGuiPart2.Size = UDim2.new(0, 300, 0, 300) | |
5619 | NewGuiPart2.Style = Enum.FrameStyle.DropShadow | |
5620 | NewGuiPart2.Parent = NewGuiPart1 | |
5621 | local NewGuiPart3 = Instance.new("ScrollingFrame") | |
5622 | NewGuiPart3.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5623 | NewGuiPart3.BackgroundTransparency = 1 | |
5624 | NewGuiPart3.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5625 | NewGuiPart3.BorderSizePixel = 0 | |
5626 | NewGuiPart3.Name = "CMDs" | |
5627 | NewGuiPart3.Position = UDim2.new(0, 0, 0, 55) | |
5628 | NewGuiPart3.Selectable = true | |
5629 | NewGuiPart3.Size = UDim2.new(0, 285, 0, 230) | |
5630 | NewGuiPart3.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
5631 | NewGuiPart3.CanvasSize = UDim2.new(0, 0, 0, 4105) | |
5632 | NewGuiPart3.MidImage = "rbxasset://textures/blackBkg_square.png" | |
5633 | NewGuiPart3.ScrollBarThickness = 8 | |
5634 | NewGuiPart3.TopImage = "rbxasset://textures/blackBkg_square.png" | |
5635 | NewGuiPart3.ClipsDescendants = true | |
5636 | NewGuiPart3.Parent = NewGuiPart2 | |
5637 | local NewGuiPart4 = Instance.new("TextLabel") | |
5638 | NewGuiPart4.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
5639 | NewGuiPart4.BackgroundTransparency = 1 | |
5640 | NewGuiPart4.Name = "Title" | |
5641 | NewGuiPart4.Size = UDim2.new(1, 0, 0, 30) | |
5642 | NewGuiPart4.Font = Enum.Font.SourceSansBold | |
5643 | NewGuiPart4.FontSize = Enum.FontSize.Size24 | |
5644 | NewGuiPart4.Text = "Commands" | |
5645 | NewGuiPart4.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
5646 | NewGuiPart4.Parent = NewGuiPart2 | |
5647 | local NewGuiPart5 = Instance.new("TextButton") | |
5648 | NewGuiPart5.Active = true | |
5649 | NewGuiPart5.BackgroundColor3 = Color3.new(1, 0, 0) | |
5650 | NewGuiPart5.BackgroundTransparency = 0.30000001192093 | |
5651 | NewGuiPart5.BorderColor3 = Color3.new(1, 0, 0) | |
5652 | NewGuiPart5.Name = "Exit" | |
5653 | NewGuiPart5.Position = UDim2.new(1, -284, 1, -284) | |
5654 | NewGuiPart5.Selectable = true | |
5655 | NewGuiPart5.Size = UDim2.new(0, 20, 0, 20) | |
5656 | NewGuiPart5.Style = Enum.ButtonStyle.Custom | |
5657 | NewGuiPart5.Font = Enum.Font.Legacy | |
5658 | NewGuiPart5.FontSize = Enum.FontSize.Size14 | |
5659 | NewGuiPart5.Text = "" | |
5660 | NewGuiPart5.Parent = NewGuiPart2 | |
5661 | local NewGuiPart6 = Instance.new("TextButton") | |
5662 | NewGuiPart6.Active = true | |
5663 | NewGuiPart6.BackgroundTransparency = 0.30000001192093 | |
5664 | NewGuiPart6.BorderColor3 = Color3.new(1, 1, 1) | |
5665 | NewGuiPart6.BackgroundColor3 = Color3.new(1, 1, 1) | |
5666 | NewGuiPart6.Name = "Hide" | |
5667 | NewGuiPart6.Position = UDim2.new(1, -261, 1, -284) | |
5668 | NewGuiPart6.Selectable = true | |
5669 | NewGuiPart6.Size = UDim2.new(0, 20, 0, 20) | |
5670 | NewGuiPart6.Style = Enum.ButtonStyle.Custom | |
5671 | NewGuiPart6.Font = Enum.Font.Legacy | |
5672 | NewGuiPart6.FontSize = Enum.FontSize.Size14 | |
5673 | NewGuiPart6.Text = "" | |
5674 | NewGuiPart6.Parent = NewGuiPart2 | |
5675 | local NewGuiPart7 = Instance.new("TextLabel") | |
5676 | NewGuiPart7.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5677 | NewGuiPart7.BackgroundTransparency = 1 | |
5678 | NewGuiPart7.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5679 | NewGuiPart7.BorderSizePixel = 0 | |
5680 | NewGuiPart7.Name = "Example" | |
5681 | NewGuiPart7.Position = UDim2.new(0, 5, 0, 5) | |
5682 | NewGuiPart7.Size = UDim2.new(0, 190, 0, 20) | |
5683 | NewGuiPart7.Visible = false | |
5684 | NewGuiPart7.Font = Enum.Font.Code | |
5685 | NewGuiPart7.FontSize = Enum.FontSize.Size18 | |
5686 | NewGuiPart7.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
5687 | NewGuiPart7.TextXAlignment = Enum.TextXAlignment.Left | |
5688 | NewGuiPart7.Parent = NewGuiPart2 | |
5689 | local NewGuiPart8 = Instance.new("TextBox") | |
5690 | NewGuiPart8.BackgroundColor3 = Color3.new(0, 0, 0) | |
5691 | NewGuiPart8.BackgroundTransparency = 0.69999998807907 | |
5692 | NewGuiPart8.BorderColor3 = Color3.new(1, 1, 1) | |
5693 | NewGuiPart8.Name = "Search" | |
5694 | NewGuiPart8.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
5695 | NewGuiPart8.Size = UDim2.new(0, 250, 0, 20) | |
5696 | NewGuiPart8.Font = Enum.Font.Code | |
5697 | NewGuiPart8.FontSize = Enum.FontSize.Size18 | |
5698 | NewGuiPart8.Text = "Search" | |
5699 | NewGuiPart8.ClearTextOnFocus = false | |
5700 | NewGuiPart8.TextColor3 = Color3.new(1, 1, 1) | |
5701 | NewGuiPart8.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
5702 | NewGuiPart8.TextStrokeTransparency = 0 | |
5703 | NewGuiPart8.Parent = NewGuiPart2 | |
5704 | local NewGuiPart9 = Instance.new("Frame") | |
5705 | NewGuiPart9.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
5706 | NewGuiPart9.BackgroundTransparency = 1 | |
5707 | NewGuiPart9.BorderSizePixel = 0 | |
5708 | NewGuiPart9.Name = "HideFrame" | |
5709 | NewGuiPart9.Position = UDim2.new(0, -350, 1, -300) | |
5710 | NewGuiPart9.Size = UDim2.new(0, 300, 0, 300) | |
5711 | NewGuiPart9.Visible = false | |
5712 | NewGuiPart9.Parent = NewGuiPart1 | |
5713 | local NewGuiPart10 = Instance.new("TextButton") | |
5714 | NewGuiPart10.Active = true | |
5715 | NewGuiPart10.BackgroundTransparency = 0.30000001192093 | |
5716 | NewGuiPart10.BorderColor3 = Color3.new(1, 1, 1) | |
5717 | NewGuiPart10.BackgroundColor3 = Color3.new(1, 1, 1) | |
5718 | NewGuiPart10.Name = "rtrn" | |
5719 | NewGuiPart10.Position = UDim2.new(1, -292, 1, -292) | |
5720 | NewGuiPart10.Selectable = true | |
5721 | NewGuiPart10.Size = UDim2.new(0, 20, 0, 20) | |
5722 | NewGuiPart10.Style = Enum.ButtonStyle.Custom | |
5723 | NewGuiPart10.Font = Enum.Font.Legacy | |
5724 | NewGuiPart10.FontSize = Enum.FontSize.Size14 | |
5725 | NewGuiPart10.Text = "" | |
5726 | NewGuiPart10.Parent = NewGuiPart9 | |
5727 | ||
5728 | espMAIN = Instance.new('BillboardGui', DATA) | |
5729 | espMAIN.Name = 'MAIN' | |
5730 | espMAIN.AlwaysOnTop = true | |
5731 | espMAIN.ExtentsOffset = Vector3.new(0,1,0) | |
5732 | espMAIN.Size = UDim2.new(0,5,0,5) | |
5733 | espMAIN.StudsOffset = Vector3.new(0,1,0) | |
5734 | espDot = Instance.new('Frame', espMAIN) | |
5735 | espDot.BackgroundColor = BrickColor.new(42,181,255) | |
5736 | espDot.BackgroundTransparency = 0.3 | |
5737 | espDot.BorderSizePixel = 0 | |
5738 | espDot.Position = UDim2.new(-0.5,0,-0.5,0) | |
5739 | espDot.Size = UDim2.new(2,0,2,0) | |
5740 | espDot.Visible = false | |
5741 | espDot.ZIndex = 10 | |
5742 | espName = Instance.new('TextLabel', espMAIN) | |
5743 | espName.Name = 'Name' | |
5744 | espName.BackgroundColor = BrickColor.new(0,0,0) | |
5745 | espName.BackgroundTransparency = 1 | |
5746 | espName.BorderColor = BrickColor.new(0,0,0) | |
5747 | espName.BorderSizePixel = 0 | |
5748 | espName.Position = UDim2.new(0,0,0,-35) | |
5749 | espName.Size = UDim2.new(1,0,10,0) | |
5750 | espName.Visible = false | |
5751 | espName.ZIndex = 10 | |
5752 | ||
5753 | ------------------------- | |
5754 | ----Notify properties---- | |
5755 | ------------------------- | |
5756 | ||
5757 | notifyMAIN = Instance.new('ScreenGui', DATA) | |
5758 | notifyMAIN.Name = 'Notification' | |
5759 | notifyNOT = Instance.new('Frame', notifyMAIN) | |
5760 | notifyNOT.Name = 'NOTIFY' | |
5761 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
5762 | notifyNOT.BackgroundTransparency = 0.5 | |
5763 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
5764 | notifyNOT.BorderSizePixel = 2 | |
5765 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
5766 | notifyNOT.Size = UDim2.new(1,0,0,25) | |
5767 | notifyNOTE = Instance.new('TextLabel', notifyNOT) | |
5768 | notifyNOTE.Name = 'NOTE' | |
5769 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
5770 | notifyNOTE.BackgroundTransparency = 1 | |
5771 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
5772 | notifyNOTE.BorderSizePixel = 0 | |
5773 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
5774 | notifyNOTE.ZIndex = 10 | |
5775 | notifyNOTE.FontSize = 'Size18' | |
5776 | notifyNOTE.Font = 'SourceSans' | |
5777 | notifyNOTE.Text = 'NOTIFY' | |
5778 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
5779 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
5780 | notifyNOTE.TextStrokeTransparency = 0.8 | |
5781 | ||
5782 | modJAIL = Instance.new('Model', DATA) | |
5783 | modJAIL.Name = 'JAIL' | |
5784 | botJAIL = Instance.new('Part', modJAIL) | |
5785 | botJAIL.Name = 'BOTTOM' | |
5786 | botJAIL.BrickColor = BrickColor.new('Black') | |
5787 | botJAIL.Transparency = 0.5 | |
5788 | botJAIL.Position = Vector3.new(-6.2,0.5,-11.6) | |
5789 | botJAIL.Anchored = true | |
5790 | botJAIL.Locked = true | |
5791 | botJAIL.Size = Vector3.new(6,1,6) | |
5792 | botJAIL.TopSurface = 'Smooth' | |
5793 | botJAIL.BottomSurface = 'Smooth' | |
5794 | topJAIL = Instance.new('Part', modJAIL) | |
5795 | topJAIL.Name = 'BOTTOM' | |
5796 | topJAIL.BrickColor = BrickColor.new('Black') | |
5797 | topJAIL.Transparency = 0.5 | |
5798 | topJAIL.Position = Vector3.new(-6.2,7.5,-11.6) | |
5799 | topJAIL.Anchored = true | |
5800 | topJAIL.Locked = true | |
5801 | topJAIL.Size = Vector3.new(6,1,6) | |
5802 | topJAIL.TopSurface = 'Smooth' | |
5803 | topJAIL.BottomSurface = 'Smooth' | |
5804 | p1 = Instance.new('Part', modJAIL) | |
5805 | p1.Name = 'MAIN' | |
5806 | p1.BrickColor = BrickColor.new('Black') | |
5807 | p1.Transparency = 1 | |
5808 | p1.Position = Vector3.new(-8.7,4,-11.6) | |
5809 | p1.Rotation = Vector3.new(-180,0,-180) | |
5810 | p1.Anchored = true | |
5811 | p1.Locked = true | |
5812 | p1.Size = Vector3.new(1,6,4) | |
5813 | p1.TopSurface = 'Smooth' | |
5814 | p1.BottomSurface = 'Smooth' | |
5815 | p2 = Instance.new('Part', modJAIL) | |
5816 | p2.BrickColor = BrickColor.new('Black') | |
5817 | p2.Transparency = 0.5 | |
5818 | p2.Position = Vector3.new(-3.7,4,-14.1) | |
5819 | p2.Anchored = true | |
5820 | p2.Locked = true | |
5821 | p2.Size = Vector3.new(1,6,1) | |
5822 | p2.TopSurface = 'Smooth' | |
5823 | p2.BottomSurface = 'Smooth' | |
5824 | p3 = Instance.new('Part', modJAIL) | |
5825 | p3.BrickColor = BrickColor.new('Black') | |
5826 | p3.Transparency = 0.5 | |
5827 | p3.Position = Vector3.new(-8.7,4,-9.1) | |
5828 | p3.Anchored = true | |
5829 | p3.Locked = true | |
5830 | p3.Size = Vector3.new(1,6,1) | |
5831 | p3.TopSurface = 'Smooth' | |
5832 | p3.BottomSurface = 'Smooth' | |
5833 | p4 = Instance.new('Part', modJAIL) | |
5834 | p4.BrickColor = BrickColor.new('Black') | |
5835 | p4.Transparency = 0.5 | |
5836 | p4.Position = Vector3.new(-3.7,4,-9.1) | |
5837 | p4.Anchored = true | |
5838 | p4.Locked = true | |
5839 | p4.Size = Vector3.new(1,6,1) | |
5840 | p4.TopSurface = 'Smooth' | |
5841 | p4.BottomSurface = 'Smooth' | |
5842 | p5 = Instance.new('Part', modJAIL) | |
5843 | p5.BrickColor = BrickColor.new('Black') | |
5844 | p5.Transparency = 0.5 | |
5845 | p5.Position = Vector3.new(-8.7,4,-14.1) | |
5846 | p5.Anchored = true | |
5847 | p5.Locked = true | |
5848 | p5.Size = Vector3.new(1,6,1) | |
5849 | p5.TopSurface = 'Smooth' | |
5850 | p5.BottomSurface = 'Smooth' | |
5851 | p6 = Instance.new('Part', modJAIL) | |
5852 | p6.BrickColor = BrickColor.new('Black') | |
5853 | p6.Transparency = 1 | |
5854 | p6.Position = Vector3.new(-6.2,4,-14.1) | |
5855 | p6.Rotation = Vector3.new(0,90,0) | |
5856 | p6.Anchored = true | |
5857 | p6.Locked = true | |
5858 | p6.Size = Vector3.new(1,6,4) | |
5859 | p6.TopSurface = 'Smooth' | |
5860 | p6.BottomSurface = 'Smooth' | |
5861 | p7 = Instance.new('Part', modJAIL) | |
5862 | p7.BrickColor = BrickColor.new('Black') | |
5863 | p7.Transparency = 1 | |
5864 | p7.Position = Vector3.new(-3.7,4,-11.6) | |
5865 | p7.Anchored = true | |
5866 | p7.Locked = true | |
5867 | p7.Size = Vector3.new(1,6,4) | |
5868 | p7.TopSurface = 'Smooth' | |
5869 | p7.BottomSurface = 'Smooth' | |
5870 | p8 = Instance.new('Part', modJAIL) | |
5871 | p8.BrickColor = BrickColor.new('Black') | |
5872 | p8.Transparency = 1 | |
5873 | p8.Position = Vector3.new(-6.2,4,-9.1) | |
5874 | p8.Rotation = Vector3.new(0,90,0) | |
5875 | p8.Anchored = true | |
5876 | p8.Locked = true | |
5877 | p8.Size = Vector3.new(1,6,4) | |
5878 | p8.TopSurface = 'Smooth' | |
5879 | p8.BottomSurface = 'Smooth' | |
5880 | ||
5881 | addcmd('ayylmao','ayy lmao',{'alien'}, | |
5882 | function(args, speaker) | |
5883 | local players = getPlayer(args[1], speaker) | |
5884 | for i,v in pairs(players)do | |
5885 | local pchar = gPlayers[v].Character | |
5886 | if pchar:FindFirstChild("Shirt") then | |
5887 | pchar.Shirt:Destroy() | |
5888 | end | |
5889 | if pchar:FindFirstChild("Pants") then | |
5890 | pchar.Pants:Destroy() | |
5891 | end | |
5892 | if pchar:FindFirstChild("Shirt Graphic") then | |
5893 | pchar["Shirt Graphic"].Graphic = "" | |
5894 | end | |
5895 | for i,v in pairs(pchar:GetChildren()) do | |
5896 | if v:IsA("Accessory") then | |
5897 | v:Destroy() | |
5898 | end | |
5899 | end | |
5900 | local ayylmao = DATA.ayylmao:Clone() | |
5901 | ayylmao.Parent = pchar | |
5902 | local BC = pchar["Body Colors"] | |
5903 | BC.HeadColor = BrickColor.new("Fossil") | |
5904 | BC.LeftArmColor = BrickColor.new("Fossil") | |
5905 | BC.LeftLegColor = BrickColor.new("Fossil") | |
5906 | BC.RightArmColor = BrickColor.new("Fossil") | |
5907 | BC.RightLegColor = BrickColor.new("Fossil") | |
5908 | BC.TorsoColor = BrickColor.new("Fossil") | |
5909 | end | |
5910 | end) | |
5911 | ||
5912 | ---------------------- | |
5913 | -----Commands GUI----- | |
5914 | ---------------------- | |
5915 | CMDsFolder = Instance.new("Folder", game.CoreGui) | |
5916 | for i,v in pairs(CMDs) do | |
5917 | CMDsValue = Instance.new("StringValue", CMDsFolder) | |
5918 | CMDsValue.Value = v | |
5919 | CMDsValue.RobloxLocked = true | |
5920 | end | |
5921 | cmdOpen = false | |
5922 | local function commands() | |
5923 | if cmdOpen == false then | |
5924 | cmdOpen = true | |
5925 | local cmds = DATA.CMDs:Clone() | |
5926 | cmds.Parent = game.CoreGui | |
5927 | local CMDsV = CMDsFolder:GetChildren() | |
5928 | for i = 1, #CMDsV do | |
5929 | local YSize = 25 | |
5930 | local Position = ((i * YSize) - YSize) | |
5931 | local newcmd = cmds.MAIN.Example:Clone() | |
5932 | newcmd.Parent = cmds.MAIN.CMDs | |
5933 | newcmd.Visible = true | |
5934 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
5935 | newcmd.Text = "" .. CMDsV[i].Value | |
5936 | cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
5937 | cmdwin = game.CoreGui.CMDs | |
5938 | cmdwin.MAIN:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true) | |
5939 | cmdBAR:TweenPosition(UDim2.new(0,300,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
5940 | cmdbarpos3 = '0' | |
5941 | cmdbarpos4 = '300' | |
5942 | ||
5943 | game.CoreGui.CMDs.MAIN.Hide.MouseButton1Click:Connect(function() | |
5944 | cmdwin.MAIN:TweenPosition(UDim2.new(0,-350,1,-300),"Out","Quint",0.3,true) | |
5945 | cmdwin.HideFrame.Visible = true | |
5946 | cmdBAR:TweenPosition(UDim2.new(0,5,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
5947 | cmdbarpos3 = '0' | |
5948 | cmdbarpos4 = '5' | |
5949 | wait(0.4) | |
5950 | cmdwin.HideFrame:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true) | |
5951 | wait(1) | |
5952 | end) | |
5953 | game.CoreGui.CMDs.MAIN.Exit.MouseButton1Click:Connect(function() | |
5954 | cmdwin.MAIN:TweenPosition(UDim2.new(0,-350,1,-300),"Out","Quint",0.3,true) | |
5955 | cmdBAR:TweenPosition(UDim2.new(0,5,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
5956 | cmdbarpos3 = '0' | |
5957 | cmdbarpos4 = '5' | |
5958 | wait(0.4) | |
5959 | cmdOpen = false | |
5960 | game.CoreGui.CMDs:Destroy() | |
5961 | end) | |
5962 | end | |
5963 | game.CoreGui.CMDs.HideFrame.rtrn.MouseButton1Click:Connect(function() | |
5964 | cmdwin.HideFrame:TweenPosition(UDim2.new(0,-100,1,-300),"Out","Quint",0.3,true) | |
5965 | cmdBAR:TweenPosition(UDim2.new(0,300,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
5966 | cmdbarpos3 = '0' | |
5967 | cmdbarpos4 = '300' | |
5968 | wait(0.4) | |
5969 | cmdwin.HideFrame.Visible = false | |
5970 | cmdwin.MAIN:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true) | |
5971 | end) | |
5972 | end | |
5973 | end | |
5974 | ||
5975 | addcmd('cmds','prints cmds',{}, | |
5976 | function(args, speaker) | |
5977 | commands() | |
5978 | wait(0.2) | |
5979 | local main = game.CoreGui.CMDs | |
5980 | local frame = main.MAIN:WaitForChild('CMDs') | |
5981 | local gui = main.MAIN:WaitForChild('Search') | |
5982 | local focused = false | |
5983 | ||
5984 | Match = function(name,str) | |
5985 | return name:lower():find(str:lower()) and true | |
5986 | end | |
5987 | ||
5988 | gui.FocusLost:connect(function(enterpressed) | |
5989 | gui.Text = "Search" | |
5990 | end) | |
5991 | ||
5992 | IndexContents = function(str,bool) | |
5993 | local Index,SizeY = 0,0 | |
5994 | for i,v in next, frame:GetChildren() do | |
5995 | if bool then | |
5996 | if Match(v.Text,str) then | |
5997 | Index = Index + 1 | |
5998 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
5999 | v.Visible = true | |
6000 | SizeY = SizeY + v.AbsoluteSize.Y | |
6001 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
6002 | else | |
6003 | v.Visible = false | |
6004 | end | |
6005 | else | |
6006 | v.Visible = true | |
6007 | SizeY = SizeY + v.AbsoluteSize.Y | |
6008 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
6009 | end | |
6010 | end | |
6011 | end | |
6012 | ||
6013 | game:GetService('RunService').Stepped:connect(function() | |
6014 | if gui:IsFocused() and gui.Text == "Search" then | |
6015 | gui.Text = '' | |
6016 | end | |
6017 | end) | |
6018 | ||
6019 | gui.Changed:connect(function() | |
6020 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
6021 | end) | |
6022 | ||
6023 | IndexContents('',false) | |
6024 | end) | |
6025 | ||
6026 | ----------------- | |
6027 | ---Command Bar--- | |
6028 | ----------------- | |
6029 | CMDbar.CMDbar.FocusLost:connect(function(enterpressed) | |
6030 | if enterpressed and CMDbar.CMDbar.Text ~= "" then | |
6031 | spawn(function () | |
6032 | execCmd(CMDbar.CMDbar.Text, Player) | |
6033 | end) | |
6034 | end | |
6035 | CMDbar.CMDbar:TweenPosition(UDim2.new(cmdbarpos3, cmdbarpos4, 1, 0), "InOut", "Quad", 0.5, true, nil) | |
6036 | cmdbarpos = '1' | |
6037 | cmdbarpos2 = '0' | |
6038 | end) | |
6039 | ||
6040 | Mouse.KeyDown:connect(function(Key) | |
6041 | if Key:byte() == 59 then | |
6042 | CMDbar.CMDbar:TweenPosition(UDim2.new(cmdbarpos3, cmdbarpos4, 1, -24), "InOut", "Quad", 0.5, true, nil) | |
6043 | CMDbar.CMDbar:CaptureFocus() | |
6044 | cmdbarpos = '1' | |
6045 | cmdbarpos2 = '-24' | |
6046 | end | |
6047 | end) | |
6048 | ||
6049 | ---------------- | |
6050 | --ESP function-- | |
6051 | ---------------- | |
6052 | local ESP = false | |
6053 | local track = false | |
6054 | function Create(base, team) | |
6055 | local MAIN = DATA.MAIN:Clone() | |
6056 | local F = MAIN.DOT | |
6057 | local ESP = MAIN.NAME | |
6058 | ||
6059 | MAIN.Parent = Player.PlayerGui | |
6060 | MAIN.Adornee = base | |
6061 | ||
6062 | F.Visible = true | |
6063 | ||
6064 | ESP.Text = base.Parent.Name:upper() | |
6065 | ESP.Visible = true | |
6066 | end | |
6067 | function Clear() | |
6068 | for _,v in pairs(Player.PlayerGui:children()) do | |
6069 | if v.Name == "MAIN" and v:IsA("BillboardGui") then | |
6070 | v:Destroy() | |
6071 | end | |
6072 | end | |
6073 | end | |
6074 | function Find() | |
6075 | Clear() | |
6076 | track = true | |
6077 | spawn(function() | |
6078 | while wait() do | |
6079 | if track then | |
6080 | Clear() | |
6081 | for i,v in pairs(game.Players:players()) do | |
6082 | if v.Character and v.Character.Head then | |
6083 | Create(v.Character.Head, true) | |
6084 | end | |
6085 | end | |
6086 | end | |
6087 | wait(1) | |
6088 | end | |
6089 | end) | |
6090 | end | |
6091 | Mouse.KeyDown:connect(function(Key) | |
6092 | if Key:byte() == 30 then | |
6093 | if ESP == false then | |
6094 | Find() | |
6095 | ESP = true | |
6096 | elseif ESP == true then | |
6097 | Clear() | |
6098 | track = false | |
6099 | ESP = false | |
6100 | end | |
6101 | end | |
6102 | end) | |
6103 | ||
6104 | --------------------------------- | |
6105 | ----Notify animation/movement---- | |
6106 | --------------------------------- | |
6107 | local NOTIFY = DATA.Notification | |
6108 | NOTIFY.Parent = game.CoreGui | |
6109 | local usingNOTE = false | |
6110 | function Notify(msg) | |
6111 | if usingNOTE == false then | |
6112 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
6113 | spawn(function() | |
6114 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quad", 0.5, true, nil) | |
6115 | NOTIFY.NOTIFY.NOTE.Text = msg | |
6116 | usingNOTE = true | |
6117 | wait(3.5) | |
6118 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,-0.2,0), "InOut", "Quad", 0.5, true, nil) | |
6119 | usingNOTE = false | |
6120 | end) | |
6121 | end | |
6122 | end | |
6123 | end | |
6124 | ||
6125 | ------------------------- | |
6126 | --Startup notifications-- | |
6127 | ------------------------- | |
6128 | o1 = Instance.new("ScreenGui") | |
6129 | o2 = Instance.new("Frame") | |
6130 | o3 = Instance.new("Frame") | |
6131 | o4 = Instance.new("Frame") | |
6132 | o5 = Instance.new("ScrollingFrame") | |
6133 | o6 = Instance.new("TextLabel") | |
6134 | o7 = Instance.new("ScrollingFrame") | |
6135 | o8 = Instance.new("TextLabel") | |
6136 | o9 = Instance.new("Frame") | |
6137 | o10 = Instance.new("ScrollingFrame") | |
6138 | o11 = Instance.new("ScrollingFrame") | |
6139 | o1.Name = "IntroGui" | |
6140 | o1.Parent = game.CoreGui | |
6141 | o2.Name = "MainFrame" | |
6142 | o2.Parent = o1 | |
6143 | o2.Size = UDim2.new(1,0,1,0) | |
6144 | o2.BackgroundColor3 = Color3.new(0, 0, 0) | |
6145 | o2.BackgroundTransparency = 1 | |
6146 | o2.BorderSizePixel = 0 | |
6147 | o3.Name = "Intro" | |
6148 | o3.Parent = o2 | |
6149 | o3.Size = UDim2.new(1,0,1,0) | |
6150 | o3.BackgroundColor3 = Color3.new(0, 0, 0) | |
6151 | o3.BackgroundTransparency = 1 | |
6152 | o3.BorderSizePixel = 0 | |
6153 | o3.ZIndex = 2 | |
6154 | o4.Name = "presents" | |
6155 | o4.Parent = o3 | |
6156 | o4.Position = UDim2.new(0,0,1,0) | |
6157 | o4.Size = UDim2.new(1,0,1,0) | |
6158 | o4.Position = UDim2.new(0,0,1,0) | |
6159 | o4.BackgroundColor3 = Color3.new(0, 0, 0) | |
6160 | o4.BackgroundTransparency = 0.69999998807907 | |
6161 | o4.BorderSizePixel = 0 | |
6162 | o4.ZIndex = 3 | |
6163 | o5.Name = "text1" | |
6164 | o5.Parent = o4 | |
6165 | o5.Position = UDim2.new(0,0,0.5,-50) | |
6166 | o5.Size = UDim2.new(1,0,0,100) | |
6167 | o5.Position = UDim2.new(0,0,0.5,-50) | |
6168 | o5.CanvasSize = UDim2.new(0,0,0,0) | |
6169 | o5.BackgroundColor3 = Color3.new(1, 1, 1) | |
6170 | o5.BackgroundTransparency = 1 | |
6171 | o5.BorderSizePixel = 0 | |
6172 | o5.ZIndex = 3 | |
6173 | o5.ScrollBarThickness = 0 | |
6174 | o6.Name = "MainTL" | |
6175 | o6.Parent = o5 | |
6176 | o6.Position = UDim2.new(0,0,0,100) | |
6177 | o6.Size = UDim2.new(1,0,0,100) | |
6178 | o6.Text = "Infinite Yield" | |
6179 | o6.Position = UDim2.new(0,0,0,100) | |
6180 | o6.BackgroundColor3 = Color3.new(1, 1, 1) | |
6181 | o6.BackgroundTransparency = 1 | |
6182 | o6.BorderSizePixel = 0 | |
6183 | o6.ZIndex = 5 | |
6184 | o6.Font = Enum.Font.Highway | |
6185 | o6.FontSize = Enum.FontSize.Size14 | |
6186 | o6.TextColor3 = Color3.new(1, 1, 1) | |
6187 | o6.TextScaled = true | |
6188 | o6.TextWrapped = true | |
6189 | o7.Name = "text2" | |
6190 | o7.Parent = o4 | |
6191 | o7.Position = UDim2.new(0,0,0.5,50) | |
6192 | o7.Size = UDim2.new(1,0,0,30) | |
6193 | o7.Position = UDim2.new(0,0,0.5,50) | |
6194 | o7.CanvasSize = UDim2.new(0,0,0,0) | |
6195 | o7.BackgroundColor3 = Color3.new(1, 1, 1) | |
6196 | o7.BackgroundTransparency = 1 | |
6197 | o7.BorderSizePixel = 0 | |
6198 | o7.ZIndex = 3 | |
6199 | o7.ScrollBarThickness = 0 | |
6200 | o8.Name = "MainTL" | |
6201 | o8.Parent = o7 | |
6202 | o8.Position = UDim2.new(0,0,0,-31) | |
6203 | o8.Size = UDim2.new(1,0,0,30) | |
6204 | o8.Text = "Admin Commands" | |
6205 | o8.Position = UDim2.new(0,0,0,-31) | |
6206 | o8.BackgroundColor3 = Color3.new(1, 1, 1) | |
6207 | o8.BackgroundTransparency = 1 | |
6208 | o8.BorderSizePixel = 0 | |
6209 | o8.ZIndex = 5 | |
6210 | o8.Font = Enum.Font.Highway | |
6211 | o8.FontSize = Enum.FontSize.Size36 | |
6212 | o8.TextColor3 = Color3.new(1, 1, 1) | |
6213 | o8.TextWrapped = true | |
6214 | o9.Name = "gametitle" | |
6215 | o9.Parent = o3 | |
6216 | o9.Position = UDim2.new(0,0,1,0) | |
6217 | o9.Size = UDim2.new(1,0,1,0) | |
6218 | o9.Position = UDim2.new(0,0,1,0) | |
6219 | o9.BackgroundColor3 = Color3.new(0, 0, 0) | |
6220 | o9.BackgroundTransparency = 0.69999998807907 | |
6221 | o9.BorderSizePixel = 0 | |
6222 | o9.ZIndex = 3 | |
6223 | o10.Name = "text1" | |
6224 | o10.Parent = o9 | |
6225 | o10.Position = UDim2.new(0,0,0.5,-50) | |
6226 | o10.Size = UDim2.new(1,0,0,100) | |
6227 | o10.Position = UDim2.new(0,0,0.5,-50) | |
6228 | o10.CanvasSize = UDim2.new(0,0,0,0) | |
6229 | o10.BackgroundColor3 = Color3.new(1, 1, 1) | |
6230 | o10.BackgroundTransparency = 1 | |
6231 | o10.BorderSizePixel = 0 | |
6232 | o10.ZIndex = 3 | |
6233 | o10.ScrollBarThickness = 0 | |
6234 | o11.Name = "text2" | |
6235 | o11.Parent = o9 | |
6236 | o11.Position = UDim2.new(0,0,0.5,50) | |
6237 | o11.Size = UDim2.new(1,0,0,40) | |
6238 | o11.Position = UDim2.new(0,0,0.5,50) | |
6239 | o11.CanvasSize = UDim2.new(0,0,0,0) | |
6240 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
6241 | o11.BackgroundTransparency = 1 | |
6242 | o11.BorderSizePixel = 0 | |
6243 | o11.ZIndex = 3 | |
6244 | o11.ScrollBarThickness = 0 | |
6245 | wait(1) | |
6246 | local presents = game.CoreGui.IntroGui.MainFrame.Intro.presents | |
6247 | local presents_text1_mtl = presents.text1.MainTL | |
6248 | local presents_text2_mtl = presents.text2.MainTL | |
6249 | local gtitle = game.CoreGui.IntroGui.MainFrame.Intro.gametitle | |
6250 | ||
6251 | presents:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0) | |
6252 | wait(0.5) | |
6253 | presents_text1_mtl:TweenPosition(UDim2.new(0,0,0.5,-54),"Out","Quad",1) | |
6254 | wait(0.5) | |
6255 | presents_text2_mtl:TweenPosition(UDim2.new(0,0,0.5,-18),"Out","Quad",0.3) | |
6256 | wait(3) | |
6257 | presents:TweenPosition(UDim2.new(0,0,-1,0),"Out","Quad",0.5) | |
6258 | gtitle:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0.5) | |
6259 | wait(0.6) | |
6260 | gtitle:TweenPosition(UDim2.new(0,0,1,0),"Out","Quad",0.5) | |
6261 | presents:TweenPosition(UDim2.new(0,0,-1,-38),"Out","Quad",0) | |
6262 | wait(0.1) | |
6263 | if game.Workspace.FilteringEnabled == true then | |
6264 | NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0) | |
6265 | Notify('Filtering Status: ENABLED!') | |
6266 | elseif game.Workspace.FilteringEnabled == false then | |
6267 | NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0) | |
6268 | Notify('Filtering Status: Disabled.') | |
6269 | end | |
6270 | wait(4) | |
6271 | o1:Destroy() | |
6272 | NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255) | |
6273 | local IY = Instance.new("ScreenGui") | |
6274 | local IYM = Instance.new("Frame") | |
6275 | local TextLabel = Instance.new("TextLabel") | |
6276 | IY.Name = "IY" | |
6277 | IY.Parent = game.CoreGui | |
6278 | IYM.Name = "IYM" | |
6279 | IYM.Parent = IY | |
6280 | IYM.BackgroundTransparency = 1 | |
6281 | IYM.Position = UDim2.new(0, 0, 0, 50) | |
6282 | IYM.Size = UDim2.new(1, -10, 1, -10) | |
6283 | TextLabel.Parent = IYM | |
6284 | TextLabel.BackgroundTransparency = 1 | |
6285 | TextLabel.Position = UDim2.new(0.00300000003, 0, 0.25, 10) | |
6286 | TextLabel.Size = UDim2.new(1, -14, 1, 0) | |
6287 | TextLabel.Font = Enum.Font.SourceSansItalic | |
6288 | TextLabel.FontSize = Enum.FontSize.Size18 | |
6289 | TextLabel.Text = "Thanks for using Infinite Yield v4. Say ;cmds for commands." | |
6290 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
6291 | TextLabel.TextStrokeTransparency = 0.75 | |
6292 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
6293 | TextLabel.TextYAlignment = Enum.TextYAlignment.Top | |
6294 | wait(2) | |
6295 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
6296 | wait(0.01) | |
6297 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
6298 | wait(0.01) | |
6299 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
6300 | wait(0.01) | |
6301 | IYM.TextLabel.TextStrokeColor3 = Color3.new(1,1,1) | |
6302 | wait(0.05) | |
6303 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
6304 | wait(0.01) | |
6305 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
6306 | wait(0.01) | |
6307 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
6308 | wait(0.01) | |
6309 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2) | |
6310 | wait(0.01) | |
6311 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0,0,0) | |
6312 | wait(0.01) | |
6313 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2) | |
6314 | wait(0.01) | |
6315 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
6316 | wait(0.01) | |
6317 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
6318 | wait(0.01) | |
6319 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
6320 | wait(0.01) | |
6321 | IYM.TextLabel.TextStrokeColor3 = Color3.new(1,1,1) | |
6322 | wait(0.05) | |
6323 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
6324 | wait(0.01) | |
6325 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
6326 | wait(0.01) | |
6327 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
6328 | wait(0.01) | |
6329 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2) | |
6330 | wait(0.01) | |
6331 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0,0,0) | |
6332 | wait(1) | |
6333 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(937297244) | |
6334 | wait(1) | |
6335 | if Asset.Name == "Infinite Yield 4.0" then | |
6336 | print('Infinite Yield is up to date! (Version ' .. Version .. ')') | |
6337 | UTD = true | |
6338 | else | |
6339 | UTD = false | |
6340 | -- Objects | |
6341 | local Update = Instance.new("ScreenGui") | |
6342 | local Notification = Instance.new("Frame") | |
6343 | local Help = Instance.new("Frame") | |
6344 | local helpframe = Instance.new("Frame") | |
6345 | local Help_2 = Instance.new("Frame") | |
6346 | local Notice = Instance.new("Frame") | |
6347 | local TextLabel = Instance.new("TextLabel") | |
6348 | local OKButton = Instance.new("TextButton") | |
6349 | local Notice_2 = Instance.new("Frame") | |
6350 | local TextLabel_2 = Instance.new("TextLabel") | |
6351 | local ButtonSeparator = Instance.new("Frame") | |
6352 | local HelpButton = Instance.new("TextButton") | |
6353 | local OKButton_2 = Instance.new("TextButton") | |
6354 | local Bar = Instance.new("Frame") | |
6355 | ||
6356 | -- Properties | |
6357 | ||
6358 | Update.Name = "Update" | |
6359 | Update.Parent = game.CoreGui | |
6360 | Notification.Name = "Notification" | |
6361 | Notification.Parent = Update | |
6362 | Notification.BackgroundColor3 = Color3.new(0, 0, 0) | |
6363 | Notification.BackgroundTransparency = 0.5 | |
6364 | Notification.BorderSizePixel = 0 | |
6365 | Notification.Size = UDim2.new(1, 0, 0, 65) | |
6366 | Help.Name = "Help" | |
6367 | Help.Parent = Notification | |
6368 | Help.BackgroundColor3 = Color3.new(0, 0, 0) | |
6369 | Help.BackgroundTransparency = 1 | |
6370 | Help.BorderSizePixel = 0 | |
6371 | Help.Position = UDim2.new(0, 0, 0, 65) | |
6372 | Help.Size = UDim2.new(1, 0, 1, -22) | |
6373 | Help.Visible = false | |
6374 | helpframe.Name = "helpframe" | |
6375 | helpframe.Parent = Help | |
6376 | helpframe.BackgroundColor3 = Color3.new(0, 0, 0) | |
6377 | helpframe.BackgroundTransparency = 0.5 | |
6378 | helpframe.BorderSizePixel = 0 | |
6379 | helpframe.Size = UDim2.new(1, 0, 0, 65) | |
6380 | Help_2.Name = "Help" | |
6381 | Help_2.Parent = helpframe | |
6382 | Help_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
6383 | Help_2.BackgroundTransparency = 1 | |
6384 | Help_2.BorderSizePixel = 0 | |
6385 | Help_2.Position = UDim2.new(0, 0, 0, 200) | |
6386 | Help_2.Size = UDim2.new(1, 0, 1, -22) | |
6387 | Notice.Name = "Notice" | |
6388 | Notice.Parent = helpframe | |
6389 | Notice.BackgroundColor3 = Color3.new(0, 0, 0) | |
6390 | Notice.BackgroundTransparency = 1 | |
6391 | Notice.BorderSizePixel = 0 | |
6392 | Notice.Position = UDim2.new(0, 0, 0, 2) | |
6393 | Notice.Size = UDim2.new(1, 0, 1, -22) | |
6394 | TextLabel.Parent = Notice | |
6395 | TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) | |
6396 | TextLabel.BackgroundTransparency = 1 | |
6397 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
6398 | TextLabel.BorderSizePixel = 0 | |
6399 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
6400 | TextLabel.Font = Enum.Font.SourceSansBold | |
6401 | TextLabel.FontSize = Enum.FontSize.Size14 | |
6402 | TextLabel.Text = "You can go to our site at infiniteyield.x10host.com to download the latest version. Otherwise join the discord: discord.gg/9MByKtG" | |
6403 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
6404 | TextLabel.TextStrokeColor3 = Color3.new(0, 0, 0) | |
6405 | TextLabel.TextStrokeTransparency = 0.80000001192093 | |
6406 | TextLabel.TextWrapped = true | |
6407 | Notice_2.Name = "Notice" | |
6408 | Notice_2.Parent = Notification | |
6409 | Notice_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
6410 | Notice_2.BackgroundTransparency = 1 | |
6411 | Notice_2.BorderSizePixel = 0 | |
6412 | Notice_2.Position = UDim2.new(0, 0, 0, 2) | |
6413 | Notice_2.Size = UDim2.new(1, 0, 1, -22) | |
6414 | TextLabel_2.Parent = Notice_2 | |
6415 | TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
6416 | TextLabel_2.BackgroundTransparency = 1 | |
6417 | TextLabel_2.BorderColor3 = Color3.new(0, 0, 0) | |
6418 | TextLabel_2.BorderSizePixel = 0 | |
6419 | TextLabel_2.Size = UDim2.new(1, 0, 1, 0) | |
6420 | TextLabel_2.Font = Enum.Font.SourceSansBold | |
6421 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
6422 | TextLabel_2.Text = "The version of Infinite Yield you are using is outdated! (Using version " .. Version .. " when " .. Asset.Name .. " is avalable)" | |
6423 | TextLabel_2.TextColor3 = Color3.new(1, 1, 1) | |
6424 | TextLabel_2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
6425 | TextLabel_2.TextStrokeTransparency = 0.80000001192093 | |
6426 | TextLabel_2.TextWrapped = true | |
6427 | ButtonSeparator.Name = "ButtonSeparator" | |
6428 | ButtonSeparator.Parent = Notification | |
6429 | ButtonSeparator.BackgroundColor3 = Color3.new(0, 0, 0) | |
6430 | ButtonSeparator.BackgroundTransparency = 0.5 | |
6431 | ButtonSeparator.BorderColor3 = Color3.new(1, 1, 1) | |
6432 | ButtonSeparator.BorderSizePixel = 0 | |
6433 | ButtonSeparator.Position = UDim2.new(0.5, 0, 1, -22) | |
6434 | ButtonSeparator.Size = UDim2.new(0, 2, 0, 22) | |
6435 | HelpButton.Name = "HelpButton" | |
6436 | HelpButton.Parent = Notification | |
6437 | HelpButton.BackgroundColor3 = Color3.new(0, 0, 0) | |
6438 | HelpButton.BackgroundTransparency = 0.80000001192093 | |
6439 | HelpButton.BorderColor3 = Color3.new(0, 0, 0) | |
6440 | HelpButton.BorderSizePixel = 0 | |
6441 | HelpButton.Position = UDim2.new(0.5, 0, 1, -22) | |
6442 | HelpButton.Size = UDim2.new(0.5, 0, 0, 22) | |
6443 | HelpButton.Font = Enum.Font.Highway | |
6444 | HelpButton.FontSize = Enum.FontSize.Size18 | |
6445 | HelpButton.Text = "What should I do?" | |
6446 | HelpButton.TextColor3 = Color3.new(1, 1, 1) | |
6447 | OKButton_2.Name = "OKButton" | |
6448 | OKButton_2.Parent = Notification | |
6449 | OKButton_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
6450 | OKButton_2.BackgroundTransparency = 0.80000001192093 | |
6451 | OKButton_2.BorderColor3 = Color3.new(0, 0, 0) | |
6452 | OKButton_2.BorderSizePixel = 0 | |
6453 | OKButton_2.Position = UDim2.new(0, 0, 1, -22) | |
6454 | OKButton_2.Size = UDim2.new(0.5, 0, 0, 22) | |
6455 | OKButton_2.Font = Enum.Font.Highway | |
6456 | OKButton_2.FontSize = Enum.FontSize.Size18 | |
6457 | OKButton_2.Text = "Ignore" | |
6458 | OKButton_2.TextColor3 = Color3.new(1, 1, 1) | |
6459 | Bar.Name = "Bar" | |
6460 | Bar.Parent = Notification | |
6461 | Bar.BackgroundColor3 = Color3.new(1, 0, 0) | |
6462 | Bar.BorderSizePixel = 0 | |
6463 | Bar.Size = UDim2.new(1, 0, 0, 2) | |
6464 | end | |
6465 | if UTD == false then | |
6466 | game.CoreGui.Update.Notification.HelpButton.MouseButton1Click:Connect(function() | |
6467 | wait() | |
6468 | game.CoreGui.Update.Notification.Help.Visible = true | |
6469 | end) | |
6470 | end | |
6471 | if UTD ==false then | |
6472 | game.CoreGui.Update.Notification.OKButton.MouseButton1Click:Connect(function() | |
6473 | wait() | |
6474 | game.CoreGui.Update:Destroy() | |
6475 | end) | |
6476 | end | |
6477 | wait(10) | |
6478 | IYM.TextLabel.TextStrokeTransparency = 0.65 | |
6479 | wait(0.05) | |
6480 | IYM.TextLabel.TextStrokeTransparency = 0.75 | |
6481 | wait(0.05) | |
6482 | IYM.TextLabel.TextStrokeTransparency = 0.85 | |
6483 | wait(0.05) | |
6484 | IYM.TextLabel.TextStrokeTransparency = 0.95 | |
6485 | wait(0.05) | |
6486 | IYM.TextLabel.TextStrokeTransparency = 1 | |
6487 | wait(0.05) | |
6488 | IYM.TextLabel.TextTransparency = 0.10 | |
6489 | wait(0.05) | |
6490 | IYM.TextLabel.TextTransparency = 0.20 | |
6491 | wait(0.05) | |
6492 | IYM.TextLabel.TextTransparency = 0.30 | |
6493 | wait(0.05) | |
6494 | IYM.TextLabel.TextTransparency = 0.40 | |
6495 | wait(0.05) | |
6496 | IYM.TextLabel.TextTransparency = 0.50 | |
6497 | wait(0.05) | |
6498 | IYM.TextLabel.TextTransparency = 0.60 | |
6499 | wait(0.05) | |
6500 | IYM.TextLabel.TextTransparency = 0.70 | |
6501 | wait(0.05) | |
6502 | IYM.TextLabel.TextTransparency = 0.80 | |
6503 | wait(0.05) | |
6504 | IYM.TextLabel.TextTransparency = 0.90 | |
6505 | wait(0.05) | |
6506 | IYM.TextLabel.TextTransparency = 1 | |
6507 | wait(0.05) | |
6508 | IY:Destroy() |