Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Tool = script.Parent
- Tool.Activated:Connect(function()
- local Humanoid = Tool.Parent:FindFirstChild("Humanoid")
- Tool.stacks.Value -= 1
- if Tool.stacks.Value == 0 then
- Tool:Destroy()
- Humanoid.Health += 5
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement