Add this at creaturescripts.xml
<event type="advance" name="pointsforlvl" event="script" value="points.lua"/>
Create a folder in the creaturescripts and name it points and add this in it
local t, storage = {
-- level -- amount points (delete this line)..
{350, 50},
{450, 65}...