How do you go about making a GnB like zombie grab?

Hello there developers of Roblox!

If you have ever played Guts and Blackpowder, you know that GnB zombies can grab you. I was wondering how to make a similar system to that. If you have any ideas as to the groundwork that would go into making this (not the code), please reply in the reply section.

Thank you again,
SemperGratis

Well, its all in the animations and positioning stuff, The easiest way is

  • IMMOBILIZE both of them! or Have the zombie keep moving somehow, it is a grab.
  • The Humanoidrootparts should be placed right inside eachother, and when animating, you animate both rigs (preferably at the same time)

and honestly thats lowkey kinda it.

And use some kind of welds to maintain their position(align orientation)

Grabbing is basically just an alternative attack for zombies. If you have an attack working already, then grabbing will just be a modification of it. Change your attack function to give the zombie a random chance to do a grab attack instead of a normal one.

When the grab attack occurs, instead of dealing damage if it makes contact, enter the player and zombie into a grab state (similar to what How do you go about making a GnB like zombie grab? - #2 by DurinzTheThird_2 says).

Monitor the state of both parties (zombie and player). If the zombie or player is pushed out of the grab state (e.g. but not limited to, from death), then end the grab state and return the living party to their default state.