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
 

More Tweaking

Previous Thread :: Next Thread 
peyquinn is not online. peyquinn
Joined: 23 Jul 2009
Total Posts: 2486
19 Nov 2011 07:21 PM
I need this script to change all of the decals. It only changes one.





script.Parent.Touched:connect(function(pa)
if pa.Parent and game.Players:playerFromCharacter(pa.Parent) and pa.Name=="Head" then
script.Parent.Decal.Texture="_second_texture_"
end
end)
Report Abuse
peyquinn is not online. peyquinn
Joined: 23 Jul 2009
Total Posts: 2486
19 Nov 2011 07:53 PM
Bumpedy Bump~
Report Abuse
peyquinn is not online. peyquinn
Joined: 23 Jul 2009
Total Posts: 2486
19 Nov 2011 10:07 PM
Anyone?! :o
Report Abuse
peyquinn is not online. peyquinn
Joined: 23 Jul 2009
Total Posts: 2486
20 Nov 2011 07:38 PM
BUMP~
Report Abuse
PompeyTheGreat is not online. PompeyTheGreat
Joined: 10 Apr 2011
Total Posts: 5615
20 Nov 2011 07:49 PM
    script.Parent.Touched:connect(function(pa)
       if pa.Parent and game.Players:playerFromCharacter(pa.Parent) and pa.Name=="Head" then
          for _, v in pairs(script.Parent:children()) do
             if v.Name == "Decal" and v:IsA("Decal") then
                v.Texture = "texture"
             end
          end
       end
    end)
Report Abuse
peyquinn is not online. peyquinn
Joined: 23 Jul 2009
Total Posts: 2486
20 Nov 2011 08:26 PM
Thank you.
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