I cant force player to jump when sit on a seat

I want to kick player out of seat when they sit if other seat’s occupant is nil. But the player does not jump. It prints seatoutside.Occupant.Parent and seatoutside.Occupant on output but does not make player jump

local seatoutside = script.Parent
local seatinside = script.Parent.Parent.SeatInside

seatoutside:GetPropertyChangedSignal("Occupant"):Connect(function()
	print("property changed")
	if seatoutside.Occupant then
		print("seat occupant")
		if script.Parent.Parent.SeatInside.Occupant == nil then
			
			print(seatoutside.Occupant)
			print(seatoutside.Occupant.Parent)
			seatoutside.Occupant.Parent.Humanoid.Jump = true
			
			
		end
		
	end
	
end)

There is information on how to get a character off a seat.

1 Like

Hello there,

Have you tried removing the seat-weld instead?
This should have the same effect, you might want to give it a shot.

  • DosenSuppe

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