tunggu java waktu acak

Thread.sleep((long)(Math.random() * 1000));
jdam