Universal Script 📌
1.3k Views
5.5k Executions

Fps Changer

Universal Script 📌
H7O_
H7O_10K executions
8 months 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

change your fps in EVERY game! make your game smooth or very laggy. enjoy!

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

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

local MIN_FPS = 1
local MAX_FPS = 340
local currentCap = 60

local function applyCap(fps)
    fps = math.clamp(math.round(fps), MIN_FPS, MAX_FPS)
    currentCap = fps
    pcall(function() settings().Rendering.FrameRateManager = Enum.FrameRateManagerMode.Disabled end)
    if syn and syn.set_fps_cap then
        syn.set_fps_cap(fps)
    elseif setfpscap then
        setfpscap(fps)
    elseif fps_cap then
        fps_cap(fps)
    end
end

local old = PlayerGui:FindFirstChild("SimpleFPSGui")
if old then old:Destroy() end

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name           = "SimpleFPSGui"
ScreenGui.ResetOnSpawn   = false
ScreenGui.IgnoreGuiInset = true
ScreenGui.Parent         = PlayerGui

local Panel = Instance.new("Frame")
Panel.Size              = UDim2.new(0, 200, 0, 106)
Panel.Position          = UDim2.new(0, 24, 0.5, -53)
Panel.BackgroundColor3  = Color3.fromRGB(14, 14, 22)
Panel.BorderSizePixel   = 0
Panel.Parent            = ScreenGui


Comments

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

Tags

More universal scripts

See all