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

Guys can someone help me making this? visit the page and see.

Asked by 9 years ago

Guys I want the people who join my game start on a suit from the game... Can you help me?

3 answers

Log in to vote
0
Answered by 9 years ago
01ShirtID = 0000000
02PantID = 0000000
03 
04Uniform = function(Char)
05    local s = Instance.new("Shirt",Char)
06    s.ShirtTemplate = ShirtID
07    local p = Instance.new("Pants",Char)
08    p.PantsTemplate = PantID
09end
10 
11game.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)
View all 35 lines...

This might work...

Ad
Log in to vote
0
Answered by 9 years ago

Hey... I don't know I joined but It removes the player cloth and didn't add the shirt and pants..

Log in to vote
0
Answered by 9 years ago

You need to edit the following for it to work:

1ShirtID = 0000000
2PantID = 0000000

The IDs are located in the link of the shirt/pants.

0
Oh ty :D StarInTheSkys 0 — 9y

Answer this question