1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skripts with more than 1 item dont work

Discussion in 'Skript' started by ambaaaaaaaas, Mar 18, 2022.

Thread Status:
Not open for further replies.
  1. ambaaaaaaaas

    ambaaaaaaaas New Member

    Joined:
    Feb 19, 2022
    Messages:
    5
    Likes Received:
    0
    Basically, i made a skript that when you right click a fire charge, it shoots.
    Everything with that works, except for 1 thing.

    When i have the item in my hand, i right click it and it works BUT if i have more than 1 item, for example, 32 fire charges, it wont work and it doesnt matter the amount, if it's more than 1, it wont work.

    Can someone help me? Do i need an addon? or maybe change the skript??? Here's the skript btw:

    on right click:
    if player's held item is fire charge named "&6&lFireball":
    remove 1 fire charge named "&6&lFireball" from player's inventory
    make player shoot a fireball at speed 1

     
  2. ryanrox333

    ryanrox333 Member

    Joined:
    Jul 6, 2019
    Messages:
    17
    Likes Received:
    0
  3. ambaaaaaaaas

    ambaaaaaaaas New Member

    Joined:
    Feb 19, 2022
    Messages:
    5
    Likes Received:
    0
Thread Status:
Not open for further replies.

Share This Page

Loading...