Fixed the to close to the wall and you get stuck bug. The 2 other bugs are still in. Like the last one down button is the starting key. The altered hallway after going very far is not a bug just a result of no boundaries, it wears off if you keep going in the same direction. Changed the line size and color and still need help. I'm showing the variables so people can get an idea of what kind of script it is. The direction variable is made of 4 directions 0 down, 1 right, 2 up and 3 left. Also like the last one still need help.