Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- local amount = tonumber(args[1] or 1) or 1
- local bundled_side = "back"
- local core_side = "left"
- bundled_colors = {
- tnt_heart = colors.red;
- cores = colors.lime;
- breakers = colors.lightBlue;
- placers = colors.orange;
- }
- local function SendPulse(color)
- redstone.setBundledOutput(bundled_side, color)
- sleep(0.4)
- redstone.setBundledOutput(bundled_side, 0)
- sleep(0.4)
- end
- print("Running " .. amount .. " time(s)")
- for i = 1, amount do
- SendPulse(bundled_colors.placers)
- SendPulse(bundled_colors.tnt_heart)
- print("Pulsed placers, tnt, and heart")
- sleep(8)
- print("Pulsing cores...")
- SendPulse(bundled_colors.cores)
- print("Pulsed cores")
- sleep(28)
- SendPulse(bundled_colors.breakers)
- print("Pulsed breakers")
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement