View difference between Paste ID: xNp7eBqJ and MjBzRjmT
SHOW: | | - or go back to the newest paste.
1-
--THIS SCRIPT HAS BEEN DISCONTINUED
1+
2-
--Please use Infinite Yield FE
2+
3-
--infyield.yolasite.com
3+
4-
--discord.io/infiniteyield
4+
5
--   | | _ __ | |_ _ _ __  _| |_ ___   \ V / _  ___| | __| | --
6-
local GUI = Instance.new("ScreenGui")
6+
7-
local AnnGUI = Instance.new("Frame")
7+
8-
local background = Instance.new("Frame")
8+
9-
local TextBox = Instance.new("TextLabel")
9+
10
---------------------------------------------------------------
11
----------------------Edge#1934-Moon#6245----------------------
12
---------------------------------------------------------------
13-
local ExitImage = Instance.new("ImageLabel")
13+
14
local Version = '8.9'
15-
GUI.Parent = game:GetService("CoreGui")
15+
16
HttpService = game:GetService("HttpService")
17-
AnnGUI.Name = "AnnGUI"
17+
18-
AnnGUI.Parent = GUI
18+
19-
AnnGUI.Active = true
19+
20-
AnnGUI.BackgroundTransparency = 1
20+
21-
AnnGUI.Position = UDim2.new(0.5, -180, 0, -500)
21+
22-
AnnGUI.Size = UDim2.new(0, 360, 0, 20)
22+
23-
AnnGUI.ZIndex = 10
23+
24
	JLnotify = true;
25-
background.Name = "background"
25+
26-
background.Parent = AnnGUI
26+
27-
background.Active = true
27+
28-
background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
28+
29-
background.BorderSizePixel = 0
29+
30-
background.Position = UDim2.new(0, 0, 0, 20)
30+
31-
background.Size = UDim2.new(0, 360, 0, 150)
31+
32-
background.ZIndex = 10
32+
33
function run()
34-
TextBox.Parent = background
34+
35-
TextBox.BackgroundTransparency = 1
35+
36-
TextBox.Position = UDim2.new(0, 5, 0, 5)
36+
37-
TextBox.Size = UDim2.new(0, 350, 0, 140)
37+
38-
TextBox.Font = Enum.Font.SourceSans
38+
39-
TextBox.TextSize = 18
39+
40-
TextBox.TextWrapped = true
40+
41-
TextBox.Text = "This version of Infinite Yield has been discontinued. Please go to our website or discord server to get a currently supported version.\n\ndiscord.io/infiniteyield\n\ninfyield.yolasite.com"
41+
42-
TextBox.TextColor3 = Color3.new(1, 1, 1)
42+
43-
TextBox.TextXAlignment = Enum.TextXAlignment.Left
43+
44-
TextBox.TextYAlignment = Enum.TextYAlignment.Top
44+
45-
TextBox.ZIndex = 10
45+
46
Mseconds = CREATEFILE.Mseconds
47
Nfriends = CREATEFILE.Nfriends
48-
shadow.Parent = AnnGUI
48+
49-
shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
49+
50
whispersV = CREATEFILE.whispersV
51-
shadow.Size = UDim2.new(0, 360, 0, 20)
51+
52-
shadow.ZIndex = 10
52+
53
function pcWRITE()
54
local file, err = pcall(writeF)
55
if not file then
56
warn("READ/WRITE ERROR: "..err)
57-
PopupText.Size = UDim2.new(1, 0, 0.95, 0)
57+
58-
PopupText.ZIndex = 10
58+
59-
PopupText.Font = Enum.Font.SourceSans
59+
60-
PopupText.TextSize = 14
60+
if child.Name == 'IYrun' then
61-
PopupText.Text = "Server Announcement"
61+
62-
PopupText.TextColor3 = Color3.new(1, 1, 1)
62+
63
if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then
64
local function sfile()
65
local checktxt = readfile("IY.txt")
66
if checktxt == nil then pcWRITE() writeF()
67-
Exit.BackgroundTransparency = 1
67+
68-
Exit.Position = UDim2.new(1, -20, 0, 0)
68+
69
if success then
70
local json = readfile("IY.txt")
71-
Exit.ZIndex = 10
71+
72
colorR = LOADFILE.colorR
73-
ExitImage.Parent = Exit
73+
74-
ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
74+
75-
ExitImage.BackgroundTransparency = 1
75+
76-
ExitImage.Position = UDim2.new(0, 5, 0, 5)
76+
77-
ExitImage.Size = UDim2.new(0, 10, 0, 10)
77+
78-
ExitImage.Image = "rbxassetid://5054663650"
78+
79-
ExitImage.ZIndex = 10
79+
80
Nfriends = LOADFILE.Nfriends
81
cmdbarbind = LOADFILE.cmdbarbind
82-
AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
82+
83
whispersV = LOADFILE.whispersV
84
commandsV = LOADFILE.commandsV
85-
	AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
85+
86-
	wait(0.6)
86+
87-
	AnnGUI:Destroy()
87+
88-
	run()
88+
89
	colorG = 0.121569
90
	colorB = 0.121569
91
	cmdprefix = ';'
92-
--script start
92+
93
	allowfriends = true
94
	JLnotify = true
95
	Mseconds = '7'
96
	Nfriends = true
97
	cmdbarbind = ';'
98
	chatsV = false
99
	whispersV = false
100
	commandsV = false
101
	loaded = true
102
end
103-
---------------------------Edge-Moon---------------------------
103+
104
local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer
105
local Mouse = Player:GetMouse() local char = Player.Character local LP = gPlayers.LocalPlayer local gPlayers = game:GetService("Players") local _players = game:GetService('Players') MSGhook = false local services={} local cmds={}
106-
local Version = '9.5.3'
106+
107
services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\'
108
local split=" " slock = false
109
function updatefile()
110
local update = {
111
	colorR = colorR;
112
	colorG = colorG;
113
	colorB = colorB;
114
	cmdprefix = cmdprefix;
115
	suggestionstoggle = suggestionstoggle;
116
	allowfriends = allowfriends;
117
	JLnotify = JLnotify;
118
	Mseconds = Mseconds;
119
	Nfriends = Nfriends;
120
	cmdbarbind = cmdbarbind;
121
	chatsV = chatsV;
122-
	aliasSave = {}
122+
123
	commandsV = commandsV
124
}
125
local updated = HttpService:JSONEncode(update)
126-
function writefileExploit() if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then return true end end
126+
127
writefile("IY.txt", updated) end
128
function isNumber(str)
129
return tonumber(str) ~= nil end
130
function msghook()
131
for _, child in pairs( workspace:GetChildren()) do
132
if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
133
child.Name = "IYmessage" child.Text = '' MSGhook = true end end
134
if workspace:FindFirstChild("IYmessage") then MSGhook = true
135
else MSGhook = false end end
136
game:GetService("RunService").RenderStepped:Connect(function()
137
game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
138
if r15noclip then
139
if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end
140
if LP.Character and LP.Character:FindFirstChild('Humanoid') then
141
	LP.Character.Humanoid.Died:connect(function() FLYING = false end)
142
if MSGhook == true and workspace:FindFirstChild("IYmessage") then
143
	if workspace.IYmessage.Text == '' then
144
	for _, child in pairs( LightingService:GetChildren()) do
145
    	if child.Name == "IYmblur" then
146
        child:Destroy() end end end
147
	else MSGhook = false end
148-
aliasSave = CREATEFILE.aliasSave
148+
149
		if FindTable(loopkillT, v.Name) then
150
		v.Character:BreakJoints() end
151
		if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then
152
		v.Backpack:Destroy()
153
		for i,n in pairs(v.Character:GetChildren()) do
154
			if n:IsA('Tool') or n:IsA('HopperBin') then
155
				n:destroy() end end end
156-
for _, child in pairs(game.CoreGui:GetChildren()) do
156+
157-
if child.Name == "IYrun" then
157+
158
			v.TeamColor = BrickColor.random()
159
		end end end end)
160-
if writefileExploit() then
160+
161
origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = 
162
LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
163
function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
164
function FindTable(Table, Name)
165
	for i,v in pairs(Table) do
166
		if v == Name then
167
			return true
168
		end end
169
	return false
170
end
171
function GetInTable(Table, Name)
172
	for i = 1, #Table do
173
		if Table[i] == Name then
174
			return i
175
		end end
176
return false end
177
_players.PlayerRemoving:connect(function(player)
178
for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end
179
for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end
180
if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
181
			game:FindService('StarterGui'):SetCore('SendNotification', {
182-
aliasSave = LOADFILE.aliasSave
182+
183
				Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
184
				Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
185
				Duration = 5,
186
			})
187
elseif JLnotify == true and Nfriends == false then
188
			game:FindService('StarterGui'):SetCore('SendNotification', {
189
				Title = player.Name,
190
				Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
191
				Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
192
				Duration = 5,
193
			})
194
end
195
end)		
196
FLYING = false
197
iyflyspeed = 1
198
function sFLY() -- from rocky2u cmdscript
199-
	aliasSave = {}
199+
200
	repeat wait() until Mouse
201
	
202
	local T = LP.Character.HumanoidRootPart
203
	local CONTROL = {F = 0, B = 0, L = 0, R = 0}
204
	local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
205
	local SPEED = 0
206
	
207
	local function FLY()
208
		FLYING = true
209-
if writefileExploit() then
209+
210
		local BV = Instance.new('BodyVelocity', T)
211
		BG.P = 9e4
212
		BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
213
		BG.cframe = T.CFrame
214
		BV.velocity = Vector3.new(0, 0.1, 0)
215
		BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
216
		spawn(function()
217
		repeat wait()
218
		LP.Character.Humanoid.PlatformStand = true
219
		if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
220
		SPEED = 50
221
		elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
222
		SPEED = 0
223-
	commandsV = commandsV;
223+
224-
	aliasSave = aliasSave
224+
225
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
226
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
227
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
228-
writefile("IY.txt", updated) end end
228+
229
else
230
BV.velocity = Vector3.new(0, 0.1, 0)
231
end
232
	BG.cframe = workspace.CurrentCamera.CoordinateFrame
233
			until not FLYING
234
			CONTROL = {F = 0, B = 0, L = 0, R = 0}
235
			lCONTROL = {F = 0, B = 0, L = 0, R = 0}
236
			SPEED = 0
237
			BG:destroy()
238
			BV:destroy()
239
			LP.Character.Humanoid.PlatformStand = false
240
		end)
241
	end
242
	Mouse.KeyDown:connect(function(KEY)
243
		if KEY:lower() == 'w' then
244
			CONTROL.F = iyflyspeed
245
		elseif KEY:lower() == 's' then
246
			CONTROL.B = -iyflyspeed
247
		elseif KEY:lower() == 'a' then
248
			CONTROL.L = -iyflyspeed 
249
		elseif KEY:lower() == 'd' then 
250
			CONTROL.R = iyflyspeed
251
		end
252
	end)
253
	Mouse.KeyUp:connect(function(KEY)
254
		if KEY:lower() == 'w' then
255
			CONTROL.F = 0
256
		elseif KEY:lower() == 's' then
257
			CONTROL.B = 0
258
		elseif KEY:lower() == 'a' then
259
			CONTROL.L = 0
260
		elseif KEY:lower() == 'd' then
261
			CONTROL.R = 0
262
		end
263
	end)
264
	FLY()
265
end
266
function NOFLY()
267
	FLYING = false
268
	LP.Character.Humanoid.PlatformStand = false
269
end
270
271
------------------
272
---CMDS/HOTKEYS---
273
------------------
274
HK = {
275
	'-HOTKEYS-',
276
	'F4 - Toggle Fly',
277
	'F5 - Toggle Noclip',
278
	'HOLD F2 - Click TP',
279
	'-COMMANDS-'
280
}
281
CMDs = {
282
	'ff [plr]',
283
	'invisibleff / invisff [plr]',
284
	'unff [plr]',
285
	'fire [plr] [R G B]',
286
	'unfire [plr]',
287
	'burn [plr]',
288
	'sparkles / sp [plr] [R G B]',
289
	'unsparkles / unsp [plr]',
290
	'smoke [plr]',
291
	'unsmoke [plr]',
292
	'btools [plr]',
293
	'god [plr]',
294
	'ungod [plr]',
295
	'smite [plr]',
296
	'bleach [plr]',
297
	'begone / thot [plr]',
298
	'crucify [plr]',
299
	'hang [plr]',
300
	'heal [plr]',
301
	'freeze / fr [plr]',
302
	'thaw / unfr [plr]',
303
	'kill [plr]',
304
	'sound / music [ID/Name]',
305
	'playhash / hash [hash]',
306
	'volume / vol [num]',
307
	'pitch [num]',
308
	'distortsound / distort [num]',
309
	'explode [plr]',
310
	'invisible / invis [plr]',
311
	'visible / vis [plr]',
312
	'goto [plr]',
313
	'bring [plr]',
314
	'tp [plr] [plr]',
315
	'pipetp [plr] [plr]',
316
	'savepos / spos [name]',
317
	'loadpos / lpos [plr] [name]',
318
	'deletepos / dpos [name]',
319
	'positions / pos',
320
	'char [plr] [ID]',
321
	'charplr / cp [plr] [plr]',
322
	'unchar [plr]',
323
	'speed / ws [plr] [num]',
324
	'sgod [plr]',
325
	'unlockws',
326
	'lockws',
327
	'unanchor',
328
	'anchor',
329
	'clear',
330
	'loadm',
331
	'message / m [msg]',
332
	'servermessage / sm [msg]',
333
	'light [plr] [R G B]',
334
	'unlight [plr]',
335
	'glowstick [plr] [R G B]',
336
	'decalspam [ID]',
337
	'undecalspam',
338
	'thirdp [plr]',
339
	'firstp [plr]',
340
	'name [plr]',
341
	'unname [plr]',
342
	'loopname / lname [plr]',
343
	'unloopname / unlname [plr]',
344
	'stun [plr]',
345
	'unstun [plr]',
346
	'copytools / ctools [plr]',
347
	'keeptools / ktools [plr]',
348
	'nokeeptools / noktools [plr]',
349
	'notools [plr]',
350
	'serverinfo / info',
351
	'damage [plr]',
352
	'maxhealth [plr] [num]',
353
	'sethealth [plr] [num]',
354
	'spectate / view [plr]',
355
	'unspectate / unview',
356
	'esp [plr]',
357
	'noesp [plr]',
358
	'nolimbs [plr]',
359
	'torso [plr]',
360
	'box [plr]',
361
	'nobox [plr]',
362
	'ghost [plr]',
363
	'unghost [plr]',
364
	'sphere [plr]',
365
	'loadmap [ID]',
366
	'savemap / smap',
367
	'restoremap / rmap',
368
	'sky [ID]',
369
	'skygif [ID],[ID]... [interval]',
370
	'unskygif',
371
	'ambient [R G B]',
372
	'clrterrain',
373
	'jail [plr]',
374
	'unjail [plr]',
375
	'shutdown',
376
	'starman [plr]',
377
	'unstarman [plr]',
378
	'tppos [plr] [coordinate]',
379
	'offset [plr] [coordinate]',
380
	'animation [plr] [anim]',
381
	'normal [plr]',
382
	'creeper [plr]',
383
	'uncreeper [plr]',
384-
	'addban [full username]',
384+
385
	'unshrek [plr]',
386-
	'aliases',
386+
387-
	'alien / ayylmao [plr]',
387+
388
	'base',
389
	'control [plr]',
390
	'nuke [plr]',
391
	'infect [plr]',
392
	'uninfect [plr]',
393
	'duck [plr]',
394
	'unduck [plr]',
395
	'knuckles [plr]',
396
	'cape [plr] [R G B]',
397
	'uncape [plr]',
398
	'disable [plr]',
399
	'enable [plr]',
400
	'size [plr] [num]',
401
	'confuse [plr]',
402-
	'blackify [plr]',
402+
403
	'clone [plr]',
404
	'dummy [name]',
405
	'nodummies',
406
	'spin [plr]',
407
	'unspin [plr]',
408
	'dog [plr]',
409
	'undog [plr]',
410
	'loopheal [plr]',
411
	'unloopheal [plr]',
412
	'fling [plr]',
413
	'skydive [plr]',
414
	'ayylmao [plr]',
415
	'seizure [plr]',
416
	'unseizure [plr]',
417
	'paper [plr]',
418
	'fat [plr]',
419
	'punish [plr]',
420
	'unpunish [plr]',
421
	'fogend [num]',
422-
	'clraliases',
422+
423
	'disco',
424
	'undisco',
425
	'fix',
426
	'fixlighting / fixl',
427
	'savelighting / slighting',
428
	'flood',
429
	'iyspam',
430
	'spookyify',
431
	'explorer / dex',
432
	'particles [plr] [ID]',
433
	'noparticles [plr]',
434
	'draw',
435-
	'dance [plr]',
435+
436
	'knife',
437
	'mage',
438
	'ban [plr]',
439
	'unban [plr]',
440
	'clrbans',
441
	'float [plr]',
442
	'unfloat [plr]',
443
	'noclip',
444
	'clip',
445
	'hat [plr] [ID]',
446
	'hatsize [plr] [num]',
447
	'removehats / rhats [plr]',
448
	'cripple [plr]',
449
	'uncripple [plr]',
450
	'blur [num]',
451
	'unblur',
452
	'hipheight / hheight [plr] [num]',
453
	'bgui [plr] [text]',
454
	'unbgui [plr]',
455
	'loopkill [plr]',
456
	'unloopkill [plr]',
457
	'trip [plr]',
458-
	'exit',
458+
459
	'loopsit / lsit [plr]',
460
	'unloopsit / unlsit [plr]',
461
	'jump [plr]',
462
	'loopjump / ljump [plr]',
463
	'unloopjump / unljump [plr]',
464
	'jumppower / jpower [plr] [num]',
465
	'strength [plr]',
466
	'unstrength [plr]',
467
	'weaken [plr]',
468
	'unweaken [plr]',
469
	'shiny [plr]',
470
	'serverlock / slock',
471
	'unserverlock / unslock',
472
	'agelock [age num]',
473
	'unagelock',
474
	'headshake [plr]',
475-
	'flashlight [plr]',
475+
476
	'change [plr] [stat] [num]',
477
	'headsize [plr] [num]',
478
	'bang [plr] [plr] / bang [plr]',
479
	'chat [plr] [msg]',
480
	'gravity [num]',
481
	'disabletools [plr]',
482
	'enabletools [plr]',
483
	'nil [plr]',
484
	'rainbow [plr]',
485
	'rainbowname [plr]',
486
	'unrainbowname [plr]',
487
	'mesh [plr] [mesh] [texture]',
488
	'rain [mesh] [texture]',
489
	'norain',
490
	'neon [plr]',
491
	'glass [plr]',
492
	'longneck [plr]',
493
	'unlongneck [plr]',
494
	'time [num]',
495
	'day',
496
	'night',
497
	'blackandwhite',
498
	'invert',
499
	'sun [intense] [spread]',
500
	'spasm [plr]',
501
	'meteor [plr]',
502
	'countdown [num]',
503
	'bomb [plr]',
504-
	'insert [ID/name]',
504+
505
	'rocket [plr]',
506
	'ball [plr]',
507
	'unball [plr]',
508
	'hidename [plr]',
509
	'unhidename [plr]',
510
	'face [plr] [ID]',
511
	'fly',
512
	'unfly',
513
	'flyspeed [num]',
514
	'zinnia [plr]',
515-
	'kidnap [plr]',
515+
516
	'seagull / gull [plr]',
517
	'team [plr] [team]',
518
	'age [plr]',
519
	'f3x',
520
	'tools [plr]',
521
	'dong [plr]',
522
	'nodong [plr]',
523
	'filtering',
524
	'remotespy',
525
	'crash [plr]',
526
	'kick [plr]',
527
	'admin [plr]',
528
	'unadmin [plr]',
529
	'admins',
530
	'bans',
531
	'bait',
532
	'removebait / nobait',
533
	'strobe',
534
	'unstrobe',
535
	'blind [plr]',
536
	'unblind [plr]',
537
	'globalshadows / gshadows',
538
	'noglobalshadows / nogshadows',
539-
	'meteor/asteroid [plr]',
539+
540-
	'naked [plr]',
540+
541
	'brightness [num]',
542
	'delete [part name]',
543
	'deleteclass / dc [class name]',
544
	'fart [plr]',
545
	'partdisco',
546-
	'noarms [plr]',
546+
547
	'discomesh [plr]',
548
	'chickenarms / chicken [plr]',
549-
	'noclones [plr]',
549+
550
	'car [plr]',
551
	'uncar [plr]',
552
	'insert [ID]',
553
	'spawnpoint [plr]',
554
	'removespawns',
555
	'fegod',
556
	'feinvisible / feinvis',
557
	'fekill [plr] (need a tool)',
558
	'loopoof',
559
	'unloopoof',
560
	'disablereset [plr]',
561
	'enablereset [plr]',
562-
	'os [plr]',
562+
563
	'unloopbring [plr]',
564
	'lock [plr]',
565
	'unlock [plr]',
566
	'sword [plr]',
567
	'maxzoom [plr] [num]',
568
	'fixcam',
569
	'freecam / fc',
570
	'unfreecam / unfc',
571
	'freecamspeed / fcspeed [num]',
572
	'plrsound [plr] [ID]',
573
	'noplrsound [plr]',
574
	'playlist / player [ID],[ID]...',
575
	'setsong [num]',
576
	'prevsong',
577
	'nextsong',
578
	'hideplaylist / hideplayer',
579
	'keybind [key] [cmd]',
580
	'unkeybind [key]',
581
	'addalias [cmd] [alias]',
582
	'removealias [alias]',
583
	'trail [plr] [R G B]',
584
	'untrail [plr]',
585-
	'rgui',
585+
586
	'script [script]',
587
	'prefix [string]',
588
	'rejoin',
589
	'tablet',
590
	'settings',
591
	'cmds',
592
	'logs',
593
	'breakloops/break (cmd loops)',
594
	'version',
595
	'exit'
596
}
597
function updateevents(player) local C = player.Chatted:connect(function(M) if isAdmin(player) then do_exec(M, player) end end) table.insert(services.events, C) end
598
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-
	'sound / music [ID/name]',
614+
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
628
function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
629
630
local exec=function(str)
631
    spawn(function()
632
        local script, loaderr = loadstring(str)
633
        if not script then
634
            error(loaderr)
635
        else
636
        	script()
637
		end
638
    end)
639
end
640
local findCmd=function(cmd_name)
641
    for i,v in pairs(cmds)do
642
        if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
643
            return v
644
        end
645
    end
646
end
647
local getCmd=function(msg)
648
    local cmd,hassplit=std.endat(msg:lower(),split)
649
    if hassplit then 
650
		return {cmd,true} 
651
	else 
652
		return {cmd,false}
653
	end
654
end
655
local getprfx=function(strn)
656
    if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
657
    elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
658
    end return
659
end
660
maincolor = Color3.new(colorR, colorG, colorB)
661
function updatecolors(color)
662
colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b
663
maincolor = color
664
for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do
665
    if child.Name == "TopBarContainer" then
666
        child.BackgroundColor3 = color
667
    end end
668
FeedbackMain.BackgroundColor3 = maincolor
669
MAIN.BackgroundColor3 = maincolor
670
bar.BackgroundColor3 = maincolor
671
game.CoreGui.sugg.suggestions.BackgroundColor3 = color
672
if game.CoreGui:FindFirstChild('Updates') then
673
game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
674
game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end
675
if game.CoreGui:FindFirstChild('Sinfo') then
676
game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
677
game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end
678
if game.CoreGui:FindFirstChild('cp') then
679
game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color
680
game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color 
681
game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end
682
if game.CoreGui:FindFirstChild('Bans') then
683
game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
684
game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end
685
if game.CoreGui:FindFirstChild('Pos') then
686
game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
687
game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end
688
if game.CoreGui:FindFirstChild('Admins') then
689
game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
690
game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end
691
if game.CoreGui:FindFirstChild('Logs') then
692-
	'unsphere [plr]',
692+
693
game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end
694
end
695
696
function respawn(plr)
697
local M = Instance.new('Model', workspace) M.Name = 'respawn_iy'
698
local H = Instance.new('Humanoid', M)
699
local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
700
plr.Character = M end
701
702
local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930")
703
WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name}
704-
	'whiteify [plr]',
704+
705-
	'zinnia [plr]'
705+
706
if plr.Parent ~= nil then
707
if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
708
local newChar = dummy:Clone() newChar.Parent = workspace
709
newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
710
for i = 1,4 do
711
local Plat = Instance.new('SkateboardPlatform', newChar)
712
Plat.Position = newChar.HumanoidRootPart.Position
713
Plat.Name = 'IYplat'
714
Plat.Size = Vector3.new(10, 1.2, 10)
715
Plat.Transparency = 1 end
716
plr.Character = newChar
717
local PART = Instance.new('Part', newChar)
718
PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0)
719
PART.Size = Vector3.new(10, 1.2, 10)
720
PART.Anchored = true
721
PART.Transparency = 1
722
if newChar:FindFirstChild("SkateboardPlatform") then
723
newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end
724
wait(0.4)
725
if newChar then newChar:Destroy() end
726
kickF(plr) end
727
end end) end
728
729
function refresh(plr)
730
spawn(function()
731
local rpos = plr.Character.HumanoidRootPart.Position
732
wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1)
733
repeat wait() until plr.Character:FindFirstChild('HumanoidRootPart')
734
plr.Character:MoveTo(rpos) end) end
735
736
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
737
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
738
_players.PlayerAdded:connect(function(player)
739
if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
740
			game:FindService('StarterGui'):SetCore('SendNotification', {
741
				Title = player.Name,
742
				Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
743
				Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
744
				Duration = 5,
745
			})
746
elseif JLnotify == true and Nfriends == false then
747
			game:FindService('StarterGui'):SetCore('SendNotification', {
748
				Title = player.Name,
749
				Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
750
				Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
751
				Duration = 5,
752
			})
753
end
754
	if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
755
	spawn(function()
756
repeat wait() until player.Character
757
kickF(player)
758
	end)
759
	end)
760
	elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
761
	spawn(function()
762
repeat wait() until player.Character
763
kickF(player)
764
	end)
765
	end
766
if FindTable(banT, player.userId) then
767
	spawn(function()
768
repeat wait() until player.Character
769
Notify('Banned player, ' .. player.Name .. ' attempted to join')
770-
function dragGUI(gui)
770+
771
end)
772-
local UserInputService = game:GetService("UserInputService")
772+
773-
local dragging
773+
774-
local dragInput
774+
775-
local dragStart
775+
776-
local startPos
776+
777-
local function update(input)
777+
778-
    local delta = input.Position - dragStart
778+
779-
	gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), "InOut", "Quart", 0.04, true, nil) 
779+
780
	spawn(function()
781-
gui.InputBegan:Connect(function(input)
781+
782-
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
782+
783-
        dragging = true
783+
784-
        dragStart = input.Position
784+
785-
        startPos = gui.Position
785+
786-
        
786+
787-
        input.Changed:Connect(function()
787+
788-
            if input.UserInputState == Enum.UserInputState.End then
788+
789-
                dragging = false
789+
790
        if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
791
            return v
792
        end
793
    end
794-
gui.InputChanged:Connect(function(input)
794+
795-
    if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
795+
796-
        dragInput = input
796+
797
	local broken = {}
798
	if delim == nil then delim = "," end
799-
UserInputService.InputChanged:Connect(function(input)
799+
800-
    if input == dragInput and dragging then
800+
801-
        update(input)
801+
802
	return broken
803
end
804
local historyCount = 0
805
local cmdHistory = {}
806
lastBreakTime = 0
807
local function execCmd(cmdStr,speaker)
808
    local rawCmdStr = cmdStr
809
    cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
810
    local commandsToRun = splitString(cmdStr,"\\")
811
    for i,v in pairs(commandsToRun) do
812
        v = string.gsub(v,"%%BackSlash%%","\\")
813
        local x,y,num = v:find("^(%d+)%^")
814
        local cmdDelay = 0
815
        if num then
816
            v = v:sub(y+1)
817
            local x,y,del = v:find("^([%d%.]+)%^")
818
            if del then
819
                v = v:sub(y+1)
820
                cmdDelay = tonumber(del) or 0
821
            end
822
        end
823
        num = tonumber(num or 1)
824
        local args = splitString(v,split)
825
        local cmd = findCmd(args[1])
826
        if cmd then
827
            table.remove(args,1)
828
            cargs = args
829
            if speaker == gPlayers.LocalPlayer then
830
                if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
831
            end
832
            if #cmdHistory > 20 then table.remove(cmdHistory) end
833
            local cmdStartTime = tick()
834
            for rep = 1,num do
835
                if lastBreakTime > cmdStartTime then break end
836
                pcall(function()
837
                    cmd.FUNC(args, speaker)
838
                end)
839
                if cmdDelay ~= 0 then wait(cmdDelay) end
840-
if game.CoreGui:FindFirstChild('Aliases') then
840+
841-
game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
841+
842-
game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end
842+
843
end
844-
    if child.Name == "Models" then
844+
845-
        game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
845+
846-
		game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color
846+
847
if logsloaded == true then
848
if whispersV == true and Message:lower():sub(1,2) == '/w' then
849
CreateLabel(plr.Name,Message)
850-
    if child.Name == "Audios" then
850+
851-
        game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
851+
852-
		game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color
852+
853
CreateLabel(plr.Name,Message)
854
elseif chatsV == true and Message:lower():sub(1,2) ~= '/e' and Message:lower():sub(1,2) ~= '/w' and Message:lower():sub(1,1) ~= cmdprefix then 
855
CreateLabel(plr.Name,Message)
856
end end end) end
857
function do_exec(str, plr) if not isAdmin(plr) then return end str = str:gsub('/e ', '') local t = getprfx(str) if not t then return end str = str:sub(t[2]) if t[1]=='exec' then exec(str) elseif t[1]=='cmd' then execCmd(str, plr) end end
858
for _, plr in pairs(gPlayers:GetChildren()) do
859
    if plr.ClassName == "Player" then
860
        updateevents(plr) ChatLog(plr) end end
861
_players.PlayerAdded:connect(function(player)
862
	updateevents(player) ChatLog(player)
863
end)
864
_G.exec_cmd = execCmd
865
--gPlayers.LocalPlayer.Chatted:connect(doexec)
866
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
867
local _char=function(plr_name)
868
    for i,v in pairs(gPlayers:GetChildren())do
869
        if v:IsA'Player'then
870
            if v.Name==plr_name then return v.Character end
871
        end
872
    end
873
    return
874
end
875
local _plr=function(plr_name)
876
    for i,v in pairs(gPlayers:GetChildren())do
877
        if v:IsA'Player'then
878
            if v.Name==plr_name then return v end
879
        end
880
    end
881
    return
882
end
883
function addcmd(name,desc,alias,func)
884
    cmds[#cmds+1]=
885
    {
886
        NAME=name;
887
        DESC=desc;
888
        ALIAS=alias;
889
        FUNC=func;
890
    }
891
end
892
SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'}
893
local SpecialPlayerCases = {
894-
repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart')
894+
895
	["others"] = function(speaker)
896
		local plrs = {}
897
		for i,v in pairs(game:GetService("Players"):GetPlayers()) do
898
			if v ~= speaker then
899
				table.insert(plrs,v)
900
			end
901
		end
902
		return plrs
903
	 end,
904
	["me"] = function(speaker)return {speaker} end,
905
	["#(%d+)"] = function(speaker,args,currentList)
906
		local returns = {}
907
		local randAmount = tonumber(args[1])
908
		local players = {unpack(currentList)}
909
		for i = 1,randAmount do
910
			if #players == 0 then break end
911
			local randIndex = math.random(1,#players)
912
			table.insert(returns,players[randIndex])
913
			table.remove(players,randIndex)
914
		end
915
		return returns
916
	end,
917
	["random"] = function(speaker,args,currentList)
918
		local players = currentList
919
		return {players[math.random(1,#players)]}
920
	end,
921
	["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
922
		local returns = {}
923
		local team = args[1]
924
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
925
			if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
926
				table.insert(returns,plr)
927
			end
928
		end
929
		return returns
930
	end,
931
	["allies"] = function(speaker)
932
		local returns = {}
933
		local team = speaker.Team
934
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
935
			if plr.Team == team then
936
				table.insert(returns,plr)
937
			end
938
		end
939
		return returns
940
	end,
941
	["enemies"] = function(speaker)
942
		local returns = {}
943
		local team = speaker.Team
944
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
945
			if plr.Team ~= team then
946
				table.insert(returns,plr)
947
			end
948
		end
949
		return returns
950
	end,
951
	["team"] = function(speaker)
952
		local returns = {}
953
		local team = speaker.Team
954
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
955
			if plr.Team == team then
956
				table.insert(returns,plr)
957
			end
958
		end
959
		return returns
960
	end,
961
	["nonteam"] = function(speaker)
962
		local returns = {}
963
		local team = speaker.Team
964
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
965
			if plr.Team ~= team then
966
				table.insert(returns,plr)
967
			end
968
		end
969
		return returns
970
	end,
971
	["friends"] = function(speaker,args)
972
		local returns = {}
973
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
974
			if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
975
				table.insert(returns,plr)
976
			end
977
		end
978
		return returns
979
	end,
980
	["nonfriends"] = function(speaker,args)
981
		local returns = {}
982
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
983
			if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
984
				table.insert(returns,plr)
985
			end
986
		end
987
		return returns
988
	end,
989
	["bacons"] = function(speaker,args)
990
		local returns = {}
991
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
992
			if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
993
				table.insert(returns,plr)
994
			end
995
		end
996
		return returns
997
	end,
998
	["admins"] = function(speaker)
999
		local returns = {}
1000
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1001
			if isAdmin(plr) then
1002
				table.insert(returns,plr)
1003
			end
1004
		end
1005
		return returns
1006
	end,
1007
	["nonadmins"] = function(speaker)
1008
		local returns = {}
1009
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1010
			if not isAdmin(plr) then
1011
				table.insert(returns,plr)
1012
			end
1013
		end
1014
		return returns
1015
	end,
1016
	["age(%d+)"] = function(speaker,args)
1017
		local returns = {}
1018
		local age = tonumber(args[1])
1019
		if not age == nil then return end
1020
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1021
		if plr.AccountAge <= age then
1022
				table.insert(returns,plr)
1023
			end
1024
		end
1025
		return returns
1026
	end,
1027
	["rad(%d+)"] = function(speaker,args)
1028
		local returns = {}
1029
		local radius = tonumber(args[1])
1030
		local speakerChar = speaker.Character
1031
		if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
1032
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1033
			if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
1034
				local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
1035
				if magnitude <= radius then table.insert(returns,plr) end
1036
			end
1037
		end
1038
		return returns
1039
	end
1040
}
1041
local function toTokens(str)
1042
	local tokens = {}
1043
	for op,name in string.gmatch(str,"([+-])([^+-]+)") do
1044
		table.insert(tokens,{Operator = op,Name = name})
1045
	end
1046
	return tokens
1047
end
1048
local function onlyIncludeInTable(tab,matches)
1049
	local matchTable = {}
1050
	local resultTable = {}
1051
	for i,v in pairs(matches) do matchTable[v.Name] = true end
1052
	for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
1053
	return resultTable
1054
end
1055
local function removeTableMatches(tab,matches)
1056
	local matchTable = {}
1057
	local resultTable = {}
1058
	for i,v in pairs(matches) do matchTable[v.Name] = true end
1059
	for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
1060
	return resultTable
1061
end
1062
local function getPlayersByName(name)
1063
	local found = {}
1064
	for i,v in pairs(game:GetService("Players"):GetChildren()) do
1065
		if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
1066
			table.insert(found,v)
1067
		end
1068
	end
1069
	return found
1070
end
1071
local function getPlayer(list,speaker)
1072
	if list == nil then return {speaker.Name} end
1073
	local nameList = splitString(list,",")
1074
	
1075
	local foundList = {}
1076
	
1077
	for _,name in pairs(nameList) do
1078
		if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
1079
		local tokens = toTokens(name)
1080
		local initialPlayers = game:GetService("Players"):GetPlayers()
1081
		
1082
		for i,v in pairs(tokens) do
1083
			if v.Operator == "+" then
1084
				local tokenContent = v.Name
1085
				local foundCase = false
1086
				for regex,case in pairs(SpecialPlayerCases) do
1087
					local matches = {string.match(tokenContent,"^"..regex.."$")}
1088
					if #matches > 0 then
1089
						foundCase = true
1090
						initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
1091
					end
1092
				end
1093
				if not foundCase then
1094
					initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
1095
				end
1096
			else
1097
				local tokenContent = v.Name
1098
				local foundCase = false
1099
				for regex,case in pairs(SpecialPlayerCases) do
1100
					local matches = {string.match(tokenContent,"^"..regex.."$")}
1101
					if #matches > 0 then
1102
						foundCase = true
1103
						initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
1104
					end
1105
				end
1106
				if not foundCase then
1107
					initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
1108
				end
1109
			end
1110
		end
1111
		
1112
		for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
1113
	end
1114
	
1115
	local foundNames = {}
1116
	for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
1117
	
1118
	return foundNames
1119
end
1120
function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
1121
	local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
1122
	if (zCoco) then
1123
		funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
1124
	else
1125
		funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
1126
	end
1127
	return funcw
1128
end
1129
function _G.msg(txt)
1130
	spawn(function()
1131
	msghook()
1132
	if MSGhook == true then
1133
	workspace.IYmessage.Text = ''
1134
	wait(0.1)
1135
	local b = Instance.new("BlurEffect", LightingService)
1136
	b.Name = "IYmblur"
1137
    b.Size = 18
1138
	workspace.IYmessage.Text = txt
1139
	wait(Mseconds)
1140
	b:Destroy()
1141
	if workspace.IYmessage.Text == txt then
1142
	workspace.IYmessage.Text = '' end
1143
	elseif MSGhook == false then
1144
	execCmd("loadm")
1145
	repeat wait() until workspace:FindFirstChild("IYmessage")
1146
	workspace.IYmessage.Text = ''
1147
	wait(0.1)
1148
	local b = Instance.new("BlurEffect", LightingService)
1149
	b.Name = "IYmblur"
1150-
	["guests"] = function(speaker,args)
1150+
1151
	workspace.IYmessage.Text = txt
1152
	wait(Mseconds)
1153-
			if plr.Guest then
1153+
1154
	if workspace.IYmessage.Text == txt then
1155
	workspace.IYmessage.Text = '' end
1156
	end
1157
end)
1158
end
1159
function bleach(plr)
1160
spawn(function()
1161
local char = plr.Character
1162
local hit1 = Instance.new("Sound", workspace)
1163
hit1.SoundId = "http://roblox.com/asset?id=145486953"
1164
local hit = Instance.new("Sound", workspace)
1165
hit.SoundId = "http://roblox.com/asset?id=178646271"
1166
local Bleach = Instance.new("Part", char["Left Arm"])
1167
Bleach.CanCollide = false
1168
local Mesh = Instance.new("SpecialMesh", Bleach)
1169
Mesh.MeshId = "http://roblox.com/asset?id=483388971"
1170
Mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
1171
Mesh.TextureId = "http://roblox.com/asset?id=520016684"
1172
local Handy = Instance.new("Weld", Bleach)
1173
Handy.Part0 = Bleach
1174
Handy.Part1 = char["Left Arm"]
1175
Handy.C0 = CFrame.new(0.5,1.8,0)
1176
Handy.C1 = CFrame.Angles(0,4,1)
1177
local drink = Instance.new("Sound", char.Head)
1178
drink.SoundId = "http://roblox.com/asset?id=10722059"
1179
wait(3)
1180
        game.Chat:Chat(char.Head,"I need to die","Red")
1181
        for i = 1,10 do
1182
            wait()
1183
            char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0)
1184
            Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09)
1185
            Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0)
1186
            char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1)
1187
        end
1188
        drink:Play()
1189
        wait(3.4)
1190
        drink:Stop()
1191
        for i = 1,10 do
1192
            wait()
1193
            char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0)
1194
            char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0)
1195
            Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09)
1196
            Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0)
1197
            char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2)
1198
            char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0)
1199
            char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0)
1200
            char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0)
1201
        end
1202
        wait(0.01)
1203
        char.Torso.Anchored = true
1204
        char["Left Arm"].Anchored = true
1205
        char["Right Arm"].Anchored = true
1206
        char["Left Leg"].Anchored = true
1207
        char["Right Leg"].Anchored = true
1208
        char.Head.Anchored = true
1209
        hit:Play()
1210
        hit1:Play()
1211
        wait(4)
1212
        local bl00d = Instance.new("Part", char.Head)
1213
        bl00d.Size = Vector3.new(0.1,0.1,0.1)
1214
        bl00d.Rotation = Vector3.new(0,0,-90)
1215
        bl00d.CanCollide = false
1216
        bl00d.Anchored = true
1217
        bl00d.BrickColor = BrickColor.new("Maroon")
1218
        bl00d.Position = char.Head.Position
1219
        bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0)
1220
        bl00d.Shape = "Cylinder"
1221
        bl00d.Material = "Pebble"
1222
        for i = 1,100 do
1223
            wait()
1224
            bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05)
1225
        end
1226
        wait(1)
1227
        char.Humanoid.Health = 0
1228
end)
1229
end
1230
function rape(victim, speaker) -- from rocky2u cmdscript
1231
	spawn(function()
1232
		local P1 = game:GetService("Players")[speaker].Character.Torso
1233
		local V1 = game:GetService("Players")[victim].Character.Torso
1234
		V1.Parent.Humanoid.PlatformStand = true
1235
		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'
1236
		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'
1237
		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'
1238
		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'
1239
		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'
1240
		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'
1241
		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)
1242
		local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
1243
		fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
1244
		local D2 = D:Clone() D2.Parent = P1
1245
		fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
1246
		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)
1247
		fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
1248
		local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
1249
		fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
1250
		local CM = Instance.new('CylinderMesh', C)
1251
		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)
1252
		local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
1253
		fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
1254
		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)
1255
		local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
1256
		fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
1257
		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)
1258
		local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
1259
		fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
1260
		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)
1261
		local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
1262
		fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
1263
		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)
1264
		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)
1265
		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)
1266
		if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
1267
		WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
1268
		local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
1269
	end)
1270
	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)
1271
end
1272
1273
addcmd('addalias','Adds an alias to a command',{},
1274
function(args,speaker)
1275
    if #args < 2 then return end
1276
    local cmd = string.lower(args[1])
1277
    local alias = string.lower(args[2])
1278
    for i,v in pairs(cmds) do
1279
        if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
1280
            customAlias[alias] = v
1281
            Notify("Added "..alias.." as an alias to "..cmd)
1282
			updatefile()
1283
            break
1284
        end
1285
    end
1286
end)
1287
1288
addcmd('removealias','Removes a custom alias',{},
1289
function(args,speaker)
1290
    if #args < 1 then return end
1291
    local alias = string.lower(args[1])
1292
    if customAlias[alias] then
1293
        local cmd = customAlias[alias].NAME
1294
        customAlias[alias] = nil
1295
        Notify("Removed the alias "..alias.." from "..cmd)
1296
		updatefile()
1297
    end
1298
end)
1299
1300
addcmd('s','runs a script in the chat or cmdbar',{'script'},
1301
function(args, speaker)
1302
loadstring(tostring(GLS(false, 0)))()
1303
end)
1304
1305
function hub()
1306
if not game.CoreGui:FindFirstChild('ScriptHub') then
1307
loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end
1308
addcmd('hub','opens script hub',{'scripts'},
1309
function(args, speaker)
1310
if speaker.userId ~= LP.userId then
1311
lponly(speaker) else
1312
hub()
1313
end end)
1314
1315
addcmd('ff','gives ff to player',{},
1316
function(args, speaker)
1317
    local players = getPlayer(args[1], speaker)
1318
    for i,v in pairs(players)do
1319
        local pchar=_char(v)
1320
        Instance.new("ForceField", pchar)
1321
    end
1322
end)
1323
1324
addcmd('maxhealth','sets a limit of health to player',{},
1325
function(args, speaker)
1326
    local players = getPlayer(args[1], speaker)
1327
    for i,v in pairs(players)do
1328
        local pchar=_char(v)
1329
		pchar.Humanoid.MaxHealth = args[2]
1330
    end
1331
end)
1332
1333
addcmd('sethealth','sets the health of a player',{},
1334
function(args, speaker)
1335
    local players = getPlayer(args[1], speaker)
1336
    for i,v in pairs(players)do
1337
        local pchar=_char(v)
1338
        pchar.Humanoid.Health = args[2]
1339
    end
1340
end)
1341
1342
addcmd('breakloops','stops any cmd loops',{'break'},
1343
function(args, speaker)
1344
lastBreakTime = tick()
1345
end)
1346
1347
addcmd('invisibleff','gives invisible ff to player',{'invisff'},
1348
function(args, speaker)
1349
local players = getPlayer(args[1], speaker)
1350
for i,v in pairs(players)do
1351
local pchar=_char(v)
1352
local invisff = Instance.new("ForceField", pchar)
1353
invisff.Visible = false
1354
end
1355
end)
1356
1357
addcmd('rocket','attaches a player to a rocket',{'missile'},
1358
function(args, speaker)
1359
    local players = getPlayer(args[1], speaker)
1360
    for i,v in pairs(players)do
1361
        local pchar=_char(v)
1362
        spawn(function()
1363
		local m = missile:Clone()
1364
		m.Parent = workspace
1365
		local W = Instance.new('Weld', m)
1366
		W.Part0 = W.Parent
1367
		W.Part1 = pchar.HumanoidRootPart
1368
		W.C1 = CFrame.new(0, 0.5, 1)
1369
		m.force.Force = Vector3.new(0, 15000, 0)
1370
		wait(0.01)
1371
		pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
1372
		wait(5)
1373
		Instance.new('Explosion', m).Position = m.Position
1374
		wait(0.01)
1375
		pchar:BreakJoints()
1376
		wait(1)
1377
		m:destroy()
1378
		end)
1379
    end
1380
end)
1381
1382
addcmd('rejoin','makes you rejoin the game',{'rj'},
1383
function(args, speaker)
1384
if speaker.userId ~= LP.userId then
1385
lponly(speaker)
1386
else
1387
game:GetService('TeleportService'):Teleport(game.PlaceId)
1388
end
1389
end)
1390
1391
addcmd('unff', 'takes away ff from player',{'noff'},
1392
function(args, speaker)
1393
    local players = getPlayer(args[1], speaker)
1394
    for i,v in pairs(players)do
1395
        local pchar=_char(v)
1396
        for j,v1 in pairs(pchar:GetChildren()) do
1397
			if v1:IsA("ForceField") then
1398
				v1:Destroy()
1399
			end
1400
		end
1401
    end
1402
end)
1403
1404
addcmd('insert', 'inserts a model',{'ins'},
1405
function(args, speaker)
1406
	local modelid = args[1]
1407
	local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. modelid)
1408
	model.Parent = workspace
1409
	model.Name = "IYmodel"
1410
	model:MakeJoints()
1411
	model:MoveTo(speaker.Character.HumanoidRootPart.Position)
1412
	local Asset = game:GetService("MarketplaceService"):GetProductInfo(modelid)
1413
	Notify('Inserted ' .. Asset.Name)
1414
end)
1415
1416
addcmd('car', 'inserts a car',{'vehicle'},
1417
function(args, speaker)
1418
    local players = getPlayer(args[1], speaker)
1419
    for i,v in pairs(players)do
1420
	spawn(function()
1421
	local pchar=_char(v)
1422
	local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590")
1423
	model.Parent = workspace
1424
	model:MakeJoints()
1425
	model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0))
1426
	model.Name = "IYcar" .. gPlayers[v].Name wait(0.2)
1427
	for _, child in pairs( model:GetChildren()) do
1428
    if child.ClassName == "Part" then
1429
	child.Anchored = true
1430
	wait(1)
1431
	child.Anchored = false
1432
end end end) end end)
1433
1434
addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
1435
function(args, speaker)
1436
    local players = getPlayer(args[1], speaker)
1437
    for i,v in pairs(players)do
1438
	for _, child in pairs( workspace:GetChildren()) do
1439
    if child.Name == "IYcar" .. gPlayers[v].Name then
1440
    child:Destroy()
1441
    end
1442
end
1443
end
1444
end)
1445
1446
addcmd('team','team [plr] [team]',{},
1447
function(args, speaker)
1448
    local players = getPlayer(args[1], speaker)
1449
	local teamname = nil
1450
    for i,v in pairs(players)do
1451-
			if not aliasSave or aliasSave == nil then aliasSave = {} end
1451+
1452-
			aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias}
1452+
1453
	end
1454
end)
1455-
			updatealiases()
1455+
1456
addcmd('maxzoom','maximum camera zoom',{},
1457
function(args, speaker)
1458
    local players = getPlayer(args[1], speaker)
1459
    for i,v in pairs(players)do
1460
	_players[v].CameraMaxZoomDistance = args[2]
1461-
addcmd('877241loadalias','dab',{},
1461+
1462
end)
1463
1464
function spawnrain(mesh,texture)
1465
spawn(function()
1466
for i,v in pairs(gPlayers:GetChildren()) do
1467
if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then
1468
if raining == true then
1469-
			updatealiases()
1469+
1470
rain.CanCollide = true
1471
local m = Instance.new("SpecialMesh",rain)
1472
m.MeshId = "http://www.roblox.com/asset/?id="..mesh
1473
m.TextureId = "http://www.roblox.com/asset/?id="..texture
1474
rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250))
1475
wait(5) rain:Destroy()
1476
end
1477
end
1478
end
1479
end)
1480
end
1481
1482-
		for i,v in pairs(aliasSave) do
1482+
1483-
		if v.ALIAS == tostring(alias) then
1483+
1484-
		table.remove(aliasSave, i)
1484+
1485
raining = true
1486
repeat
1487
wait(0.5)
1488-
		updatealiases()
1488+
1489
until raining == false
1490
end)
1491
1492-
addcmd('clraliases','Removes all custom alias',{},
1492+
1493
function(args, speaker)
1494-
customAlias = {}
1494+
1495-
aliasSave ={}
1495+
1496
1497-
updatealiases()
1497+
1498-
Notify('Removed all aliases')
1498+
1499
function(args, speaker)
1500
     for i = 1,args[1] do
1501
         wait()
1502
                local function ear(instance)
1503
                for i,v in pairs(instance:GetChildren())do
1504
                if v:IsA("Part") then
1505
        if v.Size.x > 1 then
1506
        v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-args[2],args[2])),rad(math.random(-args[2],args[2])),rad(math.random(-args[2],args[2])))
1507
        end end ear(v) end end ear(workspace)
1508
     end
1509
end)
1510
1511
addcmd('cape','Gives the target player(s) a cape',{},
1512
function(args, speaker)
1513
    local players = getPlayer(args[1], speaker)
1514
    for i,v in pairs(players)do
1515
	spawn(function()
1516
		if _char(v):FindFirstChild("Humanoid") then
1517
			local plr = _players[v]
1518
			repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
1519
			local torso = plr.Character.HumanoidRootPart
1520
			local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false
1521
			p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0
1522
			if not args[2] then
1523
			p.Color = Color3.new(0,0,0)
1524
			p.Color = Color3.new(0,0,0) else
1525
			p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1526
			p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
1527
			p.formFactor = "Custom"
1528
			p.Size = Vector3.new(.2,.2,.2)
1529
			local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
1530
			local motor1 = Instance.new("Motor", p)
1531
			motor1.Part0 = p
1532
			motor1.Part1 = torso
1533
			motor1.MaxVelocity = .01
1534
			motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
1535
			motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
1536
			local wave = false
1537
			repeat wait(1/44)
1538
			local ang = 0.1
1539
			local oldmag = torso.Velocity.magnitude
1540
			local mv = .002
1541
			if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
1542
			ang = ang + math.min(torso.Velocity.magnitude/11, .5)
1543
			motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
1544
			motor1.DesiredAngle = -ang
1545
			if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
1546
			repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag)  >= (torso.Velocity.magnitude/10) + 1
1547
			if torso.Velocity.magnitude < .1 then wait(.1) end
1548
			until not p or p.Parent ~= torso.Parent
1549
		end
1550
	end)
1551
	end
1552
end)
1553
1554
addcmd('uncape','Removes cape',{'nocape'},
1555
function(args, speaker)
1556
    local players = getPlayer(args[1], speaker)
1557
    for i,v in pairs(players)do
1558
	local pchar=_char(v)
1559
	for _, child in pairs( pchar:GetChildren()) do
1560
    if child.Name == "IYcape" then
1561
        child:Destroy() end end
1562
	end
1563
end)
1564
1565
addcmd('spasm','makes someone c r a z y',{},
1566
function(args, speaker)
1567
    local players = getPlayer(args[1], speaker)
1568
    for i,v in pairs(players)do
1569
	local pchar=_char(v)
1570
   local AnimationId = "33796059"
1571
   local Anim = Instance.new("Animation")
1572
   Anim.AnimationId = "rbxassetid://"..AnimationId
1573
   local k = pchar.Humanoid:LoadAnimation(Anim)
1574
   k:Play()
1575
   k:AdjustSpeed(99)
1576
    end
1577
end)
1578
1579
addcmd('plrsound','creates a sound inside of someone',{'playersound'},
1580
function(args, speaker)
1581
    local players = getPlayer(args[1], speaker)
1582
    for i,v in pairs(players)do
1583-
addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker) 
1583+
1584
	local pchar=_char(v)
1585-
	if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then
1585+
1586-
		loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))()
1586+
1587
    child:Destroy() end end
1588-
	for i,v in pairs(players) do 
1588+
1589-
		game:GetService("CoreGui").VanEvent:Fire(gPlayers[v]) 
1589+
1590-
	end 
1590+
1591
	s.Volume = 1
1592
	s.Pitch = 1
1593
	s.Looped = true
1594
	s.archivable = true
1595
	s.Parent = pchar.HumanoidRootPart
1596
	s:Play()
1597
    end
1598
end)
1599
1600
addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
1601
function(args, speaker)
1602
    local players = getPlayer(args[1], speaker)
1603
    for i,v in pairs(players)do
1604
	if not args[1] then return end
1605
	local pchar=_char(v)
1606
	for _, child in pairs( pchar:GetDescendants()) do
1607
    if child.ClassName == "Sound" then
1608
    child:Destroy() end end
1609
    end
1610
end)
1611
1612
addcmd('fly','makes you fly',{},
1613
function(args, speaker)
1614
if speaker.userId ~= LP.userId then
1615-
addcmd('flashlight', 'gives a player a flashlight',{},
1615+
1616
else
1617
sFLY()
1618
end
1619
end)
1620-
	local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710")
1620+
1621-
	flashlight.Parent = gPlayers[v].Backpack
1621+
1622-
	flashlight.Name = "IYflashlight"
1622+
1623
if speaker.userId ~= LP.userId then
1624
lponly(speaker)
1625
else
1626
if isNumber(args[1]) then
1627
iyflyspeed = args[1]
1628
end end end)
1629
1630
addcmd('unfly','takes away fly',{'nofly'},
1631
function(args, speaker)
1632
if speaker.userId ~= LP.userId then
1633
lponly(speaker)
1634
else
1635
NOFLY()
1636
end
1637
end)
1638
1639
addcmd('exit','kills roblox process',{},
1640
function(args, speaker)
1641
if speaker.userId ~= LP.userId then
1642
lponly(speaker)
1643
else
1644
game:shutdown() 
1645
end
1646
end)
1647
1648
addcmd('fire', 'set a player on fire',{},
1649
function(args, speaker)
1650
    local players = getPlayer(args[1], speaker)
1651
    for i,v in pairs(players)do
1652
	spawn(function()
1653
        local pchar=_char(v)
1654
        local Fire1 = Instance.new("Fire", pchar.Head)
1655
        local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
1656
        local Fire3 = Instance.new("Fire", pchar["Left Arm"])
1657
        local Fire4 = Instance.new("Fire", pchar["Right Arm"])
1658
        local Fire5 = Instance.new("Fire", pchar["Left Leg"])
1659
        local Fire6 = Instance.new("Fire", pchar["Right Leg"])
1660
   		if not args[2] then return end
1661
        Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1662
        Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
1663
        Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1664
        Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
1665
        Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1666
        Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
1667
        Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1668
        Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
1669
        Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1670
        Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
1671
        Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1672
        Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1673
end)
1674
end
1675
end)
1676
1677
addcmd('discomesh', 'body parts get  f u n k y',{},
1678
function(args, speaker)
1679
    local players = getPlayer(args[1], speaker)
1680
    for i,v in pairs(players)do
1681
	spawn(function()
1682
local plr = _players[v]
1683
local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
1684
local h = _players[v].Character.Head.Mesh
1685
local t = Instance.new("SpecialMesh",_players[v].Character.Torso)
1686
local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"])
1687
local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"])
1688
local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"])
1689
local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"])
1690
while true do wait()
1691
h.MeshType = meshes[math.random(1,#meshes)]
1692
h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
1693
h.Parent.BrickColor = BrickColor.Random()
1694
t.MeshType = meshes[math.random(1,#meshes)]
1695
t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
1696
t.Parent.BrickColor = BrickColor.Random()
1697
la.MeshType = meshes[math.random(1,#meshes)]
1698
la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
1699
la.Parent.BrickColor = BrickColor.Random()
1700
ra.MeshType = meshes[math.random(1,#meshes)]
1701
ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
1702
ra.Parent.BrickColor = BrickColor.Random()
1703
ll.MeshType = meshes[math.random(1,#meshes)]
1704
ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
1705
ll.Parent.BrickColor = BrickColor.Random()
1706
rl.MeshType = meshes[math.random(1,#meshes)]
1707
rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
1708
rl.Parent.BrickColor = BrickColor.Random()
1709
end end) end end)
1710
1711
addcmd('chickenarms', 'I can fly!!1',{'chicken'},
1712
function(args, speaker)
1713
    local players = getPlayer(args[1], speaker)
1714
    for i,v in pairs(players)do
1715
	spawn(function()
1716
local Chicken = _players[v].Character
1717
Chicken.Torso["Left Shoulder"].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
1718
Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
1719
Chicken.Torso["Right Shoulder"].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
1720
Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
1721
end) end end)
1722
1723
addcmd('esp', 'view a player and a players status',{},
1724
function(args, speaker)
1725
if speaker.userId ~= LP.userId then
1726
lponly(speaker)
1727
else
1728
    local players = getPlayer(args[1], speaker)
1729
    for i,v in pairs(players)do
1730
	spawn(function()
1731
	for _, child in pairs( game["CoreGui"]:GetChildren()) do
1732
    if child.Name == gPlayers[v].Name then
1733
	child:Destroy()
1734
end end wait(0.5)
1735
local m = game["Players"].LocalPlayer:GetMouse()
1736
local rs = game:GetService("RunService").RenderStepped
1737
local espplr = gPlayers[v]
1738
        if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then
1739
    for b,n in pairs (espplr.Character:GetChildren()) do
1740
        if (n:IsA("BasePart")) then
1741
        local a = Instance.new("BoxHandleAdornment", game.CoreGui)
1742
		a.Name = espplr.Name
1743
        a.Adornee = n
1744
        a.AlwaysOnTop = true
1745
        a.ZIndex = 0
1746
        a.Size = n.Size
1747
        a.Transparency = 0.7
1748
		local resetting = false
1749
        if espplr.TeamColor == _players.LocalPlayer.TeamColor then
1750
            a.Color = BrickColor.new("Lime green")
1751
   			else
1752
            a.Color = BrickColor.new("Really red")
1753
            end
1754
			if espplr.Character and espplr.Character:FindFirstChild('Head') then
1755
			local BillboardGui = Instance.new("BillboardGui", game.CoreGui)
1756
			local TextLabel = Instance.new("TextLabel")
1757
			BillboardGui.Adornee = espplr.Character.Head
1758
			BillboardGui.Name = espplr.Name
1759
			BillboardGui.Size = UDim2.new(0, 100, 0, 150)
1760
			BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
1761
			BillboardGui.AlwaysOnTop = true
1762
			TextLabel.Parent = BillboardGui
1763
			TextLabel.BackgroundTransparency = 1
1764
			TextLabel.Position = UDim2.new(0, 0, 0, -50)
1765
			TextLabel.Size = UDim2.new(0, 100, 0, 100)
1766
			TextLabel.Font = Enum.Font.SourceSansSemibold
1767
			TextLabel.TextSize = 20
1768
			TextLabel.TextColor3 = Color3.new(1, 1, 1)
1769
			TextLabel.TextStrokeTransparency = 0
1770
			TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
1771
			espplr.Character:WaitForChild("Humanoid").Died:connect(function()
1772
			BillboardGui:Destroy() a:Destroy() end)
1773
			_players.PlayerRemoving:connect(function(player)
1774
			if player.Name == espplr.Name then
1775
			BillboardGui:Destroy() a:Destroy()
1776
			end end)
1777
			game:GetService("RunService").RenderStepped:Connect(function()
1778
			if espplr.Character ~= nil and espplr.Character.Parent ~= nil and espplr.Character:FindFirstChild('HumanoidRootPart') and espplr.Character:FindFirstChild('Humanoid') and game.CoreGui:FindFirstChild(espplr.Name) then
1779
			local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude)
1780
			TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else
1781
			BillboardGui:Destroy() a:Destroy() end end)
1782
			end
1783
        end
1784
    end
1785
end
1786
	end)
1787
	end
1788
end
1789
end)
1790-
addcmd('dance','makes someone d a n c e',{},
1790+
1791
addcmd('noesp', 'removes esp',{'unesp'},
1792
function(args, speaker)
1793
if speaker.userId ~= LP.userId then
1794
lponly(speaker)
1795-
		local anim = nil		
1795+
1796-
		local dance1 = math.random(1,7)
1796+
1797-
		if dance1 == 1 then
1797+
1798-
		anim = '27789359'
1798+
1799
	for _, child in pairs( game["CoreGui"]:GetChildren()) do
1800-
		if dance1 == 2 then
1800+
1801-
		anim = '30196114'
1801+
1802
	end
1803-
		if dance1 == 3 then
1803+
1804-
		anim = '248263260'
1804+
1805
addcmd('nofire', 'extinguish a player',{'unfire'},
1806-
		if dance1 == 4 then
1806+
1807-
		anim = '45834924'
1807+
1808
    for i,v in pairs(players)do
1809-
		if dance1 == 5 then
1809+
1810-
		anim = '33796059'
1810+
1811
		if v1:IsA("Fire") then
1812-
		if dance1 == 6 then
1812+
1813-
		anim = '28488254'
1813+
1814
1815-
		if dance1 == 7 then
1815+
1816-
		anim = '52155728'
1816+
1817
local players = getPlayer(args[1], speaker)
1818-
		local animation = Instance.new("Animation")
1818+
1819-
		animation.AnimationId = "rbxassetid://"..anim
1819+
1820-
		local animTrack = pchar.Humanoid:LoadAnimation(animation)
1820+
1821-
		animTrack:Play()
1821+
1822
if v.ClassName == "Decal" or v.ClassName == "Texture" then
1823
v:Destroy() end
1824
if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
1825
v.Reflectance = 1
1826
v.Material = "Plastic"
1827
end
1828
end
1829
end)
1830
end
1831
end)
1832
1833
addcmd('light', 'givs em light',{},
1834
function(args, speaker)
1835
    local players = getPlayer(args[1], speaker)
1836
    for i,v in pairs(players)do
1837
	spawn(function()
1838
        local pchar=_char(v)
1839
        for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
1840
			if v1:IsA("PointLight") then
1841
				v1:Destroy()
1842
			end
1843
		end
1844
        local light = Instance.new("PointLight", pchar.HumanoidRootPart)
1845
		light.Range = 12
1846
		light.Brightness = 3
1847
		if not args[2] then return end
1848
        light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1849
		light.Range = 12
1850
		light.Brightness = 3
1851
		end)
1852
    end
1853
end)
1854
1855
bottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
1856
addcmd('begone', 'BEGONE THOT',{'thot'},
1857
function(args, speaker)
1858
    local players = getPlayer(args[1], speaker)
1859
    for i,v in pairs(players)do
1860
	spawn(function()
1861
		local thotbottle = bottle:Clone()
1862
        local pchar=_char(v)
1863
		thotbottle.Name = 'THOT BEGONE'
1864
		thotbottle.Handle:Destroy()
1865
		execCmd('freeze '..gPlayers[v].Name)
1866
		execCmd('name '..gPlayers[v].Name..' THOT')
1867
		execCmd('spasm '..gPlayers[v].Name)
1868
		thotbottle.Parent = pchar
1869
		thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7))
1870
		local cf = pchar.HumanoidRootPart.CFrame
1871
		local newcf = cf + cf.lookVector * 6
1872
		thotbottle.Head.CFrame = newcf
1873
		local s = Instance.new("Sound")
1874
		s.Name = "BEGONE"
1875
		s.SoundId = "http://www.roblox.com/asset/?id=1095911222"
1876
		s.Volume = 10
1877
		s.Parent = thotbottle
1878
		s:play()
1879
		local d = Instance.new("Sound")
1880
		d.Name = "WuOOOH"
1881
		d.SoundId = "http://www.roblox.com/asset/?id=253143032"
1882
		d.Volume = 5
1883
		d.Parent = pchar
1884
		wait(4)
1885
		if gPlayers[v] then
1886
		execCmd('thaw '..gPlayers[v].Name)
1887
		execCmd('fling '..gPlayers[v].Name)
1888
		thotbottle:Destroy()
1889
		d:play()
1890
		end if gPlayers[v] then
1891
		wait(3)
1892
		execCmd('explode '..gPlayers[v].Name)
1893
		pchar:BreakJoints() end
1894
		end)
1895
    end
1896
end)
1897
1898
addcmd('glowstick', 'givs em glo stik',{},
1899
function(args, speaker)
1900
    local players = getPlayer(args[1], speaker)
1901
    for i,v in pairs(players)do
1902
	spawn(function()
1903
	System = {}
1904
System.Create = function(a, c)
1905
	local e = Instance.new(a)
1906
	for d, a in pairs(c) do
1907
		local b, a = ypcall(function()
1908
			return e[d]
1909
		end)
1910
		if b then
1911
			e[d] = c[d]
1912
		end
1913
	end
1914
	return e
1915
end
1916
function b(d, b)
1917
	local c = getfenv(d)
1918
	local a = setmetatable({}, {
1919
		__index = function(a, a)
1920
			if a:lower() == 'script' then
1921
				return b
1922
			else
1923
				return c[a]
1924
			end
1925
		end
1926
	})
1927
	setfenv(d, a)
1928
	ypcall(function()
1929
		d()
1930
	end)
1931
end
1932
c = {}
1933
mas = Instance.new("Model",game:GetService("Lighting")) 
1934
mas.Name = "CompiledModel"
1935
o1 = System.Create("Tool",{
1936
["Name"] = "Glow Stick",
1937
["Parent"] = mas,
1938
["GripPos"] = Vector3.new(0, -0.300000012, 0),
1939
["CanBeDropped"] = false,
1940
})
1941
o2 = System.Create("Part",{
1942
["Name"] = "Handle",
1943
["Parent"] = o1,
1944
["Transparency"] = 0.10000000149012,
1945
["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056),
1946
["Rotation"] = Vector3.new(-180, 0, 0),
1947
["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1),
1948
["FormFactor"] = Enum.FormFactor.Custom,
1949
["Size"] = Vector3.new(0.200000033, 1.80000019, 1),
1950
["BottomSurface"] = Enum.SurfaceType.Weld,
1951
["TopSurface"] = Enum.SurfaceType.Weld,
1952
["Material"] = "Neon",
1953
})
1954
o3 = System.Create("PointLight",{
1955
["Parent"] = o2,
1956
["Brightness"] = 8,
1957
["Range"] = 14,
1958
})
1959
o4 = System.Create("CylinderMesh",{
1960
["Parent"] = o2,
1961
})
1962
if not args[2] then
1963
o2.Color = Color3.new(1,1,1)
1964
o3.Color = Color3.new(1,1,1) else
1965
o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
1966
o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
1967
mas.Parent = workspace
1968
mas:MakeJoints()
1969
local b = mas:GetChildren()
1970
for a = 1, #b do
1971
	b[a].Parent = gPlayers[v].Backpack
1972
	ypcall(function()
1973
		b[a]:MakeJoints()
1974
	end)
1975
end
1976
mas:Destroy()
1977
for a = 1, #c do
1978
	coroutine.resume(c[a])
1979
end
1980
		end)
1981
    end
1982
end)
1983
1984
addcmd('keybind','Binds a command to a key',{},
1985
function(args,speaker)
1986
	if speaker.userId ~= LP.userId then
1987
	lponly(speaker) else
1988
    if #args < 2 then return end
1989
    local key = string.lower(args[1])
1990
    if #key > 1 or key == cmdbarbind then return end
1991
    local cmdText = GLS(false,1)
1992
    local cas = game:GetService("ContextActionService")
1993
    cas:BindAction("Keybind"..key,function(action,state,obj)
1994
        if state == Enum.UserInputState.Begin then
1995
            execCmd(cmdText,speaker)
1996
        end
1997
    end,false,key)
1998
    Notify("Binded "..cmdText.." to "..key)
1999
end
2000
end)
2001
2002
addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
2003
function(args,speaker)
2004
	if speaker.userId ~= LP.userId then
2005
	lponly(speaker) else
2006
    if #args < 1 then return end
2007
    local key = string.lower(args[1])
2008
    game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
2009
    Notify("Unbinded "..key)
2010
end
2011
end)
2012
2013
addcmd('trail', 'spawns a trail behind a player',{},
2014
function(args, speaker)
2015
    local players = getPlayer(args[1], speaker)
2016
    for i,v in pairs(players)do
2017
	spawn(function()
2018
        local pchar=_char(v)
2019
        for j,v1 in pairs(pchar.Torso:GetChildren()) do
2020
			if v1.Name == "TRAIL" then
2021
				v1:Destroy()
2022
			end
2023
end
2024
if args[2] then
2025
color1 = Color3.fromRGB(args[2],args[3],args[4])
2026
color2 = Color3.new(0,0,0) else
2027
color1 = Color3.new(1,1,1)
2028
color2 = Color3.new(0,0,0) end
2029
        if pchar:FindFirstChild("Torso") then
2030
local e = Instance.new("Trail", pchar.Torso)
2031
e.Name = "TRAIL"
2032
e.FaceCamera = true
2033
e.Color = ColorSequence.new(color1,color2)
2034
e.Attachment0 = pchar.Torso.WaistCenterAttachment
2035
e.Attachment1 = pchar.Torso.NeckAttachment
2036
end
2037
		end)
2038
    end
2039
end)
2040
2041
addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
2042
function(args, speaker)
2043
    local players = getPlayer(args[1], speaker)
2044
    for i,v in pairs(players)do
2045
	spawn(function()
2046
        local pchar=_char(v)
2047
        for j,v1 in pairs(pchar.Torso:GetChildren()) do
2048
			if v1.Name == "TRAIL" then
2049
				v1:Destroy()
2050
			end
2051
		end
2052
		end)
2053
    end
2054
end)
2055
2056
local fa = false
2057
local cam = workspace.CurrentCamera
2058
local cam1 = 0
2059
local cam2 = 0
2060
local cam3 = 0
2061
local k1 = false
2062
local k2 = false
2063
local k3 = false
2064
local k4 = false
2065
local k5 = false
2066
local k6 = false
2067
cs = 0.5
2068
function movecam()
2069
	local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
2070
	if fa == false then
2071
		repeat
2072
			if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2073
				local fp = fc.Position
2074
				fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
2075
				fa = true
2076
			end
2077
			game:GetService('RunService').RenderStepped:Wait()
2078
		until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
2079
		fa = false
2080
	end
2081
end
2082
function kp1(inputObject, gameProcessedEvent)
2083
	if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2084
		if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
2085
			k1 = true
2086
			cam1 = cs end
2087
		if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
2088
			k2 = true
2089
			cam1 = (cs*-1) end
2090
		if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
2091
			k3 = true
2092
			cam2 = cs end
2093
		if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
2094
			k4 = true
2095
			cam2 = (cs*-1) end
2096
		if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
2097
			k5 = true
2098
			cam3 = cs end
2099
		if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
2100
			k6 = true
2101
			cam3 = (cs*-1) end
2102
	end
2103
end
2104
game:GetService("UserInputService").InputBegan:connect(kp1)
2105
function kp2(inputObject, gameProcessedEvent)
2106-
		local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
2106+
2107-
        	local pchar=_char(v)
2107+
2108
			k1 = false
2109
			if k2 == false then
2110
				cam1 = 0
2111
			end
2112
		end
2113
		if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
2114
			k2 = false
2115
			if k1 == false then
2116
				cam1 = 0
2117
			end
2118
		end
2119
		if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
2120
			k3= false
2121
			if k4== false then
2122
				cam2 = 0
2123
			end
2124
		end
2125
		if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
2126
			k4 = false
2127
			if k3 == false then
2128
				cam2 = 0
2129
			end
2130
		end
2131
		if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
2132
			k5 = false
2133
			if k6 == false then
2134
				cam3 = 0
2135
			end
2136
		end
2137
		if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
2138
			k6 = false
2139
			if k5 == false then
2140
				cam3 = 0
2141
			end
2142
		end
2143
	end
2144
end
2145
game:GetService("UserInputService").InputEnded:connect(kp2)
2146
function FC()
2147
	if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2148
		game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
2149
		local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
2150
		fc.CanCollide = false
2151
		fc.Anchored = true
2152
		fc.Transparency = 1
2153
		fc.Size = Vector3.new(1,1,1)
2154
		fc.Name = 'xFC'
2155
		fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
2156
		local cam = workspace.CurrentCamera
2157
		cam.CameraSubject = fc
2158
		cam.CameraType = 'Custom'
2159
		movecam()
2160
	end end
2161
function UFC()
2162
	game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
2163
	if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2164
		game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
2165
		local cam = workspace.CurrentCamera
2166
		cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
2167
		cam.CameraType = 'Custom'
2168
	end end
2169
2170
addcmd('freecam','freecam',{'fc'},
2171
function(args, speaker)
2172
if speaker.userId ~= LP.userId then
2173
lponly(speaker)
2174
else
2175
FC()
2176
end
2177
end)
2178
2179
addcmd('fixcam','fixes camera',{},
2180
function(args, speaker)
2181
if speaker.userId ~= LP.userId then
2182
lponly(speaker)
2183
else
2184
workspace.CurrentCamera:remove()
2185
wait(.1)
2186
workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid
2187
workspace.CurrentCamera.CameraType = "Custom"
2188
LP.CameraMinZoomDistance = 0.5
2189
LP.CameraMaxZoomDistance = 400
2190
LP.CameraMode = "Classic"
2191
end
2192
end)
2193
2194
addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
2195
function(args, speaker)
2196
    local players = getPlayer(args[1], speaker)
2197
    for i,v in pairs(players)do
2198
		local pchar=_char(v)
2199
				local char = pchar
2200
				local hum = char.Humanoid
2201
				for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
2202
				hum.HealthDisplayDistance = 0
2203
				--execcmd god
2204
				local stake = Instance.new("Part",char)
2205
				stake.Anchored = true
2206
				stake.BrickColor = BrickColor.new("Reddish brown")
2207
				stake.Material = "Wood"
2208
				stake.Size = Vector3.new(1,7,1)
2209
				stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1)
2210
				local hay = Instance.new("Part",char)
2211
				hay.Anchored = true
2212
				hay.Material = "Grass"
2213
				hay.BrickColor = BrickColor.new("New Yeller")
2214
				hay.Size = Vector3.new(6,1,5)
2215
				hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0)
2216
				local hay2 = hay:clone()
2217
				hay2.Parent = char
2218
				hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0)
2219
				local fire = Instance.new("Fire",hay)
2220
				fire.Enabled = false
2221
				fire.Heat = 25
2222
				fire.Size = 2
2223
				fire.Color = Color3.new(170/255,85/255,0)
2224
				local smoke = Instance.new("Smoke",hay)
2225
				smoke.Enabled = false
2226
				smoke.Opacity = 1
2227
				smoke.RiseVelocity = 25
2228
				smoke.Size = 15
2229
				smoke.Color = Color3.new(0,0,0)
2230
				local light = Instance.new("PointLight",hay)
2231
				light.Color = Color3.new(170/255,85/255,0)
2232
				light.Range = 0
2233
				light.Brightness = 1
2234
				light.Enabled = false
2235
				--[[]]
2236
				local crack = Instance.new("Sound",hay)
2237
				crack.SoundId = "rbxassetid://239443642"
2238
				crack.Looped = true
2239
				crack.Volume = 0
2240
				local scream = Instance.new("Sound",char.Torso)
2241
				scream.SoundId = "rbxassetid://264227115"
2242
				scream.Looped = true
2243
				scream.Volume = 0
2244
				--]]
2245
				wait()
2246
				char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5)
2247
				char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5)
2248
				
2249
				local bods = char['Body Colors']
2250
				local colors = {
2251
					--"Really red";
2252
					"Bright red";
2253
					"Crimson";
2254
					"Maroon";
2255
					"Really black";
2256
				}
2257
				
2258
				fire.Enabled=true
2259
				smoke.Enabled=true
2260
				light.Enabled=true
2261
				crack:Play()
2262
				scream:Play()
2263
				scream.Pitch = 0.8
2264
				--scream.Volume = 0.5
2265
				for i=1,30 do
2266
					crack.Volume = crack.Volume+(1/30)
2267
					scream.Volume = crack.Volume
2268
					fire.Size=i
2269
					smoke.RiseVelocity=i-5
2270
					smoke.Size=i/2
2271
					light.Range=i*2
2272
					wait(1)
2273
				end
2274
				
2275
				for i=1,#colors do
2276
					bods.HeadColor=BrickColor.new(colors[i])
2277
					bods.LeftArmColor=BrickColor.new(colors[i])
2278
					bods.LeftLegColor=BrickColor.new(colors[i])
2279
					bods.RightArmColor=BrickColor.new(colors[i])
2280
					bods.RightLegColor=BrickColor.new(colors[i])
2281
					bods.TorsoColor=BrickColor.new(colors[i])
2282
					hay.BrickColor=BrickColor.new(colors[i])
2283
					hay2.BrickColor=BrickColor.new(colors[i])
2284
					stake.BrickColor=BrickColor.new(colors[i])
2285
					wait(5)
2286
				end
2287
				wait(10)
2288
				scream.Volume = 0.5
2289
				wait(1)
2290
				scream:Stop()
2291
				char:BreakJoints()
2292
			end
2293
		end)
2294
2295
addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
2296
function(args, speaker)
2297
if speaker.userId ~= LP.userId then
2298
lponly(speaker)
2299
else
2300
UFC()
2301
end
2302
end)
2303
2304
addcmd('freecamspeed','unfreecam',{'fcspeed'},
2305
function(args, speaker)
2306
if speaker.userId ~= LP.userId then
2307
lponly(speaker)
2308
else
2309
if isNumber(args[1]) then
2310
cs = args[1]
2311
end end end)
2312
2313
addcmd('nolight', 'no more light',{'unlight'},
2314
function(args, speaker)
2315
    local players = getPlayer(args[1], speaker)
2316
    for i,v in pairs(players)do
2317
        local pchar=_char(v)
2318
        for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
2319
			if v1:IsA("PointLight") then
2320
				v1:Destroy()
2321
			end
2322
		end
2323
    end
2324
end)
2325
2326
addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
2327
function(args, speaker)
2328
    local players = getPlayer(args[1], speaker)
2329
    for i,v in pairs(players)do
2330
        local pchar=_char(v)
2331
		  scale = 10
2332
 
2333
function weld(tab)
2334
        local last = nil
2335
        for i,v in pairs(tab) do
2336
                if v:IsA("BasePart") then
2337
                        if last then
2338
                                local w = Instance.new("Weld",last)
2339
                                w.Part0 = w.Parent
2340
                                w.Part1 = v
2341
                                local pos = last.CFrame:toObjectSpace(v.CFrame)
2342
                                w.C0 = pos
2343
                        end
2344
                        last = v
2345
                end
2346
        end
2347
end        
2348
 
2349
function makeball(pos)
2350
local model = Instance.new("Model",workspace)
2351
model.Name = gPlayers[v].Name .. "ball"
2352
local rand = BrickColor.Random()
2353
pchar.Head.Anchored = true
2354
for i=0,340,20 do
2355
        wait()
2356
        for z=-90,70,20 do
2357
                local p = Instance.new("Part",model)
2358
                p.formFactor = "Custom"
2359
                p.BrickColor = rand
2360
                p.Transparency = 0.5
2361
                p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
2362
                p.Anchored = true
2363
                p.TopSurface = 0
2364
                p.BottomSurface = 0
2365
                p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
2366
                p:breakJoints()
2367
        end
2368
end
2369
weld(model:children())
2370
for i,v in pairs(model:children()) do v.Anchored = false end 
2371
pchar.Head.Anchored = false
2372
model:MakeJoints()
2373
end
2374
 
2375
        if pchar then
2376
                makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
2377
        end
2378
    end
2379
end)
2380
2381
addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
2382
function(args, speaker)
2383
    local players = getPlayer(args[1], speaker)
2384
    for i,v in pairs(players)do
2385
    local pchar=_char(v)
2386
	for _, child in pairs( workspace:GetChildren()) do
2387
    if child.Name == gPlayers[v].Name .. "ball" then
2388
        child:Destroy()
2389
    end
2390
end
2391
end
2392
end)
2393
2394
local car = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
2395
2396
local fastwait = function(time)
2397
	local expire = tick()+(time or 0.02999999999999999889)
2398
	while game:GetService("RunService").Heartbeat:wait() do
2399
		if tick() >= expire then return true end
2400
	end
2401
end
2402
2403
function arrest(name)
2404
	spawn(function()
2405
	local p = game:GetService("Players"):FindFirstChild(name)
2406
	local char = p.Character 
2407
						local torso = p.Character:FindFirstChild("HumanoidRootPart") 
2408
						local humanoid = p.Character:FindFirstChild("Humanoid")
2409
						if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then 
2410
							local van = car:Clone()
2411
							if van then
2412
								local function check()
2413
									if not van or not van.Parent or not p or p.Parent ~= game:GetService("Players") or not torso or not humanoid or not torso.Parent or not humanoid.Parent or not char or not char.Parent then
2414
										return false
2415
									else
2416
										return true
2417
									end
2418
								end
2419
								
2420
								--local driver = van.Driver 
2421
								--local grabber = van.Clown 
2422
								local primary = van.Primary
2423
								--local door = van.Door
2424
								local tPos = torso.CFrame
2425
								
2426
								local sound = Instance.new("Sound",primary)
2427
								sound.SoundId = "rbxassetid://258529216"
2428
								sound.Looped = true
2429
								sound:Play()
2430
								
2431
								local chuckle = Instance.new("Sound",primary)
2432
								chuckle.SoundId = "rbxassetid://175964948"
2433
								chuckle.Looped = true
2434
								chuckle.Volume = 0.5
2435
								chuckle:Play()
2436
								
2437
								van.PrimaryPart = van.Primary
2438
								van.Name = "ADONIS_VAN"
2439
								van.Parent = workspace
2440
								humanoid.Name = "NoResetForYou"
2441
								humanoid.WalkSpeed = 0
2442
								sound.Pitch = 1.3
2443
								
2444
								local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
2445
								music.Name = "COPSONG"
2446
								music.SoundId = "rbxassetid://132007810"
2447
								music.Volume = 1
2448
								music.Looped = true
2449
								if not music.Playing then music:Play() end
2450
								
2451
								spawn(function()
2452
									while fastwait(0.2) do
2453
										van.Body.Lightbar.Red.PointLight.Enabled = true
2454
										van.Body.Lightbar.Blue.PointLight.Enabled = false
2455
										fastwait(0.2)
2456
										van.Body.Lightbar.Red.PointLight.Enabled = false
2457
										van.Body.Lightbar.Blue.PointLight.Enabled = true
2458
									end
2459
								end)
2460
								
2461
								for i = 1,200 do
2462
									if not check() then
2463
										break
2464
									else
2465
										van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
2466
										fastwait(0.001*(i/5))
2467
									end
2468
								end
2469
								
2470
								sound.Pitch = 0.9
2471
								
2472
								fastwait(0.5)
2473
								if check() then
2474
									--door.Transparency = 1
2475
								end
2476
								
2477
								local freeze = Instance.new("Sound",primary)
2478
								freeze.SoundId = "rbxassetid://163732279"
2479
								freeze.Volume = 5
2480
								freeze:Play()
2481
								
2482
								fastwait(3)
2483
								
2484
								if check() then
2485
									torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0))
2486
								end
2487
								
2488
								fastwait(0.5)
2489
								if check() then
2490
									--door.Transparency = 0
2491
								end
2492
								fastwait(0.5)
2493
								
2494
								sound.Pitch = 1.3
2495
								local gui = Instance.new("ScreenGui")
2496
								local frame = Instance.new("Frame",gui)
2497
								frame.BackgroundTransparency = 1
2498
								frame.BackgroundColor3 = Color3.new(0,0,0)
2499
								frame.Position = UDim2.new(0,0,0,-36)
2500
								frame.Size = UDim2.new(1,0,1,36)
2501
								spawn(function()
2502
									for i = 1,0,-0.01 do
2503
										frame.BackgroundTransparency = i
2504
										fastwait(0.1)
2505
									end
2506
									frame.BackgroundTransparency = 0
2507
								end)
2508
								
2509
								p.CameraMaxZoomDistance = 0.5
2510
								
2511
								torso.Anchored = true
2512
								
2513
								for i = 1,400 do
2514
									if not check() then
2515
										break
2516
									else
2517
										van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
2518
										torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0))
2519
										fastwait(0.1/(i*5))
2520
										
2521
										if i == 270 then
2522
											music.Volume = 5
2523
										end
2524
									end
2525
								end
2526
								
2527
local function KICK(P)
2528
	spawn(function()
2529
		if not FindTable(WL, P.Name) then
2530
		for i = 1,5 do
2531
			if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
2532
				P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
2533
				local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
2534
				spawn(function()
2535
					repeat fastwait()
2536
						if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
2537
					until not game:GetService("Players"):FindFirstChild(P.Name)
2538
				end)
2539
				P.Character.HumanoidRootPart.Anchored = true
2540
			end
2541
		end
2542
		end
2543
	end)
2544
end
2545
								
2546
								if p and p.Parent == game:GetService("Players") then
2547
									if p == game:GetService("Players").LocalPlayer then
2548
										fastwait(5)
2549
									end
2550
									torso.Anchored = false
2551
									p.CharacterAdded:Connect(function()
2552
                                    	fastwait()
2553
                                   	 	KICK(p)
2554
                               		end)
2555
									KICK(p)
2556
								end
2557
								fastwait(0.5)
2558
								pcall(function() van:Destroy() end)
2559
								pcall(function() gui:Destroy() end)
2560
								if not workspace:FindFirstChild("ADONIS_VAN") then
2561
									music:Destroy()
2562
								end
2563
							end
2564
						end
2565
	end)
2566
end
2567
2568
addcmd('arrest', 'arrests player',{},
2569
function(args, speaker)
2570
    local players = getPlayer(args[1], speaker)
2571
    for i,v in pairs(players)do
2572
        arrest(gPlayers[v].Name)
2573
    end
2574
end)
2575
2576
addcmd('nodummies', 'clears dummies',{},
2577
function(args, speaker)
2578
for _, child in pairs( workspace:GetChildren()) do
2579
    if child:FindFirstChild('isdummy') then
2580
        child:Destroy()
2581
    end
2582
end
2583
end)
2584
2585
addcmd('dummy','Make a dummy(usage: ;dummy name)',{},
2586
function(args, speaker)
2587
		 local name = GLS(false, 0)
2588
	    local lchar = game:GetService('Players').LocalPlayer
2589
		local Model0 = Instance.new("Model")
2590
		local Part1 = Instance.new("Part")
2591
		local SpecialMesh2 = Instance.new("SpecialMesh")
2592
		local Decal3 = Instance.new("Decal")
2593
		local Part4 = Instance.new("Part")
2594
		local Motor5 = Instance.new("Motor")
2595
		local Motor6 = Instance.new("Motor")
2596
		local Motor7 = Instance.new("Motor")
2597
		local Motor8 = Instance.new("Motor")
2598
		local Motor9 = Instance.new("Motor")
2599
		local Part10 = Instance.new("Part")
2600
		local Part11 = Instance.new("Part")
2601
		local Part12 = Instance.new("Part")
2602
		local Part13 = Instance.new("Part")
2603
		local dum = Instance.new("BoolValue")
2604
		dum.Name = "isdummy"
2605
		dum.Parent = Model0
2606
		local Humanoid14 = Instance.new("Humanoid")
2607
		Model0.Name = name
2608
		Model0.Parent = workspace
2609
		Model0.PrimaryPart = Part1
2610
		Part1.Name = "Head"
2611
		Part1.Parent = Model0
2612
		Part1.BrickColor = BrickColor.new("Bright yellow")
2613
		Part1.CanCollide = false
2614
		Part1.FormFactor = Enum.FormFactor.Symmetric
2615
		Part1.Friction = 0
2616
		Part1.Size = Vector3.new(2, 1, 1)
2617
		Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2618
		Part1.TopSurface = Enum.SurfaceType.Smooth
2619
		Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
2620
		Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75)
2621
		Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
2622
		SpecialMesh2.Parent = Part1
2623
		SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
2624
		SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
2625
		Decal3.Name = "face"
2626
		Decal3.Parent = Part1
2627
		Decal3.Texture = "rbxasset://textures/face.png"
2628
		Part4.Name = "Torso"
2629
		Part4.Parent = Model0
2630
		Part4.BrickColor = BrickColor.new("Bright blue")
2631
		Part4.CanCollide = false
2632
		Part4.FormFactor = Enum.FormFactor.Symmetric
2633
		Part4.Friction = 0
2634
		Part4.Size = Vector3.new(2, 2, 1)
2635
		Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2636
		Part4.LeftSurface = Enum.SurfaceType.Weld
2637
		Part4.RightSurface = Enum.SurfaceType.Weld
2638
		Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
2639
		Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75)
2640
		Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
2641
		Motor5.Name = "Right Shoulder"
2642
		Motor5.Parent = Part4
2643
		Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2644
		Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2645
		Motor5.Part0 = Part4
2646
		Motor5.Part1 = Part11
2647
		Motor5.DesiredAngle = 0.083800852298737
2648
		Motor5.MaxVelocity = 0.15000000596046
2649
		Motor6.Name = "Left Shoulder"
2650
		Motor6.Parent = Part4
2651
		Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2652
		Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2653
		Motor6.Part0 = Part4
2654
		Motor6.Part1 = Part10
2655
		Motor6.DesiredAngle = 0.083800852298737
2656
		Motor6.MaxVelocity = 0.15000000596046
2657-
							local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
2657+
2658
		Motor7.Parent = Part4
2659
		Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2660
		Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2661
		Motor7.Part0 = Part4
2662
		Motor7.Part1 = Part12
2663
		Motor7.DesiredAngle = -0.083800852298737
2664
		Motor7.MaxVelocity = 0.10000000149012
2665
		Motor8.Name = "Neck"
2666
		Motor8.Parent = Part4
2667
		Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2668
		Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2669
		Motor8.Part0 = Part4
2670
		Motor8.Part1 = Part1
2671
		Motor8.MaxVelocity = 0.10000000149012
2672
		Motor9.Name = "Right Hip"
2673
		Motor9.Parent = Part4
2674
		Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2675
		Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2676
		Motor9.Part0 = Part4
2677
		Motor9.Part1 = Part13
2678
		Motor9.DesiredAngle = -0.083800852298737
2679
		Motor9.MaxVelocity = 0.10000000149012
2680
		Part10.Name = "Left Arm"
2681
		Part10.Parent = Model0
2682
		Part10.BrickColor = BrickColor.new("Bright yellow")
2683
		Part10.CanCollide = false
2684
		Part10.FormFactor = Enum.FormFactor.Symmetric
2685
		Part10.Size = Vector3.new(1, 2, 1)
2686
		Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2687
		Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
2688
		Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75)
2689
		Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
2690
		Part11.Name = "Right Arm"
2691
		Part11.Parent = Model0
2692
		Part11.BrickColor = BrickColor.new("Bright yellow")
2693
		Part11.CanCollide = false
2694
		Part11.FormFactor = Enum.FormFactor.Symmetric
2695
		Part11.Size = Vector3.new(1, 2, 1)
2696
		Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2697
		Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
2698
		Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75)
2699
		Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
2700
		Part12.Name = "Left Leg"
2701
		Part12.Parent = Model0
2702
		Part12.BrickColor = BrickColor.new("Br. yellowish green")
2703
		Part12.CanCollide = false
2704
		Part12.FormFactor = Enum.FormFactor.Symmetric
2705
		Part12.Size = Vector3.new(1, 2, 1)
2706
		Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2707
		Part12.BottomSurface = Enum.SurfaceType.Smooth
2708
		Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
2709
		Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75)
2710
		Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
2711
		Part13.Name = "Right Leg"
2712
		Part13.Parent = Model0
2713
		Part13.BrickColor = BrickColor.new("Br. yellowish green")
2714
		Part13.CanCollide = false
2715
		Part13.FormFactor = Enum.FormFactor.Symmetric
2716
		Part13.Size = Vector3.new(1, 2, 1)
2717
		Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2718
		Part13.BottomSurface = Enum.SurfaceType.Smooth
2719
		Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
2720
		Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75)
2721
		Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
2722
		Humanoid14.Parent = Model0
2723
		Humanoid14.RightLeg = Part13
2724
		Humanoid14.LeftLeg = Part12
2725
		Humanoid14.Torso = Part4
2726
		Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p)
2727
		Model0.Parent = game:GetService('Workspace')
2728
end)
2729
2730
addcmd('loopkill', 'rip person',{'lkill'},
2731
function(args, speaker)
2732
    local players = getPlayer(args[1], speaker)
2733
    for i,v in pairs(players)do
2734
		if not FindTable(loopkillT, _players[v].Name) then
2735
			table.insert(loopkillT, _players[v].Name)
2736
			if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
2737
			Notify('Loopkilling player(s)') end end end end)
2738
2739
addcmd('unloopkill', 'un rip person',{'unlkill'},
2740
function(args, speaker)
2741
    local players = getPlayer(args[1], speaker)
2742
    for i,v in pairs(players)do
2743
		if FindTable(loopkillT, _players[v].Name) then
2744
			table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
2745
			if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
2746
			Notify('No longer loopkilling player(s)') end end end end)
2747
2748
addcmd('disabletools', 'removes their tools',{'loopremovetools'},
2749
function(args, speaker)
2750
    local players = getPlayer(args[1], speaker)
2751
    for i,v in pairs(players)do
2752
		if not FindTable(disabletoolsT, _players[v].Name) then
2753
			table.insert(disabletoolsT, _players[v].Name)
2754
			if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
2755
			Notify('Disabled tools for player(s)') end end end end)
2756
2757
addcmd('enabletools', 'lets them have tools',{},
2758
function(args, speaker)
2759
    local players = getPlayer(args[1], speaker)
2760
    for i,v in pairs(players)do
2761
		if FindTable(disabletoolsT, _players[v].Name) then
2762
			table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v])
2763
			if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
2764
			Notify('Enabled tools for player(s)') end end end end)
2765
2766
addcmd('refresh', 'refresh their player model',{'re'},
2767
function(args, speaker)
2768
    local players = getPlayer(args[1], speaker)
2769
    for i,v in pairs(players)do
2770
			refresh(_players[v])
2771
			end end)
2772
2773
local fastwait = function(time)
2774
	local expire = tick()+(time or 0.02999999999999999889)
2775
	while game:GetService("RunService").Heartbeat:wait() do
2776
		if tick() >= expire then return true end
2777
	end
2778
end
2779
2780
function gull(name)
2781
	spawn(function()
2782
	local char = game:GetService("Players")[name].Character
2783
	char.PrimaryPart = char.HumanoidRootPart
2784
	
2785
	local tors = game:GetService("Players")[name].Character.HumanoidRootPart
2786
	local initCFrame = tors.CFrame
2787
	
2788
	if char:FindFirstChild("Torso") then
2789
		char.Torso.Anchored = true
2790
	else
2791
		char.UpperTorso.Anchored = true
2792
	end
2793
	char:FindFirstChildOfClass("Humanoid").Name = "Sad"
2794
2795
	local gull = Instance.new("Part")
2796
	gull.Anchored = true
2797
	gull.CanCollide = false
2798
	gull.Position = Vector3.new(0,100000,0)
2799
	local mesh = Instance.new("SpecialMesh",gull)
2800
	mesh.MeshId = "http://www.roblox.com/asset/?id=272501436"
2801
	mesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
2802
	mesh.Scale = Vector3.new(10,10,10)
2803
	
2804
	local leftWing = Instance.new("Part",gull)
2805
	leftWing.CanCollide = false
2806
	local lmesh = Instance.new("SpecialMesh",leftWing)
2807
	lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584"
2808
	lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
2809
	lmesh.Scale = Vector3.new(10,10,10)
2810
	local leftMotor = Instance.new("Motor6D",gull)
2811
	leftMotor.MaxVelocity = 1
2812
	leftMotor.Part0 = gull
2813
	leftMotor.Part1 = leftWing
2814
	leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001)
2815
	
2816
	local rightWing = Instance.new("Part",gull)
2817
	rightWing.CanCollide = false
2818
	local rmesh = Instance.new("SpecialMesh",rightWing)
2819
	rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651"
2820
	rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
2821
	rmesh.Scale = Vector3.new(10,10,10)
2822
	local rightMotor = Instance.new("Motor6D",gull)
2823
	rightMotor.MaxVelocity = 1
2824
	rightMotor.Part0 = gull
2825
	rightMotor.Part1 = rightWing
2826
	rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001)
2827
	
2828
	local sound = Instance.new("Sound",gull)
2829
	sound.SoundId = "rbxassetid://160877039"
2830
	sound.Volume = 10
2831
	gull.Parent = workspace
2832
2833
	for i = 400,-1000,-2 do
2834
		local der = 0.02*i
2835
		local angle = math.atan(der/1)
2836
		gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0)
2837
		if i == 0 then sound:Play() end
2838
		if i <= 0 then
2839
			char:SetPrimaryPartCFrame(gull.CFrame)
2840
			local nextAngle = -0.2*math.sin(0.05*math.pi*(i))
2841
			leftMotor.DesiredAngle = -nextAngle
2842
			leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001)
2843
			rightMotor.DesiredAngle = nextAngle
2844
			rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001)
2845
		end
2846
		game:GetService("RunService").RenderStepped:wait()
2847
	end
2848
	
2849
	local function KICK(P)
2850
	spawn(function()
2851
		if not FindTable(WL, P.Name) then
2852
		for i = 1,5 do
2853
			if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
2854
				P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
2855
				local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
2856
				spawn(function()
2857
					repeat wait()
2858
						if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
2859
					until not game:GetService("Players"):FindFirstChild(P.Name)
2860
				end)
2861
				P.Character.HumanoidRootPart.Anchored = true
2862
			end
2863
		end
2864
		end
2865
	end)
2866
	end
2867
	
2868
	if char:FindFirstChild("Torso") then
2869
		char.Torso.Anchored = false
2870
	else
2871
		char.UpperTorso.Anchored = false
2872
	end
2873
	
2874
	spawn(function()
2875
	if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end
2876
	game:GetService("Players")[name].CharacterAdded:Connect(function()
2877
		wait()
2878
		KICK(game:GetService("Players")[name])
2879
	end)
2880
	KICK(game:GetService("Players")[name])
2881
	end)
2882
	
2883
		local go = Instance.new("BodyVelocity",gull)
2884
		go.Velocity = Vector3.new(0,1000,0)
2885
		go.MaxForce = Vector3.new(1000000,1000000,1000000)
2886
		gull.Anchored = false
2887
	end)
2888
end
2889
2890
addcmd('seagull', 'seagulls player',{'gull'},
2891
function(args, speaker)
2892
    local players = getPlayer(args[1], speaker)
2893
    for i,v in pairs(players)do
2894
        gull(gPlayers[v].Name)
2895
    end
2896
end)
2897
2898
local song = nil
2899
function zinniaKick(name)
2900
    spawn(function()
2901
            if song == nil or song.Parent == nil then
2902
                song = Instance.new("Sound",workspace)
2903
                song.SoundId = "rbxassetid://190423831"
2904
                song.Volume = 1
2905
                song.Looped = true
2906
                song:Play()
2907
            end
2908
            local zin = Instance.new("Part")
2909
            zin.Name = "CuteZinnia"
2910
            zin.Anchored = true
2911
            zin.CanCollide = false
2912
            zin.Locked = true
2913
            local mesh = Instance.new("SpecialMesh")
2914
            mesh.MeshId = "rbxassetid://1175670539"
2915
            mesh.TextureId = "rbxassetid://1175670558"
2916
            mesh.Scale = Vector3.new(0.05,0.05,0.05)
2917
            mesh.Offset = Vector3.new(0,0.88,0)
2918
            mesh.Parent = zin
2919
            local char = game:GetService("Players")[name].Character
2920
            char.PrimaryPart = char.HumanoidRootPart
2921
            if char:FindFirstChild("Torso") then
2922
                char.Torso.Anchored = true
2923
            else
2924
                char.UpperTorso.Anchored = true
2925
            end
2926
            zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*50) * CFrame.Angles(0,math.pi,0) + Vector3.new(0,500,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0))
2927
            zin.Parent = workspace
2928
            local tween = game:GetService("TweenService"):Create(zin,TweenInfo.new(3,Enum.EasingStyle.Quart,Enum.EasingDirection.Out,0,false,0),{CFrame = zin.CFrame - Vector3.new(0,500,0)})
2929
            tween:Play()
2930
            fastwait(3)
2931
            for i = 50,1,-1 do
2932
                zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*i) * CFrame.Angles(0,math.pi,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0))
2933
                fastwait()
2934
            end
2935
            char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
2936
            fastwait(1)
2937
            local turns = 0
2938
2939
            while turns < 200 do
2940
                zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
2941
                char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
2942
                turns = turns + 1
2943
                fastwait()
2944
            end
2945
            for i = 1,10 do
2946
                zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
2947
                char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
2948
                fastwait()
2949
            end
2950
            local rX,rZ = 0,0
2951
            repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
2952
                repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
2953
                    local bv = Instance.new("BodyForce",char.HumanoidRootPart)
2954
                    bv.Force = Vector3.new(rX,10000,rZ)
2955
                    if char:FindFirstChild("Torso") then
2956
                        char.Torso.Anchored = false
2957
                    else
2958
                        char.UpperTorso.Anchored = false
2959
                    end
2960
                    function KICK(P)
2961
                        spawn(function()
2962
							if not FindTable(WL, P.Name) then
2963
                                for i = 1,5 do
2964
                                    if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
2965
                                        P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
2966
                                        local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
2967
                                        spawn(function()
2968
                                                repeat fastwait()
2969
                                                    if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
2970
                                                until not game:GetService("Players"):FindFirstChild(P.Name)
2971
                                            end)
2972
                                        P.Character.HumanoidRootPart.Anchored = true
2973
                                    end
2974
                                end
2975
							end
2976
                        end)
2977
                    end
2978
                    spawn(function()
2979
                            if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
2980
                            game:GetService("Players")[name].CharacterAdded:Connect(function()
2981
                                    fastwait()
2982
                                    KICK(game:GetService("Players")[name])
2983
                                end)
2984
                            KICK(game:GetService("Players")[name])
2985
                        end)
2986
                    for i = 1,20 do
2987
                        zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
2988
                        fastwait()
2989
                    end
2990
                    while turns > 0 do
2991
                        zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
2992
                        turns = turns - 5
2993
                        fastwait()
2994
                    end
2995
                    fastwait(1)
2996
                    zin.Name = "GoneZinnia"
2997
                    local go = Instance.new("BodyVelocity",zin)
2998
                    go.Velocity = zin.CFrame.lookVector * 100
2999
                    go.MaxForce = Vector3.new(1000000,1000000,1000000)
3000
                    zin.Anchored = false
3001
                    fastwait(20)
3002
         if song and not workspace:FindFirstChild("CuteZinnia") then
3003
             song:Destroy()
3004
             song = nil
3005
         end
3006
   	end)
3007
end
3008
3009
addcmd('zinnia', 'asdf for moon',{},
3010
function(args, speaker)
3011
    local players = getPlayer(args[1], speaker)
3012
    for i,v in pairs(players)do
3013
        zinniaKick(gPlayers[v].Name)
3014
    end
3015
end)
3016
3017
addcmd('rainbowname', 'color spam their name tag',{'rname'},
3018
function(args, speaker)
3019
    local players = getPlayer(args[1], speaker)
3020
    for i,v in pairs(players)do
3021
		if not FindTable(rainbowT, _players[v].Name) then
3022
			table.insert(rainbowT, _players[v].Name)
3023
			if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
3024
			Notify('Gave player(s) rainbow name') end end end end)
3025
3026
addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
3027
function(args, speaker)
3028
    local players = getPlayer(args[1], speaker)
3029
    for i,v in pairs(players)do
3030
		if FindTable(rainbowT, _players[v].Name) then
3031
			table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
3032
			_players[v].Neutral = true
3033
			if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
3034
			Notify('Disabled rainbow name for player(s)') end end end end)
3035
3036
addcmd('terrain', 'gives you terrain tools',{'tt'},
3037
function(args, speaker)
3038
if speaker.userId ~= LP.userId then
3039
lponly(speaker)
3040
else
3041
--Terrain Script
3042
--Edge#1934/IoIman616
3043
3044
for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do
3045
    if child.Name == "MaterialGui" then
3046
        child:Destroy()
3047
    end
3048
end
3049
3050
function sandbox(var,func)
3051
	local env = getfenv(func)
3052
	local newenv = setmetatable({},{
3053
		__index = function(self,k)
3054
			if k=="script" then
3055
				return var
3056
			else
3057
				return env[k]
3058
			end
3059
		end,
3060
	})
3061
	setfenv(func,newenv)
3062
	return func
3063
end
3064
cors = {}
3065
mas = Instance.new("Model",game:GetService("Lighting"))
3066
HopperBin0 = Instance.new("HopperBin")
3067
HopperBin0.Name = "Terrain Build"
3068
HopperBin0.Parent = mas
3069
for i,v in pairs(mas:GetChildren()) do
3070
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
3071
	pcall(function() v:MakeJoints() end)
3072
end
3073
mas:Destroy()
3074
for i,v in pairs(cors) do
3075
	spawn(function()
3076
		pcall(v)
3077
	end)
3078
end
3079
3080
wait(0.01)
3081
3082
function sandbox(var,func)
3083
	local env = getfenv(func)
3084
	local newenv = setmetatable({},{
3085
		__index = function(self,k)
3086
			if k=="script" then
3087
				return var
3088
			else
3089
				return env[k]
3090
			end
3091
		end,
3092
	})
3093
	setfenv(func,newenv)
3094
	return func
3095
end
3096
cors = {}
3097
mas = Instance.new("Model",game:GetService("Lighting"))
3098
ScreenGui0 = Instance.new("ScreenGui")
3099
ImageLabel1 = Instance.new("ImageLabel")
3100
ImageButton2 = Instance.new("ImageButton")
3101
Frame3 = Instance.new("Frame")
3102
NumberValue4 = Instance.new("NumberValue")
3103
ImageButton5 = Instance.new("ImageButton")
3104
Frame6 = Instance.new("Frame")
3105
NumberValue7 = Instance.new("NumberValue")
3106
ImageButton8 = Instance.new("ImageButton")
3107
Frame9 = Instance.new("Frame")
3108
NumberValue10 = Instance.new("NumberValue")
3109
ImageButton11 = Instance.new("ImageButton")
3110
Frame12 = Instance.new("Frame")
3111
NumberValue13 = Instance.new("NumberValue")
3112
ImageButton14 = Instance.new("ImageButton")
3113
Frame15 = Instance.new("Frame")
3114
NumberValue16 = Instance.new("NumberValue")
3115
ImageButton17 = Instance.new("ImageButton")
3116
Frame18 = Instance.new("Frame")
3117
NumberValue19 = Instance.new("NumberValue")
3118
ImageButton20 = Instance.new("ImageButton")
3119
Frame21 = Instance.new("Frame")
3120
NumberValue22 = Instance.new("NumberValue")
3121
ImageButton23 = Instance.new("ImageButton")
3122
Frame24 = Instance.new("Frame")
3123
NumberValue25 = Instance.new("NumberValue")
3124
ImageButton26 = Instance.new("ImageButton")
3125
Frame27 = Instance.new("Frame")
3126
NumberValue28 = Instance.new("NumberValue")
3127
ImageButton29 = Instance.new("ImageButton")
3128
Frame30 = Instance.new("Frame")
3129
NumberValue31 = Instance.new("NumberValue")
3130
ImageButton32 = Instance.new("ImageButton")
3131
Frame33 = Instance.new("Frame")
3132
NumberValue34 = Instance.new("NumberValue")
3133
ImageButton35 = Instance.new("ImageButton")
3134
Frame36 = Instance.new("Frame")
3135
NumberValue37 = Instance.new("NumberValue")
3136
ImageButton38 = Instance.new("ImageButton")
3137
Frame39 = Instance.new("Frame")
3138
NumberValue40 = Instance.new("NumberValue")
3139
ImageButton41 = Instance.new("ImageButton")
3140
Frame42 = Instance.new("Frame")
3141
NumberValue43 = Instance.new("NumberValue")
3142
ImageButton44 = Instance.new("ImageButton")
3143
Frame45 = Instance.new("Frame")
3144
NumberValue46 = Instance.new("NumberValue")
3145
ImageButton47 = Instance.new("ImageButton")
3146
Frame48 = Instance.new("Frame")
3147
NumberValue49 = Instance.new("NumberValue")
3148
ImageButton50 = Instance.new("ImageButton")
3149
Frame51 = Instance.new("Frame")
3150
NumberValue52 = Instance.new("NumberValue")
3151
ImageButton53 = Instance.new("ImageButton")
3152
Frame54 = Instance.new("Frame")
3153
ScreenGui0.Name = "MaterialGui"
3154
ScreenGui0.Parent = mas
3155
ImageLabel1.Name = "MaterialMenu"
3156
ImageLabel1.Parent = ScreenGui0
3157
ImageLabel1.Transparency = 1
3158
ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
3159
ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
3160
ImageLabel1.BackgroundTransparency = 1
3161
ImageLabel1.ZIndex = 2
3162
ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
3163
ImageButton2.Name = "Grass"
3164
ImageButton2.Parent = ImageLabel1
3165
ImageButton2.Transparency = 1
3166
ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3167
ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
3168
ImageButton2.BackgroundTransparency = 1
3169
ImageButton2.ZIndex = 4
3170
ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
3171
Frame3.Name = "Selection"
3172
Frame3.Parent = ImageButton2
3173
Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3174
Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3175
Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
3176
Frame3.BorderSizePixel = 0
3177
Frame3.ZIndex = 3
3178
NumberValue4.Name = "num"
3179
NumberValue4.Parent = ImageButton2
3180
NumberValue4.Value = 1
3181
ImageButton5.Name = "Sand"
3182
ImageButton5.Parent = ImageLabel1
3183
ImageButton5.Transparency = 1
3184
ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3185
ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
3186
ImageButton5.BackgroundTransparency = 1
3187
ImageButton5.ZIndex = 4
3188
ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
3189
Frame6.Name = "Selection"
3190
Frame6.Parent = ImageButton5
3191
Frame6.Transparency = 1
3192
Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3193
Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3194
Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
3195
Frame6.BackgroundTransparency = 1
3196
Frame6.BorderSizePixel = 0
3197
Frame6.ZIndex = 3
3198
NumberValue7.Name = "num"
3199
NumberValue7.Parent = ImageButton5
3200
NumberValue7.Value = 2
3201
ImageButton8.Name = "Brick"
3202
ImageButton8.Parent = ImageLabel1
3203
ImageButton8.Transparency = 1
3204
ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3205
ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
3206
ImageButton8.BackgroundTransparency = 1
3207
ImageButton8.ZIndex = 4
3208
ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
3209
Frame9.Name = "Selection"
3210
Frame9.Parent = ImageButton8
3211
Frame9.Transparency = 1
3212
Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3213
Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3214
Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
3215
Frame9.BackgroundTransparency = 1
3216
Frame9.BorderSizePixel = 0
3217
Frame9.ZIndex = 3
3218
NumberValue10.Name = "num"
3219
NumberValue10.Parent = ImageButton8
3220
NumberValue10.Value = 3
3221
ImageButton11.Name = "Granite"
3222
ImageButton11.Parent = ImageLabel1
3223
ImageButton11.Transparency = 1
3224
ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3225
ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
3226
ImageButton11.BackgroundTransparency = 1
3227
ImageButton11.ZIndex = 4
3228
ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
3229
Frame12.Name = "Selection"
3230
Frame12.Parent = ImageButton11
3231
Frame12.Transparency = 1
3232
Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3233
Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3234
Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
3235
Frame12.BackgroundTransparency = 1
3236
Frame12.BorderSizePixel = 0
3237
Frame12.ZIndex = 3
3238
NumberValue13.Name = "num"
3239
NumberValue13.Parent = ImageButton11
3240
NumberValue13.Value = 4
3241
ImageButton14.Name = "Asphalt"
3242
ImageButton14.Parent = ImageLabel1
3243
ImageButton14.Transparency = 1
3244
ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3245
ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
3246
ImageButton14.BackgroundTransparency = 1
3247
ImageButton14.ZIndex = 4
3248
ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
3249
Frame15.Name = "Selection"
3250
Frame15.Parent = ImageButton14
3251
Frame15.Transparency = 1
3252
Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3253
Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3254
Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
3255
Frame15.BackgroundTransparency = 1
3256
Frame15.BorderSizePixel = 0
3257
Frame15.ZIndex = 3
3258
NumberValue16.Name = "num"
3259
NumberValue16.Parent = ImageButton14
3260
NumberValue16.Value = 5
3261
ImageButton17.Name = "Iron"
3262
ImageButton17.Parent = ImageLabel1
3263
ImageButton17.Transparency = 1
3264
ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3265
ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
3266
ImageButton17.BackgroundTransparency = 1
3267
ImageButton17.ZIndex = 4
3268
ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
3269
Frame18.Name = "Selection"
3270
Frame18.Parent = ImageButton17
3271
Frame18.Transparency = 1
3272
Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3273
Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3274
Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
3275
Frame18.BackgroundTransparency = 1
3276
Frame18.BorderSizePixel = 0
3277
Frame18.ZIndex = 3
3278
NumberValue19.Name = "num"
3279
NumberValue19.Parent = ImageButton17
3280
NumberValue19.Value = 6
3281
ImageButton20.Name = "Aluminum"
3282
ImageButton20.Parent = ImageLabel1
3283
ImageButton20.Transparency = 1
3284
ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3285
ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
3286
ImageButton20.BackgroundTransparency = 1
3287
ImageButton20.ZIndex = 4
3288
ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
3289-
--Edge/IoIman616
3289+
3290
Frame21.Parent = ImageButton20
3291
Frame21.Transparency = 1
3292
Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3293
Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3294
Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
3295
Frame21.BackgroundTransparency = 1
3296
Frame21.BorderSizePixel = 0
3297
Frame21.ZIndex = 3
3298
NumberValue22.Name = "num"
3299
NumberValue22.Parent = ImageButton20
3300
NumberValue22.Value = 7
3301
ImageButton23.Name = "Gold"
3302
ImageButton23.Parent = ImageLabel1
3303
ImageButton23.Transparency = 1
3304
ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3305
ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
3306
ImageButton23.BackgroundTransparency = 1
3307
ImageButton23.ZIndex = 4
3308
ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
3309
Frame24.Name = "Selection"
3310
Frame24.Parent = ImageButton23
3311
Frame24.Transparency = 1
3312
Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3313
Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3314
Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
3315
Frame24.BackgroundTransparency = 1
3316
Frame24.BorderSizePixel = 0
3317
Frame24.ZIndex = 3
3318
NumberValue25.Name = "num"
3319
NumberValue25.Parent = ImageButton23
3320
NumberValue25.Value = 8
3321
ImageButton26.Name = "Plank"
3322
ImageButton26.Parent = ImageLabel1
3323
ImageButton26.Transparency = 1
3324
ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3325
ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
3326
ImageButton26.BackgroundTransparency = 1
3327
ImageButton26.ZIndex = 4
3328
ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
3329
Frame27.Name = "Selection"
3330
Frame27.Parent = ImageButton26
3331
Frame27.Transparency = 1
3332
Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3333
Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3334
Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
3335
Frame27.BackgroundTransparency = 1
3336
Frame27.BorderSizePixel = 0
3337
Frame27.ZIndex = 3
3338
NumberValue28.Name = "num"
3339
NumberValue28.Parent = ImageButton26
3340
NumberValue28.Value = 9
3341
ImageButton29.Name = "Log"
3342
ImageButton29.Parent = ImageLabel1
3343
ImageButton29.Transparency = 1
3344
ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3345
ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
3346
ImageButton29.BackgroundTransparency = 1
3347
ImageButton29.ZIndex = 4
3348
ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
3349
Frame30.Name = "Selection"
3350
Frame30.Parent = ImageButton29
3351
Frame30.Transparency = 1
3352
Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3353
Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3354
Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
3355
Frame30.BackgroundTransparency = 1
3356
Frame30.BorderSizePixel = 0
3357
Frame30.ZIndex = 3
3358
NumberValue31.Name = "num"
3359
NumberValue31.Parent = ImageButton29
3360
NumberValue31.Value = 10
3361
ImageButton32.Name = "Gravel"
3362
ImageButton32.Parent = ImageLabel1
3363
ImageButton32.Transparency = 1
3364
ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3365
ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
3366
ImageButton32.BackgroundTransparency = 1
3367
ImageButton32.ZIndex = 4
3368
ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
3369
Frame33.Name = "Selection"
3370
Frame33.Parent = ImageButton32
3371
Frame33.Transparency = 1
3372
Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3373
Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3374
Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
3375
Frame33.BackgroundTransparency = 1
3376
Frame33.BorderSizePixel = 0
3377
Frame33.ZIndex = 3
3378
NumberValue34.Name = "num"
3379
NumberValue34.Parent = ImageButton32
3380
NumberValue34.Value = 11
3381
ImageButton35.Name = "Cinder"
3382
ImageButton35.Parent = ImageLabel1
3383
ImageButton35.Transparency = 1
3384
ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3385
ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
3386
ImageButton35.BackgroundTransparency = 1
3387
ImageButton35.ZIndex = 4
3388
ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
3389
Frame36.Name = "Selection"
3390
Frame36.Parent = ImageButton35
3391
Frame36.Transparency = 1
3392
Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3393
Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3394
Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
3395
Frame36.BackgroundTransparency = 1
3396
Frame36.BorderSizePixel = 0
3397
Frame36.ZIndex = 3
3398
NumberValue37.Name = "num"
3399
NumberValue37.Parent = ImageButton35
3400
NumberValue37.Value = 12
3401
ImageButton38.Name = "Stone"
3402
ImageButton38.Parent = ImageLabel1
3403
ImageButton38.Transparency = 1
3404
ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3405
ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
3406
ImageButton38.BackgroundTransparency = 1
3407
ImageButton38.ZIndex = 4
3408
ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
3409
Frame39.Name = "Selection"
3410
Frame39.Parent = ImageButton38
3411
Frame39.Transparency = 1
3412
Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3413
Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3414
Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
3415
Frame39.BackgroundTransparency = 1
3416
Frame39.BorderSizePixel = 0
3417
Frame39.ZIndex = 3
3418
NumberValue40.Name = "num"
3419
NumberValue40.Parent = ImageButton38
3420
NumberValue40.Value = 13
3421
ImageButton41.Name = "Cement"
3422
ImageButton41.Parent = ImageLabel1
3423
ImageButton41.Transparency = 1
3424
ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3425
ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
3426
ImageButton41.BackgroundTransparency = 1
3427
ImageButton41.ZIndex = 4
3428
ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
3429
Frame42.Name = "Selection"
3430
Frame42.Parent = ImageButton41
3431
Frame42.Transparency = 1
3432
Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3433
Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3434
Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
3435
Frame42.BackgroundTransparency = 1
3436
Frame42.BorderSizePixel = 0
3437
Frame42.ZIndex = 3
3438
NumberValue43.Name = "num"
3439
NumberValue43.Parent = ImageButton41
3440
NumberValue43.Value = 14
3441
ImageButton44.Name = "Red Plastic"
3442
ImageButton44.Parent = ImageLabel1
3443
ImageButton44.Transparency = 1
3444
ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3445
ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
3446
ImageButton44.BackgroundTransparency = 1
3447
ImageButton44.ZIndex = 4
3448
ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
3449
Frame45.Name = "Selection"
3450
Frame45.Parent = ImageButton44
3451
Frame45.Transparency = 1
3452
Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3453
Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3454
Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
3455
Frame45.BackgroundTransparency = 1
3456
Frame45.BorderSizePixel = 0
3457
Frame45.ZIndex = 3
3458
NumberValue46.Name = "num"
3459
NumberValue46.Parent = ImageButton44
3460
NumberValue46.Value = 15
3461
ImageButton47.Name = "Blue Plastic"
3462
ImageButton47.Parent = ImageLabel1
3463
ImageButton47.Transparency = 1
3464
ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3465
ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
3466
ImageButton47.BackgroundTransparency = 1
3467
ImageButton47.ZIndex = 4
3468
ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
3469
Frame48.Name = "Selection"
3470
Frame48.Parent = ImageButton47
3471
Frame48.Transparency = 1
3472
Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3473
Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3474
Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
3475
Frame48.BackgroundTransparency = 1
3476
Frame48.BorderSizePixel = 0
3477
Frame48.ZIndex = 3
3478
NumberValue49.Name = "num"
3479
NumberValue49.Parent = ImageButton47
3480
NumberValue49.Value = 16
3481
ImageButton50.Name = "Water"
3482
ImageButton50.Parent = ImageLabel1
3483
ImageButton50.Transparency = 1
3484
ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3485
ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
3486
ImageButton50.BackgroundTransparency = 1
3487
ImageButton50.ZIndex = 4
3488
ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
3489
Frame51.Name = "Selection"
3490
Frame51.Parent = ImageButton50
3491
Frame51.Transparency = 1
3492
Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3493
Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3494
Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
3495
Frame51.BackgroundTransparency = 1
3496
Frame51.BorderSizePixel = 0
3497
Frame51.ZIndex = 3
3498
NumberValue52.Name = "num"
3499
NumberValue52.Parent = ImageButton50
3500
NumberValue52.Value = 17
3501
ImageButton53.Name = "Dig"
3502
ImageButton53.Parent = ImageLabel1
3503
ImageButton53.Transparency = 1
3504
ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
3505
ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
3506
ImageButton53.BackgroundTransparency = 1
3507
ImageButton53.ZIndex = 4
3508
ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
3509
Frame54.Name = "Selection"
3510
Frame54.Parent = ImageButton53
3511
Frame54.Transparency = 1
3512
Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
3513
Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
3514
Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
3515
Frame54.BackgroundTransparency = 1
3516
Frame54.BorderSizePixel = 0
3517
Frame54.ZIndex = 3
3518
for i,v in pairs(mas:GetChildren()) do
3519
	v.Parent = gPlayers.LocalPlayer.PlayerGui
3520
	pcall(function() v:MakeJoints() end)
3521
end
3522
mas:Destroy()
3523
for i,v in pairs(cors) do
3524
	spawn(function()
3525
		pcall(v)
3526
	end)
3527
end
3528
wait(0.01)
3529
gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
3530
material = 1
3531
local Terrain = workspace.Terrain
3532
local CC = workspace.CurrentCamera
3533
3534
local SelB = Instance.new("SelectionBox")
3535
SelB.Color = BrickColor.new("Bright green")
3536
3537
local SelP = Instance.new("Part")
3538
SelP.Anchored = true
3539
SelP.formFactor = Enum.FormFactor.Custom
3540
3541
HopperBin0.Selected:connect(function(M)
3542
	SelB.Parent = gPlayers.LocalPlayer.PlayerGui
3543
	gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
3544
	SelB.Adornee = nil
3545
3546
	local ClickState = "None"
3547
3548
	local ClickType = 1
3549
3550
	local TerrainClick = 1
3551
3552
	local P1 = nil
3553
3554
	M.KeyDown:connect(function(K)
3555
		if K == "q" then
3556
			ClickType = 1
3557
		elseif K == "e" then
3558
			ClickType = 2
3559
		elseif K == "z" then
3560
			TerrainClick = 0
3561
		elseif K == "x" then
3562
			TerrainClick = 1
3563
		elseif K == "c" then
3564
			TerrainClick = 2
3565
		elseif K == "v" then
3566
			TerrainClick = 3
3567
		elseif K == "b" then
3568
			TerrainClick = 4
3569
		end
3570
	end)
3571
3572
	M.Button1Down:connect(function()
3573
		if not M.Target then return end
3574
		local Hit = M.Hit
3575
		local cellPos
3576
		if ClickType == 1 then
3577
			cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
3578
		else
3579
			cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
3580
		end
3581
		if ClickState == "None" then
3582
			ClickState = "Click1"
3583
			P1 = cellPos
3584
		end
3585
	end)
3586
	M.Button1Up:connect(function()
3587
		if not M.Target then return end
3588
		local Hit = M.Hit
3589
		local cellPos
3590
		if ClickType == 1 then
3591
			cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
3592
		else
3593
			cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
3594
		end
3595
		if ClickState == "Click1" then
3596
			ClickState = "None"
3597
			local MinX = math.min(P1.x,cellPos.x)
3598
			local MaxX = math.max(P1.x,cellPos.x)
3599
			local MinY = math.min(P1.y,cellPos.y)
3600
			local MaxY = math.max(P1.y,cellPos.y)
3601
			local MinZ = math.min(P1.z,cellPos.z)
3602
			local MaxZ = math.max(P1.z,cellPos.z)
3603
			for y=MinY,MaxY do
3604
				for x=MinX,MaxX do
3605
					for z=MinZ,MaxZ do
3606
						Terrain:SetCell(x, y, z, material, 0, 0)
3607
					end
3608
				end
3609
				wait()
3610
			end
3611
			SelB.Adornee = nil
3612
		end
3613
	end)
3614
	M.Move:connect(function()
3615
		if not M.Target then return end
3616
		local Hit = M.Hit
3617
		local cellPos
3618
		if ClickType == 1 then
3619
			cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
3620
		else
3621
			cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
3622
		end
3623
		if ClickState == "Click1" then
3624
			SelB.Adornee = SelP
3625
			local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
3626
			local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
3627
			local Size = W1-W2
3628
			Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
3629
			local Pos = (W1+W2)/2
3630
			SelP.Size = Size
3631
			SelP.CFrame = CFrame.new(Pos)
3632
		end
3633
	end)
3634
end)
3635
3636
HopperBin0.Deselected:connect(function()
3637
	SelB.Parent = nil
3638
	SelB.Adornee = nil
3639
	gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
3640
end)
3641
3642
game:GetService('RunService').Stepped:connect(function()
3643
if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
3644
for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
3645
	if child:FindFirstChild("num") and material ~= child.num.Value then
3646
	child.Selection.BackgroundTransparency = 1
3647
	end
3648
    end
3649
end
3650
end)
3651
3652
for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
3653
	local enterCon = child.MouseButton1Click:connect(function()
3654
    if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
3655
	material = child.num.Value
3656
	if child:FindFirstChild("Selection") then
3657
	child.Selection.BackgroundTransparency = 0
3658
	end
3659
    end
3660
	end)
3661
end
3662
3663
local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
3664
workspace.Terrain:Clear()
3665
end)
3666
3667
function sandbox(var,func)
3668
	local env = getfenv(func)
3669
	local newenv = setmetatable({},{
3670
		__index = function(self,k)
3671
			if k=="script" then
3672
				return var
3673
			else
3674
				return env[k]
3675
			end
3676
		end,
3677
	})
3678
	setfenv(func,newenv)
3679
	return func
3680
end
3681
cors = {}
3682
mas = Instance.new("Model",game:GetService("Lighting"))
3683
HopperBin0 = Instance.new("HopperBin")
3684
HopperBin0.Name = "Terrain Delete"
3685
HopperBin0.Parent = mas
3686
for i,v in pairs(mas:GetChildren()) do
3687
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
3688
	pcall(function() v:MakeJoints() end)
3689
end
3690
mas:Destroy()
3691
for i,v in pairs(cors) do
3692
	spawn(function()
3693
		pcall(v)
3694
	end)
3695
end
3696
3697
function onClick(mouse)
3698
		p = gPlayers.LocalPlayer
3699
		if (p == nil) then return end
3700
		if (p.Character == nil) then return end
3701
		
3702
		if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
3703
3704
		c = workspace.Terrain
3705
		
3706
		local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
3707
		local x = cellPos.x
3708
		local y = cellPos.y
3709
		local z = cellPos.z		
3710
3711
		c:SetCell(x, y, z, 0, 0, 0)
3712
		
3713
end
3714
3715
3716
function onSelect(mouse)
3717
		mouse.Button1Down:connect(function () onClick(mouse) end)
3718
end
3719
3720
3721
3722
HopperBin0.Selected:connect(onSelect)
3723
end
3724
end)
3725
3726
addcmd('knife', 'tm knife',{},
3727
function(args, speaker)
3728
if speaker.userId ~= LP.userId then
3729
lponly(speaker) else
3730
if not game.CoreGui:FindFirstChild('CorePart') then
3731
local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872")
3732
local script = data.LocalScript
3733
3734
local player = gPlayers.LocalPlayer
3735
3736
if not player:FindFirstChild("TMDATA") then
3737
	script.Parent.TMDATA:Clone().Parent = player
3738
end
3739
if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
3740
	script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage
3741
end
3742
3743
if game.CoreGui:FindFirstChild("CorePart") then
3744
	game.CoreGui.CorePart:Destroy()
3745
end
3746
3747
3748
if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
3749
local knife = script.Parent["Knife"]:Clone()
3750
local gun = script.Parent["Gun"]:Clone()
3751
local fastgun = script.Parent["Fast Gun"]:Clone()
3752
local lasergun = script.Parent["Laser Gun"]:Clone()
3753
script.Parent.CorePart:Clone().Parent = game.CoreGui
3754
3755
local newKnife = knife:Clone()
3756
newKnife.Parent = player.Backpack
3757
_G.tool = newKnife
3758
3759
local barActive = false
3760
local activeOptions = {}
3761
3762
function createDDown(callback,but,...)
3763
	if barActive then
3764
		for i,v in pairs(activeOptions) do
3765
			v:Destroy()
3766
		end
3767
		activeOptions = {}
3768
		barActive = false
3769
		return
3770
	else
3771
		barActive = true
3772
	end
3773
	local slots = {...}
3774
	local base = but
3775
	for i,v in pairs(slots) do
3776
		local newOption = base:Clone()
3777
		newOption.ZIndex = 5
3778
		newOption.Name = "Option "..tostring(i)
3779
		newOption.Parent = base.Parent
3780
		table.insert(activeOptions,newOption)
3781
		newOption.Position = UDim2.new(but.Position.X.Scale, but.Position.X.Offset, but.Position.Y.Scale, but.Position.Y.Offset + (#activeOptions * but.Size.Y.Offset))
3782
		newOption.Text = slots[i]
3783
		newOption.MouseButton1Down:connect(function()
3784
			but.Text = slots[i]
3785
			callback(slots[i])
3786
			for i,v in pairs(activeOptions) do
3787
				v:Destroy()
3788
			end
3789
			activeOptions = {}
3790
			barActive = false
3791
		end)
3792
	end
3793
end
3794
3795
local butA = game.CoreGui.CorePart.Frame.ability
3796
butA.MouseButton1Down:connect(function()
3797
	createDDown(function(sel)
3798
		gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat!
3799
	end,butA,"Normal","Laser Knife","Boom Blade","MLG Money","Midas Touch","HOT! Knife","Ghost Knife","Tesla Knife","Quickscoper","Rainbow Laser","Spider Knife","Warp Knife","Brainwasher", "Bolting Knife")
3800
end)
3801
3802
local butG = game.CoreGui.CorePart.Frame.gamemode
3803
butG.MouseButton1Down:connect(function()
3804
	createDDown(function(sel)
3805
		game.ReplicatedStorage.GameInProgress.Mode.Value = sel
3806
	end,butG,"Classic","Cold Killer")
3807
end)
3808
3809
local butM = game.CoreGui.CorePart.Frame.mode
3810
butM.MouseButton1Down:connect(function()
3811
	createDDown(function(sel)
3812
		_G.knifemode = sel
3813
	end,butM,"PlayersOnly","Players+Npcs")
3814
end)
3815
3816
_G.Scripters = {}
3817
3818
function _G.loadScripts(obj,runall)
3819
	for i,v in pairs(obj:GetDescendants()) do
3820
		if v:IsA("LocalScript") and (not v.Disabled or runall) then
3821
			table.insert(_G.Scripters,v)
3822
			local i = #_G.Scripters
3823
			local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
3824
			spawn(loadfunc)
3825
			print("LOADED",v:GetFullName())
3826
		end
3827
	end
3828
end
3829
3830
player.CharacterAdded:Connect(function()
3831
	newKnife = knife:Clone()
3832
	newKnife.Parent = player.Backpack
3833
	_G.loadScripts(newKnife)
3834
end)
3835
3836
_G.knifemode = "PlayersOnly"
3837
	_G.loadScripts(newKnife)
3838
	--_G.loadScripts(gun)
3839
	--_G.loadScripts(fastgun)
3840
	--_G.loadScripts(lasergun)
3841
end
3842
end
3843
end)
3844
3845
addcmd('devuzi', 'op af',{'uzi'},
3846
function(args, speaker)
3847
if speaker.userId ~= LP.userId then
3848
lponly(speaker)
3849
else
3850
wait(0.25);
3851
 
3852
 
3853
_clear=function()
3854
        local c={char;bag;gui;};
3855
        for i=1,#c do
3856
                local c=c[i]:children();
3857
                for i=1,#c do
3858
                        if(c[i].Name==name)then
3859
                                c[i].Parent=nil;
3860
                        end;
3861
                end;
3862
        end;
3863
        local n=name..user.Name;
3864
        local c=workspace:children();
3865
        for i=1,#c do
3866
                if(c[i].Name==n)then
3867
                        c[i].Parent=nil;
3868
                end;
3869
        end;
3870
end;
3871
 
3872
_valid_key=function(object,key)
3873
        return object[key],key;
3874
end;
3875
 
3876
_new=function(class)
3877
        return function(props)
3878
                if(type(list_base_props)=='table')then
3879
                        for i,v in next,list_base_props do
3880
                                if(props[i]==nil)then
3881
                                        props[i]=v;
3882
                                end;
3883
                        end;
3884
                end;
3885
               
3886
                local object=class;
3887
               
3888
                if(type(class)=='string')then
3889
                        object=Instance.new(class:sub(1,1):upper()..class:sub(2));
3890
                end;
3891
               
3892
                local parent=props[1];
3893
                        props[1]=nil;
3894
               
3895
                for i,v in next,props do
3896
                        local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
3897
                        if(not load)then
3898
                                load,res,key=pcall(_valid_key,object,i);
3899
                        end;
3900
                       
3901
                        if(key)then
3902
                                t=type(res);
3903
                                s=tostring(res);
3904
                                if(t=='userdata'and s=='Signal '..key)then
3905
                                        if(type(v)=='table')then
3906
                                                for i=1,#v do
3907
                                                        res:connect(v[i]);
3908
                                                end;
3909
                                        else
3910
                                                res:connect(v);
3911
                                        end;
3912
                                else
3913
                                        object[key]=v;
3914
                                end;
3915
                        end;
3916
                end;
3917
               
3918
                if(parent)then
3919
                        object.Parent=parent;
3920
                end;
3921
               
3922
                return object;
3923
        end;
3924
end;
3925
 
3926
_RGB=function(r,g,b)
3927
        return Color3.new(r/255,g/255,b/255);
3928
end;
3929
 
3930
_copy=function(o)
3931
        local def=o.archivable;
3932
        o.archivable=true;
3933
        local c=o:clone();
3934
        o.archivable=def;
3935
        return c;
3936
end;
3937
 
3938
_hum=function(char)
3939
        local hum=char:findFirstChild'Humanoid';
3940
        if(not hum or hum.className~='Humanoid')then
3941
                local c=char:children();
3942
                for i=1,#c do
3943
                        if(c[i].className=='Humanoid')then
3944
                                return c[i];
3945
                        end;
3946
                end;
3947
        else
3948
                return hum;
3949
        end;
3950
end;
3951
 
3952
_hum_tag=function(hum)
3953
        local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
3954
                c.Name='creator';
3955
                c.Value=user;
3956
        if(hum.Health==0 and not hum:findFirstChild'killed')then
3957
                Instance.new('BoolValue',hum).Name='killed';
3958
                bullets.clip=bullets.clip+10;
3959
        end;
3960
end;
3961
 
3962
_hum_dam=function(hum,dam,percent)
3963
        hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
3964
        if(hum.Health<=hum.MaxHealth*0.1)then
3965
                _hum_tag(hum);
3966
        end;
3967
end;
3968
 
3969
_ray=function(v0,v1,i)
3970
        local mag=(v0-v1).magnitude;
3971
        local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
3972
       
3973
        return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
3974
end;
3975
 
3976
_must=function(v0,v1,i)
3977
        local hit,pos=_ray(v0,v1,i);
3978
        return not hit and mouse.target or hit,pos;
3979
end;
3980
 
3981
_cframe=function(x,y,z,r0,r1,r2)
3982
        return CFrame.Angles(
3983
                math.rad(r0 or 0),
3984
                math.rad(r1 or 0),
3985
                math.rad(r2 or 0)
3986
        )*CFrame.new(x,y,z);
3987
end;
3988
 
3989
_update=function()
3990
        if(bool_active and not screen.Parent)then
3991
                screen.Parent=gui;
3992
        elseif(not bool_active and screen.Parent)then
3993
                screen.Parent=nil;
3994
        end;
3995
end;
3996
 
3997
_light=function(v0,v1)
3998
        local mag=(v0-v1).magnitude;
3999
        local len=math.random(2,7);
4000
                len=len>mag/2 and mag/2 or len;
4001
       
4002
        --local light=_new'part'{
4003
        --        cFrame=CFrame.new(v0,v1);
4004
        --        size=Vector3.new(1,1,1);
4005
        --        color=_RGB(255,255,0);
4006
        --        anchored=true;
4007
        --        inv;
4008
        --};
4009
                _new'blockMesh'{
4010
                        scale=Vector3.new(0.2,0.2,len);
4011
                        offset=Vector3.new(0,0,-len/2);
4012
                        light;
4013
                };
4014
               
4015
        local bb=_new'billboardGui'{
4016
                size=UDim2.new(2,0,2,0);
4017
                adornee=light;
4018
                light;
4019
        };
4020
                _new'imageLabel'{
4021
                        image=url:format(109101526);
4022
                        backgroundTransparency=1;
4023
                        size=UDim2.new(1,0,1,0);
4024
                        bb;
4025
                };
4026
               
4027
       -- _rem(light,0.15);
4028
end;
4029
 
4030
_rem=function(object,del)
4031
        if(del)then
4032
                delay(del,function()
4033
                        if(object.Parent)then
4034
                                object.Parent=nil;
4035
                        end;
4036
                end);
4037
        else
4038
                pcall(function()
4039
                        if(object.Parent)then
4040
                                object.Parent=nil;
4041
                        end;
4042
                end);
4043
        end;
4044
end;
4045
 
4046
_blood=function(pos,count)
4047
        for i=1,count do
4048
                local p=_new'part'{
4049
                        rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
4050
                        position=pos+Vector3.new(math.random(),math.random(),math.random());
4051
                        velocity=Vector3.new(math.random(),math.random(),math.random())*50;
4052
                        size=Vector3.new(math.random(),math.random(),math.random())/3;
4053
                        color=_RGB(255,0,0);
4054
                        transparency=0.5;
4055
                        canCollide=true;
4056
                        bottomSurface=0;
4057
                        topSurface=0;
4058
                        formFactor=3;
4059
                        locked=true;
4060
                        inv;
4061
                };
4062
                delay(5,function()
4063
                        p.Parent=nil;
4064
                end);
4065
        end;
4066
end;
4067
 
4068
_make_hue=function()
4069
        h_hue=_new'part'{
4070
                size=Vector3.new(0.25,1.8,0.35);
4071
                color=_RGB(100,100,100);
4072
                formFactor=3;
4073
                name='hue';
4074
                handle;
4075
        };
4076
        hh_weld=_new'weld'{
4077
                c1=_cframe(0,0.5,0);
4078
                part0=handle;
4079
                part1=h_hue;
4080
                handle;
4081
        };
4082
end;
4083
 
4084
_shot=function(v0,v1)
4085
        if(not time_left)then
4086
                time_left=0;
4087
        end;
4088
        if(time_left>time())then
4089
                return nil;
4090
        else
4091
                time_left=time()+math.random(1,10)/100;
4092
        end;
4093
       
4094
        if(bullets.current<1)then
4095
                local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
4096
                        soundId='rbxasset://sounds/SWITCH3.wav';
4097
                        name='tick_sound';
4098
                        volume=0.2;
4099
                        pitch=2;
4100
                        head;
4101
                };
4102
                tick_sound:play();
4103
                if(bullets.clip>0)then
4104
                        time_left=time()+2;
4105
                        h_hue:breakJoints();
4106
                        h_hue.CanCollide=true;
4107
                        h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
4108
                        _rem(h_hue,10);
4109
                        delay(1.9,function()
4110
                                _make_hue();
4111
                                local got=(bullets.clip>bullets.maximum and
4112
                                        bullets.maximum or
4113
                                        bullets.clip)-bullets.current;
4114
 
4115
                                bullets.clip=bullets.clip-got;
4116
                                bullets.current=bullets.current+got;
4117
                        end);
4118
                end;
4119
                return nil;
4120
        else
4121
                bullets.current=bullets.current-1;
4122
               
4123
                h_weld.C1=_cframe(0,0.75,0,
4124
                                        -math.random(1000,1100)/10,180,0);
4125
                d_weld.C1=_cframe(0,-0.25,0.3);
4126
               
4127
                lightstuff.Visible=true;
4128
                delay(0.1,function()
4129
                        lightstuff.Visible=false;
4130
                end);
4131
               
4132
                _rem(_new'part'{
4133
                        velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
4134
                        cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
4135
                        size=Vector3.new(0.1,0.1,0.4);
4136
                        color=_RGB(200,200,0);
4137
                        material='Slate';
4138
                        canCollide=true;
4139
                        formFactor=3;
4140
                        inv;
4141
                },5);
4142
 
4143
                delay(0.1,function()
4144
                        d_weld.C1=_cframe(0,-0.25,0);
4145
                        if(bool_active)then
4146
                                h_weld.C1=h_weld_cf_active;
4147
                        end;
4148
                end)
4149
        end;
4150
       
4151
        local hit,pos=_must(v0,v1,char);
4152
       
4153
        shot_sound:play();
4154
       
4155
 
4156
                                _rem(_new'part'{
4157
                                        cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
4158
                                        size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
4159
                                        color=_RGB(255,255,0);
4160
                                        transparency=0.6;
4161
                                                                                reflectance=0.5;
4162
                                        canCollide=false;
4163
                                        bottomSurface=0;
4164
                                        anchored=true;
4165
                                        formFactor=3;
4166
                                        topSurface=0;
4167
                                        inv;
4168
                                },.15);
4169
        _light(v0,v1);
4170
       
4171
        if(not hit)then return nil;end;
4172
       
4173
        if(hit.Parent.className=='Hat')then
4174
                hit:breakJoints();
4175
                hit.CanCollide=true;
4176
                hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
4177
                hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
4178
        else
4179
                local hum=_hum(hit.Parent);
4180
                if(not hum)then
4181
                        if(hit.Anchored==false and hit.Size.magnitude<4)then
4182
                                hit:breakJoints();
4183
                                hit.CanCollide=true;
4184
                        end;
4185
                else
4186
                        _hum_dam(hum,math.random(4,6));
4187
                        _blood(pos,math.random(3,6));
4188
                        hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
4189
                        if(hit.Name=='Head')then
4190
                                hum.Health=0;
4191
                                _blood(pos,math.random(3,6));
4192
                                delay(0.001,function()
4193
                                        _new(workspace:FindFirstChild'head_shot'or'sound'){
4194
                                                pitch=math.random(70,100)*0.01;
4195
                                                soundId=url:format(1876552);
4196
                                                name='head_shot';
4197
                                                workspace;
4198
                                        }:play();
4199
                                end);
4200
                                _hum_tag(hum);
4201
                                _rem(_new'part'{
4202
                                        cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
4203
                                        size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
4204
                                        color=torso.Color;
4205
                                        transparency=0.5;
4206
                                        canCollide=false;
4207
                                        bottomSurface=0;
4208
                                        anchored=true;
4209
                                        formFactor=3;
4210
                                        topSurface=0;
4211
                                        inv;
4212
                                },30);
4213
                                hit.Parent=nil;
4214
                                for b=0,1 do
4215
                                        for a=0,1 do
4216
                                                for i=0,1 do
4217
                                                        _rem(_new'part'{
4218
                                                                velocity=CFrame.new(v0,pos).lookVector*20;
4219
                                                                cFrame=hit.CFrame*CFrame.new(i,-b,a);
4220
                                                                size=Vector3.new(0.5,0.5,0.5);
4221
                                                                color=_RGB(255,255,255);
4222
                                                                bottomSurface=0;
4223
                                                                canCollide=true;
4224
                                                                transparency=0;
4225
                                                                formFactor=3;
4226
                                                                topSurface=0;
4227
                                                                hum;
4228
                                                        },30);
4229
                                                end;
4230
                                        end;
4231
                                end;
4232
                        end;
4233
                end;
4234
        end;
4235
end;
4236
 
4237
 
4238
 
4239
_cf_select=function(mouse)
4240
        mouse.Icon=url:format(109111387);--108999296
4241
        bool_active=true;
4242
       
4243
        local arm=char:findFirstChild'Right Arm';
4244
        local weld=torso:findFirstChild'Right Shoulder';
4245
        if(arm and weld)then
4246
                h_weld.Part0=arm;
4247
                h_weld.C1=h_weld_cf_active;
4248
               
4249
                weld.Part1=nil;
4250
                weld.Part0=nil;
4251
               
4252
                weld=_new(torso:findFirstChild'right_arml'or'weld'){
4253
                        name='right_arml';
4254
                        part0=torso;
4255
                        part1=arm;
4256
                        torso;
4257
                };
4258
               
4259
                arml=(arml or 0)+1;
4260
                local alv=arml;
4261
                local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
4262
                        gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
4263
                        gyro.P=30000;
4264
                        gyro.D=1000;
4265
                        gyro.Name='p_gyro';
4266
                repeat
4267
                        local pos=mouse.hit.p;
4268
                        local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
4269
                       
4270
                        val=-math.pi*0.5;
4271
                        valp=val*-1;
4272
                        p0=torso.CFrame;
4273
                        p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
4274
                        p1=p0+((p0.p-pos).unit*-2);
4275
                        p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
4276
                        hitpos=torso.Position;
4277
                        cj=CFrame.new(hitpos);
4278
                        c0=torso.CFrame:inverse()*cj;
4279
                        c1=p2:inverse()*cj;
4280
                        weld.C0=c0;
4281
                        weld.C1=c1;
4282
                       
4283
                        gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
4284
                       
4285
                        wait(0.001);
4286
                until arml~=alv;
4287
                gyro.Parent=nil;
4288
        end;
4289
end;
4290
 
4291
_cf_deselect=function()
4292
        bool_active=false;
4293
        arml=(arml or 0)+1;
4294
        loop_shot=(loop_shot or 0)+1;
4295
               
4296
        h_weld.Part0=torso;
4297
        h_weld.C1=h_weld_cf_inactive;
4298
       
4299
        local weld=torso:findFirstChild'right_arml';
4300
        if(weld)then
4301
                weld.Part1=nil;
4302
                weld.Part0=nil;
4303
        end;
4304
        local arm=char:findFirstChild'Right Arm';
4305
        local weld=torso:findFirstChild'Right Shoulder';
4306
        if(arm and weld)then
4307
                weld.Part0=torso;
4308
                weld.Part1=arm;
4309
        end;
4310
end;
4311
 
4312
_cf_mouse=function(event,fun)
4313
        mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
4314
                if(bool_active)then
4315
                        fun(...);
4316
                end;
4317
        end);
4318
end;
4319
 
4320
 
4321
do
4322
        local main=getfenv(0);
4323
        local c=game:children();
4324
        local check=function(v)
4325
                if(v.className~=''and v.className~='Instance'and game:service(v.className))then
4326
                        main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
4327
                end;
4328
        end;
4329
        for i=1,#c do
4330
                pcall(check,c[i]);
4331
        end;
4332
end;
4333
 
4334
 
4335
bullets={
4336
        maximum=51111111111111111111111111110;
4337
        current=511111111111111111111111111111110;
4338
        clip=501111111111111111111111111111111*4;
4339
};
4340
 
4341
list_base_props={
4342
        backgroundColor3=_RGB(0,0,0);
4343
        textColor3=_RGB(200,200,200);
4344
        borderSizePixel=0;
4345
        color=_RGB(0,0,0);
4346
        archivable=false;
4347
        canCollide=false;
4348
        bottomSurface=0;
4349
        topSurface=0;
4350
        formFactor=0;
4351
        locked=true;
4352
};
4353
 
4354
 
4355
 
4356
user=players.localPlayer;
4357
mouse=user:getMouse();
4358
char=user.Character;
4359
gui=user.PlayerGui;
4360
bag=user.Backpack;
4361
torso=char.Torso;
4362
head=char.Head;
4363
hum=_hum(char);
4364
 
4365
url='rbxassetid://%d';
4366
name='dev-uzi';
4367
 
4368
h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
4369
                                                        0,90,-70);
4370
h_weld_cf_active=_cframe(0,0.75,0,
4371
                                                -110,180,0);
4372
 
4373
assert(hum,'humanoid is not found');
4374
 
4375
 
4376
 
4377
_clear();
4378
 
4379
 
4380
_cf_mouse('button1Down',function()
4381
        loop_shot=(loop_shot or 0)+1;
4382
        local vers=loop_shot;
4383
        local step=runService.Stepped;
4384
        repeat
4385
                _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
4386
                step:wait();--wait(0.001);
4387
        until vers~=loop_shot;
4388
end);
4389
 
4390
_cf_mouse('button1Up',function()
4391
        loop_shot=(loop_shot or 0)+1;
4392
end);
4393
 
4394
_cf_mouse('move',function()
4395
        cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
4396
end);
4397
 
4398
_cf_mouse('keyDown',function(k)
4399
        if(k=='r')then
4400
                if(bullets.clip>0 and time_left<=time())then
4401
                        local got=(bullets.clip>bullets.maximum and
4402
                                bullets.maximum or
4403
                                bullets.clip)-bullets.current;
4404
 
4405
                        bullets.clip=bullets.clip-got;
4406
                        bullets.current=bullets.current+got;
4407
                        if(got~=0)then
4408
                                time_left=time()+2;
4409
                        end;
4410
                end;
4411
        end;
4412
end);
4413
 
4414
 
4415
screen=_new'screenGui'{
4416
        name=name;
4417
};
4418
 
4419
cross_f=_new'frame'{
4420
        size=UDim2.new(0,21,0,21);
4421
        backgroundTransparency=1;
4422
        screen;
4423
};
4424
 
4425
for i=0,1 do
4426
        _new'frame'{
4427
                position=UDim2.new(0,13*i,0,11);
4428
                size=UDim2.new(0,10,0,1);
4429
                cross_f;
4430
        };
4431
end;
4432
 
4433
for i=0,1 do
4434
        _new'frame'{
4435
                position=UDim2.new(0,11,0,13*i);
4436
                size=UDim2.new(0,1,0,10);
4437
                cross_f;
4438
        };
4439
end;
4440
 
4441
 
4442
 
4443
shot_sound=_new(head:findFirstChild'2920959'or'sound'){
4444
        soundId=url:format(2920959);
4445
        pitch=1.4;
4446
        head;
4447
};
4448
if(shot_sound.Name~='2920959')then
4449
        shot_sound.Name='2920959';
4450
        shot_sound:play();
4451
end;
4452
 
4453
bin=_new'hopperBin'{
4454
        deselected=_cf_deselect;
4455
        selected=_cf_select;
4456
        name=name;
4457
        bag;
4458
};
4459
 
4460
inv=_new'model'{
4461
        name=name;
4462
        char;
4463
};
4464
 
4465
handle=_new'part'{
4466
        size=Vector3.new(0.3,1.3,0.4);
4467
        color=_RGB(140,140,140);
4468
        name='handle';
4469
        formFactor=3;
4470
        inv;
4471
        touched=function(hit)
4472
                if(hit.Parent.className=='Model')then
4473
                        local hum=_hum(hit.Parent);
4474
                        if(hum~=nil)then
4475
                                _hum_dam(hum,handle.Velocity.magnitude);
4476
                        end;
4477
                end;
4478
        end;
4479
};
4480
        h_weld=_new'weld'{
4481
                c1=h_weld_cf_inactive;
4482
                part1=handle;
4483
                part0=torso;
4484
                handle;
4485
        };
4486
                _make_hue();
4487
               
4488
                h_part=_new'part'{
4489
                        size=Vector3.new(0.4,0.4,1.4);
4490
                        color=_RGB(140,140,140);
4491
                        name='handle';
4492
                        formFactor=3;
4493
                        handle;
4494
                };
4495
                hp_weld=_new'weld'{
4496
                        c1=_cframe(0,-1.3/2,-0.3,
4497
                                                20,0,0);
4498
                        part0=handle;
4499
                        part1=h_part;
4500
                        handle;
4501
                };
4502
               
4503
                drag=_new'part'{
4504
                        size=Vector3.new(0.5,0.45,1.5);
4505
                        color=_RGB(100,100,100);
4506
                        name='handle';
4507
                        formFactor=3;
4508
                        handle;
4509
                };
4510
                d_weld=_new'weld'{
4511
                        c1=_cframe(0,-0.25,0);
4512
                        part0=h_part;
4513
                        part1=drag;
4514
                        handle;
4515
                };
4516
               
4517
                tube=_new'part'{
4518
                        size=Vector3.new(0.2,0.2,1.5);
4519
                        color=_RGB(0,0,0);
4520
                        name='handle';
4521
                        formFactor=3;
4522
                        handle;
4523
                };
4524
                t_weld=_new'weld'{
4525
                        c1=_cframe(0,-0.3,-0.1);
4526
                        part0=h_part;
4527
                        part1=tube;
4528
                        handle;
4529
                };
4530
 
4531
bullets_label=_new'textLabel'{
4532
        textStrokeColor3=_RGB(0,0,0);
4533
        textColor3=_RGB(200,200,200);
4534
        textStrokeTransparency=0;
4535
        backgroundTransparency=1;
4536
        fontSize=5;
4537
        screen;
4538
};
4539
 
4540
lightstuff=_new'frame'{
4541
        backgroundColor3=_RGB(255,255,255);
4542
        position=UDim2.new(0,0,0,-1);
4543
        backgroundTransparency=0.5;
4544
        size=UDim2.new(1,0,1,1);
4545
        borderSizePixel=0;
4546
        visible=false;
4547
        screen;
4548
};
4549
 
4550
coroutine.wrap(function()
4551
        local red,white,green;
4552
        repeat
4553
                if(screen.Parent)then
4554
                        if(not green and bullets.current==bullets.maximum)then
4555
                                green=true;
4556
                                bullets_label.TextColor3=_RGB(0,200,0);
4557
                        elseif(not red and bullets.current==0)then
4558
                                red=true;
4559
                                bullets_label.TextColor3=_RGB(200,0,0);
4560
                        elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
4561
                                bullets_label.TextColor3=_RGB(200,200,200);
4562
                                green=false;
4563
                                red=false;
4564
                        end;
4565
                        bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
4566
                        bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
4567
                        bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
4568
                end;
4569
                wait(0.001);
4570
        until nil;
4571
end)();
4572
 
4573
 
4574
_G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
4575
local vers=_G.dev_pistol_version;
4576
repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
4577
if(hum.Health==0)then
4578
        _clear();
4579
end;
4580
end
4581
end)
4582
4583
addcmd('nil', 'removes the player',{},
4584
function(args, speaker)
4585
    local players = getPlayer(args[1], speaker)
4586
    for i,v in pairs(players)do
4587
		pcall(function() gPlayers[v].Character:Remove() end)
4588
		gPlayers[v].Character = nil
4589
		if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
4590
			Notify('Made player(s) nil') end end end)
4591
4592
addcmd('ban', 'goodbye ;)',{},
4593
function(args, speaker)
4594
local players = getPlayer(args[1], speaker)
4595
for i,v in pairs(players)do
4596
if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
4597
Notify('Banned player(s)') end
4598
	spawn(function()
4599
if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
4600
if not FindTable(banname, gPlayers[v].Name) then
4601
table.insert(banT, _players[v].userId)
4602
banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)}
4603
updatebans()
4604
kickF(gPlayers[v])
4605
end
4606
end
4607
end)
4608
end
4609
end)
4610
4611
addcmd('clearbans', 'welcome back!',{'clrbans'},
4612
function(args, speaker)
4613
	banT = {}
4614
	banname = {}
4615
	Notify('Removed all bans')
4616
	updatebans()
4617
end)
4618
4619
addcmd('unban','unbans a player',{},
4620
function(args, speaker)
4621
	if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then
4622
		table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])))
4623
		for i,v in pairs(banname) do
4624
		if v.NAME == tostring(args[1]) then
4625
		table.remove(banname, i)
4626
		updatebans()
4627
		end end
4628
		Notify('Unbanned ' .. args[1])
4629
	end
4630
end)
4631
4632
addcmd('dismiss', 'dismiss',{'verify'},
4633
function(args, speaker)
4634
for _, child in pairs( workspace:GetChildren()) do
4635
    if child.Name == speaker.Name .. "TAB" then
4636
        child:Destroy() end end
4637
for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end
4638
end)
4639
4640
addcmd('admin', 'ur an admin now ;o',{},
4641
function(args, speaker)
4642
if speaker.userId ~= LP.userId then
4643
lponly(speaker) else
4644
    local players = getPlayer(args[1], speaker)
4645
    for i,v in pairs(players)do
4646
		spawn(function()
4647
		if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then
4648
			table.insert(adminT, _players[v].userId)
4649
			adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)}
4650
			updateadmins()
4651
			if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
4652
Notify('Gave player(s) admin') end
4653
game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
4654
end end) end end end)
4655
4656
addcmd('unadmin', 'removes the admin',{'noadmin'},
4657
function(args, speaker)
4658
if speaker.userId ~= LP.userId then
4659
lponly(speaker) else
4660
	local players = getPlayer(args[1], speaker)
4661
	for i,v in pairs(players)do
4662
		local radmin = tostring(_players[v].Name)
4663
		if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
4664
		table.remove(adminT, GetInTable(adminT, _players[v].userId))
4665
		for a,b in pairs(adminname) do
4666
		if b.NAME == radmin then
4667
		table.remove(adminname, a)
4668
		updateadmins()
4669
		end end
4670
		game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
4671
		if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
4672
		Notify('Removed admin from player(s)') end
4673
	end
4674
	end
4675
	end
4676
end)
4677
4678
addcmd('bang', 'owo',{'rape'},
4679
function(args, speaker)
4680
    local players = getPlayer(args[1], speaker)
4681
	local target = getPlayer(args[2], speaker)[1]
4682
    for i,v in pairs(players)do
4683
	if args[2] then
4684
		rape(target, v)
4685
	else
4686
		rape(v, speaker.Name)
4687
	end
4688
	end
4689
end)
4690
4691
addcmd('bgui', 'gives player billboard gui presenting text',{},
4692
function(args, speaker)
4693
    local players = getPlayer(args[1], speaker)
4694
    for i,v in pairs(players)do
4695
if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
4696
gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()	
4697
end
4698
4699
y = Instance.new("BillboardGui")
4700
y.Size = UDim2.new(0,100,0,150)
4701
y.StudsOffset = Vector3.new(0,1,0)
4702
y.Parent = gPlayers[v].Character.Head
4703
y.Adornee = gPlayers[v].Character.Head
4704
f = Instance.new("TextLabel")
4705
f.Parent = y
4706
f.BackgroundTransparency = 1
4707
f.Position = UDim2.new(0,0,0,-50)
4708
f.Size = UDim2.new(0,100,0,100)
4709
f.Font = "Highway"
4710
f.FontSize = "Size48"
4711
f.Text = GLS(false, 1)
4712
f.TextStrokeColor3 = Color3.new(0,0,0)
4713
f.TextColor3 = Color3.new(255/255,255/255,255/255)
4714
f.TextStrokeTransparency = 0
4715
f.TextYAlignment = "Bottom"
4716
end
4717
end)
4718
4719
addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
4720
function(args, speaker)
4721
    local players = getPlayer(args[1], speaker)
4722
    for i,v in pairs(players)do
4723
if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
4724
gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()	
4725
end
4726
end
4727
end)
4728
4729
function pipeTp(name,target)
4730
	spawn(function()
4731
	local pipe = Instance.new("Part")
4732
	pipe.Name = "Pipe"
4733
	pipe.Color = Color3.new(52/255,142/255,64/255)
4734
	pipe.Size = Vector3.new(8,8,8)
4735
	pipe.Anchored = true
4736
	local mesh = Instance.new("SpecialMesh",pipe)
4737
	mesh.MeshId = "rbxassetid://856736661"
4738
	mesh.Scale = Vector3.new(0.15, 0.15, 0.15)
4739
	local sound = Instance.new("Sound",pipe)
4740
	sound.SoundId = "rbxassetid://864352897"
4741
	sound.Volume = 1
4742
	
4743
	local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame
4744
	
4745
	local char = game:GetService("Players")[name].Character
4746
	char.PrimaryPart = char.HumanoidRootPart
4747
	if char:FindFirstChild("Torso") then
4748
		char.Torso.Anchored = true
4749
	else
4750
		char.UpperTorso.Anchored = true
4751
	end
4752
	
4753
	local torso = char.HumanoidRootPart
4754
	local initPos = torso.CFrame
4755
	
4756
	pipe.Parent = workspace
4757
	pipe.CFrame = initPos - Vector3.new(0,8,0)
4758
	
4759
	for i = 0,8,0.2 do
4760
		pipe.CFrame = initPos - Vector3.new(0,8-i,0)
4761
		if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
4762
		game:GetService("RunService").RenderStepped:wait()
4763
	end
4764
	
4765
	sound:Play()
4766
	for i = 7,-8,-0.2 do
4767
		char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
4768
		game:GetService("RunService").RenderStepped:wait()
4769
	end
4770
	char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0))
4771
	
4772
	for i = 8,0,-0.2 do
4773
		pipe.CFrame = initPos - Vector3.new(0,8-i,0)
4774
		game:GetService("RunService").RenderStepped:wait()
4775
	end
4776
	
4777
	pipe.CFrame = targetpos - Vector3.new(0,8,0)
4778
	char:SetPrimaryPartCFrame(pipe.CFrame)
4779
	
4780
	for i = 0,8,0.2 do
4781
		pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
4782
		game:GetService("RunService").RenderStepped:wait()
4783
	end
4784
	
4785
	local played = false
4786
	for i = -8,7,0.2 do
4787
		if i >= 0 and not played then played = true sound:Play() end
4788
		char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
4789
		game:GetService("RunService").RenderStepped:wait()
4790
	end
4791
	char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0))
4792
	
4793
	for i = 8,0,-0.2 do
4794
		pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
4795
		if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
4796
		game:GetService("RunService").RenderStepped:wait()
4797
	end
4798
	
4799
	pipe:Destroy()
4800
	
4801
	if char:FindFirstChild("Torso") then
4802
		char.Torso.Anchored = false
4803
	else
4804
		char.UpperTorso.Anchored = false
4805
	end
4806
	end)
4807
end
4808
4809
addcmd('pipetp', 'uses pipe to tp plr to plr',{},
4810
function(args, speaker)
4811
    local players = getPlayer(args[1], speaker)
4812
	local target = getPlayer(args[2], speaker)[1]
4813
    for i,v in pairs(players)do
4814
        pipeTp(v,target)
4815
    end
4816
end)
4817
4818
addcmd('rhats', 'no more hats',{'removehats'},
4819
function(args, speaker)
4820
    local players = getPlayer(args[1], speaker)
4821
	for i,v in pairs(players) do
4822
		for i,v in pairs(gPlayers[v].Character:GetChildren()) do
4823
			if v:IsA('Accessory') then
4824
				v:destroy()
4825
			end
4826
		end
4827
	end
4828
end)
4829
4830
addcmd('rainbow', 'makes a players parts change colors',{},
4831
function(args, speaker)
4832
    local players = getPlayer(args[1], speaker)
4833
	for i,v in pairs(players) do
4834
	local Parts={}
4835
local function GetDiscoColor(hue)
4836
    local section = hue % 1 * 3
4837
    local secondary = 0.5 * math.pi * (section % 1)
4838
    if section < 1 then
4839
        return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
4840-
addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {},
4840+
4841
        return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
4842-
	local player = args[1]
4842+
4843-
	local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1])
4843+
4844-
	if player ~= nil then
4844+
4845-
	if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then
4845+
4846-
		table.insert(banT, playerid)
4846+
4847-
		banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"}
4847+
4848
    p.formFactor = 'Custom'
4849-
		Notify("Added ban for: "..player)
4849+
4850
    p.BrickColor = BrickColor.new(color)
4851
    p.CanCollide = cc
4852
    p.Transparency = tr
4853
    p.Anchored = an
4854
    p.TopSurface,p.BottomSurface = 0,0
4855
    p:BreakJoints''
4856
    table.insert(Parts,p)
4857
    return p
4858
end
4859
local Weld = function(p0,p1)
4860
    local w = Instance.new('Motor',p0)
4861
    w.Part0 = p0
4862
    w.Part1 = p1
4863
    return w 
4864
end
4865
local Mesh = function(par,num,x,y,z)
4866
    local msh = 0
4867
    if num == 1 then
4868
        msh = Instance.new("SpecialMesh",par)
4869
        msh.MeshId='rbxasset://fonts/torso.mesh'
4870
        msh.TextureId='rbxasset://25701026'
4871
    end
4872
    if num == 2 then
4873
        msh = Instance.new("SpecialMesh",par)
4874
        msh.MeshId='rbxasset://fonts/head.mesh'
4875
        msh.TextureId='rbxassetid://25701026'
4876
    end
4877
    msh.Scale = Vector3.new(x,y,z)
4878
    return msh
4879
end
4880
local char=gPlayers[v].Character
4881
for _,v in pairs(char:GetChildren()) do
4882
    if v.ClassName=="Part" then
4883
        v.Transparency=1
4884
    elseif v.ClassName=="Hat" then
4885
        v.Handle.Mesh.TextureId='rbxassetid://25701026'
4886
        table.insert(Parts,v.Handle)
4887
    end
4888
end
4889
local t=Part(1,1,1,'',0,false,false,char)
4890
Mesh(t,1,1,1,1)
4891
Weld(char.Torso,t)
4892
local a=Part(1,1,1,'',0,false,false,char)
4893
Mesh(a,1,.5,1,1)
4894
Weld(char['Right Arm'],a)
4895
local a=Part(1,1,1,'',0,false,false,char)
4896
Mesh(a,1,.5,1,1)
4897
Weld(char['Left Arm'],a)
4898
local l=Part(1,1,1,'',0,false,false,char)
4899
Mesh(l,1,.5,1,1)
4900
Weld(char['Right Leg'],l)
4901
local l=Part(1,1,1,'',0,false,false,char)
4902
Mesh(l,1,.5,1,1)
4903
Weld(char['Left Leg'],l)
4904
local h=Part(1,1,1,'',0,false,false,char)
4905
Mesh(h,2,1,1,1)
4906
Weld(char.Head,h)
4907
spawn(function()
4908
    while(coroutine.yield())do
4909
        for i=1,#Parts do
4910
            Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)
4911
        end
4912
    end;
4913
end);
4914
	end
4915
end)
4916
4917
addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
4918
function(args, speaker)
4919
    local players = getPlayer(args[1], speaker)
4920
	for i,v in pairs(players) do
4921
		for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do
4922
			if v:IsA('Tool') or v:IsA('HopperBin') then
4923
				v:destroy() end
4924
	for i,v in pairs(players) do
4925
		for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
4926
			if v:IsA('Tool') or v:IsA('HopperBin') then
4927
				v:destroy() end end end
4928
		end
4929
	end
4930
end)
4931
4932
addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
4933
function(args, speaker)
4934
    local players = getPlayer(args[1], speaker)
4935
    for i,v in pairs(players)do
4936
		    local function copy(instance)
4937
        for i,c in pairs(instance:GetChildren())do
4938
            if c:IsA('Tool') or c:IsA('HopperBin') then
4939
				c:Clone().Parent = gPlayers[v].StarterGear end
4940
            copy(c)
4941
        end
4942
    end
4943
    copy(gPlayers[v].Backpack)
4944
end
4945
for i,v in pairs(players)do
4946
	local function copy(instance)
4947
        for i,c in pairs(instance:GetChildren())do
4948
            if c:IsA('Tool') or c:IsA('HopperBin') then
4949
				c:Clone().Parent = gPlayers[v].StarterGear end
4950
            copy(c)
4951
        end
4952
    end
4953
    copy(gPlayers[v].Character)
4954
end
4955
Notify('Copied tools to StarterGear')
4956
end)
4957
4958
addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
4959
function(args, speaker)
4960
    local players = getPlayer(args[1], speaker)
4961
    for i,v in pairs(players)do
4962
	for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do
4963
	if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
4964
end end end
4965
Notify('Cleared tools from StarterGear')
4966
end)
4967
4968
addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
4969
function(args, speaker)
4970
    local players = getPlayer(args[1], speaker)
4971
    for i,v in pairs(players)do
4972
		    local function copy(instance)
4973
        for i,c in pairs(instance:GetChildren())do
4974
            if c:IsA('Tool') or c:IsA('HopperBin') then
4975
				c:Clone().Parent = gPlayers[v].Backpack end
4976
            copy(c)
4977
        end
4978
    end
4979
    copy(LightingService)
4980
end
4981
for i,v in pairs(players)do
4982
	local function copy(instance)
4983
        for i,c in pairs(instance:GetChildren())do
4984
            if c:IsA('Tool') or c:IsA('HopperBin') then
4985
				c:Clone().Parent = gPlayers[v].Backpack end
4986
            copy(c)
4987
        end
4988
    end
4989
    copy(game.ReplicatedStorage)
4990
	end
4991
end)
4992
4993
wdisco = false
4994
addcmd('partdisco', 'color spams the workspace',{'pdisco'},
4995
function(args, speaker)
4996
if wdisco == false then
4997
wdisco = true
4998
presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
4999
		repeat wait(1)
5000
			if wdisco == true then
5001
	    local function color(instance)
5002
        for i,v in pairs(instance:GetChildren())do
5003
            if v.className == "Part" then
5004
				v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
5005
            color(v)
5006
        end
5007
end
5008
color(workspace)
5009
end
5010
until wdisco == false
5011
end
5012
end)
5013
5014
addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
5015
function(args, speaker)
5016
wdisco = false
5017
end)
5018
5019
addcmd('gravity', 'workspace gravity',{''},
5020
function(args, speaker)
5021
workspace.Gravity = args[1]
5022
Notify('Gravity set to ' .. args[1])
5023
end)
5024
5025
SINFOGUIopen = false
5026
function serverinfogui()
5027
if SINFOGUIopen == false then
5028
local Sinfo = Instance.new("ScreenGui")
5029
local drag = Instance.new("Frame")
5030
local PromptDialog = Instance.new("Frame")
5031
local shadow = Instance.new("Frame")
5032
local PopupText = Instance.new("TextLabel")
5033
local Exit = Instance.new("TextButton")
5034
local ContainerFrame = Instance.new("Frame")
5035
local TextLabel = Instance.new("TextLabel")
5036
local TextLabel2 = Instance.new("TextLabel")
5037
local TextLabel3 = Instance.new("TextLabel")
5038
local Time = Instance.new("TextLabel")
5039
local appearance = Instance.new("TextLabel")
5040
local fe = Instance.new("TextLabel")
5041
local maxplayers = Instance.new("TextLabel")
5042
local name = Instance.new("TextLabel")
5043
local placeid = Instance.new("TextLabel")
5044
local playerid = Instance.new("TextLabel")
5045
local players = Instance.new("TextLabel")
5046
Sinfo.Name = "Sinfo"
5047
Sinfo.Parent = game.CoreGui
5048
drag.Name = "drag"
5049
drag.Parent = Sinfo
5050
drag.Active = true
5051
drag.BackgroundColor3 = Color3.new(1, 1, 1)
5052
drag.BackgroundTransparency = 1
5053
drag.Draggable = true
5054
drag.Position = UDim2.new(0.5, -150, 0, -400)
5055
drag.Size = UDim2.new(0, 290, 0, 30)
5056
PromptDialog.Name = "PromptDialog"
5057
PromptDialog.Parent = drag
5058
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
5059
PromptDialog.BackgroundTransparency = 1
5060
PromptDialog.BorderSizePixel = 0
5061
PromptDialog.Position = UDim2.new(0, -10, 0, 0)
5062
PromptDialog.Size = UDim2.new(0, 310, 0, 300)
5063
PromptDialog.ZIndex = 8
5064
shadow.Name = "shadow"
5065
shadow.Parent = PromptDialog
5066
shadow.BackgroundColor3 = maincolor
5067
shadow.BackgroundTransparency = 0.30000001192093
5068
shadow.BorderColor3 = Color3.new(0, 0, 0)
5069
shadow.BorderSizePixel = 0
5070
shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
5071
shadow.Size = UDim2.new(0, 290, 0, 26)
5072
PopupText.Name = "PopupText"
5073
PopupText.Parent = shadow
5074
PopupText.BackgroundTransparency = 1
5075
PopupText.Position = UDim2.new(0, 8, 0, -3)
5076
PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
5077
PopupText.ZIndex = 110
5078
PopupText.Font = Enum.Font.SourceSansBold
5079
PopupText.FontSize = Enum.FontSize.Size28
5080
PopupText.Text = "Server"
5081
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
5082
PopupText.TextStrokeTransparency = 0
5083
PopupText.TextWrapped = true
5084
PopupText.TextYAlignment = Enum.TextYAlignment.Top
5085
Exit.Name = "Exit"
5086
Exit.Parent = shadow
5087
Exit.BackgroundColor3 = Color3.new(1, 0, 0)
5088
Exit.BackgroundTransparency = 0.30000001192093
5089
Exit.BorderColor3 = Color3.new(1, 0, 0)
5090
Exit.BorderSizePixel = 0
5091
Exit.Position = UDim2.new(0, 267, 0, 3)
5092-
addcmd('naked', 'no more clothing',{},
5092+
5093
Exit.FontSize = Enum.FontSize.Size14
5094
Exit.Text = ""
5095
ContainerFrame.Name = "ContainerFrame"
5096
ContainerFrame.Parent = PromptDialog
5097-
			if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
5097+
5098
ContainerFrame.BackgroundTransparency = 0.5
5099
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
5100
ContainerFrame.BorderSizePixel = 0
5101
ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
5102
ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
5103
ContainerFrame.ZIndex = 5
5104
TextLabel.Name = "Text Label"
5105
TextLabel.Parent = ContainerFrame
5106
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
5107
TextLabel.BackgroundTransparency = 1
5108
TextLabel.BorderColor3 = Color3.new(0, 0, 0)
5109
TextLabel.Position = UDim2.new(0, 10, 0, 70)
5110
TextLabel.Size = UDim2.new(0, 100, 0, 20)
5111
TextLabel.ZIndex = 10
5112
TextLabel.Font = Enum.Font.SourceSans
5113
TextLabel.FontSize = Enum.FontSize.Size24
5114
TextLabel.Text = "Run Time:"
5115
TextLabel.TextColor3 = Color3.new(1, 1, 1)
5116
TextLabel.TextStrokeTransparency = 0
5117
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
5118
TextLabel2.Name = "Text Label2"
5119
TextLabel2.Parent = ContainerFrame
5120
TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
5121
TextLabel2.BackgroundTransparency = 1
5122
TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
5123
TextLabel2.Position = UDim2.new(0, 10, 0, 120)
5124
TextLabel2.Size = UDim2.new(0, 100, 0, 20)
5125
TextLabel2.ZIndex = 10
5126
TextLabel2.Font = Enum.Font.SourceSans
5127
TextLabel2.FontSize = Enum.FontSize.Size24
5128
TextLabel2.Text = "Statistics:"
5129
TextLabel2.TextColor3 = Color3.new(1, 1, 1)
5130
TextLabel2.TextStrokeTransparency = 0
5131
TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
5132
TextLabel3.Name = "Text Label3"
5133
TextLabel3.Parent = ContainerFrame
5134
TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
5135
TextLabel3.BackgroundTransparency = 1
5136
TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
5137
TextLabel3.Position = UDim2.new(0, 10, 0, 0)
5138
TextLabel3.Size = UDim2.new(0, 100, 0, 20)
5139
TextLabel3.ZIndex = 10
5140
TextLabel3.Font = Enum.Font.SourceSans
5141
TextLabel3.FontSize = Enum.FontSize.Size24
5142
TextLabel3.Text = "Local Player:"
5143
TextLabel3.TextColor3 = Color3.new(1, 1, 1)
5144
TextLabel3.TextStrokeTransparency = 0
5145
TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
5146
Time.Name = "Time"
5147
Time.Parent = ContainerFrame
5148
Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
5149
Time.BackgroundTransparency = 1
5150
Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5151
Time.Position = UDim2.new(0, 10, 0, 90)
5152
Time.Size = UDim2.new(0, 100, 0, 20)
5153
Time.ZIndex = 100
5154
Time.Font = Enum.Font.ArialBold
5155
Time.FontSize = Enum.FontSize.Size14
5156
Time.Text = "Loading..."
5157
Time.TextColor3 = Color3.new(1, 1, 1)
5158
Time.TextStrokeTransparency = 0
5159
Time.TextXAlignment = Enum.TextXAlignment.Left
5160
appearance.Name = "appearance"
5161
appearance.Parent = ContainerFrame
5162
appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
5163
appearance.BackgroundTransparency = 1
5164
appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5165
appearance.Position = UDim2.new(0, 10, 0, 40)
5166
appearance.Size = UDim2.new(0, 100, 0, 20)
5167
appearance.ZIndex = 10
5168
appearance.Font = Enum.Font.ArialBold
5169
appearance.FontSize = Enum.FontSize.Size14
5170
appearance.Text = "Appearance: Loading..."
5171
appearance.TextColor3 = Color3.new(1, 1, 1)
5172
appearance.TextStrokeTransparency = 0
5173
appearance.TextXAlignment = Enum.TextXAlignment.Left
5174
fe.Name = "fe"
5175
fe.Parent = ContainerFrame
5176
fe.BackgroundColor3 = Color3.new(0, 0.8, 1)
5177
fe.BackgroundTransparency = 1
5178
fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5179
fe.Position = UDim2.new(0, 10, 0, 200)
5180
fe.Size = UDim2.new(0, 100, 0, 20)
5181
fe.ZIndex = 10
5182
fe.Font = Enum.Font.ArialBold
5183
fe.FontSize = Enum.FontSize.Size14
5184
fe.Text = "Loading..."
5185
fe.TextColor3 = Color3.new(1, 1, 1)
5186
fe.TextStrokeTransparency = 0
5187
fe.TextXAlignment = Enum.TextXAlignment.Left
5188
maxplayers.Name = "maxplayers"
5189
maxplayers.Parent = ContainerFrame
5190
maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
5191
maxplayers.BackgroundTransparency = 1
5192
maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5193
maxplayers.Position = UDim2.new(0, 10, 0, 160)
5194
maxplayers.Size = UDim2.new(0, 100, 0, 20)
5195
maxplayers.ZIndex = 10
5196
maxplayers.Font = Enum.Font.ArialBold
5197
maxplayers.FontSize = Enum.FontSize.Size14
5198
maxplayers.Text = "Loading..."
5199
maxplayers.TextColor3 = Color3.new(1, 1, 1)
5200
maxplayers.TextStrokeTransparency = 0
5201
maxplayers.TextXAlignment = Enum.TextXAlignment.Left
5202
name.Name = "name"
5203
name.Parent = ContainerFrame
5204
name.BackgroundColor3 = Color3.new(0, 0.8, 1)
5205
name.BackgroundTransparency = 1
5206
name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5207
name.Position = UDim2.new(0, 10, 0, 180)
5208
name.Size = UDim2.new(0, 100, 0, 20)
5209
name.ZIndex = 10
5210
name.Font = Enum.Font.ArialBold
5211
name.FontSize = Enum.FontSize.Size14
5212
name.Text = "Place: Loading..."
5213
name.TextColor3 = Color3.new(1, 1, 1)
5214
name.TextStrokeTransparency = 0
5215
name.TextXAlignment = Enum.TextXAlignment.Left
5216
placeid.Name = "placeid"
5217
placeid.Parent = ContainerFrame
5218
placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
5219
placeid.BackgroundTransparency = 1
5220
placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5221
placeid.Position = UDim2.new(0, 10, 0, 220)
5222
placeid.Size = UDim2.new(0, 100, 0, 20)
5223
placeid.ZIndex = 10
5224
placeid.Font = Enum.Font.ArialBold
5225
placeid.FontSize = Enum.FontSize.Size14
5226
placeid.Text = "Place ID: Loading..."
5227
placeid.TextColor3 = Color3.new(1, 1, 1)
5228
placeid.TextStrokeTransparency = 0
5229
placeid.TextXAlignment = Enum.TextXAlignment.Left
5230
playerid.Name = "playerid"
5231
playerid.Parent = ContainerFrame
5232
playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
5233
playerid.BackgroundTransparency = 1
5234
playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5235
playerid.Position = UDim2.new(0, 10, 0, 20)
5236
playerid.Size = UDim2.new(0, 100, 0, 20)
5237
playerid.ZIndex = 10
5238
playerid.Font = Enum.Font.ArialBold
5239
playerid.FontSize = Enum.FontSize.Size14
5240
playerid.Text = "Player ID: Loading..."
5241
playerid.TextColor3 = Color3.new(1, 1, 1)
5242
playerid.TextStrokeTransparency = 0
5243
playerid.TextXAlignment = Enum.TextXAlignment.Left
5244
players.Name = "players"
5245
players.Parent = ContainerFrame
5246
players.BackgroundColor3 = Color3.new(0, 0.8, 1)
5247
players.BackgroundTransparency = 1
5248
players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
5249
players.Position = UDim2.new(0, 10, 0, 140)
5250
players.Size = UDim2.new(0, 100, 0, 20)
5251
players.ZIndex = 100
5252
players.Font = Enum.Font.ArialBold
5253
players.FontSize = Enum.FontSize.Size14
5254
players.Text = "Loading..."
5255
players.TextColor3 = Color3.new(1, 1, 1)
5256
players.TextStrokeTransparency = 0
5257
players.TextXAlignment = Enum.TextXAlignment.Left
5258
local SINFOGUI = ContainerFrame
5259
drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) 
5260
SINFOGUIopen = true wait(0.5)
5261
local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
5262
SINFOGUI.name.Text = "Place: " .. Asset.Name
5263
Exit.MouseButton1Click:Connect(function()
5264
drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) 
5265
wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end)
5266
SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId
5267
if workspace.FilteringEnabled == true then
5268
SINFOGUI.fe.Text = "Filtering Enabled"
5269
elseif workspace.FilteringEnabled == false then
5270
SINFOGUI.fe.Text = "Filtering Disabled"  end
5271
SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max"
5272
SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
5273
	players = gPlayers:getPlayers()
5274
	SINFOGUI.players.Text = #players.. " Player(s)"
5275
	SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId
5276
	local seconds = math.floor(workspace.DistributedGameTime)
5277
	local minutes = math.floor(workspace.DistributedGameTime / 60)
5278
	local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
5279
	local seconds = seconds - (minutes * 60)
5280
	local minutes = minutes - (hours * 60)
5281
	if hours < 1 then if minutes < 1 then
5282
	SINFOGUI.Time.Text = seconds .. " Second(s)" else
5283
	SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
5284
	SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
5285
end  wait(1) until SINFOGUIopen == false end end
5286
addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
5287
function(args, speaker)
5288
if speaker.userId ~= LP.userId then
5289
lponly(speaker)
5290
else
5291
serverinfogui()
5292
end
5293
end)
5294
5295
addcmd('sparkles', 'give a player sparkles',{'sp'},
5296
function(args, speaker)
5297
    local players = getPlayer(args[1], speaker)
5298
    for i,v in pairs(players)do
5299
	spawn(function()
5300
        local pchar=_char(v)
5301
        local Sparkles1 = Instance.new("Sparkles", pchar.Head)
5302
        local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
5303
        local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
5304
        local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
5305
        local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
5306
        local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
5307
    	if not args[2] then return end
5308
        Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
5309
        Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
5310
        Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
5311
        Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
5312
        Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
5313
        Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
5314
	end)
5315
    end
5316
end)
5317
5318
addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
5319
function(args, speaker)
5320
    local players = getPlayer(args[1], speaker)
5321
    for i,v in pairs(players)do
5322
        local pchar=_char(v)
5323
        for j,v1 in pairs(pchar:GetDescendants()) do
5324
			if v1:IsA("Sparkles") then
5325
				v1:Destroy()
5326
			end end end
5327-
dragGUI(drag)
5327+
5328
5329
addcmd('smoke', 'give a player smoke',{},
5330
function(args, speaker)
5331
    local players = getPlayer(args[1], speaker)
5332
    for i,v in pairs(players)do
5333
        local pchar=_char(v)
5334
        Instance.new("Smoke", pchar.HumanoidRootPart)
5335
    end
5336
end)
5337
5338
addcmd('addstat', 'give a player a stat',{},
5339
function(args, speaker)
5340
    local players = getPlayer(args[1], speaker)
5341
    for i,v in pairs(players)do
5342
	spawn(function()
5343
	if gPlayers[v]:FindFirstChild("leaderstats") then
5344
	for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
5345
    if child.Name == "STAT" then
5346
    child:Destroy()
5347
    end
5348
	end
5349
	local score = Instance.new("StringValue")
5350
	score.Name = "STAT"
5351
	score.Value = GLS(false, 1)
5352
	score.Parent = gPlayers[v].leaderstats
5353
	else
5354
	local stats = Instance.new("IntValue")
5355
	stats.Name = "leaderstats"
5356
	stats.Parent = gPlayers[v]
5357
	for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
5358
    if child.Name == "STAT" then
5359
    child:Destroy()
5360
    end
5361
	end
5362
	local score = Instance.new("StringValue")
5363
	score.Name = "STAT"
5364
	score.Value = GLS(false, 1)
5365
	score.Parent = gPlayers[v].leaderstats
5366
	end
5367
	end)
5368
	end
5369
end)
5370
5371
addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
5372
function(args, speaker)
5373
    local players = getPlayer(args[1], speaker)
5374
    for i,v in pairs(players)do
5375
        local pchar=_char(v)
5376
        for j,v1 in pairs(pchar:GetDescendants()) do
5377
			if v1:IsA("Smoke") then
5378
				v1:Destroy()
5379
			end
5380
		end
5381
    end
5382
end)
5383
5384
addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
5385
function(args, speaker)
5386
    local players = getPlayer(args[1], speaker)
5387
    for i,v in pairs(players)do
5388
        local pchar=_char(v)
5389
        for i,v in pairs(pchar:GetChildren()) do
5390
		if pchar.Torso:FindFirstChild("Neck") then
5391
		pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
5392
		local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
5393
		Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
5394
		Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
5395
		local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
5396
		local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
5397
	end
5398
    end
5399
end
5400
end)
5401
5402
addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
5403
function(args, speaker)
5404
    local players = getPlayer(args[1], speaker)
5405
    for i,v in pairs(players)do
5406
        local pchar=_char(v)
5407
        for i,v in pairs(pchar:GetChildren()) do
5408
		pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
5409
		local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
5410
    end
5411
end
5412
end)
5413
5414
addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
5415
function(args, speaker)
5416
workspace.Terrain:Clear()
5417
end)
5418
5419
addcmd('smite','get hit by lightning',{},
5420
function(args, speaker)
5421
    local players = getPlayer(args[1], speaker)
5422
    for i,v in pairs(players)do
5423
		local pchar=_char(v)
5424
		spawn(function()
5425
						local char = pchar
5426
						local zeus = Instance.new("Model",char)
5427
						local cloud = Instance.new("Part",zeus)
5428
						cloud.Anchored = true
5429
						cloud.CanCollide = false
5430
						cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0)
5431
						local sound = Instance.new("Sound",cloud)
5432
						sound.SoundId = "rbxassetid://133426162"
5433
						local mesh = Instance.new("SpecialMesh",cloud)
5434
						mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
5435
						mesh.TextureId = "http://www.roblox.com/asset/?id=1095709"
5436
						mesh.Scale = Vector3.new(30,30,40)
5437
						mesh.VertexColor = Vector3.new(0.3,0.3,0.3)
5438
						local light = Instance.new("PointLight",cloud)
5439
						light.Color = Color3.new(0,85/255,1)
5440
						light.Brightness = 10
5441
						light.Range = 30
5442
						light.Enabled = false
5443
						wait(0.2)
5444
						sound.Volume = 0.5
5445
						sound.Pitch = 0.8
5446
						sound:Play()
5447
						light.Enabled = true
5448
						wait(1/100)
5449
						light.Enabled = false
5450
						wait(0.2)
5451
						light.Enabled = true
5452
						light.Brightness = 1
5453
						wait(0.05)
5454
						light.Brightness = 3
5455
						wait(0.02)
5456
						light.Brightness = 1
5457
						wait(0.07)
5458
						light.Brightness = 10
5459
						wait(0.09)
5460
						light.Brightness = 0
5461
						wait(0.01)
5462
						light.Brightness = 7
5463
						light.Enabled = false
5464
						wait(1.5)
5465
						local part1 = Instance.new("Part",zeus)
5466
						part1.Anchored = true
5467
						part1.CanCollide = false
5468
						part1.Size = Vector3.new(2, 9.2, 1)
5469
						part1.BrickColor = BrickColor.new("New Yeller")
5470
						part1.Transparency = 0.6
5471
						part1.BottomSurface = "Smooth"
5472
						part1.TopSurface = "Smooth"
5473
						part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0)
5474
						part1.Rotation = Vector3.new(0.359, 1.4, -14.361)
5475
						wait()
5476
						local part2 = part1:clone()
5477
						part2.Parent = zeus
5478
						part2.Size = Vector3.new(1, 7.48, 2)
5479
						part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0)
5480
						part2.Rotation = Vector3.new(77.514, -75.232, 78.051)
5481
						wait()
5482
						local part3 = part1:clone()
5483
						part3.Parent = zeus
5484
						part3.Size = Vector3.new(1.86, 7.56, 1)
5485
						part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
5486
						part3.Rotation = Vector3.new(0, 0, -11.128)
5487
						sound.SoundId = "rbxassetid://130818250"
5488
						sound.Volume = 1
5489
						sound.Pitch = 1
5490
						sound:Play()
5491
						wait()
5492
						part1.Transparency = 1
5493
						part2.Transparency = 1
5494
						part3.Transparency = 1
5495
						Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
5496
						char:BreakJoints()
5497
		end)
5498
	end
5499
end)
5500
5501
addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
5502
function(args, speaker)
5503
    local players = getPlayer(args[1], speaker)
5504
    for i,v in pairs(players)do
5505
spawn(function()
5506
        local pchar=_char(v)
5507
				local Ast = Instance.new("Part", workspace) Ast.Name = "Asteroid" Ast.Position = pchar.HumanoidRootPart.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12)
5508
				local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
5509
				local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
5510
				local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
5511
				local f = Instance.new("Sound")
5512
				f.Name = "fly"
5513
				f.SoundId = "rbxassetid://179438534"
5514
				f.Volume = 3
5515
				f.Pitch = 1
5516
				f.Looped = true
5517
				f.archivable = true
5518
				f.Parent = Ast
5519
				f:play()
5520
				local Touched = false
5521
				coroutine.wrap(function()
5522
					repeat wait(0.1)
5523
						Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
5524
					until not Ast or Ast.Parent == nil or Touched == true
5525
				end)()
5526
				Ast.Touched:connect(function(Part)
5527
					if Touched == false then
5528
						Touched = true
5529
						Part:BreakJoints()
5530
						local Boom = Instance.new("Explosion", workspace)
5531
						Boom.Position = Ast.Position
5532
						Boom.BlastPressure = 1000000
5533
						Boom.BlastRadius = 30
5534
						Fire.Heat = 0
5535
						Smoke.RiseVelocity = 0
5536
						f:Destroy()
5537
						local s = Instance.new("Sound")
5538
						s.Name = "boom"
5539
						s.SoundId = "rbxassetid://188590169"
5540
						s.Volume = 3
5541
						s.Pitch = 1
5542
						s.Looped = true
5543
						s.archivable = true
5544
						s.Parent = Ast
5545
						s:play()
5546
						coroutine.wrap(function()
5547
							wait(10)
5548
							s:Destroy()
5549
							if Ast and Ast.Parent ~= nil then
5550
								Ast:Destroy()
5551
							end
5552
						end)()
5553
					end
5554
				end)
5555
end)
5556
end
5557
end)
5558
5559
addcmd('bomb','gives you a bomb vest',{'terrorist'},
5560
function(args, speaker)
5561
    local players = getPlayer(args[1], speaker)
5562
    for i,v in pairs(players)do
5563
spawn(function()
5564
        local Char=_char(v)
5565
local HumanoidRootPart = Char.HumanoidRootPart
5566
local TickWait = 1
5567
local Dead = false
5568
5569
local Position = Vector3.new(0,100,0)
5570
function NewPart(Parent)
5571
	local Part = Instance.new("Part", Parent)
5572
	Part.CanCollide = false
5573
	Part.Position = Position
5574
	Part.TopSurface = "Smooth"
5575
	Part.BottomSurface = "Smooth"
5576
	Position = Position + Vector3.new(0,10,0)
5577
	return Part
5578
end
5579
5580
local Model = Char:FindFirstChild("Bomb")
5581
if Model then Model:Destroy() end
5582
5583
local Model = Instance.new("Model", Char)
5584
Model.Name = "Bomb"
5585
5586
local Belt = NewPart(Model)
5587
Belt.Size = Vector3.new(2.2,0.5,1.2)
5588
local Weld = Instance.new("Weld", Belt)
5589
Weld.Part0 = Belt
5590
Weld.Part1 = HumanoidRootPart
5591
Weld.C0 = CFrame.new(0,1.1,0)
5592
local Light = Instance.new("PointLight", Belt)
5593
Light.Range = 15
5594
Light.Brightness = 5
5595
Light.Color = Color3.new(1,0,0)
5596
local Beep = Instance.new("Sound", Belt)
5597
Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
5598
local ExplodeSound = Instance.new("Sound", Belt)
5599
ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 
5600
ExplodeSound.Pitch = 2.8
5601
ExplodeSound.Volume = 3
5602
5603
local Back = NewPart(Model)
5604
Back.Size = Vector3.new(1.5,1.5,0.5)
5605
local Weld = Instance.new("Weld", Back)
5606
Weld.Part0 = Back
5607
Weld.Part1 = HumanoidRootPart
5608
Weld.C0 = CFrame.new(0,0.1,-0.75)
5609
5610
local StrapLeft = NewPart(Model)
5611
StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
5612
local Weld = Instance.new("Weld", StrapLeft)
5613
Weld.Part0 = StrapLeft
5614
Weld.Part1 = HumanoidRootPart
5615
Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
5616
5617
local BuckleLeft = NewPart(Model)
5618
BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
5619
local Weld = Instance.new("Weld", BuckleLeft)
5620
Weld.Part0 = BuckleLeft
5621
Weld.Part1 = HumanoidRootPart
5622
Weld.C0 = CFrame.new(0.65,0.1,0.5)
5623
5624
local StrapRight = NewPart(Model)
5625
StrapRight.Size = Vector3.new(0.2,0.5,1.6)
5626
local Weld = Instance.new("Weld", StrapRight)
5627
Weld.Part0 = StrapRight
5628
Weld.Part1 = HumanoidRootPart
5629
Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
5630
5631
local BuckleRight = NewPart(Model)
5632
BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
5633
local Weld = Instance.new("Weld", BuckleRight)
5634
Weld.Part0 = BuckleRight
5635
Weld.Part1 = HumanoidRootPart
5636
Weld.C0 = CFrame.new(-0.65,0.1,0.5)
5637
5638
LightEnabled = true
5639
coroutine.wrap(function()
5640
	repeat
5641
		wait(TickWait)
5642
		LightEnabled = not LightEnabled
5643
		Light.Enabled = LightEnabled
5644
		Beep:Play()
5645
	until Dead == true or Char:FindFirstChild("Bomb") == nil
5646
end)()
5647
5648
wait(10)
5649
	if Dead == false then
5650
		Dead = true
5651
		ExplodeSound:Play(); wait(1.4)
5652
		local Explosion = Instance.new("Explosion")
5653
		Explosion.Position = Belt.Position
5654
		Explosion.BlastPressure = 100000
5655
		Explosion.DestroyJointRadiusPercent = 0.7
5656
		Explosion.ExplosionType = "CratersAndDebris"
5657
		Explosion.BlastRadius = 50
5658
		Explosion.Parent = workspace
5659
	end
5660
end)
5661
end
5662
end)
5663
5664
addcmd('btools', 'gives a player btools',{},
5665
function(args, speaker)
5666
    local players = getPlayer(args[1], speaker)
5667
    if players ~= nil then
5668
		for i, v in pairs(players) do
5669
			Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool
5670
	  		Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool
5671
			Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool
5672
			Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool
5673
			if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
5674
			Notify('Gave btools to player(s)') end end end end)
5675
5676
addcmd('sword', 'gives a player a sword',{},
5677
function(args, speaker)
5678
local players = getPlayer(args[1], speaker)
5679
if players ~= nil then
5680
for i, v in pairs(players) do
5681
coroutine.resume(coroutine.create(function()
5682
if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
5683
local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword"  sword.TextureId = "rbxasset://Textures/Sword128.png"
5684
sword.GripForward = Vector3.new(-1,0,0)
5685
sword.GripPos = Vector3.new(0,0,-1.5)
5686
sword.GripRight = Vector3.new(0,1,0)
5687
sword.GripUp = Vector3.new(0,0,1)
5688
local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
5689
local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
5690
repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid")
5691
local Damage = 15
5692
local SlashSound = Instance.new("Sound", handle)
5693
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
5694
SlashSound.Volume = 1
5695
local LungeSound = Instance.new("Sound", handle)
5696
LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
5697
LungeSound.Volume = 1
5698
local UnsheathSound = Instance.new("Sound", handle)
5699
UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
5700
UnsheathSound.Volume = 1
5701
handle.Touched:connect(function(hit)
5702
if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and gPlayers[v].Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= gPlayers[v].Character.Humanoid then
5703
local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
5704
hit.Parent.Humanoid:TakeDamage(Damage)
5705
if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end
5706
sword.Enabled = false
5707
SlashSound:play()
5708
local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash"
5709
wait(0.5)
5710
sword.Enabled = true
5711
end
5712
end)
5713
sword.Equipped:connect(function(hit)
5714
UnsheathSound:play()
5715
sword.Enabled = true
5716
end)
5717
end
5718
end))
5719
end
5720
end
5721
end)
5722
5723
addcmd('hatsize', 'changes players hat size',{''},
5724
function(args, speaker)
5725
    local players = getPlayer(args[1], speaker)
5726
	for i,v in pairs(players) do
5727
		for i,v in pairs(gPlayers[v].Character:GetChildren()) do
5728
			if v:IsA('Accessory') then
5729
				for a,b in pairs(v.Handle:GetChildren()) do
5730
					if b:IsA('SpecialMesh') then
5731
						b.Scale = args[2] * Vector3.new(1, 1, 1)
5732
					end
5733
				end
5734
			end
5735
		end
5736
	end
5737
end)
5738
5739
addcmd('headsize', 'changes players head size',{''},
5740
function(args, speaker)
5741
    local players = getPlayer(args[1], speaker)
5742
	for i,v in pairs(players) do
5743
	local plrchar = _players[v].Character
5744
	if not plrchar.Humanoid:FindFirstChild('HeadScale') then
5745
		if args[2] == 1 then
5746
			plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
5747
			plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
5748
		else
5749
			plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
5750
		end
5751
	else plrchar.Humanoid.HeadScale.Value = args[2]
5752
		end
5753
	end
5754
end)
5755
5756
addcmd('change', 'changes a players stat',{'stat'},
5757
function(args, speaker)
5758
    local players = getPlayer(args[1], speaker)
5759
	for i,v in pairs(players) do
5760
		if _players[v]:FindFirstChild('leaderstats') then
5761
			for i,v in pairs(_players[v].leaderstats:GetChildren()) do
5762
				if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
5763
					if args[3] then v.Value = tonumber(args[3]) end
5764
				elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then
5765
					v.Value = GLS(false, 2)
5766
				end
5767
			end
5768
		end
5769
	end
5770
end)
5771
5772
addcmd('draw', 'drawing tool',{},
5773
function(args, speaker)
5774
if speaker.userId ~= LP.userId then
5775
lponly(speaker)
5776
else
5777
for i,v in next,game:children()do
5778
	pcall(function()
5779
		local c=v.className;
5780
		rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
5781
	end);
5782
end;
5783
5784
5785
user=players.LocalPlayer;
5786
uname=user.Name;
5787
guis=user.PlayerGui;
5788
pack=user.Backpack;
5789
5790
keyDowns={};
5791
freeKeys={};
5792
shortcuts={};
5793
5794
_G.mine=_G.mine or{};
5795
5796
name='Draw3D';
5797
url='http://www.roblox.com/asset/?id=%d';
5798
5799
iconNormal=url:format(96578285);
5800
iconOnDown=url:format(96584484);
5801
5802
ver=0;
5803
drawPixel=0.10;
5804
_G.drawLimit=_G.drawLimit or 1000;
5805
5806
_G.drawColor=_G.drawColor or Color3.new();
5807
5808
5809
5810
5811
5812
destroy=game.remove;
5813
find=game.findFirstChild;
5814
new=Instance.new;
5815
with=function(c)
5816
	return function(p)
5817
		local o=type(c)=='string'and new(c)or c;
5818
		local x=p.Parent;p.Parent=nil;
5819
		for i,v in next,p do
5820
			o[i]=v;
5821
		end;
5822
		if(x)then
5823
			o.Parent=x;
5824
		end;
5825
		return o;
5826
	end;
5827
end;
5828
getPlace=function()
5829
	if(find(workspace,'draw')==nil)then
5830
		new('Model',workspace).Name='draw';
5831
	end;
5832
	if(find(workspace.draw,uname)==nil)then
5833
		new('Model',workspace.draw).Name=uname;
5834
	end;
5835
	return workspace.draw[uname];
5836
end;
5837
drawLine=function(start,target)
5838
	local gui=with'BlockMesh'{
5839
		Parent=with'Part'{
5840
			CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
5841
			Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
5842
			Parent=getPlace();
5843
			Color=_G.drawColor;
5844
			BottomSurface=0;
5845
			Anchored=true;
5846
			TopSurface=0;
5847
			formFactor=3;
5848
			Name=name;
5849
	}}.Parent;
5850
	table.insert(_G.mine,gui);
5851
	return gui;
5852
end;
5853
onDown=function()
5854
	if(drawing)then
5855
		return nil;
5856
	end;
5857
	if(selectGui.Adornee)then
5858
		destroy(selectGui.Adornee);
5859
	end;
5860
	
5861
	drawing=true;
5862
	
5863
	mouse.Icon=iconOnDown;
5864
	ver=ver+1;
5865
	
5866
	
5867
	local cVer,start,target=ver,mouse.hit.p;
5868
	
5869
	local group={};
5870
	repeat
5871
		Wait(0.02);
5872
		
5873
		if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
5874
			
5875
			target=mouse.hit.p;
5876
			
5877
			table.insert(group,drawLine(start,target));
5878
			
5879
			start=target;
5880
		end;
5881
	until ver~=cVer;
5882
	drawing=false;
5883
	
5884
	local groupM=new('Model',getPlace());
5885
	for i,v in next,group do
5886
		if(v:IsDescendantOf(Workspace))then
5887
			v.Parent=groupM;
5888
		end;
5889
	end;
5890
	if(next(groupM:children())==nil)then
5891
		destroy(groupM);
5892
	end;
5893
end;
5894
onUp=function()
5895
	mouse.Icon=iconNormal;
5896
	ver=ver+1;
5897
end;
5898
onKeyDown=function(k)
5899
	if(freeKeys[k]==false)then
5900
		return false;
5901
	end;
5902
	freeKeys[k]=false;
5903
	Wait(0.01);
5904
	if(keyDowns[k])then
5905
		keyDowns[k]();
5906
	elseif(shortcuts[k])then
5907
		shortcuts[k]();
5908
	end;
5909
end;
5910
onKeyUp=function(k)
5911
	freeKeys[k]=true;
5912
end;
5913
onMove=function()
5914
5915
end;
5916
onSelect=function(lmouse)
5917
	frame.Visible=true;
5918
5919
	mouse=lmouse;
5920
	
5921
	mouse.Icon=iconNormal;
5922
	
5923
	mouse.Button1Down:connect(onDown);
5924
	mouse.KeyDown:connect(onKeyDown);
5925
	mouse.Button1Up:connect(onUp);
5926
	mouse.KeyUp:connect(onKeyUp);
5927
	mouse.Move:connect(onMove);
5928
end;
5929
onDeselect=function()
5930
	ver=ver+1;
5931
	frame.Visible=false;
5932
	selectGui.Adornee=nil;
5933
	mouse.Icon=iconNormal;
5934
	for i,v in next,freeKeys do
5935
		freeKeys[i]=true;
5936
	end;
5937
end;
5938
addButton=function(title,shortcut,fun)
5939
	with'TextButton'{
5940
		Text=string.format(' %s (%s)',title,shortcut);
5941
		TextXAlignment=0;
5942
		Parent=frame;
5943
	}.MouseButton1Up:connect(fun);
5944
	
5945
	shortcuts[shortcut]=fun;
5946
	
5947
	local c=#frame:children();
5948
	for i,v in next,frame:children()do
5949
		v.Position=UDim2.new(0,0,0,20*(i-1));
5950
		v.Size=UDim2.new(1,0,0,20);
5951
	end;
5952
	
5953
	frame.Position=UDim2.new(1,-152,.5,-c*10);
5954
	frame.Size=UDim2.new(0,150,0,c*20);
5955
end;
5956
5957
5958
5959
5960
5961
5962
5963
5964
for i,v in next,{guis;pack;}do
5965
	pcall(function()
5966
		repeat until destroy(v[name]);
5967
	end);
5968
end;
5969
5970
5971
5972
tool=with'HopperBin'{
5973
	Parent=pack;
5974
	Name=name;
5975
};
5976
tool.Deselected:connect(onDeselect);
5977
tool.Selected:connect(onSelect);
5978
5979
5980
5981
5982
screen=with'ScreenGui'{
5983
	Parent=guis;
5984
	Name=name;
5985
};
5986
frame=with'Frame'{
5987
	Parent=screen;
5988
	Visible=false;
5989
};
5990
clframe=with'Frame'{
5991
	Position=UDim2.new(.5,-50,.5,-50);
5992
	Size=UDim2.new(0,100,0,100);
5993
	Visible=false;
5994
	Parent=screen;
5995
};
5996
selectGui=with'SelectionBox'{
5997
	Parent=screen;
5998
};
5999
6000
local c=0;
6001
for y=0,7 do
6002
	for x=0,7 do
6003
		local color=BrickColor.palette(c).Color;
6004
		
6005
		with'ImageButton'{
6006
			Position=UDim2.new(.125*x,0,.125*y);
6007
			Size=UDim2.new(.125,0,.125);
6008
			BackgroundColor3=color;
6009
			Parent=clframe;
6010
		}.MouseButton1Up:connect(function()
6011
			clframe.Visible=false;
6012
			_G.drawColor=color;
6013
		end);
6014
		
6015
		c=c+1;
6016
	end;
6017
end;
6018
6019
addButton('Color','c',function()
6020
	clframe.Visible=true;
6021
end);
6022
addButton('Remove your draws','r',function()
6023
	repeat
6024
		destroy(_G.mine[1]);
6025
		table.remove(_G.mine,1);
6026
		Wait(0.01);
6027
	until nil;
6028
end);
6029
addButton('Remove global draws','k',function()
6030
	destroy(workspace.draw);
6031
	while(_G.mine[1])do
6032
		destroy(_G.mine[1]);
6033
		table.remove(_G.mine,1);
6034
	end;
6035
end);
6036
addButton('Remove selected','x',function()
6037
	repeat
6038
		if(find(workspace,'draw'))then
6039
			local dt=mouse.target;
6040
			if(dt and dt:IsDescendantOf(workspace.draw))then
6041
				selectGui.Adornee=dt.Parent;
6042
			else
6043
				selectGui.Adornee=nil;
6044
			end;
6045
		else
6046
			selectGui.Adornee=nil;
6047
		end;
6048
		Wait(0.01);
6049
	until freeKeys.x;
6050
	selectGui.Adornee=nil;
6051
end);
6052
6053
6054
6055
6056
repeat
6057
	Wait(0.01);
6058
	if(next(_G.mine)and _G.mine[_G.drawLimit])then
6059
		destroy(_G.mine[1]);
6060
		table.remove(_G.mine,1);
6061
	end;
6062
until script.Parent==nil or tool.Parent==nil;
6063
script.Disabled=true;
6064
destroy(screen);
6065
end
6066
end)
6067
6068
addcmd('god', 'gods player',{},
6069
function(args, speaker)
6070
    local players = getPlayer(args[1], speaker)
6071
    for i,v in pairs(players)do
6072
        local pchar=_char(v)
6073
        if pchar then pchar.Humanoid.MaxHealth=math.huge end
6074
    end
6075
end)
6076
6077
addcmd('sgod', 'silently gods player',{},
6078
function(args, speaker)
6079
    local players = getPlayer(args[1], speaker)
6080
    for i,v in pairs(players)do
6081
        local pchar=_char(v)
6082
        spawn(function()
6083
            pchar.Humanoid.MaxHealth = 10000000
6084
			wait()
6085
			pchar.Humanoid.Health = 10000000
6086
			if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else
6087
			Notify('Silent godded player(s)') end
6088
        end)
6089
    end
6090
end)
6091
6092
addcmd('ungod', 'removes god from a player',{},
6093
function(args, speaker)
6094
    local players = getPlayer(args[1], speaker)
6095
    for i,v in pairs(players)do
6096
        local pchar=_char(v)
6097
        if pchar then 
6098
			pchar.Humanoid.MaxHealth=100 
6099
			pchar.Humanoid.Health=100
6100
		end
6101
    end
6102
end)
6103
6104
addcmd('heal', 'resets a players health',{},
6105
function(args, speaker)
6106
    local players = getPlayer(args[1], speaker)
6107
    for i,v in pairs(players)do spawn(function()
6108
local pchar=_char(v)
6109
if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end)
6110
6111
addcmd('fart', 'makes u fart',{},
6112
function(args, speaker)
6113
    local players = getPlayer(args[1], speaker)
6114
    for i,v in pairs(players)do
6115
	spawn(function()
6116
        local pchar=_char(v)
6117
fart = Instance.new("Smoke")
6118
fart.Parent = pchar.HumanoidRootPart
6119
fart.Color = Color3.new(255/255, 255/255, 0)
6120
fart.Opacity = 0.4
6121
fart.Size = 1.0
6122
fart.RiseVelocity = 8
6123
fartsound = Instance.new("Sound", workspace)
6124
fsound = "http://www.roblox.com/asset?id=251309043"
6125
fartsound.SoundId = fsound
6126
fartsound.Volume = 1.0
6127
fartsound:Play()
6128
wait(9.0)
6129
fartsound:Destroy()
6130
pchar.HumanoidRootPart.Smoke:Destroy()
6131
	    end)
6132
end
6133
end)
6134
6135
addcmd('decalspam', 'you can already guess...',{},
6136
function(args, speaker)
6137
Notify('Decal Spammed ID: ' ..args[1])
6138
wait(4)
6139
decalID = args[1]
6140
function exPro(root)
6141
for _, v in pairs(root:GetChildren()) do
6142
if v:IsA("BasePart") then
6143
local One = Instance.new("Decal", v)
6144
local Two = Instance.new("Decal", v)
6145
local Three = Instance.new("Decal", v)
6146
local Four = Instance.new("Decal", v)
6147
local Five = Instance.new("Decal", v)
6148
local Six = Instance.new("Decal", v)
6149
One.Texture = "http://www.roblox.com/asset/?id="..decalID
6150
Two.Texture = "http://www.roblox.com/asset/?id="..decalID
6151
Three.Texture = "http://www.roblox.com/asset/?id="..decalID
6152
Four.Texture = "http://www.roblox.com/asset/?id="..decalID
6153
Five.Texture = "http://www.roblox.com/asset/?id="..decalID
6154
Six.Texture = "http://www.roblox.com/asset/?id="..decalID
6155
One.Face = "Front"
6156
Two.Face = "Back"
6157
Three.Face = "Right"
6158
Four.Face = "Left"
6159
Five.Face = "Top"
6160
Six.Face = "Bottom"
6161
One.Name = "IYdecal"
6162
Two.Name = "IYdecal"
6163
Three.Name = "IYdecal"
6164
Four.Name = "IYdecal"
6165
Five.Name = "IYdecal"
6166
Six.Name = "IYdecal"
6167
end
6168
exPro(v)
6169
end
6170
end
6171
function asdf(root)
6172
for _, v in pairs(root:GetChildren()) do
6173
asdf(v)
6174
end
6175
end
6176
exPro(workspace)
6177
asdf(workspace)
6178
end)
6179
6180
addcmd('undecalspam', 'removes the mess',{},
6181
function(args, speaker)
6182
Notify('Removing Decal Spam...')
6183
wait(4)
6184
function exPro(root)
6185
for _, v in pairs(root:GetChildren()) do
6186
if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
6187
v.Parent = nil
6188
end
6189
exPro(v)
6190
end
6191
end
6192
function asdf(root)
6193
for _, v in pairs(root:GetChildren()) do
6194
asdf(v)
6195
end
6196
end
6197
exPro(workspace)
6198
asdf(workspace)
6199
end)
6200
6201
addcmd('sky', 'sets the sky',{'skybox'},
6202
function(args, speaker)
6203
playinggif = false
6204
for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
6205
s = Instance.new("Sky")
6206
s.Name = "Sky"
6207
s.Parent = LightingService
6208
local skyboxID = args[1]
6209
s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
6210
s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
6211
s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
6212
s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
6213
s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
6214
s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
6215
LightingService.TimeOfDay = 12
6216
end)
6217
6218
addcmd('skygif', 'makes the sky play the IDs you feed it',{},
6219
function(args, speaker)
6220
if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end
6221
playinggif = false
6222
wait(0.5)
6223
local GIF = splitString(args[1])
6224
for _, child in pairs( gLighting:GetChildren()) do
6225
    if child.ClassName == "Sky" then
6226
        child:Destroy()
6227
    end
6228
end
6229
Sky = Instance.new("Sky",game.Lighting)
6230
Notify('Loading...')
6231
playinggif = true
6232
for N,F in ipairs(GIF) do
6233
	game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F)
6234
end
6235
gLighting.TimeOfDay = 12
6236
Notify('Playing skybox')
6237
playinggif = true
6238
wait(0.5)
6239
repeat
6240
	for N,F in ipairs(GIF) do
6241
		Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1
6242
		Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1
6243
		Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1
6244
		Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1
6245
		Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1
6246
		Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1
6247
		wait(skyinterval)
6248
	end
6249
until playinggif == false
6250
end)
6251
6252
addcmd('unskygif', 'removes the sky animation',{'noskygif'},
6253
function(args, speaker)
6254
playinggif = false
6255
wait(0.5)
6256
Notify('Stopped sky gif')
6257
for _, child in pairs( gLighting:GetChildren()) do
6258
    if child.ClassName == "Sky" then
6259
        child:Destroy()
6260
    end
6261
end
6262
end)
6263
6264
addcmd('freeze', 'freezes a player',{'fr'},
6265
function(args, speaker)
6266
	local players = getPlayer(args[1], speaker)
6267
	if players ~= nil then
6268
	for i, v in pairs(players) do
6269
	spawn(function()
6270
	for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end
6271
	end
6272
	end)
6273
	end
6274
end
6275
end)
6276
6277
addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
6278
function(args, speaker)
6279
	local players = getPlayer(args[1], speaker)
6280
	if players ~= nil then
6281
	for i, v in pairs(players) do
6282
	spawn(function()
6283
	for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end
6284
	end
6285
	end)
6286
	end
6287
end
6288
end)
6289
6290
addcmd('spawn', 'places a spawn',{'spawnpoint'},
6291
function(args, speaker)
6292
	local players = getPlayer(args[1], speaker)
6293
	if players ~= nil then
6294
		for i, v in pairs(players) do
6295
local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
6296
M.CFrame = _char(v).HumanoidRootPart.CFrame
6297
M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
6298
M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
6299
M.Anchored = true
6300
end
6301
end
6302
end)
6303
6304
addcmd('deletespawns', 'places a spawn',{'removespawns'},
6305
function(args, speaker)
6306
for i,v in pairs(workspace:GetDescendants()) do
6307
if v:IsA("SpawnLocation") then
6308
v:Destroy()
6309
end
6310
end
6311
end)
6312
6313
addcmd('neon', 'makes a player neon',{},
6314
function(args, speaker)
6315
	local players = getPlayer(args[1], speaker)
6316
	if players ~= nil then
6317
		for i, v in pairs(players) do
6318
					for _, child in pairs( _char(v):GetChildren()) do
6319
    	if child.ClassName == "CharacterMesh" then
6320
        child:Destroy()
6321
   		end
6322
		end
6323
		for _, child in pairs( _char(v):GetChildren()) do
6324
    	if child.ClassName == "Shirt" then
6325
        child:Destroy()
6326
   		end
6327
		end
6328
		for _, child in pairs( _char(v):GetChildren()) do
6329
    	if child.ClassName == "Pants" then
6330
        child:Destroy()
6331
   		end
6332
		end
6333
			for _, child in pairs( _char(v):GetDescendants()) do
6334
    		if child.ClassName == "Part" then
6335
        child.Material = "Neon"
6336
    end
6337
end
6338
end
6339
end
6340
end)
6341
6342
addcmd('glass', 'makes a player glass',{},
6343
function(args, speaker)
6344
	local players = getPlayer(args[1], speaker)
6345
	if players ~= nil then
6346
		for i, v in pairs(players) do
6347
					for _, child in pairs( _char(v):GetChildren()) do
6348
    	if child.ClassName == "CharacterMesh" then
6349
        child:Destroy()
6350
   		end
6351
		end
6352
		for _, child in pairs( _char(v):GetChildren()) do
6353
    	if child.ClassName == "Shirt" then
6354
        child:Destroy()
6355
   		end
6356
		end
6357
		for _, child in pairs( _char(v):GetChildren()) do
6358
    	if child.ClassName == "Pants" then
6359
        child:Destroy()
6360
   		end
6361
		end
6362
			for _, child in pairs( _char(v):GetDescendants()) do
6363
    		if child.ClassName == "Part" then
6364
        child.Material = "Glass"
6365
		child.Transparency = 0.3
6366
    end
6367
end
6368
end
6369
end
6370
end)
6371
6372
addcmd('kill', 'kills a player',{},
6373
function(args, speaker)
6374
    local players = getPlayer(args[1], speaker)
6375
    for i,v in pairs(players)do
6376
        local pchar=_char(v)
6377
        pchar:BreakJoints()
6378
    end
6379
end)
6380
6381
addcmd('knuckles', 'that dead meme',{'ugandaknuckles'},
6382
function(args, speaker)
6383
    local players = getPlayer(args[1], speaker)
6384
    for i,v in pairs(players)do
6385
spawn(function()
6386
local plr = gPlayers[v]
6387
local  char = plr.Character
6388
local mouse = plr:GetMouse()
6389
char.Humanoid.WalkSpeed = 100
6390
char.Humanoid.JumpPower = 70
6391
spawn(function()
6392
for i,v in pairs(char:GetChildren()) do
6393
    if v:IsA("BasePart") then
6394
        coroutine.wrap(function()
6395
            for i=0,1,.1 do
6396
                wait()
6397
                v.Transparency = v.Transparency +i
6398
            end
6399
        end)()
6400
    end
6401
end
6402
for i,v in pairs(char:GetChildren()) do
6403
    if v:IsA("Accessory") then
6404
        coroutine.wrap(function()
6405
            for i=0,1,.1 do
6406
                wait()
6407
                v.Handle.Transparency = v.Handle.Transparency +i
6408
            end
6409
        end)()
6410
    end
6411
end
6412
end)
6413
char.Head.face:Destroy()
6414
wait(1)
6415
local s = Instance.new("Sound")
6416
s.Name = "wae"
6417
s.SoundId = "http://www.roblox.com/asset/?id=1308281913"
6418
s.Volume = 1
6419
s.Pitch = 1
6420
s.Looped = true
6421
s.archivable = true
6422
s.Parent = gPlayers.LocalPlayer.Character.Head
6423
s:play()
6424
local daqueen = Instance.new("Part",char)
6425
daqueen.Name = "asd"
6426
daqueen.CanCollide = false
6427
local mesh = Instance.new("SpecialMesh",daqueen)
6428
mesh.Scale = Vector3.new(0.1,0.1,0.1)
6429
mesh.MeshId = "rbxassetid://1300136843"
6430
local text = Instance.new("Decal",daqueen)
6431
text.Name = "asd"
6432
text.Texture = "rbxassetid://1300137893"
6433
local knowdawey = Instance.new("Weld",char)
6434
knowdawey.Part0 = char.HumanoidRootPart
6435
knowdawey.Part1 = daqueen
6436
local eye1 = Instance.new("Part")
6437
eye1.CanCollide = false
6438
eye1.Parent = char
6439
local mesh1 = Instance.new("SpecialMesh",eye1)
6440
mesh1.MeshId = "rbxassetid://1300138314"
6441
mesh1.Scale = Vector3.new(0.1,0.1,0.2)
6442
local eyetext = Instance.new("Decal",eye1)
6443
eyetext.Texture = "rbxassetid://1300129774"
6444
local eye1w = Instance.new("Weld",char)
6445
eye1w.Part0 = char.HumanoidRootPart
6446
eye1w.Part1 = eye1
6447
eye1w.C1 = CFrame.new(0,-1.3,0.7)
6448
end)
6449
end
6450
end)
6451
6452
addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
6453
function(args, speaker)
6454
	part = GLS(false, 0)
6455
    local function dels(instance)
6456
        for i,v in pairs(instance:GetChildren())do
6457
            if v.Name:lower() == part:lower() then v:Destroy() end
6458
            dels(v)
6459
        end
6460
    end
6461
    dels(workspace)
6462
Notify('Deleted ' ..GLS(false, 0))
6463
end)
6464
6465
addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'},
6466
function(args, speaker)
6467
	part = GLS(false, 0)
6468
    local function dels(instance)
6469
        for i,v in pairs(instance:GetChildren())do
6470
            if v.ClassName:lower() == part:lower() then v:Destroy() end
6471
            dels(v)
6472
        end
6473
    end
6474
    dels(workspace)
6475
Notify('Deleted items with ClassName ' ..GLS(false, 0))
6476
end)
6477
6478
addcmd('blur', 'adjusts blur',{},
6479
function(args, speaker)
6480
    local function dels(instance)
6481
        for i,v in pairs(instance:GetChildren())do
6482
            if v:IsA'BlurEffect'then v:Destroy()end
6483
            dels(v)
6484
        end
6485
    end
6486
    dels(LightingService)
6487
6488
	local b = Instance.new("BlurEffect", LightingService)
6489
	b.Name = "IYblur"
6490
    b.Size = args[1]
6491
end)
6492
6493
addcmd('distortsound','changes volume of sound',{'distort'},
6494
function(args, speaker)
6495
	for i,v in pairs(workspace:GetChildren())do
6496
		if v:IsA("Sound") and v.Name == "IYsound" then
6497
			v:ClearAllChildren ()
6498
			local d = Instance.new('DistortionSoundEffect')
6499
			d.Parent = v
6500
			d.Level = args[1]
6501
			Notify('Changed distortion to ' .. args[1])
6502
		end
6503
	end
6504
end)
6505
6506
addcmd('volume','changes volume of sound',{'vol'},
6507
function(args, speaker)
6508
	for i,v in pairs(workspace:GetChildren())do
6509
		if v:IsA("Sound") and v.Name == "IYsound" then
6510
			v.Volume = args[1]
6511
			Notify('Changed volume to ' .. args[1])
6512
		end
6513
	end
6514
end)
6515
6516
addcmd('pitch','changes pitch of sound',{},
6517
function(args, speaker)
6518
	for i,v in pairs(workspace:GetChildren())do
6519
		if v:IsA("Sound") and v.Name == "IYsound" then
6520
			v.Pitch = args[1]
6521
			Notify('Changed pitch to ' .. args[1])
6522
		end
6523
	end
6524
end)
6525
6526
addcmd('loadmap', 'spawns a map',{},
6527
function(args, speaker)
6528
local m = args[1]
6529
for _,v in pairs(workspace:GetChildren()) do
6530
if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
6531
v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end
6532
for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end
6533
wait(1)
6534
local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m)
6535
map.Parent = workspace
6536
end)
6537
6538
addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION
6539
function(args, speaker)
6540
msghook()
6541
if MSGhook == false then
6542
local localp = game:GetService'Players'.LocalPlayer
6543
localp.CharacterAppearanceId = 20018
6544
localp.Character:BreakJoints()
6545
repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
6546
Instance.new("ForceField", localp.Character)
6547
repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools'
6548
_G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
6549
localp.CharacterAppearanceId = 0
6550
localp.Character:BreakJoints()
6551
if _G.mainhat ~= nil then
6552
local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
6553
local part = Instance.new('Part')
6554
part.Anchored = true
6555
part.Transparency = 1
6556
main.Disabled = false
6557
main.Parent = part
6558
_G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
6559
part.Parent = localp.Character
6560
part.CFrame = localp.Character.HumanoidRootPart.CFrame
6561
repeat wait() until localp:FindFirstChild'ChessMsg'
6562
part:Destroy()
6563
local message = localp:FindFirstChild'ChessMsg'
6564
message.Text = ''
6565
message.Parent = workspace
6566
message.Name = "IYmessage"
6567
if part ~= nil then part:Destroy() end
6568
localp.Character.HumanoidRootPart.Anchored = false
6569
for _, child in pairs( workspace:GetChildren()) do
6570
    if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
6571
        child:Destroy()
6572
    end
6573
end
6574
if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end
6575
if _G.msg ~= nil then
6576
Notify('Loaded global message bypass')
6577
else
6578
execCmd("loadm")
6579
end
6580
end
6581
elseif MSGhook == true then
6582
Notify('Messages already loaded!')
6583
end
6584
end)
6585
6586
addcmd('countdown', 'makes a countdown', {},
6587
function(args, speaker)
6588
local players = getPlayer(args[1], speaker)
6589
if args[1] ~= string then
6590
local time = args[1]
6591
msghook()
6592
if MSGhook == true then
6593
local h = workspace.IYmessage
6594
for i = time, 1, -1 do
6595
wait(1)
6596
h.Text = "Countdown: "..i..""
6597
end
6598
wait(1)
6599
h.Text = "Times Up!"
6600
wait(2)
6601
h.Text = ''
6602
elseif MSGhook == false then
6603
	execCmd("loadm")
6604
	repeat wait() until workspace:FindFirstChild("IYmessage")
6605
local h = workspace.IYmessage
6606
for i = time, 1, -1 do
6607
wait(1)
6608
h.Text = "Countdown: "..i..""
6609
end
6610
wait(1)
6611
h.Text = "Times Up!"
6612
wait(2)
6613
h.Text = ''
6614
end
6615
end
6616
end)
6617
6618
addcmd('explode', 'explode a player', {},
6619
function(args, speaker)
6620
    local players = getPlayer(args[1], speaker)
6621
    for i, v in pairs(players) do
6622
        local char = _char(v)
6623
        if char:FindFirstChild("HumanoidRootPart") then
6624
            Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position					
6625
        end
6626
    end
6627
end)
6628
6629
addcmd('flood', 'makes a flood e.e', {},
6630
function(args, speaker)
6631
workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
6632
end)
6633
6634
addcmd('spookyify', 'makes it sp00ky', {},
6635
function(args, speaker)
6636
local music = Instance.new("Sound", workspace)
6637
music.SoundId = "http://www.roblox.com/asset/?id=257569267"
6638
music.Volume = 20
6639
music.Looped = true
6640
music:Play()
6641
6642
tex1 = "http://www.roblox.com/asset/?id=185495987"
6643
tex2 = "http://www.roblox.com/asset/?id=260858020"
6644
tex3 = "http://www.roblox.com/asset/?id=149213919"
6645
tex4 = "http://www.roblox.com/asset/?id=171905673"
6646
6647-
addcmd('os', 'Shows the targets platform.', {'platform', 'device'},
6647+
6648
6649
for i= 1,#w do
6650-
    local platforms = {}
6650+
6651-
    for i,v in pairs(players) do
6651+
6652-
        local p = game:GetService("Players")[v]
6652+
6653-
        table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform)
6653+
6654
    end
6655-
    Notify(table.concat(platforms, ', '))
6655+
6656
6657
local playerLeaderstats = {}
6658-
addcmd('whiteify', 'Turns the target white.', {'white'},
6658+
6659
table.insert(playerLeaderstats, v)
6660
end
6661
for i, v in pairs(playerLeaderstats) do
6662
pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
6663-
		local lplr = game:GetService("Players")[v]
6663+
6664-
		local bodyc = lplr.Character["Body Colors"]
6664+
6665-
		local color = "Institutional white"
6665+
6666
6667-
		bodyc.HeadColor = BrickColor.new(color)
6667+
6668-
		bodyc.LeftArmColor = BrickColor.new(color)
6668+
6669-
		bodyc.LeftLegColor = BrickColor.new(color)
6669+
6670-
		bodyc.RightArmColor = BrickColor.new(color)
6670+
6671-
		bodyc.RightLegColor = BrickColor.new(color)
6671+
6672-
		bodyc.TorsoColor = BrickColor.new(color)
6672+
6673
local E = workspace:GetChildren()
6674
local F = workspace:GetChildren()
6675
for i,v in pairs(A) do
6676-
addcmd('blackify', 'Turns the target black.', {'black'},
6676+
6677
    local d =    Instance.new("Decal",v)
6678
        v.Decal.Face = "Top"
6679
        v.Decal.Texture = texture
6680
        v.Anchored = true        
6681-
		local lplr = game:GetService("Players")[v]
6681+
6682-
		local bodyc = lplr.Character["Body Colors"]
6682+
6683-
		local color = "Black"
6683+
6684
for i,v in pairs(B) do
6685-
		bodyc.HeadColor = BrickColor.new(color)
6685+
6686-
		bodyc.LeftArmColor = BrickColor.new(color)
6686+
6687-
		bodyc.LeftLegColor = BrickColor.new(color)
6687+
6688-
		bodyc.RightArmColor = BrickColor.new(color)
6688+
6689-
		bodyc.RightLegColor = BrickColor.new(color)
6689+
6690-
		bodyc.TorsoColor = BrickColor.new(color)
6690+
6691
6692
for i,v in pairs(C) do
6693
    if v:IsA("Part") then
6694
        local h = Instance.new("Decal",v)
6695
        h.Face = "Back"
6696
        h.Texture = texture
6697
    end
6698
end
6699
6700
for i,v in pairs(D) do
6701
    if v:IsA("Part") then
6702
        local j = Instance.new("Decal",v)
6703
        j.Face = "Left"
6704
        j.Texture = texture
6705
    end
6706
end
6707
6708
for i,v in pairs(E) do
6709
    if v:IsA("Part") then
6710
        local k = Instance.new("Decal",v)
6711
        k.Face = "Right"
6712
        k.Texture = texture
6713
    end
6714
end
6715
6716
for i,v in pairs(F) do
6717
    if v:IsA("Part") then
6718
        local l = Instance.new("Decal",v)
6719
        l.Face = "Bottom"
6720
        l.Texture = texture
6721
    end
6722
6723
	imageOne = "http://www.roblox.com/asset/?id=169585459"
6724
imageTwo = "http://www.roblox.com/asset/?id=169585475"
6725
imageThree = "http://www.roblox.com/asset/?id=169585485"
6726
imageFour = "http://www.roblox.com/asset/?id=169585502"
6727
imageFive = "http://www.roblox.com/asset/?id=169585515"
6728
imageSix = "http://www.roblox.com/asset/?id=169585502"
6729
imageSeven = "http://www.roblox.com/asset/?id=169585485"
6730
imageEight = "http://www.roblox.com/asset/?id=169585475"
6731
6732
Spooky = Instance.new("Sound", workspace)
6733
Spooky.Name = "Spooky"
6734
Spooky.SoundId = "rbxassetid://174270407"
6735
Spooky.Volume = 15
6736
Spooky.Looped = true
6737
Spooky:Play()
6738
6739
Sky = Instance.new("Sky", LightingService)
6740
Sky.SkyboxBk = imageOne
6741
Sky.SkyboxDn = imageOne
6742
Sky.SkyboxFt = imageOne
6743
Sky.SkyboxLf = imageOne
6744
Sky.SkyboxRt = imageOne
6745
Sky.SkyboxUp = imageOne
6746
6747
6748
while true do
6749
    Sky.SkyboxBk = imageOne
6750
    Sky.SkyboxDn = imageOne
6751
    Sky.SkyboxFt = imageOne
6752
    Sky.SkyboxLf = imageOne
6753
    Sky.SkyboxRt = imageOne
6754
    Sky.SkyboxUp = imageOne
6755
    wait(0.15)
6756
    Sky.SkyboxBk = imageTwo
6757
    Sky.SkyboxDn = imageTwo
6758
    Sky.SkyboxFt = imageTwo
6759
    Sky.SkyboxLf = imageTwo
6760
    Sky.SkyboxRt = imageTwo
6761
    Sky.SkyboxUp = imageTwo
6762
    wait(0.15)
6763
    Sky.SkyboxBk = imageThree
6764
    Sky.SkyboxDn = imageThree
6765
    Sky.SkyboxFt = imageThree
6766
    Sky.SkyboxLf = imageThree
6767
    Sky.SkyboxRt = imageThree
6768
    Sky.SkyboxUp = imageThree
6769
    wait(0.15)
6770
    Sky.SkyboxBk = imageFour
6771
    Sky.SkyboxDn = imageFour
6772
    Sky.SkyboxFt = imageFour
6773
    Sky.SkyboxLf = imageFour
6774
    Sky.SkyboxRt = imageFour
6775
    Sky.SkyboxUp = imageFour
6776
    wait(0.15)
6777
    Sky.SkyboxBk = imageFive
6778
    Sky.SkyboxDn = imageFive
6779
    Sky.SkyboxFt = imageFive
6780
    Sky.SkyboxLf = imageFive
6781
    Sky.SkyboxRt = imageFive
6782
    Sky.SkyboxUp = imageFive
6783
    wait(0.15)
6784
    Sky.SkyboxBk = imageSix
6785
    Sky.SkyboxDn = imageSix
6786
    Sky.SkyboxFt = imageSix
6787
    Sky.SkyboxLf = imageSix
6788
    Sky.SkyboxRt = imageSix
6789
    Sky.SkyboxUp = imageSix
6790
    wait(0.15)
6791
    Sky.SkyboxBk = imageSeven
6792
    Sky.SkyboxDn = imageSeven
6793
    Sky.SkyboxFt = imageSeven
6794
    Sky.SkyboxLf = imageSeven
6795
    Sky.SkyboxRt = imageSeven
6796
    Sky.SkyboxUp = imageSeven
6797
    wait(0.15)
6798
    Sky.SkyboxBk = imageEight
6799
    Sky.SkyboxDn = imageEight
6800
    Sky.SkyboxFt = imageEight
6801
    Sky.SkyboxLf = imageEight
6802
    Sky.SkyboxRt = imageEight
6803
    Sky.SkyboxUp = imageEight
6804
    wait(0.15)
6805
    
6806
end
6807
end
6808
end)
6809
6810
addcmd('invisible', 'make a player invisible',{'invis'},
6811
function(args, speaker)
6812
    local players = getPlayer(args[1], speaker)
6813
    for i, v in pairs(players) do
6814
        for k, v2 in pairs(_char(v):GetChildren()) do
6815
			if v2.className == "Part" then
6816
                if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
6817
            elseif v2.className == "Accessory" then
6818
                if v2:FindFirstChild("Handle") then
6819
                    v2.Handle.Transparency = 1 
6820
                end
6821
			end
6822
            if v2:FindFirstChild("face") then
6823
                v2.face.Transparency = 1
6824
			end
6825
		end
6826
    end
6827
end)
6828
6829
addcmd('visible', 'make a player visible',{'vis'},
6830
function(args, speaker)
6831
    local players = getPlayer(args[1], speaker)
6832
    for i, v in pairs(players) do
6833
        for k, v2 in pairs(_char(v):GetChildren()) do
6834
            if v2.className == "Part" then
6835
				if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
6836
                if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
6837
            end
6838
			if v2:FindFirstChild("face") then
6839
				v2.face.Transparency = 0
6840
			end
6841
		end
6842
    end
6843
end)
6844
6845
addcmd('goto', 'go to a player',{'to'},
6846
function(args, speaker)
6847
    local players = getPlayer(args[1], speaker)
6848
	if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
6849
		speaker.Character.Humanoid.Jump = true
6850
		speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
6851
	end
6852
end)
6853
6854
addcmd('bring', 'bring a player to you',{},
6855
function(args, speaker)
6856
    local players = getPlayer(args[1], speaker)
6857
	for i,v in pairs(players) do
6858
		if _char(v):FindFirstChild("HumanoidRootPart") then
6859
			_char(v).Humanoid.Jump = true
6860
			_char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame	
6861
		end
6862
	end
6863
end)
6864
6865
local WayPoints = {}
6866
6867
addcmd("savepos","sets a waypoint at the speaker's position",{'spos'},
6868
function(args, speaker)
6869
	local WPName = tostring(GLS(false, 0))
6870
	if speaker.Character:findFirstChild("HumanoidRootPart") then
6871
		Notify("Created waypoint: "..GLS(false, 0))
6872
		local torso = speaker.Character:findFirstChild("HumanoidRootPart")
6873
		WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
6874
		updatepositions()
6875
	end	
6876
end)
6877
6878
addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'},
6879
function(args, speaker)
6880
		for i,v in pairs(WayPoints) do
6881
		if v.NAME == tostring(GLS(false, 0)) then
6882
		Notify("Deleted waypoint: " .. v.NAME)
6883
		table.remove(WayPoints, i)
6884
		updatepositions()
6885
		end end
6886
end)
6887
6888
6889
addcmd("loadpos","teleports a player to a waypoint",{'lpos'},
6890
function(args, speaker)
6891
    local players = getPlayer(args[1], speaker)
6892
		local WPName = tostring(GLS(false, 1))
6893
		for i,v in pairs(players) do
6894
		if gPlayers[v] and gPlayers[v].Character then
6895
			for i,_ in pairs(WayPoints) do
6896
				local x = WayPoints[i].COORD[1]
6897
				local y = WayPoints[i].COORD[2]
6898
				local z = WayPoints[i].COORD[3]
6899
				if tostring(WayPoints[i].NAME) == tostring(WPName) then
6900
					gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
6901
				end
6902
			end
6903
		end
6904
	end
6905
end)
6906
6907
addcmd('tp', 'teleport player 1 to player 2',{},
6908
function(args, speaker)
6909
    local players1=getPlayer(args[1], speaker)
6910
    local players2=getPlayer(args[2], speaker)
6911
    if not players2[1] then return end
6912
    for i,v in pairs(players1) do
6913
		if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
6914
			_char(v).Humanoid.Jump = true
6915
			_char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
6916
			wait(0.1)
6917
			_char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
6918
		end		
6919
	end
6920
end)
6921
6922
addcmd('charplr','charplr [plr] [plr]',{'cp'},
6923
function(args, speaker)
6924
    local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
6925
    for i,v in pairs(players1) do for a,b in pairs(players2) do
6926
            if _players[v].Character and _players[b].Character then
6927
                _players[v].CharacterAppearanceId = _players[b].userId
6928
                refresh(_players[v])
6929
            end
6930
        end
6931
    end
6932
end)
6933
6934
addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
6935
function(args, speaker)
6936
    local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
6937
	for i,v in pairs(players1) do for a,b in pairs(players2) do
6938
		spawn(function()
6939
		for i,v in pairs(_players[v].Backpack:GetChildren()) do
6940
			if v:IsA('Tool') or v:IsA('HopperBin') then
6941
				if not _players[b] then
6942
				v:Clone().Parent = speaker.Backpack
6943
				else v:Clone().Parent = _players[b].Backpack
6944
			end
6945
			end
6946
		end
6947
		end)
6948
		end
6949
		end
6950
end)
6951
6952
addcmd('char', 'change a players appearance',{},
6953
function(args, speaker)
6954
    local players = getPlayer(args[1], speaker)
6955
    if not args[1]or not args[2]then return end
6956
    local id=args[2]
6957
	if players ~= nil then
6958
		for i,v in pairs(players) do
6959
			gPlayers[v].CharacterAppearanceId = id
6960
			refresh(gPlayers[v])
6961
			end
6962
		end
6963
end)
6964
6965
addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
6966
function(args, speaker)
6967
    local players = getPlayer(args[1], speaker)
6968
	if players ~= nil then
6969
		for i,v in pairs(players) do
6970
		gPlayers[v].CharacterAppearanceId = 0
6971
		refresh(gPlayers[v])
6972
		end
6973
	end
6974
end)
6975
6976
addcmd('speed', 'change a players walkspeed',{'ws'},
6977
function(args, speaker)
6978
    local players = getPlayer(args[1], speaker)
6979
    if not args[1]or not args[2]then return end
6980
    local num=args[2]
6981
	for i,v in pairs(players) do
6982
		if _char(v):FindFirstChild("Humanoid") then
6983
			_char(v).Humanoid.WalkSpeed=tonumber(num)
6984
		end
6985
	end
6986
end)
6987
6988
addcmd('jump', 'forces a player to jump',{},
6989
function(args, speaker)
6990
    local players = getPlayer(args[1], speaker)
6991
	for i,v in pairs(players) do
6992
		if _char(v):FindFirstChild("Humanoid") then
6993
			_char(v).Humanoid.Jump = true
6994
		end
6995
	end
6996
end)
6997
6998
jumping = {}
6999
addcmd('loopjump','like a bunny :)',{'ljump'},
7000
function(args, speaker)
7001
	local players = getPlayer(args[1], speaker)
7002
    for i,v in pairs(players)do
7003
	spawn(function()
7004
		if FindTable(jumping, _players[v].Name) then return end
7005
		table.insert(jumping, _players[v].Name)
7006
		repeat wait(0.01)
7007
			if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
7008
			if _players[v].Character.Humanoid.Jump ~= true then
7009
		_players[v].Character.Humanoid.Jump = true end end
7010
		until not FindTable(jumping, _players[v].Name)
7011
	end)
7012
	end
7013
end)
7014
7015
addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'},
7016
function(args, speaker)
7017
	local players = getPlayer(args[1], speaker)
7018
	for i,v in pairs(players)do
7019
		spawn(function()
7020
		for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end
7021
		end)
7022
		end
7023
end)
7024
7025
addcmd('sit', 'sit a player',{},
7026
function(args, speaker)
7027
    local players = getPlayer(args[1], speaker)
7028
	for i,v in pairs(players) do
7029
		if _char(v):FindFirstChild("Humanoid") then
7030
			_char(v).Humanoid.Sit = true
7031
		end
7032
	end
7033
end)
7034
7035
sitting = {}
7036
addcmd('loopsit','very annoying',{'lsit'},
7037
function(args, speaker)
7038
	local players = getPlayer(args[1], speaker)
7039
    for i,v in pairs(players)do
7040
	spawn(function()
7041
		if FindTable(sitting, _players[v].Name) then return end
7042
		table.insert(sitting, _players[v].Name)
7043
		repeat wait(0.01)
7044
			if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
7045
			if _players[v].Character.Humanoid.Sit ~= true then
7046
		_players[v].Character.Humanoid.Sit = true end end
7047
		until not FindTable(sitting, _players[v].Name)
7048
	end)
7049
	end
7050
end)
7051
7052
addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'},
7053
function(args, speaker)
7054
	local players = getPlayer(args[1], speaker)
7055
	for i,v in pairs(players)do
7056
		spawn(function()
7057
		for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end
7058
		end)
7059
		end
7060
end)
7061
7062
addcmd('strength',' strong',{},
7063
function(args, speaker)
7064
	local players = getPlayer(args[1], speaker)
7065
    for i,v in pairs(players)do
7066
	spawn(function()
7067
	for _, child in pairs( _players[v].Character:GetDescendants()) do
7068
    if child.ClassName == "Part" then
7069
    child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
7070
    end
7071
	end
7072
	end)
7073
	end
7074
end)
7075
7076
addcmd('weaken',' weak',{},
7077
function(args, speaker)
7078
	local players = getPlayer(args[1], speaker)
7079
    for i,v in pairs(players)do
7080
	spawn(function()
7081
	for _, child in pairs( _players[v].Character:GetDescendants()) do
7082
    if child.ClassName == "Part" then
7083
    child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
7084
    end
7085
	end
7086
	end)
7087
	end
7088
end)
7089
7090
addcmd('unweaken',' undoes strength and weaken',{'unstrength'},
7091
function(args, speaker)
7092
	local players = getPlayer(args[1], speaker)
7093
    for i,v in pairs(players)do
7094
	spawn(function()
7095
	for _, child in pairs( _players[v].Character:GetDescendants()) do
7096
    if child.ClassName == "Part" then
7097
    child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
7098
    end
7099
	end
7100
	end)
7101
	end
7102
end)
7103
7104
addcmd('trip','makes a player trip',{},
7105
function(args, speaker)
7106
	local players = getPlayer(args[1], speaker)
7107
    for i,v in pairs(players)do
7108
	spawn(function()
7109
	if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762
7110
	local dir = _players[v].Character:findFirstChild("Right Leg")
7111
	dir.Anchored = true
7112
	if dir.Anchored == true then
7113
    wait(.5)
7114
    _players[v].Character.Humanoid.Sit = true
7115
    wait(1)
7116
    _players[v].Character.Humanoid.Sit = false
7117
    dir.Anchored = false
7118
	end
7119
	end
7120
	end)
7121
	end
7122
end)
7123
7124
oofing = false
7125
addcmd('loopoof','very VERY annoying',{},
7126
function(args, speaker)
7127
oofing = true
7128
repeat wait(0.01)
7129
	for i,v in pairs(game:GetService'Players':GetPlayers()) do
7130
       if v.Character ~= nil and v.Character:FindFirstChild'Head' then
7131
           for _,x in pairs(v.Character.Head:GetChildren()) do
7132
               if x:IsA'Sound' then x.Playing = true end
7133
           end
7134
       end
7135
   end
7136
until oofing == false
7137
end)
7138
7139
addcmd('unloopoof','stops the oof chaos',{},
7140
function(args, speaker)
7141
oofing = false
7142
end)
7143
7144
addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
7145
function(args, speaker)
7146
    local players = getPlayer(args[1], speaker)
7147
    if not args[1]or not args[2]then return end
7148
    local num=args[2]
7149
	for i,v in pairs(players) do
7150
		if _char(v):FindFirstChild("Humanoid") then
7151
			_char(v).Humanoid.JumpPower=tonumber(num)
7152
		end
7153
	end
7154
end)
7155
7156
addcmd('confuse', 'confusing...',{},
7157
function(args, speaker)
7158
    local players = getPlayer(args[1], speaker)
7159
	for i,v in pairs(players) do
7160
		spawn(function()
7161
		if _char(v):FindFirstChild("Humanoid") then
7162
			_char(v).Humanoid.Name = "ConfusedNigga"
7163
			while true do
7164
			_char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
7165
    		_char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
7166
   			wait(0.1)
7167
			end 
7168
7169-
	if _char(players[1]) ~= nil then
7169+
7170-
		if speaker.Character:FindFirstChild("Humanoid") then
7170+
7171-
			speaker.Character.Humanoid.Jump = true
7171+
7172
	end)
7173-
		speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position)
7173+
7174
addcmd('unconfuse', 'not confusing...',{},
7175
function(args, speaker)
7176
    local players = getPlayer(args[1], speaker)
7177
	for i,v in pairs(players) do
7178
		spawn(function()
7179
		if _char(v):FindFirstChild("ConfusedNigga") then
7180
			_char(v).ConfusedNigga.Name = "Humanoid"
7181-
		if _char(v) ~= nil then
7181+
7182-
			if _char(v):FindFirstChild("Humanoid") then
7182+
7183
7184-
			_char(v):MoveTo(speaker.Character.HumanoidRootPart.Position)
7184+
7185
		end)
7186
		end
7187-
			_char(v):MoveTo(speaker.Character.HumanoidRootPart.Position)
7187+
7188
7189
addcmd('cripple', 'cripples a player xddd',{'stun'},
7190
function(args, speaker)
7191
    local players = getPlayer(args[1], speaker)
7192
	for i,v in pairs(players) do
7193
		if _char(v):FindFirstChild("Humanoid") then
7194
			_char(v).Humanoid.PlatformStand = true
7195
		end
7196
	end
7197
end)
7198-
		if _char(v) ~= nil and _char(players2[1]) ~= nil then
7198+
7199-
			if _char(v):FindFirstChild("Humanoid") then
7199+
7200
function(args, speaker)
7201-
			_char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position)
7201+
7202
	for i,v in pairs(players) do
7203
		if _char(v):FindFirstChild("Humanoid") then
7204-
			_char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position)
7204+
7205
		end
7206
	end
7207
end)
7208
7209
addcmd('hipheight', 'adjusts hip height',{'hheight'},
7210
function(args, speaker)
7211
    local players = getPlayer(args[1], speaker)
7212
	for i,v in pairs(players) do
7213
		if _char(v):FindFirstChild("Humanoid") then
7214
			_char(v).Humanoid.HipHeight = args[2]
7215
		end
7216
	end
7217
end)
7218
7219
addcmd('face', 'change a players face',{},
7220
function(args, speaker)
7221
    local players = getPlayer(args[1], speaker)
7222
	for i,v in pairs(players) do
7223
		if _char(v).Head:FindFirstChild("face") then
7224
			_char(v).Head.face.Texture = "rbxassetid://" .. args[2]
7225
		end
7226
	end
7227
end)
7228
7229
addcmd('time', 'change the time of day',{},
7230
function(args, speaker)
7231
    if not args[1]then return end
7232
	Notify('Time set to ' .. args[1])
7233
    LightingService.ClockTime = args[1]
7234
end)
7235
7236
addcmd('day', 'change the time to day',{},
7237
function(args, speaker)
7238
LightingService.ClockTime = 15
7239
end)
7240
7241
addcmd('night', 'change the time of night',{},
7242
function(args, speaker)
7243
LightingService.ClockTime = 0
7244
end)
7245
7246
addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
7247
function(args, speaker)
7248
	Notify('Turned on global shadows')
7249
    LightingService.GlobalShadows = true
7250
end)
7251
7252
addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
7253
function(args, speaker)
7254
	Notify('Turned off global shadows')
7255
    LightingService.GlobalShadows = false
7256
end)
7257
7258
addcmd('outlines', 'changes the lighting property',{},
7259
function(args, speaker)
7260
	Notify('Turned on outlines')
7261
    LightingService.Outlines = true
7262
end)
7263
7264
addcmd('unoutlines', 'changes the lighting property',{'nooutlines'},
7265
function(args, speaker)
7266
	Notify('Turned off outlines')
7267
    LightingService.Outlines = false
7268
end)
7269
7270
addcmd('brightness', 'changes the lighting property',{},
7271
function(args, speaker)
7272
	Notify('Set brightness to ' .. args[1])
7273
    LightingService.Brightness = args[1]
7274
end)
7275
7276
addcmd('age','tells you the age of a player',{},
7277
function(args, speaker)
7278
local players = getPlayer(args[1], speaker)
7279
if speaker.userId ~= LP.userId then
7280
lponly(speaker)
7281
else
7282
for i,v in pairs(players) do
7283
game:FindService('StarterGui'):SetCore('SendNotification', {
7284
Title = _players[v].Name,
7285
Text = 'Age: '.._players[v].AccountAge,
7286
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000),
7287
Duration = 5,
7288
})
7289
end
7290
end
7291
end)
7292
7293
addcmd('remotespy', 'prints remotes',{'remotes'},
7294
function(args, speaker)
7295
if speaker.userId ~= LP.userId then
7296
lponly(speaker)
7297
else
7298
Notify('Printing remotes')
7299
function getem(o)
7300
for i,v in pairs(o:children())do
7301
if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then              
7302
print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
7303
end
7304
getem(v)
7305
end
7306
end
7307
pcall(getem,game)
7308
end
7309
end)
7310
7311
addcmd('f3x', 'loads f3x tools',{'fex'},
7312
function(args, speaker)
7313
if speaker.userId ~= LP.userId then
7314
lponly(speaker)
7315
else
7316
loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)()
7317
end
7318
end)
7319
7320
addcmd('kick', 'kick a player',{},
7321
function(args, speaker)
7322
local players = getPlayer(args[1], speaker)
7323
for i,v in pairs(players) do
7324
spawn(function()
7325
if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else
7326
Notify('Kicked player(s)') end
7327
kickF(gPlayers[v])
7328
end) end end)
7329
7330
function fadelock(id)
7331
if lockic.ImageTransparency ~= 1 then
7332
for i=1, 10 do   	
7333
   lockic.ImageTransparency = lockic.ImageTransparency + 0.1
7334
wait(0.01)
7335
end
7336
lockic.ImageTransparency = 1
7337
end
7338
if id ~= 'off' then
7339
lockic.Image = id
7340
wait(0.2)
7341
for i=1, 10 do   	
7342
   lockic.ImageTransparency = lockic.ImageTransparency - 0.1
7343
wait(0.01)
7344
end
7345
lockic.ImageTransparency = 0
7346
end end
7347
7348
addcmd('serverlock', 'lock teh server',{'slock'},
7349
function(args, speaker)
7350
slock = true
7351
agelock = false
7352
Notify('Locked Server')
7353
fadelock("rbxassetid://1495252742")
7354
end)
7355
7356
addcmd('unserverlock', 'unlock teh server',{'unslock'},
7357
function(args, speaker)
7358
slock = false
7359
Notify('Unlocked Server')
7360
if lockic.Image == "rbxassetid://1495252742" then
7361
fadelock('off')
7362
end
7363
end)
7364
7365
addcmd('agelock', 'lock teh server for a certain age',{'alock'},
7366
function(args, speaker)
7367
if isNumber(args[1]) then
7368
Notify('Set the age lock to age ' .. args[1])
7369
isagelocked = true
7370
slock = false
7371
agelock = tonumber(args[1])
7372
fadelock("rbxassetid://1495252495")
7373
end
7374
end)
7375
7376
addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'},
7377
function(args, speaker)
7378
Notify('Disabled age lock')
7379
isagelocked = false
7380
if lockic.Image == "rbxassetid://1495252495" then
7381
fadelock('off')
7382
end
7383
end)
7384
7385
addcmd('unlockws', 'unlock the whole workspace',{},
7386
function(args, speaker)
7387
	Notify('Workspace unlocked')
7388
	wait(1)
7389
    local function unlock(instance) 
7390
        for i,v in pairs(instance:GetChildren()) do
7391
            if v:IsA("BasePart") then
7392
                v.Locked = false
7393
            end
7394
            unlock(v)
7395
        end
7396
    end
7397
    unlock(workspace)
7398
end)
7399
7400
addcmd('lockws', 'lock the whole workspace',{},
7401
function(args, speaker)
7402
	Notify('Workspace locked')
7403
	wait(1)
7404
    local function lock(instance) 
7405
        for i,v in pairs(instance:GetChildren()) do
7406
            if v:IsA("BasePart") then
7407
                v.Locked = true
7408
            end
7409
            lock(v)
7410
        end
7411
    end
7412
    lock(workspace)
7413
end)
7414
7415
addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
7416
function(args, speaker)
7417
   local function unanchor(instance) 
7418
        for i,v in pairs(instance:GetChildren()) do
7419
            if v:IsA("BasePart") then
7420
                v.Anchored=false
7421
            end
7422
            unanchor(v)
7423
        end
7424
    end
7425
    unanchor(workspace)
7426
end)
7427
7428
addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
7429
function(args, speaker)
7430
   local function anchor(instance) 
7431
        for i,v in pairs(instance:GetChildren()) do
7432
            if v:IsA("BasePart") then
7433
                v.Anchored=true
7434
            end
7435
            anchor(v)
7436
        end
7437
    end
7438
    anchor(workspace)
7439
end)
7440
7441
addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
7442
function()
7443
	for _,v in pairs(workspace:GetChildren()) do
7444
		if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
7445
			v:Destroy()
7446
		elseif v:IsA("Terrain") then
7447
			v:Clear()
7448
		end
7449
	end
7450
	for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end
7451
	local p = Instance.new("Part", workspace)
7452
	p.Anchored = true
7453
	p.FormFactor = "Symmetric"
7454
	p.Size = Vector3.new(1000,1,1000)
7455
	p.Position = Vector3.new(0,0,0)
7456
	p.BrickColor = BrickColor.new("Bright green")
7457
	p.Material = "Grass"
7458
	p.Locked = true
7459
end)
7460
7461
addcmd('headshake', 'shakes a players head',{},
7462
function(args, speaker)
7463
		local players = getPlayer(args[1], speaker)
7464
		for i,v in pairs(players) do
7465
				spawn(function()
7466
local shaken = gPlayers[v].Character
7467
for X = 1, math.huge, 0.2 do 
7468
wait() 
7469
shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) 
7470
shaken.Torso.Neck.C1 = CFrame.new(0,0,0) 
7471
end 
7472
for X = 1, math.huge, 0.1 do 
7473
wait() 
7474
shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) 
7475
shaken.Torso.Neck.C1 = CFrame.new(0,0,0) 
7476
end 
7477
for _,c in pairs(gPlayers:GetChildren()) do
7478
	c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
7479
end
7480
for _,c in pairs(gPlayers:GetChildren()) do
7481
	c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
7482
end
7483
end)
7484
end
7485
end)
7486
7487
addcmd('explorer', 'opens DEX',{'dex'},
7488
function(args, speaker)
7489
if speaker.userId ~= LP.userId then
7490
lponly(speaker)
7491
else
7492
loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
7493
end
7494
end)
7495
7496
addcmd('iyspam', '/shrug',{},
7497
function(args, speaker)
7498
loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))()
7499
end)
7500
7501
addcmd('firstp', 'forces player to go into first person',{},
7502
function(args, speaker)
7503
    local players = getPlayer(args[1], speaker)
7504
    for i,v in pairs(players)do
7505
        gPlayers[v].CameraMode = "LockFirstPerson"
7506
    end
7507
end)
7508
7509
addcmd('lock', 'locks a players body parts',{},
7510
function(args, speaker)
7511
    local players = getPlayer(args[1], speaker)
7512
    for i,v in pairs(players)do
7513
		for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
7514
		if v:IsA("Part") then
7515
		v.Locked = true
7516
end end end
7517
end)
7518
7519
addcmd('unlock', 'locks a players body parts',{},
7520
function(args, speaker)
7521
    local players = getPlayer(args[1], speaker)
7522
    for i,v in pairs(players)do
7523
		for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
7524
		if v:IsA("Part") then
7525
		v.Locked = false
7526
end end end
7527
end)
7528
7529
addcmd('disablereset', 'makes a player unable to reset',{'noreset'},
7530
function(args, speaker)
7531
    local players = getPlayer(args[1], speaker)
7532
    for i,v in pairs(players)do
7533
	spawn(function()
7534
	gPlayers[v].Character.Humanoid.Name = "HumanoidIY"
7535
	if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else
7536
	Notify('Disabled reset for player(s)') end
7537
	end)
7538
	end
7539
end)
7540
7541
addcmd('enablereset', 'makes a player unable to reset',{'reset'},
7542
function(args, speaker)
7543
    local players = getPlayer(args[1], speaker)
7544
    for i,v in pairs(players)do
7545
	spawn(function()
7546
	gPlayers[v].Character.HumanoidIY.Name = "Humanoid"
7547
	if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else
7548
	Notify('Enabled reset for player(s)') end
7549
	end)
7550
	end
7551
end)
7552
7553
addcmd("fixlighting","Removes effects from lighting",{'fixl'},
7554
function(args,speaker)
7555
    for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
7556
        if v:IsA("PostEffect") then
7557
            v:Destroy()
7558
        end
7559
    end
7560
LightingService.Ambient = origsettings.abt
7561
LightingService.OutdoorAmbient = origsettings.oabt
7562
LightingService.Brightness = origsettings.brt
7563
LightingService.TimeOfDay = origsettings.time
7564
LightingService.FogColor = origsettings.fclr
7565
LightingService.FogEnd = origsettings.fe
7566
LightingService.FogStart = origsettings.fs
7567
end)
7568
7569
addcmd("savelighting","Removes effects from lighting",{'slighting'},
7570
function(args,speaker)
7571
origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time = 
7572
LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
7573
Notify('Saved lighting settings')
7574
end)
7575
7576
addcmd("blackandwhite","Makes the game black and white",{},
7577
function(args,speaker)
7578
    local lighting = game:GetService("Lighting")
7579
    local effect = Instance.new("ColorCorrectionEffect",lighting)
7580
    effect.Saturation = -1
7581
end)
7582
7583
addcmd("invert","Makes the game inverted",{},
7584
function(args,speaker)
7585
    local lighting = game:GetService("Lighting")
7586
    local effect = Instance.new("ColorCorrectionEffect",lighting)
7587
    effect.Saturation = -1
7588
    local effect = Instance.new("ColorCorrectionEffect",lighting)
7589
    effect.Saturation = -1
7590
end)
7591
7592
addcmd("sun","Intensifys the sun",{},
7593
function(args,speaker)
7594
    local intense = args[1] or 0.25
7595
    local spread = args[2] or 1
7596
    local lighting = game:GetService("Lighting")
7597
    local effect = Instance.new("SunRaysEffect",lighting)
7598
	effect.Name = "IYsun"
7599
    effect.Intensity = tonumber(intense)
7600
    effect.Spread = tonumber(spread)
7601
end)
7602
7603
addcmd('base', 'spawns a base',{},
7604
function(args, speaker)
7605
local pt = Instance.new("Part")
7606
pt.BrickColor = BrickColor.new("Silver")
7607
pt.Anchored = true
7608
pt.CanCollide = true
7609
pt.BottomSurface = "Weld"
7610
pt.Parent = workspace
7611
pt.Name = (math.random(1,1000000))
7612
pt.Size = Vector3.new(1000, 1, 1000)
7613
pt.Locked = true
7614
Notify('Created new base')
7615
end)
7616
7617
addcmd('unblur', 'removes all blur instances',{'noblur'},
7618
function(args, speaker)
7619
for i,v in pairs(LightingService:GetChildren()) do
7620
    if v:IsA('BlurEffect') then
7621
        v:Destroy()
7622
    end
7623
end
7624
end)
7625
7626
addcmd('thirdp', 'allows player to go into third person',{},
7627
function(args, speaker)
7628
    local players = getPlayer(args[1], speaker)
7629
    for i,v in pairs(players)do
7630
        gPlayers[v].CameraMode = "Classic"
7631
    end
7632
end)
7633
7634
addcmd('chat', 'forces player to chat what you input',{},
7635
function(args, speaker)
7636
    local players = getPlayer(args[1], speaker)
7637
    for i,v in pairs(players)do
7638
		game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
7639
    end
7640
end)
7641
7642
addcmd('name', 'names player',{},
7643
function(args, speaker)
7644
    local players = getPlayer(args[1], speaker)
7645
	if not args[1] then return end
7646
	for i,v in pairs(players) do
7647
		for a, mod in pairs(gPlayers[v].Character:children()) do
7648
		if mod:FindFirstChild("TAG") then
7649
		gPlayers[v].Character.Head.Transparency = 0
7650
		mod:Destroy()
7651
		end
7652
		end
7653
		
7654
		local char = gPlayers[v].Character
7655
		local model = Instance.new("Model", char)
7656
		local clone = char.Head:Clone()
7657
		local hum = Instance.new("Humanoid", model)
7658
		local weld = Instance.new("Weld", clone)
7659
			model.Name = GLS(false, 1)
7660
			clone.Parent = model
7661
			hum.Name = "TAG"
7662
			hum.MaxHealth = 100
7663
			hum.Health = 100
7664
			weld.Part0 = clone
7665
			weld.Part1 = char.Head
7666
			char.Head.Transparency = 1
7667
	end
7668
end)
7669
7670
addcmd('unname', 'unnames player',{'unhidename'},
7671
function(args, speaker)
7672
    local players = getPlayer(args[1], speaker)
7673
    local name = (args[2])
7674
	for i,v in pairs(players) do
7675
		for a, mod in pairs(gPlayers[v].Character:children()) do
7676
			if mod:FindFirstChild("TAG") then
7677
				gPlayers[v].Character.Head.Transparency = 0
7678
				mod:Destroy()
7679
			end
7680
		end
7681
	end
7682
end)
7683
7684
addcmd('noname', 'hides the players name',{'hidename'},
7685
function(args, speaker)
7686
    local players = getPlayer(args[1], speaker)
7687
	for i,v in pairs(players) do
7688
		for a, mod in pairs(gPlayers[v].Character:children()) do
7689
		if mod:FindFirstChild("TAG") then
7690
		gPlayers[v].Character.Head.Transparency = 0
7691
		mod:Destroy()
7692
		end
7693
		end
7694
		
7695
		local char = gPlayers[v].Character
7696
		local model = Instance.new("Model", char)
7697
		local clone = char.Head:Clone()
7698
		local hum = Instance.new("Humanoid", model)
7699
		local weld = Instance.new("Weld", clone)
7700
			model.Name = ""
7701
			clone.Parent = model
7702
			hum.Name = "TAG"
7703
			hum.MaxHealth = 100
7704
			hum.Health = 100
7705
			weld.Part0 = clone
7706
			weld.Part1 = char.Head
7707
			char.Head.Transparency = 1
7708
	end
7709
end)
7710
7711
addcmd('damage', 'damages a player',{},
7712
function(args, speaker)
7713
	local players = getPlayer(args[1], speaker)
7714
	for i,v in pairs(players) do
7715
		gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
7716
	end
7717
end)
7718
7719
addcmd('view', 'views player',{'spectate'},
7720
function(args, speaker)
7721
	local players = getPlayer(args[1], speaker)
7722
	for i,v in pairs(players) do
7723
		workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
7724
		Notify('Viewing ' .. gPlayers[v].Name)
7725
	end
7726
end)
7727
7728
addcmd('unview', 'stops viewing player',{'unspectate'},
7729
function()
7730
	workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
7731
	Notify('View turned off')
7732
end)
7733
7734
addcmd('nolimbs', 'removes limbs from player',{'rlimbs'},
7735
function(args, speaker)
7736
	local players = getPlayer(args[1], speaker)
7737
	for i,v in pairs(players) do
7738
		for i,v in pairs(gPlayers[v].Character:GetChildren()) do
7739
			if v:IsA("BasePart") and
7740
				v.Name == "Right Leg" or
7741
				v.Name == "Left Leg" or
7742
				v.Name == "Right Arm" or
7743
				v.Name == "Left Arm" then
7744
				v:Destroy()
7745
			end
7746
		end
7747
	end	
7748
end)
7749
7750
addcmd('torso', 'just a torso....',{},
7751
function(args, speaker)
7752
	local players = getPlayer(args[1], speaker)
7753
	for i,v in pairs(players) do
7754
		spawn(function()
7755
		for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
7756
			if v:IsA("BasePart") and
7757
				v.Name == "Right Leg" or
7758
				v.Name == "Left Leg" or
7759
				v.Name == "Right Arm" or
7760
				v.Name == "Left Arm" or
7761
				v:IsA('Decal') or v:IsA('Texture') or
7762
				v:IsA('Accessory') then
7763
				v:Destroy()
7764
			end
7765
		end
7766
		gPlayers[v].Character.Head.Transparency = 1
7767
		end)	
7768
		end
7769
end)
7770
7771
addcmd('box', 'creates a box around player',{},
7772
function(args, speaker)
7773
    local players = getPlayer(args[1], speaker)
7774
    for i,v in pairs(players)do
7775
        local pchar=_char(v)
7776
        local SB = Instance.new("SelectionBox", pchar)
7777
        SB.Adornee = SB.Parent
7778
    end
7779
end)
7780
7781
addcmd('nobox', 'takes away box from player',{'unbox'},
7782
function(args, speaker)
7783
    local players = getPlayer(args[1], speaker)
7784
    for i,v in pairs(players)do
7785
        local pchar=_char(v)
7786
        for i,v in pairs(gPlayers[v].Character:GetChildren()) do
7787
			if v:IsA("SelectionBox") then
7788
				v:Destroy()
7789
			end
7790
	    end
7791
    end
7792
end)
7793
7794
addcmd('ghost', 'ghostifys player',{},
7795
function(args, speaker)
7796
    local players = getPlayer(args[1], speaker)
7797
    for i,v in pairs(players)do
7798
        local pchar=gPlayers[v].Character
7799
        pchar.Head.Transparency = 0.5
7800
        pchar.Torso.Transparency = 0.5
7801
        pchar["Left Arm"].Transparency = 0.5
7802
        pchar["Right Arm"].Transparency = 0.5
7803
        pchar["Left Leg"].Transparency = 0.5
7804
        pchar["Right Leg"].Transparency = 0.5
7805
        pchar.Head.face.Transparency = 0.5
7806
    end
7807
end)
7808
7809
addcmd('unghost', 'unghostifys player',{'noghost'},
7810
function(args, speaker)
7811
    local players = getPlayer(args[1], speaker)
7812
    for i,v in pairs(players)do
7813
        local pchar=gPlayers[v].Character
7814
        pchar.Head.Transparency = 0
7815
        pchar.Torso.Transparency = 0
7816
        pchar["Left Arm"].Transparency = 0
7817
        pchar["Right Arm"].Transparency = 0
7818
        pchar["Left Leg"].Transparency = 0
7819
        pchar["Right Leg"].Transparency = 0
7820
        pchar.Head.face.Transparency = 0
7821
    end
7822
end)
7823
7824
addcmd('sphere', 'puts sphere around player',{},
7825
function(args, speaker)
7826
    local players = getPlayer(args[1], speaker)
7827
    for i,v in pairs(players)do
7828
        local pchar=gPlayers[v].Character
7829
        local SS = Instance.new("SelectionSphere", pchar)
7830
        SS.Adornee = SS.Parent
7831
    end
7832
end)
7833
7834
addcmd('sphere', 'puts sphere around player',{},
7835
function(args, speaker)
7836
    local players = getPlayer(args[1], speaker)
7837
    for i,v in pairs(players)do
7838
        local pchar=gPlayers[v].Character
7839
        local SS = Instance.new("SelectionSphere", pchar)
7840
        SS.Adornee = SS.Parent
7841
    end
7842
end)
7843
7844
addcmd('unsphere', 'removes sphere around player',{},
7845
function(args, speaker)
7846
    local players = getPlayer(args[1], speaker)
7847
    for i,v in pairs(players)do
7848
        local pchar=_char(v)
7849
        for i,v in pairs(gPlayers[v].Character:GetChildren()) do
7850
			if v:IsA("SelectionSphere") then
7851
				v:Destroy()
7852
			end
7853
	    end
7854
    end
7855
end)
7856
7857
addcmd('ambient','changes ambient',{},
7858
function(args, speaker)
7859
	LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3])
7860
	LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3])
7861
end)
7862
7863
addcmd('fogend','changes the fogend',{},
7864
function(args, speaker)
7865
	LightingService.FogEnd = args[1]
7866
end)
7867
7868
addcmd('fogcolor','changes the fogs color',{},
7869
function(args, speaker)
7870
	LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3])
7871
end)
7872
7873
injail = {}
7874
addcmd('jail','jails player',{},
7875
function(args, speaker)
7876
	local players = getPlayer(args[1], speaker)
7877
    for i,v in pairs(players)do
7878
	spawn(function()
7879
		if FindTable(injail, _players[v].Name) then return end
7880
		table.insert(injail, _players[v].Name)
7881
		local pchar=gPlayers[v].Character
7882
		local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
7883
		repeat wait(0.5)
7884
		pchar = _players[v].Character if pchar and pchar:FindFirstChild('HumanoidRootPart') and J:FindFirstChild('MAIN') then pchar.HumanoidRootPart.CFrame = J.MAIN.CFrame + Vector3.new(0, 1, 0) end
7885
		until not FindTable(injail, _players[v].Name)
7886
	end)
7887
	end
7888
end)
7889
7890
addcmd('unjail','unjails player',{},
7891
function(args, speaker)
7892
	local players = getPlayer(args[1], speaker)
7893
	for i,v in pairs(players)do
7894
		spawn(function()
7895
		for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
7896
		workspace["JAIL_" .. _players[v].Name]:Destroy()
7897
		end)
7898
		end
7899
end)
7900
7901
loopn = {}
7902
addcmd('loopname','loops a players name',{'lname'},
7903
function(args, speaker)
7904
	local players = getPlayer(args[1], speaker)
7905
    for i,v in pairs(players)do
7906
	spawn(function()
7907
		if FindTable(loopn, _players[v].Name) then return end
7908
		table.insert(loopn, _players[v].Name)
7909
		local Lname = GLS(false, 1)
7910
		local pchar=gPlayers[v].Character
7911
		pchar.Name = Lname
7912
		if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else
7913
		Notify('Looping name for player(s) (only visible to others)') end
7914
		repeat wait(0.01)
7915
		repeat wait() until _players[v].Character
7916
		gPlayers[v].Character.Name = Lname
7917
		until not FindTable(loopn, _players[v].Name)
7918
	end)
7919
	end
7920
end)
7921
7922
addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'},
7923
function(args, speaker)
7924
	local players = getPlayer(args[1], speaker)
7925
	for i,v in pairs(players)do
7926
		spawn(function()
7927
		local pchar=gPlayers[v].Character
7928
		for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end
7929
		wait(0.5)
7930
		if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else
7931
		Notify('Stopped looping name for player(s)') end
7932
		pchar.Name = gPlayers[v].Name
7933
		end)
7934
		end
7935
end)
7936
7937
addcmd('loopbring','loop brings a player lol',{},
7938
function(args, speaker)
7939
	local players = getPlayer(args[1], speaker)
7940
    for i,v in pairs(players)do
7941
	spawn(function()
7942
	if FindTable(bringT, _players[v].Name) then return end
7943
	table.insert(bringT, _players[v].Name)
7944
		local pchar=gPlayers[v].Character
7945
		pchar.Humanoid.Jump = true
7946
		repeat wait(0.5)
7947
		pchar = _players[v].Character
7948
		for i,c in pairs(players) do
7949
		if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
7950
		pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
7951
		end
7952
		end
7953
		until not FindTable(bringT, _players[v].Name)
7954
	end)
7955
	end
7956
end)
7957
7958
addcmd('feinvisible','fe invisible',{'feinvis'},
7959
function(args, speaker)
7960
-- Elite1337#9377 & Timeless#4044
7961
local function CheckRig()
7962
    if Player.Character then
7963
        local Humanoid = Player.Character:WaitForChild('Humanoid')
7964
        if Humanoid.RigType == Enum.HumanoidRigType.R15 then
7965
            return 'R15'
7966
        else
7967
            return 'R6'
7968
        end
7969
    end
7970
end
7971
local function InitiateInvis()
7972
    local Character = Player.Character
7973
    local StoredCF = Character.PrimaryPart.CFrame
7974
        local Part = Instance.new('Part',workspace)
7975
        Part.Size = Vector3.new(5,0,5)
7976
        Part.Anchored = true
7977
        Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999))
7978
        Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0)
7979
        spawn(function()
7980
            wait(3)
7981
            Part:Destroy()
7982
        end)
7983
    if CheckRig() == 'R6' then
7984
        local Clone = Character.HumanoidRootPart:Clone()
7985
        Character.HumanoidRootPart:Destroy()
7986
        Clone.Parent = Character
7987
    else
7988
        local Clone = Character.LowerTorso.Root:Clone()
7989
        Character.LowerTorso.Root:Destroy()
7990
        Clone.Parent = Character.LowerTorso
7991
    end
7992
end
7993
InitiateInvis()
7994
end)
7995
7996
addcmd('unloopbring','unjails player',{'noloopbring'},
7997
function(args, speaker)
7998
	local players = getPlayer(args[1], speaker)
7999
	for i,v in pairs(players)do
8000
		spawn(function()
8001
		for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
8002
		end)
8003
		end
8004
end)
8005
8006
strobe = false
8007
addcmd('strobe','makes the server flash',{'flash'},
8008
function(args, speaker)
8009
	if strobe == false then
8010
		strobep = Instance.new("ColorCorrectionEffect")
8011
		strobep.Brightness = 1
8012
		strobep.Parent = LightingService
8013
		strobe = true
8014
		repeat wait(0.01)
8015
		strobep.Enabled = true
8016
		wait(0.01)
8017
		strobep.Enabled = false
8018
		until strobe == false
8019
		end
8020
end)
8021
8022
addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
8023
function(args, speaker)
8024
	strobe = false
8025
	strobep:Destroy()
8026
end)
8027
8028
addcmd('shutdown', 'shuts the server down',{},
8029
function(args, speaker)
8030
Notify('Broken atm :(')
8031
end)
8032
8033
addcmd('fekill','oof?',{},
8034
function(args, speaker)
8035
    local players = getPlayer(args[1], speaker)
8036
    for i,v in pairs(players)do
8037
-- illremember's cool fe kill script
8038
local Target = gPlayers[v].Name
8039
game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1
8040
local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone()
8041
l.Parent = game:GetService("Players").LocalPlayer.Character
8042
l.Name = "Humanoid"
8043
wait(0.1)
8044
game:GetService("Players").LocalPlayer.Character["1"]:Destroy()
8045
game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character
8046
game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true
8047
wait(0.1)
8048
game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false
8049
game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
8050
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
8051
game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v)
8052
v.CanBeDropped = true
8053
end
8054
wait(0.1)
8055
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
8056
wait(0.1)
8057
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
8058
wait(0.2)
8059
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
8060
end
8061
end)
8062
8063
addcmd('animation','makes player animate',{'anim'},
8064
function(args, speaker)
8065
    local players = getPlayer(args[1], speaker)
8066
    for i,v in pairs(players)do
8067
	    local pchar = gPlayers[v].Character
8068
        local ID = args[2]
8069
8070
        if args[2] == "climb" then
8071
	        ID = "180436334"
8072
    end
8073
        if args[2] == "fall" then
8074
	        ID = "180436148"
8075
    end
8076
        if args[2] == "jump" then
8077
	        ID = "125750702"
8078-
addcmd('noarms', 'removes arms from player',{'rarms'},
8078+
8079
        if args[2] == "sit" then
8080
	        ID = "178130996"
8081
    end
8082
        for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
8083
            if x:IsA("StringValue") then
8084
                for _,c in pairs(x:GetChildren()) do
8085
	                if c:IsA("Animation") then
8086
	            	    c.AnimationId = "rbxassetid://" .. ID
8087
	                end
8088
	            end
8089
            end
8090
        end
8091
    end
8092
end)
8093
8094
addcmd('creeper','make the player a creeper',{'crpr'},
8095
function(args, speaker)
8096
    local players = getPlayer(args[1], speaker)
8097
    for i,v in pairs(players)do
8098
	local pchar = gPlayers[v].Character
8099
        if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
8100
            if pchar:FindFirstChild("Shirt") then
8101
	            pchar.Shirt.Parent = pchar.Torso
8102
            end
8103
            if pchar:FindFirstChild("Pants") then
8104
	            pchar.Pants.Parent = pchar.Torso
8105
            end
8106
            if pchar:FindFirstChild("Shirt Graphic") then
8107
	            pchar["Shirt Graphic"].Graphic = ""
8108
            end
8109
            for i,v in pairs(pchar:GetChildren()) do
8110
	            if v:IsA("Accessory") then
8111
		            v:Destroy()
8112
	            end
8113
            end
8114
            pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
8115
            pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
8116
            pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
8117
            pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
8118
            pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
8119
            pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
8120
            pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
8121
            pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
8122
            pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
8123
            pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
8124
            pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
8125
        end
8126
    end
8127
end)
8128
8129
addcmd('uncreeper','makes player back to normal',{},
8130
function(args, speaker)
8131
	local players = getPlayer(args[1], speaker)
8132
	for i,v in pairs(players)do
8133
	    refresh(gPlayers[v])
8134
	end
8135
end)
8136
8137
addcmd('crash','crashes a player',{},
8138
function(args, speaker)
8139
	local players = getPlayer(args[1], speaker)
8140
	for i,v in pairs(players)do
8141
	if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
8142
	if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else
8143
	Notify('Crashed player(s)') end
8144
	wait(4)
8145
if gPlayers[v] ~= nil then
8146
for i=1,3600 do
8147
Instance.new("HopperBin",gPlayers[v].Backpack).Name = "nig"
8148
end
8149
wait()
8150
for i=1,3600 do
8151
Instance.new("HopperBin",gPlayers[v].Backpack).Name = "nog"
8152
end
8153
wait()
8154
end
8155
end
8156
end
8157
end)
8158
8159
addcmd('shrek', 'makes player shrek',{},
8160
function(args, speaker)
8161
	local players = getPlayer(args[1], speaker)
8162
	for i,v in pairs(players) do
8163
		local pchar = gPlayers[v].Character
8164
		for i,v in pairs(pchar:GetChildren()) do
8165
			if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") 
8166
then
8167
				v:Destroy()
8168
			end
8169
		end
8170
		for i,v in pairs(pchar.Head:GetChildren()) do
8171
			if v:IsA("Decal") or v:IsA("SpecialMesh") then
8172
				v:Destroy()
8173
			end
8174
		end
8175
		
8176
		local mesh = Instance.new("SpecialMesh", pchar.Head)
8177
		mesh.MeshType = "FileMesh"
8178
		pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
8179
		pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
8180
		pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
8181
		
8182
		local Shirt = Instance.new("Shirt", gPlayers[v].Character)
8183
		local Pants = Instance.new("Pants", gPlayers[v].Character)
8184
		
8185
		Shirt.ShirtTemplate = "rbxassetid://133078194"
8186
		Pants.PantsTemplate = "rbxassetid://133078204"
8187
	end
8188
end)
8189
8190
addcmd('unshrek','makes player back to normal',{},
8191
function(args, speaker)
8192
	local players = getPlayer(args[1], speaker)
8193
	for i,v in pairs(players)do
8194
	    refresh(gPlayers[v])
8195
	end
8196
end)
8197
8198
addcmd('oof','good things happen',{},
8199
function(args, speaker)
8200
	local players = getPlayer(args[1], speaker)
8201
	for i,v in pairs(players)do
8202
		spawn(function()
8203
		if gPlayers[v].Character.Head:FindFirstChild("Died") then gPlayers[v].Character.Head.Died.Looped = true wait(0.1) gPlayers[v].Character.Head.Died.Playing = true
8204
		gPlayers[v].Character.Head.Died.Volume = 10
8205
		gPlayers[v].Character.Head.Died.Pitch = 0.5
8206
		end
8207
	    execCmd("size " .. gPlayers[v].Name .. ' -1')
8208
		execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
8209
		wait(5)
8210
		execCmd("explode " .. gPlayers[v].Name)
8211
		wait(0.1)
8212
		gPlayers[v].Character.Humanoid.Health = 0
8213
		end)
8214
		end
8215
end)
8216
8217
addcmd('control','controls player',{},
8218
function(args, speaker)
8219
	local players = getPlayer(args[1], speaker)
8220
	for i,v in pairs(players)do
8221
		spawn(function()
8222
		local pchar = gPlayers[v].Character
8223
		if gPlayers[v] and pchar then
8224
			execCmd("invisible " .. speaker.Name)
8225
			pchar.Humanoid.PlatformStand = true
8226
			local w = Instance.new("Weld", speaker.Character.Torso) 
8227
			w.Part0 = speaker.Character.Torso 
8228
			w.Part1 = pchar.Torso  
8229
			local w2 = Instance.new("Weld", speaker.Character.Head) 
8230
			w2.Part0 = speaker.Character.Head 
8231
			w2.Part1 = pchar.Head  
8232
			local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm")) 
8233
			w3.Part0 = speaker.Character:findFirstChild("Right Arm")
8234
			w3.Part1 = pchar:findFirstChild("Right Arm") 
8235
			local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
8236
			w4.Part0 = speaker.Character:findFirstChild("Left Arm")
8237
			w4.Part1 = pchar:findFirstChild("Left Arm") 
8238
			local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg")) 
8239
			w5.Part0 = speaker.Character:findFirstChild("Right Leg")
8240
			w5.Part1 = pchar:findFirstChild("Right Leg") 
8241
			local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg")) 
8242
			w6.Part0 = speaker.Character:findFirstChild("Left Leg")
8243
			w6.Part1 = pchar:findFirstChild("Left Leg") 
8244
			char.Head.face:Destroy()
8245
			for i,v in pairs(pchar:GetChildren()) do
8246
				if v:IsA("BasePart") then 
8247
					v.CanCollide = false
8248
				end
8249
			end
8250
			for i,v in pairs(char:GetChildren()) do
8251
				if v:IsA("BasePart") then
8252
					v.Transparency = 1 
8253
				elseif v:IsA("Accessory") then
8254
					v:Destroy()
8255
				end
8256
			end
8257
			pchar.Parent = char
8258
			pchar.Humanoid.Changed:connect(function()
8259
				pchar.Humanoid.PlatformStand = true
8260
			end)
8261
		end
8262
		end)
8263
		end
8264
end)
8265
8266
addcmd('nuke','nukes player',{},
8267
function(args, speaker)
8268
	local players = getPlayer(args[1], speaker)
8269
	for i,v in pairs(players)do
8270
		spawn(function()
8271
		local pchar = gPlayers[v].Character
8272
	local Pos = CFrame.new(0,1,0)
8273
	if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end
8274
	local Blast = Instance.new("Part", workspace) Blast.Name = "BlastEx" Blast.Anchored = true Blast.CanCollide = false Blast.Size = Vector3.new(1,1,1) Blast.CFrame = Pos
8275
	local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0)
8276
	local Wave = Instance.new("Part", workspace) Wave.BrickColor = BrickColor.new("Deep orange") Wave.Name = "WaveEx" Wave.Anchored = true Wave.CanCollide = false Wave.Size = Vector3.new(1,1,1) Wave.CFrame = Pos * CFrame.Angles(math.pi/2,0,0)
8277
	local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017"
8278
	local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2)
8279
	
8280
	local Effect = Instance.new("ColorCorrectionEffect", gLighting) Effect.Brightness = 0.2 Effect.Contrast = 0.4 Effect.Saturation = 1 Effect.TintColor = Color3.new(1,0.2,0.2)
8281
	
8282
	gLighting.Brightness = 5
8283
	gLighting.Ambient = Color3.new(1,0.5,0.5)
8284
	gLighting.OutdoorAmbient = Color3.new(1,1,1)
8285
	
8286
	local Exp = Instance.new("Explosion", workspace)
8287
	Exp.Position = Pos.p
8288
	Exp.BlastPressure = 10000000
8289
	Exp.BlastRadius = 1000000
8290
	Exp.Hit:connect(function(Part)
8291
		if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then
8292
			ypcall(function()
8293
				Part.Anchored = false
8294
				Part.BrickColor = BrickColor.new("Black")
8295
				Part.Material = "Slate"
8296
				Part:BreakJoints()	
8297
			end)
8298
		end
8299
	end)
8300
8301
	local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace
8302
	BoomSound.SoundId = 'rbxassetid://212389494'
8303
	BoomSound:Play()
8304
	for i = 0,100,0.5 do
8305
		Blast.Anchored = true
8306
		Wave.Anchored = true
8307
		BlastMesh.Scale = Vector3.new(i,i,i)
8308
		WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5)
8309
		Blast.CFrame = Pos
8310
		wait()
8311
	end
8312
	BoomSound:Stop()
8313
	Blast:Destroy()
8314
	Wave:Destroy()
8315
	wait()
8316
	BoomSound:Destroy()
8317
	Effect:Destroy()
8318
	for i = 10,5,-1 do
8319
		gLighting.Brightness = (i-5) + 1
8320
		gLighting.Ambient = Color3.new(i/10,0.5,0.5)
8321
		gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10)
8322
		wait(0.05)
8323
	end
8324
		end)
8325
		end
8326
end)
8327
8328
addcmd('dong','gives a player a penis',{'penis'},
8329
function(args, speaker)
8330
	local players = getPlayer(args[1], speaker)
8331
	for i,v in pairs(players)do
8332
		spawn(function()
8333
		if gPlayers[v].Character:FindFirstChild('wang') then
8334
		gPlayers[v].Character.wang:destroy()
8335
	end
8336
	local D = Instance.new('Model', gPlayers[v].Character)
8337
	D.Name = 'DONG'
8338
	local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso)
8339
	local MAIN = Instance.new('Part', gPlayers[v].Character['DONG'])
8340
	local M1 = Instance.new('CylinderMesh', MAIN)
8341
	local W1 = Instance.new('Weld', gPlayers[v].Character.Head)
8342
	local P1 = Instance.new('Part', gPlayers[v].Character['DONG'])
8343
	local M2 = Instance.new('SpecialMesh', P1)
8344
	local W2 = Instance.new('Weld', P1)
8345
	local B1 = Instance.new('Part', gPlayers[v].Character['DONG'])
8346
	local M3 = Instance.new('SpecialMesh', B1)
8347
	local W3 = Instance.new('Weld', B1)
8348
	local B2 = Instance.new('Part', gPlayers[v].Character['DONG'])
8349
	local M4 = Instance.new('SpecialMesh', B2)
8350
	local W4 = Instance.new('Weld', B2)
8351
	MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new('Pastel brown') MAIN.Position = gPlayers[v].Character.Head.Position MAIN.CanCollide = false
8352
	W1.Part0 = MAIN W1.Part1 = gPlayers[v].Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0)
8353
	P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false
8354
	M2.MeshType = 'Sphere'
8355
	W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
8356
	B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(gPlayers[v].Character['Left Leg'].Position) B1.BrickColor = BrickColor.new('Pastel brown')
8357
	M3.Parent = B1 M3.MeshType = 'Sphere'
8358
	W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
8359
	B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(gPlayers[v].Character['Right Leg'].Position) B2.BrickColor = BrickColor.new('Pastel brown')
8360
	M4.MeshType = 'Sphere'
8361
	W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
8362
		end)
8363
	end
8364
end)
8365
8366
addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'},
8367
function(args, speaker)
8368
	local players = getPlayer(args[1], speaker)
8369
	for i,v in pairs(players)do
8370
		if gPlayers[v].Character:FindFirstChild('DONG') then
8371
		gPlayers[v].Character.DONG:destroy()
8372
end end
8373
end)
8374
8375
addcmd('infect','infects player',{},
8376
function(args, speaker)
8377
	local players = getPlayer(args[1], speaker)
8378
	for i,v in pairs(players)do
8379
		function infect(rip)
8380
		local pchar = gPlayers[v].Character
8381
			for i,v in pairs(pchar:GetChildren()) do
8382
				if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
8383
					v:Destroy()
8384
				end
8385
			end
8386
			if pchar.Torso:FindFirstChild("roblox") then
8387
				pchar.Torso.roblox:Destroy()
8388
			end
8389
			if pchar.Head:FindFirstChild("face") then
8390
				pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
8391
			end
8392
			if pchar:FindFirstChild("Body Colors") then
8393
				local Colors = pchar["Body Colors"]
8394
				local Skin = BrickColor.new("Pastel green")
8395
				local Clothes = BrickColor.new("Reddish brown")
8396
				Colors.HeadColor = Skin
8397
				Colors.LeftArmColor = Skin
8398
				Colors.RightArmColor = Skin
8399
				Colors.LeftLegColor = Clothes
8400-
		local AnimationId = tostring(args[2])
8400+
8401-
		local Anim = Instance.new("Animation")
8401+
8402-
		Anim.AnimationId = "rbxassetid://"..AnimationId
8402+
8403-
		local k = pchar.Humanoid:LoadAnimation(Anim)
8403+
8404-
		k:Play()
8404+
8405
			w1.Part1 = pchar.Torso
8406
			w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
8407
			local w2 = Instance.new("Weld", pchar)
8408
			w2.Part0 = pchar["Left Arm"]
8409
			w2.Part1 = pchar.Torso
8410
			w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
8411
			local rip = false
8412
			local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
8413
				if connect1 == false then
8414
					connect1 = true
8415
					if gPlayers:FindFirstChild(hit.Parent.Name) then
8416
						infect(gPlayers[hit.Parent.Name])
8417
					end
8418
					wait(0.5)
8419
					connect1 = true
8420
				end
8421
			end)
8422
			local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
8423
				if connect2 == false then
8424
					connect2 = true
8425
					if gPlayers:FindFirstChild(hit.Parent.Name) then
8426
						infect(gPlayers[hit.Parent.Name])
8427
					end
8428
					wait(0.5)
8429
					connect2 = true
8430
				end
8431
			end)
8432
			local IV = Instance.new("IntValue", pchar)
8433
			IV.Name = "Infected"
8434
			IV.Value = 0
8435
			IV.Changed:connect(function()
8436
				connect1:disconnect()
8437
				connect2:disconnect()
8438
			end)
8439
		end
8440
		infect(v)
8441
	end
8442
end)
8443
8444
addcmd('uninfect','makes player back to normal',{},
8445
function(args, speaker)
8446
	local players = getPlayer(args[1], speaker)
8447
	for i,v in pairs(players)do
8448
	    refresh(gPlayers[v])
8449
	end
8450
end)
8451
8452
addcmd('duck','makes players head a duck',{},
8453
function(args, speaker)
8454
	local players = getPlayer(args[1], speaker)
8455
	for i,v in pairs(players)do
8456
	    local pchar = gPlayers[v].Character
8457
	    for i,v in pairs(pchar.Torso:GetChildren()) do
8458
		    if v:IsA("Decal") then
8459
			    v:Destroy()
8460
		    end
8461-
Instance.new("Tool",gPlayers[v].Backpack).Name = "-"
8461+
8462
	    for i,v in pairs(pchar:GetChildren()) do
8463
		    if v:IsA("Accessory") then
8464
			    v:Destroy()
8465-
Instance.new("Tool",gPlayers[v].Backpack).Name = "-"
8465+
8466
	    end
8467
	    local duck = Instance.new("SpecialMesh", pchar.Torso)
8468
	    duck.MeshType = "FileMesh"
8469
	    duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
8470
	    duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
8471
	    duck.Scale = Vector3.new(5, 5, 5)
8472
	    pchar.Head.Transparency = 1
8473
	    pchar["Left Arm"].Transparency = 1
8474
	    pchar["Right Arm"].Transparency = 1
8475
	    pchar["Left Leg"].Transparency = 1
8476
	    pchar["Right Leg"].Transparency = 1
8477
	    pchar.Head.face.Transparency = 1
8478
	end
8479
end)
8480
8481
addcmd('mage', 'mage',{},
8482
function(args, speaker)
8483
if speaker.userId ~= LP.userId then
8484
lponly(speaker) else
8485
if not LP.PlayerGui:FindFirstChild('ChangeArc') then
8486
local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430")
8487
local fakeLighting = arcPackage.Lighting
8488
8489
local oldgame = game
8490
local oldlighting = oldgame:GetService("Lighting")
8491
8492
local proLighting = newproxy(true)
8493
local mtL = getmetatable(proLighting)
8494
mtL.__index = function(self,ind)
8495
	if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end
8496
	return oldlighting[ind]
8497
end
8498
mtL.__newindex = function(self,ind,val)
8499
	oldlighting[ind] = val
8500
end
8501
mtL.__namecall = function(self,...)
8502
	local args = {...}
8503
	local method = table.remove(args)
8504
	return oldlighting(method,unpack(args))
8505
end
8506
8507
local proGame = newproxy(true)
8508
local mt = getmetatable(proGame)
8509
mt.__index = function(self,ind)
8510
	if ind == "Lighting" then return proLighting end
8511
	return oldgame[ind]
8512
end
8513
mt.__namecall = function(self,...)
8514
	local args = {...}
8515
	local method = table.remove(args)
8516
	if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end
8517
	return oldgame(method,unpack(args))
8518
end
8519
8520
wait()
8521
local destructAnchored = false
8522
local maxMass = 1000
8523
8524
function newCESS(scr)
8525
	local newFunc = loadstring(scr.Source)
8526
	if type(newFunc) ~= "function" then return end
8527
	setfenv(newFunc,setmetatable({script = scr},{
8528
		__index = function(self,ind)
8529
			if ind == "game" then return proGame end
8530
			return getfenv()[ind]
8531
		end,
8532
		__newindex = function(self,ind,val)
8533
			rawset(self,ind,val)
8534
		end
8535
	}))
8536
	pcall(function()spawn(newFunc)end)
8537
end
8538
8539
gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999
8540
gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999
8541
8542
function destroyHook(obj,replacement,par)
8543
	obj:GetPropertyChangedSignal("Parent"):Connect(function()
8544
		local newObj = replacement:Clone()
8545
		if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
8546
		newObj.Parent = par
8547
		destroyHook(newObj,replacement,par)
8548
	end)
8549
end
8550
8551
for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do
8552
	local newObj = v:Clone()
8553
	if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
8554
	newObj.Parent = gPlayers.LocalPlayer.PlayerGui
8555
	destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui)
8556
end
8557
8558
function replaceScripts(root)
8559
	for i,v in pairs(root:GetChildren()) do
8560
		if v:IsA("Script") and not v:IsA("LocalScript") then
8561
			local tempStore = {}
8562
			for i2,v2 in pairs(v:GetChildren()) do
8563
				table.insert(tempStore,v2:Clone())
8564
			end
8565
			local newScript = Instance.new("LocalScript",v.Parent)
8566
			newScript.Name = v.Name
8567
			for i2,v2 in pairs(tempStore) do
8568
				v2.Parent = newScript
8569
			end
8570
			v:Destroy()
8571
		end
8572
		replaceScripts(v)
8573
	end
8574
end
8575
8576
local player = gPlayers.LocalPlayer
8577
8578
if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then
8579
	gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer
8580-
addcmd('nuke','nukes player',{}, -- from MML
8580+
8581
8582
if not game.ReplicatedStorage:FindFirstChild("RankScript") then
8583
	gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage
8584
end
8585
8586
if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then
8587
	local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element
8588
	eTemplate.Name = gPlayers.LocalPlayer.Name.."Element"
8589
	eTemplate.Parent = game.ReplicatedStorage
8590
end
8591
8592
if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then
8593
	local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName
8594
	fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName"
8595
	fTemplate.Parent = game.ReplicatedStorage
8596
end
8597
8598
if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then
8599
	local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level
8600
	lTemplate.Name = gPlayers.LocalPlayer.Name.."Level"
8601
	lTemplate.Parent = game.ReplicatedStorage
8602
end
8603
8604
if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then
8605
	local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership
8606
	mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership"
8607
	mTemplate.Parent = game.ReplicatedStorage
8608
end
8609
8610
function getMyPlayerArea()
8611
	for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do
8612
		if v.Player.Value == player.Name then
8613
			return v.PlayerArea
8614
		end
8615
	end
8616
end
8617
8618
local whitelistedParts = {
8619
	["DamagePart"] = true,
8620
	["Explosion"] = true,
8621
	["Explosion2"] = true,
8622
	["SuperExplosion"] = true,
8623
}
8624
8625
workspace.DescendantAdded:connect(function(desc)
8626
	if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then
8627
		newCESS(desc)
8628
	elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then
8629
		newCESS(desc)
8630
	elseif desc:IsA("BodyGyro") then
8631
		desc:GetPropertyChangedSignal("MaxTorque"):Connect(function()
8632
			desc.MaxTorque = Vector3.new(100000,100000,100000)
8633
		end)
8634
	--elseif desc:IsA("BodyPosition") then
8635
	--	desc:GetPropertyChangedSignal("MaxForce"):Connect(function()
8636
	--		desc.MaxForce = Vector3.new(10000,10000,10000)
8637
	--	end)
8638
	end
8639
end)
8640
8641
player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25))
8642
player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth
8643
player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25))
8644
player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50)
8645
player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value
8646
8647
wait(1)
8648
8649
local player = gPlayers.LocalPlayer
8650
8651
local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame
8652
local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate
8653
8654
local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle
8655
local arcMoves = player.PlayerGui.ChangeArc.ArcMoves
8656
local arcMovesList = arcMoves.ScrollingFrame
8657
local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate
8658
8659
local arcs = {}
8660
8661
local currentArc = ""
8662
8663
function getMove(root)
8664
	for i,v in pairs(root:GetChildren()) do
8665
		if v.Name ~= "Requirement" then
8666
			return v
8667
		end
8668
	end
8669
	return nil
8670
end
8671
8672
for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do
8673
	table.insert(arcs,v)
8674
end
8675
8676
for i,v in pairs(fakeLighting.Customs:GetChildren()) do
8677
	table.insert(arcs,v)
8678
end
8679
8680
for i,v in pairs(arcs) do
8681
	local newTemplate = arcTemplate:Clone()
8682
	newTemplate.ArcName.Text = v.Name
8683
	newTemplate.Change.MouseButton1Down:connect(function()
8684
		currentArc = v.Name
8685
		arcToggler.Parent.Visible = true
8686
		if fakeLighting.SkillFrames:FindFirstChild(currentArc) then
8687
			arcMovesList:ClearAllChildren()
8688
			arcToggler.Text = currentArc
8689
			arcMoves.Title.Text = currentArc .. " Arc"
8690
			for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
8691
				local myMove = getMove(v5.Learn)
8692
				if myMove ~= nil then
8693
					local newTemplate = moveTemplate:Clone()
8694
					newTemplate.Attack.Text = v5.Name
8695
					newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
8696
					newTemplate.Parent = arcMovesList
8697
					arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
8698
					newTemplate.Learn.MouseButton1Down:connect(function()
8699
						local learnMove = myMove:Clone()
8700
						learnMove.Parent = player.Backpack
8701
						if learnMove:IsA("LocalScript") then
8702
							learnMove.Disabled = false
8703
							newTemplate.Learn.Text = "Activated"
8704
							newCESS(learnMove)
8705
						else
8706
							newTemplate.Learn.Text = "Learned"
8707
							newCESS(learnMove.LocalScript)
8708
						end
8709
						wait(5)
8710
						newTemplate.Learn.Text = "Learn"
8711
					end)
8712
					newTemplate.Visible = true
8713
				end
8714
			end
8715
		end
8716
		if fakeLighting.Customs:FindFirstChild(currentArc) then
8717
			arcMovesList:ClearAllChildren()
8718
			arcToggler.Text = currentArc
8719
			arcMoves.Title.Text = currentArc .. " Arc"
8720
			for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
8721
				local myMove = getMove(v.Learn)
8722
				if myMove ~= nil then
8723
					local newTemplate = moveTemplate:Clone()
8724
					newTemplate.Attack.Text = v.Name
8725
					newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
8726
					newTemplate.Parent = arcMovesList
8727
					arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
8728
					newTemplate.Learn.MouseButton1Down:connect(function()
8729
						local learnMove = myMove:Clone()
8730
						learnMove.Parent = player.Backpack
8731
						if learnMove:IsA("LocalScript") then
8732
							learnMove.Disabled = false
8733
							newTemplate.Learn.Text = "Activated"
8734
							newCESS(learnMove)
8735
						else
8736
							newTemplate.Learn.Text = "Learned"
8737
							newCESS(learnMove.LocalScript)
8738
						end
8739
						wait(5)
8740
						newTemplate.Learn.Text = "Learn"
8741
					end)
8742
					newTemplate.Visible = true
8743
				end
8744
			end
8745
		end
8746
	end)
8747
	newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
8748
	newTemplate.Visible = true
8749
	newTemplate.Parent = arcList
8750
	arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
8751
end
8752
8753
Open = false
8754
MouseClick = function()
8755
  if Open == false then
8756
    Open = true
8757
    player.PlayerGui.ChangeArc.Stuff.Visible = true
8758
  else
8759
    if Open == true then
8760
      Open = false
8761
      player.PlayerGui.ChangeArc.Stuff.Visible = false
8762
    end
8763
  end
8764
end
8765
8766
player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick)
8767
8768
Open2 = false
8769
MouseClick2 = function()
8770
  if Open2 == false then
8771
    Open2 = true
8772
    arcMoves.Visible = true
8773
  else
8774
    if Open2 == true then
8775
      Open2 = false
8776
      arcMoves.Visible = false
8777
    end
8778
  end
8779
end
8780
8781
arcToggler.MouseButton1Down:connect(MouseClick2)
8782
8783
newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"])
8784
8785
for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do
8786
	if v:IsA("Script") then
8787
		newCESS(v)
8788
	end
8789
end
8790
end
8791
end
8792
end)
8793
8794
addcmd('unduck','makes player back to normal',{},
8795
function(args, speaker)
8796
	local players = getPlayer(args[1], speaker)
8797
	for i,v in pairs(players)do
8798
	    refresh(gPlayers[v])
8799
	end
8800
end)
8801
8802
addcmd('mesh','makes a player into a mesh',{},
8803
function(args, speaker)
8804
	local players = getPlayer(args[1], speaker)
8805
	for i,v in pairs(players)do
8806
	    local pchar = gPlayers[v].Character
8807
	    for i,v in pairs(pchar.Torso:GetChildren()) do
8808
		    if v:IsA("Decal") then
8809
			    v:Destroy()
8810
		    end
8811
	    end
8812
	    for i,v in pairs(pchar:GetChildren()) do
8813
		    if v:IsA("Accessory") then
8814
			    v:Destroy()
8815
		    end
8816
	    end
8817
	    pchar.Head.Transparency = 1
8818
	    pchar["Left Arm"].Transparency = 1
8819
	    pchar["Right Arm"].Transparency = 1
8820
	    pchar["Left Leg"].Transparency = 1
8821
	    pchar["Right Leg"].Transparency = 1
8822
	    pchar.Head.face.Transparency = 1
8823
	    local msh = Instance.new("SpecialMesh", pchar.Torso)
8824
	    msh.MeshType = "FileMesh"
8825
		msh.Scale = Vector3.new(3, 3, 3)
8826
	    msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
8827
	    msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
8828
	    msh.Scale = Vector3.new(3, 3, 3)
8829
	end
8830
end)
8831
8832
addcmd('disable','removes players humanoid',{},
8833
function(args, speaker)
8834
	local players = getPlayer(args[1], speaker)
8835
	for i,v in pairs(players)do
8836
		local pchar = gPlayers[v].Character
8837
	    if pchar:FindFirstChild("Humanoid") then
8838
		   pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
8839
		   local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
8840
		   humanoid.Parent = game.ContextActionService
8841
		if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else
8842
		Notify('Disabled player(s)') end
8843
	    end end end)
8844
8845
addcmd('enable','gives player humanoid',{},
8846
function(args, speaker)
8847
	local players = getPlayer(args[1], speaker)
8848
	for i,v in pairs(players)do
8849
		local pchar = gPlayers[v].Character
8850
	    if pchar:FindFirstChild("Humanoid") then
8851
		    return
8852
	    else
8853
		    local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
8854
		    humanoid.Parent = pchar
8855
		    humanoid.Name = "Humanoid"
8856
			if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else
8857
			Notify('Enabled player(s)') end
8858
	    end end end)
8859
8860
addcmd('size','changes size of player',{},
8861
function(args, speaker)
8862
	local players = getPlayer(args[1], speaker)
8863
	for i,v in pairs(players)do
8864
	local pchar = gPlayers[v].Character
8865
		local function scale(chr,scl)
8866
			for _,v in pairs(pchar:GetChildren()) do
8867
				if v:IsA("Accessory") then
8868
					v:Clone()
8869
					v.Parent = LightingService
8870
				end end
8871
		    local Head = chr['Head']
8872
		    local Torso = chr['Torso']
8873
		    local LA = chr['Left Arm']
8874
		    local RA = chr['Right Arm']
8875
		    local LL = chr['Left Leg']
8876
		    local RL = chr['Right Leg']
8877
		    local HRP = chr['HumanoidRootPart']
8878
		    wait(0.1)
8879
		    Head.formFactor = 3
8880
		    Torso.formFactor = 3
8881
		    LA.formFactor = 3
8882
		    RA.formFactor = 3
8883
		    LL.formFactor = 3
8884
		    RL.formFactor = 3
8885
		    HRP.formFactor = 3
8886
		    Head.Size = Vector3.new(scl * 2, scl, scl)
8887
		    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
8888
		    LA.Size = Vector3.new(scl, scl * 2, scl)
8889
		    RA.Size = Vector3.new(scl, scl * 2, scl)
8890
		    LL.Size = Vector3.new(scl, scl * 2, scl)
8891
		    RL.Size = Vector3.new(scl, scl * 2, scl)
8892
		    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
8893
		    local Motor1 = Instance.new('Motor6D', Torso)
8894
		    Motor1.Part0 = Torso
8895
		    Motor1.Part1 = Head
8896
	    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
8897
	    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
8898
	    	Motor1.Name = "Neck"    
8899
	    	local Motor2 = Instance.new('Motor6D', Torso)
8900
	    	Motor2.Part0 = Torso
8901
	    	Motor2.Part1 = LA
8902
	    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
8903
	    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
8904
	    	Motor2.Name = "Left Shoulder"
8905
	    	local Motor3 = Instance.new('Motor6D', Torso)
8906
	   		Motor3.Part0 = Torso
8907
	    	Motor3.Part1 = RA
8908
	    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
8909
	    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
8910
	    	Motor3.Name = "Right Shoulder"
8911
	    	local Motor4 = Instance.new('Motor6D', Torso)
8912
	    	Motor4.Part0 = Torso
8913
	    	Motor4.Part1 = LL
8914
	    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
8915
	    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
8916
	    	Motor4.Name = "Left Hip"
8917
	    	local Motor5 = Instance.new('Motor6D', Torso)
8918
	    	Motor5.Part0 = Torso
8919
	    	Motor5.Part1 = RL
8920
	    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
8921
	    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
8922
	    	Motor5.Name = "Right Hip"
8923
	    	local Motor6 = Instance.new('Motor6D', HRP)
8924
	    	Motor6.Part0 = HRP
8925
	    	Motor6.Part1 = Torso
8926
	    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
8927
	    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end
8928
		scale(pchar, args[2])
8929
		for _,v in pairs(LightingService:GetChildren()) do
8930
			if v:IsA("Accessory") then
8931
				v.Parent = pchar
8932
			end end end end)
8933
8934
addcmd('clone','clones player',{},
8935
function(args, speaker)
8936
	local players = getPlayer(args[1], speaker)
8937
	for i,v in pairs(players)do
8938
	    local pchar = gPlayers[v].Character
8939
	    pchar.Archivable = true
8940
	    local clone = pchar:Clone()
8941
	    clone.Parent = workspace
8942
	    clone:MoveTo(pchar:GetModelCFrame().p)
8943
	    clone:MakeJoints()
8944
	    pchar.Archivable = false
8945
	end
8946
end)
8947
8948
addcmd('spin','spins player',{},
8949
function(args, speaker)
8950
	local players = getPlayer(args[1], speaker)
8951
	for i,v in pairs(players)do
8952
		spawn(function()
8953
	    local pchar = gPlayers[v].Character
8954
	    for i,v in pairs(pchar.Torso:GetChildren()) do
8955
		    if v.Name == "Spinning" then
8956
			    v:Destroy()
8957
		    end
8958
	    end
8959
	    local Torso = pchar.Torso
8960
	    local BG = Instance.new("BodyGyro", Torso)
8961
	    BG.Name = "Spinning"
8962
	    BG.maxTorque = Vector3.new(0, math.huge, 0)
8963
	    BG.P = 11111
8964
	    BG.cframe = Torso.CFrame
8965
	    repeat wait(1/44)
8966
		    BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
8967
	    until not BG or BG.Parent ~= Torso
8968
		end)
8969
		end
8970
end)
8971
8972
addcmd('unspin','stops spinning player',{},
8973
function(args, speaker)
8974
	local players = getPlayer(args[1], speaker)
8975
	for i,v in pairs(players)do
8976
	    local pchar = gPlayers[v].Character
8977
	    for i,v in pairs(pchar.Torso:GetChildren()) do
8978
		    if v.Name == "Spinning" then
8979
			    v:Destroy()
8980
		    end
8981
	    end
8982
	end
8983
end)
8984
8985
addcmd('dog','makes player a dog',{},
8986
function(args, speaker)
8987
	local players = getPlayer(args[1], speaker)
8988
	for i,v in pairs(players)do
8989
	    local pchar = gPlayers[v].Character
8990
	    if pchar:FindFirstChild("Shirt") then
8991
		    pchar.Shirt:Destroy()
8992
	    end
8993
	    if pchar:FindFirstChild("Pants") then
8994
		    pchar.Pants:Destroy()
8995
	    end
8996
	    if pchar:FindFirstChild("Shirt Graphic") then
8997
		    pchar["Shirt Graphic"].Graphic = ""
8998
	    end
8999
	    pchar.Torso.Transparency = 1
9000
	    pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
9001
	    pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
9002
	    pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
9003
	    pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
9004
	    pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
9005
	    local FakeTorso = Instance.new("Seat", pchar)
9006
	    FakeTorso.Name = "FakeTorso"
9007
	    FakeTorso.FormFactor = "Symmetric"
9008
	    FakeTorso.TopSurface = 0
9009
	    FakeTorso.BottomSurface = 0
9010
	    FakeTorso.Size = Vector3.new(3,1,4)
9011
	    FakeTorso.BrickColor = BrickColor.new("Brown")
9012
	    FakeTorso.CFrame = pchar.Torso.CFrame
9013
	    local BF = Instance.new("BodyForce", FakeTorso)
9014
	    BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
9015
	    local W = Instance.new("Weld", pchar.Torso)
9016
	    W.Part0 = pchar.Torso
9017
	    W.Part1 = FakeTorso
9018
	    W.C0 = CFrame.new(0,-.5,0)
9019
	    local BC = pchar["Body Colors"]
9020
	    BC.HeadColor = BrickColor.new("Brown")
9021
	    BC.LeftArmColor = BrickColor.new("Brown")
9022
	    BC.LeftLegColor = BrickColor.new("Brown")
9023
	    BC.RightArmColor = BrickColor.new("Brown")
9024
	    BC.RightLegColor = BrickColor.new("Brown")
9025
	    BC.TorsoColor = BrickColor.new("Brown")
9026
	end
9027
end)
9028
9029
addcmd('undog','makes player back to normal',{},
9030
function(args, speaker)
9031
	local players = getPlayer(args[1], speaker)
9032
	for i,v in pairs(players)do
9033
	    refresh(gPlayers[v])
9034
	end
9035
end)
9036
9037
addcmd('loopheal','loop heals player',{},
9038
function(args, speaker)
9039
	local players = getPlayer(args[1], speaker)
9040
	for i,v in pairs(players)do
9041
		spawn(function()
9042
	    local pchar = gPlayers[v].Character
9043
	    if pchar:FindFirstChild("LoopHeal") then
9044
		    pchar.LoopHeal.Name = "NotLoopHeal"
9045
		    wait(0.1)
9046
		    pchar.NotLoopHeal:Destroy()
9047
	    end
9048
	    local LoopHeal = Instance.new("StringValue", pchar)
9049
	    LoopHeal.Name = "LoopHeal"
9050
	    repeat wait(0.1)
9051
		    pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
9052
	    until LoopHeal.Name == "NotLoopHeal"
9053
		end)
9054
		end
9055
end)
9056
9057
addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
9058
function(args, speaker)
9059
	local players = getPlayer(args[1], speaker)
9060
	for i,v in pairs(players)do
9061
	    local pchar = gPlayers[v].Character
9062
	    if pchar:FindFirstChild("LoopHeal") then
9063
		    pchar.LoopHeal.Name = "NotLoopHeal"
9064
		    wait(0.1)
9065
		    pchar.NotLoopHeal:Destroy()
9066
	    end
9067
	end
9068
end)
9069
9070
addcmd('fling','flings player',{},
9071
function(args, speaker)
9072
	local players = getPlayer(args[1], speaker)
9073
	for i,v in pairs(players)do
9074
	    local pchar = gPlayers[v].Character
9075
		if pchar:FindFirstChild("Humanoid") then
9076
			local xran
9077
			local zran
9078
			repeat
9079
				xran = math.random(-9999,9999)
9080
			until math.abs(xran) >= 5555
9081
			repeat
9082
				zran = math.random(-9999,9999)
9083
			until math.abs(zran) >= 5555
9084
			pchar.Humanoid.Sit = true
9085
			pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
9086
			local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
9087
			BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
9088
		end
9089
	end
9090
end)
9091
9092
addcmd('skydive','self explanatory',{},
9093
function(args, speaker)
9094
	local players = getPlayer(args[1], speaker)
9095
	for i,v in pairs(players)do
9096
	    local pchar = gPlayers[v].Character
9097
		if pchar:FindFirstChild("HumanoidRootPart") then
9098
		pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0)
9099
		end
9100
	end
9101
end)
9102
9103
addcmd('sparta','this is sparta',{},
9104
function(args, speaker)
9105
--credit adonis i just edited ;)
9106
 local user = getPlayer(args[1], speaker)
9107
for i,player in pairs(user) do
9108
						local torso = player.Character:FindFirstChild('HumanoidRootPart')
9109
						if torso then
9110
							local hole = Instance.new("Part",player.Character)
9111
							hole.Anchored = true
9112
							hole.CanCollide = false
9113
							hole.formFactor = Enum.FormFactor.Custom
9114
							hole.Size = Vector3.new(10,1,10)
9115
							hole.CFrame = torso.CFrame * CFrame.new(0,-3.3,-3)
9116
							hole.BrickColor = BrickColor.new("Really black")
9117
							local holeM = Instance.new("CylinderMesh",hole)
9118
							torso.Anchored = true
9119
							local sound = Instance.new("Sound", hole)
9120
							sound.SoundId = "rbxassetid://130781067"
9121
							sound.Volume = 3
9122
							sound:Play()
9123
							local foot = torso.CFrame * CFrame.new(0,-3,0)
9124
							for i=1,10 do
9125
								torso.CFrame = foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0)
9126
								wait(0.1)
9127
							end
9128
							for i=1,5,0.2 do
9129
								torso.CFrame = foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0)
9130
								wait()
9131
							end
9132
							player.Character:BreakJoints()
9133
							wait(2)
9134
							sound:Destroy()
9135
						end
9136
						end
9137
end)
9138
9139
addcmd('bleach','drink bleach',{''},
9140
function(args, speaker)
9141
	local players = getPlayer(args[1], speaker)
9142
	for i,v in pairs(players)do
9143
	bleach(gPlayers[v])
9144
	end
9145
end)
9146
9147
addcmd('seizure','makes player have a seizure',{''},
9148
function(args, speaker)
9149
	local players = getPlayer(args[1], speaker)
9150
	for i,v in pairs(players)do
9151
	    local pchar = gPlayers[v].Character
9152
	    if pchar:FindFirstChild("Seizure") then
9153
		    
9154
	    end
9155
	    local Seizure = Instance.new("StringValue", pchar)
9156
	    Seizure.Name = "Seizure"
9157
	    pchar.Humanoid.PlatformStand = true
9158
		repeat wait()
9159
		    pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
9160
		    pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
9161
		until Seizure.Name == "NotSeizure"
9162
	end
9163
end)
9164
9165
addcmd('fegod','gods you in fe games',{''},
9166
function(args, speaker)
9167
	if speaker.userId ~= LP.userId then
9168
	lponly(speaker)
9169
	else
9170
		gPlayers.LocalPlayer.Character.Humanoid.Name = 1
9171
		local l = gPlayers.LocalPlayer.Character["1"]:Clone()
9172
		l.Parent = gPlayers.LocalPlayer.Character
9173
		l.Name = "Humanoid"
9174
		wait(0.1)
9175
		gPlayers.LocalPlayer.Character["1"]:Destroy()
9176
		workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
9177
		gPlayers.LocalPlayer.Character.Animate.Disabled = true
9178
		wait(0.1)
9179
		gPlayers.LocalPlayer.Character.Animate.Disabled = false
9180
		gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
9181
	end
9182
end)
9183
9184
addcmd('unseizure','makes player stop having a seizure',{''},
9185
function(args, speaker)
9186
	local players = getPlayer(args[1], speaker)
9187
	for i,v in pairs(players)do
9188
	    local pchar = gPlayers[v].Character
9189
	    if pchar:FindFirstChild("Seizure") then
9190
	        pchar.Humanoid.PlatformStand = false
9191
		    pchar.Seizure.Name = "NotSeizure"
9192
		    wait(0.1)
9193
		    pchar.NotSeizure:Destroy()
9194
	    end
9195
	end
9196
end)
9197
9198
addcmd('m','makes a global message',{'message'},
9199
function(args, speaker)
9200
    local MSG = '['..speaker.Name..']: '..GLS(false, 0)
9201
    local newMSG = '['..speaker.Name..']: '..GLS(false, 0)
9202
    _G.msg(MSG)
9203
end)
9204
9205
addcmd('sm','makes a global message',{'servermessage'},
9206
function(args, speaker)
9207
    local MSG = GLS(false, 0)
9208
    local newMSG = GLS(false, 0)
9209
    _G.msg(MSG)
9210
end)
9211
9212
addcmd('fe','checks filtering status',{'filtering'},
9213
function(args, speaker)
9214
if workspace.FilteringEnabled == true then
9215
	Notify('Filtering ENABLED') 
9216
elseif workspace.FilteringEnabled == false then
9217
	Notify('Filtering Disabled') 
9218
end
9219
end)
9220
9221
addcmd('paper','makes player thin as paper',{''},
9222
function(args, speaker)
9223
	local players = getPlayer(args[1], speaker)
9224
	for i,v in pairs(players)do
9225
	    local pchar = gPlayers[v].Character
9226
		for _, child in pairs( pchar:GetChildren()) do
9227
    	if child.ClassName == "CharacterMesh" then
9228
        child:Destroy()
9229
   		end
9230
		end
9231
	    local LA = DATA.Paper:Clone()
9232
	    LA.Parent = pchar["Left Arm"]
9233
	    local RA = DATA.Paper:Clone()
9234
	    RA.Parent = pchar["Right Arm"]
9235
	    local LL = DATA.Paper:Clone()
9236
	    LL.Parent = pchar["Left Leg"]
9237
	    local RL = DATA.Paper:Clone()
9238
	    RL.Parent = pchar["Right Leg"]
9239
	    local T = DATA.Paper:Clone()
9240
	    T.Parent = pchar.Torso
9241
		local H = DATA.Paper:Clone()
9242
		H.Parent = pchar.Head
9243
		pchar.Head.face:Destroy()
9244
	end
9245
end)
9246
9247
addcmd('particles','gives a player particles',{''},
9248
function(args, speaker)
9249
	local players = getPlayer(args[1], speaker)
9250
	for i,v in pairs(players)do
9251
		local char = gPlayers[v].Character
9252
		for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
9253
			if v:IsA('ParticleEmitter') then
9254-
	    	pchar.Archivable = true
9254+
9255-
	    	local clone = pchar:Clone()
9255+
9256-
	    	clone.Parent = workspace
9256+
9257-
			local cloneV = Instance.new("BoolValue")
9257+
9258-
			cloneV.Name = "isclone"
9258+
9259-
			cloneV.Parent = clone
9259+
9260-
	    	clone:MoveTo(pchar:GetModelCFrame().p)
9260+
9261-
	    	clone:MakeJoints()
9261+
9262-
	    	pchar.Archivable = false
9262+
9263
9264
addcmd('unparticles','gives a player particles',{'noparticles'},
9265
function(args, speaker)
9266
	local players = getPlayer(args[1], speaker)
9267-
addcmd('noclones', 'clears clones',{},
9267+
9268
		local char = gPlayers[v].Character
9269
		for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
9270
			if v:IsA('ParticleEmitter') then
9271
				v:destroy()
9272-
    	if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then
9272+
9273-
     	   child:Destroy()
9273+
9274-
  	  end
9274+
9275
end)
9276
9277
blindT = {}
9278
addcmd('blind','blinds a player',{},
9279
function(args, speaker)
9280
	local players = getPlayer(args[1], speaker)
9281
	for i,v in pairs(players)do
9282
		spawn(function()
9283
		if FindTable(blindT, _players[v].Name) then return end
9284
		local blind = gPlayers[v].Name
9285
local victim = gPlayers:FindFirstChild(blind)
9286
if victim ~= nil then
9287
victim.CameraMaxZoomDistance = 0.5
9288
blnd = Instance.new("Part",workspace)
9289
blnd.Name = "IYblind" .. gPlayers[v].Name
9290
blnd.Size = Vector3.new(1,1,1)
9291
blnd.CanCollide = false
9292
blnd.BrickColor = BrickColor.new("Really black")
9293
blnd.Material = "Neon"
9294
local m = Instance.new("SpecialMesh",blnd)
9295
m.Scale = Vector3.new(-1.5,-1.5,-1.5)
9296
m.MeshId = "http://www.roblox.com/asset/?id=10061232"
9297
local w = Instance.new("Weld",blnd)
9298
w.Part0 = blnd
9299
w.Part1 = victim.Character.Head
9300
if FindTable(blindT, _players[v].Name) then return end
9301
		table.insert(blindT, _players[v].Name)
9302
		repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then
9303
local blind = gPlayers[v].Name
9304
local victim = gPlayers:FindFirstChild(blind)
9305
if victim ~= nil then
9306
victim.CameraMaxZoomDistance = 0.5
9307
blnd = Instance.new("Part",workspace)
9308
blnd.Name = "IYblind" .. gPlayers[v].Name
9309
blnd.Size = Vector3.new(1,1,1)
9310
blnd.CanCollide = false
9311
blnd.BrickColor = BrickColor.new("Really black")
9312
blnd.Material = "Neon"
9313
local m = Instance.new("SpecialMesh",blnd)
9314
m.Scale = Vector3.new(-1.5,-1.5,-1.5)
9315
m.MeshId = "http://www.roblox.com/asset/?id=10061232"
9316
local w = Instance.new("Weld",blnd)
9317
w.Part0 = blnd
9318
w.Part1 = victim.Character.Head
9319
end end wait(1)
9320
until not FindTable(blindT, _players[v].Name)
9321
end end) end end)
9322
9323
addcmd('unblind','blinds a player',{'noblind'},
9324
function(args, speaker)
9325
	local players = getPlayer(args[1], speaker)
9326
	for i,v in pairs(players)do
9327
		spawn(function()
9328
		for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end
9329
		local blind = gPlayers[v].Name
9330
local victim = gPlayers:FindFirstChild(blind)
9331
if victim ~= nil then
9332
victim.CameraMaxZoomDistance = 400 wait(0.5)
9333
	for _, child in pairs( workspace:GetChildren()) do
9334
    if child.Name == "IYblind" .. gPlayers[v].Name then
9335
    child:Destroy()
9336
end end end end) end end)
9337
9338
addcmd('punish','punishs player',{''},
9339
function(args, speaker)
9340
	local players = getPlayer(args[1], speaker)
9341
	for i,v in pairs(players)do
9342
	    local pchar = gPlayers[v].Character
9343
	    pchar.Parent = LightingService
9344
	end
9345
end)
9346
9347
addcmd('unpunish','unpunishs player',{''},
9348
function(args, speaker)
9349
	local players = getPlayer(args[1], speaker)
9350
	for i,v in pairs(players)do
9351
	    if LightingService:FindFirstChild("" .. gPlayers[v].Name) then
9352
	        LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace
9353
	    end
9354
	end
9355
end)
9356
9357
local starmanPlayers = {}
9358
local starmanLastColor = nil
9359
local starmanEvents = {}
9360
9361
addcmd("starman","Turns [plr] into starman",{},
9362
function(args,speaker)
9363
	local function starman(plr)
9364
		local char = plr.Character
9365
		local lastColor = ""
9366
		local newColor = ""
9367
	
9368
		local powerupSound = Instance.new("Sound",char.HumanoidRootPart)
9369
		powerupSound.Name = "PowerUp"
9370
		powerupSound.Volume = 10
9371
		powerupSound.SoundId = "rbxassetid://182755256"
9372
		wait()
9373
		powerupSound:Play()
9374
	
9375
		game:GetService("Debris"):AddItem(powerupSound,2)
9376
9377
		while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end
9378
		
9379
		local starmanMusic = Instance.new("Sound",char.HumanoidRootPart)
9380
		starmanMusic.Name = "Starman"
9381
		starmanMusic.Volume = 1
9382
		starmanMusic.Looped = true
9383
		starmanMusic.SoundId = "rbxassetid://530596723"
9384
		wait()
9385
		starmanMusic:Play()
9386
9387
		if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end
9388
		if char:FindFirstChild("Pants") then char.Pants:Destroy() end
9389
9390
		char.Humanoid.WalkSpeed = 32
9391
		char.Humanoid.MaxHealth = math.huge
9392
		char.Humanoid.Health = math.huge
9393
		
9394
		local invisff = Instance.new("ForceField", char)
9395
		invisff.Visible = false invisff.Name = 'smff'
9396
9397
		while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end
9398
9399
		local light = Instance.new("PointLight",char.HumanoidRootPart)
9400
		light.Name = "StarmanFlash"
9401
		light.Brightness = 100
9402
		light.Range = 20
9403
		light.Shadows = true
9404
9405
		local function stardestroy(part)
9406
			if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then
9407
				for i,v in pairs(part.Parent:GetChildren()) do
9408
					if v:IsA("BasePart") then
9409
						local force = Instance.new("BodyForce",v)
9410
						force.Force = char.HumanoidRootPart.CFrame.lookVector * 50
9411
						v:BreakJoints()
9412
					end
9413
				end
9414
			
9415
				local tadaas = {}
9416
			
9417
				for i = 1,1 do
9418
					local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart)
9419
					tadaa.Volume = 10
9420
					tadaa.SoundId = "rbxassetid://551195499"
9421
					table.insert(tadaas,tadaa)
9422
				end
9423
		
9424
				wait()
9425
		
9426
				for i,v in pairs(tadaas) do
9427
					v:Play()
9428
				end
9429
			end
9430
		end
9431
9432
		local events = {}
9433
		for i,v in pairs(char:GetChildren()) do
9434
			if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end
9435
		end
9436
		if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end
9437
		starmanEvents[plr.Name] = events
9438
		starmanPlayers[plr.Name] = char
9439
	end
9440
	
9441
	for _,plr in pairs(getPlayer(args[1], speaker)) do
9442
		spawn(function()starman(gPlayers[plr])end)
9443
	end
9444
end)
9445
9446
addcmd("unstarman","Removes starman from [plr]",{},
9447
function(args,speaker)
9448
	for _,plr in pairs(getPlayer(args[1], speaker)) do
9449
		pcall(function()
9450
			if starmanPlayers[plr] then starmanPlayers[plr] = nil end
9451
			if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end
9452
			local char = gPlayers[plr].Character
9453
			while char.HumanoidRootPart:FindFirstChild("Starman") do
9454
				char.HumanoidRootPart.Starman:Destroy()
9455
			end
9456
			while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do
9457
				char.HumanoidRootPart.StarmanFlash:Destroy()
9458
			end
9459
			while char.HumanoidRootPart:FindFirstChild("smff") do
9460
				char.HumanoidRootPart.smff:Destroy()
9461
			end
9462
		end)
9463
	end
9464
end)
9465
9466
local Timers = {}
9467
function checkTimer(n,t,res)
9468
	if not Timers[n] then Timers[n] = 0 end
9469
	
9470
	if tick() >= Timers[n] + t then
9471
		if res then Timers[n] = tick() end
9472
		return true
9473
	else
9474
		return false
9475
	end
9476
end
9477
9478
function nonEmpty(t)
9479
	for i,v in pairs(t) do
9480
		return true
9481
	end
9482
	return false
9483
end
9484
9485
game:GetService("RunService").RenderStepped:Connect(function()
9486
	if nonEmpty(starmanPlayers) then
9487
		if checkTimer("Starman",0.05,true) then					
9488
			for name,plrchar in pairs(starmanPlayers) do
9489
				ypcall(function()
9490
					local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"}
9491
					if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end
9492
						
9493
					local plr = gPlayers:FindFirstChild(name)
9494
						
9495
					if plr then
9496
						local char = plrchar
9497
						local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash")
9498
							
9499
						local meshMap = {}
9500
9501
						for i,v in pairs(char:GetChildren()) do
9502
							if v:IsA("CharacterMesh") then
9503
								if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end
9504
								if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end
9505
								if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end
9506
								if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end
9507
								if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end
9508
							end
9509
						end
9510
9511
						if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end
9512
							
9513
						if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end
9514
						local newColor = BrickColor.new(colors[math.random(1,#colors)])
9515
						while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end
9516
						starmanLastColor = newColor
9517
						for i,v in pairs(char:GetChildren()) do
9518
							if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
9519
								v.BrickColor = newColor
9520
								local fade = v:Clone()
9521
								if meshMap[v.Name] then
9522
									local newMesh = Instance.new("SpecialMesh",fade)
9523
									newMesh.MeshId = meshMap[v.Name]
9524
								end
9525
								fade.Name = "StarFade"
9526
								fade.Anchored = true
9527
								fade.CanCollide = false
9528
								for n,c in pairs(fade:GetChildren()) do if c:IsA("Attachment") or c:IsA("Motor6D") or c:IsA("PointLight") or c:IsA("Sound") or c:IsA("Weld") then c:Destroy() end end
9529
								fade.Parent = workspace.Terrain
9530
								game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play()
9531
								game:GetService("Debris"):AddItem(fade,0.5)
9532
							end
9533
						end
9534
						light.Color = newColor.Color
9535
					end
9536
				end)
9537
			end
9538
		end
9539
	end
9540
end)
9541
9542
addcmd("tppos","Teleports a player to a coordinate",{},
9543
function(args,speaker)
9544
	if #args < 4 then return end
9545
	local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
9546
	for _,plr in pairs(getPlayer(args[1], speaker)) do
9547
		local char = gPlayers[plr].Character
9548
		if char and char:FindFirstChild("HumanoidRootPart") then
9549
			char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
9550
		end
9551
	end
9552
end)
9553
9554
addcmd("offset","Offsets a player by a coordinate",{},
9555
function(args,speaker)
9556
	if #args < 4 then return end
9557
	local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
9558
	for _,plr in pairs(getPlayer(args[1], speaker)) do
9559
		local char = gPlayers[plr].Character
9560
		if char and char:FindFirstChild("HumanoidRootPart") then
9561
			char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
9562
		end
9563
	end
9564
end)
9565
9566
addcmd('bait',';)',{'troll'},
9567
function(args, speaker)
9568
spawn(function()
9569
local M = Instance.new('Model', workspace) M.Name = 'IYbait'
9570
local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.Color = maincolor P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4)
9571
y = Instance.new("BillboardGui")
9572
y.Size = UDim2.new(0,100,0,150)
9573
y.StudsOffset = Vector3.new(0,1,0)
9574
y.Parent = P
9575
y.Adornee = P
9576
f = Instance.new("TextLabel")
9577
f.Parent = y
9578
f.BackgroundTransparency = 1
9579
f.Position = UDim2.new(0,0,0,-50)
9580
f.Size = UDim2.new(0,100,0,100)
9581
f.Font = "Highway"
9582
f.FontSize = "Size48"
9583
f.Text = "Touch for admin!"
9584
f.TextStrokeColor3 = Color3.new(0,0,0)
9585
f.TextColor3 = Color3.new(255/255,255/255,255/255)
9586
f.TextStrokeTransparency = 0
9587
f.TextYAlignment = "Bottom"
9588
P.Touched:connect(function(oof) if oof.Parent.Name ~= speaker.Name or oof.Parent.Name ~= LP.Name then if oof.Parent:FindFirstChild('Humanoid') then execCmd("oof " .. oof.Parent.Name, Player) end end end)
9589
	end)
9590
end)
9591
9592
addcmd('removebait','clears bait parts',{'nobait'},
9593
function(args, speaker)
9594
    local function dels(instance)
9595
        for i,v in pairs(instance:GetChildren())do
9596
            if v.name == "IYbait"then v:Destroy()end
9597
            dels(v)
9598
        end
9599
    end
9600
    dels(workspace)
9601
end)
9602
9603
function CreateInstance(cls,props)
9604
	local inst = Instance.new(cls)
9605
	for i,v in pairs(props) do
9606
		inst[i] = v
9607
	end
9608
	return inst end
9609
local function createSoundFrame()
9610
	local soundFrame = Instance.new("Frame") soundFrame.Name = "Sound" soundFrame.BackgroundColor3 = Color3.new(0, 0, 0) soundFrame.BackgroundTransparency = 1 soundFrame.BorderSizePixel = 0 soundFrame.Position = UDim2.new(0.5, -350, 0, -100) soundFrame.Size = UDim2.new(0, 700, 0, 35)
9611
	local soundFrame4 = Instance.new("TextLabel") soundFrame4.Name = "SName" soundFrame4.Parent = soundFrame soundFrame4.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame4.BackgroundTransparency = 1 soundFrame4.Position = UDim2.new(0, 3, 0, 2) soundFrame4.Size = UDim2.new(1, -6, 0, 15) soundFrame4.Font = Enum.Font.SourceSansBold soundFrame4.FontSize = Enum.FontSize.Size14 soundFrame4.Text = "Audio" soundFrame4.TextColor3 = Color3.new(1, 1, 1) soundFrame4.TextWrapped = true soundFrame4.TextYAlignment = Enum.TextYAlignment.Top
9612
	local soundFrame6 = Instance.new("TextButton") soundFrame6.Name = "Pause" soundFrame6.Parent = soundFrame soundFrame6.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame6.BackgroundTransparency = 1 soundFrame6.Position = UDim2.new(0, 170, 1, -18) soundFrame6.Size = UDim2.new(0, 15, 0, 15) soundFrame6.Font = Enum.Font.SourceSans soundFrame6.FontSize = Enum.FontSize.Size14 soundFrame6.Text = "" soundFrame6.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
9613
	local soundFrame7 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,3,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame6})
9614
	local soundFrame8 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1,-5,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame6})
9615
	local soundFrame9 = Instance.new("Frame") soundFrame9.Name = "Pos" soundFrame9.Parent = soundFrame soundFrame9.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame9.BackgroundTransparency = 1 soundFrame9.BorderSizePixel = 0 soundFrame9.Position = UDim2.new(0, 260, 1, -16) soundFrame9.Size = UDim2.new(1, -300, 0, 11)
9616
	local soundFrame10 = Instance.new("Frame") soundFrame10.Name = "Touch" soundFrame10.Parent = soundFrame9 soundFrame10.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame10.BorderSizePixel = 0 soundFrame10.Size = UDim2.new(0, 5, 0, 11)
9617
	local soundFrame11 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,5),Rotation=0,Selectable=false,Size=UDim2.new(1,0,0,1),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame9})
9618
	local soundFrame12 = Instance.new("TextLabel") soundFrame12.Name = "TimeEnd" soundFrame12.Parent = soundFrame soundFrame12.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame12.BackgroundTransparency = 1 soundFrame12.Position = UDim2.new(1, -35, 1, -18) soundFrame12.Size = UDim2.new(0, 30, 0, 15) soundFrame12.Font = Enum.Font.SourceSans soundFrame12.FontSize = Enum.FontSize.Size14 soundFrame12.Text = "1:52" soundFrame12.TextColor3 = Color3.new(1, 1, 1) soundFrame12.TextYAlignment = Enum.TextYAlignment.Top
9619
	local soundFrame13 = Instance.new("TextLabel") soundFrame13.Name = "TimeStart" soundFrame13.Parent = soundFrame soundFrame13.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame13.BackgroundTransparency = 1 soundFrame13.Position = UDim2.new(0, 225, 1, -18) soundFrame13.Size = UDim2.new(0, 30, 0, 15) soundFrame13.Font = Enum.Font.SourceSans soundFrame13.FontSize = Enum.FontSize.Size14 soundFrame13.Text = "0:00" soundFrame13.TextColor3 = Color3.new(1, 1, 1) soundFrame13.TextYAlignment = Enum.TextYAlignment.Top
9620
	local soundFrame15 = Instance.new("TextButton") soundFrame15.Name = "NextSong" soundFrame15.Parent = soundFrame soundFrame15.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame15.BackgroundTransparency = 1 soundFrame15.Position = UDim2.new(0, 80, 1, -18) soundFrame15.Size = UDim2.new(0, 15, 0, 15) soundFrame15.Font = Enum.Font.SourceSans soundFrame15.FontSize = Enum.FontSize.Size14 soundFrame15.Text = "" soundFrame15.TextColor3 = Color3.new(1, 1, 1)
9621
	local soundFrame16 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1,-2,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame15})
9622
	local soundFrame17 = CreateInstance("ImageLabel",{Image="rbxassetid://304846479",ImageColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),ImageRectOffset=Vector2.new(0,0),ImageRectSize=Vector2.new(0,0),ImageTransparency=0,ScaleType=0,SliceCenter=Rect.new(0,0,0,0),Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,2),Rotation=90,Selectable=false,Size=UDim2.new(0,10,0,11),SizeConstraint=0,Visible=true,ZIndex=1,Name="ImageLabel",Parent = soundFrame15})
9623
	local soundFrame18 = Instance.new("TextButton") soundFrame18.Name = "PrevSong" soundFrame18.Parent = soundFrame soundFrame18.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame18.BackgroundTransparency = 1 soundFrame18.Position = UDim2.new(0, 20, 1, -18) soundFrame18.Size = UDim2.new(0, 15, 0, 15) soundFrame18.Font = Enum.Font.SourceSans soundFrame18.FontSize = Enum.FontSize.Size14 soundFrame18.Text = "" soundFrame18.TextColor3 = Color3.new(1, 1, 1)
9624
	local soundFrame19 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame18})
9625
	local soundFrame20 = CreateInstance("ImageLabel",{Image="rbxassetid://304846479",ImageColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),ImageRectOffset=Vector2.new(0,0),ImageRectSize=Vector2.new(0,0),ImageTransparency=0,ScaleType=0,SliceCenter=Rect.new(0,0,0,0),Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,5,0,2),Rotation=-90,Selectable=false,Size=UDim2.new(0,10,0,11),SizeConstraint=0,Visible=true,ZIndex=1,Name="ImageLabel",Parent = soundFrame18})
9626
	local soundFrame21 = Instance.new("TextLabel") soundFrame21.Name = "PlaylistCount" soundFrame21.Parent = soundFrame soundFrame21.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame21.BackgroundTransparency = 1 soundFrame21.Position = UDim2.new(0, 40, 1, -18) soundFrame21.Size = UDim2.new(0, 35, 0, 15) soundFrame21.Font = Enum.Font.SourceSans soundFrame21.FontSize = Enum.FontSize.Size14 soundFrame21.Text = "1/1" soundFrame21.TextColor3 = Color3.new(1, 1, 1) soundFrame21.TextYAlignment = Enum.TextYAlignment.Top
9627
	local soundFrame22 = Instance.new("ImageButton") soundFrame22.Name = "PlayStop" soundFrame22.Parent = soundFrame soundFrame22.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame22.BackgroundTransparency = 1 soundFrame22.BorderSizePixel = 0 soundFrame22.Position = UDim2.new(0, 145, 1, -18) soundFrame22.Rotation = 90 soundFrame22.Size = UDim2.new(0, 15, 0, 15) soundFrame22.AutoButtonColor = false soundFrame22.Image = "rbxassetid://304846479" soundFrame22.ImageColor3 = Color3.new(0.901961, 0.901961, 0.901961)
9628
	return soundFrame end
9629
local soundFrame = createSoundFrame()
9630
soundFrame.Visible = true
9631
local MusicPlayer do
9632
	MusicPlayer = {}
9633
	local playlist = {}
9634
	local currentSong = 1
9635
	local playlistHook = nil
9636
	--local soundFrame = script.Parent:WaitForChild("Sound")
9637
	local soundLine = soundFrame:WaitForChild("Pos")
9638
	local soundTouch = soundLine:WaitForChild("Touch")
9639
	local soundPlayStop = soundFrame:WaitForChild("PlayStop")
9640
	local soundPause = soundFrame:WaitForChild("Pause")
9641
	local soundNext = soundFrame:WaitForChild("NextSong")
9642
	local soundPrev = soundFrame:WaitForChild("PrevSong")
9643
	local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
9644
	local mouseDrag = false
9645
	local mouse = gPlayers.LocalPlayer:GetMouse()
9646
	local lineBar = soundFrame:WaitForChild("Pos")
9647
	adminSound = Instance.new("Sound",nil)
9648
	local function timeConvert(num)
9649
		local mins = math.floor(num/60)
9650
		local secs = math.floor(num % 60)
9651
		return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
9652
	end
9653
	local function updateSongLine()
9654
		local linePos = mouse.X - soundLine.AbsolutePosition.X
9655
		if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
9656
			local movePos = linePos/soundLine.AbsoluteSize.X
9657
			soundTouch.Position = UDim2.new(movePos,0,0,0)
9658
		elseif linePos < 0 then
9659
			soundTouch.Position = UDim2.new(0,0,0,0)
9660
		else
9661
			soundTouch.Position = UDim2.new(1,0,0,0)
9662
		end
9663
		local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
9664
		adminSound.TimePosition = newTimePos
9665
		soundFrame.TimeStart.Text = timeConvert(newTimePos)
9666
		soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
9667
	end
9668
	local function updateDetails(id)
9669
		local info = game:GetService("MarketplaceService"):GetProductInfo(id)
9670
		soundFrame.SName.Text = info.Name
9671
	end
9672
	local function setPlaylistHook()
9673
		if playlistHook then playlistHook:Disconnect() playlistHook = nil end
9674
		if #playlist == 0 then return end
9675
		playlistHook = adminSound.DidLoop:connect(function()
9676
			if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
9677
			soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
9678
			MusicPlayer:Play(playlist[currentSong],true)
9679
		end)
9680
	end
9681
	local function disconnectPlaylistHook()
9682
		if playlistHook then playlistHook:disconnect() playlistHook = nil end
9683
	end
9684
	game:GetService("RunService").RenderStepped:Connect(function()
9685
		if adminSound.Playing then
9686
			soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
9687
			soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
9688
			soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
9689
		end
9690
	end)
9691
	lineBar.InputBegan:connect(function(input)
9692
		if input.UserInputType == Enum.UserInputType.MouseButton1 then
9693
			mouseDrag = true
9694
			updateSongLine()
9695
		end
9696
	end)
9697
	lineBar.InputEnded:connect(function(input)
9698
		if input.UserInputType == Enum.UserInputType.MouseButton1 then
9699
			mouseDrag = false
9700
		end
9701
	end)
9702
	mouse.Move:connect(function(prop)
9703
		if mouseDrag then
9704
			updateSongLine()
9705
		end
9706
	end)
9707
	function MusicPlayer:Play(id,plist)
9708
		if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
9709
		adminSound:Stop()
9710
		if adminSound.Parent == nil then
9711
			adminSound = Instance.new("Sound",workspace)
9712
			adminSound.Name = "IYsound"
9713
			adminSound.Looped = true
9714
			if plist then setPlaylistHook() end
9715
		end
9716
		adminSound.SoundId = "rbxassetid://"..tostring(id)
9717
		adminSound.TimePosition = 0
9718
		--repeat wait() until adminSound.IsLoaded
9719
		adminSound:Play()
9720
		soundPlayStop.BackgroundTransparency = 0
9721
		soundPlayStop.ImageTransparency = 1
9722
		updateDetails(id)
9723
	end
9724
	function MusicPlayer:Playlist(list)
9725
		playlist = list
9726
		soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
9727
		currentSong = 1
9728
		if adminSound.Parent == nil then
9729
			adminSound = Instance.new("Sound",workspace)
9730
			adminSound.Name = "IYsound"
9731
			adminSound.Looped = true
9732
		end
9733
		soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
9734
		MusicPlayer:Play(playlist[1],true)
9735
		setPlaylistHook()
9736
	end
9737
	function MusicPlayer:Stop()
9738
		adminSound:Stop()
9739
		adminSound.TimePosition = 0
9740
		soundTouch.Position = UDim2.new(0,0,0,0)
9741
		soundFrame.TimeStart.Text = "0:00"
9742
		soundPlayStop.BackgroundTransparency = 1
9743
		soundPlayStop.ImageTransparency = 0
9744
	end
9745
	function MusicPlayer:Pause()
9746
		adminSound:Pause()
9747
		soundPlayStop.BackgroundTransparency = 1
9748
		soundPlayStop.ImageTransparency = 0
9749
	end
9750
	function MusicPlayer:Resume()
9751
		adminSound:Resume()
9752
		soundPlayStop.BackgroundTransparency = 0
9753
		soundPlayStop.ImageTransparency = 1
9754
		setPlaylistHook()
9755
	end
9756
	function MusicPlayer:NextSong()
9757
		if #playlist == 0 then return end
9758
		if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
9759
		soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
9760
		MusicPlayer:Play(playlist[currentSong],true)
9761
	end
9762
	function MusicPlayer:PrevSong()
9763
		if #playlist == 0 then return end
9764
		if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
9765
		soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
9766
		MusicPlayer:Play(playlist[currentSong],true)
9767
	end
9768
	function MusicPlayer:SetSong(ind)
9769
		if ind > #playlist or ind <= 0 then return end
9770
		soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
9771
		MusicPlayer:Play(playlist[ind],true)
9772
	end
9773
	playerenabled = false
9774
	function MusicPlayer:Show()
9775
		soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
9776
	end
9777
	function MusicPlayer:Hide()
9778
		soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
9779
	end
9780
	function colorFrames(obj,col)
9781
		for i,v in pairs(obj:GetChildren()) do
9782
			if v:IsA("ImageLabel") then
9783
				v.ImageColor3 = col
9784
			end
9785
			v.BackgroundColor3 = col
9786
		end
9787
	end
9788
	for i,v in pairs(soundButtons) do
9789
		v.MouseEnter:connect(function()
9790
			if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
9791
			if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
9792
			v.BackgroundColor3 = Color3.new(1,1,1)
9793
			colorFrames(v,Color3.new(1,1,1))
9794
		end)
9795
		v.MouseLeave:connect(function()
9796
			if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
9797
			if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
9798
			v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
9799
			colorFrames(v,Color3.new(230/255, 230/255, 230/255))
9800
		end)
9801
	end
9802
	soundPlayStop.MouseButton1Click:connect(function()
9803
		if adminSound.Playing then
9804
			MusicPlayer:Stop()
9805
		else
9806
			MusicPlayer:Resume()
9807
		end
9808
	end)	
9809
	soundPause.MouseButton1Click:connect(function()
9810
		MusicPlayer:Pause()
9811
	end)	
9812
	soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
9813
	soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
9814
end
9815
local testgui = Instance.new("ScreenGui",game.CoreGui)
9816
soundFrame.Parent = testgui
9817
addcmd('playlist','makes a noice playlist',{'ids','player'},
9818
function(args, speaker)
9819
playerenabled = true
9820
	if #args > 0 then
9821
    local function dels(instance)
9822
        for i,v in pairs(instance:GetChildren())do
9823
            if v:IsA'Sound'then v:Destroy()end
9824
            dels(v)
9825
        end
9826
    end
9827
    dels(workspace) wait(0.1)
9828
		if adminSound.Parent == nil then
9829
			adminSound = Instance.new("Sound",workspace)
9830
			adminSound.Name = "IYsound"
9831
			adminSound.Looped = true
9832
		end
9833
		local idlist = splitString(args[1])
9834
		local workingIds = {}
9835
		for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
9836
		if #workingIds > 0 then
9837
			playerenabled = true
9838
			NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
9839
			MusicPlayer:Playlist(workingIds)
9840
			MusicPlayer:Show() if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9841
			quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9842
			quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9843
			quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9844
			quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end
9845
		else MusicPlayer:Show() NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9846
			quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9847
			quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true
9848
			quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
9849
			quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end)
9850
addcmd('sound', 'plays a sound',{'music','play'},
9851
function(args, speaker)
9852
	if isNumber(args[1]) then
9853
    local function dels(instance)
9854
        for i,v in pairs(instance:GetChildren())do
9855
            if v:IsA'Sound'then v:Destroy()end
9856
            dels(v)
9857
        end
9858
    end
9859
    dels(workspace)
9860
    local c = args[1] or 'stop'
9861
    if std.inTable({'stop'}, c:lower()) then return end
9862
	local s = Instance.new("Sound", workspace)
9863
	s.Name = "IYsound"
9864
	s.Looped = true
9865
	s.SoundId = "rbxassetid://" .. c
9866
    s.Volume = 1
9867
	s:Play()
9868
	local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
9869
	playerenabled = false
9870
	Notify('Playing: '..Asset.Name..' ('..c..')')
9871
	else
9872
	local name = GLS(false, 0)
9873
	playerenabled = false
9874
				Notify('Stopped audio')
9875
	            local function dels(instance)
9876
       			for i,v in pairs(instance:GetChildren())do
9877
          		if v:IsA'Sound'then v:Destroy()end
9878
            	dels(v)
9879
      			end
9880
   				end
9881
    			dels(workspace)
9882
			if args[1] ~= "stop" and args[1] ~= "off" then
9883
            local song = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. name, true)
9884
            if song ~= "[]" then
9885
                local Sound = Instance.new("Sound", workspace)
9886
				Sound.Name = "IYsound"
9887
                song = song:sub(13)
9888
                song = song:sub(1, song:find(",") - 1)
9889
                Sound.SoundId = "rbxassetid://" .. song
9890
				Sound.Looped = true
9891
				Sound.Volume = 1
9892
                Sound:Play()
9893
				local Asset = game:GetService("MarketplaceService"):GetProductInfo(song)
9894
				Notify('Playing: '..Asset.Name ..' ('..song.. ')') end
9895
end end end)
9896
addcmd('setsong','goto a song',{'tosong'},
9897
function(args, speaker)
9898
MusicPlayer:SetSong(tonumber(args[1]))
9899
end)
9900
addcmd('nextsong','forward a song',{'nxtsong'},
9901
function(args, speaker)
9902
MusicPlayer:NextSong()
9903
end)
9904
addcmd('prevsong','back a song',{'previoussong'},
9905
function(args, speaker)
9906
MusicPlayer:PrevSong()
9907
end)
9908
addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'},
9909
function(args, speaker)
9910
playerenabled = false
9911
MusicPlayer:Hide()
9912
NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
9913
end)
9914
9915
addcmd('playhash', 'plays a hash instead of soundid',{'hash'},
9916
function(args, speaker)
9917
	 local function dels(instance)
9918
        for i,v in pairs(instance:GetChildren())do
9919
            if v:IsA'Sound'then v:Destroy()end
9920
            dels(v)
9921
        end
9922
    end
9923
    dels(workspace)
9924
    local c = args[1] or 'stop'
9925
    if std.inTable({'stop'}, c:lower()) then return end
9926
	local s = Instance.new("Sound", workspace)
9927
	s.Name = "IYsound"
9928
	s.Looped = true
9929
	s.SoundId = c
9930
    s.Volume = 1
9931
	s:Play()
9932
	playerenabled = false
9933
	Notify('Playing hash')
9934
 end)
9935
9936
addcmd('disco','disco party',{''},
9937
function(args, speaker)
9938
	_G.nodisco = nil
9939
	coroutine.resume(coroutine.create(function()
9940
repeat
9941
	game:GetService('Lighting').GlobalShadows = true
9942
    game:GetService('Lighting').FogEnd = 200
9943
game:GetService('Lighting').TimeOfDay = 0
9944
local r = 255
9945
local g = 0
9946
local b = 0
9947
for i = 0,255,5 do
9948
	if _G.nodisco ~=nil then return end
9949
	r = r - 5
9950
	b = b + 5
9951
	game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
9952
	game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
9953
	game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
9954
	wait()
9955
end
9956
for i = 0,255,5 do
9957
	if _G.nodisco ~=nil then return end
9958
	g = g + 5
9959
	game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
9960
	game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
9961
	game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
9962
	wait()
9963
end
9964
for i = 0,255,5 do
9965
	if _G.nodisco ~=nil then return end
9966
	b = b - 5
9967
	game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
9968
	game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
9969
	game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
9970
	wait()
9971
end
9972
for i = 0,255,5 do
9973
	if _G.nodisco ~=nil then return end
9974
	r = r + 5
9975
	game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
9976
	game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
9977
	game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
9978
	wait()
9979
end
9980
for i = 0,255,5 do
9981
	if _G.nodisco ~=nil then return end
9982
	g = g - 5
9983
	game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
9984
	game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
9985
	game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
9986
	wait()
9987
end
9988
until _G.nodisco
9989
end))
9990
end)
9991
9992
addcmd('undisco','rip disco party',{''},
9993
function(args, speaker)
9994
_G.nodisco = true
9995
execCmd('fixl')
9996
end)
9997
9998
addcmd('hat','give a hat to a player',{''},
9999
function(args, speaker)
10000
local players = getPlayer(args[1], speaker)
10001
for i,v in pairs(players)do
10002
local char = gPlayers[v].Character
10003
local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2])
10004
Hat.Parent = char
10005
end end)
10006
10007
fm = Instance.new('BlockMesh', DATA)
10008
fm.Scale = Vector3.new(1, 1, 2)
10009
fm.Name = "FAT"
10010
addcmd('fat','makes a plr fat',{''},
10011
function(args, speaker)
10012
local players = getPlayer(args[1], speaker)
10013
for i,v in pairs(players)do
10014
local char = gPlayers[v].Character
10015
for _, child in pairs( char:GetChildren()) do
10016
if child.ClassName == "CharacterMesh" then
10017
child:Destroy() end end
10018
for i,v in pairs(char:GetChildren()) do
10019
if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
10020
fm:Clone().Parent = v
10021
end end end end)
10022
10023
addcmd('crucify','crucifies a player',{'cruci'},
10024
function(args, speaker)
10025
local players = getPlayer(args[1], speaker)
10026
for i,v in pairs(players)do
10027
local char = gPlayers[v].Character
10028
		local torso=char['Torso']
10029
		local larm=char['Left Arm']
10030
		local rarm=char['Right Arm']
10031
		local lleg=char['Left Leg']
10032
		local rleg=char['Right Leg']
10033
		local head=char['Head']
10034
		if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then
10035
			local cru=Instance.new('Model',char)
10036
			cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;)
10037
			local c1=Instance.new('Part',cru)
10038
			c1.BrickColor=BrickColor.new('Reddish brown')
10039
			c1.Material='Wood'
10040
			c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
10041
			c1.Size=Vector3.new(2,18.4,1)
10042
			c1.Anchored=true
10043
			local c2=c1:Clone()
10044
			c2.Parent=cru
10045
			c2.Size=Vector3.new(11,1.6,1)
10046
			c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
10047
			torso.Anchored=true;wait(0.5)
10048
			torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5)
10049
			larm.Anchored=true
10050
			rarm.Anchored=true
10051
			lleg.Anchored=true
10052
			rleg.Anchored=true
10053
			head.Anchored=true;wait()
10054
			larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
10055
			rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
10056
			lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
10057
			rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
10058
			larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
10059
			rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
10060
			lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
10061
			rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
10062
			--head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
10063
			local n1=Instance.new('Part',cru)
10064
			n1.BrickColor=BrickColor.new('Dark stone grey')
10065
			n1.Material='DiamondPlate'
10066
			n1.Size=Vector3.new(0.2,0.2,2)
10067
			n1.Anchored=true
10068
			local m=Instance.new('BlockMesh',n1)
10069
			m.Scale=Vector3.new(0.2,0.2,0.7)
10070
			local n2=n1:Clone()
10071
			n2.Parent=cru
10072
			local n3=n1:Clone()
10073
			n3.Parent=cru
10074
			n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
10075
			n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
10076
			n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
10077
			spawn(function()
10078
				repeat
10079
					wait(0.1)
10080
					char.Humanoid.Health=char.Humanoid.Health-0.6
10081
				until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0
10082
				char:BreakJoints()
10083
			end)
10084
		end
10085
	end
10086
end)
10087
10088
addcmd('hang','hangs a player',{},
10089
function(args, speaker)
10090
local players = getPlayer(args[1], speaker)
10091
for i,v in pairs(players)do
10092
local plr = gPlayers[v].Character
10093
			plr.HumanoidRootPart.Anchored = true
10094
			hang = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01355025338")
10095
			hang.Parent = plr
10096
			hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5))
10097
			pcall(function()
10098
			plr.HumanoidRootPart.CFrame = hang.main.CFrame
10099
			function weld(p, cf)
10100
			local weld1 = Instance.new("Weld") 
10101
			weld1.Part0 = p
10102
			weld1.Part1 = plr.Torso
10103
			weld1.C0 = CFrame.new()
10104
			weld1.C1 = cf
10105
			weld1.Parent = p
10106
			end
10107
			weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4))
10108
			weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4))
10109
			spawn(function()
10110
				repeat
10111
					wait(0.1)
10112
					plr.Humanoid.Health=plr.Humanoid.Health-0.6
10113
				until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0
10114
				plr:BreakJoints()
10115
			end)
10116-
    for i,v in pairs(game:GetDescendants()) do
10116+
10117-
	if v:IsA'Sound'then v:Destroy() end end wait(0.1)
10117+
10118
end)
10119
10120
addcmd('fix', 'restores lighting and what not',{},
10121
function(args, speaker)
10122
LightingService.Ambient = origsettings.abt
10123
LightingService.OutdoorAmbient = origsettings.oabt
10124
LightingService.Brightness = origsettings.brt
10125
LightingService.TimeOfDay = origsettings.time
10126
LightingService.FogColor = origsettings.fclr
10127
LightingService.FogEnd = origsettings.fe
10128
LightingService.FogStart = origsettings.fs
10129
playinggif = false
10130
workspace.Gravity = 200
10131
local function dels(instance) for i,v in pairs(instance:GetChildren())do if v:IsA'Sound'then v:Destroy()end dels(v) end end dels(workspace)
10132
for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
10133
    for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
10134
    if v:IsA("PostEffect") then v:Destroy() end end
10135
for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end)
10136
10137
Floating = false
10138
10139
addcmd('float', 'makes player float',{},
10140
function(args,speaker)
10141
	Floating = true
10142
	local players = getPlayer(args[1], speaker)
10143
	for _,v in pairs(players) do
10144
		local pchar = gPlayers[v].Character
10145
		if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
10146
			spawn(function()
10147
				local float = DATA.Float:Clone()
10148
				float.Parent = pchar
10149
				float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
10150
				spawn(function()
10151
					while wait(0.1) do
10152
						if pchar:FindFirstChild("Float") then
10153
							float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
10154
						else
10155
							break
10156
						end
10157
					end
10158
				end)
10159
			end)
10160
		end
10161-
	for i,v in pairs(game:GetDescendants()) do
10161+
10162-
	if v:IsA'Sound'then v:Destroy() end end
10162+
10163
10164
addcmd('unfloat','disables floating',{},
10165
function(args, speaker)
10166
	Floating = false
10167
	local players = getPlayer(args[1], speaker)
10168
	for i,v in pairs(players)do
10169
	    local pchar = gPlayers[v].Character
10170
	    if pchar:FindFirstChild("Float") then
10171
		    pchar.Float:Destroy()
10172
	    end
10173
	end
10174
end)
10175
10176
runningnoclip = false
10177
Clip = true
10178
addcmd('noclip','noclip',{},
10179
function(args, speaker)
10180
if speaker.userId ~= LP.userId then
10181
lponly(speaker)
10182
else
10183
Notify('Noclip enabled')
10184
Clip = false
10185
if LP.Character:FindFirstChild('Torso') then
10186
	wait(0.1)
10187
	if runningnoclip == false then runningnoclip = true
10188
	game:GetService('RunService').Stepped:connect(function ()
10189
	if Clip == false and LP.Character ~= nil then
10190
    for _, child in pairs( LP.Character:GetDescendants()) do
10191
	if child.ClassName == 'Part' and child.CanCollide == true then
10192
    child.CanCollide = false
10193
	end end end end) end
10194
else
10195
	r15noclip = true
10196
end
10197
end
10198
end)
10199
10200
addcmd('clip','clip',{},
10201
function(args, speaker)
10202
if speaker.userId ~= LP.userId then
10203
lponly(speaker)
10204
else
10205
	Notify('Noclip disabled')
10206
	Clip = true
10207
	r15noclip = false
10208
	wait(0.1)
10209
	if LP.Character ~= nil then
10210
	LP.Character.Torso.CanCollide = true
10211
    LP.Character.Head.CanCollide = true
10212
end end end)
10213
10214
addcmd('prefix','changes prefix',{},
10215
function(args, speaker)
10216
	cmdprefix = args[1]
10217
	Notify('Set prefix to "' .. args[1] .. '"')
10218
	updatefile()
10219
end)
10220
10221
logsopen = false
10222
addcmd('logs','shows logs',{},
10223
function(args, speaker)
10224
if speaker.userId ~= LP.userId then
10225
lponly(speaker) else
10226
if logsopen == false then logsopen = true
10227
logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil)
10228
end
10229
end
10230
end)
10231
10232
local Saved = {}
10233
10234
RestorePoint = function()
10235
    Saved = {}
10236
    for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do
10237
        v.Archivable = true;
10238
    end
10239
    for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
10240
        if not v:IsA("Terrain") and not v:IsA("Camera") then
10241
            if not game:GetService("Players"):FindFirstChild(v.Name) then
10242
                table.insert(Saved, v:Clone());
10243
            end
10244
        elseif v:IsA("Terrain") then
10245
            Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents);
10246
        end
10247
    end
10248
    return Saved;
10249
end
10250
10251
InsertPoint = function()
10252
    if #Saved == 0 and not Saved.Terrain then
10253
        return false;
10254
    end
10255
    for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
10256
        if not v:IsA("Camera") and not v:IsA("Terrain") then
10257
            if not game:GetService("Players"):FindFirstChild(v.Name) then
10258
                pcall(function()
10259
                    v:Destroy()
10260
                end)
10261
            end
10262
        elseif v:IsA("Terrain") then
10263
            v:Clear()
10264
        end
10265
    end
10266
    for i, v in ipairs(Saved) do
10267
		v:Clone().Parent = workspace;
10268
    end
10269
    game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true);
10270
end
10271
10272
addcmd('savemap','saves current map',{'smap'},
10273
function(args, speaker)
10274
RestorePoint()
10275
Notify('Saved current map')
10276
end)
10277
10278
addcmd('restoremap','saves current map',{'rmap'},
10279
function(args, speaker)
10280
InsertPoint()
10281
Notify('Loaded last saved map')
10282
end)
10283
10284
addcmd('respawn','respawns',{},
10285
function(args, speaker)
10286
    local players = getPlayer(args[1], speaker)
10287
	for i,v in pairs(players) do
10288
	respawn(gPlayers[v])
10289
	end
10290
end)
10291
10292
addcmd('version','shows version',{''},
10293
function(args, speaker)
10294
if speaker.userId ~= LP.userId then
10295
lponly(speaker)
10296
else
10297
	Notify("Version is " .. Version)
10298
end
10299
end)
10300
local CTPenabled = false
10301
Mouse.KeyDown:connect(function (Key)
10302
	if Key:byte() == 29 then
10303
		if FLYING == false then
10304
			execCmd("fly me", Player)
10305
		elseif FLYING == true then
10306
			execCmd("unfly me", Player)
10307
		end
10308
	end
10309
	if Key:byte() == 30 then
10310
		if Clip == true then
10311
			execCmd("noclip", Player)
10312
		elseif Clip == false then
10313
			execCmd("clip", Player)
10314
		end
10315
	end
10316
	Key = Key:lower()
10317
	if Key:byte() == 27 then
10318
		CTPenabled = true
10319
	end
10320
end)
10321
Mouse.KeyUp:connect(function(Key)
10322
	Key = Key:lower()
10323
	if Key:byte() == 27 then
10324
		CTPenabled = false
10325
	end
10326
end)
10327
Mouse.Button1Down:connect(function()
10328
	local charx = gPlayers.LocalPlayer.Character
10329
	if charx and CTPenabled == true then
10330
		charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0)
10331
	end
10332-
plr.HumanoidRootPart.Anchored = true
10332+
10333
10334
CMDbar = Instance.new('ScreenGui', game.CoreGui)
10335
CMDbar.Name = 'GUI'
10336
CMDbar.DisplayOrder = 2
10337
cont = Instance.new("Frame")
10338
cmdBAR = Instance.new('TextBox', cont)
10339
cont.Name = "cont"
10340
cont.BackgroundTransparency = 1
10341
cont.Position = UDim2.new(1, -265, 0, -75)
10342
cont.Size = UDim2.new(0, 270, 0, 45)
10343
cont.Parent = CMDbar
10344
cont.ZIndex = 5
10345
cont.Active = true cont.Draggable = true
10346
cmdBAR.Name = "CMDbar"
10347
cmdBAR.Parent = cont
10348
cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
10349-
local Model0 = Instance.new("Model")
10349+
10350-
local Part1 = Instance.new("Part")
10350+
10351-
local Part2 = Instance.new("Part")
10351+
10352-
local Part3 = Instance.new("Part")
10352+
10353-
local Part4 = Instance.new("Part")
10353+
10354-
local Part5 = Instance.new("Part")
10354+
10355-
local Motor6D6 = Instance.new("Motor6D")
10355+
10356-
local Part7 = Instance.new("Part")
10356+
10357-
local Part8 = Instance.new("Part")
10357+
10358-
local Part9 = Instance.new("Part")
10358+
10359-
local Part10 = Instance.new("Part")
10359+
-------------------
10360-
local Part11 = Instance.new("Part")
10360+
----Data Folder----
10361-
local Part12 = Instance.new("Part")
10361+
-------------------
10362-
local Part13 = Instance.new("Part")
10362+
10363-
local Part14 = Instance.new("Part")
10363+
10364-
local Part15 = Instance.new("Part")
10364+
10365-
Model0.Name = "hang"
10365+
10366-
Model0.Parent = mas
10366+
10367-
Part1.Parent = Model0
10367+
10368-
Part1.Material = Enum.Material.SmoothPlastic
10368+
10369-
Part1.BrickColor = BrickColor.new("Reddish brown")
10369+
10370-
Part1.Anchored = true
10370+
10371-
Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024)
10371+
10372-
Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10372+
10373-
Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10373+
10374-
Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10374+
10375-
Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10375+
10376-
Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10376+
10377-
Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10377+
10378-
Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10378+
10379-
Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
10379+
10380-
Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884)
10380+
10381-
Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
10381+
10382-
Part2.Parent = Model0
10382+
10383-
Part2.Material = Enum.Material.Wood
10383+
10384-
Part2.BrickColor = BrickColor.new("Pine Cone")
10384+
10385-
Part2.Anchored = true
10385+
10386-
Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003)
10386+
10387-
Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10387+
10388-
Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10388+
10389-
Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10389+
10390-
Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10390+
10391-
Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10391+
10392-
Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10392+
10393-
Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10393+
10394-
Part2.Color = Color3.new(0.423529, 0.345098, 0.294118)
10394+
10395-
Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884)
10395+
10396-
Part2.Color = Color3.new(0.423529, 0.345098, 0.294118)
10396+
10397-
Part3.Parent = Model0
10397+
10398-
Part3.Material = Enum.Material.Wood
10398+
10399-
Part3.BrickColor = BrickColor.new("Pine Cone")
10399+
10400-
Part3.Anchored = true
10400+
10401-
Part3.Size = Vector3.new(1, 9.39999962, 0.599999964)
10401+
10402-
Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10402+
10403-
Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10403+
10404-
Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10404+
10405-
Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10405+
10406-
Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10406+
10407-
Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10407+
10408-
Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10408+
10409-
Part3.Color = Color3.new(0.423529, 0.345098, 0.294118)
10409+
10410-
Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884)
10410+
10411-
Part3.Color = Color3.new(0.423529, 0.345098, 0.294118)
10411+
10412-
Part4.Parent = Model0
10412+
10413-
Part4.Material = Enum.Material.Wood
10413+
10414-
Part4.BrickColor = BrickColor.new("Pine Cone")
10414+
10415-
Part4.Anchored = true
10415+
10416-
Part4.Size = Vector3.new(1, 0.599999845, 0.599999964)
10416+
10417-
Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10417+
10418-
Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10418+
10419-
Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10419+
10420-
Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10420+
10421-
Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10421+
10422-
Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10422+
10423-
Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10423+
10424-
Part4.Color = Color3.new(0.423529, 0.345098, 0.294118)
10424+
10425-
Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884)
10425+
10426-
Part4.Color = Color3.new(0.423529, 0.345098, 0.294118)
10426+
10427-
Part5.Name = "main"
10427+
10428-
Part5.Parent = Model0
10428+
10429-
Part5.BrickColor = BrickColor.new("Bright blue")
10429+
10430-
Part5.Transparency = 1
10430+
10431-
Part5.Rotation = Vector3.new(0, -90, 0)
10431+
10432-
Part5.Anchored = true
10432+
10433-
Part5.CanCollide = false
10433+
10434-
Part5.FormFactor = Enum.FormFactor.Symmetric
10434+
10435-
Part5.Size = Vector3.new(2, 2, 1)
10435+
10436-
Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0)
10436+
10437-
Part5.BottomSurface = Enum.SurfaceType.Smooth
10437+
10438-
Part5.TopSurface = Enum.SurfaceType.Smooth
10438+
10439-
Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451)
10439+
10440-
Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237)
10440+
10441-
Part5.Orientation = Vector3.new(0, -90, 0)
10441+
10442-
Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451)
10442+
10443-
Motor6D6.Name = "RootJoint"
10443+
10444-
Motor6D6.Parent = Part5
10444+
10445-
Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
10445+
10446-
Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
10446+
10447-
Motor6D6.Part0 = Part5
10447+
10448-
Motor6D6.MaxVelocity = 0.10000000149012
10448+
10449-
Part7.Parent = Model0
10449+
10450-
Part7.Material = Enum.Material.SmoothPlastic
10450+
10451-
Part7.BrickColor = BrickColor.new("Reddish brown")
10451+
10452-
Part7.Rotation = Vector3.new(90, 75, -180)
10452+
10453-
Part7.Anchored = true
10453+
10454-
Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012)
10454+
10455-
Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
10455+
10456-
Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10456+
10457-
Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10457+
10458-
Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10458+
10459-
Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10459+
10460-
Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10460+
10461-
Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10461+
10462-
Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
10462+
10463-
Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061)
10463+
10464-
Part7.Orientation = Vector3.new(15, 90, -90)
10464+
10465-
Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
10465+
10466-
Part8.Parent = Model0
10466+
10467-
Part8.Material = Enum.Material.Wood
10467+
10468-
Part8.BrickColor = BrickColor.new("Pine Cone")
10468+
10469-
Part8.Anchored = true
10469+
10470-
Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964)
10470+
10471-
Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10471+
10472-
Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10472+
10473-
Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10473+
10474-
Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10474+
10475-
Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10475+
10476-
Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10476+
------------------------------
10477-
Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10477+
---Commands/Settings Window---
10478-
Part8.Color = Color3.new(0.423529, 0.345098, 0.294118)
10478+
------------------------------
10479-
Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884)
10479+
10480-
Part8.Color = Color3.new(0.423529, 0.345098, 0.294118)
10480+
10481-
Part9.Parent = Model0
10481+
10482-
Part9.Material = Enum.Material.SmoothPlastic
10482+
10483-
Part9.BrickColor = BrickColor.new("Reddish brown")
10483+
10484-
Part9.Rotation = Vector3.new(90, 75, -180)
10484+
10485-
Part9.Anchored = true
10485+
10486-
Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012)
10486+
10487-
Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
10487+
10488-
Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10488+
10489-
Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10489+
10490-
Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10490+
10491-
Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10491+
10492-
Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10492+
10493-
Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10493+
10494-
Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
10494+
10495-
Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984)
10495+
10496-
Part9.Orientation = Vector3.new(15, 90, -90)
10496+
10497-
Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
10497+
10498-
Part10.Parent = Model0
10498+
10499-
Part10.Material = Enum.Material.SmoothPlastic
10499+
10500-
Part10.BrickColor = BrickColor.new("Reddish brown")
10500+
10501-
Part10.Anchored = true
10501+
10502-
Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
10502+
10503-
Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10503+
10504-
Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10504+
10505-
Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10505+
10506-
Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10506+
10507-
Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10507+
10508-
Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10508+
10509-
Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10509+
10510-
Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
10510+
10511-
Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901)
10511+
10512-
Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
10512+
10513-
Part11.Parent = Model0
10513+
10514-
Part11.Material = Enum.Material.SmoothPlastic
10514+
10515-
Part11.BrickColor = BrickColor.new("Reddish brown")
10515+
10516-
Part11.Anchored = true
10516+
10517-
Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003)
10517+
10518-
Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10518+
10519-
Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10519+
10520-
Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10520+
10521-
Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10521+
Frame.Draggable = true
10522-
Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10522+
10523-
Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10523+
10524-
Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10524+
10525-
Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
10525+
10526-
Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884)
10526+
10527-
Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
10527+
10528-
Part12.Parent = Model0
10528+
10529-
Part12.Material = Enum.Material.SmoothPlastic
10529+
10530-
Part12.BrickColor = BrickColor.new("Reddish brown")
10530+
10531-
Part12.Rotation = Vector3.new(90, 75, -180)
10531+
10532-
Part12.Anchored = true
10532+
10533-
Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003)
10533+
10534-
Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
10534+
10535-
Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10535+
10536-
Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10536+
10537-
Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10537+
10538-
Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10538+
10539-
Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10539+
10540-
Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10540+
10541-
Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
10541+
10542-
Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884)
10542+
10543-
Part12.Orientation = Vector3.new(15, 90, -90)
10543+
10544-
Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
10544+
10545-
Part13.Parent = Model0
10545+
10546-
Part13.Material = Enum.Material.SmoothPlastic
10546+
10547-
Part13.BrickColor = BrickColor.new("Reddish brown")
10547+
10548-
Part13.Anchored = true
10548+
10549-
Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
10549+
10550-
Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10550+
10551-
Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10551+
10552-
Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10552+
10553-
Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10553+
10554-
Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10554+
10555-
Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10555+
10556-
Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10556+
10557-
Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
10557+
10558-
Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962)
10558+
10559-
Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
10559+
10560-
Part14.Parent = Model0
10560+
10561-
Part14.Material = Enum.Material.SmoothPlastic
10561+
10562-
Part14.BrickColor = BrickColor.new("Reddish brown")
10562+
10563-
Part14.Rotation = Vector3.new(90, 75, -180)
10563+
10564-
Part14.Anchored = true
10564+
10565-
Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003)
10565+
10566-
Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
10566+
10567-
Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10567+
10568-
Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10568+
10569-
Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10569+
10570-
Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10570+
10571-
Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10571+
10572-
Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10572+
10573-
Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
10573+
10574-
Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884)
10574+
10575-
Part14.Orientation = Vector3.new(15, 90, -90)
10575+
10576-
Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
10576+
10577-
Part15.Parent = Model0
10577+
10578-
Part15.Material = Enum.Material.SmoothPlastic
10578+
10579-
Part15.BrickColor = BrickColor.new("Reddish brown")
10579+
10580-
Part15.Anchored = true
10580+
10581-
Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024)
10581+
10582-
Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
10582+
10583-
Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
10583+
10584-
Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
10584+
10585-
Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
10585+
10586-
Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
10586+
10587-
Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
10587+
10588-
Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
10588+
FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.0181818, -310)
10589-
Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
10589+
10590-
Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884)
10590+
10591-
Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
10591+
10592
Title.BackgroundColor3 = Color3.new(1, 1, 1)
10593-
	v.Parent = workspace
10593+
10594
Title.Size = UDim2.new(1, 0, 0, 30)
10595
Title.Font = Enum.Font.SourceSansBold
10596
Title.FontSize = Enum.FontSize.Size24
10597
Title.Text = "Settings"
10598
Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10599
checkboxText.Name = "checkboxText"
10600
checkboxText.Parent = FeedbackMain
10601
checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
10602-
			hang = Model0
10602+
10603
checkboxText.Position = UDim2.new(0, 0, 0, 40)
10604
checkboxText.Size = UDim2.new(1, 0, 0, 30)
10605
checkboxText.Font = Enum.Font.SourceSansBold
10606
checkboxText.FontSize = Enum.FontSize.Size18
10607
checkboxText.Text = "Suggestions"
10608
checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10609
CheckBox.Name = "CheckBox"
10610
CheckBox.Parent = FeedbackMain
10611
CheckBox.BackgroundTransparency = 1
10612
CheckBox.Position = UDim2.new(0, 10, 0, 40)
10613
CheckBox.Size = UDim2.new(0, 30, 0, 30)
10614
CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
10615
bindInput.Name = "bindInput"
10616
bindInput.Parent = FeedbackMain
10617
bindInput.BackgroundColor3 = Color3.new(1, 1, 1)
10618
bindInput.Position = UDim2.new(0, 8, 0, 241)
10619
bindInput.Size = UDim2.new(0, 30, 0, 30)
10620
bindInput.AutoButtonColor = false
10621
bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
10622
bindInput.Font = Enum.Font.SourceSans
10623
bindInput.FontSize = Enum.FontSize.Size14
10624
bindInput.Text = ""
10625
Input.Name = "Input"
10626
Input.Parent = bindInput
10627
Input.BackgroundColor3 = Color3.new(1, 1, 1)
10628
Input.BackgroundTransparency = 1
10629
Input.Position = UDim2.new(0, -8, 0, -8)
10630
Input.Size = UDim2.new(0, 20, 0, 20)
10631
Input.Font = Enum.Font.SourceSansBold
10632
Input.FontSize = Enum.FontSize.Size18
10633
Input.MultiLine = true
10634
Input.Text = ";"
10635
Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
10636
Input.TextWrapped = true
10637
Input.TextYAlignment = Enum.TextYAlignment.Top
10638
preText.Name = "preText"
10639
preText.Parent = FeedbackMain
10640
preText.BackgroundColor3 = Color3.new(1, 1, 1)
10641
preText.BackgroundTransparency = 1
10642
preText.Position = UDim2.new(0, 0, 0, 118)
10643
preText.Size = UDim2.new(1, 0, 0, 30)
10644
preText.Font = Enum.Font.SourceSansBold
10645
preText.FontSize = Enum.FontSize.Size18
10646
preText.Text = "Prefix"
10647
preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10648
setpre.Name = "setpre"
10649
setpre.Parent = FeedbackMain
10650
setpre.BackgroundColor3 = Color3.new(1, 1, 1)
10651
setpre.BorderSizePixel = 5
10652
setpre.Position = UDim2.new(0, 235, 0, 120)
10653
setpre.Size = UDim2.new(0, 40, 0, 25)
10654
setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
10655
setpre.Font = Enum.Font.ArialBold
10656
setpre.FontSize = Enum.FontSize.Size18
10657
setpre.Text = "Set"
10658
everyone.Name = "everyone"
10659
everyone.Parent = FeedbackMain
10660
everyone.BackgroundColor3 = Color3.new(0, 0, 0)
10661
everyone.BackgroundTransparency = 0.80000001192093
10662
everyone.BorderColor3 = Color3.new(0, 0, 0)
10663
everyone.Position = UDim2.new(0, 230, 0, 217)
10664
everyone.Size = UDim2.new(0, 50, 0, 20)
10665
everyone.Font = Enum.Font.SourceSans
10666
everyone.FontSize = Enum.FontSize.Size14
10667
everyone.Text = "Everyone"
10668
everyone.TextColor3 = Color3.new(1, 1, 1)
10669
JLtext.Name = "JLtext"
10670
JLtext.Parent = FeedbackMain
10671
JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
10672
JLtext.BackgroundTransparency = 1
10673
JLtext.Position = UDim2.new(0, 0, 0, 197)
10674
JLtext.Size = UDim2.new(1, 0, 0, 30)
10675
JLtext.Font = Enum.Font.SourceSansBold
10676
JLtext.FontSize = Enum.FontSize.Size14
10677
JLtext.Text = "Joined / Left Notifications"
10678
JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10679
CheckBoxJL.Name = "CheckBoxJL"
10680
CheckBoxJL.Parent = FeedbackMain
10681
CheckBoxJL.BackgroundTransparency = 1
10682
CheckBoxJL.Position = UDim2.new(0, 10, 0, 197)
10683
CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
10684
CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
10685
friends.Name = "friends"
10686
friends.Parent = FeedbackMain
10687
friends.BackgroundColor3 = Color3.new(0, 0, 0)
10688
friends.BackgroundTransparency = 0.80000001192093
10689
friends.BorderColor3 = Color3.new(1, 1, 1)
10690
friends.Position = UDim2.new(0, 230, 0, 192)
10691
friends.Size = UDim2.new(0, 50, 0, 20)
10692
friends.Font = Enum.Font.SourceSans
10693
friends.FontSize = Enum.FontSize.Size14
10694
friends.Text = "Friends"
10695
friends.TextColor3 = Color3.new(1, 1, 1)
10696
InputBox.Name = "InputBox"
10697
InputBox.Parent = FeedbackMain
10698
InputBox.BackgroundColor3 = Color3.new(1, 1, 1)
10699
InputBox.Position = UDim2.new(0, 8, 0, 120)
10700
InputBox.Size = UDim2.new(0, 30, 0, 30)
10701
InputBox.AutoButtonColor = false
10702
InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
10703
InputBox.Font = Enum.Font.SourceSans
10704
InputBox.FontSize = Enum.FontSize.Size14
10705
InputBox.Text = ""
10706
Input_2.Name = "Input"
10707
Input_2.Parent = InputBox
10708
Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
10709
Input_2.BackgroundTransparency = 1
10710
Input_2.Position = UDim2.new(0, -8, 0, -8)
10711
Input_2.Size = UDim2.new(0, 20, 0, 20)
10712
Input_2.Font = Enum.Font.SourceSansBold
10713
Input_2.FontSize = Enum.FontSize.Size18
10714
Input_2.MultiLine = true
10715
Input_2.Text = ";"
10716
Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
10717
Input_2.TextWrapped = true
10718
Input_2.TextYAlignment = Enum.TextYAlignment.Top
10719
MTText.Name = "MTText"
10720
MTText.Parent = FeedbackMain
10721
MTText.BackgroundColor3 = Color3.new(1, 1, 1)
10722
MTText.BackgroundTransparency = 1
10723
MTText.Position = UDim2.new(0, 0, 0, 158)
10724
MTText.Size = UDim2.new(1, 0, 0, 30)
10725
MTText.Font = Enum.Font.SourceSansBold
10726
MTText.FontSize = Enum.FontSize.Size18
10727
MTText.Text = "Message Seconds"
10728
MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10729
setMT.Name = "setMT"
10730
setMT.Parent = FeedbackMain
10731
setMT.BackgroundColor3 = Color3.new(1, 1, 1)
10732
setMT.BorderSizePixel = 5
10733
setMT.Position = UDim2.new(0, 235, 0, 159)
10734
setMT.Size = UDim2.new(0, 40, 0, 25)
10735
setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
10736
setMT.Font = Enum.Font.ArialBold
10737
setMT.FontSize = Enum.FontSize.Size18
10738
setMT.Text = "Set"
10739
CheckBoxS.Name = "CheckBoxS"
10740
CheckBoxS.Parent = FeedbackMain
10741
CheckBoxS.BackgroundTransparency = 1
10742
CheckBoxS.Position = UDim2.new(0, 10, 0, 78)
10743
CheckBoxS.Size = UDim2.new(0, 30, 0, 30)
10744
CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641"
10745
slocktext.Name = "slocktext"
10746
slocktext.Parent = FeedbackMain
10747
slocktext.BackgroundColor3 = Color3.new(1, 1, 1)
10748
slocktext.BackgroundTransparency = 1
10749
slocktext.Position = UDim2.new(0, 0, 0, 79)
10750
slocktext.Size = UDim2.new(1, 0, 0, 30)
10751
slocktext.Font = Enum.Font.SourceSansBold
10752
slocktext.FontSize = Enum.FontSize.Size14
10753
slocktext.Text = "Allow Friends On Serverlock"
10754
slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10755
barBind.Name = "barBind"
10756
barBind.Parent = FeedbackMain
10757
barBind.BackgroundColor3 = Color3.new(1, 1, 1)
10758
barBind.BackgroundTransparency = 1
10759
barBind.Position = UDim2.new(0, 0, 0, 242)
10760
barBind.Size = UDim2.new(1, 0, 0, 30)
10761
barBind.Font = Enum.Font.SourceSansBold
10762
barBind.FontSize = Enum.FontSize.Size18
10763
barBind.Text = "Command Bar Keybind"
10764
barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10765
setBind.Name = "setBind"
10766
setBind.Parent = FeedbackMain
10767
setBind.BackgroundColor3 = Color3.new(1, 1, 1)
10768
setBind.BorderSizePixel = 5
10769
setBind.Position = UDim2.new(0, 235, 0, 245)
10770
setBind.Size = UDim2.new(0, 40, 0, 25)
10771
setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
10772
setBind.Font = Enum.Font.ArialBold
10773
setBind.FontSize = Enum.FontSize.Size18
10774
setBind.Text = "Set"
10775
MtimeInput.Name = "MtimeInput"
10776
MtimeInput.Parent = FeedbackMain
10777
MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1)
10778
MtimeInput.Position = UDim2.new(0, 8, 0, 159)
10779
MtimeInput.Size = UDim2.new(0, 30, 0, 30)
10780
MtimeInput.AutoButtonColor = false
10781
MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
10782
MtimeInput.Font = Enum.Font.SourceSans
10783
MtimeInput.FontSize = Enum.FontSize.Size14
10784
MtimeInput.Text = ""
10785
Input_3.Name = "Input"
10786
Input_3.Parent = MtimeInput
10787
Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
10788
Input_3.BackgroundTransparency = 1
10789
Input_3.Position = UDim2.new(0, -8, 0, -8)
10790
Input_3.Size = UDim2.new(0, 20, 0, 20)
10791
Input_3.Font = Enum.Font.SourceSansBold
10792
Input_3.FontSize = Enum.FontSize.Size18
10793
Input_3.MultiLine = true
10794
Input_3.Text = "7"
10795
Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
10796
Input_3.TextWrapped = true
10797
Input_3.TextYAlignment = Enum.TextYAlignment.Top
10798
size.Name = "size"
10799
size.Parent = holder
10800
size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
10801
size.BackgroundTransparency = 1
10802
size.Position = UDim2.new(1, -301, 1, -300)
10803
size.Size = UDim2.new(0, 275, 0, 300)
10804
size.ZIndex = 2
10805
MAIN.Name = "MAIN"
10806
MAIN.Parent = size
10807
MAIN.BackgroundColor3 = maincolor
10808
MAIN.BackgroundTransparency = 0.5
10809
MAIN.BorderColor3 = Color3.new(0, 0, 0)
10810
MAIN.BorderSizePixel = 0
10811
MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305)
10812
MAIN.Size = UDim2.new(0, 290, 0, 300)
10813
Title_2.Name = "Title"
10814
Title_2.Parent = MAIN
10815
Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
10816
Title_2.BackgroundTransparency = 1
10817
Title_2.Size = UDim2.new(1, 0, 0, 30)
10818
Title_2.Font = Enum.Font.SourceSansBold
10819
Title_2.FontSize = Enum.FontSize.Size24
10820
Title_2.Text = "Commands"
10821
Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
10822
Example.Name = "Example"
10823
Example.Parent = MAIN
10824
Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
10825
Example.BackgroundTransparency = 1
10826
Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
10827
Example.BorderSizePixel = 0
10828
Example.Size = UDim2.new(0, 190, 0, 20)
10829
Example.Visible = false
10830
Example.Font = Enum.Font.SourceSansBold
10831
Example.TextSize = 20
10832
Example.Text = "txt"
10833
Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
10834
Example.TextStrokeTransparency = 0
10835
Example.TextXAlignment = Enum.TextXAlignment.Left
10836
Example.ZIndex = 6
10837
Search.Name = "Search"
10838
Search.Parent = MAIN
10839
Search.BackgroundColor3 = Color3.new(0, 0, 0)
10840
Search.BackgroundTransparency = 0.69999998807907
10841
Search.BorderColor3 = Color3.new(1, 1, 1)
10842
Search.Position = UDim2.new(0.5, -127, 0.200000003, -25)
10843
Search.Size = UDim2.new(0, 250, 0, 20)
10844
Search.ClearTextOnFocus = false
10845
Search.Font = Enum.Font.SourceSansBold
10846
Search.FontSize = Enum.FontSize.Size18
10847
Search.Text = "Search"
10848
Search.TextColor3 = Color3.new(1, 1, 1)
10849
Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
10850
Search.TextStrokeTransparency = 0
10851
CMDss.Name = "CMDs"
10852
CMDss.Parent = MAIN
10853-
cont.Active = true
10853+
10854-
dragGUI(cont)
10854+
10855
CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
10856
CMDss.BorderSizePixel = 0
10857
CMDss.Position = UDim2.new(0, 10, 0, 65)
10858
CMDss.Size = UDim2.new(0, 280, 0, 230)
10859
CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png"
10860
CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260)
10861
CMDss.MidImage = "rbxasset://textures/blackBkg_square.png"
10862
CMDss.ScrollBarThickness = 8
10863
CMDss.TopImage = "rbxasset://textures/blackBkg_square.png"
10864
------------
10865
---Notify---
10866
------------
10867
notifyMAIN = Instance.new('ScreenGui', DATA)
10868
notifyMAIN.Name = 'Notification'
10869
notifyNOT = Instance.new('Frame', notifyMAIN)
10870
notifyNOT.Name = 'NOTIFY'
10871
notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
10872
notifyNOT.BackgroundTransparency = 1
10873
notifyNOT.BorderColor = BrickColor.new(0,0,0)
10874
notifyNOT.BorderSizePixel = 2
10875
notifyNOT.Position = UDim2.new(0,0,-0.06,0)
10876
notifyNOT.Size = UDim2.new(1,0,0,-40)
10877
notifyNOTE = Instance.new('TextLabel', notifyNOT)
10878
notifyNOTE.Name = 'NOTE'
10879
notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
10880
notifyNOTE.BackgroundTransparency = 1
10881
notifyNOTE.BorderColor = BrickColor.new(255,255,255)
10882
notifyNOTE.BorderSizePixel = 0
10883
notifyNOTE.Size = UDim2.new(1,0,1,0)
10884
notifyNOTE.ZIndex = 4
10885
notifyNOTE.FontSize = 'Size18'
10886
notifyNOTE.Font = 'SourceSansBold'
10887
notifyNOTE.Text = 'NOTIFY'
10888
notifyNOTE.TextColor = BrickColor.new(255,255,255)
10889
notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
10890
notifyNOTE.TextStrokeTransparency = 0.8
10891
10892
addcmd('ayylmao','ayy lmao',{'alien'},
10893
function(args, speaker)
10894
	local players = getPlayer(args[1], speaker)
10895
	for i,v in pairs(players)do
10896
	    local pchar = gPlayers[v].Character
10897
	    if pchar:FindFirstChild("Shirt") then
10898
		    pchar.Shirt:Destroy()
10899
	    end
10900
	    if pchar:FindFirstChild("Pants") then
10901
		    pchar.Pants:Destroy()
10902
	    end
10903
	    if pchar:FindFirstChild("Shirt Graphic") then
10904
		    pchar["Shirt Graphic"].Graphic = ""
10905
	    end
10906
	    for i,v in pairs(pchar:GetChildren()) do
10907
		    if v:IsA("Accessory") then
10908
			    v:Destroy()
10909
		    end
10910
	    end
10911
	    local ayylmao = DATA.ayylmao:Clone()
10912
	    ayylmao.Parent = pchar
10913
	    local BC = pchar["Body Colors"]
10914
	    BC.HeadColor = BrickColor.new("Fossil")
10915
	    BC.LeftArmColor = BrickColor.new("Fossil")
10916
	    BC.LeftLegColor = BrickColor.new("Fossil")
10917
	    BC.RightArmColor = BrickColor.new("Fossil")
10918
	    BC.RightLegColor = BrickColor.new("Fossil")
10919
	    BC.TorsoColor = BrickColor.new("Fossil")
10920
	end
10921
end)
10922
-----------------------------------
10923
----Commands/Settings Functions----
10924
-----------------------------------
10925
HKFolder = Instance.new("Folder", game.CoreGui)
10926
for i,v in pairs(HK) do
10927
	local HKValue = Instance.new("StringValue", HKFolder)
10928
	HKValue.Value = v
10929
	HKValue.RobloxLocked = true
10930
end
10931
CMDsFolder = Instance.new("Folder", game.CoreGui)
10932
for i,v in pairs(CMDs) do
10933
	local CMDsValue = Instance.new("StringValue", CMDsFolder)
10934
	CMDsValue.Value = v
10935
	CMDsValue.RobloxLocked = true
10936
end
10937
cmdOpen = false
10938
function commands()
10939
	if cmdOpen == false then
10940
	cmdOpen = true
10941
	local cmds = cp:Clone()
10942
	cmds.Parent = game.CoreGui
10943
	local HKV = HKFolder:GetChildren()
10944
	local CMDsV = CMDsFolder:GetChildren()
10945
	cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01)
10946
cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
10947
cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true)
10948
SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then
10949
SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
10950
SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then
10951
SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
10952
SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
10953
end
10954
--joined/left friend option
10955
SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function()
10956
SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
10957
SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
10958
Nfriends = true updatefile()
10959
end)
10960
SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function()
10961
SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
10962
SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
10963
Nfriends = false updatefile()
10964
end)
10965
--Message time
10966
SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
10967
wait()
10968
	Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
10969
	Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
10970
	updatefile()
10971
end)
10972
--CMDBAR keybind
10973
SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function()
10974
wait()
10975
	cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text
10976
	cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
10977
	Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
10978
	updatefile()
10979
end)
10980
--Change prefix
10981
SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function()
10982
wait()
10983
	cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text
10984
	Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
10985
	updatefile()
10986
end)
10987
--Check Box for notify
10988
checked = "http://www.roblox.com/asset/?id=65492641"
10989
unchecked = "http://www.roblox.com/asset/?id=65492651"
10990
if suggestionstoggle == true then
10991
SettingsGUI.FeedbackMain.CheckBox.Image = checked else
10992
SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end
10993
SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
10994
if suggestionstoggle == true then suggestionstoggle = false updatefile()
10995
SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else
10996
suggestionstoggle = true
10997
updatefile()
10998
SettingsGUI.FeedbackMain.CheckBox.Image = checked end end)
10999
--Check Box for allow friends on serverlock
11000
checked2 = "http://www.roblox.com/asset/?id=65492641"
11001
unchecked2 = "http://www.roblox.com/asset/?id=65492651"
11002
if allowfriends == true then
11003
SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else
11004
SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end
11005
SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
11006
if allowfriends == true then allowfriends = false updatefile()
11007
SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else
11008
allowfriends = true updatefile()
11009
SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end)
11010
--Check Box for JoinedLeft notifications
11011
checked3 = "http://www.roblox.com/asset/?id=65492641"
11012
unchecked3 = "http://www.roblox.com/asset/?id=65492651"
11013
if JLnotify == true then
11014
SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else
11015
SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end
11016
SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
11017
if JLnotify == true then JLnotify = false updatefile()
11018-
local uicolortext = Instance.new("TextLabel")
11018+
11019-
local openC = Instance.new("TextButton")
11019+
11020
SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
11021
SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end)
11022
cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function()
11023
cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
11024
cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
11025
cmds.Frame.holder.bar.Hide.Visible = true
11026
cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
11027
cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function()
11028
cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1)
11029
cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2)
11030
cmds.Frame.holder.bar.Hide.Visible = true
11031
cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
11032
cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function()
11033
cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true)
11034
cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2)
11035
cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2)
11036
cmds.Frame.holder.bar.Hide.Visible = false end)
11037
cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function()
11038
Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
11039
cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3)
11040
cmds:Destroy() cmdOpen = false end)
11041
cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true)
11042
searchbar()
11043
	for i = 1, #HKV do
11044
		local YSize = 25
11045
		local Position = ((i * YSize) - YSize)
11046
		local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
11047
		newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
11048
		newcmd.Visible = true
11049
		newcmd.Position = UDim2.new(0,5,0, Position + 5)
11050
		newcmd.Text = "" .. HKV[i].Value
11051
		CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
11052
		Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
11053
	end
11054
	for i = 1, #CMDsV do
11055
		local YSize = 25
11056
		local Position = ((i * YSize) - YSize)
11057
		local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
11058
		newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
11059
		newcmd.Visible = true
11060
		newcmd.Position = UDim2.new(0,5,0, Position + 5)
11061
		newcmd.Text = "" .. CMDsV[i].Value
11062
		CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
11063
		Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
11064
	end
11065
game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
11066
game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
11067
game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
11068
game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end
11069
function searchbar()
11070
local CSP = game.CoreGui.cp.Frame.holder.size.MAIN
11071
local main = CSP
11072
local frame = CSP:WaitForChild('CMDs')
11073
local gui = CSP:WaitForChild('Search')
11074
local focused = false
11075
Match = function(name,str)
11076
	return name:lower():find(str:lower()) and true
11077
end
11078
gui.FocusLost:connect(function(enterpressed)
11079
gui.Text = "Search"
11080
end)
11081
IndexContents = function(str,bool)
11082
	local Index,SizeY = 0,0
11083
	for i,v in next, frame:GetChildren() do
11084
		if bool then
11085
			if Match(v.Text,str) then
11086
				Index = Index + 1
11087
				v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
11088
				v.Visible = true
11089
				SizeY = SizeY + v.AbsoluteSize.Y
11090
				frame.CanvasSize = UDim2.new(0,0,0,SizeY)
11091
			else
11092-
FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.01800001, -310)
11092+
11093
			end
11094
		else
11095
			v.Visible = true
11096
			SizeY = SizeY + v.AbsoluteSize.Y
11097
			frame.CanvasSize = UDim2.new(0,0,0,SizeY)
11098
		end
11099
	end
11100
end
11101
game:GetService('RunService').Stepped:connect(function()
11102
	if gui:IsFocused() and gui.Text == "Search" then
11103-
Title.TextStrokeTransparency = 0
11103+
11104
	end
11105
end)
11106
gui.Changed:connect(function()
11107
	if gui:IsFocused() then IndexContents(gui.Text,true) end
11108-
checkboxText.Position = UDim2.new(0, 0, 0, 60)
11108+
11109
11110
IndexContents('',true)
11111
end
11112-
checkboxText.Text = "     Suggestions"
11112+
11113-
checkboxText.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
11113+
11114-
checkboxText.TextStrokeTransparency = 0
11114+
11115-
checkboxText.TextXAlignment = Enum.TextXAlignment.Left
11115+
11116
end
11117
11118
addcmd('settings','opens settings window',{'toggles'},
11119-
CheckBox.Position = UDim2.new(0, 240, 0, 60)
11119+
11120
if speaker.userId ~= LP.userId then
11121
lponly(speaker)
11122
else
11123
runwindow()
11124
game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true)
11125-
bindInput.Position = UDim2.new(0, 187, 0, 260)
11125+
11126
game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true)
11127
wait(0.1)
11128
game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
11129
game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true)
11130
end
11131
end)
11132
11133
function movetab(speaker,PART)
11134
game:GetService('RunService').Stepped:connect(function()
11135
if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then
11136
PART.Locked = true
11137
local cf = speaker.Character.HumanoidRootPart.CFrame
11138
local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
11139
PART.CFrame = newcf end end) end
11140
11141
hastab = {}
11142
addcmd('tablet','opens tablet gui',{},
11143
function(args, speaker)
11144
for _, child in pairs( workspace:GetChildren()) do
11145
    if child.Name == speaker.Name .. "TAB" then
11146
        child:Destroy() end end
11147
game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
11148
local GUI = Instance.new("SurfaceGui")
11149-
preText.Position = UDim2.new(0, 0, 0, 140)
11149+
11150
local bar = Instance.new("Frame")
11151
local Title = Instance.new("TextLabel")
11152
local MAIN = Instance.new("Frame")
11153-
preText.Text = "     Prefix"
11153+
11154
local CMDs = Instance.new("ScrollingFrame")
11155-
preText.TextStrokeTransparency = 0
11155+
11156-
preText.TextXAlignment = Enum.TextXAlignment.Left
11156+
11157
PART.Color = maincolor
11158
PART.Size = Vector3.new(7, 7.8, 0.2)
11159
PART.Transparency = 0
11160
PART.Locked = true
11161-
setpre.Position = UDim2.new(0, 235, 0, 142)
11161+
11162
PART.Parent = workspace
11163
PART.Anchored = true
11164
PART.Material = "Neon"
11165
local GUI = Instance.new("SurfaceGui")
11166
local holder = Instance.new("Frame")
11167
local bar = Instance.new("Frame")
11168
local Title = Instance.new("TextLabel")
11169
local MAIN = Instance.new("Frame")
11170
local Example = Instance.new("TextLabel")
11171
local CMDs = Instance.new("ScrollingFrame")
11172-
everyone.Position = UDim2.new(0, 230, 0, 237)
11172+
11173
GUI.Parent = PART
11174
GUI.CanvasSize = Vector2.new(500, 600)
11175
GUI.Face = Enum.NormalId.Back
11176
holder.Name = "holder"
11177
holder.Parent = GUI
11178
holder.BackgroundColor3 = Color3.new(1, 1, 1)
11179
holder.BackgroundTransparency = 1
11180
holder.BorderSizePixel = 2
11181
holder.Position = UDim2.new(0, 0, 0, 10)
11182-
JLtext.Position = UDim2.new(0, 0, 0, 220)
11182+
11183
holder.ZIndex = 2
11184
bar.Name = "bar"
11185-
JLtext.FontSize = Enum.FontSize.Size18
11185+
11186-
JLtext.Text = "     Joined/Left Notifications"
11186+
11187
bar.BackgroundTransparency = 0.89999997615814
11188-
JLtext.TextStrokeTransparency = 0
11188+
11189-
JLtext.TextXAlignment = Enum.TextXAlignment.Left
11189+
11190
bar.Size = UDim2.new(0, 480, 0, 33)
11191
Title.Name = "Title"
11192
Title.Parent = bar
11193-
CheckBoxJL.Position = UDim2.new(0, 187, 0, 220)
11193+
11194
Title.BackgroundTransparency = 1
11195
Title.Size = UDim2.new(1, 0, 0, 30)
11196
Title.Font = Enum.Font.SourceSansBold
11197
Title.FontSize = Enum.FontSize.Size24
11198
Title.Text = "[Infinite Yield] Command List"
11199
Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
11200
MAIN.Name = "MAIN"
11201-
friends.Position = UDim2.new(0, 230, 0, 215)
11201+
11202
MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
11203
MAIN.BackgroundTransparency = 0.89999997615814
11204
MAIN.BorderSizePixel = 0
11205
MAIN.Position = UDim2.new(0, 10, 1, -300)
11206
MAIN.Size = UDim2.new(0, 480, 0, 550)
11207
Example.Name = "Example"
11208
Example.Parent = MAIN
11209
Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11210-
InputBox.Position = UDim2.new(0, 187, 0, 140)
11210+
11211
Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11212
Example.BorderSizePixel = 0
11213
Example.Size = UDim2.new(0, 190, 0, 40)
11214
Example.Visible = false
11215
Example.Font = Enum.Font.SourceSansBold
11216
Example.FontSize = Enum.FontSize.Size36
11217
Example.Text = "txt"
11218
Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
11219
Example.TextStrokeTransparency = 0
11220
Example.TextXAlignment = Enum.TextXAlignment.Left
11221
Example.ZIndex = 6
11222
CMDs.Name = "CMDs"
11223
CMDs.Parent = MAIN
11224
CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11225
CMDs.BackgroundTransparency = 1
11226
CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11227
CMDs.BorderSizePixel = 0
11228
CMDs.Size = UDim2.new(0, 480, 0, 550)
11229
CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
11230
CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
11231
CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
11232
CMDs.ScrollBarThickness = 15
11233
CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
11234-
MTText.Position = UDim2.new(0, 0, 0, 180)
11234+
11235
	for i = 1, #CMDsV do
11236
		local YSize = 35
11237
		local Position = ((i * YSize) - YSize)
11238-
MTText.Text = "     Message Seconds"
11238+
11239
		newcmd.Parent = CMDs
11240-
MTText.TextStrokeTransparency = 0
11240+
11241-
MTText.TextXAlignment = Enum.TextXAlignment.Left
11241+
11242
		newcmd.Text = "" .. CMDsV[i].Value
11243
	CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
11244
local cf = speaker.Character.HumanoidRootPart.CFrame
11245
local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
11246-
setMT.Position = UDim2.new(0, 235, 0, 183)
11246+
11247
speaker.Character.Humanoid.Died:connect(function()
11248
PART:Destroy() end)
11249
wait(1)
11250
PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
11251
PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
11252
PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
11253
if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
11254
table.insert(hastab, speaker.Name) movetab(speaker,PART)
11255-
CheckBoxS.Position = UDim2.new(0, 240, 0, 100)
11255+
11256
11257
function updatepositions()
11258
	if PList then
11259
	PList:ClearAllChildren()
11260
	PList.CanvasSize = UDim2.new(0, 0, 0, 10)
11261
	for i = 1, #WayPoints do
11262-
slocktext.Position = UDim2.new(0, 0, 0, 100)
11262+
11263
		local Position = ((i * YSize) - YSize)
11264
		local newcmd = Example:Clone()
11265-
slocktext.FontSize = Enum.FontSize.Size18
11265+
11266-
slocktext.Text = "     Allow Friends On Serverlock"
11266+
11267
		newcmd.Position = UDim2.new(0,5,0, Position + 5)
11268-
slocktext.TextStrokeTransparency = 0
11268+
11269-
slocktext.TextXAlignment = Enum.TextXAlignment.Left
11269+
11270
		local goto = Instance.new("TextButton")
11271
		goto.Name = "goto"
11272
		goto.Parent = PList
11273
		goto.BackgroundColor3 = Color3.new(255, 255, 255)
11274-
barBind.Position = UDim2.new(0, 0, 0, 260)
11274+
11275
		goto.BorderColor3 = Color3.new(1, 0, 0)
11276
		goto.BorderSizePixel = 0
11277
		goto.Position = UDim2.new(0,-10,0, Position + 5)
11278-
barBind.Text = "     Command Bar Keybind"
11278+
11279
		goto.FontSize = Enum.FontSize.Size14
11280-
barBind.TextStrokeTransparency = 0
11280+
11281-
barBind.TextXAlignment = Enum.TextXAlignment.Left
11281+
11282
		goto.MouseButton1Click:Connect(function()
11283
		execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME)
11284
		end)
11285
	end
11286-
setBind.Position = UDim2.new(0, 235, 0, 262)
11286+
11287
end
11288
11289
posopen = false
11290
addcmd("positions","lists waypoints",{'pos'},
11291
function(args, speaker)
11292
if posopen == false then
11293
posopen = true
11294
local Pos = Instance.new("ScreenGui")
11295-
MtimeInput.Position = UDim2.new(0, 187, 0, 180)
11295+
11296
local PromptDialog = Instance.new("Frame")
11297
local shadow = Instance.new("Frame")
11298
local PopupText = Instance.new("TextLabel")
11299
local Exit = Instance.new("TextButton")
11300
local ContainerFrame = Instance.new("Frame")
11301
PList = Instance.new("ScrollingFrame")
11302
Pos.Name = "Pos"
11303
Pos.Parent = game.CoreGui
11304
drag.Name = "drag"
11305
drag.Parent = Pos
11306
drag.Active = true
11307
drag.BackgroundColor3 = Color3.new(1, 1, 1)
11308
drag.BackgroundTransparency = 1
11309
drag.Draggable = true
11310
drag.Position = UDim2.new(0.5, -150, 0, -400)
11311
drag.Size = UDim2.new(0, 290, 0, 30)
11312
PromptDialog.Name = "PromptDialog"
11313
PromptDialog.Parent = drag
11314
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
11315-
uicolortext.Name = "uicolortext"
11315+
11316-
uicolortext.Parent = FeedbackMain
11316+
11317-
uicolortext.BackgroundColor3 = Color3.new(1, 1, 1)
11317+
11318-
uicolortext.BackgroundTransparency = 1
11318+
11319-
uicolortext.Position = UDim2.new(0, 0, 0, 30)
11319+
11320-
uicolortext.Size = UDim2.new(1, 0, 0, 30)
11320+
11321-
uicolortext.Font = Enum.Font.SourceSansBold
11321+
11322-
uicolortext.FontSize = Enum.FontSize.Size18
11322+
11323-
uicolortext.Text = "     UI Color"
11323+
11324-
uicolortext.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
11324+
11325-
uicolortext.TextStrokeTransparency = 0
11325+
11326-
uicolortext.TextXAlignment = Enum.TextXAlignment.Left
11326+
11327-
openC.Name = "openC"
11327+
11328-
openC.Parent = FeedbackMain
11328+
11329-
openC.BackgroundColor3 = Color3.new(1, 1, 1)
11329+
11330-
openC.BorderSizePixel = 5
11330+
11331-
openC.Position = UDim2.new(0, 235, 0, 32)
11331+
11332-
openC.Size = UDim2.new(0, 40, 0, 25)
11332+
11333-
openC.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
11333+
11334-
openC.Font = Enum.Font.ArialBold
11334+
11335-
openC.FontSize = Enum.FontSize.Size18
11335+
11336-
openC.Text = "Set"
11336+
11337
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
11338
PopupText.TextStrokeTransparency = 0
11339
PopupText.TextWrapped = true
11340
PopupText.TextYAlignment = Enum.TextYAlignment.Top
11341
Exit.Name = "Exit"
11342
Exit.Parent = shadow
11343
Exit.BackgroundColor3 = Color3.new(1, 0, 0)
11344
Exit.BackgroundTransparency = 0.30000001192093
11345
Exit.BorderColor3 = Color3.new(1, 0, 0)
11346
Exit.BorderSizePixel = 0
11347
Exit.Position = UDim2.new(0, 267, 0, 3)
11348
Exit.Size = UDim2.new(0, 20, 0, 20)
11349
Exit.FontSize = Enum.FontSize.Size14
11350
Exit.Text = ""
11351
ContainerFrame.Name = "ContainerFrame"
11352
ContainerFrame.Parent = PromptDialog
11353
ContainerFrame.BackgroundColor3 = maincolor
11354
ContainerFrame.BackgroundTransparency = 0.5
11355
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
11356
ContainerFrame.BorderSizePixel = 0
11357
ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
11358
ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
11359
ContainerFrame.ZIndex = 5
11360
PList.Name = "List"
11361-
Title_2.TextStrokeTransparency = 0
11361+
11362
PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11363
PList.BackgroundTransparency = 1
11364
PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11365
PList.BorderSizePixel = 0
11366
PList.Position = UDim2.new(0, 10, 0, 5)
11367
PList.Size = UDim2.new(0, 280, 0, 230)
11368
PList.ZIndex = 6
11369
PList.BottomImage = "rbxasset://textures/blackBkg_square.png"
11370
PList.CanvasSize = UDim2.new(0, 0, 0, 10)
11371
PList.MidImage = "rbxasset://textures/blackBkg_square.png"
11372
PList.ScrollBarThickness = 8
11373
PList.TopImage = "rbxasset://textures/blackBkg_square.png"
11374
updatepositions()
11375
drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) 
11376
Exit.MouseButton1Click:Connect(function()
11377
drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) 
11378
wait(0.6) posopen = false Pos:Destroy() end) end
11379
end)
11380
11381
function updateadmins()
11382
	if AList then
11383
	AList:ClearAllChildren()
11384
	AList.CanvasSize = UDim2.new(0, 0, 0, 10)
11385
	for i = 1, #adminname do
11386
		local YSize = 25
11387
		local Position = ((i * YSize) - YSize)
11388
		local newcmd = Example:Clone()
11389
		newcmd.Parent = AList
11390
		newcmd.Visible = true
11391
		newcmd.Position = UDim2.new(0,5,0, Position + 5)
11392
		newcmd.Text = adminname[i].NAME
11393
		AList.CanvasSize = UDim2.new(0,0,0, Position + 30)
11394
	end
11395
	end
11396
end
11397
11398
adminsopen = false
11399
adminname = {}
11400
addcmd('admins','displays admins',{'adminlist'},
11401
function(args, speaker)
11402
if speaker.userId ~= LP.userId then
11403
lponly(speaker) else
11404
if adminsopen == false then
11405
adminsopen = true
11406
local admins = Instance.new("ScreenGui")
11407
local drag = Instance.new("Frame")
11408
local PromptDialog = Instance.new("Frame")
11409
local shadow = Instance.new("Frame")
11410
local PopupText = Instance.new("TextLabel")
11411
local Exit = Instance.new("TextButton")
11412
local ContainerFrame = Instance.new("Frame")
11413
AList = Instance.new("ScrollingFrame")
11414
admins.Name = "Admins"
11415
admins.Parent = game.CoreGui
11416
drag.Name = "drag"
11417
drag.Parent = admins
11418
drag.Active = true
11419
drag.BackgroundColor3 = Color3.new(1, 1, 1)
11420
drag.BackgroundTransparency = 1
11421
drag.Draggable = true
11422
drag.Position = UDim2.new(0.5, -150, 0, -400)
11423
drag.Size = UDim2.new(0, 290, 0, 30)
11424
PromptDialog.Name = "PromptDialog"
11425
PromptDialog.Parent = drag
11426
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
11427
PromptDialog.BackgroundTransparency = 1
11428
PromptDialog.BorderSizePixel = 0
11429
PromptDialog.Position = UDim2.new(0, -10, 0, 0)
11430
PromptDialog.Size = UDim2.new(0, 310, 0, 300)
11431
PromptDialog.ZIndex = 8
11432
shadow.Name = "shadow"
11433
shadow.Parent = PromptDialog
11434
shadow.BackgroundColor3 = maincolor
11435
shadow.BackgroundTransparency = 0.30000001192093
11436
shadow.BorderColor3 = Color3.new(0, 0, 0)
11437
shadow.BorderSizePixel = 0
11438
shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
11439
shadow.Size = UDim2.new(0, 290, 0, 26)
11440
PopupText.Name = "PopupText"
11441
PopupText.Parent = shadow
11442
PopupText.BackgroundTransparency = 1
11443
PopupText.Position = UDim2.new(0, 8, 0, -3)
11444
PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
11445
PopupText.ZIndex = 110
11446
PopupText.Font = Enum.Font.SourceSansBold
11447
PopupText.FontSize = Enum.FontSize.Size28
11448
PopupText.Text = "Admins"
11449
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
11450
PopupText.TextStrokeTransparency = 0
11451
PopupText.TextWrapped = true
11452
PopupText.TextYAlignment = Enum.TextYAlignment.Top
11453
Exit.Name = "Exit"
11454
Exit.Parent = shadow
11455
Exit.BackgroundColor3 = Color3.new(1, 0, 0)
11456
Exit.BackgroundTransparency = 0.30000001192093
11457
Exit.BorderColor3 = Color3.new(1, 0, 0)
11458
Exit.BorderSizePixel = 0
11459
Exit.Position = UDim2.new(0, 267, 0, 3)
11460
Exit.Size = UDim2.new(0, 20, 0, 20)
11461
Exit.FontSize = Enum.FontSize.Size14
11462
Exit.Text = ""
11463
ContainerFrame.Name = "ContainerFrame"
11464
ContainerFrame.Parent = PromptDialog
11465
ContainerFrame.BackgroundColor3 = maincolor
11466
ContainerFrame.BackgroundTransparency = 0.5
11467
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
11468
ContainerFrame.BorderSizePixel = 0
11469
ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
11470
ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
11471
ContainerFrame.ZIndex = 5
11472
AList.Name = "List"
11473
AList.Parent = ContainerFrame
11474
AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11475
AList.BackgroundTransparency = 1
11476
AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11477
AList.BorderSizePixel = 0
11478
AList.Position = UDim2.new(0, 10, 0, 5)
11479-
	dragGUI(cmds.Frame)
11479+
11480
AList.ZIndex = 6
11481
AList.BottomImage = "rbxasset://textures/blackBkg_square.png"
11482
AList.CanvasSize = UDim2.new(0, 0, 0, 10)
11483
AList.MidImage = "rbxasset://textures/blackBkg_square.png"
11484
AList.ScrollBarThickness = 8
11485
AList.TopImage = "rbxasset://textures/blackBkg_square.png"
11486
updateadmins()
11487
drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) 
11488
Exit.MouseButton1Click:Connect(function()
11489
drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) 
11490
wait(0.6) adminsopen = false admins:Destroy() end) end end
11491
end)
11492
11493
function updatebans()
11494
	if BList then
11495
	BList:ClearAllChildren()
11496
	BList.CanvasSize = UDim2.new(0, 0, 0, 10)
11497
	for i = 1, #banname do
11498
		local YSize = 25
11499
		local Position = ((i * YSize) - YSize)
11500-
-- Color mixer
11500+
11501-
SettingsGUI.FeedbackMain.openC.MouseButton1Click:Connect(function()
11501+
11502-
picker.ColorPicker.Visible = true picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
11502+
11503
		newcmd.Position = UDim2.new(0,5,0, Position + 5)
11504
		newcmd.Text = "    Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE
11505
		newcmd.TextSize = 20
11506
		BList.CanvasSize = UDim2.new(0,0,0, Position + 30)
11507
		local delet = Instance.new("TextButton")
11508
		delet.Name = "delet"
11509
		delet.Parent = BList
11510
		delet.BackgroundColor3 = Color3.new(1, 0, 0)
11511
		delet.BackgroundTransparency = 0.30000001192093
11512
		delet.BorderColor3 = Color3.new(1, 0, 0)
11513
		delet.BorderSizePixel = 0
11514
		delet.Position = UDim2.new(0,-10,0, Position + 5)
11515
		delet.Size = UDim2.new(0, 20, 0, 20)
11516
		delet.FontSize = Enum.FontSize.Size14
11517
		delet.Text = ""
11518
		delet.ZIndex = 6
11519
		delet.MouseButton1Click:Connect(function()
11520
		updatebans()
11521
		execCmd("unban "..banname[i].NAME)
11522
		end)
11523
	end
11524
	end
11525
end
11526
11527
banname = {}
11528
bansopen = false
11529
addcmd('bans','displays bans',{'banlist'},
11530
function(args, speaker)
11531
if speaker.userId ~= LP.userId then
11532
lponly(speaker) else
11533
if bansopen == false then
11534
bansopen = true
11535
local Bans = Instance.new("ScreenGui")
11536
local drag = Instance.new("Frame")
11537
local PromptDialog = Instance.new("Frame")
11538
local ContainerFrame = Instance.new("Frame")
11539
BList = Instance.new("ScrollingFrame")
11540
local shadow = Instance.new("Frame")
11541
local Exit = Instance.new("TextButton")
11542
local PopupText = Instance.new("TextLabel")
11543
Bans.Name = "Bans"
11544
Bans.Parent = game.CoreGui
11545
drag.Name = "drag"
11546
drag.Parent = Bans
11547
drag.Active = true
11548
drag.BackgroundColor3 = Color3.new(1, 1, 1)
11549
drag.BackgroundTransparency = 1
11550
drag.Draggable = true
11551
drag.Position = UDim2.new(0.5, -225, 0, -400)
11552
drag.Size = UDim2.new(0, 438, 0, 26)
11553
PromptDialog.Name = "PromptDialog"
11554
PromptDialog.Parent = drag
11555
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
11556
PromptDialog.BackgroundTransparency = 1
11557
PromptDialog.BorderSizePixel = 0
11558
PromptDialog.Position = UDim2.new(0, 0, 0, -2)
11559
PromptDialog.Size = UDim2.new(0, 438, 0, 300)
11560
PromptDialog.ZIndex = 5
11561
ContainerFrame.Name = "ContainerFrame"
11562
ContainerFrame.Parent = PromptDialog
11563
ContainerFrame.BackgroundColor3 = maincolor
11564
ContainerFrame.BackgroundTransparency = 0.5
11565
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
11566
ContainerFrame.BorderSizePixel = 0
11567
ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
11568
ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0)
11569
ContainerFrame.ZIndex = 5
11570
BList.Name = "List"
11571
BList.Parent = ContainerFrame
11572
BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11573
BList.BackgroundTransparency = 1
11574
BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11575
BList.BorderSizePixel = 0
11576
BList.Position = UDim2.new(0, 10, 0, 9)
11577
BList.Size = UDim2.new(0, 428, 0, 230)
11578
BList.ZIndex = 5
11579
BList.BottomImage = "rbxasset://textures/blackBkg_square.png"
11580
BList.CanvasSize = UDim2.new(0, 0, 0, 10)
11581
BList.MidImage = "rbxasset://textures/blackBkg_square.png"
11582
BList.ScrollBarThickness = 8
11583
BList.TopImage = "rbxasset://textures/blackBkg_square.png"
11584
shadow.Name = "shadow"
11585
shadow.Parent = PromptDialog
11586
shadow.BackgroundColor3 = maincolor
11587
shadow.BackgroundTransparency = 0.30000001192093
11588
shadow.BorderColor3 = Color3.new(0, 0, 0)
11589
shadow.BorderSizePixel = 0
11590
shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
11591
shadow.Size = UDim2.new(0, 438, 0, 26)
11592
Exit.Name = "Exit"
11593
Exit.Parent = shadow
11594
Exit.BackgroundColor3 = Color3.new(1, 0, 0)
11595
Exit.BackgroundTransparency = 0.30000001192093
11596
Exit.BorderColor3 = Color3.new(1, 0, 0)
11597
Exit.BorderSizePixel = 0
11598
Exit.Position = UDim2.new(0, 415, 0, 3)
11599
Exit.Size = UDim2.new(0, 20, 0, 20)
11600
Exit.FontSize = Enum.FontSize.Size14
11601
Exit.Text = ""
11602
PopupText.Name = "PopupText"
11603
PopupText.Parent = shadow
11604
PopupText.BackgroundTransparency = 1
11605
PopupText.Position = UDim2.new(0, 61, 0, -4)
11606
PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
11607
PopupText.ZIndex = 6
11608
PopupText.Font = Enum.Font.SourceSansBold
11609
PopupText.FontSize = Enum.FontSize.Size32
11610
PopupText.Text = "Bans"
11611
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
11612
PopupText.TextStrokeTransparency = 0
11613
PopupText.TextWrapped = true
11614
PopupText.TextYAlignment = Enum.TextYAlignment.Top
11615
updatebans()
11616
drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil)
11617
Exit.MouseButton1Click:Connect(function()
11618
drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil)
11619
wait(0.6) bansopen = false Bans:Destroy() end) end end
11620
end)
11621
11622
addcmd('cmds','opens cmds window',{'commands'},
11623
function(args, speaker)
11624
if speaker.userId ~= LP.userId then
11625
for _, child in pairs( workspace:GetChildren()) do
11626
    if child.Name == speaker.Name .. "TAB" then
11627
        child:Destroy() end end
11628
game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
11629
local GUI = Instance.new("SurfaceGui")
11630
local holder = Instance.new("Frame")
11631
local bar = Instance.new("Frame")
11632
local Title = Instance.new("TextLabel")
11633
local MAIN = Instance.new("Frame")
11634
local Example = Instance.new("TextLabel")
11635
local CMDs = Instance.new("ScrollingFrame")
11636
local PART = Instance.new("Part")
11637
PART.Name = speaker.Name .. 'TAB'
11638
PART.Color = maincolor
11639
PART.Size = Vector3.new(7, 7.8, 0.2)
11640
PART.Transparency = 0
11641
PART.Locked = true
11642
PART.CanCollide = false
11643
PART.Parent = workspace
11644
PART.Anchored = true
11645
PART.Material = "Neon"
11646
local GUI = Instance.new("SurfaceGui")
11647
local holder = Instance.new("Frame")
11648
local bar = Instance.new("Frame")
11649
local Title = Instance.new("TextLabel")
11650
local MAIN = Instance.new("Frame")
11651
local Example = Instance.new("TextLabel")
11652
local CMDs = Instance.new("ScrollingFrame")
11653
GUI.Name = "GUI"
11654
GUI.Parent = PART
11655
GUI.CanvasSize = Vector2.new(500, 600)
11656
GUI.Face = Enum.NormalId.Back
11657
holder.Name = "holder"
11658
holder.Parent = GUI
11659
holder.BackgroundColor3 = Color3.new(1, 1, 1)
11660
holder.BackgroundTransparency = 1
11661
holder.BorderSizePixel = 2
11662
holder.Position = UDim2.new(0, 0, 0, 10)
11663
holder.Size = UDim2.new(0, 300, 0, 330)
11664
holder.ZIndex = 2
11665
bar.Name = "bar"
11666
bar.Parent = holder
11667
bar.BackgroundColor3 = Color3.new(0, 0, 0)
11668
bar.BackgroundTransparency = 0.89999997615814
11669
bar.BorderSizePixel = 0
11670
bar.Position = UDim2.new(0, 10, 1, -330)
11671
bar.Size = UDim2.new(0, 480, 0, 33)
11672
Title.Name = "Title"
11673
Title.Parent = bar
11674
Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
11675
Title.BackgroundTransparency = 1
11676
Title.Size = UDim2.new(1, 0, 0, 30)
11677
Title.Font = Enum.Font.SourceSansBold
11678
Title.FontSize = Enum.FontSize.Size24
11679
Title.Text = "[Infinite Yield] Command List"
11680
Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
11681
MAIN.Name = "MAIN"
11682
MAIN.Parent = holder
11683
MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
11684
MAIN.BackgroundTransparency = 0.89999997615814
11685
MAIN.BorderSizePixel = 0
11686
MAIN.Position = UDim2.new(0, 10, 1, -300)
11687
MAIN.Size = UDim2.new(0, 480, 0, 550)
11688
Example.Name = "Example"
11689
Example.Parent = MAIN
11690
Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11691
Example.BackgroundTransparency = 1
11692
Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11693
Example.BorderSizePixel = 0
11694
Example.Size = UDim2.new(0, 190, 0, 40)
11695
Example.Visible = false
11696
Example.Font = Enum.Font.SourceSansBold
11697
Example.FontSize = Enum.FontSize.Size36
11698
Example.Text = "txt"
11699
Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
11700
Example.TextStrokeTransparency = 0
11701
Example.TextXAlignment = Enum.TextXAlignment.Left
11702
Example.ZIndex = 6
11703
CMDs.Name = "CMDs"
11704
CMDs.Parent = MAIN
11705
CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11706
CMDs.BackgroundTransparency = 1
11707
CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11708
CMDs.BorderSizePixel = 0
11709
CMDs.Size = UDim2.new(0, 480, 0, 550)
11710
CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
11711
CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
11712
CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
11713
CMDs.ScrollBarThickness = 15
11714
CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
11715
	local CMDsV = CMDsFolder:GetChildren()
11716
	for i = 1, #CMDsV do
11717
		local YSize = 35
11718
		local Position = ((i * YSize) - YSize)
11719
		local newcmd = Example:Clone()
11720
		newcmd.Parent = CMDs
11721
		newcmd.Visible = true
11722
		newcmd.Position = UDim2.new(0,10,0, Position + 1)
11723
		newcmd.Text = "" .. CMDsV[i].Value
11724
	CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
11725
local cf = speaker.Character.HumanoidRootPart.CFrame
11726
local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
11727
PART.CFrame = newcf
11728
speaker.Character.Humanoid.Died:connect(function()
11729
PART:Destroy() end)
11730
wait(1)
11731
PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
11732
PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
11733
PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
11734
if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
11735
table.insert(hastab, speaker.Name) movetab(speaker,PART)
11736
else
11737
	commands()
11738
searchbar()
11739
end
11740
end)
11741
cmdBAR.FocusLost:connect(function(enterpressed)
11742
	if enterpressed and cmdBAR.Text ~= "" then
11743
		spawn(function ()
11744
			execCmd(cmdBAR.Text, Player)
11745
		end)
11746
	end
11747
	game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
11748
	cmdBAR.BorderSizePixel = 1
11749
	wait(0.1)
11750
	cmdBAR.BorderSizePixel = 0
11751
	cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
11752
end)
11753
Mouse.KeyDown:connect(function(Key)
11754
	if (Key==cmdbarbind) then
11755
		cmdBAR:CaptureFocus()
11756
		cmdBAR.BorderSizePixel = 1
11757
		wait(0.1)
11758
		cmdBAR.BorderSizePixel = 2
11759
	end
11760
end)
11761
cmdBAR.Changed:connect(function (property)
11762
if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end
11763
end)
11764
cmdBAR:GetPropertyChangedSignal("Text"):Connect(function()
11765
    local diff = cmdBAR.TextBounds.X-250
11766
    cmdBAR:TweenSizeAndPosition(UDim2.new(0,250+math.floor(math.max(0,diff)),0,25),UDim2.new(0,10-math.floor(math.max(0,diff)),1,-35),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
11767
end)
11768
cmdBAR.Focused:Connect(function() historyCount = 0 end)
11769
game:GetService("UserInputService").InputBegan:Connect(function(input)
11770
    if not cmdBAR:IsFocused() then return end
11771
    if input.KeyCode == Enum.KeyCode.Up then
11772
        historyCount = historyCount + 1
11773
        if historyCount > #cmdHistory then historyCount = #cmdHistory end
11774
        cmdBAR.Text = cmdHistory[historyCount] or ""
11775
    elseif input.KeyCode == Enum.KeyCode.Down then
11776
        historyCount = historyCount - 1
11777
        if historyCount < 1 then historyCount = 1 end
11778
        cmdBAR.Text = cmdHistory[historyCount] or ""
11779
    end
11780
end)
11781
NOTIFY = DATA.Notification
11782
NOTIFY.Parent = game.CoreGui
11783
local usingNOTE = false
11784
function Notify(msg)
11785
	spawn(function()
11786
		if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
11787
				NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
11788
				wait(0.5)
11789
				MusicPlayer:Hide()
11790
				if qopen == true then
11791
				quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
11792
				quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
11793
				quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
11794
				quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
11795
				quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false
11796
				NOTIFY.NOTIFY.NOTE.Text = msg
11797
				NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
11798
				if playerenabled == true then
11799
				wait(4)
11800
				if playerenabled == true then
11801
				MusicPlayer:Show()
11802
				NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
11803
				end
11804
				end
11805
				else
11806
				NOTIFY.NOTIFY.NOTE.Text = msg
11807
				NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
11808
				if playerenabled == true then
11809
				wait(4)
11810
				if playerenabled == true then
11811
				MusicPlayer:Show()
11812
				NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
11813
				end
11814
				end
11815
end end end) end
11816
local loadbar = Instance.new("ScreenGui") local Loading = Instance.new("TextLabel") local fr = Instance.new("Frame") local ba = Instance.new("Frame") loadbar.Name = "loadbar" loadbar.Parent = game.CoreGui
11817
Loading.Name = "Loading" Loading.Parent = loadbar Loading.BackgroundColor3 = Color3.new(1, 1, 1) Loading.BackgroundTransparency = 1 Loading.Position = UDim2.new(0.25, 0, 0.875, 0) Loading.Size = UDim2.new(0.5, 0, 0, 50)
11818
Loading.ZIndex = 101 Loading.Font = Enum.Font.ArialBold Loading.FontSize = Enum.FontSize.Size24 Loading.Text = "Loading..." Loading.TextColor3 = Color3.new(0, 0, 0) Loading.TextStrokeColor3 = Color3.new(1, 1, 1) Loading.TextStrokeTransparency = 0.5
11819
Loading.TextTransparency = 0.10000000149012 Loading.TextWrapped = true fr.Name = "fr" fr.Parent = Loading fr.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078) fr.BackgroundTransparency = 0.30000001192093
11820
fr.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078) fr.BorderSizePixel = 2 fr.Size = UDim2.new(1, 0, 1, 0) ba.ZIndex = 100 fr.ZIndex = 99 ba.Name = "ba" ba.Parent = Loading ba.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392) ba.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
11821
ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0)
11822
Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil)
11823
commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false
11824
local Logs = Instance.new("ScreenGui")
11825
logdrag = Instance.new("Frame")
11826
local PromptDialog = Instance.new("Frame")
11827
local ContainerFrame = Instance.new("Frame")
11828
local pos = Instance.new("Frame")
11829
local clear = Instance.new("TextButton")
11830
local scroll = Instance.new("ScrollingFrame")
11831
local hl = Instance.new("Frame")
11832
local whispers = Instance.new("Frame")
11833
local CheckBox = Instance.new("ImageButton")
11834
local box = Instance.new("TextButton")
11835
local whispers_2 = Instance.new("TextLabel")
11836
local chats = Instance.new("Frame")
11837
local CheckBox_2 = Instance.new("ImageButton")
11838
local box_2 = Instance.new("TextButton")
11839
local chats_2 = Instance.new("TextLabel")
11840
local commands = Instance.new("Frame")
11841
local CheckBox_3 = Instance.new("ImageButton")
11842
local box_3 = Instance.new("TextButton")
11843
local commands_2 = Instance.new("TextLabel")
11844
local shadow = Instance.new("Frame")
11845
local Exit = Instance.new("TextButton")
11846
local PopupText = Instance.new("TextLabel")
11847
local Hide = Instance.new("TextButton")
11848
Logs.Name = "Logs"
11849-
dragGUI(drag)
11849+
11850
logdrag.Name = "drag"
11851
logdrag.Parent = Logs
11852
logdrag.Active = true
11853
logdrag.BackgroundColor3 = Color3.new(1, 1, 1)
11854
logdrag.BackgroundTransparency = 1
11855
logdrag.Draggable = true
11856
logdrag.Position = UDim2.new(0.5, -225, 0, -400)
11857
logdrag.Size = UDim2.new(0, 438, 0, 26)
11858
PromptDialog.Name = "PromptDialog"
11859
PromptDialog.Parent = logdrag
11860
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
11861
PromptDialog.BackgroundTransparency = 1
11862
PromptDialog.BorderSizePixel = 0
11863
PromptDialog.Position = UDim2.new(0, 0, 0, -2)
11864
PromptDialog.Size = UDim2.new(0, 438, 0, 300)
11865
PromptDialog.ZIndex = 5
11866
PromptDialog.ClipsDescendants = true
11867
ContainerFrame.Name = "ContainerFrame"
11868
ContainerFrame.Parent = PromptDialog
11869
ContainerFrame.BackgroundColor3 = maincolor
11870
ContainerFrame.BackgroundTransparency = 0.5
11871
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
11872
ContainerFrame.BorderSizePixel = 0
11873
ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
11874
ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0)
11875
ContainerFrame.ZIndex = 5
11876
pos.Name = "pos"
11877
pos.Parent = ContainerFrame
11878
pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
11879
pos.BackgroundTransparency = 1
11880
pos.BorderColor3 = Color3.new(0, 0, 0)
11881
pos.BorderSizePixel = 0
11882
pos.Position = UDim2.new(0, 10, 0, 9)
11883
pos.Size = UDim2.new(0, 428, 0, 230)
11884
pos.ZIndex = 5
11885
clear.Name = "clear"
11886
clear.Parent = pos
11887
clear.BackgroundColor3 = Color3.new(0, 0, 0)
11888
clear.BackgroundTransparency = 0.80000001192093
11889
clear.BorderColor3 = Color3.new(1, 1, 1)
11890
clear.Position = UDim2.new(0, 3, 0, 3)
11891
clear.Size = UDim2.new(0, 70, 0, 20)
11892
clear.ZIndex = 5
11893
clear.Font = Enum.Font.SourceSans
11894
clear.FontSize = Enum.FontSize.Size14
11895
clear.Text = "Clear"
11896
clear.TextColor3 = Color3.new(1, 1, 1)
11897
scroll.Name = "scroll"
11898
scroll.Parent = pos
11899
scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11900
scroll.BackgroundTransparency = 1
11901
scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
11902
scroll.BorderSizePixel = 0
11903
scroll.Size = UDim2.new(0, 413, 0, 193)
11904
scroll.Position = UDim2.new(0.007, 0, 0.152, 0)
11905
scroll.ZIndex = 5
11906
scroll.BottomImage = "rbxasset://textures/blackBkg_square.png"
11907
scroll.CanvasSize = UDim2.new(0, 0, 0, 10)
11908
scroll.MidImage = "rbxasset://textures/blackBkg_square.png"
11909
scroll.ScrollBarThickness = 8
11910
scroll.TopImage = "rbxasset://textures/blackBkg_square.png"
11911
hl.Name = "hl"
11912
hl.Parent = pos
11913
hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
11914
hl.BackgroundTransparency = 0.5
11915
hl.BorderColor3 = Color3.new(0, 0, 0)
11916
hl.BorderSizePixel = 0
11917
hl.Position = UDim2.new(0, 2, 0, 35)
11918
hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0)
11919
hl.ZIndex = 5
11920
whispers.Name = "whispers"
11921
whispers.Parent = pos
11922
whispers.BackgroundColor3 = Color3.new(1, 1, 1)
11923
whispers.BackgroundTransparency = 1
11924
whispers.Size = UDim2.new(0, 428, 0, 230)
11925
CheckBox.Name = "CheckBox"
11926
CheckBox.Parent = whispers
11927
CheckBox.BackgroundTransparency = 1
11928
CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2)
11929
CheckBox.Size = UDim2.new(0, 20, 0, 20)
11930
CheckBox.ZIndex = 6
11931
CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
11932
box.Name = "box"
11933
box.Parent = whispers
11934
box.BackgroundColor3 = Color3.new(0, 0, 0)
11935
box.BackgroundTransparency = 0.80000001192093
11936
box.BorderColor3 = Color3.new(1, 1, 1)
11937
box.Position = UDim2.new(0, 172, 0, 3)
11938
box.Size = UDim2.new(0, 94, 0, 20)
11939
box.ZIndex = 5
11940
box.Font = Enum.Font.SourceSans
11941
box.FontSize = Enum.FontSize.Size14
11942
box.Text = ""
11943
box.TextColor3 = Color3.new(1, 1, 1)
11944
whispers_2.Name = "whispers"
11945
whispers_2.Parent = whispers
11946
whispers_2.BackgroundColor3 = Color3.new(1, 1, 1)
11947
whispers_2.BackgroundTransparency = 1
11948
whispers_2.Position = UDim2.new(0, 172, 0, 3)
11949
whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30)
11950
whispers_2.ZIndex = 6
11951
whispers_2.Font = Enum.Font.SourceSansBold
11952
whispers_2.FontSize = Enum.FontSize.Size14
11953
whispers_2.Text = "Whispers"
11954
whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
11955
chats.Name = "chats"
11956
chats.Parent = pos
11957
chats.BackgroundColor3 = Color3.new(1, 1, 1)
11958
chats.BackgroundTransparency = 1
11959
chats.Size = UDim2.new(0, 428, 0, 230)
11960
CheckBox_2.Name = "CheckBox"
11961-
dragGUI(drag)
11961+
11962
CheckBox_2.BackgroundTransparency = 1
11963
CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2)
11964
CheckBox_2.Size = UDim2.new(0, 20, 0, 20)
11965
CheckBox_2.ZIndex = 6
11966
CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641"
11967
box_2.Name = "box"
11968
box_2.Parent = chats
11969
box_2.BackgroundColor3 = Color3.new(0, 0, 0)
11970
box_2.BackgroundTransparency = 0.80000001192093
11971
box_2.BorderColor3 = Color3.new(1, 1, 1)
11972
box_2.Position = UDim2.new(0, 86, 0, 3)
11973
box_2.Size = UDim2.new(0, 73, 0, 20)
11974
box_2.ZIndex = 5
11975
box_2.Font = Enum.Font.SourceSans
11976
box_2.FontSize = Enum.FontSize.Size14
11977
box_2.Text = ""
11978
box_2.TextColor3 = Color3.new(1, 1, 1)
11979
chats_2.Name = "chats"
11980
chats_2.Parent = chats
11981
chats_2.BackgroundColor3 = Color3.new(1, 1, 1)
11982
chats_2.BackgroundTransparency = 1
11983
chats_2.Position = UDim2.new(0, 86, 0, 2)
11984
chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30)
11985
chats_2.ZIndex = 6
11986
chats_2.Font = Enum.Font.SourceSansBold
11987
chats_2.FontSize = Enum.FontSize.Size14
11988
chats_2.Text = "Chats"
11989
chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
11990
commands.Name = "commands"
11991
commands.Parent = pos
11992
commands.BackgroundColor3 = Color3.new(1, 1, 1)
11993
commands.BackgroundTransparency = 1
11994
commands.Size = UDim2.new(0, 428, 0, 230)
11995
CheckBox_3.Name = "CheckBox"
11996
CheckBox_3.Parent = commands
11997
CheckBox_3.BackgroundTransparency = 1
11998
CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2)
11999
CheckBox_3.Size = UDim2.new(0, 20, 0, 20)
12000
CheckBox_3.ZIndex = 6
12001
CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641"
12002
box_3.Name = "box"
12003
box_3.Parent = commands
12004
box_3.BackgroundColor3 = Color3.new(0, 0, 0)
12005
box_3.BackgroundTransparency = 0.80000001192093
12006
box_3.BorderColor3 = Color3.new(1, 1, 1)
12007
box_3.Position = UDim2.new(0, 279, 0, 3)
12008
box_3.Size = UDim2.new(0, 102, 0, 20)
12009
box_3.ZIndex = 5
12010
box_3.Font = Enum.Font.SourceSans
12011
box_3.FontSize = Enum.FontSize.Size14
12012
box_3.Text = ""
12013
box_3.TextColor3 = Color3.new(1, 1, 1)
12014
commands_2.Name = "commands"
12015
commands_2.Parent = commands
12016
commands_2.BackgroundColor3 = Color3.new(1, 1, 1)
12017
commands_2.BackgroundTransparency = 1
12018
commands_2.Position = UDim2.new(0, 279, 0, 3)
12019
commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30)
12020
commands_2.ZIndex = 6
12021
commands_2.Font = Enum.Font.SourceSansBold
12022
commands_2.FontSize = Enum.FontSize.Size14
12023
commands_2.Text = "Commands"
12024
commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
12025
shadow.Name = "shadow"
12026
shadow.Parent = PromptDialog
12027
shadow.BackgroundColor3 = maincolor
12028
shadow.BackgroundTransparency = 0.30000001192093
12029
shadow.BorderColor3 = Color3.new(0, 0, 0)
12030
shadow.BorderSizePixel = 0
12031
shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
12032
shadow.Size = UDim2.new(0, 438, 0, 26)
12033
Exit.Name = "Exit"
12034
Exit.Parent = shadow
12035
Exit.BackgroundColor3 = Color3.new(1, 0, 0)
12036
Exit.BackgroundTransparency = 0.30000001192093
12037
Exit.BorderColor3 = Color3.new(1, 0, 0)
12038
Exit.BorderSizePixel = 0
12039
Exit.Position = UDim2.new(0, 415, 0, 3)
12040
Exit.Size = UDim2.new(0, 20, 0, 20)
12041
Exit.FontSize = Enum.FontSize.Size14
12042
Exit.Text = ""
12043
PopupText.Name = "PopupText"
12044
PopupText.Parent = shadow
12045
PopupText.BackgroundTransparency = 1
12046
PopupText.Position = UDim2.new(0, 61, 0, -5)
12047
PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
12048
PopupText.ZIndex = 6
12049
PopupText.Font = Enum.Font.SourceSansBold
12050
PopupText.TextSize = 31
12051
PopupText.Text = "Logs"
12052
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12053
PopupText.TextStrokeTransparency = 0
12054
PopupText.TextWrapped = true
12055
PopupText.TextYAlignment = Enum.TextYAlignment.Top
12056
Hide.Name = "Hide"
12057
Hide.Parent = shadow
12058
Hide.BackgroundColor3 = Color3.new(1, 1, 1)
12059
Hide.BackgroundTransparency = 0.30000001192093
12060
Hide.BorderColor3 = Color3.new(1, 1, 1)
12061
Hide.BorderSizePixel = 0
12062
Hide.Position = UDim2.new(0.800000012, 41, 0, 3)
12063
Hide.Size = UDim2.new(0, 20, 0, 20)
12064
Hide.FontSize = Enum.FontSize.Size14
12065
Hide.Text = ""
12066
checked = "http://www.roblox.com/asset/?id=65492641"
12067
unchecked = "http://www.roblox.com/asset/?id=65492651"
12068
if chatsV == true then
12069
CheckBox_2.Image = checked else
12070
CheckBox_2.Image = unchecked end
12071
box_2.MouseButton1Down:connect(function()
12072
if chatsV == true then chatsV = false
12073
CheckBox_2.Image = unchecked updatefile() else
12074
chatsV = true
12075
CheckBox_2.Image = checked updatefile() end end)
12076
if whispersV == true then
12077
CheckBox.Image = checked else
12078
CheckBox.Image = unchecked end
12079
box.MouseButton1Down:connect(function()
12080
if whispersV == true then whispersV = false
12081
CheckBox.Image = unchecked updatefile() else
12082
whispersV = true
12083
CheckBox.Image = checked updatefile() end end)
12084
if commandsV == true then
12085
CheckBox_3.Image = checked else
12086
CheckBox_3.Image = unchecked end
12087
box_3.MouseButton1Down:connect(function()
12088
if commandsV == true then commandsV = false
12089-
dragGUI(drag)
12089+
12090
commandsV = true
12091
CheckBox_3.Image = checked updatefile() end end)
12092
clear.MouseButton1Down:connect(function()
12093
for _, child in pairs( scroll:GetChildren()) do
12094
child:Destroy() end
12095
scroll.CanvasSize = UDim2.new(0, 0, 0, 10)
12096
end)
12097
Exit.MouseButton1Down:connect(function()
12098
logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil)
12099
logsopen = false
12100
end)
12101
hidden = false
12102
Hide.MouseButton1Down:connect(function()
12103
if hidden == false then hidden = true
12104
ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil)
12105
else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false
12106
end end)
12107
function logtime() -- time function from aperture 
12108
	local HOUR = math.floor((tick() % 86400) / 3600)
12109
	local MINUTE = math.floor((tick() % 3600) / 60)
12110
	local SECOND = math.floor(tick() % 60)
12111
	local AP = HOUR > 11 and 'PM' or 'AM'
12112
	HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
12113
	HOUR = HOUR < 10 and '0' .. HOUR or HOUR
12114
	MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
12115
	SECOND = SECOND < 10 and '0' .. SECOND or SECOND
12116
	return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end
12117
function CreateLabel(Name, Text)
12118
	local sf = scroll
12119
	if #sf:GetChildren() >= 2546 then
12120
		sf:ClearAllChildren()
12121
	end
12122
	local alls = 0
12123
	for i,v in pairs(sf:GetChildren()) do
12124
		if v then
12125
			alls = v.Size.Y.Offset + alls
12126
		end
12127
		if not v then
12128
			alls = 0
12129
		end
12130
	end
12131
	local tl = Instance.new('TextLabel', sf)
12132
	local il = Instance.new('Frame', tl)
12133
	tl.Name = Name
12134
	tl.ZIndex = 6
12135
	tl.Text = logtime().." - ["..Name.."]: "..Text
12136
	tl.Size = UDim2.new(0,410,0,84)
12137
	tl.BackgroundTransparency = 1
12138
	tl.BorderSizePixel = 0
12139
	tl.Font = "SourceSansBold"
12140
	tl.Position = UDim2.new(-1,0,0,alls)
12141
	tl.TextTransparency = 1
12142
	tl.TextScaled = false
12143
	tl.TextSize = 14
12144
	tl.TextWrapped = true
12145
	tl.TextXAlignment = "Left"
12146
	tl.TextYAlignment = "Top"
12147
	il.BackgroundTransparency = 1
12148
	il.BorderSizePixel = 0
12149
	il.Size = UDim2.new(0,12,1,0)
12150
	il.Position = UDim2.new(0,410,0,0)
12151
	tl.TextColor3 = Color3.fromRGB(255,255,255)
12152
	tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y)
12153
	sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
12154
	sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y)
12155
	local size2 = sf.CanvasSize.Y.Offset
12156
	tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5)
12157
	for i = 0,50 do wait(0.05)
12158
		tl.TextTransparency = tl.TextTransparency - 0.05
12159
	end
12160
	tl.TextTransparency = 0
12161-
function updatealiases()
12161+
12162-
	if AlList then
12162+
12163-
	AlList:ClearAllChildren()
12163+
12164-
	AlList.CanvasSize = UDim2.new(0, 0, 0, 10)
12164+
12165-
	for i = 1, #aliasSave do
12165+
12166
intro.Name = "intro"
12167
intro.Parent = game.CoreGui
12168
Frame.Parent = intro
12169-
		newcmd.Parent = AlList
12169+
12170
Frame.BackgroundTransparency = 1
12171
Frame.BorderSizePixel = 0
12172-
		newcmd.Text = '    Command: ['..aliasSave[i].CMD..'] Alias: ['..aliasSave[i].ALIAS..']'
12172+
12173
Frame.Position = UDim2.new(0.5, -125, 0.5, -125)
12174-
		AlList.CanvasSize = UDim2.new(0,0,0, Position + 30)
12174+
12175
Circle.Name = "Circle"
12176
Circle.Parent = Frame
12177-
		delet.Parent = AlList
12177+
12178
Circle.BackgroundTransparency = 1
12179
Circle.BorderSizePixel = 0
12180
Circle.Position = UDim2.new(0.5, 0, 0.5, 0)
12181
Circle.Image = "rbxassetid://631172870"
12182
Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569)
12183
ImageLabel.Parent = Frame
12184
ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
12185
ImageLabel.BackgroundTransparency = 1
12186
ImageLabel.BorderSizePixel = 0
12187
ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
12188-
		execCmd("removealias "..aliasSave[i].ALIAS)
12188+
12189
Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.5, true, nil)
12190
local g = intro
12191
local f = Frame
12192
local imagef = Circle
12193
local logof = ImageLabel
12194-
aliasesopen = false
12194+
imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.5)
12195-
addcmd('aliases','displays aliases',{},
12195+
logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.5)
12196
repeat wait() until imagef.Size == UDim2.new(3,0,3,0) and logof.Size == UDim2.new(1,0,1,0)
12197
f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.5)
12198
repeat wait() until f.Size == UDim2.new(0,300,0,300)
12199-
if aliasesopen == false then
12199+
f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.5)
12200-
aliasesopen = true
12200+
repeat wait() until f.Size == UDim2.new(0,250,0,250)
12201-
local aliases = Instance.new("ScreenGui")
12201+
if workspace.FilteringEnabled == true then Notify('Filtering ENABLED') 
12202
elseif workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
12203
local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
12204
local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
12205-
AlList = Instance.new("ScrollingFrame")
12205+
12206
iy.BackgroundTransparency = 1 iy.Position = UDim2.new(0, 2, 0, -38) iy.Size = UDim2.new(0, 50, 0, 36) iy.AutoButtonColor = false sheild.Name = "sheild" sheild.Parent = iy sheild.BackgroundColor3 = Color3.new(1, 1, 1)
12207
sheild.BackgroundTransparency = 1 sheild.Size = UDim2.new(0, 320, 0, 35) cmds.Name = "cmds" cmds.Parent = sheild cmds.BackgroundTransparency = 1 cmds.Position = UDim2.new(0, 50, 0, 0) cmds.Size = UDim2.new(0, 80, 0, 36)
12208
cmds.AutoButtonColor = false cmds_2.Name = "cmds" cmds_2.Parent = cmds cmds_2.BackgroundColor3 = Color3.new(1, 1, 1) cmds_2.BackgroundTransparency = 1 cmds_2.Position = UDim2.new(0, 0, 0, -2)
12209-
aliases.Name = "Aliases"
12209+
12210-
aliases.Parent = game.CoreGui
12210+
12211
settings_2.Name = "settings" settings_2.Parent = settings settings_2.BackgroundColor3 = Color3.new(1, 1, 1) settings_2.BackgroundTransparency = 1 settings_2.Position = UDim2.new(0, 0, 0, -2)
12212-
drag.Parent = aliases
12212+
12213
settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0)
12214
updates.Size = UDim2.new(0, 60, 0, 36) updates.AutoButtonColor = false updates_2.Name = "updates" updates_2.Parent = updates updates_2.BackgroundColor3 = Color3.new(1, 1, 1) updates_2.BackgroundTransparency = 1
12215
updates_2.Position = UDim2.new(0, 0, 0, -2) updates_2.Size = UDim2.new(0, 60, 0, 40) updates_2.Font = Enum.Font.Arial updates_2.FontSize = Enum.FontSize.Size14
12216-
dragGUI(drag)
12216+
12217
info.Size = UDim2.new(0, 35, 0, 36) info.AutoButtonColor = false info_2.Name = "info" info_2.Parent = info info_2.BackgroundColor3 = Color3.new(1, 1, 1) info_2.BackgroundTransparency = 1 info_2.Position = UDim2.new(0, 0, 0, -2)
12218
info_2.Size = UDim2.new(0, 30, 0, 40) info_2.Font = Enum.Font.Arial info_2.FontSize = Enum.FontSize.Size14 info_2.Text = "Info" info_2.TextColor3 = Color3.new(1, 1, 1)
12219
mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0)
12220
mix.Size = UDim2.new(0, 35, 0, 36) mix.AutoButtonColor = false mix_2.Name = "mix" mix_2.Parent = mix mix_2.BackgroundColor3 = Color3.new(1, 1, 1) mix_2.BackgroundTransparency = 1 mix_2.Position = UDim2.new(0, 0, 0, -2)
12221
mix_2.Size = UDim2.new(0, 30, 0, 40) mix_2.Font = Enum.Font.Arial mix_2.FontSize = Enum.FontSize.Size14 mix_2.Text = "Color" mix_2.TextColor3 = Color3.new(1, 1, 1) mix_2.TextStrokeTransparency = 0.7
12222
lockic = Instance.new("ImageLabel")
12223
lockic.Name = "lock"
12224
lockic.Parent = iy
12225
lockic.BackgroundColor3 = Color3.new(1, 1, 1)
12226
lockic.BackgroundTransparency = 1
12227
lockic.ImageTransparency = 1
12228
lockic.BorderSizePixel = 0
12229
lockic.Position = UDim2.new(0, 53, 0, -3)
12230
lockic.Size = UDim2.new(0, 40, 0, 40)
12231
lockic.Image = "rbxassetid://1495252742"
12232
info_2.TextStrokeTransparency = 0.69999998807907 MAIN.Name = "MAIN" MAIN.Parent = iy MAIN.BackgroundColor3 = Color3.new(1, 1, 1) MAIN.BackgroundTransparency = 1 MAIN.Position = UDim2.new(0, 2, 0, -2)
12233
MAIN.Size = UDim2.new(0, 40, 0, 40) MAIN.Font = Enum.Font.ArialBold MAIN.FontSize = Enum.FontSize.Size24 MAIN.Text = "IY" MAIN.TextColor3 = Color3.new(1, 1, 1) MAIN.TextStrokeTransparency = 0.69999998807907
12234
Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy
12235
local TopBarContainer = Instance.new("Frame") TopBarContainer.Name = "TopBarContainer" TopBarContainer.Parent = game.CoreGui.RobloxGui TopBarContainer.Active = true TopBarContainer.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
12236-
AlList.Name = "List"
12236+
12237-
AlList.Parent = ContainerFrame
12237+
picker = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01333392047") picker.Parent = game.CoreGui picker.ColorPicker.Visible = false picker.ColorPicker.Position = UDim2.new(0.5, -219, 0, -500)
12238-
AlList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
12238+
12239-
AlList.BackgroundTransparency = 1
12239+
12240-
AlList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
12240+
12241-
AlList.BorderSizePixel = 0
12241+
12242-
AlList.Position = UDim2.new(0, 10, 0, 9)
12242+
12243-
AlList.Size = UDim2.new(0, 428, 0, 230)
12243+
12244-
AlList.ZIndex = 5
12244+
12245-
AlList.BottomImage = "rbxasset://textures/blackBkg_square.png"
12245+
12246-
AlList.CanvasSize = UDim2.new(0, 0, 0, 10)
12246+
12247-
AlList.MidImage = "rbxasset://textures/blackBkg_square.png"
12247+
12248-
AlList.ScrollBarThickness = 8
12248+
12249-
AlList.TopImage = "rbxasset://textures/blackBkg_square.png"
12249+
12250
		local colorStrip = pickerFrame.ColorStrip
12251
		local previewFrame = pickerFrame.Preview
12252
		local basicColorsFrame = pickerFrame.BasicColors
12253
		local customColorsFrame = pickerFrame.CustomColors
12254
		local okButton = pickerFrame.Ok
12255
		local cancelButton = pickerFrame.Cancel
12256
		local defaultButton = pickerFrame.Default
12257
12258
		local colorScope = colorSpace.Scope
12259
		local colorArrow = pickerFrame.ArrowFrame.Arrow
12260
12261
		local hueInput = pickerFrame.Hue.Input
12262
		local satInput = pickerFrame.Sat.Input
12263
		local valInput = pickerFrame.Val.Input
12264
12265
		local redInput = pickerFrame.Red.Input
12266
		local greenInput = pickerFrame.Green.Input
12267
		local blueInput = pickerFrame.Blue.Input
12268
12269
		local user = game:GetService("UserInputService")
12270
		local mouse = game:GetService("Players").LocalPlayer:GetMouse()
12271
12272
		local hue,sat,val = 0,0,1
12273
		local red,green,blue = 1,1,1
12274
		local chosenColor = Color3.new(0,0,0)
12275
12276-
PopupText.Text = "Aliases"
12276+
12277
		local customColors = {}
12278
12279
		local function updateColor(noupdate)
12280
			local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
12281-
updatealiases()
12281+
12282
	
12283
			if noupdate == 2 or not noupdate then
12284
				hueInput.Text = tostring(math.ceil(359*hue))
12285-
wait(0.6) aliasesopen = false aliases:Destroy() end) end end
12285+
12286
				valInput.Text = tostring(math.floor(255*val))
12287
			end
12288
			if noupdate == 1 or not noupdate then
12289
				redInput.Text = tostring(math.floor(255*red))
12290
				greenInput.Text = tostring(math.floor(255*green))
12291-
	for i,v in pairs(game:GetDescendants()) do
12291+
12292-
	if v:IsA'Sound'then v:Destroy() end end
12292+
12293
	
12294
			chosenColor = Color3.new(red,green,blue)
12295
	
12296
			colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
12297
			colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
12298
			colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
12299
			previewFrame.BackgroundColor3 = chosenColor
12300
			
12301
			newMt.Color = chosenColor
12302
			if newMt.Changed then newMt:Changed(chosenColor) end
12303
		end
12304
12305
		local function colorSpaceInput()
12306-
if GLS(false, 0) == "stop" or GLS(false, 0) == "off" then
12306+
12307-
Notify('Stopped audio')
12307+
12308-
for i,v in pairs(game:GetDescendants()) do
12308+
12309-
if v:IsA'Sound'then v:Destroy() end end
12309+
12310-
return
12310+
12311
				
12312-
Notify('Loading list...')
12312+
12313-
local Audios = Instance.new("ScreenGui")
12313+
12314
	
12315
			local hsvColor = Color3.fromHSV(hue,sat,val)
12316
			red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
12317-
local AudList = Instance.new("ScrollingFrame")
12317+
12318
			updateColor()
12319
		end
12320
12321
		local function colorStripInput()
12322-
Audios.Name = "Audios"
12322+
12323-
Audios.Parent = game.CoreGui
12323+
12324
			if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end	
12325-
drag.Parent = Audios
12325+
12326
			val = (199 - relativeY)/199
12327
	
12328
			local hsvColor = Color3.fromHSV(hue,sat,val)
12329-
dragGUI(drag)
12329+
12330
	
12331
			updateColor()
12332
		end
12333
12334
		local function hookButtons(frame,func)
12335
			frame.ArrowFrame.Up.InputBegan:Connect(function(input)
12336
				if input.UserInputType == Enum.UserInputType.MouseMovement then
12337
					frame.ArrowFrame.Up.BackgroundTransparency = 0.5
12338
				elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
12339
					local releaseEvent,runEvent
12340
			
12341
					local startTime = tick()
12342
					local pressing = true
12343
					local startNum = tonumber(frame.Text)
12344
			
12345
					if not startNum then return end
12346
			
12347
					releaseEvent = user.InputEnded:Connect(function(input)
12348
						if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
12349
						releaseEvent:Disconnect()
12350-
AudList.Name = "List"
12350+
12351-
AudList.Parent = ContainerFrame
12351+
12352-
AudList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
12352+
12353-
AudList.BackgroundTransparency = 1
12353+
12354-
AudList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
12354+
12355-
AudList.BorderSizePixel = 0
12355+
12356-
AudList.Position = UDim2.new(0, 10, 0, 9)
12356+
12357-
AudList.Size = UDim2.new(0, 428, 0, 230)
12357+
12358-
AudList.ZIndex = 5
12358+
12359-
AudList.BottomImage = "rbxasset://textures/blackBkg_square.png"
12359+
12360-
AudList.CanvasSize = UDim2.new(0, 0, 0, 10)
12360+
12361-
AudList.MidImage = "rbxasset://textures/blackBkg_square.png"
12361+
12362-
AudList.ScrollBarThickness = 8
12362+
12363-
AudList.TopImage = "rbxasset://textures/blackBkg_square.png"
12363+
12364
	
12365
			frame.ArrowFrame.Up.InputEnded:Connect(function(input)
12366
				if input.UserInputType == Enum.UserInputType.MouseMovement then
12367
					frame.ArrowFrame.Up.BackgroundTransparency = 1
12368
				end
12369
			end)
12370
	
12371
			frame.ArrowFrame.Down.InputBegan:Connect(function(input)
12372
				if input.UserInputType == Enum.UserInputType.MouseMovement then
12373
					frame.ArrowFrame.Down.BackgroundTransparency = 0.5
12374
				elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
12375
					local releaseEvent,runEvent
12376
			
12377
					local startTime = tick()
12378
					local pressing = true
12379
					local startNum = tonumber(frame.Text)
12380
			
12381
					if not startNum then return end
12382
			
12383
					releaseEvent = user.InputEnded:Connect(function(input)
12384
						if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
12385
						releaseEvent:Disconnect()
12386
						pressing = false
12387
					end)
12388
			
12389
					startNum = startNum - 1
12390-
PopupText.Text = GLS(false, 0).." [Audio]"
12390+
12391-
PopupText.TextScaled = true
12391+
12392
						if tick()-startTime > 0.3 then
12393
							startNum = startNum - 1
12394
							func(startNum)
12395-
PopupText.TextYAlignment = Enum.TextYAlignment.Center
12395+
12396
						wait(0.1)
12397
					end
12398
				end
12399
			end)
12400
	
12401
			frame.ArrowFrame.Down.InputEnded:Connect(function(input)
12402
				if input.UserInputType == Enum.UserInputType.MouseMovement then
12403
					frame.ArrowFrame.Down.BackgroundTransparency = 1
12404
				end
12405
			end)
12406-
local hidden = false
12406+
12407
12408
		colorSpace.InputBegan:Connect(function(input)
12409
			if input.UserInputType == Enum.UserInputType.MouseButton1 then
12410
				local releaseEvent,mouseEvent
12411
		
12412-
local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Audio&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true)
12412+
12413-
local results = HttpService:JSONDecode(json)
12413+
12414-
if #results == 0 then
12414+
12415-
Notify('No audio found :(')
12415+
12416-
Audios:Destroy()
12416+
12417-
return
12417+
12418
				mouseEvent = user.InputChanged:Connect(function(input)
12419-
for i,v in pairs(results) do
12419+
12420
						colorSpaceInput()
12421
					end
12422
				end)
12423-
		newcmd.Parent = AudList
12423+
12424
				colorSpaceInput()
12425
			end
12426-
		newcmd.Text = "    "..v.Name
12426+
12427
12428-
		AudList.CanvasSize = UDim2.new(0,0,0, Position + 30)
12428+
12429-
		local play = Instance.new("TextButton")
12429+
12430-
		play.Name = "play"
12430+
12431-
		play.Parent = AudList
12431+
12432-
		play.BackgroundColor3 = Color3.new(255, 255, 255)
12432+
12433-
		play.BackgroundTransparency = 0.30000001192093
12433+
12434-
		play.BorderColor3 = Color3.new(1, 0, 0)
12434+
12435-
		play.BorderSizePixel = 0
12435+
12436-
		play.Position = UDim2.new(0,-10,0, Position + 5)
12436+
12437-
		play.Size = UDim2.new(0, 20, 0, 20)
12437+
12438-
		play.FontSize = Enum.FontSize.Size14
12438+
12439-
		play.Text = ""
12439+
12440-
		play.ZIndex = 6
12440+
12441-
		play.MouseButton1Click:Connect(function()
12441+
12442-
		playerenabled = false
12442+
12443-
		for i,v in pairs(game:GetDescendants()) do
12443+
12444-
		if v:IsA'Sound'then v:Destroy() end end
12444+
12445
			end
12446-
		Notify('Playing: '..v.Name ..' ('..v.AssetId..')')
12446+
12447-
		local s = Instance.new("Sound", workspace)
12447+
12448-
		s.Name = "IYsound"
12448+
12449-
		s.Looped = true
12449+
12450-
		s.SoundId = "rbxassetid://" .. v.AssetId
12450+
12451-
  		s.Volume = 1
12451+
12452-
		s:Play()
12452+
12453
				red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
12454-
Notify('Select an audio to play')
12454+
12455
				updateColor(1)
12456
			end
12457
		end
12458-
wait(0.6) Audios:Destroy() end) end end
12458+
12459
12460
		local function updateSat(str)
12461-
function dragmodel(model, window, frame, name)
12461+
12462-
local Dragger = Instance.new("Dragger") local dragging = false local drag = model drag.Parent = workspace local parts = {}
12462+
12463-
drag:MakeJoints() drag.Name = name
12463+
12464-
local mouse = game:GetService("Players").LocalPlayer:GetMouse()
12464+
12465-
function collectParts(object, baseParts)
12465+
12466-
if object:IsA("BasePart") then
12466+
12467-
baseParts[#baseParts+1] = object end
12467+
12468-
for index,child in pairs(object:GetChildren()) do
12468+
12469-
collectParts(child, baseParts) end end
12469+
12470-
collectParts(drag, parts)
12470+
12471-
Dragger:MouseDown(parts[1], Vector3.new(0,0,0), parts)
12471+
12472-
dragging = true
12472+
12473-
mouse.Move:connect(function()
12473+
12474-
if dragging then
12474+
12475-
Dragger:MouseMove(mouse.UnitRay)
12475+
12476
				local hsvColor = Color3.fromHSV(hue,sat,val)
12477-
mouse.KeyDown:connect(function(Key)
12477+
12478-
if dragging then
12478+
12479-
if Key == "r" then
12479+
12480-
Dragger:AxisRotate("Y")
12480+
12481-
elseif Key == "t" then
12481+
12482-
Dragger:AxisRotate("X")
12482+
12483-
elseif Key == "e" then
12483+
12484-
if window == true then
12484+
12485-
frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil)
12485+
12486
			if num then
12487-
drag:Destroy()
12487+
12488-
dragging = false
12488+
12489-
Dragger:MouseUp()
12489+
12490
				redInput.Text = tostring(red*255)
12491-
mouse.Button1Down:connect(function()
12491+
12492-
if dragging then
12492+
12493-
if window == true then
12493+
12494-
frame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil)
12494+
12495
		
12496-
dragging = false
12496+
12497-
Dragger:MouseUp()
12497+
12498
			if num then
12499
				green = math.clamp(math.floor(num),0,255)/255
12500
				local newColor = Color3.new(red,green,blue)
12501
				hue,sat,val = Color3.toHSV(newColor)
12502
				greenInput.Text = tostring(green*255)
12503-
	local window = false
12503+
12504-
	local Asset = game:GetService("MarketplaceService"):GetProductInfo(args[1])
12504+
12505-
	dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. Asset.AssetId), window, nil, Asset.Name)
12505+
12506-
	Notify('Inserted ' .. Asset.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt')
12506+
12507
		
12508
		local function updateBlue(str)
12509-
Notify('Loading list...')
12509+
12510-
local Models = Instance.new("ScreenGui")
12510+
12511
				blue = math.clamp(math.floor(num),0,255)/255
12512
				local newColor = Color3.new(red,green,blue)
12513-
local ModelContainerFrame = Instance.new("Frame")
12513+
12514-
local ModList = Instance.new("ScrollingFrame")
12514+
12515
				updateColor(2)
12516
			end
12517
		end
12518
		blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
12519-
Models.Name = "Models"
12519+
12520-
Models.Parent = game.CoreGui
12520+
12521
		colorChoice.Name = "Choice"
12522-
drag.Parent = Models
12522+
12523
		colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
12524
		colorChoice.Text = ""
12525
		colorChoice.AutoButtonColor = false
12526-
dragGUI(drag)
12526+
12527
		local row = 0
12528
		local column = 0
12529
		for i,v in pairs(basicColors) do
12530
			local newColor = colorChoice:Clone()
12531
			newColor.BackgroundColor3 = v
12532
			newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
12533
			
12534
			newColor.MouseButton1Click:Connect(function()
12535
				red,green,blue = v.r,v.g,v.b
12536
				local newColor = Color3.new(red,green,blue)
12537
				hue,sat,val = Color3.toHSV(newColor)
12538-
ModelContainerFrame.Name = "ContainerFrame"
12538+
12539-
ModelContainerFrame.Parent = PromptDialog
12539+
12540-
ModelContainerFrame.BackgroundColor3 = maincolor
12540+
12541-
ModelContainerFrame.BackgroundTransparency = 0.5
12541+
12542-
ModelContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
12542+
12543-
ModelContainerFrame.BorderSizePixel = 0
12543+
12544-
ModelContainerFrame.Position = UDim2.new(0, 0, 0, 29)
12544+
12545-
ModelContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0)
12545+
12546-
ModelContainerFrame.ZIndex = 5
12546+
12547-
ModList.Name = "List"
12547+
12548-
ModList.Parent = ModelContainerFrame
12548+
12549-
ModList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
12549+
12550-
ModList.BackgroundTransparency = 1
12550+
12551-
ModList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
12551+
12552-
ModList.BorderSizePixel = 0
12552+
12553-
ModList.Position = UDim2.new(0, 10, 0, 9)
12553+
12554-
ModList.Size = UDim2.new(0, 428, 0, 230)
12554+
12555-
ModList.ZIndex = 5
12555+
12556-
ModList.BottomImage = "rbxasset://textures/blackBkg_square.png"
12556+
12557-
ModList.CanvasSize = UDim2.new(0, 0, 0, 10)
12557+
12558-
ModList.MidImage = "rbxasset://textures/blackBkg_square.png"
12558+
12559-
ModList.ScrollBarThickness = 8
12559+
12560-
ModList.TopImage = "rbxasset://textures/blackBkg_square.png"
12560+
12561
			newColor.MouseButton2Click:Connect(function()
12562
				customColors[i] = chosenColor
12563
				newColor.BackgroundColor3 = chosenColor
12564
			end)
12565
			
12566
			newColor.Parent = customColorsFrame
12567
			column = column + 1
12568
			if column == 6 then row = row + 1 column = 0 end
12569
		end
12570
		
12571
		pickerTopBar.InputBegan:Connect(function(input)
12572
			if input.UserInputType == Enum.UserInputType.MouseButton1 then
12573
				local releaseEvent,mouseEvent
12574
				local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y
12575
				
12576
				releaseEvent = user.InputEnded:Connect(function(input)
12577
					if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
12578
					releaseEvent:Disconnect()
12579
					mouseEvent:Disconnect()
12580
				end)
12581
				
12582
				mouseEvent = user.InputChanged:Connect(function(input)
12583
					if input.UserInputType == Enum.UserInputType.MouseMovement then
12584
						pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY)
12585
					end
12586
				end)
12587-
PopupText.Text = GLS(false, 0).." [Models]"
12587+
12588-
PopupText.TextScaled = true
12588+
12589
		
12590
		okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end)
12591
		okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end)
12592-
PopupText.TextYAlignment = Enum.TextYAlignment.Center
12592+
12593
		
12594
		cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end)
12595
		cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
12596
		cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
12597
		
12598
		defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end)
12599
		defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
12600
		defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
12601
		
12602
		updateColor()
12603-
local hidden = false
12603+
12604
		newMt.SetColor = function(self,color)
12605
			red,green,blue = color.r,color.g,color.b
12606-
ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil)
12606+
12607-
else ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false
12607+
12608
		end
12609-
local json = game:HttpGet("https://search.roblox.com/catalog/json?Category=Models&Keyword="..GLS(false, 0).."&ResultsPerPage=50", true)
12609+
12610-
local results = HttpService:JSONDecode(json)
12610+
12611-
if #results == 0 then
12611+
12612-
Notify('No models found :(')
12612+
12613-
Models:Destroy()
12613+
12614-
return
12614+
12615
picker.Changed = function(self,color) updatecolors(color) end
12616-
for i,v in pairs(results) do
12616+
12617-
		local YSize = 100
12617+
12618
colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end
12619
SAVEDCOLOR = Color3.new(colorR, colorG, colorB)
12620-
		newcmd.Parent = ModList
12620+
12621
local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui
12622-
		newcmd.Position = UDim2.new(0,5,0, Position + 40)
12622+
12623-
		newcmd.Text = "    "..v.Name
12623+
12624
suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182)
12625-
		ModList.CanvasSize = UDim2.new(0,0,0, Position + 100)
12625+
12626-
		local ins = Instance.new("TextButton")
12626+
12627-
		ins.Name = "ins"
12627+
12628-
		ins.Parent = ModList
12628+
12629-
		ins.BackgroundColor3 = Color3.new(255, 255, 255)
12629+
12630-
		ins.BackgroundTransparency = 0.30000001192093
12630+
12631-
		ins.BorderColor3 = Color3.new(1, 0, 0)
12631+
12632-
		ins.BorderSizePixel = 0
12632+
12633-
		ins.Position = UDim2.new(0,-10,0, Position + 40)
12633+
12634-
		ins.Size = UDim2.new(0, 20, 0, 20)
12634+
12635-
		ins.FontSize = Enum.FontSize.Size14
12635+
12636-
		ins.Text = ""
12636+
12637-
		ins.ZIndex = 6
12637+
12638-
		local img = Instance.new("ImageLabel")
12638+
12639-
		img.Parent = ModList
12639+
12640-
		img.Position = UDim2.new(0,300,0, Position + 5)
12640+
12641-
		img.Size = UDim2.new(0,100,0,100)
12641+
12642-
		img.ZIndex = 6
12642+
12643-
		img.BackgroundColor3 = Color3.new(255, 255, 255)
12643+
12644-
		img.BackgroundTransparency = 1
12644+
12645-
		img.Image = 'https://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId='..v.AssetId
12645+
12646-
		ins.MouseButton1Click:Connect(function()
12646+
12647-
		local window = true
12647+
12648-
		dragmodel(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. v.AssetId), window, ModelContainerFrame, v.Name)
12648+
12649-
		Notify('Inserted ' .. v.Name .. '. Click: place | E: Cancel | R: Rotate | T: tilt')
12649+
12650-
		ModelContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil)
12650+
12651
			SizeY = SizeY + v.AbsoluteSize.Y
12652-
Notify('Select a model to insert')
12652+
12653
IndexContents2('',true)
12654
game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
12655
Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(1)
12656-
wait(0.6) Models:Destroy() end) end end
12656+
12657
repeat wait() until logof.Size == UDim2.new(0,0,0,0)
12658
f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2)
12659
repeat wait() until f.Size == UDim2.new(0,0,0,0) g:Destroy() updatecolors(Color3.new(colorR, colorG, colorB))
12660
Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.5) Loading.Parent:Destroy()
12661
if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
12662
	gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
12663
function chatboxx() local chatbox = gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then
12664
if gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == cmdprefix then IndexContents2(gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) 
12665
else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx()
12666
gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
12667
if newbar:FindFirstChild('BoxFrame') then
12668
chatboxx() end end)
12669
coroutine.resume(coroutine.create(function()
12670
if script.ClassName == "LocalScript" then
12671
	game.StarterGui:SetCore("ChatMakeSystemMessage", {
12672
		Text = "The prefix is '" .. cmdprefix .. "'";
12673
		Color = Color3.new(255,255,255);
12674
		Font = Enum.Font.SourceSans;
12675
		FontSize = Enum.FontSize.Size24;
12676
	}) wait(0.5)
12677
	game.StarterGui:SetCore("ChatMakeSystemMessage", {
12678
		Text = "Click IY on the top left to see more options";
12679
		Color = Color3.new(255,255,255);
12680
		Font = Enum.Font.SourceSans;
12681
		FontSize = Enum.FontSize.Size24;
12682
}) end end))
12683
gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 99999999999999999999999999999999999999, 0, 0)
12684
else print('Custom chat detected. Will not provide suggestions for the chat.') end
12685
quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12686
quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12687
quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12688
quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12689
quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12690
qopen = false quickmenu.MouseButton1Click:connect(function()
12691
if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
12692
quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12693
quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12694
quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12695
quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide()
12696
quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12697
quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else
12698
quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12699
quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12700
quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12701
quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12702
quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
12703
if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end
12704
qopen = false if playerenabled == true then MusicPlayer:Show() else NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) end end end)
12705
quickmenu.sheild.cmds.MouseButton1Click:connect(function() runwindow() end)
12706
quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end)
12707
infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true
12708
Updates = Instance.new("ScreenGui")
12709
dragg = Instance.new("Frame")
12710
local PromptDialog = Instance.new("Frame")
12711
local ContainerFrame = Instance.new("Frame")
12712
local LOG = Instance.new("TextLabel")
12713
local PopupText3 = Instance.new("TextLabel")
12714
local PopupText4 = Instance.new("TextLabel")
12715
local UTDV = Instance.new("TextLabel")
12716
local PopupText5 = Instance.new("TextLabel")
12717
local shadow = Instance.new("Frame")
12718
Exitt = Instance.new("TextButton")
12719
local PopupText = Instance.new("TextLabel")
12720
local vers = Instance.new("TextLabel")
12721
Updates.Name = "Updates"
12722
Updates.Parent = game.CoreGui
12723
dragg.Name = "drag"
12724
dragg.Parent = Updates
12725
dragg.Active = true
12726
dragg.BackgroundColor3 = Color3.new(1, 1, 1)
12727
dragg.BackgroundTransparency = 1
12728
dragg.Draggable = true
12729
dragg.Position = UDim2.new(0.5, -225, 0, -600)
12730
dragg.Size = UDim2.new(0, 438, 0, 26)
12731
PromptDialog.Name = "PromptDialog"
12732
PromptDialog.Parent = dragg
12733
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
12734
PromptDialog.BackgroundTransparency = 1
12735
PromptDialog.BorderSizePixel = 0
12736
PromptDialog.Position = UDim2.new(0, 0, 0, -2)
12737
PromptDialog.Size = UDim2.new(0, 438, 0, 300)
12738
PromptDialog.ZIndex = 5
12739
ContainerFrame.Name = "ContainerFrame"
12740
ContainerFrame.Parent = PromptDialog
12741
ContainerFrame.BackgroundColor3 = maincolor
12742
ContainerFrame.BackgroundTransparency = 0.5
12743
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
12744
ContainerFrame.BorderSizePixel = 0
12745
ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
12746
ContainerFrame.Size = UDim2.new(1, 0, 1.15, 0) -- SIZE
12747
ContainerFrame.ZIndex = 5
12748
LOG.Name = "LOG"
12749
LOG.Parent = ContainerFrame
12750
LOG.BackgroundTransparency = 1
12751
LOG.Position = UDim2.new(0, 8, 0, 110)
12752
LOG.Size = UDim2.new(1, -16, 1, 0)
12753
LOG.ZIndex = 10
12754
LOG.Font = Enum.Font.SourceSansBold
12755
LOG.TextSize = 20
12756
LOG.Text = "+ Delay in loops: ;10^3^sparkles (gives you sparkles every 3 seconds 10 times)\n+ Breakloops will stop the above mentioned cmd loops\n+ Glass [plr]\n+ Playhash [hash]\n+ Bang [plr] [plr]\n+ Freecamspeed [num]\n\n* Updated feinvisible (works with r15)\n* Updated DEX\n* Skygif fixes"
12757
LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12758
LOG.TextStrokeTransparency = 0
12759
LOG.TextWrapped = true
12760
LOG.TextYAlignment = Enum.TextYAlignment.Top
12761
LOG.TextXAlignment = "Left"
12762
PopupText3.Name = "PopupText3"
12763
PopupText3.Parent = ContainerFrame
12764
PopupText3.BackgroundTransparency = 1
12765
PopupText3.Position = UDim2.new(0, 8, 0, 35)
12766
PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0)
12767
PopupText3.ZIndex = 10
12768
PopupText3.Font = Enum.Font.SourceSansBold
12769
PopupText3.TextSize = 20
12770
PopupText3.Text = "Edge#1934 - Moon#6245"
12771
PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12772
PopupText3.TextStrokeTransparency = 0
12773
PopupText3.TextWrapped = true
12774-
if cmdOpen == true then
12774+
12775
PopupText4.Name = "PopupText4"
12776
PopupText4.Parent = ContainerFrame
12777
PopupText4.BackgroundTransparency = 1
12778
PopupText4.Position = UDim2.new(0, 8, 0, 50)
12779
PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0)
12780-
commands() searchbar()
12780+
12781
PopupText4.Font = Enum.Font.SourceSansBold
12782
PopupText4.FontSize = Enum.FontSize.Size18
12783
PopupText4.Text = "infyield.weebly.com - discord.gg/wnuFVe2"
12784
PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12785
PopupText4.TextStrokeTransparency = 0
12786
PopupText4.TextWrapped = true
12787
PopupText4.TextYAlignment = Enum.TextYAlignment.Top
12788
UTDV.Name = "UTDV"
12789
UTDV.Parent = ContainerFrame
12790
UTDV.BackgroundTransparency = 1
12791
UTDV.Position = UDim2.new(0, 8, 0, 5)
12792
UTDV.Size = UDim2.new(1, -16, 0.100000001, 0)
12793
UTDV.ZIndex = 10
12794
UTDV.Font = Enum.Font.SourceSansBold
12795
UTDV.FontSize = Enum.FontSize.Size28
12796
UTDV.Text = "Up to date version: N/A"
12797
UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12798
UTDV.TextStrokeTransparency = 0
12799
UTDV.TextWrapped = true
12800
UTDV.TextYAlignment = Enum.TextYAlignment.Top
12801
PopupText5.Name = "PopupText5"
12802
PopupText5.Parent = ContainerFrame
12803
PopupText5.BackgroundTransparency = 1
12804
PopupText5.Position = UDim2.new(0, 8, 0, 75)
12805
PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0)
12806
PopupText5.ZIndex = 10
12807
PopupText5.Font = Enum.Font.SourceSansBold
12808
PopupText5.FontSize = Enum.FontSize.Size28
12809
PopupText5.Text = "Update Log:"
12810
PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12811
PopupText5.TextStrokeTransparency = 0
12812
PopupText5.TextWrapped = true
12813
PopupText5.TextYAlignment = Enum.TextYAlignment.Top
12814
shadow.Name = "shadow"
12815
shadow.Parent = PromptDialog
12816
shadow.BackgroundColor3 = maincolor
12817
shadow.BackgroundTransparency = 0.30000001192093
12818
shadow.BorderColor3 = Color3.new(0, 0, 0)
12819
shadow.BorderSizePixel = 0
12820
shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
12821
shadow.Size = UDim2.new(0, 438, 0, 26)
12822
Exitt.Name = "Exit"
12823
Exitt.Parent = shadow
12824
Exitt.BackgroundColor3 = Color3.new(1, 0, 0)
12825
Exitt.BackgroundTransparency = 0.30000001192093
12826
Exitt.BorderColor3 = Color3.new(1, 0, 0)
12827
Exitt.BorderSizePixel = 0
12828
Exitt.Position = UDim2.new(0, 415, 0, 3)
12829
Exitt.Size = UDim2.new(0, 20, 0, 20)
12830
Exitt.FontSize = Enum.FontSize.Size14
12831
Exitt.Text = ""
12832
PopupText.Name = "PopupText"
12833
PopupText.Parent = shadow
12834
PopupText.BackgroundTransparency = 1
12835
PopupText.Position = UDim2.new(0, 61, 0, -2)
12836
PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
12837
PopupText.ZIndex = 110
12838
PopupText.Font = Enum.Font.SourceSansBold
12839
PopupText.TextSize = 30
12840
PopupText.Text = "Information"
12841
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12842
PopupText.TextStrokeTransparency = 0
12843
PopupText.TextWrapped = true
12844
PopupText.TextYAlignment = Enum.TextYAlignment.Top
12845
vers.Name = "vers"
12846
vers.Parent = shadow
12847
vers.BackgroundTransparency = 1
12848
vers.Position = UDim2.new(0, 8, 0, 2)
12849
vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0)
12850
vers.ZIndex = 110
12851
vers.Font = Enum.Font.SourceSansBold
12852
vers.TextSize = 20
12853
vers.Text = "v" .. Version
12854
vers.TextColor3 = Color3.new(0.97, 0.97, 0.97)
12855
vers.TextStrokeTransparency = 0
12856
vers.TextWrapped = true
12857
vers.TextXAlignment = Enum.TextXAlignment.Left
12858
vers.TextYAlignment = Enum.TextYAlignment.Top
12859
if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end
12860
dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function()
12861
dragg:TweenPosition(UDim2.new(0.5, -225, 0, -600), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end)
12862
quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end
12863
12864-
if aliasSave then
12864+
12865-
for i = 1, #aliasSave do
12865+
12866-
execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS)
12866+
12867-
end else
12867+
12868-
aliasSave = {} wait(0.1) updatefile()
12868+
12869-
for i = 1, #aliasSave do
12869+
12870-
execCmd("877241loadalias "..aliasSave[i].CMD.." "..aliasSave[i].ALIAS)
12870+
12871
Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true
12872
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
12873
PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow"
12874
shadow.Parent = PromptDialog shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Size = UDim2.new(1, 0, 0.129999995, 0) shadow.ZIndex = 100
12875
shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093
12876
Exit.BorderColor3 = Color3.new(1, 0, 0) Exit.Position = UDim2.new(0, 401, 0, 1) Exit.Size = UDim2.new(0, 20, 0, 20) Exit.ZIndex = 110 Exit.FontSize = Enum.FontSize.Size14
12877
Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4)
12878
title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30
12879
title.Text = Asset.Name .. " is available" title.TextColor3 = Color3.new(0.97, 0.97, 0.97) title.TextStrokeTransparency = 0 title.TextWrapped = true title.TextYAlignment = Enum.TextYAlignment.Top
12880
ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31)
12881
ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame
12882
a.BackgroundTransparency = 1 a.Position = UDim2.new(0, 8, 0, 50) a.Size = UDim2.new(1, -16, 0.100000001, 0) a.ZIndex = 10 a.Font = Enum.Font.SourceSansBold
12883
a.FontSize = Enum.FontSize.Size18 a.Text = "infyield.weebly.com - discord.gg/wnuFVe2" a.TextColor3 = Color3.new(0.97, 0.97, 0.97) a.TextStrokeTransparency = 0
12884
a.TextWrapped = true a.TextYAlignment = Enum.TextYAlignment.Top a2.Name = "a2" a2.Parent = ContainerFrame a2.BackgroundTransparency = 1 a2.Position = UDim2.new(0, 8, 0, 5)
12885
a2.Size = UDim2.new(1, -16, 0.300000012, 0) a2.ZIndex = 10 a2.Font = Enum.Font.SourceSansBold a2.TextSize = 20 a2.Text = "The version of Infinite Yield you are using is outdated."
12886
a2.TextColor3 = Color3.new(0.97, 0.97, 0.97) a2.TextStrokeTransparency = 0 a2.TextWrapped = true a2.TextYAlignment = Enum.TextYAlignment.Top a3.Name = "a3" a3.Parent = ContainerFrame
12887
a3.BackgroundTransparency = 1 a3.Position = UDim2.new(0, 8, 0, 25) a3.Size = UDim2.new(1, -16, 0.300000012, 0) a3.ZIndex = 10 a3.Font = Enum.Font.SourceSansBold
12888
a3.TextSize = 20 a3.Text = "You can get a new version at one of these 2 sources." a3.TextColor3 = Color3.new(0.97, 0.97, 0.97) a3.TextStrokeTransparency = 0
12889
a3.TextWrapped = true a3.TextYAlignment = Enum.TextYAlignment.Top a2_2.Name = "a2" a2_2.Parent = ContainerFrame a2_2.BackgroundTransparency = 1 a2_2.Position = UDim2.new(0, 8, 0, 92)
12890
a2_2.Size = UDim2.new(1, -16, 0.300000012, 0) a2_2.ZIndex = 10 a2_2.Font = Enum.Font.SourceSansBold a2_2.FontSize = Enum.FontSize.Size24 a2_2.Text = "If your exploit supports httpget, you can update now by clicking 'Update'"
12891
a2_2.TextColor3 = Color3.new(0.97, 0.97, 0.97) a2_2.TextStrokeTransparency = 0 a2_2.TextWrapped = true a2_2.TextYAlignment = Enum.TextYAlignment.Top UPDATE.Name = "UPDATE"
12892
UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1)
12893
UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans
12894
UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog
12895
Line.BackgroundColor3 = Color3.new(0, 0, 0) Line.BackgroundTransparency = 0.5 Line.BorderColor3 = Color3.new(0, 0, 0) Line.Position = UDim2.new(0, 16, 0, 121)
12896
Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse)
12897
PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
12898
PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
12899
Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse)
12900
PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
12901
PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
12902
Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end 
12903
else print('Infinite Yield is already running.') end