#Help me make this deal damage

1 messages · Page 1 of 1 (latest)

steep mulch
#
    if player's held item is {artifact::force}:
        if {ForceBeamMin::%player%} < 1:
            if {ForceBeamSec::%player%} < 1:
                set {ForceBeamMin::%player%} to 2
                set {ForceBeamSec::%player%} to 30   
                loop 50 times:
                    make 1 of sonic_boom 1 block infront and 1 block above player
                    make 1 of sonic_boom 1.5 block infront and 1 block above player
                    make 1 of sonic_boom 2 block infront and 1 block above player
                    make 1 of sonic_boom 2.5 block infront and 1 block above player
                    make 1 of sonic_boom 3 block infront and 1 block above player
                    make 1 of sonic_boom 3.5 block infront and 1 block above player
                    make 1 of sonic_boom 4 block infront and 1 block above player
                    make 1 of sonic_boom 4.5 block infront and 1 block above player
                    make 1 of sonic_boom 5 block infront and 1 block above player
                    make 1 of sonic_boom 5.5 block infront and 1 block above player
                    make 1 of sonic_boom 6 block infront and 1 block above player
                    make 1 of sonic_boom 6.5 block infront and 1 block above player             
                    make 1 of sonic_boom 7 block infront and 1 block above player```  

can someone help me make it deal damage to the player infront of the user
steel orbit
#

holy please loop