Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- blasters = require ("Libraries/gaster_blasters")
- function blasters.Update()
- local blasters = blasters.New(320, 480, 320, 300, 0, 0)
- blasters.sprite.color32 = {255,255,255}
- function blasters.OnBeam(bullet)
- bullet["color"] = "white"
- bullet.sprite.color32 = {255,255,255}
- end
- function OnHit(bullet)
- if bullet["color"] == "white" then
- Player.Hurt(1,0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement