--[[ N8X Admin Commands .Note If you stole this admin, there is no point in keeping it, it will go to free models when it's done. ]] Admins = {"N8X","InternalRecursion","Insainity"} -- Add/Edit/Remove names here for people to be admin. Banned = {"robotmega","manofthebase44"} -- Add/Edit/Remove names here for people not to be able to enter the game. PrivateServer = false -- If true then only people that are admins can play the game. --[[ Commands 1) ff/ -- Gives selected player(s) a forcefield, 2) unff/ -- Removes selected player(s) forcefield(s), 3) teleport/ -- Teleports selected player(s) to selected player2, 4) ccc/ -- Change the chat color of the selected player(s) to the selected brickcolor, 5) fcc/ -- Fixs selected player(s) chat color, 6) time/ -- Changes the games lighting time to selected time, 7) kill/ -- Kills selected player(s), 8) rchar/ -- Removes selected player(s) character, 9) respawn/ -- Respawns selected player(s) character, 10) punish/ -- Punishes selected player(s), 11) unpunish/ -- Un punishes selected player(s), 12) explode/ -- Makes selected player(s) characters head explode, 13) jail/ -- Makes selected player(s) be put in a jail, 14) unjail/ -- Removes selected player(s) jails, 15) flashlight/ -- Gives selected player(s) a flashlight, 16) rflashlight/ -- Removes selected player(s) flashlight(s), 17) sparkles/ -- Makes selected player(s) have sparkles, 18) rsparkles/ -- Removes selected player(s) sparkles, 19) btools/ -- Gives selected player(s) regular build tools, 20) rbtools/ -- Removes selected player(s) regular build tools, 21) fire/ -- Makes selected player(s) torso have fire, 22) rfire/ -- Removes selected player(s) torso fire, 23) invisible/ -- Makes selected player(s) invisible, 24) visible/ -- Makes selected player(s) visible, 25) shsize/ -- Makes selected player(s) head size to selected scale, 26) bighead/ -- Makes selected player(s) have a big head size, 27) smallhead/ -- Makes selected player(s) have a small head size, 28) normalhead/ -- Makes selected player(s) have a normal head size, 29) clone/ -- Clones selected player(s), 30) maxhealth/ -- Makes selected player(s) have maximum health, 31) normalhealth/ -- Makes selected player(s) have normal health, 32) heal/ -- Heals selected player(s), 33) setmaxhealth/ -- Sets selected player(s) maxhealth to selected number, 34) sethealth/ -- Sets selected player(s) health to selected number, 35) damage/ -- Damages selected player(s) selected damage, 36) sit/ -- Makes selected player(s) sit, 37) shieldtool/ -- Gives selected player(s) shield tool that if you click while using it it changes mode, 38) rshieldtool/ -- Removes selected player(s) shield tool(s), 39) rocketlauncher/ -- Gives selected player(s) a rocket launcher, 40) rrocketlauncher/ -- Removes selected player(s) rocket launcher(s), 41) slingshot/ -- Gives selected player(s) a slingshot, 42) rslingshot/ -- Removes selected player(s) slingshot(s), 43) superball/ -- Gives selected player(s) a superball, 44) rsuperball/ -- Removes selected player(s) superball(s), 45) timebomb/ -- Gives selected player(s) a time bomb, 46) rtimebomb/ -- Removes selected player(s) time bomb(s), 47) trowel/ -- Gives selected player(s) a trowel, 48) rtrowel/ -- Removes selected player(s) trowl(s), 49) paintballgun/ -- Gives selected player(s) a paintball gun, 50) rpaintballgun/ -- Removes selected player(s) paintball gun(s), 51) sword/ -- Gives selected player(s) a sword, 52) rsword/ -- Gives selected player(s) a sword, 53) classicgears/ -- Gives selected player(s) classic roblox gears, 54) rclassicgears/ -- Removes selected player(s) classic roblox gears, 55) startergear/ -- Gives selected player(s) the gear out of starterpack, ]] --[[ DO NOT EDIT BELOW ]]-- Commands = {} function Command(...) table.insert(Commands,{...}) end function IsAdmin(Player) if Player==nil then return false end for i,v in pairs(Admins) do if Player.Name==v then return true end end return false end function IsBanned(Player) if Player==nil then return false end for i,v in pairs(Banned) do if Player.Name==v then return true end end return false end function SplitBet(Message) local Bet = 0 for i=1,string.len(Message) do if Message:sub(i,i)=="/" then Bet = i end end return Message:sub(1,Bet-1),Message:sub(Bet+1) end function GetPlayers(Player,Message) if Message==nil then Message = "" end Message = Message:lower() local Returned = {} if Message=="me" then table.insert(Returned,Player) elseif Message=="others" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v~=Player then table.insert(Returned,v) end end elseif Message=="all" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do table.insert(Returned,v) end elseif Message=="veterans" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.AccountAge>=365 then table.insert(Returned,v) end end elseif Message=="nonveterans" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.AccountAge<365 then table.insert(Returned,v) end end elseif Message=="nonfriends" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v~=Player and not v:IsFriendsWith(Player.userId) then table.insert(Returned,v) end end elseif Message=="friends" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v~=Player and v:IsFriendsWith(Player.userId) then table.insert(Returned,v) end end elseif Message=="bestfriends" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v~=Player and v:IsBestFriendsWith(Player.userId) then table.insert(Returned,v) end end elseif Message=="nbc" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.MembershipType==Enum.MembershipType.None then table.insert(Returned,v) end end elseif Message=="bc" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.MembershipType==Enum.MembershipType.BuildersClub then table.insert(Returned,v) end end elseif Message=="tbc" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.MembershipType==Enum.MembershipType.TurboBuildersClub then table.insert(Returned,v) end end elseif Message=="obc" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.MembershipType==Enum.MembershipType.OutrageousBuildersClub then table.insert(Returned,v) end end elseif Message=="random" then local ReturnRandom = {} for i,v in pairs(game:GetService("Players"):GetPlayers()) do table.insert(ReturnRandom,v) end table.insert(Returned,ReturnRandom[math.random(1,#ReturnRandom)]) elseif Message=="admins" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if IsAdmin(Player) then table.insert(Returned,v) end end elseif Message=="nonadmins" then for i,v in pairs(game:GetService("Players"):GetPlayers()) do if not IsAdmin(Player) then table.insert(Returned,v) end end else for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v.Name:lower():sub(1,Message:len())==Message then table.insert(Returned,v) end end end return Returned end function DoCommand(Player,Message) if not IsAdmin(Player) then return end for i,v in pairs(Commands) do if Message:sub(1,v[2]:len()+1):lower()==v[2].."/" then local Ran,Error = coroutine.resume(coroutine.create(function() v[3](Player,Message:sub(v[2]:len()+2)) end)) if not Ran then print(Error) end end end end function RemoveAllOf(ClassName,Search) for i,v in pairs(Search:GetChildren()) do coroutine.resume(coroutine.create(function() if v:IsA(ClassName) then v:Destroy() else RemoveAllOf(ClassName,v) end end)) end end function PlayerAdded(Player) coroutine.resume(coroutine.create(function() if PrivateServer and IsAdmin(Player)==false or IsBanned(Player) then Player:Kick() else Player.Chatted:connect(function(Message) DoCommand(Player,Message) end) end end)) end Command(1,"ff",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then Instance.new("ForceField",v.Character) end end end) Command(2,"unff",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then RemoveAllOf("ForceField",v.Character) end end end) Command(3,"teleport",function(Player,Message) local Players,TPlayer = SplitBet(Message) local Teleported,TeleportTo = {},{} for i,v in pairs(GetPlayers(Player,Players)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then table.insert(Teleported,v) end end for i,v in pairs(GetPlayers(Player,TPlayer)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then table.insert(TeleportTo,v) end end TeleportTo = TeleportTo[math.random(1,#TeleportTo)] if TeleportTo==nil then return end for i,v in pairs(Teleported) do v.Character.Torso.CFrame = TeleportTo.Character.Torso.CFrame end end) Command(4,"ccc",function(Player,Message) local Players,Color = SplitBet(Message) for i,v in pairs(GetPlayers(Player,Players)) do v.Neutral = false v.TeamColor = BrickColor.new(Color) end end) Command(5,"fcc",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do v.Neutral = true end end) Command(6,"time",function(Player,Message) game:GetService("Lighting").TimeOfDay = tonumber(Message) end) Command(7,"kill",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then v.Character:BreakJoints() end end end) Command(8,"rchar",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do v.Character = nil end end) Command(9,"respawn",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do v:LoadCharacter() end end) Command(10,"punish",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then v.Character.Parent = game:GetService("Lighting") end end end) Command(11,"unpunish",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if game:GetService("Lighting"):FindFirstChild(v.Name) then v.Character.Parent = game:GetService("Workspace") v.Character:MakeJoints() else v:LoadCharacter() end end end) Command(12,"explode",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Head") then Instance.new("Explosion",v.Character.Head).Position = v.Character.Head.CFrame.p end end end) Command(13,"jail",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then local MainPosition = v.Character.Torso.CFrame.p local MainPart = Instance.new("Part") MainPart.FormFactor = "Custom" MainPart.Size = Vector3.new(1,1,1) MainPart.TopSurface = "Smooth" MainPart.BottomSurface = "Smooth" MainPart.Anchored = true MainPart.Locked = true MainPart.BrickColor = BrickColor.new("Really black") local JailModel = Instance.new("Model",game:GetService("Workspace")) JailModel.Name = "Jail:"..v.Name local TopPart = MainPart:clone() TopPart.Parent = JailModel TopPart.Size = Vector3.new(4.5,0.5,4.5) TopPart.CFrame = CFrame.new(MainPosition+Vector3.new(0,4.5,0)) local BottomPart = TopPart:clone() BottomPart.Parent = JailModel BottomPart.CFrame = CFrame.new(MainPosition+Vector3.new(0,-2.5,0)) local function NewBar(NewCFrame) local NewBar = MainPart:clone() NewBar.Size = Vector3.new(0.5,7,0.5) NewBar.Parent = JailModel NewBar.CFrame = CFrame.new(NewCFrame) end for i=-2,2 do NewBar(MainPosition+Vector3.new(i,1,2)) end for i=-2,2 do NewBar(MainPosition+Vector3.new(i,1,-2)) end for i=-2,2 do NewBar(MainPosition+Vector3.new(2,1,i)) end for i=-2,2 do NewBar(MainPosition+Vector3.new(-2,1,i)) end v.Character.Torso.CFrame = CFrame.new(MainPosition) end end end) Command(14,"unjail",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do for x,y in pairs(game:GetService("Workspace"):GetChildren()) do if y.Name=="Jail:"..v.Name then y:Destroy() end end end end) Command(15,"flashlight",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then local FlashLight = Instance.new("Tool",v.Backpack) FlashLight.Name = "FlashLight" FlashLight.CanBeDropped = false local FlashLight1 = Instance.new("Part",FlashLight) FlashLight1.Name = "Handle" FlashLight1.FormFactor = "Custom" FlashLight1.Size = Vector3.new(0.6,0.6,1.8) FlashLight1.TopSurface = "Smooth" FlashLight1.BottomSurface = "Smooth" local FlashLight2 = FlashLight1:clone() FlashLight2.Parent = FlashLight FlashLight2.Name = "Main" FlashLight2.Size = Vector3.new(0.8,0.8,0.4) local FlashLight3 = FlashLight2:clone() FlashLight3.Size = Vector3.new(0.7,0.7,0.2) FlashLight3.BrickColor = BrickColor.new("Medium stone grey") FlashLight3.Parent = FlashLight local function MakeLight() if FlashLight1:FindFirstChild("Light") then FlashLight1.Light:Destroy() FlashLight3.BrickColor = BrickColor.new("Medium stone grey") else local SpotLight = Instance.new("SpotLight",FlashLight1) SpotLight.Name = "Light" SpotLight.Angle = 35 SpotLight.Brightness = 100 SpotLight.Range = 25 FlashLight3.BrickColor = BrickColor.new("Institutional white") end end local function MakeWelds() local Weld1 = Instance.new("Weld",FlashLight2) Weld1.Part0 = FlashLight2 Weld1.Part1 = FlashLight1 Weld1.C0 = CFrame.new(0,0,0.85) local Weld2 = Instance.new("Weld",FlashLight3) Weld2.Part0 = FlashLight3 Weld2.Part1 = FlashLight1 Weld2.C0 = CFrame.new(0,0,0.96) end FlashLight.Equipped:connect(function() FlashLight1.BrickColor = FlashLight.Parent.Torso.BrickColor FlashLight2.BrickColor = FlashLight.Parent.Torso.BrickColor MakeWelds() end) FlashLight.Activated:connect(MakeLight) end end end) Command(16,"rflashlight",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name=="FlashLight" then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name=="FlashLight" then y:Destroy() end end end end end) Command(17,"sparkles",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then Instance.new("Sparkles",v.Character.Torso).SparkleColor = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255) end end end) Command(18,"rsparkles",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then RemoveAllOf("Sparkles",v.Character) end end end) Command(19,"btools",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for i,BinType in pairs({"Clone","GameTool","Hammer","Grab"}) do local NewBin = Instance.new("HopperBin",v.Backpack) NewBin.BinType = BinType NewBin.Name = "NewBinBuildTool" end end end end) Command(20,"rbtools",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for i,v in pairs(v.Backpack:GetChildren()) do if v.Name=="NewBinBuildTool" then v:Destroy() end end end if v.Character~=nil then for i,v in pairs(v.Character:GetChildren()) do if v.Name=="NewBinBuildTool" then v:Destroy() end end end end end) Command(21,"fire",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then local FireColor = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255) local NewFire = Instance.new("Fire",v.Character.Torso) NewFire.Color = FireColor NewFire.SecondaryColor = FireColor end end end) Command(22,"rfire",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Torso") then RemoveAllOf("Fire",v.Character.Torso) end end end) Command(23,"invisible",function(Player,Message) local function MakeInvisible(Search) for i,v in pairs(Search:GetChildren()) do if v:IsA("Part") or v:IsA("Decal") then if v.Name~="HumanoidRootPart" then v.Transparency = 1 end end coroutine.resume(coroutine.create(function() MakeInvisible(v) end)) end end for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then MakeInvisible(v.Character) end end end) Command(24,"visible",function(Player,Message) local function MakeVisible(Search) for i,v in pairs(Search:GetChildren()) do if v:IsA("Part") or v:IsA("Decal") then if v.Name~="HumanoidRootPart" then v.Transparency = 0 end end coroutine.resume(coroutine.create(function() MakeVisible(v) end)) end end for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then MakeVisible(v.Character) end end end) Command(25,"shsize",function(Player,Message) local Players,Size = SplitBet(Message) for i,v in pairs(GetPlayers(Player,Players)) do if v.Character~=nil and v.Character:FindFirstChild("Head") and v.Character.Head:FindFirstChild("Mesh") then v.Character.Head.Mesh.Scale = Vector3.new(tonumber(Size),tonumber(Size),tonumber(Size)) end end end) Command(26,"bighead",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Head") and v.Character.Head:FindFirstChild("Mesh") then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) end end end) Command(27,"smallhead",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Head") and v.Character.Head:FindFirstChild("Mesh") then v.Character.Head.Mesh.Scale = Vector3.new(0.8,0.8,0.8) end end end) Command(28,"normalhead",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Head") and v.Character.Head:FindFirstChild("Mesh") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end end end) Command(29,"clone",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil then v.Character.Archivable = true local NewClone = v.Character:clone() NewClone.Parent = game:GetService("Workspace") v.Character.Archivable = false end end end) Command(30,"maxhealth",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.MaxHealth = 1/0 end end end) Command(31,"normalhealth",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.MaxHealth = 100 v.Character.Humanoid.Health = 100 end end end) Command(32,"heal",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth end end end) Command(33,"setmaxhealth",function(Player,Message) local Players,MaxHealth = SplitBet(Message) for i,v in pairs(GetPlayers(Player,Players)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.MaxHealth = tonumber(MaxHealth) end end end) Command(34,"sethealth",function(Player,Message) local Players,Health = SplitBet(Message) for i,v in pairs(GetPlayers(Player,Players)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.Health = tonumber(Health) end end end) Command(35,"damage",function(Player,Message) local Players,DamagedBy = SplitBet(Message) for i,v in pairs(GetPlayers(Player,Players)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.Health = v.Character.Humanoid.Health-tonumber(DamagedBy) end end end) Command(36,"sit",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.Sit = true end end end) Command(37,"shieldtool",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v:FindFirstChild("Backpack") then local ShieldTool = Instance.new("Tool",v.Backpack) ShieldTool.CanBeDropped = false Instance.new("StringValue",ShieldTool).Name = "ShieldTool" local Modes = { [1] = "Kill"; [2] = "Freeze"; [3] = "Damage"; [4] = "Burn"; [5] = "Sit"; [6] = "Destroy" } local Mode = 1 ShieldTool.Name = Modes[Mode] local Shield = Instance.new("Part",ShieldTool) Shield.FormFactor = "Custom" Shield.Name = "Shield" Shield.Size = Vector3.new(7.5,7.5,7.5) Shield.BrickColor = BrickColor.Red() Shield.Shape = "Ball" Shield.Transparency = 0.9 Shield.TopSurface = "Smooth" Shield.BottomSurface = "Smooth" Shield.CanCollide = false Shield.Anchored = true coroutine.resume(coroutine.create(function() game:GetService("RunService").Stepped:connect(function() Shield.CFrame = v.Character.Torso.CFrame end) end)) Shield.Touched:connect(function(Hit) coroutine.resume(coroutine.create(function() if Hit:IsDescendantOf(v.Character) then return end if Modes[Mode]=="Kill" then if Hit.Parent:FindFirstChild("Humanoid") then Hit.Parent:BreakJoints() end elseif Modes[Mode]=="Freeze" and not Hit:FindFirstChild("FrozenByShield") then local OldProperties = {BrickColor = Hit.BrickColor,Transparency = Hit.Transparency} Hit.Transparency = 0.6 Hit.BrickColor = BrickColor.new("Deep blue") Instance.new("StringValue",Hit).Name = "FrozenByShield" local DoAnchore = false if Hit.Anchored==false then DoAnchore = true end if DoAnchore then Hit.Anchored = true end wait(3.5) if DoAnchore then Hit.Anchored = false end Hit.Transparency = OldProperties.Transparency Hit.BrickColor = OldProperties.BrickColor Hit.FrozenByShield:Destroy() elseif Modes[Mode]=="Damage" then if Hit.Parent:FindFirstChild("Humanoid") then Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health-20 end elseif Modes[Mode]=="Burn" and not Hit:FindFirstChild("ShieldBurningIt") then Hit.BrickColor = BrickColor.new("Really black") Instance.new("Fire",Hit).Name = "ShieldBurningIt" for i=Hit.Transparency,1,0.1 do wait(0.1) Hit.Transparency = i end Hit:Destroy() elseif Modes[Mode]=="Sit" then if Hit.Parent:FindFirstChild("Humanoid") then Hit.Parent.Humanoid.Sit = true end elseif Modes[Mode]=="Destroy" then Hit:Destroy() end end)) end) ShieldTool.Activated:connect(function() if Modes[Mode+1]~=nil then Mode = Mode+1 else Mode = 1 end ShieldTool.Name = Modes[Mode] end) end end end) Command(38,"rshieldtool",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y:FindFirstChild("ShieldTool") then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y:FindFirstChild("ShieldTool") then y:Destroy() end end end end end) Command(39,"rocketlauncher",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47637):GetChildren()[1].Parent = v.Backpack end end end) Command(40,"rrocketlauncher",function(Player,Message) local RocketInsert = game:GetService("InsertService"):LoadAsset(47637):GetChildren()[1] local RocketName = RocketInsert.Name RocketInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==RocketName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==RocketName then y:Destroy() end end end end end) Command(41,"slingshot",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47620):GetChildren()[1].Parent = v.Backpack end end end) Command(42,"rslingshot",function(Player,Message) local SlingshotInsert = game:GetService("InsertService"):LoadAsset(47620):GetChildren()[1] local SlingshotName = SlingshotInsert.Name SlingshotInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==SlingshotName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==SlingshotName then y:Destroy() end end end end end) Command(43,"superball",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47613):GetChildren()[1].Parent = v.Backpack end end end) Command(44,"rsuperball",function(Player,Message) local SuperballInsert = game:GetService("InsertService"):LoadAsset(47613):GetChildren()[1] local SuperballName = SuperballInsert.Name SuperballInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==SuperballName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==SuperballName then y:Destroy() end end end end end) Command(45,"timebomb",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47586):GetChildren()[1].Parent = v.Backpack end end end) Command(46,"rtimebomb",function(Player,Message) local TimebombInsert = game:GetService("InsertService"):LoadAsset(47586):GetChildren()[1] local TimebombName = TimebombInsert.Name TimebombInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==TimebombName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==TimebombName then y:Destroy() end end end end end) Command(47,"trowel",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47582):GetChildren()[1].Parent = v.Backpack end end end) Command(48,"rtrowel",function(Player,Message) local TrowelInsert = game:GetService("InsertService"):LoadAsset(47582):GetChildren()[1] local TrowelName = TrowelInsert.Name TrowelInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==TrowelName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==TrowelName then y:Destroy() end end end end end) Command(49,"paintballgun",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47532):GetChildren()[1].Parent = v.Backpack end end end) Command(50,"rpaintballgun",function(Player,Message) local PaintballgunInsert = game:GetService("InsertService"):LoadAsset(47532):GetChildren()[1] local PaintballgunName = PaintballgunInsert.Name PaintballgunInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==PaintballgunName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==PaintballgunName then y:Destroy() end end end end end) Command(51,"sword",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then game:GetService("InsertService"):LoadAsset(47433):GetChildren()[1].Parent = v.Backpack end end end) Command(52,"rsword",function(Player,Message) local SwordInsert = game:GetService("InsertService"):LoadAsset(47433):GetChildren()[1] local SwordName = SwordInsert.Name SwordInsert:Destroy() for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(v.Backpack:GetChildren()) do if y.Name==SwordName then y:Destroy() end end end if v.Character~=nil then for x,y in pairs(v.Character:GetChildren()) do if y.Name==SwordName then y:Destroy() end end end end end) Command(53,"classicgears",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do DoCommand(Player,"rocketlauncher/"..v.Name) DoCommand(Player,"slingshot/"..v.Name) DoCommand(Player,"superball/"..v.Name) DoCommand(Player,"timebomb/"..v.Name) DoCommand(Player,"trowel/"..v.Name) DoCommand(Player,"paintballgun/"..v.Name) DoCommand(Player,"sword/"..v.Name) end end) Command(54,"rclassicgears",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do DoCommand(Player,"rrocketlauncher/"..v.Name) DoCommand(Player,"rslingshot/"..v.Name) DoCommand(Player,"rsuperball/"..v.Name) DoCommand(Player,"rtimebomb/"..v.Name) DoCommand(Player,"rtrowel/"..v.Name) DoCommand(Player,"rpaintballgun/"..v.Name) DoCommand(Player,"rsword/"..v.Name) end end) Command(55,"startergear",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v:FindFirstChild("Backpack") then for x,y in pairs(game:GetService("StarterPack"):GetChildren()) do y:clone().Parent = v.Backpack end end end end) Command(56,"poison",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Humanoid") then coroutine.resume(coroutine.create(function() Instance.new("StringValue",v.Character).Name = "Poisoned" local ColorDump = {} for x,y in pairs(v.Character:GetChildren()) do if y:IsA("Part") then ColorDump[y.Name] = y.BrickColor y.BrickColor = BrickColor.Green() end end while v.Character:FindFirstChild("Poisoned") and v.Character.Humanoid.Health~=0 and wait(0.5) do v.Character.Humanoid.Health = v.Character.Humanoid.Health-5 v.Character.Humanoid.WalkSpeed = 10 end for x,y in pairs(v.Character:GetChildren()) do if y:IsA("Part") and ColorDump[y.Name]~=nil then y.BrickColor = ColorDump[y.Name] end end end)) end end end) Command(57,"unpoison",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Poisoned") then v.Character.Poisoned:Destroy() end end end) --[[Test]]Command(58,"antiheal",function(Player,Message) for i,v in pairs(GetPlayers(Player,Message)) do if v.Character~=nil and v.Character:FindFirstChild("Health") then v.Character.Health:Destroy() end end end) for i,v in pairs(game:GetService("Players"):GetPlayers()) do PlayerAdded(v) end game:GetService("Players").PlayerAdded:connect(function(Player) Player:WaitForDataReady() PlayerAdded(Player) end)