Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onTouched(hit)
- if (hit.Parent:FindFirstChild("Humanoid") ~= nil) then
- local d = hit.Parent:GetChildren()
- for i=1, #d do
- if (d[i].className == "Tool") then
- d[i].StoredAmmo.Value = d[i].StoredAmmo.Value +100
- script.Disabled = true
- wait(10)
- script.Disabled = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement