Before asking for help on the forum make sure you check any errors logged in the output window to see if they can help you solve the issue yourself. If you still need help, please include those errors here so we can help you understand them and debug your code more efficiently.
While I’m guessing 0123456789 is not the actual ID of the place you’re using. Please include the real place ID as certain settings may affect whether or not it can be teleported to.
I suspect from your code that this is a LocalScript. LocalScript’s cannot reserve a private server or teleport a player to one. You need to use a Script running on the server to do that and will need to use a remote to communicate between that and your LocalScript.
However, do you even need a private server for this? It looks like you want single player servers which you could just achieve by setting the player limit to one on some place and teleporting player’s to them.
There is only one error that says I need an array of players and I want to make a tutorial and for this I need a seperate server, real id get’s edited in yet and this is a script not a localscript, I make sure that it is no dumb fault from my side and the Idea with limit to one player method sounds interesting.
It is like a tower defense game but you have to fight the enemy’s actively and the towers are only secondary damage dealer so you can’t win a game only with towers.
Use a remote event and call the teleport from server-side. I have a similar script and it works with a single player. I do not have something like mouse button click related, in my script players just have to stand on a block and they get teleported.
I would create a RemoteEvent in ReplicatedStorage and use these scripts
I found a solution. I made a check if the player was new to the game it is helpful for the gui either cause if the player isn’t new then the tutorial doesn’t show up