Tycoon Buttons Not Working

I want to make a tycoon for me and my friends to play, but I have run into a problem with the buying buttons for the droppers/upgraders/etc… When I buy one button, the next button is supposed to become visible. However, this did not happen. The system works by having a value in the Button named “Dependency”, and the value of the “Dependency” is the name of a dropper. When that dropper becomes visible, a script is supposed to function and make the Button visible. However, this is not the case. This is not working for some reason, and I believe there is something wrong with the script. The following images should make more sense.

image

image

image

image
“V” Is represented by all the buttons (ButtonsFolder:GetChildren)
Other Variables are defined by the other images (BoughtItems, ButtonPart, Dependency)

I’m following a tutorial made by the YouTuber known as “Gamer M8”.

You need to do v.Dependency.Value instead of v.Dependency
Doing the first will actually get the string value that is being stored whilst the second is a StringValue object.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.