Im trying to make it so when you click a gui you will be teleported into another game. I have this under a TextButton
1 | function onClick() |
2 | game:GetService( "TeleportService" ):Teleport( 34168396 , player) |
3 | end |
4 | Button.MouseButton 1 Click: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?