Basically, I want to change the chance of the weapon jamming on the acs to 50%, how do I do that? I’ve tried changing it and it just stays the same, the gun never jams
maybe you can do something like
local JamChance = 50
local jam_ = math.random(1, 100/JamChance)
if jam_ == 1 then
jam()
end
tbh I don’t know what does jamming, and acs means so I just wrote something I thought of “chance”.
hope that helped
Change the jamchance to math.huge to see if the jamchance variable actually does something.