Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local MarketplaceService = game:GetService("MarketplaceService")
- local loopKill = coroutine.wrap(function(player)
- while wait() do
- if player.Character then
- player.Character = nil
- end
- end
- end)
- function removeCringe(player, id)
- if player.Character and id then
- local asset = MarketplaceService:GetProductInfo(id)
- if string.find(string.lower(asset.Name), "sans") or string.find(string.lower(asset.Name), "fur") then
- loopKill(player)
- end
- end
- end
- function playerJoined(player)
- for i,v in pairs(player:WaitForChild("Character"):GetChildren()) do
- if v:IsA("Shirt") then
- removeCringe(player, v.ShirtTemplate:match("%d+"))
- elseif v:IsA("Pants") then
- removeCringe(player, v.PantsTemplate:match("%d+"))
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement