Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to know when a Player is seated?

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!

2 comments

0

do u still have that poo

0

i got you

1 answer

✓ Accepted answer

Use GetPropertyChangedSignal.

local human = player.Character
human:GetPropertyChangedSignal("Sit"):Connect(function()
	if human.Sit == true then
		-- insert whatever you want to happen
	end
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.