HELLO!
So I Actually made this in one day and i just want your feedback
on what i could improve and what i could add.
I Made this out of boredom but maybe will release this?
It Really just depends but i might do it.
I Actually Struggled kinda with the time and date
script, So if anyone has any better solutions on how to achieve this lmk.
local TimeLabel = script.Parent
local MonthAndDateLabel = script.Parent:WaitForChild("Date")
local showSeconds = false
-- Function to update the time label
local function UpdateTimeLabel()
local formatString = showSeconds and "%H:%M:%S" or "%H:%M"
local currentTime = os.date(formatString) -- Format the time
TimeLabel.Text = currentTime
end
-- Function to update the date label
local function UpdateDateLabel()
local currentDate = os.date("%a, %m.%d.%Y") -- Format the date
MonthAndDateLabel.Text = currentDate
end
local function ToggleSeconds()
showSeconds = not showSeconds
UpdateTimeLabel()
end
game:GetService('RunService').Heartbeat:Connect(function()
UpdateTimeLabel(); UpdateDateLabel()
end)
I Kinda made it like the windows 11 login menu design.
I Really like it so yea.
There are also sounds so if you want to hear them and see
the whole thing in action watch the video below: