So, This is my first time scripting. I'm more of a builder but since I don't know anyone who actually scripts, I'm doing it myself. My game is called Light VS Shadow Ninjas. I already got a portal to the other game that I made for the main one, but I want that Other Game portal teleport you to a specific spawn. Is there a way to do that?
✓ ANSWER ACCEPTED
How do I teleport from one game to another game to a Spawn?
1 answer
✓ Accepted answer
Hi, you can use the TeleportToSpawnByName function in order to teleport the player to a specific spawn.
Example :
game:GetService('TeleportService'):TeleportToSpawnByName(PlaceId,"Spawn Name")
4 comments
0
does this allow player to be teleported from another game?
0
I have not tried this myself but according to the wiki page, yes, it does allow the player to teleport to different places even if they're outside the current universe.
0
ok,thanks
0
ok, so I tried it out, it doesn't work
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Is there teams, so a specific spawn for the team you are on before hand?
i have 2 teams, and one neutral where you first spawn in