menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
How to make somthing neon at a certain gametime?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How to make somthing neon at a certain gametime?
LewisAlKhalifa
Join Date: 2013-07-07
Post Count: 3836
#184082690
Sunday, February 21, 2016 5:30 PM GMT
Like perhaps a script that will change the brick setting from SmoothPlastic to Neon at 1:00:00 in-game time? i giv u 1 tix
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kurokku
Join Date: 2015-08-01
Post Count: 4699
#184082953
Sunday, February 21, 2016 5:33 PM GMT
function() if time = 1:00:00 then change brick color else --do nothing end (:
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
LewisAlKhalifa
Join Date: 2013-07-07
Post Count: 3836
#184083203
Sunday, February 21, 2016 5:37 PM GMT
Thanks, as a reward, I will give you one tix
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
LewisAlKhalifa
Join Date: 2013-07-07
Post Count: 3836
#184083320
Sunday, February 21, 2016 5:39 PM GMT
Wait, that doesnt work doe..
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
RaceForLast
Join Date: 2015-12-19
Post Count: 25
#184099208
Sunday, February 21, 2016 9:25 PM GMT
while wait() do if game.Lighting.TimeOfDay=="01:00:00" then workspace.Part.Material="Neon" end end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
CWRA0444
Join Date: 2010-01-14
Post Count: 6013
#184099277
Sunday, February 21, 2016 9:26 PM GMT
this is what you're looking for repeat wait() until game.Lighting.TimeOfDay == "1:00:00" part.Material = "Neon" ...thats why yellow makes me sad
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
DivinePheonix
Join Date: 2011-03-30
Post Count: 11190
#184099836
Sunday, February 21, 2016 9:34 PM GMT
Use the Changed event instead of a loop. . .
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
LewisAlKhalifa
Join Date: 2013-07-07
Post Count: 3836
#184111926
Monday, February 22, 2016 12:39 AM GMT
My gud friend CptBenge helped me you can chill
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Wrathsong
Join Date: 2012-07-05
Post Count: 22393
#184112109
Monday, February 22, 2016 12:42 AM GMT
what div said..
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
darthpyro
Join Date: 2009-08-18
Post Count: 3569
#184112192
Monday, February 22, 2016 12:43 AM GMT
Does the time of day not typically change at a constant rate (i.e. it's going to call the changed event at the same rate as a loop)?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right