How would you make a gun system?

I have been making stuff for a bit and I am not too confident in my raycasting abilities so I want to create a gun system. I have looked for a bit and all of the tutorials are just either 2 hours long and all I get is a line from the gun to the hit player.

How would I make a gun system that would have “bullets” and how do I make one in general?

Any video links or form links would be much appreciated!

7 Likes


Not my channel but it’s a recommended scripter

5 Likes

Yeah that’s the 2 hour tutorial I was talking about lol. I will look over it tho. Thanks!

2 Likes

You can always search free models and start to see the scripts, if you already have an intermediate knowledge this maybe be easier for your.

3 Likes

There are some good tutorials you can find on the DevForum here:

https://devforum.roblox.com/t/making-an-fps-framework-2020-edition/503318

https://devforum.roblox.com/t/the-first-person-element-of-a-first-person-shooter/160434

They’re both around a 10-20 minute read, and they have a test gun you can build off of.

13 Likes

This is good thanks for the info I will look into this as well!

These are really amazing actually! Thanks for posting them and staying on topic.

1 Like

Wow, not just a gun, the whole game! Thanks for the resources, I might check it out to optimize my own game later.

2 Likes