View difference between Paste ID: 0gcvzM87 and S8nMVpmk
SHOW: | | - or go back to the newest paste.
1
local Players = game:GetService("Players")
2
local MarketplaceService = game:GetService("MarketplaceService")
3
4
local loopKill = coroutine.wrap(function(player)
5-
	print("Loop: ".. player.Name)
5+
6
		if player.Character then
7
			player.Character = nil
8
		end
9
	end
10
end)
11
12
function removeCringe(player, id)
13
	if player.Character and id then
14-
	print("Checking: ".. player.Name)
14+
15
		if string.find(string.lower(asset.Name), "sans") or string.find(string.lower(asset.Name), "fur") then
16
			loopKill(player)
17
		end
18-
			print("removeCringe: ".. player.Name)
18+
19
end
20
21
function playerJoined(player)
22
	for i,v in pairs(player:WaitForChild("Character"):GetChildren()) do
23
		if v:IsA("Shirt") then
24
			removeCringe(player, v.ShirtTemplate:match("%d+"))
25-
	print("playerJoined: ".. player.Name)
25+
26
			removeCringe(player, v.PantsTemplate:match("%d+"))
27
		end
28
	end
29
end