script.Parent.MouseButton1Down:connect(function()
if player.Character:findFirstChild("Hat") then
player.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=20372960"
else
local p = Instance.new("Hat", player.Character)
player.Character.Hat.HatTemplate="http://www.roblox.com/asset/?id=20372960"
end
I also want the hat on the characters head. And to my knowledge to make the hat the color I want, I upload a decal with the color I want.
