I am trying to teleport players from game1’s starter place to game2’s second place.
Is that possible if i am the creator of both games?
I already know to teleport from game1’s starter place to game2’s starter place.
And I already know to teleport from game1’s starter place to game1’s second place.
You’d use TeleportService:TeleportPartyAsync() to teleport a group of players - make sure “Allow Third-Party Teleports” is enabled.
I enabled third party teleports on both games
Then what’s the problem? Do you have a script that isn’t working?
But i am using TeleportService:Teleport()
yes, my script don’t works
Could I see it? If you’re doing a group of players, it’s better to use :TeleportPartyAsync()
instead.
ok, here it is
newFrame.Join.MouseButton1Click:Connect(function()
tps:Teleport(v.PlaceId, player)
end)
Is there an error or anything in the output?
i will test, wait a moment while i do
it says attempt to teleport to a restricted place in a pop up
It works for me, check if:
- the place you’re teleporting to is public for everyone, not only for friends,
- the placeId you entered is valid.
what script did you used for it to work
Same as yours. What’s the v.PlaceId
and player
?
the v.PlaceId is the id of the place that the player’s friend is playing and the player is game.Players.LocalPlayer
Are you sure that the game they’re playing is public for all?
yes, the game is public for all
It’s not possible to teleport a player to a subplace of a separate experience. Teleports between experiences are only allowed to their respective starter places. You can only teleport to subplaces if the teleport is initiated within the experience that said place is a part of.
This is explained in Teleport. Relevant excerpt:
You may only teleport players to places within the same
gameexperience or active start places for othergamesexperiences.
okay, thank you @colbert2677 and @Doqee for helping, so i will do that my script only teleports to the starter place instead of the second place