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
 

i think i hacked humanity

Previous Thread :: Next Thread 
TheGreenDeveloper is not online. TheGreenDeveloper
Joined: 29 Dec 2013
Total Posts: 776
25 Dec 2015 09:55 PM
--HOW THE HECK DID I MAKE THIS? this converts in normal time into digital clock style time (ex. 1:00 PM, 5:65 AM)
function secstoclock(origseconds)
local originalseconds = math.floor(origseconds)
local minutes = tostring(math.floor(originalseconds/60))%12
local newseconds = tostring(originalseconds%60)
local amorpm = math.floor((math.floor(originalseconds/60))/12)

if minutes == 0 then
minutes = 12
end

local apm = "AM"
if amorpm == 1 then
apm = "PM"
end

if originalseconds >= 0 and tonumber(newseconds) < 10 then
newseconds = "0"..newseconds
end

if originalseconds >= 0 then
return minutes..":"..newseconds.." "..apm
else
return "" --lolzor, why would time be negative? well if it did and this wasn't here, R.I.P this gui
end
end

print(secstomins((tick()/60)%(60 * 24)))





have i ended the world?
Report Abuse
76km is not online. 76km
Joined: 14 Aug 2015
Total Posts: 5455
25 Dec 2015 10:49 PM
ummmmmmmmmmmmmmmmmm k

we can all do that, if u can't pls get off scripters.

Good job tho, welcome to scripters.
Report Abuse
Lametta is online. Lametta
Joined: 07 Jul 2012
Total Posts: 7302
25 Dec 2015 11:08 PM
whoa how did u do that11111

uber scriptor
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