Universal Script 📌
13.5k Views
337 Executions

FPS GUI

Universal Script 📌
Frawd
FrawdPublished 10
3 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

To turn it on or off, press F IT'S JUST FOR PC lol The GUI is in your head

Updates

  1. Script edited: Create script

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")

local colors = {
    Color3.fromRGB(255, 0, 0), 
    Color3.fromRGB(255, 165, 0), 
    Color3.fromRGB(255, 255, 0), 
    Color3.fromRGB(0, 128, 0), 
    Color3.fromRGB(0, 0, 255), 
    Color3.fromRGB(75, 0, 130), 
    Color3.fromRGB(238, 130, 238)
}
local colorIndex = 1

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local head = character:WaitForChild("Head")

local fpsLabel = Instance.new("BillboardGui")
fpsLabel.Parent = head
fpsLabel.Size = UDim2.new(0, 100, 0, 50)
fpsLabel.StudsOffset = Vector3.new(0, 2, 0)

local fpsTextLabel = Instance.new("TextLabel")
fpsTextLabel.Parent = fpsLabel
fpsTextLabel.Size = UDim2.new(1, 0, 1, 0)
fpsTextLabel.TextColor3 = Color3.new(1, 1, 1)
fpsTextLabel.BackgroundTransparency = 1
fpsTextLabel.TextScaled = true

local function formatFPS(fps)
    return string.format("%d FPS", math.floor(fps + 0.5))
end

local lastFrameTime = tick()
local frameCount = 0

RunService.RenderStepped:Connect(function()


Comments

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

unlocks fps? why is the key f..

1

Tags

More universal scripts

See all
Script hub
5.5M
1.0M
Bumped 25 minutes ago
Key System
Script hub
1.7M
2.2M
Bumped 56 minutes ago
Key System

Script hub

#15 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
14.6k
83.0k
Bumped 56 minutes ago
Key System

Script hub

Kronos New

Script hub
3.2M
753.8k
Bumped 4 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
444
1.2k
Bumped 6 hours ago
Key System
Universal Script 📌
7.1k
142.9k
Bumped 6 hours ago
Script hub
45.8k
114.6k
Bumped 8 hours ago
Key System