Universal Script 📌
1.6k Views
1.5k Executions

Fps and Ping shower

Universal Script 📌
Hibrofr
HibrofrFirst 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

Shows fps and Ping made by chatgpt

View Raw
-- LocalScript: FPS + Ping Monitor
-- Place in StarterPlayerScripts

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

-- Create simple UI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "PerfMonitor"
screenGui.ResetOnSpawn = false
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 80)
frame.Position = UDim2.new(0, 10, 0, 10)
frame.BackgroundTransparency = 0.4
frame.Parent = screenGui

local fpsLabel = Instance.new("TextLabel")
fpsLabel.Size = UDim2.new(1, -10, 0, 30)
fpsLabel.Position = UDim2.new(0, 5, 0, 5)
fpsLabel.BackgroundTransparency = 1
fpsLabel.TextScaled = true
fpsLabel.Font = Enum.Font.SourceSansBold
fpsLabel.Text = "FPS: ..."
fpsLabel.Parent = frame

local pingLabel = fpsLabel:Clone()
pingLabel.Position = UDim2.new(0, 5, 0, 40)
pingLabel.Text = "Ping: ..."
pingLabel.Parent = frame

-- FPS calculation
local lastTime = tick()
local frames = 0
local fps = 0

RunService.RenderStepped:Connect(function()
    frames = frames + 1


Comments

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

More universal scripts

See all
Script hub
85.7k
341.3k
Bumped 47 minutes ago
Key System
Script hub
53.6k
14.5k
Bumped 1 hour ago
Key System
Paid
Script hub
195
569
Bumped 2 hours ago
Key System
Universal Script 📌
1.3M
592.6k
Bumped 4 hours ago
Script hub
2.5k
19.6k
Bumped 5 hours ago
Universal Script 📌
367
899
Approved 6 hours ago
Universal Script 📌
107
1.3k
Approved 7 hours ago