|
| 14 May 2014 04:49 AM |
I'm trying to make a script of where it changes the pointlight color to a random color each 0.3 seconds. This is not working:
-- this script is inside PointLight while true do script.Parent.Color = Color.Random() wait(0.3) end
Any help?
|
|
|
| Report Abuse |
|
|
|
| 14 May 2014 04:56 AM |
while wait(0.3) do script.Parent.Color=Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) end
~masterCameron101, advanced Lua programmer, certified in Photoshop and geek. Have I help you? If so; support me by buying gear from any of my games, I'd appreciate it!~ |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 07:22 AM |
while wait(.3)do script.Parent.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) end |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 09:24 AM |
^
I may be horribly wrong, but I think it's going to give out a bunch of terrible looking colors. |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 10:50 AM |
while wait(.3) do script.Parent.Color = Color3.new(math.random(),math.random(),math.random()); end
|
|
|
| Report Abuse |
|
|