So i have been wanting to use a gun but when i look at the code in a gun model it can look very VERY intimidating like i remember one model must have have like idk maybe 500 lines? but i was wondering what is the first step when making a gun? so i have the gun itself no code yet and what is the first thing i want to try to accomplish? I just want a basic pistol. And no, i am not requesting anybody to do this for me.
ok i found what i want to do so i want to make it so when i hold it, it aims the gun how do i do that? do i make an animation then play it infinitely?

6 comments
I don't have a direct answer but I think this may be a good start. https://developer.roblox.com/en-us/articles/weapons-kit I know it uses a free model but it is sorted out nicely.
i like it but i kind of want to learn how to do it and i didn't see any tutorials in it
buddy, you gotta try it before you post here. look it up, i'm sure there are plenty of sources out there that can show you how to. if you really can't find anything, go to this link https://developer.roblox.com/en-us/articles/Raycasting
i am so confused by that i was expecting something to show me how to make a still animation but that says how to detect if a player is looking at an object?
wait, do you need help with animations or the actual gun? if it's animations, just loop your aiming animation and set its priority to action
ok thanks i didnt need help with making the gun