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", 

)

1 comment