This Your old post was wrong.
Sit
is not a function of humanoid, it is a boolean that describes whether or not the player is sitting.
You may be thinking of SeatPart:Sit
which takes a Humanoid as it’s only argument.
@DiamondGenius7513 I believe you are thinking of the Humanoid:Sit()
function.
The way I personally would do this is using the aforementioned SeatPart:Sit
method followed by setting the humanoid’s JumpPower to 0 (prevent them from escaping the seat).
Here’s an example code:
local Players = game:GetService("Players")
local seat = -- Define your Seat Instance.
Players.PlayerAdded:Connect(function(player)
local character = player.Character or player.CharacterAdded:Wait()
seat:Sit(character.Humanoid)
character.Humanoid.JumpPower = 0
end)