#Bug with my tycoon's "Dependency check"

1 messages · Page 1 of 1 (latest)

digital cedar
#

Hey so i'm coming across this error in my personal game and I want to see if you can take a look and help me identify what's wrong. Im new to scripting and am following a tutorial on how to make a tycoon and this issue is bothering me. Here's some context: So, in the game you shouldn't be able to see buttons that are meant to be unlocked after eachother. To do this I have a value embedded in the buttons that shouldn't be seen prior to purchasing a specific button labeled "Dependency". For example if I'm only on dropper1 i shouldn't be able to see dropper3 only dropper2. In this case, I have the Dropper1, the first free dropper. It's labeled Dropper in the workspace. In the Dropper2 button I have it set so that the dependency is Dropper. This works as intended and when I purchase Dropper1(Dropper) the button for dropper2 appears. Now this is where the issue comes. My ManaUpgrader also has this dependency value and it's set to Dropper2 as labeled in the workspace. So in theory the button to purchase the Mana Upgrader shouldn't be visibile nor collide-able unless Dropper2 is purchased. The problem is that this doesnt work and the dependency only works when set to Dropper. All of these objects are in their respective folders and I believe there are no issues when it comes to the labels.

cursive mirage
#

im to lazy to read allat...

digital cedar
#

Lol ight

clever lotus