Seat Script Problem

HOLY SHIT I’M SO DUMB I FORGOT TO ADD .VALUE NEXT TO “[‘Can Sit’]”.

1 Like

this should work

script.Parent:GetAttributeChangedSignal("Occupant"):Connect(function(occupant)
    local Player = game.Players:GetPlayerFromCharacter(occupant)
    if Player and not Player["CanSit"].Value then
        occupant:WaitForChild("Humanoid").Jump = true
    end
end)
1 Like

Thanks for trying it was just a matter of adding “.Value”.
It finally worked!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.