Can you make a player sit on a seat as soon as they join the game?

Basically what I mean by this is, not like when they join they sit in the seat as that can show them still standing and then sitting, but like they are immediately sitting in a seat as soon as they join, is this possible?

2 Likes

Maybe you can try:

local seats = --Add a table of the seats you want the player to sit on
game.Players.PlayerAdded:Connect(function(plr)
   local char = plr.CharacterAdded:Wait()
   local hum = char:WaitForChild("Humanoid")
   local chosenseat = seats[math.random(1, 2)] --replace 2 with the number of seats in the table
   chosenseat:Sit(hum)
end)

script in server script service

Won’t work.

Seats require :Sit()

Example:

game.Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
         task.wait(1)
         local h = Character.Humanoid
         game.Workspace.Seat:Sit(h)
    end)
end)
7 Likes

Yeah that works for what I needed, thanks!

1 Like

Set the CFrame of the persons HumanoidRootPart to the seats CFrame