Run it
Copy the script and paste it into your executor.
local SharedWorkspace = workspace:WaitForChild("_SharedWorkspace")
local Vehicles = SharedWorkspace:WaitForChild("_Vehicles")
local function nukeSound(obj)
pcall(function()
obj.Volume = 0
obj.Playing = false
obj:Stop()
end)
pcall(function()
obj:Destroy()
end)
end
local function cleanVehicle(vehicle)
local effects = vehicle:FindFirstChild()
effects
soundParts = effects:()
soundParts
_, part (soundParts:())
_, obj (part:())
obj:()
(obj)
part.ChildAdded:((obj)
obj:()
(obj)
)
soundParts.ChildAdded:((part)
()
_, obj (part:())
obj:()
(obj)
part.ChildAdded:((obj)
obj:()
(obj)
)
)
(vehicle)
(vehicle)
()
(vehicle)
()
(vehicle)
_, vehicle (Vehicles:())
(vehicle)
Vehicles.ChildAdded:((vehicle)
(vehicle)
)
- Страховочный цикл
(()
_, vehicle (Vehicles:())
effects = vehicle:()
soundParts = effects effects:()
soundParts
_, part (soundParts:())
_, obj (part:())
obj:()
(obj)
()
)
()no sound of cars