Instructions
Enter the "Roblox" world builder.
Scroll through the item list to find a brick and drag it to the game world.
Name the brick by clicking on it to access the name editor. The default name is "Part," but you should change it to whatever is fitting for your tycoon game.
Navigate to "My Models" from the drop down menu.
Locate a tycoon button and drag it next to your brick.
Click "Workspace" in the "Explorer" window, then click "Buy Brick Cost FREE," then click "Head," followed by "Script."
Scroll to line 15 of the script.
Delete "model" in the line of code "script.Parent.Parent.Parent.model" and change it to the name of the brick that you created in the world builder.
Change the numeric value in line 16 of the code to the monetary cost of the brick for your tycoon game. Write "0" for a brick that is free.