Sculk Gem

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

Yushaa

Member
Oct 19, 2023
48
2
8
26
An echoshard named &9sᴄᴜʟᴋ ɢᴇᴍ when right clicked shoots a sonic boom that does 7 hearts of damage and has a 250 second cooldown and is obtainable by a command
 
Try this
AppleScript:
command givegem <player=%player%>:
    permission: *
    trigger:
        set {_d} to echo shard of mending 1 with all item flags named "&9sᴄᴜʟᴋ ɢᴇᴍ"
        give arg unbreakable {_d}

on right click:
    name of 1 of player's tool contains "&9sᴄᴜʟᴋ ɢᴇᴍ"
    player has player's tool on cooldown:
        stop
    loop blocks between block 1 infront of player and block 20 infront of player:
        make 10 of sonic boom at loop-block
        loop entities in radius 1.5 of loop-block:
            damage loop-entity by 7 if loop-entity is not player
    set item cooldown of player's tool for player to 250 seconds