so i am making a gun it is completly done other that one thing... recoil how do i change the camera angle? to be clear i am not asking for how to make the gun have recoil when i shoot just asking for changing the camera angle ok i got the script:
local camera = game.Workspace.CurrentCamera
wait(3)
local debounce = true
local i = 0.1
while i > 0.001 do
if debounce then
debounce = false
camera.CFrame = camera.CFrame * CFrame.Angles(i,0,0)
i = i/1.2
wait(0.005)
debounce = true
end
wait()
end
i = 0.005
while i < 0.0285 do
if debounce then
debounce = false
camera.CFrame = camera.CFrame * CFrame.Angles(-i,0,0)
i = i*1.04
wait()
debounce = true
end
wait()
end
mine isn't perfect could i see yours to compare 14zander?

2 comments
If you have attempted to make a recoil function, I have one myself, but I'll only give my function if you have attempted it yourself.
hello, please read the community guidelines before posting.