Created space bar shoot function