Hi! Im a newbie ot dev and today I decided to test my wings in lua. Ehh well yea it didnt go as planned 😅
<action itemid="2382" script="tools/pickaxe.lua" />
local ore = 5880
local stone = 1358
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if target ==...