rep both of you :) but owned did a new script and this 1 work perfectly so credit to him for this code :)
local b = 1,5
function onUse(cid, item, frompos, item2, topos)
if getPlayerBlessing(cid, b) then
doPlayerSendCancel(cid, "You have already recieved Blessings!")
else...