I would like it so that someone click's a start GUI in a main menu place and it loads then gives a hint that says loading then teleports them to the actual place but that doesn't seem to be working. The problem seems to be the script, the GUI is a textbutton. (BTW Im a beginner at scripting)
script.Parent.MouseButton1Click:connect(function() local TeleportService = game:GetService("TeleportService") local GameId = 880862623 local hint = Instance.new('Hint', workspace) hint.Text = "Loading... Please allow up to 20 seconds :)" wait(20) hint:Destroy() game.Players.PlayerAdded:connect(function(player) TeleportService:Teleport(GameId, player) end) end)