Is it possible to cancel sound events?

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Adrihun

Member
Feb 1, 2017
368
6
0
I have made a simple sound script yesterday, what it does is if the player has diamond armor on, and they get hit with an iron sword, 'mob.blaze.hit' sound plays for the attacker. Is there a way to cancel the player hit sound when this 'mob.blaze.hit' sound plays?
[doublepost=1491684518,1491683496][/doublepost]bump?
Is there an addon that cancels the player hurt sound?
 
You could listen for outgoing sound packets using Skellett or MundoSK, try to check which sound is playing, and cancel the packet if it's playing the player hurt sound.
 
  • Like
Reactions: Adrihun
Status
Not open for further replies.