I created my first working gun!

Woohoo
I just learned how to use mouse.Target and with that could create my first working gun!
I added a reload system and some effects like a muzzle flash and a sound effect (the particle effect, sound, and mesh were free models)


The problem I had with using mouse.Target was this, though.

I’m quite new to scripting so I’m pretty proud of this!

2 Likes

Next time when you want the player to not be able to hit through walls would be to add a raycast and if it hits a wall or something as such it will just destroy the bullet or something like that