Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game.Players.LocalPlayer
- local char = players.Character
- --[[Commands kill- PlayerName
- kick- PlayerName
- ff- PlayerName
- Shutdown-Wip
- od3r- PlayerName
- oder- PlayerName
- --]]
- local copy = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- local Right = Instance.new("TextButton", copy)
- Right.Visible=true
- Right.Position=UDim2.new(0, 400, 0, 0)
- Right.Size=UDim2.new(0, 200, 0, 50)
- Right.Font="ArialBold"
- Right.Text="LuaScripterLS's Admin Commands"
- Right.TextScaled=true
- Right.TextWrapped=true
- Right.BackgroundColor3=Color3.new(255, 255, 0)
- players.Chatted:connect(function(msg)
- if msg:sub(1, 6) == "kill- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 7)) ~= nil then
- v.Character.Humanoid.Health = 0
- end
- end
- elseif msg:sub(1, 6) == "kick- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 7))~= nil then
- v:Kick()
- end
- end
- elseif msg:sub(1, 5) == "god- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 6)) ~= nil then
- v.Character.Humanoid.MaxHealth = math.huge
- end
- end
- elseif msg:sub(1, 5) == "Shutdown" then
- game.Players:ClearAllChildren()
- game.Workspace:ClearAllChildren()
- game.Lighting:ClearAllChildren()
- game.StarterGui:ClearAllChildren()
- elseif msg:sub(1, 4) == "ff- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 5)) ~= nil then
- Instance.new("ForceField", v.Character)
- end
- end
- elseif msg:sub(1, 6) == "unff- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 7)) ~= nil then
- local V = v.Character
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "ForceField") then
- d[i]:remove()
- end
- end
- end
- end
- elseif msg:sub(1, 6) == "od3r- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 7)) ~= nil then
- local V = v.Character
- local w = V:GetChildren()
- -- removeing powerz
- wait()
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Pants") then
- d[i]:remove()
- end
- end
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Shirt") then
- d[i]:remove()
- end
- end
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Shirt Graphic") then
- d[i]:remove()
- end
- end
- local h = V.Head
- V.Head.Mesh:remove()
- local vc = Instance.new("SpecialMesh", V.Head)
- vc.Scale=Vector3.new(1.25, 1.25, 1.25)
- --adding powerz
- local Shi = Instance.new("Shirt", V)
- Shi.Name="Shirt"
- local Pan = Instance.new("Pants", V)
- Pan.Name="Pants"
- local Bc = v.Character["Body Colors"]
- Bc.HeadColor=BrickColor.new("Pastel brown")
- Bc.LeftArmColor=BrickColor.new("Pastel brown")
- Bc.LeftLegColor=BrickColor.new("Pastel brown")
- Bc.RightArmColor=BrickColor.new("Pastel brown")
- Bc.RightLegColor=BrickColor.new("Pastel brown")
- Bc.TorsoColor=BrickColor.new("Pastel brown")
- v.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=56289745"
- v.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=113307508"
- local RLA = Instance.new("CharacterMesh", V)
- local RLL = Instance.new("CharacterMesh", V)
- local RRR = Instance.new("CharacterMesh", V)
- local RRL =Instance.new("CharacterMesh", V)
- local RT =Instance.new("CharacterMesh", V)
- RLA.MeshId="27111419"
- RLA.BodyPart="LeftArm"
- RLL.MeshId="27111857"
- RLL.BodyPart="LeftLeg"
- --
- RRR.MeshId="27111864"
- RRR.BodyPart="RightArm"
- RRL.MeshId="27111882"
- RRL.BodyPart="RightLeg"
- --
- RT.MeshId="27111894"
- RT.BodyPart="Torso"
- wait()
- --
- local hat1=Instance.new("Hat", V)
- local hat2=Instance.new("Hat", V)
- local hat3=Instance.new("Hat", V)
- hat1.AttachmentPos=Vector3.new(0,-0.5,0)
- --
- hat2.AttachmentForward=Vector3.new(0, -0.1, -0.995)
- hat2.AttachmentPos=Vector3.new(0,0.9,0)
- hat2.AttachmentUp=Vector3.new(0, 0.995, -0.1)
- hat3.AttachmentPos=Vector3.new(0, 0.45, 0)
- local Part1 = Instance.new("Part", hat1)
- Part1.Name="Handle"
- Part1.Size=Vector3.new(1, 2, 1)
- Part1.CanCollide=false
- local Mesh1 = Instance.new("SpecialMesh", Part1)
- Mesh1.MeshId="http://www.roblox.com/asset/?id=1072759"
- Mesh1.TextureId="http://www.roblox.com/asset/?id=1072760"
- local Part2 = Instance.new("Part", hat2)
- Part2.Name="Handle"
- Part2.Size=Vector3.new(1, 2, 2)
- Part2.CanCollide=false
- local Mesh2 = Instance.new("SpecialMesh", Part2)
- Mesh2.MeshId="http://www.roblox.com/asset/?id=13070796"
- Mesh2.TextureId="http://www.roblox.com/asset/?id=13694600"
- local Part3 = Instance.new("Part", hat3)
- Part3.Name="Handle"
- Part3.Size=Vector3.new(2, 2, 2)
- Part3.CanCollide=false
- local Mesh3 = Instance.new("SpecialMesh", Part3)
- Mesh3.MeshId="http://www.roblox.com/asset/?id=16101994"
- Mesh3.Scale=Vector3.new(1.02,1.02,1.02)
- Mesh3.TextureId="http://www.roblox.com/asset/?id=16412516"
- v.Character.Head.face.Texture="http://www.roblox.com/asset/?id=10747810"
- Part3.CanCollide=false
- Part2.CanCollide=false
- Part1.CanCollide=false
- Part3.Anchored=false
- Part2.Anchored=false
- Part1.Anchored=false
- end
- end
- elseif msg:sub(1, 6) == "oder- " then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 7)) ~= nil then
- local V = v.Character
- local w = V:GetChildren()
- -- removeing powerz
- wait()
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Pants") then
- d[i]:remove()
- end
- end
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Shirt") then
- d[i]:remove()
- end
- end
- local d = V:GetChildren()
- for i=1, #d do
- if (d[i].className == "Shirt Graphic") then
- d[i]:remove()
- end
- end
- local h = V.Head
- V.Head.Mesh:remove()
- local vc = Instance.new("SpecialMesh", V.Head)
- vc.Scale=Vector3.new(1.25, 1.25, 1.25)
- --adding powerz
- local Shi = Instance.new("Shirt", V)
- Shi.Name="Shirt"
- local Pan = Instance.new("Pants", V)
- Pan.Name="Pants"
- local Bc = v.Character["Body Colors"]
- Bc.HeadColor=BrickColor.new("Pastel brown")
- Bc.LeftArmColor=BrickColor.new("Pastel brown")
- Bc.LeftLegColor=BrickColor.new("Pastel brown")
- Bc.RightArmColor=BrickColor.new("Pastel brown")
- Bc.RightLegColor=BrickColor.new("Pastel brown")
- Bc.TorsoColor=BrickColor.new("Pastel brown")
- v.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=45024962"
- v.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=72576699"
- local RLA = Instance.new("CharacterMesh", V)
- local RLL = Instance.new("CharacterMesh", V)
- local RRR = Instance.new("CharacterMesh", V)
- local RRL =Instance.new("CharacterMesh", V)
- local RT =Instance.new("CharacterMesh", V)
- RLA.MeshId="27111419"
- RLA.BodyPart="LeftArm"
- RLL.MeshId="27111857"
- RLL.BodyPart="LeftLeg"
- --
- RRR.MeshId="27111864"
- RRR.BodyPart="RightArm"
- RRL.MeshId="27111882"
- RRL.BodyPart="RightLeg"
- --
- RT.MeshId="27111894"
- RT.BodyPart="Torso"
- wait()
- --
- local hat1=Instance.new("Hat", V)
- hat1.AttachmentForward=Vector3.new(0, 0, -1)
- hat1.AttachmentPos=Vector3.new(0, 0, 0)
- hat1.AttachmentUp=Vector3.new(0, 1, 0)
- hat1.AttachmentRight=Vector3.new(1, 0, 0)
- --
- local Part1 = Instance.new("Part", hat1)
- Part1.Name="Handle"
- Part1.Size=Vector3.new(2, 2, 2)
- Part1.CanCollide=false
- local Mesh1 = Instance.new("SpecialMesh", Part1)
- Mesh1.MeshId="http://www.roblox.com/asset/?id=16627529"
- Mesh1.TextureId="http://www.roblox.com/asset/?id=17877254"
- Mesh1.Scale=Vector3.new(1.05, 1.05, 1.05)
- v.Character.Head.face.Texture="http://www.roblox.com/asset/?id=20722053"
- Part1.Anchored=false
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement