im trying to make a skript that gives you levitation when you hold it in your offhand but im not sure how to get it working, this is what i have so far can someone tell me how to do it?
every 5 seconds in "world":
loop all players:
if %loop-player% offhand tool is Shulker Shell named "&r&dLevitation Charm":
apply leviation 1 to player for 6 seconds
every 5 seconds in "world":
loop all players:
if %loop-player% offhand tool is Shulker Shell named "&r&dLevitation Charm":
apply leviation 1 to player for 6 seconds