Hello! In my game, when the player reloads a shotgun I want the shells to be individually loaded. Kinda like in real life.
This is my code, my problem is that it only loads once, ignoring the repeat loop
For more context "GunSpecs.At(Player.Gun,6)" is the amount a full magazine can hold.
"GunSpecs.At(Player.Gun,7)" basically means 1.
The Reloading variable acts as a boolien, so when Reloading=1 then the player cant reload, that way a player cant reload WHILE relaoding.
So if Reloading doesnt equal 0, then a player cant reload.
Any help is greatly appreciated.