Text = { "The year was 2025. Aerial drones had revealed a large weapons cache in Siberia.", " ", "United Nations investigators were sent to investigate.", " ", "Once they got there they were met by Russian military. ", " ", "The Russians captured and executed the agents.", " ", "What were once thought to be nuclear weapons were soon revealed as anti-matter.", " ", "A weapon like no one had ever seen. A global scare prompted a new kind of space race.", " ", "A secret task force assembled to begin work on what only science fiction had thought possible before.", " ", "They started to build deep space vessels capable of supporting life.", " ", "They believed there was a possibility of life on other planets.", " ", "As work neared completion of the Icarus; the Russians found out.", " ", "Only a portion of the life support was completed when the war began.", " ", "Knowing that this would be the end of earth a rash decision was made,", " ", "they were going to launch the Icarus and head for the moon.", " ", "Only one section of the ship had breathable air,", " ", "this is where they setup a station to refill breathable tanks so that people could survive in space.", " ", "In the first year of the war Russia had expanded its territory to berlin.", " ", "As there was no slowing them down the Icarus was launched.", " ", "Upon reaching the moon it had been revealed that in our 55 year absence a new species had inhabited the moon.", " ", "The powers of the tesseract were revealed and teleportation finally became a reality.", " ", "Several years had passed and thousands of drones later they had found a suitable planet.", " ", "With little life support leaders believed the best way of reaching this planet would be", " ", "to send small settler groups to the planet and begin colonizing it.", " ", "The settlers began to plant trees, grow crops and create breathable oxygen levels.", " ", "However, soon it was discovered that this planet had resources like no one had seen", " ", "People knew they could profit from this world and began to mine its resources.", " ", " Soon factions were forming, and small warfare was beginning to break out across this new planet….", " ", " ", " ", " ", "Here we are today; this is the first bunker created by the Terra Nova Army", " ", "and serves as the hub for new survivors to get a new start on the world", " ", "we know today as INSERT WORLD NAME HERE.", " ", "You can buy supplies and view the ranks in the terra nova army.", " ", "New world rules will be in the main atrium along with ranks", " ", "and items that have been banished from the new world so that it does not have the same fate as earth.", " ", "Please view the rules or your fate could very well be decided by the military leaders.", " ", "Earth is still habitable however riddled with radiation it is very dangerous.", " ", "War still rages there and bombs fall frequently.", " ", "Resources are still there however death is almost emanate.", " ", "Travel there at your own risk.", " ", } mon = peripheral.wrap("top") mon.clear() wScreen, hScreen = mon.getSize() function Vertical() for i = -#Text, hScreen do for t = 1,#Text do mon.setCursorPos(1,i+t) mon.write(Text[t]) print(i+t.." "..i.." "..t) end mon.setCursorPos(1,i) sleep(.8) mon.clear() end end while true do Vertical() end
Hey guys im trying to make the text scroll up. So its like star wars intro text. This code make it scroll downward so it starts from the last line and scrolls down so that the beggining of the paragraph is the last thing shown. I have tried to change the numbers around but cant think of the way to make it go the other way. Can anyone help