How to make an aim system for a gun

I’m making a gun system, which is going really great. BUT, I do not have an idea on how to make an aiming system. I’ve seen other posts but they use viewport arms, but for my game, it’s just the players arms in first person. My original idea was I could maybe attach the weapon to the player then offset it from there.

I don’t have an idea on how to approach this and was looking for some help. Thanks!

1 Like

I have never made something like that but i assume you make an invisible part in the gun and in a local script set the camera subject to that invisible part inside the gun. And to make a zooming like effect do some stuff with the fov and play around. To make it smooth use TweenService.

1 Like

You can probably do this using a tool, then animating the arm accordingly.
As emi said, you can definitely use TweenService to move the arms smoothly, and the FOV can be made smaller when using a scope.

1 Like

In the tool (gun) try to make a script inside of the gun to aim it at the nearest humanoid and add a little GUI to make the player know to who he is aiming hope it helps! ^^

2 Likes