How Detect if player wear a specific T-Shirt When he Touch a Brick [Roblox - LUA]
<p>Like in the title, i am looking for a script that can do that. If someone can repair this script I'll be happy :D</p>

<pre><code>function onTouched(part)
local h = part.Parent:findFirstChild("Humanoid")
if h ~= nil then
    if player.parent.torso.roblox.Texture == "https://web.roblox.com/Bloxxer-item?id=1028595" then
        script.Parent.Check.Transparency = 0
        wait (2)
        script.Parent.Check.Transparency = 1
    end
end
</code></pre>

<p>end
script.Parent.Touched:connect(onTouched)</p>