here is the part of the code:
for y = 1, 60 do
clear()
x = x - 1
if x < 61 and x > 30 then
term.setTextColor(colors.lime)
print ("Missile Silo ONE Launch In T-"..x.."")
elseif x < 30 and x > 10 then
term.setTextColor(colors.orange)
print ("Missile Silo ONE Launch In T-"..x.."")
elseif x < 10 and x > 1 then
rs.setOutput("right", true)
term.setTextColor(colors.red)
print ("Missile Silo ONE Launch In T-"..x.."")
elseif x == 0 then
rs.setOutput("back", true)
term.setTextColor(colors.red)
print "Launching Missile!"
sleep(10)
rs.setOutput("top",false)
rs.setOutput("bottom",false)
rs.setOutput("back",false)
rs.setOutput("right",false)
rs.setOutput("left",false)
end
sleep(1)
clear()
end











