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: Took me almost 2 hours to make this work fine...

Previous Thread :: Next Thread 
Architect2498 is not online. Architect2498
Joined: 21 Jun 2013
Total Posts: 656
23 Jun 2013 11:55 PM
debounce = false

script.Parent.Touched:connect(function(hit)
if debounce == false then
for i = 1, 10 do
debounce = true
wait(0.5)
script.Parent.Transparency = script.Parent.Transparency + 0.1
end
wait(3)
for i = 1, 10 do
wait(0.5)
script.Parent.Transparency = script.Parent.Transparency - 0.1
end
debounce = false
end
end)

Woot :D

== Sometimes fear is the proper answer ==
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
23 Jun 2013 11:59 PM
Congrats, but this forum is for scripting help, not sharing your accomplishments.
Report Abuse
Architect2498 is not online. Architect2498
Joined: 21 Jun 2013
Total Posts: 656
24 Jun 2013 12:01 AM
Yeah I usually go a bit off-site.
Kk

== Sometimes fear is the proper answer ==
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