Advertisement
Guest User

Untitled

a guest
Jun 13th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. /c local surface = game.player.surface
  2. local position = game.player.position
  3. local size = 15
  4. for index, e in pairs(surface.find_entities_filtered{area={{position.x-size, position.y-size},{position.x+size, position.y+size}}, type="resource"})
  5.   do e.destroy()
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement