Universal Script 📌
629 Views
4.1k Executions

Fps and Ping Display

Universal Script 📌
larkyqkwq
larkyqkwq100K executions
8 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

Fps Counter and Ping

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- GUI Setup
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FPSPingCounter"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 130, 0, 30)
mainFrame.Position = UDim2.new(0.8, 0, 0, 50)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
mainFrame.BackgroundTransparency = 0.7
mainFrame.BorderSizePixel = 1
mainFrame.BorderColor3 = Color3.fromRGB(50, 50, 50)
mainFrame.Parent = screenGui
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.ClipsDescendants = true

-- Add UICorner
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 10)
corner.Parent = mainFrame

-- FPS TextLabel
local fpsLabel = Instance.new("TextLabel")
fpsLabel.Size = UDim2.new(0.5, -5, 1, -10)
fpsLabel.Position = UDim2.new(0, 5, 0, 5)
fpsLabel.BackgroundTransparency = 1
fpsLabel.Text = "FPS: 0"
fpsLabel.TextColor3 = Color3.new(1, 1, 1)
fpsLabel.Font = Enum.Font.Code
fpsLabel.TextSize = 15
fpsLabel.TextXAlignment = Enum.TextXAlignment.Left
fpsLabel.Parent = mainFrame


Comments

1
Log in to join the conversation. Login
oxideemooooncy's profile picture
oxideemooooncy8 months ago

lag

1

More universal scripts

See all
Universal Script 📌
40.1k
817.4k
Bumped 48 minutes ago
Universal Script 📌
133.5k
24.2k
Bumped 1 hour ago
Key System
Universal Script 📌
102
9
Approved 2 hours ago
Universal Script 📌
93
4
Approved 2 hours ago
Universal Script 📌
6.5k
117
Bumped 2 hours ago