Basically, I want to teleport between universe games, but my script below doesn't seem to be working, and its for a GUI.
I've tried this: ~~~~~~~~~~~~~~~~~ script.Parent.MouseButton1Click:connect(function() local player = game.Players:GetPlayerFromCharacter(MouseButton1Click.Parent) if player then game:GetService("TeleportService"):TeleportToSpawnByName([IDHERE], "SpawnLocation", player) end end)
But it doesn't seem to be working NOTE: I KNOW IT SAYS [IDHERE] that was ME for an example. (~~~~~~~~~~~~~~~~~ :TeleportToSpawnByName([IDHERE], "SpawnLocation",
)
Closed as Not Constructive by adark
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?