subtract from a heal variable at direction of the player or something

  • 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.
Feb 24, 2017
191
7
0
23
foroendertheth.foroactivo.com
code_language.skript:
on rightclick:
    held item of the player is a iron sword named "&bSnow":
        if {ab.delay.%player%} is true:
            stop
        else:
            set {ab.delay.%player%} to true
            loop players in direction 8 of the player:#not radius 8 is like 8 blocks in direction of the player
                subtract 40 from {ab.heal.%loop-player%}
 
Status
Not open for further replies.