1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Damage

Discussion in 'Skript' started by Szymek555, Aug 12, 2022.

Thread Status:
Not open for further replies.
  1. Szymek555

    Szymek555 Member

    Joined:
    Aug 12, 2022
    Messages:
    2
    Likes Received:
    0
    Hello, so I have a skript
    Code (Text):
    1.     loop all monsters in radius 10 of attacker:
    2.             if loop-entity is not attacker:
    3.                 set {damage_tako} to damage
    4.                 make the attacker damage loop-monsters by {damage_tako}
    But it spams "skript "damage.sk" repeated hisself infinitly" or something like that
    And it lags a lot
    So i tried to do this
    Code (Text):
    1. damage all monsters in radius 10 of attacker where [input is not attacker] by {damage_tako}
    And it works great BUT damage is caused by server/skript idk And not by attacker please help me
     
  2. ALebab

    ALebab New Member

    Joined:
    Jan 25, 2022
    Messages:
    6
    Likes Received:
    0
    try doing

    make attacker damage all monsters in radius 10 where [input is not attacker] by {damage_tako}
     
  3. Szymek555

    Szymek555 Member

    Joined:
    Aug 12, 2022
    Messages:
    2
    Likes Received:
    0
    thanks, but idk why the first mob which i hit got more dmg (screenshot here) upload_2022-8-18_12-21-52.png
     
Thread Status:
Not open for further replies.

Share This Page

Loading...