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

why wont my overhead billboard gui work?

Asked by 5 years ago
game.Players.PlayerAdded:Connect(function(playar)
    playar.CharacterAdded:Connect(function(char)
        local Hum = char.Humanoid
        local Billboard = char.Head:WaitForChild('BillboardGui')
        local Red = Billboard.REDNess
        local Green = Red.GreenESS
        Hum.Changed:Connect(function()
            print('Big')
            Green.Size = UDim2.new(Hum.Health/100,0,1,0)            
        end)
    end)

end)

This is a script in serverscriptservice but it won't do anything it just stays the same any help or solution?

0
Are you sure the BillboardGui is inside your character? It also must be replicated or the server won't see it. oilsauce 196 — 5y
0
you could use the hum.HealthChanged event theking48989987 2147 — 5y

Answer this question