How can I make a counter ability like The Strongest Battlegrounds?

Hello I was wondering how do I could make a counter ability like this.

https://gyazo.com/402205887bf37927a53cdcf80bb365e8

Help would be much appreciated.

3 Likes

Sorry for a late reply however, there are a few ways you could do this,

Whenever the move is used, you could make a value and insert it into the player, and then whenever someone hits them, you could check if they have said value, and then do the counter

Or you could use attributes,

To sum up any confusion you might have, essentially, Whenever the player hits said person who is doing the counter, your combat system can check if they have said Value/Attribute and then do a script that counters.

3 Likes

You can achieve this by making a Bindable Event

  • Basically create it when the Counter Move starts in the Player’s Character
  • The attacker’s hitbox should detect it by making it search for a Bindable Event inside the Attacked’s Character.
  • Detect the Bindable Event and then :Fire()

and then make it so they cant attack you?

Basically how I would go about it is,

  • Get the Player Input to do the move ( Keybinded with UserInputService, or a Tool )
  • Once this is done, you can stop the player from moving by setting there walkspeed to 0, and Play an Animation.
  • And then add the Attribute or Value to the Player with Instance.new()

The main part is that with this, if you have a script that lets players punch when they m1 for example, You need to run a check to see if the value is there.

Please inform me what kind of system your using and I can better help you,
Examples:

  • M1
  • Tools

I plan on using tools I just wanted to know this so that I can use it in the future