Jump to content
  • 0

I need help with skript


kark

Question

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

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

 

You put diamond sword and not gold sword so it doesn't match.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...