How do I make a script that remembers that you have clicked a button, and when you press a button later on you are charged, for example, if you clicked advert and clicked next you would be charged a certain amount for the advert. This will be through a gui. I've looked through ROBLOX wiki yet can't seem to find the right thing and do not know what to specifically search for. So there will be multiple options.
COMMUNITY QUESTION
How do I make a script that remembers what button is pressed out of options and then charges player?
1 answer
This question is quite, off topic(pretty sure).. This is mainly algorithm design.
But you can make variables, for each choice the user makes.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Can you explain this more?? What are the gui doing?
Its a trello order thing, just want it easier to charge them instead of manually purchasing a t shirt