SAVE RESOURCES SCRIPT – FPS BOOST 2022

Created by MemesMakeDreams

Features:

  • RESOURCES SAVER
    • saves stuff when tabbed out, something I’ve had in my auto execute for a while

SCRIPT:

getgenv().fpsthingenabled = true
getgenv().fpsthing = {}
getgenv().fpsthing.maxfpswhen = 65
getgenv().fpsthing.minfpswhen = 22
setfpscap(fpsthing.maxfpswhen)
local uis = game:GetService("UserInputService")
local con1,con2 = nil,nil
local ru=game:GetService("RunService")
con1 = uis.WindowFocused:Connect(function()
if getgenv().fpsthingenabled == true then
ru:Set3dRenderingEnabled(true)
   setfpscap(getgenv().fpsthing.maxfpswhen)
--[[else
con1:Disconnect()
con2:Disconnect()
con1,con2=nil,nil--]]
end
end)
task.wait(2.5)
con2 = uis.WindowFocusReleased:Connect(function()
if getgenv().fpsthingenabled == true then
   setfpscap(getgenv().fpsthing.minfpswhen)
ru:Set3dRenderingEnabled(false)
--[[else
con1:Disconnect()
con2:Disconnect()
con1,con2=nil,nil--]]
end
end)
uis = nil

⚠️ Warning: Do not download any extensions or anything other than .txt/.lua file, because script will download only in .txt/.lua format or It will redirect you to a pastebin link.

📋 Notice: If you find any of the scripts patched or not working, please report it to Forever4D through Discord. The script will be removed or marked as patched!