Hello, I’ve been making a 3D cookie clicker for my friends to play and I have upgrades but I can’t find out how to get CoBlocks to detect when you have minus cookies so that it ends the CoSpace. E.g. I have 500 cookies and the upgrade is 600 cookies to get it, if I get the upgrade, it will remove 600 cookies and my cookies will just be minus and nothing happens. I can just keep clicking and get a cookie per click. Help Please?
Hi @HighStormPVP can you please link us to your CoSpace?
@HighStormPVP Using an ‘if’ statement should solve this, please check whether your cookie count is greater or smaller than 0 as pictured below.
Let us know if this helps!
That worked! Thanks a lot!
1 Like