hello i dont get any errors but it isnt working here is the lua script.
function onUse(cid, item, frompos, item2, topos)
gate1pose = {x=32176, y=31868, z=15, stackpos=1} -- Where the first piece will be placed
getgate1 = getThingfromPos(gate1pose)
gate2pose = {x=32177, y=31868...