Fire projectile based on charge duration

hello i have made a charge jump based on the held duration of my key but i wanted to know is there away to make it so if a weapon is not charged it spawns one projectile but if it is it spawns another?

this is my charge jump am a able to use the same system?