Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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 comment

1

look up youtube videos on how to create gamepass scripts. also get a basic learning of scripting before attempting to make games

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.