Universal Script 📌
57.2k Views
22 Executions

In Game Time

Universal Script 📌
AdorbsxVibesPr3ppy
AdorbsxVibesPr3ppy100 followers
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Check the time In Roblox game

Updates

  1. Script edited: Create script

View Raw
-- Load Orion Library
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()

-- Create Window
local Window = OrionLib:MakeWindow({Name = "Game Time Display", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionConfig"})

-- Create Tab
local Tab = Window:MakeTab({
    Name = "Main",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

-- Label to show time
local TimeLabel = Tab:AddLabel("Current In-Game Time: ")

-- Function to convert 24-hour time to 12-hour time
local function to12HourFormat(hour)
    local suffix = "AM"
    if hour >= 12 then
        suffix = "PM"
        if hour > 12 then
            hour = hour - 12
        end
    elseif hour == 0 then
        hour = 12
    end
    return hour, suffix
end

-- Function to update time
local function updateTime()
    while true do
        local time = game:GetService("Lighting").ClockTime
        local hour = math.floor(time)
        local minute = math.floor((time - hour) * 60)
        local hour12, suffix = to12HourFormat(hour)
        TimeLabel:Set(string.format("Current In-Game Time: %02d:%02d %s", hour12, minute, suffix))
        wait(1)
    end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
9.9k
22.4k
Bumped 16 minutes ago
Script hub
281.7k
212.0k
Bumped 2 hours ago
Key System
Universal Script 📌
125
10
Approved 3 hours ago
Universal Script 📌
78
11
Approved 3 hours ago
Universal Script 📌
113
76
Approved 4 hours ago
Script hub
153.7k
411.0k
Bumped 7 hours ago

Script hub

#4 today

KeylessVerified script badgeNo Lag Hub | KEYLESS 2026