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: it wont flash :c

Previous Thread :: Next Thread 
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
23 Feb 2015 11:18 PM


function flash()
for i = script.Parent.ImageTransparency,0,-0.1 do
script.Parent.ImageTransparency= i
wait(0.02) -- Seems like an appropriate wait time
end
script.Parent.ImageTransparency = 1
end


for i = 1,3,1 do -- lel runs flash() 3 times
flash()
wait() -- Put in how long you want to wait between each flash..
end
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
23 Feb 2015 11:19 PM
qq
Report Abuse
Rocky28447 is online. Rocky28447
Joined: 11 Dec 2009
Total Posts: 2912
23 Feb 2015 11:23 PM
function Flash()
for i = 1,10 do
script.Parent.ImageTransparency = script.Parent.ImageTransparency - 0.1
Wait(0.02)
end
script.Parent.ImageTransparency = 1
end

for i = 1,3 do -- "1" is not required.
Flash()
wait()
end

People will yet at me for doing it this way probably, but it always works.
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
23 Feb 2015 11:28 PM
nop
Report Abuse
Rocky28447 is online. Rocky28447
Joined: 11 Dec 2009
Total Posts: 2912
23 Feb 2015 11:33 PM
Ok tell me this:

What is script.Parent
ImageLabel
or
Frame
or
TextLabel
or
something else
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
23 Feb 2015 11:35 PM
ImageLabel
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