Need help with a heal wand.

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

_125

Member
Nov 29, 2023
2
0
1
16
so honestly I don't even know where to start. I have a wand that I need to heal, about all I know is i need it to be able to heal players within a block radius of 5.
should be once you press F.
 

Attachments

  • image_2023-11-29_182409953.png
    image_2023-11-29_182409953.png
    10.2 KB · Views: 18
code_language.skript:
swap item:
  uncolored name of event-item is "Stick of Truth"
  # add additional checks for mana and cooldown here
  cancel event
  loop players in radius 5 of player:
    loop-player isn't player
    add 10 to health of loop-player

Untested. Let me know if it works.
 
code_language.skript:
swap item:
  uncolored name of event-item is "Stick of Truth"
  # add additional checks for mana and cooldown here
  cancel event
  loop players in radius 5 of player:
    loop-player isn't player
    add 10 to health of loop-player

Untested. Let me know if it works.
Will be testing soon.