3 mobs ? Im battling 5 mobs . <| sep |> If we had the internet a century back , people would have been making comments like this about black guys . <| sep |> Very good point ! ! I still have an entire life ahead of me ! !<| sep |> messageend arraylength 1 dmessage if messageend 0 tX 35 tY 55 if keyboardcheckpressedord ' Z ' if messagecurrent messageend 1 messagecurrent else done true once you set done to TRUE . if donefalse . you want to stop drawing this text ! drawtexttX , tY , message You already created a boolean that will be set to a different value when the final line was reached I simply added another if statement to check the value of that variable . Note that this code could be improved on try writing down on paper what should happen in blocks and how these blocks relate with each other . Once you get the hang of thinking about your code in a ' story ' kind of way it ' ll be easier to understand what you should code . Good luck !