So i have a billboardgui inside each characters head inserted by this piece of code (part of a really long script) but it doesnt seem to be showing up in game...
local newpn = Instance.new("TextLabel",newframe)
newpn.Name = "PN" newpn.BackgroundTransparency = 1
newpn.Size = UDim2.new(0.8,0,1,0) newpn.Font = "ArialBold"
newpn.Text = player.Name newpn.TextScaled = true
newpn.Position = UDim2.new(0.2,0,0,0)
local newpr = Instance.new("TextLabel",newframe)
newpr.Name = "PR" newpr.BackgroundTransparency = 1
newpr.Size = UDim2.new(0.2,0,1,0) newpr.Position = UDim2.new(0,0,0,0)
newpr.Text = player.Stats.Rank.Value newpr.TextScaled = true
newpr.TextColor3 = Color3.new(0,0,0) newpr.Font = "ArialBold"
so this block of code creates 2 elements to show up in the same Frame the 1st one shows up perfectly but the second one does not show up at all. There is no syntax or logical errors, maybe i missed something.
All help appreciated providing it is constructive.
|