Slide Ability just like FE2?

[This is for my FE2 fangame!]
Hello! I want a slide ability just like FE2, I have searched on YT but found nothing I want. I don’t want to use a free model.

The FE2 slide looks like this btw:

Don’t worry about mobile support, I think I can handle that.

2 Likes

To create a slide ability, you will need either a BodyMover (which they are deprecated, but can still be used), or LinearVelocity, to move the player.

For BodyMovers, it is pretty basic. Once we press the slide abilty key, we would just give the player a BodyVelocity, then use debris:AddItem(object, time) to remove the object from the workspace in a specific amount of time.

The current method that Roblox wants us to use, would be LinearVelocity, which is a little bit more complicated than BodyVelocity itself. With LinearVelocity, we have to add an attachment to the object we are putting the velocity on, and then attach the attachment to the LinearVelocity.

Here is a topic that should help you with what you are trying to do;
( This is a topic with BodyMovers, )

Resources:

etc;

If you are going to be making a slide animation (well it obviously seems like you are), then while animating, please don’t drag the character’s torso down while animating the slide, instead just use HipHeight to make the player get down to the ground. What I mean is create the slide ability while it is above the ground, do not drag it down to the ground while animating it in studio.

If you make it where the slide animation is dragged down to the ground, then it would decrease the chances of going through small obstacles, since your rootpart would pretty much just block everything. As said, if you want your player to go completely under a small space of an area, use HipHeight, which is located inside of the Humanoid, and decrease it until the character has at least some contact with the ground.

2 Likes

Just realized, that was my problem. I was dragging the animation to the ground, I do have a slide script but the character was all glitchy when the animation started, and that was the problem, and thought I had to rework it, hence why I made this topic. Thank you so much and I will make the rest!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.