`Math.random()` will generate different results on different clients. Use `this.random()` instead for a prng that replicates correctly.