Warden sonic boom item

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

Acidic

Member
Feb 12, 2024
12
0
1
24
Hey there,

Can someone write me a skript that directly mimics the warden sonic boom attack? My only specific request is that in order to actually use the sonic boom its:


Code:
on right click:
    if player is holding diamond sword named "&bSonic Boom"
#   ... insert sonic boom code here

Thanks!
 
Code:
on right click:
if player is holding diamond sword named "&bSonic Boom":
set {_radius} to 5 # Radius of the sonic boom effect (adjust as needed)
set {_power} to 3 # Power of the explosion (adjust as needed)
        set {_location} to location of player
        create explosion at {_location} with power {_power} affecting {_radius} blocks
play sound "entity.generic.explode" at {_location} with volume 1 and pitch 1
send "&b*BOOM!* You unleashed the Sonic Boom!" to player

  • on right click: Listens for when a player right-clicks.
  • if player is holding diamond sword named "&bSonic Boom": Checks if the player is holding a diamond sword named "&bSonic Boom".
  • create explosion: Creates an explosion at the player's location with a specified power (_power) affecting a radius (_radius) of blocks.
  • play sound: Plays an explosion sound at the location of the explosion.
  • send message: Notifies the player that they have unleashed the Sonic Boom.
 
Hey there,

Can someone write me a skript that directly mimics the warden sonic boom attack? My only specific request is that in order to actually use the sonic boom its:


Code:
on right click:
    if player is holding diamond sword named "&bSonic Boom"
#   ... insert sonic boom code here

Thanks!
oAcidic you arent safe. i remember you from levelsgen.