Need help finding the Occupant's name

Why are you checking the occupant every frame instead of doing

local seat = script.Parent

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
    if seat.Occupant then
        print(seat.Occupant.Parent.Name)
    end
end
4 Likes