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

Seat:Sit() won't actually seat the player, it teleports them to the seat but they cant drive?

Below is part of my round system, this is just the part for seating all the players in their cars, but it wont work, not sure why.

for i=1,12 do
		local plr = plrs[i]
		if plr ~= nil then
			local char = plr.Character
			local n_car = game.Lighting.Car_d:Clone()
			n_car.Seat.MaxSpeed = 0
			n_car.Parent = workspace
			n_car:SetPrimaryPartCFrame(spawns[i].CFrame)
			
			n_car.Seat:Sit(plr.Character.Humanoid)
			
		end
		wait(1/12)
	end

3 comments

0

no errors ^

0

Is the car anchored and properly welded?

0

yes, it works fine when you jump into it just the :Sit() wont work

1 answer

✓ Accepted answer

Ok, so what seems to be happening is, that your trying to sit the humanoid down to fast. You have to remember, that the character doesn't always spawn in when the player does (If that's what your trying to do.), correct me if i'm wrong. Anyways, try adding a wait between SetPrimaryPart, and Sit.

Hope This Helped!

1 comment

0

seems to be working! thanks!

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