so i made a command to give you a sword with a specific name and i want that sword to teleport me 3 blocks forward i tryed this script
command /giveawayMeltaSword <Player>:
permission: Op
trigger:
give 1 gold sword of sharpness 7, fire aspect 3, unbreaking 10, named "&1Meltra Sword" to player
On left click:
if player's held item is diamond sword named "&1Meltra Sword":
push player forward at speed 1
i dont get any errors but it doesnt do anything