Further work on autopilot asset uploading and other improvements
This commit is contained in:
parent
b9b47c1771
commit
717e87254b
|
|
@ -78,13 +78,9 @@ print "newHealth declarations finished"
|
||||||
|
|
||||||
local function billboardHealthChange(dmg)
|
local function billboardHealthChange(dmg)
|
||||||
local textLabel = Instance.new "TextLabel"
|
local textLabel = Instance.new "TextLabel"
|
||||||
if dmg > 0 then
|
textLabel.TextColor3 = dmg > 0 and Color3.new(0, 1, 0)
|
||||||
textLabel.Text = tostring(dmg)
|
or Color3.new(1, 0, 1)
|
||||||
textLabel.TextColor3 = Color3.new(0, 1, 0)
|
textLabel.Text = tostring(dmg)
|
||||||
else
|
|
||||||
textLabel.Text = tostring(dmg)
|
|
||||||
textLabel.TextColor3 = Color3.new(1, 0, 1)
|
|
||||||
end
|
|
||||||
textLabel.size = UDim2.new(1, 0, 1, 0.0)
|
textLabel.size = UDim2.new(1, 0, 1, 0.0)
|
||||||
textLabel.Active = true
|
textLabel.Active = true
|
||||||
textLabel.FontSize = 6
|
textLabel.FontSize = 6
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue