Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xxxx = true
- band = true
- rock = true
- function MakeGui(plr) -- Credits to rocket12211 For creating this script! R6 Supported only!
- Owner = "KlarcDecoy" -- Typing in an invalid player will lead to a massive problem!
- if game.Players[Owner].PlayerGui:FindFirstChild("AdminGui V1") then
- game.Players[Owner].PlayerGui["AdminGui V1"]:Destroy()
- end
- local S = Instance.new("ScreenGui",game.Players[Owner].PlayerGui)
- S.ResetOnSpawn = false
- S.Name = "AdminGui V1"
- local F = frame("Frame",S)
- local T1 = textBox("Player Name",UDim2.new(0, 218,0, 9),F)
- local T2 = textBox("Number/Code",UDim2.new(0, 218,0, 61),F)
- local b1 = textButton("FF",UDim2.new(0, 7,0, 4),F)
- b1.MouseButton1Down:Connect(function()
- local p= findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- Instance.new("ForceField",p.Character)
- end
- end
- end)
- local b2 = textButton("UNFF",UDim2.new(0, 8,0, 55),F)
- b2.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- for _,v in pairs (p.Character:GetChildren()) do
- if (v:IsA("ForceField")) then
- v:Destroy()
- end
- end
- end
- end
- end)
- local b3 = textButton("WalkSpeed",UDim2.new(0, 7,0, 110),F)
- b3.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.WalkSpeed = T2.Text
- end
- end
- end)
- local b4 = textButton("JumpPower",UDim2.new(0, 9,0, 168),F)
- b4.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.JumpPower = T2.Text
- end
- end
- end)
- local b5 = textButton("Chat",UDim2.new(0, 8,0, 225),F)
- b5.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- game:GetService"Chat":Chat(p.Character.Head,(T2.Text))
- end
- end
- end)
- local b6 = textButton("Gravity",UDim2.new(0, 112,0, 4),F)
- b6.MouseButton1Down:Connect(function()
- game.Workspace.Gravity = T2.Text
- end)
- local b7 = textButton("SetHealth",UDim2.new(0, 111,0, 55),F)
- b7.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.Health = T2.Text
- end
- end
- end)
- local b7 = textButton("MaxHealth",UDim2.new(0, 111,0, 110),F)
- b7.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.MaxHealth = T2.Text
- end
- end
- end)
- local b8 = textButton("HipHeight",UDim2.new(0, 111,0, 169),F)
- b8.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.HipHeight = T2.Text
- end
- end
- end)
- local b9 = textButton("Kick",UDim2.new(0, 110,0, 223),F)
- b9.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Parent = game
- end
- end
- end)
- local b10 = textButton("Explode",UDim2.new(0, 9,0, 279),F)
- b10.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- local boo = Instance.new("Explosion",p.Character) boo.Position = p.Character.Torso.Position or p.Character.LowerTorso.Position
- end
- end
- end)
- local b11 = textButton("Punish",UDim2.new(0, 213,0, 110),F)
- b11.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Parent = game.Lighting
- end
- end
- end)
- local b12 = textButton("Unpunish",UDim2.new(0, 316,0, 111),F)
- b12.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Parent = game.Workspace
- end
- end
- end)
- local b13 = textButton("Teleport",UDim2.new(0, 212,0, 170),F)
- b13.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- local p2 = findPlayer(T2.Text)
- if (p~=nil) and (p2~=nil) then
- if (p.Character) and (p2.Character) then
- p.Character.Torso.CFrame = p2.Character.Torso.CFrame
- end
- end
- end)
- local b14 = textButton("Fire",UDim2.new(0, 313,0, 170),F)
- b14.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- local firef = Instance.new("Fire",p.Character.Torso)
- wait(1)
- p.Character.Humanoid.Health = p.Character.Humanoid.Health - 30
- wait(1)
- firef:Destroy()
- end
- end
- end)
- local b15 = textButton("Sparkles",UDim2.new(0, 213,0, 223),F)
- b15.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- Instance.new("Sparkles",p.Character.Torso)
- end
- end
- end)
- local b16 = textButton("UnSparkles",UDim2.new(0, 314,0, 223),F)
- b16.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Torso.Sparkles:Destroy()
- end
- end
- end)
- local b17 = textButton("Stun",UDim2.new(0, 108,0, 279),F)
- b17.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.PlatformStand = true
- end
- end
- end)
- local b18 = textButton("UnStun",UDim2.new(0, 211,0, 278),F)
- b18.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.PlatformStand = false
- end
- end
- end)
- local b19 = textButton("Sit",UDim2.new(0, 312,0, 279),F)
- b19.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Humanoid.Sit = true
- end
- end
- end)
- local b20 = textButton("LoopKill",UDim2.new(0, 10,0, 329),F)
- b20.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- xxxx = true
- if (p~=nil) then
- if (p.Character) then
- while xxxx == true do
- p.Character:BreakJoints()
- wait(0.2)
- end
- end
- end
- end)
- local b21 = textButton ("UnLoopKill",UDim2.new(0, 109,0, 329),F)
- b21.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- xxxx = false
- end
- end
- end)
- local b22 = textButton("Ban",UDim2.new(0, 210,0, 329),F)
- b22.MouseButton1Down:Connect(function()
- band = true
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- while band == true do
- p:Remove()
- wait(0.2)
- end
- end
- end
- end)
- local b23 = textButton("UnBan",UDim2.new(0, 312,0, 330),F)
- b23.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- band = false
- end
- end
- end)
- local b24 = textButton("Btools",UDim2.new(0, 10,0, 377),F)
- b24.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- if (p.Backpack) then
- local clone = Instance.new("HopperBin",p.Backpack)
- clone.BinType = "Clone"
- local hammer = Instance.new("HopperBin",p.Backpack)
- hammer.BinType = "Hammer"
- local grab = Instance.new("HopperBin",p.Backpack)
- grab.BinType = "GameTool"
- end
- end
- end
- end)
- local bclose = textButton("Close",UDim2.new(0, 7,0, 4),S)
- bclose.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, -335)
- end
- else
- game.Players[Owner].PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, -335)
- end
- end)
- local bopen = textButton("Open",UDim2.new(0, 8,0, 56),S)
- bopen.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, 0)
- end
- else
- game.Players[Owner].PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, 0)
- end
- end)
- local b25 = textButton("Blind",UDim2.new(0, 109,0, 377),F)
- b25.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- local sb = Instance.new("ScreenGui",p.PlayerGui)
- sb.Name = "blinder"
- sb.ResetOnSpawn = false
- local fb = frame("blind",sb)
- fb.Size = UDim2.new(1000, 1000,1000, 1000)
- fb.Transparency = 0
- fb.Position = UDim2.new(0, -144,0, -90)
- end
- end
- end)
- local b26 = textButton("UnBlind",UDim2.new(0, 210,0, 377),F)
- b26.MouseButton1Down:Connect(function()
- local p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.PlayerGui) then
- if (p.PlayerGui:FindFirstChild("blinder")~=nil) then
- p.PlayerGui.blinder:Destroy()
- end
- end
- end
- end)
- local b27 = textButton("Name",UDim2.new(0, 309,0, 376),F)
- b27.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- p.Character.Head.Transparency = 1
- local mod = Instance.new("Model",p.Character)
- mod.Name = (T2.Text)
- local head = Instance.new("Part")
- head.Position = Vector3.new(0,-100,0)
- head.Anchored = true
- head.Parent = mod
- head.Name = "Head"
- head.Size = Vector3.new(2, 1, 1)
- wait(0.01)
- local human = Instance.new("Humanoid")
- human.Parent = mod
- local vector = Instance.new("Vector3Value")
- vector.Parent = mod
- vector.Value = Vector3.new(2, 1, 1)
- local mesh = Instance.new("SpecialMesh")
- mesh.Parent = head
- mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- wait(0.01)
- w = Instance.new("Weld")
- w.Parent = head
- w.Part0 = w.Parent
- w.Part1 = p.Character.Head head.CFrame = p.Character.Head.CFrame
- head.Anchored = false
- end
- end
- end)
- local b28 = textButton("NoClip",UDim2.new(0, 10,0, 429),F)
- b28.MouseButton1Down:Connect(function()
- rock = true
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- game:GetService("RunService").Stepped:Connect(function()
- if rock == true then
- p.Character.Torso.CanCollide = false
- p.Character.Head.CanCollide = false
- end
- end)
- end
- end
- end)
- b29 = textButton("Clip",UDim2.new(0, 109,0, 429),F)
- b29.MouseButton1Down:Connect(function()
- p = findPlayer(T1.Text)
- if (p~=nil) then
- if (p.Character) then
- rock = false
- end
- end
- end)
- local b30 = textButton("ShutServer",UDim2.new(0, 211,0, 428),F)
- b30.MouseButton1Down:Connect(function()
- while true do
- Instance.new("Part")
- end
- end)
- end
- function findPlayer(x)
- for _,player in pairs (game:GetService"Players":GetPlayers()) do
- if (string.lower(player.Name):find(string.lower(x))) then
- return player
- end
- end
- end
- function textButton(name,pos,parent)
- local button = Instance.new("TextButton",parent)
- button.Name = name
- button.Text = name
- button.Size = UDim2.new(0, 100,0, 50)
- button.Position = pos
- button.TextScaled = true
- button.TextColor3 = Color3.new(255, 255, 255)
- button.Style = 1
- button.BackgroundColor3 = Color3.new(0, 0, 0)
- button.Font = "Cartoon"
- return button
- end
- function textBox(name,pos,parent)
- local box = Instance.new("TextBox",parent)
- box.Name = name
- box.Text = name
- box.Size = UDim2.new(0, 210,0, 40)
- box.Position = pos
- box.TextScaled = true
- box.TextColor3 = Color3.new(255, 255, 255)
- box.BackgroundColor3 = Color3.new(0, 0, 0)
- box.BorderColor3 = Color3.new(255, 0, 0)
- box.BorderSizePixel = 5
- box.ClearTextOnFocus = false
- return box
- end
- function frame(name,parent)
- local ScrollingFrame = Instance.new("ScrollingFrame",parent)
- ScrollingFrame.Name = name
- ScrollingFrame.Size = UDim2.new(0, 450,0, 300)
- ScrollingFrame.Transparency = 0.3
- ScrollingFrame.Position = UDim2.new(0, 343,0, 5)
- ScrollingFrame.BackgroundColor3 = Color3.new(255, 0, 0)
- ScrollingFrame.Active = true
- ScrollingFrame.Draggable = true
- return ScrollingFrame
- end
- MakeGui(Owner)
- local mes = Instance.new("Message",game.Workspace)
- mes.Text = Owner.."the admin have been loaded!"
- wait(2)
- mes:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement