Here is the code I have for the item granter:
A counter is linked to the property and increments when purchased from a vending machine
A wire is connected from a questioner to the item granter–if correctly answered the question, to grant item
The wire then activates the item granter’s wire pulse block, but does not grant the amount of the property, why, and how to fix it?
2 Likes
What does it grant then? Does it just give you 0 or 1?
The most common mistake I make with blocks is misnaming a property or channel. Sometimes, it even just helps to drag the text box into the trash and find it in the property/channel browser. You also have to make sure capitalization is correct.
If that doesn’t work, make a text that is set to the value of the property every time it updates. That way, you’ll know if the property is actually being set to the right values and you’ll have a better idea of where your problem is.
3 Likes
It’s granting them what they currently have. If they have 0 of the property, it will, uh, give them 0.
To fix this, go to the match section and put get property on the left of the + math type and then add the number you wanna give to the right.
Hopefully this helps!
3 Likes
You did set it to run wire pulse block, right?
Make sure, and if so, make sure the property value is set to something.

🫡
Unexpected Txme entrance!?

1 Like
Wait, should I try the Blackjack sass?
I’mma try the Blackjack sass.
I’m sorry 
2 Likes
Is the property a number property? (check)
@Blackjack , question in bio
2 Likes
If it isn’t working I think you should check if there is an item to grant selected or you can add a bit more block code to set a variable to your property then grant the amount of variable, the only other thing I can think of is if your property isn’t a number.
Are you sure that the property is set to the right amount? Maybe use game overlays to check.