Is there an easy way to play a sound using an if statement?