Am i doing this correctly?

i m tryign to have it to where each time the button is pressed you get more money. Kinda like super rich mode. what am i doing wrong?
Screenshot 2023-09-22 9.23.41 AM

1 Like

maybe because e isn’t a property. try instead of the set property block, use the change e by (number) block

2 Likes

also make sure that e starts off as 1 and the if block is e = 1

1 Like

like this?
Screenshot 2023-09-22 12.38.47 PM

2 Likes

Yes, that would be perfect. What channel does it receive on?

1 Like

on wire pulse

1 Like

Tha same wire pulse that the button sends out, right?

1 Like

yes

1 Like

its because “e” is defined as a variable not a property.

1 Like

like this?
Screenshot 2023-09-22 12.59.38 PM

1 Like

ye but add e to the second one and make sure to add a change e by 1

1 Like

is this all?
Screenshot 2023-09-22 1.13.53 PM

1 Like

yes but add another change e by 1 to the first one too

1 Like

i think this is the final one correct?
Screenshot 2023-09-22 1.15.59 PM

1 Like

yes sir that is correct

1 Like

yay

1 Like

that was totally my salutation

E isn’t a property, so that shouldn’t work. If you just set e to a number before the code starts, it should work.

1 Like

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