Jump to content
  • 0

I Need To Make A AoE Damage Skript With On Right Click And If name of players tool contains "&c&lRoyal&7&lScepter":


joeergfrgasrgreh

Question

6 answers to this question

Recommended Posts

  • 0

I have a solution for that:

 

on rightclick holding sword:
    if name of player's tool is "&c&lRoyal &7&lScepter":
        play mob spawner flames at position of player to the player

 

i don't know what you mean with On damage skript because it can not be at the same time

Edited by nicoalla
Link to comment
Share on other sites

  • 0

co

5 hours ago, nicoalla said:

I have a solution for that:

 

on rightclick holding sword:
    if name of player's tool is "&c&lRoyal &7&lScepter":
        play mob spawner flames at position of player to the player

 

i don't know what you mean with On damage skript because it can not be at the same time

could you make it so then if people touch those type of particles they recieve damage. They get damaged 1 heart every 3 seconds

Owner of:

AuxMines

AuxMines is a unique Box Mining server. We have Super Hero ArmourCustom Enchants, Cool BossesChill Community, and Custom Drops  all in one server!

We aren't fully released, so if you wanna drop by and give us some suggestions that would be cool.

 

Link to comment
Share on other sites

  • 0

i have a solution for the sword. It's not exactly what you wanted but it works like you want.

Explanation: I coded, that while a there are the flames around the player, every enemy get's damaged by a range of 3 and one heart every 3 minecraft ticks. You see, they don't get damaged by the particles but it works the same.

You can't make a skript, tht knows when somethings hits the particles, because particles don't have a hitbox.

 

on rightclick holding sword:
    if name of player's tool is "&c&lRoyal &7&lScepter":
        play mob spawner flames at position of player to the player
        set {makedamage} to true
        wait 1 second
        set {makedamage} to false
every 3 ticks:
    loop all players:
        if {makedamage} is true:
            damage all playersin radius 3 of loop-player where [input is not loop-player] by 2

Edited by nicoalla
Link to comment
Share on other sites

  • 0
On 2/25/2022 at 4:36 PM, joeergfrgasrgreh said:

nicolla i want to make a skript that generates particles around the player if a different player touches/goes in a radius they get damaged

 

I made that you can resume and stop the flames by command:

 

on join:
    set {show} to true
every 5 ticks:
    loop all players:
        if {show} is true:
            show spawner flames at position of loop-player
            set {particles} to true
        
        
        if {particles} is true:
            damage all rabbits in radius 3 of loop-player where [input is not loop-player] by 2

command /resumeflames:
    trigger:
        set {show} to true
command /stopflames:
    trigger:
        set {show} to false
        set {particles} to false

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...