Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local chooseScreen = 1
- --
- local chapters
- --
- local allWords
- local wordsA = {"dress", "fairy tale", "front row seat", "involve", "magic", "seat", "splendid", "straw", "thought"}
- local wordsC = {"direct", "least", "opinion", "shoot"}
- local wordsD = {"appear", "classical music", "cover", "evil", "gal", "main character", "pale", "rule", "speciality", "spotlight", "turn back", "universe", "wizard"}
- local wordsE = {"near future", "play", "take place"}
- local wordsCC = {"crew", "current", "former", "tale", "take up", "unlike", "ventriloquist"}
- local wordsF = {"attatch", "a bunch of", "in honour of", "knife", "lose", "mug", "puppet", "slippers", "torch"}
- local wordsG = {"argue", "be prepared", "confidence", "impression", "judge", "single", "take"}
- local wordsH = {"in advance", "kick off", "ticket sale"}
- function startScreen()
- while true do
- local event, pressKeyStartScreen = os.pullEvent("key")
- if pressKeyStartScreen == "208" then
- chooseScreen =(chooseScreen+1) % 3
- end
- --
- if chooseScreen == "1" then
- print("")
- print(" Engels Spel")
- print("")
- print("")
- print("")
- print("")
- print("")
- print("")
- print(" >Start<")
- print("")
- print(" Opties")
- print("")
- print(" Stop")
- print("")
- print("")
- print("")
- print("")
- print(" Door Justin van der Leij")
- end
- --
- if chooseScreen == "2" then
- print("")
- print(" Engels Spel")
- print("")
- print("")
- print("")
- print("")
- print("")
- print("")
- print(" Start")
- print("")
- print(" >Opties<")
- print("")
- print(" Stop")
- print("")
- print("")
- print("")
- print("")
- print(" Door Justin van der Leij")
- end
- --
- if chooseScreen == "3" then
- print("")
- print(" Engels Spel")
- print("")
- print("")
- print("")
- print("")
- print("")
- print("")
- print(" Start")
- print("")
- print(" Opties")
- print("")
- print(" >Stop<")
- print("")
- print("")
- print("")
- print("")
- print(" Door Justin van der Leij")
- end
- end
- end
- function getWord()
- if chapters == "1" then
- allWords = math.random(1)
- end
- if chapters == "2" then
- allWords = math.random(2)
- end
- if chapters == "3" then
- allWords = math.random(3)
- end
- if chapters == "4" then
- allWords = math.random(4)
- end
- if chapters == "5" then
- allWords = math.random(8)
- end
- --
- if allWords == 1 then
- print(wordsA[math.random(9)])
- end
- if allWords == 2 then
- print(wordsC[math.random(4)])
- end
- if allWords == 3 then
- print(wordsD[math.random(13)])
- end
- if allWords == 4 then
- print(wordsE[math.random(3)])
- end
- if allWords == 5 then
- print(wordsCC[math.random(7)])
- end
- if allWords == 6 then
- print(wordsF[math.random(9)])
- end
- if allWords == 7 then
- print(wordsG[math.random(7)])
- end
- if allWords == 8 then
- print(wordsH[math.random(3)])
- end
- end
- startScreen()
Advertisement
Add Comment
Please, Sign In to add comment