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

My TweenSize Health Gui ServerScript does not work?

Asked by 5 years ago

I did this in server script because if I do it in Local it wont show for to other people but it won't work im pretty sure everything here is defined correctly why won't it wokr?

Billboard = script.Parent
Redness = Billboard.REDNess
Greeness = Redness.GreenESS
TextLabel = script.Parent.TextLabel

Hum = script.Parent.Parent.Parent:WaitForChild('Humanoid')

Hum.HealthChanged:Connect(function(HP)
    Greeness:TweenSize(UDim2.new(HP/Hum.MaxHealth,0,1,0))
end)
3
Server should never handle client's UI Goulstem 8144 — 5y

Answer this question