generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Special clothes for developers

Previous Thread :: Next Thread 
aseel2003 is not online. 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 is not online. 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 is online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image