this has so many bugs... and you forgot to take out the click thingy. i guess is a remnant from your level editor but left click creates blocks and right click deletes blocks.