I've noticed in games like Trade Hangout that as a user walks away from another user, the gui over their head shrinks. But anytime I've attempted this, the gui continues to remain the same. How could I have the gui shrink the further you are?
I'm not asking for a script for this, I'm wondering what the method is.
You can use the BillboardGui's Size
property for this. The Scale components of the UDim2 used for it are relative to how large a Stud is at the the BillboardGui's distance from the camera. So if you set the property to UDim2.new(4,0,1,0)
it would be the same size as a Part if it were 4 studs wide, 1 stud tall, and 0 studs deep if it were facing straight at the camera.