mate that function doent work (it says end if where no if?) you also have keydown(v) where i think it should be keydown(K_v) i think and you have keydown(v) = 0 or keydown = 0 right next to each other ? i dont how this was ment to work but it doesnt just changing the entity name for mine.
Pete
Pete