Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- [\<=|Simple Admin|=>/]
- Made by Helpful Guy
- Discord: Huh#7036
- Roblox Username: RealProgrammerL_L
- --]]
- wait(0.1)
- local Players = game:GetService("Players"):GetPlayers()
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- local CommandSign = "-"
- local Spining = false
- local BlockInfo = false
- local ChatSpam = false
- local Commands = {"tp [Player Name]","rape [PlayerName]","changesign [New Command Sign]","btools","spin/on OR spin/off","spin [Number]","clean","speed [Number]","jumppower [Number]"}
- local ChatSpamMessages = {}
- print("[Simple Admin]: Simple Admin has loaded!")
- print("[Simple Admin]: Simple Admin made by Helpful Guy")
- function SpinFunc(Mode, Value)
- if Mode == "Add" and Value == nil and not game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
- local SpinningEffect = Instance.new("BodyThrust")
- SpinningEffect.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- SpinningEffect.Force = Vector3.new(100,0,100)
- SpinningEffect.Location = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
- elseif Mode == "Remove" and Value == nil and game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
- if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
- game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("BodyThrust"):remove()
- end
- elseif Mode == "Edit" and Value ~= nil and game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
- game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("BodyThrust").Force = Vector3.new(Value,0,Value)
- else
- error("[Simple Admin]: Unknown Error while using Spin Function")
- end
- end
- Player.Chatted:Connect(function(Command)
- if Command:sub(1,3):lower() == CommandSign.."tp" then
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if string.match(string.lower(Command:sub(5)), string.lower(v.Name)) and game:GetService("Workspace"):FindFirstChild(Player.Name) and game:GetService("Workspace"):FindFirstChild(v.Name) then
- game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("HumanoidRootPart").CFrame = game:GetService("Workspace"):WaitForChild(v.Name):WaitForChild("HumanoidRootPart").CFrame
- print("[Simple Admin]: Teleported to: "..v.Name)
- break
- end
- end
- elseif Command:sub(1,11):lower() == CommandSign.."changesign" then
- if Command:sub(13):lower() == CommandSign then
- error("[Simple Admin]: Unknown erorr while changing changesign")
- else
- CommandSign = Command:sub(13)
- print("[Simple Admin]: Changed Command Sign to: "..CommandSign)
- end
- elseif Command:sub(1,7):lower() == CommandSign.."btools" then
- game.StarterGui:SetCoreGuiEnabled(2, true)
- for I=2,4 do
- Instance.new("HopperBin", game:GetService'Players'.LocalPlayer.Backpack).BinType = I
- end
- print("[Simple Admin]: Done!")
- elseif Command:sub(1,6):lower() == CommandSign.."clean" then
- for I = 1,50 do
- print("\n")
- end
- print("[Simple Admin]: Cleaned!")
- elseif Command:sub(1,6):lower() == CommandSign.."speed" then
- game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("Humanoid").WalkSpeed = tonumber(Command:sub(7))
- print("[Simple Admin]: Done!")
- elseif Command:sub(1,10):lower() == CommandSign.."jumppower" then
- game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("Humanoid").JumpPower = tonumber(Command:sub(12))
- print("[Simple Admin]: Done!")
- elseif Command:sub(1,5):lower() == CommandSign.."spin" then
- if Command:sub(6,9):lower() == "/off" then
- if Spining == true then
- Spining = false
- SpinFunc("Remove", nil)
- print("[Simple Admin]: Done!")
- else
- error("[Simple Admin]: Already off!")
- end
- elseif Command:sub(6,8):lower() == "/on" then
- if Spining == false then
- Spining = true
- SpinFunc("Add", nil)
- print("[Simple Admin]: Done!")
- else
- error("[Simple Admin]: Already on!")
- end
- elseif Spining == true then
- SpinFunc("Edit", tonumber(Command:sub(7)))
- end
- elseif Command:sub(1,10):lower() == CommandSign.."blockinfo" then
- if Command:sub(11,15):lower() == "/off" then
- if BlockInfo == true then
- BlockInfo = false
- print("[Simple Admin]: Done!")
- else
- error("[Simple Admin]: Already off!")
- end
- elseif Command:sub(11,14):lower() == "/on" then
- if BlockInfo == false then
- BlockInfo = true
- print("[Simple Admin]: Done!")
- else
- error("[Simple Admin]: Already on!")
- end
- end
- elseif Command:sub(1,5):lower() == CommandSign.."rape" then
- if game:GetService("Players"):FindFirstChild(Command:sub(7)) then
- local Victim= Command:sub(7)
- local A=Instance.new'Animation'
- A.AnimationId='rbxassetid://148840371'
- local P=game:GetService'Players'.LocalPlayer
- local C=P.Character or P.CharacterAdded:Wait()
- local H=C:WaitForChild'Humanoid':LoadAnimation(A)
- H:Play()
- H:AdjustSpeed(2.5)
- game:GetService'RunService'.Stepped:Connect(function()
- C:WaitForChild('HumanoidRootPart').CFrame=CFrame.new(game:GetService('Players'):FindFirstChild(Victim).Character:WaitForChild('HumanoidRootPart').Position)
- end)
- end
- elseif Command:sub(1,13):lower() == CommandSign.."showcommands" then
- for i,v in pairs(Commands) do
- print("[Simple Admin]: Command Number "..i..": "..CommandSign..v)
- end
- elseif Command:sub(1,9):lower() == CommandSign.."chatspam" then
- if Command:sub(10,14):lower() == "/off" then
- if ChatSpam == true then
- ChatSpam = false
- print("[Simple Admin]: Done!")
- else
- error("[Simple Admin]: Already off!")
- end
- elseif Command:sub(10,13):lower() == "/on" then
- if ChatSpam == false and #ChatSpamMessages >= 1 then
- ChatSpam = true
- print("[Simple Admin]: Done!")
- while wait() do
- if ChatSpam == true then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ChatSpamMessages[math.random(1,#ChatSpamMessages)], "All")
- wait(3.5)
- else
- break
- end
- end
- else
- error("[Simple Admin]: There's no messages to spam! please insert some messages")
- end
- end
- elseif Command:sub(1,12):lower() == CommandSign.."addchatspam" then
- if Command:sub(14) ~= unpack(ChatSpamMessages) then
- table.insert(ChatSpamMessages, Command:sub(14))
- else
- error("[Simple Admin]: "..Command:sub(14).. " Already in the chat spam messages!")
- end
- elseif Command:sub(1,11):lower() == CommandSign.."stealtools" then
- if game:GetService("Players"):FindFirstChild(Command:sub(13)) then
- for i,v in pairs(game:GetService("Players"):WaitForChild(Command:sub(13)):WaitForChild("Backpack"):GetChildren()) do
- if not game:GetService("Players"):WaitForChild(Command:sub(13)):WaitForChild("Backpack"):FindFirstChild(v.Name) then
- local NewTool = v:Clone()
- NewTool.Parent = game:GetService("Players"):WaitForChild(Command:sub(13)):WaitForChild("Backpack")
- print("[Simple Admin]: Cloned "..v.Name.." into your backpack")
- end
- end
- print("[Simple Admin]: Done!")
- else
- error("[Simple Admin]: Could not find any player with the following name: "..Command:sub(13))
- end
- elseif Command:sub(1,3):lower() == CommandSign.."re" then
- if Spining == true then
- Spining = false
- SpinFunc("Remove", nil)
- end
- if BlockInfo == true then
- BlockInfo = false
- end
- if ChatSpam == true then
- ChatSpam = false
- end
- for i,v in pairs(ChatSpamMessages) do
- table.remove(ChatSpamMessages, i)
- end
- print("[Simple Admin]: Done!")
- elseif Command:sub(1,4):lower() == CommandSign.."age" then
- if game:GetService("Players"):FindFirstChild(Command:sub(6)) then
- local TargetAccountAge = game:GetService("Players"):WaitForChild(Command:sub(6)).AccountAge
- print("[Simple Admin]: "..Command:sub(6).."'s account age is: "..TargetAccountAge.." days")
- else
- error("[Simple Admin]: Could not find any player with the following name: "..Command:sub(6))
- end
- end
- end)
- Mouse.Button1Down:Connect(function()
- if BlockInfo == true then
- if Mouse.Target ~= nil then
- print("[Simple Admin]: Name: "..Mouse.Target.Name..", Type: "..Mouse.Target.ClassName..", Location: "..Mouse.Target:GetFullName())
- end
- end
- end)
- game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
- wait(4)
- if Spining == true then
- Spining = false
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- if Spining == true then
- if game:GetService("Players").LocalPlayer.Character:FindFirstChild("UpperTorso") then
- game:GetService("Players").LocalPlayer.Character.Head.CanCollide = false
- game:GetService("Players").LocalPlayer.Character.UpperTorso.CanCollide = false
- game:GetService("Players").LocalPlayer.Character.LowerTorso.CanCollide = false
- game:GetService("Players").LocalPlayer.Character["LeftLowerLeg"].CanCollide = false
- game:GetService("Players").LocalPlayer.Character["LeftUpperLeg"].CanCollide = false
- game:GetService("Players").LocalPlayer.Character["LeftFoot"].CanCollide = false
- game:GetService("Players").LocalPlayer.Character["RightLowerLeg"].CanCollide = false
- game:GetService("Players").LocalPlayer.Character["RightUpperLeg"].CanCollide = false
- game:GetService("Players").LocalPlayer.Character["RightFoot"].CanCollide = false
- else
- game:GetService("Players").LocalPlayer.Character.Head.CanCollide = false
- game:GetService("Players").LocalPlayer.Character.Torso.CanCollide = false
- game:GetService("Players").LocalPlayer.Character["Left Leg"].CanCollide = false
- game:GetService("Players").LocalPlayer.Character["Right Leg"].CanCollide = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement