Grabbing feature help

Me and my friends have been in the development of making a fighting game based on games like Mortal Kombat and Super Smash Bros Ultimate. None of us are scripters, and we don’t have the money to pay one, so we’ve decided to try to learn how to do them ourselves. In our fighting game we plan to make a grabbing feature that can hold the player in place for a second and then throw them.
As mentioned before, we aren’t scripters and are completely stumped about how to go about doing this.

We are trying to learn how to have a generic key like ‘f’ grab the player, play the animation, and do damage to them. If you want a reference to what I am talking about you can watch this video here.

1 Like

You could just anchor the player that you’re grabbing to stop them from moving. That along with the animation would make for a pretty convincing grab.

Well learning how to script would be great, but this would be pretty simple to make.

Use UserInputService to detect the input, use a remote event to tell the server that a player wants to grab. You would fire a raycast to and see if a valid target was hit, you play an animation if a valid target was found, you can sync it up with GetMarkerReachedSignal, then add a body mover to the target.

A weld may or may not be needed.

1 Like

Where would we put this script?