Serial monitor either not outputting anything or outputting gibberish

That makes sense and it works now, thank you!