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.

Rightclick event with item named

Discussion in 'Skript' started by entwickeln, May 12, 2022.

Tags:
Thread Status:
Not open for further replies.
  1. entwickeln

    entwickeln Member

    Joined:
    May 11, 2022
    Messages:
    40
    Likes Received:
    0
    Hey guys :emoji_grinning: I tried a troll skript for admins that allows me to shoot fireballs with a stick named "Feuerball Stock"
    BUT i doesn't work for me..
    Here is the code:

    on rightclick:
    if player's tool is a stick:
    if player's tool name is "&4Feuerball Stock":
    send message "debug1"


    It sends the message "debug1" with every stick. Can you guys help me please?
     
  2. Practice

    Practice Member

    Joined:
    Apr 23, 2022
    Messages:
    37
    Likes Received:
    1
    It's player's tool's name or name of player's tool
     
  3. mynameisgeofferyjkjk

    Joined:
    Jan 9, 2022
    Messages:
    7
    Likes Received:
    0
    Code (Text):
    1. on rightclick:
    2.     player's tool is a stick
    3.     name of player's tool is "&4Feuerball Stock"
    4.     send message "debug1"
     
  4. 8pixels

    8pixels New Member

    Joined:
    Mar 24, 2022
    Messages:
    6
    Likes Received:
    1
    why not just
    Code (Text):
    1. on right click with stick:
    2.   name of player's tool is "name":
    3.     other stuff here
     
Thread Status:
Not open for further replies.

Share This Page

Loading...