local seat = workspace.Seats.Seat10
seat.Changed:connect(function(property)
if property ~= 'Occupant' then return end
local occupant = seat.Occupant
if occupant then
local character = occupant.Parent
local player = game.Players:GetPlayerFromCharacter(character)
local Humanoid = occupant.Parent:WaitForChild("Humanoid")
if player then
Humanoid.JumpPower = 0;
wait(180) -- however long the round is
Humanoid.JumpPower = 50
else
print("Someone left the seat")
end
end)
COMMUNITY QUESTION
Making it so player can't jump out of the seat once they are in it?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You're missing an end. Add one above the "end)".
Use Advanced Objects and search Seat instead of a script like this.