Jump to content

Skript Not Updated?


ItzDak

Recommended Posts

I'm working on a server at the moment and I'm trying to make an item spawn from someone right clicking on an item. Here is my script:

on right click:

  if player's held item is paper named "&6Ticket":

    execute console command "/give %player% netherite_sword"

however it is not working. To check if I made any scripting errors I tried 

on right click:

  if player's held item is paper named "&6Ticket":

    execute console command "/give %player% diamond_sword"

and it worked.. I checked the Materials folder within skript and all 1.16 items are there, netherite gear and weapons and new nether blocks... Is anybody having this issue?

How do I fix it?

Edited by ItzDak
Link to comment
Share on other sites

on right click:

    if event-item is paper:

        if name of event-item is "&6Ticket":

            give player netherite sword

        

Founder - Minehut.xyz

The leading Minehut support website. We aim to provide top quality tutorials, provide answers to top questions, and help in any way we can. Our site is community driven, and we will continue to make it better and better.

Support | 28/08/20 -13/09/20

Senior Support | 13/09/20 - 19/10/20

 

forums.gif.5d3db2db4a05c9465b84fa9bf0293df4.gif

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