if(Input.GetKeyDown (“r”)){
Reload();
}
function Reload(){
if(Clips > 0){
PlayReloadAudio();
yield WaitForSeconds( ReloadTime );
BulletsLeft = BulletsPerClip;
Clips -= 1;
}
}
Guys, how do I “lock” key r during the reload?