Does Sit() still work

Hello, I am trying to make the character sit in a specific seat and I’ve found older devforum posts that work but its not working for me. I’m getting the error: Sit is not a valid member of Model “Workspace.speedb0y1290”

local function findSeat(plr)
	
	for _, v in pairs(script.Parent.Couch.Seats:GetChildren()) do
		local Character = plr.Character or plr.CharacterAdded:Wait()

		if not v.Occupant then
			plr.Character:Sit()
			print(v.Occupant)
			print(plr.Characther)
		end
	end
	return nil
end

you’d need to do v:Sit(plr.Character.Humanoid)

you have to call the function on a seat.

seat:Sit(humanoid)

It was teleporting the seat to the character but I fixed that by doing

if not v.Occupant then
			Character.HumanoidRootPart.Position = v.Position + Vector3.new(0, 10, 0)
			v:Sit(Character.Humanoid)
		end

Thanks

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