Lol, you suck if these are your scripts. You are just embarrassing yourself. You can't even tab or correct your own script...
Try this:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local level = 300000
if((getPlayerLevel(cid) + level) < 717217) then
doPlayerAddLevel(cid...