I seen regen buttons that regen carts, models, etc. I don't know how to make one of these. Anyone have any suggestions?
✓ ANSWER ACCEPTED
Making a regen button?
1 answer
✓ Accepted answer
Deb = false
Model = YourModel:Clone()
Model.Parent = game.Lighting
function Regen(hit)
Hum = hit.Parent:FindFirstChild("Humanoid")
if Hum and Deb == false then
Model:Clone().Parent = game.Workspace
Deb = true
wait(1)
Deb = false
end
end
script.Parent.Touched:connect(Regen)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you. I'll try this ^^