Solved Error with 'is holding' condition

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

RedDiamond

Member
Nov 30, 2020
21
0
1
23
So i made this code for a crate skript
Code:
if player is holding a shiny tripwire hook named "&f{@dkey}" with lore "&8Use this to open &fDaily Crate"
But when i reload the skript it say this error:
Code:
Can't compare a player with 'holding a shiny tripwire hook named "Daily Key" with lore "Use this to open Daily Crate"'

Anyone know how to make this work? To use "shiny" on a 'is holding' condition.
 
Try checking "player's held item is X" rather than "player is holding X". If you run into further issues, check the name and lore separately. Also, shiny is only a feature of SkRayFall according to the docs.
 
Try checking "player's held item is X" rather than "player is holding X". If you run into further issues, check the name and lore separately. Also, shiny is only a feature of SkRayFall according to the docs.
using "player's held item" is still not working, and yea ik its only for skrayfall and i have that, thx for the help tho
 
Status
Not open for further replies.