Solved it.
I made a server function that called a multicast function.
The multicast function has a timer in it to act as delay. The delay is calculated by dividing the distance by the speed of sound (340). The distance is calculated by getting the distance between the local player (the player that the multicast function is being called on) and the location of the sound.
And when the timer is done i play a sound at location.
Code: