I want for all players that join, they will have the hat that I put in the id below.
I have tryed other things but cant seem to find the problem..
game.Players.PlayerAdded:connect(function(player) repeat wait()until player.Character local hatId=0000000 --Hat ID if player.Name=="name"then hatId=0000000 --Hat ID end local hat = game:service("InsertService"):LoadAsset(hatId):GetChildren()[1] hat.Parent=player.Character end)