|
| 16 Nov 2014 12:22 PM |
Before saying this is scriptable, I think this can't be scripted easily
Lets start
Ever wanted a brick that changes to colour red at night and blue in the morning? Well a great idea arrived!
The Illuminating brick Is a brick that can start an illumination at any time [BASED ON REAL LIFE TIME] When you choose illuminating brick it will show up a guI saying the following
-Write your exact time (PLEASE WRITE PM OR AM) ______ -Write the colours that you want to change to: red and white -Choose time between every colour change (IF MORE THAN 2 COLOURS PLEASE USE 8,6,4,2.) 12 Hours .
Then it will be placed in your world, Yes it can be copied and will stay the same
YES, THE TIME IS BASED AT THE OWNER OF THE PLACE TIME. |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 12:25 PM |
Bump
I will r3pe you if you say Illuminati confirmed. |
|
|
| Report Abuse |
|
|
| |
|
Udoxas
|
  |
| Joined: 04 Dec 2010 |
| Total Posts: 5212 |
|
|
| 16 Nov 2014 12:28 PM |
Or you can just change the reflection of a brick to 1. By the way, Illuminati confirmed.
Error 404 - Siggy Not Found |
|
|
| Report Abuse |
|
|
Udoxas
|
  |
| Joined: 04 Dec 2010 |
| Total Posts: 5212 |
|
|
| 16 Nov 2014 12:30 PM |
My bad: I didn't read the whole post. You can use the tick() function to have a invisible GUI clock which you cannot see, and a script that constantly checks the time to change the color or the time.
Error 404 - Siggy Not Found |
|
|
| Report Abuse |
|
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
|
| 16 Nov 2014 12:33 PM |
| Brah, this only takes like 5-10 lines of code. Roblox is not gonna make an entirely new brick for something you can do with 5-10 lines of code. |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 12:54 PM |
This is easily scriptable lololololololol
roblox time is equivalent to real time, they just dont use am/pm so 1pm is 13:00 and 2pm is 14:00 and 3pm is 15:00 and so on...
local time = game.Lighting.TimeOfDay local part = game.Workspace.IlluminatingPart
if time == "20:00:00" then -- 8:00 PM local colornight = (BrickColor.new("Really red")) part.BrickColor = colornight if part.PointLight ~= nil then part.PointLight:remove() wait(.1) local light = Instance.new("PointLight", workspace) light.Parent = part light.Color = Color3.new(255,0,0) -- red light end end
if time == "10:00:00" then -- 10:00 AM local colorday = (BrickColor.new("Really blue") part.BrickColor = colorday if part.PointLight ~= nil then part.PointLight:remove() wait(.1) local light1 = Instance.new("PointLight", workspace) light1.Parent = part light1.Color = Color3.new(0,0,255) -- blue light end end
|
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 12:55 PM |
| lol i cant believe i wasted 10 minutes writing that script |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 12:57 PM |
Error in the script, sorry.
This is the completely working script:
local time = game.Lighting.TimeOfDay local part = game.Workspace.IlluminatingPart
if time == "20:00:00" then -- 8:00 PM local colornight = (BrickColor.new("Really red")) part.BrickColor = colornight if part.PointLight ~= nil then part.PointLight:remove() wait(.1) local light = Instance.new("PointLight", workspace) light.Parent = part light.Color = Color3.new(255,0,0) -- red light end end
if time == "10:00:00" then -- 10:00 AM local colorday = (BrickColor.new("Really blue")) part.BrickColor = colorday if part.PointLight ~= nil then part.PointLight:remove() wait(.1) local light1 = Instance.new("PointLight", workspace) light1.Parent = part light1.Color = Color3.new(0,0,255) -- blue light end end |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 01:00 PM |
k upgraded script.. sorry its hard to script and to see the errors without studio
local time = game.Lighting.TimeOfDay local part = game.Workspace.IlluminatingPart
if time == "20:00:00" then -- 8:00 PM local colornight = (BrickColor.new("Really red")) part.BrickColor = colornight if part.PointLight ~= nil then part.PointLight:remove() wait(.1) local light = Instance.new("PointLight", workspace) light.Parent = part light.Color = Color3.new(255,0,0) -- red light end end
if time == "10:00:00" or time == "15:00:00" then -- 10:00 AM or 1:00 PM local colorday = (BrickColor.new("Really blue")) part.BrickColor = colorday if part.PointLight ~= nil then part.PointLight:remove() wait(.1) local light1 = Instance.new("PointLight", workspace) light1.Parent = part light1.Color = Color3.new(0,0,255) -- blue light end end |
|
|
| Report Abuse |
|
|
GraySheep
|
  |
| Joined: 08 Oct 2011 |
| Total Posts: 12520 |
|
|
| 16 Nov 2014 03:00 PM |
Illuminating?!?! ILLUMINATI IS INVADING! HEELP!!
~ sliding on top of siggies ~ |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 03:50 PM |
| It's pronounced ill-oom-in-ate-ing not illuminati-ing |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 04:04 PM |
easy script is easy:
local brick = script.Parent; coroutine.wrap(function() while wait(60) do if(tonumber(("%x"):format(math.floor(game.Lighting:getMinutesAfterMidnight()/60)))>=18 or tonumber(("%x"):format(math.floor(game.Lighting:getMinutesAfterMidnight()/60))) <=4) then brick.BrickColor = BrickColor.Red(); else brick.BrickColor = BrickColor.Blue(); end; end; end)(); |
|
|
| Report Abuse |
|
|
| |
|