On click with 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.
Jul 16, 2020
30
2
8
18
When I try to rightclick with the head, it doesnt work.
The server.sk skript is the full, just find command /profile and click on head or something
 

Attachments

  • server.sk
    52.8 KB · Views: 125
I dont think Skript suports number codes like 397:3. You should use
Code:
on click with head:
    if name of event item is "&cProfile":
        if "%player's world%" is not "bedwars":
            message "&fUnknown command. Type ""/help"" for help." to player
        else:
            make player execute command "profile"
 
I dont think Skript suports number codes like 397:3. You should use
Code:
on click with head:
    if name of event item is "&cProfile":
        if "%player's world%" is not "bedwars":
            message "&fUnknown command. Type ""/help"" for help." to player
        else:
            make player execute command "profile"
I have already tried "playerhead", "player head", "head", "397:3", "players head" and it wont work
 
This should work.
code_language.skript:
on click with player head:
    name of event-item is "&cProfile"
    if "%player's world%" is not "bedwars":
        message "&fUnknown command. Type ""/help"" for help." to player
    else:
         make player execute command "profile"
 
Status
Not open for further replies.