Universal Script 📌
646 Views
4.5k Executions

Fps and Ping Display

Universal Script 📌
larkyqkwq
larkyqkwq100K executions
9 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
oxideemooooncy9 months ago

lag

1

More universal scripts

See all
Script hub
75.0k
250.8k
Bumped 2 hours ago
Key System
Script hub
301.0k
1.0M
Bumped 2 hours ago
Key System

Script hub

#18 this month

Verified script badgeAxon Hub | 100+ Games & 3900+ Features

Script hub
17.5k
89.8k
Bumped 6 hours ago
Universal Script 📌
36.8k
1.1M
Bumped 6 hours ago