how can i make it so that skript detects if a player has an item in offhand or in inventory, i've tried
if player's offhand is stone named "&6Test":
add flint named "&7Pebble" to player's inventory
and if player has stone named "&6Test" in inventory:
but its not working
if player's offhand is stone named "&6Test":
add flint named "&7Pebble" to player's inventory
and if player has stone named "&6Test" in inventory:
but its not working