I'm making a game and a script is broken. Basically, there's a boss fight and it shoots bugs that damage you when you touch it, but the bugs won't damage you.
01 | function Fly() |
02 |
03 | local missle = Instance.new( "Part" ) |
04 | missle.Size = Vector 3. new( 7 , 8 , 7 ) |
05 | missle.CanCollide = false |
06 | missle.Transparency = 1 |
07 | local Decal = VineAssets.FlyDecal:clone() |
08 | Decal.Parent = missle |
09 | local Vel = Instance.new( "BodyVelocity" , missle) |
10 | Vel.MaxForce = Vector 3. new( 9999999 , 9999999 , 9999999 ) |
11 | Vel.Velocity = Vector 3. new(- 20 , 0 , 0 ) |
12 | local snd = VineAssets.FlyBuzz:clone() |
13 | snd.Parent = missle |
14 |
15 | Debris:AddItem(missle, 4 ) |