So basically I am working on a very basic simulator, and I want to save the player speed but I am having trouble with getting his character for saving his speed. And I am not able to fix it.
So I am wondering how to get the player character in a normal script.
Character isnât a child of player, so that wouldnât work. Even if a character was a child of their player, the playerâs name probably wouldnât be âCharacterâ. It would be Bob or Joe or something.
Character is property not a chilld of so this code will be waiting for a child named Character not waiting for the players character to spawn. Use the event ChildAdded as shown above.