Hi I want the player to not be moving, basically not being able to walk anywhere or jump.
How would I go about implementing this?
Thanks!
Hi I want the player to not be moving, basically not being able to walk anywhere or jump.
How would I go about implementing this?
Thanks!
I’m sure this old reply of mine will help you
Instead of unbinding actions, you could also disable their controls like this:
--LocalScript
local player = game:GetService("Players").LocalPlayer
local playerModule = player:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")
local controls = require(playerModule):GetControls()
controls:Disable()
controls:Enable()
And as another alternative (not great) just set their walkspeed and jumpheight to 0.