Hello develupers I maked a medkit tool that heals 25 but afther heals. If you go on damage block it will take more damage than normal.
Look the damage taken before and after healing
The video don’t uploaded for me probaly you need to download it Sorry. And after you need to look into archives. robloxapp-20211214-0928050.wmv (2.4 MB)
well that’s why I gave you a link, it explains everything
local waitTime = 0.5
local debounce = true
function onTouched(hit)
local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
if humanoid and debounce then
debounce = false
humanoid:TakeDamage(1)
task.wait(waitTime)
debounce = true
end
end
script.Parent.Touched:Connect(onTouched)