Help me

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

Madacaos

Member
Sep 1, 2020
1
0
0
22
Hi, I'm creating a disease script. I wanted to create an item that can tell you what the player is infected with based on permissions. The code I managed to create is the following:

on tight click on a player with a Stick:
if player Is holding a stick named "stethoscope":
send "&8---------- health &8----------" to player
if %clicked entity% has permissione "health.stomachache":
send "stomachache" to player

the fourth line does not work
PS: I'm talking to the translator if something is not understood tell me, do not take into account the wrong Tabs I'm writing from the phone.
[doublepost=1598952064,1598951959][/doublepost]I don't know if it's explained well I want to create a tool to analyze the diseases that the player has based on permissions
 
Status
Not open for further replies.