Detecting a player is sitting

How do i detect that a player is sitting so that I can play an animation?

I don’t understand what you’re trying to ask.

The humanid has a property sit and if its checked it means the player is sittin im pretty sure
https://developer.roblox.com/en-us/api-reference/property/Humanoid/Sit