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