1 | player = game.Players.LocalPlayers |
2 |
3 | if player.character.humanoid then |
4 |
5 | end |
Make sure you have "Capitalized Sensitivity" that will be:
1 | player = game.Players.LocalPlayers |
2 | if player.Character.Humanoid then |
3 | end |
and if keeps getting error and saying: Character is a nil value then make it like this:
1 | player = game.Players.LocalPlayers |
2 | repeat wait() until player.Character ~ = nil |
3 |
4 | if player.Character.Humanoid then |
5 | end |