i have a bilboard gui that has alot of text on it. it gets reeally in the way, so how do i limit the distance of which i can see the gui, like if im far away, i wont see the gui at all. is there a function for this or something?
COMMUNITY QUESTION
bilborad gui help?
1 answer
I've made one to insert to the player itself
plr = game.Players.LocalPlayer
char = plr.Character
local Gui = Instance.new("BillboardGui",char.Head)
Gui.Adornee = char.Head
Gui.Size = UDim2.new(10,0,1,0)
Gui.StudsOffset = Vector3.new(0,2,0)
local Label = Instance.new("TextLabel",Gui)
Label.Size = UDim2.new(1,0,1,0)
Label.Position = UDim2.new(0,0,0,-25) -- This limits the range by the position as a negative
Label.BackgroundTransparency = 1
Label.BackgroundColor3 = Color3.new(0, 0, 0)
Label.BorderColor3 = Color3.new(0, 0, 0)
Label.TextColor3 = Color3.new(1, 1, 1)
Label.BorderSizePixel = 1
Label.TextScaled = false
Label.TextStrokeTransparency = 0
Label.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
Label.FontSize = Enum.FontSize.Size18
Label.Text = plr.Name
4 comments
0
woah nice, but i think i worded the question worng, its edited
0
Just set the text size and positions to what I have up there, It'll still be ranged.
0
no, its not ranged
0
Oddly, it works for me.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
So you want the BillboardGui to get smaller as you walk away from it? Or do you want it to disappear at a certain distance.
dissapear
"bilborad" rofl