Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local healer = script.Parent
- local HealAmount = 30
- local sound = script.Sound
- local touched = false
- function HealMe(part)
- local hum = part.Parent:FindFirstChild("Humanoid")
- if hum and not touched then
- touched = true
- hum.Health = hum.Health + HealAmount
- sound:Play()
- for i = 2.5, 5, 0.1 do
- healer.Size = Vector3.new(i,i,healer.Size.Z + 0.05)
- healer.Transparency = healer.Transparency + 0.03
- wait(0.01)
- end
- wait(3)
- healer:Destroy()
- end
- end
- healer.Touched:Connect(HealMe)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement