Universal Script 📌
1.0k Views
8.6k Executions

Ping viewer

Universal Script 📌
Doggggggg1
Doggggggg110K executions
5 months 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

Nothing much just something simple that shows you your ping I mostly put it in my autoexecute folder

View Raw
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local CoreGui = game:GetService("CoreGui")

local UPDATE_INTERVAL = 0.5
local floor = math.floor

-- pre-computed colors
local GREEN  = Color3.fromRGB(0, 255, 0)
local YELLOW = Color3.fromRGB(255, 200, 0)
local RED    = Color3.fromRGB(255, 60, 60)
local GRAY   = Color3.fromRGB(180, 180, 180)

-- destroy old instance on re-execution
local old = CoreGui:FindFirstChild("PingDisplay")
if old then old:Destroy() end

local gui = Instance.new("ScreenGui")
gui.Name = "PingDisplay"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = CoreGui

local label = Instance.new("TextLabel")
label.Name = "PingLabel"
label.BackgroundTransparency = 1
label.AnchorPoint = Vector2.new(1, 0)
label.Position = UDim2.new(1, -8, 0, 8)
label.Size = UDim2.fromOffset(140, 20)
label.Font = Enum.Font.Gotham
label.TextSize = 14
label.TextXAlignment = Enum.TextXAlignment.Right
label.TextYAlignment = Enum.TextYAlignment.Top
label.TextColor3 = GRAY
label.TextStrokeTransparency = 0
label.Text = "Ping: -- ms"
label.Parent = gui

local function colorForPing(ms)


Comments

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

More universal scripts

See all
Script hub
63.5k
294.1k
Bumped 3 hours ago
Key System
Script hub
3.0M
19.6M
Bumped 4 hours ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM Hub KEYLESS 2026

Script hub
120.5k
213.9k
Bumped 4 hours ago
Key System
Universal Script 📌
6.7k
11.1k
Bumped 4 hours ago