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 » Game Design
Home Search
 

Re: Anyone here know how to make lights flicker?

Previous Thread :: Next Thread 
Arthaslickking is not online. Arthaslickking
Joined: 18 May 2010
Total Posts: 6140
16 Jul 2015 08:05 AM
Like ex:

It turns off and on, randomly to make a flicker effect.
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
16 Jul 2015 08:45 AM
i can script it wait five minutes (:
Report Abuse
Clxver is not online. Clxver
Joined: 19 Oct 2014
Total Posts: 727
16 Jul 2015 08:48 AM
while wait(math.random(1, 3)) do
script.Parent.Enabled = false
wait(0.1)
script.Parent.Enabled = true
end
Report Abuse
SlopranoDark is not online. SlopranoDark
Joined: 01 Jun 2010
Total Posts: 440
16 Jul 2015 09:49 AM
A little more advanced:


----------- Put this in the Light you want to flicker -----------
local Light = script.Parent

Light.Brightness = 7 -- Put your preferred Brightness here.

while wait(0.2) do -- Change the wait to the preferred time between one flicker
Light.Range = math.random(6, 8) -- Put your preferred distance of Range here.
end
----------- Put this in the Light you want to flicker -----------

This gives a nice flicker effect.
Have fun!


~SlopranoDark
Report Abuse
SlopranoDark is not online. SlopranoDark
Joined: 01 Jun 2010
Total Posts: 440
16 Jul 2015 09:50 AM
What Clxver wrote works too lol.

Hey Clxver! :P
Report Abuse
Clxver is not online. Clxver
Joined: 19 Oct 2014
Total Posts: 727
16 Jul 2015 11:04 AM
Ayeeee! ;)
Report Abuse
TheHockeyWizard is not online. TheHockeyWizard
Joined: 24 May 2013
Total Posts: 1579
16 Jul 2015 11:05 AM
sloprano taught me something today and i just woke up
Report Abuse
Arthaslickking is not online. Arthaslickking
Joined: 18 May 2010
Total Posts: 6140
16 Jul 2015 11:10 AM
Amazing, thank you.
Report Abuse
SlopranoDark is not online. SlopranoDark
Joined: 01 Jun 2010
Total Posts: 440
16 Jul 2015 11:12 AM
@TheHockeyWizard

Haha, you're welcome!

@Arthaslickking

You're welcome! Have fun!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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