Force Stand from Seat

I’m trying to make players automatically stand when they sit in a seat. I have no clue why this isn’t working, I’ve tried debugging so many times.

local Seat = script.Parent

Seat:GetPropertyChangedSignal("Occupant"):Connect(function()
	if Seat.Occupant then
		local humanoid = Seat.Occupant

		if humanoid then
			humanoid.Sit = false
		end
	end
end)
2 Likes

try by changing the state of the humanoid:

humanoid:ChangeState(Enum.HumanoidStateType.PlatformStanding) --theres more types of states if you dont think platform standing works the best

I believe the intended way to “unsit” a Humanoid is by destroying the “SeatWeld” thats created in the Seat instance.

2 Likes

In case you’re having problems with sitting in the seat again after this has happen once… You could try; humanoid.Sit=false humanoid.Jump=true humanoid.Jump=false

I ran into that problem with removing the SeatWeld in one of my programs, so went to that.

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