Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make a healing pad that adds 25 health every time you touch it?

I'm pretty sure it includes a touched event and a add health event.

1 answer

✓ Accepted answer
script.Parent.Touched:Connect(function(touchedPart)
if (touchedPart.Parent:FindFirstChild("Humanoid")) then
touchedPart.Parent.Humanoid.Health = touchedPart.Parent.Humanoid.Health + 25
end
end)

Change script.Parent to the healing pad if the script is not inside the healing pad

1 comment

0

Thanks :D

This discussion is preserved as it was. New answers, comments, and votes are closed.