Advertisement
Guest User

Help

a guest
May 19th, 2023
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. blasters = require ("Libraries/gaster_blasters")
  2.  
  3. function blasters.Update()
  4. local blasters = blasters.New(320, 480, 320, 300, 0, 0)
  5. blasters.sprite.color32 = {255,255,255}
  6. function blasters.OnBeam(bullet)
  7. bullet["color"] = "white"
  8. bullet.sprite.color32 = {255,255,255}
  9. end
  10. function OnHit(bullet)
  11. if bullet["color"] == "white" then
  12. Player.Hurt(1,0)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement