Projectile Help

How do I make lets say a projectile dissapear when it hits a part? Like when a bullet hits something in an fps it doesn’t bounce.

The easiest way to do that would be to use a .Touched event which then destroys the projectile.

Projectile.Touched:Connect(function(touch)
  Projectile:Destroy()
end)

The hard way would be to use rays to predict the point of collision. This would be the most accurate and visually pleasing method, but requires more code.

The methodology used in this guide gives a pretty good idea of what is required:

1 Like

Thank you! That really helps me.