--// Services
local Workspace = game:GetService("Workspace")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local SoundService = game:GetService("SoundService")
local Lighting = game:GetService("Lighting")
local Players = game:GetService("Players")
--// Remote Cache
local Havoc = ReplicatedStorage:WaitForChild("Havoc", 5)
local Remotes = ReplicatedStorage:WaitForChild("Remotes", 5)
local Replication = Remotes and Remotes:WaitForChild("Replication", 5)
local CreateQT = Remotes and Remotes:WaitForChild("CreateQT", 5)
local CreateDebris = Havoc and Havoc:WaitForChild("Remotes"):WaitForChild("Replicated"):WaitForChild("CreateDebris")
local ReliableFolder = Replication and Replication:WaitForChild("Reliable", 5)
local DestructionRemote = Replication and Replication:WaitForChild("Destruction", 5)
local dropKeywords = {
"creator", "destroy", "effect", "vfx", "impact", "explode", "crater", "title",
"floor", "burst", "lighting", "ground", "slam", "shoot", "crush",
"destruction", "gravitysuck", "uncharge", "1", "explosion", "footstep",
"stomp", "slide", "kratos/ultimate", "gojo/oldult", "rockhit", "fire", "boom"
}
local matchCache = {}
local function checkStringMatch(str)
if not str then return false end
local lowerStr = string.lower(str)
if matchCache[lowerStr] ~= nil then
return matchCache[lowerStr]
end
local keywords = dropKeywords
for i = 1, #keywords do
if string.find(lowerStr, keywords[i], 1, true) then
matchCache[lowerStr] = true
return true
end
end
matchCache[lowerStr] = false
return false
end
local function shouldDrop(args)
local arg1 = args[1]
local arg2 = args[2]
if type(arg1) == "string" then
if checkStringMatch(arg1) then return true end
end
if type(arg2) == "string" then
if arg1 == "Mori/Orbit Breaker" then
arg2 = "jump"
end
if checkStringMatch(arg2) then return true end
end
return false
end
local function hookReliableRemote(remote, dosendtrue)
local connections = getconnections(remote.OnClientEvent)
for _, conn in ipairs(connections) do
local fn = conn.Function
if fn then
conn:Disable()
remote.OnClientEvent:Connect(function(...)
if dosendtrue then
return dosendtrue
end
local args = {...}
if shouldDrop(args) then return end
fn(unpack(args))
end)
end
end
end
if ReliableFolder then
task.defer(function()
for _, remote in ipairs(ReliableFolder:GetChildren()) do
if remote:IsA("RemoteEvent") then
pcall(hookReliableRemote, remote)
end
end
end)
ReliableFolder.ChildAdded:Connect(function(child)
if child:IsA("RemoteEvent") then
task.defer(pcall, hookReliableRemote, child)
end
end)
end
if DestructionRemote then
pcall(function()
for _, conn in ipairs(getconnections(DestructionRemote.OnClientEvent)) do
conn:Disable()
end
DestructionRemote.OnClientEvent:Connect(function() end)
end)
end
if CreateDebris then
pcall(function()
for _, conn in ipairs(getconnections(CreateDebris.OnClientEvent)) do
conn:Disable()
end
CreateDebris.OnClientEvent:Connect(function() end)
end)
end
if setfpscap then setfpscap(999) end
SoundService.AmbientReverb = Enum.ReverbType.NoReverb
local settings = settings()
settings.Rendering.QualityLevel = Enum.QualityLevel.Level01
settings.Rendering.MeshPartDetailLevel = Enum.MeshPartDetailLevel.DistanceBased
pcall(function() Workspace.InterpolationThrottling = Enum.InterpolationThrottlingMode.Enabled end)
pcall(function() Workspace.ClientAnimatorThrottling = Enum.ClientAnimatorThrottlingMode.Enabled end)
local function setFlag(name, value)
pcall(function() setfflag(name, tostring(value)) end)
end
-- Engine Throttling Flags for 2020 CPUs
setFlag("FFlagTaskSchedulerFrameRateManager", true)
setFlag("FIntFRMMaxFrameTimeMs", 15)
setFlag("FFlagThrottlingManager3", true)
setFlag("FFlagEnableClientAnimatorThrottling", true)
setFlag("DFFlagDebugRenderForceTechnologyVoxel", true)
setFlag("FIntRenderShadowIntensity", 0)
setFlag("FFlagDisablePostFx", true)
setFlag("DFIntTextureQualityOverrideEnabled", true)
setFlag("DFIntTextureQualityOverride", 0)
setFlag("DFIntPerformanceControlTextureQualityBestUtility", -1)
setFlag("FIntRenderLocalLightUpdatesMax", 1)
setFlag("FIntRenderLocalLightUpdatesMin", 0)
setFlag("FFlagDisableCSGLevelOfDetailSwitching", true)
setFlag("DFIntDebugFRMQualityLevelOverride", 1)
setFlag("FIntMinGrassDistance", 0)
setFlag("FIntMaxGrassDistance", 0)
setFlag("FFlagGlobalWindRendering", false)
setFlag("FFlagGlobalWindActivated", false)
setFlag("FFlagSimIslandRefreshOptimizations", true)
setFlag("SFIntPGSAsmMinimumSubsteps", 1)
Lighting.GlobalShadows = false
Lighting.FogEnd = 9e9
Comments
No comments yet
Be the first to share your thoughts!