SFX Beeps Faster As Player Gets Closer

Even though I probably did it wrong?