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 » Scripting Helpers
Home Search
 

Re: Body Colors is not a valid member of Model

Previous Thread :: Next Thread 
BuriedBlock is not online. BuriedBlock
Joined: 14 Dec 2009
Total Posts: 3091
21 Oct 2014 05:48 PM
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
c.Humanoid.Died:connect(function()
p:ClearCharacterAppearance()
c.Torso.Anchored = true
c.Head.Anchored = true
c["Right Leg"].Anchored = true
c["Left Leg"].Anchored = true
c["Right Arm"].Anchored = true
c["Left Arm"].Anchored = true
c["Body Colors"].HeadColor = BrickColor.new("Bright bluish green")
c["Body Colors"].RightArmColor = BrickColor.new("Bright bluish green")
c["Body Colors"].LeftArmColor = BrickColor.new("Bright bluish green")
c["Body Colors"].TorsoColor = BrickColor.new("Bright bluish green")
c["Body Colors"].LeftLegColor = BrickColor.new("Bright bluish green")
c["Body Colors"].RightLegColor = BrickColor.new("Bright bluish green")
c.Torso.Transparency = 0.5
c.Head.Transparency = 0.5
c["Right Leg"].Transparency = 0.5
c["Left Leg"].Transparency = 0.5
c["Right Arm"].Transparency = 0.5
c["Left Arm"].Transparency = 0.5
end)
end)
end)
Report Abuse
ToxicDominator is not online. ToxicDominator
Joined: 24 Oct 2013
Total Posts: 8373
21 Oct 2014 05:49 PM
do you know how to read the output?
Report Abuse
BuriedBlock is not online. BuriedBlock
Joined: 14 Dec 2009
Total Posts: 3091
21 Oct 2014 05:50 PM
@Toxic
Nothing appeared in the output the first time I tried it, but here:

18:49:39.033 - Workspace.Script:2: no loop to break near 'game'
Report Abuse
ToxicDominator is not online. ToxicDominator
Joined: 24 Oct 2013
Total Posts: 8373
21 Oct 2014 05:51 PM
remove all that body colors crap, find all the parts in the character and do something like:
_.BrickColor = BrickColor.new(I forget the color)
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
21 Oct 2014 05:56 PM
i have a better way.. hehe:

player:ClearCharacterAppearance()

for i,v in pairs (character:GetChildren()) do

if v:IsA("BasePart") then v.BrickColor = BrickColor.new("Bright bluish green") end

end


yay i did it. :D
Report Abuse
ToxicDominator is not online. ToxicDominator
Joined: 24 Oct 2013
Total Posts: 8373
21 Oct 2014 05:57 PM
roblok that's what I basically explained :P
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
21 Oct 2014 05:58 PM
some ppl need to be spoonfeed. lol
Report Abuse
BuriedBlock is not online. BuriedBlock
Joined: 14 Dec 2009
Total Posts: 3091
21 Oct 2014 05:59 PM
@Toxic
Thanks
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
21 Oct 2014 06:00 PM
wut about meh?! D:
Report Abuse
BuriedBlock is not online. BuriedBlock
Joined: 14 Dec 2009
Total Posts: 3091
21 Oct 2014 06:00 PM
@Roblok
Thanks for finding another way to do it, but Toxic got to it first
Report Abuse
Orelegus is not online. Orelegus
Joined: 29 May 2008
Total Posts: 856
21 Oct 2014 06:01 PM
@Roblox 1, Thanks.
Report Abuse
Orelegus is not online. Orelegus
Joined: 29 May 2008
Total Posts: 856
21 Oct 2014 06:02 PM
Roblok1**
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
21 Oct 2014 06:02 PM
D: who gave u a easier way?
Report Abuse
ToxicDominator is not online. ToxicDominator
Joined: 24 Oct 2013
Total Posts: 8373
21 Oct 2014 06:02 PM
Why are you saying thanks?
Report Abuse
ToxicDominator is not online. ToxicDominator
Joined: 24 Oct 2013
Total Posts: 8373
21 Oct 2014 06:03 PM
Roblok1, does it matter?
If life for you is a competition, go to RT or OT
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
21 Oct 2014 06:09 PM
what about 'ODing'?
Report Abuse
ToxicDominator is not online. ToxicDominator
Joined: 24 Oct 2013
Total Posts: 8373
21 Oct 2014 06:11 PM
what are you talking about?
if you mean what I think you mean, those subs are OD'er-free
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
21 Oct 2014 06:15 PM
idk i just wanted to help D: *cries*



jk :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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