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

More Confusion on Using Regen Scripts...?

Asked by 6 years ago
bool = true
function regen(part)
    if bool == false then return end
    if part.Parent:FindFirstChild("Humanoid") ~= nil then
        part:Destroy()
        wait(1)
        part:Clone()
    end
    wait(5)
    bool = true
end
script.Parent.Touched:connect(onTouched)

I'm so confused. I mean, I know that debounce must be used, but...

0
Oh, I used debounce wrong xD DeceptiveCaster 3761 — 6y

Answer this question