BTW, it appears that you have a mistake (the equal sign) in this section of code:
TranslateEntity box,0,GRAVITY#=-.01,0Oh yeah, and if you want to know how to post code in the code format (which will also show indenting properly), read What are the forum codes?.