Hi, so I was working on a gun system and now I have realized that my functions are not changing the variables.
This is what I mean
local function AimIn()
if Reloading then return end
if Inspecting then return end
AimingIn = true
When it changes the AimingIn to true, and I try to print AimingIn it still says false, indicating that this function has not changed the value, this is in a local script and yes I am running the function.
I’ve checked and they are meeting the conditions because when I run the function it does what it’s supposed to do, but it is not changing the variables.