Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = {}
- m.Adminlist = {
- -1
- -2
- }
- local Owner = {"tacticalmanx75"}
- local SuperAdmin = {""}
- local Admin = {""}
- local Vip = {""}
- local Admins = {"tacticalmanx75"}
- local aList = {m.Adminlist,Admins}
- m.commandstart = ";"
- function CommandStarted(Player)
- Player.Chatted:Connect(function(message)
- local mouse = Player:GetMouse()
- for i,AdminName in ipairs(Admins) do
- if Player.Name == AdminName then
- if message:sub(1,6) == m.commandstart.."kill " then
- local TargetPlayer = game.Players:FindFirstChild(message:sub(7))
- if TargetPlayer then
- local Char = TargetPlayer.Character
- if Char then
- Char.Humanoid.Health = 0
- end
- end
- end
- if message:sub(1,6) == m.commandstart.."kick " then
- local TargetPlayer = game.Players:FindFirstChild(message:sub(7))
- if TargetPlayer then
- TargetPlayer:Kick("Kicked by "..Player.Name)
- end
- end
- if message:sub(1,7) == m.commandstart.."reload" then
- Player:LoadCharacter()
- end
- if message:sub(1,7) == m.commandstart.."rejoin" then
- game:GetService("TeleportService"):Teleport(game.PlaceId, Player)
- end
- if message:sub(1,6) == m.commandstart.."ff" then
- local ff = Instance.new("ForceField")
- ff.Visible = true
- ff.Parent = Player.Character
- end
- if message:sub(1,9) == m.commandstart.."spectate" then
- local parts = Player.Character:GetChildren()
- for i,v in pairs(parts) do
- if v:IsA("Part") then
- v.Transparency = 1
- end
- if v:IsA("MeshPart") then
- v.Transparency = 1
- end
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- if v:IsA("WedgePart") then
- v.Transparency = 1
- end
- end
- end
- if message:sub(1,6) == m.commandstart.."god" then
- Player.Character.Humanoid.MaxHealth = 100000000
- Player.Character.Humanoid.Health = Player.Character.Humanoid.MaxHealth
- end
- if message:sub(1,6) == m.commandstart.."speed" then
- local speed = message:sub(7)
- Player.Character.Humanoid.WalkSpeed = speed
- end
- if message:sub(1,6) == m.commandstart.."jumpp" then
- local jumppower = message:sub(7)
- Player.Character.Humanoid.JumpPower = jumppower
- end
- end
- end
- end)
- end
- game.Players.PlayerAdded:Connect(CommandStarted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement