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: i made a digital clock out of bricks!!!

Previous Thread :: Next Thread 
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 10:44 PM
i made a digital clock out of bricks!!! check it out!!!!
https://www.roblox.com/games/845905596/Clock


Report Abuse
TreBomb004 is online. TreBomb004
Joined: 09 Sep 2012
Total Posts: 339
04 Aug 2017 10:47 PM
That is pretty sweet. At first, I thought it was just my time, but then I waited and it actually changed. Good job, man!


Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 10:47 PM
this is my first working script./


Report Abuse
TreBomb004 is online. TreBomb004
Joined: 09 Sep 2012
Total Posts: 339
04 Aug 2017 10:49 PM
Well it's a good start. :)


Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 10:49 PM
thanks im gonna script more now!


Report Abuse
ThePixelBM is online. ThePixelBM
Joined: 25 Feb 2016
Total Posts: 357
04 Aug 2017 10:50 PM
Woah. Its displaying my real time. Great start bro!


Some random dood
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 10:51 PM
👍


Report Abuse
LeRiceFarmer is not online. LeRiceFarmer
Joined: 08 Jan 2012
Total Posts: 2583
04 Aug 2017 11:02 PM
Woah, nice, how did u get it to display the real time?


#code local siggy = game:GetService("SiggyService")
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 11:02 PM
a localscript


Report Abuse
Ezuras is online. Ezuras
Joined: 07 Nov 2012
Total Posts: 8768
04 Aug 2017 11:03 PM
Assuming that you used os.time to get the users time?
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 11:04 PM
no


Report Abuse
Ezuras is online. Ezuras
Joined: 07 Nov 2012
Total Posts: 8768
04 Aug 2017 11:05 PM
then how'd you do it

i cant think of any other ways
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
04 Aug 2017 11:06 PM
tick()


Report Abuse
TheeDeathCaster is online. TheeDeathCaster
Joined: 19 Jun 2011
Total Posts: 1191
04 Aug 2017 11:40 PM
Nice. You'll become a famous scripter in no time. :)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
04 Aug 2017 11:58 PM
now make an analog clock and complete your clock collection tm
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
05 Aug 2017 12:53 AM
k i made an analog one too


Report Abuse
TchouTwahU is not online. TchouTwahU
Joined: 21 Dec 2008
Total Posts: 2654
05 Aug 2017 01:08 AM
local origin = os.time()
local timezone = -5 -- ENTER TIMEZONE OFFSET FROM UTC/GMT IN HOURS (EST: -5, PST: -8, CST: -6, UTC/GMT: 0, CET: 1,##S####3.5)
local start = tick()
while wait() do
local t = tick()-start+origin+(timezone*3600)
local hour=(t/3600)%24
local minute=(hour%1)*60
local second=(minute%1)*60
script.Parent.Hour.Rotation = 180+((hour*30)%360)
script.Parent.Min.Rotation = 180+(minute*6)
script.Parent.Sec.Rotation = 180+(second*6)
local months = {
{"01",31,31};
{"02",59,28};
{"03",90,31};
{"############## #{"############## #{"############## {"############## #{"############## #{"############## #{"############## #{"############## #{"############## }
local daycount = ma######################### local year = math.floor(daycount/365.25)+2000
if ((year%4) == 0) then
months[2][3] = 29
for i,v in pairs(months) do
if (i ~= 1) then
v[2] = (v[2]+1)
end
end
end
local day = math.floor(((daycount)%365.25)+1)
for i,m in pairs(months) do
if ((m[2]-m[3]) <= day) then
month = i
end
end
local m = months[month]
day = (day+m[3]-m[2])
year = tostring(year)
local days = day
days = tostring((days < 10 and "0" or "") .. days)
local mnth = months[month][1]
local seconds = math.floor(second)
local minutes = math.floor(minute)
local hours = math.floor(hour)
seconds = tostring((seconds < 10 and "0" or "") .. seconds)
minutes = tostring((minutes < 10 and "0" or "") .. minutes)
hours = tostring((hours < 10 and "0" or "") .. hours)
local fraction=second%1
local milliseconds = ("%0.3f"):format(fraction):sub(3)
script.Parent.Date.Text = year .. "-" .. mnth .. "-" .. days
script.Parent.Time.Text = hours .. ":" .. minutes .. ":" .. seconds .. "." .. milliseconds
end


Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
05 Aug 2017 01:23 AM
i think i broke it. the hands walked off the clock


Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
05 Aug 2017 01:24 AM
Uh oh, that's not right!
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
05 Aug 2017 01:26 AM
never mind i fixed it. my math was off. it looks nice though!


Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
05 Aug 2017 01:28 AM
now make a physics based grandfather clock and complete your clock collection tm
Report Abuse
Chamilitant is online. Chamilitant
Joined: 03 May 2017
Total Posts: 19832
05 Aug 2017 01:29 AM
i dont know roblox physics


Report Abuse
HoodedBlack is not online. HoodedBlack
Joined: 04 May 2013
Total Posts: 2226
05 Aug 2017 01:30 AM
that's cool
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
05 Aug 2017 01:41 AM
then simulate your own physics
Report Abuse
BeatriceIlluminated is not online. BeatriceIlluminated
Joined: 26 Apr 2017
Total Posts: 9
05 Aug 2017 01:43 AM
Your classes clocks a pretty good piece of coding. When I first logged in the time was a few minutes off, but it was telling time beautifully within a minute or #### I can't wait to see what you create next! ~Bea~
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