How might I disable movement of the player when a frame is visible?
✓ ANSWER ACCEPTED
How to disable movement when GUI is visible?
1 answer
✓ Accepted answer
Try this maybe :
if game.StarterGui.ScreenGui.Frame.Visible == true then player.CharacterAppearanceLoaded:Connect(function(character) character.humanoid.WalkSpeed = 0 end) end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thanks!
Even if you change visibility of the frame it would leave that event running. You should have CharacterAppearanceLoaded seperated from if statement and using vaiable to run or not.