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 » Scripting Helpers
Home Search
 

Re: woo first script

Previous Thread :: Next Thread 
awesomewiloliam123 is not online. awesomewiloliam123
Joined: 19 Aug 2012
Total Posts: 366
19 Dec 2013 06:24 PM


while true do
local x = 5 -----wait 5 second before change :)
Game.lighting.TimeOfDay = ("15:00:00") --------- Changes time :)
wait (x)
Game.lighting.TimeOfDay = ("16:00:00")
wait (x)
Game.lighting.TimeOfDay = ("17:00:00")
wait (x)
Game.lighting.TimeOfDay = ("18:00:00")


time set wooooooo

i cut off the parts so they dont copy
Report Abuse
PiggyJingles is not online. PiggyJingles
Joined: 13 Jan 2009
Total Posts: 2472
19 Dec 2013 06:27 PM
while true do
local x = 5 -----wait 5 second before change :)
Game.lighting.TimeOfDay = ("15:00:00") --------- Changes time :)
wait (x)
end
Report Abuse
rny is not online. rny
Joined: 26 Jul 2009
Total Posts: 5079
19 Dec 2013 06:48 PM
time=15
while wait(5) do
Game.lighting.TimeOfDay = (time .. ":00:00")
time=time+1
end
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
19 Dec 2013 07:17 PM
@ people lording the fact that they made more advanced scripts..seriously?
good job on your first script,but I would take one of their suggestions(probly the last one)
so it will continue,and will never end
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
19 Dec 2013 07:18 PM
oh,add
while wait(x) do
before the guy above me's script
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
19 Dec 2013 07:18 PM
im posting too much....anyway,point is.. good job!
Report Abuse
PiggyJingles is not online. PiggyJingles
Joined: 13 Jan 2009
Total Posts: 2472
19 Dec 2013 07:21 PM
Oops, forgot he wasn't doing +1 for each. :P
Report Abuse
rny is not online. rny
Joined: 26 Jul 2009
Total Posts: 5079
19 Dec 2013 08:00 PM
time=15
while wait(5) do
Game.lighting.TimeOfDay = (tostring(time) .. ":00:00")
time=time+1
end

fixed it :P
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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