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 » Scripters
Home Search
 

Re: Are template assets not permitted to change or something?

Previous Thread :: Next Thread 
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 03:44 AM
Yesterday I wanted to know what the problem is, now I tried some things and found out that the script is working, but only the Templates of the pants wont change. Do I have to do something seperate comprared to other assets to Shirt and PantsTemplates so they could change?

while wait (0.2) do
local pla = game.Players:FindFirstChild(script.Parent.Parent.Name)
if pla ~= nil then
if pla.PantsValue.Value == 0 then
script.Parent.PantsTemplate = " "
end
if pla.PantsValue.Value == 1 then
script.Parent.PantsTemplate = "http://roblox.com/asset/?id=129458425"
end
if pla.PantsValue.Value == 2 then
script.Parent.PantsTemplate = "http://roblox.com/asset/?id=1972086"
end
if pla.PantsValue.Value == 3 then
script.Parent.PantsTemplate = "http://roblox.com/asset/?id=144076759"
end
end
end
Report Abuse
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 04:20 AM
FOR GOD SAKES IVE TRIED ALMOST EVERYTHING! YESTERDAY I POSTED THIS, TODAY MORING I ASKED FOR HELP IN ATR, I CHECKED TONS OF PAGES FROM THE WIKI AND IT SAID NOTHING! I TRIED TO LEARN FROM FREE MODELS BUT THEY FUNCTIONED DIFFERENTLY! WHY IS NOBODY HELPING ME?!
Report Abuse
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 05:01 AM
Bump
Report Abuse
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 06:02 AM
Bump
Report Abuse
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 08:19 AM
Bump3
Report Abuse
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 09:27 AM
Bump4
Report Abuse
Epiczombiekiller1998 is not online. Epiczombiekiller1998
Joined: 07 Aug 2011
Total Posts: 4918
05 Aug 2015 10:34 AM
Bump5
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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