I need a script for a gun

i need a script that i can add to a gun so it can shoot is there any script?

Hi @EhsaanAKhan,

Sadly no, I don’t think you can find a ready made script for that.

Hello @EhsaanAKhan,
I have made guns shoot before and even implemented a basic ammo system, for it to shoot using Projectiles You need to ,
Make A function which makes a bullet entity , give it scale , collision , rigidbody and make it a child of the camera and find the bullet’s forward axis , and then copy it to a Vector3 and give the Vector3 as the axis for applyImpulse() of the bullet entity

1 Like