Everytime I get close to an NPC with a billboardgui, the gui gets smaller as a approach. What am I doing wrong?
I'm using this:
local frame = game.ServerStorage.MoodFrame:Clone() local gui = Instance.new("BillboardGui") gui.Parent=npc.Head gui.Adornee=npc.Head gui.Size=UDim2.new(1,0,1,0) gui.StudsOffset=Vector3.new(0,2,0) frame.Parent = gui
Size of the MoodFrame (which I just converted to an Image label) is {0,23},{0,23}
You cant use an offset in the UDim2. The offset resizes, but not the scale.
Don't know what offset is?
The offset is the second number that is shown in the UDim2. Let's say you have this UDim2: {0,1},{2,3} In this UDim2 the 1 and the 3 are both offsets, while the 0 and the 2 are not. I hope this helped.