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: Fix plox

Previous Thread :: Next Thread 
sharky99 is not online. sharky99
Joined: 18 Dec 2008
Total Posts: 3364
16 Jul 2011 08:11 PM
z = script.Parent
decals = z.Arm:GetChildren()
decals2 = z.Arm2:GetChildren()

function Decals()
decals.Texture = ""
decals2.Texture = ""
end

function Decals2()
decals.Texture = "http://www.roblox.com/asset/?id=1337777"
decals2.Texture = "http://www.roblox.com/asset/?id=1337777"
end
Report Abuse
liger15 is not online. liger15
Joined: 23 Jul 2009
Total Posts: 247
16 Jul 2011 08:15 PM
z = script.Parent
decals = z.Arm:GetChildren()
decals2 = z.Arm2:GetChildren()


function Decals()
for i = 1, #decals do
if decals[i].ClassName == "Decal" then
decals[i].Texture = ""
end
end
for i = 1, #decals2 do
if decals2[i].ClassName == "Decal" then
decals2[i].Texture = ""
end
end
end

function Decals2()
for i = 1, #decals do
if decals[i].ClassName == "Decal" then
decals[i].Texture = "http://www.roblox.com/asset/?id=1337777"
end
end
for i = 1, #decals2 do
if decals2[i].ClassName == "Decal" then
decals2[i].Texture = "http://www.roblox.com/asset/?id=1337777"
end
end
end
Report Abuse
sharky99 is not online. sharky99
Joined: 18 Dec 2008
Total Posts: 3364
16 Jul 2011 08:17 PM
Thanks dude!
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