Advertisement
Lexyaligar

Code

Feb 14th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. while wait() do
  2. n = 0
  3.  
  4. for i,v in pairs(Workspace.BlockField:children()) do
  5. if v.Name == "Tektite" or v.Name == "Turquoise" or v.Name == "Viridian" or v.Name == "Unobtainium" or v.Name == "Amethyst" or v.Name == "Adurite" or v.Name == "Uranium" or v.Name == "Platinum" then
  6. coroutine.resume(coroutine.create(function()
  7. n = n + 1
  8. game.Workspace.DigHandler.Claim:InvokeServer(1,v,0)
  9. end))
  10. end
  11. if n > 5 then wait(1) n = 0 end
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement