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: Pants and shirt changer script

Previous Thread :: Next Thread 
Saodo is not online. Saodo
Joined: 26 Jul 2011
Total Posts: 1206
26 Oct 2013 09:27 AM
How would i change the "Pants template" property and "Shirt template" property of every character in the game?

Report Abuse
velibor is not online. velibor
Joined: 24 Nov 2009
Total Posts: 1003
26 Oct 2013 09:30 AM
Pal, you really need to learn for loops

function Change()
for _,v in pairs(Game.Players:GetChildren()) do
if v.Character ~= nil then
v.Character.Pants.PantsTemplate = "http://roblox.com/asset/?d=341"
v.Character.Shirts.PantsTemplate = "http://roblox.com/asset?id="345"
end
end
end

Change()

Report Abuse
Saodo is not online. Saodo
Joined: 26 Jul 2011
Total Posts: 1206
26 Oct 2013 09:33 AM
well i can do basic stuff like..

for i =1,10,1 do
print(i)
wait(1)
end

I havnt be bothered to look into it that much
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