Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make tycoon buttons dissapear and new ones appear?

Asked by 7 years ago

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?

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 Filipalla 504 — 7y

2 answers

Log in to vote
0
Answered by
xEmmalyx 285 Moderation Voter
7 years ago

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!

0
"enables collisions and changes transparency" that helped me a lot funnytevinn -5 — 4y
Ad
Log in to vote
0
Answered by 7 years ago

https://www.youtube.com/watch?v=BxCFp47pb-k - part 1 https://www.youtube.com/watch?v=zhqXqCNHvj8 - part 2 https://www.youtube.com/watch?v=aFNmcFqejAI - part 3

check out the tycoon kit aswell - https://www.roblox.com/library/182162455/berezaas-Tycoon-Kit-v1-9-FAV-IF-YOU-USE-D

study the scripts and stuff and implement them how you need them to be

Answer this question