1 | game.Players.PlayerAdded:connect( function (plr) |
2 | plr.CharacterAdded:connect( function (char) |
3 | repeat wait() until char.Humanoid --Wait for the humanoid. |
4 | char.Humanoid.Died:connect( function (OMG) |
5 | char.Humanoid.WalkSpeed = 0 |
6 | end ) |
7 | end ) |
8 | end ) |
I need the character to die or come in the server to change their walkspeed to 0 what am I doing wrong?