I’m trying to kick a player out of a seat if they are not whitelisted. Any ideas how i would do this?
In the Humanoid, there is the ‘Sit’ property, set it to false to get them out of their seat. You can also jump the player, move player HumanoidRootPart, destroy ‘SeatWeld’.
2 Likes
How would I jump the player?
seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat.Occupant == nil then
warn("Seat Status Updated: No One Is Sitting.")
end
if seat.Occupant ~= nil then
warn("Seat Status Updated: "..seat.Occupant.Parent.Name.." is now sitting.")
end
end)
This is my script sofar
1 Like
You could jump them in-game. Did you set the ‘Sit’ property to false?
2 Likes
Humanoid.Sit = false
Makes the player jump
1 Like