Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function make_boom()
- s = peripheral.find("speaker");
- --s.playSound("entity.generic.explode");
- --os.sleep(3);
- s.playSound("entity.creeper.primed");
- if math.random() > 0.5 then
- os.sleep(0.5);
- s.playSound("entity.creeper.hurt");
- os.sleep(0.5);
- s.playSound("entity.creeper.hurt");
- os.sleep(1.4);
- else
- os.sleep(2.4);
- end
- s.playSound("entity.generic.explode");
- end
- while true do
- os.sleep(20)
- if math.random() < 0.05 then
- make_boom();
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement