I am having problems lately with my scripts because I have to add a wait before using my scripts. I was wondering if there was a way to wait for the player to load before the script starts.
I think it would start like this:
repeat wait() until
After until, I have no idea what comes next. Help?

2 comments
Workspace.Script:2: attempt to index global 'player' (a nil value)
This is for a LocalScript...