Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- [\<=|Simple Admin|=>/]
- Made by 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 SelectedGame = "Nothing"
- local ChatSpamMessages = {}
- print("[Simple Admin]: Simple Admin has loaded!")
- print("[Simple Admin]: Simple Admin made by RealProgrammerL_L")
- 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)
- end
- end
- function Kill_1()
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(-88.145134, 60.9199867, -213.246567)
- wait(.1)
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(-76.1994705, 59.4499855, -213.812958)
- end
- function Kill_2(PlayerName)
- wait(.3)
- for i=1, 17 do
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= Player.Name then
- game.Players[Player.Name].character.HumanoidRootPart.CFrame = CFrame.new(Player.Character.HumanoidRootPart.Position)
- end
- end
- 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
- print("[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
- print("[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
- print("[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
- print("[Simple Admin]: Already off!")
- end
- elseif Command:sub(11,14):lower() == "/on" then
- if BlockInfo == false then
- BlockInfo = true
- print("[Simple Admin]: Done!")
- else
- print("[Simple Admin]: Already on!")
- end
- end
- elseif Command:sub(1,5):lower() == CommandSign.."rape" then
- if game:GetService("Players"):FindFirstChild(Command:sub(7)) and game:GetService("Players"):WaitForChild(Command:sub(7)):FindFirstChild("Torso") 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)
- else
- print("[Simple Admin]: Unknown error. Please make sure that the target is using R6 character rig.")
- 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
- print("[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)
- else
- break
- end
- end
- else
- print("[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
- print("[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
- print("[Simple Admin]: Could not find any player with the following name: "..Command:sub(13))
- end
- elseif Command:sub(1,3):lower() == CommandSign.."re" then
- Spining = false
- SpinFunc("Remove", nil)
- BlockInfo = false
- ChatSpam = false
- SelectedGame = ""
- 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
- print("[Simple Admin]: Could not find any player with the following name: "..Command:sub(6))
- end
- elseif Command:sub(1,6):lower() == CommandSign.."reset" then
- game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("Humanoid").Health = 0
- elseif Command:sub(1,11):lower() == CommandSign.."selectgame" then
- SelectedGame = CommandSign:sub(13):lower()
- print("[Simple Admin]: Done!")
- elseif SelectedGame:lower() == "auto rap battles" then
- if CommandSign:sub(1,5):lower() == CommandSign.."kill" then
- Kill_1()
- Kill_2(CommandSign:sub(7))
- print("[Simple Admin]: Done!")
- elseif CommandSign:sub(1,8):lower() == CommandSign.."killall" then
- local PlayerCharacter = Player.Character.HumanoidRootPart.CFrame
- for i,v in pairs(game.Players:GetPlayers()) do
- spawn(function()
- pcall(function()
- workspace.Camera.CameraSubject=workspace
- v.Character.HumanoidRootPart.CFrame=CFrame.new(-73.2564, 68.75, -210.266)
- wait()
- v.Character.HumanoidRootPart.CFrame=CFrame.new(-73.2564, 68.75, -210.266)
- wait()
- v.Character.HumanoidRootPart.CFrame=CFrame.new(-73.2564, 68.75, -210.266)
- end)
- end)
- end
- print("[Simple Admin]: Done!")
- elseif CommandSign:sub(1,8):lower() == CommandSign.."nowalls" then
- local Walls = workspace:GetChildren()
- Walls[55]:Remove()
- Walls[84]:Remove()
- Walls[136]:Remove()
- Walls[57]:Remove()
- Walls[129]:Remove()
- Walls[123]:Remove()
- Walls[175]:Remove()
- game.Workspace.Barricade:Remove()
- game.Workspace.Barricade:Remove()
- print("[Simple Admin]: Done!")
- 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('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