How do I define the character?

I have always been told define the character like this:

local character = player.Character or player.CharacterAdded:wait()

But once I was told that it only defines it once, so if the character were to spawn again it won’t re-define it. Is that true? And if so please tell me a way I can define character so I never have to worry about it throwing an error.

2 Likes

I tested it and it gets defined every time.

2 Likes

maybe define it again after it spawns again

1 Like