Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make tycoon buttons dissapear and new ones appear?

Me and a few friends have just started working on our first tycoon. Problem is we don't really have an understanding of how a tycoon works. For example, in a tycoon when you step on a button it disappears and new buttons appear and also part of the tycoon appears for the bought button but we don't know how to implement that into a script or where. Any tips or ideas?

1 comment

0

i would love to help with the tycoon! I cost no robux at all expect a part of the robux from purchases of gamepasses and developer products. Just accept my friend request and message me if you want me to help

2 answers

You could use a Touched event for example...

function touch(hit)
-- the function goes here
end
script.Parent.Touched:connect(touch)

If statement checking if the tycoon owner has the correct currency value to use the button Clones a new button and cframes it or enables collisions and changes transparency of an already existing button

I could help more if I knew how the tycoon worked, if it got the name of the owner and the paths of everything but if you need more help just tell me what with!

2 comments

0

"enables collisions and changes transparency" that helped me a lot

This discussion is preserved as it was. New answers, comments, and votes are closed.