Teleport to another game gui button, but requires a badge

I cannot find any help anywhere on how to make a teleport to another game gui button that requires a badge to enter. Also if you try to click the button, and don’t meet the requirements to join, a gui pops up.

1 Like

have the button send a remoteevent to a server script inside an if loop that checks if the player has the badge, and in that serverscript use teleport service to send em in. if they dont meet that first arg run an else and have the “dont meet requirements” gui show up. Make sure to surround your teleport in a pcall().

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.