I need help with a script that when a player joins their walkspeed is set to 0 while the clicked.Value = false, here's my current script. Please help.
1 | game.Players.PlayerAdded:connect( function (player) |
2 | player.CharacterAdded:connect( function (character) |
3 | while script.Parent.Clicked.Value = = false do |
4 | character.Humanoid.Walkspeed = 0 |
5 | end |
6 | end ) |
7 | end ) |