Problem when trying to make a GUI element follow a certain object

Hello developers!

I’m trying to make a text label follow an object and it seems to not work.I tried setting the text label’s Udim2 position to Udim2.new(0,obj.Position.X,0,obj.Position.Y) which wont work.

Any suggestions and possible fixes?

You’re trying to make the text label follow a gui object or an object in the workspace like a part? Posting your script may be helpful.