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?

2 comments

0

Are you sure the BillboardGui is inside your character? It also must be replicated or the server won't see it.

0

you could use the hum.HealthChanged event