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 » Scripters
Home Search
 

Re: How can i make a random daytime generator?

Previous Thread :: Next Thread 
awiton is not online. awiton
Joined: 27 Apr 2012
Total Posts: 2656
03 Apr 2016 09:59 AM
I need a script that will pick a random "TimeofDay". I tried as hard as i could but i couldn't manage it. HELP!
Report Abuse
membra is not online. membra
Joined: 14 Oct 2008
Total Posts: 6313
03 Apr 2016 10:26 AM
What exactly is your issue?


Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
03 Apr 2016 10:28 AM
game.Lighting:SetMinutesAfterMidnight(math.random(math.huge))


Instance.new("BodyThrust",SenseiWarrior).position = CFrame.new(SenseiWarrior,YourGirlsDMs)
Report Abuse
AxonMega is not online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
03 Apr 2016 10:30 AM
Try this:

game.Lighting:SetMinutesAfterMidnight(math.random(1, 24*60))

--You have nothing to fear but your own impending doom.--
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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