Pandas suck? wtf scarlet 
Anyway, nice script

Anyway, nice script

[1] = function(cid, pos) --Fire Trap
doCombatAreaHealth(cid, COMBAT_FIREDAMAGE, pos, nil, 100, 200, CONST_ME_FIREAREA)
return true
end,
[2] = function(cid, pos) --Energy Trap
doCombatAreaHealth(cid, COMBAT_ENERGYDAMAGE, pos, nil, 100, 200, CONST_ME_ENERGYHIT)
return true
end,
[3] = function(cid, pos) --Ice Trap
doCombatAreaHealth(cid, COMBAT_ICEDAMAGE, pos, nil, 100, 200, CONST_ME_ICEATTACK)
return true
end,
[4] = function(cid, pos) --Earth Trap
doCombatAreaHealth(cid, COMBAT_EARTHDAMAGE, pos, nil, 100, 200, CONST_ME_CARNIPHILA)
function newTrap(cid, pos) //Using the example you said
pos.stackpos = 253
local targt1 = getThingFromPos(pos)
doCreatureSetNoMove(targt1, cannotMove)
end
[7] = function(cid, pos) --Custom1
pos.stackpos = 253
local creature = getTopCreature(pos).uid
local lvl, skill = getPlayerLevel(cid), getPlayerSkillLevel(cid, sword)
local minTD, maxTD = (((lvl + skill) * 2) + 20 + (20 / lvl)), (((lvl + skill) * 2) + 30 + (40 / lvl))
if lvl >= 10 and lvl <= 14 then
doCreatureSetNoMove(creature, true)
addEvent(moveAgain, 3000)
elseif lvl >= 15 and lvl <= 19 then
doCreatureSetNoMove(creature, true)
addEvent(moveAgain, 3000)
elseif lvl == 20 then
doCreatureSetNoMove(creature, true)
addEvent(moveAgain, 3000)
end
doCombatAreaHealth(cid, COMBAT_POISONDAMAGE, pos, nil, -minTD, -maxTD, CONST_ME_HITBYPOISON)
return true
end,
------------- now add a function at the end of the lib--------------
function moveAgain (cid)
if isCreature(creature) then
doCreatureSetNoMove(creature, false)
return true
else
return false
end
end