Hi guys! I am trying to make a simulator game where right as the player joins, they are instantly assigned a plot and spawned right in front of their plot. How can I achieve this? I followed a tutorial (and that kind of worked…?) but I couldn’t figure out how to teleport the player in front of their plot. I also wasn’t too sure on what type of script to use or where to put that script. If anyone could kindly explain to this to me, thank you very much!
a few elements you can use
“randomly assign a plot to a player”
usually you would want the server to do it, so a serverscript.
if it should assign every time a player join, use the PlayerAdded event.
math.random to get a random number.
you may have already setup spawn locations for different plots. get the corresponding one for the plot, and assign it to your player