local humanoid = game.Players.LocalPlayer.Character.Humanoid

I am trying to make a humanoid:LoadAnimation, but I do not know how to reference a humanoid without a player model. So I thought if I can get the character then the humanoid would be inside, nope. Someone please help..

8 comments

0

Can you tell us what you are trying to achieve?

0

A loadanimation.

0

why do u not have the player object??

0

Because I want a sit animation, I made the animation with a dummy.

0

that makes no sense.. how does that relate to u not having the player object? are you making a custom seating system instead of using the roblox seats?

0

im using the roblox seats.

1

Seat.Occupant references the Humanoid directly.

0

it actually passes it as an argument but yeah basically