Ooh yeah ofcourse, here's the code.
local configs = {
percent = 1.5, -- percent of max mana that will be added
interval = 1*1000, -- time to add mana again
storage = 12002
}
local function addMana(cid, interval, storage, perc)
if(getPlayerStorageValue(cid,storage) == 1)then
if...