
61.8k Views
126 Executions
Orion Library Real Time
Universal Script 📌
AdorbsxVibesPr3ppy100 followers
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Idk
Updates
Script edited: Create script
-- Load the Orion UI Library
local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
-- Create the UI Window
local Window = OrionLib:MakeWindow({
Name = "Real-Time Clock",
HidePremium = false,
SaveConfig = true,
ConfigFolder = "OrionClock",
IntroText = "Real-Time Clock",
Draggable = true -- Make the window draggable
})
-- Create a Tab for the Clock
local Tab = Window:MakeTab({
Name = "Clock",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
-- Create a Section for the Clock
local ClockSection = Tab:AddSection({Name = "Current Date and Time"})
-- Add a label for displaying the clock
local ClockLabel = ClockSection:AddLabel("Time: Loading...")
-- Function to format the real time
local function FormatTime()
local currentTime = os.date("*t")
local hour = currentTime.hour
local amPm = "AM"
if hour >= 12 then
amPm = "PM"
if hour > 12 then
hour = hour - 12
end
elseif hour == 0 then
hour = 12
end









chatgpt generated