Jump to content

(Skript) Cant use item because you dont have specified permissions.


Skizzors

Recommended Posts

Pretty much i have a little code thingy where you can run /aote to get an aspect of the end and that part works, but I need a way for non operators to use it. I'm new to script so help would be amazing. Here's the code:

 

command /aote:
  trigger:
    give diamond sword named "&bAspect of the End" to the player
options:
    item: diamond sword named "&bAspect of the End"
    command: command
on right click:
    execute player command "tp @s ^ ^1 ^5" if player's tool is {@item}

Link to comment
Share on other sites

command /aote:
  trigger:
    give diamond sword named "&bAspect of the End" to the player
options:
    item: diamond sword named "&bAspect of the End"
    command: command
on right click:
    execute console command "tp %player% ^ ^1 ^5" if player's tool is {@item}

 

Edited by Lapzzo

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

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...