Universal Script 📌
1.6k Views
934 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
159.9k
1.5M
Bumped 3 hours ago
Key System

Script hub

#15 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.3k
992
Bumped 3 hours ago
Script hub
1.6M
1.9M
Bumped 3 hours ago
Key System

Script hub

#10 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
40.5k
817.4k
Bumped 5 hours ago
Universal Script 📌
133.8k
24.2k
Bumped 5 hours ago
Key System