port = game:service("TeleportService") function onClicked() script.Parent.Text = "Launching." wait(1) script.Parent.Text = "Launching.." wait(1) script.Parent.Text = "Launching..." port:TeleportToSpawnByName(0000000, "SpawnLocation", character) end script.Parent.MouseButton1Click:connect(onClicked)
I put this onto my play button text on my intro I think I also done something wrong within this script, correct me if i'm wrong...
P.S I didn't create this script, it's only not working for me. Also I've already tried the id + spawn location. And once it's clicked it shows teleport failed.
Need help, thanks!