Hi, I have trouble making a VIP door with a Shirt or T-shirt. Possible, without the shirt or T-shirt, the VIp (POSSIBLY) will get destroyed and people can go in for free. But the problem is, How would I design the shirt or t-shirt to go match the VIP door and go inside?
COMMUNITY QUESTION
How to make a VIP door with a Shirt or T-shirt?
1 answer
To find the ID, make sure you're wearing the shirt/tshirt. Go into Studio, click New (Or edit a place), Tools>Test>Play Solo , Open up Explorer>Workspace>Player1>Shirt> OR for tshirt: Workspace>Player1>Shirt Graphic
Tshirt script:
tshirtid = "http://www.roblox.com/asset/?id="--fill in the numbers after the equal sign
script.Parent.Touched:connect(function(hit) --this goes inside the brick
if hit.Parent:findFirstChild("Humanoid") then
if hit.Parent:findFirstChild("Shirt Graphic") then
if hit.Parent["Shirt Graphic"].Graphic == tshirtid then
script.Parent.CanCollide = false
script.Parent.Transparency = 0.7
wait(0.3)
script.Parent.CanCollide = true
script.Parent.Transparency = 0
else
if hit.Parent:findFirstChild("Humanoid") then
hit.Parent:BreakJoints()
end
end
end
end
end)
Shirt script:
shirtid = "http://www.roblox.com/asset/?id="--fill in the numbers after the equal sign
script.Parent.Touched:connect(function(hit) --this goes inside the brick
if hit.Parent:findFirstChild("Humanoid") then
if hit.Parent:findFirstChild("Shirt") then
if hit.Parent.Shirt.ShirtTemplate == shirtid then
script.Parent.CanCollide = false
script.Parent.Transparency = 0.7
wait(0.3)
script.Parent.CanCollide = true
script.Parent.Transparency = 0
else
if hit.Parent:findFirstChild("Humanoid") then
hit.Parent:BreakJoints()
end
end
end
end
end)
-Thank me by accepting this answer/bumping up my reputation!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Have you tried anything yet? You should post your code and be more specific about what concepts you're having trouble with. Asking for someone to make it for you is not the point behind Q&A.
Yes I did tried, and if I mean like I want someone to make it for me, I didn't mean that. i just needed a little help.