change to
function OnStepIn(cid, item, pos)
local t = {
[5000] = {{x = getPlayerPosition(cid).x-1, y = getPlayerPosition(cid).y+1, z = getPlayerPosition(cid).z},{x = getPlayerPosition(cid).x-1, y = getPlayerPosition(cid).y-1, z = getPlayerPosition(cid).z}},
[5001] = {{x =...