Sonic, are you joking?
Thank for for programming lesson, but I know what I say.
(but still I have checked your greatly improved code, but issue still exists)
And Sonic, before the next great advice just visit http://www.xi-art.com and check a few games that I made last 2 years. I know LUA, don’t worry ;).