all answers are appreciated
I looked at your question and got interested myself and I made the code for that. here it is
local Character = script.Parent local Humanoid = Character:WaitForChild("Humanoid") local CurrentHealth = Humanoid.Health local HealthScript = Character:FindFirstChild("Health") Humanoid.HealthChanged:Connect(function(health) if CurrentHealth > health then HealthScript.Disabled = true wait(3) HealthScript.Disabled = false end CurrentHealth = health end)
Put it in StarterCharacterScripts and you done . now the player needs to wait 3 seconds before healing appears