local Character ; while not Player.Character or not Player.Character.Parent do wait() end ; Character = Player.Character ;
better than using a characteradded event?
CharacterAdded simply passes a Character argument. Waiting for the Character to spawn in is literally the same thing as CharacterAdded because the loop stops at the same time that CharacterAdded would fire.RobloxWhizYT2144— 7d
I know it is the same thing, but I was told that the code above is safter than the event.Thesquid13234— 7d
A repeat loop is the most common option to wait until the character exists.RobloxWhizYT2144— 7d