Looking forward for the upcoming parts! <3<3<3
By the way:
http://lualand.net/
Awesome site for 0.4 functions.
Your loops samples, they loop at the glimpse of an eye right? What about making 1 second exhaust between a loop, how to do so?
So instead of
execute script:
1,2,3,4,5,6,7,8,9,10 (in 0.001 seconds).
1 (1 sec)
2 (1 sec)
3 (1 sec)
and up to 10 with 1 sec interval. That way you can imitate a clock, a ticking bomb etc.

etc...
How do I know what "local" to use?
You used gain, I had no clue.
I would try with
local addCreatureMana = 750
or
local addMana = 750
So how do I know what to use in the "local"?
local SOMETHINGWEIRDNAMELOL
Is a local storage where you store a value. You can then use the value later.
Lua:
local LOLWTF = 200
--- local storage LOLWTF has value 200
--- you can make as many local storage as you want.
--- you can choose whatever name you want for your storage.
--- you can choose whatever value the storage have.
if getCreatureMana(cid) < 100 then
--- If creature have LESS mana than 100 then:
doCreatureAddMana(cid, LOLWTF)
--- add mana, value is fetched from our local storage.
--- If you want to choose another value, choose another storage or edit the value of LOLWTF
else
--- If you have more than 100 mana.
doPlayerSendCancel(cid, "Sorry this mana pool is only for people who are low on mana!")
end