Teleport to new place and specific coordinates?

I’m working on my main map (place 1) and wanted to put in some place to place teleports. Specifically I’d like the player to walk up to a building and if they enter the front door they port in to the inside front (interior is place 2). If they leave the inside of the building through the back door, they should port outside (place 1), but now they will be at the rear of the building.

I know Devforum isn’t a place to get free scripts but was wondering if someone might know from memory or something. I’m still building and the answer will affect the final map.

Thanks :wink:

1 Like

Like different games or areas? if areas yse :MoveTo()

If game use game.TeleportService

1 Like

This example is the same game/universe but different places. That’s a good question too… if I had 2 separate games could I send them to a specific spot? I know you can teleport, just not if I can send them to the spot I want. The default behavior is to drop the player at the regular start point.

I’m fairly sure :Teleport() has an argument telling which specific spawn location will player spawn on. Try searching it up on wiki for more info.

2 Likes

Yeah I think I found it here. Thanks people… I didn’t want to get to far into building without that feature.