View difference between Paste ID: 5w0LWHDW and nG9SjFyb
SHOW: | | - or go back to the newest paste.
1-
UserPart=game.Players.ritemare --Replace rfggrt with your!!
1+
UserPart=game.Players.zombieslayerwtf --Replace rfggrt with your!!
2-
User=game.Players.ritemare.Character --Replace rfggrt with your!!
2+
User=game.Players.zombieslayerwtf.Character --Replace rfggrt with your!!
3
4
--Created by rfggrt--
5
function Chat(msg)
6
	
7
	if msg=="clean" then
8
	local d = game.Workspace:GetChildren() 
9
	for i=1, #d do 
10
		if (d[i].className == "Model") then
11
		  if (d[i].Archivable == true) then
12
	 	 	d[i]:Remove()
13
			end
14
      end
15
	end
16
	local d = game.Workspace:GetChildren() 
17
	for i=1, #d do 
18
		if (d[i].className == "Message") then
19
	 	 	d[i]:Remove()
20
      end
21
	end
22
	local d = game.Workspace:GetChildren() 
23
	for i=1, #d do 
24
		if (d[i].className == "Part") then
25
	 	 	d[i]:Remove()
26
27
      end
28
	end
29
	local d = game.Workspace:GetChildren() 
30
	for i=1, #d do 
31
		if (d[i].className == "Seat") then
32
		  if (d[i].Archivable == true) then
33
	 	 	d[i]:Remove()
34
			end
35
      end
36
	end
37
	local d = game.Workspace:GetChildren() 
38
	for i=1, #d do 
39
		if (d[i].className == "SelectionPartLasso") then
40
	 	 	d[i]:Remove()
41
      end
42
	end
43
	local d = game.Workspace:GetChildren() 
44
	for i=1, #d do 
45
		if (d[i].className == "SpawnLocation") then
46
	 	 	d[i]:Remove()
47
      end
48
	end
49
	local d = game.Workspace:GetChildren() 
50
	for i=1, #d do 
51
		if (d[i].className == "Tool") then
52
	 	 	d[i]:Remove()
53
      end
54
	end
55
	local d = game.Workspace:GetChildren() 
56
	for i=1, #d do 
57
		if (d[i].className == "TrussPart") then
58
	 	 	d[i]:Remove()
59
      end
60
	end
61
	local d = game.Workspace:GetChildren() 
62
	for i=1, #d do 
63
		if (d[i].className == "WedgePart") then
64
	 	 	d[i]:Remove()
65
      end
66
	end
67
	local d = game.Workspace:GetChildren() 
68
	for i=1, #d do 
69
		if (d[i].className == "Hat") then
70
	 	 	d[i]:Remove()
71
      end
72
	end
73
	local d = game.Workspace:GetChildren() 
74
	for i=1, #d do 
75
		if (d[i].className == "CornerWedge") then
76
	 	 	d[i]:Remove()
77
	
78
      end
79
	end
80
end	
81
end
82
UserPart.Chatted:connect(Chat)
83
--Created by rfggrt--
84
--Do Not Copy and recreate this script--
85
--Ask to ©copyright this script--