View difference between Paste ID: DQZ13uvZ and 7yyjm3KV
SHOW: | | - or go back to the newest paste.
1-
wait()
1+
wait(0)
2
script.Parent = game.Lighting
3
local function scann(part)
4
	for i,v in pairs(part:GetChildren()) do
5
		scann(v)
6
		if v.ClassName == "Part" then
7
			v:destroy()
8
		end
9
		if v.ClassName == "Humanoid" then
10
			v.Health = 0
11
		end
12
		if v.ClassName == "Seat" then
13
			v:destroy()
14
		end
15
		if v.ClassName == "SpawnLocation" then
16
			v:destroy()
17
		end
18
		if v.ClassName == "MeshPart" then
19
			v:destroy()
20
		end
21
		if v.ClassName == "Sound" then
22
			v:destroy()
23
		end
24
	end
25-
end
25+