Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- ---------------------------------------------------------------
- | _____ _ _ _____ _ |
- | | __ \ (_) | | | __ \ | | |
- | | |__) | __ ___ _ ___ ___| |_ | | | |_ _ ___| | __ |
- | | ___/ '__/ _ \| |/ _ \/ __| __| | | | | | | |/ __| |/ / |
- | | | | | | (_) | | __/ (__| |_ | |__| | |_| | (__| < |
- | |_| |_| \___/| |\___|\___|\__| |_____/ \__,_|\___|_|\_\ |
- | _/ | |
- | |__/ |
- ---------------------------------------------------------------
- --]]
- -- SethMilkman --
- --| Thanks ROBLOX, for removing GetObjects |--
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local char = Player.Character
- local gPlayers = game:GetService("Players")
- local admin = gPlayers.LocalPlayer.Name
- local services={}
- local cmds={}
- local std={}
- local Version = '3.0.2'
- wait(0.1)
- services.players=gPlayers
- services.lighting=game:GetService('Lighting')
- services.workspace=game:GetService('Workspace')
- services.events = {}
- local user = gPlayers.LocalPlayer
- local cmdprefix=''
- local scriptprefix='\\'
- local split=" "
- --| Ban Data |--
- local BanFolder = Instance.new("Fire", game.ContextActionService)
- BanFolder.Name = "BanList"
- BanFolder.RobloxLocked = true
- _G.Banned = function(Ban)
- local SValue = Instance.new("StringValue", BanFolder)
- SValue.Value = Ban
- SValue.RobloxLocked = true
- end
- BannedPlayers = {
- 'KrystalTeam', -- For banning me.
- 'LordCrazy13', -- You're fucking annoying.
- 'CRICKET69'
- }
- --| Tables |--
- --| Admins |--
- local AdminFolder = Instance.new("Folder", game.ContextActionService)
- AdminFolder.Name = "AdminList"
- AdminFolder.RobloxLocked = true
- _G.Admin = function(Admin)
- local SValue = Instance.new("StringValue", AdminFolder)
- SValue.Value = Admin
- SValue.RobloxLocked = true
- end
- -- These are my friends that don't have Seven, remove then off the list if you'd like.
- local admins = {
- 'guestpro1',
- 'THEGAMINGTRTLE',
- 'JackLikesBugs',
- 'JoshuaAsencio'
- }
- --| CMD List |--
- CMDs = {
- '1. ff player',
- '2. noff player',
- '3. fire player',
- '4. nofire player',
- '5. sp player',
- '6. nosp player',
- '7. smoke player',
- '8. nosmoke player',
- '9. btools player',
- '10. god player',
- '11. sgod player',
- '12. ungod player',
- '13. heal player',
- '14. freeze player',
- '15. thaw player',
- '16. kill player',
- '17. sound',
- '18. volume',
- '19. pitch',
- '20. explode player',
- '21. invis player',
- '22. vis player',
- '23. goto player',
- '24. bring player',
- '25. tp player',
- '26. charapp player',
- '27. ws player',
- '28. time',
- '29. kick player',
- '30. ban player',
- '31. unlockws',
- '32. unanchorws',
- '33. hat player',
- '34. gear player',
- '35. pstools player',
- '36. skick player',
- '37. admin player',
- '38. unadmin player',
- '39. firstp player',
- '40. thirdp player',
- '41. chat player',
- '42. insert',
- '43. name player',
- '44. unname player',
- '45. stun player',
- '46. unstun player',
- '47. sit player',
- '48. guest player',
- '49. damage player',
- '50. view player',
- '51. unview player',
- '52. nolimbs player',
- '53. box player 1012',
- '54. nobox player',
- '55. ghost player',
- '56. sphere player',
- '57. loadmap',
- '58. sky',
- '59. ambient',
- '60. gui',
- '61. jail player',
- '62. unjail player',
- '63. shutdown',
- '64. animation player',
- '65. fix player',
- '66. creeper player',
- '67. uncreeper player',
- '68. shrek player',
- '69. unshrek player',
- '70. spam',
- '71. nospam',
- '72. control player',
- '73. nuke player',
- '74. infect player',
- '75. uninfect player',
- '76. duck player',
- '77. unduck player',
- '78. disable player',
- '79. enable player',
- '80. size player',
- '81. confuse player',
- '82. unconfuse player',
- '83. clone player',
- '84. spin player',
- '85. unspin player',
- '86. dog player',
- '87. undog player',
- '88. tptool',
- '89. loopsit player',
- '90. unloopsit player',
- '91. loopjump player',
- '92. unloopjump player',
- '93. loopheal player',
- '94. unloopheal player',
- '95. fling player',
- '96. ayylmao player',
- '97. nograv player',
- '98. grav player',
- '99. seizure player',
- '100. unseizure player',
- '101. cape 1012',
- '102. uncape',
- '103. paper player',
- '104. punish player',
- '105. unpunish player',
- '106. disco',
- '107. undisco',
- '- float player',
- '- unfloat player',
- '- noclip',
- '- clip',
- '- prefix <string>',
- '- admins',
- '- bans',
- '- cmds',
- '- version'
- }
- --| Lib |--
- updateevents=function()
- for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
- for i,v in pairs(gPlayers:players())do
- local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
- services.events[#services.events+1] = ev
- end
- end
- std.inTable=function(tbl,val)
- if tbl==nil then return false end
- for _,v in pairs(tbl)do
- if v==val then return true end
- end
- return false
- end
- std.out=function(str)
- print(str)
- end
- std.list=function(tbl)
- local str=''
- for i,v in pairs(tbl)do
- str=str..tostring(v)
- if i~=#tbl then str=str..', ' end
- end
- return str
- end
- std.endat=function(str,val)
- local z=str:find(val)
- if z then
- return str:sub(0,z-string.len(val)),true
- else
- return str,false
- end
- end
- std.first=function(str) return str:sub(1,1) end
- isAdmin=function(name)
- if name==admin then
- return true
- elseif admins[name]==true then
- return true
- end
- return false
- end
- local exec=function(str)
- spawn(function()
- local script, loaderr = loadstring(str)
- if not script then
- error(loaderr)
- else
- script()
- end
- end)
- end
- local findCmd=function(cmd_name)
- for i,v in pairs(cmds)do
- if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
- return v
- end
- end
- end
- local getCmd=function(msg)
- local cmd,hassplit=std.endat(msg:lower(),split)
- if hassplit then
- return {cmd,true}
- else
- return {cmd,false}
- end
- end
- local getprfx=function(strn)
- if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
- elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
- end return
- end
- local getArgs=function(str)
- local args={}
- local new_arg=nil
- local hassplit=nil
- local s=str
- repeat
- new_arg,hassplit=std.endat(s:lower(),split)
- if new_arg~='' then
- args[#args+1]=new_arg
- s=s:sub(string.len(new_arg)+string.len(split)+1)
- end
- until hassplit==false
- return args
- end
- local function execCmd(str, plr)
- local s_cmd
- local a
- local cmd
- s_cmd = getCmd(str)
- cmd = findCmd(s_cmd[1])
- if cmd == nil then return end
- a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
- local args=getArgs(a)
- pcall(function()
- cmd.FUNC(args, plr)
- end)
- end
- function do_exec(str,plr)
- if not isAdmin(plr.Name)then return end
- str=str:gsub('/e ','')
- local t=getprfx(str)
- if t==nil then return end
- str=str:sub(t[2])
- if t[1]=='exec' then
- exec(str)
- elseif t[1]=='cmd' then
- execCmd(str, plr)
- end
- end
- updateevents()
- _G.exec_cmd = execCmd
- --game.Players.LocalPlayer.Chatted:connect(doexec)
- local _char=function(plr_name)
- for i,v in pairs(game.Players:GetChildren())do
- if v:IsA'Player'then
- if v.Name==plr_name then return v.Character end
- end
- end
- return
- end
- local _plr=function(plr_name)
- for i,v in pairs(game.Players:GetChildren())do
- if v:IsA'Player'then
- if v.Name==plr_name then return v end
- end
- end
- return
- end
- function addcmd(name,desc,alias,func)
- cmds[#cmds+1]=
- {
- NAME=name;
- DESC=desc;
- ALIAS=alias;
- FUNC=func;
- }
- end
- local function getPlayer(name)
- local nameTable = {}
- name=name:lower()
- if name == "me" then
- nameTable[#nameTable+1]=admin
- elseif name == "others" then
- for i,v in pairs(gPlayers:GetChildren()) do
- if v:IsA'Player'then
- if v.Name~=admin then
- nameTable[#nameTable+1]=v.Name
- end
- end
- end
- elseif name == "all" then
- for i,v in pairs(gPlayers:GetChildren()) do
- if v:IsA'Player'then
- nameTable[#nameTable+1]=v.Name
- end
- end
- else
- for i,v in pairs(gPlayers:GetChildren()) do
- local lname = v.Name:lower()
- local i,j = lname:find(name)
- if i == 1 then
- return {v.Name}
- end
- end
- end
- return nameTable
- end
- --| Cape Function |--
- local capeColor = 1012
- function Cape(playerCaped)
- if playerCaped.Character:FindFirstChild("Cape") ~= nil then
- playerCaped.Character.Cape:Destroy()
- end
- repeat
- wait()
- until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild("Torso")
- local Torso = playerCaped.Character.Torso
- local Cape = Instance.new("Part", Torso.Parent)
- Cape.Name = "Cape"
- Cape.Anchored = false
- Cape.CanCollide = false
- Cape.TopSurface = 0
- Cape.BottomSurface = 0
- Cape.BrickColor = BrickColor.new("" .. capeColor)
- Cape.Material = "Neon"
- Cape.formFactor = "Custom"
- Cape.Size = Vector3.new(0.2,0.2,0.2)
- local msh = Instance.new("BlockMesh", Cape)
- msh.Scale = Vector3.new(9,17.5,.5)
- local motor1 = Instance.new("Motor", Cape)
- motor1.Part0 = Cape
- motor1.Part1 = Torso
- motor1.MaxVelocity = 1
- motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
- motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
- local wave = false
- repeat wait(1/44)
- local ang = 0.2
- local oldmag = Torso.Velocity.magnitude
- local mv = .1
- if wave then
- ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
- wave = false
- else
- wave = false
- end
- ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
- motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
- motor1.DesiredAngle = -ang
- if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
- motor1.MaxVelocity = .04
- end
- repeat
- wait()
- until
- motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag) >= (Torso.Velocity.magnitude/10) + 1
- if Torso.Velocity.magnitude < .1 then
- wait(.1)
- end
- until not Cape or Cape.Parent ~= Torso.Parent
- end
- game.Lighting.Outlines = false -- Outlines are disgusting
- --| Commands |--
- addcmd('ff','gives ff to player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- Instance.new("ForceField", pchar)
- end
- end)
- addcmd('noff', 'takes away ff from player',{'unff'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar:GetChildren()) do
- if v1:IsA("ForceField") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('fire', 'set a player on fire',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- local Fire1 = Instance.new("Fire", pchar.Head)
- local Fire2 = Instance.new("Fire", pchar.Torso)
- local Fire3 = Instance.new("Fire", pchar["Left Arm"])
- local Fire4 = Instance.new("Fire", pchar["Right Arm"])
- local Fire5 = Instance.new("Fire", pchar["Left Leg"])
- local Fire6 = Instance.new("Fire", pchar["Right Leg"])
- Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- end
- end)
- addcmd('nofire', 'extinguish a player',{'unfire'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.Head:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar.Torso:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
- if v1:IsA("Fire") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('sp', 'give a player sparkles',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- local Sparkles1 = Instance.new("Sparkles", pchar.Head)
- local Sparkles2 = Instance.new("Sparkles", pchar.Torso)
- local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
- local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
- local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
- local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
- Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
- end
- end)
- addcmd('nosp', 'remove sparkles from a player',{'unsp'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.Head:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar.Torso:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
- if v1:IsA("Sparkles") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('smoke', 'give a player smoke',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- Instance.new("Smoke", pchar.Torso)
- end
- end)
- addcmd('nosmoke', 'remove smoke from a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.Torso:GetChildren()) do
- if v1:IsA("Smoke") then
- v1:Destroy()
- end
- end
- end
- end)
- addcmd('btools', 'gives a player btools',{},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil then
- for i, v in pairs(players) do
- Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
- Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
- Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
- end
- end
- end)
- addcmd('god', 'gods player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=math.huge end
- end
- end)
- addcmd('sgod', 'silently gods player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- spawn(function()
- pchar.Humanoid.MaxHealth = 10000000
- wait()
- pchar.Humanoid.Health = 10000000
- end)
- end
- end)
- addcmd('ungod', 'removes god from a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then
- pchar.Humanoid.MaxHealth=100
- pchar.Humanoid.Health=100
- end
- end
- end)
- addcmd('heal', 'resets a players health',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
- end
- end)
- addcmd('frz', 'freezes a player',{'freeze'},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil then
- for i, v in pairs(players) do
- _char(v).Torso.Anchored = true
- end
- end
- end)
- addcmd('thaw', 'freezes a player',{},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil then
- for i, v in pairs(players) do
- _char(v).Torso.Anchored = false
- end
- end
- end)
- addcmd('kill', 'kills a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
- end
- end)
- addcmd('sound', 'plays a sound',{},
- function(args)
- local function dels(instance)
- for i,v in pairs(instance:GetChildren())do
- if v:IsA'Sound'then v:Destroy()end
- dels(v)
- end
- end
- dels(workspace)
- local c = args[1] or 'stop'
- if std.inTable({'stop'}, c:lower()) then return end
- local s = Instance.new("Sound", workspace)
- s.Name = "DuckSong"
- s.Looped = true
- s.SoundId = "rbxassetid://" .. c
- s.Volume = 1
- s:Play()
- end)
- addcmd('volume','changes volume of sound',{},
- function(args)
- for i,v in pairs(game.Workspace:GetChildren())do
- if v:IsA("Sound") and v.Name == "DuckSong" then
- v.Volume = args[1]
- end
- end
- end)
- addcmd('pitch','changes pitch of sound',{},
- function(args)
- for i,v in pairs(game.Workspace:GetChildren())do
- if v:IsA("Sound") and v.Name == "DuckSong" then
- v.Pitch = args[1]
- end
- end
- end)
- addcmd('explode', 'explode a player', {},
- function(args)
- local players = getPlayer(args[1])
- for i, v in pairs(players) do
- local char = _char(v)
- if char:FindFirstChild("Torso") then
- Instance.new("Explosion", char).Position = char.Torso.Position
- end
- end
- end)
- addcmd('invis', 'make a player invisible',{},
- function(args)
- local players = getPlayer(args[1])
- for i, v in pairs(players) do
- for k, v2 in pairs(_char(v):GetChildren()) do
- if v2.className == "Part" then
- if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
- elseif v2.className == "Hat" then
- if v2:FindFirstChild("Handle") then
- v2.Handle.Transparency = 1
- end
- end
- if v2:FindFirstChild("face") then
- v2.face:Destroy()
- end
- end
- end
- end)
- addcmd('vis', 'make a player visible',{},
- function(args)
- local players = getPlayer(args[1])
- for i, v in pairs(players) do
- for k, v2 in pairs(_char(v):GetChildren()) do
- if v2.className == "Part" then
- if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
- elseif v2.className == "Hat" then
- if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
- end
- if v2:FindFirstChild("face") then
- v2.face:Destroy()
- end
- end
- end
- end)
- addcmd('goto', 'go to a player',{},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
- _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
- end
- end)
- addcmd('bring', 'bring a player to you',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('tp', 'teleport player 1 to player 2',{},
- function(args)
- local players1=getPlayer(args[1])
- local players2=getPlayer(args[2])
- if not players2[1] then return end
- for i,v in pairs(players1) do
- if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('charapp', 'change a players appearance',{'char'},
- function(args)
- local players = getPlayer(args[1])
- if not args[1]or not args[2]then return end
- local id=args[2]
- if players ~= nil then
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
- if _char(v):FindFirstChild("Head") then
- _char(v).Head:Destroy()
- end
- end
- end
- end)
- addcmd('ws', 'change a players walkspeed',{},
- function(args)
- local players = getPlayer(args[1])
- if not args[1]or not args[2]then return end
- local num=args[2]
- for i,v in pairs(players) do
- if _char(v):FindFirstChild("Humanoid") then
- _char(v).Humanoid.WalkSpeed=tonumber(num)
- end
- end
- end)
- addcmd('time', 'change the time of day',{},
- function(args)
- if not args[1]then return end
- local time_=tonumber(args[1])
- game.Lighting:SetMinutesAfterMidnight(time_*60)
- end)
- addcmd('kick', 'kick a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- Notify('Kicked ' .. gPlayers[v].Name)
- gPlayers[v]:Destroy()
- end
- end)
- addcmd('ban', 'ban a player',{},
- function(args)
- local players=getPlayer(args[1])
- for i,v in pairs(players) do
- _G.Banned(gPlayers[v].Name)
- gPlayers[v]:Destroy()
- end
- end)
- addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
- function(args)
- local function unlock(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end)
- addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
- function(args)
- local function unanchor(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored=false
- end
- unanchor(v)
- end
- end
- unanchor(workspace)
- end)
- addcmd('hat', 'give player a hat ingame',{},
- function(args)
- if not args[1] or not args[2] then return end
- local players = getPlayer(args[1])
- local id=args[2]
- local hat = game:GetService("InsertService"):LoadAsset(id)
- if hat:IsA("Hat") then
- for i,v in pairs(players) do
- hat:clone().Parent = _char(v)
- end
- end
- hat:Destroy()
- end)
- addcmd('gear', 'give player a gear ingame',{},
- function(args)
- spawn(function()
- if not args[1] or not args[2] then return end
- local players = getPlayer(args[1])
- local id=args[2]
- local model = game:GetService("InsertService"):LoadAsset(id)
- for i,v in pairs(players) do
- for _,j in pairs(model:GetChildren()) do
- if j:IsA("Tool") then
- j:Clone().Parent = gPlayers[v].Backpack
- end
- end
- end
- model:Destroy()
- end)
- end)
- addcmd('pstools', 'give player personal server tools',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].PersonalServerRank = 240
- end
- end)
- addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- spawn(function()
- gPlayers[v].PersonalServerRank = 240
- gPlayers[v].Backpack:WaitForChild("ClassicTool")
- gPlayers[v].PersonalServerRank = 0
- end)
- end
- end)
- addcmd('admin', 'gives a player admin',{},
- function(args)
- if not args[1]then return end
- local players = getPlayer(args[1])
- table.foreach(players,function(k,v)
- admins[v]=true
- Notify(gPlayers[v].Name .. ' has been given Admin.')
- end)
- for i,v in pairs(players) do
- local pchar = gPlayers[v].Character
- game.Chat:Chat(pchar.Head, "You've been given admin.")
- wait(2.5)
- game.Chat:Chat(pchar.Head, 'Prefix is "' .. cmdprefix .. '"')
- wait(2.5)
- game.Chat:Chat(pchar.Head, "[NO] ;fire me [YES] ;fire YourName")
- wait(2.5)
- game.Chat:Chat(pchar.Head, "You may now use commands.")
- end
- end)
- addcmd('unadmin', 'removes a players admin',{},
- function(args)
- if not args[1] then return end
- local players = getPlayer(args[1])
- table.foreach(players,function(k,v)
- admins[v]=nil
- Notify(gPlayers[v].Name .. ' no longer has Admin.')
- end)
- end)
- addcmd('firstp', 'forces player to go into first person',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- gPlayers[v].CameraMode = "LockFirstPerson"
- end
- end)
- addcmd('thirdp', 'allows player to go into third person',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- gPlayers[v].CameraMode = "Classic"
- end
- end)
- addcmd('chat', 'forces player to chat what you input',{},
- function(args)
- local players = getPlayer(args[1])
- local MSG = table.concat(args, " ")
- local newMSG = string.gsub(MSG, args[1] .. " ", "")
- for i,v in pairs(players)do
- game.Chat:Chat(gPlayers[v].Character.Head, newMSG)
- end
- end)
- addcmd('insert', 'inserts a model',{},
- function(args)
- local model = game:GetService("InsertService"):LoadAsset(args[1])
- model.Parent = game.Workspace
- model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
- model:MakeJoints()
- end)
- addcmd('name', 'names player',{},
- function(args)
- local players = getPlayer(args[1])
- local msg = table.concat(args, " ")
- local newmsg = string.gsub(msg, args[1] .. " ", "")
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- local char = gPlayers[v].Character
- local model = Instance.new("Model", char)
- local clone = char.Head:Clone()
- local hum = Instance.new("Humanoid", model)
- local weld = Instance.new("Weld", clone)
- model.Name = newmsg
- clone.Parent = model
- hum.Name = "TAG"
- hum.MaxHealth = 100
- hum.Health = 100
- weld.Part0 = clone
- weld.Part1 = char.Head
- char.Head.Transparency = 1
- end
- end)
- addcmd('unname', 'unnames player',{},
- function(args)
- local players = getPlayer(args[1])
- local name = (args[2])
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Character:children()) do
- if mod:FindFirstChild("TAG") then
- gPlayers[v].Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- end
- end)
- addcmd('stun', 'stuns player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.PlatformStand = true
- end
- end)
- addcmd('unstun', 'stuns player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.PlatformStand = false
- end
- end)
- addcmd('sit', 'stuns player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.Sit = true
- end
- end)
- addcmd('guest', 'ew a guest',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
- gPlayers[v].Character:BreakJoints()
- end
- end)
- addcmd('damage', 'damages a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
- end
- end)
- addcmd('view', 'views player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
- end
- end)
- addcmd('unview', 'stops viewing player',{},
- function()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- end)
- addcmd('nolimbs', 'removes limbs from player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "Right Leg" or
- v.Name == "Left Leg" or
- v.Name == "Right Arm" or
- v.Name == "Left Arm" then
- v:Remove()
- end
- end
- end
- end)
- addcmd('box', 'creates a box around player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- local SB = Instance.new("SelectionBox", pchar)
- SB.Adornee = SB.Parent
- SB.Color = BrickColor.new("" .. (args[2]))
- end
- end)
- addcmd('nobox', 'takes away box from player',{'unbox'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(gPlayers[v].Character:GetChildren()) do
- if v:IsA("SelectionBox") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('ghost', 'ghostifys player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- pchar.Head.Transparency = 0.5
- pchar.Torso.Transparency = 0.5
- pchar["Left Arm"].Transparency = 0.5
- pchar["Right Arm"].Transparency = 0.5
- pchar["Left Leg"].Transparency = 0.5
- pchar["Right Leg"].Transparency = 0.5
- pchar.Head.face.Transparency = 0.5
- end
- end)
- addcmd('sphere', 'puts sphere around player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local SS = Instance.new("SelectionSphere", pchar)
- SS.Adornee = SS.Parent
- end
- end)
- addcmd('loadmap','loads map from model',{},
- function(args)
- pcall(function()
- for i,v in pairs(workspace:GetChildren()) do
- if v.Name~="Camera" and v.Name~="Terrain" then
- v:Destroy()
- end
- end
- workspace.Terrain:Clear()
- for i,v in pairs(game.Players:GetChildren()) do
- local plr = v
- local prt = Instance.new("Model", workspace)
- Instance.new("Part", prt).Name="Torso"
- Instance.new("Part", prt).Name="Head"
- Instance.new("Humanoid", prt).Name="Humanoid"
- plr.Character = prt
- end
- if (args[1]) == "sfotho" then
- local b = Insert(296400126, game.Workspace, "sfotho")
- b:MakeJoints()
- end
- local b = Insert(args[1], game.Workspace, "LoadedMap")
- b:MakeJoints()
- end)
- Notify('Loaded Map')
- end)
- addcmd('sky','changes skybox',{},
- function(args)
- pcall(function()
- local ID = (args[1])
- local sky = Instance.new("Sky", game.Lighting)
- sky.SkyboxBk = "rbxassetid://" .. ID
- sky.SkyboxDn = "rbxassetid://" .. ID
- sky.SkyboxFt = "rbxassetid://" .. ID
- sky.SkyboxLf = "rbxassetid://" .. ID
- sky.SkyboxRt = "rbxassetid://" .. ID
- sky.SkyboxUp = "rbxassetid://" .. ID
- end)
- end)
- addcmd('ambient','changes ambient',{},
- function(args)
- game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
- end)
- addcmd('gui','gives YourMom GUI',{},
- function(args)
- loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
- end)
- addcmd('jail','jails player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local JailPlayer = DATA.JAIL:Clone()
- JailPlayer.Parent = game.Workspace
- JailPlayer:MoveTo(pchar.Torso.Position)
- JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
- if pchar:FindFirstChild("HumanoidRootPart") then
- pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
- end
- end
- end)
- addcmd('unjail','unjails player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
- end
- end)
- addcmd('shutdown', 'shuts the server down',{},
- function(args)
- local function ShutDown(Base)
- for i,v in pairs(Base:GetChildren()) do
- v:Destroy()
- end
- end
- ShutDown(game.Players)
- end)
- addcmd('animation','makes player animate',{'anim'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local ID = args[2]
- if args[2] == "climb" then
- ID = "180436334"
- end
- if args[2] == "fall" then
- ID = "180436148"
- end
- if args[2] == "jump" then
- ID = "125750702"
- end
- if args[2] == "sit" then
- ID = "178130996"
- end
- for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
- if x:IsA("StringValue") then
- for _,c in pairs(x:GetChildren()) do
- if c:IsA("Animation") then
- c.AnimationId = "rbxassetid://" .. ID
- end
- end
- end
- end
- end
- end)
- addcmd('fix','turns player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
- Player.Character["Shirt Graphic"].Graphic = ""
- end
- local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
- HeadMesh.MeshType = "Head"
- HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- pchar.Head.Transparency = 0
- pchar.Torso.Transparency = 0
- pchar["Left Arm"].Transparency = 0
- pchar["Right Arm"].Transparency = 0
- pchar["Left Leg"].Transparency = 0
- pchar["Right Leg"].Transparency = 0
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- local face = Instance.new("Decal", pchar.Head)
- face.Name = "face"
- face.Texture = "rbxasset://textures/face.png"
- face.Face = "Front"
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Seat") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Weld") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
- for _,v in pairs(Player.Character:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('creeper','make the player a creeper',{'crpr'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants.Parent = pchar.Torso
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
- pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
- pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
- end
- end
- end)
- addcmd('uncreeper','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd("fix " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('shrek', 'makes player shrek',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- local mesh = Instance.new("SpecialMesh", pchar.Head)
- mesh.MeshType = "FileMesh"
- pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
- local Shirt = Instance.new("Shirt", gPlayers[v].Character)
- local Pants = Instance.new("Pants", gPlayers[v].Character)
- Shirt.ShirtTemplate = "rbxassetid://133078194"
- Pants.PantsTemplate = "rbxassetid://133078204"
- end
- end)
- addcmd('unshrek','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd("fix " .. gPlayers[v].Name, Player)
- end
- end)
- local Spamming = false
- addcmd('spam','spams text',{},
- function(args)
- Spamming = true
- spawn(function()
- while wait(0) do
- if Spamming == true then
- while wait(0.1) do
- if Spamming == true then
- game.Players:Chat("" .. args[1])
- elseif Spamming == false then
- return
- end
- end
- end
- end
- end)
- end)
- addcmd('nospam','stops spamming',{},
- function(args)
- Spamming = false
- end)
- addcmd('control','controls player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar then
- pchar.Humanoid.PlatformStand = true
- local w = Instance.new("Weld", Player.Character.Torso)
- w.Part0 = Player.Character.Torso
- w.Part1 = pchar.Torso
- local w2 = Instance.new("Weld", Player.Character.Head)
- w2.Part0 = Player.Character.Head
- w2.Part1 = pchar.Head
- local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
- w3.Part0 = Player.Character:findFirstChild("Right Arm")
- w3.Part1 = pchar:findFirstChild("Right Arm")
- local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
- w4.Part0 = Player.Character:findFirstChild("Left Arm")
- w4.Part1 = pchar:findFirstChild("Left Arm")
- local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
- w5.Part0 = Player.Character:findFirstChild("Right Leg")
- w5.Part1 = pchar:findFirstChild("Right Leg")
- local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
- w6.Part0 = Player.Character:findFirstChild("Left Leg")
- w6.Part1 = pchar:findFirstChild("Left Leg")
- char.Head.face:Destroy()
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- elseif v:IsA("Hat") then
- v:Destroy()
- end
- end
- pchar.Parent = char
- pchar.Humanoid.Changed:connect(function()
- pchar.Humanoid.PlatformStand = true
- end)
- end
- end
- end)
- addcmd('nuke','nukes player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pchar:FindFirstChild("Torso") then
- local nuke = Instance.new("Part", game.Workspace)
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.FormFactor = "Symmetric"
- nuke.Shape = "Ball"
- nuke.Size = Vector3.new(1,1,1)
- nuke.BrickColor = BrickColor.new("New Yeller")
- nuke.Transparency = 0.5
- nuke.Reflectance = 0.2
- nuke.TopSurface = 0
- nuke.BottomSurface = 0
- nuke.Touched:connect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new("Explosion", game.Workspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = pchar.Torso.CFrame
- nuke.CFrame = CF
- for i = 1,333 do
- nuke.Size = nuke.Size + Vector3.new(3,3,3)
- nuke.CFrame = CF
- wait(1/44)
- end
- nuke:Destroy()
- end
- end
- end)
- addcmd('infect','infects player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- function infect(rip)
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- if pchar.Torso:FindFirstChild("roblox") then
- pchar.Torso.roblox:Destroy()
- end
- if pchar.Head:FindFirstChild("face") then
- pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
- end
- if pchar:FindFirstChild("Body Colors") then
- local Colors = pchar["Body Colors"]
- local Skin = BrickColor.new("Pastel green")
- local Clothes = BrickColor.new("Reddish brown")
- Colors.HeadColor = Skin
- Colors.LeftArmColor = Skin
- Colors.RightArmColor = Skin
- Colors.LeftLegColor = Clothes
- Colors.RightLegColor = Clothes
- Colors.TorsoColor = Clothes
- end
- local w1 = Instance.new("Weld", pchar)
- w1.Part0 = pchar["Right Arm"]
- w1.Part1 = pchar.Torso
- w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local w2 = Instance.new("Weld", pchar)
- w2.Part0 = pchar["Left Arm"]
- w2.Part1 = pchar.Torso
- w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local rip = false
- local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
- if connect1 == false then
- connect1 = true
- if game.Players:FindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect1 = true
- end
- end)
- local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
- if connect2 == false then
- connect2 = true
- if game.Players:FindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect2 = true
- end
- end)
- local IV = Instance.new("IntValue", pchar)
- IV.Name = "Infected"
- IV.Value = 0
- IV.Changed:connect(function()
- connect1:disconnect()
- connect2:disconnect()
- end)
- end
- infect(v)
- end
- end)
- addcmd('uninfect','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd("fix " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('duck','makes players head a duck',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v:IsA("Decal") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", pchar.Torso)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- pchar.Head.Transparency = 1
- pchar["Left Arm"].Transparency = 1
- pchar["Right Arm"].Transparency = 1
- pchar["Left Leg"].Transparency = 1
- pchar["Right Leg"].Transparency = 1
- pchar.Head.face.Transparency = 1
- end
- end)
- addcmd('unduck','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd("fix " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('disable','removes players humanoid',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
- local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
- humanoid.Parent = game.ContextActionService
- end
- end
- end)
- addcmd('enable','gives player humanoid',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- return
- else
- local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
- humanoid.Parent = pchar
- humanoid.Name = "Humanoid"
- end
- end
- end)
- addcmd('size','changes size of player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, args[2])
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- end)
- addcmd('confuse','reverses players speed',{'reverse'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Humanoid.WalkSpeed = tonumber(-16)
- end
- end)
- addcmd('unconfuse','reverses players speed',{'unreverse'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Humanoid.WalkSpeed = tonumber(16)
- end
- end)
- addcmd('clone','clones player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Archivable = true
- local clone = pchar:Clone()
- clone.Parent = game.Workspace
- clone:MoveTo(pchar:GetModelCFrame().p)
- clone:MakeJoints()
- pchar.Archivable = false
- end
- end)
- addcmd('spin','spins player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- local Torso = pchar.Torso
- local BG = Instance.new("BodyGyro", Torso)
- BG.Name = "Spinning"
- BG.maxTorque = Vector3.new(0, math.huge, 0)
- BG.P = 11111
- BG.cframe = Torso.CFrame
- repeat wait(1/44)
- BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= Torso
- end
- end)
- addcmd('unspin','stops spinning player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('dog','makes player a dog',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt:Destroy()
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants:Destroy()
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- pchar.Torso.Transparency = 1
- pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
- pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
- local FakeTorso = Instance.new("Seat", pchar)
- FakeTorso.Name = "FakeTorso"
- FakeTorso.FormFactor = "Symmetric"
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new("Brown")
- FakeTorso.CFrame = pchar.Torso.CFrame
- local BF = Instance.new("BodyForce", FakeTorso)
- BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
- local W = Instance.new("Weld", pchar.Torso)
- W.Part0 = pchar.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0,-.5,0)
- local BC = pchar["Body Colors"]
- BC.HeadColor = BrickColor.new("Brown")
- BC.LeftArmColor = BrickColor.new("Brown")
- BC.LeftLegColor = BrickColor.new("Brown")
- BC.RightArmColor = BrickColor.new("Brown")
- BC.RightLegColor = BrickColor.new("Brown")
- BC.TorsoColor = BrickColor.new("Brown")
- end
- end)
- addcmd('undog','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd("fix " .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('tptool','gives player tptool',{''},
- function(args)
- local tool = DATA.Teleport:Clone()
- tool.Parent = Player.Backpack
- end)
- addcmd('loopsit','loop sits player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopSit") then
- pchar.LoopSit.Name = "NotLoopSit"
- wait(0.1)
- pchar.NotLoopSit:Destroy()
- end
- local LoopSit = Instance.new("StringValue", pchar)
- LoopSit.Name = "LoopSit"
- repeat wait(0.1)
- pchar.Humanoid.Sit = true
- until LoopSit.Name == "NotLoopSit"
- end
- end)
- addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopSit") then
- pchar.LoopSit.Name = "NotLoopSit"
- wait(0.1)
- pchar.NotLoopSit:Destroy()
- end
- end
- end)
- addcmd('loopjump','loop jumps player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopJump") then
- pchar.LoopJump.Name = "NotLoopJump"
- wait(0.1)
- pchar.NotLoopJump:Destroy()
- end
- local LoopJump = Instance.new("StringValue", pchar)
- LoopJump.Name = "LoopJump"
- repeat wait(0.1)
- pchar.Humanoid.Jump = true
- until LoopJump.Name == "NotLoopJump"
- end
- end)
- addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopJump") then
- pchar.LoopJump.Name = "NotLoopJump"
- wait(0.1)
- pchar.NotLoopJump:Destroy()
- end
- end
- end)
- addcmd('loopheal','loop heals player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopHeal") then
- pchar.LoopHeal.Name = "NotLoopHeal"
- wait(0.1)
- pchar.NotLoopHeal:Destroy()
- end
- local LoopHeal = Instance.new("StringValue", pchar)
- LoopHeal.Name = "LoopHeal"
- repeat wait(0.1)
- pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
- until LoopHeal.Name == "NotLoopHeal"
- end
- end)
- addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("LoopHeal") then
- pchar.LoopHeal.Name = "NotLoopHeal"
- wait(0.1)
- pchar.NotLoopHeal:Destroy()
- end
- end
- end)
- addcmd('fling','flings player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Humanoid") then
- local xran
- local zran
- repeat
- xran = math.random(-9999,9999)
- until math.abs(xran) >= 5555
- repeat
- zran = math.random(-9999,9999)
- until math.abs(zran) >= 5555
- pchar.Humanoid.Sit = true
- pchar.Torso.Velocity = Vector3.new(0,0,0)
- local BF = Instance.new("BodyForce", pchar.Torso)
- BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
- end
- end
- end)
- addcmd('nograv','makes player have moon gravity',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "NoGrav" then
- v:Destroy()
- end
- end
- local BF = Instance.new("BodyForce", pchar.Torso)
- BF.Name = "NoGrav"
- BF.Force = Vector3.new(0,2700,0)
- end
- end)
- addcmd('grav','makes player have normal gravity',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.Name == "NoGrav" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('seizure','makes player have a seizure',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Seizure") then
- end
- local Seizure = Instance.new("StringValue", pchar)
- Seizure.Name = "Seizure"
- pchar.Humanoid.PlatformStand = true
- repeat wait()
- pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
- pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- until Seizure.Name == "NotSeizure"
- end
- end)
- addcmd('unseizure','makes player stop having a seizure',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Seizure") then
- pchar.Humanoid.PlatformStand = false
- pchar.Seizure.Name = "NotSeizure"
- wait(0.1)
- pchar.NotSeizure:Destroy()
- end
- end
- end)
- addcmd('cape','gives you a cape',{''},
- function(args)
- if not args[1] then
- args[1] = 1012
- end
- capeColor = args[1]
- Cape(Player)
- end)
- addcmd('uncape','takes cape away from you',{''},
- function(args)
- if char:FindFirstChild("Cape") ~= nil then
- char.Cape:Destroy()
- end
- end)
- addcmd('paper','makes player thin as paper',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local LA = DATA.Paper:Clone()
- LA.Parent = pchar["Left Arm"]
- local RA = DATA.Paper:Clone()
- RA.Parent = pchar["Right Arm"]
- local LL = DATA.Paper:Clone()
- LL.Parent = pchar["Left Leg"]
- local RL = DATA.Paper:Clone()
- RL.Parent = pchar["Right Leg"]
- local T = DATA.Paper:Clone()
- T.Parent = pchar.Torso
- local H = DATA.Paper:Clone()
- H.Parent = pchar.Head
- pchar.Head.face:Destroy()
- end
- end)
- addcmd('punish','punishs player',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Parent = game.Lighting
- end
- end)
- addcmd('unpunish','unpunishs player',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
- game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
- end
- end
- end)
- addcmd('disco','disco party',{''},
- function(args)
- Disco = true
- if Disco == true then
- repeat wait(0.3)
- game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
- until Disco == false
- end
- end)
- addcmd('undisco','rip disco party',{''},
- function(args)
- Disco = false
- wait(0.1)
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- end)
- -- Extras --
- Floating = false
- addcmd('float', 'makes player float',{},
- function(args,speaker)
- Floating = true
- local players = getPlayer(args[1])
- for _,v in pairs(players) do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
- spawn(function()
- local float = DATA.Float:Clone()
- float.Parent = pchar
- float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
- spawn(function()
- while wait(0.1) do
- if pchar:FindFirstChild("Float") then
- float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
- else
- break
- end
- end
- end)
- end)
- end
- end
- end)
- addcmd('unfloat','disables floating',{},
- function(args)
- Floating = false
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Float") then
- pchar.Float:Destroy()
- end
- end
- end)
- local Clip = true
- addcmd('noclip','enables noclip',{},
- function(args)
- Notify('NoClip Enabled')
- Clip = false
- wait(1)
- Name = game.Players.LocalPlayer.Name
- game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
- delay(0, function()
- if NC.Name ~= "OuputGUI" then
- NC:Destroy()
- end
- end)
- end)
- game:GetService('RunService').Stepped:connect(function ()
- game.Workspace[Name].Torso.CanCollide = Clip
- game.Workspace[Name].Head.CanCollide = Clip
- end)
- game.Workspace[Name].Torso.Changed:connect(function()
- game.Workspace[Name].Torso.CanCollide = Clip
- game.Workspace[Name].Head.CanCollide = Clip
- end)
- end)
- addcmd('clip','disables noclip',{},
- function(args)
- Notify('NoClip Disabled')
- Clip = true
- end)
- wait(0.1)
- addcmd('prefix','changes prefix',{},
- function(args)
- cmdprefix = args[1]
- Notify('Changed prefix to "' .. args[1] .. '"')
- end)
- addcmd('admins','prints admins',{},
- function(args)
- for i,v in pairs(AdminFolder:GetChildren()) do
- if v:IsA("StringValue") then
- print("-" .. v.Value)
- Notify('Printed Admins, Check Console')
- end
- end
- end)
- addcmd('bans','prints bans',{},
- function(args)
- for i,v in pairs(BanFolder:GetChildren()) do
- if v:IsA("StringValue") then
- print("-" .. v.Value)
- Notify('Printed Bans, Check Console')
- end
- end
- end)
- addcmd('version','shows version',{''},
- function(args)
- Notify("Version is " .. Version)
- end)
- --| Floating |--
- Mouse.KeyDown:connect(function (Key)
- if Key:byte() == 29 then
- if Floating == false then
- execCmd("float me", Player)
- Floating = true
- elseif Floating == true then
- execCmd("unfloat me", Player)
- Floating = false
- end
- end
- end)
- --| Ban Data |--
- for i,v in pairs(BannedPlayers) do
- local ban = Instance.new("StringValue", BanFolder)
- ban.Value = v
- ban.RobloxLocked = true
- end
- spawn(function ()
- while wait(0.1) do
- for _,a in pairs(game.ContextActionService:GetChildren()) do
- if a.Name == "BanList" then
- for _,b in pairs(a:GetChildren()) do
- if b:IsA("StringValue") then
- for _,c in pairs(game.Players:GetChildren()) do
- if c.Name == b.Value then
- c.PersonalServerRank = 200
- wait(0.1)
- c.PersonalServerRank = 0
- end
- end
- end
- end
- end
- end
- end
- end)
- --| Admin |--
- for i,v in pairs(admins) do
- local admin = Instance.new("StringValue", AdminFolder)
- admin.Value = v
- admin.RobloxLocked = true
- end
- spawn(function ()
- while wait(0.1) do
- for _,a in pairs(game.ContextActionService:GetChildren()) do
- if a.Name == "AdminList" then
- for _,b in pairs(a:GetChildren()) do
- if b:IsA("StringValue") then
- for _,c in pairs(game.Players:GetChildren()) do
- if c.Name == b.Value then
- execCmd('admin ' .. c.Name)
- end
- end
- end
- end
- end
- end
- end
- end)
- --| Don't.. Touch.. |--
- --| CMD Bar |--
- CMDbar = Instance.new('ScreenGui', game.CoreGui)
- CMDbar.Name = 'GUI'
- cmdBAR = Instance.new('TextBox', CMDbar)
- cmdBAR.Name = 'CMDbar'
- cmdBAR.Active = true
- cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
- cmdBAR.BackgroundTransparency = 0.5
- cmdBAR.BorderColor = BrickColor.new(0,0,0)
- cmdBAR.BorderSizePixel = 0
- cmdBAR.Position = UDim2.new(0,0,1,-25)
- cmdBAR.Size = UDim2.new(0,200,0,20)
- cmdBAR.Font = 'SourceSans'
- cmdBAR.FontSize = 'Size18'
- cmdBAR.Text = 'Press ; to Execute a Command'
- cmdBAR.TextColor = BrickColor.new(255,255,255)
- --| Data |--
- DATA = Instance.new('Folder', game.ContextActionService)
- DATA.Name = 'Data'
- Paper = Instance.new('BlockMesh', DATA)
- Paper.Name = 'Paper'
- Paper.Scale = Vector3.new(1,1,0.1)
- ayylmao = Instance.new('Hat', DATA)
- ayylmao.Name = 'ayylmao'
- ayyHandle = Instance.new('Part', ayylmao)
- ayyHandle.Name = 'Handle'
- ayyHandle.Size = Vector3.new(2,2.4,2)
- ayyHandle.FormFactor = 'Plate'
- ayyMesh = Instance.new('SpecialMesh', ayyHandle)
- ayyMesh.Scale = Vector3.new(1,1.02,1)
- ayyMesh.MeshType = 'FileMesh'
- ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
- ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
- Float = Instance.new('Part', DATA)
- Float.Name = 'Float'
- Float.Transparency = 1
- Float.Size = Vector3.new(6,1,6)
- Float.Anchored = true
- cmdGUI = Instance.new('ScreenGui', DATA)
- cmdGUI.Name = 'CMDs'
- cmdMAIN = Instance.new('Frame', cmdGUI)
- cmdMAIN.Name = 'MAIN'
- cmdMAIN.Active = true
- cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
- cmdMAIN.BackgroundTransparency = 0.5
- cmdMAIN.BorderColor = BrickColor.new(0,0,0)
- cmdMAIN.BorderSizePixel = 0
- cmdMAIN.Position = UDim2.new(0,10,0,350)
- cmdMAIN.Size = UDim2.new(0,170,0,15)
- cmdMAIN.Draggable = true
- cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
- cmdCMDs.Name = 'CMDs'
- cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
- cmdCMDs.BackgroundTransparency = 0.8
- cmdCMDs.BorderColor = BrickColor.new(0,0,0)
- cmdCMDs.BorderSizePixel = 0
- cmdCMDs.Position = UDim2.new(0,0,0,15)
- cmdCMDs.Size = UDim2.new(0,200,0,150)
- cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
- cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
- cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
- cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
- cmdCMDs.ScrollBarThickness = 2
- cmdExit = Instance.new('TextButton', cmdMAIN)
- cmdExit.Name = 'Exit'
- cmdExit.BackgroundColor = BrickColor.new(255,0,0)
- cmdExit.BackgroundTransparency = 0.5
- cmdExit.BorderColor = BrickColor.new(255,0,0)
- cmdExit.BorderSizePixel = 0
- cmdExit.Position = UDim2.new(0,185,0,0)
- cmdExit.Size = UDim2.new(0,15,0,15)
- cmdExit.Text = ""
- ExitScript = Instance.new('LocalScript', cmdExit)
- ExitScript.Source =
- [[
- script.Parent.MouseButton1Down:connect(function()
- script.Parent.Parent.Parent:Destroy()
- end)
- ]]
- cmdMin = Instance.new('TextButton', cmdMAIN)
- cmdMin.Name = 'MM'
- cmdMin.BackgroundColor = BrickColor.new(140,140,140)
- cmdMin.BackgroundTransparency = 0.5
- cmdMin.BorderColor = BrickColor.new(140,140,140)
- cmdMin.BorderSizePixel = 0
- cmdMin.Position = UDim2.new(0,170,0,0)
- cmdMin.Size = UDim2.new(0,15,0,15)
- cmdMin.Text = ""
- MinScript = Instance.new('LocalScript', cmdMin)
- MinScript.Source =
- [[
- local CMDs = script.Parent.Parent.CMDs
- script.Parent.MouseButton1Down:connect(function()
- if CMDs.Visible == true then
- CMDs.Visible = false
- elseif CMDs.Visible == false then
- CMDs.Visible = true
- end
- end)
- ]]
- cmdEx = Instance.new('TextLabel', cmdMAIN)
- cmdEx.Name = 'Example'
- cmdEx.BackgroundColor = BrickColor.new(0,0,0)
- cmdEx.BackgroundTransparency = 0.8
- cmdEx.BorderColor = BrickColor.new(0,0,0)
- cmdEx.BorderSizePixel = 0
- cmdEx.Position = UDim2.new(0,5,0,20)
- cmdEx.Size = UDim2.new(0,190,0,20)
- cmdEx.Visible = false
- cmdEx.TextColor = BrickColor.new(255,255,255)
- cmdEx.TextXAlignment = 'Left'
- duckGUI = Instance.new('ScreenGui', DATA)
- duckGUI.Name = 'Duck'
- duckImage = Instance.new('ImageLabel', duckGUI)
- duckImage.BackgroundTransparency = 1
- duckImage.Position = UDim2.new(0,-300,1,-150)
- duckImage.Size = UDim2.new(0,300,0,300)
- duckImage.Rotation = -30
- duckImage.Image = 'rbxassetid://301388647'
- duckScript = Instance.new('LocalScript', duckGUI)
- duckScript.Source =
- [[
- local duck = script.Parent.ImageLabel
- wait(2)
- duck:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
- ]]
- espMAIN = Instance.new('BillboardGui', DATA)
- espMAIN.Name = 'MAIN'
- espMAIN.AlwaysOnTop = true
- espMAIN.ExtentsOffset = Vector3.new(0,1,0)
- espMAIN.Size = UDim2.new(0,5,0,5)
- espMAIN.StudsOffset = Vector3.new(0,1,0)
- espDot = Instance.new('Frame', espMAIN)
- espDot.BackgroundColor = BrickColor.new(42,181,255)
- espDot.BackgroundTransparency = 0.3
- espDot.BorderSizePixel = 0
- espDot.Position = UDim2.new(-0.5,0,-0.5,0)
- espDot.Size = UDim2.new(2,0,2,0)
- espDot.Visible = false
- espDot.ZIndex = 10
- espName = Instance.new('TextLabel', espMAIN)
- espName.Name = 'Name'
- espName.BackgroundColor = BrickColor.new(0,0,0)
- espName.BackgroundTransparency = 1
- espName.BorderColor = BrickColor.new(0,0,0)
- espName.BorderSizePixel = 0
- espName.Position = UDim2.new(0,0,0,-35)
- espName.Size = UDim2.new(1,0,10,0)
- espName.Visible = false
- espName.ZIndex = 10
- notifyMAIN = Instance.new('ScreenGui', DATA)
- notifyMAIN.Name = 'Notification'
- notifyNOT = Instance.new('Frame', notifyMAIN)
- notifyNOT.Name = 'NOTIFY'
- notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
- notifyNOT.BackgroundTransparency = 0.5
- notifyNOT.BorderColor = BrickColor.new(255,255,255)
- notifyNOT.BorderSizePixel = 2
- notifyNOT.Position = UDim2.new(0,-200,0.7,0)
- notifyNOT.Size = UDim2.new(0,200,0,30)
- notifyNOTE = Instance.new('TextLabel', notifyNOT)
- notifyNOTE.Name = 'NOTE'
- notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
- notifyNOTE.BackgroundTransparency = 1
- notifyNOTE.BorderColor = BrickColor.new(255,255,255)
- notifyNOTE.BorderSizePixel = 0
- notifyNOTE.Size = UDim2.new(1,0,1,0)
- notifyNOTE.ZIndex = 10
- notifyNOTE.FontSize = 'Size18'
- notifyNOTE.Font = 'SourceSans'
- notifyNOTE.Text = 'NOTIFY'
- notifyNOTE.TextColor = BrickColor.new(255,255,255)
- notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
- notifyNOTE.TextStrokeTransparency = 0.8
- tpTool = Instance.new('HopperBin', DATA)
- tpTool.Name = 'Teleport'
- tpScript = Instance.new('LocalScript', tpTool)
- tpScript.Source =
- [[
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local Tool = script.Parent
- Mouse.Button1Down:connect(function()
- if Mouse.Target and Tool.Active then
- Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
- end
- end)
- ]]
- modJAIL = Instance.new('Model', DATA)
- modJAIL.Name = 'JAIL'
- botJAIL = Instance.new('Part', modJAIL)
- botJAIL.Name = 'BOTTOM'
- botJAIL.BrickColor = BrickColor.new('Black')
- botJAIL.Transparency = 0.5
- botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
- botJAIL.Anchored = true
- botJAIL.Locked = true
- botJAIL.Size = Vector3.new(6,1,6)
- botJAIL.TopSurface = 'Smooth'
- botJAIL.BottomSurface = 'Smooth'
- topJAIL = Instance.new('Part', modJAIL)
- topJAIL.Name = 'BOTTOM'
- topJAIL.BrickColor = BrickColor.new('Black')
- topJAIL.Transparency = 0.5
- topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
- topJAIL.Anchored = true
- topJAIL.Locked = true
- topJAIL.Size = Vector3.new(6,1,6)
- topJAIL.TopSurface = 'Smooth'
- topJAIL.BottomSurface = 'Smooth'
- p1 = Instance.new('Part', modJAIL)
- p1.Name = 'MAIN'
- p1.BrickColor = BrickColor.new('Black')
- p1.Transparency = 1
- p1.Position = Vector3.new(-8.7,4,-11.6)
- p1.Rotation = Vector3.new(-180,0,-180)
- p1.Anchored = true
- p1.Locked = true
- p1.Size = Vector3.new(1,6,4)
- p1.TopSurface = 'Smooth'
- p1.BottomSurface = 'Smooth'
- p2 = Instance.new('Part', modJAIL)
- p2.BrickColor = BrickColor.new('Black')
- p2.Transparency = 0.5
- p2.Position = Vector3.new(-3.7,4,-14.1)
- p2.Anchored = true
- p2.Locked = true
- p2.Size = Vector3.new(1,6,1)
- p2.TopSurface = 'Smooth'
- p2.BottomSurface = 'Smooth'
- p3 = Instance.new('Part', modJAIL)
- p3.BrickColor = BrickColor.new('Black')
- p3.Transparency = 0.5
- p3.Position = Vector3.new(-8.7,4,-9.1)
- p3.Anchored = true
- p3.Locked = true
- p3.Size = Vector3.new(1,6,1)
- p3.TopSurface = 'Smooth'
- p3.BottomSurface = 'Smooth'
- p4 = Instance.new('Part', modJAIL)
- p4.BrickColor = BrickColor.new('Black')
- p4.Transparency = 0.5
- p4.Position = Vector3.new(-3.7,4,-9.1)
- p4.Anchored = true
- p4.Locked = true
- p4.Size = Vector3.new(1,6,1)
- p4.TopSurface = 'Smooth'
- p4.BottomSurface = 'Smooth'
- p5 = Instance.new('Part', modJAIL)
- p5.BrickColor = BrickColor.new('Black')
- p5.Transparency = 0.5
- p5.Position = Vector3.new(-8.7,4,-14.1)
- p5.Anchored = true
- p5.Locked = true
- p5.Size = Vector3.new(1,6,1)
- p5.TopSurface = 'Smooth'
- p5.BottomSurface = 'Smooth'
- p6 = Instance.new('Part', modJAIL)
- p6.BrickColor = BrickColor.new('Black')
- p6.Transparency = 1
- p6.Position = Vector3.new(-6.2,4,-14.1)
- p6.Rotation = Vector3.new(0,90,0)
- p6.Anchored = true
- p6.Locked = true
- p6.Size = Vector3.new(1,6,4)
- p6.TopSurface = 'Smooth'
- p6.BottomSurface = 'Smooth'
- p7 = Instance.new('Part', modJAIL)
- p7.BrickColor = BrickColor.new('Black')
- p7.Transparency = 1
- p7.Position = Vector3.new(-3.7,4,-11.6)
- p7.Anchored = true
- p7.Locked = true
- p7.Size = Vector3.new(1,6,4)
- p7.TopSurface = 'Smooth'
- p7.BottomSurface = 'Smooth'
- p8 = Instance.new('Part', modJAIL)
- p8.BrickColor = BrickColor.new('Black')
- p8.Transparency = 1
- p8.Position = Vector3.new(-6.2,4,-9.1)
- p8.Rotation = Vector3.new(0,90,0)
- p8.Anchored = true
- p8.Locked = true
- p8.Size = Vector3.new(1,6,4)
- p8.TopSurface = 'Smooth'
- p8.BottomSurface = 'Smooth'
- --| Some Commands |--
- addcmd('ayylmao','ayy lmao',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pchar:FindFirstChild("Shirt") then
- pchar.Shirt:Destroy()
- end
- if pchar:FindFirstChild("Pants") then
- pchar.Pants:Destroy()
- end
- if pchar:FindFirstChild("Shirt Graphic") then
- pchar["Shirt Graphic"].Graphic = ""
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- local ayylmao = DATA.ayylmao:Clone()
- ayylmao.Parent = pchar
- local BC = pchar["Body Colors"]
- BC.HeadColor = BrickColor.new("Fossil")
- BC.LeftArmColor = BrickColor.new("Fossil")
- BC.LeftLegColor = BrickColor.new("Fossil")
- BC.RightArmColor = BrickColor.new("Fossil")
- BC.RightLegColor = BrickColor.new("Fossil")
- BC.TorsoColor = BrickColor.new("Fossil")
- end
- end)
- -- CMDs GUI --
- CMDsFolder = Instance.new("Folder", game.CoreGui)
- for i,v in pairs(CMDs) do
- CMDsValue = Instance.new("StringValue", CMDsFolder)
- CMDsValue.Value = v
- CMDsValue.RobloxLocked = true
- end
- local function commands()
- local cmds = DATA.CMDs:Clone()
- cmds.Parent = Player.PlayerGui
- local CMDsV = CMDsFolder:GetChildren()
- for i = 1, #CMDsV do
- local YSize = 25
- local Position = ((i * YSize) - YSize)
- local newcmd = cmds.MAIN.Example:Clone()
- newcmd.Parent = cmds.MAIN.CMDs
- newcmd.Visible = true
- newcmd.Position = UDim2.new(0,5,0, Position + 5)
- newcmd.Text = "" .. CMDsV[i].Value
- cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
- end
- end
- addcmd('cmds','prints cmds',{},
- function(args)
- commands()
- end)
- --| Command Bar |--
- CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
- if enterpressed and CMDbar.CMDbar.Text ~= "" then
- spawn(function ()
- execCmd(CMDbar.CMDbar.Text, Player)
- end)
- end
- CMDbar.CMDbar:TweenPosition(UDim2.new(0, -200, 1, -25), "InOut", "Quad", 0.5, true, nil)
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key:byte() == 59 then
- CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 1, -25), "InOut", "Quad", 0.5, true, nil)
- CMDbar.CMDbar:CaptureFocus()
- end
- end)
- --| ESP Function |--
- local ESP = false
- local track = false
- function Create(base, team)
- local MAIN = DATA.MAIN:Clone()
- local F = MAIN.DOT
- local ESP = MAIN.NAME
- MAIN.Parent = Player.PlayerGui
- MAIN.Adornee = base
- F.Visible = true
- ESP.Text = base.Parent.Name:upper()
- ESP.Visible = true
- end
- function Clear()
- for _,v in pairs(Player.PlayerGui:children()) do
- if v.Name == "MAIN" and v:IsA("BillboardGui") then
- v:Destroy()
- end
- end
- end
- function Find()
- Clear()
- track = true
- spawn(function()
- while wait() do
- if track then
- Clear()
- for i,v in pairs(game.Players:players()) do
- if v.Character and v.Character.Head then
- Create(v.Character.Head, true)
- end
- end
- end
- wait(1)
- end
- end)
- end
- --| ESP |--
- Mouse.KeyDown:connect(function(Key)
- if Key:byte() == 30 then
- if ESP == false then
- Find()
- ESP = true
- elseif ESP == true then
- Clear()
- track = false
- ESP = false
- end
- end
- end)
- --| More Functions |--
- local NOTIFY = DATA.Notification
- NOTIFY.Parent = game.CoreGui
- local duck = DATA.Duck:Clone()
- duck.Parent = Player.PlayerGui
- local usingNOTE = false
- function Notify(msg)
- if usingNOTE == false then
- if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
- spawn(function()
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
- NOTIFY.NOTIFY.NOTE.Text = msg
- usingNOTE = true
- wait(2.5)
- NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
- usingNOTE = false
- end)
- end
- end
- end
- --| Notifications |--
- wait(1)
- if game.Workspace.FilteringEnabled == true then
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
- Notify('Filtering is ENABLED.')
- elseif game.Workspace.FilteringEnabled == false then
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
- Notify('Filtering is Disabled.')
- end
- wait(3.5)
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
- Notify('Loaded ' .. #cmds .. ' commands!')
- wait(3.5)
- Notify('Welcome ' .. Player.Name .. '!')
- Player.PlayerGui.Duck:Destroy()
- --[[
- addcmd('name','desc',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- end
- end)
- --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement