What could I change or add to make it so when the humanoid stops touching the part it will stop healing them?
local Enabled = true script.Parent.Touched:Connect(function(Hit) if Hit.Parent:FindFirstChild("Humanoid") and Enabled == true then Enabled = false repeat wait(0.2) Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health + 10 until Hit.Parent.Humanoid.Health <= 0 Enabled = true end end)