A very simple car recoil script that changes gun “kick” based on car speeds in MPH
You can fine-tune it to fit your own server needs!
Features :
Different amounts of recoil based off-speed (MPH)
Customizable speeds/recoil
Edit for KMH only old version
So you’d have to change the current_mph to something like this
local current_mph =math.floor(speed * 3.6 + 0.5)
You can change the current_mph to current_kmh just update everything respectively!
Video Example - Video Demo Pictures of performance
I Sorta optimized it to where when outside a car it’s pretty much 0ms/% Sadly once you enter since you want to apply the recoil every time the player shoots it will go to .03ms and 4.80/5.~ % 4.80 You could change the Citizen.Wait to something else to lower the cost up to you.
After this three-year update, I will no longer be supporting/updating you’re free to use change and do whatever you want with this. - 9/17/2024
So you’d have to change the current_mph to something like this
local current_mph =math.floor(speed * 3.6 + 0.5)
You can change the current_mph to current_kmh just update everything respectivly! @TheGrumpyFox
Basically it’s doesn’t matter how fast I drive , or how slow the view then I start to shoot turns to first person( because my server made like this) scirpts starts fully no errors , bus it’s not do any function at all so the answer is it’s not working on first person