Universal Script πŸ“Œ
358 Views
12 Executions

Display loading time

Universal Script πŸ“Œ
ZSII
ZSIIFirst script
1 year 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

Display the total loading time from start to finish of your script

View Raw
-- By: ZSII#006

local startTime = os.clock() --// Start Time
local NotificationLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/DemogorgonItsMe/DemoNotifications/refs/heads/main/V2/source.lua"))()
NotificationLib:SetSettings({
    position = "BottomRight", -- "BottomRight" or "BottomCenter"
    maxNotifications = 5,     -- Max notifications shown simultaneously
    duration = 4,            -- Default duration (seconds)
    spacing = 10,            -- Space between notifications (px)
    fadeTime = 0.3,          -- Animation duration (seconds)
    slideDistance = 20       -- Slide animation distance (px)
})
NotificationLib:SetTheme({
    -- Colors
    primaryColor = Color3.fromRGB(45, 45, 45),
    successColor = Color3.fromRGB(50, 180, 100),
    errorColor = Color3.fromRGB(220, 80, 80),
    warningColor = Color3.fromRGB(240, 180, 50),
    textColor = Color3.fromRGB(255, 255, 255),
    showStroke = false,
    useBackgroundColor = false,
    backgroundTransparency = 0.1,
    cornerRadius = UDim.new(0, 5),
    font = Enum.Font.GothamSemibold,
    background = "rbxassetid://18610728562",
    closeIcon = "rbxassetid://6031094677",
    mobileScale = 0.8
})

wait(3.91567888888888)

local loadTime = os.clock() - startTime --// End Time
NotificationLib:Notify({
    Title = string.format("Time used: %.3f s", loadTime), --// Display loading time
    Message = "Now Load Success!",
    Type = "info", 
    Duration = 5
})




Comments

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

Tags

More universal scripts

See all
Universal Script πŸ“Œ
10.2k
263
Bumped 29 minutes ago
High QualityΒ Offering
Universal Script πŸ“Œ
8.4k
32.8k
Bumped 40 minutes ago
Key System
Universal Script πŸ“Œ
1.1k
2.7k
Bumped 55 minutes ago
Universal Script πŸ“Œ
1.3k
5.9k
Bumped 57 minutes ago
Script hub
22.0k
4.3k
Bumped 2 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
1.1k
2.2k
Bumped 2 hours ago
Universal Script πŸ“Œ
1.6k
5.9k
Bumped 2 hours ago
Script hub
164.7k
564.9k
Bumped 6 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT