Guys I want the people who join my game start on a suit from the game... Can you help me?
01 | ShirtID = 0000000 |
02 | PantID = 0000000 |
03 |
04 | Uniform = function (Char) |
05 | local s = Instance.new( "Shirt" ,Char) |
06 | s.ShirtTemplate = ShirtID |
07 | local p = Instance.new( "Pants" ,Char) |
08 | p.PantsTemplate = PantID |
09 | end |
10 |
11 | game.Players.ChildAdded:connect( function (Plr) --Child added used for use in studio |
12 | repeat wait() until Plr.Character |
13 | repeat wait() until Plr.Character:FindFirstChild( "Head" ) |
14 | repeat wait() until Plr.Character:FindFirstChild( "Torso" ) |
15 | wait( 1 ) |
This might work...
Hey... I don't know I joined but It removes the player cloth and didn't add the shirt and pants..
You need to edit the following for it to work:
1 | ShirtID = 0000000 |
2 | PantID = 0000000 |
The IDs are located in the link of the shirt/pants.