Calculating points help

Okay so I’ve coded mini games before and calculated points but for some reason after the “Calculating Points” it seems to just jump into the transition.

Anyone know what I can do?

tag: @Dara.Amarie

2 Likes

I might be wrong, but I believe that conditional statements that contain multiple possibilities require an else statement at the end. You can either change the last elif{…} to else or add an else statement at the end that does nothing.

I hope this helps.

2 Likes

bump

thank you but it didn’t work :// Thank you for trying to help tho!

@TristanArciera is right, the last option always has to be an else. Can you post your script with the ‘else’ in it? Remember that you shouldn’t be coding an ‘else’ route like

} else (RUBY =3) {

It should just be

} else {

Oh I just redid it and this popped up,


What should I do?

1 Like

After you put “else,” just put a bracket. You use “else” in code to represent ANY type of condition other than the ones you put for “if” or “elif.”
If you delete the “(Ruby =3)” part it should work fine :grin:

1 Like

OMG IT WORKED! tenkuuuu

1 Like

No prob :stuck_out_tongue_winking_eye::v:

1 Like

You are still using brackets with your else command-

1 Like

Thank you I fixed it :))

Great!

1 Like