I solve issue by myself change little bit a script, this script working for me
local addpoints = 20 -- amount of points to add
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if isPlayer(player) and item:remove() then
db.query("UPDATE `accounts` SET...