Universal Script 📌
1.4k Views
1.8k Executions

FPS counter

Universal Script 📌
Arthurkeylesscripts
ArthurkeylesscriptsFirst script
1 month ago

Reviewed by QueueHeroPaid revieweron How review works

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

A counter

View Raw
-- FPS Counter Mobile
-- Contador visual no canto superior direito

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

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Evita duplicar o contador
local old = playerGui:FindFirstChild("FPSCounter")
if old then
    old:Destroy()
end

local gui = Instance.new("ScreenGui")
gui.Name = "FPSCounter"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = playerGui

local label = Instance.new("TextLabel")
label.Name = "FPSLabel"
label.Size = UDim2.new(0, 145, 0, 38)
label.Position = UDim2.new(1, -155, 0, 12)
label.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
label.BackgroundTransparency = 0.2
label.BorderSizePixel = 0
label.TextColor3 = Color3.fromRGB(0, 255, 100)
label.TextSize = 18
label.Font = Enum.Font.GothamBold
label.Text = "FPS: calculando..."
label.Parent = gui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = label

local frames = 0
local elapsed = 0


Comments

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