Overlay rotating off screen

Hi guys, I’ve been working on trying to rotate this word overlay for a while. I figured out how to make the overlay rotate onto the screen, but when i try to make it rotate off it doesn’t rotate…
Here is my script :

If anyone knows how to fix it please let me know!

You have an incorrect anchor point, make 0.5 0.5 ; 1 1 ; 0 0