Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to teleport to other places with GUI? [closed]

Asked by
dreamy67 135
10 years ago

This question already has an answer here:

Teleport GUI?

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)

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?