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)
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.