Advertisement
CryniteEpic

Rocky's Admin (Roblox)

Dec 30th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 77.59 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. local char = Player.Character
  4.  
  5. local gPlayers = game:GetService("Players")
  6. local admin = gPlayers.LocalPlayer.Name
  7.  
  8. local services={}
  9. local cmds={}
  10. local std={}
  11.  
  12. local Version = '1.0.2'
  13.  
  14. wait(0.1)
  15.  
  16. services.players=gPlayers
  17. services.lighting=game:GetService('Lighting')
  18. services.workspace=game:GetService('Workspace')
  19. services.events = {}
  20. local user = gPlayers.LocalPlayer
  21.  
  22. local cmdprefix=';'
  23. local scriptprefix='\\'
  24. local split=" "
  25.  
  26. --| Ban Data |--
  27.  
  28. local BanFolder = Instance.new("Fire", game.ContextActionService)
  29. BanFolder.Name = "BanList"
  30. BanFolder.RobloxLocked = true
  31. _G.Banned = function(Ban)
  32.         local SValue = Instance.new("StringValue", BanFolder)
  33.         SValue.Value = Ban
  34.         SValue.RobloxLocked = true
  35. end
  36.  
  37. BannedPlayers = {
  38.     'KrystalTeam', -- For banning me.
  39.     'LordCrazy13', -- You're fucking annoying.
  40.     'CRICKET69'
  41. }
  42.  
  43. --| Tables |--
  44.  
  45. --| Admins |--
  46.  
  47. local AdminFolder = Instance.new("Folder", game.ContextActionService)
  48. AdminFolder.Name = "AdminList"
  49. AdminFolder.RobloxLocked = true
  50. _G.Admin = function(Admin)
  51.     local SValue = Instance.new("StringValue", AdminFolder)
  52.     SValue.Value = Admin
  53.     SValue.RobloxLocked = true
  54. end
  55.  
  56. -- These are my friends that don't have Seven, remove then off the list if you'd like.
  57. local admins = {
  58.     'guestpro1',
  59.     'THEGAMINGTRTLE',
  60.     'JackLikesBugs',
  61.     'JoshuaAsencio'
  62. }
  63.  
  64. --| CMD List |--
  65.  
  66. CMDs = {
  67.     '1. ff player',
  68.     '2. noff player',
  69.     '3. fire player',
  70.     '4. nofire player',
  71.     '5. sp player',
  72.     '6. nosp player',
  73.     '7. smoke player',
  74.     '8. nosmoke player',
  75.     '9. btools player',
  76.     '10. god player',
  77.     '11. sgod player',
  78.     '12. ungod player',
  79.     '13. heal player',
  80.     '14. freeze player',
  81.     '15. thaw player',
  82.     '16. kill player',
  83.     '17. sound',
  84.     '18. volume',
  85.     '19. pitch',
  86.     '20. explode player',
  87.     '21. invis player',
  88.     '22. vis player',
  89.     '23. goto player',
  90.     '24. bring player',
  91.     '25. tp player',
  92.     '26. charapp player',
  93.     '27. ws player',
  94.     '28. time',
  95.     '29. kick player',
  96.     '30. ban player',
  97.     '31. unlockws',
  98.     '32. unanchorws',
  99.     '33. hat player',
  100.     '34. gear player',
  101.     '35. pstools player',
  102.     '36. skick player',
  103.     '37. admin player',
  104.     '38. unadmin player',
  105.     '39. firstp player',
  106.     '40. thirdp player',
  107.     '41. chat player',
  108.     '42. insert',
  109.     '43. name player',
  110.     '44. unname player',
  111.     '45. stun player',
  112.     '46. unstun player',
  113.     '47. sit player',
  114.     '48. guest player',
  115.     '49. damage player',
  116.     '50. view player',
  117.     '51. unview player',
  118.     '52. nolimbs player',
  119.     '53. box player 1012',
  120.     '54. nobox player',
  121.     '55. ghost player',
  122.     '56. sphere player',
  123.     '57. loadmap',
  124.     '58. sky',
  125.     '59. ambient',
  126.     '60. gui',
  127.     '61. jail player',
  128.     '62. unjail player',
  129.     '63. shutdown',
  130.     '64. animation player',
  131.     '65. fix player',
  132.     '66. creeper player',
  133.     '67. uncreeper player',
  134.     '68. shrek player',
  135.     '69. unshrek player',
  136.     '70. spam',
  137.     '71. nospam',
  138.     '72. control player',
  139.     '73. nuke player',
  140.     '74. infect player',
  141.     '75. uninfect player',
  142.     '76. duck player',
  143.     '77. unduck player',
  144.     '78. disable player',
  145.     '79. enable player',
  146.     '80. size player',
  147.     '81. confuse player',
  148.     '82. unconfuse player',
  149.     '83. clone player',
  150.     '84. spin player',
  151.     '85. unspin player',
  152.     '86. dog player',
  153.     '87. undog player',
  154.     '88. tptool',
  155.     '89. loopsit player',
  156.     '90. unloopsit player',
  157.     '91. loopjump player',
  158.     '92. unloopjump player',
  159.     '93. loopheal player',
  160.     '94. unloopheal player',
  161.     '95. fling player',
  162.     '96. ayylmao player',
  163.     '97. nograv player',
  164.     '98. grav player',
  165.     '99. seizure player',
  166.     '100. unseizure player',
  167.     '101. cape 1012',
  168.     '102. uncape',
  169.     '103. paper player',
  170.     '104. punish player',
  171.     '105. unpunish player',
  172.     '106. disco',
  173.     '107. undisco',
  174.     '- float player',
  175.     '- unfloat player',
  176.     '- noclip',
  177.     '- clip',
  178.     '- prefix <string>',
  179.     '- admins',
  180.     '- bans',
  181.     '- cmds',
  182.     '- version'
  183. }
  184.  
  185. --| Lib |--
  186.  
  187. updateevents=function()
  188.     for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  189.     for i,v in pairs(gPlayers:players())do
  190.         local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  191.         services.events[#services.events+1] = ev
  192.     end
  193. end
  194.  
  195. std.inTable=function(tbl,val)
  196.     if tbl==nil then return false end
  197.  
  198.     for _,v in pairs(tbl)do
  199.         if v==val then return true end
  200.     end
  201.     return false
  202. end
  203.  
  204. std.out=function(str)
  205.     print(str)
  206. end
  207.  
  208. std.list=function(tbl)
  209.     local str=''
  210.     for i,v in pairs(tbl)do
  211.         str=str..tostring(v)
  212.         if i~=#tbl then str=str..', ' end
  213.     end
  214.     return str
  215. end
  216.  
  217. std.endat=function(str,val)
  218.     local z=str:find(val)
  219.     if z then
  220.         return str:sub(0,z-string.len(val)),true
  221.     else
  222.         return str,false
  223.     end
  224. end
  225.  
  226. std.first=function(str) return str:sub(1,1) end
  227.  
  228. isAdmin=function(name)
  229.     if name==admin then
  230.         return true
  231.     elseif admins[name]==true then
  232.         return true
  233.     end
  234.     return false
  235. end
  236.  
  237. local exec=function(str)
  238.     spawn(function()
  239.         local script, loaderr = loadstring(str)
  240.         if not script then
  241.             error(loaderr)
  242.         else
  243.             script()
  244.         end
  245.     end)
  246. end
  247.  
  248. local findCmd=function(cmd_name)
  249.     for i,v in pairs(cmds)do
  250.         if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  251.             return v
  252.         end
  253.     end
  254. end
  255.  
  256. local getCmd=function(msg)
  257.     local cmd,hassplit=std.endat(msg:lower(),split)
  258.     if hassplit then
  259.         return {cmd,true}
  260.     else
  261.         return {cmd,false}
  262.     end
  263. end
  264.  
  265. local getprfx=function(strn)
  266.     if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  267.     elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  268.     end return
  269. end
  270.  
  271. local getArgs=function(str)
  272.     local args={}
  273.     local new_arg=nil
  274.     local hassplit=nil
  275.     local s=str
  276.     repeat
  277.         new_arg,hassplit=std.endat(s:lower(),split)
  278.         if new_arg~='' then
  279.             args[#args+1]=new_arg
  280.             s=s:sub(string.len(new_arg)+string.len(split)+1)
  281.         end
  282.     until hassplit==false
  283.     return args
  284. end
  285.  
  286. local function execCmd(str, plr)
  287.     local s_cmd
  288.     local a
  289.     local cmd
  290.     s_cmd = getCmd(str)
  291.     cmd = findCmd(s_cmd[1])
  292.     if cmd == nil then return end
  293.     a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  294.     local args=getArgs(a)
  295.  
  296.     pcall(function()
  297.     cmd.FUNC(args, plr)
  298.     end)
  299. end
  300.  
  301. function do_exec(str,plr)
  302.     if not isAdmin(plr.Name)then return end
  303.    
  304.     str=str:gsub('/e ','')
  305.  
  306.     local t=getprfx(str)
  307.     if t==nil then return end
  308.     str=str:sub(t[2])
  309.     if t[1]=='exec' then
  310.         exec(str)
  311.     elseif t[1]=='cmd' then
  312.         execCmd(str, plr)
  313.     end
  314. end
  315.  
  316. updateevents()
  317. _G.exec_cmd = execCmd
  318. --game.Players.LocalPlayer.Chatted:connect(doexec)
  319.  
  320. local _char=function(plr_name)
  321.     for i,v in pairs(game.Players:GetChildren())do
  322.         if v:IsA'Player'then
  323.             if v.Name==plr_name then return v.Character end
  324.         end
  325.     end
  326.     return
  327. end
  328.  
  329. local _plr=function(plr_name)
  330.     for i,v in pairs(game.Players:GetChildren())do
  331.         if v:IsA'Player'then
  332.             if v.Name==plr_name then return v end
  333.         end
  334.     end
  335.     return
  336. end
  337.  
  338. function addcmd(name,desc,alias,func)
  339.     cmds[#cmds+1]=
  340.     {
  341.         NAME=name;
  342.         DESC=desc;
  343.         ALIAS=alias;
  344.         FUNC=func;
  345.     }
  346. end
  347.  
  348. local function getPlayer(name)
  349.     local nameTable = {}
  350.     name=name:lower()
  351.     if name == "me" then
  352.         nameTable[#nameTable+1]=admin
  353.     elseif name == "others" then
  354.         for i,v in pairs(gPlayers:GetChildren()) do
  355.             if v:IsA'Player'then
  356.                 if v.Name~=admin then
  357.                     nameTable[#nameTable+1]=v.Name
  358.                 end
  359.             end
  360.         end
  361.     elseif name == "all" then
  362.         for i,v in pairs(gPlayers:GetChildren()) do
  363.             if v:IsA'Player'then
  364.                 nameTable[#nameTable+1]=v.Name
  365.             end
  366.         end
  367.     else
  368.         for i,v in pairs(gPlayers:GetChildren()) do
  369.             local lname = v.Name:lower()
  370.             local i,j = lname:find(name)
  371.             if i == 1 then
  372.                 return {v.Name}
  373.             end
  374.         end
  375.     end
  376.     return nameTable
  377. end
  378.  
  379. --| Cape Function |--
  380.  
  381. local capeColor = 1012
  382.  
  383. function Cape(playerCaped)
  384.  
  385. if playerCaped.Character:FindFirstChild("Cape") ~= nil then
  386.     playerCaped.Character.Cape:Destroy()
  387. end
  388.  
  389. repeat
  390.     wait()
  391. until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild("Torso")
  392.  
  393. local Torso = playerCaped.Character.Torso
  394.  
  395. local Cape = Instance.new("Part", Torso.Parent)
  396. Cape.Name = "Cape"
  397. Cape.Anchored = false
  398. Cape.CanCollide = false
  399. Cape.TopSurface = 0
  400. Cape.BottomSurface = 0
  401. Cape.BrickColor = BrickColor.new("" .. capeColor)
  402. Cape.Material = "Neon"
  403. Cape.formFactor = "Custom"
  404. Cape.Size = Vector3.new(0.2,0.2,0.2)
  405.  
  406. local msh = Instance.new("BlockMesh", Cape)
  407. msh.Scale = Vector3.new(9,17.5,.5)
  408.  
  409. local motor1 = Instance.new("Motor", Cape)
  410. motor1.Part0 = Cape
  411. motor1.Part1 = Torso
  412.  
  413. motor1.MaxVelocity = 1
  414. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  415. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  416.  
  417. local wave = false
  418.  
  419. repeat wait(1/44)
  420. local ang = 0.2
  421. local oldmag = Torso.Velocity.magnitude
  422. local mv = .1
  423.  
  424. if wave then
  425.     ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
  426.     wave = false
  427. else
  428.     wave = false
  429. end
  430. ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
  431. motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
  432. motor1.DesiredAngle = -ang
  433. if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
  434.     motor1.MaxVelocity = .04
  435. end
  436. repeat
  437.     wait()
  438. until
  439. motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag)  >= (Torso.Velocity.magnitude/10) + 1
  440. if Torso.Velocity.magnitude < .1 then
  441.     wait(.1)
  442. end
  443. until not Cape or Cape.Parent ~= Torso.Parent
  444. end
  445.  
  446. game.Lighting.Outlines = false -- Outlines are disgusting
  447.  
  448. --| Commands |--
  449.  
  450. addcmd('ff','gives ff to player',{},
  451. function(args)
  452.     local players = getPlayer(args[1])
  453.     for i,v in pairs(players)do
  454.         local pchar=_char(v)
  455.         Instance.new("ForceField", pchar)
  456.     end
  457. end)
  458.  
  459. addcmd('noff', 'takes away ff from player',{'unff'},
  460. function(args)
  461.     local players = getPlayer(args[1])
  462.     for i,v in pairs(players)do
  463.         local pchar=_char(v)
  464.         for j,v1 in pairs(pchar:GetChildren()) do
  465.             if v1:IsA("ForceField") then
  466.                 v1:Destroy()
  467.             end
  468.         end
  469.     end
  470. end)
  471.  
  472. addcmd('fire', 'set a player on fire',{},
  473. function(args)
  474.     local players = getPlayer(args[1])
  475.     for i,v in pairs(players)do
  476.         local pchar=_char(v)
  477.         local Fire1 = Instance.new("Fire", pchar.Head)
  478.         local Fire2 = Instance.new("Fire", pchar.Torso)
  479.         local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  480.         local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  481.         local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  482.         local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  483.         Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  484.         Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  485.         Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  486.         Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  487.         Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  488.         Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  489.         Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  490.         Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  491.         Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  492.         Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  493.         Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  494.         Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  495.     end
  496. end)
  497.  
  498. addcmd('nofire', 'extinguish a player',{'unfire'},
  499. function(args)
  500.     local players = getPlayer(args[1])
  501.     for i,v in pairs(players)do
  502.         local pchar=_char(v)
  503.         for j,v1 in pairs(pchar.Head:GetChildren()) do
  504.             if v1:IsA("Fire") then
  505.                 v1:Destroy()
  506.             end
  507. end
  508.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  509.             if v1:IsA("Fire") then
  510.                 v1:Destroy()
  511.             end
  512. end
  513.         for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  514.             if v1:IsA("Fire") then
  515.                 v1:Destroy()
  516.             end
  517. end
  518.         for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  519.             if v1:IsA("Fire") then
  520.                 v1:Destroy()
  521.             end
  522. end
  523.         for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  524.             if v1:IsA("Fire") then
  525.                 v1:Destroy()
  526.             end
  527. end
  528.         for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  529.             if v1:IsA("Fire") then
  530.                 v1:Destroy()
  531.             end
  532.         end
  533.     end
  534. end)
  535.  
  536. addcmd('sp', 'give a player sparkles',{},
  537. function(args)
  538.     local players = getPlayer(args[1])
  539.     for i,v in pairs(players)do
  540.         local pchar=_char(v)
  541.         local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  542.         local Sparkles2 = Instance.new("Sparkles", pchar.Torso)
  543.         local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  544.         local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  545.         local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  546.         local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  547.         Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  548.         Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  549.         Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  550.         Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  551.         Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  552.         Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  553.     end
  554. end)
  555.  
  556. addcmd('nosp', 'remove sparkles from a player',{'unsp'},
  557. function(args)
  558.     local players = getPlayer(args[1])
  559.     for i,v in pairs(players)do
  560.         local pchar=_char(v)
  561.         for j,v1 in pairs(pchar.Head:GetChildren()) do
  562.             if v1:IsA("Sparkles") then
  563.                 v1:Destroy()
  564.             end
  565. end
  566.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  567.             if v1:IsA("Sparkles") then
  568.                 v1:Destroy()
  569.             end
  570. end
  571.         for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  572.             if v1:IsA("Sparkles") then
  573.                 v1:Destroy()
  574.             end
  575. end
  576.         for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  577.             if v1:IsA("Sparkles") then
  578.                 v1:Destroy()
  579.             end
  580. end
  581.         for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  582.             if v1:IsA("Sparkles") then
  583.                 v1:Destroy()
  584.             end
  585. end
  586.         for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  587.             if v1:IsA("Sparkles") then
  588.                 v1:Destroy()
  589.             end
  590.         end
  591.     end
  592. end)
  593.  
  594. addcmd('smoke', 'give a player smoke',{},
  595. function(args)
  596.     local players = getPlayer(args[1])
  597.     for i,v in pairs(players)do
  598.         local pchar=_char(v)
  599.         Instance.new("Smoke", pchar.Torso)
  600.     end
  601. end)
  602.  
  603. addcmd('nosmoke', 'remove smoke from a player',{},
  604. function(args)
  605.     local players = getPlayer(args[1])
  606.     for i,v in pairs(players)do
  607.         local pchar=_char(v)
  608.         for j,v1 in pairs(pchar.Torso:GetChildren()) do
  609.             if v1:IsA("Smoke") then
  610.                 v1:Destroy()
  611.             end
  612.         end
  613.     end
  614. end)
  615.  
  616. addcmd('btools', 'gives a player btools',{},
  617. function(args)
  618.     local players = getPlayer(args[1])
  619.     if players ~= nil then
  620.         for i, v in pairs(players) do
  621.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  622.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  623.             Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  624.         end
  625.     end
  626. end)
  627.  
  628. addcmd('god', 'gods player',{},
  629. function(args)
  630.     local players = getPlayer(args[1])
  631.     for i,v in pairs(players)do
  632.         local pchar=_char(v)
  633.         if pchar then pchar.Humanoid.MaxHealth=math.huge end
  634.     end
  635. end)
  636.  
  637. addcmd('sgod', 'silently gods player',{},
  638. function(args)
  639.     local players = getPlayer(args[1])
  640.     for i,v in pairs(players)do
  641.         local pchar=_char(v)
  642.         spawn(function()
  643.             pchar.Humanoid.MaxHealth = 10000000
  644.             wait()
  645.             pchar.Humanoid.Health = 10000000
  646.         end)
  647.     end
  648. end)
  649.  
  650. addcmd('ungod', 'removes god from a player',{},
  651. function(args)
  652.     local players = getPlayer(args[1])
  653.     for i,v in pairs(players)do
  654.         local pchar=_char(v)
  655.         if pchar then
  656.             pchar.Humanoid.MaxHealth=100
  657.             pchar.Humanoid.Health=100
  658.         end
  659.     end
  660. end)
  661.  
  662. addcmd('heal', 'resets a players health',{},
  663. function(args)
  664.     local players = getPlayer(args[1])
  665.     for i,v in pairs(players)do
  666.         local pchar=_char(v)
  667.         if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  668.     end
  669. end)
  670.  
  671. addcmd('frz', 'freezes a player',{'freeze'},
  672. function(args)
  673.     local players = getPlayer(args[1])
  674.     if players ~= nil then
  675.         for i, v in pairs(players) do
  676.             _char(v).Torso.Anchored = true
  677.         end
  678.     end
  679. end)
  680.  
  681. addcmd('thaw', 'freezes a player',{},
  682. function(args)
  683.     local players = getPlayer(args[1])
  684.     if players ~= nil then
  685.         for i, v in pairs(players) do
  686.             _char(v).Torso.Anchored = false
  687.         end
  688.     end
  689. end)
  690.  
  691. addcmd('kill', 'kills a player',{},
  692. function(args)
  693.     local players = getPlayer(args[1])
  694.     for i,v in pairs(players)do
  695.         local pchar=_char(v)
  696.         if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  697.     end
  698. end)
  699.  
  700. addcmd('sound', 'plays a sound',{},
  701. function(args)
  702.     local function dels(instance)
  703.         for i,v in pairs(instance:GetChildren())do
  704.             if v:IsA'Sound'then v:Destroy()end
  705.             dels(v)
  706.         end
  707.     end
  708.     dels(workspace)
  709.  
  710.     local c = args[1] or 'stop'
  711.     if std.inTable({'stop'}, c:lower()) then return end
  712.     local s = Instance.new("Sound", workspace)
  713.     s.Name = "DuckSong"
  714.     s.Looped = true
  715.     s.SoundId = "rbxassetid://" .. c
  716.     s.Volume = 1
  717.     s:Play()
  718. end)
  719.  
  720. addcmd('volume','changes volume of sound',{},
  721. function(args)
  722.     for i,v in pairs(game.Workspace:GetChildren())do
  723.         if v:IsA("Sound") and v.Name == "DuckSong" then
  724.             v.Volume = args[1]
  725.         end
  726.     end
  727. end)
  728.  
  729. addcmd('pitch','changes pitch of sound',{},
  730. function(args)
  731.     for i,v in pairs(game.Workspace:GetChildren())do
  732.         if v:IsA("Sound") and v.Name == "DuckSong" then
  733.             v.Pitch = args[1]
  734.         end
  735.     end
  736. end)
  737.  
  738. addcmd('explode', 'explode a player', {},
  739. function(args)
  740.     local players = getPlayer(args[1])
  741.     for i, v in pairs(players) do
  742.         local char = _char(v)
  743.         if char:FindFirstChild("Torso") then
  744.             Instance.new("Explosion", char).Position = char.Torso.Position                 
  745.         end
  746.     end
  747. end)
  748.  
  749. addcmd('invis', 'make a player invisible',{},
  750. function(args)
  751.     local players = getPlayer(args[1])
  752.     for i, v in pairs(players) do
  753.         for k, v2 in pairs(_char(v):GetChildren()) do
  754.             if v2.className == "Part" then
  755.                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  756.             elseif v2.className == "Hat" then
  757.                 if v2:FindFirstChild("Handle") then
  758.                     v2.Handle.Transparency = 1
  759.                 end
  760.             end
  761.             if v2:FindFirstChild("face") then
  762.                 v2.face:Destroy()
  763.             end
  764.         end
  765.     end
  766. end)
  767.  
  768. addcmd('vis', 'make a player visible',{},
  769. function(args)
  770.     local players = getPlayer(args[1])
  771.     for i, v in pairs(players) do
  772.         for k, v2 in pairs(_char(v):GetChildren()) do
  773.             if v2.className == "Part" then
  774.                 if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  775.                 elseif v2.className == "Hat" then
  776.                 if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  777.             end
  778.             if v2:FindFirstChild("face") then
  779.                 v2.face:Destroy()
  780.             end
  781.         end
  782.     end
  783. end)
  784.  
  785. addcmd('goto', 'go to a player',{},
  786. function(args)
  787.     local players = getPlayer(args[1])
  788.     if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  789.         _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  790.     end
  791. end)
  792.  
  793. addcmd('bring', 'bring a player to you',{},
  794. function(args)
  795.     local players = getPlayer(args[1])
  796.     for i,v in pairs(players) do
  797.         if _char(v):FindFirstChild("HumanoidRootPart") then
  798.             _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  799.         end
  800.     end
  801. end)
  802.  
  803. addcmd('tp', 'teleport player 1 to player 2',{},
  804. function(args)
  805.     local players1=getPlayer(args[1])
  806.     local players2=getPlayer(args[2])
  807.     if not players2[1] then return end
  808.     for i,v in pairs(players1) do
  809.         if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  810.             _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  811.         end    
  812.     end
  813. end)
  814.  
  815. addcmd('charapp', 'change a players appearance',{'char'},
  816. function(args)
  817.     local players = getPlayer(args[1])
  818.     if not args[1]or not args[2]then return end
  819.     local id=args[2]
  820.     if players ~= nil then
  821.         for i,v in pairs(players) do
  822.             gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  823.             if _char(v):FindFirstChild("Head") then
  824.                 _char(v).Head:Destroy()
  825.             end
  826.         end
  827.     end
  828. end)
  829.  
  830. addcmd('ws', 'change a players walkspeed',{},
  831. function(args)
  832.     local players = getPlayer(args[1])
  833.     if not args[1]or not args[2]then return end
  834.     local num=args[2]
  835.     for i,v in pairs(players) do
  836.         if _char(v):FindFirstChild("Humanoid") then
  837.             _char(v).Humanoid.WalkSpeed=tonumber(num)
  838.         end
  839.     end
  840. end)
  841.  
  842. addcmd('time', 'change the time of day',{},
  843. function(args)
  844.     if not args[1]then return end
  845.     local time_=tonumber(args[1])
  846.    
  847.     game.Lighting:SetMinutesAfterMidnight(time_*60)
  848. end)
  849.  
  850. addcmd('kick', 'kick a player',{},
  851. function(args)
  852.     local players = getPlayer(args[1])
  853.     for i,v in pairs(players) do
  854.         Notify('Kicked ' .. gPlayers[v].Name)
  855.         gPlayers[v]:Destroy()
  856.     end
  857. end)
  858.  
  859. addcmd('ban', 'ban a player',{},
  860. function(args)
  861.     local players=getPlayer(args[1])
  862.         for i,v in pairs(players) do
  863.         _G.Banned(gPlayers[v].Name)
  864.         gPlayers[v]:Destroy()
  865.     end
  866. end)
  867.  
  868. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  869. function(args)
  870.     local function unlock(instance)
  871.         for i,v in pairs(instance:GetChildren()) do
  872.             if v:IsA("BasePart") then
  873.                 v.Locked = false
  874.             end
  875.             unlock(v)
  876.         end
  877.     end
  878.     unlock(workspace)
  879. end)
  880.  
  881. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  882. function(args)
  883.    local function unanchor(instance)
  884.         for i,v in pairs(instance:GetChildren()) do
  885.             if v:IsA("BasePart") then
  886.                 v.Anchored=false
  887.             end
  888.             unanchor(v)
  889.         end
  890.     end
  891.     unanchor(workspace)
  892. end)
  893.  
  894. addcmd('hat', 'give player a hat ingame',{},
  895. function(args)
  896.     if not args[1] or not args[2] then return end
  897.     local players = getPlayer(args[1])
  898.     local id=args[2]
  899.     local hat = game:GetService("InsertService"):LoadAsset(id)
  900.     if hat:IsA("Hat") then
  901.         for i,v in pairs(players) do
  902.             hat:clone().Parent = _char(v)
  903.         end    
  904.     end
  905.     hat:Destroy()
  906. end)
  907.  
  908. addcmd('gear', 'give player a gear ingame',{},
  909. function(args)
  910.     spawn(function()
  911.         if not args[1] or not args[2] then return end
  912.         local players = getPlayer(args[1])
  913.         local id=args[2]
  914.         local model = game:GetService("InsertService"):LoadAsset(id)
  915.         for i,v in pairs(players) do
  916.             for _,j in pairs(model:GetChildren()) do
  917.                 if j:IsA("Tool") then
  918.                     j:Clone().Parent = gPlayers[v].Backpack
  919.                 end
  920.             end
  921.         end
  922.         model:Destroy()
  923.     end)
  924. end)
  925.  
  926. addcmd('pstools', 'give player personal server tools',{},
  927. function(args)
  928.     local players = getPlayer(args[1])
  929.     for i,v in pairs(players) do
  930.         gPlayers[v].PersonalServerRank = 240
  931.     end
  932. end)
  933.  
  934. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  935. function(args)
  936.     local players = getPlayer(args[1])
  937.     for i,v in pairs(players) do
  938.         spawn(function()
  939.             gPlayers[v].PersonalServerRank = 240
  940.             gPlayers[v].Backpack:WaitForChild("ClassicTool")
  941.             gPlayers[v].PersonalServerRank = 0
  942.         end)
  943.     end
  944. end)
  945.  
  946. addcmd('admin', 'gives a player admin',{},
  947. function(args)
  948.     if not args[1]then return end
  949.     local players = getPlayer(args[1])
  950.     table.foreach(players,function(k,v)
  951.         admins[v]=true
  952.         Notify(gPlayers[v].Name .. ' has been given Admin.')
  953.     end)
  954.     for i,v in pairs(players) do
  955.         local pchar = gPlayers[v].Character
  956.         game.Chat:Chat(pchar.Head, "You've been given admin.")
  957.         wait(2.5)
  958.         game.Chat:Chat(pchar.Head, 'Prefix is "' .. cmdprefix .. '"')
  959.         wait(2.5)
  960.         game.Chat:Chat(pchar.Head, "[NO] ;fire me [YES] ;fire YourName")
  961.         wait(2.5)
  962.         game.Chat:Chat(pchar.Head, "You may now use commands.")
  963.     end
  964. end)
  965.  
  966. addcmd('unadmin', 'removes a players admin',{},
  967. function(args)
  968.     if not args[1] then return end
  969.     local players = getPlayer(args[1])
  970.     table.foreach(players,function(k,v)
  971.         admins[v]=nil
  972.         Notify(gPlayers[v].Name .. ' no longer has Admin.')
  973.     end)
  974. end)
  975.  
  976. addcmd('firstp', 'forces player to go into first person',{},
  977. function(args)
  978.     local players = getPlayer(args[1])
  979.     for i,v in pairs(players)do
  980.         gPlayers[v].CameraMode = "LockFirstPerson"
  981.     end
  982. end)
  983.  
  984. addcmd('thirdp', 'allows player to go into third person',{},
  985. function(args)
  986.     local players = getPlayer(args[1])
  987.     for i,v in pairs(players)do
  988.         gPlayers[v].CameraMode = "Classic"
  989.     end
  990. end)
  991.  
  992. addcmd('chat', 'forces player to chat what you input',{},
  993. function(args)
  994.     local players = getPlayer(args[1])
  995.     local MSG = table.concat(args, " ")
  996.     local newMSG = string.gsub(MSG, args[1] .. " ", "")
  997.     for i,v in pairs(players)do
  998.         game.Chat:Chat(gPlayers[v].Character.Head, newMSG)
  999.     end
  1000. end)
  1001.  
  1002. addcmd('insert', 'inserts a model',{},
  1003. function(args)
  1004.     local model = game:GetService("InsertService"):LoadAsset(args[1])
  1005.     model.Parent = game.Workspace
  1006.     model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  1007.     model:MakeJoints()
  1008. end)
  1009.  
  1010. addcmd('name', 'names player',{},
  1011. function(args)
  1012.     local players = getPlayer(args[1])
  1013.     local msg = table.concat(args, " ")
  1014.     local newmsg = string.gsub(msg, args[1] .. " ", "")
  1015.     for i,v in pairs(players) do
  1016.         for a, mod in pairs(gPlayers[v].Character:children()) do
  1017.         if mod:FindFirstChild("TAG") then
  1018.         gPlayers[v].Character.Head.Transparency = 0
  1019.         mod:Destroy()
  1020.         end
  1021.         end
  1022.        
  1023.         local char = gPlayers[v].Character
  1024.         local model = Instance.new("Model", char)
  1025.         local clone = char.Head:Clone()
  1026.         local hum = Instance.new("Humanoid", model)
  1027.         local weld = Instance.new("Weld", clone)
  1028.             model.Name = newmsg
  1029.             clone.Parent = model
  1030.             hum.Name = "TAG"
  1031.             hum.MaxHealth = 100
  1032.             hum.Health = 100
  1033.             weld.Part0 = clone
  1034.             weld.Part1 = char.Head
  1035.             char.Head.Transparency = 1
  1036.     end
  1037. end)
  1038.  
  1039. addcmd('unname', 'unnames player',{},
  1040. function(args)
  1041.     local players = getPlayer(args[1])
  1042.     local name = (args[2])
  1043.     for i,v in pairs(players) do
  1044.         for a, mod in pairs(gPlayers[v].Character:children()) do
  1045.             if mod:FindFirstChild("TAG") then
  1046.                 gPlayers[v].Character.Head.Transparency = 0
  1047.                 mod:Destroy()
  1048.             end
  1049.         end
  1050.     end
  1051. end)
  1052.  
  1053. addcmd('stun', 'stuns player',{},
  1054. function(args)
  1055.     local players = getPlayer(args[1])
  1056.     for i,v in pairs(players) do
  1057.         gPlayers[v].Character.Humanoid.PlatformStand = true
  1058.     end
  1059. end)
  1060.  
  1061. addcmd('unstun', 'stuns player',{},
  1062. function(args)
  1063.     local players = getPlayer(args[1])
  1064.     for i,v in pairs(players) do
  1065.         gPlayers[v].Character.Humanoid.PlatformStand = false
  1066.     end
  1067. end)
  1068.  
  1069. addcmd('sit', 'stuns player',{},
  1070. function(args)
  1071.     local players = getPlayer(args[1])
  1072.     for i,v in pairs(players) do
  1073.         gPlayers[v].Character.Humanoid.Sit = true
  1074.     end
  1075. end)
  1076.  
  1077. addcmd('guest', 'ew a guest',{},
  1078. function(args)
  1079.     local players = getPlayer(args[1])
  1080.     for i,v in pairs(players) do
  1081.         gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  1082.         gPlayers[v].Character:BreakJoints()
  1083.     end
  1084. end)
  1085.  
  1086. addcmd('damage', 'damages a player',{},
  1087. function(args)
  1088.     local players = getPlayer(args[1])
  1089.     for i,v in pairs(players) do
  1090.         gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  1091.     end
  1092. end)
  1093.  
  1094. addcmd('view', 'views player',{},
  1095. function(args)
  1096.     local players = getPlayer(args[1])
  1097.     for i,v in pairs(players) do
  1098.         game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  1099.     end
  1100. end)
  1101.  
  1102. addcmd('unview', 'stops viewing player',{},
  1103. function()
  1104.     game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  1105. end)
  1106.  
  1107. addcmd('nolimbs', 'removes limbs from player',{},
  1108. function(args)
  1109.     local players = getPlayer(args[1])
  1110.     for i,v in pairs(players) do
  1111.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  1112.             if v:IsA("BasePart") and
  1113.                 v.Name == "Right Leg" or
  1114.                 v.Name == "Left Leg" or
  1115.                 v.Name == "Right Arm" or
  1116.                 v.Name == "Left Arm" then
  1117.                 v:Remove()
  1118.             end
  1119.         end
  1120.     end
  1121. end)
  1122.  
  1123. addcmd('box', 'creates a box around player',{},
  1124. function(args)
  1125.     local players = getPlayer(args[1])
  1126.     for i,v in pairs(players)do
  1127.         local pchar=_char(v)
  1128.         local SB = Instance.new("SelectionBox", pchar)
  1129.         SB.Adornee = SB.Parent
  1130.         SB.Color = BrickColor.new("" .. (args[2]))
  1131.     end
  1132. end)
  1133.  
  1134. addcmd('nobox', 'takes away box from player',{'unbox'},
  1135. function(args)
  1136.     local players = getPlayer(args[1])
  1137.     for i,v in pairs(players)do
  1138.         local pchar=_char(v)
  1139.         for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  1140.             if v:IsA("SelectionBox") then
  1141.                 v:Destroy()
  1142.             end
  1143.         end
  1144.     end
  1145. end)
  1146.  
  1147. addcmd('ghost', 'ghostifys player',{},
  1148. function(args)
  1149.     local players = getPlayer(args[1])
  1150.     for i,v in pairs(players)do
  1151.         local pchar=gPlayers[v].Character
  1152.         pchar.Head.Transparency = 0.5
  1153.         pchar.Torso.Transparency = 0.5
  1154.         pchar["Left Arm"].Transparency = 0.5
  1155.         pchar["Right Arm"].Transparency = 0.5
  1156.         pchar["Left Leg"].Transparency = 0.5
  1157.         pchar["Right Leg"].Transparency = 0.5
  1158.         pchar.Head.face.Transparency = 0.5
  1159.     end
  1160. end)
  1161.  
  1162. addcmd('sphere', 'puts sphere around player',{},
  1163. function(args)
  1164.     local players = getPlayer(args[1])
  1165.     for i,v in pairs(players)do
  1166.         local pchar=gPlayers[v].Character
  1167.         local SS = Instance.new("SelectionSphere", pchar)
  1168.         SS.Adornee = SS.Parent
  1169.     end
  1170. end)
  1171.  
  1172. addcmd('loadmap','loads map from model',{},
  1173. function(args)
  1174.     pcall(function()
  1175.     for i,v in pairs(workspace:GetChildren()) do
  1176.         if v.Name~="Camera" and v.Name~="Terrain" then
  1177.             v:Destroy()
  1178.         end
  1179.     end
  1180.     workspace.Terrain:Clear()
  1181.     for i,v in pairs(game.Players:GetChildren()) do
  1182.         local plr = v
  1183.         local prt = Instance.new("Model", workspace)
  1184.         Instance.new("Part", prt).Name="Torso"
  1185.         Instance.new("Part", prt).Name="Head"
  1186.         Instance.new("Humanoid", prt).Name="Humanoid"
  1187.         plr.Character = prt
  1188.     end
  1189.     if (args[1]) == "sfotho" then
  1190.         local b = Insert(296400126, game.Workspace, "sfotho")
  1191.         b:MakeJoints()
  1192.     end
  1193.     local b = Insert(args[1], game.Workspace, "LoadedMap")
  1194.     b:MakeJoints()
  1195. end)
  1196. Notify('Loaded Map')
  1197. end)
  1198.  
  1199. addcmd('sky','changes skybox',{},
  1200. function(args)
  1201.     pcall(function()
  1202.         local ID = (args[1])
  1203.         local sky = Instance.new("Sky", game.Lighting)
  1204.         sky.SkyboxBk = "rbxassetid://" .. ID
  1205.         sky.SkyboxDn = "rbxassetid://" .. ID
  1206.         sky.SkyboxFt = "rbxassetid://" .. ID
  1207.         sky.SkyboxLf = "rbxassetid://" .. ID
  1208.         sky.SkyboxRt = "rbxassetid://" .. ID
  1209.         sky.SkyboxUp = "rbxassetid://" .. ID
  1210.     end)
  1211. end)
  1212.  
  1213. addcmd('ambient','changes ambient',{},
  1214. function(args)
  1215.     game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  1216. end)
  1217.  
  1218. addcmd('gui','gives YourMom GUI',{},
  1219. function(args)
  1220.     loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
  1221. end)
  1222.  
  1223. addcmd('jail','jails player',{},
  1224. function(args)
  1225.     local players = getPlayer(args[1])
  1226.     for i,v in pairs(players)do
  1227.         local pchar=gPlayers[v].Character
  1228.         local JailPlayer = DATA.JAIL:Clone()
  1229.         JailPlayer.Parent = game.Workspace
  1230.         JailPlayer:MoveTo(pchar.Torso.Position)
  1231.         JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
  1232.         if pchar:FindFirstChild("HumanoidRootPart") then
  1233.             pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
  1234.         end    
  1235.     end
  1236. end)
  1237.  
  1238. addcmd('unjail','unjails player',{},
  1239. function(args)
  1240.     local players = getPlayer(args[1])
  1241.     for i,v in pairs(players)do
  1242.         game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
  1243.     end
  1244. end)
  1245.  
  1246. addcmd('shutdown', 'shuts the server down',{},
  1247. function(args)
  1248.     local function ShutDown(Base)
  1249.         for i,v in pairs(Base:GetChildren()) do
  1250.             v:Destroy()
  1251.         end
  1252.     end
  1253.     ShutDown(game.Players)
  1254. end)
  1255.  
  1256. addcmd('animation','makes player animate',{'anim'},
  1257. function(args)
  1258.     local players = getPlayer(args[1])
  1259.     for i,v in pairs(players)do
  1260.         local pchar = gPlayers[v].Character
  1261.         local ID = args[2]
  1262.  
  1263.         if args[2] == "climb" then
  1264.             ID = "180436334"
  1265.     end
  1266.         if args[2] == "fall" then
  1267.             ID = "180436148"
  1268.     end
  1269.         if args[2] == "jump" then
  1270.             ID = "125750702"
  1271.     end
  1272.         if args[2] == "sit" then
  1273.             ID = "178130996"
  1274.     end
  1275.         for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  1276.             if x:IsA("StringValue") then
  1277.                 for _,c in pairs(x:GetChildren()) do
  1278.                     if c:IsA("Animation") then
  1279.                         c.AnimationId = "rbxassetid://" .. ID
  1280.                     end
  1281.                 end
  1282.             end
  1283.         end
  1284.     end
  1285. end)
  1286.  
  1287. addcmd('fix','turns player back to normal',{},
  1288. function(args)
  1289.     local players = getPlayer(args[1])
  1290.     for i,v in pairs(players)do
  1291.         local pchar = gPlayers[v].Character
  1292.        
  1293.         pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1294.         pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  1295.         pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  1296.         pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  1297.         pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  1298.    
  1299.         for i,v in pairs(pchar.Head:GetChildren()) do
  1300.             if v:IsA("SpecialMesh") then
  1301.                 v:Destroy()
  1302.             end
  1303.         end
  1304.    
  1305.         for i,v in pairs(pchar:GetChildren()) do
  1306.             if v:IsA("Shirt") then
  1307.                 v:Destroy()
  1308.             end
  1309.         end
  1310.        
  1311.         for i,v in pairs(pchar:GetChildren()) do
  1312.             if v:IsA("Pants") then
  1313.                 v:Destroy()
  1314.             end
  1315.         end
  1316.        
  1317.         if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  1318.             Player.Character["Shirt Graphic"].Graphic = ""
  1319.         end
  1320.        
  1321.         local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  1322.         HeadMesh.MeshType = "Head"
  1323.         HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  1324.        
  1325.         pchar.Head.Transparency = 0
  1326.         pchar.Torso.Transparency = 0
  1327.         pchar["Left Arm"].Transparency = 0
  1328.         pchar["Right Arm"].Transparency = 0
  1329.         pchar["Left Leg"].Transparency = 0
  1330.         pchar["Right Leg"].Transparency = 0
  1331.        
  1332.         for i,v in pairs(pchar.Head:GetChildren()) do
  1333.             if v:IsA("Decal") then
  1334.                 v:Destroy()
  1335.             end
  1336.         end
  1337.        
  1338.         local face = Instance.new("Decal", pchar.Head)
  1339.         face.Name = "face"
  1340.         face.Texture = "rbxasset://textures/face.png"
  1341.         face.Face = "Front"
  1342.        
  1343.         for i,v in pairs(pchar:GetChildren()) do
  1344.             if v:IsA("Seat") then
  1345.                 v:Destroy()
  1346.             end
  1347.         end
  1348.        
  1349.         for i,v in pairs(pchar.Torso:GetChildren()) do
  1350.             if v:IsA("Weld") then
  1351.                 v:Destroy()
  1352.             end
  1353.         end
  1354.        
  1355.         for i,v in pairs(pchar.Torso:GetChildren()) do
  1356.             if v:IsA("SpecialMesh") then
  1357.                 v:Destroy()
  1358.             end
  1359.         end
  1360.        
  1361.         pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  1362.         pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  1363.         pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  1364.         pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  1365.         pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  1366.         pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  1367.         for _,v in pairs(Player.Character:GetChildren()) do
  1368.             if v:IsA("Hat") then
  1369.                 v:Destroy()
  1370.             end
  1371.         end
  1372.     end
  1373. end)
  1374.  
  1375. addcmd('creeper','make the player a creeper',{'crpr'},
  1376. function(args)
  1377.     local players = getPlayer(args[1])
  1378.     for i,v in pairs(players)do
  1379.     local pchar = gPlayers[v].Character
  1380.         if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  1381.             if pchar:FindFirstChild("Shirt") then
  1382.                 pchar.Shirt.Parent = pchar.Torso
  1383.             end
  1384.             if pchar:FindFirstChild("Pants") then
  1385.                 pchar.Pants.Parent = pchar.Torso
  1386.             end
  1387.             if pchar:FindFirstChild("Shirt Graphic") then
  1388.                 pchar["Shirt Graphic"].Graphic = ""
  1389.             end
  1390.             for i,v in pairs(pchar:GetChildren()) do
  1391.                 if v:IsA("Hat") then
  1392.                     v:Destroy()
  1393.                 end
  1394.             end
  1395.             pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1396.             pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  1397.             pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  1398.             pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  1399.             pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  1400.             pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  1401.             pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  1402.             pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  1403.             pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  1404.             pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  1405.             pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  1406.         end
  1407.     end
  1408. end)
  1409.  
  1410. addcmd('uncreeper','makes player back to normal',{},
  1411. function(args)
  1412.     local players = getPlayer(args[1])
  1413.     for i,v in pairs(players)do
  1414.         execCmd("fix " .. gPlayers[v].Name, Player)
  1415.     end
  1416. end)
  1417.  
  1418. addcmd('shrek', 'makes player shrek',{},
  1419. function(args)
  1420.     local players = getPlayer(args[1])
  1421.     for i,v in pairs(players) do
  1422.         local pchar = gPlayers[v].Character
  1423.         for i,v in pairs(pchar:GetChildren()) do
  1424.             if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  1425.                 v:Destroy()
  1426.             end
  1427.         end
  1428.         for i,v in pairs(pchar.Head:GetChildren()) do
  1429.             if v:IsA("Decal") or v:IsA("SpecialMesh") then
  1430.                 v:Destroy()
  1431.             end
  1432.         end
  1433.        
  1434.         local mesh = Instance.new("SpecialMesh", pchar.Head)
  1435.         mesh.MeshType = "FileMesh"
  1436.         pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  1437.         pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  1438.         pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  1439.        
  1440.         local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  1441.         local Pants = Instance.new("Pants", gPlayers[v].Character)
  1442.        
  1443.         Shirt.ShirtTemplate = "rbxassetid://133078194"
  1444.         Pants.PantsTemplate = "rbxassetid://133078204"
  1445.     end
  1446. end)
  1447.  
  1448. addcmd('unshrek','makes player back to normal',{},
  1449. function(args)
  1450.     local players = getPlayer(args[1])
  1451.     for i,v in pairs(players)do
  1452.         execCmd("fix " .. gPlayers[v].Name, Player)
  1453.     end
  1454. end)
  1455.  
  1456. local Spamming = false
  1457.  
  1458. addcmd('spam','spams text',{},
  1459. function(args)
  1460.     Spamming = true
  1461.     spawn(function()
  1462.         while wait(0) do
  1463.             if Spamming == true then
  1464.                 while wait(0.1) do
  1465.                     if Spamming == true then
  1466.                         game.Players:Chat(""  .. args[1])
  1467.                 elseif Spamming == false then
  1468.                         return
  1469.                     end
  1470.                 end
  1471.             end
  1472.         end
  1473.     end)
  1474. end)
  1475.  
  1476. addcmd('nospam','stops spamming',{},
  1477. function(args)
  1478.     Spamming = false
  1479. end)
  1480.  
  1481. addcmd('control','controls player',{},
  1482. function(args)
  1483.     local players = getPlayer(args[1])
  1484.     for i,v in pairs(players)do
  1485.         local pchar = gPlayers[v].Character
  1486.         if gPlayers[v] and pchar then
  1487.             pchar.Humanoid.PlatformStand = true
  1488.             local w = Instance.new("Weld", Player.Character.Torso)
  1489.             w.Part0 = Player.Character.Torso
  1490.             w.Part1 = pchar.Torso  
  1491.             local w2 = Instance.new("Weld", Player.Character.Head)
  1492.             w2.Part0 = Player.Character.Head
  1493.             w2.Part1 = pchar.Head  
  1494.             local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
  1495.             w3.Part0 = Player.Character:findFirstChild("Right Arm")
  1496.             w3.Part1 = pchar:findFirstChild("Right Arm")
  1497.             local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
  1498.             w4.Part0 = Player.Character:findFirstChild("Left Arm")
  1499.             w4.Part1 = pchar:findFirstChild("Left Arm")
  1500.             local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
  1501.             w5.Part0 = Player.Character:findFirstChild("Right Leg")
  1502.             w5.Part1 = pchar:findFirstChild("Right Leg")
  1503.             local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
  1504.             w6.Part0 = Player.Character:findFirstChild("Left Leg")
  1505.             w6.Part1 = pchar:findFirstChild("Left Leg")
  1506.             char.Head.face:Destroy()
  1507.             for i,v in pairs(pchar:GetChildren()) do
  1508.                 if v:IsA("BasePart") then
  1509.                     v.CanCollide = false
  1510.                 end
  1511.             end
  1512.             for i,v in pairs(char:GetChildren()) do
  1513.                 if v:IsA("BasePart") then
  1514.                     v.Transparency = 1
  1515.                 elseif v:IsA("Hat") then
  1516.                     v:Destroy()
  1517.                 end
  1518.             end
  1519.             pchar.Parent = char
  1520.             pchar.Humanoid.Changed:connect(function()
  1521.                 pchar.Humanoid.PlatformStand = true
  1522.             end)
  1523.         end
  1524.         end
  1525. end)
  1526.  
  1527. addcmd('nuke','nukes player',{},
  1528. function(args)
  1529.     local players = getPlayer(args[1])
  1530.     for i,v in pairs(players)do
  1531.         local pchar = gPlayers[v].Character
  1532.         if gPlayers[v] and pchar and pchar:FindFirstChild("Torso")  then
  1533.             local nuke = Instance.new("Part", game.Workspace)
  1534.             nuke.Anchored = true
  1535.             nuke.CanCollide = false
  1536.             nuke.FormFactor = "Symmetric"
  1537.             nuke.Shape = "Ball"
  1538.             nuke.Size = Vector3.new(1,1,1)
  1539.             nuke.BrickColor = BrickColor.new("New Yeller")
  1540.             nuke.Transparency = 0.5
  1541.             nuke.Reflectance = 0.2
  1542.             nuke.TopSurface = 0
  1543.             nuke.BottomSurface = 0
  1544.             nuke.Touched:connect(function (hit)
  1545.                 if hit and hit.Parent then
  1546.                     local boom = Instance.new("Explosion", game.Workspace)
  1547.                     boom.Position = hit.Position
  1548.                     boom.BlastRadius = 11
  1549.                     boom.BlastPressure = math.huge
  1550.                 end
  1551.             end)
  1552.             local CF = pchar.Torso.CFrame
  1553.             nuke.CFrame = CF
  1554.             for i = 1,333 do
  1555.                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  1556.                 nuke.CFrame = CF
  1557.                 wait(1/44)
  1558.             end
  1559.             nuke:Destroy()
  1560.         end
  1561.     end
  1562. end)
  1563.  
  1564. addcmd('infect','infects player',{},
  1565. function(args)
  1566.     local players = getPlayer(args[1])
  1567.     for i,v in pairs(players)do
  1568.         function infect(rip)
  1569.         local pchar = gPlayers[v].Character
  1570.             for i,v in pairs(pchar:GetChildren()) do
  1571.                 if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") then
  1572.                     v:Destroy()
  1573.                 end
  1574.             end
  1575.             if pchar.Torso:FindFirstChild("roblox") then
  1576.                 pchar.Torso.roblox:Destroy()
  1577.             end
  1578.             if pchar.Head:FindFirstChild("face") then
  1579.                 pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  1580.             end
  1581.             if pchar:FindFirstChild("Body Colors") then
  1582.                 local Colors = pchar["Body Colors"]
  1583.                 local Skin = BrickColor.new("Pastel green")
  1584.                 local Clothes = BrickColor.new("Reddish brown")
  1585.                 Colors.HeadColor = Skin
  1586.                 Colors.LeftArmColor = Skin
  1587.                 Colors.RightArmColor = Skin
  1588.                 Colors.LeftLegColor = Clothes
  1589.                 Colors.RightLegColor = Clothes
  1590.                 Colors.TorsoColor = Clothes
  1591.             end
  1592.             local w1 = Instance.new("Weld", pchar)
  1593.             w1.Part0 = pchar["Right Arm"]
  1594.             w1.Part1 = pchar.Torso
  1595.             w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  1596.             local w2 = Instance.new("Weld", pchar)
  1597.             w2.Part0 = pchar["Left Arm"]
  1598.             w2.Part1 = pchar.Torso
  1599.             w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  1600.             local rip = false
  1601.             local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  1602.                 if connect1 == false then
  1603.                     connect1 = true
  1604.                     if game.Players:FindFirstChild(hit.Parent.Name) then
  1605.                         infect(game.Players[hit.Parent.Name])
  1606.                     end
  1607.                     wait(0.5)
  1608.                     connect1 = true
  1609.                 end
  1610.             end)
  1611.             local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  1612.                 if connect2 == false then
  1613.                     connect2 = true
  1614.                     if game.Players:FindFirstChild(hit.Parent.Name) then
  1615.                         infect(game.Players[hit.Parent.Name])
  1616.                     end
  1617.                     wait(0.5)
  1618.                     connect2 = true
  1619.                 end
  1620.             end)
  1621.             local IV = Instance.new("IntValue", pchar)
  1622.             IV.Name = "Infected"
  1623.             IV.Value = 0
  1624.             IV.Changed:connect(function()
  1625.                 connect1:disconnect()
  1626.                 connect2:disconnect()
  1627.             end)
  1628.         end
  1629.         infect(v)
  1630.     end
  1631. end)
  1632.  
  1633. addcmd('uninfect','makes player back to normal',{},
  1634. function(args)
  1635.     local players = getPlayer(args[1])
  1636.     for i,v in pairs(players)do
  1637.         execCmd("fix " .. gPlayers[v].Name, Player)
  1638.     end
  1639. end)
  1640.  
  1641. addcmd('duck','makes players head a duck',{},
  1642. function(args)
  1643.     local players = getPlayer(args[1])
  1644.     for i,v in pairs(players)do
  1645.         local pchar = gPlayers[v].Character
  1646.         for i,v in pairs(pchar.Torso:GetChildren()) do
  1647.             if v:IsA("Decal") then
  1648.                 v:Destroy()
  1649.             end
  1650.         end
  1651.         for i,v in pairs(pchar:GetChildren()) do
  1652.             if v:IsA("Hat") then
  1653.                 v:Destroy()
  1654.             end
  1655.         end
  1656.         local duck = Instance.new("SpecialMesh", pchar.Torso)
  1657.         duck.MeshType = "FileMesh"
  1658.         duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  1659.         duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1660.         duck.Scale = Vector3.new(5, 5, 5)
  1661.         pchar.Head.Transparency = 1
  1662.         pchar["Left Arm"].Transparency = 1
  1663.         pchar["Right Arm"].Transparency = 1
  1664.         pchar["Left Leg"].Transparency = 1
  1665.         pchar["Right Leg"].Transparency = 1
  1666.         pchar.Head.face.Transparency = 1
  1667.     end
  1668. end)
  1669.  
  1670. addcmd('unduck','makes player back to normal',{},
  1671. function(args)
  1672.     local players = getPlayer(args[1])
  1673.     for i,v in pairs(players)do
  1674.         execCmd("fix " .. gPlayers[v].Name, Player)
  1675.     end
  1676. end)
  1677.  
  1678. addcmd('disable','removes players humanoid',{},
  1679. function(args)
  1680.     local players = getPlayer(args[1])
  1681.     for i,v in pairs(players)do
  1682.         local pchar = gPlayers[v].Character
  1683.         if pchar:FindFirstChild("Humanoid") then
  1684.            pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  1685.            local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  1686.            humanoid.Parent = game.ContextActionService
  1687.         end
  1688.     end
  1689. end)
  1690.  
  1691. addcmd('enable','gives player humanoid',{},
  1692. function(args)
  1693.     local players = getPlayer(args[1])
  1694.     for i,v in pairs(players)do
  1695.         local pchar = gPlayers[v].Character
  1696.         if pchar:FindFirstChild("Humanoid") then
  1697.             return
  1698.         else
  1699.             local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  1700.             humanoid.Parent = pchar
  1701.             humanoid.Name = "Humanoid"
  1702.         end
  1703.     end
  1704. end)
  1705.  
  1706. addcmd('size','changes size of player',{},
  1707. function(args)
  1708.     local players = getPlayer(args[1])
  1709.     for i,v in pairs(players)do
  1710.     local pchar = gPlayers[v].Character
  1711.         local function scale(chr,scl)
  1712.        
  1713.             for _,v in pairs(pchar:GetChildren()) do
  1714.                 if v:IsA("Hat") then
  1715.                     v:Clone()
  1716.                     v.Parent = game.Lighting
  1717.                 end
  1718.             end
  1719.                
  1720.             local Head = chr['Head']
  1721.             local Torso = chr['Torso']
  1722.             local LA = chr['Left Arm']
  1723.             local RA = chr['Right Arm']
  1724.             local LL = chr['Left Leg']
  1725.             local RL = chr['Right Leg']
  1726.             local HRP = chr['HumanoidRootPart']
  1727.        
  1728.             wait(0.1)
  1729.            
  1730.             Head.formFactor = 3
  1731.             Torso.formFactor = 3
  1732.             LA.formFactor = 3
  1733.             RA.formFactor = 3
  1734.             LL.formFactor = 3
  1735.             RL.formFactor = 3
  1736.             HRP.formFactor = 3
  1737.            
  1738.             Head.Size = Vector3.new(scl * 2, scl, scl)
  1739.             Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1740.             LA.Size = Vector3.new(scl, scl * 2, scl)
  1741.             RA.Size = Vector3.new(scl, scl * 2, scl)
  1742.             LL.Size = Vector3.new(scl, scl * 2, scl)
  1743.             RL.Size = Vector3.new(scl, scl * 2, scl)
  1744.             HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1745.            
  1746.             local Motor1 = Instance.new('Motor6D', Torso)
  1747.             Motor1.Part0 = Torso
  1748.             Motor1.Part1 = Head
  1749.             Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1750.             Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1751.             Motor1.Name = "Neck"
  1752.                    
  1753.             local Motor2 = Instance.new('Motor6D', Torso)
  1754.             Motor2.Part0 = Torso
  1755.             Motor2.Part1 = LA
  1756.             Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1757.             Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1758.             Motor2.Name = "Left Shoulder"
  1759.            
  1760.             local Motor3 = Instance.new('Motor6D', Torso)
  1761.             Motor3.Part0 = Torso
  1762.             Motor3.Part1 = RA
  1763.             Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1764.             Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1765.             Motor3.Name = "Right Shoulder"
  1766.            
  1767.             local Motor4 = Instance.new('Motor6D', Torso)
  1768.             Motor4.Part0 = Torso
  1769.             Motor4.Part1 = LL
  1770.             Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1771.             Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1772.             Motor4.Name = "Left Hip"
  1773.            
  1774.             local Motor5 = Instance.new('Motor6D', Torso)
  1775.             Motor5.Part0 = Torso
  1776.             Motor5.Part1 = RL
  1777.             Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1778.             Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1779.             Motor5.Name = "Right Hip"
  1780.            
  1781.             local Motor6 = Instance.new('Motor6D', HRP)
  1782.             Motor6.Part0 = HRP
  1783.             Motor6.Part1 = Torso
  1784.             Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1785.             Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1786.                
  1787.         end
  1788.        
  1789.         scale(pchar, args[2])
  1790.    
  1791.         for _,v in pairs(game.Lighting:GetChildren()) do
  1792.             if v:IsA("Hat") then
  1793.                 v.Parent = pchar
  1794.             end
  1795.         end
  1796.     end
  1797. end)
  1798.  
  1799. addcmd('confuse','reverses players speed',{'reverse'},
  1800. function(args)
  1801.     local players = getPlayer(args[1])
  1802.     for i,v in pairs(players)do
  1803.         local pchar = gPlayers[v].Character
  1804.         pchar.Humanoid.WalkSpeed = tonumber(-16)
  1805.     end
  1806. end)
  1807.  
  1808. addcmd('unconfuse','reverses players speed',{'unreverse'},
  1809. function(args)
  1810.     local players = getPlayer(args[1])
  1811.     for i,v in pairs(players)do
  1812.         local pchar = gPlayers[v].Character
  1813.         pchar.Humanoid.WalkSpeed = tonumber(16)
  1814.     end
  1815. end)
  1816.  
  1817. addcmd('clone','clones player',{},
  1818. function(args)
  1819.     local players = getPlayer(args[1])
  1820.     for i,v in pairs(players)do
  1821.         local pchar = gPlayers[v].Character
  1822.         pchar.Archivable = true
  1823.         local clone = pchar:Clone()
  1824.         clone.Parent = game.Workspace
  1825.         clone:MoveTo(pchar:GetModelCFrame().p)
  1826.         clone:MakeJoints()
  1827.         pchar.Archivable = false
  1828.     end
  1829. end)
  1830.  
  1831. addcmd('spin','spins player',{},
  1832. function(args)
  1833.     local players = getPlayer(args[1])
  1834.     for i,v in pairs(players)do
  1835.         local pchar = gPlayers[v].Character
  1836.         for i,v in pairs(pchar.Torso:GetChildren()) do
  1837.             if v.Name == "Spinning" then
  1838.                 v:Destroy()
  1839.             end
  1840.         end
  1841.         local Torso = pchar.Torso
  1842.         local BG = Instance.new("BodyGyro", Torso)
  1843.         BG.Name = "Spinning"
  1844.         BG.maxTorque = Vector3.new(0, math.huge, 0)
  1845.         BG.P = 11111
  1846.         BG.cframe = Torso.CFrame
  1847.         repeat wait(1/44)
  1848.             BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  1849.         until not BG or BG.Parent ~= Torso
  1850.     end
  1851. end)
  1852.  
  1853. addcmd('unspin','stops spinning player',{},
  1854. function(args)
  1855.     local players = getPlayer(args[1])
  1856.     for i,v in pairs(players)do
  1857.         local pchar = gPlayers[v].Character
  1858.         for i,v in pairs(pchar.Torso:GetChildren()) do
  1859.             if v.Name == "Spinning" then
  1860.                 v:Destroy()
  1861.             end
  1862.         end
  1863.     end
  1864. end)
  1865.  
  1866. addcmd('dog','makes player a dog',{},
  1867. function(args)
  1868.     local players = getPlayer(args[1])
  1869.     for i,v in pairs(players)do
  1870.         local pchar = gPlayers[v].Character
  1871.         if pchar:FindFirstChild("Shirt") then
  1872.             pchar.Shirt:Destroy()
  1873.         end
  1874.         if pchar:FindFirstChild("Pants") then
  1875.             pchar.Pants:Destroy()
  1876.         end
  1877.         if pchar:FindFirstChild("Shirt Graphic") then
  1878.             pchar["Shirt Graphic"].Graphic = ""
  1879.         end
  1880.         pchar.Torso.Transparency = 1
  1881.         pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1882.         pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  1883.         pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  1884.         pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  1885.         pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  1886.         local FakeTorso = Instance.new("Seat", pchar)
  1887.         FakeTorso.Name = "FakeTorso"
  1888.         FakeTorso.FormFactor = "Symmetric"
  1889.         FakeTorso.TopSurface = 0
  1890.         FakeTorso.BottomSurface = 0
  1891.         FakeTorso.Size = Vector3.new(3,1,4)
  1892.         FakeTorso.BrickColor = BrickColor.new("Brown")
  1893.         FakeTorso.CFrame = pchar.Torso.CFrame
  1894.         local BF = Instance.new("BodyForce", FakeTorso)
  1895.         BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  1896.         local W = Instance.new("Weld", pchar.Torso)
  1897.         W.Part0 = pchar.Torso
  1898.         W.Part1 = FakeTorso
  1899.         W.C0 = CFrame.new(0,-.5,0)
  1900.         local BC = pchar["Body Colors"]
  1901.         BC.HeadColor = BrickColor.new("Brown")
  1902.         BC.LeftArmColor = BrickColor.new("Brown")
  1903.         BC.LeftLegColor = BrickColor.new("Brown")
  1904.         BC.RightArmColor = BrickColor.new("Brown")
  1905.         BC.RightLegColor = BrickColor.new("Brown")
  1906.         BC.TorsoColor = BrickColor.new("Brown")
  1907.     end
  1908. end)
  1909.  
  1910. addcmd('undog','makes player back to normal',{},
  1911. function(args)
  1912.     local players = getPlayer(args[1])
  1913.     for i,v in pairs(players)do
  1914.         execCmd("fix " .. gPlayers[v].Name, Player)
  1915.     end
  1916. end)
  1917.  
  1918. addcmd('tptool','gives player tptool',{''},
  1919. function(args)
  1920.     local tool = DATA.Teleport:Clone()
  1921.     tool.Parent = Player.Backpack
  1922. end)
  1923.  
  1924. addcmd('loopsit','loop sits player',{},
  1925. function(args)
  1926.     local players = getPlayer(args[1])
  1927.     for i,v in pairs(players)do
  1928.         local pchar = gPlayers[v].Character
  1929.         if pchar:FindFirstChild("LoopSit") then
  1930.             pchar.LoopSit.Name = "NotLoopSit"
  1931.             wait(0.1)
  1932.             pchar.NotLoopSit:Destroy()
  1933.         end
  1934.         local LoopSit = Instance.new("StringValue", pchar)
  1935.         LoopSit.Name = "LoopSit"
  1936.         repeat wait(0.1)
  1937.             pchar.Humanoid.Sit = true
  1938.         until LoopSit.Name == "NotLoopSit"
  1939.     end
  1940. end)
  1941.  
  1942. addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
  1943. function(args)
  1944.     local players = getPlayer(args[1])
  1945.     for i,v in pairs(players)do
  1946.         local pchar = gPlayers[v].Character
  1947.         if pchar:FindFirstChild("LoopSit") then
  1948.             pchar.LoopSit.Name = "NotLoopSit"
  1949.             wait(0.1)
  1950.             pchar.NotLoopSit:Destroy()
  1951.         end
  1952.     end
  1953. end)
  1954.  
  1955. addcmd('loopjump','loop jumps player',{},
  1956. function(args)
  1957.     local players = getPlayer(args[1])
  1958.     for i,v in pairs(players)do
  1959.         local pchar = gPlayers[v].Character
  1960.         if pchar:FindFirstChild("LoopJump") then
  1961.             pchar.LoopJump.Name = "NotLoopJump"
  1962.             wait(0.1)
  1963.             pchar.NotLoopJump:Destroy()
  1964.         end
  1965.         local LoopJump = Instance.new("StringValue", pchar)
  1966.         LoopJump.Name = "LoopJump"
  1967.         repeat wait(0.1)
  1968.             pchar.Humanoid.Jump = true
  1969.         until LoopJump.Name == "NotLoopJump"
  1970.     end
  1971. end)
  1972.  
  1973. addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
  1974. function(args)
  1975.     local players = getPlayer(args[1])
  1976.     for i,v in pairs(players)do
  1977.         local pchar = gPlayers[v].Character
  1978.         if pchar:FindFirstChild("LoopJump") then
  1979.             pchar.LoopJump.Name = "NotLoopJump"
  1980.             wait(0.1)
  1981.             pchar.NotLoopJump:Destroy()
  1982.         end
  1983.     end
  1984. end)
  1985.  
  1986. addcmd('loopheal','loop heals player',{},
  1987. function(args)
  1988.     local players = getPlayer(args[1])
  1989.     for i,v in pairs(players)do
  1990.         local pchar = gPlayers[v].Character
  1991.         if pchar:FindFirstChild("LoopHeal") then
  1992.             pchar.LoopHeal.Name = "NotLoopHeal"
  1993.             wait(0.1)
  1994.             pchar.NotLoopHeal:Destroy()
  1995.         end
  1996.         local LoopHeal = Instance.new("StringValue", pchar)
  1997.         LoopHeal.Name = "LoopHeal"
  1998.         repeat wait(0.1)
  1999.             pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  2000.         until LoopHeal.Name == "NotLoopHeal"
  2001.     end
  2002. end)
  2003.  
  2004. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  2005. function(args)
  2006.     local players = getPlayer(args[1])
  2007.     for i,v in pairs(players)do
  2008.         local pchar = gPlayers[v].Character
  2009.         if pchar:FindFirstChild("LoopHeal") then
  2010.             pchar.LoopHeal.Name = "NotLoopHeal"
  2011.             wait(0.1)
  2012.             pchar.NotLoopHeal:Destroy()
  2013.         end
  2014.     end
  2015. end)
  2016.  
  2017. addcmd('fling','flings player',{},
  2018. function(args)
  2019.     local players = getPlayer(args[1])
  2020.     for i,v in pairs(players)do
  2021.         local pchar = gPlayers[v].Character
  2022.         if pchar:FindFirstChild("Humanoid") then
  2023.             local xran
  2024.             local zran
  2025.             repeat
  2026.                 xran = math.random(-9999,9999)
  2027.             until math.abs(xran) >= 5555
  2028.             repeat
  2029.                 zran = math.random(-9999,9999)
  2030.             until math.abs(zran) >= 5555
  2031.             pchar.Humanoid.Sit = true
  2032.             pchar.Torso.Velocity = Vector3.new(0,0,0)
  2033.             local BF = Instance.new("BodyForce", pchar.Torso)
  2034.             BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  2035.         end
  2036.     end
  2037. end)
  2038.  
  2039. addcmd('nograv','makes player have moon gravity',{''},
  2040. function(args)
  2041.     local players = getPlayer(args[1])
  2042.     for i,v in pairs(players)do
  2043.         local pchar = gPlayers[v].Character
  2044.         for i,v in pairs(pchar.Torso:GetChildren()) do
  2045.             if v.Name == "NoGrav" then
  2046.                 v:Destroy()
  2047.             end
  2048.         end
  2049.         local BF = Instance.new("BodyForce", pchar.Torso)
  2050.         BF.Name = "NoGrav"
  2051.         BF.Force = Vector3.new(0,2700,0)
  2052.     end
  2053. end)
  2054.  
  2055. addcmd('grav','makes player have normal gravity',{''},
  2056. function(args)
  2057.     local players = getPlayer(args[1])
  2058.     for i,v in pairs(players)do
  2059.         local pchar = gPlayers[v].Character
  2060.         for i,v in pairs(pchar.Torso:GetChildren()) do
  2061.             if v.Name == "NoGrav" then
  2062.                 v:Destroy()
  2063.             end
  2064.         end
  2065.     end
  2066. end)
  2067.  
  2068. addcmd('seizure','makes player have a seizure',{''},
  2069. function(args)
  2070.     local players = getPlayer(args[1])
  2071.     for i,v in pairs(players)do
  2072.         local pchar = gPlayers[v].Character
  2073.         if pchar:FindFirstChild("Seizure") then
  2074.            
  2075.         end
  2076.         local Seizure = Instance.new("StringValue", pchar)
  2077.         Seizure.Name = "Seizure"
  2078.         pchar.Humanoid.PlatformStand = true
  2079.         repeat wait()
  2080.             pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  2081.             pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2082.         until Seizure.Name == "NotSeizure"
  2083.     end
  2084. end)
  2085.  
  2086. addcmd('unseizure','makes player stop having a seizure',{''},
  2087. function(args)
  2088.     local players = getPlayer(args[1])
  2089.     for i,v in pairs(players)do
  2090.         local pchar = gPlayers[v].Character
  2091.         if pchar:FindFirstChild("Seizure") then
  2092.             pchar.Humanoid.PlatformStand = false
  2093.             pchar.Seizure.Name = "NotSeizure"
  2094.             wait(0.1)
  2095.             pchar.NotSeizure:Destroy()
  2096.         end
  2097.     end
  2098. end)
  2099.  
  2100. addcmd('cape','gives you a cape',{''},
  2101. function(args)
  2102.     if not args[1] then
  2103.         args[1] = 1012
  2104.     end
  2105.     capeColor = args[1]
  2106.     Cape(Player)
  2107. end)
  2108.  
  2109. addcmd('uncape','takes cape away from you',{''},
  2110. function(args)
  2111.     if char:FindFirstChild("Cape") ~= nil then
  2112.         char.Cape:Destroy()
  2113.     end
  2114. end)
  2115.  
  2116. addcmd('paper','makes player thin as paper',{''},
  2117. function(args)
  2118.     local players = getPlayer(args[1])
  2119.     for i,v in pairs(players)do
  2120.         local pchar = gPlayers[v].Character
  2121.         local LA = DATA.Paper:Clone()
  2122.         LA.Parent = pchar["Left Arm"]
  2123.         local RA = DATA.Paper:Clone()
  2124.         RA.Parent = pchar["Right Arm"]
  2125.         local LL = DATA.Paper:Clone()
  2126.         LL.Parent = pchar["Left Leg"]
  2127.         local RL = DATA.Paper:Clone()
  2128.         RL.Parent = pchar["Right Leg"]
  2129.         local T = DATA.Paper:Clone()
  2130.         T.Parent = pchar.Torso
  2131.         local H = DATA.Paper:Clone()
  2132.         H.Parent = pchar.Head
  2133.         pchar.Head.face:Destroy()
  2134.     end
  2135. end)
  2136.  
  2137. addcmd('punish','punishs player',{''},
  2138. function(args)
  2139.     local players = getPlayer(args[1])
  2140.     for i,v in pairs(players)do
  2141.         local pchar = gPlayers[v].Character
  2142.         pchar.Parent = game.Lighting
  2143.     end
  2144. end)
  2145.  
  2146. addcmd('unpunish','unpunishs player',{''},
  2147. function(args)
  2148.     local players = getPlayer(args[1])
  2149.     for i,v in pairs(players)do
  2150.         if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
  2151.             game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
  2152.         end
  2153.     end
  2154. end)
  2155.  
  2156. addcmd('disco','disco party',{''},
  2157. function(args)
  2158.     Disco = true
  2159.     if Disco == true then
  2160.         repeat wait(0.3)
  2161.             game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  2162.         until Disco == false
  2163.     end
  2164. end)
  2165.  
  2166. addcmd('undisco','rip disco party',{''},
  2167. function(args)
  2168.     Disco = false
  2169.     wait(0.1)
  2170.     game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  2171. end)
  2172.  
  2173. -- Extras --
  2174.  
  2175. Floating = false
  2176.  
  2177. addcmd('float', 'makes player float',{},
  2178. function(args,speaker)
  2179.     Floating = true
  2180.     local players = getPlayer(args[1])
  2181.     for _,v in pairs(players) do
  2182.         local pchar = gPlayers[v].Character
  2183.         if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  2184.             spawn(function()
  2185.                 local float = DATA.Float:Clone()
  2186.                 float.Parent = pchar
  2187.                 float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  2188.                 spawn(function()
  2189.                     while wait(0.1) do
  2190.                         if pchar:FindFirstChild("Float") then
  2191.                             float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  2192.                         else
  2193.                             break
  2194.                         end
  2195.                     end
  2196.                 end)
  2197.             end)
  2198.         end
  2199.     end
  2200. end)
  2201.  
  2202. addcmd('unfloat','disables floating',{},
  2203. function(args)
  2204.     Floating = false
  2205.     local players = getPlayer(args[1])
  2206.     for i,v in pairs(players)do
  2207.         local pchar = gPlayers[v].Character
  2208.         if pchar:FindFirstChild("Float") then
  2209.             pchar.Float:Destroy()
  2210.         end
  2211.     end
  2212. end)
  2213.  
  2214. local Clip = true
  2215.  
  2216. addcmd('noclip','enables noclip',{},
  2217. function(args)
  2218. Notify('NoClip Enabled')
  2219. Clip = false
  2220.     wait(1)
  2221.     Name = game.Players.LocalPlayer.Name
  2222.     game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
  2223.         delay(0, function()
  2224.             if NC.Name ~= "OuputGUI" then
  2225.                 NC:Destroy()
  2226.             end
  2227.         end)
  2228.     end)
  2229.     game:GetService('RunService').Stepped:connect(function ()
  2230.     game.Workspace[Name].Torso.CanCollide = Clip
  2231.     game.Workspace[Name].Head.CanCollide = Clip
  2232.     end)
  2233.     game.Workspace[Name].Torso.Changed:connect(function()
  2234.     game.Workspace[Name].Torso.CanCollide = Clip
  2235.     game.Workspace[Name].Head.CanCollide = Clip
  2236.     end)
  2237. end)
  2238.  
  2239. addcmd('clip','disables noclip',{},
  2240. function(args)
  2241.     Notify('NoClip Disabled')
  2242.     Clip = true
  2243. end)
  2244.  
  2245. wait(0.1)
  2246.  
  2247. addcmd('prefix','changes prefix',{},
  2248. function(args)
  2249.     cmdprefix = args[1]
  2250.     Notify('Changed prefix to "' .. args[1] .. '"')
  2251. end)
  2252.  
  2253. addcmd('admins','prints admins',{},
  2254. function(args)
  2255.     for i,v in pairs(AdminFolder:GetChildren()) do
  2256.         if v:IsA("StringValue") then
  2257.             print("-" .. v.Value)
  2258.             Notify('Printed Admins, Check Console')
  2259.         end
  2260.     end
  2261. end)
  2262.  
  2263. addcmd('bans','prints bans',{},
  2264. function(args)
  2265.     for i,v in pairs(BanFolder:GetChildren()) do
  2266.         if v:IsA("StringValue") then
  2267.             print("-" .. v.Value)
  2268.             Notify('Printed Bans, Check Console')
  2269.         end
  2270.     end
  2271. end)
  2272.  
  2273. addcmd('version','shows version',{''},
  2274. function(args)
  2275.     Notify("Version is " .. Version)
  2276. end)
  2277.  
  2278. --| Floating |--
  2279.  
  2280. Mouse.KeyDown:connect(function (Key)
  2281.     if Key:byte() == 29 then
  2282.         if Floating == false then
  2283.             execCmd("float me", Player)
  2284.             Floating = true
  2285.         elseif Floating == true then
  2286.             execCmd("unfloat me", Player)
  2287.             Floating = false
  2288.         end
  2289.     end
  2290. end)
  2291.  
  2292. --| Ban Data |--
  2293.  
  2294. for i,v in pairs(BannedPlayers) do
  2295.     local ban = Instance.new("StringValue", BanFolder)
  2296.     ban.Value = v
  2297.     ban.RobloxLocked = true
  2298. end
  2299.  
  2300. spawn(function ()
  2301.     while wait(0.1) do
  2302.         for _,a in pairs(game.ContextActionService:GetChildren()) do
  2303.             if a.Name == "BanList" then
  2304.                 for _,b in pairs(a:GetChildren()) do
  2305.                     if b:IsA("StringValue") then
  2306.                         for _,c in pairs(game.Players:GetChildren()) do
  2307.                             if c.Name == b.Value then
  2308.                                 c.PersonalServerRank = 200
  2309.                                 wait(0.1)
  2310.                                 c.PersonalServerRank = 0
  2311.                             end
  2312.                         end
  2313.                     end
  2314.                 end
  2315.             end
  2316.         end
  2317.     end
  2318. end)
  2319.  
  2320. --| Admin |--
  2321.  
  2322. for i,v in pairs(admins) do
  2323.     local admin = Instance.new("StringValue", AdminFolder)
  2324.     admin.Value = v
  2325.     admin.RobloxLocked = true
  2326. end
  2327.  
  2328. spawn(function ()
  2329.     while wait(0.1) do
  2330.         for _,a in pairs(game.ContextActionService:GetChildren()) do
  2331.             if a.Name == "AdminList" then
  2332.                 for _,b in pairs(a:GetChildren()) do
  2333.                     if b:IsA("StringValue") then
  2334.                         for _,c in pairs(game.Players:GetChildren()) do
  2335.                             if c.Name == b.Value then
  2336.                                 execCmd('admin ' .. c.Name)
  2337.                             end
  2338.                         end
  2339.                     end
  2340.                 end
  2341.             end
  2342.         end
  2343.     end
  2344. end)
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366. --| Don't.. Touch.. |--
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373. --| CMD Bar |--
  2374.  
  2375. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  2376. CMDbar.Name = 'GUI'
  2377. cmdBAR = Instance.new('TextBox', CMDbar)
  2378. cmdBAR.Name = 'CMDbar'
  2379. cmdBAR.Active = true
  2380. cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
  2381. cmdBAR.BackgroundTransparency = 0.5
  2382. cmdBAR.BorderColor = BrickColor.new(0,0,0)
  2383. cmdBAR.BorderSizePixel = 0
  2384. cmdBAR.Position = UDim2.new(0,0,1,-25)
  2385. cmdBAR.Size = UDim2.new(0,200,0,20)
  2386. cmdBAR.Font = 'SourceSans'
  2387. cmdBAR.FontSize = 'Size18'
  2388. cmdBAR.Text = 'Press ; to Execute a Command'
  2389. cmdBAR.TextColor = BrickColor.new(255,255,255)
  2390.  
  2391. --| Data |--
  2392.  
  2393. DATA = Instance.new('Folder', game.ContextActionService)
  2394. DATA.Name = 'Data'
  2395.  
  2396. Paper = Instance.new('BlockMesh', DATA)
  2397. Paper.Name = 'Paper'
  2398. Paper.Scale = Vector3.new(1,1,0.1)
  2399.  
  2400. ayylmao = Instance.new('Hat', DATA)
  2401. ayylmao.Name = 'ayylmao'
  2402. ayyHandle = Instance.new('Part', ayylmao)
  2403. ayyHandle.Name = 'Handle'
  2404. ayyHandle.Size = Vector3.new(2,2.4,2)
  2405. ayyHandle.FormFactor = 'Plate'
  2406. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  2407. ayyMesh.Scale = Vector3.new(1,1.02,1)
  2408. ayyMesh.MeshType = 'FileMesh'
  2409. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  2410. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  2411.  
  2412. Float = Instance.new('Part', DATA)
  2413. Float.Name = 'Float'
  2414. Float.Transparency = 1
  2415. Float.Size = Vector3.new(6,1,6)
  2416. Float.Anchored = true
  2417.  
  2418. cmdGUI = Instance.new('ScreenGui', DATA)
  2419. cmdGUI.Name = 'CMDs'
  2420. cmdMAIN = Instance.new('Frame', cmdGUI)
  2421. cmdMAIN.Name = 'MAIN'
  2422. cmdMAIN.Active = true
  2423. cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
  2424. cmdMAIN.BackgroundTransparency = 0.5
  2425. cmdMAIN.BorderColor = BrickColor.new(0,0,0)
  2426. cmdMAIN.BorderSizePixel = 0
  2427. cmdMAIN.Position = UDim2.new(0,10,0,350)
  2428. cmdMAIN.Size = UDim2.new(0,170,0,15)
  2429. cmdMAIN.Draggable = true
  2430. cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
  2431. cmdCMDs.Name = 'CMDs'
  2432. cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
  2433. cmdCMDs.BackgroundTransparency = 0.8
  2434. cmdCMDs.BorderColor = BrickColor.new(0,0,0)
  2435. cmdCMDs.BorderSizePixel = 0
  2436. cmdCMDs.Position = UDim2.new(0,0,0,15)
  2437. cmdCMDs.Size = UDim2.new(0,200,0,150)
  2438. cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
  2439. cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
  2440. cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
  2441. cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  2442. cmdCMDs.ScrollBarThickness = 2
  2443. cmdExit = Instance.new('TextButton', cmdMAIN)
  2444. cmdExit.Name = 'Exit'
  2445. cmdExit.BackgroundColor = BrickColor.new(255,0,0)
  2446. cmdExit.BackgroundTransparency = 0.5
  2447. cmdExit.BorderColor = BrickColor.new(255,0,0)
  2448. cmdExit.BorderSizePixel = 0
  2449. cmdExit.Position = UDim2.new(0,185,0,0)
  2450. cmdExit.Size = UDim2.new(0,15,0,15)
  2451. cmdExit.Text = ""
  2452. ExitScript = Instance.new('LocalScript', cmdExit)
  2453. ExitScript.Source =
  2454. [[
  2455. script.Parent.MouseButton1Down:connect(function()
  2456.     script.Parent.Parent.Parent:Destroy()
  2457. end)
  2458. ]]
  2459. cmdMin = Instance.new('TextButton', cmdMAIN)
  2460. cmdMin.Name = 'MM'
  2461. cmdMin.BackgroundColor = BrickColor.new(140,140,140)
  2462. cmdMin.BackgroundTransparency = 0.5
  2463. cmdMin.BorderColor = BrickColor.new(140,140,140)
  2464. cmdMin.BorderSizePixel = 0
  2465. cmdMin.Position = UDim2.new(0,170,0,0)
  2466. cmdMin.Size = UDim2.new(0,15,0,15)
  2467. cmdMin.Text = ""
  2468. MinScript = Instance.new('LocalScript', cmdMin)
  2469. MinScript.Source =
  2470. [[
  2471. local CMDs = script.Parent.Parent.CMDs
  2472.  
  2473. script.Parent.MouseButton1Down:connect(function()
  2474.     if CMDs.Visible == true then
  2475.         CMDs.Visible = false
  2476.     elseif CMDs.Visible == false then
  2477.         CMDs.Visible = true
  2478.     end
  2479. end)
  2480. ]]
  2481. cmdEx = Instance.new('TextLabel', cmdMAIN)
  2482. cmdEx.Name = 'Example'
  2483. cmdEx.BackgroundColor = BrickColor.new(0,0,0)
  2484. cmdEx.BackgroundTransparency = 0.8
  2485. cmdEx.BorderColor = BrickColor.new(0,0,0)
  2486. cmdEx.BorderSizePixel = 0
  2487. cmdEx.Position = UDim2.new(0,5,0,20)
  2488. cmdEx.Size = UDim2.new(0,190,0,20)
  2489. cmdEx.Visible = false
  2490. cmdEx.TextColor = BrickColor.new(255,255,255)
  2491. cmdEx.TextXAlignment = 'Left'
  2492.  
  2493. duckGUI = Instance.new('ScreenGui', DATA)
  2494. duckGUI.Name = 'Duck'
  2495. duckImage = Instance.new('ImageLabel', duckGUI)
  2496. duckImage.BackgroundTransparency = 1
  2497. duckImage.Position = UDim2.new(0,-300,1,-150)
  2498. duckImage.Size = UDim2.new(0,300,0,300)
  2499. duckImage.Rotation = -30
  2500. duckImage.Image = 'rbxassetid://301388647'
  2501. duckScript = Instance.new('LocalScript', duckGUI)
  2502. duckScript.Source =
  2503. [[
  2504. local duck = script.Parent.ImageLabel
  2505.  
  2506. wait(2)
  2507.  
  2508. duck:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
  2509. ]]
  2510.  
  2511. espMAIN = Instance.new('BillboardGui', DATA)
  2512. espMAIN.Name = 'MAIN'
  2513. espMAIN.AlwaysOnTop = true
  2514. espMAIN.ExtentsOffset = Vector3.new(0,1,0)
  2515. espMAIN.Size = UDim2.new(0,5,0,5)
  2516. espMAIN.StudsOffset = Vector3.new(0,1,0)
  2517. espDot = Instance.new('Frame', espMAIN)
  2518. espDot.BackgroundColor = BrickColor.new(42,181,255)
  2519. espDot.BackgroundTransparency = 0.3
  2520. espDot.BorderSizePixel = 0
  2521. espDot.Position = UDim2.new(-0.5,0,-0.5,0)
  2522. espDot.Size = UDim2.new(2,0,2,0)
  2523. espDot.Visible = false
  2524. espDot.ZIndex = 10
  2525. espName = Instance.new('TextLabel', espMAIN)
  2526. espName.Name = 'Name'
  2527. espName.BackgroundColor = BrickColor.new(0,0,0)
  2528. espName.BackgroundTransparency = 1
  2529. espName.BorderColor = BrickColor.new(0,0,0)
  2530. espName.BorderSizePixel = 0
  2531. espName.Position = UDim2.new(0,0,0,-35)
  2532. espName.Size = UDim2.new(1,0,10,0)
  2533. espName.Visible = false
  2534. espName.ZIndex = 10
  2535.  
  2536. notifyMAIN = Instance.new('ScreenGui', DATA)
  2537. notifyMAIN.Name = 'Notification'
  2538. notifyNOT = Instance.new('Frame', notifyMAIN)
  2539. notifyNOT.Name = 'NOTIFY'
  2540. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  2541. notifyNOT.BackgroundTransparency = 0.5
  2542. notifyNOT.BorderColor = BrickColor.new(255,255,255)
  2543. notifyNOT.BorderSizePixel = 2
  2544. notifyNOT.Position = UDim2.new(0,-200,0.7,0)
  2545. notifyNOT.Size = UDim2.new(0,200,0,30)
  2546. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  2547. notifyNOTE.Name = 'NOTE'
  2548. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  2549. notifyNOTE.BackgroundTransparency = 1
  2550. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  2551. notifyNOTE.BorderSizePixel = 0
  2552. notifyNOTE.Size = UDim2.new(1,0,1,0)
  2553. notifyNOTE.ZIndex = 10
  2554. notifyNOTE.FontSize = 'Size18'
  2555. notifyNOTE.Font = 'SourceSans'
  2556. notifyNOTE.Text = 'NOTIFY'
  2557. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  2558. notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
  2559. notifyNOTE.TextStrokeTransparency = 0.8
  2560.  
  2561. tpTool = Instance.new('HopperBin', DATA)
  2562. tpTool.Name = 'Teleport'
  2563. tpScript = Instance.new('LocalScript', tpTool)
  2564. tpScript.Source =
  2565. [[
  2566. local Player = game.Players.LocalPlayer
  2567. local Mouse = Player:GetMouse()
  2568.  
  2569. local Tool = script.Parent
  2570.  
  2571. Mouse.Button1Down:connect(function()
  2572.     if Mouse.Target and Tool.Active then
  2573.         Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
  2574.     end
  2575. end)
  2576. ]]
  2577.  
  2578. modJAIL = Instance.new('Model', DATA)
  2579. modJAIL.Name = 'JAIL'
  2580. botJAIL = Instance.new('Part', modJAIL)
  2581. botJAIL.Name = 'BOTTOM'
  2582. botJAIL.BrickColor = BrickColor.new('Black')
  2583. botJAIL.Transparency = 0.5
  2584. botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
  2585. botJAIL.Anchored = true
  2586. botJAIL.Locked = true
  2587. botJAIL.Size = Vector3.new(6,1,6)
  2588. botJAIL.TopSurface = 'Smooth'
  2589. botJAIL.BottomSurface = 'Smooth'
  2590. topJAIL = Instance.new('Part', modJAIL)
  2591. topJAIL.Name = 'BOTTOM'
  2592. topJAIL.BrickColor = BrickColor.new('Black')
  2593. topJAIL.Transparency = 0.5
  2594. topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
  2595. topJAIL.Anchored = true
  2596. topJAIL.Locked = true
  2597. topJAIL.Size = Vector3.new(6,1,6)
  2598. topJAIL.TopSurface = 'Smooth'
  2599. topJAIL.BottomSurface = 'Smooth'
  2600. p1 = Instance.new('Part', modJAIL)
  2601. p1.Name = 'MAIN'
  2602. p1.BrickColor = BrickColor.new('Black')
  2603. p1.Transparency = 1
  2604. p1.Position = Vector3.new(-8.7,4,-11.6)
  2605. p1.Rotation = Vector3.new(-180,0,-180)
  2606. p1.Anchored = true
  2607. p1.Locked = true
  2608. p1.Size = Vector3.new(1,6,4)
  2609. p1.TopSurface = 'Smooth'
  2610. p1.BottomSurface = 'Smooth'
  2611. p2 = Instance.new('Part', modJAIL)
  2612. p2.BrickColor = BrickColor.new('Black')
  2613. p2.Transparency = 0.5
  2614. p2.Position = Vector3.new(-3.7,4,-14.1)
  2615. p2.Anchored = true
  2616. p2.Locked = true
  2617. p2.Size = Vector3.new(1,6,1)
  2618. p2.TopSurface = 'Smooth'
  2619. p2.BottomSurface = 'Smooth'
  2620. p3 = Instance.new('Part', modJAIL)
  2621. p3.BrickColor = BrickColor.new('Black')
  2622. p3.Transparency = 0.5
  2623. p3.Position = Vector3.new(-8.7,4,-9.1)
  2624. p3.Anchored = true
  2625. p3.Locked = true
  2626. p3.Size = Vector3.new(1,6,1)
  2627. p3.TopSurface = 'Smooth'
  2628. p3.BottomSurface = 'Smooth'
  2629. p4 = Instance.new('Part', modJAIL)
  2630. p4.BrickColor = BrickColor.new('Black')
  2631. p4.Transparency = 0.5
  2632. p4.Position = Vector3.new(-3.7,4,-9.1)
  2633. p4.Anchored = true
  2634. p4.Locked = true
  2635. p4.Size = Vector3.new(1,6,1)
  2636. p4.TopSurface = 'Smooth'
  2637. p4.BottomSurface = 'Smooth'
  2638. p5 = Instance.new('Part', modJAIL)
  2639. p5.BrickColor = BrickColor.new('Black')
  2640. p5.Transparency = 0.5
  2641. p5.Position = Vector3.new(-8.7,4,-14.1)
  2642. p5.Anchored = true
  2643. p5.Locked = true
  2644. p5.Size = Vector3.new(1,6,1)
  2645. p5.TopSurface = 'Smooth'
  2646. p5.BottomSurface = 'Smooth'
  2647. p6 = Instance.new('Part', modJAIL)
  2648. p6.BrickColor = BrickColor.new('Black')
  2649. p6.Transparency = 1
  2650. p6.Position = Vector3.new(-6.2,4,-14.1)
  2651. p6.Rotation = Vector3.new(0,90,0)
  2652. p6.Anchored = true
  2653. p6.Locked = true
  2654. p6.Size = Vector3.new(1,6,4)
  2655. p6.TopSurface = 'Smooth'
  2656. p6.BottomSurface = 'Smooth'
  2657. p7 = Instance.new('Part', modJAIL)
  2658. p7.BrickColor = BrickColor.new('Black')
  2659. p7.Transparency = 1
  2660. p7.Position = Vector3.new(-3.7,4,-11.6)
  2661. p7.Anchored = true
  2662. p7.Locked = true
  2663. p7.Size = Vector3.new(1,6,4)
  2664. p7.TopSurface = 'Smooth'
  2665. p7.BottomSurface = 'Smooth'
  2666. p8 = Instance.new('Part', modJAIL)
  2667. p8.BrickColor = BrickColor.new('Black')
  2668. p8.Transparency = 1
  2669. p8.Position = Vector3.new(-6.2,4,-9.1)
  2670. p8.Rotation = Vector3.new(0,90,0)
  2671. p8.Anchored = true
  2672. p8.Locked = true
  2673. p8.Size = Vector3.new(1,6,4)
  2674. p8.TopSurface = 'Smooth'
  2675. p8.BottomSurface = 'Smooth'
  2676.  
  2677. --| Some Commands |--
  2678.  
  2679. addcmd('ayylmao','ayy lmao',{''},
  2680. function(args)
  2681.     local players = getPlayer(args[1])
  2682.     for i,v in pairs(players)do
  2683.         local pchar = gPlayers[v].Character
  2684.         if pchar:FindFirstChild("Shirt") then
  2685.             pchar.Shirt:Destroy()
  2686.         end
  2687.         if pchar:FindFirstChild("Pants") then
  2688.             pchar.Pants:Destroy()
  2689.         end
  2690.         if pchar:FindFirstChild("Shirt Graphic") then
  2691.             pchar["Shirt Graphic"].Graphic = ""
  2692.         end
  2693.         for i,v in pairs(pchar:GetChildren()) do
  2694.             if v:IsA("Hat") then
  2695.                 v:Destroy()
  2696.             end
  2697.         end
  2698.         local ayylmao = DATA.ayylmao:Clone()
  2699.         ayylmao.Parent = pchar
  2700.         local BC = pchar["Body Colors"]
  2701.         BC.HeadColor = BrickColor.new("Fossil")
  2702.         BC.LeftArmColor = BrickColor.new("Fossil")
  2703.         BC.LeftLegColor = BrickColor.new("Fossil")
  2704.         BC.RightArmColor = BrickColor.new("Fossil")
  2705.         BC.RightLegColor = BrickColor.new("Fossil")
  2706.         BC.TorsoColor = BrickColor.new("Fossil")
  2707.     end
  2708. end)
  2709.  
  2710. -- CMDs GUI --
  2711.  
  2712. CMDsFolder = Instance.new("Folder", game.CoreGui)
  2713.  
  2714. for i,v in pairs(CMDs) do
  2715.     CMDsValue = Instance.new("StringValue", CMDsFolder)
  2716.     CMDsValue.Value = v
  2717.     CMDsValue.RobloxLocked = true
  2718. end
  2719.  
  2720. local function commands()
  2721.     local cmds = DATA.CMDs:Clone()
  2722.     cmds.Parent = Player.PlayerGui
  2723.     local CMDsV = CMDsFolder:GetChildren()
  2724.     for i = 1, #CMDsV do
  2725.         local YSize = 25
  2726.         local Position = ((i * YSize) - YSize)
  2727.         local newcmd = cmds.MAIN.Example:Clone()
  2728.         newcmd.Parent = cmds.MAIN.CMDs
  2729.         newcmd.Visible = true
  2730.         newcmd.Position = UDim2.new(0,5,0, Position + 5)
  2731.         newcmd.Text = "" .. CMDsV[i].Value
  2732.         cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  2733.     end
  2734. end
  2735.  
  2736. addcmd('cmds','prints cmds',{},
  2737. function(args)
  2738.     commands()
  2739. end)
  2740.  
  2741. --| Command Bar |--
  2742.  
  2743. CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
  2744.     if enterpressed and CMDbar.CMDbar.Text ~= "" then
  2745.         spawn(function ()
  2746.             execCmd(CMDbar.CMDbar.Text, Player)
  2747.         end)
  2748.     end
  2749.     CMDbar.CMDbar:TweenPosition(UDim2.new(0, -200, 1, -25), "InOut", "Quad", 0.5, true, nil)
  2750. end)
  2751.  
  2752. Mouse.KeyDown:connect(function(Key)
  2753.     if Key:byte() == 59 then
  2754.         CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 1, -25), "InOut", "Quad", 0.5, true, nil)
  2755.         CMDbar.CMDbar:CaptureFocus()
  2756.     end
  2757. end)
  2758.  
  2759. --| ESP Function |--
  2760.  
  2761. local ESP = false
  2762. local track = false
  2763.  
  2764. function Create(base, team)
  2765.     local MAIN = DATA.MAIN:Clone()
  2766.     local F = MAIN.DOT
  2767.     local ESP = MAIN.NAME
  2768.  
  2769.     MAIN.Parent = Player.PlayerGui
  2770.     MAIN.Adornee = base
  2771.    
  2772.     F.Visible = true
  2773.    
  2774.     ESP.Text = base.Parent.Name:upper()
  2775.     ESP.Visible = true
  2776. end
  2777.  
  2778. function Clear()
  2779.     for _,v in pairs(Player.PlayerGui:children()) do
  2780.         if v.Name == "MAIN" and v:IsA("BillboardGui") then
  2781.             v:Destroy()
  2782.         end
  2783.     end
  2784. end
  2785.  
  2786. function Find()
  2787.     Clear()
  2788.     track = true
  2789.     spawn(function()
  2790.         while wait() do
  2791.             if track then
  2792.                 Clear()
  2793.                 for i,v in pairs(game.Players:players()) do
  2794.                     if v.Character and v.Character.Head then
  2795.                         Create(v.Character.Head, true)
  2796.                     end
  2797.                 end
  2798.             end
  2799.             wait(1)
  2800.         end
  2801.     end)
  2802. end
  2803.  
  2804. --| ESP |--
  2805.  
  2806. Mouse.KeyDown:connect(function(Key)
  2807.     if Key:byte() == 30 then
  2808.         if ESP == false then
  2809.             Find()
  2810.             ESP = true
  2811.         elseif ESP == true then
  2812.             Clear()
  2813.             track = false
  2814.             ESP = false
  2815.         end
  2816.     end
  2817. end)
  2818.  
  2819. --| More Functions |--
  2820.  
  2821. local NOTIFY = DATA.Notification
  2822. NOTIFY.Parent = game.CoreGui
  2823.  
  2824. local duck = DATA.Duck:Clone()
  2825. duck.Parent = Player.PlayerGui
  2826.  
  2827. local usingNOTE = false
  2828.  
  2829. function Notify(msg)
  2830.     if usingNOTE == false then
  2831.         if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  2832.             spawn(function()
  2833.                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  2834.                 NOTIFY.NOTIFY.NOTE.Text = msg
  2835.                 usingNOTE = true
  2836.                 wait(2.5)
  2837.                 NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  2838.                 usingNOTE = false
  2839.             end)
  2840.         end
  2841.     end
  2842. end
  2843.  
  2844. --| Notifications |--
  2845.  
  2846. wait(1)
  2847.  
  2848. if game.Workspace.FilteringEnabled == true then
  2849.     NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  2850.     Notify('Filtering is ENABLED.')
  2851. elseif game.Workspace.FilteringEnabled == false then
  2852.     NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  2853.     Notify('Filtering is Disabled.')
  2854. end
  2855.  
  2856. wait(3.5)
  2857.  
  2858. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
  2859.  
  2860. Notify('Loaded ' .. #cmds .. ' commands!')
  2861.  
  2862. wait(3.5)
  2863.  
  2864. Notify('Welcome ' .. Player.Name .. '!')
  2865.  
  2866. Player.PlayerGui.Duck:Destroy()
  2867.  
  2868. --[[
  2869. addcmd('name','desc',{''},
  2870. function(args)
  2871.     local players = getPlayer(args[1])
  2872.     for i,v in pairs(players)do
  2873.         local pchar = gPlayers[v].Character
  2874.     end
  2875. end)
  2876. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement