Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if (item:getId() == 36309) then
item:transform(36310)
elseif (item:getId() == 36310) then
item:transform(36311)
elseif (item:getId() == 36311) then
item:transform(36312)
elseif (item:getId() == 36312) then
item:transform(36309)
end
return true
end
[code]
Hello I am trying to make that every time the player uses the item he will become more accurate that after a while the item returns to the first