I want to make it so when a Player touches a door, it puts a certain Shirt and Pants on them. Does anyone know how to do this?
I'm not 100% sure this would work, but it goes along the lines of this. You can test it out anyways.
To find out the shirt ID of your shirt/pants (In case the ID in the URL doesn't work), do this.
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)
-Thank me by accepting this answer/bumping up my reputation!