Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to add hats to player when they join the game?

game.Players.PlayerAdded:connect(function(Player)
    Player.CharacterAdded:connect(function(Character)
        if Player:isInGroup(695317) then
            Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=231994962"
            Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=547993930"
        end
    end)
end)

I'd like to add a hat to all players when they join the game.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.