I want to make a town game and that requires me to put houses in but I want them to be buy-able. Like in Life in Paradise.
im not gonna give u a whole script but you need to have a way to know how much money the user has and then if they have enough money to buy the house then give them the house
It's quite a broad question, there are many ways you could go about this.
Depending on what datastores your game uses and what currency etc, I'd go about having a main script in serverscriptstorage holding the amount of houses, their prices etc.
You would then use remote functions & events to connect it to a house shop GUI that you could create to whatever complexity yo desire and have it display the houses, grab the prices etc.
Then upon purchase I'd give them some sort of door controls, and any other features your houses are equipped with.
Quite a broad question and you'd definitely be better off getting yourself started then coming back for help.
Closed as Not Constructive by TaxesArentAwesome, JesseSong, and Utter_Incompetence
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?