I was wondering why this repeat loop does not work. Does the script repeat what's between repeat and until, and then move on to the rest of the script once the until statement is true?
player.Humanoid.Seated:Connect(function()
if player.Humanoid.SeatPart.Name == "GalleonSeat" then
repeat
print("Player is seated")
wait(0.1)
until player.Humanoid.Seated == false
print("Player is not sitting anymore")
end
end)
