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: Help please :(

Previous Thread :: Next Thread 
redbaron70 is not online. redbaron70
Joined: 04 Dec 2011
Total Posts: 50
17 May 2013 07:50 PM
Here's the part i need help with

function LoadPlayer()
for i,v in pairs(Figure:GetChildren()) do
if v.ClassName ~= "Part" and v.ClassName ~= "Humanoid" and v.ClassName ~= "CharacterMesh" and v.ClassName ~= "Hat" then
v:Destroy()
elseif v:IsA("Hat") then
v.Handle.BrickColor, v.Handle.Transparency, v.Handle.Mesh.TextureId = BrickColor.new("Pastelbrown"), 0, ""
elseif v:IsA("CharacterMesh") then
v.OverlayTextureId, v.BaseTextureId = 0, 0
elseif v:IsA("Part") then
v.BrickColor, v.Transparency = BrickColor.new("Pastelbrown"), 0
end
end

It basically makes it so that when you spawn you completely Pastelbrown and without any clothes :I it also makes it so that any hats you have on are pastel brown.

Can someone tell me how to fix this :(
Report Abuse
Zkiller11 is not online. Zkiller11
Joined: 25 Aug 2009
Total Posts: 2914
17 May 2013 07:52 PM
Well, for starters, you don't have a connection line and need an additional end. What's wrong with it? You never stated what the issue was.
Report Abuse
kert109 is not online. kert109
Joined: 31 Dec 2009
Total Posts: 681
17 May 2013 08:31 PM
Whats "Figure"?
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