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: I Need A Bit Of Help With Changing A Decal In A Script!

Previous Thread :: Next Thread 
pumkinator10 is not online. pumkinator10
Joined: 27 Oct 2011
Total Posts: 5
23 Jul 2017 03:14 PM
OK, so here is my issue, i have a custom coffee tool made out of bricks and such, and I would like to have it so when it collides with a brick it changes the decal on the liquid to add the effect of cream or something. My script that I currently have is down below, if someone could help me out with this, that would be perfect! function onTouch(hit) if hit.Parent.className == "Classic Brew" and hit.Parent.liquid ~= nil then if hit.Parent.liquid.Texture == ########################################### then while true do script.Parent.Texture = ########################################### end end end end script.Parent.Touched:connect(onTouch) The first decal is a decal with literally nothing, and the second is with a swirl, both can be found on my profile
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
23 Jul 2017 03:16 PM
rip
Report Abuse
pumkinator10 is not online. pumkinator10
Joined: 27 Oct 2011
Total Posts: 5
23 Jul 2017 03:16 PM
I Accidentally Broke The Script In There, My Bad, Here It Is Again In A Proper Format function onTouch(hit) if hit.Parent.className == "Classic Brew" and hit.Parent.liquid ~= nil then if hit.Parent.liquid.Texture == ########################################### then while true do script.Parent.Texture = ########################################### end end end end script.Parent.Touched:connect(onTouch)
Report Abuse
ahwz is not online. ahwz
Joined: 01 Apr 2010
Total Posts: 3230
23 Jul 2017 03:16 PM
First post is a filtered post.


Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
23 Jul 2017 03:17 PM
^ XD
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
23 Jul 2017 03:17 PM
oops the "XD" was for pump
Report Abuse
pumkinator10 is not online. pumkinator10
Joined: 27 Oct 2011
Total Posts: 5
23 Jul 2017 03:17 PM
still not properly formatted in the post, but it looks fine in the script :P
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
23 Jul 2017 03:18 PM
copy and paste the script in ########
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
23 Jul 2017 03:18 PM
#########
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
23 Jul 2017 03:18 PM
DANG
Report Abuse
pumkinator10 is not online. pumkinator10
Joined: 27 Oct 2011
Total Posts: 5
25 Jul 2017 05:50 PM
## ##### but only 9 comments, anyone actually able to help?
Report Abuse
pumkinator10 is not online. pumkinator10
Joined: 27 Oct 2011
Total Posts: 5
25 Jul 2017 05:51 PM
boy does Roblox love censorship of things that don't need to be
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