All it should do is when ur health's lower than 21 make the screen flash when it's above 21 stop the flashing
Now it doesnt work ? why
local humanoid = game.Players.LocalPlayer.Character.Humanoid local currentHealth = humanoid.Health local Flash = script.Parent.Flash humanoid.HealthChanged:connect(function(health) if humanoid.Health <= 21 then local change = math.abs(currentHealth - health) Flash.Visible = true wait(0.2) Flash.Visible = false currentHealth = health else if humanoid.Health <= 21 then return end end end)
When i tested your script it worked,did you put it in a Local Script?