If block problem (gimkit block code)

Yooo, I’m back guys!


this is the code for my fishing map, but, umm, it gives me all the drops.
you can fix this by using if else blocks, but the problem is, I reset it every time, so why does it give me all drops?
(someone pls figure out if all if blocks are run at once.)

1 Like

you need to use “else if” blocks, not “if do” blocks, as it runs all of the blocks

OHHHHHHHHHHHHHHHHHHH.
UR A GEINUS
(how did i not see that.)
is there anything else that I’m doing wrong?

1 Like

nah looks right to me, considering i used the exact same system a while back

wait a min, I reset the var
everytime in the if blocks. (does gimkit run all ifs at once?)

1 Like

also you can use the setting icon to save blocks!
image

1 Like

It very advanced.
Other blocks also have this setting!

1 Like

so @PhoenixWander so al if blocks are run at once? not in order from top to bottom?

basically, it doesn’t stop if it it triggers 1

Welcome back :D

2 Likes

oh. but I reset it every time…
it should be zero by the time it goes to the second if block

huh weird…

ig try just replacing all the if do blocks with 1 big if do - else if block

yeah ik. I’m gonna do that. I just wondered if the if blocks all run at once.
I’ma change the titles

yea first guide i found uses else if

image broke

I FIGURED IT OUT
When its zero its smaller than all of it, so it give all drop

nice, guess that would do it lol

1 Like

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