Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do you use Debounce I want to use it on my healing script ? [closed]

Asked by 6 years ago

I know what is Debounce but I don't want to use it I want the script to not repeat itself too fast

function Touched(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health + 5 end end

script.Parent.Touched:connect(Touched)

Closed as Not Constructive by User#19524

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?