I want this script so players touch the mannequin and it puts the cloths on them this is mt script.
shirtid = "http://www.roblox.com/asset/?id="
pantsid = "http://www.roblox.com/asset/?id="
script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid")then
char = hit.Parent
if char:findFirstChild("Shirt") then
char.Shirt.ShirtTemplate = shirtid
else
a = Instance.new("Shirt", char)
a.Name = "Shirt"
a.ShirtTemplate = shirtid
end
if char:findFirstChild("Pants") then
char.Pants.PantsTemplate = pantsid
else
b = Instance.new("Pants", char)
b.Name = "Pants"
b.PantsTemplate = pantsid
end
end
end)
It wont work though.

4 comments
You can try to use rbxassetid:// instead of http://www.roblox.com/asset/?id=
I have never been able to instantly put on clothes by touching a mannequin. I don't think you should expect that kind of magic either.
You could also just put the number instead... it will automatically format it.
@SummerEquinox actually I'm pretty sure that behavior only takes effect in studio.