Right now I am working on making it so if you open the escape menu, your torso becomes anchored, not allowing you to move. However, when looking on the wiki of how to do this, there are no examples. Here's what I have so far:
function MenuOpen()
game.Players.LocalPlayer.Character.Torso.Anchored = true
end
function MenuClosed()
game.Players.LocalPlayer.Character.Torso.Anchored = false
end
I know this is not the proper setup of a function, but I am not sure what it is for this instance. Also, where would I put this Local Script? StarterPack? StarterPlayerScripts? Please help!
