How to code an overlay thingy

(I am writing this after midnight so please mind my grammar mistakes…)
I’ve just started coding properly using overlays and I have a text one, a warning, I wanna be fancy and do it so it comes into the scene from the right and bounces off of the left side and stops in the center. (Right, left,center) I’ve tried coding it in but it’s not working, does anyone have a template or advice? Also tell me if I’m actually making sense or not.
Sorry if I’ve wasted your time or confused you.

Check this thread out:


It helped a lot, thank you so much!