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

How to make a button that closes after you bought a gamepass? [closed]

Asked by 6 years ago

I have made a gamepass access, but i dont know that when i bought a gamepass and closes a button. How do you do that can you help?

1
look up youtube videos on how to create gamepass scripts. also get a basic learning of scripting before attempting to make games wookey12 174 — 6y

Closed as Not Constructive by OldPalHappy

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 6 years ago

A single line of script can do that thing:

local ButtonToClose = --locate your button

--Put this line inside the function you want
ButtonToClose.Visible = false
Ad