Hello people im trying to get this script working basically its an X item used on another X item then the player gets teleported
local piedra= Action()
function piedra.onUse(player, item, fromPosition, target, toPosition, isHotkey)
if item.itemid == 7761 then
if target.itemid...