aseel2003
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 35 |
|
|
| 26 Jul 2017 03:51 AM |
Hey everyone , I need help in my script which is : game.Workspace.ChildAdded:connect(function(plr) local name = plr.Name local playerinplayers = game.Players:FindFirstChild(plr.mahmoud00) if playerinplayers ~= nil then plr.Head.face.Texture = "rbxassetid://161456288" local bodycolors = Instance.new("BodyColors", plr) bodycolors.RightArmColor = BrickColor.new("Pastel brown") bodycolors.LeftArmColor = BrickColor.new("Pastel brown") bodycolors.LeftLegColor = BrickColor.new("Pastel brown") bodycolors.RightLegColor = BrickColor.new("Pastel brown") bodycolors.TorsoColor = BrickColor.new("Pastel brown") bodycolors.HeadColor = BrickColor.new("Pastel brown") local shirt = Instance.new('Shirt',plr)shirt.ShirtTemplate = "rbxassetid://286033023" local pants = Instance.new("Pants", plr)pants.PantsTemplate = "rbxassetid://286030307"
end end)
so I want developers to have special clothes other than normal people's clothes that I put , anyone knows or can lend me a hand? |
|
|
| Report Abuse |
|
|
aseel2003
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 35 |
|
|
| 26 Jul 2017 03:52 AM |
Wrong script , fixed one :
game.Workspace.ChildAdded:connect(function(plr) local name = plr.Name local playerinplayers = game.Players:FindFirstChild(plr.Name) if playerinplayers ~= nil then plr.Head.face.Texture = "rbxassetid://161456288" local bodycolors = Instance.new("BodyColors", plr) bodycolors.RightArmColor = BrickColor.new("Pastel brown") bodycolors.LeftArmColor = BrickColor.new("Pastel brown") bodycolors.LeftLegColor = BrickColor.new("Pastel brown") bodycolors.RightLegColor = BrickColor.new("Pastel brown") bodycolors.TorsoColor = BrickColor.new("Pastel brown") bodycolors.HeadColor = BrickColor.new("Pastel brown") local shirt = Instance.new('Shirt',plr)shirt.ShirtTemplate = "rbxassetid://286033023" local pants = Instance.new("Pants", plr)pants.PantsTemplate = "rbxassetid://286030307"
end end)
|
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 26 Jul 2017 03:53 AM |
| assigns name then doesn't use it :thinking: |
|
|
| Report Abuse |
|
|
aseel2003
|
  |
| Joined: 20 Feb 2012 |
| Total Posts: 35 |
|
|
| 26 Jul 2017 03:59 AM |
| I did assign name at the first script as seen , but it still didn't work thats why. |
|
|
| Report Abuse |
|
|