local t = {
Position(999, 999, 7), -- TP location
Position(1000, 1000, 7) -- Where the TP takes you
}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if item.itemid == 1945 then
local teleport = Game.createItem(1387, 1, t[1])
if...