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: decal change

Previous Thread :: Next Thread 
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 12:58 PM
this wont work someone please help...no errors but no work


function onClicked(playerWhoClicked)
script.Parent.Decal.Texture = "http://www.roblox.com/Roblox-Icon-item?id=114781762" --"namehere""did/didn't"
wait(0.05)
script.Parent.Decal.Texture = "http://www.roblox.com/Free-Epic-Face-200-TAKES-YEYEYEY-item?id=124871713" --"namehere""did/didn't"
wait(0.05)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
27 Dec 2013 12:58 PM
You need an asset id.
Report Abuse
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 01:00 PM
waht do u mean
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
27 Dec 2013 01:01 PM
Ugh.

Make a part. Put the decal on it. Open decal properties. Take the texture. Put the texture in the script.
Report Abuse
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 01:01 PM
bump
Report Abuse
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 01:04 PM
could someone fix my script
Report Abuse
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 01:05 PM
Anyone
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
27 Dec 2013 01:07 PM
http://www.roblox.com/asset/?id=YOURIDHERE
Report Abuse
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 01:10 PM
so in the script do i change the link of the texture to that with the id on it?
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
27 Dec 2013 01:11 PM
function onClicked(playerWhoClicked)
script.Parent.Decal.Texture = "http://www.roblox.com/asset/?id=114781762"
wait(0.05)
script.Parent.Decal.Texture = "http://www.roblox.com/asset/?id=124871713"
wait(0.05)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
TexasOp6 is not online. TexasOp6
Joined: 25 Jul 2013
Total Posts: 162
27 Dec 2013 02:01 PM
ok thx
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