INT error (HELP!!!)

You are declaring level in setup(). When setup() finishes, level goes out of scope and no longer exists. Declare and initialize level outside of setup() (make it global) or declare and initialized level in loop() (make it local to loop().