Adding on to if statement causes it to act differently

Those images are legit not the same. Just look.

Also, all of the logical operators take 2 arguments.

Now, going back to your main post, everything shouldn’t be working as expected if all the values are correct

If the playerState is indeed not “Idle” and the character is stunned, then it will be returned. If it’s not doing that, then your values probably aren’t what you expect them to be, so u need to double check. Print them out.

well, again it’s not an issue with the attributes, I’ve shown you using the images. You even said to use or, not “and”. I was just confused as I saw code before that did long checks using and. Also, all 3 images were just hyperlinked, theyre the exact same ones I posted above.




anyways I already had the original script fixed by just checking if the player is stunned on a separate line and returning.


Not the same. Top has pasta = “past” and the bottom one has pasta = true


Anyway, if you solved it, please mark a solution.