I am trying to make a teleporter for a part for my horror game and I am having some trouble finding out, how can I do this?
COMMUNITY QUESTION
How to Teleport People to Another Game?
1 answer
use TeleportService, here's an example
local TeleportService = game:GetService("TeleportService")
local Place = 5023251854
script.Parent.Touched:connect(function(hit)
TeleportService:Teleport(Place, player)
end
end)
This is an example of a touched brick you would have to change it for what you need it for but that is the groundwork
This discussion is preserved as it was. New answers, comments, and votes are closed.
