How would I make this elevator-type part?

I’ve been trying to make this for a while now, I’ve tried eveything from linear velocity to making the player jump. Does anyone have any suggestions or help?
Heres a video:


thank you for any help!

Id think this would be just applying velocity or some forced movement of changing the players JumpingState.

I think you have to use LinearVelocity, but I don’t know how I would apply a constant force then stop it.

You can use an event called Part.TouchEnded to detect when the player is no longer touching/interacting with the part.

I’ve tried that, except it’s really buggy so I’ve been trying to use :GetPartsInParts()

Let me go mess with it and ill get back to you.

Messing with it now and I realized you’d have to use HumanoidRootPart.Velocity to get what you want

I’ve tried using that before but it just kinda breaks.

Let me test it out then ill let you know

Honestly. I am not entirely sure. What you could do tho is just constantly change the players state.
Example:

Character:FindFirstChildOfClass('Humanoid'):ChangeState("Jumping")

Hm, thank you for your help. I will look into it.

When applying velocity on a player you would have to do it client sided I think so try that when using getpartsinpart

Aka do hit detection and applying force on the client side

No. Velocity is Server and Client sided.

1 Like

You could do It on server but I’m pretty sure that since network ownership is on the player it would be more smooth and responsive

I think I’ve gotten it to work by using LinearVelocities, I did happen to use the :Touched() function, but I added a debounce so it would only work when it has seen that :TouchEnded() has happened. Thank you for all your help :heart:

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