Minecraft – how to break a block using commands

minecraft-java-edition

So what I'm looking for is a command that makes a block look like it's being mined by a player. so not /setblock or /fill, which makes the block disappear instantly.
for example, in Hypixel's Blocking Dead when you shoot a block with a gun, it looks like it's being broken. It could be that they use a texture pack for the blocks breaking, but it doesn't seem likely.
I have not tried to do this myself, but have searched for awhile.
If anyone knows the answer, or a way to help, please tell me.
Edit: thank you guys for the responses, and thanks for confirming what I thought

Best Answer

Here's the thing.

Popular servers like Hypixel and Mineplex don't use Vanilla Minecraft commands. They actually use something called plugins which are actually programmed with Java. Unfortunately, I couldn't find anything on the internet where you can actually do this with commands, but Hypixel definitely used plugins for this game. If you're trying to emulate what Hypixel is doing, I'm afraid I have to break the news that you probably can't (or it would be really, really hard to) do what you're wanting to do.

There may be a solution, but I am alerting you of what Hypixel does