So, I just went on my fixed PC because the monitor was broken. Hello, I am trying to make code where if the car is not in use it will wait 10 seconds, then disappear. Except, it still disappears when the car is not in use. I found this out when I was testing my Renault.
local car = script.Parent
local seat = script.Parent.DriveSeat
-- change the car and seat variables if they are different in your case.
seat.Changed:connect(function()
if not seat.Occupant then
wait(10)
car:Destroy()
end
end)

2 comments
Thanks.
No problem!