My change clothes Gui isn't Working, What Needs to be Changed?
Asked by
7 years ago Edited 7 years ago
The script is not changing the players clothing, its a local script in a text button.
05 | button.MouseButton 1 Click:conect( function () |
06 | player = game.Players.LocalPlayer |
07 | char = player.Character |
08 | if char:findFirstChild( "Shirt" ) then |
09 | char.Shirt.ShirtTemplate = shirtid |
11 | a = Instance.new( "Shirt" , char) |
13 | a.ShirtTemplate = shirtid |
15 | if char:findFirstChild( "Pants" ) then |
16 | char.Pants.PantsTemplate = pantsid |
18 | b = Instance.new( "Pants" , char) |
20 | b.PantsTemplate = pantsid |