So I am making a roleplaying game and I can't figure out a system that when you buy an house it subtracts the amount of currency for thst house and after someone brought it disappear and when they leave the game it reset ready for the next person.
anyone got any ideas?

2 comments
If anyone can help,If I have any robux from it you can get half of it
Pls