SInanazorar

Untitled

Aug 24th, 2025
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. wavetimer = 0
  2. bullets = {}
  3.  
  4. function CreateBullet(x, y)
  5. local bullet = CreateProjectile("bullet", x, y)
  6. table.insert(bullets, bullet)
  7. end
  8.  
  9. function Update()
  10. for i = 0, 5, 1
  11. do
  12. local xPos = -Arena.width / 2 + i * Arena.width / 4
  13. local yPos = Arena.Height / 2 + 50
  14. CreateBullet(xPos, yPos)
  15. end
  16.  
  17. wavetimer = wavetimer +1
  18. end
Advertisement
Add Comment
Please, Sign In to add comment