Why does my code not work and causes the rotation to stutter?

Ohhhhh okay I didn’t even know that node existed! Thank you!