I'm trying to set up a sound that plays when you collect all the donuts, but when it plays, the sound sounds like it's spazzing out. what could be wrong?
Develop games in your browser. Powerful, performant & highly capable.
Probably not playing just once - playing every tick. Check your logic.
blackhornet has a point. The audio event should be a trigger. Maybe your making it with a condition? Let's say you have a variable called Donuts. If you make an event like Donuts = 35 / Play "Win.ogg"
If you do that, it will play for every tick while that condition is true.