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: Make a decal appear when a certain brick is hit

Previous Thread :: Next Thread 
Burnouts is not online. Burnouts
Joined: 23 Aug 2013
Total Posts: 1455
29 Sep 2013 04:10 PM
Please help me if you can.
I want the brick "TouchPart" to make "Image1" decal pop to show for 3 seconds

Thanks if you help.
Report Abuse
BogyMac is not online. BogyMac
Joined: 04 Nov 2011
Total Posts: 823
29 Sep 2013 04:11 PM
script.Parent.Touched:connect(function()
workspace.Brick.Image1.Transparency = 0
wait(3)
workspace.Brick.Image1.Transparency = 1
end
Report Abuse
XAXA is not online. XAXA
Joined: 10 Aug 2008
Total Posts: 6315
29 Sep 2013 04:13 PM
Just to add to BogyMac's script, he forgot to close it with a ")"
Report Abuse
Burnouts is not online. Burnouts
Joined: 23 Aug 2013
Total Posts: 1455
29 Sep 2013 04:19 PM
So I would put both parts in a model, would I have to add anything else to the part that is has to be touched to be activated?
Report Abuse
XAXA is not online. XAXA
Joined: 10 Aug 2008
Total Posts: 6315
29 Sep 2013 04:20 PM
Put the script inside the brick. You are free to group the brick into any model.
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