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

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

Asked by
Kegani 31
7 years ago
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

Log in to vote
0
Answered by 7 years ago

Take a look on my awnser in this question.

0
Ty Kegani 31 — 7y
Ad

Answer this question