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
 

Re: Changing Skin Color Problem

Previous Thread :: Next Thread 
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
04 Jan 2016 12:25 PM
I'm trying to get this to work for a character creator I am building it is in a local script and in the Starter GUI. Any help?

local player = game.Players.LocalPlayer
local char = player.Character
local setter = script.Parent.Change.Value
local BodyColors = char:FindFirstChild("Body Colors")
while true do
wait(0.1)
if setter == 0 then
print 'it is 0'
BodyColors.HeadColor = BrickColor.new("Really blue")
BodyColors.LeftArmColor = BrickColor.new("Really blue")
BodyColors.LeftLegColor = BrickColor.new("Really blue")
BodyColors.RightArmColor = BrickColor.new("Really blue")
BodyColors.RightLegColor = BrickColor.new("Really blue")
BodyColors.TorsoColor = BrickColor.new("Really blue")
end
end
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
04 Jan 2016 01:08 PM
Anyone?
Report Abuse
texastyaust is not online. texastyaust
Joined: 08 Feb 2009
Total Posts: 2735
04 Jan 2016 01:19 PM
local player = game.Players.LocalPlayer
local char = player.Character
local setter = script.Parent.Change
local BodyColors = char:FindFirstChild("Body Colors")

while true do
wait(0.1)
if setter.Value == 0 then
print 'it is 0'
BodyColors.HeadColor = BrickColor.new("Really blue")
BodyColors.LeftArmColor = BrickColor.new("Really blue")
BodyColors.LeftLegColor = BrickColor.new("Really blue")
BodyColors.RightArmColor = BrickColor.new("Really blue")
BodyColors.RightLegColor = BrickColor.new("Really blue")
BodyColors.TorsoColor = BrickColor.new("Really blue")
end
end

--That should fix your issue

Rip in pieces in irl
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
04 Jan 2016 01:44 PM
I tried it and it still doesn't work.
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
04 Jan 2016 05:11 PM
Bump
Report Abuse
XIPokezIX is not online. XIPokezIX
Joined: 24 Sep 2015
Total Posts: 381
04 Jan 2016 05:20 PM
local player = game.Players.LocalPlayer
local char = player.Character
local setter = script.Parent.Change
local bc = char:FindFirstChild("BodyColors")
properties={bc.HeadColor,bc.LeftArmColor,bc.LeftLegColor,bc..RightArmColor,bc.RightLegColor,
bc.TorsoColor}

spawn(function()
while wait() do
while setter.Value == 0 do
print 'it is 0'
for i,v in pairs(properties)do
v.BrickColor=BrickColor.new("Bright blue")
end
end
end
end)
Report Abuse
XIPokezIX is not online. XIPokezIX
Joined: 24 Sep 2015
Total Posts: 381
04 Jan 2016 05:41 PM
local player = game.Players.LocalPlayer
local char = player.Character
local setter = script.Parent.Change
local bc = char:FindFirstChild("BodyColors")
properties={bc.HeadColor,bc.LeftArmColor,bc.LeftLegColor,bc.RightArmColor,bc.RightLegColorbc.TorsoColor}

spawn(function()
while wait() do
while setter.Value == 0 do
print 'it is 0'
for i,v in pairs(properties)do
v.BrickColor=BrickColor.new("Bright blue")
end
end
end
end)
Report Abuse
XIPokezIX is not online. XIPokezIX
Joined: 24 Sep 2015
Total Posts: 381
04 Jan 2016 05:42 PM
local player = game.Players.LocalPlayer
local char = player.Character
local setter = script.Parent.Change
local bc = char:FindFirstChild("BodyColors")
properties={bc.HeadColor,bc.LeftArmColor,bc.LeftLegColor,bc.RightArmColor,bc.RightLegColor,bc.TorsoColor}

spawn(function()
while wait() do
while setter.Value == 0 do
print 'it is 0'
for i,v in pairs(properties)do
v.BrickColor=BrickColor.new("Bright blue")
end
end
end
end)
Report Abuse
XIPokezIX is not online. XIPokezIX
Joined: 24 Sep 2015
Total Posts: 381
04 Jan 2016 05:44 PM
local player = game.Players.LocalPlayer
local char = player.Character
local setter = script.Parent.Change
local bc = char:FindFirstChild("Body Colors")
properties={bc.HeadColor,bc.LeftArmColor,bc.LeftLegColor,bc.RightArmColor,bc.RightLegColor,bc.TorsoColor}

spawn(function()
while wait() do
while setter.Value == 0 do
print 'it is 0'
for i,v in pairs(properties)do
v=BrickColor.new("Bright blue")
end
end
end
end)
---omg so many mistakes fuq me mb
Report Abuse
DivinePheonix is not online. DivinePheonix
Joined: 30 Mar 2011
Total Posts: 11190
04 Jan 2016 06:27 PM
why not use the Skin object?
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
07 Jan 2016 01:30 PM
Skin Object?
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
07 Jan 2016 01:33 PM
output?
Report Abuse
Craftero is online. Craftero
Joined: 24 Jun 2011
Total Posts: 1451
07 Jan 2016 01:48 PM
@Everyone who suggests the Skin object

I was informed recently that the Skin object is actually deprecated.
This means it is used for compatibility with older Roblox games only.

Therefore, we must come up with a new, efficient way of changing the Player's skin colour. Haven't got anything yet myself, but if anybody does, please let us know hear.
Report Abuse
Craftero is online. Craftero
Joined: 24 Jun 2011
Total Posts: 1451
07 Jan 2016 01:50 PM
Oops, spelling mistake:
*Hear -> Here
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
07 Jan 2016 02:42 PM
Uh bodycolors
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
07 Jan 2016 04:50 PM
Still haven't found an answer to my problem, but lol
Report Abuse
laughablehaha is not online. laughablehaha
Joined: 19 Apr 2012
Total Posts: 2495
07 Jan 2016 05:34 PM
BodyColors is the one way to change skin color.
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
08 Jan 2016 08:49 AM
Yeah, but how is the question. Using a local script.
Report Abuse
Wolfman11127 is not online. Wolfman11127
Joined: 27 Jul 2012
Total Posts: 132
16 Jan 2016 08:30 AM
Going to bump this again because I still don't have my problem fixed.
Report Abuse
DevSyntax is not online. DevSyntax
Joined: 29 Oct 2011
Total Posts: 1643
16 Jan 2016 01:14 PM
Add one of those bodycolor thingies, then just remove the one in the character and clone this one
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