On rightclick holding a head

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

eMpowr

Member
Jun 13, 2019
19
0
0
25
Error code:
Code:
on rightclick holding a head:
    if player's world is "hub":
        if name of item is "&e► &cŽAIDIMAI &e◄":
            wait 4 ticks
            make player execute command "/zaidimai"

had a problem with rightclick holding a head. What could be the issue here?
 

Attachments

  • Screenshot (7).png
    Screenshot (7).png
    6.2 KB · Views: 160
Not sure what your error is, but try for line 2:
Code:
if event-item's name is "&e► &cŽAIDIMAI &e◄":
 
Im pretty sure "head" isn't an item, try `player head` if that doesn't work you will have to look thru the aliases and find the correct alias
It didnt give me errors when I reloaded the skript but when I rightclick on the head it just doesnt open a GUI that I made.
 
Last edited:
Status
Not open for further replies.