View difference between Paste ID: daHVJKDx and 81jn15ZF
SHOW: | | - or go back to the newest paste.
1
local m = game.Workspace
2
3
while true do
4
wait(0.01)
5
for i,v in pairs(m:GetChildren()) do
6
	if v.ClassName == ("Part") then
7
		v.Anchored = true
8
		v.Name = ("frozen")
9
	end
10
	if v.ClassName == ("Script") then
11
		v:Destroy()
12
	end
13
	if v.ClassName == ("Model") then
14
		for i,v in pairs(v:GetChildren()) do
15
			if v.ClassName == ("Part") then
16
				if v.Parent.Name ~= ("robloxandtyler") then
17
				v.Anchored = true
18-
				local clone = v.Parent:Clone()
18+
19-
				clone.Parent = game.Workspace
19+
20
			if v.ClassName == ("Script") then
21
					if v.Parent.Name ~= ("robloxandtyler") then
22
						v:Remove()
23
					end
24
				end
25
			end
26
		end
27
	end
28
end