Hello Roblox Scripters.
I am trying to make a universe of multiple unique sword fighting terrains, one map is done, and I have a lobby prepared for it, howver, I have had this problem with making a brick that teleports to that place if you touch it. I have used ROBLOX Wiki scripts and they haven't done the job, I wonder if you guys know?
I have used this robloxwiki script in a brick btu it didn't work
function onTouched(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then game:GetService("TeleportService"):Teleport(149711114, player)
end end endend script.Parent.Touched:connect(onTouched)
It would be great it you could help, thanks
Marked as Duplicate by evaera
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?