daily pastebin goal
67%
SHARE
TWEET

Untitled

FutureIswap Aug 19th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ClickForAdminGui = Instance.new("ScreenGui")
  2. local AdminGui = Instance.new("Frame")
  3. local title = Instance.new("TextLabel")
  4. local ClickMe = Instance.new("TextButton")
  5.  
  6. ClickForAdminGui.Name = "ClickForAdminGui"
  7. ClickForAdminGui.Parent = game.CoreGui
  8.  
  9. AdminGui.Name = "AdminGui"
  10. AdminGui.Parent = ClickForAdminGui
  11. AdminGui.BackgroundColor3 = Color3.new(1, 1, 1)
  12. AdminGui.BorderSizePixel = 0
  13. AdminGui.Position = UDim2.new(0.0242187493, 0, 0.158953726, 0)
  14. AdminGui.Size = UDim2.new(0, 218, 0, 112)
  15. AdminGui.Style = Enum.FrameStyle.DropShadow
  16.  
  17. title.Name = "title"
  18. title.Parent = AdminGui
  19. title.BackgroundColor3 = Color3.new(0, 0, 0)
  20. title.BorderSizePixel = 0
  21. title.Position = UDim2.new(-0.0183486231, 0, -0.0803571418, 0)
  22. title.Size = UDim2.new(0, 209, 0, 32)
  23. title.Font = Enum.Font.SciFi
  24. title.Text = "Click Down Below For Admin!"
  25. title.TextColor3 = Color3.new(1, 1, 1)
  26. title.TextSize = 14
  27.  
  28. ClickMe.Name = "ClickMe"
  29. ClickMe.Parent = AdminGui
  30. ClickMe.BackgroundColor3 = Color3.new(0, 0, 0)
  31. ClickMe.BorderSizePixel = 0
  32. ClickMe.Position = UDim2.new(0.146788985, 0, 0.348214269, 0)
  33. ClickMe.Size = UDim2.new(0, 139, 0, 50)
  34. ClickMe.Font = Enum.Font.SciFi
  35. ClickMe.Text = "Click Me For Admin!"
  36. ClickMe.TextColor3 = Color3.new(1, 1, 1)
  37. ClickMe.TextSize = 14
  38. ClickMe.MouseButton1Down:connect(function()
  39. local Version = '9.5.3'
  40. HttpService = game:GetService("HttpService")
  41. SAVEFILE = {
  42.     colorR = 0.121569;
  43.     colorG = 0.121569;
  44.     colorB = 0.121569;
  45.     cmdprefix = ';';
  46.     suggestionstoggle = true;
  47.     allowfriends = true;
  48.     JLnotify = true;
  49.     Mseconds = '7';
  50.     Nfriends = true;
  51.     cmdbarbind = ';';
  52.     chatsV = false;
  53.     whispersV = false;
  54.     commandsV = false;
  55.     aliasSave = {}
  56. }
  57. defaults = HttpService:JSONEncode(SAVEFILE)
  58.  
  59. function writefileExploit() if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then return true end end
  60.  
  61. loaded = false
  62. function run()
  63. local function writeF()
  64. writefile("Admin.txt", defaults)
  65. wait(1)
  66. local newjson = readfile("Admin.txt")
  67. local CREATEFILE = HttpService:JSONDecode(newjson)
  68. colorR = CREATEFILE.colorR
  69. colorG = CREATEFILE.colorG
  70. colorB = CREATEFILE.colorB
  71. cmdprefix = CREATEFILE.cmdprefix
  72. suggestionstoggle = CREATEFILE.suggestionstoggle
  73. allowfriends = CREATEFILE.allowfriends
  74. JLnotify = CREATEFILE.JLnotify
  75. Mseconds = CREATEFILE.Mseconds
  76. Nfriends = CREATEFILE.Nfriends
  77. cmdbarbind = CREATEFILE.cmdbarbind
  78. chatsV = CREATEFILE.chatsV
  79. whispersV = CREATEFILE.whispersV
  80. commandsV = CREATEFILE.commandsV
  81. aliasSave = CREATEFILE.aliasSave
  82. loaded = true end
  83. function pcWRITE()
  84. local file, err = pcall(writeF)
  85. if not file then
  86. warn("READ/WRITE ERROR: "..err)
  87. R_W = game:GetObjects("rbxassetid://01587976911")[1] R_W.Parent = game.CoreGui
  88. function Click(mouse) R_W:Destroy()
  89. for _, child in pairs(game.CoreGui:GetChildren()) do
  90. if child.Name == "Adminrun" then
  91. child:Destroy() end end end
  92. R_W.drag.PromptDialog.shadow.Exit.MouseButton1Down:connect(Click) end end
  93. if writefileExploit() then
  94. local function sfile()
  95. local checktxt = readfile("Admin.txt")
  96. if checktxt == nil then pcWRITE() writeF()
  97. else return end end
  98. local success, message2 = pcall(sfile)
  99. if success then
  100. local json = readfile("Admin.txt")
  101. local LOADFILE = HttpService:JSONDecode(json)
  102. colorR = LOADFILE.colorR
  103. colorG = LOADFILE.colorG
  104. colorB = LOADFILE.colorB
  105. cmdprefix = LOADFILE.cmdprefix
  106. suggestionstoggle = LOADFILE.suggestionstoggle
  107. allowfriends = LOADFILE.allowfriends
  108. JLnotify = LOADFILE.JLnotify
  109. Mseconds = LOADFILE.Mseconds
  110. Nfriends = LOADFILE.Nfriends
  111. cmdbarbind = LOADFILE.cmdbarbind
  112. chatsV = LOADFILE.chatsV
  113. whispersV = LOADFILE.whispersV
  114. commandsV = LOADFILE.commandsV
  115. aliasSave = LOADFILE.aliasSave
  116. loaded = true else
  117. pcWRITE() writeF() end
  118. else
  119.     colorR = 0.121569
  120.     colorG = 0.121569
  121.     colorB = 0.121569
  122.     cmdprefix = ';'
  123.     suggestionstoggle = true
  124.     allowfriends = true
  125.     JLnotify = true
  126.     Mseconds = '7'
  127.     Nfriends = true
  128.     cmdbarbind = ';'
  129.     chatsV = false
  130.     whispersV = false
  131.     commandsV = false
  132.     aliasSave = {}
  133.     loaded = true
  134. end
  135. repeat wait() until loaded == true
  136. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer
  137. 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={}
  138. local std={} local loopkillT = {} local rainbowT = {} local disabletoolsT = {} local banT = {} local adminT = {} function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end
  139. services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\'
  140. local split=" " slock = false
  141. function updatefile()
  142. if writefileExploit() then
  143. local update = {
  144.     colorR = colorR;
  145.     colorG = colorG;
  146.     colorB = colorB;
  147.     cmdprefix = cmdprefix;
  148.     suggestionstoggle = suggestionstoggle;
  149.     allowfriends = allowfriends;
  150.     JLnotify = JLnotify;
  151.     Mseconds = Mseconds;
  152.     Nfriends = Nfriends;
  153.     cmdbarbind = cmdbarbind;
  154.     chatsV = chatsV;
  155.     whispersV = whispersV;
  156.     commandsV = commandsV;
  157.     aliasSave = aliasSave
  158. }
  159. local updated = HttpService:JSONEncode(update)
  160. wait(0.1)
  161. writefile("Admin.txt", updated) end end
  162. function isNumber(str)
  163. return tonumber(str) ~= nil end
  164. function msghook()
  165. for _, child in pairs( workspace:GetChildren()) do
  166. if MSGhook == false and child.ClassName == "Message" and child.Name ~= "Adminmessage" then
  167. child.Name = "Adminmessage" child.Text = '' MSGhook = true end end
  168. if workspace:FindFirstChild("Adminmessage") then MSGhook = true
  169. else MSGhook = false end end
  170. game:GetService("RunService").RenderStepped:Connect(function()
  171. game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
  172. if r15noclip then
  173. if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end
  174. if LP.Character and LP.Character:FindFirstChild('Humanoid') then
  175.     LP.Character.Humanoid.Died:connect(function() FLYING = false end)
  176. if MSGhook == true and workspace:FindFirstChild("Adminmessage") then
  177.     if workspace.Adminmessage.Text == '' then
  178.     for _, child in pairs( LightingService:GetChildren()) do
  179.         if child.Name == "Adminmblur" then
  180.         child:Destroy() end end end
  181.     else MSGhook = false end
  182.     for i,v in pairs(_players:GetPlayers()) do
  183.         if FindTable(loopkillT, v.Name) then
  184.         v.Character:BreakJoints() end
  185.         if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then
  186.         v.Backpack:Destroy()
  187.         for i,n in pairs(v.Character:GetChildren()) do
  188.             if n:IsA('Tool') or n:IsA('HopperBin') then
  189.                 n:destroy() end end end
  190.         if FindTable(rainbowT, v.Name) then
  191.             v.Neutral = false
  192.             v.TeamColor = BrickColor.random()
  193. end end end end)
  194. LightingService = game:GetService("Lighting")
  195. origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  196. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
  197. function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
  198. function FindTable(Table, Name)
  199.     for i,v in pairs(Table) do
  200.         if v == Name then
  201.             return true
  202.         end end
  203.     return false
  204. end
  205. function GetInTable(Table, Name)
  206.     for i = 1, #Table do
  207.         if Table[i] == Name then
  208.             return i
  209.         end end
  210. return false end
  211. _players.PlayerRemoving:connect(function(player)
  212. for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end
  213. for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end
  214. if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
  215.             game:FindService('StarterGui'):SetCore('SendNotification', {
  216.                 Title = player.Name,
  217.                 Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
  218.                 Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  219.                 Duration = 5,
  220.             })
  221. elseif JLnotify == true and Nfriends == false then
  222.             game:FindService('StarterGui'):SetCore('SendNotification', {
  223.                 Title = player.Name,
  224.                 Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
  225.                 Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  226.                 Duration = 5,
  227.             })
  228. end
  229. end)       
  230. FLYING = false
  231. Adminflyspeed = 1
  232. function sFLY() -- from rocky2u cmdscript
  233.     repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  234.     repeat wait() until Mouse
  235.    
  236.     local T = LP.Character.HumanoidRootPart
  237.     local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  238.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  239.     local SPEED = 0
  240.    
  241.     local function FLY()
  242.         FLYING = true
  243.         local BG = Instance.new('BodyGyro', T)
  244.         local BV = Instance.new('BodyVelocity', T)
  245.         BG.P = 9e4
  246.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  247.         BG.cframe = T.CFrame
  248.         BV.velocity = Vector3.new(0, 0.1, 0)
  249.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  250.         spawn(function()
  251.         repeat wait()
  252.         LP.Character.Humanoid.PlatformStand = true
  253.         if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  254.         SPEED = 50
  255.         elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  256.         SPEED = 0
  257.         end
  258. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  259. 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
  260. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  261. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  262. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  263. else
  264. BV.velocity = Vector3.new(0, 0.1, 0)
  265. end
  266.     BG.cframe = workspace.CurrentCamera.CoordinateFrame
  267.             until not FLYING
  268.             CONTROL = {F = 0, B = 0, L = 0, R = 0}
  269.             lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  270.             SPEED = 0
  271.             BG:destroy()
  272.             BV:destroy()
  273.             LP.Character.Humanoid.PlatformStand = false
  274.         end)
  275.     end
  276.     Mouse.KeyDown:connect(function(KEY)
  277.         if KEY:lower() == 'w' then
  278.             CONTROL.F = Adminflyspeed
  279.         elseif KEY:lower() == 's' then
  280.             CONTROL.B = -Adminflyspeed
  281.         elseif KEY:lower() == 'a' then
  282.             CONTROL.L = -Adminflyspeed
  283.         elseif KEY:lower() == 'd' then
  284.             CONTROL.R = Adminflyspeed
  285.         end
  286.     end)
  287.     Mouse.KeyUp:connect(function(KEY)
  288.         if KEY:lower() == 'w' then
  289.             CONTROL.F = 0
  290.         elseif KEY:lower() == 's' then
  291.             CONTROL.B = 0
  292.         elseif KEY:lower() == 'a' then
  293.             CONTROL.L = 0
  294.         elseif KEY:lower() == 'd' then
  295.             CONTROL.R = 0
  296.         end
  297.     end)
  298.     FLY()
  299. end
  300. function NOFLY()
  301.     FLYING = false
  302.     LP.Character.Humanoid.PlatformStand = false
  303. end
  304. HK = {
  305.     '-HOTKEYS-',
  306.     'HOLD F2 - Click TP',
  307.     'F4 - Toggle Fly',
  308.     'F5 - Toggle Noclip',
  309.     '-COMMANDS-'
  310. }
  311. CMDs = {
  312.     'addalias [cmd] [alias]',
  313.     'addstat [plr] [text]',
  314.     'admins',
  315.     'admin [plr]',
  316.     'agelock [age num]',
  317.     'addban [full username]',
  318.     'age [plr]',
  319.     'aliases',
  320.     'alien / ayylmao [plr]',
  321.     'ambient [R G B]',
  322.     'anchor',
  323.     'animation [plr] [anim]',
  324.     'arrest [plr]',
  325.     'bait',
  326.     'ball [plr]',
  327.     'bang [plr] [plr] / bang [plr]',
  328.     'bans',
  329.     'ban [plr]',
  330.     'base',
  331.     'begone / thot [plr]',
  332.     'bgui [plr] [text]',
  333.     'blackandwhite',
  334.     'bleach [plr]',
  335.     'blackify [plr]',
  336.     'blind [plr]',
  337.     'blur [num]',
  338.     'bomb [plr]',
  339.     'box [plr]',
  340.     'breakloops/break (cmd loops)',
  341.     'brightness [num]',
  342.     'bring [plr]',
  343.     'btools [plr]',
  344.     'burn [plr]',
  345.     'cape [plr] [R G B]',
  346.     'car [plr]',
  347.     'change [plr] [stat] [num]',
  348.     'charplr / cp [plr] [plr]',
  349.     'char [plr] [ID]',
  350.     'chat [plr] [msg]',
  351.     'chickenarms / chicken [plr]',
  352.     'clear',
  353.     'clip',
  354.     'clone [plr]',
  355.     'clraliases',
  356.     'clrbans',
  357.     'clrterrain',
  358.     'cmds',
  359.     'confuse [plr]',
  360.     'control [plr]',
  361.     'copytools / ctools [plr]',
  362.     'countdown [num]',
  363.     'crash [plr]',
  364.     'creeper [plr]',
  365.     'cripple [plr]',
  366.     'crucify [plr]',
  367.     'damage [plr]',
  368.     'dance [plr]',
  369.     'day',
  370.     'decalspam [ID]',
  371.     'deleteclass / dc [class name]',
  372.     'deletepos / dpos [name]',
  373.     'delete [part name]',
  374.     'devuzi',
  375.     'disablereset [plr]',
  376.     'disabletools [plr]',
  377.     'disable [plr]',
  378.     'disco',
  379.     'discomesh [plr]',
  380.     'distortsound / distort [num]',
  381.     'dog [plr]',
  382.     'dong [plr]',
  383.     'draw',
  384.     'duck [plr]',
  385.     'dummy [name]',
  386.     'earthquake [power] [intensity]',
  387.     'enablereset [plr]',
  388.     'enabletools [plr]',
  389.     'enable [plr]',
  390.     'esp [plr]',
  391.     'exit',
  392.     'explode [plr]',
  393.     'explorer / dex',
  394.     'f3x',
  395.     'face [plr] [ID]',
  396.     'fart [plr]',
  397.     'fat [plr]',
  398.     'fegod',
  399.     'feinvisible / feinvis',
  400.     'fekill [plr] (need a tool)',
  401.     'ff [plr]',
  402.     'filtering',
  403.     'fire [plr] [R G B]',
  404.     'firstp [plr]',
  405.     'fix',
  406.     'fixcam',
  407.     'fixlighting / fixl',
  408.     'flashlight [plr]',
  409.     'fling [plr]',
  410.     'float [plr]',
  411.     'flood',
  412.     'fly',
  413.     'flyspeed [num]',
  414.     'fogcolor [R G B]',
  415.     'fogend [num]',
  416.     'freecam / fc',
  417.     'freecamspeed / fcspeed [num]',
  418.     'freeze / fr [plr]',
  419.     'ghost [plr]',
  420.     'glass [plr]',
  421.     'globalshadows / gshadows',
  422.     'glowstick [plr] [R G B]',
  423.     'god [plr]',
  424.     'goto [plr]',
  425.     'gravity [num]',
  426.     'hang [plr]',
  427.     'hatsize [plr] [num]',
  428.     'hat [plr] [ID]',
  429.     'headshake [plr]',
  430.     'headsize [plr] [num]',
  431.     'heal [plr]',
  432.     'hidename [plr]',
  433.     'hideplaylist / hideplayer',
  434.     'hipheight / hheight [plr] [num]',
  435.     'hub',
  436.     'infect [plr]',
  437.     'insert [ID/name]',
  438.     'invert',
  439.     'invisible / invis [plr]',
  440.     'invisibleff / invisff [plr]',
  441.     'Adminspam',
  442.     'jail [plr]',
  443.     'jumppower / jpower [plr] [num]',
  444.     'jump [plr]',
  445.     'keeptools / ktools [plr]',
  446.     'keybind [key] [cmd]',
  447.     'kick [plr]',
  448.     'kidnap [plr]',
  449.     'kill [plr]',
  450.     'knife',
  451.     'knuckles [plr]',
  452.     'light [plr] [R G B]',
  453.     'loadm',
  454.     'loadmap [ID]',
  455.     'loadpos / lpos [plr] [name]',
  456.     'lockws',
  457.     'lock [plr]',
  458.     'logs',
  459.     'longneck [plr]',
  460.     'loopbring [plr]',
  461.     'loopheal [plr]',
  462.     'loopjump / ljump [plr]',
  463.     'loopkill [plr]',
  464.     'loopname / lname [plr]',
  465.     'loopoof',
  466.     'loopsit / lsit [plr]',
  467.     'mage',
  468.     'maxhealth [plr] [num]',
  469.     'maxzoom [plr] [num]',
  470.     'mesh [plr] [mesh] [texture]',
  471.     'message / m [msg]',
  472.     'meteor/asteroid [plr]',
  473.     'naked [plr]',
  474.     'name [plr]',
  475.     'neon [plr]',
  476.     'nextsong',
  477.     'night',
  478.     'nil [plr]',
  479.     'noarms [plr]',
  480.     'nobox [plr]',
  481.     'noclip',
  482.     'noclones [plr]',
  483.     'nodong [plr]',
  484.     'nodummies',
  485.     'noesp [plr]',
  486.     'noglobalshadows / nogshadows',
  487.     'nokeeptools / noktools [plr]',
  488.     'nolimbs [plr]',
  489.     'nooutlines',
  490.     'noparticles [plr]',
  491.     'noplrsound [plr]',
  492.     'norain',
  493.     'notools [plr]',
  494.     'nuke [plr]',
  495.     'os [plr]',
  496.     'offset [plr] [coordinate]',
  497.     'outlines',
  498.     'paper [plr]',
  499.     'partdisco',
  500.     'particles [plr] [ID]',
  501.     'pipetp [plr] [plr]',
  502.     'pitch [num]',
  503.     'playhash / hash [hash]',
  504.     'playlist / player [ID],[ID]...',
  505.     'plrsound [plr] [ID]',
  506.     'positions / pos',
  507.     'prefix [string]',
  508.     'prevsong',
  509.     'punish [plr]',
  510.     'rainbowname [plr]',
  511.     'rainbow [plr]',
  512.     'rain [mesh] [texture]',
  513.     'refresh / re [plr]',
  514.     'rejoin',
  515.     'remotespy',
  516.     'removealias [alias]',
  517.     'removebait / nobait',
  518.     'rgui',
  519.     'removehats / rhats [plr]',
  520.     'removespawns',
  521.     'respawn [plr]',
  522.     'restoremap / rmap',
  523.     'rocket [plr]',
  524.     'savelighting / slighting',
  525.     'savemap / smap',
  526.     'savepos / spos [name]',
  527.     'script [script]',
  528.     'seagull / gull [plr]',
  529.     'seizure [plr]',
  530.     'serverinfo / info',
  531.     'serverlock / slock',
  532.     'servermessage / sm [msg]',
  533.     'sethealth [plr] [num]',
  534.     'setsong [num]',
  535.     'settings',
  536.     'sgod [plr]',
  537.     'shiny [plr]',
  538.     'shrek [plr]',
  539.     'shutdown',
  540.     'sit [plr]',
  541.     'size [plr] [num]',
  542.     'skydive [plr]',
  543.     'skygif [ID],[ID]... [interval]',
  544.     'sky [ID]',
  545.     'smite [plr]',
  546.     'smoke [plr]',
  547.     'sound / music [ID/name]',
  548.     'sparkles / sp [plr] [R G B]',
  549.     'spasm [plr]',
  550.     'spawnpoint [plr]',
  551.     'spectate / view [plr]',
  552.     'speed / ws [plr] [num]',
  553.     'sphere [plr]',
  554.     'spin [plr]',
  555.     'spookyify',
  556.     'starman [plr]',
  557.     'strength [plr]',
  558.     'strobe',
  559.     'stun [plr]',
  560.     'sun [intense] [spread]',
  561.     'sword [plr]',
  562.     'tablet',
  563.     'team [plr] [team]',
  564.     'terrain',
  565.     'thaw / unfr [plr]',
  566.     'thirdp [plr]',
  567.     'time [num]',
  568.     'tools [plr]',
  569.     'torso [plr]',
  570.     'tppos [plr] [coordinate]',
  571.     'tp [plr] [plr]',
  572.     'trail [plr] [R G B]',
  573.     'trip [plr]',
  574.     'unadmin [plr]',
  575.     'unagelock',
  576.     'unanchor',
  577.     'unball [plr]',
  578.     'unban [plr]',
  579.     'unbgui [plr]',
  580.     'unblind [plr]',
  581.     'unblur',
  582.     'uncape [plr]',
  583.     'uncar [plr]',
  584.     'unchar [plr]',
  585.     'unconfuse [plr]',
  586.     'uncreeper [plr]',
  587.     'uncripple [plr]',
  588.     'undecalspam',
  589.     'undisco',
  590.     'undog [plr]',
  591.     'unduck [plr]',
  592.     'unff [plr]',
  593.     'unfire [plr]',
  594.     'unfloat [plr]',
  595.     'unfly',
  596.     'unfreecam / unfc',
  597.     'unghost [plr]',
  598.     'ungod [plr]',
  599.     'unhidename [plr]',
  600.     'uninfect [plr]',
  601.     'unjail [plr]',
  602.     'unkeybind [key]',
  603.     'unlight [plr]',
  604.     'unlockws',
  605.     'unlock [plr]',
  606.     'unlongneck [plr]',
  607.     'unloopbring [plr]',
  608.     'unloopheal [plr]',
  609.     'unloopjump / unljump [plr]',
  610.     'unloopkill [plr]',
  611.     'unloopname / unlname [plr]',
  612.     'unloopoof',
  613.     'unloopsit / unlsit [plr]',
  614.     'unname [plr]',
  615.     'unpartdisco',
  616.     'unpunish [plr]',
  617.     'unrainbowname [plr]',
  618.     'unseizure [plr]',
  619.     'unserverlock / unslock',
  620.     'unshrek [plr]',
  621.     'unskygif',
  622.     'unsmoke [plr]',
  623.     'unsparkles / unsp [plr]',
  624.     'unspectate / unview',
  625.     'unsphere [plr]',
  626.     'unspin [plr]',
  627.     'unstarman [plr]',
  628.     'unstrength [plr]',
  629.     'unstrobe',
  630.     'unstun [plr]',
  631.     'untrail [plr]',
  632.     'unweaken [plr]',
  633.     'version',
  634.     'visible / vis [plr]',
  635.     'volume / vol [num]',
  636.     'weaken [plr]',
  637.     'whiteify [plr]',
  638.     'zinnia [plr]'
  639. }
  640. 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
  641.  
  642. std.inTable=function(tbl,val)
  643.     if tbl==nil then return false end
  644.  
  645.     for _,v in pairs(tbl)do
  646.         if v==val then return true end
  647.     end
  648.     return false
  649. end
  650. std.out=function(str)
  651.     print(str)
  652. end
  653. std.list=function(tbl)
  654.     local str=''
  655.     for i,v in pairs(tbl)do
  656.         str=str..tostring(v)
  657.         if i~=#tbl then str=str..', ' end
  658.     end
  659.     return str
  660. end
  661. std.endat=function(str,val)
  662.     local z=str:find(val)
  663.     if z then
  664.         return str:sub(0,z-string.len(val)),true
  665.     else
  666.         return str,false
  667.     end
  668. end
  669. std.first=function(str) return str:sub(1,1) end
  670.  
  671. function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
  672.  
  673. local exec=function(str)
  674.     spawn(function()
  675.         local script, loaderr = loadstring(str)
  676.         if not script then
  677.             error(loaderr)
  678.         else
  679.             script()
  680.         end
  681.     end)
  682. end
  683. local findCmd=function(cmd_name)
  684.     for i,v in pairs(cmds)do
  685.         if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  686.             return v
  687.         end
  688.     end
  689. end
  690. local getCmd=function(msg)
  691.     local cmd,hassplit=std.endat(msg:lower(),split)
  692.     if hassplit then
  693.         return {cmd,true}
  694.     else
  695.         return {cmd,false}
  696.     end
  697. end
  698. local getprfx=function(strn)
  699.     if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  700.     elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  701.     end return
  702. end
  703. function dragGUI(gui)
  704. spawn(function()
  705. local UserInputService = game:GetService("UserInputService")
  706. local dragging
  707. local dragInput
  708. local dragStart
  709. local startPos
  710. local function update(input)
  711.     local delta = input.Position - dragStart
  712.     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)
  713. end
  714. gui.InputBegan:Connect(function(input)
  715.     if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  716.         dragging = true
  717.         dragStart = input.Position
  718.         startPos = gui.Position
  719.        
  720.         input.Changed:Connect(function()
  721.             if input.UserInputState == Enum.UserInputState.End then
  722.                 dragging = false
  723.             end
  724.         end)
  725.     end
  726. end)
  727. gui.InputChanged:Connect(function(input)
  728.     if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  729.         dragInput = input
  730.     end
  731. end)
  732. UserInputService.InputChanged:Connect(function(input)
  733.     if input == dragInput and dragging then
  734.         update(input)
  735.     end
  736. end)
  737. end)
  738. end
  739. maincolor = Color3.new(colorR, colorG, colorB)
  740. function updatecolors(color)
  741. colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b
  742. maincolor = color
  743. for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do
  744.     if child.Name == "TopBarContainer" then
  745.         child.BackgroundColor3 = color
  746.     end end
  747. FeedbackMain.BackgroundColor3 = maincolor
  748. MAIN.BackgroundColor3 = maincolor
  749. bar.BackgroundColor3 = maincolor
  750. game.CoreGui.sugg.suggestions.BackgroundColor3 = color
  751. if game.CoreGui:FindFirstChild('Updates') then
  752. game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  753. game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end
  754. if game.CoreGui:FindFirstChild('Sinfo') then
  755. game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  756. game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end
  757. if game.CoreGui:FindFirstChild('cp') then
  758. game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color
  759. game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color
  760. game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end
  761. if game.CoreGui:FindFirstChild('Bans') then
  762. game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  763. game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end
  764. if game.CoreGui:FindFirstChild('Pos') then
  765. game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  766. game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end
  767. if game.CoreGui:FindFirstChild('Admins') then
  768. game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  769. game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end
  770. if game.CoreGui:FindFirstChild('Logs') then
  771. game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  772. game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end
  773. if game.CoreGui:FindFirstChild('Aliases') then
  774. game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  775. game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end
  776. for _, child in pairs( game.CoreGui:GetChildren()) do
  777.     if child.Name == "Models" then
  778.         game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  779.         game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color
  780.     end
  781. end
  782. for _, child in pairs( game.CoreGui:GetChildren()) do
  783.     if child.Name == "Audios" then
  784.         game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  785.         game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color
  786.     end
  787. end
  788. end
  789.  
  790. function respawn(plr)
  791. local M = Instance.new('Model', workspace) M.Name = 'respawn_Admin'
  792. local H = Instance.new('Humanoid', M)
  793. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  794. plr.Character = M end
  795.  
  796. local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930")
  797. WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name}
  798. function kickF(plr)
  799. spawn(function()
  800. if plr.Parent ~= nil then
  801. if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
  802. local newChar = dummy:Clone() newChar.Parent = workspace
  803. newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  804. for i = 1,4 do
  805. local Plat = Instance.new('SkateboardPlatform', newChar)
  806. Plat.Position = newChar.HumanoidRootPart.Position
  807. Plat.Name = 'Adminplat'
  808. Plat.Size = Vector3.new(10, 1.2, 10)
  809. Plat.Transparency = 1 end
  810. plr.Character = newChar
  811. local PART = Instance.new('Part', newChar)
  812. PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0)
  813. PART.Size = Vector3.new(10, 1.2, 10)
  814. PART.Anchored = true
  815. PART.Transparency = 1
  816. if newChar:FindFirstChild("SkateboardPlatform") then
  817. newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end
  818. wait(0.4)
  819. if newChar then newChar:Destroy() end
  820. kickF(plr) end
  821. end end) end
  822.  
  823. function refresh(plr)
  824. spawn(function()
  825. local rpos = plr.Character.HumanoidRootPart.Position
  826. wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1)
  827. repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart')
  828. plr.Character:MoveTo(rpos) end) end
  829.  
  830. 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
  831. 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
  832. _players.PlayerAdded:connect(function(player)
  833. if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
  834.             game:FindService('StarterGui'):SetCore('SendNotification', {
  835.                 Title = player.Name,
  836.                 Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
  837.                 Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  838.                 Duration = 5,
  839.             })
  840. elseif JLnotify == true and Nfriends == false then
  841.             game:FindService('StarterGui'):SetCore('SendNotification', {
  842.                 Title = player.Name,
  843.                 Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
  844.                 Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  845.                 Duration = 5,
  846.             })
  847. end
  848.     if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
  849.     spawn(function()
  850. repeat wait() until player.Character
  851. kickF(player)
  852.     end)
  853.     end)
  854.     elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
  855.     spawn(function()
  856. repeat wait() until player.Character
  857. kickF(player)
  858.     end)
  859.     end
  860. if FindTable(banT, player.userId) then
  861.     spawn(function()
  862. repeat wait() until player.Character
  863. Notify('Banned player, ' .. player.Name .. ' attempted to join')
  864. kickF(player)
  865. end)
  866. end
  867. if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then
  868.     spawn(function()
  869. repeat wait() until player.Character
  870. kickF(player)
  871. end)
  872. else
  873. if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then
  874.     spawn(function()
  875. repeat wait() until player.Character
  876. kickF(player)
  877. end)
  878. end
  879. end
  880. end)
  881. local customAlias = {}
  882. local findCmd=function(cmd_name)
  883.     for i,v in pairs(cmds)do
  884.         if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
  885.             return v
  886.         end
  887.     end
  888.     return customAlias[cmd_name:lower()]
  889. end
  890. local function splitString(str,delim)
  891.     local broken = {}
  892.     if delim == nil then delim = "," end
  893.     for w in string.gmatch(str,"[^"..delim.."]+") do
  894.         table.insert(broken,w)
  895.     end
  896.     return broken
  897. end
  898. local historyCount = 0
  899. local cmdHistory = {}
  900. lastBreakTime = 0
  901. local function execCmd(cmdStr,speaker)
  902.     local rawCmdStr = cmdStr
  903.     cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  904.     local commandsToRun = splitString(cmdStr,"\\")
  905.     for i,v in pairs(commandsToRun) do
  906.         v = string.gsub(v,"%%BackSlash%%","\\")
  907.         local x,y,num = v:find("^(%d+)%^")
  908.         local cmdDelay = 0
  909.         if num then
  910.             v = v:sub(y+1)
  911.             local x,y,del = v:find("^([%d%.]+)%^")
  912.             if del then
  913.                 v = v:sub(y+1)
  914.                 cmdDelay = tonumber(del) or 0
  915.             end
  916.         end
  917.         num = tonumber(num or 1)
  918.         local args = splitString(v,split)
  919.         local cmd = findCmd(args[1])
  920.         if cmd then
  921.             table.remove(args,1)
  922.             cargs = args
  923.             if speaker == gPlayers.LocalPlayer then
  924.                 if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
  925.             end
  926.             if #cmdHistory > 20 then table.remove(cmdHistory) end
  927.             local cmdStartTime = tick()
  928.             for rep = 1,num do
  929.                 if lastBreakTime > cmdStartTime then break end
  930.                 pcall(function()
  931.                     cmd.FUNC(args, speaker)
  932.                 end)
  933.                 if cmdDelay ~= 0 then wait(cmdDelay) end
  934.             end
  935.         end
  936.     end
  937. end
  938. logsloaded = false
  939. ChatLog = function(plr)
  940. plr.Chatted:Connect(function(Message)
  941. if logsloaded == true then
  942. if whispersV == true and Message:lower():sub(1,2) == '/w' then
  943. CreateLabel(plr.Name,Message)
  944. elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then
  945. CreateLabel(plr.Name,Message)
  946. elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then
  947. CreateLabel(plr.Name,Message)
  948. 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
  949. CreateLabel(plr.Name,Message)
  950. end end end) end
  951. 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
  952. for _, plr in pairs(gPlayers:GetChildren()) do
  953.     if plr.ClassName == "Player" then
  954.         updateevents(plr) ChatLog(plr) end end
  955. _players.PlayerAdded:connect(function(player)
  956.     updateevents(player) ChatLog(player)
  957. end)
  958. _G.exec_cmd = execCmd
  959. --gPlayers.LocalPlayer.Chatted:connect(doexec)
  960. 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
  961. local _char=function(plr_name)
  962.     for i,v in pairs(gPlayers:GetChildren())do
  963.         if v:IsA'Player'then
  964.             if v.Name==plr_name then return v.Character end
  965.         end
  966.     end
  967.     return
  968. end
  969. local _plr=function(plr_name)
  970.     for i,v in pairs(gPlayers:GetChildren())do
  971.         if v:IsA'Player'then
  972.             if v.Name==plr_name then return v end
  973.         end
  974.     end
  975.     return
  976. end
  977. function addcmd(name,desc,alias,func)
  978.     cmds[#cmds+1]=
  979.     {
  980.         NAME=name;
  981.         DESC=desc;
  982.         ALIAS=alias;
  983.         FUNC=func;
  984.     }
  985. end
  986. SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'}
  987. local SpecialPlayerCases = {
  988.     ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
  989.     ["others"] = function(speaker)
  990.         local plrs = {}
  991.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  992.             if v ~= speaker then
  993.                 table.insert(plrs,v)
  994.             end
  995.         end
  996.         return plrs
  997.      end,
  998.     ["me"] = function(speaker)return {speaker} end,
  999.     ["#(%d+)"] = function(speaker,args,currentList)
  1000.         local returns = {}
  1001.         local randAmount = tonumber(args[1])
  1002.         local players = {unpack(currentList)}
  1003.         for i = 1,randAmount do
  1004.             if #players == 0 then break end
  1005.             local randIndex = math.random(1,#players)
  1006.             table.insert(returns,players[randIndex])
  1007.             table.remove(players,randIndex)
  1008.         end
  1009.         return returns
  1010.     end,
  1011.     ["random"] = function(speaker,args,currentList)
  1012.         local players = currentList
  1013.         return {players[math.random(1,#players)]}
  1014.     end,
  1015.     ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
  1016.         local returns = {}
  1017.         local team = args[1]
  1018.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1019.             if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  1020.                 table.insert(returns,plr)
  1021.             end
  1022.         end
  1023.         return returns
  1024.     end,
  1025.     ["allies"] = function(speaker)
  1026.         local returns = {}
  1027.         local team = speaker.Team
  1028.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1029.             if plr.Team == team then
  1030.                 table.insert(returns,plr)
  1031.             end
  1032.         end
  1033.         return returns
  1034.     end,
  1035.     ["enemies"] = function(speaker)
  1036.         local returns = {}
  1037.         local team = speaker.Team
  1038.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1039.             if plr.Team ~= team then
  1040.                 table.insert(returns,plr)
  1041.             end
  1042.         end
  1043.         return returns
  1044.     end,
  1045.     ["team"] = function(speaker)
  1046.         local returns = {}
  1047.         local team = speaker.Team
  1048.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1049.             if plr.Team == team then
  1050.                 table.insert(returns,plr)
  1051.             end
  1052.         end
  1053.         return returns
  1054.     end,
  1055.     ["nonteam"] = function(speaker)
  1056.         local returns = {}
  1057.         local team = speaker.Team
  1058.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1059.             if plr.Team ~= team then
  1060.                 table.insert(returns,plr)
  1061.             end
  1062.         end
  1063.         return returns
  1064.     end,
  1065.     ["friends"] = function(speaker,args)
  1066.         local returns = {}
  1067.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1068.             if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  1069.                 table.insert(returns,plr)
  1070.             end
  1071.         end
  1072.         return returns
  1073.     end,
  1074.     ["nonfriends"] = function(speaker,args)
  1075.         local returns = {}
  1076.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1077.             if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  1078.                 table.insert(returns,plr)
  1079.             end
  1080.         end
  1081.         return returns
  1082.     end,
  1083.     ["guests"] = function(speaker,args)
  1084.         local returns = {}
  1085.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1086.             if plr.Guest then
  1087.                 table.insert(returns,plr)
  1088.             end
  1089.         end
  1090.         return returns
  1091.     end,
  1092.     ["bacons"] = function(speaker,args)
  1093.         local returns = {}
  1094.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1095.             if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  1096.                 table.insert(returns,plr)
  1097.             end
  1098.         end
  1099.         return returns
  1100.     end,
  1101.     ["admins"] = function(speaker)
  1102.         local returns = {}
  1103.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1104.             if isAdmin(plr) then
  1105.                 table.insert(returns,plr)
  1106.             end
  1107.         end
  1108.         return returns
  1109.     end,
  1110.     ["nonadmins"] = function(speaker)
  1111.         local returns = {}
  1112.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1113.             if not isAdmin(plr) then
  1114.                 table.insert(returns,plr)
  1115.             end
  1116.         end
  1117.         return returns
  1118.     end,
  1119.     ["age(%d+)"] = function(speaker,args)
  1120.         local returns = {}
  1121.         local age = tonumber(args[1])
  1122.         if not age == nil then return end
  1123.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1124.         if plr.AccountAge <= age then
  1125.                 table.insert(returns,plr)
  1126.             end
  1127.         end
  1128.         return returns
  1129.     end,
  1130.     ["rad(%d+)"] = function(speaker,args)
  1131.         local returns = {}
  1132.         local radius = tonumber(args[1])
  1133.         local speakerChar = speaker.Character
  1134.         if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
  1135.         for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1136.             if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1137.                 local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
  1138.                 if magnitude <= radius then table.insert(returns,plr) end
  1139.             end
  1140.         end
  1141.         return returns
  1142.     end
  1143. }
  1144. local function toTokens(str)
  1145.     local tokens = {}
  1146.     for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  1147.         table.insert(tokens,{Operator = op,Name = name})
  1148.     end
  1149.     return tokens
  1150. end
  1151. local function onlyIncludeInTable(tab,matches)
  1152.     local matchTable = {}
  1153.     local resultTable = {}
  1154.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  1155.     for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  1156.     return resultTable
  1157. end
  1158. local function removeTableMatches(tab,matches)
  1159.     local matchTable = {}
  1160.     local resultTable = {}
  1161.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  1162.     for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  1163.     return resultTable
  1164. end
  1165. local function getPlayersByName(name)
  1166.     local found = {}
  1167.     for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1168.         if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
  1169.             table.insert(found,v)
  1170.         end
  1171.     end
  1172.     return found
  1173. end
  1174. local function getPlayer(list,speaker)
  1175.     if list == nil then return {speaker.Name} end
  1176.     local nameList = splitString(list,",")
  1177.    
  1178.     local foundList = {}
  1179.    
  1180.     for _,name in pairs(nameList) do
  1181.         if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  1182.         local tokens = toTokens(name)
  1183.         local initialPlayers = game:GetService("Players"):GetPlayers()
  1184.        
  1185.         for i,v in pairs(tokens) do
  1186.             if v.Operator == "+" then
  1187.                 local tokenContent = v.Name
  1188.                 local foundCase = false
  1189.                 for regex,case in pairs(SpecialPlayerCases) do
  1190.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  1191.                     if #matches > 0 then
  1192.                         foundCase = true
  1193.                         initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
  1194.                     end
  1195.                 end
  1196.                 if not foundCase then
  1197.                     initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  1198.                 end
  1199.             else
  1200.                 local tokenContent = v.Name
  1201.                 local foundCase = false
  1202.                 for regex,case in pairs(SpecialPlayerCases) do
  1203.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  1204.                     if #matches > 0 then
  1205.                         foundCase = true
  1206.                         initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
  1207.                     end
  1208.                 end
  1209.                 if not foundCase then
  1210.                     initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  1211.                 end
  1212.             end
  1213.         end
  1214.        
  1215.         for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  1216.     end
  1217.    
  1218.     local foundNames = {}
  1219.     for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  1220.    
  1221.     return foundNames
  1222. end
  1223. function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
  1224.     local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
  1225.     if (zCoco) then
  1226.         funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  1227.     else
  1228.         funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  1229.     end
  1230.     return funcw
  1231. end
  1232. function _G.msg(txt)
  1233.     spawn(function()
  1234.     msghook()
  1235.     if MSGhook == true then
  1236.     workspace.Adminmessage.Text = ''
  1237.     wait(0.1)
  1238.     local b = Instance.new("BlurEffect", LightingService)
  1239.     b.Name = "Adminmblur"
  1240.     b.Size = 18
  1241.     workspace.Adminmessage.Text = txt
  1242.     wait(Mseconds)
  1243.     b:Destroy()
  1244.     if workspace.Adminmessage.Text == txt then
  1245.     workspace.Adminmessage.Text = '' end
  1246.     elseif MSGhook == false then
  1247.     execCmd("loadm")
  1248.     repeat wait() until workspace:FindFirstChild("Adminmessage")
  1249.     workspace.Adminmessage.Text = ''
  1250.     wait(0.1)
  1251.     local b = Instance.new("BlurEffect", LightingService)
  1252.     b.Name = "Adminmblur"
  1253.     b.Size = 18
  1254.     workspace.Adminmessage.Text = txt
  1255.     wait(Mseconds)
  1256.     b:Destroy()
  1257.     if workspace.Adminmessage.Text == txt then
  1258.     workspace.Adminmessage.Text = '' end
  1259.     end
  1260. end)
  1261. end
  1262. function bleach(plr)
  1263. spawn(function()
  1264. local char = plr.Character
  1265. local hit1 = Instance.new("Sound", workspace)
  1266. hit1.SoundId = "http://roblox.com/asset?id=145486953"
  1267. local hit = Instance.new("Sound", workspace)
  1268. hit.SoundId = "http://roblox.com/asset?id=178646271"
  1269. local Bleach = Instance.new("Part", char["Left Arm"])
  1270. Bleach.CanCollide = false
  1271. local Mesh = Instance.new("SpecialMesh", Bleach)
  1272. Mesh.MeshId = "http://roblox.com/asset?id=483388971"
  1273. Mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
  1274. Mesh.TextureId = "http://roblox.com/asset?id=520016684"
  1275. local Handy = Instance.new("Weld", Bleach)
  1276. Handy.Part0 = Bleach
  1277. Handy.Part1 = char["Left Arm"]
  1278. Handy.C0 = CFrame.new(0.5,1.8,0)
  1279. Handy.C1 = CFrame.Angles(0,4,1)
  1280. local drink = Instance.new("Sound", char.Head)
  1281. drink.SoundId = "http://roblox.com/asset?id=10722059"
  1282. wait(3)
  1283.         game.Chat:Chat(char.Head,"I need to die","Red")
  1284.         for i = 1,10 do
  1285.             wait()
  1286.             char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0)
  1287.             Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09)
  1288.             Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0)
  1289.             char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1)
  1290.         end
  1291.         drink:Play()
  1292.         wait(3.4)
  1293.         drink:Stop()
  1294.         for i = 1,10 do
  1295.             wait()
  1296.             char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0)
  1297.             char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0)
  1298.             Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09)
  1299.             Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0)
  1300.             char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2)
  1301.             char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0)
  1302.             char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0)
  1303.             char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0)
  1304.         end
  1305.         wait(0.01)
  1306.         char.Torso.Anchored = true
  1307.         char["Left Arm"].Anchored = true
  1308.         char["Right Arm"].Anchored = true
  1309.         char["Left Leg"].Anchored = true
  1310.         char["Right Leg"].Anchored = true
  1311.         char.Head.Anchored = true
  1312.         hit:Play()
  1313.         hit1:Play()
  1314.         wait(4)
  1315.         local bl00d = Instance.new("Part", char.Head)
  1316.         bl00d.Size = Vector3.new(0.1,0.1,0.1)
  1317.         bl00d.Rotation = Vector3.new(0,0,-90)
  1318.         bl00d.CanCollide = false
  1319.         bl00d.Anchored = true
  1320.         bl00d.BrickColor = BrickColor.new("Maroon")
  1321.         bl00d.Position = char.Head.Position
  1322.         bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0)
  1323.         bl00d.Shape = "Cylinder"
  1324.         bl00d.Material = "Pebble"
  1325.         for i = 1,100 do
  1326.             wait()
  1327.             bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05)
  1328.         end
  1329.         wait(1)
  1330.         char.Humanoid.Health = 0
  1331. end)
  1332. end
  1333. function rape(victim, speaker) -- from rocky2u cmdscript
  1334.     spawn(function()
  1335.         local P1 = game:GetService("Players")[speaker].Character.Torso
  1336.         local V1 = game:GetService("Players")[victim].Character.Torso
  1337.         V1.Parent.Humanoid.PlatformStand = true
  1338.         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'
  1339.         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'
  1340.         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'
  1341.         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'
  1342.         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'
  1343.         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'
  1344.         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)
  1345.         local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
  1346.         fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
  1347.         local D2 = D:Clone() D2.Parent = P1
  1348.         fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
  1349.         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)
  1350.         fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
  1351.         local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
  1352.         fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
  1353.         local CM = Instance.new('CylinderMesh', C)
  1354.         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)
  1355.         local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
  1356.         fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
  1357.         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)
  1358.         local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
  1359.         fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
  1360.         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)
  1361.         local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
  1362.         fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
  1363.         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)
  1364.         local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
  1365.         fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
  1366.         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)
  1367.         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)
  1368.         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)
  1369.         if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
  1370.         WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  1371.         local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  1372.     end)
  1373.     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)
  1374. end
  1375.  
  1376. addcmd('addalias','Adds an alias to a command',{},
  1377. function(args,speaker)
  1378.     if #args < 2 then return end
  1379.     local cmd = string.lower(args[1])
  1380.     local alias = string.lower(args[2])
  1381.     for i,v in pairs(cmds) do
  1382.         if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
  1383.             customAlias[alias] = v
  1384.             if not aliasSave or aliasSave == nil then aliasSave = {} end
  1385.             aliasSave[#aliasSave + 1] = {CMD = cmd, ALIAS = alias}
  1386.             Notify("Added "..alias.." as an alias to "..cmd)
  1387.             updatefile()
  1388.             updatealiases()
  1389.             break
  1390.         end
  1391.     end
  1392. end)
  1393.  
  1394. addcmd('877241loadalias','dab',{},
  1395. function(args,speaker)
  1396.     if #args < 2 then return end
  1397.     local cmd = string.lower(args[1])
  1398.     local alias = string.lower(args[2])
  1399.     for i,v in pairs(cmds) do
  1400.         if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
  1401.             customAlias[alias] = v
  1402.             updatealiases()
  1403.             break
  1404.         end
  1405.     end
  1406. end)
  1407.  
  1408. addcmd('removealias','Removes a custom alias',{},
  1409. function(args,speaker)
  1410.     if #args < 1 then return end
  1411.     local alias = string.lower(args[1])
  1412.     if customAlias[alias] then
  1413.         local cmd = customAlias[alias].NAME
  1414.         customAlias[alias] = nil
  1415.         for i,v in pairs(aliasSave) do
  1416.         if v.ALIAS == tostring(alias) then
  1417.         table.remove(aliasSave, i)
  1418.         end end
  1419.         Notify("Removed the alias "..alias.." from "..cmd)
  1420.         updatefile()
  1421.         updatealiases()
  1422.     end
  1423. end)
  1424.  
  1425. addcmd('clraliases','Removes all custom alias',{},
  1426. function(args,speaker)
  1427. customAlias = {}
  1428. aliasSave ={}
  1429. updatefile()
  1430. updatealiases()
  1431. Notify('Removed all aliases')
  1432. end)
  1433.  
  1434. addcmd('s','runs a script in the chat or cmdbar',{'script'},
  1435. function(args, speaker)
  1436. loadstring(tostring(GLS(false, 0)))()
  1437. end)
  1438.  
  1439. function hub()
  1440. if not game.CoreGui:FindFirstChild('ScriptHub') then
  1441. loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end
  1442. addcmd('hub','opens script hub',{'scripts'},
  1443. function(args, speaker)
  1444. if speaker.userId ~= LP.userId then
  1445. lponly(speaker) else
  1446. hub()
  1447. end end)
  1448.  
  1449. addcmd('ff','gives ff to player',{},
  1450. function(args, speaker)
  1451.     local players = getPlayer(args[1], speaker)
  1452.     for i,v in pairs(players)do
  1453.         local pchar=_char(v)
  1454.         Instance.new("ForceField", pchar)
  1455.     end
  1456. end)
  1457.  
  1458. addcmd('maxhealth','sets a limit of health to player',{},
  1459. function(args, speaker)
  1460.     local players = getPlayer(args[1], speaker)
  1461.     for i,v in pairs(players)do
  1462.         local pchar=_char(v)
  1463.         pchar.Humanoid.MaxHealth = args[2]
  1464.     end
  1465. end)
  1466.  
  1467. addcmd('sethealth','sets the health of a player',{},
  1468. function(args, speaker)
  1469.     local players = getPlayer(args[1], speaker)
  1470.     for i,v in pairs(players)do
  1471.         local pchar=_char(v)
  1472.         pchar.Humanoid.Health = args[2]
  1473.     end
  1474. end)
  1475.  
  1476. addcmd('breakloops','stops any cmd loops',{'break'},
  1477. function(args, speaker)
  1478. lastBreakTime = tick()
  1479. end)
  1480.  
  1481. addcmd('invisibleff','gives invisible ff to player',{'invisff'},
  1482. function(args, speaker)
  1483. local players = getPlayer(args[1], speaker)
  1484. for i,v in pairs(players)do
  1485. local pchar=_char(v)
  1486. local invisff = Instance.new("ForceField", pchar)
  1487. invisff.Visible = false
  1488. end
  1489. end)
  1490.  
  1491. addcmd('rocket','attaches a player to a rocket',{'missile'},
  1492. function(args, speaker)
  1493.     local players = getPlayer(args[1], speaker)
  1494.     for i,v in pairs(players)do
  1495.         local pchar=_char(v)
  1496.         spawn(function()
  1497.         local m = missile:Clone()
  1498.         m.Parent = workspace
  1499.         local W = Instance.new('Weld', m)
  1500.         W.Part0 = W.Parent
  1501.         W.Part1 = pchar.HumanoidRootPart
  1502.         W.C1 = CFrame.new(0, 0.5, 1)
  1503.         m.force.Force = Vector3.new(0, 15000, 0)
  1504.         wait(0.01)
  1505.         pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
  1506.         wait(5)
  1507.         Instance.new('Explosion', m).Position = m.Position
  1508.         wait(0.01)
  1509.         pchar:BreakJoints()
  1510.         wait(1)
  1511.         m:destroy()
  1512.         end)
  1513.     end
  1514. end)
  1515.  
  1516. addcmd('kidnap', 'Kidnaps the player in a candy van',{}, function(args, speaker)
  1517.     local players = getPlayer(args[1], speaker)
  1518.     if not game:GetService("CoreGui"):FindFirstChild('VanEvent') then
  1519.         loadstring(game:HttpGet(('https://pastebin.com/raw/NbY247zv'),true))()
  1520.     end
  1521.     for i,v in pairs(players) do
  1522.         game:GetService("CoreGui").VanEvent:Fire(gPlayers[v])
  1523.     end
  1524. end)
  1525.  
  1526. addcmd('rejoin','makes you rejoin the game',{'rj'},
  1527. function(args, speaker)
  1528. if speaker.userId ~= LP.userId then
  1529. lponly(speaker)
  1530. else
  1531. game:GetService('TeleportService'):Teleport(game.PlaceId)
  1532. end
  1533. end)
  1534.  
  1535. addcmd('unff', 'takes away ff from player',{'noff'},
  1536. function(args, speaker)
  1537.     local players = getPlayer(args[1], speaker)
  1538.     for i,v in pairs(players)do
  1539.         local pchar=_char(v)
  1540.         for j,v1 in pairs(pchar:GetChildren()) do
  1541.             if v1:IsA("ForceField") then
  1542.                 v1:Destroy()
  1543.             end
  1544.         end
  1545.     end
  1546. end)
  1547.  
  1548. addcmd('flashlight', 'gives a player a flashlight',{},
  1549. function(args, speaker)
  1550.     local players = getPlayer(args[1], speaker)
  1551.     for i,v in pairs(players)do
  1552.     spawn(function()
  1553.     local flashlight = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01679418710")
  1554.     flashlight.Parent = gPlayers[v].Backpack
  1555.     flashlight.Name = "Adminflashlight"
  1556.     end)
  1557.     end
  1558. end)
  1559.  
  1560. addcmd('car', 'inserts a car',{'vehicle'},
  1561. function(args, speaker)
  1562.     local players = getPlayer(args[1], speaker)
  1563.     for i,v in pairs(players)do
  1564.     spawn(function()
  1565.     local pchar=_char(v)
  1566.     local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590")
  1567.     model.Parent = workspace
  1568.     model:MakeJoints()
  1569.     model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0))
  1570.     model.Name = "Admincar" .. gPlayers[v].Name wait(0.2)
  1571.     for _, child in pairs( model:GetChildren()) do
  1572.     if child.ClassName == "Part" then
  1573.     child.Anchored = true
  1574.     wait(1)
  1575.     child.Anchored = false
  1576. end end end) end end)
  1577.  
  1578. addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
  1579. function(args, speaker)
  1580.     local players = getPlayer(args[1], speaker)
  1581.     for i,v in pairs(players)do
  1582.     for _, child in pairs( workspace:GetChildren()) do
  1583.     if child.Name == "Admincar" .. gPlayers[v].Name then
  1584.     child:Destroy()
  1585.     end
  1586. end
  1587. end
  1588. end)
  1589.  
  1590. addcmd('team','team [plr] [team]',{},
  1591. function(args, speaker)
  1592.     local players = getPlayer(args[1], speaker)
  1593.     local teamname = nil
  1594.     for i,v in pairs(players)do
  1595.         for a,b in pairs(game.Teams:GetChildren()) do local L_name = b.Name:lower() local F = L_name:find(GLS(true, 1)) if F == 1 then teamname = b end end
  1596.             _players[v].Team = teamname
  1597.     end
  1598. end)
  1599.  
  1600. addcmd('maxzoom','maximum camera zoom',{},
  1601. function(args, speaker)
  1602.     local players = getPlayer(args[1], speaker)
  1603.     for i,v in pairs(players)do
  1604.     _players[v].CameraMaxZoomDistance = args[2]
  1605.     end
  1606. end)
  1607.  
  1608. function spawnrain(mesh,texture)
  1609. spawn(function()
  1610. for i,v in pairs(gPlayers:GetChildren()) do
  1611. if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then
  1612. if raining == true then
  1613. local rain = Instance.new("Part",workspace)
  1614. rain.CanCollide = true
  1615. local m = Instance.new("SpecialMesh",rain)
  1616. m.MeshId = "http://www.roblox.com/asset/?id="..mesh
  1617. m.TextureId = "http://www.roblox.com/asset/?id="..texture
  1618. rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250))
  1619. wait(5) rain:Destroy()
  1620. end
  1621. end
  1622. end
  1623. end)
  1624. end
  1625.  
  1626. raining = false
  1627. addcmd('rain','make it rain a mesh',{},
  1628. function(args, speaker)
  1629. raining = true
  1630. repeat
  1631. wait(0.5)
  1632. spawnrain(args[1],args[2])
  1633. until raining == false
  1634. end)
  1635.  
  1636. addcmd('norain','make it rain a mesh',{'unrain'},
  1637. function(args, speaker)
  1638. raining = false
  1639. end)
  1640.  
  1641. local rad = math.rad
  1642. addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh
  1643. function(args, speaker)
  1644.      for i = 1,args[1] do
  1645.          wait()
  1646.                 local function ear(instance)
  1647.                 for i,v in pairs(instance:GetChildren())do
  1648.                 if v:IsA("Part") then
  1649.         if v.Size.x > 1 then
  1650.         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])))
  1651.         end end ear(v) end end ear(workspace)
  1652.      end
  1653. end)
  1654.  
  1655. addcmd('cape','Gives the target player(s) a cape',{},
  1656. function(args, speaker)
  1657.     local players = getPlayer(args[1], speaker)
  1658.     for i,v in pairs(players)do
  1659.     spawn(function()
  1660.         if _char(v):FindFirstChild("Humanoid") then
  1661.             local plr = _players[v]
  1662.             repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
  1663.             local torso = plr.Character.HumanoidRootPart
  1664.             local p = Instance.new("Part", torso.Parent) p.Name = "Admincape" p.Anchored = false
  1665.             p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0
  1666.             if not args[2] then
  1667.             p.Color = Color3.new(0,0,0)
  1668.             p.Color = Color3.new(0,0,0) else
  1669.             p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1670.             p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
  1671.             p.formFactor = "Custom"
  1672.             p.Size = Vector3.new(.2,.2,.2)
  1673.             local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1674.             local motor1 = Instance.new("Motor", p)
  1675.             motor1.Part0 = p
  1676.             motor1.Part1 = torso
  1677.             motor1.MaxVelocity = .01
  1678.             motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1679.             motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1680.             local wave = false
  1681.             repeat wait(1/44)
  1682.             local ang = 0.1
  1683.             local oldmag = torso.Velocity.magnitude
  1684.             local mv = .002
  1685.             if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1686.             ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1687.             motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1688.             motor1.DesiredAngle = -ang
  1689.             if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1690.             repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag)  >= (torso.Velocity.magnitude/10) + 1
  1691.             if torso.Velocity.magnitude < .1 then wait(.1) end
  1692.             until not p or p.Parent ~= torso.Parent
  1693.         end
  1694.     end)
  1695.     end
  1696. end)
  1697.  
  1698. addcmd('uncape','Removes cape',{'nocape'},
  1699. function(args, speaker)
  1700.     local players = getPlayer(args[1], speaker)
  1701.     for i,v in pairs(players)do
  1702.     local pchar=_char(v)
  1703.     for _, child in pairs( pchar:GetChildren()) do
  1704.     if child.Name == "Admincape" then
  1705.         child:Destroy() end end
  1706.     end
  1707. end)
  1708.  
  1709. addcmd('spasm','makes someone c r a z y',{},
  1710. function(args, speaker)
  1711.     local players = getPlayer(args[1], speaker)
  1712.     for i,v in pairs(players)do
  1713.     local pchar=_char(v)
  1714.    local AnimationId = "33796059"
  1715.    local Anim = Instance.new("Animation")
  1716.    Anim.AnimationId = "rbxassetid://"..AnimationId
  1717.    local k = pchar.Humanoid:LoadAnimation(Anim)
  1718.    k:Play()
  1719.    k:AdjustSpeed(99)
  1720.     end
  1721. end)
  1722.  
  1723. addcmd('dance','makes someone d a n c e',{},
  1724. function(args, speaker)
  1725.     local players = getPlayer(args[1], speaker)
  1726.     for i,v in pairs(players)do
  1727.     local pchar=_char(v)
  1728.         local anim = nil       
  1729.         local dance1 = math.random(1,7)
  1730.         if dance1 == 1 then
  1731.         anim = '27789359'
  1732.         end
  1733.         if dance1 == 2 then
  1734.         anim = '30196114'
  1735.         end
  1736.         if dance1 == 3 then
  1737.         anim = '248263260'
  1738.         end
  1739.         if dance1 == 4 then
  1740.         anim = '45834924'
  1741.         end
  1742.         if dance1 == 5 then
  1743.         anim = '33796059'
  1744.         end
  1745.         if dance1 == 6 then
  1746.         anim = '28488254'
  1747.         end
  1748.         if dance1 == 7 then
  1749.         anim = '52155728'
  1750.         end
  1751.         local animation = Instance.new("Animation")
  1752.         animation.AnimationId = "rbxassetid://"..anim
  1753.         local animTrack = pchar.Humanoid:LoadAnimation(animation)
  1754.         animTrack:Play()
  1755.     end
  1756. end)
  1757.  
  1758. addcmd('plrsound','creates a sound inside of someone',{'playersound'},
  1759. function(args, speaker)
  1760.     local players = getPlayer(args[1], speaker)
  1761.     for i,v in pairs(players)do
  1762.     if not args[1] and args[2] then return end
  1763.     local pchar=_char(v)
  1764.     for _, child in pairs( pchar:GetDescendants()) do
  1765.     if child.ClassName == "Sound" then
  1766.     child:Destroy() end end
  1767.     local s = Instance.new("Sound")
  1768.     s.Name = "Adminplrsound"
  1769.     s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
  1770.     s.Volume = 1
  1771.     s.Pitch = 1
  1772.     s.Looped = true
  1773.     s.archivable = true
  1774.     s.Parent = pchar.HumanoidRootPart
  1775.     s:Play()
  1776.     end
  1777. end)
  1778.  
  1779. addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
  1780. function(args, speaker)
  1781.     local players = getPlayer(args[1], speaker)
  1782.     for i,v in pairs(players)do
  1783.     if not args[1] then return end
  1784.     local pchar=_char(v)
  1785.     for _, child in pairs( pchar:GetDescendants()) do
  1786.     if child.ClassName == "Sound" then
  1787.     child:Destroy() end end
  1788.     end
  1789. end)
  1790.  
  1791. addcmd('fly','makes you fly',{},
  1792. function(args, speaker)
  1793. if speaker.userId ~= LP.userId then
  1794. lponly(speaker)
  1795. else
  1796. sFLY()
  1797. end
  1798. end)
  1799.  
  1800. addcmd('flyspeed','set the fly speed',{'flysp'},
  1801. function(args, speaker)
  1802. if speaker.userId ~= LP.userId then
  1803. lponly(speaker)
  1804. else
  1805. if isNumber(args[1]) then
  1806. Adminflyspeed = args[1]
  1807. end end end)
  1808.  
  1809. addcmd('unfly','takes away fly',{'nofly'},
  1810. function(args, speaker)
  1811. if speaker.userId ~= LP.userId then
  1812. lponly(speaker)
  1813. else
  1814. NOFLY()
  1815. end
  1816. end)
  1817.  
  1818. addcmd('exit','kills roblox process',{},
  1819. function(args, speaker)
  1820. if speaker.userId ~= LP.userId then
  1821. lponly(speaker)
  1822. else
  1823. game:shutdown()
  1824. end
  1825. end)
  1826.  
  1827. addcmd('fire', 'set a player on fire',{},
  1828. function(args, speaker)
  1829.     local players = getPlayer(args[1], speaker)
  1830.     for i,v in pairs(players)do
  1831.     spawn(function()
  1832.         local pchar=_char(v)
  1833.         local Fire1 = Instance.new("Fire", pchar.Head)
  1834.         local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
  1835.         local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1836.         local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1837.         local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1838.         local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1839.         if not args[2] then return end
  1840.         Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1841.         Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1842.         Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1843.         Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1844.         Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1845.         Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1846.         Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1847.         Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1848.         Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1849.         Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1850.         Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1851.         Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1852. end)
  1853. end
  1854. end)
  1855.  
  1856. addcmd('discomesh', 'body parts get  f u n k y',{},
  1857. function(args, speaker)
  1858.     local players = getPlayer(args[1], speaker)
  1859.     for i,v in pairs(players)do
  1860.     spawn(function()
  1861. local plr = _players[v]
  1862. local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
  1863. local h = _players[v].Character.Head.Mesh
  1864. local t = Instance.new("SpecialMesh",_players[v].Character.Torso)
  1865. local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"])
  1866. local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"])
  1867. local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"])
  1868. local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"])
  1869. while true do wait()
  1870. h.MeshType = meshes[math.random(1,#meshes)]
  1871. h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
  1872. h.Parent.BrickColor = BrickColor.Random()
  1873. t.MeshType = meshes[math.random(1,#meshes)]
  1874. t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
  1875. t.Parent.BrickColor = BrickColor.Random()
  1876. la.MeshType = meshes[math.random(1,#meshes)]
  1877. la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
  1878. la.Parent.BrickColor = BrickColor.Random()
  1879. ra.MeshType = meshes[math.random(1,#meshes)]
  1880. ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
  1881. ra.Parent.BrickColor = BrickColor.Random()
  1882. ll.MeshType = meshes[math.random(1,#meshes)]
  1883. ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
  1884. ll.Parent.BrickColor = BrickColor.Random()
  1885. rl.MeshType = meshes[math.random(1,#meshes)]
  1886. rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
  1887. rl.Parent.BrickColor = BrickColor.Random()
  1888. end end) end end)
  1889.  
  1890. addcmd('chickenarms', 'I can fly!!1',{'chicken'},
  1891. function(args, speaker)
  1892.     local players = getPlayer(args[1], speaker)
  1893.     for i,v in pairs(players)do
  1894.     spawn(function()
  1895. local Chicken = _players[v].Character
  1896. 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)
  1897. Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  1898. 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)
  1899. Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
  1900. end) end end)
  1901.  
  1902. addcmd('esp', 'view a player and a players status',{},
  1903. function(args, speaker)
  1904. if speaker.userId ~= LP.userId then
  1905. lponly(speaker)
  1906. else
  1907.     local players = getPlayer(args[1], speaker)
  1908.     for i,v in pairs(players)do
  1909.     spawn(function()
  1910.     for _, child in pairs( game["CoreGui"]:GetChildren()) do
  1911.     if child.Name == gPlayers[v].Name then
  1912.     child:Destroy()
  1913. end end wait(0.5)
  1914. local m = game["Players"].LocalPlayer:GetMouse()
  1915. local rs = game:GetService("RunService").RenderStepped
  1916. local espplr = gPlayers[v]
  1917.         if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then
  1918.     for b,n in pairs (espplr.Character:GetChildren()) do
  1919.         if (n:IsA("BasePart")) then
  1920.         local a = Instance.new("BoxHandleAdornment", game.CoreGui)
  1921.         a.Name = espplr.Name
  1922.         a.Adornee = n
  1923.         a.AlwaysOnTop = true
  1924.         a.ZIndex = 0
  1925.         a.Size = n.Size
  1926.         a.Transparency = 0.7
  1927.         local resetting = false
  1928.         if espplr.TeamColor == _players.LocalPlayer.TeamColor then
  1929.             a.Color = BrickColor.new("Lime green")
  1930.             else
  1931.             a.Color = BrickColor.new("Really red")
  1932.             end
  1933.             if espplr.Character and espplr.Character:FindFirstChild('Head') then
  1934.             local BillboardGui = Instance.new("BillboardGui", game.CoreGui)
  1935.             local TextLabel = Instance.new("TextLabel")
  1936.             BillboardGui.Adornee = espplr.Character.Head
  1937.             BillboardGui.Name = espplr.Name
  1938.             BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  1939.             BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  1940.             BillboardGui.AlwaysOnTop = true
  1941.             TextLabel.Parent = BillboardGui
  1942.             TextLabel.BackgroundTransparency = 1
  1943.             TextLabel.Position = UDim2.new(0, 0, 0, -50)
  1944.             TextLabel.Size = UDim2.new(0, 100, 0, 100)
  1945.             TextLabel.Font = Enum.Font.SourceSansSemibold
  1946.             TextLabel.TextSize = 20
  1947.             TextLabel.TextColor3 = Color3.new(1, 1, 1)
  1948.             TextLabel.TextStrokeTransparency = 0
  1949.             TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  1950.             espplr.Character:WaitForChild("Humanoid").Died:connect(function()
  1951.             BillboardGui:Destroy() a:Destroy() end)
  1952.             _players.PlayerRemoving:connect(function(player)
  1953.             if player.Name == espplr.Name then
  1954.             BillboardGui:Destroy() a:Destroy()
  1955.             end end)
  1956.             game:GetService("RunService").RenderStepped:Connect(function()
  1957.             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
  1958.             local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude)
  1959.             TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else
  1960.             BillboardGui:Destroy() a:Destroy() end end)
  1961.             end
  1962.         end
  1963.     end
  1964. end
  1965.     end)
  1966.     end
  1967. end
  1968. end)
  1969.  
  1970. addcmd('noesp', 'removes esp',{'unesp'},
  1971. function(args, speaker)
  1972. if speaker.userId ~= LP.userId then
  1973. lponly(speaker)
  1974. else
  1975.     local players = getPlayer(args[1], speaker)
  1976.     for i,v in pairs(players)do
  1977.     spawn(function()
  1978.     for _, child in pairs( game["CoreGui"]:GetChildren()) do
  1979.     if child.Name == gPlayers[v].Name then
  1980.     child:Destroy()
  1981.     end
  1982. end end) end end end)
  1983.  
  1984. addcmd('nofire', 'extinguish a player',{'unfire'},
  1985. function(args, speaker)
  1986.     local players = getPlayer(args[1], speaker)
  1987.     for i,v in pairs(players)do
  1988.         local pchar=_char(v)
  1989.         for j,v1 in pairs(pchar:GetDescendants()) do
  1990.         if v1:IsA("Fire") then
  1991.         v1:Destroy()
  1992. end end end end)
  1993.  
  1994. addcmd('shiny', 'makes a player shine',{},
  1995. function(args, speaker)
  1996. local players = getPlayer(args[1], speaker)
  1997. for i,v in pairs(players)do
  1998. spawn(function()
  1999. local pchar=_char(v)
  2000. for i,v in pairs(pchar:GetChildren()) do
  2001. if v.ClassName == "Decal" or v.ClassName == "Texture" then
  2002. v:Destroy() end
  2003. if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
  2004. v.Reflectance = 1
  2005. v.Material = "Plastic"
  2006. end
  2007. end
  2008. end)
  2009. end
  2010. end)
  2011.  
  2012. addcmd('light', 'givs em light',{},
  2013. function(args, speaker)
  2014.     local players = getPlayer(args[1], speaker)
  2015.     for i,v in pairs(players)do
  2016.     spawn(function()
  2017.         local pchar=_char(v)
  2018.         for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  2019.             if v1:IsA("PointLight") then
  2020.                 v1:Destroy()
  2021.             end
  2022.         end
  2023.         local light = Instance.new("PointLight", pchar.HumanoidRootPart)
  2024.         light.Range = 12
  2025.         light.Brightness = 3
  2026.         if not args[2] then return end
  2027.         light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  2028.         light.Range = 12
  2029.         light.Brightness = 3
  2030.         end)
  2031.     end
  2032. end)
  2033.  
  2034. addcmd('begone', 'BEGONE THOT',{'thot'},
  2035. function(args, speaker)
  2036.     local players = getPlayer(args[1], speaker)
  2037.     for i,v in pairs(players)do
  2038.     spawn(function()
  2039.         local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
  2040.             local pchar=_char(v)
  2041.         thotbottle.Name = 'THOT BEGONE'
  2042.         thotbottle.Handle:Destroy()
  2043.         execCmd('freeze '..gPlayers[v].Name)
  2044.         execCmd('name '..gPlayers[v].Name..' THOT')
  2045.         execCmd('spasm '..gPlayers[v].Name)
  2046.         thotbottle.Parent = pchar
  2047.         thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7))
  2048.         local cf = pchar.HumanoidRootPart.CFrame
  2049.         local newcf = cf + cf.lookVector * 6
  2050.         thotbottle.Head.CFrame = newcf
  2051.         local s = Instance.new("Sound")
  2052.         s.Name = "BEGONE"
  2053.         s.SoundId = "http://www.roblox.com/asset/?id=1095911222"
  2054.         s.Volume = 10
  2055.         s.Parent = thotbottle
  2056.         s:play()
  2057.         local d = Instance.new("Sound")
  2058.         d.Name = "WuOOOH"
  2059.         d.SoundId = "http://www.roblox.com/asset/?id=253143032"
  2060.         d.Volume = 5
  2061.         d.Parent = pchar
  2062.         wait(4)
  2063.         if gPlayers[v] then
  2064.         execCmd('thaw '..gPlayers[v].Name)
  2065.         execCmd('fling '..gPlayers[v].Name)
  2066.         thotbottle:Destroy()
  2067.         d:play()
  2068.         end if gPlayers[v] then
  2069.         wait(3)
  2070.         execCmd('explode '..gPlayers[v].Name)
  2071.         pchar:BreakJoints() end
  2072.         end)
  2073.     end
  2074. end)
  2075.  
  2076. addcmd('glowstick', 'givs em glo stik',{},
  2077. function(args, speaker)
  2078.     local players = getPlayer(args[1], speaker)
  2079.     for i,v in pairs(players)do
  2080.     spawn(function()
  2081.     System = {}
  2082. System.Create = function(a, c)
  2083.     local e = Instance.new(a)
  2084.     for d, a in pairs(c) do
  2085.         local b, a = ypcall(function()
  2086.             return e[d]
  2087.         end)
  2088.         if b then
  2089.             e[d] = c[d]
  2090.         end
  2091.     end
  2092.     return e
  2093. end
  2094. function b(d, b)
  2095.     local c = getfenv(d)
  2096.     local a = setmetatable({}, {
  2097.         __index = function(a, a)
  2098.             if a:lower() == 'script' then
  2099.                 return b
  2100.             else
  2101.                 return c[a]
  2102.             end
  2103.         end
  2104.     })
  2105.     setfenv(d, a)
  2106.     ypcall(function()
  2107.         d()
  2108.     end)
  2109. end
  2110. c = {}
  2111. mas = Instance.new("Model",game:GetService("Lighting"))
  2112. mas.Name = "CompiledModel"
  2113. o1 = System.Create("Tool",{
  2114. ["Name"] = "Glow Stick",
  2115. ["Parent"] = mas,
  2116. ["GripPos"] = Vector3.new(0, -0.300000012, 0),
  2117. ["CanBeDropped"] = false,
  2118. })
  2119. o2 = System.Create("Part",{
  2120. ["Name"] = "Handle",
  2121. ["Parent"] = o1,
  2122. ["Transparency"] = 0.10000000149012,
  2123. ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056),
  2124. ["Rotation"] = Vector3.new(-180, 0, 0),
  2125. ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  2126. ["FormFactor"] = Enum.FormFactor.Custom,
  2127. ["Size"] = Vector3.new(0.200000033, 1.80000019, 1),
  2128. ["BottomSurface"] = Enum.SurfaceType.Weld,
  2129. ["TopSurface"] = Enum.SurfaceType.Weld,
  2130. ["Material"] = "Neon",
  2131. })
  2132. o3 = System.Create("PointLight",{
  2133. ["Parent"] = o2,
  2134. ["Brightness"] = 8,
  2135. ["Range"] = 14,
  2136. })
  2137. o4 = System.Create("CylinderMesh",{
  2138. ["Parent"] = o2,
  2139. })
  2140. if not args[2] then
  2141. o2.Color = Color3.new(1,1,1)
  2142. o3.Color = Color3.new(1,1,1) else
  2143. o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  2144. o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
  2145. mas.Parent = workspace
  2146. mas:MakeJoints()
  2147. local b = mas:GetChildren()
  2148. for a = 1, #b do
  2149.     b[a].Parent = gPlayers[v].Backpack
  2150.     ypcall(function()
  2151.         b[a]:MakeJoints()
  2152.     end)
  2153. end
  2154. mas:Destroy()
  2155. for a = 1, #c do
  2156.     coroutine.resume(c[a])
  2157. end
  2158.         end)
  2159.     end
  2160. end)
  2161.  
  2162. addcmd('keybind','Binds a command to a key',{},
  2163. function(args,speaker)
  2164.     if speaker.userId ~= LP.userId then
  2165.     lponly(speaker) else
  2166.     if #args < 2 then return end
  2167.     local key = string.lower(args[1])
  2168.     if #key > 1 or key == cmdbarbind then return end
  2169.     local cmdText = GLS(false,1)
  2170.     local cas = game:GetService("ContextActionService")
  2171.     cas:BindAction("Keybind"..key,function(action,state,obj)
  2172.         if state == Enum.UserInputState.Begin then
  2173.             execCmd(cmdText,speaker)
  2174.         end
  2175.     end,false,key)
  2176.     Notify("Binded "..cmdText.." to "..key)
  2177. end
  2178. end)
  2179.  
  2180. addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
  2181. function(args,speaker)
  2182.     if speaker.userId ~= LP.userId then
  2183.     lponly(speaker) else
  2184.     if #args < 1 then return end
  2185.     local key = string.lower(args[1])
  2186.     game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
  2187.     Notify("Unbinded "..key)
  2188. end
  2189. end)
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195. addcmd('trail', 'spawns a trail behind a player',{},
  2196. function(args, speaker)
  2197.     local players = getPlayer(args[1], speaker)
  2198.     for i,v in pairs(players)do
  2199.     spawn(function()
  2200.         local pchar=_char(v)
  2201.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2202.             if v1.Name == "TRAIL" then
  2203.                 v1:Destroy()
  2204.             end
  2205. end
  2206. if args[2] then
  2207. color1 = Color3.fromRGB(args[2],args[3],args[4])
  2208. color2 = Color3.new(0,0,0) else
  2209. color1 = Color3.new(1,1,1)
  2210. color2 = Color3.new(0,0,0) end
  2211.         if pchar:FindFirstChild("Torso") then
  2212. local e = Instance.new("Trail", pchar.Torso)
  2213. e.Name = "TRAIL"
  2214. e.FaceCamera = true
  2215. e.Color = ColorSequence.new(color1,color2)
  2216. e.Attachment0 = pchar.Torso.WaistCenterAttachment
  2217. e.Attachment1 = pchar.Torso.NeckAttachment
  2218. end
  2219.         end)
  2220.     end
  2221. end)
  2222.  
  2223. addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
  2224. function(args, speaker)
  2225.     local players = getPlayer(args[1], speaker)
  2226.     for i,v in pairs(players)do
  2227.     spawn(function()
  2228.         local pchar=_char(v)
  2229.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  2230.             if v1.Name == "TRAIL" then
  2231.                 v1:Destroy()
  2232.             end
  2233.         end
  2234.         end)
  2235.     end
  2236. end)
  2237.  
  2238. local fa = false
  2239. local cam = workspace.CurrentCamera
  2240. local cam1 = 0
  2241. local cam2 = 0
  2242. local cam3 = 0
  2243. local k1 = false
  2244. local k2 = false
  2245. local k3 = false
  2246. local k4 = false
  2247. local k5 = false
  2248. local k6 = false
  2249. cs = 0.5
  2250. function movecam()
  2251.     local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  2252.     if fa == false then
  2253.         repeat
  2254.             if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2255.                 local fp = fc.Position
  2256.                 fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
  2257.                 fa = true
  2258.             end
  2259.             game:GetService('RunService').RenderStepped:Wait()
  2260.         until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  2261.         fa = false
  2262.     end
  2263. end
  2264. function kp1(inputObject, gameProcessedEvent)
  2265.     if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2266.         if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  2267.             k1 = true
  2268.             cam1 = cs end
  2269.         if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  2270.             k2 = true
  2271.             cam1 = (cs*-1) end
  2272.         if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  2273.             k3 = true
  2274.             cam2 = cs end
  2275.         if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  2276.             k4 = true
  2277.             cam2 = (cs*-1) end
  2278.         if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  2279.             k5 = true
  2280.             cam3 = cs end
  2281.         if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  2282.             k6 = true
  2283.             cam3 = (cs*-1) end
  2284.     end
  2285. end
  2286. game:GetService("UserInputService").InputBegan:connect(kp1)
  2287. function kp2(inputObject, gameProcessedEvent)
  2288.     if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2289.         if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  2290.             k1 = false
  2291.             if k2 == false then
  2292.                 cam1 = 0
  2293.             end
  2294.         end
  2295.         if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  2296.             k2 = false
  2297.             if k1 == false then
  2298.                 cam1 = 0
  2299.             end
  2300.         end
  2301.         if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  2302.             k3= false
  2303.             if k4== false then
  2304.                 cam2 = 0
  2305.             end
  2306.         end
  2307.         if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  2308.             k4 = false
  2309.             if k3 == false then
  2310.                 cam2 = 0
  2311.             end
  2312.         end
  2313.         if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  2314.             k5 = false
  2315.             if k6 == false then
  2316.                 cam3 = 0
  2317.             end
  2318.         end
  2319.         if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  2320.             k6 = false
  2321.             if k5 == false then
  2322.                 cam3 = 0
  2323.             end
  2324.         end
  2325.     end
  2326. end
  2327. game:GetService("UserInputService").InputEnded:connect(kp2)
  2328. function FC()
  2329.     if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2330.         game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
  2331.         local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
  2332.         fc.CanCollide = false
  2333.         fc.Anchored = true
  2334.         fc.Transparency = 1
  2335.         fc.Size = Vector3.new(1,1,1)
  2336.         fc.Name = 'xFC'
  2337.         fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
  2338.         local cam = workspace.CurrentCamera
  2339.         cam.CameraSubject = fc
  2340.         cam.CameraType = 'Custom'
  2341.         movecam()
  2342.     end end
  2343. function UFC()
  2344.     game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
  2345.     if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2346.         game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
  2347.         local cam = workspace.CurrentCamera
  2348.         cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
  2349.         cam.CameraType = 'Custom'
  2350.     end end
  2351.  
  2352. addcmd('freecam','freecam',{'fc'},
  2353. function(args, speaker)
  2354. if speaker.userId ~= LP.userId then
  2355. lponly(speaker)
  2356. else
  2357. FC()
  2358. end
  2359. end)
  2360.  
  2361. addcmd('fixcam','fixes camera',{},
  2362. function(args, speaker)
  2363. if speaker.userId ~= LP.userId then
  2364. lponly(speaker)
  2365. else
  2366. workspace.CurrentCamera:remove()
  2367. wait(.1)
  2368. workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid
  2369. workspace.CurrentCamera.CameraType = "Custom"
  2370. LP.CameraMinZoomDistance = 0.5
  2371. LP.CameraMaxZoomDistance = 400
  2372. LP.CameraMode = "Classic"
  2373. end
  2374. end)
  2375.  
  2376. addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
  2377. function(args, speaker)
  2378.     local players = getPlayer(args[1], speaker)
  2379.     for i,v in pairs(players)do
  2380.         local pchar=_char(v)
  2381.                 local char = pchar
  2382.                 local hum = char.Humanoid
  2383.                 for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
  2384.                 hum.HealthDisplayDistance = 0
  2385.                 --execcmd god
  2386.                 local stake = Instance.new("Part",char)
  2387.                 stake.Anchored = true
  2388.                 stake.BrickColor = BrickColor.new("Reddish brown")
  2389.                 stake.Material = "Wood"
  2390.                 stake.Size = Vector3.new(1,7,1)
  2391.                 stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1)
  2392.                 local hay = Instance.new("Part",char)
  2393.                 hay.Anchored = true
  2394.                 hay.Material = "Grass"
  2395.                 hay.BrickColor = BrickColor.new("New Yeller")
  2396.                 hay.Size = Vector3.new(6,1,5)
  2397.                 hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0)
  2398.                 local hay2 = hay:clone()
  2399.                 hay2.Parent = char
  2400.                 hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0)
  2401.                 local fire = Instance.new("Fire",hay)
  2402.                 fire.Enabled = false
  2403.                 fire.Heat = 25
  2404.                 fire.Size = 2
  2405.                 fire.Color = Color3.new(170/255,85/255,0)
  2406.                 local smoke = Instance.new("Smoke",hay)
  2407.                 smoke.Enabled = false
  2408.                 smoke.Opacity = 1
  2409.                 smoke.RiseVelocity = 25
  2410.                 smoke.Size = 15
  2411.                 smoke.Color = Color3.new(0,0,0)
  2412.                 local light = Instance.new("PointLight",hay)
  2413.                 light.Color = Color3.new(170/255,85/255,0)
  2414.                 light.Range = 0
  2415.                 light.Brightness = 1
  2416.                 light.Enabled = false
  2417.                 --[[]]
  2418.                 local crack = Instance.new("Sound",hay)
  2419.                 crack.SoundId = "rbxassetid://239443642"
  2420.                 crack.Looped = true
  2421.                 crack.Volume = 0
  2422.                 local scream = Instance.new("Sound",char.Torso)
  2423.                 scream.SoundId = "rbxassetid://264227115"
  2424.                 scream.Looped = true
  2425.                 scream.Volume = 0
  2426.                 --]]
  2427.                 wait()
  2428.                 char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5)
  2429.                 char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5)
  2430.                
  2431.                 local bods = char['Body Colors']
  2432.                 local colors = {
  2433.                     --"Really red";
  2434.                     "Bright red";
  2435.                     "Crimson";
  2436.                     "Maroon";
  2437.                     "Really black";
  2438.                 }
  2439.                
  2440.                 fire.Enabled=true
  2441.                 smoke.Enabled=true
  2442.                 light.Enabled=true
  2443.                 crack:Play()
  2444.                 scream:Play()
  2445.                 scream.Pitch = 0.8
  2446.                 --scream.Volume = 0.5
  2447.                 for i=1,30 do
  2448.                     crack.Volume = crack.Volume+(1/30)
  2449.                     scream.Volume = crack.Volume
  2450.                     fire.Size=i
  2451.                     smoke.RiseVelocity=i-5
  2452.                     smoke.Size=i/2
  2453.                     light.Range=i*2
  2454.                     wait(1)
  2455.                 end
  2456.                
  2457.                 for i=1,#colors do
  2458.                     bods.HeadColor=BrickColor.new(colors[i])
  2459.                     bods.LeftArmColor=BrickColor.new(colors[i])
  2460.                     bods.LeftLegColor=BrickColor.new(colors[i])
  2461.                     bods.RightArmColor=BrickColor.new(colors[i])
  2462.                     bods.RightLegColor=BrickColor.new(colors[i])
  2463.                     bods.TorsoColor=BrickColor.new(colors[i])
  2464.                     hay.BrickColor=BrickColor.new(colors[i])
  2465.                     hay2.BrickColor=BrickColor.new(colors[i])
  2466.                     stake.BrickColor=BrickColor.new(colors[i])
  2467.                     wait(5)
  2468.                 end
  2469.                 wait(10)
  2470.                 scream.Volume = 0.5
  2471.                 wait(1)
  2472.                 scream:Stop()
  2473.                 char:BreakJoints()
  2474.             end
  2475.         end)
  2476.  
  2477. addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
  2478. function(args, speaker)
  2479. if speaker.userId ~= LP.userId then
  2480. lponly(speaker)
  2481. else
  2482. UFC()
  2483. end
  2484. end)
  2485.  
  2486. addcmd('freecamspeed','unfreecam',{'fcspeed'},
  2487. function(args, speaker)
  2488. if speaker.userId ~= LP.userId then
  2489. lponly(speaker)
  2490. else
  2491. if isNumber(args[1]) then
  2492. cs = args[1]
  2493. end end end)
  2494.  
  2495. addcmd('nolight', 'no more light',{'unlight'},
  2496. function(args, speaker)
  2497.     local players = getPlayer(args[1], speaker)
  2498.     for i,v in pairs(players)do
  2499.         local pchar=_char(v)
  2500.         for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  2501.             if v1:IsA("PointLight") then
  2502.                 v1:Destroy()
  2503.             end
  2504.         end
  2505.     end
  2506. end)
  2507.  
  2508. addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
  2509. function(args, speaker)
  2510.     local players = getPlayer(args[1], speaker)
  2511.     for i,v in pairs(players)do
  2512.         local pchar=_char(v)
  2513.           scale = 10
  2514.  
  2515. function weld(tab)
  2516.         local last = nil
  2517.         for i,v in pairs(tab) do
  2518.                 if v:IsA("BasePart") then
  2519.                         if last then
  2520.                                 local w = Instance.new("Weld",last)
  2521.                                 w.Part0 = w.Parent
  2522.                                 w.Part1 = v
  2523.                                 local pos = last.CFrame:toObjectSpace(v.CFrame)
  2524.                                 w.C0 = pos
  2525.                         end
  2526.                         last = v
  2527.                 end
  2528.         end
  2529. end        
  2530.  
  2531. function makeball(pos)
  2532. local model = Instance.new("Model",workspace)
  2533. model.Name = gPlayers[v].Name .. "ball"
  2534. local rand = BrickColor.Random()
  2535. pchar.Head.Anchored = true
  2536. for i=0,340,20 do
  2537.         wait()
  2538.         for z=-90,70,20 do
  2539.                 local p = Instance.new("Part",model)
  2540.                 p.formFactor = "Custom"
  2541.                 p.BrickColor = rand
  2542.                 p.Transparency = 0.5
  2543.                 p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
  2544.                 p.Anchored = true
  2545.                 p.TopSurface = 0
  2546.                 p.BottomSurface = 0
  2547.                 p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
  2548.                 p:breakJoints()
  2549.         end
  2550. end
  2551. weld(model:children())
  2552. for i,v in pairs(model:children()) do v.Anchored = false end
  2553. pchar.Head.Anchored = false
  2554. model:MakeJoints()
  2555. end
  2556.  
  2557.         if pchar then
  2558.                 makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
  2559.         end
  2560.     end
  2561. end)
  2562.  
  2563. addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
  2564. function(args, speaker)
  2565.     local players = getPlayer(args[1], speaker)
  2566.     for i,v in pairs(players)do
  2567.     local pchar=_char(v)
  2568.     for _, child in pairs( workspace:GetChildren()) do
  2569.     if child.Name == gPlayers[v].Name .. "ball" then
  2570.         child:Destroy()
  2571.     end
  2572. end
  2573. end
  2574. end)
  2575.  
  2576. local fastwait = function(time)
  2577.     local expire = tick()+(time or 0.02999999999999999889)
  2578.     while game:GetService("RunService").Heartbeat:wait() do
  2579.         if tick() >= expire then return true end
  2580.     end
  2581. end
  2582.  
  2583. function arrest(name)
  2584.     spawn(function()
  2585.     local p = game:GetService("Players"):FindFirstChild(name)
  2586.     local char = p.Character
  2587.                         local torso = p.Character:FindFirstChild("HumanoidRootPart")
  2588.                         local humanoid = p.Character:FindFirstChild("Humanoid")
  2589.                         if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then
  2590.                             local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
  2591.                             if van then
  2592.                                 local function check()
  2593.                                     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
  2594.                                         return false
  2595.                                     else
  2596.                                         return true
  2597.                                     end
  2598.                                 end
  2599.                                
  2600.                                 --local driver = van.Driver
  2601.                                 --local grabber = van.Clown
  2602.                                 local primary = van.Primary
  2603.                                 --local door = van.Door
  2604.                                 local tPos = torso.CFrame
  2605.                                
  2606.                                 local sound = Instance.new("Sound",primary)
  2607.                                 sound.SoundId = "rbxassetid://258529216"
  2608.                                 sound.Looped = true
  2609.                                 sound:Play()
  2610.                                
  2611.                                 local chuckle = Instance.new("Sound",primary)
  2612.                                 chuckle.SoundId = "rbxassetid://175964948"
  2613.                                 chuckle.Looped = true
  2614.                                 chuckle.Volume = 0.5
  2615.                                 chuckle:Play()
  2616.                                
  2617.                                 van.PrimaryPart = van.Primary
  2618.                                 van.Name = "ADONIS_VAN"
  2619.                                 van.Parent = workspace
  2620.                                 humanoid.Name = "NoResetForYou"
  2621.                                 humanoid.WalkSpeed = 0
  2622.                                 sound.Pitch = 1.3
  2623.                                
  2624.                                 local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
  2625.                                 music.Name = "COPSONG"
  2626.                                 music.SoundId = "rbxassetid://132007810"
  2627.                                 music.Volume = 1
  2628.                                 music.Looped = true
  2629.                                 if not music.Playing then music:Play() end
  2630.                                
  2631.                                 spawn(function()
  2632.                                     while fastwait(0.2) do
  2633.                                         van.Body.Lightbar.Red.PointLight.Enabled = true
  2634.                                         van.Body.Lightbar.Blue.PointLight.Enabled = false
  2635.                                         fastwait(0.2)
  2636.                                         van.Body.Lightbar.Red.PointLight.Enabled = false
  2637.                                         van.Body.Lightbar.Blue.PointLight.Enabled = true
  2638.                                     end
  2639.                                 end)
  2640.                                
  2641.                                 for i = 1,200 do
  2642.                                     if not check() then
  2643.                                         break
  2644.                                     else
  2645.                                         van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  2646.                                         fastwait(0.001*(i/5))
  2647.                                     end
  2648.                                 end
  2649.                                
  2650.                                 sound.Pitch = 0.9
  2651.                                
  2652.                                 fastwait(0.5)
  2653.                                 if check() then
  2654.                                     --door.Transparency = 1
  2655.                                 end
  2656.                                
  2657.                                 local freeze = Instance.new("Sound",primary)
  2658.                                 freeze.SoundId = "rbxassetid://163732279"
  2659.                                 freeze.Volume = 5
  2660.                                 freeze:Play()
  2661.                                
  2662.                                 fastwait(3)
  2663.                                
  2664.                                 if check() then
  2665.                                     torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0))
  2666.                                 end
  2667.                                
  2668.                                 fastwait(0.5)
  2669.                                 if check() then
  2670.                                     --door.Transparency = 0
  2671.                                 end
  2672.                                 fastwait(0.5)
  2673.                                
  2674.                                 sound.Pitch = 1.3
  2675.                                 local gui = Instance.new("ScreenGui")
  2676.                                 local frame = Instance.new("Frame",gui)
  2677.                                 frame.BackgroundTransparency = 1
  2678.                                 frame.BackgroundColor3 = Color3.new(0,0,0)
  2679.                                 frame.Position = UDim2.new(0,0,0,-36)
  2680.                                 frame.Size = UDim2.new(1,0,1,36)
  2681.                                 spawn(function()
  2682.                                     for i = 1,0,-0.01 do
  2683.                                         frame.BackgroundTransparency = i
  2684.                                         fastwait(0.1)
  2685.                                     end
  2686.                                     frame.BackgroundTransparency = 0
  2687.                                 end)
  2688.                                
  2689.                                 p.CameraMaxZoomDistance = 0.5
  2690.                                
  2691.                                 torso.Anchored = true
  2692.                                
  2693.                                 for i = 1,400 do
  2694.                                     if not check() then
  2695.                                         break
  2696.                                     else
  2697.                                         van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  2698.                                         torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0))
  2699.                                         fastwait(0.1/(i*5))
  2700.                                        
  2701.                                         if i == 270 then
  2702.                                             music.Volume = 5
  2703.                                         end
  2704.                                     end
  2705.                                 end
  2706.                                
  2707. local function KICK(P)
  2708.     spawn(function()
  2709.         if not FindTable(WL, P.Name) then
  2710.         for i = 1,5 do
  2711.             if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2712.                 P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2713.                 local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2714.                 spawn(function()
  2715.                     repeat fastwait()
  2716.                         if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2717.                     until not game:GetService("Players"):FindFirstChild(P.Name)
  2718.                 end)
  2719.                 P.Character.HumanoidRootPart.Anchored = true
  2720.             end
  2721.         end
  2722.         end
  2723.     end)
  2724. end
  2725.                                
  2726.                                 if p and p.Parent == game:GetService("Players") then
  2727.                                     if p == game:GetService("Players").LocalPlayer then
  2728.                                         fastwait(5)
  2729.                                     end
  2730.                                     torso.Anchored = false
  2731.                                     p.CharacterAdded:Connect(function()
  2732.                                         fastwait()
  2733.                                         KICK(p)
  2734.                                     end)
  2735.                                     KICK(p)
  2736.                                 end
  2737.                                 fastwait(0.5)
  2738.                                 pcall(function() van:Destroy() end)
  2739.                                 pcall(function() gui:Destroy() end)
  2740.                                 if not workspace:FindFirstChild("ADONIS_VAN") then
  2741.                                     music:Destroy()
  2742.                                 end
  2743.                             end
  2744.                         end
  2745.     end)
  2746. end
  2747.  
  2748. addcmd('arrest', 'arrests player',{},
  2749. function(args, speaker)
  2750.     local players = getPlayer(args[1], speaker)
  2751.     for i,v in pairs(players)do
  2752.         arrest(gPlayers[v].Name)
  2753.     end
  2754. end)
  2755.  
  2756. addcmd('nodummies', 'clears dummies',{},
  2757. function(args, speaker)
  2758. for _, child in pairs( workspace:GetChildren()) do
  2759.     if child:FindFirstChild('isdummy') then
  2760.         child:Destroy()
  2761.     end
  2762. end
  2763. end)
  2764.  
  2765. addcmd('dummy','Make a dummy(usage: ;dummy name)',{},
  2766. function(args, speaker)
  2767.          local name = GLS(false, 0)
  2768.         local lchar = game:GetService('Players').LocalPlayer
  2769.         local Model0 = Instance.new("Model")
  2770.         local Part1 = Instance.new("Part")
  2771.         local SpecialMesh2 = Instance.new("SpecialMesh")
  2772.         local Decal3 = Instance.new("Decal")
  2773.         local Part4 = Instance.new("Part")
  2774.         local Motor5 = Instance.new("Motor")
  2775.         local Motor6 = Instance.new("Motor")
  2776.         local Motor7 = Instance.new("Motor")
  2777.         local Motor8 = Instance.new("Motor")
  2778.         local Motor9 = Instance.new("Motor")
  2779.         local Part10 = Instance.new("Part")
  2780.         local Part11 = Instance.new("Part")
  2781.         local Part12 = Instance.new("Part")
  2782.         local Part13 = Instance.new("Part")
  2783.         local dum = Instance.new("BoolValue")
  2784.         dum.Name = "isdummy"
  2785.         dum.Parent = Model0
  2786.         local Humanoid14 = Instance.new("Humanoid")
  2787.         Model0.Name = name
  2788.         Model0.Parent = workspace
  2789.         Model0.PrimaryPart = Part1
  2790.         Part1.Name = "Head"
  2791.         Part1.Parent = Model0
  2792.         Part1.BrickColor = BrickColor.new("Bright yellow")
  2793.         Part1.CanCollide = false
  2794.         Part1.FormFactor = Enum.FormFactor.Symmetric
  2795.         Part1.Friction = 0
  2796.         Part1.Size = Vector3.new(2, 1, 1)
  2797.         Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2798.         Part1.TopSurface = Enum.SurfaceType.Smooth
  2799.         Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2800.         Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75)
  2801.         Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2802.         SpecialMesh2.Parent = Part1
  2803.         SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  2804.         SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  2805.         Decal3.Name = "face"
  2806.         Decal3.Parent = Part1
  2807.         Decal3.Texture = "rbxasset://textures/face.png"
  2808.         Part4.Name = "Torso"
  2809.         Part4.Parent = Model0
  2810.         Part4.BrickColor = BrickColor.new("Bright blue")
  2811.         Part4.CanCollide = false
  2812.         Part4.FormFactor = Enum.FormFactor.Symmetric
  2813.         Part4.Friction = 0
  2814.         Part4.Size = Vector3.new(2, 2, 1)
  2815.         Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2816.         Part4.LeftSurface = Enum.SurfaceType.Weld
  2817.         Part4.RightSurface = Enum.SurfaceType.Weld
  2818.         Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  2819.         Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75)
  2820.         Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  2821.         Motor5.Name = "Right Shoulder"
  2822.         Motor5.Parent = Part4
  2823.         Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2824.         Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2825.         Motor5.Part0 = Part4
  2826.         Motor5.Part1 = Part11
  2827.         Motor5.DesiredAngle = 0.083800852298737
  2828.         Motor5.MaxVelocity = 0.15000000596046
  2829.         Motor6.Name = "Left Shoulder"
  2830.         Motor6.Parent = Part4
  2831.         Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2832.         Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2833.         Motor6.Part0 = Part4
  2834.         Motor6.Part1 = Part10
  2835.         Motor6.DesiredAngle = 0.083800852298737
  2836.         Motor6.MaxVelocity = 0.15000000596046
  2837.         Motor7.Name = "Left Hip"
  2838.         Motor7.Parent = Part4
  2839.         Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2840.         Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2841.         Motor7.Part0 = Part4
  2842.         Motor7.Part1 = Part12
  2843.         Motor7.DesiredAngle = -0.083800852298737
  2844.         Motor7.MaxVelocity = 0.10000000149012
  2845.         Motor8.Name = "Neck"
  2846.         Motor8.Parent = Part4
  2847.         Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2848.         Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2849.         Motor8.Part0 = Part4
  2850.         Motor8.Part1 = Part1
  2851.         Motor8.MaxVelocity = 0.10000000149012
  2852.         Motor9.Name = "Right Hip"
  2853.         Motor9.Parent = Part4
  2854.         Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2855.         Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2856.         Motor9.Part0 = Part4
  2857.         Motor9.Part1 = Part13
  2858.         Motor9.DesiredAngle = -0.083800852298737
  2859.         Motor9.MaxVelocity = 0.10000000149012
  2860.         Part10.Name = "Left Arm"
  2861.         Part10.Parent = Model0
  2862.         Part10.BrickColor = BrickColor.new("Bright yellow")
  2863.         Part10.CanCollide = false
  2864.         Part10.FormFactor = Enum.FormFactor.Symmetric
  2865.         Part10.Size = Vector3.new(1, 2, 1)
  2866.         Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2867.         Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2868.         Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75)
  2869.         Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2870.         Part11.Name = "Right Arm"
  2871.         Part11.Parent = Model0
  2872.         Part11.BrickColor = BrickColor.new("Bright yellow")
  2873.         Part11.CanCollide = false
  2874.         Part11.FormFactor = Enum.FormFactor.Symmetric
  2875.         Part11.Size = Vector3.new(1, 2, 1)
  2876.         Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2877.         Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2878.         Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75)
  2879.         Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2880.         Part12.Name = "Left Leg"
  2881.         Part12.Parent = Model0
  2882.         Part12.BrickColor = BrickColor.new("Br. yellowish green")
  2883.         Part12.CanCollide = false
  2884.         Part12.FormFactor = Enum.FormFactor.Symmetric
  2885.         Part12.Size = Vector3.new(1, 2, 1)
  2886.         Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2887.         Part12.BottomSurface = Enum.SurfaceType.Smooth
  2888.         Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2889.         Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75)
  2890.         Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2891.         Part13.Name = "Right Leg"
  2892.         Part13.Parent = Model0
  2893.         Part13.BrickColor = BrickColor.new("Br. yellowish green")
  2894.         Part13.CanCollide = false
  2895.         Part13.FormFactor = Enum.FormFactor.Symmetric
  2896.         Part13.Size = Vector3.new(1, 2, 1)
  2897.         Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2898.         Part13.BottomSurface = Enum.SurfaceType.Smooth
  2899.         Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2900.         Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75)
  2901.         Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2902.         Humanoid14.Parent = Model0
  2903.         Humanoid14.RightLeg = Part13
  2904.         Humanoid14.LeftLeg = Part12
  2905.         Humanoid14.Torso = Part4
  2906.         Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p)
  2907.         Model0.Parent = game:GetService('Workspace')
  2908. end)
  2909.  
  2910. addcmd('loopkill', 'rip person',{'lkill'},
  2911. function(args, speaker)
  2912.     local players = getPlayer(args[1], speaker)
  2913.     for i,v in pairs(players)do
  2914.         if not FindTable(loopkillT, _players[v].Name) then
  2915.             table.insert(loopkillT, _players[v].Name)
  2916.             if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
  2917.             Notify('Loopkilling player(s)') end end end end)
  2918.  
  2919. addcmd('unloopkill', 'un rip person',{'unlkill'},
  2920. function(args, speaker)
  2921.     local players = getPlayer(args[1], speaker)
  2922.     for i,v in pairs(players)do
  2923.         if FindTable(loopkillT, _players[v].Name) then
  2924.             table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
  2925.             if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
  2926.             Notify('No longer loopkilling player(s)') end end end end)
  2927.  
  2928. addcmd('disabletools', 'removes their tools',{'loopremovetools'},
  2929. function(args, speaker)
  2930.     local players = getPlayer(args[1], speaker)
  2931.     for i,v in pairs(players)do
  2932.         if not FindTable(disabletoolsT, _players[v].Name) then
  2933.             table.insert(disabletoolsT, _players[v].Name)
  2934.             if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
  2935.             Notify('Disabled tools for player(s)') end end end end)
  2936.  
  2937. addcmd('enabletools', 'lets them have tools',{},
  2938. function(args, speaker)
  2939.     local players = getPlayer(args[1], speaker)
  2940.     for i,v in pairs(players)do
  2941.         if FindTable(disabletoolsT, _players[v].Name) then
  2942.             table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v])
  2943.             if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
  2944.             Notify('Enabled tools for player(s)') end end end end)
  2945.  
  2946. addcmd('refresh', 'refresh their player model',{'re'},
  2947. function(args, speaker)
  2948.     local players = getPlayer(args[1], speaker)
  2949.     for i,v in pairs(players)do
  2950.             refresh(_players[v])
  2951.             end end)
  2952.  
  2953. local fastwait = function(time)
  2954.     local expire = tick()+(time or 0.02999999999999999889)
  2955.     while game:GetService("RunService").Heartbeat:wait() do
  2956.         if tick() >= expire then return true end
  2957.     end
  2958. end
  2959.  
  2960. function gull(name)
  2961.     spawn(function()
  2962.     local char = game:GetService("Players")[name].Character
  2963.     char.PrimaryPart = char.HumanoidRootPart
  2964.    
  2965.     local tors = game:GetService("Players")[name].Character.HumanoidRootPart
  2966.     local initCFrame = tors.CFrame
  2967.    
  2968.     if char:FindFirstChild("Torso") then
  2969.         char.Torso.Anchored = true
  2970.     else
  2971.         char.UpperTorso.Anchored = true
  2972.     end
  2973.     char:FindFirstChildOfClass("Humanoid").Name = "Sad"
  2974.  
  2975.     local gull = Instance.new("Part")
  2976.     gull.Anchored = true
  2977.     gull.CanCollide = false
  2978.     gull.Position = Vector3.new(0,100000,0)
  2979.     local mesh = Instance.new("SpecialMesh",gull)
  2980.     mesh.MeshId = "http://www.roblox.com/asset/?id=272501436"
  2981.     mesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2982.     mesh.Scale = Vector3.new(10,10,10)
  2983.    
  2984.     local leftWing = Instance.new("Part",gull)
  2985.     leftWing.CanCollide = false
  2986.     local lmesh = Instance.new("SpecialMesh",leftWing)
  2987.     lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584"
  2988.     lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2989.     lmesh.Scale = Vector3.new(10,10,10)
  2990.     local leftMotor = Instance.new("Motor6D",gull)
  2991.     leftMotor.MaxVelocity = 1
  2992.     leftMotor.Part0 = gull
  2993.     leftMotor.Part1 = leftWing
  2994.     leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001)
  2995.    
  2996.     local rightWing = Instance.new("Part",gull)
  2997.     rightWing.CanCollide = false
  2998.     local rmesh = Instance.new("SpecialMesh",rightWing)
  2999.     rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651"
  3000.     rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  3001.     rmesh.Scale = Vector3.new(10,10,10)
  3002.     local rightMotor = Instance.new("Motor6D",gull)
  3003.     rightMotor.MaxVelocity = 1
  3004.     rightMotor.Part0 = gull
  3005.     rightMotor.Part1 = rightWing
  3006.     rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001)
  3007.    
  3008.     local sound = Instance.new("Sound",gull)
  3009.     sound.SoundId = "rbxassetid://160877039"
  3010.     sound.Volume = 10
  3011.     gull.Parent = workspace
  3012.  
  3013.     for i = 400,-1000,-2 do
  3014.         local der = 0.02*i
  3015.         local angle = math.atan(der/1)
  3016.         gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0)
  3017.         if i == 0 then sound:Play() end
  3018.         if i <= 0 then
  3019.             char:SetPrimaryPartCFrame(gull.CFrame)
  3020.             local nextAngle = -0.2*math.sin(0.05*math.pi*(i))
  3021.             leftMotor.DesiredAngle = -nextAngle
  3022.             leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001)
  3023.             rightMotor.DesiredAngle = nextAngle
  3024.             rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001)
  3025.         end
  3026.         game:GetService("RunService").RenderStepped:wait()
  3027.     end
  3028.    
  3029.     local function KICK(P)
  3030.     spawn(function()
  3031.         if not FindTable(WL, P.Name) then
  3032.         for i = 1,5 do
  3033.             if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  3034.                 P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  3035.                 local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  3036.                 spawn(function()
  3037.                     repeat wait()
  3038.                         if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  3039.                     until not game:GetService("Players"):FindFirstChild(P.Name)
  3040.                 end)
  3041.                 P.Character.HumanoidRootPart.Anchored = true
  3042.             end
  3043.         end
  3044.         end
  3045.     end)
  3046.     end
  3047.    
  3048.     if char:FindFirstChild("Torso") then
  3049.         char.Torso.Anchored = false
  3050.     else
  3051.         char.UpperTorso.Anchored = false
  3052.     end
  3053.    
  3054.     spawn(function()
  3055.     if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end
  3056.     game:GetService("Players")[name].CharacterAdded:Connect(function()
  3057.         wait()
  3058.         KICK(game:GetService("Players")[name])
  3059.     end)
  3060.     KICK(game:GetService("Players")[name])
  3061.     end)
  3062.    
  3063.         local go = Instance.new("BodyVelocity",gull)
  3064.         go.Velocity = Vector3.new(0,1000,0)
  3065.         go.MaxForce = Vector3.new(1000000,1000000,1000000)
  3066.         gull.Anchored = false
  3067.     end)
  3068. end
  3069.  
  3070. addcmd('seagull', 'seagulls player',{'gull'},
  3071. function(args, speaker)
  3072.     local players = getPlayer(args[1], speaker)
  3073.     for i,v in pairs(players)do
  3074.         gull(gPlayers[v].Name)
  3075.     end
  3076. end)
  3077.  
  3078. local song = nil
  3079. function zinniaKick(name)
  3080.     spawn(function()
  3081.             if song == nil or song.Parent == nil then
  3082.                 song = Instance.new("Sound",workspace)
  3083.                 song.SoundId = "rbxassetid://190423831"
  3084.                 song.Volume = 1
  3085.                 song.Looped = true
  3086.                 song:Play()
  3087.             end
  3088.             local zin = Instance.new("Part")
  3089.             zin.Name = "CuteZinnia"
  3090.             zin.Anchored = true
  3091.             zin.CanCollide = false
  3092.             zin.Locked = true
  3093.             local mesh = Instance.new("SpecialMesh")
  3094.             mesh.MeshId = "rbxassetid://1175670539"
  3095.             mesh.TextureId = "rbxassetid://1175670558"
  3096.             mesh.Scale = Vector3.new(0.05,0.05,0.05)
  3097.             mesh.Offset = Vector3.new(0,0.88,0)
  3098.             mesh.Parent = zin
  3099.             local char = game:GetService("Players")[name].Character
  3100.             char.PrimaryPart = char.HumanoidRootPart
  3101.             if char:FindFirstChild("Torso") then
  3102.                 char.Torso.Anchored = true
  3103.             else
  3104.                 char.UpperTorso.Anchored = true
  3105.             end
  3106.             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))
  3107.             zin.Parent = workspace
  3108.             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)})
  3109.             tween:Play()
  3110.             fastwait(3)
  3111.             for i = 50,1,-1 do
  3112.                 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))
  3113.                 fastwait()
  3114.             end
  3115.             char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  3116.             fastwait(1)
  3117.             local turns = 0
  3118.  
  3119.             while turns < 200 do
  3120.                 zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  3121.                 char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  3122.                 turns = turns + 1
  3123.                 fastwait()
  3124.             end
  3125.             for i = 1,10 do
  3126.                 zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  3127.                 char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  3128.                 fastwait()
  3129.             end
  3130.             local rX,rZ = 0,0
  3131.             repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
  3132.                 repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
  3133.                     local bv = Instance.new("BodyForce",char.HumanoidRootPart)
  3134.                     bv.Force = Vector3.new(rX,10000,rZ)
  3135.                     if char:FindFirstChild("Torso") then
  3136.                         char.Torso.Anchored = false
  3137.                     else
  3138.                         char.UpperTorso.Anchored = false
  3139.                     end
  3140.                     function KICK(P)
  3141.                         spawn(function()
  3142.                             if not FindTable(WL, P.Name) then
  3143.                                 for i = 1,5 do
  3144.                                     if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  3145.                                         P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  3146.                                         local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  3147.                                         spawn(function()
  3148.                                                 repeat fastwait()
  3149.                                                     if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  3150.                                                 until not game:GetService("Players"):FindFirstChild(P.Name)
  3151.                                             end)
  3152.                                         P.Character.HumanoidRootPart.Anchored = true
  3153.                                     end
  3154.                                 end
  3155.                             end
  3156.                         end)
  3157.                     end
  3158.                     spawn(function()
  3159.                             if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
  3160.                             game:GetService("Players")[name].CharacterAdded:Connect(function()
  3161.                                     fastwait()
  3162.                                     KICK(game:GetService("Players")[name])
  3163.                                 end)
  3164.                             KICK(game:GetService("Players")[name])
  3165.                         end)
  3166.                     for i = 1,20 do
  3167.                         zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  3168.                         fastwait()
  3169.                     end
  3170.                     while turns > 0 do
  3171.                         zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  3172.                         turns = turns - 5
  3173.                         fastwait()
  3174.                     end
  3175.                     fastwait(1)
  3176.                     zin.Name = "GoneZinnia"
  3177.                     local go = Instance.new("BodyVelocity",zin)
  3178.                     go.Velocity = zin.CFrame.lookVector * 100
  3179.                     go.MaxForce = Vector3.new(1000000,1000000,1000000)
  3180.                     zin.Anchored = false
  3181.                     fastwait(20)
  3182.          if song and not workspace:FindFirstChild("CuteZinnia") then
  3183.              song:Destroy()
  3184.              song = nil
  3185.          end
  3186.     end)
  3187. end
  3188.  
  3189. addcmd('zinnia', 'asdf for moon',{},
  3190. function(args, speaker)
  3191.     local players = getPlayer(args[1], speaker)
  3192.     for i,v in pairs(players)do
  3193.         zinniaKick(gPlayers[v].Name)
  3194.     end
  3195. end)
  3196.  
  3197. addcmd('rainbowname', 'color spam their name tag',{'rname'},
  3198. function(args, speaker)
  3199.     local players = getPlayer(args[1], speaker)
  3200.     for i,v in pairs(players)do
  3201.         if not FindTable(rainbowT, _players[v].Name) then
  3202.             table.insert(rainbowT, _players[v].Name)
  3203.             if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
  3204.             Notify('Gave player(s) rainbow name') end end end end)
  3205.  
  3206. addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
  3207. function(args, speaker)
  3208.     local players = getPlayer(args[1], speaker)
  3209.     for i,v in pairs(players)do
  3210.         if FindTable(rainbowT, _players[v].Name) then
  3211.             table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
  3212.             _players[v].Neutral = true
  3213.             if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
  3214.             Notify('Disabled rainbow name for player(s)') end end end end)
  3215.  
  3216. addcmd('terrain', 'gives you terrain tools',{'tt'},
  3217. function(args, speaker)
  3218. if speaker.userId ~= LP.userId then
  3219. lponly(speaker)
  3220. else
  3221. --Terrain Script
  3222. --Edge/IoIman616
  3223.  
  3224. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do
  3225.     if child.Name == "MaterialGui" then
  3226.         child:Destroy()
  3227.     end
  3228. end
  3229.  
  3230. function sandbox(var,func)
  3231.     local env = getfenv(func)
  3232.     local newenv = setmetatable({},{
  3233.         __index = function(self,k)
  3234.             if k=="script" then
  3235.                 return var
  3236.             else
  3237.                 return env[k]
  3238.             end
  3239.         end,
  3240.     })
  3241.     setfenv(func,newenv)
  3242.     return func
  3243. end
  3244. cors = {}
  3245. mas = Instance.new("Model",game:GetService("Lighting"))
  3246. HopperBin0 = Instance.new("HopperBin")
  3247. HopperBin0.Name = "Terrain Build"
  3248. HopperBin0.Parent = mas
  3249. for i,v in pairs(mas:GetChildren()) do
  3250.     v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3251.     pcall(function() v:MakeJoints() end)
  3252. end
  3253. mas:Destroy()
  3254. for i,v in pairs(cors) do
  3255.     spawn(function()
  3256.         pcall(v)
  3257.     end)
  3258. end
  3259.  
  3260. wait(0.01)
  3261.  
  3262. function sandbox(var,func)
  3263.     local env = getfenv(func)
  3264.     local newenv = setmetatable({},{
  3265.         __index = function(self,k)
  3266.             if k=="script" then
  3267.                 return var
  3268.             else
  3269.                 return env[k]
  3270.             end
  3271.         end,
  3272.     })
  3273.     setfenv(func,newenv)
  3274.     return func
  3275. end
  3276. cors = {}
  3277. mas = Instance.new("Model",game:GetService("Lighting"))
  3278. ScreenGui0 = Instance.new("ScreenGui")
  3279. ImageLabel1 = Instance.new("ImageLabel")
  3280. ImageButton2 = Instance.new("ImageButton")
  3281. Frame3 = Instance.new("Frame")
  3282. NumberValue4 = Instance.new("NumberValue")
  3283. ImageButton5 = Instance.new("ImageButton")
  3284. Frame6 = Instance.new("Frame")
  3285. NumberValue7 = Instance.new("NumberValue")
  3286. ImageButton8 = Instance.new("ImageButton")
  3287. Frame9 = Instance.new("Frame")
  3288. NumberValue10 = Instance.new("NumberValue")
  3289. ImageButton11 = Instance.new("ImageButton")
  3290. Frame12 = Instance.new("Frame")
  3291. NumberValue13 = Instance.new("NumberValue")
  3292. ImageButton14 = Instance.new("ImageButton")
  3293. Frame15 = Instance.new("Frame")
  3294. NumberValue16 = Instance.new("NumberValue")
  3295. ImageButton17 = Instance.new("ImageButton")
  3296. Frame18 = Instance.new("Frame")
  3297. NumberValue19 = Instance.new("NumberValue")
  3298. ImageButton20 = Instance.new("ImageButton")
  3299. Frame21 = Instance.new("Frame")
  3300. NumberValue22 = Instance.new("NumberValue")
  3301. ImageButton23 = Instance.new("ImageButton")
  3302. Frame24 = Instance.new("Frame")
  3303. NumberValue25 = Instance.new("NumberValue")
  3304. ImageButton26 = Instance.new("ImageButton")
  3305. Frame27 = Instance.new("Frame")
  3306. NumberValue28 = Instance.new("NumberValue")
  3307. ImageButton29 = Instance.new("ImageButton")
  3308. Frame30 = Instance.new("Frame")
  3309. NumberValue31 = Instance.new("NumberValue")
  3310. ImageButton32 = Instance.new("ImageButton")
  3311. Frame33 = Instance.new("Frame")
  3312. NumberValue34 = Instance.new("NumberValue")
  3313. ImageButton35 = Instance.new("ImageButton")
  3314. Frame36 = Instance.new("Frame")
  3315. NumberValue37 = Instance.new("NumberValue")
  3316. ImageButton38 = Instance.new("ImageButton")
  3317. Frame39 = Instance.new("Frame")
  3318. NumberValue40 = Instance.new("NumberValue")
  3319. ImageButton41 = Instance.new("ImageButton")
  3320. Frame42 = Instance.new("Frame")
  3321. NumberValue43 = Instance.new("NumberValue")
  3322. ImageButton44 = Instance.new("ImageButton")
  3323. Frame45 = Instance.new("Frame")
  3324. NumberValue46 = Instance.new("NumberValue")
  3325. ImageButton47 = Instance.new("ImageButton")
  3326. Frame48 = Instance.new("Frame")
  3327. NumberValue49 = Instance.new("NumberValue")
  3328. ImageButton50 = Instance.new("ImageButton")
  3329. Frame51 = Instance.new("Frame")
  3330. NumberValue52 = Instance.new("NumberValue")
  3331. ImageButton53 = Instance.new("ImageButton")
  3332. Frame54 = Instance.new("Frame")
  3333. ScreenGui0.Name = "MaterialGui"
  3334. ScreenGui0.Parent = mas
  3335. ImageLabel1.Name = "MaterialMenu"
  3336. ImageLabel1.Parent = ScreenGui0
  3337. ImageLabel1.Transparency = 1
  3338. ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
  3339. ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
  3340. ImageLabel1.BackgroundTransparency = 1
  3341. ImageLabel1.ZIndex = 2
  3342. ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
  3343. ImageButton2.Name = "Grass"
  3344. ImageButton2.Parent = ImageLabel1
  3345. ImageButton2.Transparency = 1
  3346. ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3347. ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
  3348. ImageButton2.BackgroundTransparency = 1
  3349. ImageButton2.ZIndex = 4
  3350. ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
  3351. Frame3.Name = "Selection"
  3352. Frame3.Parent = ImageButton2
  3353. Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3354. Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3355. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  3356. Frame3.BorderSizePixel = 0
  3357. Frame3.ZIndex = 3
  3358. NumberValue4.Name = "num"
  3359. NumberValue4.Parent = ImageButton2
  3360. NumberValue4.Value = 1
  3361. ImageButton5.Name = "Sand"
  3362. ImageButton5.Parent = ImageLabel1
  3363. ImageButton5.Transparency = 1
  3364. ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3365. ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
  3366. ImageButton5.BackgroundTransparency = 1
  3367. ImageButton5.ZIndex = 4
  3368. ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
  3369. Frame6.Name = "Selection"
  3370. Frame6.Parent = ImageButton5
  3371. Frame6.Transparency = 1
  3372. Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3373. Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3374. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  3375. Frame6.BackgroundTransparency = 1
  3376. Frame6.BorderSizePixel = 0
  3377. Frame6.ZIndex = 3
  3378. NumberValue7.Name = "num"
  3379. NumberValue7.Parent = ImageButton5
  3380. NumberValue7.Value = 2
  3381. ImageButton8.Name = "Brick"
  3382. ImageButton8.Parent = ImageLabel1
  3383. ImageButton8.Transparency = 1
  3384. ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3385. ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
  3386. ImageButton8.BackgroundTransparency = 1
  3387. ImageButton8.ZIndex = 4
  3388. ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
  3389. Frame9.Name = "Selection"
  3390. Frame9.Parent = ImageButton8
  3391. Frame9.Transparency = 1
  3392. Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3393. Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3394. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  3395. Frame9.BackgroundTransparency = 1
  3396. Frame9.BorderSizePixel = 0
  3397. Frame9.ZIndex = 3
  3398. NumberValue10.Name = "num"
  3399. NumberValue10.Parent = ImageButton8
  3400. NumberValue10.Value = 3
  3401. ImageButton11.Name = "Granite"
  3402. ImageButton11.Parent = ImageLabel1
  3403. ImageButton11.Transparency = 1
  3404. ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3405. ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
  3406. ImageButton11.BackgroundTransparency = 1
  3407. ImageButton11.ZIndex = 4
  3408. ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
  3409. Frame12.Name = "Selection"
  3410. Frame12.Parent = ImageButton11
  3411. Frame12.Transparency = 1
  3412. Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3413. Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3414. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  3415. Frame12.BackgroundTransparency = 1
  3416. Frame12.BorderSizePixel = 0
  3417. Frame12.ZIndex = 3
  3418. NumberValue13.Name = "num"
  3419. NumberValue13.Parent = ImageButton11
  3420. NumberValue13.Value = 4
  3421. ImageButton14.Name = "Asphalt"
  3422. ImageButton14.Parent = ImageLabel1
  3423. ImageButton14.Transparency = 1
  3424. ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3425. ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
  3426. ImageButton14.BackgroundTransparency = 1
  3427. ImageButton14.ZIndex = 4
  3428. ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
  3429. Frame15.Name = "Selection"
  3430. Frame15.Parent = ImageButton14
  3431. Frame15.Transparency = 1
  3432. Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3433. Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3434. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  3435. Frame15.BackgroundTransparency = 1
  3436. Frame15.BorderSizePixel = 0
  3437. Frame15.ZIndex = 3
  3438. NumberValue16.Name = "num"
  3439. NumberValue16.Parent = ImageButton14
  3440. NumberValue16.Value = 5
  3441. ImageButton17.Name = "Iron"
  3442. ImageButton17.Parent = ImageLabel1
  3443. ImageButton17.Transparency = 1
  3444. ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3445. ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
  3446. ImageButton17.BackgroundTransparency = 1
  3447. ImageButton17.ZIndex = 4
  3448. ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
  3449. Frame18.Name = "Selection"
  3450. Frame18.Parent = ImageButton17
  3451. Frame18.Transparency = 1
  3452. Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3453. Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3454. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  3455. Frame18.BackgroundTransparency = 1
  3456. Frame18.BorderSizePixel = 0
  3457. Frame18.ZIndex = 3
  3458. NumberValue19.Name = "num"
  3459. NumberValue19.Parent = ImageButton17
  3460. NumberValue19.Value = 6
  3461. ImageButton20.Name = "Aluminum"
  3462. ImageButton20.Parent = ImageLabel1
  3463. ImageButton20.Transparency = 1
  3464. ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3465. ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
  3466. ImageButton20.BackgroundTransparency = 1
  3467. ImageButton20.ZIndex = 4
  3468. ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
  3469. Frame21.Name = "Selection"
  3470. Frame21.Parent = ImageButton20
  3471. Frame21.Transparency = 1
  3472. Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3473. Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3474. Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
  3475. Frame21.BackgroundTransparency = 1
  3476. Frame21.BorderSizePixel = 0
  3477. Frame21.ZIndex = 3
  3478. NumberValue22.Name = "num"
  3479. NumberValue22.Parent = ImageButton20
  3480. NumberValue22.Value = 7
  3481. ImageButton23.Name = "Gold"
  3482. ImageButton23.Parent = ImageLabel1
  3483. ImageButton23.Transparency = 1
  3484. ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3485. ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
  3486. ImageButton23.BackgroundTransparency = 1
  3487. ImageButton23.ZIndex = 4
  3488. ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
  3489. Frame24.Name = "Selection"
  3490. Frame24.Parent = ImageButton23
  3491. Frame24.Transparency = 1
  3492. Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3493. Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3494. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  3495. Frame24.BackgroundTransparency = 1
  3496. Frame24.BorderSizePixel = 0
  3497. Frame24.ZIndex = 3
  3498. NumberValue25.Name = "num"
  3499. NumberValue25.Parent = ImageButton23
  3500. NumberValue25.Value = 8
  3501. ImageButton26.Name = "Plank"
  3502. ImageButton26.Parent = ImageLabel1
  3503. ImageButton26.Transparency = 1
  3504. ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3505. ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
  3506. ImageButton26.BackgroundTransparency = 1
  3507. ImageButton26.ZIndex = 4
  3508. ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
  3509. Frame27.Name = "Selection"
  3510. Frame27.Parent = ImageButton26
  3511. Frame27.Transparency = 1
  3512. Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3513. Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3514. Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
  3515. Frame27.BackgroundTransparency = 1
  3516. Frame27.BorderSizePixel = 0
  3517. Frame27.ZIndex = 3
  3518. NumberValue28.Name = "num"
  3519. NumberValue28.Parent = ImageButton26
  3520. NumberValue28.Value = 9
  3521. ImageButton29.Name = "Log"
  3522. ImageButton29.Parent = ImageLabel1
  3523. ImageButton29.Transparency = 1
  3524. ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3525. ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
  3526. ImageButton29.BackgroundTransparency = 1
  3527. ImageButton29.ZIndex = 4
  3528. ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
  3529. Frame30.Name = "Selection"
  3530. Frame30.Parent = ImageButton29
  3531. Frame30.Transparency = 1
  3532. Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3533. Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3534. Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
  3535. Frame30.BackgroundTransparency = 1
  3536. Frame30.BorderSizePixel = 0
  3537. Frame30.ZIndex = 3
  3538. NumberValue31.Name = "num"
  3539. NumberValue31.Parent = ImageButton29
  3540. NumberValue31.Value = 10
  3541. ImageButton32.Name = "Gravel"
  3542. ImageButton32.Parent = ImageLabel1
  3543. ImageButton32.Transparency = 1
  3544. ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3545. ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
  3546. ImageButton32.BackgroundTransparency = 1
  3547. ImageButton32.ZIndex = 4
  3548. ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
  3549. Frame33.Name = "Selection"
  3550. Frame33.Parent = ImageButton32
  3551. Frame33.Transparency = 1
  3552. Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3553. Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3554. Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
  3555. Frame33.BackgroundTransparency = 1
  3556. Frame33.BorderSizePixel = 0
  3557. Frame33.ZIndex = 3
  3558. NumberValue34.Name = "num"
  3559. NumberValue34.Parent = ImageButton32
  3560. NumberValue34.Value = 11
  3561. ImageButton35.Name = "Cinder"
  3562. ImageButton35.Parent = ImageLabel1
  3563. ImageButton35.Transparency = 1
  3564. ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3565. ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
  3566. ImageButton35.BackgroundTransparency = 1
  3567. ImageButton35.ZIndex = 4
  3568. ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
  3569. Frame36.Name = "Selection"
  3570. Frame36.Parent = ImageButton35
  3571. Frame36.Transparency = 1
  3572. Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3573. Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3574. Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
  3575. Frame36.BackgroundTransparency = 1
  3576. Frame36.BorderSizePixel = 0
  3577. Frame36.ZIndex = 3
  3578. NumberValue37.Name = "num"
  3579. NumberValue37.Parent = ImageButton35
  3580. NumberValue37.Value = 12
  3581. ImageButton38.Name = "Stone"
  3582. ImageButton38.Parent = ImageLabel1
  3583. ImageButton38.Transparency = 1
  3584. ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3585. ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
  3586. ImageButton38.BackgroundTransparency = 1
  3587. ImageButton38.ZIndex = 4
  3588. ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
  3589. Frame39.Name = "Selection"
  3590. Frame39.Parent = ImageButton38
  3591. Frame39.Transparency = 1
  3592. Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3593. Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3594. Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
  3595. Frame39.BackgroundTransparency = 1
  3596. Frame39.BorderSizePixel = 0
  3597. Frame39.ZIndex = 3
  3598. NumberValue40.Name = "num"
  3599. NumberValue40.Parent = ImageButton38
  3600. NumberValue40.Value = 13
  3601. ImageButton41.Name = "Cement"
  3602. ImageButton41.Parent = ImageLabel1
  3603. ImageButton41.Transparency = 1
  3604. ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3605. ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
  3606. ImageButton41.BackgroundTransparency = 1
  3607. ImageButton41.ZIndex = 4
  3608. ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
  3609. Frame42.Name = "Selection"
  3610. Frame42.Parent = ImageButton41
  3611. Frame42.Transparency = 1
  3612. Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3613. Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3614. Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
  3615. Frame42.BackgroundTransparency = 1
  3616. Frame42.BorderSizePixel = 0
  3617. Frame42.ZIndex = 3
  3618. NumberValue43.Name = "num"
  3619. NumberValue43.Parent = ImageButton41
  3620. NumberValue43.Value = 14
  3621. ImageButton44.Name = "Red Plastic"
  3622. ImageButton44.Parent = ImageLabel1
  3623. ImageButton44.Transparency = 1
  3624. ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3625. ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
  3626. ImageButton44.BackgroundTransparency = 1
  3627. ImageButton44.ZIndex = 4
  3628. ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
  3629. Frame45.Name = "Selection"
  3630. Frame45.Parent = ImageButton44
  3631. Frame45.Transparency = 1
  3632. Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3633. Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3634. Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
  3635. Frame45.BackgroundTransparency = 1
  3636. Frame45.BorderSizePixel = 0
  3637. Frame45.ZIndex = 3
  3638. NumberValue46.Name = "num"
  3639. NumberValue46.Parent = ImageButton44
  3640. NumberValue46.Value = 15
  3641. ImageButton47.Name = "Blue Plastic"
  3642. ImageButton47.Parent = ImageLabel1
  3643. ImageButton47.Transparency = 1
  3644. ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3645. ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
  3646. ImageButton47.BackgroundTransparency = 1
  3647. ImageButton47.ZIndex = 4
  3648. ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
  3649. Frame48.Name = "Selection"
  3650. Frame48.Parent = ImageButton47
  3651. Frame48.Transparency = 1
  3652. Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3653. Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3654. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  3655. Frame48.BackgroundTransparency = 1
  3656. Frame48.BorderSizePixel = 0
  3657. Frame48.ZIndex = 3
  3658. NumberValue49.Name = "num"
  3659. NumberValue49.Parent = ImageButton47
  3660. NumberValue49.Value = 16
  3661. ImageButton50.Name = "Water"
  3662. ImageButton50.Parent = ImageLabel1
  3663. ImageButton50.Transparency = 1
  3664. ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3665. ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
  3666. ImageButton50.BackgroundTransparency = 1
  3667. ImageButton50.ZIndex = 4
  3668. ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
  3669. Frame51.Name = "Selection"
  3670. Frame51.Parent = ImageButton50
  3671. Frame51.Transparency = 1
  3672. Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3673. Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3674. Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
  3675. Frame51.BackgroundTransparency = 1
  3676. Frame51.BorderSizePixel = 0
  3677. Frame51.ZIndex = 3
  3678. NumberValue52.Name = "num"
  3679. NumberValue52.Parent = ImageButton50
  3680. NumberValue52.Value = 17
  3681. ImageButton53.Name = "Dig"
  3682. ImageButton53.Parent = ImageLabel1
  3683. ImageButton53.Transparency = 1
  3684. ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3685. ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
  3686. ImageButton53.BackgroundTransparency = 1
  3687. ImageButton53.ZIndex = 4
  3688. ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
  3689. Frame54.Name = "Selection"
  3690. Frame54.Parent = ImageButton53
  3691. Frame54.Transparency = 1
  3692. Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3693. Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3694. Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
  3695. Frame54.BackgroundTransparency = 1
  3696. Frame54.BorderSizePixel = 0
  3697. Frame54.ZIndex = 3
  3698. for i,v in pairs(mas:GetChildren()) do
  3699.     v.Parent = gPlayers.LocalPlayer.PlayerGui
  3700.     pcall(function() v:MakeJoints() end)
  3701. end
  3702. mas:Destroy()
  3703. for i,v in pairs(cors) do
  3704.     spawn(function()
  3705.         pcall(v)
  3706.     end)
  3707. end
  3708. wait(0.01)
  3709. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  3710. material = 1
  3711. local Terrain = workspace.Terrain
  3712. local CC = workspace.CurrentCamera
  3713.  
  3714. local SelB = Instance.new("SelectionBox")
  3715. SelB.Color = BrickColor.new("Bright green")
  3716.  
  3717. local SelP = Instance.new("Part")
  3718. SelP.Anchored = true
  3719. SelP.formFactor = Enum.FormFactor.Custom
  3720.  
  3721. HopperBin0.Selected:connect(function(M)
  3722.     SelB.Parent = gPlayers.LocalPlayer.PlayerGui
  3723.     gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
  3724.     SelB.Adornee = nil
  3725.  
  3726.     local ClickState = "None"
  3727.  
  3728.     local ClickType = 1
  3729.  
  3730.     local TerrainClick = 1
  3731.  
  3732.     local P1 = nil
  3733.  
  3734.     M.KeyDown:connect(function(K)
  3735.         if K == "q" then
  3736.             ClickType = 1
  3737.         elseif K == "e" then
  3738.             ClickType = 2
  3739.         elseif K == "z" then
  3740.             TerrainClick = 0
  3741.         elseif K == "x" then
  3742.             TerrainClick = 1
  3743.         elseif K == "c" then
  3744.             TerrainClick = 2
  3745.         elseif K == "v" then
  3746.             TerrainClick = 3
  3747.         elseif K == "b" then
  3748.             TerrainClick = 4
  3749.         end
  3750.     end)
  3751.  
  3752.     M.Button1Down:connect(function()
  3753.         if not M.Target then return end
  3754.         local Hit = M.Hit
  3755.         local cellPos
  3756.         if ClickType == 1 then
  3757.             cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3758.         else
  3759.             cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3760.         end
  3761.         if ClickState == "None" then
  3762.             ClickState = "Click1"
  3763.             P1 = cellPos
  3764.         end
  3765.     end)
  3766.     M.Button1Up:connect(function()
  3767.         if not M.Target then return end
  3768.         local Hit = M.Hit
  3769.         local cellPos
  3770.         if ClickType == 1 then
  3771.             cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3772.         else
  3773.             cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3774.         end
  3775.         if ClickState == "Click1" then
  3776.             ClickState = "None"
  3777.             local MinX = math.min(P1.x,cellPos.x)
  3778.             local MaxX = math.max(P1.x,cellPos.x)
  3779.             local MinY = math.min(P1.y,cellPos.y)
  3780.             local MaxY = math.max(P1.y,cellPos.y)
  3781.             local MinZ = math.min(P1.z,cellPos.z)
  3782.             local MaxZ = math.max(P1.z,cellPos.z)
  3783.             for y=MinY,MaxY do
  3784.                 for x=MinX,MaxX do
  3785.                     for z=MinZ,MaxZ do
  3786.                         Terrain:SetCell(x, y, z, material, 0, 0)
  3787.                     end
  3788.                 end
  3789.                 wait()
  3790.             end
  3791.             SelB.Adornee = nil
  3792.         end
  3793.     end)
  3794.     M.Move:connect(function()
  3795.         if not M.Target then return end
  3796.         local Hit = M.Hit
  3797.         local cellPos
  3798.         if ClickType == 1 then
  3799.             cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3800.         else
  3801.             cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3802.         end
  3803.         if ClickState == "Click1" then
  3804.             SelB.Adornee = SelP
  3805.             local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
  3806.             local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
  3807.             local Size = W1-W2
  3808.             Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
  3809.             local Pos = (W1+W2)/2
  3810.             SelP.Size = Size
  3811.             SelP.CFrame = CFrame.new(Pos)
  3812.         end
  3813.     end)
  3814. end)
  3815.  
  3816. HopperBin0.Deselected:connect(function()
  3817.     SelB.Parent = nil
  3818.     SelB.Adornee = nil
  3819.     gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  3820. end)
  3821.  
  3822. game:GetService('RunService').Stepped:connect(function()
  3823. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
  3824. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  3825.     if child:FindFirstChild("num") and material ~= child.num.Value then
  3826.     child.Selection.BackgroundTransparency = 1
  3827.     end
  3828.     end
  3829. end
  3830. end)
  3831.  
  3832. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  3833.     local enterCon = child.MouseButton1Click:connect(function()
  3834.     if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
  3835.     material = child.num.Value
  3836.     if child:FindFirstChild("Selection") then
  3837.     child.Selection.BackgroundTransparency = 0
  3838.     end
  3839.     end
  3840.     end)
  3841. end
  3842.  
  3843. local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
  3844. workspace.Terrain:Clear()
  3845. end)
  3846.  
  3847. function sandbox(var,func)
  3848.     local env = getfenv(func)
  3849.     local newenv = setmetatable({},{
  3850.         __index = function(self,k)
  3851.             if k=="script" then
  3852.                 return var
  3853.             else
  3854.                 return env[k]
  3855.             end
  3856.         end,
  3857.     })
  3858.     setfenv(func,newenv)
  3859.     return func
  3860. end
  3861. cors = {}
  3862. mas = Instance.new("Model",game:GetService("Lighting"))
  3863. HopperBin0 = Instance.new("HopperBin")
  3864. HopperBin0.Name = "Terrain Delete"
  3865. HopperBin0.Parent = mas
  3866. for i,v in pairs(mas:GetChildren()) do
  3867.     v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3868.     pcall(function() v:MakeJoints() end)
  3869. end
  3870. mas:Destroy()
  3871. for i,v in pairs(cors) do
  3872.     spawn(function()
  3873.         pcall(v)
  3874.     end)
  3875. end
  3876.  
  3877. function onClick(mouse)
  3878.         p = gPlayers.LocalPlayer
  3879.         if (p == nil) then return end
  3880.         if (p.Character == nil) then return end
  3881.        
  3882.         if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
  3883.  
  3884.         c = workspace.Terrain
  3885.        
  3886.         local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
  3887.         local x = cellPos.x
  3888.         local y = cellPos.y
  3889.         local z = cellPos.z    
  3890.  
  3891.         c:SetCell(x, y, z, 0, 0, 0)
  3892.        
  3893. end
  3894.  
  3895.  
  3896. function onSelect(mouse)
  3897.         mouse.Button1Down:connect(function () onClick(mouse) end)
  3898. end
  3899.  
  3900.  
  3901.  
  3902. HopperBin0.Selected:connect(onSelect)
  3903. end
  3904. end)
  3905.  
  3906. addcmd('knife', 'tm knife',{},
  3907. function(args, speaker)
  3908. if speaker.userId ~= LP.userId then
  3909. lponly(speaker) else
  3910. if not game.CoreGui:FindFirstChild('CorePart') then
  3911. local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872")
  3912. local script = data.LocalScript
  3913.  
  3914. local player = gPlayers.LocalPlayer
  3915.  
  3916. if not player:FindFirstChild("TMDATA") then
  3917.     script.Parent.TMDATA:Clone().Parent = player
  3918. end
  3919. if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
  3920.     script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage
  3921. end
  3922.  
  3923. if game.CoreGui:FindFirstChild("CorePart") then
  3924.     game.CoreGui.CorePart:Destroy()
  3925. end
  3926.  
  3927.  
  3928. if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
  3929. local knife = script.Parent["Knife"]:Clone()
  3930. local gun = script.Parent["Gun"]:Clone()
  3931. local fastgun = script.Parent["Fast Gun"]:Clone()
  3932. local lasergun = script.Parent["Laser Gun"]:Clone()
  3933. script.Parent.CorePart:Clone().Parent = game.CoreGui
  3934.  
  3935. local newKnife = knife:Clone()
  3936. newKnife.Parent = player.Backpack
  3937. _G.tool = newKnife
  3938.  
  3939. local barActive = false
  3940. local activeOptions = {}
  3941.  
  3942. function createDDown(callback,but,...)
  3943.     if barActive then
  3944.         for i,v in pairs(activeOptions) do
  3945.             v:Destroy()
  3946.         end
  3947.         activeOptions = {}
  3948.         barActive = false
  3949.         return
  3950.     else
  3951.         barActive = true
  3952.     end
  3953.     local slots = {...}
  3954.     local base = but
  3955.     for i,v in pairs(slots) do
  3956.         local newOption = base:Clone()
  3957.         newOption.ZIndex = 5
  3958.         newOption.Name = "Option "..tostring(i)
  3959.         newOption.Parent = base.Parent
  3960.         table.insert(activeOptions,newOption)
  3961.         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))
  3962.         newOption.Text = slots[i]
  3963.         newOption.MouseButton1Down:connect(function()
  3964.             but.Text = slots[i]
  3965.             callback(slots[i])
  3966.             for i,v in pairs(activeOptions) do
  3967.                 v:Destroy()
  3968.             end
  3969.             activeOptions = {}
  3970.             barActive = false
  3971.         end)
  3972.     end
  3973. end
  3974.  
  3975. local butA = game.CoreGui.CorePart.Frame.ability
  3976. butA.MouseButton1Down:connect(function()
  3977.     createDDown(function(sel)
  3978.         gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat!
  3979.     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")
  3980. end)
  3981.  
  3982. local butG = game.CoreGui.CorePart.Frame.gamemode
  3983. butG.MouseButton1Down:connect(function()
  3984.     createDDown(function(sel)
  3985.         game.ReplicatedStorage.GameInProgress.Mode.Value = sel
  3986.     end,butG,"Classic","Cold Killer")
  3987. end)
  3988.  
  3989. local butM = game.CoreGui.CorePart.Frame.mode
  3990. butM.MouseButton1Down:connect(function()
  3991.     createDDown(function(sel)
  3992.         _G.knifemode = sel
  3993.     end,butM,"PlayersOnly","Players+Npcs")
  3994. end)
  3995.  
  3996. _G.Scripters = {}
  3997.  
  3998. function _G.loadScripts(obj,runall)
  3999.     for i,v in pairs(obj:GetDescendants()) do
  4000.         if v:IsA("LocalScript") and (not v.Disabled or runall) then
  4001.             table.insert(_G.Scripters,v)
  4002.             local i = #_G.Scripters
  4003.             local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
  4004.             spawn(loadfunc)
  4005.             print("LOADED",v:GetFullName())
  4006.         end
  4007.     end
  4008. end
  4009.  
  4010. player.CharacterAdded:Connect(function()
  4011.     newKnife = knife:Clone()
  4012.     newKnife.Parent = player.Backpack
  4013.     _G.loadScripts(newKnife)
  4014. end)
  4015.  
  4016. _G.knifemode = "PlayersOnly"
  4017.     _G.loadScripts(newKnife)
  4018.     --_G.loadScripts(gun)
  4019.     --_G.loadScripts(fastgun)
  4020.     --_G.loadScripts(lasergun)
  4021. end
  4022. end
  4023. end)
  4024.  
  4025. addcmd('devuzi', 'op af',{'uzi'},
  4026. function(args, speaker)
  4027. if speaker.userId ~= LP.userId then
  4028. lponly(speaker)
  4029. else
  4030. wait(0.25);
  4031.  
  4032.  
  4033. _clear=function()
  4034.         local c={char;bag;gui;};
  4035.         for i=1,#c do
  4036.                 local c=c[i]:children();
  4037.                 for i=1,#c do
  4038.                         if(c[i].Name==name)then
  4039.                                 c[i].Parent=nil;
  4040.                         end;
  4041.                 end;
  4042.         end;
  4043.         local n=name..user.Name;
  4044.         local c=workspace:children();
  4045.         for i=1,#c do
  4046.                 if(c[i].Name==n)then
  4047.                         c[i].Parent=nil;
  4048.                 end;
  4049.         end;
  4050. end;
  4051.  
  4052. _valid_key=function(object,key)
  4053.         return object[key],key;
  4054. end;
  4055.  
  4056. _new=function(class)
  4057.         return function(props)
  4058.                 if(type(list_base_props)=='table')then
  4059.                         for i,v in next,list_base_props do
  4060.                                 if(props[i]==nil)then
  4061.                                         props[i]=v;
  4062.                                 end;
  4063.                         end;
  4064.                 end;
  4065.                
  4066.                 local object=class;
  4067.                
  4068.                 if(type(class)=='string')then
  4069.                         object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  4070.                 end;
  4071.                
  4072.                 local parent=props[1];
  4073.                         props[1]=nil;
  4074.                
  4075.                 for i,v in next,props do
  4076.                         local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  4077.                         if(not load)then
  4078.                                 load,res,key=pcall(_valid_key,object,i);
  4079.                         end;
  4080.                        
  4081.                         if(key)then
  4082.                                 t=type(res);
  4083.                                 s=tostring(res);
  4084.                                 if(t=='userdata'and s=='Signal '..key)then
  4085.                                         if(type(v)=='table')then
  4086.                                                 for i=1,#v do
  4087.                                                         res:connect(v[i]);
  4088.                                                 end;
  4089.                                         else
  4090.                                                 res:connect(v);
  4091.                                         end;
  4092.                                 else
  4093.                                         object[key]=v;
  4094.                                 end;
  4095.                         end;
  4096.                 end;
  4097.                
  4098.                 if(parent)then
  4099.                         object.Parent=parent;
  4100.                 end;
  4101.                
  4102.                 return object;
  4103.         end;
  4104. end;
  4105.  
  4106. _RGB=function(r,g,b)
  4107.         return Color3.new(r/255,g/255,b/255);
  4108. end;
  4109.  
  4110. _copy=function(o)
  4111.         local def=o.archivable;
  4112.         o.archivable=true;
  4113.         local c=o:clone();
  4114.         o.archivable=def;
  4115.         return c;
  4116. end;
  4117.  
  4118. _hum=function(char)
  4119.         local hum=char:findFirstChild'Humanoid';
  4120.         if(not hum or hum.className~='Humanoid')then
  4121.                 local c=char:children();
  4122.                 for i=1,#c do
  4123.                         if(c[i].className=='Humanoid')then
  4124.                                 return c[i];
  4125.                         end;
  4126.                 end;
  4127.         else
  4128.                 return hum;
  4129.         end;
  4130. end;
  4131.  
  4132. _hum_tag=function(hum)
  4133.         local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  4134.                 c.Name='creator';
  4135.                 c.Value=user;
  4136.         if(hum.Health==0 and not hum:findFirstChild'killed')then
  4137.                 Instance.new('BoolValue',hum).Name='killed';
  4138.                 bullets.clip=bullets.clip+10;
  4139.         end;
  4140. end;
  4141.  
  4142. _hum_dam=function(hum,dam,percent)
  4143.         hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  4144.         if(hum.Health<=hum.MaxHealth*0.1)then
  4145.                 _hum_tag(hum);
  4146.         end;
  4147. end;
  4148.  
  4149. _ray=function(v0,v1,i)
  4150.         local mag=(v0-v1).magnitude;
  4151.         local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  4152.        
  4153.         return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  4154. end;
  4155.  
  4156. _must=function(v0,v1,i)
  4157.         local hit,pos=_ray(v0,v1,i);
  4158.         return not hit and mouse.target or hit,pos;
  4159. end;
  4160.  
  4161. _cframe=function(x,y,z,r0,r1,r2)
  4162.         return CFrame.Angles(
  4163.                 math.rad(r0 or 0),
  4164.                 math.rad(r1 or 0),
  4165.                 math.rad(r2 or 0)
  4166.         )*CFrame.new(x,y,z);
  4167. end;
  4168.  
  4169. _update=function()
  4170.         if(bool_active and not screen.Parent)then
  4171.                 screen.Parent=gui;
  4172.         elseif(not bool_active and screen.Parent)then
  4173.                 screen.Parent=nil;
  4174.         end;
  4175. end;
  4176.  
  4177. _light=function(v0,v1)
  4178.         local mag=(v0-v1).magnitude;
  4179.         local len=math.random(2,7);
  4180.                 len=len>mag/2 and mag/2 or len;
  4181.        
  4182.         --local light=_new'part'{
  4183.         --        cFrame=CFrame.new(v0,v1);
  4184.         --        size=Vector3.new(1,1,1);
  4185.         --        color=_RGB(255,255,0);
  4186.         --        anchored=true;
  4187.         --        inv;
  4188.         --};
  4189.                 _new'blockMesh'{
  4190.                         scale=Vector3.new(0.2,0.2,len);
  4191.                         offset=Vector3.new(0,0,-len/2);
  4192.                         light;
  4193.                 };
  4194.                
  4195.         local bb=_new'billboardGui'{
  4196.                 size=UDim2.new(2,0,2,0);
  4197.                 adornee=light;
  4198.                 light;
  4199.         };
  4200.                 _new'imageLabel'{
  4201.                         image=url:format(109101526);
  4202.                         backgroundTransparency=1;
  4203.                         size=UDim2.new(1,0,1,0);
  4204.                         bb;
  4205.                 };
  4206.                
  4207.        -- _rem(light,0.15);
  4208. end;
  4209.  
  4210. _rem=function(object,del)
  4211.         if(del)then
  4212.                 delay(del,function()
  4213.                         if(object.Parent)then
  4214.                                 object.Parent=nil;
  4215.                         end;
  4216.                 end);
  4217.         else
  4218.                 pcall(function()
  4219.                         if(object.Parent)then
  4220.                                 object.Parent=nil;
  4221.                         end;
  4222.                 end);
  4223.         end;
  4224. end;
  4225.  
  4226. _blood=function(pos,count)
  4227.         for i=1,count do
  4228.                 local p=_new'part'{
  4229.                         rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  4230.                         position=pos+Vector3.new(math.random(),math.random(),math.random());
  4231.                         velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  4232.                         size=Vector3.new(math.random(),math.random(),math.random())/3;
  4233.                         color=_RGB(255,0,0);
  4234.                         transparency=0.5;
  4235.                         canCollide=true;
  4236.                         bottomSurface=0;
  4237.                         topSurface=0;
  4238.                         formFactor=3;
  4239.                         locked=true;
  4240.                         inv;
  4241.                 };
  4242.                 delay(5,function()
  4243.                         p.Parent=nil;
  4244.                 end);
  4245.         end;
  4246. end;
  4247.  
  4248. _make_hue=function()
  4249.         h_hue=_new'part'{
  4250.                 size=Vector3.new(0.25,1.8,0.35);
  4251.                 color=_RGB(100,100,100);
  4252.                 formFactor=3;
  4253.                 name='hue';
  4254.                 handle;
  4255.         };
  4256.         hh_weld=_new'weld'{
  4257.                 c1=_cframe(0,0.5,0);
  4258.                 part0=handle;
  4259.                 part1=h_hue;
  4260.                 handle;
  4261.         };
  4262. end;
  4263.  
  4264. _shot=function(v0,v1)
  4265.         if(not time_left)then
  4266.                 time_left=0;
  4267.         end;
  4268.         if(time_left>time())then
  4269.                 return nil;
  4270.         else
  4271.                 time_left=time()+math.random(1,10)/100;
  4272.         end;
  4273.        
  4274.         if(bullets.current<1)then
  4275.                 local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  4276.                         soundId='rbxasset://sounds/SWITCH3.wav';
  4277.                         name='tick_sound';
  4278.                         volume=0.2;
  4279.                         pitch=2;
  4280.                         head;
  4281.                 };
  4282.                 tick_sound:play();
  4283.                 if(bullets.clip>0)then
  4284.                         time_left=time()+2;
  4285.                         h_hue:breakJoints();
  4286.                         h_hue.CanCollide=true;
  4287.                         h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  4288.                         _rem(h_hue,10);
  4289.                         delay(1.9,function()
  4290.                                 _make_hue();
  4291.                                 local got=(bullets.clip>bullets.maximum and
  4292.                                         bullets.maximum or
  4293.                                         bullets.clip)-bullets.current;
  4294.  
  4295.                                 bullets.clip=bullets.clip-got;
  4296.                                 bullets.current=bullets.current+got;
  4297.                         end);
  4298.                 end;
  4299.                 return nil;
  4300.         else
  4301.                 bullets.current=bullets.current-1;
  4302.                
  4303.                 h_weld.C1=_cframe(0,0.75,0,
  4304.                                         -math.random(1000,1100)/10,180,0);
  4305.                 d_weld.C1=_cframe(0,-0.25,0.3);
  4306.                
  4307.                 lightstuff.Visible=true;
  4308.                 delay(0.1,function()
  4309.                         lightstuff.Visible=false;
  4310.                 end);
  4311.                
  4312.                 _rem(_new'part'{
  4313.                         velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  4314.                         cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  4315.                         size=Vector3.new(0.1,0.1,0.4);
  4316.                         color=_RGB(200,200,0);
  4317.                         material='Slate';
  4318.                         canCollide=true;
  4319.                         formFactor=3;
  4320.                         inv;
  4321.                 },5);
  4322.  
  4323.                 delay(0.1,function()
  4324.                         d_weld.C1=_cframe(0,-0.25,0);
  4325.                         if(bool_active)then
  4326.                                 h_weld.C1=h_weld_cf_active;
  4327.                         end;
  4328.                 end)
  4329.         end;
  4330.        
  4331.         local hit,pos=_must(v0,v1,char);
  4332.        
  4333.         shot_sound:play();
  4334.        
  4335.  
  4336.                                 _rem(_new'part'{
  4337.                                         cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  4338.                                         size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  4339.                                         color=_RGB(255,255,0);
  4340.                                         transparency=0.6;
  4341.                                                                                 reflectance=0.5;
  4342.                                         canCollide=false;
  4343.                                         bottomSurface=0;
  4344.                                         anchored=true;
  4345.                                         formFactor=3;
  4346.                                         topSurface=0;
  4347.                                         inv;
  4348.                                 },.15);
  4349.         _light(v0,v1);
  4350.        
  4351.         if(not hit)then return nil;end;
  4352.        
  4353.         if(hit.Parent.className=='Hat')then
  4354.                 hit:breakJoints();
  4355.                 hit.CanCollide=true;
  4356.                 hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  4357.                 hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  4358.         else
  4359.                 local hum=_hum(hit.Parent);
  4360.                 if(not hum)then
  4361.                         if(hit.Anchored==false and hit.Size.magnitude<4)then
  4362.                                 hit:breakJoints();
  4363.                                 hit.CanCollide=true;
  4364.                         end;
  4365.                 else
  4366.                         _hum_dam(hum,math.random(4,6));
  4367.                         _blood(pos,math.random(3,6));
  4368.                         hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  4369.                         if(hit.Name=='Head')then
  4370.                                 hum.Health=0;
  4371.                                 _blood(pos,math.random(3,6));
  4372.                                 delay(0.001,function()
  4373.                                         _new(workspace:FindFirstChild'head_shot'or'sound'){
  4374.                                                 pitch=math.random(70,100)*0.01;
  4375.                                                 soundId=url:format(1876552);
  4376.                                                 name='head_shot';
  4377.                                                 workspace;
  4378.                                         }:play();
  4379.                                 end);
  4380.                                 _hum_tag(hum);
  4381.                                 _rem(_new'part'{
  4382.                                         cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  4383.                                         size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  4384.                                         color=torso.Color;
  4385.                                         transparency=0.5;
  4386.                                         canCollide=false;
  4387.                                         bottomSurface=0;
  4388.                                         anchored=true;
  4389.                                         formFactor=3;
  4390.                                         topSurface=0;
  4391.                                         inv;
  4392.                                 },30);
  4393.                                 hit.Parent=nil;
  4394.                                 for b=0,1 do
  4395.                                         for a=0,1 do
  4396.                                                 for i=0,1 do
  4397.                                                         _rem(_new'part'{
  4398.                                                                 velocity=CFrame.new(v0,pos).lookVector*20;
  4399.                                                                 cFrame=hit.CFrame*CFrame.new(i,-b,a);
  4400.                                                                 size=Vector3.new(0.5,0.5,0.5);
  4401.                                                                 color=_RGB(255,255,255);
  4402.                                                                 bottomSurface=0;
  4403.                                                                 canCollide=true;
  4404.                                                                 transparency=0;
  4405.                                                                 formFactor=3;
  4406.                                                                 topSurface=0;
  4407.                                                                 hum;
  4408.                                                         },30);
  4409.                                                 end;
  4410.                                         end;
  4411.                                 end;
  4412.                         end;
  4413.                 end;
  4414.         end;
  4415. end;
  4416.  
  4417.  
  4418.  
  4419. _cf_select=function(mouse)
  4420.         mouse.Icon=url:format(109111387);--108999296
  4421.         bool_active=true;
  4422.        
  4423.         local arm=char:findFirstChild'Right Arm';
  4424.         local weld=torso:findFirstChild'Right Shoulder';
  4425.         if(arm and weld)then
  4426.                 h_weld.Part0=arm;
  4427.                 h_weld.C1=h_weld_cf_active;
  4428.                
  4429.                 weld.Part1=nil;
  4430.                 weld.Part0=nil;
  4431.                
  4432.                 weld=_new(torso:findFirstChild'right_arml'or'weld'){
  4433.                         name='right_arml';
  4434.                         part0=torso;
  4435.                         part1=arm;
  4436.                         torso;
  4437.                 };
  4438.                
  4439.                 arml=(arml or 0)+1;
  4440.                 local alv=arml;
  4441.                 local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  4442.                         gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  4443.                         gyro.P=30000;
  4444.                         gyro.D=1000;
  4445.                         gyro.Name='p_gyro';
  4446.                 repeat
  4447.                         local pos=mouse.hit.p;
  4448.                         local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  4449.                        
  4450.                         val=-math.pi*0.5;
  4451.                         valp=val*-1;
  4452.                         p0=torso.CFrame;
  4453.                         p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  4454.                         p1=p0+((p0.p-pos).unit*-2);
  4455.                         p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  4456.                         hitpos=torso.Position;
  4457.                         cj=CFrame.new(hitpos);
  4458.                         c0=torso.CFrame:inverse()*cj;
  4459.                         c1=p2:inverse()*cj;
  4460.                         weld.C0=c0;
  4461.                         weld.C1=c1;
  4462.                        
  4463.                         gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  4464.                        
  4465.                         wait(0.001);
  4466.                 until arml~=alv;
  4467.                 gyro.Parent=nil;
  4468.         end;
  4469. end;
  4470.  
  4471. _cf_deselect=function()
  4472.         bool_active=false;
  4473.         arml=(arml or 0)+1;
  4474.         loop_shot=(loop_shot or 0)+1;
  4475.                
  4476.         h_weld.Part0=torso;
  4477.         h_weld.C1=h_weld_cf_inactive;
  4478.        
  4479.         local weld=torso:findFirstChild'right_arml';
  4480.         if(weld)then
  4481.                 weld.Part1=nil;
  4482.                 weld.Part0=nil;
  4483.         end;
  4484.         local arm=char:findFirstChild'Right Arm';
  4485.         local weld=torso:findFirstChild'Right Shoulder';
  4486.         if(arm and weld)then
  4487.                 weld.Part0=torso;
  4488.                 weld.Part1=arm;
  4489.         end;
  4490. end;
  4491.  
  4492. _cf_mouse=function(event,fun)
  4493.         mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  4494.                 if(bool_active)then
  4495.                         fun(...);
  4496.                 end;
  4497.         end);
  4498. end;
  4499.  
  4500.  
  4501. do
  4502.         local main=getfenv(0);
  4503.         local c=game:children();
  4504.         local check=function(v)
  4505.                 if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  4506.                         main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  4507.                 end;
  4508.         end;
  4509.         for i=1,#c do
  4510.                 pcall(check,c[i]);
  4511.         end;
  4512. end;
  4513.  
  4514.  
  4515. bullets={
  4516.         maximum=51111111111111111111111111110;
  4517.         current=511111111111111111111111111111110;
  4518.         clip=501111111111111111111111111111111*4;
  4519. };
  4520.  
  4521. list_base_props={
  4522.         backgroundColor3=_RGB(0,0,0);
  4523.         textColor3=_RGB(200,200,200);
  4524.         borderSizePixel=0;
  4525.         color=_RGB(0,0,0);
  4526.         archivable=false;
  4527.         canCollide=false;
  4528.         bottomSurface=0;
  4529.         topSurface=0;
  4530.         formFactor=0;
  4531.         locked=true;
  4532. };
  4533.  
  4534.  
  4535.  
  4536. user=players.localPlayer;
  4537. mouse=user:getMouse();
  4538. char=user.Character;
  4539. gui=user.PlayerGui;
  4540. bag=user.Backpack;
  4541. torso=char.Torso;
  4542. head=char.Head;
  4543. hum=_hum(char);
  4544.  
  4545. url='rbxassetid://%d';
  4546. name='dev-uzi';
  4547.  
  4548. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  4549.                                                         0,90,-70);
  4550. h_weld_cf_active=_cframe(0,0.75,0,
  4551.                                                 -110,180,0);
  4552.  
  4553. assert(hum,'humanoid is not found');
  4554.  
  4555.  
  4556.  
  4557. _clear();
  4558.  
  4559.  
  4560. _cf_mouse('button1Down',function()
  4561.         loop_shot=(loop_shot or 0)+1;
  4562.         local vers=loop_shot;
  4563.         local step=runService.Stepped;
  4564.         repeat
  4565.                 _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  4566.                 step:wait();--wait(0.001);
  4567.         until vers~=loop_shot;
  4568. end);
  4569.  
  4570. _cf_mouse('button1Up',function()
  4571.         loop_shot=(loop_shot or 0)+1;
  4572. end);
  4573.  
  4574. _cf_mouse('move',function()
  4575.         cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  4576. end);
  4577.  
  4578. _cf_mouse('keyDown',function(k)
  4579.         if(k=='r')then
  4580.                 if(bullets.clip>0 and time_left<=time())then
  4581.                         local got=(bullets.clip>bullets.maximum and
  4582.                                 bullets.maximum or
  4583.                                 bullets.clip)-bullets.current;
  4584.  
  4585.                         bullets.clip=bullets.clip-got;
  4586.                         bullets.current=bullets.current+got;
  4587.                         if(got~=0)then
  4588.                                 time_left=time()+2;
  4589.                         end;
  4590.                 end;
  4591.         end;
  4592. end);
  4593.  
  4594.  
  4595. screen=_new'screenGui'{
  4596.         name=name;
  4597. };
  4598.  
  4599. cross_f=_new'frame'{
  4600.         size=UDim2.new(0,21,0,21);
  4601.         backgroundTransparency=1;
  4602.         screen;
  4603. };
  4604.  
  4605. for i=0,1 do
  4606.         _new'frame'{
  4607.                 position=UDim2.new(0,13*i,0,11);
  4608.                 size=UDim2.new(0,10,0,1);
  4609.                 cross_f;
  4610.         };
  4611. end;
  4612.  
  4613. for i=0,1 do
  4614.         _new'frame'{
  4615.                 position=UDim2.new(0,11,0,13*i);
  4616.                 size=UDim2.new(0,1,0,10);
  4617.                 cross_f;
  4618.         };
  4619. end;
  4620.  
  4621.  
  4622.  
  4623. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  4624.         soundId=url:format(2920959);
  4625.         pitch=1.4;
  4626.         head;
  4627. };
  4628. if(shot_sound.Name~='2920959')then
  4629.         shot_sound.Name='2920959';
  4630.         shot_sound:play();
  4631. end;
  4632.  
  4633. bin=_new'hopperBin'{
  4634.         deselected=_cf_deselect;
  4635.         selected=_cf_select;
  4636.         name=name;
  4637.         bag;
  4638. };
  4639.  
  4640. inv=_new'model'{
  4641.         name=name;
  4642.         char;
  4643. };
  4644.  
  4645. handle=_new'part'{
  4646.         size=Vector3.new(0.3,1.3,0.4);
  4647.         color=_RGB(140,140,140);
  4648.         name='handle';
  4649.         formFactor=3;
  4650.         inv;
  4651.         touched=function(hit)
  4652.                 if(hit.Parent.className=='Model')then
  4653.                         local hum=_hum(hit.Parent);
  4654.                         if(hum~=nil)then
  4655.                                 _hum_dam(hum,handle.Velocity.magnitude);
  4656.                         end;
  4657.                 end;
  4658.         end;
  4659. };
  4660.         h_weld=_new'weld'{
  4661.                 c1=h_weld_cf_inactive;
  4662.                 part1=handle;
  4663.                 part0=torso;
  4664.                 handle;
  4665.         };
  4666.                 _make_hue();
  4667.                
  4668.                 h_part=_new'part'{
  4669.                         size=Vector3.new(0.4,0.4,1.4);
  4670.                         color=_RGB(140,140,140);
  4671.                         name='handle';
  4672.                         formFactor=3;
  4673.                         handle;
  4674.                 };
  4675.                 hp_weld=_new'weld'{
  4676.                         c1=_cframe(0,-1.3/2,-0.3,
  4677.                                                 20,0,0);
  4678.                         part0=handle;
  4679.                         part1=h_part;
  4680.                         handle;
  4681.                 };
  4682.                
  4683.                 drag=_new'part'{
  4684.                         size=Vector3.new(0.5,0.45,1.5);
  4685.                         color=_RGB(100,100,100);
  4686.                         name='handle';
  4687.                         formFactor=3;
  4688.                         handle;
  4689.                 };
  4690.                 d_weld=_new'weld'{
  4691.                         c1=_cframe(0,-0.25,0);
  4692.                         part0=h_part;
  4693.                         part1=drag;
  4694.                         handle;
  4695.                 };
  4696.                
  4697.                 tube=_new'part'{
  4698.                         size=Vector3.new(0.2,0.2,1.5);
  4699.                         color=_RGB(0,0,0);
  4700.                         name='handle';
  4701.                         formFactor=3;
  4702.                         handle;
  4703.                 };
  4704.                 t_weld=_new'weld'{
  4705.                         c1=_cframe(0,-0.3,-0.1);
  4706.                         part0=h_part;
  4707.                         part1=tube;
  4708.                         handle;
  4709.                 };
  4710.  
  4711. bullets_label=_new'textLabel'{
  4712.         textStrokeColor3=_RGB(0,0,0);
  4713.         textColor3=_RGB(200,200,200);
  4714.         textStrokeTransparency=0;
  4715.         backgroundTransparency=1;
  4716.         fontSize=5;
  4717.         screen;
  4718. };
  4719.  
  4720. lightstuff=_new'frame'{
  4721.         backgroundColor3=_RGB(255,255,255);
  4722.         position=UDim2.new(0,0,0,-1);
  4723.         backgroundTransparency=0.5;
  4724.         size=UDim2.new(1,0,1,1);
  4725.         borderSizePixel=0;
  4726.         visible=false;
  4727.         screen;
  4728. };
  4729.  
  4730. coroutine.wrap(function()
  4731.         local red,white,green;
  4732.         repeat
  4733.                 if(screen.Parent)then
  4734.                         if(not green and bullets.current==bullets.maximum)then
  4735.                                 green=true;
  4736.                                 bullets_label.TextColor3=_RGB(0,200,0);
  4737.                         elseif(not red and bullets.current==0)then
  4738.                                 red=true;
  4739.                                 bullets_label.TextColor3=_RGB(200,0,0);
  4740.                         elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  4741.                                 bullets_label.TextColor3=_RGB(200,200,200);
  4742.                                 green=false;
  4743.                                 red=false;
  4744.                         end;
  4745.                         bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  4746.                         bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  4747.                         bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  4748.                 end;
  4749.                 wait(0.001);
  4750.         until nil;
  4751. end)();
  4752.  
  4753.  
  4754. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  4755. local vers=_G.dev_pistol_version;
  4756. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  4757. if(hum.Health==0)then
  4758.         _clear();
  4759. end;
  4760. end
  4761. end)
  4762.  
  4763. addcmd('nil', 'removes the player',{},
  4764. function(args, speaker)
  4765.     local players = getPlayer(args[1], speaker)
  4766.     for i,v in pairs(players)do
  4767.         pcall(function() gPlayers[v].Character:Remove() end)
  4768.         gPlayers[v].Character = nil
  4769.         if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
  4770.             Notify('Made player(s) nil') end end end)
  4771.  
  4772.  
  4773. addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {},
  4774. function(args, speaker)
  4775.     local player = args[1]
  4776.     local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1])
  4777.     if player ~= nil then
  4778.     if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then
  4779.         table.insert(banT, playerid)
  4780.         banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"}
  4781.         updatebans()
  4782.         Notify("Added ban for: "..player)
  4783.     end
  4784.     end
  4785. end)
  4786.  
  4787. addcmd('ban', 'goodbye ;)',{},
  4788. function(args, speaker)
  4789. local players = getPlayer(args[1], speaker)
  4790. for i,v in pairs(players)do
  4791. if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
  4792. Notify('Banned player(s)') end
  4793.     spawn(function()
  4794. if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
  4795. if not FindTable(banname, gPlayers[v].Name) then
  4796. table.insert(banT, _players[v].userId)
  4797. banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)}
  4798. updatebans()
  4799. kickF(gPlayers[v])
  4800. end
  4801. end
  4802. end)
  4803. end
  4804. end)
  4805.  
  4806. addcmd('clearbans', 'welcome back!',{'clrbans'},
  4807. function(args, speaker)
  4808.     banT = {}
  4809.     banname = {}
  4810.     Notify('Removed all bans')
  4811.     updatebans()
  4812. end)
  4813.  
  4814. addcmd('unban','unbans a player',{},
  4815. function(args, speaker)
  4816.     if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then
  4817.         table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])))
  4818.         for i,v in pairs(banname) do
  4819.         if v.NAME == tostring(args[1]) then
  4820.         table.remove(banname, i)
  4821.         updatebans()
  4822.         end end
  4823.         Notify('Unbanned ' .. args[1])
  4824.     end
  4825. end)
  4826.  
  4827. addcmd('dismiss', 'dismiss',{'verify'},
  4828. function(args, speaker)
  4829. for _, child in pairs( workspace:GetChildren()) do
  4830.     if child.Name == speaker.Name .. "TAB" then
  4831.         child:Destroy() end end
  4832. for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end
  4833. end)
  4834.  
  4835. addcmd('admin', 'ur an admin now ;o',{},
  4836. function(args, speaker)
  4837. if speaker.userId ~= LP.userId then
  4838. lponly(speaker) else
  4839.     local players = getPlayer(args[1], speaker)
  4840.     for i,v in pairs(players)do
  4841.         spawn(function()
  4842.         if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then
  4843.             table.insert(adminT, _players[v].userId)
  4844.             adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)}
  4845.             updateadmins()
  4846.             if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
  4847. Notify('Gave player(s) admin') end
  4848. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
  4849. end end) end end end)
  4850.  
  4851. addcmd('unadmin', 'removes the admin',{'noadmin'},
  4852. function(args, speaker)
  4853. if speaker.userId ~= LP.userId then
  4854. lponly(speaker) else
  4855.     local players = getPlayer(args[1], speaker)
  4856.     for i,v in pairs(players)do
  4857.         local radmin = tostring(_players[v].Name)
  4858.         if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
  4859.         table.remove(adminT, GetInTable(adminT, _players[v].userId))
  4860.         for a,b in pairs(adminname) do
  4861.         if b.NAME == radmin then
  4862.         table.remove(adminname, a)
  4863.         updateadmins()
  4864.         end end
  4865.         game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
  4866.         if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
  4867.         Notify('Removed admin from player(s)') end
  4868.     end
  4869.     end
  4870.     end
  4871. end)
  4872.  
  4873. addcmd('bang', 'owo',{'rape'},
  4874. function(args, speaker)
  4875.     local players = getPlayer(args[1], speaker)
  4876.     local target = getPlayer(args[2], speaker)[1]
  4877.     for i,v in pairs(players)do
  4878.     if args[2] then
  4879.         rape(target, v)
  4880.     else
  4881.         rape(v, speaker.Name)
  4882.     end
  4883.     end
  4884. end)
  4885.  
  4886. addcmd('bgui', 'gives player billboard gui presenting text',{},
  4887. function(args, speaker)
  4888.     local players = getPlayer(args[1], speaker)
  4889.     for i,v in pairs(players)do
  4890. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  4891. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
  4892. end
  4893.  
  4894. y = Instance.new("BillboardGui")
  4895. y.Size = UDim2.new(0,100,0,150)
  4896. y.StudsOffset = Vector3.new(0,1,0)
  4897. y.Parent = gPlayers[v].Character.Head
  4898. y.Adornee = gPlayers[v].Character.Head
  4899. f = Instance.new("TextLabel")
  4900. f.Parent = y
  4901. f.BackgroundTransparency = 1
  4902. f.Position = UDim2.new(0,0,0,-50)
  4903. f.Size = UDim2.new(0,100,0,100)
  4904. f.Font = "Highway"
  4905. f.FontSize = "Size48"
  4906. f.Text = GLS(false, 1)
  4907. f.TextStrokeColor3 = Color3.new(0,0,0)
  4908. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  4909. f.TextStrokeTransparency = 0
  4910. f.TextYAlignment = "Bottom"
  4911. end
  4912. end)
  4913.  
  4914. addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
  4915. function(args, speaker)
  4916.     local players = getPlayer(args[1], speaker)
  4917.     for i,v in pairs(players)do
  4918. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  4919. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
  4920. end
  4921. end
  4922. end)
  4923.  
  4924. function pipeTp(name,target)
  4925.     spawn(function()
  4926.     local pipe = Instance.new("Part")
  4927.     pipe.Name = "Pipe"
  4928.     pipe.Color = Color3.new(52/255,142/255,64/255)
  4929.     pipe.Size = Vector3.new(8,8,8)
  4930.     pipe.Anchored = true
  4931.     local mesh = Instance.new("SpecialMesh",pipe)
  4932.     mesh.MeshId = "rbxassetid://856736661"
  4933.     mesh.Scale = Vector3.new(0.15, 0.15, 0.15)
  4934.     local sound = Instance.new("Sound",pipe)
  4935.     sound.SoundId = "rbxassetid://864352897"
  4936.     sound.Volume = 1
  4937.    
  4938.     local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame
  4939.    
  4940.     local char = game:GetService("Players")[name].Character
  4941.     char.PrimaryPart = char.HumanoidRootPart
  4942.     if char:FindFirstChild("Torso") then
  4943.         char.Torso.Anchored = true
  4944.     else
  4945.         char.UpperTorso.Anchored = true
  4946.     end
  4947.    
  4948.     local torso = char.HumanoidRootPart
  4949.     local initPos = torso.CFrame
  4950.    
  4951.     pipe.Parent = workspace
  4952.     pipe.CFrame = initPos - Vector3.new(0,8,0)
  4953.    
  4954.     for i = 0,8,0.2 do
  4955.         pipe.CFrame = initPos - Vector3.new(0,8-i,0)
  4956.         if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
  4957.         game:GetService("RunService").RenderStepped:wait()
  4958.     end
  4959.    
  4960.     sound:Play()
  4961.     for i = 7,-8,-0.2 do
  4962.         char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
  4963.         game:GetService("RunService").RenderStepped:wait()
  4964.     end
  4965.     char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0))
  4966.    
  4967.     for i = 8,0,-0.2 do
  4968.         pipe.CFrame = initPos - Vector3.new(0,8-i,0)
  4969.         game:GetService("RunService").RenderStepped:wait()
  4970.     end
  4971.    
  4972.     pipe.CFrame = targetpos - Vector3.new(0,8,0)
  4973.     char:SetPrimaryPartCFrame(pipe.CFrame)
  4974.    
  4975.     for i = 0,8,0.2 do
  4976.         pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
  4977.         game:GetService("RunService").RenderStepped:wait()
  4978.     end
  4979.    
  4980.     local played = false
  4981.     for i = -8,7,0.2 do
  4982.         if i >= 0 and not played then played = true sound:Play() end
  4983.         char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
  4984.         game:GetService("RunService").RenderStepped:wait()
  4985.     end
  4986.     char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0))
  4987.    
  4988.     for i = 8,0,-0.2 do
  4989.         pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
  4990.         if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
  4991.         game:GetService("RunService").RenderStepped:wait()
  4992.     end
  4993.    
  4994.     pipe:Destroy()
  4995.    
  4996.     if char:FindFirstChild("Torso") then
  4997.         char.Torso.Anchored = false
  4998.     else
  4999.         char.UpperTorso.Anchored = false
  5000.     end
  5001.     end)
  5002. end
  5003.  
  5004. addcmd('pipetp', 'uses pipe to tp plr to plr',{},
  5005. function(args, speaker)
  5006.     local players = getPlayer(args[1], speaker)
  5007.     local target = getPlayer(args[2], speaker)[1]
  5008.     for i,v in pairs(players)do
  5009.         pipeTp(v,target)
  5010.     end
  5011. end)
  5012.  
  5013. addcmd('rhats', 'no more hats',{'removehats'},
  5014. function(args, speaker)
  5015.     local players = getPlayer(args[1], speaker)
  5016.     for i,v in pairs(players) do
  5017.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5018.             if v:IsA('Accessory') then
  5019.                 v:destroy()
  5020.             end
  5021.         end
  5022.     end
  5023. end)
  5024.  
  5025. addcmd('naked', 'no more clothing',{},
  5026. function(args, speaker)
  5027.     local players = getPlayer(args[1], speaker)
  5028.     for i,v in pairs(players) do
  5029.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5030.             if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
  5031.                 v:destroy()
  5032.             end
  5033.         end
  5034.     end
  5035. end)
  5036.  
  5037. addcmd('rainbow', 'makes a players parts change colors',{},
  5038. function(args, speaker)
  5039.     local players = getPlayer(args[1], speaker)
  5040.     for i,v in pairs(players) do
  5041.     local Parts={}
  5042. local function GetDiscoColor(hue)
  5043.     local section = hue % 1 * 3
  5044.     local secondary = 0.5 * math.pi * (section % 1)
  5045.     if section < 1 then
  5046.         return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  5047.     elseif section < 2 then
  5048.         return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  5049.     else
  5050.         return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  5051.     end
  5052. end
  5053. local Part = function(x,y,z,color,tr,cc,an,parent)
  5054.     local p = Instance.new('Part',parent)
  5055.     p.formFactor = 'Custom'
  5056.     p.Size = Vector3.new(x,y,z)
  5057.     p.BrickColor = BrickColor.new(color)
  5058.     p.CanCollide = cc
  5059.     p.Transparency = tr
  5060.     p.Anchored = an
  5061.     p.TopSurface,p.BottomSurface = 0,0
  5062.     p:BreakJoints''
  5063.     table.insert(Parts,p)
  5064.     return p
  5065. end
  5066. local Weld = function(p0,p1)
  5067.     local w = Instance.new('Motor',p0)
  5068.     w.Part0 = p0
  5069.     w.Part1 = p1
  5070.     return w
  5071. end
  5072. local Mesh = function(par,num,x,y,z)
  5073.     local msh = 0
  5074.     if num == 1 then
  5075.         msh = Instance.new("SpecialMesh",par)
  5076.         msh.MeshId='rbxasset://fonts/torso.mesh'
  5077.         msh.TextureId='rbxasset://25701026'
  5078.     end
  5079.     if num == 2 then
  5080.         msh = Instance.new("SpecialMesh",par)
  5081.         msh.MeshId='rbxasset://fonts/head.mesh'
  5082.         msh.TextureId='rbxassetid://25701026'
  5083.     end
  5084.     msh.Scale = Vector3.new(x,y,z)
  5085.     return msh
  5086. end
  5087. local char=gPlayers[v].Character
  5088. for _,v in pairs(char:GetChildren()) do
  5089.     if v.ClassName=="Part" then
  5090.         v.Transparency=1
  5091.     elseif v.ClassName=="Hat" then
  5092.         v.Handle.Mesh.TextureId='rbxassetid://25701026'
  5093.         table.insert(Parts,v.Handle)
  5094.     end
  5095. end
  5096. local t=Part(1,1,1,'',0,false,false,char)
  5097. Mesh(t,1,1,1,1)
  5098. Weld(char.Torso,t)
  5099. local a=Part(1,1,1,'',0,false,false,char)
  5100. Mesh(a,1,.5,1,1)
  5101. Weld(char['Right Arm'],a)
  5102. local a=Part(1,1,1,'',0,false,false,char)
  5103. Mesh(a,1,.5,1,1)
  5104. Weld(char['Left Arm'],a)
  5105. local l=Part(1,1,1,'',0,false,false,char)
  5106. Mesh(l,1,.5,1,1)
  5107. Weld(char['Right Leg'],l)
  5108. local l=Part(1,1,1,'',0,false,false,char)
  5109. Mesh(l,1,.5,1,1)
  5110. Weld(char['Left Leg'],l)
  5111. local h=Part(1,1,1,'',0,false,false,char)
  5112. Mesh(h,2,1,1,1)
  5113. Weld(char.Head,h)
  5114. spawn(function()
  5115.     while(coroutine.yield())do
  5116.         for i=1,#Parts do
  5117.             Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)
  5118.         end
  5119.     end;
  5120. end);
  5121.     end
  5122. end)
  5123.  
  5124. addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
  5125. function(args, speaker)
  5126.     local players = getPlayer(args[1], speaker)
  5127.     for i,v in pairs(players) do
  5128.         for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do
  5129.             if v:IsA('Tool') or v:IsA('HopperBin') then
  5130.                 v:destroy() end
  5131.     for i,v in pairs(players) do
  5132.         for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  5133.             if v:IsA('Tool') or v:IsA('HopperBin') then
  5134.                 v:destroy() end end end
  5135.         end
  5136.     end
  5137. end)
  5138.  
  5139. addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
  5140. function(args, speaker)
  5141.     local players = getPlayer(args[1], speaker)
  5142.     for i,v in pairs(players)do
  5143.             local function copy(instance)
  5144.         for i,c in pairs(instance:GetChildren())do
  5145.             if c:IsA('Tool') or c:IsA('HopperBin') then
  5146.                 c:Clone().Parent = gPlayers[v].StarterGear end
  5147.             copy(c)
  5148.         end
  5149.     end
  5150.     copy(gPlayers[v].Backpack)
  5151. end
  5152. for i,v in pairs(players)do
  5153.     local function copy(instance)
  5154.         for i,c in pairs(instance:GetChildren())do
  5155.             if c:IsA('Tool') or c:IsA('HopperBin') then
  5156.                 c:Clone().Parent = gPlayers[v].StarterGear end
  5157.             copy(c)
  5158.         end
  5159.     end
  5160.     copy(gPlayers[v].Character)
  5161. end
  5162. Notify('Copied tools to StarterGear')
  5163. end)
  5164.  
  5165. addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
  5166. function(args, speaker)
  5167.     local players = getPlayer(args[1], speaker)
  5168.     for i,v in pairs(players)do
  5169.     for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do
  5170.     if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
  5171. end end end
  5172. Notify('Cleared tools from StarterGear')
  5173. end)
  5174.  
  5175. addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
  5176. function(args, speaker)
  5177.     local players = getPlayer(args[1], speaker)
  5178.     for i,v in pairs(players)do
  5179.             local function copy(instance)
  5180.         for i,c in pairs(instance:GetChildren())do
  5181.             if c:IsA('Tool') or c:IsA('HopperBin') then
  5182.                 c:Clone().Parent = gPlayers[v].Backpack end
  5183.             copy(c)
  5184.         end
  5185.     end
  5186.     copy(LightingService)
  5187. end
  5188. for i,v in pairs(players)do
  5189.     local function copy(instance)
  5190.         for i,c in pairs(instance:GetChildren())do
  5191.             if c:IsA('Tool') or c:IsA('HopperBin') then
  5192.                 c:Clone().Parent = gPlayers[v].Backpack end
  5193.             copy(c)
  5194.         end
  5195.     end
  5196.     copy(game.ReplicatedStorage)
  5197.     end
  5198. end)
  5199.  
  5200. wdisco = false
  5201. addcmd('partdisco', 'color spams the workspace',{'pdisco'},
  5202. function(args, speaker)
  5203. if wdisco == false then
  5204. wdisco = true
  5205. presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  5206.         repeat wait(1)
  5207.             if wdisco == true then
  5208.         local function color(instance)
  5209.         for i,v in pairs(instance:GetChildren())do
  5210.             if v.className == "Part" then
  5211.                 v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
  5212.             color(v)
  5213.         end
  5214. end
  5215. color(workspace)
  5216. end
  5217. until wdisco == false
  5218. end
  5219. end)
  5220.  
  5221. addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
  5222. function(args, speaker)
  5223. wdisco = false
  5224. end)
  5225.  
  5226. addcmd('gravity', 'workspace gravity',{''},
  5227. function(args, speaker)
  5228. workspace.Gravity = args[1]
  5229. Notify('Gravity set to ' .. args[1])
  5230. end)
  5231.  
  5232. SINFOGUIopen = false
  5233. function serverinfogui()
  5234. if SINFOGUIopen == false then
  5235. local Sinfo = Instance.new("ScreenGui")
  5236. local drag = Instance.new("Frame")
  5237. local PromptDialog = Instance.new("Frame")
  5238. local shadow = Instance.new("Frame")
  5239. local PopupText = Instance.new("TextLabel")
  5240. local Exit = Instance.new("TextButton")
  5241. local ContainerFrame = Instance.new("Frame")
  5242. local TextLabel = Instance.new("TextLabel")
  5243. local TextLabel2 = Instance.new("TextLabel")
  5244. local TextLabel3 = Instance.new("TextLabel")
  5245. local Time = Instance.new("TextLabel")
  5246. local appearance = Instance.new("TextLabel")
  5247. local fe = Instance.new("TextLabel")
  5248. local maxplayers = Instance.new("TextLabel")
  5249. local name = Instance.new("TextLabel")
  5250. local placeid = Instance.new("TextLabel")
  5251. local playerid = Instance.new("TextLabel")
  5252. local players = Instance.new("TextLabel")
  5253. Sinfo.Name = "Sinfo"
  5254. Sinfo.Parent = game.CoreGui
  5255. drag.Name = "drag"
  5256. drag.Parent = Sinfo
  5257. drag.Active = true
  5258. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  5259. drag.BackgroundTransparency = 1
  5260. dragGUI(drag)
  5261. drag.Position = UDim2.new(0.5, -150, 0, -400)
  5262. drag.Size = UDim2.new(0, 290, 0, 30)
  5263. PromptDialog.Name = "PromptDialog"
  5264. PromptDialog.Parent = drag
  5265. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  5266. PromptDialog.BackgroundTransparency = 1
  5267. PromptDialog.BorderSizePixel = 0
  5268. PromptDialog.Position = UDim2.new(0, -10, 0, 0)
  5269. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  5270. PromptDialog.ZIndex = 8
  5271. shadow.Name = "shadow"
  5272. shadow.Parent = PromptDialog
  5273. shadow.BackgroundColor3 = maincolor
  5274. shadow.BackgroundTransparency = 0.30000001192093
  5275. shadow.BorderColor3 = Color3.new(0, 0, 0)
  5276. shadow.BorderSizePixel = 0
  5277. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  5278. shadow.Size = UDim2.new(0, 290, 0, 26)
  5279. PopupText.Name = "PopupText"
  5280. PopupText.Parent = shadow
  5281. PopupText.BackgroundTransparency = 1
  5282. PopupText.Position = UDim2.new(0, 8, 0, -3)
  5283. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  5284. PopupText.ZIndex = 110
  5285. PopupText.Font = Enum.Font.SourceSansBold
  5286. PopupText.FontSize = Enum.FontSize.Size28
  5287. PopupText.Text = "Server"
  5288. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  5289. PopupText.TextStrokeTransparency = 0
  5290. PopupText.TextWrapped = true
  5291. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  5292. Exit.Name = "Exit"
  5293. Exit.Parent = shadow
  5294. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  5295. Exit.BackgroundTransparency = 0.30000001192093
  5296. Exit.BorderColor3 = Color3.new(1, 0, 0)
  5297. Exit.BorderSizePixel = 0
  5298. Exit.Position = UDim2.new(0, 267, 0, 3)
  5299. Exit.Size = UDim2.new(0, 20, 0, 20)
  5300. Exit.FontSize = Enum.FontSize.Size14
  5301. Exit.Text = ""
  5302. ContainerFrame.Name = "ContainerFrame"
  5303. ContainerFrame.Parent = PromptDialog
  5304. ContainerFrame.BackgroundColor3 = maincolor
  5305. ContainerFrame.BackgroundTransparency = 0.5
  5306. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  5307. ContainerFrame.BorderSizePixel = 0
  5308. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  5309. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  5310. ContainerFrame.ZIndex = 5
  5311. TextLabel.Name = "Text Label"
  5312. TextLabel.Parent = ContainerFrame
  5313. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  5314. TextLabel.BackgroundTransparency = 1
  5315. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  5316. TextLabel.Position = UDim2.new(0, 10, 0, 70)
  5317. TextLabel.Size = UDim2.new(0, 100, 0, 20)
  5318. TextLabel.ZIndex = 10
  5319. TextLabel.Font = Enum.Font.SourceSans
  5320. TextLabel.FontSize = Enum.FontSize.Size24
  5321. TextLabel.Text = "Run Time:"
  5322. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5323. TextLabel.TextStrokeTransparency = 0
  5324. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  5325. TextLabel2.Name = "Text Label2"
  5326. TextLabel2.Parent = ContainerFrame
  5327. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  5328. TextLabel2.BackgroundTransparency = 1
  5329. TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
  5330. TextLabel2.Position = UDim2.new(0, 10, 0, 120)
  5331. TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  5332. TextLabel2.ZIndex = 10
  5333. TextLabel2.Font = Enum.Font.SourceSans
  5334. TextLabel2.FontSize = Enum.FontSize.Size24
  5335. TextLabel2.Text = "Statistics:"
  5336. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  5337. TextLabel2.TextStrokeTransparency = 0
  5338. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  5339. TextLabel3.Name = "Text Label3"
  5340. TextLabel3.Parent = ContainerFrame
  5341. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  5342. TextLabel3.BackgroundTransparency = 1
  5343. TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
  5344. TextLabel3.Position = UDim2.new(0, 10, 0, 0)
  5345. TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  5346. TextLabel3.ZIndex = 10
  5347. TextLabel3.Font = Enum.Font.SourceSans
  5348. TextLabel3.FontSize = Enum.FontSize.Size24
  5349. TextLabel3.Text = "Local Player:"
  5350. TextLabel3.TextColor3 = Color3.new(1, 1, 1)
  5351. TextLabel3.TextStrokeTransparency = 0
  5352. TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  5353. Time.Name = "Time"
  5354. Time.Parent = ContainerFrame
  5355. Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5356. Time.BackgroundTransparency = 1
  5357. Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5358. Time.Position = UDim2.new(0, 10, 0, 90)
  5359. Time.Size = UDim2.new(0, 100, 0, 20)
  5360. Time.ZIndex = 100
  5361. Time.Font = Enum.Font.ArialBold
  5362. Time.FontSize = Enum.FontSize.Size14
  5363. Time.Text = "Loading..."
  5364. Time.TextColor3 = Color3.new(1, 1, 1)
  5365. Time.TextStrokeTransparency = 0
  5366. Time.TextXAlignment = Enum.TextXAlignment.Left
  5367. appearance.Name = "appearance"
  5368. appearance.Parent = ContainerFrame
  5369. appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5370. appearance.BackgroundTransparency = 1
  5371. appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5372. appearance.Position = UDim2.new(0, 10, 0, 40)
  5373. appearance.Size = UDim2.new(0, 100, 0, 20)
  5374. appearance.ZIndex = 10
  5375. appearance.Font = Enum.Font.ArialBold
  5376. appearance.FontSize = Enum.FontSize.Size14
  5377. appearance.Text = "Appearance: Loading..."
  5378. appearance.TextColor3 = Color3.new(1, 1, 1)
  5379. appearance.TextStrokeTransparency = 0
  5380. appearance.TextXAlignment = Enum.TextXAlignment.Left
  5381. fe.Name = "fe"
  5382. fe.Parent = ContainerFrame
  5383. fe.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5384. fe.BackgroundTransparency = 1
  5385. fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5386. fe.Position = UDim2.new(0, 10, 0, 200)
  5387. fe.Size = UDim2.new(0, 100, 0, 20)
  5388. fe.ZIndex = 10
  5389. fe.Font = Enum.Font.ArialBold
  5390. fe.FontSize = Enum.FontSize.Size14
  5391. fe.Text = "Loading..."
  5392. fe.TextColor3 = Color3.new(1, 1, 1)
  5393. fe.TextStrokeTransparency = 0
  5394. fe.TextXAlignment = Enum.TextXAlignment.Left
  5395. maxplayers.Name = "maxplayers"
  5396. maxplayers.Parent = ContainerFrame
  5397. maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5398. maxplayers.BackgroundTransparency = 1
  5399. maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5400. maxplayers.Position = UDim2.new(0, 10, 0, 160)
  5401. maxplayers.Size = UDim2.new(0, 100, 0, 20)
  5402. maxplayers.ZIndex = 10
  5403. maxplayers.Font = Enum.Font.ArialBold
  5404. maxplayers.FontSize = Enum.FontSize.Size14
  5405. maxplayers.Text = "Loading..."
  5406. maxplayers.TextColor3 = Color3.new(1, 1, 1)
  5407. maxplayers.TextStrokeTransparency = 0
  5408. maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  5409. name.Name = "name"
  5410. name.Parent = ContainerFrame
  5411. name.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5412. name.BackgroundTransparency = 1
  5413. name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5414. name.Position = UDim2.new(0, 10, 0, 180)
  5415. name.Size = UDim2.new(0, 100, 0, 20)
  5416. name.ZIndex = 10
  5417. name.Font = Enum.Font.ArialBold
  5418. name.FontSize = Enum.FontSize.Size14
  5419. name.Text = "Place: Loading..."
  5420. name.TextColor3 = Color3.new(1, 1, 1)
  5421. name.TextStrokeTransparency = 0
  5422. name.TextXAlignment = Enum.TextXAlignment.Left
  5423. placeid.Name = "placeid"
  5424. placeid.Parent = ContainerFrame
  5425. placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5426. placeid.BackgroundTransparency = 1
  5427. placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5428. placeid.Position = UDim2.new(0, 10, 0, 220)
  5429. placeid.Size = UDim2.new(0, 100, 0, 20)
  5430. placeid.ZIndex = 10
  5431. placeid.Font = Enum.Font.ArialBold
  5432. placeid.FontSize = Enum.FontSize.Size14
  5433. placeid.Text = "Place ID: Loading..."
  5434. placeid.TextColor3 = Color3.new(1, 1, 1)
  5435. placeid.TextStrokeTransparency = 0
  5436. placeid.TextXAlignment = Enum.TextXAlignment.Left
  5437. playerid.Name = "playerid"
  5438. playerid.Parent = ContainerFrame
  5439. playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5440. playerid.BackgroundTransparency = 1
  5441. playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5442. playerid.Position = UDim2.new(0, 10, 0, 20)
  5443. playerid.Size = UDim2.new(0, 100, 0, 20)
  5444. playerid.ZIndex = 10
  5445. playerid.Font = Enum.Font.ArialBold
  5446. playerid.FontSize = Enum.FontSize.Size14
  5447. playerid.Text = "Player ID: Loading..."
  5448. playerid.TextColor3 = Color3.new(1, 1, 1)
  5449. playerid.TextStrokeTransparency = 0
  5450. playerid.TextXAlignment = Enum.TextXAlignment.Left
  5451. players.Name = "players"
  5452. players.Parent = ContainerFrame
  5453. players.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5454. players.BackgroundTransparency = 1
  5455. players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5456. players.Position = UDim2.new(0, 10, 0, 140)
  5457. players.Size = UDim2.new(0, 100, 0, 20)
  5458. players.ZIndex = 100
  5459. players.Font = Enum.Font.ArialBold
  5460. players.FontSize = Enum.FontSize.Size14
  5461. players.Text = "Loading..."
  5462. players.TextColor3 = Color3.new(1, 1, 1)
  5463. players.TextStrokeTransparency = 0
  5464. players.TextXAlignment = Enum.TextXAlignment.Left
  5465. local SINFOGUI = ContainerFrame
  5466. drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
  5467. SINFOGUIopen = true wait(0.5)
  5468. local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  5469. SINFOGUI.name.Text = "Place: " .. Asset.Name
  5470. Exit.MouseButton1Click:Connect(function()
  5471. drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
  5472. wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end)
  5473. SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId
  5474. if workspace.FilteringEnabled == true then
  5475. SINFOGUI.fe.Text = "Filtering Enabled"
  5476. elseif workspace.FilteringEnabled == false then
  5477. SINFOGUI.fe.Text = "Filtering Disabled"  end
  5478. SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max"
  5479. SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
  5480.     players = gPlayers:getPlayers()
  5481.     SINFOGUI.players.Text = #players.. " Player(s)"
  5482.     SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId
  5483.     local seconds = math.floor(workspace.DistributedGameTime)
  5484.     local minutes = math.floor(workspace.DistributedGameTime / 60)
  5485.     local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  5486.     local seconds = seconds - (minutes * 60)
  5487.     local minutes = minutes - (hours * 60)
  5488.     if hours < 1 then if minutes < 1 then
  5489.     SINFOGUI.Time.Text = seconds .. " Second(s)" else
  5490.     SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
  5491.     SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  5492. end  wait(1) until SINFOGUIopen == false end end
  5493. addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
  5494. function(args, speaker)
  5495. if speaker.userId ~= LP.userId then
  5496. lponly(speaker)
  5497. else
  5498. serverinfogui()
  5499. end
  5500. end)
  5501.  
  5502. addcmd('sparkles', 'give a player sparkles',{'sp'},
  5503. function(args, speaker)
  5504.     local players = getPlayer(args[1], speaker)
  5505.     for i,v in pairs(players)do
  5506.     spawn(function()
  5507.         local pchar=_char(v)
  5508.         local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  5509.         local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
  5510.         local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  5511.         local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  5512.         local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  5513.         local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  5514.         if not args[2] then return end
  5515.         Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5516.         Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5517.         Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5518.         Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5519.         Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5520.         Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5521.     end)
  5522.     end
  5523. end)
  5524.  
  5525. addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
  5526. function(args, speaker)
  5527.     local players = getPlayer(args[1], speaker)
  5528.     for i,v in pairs(players)do
  5529.         local pchar=_char(v)
  5530.         for j,v1 in pairs(pchar:GetDescendants()) do
  5531.             if v1:IsA("Sparkles") then
  5532.                 v1:Destroy()
  5533.             end end end
  5534. end)
  5535.  
  5536. addcmd('smoke', 'give a player smoke',{},
  5537. function(args, speaker)
  5538.     local players = getPlayer(args[1], speaker)
  5539.     for i,v in pairs(players)do
  5540.         local pchar=_char(v)
  5541.         Instance.new("Smoke", pchar.HumanoidRootPart)
  5542.     end
  5543. end)
  5544.  
  5545. addcmd('addstat', 'give a player a stat',{},
  5546. function(args, speaker)
  5547.     local players = getPlayer(args[1], speaker)
  5548.     for i,v in pairs(players)do
  5549.     spawn(function()
  5550.     if gPlayers[v]:FindFirstChild("leaderstats") then
  5551.     for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  5552.     if child.Name == "STAT" then
  5553.     child:Destroy()
  5554.     end
  5555.     end
  5556.     local score = Instance.new("StringValue")
  5557.     score.Name = "STAT"
  5558.     score.Value = GLS(false, 1)
  5559.     score.Parent = gPlayers[v].leaderstats
  5560.     else
  5561.     local stats = Instance.new("IntValue")
  5562.     stats.Name = "leaderstats"
  5563.     stats.Parent = gPlayers[v]
  5564.     for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  5565.     if child.Name == "STAT" then
  5566.     child:Destroy()
  5567.     end
  5568.     end
  5569.     local score = Instance.new("StringValue")
  5570.     score.Name = "STAT"
  5571.     score.Value = GLS(false, 1)
  5572.     score.Parent = gPlayers[v].leaderstats
  5573.     end
  5574.     end)
  5575.     end
  5576. end)
  5577.  
  5578. addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
  5579. function(args, speaker)
  5580.     local players = getPlayer(args[1], speaker)
  5581.     for i,v in pairs(players)do
  5582.         local pchar=_char(v)
  5583.         for j,v1 in pairs(pchar:GetDescendants()) do
  5584.             if v1:IsA("Smoke") then
  5585.                 v1:Destroy()
  5586.             end
  5587.         end
  5588.     end
  5589. end)
  5590.  
  5591. addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
  5592. function(args, speaker)
  5593.     local players = getPlayer(args[1], speaker)
  5594.     for i,v in pairs(players)do
  5595.         local pchar=_char(v)
  5596.         for i,v in pairs(pchar:GetChildren()) do
  5597.         if pchar.Torso:FindFirstChild("Neck") then
  5598.         pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  5599.         local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  5600.         Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
  5601.         Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
  5602.         local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
  5603.         local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
  5604.     end
  5605.     end
  5606. end
  5607. end)
  5608.  
  5609. addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
  5610. function(args, speaker)
  5611.     local players = getPlayer(args[1], speaker)
  5612.     for i,v in pairs(players)do
  5613.         local pchar=_char(v)
  5614.         for i,v in pairs(pchar:GetChildren()) do
  5615.         pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  5616.         local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  5617.     end
  5618. end
  5619. end)
  5620.  
  5621. addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
  5622. function(args, speaker)
  5623. workspace.Terrain:Clear()
  5624. end)
  5625.  
  5626. addcmd('smite','get hit by lightning',{},
  5627. function(args, speaker)
  5628.     local players = getPlayer(args[1], speaker)
  5629.     for i,v in pairs(players)do
  5630.         local pchar=_char(v)
  5631.         spawn(function()
  5632.                         local char = pchar
  5633.                         local zeus = Instance.new("Model",char)
  5634.                         local cloud = Instance.new("Part",zeus)
  5635.                         cloud.Anchored = true
  5636.                         cloud.CanCollide = false
  5637.                         cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0)
  5638.                         local sound = Instance.new("Sound",cloud)
  5639.                         sound.SoundId = "rbxassetid://133426162"
  5640.                         local mesh = Instance.new("SpecialMesh",cloud)
  5641.                         mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  5642.                         mesh.TextureId = "http://www.roblox.com/asset/?id=1095709"
  5643.                         mesh.Scale = Vector3.new(30,30,40)
  5644.                         mesh.VertexColor = Vector3.new(0.3,0.3,0.3)
  5645.                         local light = Instance.new("PointLight",cloud)
  5646.                         light.Color = Color3.new(0,85/255,1)
  5647.                         light.Brightness = 10
  5648.                         light.Range = 30
  5649.                         light.Enabled = false
  5650.                         wait(0.2)
  5651.                         sound.Volume = 0.5
  5652.                         sound.Pitch = 0.8
  5653.                         sound:Play()
  5654.                         light.Enabled = true
  5655.                         wait(1/100)
  5656.                         light.Enabled = false
  5657.                         wait(0.2)
  5658.                         light.Enabled = true
  5659.                         light.Brightness = 1
  5660.                         wait(0.05)
  5661.                         light.Brightness = 3
  5662.                         wait(0.02)
  5663.                         light.Brightness = 1
  5664.                         wait(0.07)
  5665.                         light.Brightness = 10
  5666.                         wait(0.09)
  5667.                         light.Brightness = 0
  5668.                         wait(0.01)
  5669.                         light.Brightness = 7
  5670.                         light.Enabled = false
  5671.                         wait(1.5)
  5672.                         local part1 = Instance.new("Part",zeus)
  5673.                         part1.Anchored = true
  5674.                         part1.CanCollide = false
  5675.                         part1.Size = Vector3.new(2, 9.2, 1)
  5676.                         part1.BrickColor = BrickColor.new("New Yeller")
  5677.                         part1.Transparency = 0.6
  5678.                         part1.BottomSurface = "Smooth"
  5679.                         part1.TopSurface = "Smooth"
  5680.                         part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0)
  5681.                         part1.Rotation = Vector3.new(0.359, 1.4, -14.361)
  5682.                         wait()
  5683.                         local part2 = part1:clone()
  5684.                         part2.Parent = zeus
  5685.                         part2.Size = Vector3.new(1, 7.48, 2)
  5686.                         part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0)
  5687.                         part2.Rotation = Vector3.new(77.514, -75.232, 78.051)
  5688.                         wait()
  5689.                         local part3 = part1:clone()
  5690.                         part3.Parent = zeus
  5691.                         part3.Size = Vector3.new(1.86, 7.56, 1)
  5692.                         part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  5693.                         part3.Rotation = Vector3.new(0, 0, -11.128)
  5694.                         sound.SoundId = "rbxassetid://130818250"
  5695.                         sound.Volume = 1
  5696.                         sound.Pitch = 1
  5697.                         sound:Play()
  5698.                         wait()
  5699.                         part1.Transparency = 1
  5700.                         part2.Transparency = 1
  5701.                         part3.Transparency = 1
  5702.                         Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
  5703.                         char:BreakJoints()
  5704.         end)
  5705.     end
  5706. end)
  5707.  
  5708. addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
  5709. function(args, speaker)
  5710.     local players = getPlayer(args[1], speaker)
  5711.     for i,v in pairs(players)do
  5712. spawn(function()
  5713.         local pchar=_char(v)
  5714.                 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)
  5715.                 local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
  5716.                 local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
  5717.                 local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
  5718.                 local f = Instance.new("Sound")
  5719.                 f.Name = "fly"
  5720.                 f.SoundId = "rbxassetid://179438534"
  5721.                 f.Volume = 3
  5722.                 f.Pitch = 1
  5723.                 f.Looped = true
  5724.                 f.archivable = true
  5725.                 f.Parent = Ast
  5726.                 f:play()
  5727.                 local Touched = false
  5728.                 coroutine.wrap(function()
  5729.                     repeat wait(0.1)
  5730.                         Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
  5731.                     until not Ast or Ast.Parent == nil or Touched == true
  5732.                 end)()
  5733.                 Ast.Touched:connect(function(Part)
  5734.                     if Touched == false then
  5735.                         Touched = true
  5736.                         Part:BreakJoints()
  5737.                         local Boom = Instance.new("Explosion", workspace)
  5738.                         Boom.Position = Ast.Position
  5739.                         Boom.BlastPressure = 1000000
  5740.                         Boom.BlastRadius = 30
  5741.                         Fire.Heat = 0
  5742.                         Smoke.RiseVelocity = 0
  5743.                         f:Destroy()
  5744.                         local s = Instance.new("Sound")
  5745.                         s.Name = "boom"
  5746.                         s.SoundId = "rbxassetid://188590169"
  5747.                         s.Volume = 3
  5748.                         s.Pitch = 1
  5749.                         s.Looped = true
  5750.                         s.archivable = true
  5751.                         s.Parent = Ast
  5752.                         s:play()
  5753.                         coroutine.wrap(function()
  5754.                             wait(10)
  5755.                             s:Destroy()
  5756.                             if Ast and Ast.Parent ~= nil then
  5757.                                 Ast:Destroy()
  5758.                             end
  5759.                         end)()
  5760.                     end
  5761.                 end)
  5762. end)
  5763. end
  5764. end)
  5765.  
  5766. addcmd('bomb','gives you a bomb vest',{'terrorist'},
  5767. function(args, speaker)
  5768.     local players = getPlayer(args[1], speaker)
  5769.     for i,v in pairs(players)do
  5770. spawn(function()
  5771.         local Char=_char(v)
  5772. local HumanoidRootPart = Char.HumanoidRootPart
  5773. local TickWait = 1
  5774. local Dead = false
  5775.  
  5776. local Position = Vector3.new(0,100,0)
  5777. function NewPart(Parent)
  5778.     local Part = Instance.new("Part", Parent)
  5779.     Part.CanCollide = false
  5780.     Part.Position = Position
  5781.     Part.TopSurface = "Smooth"
  5782.     Part.BottomSurface = "Smooth"
  5783.     Position = Position + Vector3.new(0,10,0)
  5784.     return Part
  5785. end
  5786.  
  5787. local Model = Char:FindFirstChild("Bomb")
  5788. if Model then Model:Destroy() end
  5789.  
  5790. local Model = Instance.new("Model", Char)
  5791. Model.Name = "Bomb"
  5792.  
  5793. local Belt = NewPart(Model)
  5794. Belt.Size = Vector3.new(2.2,0.5,1.2)
  5795. local Weld = Instance.new("Weld", Belt)
  5796. Weld.Part0 = Belt
  5797. Weld.Part1 = HumanoidRootPart
  5798. Weld.C0 = CFrame.new(0,1.1,0)
  5799. local Light = Instance.new("PointLight", Belt)
  5800. Light.Range = 15
  5801. Light.Brightness = 5
  5802. Light.Color = Color3.new(1,0,0)
  5803. local Beep = Instance.new("Sound", Belt)
  5804. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  5805. local ExplodeSound = Instance.new("Sound", Belt)
  5806. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
  5807. ExplodeSound.Pitch = 2.8
  5808. ExplodeSound.Volume = 3
  5809.  
  5810. local Back = NewPart(Model)
  5811. Back.Size = Vector3.new(1.5,1.5,0.5)
  5812. local Weld = Instance.new("Weld", Back)
  5813. Weld.Part0 = Back
  5814. Weld.Part1 = HumanoidRootPart
  5815. Weld.C0 = CFrame.new(0,0.1,-0.75)
  5816.  
  5817. local StrapLeft = NewPart(Model)
  5818. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  5819. local Weld = Instance.new("Weld", StrapLeft)
  5820. Weld.Part0 = StrapLeft
  5821. Weld.Part1 = HumanoidRootPart
  5822. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  5823.  
  5824. local BuckleLeft = NewPart(Model)
  5825. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  5826. local Weld = Instance.new("Weld", BuckleLeft)
  5827. Weld.Part0 = BuckleLeft
  5828. Weld.Part1 = HumanoidRootPart
  5829. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  5830.  
  5831. local StrapRight = NewPart(Model)
  5832. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  5833. local Weld = Instance.new("Weld", StrapRight)
  5834. Weld.Part0 = StrapRight
  5835. Weld.Part1 = HumanoidRootPart
  5836. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  5837.  
  5838. local BuckleRight = NewPart(Model)
  5839. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  5840. local Weld = Instance.new("Weld", BuckleRight)
  5841. Weld.Part0 = BuckleRight
  5842. Weld.Part1 = HumanoidRootPart
  5843. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  5844.  
  5845. LightEnabled = true
  5846. coroutine.wrap(function()
  5847.     repeat
  5848.         wait(TickWait)
  5849.         LightEnabled = not LightEnabled
  5850.         Light.Enabled = LightEnabled
  5851.         Beep:Play()
  5852.     until Dead == true or Char:FindFirstChild("Bomb") == nil
  5853. end)()
  5854.  
  5855. wait(10)
  5856.     if Dead == false then
  5857.         Dead = true
  5858.         ExplodeSound:Play(); wait(1.4)
  5859.         local Explosion = Instance.new("Explosion")
  5860.         Explosion.Position = Belt.Position
  5861.         Explosion.BlastPressure = 100000
  5862.         Explosion.DestroyJointRadiusPercent = 0.7
  5863.         Explosion.ExplosionType = "CratersAndDebris"
  5864.         Explosion.BlastRadius = 50
  5865.         Explosion.Parent = workspace
  5866.     end
  5867. end)
  5868. end
  5869. end)
  5870.  
  5871. addcmd('btools', 'gives a player btools',{},
  5872. function(args, speaker)
  5873.     local players = getPlayer(args[1], speaker)
  5874.     if players ~= nil then
  5875.         for i, v in pairs(players) do
  5876.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool
  5877.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool
  5878.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool
  5879.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool
  5880.             if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
  5881.             Notify('Gave btools to player(s)') end end end end)
  5882.  
  5883. addcmd('sword', 'gives a player a sword',{},
  5884. function(args, speaker)
  5885. local players = getPlayer(args[1], speaker)
  5886. if players ~= nil then
  5887. for i, v in pairs(players) do
  5888. coroutine.resume(coroutine.create(function()
  5889. if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
  5890. local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword"  sword.TextureId = "rbxasset://Textures/Sword128.png"
  5891. sword.GripForward = Vector3.new(-1,0,0)
  5892. sword.GripPos = Vector3.new(0,0,-1.5)
  5893. sword.GripRight = Vector3.new(0,1,0)
  5894. sword.GripUp = Vector3.new(0,0,1)
  5895. 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
  5896. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  5897. repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid")
  5898. local Damage = 15
  5899. local SlashSound = Instance.new("Sound", handle)
  5900. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  5901. SlashSound.Volume = 1
  5902. local LungeSound = Instance.new("Sound", handle)
  5903. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  5904. LungeSound.Volume = 1
  5905. local UnsheathSound = Instance.new("Sound", handle)
  5906. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  5907. UnsheathSound.Volume = 1
  5908. handle.Touched:connect(function(hit)
  5909. 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
  5910. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  5911. hit.Parent.Humanoid:TakeDamage(Damage)
  5912. if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end
  5913. sword.Enabled = false
  5914. SlashSound:play()
  5915. local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash"
  5916. wait(0.5)
  5917. sword.Enabled = true
  5918. end
  5919. end)
  5920. sword.Equipped:connect(function(hit)
  5921. UnsheathSound:play()
  5922. sword.Enabled = true
  5923. end)
  5924. end
  5925. end))
  5926. end
  5927. end
  5928. end)
  5929.  
  5930. addcmd('hatsize', 'changes players hat size',{''},
  5931. function(args, speaker)
  5932.     local players = getPlayer(args[1], speaker)
  5933.     for i,v in pairs(players) do
  5934.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5935.             if v:IsA('Accessory') then
  5936.                 for a,b in pairs(v.Handle:GetChildren()) do
  5937.                     if b:IsA('SpecialMesh') then
  5938.                         b.Scale = args[2] * Vector3.new(1, 1, 1)
  5939.                     end
  5940.                 end
  5941.             end
  5942.         end
  5943.     end
  5944. end)
  5945.  
  5946. addcmd('headsize', 'changes players head size',{''},
  5947. function(args, speaker)
  5948.     local players = getPlayer(args[1], speaker)
  5949.     for i,v in pairs(players) do
  5950.     local plrchar = _players[v].Character
  5951.     if not plrchar.Humanoid:FindFirstChild('HeadScale') then
  5952.         if args[2] == 1 then
  5953.             plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  5954.             plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
  5955.         else
  5956.             plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
  5957.         end
  5958.     else plrchar.Humanoid.HeadScale.Value = args[2]
  5959.         end
  5960.     end
  5961. end)
  5962.  
  5963. addcmd('change', 'changes a players stat',{'stat'},
  5964. function(args, speaker)
  5965.     local players = getPlayer(args[1], speaker)
  5966.     for i,v in pairs(players) do
  5967.         if _players[v]:FindFirstChild('leaderstats') then
  5968.             for i,v in pairs(_players[v].leaderstats:GetChildren()) do
  5969.                 if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
  5970.                     if args[3] then v.Value = tonumber(args[3]) end
  5971.                 elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then
  5972.                     v.Value = GLS(false, 2)
  5973.                 end
  5974.             end
  5975.         end
  5976.     end
  5977. end)
  5978.  
  5979. addcmd('draw', 'drawing tool',{},
  5980. function(args, speaker)
  5981. if speaker.userId ~= LP.userId then
  5982. lponly(speaker)
  5983. else
  5984. for i,v in next,game:children()do
  5985.     pcall(function()
  5986.         local c=v.className;
  5987.         rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  5988.     end);
  5989. end;
  5990.  
  5991.  
  5992. user=players.LocalPlayer;
  5993. uname=user.Name;
  5994. guis=user.PlayerGui;
  5995. pack=user.Backpack;
  5996.  
  5997. keyDowns={};
  5998. freeKeys={};
  5999. shortcuts={};
  6000.  
  6001. _G.mine=_G.mine or{};
  6002.  
  6003. name='Draw3D';
  6004. url='http://www.roblox.com/asset/?id=%d';
  6005.  
  6006. iconNormal=url:format(96578285);
  6007. iconOnDown=url:format(96584484);
  6008.  
  6009. ver=0;
  6010. drawPixel=0.10;
  6011. _G.drawLimit=_G.drawLimit or 1000;
  6012.  
  6013. _G.drawColor=_G.drawColor or Color3.new();
  6014.  
  6015.  
  6016.  
  6017.  
  6018.  
  6019. destroy=game.remove;
  6020. find=game.findFirstChild;
  6021. new=Instance.new;
  6022. with=function(c)
  6023.     return function(p)
  6024.         local o=type(c)=='string'and new(c)or c;
  6025.         local x=p.Parent;p.Parent=nil;
  6026.         for i,v in next,p do
  6027.             o[i]=v;
  6028.         end;
  6029.         if(x)then
  6030.             o.Parent=x;
  6031.         end;
  6032.         return o;
  6033.     end;
  6034. end;
  6035. getPlace=function()
  6036.     if(find(workspace,'draw')==nil)then
  6037.         new('Model',workspace).Name='draw';
  6038.     end;
  6039.     if(find(workspace.draw,uname)==nil)then
  6040.         new('Model',workspace.draw).Name=uname;
  6041.     end;
  6042.     return workspace.draw[uname];
  6043. end;
  6044. drawLine=function(start,target)
  6045.     local gui=with'BlockMesh'{
  6046.         Parent=with'Part'{
  6047.             CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  6048.             Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  6049.             Parent=getPlace();
  6050.             Color=_G.drawColor;
  6051.             BottomSurface=0;
  6052.             Anchored=true;
  6053.             TopSurface=0;
  6054.             formFactor=3;
  6055.             Name=name;
  6056.     }}.Parent;
  6057.     table.insert(_G.mine,gui);
  6058.     return gui;
  6059. end;
  6060. onDown=function()
  6061.     if(drawing)then
  6062.         return nil;
  6063.     end;
  6064.     if(selectGui.Adornee)then
  6065.         destroy(selectGui.Adornee);
  6066.     end;
  6067.    
  6068.     drawing=true;
  6069.    
  6070.     mouse.Icon=iconOnDown;
  6071.     ver=ver+1;
  6072.    
  6073.    
  6074.     local cVer,start,target=ver,mouse.hit.p;
  6075.    
  6076.     local group={};
  6077.     repeat
  6078.         Wait(0.02);
  6079.        
  6080.         if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  6081.            
  6082.             target=mouse.hit.p;
  6083.            
  6084.             table.insert(group,drawLine(start,target));
  6085.            
  6086.             start=target;
  6087.         end;
  6088.     until ver~=cVer;
  6089.     drawing=false;
  6090.    
  6091.     local groupM=new('Model',getPlace());
  6092.     for i,v in next,group do
  6093.         if(v:IsDescendantOf(Workspace))then
  6094.             v.Parent=groupM;
  6095.         end;
  6096.     end;
  6097.     if(next(groupM:children())==nil)then
  6098.         destroy(groupM);
  6099.     end;
  6100. end;
  6101. onUp=function()
  6102.     mouse.Icon=iconNormal;
  6103.     ver=ver+1;
  6104. end;
  6105. onKeyDown=function(k)
  6106.     if(freeKeys[k]==false)then
  6107.         return false;
  6108.     end;
  6109.     freeKeys[k]=false;
  6110.     Wait(0.01);
  6111.     if(keyDowns[k])then
  6112.         keyDowns[k]();
  6113.     elseif(shortcuts[k])then
  6114.         shortcuts[k]();
  6115.     end;
  6116. end;
  6117. onKeyUp=function(k)
  6118.     freeKeys[k]=true;
  6119. end;
  6120. onMove=function()
  6121.  
  6122. end;
  6123. onSelect=function(lmouse)
  6124.     frame.Visible=true;
  6125.  
  6126.     mouse=lmouse;
  6127.    
  6128.     mouse.Icon=iconNormal;
  6129.    
  6130.     mouse.Button1Down:connect(onDown);
  6131.     mouse.KeyDown:connect(onKeyDown);
  6132.     mouse.Button1Up:connect(onUp);
  6133.     mouse.KeyUp:connect(onKeyUp);
  6134.     mouse.Move:connect(onMove);
  6135. end;
  6136. onDeselect=function()
  6137.     ver=ver+1;
  6138.     frame.Visible=false;
  6139.     selectGui.Adornee=nil;
  6140.     mouse.Icon=iconNormal;
  6141.     for i,v in next,freeKeys do
  6142.         freeKeys[i]=true;
  6143.     end;
  6144. end;
  6145. addButton=function(title,shortcut,fun)
  6146.     with'TextButton'{
  6147.         Text=string.format(' %s (%s)',title,shortcut);
  6148.         TextXAlignment=0;
  6149.         Parent=frame;
  6150.     }.MouseButton1Up:connect(fun);
  6151.    
  6152.     shortcuts[shortcut]=fun;
  6153.    
  6154.     local c=#frame:children();
  6155.     for i,v in next,frame:children()do
  6156.         v.Position=UDim2.new(0,0,0,20*(i-1));
  6157.         v.Size=UDim2.new(1,0,0,20);
  6158.     end;
  6159.    
  6160.     frame.Position=UDim2.new(1,-152,.5,-c*10);
  6161.     frame.Size=UDim2.new(0,150,0,c*20);
  6162. end;
  6163.  
  6164.  
  6165.  
  6166.  
  6167.  
  6168.  
  6169.  
  6170.  
  6171. for i,v in next,{guis;pack;}do
  6172.     pcall(function()
  6173.         repeat until destroy(v[name]);
  6174.     end);
  6175. end;
  6176.  
  6177.  
  6178.  
  6179. tool=with'HopperBin'{
  6180.     Parent=pack;
  6181.     Name=name;
  6182. };
  6183. tool.Deselected:connect(onDeselect);
  6184. tool.Selected:connect(onSelect);
  6185.  
  6186.  
  6187.  
  6188.  
  6189. screen=with'ScreenGui'{
  6190.     Parent=guis;
  6191.     Name=name;
  6192. };
  6193. frame=with'Frame'{
  6194.     Parent=screen;
  6195.     Visible=false;
  6196. };
  6197. clframe=with'Frame'{
  6198.     Position=UDim2.new(.5,-50,.5,-50);
  6199.     Size=UDim2.new(0,100,0,100);
  6200.     Visible=false;
  6201.     Parent=screen;
  6202. };
  6203. selectGui=with'SelectionBox'{
  6204.     Parent=screen;
  6205. };
  6206.  
  6207. local c=0;
  6208. for y=0,7 do
  6209.     for x=0,7 do
  6210.         local color=BrickColor.palette(c).Color;
  6211.        
  6212.         with'ImageButton'{
  6213.             Position=UDim2.new(.125*x,0,.125*y);
  6214.             Size=UDim2.new(.125,0,.125);
  6215.             BackgroundColor3=color;
  6216.             Parent=clframe;
  6217.         }.MouseButton1Up:connect(function()
  6218.             clframe.Visible=false;
  6219.             _G.drawColor=color;
  6220.         end);
  6221.        
  6222.         c=c+1;
  6223.     end;
  6224. end;
  6225.  
  6226. addButton('Color','c',function()
  6227.     clframe.Visible=true;
  6228. end);
  6229. addButton('Remove your draws','r',function()
  6230.     repeat
  6231.         destroy(_G.mine[1]);
  6232.         table.remove(_G.mine,1);
  6233.         Wait(0.01);
  6234.     until nil;
  6235. end);
  6236. addButton('Remove global draws','k',function()
  6237.     destroy(workspace.draw);
  6238.     while(_G.mine[1])do
  6239.         destroy(_G.mine[1]);
  6240.         table.remove(_G.mine,1);
  6241.     end;
  6242. end);
  6243. addButton('Remove selected','x',function()
  6244.     repeat
  6245.         if(find(workspace,'draw'))then
  6246.             local dt=mouse.target;
  6247.             if(dt and dt:IsDescendantOf(workspace.draw))then
  6248.                 selectGui.Adornee=dt.Parent;
  6249.             else
  6250.                 selectGui.Adornee=nil;
  6251.             end;
  6252.         else
  6253.             selectGui.Adornee=nil;
  6254.         end;
  6255.         Wait(0.01);
  6256.     until freeKeys.x;
  6257.     selectGui.Adornee=nil;
  6258. end);
  6259.  
  6260.  
  6261.  
  6262.  
  6263. repeat
  6264.     Wait(0.01);
  6265.     if(next(_G.mine)and _G.mine[_G.drawLimit])then
  6266.         destroy(_G.mine[1]);
  6267.         table.remove(_G.mine,1);
  6268.     end;
  6269. until script.Parent==nil or tool.Parent==nil;
  6270. script.Disabled=true;
  6271. destroy(screen);
  6272. end
  6273. end)
  6274.  
  6275. addcmd('god', 'gods player',{},
  6276. function(args, speaker)
  6277.     local players = getPlayer(args[1], speaker)
  6278.     for i,v in pairs(players)do
  6279.         local pchar=_char(v)
  6280.         if pchar then pchar.Humanoid.MaxHealth=math.huge end
  6281.     end
  6282. end)
  6283.  
  6284. addcmd('sgod', 'silently gods player',{},
  6285. function(args, speaker)
  6286.     local players = getPlayer(args[1], speaker)
  6287.     for i,v in pairs(players)do
  6288.         local pchar=_char(v)
  6289.         spawn(function()
  6290.             pchar.Humanoid.MaxHealth = 10000000
  6291.             wait()
  6292.             pchar.Humanoid.Health = 10000000
  6293.             if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else
  6294.             Notify('Silent godded player(s)') end
  6295.         end)
  6296.     end
  6297. end)
  6298.  
  6299. addcmd('ungod', 'removes god from a player',{},
  6300. function(args, speaker)
  6301.     local players = getPlayer(args[1], speaker)
  6302.     for i,v in pairs(players)do
  6303.         local pchar=_char(v)
  6304.         if pchar then
  6305.             pchar.Humanoid.MaxHealth=100
  6306.             pchar.Humanoid.Health=100
  6307.         end
  6308.     end
  6309. end)
  6310.  
  6311. addcmd('heal', 'resets a players health',{},
  6312. function(args, speaker)
  6313.     local players = getPlayer(args[1], speaker)
  6314.     for i,v in pairs(players)do spawn(function()
  6315. local pchar=_char(v)
  6316. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end)
  6317.  
  6318. addcmd('fart', 'makes u fart',{},
  6319. function(args, speaker)
  6320.     local players = getPlayer(args[1], speaker)
  6321.     for i,v in pairs(players)do
  6322.     spawn(function()
  6323.         local pchar=_char(v)
  6324. fart = Instance.new("Smoke")
  6325. fart.Parent = pchar.HumanoidRootPart
  6326. fart.Color = Color3.new(255/255, 255/255, 0)
  6327. fart.Opacity = 0.4
  6328. fart.Size = 1.0
  6329. fart.RiseVelocity = 8
  6330. fartsound = Instance.new("Sound", workspace)
  6331. fsound = "http://www.roblox.com/asset?id=251309043"
  6332. fartsound.SoundId = fsound
  6333. fartsound.Volume = 1.0
  6334. fartsound:Play()
  6335. wait(9.0)
  6336. fartsound:Destroy()
  6337. pchar.HumanoidRootPart.Smoke:Destroy()
  6338.         end)
  6339. end
  6340. end)
  6341.  
  6342. addcmd('decalspam', 'you can already guess...',{},
  6343. function(args, speaker)
  6344. Notify('Decal Spammed ID: ' ..args[1])
  6345. wait(4)
  6346. decalID = args[1]
  6347. function exPro(root)
  6348. for _, v in pairs(root:GetChildren()) do
  6349. if v:IsA("BasePart") then
  6350. local One = Instance.new("Decal", v)
  6351. local Two = Instance.new("Decal", v)
  6352. local Three = Instance.new("Decal", v)
  6353. local Four = Instance.new("Decal", v)
  6354. local Five = Instance.new("Decal", v)
  6355. local Six = Instance.new("Decal", v)
  6356. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  6357. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  6358. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  6359. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  6360. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  6361. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  6362. One.Face = "Front"
  6363. Two.Face = "Back"
  6364. Three.Face = "Right"
  6365. Four.Face = "Left"
  6366. Five.Face = "Top"
  6367. Six.Face = "Bottom"
  6368. One.Name = "Admindecal"
  6369. Two.Name = "Admindecal"
  6370. Three.Name = "Admindecal"
  6371. Four.Name = "Admindecal"
  6372. Five.Name = "Admindecal"
  6373. Six.Name = "Admindecal"
  6374. end
  6375. exPro(v)
  6376. end
  6377. end
  6378. function asdf(root)
  6379. for _, v in pairs(root:GetChildren()) do
  6380. asdf(v)
  6381. end
  6382. end
  6383. exPro(workspace)
  6384. asdf(workspace)
  6385. end)
  6386.  
  6387. addcmd('undecalspam', 'removes the mess',{},
  6388. function(args, speaker)
  6389. Notify('Removing Decal Spam...')
  6390. wait(4)
  6391. function exPro(root)
  6392. for _, v in pairs(root:GetChildren()) do
  6393. if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
  6394. v.Parent = nil
  6395. end
  6396. exPro(v)
  6397. end
  6398. end
  6399. function asdf(root)
  6400. for _, v in pairs(root:GetChildren()) do
  6401. asdf(v)
  6402. end
  6403. end
  6404. exPro(workspace)
  6405. asdf(workspace)
  6406. end)
  6407.  
  6408. addcmd('sky', 'sets the sky',{'skybox'},
  6409. function(args, speaker)
  6410. playinggif = false
  6411. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
  6412. s = Instance.new("Sky")
  6413. s.Name = "Sky"
  6414. s.Parent = LightingService
  6415. local skyboxID = args[1]
  6416. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  6417. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  6418. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  6419. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  6420. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  6421. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  6422. LightingService.TimeOfDay = 12
  6423. end)
  6424.  
  6425. addcmd('skygif', 'makes the sky play the IDs you feed it',{},
  6426. function(args, speaker)
  6427. if args[2] then skyinterval = tonumber(args[2]) else skyinterval = 0.05 end
  6428. playinggif = false
  6429. wait(0.5)
  6430. local GIF = splitString(args[1])
  6431. for _, child in pairs( gLighting:GetChildren()) do
  6432.     if child.ClassName == "Sky" then
  6433.         child:Destroy()
  6434.     end
  6435. end
  6436. Sky = Instance.new("Sky",game.Lighting)
  6437. Notify('Loading...')
  6438. playinggif = true
  6439. for N,F in ipairs(GIF) do
  6440.     game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..F)
  6441. end
  6442. gLighting.TimeOfDay = 12
  6443. Notify('Playing skybox')
  6444. playinggif = true
  6445. wait(0.5)
  6446. repeat
  6447.     for N,F in ipairs(GIF) do
  6448.         Sky.SkyboxBk = "http://www.roblox.com/asset/?id="..F- 1
  6449.         Sky.SkyboxDn = "http://www.roblox.com/asset/?id="..F- 1
  6450.         Sky.SkyboxFt = "http://www.roblox.com/asset/?id="..F- 1
  6451.         Sky.SkyboxLf = "http://www.roblox.com/asset/?id="..F- 1
  6452.         Sky.SkyboxRt = "http://www.roblox.com/asset/?id="..F- 1
  6453.         Sky.SkyboxUp = "http://www.roblox.com/asset/?id="..F- 1
  6454.         wait(skyinterval)
  6455.     end
  6456. until playinggif == false
  6457. end)
  6458.  
  6459. addcmd('unskygif', 'removes the sky animation',{'noskygif'},
  6460. function(args, speaker)
  6461. playinggif = false
  6462. wait(0.5)
  6463. Notify('Stopped sky gif')
  6464. for _, child in pairs( gLighting:GetChildren()) do
  6465.     if child.ClassName == "Sky" then
  6466.         child:Destroy()
  6467.     end
  6468. end
  6469. end)
  6470.  
  6471. addcmd('freeze', 'freezes a player',{'fr'},
  6472. function(args, speaker)
  6473.     local players = getPlayer(args[1], speaker)
  6474.     if players ~= nil then
  6475.     for i, v in pairs(players) do
  6476.     spawn(function()
  6477.     for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end
  6478.     end
  6479.     end)
  6480.     end
  6481. end
  6482. end)
  6483.  
  6484. addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
  6485. function(args, speaker)
  6486.     local players = getPlayer(args[1], speaker)
  6487.     if players ~= nil then
  6488.     for i, v in pairs(players) do
  6489.     spawn(function()
  6490.     for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end
  6491.     end
  6492.     end)
  6493.     end
  6494. end
  6495. end)
  6496.  
  6497. addcmd('spawn', 'places a spawn',{'spawnpoint'},
  6498. function(args, speaker)
  6499.     local players = getPlayer(args[1], speaker)
  6500.     if players ~= nil then
  6501.         for i, v in pairs(players) do
  6502. local M = Instance.new('SpawnLocation', workspace) M.Name = 'Adminspawn'
  6503. M.CFrame = _char(v).HumanoidRootPart.CFrame
  6504. M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
  6505. M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
  6506. M.Anchored = true
  6507. end
  6508. end
  6509. end)
  6510.  
  6511. addcmd('deletespawns', 'places a spawn',{'removespawns'},
  6512. function(args, speaker)
  6513. for i,v in pairs(workspace:GetDescendants()) do
  6514. if v:IsA("SpawnLocation") then
  6515. v:Destroy()
  6516. end
  6517. end
  6518. end)
  6519.  
  6520. addcmd('neon', 'makes a player neon',{},
  6521. function(args, speaker)
  6522.     local players = getPlayer(args[1], speaker)
  6523.     if players ~= nil then
  6524.         for i, v in pairs(players) do
  6525.                     for _, child in pairs( _char(v):GetChildren()) do
  6526.         if child.ClassName == "CharacterMesh" then
  6527.         child:Destroy()
  6528.         end
  6529.         end
  6530.         for _, child in pairs( _char(v):GetChildren()) do
  6531.         if child.ClassName == "Shirt" then
  6532.         child:Destroy()
  6533.         end
  6534.         end
  6535.         for _, child in pairs( _char(v):GetChildren()) do
  6536.         if child.ClassName == "Pants" then
  6537.         child:Destroy()
  6538.         end
  6539.         end
  6540.             for _, child in pairs( _char(v):GetDescendants()) do
  6541.             if child.ClassName == "Part" then
  6542.         child.Material = "Neon"
  6543.     end
  6544. end
  6545. end
  6546. end
  6547. end)
  6548.  
  6549. addcmd('glass', 'makes a player glass',{},
  6550. function(args, speaker)
  6551.     local players = getPlayer(args[1], speaker)
  6552.     if players ~= nil then
  6553.         for i, v in pairs(players) do
  6554.                     for _, child in pairs( _char(v):GetChildren()) do
  6555.         if child.ClassName == "CharacterMesh" then
  6556.         child:Destroy()
  6557.         end
  6558.         end
  6559.         for _, child in pairs( _char(v):GetChildren()) do
  6560.         if child.ClassName == "Shirt" then
  6561.         child:Destroy()
  6562.         end
  6563.         end
  6564.         for _, child in pairs( _char(v):GetChildren()) do
  6565.         if child.ClassName == "Pants" then
  6566.         child:Destroy()
  6567.         end
  6568.         end
  6569.             for _, child in pairs( _char(v):GetDescendants()) do
  6570.             if child.ClassName == "Part" then
  6571.         child.Material = "Glass"
  6572.         child.Transparency = 0.3
  6573.     end
  6574. end
  6575. end
  6576. end
  6577. end)
  6578.  
  6579.  
  6580. addcmd('os', 'Shows the targets platform.', {'platform', 'device'},
  6581. function(args, speaker)
  6582.     local players = getPlayer(args[1], speaker)
  6583.     local platforms = {}
  6584.     for i,v in pairs(players) do
  6585.         local p = game:GetService("Players")[v]
  6586.         table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform)
  6587.     end
  6588.     Notify(table.concat(platforms, ', '))
  6589. end)
  6590.  
  6591. addcmd('whiteify', 'Turns the target white.', {'white'},
  6592. function(args, speaker)
  6593.     local players = getPlayer(args[1], speaker)
  6594.  
  6595.     for i,v in pairs(players) do
  6596.         local lplr = game:GetService("Players")[v]
  6597.         local bodyc = lplr.Character["Body Colors"]
  6598.         local color = "Institutional white"
  6599.  
  6600.         bodyc.HeadColor = BrickColor.new(color)
  6601.         bodyc.LeftArmColor = BrickColor.new(color)
  6602.         bodyc.LeftLegColor = BrickColor.new(color)
  6603.         bodyc.RightArmColor = BrickColor.new(color)
  6604.         bodyc.RightLegColor = BrickColor.new(color)
  6605.         bodyc.TorsoColor = BrickColor.new(color)
  6606.     end
  6607. end)
  6608.  
  6609. addcmd('blackify', 'Turns the target black.', {'black'},
  6610. function(args, speaker)
  6611.     local players = getPlayer(args[1], speaker)
  6612.  
  6613.     for i,v in pairs(players) do
  6614.         local lplr = game:GetService("Players")[v]
  6615.         local bodyc = lplr.Character["Body Colors"]
  6616.         local color = "Black"
  6617.  
  6618.         bodyc.HeadColor = BrickColor.new(color)
  6619.         bodyc.LeftArmColor = BrickColor.new(color)
  6620.         bodyc.LeftLegColor = BrickColor.new(color)
  6621.         bodyc.RightArmColor = BrickColor.new(color)
  6622.         bodyc.RightLegColor = BrickColor.new(color)
  6623.         bodyc.TorsoColor = BrickColor.new(color)
  6624.     end
  6625. end)
  6626.  
  6627. addcmd('kill', 'kills a player',{},
  6628. function(args, speaker)
  6629.     local players = getPlayer(args[1], speaker)
  6630.     for i,v in pairs(players)do
  6631.         local pchar=_char(v)
  6632.         pchar:BreakJoints()
  6633.     end
  6634. end)
  6635.  
  6636. addcmd('knuckles', 'that dead meme',{'ugandaknuckles'},
  6637. function(args, speaker)
  6638.     local players = getPlayer(args[1], speaker)
  6639.     for i,v in pairs(players)do
  6640. spawn(function()
  6641. local plr = gPlayers[v]
  6642. local  char = plr.Character
  6643. char.Humanoid.WalkSpeed = 100
  6644. char.Humanoid.JumpPower = 70
  6645. spawn(function()
  6646. for i,v in pairs(char:GetChildren()) do
  6647.     if v:IsA("BasePart") then
  6648.         coroutine.wrap(function()
  6649.             for i=0,1,.1 do
  6650.                 wait()
  6651.                 v.Transparency = v.Transparency +i
  6652.             end
  6653.         end)()
  6654.     end
  6655. end
  6656. for i,v in pairs(char:GetChildren()) do
  6657.     if v:IsA("Accessory") then
  6658.         coroutine.wrap(function()
  6659.             for i=0,1,.1 do
  6660.                 wait()
  6661.                 v.Handle.Transparency = v.Handle.Transparency +i
  6662.             end
  6663.         end)()
  6664.     end
  6665. end
  6666. end)
  6667. char.Head.face:Destroy()
  6668. wait(1)
  6669. local s = Instance.new("Sound")
  6670. s.Name = "wae"
  6671. s.SoundId = "http://www.roblox.com/asset/?id=1308281913"
  6672. s.Volume = 1
  6673. s.Pitch = 1
  6674. s.Looped = true
  6675. s.archivable = true
  6676. s.Parent = gPlayers.LocalPlayer.Character.Head
  6677. s:play()
  6678. local daqueen = Instance.new("Part",char)
  6679. daqueen.Name = "asd"
  6680. daqueen.CanCollide = false
  6681. local mesh = Instance.new("SpecialMesh",daqueen)
  6682. mesh.Scale = Vector3.new(0.1,0.1,0.1)
  6683. mesh.MeshId = "rbxassetid://1300136843"
  6684. local text = Instance.new("Decal",daqueen)
  6685. text.Name = "asd"
  6686. text.Texture = "rbxassetid://1300137893"
  6687. local knowdawey = Instance.new("Weld",char)
  6688. knowdawey.Part0 = char.HumanoidRootPart
  6689. knowdawey.Part1 = daqueen
  6690. local eye1 = Instance.new("Part")
  6691. eye1.CanCollide = false
  6692. eye1.Parent = char
  6693. local mesh1 = Instance.new("SpecialMesh",eye1)
  6694. mesh1.MeshId = "rbxassetid://1300138314"
  6695. mesh1.Scale = Vector3.new(0.1,0.1,0.2)
  6696. local eyetext = Instance.new("Decal",eye1)
  6697. eyetext.Texture = "rbxassetid://1300129774"
  6698. local eye1w = Instance.new("Weld",char)
  6699. eye1w.Part0 = char.HumanoidRootPart
  6700. eye1w.Part1 = eye1
  6701. eye1w.C1 = CFrame.new(0,-1.3,0.7)
  6702. end)
  6703. end
  6704. end)
  6705.  
  6706. addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
  6707. function(args, speaker)
  6708.     part = GLS(false, 0)
  6709.     local function dels(instance)
  6710.         for i,v in pairs(instance:GetChildren())do
  6711.             if v.Name:lower() == part:lower() then v:Destroy() end
  6712.             dels(v)
  6713.         end
  6714.     end
  6715.     dels(workspace)
  6716. Notify('Deleted ' ..GLS(false, 0))
  6717. end)
  6718.  
  6719. addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'},
  6720. function(args, speaker)
  6721.     part = GLS(false, 0)
  6722.     local function dels(instance)
  6723.         for i,v in pairs(instance:GetChildren())do
  6724.             if v.ClassName:lower() == part:lower() then v:Destroy() end
  6725.             dels(v)
  6726.         end
  6727.     end
  6728.     dels(workspace)
  6729. Notify('Deleted items with ClassName ' ..GLS(false, 0))
  6730. end)
  6731.  
  6732. addcmd('blur', 'adjusts blur',{},
  6733. function(args, speaker)
  6734.     local function dels(instance)
  6735.         for i,v in pairs(instance:GetChildren())do
  6736.             if v:IsA'BlurEffect'then v:Destroy()end
  6737.             dels(v)
  6738.         end
  6739.     end
  6740.     dels(LightingService)
  6741.  
  6742.     local b = Instance.new("BlurEffect", LightingService)
  6743.     b.Name = "Adminblur"
  6744.     b.Size = args[1]
  6745. end)
  6746.  
  6747. addcmd('distortsound','changes volume of sound',{'distort'},
  6748. function(args, speaker)
  6749.     for i,v in pairs(workspace:GetChildren())do
  6750.         if v:IsA("Sound") and v.Name == "Adminsound" then
  6751.             v:ClearAllChildren ()
  6752.             local d = Instance.new('DistortionSoundEffect')
  6753.             d.Parent = v
  6754.             d.Level = args[1]
  6755.             Notify('Changed distortion to ' .. args[1])
  6756.         end
  6757.     end
  6758. end)
  6759.  
  6760. addcmd('volume','changes volume of sound',{'vol'},
  6761. function(args, speaker)
  6762.     for i,v in pairs(workspace:GetChildren())do
  6763.         if v:IsA("Sound") and v.Name == "Adminsound" then
  6764.             v.Volume = args[1]
  6765.             Notify('Changed volume to ' .. args[1])
  6766.         end
  6767.     end
  6768. end)
  6769.  
  6770. addcmd('pitch','changes pitch of sound',{},
  6771. function(args, speaker)
  6772.     for i,v in pairs(workspace:GetChildren())do
  6773.         if v:IsA("Sound") and v.Name == "Adminsound" then
  6774.             v.Pitch = args[1]
  6775.             Notify('Changed pitch to ' .. args[1])
  6776.         end
  6777.     end
  6778. end)
  6779.  
  6780. addcmd('loadmap', 'spawns a map',{},
  6781. function(args, speaker)
  6782. local m = args[1]
  6783. for _,v in pairs(workspace:GetChildren()) do
  6784. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  6785. v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end
  6786. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end
  6787. wait(1)
  6788. local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m)
  6789. map.Parent = workspace
  6790. end)
  6791.  
  6792. addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION
  6793. function(args, speaker)
  6794. msghook()
  6795. if MSGhook == false then
  6796. local localp = game:GetService'Players'.LocalPlayer
  6797. localp.CharacterAppearanceId = 20018
  6798. localp.Character:BreakJoints()
  6799. repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
  6800. Instance.new("ForceField", localp.Character)
  6801. repeat wait() until localp.Character.BunnyEarsOfCaprice.Handle:FindFirstChild'BunnyTools'
  6802. _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
  6803. localp.CharacterAppearanceId = 0
  6804. localp.Character:BreakJoints()
  6805. if _G.mainhat ~= nil then
  6806. local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
  6807. local part = Instance.new('Part')
  6808. part.Anchored = true
  6809. part.Transparency = 1
  6810. main.Disabled = false
  6811. main.Parent = part
  6812. _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
  6813. part.Parent = localp.Character
  6814. part.CFrame = localp.Character.HumanoidRootPart.CFrame
  6815. repeat wait() until localp:FindFirstChild'ChessMsg'
  6816. part:Destroy()
  6817. local message = localp:FindFirstChild'ChessMsg'
  6818. message.Text = ''
  6819. message.Parent = workspace
  6820. message.Name = "Adminmessage"
  6821. if part ~= nil then part:Destroy() end
  6822. localp.Character.HumanoidRootPart.Anchored = false
  6823. for _, child in pairs( workspace:GetChildren()) do
  6824.     if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
  6825.         child:Destroy()
  6826.     end
  6827. end
  6828. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end
  6829. if _G.msg ~= nil then
  6830. Notify('Loaded global message bypass')
  6831. else
  6832. execCmd("loadm")
  6833. end
  6834. end
  6835. elseif MSGhook == true then
  6836. Notify('Messages already loaded!')
  6837. end
  6838. end)
  6839.  
  6840. addcmd('countdown', 'makes a countdown', {},
  6841. function(args, speaker)
  6842. local players = getPlayer(args[1], speaker)
  6843. if args[1] ~= string then
  6844. local time = args[1]
  6845. msghook()
  6846. if MSGhook == true then
  6847. local h = workspace.Adminmessage
  6848. for i = time, 1, -1 do
  6849. wait(1)
  6850. h.Text = "Countdown: "..i..""
  6851. end
  6852. wait(1)
  6853. h.Text = "Times Up!"
  6854. wait(2)
  6855. h.Text = ''
  6856. elseif MSGhook == false then
  6857.     execCmd("loadm")
  6858.     repeat wait() until workspace:FindFirstChild("Adminmessage")
  6859. local h = workspace.Adminmessage
  6860. for i = time, 1, -1 do
  6861. wait(1)
  6862. h.Text = "Countdown: "..i..""
  6863. end
  6864. wait(1)
  6865. h.Text = "Times Up!"
  6866. wait(2)
  6867. h.Text = ''
  6868. end
  6869. end
  6870. end)
  6871.  
  6872. addcmd('explode', 'explode a player', {},
  6873. function(args, speaker)
  6874.     local players = getPlayer(args[1], speaker)
  6875.     for i, v in pairs(players) do
  6876.         local char = _char(v)
  6877.         if char:FindFirstChild("HumanoidRootPart") then
  6878.             Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position                  
  6879.         end
  6880.     end
  6881. end)
  6882.  
  6883. addcmd('flood', 'makes a flood e.e', {},
  6884. function(args, speaker)
  6885. workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  6886. end)
  6887.  
  6888. addcmd('spookyify', 'makes it sp00ky', {},
  6889. function(args, speaker)
  6890. local music = Instance.new("Sound", workspace)
  6891. music.SoundId = "http://www.roblox.com/asset/?id=257569267"
  6892. music.Volume = 20
  6893. music.Looped = true
  6894. music:Play()
  6895.  
  6896. tex1 = "http://www.roblox.com/asset/?id=185495987"
  6897. tex2 = "http://www.roblox.com/asset/?id=260858020"
  6898. tex3 = "http://www.roblox.com/asset/?id=149213919"
  6899. tex4 = "http://www.roblox.com/asset/?id=171905673"
  6900.  
  6901. local w = workspace:GetChildren()
  6902.  
  6903. for i= 1,#w do
  6904.     if w[i]:isA("BasePart") then
  6905.         pe = Instance.new("ParticleEmitter", w[i])
  6906.         pe.Texture = tex4
  6907.         pe.VelocitySpread = 5
  6908.     end
  6909. end
  6910.  
  6911. local playerLeaderstats = {}
  6912. for i, v in pairs(gPlayers:GetChildren()) do
  6913. table.insert(playerLeaderstats, v)
  6914. end
  6915. for i, v in pairs(playerLeaderstats) do
  6916. pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
  6917. pe.Texture = "http://www.roblox.com/asset/?id=171905673"
  6918. pe.VelocitySpread = 50
  6919. end
  6920.  
  6921. texture = "http://www.roblox.com/asset/?id=185495987"
  6922.  
  6923. local A = workspace:GetChildren()
  6924. local B = workspace:GetChildren()
  6925. local C = workspace:GetChildren()
  6926. local D = workspace:GetChildren()
  6927. local E = workspace:GetChildren()
  6928. local F = workspace:GetChildren()
  6929. for i,v in pairs(A) do
  6930.     if v:IsA("Part") then
  6931.     local d =    Instance.new("Decal",v)
  6932.         v.Decal.Face = "Top"
  6933.         v.Decal.Texture = texture
  6934.         v.Anchored = true        
  6935.     end
  6936. end
  6937.  
  6938. for i,v in pairs(B) do
  6939.     if v:IsA("Part") then
  6940.         local s = Instance.new("Decal",v)
  6941.         s.Face = "Front"
  6942.         s.Texture = texture
  6943.     end
  6944. end
  6945.  
  6946. for i,v in pairs(C) do
  6947.     if v:IsA("Part") then
  6948.         local h = Instance.new("Decal",v)
  6949.         h.Face = "Back"
  6950.         h.Texture = texture
  6951.     end
  6952. end
  6953.  
  6954. for i,v in pairs(D) do
  6955.     if v:IsA("Part") then
  6956.         local j = Instance.new("Decal",v)
  6957.         j.Face = "Left"
  6958.         j.Texture = texture
  6959.     end
  6960. end
  6961.  
  6962. for i,v in pairs(E) do
  6963.     if v:IsA("Part") then
  6964.         local k = Instance.new("Decal",v)
  6965.         k.Face = "Right"
  6966.         k.Texture = texture
  6967.     end
  6968. end
  6969.  
  6970. for i,v in pairs(F) do
  6971.     if v:IsA("Part") then
  6972.         local l = Instance.new("Decal",v)
  6973.         l.Face = "Bottom"
  6974.         l.Texture = texture
  6975.     end
  6976.  
  6977.     imageOne = "http://www.roblox.com/asset/?id=169585459"
  6978. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  6979. imageThree = "http://www.roblox.com/asset/?id=169585485"
  6980. imageFour = "http://www.roblox.com/asset/?id=169585502"
  6981. imageFive = "http://www.roblox.com/asset/?id=169585515"
  6982. imageSix = "http://www.roblox.com/asset/?id=169585502"
  6983. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  6984. imageEight = "http://www.roblox.com/asset/?id=169585475"
  6985.  
  6986. Spooky = Instance.new("Sound", workspace)
  6987. Spooky.Name = "Spooky"
  6988. Spooky.SoundId = "rbxassetid://174270407"
  6989. Spooky.Volume = 15
  6990. Spooky.Looped = true
  6991. Spooky:Play()
  6992.  
  6993. Sky = Instance.new("Sky", LightingService)
  6994. Sky.SkyboxBk = imageOne
  6995. Sky.SkyboxDn = imageOne
  6996. Sky.SkyboxFt = imageOne
  6997. Sky.SkyboxLf = imageOne
  6998. Sky.SkyboxRt = imageOne
  6999. Sky.SkyboxUp = imageOne
  7000.  
  7001.  
  7002. while true do
  7003.     Sky.SkyboxBk = imageOne
  7004.     Sky.SkyboxDn = imageOne
  7005.     Sky.SkyboxFt = imageOne
  7006.     Sky.SkyboxLf = imageOne
  7007.     Sky.SkyboxRt = imageOne
  7008.     Sky.SkyboxUp = imageOne
  7009.     wait(0.15)
  7010.     Sky.SkyboxBk = imageTwo
  7011.     Sky.SkyboxDn = imageTwo
  7012.     Sky.SkyboxFt = imageTwo
  7013.     Sky.SkyboxLf = imageTwo
  7014.     Sky.SkyboxRt = imageTwo
  7015.     Sky.SkyboxUp = imageTwo
  7016.     wait(0.15)
  7017.     Sky.SkyboxBk = imageThree
  7018.     Sky.SkyboxDn = imageThree
  7019.     Sky.SkyboxFt = imageThree
  7020.     Sky.SkyboxLf = imageThree
  7021.     Sky.SkyboxRt = imageThree
  7022.     Sky.SkyboxUp = imageThree
  7023.     wait(0.15)
  7024.     Sky.SkyboxBk = imageFour
  7025.     Sky.SkyboxDn = imageFour
  7026.     Sky.SkyboxFt = imageFour
  7027.     Sky.SkyboxLf = imageFour
  7028.     Sky.SkyboxRt = imageFour
  7029.     Sky.SkyboxUp = imageFour
  7030.     wait(0.15)
  7031.     Sky.SkyboxBk = imageFive
  7032.     Sky.SkyboxDn = imageFive
  7033.     Sky.SkyboxFt = imageFive
  7034.     Sky.SkyboxLf = imageFive
  7035.     Sky.SkyboxRt = imageFive
  7036.     Sky.SkyboxUp = imageFive
  7037.     wait(0.15)
  7038.     Sky.SkyboxBk = imageSix
  7039.     Sky.SkyboxDn = imageSix
  7040.     Sky.SkyboxFt = imageSix
  7041.     Sky.SkyboxLf = imageSix
  7042.     Sky.SkyboxRt = imageSix
  7043.     Sky.SkyboxUp = imageSix
  7044.     wait(0.15)
  7045.     Sky.SkyboxBk = imageSeven
  7046.     Sky.SkyboxDn = imageSeven
  7047.     Sky.SkyboxFt = imageSeven
  7048.     Sky.SkyboxLf = imageSeven
  7049.     Sky.SkyboxRt = imageSeven
  7050.     Sky.SkyboxUp = imageSeven
  7051.     wait(0.15)
  7052.     Sky.SkyboxBk = imageEight
  7053.     Sky.SkyboxDn = imageEight
  7054.     Sky.SkyboxFt = imageEight
  7055.     Sky.SkyboxLf = imageEight
  7056.     Sky.SkyboxRt = imageEight
  7057.     Sky.SkyboxUp = imageEight
  7058.     wait(0.15)
  7059.    
  7060. end
  7061. end
  7062. end)
  7063.  
  7064. addcmd('invisible', 'make a player invisible',{'invis'},
  7065. function(args, speaker)
  7066.     local players = getPlayer(args[1], speaker)
  7067.     for i, v in pairs(players) do
  7068.         for k, v2 in pairs(_char(v):GetChildren()) do
  7069.             if v2.className == "Part" then
  7070.                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  7071.             elseif v2.className == "Accessory" then
  7072.                 if v2:FindFirstChild("Handle") then
  7073.                     v2.Handle.Transparency = 1
  7074.                 end
  7075.             end
  7076.             if v2:FindFirstChild("face") then
  7077.                 v2.face.Transparency = 1
  7078.             end
  7079.         end
  7080.     end
  7081. end)
  7082.  
  7083. addcmd('visible', 'make a player visible',{'vis'},
  7084. function(args, speaker)
  7085.     local players = getPlayer(args[1], speaker)
  7086.     for i, v in pairs(players) do
  7087.         for k, v2 in pairs(_char(v):GetChildren()) do
  7088.             if v2.className == "Part" then
  7089.                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
  7090.                 if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  7091.             end
  7092.             if v2:FindFirstChild("face") then
  7093.                 v2.face.Transparency = 0
  7094.             end
  7095.         end
  7096.     end
  7097. end)
  7098.  
  7099. addcmd('goto', 'go to a player',{'to'},
  7100. function(args, speaker)
  7101.     local players = getPlayer(args[1], speaker)
  7102.     if _char(players[1]) ~= nil then
  7103.         if speaker.Character:FindFirstChild("Humanoid") then
  7104.             speaker.Character.Humanoid.Jump = true
  7105.         end
  7106.         speaker.Character:MoveTo(_char(players[1]).HumanoidRootPart.Position)
  7107.     end
  7108. end)
  7109.  
  7110. addcmd('bring', 'bring a player to you',{},
  7111. function(args, speaker)
  7112.     local players = getPlayer(args[1], speaker)
  7113.     for i,v in pairs(players) do
  7114.         if _char(v) ~= nil then
  7115.             if _char(v):FindFirstChild("Humanoid") then
  7116.             _char(v).Humanoid.Jump = true
  7117.             _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position)
  7118.             end
  7119.             wait(0.1)
  7120.             _char(v):MoveTo(speaker.Character.HumanoidRootPart.Position)
  7121.         end
  7122.     end
  7123. end)
  7124.  
  7125. addcmd('tp', 'teleport player 1 to player 2',{},
  7126. function(args, speaker)
  7127.     local players1=getPlayer(args[1], speaker)
  7128.     local players2=getPlayer(args[2], speaker)
  7129.     if not players2[1] then return end
  7130.     for i,v in pairs(players1) do
  7131.         if _char(v) ~= nil and _char(players2[1]) ~= nil then
  7132.             if _char(v):FindFirstChild("Humanoid") then
  7133.             _char(v).Humanoid.Jump = true
  7134.             _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position)
  7135.             end
  7136.             wait(0.1)
  7137.             _char(v):MoveTo(_char(players2[1]).HumanoidRootPart.Position)
  7138.         end    
  7139.     end
  7140. end)
  7141.  
  7142. local WayPoints = {}
  7143. addcmd("savepos","sets a waypoint at the speaker's position",{'spos'},
  7144. function(args, speaker)
  7145.     local WPName = tostring(GLS(false, 0))
  7146.     if speaker.Character:findFirstChild("HumanoidRootPart") then
  7147.         Notify("Created waypoint: "..GLS(false, 0))
  7148.         local torso = speaker.Character:findFirstChild("HumanoidRootPart")
  7149.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
  7150.         updatepositions()
  7151.     end
  7152. end)
  7153.  
  7154. addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'},
  7155. function(args, speaker)
  7156.         for i,v in pairs(WayPoints) do
  7157.         if v.NAME == tostring(GLS(false, 0)) then
  7158.         Notify("Deleted waypoint: " .. v.NAME)
  7159.         table.remove(WayPoints, i)
  7160.         updatepositions()
  7161.         end end
  7162. end)
  7163.  
  7164.  
  7165. addcmd("loadpos","teleports a player to a waypoint",{'lpos'},
  7166. function(args, speaker)
  7167.     local players = getPlayer(args[1], speaker)
  7168.         local WPName = tostring(GLS(false, 1))
  7169.         for i,v in pairs(players) do
  7170.         if gPlayers[v] and gPlayers[v].Character then
  7171.             for i,_ in pairs(WayPoints) do
  7172.                 local x = WayPoints[i].COORD[1]
  7173.                 local y = WayPoints[i].COORD[2]
  7174.                 local z = WayPoints[i].COORD[3]
  7175.                 if tostring(WayPoints[i].NAME) == tostring(WPName) then
  7176.                     gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
  7177.                 end
  7178.             end
  7179.         end
  7180.     end
  7181. end)
  7182.  
  7183. addcmd('charplr','charplr [plr] [plr]',{'cp'},
  7184. function(args, speaker)
  7185.     local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  7186.     for i,v in pairs(players1) do for a,b in pairs(players2) do
  7187.             if _players[v].Character and _players[b].Character then
  7188.                 _players[v].CharacterAppearanceId = _players[b].userId
  7189.                 refresh(_players[v])
  7190.             end
  7191.         end
  7192.     end
  7193. end)
  7194.  
  7195. addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
  7196. function(args, speaker)
  7197.     local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  7198.     for i,v in pairs(players1) do for a,b in pairs(players2) do
  7199.         spawn(function()
  7200.         for i,v in pairs(_players[v].Backpack:GetChildren()) do
  7201.             if v:IsA('Tool') or v:IsA('HopperBin') then
  7202.                 if not _players[b] then
  7203.                 v:Clone().Parent = speaker.Backpack
  7204.                 else v:Clone().Parent = _players[b].Backpack
  7205.             end
  7206.             end
  7207.         end
  7208.         end)
  7209.         end
  7210.         end
  7211. end)
  7212.  
  7213. addcmd('char', 'change a players appearance',{},
  7214. function(args, speaker)
  7215.     local players = getPlayer(args[1], speaker)
  7216.     if not args[1]or not args[2]then return end
  7217.     local id=args[2]
  7218.     if players ~= nil then
  7219.         for i,v in pairs(players) do
  7220.             gPlayers[v].CharacterAppearanceId = id
  7221.             refresh(gPlayers[v])
  7222.             end
  7223.         end
  7224. end)
  7225.  
  7226. addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
  7227. function(args, speaker)
  7228.     local players = getPlayer(args[1], speaker)
  7229.     if players ~= nil then
  7230.         for i,v in pairs(players) do
  7231.         gPlayers[v].CharacterAppearanceId = 0
  7232.         refresh(gPlayers[v])
  7233.         end
  7234.     end
  7235. end)
  7236.  
  7237. addcmd('speed', 'change a players walkspeed',{'ws'},
  7238. function(args, speaker)
  7239.     local players = getPlayer(args[1], speaker)
  7240.     if not args[1]or not args[2]then return end
  7241.     local num=args[2]
  7242.     for i,v in pairs(players) do
  7243.         if _char(v):FindFirstChild("Humanoid") then
  7244.             _char(v).Humanoid.WalkSpeed=tonumber(num)
  7245.         end
  7246.     end
  7247. end)
  7248.  
  7249. addcmd('jump', 'forces a player to jump',{},
  7250. function(args, speaker)
  7251.     local players = getPlayer(args[1], speaker)
  7252.     for i,v in pairs(players) do
  7253.         if _char(v):FindFirstChild("Humanoid") then
  7254.             _char(v).Humanoid.Jump = true
  7255.         end
  7256.     end
  7257. end)
  7258.  
  7259. jumping = {}
  7260. addcmd('loopjump','like a bunny :)',{'ljump'},
  7261. function(args, speaker)
  7262.     local players = getPlayer(args[1], speaker)
  7263.     for i,v in pairs(players)do
  7264.     spawn(function()
  7265.         if FindTable(jumping, _players[v].Name) then return end
  7266.         table.insert(jumping, _players[v].Name)
  7267.         repeat wait(0.01)
  7268.             if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
  7269.             if _players[v].Character.Humanoid.Jump ~= true then
  7270.         _players[v].Character.Humanoid.Jump = true end end
  7271.         until not FindTable(jumping, _players[v].Name)
  7272.     end)
  7273.     end
  7274. end)
  7275.  
  7276. addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'},
  7277. function(args, speaker)
  7278.     local players = getPlayer(args[1], speaker)
  7279.     for i,v in pairs(players)do
  7280.         spawn(function()
  7281.         for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end
  7282.         end)
  7283.         end
  7284. end)
  7285.  
  7286. addcmd('sit', 'sit a player',{},
  7287. function(args, speaker)
  7288.     local players = getPlayer(args[1], speaker)
  7289.     for i,v in pairs(players) do
  7290.         if _char(v):FindFirstChild("Humanoid") then
  7291.             _char(v).Humanoid.Sit = true
  7292.         end
  7293.     end
  7294. end)
  7295.  
  7296. sitting = {}
  7297. addcmd('loopsit','very annoying',{'lsit'},
  7298. function(args, speaker)
  7299.     local players = getPlayer(args[1], speaker)
  7300.     for i,v in pairs(players)do
  7301.     spawn(function()
  7302.         if FindTable(sitting, _players[v].Name) then return end
  7303.         table.insert(sitting, _players[v].Name)
  7304.         repeat wait(0.01)
  7305.             if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
  7306.             if _players[v].Character.Humanoid.Sit ~= true then
  7307.         _players[v].Character.Humanoid.Sit = true end end
  7308.         until not FindTable(sitting, _players[v].Name)
  7309.     end)
  7310.     end
  7311. end)
  7312.  
  7313. addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'},
  7314. function(args, speaker)
  7315.     local players = getPlayer(args[1], speaker)
  7316.     for i,v in pairs(players)do
  7317.         spawn(function()
  7318.         for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end
  7319.         end)
  7320.         end
  7321. end)
  7322.  
  7323. addcmd('strength',' strong',{},
  7324. function(args, speaker)
  7325.     local players = getPlayer(args[1], speaker)
  7326.     for i,v in pairs(players)do
  7327.     spawn(function()
  7328.     for _, child in pairs( _players[v].Character:GetDescendants()) do
  7329.     if child.ClassName == "Part" then
  7330.     child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  7331.     end
  7332.     end
  7333.     end)
  7334.     end
  7335. end)
  7336.  
  7337. addcmd('weaken',' weak',{},
  7338. function(args, speaker)
  7339.     local players = getPlayer(args[1], speaker)
  7340.     for i,v in pairs(players)do
  7341.     spawn(function()
  7342.     for _, child in pairs( _players[v].Character:GetDescendants()) do
  7343.     if child.ClassName == "Part" then
  7344.     child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
  7345.     end
  7346.     end
  7347.     end)
  7348.     end
  7349. end)
  7350.  
  7351. addcmd('unweaken',' undoes strength and weaken',{'unstrength'},
  7352. function(args, speaker)
  7353.     local players = getPlayer(args[1], speaker)
  7354.     for i,v in pairs(players)do
  7355.     spawn(function()
  7356.     for _, child in pairs( _players[v].Character:GetDescendants()) do
  7357.     if child.ClassName == "Part" then
  7358.     child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  7359.     end
  7360.     end
  7361.     end)
  7362.     end
  7363. end)
  7364.  
  7365. addcmd('trip','makes a player trip',{},
  7366. function(args, speaker)
  7367.     local players = getPlayer(args[1], speaker)
  7368.     for i,v in pairs(players)do
  7369.     spawn(function()
  7370.     if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762
  7371.     local dir = _players[v].Character:findFirstChild("Right Leg")
  7372.     dir.Anchored = true
  7373.     if dir.Anchored == true then
  7374.     wait(.5)
  7375.     _players[v].Character.Humanoid.Sit = true
  7376.     wait(1)
  7377.     _players[v].Character.Humanoid.Sit = false
  7378.     dir.Anchored = false
  7379.     end
  7380.     end
  7381.     end)
  7382.     end
  7383. end)
  7384.  
  7385. oofing = false
  7386. addcmd('loopoof','very VERY annoying',{},
  7387. function(args, speaker)
  7388. oofing = true
  7389. repeat wait(0.01)
  7390.     for i,v in pairs(game:GetService'Players':GetPlayers()) do
  7391.        if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  7392.            for _,x in pairs(v.Character.Head:GetChildren()) do
  7393.                if x:IsA'Sound' then x.Playing = true end
  7394.            end
  7395.        end
  7396.    end
  7397. until oofing == false
  7398. end)
  7399.  
  7400. addcmd('unloopoof','stops the oof chaos',{},
  7401. function(args, speaker)
  7402. oofing = false
  7403. end)
  7404.  
  7405. addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
  7406. function(args, speaker)
  7407.     local players = getPlayer(args[1], speaker)
  7408.     if not args[1]or not args[2]then return end
  7409.     local num=args[2]
  7410.     for i,v in pairs(players) do
  7411.         if _char(v):FindFirstChild("Humanoid") then
  7412.             _char(v).Humanoid.JumpPower=tonumber(num)
  7413.         end
  7414.     end
  7415. end)
  7416.  
  7417. addcmd('confuse', 'confusing...',{},
  7418. function(args, speaker)
  7419.     local players = getPlayer(args[1], speaker)
  7420.     for i,v in pairs(players) do
  7421.         spawn(function()
  7422.         if _char(v):FindFirstChild("Humanoid") then
  7423.             _char(v).Humanoid.Name = "ConfusedNigga"
  7424.             while true do
  7425.             _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
  7426.             _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
  7427.             wait(0.1)
  7428.             end
  7429.  
  7430.         end
  7431.         end)
  7432.         end
  7433.     end)
  7434.  
  7435. addcmd('unconfuse', 'not confusing...',{},
  7436. function(args, speaker)
  7437.     local players = getPlayer(args[1], speaker)
  7438.     for i,v in pairs(players) do
  7439.         spawn(function()
  7440.         if _char(v):FindFirstChild("ConfusedNigga") then
  7441.             _char(v).ConfusedNigga.Name = "Humanoid"
  7442.             wait(0.3)
  7443.             _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  7444.  
  7445.         end
  7446.         end)
  7447.         end
  7448. end)
  7449.  
  7450. addcmd('cripple', 'cripples a player xddd',{'stun'},
  7451. function(args, speaker)
  7452.     local players = getPlayer(args[1], speaker)
  7453.     for i,v in pairs(players) do
  7454.         if _char(v):FindFirstChild("Humanoid") then
  7455.             _char(v).Humanoid.PlatformStand = true
  7456.         end
  7457.     end
  7458. end)
  7459.  
  7460. addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
  7461. function(args, speaker)
  7462.     local players = getPlayer(args[1], speaker)
  7463.     for i,v in pairs(players) do
  7464.         if _char(v):FindFirstChild("Humanoid") then
  7465.             _char(v).Humanoid.PlatformStand = false
  7466.         end
  7467.     end
  7468. end)
  7469.  
  7470. addcmd('hipheight', 'adjusts hip height',{'hheight'},
  7471. function(args, speaker)
  7472.     local players = getPlayer(args[1], speaker)
  7473.     for i,v in pairs(players) do
  7474.         if _char(v):FindFirstChild("Humanoid") then
  7475.             _char(v).Humanoid.HipHeight = args[2]
  7476.         end
  7477.     end
  7478. end)
  7479.  
  7480. addcmd('face', 'change a players face',{},
  7481. function(args, speaker)
  7482.     local players = getPlayer(args[1], speaker)
  7483.     for i,v in pairs(players) do
  7484.         if _char(v).Head:FindFirstChild("face") then
  7485.             _char(v).Head.face.Texture = "rbxassetid://" .. args[2]
  7486.         end
  7487.     end
  7488. end)
  7489.  
  7490. addcmd('time', 'change the time of day',{},
  7491. function(args, speaker)
  7492.     if not args[1]then return end
  7493.     Notify('Time set to ' .. args[1])
  7494.     LightingService.ClockTime = args[1]
  7495. end)
  7496.  
  7497. addcmd('day', 'change the time to day',{},
  7498. function(args, speaker)
  7499. LightingService.ClockTime = 15
  7500. end)
  7501.  
  7502. addcmd('night', 'change the time of night',{},
  7503. function(args, speaker)
  7504. LightingService.ClockTime = 0
  7505. end)
  7506.  
  7507. addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
  7508. function(args, speaker)
  7509.     Notify('Turned on global shadows')
  7510.     LightingService.GlobalShadows = true
  7511. end)
  7512.  
  7513. addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
  7514. function(args, speaker)
  7515.     Notify('Turned off global shadows')
  7516.     LightingService.GlobalShadows = false
  7517. end)
  7518.  
  7519. addcmd('outlines', 'changes the lighting property',{},
  7520. function(args, speaker)
  7521.     Notify('Turned on outlines')
  7522.     LightingService.Outlines = true
  7523. end)
  7524.  
  7525. addcmd('unoutlines', 'changes the lighting property',{'nooutlines'},
  7526. function(args, speaker)
  7527.     Notify('Turned off outlines')
  7528.     LightingService.Outlines = false
  7529. end)
  7530.  
  7531. addcmd('brightness', 'changes the lighting property',{},
  7532. function(args, speaker)
  7533.     Notify('Set brightness to ' .. args[1])
  7534.     LightingService.Brightness = args[1]
  7535. end)
  7536.  
  7537. addcmd('age','tells you the age of a player',{},
  7538. function(args, speaker)
  7539. local players = getPlayer(args[1], speaker)
  7540. if speaker.userId ~= LP.userId then
  7541. lponly(speaker)
  7542. else
  7543. for i,v in pairs(players) do
  7544. game:FindService('StarterGui'):SetCore('SendNotification', {
  7545. Title = _players[v].Name,
  7546. Text = 'Age: '.._players[v].AccountAge,
  7547. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000),
  7548. Duration = 5,
  7549. })
  7550. end
  7551. end
  7552. end)
  7553.  
  7554. addcmd('remotespy', 'prints remotes',{'remotes'},
  7555. function(args, speaker)
  7556. if speaker.userId ~= LP.userId then
  7557. lponly(speaker)
  7558. else
  7559. Notify('Printing remotes')
  7560. function getem(o)
  7561. for i,v in pairs(o:children())do
  7562. if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then              
  7563. print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
  7564. end
  7565. getem(v)
  7566. end
  7567. end
  7568. pcall(getem,game)
  7569. end
  7570. end)
  7571.  
  7572. addcmd('f3x', 'loads f3x tools',{'fex'},
  7573. function(args, speaker)
  7574. if speaker.userId ~= LP.userId then
  7575. lponly(speaker)
  7576. else
  7577. loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)()
  7578. end
  7579. end)
  7580.  
  7581. addcmd('kick', 'kick a player',{},
  7582. function(args, speaker)
  7583. local players = getPlayer(args[1], speaker)
  7584. for i,v in pairs(players) do
  7585. spawn(function()
  7586. if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else
  7587. Notify('Kicked player(s)') end
  7588. kickF(gPlayers[v])
  7589. end) end end)
  7590.  
  7591. function fadelock(id)
  7592. if lockic.ImageTransparency ~= 1 then
  7593. for i=1, 10 do      
  7594.    lockic.ImageTransparency = lockic.ImageTransparency + 0.1
  7595. wait(0.01)
  7596. end
  7597. lockic.ImageTransparency = 1
  7598. end
  7599. if id ~= 'off' then
  7600. lockic.Image = id
  7601. wait(0.2)
  7602. for i=1, 10 do      
  7603.    lockic.ImageTransparency = lockic.ImageTransparency - 0.1
  7604. wait(0.01)
  7605. end
  7606. lockic.ImageTransparency = 0
  7607. end end
  7608.  
  7609. addcmd('serverlock', 'lock teh server',{'slock'},
  7610. function(args, speaker)
  7611. slock = true
  7612. agelock = false
  7613. Notify('Locked Server')
  7614. fadelock("rbxassetid://1495252742")
  7615. end)
  7616.  
  7617. addcmd('unserverlock', 'unlock teh server',{'unslock'},
  7618. function(args, speaker)
  7619. slock = false
  7620. Notify('Unlocked Server')
  7621. if lockic.Image == "rbxassetid://1495252742" then
  7622. fadelock('off')
  7623. end
  7624. end)
  7625.  
  7626. addcmd('agelock', 'lock teh server for a certain age',{'alock'},
  7627. function(args, speaker)
  7628. if isNumber(args[1]) then
  7629. Notify('Set the age lock to age ' .. args[1])
  7630. isagelocked = true
  7631. slock = false
  7632. agelock = tonumber(args[1])
  7633. fadelock("rbxassetid://1495252495")
  7634. end
  7635. end)
  7636.  
  7637. addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'},
  7638. function(args, speaker)
  7639. Notify('Disabled age lock')
  7640. isagelocked = false
  7641. if lockic.Image == "rbxassetid://1495252495" then
  7642. fadelock('off')
  7643. end
  7644. end)
  7645.  
  7646. addcmd('unlockws', 'unlock the whole workspace',{},
  7647. function(args, speaker)
  7648.     Notify('Workspace unlocked')
  7649.     wait(1)
  7650.     local function unlock(instance)
  7651.         for i,v in pairs(instance:GetChildren()) do
  7652.             if v:IsA("BasePart") then
  7653.                 v.Locked = false
  7654.             end
  7655.             unlock(v)
  7656.         end
  7657.     end
  7658.     unlock(workspace)
  7659. end)
  7660.  
  7661. addcmd('lockws', 'lock the whole workspace',{},
  7662. function(args, speaker)
  7663.     Notify('Workspace locked')
  7664.     wait(1)
  7665.     local function lock(instance)
  7666.         for i,v in pairs(instance:GetChildren()) do
  7667.             if v:IsA("BasePart") then
  7668.                 v.Locked = true
  7669.             end
  7670.             lock(v)
  7671.         end
  7672.     end
  7673.     lock(workspace)
  7674. end)
  7675.  
  7676. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  7677. function(args, speaker)
  7678.    local function unanchor(instance)
  7679.         for i,v in pairs(instance:GetChildren()) do
  7680.             if v:IsA("BasePart") then
  7681.                 v.Anchored=false
  7682.             end
  7683.             unanchor(v)
  7684.         end
  7685.     end
  7686.     unanchor(workspace)
  7687. end)
  7688.  
  7689. addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
  7690. function(args, speaker)
  7691.    local function anchor(instance)
  7692.         for i,v in pairs(instance:GetChildren()) do
  7693.             if v:IsA("BasePart") then
  7694.                 v.Anchored=true
  7695.             end
  7696.             anchor(v)
  7697.         end
  7698.     end
  7699.     anchor(workspace)
  7700. end)
  7701.  
  7702. addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
  7703. function()
  7704.     for _,v in pairs(workspace:GetChildren()) do
  7705.         if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  7706.             v:Destroy()
  7707.         elseif v:IsA("Terrain") then
  7708.             v:Clear()
  7709.         end
  7710.     end
  7711.     for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end
  7712.     local p = Instance.new("Part", workspace)
  7713.     p.Anchored = true
  7714.     p.FormFactor = "Symmetric"
  7715.     p.Size = Vector3.new(1000,1,1000)
  7716.     p.Position = Vector3.new(0,0,0)
  7717.     p.BrickColor = BrickColor.new("Bright green")
  7718.     p.Material = "Grass"
  7719.     p.Locked = true
  7720. end)
  7721.  
  7722. addcmd('headshake', 'shakes a players head',{},
  7723. function(args, speaker)
  7724.         local players = getPlayer(args[1], speaker)
  7725.         for i,v in pairs(players) do
  7726.                 spawn(function()
  7727. local shaken = gPlayers[v].Character
  7728. for X = 1, math.huge, 0.2 do
  7729. wait()
  7730. shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  7731. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  7732. end
  7733. for X = 1, math.huge, 0.1 do
  7734. wait()
  7735. shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  7736. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  7737. end
  7738. for _,c in pairs(gPlayers:GetChildren()) do
  7739.     c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  7740. end
  7741. for _,c in pairs(gPlayers:GetChildren()) do
  7742.     c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  7743. end
  7744. end)
  7745. end
  7746. end)
  7747.  
  7748. addcmd('explorer', 'opens DEX',{'dex'},
  7749. function(args, speaker)
  7750. if speaker.userId ~= LP.userId then
  7751. lponly(speaker)
  7752. else
  7753. loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
  7754. end
  7755. end)
  7756.  
  7757. addcmd('Adminspam', '/shrug',{},
  7758. function(args, speaker)
  7759. loadstring(game:HttpGet(('https://pastebin.com/raw/aJ15LAbN'),true))()
  7760. end)
  7761.  
  7762. addcmd('firstp', 'forces player to go into first person',{},
  7763. function(args, speaker)
  7764.     local players = getPlayer(args[1], speaker)
  7765.     for i,v in pairs(players)do
  7766.         gPlayers[v].CameraMode = "LockFirstPerson"
  7767.     end
  7768. end)
  7769.  
  7770. addcmd('lock', 'locks a players body parts',{},
  7771. function(args, speaker)
  7772.     local players = getPlayer(args[1], speaker)
  7773.     for i,v in pairs(players)do
  7774.         for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  7775.         if v:IsA("Part") then
  7776.         v.Locked = true
  7777. end end end
  7778. end)
  7779.  
  7780. addcmd('unlock', 'locks a players body parts',{},
  7781. function(args, speaker)
  7782.     local players = getPlayer(args[1], speaker)
  7783.     for i,v in pairs(players)do
  7784.         for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  7785.         if v:IsA("Part") then
  7786.         v.Locked = false
  7787. end end end
  7788. end)
  7789.  
  7790. addcmd('disablereset', 'makes a player unable to reset',{'noreset'},
  7791. function(args, speaker)
  7792.     local players = getPlayer(args[1], speaker)
  7793.     for i,v in pairs(players)do
  7794.     spawn(function()
  7795.     gPlayers[v].Character.Humanoid.Name = "HumanoidAdmin"
  7796.     if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else
  7797.     Notify('Disabled reset for player(s)') end
  7798.     end)
  7799.     end
  7800. end)
  7801.  
  7802. addcmd('enablereset', 'makes a player unable to reset',{'reset'},
  7803. function(args, speaker)
  7804.     local players = getPlayer(args[1], speaker)
  7805.     for i,v in pairs(players)do
  7806.     spawn(function()
  7807.     gPlayers[v].Character.HumanoidAdmin.Name = "Humanoid"
  7808.     if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else
  7809.     Notify('Enabled reset for player(s)') end
  7810.     end)
  7811.     end
  7812. end)
  7813.  
  7814. addcmd("fixlighting","Removes effects from lighting",{'fixl'},
  7815. function(args,speaker)
  7816.     for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  7817.         if v:IsA("PostEffect") then
  7818.             v:Destroy()
  7819.         end
  7820.     end
  7821. LightingService.Ambient = origsettings.abt
  7822. LightingService.OutdoorAmbient = origsettings.oabt
  7823. LightingService.Brightness = origsettings.brt
  7824. LightingService.TimeOfDay = origsettings.time
  7825. LightingService.FogColor = origsettings.fclr
  7826. LightingService.FogEnd = origsettings.fe
  7827. LightingService.FogStart = origsettings.fs
  7828. end)
  7829.  
  7830. addcmd("savelighting","Removes effects from lighting",{'slighting'},
  7831. function(args,speaker)
  7832. origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  7833. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
  7834. Notify('Saved lighting settings')
  7835. end)
  7836.  
  7837. addcmd("blackandwhite","Makes the game black and white",{},
  7838. function(args,speaker)
  7839.     local lighting = game:GetService("Lighting")
  7840.     local effect = Instance.new("ColorCorrectionEffect",lighting)
  7841.     effect.Saturation = -1
  7842. end)
  7843.  
  7844. addcmd("invert","Makes the game inverted",{},
  7845. function(args,speaker)
  7846.     local lighting = game:GetService("Lighting")
  7847.     local effect = Instance.new("ColorCorrectionEffect",lighting)
  7848.     effect.Saturation = -1
  7849.     local effect = Instance.new("ColorCorrectionEffect",lighting)
  7850.     effect.Saturation = -1
  7851. end)
  7852.  
  7853. addcmd("sun","Intensifys the sun",{},
  7854. function(args,speaker)
  7855.     local intense = args[1] or 0.25
  7856.     local spread = args[2] or 1
  7857.     local lighting = game:GetService("Lighting")
  7858.     local effect = Instance.new("SunRaysEffect",lighting)
  7859.     effect.Name = "Adminsun"
  7860.     effect.Intensity = tonumber(intense)
  7861.     effect.Spread = tonumber(spread)
  7862. end)
  7863.  
  7864. addcmd('base', 'spawns a base',{},
  7865. function(args, speaker)
  7866. local pt = Instance.new("Part")
  7867. pt.BrickColor = BrickColor.new("Silver")
  7868. pt.Anchored = true
  7869. pt.CanCollide = true
  7870. pt.BottomSurface = "Weld"
  7871. pt.Parent = workspace
  7872. pt.Name = (math.random(1,1000000))
  7873. pt.Size = Vector3.new(1000, 1, 1000)
  7874. pt.Locked = true
  7875. Notify('Created new base')
  7876. end)
  7877.  
  7878. addcmd('unblur', 'removes all blur instances',{'noblur'},
  7879. function(args, speaker)
  7880. for i,v in pairs(LightingService:GetChildren()) do
  7881.     if v:IsA('BlurEffect') then
  7882.         v:Destroy()
  7883.     end
  7884. end
  7885. end)
  7886.  
  7887. addcmd('thirdp', 'allows player to go into third person',{},
  7888. function(args, speaker)
  7889.     local players = getPlayer(args[1], speaker)
  7890.     for i,v in pairs(players)do
  7891.         gPlayers[v].CameraMode = "Classic"
  7892.     end
  7893. end)
  7894.  
  7895. addcmd('chat', 'forces player to chat what you input',{},
  7896. function(args, speaker)
  7897.     local players = getPlayer(args[1], speaker)
  7898.     for i,v in pairs(players)do
  7899.         game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
  7900.     end
  7901. end)
  7902.  
  7903. addcmd('name', 'names player',{},
  7904. function(args, speaker)
  7905.     local players = getPlayer(args[1], speaker)
  7906.     if not args[1] then return end
  7907.     for i,v in pairs(players) do
  7908.         for a, mod in pairs(gPlayers[v].Character:children()) do
  7909.         if mod:FindFirstChild("TAG") then
  7910.         gPlayers[v].Character.Head.Transparency = 0
  7911.         mod:Destroy()
  7912.         end
  7913.         end
  7914.        
  7915.         local char = gPlayers[v].Character
  7916.         local model = Instance.new("Model", char)
  7917.         local clone = char.Head:Clone()
  7918.         local hum = Instance.new("Humanoid", model)
  7919.         local weld = Instance.new("Weld", clone)
  7920.             model.Name = GLS(false, 1)
  7921.             clone.Parent = model
  7922.             hum.Name = "TAG"
  7923.             hum.MaxHealth = 100
  7924.             hum.Health = 100
  7925.             weld.Part0 = clone
  7926.             weld.Part1 = char.Head
  7927.             char.Head.Transparency = 1
  7928.     end
  7929. end)
  7930.  
  7931. addcmd('unname', 'unnames player',{'unhidename'},
  7932. function(args, speaker)
  7933.     local players = getPlayer(args[1], speaker)
  7934.     local name = (args[2])
  7935.     for i,v in pairs(players) do
  7936.         for a, mod in pairs(gPlayers[v].Character:children()) do
  7937.             if mod:FindFirstChild("TAG") then
  7938.                 gPlayers[v].Character.Head.Transparency = 0
  7939.                 mod:Destroy()
  7940.             end
  7941.         end
  7942.     end
  7943. end)
  7944.  
  7945. addcmd('noname', 'hides the players name',{'hidename'},
  7946. function(args, speaker)
  7947.     local players = getPlayer(args[1], speaker)
  7948.     for i,v in pairs(players) do
  7949.         for a, mod in pairs(gPlayers[v].Character:children()) do
  7950.         if mod:FindFirstChild("TAG") then
  7951.         gPlayers[v].Character.Head.Transparency = 0
  7952.         mod:Destroy()
  7953.         end
  7954.         end
  7955.        
  7956.         local char = gPlayers[v].Character
  7957.         local model = Instance.new("Model", char)
  7958.         local clone = char.Head:Clone()
  7959.         local hum = Instance.new("Humanoid", model)
  7960.         local weld = Instance.new("Weld", clone)
  7961.             model.Name = ""
  7962.             clone.Parent = model
  7963.             hum.Name = "TAG"
  7964.             hum.MaxHealth = 100
  7965.             hum.Health = 100
  7966.             weld.Part0 = clone
  7967.             weld.Part1 = char.Head
  7968.             char.Head.Transparency = 1
  7969.     end
  7970. end)
  7971.  
  7972. addcmd('damage', 'damages a player',{},
  7973. function(args, speaker)
  7974.     local players = getPlayer(args[1], speaker)
  7975.     for i,v in pairs(players) do
  7976.         gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  7977.     end
  7978. end)
  7979.  
  7980. addcmd('view', 'views player',{'spectate'},
  7981. function(args, speaker)
  7982.     local players = getPlayer(args[1], speaker)
  7983.     for i,v in pairs(players) do
  7984.         workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  7985.         Notify('Viewing ' .. gPlayers[v].Name)
  7986.     end
  7987. end)
  7988.  
  7989. addcmd('unview', 'stops viewing player',{'unspectate'},
  7990. function()
  7991.     workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  7992.     Notify('View turned off')
  7993. end)
  7994.  
  7995. addcmd('nolimbs', 'removes limbs from player',{'rlimbs'},
  7996. function(args, speaker)
  7997.     local players = getPlayer(args[1], speaker)
  7998.     for i,v in pairs(players) do
  7999.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  8000.             if v:IsA("BasePart") and
  8001.                 v.Name == "Right Leg" or
  8002.                 v.Name == "Left Leg" or
  8003.                 v.Name == "Right Arm" or
  8004.                 v.Name == "Left Arm" then
  8005.                 v:Destroy()
  8006.             end
  8007.         end
  8008.     end
  8009. end)
  8010.  
  8011. addcmd('noarms', 'removes arms from player',{'rarms'},
  8012. function(args, speaker)
  8013.     local players = getPlayer(args[1], speaker)
  8014.     for i,v in pairs(players) do
  8015.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  8016.             if v:IsA("BasePart") and
  8017.                 v.Name == "Right Arm" or
  8018.                 v.Name == "Left Arm" then
  8019.                 v:Destroy()
  8020.             end
  8021.         end
  8022.     end
  8023. end)
  8024.  
  8025. addcmd('torso', 'just a torso....',{},
  8026. function(args, speaker)
  8027.     local players = getPlayer(args[1], speaker)
  8028.     for i,v in pairs(players) do
  8029.         spawn(function()
  8030.         for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  8031.             if v:IsA("BasePart") and
  8032.                 v.Name == "Right Leg" or
  8033.                 v.Name == "Left Leg" or
  8034.                 v.Name == "Right Arm" or
  8035.                 v.Name == "Left Arm" or
  8036.                 v:IsA('Decal') or v:IsA('Texture') or
  8037.                 v:IsA('Accessory') then
  8038.                 v:Destroy()
  8039.             end
  8040.         end
  8041.         gPlayers[v].Character.Head.Transparency = 1
  8042.         end)   
  8043.         end
  8044. end)
  8045.  
  8046. addcmd('box', 'creates a box around player',{},
  8047. function(args, speaker)
  8048.     local players = getPlayer(args[1], speaker)
  8049.     for i,v in pairs(players)do
  8050.         local pchar=_char(v)
  8051.         local SB = Instance.new("SelectionBox", pchar)
  8052.         SB.Adornee = SB.Parent
  8053.     end
  8054. end)
  8055.  
  8056. addcmd('nobox', 'takes away box from player',{'unbox'},
  8057. function(args, speaker)
  8058.     local players = getPlayer(args[1], speaker)
  8059.     for i,v in pairs(players)do
  8060.         local pchar=_char(v)
  8061.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  8062.             if v:IsA("SelectionBox") then
  8063.                 v:Destroy()
  8064.             end
  8065.         end
  8066.     end
  8067. end)
  8068.  
  8069. addcmd('ghost', 'ghostifys player',{},
  8070. function(args, speaker)
  8071.     local players = getPlayer(args[1], speaker)
  8072.     for i,v in pairs(players)do
  8073.         local pchar=gPlayers[v].Character
  8074.         pchar.Head.Transparency = 0.5
  8075.         pchar.Torso.Transparency = 0.5
  8076.         pchar["Left Arm"].Transparency = 0.5
  8077.         pchar["Right Arm"].Transparency = 0.5
  8078.         pchar["Left Leg"].Transparency = 0.5
  8079.         pchar["Right Leg"].Transparency = 0.5
  8080.         pchar.Head.face.Transparency = 0.5
  8081.     end
  8082. end)
  8083.  
  8084. addcmd('unghost', 'unghostifys player',{'noghost'},
  8085. function(args, speaker)
  8086.     local players = getPlayer(args[1], speaker)
  8087.     for i,v in pairs(players)do
  8088.         local pchar=gPlayers[v].Character
  8089.         pchar.Head.Transparency = 0
  8090.         pchar.Torso.Transparency = 0
  8091.         pchar["Left Arm"].Transparency = 0
  8092.         pchar["Right Arm"].Transparency = 0
  8093.         pchar["Left Leg"].Transparency = 0
  8094.         pchar["Right Leg"].Transparency = 0
  8095.         pchar.Head.face.Transparency = 0
  8096.     end
  8097. end)
  8098.  
  8099. addcmd('sphere', 'puts sphere around player',{},
  8100. function(args, speaker)
  8101.     local players = getPlayer(args[1], speaker)
  8102.     for i,v in pairs(players)do
  8103.         local pchar=gPlayers[v].Character
  8104.         local SS = Instance.new("SelectionSphere", pchar)
  8105.         SS.Adornee = SS.Parent
  8106.     end
  8107. end)
  8108.  
  8109. addcmd('unsphere', 'removes sphere around player',{},
  8110. function(args, speaker)
  8111.     local players = getPlayer(args[1], speaker)
  8112.     for i,v in pairs(players)do
  8113.         local pchar=_char(v)
  8114.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  8115.             if v:IsA("SelectionSphere") then
  8116.                 v:Destroy()
  8117.             end
  8118.         end
  8119.     end
  8120. end)
  8121.  
  8122. addcmd('ambient','changes ambient',{},
  8123. function(args, speaker)
  8124.     LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3])
  8125.     LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3])
  8126. end)
  8127.  
  8128. addcmd('fogend','changes the fogend',{},
  8129. function(args, speaker)
  8130.     LightingService.FogEnd = args[1]
  8131. end)
  8132.  
  8133. addcmd('fogcolor','changes the fogs color',{},
  8134. function(args, speaker)
  8135.     LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3])
  8136. end)
  8137.  
  8138. injail = {}
  8139. addcmd('jail','jails player',{},
  8140. function(args, speaker)
  8141.     local players = getPlayer(args[1], speaker)
  8142.     for i,v in pairs(players)do
  8143.     spawn(function()
  8144.         if FindTable(injail, _players[v].Name) then return end
  8145.         table.insert(injail, _players[v].Name)
  8146.         local pchar=gPlayers[v].Character
  8147.         local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
  8148.         repeat wait(0.5)
  8149.         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
  8150.         until not FindTable(injail, _players[v].Name)
  8151.     end)
  8152.     end
  8153. end)
  8154.  
  8155. addcmd('unjail','unjails player',{},
  8156. function(args, speaker)
  8157.     local players = getPlayer(args[1], speaker)
  8158.     for i,v in pairs(players)do
  8159.         spawn(function()
  8160.         for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
  8161.         workspace["JAIL_" .. _players[v].Name]:Destroy()
  8162.         end)
  8163.         end
  8164. end)
  8165.  
  8166. loopn = {}
  8167. addcmd('loopname','loops a players name',{'lname'},
  8168. function(args, speaker)
  8169.     local players = getPlayer(args[1], speaker)
  8170.     for i,v in pairs(players)do
  8171.     spawn(function()
  8172.         if FindTable(loopn, _players[v].Name) then return end
  8173.         table.insert(loopn, _players[v].Name)
  8174.         local Lname = GLS(false, 1)
  8175.         local pchar=gPlayers[v].Character
  8176.         pchar.Name = Lname
  8177.         if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else
  8178.         Notify('Looping name for player(s) (only visible to others)') end
  8179.         repeat wait(0.01)
  8180.         repeat wait() until _players[v].Character
  8181.         gPlayers[v].Character.Name = Lname
  8182.         until not FindTable(loopn, _players[v].Name)
  8183.     end)
  8184.     end
  8185. end)
  8186.  
  8187. addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'},
  8188. function(args, speaker)
  8189.     local players = getPlayer(args[1], speaker)
  8190.     for i,v in pairs(players)do
  8191.         spawn(function()
  8192.         local pchar=gPlayers[v].Character
  8193.         for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end
  8194.         wait(0.5)
  8195.         if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else
  8196.         Notify('Stopped looping name for player(s)') end
  8197.         pchar.Name = gPlayers[v].Name
  8198.         end)
  8199.         end
  8200. end)
  8201.  
  8202. addcmd('loopbring','loop brings a player lol',{},
  8203. function(args, speaker)
  8204.     local players = getPlayer(args[1], speaker)
  8205.     for i,v in pairs(players)do
  8206.     spawn(function()
  8207.     if FindTable(bringT, _players[v].Name) then return end
  8208.     table.insert(bringT, _players[v].Name)
  8209.         local pchar=gPlayers[v].Character
  8210.         pchar.Humanoid.Jump = true
  8211.         repeat wait(0.5)
  8212.         pchar = _players[v].Character
  8213.         for i,c in pairs(players) do
  8214.         if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
  8215.         pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
  8216.         end
  8217.         end
  8218.         until not FindTable(bringT, _players[v].Name)
  8219.     end)
  8220.     end
  8221. end)
  8222.  
  8223. addcmd('feinvisible','fe invisible',{'feinvis'},
  8224. function(args, speaker)
  8225. -- Elite1337#9377 & Timeless#4044
  8226. local function CheckRig()
  8227.     if Player.Character then
  8228.         local Humanoid = Player.Character:WaitForChild('Humanoid')
  8229.         if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  8230.             return 'R15'
  8231.         else
  8232.             return 'R6'
  8233.         end
  8234.     end
  8235. end
  8236. local function InitiateInvis()
  8237.     local Character = Player.Character
  8238.     local StoredCF = Character.PrimaryPart.CFrame
  8239.         local Part = Instance.new('Part',workspace)
  8240.         Part.Size = Vector3.new(5,0,5)
  8241.         Part.Anchored = true
  8242.         Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999))
  8243.         Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0)
  8244.         spawn(function()
  8245.             wait(3)
  8246.             Part:Destroy()
  8247.         end)
  8248.     if CheckRig() == 'R6' then
  8249.         local Clone = Character.HumanoidRootPart:Clone()
  8250.         Character.HumanoidRootPart:Destroy()
  8251.         Clone.Parent = Character
  8252.     else
  8253.         local Clone = Character.LowerTorso.Root:Clone()
  8254.         Character.LowerTorso.Root:Destroy()
  8255.         Clone.Parent = Character.LowerTorso
  8256.     end
  8257. end
  8258. InitiateInvis()
  8259. end)
  8260.  
  8261. addcmd('unloopbring','unjails player',{'noloopbring'},
  8262. function(args, speaker)
  8263.     local players = getPlayer(args[1], speaker)
  8264.     for i,v in pairs(players)do
  8265.         spawn(function()
  8266.         for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
  8267.         end)
  8268.         end
  8269. end)
  8270.  
  8271. strobe = false
  8272. addcmd('strobe','makes the server flash',{'flash'},
  8273. function(args, speaker)
  8274.     if strobe == false then
  8275.         strobep = Instance.new("ColorCorrectionEffect")
  8276.         strobep.Brightness = 1
  8277.         strobep.Parent = LightingService
  8278.         strobe = true
  8279.         repeat wait(0.01)
  8280.         strobep.Enabled = true
  8281.         wait(0.01)
  8282.         strobep.Enabled = false
  8283.         until strobe == false
  8284.         end
  8285. end)
  8286.  
  8287. addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
  8288. function(args, speaker)
  8289.     strobe = false
  8290.     strobep:Destroy()
  8291. end)
  8292.  
  8293. addcmd('shutdown', 'shuts the server down',{},
  8294. function(args, speaker)
  8295. Notify('Broken atm :(')
  8296. end)
  8297.  
  8298. addcmd('fekill','oof?',{},
  8299. function(args, speaker)
  8300.     local players = getPlayer(args[1], speaker)
  8301.     for i,v in pairs(players)do
  8302. -- illremember's cool fe kill script
  8303. local Target = gPlayers[v].Name
  8304. game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1
  8305. local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone()
  8306. l.Parent = game:GetService("Players").LocalPlayer.Character
  8307. l.Name = "Humanoid"
  8308. wait(0.1)
  8309. game:GetService("Players").LocalPlayer.Character["1"]:Destroy()
  8310. game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character
  8311. game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true
  8312. wait(0.1)
  8313. game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false
  8314. game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  8315. for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  8316. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v)
  8317. v.CanBeDropped = true
  8318. end
  8319. wait(0.1)
  8320. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  8321. wait(0.1)
  8322. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  8323. wait(0.2)
  8324. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
  8325. end
  8326. end)
  8327.  
  8328. addcmd('animation','makes player animate',{'anim'},
  8329. function(args, speaker)
  8330.     local players = getPlayer(args[1], speaker)
  8331.     for i,v in pairs(players)do
  8332.         local pchar=_char(v)
  8333.         local AnimationId = tostring(args[2])
  8334.         local Anim = Instance.new("Animation")
  8335.         Anim.AnimationId = "rbxassetid://"..AnimationId
  8336.         local k = pchar.Humanoid:LoadAnimation(Anim)
  8337.         k:Play()
  8338.     end
  8339. end)
  8340.  
  8341. addcmd('creeper','make the player a creeper',{'crpr'},
  8342. function(args, speaker)
  8343.     local players = getPlayer(args[1], speaker)
  8344.     for i,v in pairs(players)do
  8345.     local pchar = gPlayers[v].Character
  8346.         if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  8347.             if pchar:FindFirstChild("Shirt") then
  8348.                 pchar.Shirt.Parent = pchar.Torso
  8349.             end
  8350.             if pchar:FindFirstChild("Pants") then
  8351.                 pchar.Pants.Parent = pchar.Torso
  8352.             end
  8353.             if pchar:FindFirstChild("Shirt Graphic") then
  8354.                 pchar["Shirt Graphic"].Graphic = ""
  8355.             end
  8356.             for i,v in pairs(pchar:GetChildren()) do
  8357.                 if v:IsA("Accessory") then
  8358.                     v:Destroy()
  8359.                 end
  8360.             end
  8361.             pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8362.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  8363.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  8364.             pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  8365.             pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  8366.             pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  8367.             pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  8368.             pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  8369.             pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  8370.             pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  8371.             pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  8372.         end
  8373.     end
  8374. end)
  8375.  
  8376. addcmd('uncreeper','makes player back to normal',{},
  8377. function(args, speaker)
  8378.     local players = getPlayer(args[1], speaker)
  8379.     for i,v in pairs(players)do
  8380.         refresh(gPlayers[v])
  8381.     end
  8382. end)
  8383.  
  8384. addcmd('crash','crashes a player',{},
  8385. function(args, speaker)
  8386.     local players = getPlayer(args[1], speaker)
  8387.     for i,v in pairs(players)do
  8388.     if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
  8389.     if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else
  8390.     Notify('Crashed player(s)') end
  8391.     wait(4)
  8392. if gPlayers[v] ~= nil then
  8393. for i=1,3600 do
  8394. Instance.new("Tool",gPlayers[v].Backpack).Name = "-"
  8395. end
  8396. wait()
  8397. for i=1,3600 do
  8398. Instance.new("Tool",gPlayers[v].Backpack).Name = "-"
  8399. end
  8400. wait()
  8401. end
  8402. end
  8403. end
  8404. end)
  8405.  
  8406. addcmd('shrek', 'makes player shrek',{},
  8407. function(args, speaker)
  8408.     local players = getPlayer(args[1], speaker)
  8409.     for i,v in pairs(players) do
  8410.         local pchar = gPlayers[v].Character
  8411.         for i,v in pairs(pchar:GetChildren()) do
  8412.             if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
  8413. then
  8414.                 v:Destroy()
  8415.             end
  8416.         end
  8417.         for i,v in pairs(pchar.Head:GetChildren()) do
  8418.             if v:IsA("Decal") or v:IsA("SpecialMesh") then
  8419.                 v:Destroy()
  8420.             end
  8421.         end
  8422.        
  8423.         local mesh = Instance.new("SpecialMesh", pchar.Head)
  8424.         mesh.MeshType = "FileMesh"
  8425.         pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  8426.         pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  8427.         pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  8428.        
  8429.         local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  8430.         local Pants = Instance.new("Pants", gPlayers[v].Character)
  8431.        
  8432.         Shirt.ShirtTemplate = "rbxassetid://133078194"
  8433.         Pants.PantsTemplate = "rbxassetid://133078204"
  8434.     end
  8435. end)
  8436.  
  8437. addcmd('unshrek','makes player back to normal',{},
  8438. function(args, speaker)
  8439.     local players = getPlayer(args[1], speaker)
  8440.     for i,v in pairs(players)do
  8441.         refresh(gPlayers[v])
  8442.     end
  8443. end)
  8444.  
  8445. addcmd('oof','good things happen',{},
  8446. function(args, speaker)
  8447.     local players = getPlayer(args[1], speaker)
  8448.     for i,v in pairs(players)do
  8449.         spawn(function()
  8450.         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
  8451.         gPlayers[v].Character.Head.Died.Volume = 10
  8452.         gPlayers[v].Character.Head.Died.Pitch = 0.5
  8453.         end
  8454.         execCmd("size " .. gPlayers[v].Name .. ' -1')
  8455.         execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
  8456.         wait(5)
  8457.         execCmd("explode " .. gPlayers[v].Name)
  8458.         wait(0.1)
  8459.         gPlayers[v].Character.Humanoid.Health = 0
  8460.         end)
  8461.         end
  8462. end)
  8463.  
  8464. addcmd('control','controls player',{},
  8465. function(args, speaker)
  8466.     local players = getPlayer(args[1], speaker)
  8467.     for i,v in pairs(players)do
  8468.         spawn(function()
  8469.         local pchar = gPlayers[v].Character
  8470.         if gPlayers[v] and pchar then
  8471.             execCmd("invisible " .. speaker.Name)
  8472.             pchar.Humanoid.PlatformStand = true
  8473.             local w = Instance.new("Weld", speaker.Character.Torso)
  8474.             w.Part0 = speaker.Character.Torso
  8475.             w.Part1 = pchar.Torso  
  8476.             local w2 = Instance.new("Weld", speaker.Character.Head)
  8477.             w2.Part0 = speaker.Character.Head
  8478.             w2.Part1 = pchar.Head  
  8479.             local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
  8480.             w3.Part0 = speaker.Character:findFirstChild("Right Arm")
  8481.             w3.Part1 = pchar:findFirstChild("Right Arm")
  8482.             local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
  8483.             w4.Part0 = speaker.Character:findFirstChild("Left Arm")
  8484.             w4.Part1 = pchar:findFirstChild("Left Arm")
  8485.             local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
  8486.             w5.Part0 = speaker.Character:findFirstChild("Right Leg")
  8487.             w5.Part1 = pchar:findFirstChild("Right Leg")
  8488.             local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
  8489.             w6.Part0 = speaker.Character:findFirstChild("Left Leg")
  8490.             w6.Part1 = pchar:findFirstChild("Left Leg")
  8491.             char.Head.face:Destroy()
  8492.             for i,v in pairs(pchar:GetChildren()) do
  8493.                 if v:IsA("BasePart") then
  8494.                     v.CanCollide = false
  8495.                 end
  8496.             end
  8497.             for i,v in pairs(char:GetChildren()) do
  8498.                 if v:IsA("BasePart") then
  8499.                     v.Transparency = 1
  8500.                 elseif v:IsA("Accessory") then
  8501.                     v:Destroy()
  8502.                 end
  8503.             end
  8504.             pchar.Parent = char
  8505.             pchar.Humanoid.Changed:connect(function()
  8506.                 pchar.Humanoid.PlatformStand = true
  8507.             end)
  8508.         end
  8509.         end)
  8510.         end
  8511. end)
  8512.  
  8513. addcmd('nuke','nukes player',{}, -- from MML
  8514. function(args, speaker)
  8515.     local players = getPlayer(args[1], speaker)
  8516.     for i,v in pairs(players)do
  8517.         spawn(function()
  8518.         local pchar = gPlayers[v].Character
  8519.     local Pos = CFrame.new(0,1,0)
  8520.     if pchar and pchar:FindFirstChild("HumanoidRootPart") then Pos = pchar.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end
  8521.     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
  8522.     local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0)
  8523.     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)
  8524.     local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017"
  8525.     local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2)
  8526.    
  8527.     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)
  8528.    
  8529.     gLighting.Brightness = 5
  8530.     gLighting.Ambient = Color3.new(1,0.5,0.5)
  8531.     gLighting.OutdoorAmbient = Color3.new(1,1,1)
  8532.    
  8533.     local Exp = Instance.new("Explosion", workspace)
  8534.     Exp.Position = Pos.p
  8535.     Exp.BlastPressure = 10000000
  8536.     Exp.BlastRadius = 1000000
  8537.     Exp.Hit:connect(function(Part)
  8538.         if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then
  8539.             ypcall(function()
  8540.                 Part.Anchored = false
  8541.                 Part.BrickColor = BrickColor.new("Black")
  8542.                 Part.Material = "Slate"
  8543.                 Part:BreakJoints() 
  8544.             end)
  8545.         end
  8546.     end)
  8547.  
  8548.     local BoomSound = Instance.new('Sound') BoomSound.Parent = workspace
  8549.     BoomSound.SoundId = 'rbxassetid://212389494'
  8550.     BoomSound:Play()
  8551.     for i = 0,100,0.5 do
  8552.         Blast.Anchored = true
  8553.         Wave.Anchored = true
  8554.         BlastMesh.Scale = Vector3.new(i,i,i)
  8555.         WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5)
  8556.         Blast.CFrame = Pos
  8557.         wait()
  8558.     end
  8559.     BoomSound:Stop()
  8560.     Blast:Destroy()
  8561.     Wave:Destroy()
  8562.     wait()
  8563.     BoomSound:Destroy()
  8564.     Effect:Destroy()
  8565.     for i = 10,5,-1 do
  8566.         gLighting.Brightness = (i-5) + 1
  8567.         gLighting.Ambient = Color3.new(i/10,0.5,0.5)
  8568.         gLighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10)
  8569.         wait(0.05)
  8570.     end
  8571.         end)
  8572.         end
  8573. end)
  8574.  
  8575. addcmd('dong','gives a player a penis',{'penis'},
  8576. function(args, speaker)
  8577.     local players = getPlayer(args[1], speaker)
  8578.     for i,v in pairs(players)do
  8579.         spawn(function()
  8580.         if gPlayers[v].Character:FindFirstChild('wang') then
  8581.         gPlayers[v].Character.wang:destroy()
  8582.     end
  8583.     local D = Instance.new('Model', gPlayers[v].Character)
  8584.     D.Name = 'DONG'
  8585.     local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso)
  8586.     local MAIN = Instance.new('Part', gPlayers[v].Character['DONG'])
  8587.     local M1 = Instance.new('CylinderMesh', MAIN)
  8588.     local W1 = Instance.new('Weld', gPlayers[v].Character.Head)
  8589.     local P1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  8590.     local M2 = Instance.new('SpecialMesh', P1)
  8591.     local W2 = Instance.new('Weld', P1)
  8592.     local B1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  8593.     local M3 = Instance.new('SpecialMesh', B1)
  8594.     local W3 = Instance.new('Weld', B1)
  8595.     local B2 = Instance.new('Part', gPlayers[v].Character['DONG'])
  8596.     local M4 = Instance.new('SpecialMesh', B2)
  8597.     local W4 = Instance.new('Weld', B2)
  8598.     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
  8599.     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)
  8600.     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
  8601.     M2.MeshType = 'Sphere'
  8602.     W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
  8603.     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')
  8604.     M3.Parent = B1 M3.MeshType = 'Sphere'
  8605.     W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
  8606.     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')
  8607.     M4.MeshType = 'Sphere'
  8608.     W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
  8609.         end)
  8610.     end
  8611. end)
  8612.  
  8613. addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'},
  8614. function(args, speaker)
  8615.     local players = getPlayer(args[1], speaker)
  8616.     for i,v in pairs(players)do
  8617.         if gPlayers[v].Character:FindFirstChild('DONG') then
  8618.         gPlayers[v].Character.DONG:destroy()
  8619. end end
  8620. end)
  8621.  
  8622. addcmd('infect','infects player',{},
  8623. function(args, speaker)
  8624.     local players = getPlayer(args[1], speaker)
  8625.     for i,v in pairs(players)do
  8626.         function infect(rip)
  8627.         local pchar = gPlayers[v].Character
  8628.             for i,v in pairs(pchar:GetChildren()) do
  8629.                 if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  8630.                     v:Destroy()
  8631.                 end
  8632.             end
  8633.             if pchar.Torso:FindFirstChild("roblox") then
  8634.                 pchar.Torso.roblox:Destroy()
  8635.             end
  8636.             if pchar.Head:FindFirstChild("face") then
  8637.                 pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  8638.             end
  8639.             if pchar:FindFirstChild("Body Colors") then
  8640.                 local Colors = pchar["Body Colors"]
  8641.                 local Skin = BrickColor.new("Pastel green")
  8642.                 local Clothes = BrickColor.new("Reddish brown")
  8643.                 Colors.HeadColor = Skin
  8644.                 Colors.LeftArmColor = Skin
  8645.                 Colors.RightArmColor = Skin
  8646.                 Colors.LeftLegColor = Clothes
  8647.                 Colors.RightLegColor = Clothes
  8648.                 Colors.TorsoColor = Clothes
  8649.             end
  8650.             local w1 = Instance.new("Weld", pchar)
  8651.             w1.Part0 = pchar["Right Arm"]
  8652.             w1.Part1 = pchar.Torso
  8653.             w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  8654.             local w2 = Instance.new("Weld", pchar)
  8655.             w2.Part0 = pchar["Left Arm"]
  8656.             w2.Part1 = pchar.Torso
  8657.             w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  8658.             local rip = false
  8659.             local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  8660.                 if connect1 == false then
  8661.                     connect1 = true
  8662.                     if gPlayers:FindFirstChild(hit.Parent.Name) then
  8663.                         infect(gPlayers[hit.Parent.Name])
  8664.                     end
  8665.                     wait(0.5)
  8666.                     connect1 = true
  8667.                 end
  8668.             end)
  8669.             local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  8670.                 if connect2 == false then
  8671.                     connect2 = true
  8672.                     if gPlayers:FindFirstChild(hit.Parent.Name) then
  8673.                         infect(gPlayers[hit.Parent.Name])
  8674.                     end
  8675.                     wait(0.5)
  8676.                     connect2 = true
  8677.                 end
  8678.             end)
  8679.             local IV = Instance.new("IntValue", pchar)
  8680.             IV.Name = "Infected"
  8681.             IV.Value = 0
  8682.             IV.Changed:connect(function()
  8683.                 connect1:disconnect()
  8684.                 connect2:disconnect()
  8685.             end)
  8686.         end
  8687.         infect(v)
  8688.     end
  8689. end)
  8690.  
  8691. addcmd('uninfect','makes player back to normal',{},
  8692. function(args, speaker)
  8693.     local players = getPlayer(args[1], speaker)
  8694.     for i,v in pairs(players)do
  8695.         refresh(gPlayers[v])
  8696.     end
  8697. end)
  8698.  
  8699. addcmd('duck','makes players head a duck',{},
  8700. function(args, speaker)
  8701.     local players = getPlayer(args[1], speaker)
  8702.     for i,v in pairs(players)do
  8703.         local pchar = gPlayers[v].Character
  8704.         for i,v in pairs(pchar.Torso:GetChildren()) do
  8705.             if v:IsA("Decal") then
  8706.                 v:Destroy()
  8707.             end
  8708.         end
  8709.         for i,v in pairs(pchar:GetChildren()) do
  8710.             if v:IsA("Accessory") then
  8711.                 v:Destroy()
  8712.             end
  8713.         end
  8714.         local duck = Instance.new("SpecialMesh", pchar.Torso)
  8715.         duck.MeshType = "FileMesh"
  8716.         duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  8717.         duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  8718.         duck.Scale = Vector3.new(5, 5, 5)
  8719.         pchar.Head.Transparency = 1
  8720.         pchar["Left Arm"].Transparency = 1
  8721.         pchar["Right Arm"].Transparency = 1
  8722.         pchar["Left Leg"].Transparency = 1
  8723.         pchar["Right Leg"].Transparency = 1
  8724.         pchar.Head.face.Transparency = 1
  8725.     end
  8726. end)
  8727.  
  8728. addcmd('mage', 'mage',{},
  8729. function(args, speaker)
  8730. if speaker.userId ~= LP.userId then
  8731. lponly(speaker) else
  8732. if not LP.PlayerGui:FindFirstChild('ChangeArc') then
  8733. local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430")
  8734. local fakeLighting = arcPackage.Lighting
  8735.  
  8736. local oldgame = game
  8737. local oldlighting = oldgame:GetService("Lighting")
  8738.  
  8739. local proLighting = newproxy(true)
  8740. local mtL = getmetatable(proLighting)
  8741. mtL.__index = function(self,ind)
  8742.     if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end
  8743.     return oldlighting[ind]
  8744. end
  8745. mtL.__newindex = function(self,ind,val)
  8746.     oldlighting[ind] = val
  8747. end
  8748. mtL.__namecall = function(self,...)
  8749.     local args = {...}
  8750.     local method = table.remove(args)
  8751.     return oldlighting(method,unpack(args))
  8752. end
  8753.  
  8754. local proGame = newproxy(true)
  8755. local mt = getmetatable(proGame)
  8756. mt.__index = function(self,ind)
  8757.     if ind == "Lighting" then return proLighting end
  8758.     return oldgame[ind]
  8759. end
  8760. mt.__namecall = function(self,...)
  8761.     local args = {...}
  8762.     local method = table.remove(args)
  8763.     if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end
  8764.     return oldgame(method,unpack(args))
  8765. end
  8766.  
  8767. wait()
  8768. local destructAnchored = false
  8769. local maxMass = 1000
  8770.  
  8771. function newCESS(scr)
  8772.     local newFunc = loadstring(scr.Source)
  8773.     if type(newFunc) ~= "function" then return end
  8774.     setfenv(newFunc,setmetatable({script = scr},{
  8775.         __index = function(self,ind)
  8776.             if ind == "game" then return proGame end
  8777.             return getfenv()[ind]
  8778.         end,
  8779.         __newindex = function(self,ind,val)
  8780.             rawset(self,ind,val)
  8781.         end
  8782.     }))
  8783.     pcall(function()spawn(newFunc)end)
  8784. end
  8785.  
  8786. gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999
  8787. gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999
  8788.  
  8789. function destroyHook(obj,replacement,par)
  8790.     obj:GetPropertyChangedSignal("Parent"):Connect(function()
  8791.         local newObj = replacement:Clone()
  8792.         if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
  8793.         newObj.Parent = par
  8794.         destroyHook(newObj,replacement,par)
  8795.     end)
  8796. end
  8797.  
  8798. for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do
  8799.     local newObj = v:Clone()
  8800.     if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
  8801.     newObj.Parent = gPlayers.LocalPlayer.PlayerGui
  8802.     destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui)
  8803. end
  8804.  
  8805. function replaceScripts(root)
  8806.     for i,v in pairs(root:GetChildren()) do
  8807.         if v:IsA("Script") and not v:IsA("LocalScript") then
  8808.             local tempStore = {}
  8809.             for i2,v2 in pairs(v:GetChildren()) do
  8810.                 table.insert(tempStore,v2:Clone())
  8811.             end
  8812.             local newScript = Instance.new("LocalScript",v.Parent)
  8813.             newScript.Name = v.Name
  8814.             for i2,v2 in pairs(tempStore) do
  8815.                 v2.Parent = newScript
  8816.             end
  8817.             v:Destroy()
  8818.         end
  8819.         replaceScripts(v)
  8820.     end
  8821. end
  8822.  
  8823. local player = gPlayers.LocalPlayer
  8824.  
  8825. if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then
  8826.     gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer
  8827. end
  8828.  
  8829. if not game.ReplicatedStorage:FindFirstChild("RankScript") then
  8830.     gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage
  8831. end
  8832.  
  8833. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then
  8834.     local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element
  8835.     eTemplate.Name = gPlayers.LocalPlayer.Name.."Element"
  8836.     eTemplate.Parent = game.ReplicatedStorage
  8837. end
  8838.  
  8839. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then
  8840.     local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName
  8841.     fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName"
  8842.     fTemplate.Parent = game.ReplicatedStorage
  8843. end
  8844.  
  8845. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then
  8846.     local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level
  8847.     lTemplate.Name = gPlayers.LocalPlayer.Name.."Level"
  8848.     lTemplate.Parent = game.ReplicatedStorage
  8849. end
  8850.  
  8851. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then
  8852.     local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership
  8853.     mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership"
  8854.     mTemplate.Parent = game.ReplicatedStorage
  8855. end
  8856.  
  8857. function getMyPlayerArea()
  8858.     for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do
  8859.         if v.Player.Value == player.Name then
  8860.             return v.PlayerArea
  8861.         end
  8862.     end
  8863. end
  8864.  
  8865. local whitelistedParts = {
  8866.     ["DamagePart"] = true,
  8867.     ["Explosion"] = true,
  8868.     ["Explosion2"] = true,
  8869.     ["SuperExplosion"] = true,
  8870. }
  8871.  
  8872. workspace.DescendantAdded:connect(function(desc)
  8873.     if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then
  8874.         newCESS(desc)
  8875.     elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then
  8876.         newCESS(desc)
  8877.     elseif desc:IsA("BodyGyro") then
  8878.         desc:GetPropertyChangedSignal("MaxTorque"):Connect(function()
  8879.             desc.MaxTorque = Vector3.new(100000,100000,100000)
  8880.         end)
  8881.     --elseif desc:IsA("BodyPosition") then
  8882.     --  desc:GetPropertyChangedSignal("MaxForce"):Connect(function()
  8883.     --      desc.MaxForce = Vector3.new(10000,10000,10000)
  8884.     --  end)
  8885.     end
  8886. end)
  8887.  
  8888. player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25))
  8889. player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth
  8890. player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25))
  8891. player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50)
  8892. player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value
  8893.  
  8894. wait(1)
  8895.  
  8896. local player = gPlayers.LocalPlayer
  8897.  
  8898. local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame
  8899. local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate
  8900.  
  8901. local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle
  8902. local arcMoves = player.PlayerGui.ChangeArc.ArcMoves
  8903. local arcMovesList = arcMoves.ScrollingFrame
  8904. local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate
  8905.  
  8906. local arcs = {}
  8907.  
  8908. local currentArc = ""
  8909.  
  8910. function getMove(root)
  8911.     for i,v in pairs(root:GetChildren()) do
  8912.         if v.Name ~= "Requirement" then
  8913.             return v
  8914.         end
  8915.     end
  8916.     return nil
  8917. end
  8918.  
  8919. for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do
  8920.     table.insert(arcs,v)
  8921. end
  8922.  
  8923. for i,v in pairs(fakeLighting.Customs:GetChildren()) do
  8924.     table.insert(arcs,v)
  8925. end
  8926.  
  8927. for i,v in pairs(arcs) do
  8928.     local newTemplate = arcTemplate:Clone()
  8929.     newTemplate.ArcName.Text = v.Name
  8930.     newTemplate.Change.MouseButton1Down:connect(function()
  8931.         currentArc = v.Name
  8932.         arcToggler.Parent.Visible = true
  8933.         if fakeLighting.SkillFrames:FindFirstChild(currentArc) then
  8934.             arcMovesList:ClearAllChildren()
  8935.             arcToggler.Text = currentArc
  8936.             arcMoves.Title.Text = currentArc .. " Arc"
  8937.             for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
  8938.                 local myMove = getMove(v5.Learn)
  8939.                 if myMove ~= nil then
  8940.                     local newTemplate = moveTemplate:Clone()
  8941.                     newTemplate.Attack.Text = v5.Name
  8942.                     newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8943.                     newTemplate.Parent = arcMovesList
  8944.                     arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8945.                     newTemplate.Learn.MouseButton1Down:connect(function()
  8946.                         local learnMove = myMove:Clone()
  8947.                         learnMove.Parent = player.Backpack
  8948.                         if learnMove:IsA("LocalScript") then
  8949.                             learnMove.Disabled = false
  8950.                             newTemplate.Learn.Text = "Activated"
  8951.                             newCESS(learnMove)
  8952.                         else
  8953.                             newTemplate.Learn.Text = "Learned"
  8954.                             newCESS(learnMove.LocalScript)
  8955.                         end
  8956.                         wait(5)
  8957.                         newTemplate.Learn.Text = "Learn"
  8958.                     end)
  8959.                     newTemplate.Visible = true
  8960.                 end
  8961.             end
  8962.         end
  8963.         if fakeLighting.Customs:FindFirstChild(currentArc) then
  8964.             arcMovesList:ClearAllChildren()
  8965.             arcToggler.Text = currentArc
  8966.             arcMoves.Title.Text = currentArc .. " Arc"
  8967.             for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
  8968.                 local myMove = getMove(v.Learn)
  8969.                 if myMove ~= nil then
  8970.                     local newTemplate = moveTemplate:Clone()
  8971.                     newTemplate.Attack.Text = v.Name
  8972.                     newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8973.                     newTemplate.Parent = arcMovesList
  8974.                     arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8975.                     newTemplate.Learn.MouseButton1Down:connect(function()
  8976.                         local learnMove = myMove:Clone()
  8977.                         learnMove.Parent = player.Backpack
  8978.                         if learnMove:IsA("LocalScript") then
  8979.                             learnMove.Disabled = false
  8980.                             newTemplate.Learn.Text = "Activated"
  8981.                             newCESS(learnMove)
  8982.                         else
  8983.                             newTemplate.Learn.Text = "Learned"
  8984.                             newCESS(learnMove.LocalScript)
  8985.                         end
  8986.                         wait(5)
  8987.                         newTemplate.Learn.Text = "Learn"
  8988.                     end)
  8989.                     newTemplate.Visible = true
  8990.                 end
  8991.             end
  8992.         end
  8993.     end)
  8994.     newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
  8995.     newTemplate.Visible = true
  8996.     newTemplate.Parent = arcList
  8997.     arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
  8998. end
  8999.  
  9000. Open = false
  9001. MouseClick = function()
  9002.   if Open == false then
  9003.     Open = true
  9004.     player.PlayerGui.ChangeArc.Stuff.Visible = true
  9005.   else
  9006.     if Open == true then
  9007.       Open = false
  9008.       player.PlayerGui.ChangeArc.Stuff.Visible = false
  9009.     end
  9010.   end
  9011. end
  9012.  
  9013. player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick)
  9014.  
  9015. Open2 = false
  9016. MouseClick2 = function()
  9017.   if Open2 == false then
  9018.     Open2 = true
  9019.     arcMoves.Visible = true
  9020.   else
  9021.     if Open2 == true then
  9022.       Open2 = false
  9023.       arcMoves.Visible = false
  9024.     end
  9025.   end
  9026. end
  9027.  
  9028. arcToggler.MouseButton1Down:connect(MouseClick2)
  9029.  
  9030. newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"])
  9031.  
  9032. for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do
  9033.     if v:IsA("Script") then
  9034.         newCESS(v)
  9035.     end
  9036. end
  9037. end
  9038. end
  9039. end)
  9040.  
  9041. addcmd('unduck','makes player back to normal',{},
  9042. function(args, speaker)
  9043.     local players = getPlayer(args[1], speaker)
  9044.     for i,v in pairs(players)do
  9045.         refresh(gPlayers[v])
  9046.     end
  9047. end)
  9048.  
  9049. addcmd('mesh','makes a player into a mesh',{},
  9050. function(args, speaker)
  9051.     local players = getPlayer(args[1], speaker)
  9052.     for i,v in pairs(players)do
  9053.         local pchar = gPlayers[v].Character
  9054.         for i,v in pairs(pchar.Torso:GetChildren()) do
  9055.             if v:IsA("Decal") then
  9056.                 v:Destroy()
  9057.             end
  9058.         end
  9059.         for i,v in pairs(pchar:GetChildren()) do
  9060.             if v:IsA("Accessory") then
  9061.                 v:Destroy()
  9062.             end
  9063.         end
  9064.         pchar.Head.Transparency = 1
  9065.         pchar["Left Arm"].Transparency = 1
  9066.         pchar["Right Arm"].Transparency = 1
  9067.         pchar["Left Leg"].Transparency = 1
  9068.         pchar["Right Leg"].Transparency = 1
  9069.         pchar.Head.face.Transparency = 1
  9070.         local msh = Instance.new("SpecialMesh", pchar.Torso)
  9071.         msh.MeshType = "FileMesh"
  9072.         msh.Scale = Vector3.new(3, 3, 3)
  9073.         msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
  9074.         msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
  9075.         msh.Scale = Vector3.new(3, 3, 3)
  9076.     end
  9077. end)
  9078.  
  9079. addcmd('disable','removes players humanoid',{},
  9080. function(args, speaker)
  9081.     local players = getPlayer(args[1], speaker)
  9082.     for i,v in pairs(players)do
  9083.         local pchar = gPlayers[v].Character
  9084.         if pchar:FindFirstChild("Humanoid") then
  9085.            pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  9086.            local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  9087.            humanoid.Parent = game.ContextActionService
  9088.         if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else
  9089.         Notify('Disabled player(s)') end
  9090.         end end end)
  9091.  
  9092. addcmd('enable','gives player humanoid',{},
  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("Humanoid") then
  9098.             return
  9099.         else
  9100.             local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  9101.             humanoid.Parent = pchar
  9102.             humanoid.Name = "Humanoid"
  9103.             if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else
  9104.             Notify('Enabled player(s)') end
  9105.         end end end)
  9106.  
  9107. addcmd('size','changes size of player',{},
  9108. function(args, speaker)
  9109.     local players = getPlayer(args[1], speaker)
  9110.     for i,v in pairs(players)do
  9111.     local pchar = gPlayers[v].Character
  9112.         local function scale(chr,scl)
  9113.             for _,v in pairs(pchar:GetChildren()) do
  9114.                 if v:IsA("Accessory") then
  9115.                     v:Clone()
  9116.                     v.Parent = LightingService
  9117.                 end end
  9118.             local Head = chr['Head']
  9119.             local Torso = chr['Torso']
  9120.             local LA = chr['Left Arm']
  9121.             local RA = chr['Right Arm']
  9122.             local LL = chr['Left Leg']
  9123.             local RL = chr['Right Leg']
  9124.             local HRP = chr['HumanoidRootPart']
  9125.             wait(0.1)
  9126.             Head.formFactor = 3
  9127.             Torso.formFactor = 3
  9128.             LA.formFactor = 3
  9129.             RA.formFactor = 3
  9130.             LL.formFactor = 3
  9131.             RL.formFactor = 3
  9132.             HRP.formFactor = 3
  9133.             Head.Size = Vector3.new(scl * 2, scl, scl)
  9134.             Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  9135.             LA.Size = Vector3.new(scl, scl * 2, scl)
  9136.             RA.Size = Vector3.new(scl, scl * 2, scl)
  9137.             LL.Size = Vector3.new(scl, scl * 2, scl)
  9138.             RL.Size = Vector3.new(scl, scl * 2, scl)
  9139.             HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  9140.             local Motor1 = Instance.new('Motor6D', Torso)
  9141.             Motor1.Part0 = Torso
  9142.             Motor1.Part1 = Head
  9143.             Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  9144.             Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  9145.             Motor1.Name = "Neck"    
  9146.             local Motor2 = Instance.new('Motor6D', Torso)
  9147.             Motor2.Part0 = Torso
  9148.             Motor2.Part1 = LA
  9149.             Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9150.             Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9151.             Motor2.Name = "Left Shoulder"
  9152.             local Motor3 = Instance.new('Motor6D', Torso)
  9153.             Motor3.Part0 = Torso
  9154.             Motor3.Part1 = RA
  9155.             Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9156.             Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9157.             Motor3.Name = "Right Shoulder"
  9158.             local Motor4 = Instance.new('Motor6D', Torso)
  9159.             Motor4.Part0 = Torso
  9160.             Motor4.Part1 = LL
  9161.             Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9162.             Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9163.             Motor4.Name = "Left Hip"
  9164.             local Motor5 = Instance.new('Motor6D', Torso)
  9165.             Motor5.Part0 = Torso
  9166.             Motor5.Part1 = RL
  9167.             Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9168.             Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9169.             Motor5.Name = "Right Hip"
  9170.             local Motor6 = Instance.new('Motor6D', HRP)
  9171.             Motor6.Part0 = HRP
  9172.             Motor6.Part1 = Torso
  9173.             Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  9174.             Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end
  9175.         scale(pchar, args[2])
  9176.         for _,v in pairs(LightingService:GetChildren()) do
  9177.             if v:IsA("Accessory") then
  9178.                 v.Parent = pchar
  9179.             end end end end)
  9180.  
  9181. addcmd('clone','clones player',{},
  9182. function(args, speaker)
  9183.     local players = getPlayer(args[1], speaker)
  9184.     for i,v in pairs(players)do
  9185.         local pchar = gPlayers[v].Character
  9186.         spawn(function()
  9187.             pchar.Archivable = true
  9188.             local clone = pchar:Clone()
  9189.             clone.Parent = workspace
  9190.             local cloneV = Instance.new("BoolValue")
  9191.             cloneV.Name = "isclone"
  9192.             cloneV.Parent = clone
  9193.             clone:MoveTo(pchar:GetModelCFrame().p)
  9194.             clone:MakeJoints()
  9195.             pchar.Archivable = false
  9196.         end)
  9197.     end
  9198. end)
  9199.  
  9200. addcmd('noclones', 'clears clones',{},
  9201. function(args, speaker)
  9202.     local players = getPlayer(args[1], speaker)
  9203.     for i,v in pairs(players)do
  9204.     for _, child in pairs( workspace:GetChildren()) do
  9205.         if child.Name == gPlayers[v].Name and child:FindFirstChild('isclone') then
  9206.            child:Destroy()
  9207.       end
  9208.     end
  9209. end
  9210. end)
  9211.  
  9212. addcmd('spin','spins player',{},
  9213. function(args, speaker)
  9214.     local players = getPlayer(args[1], speaker)
  9215.     for i,v in pairs(players)do
  9216.         spawn(function()
  9217.         local pchar = gPlayers[v].Character
  9218.         for i,v in pairs(pchar.Torso:GetChildren()) do
  9219.             if v.Name == "Spinning" then
  9220.                 v:Destroy()
  9221.             end
  9222.         end
  9223.         local Torso = pchar.Torso
  9224.         local BG = Instance.new("BodyGyro", Torso)
  9225.         BG.Name = "Spinning"
  9226.         BG.maxTorque = Vector3.new(0, math.huge, 0)
  9227.         BG.P = 11111
  9228.         BG.cframe = Torso.CFrame
  9229.         repeat wait(1/44)
  9230.             BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  9231.         until not BG or BG.Parent ~= Torso
  9232.         end)
  9233.         end
  9234. end)
  9235.  
  9236. addcmd('unspin','stops spinning player',{},
  9237. function(args, speaker)
  9238.     local players = getPlayer(args[1], speaker)
  9239.     for i,v in pairs(players)do
  9240.         local pchar = gPlayers[v].Character
  9241.         for i,v in pairs(pchar.Torso:GetChildren()) do
  9242.             if v.Name == "Spinning" then
  9243.                 v:Destroy()
  9244.             end
  9245.         end
  9246.     end
  9247. end)
  9248.  
  9249. addcmd('dog','makes player a dog',{},
  9250. function(args, speaker)
  9251.     local players = getPlayer(args[1], speaker)
  9252.     for i,v in pairs(players)do
  9253.         local pchar = gPlayers[v].Character
  9254.         if pchar:FindFirstChild("Shirt") then
  9255.             pchar.Shirt:Destroy()
  9256.         end
  9257.         if pchar:FindFirstChild("Pants") then
  9258.             pchar.Pants:Destroy()
  9259.         end
  9260.         if pchar:FindFirstChild("Shirt Graphic") then
  9261.             pchar["Shirt Graphic"].Graphic = ""
  9262.         end
  9263.         pchar.Torso.Transparency = 1
  9264.         pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  9265.         pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  9266.         pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  9267.         pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  9268.         pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  9269.         local FakeTorso = Instance.new("Seat", pchar)
  9270.         FakeTorso.Name = "FakeTorso"
  9271.         FakeTorso.FormFactor = "Symmetric"
  9272.         FakeTorso.TopSurface = 0
  9273.         FakeTorso.BottomSurface = 0
  9274.         FakeTorso.Size = Vector3.new(3,1,4)
  9275.         FakeTorso.BrickColor = BrickColor.new("Brown")
  9276.         FakeTorso.CFrame = pchar.Torso.CFrame
  9277.         local BF = Instance.new("BodyForce", FakeTorso)
  9278.         BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  9279.         local W = Instance.new("Weld", pchar.Torso)
  9280.         W.Part0 = pchar.Torso
  9281.         W.Part1 = FakeTorso
  9282.         W.C0 = CFrame.new(0,-.5,0)
  9283.         local BC = pchar["Body Colors"]
  9284.         BC.HeadColor = BrickColor.new("Brown")
  9285.         BC.LeftArmColor = BrickColor.new("Brown")
  9286.         BC.LeftLegColor = BrickColor.new("Brown")
  9287.         BC.RightArmColor = BrickColor.new("Brown")
  9288.         BC.RightLegColor = BrickColor.new("Brown")
  9289.         BC.TorsoColor = BrickColor.new("Brown")
  9290.     end
  9291. end)
  9292.  
  9293. addcmd('undog','makes player back to normal',{},
  9294. function(args, speaker)
  9295.     local players = getPlayer(args[1], speaker)
  9296.     for i,v in pairs(players)do
  9297.         refresh(gPlayers[v])
  9298.     end
  9299. end)
  9300.  
  9301. addcmd('loopheal','loop heals player',{},
  9302. function(args, speaker)
  9303.     local players = getPlayer(args[1], speaker)
  9304.     for i,v in pairs(players)do
  9305.         spawn(function()
  9306.         local pchar = gPlayers[v].Character
  9307.         if pchar:FindFirstChild("LoopHeal") then
  9308.             pchar.LoopHeal.Name = "NotLoopHeal"
  9309.             wait(0.1)
  9310.             pchar.NotLoopHeal:Destroy()
  9311.         end
  9312.         local LoopHeal = Instance.new("StringValue", pchar)
  9313.         LoopHeal.Name = "LoopHeal"
  9314.         repeat wait(0.1)
  9315.             pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  9316.         until LoopHeal.Name == "NotLoopHeal"
  9317.         end)
  9318.         end
  9319. end)
  9320.  
  9321. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  9322. function(args, speaker)
  9323.     local players = getPlayer(args[1], speaker)
  9324.     for i,v in pairs(players)do
  9325.         local pchar = gPlayers[v].Character
  9326.         if pchar:FindFirstChild("LoopHeal") then
  9327.             pchar.LoopHeal.Name = "NotLoopHeal"
  9328.             wait(0.1)
  9329.             pchar.NotLoopHeal:Destroy()
  9330.         end
  9331.     end
  9332. end)
  9333.  
  9334. addcmd('fling','flings player',{},
  9335. function(args, speaker)
  9336.     local players = getPlayer(args[1], speaker)
  9337.     for i,v in pairs(players)do
  9338.         local pchar = gPlayers[v].Character
  9339.         if pchar:FindFirstChild("Humanoid") then
  9340.             local xran
  9341.             local zran
  9342.             repeat
  9343.                 xran = math.random(-9999,9999)
  9344.             until math.abs(xran) >= 5555
  9345.             repeat
  9346.                 zran = math.random(-9999,9999)
  9347.             until math.abs(zran) >= 5555
  9348.             pchar.Humanoid.Sit = true
  9349.             pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  9350.             local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
  9351.             BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  9352.         end
  9353.     end
  9354. end)
  9355.  
  9356. addcmd('skydive','self explanatory',{},
  9357. function(args, speaker)
  9358.     local players = getPlayer(args[1], speaker)
  9359.     for i,v in pairs(players)do
  9360.         local pchar = gPlayers[v].Character
  9361.         if pchar:FindFirstChild("HumanoidRootPart") then
  9362.         pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0)
  9363.         end
  9364.     end
  9365. end)
  9366.  
  9367. addcmd('bleach','drink bleach',{''},
  9368. function(args, speaker)
  9369.     local players = getPlayer(args[1], speaker)
  9370.     for i,v in pairs(players)do
  9371.     bleach(gPlayers[v])
  9372.     end
  9373. end)
  9374.  
  9375. addcmd('seizure','makes player have a seizure',{''},
  9376. function(args, speaker)
  9377.     local players = getPlayer(args[1], speaker)
  9378.     for i,v in pairs(players)do
  9379.         local pchar = gPlayers[v].Character
  9380.         if pchar:FindFirstChild("Seizure") then
  9381.            
  9382.         end
  9383.         local Seizure = Instance.new("StringValue", pchar)
  9384.         Seizure.Name = "Seizure"
  9385.         pchar.Humanoid.PlatformStand = true
  9386.         repeat wait()
  9387.             pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  9388.             pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  9389.         until Seizure.Name == "NotSeizure"
  9390.     end
  9391. end)
  9392.  
  9393. addcmd('fegod','gods you in fe games',{''},
  9394. function(args, speaker)
  9395.     if speaker.userId ~= LP.userId then
  9396.     lponly(speaker)
  9397.     else
  9398.         gPlayers.LocalPlayer.Character.Humanoid.Name = 1
  9399.         local l = gPlayers.LocalPlayer.Character["1"]:Clone()
  9400.         l.Parent = gPlayers.LocalPlayer.Character
  9401.         l.Name = "Humanoid"
  9402.         wait(0.1)
  9403.         gPlayers.LocalPlayer.Character["1"]:Destroy()
  9404.         workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  9405.         gPlayers.LocalPlayer.Character.Animate.Disabled = true
  9406.         wait(0.1)
  9407.         gPlayers.LocalPlayer.Character.Animate.Disabled = false
  9408.         gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  9409.     end
  9410. end)
  9411.  
  9412. addcmd('unseizure','makes player stop having a seizure',{''},
  9413. function(args, speaker)
  9414.     local players = getPlayer(args[1], speaker)
  9415.     for i,v in pairs(players)do
  9416.         local pchar = gPlayers[v].Character
  9417.         if pchar:FindFirstChild("Seizure") then
  9418.             pchar.Humanoid.PlatformStand = false
  9419.             pchar.Seizure.Name = "NotSeizure"
  9420.             wait(0.1)
  9421.             pchar.NotSeizure:Destroy()
  9422.         end
  9423.     end
  9424. end)
  9425.  
  9426. addcmd('m','makes a global message',{'message'},
  9427. function(args, speaker)
  9428.     local MSG = '['..speaker.Name..']: '..GLS(false, 0)
  9429.     local newMSG = '['..speaker.Name..']: '..GLS(false, 0)
  9430.     _G.msg(MSG)
  9431. end)
  9432.  
  9433. addcmd('sm','makes a global message',{'servermessage'},
  9434. function(args, speaker)
  9435.     local MSG = GLS(false, 0)
  9436.     local newMSG = GLS(false, 0)
  9437.     _G.msg(MSG)
  9438. end)
  9439.  
  9440. addcmd('fe','checks filtering status',{'filtering'},
  9441. function(args, speaker)
  9442. if workspace.FilteringEnabled == true then
  9443.     Notify('Filtering ENABLED')
  9444. elseif workspace.FilteringEnabled == false then
  9445.     Notify('Filtering Disabled')
  9446. end
  9447. end)
  9448.  
  9449. addcmd('paper','makes player thin as paper',{''},
  9450. function(args, speaker)
  9451.     local players = getPlayer(args[1], speaker)
  9452.     for i,v in pairs(players)do
  9453.         local pchar = gPlayers[v].Character
  9454.         for _, child in pairs( pchar:GetChildren()) do
  9455.         if child.ClassName == "CharacterMesh" then
  9456.         child:Destroy()
  9457.         end
  9458.         end
  9459.         local LA = DATA.Paper:Clone()
  9460.         LA.Parent = pchar["Left Arm"]
  9461.         local RA = DATA.Paper:Clone()
  9462.         RA.Parent = pchar["Right Arm"]
  9463.         local LL = DATA.Paper:Clone()
  9464.         LL.Parent = pchar["Left Leg"]
  9465.         local RL = DATA.Paper:Clone()
  9466.         RL.Parent = pchar["Right Leg"]
  9467.         local T = DATA.Paper:Clone()
  9468.         T.Parent = pchar.Torso
  9469.         local H = DATA.Paper:Clone()
  9470.         H.Parent = pchar.Head
  9471.         pchar.Head.face:Destroy()
  9472.     end
  9473. end)
  9474.  
  9475. addcmd('particles','gives a player particles',{''},
  9476. function(args, speaker)
  9477.     local players = getPlayer(args[1], speaker)
  9478.     for i,v in pairs(players)do
  9479.         local char = gPlayers[v].Character
  9480.         for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  9481.             if v:IsA('ParticleEmitter') then
  9482.                 v:destroy()
  9483.             end
  9484.         end
  9485.         local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
  9486.         prt.Texture = 'rbxassetid://' .. args[2]
  9487.         prt.Rate = 10
  9488.         prt.SpreadAngle = Vector2.new(50, 50)
  9489.     end
  9490. end)
  9491.  
  9492. addcmd('unparticles','gives a player particles',{'noparticles'},
  9493. function(args, speaker)
  9494.     local players = getPlayer(args[1], speaker)
  9495.     for i,v in pairs(players)do
  9496.         local char = gPlayers[v].Character
  9497.         for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  9498.             if v:IsA('ParticleEmitter') then
  9499.                 v:destroy()
  9500.             end
  9501.         end
  9502.     end
  9503. end)
  9504.  
  9505. blindT = {}
  9506. addcmd('blind','blinds a player',{},
  9507. function(args, speaker)
  9508.     local players = getPlayer(args[1], speaker)
  9509.     for i,v in pairs(players)do
  9510.         spawn(function()
  9511.         if FindTable(blindT, _players[v].Name) then return end
  9512.         local blind = gPlayers[v].Name
  9513. local victim = gPlayers:FindFirstChild(blind)
  9514. if victim ~= nil then
  9515. victim.CameraMaxZoomDistance = 0.5
  9516. blnd = Instance.new("Part",workspace)
  9517. blnd.Name = "Adminblind" .. gPlayers[v].Name
  9518. blnd.Size = Vector3.new(1,1,1)
  9519. blnd.CanCollide = false
  9520. blnd.BrickColor = BrickColor.new("Really black")
  9521. blnd.Material = "Neon"
  9522. local m = Instance.new("SpecialMesh",blnd)
  9523. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  9524. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  9525. local w = Instance.new("Weld",blnd)
  9526. w.Part0 = blnd
  9527. w.Part1 = victim.Character.Head
  9528. if FindTable(blindT, _players[v].Name) then return end
  9529.         table.insert(blindT, _players[v].Name)
  9530.         repeat if not workspace:FindFirstChild('Adminblind' .. gPlayers[v].Name) then
  9531. local blind = gPlayers[v].Name
  9532. local victim = gPlayers:FindFirstChild(blind)
  9533. if victim ~= nil then
  9534. victim.CameraMaxZoomDistance = 0.5
  9535. blnd = Instance.new("Part",workspace)
  9536. blnd.Name = "Adminblind" .. gPlayers[v].Name
  9537. blnd.Size = Vector3.new(1,1,1)
  9538. blnd.CanCollide = false
  9539. blnd.BrickColor = BrickColor.new("Really black")
  9540. blnd.Material = "Neon"
  9541. local m = Instance.new("SpecialMesh",blnd)
  9542. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  9543. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  9544. local w = Instance.new("Weld",blnd)
  9545. w.Part0 = blnd
  9546. w.Part1 = victim.Character.Head
  9547. end end wait(1)
  9548. until not FindTable(blindT, _players[v].Name)
  9549. end end) end end)
  9550.  
  9551. addcmd('unblind','blinds a player',{'noblind'},
  9552. function(args, speaker)
  9553.     local players = getPlayer(args[1], speaker)
  9554.     for i,v in pairs(players)do
  9555.         spawn(function()
  9556.         for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end
  9557.         local blind = gPlayers[v].Name
  9558. local victim = gPlayers:FindFirstChild(blind)
  9559. if victim ~= nil then
  9560. victim.CameraMaxZoomDistance = 400 wait(0.5)
  9561.     for _, child in pairs( workspace:GetChildren()) do
  9562.     if child.Name == "Adminblind" .. gPlayers[v].Name then
  9563.     child:Destroy()
  9564. end end end end) end end)
  9565.  
  9566. addcmd('punish','punishs player',{''},
  9567. function(args, speaker)
  9568.     local players = getPlayer(args[1], speaker)
  9569.     for i,v in pairs(players)do
  9570.         local pchar = gPlayers[v].Character
  9571.         pchar.Parent = LightingService
  9572.     end
  9573. end)
  9574.  
  9575. addcmd('unpunish','unpunishs player',{''},
  9576. function(args, speaker)
  9577.     local players = getPlayer(args[1], speaker)
  9578.     for i,v in pairs(players)do
  9579.         if LightingService:FindFirstChild("" .. gPlayers[v].Name) then
  9580.             LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace
  9581.         end
  9582.     end
  9583. end)
  9584.  
  9585. local starmanPlayers = {}
  9586. local starmanLastColor = nil
  9587. local starmanEvents = {}
  9588.  
  9589. addcmd("starman","Turns [plr] into starman",{},
  9590. function(args,speaker)
  9591.     local function starman(plr)
  9592.         local char = plr.Character
  9593.         local lastColor = ""
  9594.         local newColor = ""
  9595.    
  9596.         local powerupSound = Instance.new("Sound",char.HumanoidRootPart)
  9597.         powerupSound.Name = "PowerUp"
  9598.         powerupSound.Volume = 10
  9599.         powerupSound.SoundId = "rbxassetid://182755256"
  9600.         wait()
  9601.         powerupSound:Play()
  9602.    
  9603.         game:GetService("Debris"):AddItem(powerupSound,2)
  9604.  
  9605.         while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end
  9606.        
  9607.         local starmanMusic = Instance.new("Sound",char.HumanoidRootPart)
  9608.         starmanMusic.Name = "Starman"
  9609.         starmanMusic.Volume = 1
  9610.         starmanMusic.Looped = true
  9611.         starmanMusic.SoundId = "rbxassetid://530596723"
  9612.         wait()
  9613.         starmanMusic:Play()
  9614.  
  9615.         if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end
  9616.         if char:FindFirstChild("Pants") then char.Pants:Destroy() end
  9617.  
  9618.         char.Humanoid.WalkSpeed = 32
  9619.         char.Humanoid.MaxHealth = math.huge
  9620.         char.Humanoid.Health = math.huge
  9621.        
  9622.         local invisff = Instance.new("ForceField", char)
  9623.         invisff.Visible = false invisff.Name = 'smff'
  9624.  
  9625.         while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end
  9626.  
  9627.         local light = Instance.new("PointLight",char.HumanoidRootPart)
  9628.         light.Name = "StarmanFlash"
  9629.         light.Brightness = 100
  9630.         light.Range = 20
  9631.         light.Shadows = true
  9632.  
  9633.         local function stardestroy(part)
  9634.             if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then
  9635.                 for i,v in pairs(part.Parent:GetChildren()) do
  9636.                     if v:IsA("BasePart") then
  9637.                         local force = Instance.new("BodyForce",v)
  9638.                         force.Force = char.HumanoidRootPart.CFrame.lookVector * 50
  9639.                         v:BreakJoints()
  9640.                     end
  9641.                 end
  9642.            
  9643.                 local tadaas = {}
  9644.            
  9645.                 for i = 1,1 do
  9646.                     local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart)
  9647.                     tadaa.Volume = 10
  9648.                     tadaa.SoundId = "rbxassetid://551195499"
  9649.                     table.insert(tadaas,tadaa)
  9650.                 end
  9651.        
  9652.                 wait()
  9653.        
  9654.                 for i,v in pairs(tadaas) do
  9655.                     v:Play()
  9656.                 end
  9657.             end
  9658.         end
  9659.  
  9660.         local events = {}
  9661.         for i,v in pairs(char:GetChildren()) do
  9662.             if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end
  9663.         end
  9664.         if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end
  9665.         starmanEvents[plr.Name] = events
  9666.         starmanPlayers[plr.Name] = char
  9667.     end
  9668.    
  9669.     for _,plr in pairs(getPlayer(args[1], speaker)) do
  9670.         spawn(function()starman(gPlayers[plr])end)
  9671.     end
  9672. end)
  9673.  
  9674. addcmd("unstarman","Removes starman from [plr]",{},
  9675. function(args,speaker)
  9676.     for _,plr in pairs(getPlayer(args[1], speaker)) do
  9677.         pcall(function()
  9678.             if starmanPlayers[plr] then starmanPlayers[plr] = nil end
  9679.             if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end
  9680.             local char = gPlayers[plr].Character
  9681.             while char.HumanoidRootPart:FindFirstChild("Starman") do
  9682.                 char.HumanoidRootPart.Starman:Destroy()
  9683.             end
  9684.             while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do
  9685.                 char.HumanoidRootPart.StarmanFlash:Destroy()
  9686.             end
  9687.             while char.HumanoidRootPart:FindFirstChild("smff") do
  9688.                 char.HumanoidRootPart.smff:Destroy()
  9689.             end
  9690.         end)
  9691.     end
  9692. end)
  9693.  
  9694. local Timers = {}
  9695. function checkTimer(n,t,res)
  9696.     if not Timers[n] then Timers[n] = 0 end
  9697.    
  9698.     if tick() >= Timers[n] + t then
  9699.         if res then Timers[n] = tick() end
  9700.         return true
  9701.     else
  9702.         return false
  9703.     end
  9704. end
  9705.  
  9706. function nonEmpty(t)
  9707.     for i,v in pairs(t) do
  9708.         return true
  9709.     end
  9710.     return false
  9711. end
  9712.  
  9713. game:GetService("RunService").RenderStepped:Connect(function()
  9714.     if nonEmpty(starmanPlayers) then
  9715.         if checkTimer("Starman",0.05,true) then                
  9716.             for name,plrchar in pairs(starmanPlayers) do
  9717.                 ypcall(function()
  9718.                     local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"}
  9719.                     if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end
  9720.                        
  9721.                     local plr = gPlayers:FindFirstChild(name)
  9722.                        
  9723.                     if plr then
  9724.                         local char = plrchar
  9725.                         local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash")
  9726.                            
  9727.                         local meshMap = {}
  9728.  
  9729.                         for i,v in pairs(char:GetChildren()) do
  9730.                             if v:IsA("CharacterMesh") then
  9731.                                 if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end
  9732.                                 if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end
  9733.                                 if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end
  9734.                                 if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end
  9735.                                 if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end
  9736.                             end
  9737.                         end
  9738.  
  9739.                         if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end
  9740.                            
  9741.                         if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end
  9742.                         local newColor = BrickColor.new(colors[math.random(1,#colors)])
  9743.                         while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end
  9744.                         starmanLastColor = newColor
  9745.                         for i,v in pairs(char:GetChildren()) do
  9746.                             if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  9747.                                 v.BrickColor = newColor
  9748.                                 local fade = v:Clone()
  9749.                                 if meshMap[v.Name] then
  9750.                                     local newMesh = Instance.new("SpecialMesh",fade)
  9751.                                     newMesh.MeshId = meshMap[v.Name]
  9752.                                 end
  9753.                                 fade.Name = "StarFade"
  9754.                                 fade.Anchored = true
  9755.                                 fade.CanCollide = false
  9756.                                 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
  9757.                                 fade.Parent = workspace.Terrain
  9758.                                 game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play()
  9759.                                 game:GetService("Debris"):AddItem(fade,0.5)
  9760.                             end
  9761.                         end
  9762.                         light.Color = newColor.Color
  9763.                     end
  9764.                 end)
  9765.             end
  9766.         end
  9767.     end
  9768. end)
  9769.  
  9770. addcmd("tppos","Teleports a player to a coordinate",{},
  9771. function(args,speaker)
  9772.     if #args < 4 then return end
  9773.     local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  9774.     for _,plr in pairs(getPlayer(args[1], speaker)) do
  9775.         local char = gPlayers[plr].Character
  9776.         if char and char:FindFirstChild("HumanoidRootPart") then
  9777.             char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
  9778.         end
  9779.     end
  9780. end)
  9781.  
  9782. addcmd("offset","Offsets a player by a coordinate",{},
  9783. function(args,speaker)
  9784.     if #args < 4 then return end
  9785.     local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  9786.     for _,plr in pairs(getPlayer(args[1], speaker)) do
  9787.         local char = gPlayers[plr].Character
  9788.         if char and char:FindFirstChild("HumanoidRootPart") then
  9789.             char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
  9790.         end
  9791.     end
  9792. end)
  9793.  
  9794. addcmd('bait',';)',{'troll'},
  9795. function(args, speaker)
  9796. spawn(function()
  9797. local M = Instance.new('Model', workspace) M.Name = 'Adminbait'
  9798. 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)
  9799. y = Instance.new("BillboardGui")
  9800. y.Size = UDim2.new(0,100,0,150)
  9801. y.StudsOffset = Vector3.new(0,1,0)
  9802. y.Parent = P
  9803. y.Adornee = P
  9804. f = Instance.new("TextLabel")
  9805. f.Parent = y
  9806. f.BackgroundTransparency = 1
  9807. f.Position = UDim2.new(0,0,0,-50)
  9808. f.Size = UDim2.new(0,100,0,100)
  9809. f.Font = "Highway"
  9810. f.FontSize = "Size48"
  9811. f.Text = "Touch for admin!"
  9812. f.TextStrokeColor3 = Color3.new(0,0,0)
  9813. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  9814. f.TextStrokeTransparency = 0
  9815. f.TextYAlignment = "Bottom"
  9816. 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)
  9817.     end)
  9818. end)
  9819.  
  9820. addcmd('removebait','clears bait parts',{'nobait'},
  9821. function(args, speaker)
  9822.     local function dels(instance)
  9823.         for i,v in pairs(instance:GetChildren())do
  9824.             if v.name == "Adminbait"then v:Destroy()end
  9825.             dels(v)
  9826.         end
  9827.     end
  9828.     dels(workspace)
  9829. end)
  9830.  
  9831. function CreateInstance(cls,props)
  9832.     local inst = Instance.new(cls)
  9833.     for i,v in pairs(props) do
  9834.         inst[i] = v
  9835.     end
  9836.     return inst end
  9837. local function createSoundFrame()
  9838.     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)
  9839.     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
  9840.     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)
  9841.     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})
  9842.     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})
  9843.     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)
  9844.     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)
  9845.     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})
  9846.     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
  9847.     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
  9848.     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)
  9849.     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})
  9850.     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})
  9851.     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)
  9852.     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})
  9853.     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})
  9854.     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
  9855.     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)
  9856.     return soundFrame end
  9857. local soundFrame = createSoundFrame()
  9858. soundFrame.Visible = true
  9859. local MusicPlayer do
  9860.     MusicPlayer = {}
  9861.     local playlist = {}
  9862.     local currentSong = 1
  9863.     local playlistHook = nil
  9864.     --local soundFrame = script.Parent:WaitForChild("Sound")
  9865.     local soundLine = soundFrame:WaitForChild("Pos")
  9866.     local soundTouch = soundLine:WaitForChild("Touch")
  9867.     local soundPlayStop = soundFrame:WaitForChild("PlayStop")
  9868.     local soundPause = soundFrame:WaitForChild("Pause")
  9869.     local soundNext = soundFrame:WaitForChild("NextSong")
  9870.     local soundPrev = soundFrame:WaitForChild("PrevSong")
  9871.     local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
  9872.     local mouseDrag = false
  9873.     local mouse = gPlayers.LocalPlayer:GetMouse()
  9874.     local lineBar = soundFrame:WaitForChild("Pos")
  9875.     adminSound = Instance.new("Sound",nil)
  9876.     local function timeConvert(num)
  9877.         local mins = math.floor(num/60)
  9878.         local secs = math.floor(num % 60)
  9879.         return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
  9880.     end
  9881.     local function updateSongLine()
  9882.         local linePos = mouse.X - soundLine.AbsolutePosition.X
  9883.         if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
  9884.             local movePos = linePos/soundLine.AbsoluteSize.X
  9885.             soundTouch.Position = UDim2.new(movePos,0,0,0)
  9886.         elseif linePos < 0 then
  9887.             soundTouch.Position = UDim2.new(0,0,0,0)
  9888.         else
  9889.             soundTouch.Position = UDim2.new(1,0,0,0)
  9890.         end
  9891.         local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
  9892.         adminSound.TimePosition = newTimePos
  9893.         soundFrame.TimeStart.Text = timeConvert(newTimePos)
  9894.         soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  9895.     end
  9896.     local function updateDetails(id)
  9897.         local info = game:GetService("MarketplaceService"):GetProductInfo(id)
  9898.         soundFrame.SName.Text = info.Name
  9899.     end
  9900.     local function setPlaylistHook()
  9901.         if playlistHook then playlistHook:Disconnect() playlistHook = nil end
  9902.         if #playlist == 0 then return end
  9903.         playlistHook = adminSound.DidLoop:connect(function()
  9904.             if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  9905.             soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9906.             MusicPlayer:Play(playlist[currentSong],true)
  9907.         end)
  9908.     end
  9909.     local function disconnectPlaylistHook()
  9910.         if playlistHook then playlistHook:disconnect() playlistHook = nil end
  9911.     end
  9912.     game:GetService("RunService").RenderStepped:Connect(function()
  9913.         if adminSound.Playing then
  9914.             soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
  9915.             soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
  9916.             soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  9917.         end
  9918.     end)
  9919.     lineBar.InputBegan:connect(function(input)
  9920.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  9921.             mouseDrag = true
  9922.             updateSongLine()
  9923.         end
  9924.     end)
  9925.     lineBar.InputEnded:connect(function(input)
  9926.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  9927.             mouseDrag = false
  9928.         end
  9929.     end)
  9930.     mouse.Move:connect(function(prop)
  9931.         if mouseDrag then
  9932.             updateSongLine()
  9933.         end
  9934.     end)
  9935.     function MusicPlayer:Play(id,plist)
  9936.         if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
  9937.         adminSound:Stop()
  9938.         if adminSound.Parent == nil then
  9939.             adminSound = Instance.new("Sound",workspace)
  9940.             adminSound.Name = "Adminsound"
  9941.             adminSound.Looped = true
  9942.             if plist then setPlaylistHook() end
  9943.         end
  9944.         adminSound.SoundId = "rbxassetid://"..tostring(id)
  9945.         adminSound.TimePosition = 0
  9946.         --repeat wait() until adminSound.IsLoaded
  9947.         adminSound:Play()
  9948.         soundPlayStop.BackgroundTransparency = 0
  9949.         soundPlayStop.ImageTransparency = 1
  9950.         updateDetails(id)
  9951.     end
  9952.     function MusicPlayer:Playlist(list)
  9953.         playlist = list
  9954.         soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
  9955.         currentSong = 1
  9956.         if adminSound.Parent == nil then
  9957.             adminSound = Instance.new("Sound",workspace)
  9958.             adminSound.Name = "Adminsound"
  9959.             adminSound.Looped = true
  9960.         end
  9961.         soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
  9962.         MusicPlayer:Play(playlist[1],true)
  9963.         setPlaylistHook()
  9964.     end
  9965.     function MusicPlayer:Stop()
  9966.         adminSound:Stop()
  9967.         adminSound.TimePosition = 0
  9968.         soundTouch.Position = UDim2.new(0,0,0,0)
  9969.         soundFrame.TimeStart.Text = "0:00"
  9970.         soundPlayStop.BackgroundTransparency = 1
  9971.         soundPlayStop.ImageTransparency = 0
  9972.     end
  9973.     function MusicPlayer:Pause()
  9974.         adminSound:Pause()
  9975.         soundPlayStop.BackgroundTransparency = 1
  9976.         soundPlayStop.ImageTransparency = 0
  9977.     end
  9978.     function MusicPlayer:Resume()
  9979.         adminSound:Resume()
  9980.         soundPlayStop.BackgroundTransparency = 0
  9981.         soundPlayStop.ImageTransparency = 1
  9982.         setPlaylistHook()
  9983.     end
  9984.     function MusicPlayer:NextSong()
  9985.         if #playlist == 0 then return end
  9986.         if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  9987.         soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9988.         MusicPlayer:Play(playlist[currentSong],true)
  9989.     end
  9990.     function MusicPlayer:PrevSong()
  9991.         if #playlist == 0 then return end
  9992.         if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
  9993.         soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9994.         MusicPlayer:Play(playlist[currentSong],true)
  9995.     end
  9996.     function MusicPlayer:SetSong(ind)
  9997.         if ind > #playlist or ind <= 0 then return end
  9998.         soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
  9999.         MusicPlayer:Play(playlist[ind],true)
  10000.     end
  10001.     playerenabled = false
  10002.     function MusicPlayer:Show()
  10003.         soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  10004.     end
  10005.     function MusicPlayer:Hide()
  10006.         soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  10007.     end
  10008.     function colorFrames(obj,col)
  10009.         for i,v in pairs(obj:GetChildren()) do
  10010.             if v:IsA("ImageLabel") then
  10011.                 v.ImageColor3 = col
  10012.             end
  10013.             v.BackgroundColor3 = col
  10014.         end
  10015.     end
  10016.     for i,v in pairs(soundButtons) do
  10017.         v.MouseEnter:connect(function()
  10018.             if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
  10019.             if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
  10020.             v.BackgroundColor3 = Color3.new(1,1,1)
  10021.             colorFrames(v,Color3.new(1,1,1))
  10022.         end)
  10023.         v.MouseLeave:connect(function()
  10024.             if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
  10025.             if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
  10026.             v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
  10027.             colorFrames(v,Color3.new(230/255, 230/255, 230/255))
  10028.         end)
  10029.     end
  10030.     soundPlayStop.MouseButton1Click:connect(function()
  10031.         if adminSound.Playing then
  10032.             MusicPlayer:Stop()
  10033.         else
  10034.             MusicPlayer:Resume()
  10035.         end
  10036.     end)   
  10037.     soundPause.MouseButton1Click:connect(function()
  10038.         MusicPlayer:Pause()
  10039.     end)   
  10040.     soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
  10041.     soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
  10042. end
  10043. local testgui = Instance.new("ScreenGui",game.CoreGui)
  10044. soundFrame.Parent = testgui
  10045. addcmd('playlist','makes a noice playlist',{'ids','player'},
  10046. function(args, speaker)
  10047. playerenabled = true
  10048.     if #args > 0 then
  10049.     for i,v in pairs(game:GetDescendants()) do
  10050.     if v:IsA'Sound'then v:Destroy() end end wait(0.1)
  10051.         if adminSound.Parent == nil then
  10052.             adminSound = Instance.new("Sound",workspace)
  10053.             adminSound.Name = "Adminsound"
  10054.             adminSound.Looped = true
  10055.         end
  10056.         local idlist = splitString(args[1])
  10057.         local workingIds = {}
  10058.         for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
  10059.         if #workingIds > 0 then
  10060.             playerenabled = true
  10061.             NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  10062.             MusicPlayer:Playlist(workingIds)
  10063.             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)
  10064.             quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10065.             quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10066.             quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10067.             quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end
  10068.         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)
  10069.             quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10070.             quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true
  10071.             quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10072.             quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end)
  10073. addcmd('setsong','goto a song',{'tosong'},
  10074. function(args, speaker)
  10075. MusicPlayer:SetSong(tonumber(args[1]))
  10076. end)
  10077. addcmd('nextsong','forward a song',{'nxtsong'},
  10078. function(args, speaker)
  10079. MusicPlayer:NextSong()
  10080. end)
  10081. addcmd('prevsong','back a song',{'previoussong'},
  10082. function(args, speaker)
  10083. MusicPlayer:PrevSong()
  10084. end)
  10085. addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'},
  10086. function(args, speaker)
  10087. playerenabled = false
  10088. MusicPlayer:Hide()
  10089. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  10090. end)
  10091.  
  10092. addcmd('playhash', 'plays a hash instead of soundid',{'hash'},
  10093. function(args, speaker)
  10094.     for i,v in pairs(game:GetDescendants()) do
  10095.     if v:IsA'Sound'then v:Destroy() end end
  10096.     local c = args[1] or 'stop'
  10097.     if std.inTable({'stop'}, c:lower()) then return end
  10098.     local s = Instance.new("Sound", workspace)
  10099.     s.Name = "Adminsound"
  10100.     s.Looped = true
  10101.     s.SoundId = c
  10102.     s.Volume = 1
  10103.     s:Play()
  10104.     playerenabled = false
  10105.     Notify('Playing hash')
  10106.  end)
  10107.  
  10108. addcmd('disco','disco party',{''},
  10109. function(args, speaker)
  10110.     _G.nodisco = nil
  10111.     coroutine.resume(coroutine.create(function()
  10112. repeat
  10113.     game:GetService('Lighting').GlobalShadows = true
  10114.     game:GetService('Lighting').FogEnd = 200
  10115. game:GetService('Lighting').TimeOfDay = 0
  10116. local r = 255
  10117. local g = 0
  10118. local b = 0
  10119. for i = 0,255,5 do
  10120.     if _G.nodisco ~=nil then return end
  10121.     r = r - 5
  10122.     b = b + 5
  10123.     game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  10124.     game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  10125.     game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  10126.     wait()
  10127. end
  10128. for i = 0,255,5 do
  10129.     if _G.nodisco ~=nil then return end
  10130.     g = g + 5
  10131.     game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  10132.     game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  10133.     game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  10134.     wait()
  10135. end
  10136. for i = 0,255,5 do
  10137.     if _G.nodisco ~=nil then return end
  10138.     b = b - 5
  10139.     game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  10140.     game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  10141.     game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  10142.     wait()
  10143. end
  10144. for i = 0,255,5 do
  10145.     if _G.nodisco ~=nil then return end
  10146.     r = r + 5
  10147.     game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  10148.     game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  10149.     game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  10150.     wait()
  10151. end
  10152. for i = 0,255,5 do
  10153.     if _G.nodisco ~=nil then return end
  10154.     g = g - 5
  10155.     game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  10156.     game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  10157.     game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  10158.     wait()
  10159. end
  10160. until _G.nodisco
  10161. end))
  10162. end)
  10163.  
  10164. addcmd('undisco','rip disco party',{''},
  10165. function(args, speaker)
  10166. _G.nodisco = true
  10167. execCmd('fixl')
  10168. end)
  10169.  
  10170. addcmd('hat','give a hat to a player',{''},
  10171. function(args, speaker)
  10172. local players = getPlayer(args[1], speaker)
  10173. for i,v in pairs(players)do
  10174. local char = gPlayers[v].Character
  10175. local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2])
  10176. Hat.Parent = char
  10177. end end)
  10178.  
  10179. fm = Instance.new('BlockMesh', DATA)
  10180. fm.Scale = Vector3.new(1, 1, 2)
  10181. fm.Name = "FAT"
  10182. addcmd('fat','makes a plr fat',{''},
  10183. function(args, speaker)
  10184. local players = getPlayer(args[1], speaker)
  10185. for i,v in pairs(players)do
  10186. local char = gPlayers[v].Character
  10187. for _, child in pairs( char:GetChildren()) do
  10188. if child.ClassName == "CharacterMesh" then
  10189. child:Destroy() end end
  10190. for i,v in pairs(char:GetChildren()) do
  10191. if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
  10192. fm:Clone().Parent = v
  10193. end end end end)
  10194.  
  10195. addcmd('crucify','crucifies a player',{'cruci'},
  10196. function(args, speaker)
  10197. local players = getPlayer(args[1], speaker)
  10198. for i,v in pairs(players)do
  10199. local char = gPlayers[v].Character
  10200.         local torso=char['Torso']
  10201.         local larm=char['Left Arm']
  10202.         local rarm=char['Right Arm']
  10203.         local lleg=char['Left Leg']
  10204.         local rleg=char['Right Leg']
  10205.         local head=char['Head']
  10206.         if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then
  10207.             local cru=Instance.new('Model',char)
  10208.             cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;)
  10209.             local c1=Instance.new('Part',cru)
  10210.             c1.BrickColor=BrickColor.new('Reddish brown')
  10211.             c1.Material='Wood'
  10212.             c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
  10213.             c1.Size=Vector3.new(2,18.4,1)
  10214.             c1.Anchored=true
  10215.             local c2=c1:Clone()
  10216.             c2.Parent=cru
  10217.             c2.Size=Vector3.new(11,1.6,1)
  10218.             c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
  10219.             torso.Anchored=true;wait(0.5)
  10220.             torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5)
  10221.             larm.Anchored=true
  10222.             rarm.Anchored=true
  10223.             lleg.Anchored=true
  10224.             rleg.Anchored=true
  10225.             head.Anchored=true;wait()
  10226.             larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
  10227.             rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
  10228.             lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
  10229.             rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
  10230.             larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
  10231.             rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
  10232.             lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
  10233.             rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
  10234.             --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
  10235.             local n1=Instance.new('Part',cru)
  10236.             n1.BrickColor=BrickColor.new('Dark stone grey')
  10237.             n1.Material='DiamondPlate'
  10238.             n1.Size=Vector3.new(0.2,0.2,2)
  10239.             n1.Anchored=true
  10240.             local m=Instance.new('BlockMesh',n1)
  10241.             m.Scale=Vector3.new(0.2,0.2,0.7)
  10242.             local n2=n1:Clone()
  10243.             n2.Parent=cru
  10244.             local n3=n1:Clone()
  10245.             n3.Parent=cru
  10246.             n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
  10247.             n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
  10248.             n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
  10249.             spawn(function()
  10250.                 repeat
  10251.                     wait(0.1)
  10252.                     char.Humanoid.Health=char.Humanoid.Health-0.6
  10253.                 until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0
  10254.                 char:BreakJoints()
  10255.             end)
  10256.         end
  10257.     end
  10258. end)
  10259.  
  10260. addcmd('hang','hangs a player',{},
  10261. function(args, speaker)
  10262. local players = getPlayer(args[1], speaker)
  10263. for i,v in pairs(players)do
  10264. local plr = gPlayers[v].Character
  10265. plr.HumanoidRootPart.Anchored = true
  10266. function sandbox(var,func)
  10267.     local env = getfenv(func)
  10268.     local newenv = setmetatable({},{
  10269.         __index = function(self,k)
  10270.             if k=="script" then
  10271.                 return var
  10272.             else
  10273.                 return env[k]
  10274.             end
  10275.         end,
  10276.     })
  10277.     setfenv(func,newenv)
  10278.     return func
  10279. end
  10280. cors = {}
  10281. mas = Instance.new("Model",game:GetService("Lighting"))
  10282. local Model0 = Instance.new("Model")
  10283. local Part1 = Instance.new("Part")
  10284. local Part2 = Instance.new("Part")
  10285. local Part3 = Instance.new("Part")
  10286. local Part4 = Instance.new("Part")
  10287. local Part5 = Instance.new("Part")
  10288. local Motor6D6 = Instance.new("Motor6D")
  10289. local Part7 = Instance.new("Part")
  10290. local Part8 = Instance.new("Part")
  10291. local Part9 = Instance.new("Part")
  10292. local Part10 = Instance.new("Part")
  10293. local Part11 = Instance.new("Part")
  10294. local Part12 = Instance.new("Part")
  10295. local Part13 = Instance.new("Part")
  10296. local Part14 = Instance.new("Part")
  10297. local Part15 = Instance.new("Part")
  10298. Model0.Name = "hang"
  10299. Model0.Parent = mas
  10300. Part1.Parent = Model0
  10301. Part1.Material = Enum.Material.SmoothPlastic
  10302. Part1.BrickColor = BrickColor.new("Reddish brown")
  10303. Part1.Anchored = true
  10304. Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024)
  10305. Part1.CFrame = CFrame.new(1.539994, 9.29992199, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10306. Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10307. Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10308. Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10309. Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10310. Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10311. Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10312. Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10313. Part1.Position = Vector3.new(1.539994, 9.29992199, 12.6999884)
  10314. Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10315. Part2.Parent = Model0
  10316. Part2.Material = Enum.Material.Wood
  10317. Part2.BrickColor = BrickColor.new("Pine Cone")
  10318. Part2.Anchored = true
  10319. Part2.Size = Vector3.new(0.49999997, 0.200000003, 0.200000003)
  10320. Part2.CFrame = CFrame.new(1.44999003, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10321. Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10322. Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10323. Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10324. Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10325. Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10326. Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10327. Part2.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10328. Part2.Position = Vector3.new(1.44999003, 9.09992599, 12.6999884)
  10329. Part2.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10330. Part3.Parent = Model0
  10331. Part3.Material = Enum.Material.Wood
  10332. Part3.BrickColor = BrickColor.new("Pine Cone")
  10333. Part3.Anchored = true
  10334. Part3.Size = Vector3.new(1, 9.39999962, 0.599999964)
  10335. Part3.CFrame = CFrame.new(-0.100001998, 4.70001078, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10336. Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10337. Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10338. Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10339. Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10340. Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10341. Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10342. Part3.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10343. Part3.Position = Vector3.new(-0.100001998, 4.70001078, 12.6999884)
  10344. Part3.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10345. Part4.Parent = Model0
  10346. Part4.Material = Enum.Material.Wood
  10347. Part4.BrickColor = BrickColor.new("Pine Cone")
  10348. Part4.Anchored = true
  10349. Part4.Size = Vector3.new(1, 0.599999845, 0.599999964)
  10350. Part4.CFrame = CFrame.new(0.899998009, 9.09995365, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10351. Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10352. Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10353. Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10354. Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10355. Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10356. Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10357. Part4.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10358. Part4.Position = Vector3.new(0.899998009, 9.09995365, 12.6999884)
  10359. Part4.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10360. Part5.Name = "main"
  10361. Part5.Parent = Model0
  10362. Part5.BrickColor = BrickColor.new("Bright blue")
  10363. Part5.Transparency = 1
  10364. Part5.Rotation = Vector3.new(0, -90, 0)
  10365. Part5.Anchored = true
  10366. Part5.CanCollide = false
  10367. Part5.FormFactor = Enum.FormFactor.Symmetric
  10368. Part5.Size = Vector3.new(2, 2, 1)
  10369. Part5.CFrame = CFrame.new(1.98998594, 6.33001804, 12.7000237, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10370. Part5.BottomSurface = Enum.SurfaceType.Smooth
  10371. Part5.TopSurface = Enum.SurfaceType.Smooth
  10372. Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  10373. Part5.Position = Vector3.new(1.98998594, 6.33001804, 12.7000237)
  10374. Part5.Orientation = Vector3.new(0, -90, 0)
  10375. Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  10376. Motor6D6.Name = "RootJoint"
  10377. Motor6D6.Parent = Part5
  10378. Motor6D6.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  10379. Motor6D6.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  10380. Motor6D6.Part0 = Part5
  10381. Motor6D6.MaxVelocity = 0.10000000149012
  10382. Part7.Parent = Model0
  10383. Part7.Material = Enum.Material.SmoothPlastic
  10384. Part7.BrickColor = BrickColor.new("Reddish brown")
  10385. Part7.Rotation = Vector3.new(90, 75, -180)
  10386. Part7.Anchored = true
  10387. Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  10388. Part7.CFrame = CFrame.new(2.02295995, 7.37058878, 12.1000061, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
  10389. Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10390. Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10391. Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10392. Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10393. Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10394. Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10395. Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10396. Part7.Position = Vector3.new(2.02295995, 7.37058878, 12.1000061)
  10397. Part7.Orientation = Vector3.new(15, 90, -90)
  10398. Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10399. Part8.Parent = Model0
  10400. Part8.Material = Enum.Material.Wood
  10401. Part8.BrickColor = BrickColor.new("Pine Cone")
  10402. Part8.Anchored = true
  10403. Part8.Size = Vector3.new(0.200000003, 0.599999785, 0.599999964)
  10404. Part8.CFrame = CFrame.new(1.77999604, 9.09992599, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10405. Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10406. Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10407. Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10408. Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10409. Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10410. Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10411. Part8.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10412. Part8.Position = Vector3.new(1.77999604, 9.09992599, 12.6999884)
  10413. Part8.Color = Color3.new(0.423529, 0.345098, 0.294118)
  10414. Part9.Parent = Model0
  10415. Part9.Material = Enum.Material.SmoothPlastic
  10416. Part9.BrickColor = BrickColor.new("Reddish brown")
  10417. Part9.Rotation = Vector3.new(90, 75, -180)
  10418. Part9.Anchored = true
  10419. Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  10420. Part9.CFrame = CFrame.new(2.02295995, 7.37058878, 13.299984, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
  10421. Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10422. Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10423. Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10424. Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10425. Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10426. Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10427. Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10428. Part9.Position = Vector3.new(2.02295995, 7.37058878, 13.299984)
  10429. Part9.Orientation = Vector3.new(15, 90, -90)
  10430. Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10431. Part10.Parent = Model0
  10432. Part10.Material = Enum.Material.SmoothPlastic
  10433. Part10.BrickColor = BrickColor.new("Reddish brown")
  10434. Part10.Anchored = true
  10435. Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  10436. Part10.CFrame = CFrame.new(1.539994, 9.09992599, 12.8999901, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10437. Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10438. Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10439. Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10440. Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10441. Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10442. Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10443. Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10444. Part10.Position = Vector3.new(1.539994, 9.09992599, 12.8999901)
  10445. Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10446. Part11.Parent = Model0
  10447. Part11.Material = Enum.Material.SmoothPlastic
  10448. Part11.BrickColor = BrickColor.new("Reddish brown")
  10449. Part11.Anchored = true
  10450. Part11.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003)
  10451. Part11.CFrame = CFrame.new(1.539994, 8.09998417, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10452. Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10453. Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10454. Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10455. Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10456. Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10457. Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10458. Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10459. Part11.Position = Vector3.new(1.539994, 8.09998417, 12.6999884)
  10460. Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10461. Part12.Parent = Model0
  10462. Part12.Material = Enum.Material.SmoothPlastic
  10463. Part12.BrickColor = BrickColor.new("Reddish brown")
  10464. Part12.Rotation = Vector3.new(90, 75, -180)
  10465. Part12.Anchored = true
  10466. Part12.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003)
  10467. Part12.CFrame = CFrame.new(2.50592208, 7.24118423, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
  10468. Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10469. Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10470. Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10471. Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10472. Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10473. Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10474. Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10475. Part12.Position = Vector3.new(2.50592208, 7.24118423, 12.6999884)
  10476. Part12.Orientation = Vector3.new(15, 90, -90)
  10477. Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10478. Part13.Parent = Model0
  10479. Part13.Material = Enum.Material.SmoothPlastic
  10480. Part13.BrickColor = BrickColor.new("Reddish brown")
  10481. Part13.Anchored = true
  10482. Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  10483. Part13.CFrame = CFrame.new(1.539994, 9.09992599, 12.4999962, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10484. Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10485. Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10486. Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10487. Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10488. Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10489. Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10490. Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10491. Part13.Position = Vector3.new(1.539994, 9.09992599, 12.4999962)
  10492. Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10493. Part14.Parent = Model0
  10494. Part14.Material = Enum.Material.SmoothPlastic
  10495. Part14.BrickColor = BrickColor.new("Reddish brown")
  10496. Part14.Rotation = Vector3.new(90, 75, -180)
  10497. Part14.Anchored = true
  10498. Part14.Size = Vector3.new(0.200000003, 1.4000001, 0.200000003)
  10499. Part14.CFrame = CFrame.new(1.539994, 7.49999714, 12.6999884, -0.258818984, 0, 0.965925872, -0.965925872, 0, -0.258818984, 0, -1, 0)
  10500. Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10501. Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10502. Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10503. Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10504. Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10505. Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10506. Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10507. Part14.Position = Vector3.new(1.539994, 7.49999714, 12.6999884)
  10508. Part14.Orientation = Vector3.new(15, 90, -90)
  10509. Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10510. Part15.Parent = Model0
  10511. Part15.Material = Enum.Material.SmoothPlastic
  10512. Part15.BrickColor = BrickColor.new("Reddish brown")
  10513. Part15.Anchored = true
  10514. Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024)
  10515. Part15.CFrame = CFrame.new(1.539994, 8.89993, 12.6999884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10516. Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  10517. Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  10518. Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  10519. Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  10520. Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  10521. Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  10522. Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10523. Part15.Position = Vector3.new(1.539994, 8.89993, 12.6999884)
  10524. Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
  10525. for i,v in pairs(mas:GetChildren()) do
  10526.     v.Parent = workspace
  10527.     pcall(function() v:MakeJoints() end)
  10528. end
  10529. mas:Destroy()
  10530. for i,v in pairs(cors) do
  10531.     spawn(function()
  10532.         pcall(v)
  10533.     end)
  10534. end
  10535.             hang = Model0
  10536.             hang.Parent = plr
  10537.             hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5))
  10538.             pcall(function()
  10539.             plr.HumanoidRootPart.CFrame = hang.main.CFrame
  10540.             function weld(p, cf)
  10541.             local weld1 = Instance.new("Weld")
  10542.             weld1.Part0 = p
  10543.             weld1.Part1 = plr.Torso
  10544.             weld1.C0 = CFrame.new()
  10545.             weld1.C1 = cf
  10546.             weld1.Parent = p
  10547.             end
  10548.             weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4))
  10549.             weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4))
  10550.             spawn(function()
  10551.                 repeat
  10552.                     wait(0.1)
  10553.                     plr.Humanoid.Health=plr.Humanoid.Health-0.6
  10554.                 until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0
  10555.                 plr:BreakJoints()
  10556.             end)
  10557.             end)
  10558.         end
  10559. end)
  10560.  
  10561. addcmd('fix', 'restores lighting and what not',{},
  10562. function(args, speaker)
  10563. LightingService.Ambient = origsettings.abt
  10564. LightingService.OutdoorAmbient = origsettings.oabt
  10565. LightingService.Brightness = origsettings.brt
  10566. LightingService.TimeOfDay = origsettings.time
  10567. LightingService.FogColor = origsettings.fclr
  10568. LightingService.FogEnd = origsettings.fe
  10569. LightingService.FogStart = origsettings.fs
  10570. playinggif = false
  10571. workspace.Gravity = 200
  10572. 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)
  10573. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
  10574.     for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  10575.     if v:IsA("PostEffect") then v:Destroy() end end
  10576. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end)
  10577.  
  10578. Floating = false
  10579.  
  10580. addcmd('float', 'makes player float',{},
  10581. function(args,speaker)
  10582.     Floating = true
  10583.     local players = getPlayer(args[1], speaker)
  10584.     for _,v in pairs(players) do
  10585.         local pchar = gPlayers[v].Character
  10586.         if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  10587.             spawn(function()
  10588.                 local float = DATA.Float:Clone()
  10589.                 float.Parent = pchar
  10590.                 float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  10591.                 spawn(function()
  10592.                     while wait(0.1) do
  10593.                         if pchar:FindFirstChild("Float") then
  10594.                             float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  10595.                         else
  10596.                             break
  10597.                         end
  10598.                     end
  10599.                 end)
  10600.             end)
  10601.         end
  10602.     end
  10603. end)
  10604.  
  10605. addcmd('unfloat','disables floating',{},
  10606. function(args, speaker)
  10607.     Floating = false
  10608.     local players = getPlayer(args[1], speaker)
  10609.     for i,v in pairs(players)do
  10610.         local pchar = gPlayers[v].Character
  10611.         if pchar:FindFirstChild("Float") then
  10612.             pchar.Float:Destroy()
  10613.         end
  10614.     end
  10615. end)
  10616.  
  10617. runningnoclip = false
  10618. Clip = true
  10619. addcmd('noclip','noclip',{},
  10620. function(args, speaker)
  10621. if speaker.userId ~= LP.userId then
  10622. lponly(speaker)
  10623. else
  10624. Notify('Noclip enabled')
  10625. Clip = false
  10626. if LP.Character:FindFirstChild('Torso') then
  10627.     wait(0.1)
  10628.     if runningnoclip == false then runningnoclip = true
  10629.     game:GetService('RunService').Stepped:connect(function ()
  10630.     if Clip == false and LP.Character ~= nil then
  10631.     for _, child in pairs( LP.Character:GetDescendants()) do
  10632.     if child.ClassName == 'Part' and child.CanCollide == true then
  10633.     child.CanCollide = false
  10634.     end end end end) end
  10635. else
  10636.     r15noclip = true
  10637. end
  10638. end
  10639. end)
  10640.  
  10641. addcmd('clip','clip',{},
  10642. function(args, speaker)
  10643. if speaker.userId ~= LP.userId then
  10644. lponly(speaker)
  10645. else
  10646.     Notify('Noclip disabled')
  10647.     Clip = true
  10648.     r15noclip = false
  10649.     wait(0.1)
  10650.     if LP.Character ~= nil then
  10651.     LP.Character.Torso.CanCollide = true
  10652.     LP.Character.Head.CanCollide = true
  10653. end end end)
  10654.  
  10655. addcmd('prefix','changes prefix',{},
  10656. function(args, speaker)
  10657.     cmdprefix = args[1]
  10658.     Notify('Set prefix to "' .. args[1] .. '"')
  10659.     updatefile()
  10660. end)
  10661.  
  10662. logsopen = false
  10663. addcmd('logs','shows logs',{},
  10664. function(args, speaker)
  10665. if speaker.userId ~= LP.userId then
  10666. lponly(speaker) else
  10667. if logsopen == false then logsopen = true
  10668. logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil)
  10669. end
  10670. end
  10671. end)
  10672.  
  10673. local Saved = {}
  10674.  
  10675. RestorePoint = function()
  10676.     Saved = {}
  10677.     for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do
  10678.         v.Archivable = true;
  10679.     end
  10680.     for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  10681.         if not v:IsA("Terrain") and not v:IsA("Camera") then
  10682.             if not game:GetService("Players"):FindFirstChild(v.Name) then
  10683.                 table.insert(Saved, v:Clone());
  10684.             end
  10685.         elseif v:IsA("Terrain") then
  10686.             Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("