Force More FPS
Key RequiredUniversal

Force More FPS

Universal Scripthuezoangel57huezoangel57 967 views 3.6K executesUpdated Dec 21, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•188 lines (4726 chars)
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Lighting = game:GetService("Lighting")
local Workspace = game:GetService("Workspace")

local CONFIG = {
	TargetFPS = 400,
	RemoveFPSCap = true,
	OptimizeGraphics = true,
	DisablePostEffects = true,
	ReduceShadows = true,
	OptimizeParticles = true,
}

local function unlockFPS()
	setfpscap = setfpscap or set_fps_cap or setfpslimit
	
	if setfpscap then
		setfpscap(CONFIG.TargetFPS)
		print("✓ FPS desbloqueado a " .. CONFIG.TargetFPS)
	else
		warn("⚠ setfpscap no disponible en este executor")
	end
end

local function optimizeGraphics()
	if not CONFIG.OptimizeGraphics then return end
	
	local settings = UserSettings():GetService("UserGameSettings")
	
	pcall(function()
		settings.SavedQualityLevel = Enum.SavedQualitySetting.QualityLevel1
		settings.QualityLevel = Enum.QualityLevel.Level01
	end)
	
	Workspace.StreamingEnabled = false
	
	pcall(function()
		Workspace.MeshPartHeadsAndAccessories = Enum.MeshPartHeadsAndAccessories.Disabled
	end)
	
	print("✓ Gráficos optimizados")
end

local function removePostEffects()
	if not CONFIG.DisablePostEffects then return end
	
	for _, effect in ipairs(Lighting:GetChildren()) do
		if effect:IsA("PostEffect") or effect:IsA("BlurEffect") or effect:IsA("BloomEffect") 
			or effect:IsA("SunRaysEffect") or effect:IsA("ColorCorrectionEffect") 
			or effect:IsA("DepthOfFieldEffect") then
			effect.Enabled = false
		end
	end
	
	Lighting.GlobalShadows = not CONFIG.ReduceShadows
	Lighting.FogEnd = 100000
	Lighting.Brightness = 2
	
	print("✓ Efectos post-procesado desactivados")
end

local function optimizeParticles()
	if not CONFIG.OptimizeParticles then return end
	
	for _, obj in ipairs(Workspace:GetDescendants()) do
		if obj:IsA("ParticleEmitter") or obj:IsA("Trail") or obj:IsA("Smoke") 
			or obj:IsA("Fire") or obj:IsA("Sparkles") then
			obj.Enabled = false
		end
	end
	
	Workspace.DescendantAdded:Connect(function(obj)
		if obj:IsA("ParticleEmitter") or obj:IsA("Trail") or obj:IsA("Smoke") 
			or obj:IsA("Fire") or obj:IsA("Sparkles") then
			obj.Enabled = false
		end
	end)
	
	print("✓ Partículas optimizadas")
end

local function reduceShadows()
	if not CONFIG.ReduceShadows then return end
	
	for _, obj in ipairs(Workspace:GetDescendants()) do
		if obj:IsA("BasePart") then
			obj.CastShadow = false
		end
	end
	
	Workspace.DescendantAdded:Connect(function(obj)
		if obj:IsA("BasePart") then
			obj.CastShadow = false
		end
	end)
	
	print("✓ Sombras desactivadas")
end

local function forceMaxRefreshRate()
	local connection
	connection = RunService.Heartbeat:Connect(function()
		RunService:Set3dRenderingEnabled(true)
	end)
	
	RunService.RenderStepped:Connect(function()
		game:GetService("GuiService"):SetMenuIsOpen(false)
	end)
	
	print("✓ Forzando máximo refresco")
end

local function enablePerformanceStats()
	game:GetService("StarterGui"):SetCore("DevConsoleVisible", false)
	
	local ScreenGui = Instance.new("ScreenGui")
	ScreenGui.Name = "FPSCounter"
	ScreenGui.ResetOnSpawn = false
	ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
	
	local FPSLabel = Instance.new("TextLabel")
	FPSLabel.Size = UDim2.new(0, 150, 0, 50)
	FPSLabel.Position = UDim2.new(1, -160, 0, 10)
	FPSLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
	FPSLabel.BackgroundTransparency = 0.5
	FPSLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
	FPSLabel.TextSize = 20
	FPSLabel.Font = Enum.Font.SourceSansBold
	FPSLabel.Text = "FPS: 0"
	FPSLabel.Parent = ScreenGui
	
	local lastTime = tick()
	local frameCount = 0
	local fps = 0
	
	RunService.RenderStepped:Connect(function()
		frameCount = frameCount + 1
		local currentTime = tick()
		
		if currentTime - lastTime >= 1 then
			fps = frameCount
			frameCount = 0
			lastTime = currentTime
			
			FPSLabel.Text = "FPS: " .. fps
			
			if fps >= 60 then
				FPSLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
			elseif fps >= 30 then
				FPSLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
			else
				FPSLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
			end
		end
	end)
	
	print("✓ Contador FPS activado")
end

local function init()
	print("========================================")
	print("🚀 FPS UNLOCKER & PERFORMANCE BOOSTER")
	print("========================================")
	
	unlockFPS()
	task.wait(0.1)
	optimizeGraphics()
	task.wait(0.1)
	removePostEffects()
	task.wait(0.1)
	optimizeParticles()
	task.wait(0.1)
	reduceShadows()
	task.wait(0.1)
	forceMaxRefreshRate()
	task.wait(0.1)
	enablePerformanceStats()
	
	print("========================================")
	print("✓ Sistema optimizado completamente")
	print("========================================")
end

init()

_G.FPSConfig = CONFIG
_G.ResetFPS = init

Features & Information

Make Roblox Get a More Refresh Rate to play Smooth

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts