Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix Billboard GUI's scaling when you zoom your Camera out?

Asked by 6 years ago

Recently, I've created a group called Sharaton Hotels™ and I've been trying to make an Overhead Gui saying their name AND their rank, but when I actually do it, It starts scaling up and down when I move my Camera, any idea why this is happening?

Here's the Code :

01game.Players.PlayerAdded:connect(onPlayerRespawned)
02function onPlayerRespawned(newPlayer)
03    wait(1)
04        gui=Instance.new("BillboardGui")
05        gui.Parent=newPlayer.Character.Head
06        gui.Adornee=newPlayer.Character.Head
07        gui.Size=UDim2.new(3,0,3,0)
08        gui.StudsOffset=Vector3.new(-0.3,1.4,0)
09        text=Instance.new("TextLabel")
10        text.Text = "Devillian_Desire"
11        text.Size=UDim2.new(1.8,0,0.5,0)
12        text.Position=UDim2.new(-0.125,0,-0.25,0)
13        text.BackgroundTransparency = 1
14        text.Parent=gui
15end
View all 25 lines...
0
uhhh TheluaBanana 946 — 6y
0
uhhhhh TheluaBanana 946 — 6y
0
Use :Connect(), :connect is deprecated. LoganboyInCO 150 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago

well ye, there is an option in the billboard GUI that makes this not - happen, but it would be easier if u edited the humanoid display name to show their rank instead.

0
Why? You can just set the scale of the Gui turtle2004 167 — 6y
0
ye thats the option TheluaBanana 946 — 6y
0
i was talking abt TheluaBanana 946 — 6y
0
Ok, but I wouldn't edit the display name in my opinion. turtle2004 167 — 6y
0
o ok that was just a random thought i added and if u think abt it its not that bad TheluaBanana 946 — 6y
Ad

Answer this question