How to make a dummy sit

My brain is fried, I’ve been coding for probably 4-5 hours now. I’ve been googling how for about 30-40 minutes, and no luck.

ALL I NEED TO KNOW:
How do you make a dummy sit, is it built in already? Where do I find it? And if there’s already a reference for this could someone please please hand me the link, much appreciated.

I put this under scripting support because the NPC teleports to a seat and then should sit next to the player.

VehicleSeat:Sit

Ah right, forgot to elaborate on this, the dummy is technically sitting but the animation doesn’t execute like a players.

That is because the seating animation is not an artifact of a Humanoid being sat, but a feature of the “Animate” script included in players’ characters. You’ll need port part of that code over to the NPC to play the animation when they’re seated

2 Likes

That would work, alternatively you could just make your own animation, might be more convenient

1 Like

It’s not so much the animation but the code used to play it

1 Like

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