I am working on a gun framework and I don't know how to do smooth recoil. I tried using tween but it makes my camera stay in place while the tween plays. I went into dev forums and found a module script for recoil that uses springs but I don't know how to use it, this is the post I found: projects.anna.gg/SpringSimulation/ I used this line of code to do recoil since it is code I can understand
Camera.CFrame = Camera.CFrame * CFrame.Angles(RecoilX,RecoilY,RecoilZ)

5 comments
The link projects.anna.gg/SpringSimulation/ is blocked for me. Also, we can't understand anything with just one piece of code with different variables we don't really know what they are.
@zamd157 here is pro glitch, copy the link and paste it into search, it will work
RecoilX,RecoilY,RecoilZ are angles that I rotate the camera
Yes, but how did you get them, if you created the springs, properly set it up, don't make me moderate this post for lack of description.
There arent any springs in the way I do it. I just set the cameras cframe