//#CLIENTSIDE function onCreated() { this.onTimeout(); } function onTimeout() { playlooped2("bomb.wav", this.x, this.y, 1); //The '1' is the player's distance }