I've seen a bunch of tutorials for how to make it so you teleport to a certain position but how do you do it for a game?
So, I'm trying to make a part which is the button, teleport you when you click it. Anyone know how to do it?
Insert this script inside a Part that obviously contains a "ClickDetector"
local Part = script.Parent local CD = Part.ClickDetector local GameId = --Put your game ID here CD.MouseClick:connect(function(Player) game:GetService('TeleportService'):Teleport(GameId, Player) end)
;)