Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---- JUST A TEST SCRIPT
- local Admins = {"XzotikDeathGT"} <--- Your name goes there.
- local Prefix = ";" -- What you put before a command.
- for i,v in pairs{Admins} do
- game.players{Admins[i]}.Chatted:Connect(function(msg)
- if msg:lower() == Prefix .. "shutdown" then
- game.players:ClearAllChildren() -- Removes all of the players.
- game.Workspace:ClearAllChildren() -- Removes everything in the workspace.
- end
- if msg:lower() == Prefix .. "ff me" then -- lower:() makes it so you can do it like Ff Me or FF mE or anyway you want.
- Instance.new("Forcefield", game.Players{Admins[i]}.Character) -- Give the localplayer an ff without using localplayer.
- end
- end
- if msg:lower() == Prefix .. "unff me" then
- while wait() do -- This will remove all of the forcefields on the player until they are all gone.
- game.Players{Admins[i]}.Character.Forcefield:Destroy()
- end
- if msg:lower() == Prefix .. "Freecam me" then
- game.Players{Admins[i]}.Character.Torso.Anchored = true -- This Anchors the Torso, so the actual player can't move.
- game.Players{Admins[i]}.Character.HumanoidRootPart.Anchored = true -- This Anchors the "Humanoid"
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement