Hello, I am wondering, how would I run a function when a player is seated? I know I will need a script that will get the model of the player and need to check if Humanoid.Sit = true. Thanks!
Use GetPropertyChangedSignal.
1 | local human = player.Character |
2 | human:GetPropertyChangedSignal( "Sit" ):Connect( function () |
3 | if human.Sit = = true then |
4 | -- insert whatever you want to happen |
5 | end |
6 | end ) |