Yeah, so i'm wanting to make a remove health bar script and I need a person to check my current one if there are any errors. can someone please help?
- game.StarterGui:SetCoreGuiEnabled(1, false)
- if game.Players.LocalPlayer then
- local lp = game.Players.LocalPlayer
- local lpHum = lp.Character.Humanoid
- script.Parent.Size = UDim2.new(0, lpHum.MaxHealth*2, 0, 20)
- script.Parent.Parent.HealthNotLostFrame.Size = UDim2.new(0, lpHum.Health*2, 0, 20)
- lpHum.Changed:connect(function(p)
- if p == "Health" then
- script.Parent.Parent.HealthNotLostFrame.Size = UDim2.new(0, lpHum.Health*2, 0, 20)
endend)- end
