BillboardGui Text Still Scales With Distance

Hi.

I’m trying to make floating text above a brainrot model using a BillboardGui, but the text still scales depending on how close or far the camera is. I want the text to stay the same size on the screen no matter the distance.

I’ve tried many vids, AIs but can’t get it working so any help is appreciated

2 Likes

use scale instead of offset. that might help and it wont change size.
example: {0, 400}, {0, 400} becomes {0.4, 0}, {0.4, 0} or something

2 Likes

Uhhh not really
1,0,1,0 = 1 stud 1x1

You can run it in command bar rq:

local UDim2_one = UDim2.fromScale(1,1)
local BillboardGui = Instance.new("BillboardGui") do
	BillboardGui.Active = true
	BillboardGui.ClipsDescendants = true
	BillboardGui.LightInfluence = 1
	BillboardGui.Size = UDim2.fromScale(5,2)
	BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
end
local TextLabel = Instance.new("TextLabel") do
	TextLabel.BackgroundColor3 = Color3.new(1,1,1)
	TextLabel.BorderColor3 = Color3.new(0,0,0)
	TextLabel.BorderSizePixel = 0
	TextLabel.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json",Enum.FontWeight.Regular,Enum.FontStyle.Normal)
	TextLabel.Size = UDim2_one
	TextLabel.TextScaled = true
	TextLabel.Parent = BillboardGui
end
BillboardGui.Parent=workspace
game.Selection:Set{BillboardGui}
1 Like

You just proved his point?

No?
He did not tell how scaling works.
0.4, 0.4 in scale means 0.4 1x1 stud.

1 Like

sorry, i dont really know how the scaling works. you just tweak the numbers in scale and it should get you a result you’d like.

1 Like