Universal Script 📌
2.9k Views
175 Executions

RGB FPS viewer

Universal Script 📌
helitonkj165
helitonkj165First script
2 years 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 viewer open source

Updates

  1. Script edited: Create script

View Raw
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 50)
frame.Position = UDim2.new(0.5, -100, 0, 10)
frame.BackgroundTransparency = 0.5
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.Parent = screenGui

local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.Text = "FPS: 0"
textLabel.TextColor3 = Color3.new(1, 1, 1)
textLabel.BackgroundTransparency = 1
textLabel.Font = Enum.Font.SourceSansBold
textLabel.TextSize = 24
textLabel.Parent = frame

local lastTime = tick()
local frameCount = 0
local fps = 0

local function updateColor()
    local time = tick()
    local r = math.sin(time * 1) * 0.5 + 0.5
    local g = math.sin(time * 1.5) * 0.5 + 0.5
    local b = math.sin(time * 2) * 0.5 + 0.5
    textLabel.TextColor3 = Color3.new(r, g, b)
end

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


Comments

1
Log in to join the conversation. Login
nikos_YT7's profile picture
nikos_YT72 years ago(edited)

finally bro i found a fps counter

1

More universal scripts

See all
Script hub
13
3
Approved 22 minutes ago
Script hub
198
1.0k
Bumped 3 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.8k
Bumped 4 hours ago
Key System
Script hub
10.7k
202.7k
Bumped 4 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1