|
| 02 Dec 2015 03:49 AM |
local GroupID = 2702519 --The ID of the group. local ShirtID = 326036053 --The ID of the shirt. local PantsID = 326035957 --The ID of the pants.
game.Players.PlayerAdded:connect(function(player) if player:IsInGroup(GroupID) then player.CharacterAdded:connect(function(character) local Shirt = Instance.new('Shirt', character) Shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id='..ShirtID local Pants = Instance.new('Pants', character) Pants.PantsTemplate = 'http://www.roblox.com/asset/?id='..PantsID character.ChildAdded:connect(function(child) if child:IsA('Clothing') and not Shirt and not Pants then wait() child:remove() end end) end) end end)--End of script.
Group ID is right
Shirt + Pants ID = The number at top of the item link
it no worky qq |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 02 Dec 2015 04:57 AM |
| is it the assetid of the shirts and pants? |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2015 05:43 AM |
I'm really bad BUT I believe it's right, not 100% sure about scripting
http://www.roblox.com/DS-Uniformed-Shirt-item?id=326036053
http://www.roblox.com/DS-Uniformed-Pants-item?id=326035957 |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2015 06:20 AM |
local GroupID = 2702519 --The ID of the group. local ShirtID = 326036052 --The ID of the shirt. local PantsID = 326035956 --The ID of the pants.
game.Players.PlayerAdded:connect(function(player) if player:IsInGroup(GroupID) then player.CharacterAdded:connect(function(character) local Shirt = Instance.new('Shirt', character) Shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id='..ShirtID local Pants = Instance.new('Pants', character) Pants.PantsTemplate = 'http://www.roblox.com/asset/?id='..PantsID character.ChildAdded:connect(function(child) if child:IsA('Clothing') and not Shirt and not Pants then wait() child:remove() end end) end) end end)--End of script.
|
|
|
| Report Abuse |
|
|