basic FPS counter
Key RequiredUniversal

basic FPS counter

Universal ScriptNoxy_ZT1Noxy_ZT1 50.5K views 438 executesUpdated Jul 15, 2024
5.0/ 5(1 votes)
10100% Positive
Lua Script•24 lines (717 chars)
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.CoreGui

local fpsLabel = Instance.new("TextLabel")
fpsLabel.Size = UDim2.new(0, 200, 0, 50)
fpsLabel.Position = UDim2.new(1, -200, 0, 0) -- Upper right corner
fpsLabel.BackgroundTransparency = 1
fpsLabel.TextColor3 = Color3.new(1, 1, 1)
fpsLabel.Font = Enum.Font.SourceSansBold
fpsLabel.TextScaled = true
fpsLabel.Parent = screenGui

local lastTime = tick()
local frames = 0

game:GetService("RunService").RenderStepped:Connect(function()
    frames = frames + 1
    local currentTime = tick()
    if currentTime - lastTime >= 1 then
        fpsLabel.Text = "FPS: " .. tostring(frames)
        frames = 0
        lastTime = currentTime
    end
end)

Features & Information

This script gives you the number of fps that it gives you within the game. This script is programmed to have no counter limit. If it goes to 1000 fps, the counter will show it.

Community Comments (2)

tenciltencilJul 15, 2024(edited)

add ping

XiamoiXiamoiJul 16, 2024(edited)

mines better lowkey (it has ping): https://scriptblox.com/script/Universal-Script-Simple-FPS-Viewer-15556

More Scripts for Universal Scripts