Guest User

Untitled

a guest
Jan 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local Shield_Orig = Shield
  2.  
  3. Shield = Class(Shield_Orig) {
  4. CreateShieldMesh = function(self)
  5. Shield_Orig.CreateShieldMesh(self)
  6. local TestBox = self.Owner:GetBlueprint().Defense.Shield.CollisionShapeBox
  7. if TestBox == 1 then
  8. #LOG('I GOT THIS PIECE OF CARP TO WORK!')
  9. self:SetCollisionShape( 'Box', 0, self.Owner:GetBlueprint().Defense.Shield.BoxOffsetY, 0, self.Owner:GetBlueprint().Defense.Shield.BoxX, self.Owner:GetBlueprint().Defense.Shield.BoxY, self.Owner:GetBlueprint().Defense.Shield.BoxZ)
  10. end
  11. end,
  12. }
Add Comment
Please, Sign In to add comment