i think you need this added too the top now. just above the function_main(e)
function collectkey_init(e)
end
function scriptname_init(e)
end
thats what i had to add to alot of my scripts im using anyways m8 hope it works/helps
evga GeForce gtx 750 ti boost2.0 2gb gddr5. win 8.1 quad core 4gb ram.