|
| 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 |
|
|
|
| 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 |
|
|
|
| 04 Aug 2017 10:47 PM |
this is my first working script./
|
|
|
| Report Abuse |
|
|
|
| 04 Aug 2017 10:49 PM |
Well it's a good start. :)
|
|
|
| Report Abuse |
|
|
|
| 04 Aug 2017 10:49 PM |
thanks im gonna script more now!
|
|
|
| Report Abuse |
|
|
|
| 04 Aug 2017 10:50 PM |
Woah. Its displaying my real time. Great start bro!
Some random dood |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
| |
|
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 |
|
|
| |
|
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 |
|
|
| |
|
|
| 04 Aug 2017 11:40 PM |
| Nice. You'll become a famous scripter in no time. :) |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 05 Aug 2017 12:53 AM |
k i made an analog one too
|
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 05 Aug 2017 01:23 AM |
i think i broke it. the hands walked off the clock
|
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
| |
|
|
| 05 Aug 2017 01:26 AM |
never mind i fixed it. my math was off. it looks nice though!
|
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 05 Aug 2017 01:29 AM |
i dont know roblox physics
|
|
|
| Report Abuse |
|
|
| |
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 05 Aug 2017 01:41 AM |
| then simulate your own physics |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|