Im trying to make it so when you click a gui you will be teleported into another game. I have this under a TextButton
function onClick() game:GetService("TeleportService"):Teleport(34168396, player) end Button.MouseButton1Click:connect(onClick)
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here. Why was this question closed?
Marked as Duplicate by Sublimus and evaera
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?