Advertisement
Guest User

Amoo

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. function onTouched(hit)
  2. if (hit.Parent:FindFirstChild("Humanoid") ~= nil) then
  3. local d = hit.Parent:GetChildren()
  4. for i=1, #d do
  5. if (d[i].Name == "AR") then
  6. d[i].StoredAmmo.Value = d[i].StoredAmmo.Value +60
  7. script.Disabled = true
  8. wait(10)
  9. script.Disabled = false
  10. end
  11. end
  12. end
  13. end
  14.  
  15. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement