Try this
prontera,143,173,5 script Level Reset 757,{
if (BaseLevel < 255||JobLevel < 120 ) {
mes "You need to be at least level 255 and Job level 120.";
}
if (RESET_COUNT >= 20 )
{
mes "I'm sorry, but you can't use this npc again";
close;
}
else if (select("Reset", "cancel") == 1) {
resetlvl 1;
RESET_COUNT++;
StatusPoint += (RESET_COUNT * 10); // free 10 status point per reset.
if (RESET_COUNT && RESET_COUNT % 10 == 0) {
getitem 512, 10; // every 10 reset get apple.
}
}
end;
}