Is there a single line of code i can put before a script to make it only activate when the player is new but not activate if the player has already been on the game?
COMMUNITY QUESTION
Is there a single line of code i can put before a script to only activate it once?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
hm... I don't think you can do it with only ONE line
Is there a script you could give me that would do it?
What exactly do you need the script to do? If you want something to run when the player joins the server use PlayerAdded. If you want to check if the player has joined before then use a DataStore to save it.
Also, this site isn't a request site. Attempt at it if you need further help.