I'm trying to make a screen gui (frame) follow a part, and since the part's position is a Vector and not a UDim the gui is outside of the screen,
script.Parent.Position = UDim2.new(game.Workspace.Part.Position.X,game.Workspace.Part.Position.Y,game.Workspace.Part.Position.Z)
that is the code I have.

1 comment
http://wiki.roblox.com/index.php?title=API:Class/Camera/WorldToScreenPoint