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: Works in Studio, but not in-game?

Previous Thread :: Next Thread 
ZeroHour66 is not online. ZeroHour66
Joined: 14 Sep 2013
Total Posts: 1511
07 Nov 2015 03:19 PM
shirt1 = "http://www.roblox.com/asset/?id=207577667"
shirt2 = "http://www.roblox.com/asset/?id=29415271"
shirt3 = "http://www.roblox.com/asset/?id=32808497"
Pants1 = "http://www.roblox.com/asset/?id=125549754"
Pants2 = "http://www.roblox.com/asset/?id=166625443"
Pants3 = "http://www.roblox.com/asset/?id=29415343"
script.Parent.MouseButton1Down:connect(function(closecustomgui)
script.Parent.Parent.Visible = false
script.Parent.Parent.Pants.Parent.Parent.Parent.Parent.Character.Head.face.Texture = script.Parent.Parent.FaceLabel.Image
if script.Parent.Parent.Shirtlabel.Image == "rbxgameasset://Images/shirt1" then
script.Parent.Parent.Parent.Parent.Parent.Character.Shirt.ShirtTemplate = shirt1
else
if script.Parent.Parent.Shirtlabel.Image == "rbxgameasset://Images/shirt2" then
script.Parent.Parent.Parent.Parent.Parent.Character.Shirt.ShirtTemplate = shirt2
else
if script.Parent.Parent.Shirtlabel.Image == "rbxgameasset://Images/shirt3" then
script.Parent.Parent.Parent.Parent.Parent.Character.Shirt.ShirtTemplate = shirt3
end
end
end
end)

script.Parent.MouseButton1Down:connect(function(customizerguilolc)
if script.Parent.Parent.PantsLabel.Image == "rbxgameasset://Images/Pants1" then
script.Parent.Parent.Parent.Parent.Parent.Character.Pants.PantsTemplate = Pants1
else
if script.Parent.Parent.PantsLabel.Image == "rbxgameasset://Images/Pants2" then
script.Parent.Parent.Parent.Parent.Parent.Character.Pants.PantsTemplate = Pants2
else
if script.Parent.Parent.PantsLabel.Image == "rbxgameasset://Images/Pants3" then
script.Parent.Parent.Parent.Parent.Parent.Character.Pants.PantsTemplate = Pants3
end
end
end
end)
Report Abuse
ZeroHour66 is not online. ZeroHour66
Joined: 14 Sep 2013
Total Posts: 1511
07 Nov 2015 03:20 PM
In studio those links are view as in-game decal ID's. Not links. :/
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