I tried making a script where a person enters the game he receives certain clothing. It seems to work in solo but not the actual game....
char = game.Players
game.Players.PlayerAdded:connect(function(p)
repeat wait() until p.Character -- Wait for a character
if not char:FindFirstChild("Shirt") then -- If they don't have a shirt object give them one
Instance.new("Shirt",char).Name = "Shirt"
end
if not char:FindFirstChild("Pants") then -- If they don't have a pants object give them one
Instance.new("Pants",char).Name = "Pants"
end
p.Character:WaitForChild("Shirt").ShirtTemplate = "http://www.roblox.com/asset/?id=179631998"
p.Character:WaitForChild("Pants").PantsTemplate = "http://www.roblox.com/asset/?id=179650451"
end)
--Thanks buddy for helping!
Please help!

2 comments
It only works in solo player
Bump