Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a player wear a shirt, pants and hat(A model)?

Asked by 8 years ago

Im trying to make a player wear a shirt, pants and hat ( a model ), he should wear them when he join, and after he die. Actually I have this:

RegShirt = game.ServerStorage.Uniform.Clothes.RegShirt
game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        if plr:GetRankInGroup(2772068) > 100 then
            player.ClearCharacterAppearance()

            player.LoadCharacterAppearance(RegShirt) 
        end
    end)
end)

it works for the shirts and pants, but once I try with the hats, it havent work. Thanks for the help.

Answer this question