I was wondering, is it possible make a player unable to move for a period of time, then release them?
game.Workspace.??Player??.Torso.Anchored = true
I was wondering, is it possible make a player unable to move for a period of time, then release them?
game.Workspace.??Player??.Torso.Anchored = true
If you anchor their torso, then it will effectively stop them from moving.
As well as setting their walkspeed to 0, putting bodyvelocity on them, removing the walking script.. etc..
Lots of ways(:
--------------------------Edit1
c = game.Players:GetChildren() --Get all the children of players
for i = 1,#c do
c[i].Character.Torso.Anchored = true
end
wait(timehere) --Put the amount of time you want to hold them here
for i = 1,#c do
c[i].Character.Torso.Anchored = false
end
-Goulstem
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
example?
I have editted my question with something, but I dont know how to get all the players in workspace and their torsos.
Oh, ok. Edit.