Try this out:
local transformPosition = {x = 38478, y = 33902, z = 7}
local checkPosition = {
{x = 38479, y = 33920, z = 7},
{x = 38478, y = 33920, z = 7}
}
function onStepIn(creature, item, position, fromPosition)
if not creature:isPlayer() then
return true
end
if...