just copy the code in the picture if you want the if code to work
it took me awhile to figure out how to use this code too, and i thought that i should make the code and take a screenshot just to make it easier to