AndrewofDoom

Untitled

Jul 4th, 2012
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1.  
  2. $On Death:
  3.  
  4. [
  5. local dyingShip = hv.Self
  6. if dyingShip == hv.Player then --Do not disable the scrolling system if it's not the player who's blowing up!!
  7. booleanInitScroll = false
  8. boolean_scroll_debug = false
  9. else --if this is an enemy, put it in the collision group with a player so it stops blocking the player's weapons!
  10. dyingShip.CollisionGroups = 1
  11. end
  12.  
  13.  
  14. ]
Advertisement
Add Comment
Please, Sign In to add comment