local lp = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "CarDeleterUI" screenGui.Parent = game.CoreGui local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 150, 0, 50) toggleButton.Position = UDim2.new(0, 20, 0, 20) toggleButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) toggleButton.TextColor3 = Color3.new(1, 1, 1) toggleButton.Font = Enum.Font.SourceSansBold toggleButton.TextSize = 22 toggleButton.Text = "Delete Cars: OFF" toggleButton.Parent = screenGui local deleting = false toggleButton.MouseButton1Click:Connect(function() deleting = not deleting toggleButton.Text = deleting and "Delete Cars: ON" or "Delete Cars: OFF" if deleting then task.spawn(function() while deleting do local cars = {} for _, v in pairs(workspace:GetDescendants()) do if v:IsA("Model") and v.Name:lower():find("car") and not v.Name:lower():find(lp.Name:lower()) then table.insert(cars, v) end end if #cars > 0 then local target = cars[math.random(1, #cars)] game.ReplicatedStorage.DeleteCar:FireServer(target) end task.wait() end end) end end)