Advertisement
QendrimGraphics

Admin V3

Apr 4th, 2015
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.41 KB | None | 0 0
  1. local players = game.Players.LocalPlayer
  2. local char = players.Character
  3. --[[Commands kill- PlayerName
  4.              kick- PlayerName
  5.              ff- PlayerName
  6.              Shutdown-Wip
  7.              od3r- PlayerName
  8.              oder- PlayerName  
  9. --]]
  10. local copy = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  11. local Right = Instance.new("TextButton", copy)
  12. Right.Visible=true
  13. Right.Position=UDim2.new(0, 400, 0, 0)
  14. Right.Size=UDim2.new(0, 200, 0, 50)
  15. Right.Font="ArialBold"
  16. Right.Text="LuaScripterLS's Admin Commands"
  17. Right.TextScaled=true
  18. Right.TextWrapped=true
  19. Right.BackgroundColor3=Color3.new(255, 255, 0)
  20.  
  21. players.Chatted:connect(function(msg)
  22.     if msg:sub(1, 6) == "kill- " then
  23.         for i,v in pairs(game.Players:GetPlayers()) do
  24.             if string.find(v.Name, string.sub(msg, 7)) ~= nil then
  25.                 v.Character.Humanoid.Health = 0
  26.             end    
  27.         end
  28.     elseif msg:sub(1, 6) == "kick- " then
  29.         for i,v in pairs(game.Players:GetPlayers()) do
  30.             if string.find(v.Name, string.sub(msg, 7))~= nil then
  31.                 v:Kick()
  32.             end
  33.         end
  34. elseif msg:sub(1, 5) == "god- " then
  35.         for i,v in pairs(game.Players:GetPlayers()) do
  36.             if string.find(v.Name, string.sub(msg, 6)) ~= nil then
  37.                 v.Character.Humanoid.MaxHealth = math.huge
  38.             end    
  39.         end
  40.         elseif msg:sub(1, 5) == "Shutdown" then
  41.         game.Players:ClearAllChildren()
  42.             game.Workspace:ClearAllChildren()
  43.             game.Lighting:ClearAllChildren()
  44.             game.StarterGui:ClearAllChildren()
  45. elseif msg:sub(1, 4) == "ff- " then
  46.         for i,v in pairs(game.Players:GetPlayers()) do
  47.             if string.find(v.Name, string.sub(msg, 5)) ~= nil then
  48.                 Instance.new("ForceField", v.Character)
  49.             end    
  50.         end
  51.         elseif msg:sub(1, 6) == "unff- " then
  52.         for i,v in pairs(game.Players:GetPlayers()) do
  53.             if string.find(v.Name, string.sub(msg, 7)) ~= nil then
  54.             local V = v.Character
  55.             local d = V:GetChildren()
  56.             for i=1, #d do
  57.             if (d[i].className == "ForceField") then
  58.             d[i]:remove()
  59.                 end
  60.             end
  61.             end    
  62.         end
  63. elseif msg:sub(1, 6) == "od3r- " then
  64.         for i,v in pairs(game.Players:GetPlayers()) do
  65.             if string.find(v.Name, string.sub(msg, 7)) ~= nil then
  66.                 local V = v.Character  
  67.                 local w = V:GetChildren()
  68.                 -- removeing powerz
  69.                 wait()
  70.                             local d = V:GetChildren()
  71.             for i=1, #d do
  72.             if (d[i].className == "Hat") then
  73.             d[i]:remove()
  74.                 end
  75.             end
  76.             local d = V:GetChildren()
  77.             for i=1, #d do
  78.             if (d[i].className == "Pants") then
  79.             d[i]:remove()
  80.                 end
  81.             end
  82.                         local d = V:GetChildren()
  83.             for i=1, #d do
  84.             if (d[i].className == "Shirt") then
  85.             d[i]:remove()
  86.                 end
  87.             end
  88.                         local d = V:GetChildren()
  89.             for i=1, #d do
  90.             if (d[i].className == "Shirt Graphic") then
  91.             d[i]:remove()
  92.                 end
  93.             end            
  94.                 local h = V.Head
  95.                 V.Head.Mesh:remove()
  96.                 local vc = Instance.new("SpecialMesh", V.Head)
  97.                 vc.Scale=Vector3.new(1.25, 1.25, 1.25)
  98.                
  99.                 --adding powerz
  100.                 local Shi = Instance.new("Shirt", V)
  101.                 Shi.Name="Shirt"
  102.                 local Pan = Instance.new("Pants", V)
  103.                 Pan.Name="Pants"
  104.                 local Bc = v.Character["Body Colors"]
  105.                 Bc.HeadColor=BrickColor.new("Pastel brown")
  106.                 Bc.LeftArmColor=BrickColor.new("Pastel brown")
  107.                 Bc.LeftLegColor=BrickColor.new("Pastel brown")
  108.                 Bc.RightArmColor=BrickColor.new("Pastel brown")
  109.                 Bc.RightLegColor=BrickColor.new("Pastel brown")
  110.                 Bc.TorsoColor=BrickColor.new("Pastel brown")
  111.                 v.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=56289745"
  112.                 v.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=113307508"
  113.                 local RLA = Instance.new("CharacterMesh", V)
  114.                 local RLL = Instance.new("CharacterMesh", V)
  115.                 local RRR = Instance.new("CharacterMesh", V)
  116.                 local RRL =Instance.new("CharacterMesh", V)
  117.                 local RT =Instance.new("CharacterMesh", V)
  118.                 RLA.MeshId="27111419"
  119.                 RLA.BodyPart="LeftArm"
  120.                 RLL.MeshId="27111857"
  121.                 RLL.BodyPart="LeftLeg"
  122.                 --
  123.                 RRR.MeshId="27111864"
  124.                 RRR.BodyPart="RightArm"
  125.                 RRL.MeshId="27111882"
  126.                 RRL.BodyPart="RightLeg"
  127.                 --
  128.                 RT.MeshId="27111894"
  129.                 RT.BodyPart="Torso"
  130. wait()
  131.                 --
  132.                 local hat1=Instance.new("Hat", V)
  133.                 local hat2=Instance.new("Hat", V)
  134.                 local hat3=Instance.new("Hat", V)
  135.                 hat1.AttachmentPos=Vector3.new(0,-0.5,0)
  136.                 --
  137.                 hat2.AttachmentForward=Vector3.new(0, -0.1, -0.995)
  138.                 hat2.AttachmentPos=Vector3.new(0,0.9,0)
  139.                 hat2.AttachmentUp=Vector3.new(0, 0.995, -0.1)
  140.                 hat3.AttachmentPos=Vector3.new(0, 0.45, 0)
  141.                 local Part1 = Instance.new("Part", hat1)
  142.                 Part1.Name="Handle"
  143.                 Part1.Size=Vector3.new(1, 2, 1)
  144.                 Part1.CanCollide=false
  145.                 local Mesh1 = Instance.new("SpecialMesh", Part1)
  146.                 Mesh1.MeshId="http://www.roblox.com/asset/?id=1072759"
  147.                 Mesh1.TextureId="http://www.roblox.com/asset/?id=1072760"
  148.                 local Part2 = Instance.new("Part", hat2)
  149.                 Part2.Name="Handle"
  150.                 Part2.Size=Vector3.new(1, 2, 2)
  151.                 Part2.CanCollide=false
  152.                 local Mesh2 = Instance.new("SpecialMesh", Part2)
  153.                 Mesh2.MeshId="http://www.roblox.com/asset/?id=13070796"
  154.                 Mesh2.TextureId="http://www.roblox.com/asset/?id=13694600"
  155.                 local Part3 = Instance.new("Part", hat3)
  156.                 Part3.Name="Handle"
  157.                 Part3.Size=Vector3.new(2, 2, 2)
  158.                 Part3.CanCollide=false
  159.                 local Mesh3 = Instance.new("SpecialMesh", Part3)
  160.                 Mesh3.MeshId="http://www.roblox.com/asset/?id=16101994"
  161.                 Mesh3.Scale=Vector3.new(1.02,1.02,1.02)
  162.                 Mesh3.TextureId="http://www.roblox.com/asset/?id=16412516"
  163.                 v.Character.Head.face.Texture="http://www.roblox.com/asset/?id=10747810"
  164.                 Part3.CanCollide=false
  165.                 Part2.CanCollide=false
  166.                 Part1.CanCollide=false
  167.                 Part3.Anchored=false
  168.                 Part2.Anchored=false
  169.                 Part1.Anchored=false
  170.             end
  171.             end
  172.     elseif msg:sub(1, 6) == "oder- " then
  173.             for i,v in pairs(game.Players:GetPlayers()) do
  174.             if string.find(v.Name, string.sub(msg, 7)) ~= nil then
  175.                 local V = v.Character  
  176.                 local w = V:GetChildren()
  177.                 -- removeing powerz
  178.                 wait()
  179.                             local d = V:GetChildren()
  180.             for i=1, #d do
  181.             if (d[i].className == "Hat") then
  182.             d[i]:remove()
  183.                 end
  184.             end
  185.             local d = V:GetChildren()
  186.             for i=1, #d do
  187.             if (d[i].className == "Pants") then
  188.             d[i]:remove()
  189.                 end
  190.             end
  191.                         local d = V:GetChildren()
  192.             for i=1, #d do
  193.             if (d[i].className == "Shirt") then
  194.             d[i]:remove()
  195.                 end
  196.             end
  197.                         local d = V:GetChildren()
  198.             for i=1, #d do
  199.             if (d[i].className == "Shirt Graphic") then
  200.             d[i]:remove()
  201.                 end
  202.             end            
  203.                 local h = V.Head
  204.                 V.Head.Mesh:remove()
  205.                 local vc = Instance.new("SpecialMesh", V.Head)
  206.                 vc.Scale=Vector3.new(1.25, 1.25, 1.25)
  207.                
  208.                 --adding powerz
  209.                 local Shi = Instance.new("Shirt", V)
  210.                 Shi.Name="Shirt"
  211.                 local Pan = Instance.new("Pants", V)
  212.                 Pan.Name="Pants"
  213.                 local Bc = v.Character["Body Colors"]
  214.                 Bc.HeadColor=BrickColor.new("Pastel brown")
  215.                 Bc.LeftArmColor=BrickColor.new("Pastel brown")
  216.                 Bc.LeftLegColor=BrickColor.new("Pastel brown")
  217.                 Bc.RightArmColor=BrickColor.new("Pastel brown")
  218.                 Bc.RightLegColor=BrickColor.new("Pastel brown")
  219.                 Bc.TorsoColor=BrickColor.new("Pastel brown")
  220.                 v.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=45024962"
  221.                 v.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=72576699"
  222.                 local RLA = Instance.new("CharacterMesh", V)
  223.                 local RLL = Instance.new("CharacterMesh", V)
  224.                 local RRR = Instance.new("CharacterMesh", V)
  225.                 local RRL =Instance.new("CharacterMesh", V)
  226.                 local RT =Instance.new("CharacterMesh", V)
  227.                 RLA.MeshId="27111419"
  228.                 RLA.BodyPart="LeftArm"
  229.                 RLL.MeshId="27111857"
  230.                 RLL.BodyPart="LeftLeg"
  231.                 --
  232.                 RRR.MeshId="27111864"
  233.                 RRR.BodyPart="RightArm"
  234.                 RRL.MeshId="27111882"
  235.                 RRL.BodyPart="RightLeg"
  236.                 --
  237.                 RT.MeshId="27111894"
  238.                 RT.BodyPart="Torso"
  239.                 wait()
  240.                 --
  241.                 local hat1=Instance.new("Hat", V)
  242.                 hat1.AttachmentForward=Vector3.new(0, 0, -1)
  243.                 hat1.AttachmentPos=Vector3.new(0, 0, 0)
  244.                 hat1.AttachmentUp=Vector3.new(0, 1, 0)
  245.                 hat1.AttachmentRight=Vector3.new(1, 0, 0)
  246.                 --
  247.                 local Part1 = Instance.new("Part", hat1)
  248.                 Part1.Name="Handle"
  249.                 Part1.Size=Vector3.new(2, 2, 2)
  250.                 Part1.CanCollide=false
  251.                 local Mesh1 = Instance.new("SpecialMesh", Part1)
  252.                 Mesh1.MeshId="http://www.roblox.com/asset/?id=16627529"
  253.                 Mesh1.TextureId="http://www.roblox.com/asset/?id=17877254"
  254.                 Mesh1.Scale=Vector3.new(1.05, 1.05, 1.05)
  255.                 v.Character.Head.face.Texture="http://www.roblox.com/asset/?id=20722053"
  256.                 Part1.Anchored=false
  257.             end
  258.             end
  259.         end
  260.    
  261.     end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement