I need help with a touch(click) Gui Script so I can make it so when you click it you teleport back to the lobby?
COMMUNITY QUESTION
universe gui teleport back?
1 answer
Inside of a TextButton, as a Localscript:
script.Parent.MouseButton1Down:connect(function()
game:GetService("TeleportService"):Teleport(107795196, game.Players.LocalPlayer.Character) -- Change 107795196 to the place id
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
