How to make purchase and placement system?

Hi

I would like to make a furniture store where the player can go up to the piece of furniture and buy it through GUI and also be able to place it on their owned lot afterwards.

Any idea on where I could start with this?

Well have the items in a folder in replicated storage and loop through them so they appear in the gui, when purchasing them, create a new stringValue inside the player or a folder that you can create, and save them in a table, placement systems are found everywhere so use these tutorials to make the one that you want.

Adding to this you will want to use datastores to save what items a player owns as well as the positions on the players plot. For the placement you would most likely want to get started using UserInputService, to get the mouse and keys pressed (you could use mouse but userinputservice also supports controller inputs for further game development)

1 Like