Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you enable third party teleportation?

Asked by 2 years ago

I was making my game, and it teleports you to another game that I made when you click a button.

Here's my code:

script.Parent.gertname.MouseButton1Click:Connect(function(player)
    local TPS = game:GetService("TeleportService")
    TPS:Teleport(examplenumber, player)
end)

It doesn't give me any errors, but when I open the dev console, it says

Failed to teleport to place created by third party with teleport protections on this universe.

Can someone help me with this?

0
go to game settings click security and then click third party teleport kepiblop 124 — 2y

3 answers

Log in to vote
0
Answered by 2 years ago

What that error is saying is that the game you are teleporting them to does not allow third-party teleports. If it is one of your games, then just open the game go to game settings>security>enable third party teleports.

Hope this helped!

Ad
Log in to vote
0
Answered by 2 years ago
script.Parent.MouseButton1:Connect(function()
game:GetService("TeleportService"):Teleport(UR_PLACE_ID)
end)
0
also i think i messed up the first line, i guess do mousebutton1click ashstitchedmyface 7 — 2y
Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
2 years ago
Edited 2 years ago

@MarcTheRubixQb was right. The error "Failed to teleport to place created by third party with teleport protections on this universe." means the game has enabled teleports protections.

Example for a ROBLOX game called "RoBeats", they also enabled teleports protections, so you can't teleport to the game directly using TeleportService ingame anymore.

Lets say if both of them does not have teleport protections you should PUBLISH your game and the targeted game should also publish. And you must enable Third Party Teleports on your Game Settings.

0
thanksssss charizardstar87 16 — 2y

Answer this question