Show Fps
Key RequiredUniversal

Show Fps

Universal Scriptbernardo029cbernardo029c 591 views 13K executesUpdated Apr 15, 2026
0.0/ 5(1 votes)
010% Positive
Lua Script•38 lines (1144 chars)
local oldGui = game:GetService("CoreGui"):FindFirstChild("FPS_Display")
if oldGui then oldGui:Destroy() end

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FPS_Display"
screenGui.Parent = game:GetService("CoreGui")
screenGui.IgnoreGuiInset = true

local fpsLabel = Instance.new("TextLabel")
fpsLabel.Parent = screenGui
fpsLabel.Size = UDim2.new(0, 120, 0, 30)
fpsLabel.Position = UDim2.new(1, -130, 0, 10)
fpsLabel.BackgroundTransparency = 0.5
fpsLabel.BackgroundColor3 = Color3.new(0, 0, 0)
fpsLabel.TextColor3 = Color3.new(1, 1, 1)
fpsLabel.TextSize = 18
fpsLabel.Font = Enum.Font.Code

local RunService = game:GetService("RunService")
local lastTime = tick()
local frameCount = 0

RunService.RenderStepped:Connect(function()
    frameCount = frameCount + 1
    local currentTime = tick()
    local delta = currentTime - lastTime
    
    if delta >= 1 then
        local fps = frameCount / delta
        if fps < 1 then
            fpsLabel.Text = string.format("FPS: %.2f", fps)
        else
            fpsLabel.Text = "FPS: " .. math.floor(fps)
        end
        frameCount = 0
        lastTime = currentTime
    end
end)

Features & Information

show your exactly fps.

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts