For scripting i use c++ so i don't know anything about Lua.
Long story short i want to find out if i can reference another script in a script and how.
Scenario I am making an game which includes spawn points in the game. At the moment i have a leaderboard script set up within serverscriptservice and there is a variable named stage which is supposed to determine where you spawn. Supposedly, only way to change that variable is through contact with a spawnpoint block.
In order to do so i have to reference the script from elsewhere. And if there is a easier way to achieve this then that would be great to.
Thanks :)

1 comment
How would i write if player makes contact with the spawnblock, would i put the script on the player and then .parent it?