As the title says, I have a module script which has a parent, local script but it runs before the player loads rendering it useless until you reset, then it works fine. How can I fix this?
✓ ANSWER ACCEPTED
Module scripted parented to a local script runs before player loads, have to reset for it to work?
1 answer
✓ Accepted answer
You can wait for local player's character to load with the CharacterAdded event on the player, you just need to wait for the event to fire, example script:
local plr = game.Players.LocalPlayer
plr.CharacterAdded:Wait()
print("Character loaded!")
This discussion is preserved as it was. New answers, comments, and votes are closed.
