while true do
local vehiclesFolder = workspace.Vehicles
local allVehicles = vehiclesFolder:GetChildren()
for i = 3, #allVehicles do
local car = allVehicles[i]
local info = car:FindFirstChild("Information")
local pitInfo = info and info:FindFirstChild("PitInfo")
local pitLimiter = pitInfo and pitInfo:FindFirstChild("PitLimiter")
if pitLimiter then
if pitLimiter.Value ~= false then
pitLimiter.Value = false
end
end
end
local timingSystem = workspace:FindFirstChild("Timing_System")
local cornerCutsFolder = timingSystem and timingSystem:FindFirstChild("CornerCuts")
if cornerCutsFolder then
local cutObjects = cornerCutsFolder:GetChildren()
for _, object in pairs(cutObjects) do
if object.Name ~= "Vehicles" then
object:Destroy()
end
end
end
task.wait(1)
end
Comments
xeno work?