local c = {
itemId = 2148, -- item player receives
amount = 1, -- how many of that item
newPos = {x = 677, y = 639, z = 7} -- where they get teleported
}
function onUse(player)
return player:addItem(c.itemId, c.amount), player:teleportTo(c.newPos)
end