Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

A script that can despawn my car while showing a timer?

Asked by 5 years ago

I am trying to despawn my car that shows a surfacegui timer until it despawns, but I can't script it so that it aborts the timer when it's in progress and it just despawns even if someone is sitting in the seat. Any help is appreciated.

0
In your timer script you can check if seat is occupied using: if seat.Occupant ~= nil and if it is occupied then just have the timer to show the same value it did before the check. If seat isn't occupied then just keep going with the timer. You also have to define seat first in order for this to work. g1o2r3d4a5n6 350 — 5y
0
Tried that. CarlPlandog 20 — 5y

Answer this question