if your unit moves linear just put velocity like this
Trigger:
- Floating Text - Set the velocity of (Last created floating text) to 350.00 towards 90.00 degrees
if your unit movement speed is 350 and it goes straight up it will look like txt follows him