Gun keeps on aiming when reloading - NEED HELP ASAP!

Hey, there.
I am making a FPS game, and I am using the Fe gun kit by bluric_64bit(Newly and edited version). And I came across this error, I can aim while the gun is reloading. The odd thing is that, there is this boolean variable inside the Settings(Module script), called KeepAimingOnReloading and it is set to false. But the thing is I can only aim when the reloading is about to end, so I can’t aim the whole reloading session. And I find this irritating, though it is a small problem.

Any help would be severly appreciated! :slight_smile:

you could add a debounce and make it so if that debounce is true then you cant aim while reloading something like this;

local aimdebounce = false
local reloading = false
--[[ 
make it so you cant aim when **Reloading** is equal to true.
]]--

I haven’t looked at the kit so you might have to edit a lot of stuff to get this too work.

Ok, I will try my best, to fix lol. But Thanks for the help!!

could you link the FE Gun Kit so when I can open studio I can try and fix it

And how can I make so that aiming is disabled when the gun is reloading?

Sure, LEGACY VIEWMODEL - Roblox

and by the way, you would need a file to fix it. So here:
Baseplate.rbxl (1.1 MB)
and BTW it is the M16A1 that needs fixing

I just need help with how I can make aiming disabled in the function, could you help me?? @iluvtcr

I fixed the original problem, by adding a wait property to the aim down function. But now, I would have to wait 1s for the gun to aim. Any ideas to fix??

I edited the topic name, and stuff. Cuz no one responding

Nvm, I fixed it, by changing the speed of the animation and the duration.