izaya2
|
  |
| Joined: 01 Sep 2011 |
| Total Posts: 209 |
|
|
| 12 Feb 2014 08:24 AM |
| Um. How do I make it so that a specific rank gets a specific uniform? |
|
|
| Report Abuse |
|
izaya2
|
  |
| Joined: 01 Sep 2011 |
| Total Posts: 209 |
|
|
| 12 Feb 2014 08:26 AM |
Script Is
function SpawnClothes(Playerz) if Playerz:IsInGroup(986859) then for i,v in pairs(Playerz.Character:getChildren()) do if Playerz.Name ~= "izaya2" then
if v.className == "Shirt" or v.className == "Pants" then v:remove() end end end Shirt = script.Shirt:clone() Shirt.Parent = Playerz.Character Pants = script.Pants:clone() Pants.Parent = Playerz.Character end end
function PlayerRespawned(Player) SpawnClothes(Player) Player.Changed:connect(function(property) if (property == "Character") then SpawnClothes(Player) end end) end
game.Players.PlayerAdded:connect(PlayerRespawned)
|
|
|
| Report Abuse |
|