Might have been just a simple error. Is the configuration in the script or a parent? If not, I would do;
Then, put shirts and pants in the script. Also, put your group ID in the if Playerz:IsInGroup(0) then
01 | function SpawnClothes(Playerz) |
02 | if Playerz:IsInGroup( 80738 ) then |
03 | for i,v in pairs (Playerz.Character:getChildren()) do |
04 | if v.className = = "Shirt" or v.className = = "Pants" then |
08 | Shirt = script.Shirt:clone() |
09 | Shirt.Parent = Playerz.Character |
10 | Pants = script.Pants:clone() |
11 | Pants.Parent = Playerz.Character |
15 | function PlayerRespawned(Player) |
17 | Player.Changed:connect( function (property) |
18 | if (property = = "Character" ) then |
24 | game.Players.ChildAdded:connect(PlayerRespawned) |