Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i teleport players to another place inside my place?

I have tried this code but it didnt work:

local TeleportService = game:GetService("TeleportService") local Place = 6520434339

script.Parent.Touched:connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then TeleportService:Teleport(Place, player) end end)

Please can someone help me with this?

1 comment

0

You didn't use code block, but ok we can read

1 answer

You need to allow ThirdPartyTeleports.

ThirdPartyTeleports: Go to game settings under home tab, go to security, allow ThirdPartyTeleports.

TIPS: Make sure your game is published and the Teleporting Target PlaceId is. Unfortunately, most of the game can't let you directly teleport to the place.

This discussion is preserved as it was. New answers, comments, and votes are closed.