- 2026-11-18 — Added Script #80: Zuuahub Silent Aim & More.
- 2026-11-15 — Added Script #79: Unnamed Enhancements Cracked & More.
- 2026-11-14 — Added Script #78: Hub.
- 2026-11-14 — Added Script #77: Jitter & More.
- 2026-11-14 — Added Script #76: Aimbot & More.
- 2026-11-13 — Added Script #75: Nexus.Gg & More.
- 2026-11-13 — Added Script #74: Silent Aim & More.
- 2026-11-13 — Added Script #73: Unlock All & More.
- 2026-11-13 — Added Script #72: Updated for open source Update.
- 2026-11-12 — Added Script #71: Body & More.
- 2026-11-12 — Added Script #70: Silent Aim & More.
- 2026-11-12 — Added Script #69: Kicka & More.
- 2026-11-12 — Added Script #68: Updated for v2.0.
- 2026-11-12 — Added Script #67: Cracked & More.
- 2026-11-12 — Added Script #66: Rage & More.
Looking for a RIVALS script for Roblox? This page covers Auto Farm, ESP, Aimbot, Silent Aim, Speed Boost, and Noclip, with a quick look at the game before the code.
RIVALS is a first-person shooter built around 1v1 to 5v5 duels. Step onto a duel pad and fight to be first to five wins. Earn keys for weapons and skins, finish contracts for exclusive rewards, and build your win streak. Keeping that streak alive is the sweaty part.
The script code is below if you’re here for the listed features. Keep in mind that RIVALS permanently bans cheaters and also prohibits sketchy farming methods. A win streak isn’t worth losing your account over.
RIVALS Script – Auto Farm & More
-- https://discord.gg/qkc7q93QnB
loadstring(game:HttpGet("https://raw.githubusercontent.com/imshrak/rivals/refs/heads/main/main"))()Script #2 Working Script
loadstring(game:HttpGet("https://scripts.getv3.lol/sportsclub.luau"))()Script #3 Pulse Hub
loadstring(game:HttpGet("https://raw.githubusercontent.com/PulseZax/Loader/refs/heads/main/.lua"))()Script #4 Auto Farm & More
loadstring(game:HttpGet("https://api.tsuki.best/scripts/b018c6ff954abb0375b7e883f7bc253f.lua"))()Script #5 ESP & More
loadstring(game:HttpGet("https://api.tsuki.best/scripts/863c4b49d210fb4a2a68b7f9f672f9a1.lua"))()Script #6 ESP & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/NervigeMuecke/Z3US-Public/refs/heads/main/main.lua"))()Script #7 ESP & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/kiciahook/kiciahook/refs/heads/main/loader.luau"))()Script #8 Silent Aim & More
loadstring(game:HttpGet("https://joinuranium.com/boot"))()Script #9 UE Hub
loadstring(game:HttpGet("https://rscripts.net/raw/ue-cracked_1791725734770_pPFPkZUmKw.txt",true))()Script #10 Silent Aim & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/LSSOPS/OpenSource/refs/heads/main/KiciaHookHub_Rivals.lua"))()Script #11 Lunaris Hub
loadstring(game:HttpGet("https://jnkie.com/loaders/lunaris"))()Script #12 ESP & More
loadstring(game:HttpGet("https://pastebin.com/raw/1giU2AgE"))()Script #13 OP Srilangish Hub
loadstring(game:HttpGet("https://raw.githubusercontent.com/SrilangishT/SrilangishHub/refs/heads/main/Rivals"))()Script #14 Silent Aim & More
loadstring(game:HttpGet("https://pastefy.app/LgJesrDa/raw"))()Script #15 Panic Jitter & More (Silent Aim, Panic Jitter & Melee Aura Update)
loadstring(game:HttpGet("https://raw.githubusercontent.com/LSSOPS/OpenSource/refs/heads/main/SleepyHub_Rivals.lua"))()Script #16 Free aimbot & More
loadstring(game:HttpGet("https://gist.githubusercontent.com/eliasuser2004/4fd50bf5595573efc7422be8f76c8213/raw/c7e8a93b3505ab168f8dc93e1d97852b7f45b8d9/gistfile1.txt"))()Script #17 Anti
loadstring(game:HttpGet("https://pasteblox.com/raw/mmufx5prya"))()Script #18 TRIGGER BOT & More (mobile supported Update)
-- Join the Discord server to use it in other games ;)
loadstring(game:HttpGet("https://luau.pro/loader"))()Script #19 Visuals (ESP) & More (Mobile Supported, EMULATOR Update)
loadstring(game:HttpGet("https://atomprotect.vercel.app/api/loader/rivals"))()Script #20 Aimbot & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/Akirobg/Reaper-Free/refs/heads/main/obfuscated_script-1792723256310.lua"))()Script #21 [+] Silent Aim & More
loadstring(game:HttpGet('https://kalihub.xyz/loader.lua'))()Script #22 unlock all & More
loadstring(game:HttpGet("https://freescriptrivals.lovable.app/api/public/raw/6d1267c78778"))()Script #23 Silent aim & More
loadstring(game:HttpGet("https://flowauth.net/v1/loaders/186a235a4efd647b2aefacdfa70dedf0.lua"))()Script #24 Aimbot & More
loadstring(game:HttpGet("https://gist.githubusercontent.com/raw/e00a1e2d8366348118b996dd42999b58/l_58a254.lua", true))()Script #25 Stuck + Aim & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/makhijaarjun3-lang/ROBLOX/refs/heads/main/Rivals"))()Script #26 Rivo Hub
loadstring(game:HttpGet("https://raw.githubusercontent.com/gurungunknown96-gif/rivals-v2/refs/heads/main/rivohub"))()Script #27 AIMBOT & More
loadstring(game:HttpGet("https://pastebin.com/raw/w0fMBAjd"))()Script #28 TriggerBot & More
-- Trigger Bot LocalScript with weapon blocklist
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualInputManager = game:GetService("VirtualInputManager")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
-- Settings
local PROXIMITY_RADIUS = 85 -- mouse-targeting tolerance (pixels)
local MIN_CLICK_DELAY = 0.02
local MAX_CLICK_DELAY = 0.07
local CLICK_OFFSET = 12 -- random click offset (± pixels)
-- Blocklist: trigger bot pauses while one of these is equipped
local BLOCKED_WEAPONS = {
"Fists", "Knife", "Katana", "Riot Shield", "Scythe", "Chainsaw",
"Battle Axe", "Spear", "Maul", "Trowel", "Glast Shard"
}
local triggerOn = false
local lastClick = 0
local nextClickDelay = 0
local viewModels = Workspace:FindFirstChild("ViewModels")
local firstPerson = viewModels and viewModels:FindFirstChild("FirstPerson")
-- Weapon state, updated only when the viewmodel changes
local weaponBlocked = false
local function evaluateViewmodel()
weaponBlocked = false
if not firstPerson then return end
local names = {
string.lower(LocalPlayer.Name),
string.lower(LocalPlayer.DisplayName),
}
for _, model in ipairs(firstPerson:GetDescendants()) do
if model:IsA("Model") then
local modelName = string.lower(model.Name)
local isMine = false
for _, n in ipairs(names) do
if string.find(modelName, n, 1, true) then
isMine = true
break
end
end
if isMine then
for _, weapon in ipairs(BLOCKED_WEAPONS) do
if string.find(modelName, string.lower(weapon), 1, true) then
weaponBlocked = true
return
end
end
return -- found my viewmodel; weapon not on blocklist
end
end
end
end
-- Re-evaluate ONLY when the viewmodel hierarchy changes (event-driven, no polling)
if firstPerson then
firstPerson.DescendantAdded:Connect(evaluateViewmodel)
firstPerson.DescendantRemoving:Connect(evaluateViewmodel)
evaluateViewmodel()
end
local function humanoidAtCursor()
local target = Mouse.Target
if not target then return nil end
local model = target:FindFirstAncestorOfClass("Model")
while model do
if model:FindFirstChildOfClass("Humanoid") then
return (model ~= LocalPlayer.Character) and model or nil
end
model = model.Parent
end
return nil
end
RunService.RenderStepped:Connect(function()
if not triggerOn or weaponBlocked then return end
local now = os.clock()
if now - lastClick < nextClickDelay then return end
if humanoidAtCursor() then
local pos = UserInputService:GetMouseLocation()
local x = pos.X + math.random(-CLICK_OFFSET, CLICK_OFFSET)
local y = pos.Y + math.random(-CLICK_OFFSET, CLICK_OFFSET)
VirtualInputManager:SendMouseButtonEvent(x, y, 0, true, game, 0)
VirtualInputManager:SendMouseButtonEvent(x, y, 0, false, game, 0)
lastClick = now
nextClickDelay = MIN_CLICK_DELAY + math.random() * (MAX_CLICK_DELAY - MIN_CLICK_DELAY)
end
end)
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.P then
triggerOn = not triggerOn
print("Trigger Bot:", triggerOn and "ON" or "OFF")
end
end)
print("Trigger Bot:", triggerOn and "ON" or "OFF")
if weaponBlocked then
print("Trigger Bot: paused (blocked weapon equipped)")
endScript #29 KPCHOOK v6 — Core Features & More
loadstring(game:HttpGet("https://kpchook.vyk103736.workers.dev/?key=KPCHOOK_5408_KHANHPC"))()Script #30 Aimbot & More
loadstring(game:HttpGet("https://pastebin.com/raw/ZDYWwxuK"))()Script #31 ⚡ RIVALS WALKSPEED SCRIPT BY LAKSHY & More
loadstring(game:HttpGet("https://pastefy.app/RbgxwJph/raw"))()Script #32 Features * & More
loadstring(game:HttpGet("https://vault.pandauth.com/vss/7bf1cd26f657851f"))()Script #33 Rivlas Script | Waveflow HUB & More
loadstring(game:HttpGet("https://flowauth.net/v1/loaders/560485f68c5ab1e4912fd178eb173f6c.lua"))()Script #34 # 🌙 LUNA · Rivals v2.0 & More
loadstring(game:HttpGet("https://pastefy.app/arV8GOLf/raw"))()Script #35 Vanguard Hub
https://vanguardhub.pro/Script #35 Aimbot & More
loadstring(game:HttpGet("https://lua.vanish.nyc/", true))()Script #36 its a leaked source off alacrity.rip & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/Ropro15/Alacrity.rip.leaked.lua/refs/heads/main/Leaked.lua"))()Script #37 auto shot & More (Better Version Update)
local Core = loadstring(game:HttpGet(
"https://raw.githubusercontent.com/winCloudDev/MayBeeHub-/refs/heads/main/Core.lua"
))()
--Webhook--
loadstring(game:HttpGet("https://raw.githubusercontent.com/winCloudDev/MayBeeHub-/refs/heads/main/MayBeeHub_Webhook_Logger.lua"))()
--Loader Script--
loadstring(game:HttpGet("https://vault.pandauth.com/vss/caf439963d631875"))()Script #38 ❤️ ikyu | RIVALS — Advanced Aim Assist, ESP & Visuals & More (AIMBOT Update)
loadstring(game:HttpGet("https://ikyu-scripts.onrender.com/get-rivals"))()Script #39 worst script ever, that got cracked by &dcp. & More
-- > Serivces
local Players = game:GetService('Players')
-- > Variables
local LocalPlayer = Players.LocalPlayer
-- > Connections
local Success, Response = pcall(function()
return loadstring(game:HttpGet('https://api.rubis.app/v2/scrap/dayPPfEvMZ6UZFAj/raw'), '@Symbiote')
end) Response('06221158fbb720d64cae2afdfb498ecb' .. '_' .. LocalPlayer.UserId .. '_' .. LocalPlayer.Name, {
S = '06221158fbb720d64cae2afdfb498ecb', UID = LocalPlayer.UserId,
--
IsAlive = function(Challenge)
if Challenge ~= nil then
return tostring(Challenge) .. '_' .. string.sub('06221158fbb720d64cae2afdfb498ecb', 1, 8)
end
--
return true
end
})Script #40 this is the leaked source off luahook & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/Ropro15/LUAHOOK.Leaked/refs/heads/main/Luahook.lua"))()Script #41 yabujin cracked. working on dc rn & More
task.spawn(function()
pcall(function()
loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6add4328a78295088e23bb12"))()
end)
end)
--[[rscripts:analytics:end]]
loadstring(game:HttpGet("https://gist.githubusercontent.com/xidy-scripts/03991c2aee6429d345956d4290da31db/raw/677fd0b514f983d2a2767cba0b10d273327e016c/script.lua"))()Script #42 Aimbot & More
loadstring(game:HttpGet("https://pastebin.com/raw/NXwy0LNi"))()Script #43 Luna Hub
loadstring(game:HttpGet("https://pastefy.app/3V8VSW8N/raw"))()Script #44 Skinchanger & More
-- Recovered runtime. Missing original game dependencies are reported explicitly.
local globalEnv = getfenv()
local function createRuntime(overrides)
local context = {}
for key,value in pairs(overrides or {}) do context[key]=value end
local function service(name)
if not game then return nil end
local ok,value=pcall(game.GetService,game,name)
return ok and value or nil
end
local players=context.Players or service("Players")
local player=context.LocalPlayer or (players and players.LocalPlayer)
local config=context.spoofConfig or {}
context.spoofConfig=config
context.Players,context.LocalPlayer=players,player
context.Workspace=context.Workspace or workspace
context.localOriginalUserId=context.localOriginalUserId or (player and player.UserId) or 0
context.localOriginalName=context.localOriginalName or (player and player.Name) or ""
context.origUserId=context.origUserId or context.localOriginalUserId
context.localUserId=context.localUserId or context.localOriginalUserId
context.origPlayerName=context.origPlayerName or context.localOriginalName
context.origDisplayName=context.origDisplayName or (player and player.DisplayName) or context.origPlayerName
context.origGetPlayerByUserId=context.origGetPlayerByUserId or (players and players.GetPlayerByUserId)
context.origGetAttribute=context.origGetAttribute or (player and player.GetAttribute)
context.clockFunc=context.clockFunc or os.clock
context.cfg=context.cfg or {cacheTtl=0.25}
context.beamRotationOffset=context.beamRotationOffset or 0
context.prngState=context.prngState or 0
context.tickCounter=context.tickCounter or 0
for _,key in ipairs({"rankedConfig","ownershipCache","timestampCache","unlockedTable1","unlockedTable2","unlockedTable3","unlockedTable4","unlockedTable5","weaponSkinsMap1","weaponSkinsMap2","weaponSkinsMap3","savedSettings","equippedCosmeticsOverride","specificUnlockedWeapons","ItemDatabase","favoritedWeaponsMap","WeaponConfig","favoritedCosmeticsOverride","equippedEmotesOverride","streakSpoofState","origBillboardOffsets","activeBeamsList","yabujinUsers"})do
context[key]=context[key] or {}
end
context.pingConfig=context.pingConfig or {PingSpoof=false,PingMode="Static",PingValue=50}
context.stretchConfig=context.stretchConfig or {x=1,y=1}
for _,key in ipairs({"_safeQueue","RealUserIdMap","OtherPlayerOriginals","_menuLockedCosmetics"})do config[key]=config[key] or {}end
config._stopped=false
local YabujinDeobfuscated={Context=context,Required={},Alive=true}
local function resolve(key)
if context[key]~=nil then return context[key]end
if globalEnv[key]~=nil then return globalEnv[key]end
if key=="spooferActive"or key=="forceUnlockAll"or key=="unlockerEnabled"or key=="isActive"then return false end
if key=="weaponUnlockMode"then return "None"end
if key=="getRealUserId"or key=="getSpoofedPlayerNames"or key=="isCosmeticUnlocked"then
return function(...)
local name=key=="isCosmeticUnlocked"and"isCosmeticUnlockedCached"or key
return assert(YabujinDeobfuscated[name],"Recovered helper unavailable: "..name)(...)
end
end
if key=="getYabujinSpoofField"then
return function(userId,field)
local user=context.yabujinUsers[userId]or context.yabujinUsers[tostring(userId)]
return user and user.spoofer and user.spoofer[field]
end
end
return nil
end
local runtimeEnv=setmetatable({}, {__index=function(_,key)
if context[key]~=nil then return context[key]end
return globalEnv[key]
end,__newindex=function(_,key,value)context[key]=value end})
setfenv(1,runtimeEnv)
-- ============================================================================
-- PART 1: Yabujin Client (Roblox Rivals) Core Functions & Hooks
-- ============================================================================
-- ----------------------------------------------------------------------------
-- Function [22]: runWithElevatedThreadIdentity (485 bytes)
-- Description: Elevates executor thread identity to 8 (with fallback to 7, 6, 3 on 'lacking capability') for privileged Roblox API calls.
-- Resolved Upvalues: [1] = setthreadidentity, [2] = pcall, [3] = getthreadidentity
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["runWithElevatedThreadIdentity"]={"setthreadidentity","pcall","getthreadidentity"}
local setthreadidentity, pcall, getthreadidentity = resolve("setthreadidentity"), resolve("pcall"), resolve("getthreadidentity")
YabujinDeobfuscated.runWithElevatedThreadIdentity = function(b, ...)
if not setthreadidentity then return pcall(b, ...)
end
local J
pcall(function()
J = getthreadidentity and(getthreadidentity())
end)
pcall(setthreadidentity, 8)
local N = table.pack(pcall(b, ...))
if not N[1] and type(N[2]) == "string" and(N[2]:find("lacking capability", 1, true)) then
local A = {7, 6, 3}
for q, q in ipairs(A) do
pcall(setthreadidentity, q)
N = table.pack(pcall(b, ...))
if N[1] then
break
end
if type(N[2]) ~= "string" or not N[2]:find("lacking capability", 1, true) then
break
end
end
end
if J ~= nil then
pcall(setthreadidentity, J)
end
return table.unpack(N, 1, N.n)
end
end
-- ----------------------------------------------------------------------------
-- Function [125]: runSafeQueueWorker (205 bytes)
-- Description: Background coroutine loop that maintains thread identity 8 and executes queued callbacks in _safeQueue via _withId.
-- Resolved Upvalues: [1] = setthreadidentity, [2] = pcall, [3] = spoofConfig
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["runSafeQueueWorker"]={"setthreadidentity","pcall","spoofConfig"}
local setthreadidentity, pcall, spoofConfig = resolve("setthreadidentity"), resolve("pcall"), resolve("spoofConfig")
YabujinDeobfuscated.runSafeQueueWorker = function()
while not spoofConfig._stopped do
if setthreadidentity then
pcall(setthreadidentity, 8)
end
while#spoofConfig._safeQueue > 0 do
local b = table.remove(spoofConfig._safeQueue, 1)
if b then
spoofConfig._withId(b)
end
end
task.wait()
end
end
end
-- ----------------------------------------------------------------------------
-- Function [55]: getRealUserId (210 bytes)
-- Description: Returns the real UserId of a Player (checking LocalPlayer and RealUserIdMap before player.UserId).
-- Resolved Upvalues: [1] = LocalPlayer, [2] = localOriginalUserId, [3] = spoofConfig
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["getRealUserId"]={"LocalPlayer","localOriginalUserId","spoofConfig"}
local LocalPlayer, localOriginalUserId, spoofConfig = resolve("LocalPlayer"), resolve("localOriginalUserId"), resolve("spoofConfig")
YabujinDeobfuscated.getRealUserId = function(b)
if b == LocalPlayer then return localOriginalUserId
end
local J = spoofConfig.RealUserIdMap
if J and J[b] then
return J[b]
end
if typeof(b) == "Instance" and(b:IsA("Player")) then
return b.UserId
end
return 0
end
end
-- ----------------------------------------------------------------------------
-- Function [42]: getOriginalPlayerName (178 bytes)
-- Description: Returns the unspoofed username of a Player from OtherPlayerOriginals.
-- Resolved Upvalues: [1] = LocalPlayer, [2] = localOriginalName, [3] = spoofConfig
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["getOriginalPlayerName"]={"LocalPlayer","localOriginalName","spoofConfig"}
local LocalPlayer, localOriginalName, spoofConfig = resolve("LocalPlayer"), resolve("localOriginalName"), resolve("spoofConfig")
YabujinDeobfuscated.getOriginalPlayerName = function(b)
if b == LocalPlayer then return localOriginalName
end
local J = spoofConfig.OtherPlayerOriginals
if J and J[b] and J[b].Name then
return J[b].Name
end
return b.Name
end
end
-- ----------------------------------------------------------------------------
-- Function [108]: getSpoofedPlayerNames (693 bytes)
-- Description: Returns (spoofedName, spoofedDisplayName) for LocalPlayer, yabujinUsers[userId].spoofer, or AnonymousMode.
-- Resolved Upvalues: [1] = LocalPlayer, [2] = spoofConfig, [3] = getRealUserId, [4] = getYabujinSpoofField
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["getSpoofedPlayerNames"]={"LocalPlayer","spoofConfig","getRealUserId","getYabujinSpoofField"}
local LocalPlayer, spoofConfig, getRealUserId, getYabujinSpoofField = resolve("LocalPlayer"), resolve("spoofConfig"), resolve("getRealUserId"), resolve("getYabujinSpoofField")
YabujinDeobfuscated.getSpoofedPlayerNames = function(b)
if not b then return nil, nil
end
if b == LocalPlayer then
if not spoofConfig.UsernameSpoof then
return nil, nil
end
local J, N = spoofConfig.SpoofedName, spoofConfig.SpoofedDisplayName
local A = J and J ~= "" and J or nil
return A, N and N ~= "" and N or A
end
local J = getRealUserId(b)
b = yabujinUsers[J] or yabujinUsers[tostring(J)]
if b and b.spoofer and(next(b.spoofer)) then
local b = getYabujinSpoofField(J, "Username")
if not b or type(b) ~= "table" then
return nil, nil
end
local J = b.name and b.name ~= "" and b.name or nil
return J, b.displayName and b.displayName ~= "" and b.displayName or J
end
if spoofConfig.AnonymousMode then
return spoofConfig.AnonName or "Roblox", spoofConfig.AnonDisplayName or "Roblox"
end
return nil, nil
end
end
-- ----------------------------------------------------------------------------
-- Function [91]: applyLocalPlayerIdentitySpoof (1190 bytes)
-- Description: Applies spoofed Name, DisplayName, and UserId to LocalPlayer and updates the in-game PlayerLabel UI.
-- Resolved Upvalues: [1] = spoofConfig, [2] = origPlayerName, [3] = LocalPlayer, [4] = pcall, [5] = origDisplayName, [6] = origUserId
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["applyLocalPlayerIdentitySpoof"]={"spoofConfig","origPlayerName","LocalPlayer","pcall","origDisplayName","origUserId"}
local spoofConfig, origPlayerName, LocalPlayer, pcall, origDisplayName, origUserId = resolve("spoofConfig"), resolve("origPlayerName"), resolve("LocalPlayer"), resolve("pcall"), resolve("origDisplayName"), resolve("origUserId")
YabujinDeobfuscated.applyLocalPlayerIdentitySpoof = function()
local b = nil
if spoofConfig.UsernameSpoof then
local J = spoofConfig.SpoofedName
b = J and J ~= "" and J or origPlayerName
else
b = origPlayerName
end
local J = b ~= LocalPlayer.Name
if J then
pcall(function()
local N = spoofConfig._findPlayersFrame and(spoofConfig._findPlayersFrame())
if N then
local A = N:FindFirstChild("PlayerLabel" .. LocalPlayer.Name)
if A then
A:Destroy()
end
end
end)
end
pcall(function()
LocalPlayer.Name = b
end)
if spoofConfig.UsernameSpoof then
local b, N = spoofConfig.SpoofedDisplayName, spoofConfig.SpoofedName
if b and b ~= "" then
pcall(function()
LocalPlayer.DisplayName = b
end)
elseif N and N ~= "" then
pcall(function()
LocalPlayer.DisplayName = N
end)
else
pcall(function()
LocalPlayer.DisplayName = origDisplayName
end)
end
else
pcall(function()
LocalPlayer.DisplayName = origDisplayName
end)
end
if not J then
pcall(function()
local b = spoofConfig._findPlayersFrame and(spoofConfig._findPlayersFrame())
if b then
local J = b:FindFirstChild("PlayerLabel" .. LocalPlayer.Name)
if J then
local b = J:FindFirstChild("DisplayNameLabel")
if b then
b.Text = LocalPlayer.DisplayName
end
end
end
end)
end
spoofConfig._withId(function()
if spoofConfig.AvatarSpoof and spoofConfig.AvatarUserId and spoofConfig.AvatarUserId ~= 0 then LocalPlayer.UserId = spoofConfig.AvatarUserId
else
LocalPlayer.UserId = origUserId
end
end)
end
end
-- ----------------------------------------------------------------------------
-- Function [99]: hookGetPlayerByUserId (374 bytes)
-- Description: Hooks Players:GetPlayerByUserId to resolve spoofed AvatarUserId and RealUserIdMap entries.
-- Resolved Upvalues: [1] = spoofConfig, [2] = localOriginalUserId, [3] = origGetPlayerByUserId, [4] = localSpoofTargetId
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookGetPlayerByUserId"]={"spoofConfig","localOriginalUserId","origGetPlayerByUserId","localSpoofTargetId"}
local spoofConfig, localOriginalUserId, origGetPlayerByUserId, localSpoofTargetId = resolve("spoofConfig"), resolve("localOriginalUserId"), resolve("origGetPlayerByUserId"), resolve("localSpoofTargetId")
YabujinDeobfuscated.hookGetPlayerByUserId = function(b, J)
if spoofConfig.AvatarSpoof and spoofConfig.AvatarUserId then
if type(J) == "number" and(J == spoofConfig.AvatarUserId or J == localOriginalUserId) then
return origGetPlayerByUserId(b, localSpoofTargetId)
end
end
local N = origGetPlayerByUserId(b, J)
if not N and type(J) == "number" and spoofConfig.RealUserIdMap then
for A, q in pairs(spoofConfig.RealUserIdMap) do
if q == J then
local J = origGetPlayerByUserId(b, A)
if J then
return J
end
end
end
end
return N
end
end
-- ----------------------------------------------------------------------------
-- Function [1]: hookPlayerGetAttribute (1146 bytes)
-- Description: Hooks Player:GetAttribute to spoof Streak, ELO, LeaderboardRank, Level, and PlayerStatus ('Prime'/'Contraband') for yabujinUsers and AnonymousMode.
-- Resolved Upvalues: [1] = getRealUserId, [2] = getYabujinSpoofField, [3] = spoofConfig, [4] = origGetAttribute
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookPlayerGetAttribute"]={"getRealUserId","getYabujinSpoofField","spoofConfig","origGetAttribute"}
local getRealUserId, getYabujinSpoofField, spoofConfig, origGetAttribute = resolve("getRealUserId"), resolve("getYabujinSpoofField"), resolve("spoofConfig"), resolve("origGetAttribute")
YabujinDeobfuscated.hookPlayerGetAttribute = function(b, J)
if typeof(b) == "Instance" and(b:IsA("Player")) then local N = getRealUserId(b)
if yabujinUsers[N] and yabujinUsers[N].spoofer then
if J == "StatisticDuelsWinStreak" then
local A = getYabujinSpoofField(N, "Streak")
if A then
return A
end
elseif J == "DisplayELO" then
local A = getYabujinSpoofField(N, "ELO")
if A then
return A
end
elseif J == "DisplayELOLeaderboardRanking" then
local A = getYabujinSpoofField(N, "LeaderboardRank")
if A then
return A
end
elseif J == "Level" then
local A = getYabujinSpoofField(N, "Level")
if A then
return A
end
elseif J == "PlayerStatus" then
local A = getYabujinSpoofField(N, "Pass")
if A and type(A) == "number" and A > 1 then
if A == 2 then
return "Prime"
elseif A == 3 then
return "Contraband"
end
end
end
end
end
if spoofConfig.AnonymousMode then
local N = getRealUserId(b)
if not(yabujinUsers[N] and yabujinUsers[N].spoofer) then
if J == "StatisticDuelsWinStreak" and spoofConfig.AnonStreak then
return spoofConfig.AnonStreak
end
if J == "DisplayELO" and spoofConfig.AnonELO then
return spoofConfig.AnonELO
end
if J == "Level" and spoofConfig.AnonLevel then
return spoofConfig.AnonLevel
end
if J == "DisplayELOLeaderboardRanking" then
return 0
end
end
end
return origGetAttribute(b, J)
end
end
-- ----------------------------------------------------------------------------
-- Function [8]: hookNametagDisplayName (527 bytes)
-- Description: Hooks player nametag/chat display name for yabujinUsers, AnonymousMode, and local UsernameSpoof.
-- Resolved Upvalues: [1] = LocalPlayer, [2] = getRealUserId, [3] = getSpoofedPlayerNames, [4] = spoofConfig, [5] = origNametagFunc
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookNametagDisplayName"]={"LocalPlayer","getRealUserId","getSpoofedPlayerNames","spoofConfig","origNametagFunc"}
local LocalPlayer, getRealUserId, getSpoofedPlayerNames, spoofConfig, origNametagFunc = resolve("LocalPlayer"), resolve("getRealUserId"), resolve("getSpoofedPlayerNames"), resolve("spoofConfig"), resolve("origNametagFunc")
YabujinDeobfuscated.hookNametagDisplayName = function(b, J, N, A)
if J and J ~= LocalPlayer then local q = getRealUserId(J)
local W = yabujinUsers[q] or yabujinUsers[tostring(q)]
if W and W.spoofer and(next(W.spoofer)) then
local q, q = getSpoofedPlayerNames(J)
N = if q and q ~= "" then q else N
elseif spoofConfig.AnonymousMode then
return origNametagFunc(b, J, spoofConfig.AnonDisplayName or "Roblox", A)
end
end
return origNametagFunc(b, J, if J == LocalPlayer and spoofConfig.UsernameSpoof then spoofConfig.SpoofedDisplayName ~= "" and spoofConfig.SpoofedDisplayName or(spoofConfig.SpoofedName ~= "" and spoofConfig.SpoofedName or J.DisplayName) else N, A)
end
end
-- ----------------------------------------------------------------------------
-- Function [20]: hookClientDataGet (9874 bytes)
-- Description: Core Rivals client data interceptor: spoofs Seasons, Ranked ELO, LeaderboardRank, BattlePass, Currencies (Keys, UnlockTokens, EventCurrency, Glory, SkinTickets), CosmeticInventory, WeaponInventory, EquippedCosmetics, EquippedEmotes, Statistics, FavoriteWeapons/Map, WeaponStatistics, DuelHistory, and LoggedELOEvents.
-- Resolved Upvalues: [1] = spooferActive, [2] = origDataGet, [3] = spoofConfig, [4] = rankedConfig, [5] = cachedSeasonsTable, [6] = cachedOrigSeasons, [7] = cachedSeasonsKey, [8] = equippedCosmeticsOverride, [9] = isCosmeticUnlocked, [10] = weaponUnlockMode, [11] = cachedWeaponInventory, [12] = specificUnlockedWeapons, [13] = ItemDatabase, [14] = favoritedWeaponsMap, [15] = WeaponConfig, [16] = favoritedCosmeticsOverride, [17] = equippedEmotesOverride, [18] = streakSpoofState
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookClientDataGet"]={"spooferActive","origDataGet","spoofConfig","rankedConfig","cachedSeasonsTable","cachedOrigSeasons","cachedSeasonsKey","equippedCosmeticsOverride","isCosmeticUnlocked","weaponUnlockMode","cachedWeaponInventory","specificUnlockedWeapons","ItemDatabase","favoritedWeaponsMap","WeaponConfig","favoritedCosmeticsOverride","equippedEmotesOverride","streakSpoofState"}
local spooferActive, origDataGet, spoofConfig, rankedConfig, cachedSeasonsTable, cachedOrigSeasons, cachedSeasonsKey, equippedCosmeticsOverride, isCosmeticUnlocked, weaponUnlockMode, cachedWeaponInventory, specificUnlockedWeapons, ItemDatabase, favoritedWeaponsMap, WeaponConfig, favoritedCosmeticsOverride, equippedEmotesOverride, streakSpoofState = resolve("spooferActive"), resolve("origDataGet"), resolve("spoofConfig"), resolve("rankedConfig"), resolve("cachedSeasonsTable"), resolve("cachedOrigSeasons"), resolve("cachedSeasonsKey"), resolve("equippedCosmeticsOverride"), resolve("isCosmeticUnlocked"), resolve("weaponUnlockMode"), resolve("cachedWeaponInventory"), resolve("specificUnlockedWeapons"), resolve("ItemDatabase"), resolve("favoritedWeaponsMap"), resolve("WeaponConfig"), resolve("favoritedCosmeticsOverride"), resolve("equippedEmotesOverride"), resolve("streakSpoofState")
YabujinDeobfuscated.hookClientDataGet = function(b, J, ...)
if not spooferActive then return origDataGet(b, J, ...)
end
if spoofConfig.HideBeginnerTasks and J == "BeginnerTasksCompleted" then
return math.huge
end
if J == "Seasons" then
local N = rankedConfig.forceRankedFakeElo and spoofConfig._forceRankedSummaryElo ~= nil
if not spoofConfig.ELOSpoof and not spoofConfig.PassSpoof and not spoofConfig.PassLevelSpoof and not N then
return origDataGet(b, J, ...)
end
local A = origDataGet(b, J, ...)
local q = tostring(spoofConfig.ELOSpoof) .. "|" .. tostring(spoofConfig.SpoofedELO or "") .. "|" .. tostring(spoofConfig.SpoofedLeaderboardRank or "") .. "|" .. tostring(rankedConfig.forceRankedFakeElo) .. "|" .. tostring(spoofConfig._forceRankedSummaryElo or "")
if cachedSeasonsTable and cachedOrigSeasons == A and cachedSeasonsKey == q then
return cachedSeasonsTable
end
if A then
local W = table.clone(A)
for U, L in pairs(W) do
local h, B, R = false, if N then spoofConfig._forceRankedSummaryElo else
if spoofConfig.ELOSpoof and spoofConfig.SpoofedELO then
spoofConfig.SpoofedELO
else
nil
if B and L.RankedPerformances then
R = table.clone(L)
local s = table.clone(L.RankedPerformances)
for d, w in pairs(s) do
local u = table.clone(w)
u.CurrentELO = B
if not N and spoofConfig.SpoofedLeaderboardRank then
u.CurrentLeaderboardRanking = spoofConfig.SpoofedLeaderboardRank
if u.Metadata then
w = table.clone(u.Metadata)
w.FinalLeaderboardRank = spoofConfig.SpoofedLeaderboardRank
u.Metadata = w
end
elseif not N then
u.CurrentLeaderboardRanking = nil
end
if u.HighestELO and u.HighestELO < B then
u.HighestELO = B
end
s[d] = u
end
R.RankedPerformances = s
h = true
else
R = L
end
if(spoofConfig.PassSpoof and spoofConfig.SpoofPassTrack or spoofConfig.PassLevelSpoof and spoofConfig.SpoofedPassLevel) and L.BattlePass then
R = if R == L then(table.clone(L)) else R
B = table.clone(L.BattlePass)
if spoofConfig.PassSpoof and spoofConfig.SpoofPassTrack then
if spoofConfig.SpoofPassTrack == 3 then
B.MaxPassTrackNum = 2
B.SeasonPassBundleOwned = true
else
B.MaxPassTrackNum = spoofConfig.SpoofPassTrack
B.SeasonPassBundleOwned = false
end
end
if spoofConfig.PassLevelSpoof and spoofConfig.SpoofedPassLevel then
B.PassLevel = spoofConfig.SpoofedPassLevel
end
R.BattlePass = B
h = true
end
if h then
W[U] = R
end
end
cachedSeasonsTable, cachedOrigSeasons, cachedSeasonsKey = W, A, q
return W
end
return A
end
if J == "EquippedCosmetics" then
local N = origDataGet(b, J, ...)
if not next(equippedCosmeticsOverride) then
return N
end
local A = N and(table.clone(N)) or{}
for N, q in pairs(equippedCosmeticsOverride) do
A[N] = A[N] or{}
for W, U in pairs(q) do
A[N][W] = U
end
end
return A
end
if J == "Level" then
if spoofConfig.LevelSpoof and spoofConfig.SpoofedLevel then
return spoofConfig.SpoofedLevel
end
return origDataGet(b, J, ...)
end
if J == "WeaponKeys" then
if spoofConfig.KeysSpoof and spoofConfig.SpoofedKeys then
return spoofConfig.SpoofedKeys
end
return origDataGet(b, J, ...)
end
if J == "UnlockTokens" then
if spoofConfig.TokensSpoof and spoofConfig.SpoofedTokens then
return spoofConfig.SpoofedTokens
end
return origDataGet(b, J, ...)
end
if J == "EventCurrency" then
if spoofConfig.EventCurrSpoof and spoofConfig.SpoofedEventCurr then
return spoofConfig.SpoofedEventCurr
end
return origDataGet(b, J, ...)
end
if J == "Glory" then
if spoofConfig.GlorySpoof and spoofConfig.SpoofedGlory then
return spoofConfig.SpoofedGlory
end
return origDataGet(b, J, ...)
end
if J == "SkinTickets" then
if spoofConfig.SkinTicketsSpoof and spoofConfig.SpoofedSkinTickets then
return spoofConfig.SpoofedSkinTickets
end
return origDataGet(b, J, ...)
end
if J == "StatisticPlaytime" then
if spoofConfig.PlaytimeSpoof and spoofConfig.SpoofedPlaytime then
return spoofConfig.SpoofedPlaytime
end
return origDataGet(b, J, ...)
end
if J == "CosmeticInventory" then
if spoofConfig._cachedInvProxy and spoofConfig._cachedInvProxySelf == b then
return spoofConfig._cachedInvProxy
end
local N, A, q = b, 0
local W = setmetatable({}, {__index = function(U, L)
if not spooferActive then
if q then
return rawget(q, L)
end
return nil
end
U = tick()
if not q or U -A > 2 then
q, A = origDataGet(N, "CosmeticInventory"), U
end
if q and(rawget(q, L)) then
return rawget(q, L)
end
if isCosmeticUnlocked(L) then
return true
end
end
})
spoofConfig._cachedInvProxy = W
spoofConfig._cachedInvProxySelf = b
return W
end
if J == "WeaponInventory" then
if weaponUnlockMode == "none" then
local N = origDataGet(b, J, ...)
if type(spoofConfig._scriptUnlockedWeapons) ~= "table" or not next(spoofConfig._scriptUnlockedWeapons) then
return N
end
local A = {}
if N then
for q, W in pairs(N) do
if not spoofConfig._scriptUnlockedWeapons[W and W.Name or q] then
A[q] = W
end
end
end
return A
end
if cachedWeaponInventory then
return cachedWeaponInventory
end
local N = origDataGet(b, J, ...)
local A = {}
if weaponUnlockMode == "specific" then
if N then
for q, W in pairs(N) do
if specificUnlockedWeapons[q] then
A[q] = W
end
end
end
for q in pairs(specificUnlockedWeapons) do
if not A[q] then
local W = ItemDatabase.Items[q]
if W and W.Class then
A[q] = {Name = q, Owned = true, Class = W.Class, Unlocked = true, Level = 1, XP = 0, IsFavorited = favoritedWeaponsMap[q] or false}
end
end
end
elseif weaponUnlockMode == "unlockable" then
if N then
for q, W in pairs(N) do
A[q] = W
end
end
for q, W in ipairs(WeaponConfig.OwnableWeapons or{}) do
if not A[W] then
q = ItemDatabase.Items[W]
if q and q.Class then
A[W] = {Name = W, Owned = true, Class = q.Class, Unlocked = true, Level = 1, XP = 0, IsFavorited = favoritedWeaponsMap[W] or false}
end
end
end
elseif weaponUnlockMode == "all" then
if N then
for q, W in pairs(N) do
A[q] = W
end
end
for N, q in pairs(ItemDatabase.Items) do
if not A[N] and q and q.Class then
A[N] = {Name = N, Owned = true, Class = q.Class, Unlocked = true, Level = 1, XP = 0, IsFavorited = favoritedWeaponsMap[N] or false}
end
end
end
for N, q in pairs(A) do
if favoritedWeaponsMap[N] ~= nil then
q.IsFavorited = favoritedWeaponsMap[N]
end
end
cachedWeaponInventory = A
return A
end
if J == "FavoritedCosmetics" then
local N = origDataGet(b, J, ...)
if not next(favoritedCosmeticsOverride) then
return N
end
local A, q = N and(table.clone(N)) or{}, origDataGet(b, "CosmeticInventory")
for N, W in pairs(favoritedCosmeticsOverride) do
for U, L in pairs(W) do
if L and(isCosmeticUnlocked(U) or q and(rawget(q, U))) then
A[N] = A[N] or{}
A[N][U] = L
end
end
end
return A
end
if J == "EquippedEmotes" then
if not next(equippedEmotesOverride) then
return origDataGet(b, J, ...)
end
local N = origDataGet(b, J, ...)
local A = N and(table.clone(N)) or{}
for N, q in pairs(equippedEmotesOverride) do
if q and q.Name and q.Name ~= "" then
A[N] = q
end
end
return A
end
if J == "RankedELO" or J == "RankedCurrentELO" or J == "ELO" then
if spoofConfig.ELOSpoof and spoofConfig.SpoofedELO then
return spoofConfig.SpoofedELO
end
return origDataGet(b, J, ...)
end
if J == "Statistics" then
if not spoofConfig.StatsSpoof or not spoofConfig.SpoofedStats then
return origDataGet(b, J, ...)
end
local N = origDataGet(b, J, ...)
if not N then
return N
end
local A, q = table.clone(N), spoofConfig.SpoofedStats
if q.casualWins then
A.CasualWins = q.casualWins
end
if q.casualLosses then
A.CasualLosses = q.casualLosses
end
if q.rankedWins then
A.RankedWins = q.rankedWins
end
if q.rankedLosses then
A.RankedLosses = q.rankedLosses
end
if q.streak then
A.Streak = q.streak
end
return A
end
if spoofConfig.StatsSpoof and spoofConfig.SpoofedStats then
local N = spoofConfig.SpoofedStats
if J == "StatisticDuelsWon" and N.casualWins then
return N.casualWins
end
if J == "StatisticDuelsLost" and N.casualLosses then
return N.casualLosses
end
if J == "StatisticDuelsWinStreak" and streakSpoofState.streakEnabled then
local A = streakSpoofState.spoofedStreak or 0
if streakSpoofState.streakStackReal then
return(origDataGet(b, J, ...) or 0) + A
end
return A
end
if J == "StatisticRankedDuelsWon" and N.rankedWins then
return N.rankedWins
end
if J == "StatisticRankedDuelsLost" and N.rankedLosses then
return N.rankedLosses
end
if J == "StatisticDuelsWinPercent" then
local A = N.casualWins or(origDataGet(b, "StatisticDuelsWon")) or 0
local q = A + (N.casualLosses or(origDataGet(b, "StatisticDuelsLost")) or 0)
if q > 0 then
return A / q
end
end
if J == "StatisticRankedDuelsWinPercent" then
local A = N.rankedWins or(origDataGet(b, "StatisticRankedDuelsWon")) or 0
local q = A + (N.rankedLosses or(origDataGet(b, "StatisticRankedDuelsLost")) or 0)
if q > 0 then
return A / q
end
end
if J == "StatisticDuelsPlayed" then
local A, q = N.casualWins or(origDataGet(b, "StatisticDuelsWon")) or 0, N.casualLosses or(origDataGet(b, "StatisticDuelsLost")) or 0
if N.casualWins or N.casualLosses then
return A + q
end
end
if J == "StatisticRankedDuelsPlayed" then
local A, q = N.rankedWins or(origDataGet(b, "StatisticRankedDuelsWon")) or 0, N.rankedLosses or(origDataGet(b, "StatisticRankedDuelsLost")) or 0
if N.rankedWins or N.rankedLosses then
return A + q
end
end
end
if spoofConfig.FavSpoof then
if J == "StatisticFavoriteWeaponPrimary" and spoofConfig.SpoofedFavWeapons and spoofConfig.SpoofedFavWeapons.Primary then
return spoofConfig.SpoofedFavWeapons.Primary
end
if J == "StatisticFavoriteWeaponSecondary" and spoofConfig.SpoofedFavWeapons and spoofConfig.SpoofedFavWeapons.Secondary then
return spoofConfig.SpoofedFavWeapons.Secondary
end
if J == "StatisticFavoriteWeaponMelee" and spoofConfig.SpoofedFavWeapons and spoofConfig.SpoofedFavWeapons.Melee then
return spoofConfig.SpoofedFavWeapons.Melee
end
if J == "StatisticFavoriteWeaponUtility" and spoofConfig.SpoofedFavWeapons and spoofConfig.SpoofedFavWeapons.Utility then
return spoofConfig.SpoofedFavWeapons.Utility
end
if J == "StatisticFavoriteWeapon" and spoofConfig.SpoofedFavWeapons then
local N = spoofConfig.SpoofedFavWeapons.Primary or spoofConfig.SpoofedFavWeapons.Secondary or spoofConfig.SpoofedFavWeapons.Melee or spoofConfig.SpoofedFavWeapons.Utility
if N then
return N
end
end
if J == "StatisticFavoriteMap" and spoofConfig.SpoofedFavMap then
return spoofConfig.SpoofedFavMap
end
end
if J == "WeaponStatistics" then
local N, A = origDataGet(b, J, ...), spoofConfig.ContractSpoof
if A and A.enabled and A.perWeapon then
local q = N and(table.clone(N)) or{}
for W, U in pairs(A.perWeapon) do
if U and(U.kills or U.playtime) then
local L = q[W] and(table.clone(q[W])) or{}
if A.stackReal then
if U.kills then
L.StatisticEliminations = (L.StatisticEliminations or 0) + U.kills
end
if U.playtime then
L.StatisticPlaytime = (L.StatisticPlaytime or 0) + U.playtime
end
else
if U.kills then
L.StatisticEliminations = U.kills
end
if U.playtime then
L.StatisticPlaytime = U.playtime
end
end
q[W] = L
end
end
return q
end
return N
end
if J == "DuelHistory" then
local N = origDataGet(b, J, ...)
if not spoofConfig.DuelHistorySpoof or not spoofConfig.SpoofedDuelHistory or#spoofConfig.SpoofedDuelHistory == 0 then
return N
end
local A = {}
for q, q in ipairs(spoofConfig.SpoofedDuelHistory) do
A[#A + 1] = q
end
if spoofConfig.DuelHistoryReplace then
return A
end
if N and type(N) == "table" then
for q, q in ipairs(N) do
A[#A + 1] = q
end
end
return A
end
if J == "LoggedELOEvents" then
local N = origDataGet(b, J, ...)
if not spoofConfig.DuelHistorySpoof or not spoofConfig.SpoofedELOEvents or#spoofConfig.SpoofedELOEvents == 0 then
return N
end
local A = {}
for q, q in ipairs(spoofConfig.SpoofedELOEvents) do
A[#A + 1] = q
end
if not spoofConfig.DuelHistoryReplace and N and type(N) == "table" then
for q, q in ipairs(N) do
A[#A + 1] = q
end
end
return A
end
return origDataGet(b, J, ...)
end
end
-- ----------------------------------------------------------------------------
-- Function [126]: isCosmeticUnlockedCached (320 bytes)
-- Description: Checks whether a cosmetic item is unlocked across 5 cosmetic tables with a cfg.cacheTtl timestamp cache.
-- Resolved Upvalues: [1] = forceUnlockAll, [2] = unlockerEnabled, [3] = ownershipCache, [4] = timestampCache, [5] = unlockedTable1, [6] = unlockedTable2, [7] = unlockedTable3, [8] = unlockedTable4, [9] = unlockedTable5
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["isCosmeticUnlockedCached"]={"forceUnlockAll","unlockerEnabled","ownershipCache","timestampCache","unlockedTable1","unlockedTable2","unlockedTable3","unlockedTable4","unlockedTable5"}
local forceUnlockAll, unlockerEnabled, ownershipCache, timestampCache, unlockedTable1, unlockedTable2, unlockedTable3, unlockedTable4, unlockedTable5 = resolve("forceUnlockAll"), resolve("unlockerEnabled"), resolve("ownershipCache"), resolve("timestampCache"), resolve("unlockedTable1"), resolve("unlockedTable2"), resolve("unlockedTable3"), resolve("unlockedTable4"), resolve("unlockedTable5")
YabujinDeobfuscated.isCosmeticUnlockedCached = function(b)
if not forceUnlockAll and not unlockerEnabled then return false
end
local J = tick()
local N = ownershipCache[b]
if N ~= nil and J -(timestampCache[b] or 0) < cfg.cacheTtl then
return N
end
N = unlockedTable1[b] or unlockedTable2[b] or unlockedTable3[b] or unlockedTable4[b] or unlockedTable5[b]
ownershipCache[b] = N
timestampCache[b] = J
return N
end
end
-- ----------------------------------------------------------------------------
-- Function [18]: hookOwnsWeaponCosmetic (542 bytes)
-- Description: Hooks weapon cosmetic ownership check (ownsWep) to unlock skins/cosmetics.
-- Resolved Upvalues: [1] = unlockerEnabled, [2] = origCosmeticController, [3] = spoofConfig, [4] = unlockedTable1, [5] = unlockedTable2, [6] = unlockedTable3, [7] = unlockedTable4, [8] = unlockedTable5, [9] = weaponSkinsMap1, [10] = weaponSkinsMap2, [11] = weaponSkinsMap3
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookOwnsWeaponCosmetic"]={"unlockerEnabled","origCosmeticController","spoofConfig","unlockedTable1","unlockedTable2","unlockedTable3","unlockedTable4","unlockedTable5","weaponSkinsMap1","weaponSkinsMap2","weaponSkinsMap3"}
local unlockerEnabled, origCosmeticController, spoofConfig, unlockedTable1, unlockedTable2, unlockedTable3, unlockedTable4, unlockedTable5, weaponSkinsMap1, weaponSkinsMap2, weaponSkinsMap3 = resolve("unlockerEnabled"), resolve("origCosmeticController"), resolve("spoofConfig"), resolve("unlockedTable1"), resolve("unlockedTable2"), resolve("unlockedTable3"), resolve("unlockedTable4"), resolve("unlockedTable5"), resolve("weaponSkinsMap1"), resolve("weaponSkinsMap2"), resolve("weaponSkinsMap3")
YabujinDeobfuscated.hookOwnsWeaponCosmetic = function(b, J, N, A)
if not N or string.sub(N, 1, 8) == "MISSING_" then return false
end
if not unlockerEnabled then
return origCosmeticController.ownsWep(b, J, N, A)
end
if spoofConfig._menuLockedCosmetics and spoofConfig._menuLockedCosmetics[N] then
return false
end
if origCosmeticController.ownsWep(b, J, N, A) then
return true
end
if unlockedTable1[N] or unlockedTable2[N] or unlockedTable3[N] or unlockedTable4[N] or unlockedTable5[N] then
return true
end
if A then
J = weaponSkinsMap1[N]
if J and J[A] then
return true
end
b = weaponSkinsMap2[N]
if b and b[A] then
return true
end
local b = weaponSkinsMap3[N]
if b and b[A] then
return true
end
end
return false
end
end
-- ----------------------------------------------------------------------------
-- Function [63]: hookOwnsUniversalCosmetic (357 bytes)
-- Description: Hooks universal cosmetic ownership check (ownsUniv).
-- Resolved Upvalues: [1] = unlockerEnabled, [2] = origCosmeticController, [3] = spoofConfig, [4] = unlockedTable1, [5] = unlockedTable2, [6] = unlockedTable3, [7] = unlockedTable4, [8] = unlockedTable5
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookOwnsUniversalCosmetic"]={"unlockerEnabled","origCosmeticController","spoofConfig","unlockedTable1","unlockedTable2","unlockedTable3","unlockedTable4","unlockedTable5"}
local unlockerEnabled, origCosmeticController, spoofConfig, unlockedTable1, unlockedTable2, unlockedTable3, unlockedTable4, unlockedTable5 = resolve("unlockerEnabled"), resolve("origCosmeticController"), resolve("spoofConfig"), resolve("unlockedTable1"), resolve("unlockedTable2"), resolve("unlockedTable3"), resolve("unlockedTable4"), resolve("unlockedTable5")
YabujinDeobfuscated.hookOwnsUniversalCosmetic = function(b, J, N)
if not N or string.sub(N, 1, 8) == "MISSING_" then return false
end
if not unlockerEnabled then
return origCosmeticController.ownsUniv(b, J, N)
end
if spoofConfig._menuLockedCosmetics and spoofConfig._menuLockedCosmetics[N] then
return false
end
if origCosmeticController.ownsUniv(b, J, N) then
return true
end
return unlockedTable1[N] or unlockedTable2[N] or unlockedTable3[N] or unlockedTable4[N] or unlockedTable5[N] or false
end
end
-- ----------------------------------------------------------------------------
-- Function [69]: hookOwnsGeneralCosmetic (532 bytes)
-- Description: Hooks general cosmetic ownership check (owns).
-- Resolved Upvalues: [1] = unlockerEnabled, [2] = origCosmeticController, [3] = spoofConfig, [4] = unlockedTable1, [5] = unlockedTable2, [6] = unlockedTable3, [7] = unlockedTable4, [8] = unlockedTable5, [9] = weaponSkinsMap1, [10] = weaponSkinsMap2, [11] = weaponSkinsMap3
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookOwnsGeneralCosmetic"]={"unlockerEnabled","origCosmeticController","spoofConfig","unlockedTable1","unlockedTable2","unlockedTable3","unlockedTable4","unlockedTable5","weaponSkinsMap1","weaponSkinsMap2","weaponSkinsMap3"}
local unlockerEnabled, origCosmeticController, spoofConfig, unlockedTable1, unlockedTable2, unlockedTable3, unlockedTable4, unlockedTable5, weaponSkinsMap1, weaponSkinsMap2, weaponSkinsMap3 = resolve("unlockerEnabled"), resolve("origCosmeticController"), resolve("spoofConfig"), resolve("unlockedTable1"), resolve("unlockedTable2"), resolve("unlockedTable3"), resolve("unlockedTable4"), resolve("unlockedTable5"), resolve("weaponSkinsMap1"), resolve("weaponSkinsMap2"), resolve("weaponSkinsMap3")
YabujinDeobfuscated.hookOwnsGeneralCosmetic = function(b, J, N, A)
if not N or string.sub(N, 1, 8) == "MISSING_" then return false
end
if not unlockerEnabled then
return origCosmeticController.owns(b, J, N, A)
end
if spoofConfig._menuLockedCosmetics and spoofConfig._menuLockedCosmetics[N] then
return false
end
if origCosmeticController.owns(b, J, N, A) then
return true
end
if unlockedTable1[N] or unlockedTable2[N] or unlockedTable3[N] or unlockedTable4[N] or unlockedTable5[N] then
return true
end
if A then
J = weaponSkinsMap1[N]
if J and J[A] then
return true
end
b = weaponSkinsMap2[N]
if b and b[A] then
return true
end
local b = weaponSkinsMap3[N]
if b and b[A] then
return true
end
end
return false
end
end
-- ----------------------------------------------------------------------------
-- Function [73]: hookOwnsCategoryCosmetic (494 bytes)
-- Description: Hooks category cosmetic ownership check (ownsSome).
-- Resolved Upvalues: [1] = unlockerEnabled, [2] = origCosmeticController, [3] = spoofConfig, [4] = isCosmeticUnlocked, [5] = weaponSkinsMap1, [6] = weaponSkinsMap2, [7] = weaponSkinsMap3
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookOwnsCategoryCosmetic"]={"unlockerEnabled","origCosmeticController","spoofConfig","isCosmeticUnlocked","weaponSkinsMap1","weaponSkinsMap2","weaponSkinsMap3"}
local unlockerEnabled, origCosmeticController, spoofConfig, isCosmeticUnlocked, weaponSkinsMap1, weaponSkinsMap2, weaponSkinsMap3 = resolve("unlockerEnabled"), resolve("origCosmeticController"), resolve("spoofConfig"), resolve("isCosmeticUnlocked"), resolve("weaponSkinsMap1"), resolve("weaponSkinsMap2"), resolve("weaponSkinsMap3")
YabujinDeobfuscated.hookOwnsCategoryCosmetic = function(b, J, N)
if not N or string.sub(N, 1, 8) == "MISSING_" then return false
end
if not unlockerEnabled then
return origCosmeticController.ownsSome(b, J, N)
end
if spoofConfig._menuLockedCosmetics and spoofConfig._menuLockedCosmetics[N] then
return false
end
if origCosmeticController.ownsSome(b, J, N) then
return true
end
if isCosmeticUnlocked(N) then
return true
end
J = weaponSkinsMap1[N]
if J and(next(J)) then
return true
end
b = weaponSkinsMap2[N]
if b and(next(b)) then
return true
end
b = weaponSkinsMap3[N]
if b and(next(b)) then
return true
end
return false
end
end
-- ----------------------------------------------------------------------------
-- Function [96]: hookOwnsNormalCosmetic (371 bytes)
-- Description: Hooks normal cosmetic ownership check (ownsNormal).
-- Resolved Upvalues: [1] = unlockerEnabled, [2] = origCosmeticController, [3] = spoofConfig, [4] = unlockedTable1, [5] = unlockedTable2, [6] = unlockedTable3, [7] = unlockedTable4, [8] = unlockedTable5
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookOwnsNormalCosmetic"]={"unlockerEnabled","origCosmeticController","spoofConfig","unlockedTable1","unlockedTable2","unlockedTable3","unlockedTable4","unlockedTable5"}
local unlockerEnabled, origCosmeticController, spoofConfig, unlockedTable1, unlockedTable2, unlockedTable3, unlockedTable4, unlockedTable5 = resolve("unlockerEnabled"), resolve("origCosmeticController"), resolve("spoofConfig"), resolve("unlockedTable1"), resolve("unlockedTable2"), resolve("unlockedTable3"), resolve("unlockedTable4"), resolve("unlockedTable5")
YabujinDeobfuscated.hookOwnsNormalCosmetic = function(b, J, N, A)
if not N or string.sub(N, 1, 8) == "MISSING_" then return false
end
if not unlockerEnabled then
return origCosmeticController.ownsNormal(b, J, N, A)
end
if spoofConfig._menuLockedCosmetics and spoofConfig._menuLockedCosmetics[N] then
return false
end
if origCosmeticController.ownsNormal(b, J, N, A) then
return true
end
return unlockedTable1[N] or unlockedTable2[N] or unlockedTable3[N] or unlockedTable4[N] or unlockedTable5[N] or false
end
end
-- ----------------------------------------------------------------------------
-- Function [102]: hookShopPurchaseSkinTickets (596 bytes)
-- Description: Hooks shop purchase controller to spoof SkinTickets purchases, deduct SpoofedSkinTickets, replicate CurrentData, and trigger _onSkinTicketPurchase.
-- Resolved Upvalues: [1] = spoofConfig, [2] = savedSettings, [3] = pcall, [4] = clientDataController, [5] = origShopPurchase
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookShopPurchaseSkinTickets"]={"spoofConfig","savedSettings","pcall","clientDataController","origShopPurchase"}
local spoofConfig, savedSettings, pcall, clientDataController, origShopPurchase = resolve("spoofConfig"), resolve("savedSettings"), resolve("pcall"), resolve("clientDataController"), resolve("origShopPurchase")
YabujinDeobfuscated.hookShopPurchaseSkinTickets = function(b, J, N, ...)
if spoofConfig.SkinTicketsSpoof and N == "SkinTickets" then local A = b
task.spawn(function()
game:GetService("RunService").Heartbeat:Wait()
local q = A:GetShopEntry(J)
if q then
local A = q.Prices and q.Prices[N] or 10
if spoofConfig.SpoofedSkinTickets then
spoofConfig.SpoofedSkinTickets = math.max(0, spoofConfig.SpoofedSkinTickets -A)
savedSettings.spoofSkinTickets = spoofConfig.SpoofedSkinTickets
pcall(function()
clientDataController.CurrentData:Replicate("SkinTickets")
end)
end
if spoofConfig._onSkinTicketPurchase then
spoofConfig._onSkinTicketPurchase(q)
end
end
end)
return
end
return origShopPurchase(b, J, N, ...)
end
end
-- ----------------------------------------------------------------------------
-- Function [48]: hookLeaderboardSurfaceGui (1136 bytes)
-- Description: Hooks in-world Leaderboard SurfaceGui slot generation to spoof avatar headshots for LocalPlayer and yabujinUsers.
-- Resolved Upvalues: [1] = pcall, [2] = origGenerateLeaderboard, [3] = localUserId, [4] = spoofConfig, [5] = leaderboardConstants, [6] = getYabujinSpoofField
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookLeaderboardSurfaceGui"]={"pcall","origGenerateLeaderboard","localUserId","spoofConfig","leaderboardConstants","getYabujinSpoofField"}
local pcall, origGenerateLeaderboard, localUserId, spoofConfig, leaderboardConstants, getYabujinSpoofField = resolve("pcall"), resolve("origGenerateLeaderboard"), resolve("localUserId"), resolve("spoofConfig"), resolve("leaderboardConstants"), resolve("getYabujinSpoofField")
YabujinDeobfuscated.hookLeaderboardSurfaceGui = function(b)
pcall(function()
for J, J in pairs(b._player_slots or{}) do
pcall(function()
J:Destroy()
end)
end
end)
b._player_slots = {}
b._generate_hash = (b._generate_hash or 0) + 1
if b.SurfaceGui and b.SurfaceGui.Title then
b.SurfaceGui.Title.Text = "Loading..."
end
local J = origGenerateLeaderboard(b)
pcall(function()
local N = b._leaderboards_serial and b._leaderboards_serial[b._leaderboard_name]
local A = N and N.Players
if not A or#A == 0 or not b._player_slots then
return
end
for q, W in ipairs(b._player_slots) do
N = A[q]
if not N then
break
end
q = tonumber(N.key)
if not q then
break
end
if q == localUserId or spoofConfig.AvatarSpoof and spoofConfig.AvatarUserId and q == spoofConfig.AvatarUserId then
if spoofConfig.AvatarSpoof and spoofConfig.AvatarUserId and spoofConfig.AvatarUserId ~= 0 then
pcall(function()
W.Left.Headshot.Image = string.format(leaderboardConstants.HEADSHOT_IMAGE, spoofConfig.AvatarUserId)
end)
end
elseif yabujinUsers[q] and yabujinUsers[q].spoofer then
local b = getYabujinSpoofField(q, "Avatar")
if b and type(b) == "number" and b ~= 0 then
pcall(function()
W.Left.Headshot.Image = string.format(leaderboardConstants.HEADSHOT_IMAGE, b)
end)
end
end
end
end)
return J
end
end
-- ----------------------------------------------------------------------------
-- Function [13]: hookGetNetworkPing (524 bytes)
-- Description: Hooks network ping getter to spoof ping (Static, Random, Multiply, Divide, Plus, Minus).
-- Resolved Upvalues: [1] = origGetPing, [2] = pingConfig
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["hookGetNetworkPing"]={"origGetPing","pingConfig"}
local origGetPing, pingConfig = resolve("origGetPing"), resolve("pingConfig")
YabujinDeobfuscated.hookGetNetworkPing = function(b, J, ...)
local N = origGetPing(b, J, ...)
if pingConfig.PingSpoof then
J, b = pingConfig.PingMode or "Static", pingConfig.PingValue or 20
if J == "Static" then
return b
elseif J == "Random" then
local A, q = tonumber(pingConfig.PingRandomMin) or 1, tonumber(pingConfig.PingRandomMax) or 100
if A > q then
q, A = A, q
end
return math.random(A, q)
elseif J == "Multiply" then
return math.floor(N * b)
elseif J == "Divide" then
return math.floor(N / b)
elseif J == "Plus" then
return math.floor(N + b)
elseif J == "Minus" then
return math.floor(N -b)
end
end
return N
end
end
-- ----------------------------------------------------------------------------
-- Function [60]: updateStretchedResolution (809 bytes)
-- Description: Applies horizontal/vertical aspect-ratio stretch to CurrentCamera.CFrame and compensates BillboardGui StudsOffsetWorldSpace across all player characters.
-- Resolved Upvalues: [1] = Workspace, [2] = stretchConfig, [3] = Players, [4] = origBillboardOffsets
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["updateStretchedResolution"]={"Workspace","stretchConfig","Players","origBillboardOffsets"}
local Workspace, stretchConfig, Players, origBillboardOffsets = resolve("Workspace"), resolve("stretchConfig"), resolve("Players"), resolve("origBillboardOffsets")
YabujinDeobfuscated.updateStretchedResolution = function()
local b = Workspace.CurrentCamera
if not b then
return
end
local J, N = stretchConfig.x, stretchConfig.y
if J ~= 1 and J > 0 then
b.CFrame = b.CFrame * CFrame.new(0, 0, 0, J, 0, 0, 0, 1, 0, 0, 0, 1)
local A = b.CFrame.Position
local q = b.CFrame.RightVector
local W = 1 / J -1
for J, U in ipairs(Players:GetPlayers()) do
J = U.Character
if J then
for U, U in ipairs(J:GetChildren()) do
if U:IsA("BasePart") then
for J, L in ipairs(U:GetChildren()) do
if L:IsA("BillboardGui") then
if not origBillboardOffsets[L] then
origBillboardOffsets[L] = L.StudsOffsetWorldSpace
end
J = ((L.Adornee and typeof(L.Adornee) == "Instance" and(L.Adornee:IsA("BasePart")) and L.Adornee.Position or U.Position) -A):Dot(q)
L.StudsOffsetWorldSpace = origBillboardOffsets[L] + q * (J * W)
end
end
end
end
end
end
end
if N ~= 1 then
b.CFrame = b.CFrame * CFrame.new(0, 0, 0, 1, 0, 0, 0, N, 0, 0, 0, 1)
end
end
end
-- ----------------------------------------------------------------------------
-- Function [17]: updateCameraMotionBlur (418 bytes)
-- Description: Updates camera motion blur Size each frame based on camera velocity and angular rotation.
-- Resolved Upvalues: [1] = motionBlurState
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["updateCameraMotionBlur"]={"motionBlurState"}
local motionBlurState = resolve("motionBlurState")
YabujinDeobfuscated.updateCameraMotionBlur = function(b)
local J = workspace.CurrentCamera
if not J or not motionBlurState.blur then
return
end
local N = J.CFrame
if motionBlurState.lastCFrame then
J = motionBlurState.lastCFrame
local A, q = (N.Position -J.Position).Magnitude / math.max(b, 0.004166666666666667), (N.LookVector -J.LookVector).Magnitude * 60
local b = math.clamp(A * 0.05 + q * motionBlurState.strength * 0.5, 0, motionBlurState.strength)
motionBlurState.blur.Size = motionBlurState.blur.Size * 0.5 + b * 0.5
end
motionBlurState.lastCFrame = N
end
end
-- ----------------------------------------------------------------------------
-- Function [78]: syncPartToCameraCFrame (160 bytes)
-- Description: Synchronizes a world part's CFrame directly to workspace.CurrentCamera.CFrame.
-- Resolved Upvalues: [1] = targetPart, [2] = lastCameraCFrame
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["syncPartToCameraCFrame"]={"targetPart","lastCameraCFrame"}
local targetPart, lastCameraCFrame = resolve("targetPart"), resolve("lastCameraCFrame")
YabujinDeobfuscated.syncPartToCameraCFrame = function()
local b = workspace.CurrentCamera
if b and targetPart.Parent then
lastCameraCFrame = b.CFrame
targetPart.CFrame = lastCameraCFrame
end
end
end
-- ----------------------------------------------------------------------------
-- Function [85]: syncPartAboveCamera (195 bytes)
-- Description: Positions a target part 32 studs above workspace.CurrentCamera.CFrame.Position.
-- Resolved Upvalues: [1] = pcall, [2] = targetPart
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["syncPartAboveCamera"]={"pcall","targetPart"}
local pcall, targetPart = resolve("pcall"), resolve("targetPart")
YabujinDeobfuscated.syncPartAboveCamera = function()
pcall(function()
local b = workspace.CurrentCamera
if b and targetPart.Parent then
targetPart.CFrame = CFrame.new(b.CFrame.Position + Vector3.new(0, 32, 0))
end
end)
end
end
-- ----------------------------------------------------------------------------
-- Function [107]: updateBezierPulseBeams (2106 bytes)
-- Description: Updates 3D cubic Bezier pulse beam parts (size, CFrame orientation, transparency, and ColorSequence keypoints).
-- Resolved Upvalues: [1] = activeBeamsList, [2] = heartbeatConnection, [3] = clockFunc, [4] = calcPulseAlpha, [5] = evalCubicBezier, [6] = simplexNoise, [7] = beamRotationOffset
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["updateBezierPulseBeams"]={"activeBeamsList","heartbeatConnection","clockFunc","calcPulseAlpha","evalCubicBezier","simplexNoise","beamRotationOffset"}
local activeBeamsList, heartbeatConnection, clockFunc, calcPulseAlpha, evalCubicBezier, simplexNoise, beamRotationOffset = resolve("activeBeamsList"), resolve("heartbeatConnection"), resolve("clockFunc"), resolve("calcPulseAlpha"), resolve("evalCubicBezier"), resolve("simplexNoise"), resolve("beamRotationOffset")
YabujinDeobfuscated.updateBezierPulseBeams = function()
if next(activeBeamsList) == nil then
if heartbeatConnection then
heartbeatConnection:Disconnect()
heartbeatConnection = nil
end
return
end
for b, J in pairs(activeBeamsList) do
if J.Enabled == true then
J.PartsHidden = false
local N, A, q, W, U, L = 1 -J.MaxTransparency, 1 -J.MinTransparency, J.MinRadius, J.MaxRadius, J.Thickness, J.Parts
local h, B, R, s, d, w, u, C, o, H, z = #L, J.RanNum, J.StartT, J.AnimationSpeed, J.Frequency, J.MinThicknessMultiplier, J.MaxThicknessMultiplier, J.Attachment0, J.Attachment1, J.CurveSize0, J.CurveSize1
local P = C.WorldPosition
local Y = C.WorldPosition + C.WorldAxis * H
local f = o.WorldPosition -o.WorldAxis * z
local l = o.WorldPosition
local Q, v, Z, p, F, a, t = clockFunc() -R, J.PulseLength, J.PulseSpeed, J.FadeLength, J.Color, J.ColorOffsetSpeed, 1 -J.ContractFrom
if Q < (v + 1) / Z then
C, b = P, P
for g = 1, h, 1 do
local _ = L[g]
local L = g / h
H = calcPulseAlpha(L, Z, v, p, Q, N, A)
R, z = evalCubicBezier(P, Y, f, l, L), -Q
local N = s * z + d * 10 * L -0.2 + B * 4
local A = 5 * (s * 0.01 * z / 10 + d * L) + B * 4
local s, d, z = simplexNoise(5 * N, 1.5, 1 * A, 0, 0.6283185307179586) + simplexNoise(0.5 * N, 1.5, 0.1 * A, 0, 5.654866776461628), simplexNoise(3.4, A, N, q, W) * math.exp(- 5000 * (L -0.5) ^ 10), simplexNoise(2.3, A, N, w, u)
local q = g ~= h and(CFrame.new(C, R) * CFrame.Angles(0, 0, s) * CFrame.Angles(math.acos(math.clamp(simplexNoise(A, N, 2.7, 6.123233995736766E-17, 1), -1, 1)), 0, 0) * CFrame.new(0, 0, -d)).Position or R
if H > t then
_.Size = Vector3.new((q -b).Magnitude, U * z * H, U * z * H)
_.CFrame = CFrame.lookAt(0.5 * (b + q), q) * beamRotationOffset
_.Transparency = 1 -H
elseif H > t -1 / (h * p) then
o = (1 -(H -(t -1 / (h * p))) * h * p) * (L < Q * Z -0.5 * v and 1 or -1)
_.Size = Vector3.new((1 -math.abs(o)) * (q -b).Magnitude, U * z * H, U * z * H)
_.CFrame = CFrame.lookAt(b + (q -b) * (math.max(0, o) + 0.5 * (1 -math.abs(o))), q) * beamRotationOffset
_.Transparency = 1 -H
else
_.Transparency = 1
end
if typeof(F) == "Color3" then
_.Color = F
else
L = (B + L -Q * a) % 1
g = F.Keypoints
for M = 1, #g -1, 1 do
if g[M].Time < L and L < g[M + 1].Time then
_.Color = g[M].Value:Lerp(g[M + 1].Value, (L -g[M].Time) / (g[M + 1].Time -g[M].Time))
break
end
end
end
C, b = R, q
end
else
J:Destroy()
end
elseif J.PartsHidden == false then
J.PartsHidden = true
local M = J.DisabledTransparency
for b = 1, #J.Parts, 1 do
J.Parts[b].Transparency = M
end
end
end
end
end
-- ----------------------------------------------------------------------------
-- Function [89]: delayedCall10ms (79 bytes)
-- Description: Waits 0.01s via task.wait and invokes wrapped 2-arg function.
-- Resolved Upvalues: [1] = wrappedFunc
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["delayedCall10ms"]={"wrappedFunc"}
local wrappedFunc = resolve("wrappedFunc")
YabujinDeobfuscated.delayedCall10ms = function(b, J)
task.wait(0.01)
return wrappedFunc(b, J)
end
end
-- ----------------------------------------------------------------------------
-- Function [98]: delayedCall20ms (73 bytes)
-- Description: Waits 0.02s via task.wait and invokes wrapped function.
-- Resolved Upvalues: [1] = wrappedFunc
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["delayedCall20ms"]={"wrappedFunc"}
local wrappedFunc = resolve("wrappedFunc")
YabujinDeobfuscated.delayedCall20ms = function(b)
task.wait(0.02)
return wrappedFunc(b)
end
end
-- ----------------------------------------------------------------------------
-- Function [79]: delayedCall30ms (73 bytes)
-- Description: Waits 0.03s via task.wait and invokes wrapped function.
-- Resolved Upvalues: [1] = wrappedFunc
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["delayedCall30ms"]={"wrappedFunc"}
local wrappedFunc = resolve("wrappedFunc")
YabujinDeobfuscated.delayedCall30ms = function(b)
task.wait(0.03)
return wrappedFunc(b)
end
end
-- ----------------------------------------------------------------------------
-- Function [83]: forwardOptionalCallback (92 bytes)
-- Description: Calls the current callback upvalue if assigned.
-- Resolved Upvalues: [1] = callbackRef
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["forwardOptionalCallback"]={"callbackRef"}
local callbackRef = resolve("callbackRef")
YabujinDeobfuscated.forwardOptionalCallback = function(...)
local b = callbackRef
if b then
b(...)
end
end
end
-- ----------------------------------------------------------------------------
-- Function [122]: incrementActiveTickCounter (104 bytes)
-- Description: Increments tick counter upvalue when active flag is true.
-- Resolved Upvalues: [1] = isActive, [2] = tickCounter
-- ----------------------------------------------------------------------------
do
YabujinDeobfuscated.Required["incrementActiveTickCounter"]={"isActive","tickCounter"}
local isActive, tickCounter = resolve("isActive"), resolve("tickCounter")
YabujinDeobfuscated.incrementActiveTickCounter = function()
if not isActive then return
end
tickCounter += 1
end
end
-- ============================================================================
-- PART 2: Embedded Obsidian ThemeManager ([71] — 11,147 bytes)
-- ============================================================================
YabujinDeobfuscated.initObsidianThemeManager = function()
local b, J = cloneref or clonereference or function(N)
return N
end, clonefunction or copyfunction or function(N)
return N
end
local N = b(game:GetService("HttpService"))
local b = isfolder
local A = isfile
local q = listfiles
if typeof(J) == "function" then
local W, U, L = J(b), J(A), J(q)
local J, h = pcall(function()
return W("test" .. tostring(math.random(1000000, 9999999)))
end)
if J == false or typeof(h) ~= "boolean" then
b = function(J)
local h, B = pcall(W, J)
return h and B or false
end
A = function(J)
local W, h = pcall(U, J)
return W and h or false
end
q = function(J)
local W, U = pcall(L, J)
return W and U or{}
end
end
end
local J = {}
do
local W = {"FontColor", "MainColor", "AccentColor", "BackgroundColor", "OutlineColor"}
J.Folder = "ObsidianLibSettings"
J.Library = nil
J.AppliedToTab = false
J.BuiltInThemes = {Default = {1, {FontColor = "dcdce4", MainColor = "1c1c22", AccentColor = "6382ff", BackgroundColor = "121216", OutlineColor = "2a2a32"}}, BBot = {2, {FontColor = "ffffff", MainColor = "1e1e1e", AccentColor = "7e48a3", BackgroundColor = "232323", OutlineColor = "141414"}}, Fatality = {3, {FontColor = "ffffff", MainColor = "1e1842", AccentColor = "c50754", BackgroundColor = "191335", OutlineColor = "3c355d"}}, Jester = {4, {FontColor = "ffffff", MainColor = "242424", AccentColor = "db4467", BackgroundColor = "1c1c1c", OutlineColor = "373737"}}, Mint = {5, {FontColor = "ffffff", MainColor = "242424", AccentColor = "3db488", BackgroundColor = "1c1c1c", OutlineColor = "373737"}}, ["Tokyo Night"] = {6, {FontColor = "ffffff", MainColor = "191925", AccentColor = "6759b3", BackgroundColor = "16161f", OutlineColor = "323232"}}, Ubuntu = {7, {FontColor = "ffffff", MainColor = "3e3e3e", AccentColor = "e2581e", BackgroundColor = "323232", OutlineColor = "191919"}}, Quartz = {8, {FontColor = "ffffff", MainColor = "232330", AccentColor = "426e87", BackgroundColor = "1d1b26", OutlineColor = "27232f"}}, Nord = {9, {FontColor = "eceff4", MainColor = "3b4252", AccentColor = "88c0d0", BackgroundColor = "2e3440", OutlineColor = "4c566a"}}, Dracula = {10, {FontColor = "f8f8f2", MainColor = "44475a", AccentColor = "ff79c6", BackgroundColor = "282a36", OutlineColor = "6272a4"}}, Monokai = {11, {FontColor = "f8f8f2", MainColor = "272822", AccentColor = "f92672", BackgroundColor = "1e1f1c", OutlineColor = "49483e"}}, Gruvbox = {12, {FontColor = "ebdbb2", MainColor = "3c3836", AccentColor = "fb4934", BackgroundColor = "282828", OutlineColor = "504945"}}, Solarized = {13, {FontColor = "839496", MainColor = "073642", AccentColor = "cb4b16", BackgroundColor = "002b36", OutlineColor = "586e75"}}, Catppuccin = {14, {FontColor = "d9e0ee", MainColor = "302d41", AccentColor = "f5c2e7", BackgroundColor = "1e1e2e", OutlineColor = "575268"}}, ["One Dark"] = {15, {FontColor = "abb2bf", MainColor = "282c34", AccentColor = "c678dd", BackgroundColor = "21252b", OutlineColor = "5c6370"}}, Cyberpunk = {16, {FontColor = "f9f9f9", MainColor = "262335", AccentColor = "00ff9f", BackgroundColor = "1a1a2e", OutlineColor = "413c5e"}}, ["Oceanic Next"] = {17, {FontColor = "d8dee9", MainColor = "1b2b34", AccentColor = "6699cc", BackgroundColor = "16232a", OutlineColor = "343d46"}}, Material = {18, {FontColor = "eeffff", MainColor = "212121", AccentColor = "82aaff", BackgroundColor = "151515", OutlineColor = "424242"}}, Minimal = {19, {FontColor = "dcdce4", MainColor = "1c1c22", AccentColor = "6382ff", BackgroundColor = "121216", OutlineColor = "2a2a32"}}}
J.SetLibrary = function(U, L)
U.Library = L
end
J.GetPaths = function(U)
local L, h = {}, U.Folder:split("/")
for B = 1, #h, 1 do
L[#L + 1] = table.concat(h, "/", 1, B)
end
L[#L + 1] = U.Folder .. "/themes"
return L
end
J.BuildFolderTree = function(U)
local L = U:GetPaths()
for h = 1, #L, 1 do
U = L[h]
if not b(U) then
makefolder(U)
end
end
end
J.CheckFolderTree = function(U)
if b(U.Folder) then return
end
U:BuildFolderTree()
task.wait(0.1)
end
J.SetFolder = function(b, U)
b.Folder = U
b:BuildFolderTree()
end
J.ApplyTheme = function(b, U)
local L = b:GetCustomTheme(U)
local h = L or b.BuiltInThemes[U]
if not h then
return
end
for U, B in pairs(L or h[2]) do
if U ~= "VideoLink" then
if U == "FontFace" then
b.Library:SetFont(Enum.Font[B])
if b.Library.Options[U] then
b.Library.Options[U]:SetValue(B)
end
else
b.Library.Scheme[U] = Color3.fromHex(B)
if b.Library.Options[U] then
b.Library.Options[U]:SetValueRGB(Color3.fromHex(B))
end
end
end
end
b:ThemeUpdate()
end
J.ThemeUpdate = function(b)
for U, U in W, nil, nil do
if b.Library.Options and b.Library.Options[U] then
b.Library.Scheme[U] = b.Library.Options[U].Value
end
end
b.Library:UpdateColorsUsingRegistry()
end
J.GetCustomTheme = function(b, U)
local L = b.Folder .. "/themes/" .. U .. ".json"
if not A(L) then
return nil
end
U = readfile(L)
L, b = pcall(N.JSONDecode, N, U)
if not L then
return nil
end
return b
end
J.LoadDefault = function(b)
local U, L, h = "Default", A(b.Folder .. "/themes/default.txt") and(readfile(b.Folder .. "/themes/default.txt")), true
if L then
if b.BuiltInThemes[L] then
U = L
elseif b:GetCustomTheme(L) then
h, U = false, L
end
else
U = if b.BuiltInThemes[b.DefaultTheme] then b.DefaultTheme else U
end
if h then
b.Library.Options.ThemeManager_ThemeList:SetValue(U)
else
b:ApplyTheme(U)
end
end
J.SaveDefault = function(b, U)
writefile(b.Folder .. "/themes/default.txt", U)
end
J.SetDefaultTheme = function(b, U)
assert(b.Library, "Must set ThemeManager.Library first!")
assert(not b.AppliedToTab, "Cannot set default theme after applying ThemeManager to a tab!")
local L, h = {}, {}
for B, B in W, nil, nil do
if typeof(U[B]) == "Color3" then
L[B] = "#" .. U[B]:ToHex()
h[B] = U[B]
elseif typeof(U[B]) == "string" then
L[B] = U[B]:sub(1, 1) == "#" and U[B] or "#" .. U[B]
h[B] = Color3.fromHex(U[B])
else
L[B] = J.BuiltInThemes.Default[2][B]
h[B] = Color3.fromHex(J.BuiltInThemes.Default[2][B])
end
end
if typeof(U.FontFace) == "EnumItem" then
L.FontFace = U.FontFace.Name
h.Font = Font.fromEnum(U.FontFace)
elseif typeof(U.FontFace) == "string" then
L.FontFace = U.FontFace
h.Font = Font.fromEnum(Enum.Font[U.FontFace])
else
L.FontFace = "Code"
h.Font = Font.fromEnum(Enum.Font.Code)
end
U = {"RedColor", "DarkColor", "WhiteColor"}
for B, B in U, nil, nil do
h[B] = b.Library.Scheme[B]
end
b.Library.Scheme = h
b.BuiltInThemes.Default = {1, L}
b.Library:UpdateColorsUsingRegistry()
end
J.SaveCustomTheme = function(b, U)
if U:gsub(" ", "") == "" then b.Library:Notify("Invalid file name for theme (empty)", 3)
return
end
local L = {}
for h, h in W, nil, nil do
L[h] = b.Library.Options[h].Value:ToHex()
end
L.FontFace = b.Library.Options.FontFace.Value
writefile(b.Folder .. "/themes/" .. U .. ".json", N:JSONEncode(L))
end
J.Delete = function(b, N)
if not N then return false, "no config file is selected"
end
local W = b.Folder .. "/themes/" .. N .. ".json"
if not A(W) then
return false, "invalid file"
end
if not pcall(delfile, W) then
return false, "delete file error"
end
return true
end
J.ReloadCustomThemes = function(b)
local N, A = q(b.Folder .. "/themes"), {}
for q = 1, #N, 1 do
b = N[q]
if b:sub(- 5) == ".json" then
q = b:find(".json", 1, true)
local N, W = (b:sub(q, q)), q
while N ~= "/" and N ~= "\\" and N ~= "" do
q -= 1
N = (b:sub(q, q))
end
if N == "/" or N == "\\" then
table.insert(A, b:sub(q + 1, W -1))
end
end
end
return A
end
J.CreateThemeManager = function(b, N)
N:AddLabel("Background color"):AddColorPicker("BackgroundColor", {Default = b.Library.Scheme.BackgroundColor})
N:AddLabel("Main color"):AddColorPicker("MainColor", {Default = b.Library.Scheme.MainColor})
N:AddLabel("Accent color"):AddColorPicker("AccentColor", {Default = b.Library.Scheme.AccentColor})
N:AddLabel("Outline color"):AddColorPicker("OutlineColor", {Default = b.Library.Scheme.OutlineColor})
N:AddLabel("Font color"):AddColorPicker("FontColor", {Default = b.Library.Scheme.FontColor})
N:AddDropdown("FontFace", {Text = "Font Face", Default = "Code", Values = {"BuilderSans", "Code", "Fantasy", "Gotham", "Jura", "Roboto", "RobotoMono", "SourceSans"}})
local A = {}
for q, W in pairs(b.BuiltInThemes) do
table.insert(A, q)
end
table.sort(A, function(q, W)
return b.BuiltInThemes[q][1] < b.BuiltInThemes[W][1]
end)
N:AddDivider()
N:AddDropdown("ThemeManager_ThemeList", {Text = "Theme list", Values = A, Default = 1})
N:AddButton("Set as default", function()
b:SaveDefault(b.Library.Options.ThemeManager_ThemeList.Value)
b.Library:Notify(string.format("Set default theme to %q", b.Library.Options.ThemeManager_ThemeList.Value))
end)
b.Library.Options.ThemeManager_ThemeList:OnChanged(function()
b:ApplyTheme(b.Library.Options.ThemeManager_ThemeList.Value)
end)
N:AddDivider()
N:AddInput("ThemeManager_CustomThemeName", {Text = "Custom theme name"})
N:AddButton("Create theme", function()
local A = b.Library.Options.ThemeManager_CustomThemeName.Value
if A:gsub(" ", "") == "" then
b.Library:Notify("Invalid theme name (empty)", 2)
return
end
b:SaveCustomTheme(A)
b.Library:Notify(string.format("Created theme %q", A))
b.Library.Options.ThemeManager_CustomThemeList:SetValues(b:ReloadCustomThemes())
b.Library.Options.ThemeManager_CustomThemeList:SetValue(nil)
end)
N:AddDivider()
N:AddDropdown("ThemeManager_CustomThemeList", {Text = "Custom themes", Values = b:ReloadCustomThemes(), AllowNull = true, Default = 1})
N:AddButton("Load theme", function()
local A = b.Library.Options.ThemeManager_CustomThemeList.Value
b:ApplyTheme(A)
b.Library:Notify(string.format("Loaded theme %q", A))
end)
N:AddButton("Overwrite theme", function()
local A = b.Library.Options.ThemeManager_CustomThemeList.Value
b:SaveCustomTheme(A)
b.Library:Notify(string.format("Overwrote config %q", A))
end)
N:AddButton("Delete theme", function()
local A = b.Library.Options.ThemeManager_CustomThemeList.Value
local q, W = b:Delete(A)
if not q then
b.Library:Notify("Failed to delete theme: " .. W)
return
end
b.Library:Notify(string.format("Deleted theme %q", A))
b.Library.Options.ThemeManager_CustomThemeList:SetValues(b:ReloadCustomThemes())
b.Library.Options.ThemeManager_CustomThemeList:SetValue(nil)
end)
N:AddButton("Refresh list", function()
b.Library.Options.ThemeManager_CustomThemeList:SetValues(b:ReloadCustomThemes())
b.Library.Options.ThemeManager_CustomThemeList:SetValue(nil)
end)
N:AddButton("Set as default", function()
if b.Library.Options.ThemeManager_CustomThemeList.Value ~= nil and b.Library.Options.ThemeManager_CustomThemeList.Value ~= "" then b:SaveDefault(b.Library.Options.ThemeManager_CustomThemeList.Value)
b.Library:Notify(string.format("Set default theme to %q", b.Library.Options.ThemeManager_CustomThemeList.Value))
end
end)
N:AddButton("Reset default", function()
if not pcall(delfile, b.Folder .. "/themes/default.txt") then b.Library:Notify("Failed to reset default: delete file error")
return
end
b.Library:Notify("Set default theme to nothing")
b.Library.Options.ThemeManager_CustomThemeList:SetValues(b:ReloadCustomThemes())
b.Library.Options.ThemeManager_CustomThemeList:SetValue(nil)
end)
b:LoadDefault()
b.AppliedToTab = true
local function M()
b:ThemeUpdate()
end
b.Library.Options.BackgroundColor:OnChanged(M)
b.Library.Options.MainColor:OnChanged(M)
b.Library.Options.AccentColor:OnChanged(M)
b.Library.Options.OutlineColor:OnChanged(M)
b.Library.Options.FontColor:OnChanged(M)
b.Library.Options.FontFace:OnChanged(function(M)
b.Library:SetFont(Enum.Font[M])
b.Library:UpdateColorsUsingRegistry()
end)
end
J.CreateGroupBox = function(M, b)
assert(M.Library, "Must set ThemeManager.Library first!")
return b:AddLeftGroupbox("Themes", "paintbrush")
end
J.ApplyToTab = function(M, b)
assert(M.Library, "Must set ThemeManager.Library first!")
M:CreateThemeManager((M:CreateGroupBox(b)))
end
J.ApplyToGroupbox = function(M, b)
assert(M.Library, "Must set ThemeManager.Library first!")
M:CreateThemeManager(b)
end
J:BuildFolderTree()
end
getgenv().ObsidianThemeManager = J
return J
end
-- ============================================================================
-- PART 3: Embedded YabujinLibrary / Obsidian UI Library ([56] — 146,597 bytes)
-- ============================================================================
do
local yabujinCoreState = { _withId=function(fn, ...) return YabujinDeobfuscated.runWithElevatedThreadIdentity(fn, ...) end }
YabujinDeobfuscated.initYabujinObsidianLibrary = function()
local upval_3 = context.AssetBaseUrl or ""
local b = Instance.new
yabujinCoreState._instNew = b
local J = cloneref or clonereference or function(N)
return N
end
local N, A, q, W, U, L, h, B, R, s, d = J(game:GetService("CoreGui")), J(game:GetService("Players")), J(game:GetService("RunService")), J(game:GetService("SoundService")), J(game:GetService("UserInputService")), J(game:GetService("TextService")), J(game:GetService("Teams")), J(game:GetService("TweenService")), getgenv or function()
return shared
end, setclipboard or nil, protectgui or syn and syn.protect_gui or function()
end
local w, u = gethui or function()
return N
end, A.LocalPlayer or(A.PlayerAdded:Wait())
local C = J(u:GetMouse())
local J = {}
local o = {}
local H = {}
local z = {}
local P = {}
local Y = {}
local f = {TransparencyTexture = {RobloxId = 139785960036434, Path = "Obsidian/assets/TransparencyTexture.png", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/TransparencyTexture.png", Id = nil}, SaturationMap = {RobloxId = 4155801252, Path = "Obsidian/assets/SaturationMap.png", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/SaturationMap.png", Id = nil}, ShadowImage = {RobloxId = 6015897843, Path = "Obsidian/assets/shadow.png", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/shadow.png", Id = nil}, HoverSound = {RobloxId = 6895079853, Path = "Obsidian/assets/sounds/hover.wav", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/sounds/hover.wav", Id = nil}, ClickSound = {RobloxId = 6895079853, Path = "Obsidian/assets/sounds/click.wav", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/sounds/click.wav", Id = nil}, ToggleOnSound = {RobloxId = 6895079853, Path = "Obsidian/assets/sounds/toggle_on.wav", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/sounds/toggle_on.wav", Id = nil}, ToggleOffSound = {RobloxId = 6895079853, Path = "Obsidian/assets/sounds/toggle_off.wav", URL = "https://raw.githubusercontent.com/deividcomsono/Obsidian/refs/heads/main/assets/sounds/toggle_off.wav", Id = nil}}
do
local function l(Q, v)
if not isfolder or not makefolder then return
end
local Z = Q:split("/")
if v then
table.remove(Z, #Z)
end
Q = ""
for v, v in ipairs(Z) do
if not isfolder(Q .. v) then
makefolder(Q .. v)
end
Q ..= v .. "/"
end
return Q
end
Y.AddAsset = function(Q, v, Z, p)
if f[Q] ~= nil then error(string.format("Asset %q already exists", Q))
end
assert(typeof(v) == "number", "RobloxAssetId must be a number")
f[Q] = {RobloxId = v, Path = string.format("Obsidian/custom_assets/%s", Q), URL = Z, Id = nil}
Y.DownloadAsset(Q, p)
end
Y.GetAsset = function(Q)
if not f[Q] then return nil
end
local v = f[Q]
if v.Id then
return v.Id
end
Q = string.format("rbxassetid://%s", v.RobloxId)
if getcustomasset then
local Z, p = pcall(getcustomasset, v.Path)
Q = if Z and p then p else Q
end
v.Id = Q
return Q
end
Y.DownloadAsset = function(Q, v)
if not getcustomasset or not writefile or not isfile then return false, "missing functions"
end
local Z = f[Q]
l(Z.Path, true)
if v ~= true and(isfile(Z.Path)) then
return true, nil
end
Q, v = pcall(function()
local l
if(identifyexecutor and(identifyexecutor()) or "Unknown") == "Wave" and request then
local p, F = pcall(request, {Url = Z.URL, Method = "GET"})
l = if p and F and F.Body then F.Body else l
end
writefile(Z.Path, if not l then(game:HttpGet(Z.URL)) else l)
end)
return Q, v
end
-- Use native Roblox asset IDs without downloading files.
end
local f = {LocalPlayer = u, DevicePlatform = nil, IsMobile = false, IsRobloxFocused = true, ScreenGui = nil, SearchText = "", Searching = false, GlobalSearch = false, LastSearchTab = nil, ActiveTab = nil, Tabs = {}, TabButtons = {}, DependencyBoxes = {}, KeybindFrame = nil, KeybindContainer = nil, KeybindToggles = {}, Notifications = {}, ToggleKeybind = Enum.KeyCode.RightControl, TweenInfo = TweenInfo.new(0.18, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), NotifyTweenInfo = TweenInfo.new(0.35, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), Toggled = false, Unloaded = false, Labels = J, Buttons = o, Toggles = H, Options = z, NotifySide = "Right", ShowCustomCursor = true, ForceCheckbox = false, ShowToggleFrameInKeybinds = true, NotifyOnError = false, CantDragForced = false, Signals = {}, UnloadSignals = {}, OriginalMinSize = Vector2.new(480, 360), MinSize = Vector2.new(480, 360), DPIScale = 1, CornerRadius = 12, IsLightTheme = false, Scheme = {BackgroundColor = Color3.fromRGB(13, 14, 18), MainColor = Color3.fromRGB(21, 22, 28), AccentColor = Color3.fromRGB(150, 120, 255), OutlineColor = Color3.fromRGB(34, 36, 46), FontColor = Color3.fromRGB(236, 237, 244), Font = (function()
local l, Q = pcall(function()
return Font.fromEnum(Enum.Font.BuilderSansMedium)
end)
if l and Q then
return Q
end
return Font.fromEnum(Enum.Font.GothamMedium)
end)(), RedColor = Color3.fromRGB(255, 70, 90), DarkColor = Color3.new(0, 0, 0), WhiteColor = Color3.new(1, 1, 1)}, Registry = {}, Scales = {}, ImageManager = Y}
if q:IsStudio() then
if U.TouchEnabled and not U.MouseEnabled then
f.IsMobile = true
f.OriginalMinSize = Vector2.new(480, 240)
else
f.IsMobile = false
f.OriginalMinSize = Vector2.new(480, 360)
end
else
pcall(function()
f.DevicePlatform = U:GetPlatform()
end)
f.IsMobile = f.DevicePlatform == Enum.Platform.Android or f.DevicePlatform == Enum.Platform.IOS
f.OriginalMinSize = f.IsMobile and(Vector2.new(480, 240)) or(Vector2.new(480, 360))
end
local l, Q, v, Z, p = {Frame = {BorderSizePixel = 0}, ImageLabel = {BackgroundTransparency = 1, BorderSizePixel = 0}, ImageButton = {AutoButtonColor = false, BorderSizePixel = 0}, ScrollingFrame = {BorderSizePixel = 0}, TextLabel = {BorderSizePixel = 0, FontFace = "Font", RichText = true, TextColor3 = "FontColor"}, TextButton = {AutoButtonColor = false, BorderSizePixel = 0, FontFace = "Font", RichText = true, TextColor3 = "FontColor"}, TextBox = {BorderSizePixel = 0, FontFace = "Font", PlaceholderColor3 = function()
local F, a, t = f.Scheme.FontColor:ToHSV()
return Color3.fromHSV(F, a, t / 2)
end, Text = "", TextColor3 = "FontColor"}, UIListLayout = {SortOrder = Enum.SortOrder.LayoutOrder}, UIStroke = {ApplyStrokeMode = Enum.ApplyStrokeMode.Border}, Window = {Title = "No Title", Footer = "No Footer", Position = UDim2.fromOffset(6, 6), Size = UDim2.fromOffset(720, 600), IconSize = UDim2.fromOffset(30, 30), AutoShow = true, Center = true, Resizable = true, SearchbarSize = UDim2.fromScale(1, 1), GlobalSearch = false, CornerRadius = 8, NotifySide = "Right", ShowCustomCursor = true, Font = Enum.Font.GothamMedium, ToggleKeybind = Enum.KeyCode.RightControl, MobileButtonsSide = "Left", UnlockMouseWhileOpen = true, EnableBlur = true, EnableSnowfall = false, GlassType = "None", EnableFadeIn = true, EnableSidebarResize = false, EnableCompacting = true, DisableCompactingSnap = false, SidebarCompacted = false, MinContainerWidth = 256, MinSidebarWidth = 128, SidebarCompactWidth = 48, SidebarCollapseThreshold = 0.5, CompactWidthActivation = 128}, Toggle = {Text = "Toggle", Default = false, Callback = function()
end, Changed = function()
end, Risky = false, Disabled = false, Visible = true}, Input = {Text = "Input", Default = "", Finished = false, Numeric = false, ClearTextOnFocus = true, Placeholder = "", AllowEmpty = true, EmptyReset = "---", Callback = function()
end, Changed = function()
end, Disabled = false, Visible = true}, Slider = {Text = "Slider", Default = 0, Min = 0, Max = 100, Rounding = 0, Prefix = "", Suffix = "", Callback = function()
end, Changed = function()
end, Disabled = false, Visible = true}, Dropdown = {Values = {}, DisabledValues = {}, Multi = false, MaxVisibleDropdownItems = 8, Callback = function()
end, Changed = function()
end, Disabled = false, Visible = true}, Viewport = {Object = nil, Camera = nil, Clone = true, AutoFocus = true, Interactive = false, Zoom = true, Height = 200, Visible = true}, Image = {Image = "", Transparency = 0, BackgroundTransparency = 0, Color = Color3.new(1, 1, 1), RectOffset = Vector2.zero, RectSize = Vector2.zero, ScaleType = Enum.ScaleType.Fit, Height = 200, Visible = true}, Video = {Video = "", Looped = false, Playing = false, Volume = 1, Height = 200, Visible = true}, UIPassthrough = {Instance = nil, Height = 24, Visible = true}, KeyPicker = {Text = "KeyPicker", Default = "None", DefaultModifiers = {}, Mode = "Toggle", Modes = {"Always", "Toggle", "Hold"}, SyncToggleState = false, Callback = function()
end, ChangedCallback = function()
end, Changed = function()
end, Clicked = function()
end
}, ColorPicker = {Default = Color3.new(1, 1, 1), Callback = function()
end, Changed = function()
end
}}, {Bottom = {0, 1}, Right = {1, 0}}, {Left = {0.5, 1}, Right = {0.5, 1}}, {RedColor = "Red", WhiteColor = "White", DarkColor = "Dark"}, {Red = "RedColor", White = "WhiteColor", Dark = "DarkColor"}
local function F(a)
if not a then return nil
end
local t = Z[a]
if t and f.Scheme[t] ~= nil then
f.Scheme[a] = f.Scheme[t]
f.Scheme[t] = nil
return f.Scheme[a]
end
t = p[a]
if t and f.Scheme[t] ~= nil then
warn(string.format("Scheme Value %q is deprecated, please use %q instead.", a, t))
return f.Scheme[t]
end
return f.Scheme[a]
end
local function Z(p, a, t)
local g = Instance.new("BindableEvent")
local _ = p:Once(function(...)
if not t or typeof(t) == "function" and(t(...)) then g:Fire(true)
else
g:Fire(false)
end
end)
task.delay(a, function()
_:Disconnect()
g:Fire(false)
end)
p = g.Event:Wait()
g:Destroy()
return p
end
local function p(a, t)
return a.UserInputType == Enum.UserInputType.MouseButton1 or t == true and a.UserInputType == Enum.UserInputType.MouseButton2 or a.UserInputType == Enum.UserInputType.Touch
end
local function a(t, g)
return p(t, g) and t.UserInputState == Enum.UserInputState.Begin and f.IsRobloxFocused
end
local function t(g)
return(g.UserInputType == Enum.UserInputType.MouseMovement or g.UserInputType == Enum.UserInputType.Touch) and g.UserInputState == Enum.UserInputState.Change
end
local function g(_, c)
return p(_, c) and(_.UserInputState == Enum.UserInputState.Begin or _.UserInputState == Enum.UserInputState.Change) and f.IsRobloxFocused
end
local function p(_)
local c = 0
for e, e in pairs(_) do
c += 1
end
return c
end
local function _(c)
if not(c and c.PlaybackState == Enum.PlaybackState.Playing) then return
end
c:Cancel()
end
local function c(e)
return e:match("^%s*(.-)%s*$")
end
local function e(r, I)
assert(I >= 0, "Invalid rounding number.")
if I == 0 then
return math.floor(r)
end
return tonumber(string.format("%." .. I .. "f", r))
end
local function r(I)
local x = A:GetPlayers()
if I then
local I = table.find(x, u)
if I then
table.remove(x, I)
end
end
table.sort(x, function(u, I)
return u.Name:lower() < I.Name:lower()
end)
return x
end
local function u()
local I = h:GetTeams()
table.sort(I, function(x, D)
return x.Name:lower() < D.Name:lower()
end)
return I
end
f.UpdateDependencyBoxes = function(I)
for I, I in pairs(f.DependencyBoxes) do
I:Update(true)
end
if f.Searching then
f:UpdateSearch(f.SearchText)
end
end
local function I(x, D)
local X = 0
for V, K in pairs(x.Elements) do
if K.Type == "Divider" then
K.Holder.Visible = false
elseif K.SubButton then
local j, O = false, K.Text:lower():match(D) and K.Visible
if O then
j = true
else
K.Base.Visible = false
end
V = K.SubButton.Text:lower():match(D) and K.SubButton.Visible
if V then
j = true
else
K.SubButton.Base.Visible = false
end
K.Holder.Visible = j
X = if j then X + 1 else X
elseif K.Text and(K.Text:lower():match(D)) and K.Visible then
K.Holder.Visible = true
X += 1
else
K.Holder.Visible = false
end
end
for V, V in pairs(x.DependencyBoxes) do
X = if V.Visible then X + I(V, D) else X
end
x.Holder.Visible = X > 0
return X
end
local function x(D)
for X, X in pairs(D.Elements) do
X.Holder.Visible = typeof(X.Visible) == "boolean" and X.Visible or true
if X.SubButton then
X.Base.Visible = X.Visible
X.SubButton.Base.Visible = X.SubButton.Visible
end
end
D:Resize()
D.Holder.Visible = true
for X, X in pairs(D.DependencyBoxes) do
if X.Visible then
x(X)
end
end
end
local function D(X, V)
if not X then return
end
local K = false
for j, O in pairs(X.Groupboxes) do
j = 0
for m, k in pairs(O.Elements) do
if k.Type == "Divider" then
k.Holder.Visible = false
elseif k.SubButton then
local n, E = false, k.Text:lower():match(V) and k.Visible
if E then
n = true
else
k.Base.Visible = false
end
m = k.SubButton.Text:lower():match(V) and k.SubButton.Visible
if m then
n = true
else
k.SubButton.Base.Visible = false
end
k.Holder.Visible = n
j = if n then j + 1 else j
elseif k.Text and(k.Text:lower():match(V)) and k.Visible then
k.Holder.Visible = true
j += 1
else
k.Holder.Visible = false
end
end
for m, m in pairs(O.DependencyBoxes) do
j = if m.Visible then j + I(m, V) else j
end
if j > 0 then
O:Resize()
K = true
end
O.BoxHolder.Visible = j > 0
end
for j, O in pairs(X.Tabboxes) do
j = {}
for X, m in pairs(O.Tabs) do
j[m] = 0
for k, n in pairs(m.Elements) do
if n.Type == "Divider" then
n.Holder.Visible = false
elseif n.SubButton then
X, k = false, n.Text:lower():match(V) and n.Visible
if k then
X = true
else
n.Base.Visible = false
end
local k = n.SubButton.Text:lower():match(V) and n.SubButton.Visible
if k then
X = true
else
n.SubButton.Base.Visible = false
end
n.Holder.Visible = X
if X then
j[m] = j[m] + 1
end
elseif n.Text and(n.Text:lower():match(V)) and n.Visible then
n.Holder.Visible = true
j[m] = j[m] + 1
else
n.Holder.Visible = false
end
end
for X, X in pairs(m.DependencyBoxes) do
if X.Visible then
j[m] = j[m] + I(X, V)
end
end
end
local I = 0
for X, V in pairs(j) do
X.ButtonHolder.Visible = V > 0
if V > 0 then
I += 1
if O.ActiveTab == X then
X:Resize()
elseif O.ActiveTab and j[O.ActiveTab] == 0 then
X:Show()
end
K = true
end
end
O.BoxHolder.Visible = I > 0
end
return K
end
local function I(X)
if not X then return
end
for V, V in pairs(X.Groupboxes) do
for K, K in pairs(V.Elements) do
K.Holder.Visible = typeof(K.Visible) == "boolean" and K.Visible or true
if K.SubButton then
K.Base.Visible = K.Visible
K.SubButton.Base.Visible = K.SubButton.Visible
end
end
for K, K in pairs(V.DependencyBoxes) do
if K.Visible then
x(K)
end
end
V:Resize()
V.BoxHolder.Visible = true
end
for V, V in pairs(X.Tabboxes) do
for X, X in pairs(V.Tabs) do
for K, K in pairs(X.Elements) do
K.Holder.Visible = typeof(K.Visible) == "boolean" and K.Visible or true
if K.SubButton then
K.Base.Visible = K.Visible
K.SubButton.Base.Visible = K.SubButton.Visible
end
end
for K, K in pairs(X.DependencyBoxes) do
if K.Visible then
x(K)
end
end
X.ButtonHolder.Visible = true
end
if V.ActiveTab then
V.ActiveTab:Resize()
end
V.BoxHolder.Visible = true
end
end
f.UpdateSearch = function(x, X)
f.SearchText = X
x = {}
if f.GlobalSearch then
for V, V in pairs(f.Tabs) do
if typeof(V) == "table" and not V.IsKeyTab then
table.insert(x, V)
end
end
elseif f.LastSearchTab and typeof(f.LastSearchTab) == "table" then
table.insert(x, f.LastSearchTab)
end
for V, V in ipairs(x) do
I(V)
end
local I = X:lower()
if c(I) == "" then
f.Searching = false
f.LastSearchTab = nil
return
end
if not f.GlobalSearch and f.ActiveTab and f.ActiveTab.IsKeyTab then
f.Searching = false
f.LastSearchTab = nil
return
end
f.Searching = true
local V = {}
if f.GlobalSearch then
if#x == 0 then
for K, K in pairs(f.Tabs) do
if typeof(K) == "table" and not K.IsKeyTab then
table.insert(x, K)
end
end
end
V = x
elseif f.ActiveTab then
table.insert(V, f.ActiveTab)
end
local K
x = false
for j, j in ipairs(V) do
if D(j, I) then
if not K then
K = j
end
x = if j == f.ActiveTab then true else x
end
end
if f.GlobalSearch then
if x and f.ActiveTab then
f.ActiveTab:RefreshSides()
elseif K then
local I = X
task.defer(function()
if f.SearchText ~= I then return
end
if f.ActiveTab ~= K then
K:Show()
end
end)
end
f.LastSearchTab = nil
else
f.LastSearchTab = f.ActiveTab
end
end
f.AddToRegistry = function(I, I, x)
f.Registry[I] = x
end
f.RemoveFromRegistry = function(I, I)
f.Registry[I] = nil
end
f.UpdateColorsUsingRegistry = function(I)
for x, D in pairs(f.Registry) do
for X, V in pairs(D) do
I = F(V)
if I or typeof(V) == "function" then
x[X] = I or(V())
end
end
end
end
f.SetDPIScale = function(I, I)
f.DPIScale = I / 100
f.MinSize = f.OriginalMinSize * f.DPIScale
for I, I in pairs(f.Scales) do
I.Scale = f.DPIScale
end
for I, I in pairs(z) do
if I.Type == "Dropdown" then
I:RecalculateListSize()
end
end
for I, I in pairs(f.Notifications) do
I:Resize()
end
end
f.GiveSignal = function(I, x)
I = typeof(x)
if x and(I == "RBXScriptConnection" or I == "RBXScriptSignal") then
table.insert(f.Signals, x)
end
return x
end
f.PlaySound = function(I, I, I, I)
end
f.LoadSounds = function(I)
end
function IsValidCustomIcon(I)
return typeof(I) == "string" and(I:match("rbxasset") or(I:match("roblox%.com/asset/%?id=")) or(I:match("rbxthumb://type=")))
end
local I, x = false
do
local D, X = upval_3 .. "/Lucide/source.lua"
local function V(K)
if X then return
end
if request then
pcall(function()
local j = request({Url = K, Method = "GET"})
local O = j and j.Body and#j.Body > 100
if O then
X = j.Body
end
end)
end
if not X then
pcall(function()
local j = game:HttpGet(K)
local K = j and#j > 100
if K then
X = j
end
end)
end
end
if upval_3 ~= "" then V(D) end
V("https://raw.githubusercontent.com/deividcomsono/lucide-roblox-direct/refs/heads/main/source.lua")
if X then
pcall(function()
if upval_3 ~= "" then X = X:gsub("https://raw%.githubusercontent%.com/deividcomsono/lucide%-roblox%-direct/refs/heads/main/spritesheets/", upval_3 .. "/Lucide/spritesheets/") end
end)
pcall(function()
local D = loadstring(X)
if D then
local X = D()
if X and X.GetAsset then
I, x = true, X
end
end
end)
end
end
f.GetIcon = function(D, D)
if not I or not x then return
end
local X, V = pcall(x.GetAsset, D)
if not X or not V then
return
end
return V
end
f.GetCustomIcon = function(D, D)
if not IsValidCustomIcon(D) then return f:GetIcon(D)
else
return{Url = D, ImageRectOffset = Vector2.zero, ImageRectSize = Vector2.zero, Custom = true}
end
end
f.Validate = function(D, D, X)
if typeof(D) ~= "table" then return X
end
for V, K in pairs(X) do
if typeof(V) ~= "number" then
if typeof(K) == "table" then
D[V] = f:Validate(D[V], K)
elseif D[V] == nil then
D[V] = K
end
end
end
return D
end
local D = {ScreenGui = true, SurfaceGui = true, BillboardGui = true, Lighting = true, UIScale = true, UIListLayout = true, UIGridLayout = true, UITableLayout = true, UIPageLayout = true, UIAspectRatioConstraint = true, UISizeConstraint = true, UITextSizeConstraint = true, UICorner = true, UIPadding = true, UIGradient = true, UIStroke = true, UIFlexItem = true}
local function X(V, K)
local j = f.Registry[K] or{}
for O, m in pairs(V) do
if j[O] then
j[O] = nil
elseif O ~= "Text" then
local V = F(m)
if V or typeof(m) == "function" then
j[O] = m
m = V or(m())
end
end
K[O] = m
end
if p(j) > 0 then
f.Registry[K] = j
end
end
local function F(V, K)
local j = b(V)
if l[V] then
X(l[V], j)
end
X(K, j)
if K.Parent and not K.ZIndex and not D[V] and not D[K.Parent.ClassName] then
pcall(function()
j.ZIndex = K.Parent.ZIndex
end)
end
return j
end
local function b(D, X)
if not(pcall(function()
local V = X
if not V then
X = N
end
D.Parent = if typeof(X) == "function" then(X()) else X
end) and D.Parent) then
D.Parent = f.LocalPlayer:WaitForChild("PlayerGui", math.huge)
end
end
local function D(X, V)
if V then b(X, N)
return
end
pcall(d, X)
b(X, w)
end
local b = F("ScreenGui", {Name = "Obsidian", DisplayOrder = 999, ResetOnSpawn = false})
D(b)
f.ScreenGui = b
b.DescendantRemoving:Connect(function(N)
f:RemoveFromRegistry(N)
end)
local N = F("TextButton", {BackgroundTransparency = 1, Modal = false, Size = UDim2.fromScale(0, 0), AnchorPoint = Vector2.zero, Text = "", ZIndex = -999, Parent = b})
local d, w
do
d = F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "WhiteColor", Size = UDim2.fromOffset(9, 1), Visible = false, ZIndex = 999, Parent = b})
F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "DarkColor", Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.new(1, 2, 1, 2), ZIndex = 998, Parent = d})
D = F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "WhiteColor", Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(1, 9), Parent = d})
F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "DarkColor", Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.new(1, 2, 1, 2), ZIndex = 998, Parent = D})
w = F("ImageLabel", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(20, 20), ZIndex = 1000, Visible = false, Parent = d})
end
local D
do
D = F("Frame", {AnchorPoint = Vector2.new(1, 0), BackgroundTransparency = 1, Position = UDim2.new(1, -6, 0, 6), Size = UDim2.new(0, 300, 1, -6), Parent = b})
table.insert(f.Scales, (F("UIScale", {Parent = D})))
F("UIListLayout", {HorizontalAlignment = Enum.HorizontalAlignment.Right, Padding = UDim.new(0, 8), Parent = D})
end
f.ResetCursorIcon = function(X)
w.Visible = false
w.Size = UDim2.fromOffset(20, 20)
end
f.ChangeCursorIcon = function(X, V)
if not V or V == "" then f:ResetCursorIcon()
return
end
X = f:GetCustomIcon(V)
assert(X, "Image must be a valid Roblox asset or a valid URL or a valid lucide icon.")
w.Visible = true
w.Image = X.Url
w.ImageRectOffset = X.ImageRectOffset
w.ImageRectSize = X.ImageRectSize
end
f.ChangeCursorIconSize = function(X, X)
assert(typeof(X) == "UDim2", "UDim2 expected.")
w.Size = X
end
f.GetBetterColor = function(X, X, V)
V*=f.IsLightTheme and -4 or 2
return Color3.fromRGB(math.clamp(X.R * 255 + V, 0, 255), math.clamp(X.G * 255 + V, 0, 255), math.clamp(X.B * 255 + V, 0, 255))
end
f.GetLighterColor = function(X, X)
local V, K, j = X:ToHSV()
return Color3.fromHSV(V, math.max(0, K -0.1), math.min(1, j + 0.1))
end
f.GetDarkerColor = function(X, X)
local V, K, j = X:ToHSV()
return Color3.fromHSV(V, K, j / 2)
end
f.GetKeyString = function(X, X)
if X.EnumType == Enum.KeyCode and X.Value > 33 and X.Value < 127 then return string.char(X.Value)
end
return X.Name
end
f.GetTextBounds = function(X, V, K, j, O)
X = Instance.new("GetTextBoundsParams")
X.Text = V
X.RichText = true
X.Font = K
X.Size = j
X.Width = O or workspace.CurrentCamera.ViewportSize.X -32
j = L:GetTextBoundsAsync(X)
return j.X, j.Y
end
f.MouseIsOverFrame = function(L, L, X)
local V, K = L.AbsolutePosition, L.AbsoluteSize
return X.X >= V.X and X.X <= V.X + K.X and X.Y >= V.Y and X.Y <= V.Y + K.Y
end
f.SafeCallback = function(L, X, ...)
if not(X and typeof(X) == "function") then return
end
L = table.pack(xpcall(X, function(X)
task.defer(error, debug.traceback(X, 2))
if f.NotifyOnError then
f:Notify(X)
end
return X
end, ...))
if not L[1] then
return nil
end
return table.unpack(L, 2, L.n)
end
f.MakeDraggable = function(L, L, X, V, K)
local j, O
local m, k = false
X.InputBegan:Connect(function(X)
if not a(X) or K and f.CantDragForced then return
end
j = X.Position
O, m = L.Position, true
k = X.Changed:Connect(function()
if X.UserInputState ~= Enum.UserInputState.End then return
end
m = false
if k and k.Connected then
k:Disconnect()
k = nil
end
end)
end)
f:GiveSignal(U.InputChanged:Connect(function(X)
if not V and not f.Toggled or K and f.CantDragForced or not(b and b.Parent) then m = false
if k and k.Connected then
k:Disconnect()
k = nil
end
return
end
if m and(t(X)) then
local V = X.Position -j
L.Position = UDim2.new(O.X.Scale, O.X.Offset + V.X, O.Y.Scale, O.Y.Offset + V.Y)
end
end))
end
f.MakeResizable = function(L, L, X, V)
local K, j
local O, m = false
X.InputBegan:Connect(function(X)
if not a(X) then return
end
K = X.Position
j, O = L.Size, true
m = X.Changed:Connect(function()
if X.UserInputState ~= Enum.UserInputState.End then return
end
O = false
if m and m.Connected then
m:Disconnect()
m = nil
end
end)
end)
f:GiveSignal(U.InputChanged:Connect(function(X)
if not L.Visible or not(b and b.Parent) then O = false
if m and m.Connected then
m:Disconnect()
m = nil
end
return
end
if O and(t(X)) then
local O = X.Position -K
L.Size = UDim2.new(j.X.Scale, math.clamp(j.X.Offset + O.X, f.MinSize.X, math.huge), j.Y.Scale, math.clamp(j.Y.Offset + O.Y, f.MinSize.Y, math.huge))
if V then
f:SafeCallback(V)
end
end
end))
end
f.MakeCover = function(L, L, X)
local V, K = Q[X] or{0, 0}, v[X] or{1, 0.5}
return(F("Frame", {AnchorPoint = Vector2.new(V[1], V[2]), BackgroundColor3 = L.BackgroundColor3, Position = UDim2.fromScale(V[1], V[2]), Size = UDim2.fromScale(K[1], K[2]), Parent = L}))
end
f.MakeLine = function(L, L, Q)
return(F("Frame", {AnchorPoint = Q.AnchorPoint or Vector2.zero, BackgroundColor3 = "OutlineColor", Position = Q.Position, Size = Q.Size, ZIndex = Q.ZIndex or L.ZIndex, Parent = L}))
end
f.AddOutline = function(L, L)
return F("UIStroke", {Color = "OutlineColor", Thickness = 1, ZIndex = 2, Parent = L}), (F("UIStroke", {Color = "DarkColor", Thickness = 0, ZIndex = 1, Parent = L}))
end
f.AddBlank = function(L, L, Q)
return F("Frame", {BackgroundTransparency = 1, Size = Q or(UDim2.fromScale(0, 0)), Parent = L})
end
f.MakeOutline = function(L, Q, v, X)
warn("Obsidian is deprecated, please use Obsidian instead.")
L = F("Frame", {BackgroundColor3 = "DarkColor", Position = UDim2.fromOffset(- 2, -2), Size = UDim2.new(1, 4, 1, 4), ZIndex = X, Parent = Q})
Q = F("Frame", {BackgroundColor3 = "OutlineColor", Position = UDim2.fromOffset(1, 1), Size = UDim2.new(1, -2, 1, -2), ZIndex = X, Parent = L})
if v and v > 0 then
F("UICorner", {CornerRadius = UDim.new(0, v + 1), Parent = L})
F("UICorner", {CornerRadius = UDim.new(0, v), Parent = Q})
end
return L, Q
end
f.AddDraggableLabel = function(L, L)
local Q, v = {}, F("TextLabel", {AutomaticSize = Enum.AutomaticSize.XY, BackgroundColor3 = "BackgroundColor", Size = UDim2.fromOffset(0, 0), Position = UDim2.fromOffset(6, 6), Text = L, TextSize = 15, ZIndex = 10, Parent = b})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = v})
F("UIPadding", {PaddingBottom = UDim.new(0, 6), PaddingLeft = UDim.new(0, 12), PaddingRight = UDim.new(0, 12), PaddingTop = UDim.new(0, 6), Parent = v})
table.insert(f.Scales, F("UIScale", {Parent = v}))
f:AddOutline(v)
f:MakeDraggable(v, v, true)
Q.Label = v
Q.SetText = function(L, L)
pcall(function()
v.Text = L
end)
end
Q.SetVisible = function(L, L)
pcall(function()
v.Visible = L
end)
end
return Q
end
f.AddDraggableButton = function(L, L, Q, v)
local X, V = {}, F("TextButton", {BackgroundColor3 = "BackgroundColor", Position = UDim2.fromOffset(6, 6), TextSize = 16, ZIndex = 10, Parent = b})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = V})
if not v then
table.insert(f.Scales, F("UIScale", {Parent = V}))
end
f:AddOutline(V)
V.MouseButton1Click:Connect(function()
f:SafeCallback(Q, X)
end)
f:MakeDraggable(V, V, true)
X.Button = V
X.SetText = function(Q, Q)
local v, K = f:GetTextBounds(Q, f.Scheme.Font, 16)
V.Text = Q
V.Size = UDim2.fromOffset(v * 2, K * 2)
end
X:SetText(L)
return X
end
f.AddDraggableMenu = function(L, Q)
L = F("Frame", {AutomaticSize = Enum.AutomaticSize.XY, BackgroundColor3 = "BackgroundColor", Position = UDim2.fromOffset(6, 6), Size = UDim2.fromOffset(0, 0), ZIndex = 10, Parent = b})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = L})
table.insert(f.Scales, F("UIScale", {Parent = L}))
f:AddOutline(L)
f:MakeLine(L, {Position = UDim2.fromOffset(0, 34), Size = UDim2.new(1, 0, 0, 1)})
local v = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 34), Text = Q, TextSize = 15, TextXAlignment = Enum.TextXAlignment.Left, Parent = L})
F("UIPadding", {PaddingLeft = UDim.new(0, 12), PaddingRight = UDim.new(0, 12), Parent = v})
Q = F("Frame", {BackgroundTransparency = 1, Position = UDim2.fromOffset(0, 35), Size = UDim2.new(1, 0, 1, -35), Parent = L})
F("UIListLayout", {Padding = UDim.new(0, 7), Parent = Q})
F("UIPadding", {PaddingBottom = UDim.new(0, 7), PaddingLeft = UDim.new(0, 7), PaddingRight = UDim.new(0, 7), PaddingTop = UDim.new(0, 7), Parent = Q})
f:MakeDraggable(L, v, true)
return L, Q
end
f.CreateFloatingPanel = function(L, Q)
Q = Q or{}
local v, X, V, K, j, O = Q.Title or "Panel", Q.Width or 580, Q.Height or 380, Q.Position or(UDim2.fromOffset(200, 100)), Q.SidebarWidth or 140, {Tabs = {}, ActiveTab = nil, TabOrder = {}}
local Q = F("TextButton", {BackgroundColor3 = function()
return f:GetBetterColor(f.Scheme.BackgroundColor, -1)
end, Text = "", AutoButtonColor = false, BorderSizePixel = 0, Position = K, Size = UDim2.fromOffset(X, V), ClipsDescendants = true, Visible = false, ZIndex = 100, Parent = b})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = Q})
table.insert(f.Scales, F("UIScale", {Parent = Q}))
F("UIStroke", {Color = "AccentColor", Transparency = 0.7, Thickness = 1, Parent = Q})
f:AddOutline(Q)
V = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 36), Parent = Q})
f:MakeDraggable(Q, V, true)
f:MakeLine(Q, {Position = UDim2.fromOffset(0, 36), Size = UDim2.new(1, 0, 0, 1)})
X = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(0, j, 1, 0), Parent = V})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 6), Parent = X})
local K = F("TextLabel", {BackgroundTransparency = 1, AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.new(0, 0, 1, 0), Text = v, TextSize = 15, Parent = X})
f:AddToRegistry(K, {TextColor3 = "FontColor"})
L = F("Frame", {AnchorPoint = Vector2.new(1, 0.5), BackgroundTransparency = 1, Position = UDim2.new(1, -8, 0.5, 0), Size = UDim2.new(1, -j -16, 0, 20), Parent = V})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), Parent = L})
local v = F("TextLabel", {BackgroundTransparency = 1, AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.new(0, 0, 1, 0), Text = "", TextSize = 12, TextTransparency = 0.5, Parent = L})
f:AddToRegistry(v, {TextColor3 = "FontColor"})
local X = F("TextButton", {BackgroundTransparency = 1, Size = UDim2.fromOffset(36, 36), AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, 0, 0, 0), Text = "X", TextSize = 14, Parent = V})
f:AddToRegistry(X, {TextColor3 = "FontColor"})
X.MouseEnter:Connect(function()
pcall(function()
X.TextColor3 = f.Scheme.RedColor
end)
end)
X.MouseLeave:Connect(function()
pcall(function()
X.TextColor3 = f.Scheme.FontColor
end)
end)
X.MouseButton1Click:Connect(function()
Q.Visible = false
end)
L = F("Frame", {BackgroundColor3 = "BackgroundColor", Position = UDim2.fromOffset(0, 37), Size = UDim2.new(0, j, 1, -37), Parent = Q})
local X = F("ScrollingFrame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), CanvasSize = UDim2.fromScale(0, 0), AutomaticCanvasSize = Enum.AutomaticSize.Y, ScrollBarThickness = 2, ScrollBarImageTransparency = 0.6, Parent = L})
F("UIListLayout", {Padding = UDim.new(0, 2), Parent = X})
F("UIPadding", {PaddingTop = UDim.new(0, 6), PaddingBottom = UDim.new(0, 6), PaddingLeft = UDim.new(0, 6), PaddingRight = UDim.new(0, 6), Parent = X})
F("Frame", {BackgroundColor3 = "OutlineColor", Position = UDim2.new(0, j, 0, 37), Size = UDim2.new(0, 1, 1, -37), Parent = Q})
local L = F("ScrollingFrame", {BackgroundTransparency = 1, Position = UDim2.fromOffset(j + 1, 37), Size = UDim2.new(1, -j -1, 1, -37), CanvasSize = UDim2.fromScale(0, 0), AutomaticCanvasSize = Enum.AutomaticSize.Y, ScrollBarThickness = 3, ScrollBarImageTransparency = 0.4, Parent = Q})
f:AddToRegistry(L, {ScrollBarImageColor3 = "AccentColor"})
F("UIPadding", {PaddingTop = UDim.new(0, 10), PaddingBottom = UDim.new(0, 10), PaddingLeft = UDim.new(0, 12), PaddingRight = UDim.new(0, 12), Parent = L})
O.Frame = Q
O.SetVisible = function(V, V)
Q.Visible = V
end
O.Toggle = function(V)
Q.Visible = not Q.Visible
end
O.SetTitle = function(Q, Q)
K.Text = Q
end
O.AddTab = function(Q, V, K)
local j = F("TextButton", {BackgroundColor3 = "MainColor", BackgroundTransparency = 1, AutoButtonColor = false, BorderSizePixel = 0, Size = UDim2.new(1, 0, 0, 28), Text = "", Parent = X})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius / 2), Parent = j})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 6), Parent = j})
F("UIPadding", {PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), Parent = j})
Q = K and(f:GetIcon(K))
if Q then
K = F("ImageLabel", {BackgroundTransparency = 1, Size = UDim2.fromOffset(14, 14), Image = Q.Url or Q, Parent = j})
if Q.ImageRectOffset then
K.ImageRectOffset = Q.ImageRectOffset
end
if Q.ImageRectSize then
K.ImageRectSize = Q.ImageRectSize
end
f:AddToRegistry(K, {ImageColor3 = "FontColor"})
end
Q = F("TextLabel", {BackgroundTransparency = 1, AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.new(0, 0, 1, 0), Text = V, TextSize = 12, TextXAlignment = Enum.TextXAlignment.Left, Parent = j})
f:AddToRegistry(Q, {TextColor3 = "FontColor"})
K = F("Frame", {BackgroundColor3 = "AccentColor", Position = UDim2.fromOffset(0, 0), Size = UDim2.new(0, 3, 1, 0), Visible = false, Parent = j})
F("UICorner", {CornerRadius = UDim.new(0, 2), Parent = K})
local X = F("ScrollingFrame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), CanvasSize = UDim2.fromScale(0, 0), AutomaticCanvasSize = Enum.AutomaticSize.Y, ScrollBarThickness = 3, ScrollBarImageTransparency = 0.4, BorderSizePixel = 0, Visible = false, Parent = L})
f:AddToRegistry(X, {ScrollBarImageColor3 = "AccentColor"})
local L = F("Frame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), AutomaticSize = Enum.AutomaticSize.Y, Parent = X})
F("UIListLayout", {Padding = UDim.new(0, 8), Parent = L})
F("UIPadding", {PaddingBottom = UDim.new(0, 7), PaddingLeft = UDim.new(0, 7), PaddingRight = UDim.new(0, 7), PaddingTop = UDim.new(0, 7), Parent = L})
local m = {Container = L, Holder = L, Tab = {}, DependencyBoxes = {}, Elements = {}, Resize = function(k)
end
}
setmetatable(m, f.BaseGroupbox)
L = {Name = V, Button = j, Label = Q, AccentLine = K, Scroll = X, Groupbox = m, Container = X}
j.MouseEnter:Connect(function()
if O.ActiveTab ~= V then j.BackgroundTransparency = 0.7
end
end)
j.MouseLeave:Connect(function()
if O.ActiveTab ~= V then j.BackgroundTransparency = 1
end
end)
j.MouseButton1Click:Connect(function()
O:SwitchTab(V)
end)
table.insert(O.TabOrder, V)
O.Tabs[V] = L
if not O.ActiveTab then
O:SwitchTab(V)
end
return m
end
O.SwitchTab = function(L, Q)
for X, V in pairs(O.Tabs) do
L = X == Q
V.Container.Visible = L
V.AccentLine.Visible = L
V.Button.BackgroundTransparency = L and 0 or 1
V.Label.TextTransparency = L and 0 or 0.4
end
v.Text = Q
O.ActiveTab = Q
end
return O
end
do
local L = f:AddDraggableLabel("")
L:SetVisible(false)
f.SetWatermark = function(Q, Q)
warn("Watermark is deprecated, please use Library instead.")
L:SetText(Q)
end
f.SetWatermarkVisibility = function(Q, Q)
warn("Watermark is deprecated, please use Library instead.")
L:SetVisible(Q)
end
end
local L
local function Q()
return f.Window and f.Window.Frame
end
f.AddContextMenu = function(v, v, X, V, K, j)
local O
if K then
O = F("ScrollingFrame", {AutomaticCanvasSize = K == 2 and Enum.AutomaticSize.Y or Enum.AutomaticSize.None, AutomaticSize = K == 1 and Enum.AutomaticSize.Y or Enum.AutomaticSize.None, BackgroundColor3 = "BackgroundColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png", CanvasSize = UDim2.fromOffset(0, 0), ClipsDescendants = true, ScrollBarImageColor3 = "OutlineColor", ScrollBarThickness = K == 2 and 2 or 0, Size = typeof(X) == "function" and(X()) or X, TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png", Visible = false, ZIndex = 50, Parent = b})
else
O = F("Frame", {BackgroundColor3 = "BackgroundColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, ClipsDescendants = true, Size = typeof(X) == "function" and(X()) or X, Visible = false, ZIndex = 50, Parent = b})
end
table.insert(f.Scales, F("UIScale", {Parent = O}))
local m = {Active = false, Holder = v, Menu = O, List = nil, Signal = nil, ScrollConns = {}, Size = X}
if K then
m.List = F("UIListLayout", {Parent = O})
end
local function X()
if typeof(V) == "function" then local K = V()
return K[1] or 0, K[2] or 0
end
return V[1], V[2]
end
local function V()
local K, k = X()
local X, n = v.AbsolutePosition.X + K, v.AbsolutePosition.Y + k
O.Size = typeof(m.Size) == "function" and(m.Size()) or m.Size
k = Q()
if k and k.Parent then
local K, E, S, G = k.AbsolutePosition, k.AbsoluteSize, O.AbsoluteSize.X, O.AbsoluteSize.Y
S, G = if S <= 0 and O.Size.X.Offset > 0 then O.Size.X.Offset * f.DPIScale else S, if G <= 0 and O.Size.Y.Offset > 0 then O.Size.Y.Offset * f.DPIScale else G
local k, y = n + G, K.Y
n, X = if G > 0 then(math.clamp(if k > y + E.Y then v.AbsolutePosition.Y -G -2 else n, K.Y, math.max(K.Y, K.Y + E.Y -G))) else
if k > y + E.Y then
v.AbsolutePosition.Y -G -2
else
n, if S > 0 then(math.clamp(X, K.X, math.max(K.X, K.X + E.X -S))) else X
end
O.Position = UDim2.fromOffset(math.floor(X), math.floor(n))
end
m.UnbindScrollClose = function(X)
for X, X in ipairs(m.ScrollConns) do
pcall(function()
X:Disconnect()
end)
end
table.clear(m.ScrollConns)
end
m.BindScrollClose = function(X)
m:UnbindScrollClose()
local X, K = v.Parent, Q()
while X and X ~= b do
if X:IsA("ScrollingFrame") then
table.insert(m.ScrollConns, X:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
m:Close()
end))
end
if X == K then
break
end
X = X.Parent
end
end
m.Open = function(Q)
if L == m then return
elseif L then
L:Close()
end
L = m
m.Active = true
V()
if typeof(j) == "function" then
f:SafeCallback(j, true)
end
O.Visible = true
m:BindScrollClose()
m.Signal = v:GetPropertyChangedSignal("AbsolutePosition"):Connect(V)
end
m.Close = function(Q)
if L ~= m then return
end
O.Visible = false
if m.Signal then
m.Signal:Disconnect()
m.Signal = nil
end
m:UnbindScrollClose()
m.Active = false
L = nil
if typeof(j) == "function" then
f:SafeCallback(j, false)
end
end
m.Toggle = function(Q)
if m.Active then m:Close()
else
m:Open()
end
end
m.SetSize = function(Q, Q)
m.Size = Q
O.Size = typeof(Q) == "function" and(Q()) or Q
if m.Active then
V()
end
end
m.Destroy = function(Q)
m:Close()
m:UnbindScrollClose()
Q = L
if Q == m then
L = nil
end
for v = #f.Scales, 1, -1 do
Q = f.Scales[v]
if Q and Q.Parent == O then
table.remove(f.Scales, v)
end
end
pcall(function()
O:Destroy()
end)
end
return m
end
f:GiveSignal(U.InputBegan:Connect(function(Q)
if f.Unloaded then return
end
if a(Q, true) then
local v = Q.Position
if L and not(f:MouseIsOverFrame(L.Menu, v) or(f:MouseIsOverFrame(L.Holder, v))) then
L:Close()
end
end
end))
local Q = F("TextLabel", {AutomaticSize = Enum.AutomaticSize.Y, BackgroundColor3 = "BackgroundColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, TextSize = 14, TextWrapped = true, Visible = false, ZIndex = 20, Parent = b})
F("UIPadding", {PaddingBottom = UDim.new(0, 2), PaddingLeft = UDim.new(0, 4), PaddingRight = UDim.new(0, 4), PaddingTop = UDim.new(0, 2), Parent = Q})
table.insert(f.Scales, (F("UIScale", {Parent = Q})))
Q:GetPropertyChangedSignal("AbsolutePosition"):Connect(function()
if f.Unloaded then return
end
local v = f:GetTextBounds(Q.Text, Q.FontFace, Q.TextSize, (workspace.CurrentCamera.ViewportSize.X -Q.AbsolutePosition.X -8) / f.DPIScale)
Q.Size = UDim2.fromOffset(v + 8)
end)
local v
f.AddTooltip = function(X, X, V, K)
local j = {Disabled = false, Hovering = false, Signals = {}}
local function O()
if v == K or L and(f:MouseIsOverFrame(L.Menu, C)) or j.Disabled and typeof(V) ~= "string" or not j.Disabled and typeof(X) ~= "string" then return
end
v = K
Q.Text = j.Disabled and V or X
Q.Visible = true
while f.Toggled and(f:MouseIsOverFrame(K, C)) and not(L and(f:MouseIsOverFrame(L.Menu, C))) do
Q.Position = UDim2.fromOffset(C.X + (f.ShowCustomCursor and 8 or 14), C.Y + (f.ShowCustomCursor and 8 or 12))
q.RenderStepped:Wait()
end
Q.Visible = false
v = nil
end
local function L(X)
local V = typeof(X)
if X and(V == "RBXScriptConnection" or V == "RBXScriptSignal") then
table.insert(j.Signals, X)
end
return X
end
L(K.MouseEnter:Connect(O))
L(K.MouseMoved:Connect(O))
L(K.MouseLeave:Connect(function()
if v ~= K then return
end
Q.Visible = false
v = nil
end))
j.Destroy = function(L)
for X = #j.Signals, 1, -1 do
L = table.remove(j.Signals, X)
if L and L.Connected then
L:Disconnect()
end
end
if v == K then
if Q then
Q.Visible = false
end
v = nil
end
end
table.insert(P, Q)
return j
end
f.OnUnload = function(L, L)
table.insert(f.UnloadSignals, L)
end
f.Unload = function(L)
for v = #f.Signals, 1, -1 do
L = table.remove(f.Signals, v)
if L and L.Connected then
L:Disconnect()
end
end
for L, L in pairs(f.UnloadSignals) do
f:SafeCallback(L)
end
for L, L in pairs(P) do
f:SafeCallback(L.Destroy, L)
end
f.Unloaded = true
b:Destroy()
R().YabujinLibrary = nil
end
local L, P, v, X, V = f:GetIcon("check"), f:GetIcon("chevron-up"), f:GetIcon("move-diagonal-2"), f:GetIcon("key"), f:GetIcon("move")
f.SetIconModule = function(K, K)
I, x = true, K
L = f:GetIcon("check")
P = f:GetIcon("chevron-up")
v = f:GetIcon("move-diagonal-2")
X = f:GetIcon("key")
V = f:GetIcon("move")
end
local I = {}
do
local x, K = {AddKeyPicker = function(j, O, m)
m = f:Validate(m, l.KeyPicker)
local k = j
local n, E = k.TextLabel, {Text = m.Text, Value = m.Default, Modifiers = m.DefaultModifiers, DisplayValue = m.Default, Toggled = false, Mode = m.Mode, SyncToggleState = m.SyncToggleState, Callback = m.Callback, ChangedCallback = m.ChangedCallback, Changed = m.Changed, Clicked = m.Clicked, Type = "KeyPicker"}
if E.Mode == "Press" then
assert(k.Type == "Label", "KeyPicker with the mode 'Press' can be only applied on Labels.")
E.SyncToggleState = false
m.Modes = {"Press"}
m.Mode = "Press"
end
if E.SyncToggleState then
m.Modes = {"Toggle", "Hold"}
if not table.find(m.Modes, m.Mode) then
m.Mode = "Toggle"
end
end
local S, G, y, i, T = false, {MB1 = Enum.UserInputType.MouseButton1, MB2 = Enum.UserInputType.MouseButton2, MB3 = Enum.UserInputType.MouseButton3}, {[Enum.UserInputType.MouseButton1] = "MB1", [Enum.UserInputType.MouseButton2] = "MB2", [Enum.UserInputType.MouseButton3] = "MB3"}, {LAlt = Enum.KeyCode.LeftAlt, RAlt = Enum.KeyCode.RightAlt, LCtrl = Enum.KeyCode.LeftControl, RCtrl = Enum.KeyCode.RightControl, LShift = Enum.KeyCode.LeftShift, RShift = Enum.KeyCode.RightShift, Tab = Enum.KeyCode.Tab, CapsLock = Enum.KeyCode.CapsLock}, {[Enum.KeyCode.LeftAlt] = "LAlt", [Enum.KeyCode.RightAlt] = "RAlt", [Enum.KeyCode.LeftControl] = "LCtrl", [Enum.KeyCode.RightControl] = "RCtrl", [Enum.KeyCode.LeftShift] = "LShift", [Enum.KeyCode.RightShift] = "RShift", [Enum.KeyCode.Tab] = "Tab", [Enum.KeyCode.CapsLock] = "CapsLock"}
local function MJ(bJ)
return bJ.UserInputType == Enum.UserInputType.Keyboard and T[bJ.KeyCode] ~= nil
end
local function bJ()
local JJ = {}
for NJ, AJ in pairs(i) do
if not table.find(JJ, NJ) and(U:IsKeyDown(AJ)) then
table.insert(JJ, NJ)
end
end
return JJ
end
local function JJ(NJ)
if not(typeof(NJ) == "table" and p(NJ) > 0) then return true
end
local AJ, qJ = bJ(), true
for bJ, bJ in pairs(NJ) do
if not table.find(AJ, bJ) then
qJ = false
break
end
end
return qJ
end
local function bJ(NJ)
if not NJ then return false
end
if y[NJ.UserInputType] ~= nil then
return U:IsMouseButtonPressed(NJ.UserInputType) and not U:GetFocusedTextBox()
elseif NJ.UserInputType == Enum.UserInputType.Keyboard then
return U:IsKeyDown(NJ.KeyCode) and not U:GetFocusedTextBox()
else
return false
end
end
local function NJ(AJ)
local qJ = {}
for WJ, WJ in pairs(AJ) do
table.insert(qJ, i[WJ])
end
return qJ
end
local function AJ(qJ)
if typeof(qJ) ~= "table" then return{}
end
local WJ = {}
for UJ, UJ in pairs(qJ) do
if i[UJ] then
table.insert(WJ, UJ)
end
end
return WJ
end
E.Modifiers = AJ(E.Modifiers)
local i, qJ = F("TextButton", {BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Size = UDim2.fromOffset(18, 18), Text = E.Value, TextSize = 14, Parent = n}), {Normal = E.Mode ~= "Toggle"}
do
local WJ = F("TextButton", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 16), Text = "", Visible = not m.NoUI, Parent = f.KeybindContainer})
local UJ, LJ = F("TextLabel", {AutomaticSize = Enum.AutomaticSize.X, BackgroundTransparency = 1, Size = UDim2.fromScale(0, 1), Text = "", TextSize = 14, TextTransparency = 0.5, Parent = WJ}), F("Frame", {AnchorPoint = Vector2.new(0, 0.5), BackgroundColor3 = "MainColor", Position = UDim2.fromScale(0, 0.5), Size = UDim2.fromOffset(14, 14), SizeConstraint = Enum.SizeConstraint.RelativeYY, Parent = WJ})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius / 2), Parent = LJ})
F("UIStroke", {Color = "OutlineColor", Parent = LJ})
local hJ = F("ImageLabel", {Image = L and L.Url or "", ImageColor3 = "FontColor", ImageRectOffset = L and L.ImageRectOffset or Vector2.zero, ImageRectSize = L and L.ImageRectSize or Vector2.zero, ImageTransparency = 1, Position = UDim2.fromOffset(2, 2), Size = UDim2.new(1, -4, 1, -4), Parent = LJ})
qJ.Display = function(BJ, BJ)
UJ.TextTransparency = BJ and 0 or 0.5
hJ.ImageTransparency = BJ and 0 or 1
end
qJ.SetText = function(hJ, hJ)
UJ.Text = hJ
end
qJ.SetVisibility = function(hJ, hJ)
WJ.Visible = hJ
end
qJ.SetNormal = function(hJ, BJ)
qJ.Normal = BJ
hJ = not BJ
WJ.Active = hJ
UJ.Position = BJ and(UDim2.fromOffset(0, 0)) or(UDim2.fromOffset(22, 0))
LJ.Visible = hJ
end
E.DoClick = function(...)
end
WJ.MouseButton1Click:Connect(function()
if qJ.Normal then return
end
E.Toggled = not E.Toggled
E:DoClick()
end)
qJ.Holder = WJ
qJ.Label = UJ
qJ.Checkbox = LJ
qJ.Loaded = true
table.insert(f.KeybindToggles, qJ)
end
local WJ = f:AddContextMenu(i, UDim2.fromOffset(62, 0), function()
return{i.AbsoluteSize.X + 1.5, 0.5}
end, 1)
E.Menu = WJ
local UJ = {}
for LJ, LJ in pairs(m.Modes) do
local hJ, BJ = {}, F("TextButton", {BackgroundColor3 = "MainColor", BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 21), Text = LJ, TextSize = 14, TextTransparency = 0.5, Parent = WJ.Menu})
hJ.Select = function(RJ)
for RJ, RJ in pairs(UJ) do
RJ:Deselect()
end
E.Mode = LJ
BJ.BackgroundTransparency = 0
BJ.TextTransparency = 0
WJ:Close()
end
hJ.Deselect = function(RJ)
E.Mode = nil
BJ.BackgroundTransparency = 1
BJ.TextTransparency = 0.5
end
BJ.MouseButton1Click:Connect(function()
hJ:Select()
end)
if E.Mode == LJ then
hJ:Select()
end
UJ[LJ] = hJ
end
E.Display = function(LJ, LJ)
if f.Unloaded then return
end
local hJ, BJ = f:GetTextBounds(LJ or E.DisplayValue, i.FontFace, i.TextSize, n.AbsoluteSize.X)
i.Text = LJ or E.DisplayValue
i.Size = UDim2.fromOffset(hJ + 9, BJ + 4)
end
E.Update = function(n)
E:Display()
if m.NoUI then
return
end
if E.Mode == "Toggle" and k.Type == "Toggle" and k.Disabled then
qJ:SetVisibility(false)
return
end
local n, LJ = E:GetState(), f.ShowToggleFrameInKeybinds and E.Mode == "Toggle"
if E.SyncToggleState and k.Value ~= n then
k:SetValue(n)
end
if qJ.Loaded then
if LJ then
qJ:SetNormal(false)
else
qJ:SetNormal(true)
end
qJ:SetText(("[%s] %s (%s)"):format(E.DisplayValue, E.Text, E.Mode))
qJ:SetVisibility(true)
qJ:Display(n)
end
end
E.GetState = function(n)
if E.Mode == "Always" then return true
elseif E.Mode == "Hold" then
n = E.Value
if n == "None" then
return false
end
if not JJ(E.Modifiers) then
return false
end
if G[n] ~= nil then
return U:IsMouseButtonPressed(G[n]) and not U:GetFocusedTextBox()
else
return U:IsKeyDown(Enum.KeyCode[n]) and not U:GetFocusedTextBox()
end
else
return E.Toggled
end
end
E.OnChanged = function(n, n)
E.Changed = n
end
E.OnClick = function(n, n)
E.Clicked = n
end
E.DoClick = function(n)
if E.Mode == "Press" then
if E.Toggled and m.WaitForCallback == true then
return
end
E.Toggled = true
end
f:SafeCallback(E.Callback, E.Toggled)
f:SafeCallback(E.Clicked, E.Toggled)
if E.Mode == "Press" then
E.Toggled = false
end
end
E.SetValue = function(m, n)
local LJ, hJ, BJ = n[1], n[2], n[3]
m, n = pcall(function()
if LJ == "None" then LJ = nil
return nil
end
if G[LJ] == nil then
return Enum.KeyCode[LJ]
end
return G[LJ]
end)
if LJ == nil then
E.Value = "None"
elseif m then
E.Value = LJ
else
E.Value = "Unknown"
end
E.Modifiers = AJ(typeof(BJ) == "table" and BJ or E.Modifiers)
E.DisplayValue = p(E.Modifiers) > 0 and table.concat(E.Modifiers, " + ") .. " + " .. E.Value or E.Value
if UJ[hJ] then
UJ[hJ]:Select()
end
m = NJ(E.Modifiers)
f:SafeCallback(E.ChangedCallback, n, m)
f:SafeCallback(E.Changed, n, m)
E:Update()
end
E.SetText = function(m, m)
qJ:SetText(m)
E:Update()
end
i.MouseButton1Click:Connect(function()
if S then return
end
S = true
i.Text = "..."
i.Size = UDim2.fromOffset(29, 18)
local m
local n = {}
local function G()
m = U.InputBegan:Wait()
return U:GetFocusedTextBox() ~= nil
end
repeat
task.wait()
i.Text = "..."
i.Size = UDim2.fromOffset(29, 18)
if G() then
S = false
E:Update()
return
end
if m.KeyCode == Enum.KeyCode.Escape then
break
end
if MJ(m) then
local NJ = false
repeat
task.wait()
if U:IsKeyDown(m.KeyCode) then
task.wait(0.075)
if U:IsKeyDown(m.KeyCode) then
if not table.find(n, T[m.KeyCode]) then
n[#n + 1] = T[m.KeyCode]
E:Display(table.concat(n, " + ") .. " + ...")
end
local AJ = NJ
if G() then
NJ = true
break
end
if m.KeyCode == Enum.KeyCode.Escape then
NJ = AJ
break
end
if not MJ(m) then
NJ = AJ
break
end
elseif not table.find(n, T[m.KeyCode]) then
break
end
end
until false
if NJ then
S = false
E:Update()
return
end
end
break
until false
local G, T = if y[m.UserInputType] ~= nil then y[m.UserInputType] else
if m.UserInputType == Enum.UserInputType.Keyboard then
m.KeyCode == Enum.KeyCode.Escape and "None" or m.KeyCode.Name
else
"Unknown", {"Touch", "MB1", "MB2", "MB3", "W", "A", "S", "D", "Space", "LeftShift", "LeftControl"}
for MJ, MJ in pairs(T) do
if G == MJ then
f:Notify("Cant use " .. MJ .. " as keybind", 3)
S = false
E:Update()
return
end
end
n = (m.KeyCode == Enum.KeyCode.Escape or G == "Unknown") and{} or n
E.Toggled = false
E:SetValue({G, E.Mode, n})
repeat
task.wait()
until not bJ(m) or(U:GetFocusedTextBox())
S = false
end)
i.MouseButton2Click:Connect(WJ.Toggle)
f:GiveSignal(U.InputBegan:Connect(function(m)
if f.Unloaded then return
end
if E.Mode == "Always" or E.Value == "Unknown" or E.Value == "None" or S or(U:GetFocusedTextBox()) then
return
end
local n = E.Value
local G = if n and JJ(E.Modifiers) == true and(y[m.UserInputType] == n or m.UserInputType == Enum.UserInputType.Keyboard and m.KeyCode.Name == n) then true else false
if E.Mode == "Toggle" then
if G then
E.Toggled = not E.Toggled
E:DoClick()
end
elseif E.Mode == "Press" then
if G then
E:DoClick()
end
end
E:Update()
end))
f:GiveSignal(U.InputEnded:Connect(function()
if f.Unloaded then return
end
if E.Value == "Unknown" or E.Value == "None" or S or(U:GetFocusedTextBox()) then
return
end
E:Update()
end))
E:Update()
if k.Addons then
table.insert(k.Addons, E)
end
E.Default = E.Value
E.DefaultModifiers = table.clone(E.Modifiers or{})
z[O] = E
return j
end
}, {}
for j = 0, 1, 0.1 do
table.insert(K, ColorSequenceKeypoint.new(j, Color3.fromHSV(j, 1, 1)))
end
x.AddColorPicker = function(j, O, m)
m = f:Validate(m, l.ColorPicker)
local k, n = j.TextLabel, {Value = m.Default, Transparency = m.Transparency or 0, Title = m.Title, Callback = m.Callback, Changed = m.Changed, Type = "ColorPicker"}
n.Hue, n.Sat, n.Vib = n.Value:ToHSV()
local E = F("TextButton", {BackgroundColor3 = n.Value, BorderColor3 = f:GetDarkerColor(n.Value), BorderSizePixel = 1, Size = UDim2.fromOffset(18, 18), Text = "", Parent = k})
local S, G = F("ImageLabel", {Image = Y.GetAsset("TransparencyTexture"), ImageTransparency = 1 -n.Transparency, ScaleType = Enum.ScaleType.Tile, Size = UDim2.fromScale(1, 1), TileSize = UDim2.fromOffset(9, 9), Parent = E}), f:AddContextMenu(E, UDim2.fromOffset(m.Transparency and 256 or 234, 0), function()
return{0.5, E.AbsoluteSize.Y + 1.5}
end, 1)
G.List.Padding = UDim.new(0, 8)
n.ColorMenu = G
F("UIPadding", {PaddingBottom = UDim.new(0, 6), PaddingLeft = UDim.new(0, 6), PaddingRight = UDim.new(0, 6), PaddingTop = UDim.new(0, 6), Parent = G.Menu})
if typeof(n.Title) == "string" then
F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 8), Text = n.Title, TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = G.Menu})
end
k = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 200), Parent = G.Menu})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 6), Parent = k})
local y = F("ImageButton", {BackgroundColor3 = n.Value, Image = Y.GetAsset("SaturationMap"), Size = UDim2.fromOffset(200, 200), Parent = k})
local i = F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "WhiteColor", Size = UDim2.fromOffset(6, 6), Parent = y})
F("UICorner", {CornerRadius = UDim.new(1, 0), Parent = i})
F("UIStroke", {Color = "DarkColor", Parent = i})
local T = F("TextButton", {Size = UDim2.fromOffset(16, 200), Text = "", Parent = k})
F("UIGradient", {Color = ColorSequence.new(K), Rotation = 90, Parent = T})
local K = F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "WhiteColor", BorderColor3 = "DarkColor", BorderSizePixel = 1, Position = UDim2.fromScale(0.5, n.Hue), Size = UDim2.new(1, 2, 0, 1), Parent = T})
local MJ, bJ, JJ
if m.Transparency then
MJ = F("ImageButton", {Image = Y.GetAsset("TransparencyTexture"), ScaleType = Enum.ScaleType.Tile, Size = UDim2.fromOffset(16, 200), TileSize = UDim2.fromOffset(8, 8), Parent = k})
bJ = F("Frame", {BackgroundColor3 = n.Value, Size = UDim2.fromScale(1, 1), Parent = MJ})
F("UIGradient", {Rotation = 90, Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}), Parent = bJ})
JJ = F("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "WhiteColor", BorderColor3 = "DarkColor", BorderSizePixel = 1, Position = UDim2.fromScale(0.5, n.Transparency), Size = UDim2.new(1, 2, 0, 1), Parent = MJ})
end
k = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 20), Parent = G.Menu})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalFlex = Enum.UIFlexAlignment.Fill, Padding = UDim.new(0, 8), Parent = k})
local Y, NJ, AJ = F("TextBox", {BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, ClearTextOnFocus = false, Size = UDim2.fromScale(1, 1), Text = "#??????", TextSize = 14, Parent = k}), F("TextBox", {BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, ClearTextOnFocus = false, Size = UDim2.fromScale(1, 1), Text = "?, ?, ?", TextSize = 14, Parent = k}), f:AddContextMenu(E, UDim2.fromOffset(93, 0), function()
return{E.AbsoluteSize.X + 1.5, 0.5}
end, 1)
n.ContextMenu = AJ
local function k(qJ, WJ)
F("TextButton", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 21), Text = qJ, TextSize = 14, Parent = AJ.Menu}).MouseButton1Click:Connect(function()
f:SafeCallback(WJ)
AJ:Close()
end)
end
k("Copy color", function()
f.CopiedColor = {n.Value, n.Transparency}
end)
n.SetValueRGB = function(...)
end
k("Paste color", function()
n:SetValueRGB(f.CopiedColor[1], f.CopiedColor[2])
end)
if s then
k("Copy Hex", function()
s(tostring(n.Value:ToHex()))
end)
k("Copy RGB", function()
s(table.concat({math.floor(n.Value.R * 255), math.floor(n.Value.G * 255), math.floor(n.Value.B * 255)}, ", "))
end)
end
n.SetHSVFromRGB = function(s, s)
n.Hue, n.Sat, n.Vib = s:ToHSV()
end
n.Display = function(s)
if f.Unloaded then return
end
n.Value = Color3.fromHSV(n.Hue, n.Sat, n.Vib)
E.BackgroundColor3 = n.Value
E.BorderColor3 = f:GetDarkerColor(n.Value)
S.ImageTransparency = 1 -n.Transparency
y.BackgroundColor3 = Color3.fromHSV(n.Hue, 1, 1)
if bJ then
bJ.BackgroundColor3 = n.Value
end
i.Position = UDim2.fromScale(n.Sat, 1 -n.Vib)
K.Position = UDim2.fromScale(0.5, n.Hue)
if JJ then
JJ.Position = UDim2.fromScale(0.5, n.Transparency)
end
Y.Text = "#" .. n.Value:ToHex()
NJ.Text = table.concat({math.floor(n.Value.R * 255), math.floor(n.Value.G * 255), math.floor(n.Value.B * 255)}, ", ")
end
n.Update = function(s)
n:Display()
f:SafeCallback(n.Callback, n.Value)
f:SafeCallback(n.Changed, n.Value)
end
n.OnChanged = function(s, s)
n.Changed = s
end
n.SetValue = function(s, K, k)
if typeof(K) == "Color3" then n:SetValueRGB(K, k)
return
end
s = Color3.fromHSV(K[1], K[2], K[3])
n.Transparency = m.Transparency and k or 0
n:SetHSVFromRGB(s)
n:Update()
end
n.SetValueRGB = function(s, s, K)
n.Transparency = m.Transparency and K or 0
n:SetHSVFromRGB(s)
n:Update()
end
E.MouseButton1Click:Connect(G.Toggle)
E.MouseButton2Click:Connect(AJ.Toggle)
y.InputBegan:Connect(function(s)
while g(s) do
local s = y.AbsolutePosition.X
local K = s + y.AbsoluteSize.X
local m, k = math.clamp(C.X, s, K), y.AbsolutePosition.Y
local E = k + y.AbsoluteSize.Y
local S, G, y = math.clamp(C.Y, k, E), n.Sat, n.Vib
n.Sat = (m -s) / (K -s)
n.Vib = 1 -(S -k) / (E -k)
if n.Sat ~= G or n.Vib ~= y then
n:Update()
end
q.RenderStepped:Wait()
end
end)
T.InputBegan:Connect(function(s)
while g(s) do
local s = T.AbsolutePosition.Y
local K = s + T.AbsoluteSize.Y
local m, k = math.clamp(C.Y, s, K), n.Hue
n.Hue = (m -s) / (K -s)
if n.Hue ~= k then
n:Update()
end
q.RenderStepped:Wait()
end
end)
if MJ then
MJ.InputBegan:Connect(function(s)
while g(s) do
local s, K = MJ.AbsolutePosition.Y, MJ.AbsolutePosition.Y + MJ.AbsoluteSize.Y
local m, k = math.clamp(C.Y, s, K), n.Transparency
n.Transparency = (m -s) / (K -s)
if n.Transparency ~= k then
n:Update()
end
q.RenderStepped:Wait()
end
end)
end
Y.FocusLost:Connect(function(s)
if not s then return
end
local s, K = pcall(Color3.fromHex, Y.Text)
if s and typeof(K) == "Color3" then
n.Hue, n.Sat, n.Vib = K:ToHSV()
end
n:Update()
end)
NJ.FocusLost:Connect(function(s)
if not s then return
end
local s, Y, K = NJ.Text:match("(%d+),%s*(%d+),%s*(%d+)")
if s and Y and K then
n:SetHSVFromRGB(Color3.fromRGB(s, Y, K))
end
n:Update()
end)
n:Display()
if j.Addons then
table.insert(j.Addons, n)
end
n.Default = n.Value
z[O] = n
return j
end
x.AddInlineButton = function(s, Y)
Y = if typeof(Y) ~= "table" then{Text = tostring(Y or "")} else Y
local K = s.TextLabel
assert(K, "AddInlineButton can only be applied on Toggles or Labels.")
local j, O = {Text = Y.Text or "", Icon = Y.Icon, Func = Y.Func or Y.Callback or function()
end, Tooltip = Y.Tooltip, DisabledTooltip = Y.DisabledTooltip, TooltipTable = nil, Risky = Y.Risky or false, Disabled = Y.Disabled or false, Visible = Y.Visible ~= false, Tween = nil, Type = "InlineButton"}, Y.Size or 16
local m = F("TextButton", {Active = not j.Disabled, BackgroundColor3 = j.Disabled and "BackgroundColor" or "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Size = UDim2.fromOffset(O, O), Text = "", TextSize = 11, TextTransparency = j.Disabled and 0.8 or 0.35, Visible = j.Visible, Parent = K})
local K, O = F("UIStroke", {Color = "OutlineColor", Transparency = j.Disabled and 0.5 or 0, Parent = m}), false
if j.Icon then
Y = f:GetIcon(j.Icon)
if Y then
F("ImageLabel", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, Image = Y.Url or "", ImageColor3 = "FontColor", ImageRectOffset = Y.ImageRectOffset or Vector2.zero, ImageRectSize = Y.ImageRectSize or Vector2.zero, ImageTransparency = j.Disabled and 0.8 or 0.2, Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.new(1, -4, 1, -4), Parent = m})
O = true
end
end
if not O then
m.Text = j.Text
end
j.Base = m
j.Stroke = K
j.UpdateColors = function(Y)
if f.Unloaded then return
end
_(j.Tween)
m.BackgroundColor3 = j.Disabled and f.Scheme.BackgroundColor or f.Scheme.MainColor
m.TextTransparency = j.Disabled and 0.8 or 0.35
K.Transparency = j.Disabled and 0.5 or 0
m.Active = not j.Disabled
f.Registry[m].BackgroundColor3 = j.Disabled and "BackgroundColor" or "MainColor"
end
j.SetDisabled = function(Y, Y)
j.Disabled = Y
if j.TooltipTable then
j.TooltipTable.Disabled = j.Disabled
end
j:UpdateColors()
end
j.SetVisible = function(Y, Y)
j.Visible = Y
m.Visible = Y
end
j.SetText = function(Y, Y)
j.Text = Y
m.Text = Y
end
m.MouseEnter:Connect(function()
if j.Disabled then return
end
f:PlaySound("hover", 0.06, 1.5)
j.Tween = B:Create(m, f.TweenInfo, {TextTransparency = 0})
j.Tween:Play()
end)
m.MouseLeave:Connect(function()
if j.Disabled then return
end
j.Tween = B:Create(m, f.TweenInfo, {TextTransparency = 0.35})
j.Tween:Play()
end)
m.MouseButton1Click:Connect(function()
if j.Disabled then return
end
f:PlaySound("click", 0.12, 1)
f:SafeCallback(j.Func)
end)
if typeof(j.Tooltip) == "string" or typeof(j.DisabledTooltip) == "string" then
j.TooltipTable = f:AddTooltip(j.Tooltip, j.DisabledTooltip, m)
j.TooltipTable.Disabled = j.Disabled
end
if j.Risky then
m.TextColor3 = f.Scheme.RedColor
f.Registry[m].TextColor3 = "RedColor"
end
j:UpdateColors()
if s.Addons then
table.insert(s.Addons, j)
end
return j
end
I.__index = x
I.__namecall = function(s, s, ...)
return x[s](...)
end
end
local s = {}
do
local Y = {}
local function x(K)
f.Registry[K] = nil
for j, j in ipairs(K:GetDescendants()) do
f.Registry[j] = nil
end
end
Y.RemoveElement = function(K, j)
if not j then return
end
pcall(function()
if j.Menu and j.Menu.Destroy then j.Menu:Destroy()
end
end)
pcall(function()
if j.TooltipTable and j.TooltipTable.Destroy then j.TooltipTable:Destroy()
end
end)
local O = {H, z, J}
for m, m in ipairs(O) do
for O, k in pairs(m) do
if k == j then
m[O] = nil
end
end
end
local O = j.Holder or j.Base
if O then
pcall(function()
x(O)
end)
pcall(function()
O:Destroy()
end)
end
for x = #K.Elements, 1, -1 do
if K.Elements[x] == j then
table.remove(K.Elements, x)
end
end
pcall(function()
K:Resize()
end)
end
Y.Clear = function(x)
for K = #x.Elements, 1, -1 do
x:RemoveElement(x.Elements[K])
end
end
Y.AddDivider = function(x, K)
local j = x.Container
local O = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 6), Parent = j})
if K then
j = F("TextLabel", {AutomaticSize = Enum.AutomaticSize.X, BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), Text = K, TextSize = 14, TextTransparency = 0.5, TextXAlignment = Enum.TextXAlignment.Center, Parent = O})
local m = f:GetTextBounds(K, j.FontFace, j.TextSize, j.AbsoluteSize.X)
local K = math.floor(m / 2) + 10
F("Frame", {AnchorPoint = Vector2.new(0, 0.5), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(0, 0.5), Size = UDim2.new(0.5, -K, 0, 2), Parent = O})
F("Frame", {AnchorPoint = Vector2.new(1, 0.5), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(1, 0.5), Size = UDim2.new(0.5, -K, 0, 2), Parent = O})
else
F("Frame", {AnchorPoint = Vector2.new(0, 0.5), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(0, 0.5), Size = UDim2.new(1, 0, 0, 2), Parent = O})
end
x:Resize()
table.insert(x.Elements, {Holder = O, Type = "Divider"})
end
Y.AddLabel = function(x, ...)
local K, j, O = {}, select(1, ...), select(2, ...)
if typeof(j) == "table" or typeof(O) == "table" then
local m = typeof(j) == "table" and j or O
K.Text = m.Text or ""
K.DoesWrap = m.DoesWrap or false
K.Size = m.Size or 14
K.Visible = m.Visible or true
K.Idx = typeof(O) == "table" and j or nil
else
K.Text = j or ""
K.DoesWrap = O or false
K.Size = 14
K.Visible = true
K.Idx = select(3, ...) or nil
end
local j = x
local m, k = j.Container, {Text = K.Text, DoesWrap = K.DoesWrap, Addons = {}, Visible = K.Visible, Type = "Label"}
local n = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 18), Text = k.Text, TextSize = K.Size, TextWrapped = k.DoesWrap, TextXAlignment = j.IsKeyTab and Enum.TextXAlignment.Center or Enum.TextXAlignment.Left, Parent = m})
k.SetVisible = function(E, E)
k.Visible = E
n.Visible = k.Visible
j:Resize()
end
k.SetText = function(E, S)
k.Text = S
n.Text = S
if k.DoesWrap then
E, S = f:GetTextBounds(k.Text, n.FontFace, n.TextSize, n.AbsoluteSize.X)
n.Size = UDim2.new(1, 0, 0, S + 4)
end
j:Resize()
end
if k.DoesWrap then
O, x = f:GetTextBounds(k.Text, n.FontFace, n.TextSize, n.AbsoluteSize.X)
n.Size = UDim2.new(1, 0, 0, x + 4)
local x = n.AbsoluteSize
n:GetPropertyChangedSignal("AbsoluteSize"):Connect(function()
if n.AbsoluteSize == x then return
end
local O, O = f:GetTextBounds(k.Text, n.FontFace, n.TextSize, n.AbsoluteSize.X)
n.Size = UDim2.new(1, 0, 0, O + 4)
x = n.AbsoluteSize
j:Resize()
end)
else
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, Padding = UDim.new(0, 6), Parent = n})
end
j:Resize()
k.TextLabel = n
k.Container = m
if not K.DoesWrap then
setmetatable(k, I)
end
k.Holder = n
table.insert(j.Elements, k)
if K.Idx then
J[K.Idx] = k
else
table.insert(J, k)
end
return k
end
Y.AddButton = function(J, ...)
local function x(...)
local K, j, O = {}, select(1, ...), select(2, ...)
if typeof(j) == "table" or typeof(O) == "table" then
local m = typeof(j) == "table" and j or O
K.Text = m.Text or ""
K.Func = m.Func or m.Callback or function()
end
K.DoubleClick = m.DoubleClick
K.Tooltip = m.Tooltip
K.DisabledTooltip = m.DisabledTooltip
K.Risky = m.Risky or false
K.Disabled = m.Disabled or false
K.Visible = m.Visible or true
K.Idx = typeof(O) == "table" and j or nil
else
K.Text = j or ""
K.Func = O or function()
end
K.DoubleClick = false
K.Tooltip = nil
K.DisabledTooltip = nil
K.Risky = false
K.Disabled = false
K.Visible = true
K.Idx = select(3, ...) or nil
end
return K
end
local K, j = x(...), J
local J, O = j.Container, {Text = K.Text, Func = K.Func, DoubleClick = K.DoubleClick, Tooltip = K.Tooltip, DisabledTooltip = K.DisabledTooltip, TooltipTable = nil, Risky = K.Risky, Disabled = K.Disabled, Visible = K.Visible, Tween = nil, Type = "Button"}
local m = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 21), Parent = J})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalFlex = Enum.UIFlexAlignment.Fill, Padding = UDim.new(0, 9), Parent = m})
local function J(k)
local n = F("TextButton", {Active = not k.Disabled, BackgroundColor3 = k.Disabled and "BackgroundColor" or "MainColor", Size = UDim2.fromScale(1, 1), Text = k.Text, TextSize = 14, TextTransparency = 0.3, Visible = k.Visible, Parent = m})
return n, (F("UIStroke", {Color = "OutlineColor", Transparency = k.Disabled and 0.5 or 0, Parent = n}))
end
local function k(n)
n.Base.MouseEnter:Connect(function()
if n.Disabled then return
end
f:PlaySound("hover", 0.08, 1.5)
n.Tween = B:Create(n.Base, f.TweenInfo, {TextTransparency = 0})
n.Tween:Play()
end)
n.Base.MouseLeave:Connect(function()
if n.Disabled then return
end
n.Tween = B:Create(n.Base, f.TweenInfo, {TextTransparency = 0.4})
n.Tween:Play()
end)
n.Base.MouseButton1Click:Connect(function()
if n.Disabled or n.Locked then return
end
f:PlaySound("click", 0.15, 1)
if n.DoubleClick then
n.Locked = true
n.Base.Text = "Are you sure?"
n.Base.TextColor3 = f.Scheme.AccentColor
f.Registry[n.Base].TextColor3 = "AccentColor"
local E = Z(n.Base.MouseButton1Click, 0.5)
n.Base.Text = n.Text
n.Base.TextColor3 = n.Risky and f.Scheme.RedColor or f.Scheme.FontColor
f.Registry[n.Base].TextColor3 = n.Risky and "RedColor" or "FontColor"
if E then
f:SafeCallback(n.Func)
end
q.RenderStepped:Wait()
n.Locked = false
return
end
f:SafeCallback(n.Func)
end)
end
O.Base, O.Stroke = J(O)
k(O)
O.AddButton = function(Z, ...)
Z = x(...)
local x = {Text = Z.Text, Func = Z.Func, DoubleClick = Z.DoubleClick, Tooltip = Z.Tooltip, DisabledTooltip = Z.DisabledTooltip, TooltipTable = nil, Risky = Z.Risky, Disabled = Z.Disabled, Visible = Z.Visible, Tween = nil, Type = "SubButton"}
O.SubButton = x
x.Base, x.Stroke = J(x)
k(x)
x.UpdateColors = function(J)
if f.Unloaded then return
end
_(x.Tween)
x.Base.BackgroundColor3 = x.Disabled and f.Scheme.BackgroundColor or f.Scheme.MainColor
x.Base.TextTransparency = x.Disabled and 0.8 or 0.4
x.Stroke.Transparency = x.Disabled and 0.5 or 0
f.Registry[x.Base].BackgroundColor3 = x.Disabled and "BackgroundColor" or "MainColor"
end
x.SetDisabled = function(J, J)
x.Disabled = J
if x.TooltipTable then
x.TooltipTable.Disabled = x.Disabled
end
x.Base.Active = not x.Disabled
x:UpdateColors()
end
x.SetVisible = function(J, J)
x.Visible = J
x.Base.Visible = x.Visible
j:Resize()
end
x.SetText = function(J, J)
x.Text = J
x.Base.Text = J
end
if typeof(x.Tooltip) == "string" or typeof(x.DisabledTooltip) == "string" then
x.TooltipTable = f:AddTooltip(x.Tooltip, x.DisabledTooltip, x.Base)
x.TooltipTable.Disabled = x.Disabled
end
if x.Risky then
x.Base.TextColor3 = f.Scheme.RedColor
f.Registry[x.Base].TextColor3 = "RedColor"
end
x:UpdateColors()
if Z.Idx then
o[Z.Idx] = x
else
table.insert(o, x)
end
return x
end
O.UpdateColors = function(J)
if f.Unloaded then return
end
_(O.Tween)
O.Base.BackgroundColor3 = O.Disabled and f.Scheme.BackgroundColor or f.Scheme.MainColor
O.Base.TextTransparency = O.Disabled and 0.8 or 0.4
O.Stroke.Transparency = O.Disabled and 0.5 or 0
f.Registry[O.Base].BackgroundColor3 = O.Disabled and "BackgroundColor" or "MainColor"
end
O.SetDisabled = function(J, J)
O.Disabled = J
if O.TooltipTable then
O.TooltipTable.Disabled = O.Disabled
end
O.Base.Active = not O.Disabled
O:UpdateColors()
end
O.SetVisible = function(J, J)
O.Visible = J
m.Visible = O.Visible
j:Resize()
end
O.SetText = function(J, J)
O.Text = J
O.Base.Text = J
end
if typeof(O.Tooltip) == "string" or typeof(O.DisabledTooltip) == "string" then
O.TooltipTable = f:AddTooltip(O.Tooltip, O.DisabledTooltip, O.Base)
O.TooltipTable.Disabled = O.Disabled
end
if O.Risky then
O.Base.TextColor3 = f.Scheme.RedColor
f.Registry[O.Base].TextColor3 = "RedColor"
end
O:UpdateColors()
j:Resize()
O.Holder = m
table.insert(j.Elements, O)
if K.Idx then
o[K.Idx] = O
else
table.insert(o, O)
end
return O
end
Y.AddCheckbox = function(J, o, Z)
Z = f:Validate(Z, l.Toggle)
local _ = J
local J, x = _.Container, {Text = Z.Text, Value = Z.Default, Tooltip = Z.Tooltip, DisabledTooltip = Z.DisabledTooltip, TooltipTable = nil, Callback = Z.Callback, Changed = Z.Changed, Risky = Z.Risky, Disabled = Z.Disabled, Visible = Z.Visible, Addons = {}, Type = "Toggle"}
local Z = F("TextButton", {Active = not x.Disabled, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 18), Text = "", Visible = x.Visible, Parent = J})
local K = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.fromOffset(26, 0), Size = UDim2.new(1, -26, 1, 0), Text = x.Text, TextSize = 14, TextTransparency = 0.4, TextXAlignment = Enum.TextXAlignment.Left, Parent = Z})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, Padding = UDim.new(0, 6), Parent = K})
local j = F("Frame", {BackgroundColor3 = "MainColor", Size = UDim2.fromScale(1, 1), SizeConstraint = Enum.SizeConstraint.RelativeYY, Parent = Z})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius / 2), Parent = j})
local O, m = F("UIStroke", {Color = "OutlineColor", Parent = j}), F("ImageLabel", {Image = L and L.Url or "", ImageColor3 = "FontColor", ImageRectOffset = L and L.ImageRectOffset or Vector2.zero, ImageRectSize = L and L.ImageRectSize or Vector2.zero, ImageTransparency = 1, Position = UDim2.fromOffset(2, 2), Size = UDim2.new(1, -4, 1, -4), Parent = j})
x.UpdateColors = function(k)
x:Display()
end
x.Display = function(k)
if f.Unloaded then return
end
local function k()
O.Transparency = x.Disabled and 0.5 or 0
if x.Disabled then
K.TextTransparency = 0.8
m.ImageTransparency = x.Value and 0.8 or 1
j.BackgroundColor3 = f.Scheme.BackgroundColor
f.Registry[j].BackgroundColor3 = "BackgroundColor"
return
end
B:Create(K, f.TweenInfo, {TextTransparency = x.Value and 0 or 0.4}):Play()
B:Create(m, f.TweenInfo, {ImageTransparency = x.Value and 0 or 1}):Play()
j.BackgroundColor3 = f.Scheme.MainColor
f.Registry[j].BackgroundColor3 = "MainColor"
end
if yabujinCoreState and yabujinCoreState._withId then
yabujinCoreState._withId(k)
else
pcall(k)
end
end
x.OnChanged = function(j, j)
x.Changed = j
end
x.SetValue = function(j, j)
if x.Disabled then return
end
x.Value = j
x:Display()
for j, j in pairs(x.Addons) do
if j.Type == "KeyPicker" and j.SyncToggleState then
j.Toggled = x.Value
j:Update()
end
end
f:UpdateDependencyBoxes()
f:SafeCallback(x.Callback, x.Value)
f:SafeCallback(x.Changed, x.Value)
end
x.SetDisabled = function(j, j)
x.Disabled = j
if x.TooltipTable then
x.TooltipTable.Disabled = x.Disabled
end
for j, j in pairs(x.Addons) do
if j.Type == "KeyPicker" and j.SyncToggleState then
j:Update()
end
end
Z.Active = not x.Disabled
x:Display()
end
x.SetVisible = function(j, j)
x.Visible = j
Z.Visible = x.Visible
_:Resize()
end
x.SetText = function(j, j)
x.Text = j
K.Text = j
end
Z.MouseButton1Click:Connect(function()
if x.Disabled then return
end
local j = not x.Value
f:PlaySound(j and "toggle_on" or "toggle_off", 0.12, j and 1.1 or 0.9)
x:SetValue(j)
end)
if typeof(x.Tooltip) == "string" or typeof(x.DisabledTooltip) == "string" then
x.TooltipTable = f:AddTooltip(x.Tooltip, x.DisabledTooltip, Z)
x.TooltipTable.Disabled = x.Disabled
end
if x.Risky then
K.TextColor3 = f.Scheme.RedColor
f.Registry[K].TextColor3 = "RedColor"
end
x:Display()
_:Resize()
x.TextLabel = K
x.Container = J
setmetatable(x, I)
x.Holder = Z
table.insert(_.Elements, x)
x.Default = x.Value
H[o] = x
return x
end
Y.AddToggle = function(J, o, Z)
Z = f:Validate(Z, l.Toggle)
local _ = J
local J, x = _.Container, {Text = Z.Text, Value = Z.Default, Tooltip = Z.Tooltip, DisabledTooltip = Z.DisabledTooltip, TooltipTable = nil, Callback = Z.Callback, Changed = Z.Changed, Risky = Z.Risky, Disabled = Z.Disabled, Visible = Z.Visible, Addons = {}, Type = "Toggle"}
local Z = F("TextButton", {Active = not x.Disabled, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 18), Text = "", Visible = x.Visible, Parent = J})
local K = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.fromOffset(26, 0), Size = UDim2.new(1, -26, 1, 0), Text = x.Text, TextSize = 14, TextTransparency = 0.4, TextXAlignment = Enum.TextXAlignment.Left, Parent = Z})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, Padding = UDim.new(0, 6), Parent = K})
local j = F("Frame", {BackgroundColor3 = "MainColor", Size = UDim2.fromScale(1, 1), SizeConstraint = Enum.SizeConstraint.RelativeYY, Parent = Z})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius / 2), Parent = j})
local O, m = F("UIStroke", {Color = "OutlineColor", Parent = j}), F("ImageLabel", {Image = L and L.Url or "", ImageColor3 = "FontColor", ImageRectOffset = L and L.ImageRectOffset or Vector2.zero, ImageRectSize = L and L.ImageRectSize or Vector2.zero, ImageTransparency = 1, Position = UDim2.fromOffset(2, 2), Size = UDim2.new(1, -4, 1, -4), Parent = j})
x.UpdateColors = function(L)
x:Display()
end
x.Display = function(L)
if f.Unloaded then return
end
local function L()
O.Transparency = x.Disabled and 0.5 or 0
if x.Disabled then
K.TextTransparency = 0.8
m.ImageTransparency = x.Value and 0.8 or 1
j.BackgroundColor3 = f.Scheme.BackgroundColor
f.Registry[j].BackgroundColor3 = "BackgroundColor"
return
end
B:Create(K, f.TweenInfo, {TextTransparency = x.Value and 0 or 0.4}):Play()
B:Create(m, f.TweenInfo, {ImageTransparency = x.Value and 0 or 1}):Play()
j.BackgroundColor3 = f.Scheme.MainColor
f.Registry[j].BackgroundColor3 = "MainColor"
end
if yabujinCoreState and yabujinCoreState._withId then
yabujinCoreState._withId(L)
else
pcall(L)
end
end
x.OnChanged = function(L, L)
x.Changed = L
end
x.SetValue = function(L, L)
if x.Disabled then return
end
x.Value = L
x:Display()
for L, L in pairs(x.Addons) do
if L.Type == "KeyPicker" and L.SyncToggleState then
L.Toggled = x.Value
L:Update()
end
end
f:UpdateDependencyBoxes()
f:SafeCallback(x.Callback, x.Value)
f:SafeCallback(x.Changed, x.Value)
end
x.SetDisabled = function(L, L)
x.Disabled = L
if x.TooltipTable then
x.TooltipTable.Disabled = x.Disabled
end
for L, L in pairs(x.Addons) do
if L.Type == "KeyPicker" and L.SyncToggleState then
L:Update()
end
end
Z.Active = not x.Disabled
x:Display()
end
x.SetVisible = function(L, L)
x.Visible = L
Z.Visible = x.Visible
_:Resize()
end
x.SetText = function(L, L)
x.Text = L
K.Text = L
end
Z.MouseButton1Click:Connect(function()
if x.Disabled then return
end
local L = not x.Value
f:PlaySound(L and "toggle_on" or "toggle_off", 0.12, L and 1.1 or 0.9)
x:SetValue(L)
end)
if typeof(x.Tooltip) == "string" or typeof(x.DisabledTooltip) == "string" then
x.TooltipTable = f:AddTooltip(x.Tooltip, x.DisabledTooltip, Z)
x.TooltipTable.Disabled = x.Disabled
end
if x.Risky then
K.TextColor3 = f.Scheme.RedColor
f.Registry[K].TextColor3 = "RedColor"
end
x:Display()
_:Resize()
x.TextLabel = K
x.Container = J
setmetatable(x, I)
x.Holder = Z
table.insert(_.Elements, x)
x.Default = x.Value
H[o] = x
return x
end
Y.AddInput = function(J, L, o)
o = f:Validate(o, l.Input)
local H = J
local J, Z = H.Container, {Text = o.Text, Value = o.Default, Finished = o.Finished, Numeric = o.Numeric, ClearTextOnFocus = o.ClearTextOnFocus, Placeholder = o.Placeholder, AllowEmpty = o.AllowEmpty, EmptyReset = o.EmptyReset, Tooltip = o.Tooltip, DisabledTooltip = o.DisabledTooltip, TooltipTable = nil, Callback = o.Callback, Changed = o.Changed, Disabled = o.Disabled, Visible = o.Visible, Type = "Input"}
local _ = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 39), Visible = Z.Visible, Parent = J})
local J, I = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 14), Text = Z.Text, TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = _}), F("TextBox", {AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, ClearTextOnFocus = not Z.Disabled and Z.ClearTextOnFocus, PlaceholderText = Z.Placeholder, Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 21), Text = Z.Value, TextEditable = not Z.Disabled, TextScaled = true, TextXAlignment = Enum.TextXAlignment.Left, Parent = _})
F("UIPadding", {PaddingBottom = UDim.new(0, 3), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 4), Parent = I})
Z.UpdateColors = function(x)
if f.Unloaded then return
end
J.TextTransparency = Z.Disabled and 0.8 or 0
I.TextTransparency = Z.Disabled and 0.8 or 0
end
Z.OnChanged = function(x, x)
Z.Changed = x
end
Z.SetValue = function(x, x)
if x == nil then x = Z.EmptyReset or(Z.Numeric and "0" or "")
end
if not Z.AllowEmpty and c(x) == "" then
x = Z.EmptyReset or(Z.Numeric and "0" or "")
end
if o.MaxLength and#x > o.MaxLength then
x = x:sub(1, o.MaxLength)
end
if Z.Numeric then
if#tostring(x) > 0 and not tonumber(x) then
x = Z.Value or "0"
end
end
Z.Value = x
local function o()
I.Text = tostring(x)
end
if yabujinCoreState and yabujinCoreState._withId then
yabujinCoreState._withId(o)
else
pcall(o)
end
if not Z.Disabled then
f:SafeCallback(Z.Callback, Z.Value)
f:SafeCallback(Z.Changed, Z.Value)
end
end
Z.SetDisabled = function(o, o)
Z.Disabled = o
if Z.TooltipTable then
Z.TooltipTable.Disabled = Z.Disabled
end
I.ClearTextOnFocus = not Z.Disabled and Z.ClearTextOnFocus
I.TextEditable = not Z.Disabled
Z:UpdateColors()
end
Z.SetVisible = function(o, o)
Z.Visible = o
_.Visible = Z.Visible
H:Resize()
end
Z.SetText = function(o, o)
Z.Text = o
J.Text = o
end
if Z.Finished then
I.FocusLost:Connect(function(J)
if not J then return
end
Z:SetValue(I.Text)
end)
else
I:GetPropertyChangedSignal("Text"):Connect(function()
Z:SetValue(I.Text)
end)
end
if typeof(Z.Tooltip) == "string" or typeof(Z.DisabledTooltip) == "string" then
Z.TooltipTable = f:AddTooltip(Z.Tooltip, Z.DisabledTooltip, I)
Z.TooltipTable.Disabled = Z.Disabled
end
H:Resize()
Z.Holder = _
table.insert(H.Elements, Z)
Z.Default = Z.Value
z[L] = Z
return Z
end
Y.AddSlider = function(J, L, o)
o = f:Validate(o, l.Slider)
local H = J
local J, Z = H.Container, {Text = o.Text, Value = o.Default, Min = o.Min, Max = o.Max, Prefix = o.Prefix, Suffix = o.Suffix, Compact = o.Compact, Rounding = o.Rounding, Tooltip = o.Tooltip, DisabledTooltip = o.DisabledTooltip, TooltipTable = nil, Callback = o.Callback, Changed = o.Changed, Disabled = o.Disabled, Visible = o.Visible, Type = "Slider"}
local _ = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, o.Compact and 13 or 31), Visible = Z.Visible, Parent = J})
local J
if not o.Compact then
J = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 14), Text = Z.Text, TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = _})
end
local c = F("TextButton", {Active = not Z.Disabled, AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 8), Text = "", Parent = _})
F("UICorner", {CornerRadius = UDim.new(0, 4), Parent = c})
local I = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Text = "", TextSize = 14, ZIndex = 2, Parent = c})
F("UIStroke", {ApplyStrokeMode = Enum.ApplyStrokeMode.Contextual, Color = "DarkColor", LineJoinMode = Enum.LineJoinMode.Miter, Parent = I})
local x = F("Frame", {BackgroundColor3 = "AccentColor", Size = UDim2.fromScale(0.5, 1), Parent = c})
F("UICorner", {CornerRadius = UDim.new(0, 4), Parent = x})
Z.UpdateColors = function(K)
if f.Unloaded then return
end
if J then
J.TextTransparency = Z.Disabled and 0.8 or 0
end
I.TextTransparency = Z.Disabled and 0.8 or 0
x.BackgroundColor3 = Z.Disabled and f.Scheme.OutlineColor or f.Scheme.AccentColor
f.Registry[x].BackgroundColor3 = Z.Disabled and "OutlineColor" or "AccentColor"
end
Z.Display = function(K)
if f.Unloaded then return
end
K = if o.FormatDisplayValue then(o.FormatDisplayValue(Z, Z.Value)) else nil
if K then
I.Text = tostring(K)
elseif o.Compact then
I.Text = string.format("%s: %s%s%s", Z.Text, Z.Prefix, Z.Value, Z.Suffix)
elseif o.HideMax then
I.Text = string.format("%s%s%s", Z.Prefix, Z.Value, Z.Suffix)
else
I.Text = string.format("%s%s%s/%s%s%s", Z.Prefix, Z.Value, Z.Suffix, Z.Prefix, Z.Max, Z.Suffix)
end
K = (Z.Value -Z.Min) / (Z.Max -Z.Min)
x.Size = UDim2.fromScale(K, 1)
end
Z.OnChanged = function(o, o)
Z.Changed = o
end
Z.SetMax = function(o, o)
assert(o > Z.Min, "Max value cannot be less than the current min value.")
Z:SetValue(math.clamp(Z.Value, Z.Min, o))
Z.Max = o
Z:Display()
end
Z.SetMin = function(o, o)
assert(o < Z.Max, "Min value cannot be greater than the current max value.")
Z:SetValue(math.clamp(Z.Value, o, Z.Max))
Z.Min = o
Z:Display()
end
Z.SetValue = function(o, I)
if Z.Disabled then return
end
o = tonumber(I)
if not o or o == Z.Value then
return
end
Z.Value = math.clamp(o, Z.Min, Z.Max)
Z:Display()
f:SafeCallback(Z.Callback, Z.Value)
f:SafeCallback(Z.Changed, Z.Value)
end
Z.SetDisabled = function(o, o)
Z.Disabled = o
if Z.TooltipTable then
Z.TooltipTable.Disabled = Z.Disabled
end
c.Active = not Z.Disabled
Z:UpdateColors()
end
Z.SetVisible = function(o, o)
Z.Visible = o
_.Visible = Z.Visible
H:Resize()
end
Z.SetText = function(o, o)
Z.Text = o
if J then
J.Text = o
return
end
Z:Display()
end
Z.SetPrefix = function(J, J)
Z.Prefix = J
Z:Display()
end
Z.SetSuffix = function(J, J)
Z.Suffix = J
Z:Display()
end
c.InputBegan:Connect(function(J)
if not a(J) or Z.Disabled then return
end
for o, o in pairs(f.ActiveTab.Sides) do
o.ScrollingEnabled = false
end
while g(J) do
local J = C.X
local o, g = math.clamp((J -c.AbsolutePosition.X) / c.AbsoluteSize.X, 0, 1), Z.Value
Z.Value = e(Z.Min + (Z.Max -Z.Min) * o, Z.Rounding)
Z:Display()
if Z.Value ~= g then
f:SafeCallback(Z.Callback, Z.Value)
f:SafeCallback(Z.Changed, Z.Value)
end
q.RenderStepped:Wait()
end
for J, J in pairs(f.ActiveTab.Sides) do
J.ScrollingEnabled = true
end
end)
if typeof(Z.Tooltip) == "string" or typeof(Z.DisabledTooltip) == "string" then
Z.TooltipTable = f:AddTooltip(Z.Tooltip, Z.DisabledTooltip, c)
Z.TooltipTable.Disabled = Z.Disabled
end
Z:UpdateColors()
Z:Display()
H:Resize()
Z.Holder = _
table.insert(H.Elements, Z)
Z.Default = Z.Value
z[L] = Z
return Z
end
Y.AddDropdown = function(J, L, o)
o = f:Validate(o, l.Dropdown)
local H = J
J = H.Container
if o.SpecialType == "Player" then
o.Values = r(o.ExcludeLocalPlayer)
o.AllowNull = true
elseif o.SpecialType == "Team" then
o.Values = u()
o.AllowNull = true
end
local Z = {Text = typeof(o.Text) == "string" and o.Text or nil, Value = o.Multi and{} or nil, Values = o.Values, DisabledValues = o.DisabledValues, Multi = o.Multi, SpecialType = o.SpecialType, ExcludeLocalPlayer = o.ExcludeLocalPlayer, Tooltip = o.Tooltip, DisabledTooltip = o.DisabledTooltip, TooltipTable = nil, Callback = o.Callback, Changed = o.Changed, Disabled = o.Disabled, Visible = o.Visible, Type = "Dropdown"}
local g = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, Z.Text and 39 or 21), Visible = Z.Visible, Parent = J})
local _, c = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 14), Text = Z.Text, TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Visible = not not o.Text, Parent = g}), F("TextButton", {Active = not Z.Disabled, AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 21), Text = "---", TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = g})
F("UIPadding", {PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 4), Parent = c})
local e = F("ImageLabel", {AnchorPoint = Vector2.new(1, 0.5), Image = P and P.Url or "", ImageColor3 = "FontColor", ImageRectOffset = P and P.ImageRectOffset or Vector2.zero, ImageRectSize = P and P.ImageRectSize or Vector2.zero, ImageTransparency = 0.5, Position = UDim2.fromScale(1, 0.5), Size = UDim2.fromOffset(16, 16), Parent = c})
local P
if o.Searchable then
P = F("TextBox", {BackgroundTransparency = 1, PlaceholderText = "Search...", Position = UDim2.fromOffset(- 8, 0), Size = UDim2.new(1, -12, 1, 0), TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Visible = false, Parent = c})
F("UIPadding", {PaddingLeft = UDim.new(0, 8), Parent = P})
end
local I = f:AddContextMenu(c, function()
return UDim2.fromOffset(c.AbsoluteSize.X / f.DPIScale, 0)
end, function()
return{0.5, c.AbsoluteSize.Y + 1.5}
end, 2, function(x)
c.TextTransparency = x and P and 1 or 0
e.ImageTransparency = x and 0 or 0.5
e.Rotation = x and 180 or 0
if P then
P.Text = ""
P.Visible = x
end
end)
Z.Menu = I
Z.RecalculateListSize = function(x, x)
local K = math.clamp((x or(p(Z.Values))) * 21, 0, o.MaxVisibleDropdownItems * 21)
I:SetSize(function()
return UDim2.fromOffset(c.AbsoluteSize.X / f.DPIScale, K)
end)
end
Z.UpdateColors = function(p)
if f.Unloaded then return
end
_.TextTransparency = Z.Disabled and 0.8 or 0
c.TextTransparency = Z.Disabled and 0.8 or 0
e.ImageTransparency = Z.Disabled and 0.8 or I.Active and 0 or 0.5
end
Z.Display = function(p)
if f.Unloaded then return
end
p = ""
if o.Multi then
for e, e in pairs(Z.Values) do
p = if Z.Value[e] then p .. (o.FormatDisplayValue and(tostring(o.FormatDisplayValue(e))) or(tostring(e))) .. ", " else p
end
p = (p:sub(1, #p -2))
else
p = Z.Value and(tostring(Z.Value)) or ""
p = if p ~= "" and o.FormatDisplayValue then(tostring(o.FormatDisplayValue(p))) else p
end
c.Text = (if#p > 25 then p:sub(1, 22) .. "..." else p) == "" and "---" or(if#p > 25 then p:sub(1, 22) .. "..." else p)
end
Z.OnChanged = function(p, p)
Z.Changed = p
end
Z.GetActiveValues = function(p)
if o.Multi then p = {}
for e, x in pairs(Z.Value) do
table.insert(p, e)
end
return p
end
return Z.Value and 1 or 0
end
local p = {}
Z.BuildDropdownList = function(e)
local x, K = Z.Values, Z.DisabledValues
for j, O in pairs(p) do
j:Destroy()
end
table.clear(p)
e = 0
for j, j in pairs(x) do
if not P or(tostring(j):lower():match(P.Text:lower())) then
e += 1
local x, O = table.find(K, j), {}
local K = F("TextButton", {BackgroundColor3 = "MainColor", BackgroundTransparency = 1, LayoutOrder = x and 1 or 0, Size = UDim2.new(1, 0, 0, 21), Text = tostring(j), TextSize = 14, TextTransparency = 0.5, TextXAlignment = Enum.TextXAlignment.Left, Parent = I.Menu})
F("UIPadding", {PaddingLeft = UDim.new(0, 7), PaddingRight = UDim.new(0, 7), Parent = K})
local m
if o.Multi then
m = Z.Value[j]
else
m = Z.Value == j
end
O.UpdateButton = function(k)
m = if o.Multi then Z.Value[j] else Z.Value == j
K.BackgroundTransparency = m and 0 or 1
K.TextTransparency = x and 0.8 or m and 0 or 0.5
end
if not x then
K.MouseButton1Click:Connect(function()
local x = not m
if not(Z:GetActiveValues() == 1 and not x and not o.AllowNull) then
m = x
if o.Multi then
Z.Value[j] = m and true or nil
else
Z.Value = m and j or nil
end
for x, x in pairs(p) do
x:UpdateButton()
end
end
O:UpdateButton()
Z:Display()
f:UpdateDependencyBoxes()
f:SafeCallback(Z.Callback, Z.Value)
f:SafeCallback(Z.Changed, Z.Value)
end)
end
O:UpdateButton()
Z:Display()
p[K] = O
end
end
Z:RecalculateListSize(e)
end
Z.SetValue = function(e, x)
if o.Multi then e = {}
for K, j in x or{}, nil, nil do
if typeof(j) ~= "boolean" then
e[j] = true
elseif j and(table.find(Z.Values, K)) then
e[K] = true
end
end
Z.Value = e
elseif table.find(Z.Values, x) then
Z.Value = x
elseif not x then
Z.Value = nil
end
Z:Display()
for e, e in pairs(p) do
e:UpdateButton()
end
if not Z.Disabled then
f:UpdateDependencyBoxes()
f:SafeCallback(Z.Callback, Z.Value)
f:SafeCallback(Z.Changed, Z.Value)
end
end
Z.SetValues = function(p, p)
Z.Values = p
Z:BuildDropdownList()
end
Z.SetMulti = function(p, e)
e = not not e
if o.Multi == e then
return
end
o.Multi = e
Z.Multi = e
if e then
local e, x = Z.Value, {}
if typeof(e) == "string" then
x[e] = true
end
Z.Value = x
else
p = nil
if typeof(Z.Value) == "table" then
for e, e in ipairs(Z.Values) do
if Z.Value[e] then
p = e
break
end
end
end
Z.Value = p
end
Z:BuildDropdownList()
Z:Display()
end
Z.AddValues = function(p, p)
if typeof(p) == "table" then for e, e in pairs(p) do
table.insert(Z.Values, e)
end
elseif typeof(p) == "string" then
table.insert(Z.Values, p)
else
return
end
Z:BuildDropdownList()
end
Z.SetDisabledValues = function(p, p)
Z.DisabledValues = p
Z:BuildDropdownList()
end
Z.AddDisabledValues = function(p, p)
if typeof(p) == "table" then for e, e in pairs(p) do
table.insert(Z.DisabledValues, e)
end
elseif typeof(p) == "string" then
table.insert(Z.DisabledValues, p)
else
return
end
Z:BuildDropdownList()
end
Z.SetDisabled = function(p, p)
Z.Disabled = p
if Z.TooltipTable then
Z.TooltipTable.Disabled = Z.Disabled
end
I:Close()
c.Active = not Z.Disabled
Z:UpdateColors()
end
Z.SetVisible = function(p, p)
Z.Visible = p
g.Visible = Z.Visible
H:Resize()
end
Z.SetText = function(p, p)
Z.Text = p
g.Size = UDim2.new(1, 0, 0, p and 39 or 21)
_.Text = p or ""
_.Visible = not not p
end
c.MouseButton1Click:Connect(function()
if Z.Disabled then return
end
I:Toggle()
end)
if P then
P:GetPropertyChangedSignal("Text"):Connect(Z.BuildDropdownList)
end
J = {}
if typeof(o.Default) == "string" then
local P = table.find(Z.Values, o.Default)
if P then
table.insert(J, P)
end
elseif typeof(o.Default) == "table" then
for P, p in next, o.Default, nil do
P = table.find(Z.Values, p)
if P then
table.insert(J, P)
end
end
elseif Z.Values[o.Default] ~= nil then
table.insert(J, o.Default)
end
if next(J) then
for P = 1, #J, 1 do
local p = J[P]
if o.Multi then
Z.Value[Z.Values[p]] = true
else
Z.Value = Z.Values[p]
end
if not o.Multi then
break
end
end
end
if typeof(Z.Tooltip) == "string" or typeof(Z.DisabledTooltip) == "string" then
Z.TooltipTable = f:AddTooltip(Z.Tooltip, Z.DisabledTooltip, c)
Z.TooltipTable.Disabled = Z.Disabled
end
Z:UpdateColors()
Z:Display()
Z:BuildDropdownList()
H:Resize()
Z.Holder = g
table.insert(H.Elements, Z)
Z.Default = J
Z.DefaultValues = Z.Values
z[L] = Z
return Z
end
Y.AddViewport = function(J, L, o)
o = f:Validate(o, l.Viewport)
local H = J
local P, Z, p, g = H.Container, false, false
local _, c = 0, o.Object
if o.Clone and typeof(o.Object) == "Instance" then
J = o.Object
if J.Archivable then
c = (c:Clone())
else
o.Object.Archivable = true
c = c:Clone()
o.Object.Archivable = false
end
end
local e = {Object = c, Camera = not o.Camera and(Instance.new("Camera")) or o.Camera, Interactive = o.Interactive, Zoom = o.Zoom, AutoFocus = o.AutoFocus, Visible = o.Visible, Type = "Viewport"}
assert(typeof(e.Object) == "Instance" and(e.Object:IsA("BasePart") or(e.Object:IsA("Model"))), "Instance must be a BasePart or Model.")
assert(typeof(e.Camera) == "Instance" and(e.Camera:IsA("Camera")), "Camera must be a valid Camera instance.")
local function c(I)
if I:IsA("BasePart") then return I.Size
end
return select(2, I:GetBoundingBox())
end
local function I()
local x = c(e.Object)
local c = math.max(x.X, x.Y, x.Z)
local x, K = c * 2, e.Object:GetPivot().Position
e.Camera.CFrame = CFrame.new(K + Vector3.new(0, c / 2, x), K)
end
local c = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, o.Height), Visible = e.Visible, Parent = P})
J = F("Frame", {AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(0, 1), Size = UDim2.fromScale(1, 1), Parent = c})
F("UIPadding", {PaddingBottom = UDim.new(0, 3), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 4), Parent = J})
local o = F("ViewportFrame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Parent = J, CurrentCamera = e.Camera, Active = e.Interactive})
o.MouseEnter:Connect(function()
if not e.Interactive then return
end
for J, J in pairs(H.Tab.Sides) do
J.ScrollingEnabled = false
end
end)
o.MouseLeave:Connect(function()
if not e.Interactive then return
end
for J, J in pairs(H.Tab.Sides) do
J.ScrollingEnabled = true
end
end)
o.InputBegan:Connect(function(J)
if not e.Interactive then return
end
if J.UserInputType == Enum.UserInputType.MouseButton1 or J.UserInputType == Enum.UserInputType.MouseButton2 then
Z = true
g = J.Position
elseif J.UserInputType == Enum.UserInputType.Touch and not p then
Z = true
g = J.Position
end
end)
f:GiveSignal(U.InputEnded:Connect(function(J)
if f.Unloaded then return
end
if not e.Interactive then
return
end
local P = J.UserInputType == Enum.UserInputType.MouseButton1 or J.UserInputType == Enum.UserInputType.MouseButton2
if P then
Z = false
else
local P, x = J.UserInputType, Enum.UserInputType.Touch
if P == x then
Z = false
end
end
end))
f:GiveSignal(U.InputChanged:Connect(function(J)
if f.Unloaded then return
end
if not e.Interactive or not Z or p then
return
end
if J.UserInputType == Enum.UserInputType.MouseMovement or J.UserInputType == Enum.UserInputType.Touch then
local P = J.Position -g
g = J.Position
local J, g, x = e.Object:GetPivot().Position, e.Camera, CFrame.fromAxisAngle(Vector3.new(0, 1, 0), -P.X * 0.01)
g.CFrame = CFrame.new(J) * x * CFrame.new(- J) * g.CFrame
x = CFrame.fromAxisAngle(g.CFrame.RightVector, -P.Y * 0.01)
P = CFrame.new(J) * x * CFrame.new(- J) * g.CFrame
if P.UpVector.Y > 0.1 then
g.CFrame = P
end
end
end))
o.InputChanged:Connect(function(J)
if not e.Interactive or not e.Zoom then return
end
if J.UserInputType == Enum.UserInputType.MouseWheel then
local P = J.Position.Z * 2
local J, g, x = e.Camera.CFrame + e.Camera.CFrame.LookVector * P, pcall(function()
return e.Object:GetPivot().Position
end)
if g and x then
P = (J.Position -x).Magnitude
if P > 1 and P < 50 then
e.Camera.CFrame = J
end
else
e.Camera.CFrame = J
end
end
end)
f:GiveSignal(U.TouchPinch:Connect(function(J, P, g, x)
if f.Unloaded then return
end
if not e.Interactive or not e.Zoom or not f:MouseIsOverFrame(o, J[1]) then
return
end
if x == Enum.UserInputState.Begin then
p, Z = true, false
_ = (J[1] -J[2]).Magnitude
elseif x == Enum.UserInputState.Change then
P = (J[1] -J[2]).Magnitude
g = (P -_) * 0.1
_ = P
e.Camera.CFrame = e.Camera.CFrame + e.Camera.CFrame.LookVector * g
else
local J = x == Enum.UserInputState.End or x == Enum.UserInputState.Cancel
if J then
p = false
end
end
end))
e.Object.Parent = o
if e.AutoFocus then
I()
end
e.SetObject = function(J, J, P)
assert(J, "Object cannot be nil.")
J = if P then(J:Clone()) else J
if e.Object then
e.Object:Destroy()
end
e.Object = J
e.Object.Parent = o
H:Resize()
end
e.SetHeight = function(J, J)
assert(J > 0, "Height must be greater than 0.")
c.Size = UDim2.new(1, 0, 0, J)
H:Resize()
end
e.Focus = function(J)
if not e.Object then return
end
I()
end
e.SetCamera = function(J, J)
assert(J and typeof(J) == "Instance" and(J:IsA("Camera")), "Camera must be a valid Camera instance.")
e.Camera = J
o.CurrentCamera = J
end
e.SetInteractive = function(J, J)
e.Interactive = J
o.Active = J
end
e.SetVisible = function(J, J)
e.Visible = J
c.Visible = e.Visible
H:Resize()
end
H:Resize()
e.Holder = c
table.insert(H.Elements, e)
z[L] = e
return e
end
Y.AddImage = function(J, L, o)
o = f:Validate(o, l.Image)
local H = J
local P, Z = H.Container, {Image = o.Image, Color = o.Color, RectOffset = o.RectOffset, RectSize = o.RectSize, Height = o.Height, ScaleType = o.ScaleType, Transparency = o.Transparency, BackgroundTransparency = o.BackgroundTransparency, Visible = o.Visible, Type = "Image"}
local p = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, o.Height), Visible = Z.Visible, Parent = P})
P = F("Frame", {AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, BackgroundTransparency = Z.BackgroundTransparency, Position = UDim2.fromScale(0, 1), Size = UDim2.fromScale(1, 1), Parent = p})
F("UIPadding", {PaddingBottom = UDim.new(0, 3), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 4), Parent = P})
J = {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Image = Z.Image, ImageTransparency = Z.Transparency, ImageColor3 = Z.Color, ImageRectOffset = Z.RectOffset, ImageRectSize = Z.RectSize, ScaleType = Z.ScaleType, Parent = P}
o = f:GetCustomIcon(J.Image)
assert(o, "Image must be a valid Roblox asset or a valid URL or a valid lucide icon.")
J.Image = o.Url
J.ImageRectOffset = o.ImageRectOffset
J.ImageRectSize = o.ImageRectSize
local o = F("ImageLabel", J)
Z.SetHeight = function(J, J)
assert(J > 0, "Height must be greater than 0.")
Z.Height = J
p.Size = UDim2.new(1, 0, 0, J)
H:Resize()
end
Z.SetImage = function(J, P)
assert(typeof(P) == "string", "Image must be a string.")
J = f:GetCustomIcon(P)
assert(J, "Image must be a valid Roblox asset or a valid URL or a valid lucide icon.")
P = J.Url
Z.RectOffset = J.ImageRectOffset
Z.RectSize = J.ImageRectSize
o.Image = P
Z.Image = P
end
Z.SetColor = function(J, J)
assert(typeof(J) == "Color3", "Color must be a Color3 value.")
o.ImageColor3 = J
Z.Color = J
end
Z.SetRectOffset = function(J, J)
assert(typeof(J) == "Vector2", "RectOffset must be a Vector2 value.")
o.ImageRectOffset = J
Z.RectOffset = J
end
Z.SetRectSize = function(J, J)
assert(typeof(J) == "Vector2", "RectSize must be a Vector2 value.")
o.ImageRectSize = J
Z.RectSize = J
end
Z.SetScaleType = function(J, J)
assert(typeof(J) == "EnumItem" and(J:IsA("ScaleType")), "ScaleType must be a valid Enum.ScaleType.")
o.ScaleType = J
Z.ScaleType = J
end
Z.SetTransparency = function(J, J)
assert(typeof(J) == "number", "Transparency must be a number between 0 and 1.")
assert(J >= 0 and J <= 1, "Transparency must be between 0 and 1.")
o.ImageTransparency = J
Z.Transparency = J
end
Z.SetVisible = function(J, J)
Z.Visible = J
p.Visible = Z.Visible
H:Resize()
end
H:Resize()
Z.Holder = p
table.insert(H.Elements, Z)
z[L] = Z
return Z
end
Y.AddVideo = function(J, L, o)
o = f:Validate(o, l.Video)
local H = J
local J, P = H.Container, {Video = o.Video, Looped = o.Looped, Playing = o.Playing, Volume = o.Volume, Height = o.Height, Visible = o.Visible, Type = "Video"}
local Z = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, o.Height), Visible = P.Visible, Parent = J})
J = F("Frame", {AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(0, 1), Size = UDim2.fromScale(1, 1), Parent = Z})
F("UIPadding", {PaddingBottom = UDim.new(0, 3), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 4), Parent = J})
local o = F("VideoFrame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Video = P.Video, Looped = P.Looped, Volume = P.Volume, Parent = J})
o.Playing = P.Playing
P.SetHeight = function(J, J)
assert(J > 0, "Height must be greater than 0.")
P.Height = J
Z.Size = UDim2.new(1, 0, 0, J)
H:Resize()
end
P.SetVideo = function(J, J)
assert(typeof(J) == "string", "Video must be a string.")
o.Video = J
P.Video = J
end
P.SetLooped = function(J, J)
assert(typeof(J) == "boolean", "Looped must be a boolean.")
o.Looped = J
P.Looped = J
end
P.SetVolume = function(J, J)
assert(typeof(J) == "number", "Volume must be a number between 0 and 10.")
o.Volume = J
P.Volume = J
end
P.SetPlaying = function(J, J)
assert(typeof(J) == "boolean", "Playing must be a boolean.")
o.Playing = J
P.Playing = J
end
P.Play = function(J)
o.Playing = true
P.Playing = true
end
P.Pause = function(J)
o.Playing = false
P.Playing = false
end
P.SetVisible = function(J, J)
P.Visible = J
Z.Visible = P.Visible
H:Resize()
end
H:Resize()
P.Holder = Z
P.VideoFrame = o
table.insert(H.Elements, P)
z[L] = P
return P
end
Y.AddUIPassthrough = function(J, L, o)
o = f:Validate(o, l.UIPassthrough)
local H = J
J = H.Container
assert(o.Instance, "Instance must be provided.")
assert(typeof(o.Instance) == "Instance" and(o.Instance:IsA("GuiBase2d")), "Instance must inherit from GuiBase2d.")
assert(typeof(o.Height) == "number" and o.Height > 0, "Height must be a number greater than 0.")
local P = {Instance = o.Instance, Height = o.Height, Visible = o.Visible, Type = "UIPassthrough"}
local Z = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, o.Height), Visible = P.Visible, Parent = J})
P.Instance.Parent = Z
H:Resize()
P.SetHeight = function(J, J)
assert(typeof(J) == "number" and J > 0, "Height must be a number greater than 0.")
P.Height = J
Z.Size = UDim2.new(1, 0, 0, J)
H:Resize()
end
P.SetInstance = function(J, J)
assert(J, "Instance must be provided.")
assert(typeof(J) == "Instance" and(J:IsA("GuiBase2d")), "Instance must inherit from GuiBase2d.")
if P.Instance then
P.Instance.Parent = nil
end
P.Instance = J
P.Instance.Parent = Z
end
P.SetVisible = function(J, J)
P.Visible = J
Z.Visible = P.Visible
H:Resize()
end
P.Holder = Z
table.insert(H.Elements, P)
z[L] = P
return P
end
Y.AddDependencyBox = function(J)
local L = J
local J, o, H = L.Container
do
o = F("Frame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Visible = false, Parent = J})
H = F("UIListLayout", {Padding = UDim.new(0, 8), Parent = o})
end
local J
J = {Visible = false, Dependencies = {}, Holder = o, Container = o, Elements = {}, DependencyBoxes = {}, Resize = function(P)
o.Size = UDim2.new(1, 0, 0, H.AbsoluteContentSize.Y / f.DPIScale)
L:Resize()
end, Update = function(P, Z)
for p, g in pairs(J.Dependencies) do
p, P = g[1], g[2]
if p.Type == "Toggle" and p.Value ~= P then
o.Visible = false
J.Visible = false
return
elseif p.Type == "Dropdown" then
if typeof(p.Value) == "table" then
if not p.Value[P] then
o.Visible = false
J.Visible = false
return
end
elseif p.Value ~= P then
o.Visible = false
J.Visible = false
return
end
end
end
J.Visible = true
o.Visible = true
if not f.Searching then
task.defer(function()
J:Resize()
end)
elseif not Z then
f:UpdateSearch(f.SearchText)
end
end
}
H:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
if not J.Visible then return
end
J:Resize()
end)
J.SetupDependencies = function(H, H)
for P, P in pairs(H) do
assert(typeof(P) == "table", "Dependency should be a table.")
assert(P[1] ~= nil, "Dependency is missing element.")
assert(P[2] ~= nil, "Dependency is missing expected value.")
end
J.Dependencies = H
J:Update()
end
o:GetPropertyChangedSignal("Visible"):Connect(function()
J:Resize()
end)
setmetatable(J, s)
J.Destroy = function(H)
for P = #J.DependencyBoxes, 1, -1 do
H = J.DependencyBoxes[P]
if H and H.Destroy then
H:Destroy()
end
end
J:Clear()
for H = #L.DependencyBoxes, 1, -1 do
if L.DependencyBoxes[H] == J then
table.remove(L.DependencyBoxes, H)
end
end
for H = #f.DependencyBoxes, 1, -1 do
if f.DependencyBoxes[H] == J then
table.remove(f.DependencyBoxes, H)
end
end
pcall(function()
o:Destroy()
end)
L:Resize()
end
table.insert(L.DependencyBoxes, J)
table.insert(f.DependencyBoxes, J)
return J
end
Y.AddDependencyGroupbox = function(J)
local L, o, H, P = J.Tab, J.BoxHolder
do
H = F("Frame", {BackgroundColor3 = "BackgroundColor", Size = UDim2.fromScale(1, 0), Visible = false, Parent = o})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = H})
f:AddOutline(H)
P = F("UIListLayout", {Padding = UDim.new(0, 8), Parent = H})
F("UIPadding", {PaddingBottom = UDim.new(0, 7), PaddingLeft = UDim.new(0, 7), PaddingRight = UDim.new(0, 7), PaddingTop = UDim.new(0, 7), Parent = H})
end
local J
J = {Visible = false, Dependencies = {}, BoxHolder = o, Holder = H, Container = H, Tab = L, Elements = {}, DependencyBoxes = {}, Resize = function(o)
H.Size = UDim2.new(1, 0, 0, P.AbsoluteContentSize.Y / f.DPIScale + 18)
end, Update = function(o, P)
for Z, p in pairs(J.Dependencies) do
o, Z = p[1], p[2]
if o.Type == "Toggle" and o.Value ~= Z then
H.Visible = false
J.Visible = false
return
elseif o.Type == "Dropdown" then
if typeof(o.Value) == "table" then
if not o.Value[Z] then
H.Visible = false
J.Visible = false
return
end
elseif o.Value ~= Z then
H.Visible = false
J.Visible = false
return
end
end
end
J.Visible = true
if not f.Searching then
H.Visible = true
J:Resize()
elseif not P then
f:UpdateSearch(f.SearchText)
end
end, SetupDependencies = function(o, o)
for H, H in pairs(o) do
assert(typeof(H) == "table", "Dependency should be a table.")
assert(H[1] ~= nil, "Dependency is missing element.")
assert(H[2] ~= nil, "Dependency is missing expected value.")
end
J.Dependencies = o
J:Update()
end
}
setmetatable(J, s)
table.insert(L.DependencyGroupboxes, J)
table.insert(f.DependencyBoxes, J)
return J
end
s.__index = Y
s.__namecall = function(J, J, ...)
return Y[J](...)
end
f.BaseGroupbox = s
end
f.SetFont = function(J, L)
J = typeof(L)
f.Scheme.Font = if J == "EnumItem" then(Font.fromEnum(L)) else L
f:UpdateColorsUsingRegistry()
end
f.SetNotifySide = function(J, J)
f.NotifySide = J
end
f.Notify = function(J, ...)
local L, o = {}, select(1, ...)
if typeof(o) == "table" then
L.Title = tostring(o.Title)
L.Description = tostring(o.Description)
L.Time = o.Time or 5
L.SoundId = o.SoundId
L.Steps = o.Steps
L.Persist = o.Persist
else
L.Description = tostring(o)
L.Time = select(2, ...) or 5
L.SoundId = select(3, ...)
end
L.Destroyed = false
local H, P = false
if typeof(L.Time) == "Instance" then
P = L.Time.Destroying:Connect(function()
H = true
P:Disconnect()
P = nil
end)
end
local Y = F("Frame", {AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), Visible = false, Parent = D})
local Z = F("Frame", {AutomaticSize = Enum.AutomaticSize.Y, BackgroundColor3 = "MainColor", Position = f.NotifySide:lower() == "left" and(UDim2.new(- 1, -8, 0, -2)) or(UDim2.new(1, 8, 0, -2)), Size = UDim2.fromScale(1, 1), ZIndex = 5, Parent = Y})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = Z})
F("UIListLayout", {Padding = UDim.new(0, 4), Parent = Z})
F("UIPadding", {PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 8), Parent = Z})
f:AddOutline(Z)
local p, g
local _, c, e = 0, 0
if L.Title then
p = F("TextLabel", {AutomaticSize = Enum.AutomaticSize.X, BackgroundTransparency = 1, Size = UDim2.fromScale(0, 0), Text = L.Title, TextSize = 15, TextXAlignment = Enum.TextXAlignment.Left, TextWrapped = true, Parent = Z})
end
if L.Description then
g = F("TextLabel", {AutomaticSize = Enum.AutomaticSize.X, BackgroundTransparency = 1, Size = UDim2.fromScale(0, 0), Text = L.Description, TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, TextWrapped = true, Parent = Z})
end
L.Resize = function(I)
if p then local I, x = f:GetTextBounds(p.Text, p.FontFace, p.TextSize, D.AbsoluteSize.X / f.DPIScale -24)
p.Size = UDim2.fromOffset(0, x)
_ = I
end
if g then
local I, x = f:GetTextBounds(g.Text, g.FontFace, g.TextSize, D.AbsoluteSize.X / f.DPIScale -24)
g.Size = UDim2.fromOffset(0, x)
c = I
end
Y.Size = UDim2.fromOffset(math.max(_, c) + 24, 0)
end
L.ChangeTitle = function(_, _)
if p then L.Title = tostring(_)
p.Text = L.Title
L:Resize()
end
end
L.ChangeDescription = function(p, p)
if g then L.Description = tostring(p)
g.Text = L.Description
L:Resize()
end
end
L.ChangeStep = function(p, p)
if e and L.Steps then p = math.clamp(p or 0, 0, L.Steps)
e.Size = UDim2.fromScale(p / L.Steps, 1)
end
end
L.Destroy = function(p)
L.Destroyed = true
if typeof(L.Time) == "Instance" then
pcall(L.Time.Destroy, L.Time)
end
if P then
P:Disconnect()
end
B:Create(Z, f.NotifyTweenInfo, {Position = f.NotifySide:lower() == "left" and(UDim2.new(- 1, -8, 0, -2)) or(UDim2.new(1, 8, 0, -2))}):Play()
task.delay(f.NotifyTweenInfo.Time, function()
f.Notifications[Y] = nil
Y:Destroy()
end)
end
L:Resize()
o = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 7), Visible = L.Persist ~= true and typeof(L.Time) ~= "Instance" or typeof(L.Steps) == "number", Parent = Z})
J = F("Frame", {BackgroundColor3 = "BackgroundColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromOffset(0, 3), Size = UDim2.new(1, 0, 0, 2), Parent = o})
e = F("Frame", {BackgroundColor3 = "AccentColor", Size = UDim2.fromScale(1, 1), Parent = J})
if typeof(L.Time) == "Instance" then
e.Size = UDim2.fromScale(0, 1)
end
if L.SoundId then
o = L.SoundId
F("Sound", {SoundId = if typeof(o) == "number" then(string.format("rbxassetid://%d", o)) else o, Volume = 3, PlayOnRemove = true, Parent = W}):Destroy()
end
f.Notifications[Y] = L
Y.Visible = true
B:Create(Z, f.NotifyTweenInfo, {Position = UDim2.fromOffset(0, 0)}):Play()
task.delay(f.NotifyTweenInfo.Time, function()
if L.Persist then return
elseif typeof(L.Time) == "Instance" then
repeat
task.wait()
until H or L.Destroyed
else
B:Create(e, TweenInfo.new(L.Time, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = UDim2.fromScale(0, 1)}):Play()
task.wait(L.Time)
end
if not L.Destroyed then
L:Destroy()
end
end)
return L
end
f.CreateWindow = function(J, W)
W = f:Validate(W, l.Window)
J = workspace.CurrentCamera.ViewportSize
if q:IsStudio() and J.X <= 5 and J.Y <= 5 then
repeat
J = workspace.CurrentCamera.ViewportSize
task.wait()
until J.X > 5 and J.Y > 5
end
local L, o = J.X -64, J.Y -64
f.OriginalMinSize = Vector2.new(math.min(f.OriginalMinSize.X, L), math.min(f.OriginalMinSize.Y, o))
f.MinSize = f.OriginalMinSize
W.Size = UDim2.fromOffset(math.clamp(W.Size.X.Offset, f.MinSize.X, L), math.clamp(W.Size.Y.Offset, f.MinSize.Y, o))
if typeof(W.Font) == "EnumItem" then
W.Font = Font.fromEnum(W.Font)
end
W.CornerRadius = math.min(W.CornerRadius, 20)
if W.Compact ~= nil then
W.SidebarCompacted = W.Compact
end
if W.SidebarMinWidth ~= nil then
W.MinSidebarWidth = W.SidebarMinWidth
end
W.MinSidebarWidth = math.max(64, W.MinSidebarWidth)
W.SidebarCompactWidth = math.max(48, W.SidebarCompactWidth)
W.SidebarCollapseThreshold = math.clamp(W.SidebarCollapseThreshold, 0.1, 0.9)
W.CompactWidthActivation = math.max(48, W.CompactWidthActivation)
f.CornerRadius = W.CornerRadius
f:SetNotifySide(W.NotifySide)
f.ShowCustomCursor = W.ShowCustomCursor
f.Scheme.Font = W.Font
f.ToggleKeybind = W.ToggleKeybind
f.GlobalSearch = W.GlobalSearch
local H, P, Y, l, Z, p, g, _, c, e, I, x, D, K, j, O, m = W.SearchbarSize == UDim2.fromScale(1, 1)
local k, n, E, S = false, false, {}
local G, y, i, T = 1, {}, math.ceil(W.Size.X.Offset * 0.3), W.SidebarCompacted
local MJ = i
do
f.KeybindFrame, f.KeybindContainer = f:AddDraggableMenu("Keybinds")
f.KeybindFrame.AnchorPoint = Vector2.new(0, 0.5)
f.KeybindFrame.Position = UDim2.new(0, 6, 0.5, 0)
f.KeybindFrame.Visible = false
P = F("TextButton", {BackgroundColor3 = function()
return f:GetBetterColor(f.Scheme.BackgroundColor, -1)
end, Name = "Main", Text = "", Position = W.Position, Size = W.Size, Visible = false, ClipsDescendants = true, BackgroundTransparency = W.GlassType == "Full" and 0.3 or(W.GlassType == "TopOnly" and 1 or 0), Parent = b})
f._customBg = F("ImageLabel", {BackgroundTransparency = 1, Image = "", ImageTransparency = 1, Size = UDim2.fromScale(1, 1), ScaleType = Enum.ScaleType.Crop, ZIndex = 0, Visible = false, Parent = P})
F("UICorner", {CornerRadius = UDim.new(0, f.CornerRadius), Parent = f._customBg})
o = F("UIStroke", {Color = function()
return f:GetBetterColor(f.Scheme.OutlineColor, 2)
end, Transparency = 0.5, Thickness = 1, Parent = P})
f.Registry[o].Color = function()
return f:GetBetterColor(f.Scheme.OutlineColor, 2)
end
if W.GlassType == "Full" then
S = F("UIStroke", {Color = Color3.fromRGB(255, 255, 255), Transparency = 0.9, Thickness = 1, Parent = P})
end
j = F("Frame", {BackgroundColor3 = Color3.fromRGB(0, 0, 0), BackgroundTransparency = 1, Size = UDim2.new(2, 0, 2, 0), Position = UDim2.fromScale(- 0.5, -0.5), ZIndex = -1, Visible = false, Parent = b})
O = F("BlurEffect", {Size = 0, Parent = game:GetService("Lighting")})
if W.EnableSnowfall then
k = true
m = F("Frame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), ZIndex = 10, Visible = W.AutoShow, Parent = b})
n = W.AutoShow
local o, bJ = game:GetService("RunService"), {}
for JJ = 1, 100, 1 do
local NJ, AJ, qJ, WJ = math.random(3, 6), math.random(30, 60) / 100, math.random(0, 100) / 100, math.random(- 50, -5) / 100
L = F("Frame", {BackgroundColor3 = Color3.fromRGB(255, 255, 255), BackgroundTransparency = AJ, Size = UDim2.fromOffset(NJ, NJ), Position = UDim2.fromScale(qJ, WJ), Rotation = math.random(0, 360), Parent = m})
F("UICorner", {CornerRadius = UDim.new(1, 0), Parent = L})
bJ[JJ] = {frame = L, velY = 0.012, velX = math.random(- 3, 3) / 1000, rotSpeed = math.random(- 60, 60) / 100, delay = math.random(0, 150) / 100, elapsed = 0, posY = WJ, posX = qJ, rot = math.random(0, 360)}
end
f:GiveSignal((o.Heartbeat:Connect(function(o)
if not n then return
end
local JJ = o * 60
for NJ, NJ in pairs(bJ) do
if NJ.elapsed < NJ.delay then
NJ.elapsed = NJ.elapsed + o
else
NJ.posY = NJ.posY + NJ.velY * G * JJ
NJ.posX = NJ.posX + NJ.velX * JJ
NJ.rot = NJ.rot + NJ.rotSpeed * JJ
if NJ.posY > 1.2 then
NJ.posY = math.random(- 30, -5) / 100
NJ.posX = math.random(0, 100) / 100
end
if NJ.posX < -0.05 then
NJ.posX = 1.05
end
if NJ.posX > 1.05 then
NJ.posX = -0.05
end
NJ.frame.Position = UDim2.fromScale(NJ.posX, NJ.posY)
NJ.frame.Rotation = NJ.rot
end
end
end)))
end
if W.EnableFadeIn then
P.Size = UDim2.fromOffset(W.Size.X.Offset * 0.95, W.Size.Y.Offset * 0.95)
P.BackgroundTransparency = 1
task.spawn(function()
task.wait(0.05)
local o = W.GlassType == "Full" and 0.3 or(W.GlassType == "TopOnly" and 1 or 0)
B:Create(P, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Size = W.Size, BackgroundTransparency = o}):Play()
end)
end
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = P})
table.insert(f.Scales, F("UIScale", {Parent = P}))
f:AddOutline(P)
f:MakeLine(P, {Position = UDim2.fromOffset(0, 48), Size = UDim2.new(1, 0, 0, 1)})
Y = F("Frame", {BackgroundColor3 = "OutlineColor", Position = UDim2.fromOffset(i, 0), Size = UDim2.new(0, 1, 1, -21), Parent = P})
if W.BackgroundImage then
F("ImageLabel", {Image = W.BackgroundImage, Position = UDim2.fromScale(0, 0), Size = UDim2.fromScale(1, 1), ScaleType = Enum.ScaleType.Stretch, ZIndex = 999, BackgroundTransparency = 1, ImageTransparency = 0.75, Parent = P})
end
if W.Center then
P.AnchorPoint = Vector2.new(0.5, 0.5)
P.Position = UDim2.fromScale(0.5, 0.5)
end
J = F("Frame", {Name = "TopBar", BackgroundTransparency = W.GlassType == "TopOnly" and 0.3 or 1, BackgroundColor3 = function()
return f:GetBetterColor(f.Scheme.BackgroundColor, -1)
end, Size = UDim2.new(1, 0, 0, 48), Parent = P})
if W.GlassType == "TopOnly" then
F("UIStroke", {Color = Color3.fromRGB(255, 255, 255), Transparency = 0.9, Thickness = 1, Parent = J})
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = J})
end
f:MakeDraggable(P, J, false, true)
l = F("Frame", {BackgroundTransparency = 1, ClipsDescendants = true, Size = UDim2.new(0, i, 1, 0), Parent = J})
if W.Icon then
p = F("ImageLabel", {AnchorPoint = Vector2.new(0, 0.5), Position = UDim2.new(0, 14, 0.5, 0), Image = tonumber(W.Icon) and(string.format("rbxassetid://%d", W.Icon)) or W.Icon, Size = W.IconSize, Parent = l})
else
p = F("TextLabel", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, Position = UDim2.fromScale(0.5, 0.5), Size = W.IconSize, Text = W.Title:sub(1, 1), TextScaled = true, Visible = false, Parent = l})
end
Z = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Text = W.Title, TextSize = 20, TextXAlignment = Enum.TextXAlignment.Center, Parent = l})
g = F("Frame", {AnchorPoint = Vector2.new(1, 0.5), BackgroundTransparency = 1, Position = UDim2.new(1, -49, 0.5, 0), Size = UDim2.new(1, -i -57 -1, 1, -16), Parent = J})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Left, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 8), Parent = g})
c = F("Frame", {Size = UDim2.fromScale(W.DisableSearch and 1 or 0.5, 1), Visible = false, BackgroundTransparency = 1, Parent = g})
F("UIFlexItem", {FlexMode = Enum.UIFlexMode.Grow, Parent = c})
F("UIListLayout", {FillDirection = Enum.FillDirection.Vertical, HorizontalAlignment = Enum.HorizontalAlignment.Left, VerticalAlignment = Enum.VerticalAlignment.Center, Parent = c})
F("UIPadding", {PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 8), Parent = c})
e = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), AutomaticSize = Enum.AutomaticSize.Y, Text = "", TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = c})
I = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), AutomaticSize = Enum.AutomaticSize.Y, Text = "", TextWrapped = true, TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, TextTransparency = 0.5, Parent = c})
_ = F("TextBox", {BackgroundColor3 = "MainColor", PlaceholderText = "Search", Size = W.SearchbarSize, TextScaled = true, Visible = not(W.DisableSearch or false), Parent = g})
F("UIFlexItem", {FlexMode = Enum.UIFlexMode.Shrink, Parent = _})
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = _})
F("UIPadding", {PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), PaddingTop = UDim.new(0, 8), Parent = _})
F("UIStroke", {Color = "OutlineColor", Parent = _})
local o = f:GetIcon("search")
if o then
F("ImageLabel", {Image = o.Url, ImageColor3 = "FontColor", ImageRectOffset = o.ImageRectOffset, ImageRectSize = o.ImageRectSize, ImageTransparency = 0.5, Size = UDim2.fromScale(1, 1), SizeConstraint = Enum.SizeConstraint.RelativeYY, Parent = _})
end
if V then
F("ImageLabel", {AnchorPoint = Vector2.new(1, 0.5), Image = V.Url, ImageColor3 = "OutlineColor", ImageRectOffset = V.ImageRectOffset, ImageRectSize = V.ImageRectSize, Position = UDim2.new(1, -10, 0.5, 0), Size = UDim2.fromOffset(28, 28), SizeConstraint = Enum.SizeConstraint.RelativeYY, Parent = J})
end
o = F("Frame", {AnchorPoint = Vector2.new(0, 1), BackgroundColor3 = function()
return f:GetBetterColor(f.Scheme.BackgroundColor, 4)
end, Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 20), Parent = P})
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = o})
F("Frame", {BackgroundColor3 = function()
return f:GetBetterColor(f.Scheme.BackgroundColor, 4)
end, BorderSizePixel = 0, Size = UDim2.new(1, 0, 0, W.CornerRadius), Parent = o})
f:MakeLine(P, {AnchorPoint = Vector2.new(0, 1), Position = UDim2.new(0, 0, 1, -20), Size = UDim2.new(1, 0, 0, 1)})
o = F("Frame", {AnchorPoint = Vector2.new(0, 1), BackgroundTransparency = 1, Position = UDim2.fromScale(0, 1), Size = UDim2.new(1, 0, 0, 20), Parent = P})
F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Text = W.Footer, TextSize = 14, TextTransparency = 0.5, Parent = o})
if W.Resizable then
x = F("TextButton", {AnchorPoint = Vector2.new(1, 0), BackgroundTransparency = 1, Position = UDim2.new(1, -W.CornerRadius / 4, 0, 0), Size = UDim2.fromScale(1, 1), SizeConstraint = Enum.SizeConstraint.RelativeYY, Text = "", Parent = o})
f:MakeResizable(P, x, function()
W.Size = P.Size
f._persistentWindowSize = P.Size
for o, o in pairs(f.Tabs) do
o:Resize(true)
end
end)
f._persistentWindowSize = W.Size
end
F("ImageLabel", {Image = v and v.Url or "", ImageColor3 = "FontColor", ImageRectOffset = v and v.ImageRectOffset or Vector2.zero, ImageRectSize = v and v.ImageRectSize or Vector2.zero, ImageTransparency = 0.5, Position = UDim2.fromOffset(2, 2), Size = UDim2.new(1, -4, 1, -4), Parent = x})
D = F("ScrollingFrame", {AutomaticCanvasSize = Enum.AutomaticSize.Y, BackgroundColor3 = "BackgroundColor", CanvasSize = UDim2.fromScale(0, 0), ClipsDescendants = true, Position = UDim2.fromOffset(0, 49), ScrollBarThickness = 0, Size = UDim2.new(0, i, 1, -70), Parent = P})
table.insert(y, D)
F("UIListLayout", {Parent = D})
K = F("Frame", {AnchorPoint = Vector2.new(1, 0), BackgroundColor3 = function()
return f:GetBetterColor(f.Scheme.BackgroundColor, 1)
end, Name = "Container", Position = UDim2.new(1, 0, 0, 49), Size = UDim2.new(1, -i -1, 1, -70), Parent = P})
table.insert(y, K)
F("UIPadding", {PaddingBottom = UDim.new(0, 0), PaddingLeft = UDim.new(0, 6), PaddingRight = UDim.new(0, 6), PaddingTop = UDim.new(0, 0), Parent = K})
end
local o = {Frame = P}
f.Window = o
o.ChangeTitle = function(v, v)
assert(typeof(v) == "string", "Expected string for title got: " .. typeof(v))
Z.Text = v
W.Title = v
end
local function v()
T = o:GetSidebarWidth() == W.SidebarCompactWidth
local x = W
if x.DisableCompactingSnap then
T = o:GetSidebarWidth() <= W.CompactWidthActivation
end
Z.Visible = not T
if not W.Icon then
p.Visible = T
end
for p, p in pairs(f.TabButtons) do
if p.Icon then
p.Label.Visible = not T
p.Padding.PaddingBottom = UDim.new(0, T and 6 or 11)
p.Padding.PaddingLeft = UDim.new(0, T and 6 or 12)
p.Padding.PaddingRight = UDim.new(0, T and 6 or 12)
p.Padding.PaddingTop = UDim.new(0, T and 6 or 11)
p.Icon.SizeConstraint = T and Enum.SizeConstraint.RelativeXY or Enum.SizeConstraint.RelativeYY
end
end
end
o.IsSidebarCompacted = function(p)
return T
end
o.SetCompact = function(p, p)
o:SetSidebarWidth(p and W.SidebarCompactWidth or MJ)
end
o.GetSidebarWidth = function(p)
return D.Size.X.Offset
end
o.SetSidebarWidth = function(p, x)
x = math.clamp(x, 48, P.Size.X.Offset -W.MinContainerWidth -1)
Y.Position = UDim2.fromOffset(x, 0)
l.Size = UDim2.new(0, x, 1, 0)
g.Size = UDim2.new(1, -x -57 -1, 1, -16)
D.Size = UDim2.new(0, x, 1, -70 -(o._cardReserve or 0))
K.Size = UDim2.new(1, -x -1, 1, -70)
if W.EnableCompacting then
v()
end
p = T
if not p then
MJ = x
end
if o._onSidebarWidth then
o._onSidebarWidth(x)
end
end
o.ShowTabInfo = function(v, v, p)
e.Text = v
I.Text = p
if H then
_.Size = UDim2.fromScale(0.5, 1)
end
c.Visible = true
end
o.HideTabInfo = function(v)
c.Visible = false
if H then
_.Size = UDim2.fromScale(1, 1)
end
end
local H, v, p, g, c
o.SetPlayerCard = function(e, e)
e = e or{}
local I, x, V = tonumber(e.UserId) or A.LocalPlayer and A.LocalPlayer.UserId or 1, e.Username or A.LocalPlayer and A.LocalPlayer.DisplayName or A.LocalPlayer and A.LocalPlayer.Name or "Player", e.Status or ""
if not H then
H = F("Frame", {BackgroundColor3 = "MainColor", Position = UDim2.new(0, 8, 1, -70), Size = UDim2.new(0, 100, 0, 44), Parent = P})
F("UICorner", {CornerRadius = UDim.new(0, 6), Parent = H})
F("UIStroke", {Color = "OutlineColor", Transparency = 0.4, Parent = H})
v = F("ImageLabel", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = "OutlineColor", Position = UDim2.new(0, 22, 0.5, 0), Size = UDim2.fromOffset(32, 32), Parent = H})
F("UICorner", {CornerRadius = UDim.new(1, 0), Parent = v})
p = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.new(0, 46, 0, 6), Size = UDim2.new(1, -52, 0, 16), Text = "", TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd, Parent = H})
g = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.new(0, 46, 0, 23), Size = UDim2.new(1, -52, 0, 14), Text = "", TextColor3 = Color3.new(1, 1, 1), TextSize = 12, TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd, Parent = H})
c = F("UIGradient", {Parent = g})
local MJ, bJ = 0
bJ = q.RenderStepped:Connect(function(JJ)
if f.Unloaded or not c.Parent then
if bJ then
bJ:Disconnect()
end
return
end
MJ = (MJ + JJ * 1.5) % 6.2831853
c.Offset = Vector2.new(math.sin(MJ), 0)
end)
o._cardReserve = 0
function o._onSidebarWidth(MJ)
local bJ = math.max(32, MJ -16)
H.Size = UDim2.new(0, bJ, 0, 44)
local H = 26 + 6 * math.clamp((MJ -54) / 120, 0, 1)
v.Size = UDim2.fromOffset(H, H)
v.Position = UDim2.new(0, math.min(bJ / 2, 8 + H / 2), 0.5, 0)
H = math.clamp((MJ -100) / 60, 0, 1)
p.TextTransparency = 1 -H
g.TextTransparency = g.Text ~= "" and 1 -H or 1
end
o:SetSidebarWidth(o:GetSidebarWidth())
end
v.Image = string.format("rbxthumb://type=AvatarHeadShot&id=%d&w=150&h=150", I)
p.Text = x
g.Text = V
c.Color = e.StatusGradient or(ColorSequence.new({ColorSequenceKeypoint.new(0, f.Scheme.AccentColor), ColorSequenceKeypoint.new(1, f.Scheme.FontColor)}))
if o._onSidebarWidth then
o._onSidebarWidth(o:GetSidebarWidth())
end
end
o.AddTab = function(H, ...)
local v, p, g
if select("#", ...) == 1 and typeof(...) == "table" then
H = select(1, ...)
v = H.Name or "Tab"
g, p = H.Icon, H.Description
else
v = select(1, ...)
g, p = select(2, ...), select(3, ...)
end
local c, e, I, x, V, MJ
g = f:GetCustomIcon(g)
do
c = F("TextButton", {BackgroundColor3 = "MainColor", BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 40), Text = "", Parent = D})
F("UIGradient", {Color = ColorSequence.new({ColorSequenceKeypoint.new(0, f.Scheme.AccentColor), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(math.clamp(f.Scheme.AccentColor.R * 255 + 30, 0, 255), math.clamp(f.Scheme.AccentColor.G * 255 + 30, 0, 255), math.clamp(f.Scheme.AccentColor.B * 255 + 30, 0, 255))), ColorSequenceKeypoint.new(1, f.Scheme.AccentColor)}), Rotation = 45, Enabled = false, Parent = c})
H = F("UIPadding", {PaddingBottom = UDim.new(0, T and 6 or 11), PaddingLeft = UDim.new(0, T and 6 or 12), PaddingRight = UDim.new(0, T and 6 or 12), PaddingTop = UDim.new(0, T and 6 or 11), Parent = c})
e = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.fromOffset(30, 0), Size = UDim2.new(1, -30, 1, 0), Text = v, TextSize = 16, TextTransparency = 0.5, TextXAlignment = Enum.TextXAlignment.Left, Visible = not T, Parent = c})
if g then
I = F("ImageLabel", {Image = g.Url, ImageColor3 = g.Custom and "WhiteColor" or "AccentColor", ImageRectOffset = g.ImageRectOffset, ImageRectSize = g.ImageRectSize, ImageTransparency = 0.5, ScaleType = Enum.ScaleType.Fit, Size = UDim2.fromScale(1, 1), SizeConstraint = T and Enum.SizeConstraint.RelativeXY or Enum.SizeConstraint.RelativeYY, Parent = c})
end
table.insert(f.TabButtons, {Label = e, Padding = H, Icon = I})
x = F("Frame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Position = UDim2.fromOffset(0, 0), Visible = false, Parent = K})
V = F("ScrollingFrame", {AutomaticCanvasSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, CanvasSize = UDim2.fromScale(0, 0), ScrollBarImageTransparency = 1, ScrollBarThickness = 0, Size = UDim2.new(0.5, -3, 1, 0), Parent = x})
F("UIListLayout", {Padding = UDim.new(0, 2), Parent = V})
F("UIPadding", {PaddingBottom = UDim.new(0, 2), PaddingLeft = UDim.new(0, 2), PaddingRight = UDim.new(0, 2), PaddingTop = UDim.new(0, 2), Parent = V})
F("Frame", {BackgroundTransparency = 1, LayoutOrder = -1, Parent = V})
F("Frame", {BackgroundTransparency = 1, LayoutOrder = 1, Parent = V})
MJ = F("ScrollingFrame", {AnchorPoint = Vector2.new(1, 0), AutomaticCanvasSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, CanvasSize = UDim2.fromScale(0, 0), Position = UDim2.fromScale(1, 0), ScrollBarImageTransparency = 1, ScrollBarThickness = 0, Size = UDim2.new(0.5, -3, 1, 0), Parent = x})
F("UIListLayout", {Padding = UDim.new(0, 2), Parent = MJ})
F("UIPadding", {PaddingBottom = UDim.new(0, 2), PaddingLeft = UDim.new(0, 2), PaddingRight = UDim.new(0, 2), PaddingTop = UDim.new(0, 2), Parent = MJ})
F("Frame", {BackgroundTransparency = 1, LayoutOrder = -1, Parent = MJ})
F("Frame", {BackgroundTransparency = 1, LayoutOrder = 1, Parent = MJ})
end
local H = F("Frame", {AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, Position = UDim2.fromOffset(0, 7), Size = UDim2.fromScale(1, 0), Visible = false, Parent = x})
local g, bJ, JJ, NJ, AJ, qJ, WJ
do
g = F("Frame", {BackgroundColor3 = "BackgroundColor", Position = UDim2.fromOffset(2, 0), Size = UDim2.new(1, -5, 0, 0), Parent = H})
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = g})
bJ, JJ = f:AddOutline(g)
NJ = F("ScrollingFrame", {BackgroundTransparency = 1, BorderSizePixel = 0, Size = UDim2.fromScale(1, 1), CanvasSize = UDim2.new(0, 0, 0, 0), ScrollBarThickness = 3, ScrollingDirection = Enum.ScrollingDirection.Y, Parent = g})
F("UIPadding", {PaddingBottom = UDim.new(0, 4), PaddingLeft = UDim.new(0, 6), PaddingRight = UDim.new(0, 6), PaddingTop = UDim.new(0, 4), Parent = NJ})
AJ = F("TextLabel", {BackgroundTransparency = 1, Size = UDim2.new(1, -4, 0, 14), Text = "", TextColor3 = Color3.fromRGB(255, 50, 50), TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = NJ})
qJ = F("UIStroke", {ApplyStrokeMode = Enum.ApplyStrokeMode.Contextual, Color = Color3.fromRGB(169, 0, 0), LineJoinMode = Enum.LineJoinMode.Miter, Parent = AJ})
WJ = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.fromOffset(0, 16), Size = UDim2.new(1, -4, 0, 0), Text = "", TextSize = 14, TextWrapped = true, Parent = NJ, TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top})
F("UIStroke", {ApplyStrokeMode = Enum.ApplyStrokeMode.Contextual, Color = "DarkColor", LineJoinMode = Enum.LineJoinMode.Miter, Parent = WJ})
end
local UJ
UJ = {Groupboxes = {}, Tabboxes = {}, DependencyGroupboxes = {}, Sides = {V, MJ}, WarningBox = {IsNormal = false, LockSize = false, Visible = false, Title = "WARNING", Text = ""}, UpdateWarningBox = function(LJ, LJ)
if typeof(LJ.IsNormal) == "boolean" then UJ.WarningBox.IsNormal = LJ.IsNormal
end
if typeof(LJ.LockSize) == "boolean" then
UJ.WarningBox.LockSize = LJ.LockSize
end
if typeof(LJ.Visible) == "boolean" then
UJ.WarningBox.Visible = LJ.Visible
end
if typeof(LJ.Title) == "string" then
UJ.WarningBox.Title = LJ.Title
end
if typeof(LJ.Text) == "string" then
UJ.WarningBox.Text = LJ.Text
end
H.Visible = UJ.WarningBox.Visible
AJ.Text = UJ.WarningBox.Title
WJ.Text = UJ.WarningBox.Text
UJ:Resize(true)
g.BackgroundColor3 = UJ.WarningBox.IsNormal == true and f.Scheme.BackgroundColor or(Color3.fromRGB(127, 0, 0))
JJ.Color = UJ.WarningBox.IsNormal == true and f.Scheme.DarkColor or(Color3.fromRGB(85, 0, 0))
bJ.Color = UJ.WarningBox.IsNormal == true and f.Scheme.OutlineColor or(Color3.fromRGB(255, 50, 50))
AJ.TextColor3 = UJ.WarningBox.IsNormal == true and f.Scheme.FontColor or(Color3.fromRGB(255, 50, 50))
qJ.Color = UJ.WarningBox.IsNormal == true and f.Scheme.OutlineColor or(Color3.fromRGB(169, 0, 0))
if not f.Registry[g] then
f:AddToRegistry(g, {})
end
if not f.Registry[JJ] then
f:AddToRegistry(JJ, {})
end
if not f.Registry[bJ] then
f:AddToRegistry(bJ, {})
end
if not f.Registry[AJ] then
f:AddToRegistry(AJ, {})
end
if not f.Registry[qJ] then
f:AddToRegistry(qJ, {})
end
f.Registry[g].BackgroundColor3 = function()
return UJ.WarningBox.IsNormal == true and f.Scheme.BackgroundColor or(Color3.fromRGB(127, 0, 0))
end
f.Registry[JJ].Color = function()
return UJ.WarningBox.IsNormal == true and f.Scheme.DarkColor or(Color3.fromRGB(85, 0, 0))
end
f.Registry[bJ].Color = function()
return UJ.WarningBox.IsNormal == true and f.Scheme.OutlineColor or(Color3.fromRGB(255, 50, 50))
end
f.Registry[AJ].TextColor3 = function()
return UJ.WarningBox.IsNormal == true and f.Scheme.FontColor or(Color3.fromRGB(255, 50, 50))
end
f.Registry[qJ].Color = function()
return UJ.WarningBox.IsNormal == true and f.Scheme.OutlineColor or(Color3.fromRGB(169, 0, 0))
end
end, RefreshSides = function(bJ)
bJ = H.Visible and g.Size.Y.Offset + 8 or 0
for H, H in pairs(UJ.Sides) do
H.Position = UDim2.new(H.Position.X.Scale, 0, 0, bJ)
H.Size = UDim2.new(0.5, -3, 1, -bJ)
end
end, Resize = function(H, bJ)
if bJ then local bJ, JJ, JJ = math.floor(x.AbsoluteSize.Y / 3.25), f:GetTextBounds(WJ.Text, f.Scheme.Font, WJ.TextSize, WJ.AbsoluteSize.X)
H = 24 + JJ
if UJ.WarningBox.LockSize == true and H >= bJ then
NJ.CanvasSize = UDim2.fromOffset(0, H)
H = bJ
else
NJ.CanvasSize = UDim2.fromOffset(0, 0)
end
WJ.Size = UDim2.new(1, -4, 0, JJ)
g.Size = UDim2.new(1, -5, 0, H + 4)
end
UJ:RefreshSides()
end, AddGroupbox = function(H, g)
H = F("Frame", {AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), Parent = g.Side == 1 and V or MJ})
F("UIListLayout", {Padding = UDim.new(0, 6), Parent = H})
F("UIPadding", {PaddingBottom = UDim.new(0, 4), PaddingTop = UDim.new(0, 4), Parent = H})
local bJ, JJ, NJ
do
bJ = F("Frame", {BackgroundColor3 = "BackgroundColor", Size = UDim2.fromScale(1, 0), Parent = H})
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = bJ})
f:AddOutline(bJ)
f:MakeLine(bJ, {Position = UDim2.fromOffset(0, 38), Size = UDim2.new(1, 0, 0, 1)})
local AJ = f:GetCustomIcon(g.IconName)
if AJ then
F("ImageLabel", {Image = AJ.Url, ImageColor3 = AJ.Custom and "WhiteColor" or "AccentColor", ImageRectOffset = AJ.ImageRectOffset, ImageRectSize = AJ.ImageRectSize, Position = UDim2.fromOffset(6, 6), Size = UDim2.fromOffset(22, 22), Parent = bJ})
end
local qJ = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.fromOffset(AJ and 24 or 0, 0), Size = UDim2.new(1, 0, 0, 38), Text = g.Name, TextSize = 15, TextXAlignment = Enum.TextXAlignment.Left, Parent = bJ})
F("UIPadding", {PaddingLeft = UDim.new(0, 12), PaddingRight = UDim.new(0, 12), Parent = qJ})
NJ = F("Frame", {BackgroundTransparency = 1, Position = UDim2.fromOffset(0, 39), Size = UDim2.new(1, 0, 1, -39), Parent = bJ})
JJ = F("UIListLayout", {Padding = UDim.new(0, 10), Parent = NJ})
F("UIPadding", {PaddingBottom = UDim.new(0, 10), PaddingLeft = UDim.new(0, 10), PaddingRight = UDim.new(0, 10), PaddingTop = UDim.new(0, 10), Parent = NJ})
end
local AJ = {BoxHolder = H, Holder = bJ, Container = NJ, Tab = UJ, DependencyBoxes = {}, Elements = {}, Resize = function(H)
bJ.Size = UDim2.new(1, 0, 0, JJ.AbsoluteContentSize.Y / f.DPIScale + 59)
end
}
setmetatable(AJ, s)
AJ:Resize()
UJ.Groupboxes[g.Name] = AJ
return AJ
end, AddLeftGroupbox = function(H, H, g)
return UJ:AddGroupbox({Side = 1, Name = H, IconName = g})
end, AddRightGroupbox = function(H, H, g)
return UJ:AddGroupbox({Side = 2, Name = H, IconName = g})
end, AddTabbox = function(H, g)
H = F("Frame", {AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, Size = UDim2.fromScale(1, 0), Parent = g.Side == 1 and V or MJ})
F("UIListLayout", {Padding = UDim.new(0, 6), Parent = H})
F("UIPadding", {PaddingBottom = UDim.new(0, 4), PaddingTop = UDim.new(0, 4), Parent = H})
local V, MJ
do
V = F("Frame", {BackgroundColor3 = "BackgroundColor", Size = UDim2.fromScale(1, 0), Parent = H})
F("UICorner", {CornerRadius = UDim.new(0, W.CornerRadius), Parent = V})
f:AddOutline(V)
MJ = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 34), Parent = V})
F("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, HorizontalFlex = Enum.UIFlexAlignment.Fill, Parent = MJ})
end
local bJ
bJ = {ActiveTab = nil, BoxHolder = H, Holder = V, Tabs = {}, AddTab = function(H, H, JJ)
local NJ = F("TextButton", {BackgroundColor3 = "MainColor", BackgroundTransparency = 0, Size = UDim2.fromOffset(0, 34), Text = H, TextSize = 15, TextTransparency = JJ and 0.8 or 0.5, Parent = MJ})
local MJ, AJ = f:MakeLine(NJ, {AnchorPoint = Vector2.new(0, 1), Position = UDim2.new(0, 0, 1, 1), Size = UDim2.new(1, 0, 0, 1)}), F("Frame", {BackgroundTransparency = 1, Position = UDim2.fromOffset(0, 35), Size = UDim2.new(1, 0, 1, -35), Visible = false, Parent = V})
local qJ = F("UIListLayout", {Padding = UDim.new(0, 8), Parent = AJ})
F("UIPadding", {PaddingBottom = UDim.new(0, 7), PaddingLeft = UDim.new(0, 7), PaddingRight = UDim.new(0, 7), PaddingTop = UDim.new(0, 7), Parent = AJ})
local WJ
WJ = {ButtonHolder = NJ, Container = AJ, Tab = UJ, Elements = {}, DependencyBoxes = {}, Show = function(LJ)
if bJ.ActiveTab then bJ.ActiveTab:Hide()
end
NJ.BackgroundTransparency = 1
NJ.TextTransparency = 0
MJ.Visible = false
AJ.Visible = true
bJ.ActiveTab = WJ
WJ:Resize()
end, Hide = function(LJ)
NJ.BackgroundTransparency = 0
NJ.TextTransparency = 0.5
MJ.Visible = true
AJ.Visible = false
bJ.ActiveTab = nil
end, Resize = function(MJ)
if bJ.ActiveTab ~= WJ then return
end
V.Size = UDim2.new(1, 0, 0, qJ.AbsoluteContentSize.Y / f.DPIScale + 49)
end
}
if JJ then
WJ.Disabled = true
end
if not bJ.ActiveTab and not JJ then
WJ:Show()
end
NJ.MouseButton1Click:Connect(function()
if WJ.Disabled then return
end
WJ:Show()
end)
setmetatable(WJ, s)
bJ.Tabs[H] = WJ
return WJ
end
}
if g.Name then
UJ.Tabboxes[g.Name] = bJ
else
table.insert(UJ.Tabboxes, bJ)
end
return bJ
end, AddLeftTabbox = function(H, H)
return UJ:AddTabbox({Side = 1, Name = H})
end, AddRightTabbox = function(H, H)
return UJ:AddTabbox({Side = 2, Name = H})
end, Hover = function(H, H)
if f.ActiveTab == UJ then return
end
B:Create(e, f.TweenInfo, {TextTransparency = H and 0.25 or 0.5}):Play()
if I then
B:Create(I, f.TweenInfo, {ImageTransparency = H and 0.25 or 0.5}):Play()
end
end, Show = function(H)
if f.ActiveTab then f.ActiveTab:Hide()
end
f:PlaySound("click", 0.15, 1)
B:Create(c, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {BackgroundTransparency = 0}):Play()
B:Create(e, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()
if I then
B:Create(I, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {ImageTransparency = 0}):Play()
end
if p then
o:ShowTabInfo(v, p)
end
x.Position = UDim2.fromOffset(0, 10)
x.Visible = true
B:Create(x, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.fromOffset(0, 0)}):Play()
f.ActiveTab = UJ
if f.Searching then
f:UpdateSearch(f.SearchText)
end
end, Hide = function(H)
B:Create(c, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {BackgroundTransparency = 1}):Play()
B:Create(e, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {TextTransparency = 0.5}):Play()
if I then
B:Create(I, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {ImageTransparency = 0.5}):Play()
end
x.Visible = false
o:HideTabInfo()
f.ActiveTab = nil
end
}
if not f.ActiveTab then
UJ:Show()
end
c.MouseEnter:Connect(function()
f:PlaySound("hover", 0.08, 1.5)
UJ:Hover(true)
end)
c.MouseLeave:Connect(function()
UJ:Hover(false)
end)
c.MouseButton1Click:Connect(UJ.Show)
f.Tabs[v] = UJ
return UJ
end
o.AddKeyTab = function(H, ...)
local v, p, g
if select("#", ...) == 1 and typeof(...) == "table" then
H = select(1, ...)
v = H.Name or "Tab"
g, p = H.Icon, H.Description
else
v = select(1, ...) or "Tab"
g, p = select(2, ...), select(3, ...)
end
g = g or "key"
local c, e, I, x
g = g == "key" and X or(f:GetCustomIcon(g))
do
c = F("TextButton", {BackgroundColor3 = "MainColor", BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 40), Text = "", Parent = D})
H = F("UIPadding", {PaddingBottom = UDim.new(0, T and 6 or 11), PaddingLeft = UDim.new(0, T and 6 or 12), PaddingRight = UDim.new(0, T and 6 or 12), PaddingTop = UDim.new(0, T and 6 or 11), Parent = c})
e = F("TextLabel", {BackgroundTransparency = 1, Position = UDim2.fromOffset(30, 0), Size = UDim2.new(1, -30, 1, 0), Text = v, TextSize = 16, TextTransparency = 0.5, TextXAlignment = Enum.TextXAlignment.Left, Visible = not T, Parent = c})
if g then
I = F("ImageLabel", {Image = g.Url, ImageColor3 = g.Custom and "WhiteColor" or "AccentColor", ImageRectOffset = g.ImageRectOffset, ImageRectSize = g.ImageRectSize, ImageTransparency = 0.5, Size = UDim2.fromScale(1, 1), SizeConstraint = T and Enum.SizeConstraint.RelativeXY or Enum.SizeConstraint.RelativeYY, Parent = c})
end
table.insert(f.TabButtons, {Label = e, Padding = H, Icon = I})
x = F("ScrollingFrame", {AutomaticCanvasSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, CanvasSize = UDim2.fromScale(0, 0), ScrollBarThickness = 0, Size = UDim2.fromScale(1, 1), Visible = false, Parent = K})
F("UIListLayout", {HorizontalAlignment = Enum.HorizontalAlignment.Center, Padding = UDim.new(0, 8), VerticalAlignment = Enum.VerticalAlignment.Center, Parent = x})
F("UIPadding", {PaddingLeft = UDim.new(0, 1), PaddingRight = UDim.new(0, 1), Parent = x})
end
local H
H = {Elements = {}, IsKeyTab = true, AddKeyBox = function(g, X)
assert(typeof(X) == "function", "Callback must be a function")
g = F("Frame", {BackgroundTransparency = 1, Size = UDim2.new(0.75, 0, 0, 21), Parent = x})
local V = F("TextBox", {BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, PlaceholderText = "Key", Size = UDim2.new(1, -71, 1, 0), TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, Parent = g})
F("UIPadding", {PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), Parent = V})
local K = F("TextButton", {AnchorPoint = Vector2.new(1, 0), BackgroundColor3 = "MainColor", BorderColor3 = "OutlineColor", BorderSizePixel = 1, Position = UDim2.fromScale(1, 0), Size = UDim2.new(0, 63, 1, 0), Text = "Execute", TextSize = 14, Parent = g})
K.InputBegan:Connect(function(g)
if not a(g) then return
end
if not f:MouseIsOverFrame(K, g.Position) then
return
end
X(V.Text)
end)
end, RefreshSides = function(g)
end, Resize = function(g)
end, Hover = function(g, g)
if f.ActiveTab == H then return
end
B:Create(e, f.TweenInfo, {TextTransparency = g and 0.25 or 0.5}):Play()
if I then
B:Create(I, f.TweenInfo, {ImageTransparency = g and 0.25 or 0.5}):Play()
end
end, Show = function(g)
if f.ActiveTab then f.ActiveTab:Hide()
end
B:Create(c, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 0}):Play()
B:Create(e, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()
if I then
B:Create(I, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {ImageTransparency = 0}):Play()
end
x.Visible = true
if p then
o:ShowTabInfo(v, p)
end
f.ActiveTab = H
if f.Searching then
f:UpdateSearch(f.SearchText)
end
end, Hide = function(p)
B:Create(c, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {BackgroundTransparency = 1}):Play()
B:Create(e, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {TextTransparency = 0.5}):Play()
if I then
B:Create(I, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {ImageTransparency = 0.5}):Play()
end
x.Visible = false
o:HideTabInfo()
f.ActiveTab = nil
end
}
if not f.ActiveTab then
H:Show()
end
c.MouseEnter:Connect(function()
H:Hover(true)
end)
c.MouseLeave:Connect(function()
H:Hover(false)
end)
c.MouseButton1Click:Connect(H.Show)
H.Container = x
setmetatable(H, s)
f.Tabs[v] = H
return H
end
function f.Toggle(s, H)
if typeof(H) == "boolean" then f.Toggled = H
else
f.Toggled = not f.Toggled
end
if m then
m.Visible = k
n = k
end
for v, v in pairs(E) do
pcall(function()
v:Cancel()
end)
end
E = {}
if f.Toggled then
f:PlaySound("toggle_on", 0.4)
P.AnchorPoint = Vector2.new(0.5, 0.5)
P.Size = UDim2.fromOffset(W.Size.X.Offset * 0.92, W.Size.Y.Offset * 0.92)
P.Visible = true
s = W.GlassType == "Full" and 0.3 or(W.GlassType == "TopOnly" and 1 or 0)
P.BackgroundTransparency = 1
H = B:Create(P, TweenInfo.new(0.15, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Size = W.Size, BackgroundTransparency = s})
table.insert(E, H)
H:Play()
if W.EnableBlur then
j.Visible = true
local s, H = B:Create(j, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {BackgroundTransparency = 0.5}), B:Create(O, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Size = 56})
table.insert(E, s)
table.insert(E, H)
s:Play()
H:Play()
end
else
f:PlaySound("toggle_off", 0.4)
local s = B:Create(P, TweenInfo.new(0.12, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {Size = UDim2.fromOffset(W.Size.X.Offset * 0.92, W.Size.Y.Offset * 0.92), BackgroundTransparency = 1})
table.insert(E, s)
s:Play()
s.Completed:Connect(function()
if not f.Toggled then P.Visible = false
P.AnchorPoint = Vector2.new(0, 0)
end
end)
local s, H = B:Create(j, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {BackgroundTransparency = 1}), B:Create(O, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Size = 0})
table.insert(E, s)
table.insert(E, H)
s:Play()
H:Play()
s.Completed:Connect(function()
if not f.Toggled then j.Visible = false
end
end)
end
if W.UnlockMouseWhileOpen then
N.Modal = f.Toggled
end
if f.Toggled and not f.IsMobile then
local N = U.MouseIconEnabled
pcall(function()
q:UnbindFromRenderStep("ShowCursor")
end)
q:BindToRenderStep("ShowCursor", Enum.RenderPriority.Last.Value, function()
U.MouseIconEnabled = not f.ShowCustomCursor
d.Position = UDim2.fromOffset(C.X, C.Y)
d.Visible = f.ShowCustomCursor
if not(f.Toggled and b and b.Parent) then
U.MouseIconEnabled = N
d.Visible = false
q:UnbindFromRenderStep("ShowCursor")
end
end)
elseif not f.Toggled then
Q.Visible = false
for N, N in pairs(f.Options) do
if N.Type == "ColorPicker" then
N.ColorMenu:Close()
N.ContextMenu:Close()
elseif N.Type == "Dropdown" or N.Type == "KeyPicker" then
N.Menu:Close()
end
end
end
end
if W.EnableSidebarResize then
local N, s, C = (W.MinSidebarWidth + W.SidebarCompactWidth) * W.SidebarCollapseThreshold
local H, Q = false
i = F("TextButton", {AnchorPoint = Vector2.new(0.5, 0), BackgroundTransparency = 1, Position = UDim2.fromScale(0.5, 0), Size = UDim2.new(0, 8, 1, 0), Text = "", Parent = Y})
i.MouseEnter:Connect(function()
B:Create(Y, f.TweenInfo, {BackgroundColor3 = f:GetLighterColor(f.Scheme.OutlineColor)}):Play()
end)
i.MouseLeave:Connect(function()
if H then return
end
B:Create(Y, f.TweenInfo, {BackgroundColor3 = f.Scheme.OutlineColor}):Play()
end)
i.InputBegan:Connect(function(v)
if not a(v) then return
end
f.CantDragForced = true
s = v.Position
C, H = o:GetSidebarWidth(), true
Q = v.Changed:Connect(function()
if v.UserInputState ~= Enum.UserInputState.End then return
end
f.CantDragForced = false
B:Create(Y, f.TweenInfo, {BackgroundColor3 = f.Scheme.OutlineColor}):Play()
H = false
if Q and Q.Connected then
Q:Disconnect()
Q = nil
end
end)
end)
f:GiveSignal(U.InputChanged:Connect(function(v)
if not f.Toggled or not(b and b.Parent) then H = false
if Q and Q.Connected then
Q:Disconnect()
Q = nil
end
return
end
if H and(t(v)) then
local H = v.Position -s
local s = C + H.X
if W.DisableCompactingSnap then
o:SetSidebarWidth(s)
return
end
if s > N then
o:SetSidebarWidth(math.max(s, W.MinSidebarWidth))
else
o:SetSidebarWidth(W.SidebarCompactWidth)
end
end
end))
end
if W.EnableCompacting and W.SidebarCompacted then
o:SetSidebarWidth(W.SidebarCompactWidth)
end
if W.AutoShow then
task.spawn(f.Toggle)
end
if f.IsMobile then
J, L = f:AddDraggableButton("Toggle", function()
f:Toggle()
end, true), f:AddDraggableButton("Lock", function(N)
f.CantDragForced = not f.CantDragForced
N:SetText(f.CantDragForced and "Unlock" or "Lock")
end, true)
o._mobileButtons = {J, L}
if W.MobileButtonsSide == "Right" then
J.Button.Position = UDim2.new(1, -6, 0, 6)
J.Button.AnchorPoint = Vector2.new(1, 0)
L.Button.Position = UDim2.new(1, -6, 0, 46)
L.Button.AnchorPoint = Vector2.new(1, 0)
else
L.Button.Position = UDim2.fromOffset(6, 46)
end
end
_:GetPropertyChangedSignal("Text"):Connect(function()
f:UpdateSearch(_.Text)
end)
f:GiveSignal(U.InputBegan:Connect(function(J, processed)
if processed or f.Unloaded then return
end
if U:GetFocusedTextBox() then
return
end
if typeof(f.ToggleKeybind) == "table" and f.ToggleKeybind.Type == "KeyPicker" and J.KeyCode.Name == f.ToggleKeybind.Value or J.KeyCode == f.ToggleKeybind then
f.Toggle()
end
end))
f:GiveSignal(U.WindowFocused:Connect(function()
f.IsRobloxFocused = true
end))
f:GiveSignal(U.WindowFocusReleased:Connect(function()
f.IsRobloxFocused = false
end))
o.SetSnowfall = function(J, N)
k = N
if N and not m then
m, n = F("Frame", {BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), ZIndex = 10, Visible = true, Parent = b}), true
local L, s = game:GetService("RunService"), {}
for C = 1, 100, 1 do
local H, Q, v, p = math.random(3, 6), math.random(30, 60) / 100, math.random(0, 100) / 100, math.random(- 50, -5) / 100
J = F("Frame", {BackgroundColor3 = Color3.fromRGB(255, 255, 255), BackgroundTransparency = Q, Size = UDim2.fromOffset(H, H), Position = UDim2.fromScale(v, p), Rotation = math.random(0, 360), Parent = m})
F("UICorner", {CornerRadius = UDim.new(1, 0), Parent = J})
s[C] = {frame = J, velY = 0.012, velX = math.random(- 3, 3) / 1000, rotSpeed = math.random(- 60, 60) / 100, delay = math.random(0, 150) / 100, elapsed = 0, posY = p, posX = v, rot = math.random(0, 360)}
end
f:GiveSignal((L.Heartbeat:Connect(function(J)
if not n then return
end
local L = J * 60
for C, C in pairs(s) do
if C.elapsed < C.delay then
C.elapsed = C.elapsed + J
else
C.posY = C.posY + C.velY * G * L
C.posX = C.posX + C.velX * L
C.rot = C.rot + C.rotSpeed * L
if C.posY > 1.2 then
C.posY = math.random(- 30, -5) / 100
C.posX = math.random(0, 100) / 100
end
if C.posX < -0.05 then
C.posX = 1.05
end
if C.posX > 1.05 then
C.posX = -0.05
end
C.frame.Position = UDim2.fromScale(C.posX, C.posY)
C.frame.Rotation = C.rot
end
end
end)))
elseif not N and m then
m.Visible = false
n = false
elseif m then
m.Visible = N
n = N
end
end
o.SetBlur = function(J, J)
W.EnableBlur = J
if not f.Toggled then
return
end
for N, N in pairs(E) do
pcall(function()
N:Cancel()
end)
end
E = {}
if J then
j.Visible = true
local J, N = B:Create(j, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 0.5}), B:Create(O, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = 56})
table.insert(E, J)
table.insert(E, N)
J:Play()
N:Play()
else
local J, N = B:Create(j, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 1}), B:Create(O, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = 0})
table.insert(E, J)
table.insert(E, N)
J:Play()
N:Play()
J.Completed:Connect(function()
j.Visible = false
end)
end
end
o.SetGlassType = function(J, N)
W.GlassType = N
if S then
S:Destroy()
S = nil
end
J = P:FindFirstChild("TopBar")
if J then
J.BackgroundTransparency = 1
end
if N == "Full" then
P.BackgroundTransparency = 0.3
for L, L in pairs(y) do
if L and L.Parent then
L.BackgroundTransparency = 1
end
end
S = F("UIStroke", {Color = Color3.fromRGB(255, 255, 255), Transparency = 0.9, Thickness = 1, Parent = P})
elseif N == "TopOnly" then
for N, N in pairs(y) do
if N and N.Parent then
N.BackgroundTransparency = 0
end
end
J = P:FindFirstChild("TopBar")
if J then
P.BackgroundTransparency = 1
J.BackgroundTransparency = 0.3
S = F("UIStroke", {Color = Color3.fromRGB(255, 255, 255), Transparency = 0.9, Thickness = 1, Parent = J})
end
else
P.BackgroundTransparency = 0
for J, J in pairs(y) do
if J and J.Parent then
J.BackgroundTransparency = 0
end
end
end
end
o.SetCustomBackground = function(J, N)
J = f._customBg
if not J then
return
end
if not N or N == "" then
J.Image = ""
J.Visible = false
return
end
local L = tostring(N)
J.Image = if not L:match("://") then "rbxassetid://" .. L:gsub("%D", "") else L
J.Visible = true
end
o.SetBackgroundOpacity = function(J, N)
J = f._customBg
if not J then
return
end
J.ImageTransparency = 1 -math.clamp(N, 0, 1)
end
o.SetMobileButtonOpacity = function(J, J)
local N = 1 -math.clamp(J, 0, 1)
for J, J in pairs(o._mobileButtons or{}) do
if J and J.Button then
pcall(function()
J.Button.BackgroundTransparency = N
J.Button.TextTransparency = N
for L, L in ipairs(J.Button:GetChildren()) do
if L:IsA("UIStroke") then
L.Transparency = N
end
end
end)
end
end
end
o.SetSnowColor = function(J, J)
if not m then return
end
for N, N in m:GetChildren() do
if N:IsA("Frame") then
N.BackgroundColor3 = J
end
end
end
o.SetSnowSpeed = function(J, J)
G = J or 1
end
o.SetSnowAmount = function(J, N)
if not m then return
end
J = #m:GetChildren()
if N > J then
for L = J + 1, N, 1 do
local L = F("Frame", {BackgroundColor3 = Color3.fromRGB(255, 255, 255), BackgroundTransparency = math.random(20, 60) / 100, Size = UDim2.fromOffset(math.random(2, 6), math.random(2, 6)), Position = UDim2.fromScale(math.random(0, 100) / 100, -0.1), Parent = m})
F("UICorner", {CornerRadius = UDim.new(1, 0), Parent = L})
task.spawn(function()
while n and L and L.Parent do
local s, C, H = math.random(8, 15) / (G or 1), math.random(110, 130) / 100, L.Position.X.Scale + math.random(- 20, 20) / 100
B:Create(L, TweenInfo.new(s, Enum.EasingStyle.Linear), {Position = UDim2.fromScale(H, C)}):Play()
task.wait(s)
if n then
L.Position = UDim2.fromScale(math.random(0, 100) / 100, -0.1)
end
end
end)
end
elseif N < J then
for L = J, N + 1, -1 do
local J = m:GetChildren()[L]
if J then
J:Destroy()
end
end
end
end
o.EnableSidebarHover = function(J, J)
if f.IsMobile then return
end
J = J or{}
local N, L, B = J.CollapsedWidth or 54, J.ExpandedWidth or(o:GetSidebarWidth()), J.Speed or 18
W.EnableCompacting = false
local s, C, H = L, o:GetSidebarWidth(), -1
local function Q(v)
local p, g = N / 2, math.clamp((v -0.12) / 0.6, 0, 1)
g = g * g * (3 -2 * g)
for v, _ in pairs(f.TabButtons) do
if _.Padding then
_.Padding.PaddingLeft = UDim.new(0, 0)
_.Padding.PaddingRight = UDim.new(0, 0)
_.Padding.PaddingTop = UDim.new(0, 0)
_.Padding.PaddingBottom = UDim.new(0, 0)
end
if _.Icon then
_.Icon.AnchorPoint = Vector2.new(0.5, 0.5)
_.Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY
_.Icon.Size = UDim2.fromScale(0.46, 0.46)
_.Icon.Position = UDim2.new(0, p, 0.5, 0)
end
if _.Label then
_.Label.Visible = true
_.Label.Position = UDim2.fromOffset(p + 14 + 8 * g, 0)
v = _.Label.Parent.BackgroundTransparency < 0.5 and 0 or 0.5
_.Label.TextTransparency = v + (1 -v) * (1 -g)
end
end
Z.Visible = true
Z.TextTransparency = 1 -g
end
f:GiveSignal(q.RenderStepped:Connect(function(v)
if not(b and b.Parent and P.Visible) then return
end
C = if math.abs(s -C) >= 0.5 then C + (s -C) * (1 -math.exp(- v * B)) else s
if math.abs(C -H) >= 0.1 then
H = C
o:SetSidebarWidth(C)
end
Q(math.clamp((C -N) / math.max(1, L -N), 0, 1))
end))
local B = 0
local function H()
B += 1
s = L
end
local function L()
B = math.max(0, B -1)
task.delay(0.06, function()
local v = B
if v <= 0 then
s = N
end
end)
end
J = {D, l, Y}
for B, B in ipairs(J) do
f:GiveSignal(B.MouseEnter:Connect(H))
f:GiveSignal(B.MouseLeave:Connect(L))
end
s, C = N, N
o:SetSidebarWidth(N)
Q(0)
end
o.EnableResize = function(J, J)
J = J or{}
local N, L, B, s = J.Thickness or 6, J.CornerSize or 12, J.Smooth ~= false, Color3.fromRGB(6, 6, 8)
local J, C, H = F("ImageLabel", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, ImageColor3 = s, ImageTransparency = 0.35, Position = UDim2.new(0.5, 2, 0.5, 3), Size = UDim2.fromOffset(21, 21), ZIndex = 997, Visible = false, Parent = d}), {Vector2.new(1, 0), Vector2.new(- 1, 0), Vector2.new(0, 1), Vector2.new(0, -1), Vector2.new(1, 1), Vector2.new(1, -1), Vector2.new(- 1, 1), Vector2.new(- 1, -1)}, {}
for Y, Y in ipairs(C) do
H[#H + 1] = F("ImageLabel", {AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, ImageColor3 = s, Position = UDim2.new(0.5, Y.X * 1.6, 0.5, Y.Y * 1.6), Size = UDim2.fromOffset(20, 20), ZIndex = 999, Visible = false, Parent = d})
end
local function s(C, Y)
C.Image = Y.Url
C.ImageRectOffset = Y.ImageRectOffset
C.ImageRectSize = Y.ImageRectSize
C.Visible = true
end
local function C(Y)
local l = Y and(f:GetIcon(Y))
if not l then
return
end
d.BackgroundTransparency = 1
for Y, Y in ipairs(d:GetChildren()) do
if Y:IsA("Frame") then
Y.Visible = false
end
end
s(w, l)
s(J, l)
for Y, Y in ipairs(H) do
s(Y, l)
end
end
local function s()
for Y, Y in ipairs(d:GetChildren()) do
if Y:IsA("Frame") then
Y.Visible = true
end
end
d.BackgroundTransparency = 0
w.Visible = false
J.Visible = false
for J, J in ipairs(H) do
J.Visible = false
end
end
local J, d, w = false, P:FindFirstChild("TopBar"), false
if d then
f:GiveSignal(d.InputBegan:Connect(function(d)
if a(d) and not f.CantDragForced then w, J = true, true
C("move")
end
end))
end
f:GiveSignal(U.InputEnded:Connect(function(d)
if w and d.UserInputType == Enum.UserInputType.MouseButton1 then w, J = false, false
s()
end
end))
local d, w, H, Y, l = P.Size.X.Offset, P.Size.Y.Offset, P.Position.X.Offset, P.Position.Y.Offset, false
if B then
f:GiveSignal(q.RenderStepped:Connect(function(q)
if not l or not(b and b.Parent and P.Visible) then return
end
local Q, v, Z = P.Size, P.Position, math.clamp(q * 16, 0, 1)
P.Size = UDim2.new(Q.X.Scale, Q.X.Offset + (d -Q.X.Offset) * Z, Q.Y.Scale, Q.Y.Offset + (w -Q.Y.Offset) * Z)
P.Position = UDim2.new(v.X.Scale, v.X.Offset + (H -v.X.Offset) * Z, v.Y.Scale, v.Y.Offset + (Y -v.Y.Offset) * Z)
end))
end
local function q(Q, v, Z, p)
local g = F("TextButton", {Active = true, AutoButtonColor = false, BackgroundTransparency = 1, Text = "", ZIndex = 60, Parent = P})
p(g)
local p, F, _, c, e, I = false
g.MouseEnter:Connect(function()
if not J then C(Z)
end
end)
g.MouseLeave:Connect(function()
if not J then s()
end
end)
g.InputBegan:Connect(function(g)
if not a(g) then return
end
p, l, J = true, true, true
C(Z)
F = g.Position
d, w = P.Size.X.Offset, P.Size.Y.Offset
H, Y, _, c = P.Position.X.Offset, P.Position.Y.Offset, d, w
e, I = H, Y
end)
f:GiveSignal(U.InputEnded:Connect(function(C)
if p and C.UserInputType == Enum.UserInputType.MouseButton1 then p, l, J = false, false, false
s()
W.Size = UDim2.fromOffset(d, w)
f._persistentWindowSize = W.Size
for J, J in pairs(f.Tabs) do
pcall(function()
J:Resize(true)
end)
end
end
end))
f:GiveSignal(U.InputChanged:Connect(function(M)
if not p or not t(M) then return
end
if not(b and b.Parent) then
p, l = false, false
return
end
local b, J = workspace.CurrentCamera.ViewportSize, M.Position -F
local M, W = math.clamp(_ + Q * J.X, f.MinSize.X, b.X -20), math.clamp(c + v * J.Y, f.MinSize.Y, b.Y -20)
H = e + Q * (M -_) / 2
Y, d, w = I + v * (W -c) / 2, M, W
if not B then
P.Size = UDim2.new(P.Size.X.Scale, d, P.Size.Y.Scale, w)
P.Position = UDim2.new(P.Position.X.Scale, H, P.Position.Y.Scale, Y)
end
end))
end
q(0, -1, "move-vertical", function(M)
M.AnchorPoint = Vector2.new(0.5, 0)
M.Position = UDim2.new(0.5, 0, 0, 0)
M.Size = UDim2.new(1, -L * 2, 0, N)
end)
q(0, 1, "move-vertical", function(M)
M.AnchorPoint = Vector2.new(0.5, 1)
M.Position = UDim2.new(0.5, 0, 1, 0)
M.Size = UDim2.new(1, -L * 2, 0, N)
end)
q(- 1, 0, "move-horizontal", function(M)
M.AnchorPoint = Vector2.new(0, 0.5)
M.Position = UDim2.new(0, 0, 0.5, 0)
M.Size = UDim2.new(0, N, 1, -L * 2)
end)
q(1, 0, "move-horizontal", function(M)
M.AnchorPoint = Vector2.new(1, 0.5)
M.Position = UDim2.new(1, 0, 0.5, 0)
M.Size = UDim2.new(0, N, 1, -L * 2)
end)
q(- 1, -1, "move-diagonal", function(M)
M.AnchorPoint = Vector2.new(0, 0)
M.Position = UDim2.new(0, 0, 0, 0)
M.Size = UDim2.fromOffset(L, L)
end)
q(1, 1, "move-diagonal", function(M)
M.AnchorPoint = Vector2.new(1, 1)
M.Position = UDim2.new(1, 0, 1, 0)
M.Size = UDim2.fromOffset(L, L)
end)
q(1, -1, "move-diagonal-2", function(M)
M.AnchorPoint = Vector2.new(1, 0)
M.Position = UDim2.new(1, 0, 0, 0)
M.Size = UDim2.fromOffset(L, L)
end)
q(- 1, 1, "move-diagonal-2", function(M)
M.AnchorPoint = Vector2.new(0, 1)
M.Position = UDim2.new(0, 0, 1, 0)
M.Size = UDim2.fromOffset(L, L)
end)
end
f:OnUnload(function() O:Destroy() end)
return o
end
local function M()
if f.Unloaded then return
end
local b, J = r(), r(true)
for N, N in pairs(z) do
if N.Type == "Dropdown" and N.SpecialType == "Player" then
N:SetValues(N.ExcludeLocalPlayer and J or b)
end
end
end
local function b()
if f.Unloaded then return
end
local J = u()
for N, N in pairs(z) do
if N.Type == "Dropdown" and N.SpecialType == "Team" then
N:SetValues(J)
end
end
end
f:GiveSignal(A.PlayerAdded:Connect(M))
f:GiveSignal(A.PlayerRemoving:Connect(M))
f:GiveSignal(h.ChildAdded:Connect(b))
f:GiveSignal(h.ChildRemoved:Connect(b))
R().YabujinLibrary = f
return f
end
end
-- ============================================================================
-- PART 4: Luraph v14.x Crypto Primitives (ChaCha20 & RC4) & Decoy Functions
-- ============================================================================
-- Function [54]: chacha20CoreRounds (550 bytes) — Luraph ChaCha20 stream cipher quarter-round block mixer (modulo 2^32, rotations 16, 12, 8, 7).
YabujinDeobfuscated.chacha20CoreRounds = function(M, b)
return function(J, N)
local A = J[13]
for A = 1, N, 2 do
for N = 1, 32, 4 do
local q, W, U, L = M:Yq(b[1], N), M:Yq(b[1], N + 1), M:Yq(b[1], N + 2), M:Yq(b[1], N + 3)
local b, N, h, B = J[q], J[W], J[U], J[L]
b = (b + N) % 4294967296
A = upval_30(B, b)
B = upval_123(upval_33(A, 16), (upval_74(A, 16))) % 4294967296
h = (h + B) % 4294967296
A = upval_30(N, h)
N = upval_123(upval_33(A, 12), (upval_74(A, 20))) % 4294967296
b = upval_21(b + N, 4294967295)
A = upval_30(B, b)
B = upval_123(upval_33(A, 8), (upval_74(A, 24))) % 4294967296
h = (h + B) % 4294967296
A = upval_30(N, h)
N = upval_123(upval_33(A, 7), (upval_74(A, 25))) % 4294967296
J[q] = b
J[W] = N
J[U] = h
J[L] = B
end
end
end
end
-- Function [115]: rc4BufferDecryptor (1519 bytes) — Luraph RC4 stream cipher buffer decryptor.
YabujinDeobfuscated.rc4BufferDecryptor = function(M, b)
return function()
local J, N, A, q, W, U, L, h, B, R, s, d, w = 8
while true do
if J <= 4 then
if J <= 1 then
if J <= 0 then
local u, C = M[33](U, 16), M[21](q + 1, 255)
local o = M[21](W + R[C], 255)
local H, z = R[o], R[C]
R[C] = H
R[o] = z
z = M[123](A, u, (M[33](R[M[21](R[C] + R[o], 255)], 24)))
M[86](s, w, (M[30](M[19](L, h + w), z)))
J, A, q, W, U = 7, C, o, C, o
else
return s
end
elseif J <= 2 then
local u = M[21](W + 1, 255)
local C = M[21](U + R[u], 255)
R[u], R[C] = R[C], R[u]
local o = R[M[21](R[u] + R[C], 255)]
M[90](s, A, (M[30](M[70](L, h + A), o)))
J, W, U = 9, u, C
elseif J <= 3 then
local u, C = B -1, 1 + 0
J, N = 9, {d -C, C, u + 0, nil, N}
else
J, N = 3, N[2]
end
elseif J <= 7 then
if J <= 5 then
local u = M[21](W + 1, 255)
local C = M[21](U + R[u], 255)
R[u], R[C] = R[C], R[u]
local o, H = M[123](0, (M[33](R[M[21](R[u] + R[C], 255)], 0))), M[21](u + 1, 255)
u = M[21](C + R[H], 255)
J, A, q, W, U = 6, o, H, u, R[u]
elseif J <= 6 then
R[q], R[W] = U, R[q]
local u, C = M[123](A, (M[33](R[M[21](R[q] + R[W], 255)], 8))), M[21](q + 1, 255)
local o = M[21](W + R[C], 255)
R[C], R[o] = R[o], R[C]
J, A, q, W, U = 0, u, C, o, R[M[21](R[C] + R[o], 255)]
else
local q, u, C = N[3], N[4], N[5]
local o, H = q + u, u <= 0
local u, z, P = not H, o >= C, o <= C
q = H and z or u and P
N[3] = o
if q then
J, w = 5, o
else
J = 4
end
end
elseif J <= 8 then
local q = upval_1
local w = upval_2
local u = M[121](q) -w
local C, o, H = upval_3, M[104](u), u -u % 4
local M, b = H -1, 4 + 0
J, N, W, U, L, h, B, R, s, d = 7, {nil, N, 0 -b, b, M + 0}, 0, 0, q, w, u, C, o, H
elseif J <= 9 then
local M, b, q = N[1], N[2], N[3]
local W, U = M + b, b <= 0
local M, L, h = not U, W >= q, W <= q
b = U and L or M and h
N[1] = W
if b then
J, A = 2, W
else
J = 10
end
else
J, N = 1, N[5]
end
end
end
end
-- Function [29]: lcgPrngStepShort (224 bytes) — Luraph LCG PRNG state update helper (modulo 2^28).
YabujinDeobfuscated.lcgPrngStepShort = function(M, b)
return function()
local b = 1
while true do
if b <= 0 then
return
else
prngState = (108001 * prngState + 41316589) % 268435456
prngState, b = (277145 * prngState + 18527935) % 268435456, 0
end
end
end
end
-- Function [100]: lcgPrngStateMixer (1835 bytes) — Luraph multi-round LCG PRNG state mixer (modulo 2^28).
YabujinDeobfuscated.lcgPrngStateMixer = function(M, b)
return function()
local b, J, N = 3
while true do
if b <= 3 then
if b <= 1 then
if b <= 0 then
prngState = (J + N) % 268435456
prngState = (690929 * prngState + 119601043) % 268435456
prngState = (859391 * prngState + 120116449) % 268435456
prngState, b = (171135 * prngState + 144943331) % 268435456, 1
else
prngState = (582423 * prngState + 54050079) % 268435456
prngState = (297915 * prngState + 21926831) % 268435456
prngState = (443227 * prngState + 143916285) % 268435456
b, J, N = 5, 351993 * prngState, 20986297
end
elseif b <= 2 then
return
else
prngState = (40009 * prngState + 130141905) % 268435456
prngState = (793801 * prngState + 99058595) % 268435456
prngState = (164495 * prngState + 14226451) % 268435456
b, J = 7, 918999 * prngState + 33991111
end
elseif b <= 5 then
if b <= 4 then
prngState = J
prngState = (257053 * prngState + 49005783) % 268435456
prngState = (878903 * prngState + 15147739) % 268435456
prngState = (673811 * prngState + 67595405) % 268435456
b, J, N = 0, 650741 * prngState, 222415865
else
prngState = (J + N) % 268435456
prngState = (106839 * prngState + 131364431) % 268435456
prngState = (677009 * prngState + 59323863) % 268435456
prngState, b = (654607 * prngState + 14723519) % 268435456, 2
end
elseif b <= 6 then
prngState = (J * N + 71663543) % 268435456
prngState = (180075 * prngState + 149212815) % 268435456
prngState = (310757 * prngState + 149644699) % 268435456
b, J = 4, (434999 * prngState + 14898349) % 268435456
else
prngState = J % 268435456
prngState = (910865 * prngState + 89397363) % 268435456
prngState = (635211 * prngState + 129853869) % 268435456
prngState = (195469 * prngState + 103376131) % 268435456
b, J, N = 6, 429183, prngState
end
end
end
end
-- Function [57]: luraphDecoyGuiScanner (730 bytes) — Luraph polymorphic chaff/decoy coroutine loop.
YabujinDeobfuscated.luraphDecoyGuiScanner = function(M, b)
return function()
while true do
if not decoyTable1[24](function()
local b = decoyTable1[1][decoyTable1[2]][decoyTable1[3]][decoyTable1[4]][decoyTable1[5]][decoyTable1[6]][decoyTable1[7]]
local J = b[decoyTable1[8]](b)
for N, N in decoyTable1[9](J) do
if N[decoyTable1[10]](N, decoyTable1[11]) and(N[decoyTable1[12]](N, decoyTable1[20])) then
b = N[decoyTable1[20]][decoyTable1[13]]
if decoyTable1[16](decoyTable2, b[decoyTable1[14]](b, 3)) then
decoyTarget = N
break
end
end
end
if decoyTarget then
local b = decoyTarget[decoyTable1[20]][decoyTable1[13]]
decoyTarget[decoyTable1[20]][decoyTable1[13]] = b[decoyTable1[14]](b, 1, 2) .. decoyTable2[1][decoyTable1[14]](decoyTable2[1], 1, 10) .. decoySep .. decoyVal1 .. decoyVal2
decoyTarget[decoyTable1[17]][decoyTable1[18]] = decoyVal3
decoyTarget[decoyTable1[20]][decoyTable1[19]] = decoyVal4
end
end) then
decoyTable1[21](decoyTable1[22])
else
decoyTable1[21](decoyTable1[23])
end
end
end
end
-- Function [68]: luraphDecoyProgressBar (614 bytes) — Luraph chaff/decoy progress bar loop.
YabujinDeobfuscated.luraphDecoyProgressBar = function(M, b)
return function()
while true do
if activeFlag then
local b = progressValue
local J = progressMax
if b < J then
progressValue += 1
end
J = mathFloor(progressValue / 5)
outputText = strTable[strDecrypt("P", 30780822482938)] .. strTable[strDecrypt("\206", 10650770187967)]:rep(J) .. strTable[strDecrypt("\218", 11767495764687)]:rep(20 -J) .. strTable[strDecrypt("\18 \11", 17444542037878)] .. progressValue .. strTable[strDecrypt(" \207\135\147I", 4720313110828)]
end
waitFunc(0.03)
if stopFlag then
break
end
end
end
end
config._withId=function(callback,...)
return YabujinDeobfuscated.runWithElevatedThreadIdentity(callback,...)
end
function YabujinDeobfuscated:MissingDependencies(name)
local missing={}
for _,key in ipairs(self.Required[name]or{})do
if resolve(key)==nil and not key:match("^cached") and key~="setthreadidentity"and key~="getthreadidentity"and key~="callbackRef"and key~="heartbeatConnection"and key~="lastCameraCFrame"then missing[#missing+1]=key end
end
return missing
end
function YabujinDeobfuscated:Call(name,...)
local fn=self[name]
if type(fn)~="function"then return false,"Unknown recovered function: "..tostring(name)end
local missing=self:MissingDependencies(name)
if #missing>0 then return false,"Missing original dependencies for "..name..": "..table.concat(missing,", ")end
return pcall(fn,...)
end
function YabujinDeobfuscated:Unload()
if not self.Alive then return end
self.Alive=false
config._stopped=true
if self.Backend then self.Backend:Destroy()end
if self.StopPlex then self:StopPlex()end
if self.Library and self.Library.Unload then pcall(self.Library.Unload,self.Library)end
end
return YabujinDeobfuscated
end
local environment=getgenv and getgenv()or globalEnv
local options=environment.__YabujinOptions or {}
local previous=environment.YabujinRecovered
if previous and previous.Unload then pcall(previous.Unload,previous)end
local runtime=createRuntime(options.Dependencies)
runtime.New=createRuntime
runtime.SourceStatus="Recovered functions with dependency bindings; original client startup and some upvalues were not included."
environment.YabujinRecovered=runtime
function runtime:StartUI()
if self.Library then return self.Library end
local ok,library=self:Call("initYabujinObsidianLibrary")
if not ok then return nil,library end
if type(library)~="table"or type(library.CreateWindow)~="function"then return nil,"Recovered UI initializer did not return a window library"end
self.Library=library
return library
end
local createPlexBackend=(function()
return function(context)
local exportedApi
local mainapi=context
local RunService=game:GetService("RunService")
local HttpService=game:GetService("HttpService")
local UserInputService=game:GetService("UserInputService")
local LionLibrary,LionWindow=nil,nil
local function run(callback)callback()end
run(function()
-- Unlock All integrated with the cosmetic changer
local plrs = game:GetService("Players")
local reps = game:GetService("ReplicatedStorage")
local http = game:GetService("HttpService")
local collectionService = game:GetService("CollectionService")
local lp = plrs.LocalPlayer
if not lp then return end
local lps = lp:FindFirstChild("PlayerScripts") or lp:WaitForChild("PlayerScripts", 10)
if not lps then return end
local ctrls = lps:FindFirstChild("Controllers") or lps:WaitForChild("Controllers", 10)
local rmods = reps:FindFirstChild("Modules") or reps:WaitForChild("Modules", 10)
if not ctrls or not rmods then return end
local function safeRequireModule(module)
if not module then return nil end
local ok, result = pcall(require, module)
return ok and result or nil
end
local elib = safeRequireModule(rmods:WaitForChild("EnumLibrary", 10))
if elib and elib.WaitForEnumBuilder then
pcall(function()
elib:WaitForEnumBuilder()
end)
end
local clib = safeRequireModule(rmods:WaitForChild("CosmeticLibrary", 10))
local ilib = safeRequireModule(rmods:WaitForChild("ItemLibrary", 10))
local consts = safeRequireModule(rmods:WaitForChild("CONSTANTS", 10))
local dctrl = safeRequireModule(ctrls:WaitForChild("PlayerDataController", 10))
if not (elib and clib and ilib and consts and dctrl and clib.Cosmetics) then return end
local coss = clib.Cosmetics
local function findDescendantByName(parent, name)
if not parent then return nil end
local direct = parent:FindFirstChild(name)
if direct then return direct end
for _, descendant in ipairs(parent:GetDescendants()) do
if descendant.Name == name then
return descendant
end
end
return nil
end
local KNIFE_CUSTOM_SKIN = "Knife (Custom Skin)"
local REAVER_KNIFE_CUSTOM_SKIN = "reaver"
local DAGGERS_CUSTOM_SKIN = "Jett"
local SATCHEL_CUSTOM_SKIN = "Raze"
local SNIPER_CUSTOM_SKIN = "Chamber"
local RPG_CUSTOM_SKIN = "RPG Raze"
local FISTS_CUSTOM_SKIN = "Agent"
local BOW_CUSTOM_SKIN = "Sova"
local ASSAULT_RIFLE_CUSTOM_SKIN = "Vandal"
local DICE_TRIPMINE_SKIN = "Subspace Tripmine (Custom Skin)"
local DICE_TRIPMINE_OUTER_MESH_ID = "rbxassetid://5555691474"
local DICE_TRIPMINE_INNER_MESH_ID = "rbxassetid://5555691356"
local DICE_TRIPMINE_IMAGE_ID = "rbxassetid://98372867049331"
local DICE_TRIPMINE_IMAGE_HIGH_RES_ID = "rbxassetid://75601061529918"
local DICE_TRIPMINE_MESH_SCALE = 3.35
local DICE_TRIPMINE_WORLD_MESH_SCALE = 3.25
local SPIKE_TRIPMINE_SKIN = "Spike"
local SPIKE_TRIPMINE_MESH_ID = "rbxassetid://97754746098028"
local TRIPMINE_STAR_REMOVE_MESH_ID = "rbxassetid://13792525075"
local SPIKE_TRIPMINE_MESH_SCALE = 85
local SPIKE_TRIPMINE_WORLD_MESH_SCALE = 50
local SNIPER_CUSTOM_REPLACEMENT_MESH_ID = "rbxassetid://98786413608787"
local SNIPER_CUSTOM_REPLACEMENT_TEXTURE_ID = "rbxassetid://131686603013672"
local SNIPER_CUSTOM_REPLACEMENT_SIZE = Vector3.new(0.025, 0.025, 0.025)
local SNIPER_CUSTOM_REPLACEMENT_OFFSET = Vector3.new(0, -0.25, 0)
local DAGGERS_CUSTOM_SOURCE_MESH_ID = "rbxassetid://94772705561955"
local DAGGERS_CUSTOM_REPLACEMENT_MESH_ID = "rbxassetid://128075492497238"
local DAGGERS_CUSTOM_REPLACEMENT_TEXTURE_ID = "rbxassetid://79246900644201"
local DAGGERS_CUSTOM_REPLACEMENT_SIZE = Vector3.new(0.03, 0.03, 0.03)
local DAGGERS_CUSTOM_REPLACEMENT_ROTATION = Vector3.new(0, 90, -90)
local SATCHEL_CUSTOM_REPLACEMENT_MESH_ID = "rbxassetid://129982008330139"
local SATCHEL_CUSTOM_REPLACEMENT_TEXTURE_ID = "rbxassetid://121713947189258"
local SATCHEL_CUSTOM_REPLACEMENT_SIZE = Vector3.new(0.5, 0.5, 0.5)
local SATCHEL_CUSTOM_WORLD_REPLACEMENT_SIZE = Vector3.new(0.6, 0.6, 0.6)
local SATCHEL_CUSTOM_REPLACEMENT_ROTATION = Vector3.new(0, -90, 0)
local RPG_CUSTOM_BODY_REPLACEMENT_MESH_ID = "rbxassetid://81554047161707"
local RPG_CUSTOM_BODY_REPLACEMENT_TEXTURE_ID = "rbxassetid://133257377819985"
local RPG_CUSTOM_REPLACEMENT_SCALE = 0.5
local RPG_CUSTOM_REPLACEMENT_ROTATION = Vector3.new(0, 90, 0)
local RPG_CUSTOM_REPLACEMENT_OFFSET = Vector3.new(0.04, 0, 0)
local FISTS_CUSTOM_LEFT_MESH_ID = "rbxassetid://120273083766829"
local FISTS_CUSTOM_LEFT_TEXTURE_ID = "rbxassetid://124608382264962"
local FISTS_CUSTOM_RIGHT_MESH_ID = "rbxassetid://129220833982000"
local FISTS_CUSTOM_RIGHT_TEXTURE_ID = "rbxassetid://118482605175566"
local FISTS_CUSTOM_MESH_SCALE = Vector3.new(0.1, 0.1, 0.1)
local FISTS_CUSTOM_LEFT_ROTATION = Vector3.new(45, 0, 0)
local FISTS_CUSTOM_RIGHT_ROTATION = Vector3.new(-45, 0, 0)
local BOW_CUSTOM_BODY_REPLACEMENT_MESH_ID = "rbxassetid://80147707463344"
local BOW_CUSTOM_BODY_REPLACEMENT_TEXTURE_ID = "rbxassetid://87690225474067"
local BOW_CUSTOM_ARROW_REPLACEMENT_MESH_ID = "rbxassetid://97839236861642"
local BOW_CUSTOM_ARROW_REPLACEMENT_TEXTURE_ID = "rbxassetid://82458179247269"
local BOW_CUSTOM_REPLACEMENT_SIZE = Vector3.new(0.25, 0.25, 0.25)
local CUSTOM_SKIN_IMAGE_OVERRIDES = {
[REAVER_KNIFE_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
["sky"] = { Image = "", ImageHighResolution = "" },
["Camera"] = { Image = "", ImageHighResolution = "" },
["Grenade Raze"] = { Image = "", ImageHighResolution = "" },
[DAGGERS_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
[SATCHEL_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
[SNIPER_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
["Operator"] = { Image = "", ImageHighResolution = "" },
[RPG_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
[FISTS_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
[BOW_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
[ASSAULT_RIFLE_CUSTOM_SKIN] = { Image = "", ImageHighResolution = "" },
[DICE_TRIPMINE_SKIN] = { Image = DICE_TRIPMINE_IMAGE_ID, ImageHighResolution = DICE_TRIPMINE_IMAGE_HIGH_RES_ID },
[SPIKE_TRIPMINE_SKIN] = { Image = "", ImageHighResolution = "" }
}
local SNIPER_MESH_SKIN_OVERRIDES = {
[SNIPER_CUSTOM_SKIN] = {
Skin = SNIPER_CUSTOM_SKIN,
BodyMeshIds = {
"rbxassetid://95497877882755",
"rbxassetid://118920880889483",
"rbxassetid://80662423119419"
},
RemoveMeshIds = {
"rbxassetid://100168191352015",
"rbxassetid://82935541182957",
"rbxassetid://95388370230390",
"rbxassetid://84918196407550"
},
ReplacementMeshId = SNIPER_CUSTOM_REPLACEMENT_MESH_ID,
ReplacementTextureId = SNIPER_CUSTOM_REPLACEMENT_TEXTURE_ID,
ReplacementSize = SNIPER_CUSTOM_REPLACEMENT_SIZE,
ReplacementOffset = SNIPER_CUSTOM_REPLACEMENT_OFFSET
},
["Operator"] = {
Skin = "Operator",
BodyMeshIds = {
"rbxassetid://13188893115",
"rbxassetid://13188892761",
"rbxassetid://14778413014",
"rbxassetid://13188893017",
"rbxassetid://14774727092"
},
RemoveMeshIds = {
"rbxassetid://13188893310",
"rbxassetid://13188892855"
},
BulletMeshIds = {
"rbxassetid://14002915797"
},
MagazineMeshIds = {
"rbxassetid://13188892532",
"rbxassetid://13188892651"
},
BodyReplacementMeshId = "rbxassetid://132995629661821",
BodyReplacementTextureId = "rbxassetid://80634410259243",
ScopeReplacementMeshId = "rbxassetid://103988563532751",
ScopeReplacementTextureId = "rbxassetid://136789986141252",
MagazineReplacementMeshId = "rbxassetid://80074307887476",
MagazineReplacementTextureId = "rbxassetid://80634410259243",
ReplacementSize = Vector3.new(0.3, 0.3, 0.3),
ReplacementOffset = Vector3.new(0, -0.25, 0),
ScopeOffset = Vector3.new(0.175, 0.5, 0.005),
MagazineOffset = Vector3.new(0.7, 0, 0.05),
BulletOffset = Vector3.new(-1.25, 0, 0),
ReplacementVersion = 9
}
}
local DAGGERS_MESH_SKIN_OVERRIDES = {
[DAGGERS_CUSTOM_SKIN] = {
Skin = DAGGERS_CUSTOM_SKIN,
SourceMeshIds = { DAGGERS_CUSTOM_SOURCE_MESH_ID },
ReplacementMeshId = DAGGERS_CUSTOM_REPLACEMENT_MESH_ID,
ReplacementTextureId = DAGGERS_CUSTOM_REPLACEMENT_TEXTURE_ID,
ReplacementSize = DAGGERS_CUSTOM_REPLACEMENT_SIZE,
ReplacementRotation = DAGGERS_CUSTOM_REPLACEMENT_ROTATION,
ReplacementVersion = 6,
FallbackBodyNames = { "LeftBody", "RightBody" }
}
}
local SATCHEL_MESH_SKIN_OVERRIDES = {
[SATCHEL_CUSTOM_SKIN] = {
Skin = SATCHEL_CUSTOM_SKIN,
SourceMeshIds = {
"rbxassetid://138805549853994",
"rbxassetid://125258747465100",
"rbxassetid://111319295872696",
"rbxassetid://129504437671598",
"rbxassetid://104440368867933"
},
ReplacementMeshId = SATCHEL_CUSTOM_REPLACEMENT_MESH_ID,
ReplacementTextureId = SATCHEL_CUSTOM_REPLACEMENT_TEXTURE_ID,
ReplacementSize = SATCHEL_CUSTOM_REPLACEMENT_SIZE,
WorldReplacementSize = SATCHEL_CUSTOM_WORLD_REPLACEMENT_SIZE,
ReplacementRotation = SATCHEL_CUSTOM_REPLACEMENT_ROTATION,
ReplacementVersion = 5
},
[REAVER_KNIFE_CUSTOM_SKIN] = {
Skin = REAVER_KNIFE_CUSTOM_SKIN,
SourceMeshIds = {
"rbxassetid://85166039303292",
"rbxassetid://125674590013235",
"rbxassetid://97042702941502",
"rbxassetid://116723276788898",
"rbxassetid://99266754879173"
},
ReplacementMeshId = "rbxassetid://76054449109492",
ReplacementTextureId = "rbxassetid://117578984602503",
ReplacementSize = Vector3.new(0.3, 0.3, 0.3),
ReplacementRotation = Vector3.new(0, 90, 0),
ReplacementOffset = Vector3.new(0, 0.5, 0),
ReplacementVersion = 3
},
["sky"] = {
Skin = "sky",
SourceMeshIds = { "rbxassetid://140203670599306" },
ReplacementMeshId = "rbxassetid://78577370691269",
ReplacementTextureId = "rbxassetid://130284287910497",
ReplacementSize = Vector3.new(0.6, 0.6, 0.6),
ReplacementRotation = Vector3.new(0, 90, 0),
WorldSourceMeshIds = { "rbxassetid://140203670599306" },
WorldReplacementMeshId = "rbxassetid://111122607123480",
WorldReplacementTextureId = "rbxassetid://86629139856581",
WorldReplacementSize = Vector3.new(0.3, 0.3, 0.3),
WorldReplacementRotation = Vector3.zero,
ReplacementVersion = 2
},
["Grenade Raze"] = {
Skin = "Grenade Raze",
SourceMeshIds = {
"rbxassetid://87132852844264",
"rbxassetid://96681677373844",
"rbxassetid://121396126155803",
"rbxassetid://121842208464560"
},
ReplacementMeshId = "rbxassetid://80612596590820",
ReplacementTextureId = "rbxassetid://123233413518598",
ReplacementSize = Vector3.new(0.8, 0.8, 0.8),
ReplacementVersion = 2
},
["Camera"] = {
Skin = "Camera",
SourceMeshIds = {
"rbxassetid://17835823024",
"rbxassetid://17835823121",
"rbxassetid://17835823211"
},
ReplacementMeshId = "rbxassetid://112849634500139",
ReplacementTextureId = "rbxassetid://126465878813440",
ReplacementSize = Vector3.new(0.5, 0.5, 0.5),
ReplacementRotation = Vector3.new(0, 0, -90),
WorldSourceMeshIds = {
"rbxassetid://17835823024",
"rbxassetid://17835823121",
"rbxassetid://17835823211"
},
WorldReplacementSize = Vector3.new(2, 2, 2),
WorldReplacementRotation = Vector3.new(0, 90, -90),
ReplacementVersion = 2
}
}
local RPG_MESH_SKIN_OVERRIDES = {
[RPG_CUSTOM_SKIN] = {
Skin = RPG_CUSTOM_SKIN,
BodyMeshIds = {
"rbxassetid://17638908187",
"rbxassetid://17638908626"
},
JuggleMeshIds = {
"rbxassetid://17638908803",
"rbxassetid://17638907818"
},
RocketMeshIds = {
"rbxassetid://17638908803",
"rbxassetid://17638907818"
},
BodyReplacementMeshId = RPG_CUSTOM_BODY_REPLACEMENT_MESH_ID,
BodyReplacementTextureId = RPG_CUSTOM_BODY_REPLACEMENT_TEXTURE_ID,
ReplacementScale = RPG_CUSTOM_REPLACEMENT_SCALE,
ReplacementRotation = RPG_CUSTOM_REPLACEMENT_ROTATION,
ReplacementOffset = RPG_CUSTOM_REPLACEMENT_OFFSET,
ReplacementVersion = 3
}
}
local FISTS_MESH_SKIN_OVERRIDES = {
[FISTS_CUSTOM_SKIN] = {
Skin = FISTS_CUSTOM_SKIN,
LeftPartName = "LeftItem",
RightPartName = "RightItem",
LeftMeshId = FISTS_CUSTOM_LEFT_MESH_ID,
LeftTextureId = FISTS_CUSTOM_LEFT_TEXTURE_ID,
RightMeshId = FISTS_CUSTOM_RIGHT_MESH_ID,
RightTextureId = FISTS_CUSTOM_RIGHT_TEXTURE_ID,
MeshScale = FISTS_CUSTOM_MESH_SCALE,
LeftRotation = FISTS_CUSTOM_LEFT_ROTATION,
RightRotation = FISTS_CUSTOM_RIGHT_ROTATION,
ReplacementVersion = 1
}
}
local BOW_MESH_SKIN_OVERRIDES = {
[BOW_CUSTOM_SKIN] = {
Skin = BOW_CUSTOM_SKIN,
BodyMeshIds = {
"rbxassetid://116947825701555",
"rbxassetid://80510746199823"
},
ArrowMeshIds = {
"rbxassetid://108027163190911",
"rbxassetid://114261802270550"
},
BodyReplacementMeshId = BOW_CUSTOM_BODY_REPLACEMENT_MESH_ID,
BodyReplacementTextureId = BOW_CUSTOM_BODY_REPLACEMENT_TEXTURE_ID,
ArrowReplacementMeshId = BOW_CUSTOM_ARROW_REPLACEMENT_MESH_ID,
ArrowReplacementTextureId = BOW_CUSTOM_ARROW_REPLACEMENT_TEXTURE_ID,
ReplacementSize = BOW_CUSTOM_REPLACEMENT_SIZE,
ReplacementVersion = 2
}
}
local ASSAULT_RIFLE_MESH_SKIN_OVERRIDES = {
[ASSAULT_RIFLE_CUSTOM_SKIN] = {
Skin = ASSAULT_RIFLE_CUSTOM_SKIN,
BodyMeshIds = {
"rbxassetid://17661950733",
"rbxassetid://17661950585",
"rbxassetid://17662005180",
"rbxassetid://17662016762"
},
BoltMeshIds = {
"rbxassetid://17661950452"
},
MagazineMeshIds = {
"rbxassetid://17662005301",
"rbxassetid://17662005453"
},
ReloadMagazineMeshIds = {
"rbxassetid://17662005453",
"rbxassetid://17662005301"
},
BodyReplacementMeshId = "rbxassetid://138100951261312",
BodyReplacementTextureId = "rbxassetid://84167100219585",
MagazineReplacementMeshId = "rbxassetid://92935167277909",
MagazineReplacementTextureId = "rbxassetid://84167100219585",
ReloadMagazineReplacementMeshId = "rbxassetid://92935167277909",
ReloadMagazineReplacementTextureId = "rbxassetid://84167100219585",
ReplacementSize = Vector3.new(0.35, 0.35, 0.35),
ReplacementOffset = Vector3.new(0.1, -0.25, 0.04),
MagazineOffset = Vector3.new(-0.135, -0.2, -0.03),
ReplacementVersion = 6
}
}
local TRIPMINE_MESH_SKIN_OVERRIDES = {
[DICE_TRIPMINE_SKIN] = {
Skin = DICE_TRIPMINE_SKIN,
MeshIds = { DICE_TRIPMINE_OUTER_MESH_ID, DICE_TRIPMINE_INNER_MESH_ID },
RemoveMeshId = TRIPMINE_STAR_REMOVE_MESH_ID,
Scale = DICE_TRIPMINE_MESH_SCALE,
WorldScale = DICE_TRIPMINE_WORLD_MESH_SCALE,
WorldGroundOffset = 0.5,
ExtraMeshScale = 1.15,
WorldExtraMeshScale = 1,
Color = Color3.fromRGB(255, 255, 255),
Material = Enum.Material.SmoothPlastic,
Reflectance = 0,
ClearTexture = true
},
[SPIKE_TRIPMINE_SKIN] = {
Skin = SPIKE_TRIPMINE_SKIN,
MeshId = SPIKE_TRIPMINE_MESH_ID,
RemoveMeshId = TRIPMINE_STAR_REMOVE_MESH_ID,
Scale = SPIKE_TRIPMINE_MESH_SCALE,
WorldScale = SPIKE_TRIPMINE_WORLD_MESH_SCALE,
WorldGroundOffset = 0.5,
Color = Color3.fromRGB(163, 162, 165),
ClearTexture = true
}
}
local function normalizeAssetId(assetId)
return tostring(assetId or ""):match("%d+") or ""
end
local function getTripmineMeshIds(profile)
local ids = {}
if type(profile and profile.MeshIds) == "table" then
for _, meshId in ipairs(profile.MeshIds) do
if normalizeAssetId(meshId) ~= "" then
table.insert(ids, meshId)
end
end
elseif profile and normalizeAssetId(profile.MeshId) ~= "" then
table.insert(ids, profile.MeshId)
end
return ids
end
local function getTripmineExtraMeshScale(profile, worldVisual)
if worldVisual then
return profile and profile.WorldExtraMeshScale or 1
end
return profile and profile.ExtraMeshScale or 1
end
local function getTripmineMeshSignature(profile, worldVisual)
local normalized = {}
for _, meshId in ipairs(getTripmineMeshIds(profile)) do
table.insert(normalized, normalizeAssetId(meshId))
end
return table.concat(normalized, ",") .. "|" .. tostring(getTripmineExtraMeshScale(profile, worldVisual))
end
local function scaleTripmineMeshVector(scale, multiplier)
multiplier = multiplier or 1
if typeof(scale) == "Vector3" then
return scale * multiplier
end
return Vector3.new(scale, scale, scale) * multiplier
end
local function meshMatchesAssetId(inst, assetId)
local id = normalizeAssetId(assetId)
if id == "" or typeof(inst) ~= "Instance" then return false end
if inst:IsA("SpecialMesh") then
return normalizeAssetId(inst.MeshId) == id or normalizeAssetId(inst.TextureId) == id
elseif inst:IsA("MeshPart") then
return normalizeAssetId(inst.MeshId) == id or normalizeAssetId(inst.TextureID) == id
end
return false
end
local function isCustomTripmineMeshIgnored(inst)
local current = inst
while current do
if current:GetAttribute("__LionHiddenTripmineMesh") then
return true
end
local compactName = tostring(current.Name or ""):lower():gsub("[%s_%-%p]", "")
if compactName:find("arm", 1, true)
or compactName:find("hand", 1, true)
or compactName:find("fake", 1, true)
or compactName:find("charm", 1, true)
or compactName:find("hitbox", 1, true) then
return true
end
current = current.Parent
end
return false
end
local function scoreCustomTripmineMeshTarget(root, meshLike, removedMeshId)
if removedMeshId and meshMatchesAssetId(meshLike, removedMeshId) then return nil end
local part = meshLike:IsA("SpecialMesh") and meshLike.Parent or meshLike
if not (part and part:IsA("BasePart")) or isCustomTripmineMeshIgnored(part) then return nil end
local score = part.Size.Magnitude
local name = tostring(part.Name or ""):lower()
if root:IsA("Model") and part == root.PrimaryPart then score += 1000 end
if name:find("mesh", 1, true) then score += 500 end
if name:find("body", 1, true) then score += 250 end
if name:find("mine", 1, true) or name:find("trip", 1, true) then score += 250 end
return score
end
local function findCustomTripmineMeshTarget(root, profile)
if typeof(root) ~= "Instance" then return nil end
local best, bestScore = nil, -math.huge
local removedMeshId = profile and (profile.RemoveMeshId or profile.HideMeshId)
local function consider(obj)
if obj:IsA("SpecialMesh") or obj:IsA("MeshPart") then
local score = scoreCustomTripmineMeshTarget(root, obj, removedMeshId)
if score and score > bestScore then
best = obj
bestScore = score
end
end
end
consider(root)
for _, descendant in ipairs(root:GetDescendants()) do
consider(descendant)
end
return best
end
local function removeTripmineMeshAsset(root, assetId)
if typeof(root) ~= "Instance" or not assetId then return end
local remove = {}
local function queueIfMatch(obj)
if meshMatchesAssetId(obj, assetId) then
local part = obj:IsA("SpecialMesh") and obj.Parent or obj
if part and part:IsA("BasePart") then
table.insert(remove, part)
elseif obj:IsA("SpecialMesh") then
table.insert(remove, obj)
end
end
end
queueIfMatch(root)
for _, obj in ipairs(root:GetDescendants()) do
queueIfMatch(obj)
end
for _, obj in ipairs(remove) do
if obj and obj.Parent then
obj:SetAttribute("__LionRemovedTripmineMesh", true)
obj:Destroy()
end
end
end
local function removeCustomTripmineExtraMeshes(root)
if typeof(root) ~= "Instance" then return end
for _, obj in ipairs(root:GetDescendants()) do
if obj:GetAttribute("__LionCustomTripmineExtraMesh") then
obj:Destroy()
end
end
end
local function getMeshLikePart(obj)
if typeof(obj) ~= "Instance" then return nil end
if obj:IsA("SpecialMesh") then
return obj.Parent and obj.Parent:IsA("BasePart") and obj.Parent or nil
end
return obj:IsA("BasePart") and obj or nil
end
local function meshMatchesAnyAssetId(inst, assetIds)
for _, assetId in ipairs(assetIds or {}) do
if meshMatchesAssetId(inst, assetId) then
return true
end
end
return false
end
local function rotationCFrameFromDegrees(rotation)
if typeof(rotation) ~= "Vector3" then return CFrame.identity end
return CFrame.Angles(math.rad(rotation.X), math.rad(rotation.Y), math.rad(rotation.Z))
end
local function namePathContains(inst, needle)
needle = tostring(needle or ""):lower()
if needle == "" then return false end
local current = inst
while current and current ~= game do
if tostring(current.Name or ""):lower():find(needle, 1, true) then
return true
end
current = current.Parent
end
return false
end
local function hideDaggerMeshAnchor(part)
if not (part and part:IsA("BasePart")) then return end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
pcall(function() part.CastShadow = false end)
pcall(function() part.Size = Vector3.new(0.001, 0.001, 0.001) end)
part:SetAttribute("__LionDaggerHiddenAnchor", true)
part:SetAttribute("IgnoreObject", true)
part:SetAttribute("IgnoreTransparency", true)
pcall(function() collectionService:RemoveTag(part, "Wrappable") end)
if part:IsA("MeshPart") then
pcall(function() part.TextureID = "" end)
end
for _, child in ipairs(part:GetDescendants()) do
if child:IsA("Decal") or child:IsA("Texture") then
child.Transparency = 1
elseif child:IsA("SurfaceAppearance") then
child:Destroy()
elseif child:IsA("SpecialMesh") then
child.Scale = Vector3.zero
pcall(function() child.TextureId = "" end)
end
end
end
local function addReplacementSpecialMesh(part, profile, defaultScale)
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = Enum.MeshType.FileMesh
mesh.MeshId = profile.ReplacementMeshId
pcall(function() mesh.TextureId = profile.ReplacementTextureId or "" end)
mesh.Scale = profile.ReplacementMeshScale or profile.ReplacementSize or defaultScale or Vector3.new(1, 1, 1)
pcall(function() mesh.VertexColor = Vector3.new(1, 1, 1) end)
mesh.Parent = part
return mesh
end
local function createDaggerReplacementMeshPart(anchor, profile)
if not (anchor and anchor:IsA("BasePart")) then return false end
if anchor:GetAttribute("__LionDaggerReplacementMeshPart") then return true end
local parent = anchor.Parent
if not parent then return false end
local originalName = anchor.Name
anchor.Name = "__LionDaggerAnchor_" .. originalName
local replacement = Instance.new("Part")
replacement.Name = originalName
replacement.Size = Vector3.new(1, 1, 1)
replacement.CFrame = anchor.CFrame * rotationCFrameFromDegrees(profile.ReplacementRotation)
replacement.Anchored = anchor.Anchored
replacement.CanCollide = false
replacement.CanTouch = false
replacement.CanQuery = false
replacement.Massless = true
replacement.Color = Color3.fromRGB(255, 255, 255)
pcall(function() replacement.Material = anchor.Material end)
pcall(function() replacement.CastShadow = false end)
replacement:SetAttribute("__LionCustomDaggerMesh", true)
replacement:SetAttribute("__LionDaggerReplacementMeshPart", true)
replacement:SetAttribute("IgnoreTransparency", true)
addReplacementSpecialMesh(replacement, profile)
local wrapGroup = anchor:GetAttribute("WrapGroup")
if wrapGroup ~= nil then
replacement:SetAttribute("WrapGroup", wrapGroup)
end
pcall(function()
if collectionService:HasTag(anchor, "Wrappable") then
collectionService:AddTag(replacement, "Wrappable")
end
end)
replacement.Parent = parent
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionDaggerReplacementWeld"
weld.Part0 = anchor
weld.Part1 = replacement
weld.Parent = replacement
hideDaggerMeshAnchor(anchor)
return true
end
local function applyMeshReplacementToObject(obj, profile)
if typeof(obj) ~= "Instance" then return false end
if obj:GetAttribute("__LionDaggerReplacementMeshPart") or obj:GetAttribute("__LionDaggerHiddenAnchor") then
return false
end
local part = getMeshLikePart(obj)
if obj:IsA("MeshPart") then
return createDaggerReplacementMeshPart(obj, profile)
elseif obj:IsA("SpecialMesh") then
if part then
part.Transparency = 0
part.LocalTransparencyModifier = 0
part.Color = Color3.fromRGB(255, 255, 255)
pcall(function() part.CastShadow = false end)
if profile.ReplacementRotation then
part.CFrame = part.CFrame * rotationCFrameFromDegrees(profile.ReplacementRotation)
end
end
pcall(function() obj.MeshId = profile.ReplacementMeshId end)
pcall(function() obj.TextureId = profile.ReplacementTextureId or "" end)
if profile.ReplacementSize then
pcall(function() obj.Scale = profile.ReplacementSize end)
end
obj:SetAttribute("__LionCustomDaggerMesh", true)
return true
end
return false
end
local function getDaggerMeshSignature(profile)
local size = profile.ReplacementSize or Vector3.zero
local rotation = profile.ReplacementRotation or Vector3.zero
return table.concat({
table.concat(profile.SourceMeshIds or {}, ","),
tostring(profile.ReplacementMeshId or ""),
tostring(profile.ReplacementTextureId or ""),
tostring(size.X),
tostring(size.Y),
tostring(size.Z),
tostring(rotation.X),
tostring(rotation.Y),
tostring(rotation.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
local function applyDaggerMeshProfile(root, profile)
if typeof(root) ~= "Instance" or not profile then return false end
local signature = getDaggerMeshSignature(profile)
if root:GetAttribute("__LionDaggerMeshSkin") == profile.Skin
and root:GetAttribute("__LionDaggerMeshSignature") == signature then
return true
end
local replaced, seen = 0, {}
local function replaceIfTarget(obj)
if seen[obj] or not meshMatchesAnyAssetId(obj, profile.SourceMeshIds) then return end
seen[obj] = true
if applyMeshReplacementToObject(obj, profile) then
replaced += 1
end
end
replaceIfTarget(root)
for _, obj in ipairs(root:GetDescendants()) do
replaceIfTarget(obj)
end
for _, bodyName in ipairs(profile.FallbackBodyNames or {}) do
for _, obj in ipairs(root:GetDescendants()) do
if obj.Name == bodyName then
local target = obj:FindFirstChild("MeshPart")
if target and not seen[target] and target:IsA("MeshPart") then
seen[target] = true
if applyMeshReplacementToObject(target, profile) then
replaced += 1
end
end
end
end
end
root:SetAttribute("__LionDaggerMeshSkin", profile.Skin)
root:SetAttribute("__LionDaggerMeshSignature", signature)
root:SetAttribute("__LionDaggerMeshCount", replaced)
return replaced > 0
end
local function hideSatchelMeshAnchor(part)
if not (part and part:IsA("BasePart")) then return end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
pcall(function() part.CastShadow = false end)
pcall(function() part.Size = Vector3.new(0.001, 0.001, 0.001) end)
part:SetAttribute("__LionSatchelHiddenAnchor", true)
part:SetAttribute("IgnoreObject", true)
part:SetAttribute("IgnoreTransparency", true)
pcall(function() collectionService:RemoveTag(part, "Wrappable") end)
if part:IsA("MeshPart") then
pcall(function() part.TextureID = "" end)
pcall(function() part.MeshId = "" end)
end
for _, child in ipairs(part:GetDescendants()) do
if child:IsA("Decal") or child:IsA("Texture") then
child.Transparency = 1
elseif child:IsA("SurfaceAppearance") then
child:Destroy()
elseif child:IsA("SpecialMesh") then
child.Scale = Vector3.zero
pcall(function() child.MeshId = "" end)
pcall(function() child.TextureId = "" end)
end
end
end
local function getReplacementAverageCFrame(parts)
local first = parts and parts[1]
if not first then return CFrame.identity end
local position = Vector3.zero
for _, part in ipairs(parts) do
position += part.Position
end
position /= #parts
return CFrame.new(position) * (first.CFrame - first.CFrame.Position)
end
local function createSatchelReplacementMeshPart(root, profile, anchors)
local anchor = anchors and anchors[1]
if not (anchor and anchor:IsA("BasePart")) then return false end
local parent = anchor.Parent
if not parent then return false end
for _, descendant in ipairs(root:GetDescendants()) do
if descendant:GetAttribute("__LionSatchelReplacementMeshPart") then
descendant:Destroy()
end
end
local replacement = Instance.new("Part")
replacement.Name = "__LionCustomSatchelReplacement"
replacement.Size = Vector3.new(1, 1, 1)
replacement.CFrame = getReplacementAverageCFrame(anchors)
* CFrame.new(profile.ReplacementOffset or Vector3.zero)
* rotationCFrameFromDegrees(profile.ReplacementRotation)
replacement.Anchored = anchor.Anchored
replacement.CanCollide = false
replacement.CanTouch = false
replacement.CanQuery = false
replacement.Massless = true
replacement.Color = Color3.fromRGB(255, 255, 255)
pcall(function() replacement.Material = anchor.Material end)
pcall(function() replacement.CastShadow = false end)
replacement:SetAttribute("__LionCustomSatchelMesh", true)
replacement:SetAttribute("__LionSatchelReplacementMeshPart", true)
replacement:SetAttribute("IgnoreTransparency", true)
addReplacementSpecialMesh(replacement, profile, Vector3.new(1, 1, 1))
local wrapGroup = anchor:GetAttribute("WrapGroup")
if wrapGroup ~= nil then
replacement:SetAttribute("WrapGroup", wrapGroup)
end
pcall(function()
if collectionService:HasTag(anchor, "Wrappable") then
collectionService:AddTag(replacement, "Wrappable")
end
end)
replacement.Parent = parent
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionSatchelReplacementWeld"
weld.Part0 = anchor
weld.Part1 = replacement
weld.Parent = replacement
for _, part in ipairs(anchors) do
if part and part.Parent then
if not part.Name:find("__LionSatchelAnchor_", 1, true) then
part.Name = "__LionSatchelAnchor_" .. part.Name
end
hideSatchelMeshAnchor(part)
end
end
return true
end
local function applySatchelReplacementToObject(obj, profile)
if typeof(obj) ~= "Instance" then return false end
if obj:GetAttribute("__LionSatchelReplacementMeshPart") then return false end
local part = getMeshLikePart(obj)
if part and part:GetAttribute("__LionSatchelHiddenAnchor") then return false end
return part and createSatchelReplacementMeshPart(part.Parent or part, profile, { part }) or false
end
local function getSatchelMeshSignature(profile)
local rotation = profile.ReplacementRotation or Vector3.zero
local offset = profile.ReplacementOffset or Vector3.zero
local size = profile.ReplacementSize or Vector3.zero
return table.concat({
table.concat(profile.SourceMeshIds or {}, ","),
tostring(profile.ReplacementMeshId or ""),
tostring(profile.ReplacementTextureId or ""),
tostring(size.X),
tostring(size.Y),
tostring(size.Z),
tostring(offset.X),
tostring(offset.Y),
tostring(offset.Z),
tostring(rotation.X),
tostring(rotation.Y),
tostring(rotation.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
local function applySatchelMeshProfile(root, profile)
if typeof(root) ~= "Instance" or not profile then return false end
local signature = getSatchelMeshSignature(profile)
if root:GetAttribute("__LionSatchelMeshSkin") == profile.Skin
and root:GetAttribute("__LionSatchelMeshSignature") == signature then
return true
end
local bodyParts, seenObjects, seenParts = {}, {}, {}
local function replaceIfTarget(obj)
if seenObjects[obj] or not meshMatchesAnyAssetId(obj, profile.SourceMeshIds) then return end
seenObjects[obj] = true
local part = getMeshLikePart(obj)
if part and not seenParts[part] then
seenParts[part] = true
table.insert(bodyParts, part)
end
end
replaceIfTarget(root)
for _, obj in ipairs(root:GetDescendants()) do
replaceIfTarget(obj)
end
local replaced = createSatchelReplacementMeshPart(root, profile, bodyParts) and 1 or 0
root:SetAttribute("__LionSatchelMeshSkin", profile.Skin)
root:SetAttribute("__LionSatchelMeshSignature", signature)
root:SetAttribute("__LionSatchelMeshCount", replaced)
return replaced > 0
end
local function getSatchelMeshProfileForAsset(cosmeticName, worldAsset)
local profile = SATCHEL_MESH_SKIN_OVERRIDES[cosmeticName]
if profile and worldAsset and (
profile.WorldSourceMeshIds
or profile.WorldReplacementMeshId
or profile.WorldReplacementTextureId
or profile.WorldReplacementSize
or profile.WorldReplacementRotation
or profile.WorldReplacementOffset
) then
local worldProfile = table.clone(profile)
worldProfile.SourceMeshIds = profile.WorldSourceMeshIds or profile.SourceMeshIds
worldProfile.ReplacementMeshId = profile.WorldReplacementMeshId or profile.ReplacementMeshId
worldProfile.ReplacementTextureId = profile.WorldReplacementTextureId or profile.ReplacementTextureId
worldProfile.ReplacementSize = profile.WorldReplacementSize or profile.ReplacementSize
worldProfile.ReplacementRotation = profile.WorldReplacementRotation or profile.ReplacementRotation
worldProfile.ReplacementOffset = profile.WorldReplacementOffset or profile.ReplacementOffset
return worldProfile
end
return profile
end
local function hideRpgMeshPart(part)
if not (part and part:IsA("BasePart")) then return false end
if part:GetAttribute("__LionRpgHiddenPart") then return true end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
pcall(function() part.CastShadow = false end)
pcall(function() part.Size = Vector3.new(0.001, 0.001, 0.001) end)
part:SetAttribute("__LionRpgHiddenPart", true)
part:SetAttribute("IgnoreObject", true)
part:SetAttribute("IgnoreTransparency", true)
part:SetAttribute("WrapGroup", 0)
pcall(function() part:RemoveTag("Wrappable") end)
pcall(function() collectionService:RemoveTag(part, "Wrappable") end)
if part:IsA("MeshPart") then
pcall(function() part.TextureID = "" end)
pcall(function() part.MeshId = "" end)
end
for _, child in ipairs(part:GetDescendants()) do
if child:IsA("Decal") or child:IsA("Texture") then
child.Transparency = 1
elseif child:IsA("SurfaceAppearance") then
child:Destroy()
elseif child:IsA("SpecialMesh") then
child.Scale = Vector3.zero
pcall(function() child.MeshId = "" end)
pcall(function() child.TextureId = "" end)
elseif child:IsA("Highlight") then
child.Enabled = false
end
end
return true
end
local function applyRpgMeshReplacement(obj, meshId, textureId, profile)
local part = getMeshLikePart(obj)
if not part or part:GetAttribute("__LionRpgHiddenPart") then return false end
part.Transparency = 0
part.LocalTransparencyModifier = 0
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
part:SetAttribute("__LionCustomRpgMesh", true)
part:SetAttribute("IgnoreTransparency", true)
if not part:GetAttribute("__LionRpgReplacementAdjusted") then
local scale = tonumber(profile and profile.ReplacementScale) or 1
if scale ~= 1 then
pcall(function()
part.Size = part.Size * scale
end)
end
if profile and profile.ReplacementOffset then
pcall(function()
part.CFrame = part.CFrame * CFrame.new(profile.ReplacementOffset)
end)
end
if profile and profile.ReplacementRotation then
pcall(function()
part.CFrame = part.CFrame * rotationCFrameFromDegrees(profile.ReplacementRotation)
end)
end
part:SetAttribute("__LionRpgReplacementAdjusted", true)
end
if obj:IsA("MeshPart") then
pcall(function() obj.MeshId = meshId end)
pcall(function() obj.TextureID = textureId or "" end)
return true
elseif obj:IsA("SpecialMesh") then
pcall(function() obj.MeshType = Enum.MeshType.FileMesh end)
pcall(function() obj.MeshId = meshId end)
pcall(function() obj.TextureId = textureId or "" end)
pcall(function() obj.VertexColor = Vector3.new(1, 1, 1) end)
return true
end
return false
end
local function getRpgMeshSignature(profile)
local rotation = profile.ReplacementRotation or Vector3.zero
local offset = profile.ReplacementOffset or Vector3.zero
return table.concat({
table.concat(profile.BodyMeshIds or {}, ","),
table.concat(profile.JuggleMeshIds or {}, ","),
table.concat(profile.RocketMeshIds or {}, ","),
tostring(profile.BodyReplacementMeshId or ""),
tostring(profile.BodyReplacementTextureId or ""),
tostring(profile.ReplacementScale or 1),
tostring(rotation.X),
tostring(rotation.Y),
tostring(rotation.Z),
tostring(offset.X),
tostring(offset.Y),
tostring(offset.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
local function applyRpgMeshProfile(root, profile, options)
if typeof(root) ~= "Instance" or not profile then return false end
options = options or {}
local signature = getRpgMeshSignature(profile)
if root:GetAttribute("__LionRpgMeshSkin") == profile.Skin
and root:GetAttribute("__LionRpgMeshSignature") == signature
and root:GetAttribute("__LionRpgRocketVisible") == false then
return true
end
local changed, removed, seen = 0, 0, {}
local function applyIfTarget(obj)
if seen[obj] then return end
if not (meshMatchesAnyAssetId(obj, profile.BodyMeshIds)
or meshMatchesAnyAssetId(obj, profile.JuggleMeshIds)
or meshMatchesAnyAssetId(obj, profile.RocketMeshIds)) then
return
end
seen[obj] = true
local part = getMeshLikePart(obj)
if not part then return end
if (namePathContains(obj, "rocket") and meshMatchesAnyAssetId(obj, profile.RocketMeshIds))
or (namePathContains(obj, "juggle") and meshMatchesAnyAssetId(obj, profile.JuggleMeshIds)) then
if hideRpgMeshPart(part) then removed += 1 end
elseif meshMatchesAnyAssetId(obj, profile.BodyMeshIds) then
if applyRpgMeshReplacement(obj, profile.BodyReplacementMeshId, profile.BodyReplacementTextureId, profile) then
changed += 1
end
end
end
applyIfTarget(root)
for _, obj in ipairs(root:GetDescendants()) do
applyIfTarget(obj)
end
root:SetAttribute("__LionRpgMeshSkin", profile.Skin)
root:SetAttribute("__LionRpgMeshSignature", signature)
root:SetAttribute("__LionRpgRocketVisible", false)
root:SetAttribute("__LionRpgMeshCount", changed)
root:SetAttribute("__LionRpgHiddenCount", removed)
return changed > 0 or removed > 0
end
local function createFistsReplacementPart(part, meshId, textureId, meshScale, rotation)
if not (part and part:IsA("BasePart")) then return false end
for _, child in ipairs(part:GetChildren()) do
child:Destroy()
end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
part:SetAttribute("__LionFistsHiddenAnchor", true)
part:SetAttribute("IgnoreTransparency", true)
local replacement = Instance.new("Part")
replacement.Name = "__LionCustomFistsMesh"
replacement.Size = part.Size
replacement.CFrame = part.CFrame * rotationCFrameFromDegrees(rotation)
replacement.Anchored = false
replacement.CanCollide = false
replacement.CanTouch = false
replacement.CanQuery = false
replacement.Massless = true
replacement.Transparency = 0
replacement.LocalTransparencyModifier = 0
replacement:SetAttribute("__LionCustomFistsMesh", true)
replacement:SetAttribute("IgnoreTransparency", true)
replacement.Parent = part
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = Enum.MeshType.FileMesh
mesh.MeshId = meshId
pcall(function() mesh.TextureId = textureId or "" end)
mesh.Scale = meshScale or Vector3.new(0.1, 0.1, 0.1)
pcall(function() mesh.VertexColor = Vector3.new(1, 1, 1) end)
mesh.Parent = replacement
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionCustomFistsMeshWeld"
weld.Part0 = part
weld.Part1 = replacement
weld.Parent = replacement
return true
end
local function getFistsMeshSignature(profile)
local scale = profile.MeshScale or Vector3.zero
local leftRotation = profile.LeftRotation or Vector3.zero
local rightRotation = profile.RightRotation or Vector3.zero
return table.concat({
tostring(profile.LeftMeshId or ""),
tostring(profile.LeftTextureId or ""),
tostring(profile.RightMeshId or ""),
tostring(profile.RightTextureId or ""),
tostring(scale.X),
tostring(scale.Y),
tostring(scale.Z),
tostring(leftRotation.X),
tostring(leftRotation.Y),
tostring(leftRotation.Z),
tostring(rightRotation.X),
tostring(rightRotation.Y),
tostring(rightRotation.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
local function applyFistsMeshProfile(root, profile)
if typeof(root) ~= "Instance" or not profile then return false end
local signature = getFistsMeshSignature(profile)
if root:GetAttribute("__LionFistsMeshSkin") == profile.Skin
and root:GetAttribute("__LionFistsMeshSignature") == signature
and (root:GetAttribute("__LionFistsMeshCount") or 0) > 0 then
return true
end
local left = findDescendantByName(root, profile.LeftPartName or "LeftItem")
local right = findDescendantByName(root, profile.RightPartName or "RightItem")
local applied = 0
if createFistsReplacementPart(left, profile.LeftMeshId, profile.LeftTextureId, profile.MeshScale, profile.LeftRotation) then
applied += 1
end
if createFistsReplacementPart(right, profile.RightMeshId, profile.RightTextureId, profile.MeshScale, profile.RightRotation) then
applied += 1
end
root:SetAttribute("__LionFistsMeshSkin", profile.Skin)
root:SetAttribute("__LionFistsMeshSignature", signature)
root:SetAttribute("__LionFistsMeshCount", applied)
return applied > 0
end
local function hideBowMeshAnchor(part)
if not (part and part:IsA("BasePart")) then return false end
if part:GetAttribute("__LionBowHiddenAnchor") then return true end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
pcall(function() part.CastShadow = false end)
pcall(function() part.Size = Vector3.new(0.001, 0.001, 0.001) end)
part:SetAttribute("__LionBowHiddenAnchor", true)
part:SetAttribute("IgnoreObject", true)
part:SetAttribute("IgnoreTransparency", true)
pcall(function() part:RemoveTag("Wrappable") end)
pcall(function() collectionService:RemoveTag(part, "Wrappable") end)
if part:IsA("MeshPart") then
pcall(function() part.TextureID = "" end)
pcall(function() part.MeshId = "" end)
end
for _, child in ipairs(part:GetDescendants()) do
if child:IsA("Decal") or child:IsA("Texture") then
child.Transparency = 1
elseif child:IsA("SurfaceAppearance") then
child:Destroy()
elseif child:IsA("SpecialMesh") then
child.Scale = Vector3.zero
pcall(function() child.MeshId = "" end)
pcall(function() child.TextureId = "" end)
elseif child:IsA("Highlight") then
child.Enabled = false
end
end
return true
end
local function createBowReplacementMeshPart(root, anchors, replacementName, meshId, textureId, profile)
local anchor = anchors and anchors[1]
if not (anchor and anchor:IsA("BasePart")) then return false end
local parent = anchor.Parent or root
if not parent then return false end
for _, descendant in ipairs(root:GetDescendants()) do
if descendant:GetAttribute("__LionBowReplacementMeshPart") and descendant.Name == replacementName then
descendant:Destroy()
end
end
local replacement = Instance.new("Part")
replacement.Name = replacementName
replacement.Size = Vector3.new(1, 1, 1)
replacement.CFrame = getReplacementAverageCFrame(anchors)
replacement.Anchored = anchor.Anchored
replacement.CanCollide = false
replacement.CanTouch = false
replacement.CanQuery = false
replacement.Massless = true
replacement.Transparency = 0
replacement.LocalTransparencyModifier = 0
replacement:SetAttribute("__LionCustomBowMesh", true)
replacement:SetAttribute("__LionBowReplacementMeshPart", true)
replacement:SetAttribute("IgnoreTransparency", true)
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = Enum.MeshType.FileMesh
mesh.MeshId = meshId
pcall(function() mesh.TextureId = textureId or "" end)
mesh.Scale = profile.ReplacementSize or Vector3.new(0.5, 0.5, 0.5)
pcall(function() mesh.VertexColor = Vector3.new(1, 1, 1) end)
mesh.Parent = replacement
local wrapGroup = anchor:GetAttribute("WrapGroup")
if wrapGroup ~= nil then
replacement:SetAttribute("WrapGroup", wrapGroup)
end
pcall(function()
if collectionService:HasTag(anchor, "Wrappable") then
collectionService:AddTag(replacement, "Wrappable")
end
end)
replacement.Parent = parent
if not replacement.Anchored then
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionBowReplacementWeld"
weld.Part0 = anchor
weld.Part1 = replacement
weld.Parent = replacement
end
for _, part in ipairs(anchors) do
hideBowMeshAnchor(part)
end
return true
end
local function getBowMeshSignature(profile)
local size = profile.ReplacementSize or Vector3.zero
return table.concat({
table.concat(profile.BodyMeshIds or {}, ","),
table.concat(profile.ArrowMeshIds or {}, ","),
tostring(profile.BodyReplacementMeshId or ""),
tostring(profile.BodyReplacementTextureId or ""),
tostring(profile.ArrowReplacementMeshId or ""),
tostring(profile.ArrowReplacementTextureId or ""),
tostring(size.X),
tostring(size.Y),
tostring(size.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
local function applyBowMeshProfile(root, profile)
if typeof(root) ~= "Instance" or not profile then return false end
local signature = getBowMeshSignature(profile)
if root:GetAttribute("__LionBowMeshSkin") == profile.Skin
and root:GetAttribute("__LionBowMeshSignature") == signature
and (root:GetAttribute("__LionBowMeshCount") or 0) > 0 then
return true
end
local bodyParts, arrowParts, seenParts = {}, {}, {}
local function collectIfTarget(obj)
local part = getMeshLikePart(obj)
if not part or seenParts[part] then return end
if meshMatchesAnyAssetId(obj, profile.BodyMeshIds) then
seenParts[part] = true
table.insert(bodyParts, part)
elseif meshMatchesAnyAssetId(obj, profile.ArrowMeshIds) then
seenParts[part] = true
table.insert(arrowParts, part)
end
end
collectIfTarget(root)
for _, obj in ipairs(root:GetDescendants()) do
collectIfTarget(obj)
end
local applied = 0
if createBowReplacementMeshPart(root, bodyParts, "__LionCustomBowBody", profile.BodyReplacementMeshId, profile.BodyReplacementTextureId, profile) then
applied += 1
end
if createBowReplacementMeshPart(root, arrowParts, "__LionCustomBowArrow", profile.ArrowReplacementMeshId, profile.ArrowReplacementTextureId, profile) then
applied += 1
end
root:SetAttribute("__LionBowMeshSkin", profile.Skin)
root:SetAttribute("__LionBowMeshSignature", signature)
root:SetAttribute("__LionBowMeshCount", applied)
return applied > 0
end
local function hideAssaultRifleMeshAnchor(part, anchorType)
if not (part and part:IsA("BasePart")) then return false end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
pcall(function() part.CastShadow = false end)
pcall(function() part.Size = Vector3.new(0.001, 0.001, 0.001) end)
part:SetAttribute("__LionAssaultRifleHiddenAnchor", true)
part:SetAttribute("__LionAssaultRifleAnchorType", anchorType or "Part")
part:SetAttribute("IgnoreObject", true)
part:SetAttribute("IgnoreTransparency", true)
pcall(function() part:RemoveTag("Wrappable") end)
pcall(function() collectionService:RemoveTag(part, "Wrappable") end)
if part:IsA("MeshPart") then
pcall(function() part.TextureID = "" end)
pcall(function() part.MeshId = "" end)
end
for _, child in ipairs(part:GetDescendants()) do
if child:IsA("Decal") or child:IsA("Texture") then
child.Transparency = 1
elseif child:IsA("SurfaceAppearance") then
child:Destroy()
elseif child:IsA("SpecialMesh") then
child.Scale = Vector3.zero
pcall(function() child.MeshId = "" end)
pcall(function() child.TextureId = "" end)
elseif child:IsA("Highlight") then
child.Enabled = false
end
end
return true
end
local function createAssaultRifleReplacementMeshPart(root, anchor, replacementName, meshId, textureId, cframe, profile)
if not (anchor and anchor:IsA("BasePart")) then return false end
local parent = anchor.Parent or root
if not parent then return false end
local replacement = Instance.new("MeshPart")
replacement.Name = replacementName
replacement.Size = profile.ReplacementSize or Vector3.new(0.35, 0.35, 0.35)
replacement.CFrame = cframe or anchor.CFrame
replacement.Anchored = anchor.Anchored
replacement.CanCollide = false
replacement.CanTouch = false
replacement.CanQuery = false
replacement.Massless = true
replacement.Transparency = 0
replacement.LocalTransparencyModifier = 0
replacement.Color = Color3.fromRGB(255, 255, 255)
pcall(function() replacement.MeshId = meshId end)
pcall(function() replacement.TextureID = textureId or "" end)
pcall(function() replacement.Material = anchor.Material end)
pcall(function() replacement.CastShadow = false end)
replacement:SetAttribute("__LionCustomAssaultRifleMesh", true)
replacement:SetAttribute("__LionAssaultRifleReplacementMeshPart", true)
replacement:SetAttribute("IgnoreTransparency", true)
local wrapGroup = anchor:GetAttribute("WrapGroup")
if wrapGroup ~= nil then
replacement:SetAttribute("WrapGroup", wrapGroup)
end
pcall(function()
if collectionService:HasTag(anchor, "Wrappable") then
collectionService:AddTag(replacement, "Wrappable")
end
end)
replacement.Parent = parent
if not replacement.Anchored then
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionAssaultRifleReplacementWeld"
weld.Part0 = anchor
weld.Part1 = replacement
weld.Parent = replacement
end
return true
end
local function getAssaultRifleMeshSignature(profile)
local size = profile.ReplacementSize or Vector3.zero
local replacementOffset = profile.ReplacementOffset or Vector3.zero
local magazineOffset = profile.MagazineOffset or Vector3.zero
return table.concat({
table.concat(profile.BodyMeshIds or {}, ","),
table.concat(profile.BoltMeshIds or {}, ","),
table.concat(profile.MagazineMeshIds or {}, ","),
table.concat(profile.ReloadMagazineMeshIds or {}, ","),
tostring(profile.BodyReplacementMeshId or ""),
tostring(profile.BodyReplacementTextureId or ""),
tostring(profile.MagazineReplacementMeshId or ""),
tostring(profile.MagazineReplacementTextureId or ""),
tostring(profile.ReloadMagazineReplacementMeshId or ""),
tostring(profile.ReloadMagazineReplacementTextureId or ""),
tostring(size.X),
tostring(size.Y),
tostring(size.Z),
tostring(replacementOffset.X),
tostring(replacementOffset.Y),
tostring(replacementOffset.Z),
tostring(magazineOffset.X),
tostring(magazineOffset.Y),
tostring(magazineOffset.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
local function applyAssaultRifleMeshProfile(root, profile)
if typeof(root) ~= "Instance" or not profile then return false end
local signature = getAssaultRifleMeshSignature(profile)
if root:GetAttribute("__LionAssaultRifleMeshSkin") == profile.Skin
and root:GetAttribute("__LionAssaultRifleMeshSignature") == signature
and (root:GetAttribute("__LionAssaultRifleMeshCount") or 0) > 0 then
return true
end
for _, descendant in ipairs(root:GetDescendants()) do
if descendant:GetAttribute("__LionAssaultRifleReplacementMeshPart") then
descendant:Destroy()
end
end
local bodyParts, magazineParts, reloadMagazineParts, boltParts, seenParts = {}, {}, {}, {}, {}
local function collectIfTarget(obj)
local part = getMeshLikePart(obj)
if not part or seenParts[part] then return end
local previousType = part:GetAttribute("__LionAssaultRifleAnchorType")
local isReloadMagazine = previousType == "ReloadMagazine"
or (meshMatchesAnyAssetId(obj, profile.ReloadMagazineMeshIds) and namePathContains(obj, "reload"))
if previousType == "Body" or meshMatchesAnyAssetId(obj, profile.BodyMeshIds) then
seenParts[part] = true
table.insert(bodyParts, part)
elseif isReloadMagazine then
seenParts[part] = true
table.insert(reloadMagazineParts, part)
elseif previousType == "Magazine" or meshMatchesAnyAssetId(obj, profile.MagazineMeshIds) or meshMatchesAnyAssetId(obj, profile.ReloadMagazineMeshIds) then
seenParts[part] = true
table.insert(magazineParts, part)
elseif previousType == "Bolt" or meshMatchesAnyAssetId(obj, profile.BoltMeshIds) then
seenParts[part] = true
table.insert(boltParts, part)
end
end
collectIfTarget(root)
for _, obj in ipairs(root:GetDescendants()) do
collectIfTarget(obj)
end
local bodyAnchor = bodyParts[1] or magazineParts[1] or boltParts[1]
local magazineAnchor = magazineParts[1] or bodyAnchor
local reloadMagazineAnchor = reloadMagazineParts[1] or magazineAnchor
local bodyCFrame = bodyParts[1] and getReplacementAverageCFrame(bodyParts) or (bodyAnchor and bodyAnchor.CFrame) or CFrame.identity
local reloadMagazineCFrame = reloadMagazineParts[1] and getReplacementAverageCFrame(reloadMagazineParts) or bodyCFrame
local replacementOffset = profile.ReplacementOffset or Vector3.zero
local magazineOffset = profile.MagazineOffset or Vector3.zero
bodyCFrame = bodyCFrame * CFrame.new(replacementOffset)
reloadMagazineCFrame = reloadMagazineCFrame * CFrame.new(replacementOffset)
local applied = 0
if createAssaultRifleReplacementMeshPart(root, bodyAnchor, "__LionCustomAssaultRifleBody", profile.BodyReplacementMeshId, profile.BodyReplacementTextureId, bodyCFrame, profile) then
applied += 1
end
if createAssaultRifleReplacementMeshPart(root, magazineAnchor, "__LionCustomAssaultRifleMagazine", profile.MagazineReplacementMeshId, profile.MagazineReplacementTextureId, bodyCFrame * CFrame.new(magazineOffset), profile) then
applied += 1
end
if reloadMagazineParts[1] and createAssaultRifleReplacementMeshPart(root, reloadMagazineAnchor, "__LionCustomAssaultRifleReloadMagazine", profile.ReloadMagazineReplacementMeshId or profile.MagazineReplacementMeshId, profile.ReloadMagazineReplacementTextureId or profile.MagazineReplacementTextureId, reloadMagazineCFrame, profile) then
applied += 1
end
for _, part in ipairs(bodyParts) do
hideAssaultRifleMeshAnchor(part, "Body")
end
for _, part in ipairs(magazineParts) do
hideAssaultRifleMeshAnchor(part, "Magazine")
end
for _, part in ipairs(reloadMagazineParts) do
hideAssaultRifleMeshAnchor(part, "ReloadMagazine")
end
for _, part in ipairs(boltParts) do
hideAssaultRifleMeshAnchor(part, "Bolt")
end
root:SetAttribute("__LionAssaultRifleMeshSkin", profile.Skin)
root:SetAttribute("__LionAssaultRifleMeshSignature", signature)
root:SetAttribute("__LionAssaultRifleMeshCount", applied)
return applied > 0
end
function __LionHideSniperMeshAnchor(part, anchorType)
if not (part and part:IsA("BasePart")) then return false end
part.Transparency = 1
part.LocalTransparencyModifier = 1
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
pcall(function() part.CastShadow = false end)
pcall(function() part.Material = Enum.Material.SmoothPlastic end)
pcall(function() part.Reflectance = 0 end)
pcall(function() part.Size = Vector3.new(0.001, 0.001, 0.001) end)
part:SetAttribute("__LionHiddenSniperMesh", true)
part:SetAttribute("__LionCustomSniperHiddenPart", true)
part:SetAttribute("__LionSniperAnchorType", anchorType or "Part")
part:SetAttribute("IgnoreObject", true)
part:SetAttribute("IgnoreTransparency", true)
part:SetAttribute("WrapGroup", 0)
pcall(function() part:RemoveTag("Wrappable") end)
pcall(function() collectionService:RemoveTag(part, "Wrappable") end)
if part:IsA("MeshPart") then
pcall(function() part.TextureID = "" end)
pcall(function() part.MeshId = "" end)
end
for _, child in ipairs(part:GetDescendants()) do
if child:IsA("Decal") or child:IsA("Texture") then
child.Transparency = 1
elseif child:IsA("SurfaceAppearance") then
child:Destroy()
elseif child:IsA("SpecialMesh") then
child.Scale = Vector3.zero
pcall(function() child.MeshId = "" end)
pcall(function() child.TextureId = "" end)
elseif child:IsA("Highlight") then
child.Enabled = false
end
end
return true
end
function __LionOffsetSniperVisibleAnchor(part, anchorType, offset)
if not (part and part:IsA("BasePart")) then return false end
local originalCFrame = part:GetAttribute("__LionSniperOriginalCFrame")
if typeof(originalCFrame) ~= "CFrame" then
originalCFrame = part.CFrame
part:SetAttribute("__LionSniperOriginalCFrame", originalCFrame)
end
part.CFrame = originalCFrame * CFrame.new(offset or Vector3.zero)
part:SetAttribute("__LionSniperAnchorType", anchorType or "Part")
part:SetAttribute("__LionSniperVisibleOffset", true)
return true
end
local function hideSniperMeshId(root, assetId)
local parts = {}
if typeof(root) ~= "Instance" or not assetId then return parts end
local seen = {}
local function hideIfMatch(obj)
if not meshMatchesAssetId(obj, assetId) then return end
local part = getMeshLikePart(obj)
if part and not seen[part] then
seen[part] = true
if __LionHideSniperMeshAnchor(part) then
table.insert(parts, part)
end
elseif obj:IsA("SpecialMesh") then
obj.Scale = Vector3.zero
end
end
hideIfMatch(root)
for _, obj in ipairs(root:GetDescendants()) do
hideIfMatch(obj)
end
return parts
end
local function getAverageCFrame(parts)
local first = parts[1]
if not first then return CFrame.identity end
local position = Vector3.zero
for _, part in ipairs(parts) do
position += part.Position
end
position /= #parts
return CFrame.new(position) * (first.CFrame - first.CFrame.Position)
end
function __LionCreateSniperReplacementMeshPart(root, anchor, replacementName, meshId, textureId, cframe, profile)
if not (anchor and anchor:IsA("BasePart")) then return false end
local parent = anchor.Parent or root
if not parent then return false end
local replacement = Instance.new("MeshPart")
replacement.Name = replacementName
pcall(function() replacement.MeshId = meshId end)
pcall(function() replacement.TextureID = textureId or "" end)
replacement.Size = profile.ReplacementSize or Vector3.new(0.05, 0.05, 0.05)
replacement.CFrame = cframe or anchor.CFrame
replacement.Anchored = anchor.Anchored
replacement.CanCollide = false
replacement.CanTouch = false
replacement.CanQuery = false
replacement.Massless = true
replacement.Transparency = 0
replacement.LocalTransparencyModifier = 0
replacement.Color = Color3.fromRGB(255, 255, 255)
pcall(function() replacement.Material = anchor.Material end)
pcall(function() replacement.CastShadow = false end)
replacement:SetAttribute("__LionCustomSniperReplacement", true)
replacement:SetAttribute("WrapGroup", 1)
replacement:SetAttribute("IgnoreTransparency", true)
pcall(function() replacement:AddTag("Wrappable") end)
pcall(function() collectionService:AddTag(replacement, "Wrappable") end)
replacement.Parent = parent
if not replacement.Anchored then
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionCustomSniperReplacementWeld"
weld.Part0 = anchor
weld.Part1 = replacement
weld.Parent = replacement
end
return true
end
local function setupSniperReplacementPart(root, profile, bodyParts)
local anchor = bodyParts[1]
if not anchor then return false end
for _, descendant in ipairs(root:GetDescendants()) do
if descendant:GetAttribute("__LionCustomSniperReplacement") then
descendant:Destroy()
end
end
return __LionCreateSniperReplacementMeshPart(
root,
anchor,
"__LionCustomSniperReplacement",
profile.ReplacementMeshId,
profile.ReplacementTextureId,
getAverageCFrame(bodyParts) * CFrame.new(profile.ReplacementOffset or Vector3.zero),
profile
)
end
local function getSniperMeshSignature(profile)
local body = table.concat(profile.BodyMeshIds or {}, ",")
local remove = table.concat(profile.RemoveMeshIds or {}, ",")
local magazine = table.concat(profile.MagazineMeshIds or {}, ",")
local bullet = table.concat(profile.BulletMeshIds or {}, ",")
local size = profile.ReplacementSize or Vector3.zero
local offset = profile.ReplacementOffset or Vector3.zero
local bulletOffset = profile.BulletOffset or Vector3.zero
return table.concat({
body,
remove,
magazine,
bullet,
tostring(profile.ReplacementMeshId or ""),
tostring(profile.ReplacementTextureId or ""),
tostring(profile.BodyReplacementMeshId or ""),
tostring(profile.BodyReplacementTextureId or ""),
tostring(profile.ScopeReplacementMeshId or ""),
tostring(profile.ScopeReplacementTextureId or ""),
tostring(profile.MagazineReplacementMeshId or ""),
tostring(profile.MagazineReplacementTextureId or ""),
tostring(size.X),
tostring(size.Y),
tostring(size.Z),
tostring(offset.X),
tostring(offset.Y),
tostring(offset.Z),
tostring((profile.ScopeOffset or Vector3.zero).X),
tostring((profile.ScopeOffset or Vector3.zero).Y),
tostring((profile.ScopeOffset or Vector3.zero).Z),
tostring((profile.MagazineOffset or Vector3.zero).X),
tostring((profile.MagazineOffset or Vector3.zero).Y),
tostring((profile.MagazineOffset or Vector3.zero).Z),
tostring(bulletOffset.X),
tostring(bulletOffset.Y),
tostring(bulletOffset.Z),
tostring(profile.ReplacementVersion or 1)
}, "|")
end
function __LionApplySniperMultiMeshProfile(root, profile)
for _, descendant in ipairs(root:GetDescendants()) do
if descendant:GetAttribute("__LionCustomSniperReplacement") then
descendant:Destroy()
end
end
local bodyParts, magazineParts, bulletParts, removeParts, seenParts = {}, {}, {}, {}, {}
local function collectIfTarget(obj)
local part = getMeshLikePart(obj)
if not part or seenParts[part] then return end
local previousType = part:GetAttribute("__LionSniperAnchorType")
if previousType == "Body" or meshMatchesAnyAssetId(obj, profile.BodyMeshIds) then
seenParts[part] = true
table.insert(bodyParts, part)
elseif previousType == "Magazine" or meshMatchesAnyAssetId(obj, profile.MagazineMeshIds) then
seenParts[part] = true
table.insert(magazineParts, part)
elseif previousType == "Bullet" or meshMatchesAnyAssetId(obj, profile.BulletMeshIds) then
seenParts[part] = true
table.insert(bulletParts, part)
elseif previousType == "Remove" or meshMatchesAnyAssetId(obj, profile.RemoveMeshIds) then
seenParts[part] = true
table.insert(removeParts, part)
end
end
collectIfTarget(root)
for _, obj in ipairs(root:GetDescendants()) do
collectIfTarget(obj)
end
local bodyAnchor = bodyParts[1] or magazineParts[1]
local magazineAnchor = magazineParts[1] or bodyAnchor
if not bodyAnchor then return false end
local offset = profile.ReplacementOffset or Vector3.zero
local bodyCFrame = (bodyParts[1] and getReplacementAverageCFrame(bodyParts) or bodyAnchor.CFrame) * CFrame.new(offset)
local scopeCFrame = bodyCFrame * CFrame.new(profile.ScopeOffset or Vector3.zero)
local magazineCFrame = bodyCFrame * CFrame.new(profile.MagazineOffset or Vector3.zero)
local applied = 0
if __LionCreateSniperReplacementMeshPart(root, bodyAnchor, "__LionCustomSniperReplacement", profile.BodyReplacementMeshId, profile.BodyReplacementTextureId, bodyCFrame, profile) then
applied += 1
end
if __LionCreateSniperReplacementMeshPart(root, bodyAnchor, "__LionCustomSniperScope", profile.ScopeReplacementMeshId, profile.ScopeReplacementTextureId, scopeCFrame, profile) then
applied += 1
end
if __LionCreateSniperReplacementMeshPart(root, magazineAnchor, "__LionCustomSniperMagazine", profile.MagazineReplacementMeshId, profile.MagazineReplacementTextureId, magazineCFrame, profile) then
applied += 1
end
for _, part in ipairs(bodyParts) do
__LionHideSniperMeshAnchor(part, "Body")
end
for _, part in ipairs(magazineParts) do
__LionHideSniperMeshAnchor(part, "Magazine")
end
for _, part in ipairs(bulletParts) do
__LionOffsetSniperVisibleAnchor(part, "Bullet", profile.BulletOffset or Vector3.zero)
end
for _, part in ipairs(removeParts) do
__LionHideSniperMeshAnchor(part, "Remove")
end
return applied > 0
end
local function applySniperMeshProfile(root, profile)
if typeof(root) ~= "Instance" or not profile then return false end
local signature = getSniperMeshSignature(profile)
if root:GetAttribute("__LionSniperMeshSkin") == profile.Skin
and root:GetAttribute("__LionSniperMeshSignature") == signature then
return true
end
local applied
if profile.BodyReplacementMeshId or profile.ScopeReplacementMeshId or profile.MagazineReplacementMeshId then
applied = __LionApplySniperMultiMeshProfile(root, profile)
if not applied then return false end
root:SetAttribute("__LionSniperMeshSkin", profile.Skin)
root:SetAttribute("__LionSniperMeshSignature", signature)
return true
end
local bodyParts = {}
for _, meshId in ipairs(profile.BodyMeshIds or {}) do
for _, part in ipairs(hideSniperMeshId(root, meshId)) do
table.insert(bodyParts, part)
end
end
for _, meshId in ipairs(profile.RemoveMeshIds or {}) do
hideSniperMeshId(root, meshId)
end
if not setupSniperReplacementPart(root, profile, bodyParts) then
return false
end
root:SetAttribute("__LionSniperMeshSkin", profile.Skin)
root:SetAttribute("__LionSniperMeshSignature", signature)
return true
end
local function applyTripminePartVisual(part, profile)
if not (part and part:IsA("BasePart")) then return end
local color = profile.Color
if color then
part.Color = color
part.BrickColor = BrickColor.new(color)
end
part.Material = profile.Material or Enum.Material.SmoothPlastic
if profile.Reflectance then
part.Reflectance = profile.Reflectance
end
part.Transparency = 0
part.LocalTransparencyModifier = 0
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
if part:GetAttribute("WrapGroup") == nil then
part:SetAttribute("WrapGroup", 1)
end
part:SetAttribute("IgnoreTransparency", true)
pcall(function() part:AddTag("Wrappable") end)
pcall(function() collectionService:AddTag(part, "Wrappable") end)
end
local function addTripmineExtraMeshPart(basePart, meshId, meshScale, profile, index)
if not (basePart and basePart:IsA("BasePart") and basePart.Parent) then return nil end
local overlay = Instance.new("Part")
overlay.Name = "__LionCustomTripmineMeshExtra" .. tostring(index or "")
overlay.Anchored = basePart.Anchored
overlay.CFrame = basePart.CFrame
overlay.Size = basePart.Size
overlay:SetAttribute("__LionCustomTripmineMeshPart", true)
overlay:SetAttribute("__LionCustomTripmineExtraMesh", true)
applyTripminePartVisual(overlay, profile)
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = Enum.MeshType.FileMesh
mesh.MeshId = meshId
if profile.ClearTexture then
pcall(function() mesh.TextureId = "" end)
elseif profile.TextureId then
pcall(function() mesh.TextureId = profile.TextureId end)
end
mesh.Scale = meshScale
pcall(function() mesh.VertexColor = Vector3.new(1, 1, 1) end)
mesh.Parent = overlay
overlay.Parent = basePart.Parent
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionCustomTripmineMeshExtraWeld"
weld.Part0 = basePart
weld.Part1 = overlay
weld.Parent = overlay
return overlay
end
local function applyTripmineMeshProfile(root, profile, worldVisual)
if typeof(root) ~= "Instance" then return false end
if not profile then return false end
local meshIds = getTripmineMeshIds(profile)
if #meshIds == 0 then return false end
local extraMeshScale = getTripmineExtraMeshScale(profile, worldVisual)
local meshSignature = getTripmineMeshSignature(profile, worldVisual)
local meshScale = (worldVisual and profile.WorldScale) or profile.Scale or 1
if root:GetAttribute("__LionTripmineMeshSkin") == profile.Skin
and root:GetAttribute("__LionCustomTripmineMeshIds") == meshSignature
and root:GetAttribute("__LionCustomTripmineMeshScale") == meshScale then
return true
end
removeCustomTripmineExtraMeshes(root)
removeTripmineMeshAsset(root, profile.RemoveMeshId or profile.HideMeshId)
local target = findCustomTripmineMeshTarget(root, profile)
if not target then return false end
local customPart
if target:IsA("SpecialMesh") then
pcall(function() target.MeshType = Enum.MeshType.FileMesh end)
target.MeshId = meshIds[1]
if profile.TextureId then
pcall(function() target.TextureId = profile.TextureId end)
elseif profile.ClearTexture then
pcall(function() target.TextureId = "" end)
end
target.Scale = target.Scale * meshScale
pcall(function() target.VertexColor = Vector3.new(1, 1, 1) end)
customPart = target.Parent
applyTripminePartVisual(customPart, profile)
for index = 2, #meshIds do
addTripmineExtraMeshPart(customPart, meshIds[index], scaleTripmineMeshVector(target.Scale, extraMeshScale), profile, index)
end
elseif target:IsA("MeshPart") then
local originalSize = target.Size
local okMesh = pcall(function()
target.MeshId = meshIds[1]
end)
if profile.TextureId then
pcall(function() target.TextureID = profile.TextureId end)
elseif profile.ClearTexture then
pcall(function() target.TextureID = "" end)
end
applyTripminePartVisual(target, profile)
if okMesh then
pcall(function()
target.Size = originalSize * meshScale
end)
customPart = target
for index = 2, #meshIds do
addTripmineExtraMeshPart(target, meshIds[index], scaleTripmineMeshVector(Vector3.new(1, 1, 1), extraMeshScale), profile, index)
end
elseif target.Parent then
pcall(function()
target.Transparency = 1
target.LocalTransparencyModifier = 1
end)
local overlay = target.Parent:FindFirstChild("__LionCustomTripmineMesh")
if not (overlay and overlay:IsA("BasePart")) then
overlay = Instance.new("Part")
overlay.Name = "__LionCustomTripmineMesh"
overlay.Anchored = target.Anchored
overlay.CanCollide = false
overlay.CanTouch = false
overlay.CanQuery = false
overlay.Massless = true
overlay.Parent = target.Parent
end
overlay.Size = originalSize
overlay.CFrame = target.CFrame
applyTripminePartVisual(overlay, profile)
local mesh = overlay:FindFirstChildOfClass("SpecialMesh") or Instance.new("SpecialMesh")
mesh.MeshType = Enum.MeshType.FileMesh
mesh.MeshId = meshIds[1]
if profile.TextureId then
pcall(function() mesh.TextureId = profile.TextureId end)
elseif profile.ClearTexture then
pcall(function() mesh.TextureId = "" end)
end
mesh.Scale = Vector3.new(meshScale, meshScale, meshScale)
pcall(function() mesh.VertexColor = Vector3.new(1, 1, 1) end)
mesh.Parent = overlay
overlay:SetAttribute("__LionCustomTripmineMeshPart", true)
customPart = overlay
for index = 2, #meshIds do
addTripmineExtraMeshPart(overlay, meshIds[index], scaleTripmineMeshVector(meshScale, extraMeshScale), profile, index)
end
if not overlay:FindFirstChild("__LionCustomTripmineMeshWeld") then
local weld = Instance.new("WeldConstraint")
weld.Name = "__LionCustomTripmineMeshWeld"
weld.Part0 = target
weld.Part1 = overlay
weld.Parent = overlay
end
end
end
if customPart and customPart:IsA("BasePart") then
customPart:SetAttribute("__LionCustomTripmineMeshPart", true)
end
root:SetAttribute("__LionTripmineMeshSkin", profile.Skin)
root:SetAttribute("__LionCustomTripmineMeshId", meshIds[1])
root:SetAttribute("__LionCustomTripmineMeshIds", meshSignature)
root:SetAttribute("__LionCustomTripmineMeshScale", meshScale)
return true
end
local function applyVirtualViewModelAssetOverrides(cosmeticName, asset, worldAsset)
local profile = TRIPMINE_MESH_SKIN_OVERRIDES[cosmeticName]
if profile then
applyTripmineMeshProfile(asset, profile)
end
local daggerProfile = DAGGERS_MESH_SKIN_OVERRIDES[cosmeticName]
if daggerProfile then
applyDaggerMeshProfile(asset, daggerProfile)
end
local satchelProfile = getSatchelMeshProfileForAsset(cosmeticName, worldAsset)
if satchelProfile then
applySatchelMeshProfile(asset, satchelProfile)
end
local rpgProfile = RPG_MESH_SKIN_OVERRIDES[cosmeticName]
if rpgProfile then
applyRpgMeshProfile(asset, rpgProfile)
end
local fistsProfile = FISTS_MESH_SKIN_OVERRIDES[cosmeticName]
if fistsProfile then
applyFistsMeshProfile(asset, fistsProfile)
end
local bowProfile = BOW_MESH_SKIN_OVERRIDES[cosmeticName]
if bowProfile then
applyBowMeshProfile(asset, bowProfile)
end
local assaultRifleProfile = ASSAULT_RIFLE_MESH_SKIN_OVERRIDES[cosmeticName]
if assaultRifleProfile then
applyAssaultRifleMeshProfile(asset, assaultRifleProfile)
end
local sniperProfile = SNIPER_MESH_SKIN_OVERRIDES[cosmeticName]
if sniperProfile then
applySniperMeshProfile(asset, sniperProfile)
end
end
local function shouldRebuildVirtualViewModelAsset(cosmeticName, asset, worldAsset)
local profile = TRIPMINE_MESH_SKIN_OVERRIDES[cosmeticName]
if profile then
local meshIds = getTripmineMeshIds(profile)
return not asset
or asset:GetAttribute("__LionTripmineMeshSkin") ~= profile.Skin
or asset:GetAttribute("__LionCustomTripmineMeshIds") ~= getTripmineMeshSignature(profile)
or asset:GetAttribute("__LionCustomTripmineMeshScale") ~= (profile.Scale or 1)
or asset:GetAttribute("__LionCustomTripmineMeshId") ~= meshIds[1]
end
local sniperProfile = SNIPER_MESH_SKIN_OVERRIDES[cosmeticName]
if sniperProfile then
return not asset
or asset:GetAttribute("__LionSniperMeshSkin") ~= sniperProfile.Skin
or asset:GetAttribute("__LionSniperMeshSignature") ~= getSniperMeshSignature(sniperProfile)
or not asset:FindFirstChild("__LionCustomSniperReplacement", true)
end
local daggerProfile = DAGGERS_MESH_SKIN_OVERRIDES[cosmeticName]
if daggerProfile then
return not asset
or asset:GetAttribute("__LionDaggerMeshSkin") ~= daggerProfile.Skin
or asset:GetAttribute("__LionDaggerMeshSignature") ~= getDaggerMeshSignature(daggerProfile)
or (asset:GetAttribute("__LionDaggerMeshCount") or 0) <= 0
end
local satchelProfile = getSatchelMeshProfileForAsset(cosmeticName, worldAsset)
if satchelProfile then
return not asset
or asset:GetAttribute("__LionSatchelMeshSkin") ~= satchelProfile.Skin
or asset:GetAttribute("__LionSatchelMeshSignature") ~= getSatchelMeshSignature(satchelProfile)
or (asset:GetAttribute("__LionSatchelMeshCount") or 0) <= 0
end
local rpgProfile = RPG_MESH_SKIN_OVERRIDES[cosmeticName]
if rpgProfile then
return not asset
or asset:GetAttribute("__LionRpgMeshSkin") ~= rpgProfile.Skin
or asset:GetAttribute("__LionRpgMeshSignature") ~= getRpgMeshSignature(rpgProfile)
or asset:GetAttribute("__LionRpgRocketVisible") ~= false
or ((asset:GetAttribute("__LionRpgMeshCount") or 0) + (asset:GetAttribute("__LionRpgHiddenCount") or 0)) <= 0
end
local fistsProfile = FISTS_MESH_SKIN_OVERRIDES[cosmeticName]
if fistsProfile then
return not asset
or asset:GetAttribute("__LionFistsMeshSkin") ~= fistsProfile.Skin
or asset:GetAttribute("__LionFistsMeshSignature") ~= getFistsMeshSignature(fistsProfile)
or (asset:GetAttribute("__LionFistsMeshCount") or 0) <= 0
end
local bowProfile = BOW_MESH_SKIN_OVERRIDES[cosmeticName]
if bowProfile then
return not asset
or asset:GetAttribute("__LionBowMeshSkin") ~= bowProfile.Skin
or asset:GetAttribute("__LionBowMeshSignature") ~= getBowMeshSignature(bowProfile)
or (asset:GetAttribute("__LionBowMeshCount") or 0) <= 0
end
local assaultRifleProfile = ASSAULT_RIFLE_MESH_SKIN_OVERRIDES[cosmeticName]
if assaultRifleProfile then
return not asset
or asset:GetAttribute("__LionAssaultRifleMeshSkin") ~= assaultRifleProfile.Skin
or asset:GetAttribute("__LionAssaultRifleMeshSignature") ~= getAssaultRifleMeshSignature(assaultRifleProfile)
or (asset:GetAttribute("__LionAssaultRifleMeshCount") or 0) <= 0
end
return cosmeticName == DICE_TRIPMINE_SKIN
and asset
and asset:GetAttribute("__LionRightArmRetargeted")
end
local function ensureVirtualViewModel(cosmeticName, itemName, viewModelName)
local sourceInfo = ilib.ViewModels and ilib.ViewModels[viewModelName]
if not sourceInfo then return nil end
if cosmeticName ~= viewModelName then
local usesSourceAnimations = SNIPER_MESH_SKIN_OVERRIDES[cosmeticName] or DAGGERS_MESH_SKIN_OVERRIDES[cosmeticName] or SATCHEL_MESH_SKIN_OVERRIDES[cosmeticName] or RPG_MESH_SKIN_OVERRIDES[cosmeticName] or FISTS_MESH_SKIN_OVERRIDES[cosmeticName] or BOW_MESH_SKIN_OVERRIDES[cosmeticName] or ASSAULT_RIFLE_MESH_SKIN_OVERRIDES[cosmeticName] or cosmeticName == KNIFE_CUSTOM_SKIN or cosmeticName == "Grenade (Custom Skin)" or cosmeticName == "Molotov (Custom Skin)" or cosmeticName == "Satchel (Custom Skin)" or cosmeticName == "Smoke Grenade (Custom Skin)" or cosmeticName == "Warpstone (Custom Skin)" or cosmeticName == "sky"
local animationInfo = usesSourceAnimations and sourceInfo or ilib.ViewModels[itemName]
local baseInfo = animationInfo or sourceInfo
local virtualInfo = table.clone(sourceInfo)
if type(baseInfo.Animations) == "table" then
virtualInfo.Animations = table.clone(baseInfo.Animations)
end
ilib.ViewModels[cosmeticName] = virtualInfo
pcall(function()
local viewModelAssets = lps.Assets and lps.Assets:FindFirstChild("ViewModels")
if not viewModelAssets then return end
local existingAsset = findDescendantByName(viewModelAssets, cosmeticName)
if existingAsset then
if shouldRebuildVirtualViewModelAsset(cosmeticName, existingAsset, false) then
existingAsset:Destroy()
else
applyVirtualViewModelAssetOverrides(cosmeticName, existingAsset, false)
return
end
end
local sourceAsset = findDescendantByName(viewModelAssets, viewModelName)
if sourceAsset then
local clonedAsset = sourceAsset:Clone()
clonedAsset.Name = cosmeticName
applyVirtualViewModelAssetOverrides(cosmeticName, clonedAsset, false)
clonedAsset.Parent = viewModelAssets
end
end)
pcall(function()
local throwables = lps.Assets and lps.Assets:FindFirstChild("Throwables")
if not throwables then return end
local existingThrowable = throwables:FindFirstChild(cosmeticName)
if existingThrowable then
if shouldRebuildVirtualViewModelAsset(cosmeticName, existingThrowable, true) then
existingThrowable:Destroy()
else
applyVirtualViewModelAssetOverrides(cosmeticName, existingThrowable, true)
return
end
end
local sourceThrowable = findDescendantByName(throwables, viewModelName)
if sourceThrowable then
local clonedThrowable = sourceThrowable:Clone()
clonedThrowable.Name = cosmeticName
applyVirtualViewModelAssetOverrides(cosmeticName, clonedThrowable, true)
clonedThrowable.Parent = throwables
end
end)
pcall(function()
if itemName ~= "Jump Pad" then return end
local misc = lps.Assets and lps.Assets:FindFirstChild("Misc")
local jumpPads = misc and misc:FindFirstChild("JumpPads")
if not jumpPads then return end
local existingJumpPad = jumpPads:FindFirstChild(cosmeticName)
if existingJumpPad then
if shouldRebuildVirtualViewModelAsset(cosmeticName, existingJumpPad, true) then
existingJumpPad:Destroy()
else
applyVirtualViewModelAssetOverrides(cosmeticName, existingJumpPad, true)
return
end
end
local sourceJumpPad = jumpPads:FindFirstChild(viewModelName) or jumpPads:FindFirstChild("Default")
if sourceJumpPad then
local clonedJumpPad = sourceJumpPad:Clone()
clonedJumpPad.Name = cosmeticName
applyVirtualViewModelAssetOverrides(cosmeticName, clonedJumpPad, true)
clonedJumpPad.Parent = jumpPads
end
end)
end
return sourceInfo
end
local function registerVirtualWeaponSkin(cosmeticName, itemName, viewModelName, rarity, displayName, worldViewModelName)
local viewModelInfo = ensureVirtualViewModel(cosmeticName, itemName, viewModelName)
if not viewModelInfo then return end
local imageInfo = cosmeticName == DICE_TRIPMINE_SKIN and ilib.ViewModels and ilib.ViewModels["RNG Dice"] or viewModelInfo
local image = imageInfo.Image or ""
local imageHighResolution = imageInfo.ImageHighResolution or imageInfo.Image or ""
local imageOverride = CUSTOM_SKIN_IMAGE_OVERRIDES[cosmeticName]
if imageOverride then
image = imageOverride.Image or ""
imageHighResolution = imageOverride.ImageHighResolution or imageOverride.Image or ""
end
if ilib.ViewModels and ilib.ViewModels[cosmeticName] then
ilib.ViewModels[cosmeticName].Image = image
ilib.ViewModels[cosmeticName].ImageHighResolution = imageHighResolution
end
coss[cosmeticName] = {
Rarity = clib.Rarities[rarity] and rarity or "Legendary",
Type = "Skin",
DisplayName = displayName or cosmeticName,
ViewModelName = cosmeticName,
SourceViewModelName = viewModelName,
WorldViewModelName = worldViewModelName or viewModelName,
Image = image,
ImageHighResolution = imageHighResolution,
ImageScale = 3,
ItemName = itemName,
GetDescription = function() return "Custom skin for " .. itemName end,
Owned = true,
Unlocked = true,
Locked = false
}
end
local function registerVirtualWeaponSkins()
coss["Flashbang (Custom Skin)"] = nil
if ilib.ViewModels then
ilib.ViewModels["Flashbang (Custom Skin)"] = nil
end
registerVirtualWeaponSkin(KNIFE_CUSTOM_SKIN, "Knife", "Glast Shard", "Contraband")
registerVirtualWeaponSkin(REAVER_KNIFE_CUSTOM_SKIN, "Knife", "Pencil", "Contraband", "reaver")
registerVirtualWeaponSkin(DAGGERS_CUSTOM_SKIN, "Daggers", "Keynais", "Contraband")
registerVirtualWeaponSkin("Grenade (Custom Skin)", "Grenade", "Elixir", "Contraband")
registerVirtualWeaponSkin("Grenade Raze", "Grenade", "Glorious Grenade", "Contraband", "Raze")
registerVirtualWeaponSkin("sky", "Flashbang", "Shining Star", "Contraband")
registerVirtualWeaponSkin("Molotov (Custom Skin)", "Molotov", "Elixir", "Contraband", "Elixir")
registerVirtualWeaponSkin("Satchel (Custom Skin)", "Satchel", "Elixir", "Contraband")
registerVirtualWeaponSkin(SATCHEL_CUSTOM_SKIN, "Satchel", "Satchel", "Contraband", "Raze", SATCHEL_CUSTOM_SKIN)
registerVirtualWeaponSkin("Smoke Grenade (Custom Skin)", "Smoke Grenade", "Elixir", "Contraband")
registerVirtualWeaponSkin("Warpstone (Custom Skin)", "Warpstone", "Elixir", "Contraband")
registerVirtualWeaponSkin("Scythe (Custom Skin)", "Scythe", "Scepter", "Contraband")
registerVirtualWeaponSkin("Katana (Custom Skin)", "Katana", "Scepter", "Contraband")
registerVirtualWeaponSkin("Spear (Custom Skin)", "Spear", "Scepter", "Contraband")
registerVirtualWeaponSkin("Handgun (Custom Skin)", "Handgun", "Glass Cannon", "Contraband")
registerVirtualWeaponSkin(SNIPER_CUSTOM_SKIN, "Sniper", "Keyper", "Contraband")
registerVirtualWeaponSkin("Operator", "Sniper", "Sniper", "Contraband")
registerVirtualWeaponSkin("Medkit (Custom Skin)", "Medkit", "RNG Dice", "Contraband")
registerVirtualWeaponSkin(RPG_CUSTOM_SKIN, "RPG", "Nuke Launcher", "Contraband", "Raze", RPG_CUSTOM_SKIN)
registerVirtualWeaponSkin(FISTS_CUSTOM_SKIN, "Fists", "Fists", "Contraband", "Agent")
registerVirtualWeaponSkin(BOW_CUSTOM_SKIN, "Bow", "Frostbite Bow", "Contraband")
registerVirtualWeaponSkin(ASSAULT_RIFLE_CUSTOM_SKIN, "Assault Rifle", "AK-47", "Contraband")
registerVirtualWeaponSkin("Camera", "Jump Pad", "Jump Pad", "Contraband", "Camera", "Camera")
registerVirtualWeaponSkin(DICE_TRIPMINE_SKIN, "Subspace Tripmine", "Subspace Tripmine", "Contraband", nil, DICE_TRIPMINE_SKIN)
registerVirtualWeaponSkin(SPIKE_TRIPMINE_SKIN, "Subspace Tripmine", "Subspace Tripmine", "Contraband", "Spike", SPIKE_TRIPMINE_SKIN)
end
registerVirtualWeaponSkins()
local cdata = dctrl.CurrentData
if not cdata then
task.spawn(function()
repeat task.wait() until dctrl.CurrentData
cdata = dctrl.CurrentData
end)
end
local equip, favs = {}, {}
local peerEquip = {}
local peerViewModelOriginals = setmetatable({}, {__mode = "k"})
local function cosmeticsForPlayer(player, weapon)
if player == lp then return equip[weapon] end
return player and peerEquip[player.UserId] and peerEquip[player.UserId][weapon] or nil
end
local scheduleSkinAutoSave
local forceCosmeticUpdate
local applyCosmeticToWeapon
local cwep, vprof, lwep
local lpname = lp.Name
local fcache = {}
local customCosmeticsRuntime = {
CachedEquip = {},
EquipSuspended = false,
Definitions = {},
Assets = {},
Injected = {},
Boxes = {},
Granted = {},
Locked = {},
LockedBoxes = {},
OwnershipRevision = 0,
Metadata = {},
LocalRewardEntries = setmetatable({}, {__mode = "k"}),
CatalogRevision = 0,
BatchDepth = 0,
PendingFields = {},
Alive = true,
Types = {Skin = true, Wrap = true, Charm = true, Finisher = true},
}
local function banned(n)
if type(n) ~= "string" then return true end
if n:find("MISSING_", 1, true) then return true end
-- Registered finishers are selectable even when their names match old exclusions.
if coss[n] and coss[n].Type == "Finisher" then return false end
return n:find("Bubblegum", 1, true) or n:find("Ragdoll", 1, true)
or n:find("Fall Apart", 1, true) or n:find("Every Finisher Ever", 1, true)
end
-- Used by ownership, inventory actions, and both UI adapters; keep it outside
-- the private ownership-mask scope so every caller sees the same predicate.
local function unlockableCatalogEntry(name, cosmetic)
if type(name) ~= "string" or type(cosmetic) ~= "table" or banned(name) then return false end
return cosmetic.Type == "Skin" or cosmetic.Type == "Wrap" or cosmetic.Type == "Charm"
or cosmetic.Type == "Dance" or cosmetic.Type == "Emote" or cosmetic.Type == "Finisher"
end
local function toenum(n)
if not elib then return nil end
-- Reading the map avoids EnumLibrary's assert for catalog-only cosmetics.
-- Those names are valid locally but are intentionally absent from the
-- network enum table (for example Chromatic and Alien Head).
return elib._to_enum and elib._to_enum[n] or nil
end
local function clonecos(name, ctype, inv, favonly)
if banned(name) then return nil end
local base = coss[name]
if not base then return nil end
local d = table.clone(base)
d.Name = name
d.Type = d.Type or ctype
d.Seed = d.Seed or math.random(1, 1000000)
d.Owned = true
d.Unlocked = true
d.Locked = false
d.Amount = math.max(1, tonumber(d.Amount) or 1)
d.Count = math.max(1, tonumber(d.Count) or 1)
local eid = toenum(name)
if eid then d.Enum = eid d.ObjectID = d.ObjectID or eid end
if inv ~= nil then d.Inverted = inv end
if favonly ~= nil then d.OnlyUseFavorites = favonly end
return d
end
-- savecfg and loadcfg removed
-- Unlock All uses the local PlayerData mask from the supplied reference.
-- Real account ownership stays untouched; only this client sees the expanded catalog.
local unlockAllEnabled = false
local spoofWeaponOwnerEnabled = false
local syncUnlockMask
local getRealCosmeticEntry
local unlockEmoteNames
local emoteWheelSlots = {}
local emoteWheelCustom = false
local function hasCosmeticOwnershipOverrides()
return next(customCosmeticsRuntime.Definitions) ~= nil or next(customCosmeticsRuntime.Injected) ~= nil
or next(customCosmeticsRuntime.Granted) ~= nil or next(customCosmeticsRuntime.Locked) ~= nil
end
local function hasBoxOwnershipOverrides()
return next(customCosmeticsRuntime.Boxes) ~= nil or next(customCosmeticsRuntime.LockedBoxes) ~= nil
end
do
local unlockMaskTarget, unlockMaskInner, unlockMaskConnection = nil, nil, nil
local unlockSpoof = {}
local unlockEmoteCache = nil
local unlockedCosmeticCache, unlockedCosmeticCatalogCount = nil, 0
local unlockedWeaponCache = nil
local enumBackedCosmeticCache = {}
local unlock_rev, unlock_memo = 0, {}
local function memoize_unlock(key, build)
return function(real)
local count = 0
if type(real) == "table" then for _ in next, real do count += 1 end end
local m = unlock_memo[key]
if m and m.real == real and m.rev == unlock_rev and m.count == count then return m.value end
local value = build(real)
unlock_memo[key] = {real = real, rev = unlock_rev, count = count, value = value}
return value
end
end
local function build_owned_weapons(real)
local out, present = {}, {}
if type(real) == "table" then
for index, entry in ipairs(real) do
out[index] = entry
if type(entry) == "table" and type(entry.Name) == "string" then present[entry.Name] = true end
end
end
if not unlockedWeaponCache then
unlockedWeaponCache = {}
for name, item in pairs((ilib and ilib.Items) or {}) do
if type(name) == "string" and type(item) == "table" then table.insert(unlockedWeaponCache, name) end
end
table.sort(unlockedWeaponCache)
end
for _, name in ipairs(unlockedWeaponCache) do
if not present[name] then table.insert(out, {Name=name, Level=1, XP=0, Prestige=0}) end
end
return out
end
local function build_unlocked_cosmetics(real)
local out = {}
if type(real) == "table" then
for key, value in pairs(real) do out[key] = value end
end
for name in pairs(customCosmeticsRuntime.Locked) do out[name] = nil end
local catalogCount = customCosmeticsRuntime.CatalogRevision
if not unlockedCosmeticCache or unlockedCosmeticCatalogCount ~= catalogCount then
unlockedCosmeticCache = {}
unlockedCosmeticCatalogCount = catalogCount
local weapons = {}
for weaponName, weaponData in pairs(coss) do
if type(weaponData) == "table" and weaponData.Type == "Weapon" then
weapons[weaponName] = true
end
end
for name, cosmetic in pairs(coss) do
if unlockableCatalogEntry(name, cosmetic) then
if cosmetic.Type == "Skin" then
local itemName = cosmetic.ItemName or cosmetic.WeaponName or cosmetic.Weapon or cosmetic.Item
unlockedCosmeticCache[name] = itemName and {[tostring(itemName)] = true} or table.clone(weapons)
elseif cosmetic.Type == "Wrap" then
unlockedCosmeticCache[name] = {IsUniversal = true}
else
unlockedCosmeticCache[name] = true
end
end
end
end
for name, compatible in pairs(unlockedCosmeticCache) do
if customCosmeticsRuntime.Locked[name] then continue end
if not unlockAllEnabled and customCosmeticsRuntime.Definitions[name] == nil and customCosmeticsRuntime.Injected[name] == nil and customCosmeticsRuntime.Granted[name] == nil then continue end
local owned = out[name]
if compatible == true then
out[name] = true
elseif type(owned) == "table" then
owned = table.clone(owned)
for key in pairs(compatible) do owned[key] = true end
out[name] = owned
else
out[name] = table.clone(compatible)
end
end
return out
end
unlockEmoteNames = function()
if unlockEmoteCache ~= nil then return unlockEmoteCache end
local out = {}
for name, cosmetic in pairs(coss) do
if unlockableCatalogEntry(name, cosmetic) and cosmetic.Type == "Emote" then
table.insert(out, name)
end
end
table.sort(out)
unlockEmoteCache = out
return out
end
local function build_emote_slots(real)
local out = {}
if type(real) == "table" then
for key, value in pairs(real) do
if type(value) ~= "table" or not customCosmeticsRuntime.Locked[value.Name] then out[key] = value end
end
end
for slot = 1, 8 do
local picked = emoteWheelSlots[slot]
if picked == false then
out[tostring(slot)] = nil
elseif type(picked) == "string" and not customCosmeticsRuntime.Locked[picked] then
out[tostring(slot)] = {Name = picked}
end
end
return out
end
local function build_box_inventory(real)
-- Verified in Backpack and InspectBackpackReward: rewards are an ordered
-- UnclaimedRewards array, not a map of box names or guessed inventory fields.
local out = {}
if type(real) == "table" then
for _, entry in ipairs(real) do
if type(entry) ~= "table" or not customCosmeticsRuntime.LockedBoxes[tostring(entry.Name or "")] then
table.insert(out, entry)
end
end
end
for _, kind in ipairs({"Injected", "Boxes"}) do
local names = {}
for name in pairs(customCosmeticsRuntime[kind]) do table.insert(names, name) end
table.sort(names)
for _, name in ipairs(names) do
if kind == "Boxes" and customCosmeticsRuntime.LockedBoxes[name] then continue end
local definition = customCosmeticsRuntime.Definitions[name]
local cosmetic = coss[name]
if customCosmeticsRuntime[kind][name] <= 0 then continue end
local entry = {Name = name, Quantity = customCosmeticsRuntime[kind][name],
Weapon = kind == "Boxes" and "IsRandom"
or (definition and definition.Weapon) or (cosmetic and cosmetic.ItemName) or "IsUniversal"}
customCosmeticsRuntime.LocalRewardEntries[entry] = {Kind = kind, Name = name}
table.insert(out, entry)
end
end
return out
end
local everyOwnedWeapon = memoize_unlock("weapons", build_owned_weapons)
local everyUnlockedCosmetic = memoize_unlock("cosmetics", build_unlocked_cosmetics)
local everyUnlockedEmoteSlot = memoize_unlock("emotes", build_emote_slots)
local everySpoofedBoxInventory = memoize_unlock("boxes", build_box_inventory)
local function removeUnlockMask()
if unlockMaskTarget == nil then return end
local target, inner = unlockMaskTarget, unlockMaskInner
unlockMaskTarget, unlockMaskInner = nil, nil
pcall(function()
if target and inner then rawset(target, "Data", inner) end
end)
end
getRealCosmeticEntry = function(name)
local real = unlockMaskInner and unlockMaskInner.CosmeticInventory
return type(real) == "table" and real[name] or nil
end
local function installUnlockMask()
local current = dctrl.CurrentData
if current == nil then return false, "player data is still loading" end
if current == unlockMaskTarget then return true end
removeUnlockMask()
local inner = rawget(current, "Data")
if type(inner) ~= "table" then return false, "CurrentData.Data is not ready" end
local proxy = setmetatable({}, {
__index = function(_, key)
local transform = unlockSpoof[key]
if transform ~= nil then return transform(inner[key]) end
return inner[key]
end,
__newindex = function(_, key, value) inner[key] = value end,
__iter = function() return next, inner end,
__len = function() return #inner end,
})
rawset(current, "Data", proxy)
unlockMaskTarget, unlockMaskInner = current, inner
cdata = current
return true
end
local function refreshUnlockField(key)
pcall(function()
local current = dctrl.CurrentData
if current then
-- Fire the exact client signal used by ReplicatedClass:Replicate,
-- without entering its network encoding path for local-only names.
current:GetDataChangedSignal(key):Fire(current:Get(key), key)
end
end)
end
local function ensureUnlockMaskWatcher()
if unlockMaskConnection ~= nil then return end
pcall(function()
local signal = dctrl.PlayerDataAdded
if signal == nil then return end
unlockMaskConnection = signal:Connect(function()
if not unlockAllEnabled and not spoofWeaponOwnerEnabled and not emoteWheelCustom and not hasCosmeticOwnershipOverrides() and not hasBoxOwnershipOverrides() then return end
task.defer(function()
if syncUnlockMask then syncUnlockMask() end
end)
end)
end)
end
syncUnlockMask = function(fields)
fields = fields or {CosmeticInventory = true, WeaponInventory = true, EquippedEmotes = true, UnclaimedRewards = true}
for key in pairs(fields) do customCosmeticsRuntime.PendingFields[key] = true end
if customCosmeticsRuntime.BatchDepth > 0 then return true end
unlock_rev += 1
unlockSpoof.CosmeticInventory = (unlockAllEnabled or hasCosmeticOwnershipOverrides()) and everyUnlockedCosmetic or nil
unlockSpoof.WeaponInventory = spoofWeaponOwnerEnabled and everyOwnedWeapon or nil
unlockSpoof.EquippedEmotes = (unlockAllEnabled or emoteWheelCustom or next(customCosmeticsRuntime.Locked) ~= nil) and everyUnlockedEmoteSlot or nil
unlockSpoof.UnclaimedRewards = (hasBoxOwnershipOverrides() or next(customCosmeticsRuntime.Injected) ~= nil)
and everySpoofedBoxInventory or nil
ensureUnlockMaskWatcher()
local ok, why = true, nil
if not unlockAllEnabled and not spoofWeaponOwnerEnabled and not emoteWheelCustom and not hasCosmeticOwnershipOverrides() and not hasBoxOwnershipOverrides() then
removeUnlockMask()
else
ok, why = installUnlockMask()
end
if ok and not customCosmeticsRuntime.RefreshQueued and customCosmeticsRuntime.Alive then
customCosmeticsRuntime.RefreshQueued = true
task.defer(function()
customCosmeticsRuntime.RefreshQueued = false
if not customCosmeticsRuntime.Alive then return end
local pending = customCosmeticsRuntime.PendingFields
customCosmeticsRuntime.PendingFields = {}
for key in pairs(pending) do refreshUnlockField(key) end
if customCosmeticsRuntime.NativeCatalogDirty then
customCosmeticsRuntime.NativeCatalogDirty = false
customCosmeticsRuntime:RefreshNativePicker()
end
end)
end
return ok, why
end
mainapi:Clean(function()
unlockAllEnabled = false
spoofWeaponOwnerEnabled = false
unlockSpoof.CosmeticInventory = nil
unlockSpoof.WeaponInventory = nil
unlockSpoof.EquippedEmotes = nil
unlockSpoof.UnclaimedRewards = nil
if unlockMaskConnection then
pcall(function() unlockMaskConnection:Disconnect() end)
unlockMaskConnection = nil
end
removeUnlockMask()
end)
end
local cosmeticReadsAlive=true
local oget = dctrl.Get
local wrappedCosmeticGet=function(self, key)
local data = oget(self, key)
-- CosmeticInventory and EquippedEmotes come from the PlayerData mask.
-- Keep the local favorites merge used by the cosmetic picker.
if cosmeticReadsAlive and key == "FavoritedCosmetics" and unlockAllEnabled then
local res = data and table.clone(data) or {}
for wep, fv in favs do
local slot = res[wep] or {}
res[wep] = slot
for name, isfav in fv do
if not banned(name) then slot[name] = isfav end
end
end
return res
end
return data
end
local localWeaponDataRecords = setmetatable({}, {__mode="k"})
local ogetwep = dctrl.GetWeaponData
localWeaponDataRecords.ReadOriginal = function(self,weapon)
local previous=getthreadidentity and getthreadidentity()
if not previous or previous<=2 or not setthreadidentity then return ogetwep(self,weapon)end
setthreadidentity(2)
local ok,value=pcall(ogetwep,self,weapon)
setthreadidentity(previous)
if not ok then error(value,0)end
return value
end
local wrappedCosmeticWeaponData=function(self, wname)
local data=localWeaponDataRecords.ReadOriginal(self,wname)
if not data or not cosmeticReadsAlive then return data end
local selected=equip[wname]
if not selected or next(selected)==nil then return data end
local merged=table.clone(data)
merged.Name=wname
localWeaponDataRecords[merged]=true
for category,value in pairs(selected) do merged[category]=value end
return merged
end
dctrl.Get=wrappedCosmeticGet
dctrl.GetWeaponData=wrappedCosmeticWeaponData
mainapi:Clean(function()
cosmeticReadsAlive=false
if dctrl.Get==wrappedCosmeticGet then dctrl.Get=oget end
if dctrl.GetWeaponData==wrappedCosmeticWeaponData then dctrl.GetWeaponData=ogetwep end
table.clear(localWeaponDataRecords)
end)
local function saferep(key)
if key == "CosmeticInventory" and (unlockAllEnabled or hasCosmeticOwnershipOverrides()) then return end
pcall(function()
if not cdata and dctrl.CurrentData then cdata = dctrl.CurrentData end
if cdata then cdata:Replicate(key) end
end)
end
local fctrl, wrapController
local disableAnimatedWraps = false
local refreshAnimatedWrapState = function() end
pcall(function() fctrl = require(ctrls:WaitForChild("FighterController", 10)) end)
pcall(function() wrapController = require(ctrls:WaitForChild("WrapController", 10)) end)
if wrapController then
-- Different Rivals builds keep their animated-wrap loop behind differently
-- named helpers. Guard every animation-specific helper instead of polling the
-- viewmodel every frame; static wraps still go through the normal controller.
for methodName, method in pairs(wrapController) do
if type(method) == "function" and tostring(methodName):lower():find("anim", 1, true) then
local originalMethod = method
wrapController[methodName] = function(self, ...)
if disableAnimatedWraps then return nil end
return originalMethod(self, ...)
end
end
end
end
local replicatedClass
pcall(function()
local identity = getthreadidentity and getthreadidentity()
if setthreadidentity then pcall(setthreadidentity, 2) end
local ok, result = pcall(require, reps.Modules.ReplicatedClass)
if identity and setthreadidentity then pcall(setthreadidentity, identity) end
if ok then replicatedClass = result end
end)
if replicatedClass then
local env = getgenv and getgenv() or _G
local state = env.__PlexLocalCosmeticDataGuard
if not state then
state = {OriginalSet = replicatedClass.Set}
env.__PlexLocalCosmeticDataGuard = state
end
-- Reuse the native original while upgrading the handler on reinjection.
replicatedClass.Set = function(self, key, value)
local getter = state.GetDesired
local item = rawget(self, "ClientItem")
if getter and (key == "Skin" or key == "Wrap" or key == "Charm" or key == "Finisher" or (key == "Name" and item)) then
local fighter = item and item.ClientFighter or rawget(self, "ClientFighter")
if fighter and fighter.Player == state.Player then
local desired = getter(item and item.Name or rawget(self, "Name") or (self.Data and self.Data.Name), key)
if desired ~= nil then value = desired end
end
end
return state.OriginalSet(self, key, value)
end
state.Player = lp
state.GetDesired = function(weapon, cosmeticType)
local selected = weapon and equip[weapon]
if cosmeticType == "Name" then
local skin = selected and selected.Skin
return skin and (skin.ViewModelName or skin.Name)
end
return selected and selected[cosmeticType] or nil
end
mainapi:Clean(function()
state.GetDesired = nil
state.Player = nil
end)
end
local charmAssets, wrapPreviewAsset, wrapTextureAssets
pcall(function()
charmAssets = lps.Assets:WaitForChild("Charms", 10)
wrapPreviewAsset = lps.Assets:WaitForChild("Misc", 10):WaitForChild("Wrap", 10)
wrapTextureAssets = lps.Assets:WaitForChild("WrapTextures", 10)
end)
local function resolveViewModelName(weapon, cosmetics)
local skin = cosmetics and cosmetics.Skin
local skinName = skin and (skin.ViewModelName or skin.Name)
return skinName or weapon
end
local function resolveViewModelSourceName(weapon, cosmetics)
local skin = cosmetics and cosmetics.Skin
return skin and (skin.SourceViewModelName or skin.ViewModelName or skin.Name) or weapon
end
function customCosmeticsRuntime:AssetId(value)
local text = tostring(value or ""):match("^%s*(.-)%s*$")
local id = text:match("^(%d+)$") or text:match("^rbxassetid://(%d+)$")
local number = id and tonumber(id)
return number and number > 0 and number <= 9007199254740991 and tostring(number) or nil
end
function customCosmeticsRuntime:Key(kind, weapon, name)
return "Plex Custom " .. kind .. " | " .. weapon .. " | " .. name
end
function customCosmeticsRuntime:BeginBatch()
self.BatchDepth += 1
end
function customCosmeticsRuntime:EndBatch()
self.BatchDepth = math.max(0, self.BatchDepth - 1)
if self.BatchDepth == 0 and next(self.PendingFields) and syncUnlockMask then syncUnlockMask({}) end
end
function customCosmeticsRuntime:CatalogChanged(key, removed, kind)
self.CatalogRevision += 1
local names = clib.CosmeticsAlphabetized
if type(names) == "table" then
local index = table.find(names, key)
if removed then
if index then table.remove(names, index) end
elseif not index then
table.insert(names, key)
end
end
self.NativeCatalogDirty = true
self.NativeCatalogTypes = self.NativeCatalogTypes or {}
if kind then self.NativeCatalogTypes[kind] = true end
end
function customCosmeticsRuntime:RefreshNativePicker()
local changed = self.NativeCatalogTypes or {}
self.NativeCatalogTypes = nil
local module = lps.Modules.UserInterface:FindFirstChild("Equipment")
local controller = module and safeRequireModule(module)
if not controller or not controller.IsOpen then return end
-- A skin edit must not rebuild hundreds of unrelated wrap/charm previews.
if not changed[controller:GetCustomizingType()] then return end
local picker = controller.Interface and controller.Interface.Customize and controller.Interface.Customize.Cosmetics
if picker and picker._Generate then
local ok, err = pcall(picker._Generate, picker)
if not ok then warn("[Plex Cosmetics] Native picker refresh: " .. tostring(err)) end
end
end
function customCosmeticsRuntime:BaseViewModel(weapon)
self.BaseNames = self.BaseNames or {}
if self.BaseNames[weapon] then return self.BaseNames[weapon] end
local base = ilib.ViewModels and ilib.ViewModels[weapon] and weapon
if not base then
for name, cosmetic in pairs(coss) do
if type(cosmetic) == "table" and cosmetic.Type == "Skin" and cosmetic.ItemName == weapon and not cosmetic.PlexCustom then
local candidate = cosmetic.ViewModelName or name
if ilib.ViewModels and ilib.ViewModels[candidate] then base = candidate break end
end
end
end
if base then self.BaseNames[weapon] = base end
return base
end
function customCosmeticsRuntime:ValidateAsset(id, image)
local cached = self.Metadata[id]
if not cached or (not cached.Info and os.clock() - cached.At > 10) then
local ok, result = pcall(function()
return game:GetService("MarketplaceService"):GetProductInfo(tonumber(id))
end)
cached = {At = os.clock(), Info = ok and result or nil, Error = not ok and tostring(result) or nil}
self.Metadata[id] = cached
end
if not cached.Info then return false, "Asset " .. id .. " is unavailable: " .. tostring(cached.Error) end
local kind = cached.Info.AssetTypeId
if image == "Animation" then
if kind ~= Enum.AssetType.Animation.Value then return false, "Asset " .. id .. " must be an animation" end
elseif image == "Icon" then
-- Icons can point at a model/mesh thumbnail as well as a raw image.
elseif image == "Animation" or image == "Sound" then
local expected = image == "Animation" and Enum.AssetType.Animation.Value or Enum.AssetType.Audio.Value
if kind ~= expected then return false, "Asset " .. id .. " must be a " .. string.lower(image) .. " asset" end
elseif image then
if kind ~= Enum.AssetType.Image.Value and kind ~= Enum.AssetType.Decal.Value then
return false, "Asset " .. id .. " must be an image or decal"
end
elseif kind ~= Enum.AssetType.Mesh.Value and kind ~= Enum.AssetType.Model.Value then
return false, "Asset " .. id .. " must be a model or mesh"
end
return true
end
function customCosmeticsRuntime:AssetImage(id, thumbnail)
local metadata = self.Metadata[id]
local kind = metadata and metadata.Info and metadata.Info.AssetTypeId
if not thumbnail and (kind == Enum.AssetType.Image.Value or kind == Enum.AssetType.Decal.Value) then
return "rbxassetid://" .. id
end
return "rbxthumb://type=Asset&id=" .. id .. "&w=420&h=420"
end
function customCosmeticsRuntime:GunOptions(raw, base)
local options = {Animations = {}, Sounds = {}, Signature = ""}
local signatures = {}
for field, assetType in pairs({Animations = "Animation", Sounds = "Sound"}) do
local values = raw[field]
if values ~= nil and type(values) ~= "table" then error(field .. " must be an action-to-asset-ID table") end
for action, value in pairs(values or {}) do
if not base or not base.Animations or not base.Animations[action] then error("This weapon has no " .. tostring(action) .. " animation") end
local id = self:AssetId(value)
if not id then error("Enter a valid " .. string.lower(assetType) .. " asset ID for " .. action) end
local ok, why = self:ValidateAsset(id, assetType)
if not ok then error(why) end
options[field][action] = id
table.insert(signatures, field .. action .. "=" .. id)
end
end
for field, range in pairs({AnimationSpeed = {0.1, 4}, SoundVolume = {0, 2}, SoundPitch = {0.1, 3}}) do
if raw[field] ~= nil and tostring(raw[field]):match("%S") then
local value = tonumber(raw[field])
if not value or value ~= value or value < range[1] or value > range[2] then error(field .. " must be between " .. range[1] .. " and " .. range[2]) end
options[field] = value
table.insert(signatures, field .. "=" .. tostring(value))
end
end
table.sort(signatures)
options.Signature = table.concat(signatures, "|")
return options
end
function customCosmeticsRuntime:PrepareGunOverrides(definition, viewInfo)
if not next(definition.Animations) and not next(definition.Sounds) and not definition.AnimationSpeed then return end
local animations = safeRequireModule(reps.Modules.AnimationLibrary)
local sounds = safeRequireModule(reps.Modules.SoundLibrary)
if not animations or not animations.Info or not sounds or not sounds.AnimationSounds then error("Native animation/sound libraries are unavailable") end
local prepared = {Animations = animations.Info, Sounds = sounds.AnimationSounds, Entries = {}}
for action, sourceName in pairs(viewInfo.Animations) do
if definition.Animations[action] or definition.Sounds[action] or definition.AnimationSpeed then
local source = animations.Info[sourceName]
if type(source) ~= "table" then error("The native " .. action .. " animation is unavailable") end
local name = definition.Key .. " | Animation | " .. action
local descriptor = table.clone(source)
if definition.Animations[action] then descriptor.AnimationID = "rbxassetid://" .. definition.Animations[action] end
if definition.AnimationSpeed then
local ratio = (source.Speed or 1) / definition.AnimationSpeed
descriptor.Speed = definition.AnimationSpeed
if source.Length then descriptor.Length = source.Length * ratio end
if source.ActionTimestamp then descriptor.ActionTimestamp = source.ActionTimestamp * ratio end
end
local function remapCallback(callback)
if type(callback) ~= "function" then return callback end
return function(viewModel, speed, hash)
-- Native callbacks wait on their original script name. Keep that
-- name mapped to this animation's cancellation hash while they run.
local hashes = viewModel.Animator and viewModel.Animator._animation_hashes
local previous = hashes and hashes[sourceName]
if hashes then hashes[sourceName] = hash end
local ok, err = pcall(callback, viewModel, speed, hash)
if hashes and hashes[sourceName] == hash then hashes[sourceName] = previous end
if not ok then error(err) end
end
end
descriptor.SoundCallback = remapCallback(source.SoundCallback)
descriptor.EffectCallback = remapCallback(source.EffectCallback)
local preload = sounds.AnimationSounds[sourceName]
if definition.Sounds[action] then
local soundId = "rbxassetid://" .. definition.Sounds[action]
local volume, pitch = definition.SoundVolume or 1, definition.SoundPitch or 1
descriptor.SoundCallback = function(viewModel) viewModel:CreateSound(soundId, volume, pitch, true, 5) end
preload = {soundId}
end
viewInfo.Animations[action] = name
prepared.Entries[name] = {Animation = descriptor, Sounds = preload}
end
end
return prepared
end
function customCosmeticsRuntime:ClearGunOverrides(key)
local overrides = self.GunOverrides and self.GunOverrides[key]
if not overrides then return end
for name, entry in pairs(overrides.Entries) do
if overrides.Animations[name] == entry.Animation then overrides.Animations[name] = nil end
if overrides.Sounds[name] == entry.Sounds then overrides.Sounds[name] = nil end
end
self.GunOverrides[key] = nil
end
function customCosmeticsRuntime:LoadModel(id)
self.ModelCache = self.ModelCache or {}
local cached = self.ModelCache[id]
if cached then cached.At = os.clock() return cached.Asset:Clone() end
-- Invoke the engine method directly. GetObjects goes through the executor's
-- array-returning loader and disconnected the live client during our probe.
local previousIdentity = getthreadidentity and getthreadidentity()
if setthreadidentity then pcall(setthreadidentity, 8) end
local ok, model = pcall(function()
local service = game:GetService("InsertService")
return service.LoadLocalAsset(service, "rbxassetid://" .. id)
end)
if previousIdentity ~= nil and setthreadidentity then pcall(setthreadidentity, previousIdentity) end
if not ok or typeof(model) ~= "Instance" then error("Could not load model " .. id .. ": " .. tostring(model)) end
model.Parent = nil
local valid, why = pcall(function()
local descendants = model:GetDescendants()
if #descendants > 512 then error("Model exceeds the 512-object visual limit") end
local parts = 0
for _, object in ipairs(descendants) do
if object:IsA("LuaSourceContainer") or object:IsA("Humanoid") or object:IsA("AnimationController")
or object:IsA("Sound") or object:IsA("Constraint") or object:IsA("JointInstance") then
object:Destroy()
elseif object:IsA("BasePart") then
parts += 1
if parts > 128 then error("Model exceeds the 128-part visual limit") end
object.Anchored, object.Massless = true, true
object.CanCollide, object.CanTouch, object.CanQuery = false, false, false
if object.Transparency >= 1 then
-- Imported rig/collision helpers must stay invisible when native
-- wraps and the viewmodel appearance modifier refresh the model.
object:SetAttribute("PlexCustomHiddenRig", true)
object:SetAttribute("IgnoreTransparency", true)
end
end
end
if parts == 0 or not model:IsA("Model") then error("The asset contains no compatible model geometry") end
model.PrimaryPart = model:FindFirstChildWhichIsA("BasePart", true)
end)
if not valid or not self.Alive then model:Destroy() error(why or "Cosmetic changer was unloaded") end
-- Bound retained templates; published cosmetics own separate clones.
local count, oldestId, oldestAt = 0, nil, math.huge
for key, entry in pairs(self.ModelCache) do
count += 1
if entry.At < oldestAt then oldestId, oldestAt = key, entry.At end
end
if count >= 8 then self.ModelCache[oldestId].Asset:Destroy() self.ModelCache[oldestId] = nil end
self.ModelCache[id] = {Asset = model, At = os.clock()}
return model:Clone()
end
function customCosmeticsRuntime:EnsureNativeSlots()
if self.NativeSlotClass then return end
local module = lps.Modules:FindFirstChild("CosmeticSlot")
local class = module and safeRequireModule(module)
if not self.Alive or not class or type(class.new) ~= "function" then return end
local original = class.new
local replacement = function(name, ...)
local slot = original(name, ...)
local entry = coss[name]
if self.Alive and entry and entry.PlexCustom then
slot:OverrideNameText(entry.DisplayName)
-- Native _Setup replaces the image with a cosmetic-type symbol.
-- Custom assets own their thumbnail and display name instead.
local icon = slot.Frame.Button.Icon
icon.Image, icon.ImageColor3 = entry.Image, Color3.new(1, 1, 1)
icon.ImageTransparency, icon.ZIndex = slot.IsLocked and 0.5 or 0, 3
icon.Size = UDim2.fromScale(0.75, 0.75)
end
return slot
end
class.new = replacement
self.NativeSlotClass, self.NativeSlotOriginal, self.NativeSlotReplacement = class, original, replacement
end
function customCosmeticsRuntime:Remove(key)
local definition = self.Definitions[key]
if not definition then return false end
if definition.Type == "Emote" then
if shared.LionCosmeticChanger.StopCustomEmote then shared.LionCosmeticChanger.StopCustomEmote(key) end
if self.StopEmotePreviews then self:StopEmotePreviews(key) end
for slot, name in pairs(emoteWheelSlots) do
if name == key then emoteWheelSlots[slot] = false end
end
self.Definitions[key], coss[key] = nil, nil
self:CatalogChanged(key, true, "Emote")
unlockEmoteCache = nil
if syncUnlockMask then syncUnlockMask({CosmeticInventory = true, EquippedEmotes = true}) end
return true
end
local asset = self.Assets[key]
if typeof(asset) == "Instance" then asset:Destroy() end
self.Assets[key], self.Definitions[key], coss[key] = nil, nil, nil
self:ClearGunOverrides(key)
if definition.Type == "Skin" and ilib.ViewModels then ilib.ViewModels[key] = nil end
for _, selections in ipairs({equip, self.CachedEquip}) do
for _, weaponData in pairs(selections) do
local equipped = weaponData[definition.Type]
if equipped and equipped.Name == key then weaponData[definition.Type] = nil end
end
end
fcache[definition.Weapon] = nil
self:CatalogChanged(key, true, definition.Type)
if syncUnlockMask then syncUnlockMask({CosmeticInventory = true, WeaponInventory = true}) end
if self.Alive and forceCosmeticUpdate then task.defer(forceCosmeticUpdate, definition.Weapon, definition.Type) end
return true
end
function customCosmeticsRuntime:LoadAsset(definition)
local assets = lps:FindFirstChild("Assets")
local folderName = definition.Type == "Skin" and "ViewModels"
or definition.Type == "Wrap" and "WrapTextures" or definition.Type == "Charm" and "Charms" or nil
local destination = folderName and assets and assets:FindFirstChild(folderName)
if folderName and not destination then error(folderName .. " asset folder is unavailable") end
local asset
if definition.Type == "Skin" then
self.SourceAssets = self.SourceAssets or {}
local source = self.SourceAssets[definition.Base]
if not source or not source.Parent then
source = findDescendantByName(destination, definition.Base)
self.SourceAssets[definition.Base] = source
end
if not source then error("The selected weapon has no loaded base model") end
asset = source:Clone()
else
asset = Instance.new(definition.Type == "Wrap" and "Folder" or "Model")
end
self.StagedAsset = asset
asset.Name = definition.Key
if definition.Type == "Skin" then asset:SetAttribute("PlexCustomSkin", true) end
if definition.Type == "Wrap" then
for _, face in ipairs(Enum.NormalId:GetEnumItems()) do
local texture = Instance.new("Texture")
texture.Face = face
texture.Texture = "rbxassetid://" .. definition.ModelId
texture.Parent = asset
end
else
local body = definition.Type == "Skin" and asset:FindFirstChild("Body")
if definition.Type == "Skin" and not body then
-- Fists/dual weapons use arm submodels rather than a Body. Add only
-- the invisible attachment the native viewmodel constructor needs.
local anchor = asset:FindFirstChildWhichIsA("BasePart", true)
if anchor then
body = Instance.new("Model")
body.Name, body.Parent = "Body", asset
local primary = Instance.new("Part")
primary.Name, primary.Size, primary.Transparency = "Primary", Vector3.one * 0.1, 1
primary.CFrame, primary.Parent = anchor.CFrame, body
primary.CanCollide, primary.CanTouch, primary.CanQuery = false, false, false
body.PrimaryPart = primary
end
end
local root = body and body:FindFirstChildWhichIsA("BasePart", true)
if definition.Type == "Skin" and not root then error("The weapon model has no compatible Body attachment") end
if root then
local descendants = asset:GetDescendants()
if #descendants > 512 then error("The weapon model is too complex for a custom replacement") end
for _, object in ipairs(descendants) do
if object:IsA("BasePart") then
object.Transparency = 1
object.LocalTransparencyModifier = 1
object:SetAttribute("PlexCustomHiddenRig", true)
object:SetAttribute("IgnoreTransparency", true)
elseif object:IsA("Decal") or object:IsA("Texture") then
object.Transparency = 1
object:SetAttribute("IgnoreTransparency", true)
end
end
end
if definition.AssetType == Enum.AssetType.Model.Value then
local visual = self:LoadModel(definition.ModelId)
visual.Name = "PlexCustomVisual"
visual.Parent = body or asset
if root then
local _, visualSize = visual:GetBoundingBox()
local baseSpan = math.max(root.Size.X, root.Size.Y, root.Size.Z)
-- Include only the original weapon geometry when calculating scale.
for _, object in ipairs(body:GetDescendants()) do
if object:IsA("BasePart") and not object:IsDescendantOf(visual) then
baseSpan = math.max(baseSpan, object.Size.X, object.Size.Y, object.Size.Z)
end
end
local visualSpan = math.max(visualSize.X, visualSize.Y, visualSize.Z)
if visualSpan > 0 then visual:ScaleTo(visual:GetScale() * math.clamp(baseSpan / visualSpan, 0.001, 100)) end
visual:PivotTo(root.CFrame)
end
for _, part in ipairs(visual:GetDescendants()) do
if part:IsA("BasePart") then
if root then
part:SetAttribute("WrapGroup", 1)
part:AddTag("Wrappable")
end
part.Anchored = not root
local anchor = root or visual.PrimaryPart
if part ~= anchor then
local weld = Instance.new("WeldConstraint")
weld.Part0, weld.Part1, weld.Parent = anchor, part, part
end
end
end
if not root then
asset.PrimaryPart = visual.PrimaryPart
for _, part in ipairs(visual:GetDescendants()) do if part:IsA("BasePart") then part.Anchored = false end end
end
else
local visual = Instance.new("Part")
visual.Name = "PlexCustomVisual"
visual.Size = Vector3.one
visual.CanCollide, visual.CanTouch, visual.CanQuery = false, false, false
visual.Massless = true
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = Enum.MeshType.FileMesh
mesh.MeshId = "rbxassetid://" .. definition.ModelId
mesh.Parent = visual
visual.Parent = body or asset
if root then
visual:SetAttribute("WrapGroup", 1)
visual:AddTag("Wrappable")
visual.CFrame = root.CFrame
local weld = Instance.new("WeldConstraint")
weld.Part0, weld.Part1, weld.Parent = root, visual, visual
else asset.PrimaryPart = visual end
end
end
if definition.Type == "Charm" then
-- Both native charm rendering paths require Primary, Hook, and a pivot
-- attachment. A bare mesh/model can appear in the list but cannot equip.
local visualRoot = asset.PrimaryPart
local primary = Instance.new("Part")
primary.Name, primary.Transparency, primary.Size = "Primary", 1, Vector3.one * 0.1
primary.CFrame = visualRoot.CFrame
primary.CanCollide, primary.CanTouch, primary.CanQuery, primary.Massless = false, false, false, true
primary:SetAttribute("PlexCustomHiddenRig", true)
primary:SetAttribute("IgnoreTransparency", true)
primary.Parent = asset
asset.PrimaryPart = primary
local attachment = Instance.new("Attachment")
attachment.Name, attachment.Parent = "_pivot_attachment", primary
local hook = Instance.new("Model")
hook.Name, hook.Parent = "Hook", asset
local weld = Instance.new("WeldConstraint")
weld.Part0, weld.Part1, weld.Parent = primary, visualRoot, primary
local _, size = asset:GetBoundingBox()
local span = math.max(size.X, size.Y, size.Z)
if span > 0 then asset:ScaleTo(asset:GetScale() * math.clamp(0.75 / span, 0.001, 100)) end
end
return asset, destination
end
function customCosmeticsRuntime:RegisterEmote(raw)
local name = tostring(raw.Name or ""):match("^%s*(.-)%s*$")
local id = self:AssetId(raw.AnimationId or raw.ModelId)
local icon = self:AssetId(raw.IconId)
local rarity = tostring(raw.Rarity or "Common")
if name == "" or #name > 100 then return false, "Enter an emote name of 1–100 characters" end
if not id then return false, "Enter a valid animation asset ID" end
if not clib.Rarities[rarity] then return false, "Choose a registered rarity" end
if tostring(raw.IconId or ""):match("%S") and not icon then return false, "Enter a valid icon ID or leave it blank" end
local valid, why = self:ValidateAsset(id, "Animation")
if not valid then return false, why end
if icon then valid, why = self:ValidateAsset(icon, "Icon") if not valid then return false, why end end
if not self.Alive then return false, "Cosmetic changer was unloaded" end
if self.EnsureEmotePreview then self:EnsureEmotePreview() end
local key = self:Key("Emote", "", name)
local definition = {Key=key, Type="Emote", Weapon="", Name=name, Rarity=rarity,
AnimationId=id, ModelId=id, IconId=icon or "", Speed=math.clamp(tonumber(raw.Speed) or 1, 0.1, 3), Loop=raw.Loop==true}
local image = self:AssetImage(icon or id, not icon)
local entry = {Type="Emote", Rarity=rarity, DisplayName=name, Image=image, ImageHighResolution=image,
ImageScale=1, IsTraversal=false, ViewportCFrameOffset=CFrame.new(), PlexCustom=true,
Description="Custom animation emote", Owned=true, Unlocked=true, Locked=false}
entry.GetDescription = function() return entry.Description end
self.Definitions[key], coss[key] = definition, entry
unlockEmoteCache = nil
self:CatalogChanged(key, false, "Emote")
if syncUnlockMask then syncUnlockMask({CosmeticInventory=true}) end
return true, key
end
function customCosmeticsRuntime:_Register(raw)
if type(raw) ~= "table" then return false, "Invalid custom cosmetic definition" end
if raw.Type == "Emote" then return self:RegisterEmote(raw) end
local kind, weapon = tostring(raw.Type or "Skin"), tostring(raw.Weapon or "")
local name = tostring(raw.Name or ""):match("^%s*(.-)%s*$")
local rarity = tostring(raw.Rarity or "Common")
local iconId, modelId = self:AssetId(raw.IconId), self:AssetId(raw.ModelId)
if not self.Types[kind] then return false, "Choose a supported cosmetic type" end
if not (ilib.Items and ilib.Items[weapon]) then return false, "Choose a weapon" end
if name == "" or #name > 100 then return false, "Enter a custom name of 1–100 characters" end
if not clib.Rarities[rarity] then return false, "Choose a registered cosmetic rarity" end
if not modelId then return false, "Enter a valid positive asset ID" end
if tostring(raw.IconId or ""):match("%S") and not iconId then return false, "Enter a valid icon asset ID or leave it blank" end
local key = self:Key(kind, weapon, name)
local baseName = kind == "Skin" and self:BaseViewModel(weapon) or nil
local gun = self:GunOptions(raw, baseName and ilib.ViewModels[baseName])
local previous = self.Definitions[key]
if previous and previous.Rarity == rarity and previous.IconId == (iconId or "") and previous.ModelId == modelId
and (previous.GunSignature or "") == gun.Signature then
return true, key
end
local valid, why = self:ValidateAsset(modelId, kind == "Wrap")
if not valid then return false, why end
if iconId then
valid, why = self:ValidateAsset(iconId, "Icon")
if not valid then return false, why end
end
if not self.Alive then return false, "Cosmetic changer was unloaded" end
local definition = {Key = key, Type = kind, Weapon = weapon, Name = name, Rarity = rarity,
IconId = iconId or "", ModelId = modelId, AssetType = self.Metadata[modelId].Info.AssetTypeId,
Base = baseName, Animations = gun.Animations, Sounds = gun.Sounds, GunSignature = gun.Signature,
AnimationSpeed = gun.AnimationSpeed, SoundVolume = gun.SoundVolume, SoundPitch = gun.SoundPitch}
if kind == "Skin" and not definition.Base then return false, "No compatible base viewmodel exists for " .. weapon end
local image = self:AssetImage(iconId or modelId, not iconId)
local entry = {Type = kind, Rarity = rarity, DisplayName = name, Image = image,
ImageHighResolution = image, ImageScale = 1, ItemName = weapon,
Owned = true, Unlocked = true, Locked = false, PlexCustom = true}
entry.Description = "Custom " .. string.lower(kind) .. " for " .. weapon
entry.GetDescription = function() return entry.Description end
local viewInfo, gunOverrides
if kind == "Skin" then
entry.ViewModelName, entry.SourceViewModelName, entry.WorldViewModelName = key, definition.Base, key
viewInfo = table.clone(ilib.ViewModels[definition.Base])
viewInfo.Animations = table.clone(viewInfo.Animations or {})
viewInfo.Image, viewInfo.ImageHighResolution = image, image
gunOverrides = self:PrepareGunOverrides(definition, viewInfo)
elseif kind == "Wrap" then
-- WrapController reads all three groups, including its inverted mapping.
-- Provide a static texture profile without starting a native wrap animator.
entry.WrapGroups = {}
for group = 1, 3 do
entry.WrapGroups[group] = {Textures = key, Color = Color3.new(1, 1, 1),
Transparency = 0, Reflectance = 0, Material = Enum.Material.SmoothPlastic, MaterialVariant = ""}
end
end
local asset, destination = self:LoadAsset(definition)
self:EnsureNativeSlots()
if not self.Alive then return false, "Cosmetic changer was unloaded" end
-- Nothing is published until validation and the complete staged asset succeed.
local previousAsset = self.Assets[key]
asset.Parent = destination
self:ClearGunOverrides(key)
if gunOverrides then
self.GunOverrides = self.GunOverrides or {}
self.GunOverrides[key] = gunOverrides
for name, override in pairs(gunOverrides.Entries) do
gunOverrides.Animations[name], gunOverrides.Sounds[name] = override.Animation, override.Sounds
end
end
coss[key], self.Definitions[key], self.Assets[key] = entry, definition, asset
if viewInfo then ilib.ViewModels[key] = viewInfo end
self.StagedAsset = nil
if typeof(previousAsset) == "Instance" then previousAsset:Destroy() end
self:CatalogChanged(key, false, kind)
if syncUnlockMask then syncUnlockMask({CosmeticInventory = true}) end
if equip[weapon] and equip[weapon].Skin and equip[weapon].Skin.Name == key and forceCosmeticUpdate then
task.defer(forceCosmeticUpdate, weapon, "Skin")
end
return true, key
end
function customCosmeticsRuntime:Register(raw)
if self.Busy then return false, "A cosmetic is already being created; wait for it to finish" end
if not self.Alive then return false, "Cosmetic changer was unloaded" end
self.Busy = true
local ok, success, result = pcall(self._Register, self, raw)
if self.StagedAsset then self.StagedAsset:Destroy() self.StagedAsset = nil end
self.Busy = false
if not ok then return false, tostring(success) end
return success, result
end
function customCosmeticsRuntime:Clear()
self:BeginBatch()
local keys = {}
for key in pairs(self.Definitions) do table.insert(keys, key) end
for _, key in ipairs(keys) do self:Remove(key) end
self:EndBatch()
end
function customCosmeticsRuntime:Serialize()
local result = {}
for _, definition in pairs(self.Definitions) do
table.insert(result, {Type=definition.Type, Weapon=definition.Weapon, Name=definition.Name,
Rarity=definition.Rarity, IconId=definition.IconId, ModelId=definition.ModelId,
AnimationId=definition.AnimationId, Speed=definition.Speed, Loop=definition.Loop,
Animations=table.clone(definition.Animations or {}), Sounds=table.clone(definition.Sounds or {}),
AnimationSpeed=definition.AnimationSpeed, SoundVolume=definition.SoundVolume, SoundPitch=definition.SoundPitch})
end
table.sort(result, function(a, b)
return (a.Type .. a.Weapon .. a.Name):lower() < (b.Type .. b.Weapon .. b.Name):lower()
end)
return result
end
function customCosmeticsRuntime:EnsureRewardUse()
if self.RewardUseClass then return end
local module = lps.Modules.Prompts:FindFirstChild("InspectBackpackReward")
local class = module and safeRequireModule(module)
if not class or type(class.Use) ~= "function" then return end
local original = class.Use
local replacement = function(prompt, quantity, ...)
local descriptor = self.LocalRewardEntries[prompt._reward_data]
if not self.Alive or not descriptor then return original(prompt, quantity, ...) end
if prompt._is_using then return end
local ok, why
if descriptor.Kind == "Boxes" then
ok, why = self:OpenBox(descriptor.Name, quantity, prompt._reward_data.Weapon)
else
local count = self.Injected[descriptor.Name] or 0
ok = count > 0
if ok then
self.Injected[descriptor.Name] = math.max(0, count - 1)
syncUnlockMask({UnclaimedRewards = true})
else why = "This local reward has already been used" end
end
if ok then
if prompt.CloseRequest then prompt:CloseRequest() end
elseif why then mainapi:Notify({Text = tostring(why), Duration = 4}) end
end
class.Use = replacement
self.RewardUseClass, self.RewardUseOriginal, self.RewardUseReplacement = class, original, replacement
end
function customCosmeticsRuntime:Inject(name, amount)
local cosmetic = name and coss[name]
if not unlockableCatalogEntry(name, cosmetic) then return false, "Choose a valid cosmetic" end
amount = math.clamp(math.floor(tonumber(amount) or 1), 1, 9999)
if self.Injected[name] == amount then return true end
self:EnsureRewardUse()
self.Injected[name] = amount
if syncUnlockMask then syncUnlockMask({CosmeticInventory = true, UnclaimedRewards = true}) end
return true
end
function customCosmeticsRuntime:RemoveInjected(name)
if not name or (self.Injected[name] == nil and self.Granted[name] == nil) then return false end
self.Injected[name], self.Granted[name] = nil, nil
if syncUnlockMask then syncUnlockMask({CosmeticInventory = true, UnclaimedRewards = true}) end
return true
end
function customCosmeticsRuntime:BoxNames()
if self.BoxCatalog then return self.BoxCatalog end
local names = {}
for name, reward in pairs(clib.Rewards or {}) do
if type(reward) == "table" and reward.Type == "Lootbox" and type(reward.GetContents) == "function" then
table.insert(names, name)
end
end
table.sort(names, function(a, b) return a:lower() < b:lower() end)
self.BoxCatalog = names
return names
end
function customCosmeticsRuntime:InjectBox(name, amount)
local reward = name and clib.Rewards and clib.Rewards[name]
if not reward or reward.Type ~= "Lootbox" or type(reward.GetContents) ~= "function" then return false, "Choose a registered box" end
amount = math.clamp(math.floor(tonumber(amount) or 1), 1, 9999)
if self.Boxes[name] == amount then return true end
self:EnsureRewardUse()
self.Boxes[name] = amount
if syncUnlockMask then syncUnlockMask({UnclaimedRewards = true}) end
return true
end
function customCosmeticsRuntime:RemoveBox(name)
if not name or self.Boxes[name] == nil then return false end
self.Boxes[name] = nil
if syncUnlockMask then syncUnlockMask({UnclaimedRewards = true}) end
return true
end
function customCosmeticsRuntime:SetSpecificOwnership(selections, unlocked)
if type(selections) ~= "table" then return false, "Choose at least one cosmetic or box" end
local changed, fields = 0, {}
for key, value in pairs(selections) do
local entryId = type(key) == "number" and value or key
local selected = type(key) == "number" or value == true
if selected and type(entryId) == "string" then
local kind, name = entryId:match("^(%a+)|(.+)$")
if kind == "Cosmetic" and unlockableCatalogEntry(name, coss[name]) then
if unlocked then
self.Locked[name] = nil
self.Granted[name] = true
else
self.Granted[name] = nil
self.Injected[name] = nil
self.Locked[name] = true
for weapon, slots in pairs(equip) do
for cosmeticType, equipped in pairs(slots) do
if type(equipped) == "table" and equipped.Name == name then
slots[cosmeticType] = nil
if type(forceCosmeticUpdate) == "function" then task.defer(forceCosmeticUpdate, weapon, cosmeticType) end
end
end
if not next(slots) then equip[weapon] = nil end
end
for weapon, slots in pairs(self.CachedEquip) do
for category, selected in pairs(slots) do
if selected.Name == name then slots[category] = nil end
end
if not next(slots) then self.CachedEquip[weapon] = nil end
end
for slot, picked in pairs(emoteWheelSlots) do
if picked == name then emoteWheelSlots[slot] = false end
end
end
self.NativeCatalogDirty = true
self.NativeCatalogTypes = self.NativeCatalogTypes or {}
self.NativeCatalogTypes[tostring(coss[name].Type)] = true
fields.CosmeticInventory = true
fields.EquippedEmotes = true
fields.UnclaimedRewards = true
changed += 1
elseif kind == "Box" then
local reward = clib.Rewards and clib.Rewards[name]
if type(reward) == "table" and reward.Type == "Lootbox" and type(reward.GetContents) == "function" then
if unlocked then
self.LockedBoxes[name] = nil
self.Boxes[name] = math.max(1, tonumber(self.Boxes[name]) or 0)
self:EnsureRewardUse()
else
self.Boxes[name] = nil
self.LockedBoxes[name] = true
end
fields.UnclaimedRewards = true
changed += 1
end
end
end
end
if changed == 0 then return false, "Choose at least one valid cosmetic or box" end
self.OwnershipRevision += 1
local ok, why = syncUnlockMask(fields)
if not ok then return false, why end
return true, changed
end
function customCosmeticsRuntime:AnnounceBox(name, quantity, summary)
-- DisplaySystemMessage is client-local; never send a fabricated player chat.
local message = "[Plex] Unboxed " .. quantity .. " × " .. name .. ": " .. summary
local function escape(text)
return text:gsub("&", "&"):gsub("<", "<"):gsub(">", ">")
end
local ok = pcall(function()
local chat = game:GetService("TextChatService")
local channels = chat:FindFirstChild("TextChannels")
local channel = channels and (channels:FindFirstChild("RBXSystem") or channels:FindFirstChild("RBXGeneral"))
if not channel then error("No system chat channel") end
channel:DisplaySystemMessage(escape(message), "Plex.LocalUnbox")
end)
if not ok then
pcall(function() game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {Text = message}) end)
end
end
function customCosmeticsRuntime:OpenBox(name, quantity, weapon)
if self.Opening then return false, "Wait for the current box opening to finish" end
local count = name and self.Boxes[name] or 0
if count <= 0 then return false, "Inject this box first" end
local box = clib.Rewards[name]
if not box or type(box.GetContents) ~= "function" then return false, "The box catalog is unavailable" end
weapon = weapon or "IsRandom"
self.BoxContents = self.BoxContents or {}
local cacheKey = name .. "|" .. weapon
local pool = self.BoxContents[cacheKey]
if not pool then
local ok, contents = pcall(box.GetContents, weapon)
if not ok or type(contents) ~= "table" then return false, "Could not read this box's rewards" end
pool = {Entries = {}, Total = 0}
for _, entry in ipairs(contents) do
local reward, weight = entry.Reward, tonumber(entry.Weight)
if type(reward) == "table" and unlockableCatalogEntry(reward.Name, coss[reward.Name]) and weight and weight > 0 then
pool.Total += weight
table.insert(pool.Entries, {Reward = reward, Threshold = pool.Total})
end
end
self.BoxContents[cacheKey] = pool
end
if pool.Total <= 0 then return false, "This box has no supported local cosmetic rewards" end
-- Honour the requested quantity. Bound presentation separately, so a 100-box
-- action grants 100 outcomes without cloning 100 native slots in one frame.
quantity = math.min(count, math.clamp(math.floor(tonumber(quantity) or 1), 1, 9999))
local outcomes, names, totals = {}, {}, {}
for _ = 1, quantity do
local roll, selected = math.random() * pool.Total, nil
for _, entry in ipairs(pool.Entries) do if roll <= entry.Threshold then selected = entry.Reward break end end
if not selected then return false, "The box reward table is invalid" end
local result = table.clone(selected)
self.Granted[result.Name] = true
table.insert(outcomes, {RewardData = result})
if not totals[result.Name] then table.insert(names, result.Name) end
totals[result.Name] = (totals[result.Name] or 0) + (tonumber(result.Quantity) or 1)
end
local summary = {}
for _, rewardName in ipairs(names) do
table.insert(summary, rewardName .. (totals[rewardName] > 1 and (" × " .. totals[rewardName]) or ""))
end
summary = table.concat(summary, ", ")
self.Boxes[name] = count > quantity and count - quantity or nil
syncUnlockMask({CosmeticInventory = true, UnclaimedRewards = true})
local character = lp.Character
local root = character and character:FindFirstChild("HumanoidRootPart")
local template = lps.Assets.Lootboxes:FindFirstChild(name)
if root and template and box.SoundProfile then
self.Opening = true
self.BoxProgress = {Name = name, Total = quantity, Completed = 0}
task.spawn(function()
local effect = safeRequireModule(lps.Modules.Functions.LootboxEffect)
local active, firstError = 0, nil
if type(effect) == "function" then
for _, outcome in ipairs(outcomes) do
while self.Alive and active >= 8 do task.wait(0.1) end
if not self.Alive or not root.Parent then break end
active += 1
task.spawn(function()
local ok, err = pcall(effect, root.Position, name, {outcome}, 0, root, lp, nil, math.random(1, 2147483646))
if not ok and not firstError then firstError = tostring(err) end
self.BoxProgress.Completed += 1
active -= 1
end)
task.wait(0.05)
end
while active > 0 do task.wait(0.1) end
end
self.Opening = false
if firstError then warn("[Plex Inventory] Local box effect: " .. firstError) end
end)
end
self:AnnounceBox(name, quantity, summary)
return true, summary
end
function customCosmeticsRuntime:PlayFinisher(entity, key)
local definition = self.Definitions[key]
local template = self.Assets[key]
if not definition or definition.Type ~= "Finisher" or typeof(template) ~= "Instance" then return false end
local model
pcall(function() model = rawget(entity, "Model") or entity.Model end)
local pivotPart = typeof(model) == "Instance" and (model:FindFirstChild("HumanoidRootPart") or model.PrimaryPart)
if not pivotPart then return false end
local clone = template:Clone()
clone.Name = "PlexCustomFinisher"
for _, part in ipairs(clone:GetDescendants()) do if part:IsA("BasePart") then part.Anchored = true end end
clone.Parent = workspace
if clone:IsA("Model") then clone:PivotTo(pivotPart.CFrame)
elseif clone:IsA("BasePart") then clone.CFrame = pivotPart.CFrame
else
local part = clone:FindFirstChildWhichIsA("BasePart", true)
if part then part.CFrame = pivotPart.CFrame end
end
game:GetService("Debris"):AddItem(clone, 5)
return true
end
local virtualViewModelClassOverrides = {
[KNIFE_CUSTOM_SKIN] = "Knife",
[REAVER_KNIFE_CUSTOM_SKIN] = "Knife",
[DAGGERS_CUSTOM_SKIN] = "Keynais",
[SNIPER_CUSTOM_SKIN] = "Keyper",
["Operator"] = "Sniper",
[RPG_CUSTOM_SKIN] = "Nuke Launcher",
[FISTS_CUSTOM_SKIN] = "Fists",
[BOW_CUSTOM_SKIN] = "Frostbite Bow",
[ASSAULT_RIFLE_CUSTOM_SKIN] = "AK-47",
["Grenade (Custom Skin)"] = "Elixir",
["Grenade Raze"] = "Glorious Grenade",
["sky"] = "Shining Star",
["Molotov (Custom Skin)"] = "Elixir",
["Satchel (Custom Skin)"] = "Elixir",
["Smoke Grenade (Custom Skin)"] = "Elixir",
["Warpstone (Custom Skin)"] = "Elixir",
[SATCHEL_CUSTOM_SKIN] = "BaseSatchel",
[DICE_TRIPMINE_SKIN] = "SubspaceTripmine",
[SPIKE_TRIPMINE_SKIN] = "SubspaceTripmine"
}
local function resolveViewModelClassName(_, cosmetics, resolvedName)
local custom = resolvedName and customCosmeticsRuntime.Definitions[resolvedName]
return (custom and custom.Base) or (resolvedName and virtualViewModelClassOverrides[resolvedName]) or resolvedName
end
local resolveViewModelClass
local clientViewModelClass
local clientViewModelBaseNew
local constructingVirtualViewModelClass = false
local function getewep()
if not fctrl then return nil end
local fighter = fctrl:GetFighter(lp)
if not fighter or not fighter.Items then return nil end
for _, item in fighter.Items do
if item.IsEquipped then return item.Name end
end
return nil
end
if hookfunction then
local rems = reps:FindFirstChild("Remotes")
local drems = rems and rems:FindFirstChild("Data")
local eqrem = drems and drems:FindFirstChild("EquipCosmetic")
local favrem = drems and drems:FindFirstChild("FavoriteCosmetic")
local rrems = rems and rems:FindFirstChild("Replication")
local frems = rrems and rrems:FindFirstChild("Fighter")
local uirem = frems and frems:FindFirstChild("UseItem")
local function normalizeCosmeticType(value)
local name = value
if type(name) ~= "string" and elib and elib.FromEnum then
pcall(function() name = elib:FromEnum(value) end)
end
if type(name) ~= "string" then return nil end
local lower = name:lower()
if lower == "skin" then return "Skin" end
if lower == "wrap" then return "Wrap" end
if lower == "charm" then return "Charm" end
if lower == "finisher" then return "Finisher" end
return nil
end
local function normalizeCosmeticEquipArgs(args)
local wname, ctype, cname, opts = args[1], args[2], args[3], args[4]
if type(wname) == "table" then
local payload = wname
wname = payload.WeaponName or payload.Weapon or payload.ItemName or payload.Item
ctype = payload.CosmeticType or payload.Type or ctype
cname = payload.CosmeticName or payload.Cosmetic or payload.Name or cname
opts = payload.Options or payload.Opts or opts
end
if type(wname) == "table" then
wname = wname.Name or wname.ItemName or wname.WeaponName
end
if type(cname) == "table" then
ctype = ctype or cname.Type
cname = cname.Name or cname.CosmeticName or cname.DisplayName
end
if type(cname) ~= "string" and elib and elib.FromEnum then
pcall(function() cname = elib:FromEnum(cname) end)
end
ctype = normalizeCosmeticType(ctype)
if not ctype and type(cname) == "string" and type(coss[cname]) == "table" then
ctype = normalizeCosmeticType(coss[cname].Type)
end
return wname, ctype, cname, type(opts) == "table" and opts or {}
end
local function handleCosmeticEquip(args)
if not unlockAllEnabled and next(customCosmeticsRuntime.Definitions) == nil
and next(customCosmeticsRuntime.Injected) == nil and next(customCosmeticsRuntime.Granted) == nil then return false end
local wname, ctype, cname, opts = normalizeCosmeticEquipArgs(args)
if type(wname) ~= "string" or not ctype then return false end
if not cname or cname == "None" or cname == "" then
local slots = equip[wname]
if slots then
slots[ctype] = nil
if not next(slots) then equip[wname] = nil end
end
if ctype == "Finisher" then fcache[wname] = nil end
task.defer(saferep, "WeaponInventory")
task.defer(forceCosmeticUpdate, wname, ctype)
if scheduleSkinAutoSave then scheduleSkinAutoSave() end
return false
end
if type(cname) ~= "string" or banned(cname) then return false end
local catalog = coss[cname]
if type(catalog) ~= "table" then return false end
-- Trust the catalog type for wraps/charms even if the locker sends an enum,
-- lowercase name, or stale type field.
ctype = normalizeCosmeticType(catalog.Type) or ctype
local owned = getRealCosmeticEntry and getRealCosmeticEntry(cname)
if owned == true or (type(owned) == "table" and (owned[wname] or owned.IsUniversal == true)) then
return false
end
applyCosmeticToWeapon(wname, cname, ctype)
local applied = equip[wname] and equip[wname][ctype]
if applied then
if opts.IsInverted ~= nil then applied.Inverted = opts.IsInverted == true end
if opts.OnlyUseFavorites ~= nil then applied.OnlyUseFavorites = opts.OnlyUseFavorites == true end
end
if scheduleSkinAutoSave then scheduleSkinAutoSave() end
return true
end
-- Roblox colon calls use __namecall; hooking FireServer alone misses the game's equip UI.
if eqrem and hookmetamethod and getnamecallmethod then
local hookState = getgenv().__PlexCosmeticEquipHook
if not hookState then
hookState = {}
getgenv().__PlexCosmeticEquipHook = hookState
local oldNamecall
oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
if hookState.Remote == self and getnamecallmethod() == "FireServer" then
hookState.Calls = (hookState.Calls or 0) + 1
local handler = hookState.Handler
if handler then
local ok, handled = pcall(handler, {...})
hookState.LastResult = ok and tostring(handled) or tostring(handled)
if ok and handled then return end
if not ok then warn("[Plex Skins] Equip hook: " .. tostring(handled)) end
end
end
return oldNamecall(self, ...)
end))
end
hookState.Remote = eqrem
hookState.Handler = handleCosmeticEquip
mainapi:Clean(function()
if hookState.Handler == handleCosmeticEquip then
hookState.Handler = nil
hookState.Remote = nil
end
end)
end
if eqrem then
local directState = getgenv().__PlexCosmeticDirectHook
if not directState then
directState = {}
getgenv().__PlexCosmeticDirectHook = directState
local oldFireServer
oldFireServer = hookfunction(eqrem.FireServer, newcclosure(function(self, ...)
local handler = directState.Handler
if handler and (self == directState.Equip or self == directState.Fav or self == directState.Use) then
local ok, handled = pcall(handler, self, {...})
if ok and handled then return end
if not ok then warn("[Plex Skins] Direct equip hook: " .. tostring(handled)) end
end
return oldFireServer(self, ...)
end))
end
directState.Equip, directState.Fav, directState.Use = eqrem, favrem, uirem
directState.Handler = function(self, args)
if uirem and self == uirem and fctrl then
pcall(function()
local fighter = fctrl:GetFighter(lp)
if fighter and fighter.Items then
for _, item in fighter.Items do
if item:Get("ObjectID") == args[1] then lwep = item.Name break end
end
end
end)
end
if self == eqrem then return handleCosmeticEquip(args) end
if self == favrem and unlockAllEnabled then
local fwep, fname, fstate = args[1], args[2], args[3]
if type(fwep) ~= "string" or not fname or fname == "None" or fname == "" or banned(fname) then return false end
favs[fwep] = favs[fwep] or {}
favs[fwep][fname] = fstate or nil
task.spawn(saferep, "FavoritedCosmetics")
return true
end
return false
end
local activeHandler = directState.Handler
mainapi:Clean(function()
if directState.Handler == activeHandler then directState.Handler = nil end
end)
end
end
local citem
pcall(function() citem = require(lps.Modules.ClientReplicatedClasses.ClientFighter.ClientItem) end)
-- Older builds left these four wrappers installed after unload. A stale
-- constructor can overwrite the new selection or reference a deleted asset.
-- Migrate only recognized Plex wrappers, then own/restore every replacement.
local cosmeticMethodRecords = {}
local function cosmeticMethodOriginal(class, method)
local original = class[method]
local seen = {}
local function unwrap(fn, depth)
if type(fn) ~= "function" or seen[fn] or depth > 8 then return nil end
seen[fn] = true
local source, name = debug.info(fn, "sn")
if name == method then return fn end
if not (source:find("PlexMain", 1, true) or source:find("plex.cc TPHandler", 1, true)) then return nil end
if not debug.getupvalues then return nil end
local ok, values = pcall(debug.getupvalues, fn)
if not ok then return nil end
for _, candidate in pairs(values) do
if type(candidate) == "function" then
local candidateName = debug.info(candidate, "n")
if candidateName == "" or candidateName == method then
local found = unwrap(candidate, depth + 1)
if found then return found end
end
end
end
end
original = unwrap(original, 0) or original
class[method] = original
return original
end
local function ownCosmeticMethod(class, method, original)
cosmeticMethodRecords[#cosmeticMethodRecords + 1] = {Class = class, Method = method, Original = original, Replacement = class[method]}
end
mainapi:Clean(function()
for _, record in ipairs(cosmeticMethodRecords) do
if record.Class[record.Method] == record.Replacement then record.Class[record.Method] = record.Original end
end
table.clear(cosmeticMethodRecords)
end)
local function hideCustomSkinRig(viewModel)
local model = type(viewModel) == "table" and viewModel.ItemModel
if typeof(model) ~= "Instance" or not model:GetAttribute("PlexCustomSkin") or viewModel.__PlexSkinRigHidden then return end
viewModel.__PlexSkinRigHidden = true
for _, part in ipairs(model:GetDescendants()) do
if part:IsA("BasePart") and part:GetAttribute("PlexCustomHiddenRig") then
part.Transparency, part.LocalTransparencyModifier = 1, 1
-- Use the native visibility stack so first/third-person transitions
-- cannot reveal the weapon geometry behind the replacement.
if viewModel._LocalTransparencyModifier then viewModel:_LocalTransparencyModifier(part, "PlexCustomSkin", 1) end
end
end
end
local function applyLiveFistsMeshProfile(wname, viewModel)
if wname ~= "Fists" then return end
local skin = equip[wname] and equip[wname].Skin
local skinName = skin and (skin.ViewModelName or skin.Name)
local profile = skinName and FISTS_MESH_SKIN_OVERRIDES[skinName]
if not profile then return end
task.spawn(function()
for _ = 1, 30 do
local model
if typeof(viewModel) == "Instance" then
model = viewModel
elseif type(viewModel) == "table" then
model = viewModel.Model or viewModel.ItemModel
end
if typeof(model) == "Instance" then
if applyFistsMeshProfile(model, profile) then
return
end
end
task.wait()
end
end)
end
if citem and citem._CreateViewModel then
local ocvm = cosmeticMethodOriginal(citem, "_CreateViewModel")
citem._CreateViewModel = function(self, vmref)
local wname = self.Name
local wplr = self.ClientFighter and self.ClientFighter.Player
cwep = (wplr == lp) and wname or nil
local directClass
local selectedCosmetics = cosmeticsForPlayer(wplr, wname)
if selectedCosmetics and vmref then
local cos = selectedCosmetics
local dk = self:ToEnum("Data")
local data = vmref[dk] or vmref.Data or {}
if data then
if vmref[dk] ~= nil or vmref.Data == nil then
vmref[dk] = data
vmref.Data = nil
else
vmref.Data = data
end
local resolvedName = resolveViewModelName(wname, cos)
local className = resolveViewModelClassName(wname, cos, resolvedName)
if cos.Skin then
data[self:ToEnum("Skin")] = cos.Skin
end
data[self:ToEnum("Name")] = resolvedName
if cos.Wrap then
data[self:ToEnum("Wrap")] = cos.Wrap
end
if cos.Charm then
data[self:ToEnum("Charm")] = cos.Charm
end
data.Skin = nil
data.Name = nil
data.Wrap = nil
data.Charm = nil
if className ~= resolvedName and resolveViewModelClass then
directClass = resolveViewModelClass(className)
end
end
end
if directClass and directClass ~= clientViewModelClass and directClass.new then
local identity = getthreadidentity and getthreadidentity() or 8
constructingVirtualViewModelClass = true
local ok, res = pcall(function()
if setthreadidentity then pcall(setthreadidentity, 2) end
return directClass.new(vmref, self)
end)
constructingVirtualViewModelClass = false
if setthreadidentity then pcall(setthreadidentity, identity) end
cwep = nil
if ok then
hideCustomSkinRig(res)
applyLiveFistsMeshProfile(wname, res)
return res
end
end
local res = ocvm(self, vmref)
cwep = nil
hideCustomSkinRig(res)
applyLiveFistsMeshProfile(wname, res)
return res
end
ownCosmeticMethod(citem, "_CreateViewModel", ocvm)
end
local vmmod = lps.Modules.ClientReplicatedClasses.ClientFighter.ClientItem:FindFirstChild("ClientViewModel")
if vmmod then
local loaded, cvm = pcall(require, vmmod)
if not loaded or type(cvm) ~= "table" then
warn("[Plex Skins] Viewmodel hook unavailable: " .. tostring(cvm))
cvm = nil
end
if cvm then
clientViewModelClass = cvm
if cvm.GetWrap then
local ogw = cosmeticMethodOriginal(cvm, "GetWrap")
cvm.GetWrap = function(self)
local ci = self.ClientItem
local wname = ci and ci.Name
local wplr = ci and ci.ClientFighter and ci.ClientFighter.Player
local weq = wname and cosmeticsForPlayer(wplr, wname)
return (weq and weq.Wrap) or ogw(self)
end
ownCosmeticMethod(cvm, "GetWrap", ogw)
end
if cvm._UpdateWrap and wrapController then
local oldUpdateWrap = cosmeticMethodOriginal(cvm, "_UpdateWrap")
local function isCustomTripmineViewModel(self)
if not self then return false end
if TRIPMINE_MESH_SKIN_OVERRIDES[self.Name] then
return true
end
local ci = self.ClientItem
local weapon = ci and ci.Name
local skin = weapon and equip[weapon] and equip[weapon].Skin
local skinName = skin and (skin.ViewModelName or skin.Name)
return weapon == "Subspace Tripmine" and TRIPMINE_MESH_SKIN_OVERRIDES[skinName] ~= nil
end
local function collectCustomTripmineWrapTargets(model)
local targets = {}
for _, descendant in ipairs(model:GetDescendants()) do
if descendant:IsA("BasePart") and descendant:GetAttribute("__LionCustomTripmineMeshPart") then
if descendant:GetAttribute("WrapGroup") == nil then
descendant:SetAttribute("WrapGroup", 1)
end
descendant:SetAttribute("IgnoreTransparency", true)
pcall(function() descendant:AddTag("Wrappable") end)
pcall(function() collectionService:AddTag(descendant, "Wrappable") end)
table.insert(targets, descendant)
end
end
return targets
end
cvm._UpdateWrap = function(self, ...)
if isCustomTripmineViewModel(self) and self.Model then
local targets = collectCustomTripmineWrapTargets(self.Model)
if #targets > 0 then
local wrap = self.GetWrap and self:GetWrap() or nil
if self._original_wrap_properties then
pcall(wrapController.ResetWrap, wrapController, self._original_wrap_properties)
self._original_wrap_properties = nil
end
if self.__LionCustomTripmineWrapProperties then
pcall(wrapController.ResetWrap, wrapController, self.__LionCustomTripmineWrapProperties)
self.__LionCustomTripmineWrapProperties = nil
end
if wrap then
self.__LionCustomTripmineWrapProperties = wrapController:RecordOriginalWrapProperties(targets)
wrapController:ApplyWrap(self.__LionCustomTripmineWrapProperties, wrap, true)
end
if self._UpdateLocalTransparencyModifiers then
pcall(self._UpdateLocalTransparencyModifiers, self)
end
return
end
end
return oldUpdateWrap(self, ...)
end
ownCosmeticMethod(cvm, "_UpdateWrap", oldUpdateWrap)
end
local onew = cosmeticMethodOriginal(cvm, "new")
clientViewModelBaseNew = onew
cvm.new = function(rdata, cliitm)
if constructingVirtualViewModelClass then
return onew(rdata, cliitm)
end
local wplr = cliitm.ClientFighter and cliitm.ClientFighter.Player
local wname = cwep or cliitm.Name
local className = wname
local selectedCosmetics = cosmeticsForPlayer(wplr, wname)
if selectedCosmetics then
local rcls = require(reps.Modules.ReplicatedClass)
local dk = rcls:ToEnum("Data")
local slot = rdata[dk] or rdata.Data or {}
if rdata[dk] ~= nil or rdata.Data == nil then
rdata[dk] = slot
rdata.Data = nil
else
rdata.Data = slot
end
local cos = selectedCosmetics
local resolvedName = resolveViewModelName(wname, cos)
className = resolveViewModelClassName(wname, cos, resolvedName)
if cos.Skin then
slot[rcls:ToEnum("Skin")] = cos.Skin
end
slot[rcls:ToEnum("Name")] = resolvedName
if cos.Wrap then
slot[rcls:ToEnum("Wrap")] = cos.Wrap
end
if cos.Charm then
slot[rcls:ToEnum("Charm")] = cos.Charm
end
slot.Skin = nil
slot.Name = nil
slot.Wrap = nil
slot.Charm = nil
end
local targetNew = onew
local targetClass = className ~= wname and resolveViewModelClass and resolveViewModelClass(className)
if targetClass and targetClass ~= clientViewModelClass and targetClass.new then
targetNew = targetClass.new
end
constructingVirtualViewModelClass = targetNew ~= onew
local ok, res = pcall(targetNew, rdata, cliitm)
constructingVirtualViewModelClass = false
if not ok and selectedCosmetics and selectedCosmetics.Skin then
local rcls = require(reps.Modules.ReplicatedClass)
local dk = rcls:ToEnum("Data")
local slot = rdata[dk] or rdata.Data or {}
rdata[dk] = slot
rdata.Data = nil
slot[rcls:ToEnum("Name")] = wname
slot.Name = nil
ok, res = pcall(onew, rdata, cliitm)
end
if not ok then error(res) end
hideCustomSkinRig(res)
if selectedCosmetics and res then
for _, method in ipairs({"_UpdateWrap", "UpdateWrap", "_UpdateCharm", "UpdateCharm", "_UpdateCosmetics", "UpdateCosmetics"}) do
if res[method] then
pcall(res[method], res)
end
end
applyLiveFistsMeshProfile(wname, res)
end
return res
end
ownCosmeticMethod(cvm, "new", onew)
end
end
local viewModelClassCache = {}
local function normalizeViewModelName(name)
return tostring(name or ""):gsub("[%W_]+", ""):lower()
end
resolveViewModelClass = function(name)
if not clientViewModelClass then return nil end
local key = normalizeViewModelName(name)
if viewModelClassCache[key] ~= nil then
return viewModelClassCache[key] or clientViewModelClass
end
local targetClass = clientViewModelClass
local vmFolder = lps.Modules:FindFirstChild("ViewModels")
if vmFolder then
for _, module in pairs(vmFolder:GetDescendants()) do
if module:IsA("ModuleScript") and normalizeViewModelName(module.Name) == key then
local ok, customClass = pcall(require, module)
if ok and type(customClass) == "table" and type(customClass.new) == "function" then
targetClass = customClass
end
break
end
end
end
viewModelClassCache[key] = targetClass
return targetClass
end
;(function()
local function getLocalItem(weapon)
local fighter = fctrl and fctrl:GetFighter(lp)
for _, item in pairs(fighter and fighter.Items or {}) do
if item.Name == weapon then
return item
end
end
end
refreshAnimatedWrapState = function()
local fighter = fctrl and fctrl:GetFighter(lp)
for _, item in pairs(fighter and fighter.Items or {}) do
local viewModel = item and item.ViewModel
for _, object in ipairs({item, viewModel}) do
if object then
for _, methodName in ipairs({"_UpdateWrap", "UpdateWrap"}) do
local method = object[methodName]
if type(method) == "function" then pcall(method, object) end
end
end
end
end
end
local function getWorldSkinName(weapon)
local skin = equip[weapon] and equip[weapon].Skin
return skin and (skin.WorldViewModelName or skin.SourceViewModelName or skin.ViewModelName or skin.Name)
end
local function getEquippedWeaponWrap(weapon)
local item = getLocalItem(weapon)
if item and item.GetWrap then
local ok, wrap = pcall(item.GetWrap, item)
if ok then
return wrap
end
end
return equip[weapon] and equip[weapon].Wrap
end
local function isInsideWorkspaceViewModels(inst)
local viewModels = workspace:FindFirstChild("ViewModels")
return viewModels and inst:IsDescendantOf(viewModels)
end
local function isRpgRazeEquipped()
return getWorldSkinName("RPG") == RPG_CUSTOM_SKIN
end
local function tryApplyRpgProjectileSkin(inst)
local profile = RPG_MESH_SKIN_OVERRIDES[RPG_CUSTOM_SKIN]
if not (profile and isRpgRazeEquipped() and typeof(inst) == "Instance") then return end
if isInsideWorkspaceViewModels(inst) then return end
if inst:GetAttribute("__LionRpgProjectileSkinChecked") then return end
local shouldApply = false
if inst:IsA("MeshPart") or inst:IsA("SpecialMesh") then
shouldApply = meshMatchesAnyAssetId(inst, profile.RocketMeshIds) or meshMatchesAnyAssetId(inst, profile.JuggleMeshIds)
elseif inst:IsA("Model") then
shouldApply = namePathContains(inst, "rocket") or namePathContains(inst, "projectile")
end
if not shouldApply then return end
inst:SetAttribute("__LionRpgProjectileSkinChecked", true)
applyRpgMeshProfile(inst, profile, {
ShowRocket = true,
ForceRocket = true
})
end
local function installRpgProjectileSkinHook()
local env = getgenv and getgenv() or _G
local state = env.__LionRpgProjectileSkinHookState or {}
env.__LionRpgProjectileSkinHookState = state
local version = 2
if state.Version == version and state.Connection then return end
if state.Connection then
pcall(function() state.Connection:Disconnect() end)
end
state.Version = version
state.Connection = workspace.DescendantAdded:Connect(function(inst)
if isRpgRazeEquipped() and (inst:IsA("MeshPart") or inst:IsA("SpecialMesh") or inst:IsA("Model")) then
task.defer(tryApplyRpgProjectileSkin, inst)
end
end)
task.spawn(function()
if not isRpgRazeEquipped() then return end
for i, inst in ipairs(workspace:GetDescendants()) do
if state.Version ~= version then return end
tryApplyRpgProjectileSkin(inst)
if i % 250 == 0 then RunService.Heartbeat:Wait() end
end
end)
end
local function disableRpgProjectileSkinHook()
local env = getgenv and getgenv() or _G
local state = env.__LionRpgProjectileSkinHookState
if state and state.Connection then
pcall(function() state.Connection:Disconnect() end)
end
env.__LionRpgProjectileSkinHookState = {
Version = 3,
Connection = nil
}
end
local function ensurePlacedTripmineWrapTargets(visual)
if typeof(visual) ~= "Instance" then return end
for _, descendant in ipairs(visual:GetDescendants()) do
if descendant:IsA("BasePart") and descendant:GetAttribute("__LionCustomTripmineMeshPart") then
if descendant:GetAttribute("WrapGroup") == nil then
descendant:SetAttribute("WrapGroup", 1)
end
descendant:SetAttribute("IgnoreTransparency", true)
pcall(function() descendant:AddTag("Wrappable") end)
pcall(function() collectionService:AddTag(descendant, "Wrappable") end)
end
end
end
local function applyPlacedTripmineWrap(visual)
if not wrapController or typeof(visual) ~= "Instance" then return end
ensurePlacedTripmineWrapTargets(visual)
local wrap = getEquippedWeaponWrap("Subspace Tripmine")
pcall(function()
local originalWrapProperties = wrapController:RecordOriginalWrapProperties(visual)
wrapController:ApplyWrap(originalWrapProperties, wrap, true)
end)
end
local function isLocalPlacedObject(object, weapon)
local userId = object:GetAttribute("PlacedByUserID")
or object:GetAttribute("ThrownByUserID")
or object:GetAttribute("OwnerUserID")
if userId ~= nil then
return tonumber(userId) == lp.UserId
end
local objectId = object:GetAttribute("ObjectID")
local item = getLocalItem(weapon)
return objectId ~= nil and item and item.Get and item:Get("ObjectID") == objectId
end
local function isInsidePlacedSkinVisual(inst)
local current = inst
while current do
if current.Name == "__LionPlacedSkin" or current:GetAttribute("__LionPlacedSkin") then
return true
end
current = current.Parent
end
return false
end
local function hideOriginalTripmineVisual(object)
if typeof(object) ~= "Instance" then return end
local function hide(inst)
if isInsidePlacedSkinVisual(inst) then return end
if inst:IsA("BasePart") then
inst.Transparency = 1
inst.LocalTransparencyModifier = 1
elseif inst:IsA("Decal") or inst:IsA("Texture") then
inst.Transparency = 1
elseif inst:IsA("ParticleEmitter") or inst:IsA("Trail") or inst:IsA("Beam") then
inst.Enabled = false
end
end
for _, descendant in ipairs(object:GetDescendants()) do
hide(descendant)
end
if not object:GetAttribute("__LionHideOriginalTripmineHook") then
object:SetAttribute("__LionHideOriginalTripmineHook", true)
local connection
connection = object.DescendantAdded:Connect(function(descendant)
task.defer(hide, descendant)
end)
task.delay(8, function()
if connection then
connection:Disconnect()
end
end)
end
if not object:GetAttribute("__LionHideOriginalTripmineLoop") then
object:SetAttribute("__LionHideOriginalTripmineLoop", true)
task.spawn(function()
for _ = 1, 80 do
if not object.Parent then break end
for _, descendant in ipairs(object:GetDescendants()) do
hide(descendant)
end
task.wait(0.1)
end
if object.Parent then
object:SetAttribute("__LionHideOriginalTripmineLoop", nil)
end
end)
end
end
local function prunePlacedTripmineVisualToCustomMesh(visual)
if typeof(visual) ~= "Instance" then return end
local primaryPart
for _, descendant in ipairs(visual:GetDescendants()) do
if descendant:IsA("BasePart") then
if descendant:GetAttribute("__LionCustomTripmineMeshPart") then
primaryPart = primaryPart or descendant
else
descendant:Destroy()
end
end
end
if visual:IsA("Model") and primaryPart then
visual.PrimaryPart = primaryPart
end
end
local function isInsideCustomTripmineMeshPart(inst)
local current = inst
while current do
if current:IsA("BasePart") and current:GetAttribute("__LionCustomTripmineMeshPart") then
return true
end
current = current.Parent
end
return false
end
local function forcePlacedSkinVisualVisible(visual)
if typeof(visual) ~= "Instance" then return end
local function show(inst)
if inst:IsA("BasePart") and inst:GetAttribute("__LionCustomTripmineMeshPart") then
inst.Transparency = 0
inst.LocalTransparencyModifier = 0
elseif (inst:IsA("Decal") or inst:IsA("Texture")) and isInsideCustomTripmineMeshPart(inst) then
inst.Transparency = 0
end
end
for _, descendant in ipairs(visual:GetDescendants()) do
show(descendant)
end
if not visual:GetAttribute("__LionShowPlacedSkinLoop") then
visual:SetAttribute("__LionShowPlacedSkinLoop", true)
local connection
connection = visual.DescendantAdded:Connect(function(descendant)
task.defer(show, descendant)
end)
task.spawn(function()
for _ = 1, 100 do
if not visual.Parent then break end
for _, descendant in ipairs(visual:GetDescendants()) do
show(descendant)
end
task.wait(0.1)
end
if connection then
connection:Disconnect()
end
if visual.Parent then
visual:SetAttribute("__LionShowPlacedSkinLoop", nil)
end
end)
end
end
local function pivotPlacedTripmineVisual(visual, hitbox, profile)
if not (visual and visual:IsA("Model") and hitbox and hitbox:IsA("BasePart")) then return end
local boundsCFrame, boundsSize = visual:GetBoundingBox()
local centerOffset = visual:GetPivot():ToObjectSpace(boundsCFrame)
local groundOffset = profile and profile.WorldGroundOffset or 0
local targetCenterOffsetY = (-hitbox.Size.Y * 0.5) + (boundsSize.Y * 0.5) + groundOffset
local targetBoundsCFrame = hitbox.CFrame * CFrame.new(0, targetCenterOffsetY, 0)
visual:PivotTo(targetBoundsCFrame * centerOffset:Inverse())
end
local function placedVisualAnchor(object)
if not object or not object.Parent then return nil end
local hitbox = object:FindFirstChild("Hitbox", true)
if hitbox and hitbox:IsA("BasePart") then return hitbox end
if object:IsA("BasePart") then return object end
if object:IsA("Model") then
if object.PrimaryPart and object.PrimaryPart:IsA("BasePart") then return object.PrimaryPart end
return object:FindFirstChildWhichIsA("BasePart", true)
end
return object:FindFirstChildWhichIsA("BasePart", true)
end
local function replacePlacedModelVisual(object, source)
if typeof(object) ~= "Instance" or typeof(source) ~= "Instance" or not object.Parent then return false end
local existing = object:FindFirstChild("__LionPlacedSkin")
if existing then existing:Destroy() end
local anchor = placedVisualAnchor(object)
if not anchor then return false end
local visual = source:Clone()
if visual:IsA("Folder") then
local model = Instance.new("Model")
model.Name = visual.Name
for _, child in ipairs(visual:GetChildren()) do child.Parent = model end
visual:Destroy()
visual = model
elseif visual:IsA("BasePart") then
local model = Instance.new("Model")
model.Name = visual.Name
visual.Parent = model
model.PrimaryPart = visual
visual = model
end
if not visual:IsA("Model") then
visual:Destroy()
return false
end
visual.Name = "__LionPlacedSkin"
visual:SetAttribute("__LionPlacedSkin", true)
for _, descendant in ipairs(visual:GetDescendants()) do
if descendant:IsA("BasePart") then
descendant.Anchored = false
descendant.CanCollide = false
descendant.CanTouch = false
descendant.CanQuery = false
descendant.Massless = true
descendant.LocalTransparencyModifier = 0
end
end
local targetCFrame = anchor.CFrame
if object:IsA("Model") then
pcall(function() targetCFrame = object:GetPivot() end)
end
visual.Parent = object
visual:PivotTo(targetCFrame)
-- Hide only the original local visual. Physics/collision objects remain in place.
for _, descendant in ipairs(object:GetDescendants()) do
if not descendant:IsDescendantOf(visual) then
if descendant:IsA("BasePart") then
descendant.LocalTransparencyModifier = 1
elseif descendant:IsA("Decal") or descendant:IsA("Texture") then
descendant.Transparency = 1
elseif descendant:IsA("ParticleEmitter") or descendant:IsA("Trail") or descendant:IsA("Beam") then
descendant.Enabled = false
end
end
end
for _, part in ipairs(visual:GetDescendants()) do
if part:IsA("BasePart") then
local weld = Instance.new("WeldConstraint")
weld.Name = "PlexPlacedVisualWeld"
weld.Part0 = anchor
weld.Part1 = part
weld.Parent = part
end
end
return true
end
local function installPlacedCosmeticHooks()
local components = lps.Modules:FindFirstChild("GameComponents")
if not components then return end
pcall(function()
local jumpPads = require(components:WaitForChild("JumpPads", 10))
if jumpPads.__LionSkinHook then return end
jumpPads.__LionSkinHook = true
local oldObjectAdded = jumpPads._ObjectAdded
jumpPads._ObjectAdded = function(self, object)
local skinName = getWorldSkinName("Jump Pad")
local replaceLocal = skinName and isLocalPlacedObject(object, "Jump Pad")
if replaceLocal then
object:SetAttribute("ViewModelName", skinName)
end
local result = oldObjectAdded(self, object)
if replaceLocal then
task.defer(function()
if not object.Parent then return end
local misc = lps.Assets and lps.Assets:FindFirstChild("Misc")
local assets = misc and misc:FindFirstChild("JumpPads")
local source = assets and (assets:FindFirstChild(skinName) or findDescendantByName(assets, skinName))
if source then
replacePlacedModelVisual(object, source)
end
end)
end
return result
end
end)
pcall(function()
local tripmines = require(components:WaitForChild("SubspaceTripmines", 10))
if tripmines.__LionSkinHook then return end
tripmines.__LionSkinHook = true
local oldObjectAdded = tripmines._ObjectAdded
tripmines._ObjectAdded = function(self, object)
local skinName = getWorldSkinName("Subspace Tripmine")
local placedSkinName = skinName == "RNG Dice" and DICE_TRIPMINE_SKIN or skinName
local meshProfile = TRIPMINE_MESH_SKIN_OVERRIDES[placedSkinName]
if meshProfile and isLocalPlacedObject(object, "Subspace Tripmine") then
task.defer(function()
if not object.Parent or object:FindFirstChild("__LionPlacedSkin") then return end
hideOriginalTripmineVisual(object)
local throwables = lps.Assets:FindFirstChild("Throwables")
local viewModels = lps.Assets:FindFirstChild("ViewModels")
local sourceName = meshProfile.BaseAssetName or "Subspace Tripmine"
local source = (throwables and findDescendantByName(throwables, sourceName)) or (viewModels and findDescendantByName(viewModels, sourceName))
local hitbox = object:FindFirstChild("Hitbox", true)
if not source or not hitbox or not hitbox:IsA("BasePart") then return end
local visual = source:Clone()
if not applyTripmineMeshProfile(visual, meshProfile, true) then
visual:Destroy()
return
end
prunePlacedTripmineVisualToCustomMesh(visual)
if visual:IsA("BasePart") then
local model = Instance.new("Model")
model.Name = visual.Name
visual.Parent = model
model.PrimaryPart = visual
visual = model
end
if not visual:IsA("Model") then return end
for _, descendant in pairs(visual:GetDescendants()) do
if descendant.Name == "_right_arm" or descendant.Name == "_left_arm" or descendant.Name == "_fake" then
descendant:Destroy()
end
end
visual.Name = "__LionPlacedSkin"
visual:SetAttribute("__LionPlacedSkin", true)
visual.Parent = object
hideOriginalTripmineVisual(object)
pivotPlacedTripmineVisual(visual, hitbox, meshProfile)
forcePlacedSkinVisualVisible(visual)
for _, part in pairs(visual:GetDescendants()) do
if part:IsA("BasePart") then
part.Anchored = false
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
local weld = Instance.new("WeldConstraint")
weld.Part0 = hitbox
weld.Part1 = part
weld.Parent = part
end
end
applyPlacedTripmineWrap(visual)
forcePlacedSkinVisualVisible(visual)
end)
end
return oldObjectAdded(self, object)
end
end)
pcall(function()
local fireHitboxes = require(components:WaitForChild("FireHitboxes", 10))
local fireAssets = lps.Assets:WaitForChild("Misc", 10):WaitForChild("FireHitboxes", 10)
if not fireAssets:FindFirstChild("Elixir") then
local elixirEffect = lps.Assets.Misc:FindFirstChild("ElixirExplosionEffect")
local defaultFire = fireAssets:FindFirstChild("Default")
if elixirEffect and defaultFire then
local elixirFire = defaultFire:Clone()
elixirFire.Name = "Elixir"
for _, effect in pairs(elixirFire:GetDescendants()) do
if effect:IsA("ParticleEmitter") or effect:IsA("Trail") or effect:IsA("Beam") then
effect:Destroy()
end
end
local primary = elixirFire:FindFirstChild("Primary")
local attachment = elixirEffect:FindFirstChild("Attachment")
if primary and attachment then
attachment:Clone().Parent = primary
end
elixirFire.Parent = fireAssets
end
end
local collectionService = game:GetService("CollectionService")
local function replaceFireVisual(object)
local skinName = getWorldSkinName("Molotov")
if not skinName or not isLocalPlacedObject(object, "Molotov") then return end
object:SetAttribute("ViewModelName", skinName)
task.spawn(function()
local entry
for _ = 1, 20 do
entry = fireHitboxes._fire_hitboxes and fireHitboxes._fire_hitboxes[object]
if entry and entry.Visual then break end
task.wait()
end
if not entry or not entry.Visual or not object.Parent then return end
local source = fireAssets:FindFirstChild(skinName) or fireAssets:FindFirstChild("Default")
if not source then return end
local visual = source:Clone()
visual.Name = skinName
visual.PrimaryPart = visual:FindFirstChild("Primary")
if not visual.PrimaryPart then return end
visual.PrimaryPart.Size = object.Size
visual:PivotTo(object.CFrame)
visual.Parent = workspace
for _, sound in ipairs({entry.Sound1, entry.Sound2}) do
if sound then sound.Parent = visual.PrimaryPart end
end
local oldVisual = entry.Visual
entry.Visual = visual
oldVisual:Destroy()
end)
end
collectionService:GetInstanceAddedSignal("FireHitbox"):Connect(replaceFireVisual)
for _, object in pairs(collectionService:GetTagged("FireHitbox")) do
task.defer(replaceFireVisual, object)
end
end)
pcall(function()
local smokeModule = lps.Modules:FindFirstChild("SmokeCloud")
if not smokeModule then return end
local smokeCloud = require(smokeModule)
if smokeCloud.__LionSkinHook or type(smokeCloud.new) ~= "function" then return end
smokeCloud.__LionSkinHook = true
local oldNew = smokeCloud.new
smokeCloud.new = function(...)
local args = { ... }
local cloud = oldNew(...)
task.defer(function()
local skinName = getWorldSkinName("Smoke Grenade")
if skinName ~= "Elixir" or type(cloud) ~= "table" then return end
local ownerObject
for _, value in ipairs(args) do
if typeof(value) == "Instance" and isLocalPlacedObject(value, "Smoke Grenade") then
ownerObject = value
break
end
end
local model = cloud.Model
if not ownerObject then
for _, value in pairs(cloud) do
if typeof(value) == "Instance" and isLocalPlacedObject(value, "Smoke Grenade") then
ownerObject = value
break
end
end
end
if not ownerObject and typeof(model) == "Instance" and isLocalPlacedObject(model, "Smoke Grenade") then
ownerObject = model
end
if not ownerObject then
local item = getLocalItem("Smoke Grenade")
local localObjectId = item and item.Get and item:Get("ObjectID")
local cloudObjectId = rawget(cloud, "ObjectID") or rawget(cloud, "_object_id")
if localObjectId ~= nil and cloudObjectId == localObjectId then
ownerObject = model
end
end
if not ownerObject or typeof(model) ~= "Instance" or not model.Parent then return end
if model:FindFirstChild("__LionSmokeSkin") then return end
for _, descendant in pairs(model:GetDescendants()) do
if descendant:IsA("BasePart") then
descendant.LocalTransparencyModifier = 1
end
end
local throwables = lps.Assets:FindFirstChild("Throwables")
local source = throwables and throwables:FindFirstChild(skinName)
if not source then return end
local visual = source:Clone()
visual.Name = "__LionSmokeSkin"
local anchor = model:IsA("BasePart") and model or model:FindFirstChildWhichIsA("BasePart", true)
if not anchor then
anchor = Instance.new("Part")
anchor.Name = "__LionSmokeAnchor"
anchor.Size = Vector3.new(0.1, 0.1, 0.1)
anchor.Transparency = 1
anchor.Anchored = true
anchor.CanCollide = false
anchor.CanTouch = false
anchor.CanQuery = false
anchor.CFrame = model:IsA("Model") and model:GetPivot() or CFrame.new()
anchor.Parent = model
end
visual.Parent = model
visual:PivotTo(anchor.CFrame)
for _, part in pairs(visual:GetDescendants()) do
if part:IsA("BasePart") then
part.Anchored = false
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
part.Massless = true
local weld = Instance.new("WeldConstraint")
weld.Part0 = anchor
weld.Part1 = part
weld.Parent = part
end
end
end)
return cloud
end
end)
end
disableRpgProjectileSkinHook()
installPlacedCosmeticHooks()
end)()
local function isValidViewModel(viewModel)
return type(viewModel) == "table"
and viewModel._destroyed ~= true
and typeof(viewModel.Model) == "Instance"
and typeof(viewModel.ItemModel) == "Instance"
end
local ogvi = ilib.GetViewModelImageFromWeaponData
local wrappedCosmeticImage=function(self, wdata, hires)
if not wdata or not localWeaponDataRecords[wdata] then return ogvi(self, wdata, hires) end
local wname = wdata.Name
local weq = equip[wname]
if weq and weq.Skin then
local skinViewModelName = weq.Skin.ViewModelName or weq.Skin.Name
local skinSourceName = weq.Skin.SourceViewModelName or skinViewModelName
local sinfo = self.ViewModels[skinViewModelName] or self.ViewModels[skinSourceName]
if sinfo then return sinfo[hires and "ImageHighResolution" or "Image"] or sinfo.Image end
return weq.Skin[hires and "ImageHighResolution" or "Image"] or weq.Skin.Image or ""
end
return ogvi(self, wdata, hires)
end
ilib.GetViewModelImageFromWeaponData=wrappedCosmeticImage
mainapi:Clean(function()
if ilib.GetViewModelImageFromWeaponData==wrappedCosmeticImage then ilib.GetViewModelImageFromWeaponData=ogvi end
end)
pcall(function()
local vpmod = require(lps.Modules.Pages.ViewProfile)
if vpmod and vpmod.Fetch then
local ofetch = vpmod.Fetch
vpmod.Fetch = function(self, tplr)
vprof = tplr
return ofetch(self, tplr)
end
end
end)
local cent
pcall(function() cent = require(lps.Modules.ClientReplicatedClasses.ClientEntity) end)
if cent and cent._PlayFinisher then
local ofin = cent._PlayFinisher
-- Diamond Hands is meant to read like a frozen diamond statue.
-- Keep the eliminated character locked in the pose it had when the
-- finisher started instead of letting the normal death physics fold it
-- onto the floor.
local function freezeDiamondHandsModel(entity)
local model
pcall(function()
model = rawget(entity, "Model") or entity.Model
end)
if typeof(model) ~= "Instance" then return end
local function lockParts()
if not model.Parent then return false end
for _, obj in ipairs(model:GetDescendants()) do
if obj:IsA("BasePart") then
pcall(function()
obj.AssemblyLinearVelocity = Vector3.zero
obj.AssemblyAngularVelocity = Vector3.zero
obj.Anchored = true
end)
end
end
return true
end
lockParts()
task.spawn(function()
-- The finisher/death controller can touch the rig for a few frames
-- after _PlayFinisher starts. Re-lock briefly so it cannot ragdoll.
local started = os.clock()
while os.clock() - started < 5 do
if not lockParts() then break end
task.wait(0.05)
end
end)
end
cent._PlayFinisher = function(self, fname, isFinal, eliminator, serial, ...)
if eliminator and eliminator ~= lp then
local fighter = fctrl and fctrl:GetFighter(eliminator)
local item = fighter and fighter.EquippedItem
local weaponName = item and item.Name
local peerCosmetics = weaponName and cosmeticsForPlayer(eliminator, weaponName)
local peerFinisher = peerCosmetics and peerCosmetics.Finisher and peerCosmetics.Finisher.Name
if peerFinisher then
if customCosmeticsRuntime:PlayFinisher(self, peerFinisher) then return true end
if tostring(peerFinisher):lower() == "diamond hands" then freezeDiamondHandsModel(self) end
return ofin(self, peerFinisher, isFinal, eliminator, serial, ...)
end
end
-- The live game sends the player responsible for this elimination.
if not unlockAllEnabled or eliminator ~= lp then
return ofin(self, fname, isFinal, eliminator, serial, ...)
end
local ewep = getewep() or lwep
local tfin = ewep and (fcache[ewep] or (equip[ewep] and equip[ewep].Finisher and equip[ewep].Finisher.Name))
local finisherName = tfin or fname
if customCosmeticsRuntime:PlayFinisher(self, finisherName) then return true end
if tostring(finisherName):lower() == "diamond hands" then
freezeDiamondHandsModel(self)
end
return ofin(self, finisherName, isFinal, eliminator, serial, ...)
end
end
for wname, wdata in equip do
if wdata.Finisher and wdata.Finisher.Name then
fcache[wname] = wdata.Finisher.Name
end
end
;(function()
local cosmeticGuiState = {
Wanted = false,
Gui = nil,
WeaponSearch = "",
CosmeticSearch = "",
Mode = "Skin",
SelectedWeapon = nil,
SelectedCosmetic = nil,
Weapons = {},
Cosmetics = {},
Columns = 6,
TileW = 130,
TileH = 124
}
local function displayName(name, data)
return tostring((data and (data.DisplayName or data.Name)) or name or "")
end
local function iconFrom(data, fallback, name)
if not data then return fallback or "" end
local cosmeticImage = name and consts and consts.COSMETIC_IMAGES and consts.COSMETIC_IMAGES[name]
local typeInfo = data.Type and clib.Types and clib.Types[data.Type]
return cosmeticImage
or data.ImageHighResolution
or data.Image
or data.Icon
or data.Texture
or fallback
or (typeInfo and typeInfo.Image)
or ""
end
local function sortByName(list)
table.sort(list, function(a, b)
return tostring(a.Name):lower() < tostring(b.Name):lower()
end)
return list
end
local function cosmeticMatchesWeapon(data, weapon)
if not data then return false end
local itemName = data.ItemName or data.WeaponName or data.Weapon or data.Item
if itemName then
return tostring(itemName):lower() == tostring(weapon or ""):lower()
end
return data.Type ~= "Skin"
end
local function rebuildCosmeticLists()
table.clear(cosmeticGuiState.Weapons)
table.clear(cosmeticGuiState.Cosmetics)
for name, data in pairs(coss) do
if not banned(name) and data.Type == "Weapon" then
local dispName = displayName(name, data)
local dispImg = iconFrom(data, ilib.Items and ilib.Items[name] and ilib.Items[name].Image, name)
if equip[name] and equip[name].Skin then
local skinData = equip[name].Skin
dispName = displayName(skinData.Name, skinData)
dispImg = iconFrom(skinData, nil, skinData.Name)
end
table.insert(cosmeticGuiState.Weapons, {
Name = name,
Display = dispName,
Image = dispImg,
Data = data
})
end
end
if #cosmeticGuiState.Weapons == 0 and ilib.ItemsAlphabetized then
for _, name in ipairs(ilib.ItemsAlphabetized) do
local data = ilib.Items and ilib.Items[name]
if data and not banned(name) then
local dispName = displayName(name, data)
local dispImg = iconFrom(data, nil, name)
if equip[name] and equip[name].Skin then
local skinData = equip[name].Skin
dispName = displayName(skinData.Name, skinData)
dispImg = iconFrom(skinData, nil, skinData.Name)
end
table.insert(cosmeticGuiState.Weapons, {
Name = name,
Display = dispName,
Image = dispImg,
Data = data
})
end
end
end
sortByName(cosmeticGuiState.Weapons)
if not cosmeticGuiState.SelectedWeapon and cosmeticGuiState.Weapons[1] then
cosmeticGuiState.SelectedWeapon = cosmeticGuiState.Weapons[1].Name
end
local mode = cosmeticGuiState.Mode
for name, data in pairs(coss) do
if not banned(name) and data.Type == mode and cosmeticMatchesWeapon(data, cosmeticGuiState.SelectedWeapon) then
table.insert(cosmeticGuiState.Cosmetics, {
Name = name,
Display = displayName(name, data),
Image = iconFrom(data, nil, name),
Data = data
})
end
end
sortByName(cosmeticGuiState.Cosmetics)
end
forceCosmeticUpdate = function(weapon, ctype)
task.spawn(function()
if not customCosmeticsRuntime.Alive then return end
saferep("CosmeticInventory")
saferep("WeaponInventory")
-- Finishers belong to the entity elimination hook, not viewmodel serials.
-- EnumLibrary has no Finisher field; encoding it aborts every rebuild.
if ctype == "Finisher" then return end
-- The unmasked weapon data is the baseline when an override is suspended.
local cosmetics = table.clone(localWeaponDataRecords.ReadOriginal(dctrl, weapon) or {})
for category, value in pairs(equip[weapon] or {}) do cosmetics[category] = value end
local fighter = fctrl and fctrl:GetFighter(lp)
if not fighter then return end
local item
for _, fighterItem in fighter.Items or {} do
if fighterItem.Name == weapon then
item = fighterItem
break
end
end
if not item then return end
local wasEquipped = fighter.EquippedItem == item or item.IsEquipped == true
local function refreshHotbar()
local hotbar = fighter.FighterInterface and fighter.FighterInterface.Hotbar
for _, hotbarSlot in pairs(hotbar and hotbar._hotbar_slots or {}) do
if hotbarSlot.ClientItem == item then
if hotbarSlot._Setup then
pcall(hotbarSlot._Setup, hotbarSlot)
end
if hotbarSlot.UpdateVisuals then
pcall(hotbarSlot.UpdateVisuals, hotbarSlot)
end
break
end
end
end
for _, category in ipairs({"Skin", "Wrap", "Charm"}) do
pcall(function()
if item.Set then item:Set(category, cosmetics[category]) end
end)
pcall(function()
if item.Data then item.Data[category] = cosmetics[category] end
end)
end
local rebuilt = false
local oldViewModel = item.ViewModel
if oldViewModel and oldViewModel._serial and replicatedClass and clientViewModelClass then
local serial = table.clone(oldViewModel._serial)
local dataKey = replicatedClass:ToEnum("Data")
local data = table.clone(serial.Data or serial[dataKey] or {})
serial[dataKey] = data
serial.Data = nil
for _, cosmeticType in ipairs({"Skin", "Wrap", "Charm"}) do
local cosmetic = cosmetics[cosmeticType]
data[replicatedClass:ToEnum(cosmeticType)] = cosmetic
data[cosmeticType] = nil
if oldViewModel.Data then
oldViewModel.Data[cosmeticType] = cosmetic
end
end
local resolvedName = resolveViewModelName(weapon, cosmetics)
data[replicatedClass:ToEnum("Name")] = resolvedName
data.Name = nil
local className = resolveViewModelClassName(weapon, cosmetics, resolvedName)
local targetClass = resolveViewModelClass(className) or clientViewModelClass
local identity = getthreadidentity and getthreadidentity() or 8
constructingVirtualViewModelClass = targetClass ~= clientViewModelClass
local ok, newViewModel = pcall(function()
if setthreadidentity then pcall(setthreadidentity, 2) end
return targetClass.new(serial, item)
end)
constructingVirtualViewModelClass = false
if setthreadidentity then pcall(setthreadidentity, identity) end
if (not ok or not isValidViewModel(newViewModel)) and resolvedName ~= weapon then
if newViewModel and type(newViewModel) == "table" and newViewModel.Destroy then
pcall(newViewModel.Destroy, newViewModel)
end
data[replicatedClass:ToEnum("Name")] = weapon
data.Name = nil
ok, newViewModel = pcall(function()
if setthreadidentity then pcall(setthreadidentity, 2) end
return (clientViewModelBaseNew or clientViewModelClass.new)(serial, item)
end)
if setthreadidentity then pcall(setthreadidentity, identity) end
end
if ok and isValidViewModel(newViewModel) then
hideCustomSkinRig(newViewModel)
if wasEquipped and oldViewModel.Unequip then
pcall(oldViewModel.Unequip, oldViewModel)
end
item.ViewModel = newViewModel
if wasEquipped and newViewModel.Equip then
pcall(newViewModel.Equip, newViewModel, true)
end
if oldViewModel ~= newViewModel and oldViewModel.Destroy then
pcall(oldViewModel.Destroy, oldViewModel)
end
refreshHotbar()
rebuilt = true
elseif newViewModel and type(newViewModel) == "table" and newViewModel.Destroy then
pcall(newViewModel.Destroy, newViewModel)
end
end
local vm = item.ViewModel
for _, obj in ipairs({item, vm}) do
if obj then
for _, method in ipairs({
"_UpdateWrap",
"UpdateWrap",
"_UpdateCharm",
"UpdateCharm",
"_UpdateCosmetics",
"UpdateCosmetics",
"_RefreshViewModel",
"RefreshViewModel",
"UpdateViewModel"
}) do
if obj[method] then
pcall(obj[method], obj)
end
end
end
end
task.wait(0.1)
saferep("WeaponInventory")
refreshHotbar()
end)
end
applyCosmeticToWeapon = function(weapon, cosmeticName, ctype, skipRebuild)
if not weapon or weapon == "" then return end
ctype = ctype or cosmeticGuiState.Mode
local independentlyOwned = cosmeticName and (customCosmeticsRuntime.Definitions[cosmeticName]
or customCosmeticsRuntime.Injected[cosmeticName] or customCosmeticsRuntime.Granted[cosmeticName])
local suspended = customCosmeticsRuntime.EquipSuspended and (skipRebuild or not independentlyOwned)
local selections = suspended and customCosmeticsRuntime.CachedEquip or equip
if not suspended and customCosmeticsRuntime.EquipSuspended then
local cached = customCosmeticsRuntime.CachedEquip[weapon]
if cached then cached[ctype] = nil end
end
selections[weapon] = selections[weapon] or {}
if not cosmeticName or cosmeticName == "" or cosmeticName == "None" then
selections[weapon][ctype] = nil
if ctype == "Finisher" and not suspended then fcache[weapon] = nil end
else
if cosmeticName == "__random" then
local pool = cosmeticGuiState.Cosmetics
local pick = pool[math.random(1, math.max(1, #pool))]
cosmeticName = pick and pick.Name or nil
end
local cloned = cosmeticName and clonecos(cosmeticName, ctype)
if cloned then
selections[weapon][ctype] = cloned
if ctype == "Finisher" and not suspended then
fcache[weapon] = cloned.Name
end
end
end
if selections[weapon] and not next(selections[weapon]) then
selections[weapon] = nil
end
if not skipRebuild and scheduleSkinAutoSave then scheduleSkinAutoSave() end
if not skipRebuild and not suspended then
task.defer(function()
saferep("CosmeticInventory")
saferep("WeaponInventory")
forceCosmeticUpdate(weapon, ctype)
end)
end
end
local function rebuildPeerViewModels(player, restoring)
task.spawn(function()
local fighter = fctrl and fctrl:GetFighter(player)
if not (fighter and replicatedClass and clientViewModelClass) then return end
for _, item in pairs(fighter.Items or {}) do
local oldViewModel = item and item.ViewModel
if oldViewModel and oldViewModel._serial then
if not peerViewModelOriginals[item] then
local original = table.clone(oldViewModel._serial)
local dataKey = replicatedClass:ToEnum("Data")
local data = oldViewModel._serial.Data or oldViewModel._serial[dataKey]
if type(data) == "table" then
local dataCopy = table.clone(data)
if original[dataKey] ~= nil or original.Data == nil then
original[dataKey], original.Data = dataCopy, nil
else
original.Data = dataCopy
end
end
peerViewModelOriginals[item] = original
end
local serial = table.clone(peerViewModelOriginals[item])
local dataKey = replicatedClass:ToEnum("Data")
local data = table.clone(serial.Data or serial[dataKey] or {})
serial[dataKey], serial.Data = data, nil
local cosmetics = restoring and nil or cosmeticsForPlayer(player, item.Name)
local resolvedName = item.Name
if cosmetics then
for _, cosmeticType in ipairs({"Skin", "Wrap", "Charm"}) do
data[replicatedClass:ToEnum(cosmeticType)] = cosmetics[cosmeticType]
data[cosmeticType] = nil
end
if oldViewModel.Data then
for _, cosmeticType in ipairs({"Skin", "Wrap", "Charm"}) do
if cosmetics[cosmeticType] ~= nil then oldViewModel.Data[cosmeticType] = cosmetics[cosmeticType] end
end
end
resolvedName = resolveViewModelName(item.Name, cosmetics)
data[replicatedClass:ToEnum("Name")] = resolvedName
data.Name = nil
end
local className = cosmetics and resolveViewModelClassName(item.Name, cosmetics, resolvedName) or item.Name
local targetClass = resolveViewModelClass(className) or clientViewModelClass
local previousIdentity = getthreadidentity and getthreadidentity() or 8
constructingVirtualViewModelClass = targetClass ~= clientViewModelClass
local ok, newViewModel = pcall(function()
if setthreadidentity then pcall(setthreadidentity, 2) end
return targetClass.new(serial, item)
end)
constructingVirtualViewModelClass = false
if setthreadidentity then pcall(setthreadidentity, previousIdentity) end
if ok and isValidViewModel(newViewModel) then
local wasEquipped = fighter.EquippedItem == item or item.IsEquipped == true
if wasEquipped and oldViewModel.Unequip then pcall(oldViewModel.Unequip, oldViewModel) end
item.ViewModel = newViewModel
if wasEquipped and newViewModel.Equip then pcall(newViewModel.Equip, newViewModel, true) end
if oldViewModel ~= newViewModel and oldViewModel.Destroy then pcall(oldViewModel.Destroy, oldViewModel) end
elseif newViewModel and type(newViewModel) == "table" and newViewModel.Destroy then
pcall(newViewModel.Destroy, newViewModel)
end
if restoring then peerViewModelOriginals[item] = nil end
end
end
end)
end
-- Keep the desired selections separate from the table consumed by live hooks.
-- Rebuild once per affected weapon, not once for each cosmetic category.
function customCosmeticsRuntime:SetEquipSuspended(suspended)
if self.EquipSuspended == suspended then return end
self.EquipSuspended = suspended
local affected = {}
if suspended then
for weapon, slots in pairs(equip) do
self.CachedEquip[weapon] = slots
affected[weapon] = true
end
table.clear(equip)
else
for weapon, slots in pairs(self.CachedEquip) do
local active = equip[weapon] or {}
for category, value in pairs(slots) do if active[category] == nil then active[category] = value end end
equip[weapon] = active
affected[weapon] = true
end
table.clear(self.CachedEquip)
end
table.clear(fcache)
for weapon, slots in pairs(equip) do
if slots.Finisher then fcache[weapon] = slots.Finisher.Name end
end
for weapon in pairs(affected) do task.defer(forceCosmeticUpdate, weapon, "Skin") end
saferep("WeaponInventory")
rebuildCosmeticLists()
if cosmeticGuiState.Refresh then cosmeticGuiState.Refresh() end
end
shared.LionCosmeticChanger = {
SetUnlockAll = function(enabled)
unlockAllEnabled = enabled == true
customCosmeticsRuntime:SetEquipSuspended(not unlockAllEnabled)
if LionLibrary and LionLibrary.NativeUI then
LionLibrary.NativeUI.cfg.PlexUnlockAll = unlockAllEnabled
if LionLibrary.NativeMenu then LionLibrary.NativeMenu.refreshToggles() end
end
local ok, why = syncUnlockMask()
if not ok and unlockAllEnabled then
mainapi:Notify({Text="Unlock All is waiting for player data: "..tostring(why),Duration=2})
end
saferep("CosmeticInventory")
saferep("FavoritedCosmetics")
saferep("EquippedEmotes")
if scheduleSkinAutoSave then scheduleSkinAutoSave() end
end,
SetVisible = function(visible)
cosmeticGuiState.Wanted = false
if visible and LionLibrary and LionLibrary.NativeMenu then
LionLibrary:SetVisible(true)
LionLibrary.NativeMenu.showTab("skins")
end
end,
Toggle = function()
cosmeticGuiState.Wanted = false
if LionLibrary and LionLibrary.NativeMenu then
LionLibrary:SetVisible(true)
LionLibrary.NativeMenu.showTab("skins")
end
end,
Refresh = function()
rebuildCosmeticLists()
if cosmeticGuiState.Refresh then cosmeticGuiState.Refresh() end
end,
GetEquipData = function()
local export = {}
local selections = table.clone(customCosmeticsRuntime.CachedEquip)
for weapon, slots in pairs(equip) do
local merged = table.clone(selections[weapon] or {})
for category, value in pairs(slots) do merged[category] = value end
selections[weapon] = merged
end
for w, cats in pairs(selections) do
export[w] = {}
for cat, data in pairs(cats) do
if data and data.Name then
local saved = {Name = data.Name}
if cat == "Wrap" then saved.Inverted = data.Inverted == true end
if data.OnlyUseFavorites ~= nil then saved.OnlyUseFavorites = data.OnlyUseFavorites == true end
export[w][cat] = saved
end
end
end
return export
end,
ExportPeerData = function()
local export, count = {}, 0
local currentWeapon = getewep() or lwep
local function addWeapon(weapon, cats)
if count >= 32 or type(weapon) ~= "string" or type(cats) ~= "table" then return end
local compact = {}
for category, data in pairs(cats) do
if (category == "Skin" or category == "Wrap" or category == "Charm" or category == "Finisher")
and data and type(data.Name) == "string" then
compact[category:sub(1, 1):lower()] = data.Name:sub(1, 80)
end
end
if next(compact) then
export[tostring(weapon):sub(1, 64)] = compact
count += 1
end
end
if currentWeapon and equip[currentWeapon] then addWeapon(currentWeapon, equip[currentWeapon]) end
for weapon, cats in pairs(equip) do
if count >= 32 then break end
if weapon ~= currentWeapon then addWeapon(weapon, cats) end
end
return next(export) and export or nil, currentWeapon
end,
ApplyPeerData = function(player, data)
if not player or player == lp or type(data) ~= "table" then return end
local restored, count = {}, 0
local categories = {s="Skin", w="Wrap", c="Charm", f="Finisher"}
for weapon, compact in pairs(data) do
if count >= 32 then break end
if type(weapon) == "string" and type(compact) == "table" then
local cats = {}
for short, category in pairs(categories) do
local name = compact[short]
if type(name) == "string" and #name <= 80 then
local cosmetic = clonecos(name, category)
if cosmetic then cats[category] = cosmetic end
end
end
if next(cats) then
restored[weapon] = cats
count += 1
end
end
end
peerEquip[player.UserId] = restored
rebuildPeerViewModels(player, false)
local fighter = fctrl and fctrl:GetFighter(player)
for _, item in pairs(fighter and fighter.Items or {}) do
for _, object in ipairs({item, item.ViewModel}) do
for _, method in ipairs({"_UpdateWrap", "UpdateWrap", "_UpdateCharm", "UpdateCharm", "_UpdateCosmetics", "UpdateCosmetics"}) do
if object and type(object[method]) == "function" then pcall(object[method], object) end
end
end
end
end,
RemovePeerData = function(player)
if player then
peerEquip[player.UserId] = nil
rebuildPeerViewModels(player, true)
end
end,
LoadEquipData = function(data)
if type(data) ~= "table" then return end
table.clear(customCosmeticsRuntime.CachedEquip)
table.clear(equip)
table.clear(fcache)
for w, cats in pairs(data) do
if type(cats) == "table" then
for cat, saved in pairs(cats) do
local name = saved
local inverted, onlyUseFavorites
if type(saved) == "table" then
name = saved.Name or saved.CosmeticName
inverted = saved.Inverted
onlyUseFavorites = saved.OnlyUseFavorites
end
if type(name) == "string" then
applyCosmeticToWeapon(w, name, cat, true)
local selections = customCosmeticsRuntime.EquipSuspended and customCosmeticsRuntime.CachedEquip or equip
local applied = selections[w] and selections[w][cat]
if applied then
if inverted ~= nil then applied.Inverted = inverted == true end
if onlyUseFavorites ~= nil then applied.OnlyUseFavorites = onlyUseFavorites == true end
end
task.defer(function()
if not customCosmeticsRuntime.EquipSuspended then pcall(forceCosmeticUpdate, w, cat) end
end)
end
end
end
end
saferep("CosmeticInventory")
saferep("WeaponInventory")
if cosmeticGuiState.SelectedWeapon then
local currentEquip = equip[cosmeticGuiState.SelectedWeapon]
if currentEquip and currentEquip[cosmeticGuiState.Mode] then
cosmeticGuiState.SelectedCosmetic = currentEquip[cosmeticGuiState.Mode].Name
else
cosmeticGuiState.SelectedCosmetic = nil
end
end
rebuildCosmeticLists()
if cosmeticGuiState.Refresh then cosmeticGuiState.Refresh() end
end,
Apply = applyCosmeticToWeapon,
State = cosmeticGuiState
}
shared.LionCosmeticChanger.RegisterCustomCosmetic = function(definition)
return customCosmeticsRuntime:Register(definition)
end
shared.LionCosmeticChanger.RemoveCustomCosmetic = function(key)
return customCosmeticsRuntime:Remove(key)
end
shared.LionCosmeticChanger.ListCustomCosmetics = function()
return customCosmeticsRuntime:Serialize()
end
shared.LionCosmeticChanger.InjectCosmetic = function(name, amount) return customCosmeticsRuntime:Inject(name, amount) end
shared.LionCosmeticChanger.RemoveInjectedCosmetic = function(name) return customCosmeticsRuntime:RemoveInjected(name) end
shared.LionCosmeticChanger.InjectBox = function(name, amount) return customCosmeticsRuntime:InjectBox(name, amount) end
shared.LionCosmeticChanger.RemoveBox = function(name) return customCosmeticsRuntime:RemoveBox(name) end
shared.LionCosmeticChanger.OpenBox = function(name, quantity, weapon) return customCosmeticsRuntime:OpenBox(name, quantity, weapon) end
shared.LionCosmeticChanger.ListBoxes = function() return customCosmeticsRuntime:BoxNames() end
shared.LionCosmeticChanger.SetSpecificOwnership = function(selections, unlocked)
return customCosmeticsRuntime:SetSpecificOwnership(selections, unlocked)
end
mainapi:Clean(function()
customCosmeticsRuntime.Alive = false
if customCosmeticsRuntime.RewardUseClass and customCosmeticsRuntime.RewardUseClass.Use == customCosmeticsRuntime.RewardUseReplacement then
customCosmeticsRuntime.RewardUseClass.Use = customCosmeticsRuntime.RewardUseOriginal
end
customCosmeticsRuntime:Clear()
if customCosmeticsRuntime.NativeSlotClass and customCosmeticsRuntime.NativeSlotClass.new == customCosmeticsRuntime.NativeSlotReplacement then
customCosmeticsRuntime.NativeSlotClass.new = customCosmeticsRuntime.NativeSlotOriginal
end
for _, cached in pairs(customCosmeticsRuntime.ModelCache or {}) do cached.Asset:Destroy() end
customCosmeticsRuntime.ModelCache = nil
table.clear(customCosmeticsRuntime.Injected)
table.clear(customCosmeticsRuntime.Boxes)
table.clear(customCosmeticsRuntime.Granted)
table.clear(customCosmeticsRuntime.Locked)
table.clear(customCosmeticsRuntime.LockedBoxes)
if syncUnlockMask then syncUnlockMask() end
end)
mainapi:Clean(plrs.PlayerRemoving:Connect(function(player)
peerEquip[player.UserId] = nil
end))
mainapi:Clean(function()
table.clear(peerEquip)
table.clear(peerViewModelOriginals)
end)
-- Spoofed emotes can appear equipped through the local PlayerData mask, but
-- RIVALS still checks real ownership when UseEmoteByName runs. Keep owned
-- emotes on the normal path and locally instantiate spoofed emotes with the
-- game's own emote modules.
do
local emoteController
local originalUseEmoteByName
local installedEmoteHook = false
local currentCustomEmote, currentCustomKey
local function withIdentity2(callback)
local previous = getthreadidentity and getthreadidentity()
if setthreadidentity then pcall(setthreadidentity, 2) end
local ok, result = pcall(callback)
if previous ~= nil and setthreadidentity then pcall(setthreadidentity, previous) end
return ok, result
end
function customCosmeticsRuntime:CreateEmote(name, humanoid)
local definition = assert(self.Definitions[name], "Custom emote no longer exists")
local ok, base = withIdentity2(function() return require(reps.Modules.Emote) end)
if not ok or type(base) ~= "table" then error("Native emote base unavailable") end
local object = base.new(nil, name, humanoid)
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://" .. definition.AnimationId
table.insert(object._destroy_these, animation)
local animator = humanoid:FindFirstChildOfClass("Animator")
if not animator then object:Destroy() error("Character animator unavailable") end
local loaded, track = pcall(animator.LoadAnimation, animator, animation)
if not loaded then object:Destroy() error(tostring(track)) end
table.insert(object._animation_tracks, track)
track.Priority, track.Looped = Enum.AnimationPriority.Action4, definition.Loop
object.PlayClient = function() track:Play(0.1, 1, definition.Speed) end
table.insert(object._connections, track.Stopped:Connect(function() object:Destroy() end))
return object
end
function customCosmeticsRuntime:StopEmotePreviews(key)
for preview in pairs(self.EmotePreviews or {}) do
if not key or (preview._last_emote and preview._last_emote.Name == key) then
preview._playing_hash += 1
if preview._last_emote then preview._last_emote:Destroy() preview._last_emote = nil end
if preview._last_rig then preview._last_rig:Destroy() preview._last_rig = nil end
self.EmotePreviews[preview] = nil
end
end
end
function customCosmeticsRuntime:EnsureEmotePreview()
if self.EmotePreviewClass then return end
local scene = lps.Modules.UserInterface.Equipment:FindFirstChild("Scene")
local node = scene and scene:FindFirstChild("EmotePlayer")
local class = node and safeRequireModule(node)
if not class or type(class._StartPlaying) ~= "function" then return end
local original = class._StartPlaying
self.EmotePreviews = setmetatable({}, {__mode="k"})
local replacement = function(preview, ...)
local key = preview.Scene.Equipment:GetSelectedCosmetic()
local definition = self.Definitions[key]
if not self.Alive or not definition or definition.Type ~= "Emote" or preview.Scene.Equipment:GetCustomizingType() ~= "Emote" then
self.EmotePreviews[preview] = nil
return original(preview, ...)
end
self.EmotePreviews[preview] = true
preview._playing_hash += 1
if preview._last_emote then preview._last_emote:Destroy() preview._last_emote = nil end
if preview._last_rig then preview._last_rig:Destroy() preview._last_rig = nil end
local ok, why = pcall(function()
local rig = fctrl:GenerateCharacterModel(lp.UserId).Template:Clone()
preview._last_rig = rig
rig:PivotTo(preview.Scene:GetHumanoidCFrame())
rig.HumanoidRootPart.Anchored = true
rig.Humanoid:SetAttribute("SimulateMoving", true)
rig.Parent = preview.Scene.Model
preview._last_emote = self:CreateEmote(key, rig.Humanoid)
preview._last_emote:PlayClient()
end)
if not ok then self:StopEmotePreviews(key) warn("[Plex Emote] Preview: " .. tostring(why)) end
end
class._StartPlaying = replacement
self.EmotePreviewClass = class
mainapi:Clean(function()
self:StopEmotePreviews()
if class._StartPlaying == replacement then class._StartPlaying = original end
end)
end
local function reallyOwnsEmote(name)
local entry = getRealCosmeticEntry and getRealCosmeticEntry(name)
if entry == nil or entry == false then return false end
if type(entry) == "table" and entry.Owned == false then return false end
return true
end
local function localEntity()
local fighter
pcall(function()
fighter = (fctrl and fctrl.LocalFighter) or (fctrl and fctrl:GetFighter(lp))
end)
return fighter and fighter.Entity or nil
end
local function playSpoofedEmote(name)
if type(name) ~= "string" or name == "" then return false, "invalid emote" end
if customCosmeticsRuntime.Locked[name] then return false, "this emote is locally locked" end
local cosmetic = coss[name]
if type(cosmetic) ~= "table" or cosmetic.Type ~= "Emote" then
return false, "unknown emote"
end
local entity = localEntity()
if not entity then return false, "local fighter not ready" end
local humanoid
pcall(function() humanoid = entity.Humanoid end)
if not humanoid and lp.Character then humanoid = lp.Character:FindFirstChildOfClass("Humanoid") end
if not humanoid or humanoid.Health <= 0 then return false, "you must be alive" end
local custom = customCosmeticsRuntime.Definitions[name]
local emoteModule
if custom and custom.Type == "Emote" then
emoteModule = {new=function(hum)
local object = customCosmeticsRuntime:CreateEmote(name, hum)
object.Destroying:Connect(function()
if currentCustomEmote == object then currentCustomEmote, currentCustomKey = nil, nil end
if rawget(entity, "_current_emote") == object then
rawset(entity, "_current_emote", nil)
if entity.EmoteStatusChanged then entity.EmoteStatusChanged:Fire() end
end
end)
currentCustomEmote, currentCustomKey = object, name
return object
end}
end
pcall(function()
if emoteModule then return end
local modules = reps:FindFirstChild("Modules")
local folder = modules and modules:FindFirstChild("Emotes")
local node = folder and folder:FindFirstChild(name)
if node then withIdentity2(function() emoteModule = require(node) end) end
end)
if type(emoteModule) ~= "table" or type(emoteModule.new) ~= "function" then
return false, "emote module unavailable"
end
if currentCustomEmote then currentCustomEmote:Destroy() end
pcall(function() entity:CancelEmote(nil) end)
local object
local objectId = "PLEX_EMOTE_" .. tostring(math.random(100000000, 999999999))
local started = false
withIdentity2(function()
started = pcall(function()
object = emoteModule.new(humanoid)
if type(object.SetSerial) == "function" then
object:SetSerial({ObjectID=objectId,Name=name,Seed=math.random(1,1000000)})
end
rawset(entity, "_current_emote", object)
pcall(function()
if entity.EmoteStatusChanged then entity.EmoteStatusChanged:Fire() end
end)
if type(object.PlayServer) == "function" then task.spawn(function() pcall(object.PlayServer, object) end) end
if type(object.PlayClient) == "function" then task.spawn(function() pcall(object.PlayClient, object) end) end
end)
end)
if not started then return false, "emote failed to start" end
task.spawn(function()
local root = humanoid.RootPart
local origin = root and root.Position
local t0 = os.clock()
while rawget(entity, "_current_emote") == object do
task.wait(0.15)
root = humanoid.RootPart
local moved = root and origin and (root.Position-origin).Magnitude >= 4
local lifetime = tonumber(object.Lifetime)
if humanoid.Health <= 0 or moved or (lifetime and os.clock()-t0 > lifetime+0.5) then
pcall(function() entity:CancelEmote(objectId) end)
break
end
end
end)
return true
end
local function resolveEmoteController()
if emoteController then return emoteController end
pcall(function()
local node = ctrls:FindFirstChild("EmoteController")
if not node then
for _, child in ipairs(lps:GetDescendants()) do
if child:IsA("ModuleScript") and child.Name == "EmoteController" then node=child break end
end
end
if node then emoteController=require(node) end
end)
return emoteController
end
local function installEmoteHook()
if installedEmoteHook then return true end
local controller=resolveEmoteController()
if type(controller)~="table" or type(controller.UseEmoteByName)~="function" then return false end
originalUseEmoteByName=controller.UseEmoteByName
local replacement=function(self,name,...)
if customCosmeticsRuntime.Locked[name] then return false, "this emote is locally locked" end
local custom = customCosmeticsRuntime.Definitions[name]
if custom and custom.Type == "Emote" then return playSpoofedEmote(name) end
if type(name)=="string" and not reallyOwnsEmote(name) then
local played=playSpoofedEmote(name)
if played then return true end
end
return originalUseEmoteByName(self,name,...)
end
local ok=pcall(function() controller.UseEmoteByName=replacement end)
installedEmoteHook=ok and controller.UseEmoteByName==replacement
return installedEmoteHook
end
shared.LionCosmeticChanger.PlayEmote=function(name)
if customCosmeticsRuntime.Locked[name] then return false, "this emote is locally locked" end
installEmoteHook()
if reallyOwnsEmote(name) then
local controller=resolveEmoteController()
if controller and type(controller.UseEmoteByName)=="function" then
local ok=pcall(controller.UseEmoteByName,controller,name)
if ok then return true end
end
end
return playSpoofedEmote(name)
end
shared.LionCosmeticChanger.InstallEmoteHook=installEmoteHook
shared.LionCosmeticChanger.StopCustomEmote=function(key)
if currentCustomEmote and (not key or currentCustomKey == key) then currentCustomEmote:Destroy() end
end
installEmoteHook()
mainapi:Clean(function()
shared.LionCosmeticChanger.StopCustomEmote()
if installedEmoteHook and emoteController and originalUseEmoteByName then
pcall(function() emoteController.UseEmoteByName=originalUseEmoteByName end)
end
end)
end
local skinConfig = {
Folder = "Plex/CascadeSkinConfigs",
State = {LastConfig = "default", AutoLoad = false, AutoSave = false},
Loading = false,
Ready = false,
SaveToken = 0,
}
skinConfig.StatePath = skinConfig.Folder .. "/active.json"
local function skinConfigName(value)
return tostring(value or ""):gsub("[^%w_%-%[%] %.']", "")
end
function skinConfig:EnsureFolder()
if type(makefolder) ~= "function" or type(isfolder) ~= "function" then return end
if not isfolder("Plex") then makefolder("Plex") end
if not isfolder(self.Folder) then makefolder(self.Folder) end
end
function skinConfig:SaveState()
if type(writefile) ~= "function" then return end
self:EnsureFolder()
pcall(writefile, self.StatePath, HttpService:JSONEncode(self.State))
end
do
if type(readfile) == "function" and type(isfile) == "function" and isfile(skinConfig.StatePath) then
local ok, data = pcall(function() return HttpService:JSONDecode(readfile(skinConfig.StatePath)) end)
if ok and type(data) == "table" then
skinConfig.State.LastConfig = skinConfigName(data.LastConfig)
skinConfig.State.AutoLoad = data.AutoLoad ~= false
skinConfig.State.AutoSave = data.AutoSave ~= false
end
end
end
function skinConfig:List()
local names = {}
if type(listfiles) ~= "function" then return names end
local ok, files = pcall(listfiles, self.Folder)
if not ok or type(files) ~= "table" then return names end
for _, file in ipairs(files) do
local name = tostring(file):gsub("\\", "/"):match("([^/]+)%.json$")
if name and name ~= "active" then table.insert(names, name) end
end
table.sort(names)
return names
end
function skinConfig:Save(name, imported)
name = skinConfigName(name)
if name == "" or name == "active" then return false, "Enter a skin config name" end
if type(writefile) ~= "function" then return false, "File writing is unavailable" end
self:EnsureFolder()
local savedWheel = {}
for slot = 1, 8 do
if emoteWheelSlots[slot] ~= nil then savedWheel[tostring(slot)] = emoteWheelSlots[slot] end
end
local data = {Version = 7, Equip = imported or shared.LionCosmeticChanger.GetEquipData(), CustomCosmetics = customCosmeticsRuntime:Serialize(), UnlockAll = unlockAllEnabled, SpoofWeaponOwner = spoofWeaponOwnerEnabled, DisableAnimatedWraps = disableAnimatedWraps, EmoteWheel = savedWheel}
local ok, err = pcall(writefile, self.Folder .. "/" .. name .. ".json", HttpService:JSONEncode(data))
if not ok then return false, tostring(err) end
self.State.LastConfig = name
self:SaveState()
return true
end
function skinConfig:Load(name)
name = skinConfigName(name)
local path = self.Folder .. "/" .. name .. ".json"
if name == "" or type(isfile) ~= "function" or not isfile(path) then return false, "Skin config not found: " .. name end
local ok, data = pcall(function() return HttpService:JSONDecode(readfile(path)) end)
if not ok or type(data) ~= "table" or type(data.Equip) ~= "table" then return false, "Invalid skin config: " .. name end
self.Loading = true
customCosmeticsRuntime:BeginBatch()
local applied, err = pcall(function()
customCosmeticsRuntime:Clear()
if type(data.CustomCosmetics) == "table" then
for _, definition in ipairs(data.CustomCosmetics) do
local registered, why = customCosmeticsRuntime:Register(definition)
if not registered then warn("[Plex Skins] Custom cosmetic skipped: " .. tostring(why)) end
end
end
if data.UnlockAll ~= nil then shared.LionCosmeticChanger.SetUnlockAll(data.UnlockAll == true) end
if data.SpoofWeaponOwner ~= nil then
spoofWeaponOwnerEnabled = data.SpoofWeaponOwner == true
syncUnlockMask()
end
if data.DisableAnimatedWraps ~= nil then
disableAnimatedWraps = data.DisableAnimatedWraps == true
if LionLibrary and LionLibrary.NativeUI then
LionLibrary.NativeUI.cfg.PlexDisableAnimatedWraps = disableAnimatedWraps
end
task.defer(refreshAnimatedWrapState)
end
shared.LionCosmeticChanger.LoadEquipData(data.Equip)
table.clear(emoteWheelSlots)
if type(data.EmoteWheel) == "table" then
for slot = 1, 8 do
local value = data.EmoteWheel[tostring(slot)]
if value == nil then value = data.EmoteWheel[slot] end
if value == false or (type(value) == "string" and coss[value] and coss[value].Type == "Emote") then
emoteWheelSlots[slot] = value
end
end
end
emoteWheelCustom = next(emoteWheelSlots) ~= nil
syncUnlockMask()
end)
customCosmeticsRuntime:EndBatch()
self.Loading = false
if not applied then return false, tostring(err) end
self.State.LastConfig = name
self:SaveState()
return true
end
function skinConfig:ImportLegacy()
local path = self.Folder .. "/" .. skinConfigName(self.State.LastConfig) .. ".json"
if type(isfile) ~= "function" or isfile(path) or type(readfile) ~= "function" then return false end
local general = "main"
if isfile("Overlay/autoload.json") then
local ok, state = pcall(function() return HttpService:JSONDecode(readfile("Overlay/autoload.json")) end)
if ok and type(state) == "table" then general = skinConfigName(state.LastConfig) end
end
local oldPath = "Overlay/settings/" .. general .. ".json"
if not isfile(oldPath) then return false end
local ok, data = pcall(function() return HttpService:JSONDecode(readfile(oldPath)) end)
if not ok or type(data) ~= "table" or type(data.custom) ~= "table" or next(data.custom) == nil then return false end
return self:Save(self.State.LastConfig, data.custom)
end
function skinConfig:TryAutoLoad()
self.Ready = true
if not self.State.AutoLoad then return false end
self:ImportLegacy()
if type(isfile) ~= "function" or not isfile(self.Folder .. "/" .. skinConfigName(self.State.LastConfig) .. ".json") then
return false
end
local ok, err = self:Load(self.State.LastConfig)
if not ok then warn("[Plex Skins] Auto load: " .. tostring(err)) end
return ok
end
scheduleSkinAutoSave = function()
if not skinConfig.Ready or skinConfig.Loading or not skinConfig.State.AutoSave then return end
skinConfig.SaveToken += 1
local token = skinConfig.SaveToken
task.delay(0.6, function()
if token ~= skinConfig.SaveToken or skinConfig.Loading then return end
local ok, err = skinConfig:Save(skinConfig.State.LastConfig)
if not ok then warn("[Plex Skins] Auto save: " .. tostring(err)) end
end)
end
shared.LionCosmeticChanger.TryAutoLoadConfig = function() return skinConfig:TryAutoLoad() end
shared.LionCosmeticChanger.SaveConfig = function(name) return skinConfig:Save(name) end
shared.LionCosmeticChanger.LoadConfig = function(name) return skinConfig:Load(name) end
shared.LionCosmeticChanger.ListConfigs = function() return skinConfig:List() end
shared.LionCosmeticChanger.SetWeaponOwnership = function(enabled)
spoofWeaponOwnerEnabled = enabled == true
local ok, why = syncUnlockMask()
saferep("WeaponInventory")
return ok, why
end
shared.LionCosmeticChanger.SetAnimatedWrapsDisabled = function(enabled)
disableAnimatedWraps = enabled == true
for weapon in pairs(equip) do task.defer(forceCosmeticUpdate, weapon, "Wrap") end
end
shared.LionCosmeticChanger.CascadeCatalog = function(kind, weapon, query)
local items = {}
query = tostring(query or ""):lower()
for name, data in pairs(coss) do
if not banned(name) and data.Type == kind and (kind == "Weapon" or cosmeticMatchesWeapon(data, weapon))
and tostring(displayName(name,data)):lower():find(query,1,true) then
items[#items+1] = {Name=name,Display=displayName(name,data),Image=iconFrom(data,nil,name)}
end
end
if kind == "Weapon" and #items == 0 then
for name, data in pairs(ilib.Items or {}) do
if not banned(name) and name:lower():find(query,1,true) then
items[#items+1] = {Name=name,Display=displayName(name,data),Image=iconFrom(data,nil,name)}
end
end
end
return sortByName(items)
end
shared.LionCosmeticChanger.CascadeEquip = function(weapon, name, kind)
assert(ilib.Items and ilib.Items[weapon], "Choose a valid weapon")
if name and name ~= "None" then
local data = assert(coss[name], "Cosmetic no longer exists")
assert(data.Type == kind and cosmeticMatchesWeapon(data,weapon), "Cosmetic is incompatible with this weapon")
local ok, why = customCosmeticsRuntime:SetSpecificOwnership({["Cosmetic|"..name]=true},true)
assert(ok, tostring(why))
end
applyCosmeticToWeapon(weapon,name,kind)
end
shared.LionCosmeticChanger.CascadeReset = function()
local affected={}
for weapon in pairs(equip)do affected[weapon]=true end
for weapon in pairs(customCosmeticsRuntime.CachedEquip)do affected[weapon]=true end
table.clear(equip); table.clear(customCosmeticsRuntime.CachedEquip); table.clear(fcache)
for weapon in pairs(affected)do task.defer(forceCosmeticUpdate,weapon,"Skin")end
saferep("WeaponInventory")
end
skinConfig.Ready = true
exportedApi = shared.LionCosmeticChanger
end)()
end)
;(function()
local LocalPlayer=game:GetService("Players").LocalPlayer
local ReplicatedStorage=game:GetService("ReplicatedStorage")
local Config={}
local seasonCfg={}
local seasonNames={[0]="Zero",[1]="Warp",[2]="Polar",[3]="Fame"}
local seasonByName={Zero=0,Warp=1,Polar=2,Fame=3}
local seasonLib
local seasonOriginal
local seasonReplacement
local fighterController
local seasonRecords=setmetatable({}, {__mode="k"})
local function seasonNumber(value)
if type(value)=="number" then return value end
if type(value)~="string" then return nil end
return seasonByName[value] or tonumber(value:match("^Season (%d+)$")) or tonumber(value)
end
local function resolveSeasonLibrary()
if seasonLib then return seasonLib end
pcall(function()
local modules=ReplicatedStorage:FindFirstChild("Modules")
local module=modules and modules:FindFirstChild("SeasonLibrary")
if module then seasonLib=require(module) end
end)
return seasonLib
end
local function seasonRankProfile(index)
local lib=resolveSeasonLibrary()
local season=lib and lib.Seasons[seasonNames[index]]
return season and season.RankProfile
end
local function seasonRankChoices(index)
local profile=seasonRankProfile(index)
return profile and table.clone(profile.RanksOrder) or {}
end
local function seasonMetadata(value)
local index=seasonNumber(value)
local cfg=index~=nil and seasonCfg[index] or nil
if not Config.__SeasonSpoof or not cfg or not cfg.enabled then return nil end
local profile=seasonRankProfile(index)
local rank=profile and profile.Ranks[cfg.rankName]
if not rank then return nil end
return {SeasonELO=rank.RequiredELO,
SeasonLeaderboardRank=rank.RequiredELOLeaderboardRanking and math.clamp(math.floor(tonumber(cfg.rank) or 1),1,200) or nil}
end
local function recordSeasonCharm(model,season,elo,arch,hasNativeData)
local saved=seasonRecords[model]
if saved then return saved end
saved={season=season,elo=elo,arch=arch,native=hasNativeData,labels={}}
local extra=model:FindFirstChild("Extra")
saved.extra=extra and extra:Clone()
for _,object in ipairs(model:GetDescendants()) do
if object:HasTag("CharmLeaderboardRank") then saved.labels[object]=object.Text end
end
seasonRecords[model]=saved
return saved
end
local function restoreCharmRankGeometry(model,season,md)
local rank=seasonLib:GetRank(md.SeasonELO,nil,md.SeasonLeaderboardRank or math.huge,seasonLib.SeasonsFall.RankProfile.Name)
local extra=model:FindFirstChild("Extra")
if not extra or extra:FindFirstChild(rank) then return end
local assets=LocalPlayer.PlayerScripts.Assets.Charms
local template=assets:FindFirstChild(model.Name)
local source=template and template:FindFirstChild("Extra")
local shape=source and source:FindFirstChild(rank)
if shape then shape:Clone().Parent=extra end
end
local function resolveFighterController()
if fighterController then return fighterController end
pcall(function()
local scripts=LocalPlayer:FindFirstChild("PlayerScripts")
local controllers=scripts and scripts:FindFirstChild("Controllers")
local module=controllers and controllers:FindFirstChild("FighterController")
if module then fighterController=require(module) end
end)
return fighterController
end
local function equippedViewmodelRoot()
local controller=resolveFighterController()
if not controller then return nil end
local fighter=controller.LocalFighter
if not fighter and type(controller.GetFighter)=="function" then
pcall(function() fighter=controller:GetFighter(LocalPlayer) end)
end
local item=fighter and fighter.EquippedItem
local vm=item and item.ViewModel
return vm and (vm.Model or vm._model) or nil
end
local function installSeasonHook()
local lib=resolveSeasonLibrary()
if not lib or seasonOriginal or type(lib.FormatSeasonRankCharm)~="function" then return end
local original=lib.FormatSeasonRankCharm
local replacement=function(self,model,season,elo,arch,...)
local md=seasonMetadata(season)
if md then
if typeof(model)=="Instance" and seasonRecords[model]==nil then
recordSeasonCharm(model,season,elo,arch,true)
end
restoreCharmRankGeometry(model,season,md)
elo,arch=md.SeasonELO,md.SeasonLeaderboardRank
end
return original(self,model,season,elo,arch,...)
end
local ok=pcall(function() lib.FormatSeasonRankCharm=replacement end)
if ok and lib.FormatSeasonRankCharm==replacement then
seasonOriginal=original
seasonReplacement=replacement
end
end
local function restoreSeasonCharm(model,saved)
if typeof(model)=="Instance" and model.Parent then
if saved.extra then
local extra=model:FindFirstChild("Extra")
if extra then extra:Destroy() end
saved.extra.Parent=model
saved.extra=nil
end
for label,text in pairs(saved.labels or {}) do if label.Parent then label.Text=text end end
if saved.native then pcall(seasonOriginal,seasonLib,model,saved.season,saved.elo,saved.arch) end
end
if saved.extra then saved.extra:Destroy() end
end
local function restoreSeasonCharms()
if not seasonLib or not seasonOriginal then return end
for model,saved in pairs(seasonRecords) do restoreSeasonCharm(model,saved) end
table.clear(seasonRecords)
end
local function refreshSeasonCharms()
if not Config.__SeasonSpoof then restoreSeasonCharms() return end
installSeasonHook()
if not seasonLib or not seasonOriginal then return end
for model,saved in pairs(seasonRecords) do
if typeof(model)=="Instance" and model.Parent then
local md=seasonMetadata(saved.season)
if md then
restoreCharmRankGeometry(model,saved.season,md)
pcall(seasonOriginal,seasonLib,model,saved.season,md.SeasonELO,md.SeasonLeaderboardRank)
else
restoreSeasonCharm(model,saved)
seasonRecords[model]=nil
end
else
restoreSeasonCharm(model,saved)
seasonRecords[model]=nil
end
end
local roots={equippedViewmodelRoot(),workspace.CurrentCamera,LocalPlayer.Character}
local seen=setmetatable({}, {__mode="k"})
local function restyle(model)
if typeof(model)~="Instance" or not model:IsA("Model") or seen[model] then return end
seen[model]=true
local index=seasonNumber(model.Name)
if index==nil then return end
local md=seasonMetadata(index)
if not md then return end
local saved=seasonRecords[model]
local season=saved and saved.season or seasonNames[index] or model.Name
if not saved then
recordSeasonCharm(model,season,nil,nil,false)
end
pcall(seasonLib.FormatSeasonRankCharm,seasonLib,model,season,md.SeasonELO,md.SeasonLeaderboardRank)
end
for _,root in ipairs(roots) do
if typeof(root)=="Instance" then
restyle(root)
for _,model in ipairs(root:GetDescendants()) do restyle(model) end
end
end
end
for i=0,3 do seasonCfg[i]={enabled=false,rankName="Archnemesis",rank=1} end
function exportedApi.RankedCharmChoices(index)return seasonRankChoices(index)end
function exportedApi.SetRankedCharm(index, rank, placement, enabled)
assert(seasonCfg[index], "Unknown season")
assert(table.find(seasonRankChoices(index),rank), "Unknown rank for season")
seasonCfg[index]={enabled=enabled==true,rankName=rank,rank=math.clamp(math.floor(tonumber(placement)or 1),1,200)}
Config.__SeasonSpoof=false
for _,cfg in pairs(seasonCfg)do if cfg.enabled then Config.__SeasonSpoof=true;break end end
refreshSeasonCharms()
end
mainapi:Clean(function()
Config.__SeasonSpoof=false
restoreSeasonCharms()
if seasonLib and seasonLib.FormatSeasonRankCharm==seasonReplacement then seasonLib.FormatSeasonRankCharm=seasonOriginal end
end)
end)()
local LocalPlayer=game:GetService("Players").LocalPlayer
run(function()
local RankSpoofer, Rank, RankPlacement
local originals=setmetatable({}, {__mode="k"})
local rankConnections={}
local function backup(object,property)if not originals[object]then originals[object]={property,object[property]}end end
local icons = {
Bronze = "rbxassetid://111599878354131",
Silver = "rbxassetid://82834564754747",
Gold = "rbxassetid://80716950169934",
Diamond = "rbxassetid://131795064007344",
Onyx = "rbxassetid://114166096331502",
Nemesis = "rbxassetid://133903971285645",
["Arch Nemesis"] = "rbxassetid://134520747948636",
}
local rankedPreview = {}
local function setRankedPreviewEnabled(enabled)
if enabled and not rankedPreview.Controller then
local controllerScript = LocalPlayer.PlayerScripts.Controllers:FindFirstChild("SeasonController")
local ok, controller = pcall(function() return controllerScript and require(controllerScript) end)
if ok and controller and type(controller.IsRankedUnlocked) == "function" then
rankedPreview.Controller = controller
rankedPreview.RawOriginal = rawget(controller, "IsRankedUnlocked")
rankedPreview.Original = controller.IsRankedUnlocked
rankedPreview.Replacement = function(self, ...)
if RankSpoofer and RankSpoofer.Enabled then return true end
return rankedPreview.Original(self, ...)
end
controller.IsRankedUnlocked = rankedPreview.Replacement
end
elseif not enabled and rankedPreview.Controller then
if rankedPreview.Controller.IsRankedUnlocked == rankedPreview.Replacement then
rankedPreview.Controller.IsRankedUnlocked = rankedPreview.RawOriginal
end
rankedPreview.Controller = nil
end
-- Refresh the existing page once; its native open path handles later visits.
pcall(function()
local pageScript = LocalPlayer.PlayerScripts.Modules.Pages:FindFirstChild("Ranked")
local page = pageScript and require(pageScript)
if page and page.Locked then page.Locked:_Update() end
end)
end
mainapi:Clean(function() setRankedPreviewEnabled(false) end)
local function isMyRow(slot)
local playerFrame = slot:FindFirstChild("Player")
if not playerFrame then return false end
for _, node in ipairs(playerFrame:GetDescendants()) do
if node:IsA("TextLabel") and (node.Text == LocalPlayer.Name or node.Text == LocalPlayer.DisplayName or node.Text == "@" .. LocalPlayer.Name) then
return true
end
end
return false
end
local function apply()
if not RankSpoofer.Enabled then return end
local playerGui = LocalPlayer:FindFirstChildOfClass("PlayerGui")
if not playerGui then return end
local rank = Rank.Value
local placement = rank == "Arch Nemesis" and math.clamp(math.floor(tonumber(RankPlacement and RankPlacement.Value) or 1), 1, 200) or nil
local rankText = placement and (rank .. " #" .. placement) or rank
local icon = icons[rank]
for _, obj in ipairs(playerGui:GetDescendants()) do
if obj:IsA("TextLabel") and (obj.Name == "LeftRank" or obj.Name == "RightRank") and obj:FindFirstAncestor("ELOBar") then
backup(obj,"Text")
obj.Text = rankText
end
end
local list = playerGui:FindFirstChild("PlayerList", true)
if list and icon then
for _, slot in ipairs(list:GetDescendants()) do
if slot.Name == "PlayerListSlot" and isMyRow(slot) then
local stat = slot:FindFirstChild("Leaderstat")
local container = stat and stat:FindFirstChild("RankContainer")
if container then
for _, image in ipairs(container:GetDescendants()) do
if image.Name == "Icon" and (image:IsA("ImageLabel") or image:IsA("ImageButton")) then
backup(image,"Image")
image.Image = icon
end
end
end
end
end
end
end
RankSpoofer,Rank,RankPlacement={Enabled=false},{Value="Arch Nemesis"},{Value=1}
local function restore()
for object,saved in pairs(originals)do if object.Parent then object[saved[1]]=saved[2]end end
table.clear(originals)
end
local queued=false
local function requestRefresh()
if queued or not RankSpoofer.Enabled then return end
queued=true
task.defer(function()queued=false;if RankSpoofer.Enabled then apply()end end)
end
function exportedApi.SetRankSpoof(enabled,rank,placement)
for _,connection in ipairs(rankConnections)do connection:Disconnect()end
table.clear(rankConnections)
restore()
Rank.Value,RankPlacement.Value=rank or "Arch Nemesis",math.clamp(math.floor(tonumber(placement)or 1),1,200)
RankSpoofer.Enabled=enabled==true
setRankedPreviewEnabled(RankSpoofer.Enabled)
if RankSpoofer.Enabled then
local gui=LocalPlayer:FindFirstChildOfClass("PlayerGui")
if gui then rankConnections[#rankConnections+1]=gui.DescendantAdded:Connect(function(object)
if object.Name=="LeftRank"or object.Name=="RightRank"or object.Name=="Icon"or object.Name=="PlayerListSlot"then requestRefresh()end
end)end
apply()
end
end
mainapi:Clean(function()
RankSpoofer.Enabled=false
for _,connection in ipairs(rankConnections)do connection:Disconnect()end
restore()
end)
end)
local identityReady=false
local function ensureIdentity()
if identityReady then return end
identityReady=true
run(function()
local service = game:GetService("Players")
local ownPlayer = service.LocalPlayer
local alive, refreshing = true, false
local originals, records, playerConnections = {}, {}, {}
local objectCache = setmetatable({}, {__mode = "k"})
local objectConnections = setmetatable({}, {__mode = "k"})
local humanoidCache = setmetatable({}, {__mode = "k"})
local customPictureFrames = setmetatable({}, {__mode = "k"})
local appearance = {}
local rootConnections, tokens = {}, {}
local presentationSurfaces = setmetatable({}, {__mode = "k"})
local ownName, ownAvatar, enemy, advancedAvatar
local peerConfigs = setmetatable({}, {__mode = "k"})
local function allSpoofConfigs()
local configs = {}
for _, config in ipairs({ownName, ownAvatar, enemy, advancedAvatar}) do
if config then table.insert(configs, config) end
end
for _, config in pairs(peerConfigs) do
table.insert(configs, config)
end
return configs
end
local updateCustomPicture
local spoofFolder = workspace:FindFirstChild("__PlexAvatarSpoofs")
if spoofFolder and not spoofFolder:IsA("Folder") then
pcall(function() spoofFolder:Destroy() end)
spoofFolder = nil
end
if not spoofFolder then
spoofFolder = Instance.new("Folder")
spoofFolder.Name = "__PlexAvatarSpoofs"
spoofFolder.Archivable = false
spoofFolder.Parent = workspace
end
-- Hooks persist across reloads, but their active records are replaced.
local hookState = getgenv().__LionIdentitySpoofState
if not hookState then
hookState = {}
getgenv().__LionIdentitySpoofState = hookState
end
hookState.Records = hookState.Records or {}
hookState.AvatarCharacters = hookState.AvatarCharacters or setmetatable({}, {__mode = "k"})
hookState.AvatarObjects = hookState.AvatarObjects or setmetatable({}, {__mode = "k"})
hookState.AvatarDescriptionsByUserId = hookState.AvatarDescriptionsByUserId or {}
hookState.AvatarDescriptionsByCharacter = hookState.AvatarDescriptionsByCharacter or setmetatable({}, {__mode = "k"})
if hookState.Version ~= 2 and hookmetamethod and getnamecallmethod then
hookState.Version = 2
local oldIndex
oldIndex = hookmetamethod(game, "__index", newcclosure(function(object, key)
local record = hookState.Records[object]
if record and (not checkcaller or not checkcaller()) then
if key == "Name" and record.Username ~= "" then return record.Username end
if key == "DisplayName" and record.DisplayName ~= "" then return record.DisplayName end
if key == "CharacterAppearanceId" and record.AvatarSourceUserId then
return record.AvatarSourceUserId
end
end
return oldIndex(object, key)
end))
hookState.ReadOriginal = function(object, key) return oldIndex(object, key) end
local function cloneDescription(description)
if typeof(description) ~= "Instance" then return nil end
local okClass, className = pcall(oldIndex, description, "ClassName")
if not okClass or className ~= "HumanoidDescription" then return nil end
local okClone, cloneMethod = pcall(oldIndex, description, "Clone")
if not okClone or type(cloneMethod) ~= "function" then return nil end
local clonedOK, cloned = pcall(cloneMethod, description)
return clonedOK and cloned or nil
end
local function destroyDirect(instance)
if typeof(instance) ~= "Instance" then return end
local okDestroy, destroyMethod = pcall(oldIndex, instance, "Destroy")
if okDestroy and type(destroyMethod) == "function" then
pcall(destroyMethod, instance)
end
end
local spoofed_methods = {
GetAppliedDescription = true, ApplyDescription = true, ApplyDescriptionReset = true,
ApplyDescriptionClientServer = true, RemoveAccessories = true, Destroy = true, Remove = true,
GetHumanoidDescriptionFromUserIdAsync = true, GetHumanoidDescriptionFromUserId = true,
GetUserThumbnailAsync = true,
}
local oldNamecall
oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(object, ...)
local method = getnamecallmethod()
if not spoofed_methods[method] then return oldNamecall(object, ...) end
local external = not checkcaller or not checkcaller()
if external and typeof(object) == "Instance" then
local className
local okClass, resolvedClass = pcall(oldIndex, object, "ClassName")
if okClass then className = resolvedClass end
if className == "Humanoid" then
local character
local okParent, resolvedParent = pcall(oldIndex, object, "Parent")
if okParent then character = resolvedParent end
local spoofDescription = hookState.AvatarDescriptionsByCharacter[character]
if spoofDescription then
if method == "GetAppliedDescription" then
local cloned = cloneDescription(spoofDescription)
if cloned then return cloned end
elseif method == "ApplyDescription"
or method == "ApplyDescriptionReset"
or method == "ApplyDescriptionClientServer" then
local args = table.pack(...)
local cloned = cloneDescription(spoofDescription)
if cloned then
args[1] = cloned
local okMethod, applyMethod = pcall(oldIndex, object, method)
if okMethod and type(applyMethod) == "function" then
local results = table.pack(pcall(applyMethod, object, table.unpack(args, 1, args.n)))
destroyDirect(cloned)
if results[1] then
return table.unpack(results, 2, results.n)
end
else
destroyDirect(cloned)
end
end
elseif method == "RemoveAccessories" then
local repairDescription = spoofDescription
task.delay(0.15, function()
if not repairDescription
or hookState.AvatarDescriptionsByCharacter[character] ~= repairDescription then
return
end
local currentHumanoid = character and character:FindFirstChildOfClass("Humanoid")
if not currentHumanoid then return end
local cloned = repairDescription:Clone()
pcall(function()
currentHumanoid:ApplyDescriptionReset(cloned)
end)
cloned:Destroy()
end)
end
end
elseif hookState.AvatarObjects[object]
and (method == "Destroy" or method == "Remove") then
return nil
end
end
if object == service and external then
local args = table.pack(...)
local requestedUserId = tonumber(args[1])
local spoofDescription = requestedUserId
and hookState.AvatarDescriptionsByUserId[requestedUserId]
if spoofDescription
and (method == "GetHumanoidDescriptionFromUserIdAsync"
or method == "GetHumanoidDescriptionFromUserId") then
local cloned = cloneDescription(spoofDescription)
if cloned then return cloned end
end
if method == "GetUserThumbnailAsync" then
for player, record in pairs(hookState.Records) do
if player.UserId == args[1] and record.Picture and record.SourceUserId then
args[1] = record.SourceUserId
return oldNamecall(object, table.unpack(args, 1, args.n))
end
end
end
end
return oldNamecall(object, ...)
end))
end
hookState.Records = records
if getgenv().__LionNameSpoofState then getgenv().__LionNameSpoofState.Enabled = false end
local function readOriginal(player, key)
if hookState.ReadOriginal then return hookState.ReadOriginal(player, key) end
return player[key]
end
local function remember(player)
if not originals[player] then
originals[player] = {
Username = tostring(readOriginal(player, "Name") or player.Name or ""),
DisplayName = tostring(readOriginal(player, "DisplayName") or player.DisplayName or player.Name or ""),
Thumbnails = {},
}
end
return originals[player]
end
local function isEnemy(player)
return player ~= ownPlayer and (ownPlayer.Neutral or player.Neutral or player.Team ~= ownPlayer.Team)
end
local function targets(config)
if not config.Enemies then return {ownPlayer} end
local result = {}
for _, player in ipairs(service:GetPlayers()) do
if player ~= ownPlayer and (config.Target == "All enemies" and isEnemy(player)
or config.Target == remember(player).Username .. " (" .. player.UserId .. ")") then
table.insert(result, player)
end
end
return result
end
local function configTargetsPlayer(config, player)
if not config or not player then return false end
if not config.Enemies then return player == ownPlayer end
if player == ownPlayer then return false end
if config.Target == "All enemies" then return isEnemy(player) end
return config.Target == remember(player).Username .. " (" .. player.UserId .. ")"
end
local function replaceNames(text)
local result, cursor = {}, 1
while cursor <= #text do
local matched = false
for _, token in ipairs(tokens) do
local last = cursor + #token[1] - 1
if text:sub(cursor, last) == token[1]
and not text:sub(cursor - 1, cursor - 1):match("[%w_]")
and not text:sub(last + 1, last + 1):match("[%w_]") then
table.insert(result, token[2])
cursor, matched = last + 1, true
break
end
end
if not matched then
table.insert(result, text:sub(cursor, cursor))
cursor += 1
end
end
return table.concat(result)
end
local function pictureFor(image)
local id = tonumber(image:match("[Uu]ser[Ii]d=(%d+)"))
for player, record in pairs(records) do
if record.Picture and record.SourceUserId then
if id == player.UserId then
return image:gsub("([Uu]ser[Ii]d=)%d+", "%1" .. record.SourceUserId)
end
if originals[player].Thumbnails[image] then
return "rbxthumb://type=AvatarHeadShot&id=" .. record.SourceUserId .. "&w=420&h=420"
end
if image:find("rbxthumb://", 1, true) and tonumber(image:match("[&?]id=(%d+)")) == player.UserId
and image:find("type=Avatar", 1, true) then
return image:gsub("([&?]id=)%d+", "%1" .. record.SourceUserId)
end
end
end
return image
end
local function applyObject(object)
if not alive or refreshing then return end
local property = (object:IsA("TextLabel") or object:IsA("TextButton")) and "Text"
or (object:IsA("ImageLabel") or object:IsA("ImageButton")) and "Image"
if not property then return end
pcall(function()
local current = object[property]
local entry = objectCache[object]
if not entry then
entry = { Property = property, Original = current }
objectCache[object] = entry
elseif entry.Writing then return
elseif current ~= entry.Applied then entry.Original = current end
local updated = property == "Text" and replaceNames(entry.Original) or pictureFor(entry.Original)
entry.Applied = updated
if updated ~= current then
entry.Writing = true
object[property] = updated
entry.Writing = false
end
if property == "Image" and updateCustomPicture then
updateCustomPicture(object, entry.Original)
end
if not objectConnections[object] then
objectConnections[object] = object:GetPropertyChangedSignal(property):Connect(function()
if next(records) then applyObject(object) end
end)
end
end)
end
local presentationSurfaceNames = {
EliminatedEffect=true, EliminatedCard=true, ViewProfile=true,
Profile=true, Leaderboard=true, PlayerList=true, FinalResults=true,
Winners=true, DuelerProfile=true,
}
local function rememberPresentationSurface(object)
if presentationSurfaceNames[object.Name] then presentationSurfaces[object] = true end
end
local function scan()
-- UI identity spoofing only needs UI trees. Scanning all of Workspace here
-- caused large, unpredictable frame spikes on maps with many descendants.
local roots = {game:GetService("CoreGui")}
local playerGui = ownPlayer:FindFirstChildOfClass("PlayerGui")
if playerGui then table.insert(roots, playerGui) end
for _, root in ipairs(roots) do
if root then
if not rootConnections[root] then
rootConnections[root] = root.DescendantAdded:Connect(function(object)
rememberPresentationSurface(object)
if next(records) then task.defer(applyObject, object) end
end)
end
for _, object in ipairs(root:GetDescendants()) do
rememberPresentationSurface(object)
applyObject(object)
end
end
end
-- Still catch newly-created world-space nameplates without doing a full
-- Workspace:GetDescendants() pass.
if not rootConnections[workspace] then
rootConnections[workspace] = workspace.DescendantAdded:Connect(function(object)
if not next(records) then return end
if object:IsA("TextLabel") or object:IsA("TextButton")
or object:IsA("ImageLabel") or object:IsA("ImageButton") then
task.defer(applyObject, object)
end
end)
end
end
-- Rivals detaches and later repopulates these small presentation trees.
-- A bounded refresh catches reused cards without returning to expensive
-- full-PlayerGui scans on every frame.
local function refreshPresentationSurfaces()
if not next(records) then return end
for object in pairs(presentationSurfaces) do
if not object.Parent then
presentationSurfaces[object] = nil
else
local visible = true
if object:IsA("GuiObject") then visible = object.Visible end
if object:IsA("LayerCollector") then visible = object.Enabled end
if visible then
applyObject(object)
for _, descendant in ipairs(object:GetDescendants()) do applyObject(descendant) end
end
end
end
end
local function restoreUI()
refreshing = true
for object, entry in pairs(objectCache) do
pcall(function()
if object[entry.Property] == entry.Applied then object[entry.Property] = entry.Original end
end)
end
table.clear(objectCache)
for imageObject, state in pairs(customPictureFrames) do
pcall(function()
if state.TransparencyConnection then state.TransparencyConnection:Disconnect() end
if state.Viewport then state.Viewport:Destroy() end
if imageObject and imageObject.Parent then
imageObject.ImageTransparency = state.OriginalTransparency
end
end)
end
table.clear(customPictureFrames)
for humanoid, original in pairs(humanoidCache) do
pcall(function() humanoid.DisplayName = original end)
end
table.clear(humanoidCache)
refreshing = false
end
local syncViewModelArms
local function restoreAvatar(player)
local saved = appearance[player]
if not saved then return end
appearance[player] = nil
if saved.Character then
hookState.AvatarCharacters[saved.Character] = nil
hookState.AvatarDescriptionsByCharacter[saved.Character] = nil
end
if saved.NativeDescription and saved.OriginalDescription and saved.Character and saved.Character.Parent then
local humanoid = saved.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
local description = saved.OriginalDescription
pcall(function() humanoid:ApplyDescriptionReset(description) end)
end
pcall(function() saved.OriginalDescription:Destroy() end)
saved.OriginalDescription = nil
end
if saved.Connection then pcall(function() saved.Connection:Disconnect() end) end
if saved.Connections then
for _, connection in ipairs(saved.Connections) do
pcall(function() connection:Disconnect() end)
end
end
if saved.HiddenHeads then
for head, original in pairs(saved.HiddenHeads) do
if head and head.Parent then
pcall(function()
head.Transparency = original.Transparency
head.LocalTransparencyModifier = original.LocalTransparencyModifier
end)
end
end
elseif saved.HeadHidden and saved.Head and saved.Head.Parent then
pcall(function()
saved.Head.Transparency = saved.HeadTransparency
saved.Head.LocalTransparencyModifier = saved.HeadLocalTransparency
end)
end
for _, object in ipairs(saved.Added or {}) do
pcall(function()
if object then
hookState.AvatarObjects[object] = nil
for _, descendant in ipairs(object:GetDescendants()) do
hookState.AvatarObjects[descendant] = nil
end
if object.Parent then object:Destroy() end
end
end)
end
for _, entry in ipairs(saved.Removed or {}) do
pcall(function()
if entry.Object and entry.Parent and entry.Parent.Parent then
entry.Object.Parent = entry.Parent
end
end)
end
if player == ownPlayer then task.defer(syncViewModelArms) end
end
-- The local first-person viewmodel (arms/hands/fingers) is spawned from
-- the real account appearance, so the avatar spoof must mirror the
-- spoofed shirt/skin onto it. Without this the spoof only shows on the
-- full character rig, lobby preview, and ESP snapshot.
local viewmodelArmCache = setmetatable({}, {__mode = "k"}) -- part -> {Color, Decals}
local viewmodelSyncNext = 0
local function viewmodelArmParts()
local folder = workspace:FindFirstChild("ViewModels")
if not folder then return {} end
local parts = {}
for _, descendant in ipairs(folder:GetDescendants()) do
if descendant:IsA("BasePart") and (descendant.Name == "LeftArm" or descendant.Name == "RightArm") then
parts[#parts + 1] = descendant
end
end
return parts
end
local function toAssetId(value)
if type(value) == "number" and value > 0 then return value end
if type(value) == "string" then
local id = tonumber(value:match("(%d+)"))
if id and id > 0 then return id end
end
return nil
end
local function firstPartColor(character, names)
for _, name in ipairs(names) do
local part = character:FindFirstChild(name)
if part and part:IsA("BasePart") then return part.Color end
end
return nil
end
syncViewModelArms = function()
if not alive then return end
local saved = appearance[ownPlayer]
if not saved then
if next(viewmodelArmCache) then
for part, original in pairs(viewmodelArmCache) do
pcall(function()
if part and part.Parent then part.Color = original.Color end
for decal, texture in pairs(original.Decals) do
if decal and decal.Parent then decal.Texture = texture end
end
end)
end
table.clear(viewmodelArmCache)
end
return
end
local config = saved.Config
local description = config and config.Description
local character = ownPlayer.Character
local shirtTemplate
local characterShirt = character and character:FindFirstChildOfClass("Shirt")
if characterShirt and characterShirt.ShirtTemplate and characterShirt.ShirtTemplate ~= "" then
shirtTemplate = characterShirt.ShirtTemplate
else
local id = description and toAssetId(description.Shirt)
if id then shirtTemplate = "rbxassetid://" .. tostring(id) end
end
local leftColor, rightColor
if description then
pcall(function()
leftColor = typeof(description.LeftArmColor) == "Color3" and description.LeftArmColor or leftColor
rightColor = typeof(description.RightArmColor) == "Color3" and description.RightArmColor or rightColor
end)
end
if character then
leftColor = leftColor or firstPartColor(character, {"LeftUpperArm", "LeftLowerArm", "LeftArm", "LeftHand"})
rightColor = rightColor or firstPartColor(character, {"RightUpperArm", "RightLowerArm", "RightArm", "RightHand"})
end
for _, part in ipairs(viewmodelArmParts()) do
pcall(function()
local original = viewmodelArmCache[part]
if not original then
original = {Color = part.Color, Decals = {}}
viewmodelArmCache[part] = original
for _, decal in ipairs(part:GetDescendants()) do
if decal:IsA("Decal") then original.Decals[decal] = decal.Texture end
end
end
local color = part.Name == "RightArm" and rightColor or leftColor
if color then part.Color = color end
if shirtTemplate then
for _, decal in ipairs(part:GetDescendants()) do
if decal:IsA("Decal") and decal.Texture ~= shirtTemplate then
decal.Texture = shirtTemplate
end
end
end
end)
end
end
do
local RunService = game:GetService("RunService")
local connection = RunService.Heartbeat:Connect(function()
local now = os.clock()
if now < viewmodelSyncNext then return end
viewmodelSyncNext = now + 0.5
syncViewModelArms()
end)
table.insert(rootConnections, connection)
end
local function warnFailure(config, message)
warn("[Spoofer] " .. config.Label .. ": " .. tostring(message))
end
local function clearAvatarTemplates(config)
for _, model in pairs(config.Templates or {}) do
pcall(function() model:Destroy() end)
end
config.Templates = {}
config.TemplatePending = {}
end
local function getAvatarTemplate(config, rigType, generation, cutscene)
if not config.Description then return nil end
config.Templates = config.Templates or {}
config.TemplatePending = config.TemplatePending or {}
local key = cutscene and "Cutscene" or tostring(rigType)
if config.Templates[key] then return config.Templates[key] end
if config.TemplatePending[key] then
local deadline = os.clock() + 12
while config.TemplatePending[key] and os.clock() < deadline do task.wait(0.1) end
return config.Templates[key]
end
local pending = {}
config.TemplatePending[key] = pending
local description = config.Description
if cutscene then
description = description:Clone()
description.Torso = 15365012259
description.LeftArm = 15365010034
description.RightArm = 15365012263
description.LeftLeg = 15365010038
description.RightLeg = 15365010030
end
local ok, model = pcall(function()
return service:CreateHumanoidModelFromDescriptionAsync(description, rigType)
end)
if cutscene then description:Destroy() end
if config.TemplatePending[key] == pending then config.TemplatePending[key] = nil end
if not ok then
if alive and config.Enabled and config.Generation == generation then warnFailure(config, model) end
return nil
end
if not alive or not config.Enabled or config.Generation ~= generation then
model:Destroy()
return nil
end
model.Archivable = true
config.Templates[key] = model
return model
end
local function customPictureRecord(image)
local lower = tostring(image or ""):lower()
for player, record in pairs(records) do
if record.CustomPicture and record.AvatarDescription and record.AvatarConfig then
local directId = tonumber(lower:match("userid=(%d+)")) or tonumber(lower:match("[&?]id=(%d+)"))
local original = originals[player]
if (directId == player.UserId and (lower:find("avatar", 1, true) or lower:find("headshot", 1, true)))
or (original and original.Thumbnails[image]) then
return player, record
end
end
end
end
updateCustomPicture = function(imageObject, image)
if not imageObject or not imageObject.Parent
or not (imageObject:IsA("ImageLabel") or imageObject:IsA("ImageButton")) then
return
end
local player, record = customPictureRecord(image)
local existing = customPictureFrames[imageObject]
local current, visible = imageObject, true
while current do
if current:IsA("GuiObject") and not current.Visible then visible = false break end
if current:IsA("LayerCollector") and not current.Enabled then visible = false break end
current = current.Parent
end
if not visible then
if existing then
pcall(function()
if existing.TransparencyConnection then existing.TransparencyConnection:Disconnect() end
if existing.Viewport then existing.Viewport:Destroy() end
imageObject.ImageTransparency = existing.OriginalTransparency
end)
customPictureFrames[imageObject] = nil
end
return
end
if not player or not record then
if existing then
pcall(function()
if existing.TransparencyConnection then existing.TransparencyConnection:Disconnect() end
if existing.Viewport then existing.Viewport:Destroy() end
imageObject.ImageTransparency = existing.OriginalTransparency
end)
customPictureFrames[imageObject] = nil
end
return
end
local config = record.AvatarConfig
local revision = record.AvatarRevision or 0
if existing and existing.Config == config and existing.Revision == revision
and existing.Viewport and existing.Viewport.Parent == imageObject then
return
end
local originalTransparency = existing and existing.OriginalTransparency or imageObject.ImageTransparency
if existing then
pcall(function()
if existing.TransparencyConnection then existing.TransparencyConnection:Disconnect() end
if existing.Viewport then existing.Viewport:Destroy() end
end)
end
local viewport = Instance.new("ViewportFrame")
viewport.Name = "__PlexAvatarPicture"
viewport.BackgroundTransparency = 1
viewport.BorderSizePixel = 0
viewport.Size = UDim2.fromScale(1, 1)
viewport.Position = UDim2.fromScale(0, 0)
viewport.ZIndex = imageObject.ZIndex + 1
viewport.ClipsDescendants = true
viewport.Ambient = Color3.fromRGB(200, 200, 200)
viewport.LightColor = Color3.fromRGB(255, 255, 255)
viewport.Parent = imageObject
local camera = Instance.new("Camera")
camera.FieldOfView = math.clamp(tonumber(config.PfpFov) or 28, 10, 90)
camera.Parent = viewport
viewport.CurrentCamera = camera
local world = Instance.new("WorldModel")
world.Name = "AvatarPictureWorld"
world.Parent = viewport
local state = {
Viewport = viewport,
OriginalTransparency = originalTransparency,
Config = config,
Revision = revision,
}
customPictureFrames[imageObject] = state
local writingTransparency = false
local function hideOriginalPicture()
if writingTransparency or customPictureFrames[imageObject] ~= state or not imageObject.Parent then return end
if imageObject.ImageTransparency ~= 1 then
writingTransparency = true
imageObject.ImageTransparency = 1
writingTransparency = false
end
end
hideOriginalPicture()
state.TransparencyConnection = imageObject:GetPropertyChangedSignal("ImageTransparency"):Connect(hideOriginalPicture)
task.spawn(function()
local template = getAvatarTemplate(config, Enum.HumanoidRigType.R15, config.Generation, false)
if not template or not alive or not config.Enabled
or (config.AvatarRevision or 0) ~= revision
or customPictureFrames[imageObject] ~= state
or not viewport.Parent then
return
end
local model = template:Clone()
model.Name = "AvatarPictureModel"
model.Parent = world
if config.Headless then
local head = model:FindFirstChild("Head", true)
if head and head:IsA("BasePart") then
head.Transparency, head.LocalTransparencyModifier = 1, 1
for _, object in ipairs(head:GetDescendants()) do
if object:IsA("Decal") or object:IsA("Texture") then object.Transparency = 1 end
end
end
end
for _, object in ipairs(model:GetDescendants()) do
if object:IsA("BasePart") then
object.Anchored = true
object.CanCollide = false
object.CanTouch = false
object.CanQuery = false
end
end
local yaw = math.rad(tonumber(config.PfpYaw) or 0)
pcall(function() model:PivotTo(CFrame.Angles(0, yaw, 0)) end)
local function framePortrait()
if not viewport.Parent or customPictureFrames[imageObject] ~= state then return end
local head = model:FindFirstChild("Head", true)
local torso = model:FindFirstChild("UpperTorso", true) or model:FindFirstChild("Torso", true)
local focusPart = head or torso or model:FindFirstChild("HumanoidRootPart", true)
or model:FindFirstChildWhichIsA("BasePart", true)
local focus = focusPart and focusPart.Position or model:GetPivot().Position
if head or torso then focus += Vector3.new(0, -0.35, 0) end
local frame = Vector3.new(
(tonumber(config.PfpOffsetX) or 0) / 50,
(tonumber(config.PfpOffsetY) or 0) / 50,
0
)
local target = focus + frame
local zoom = math.clamp(tonumber(config.PfpZoom) or 100, 25, 300) / 100
-- Use a fixed portrait distance even while an emote moves limbs.
-- Bounding-box fitting makes wide emotes shrink into a tiny PFP.
local distance = 3.15 / zoom
local pitch = math.rad(math.clamp(tonumber(config.PfpPitch) or 0, -60, 60))
local cameraOffset = Vector3.new(0, math.sin(pitch) * distance, -math.cos(pitch) * distance)
camera.CFrame = CFrame.lookAt(target + cameraOffset, target)
end
-- Show the correctly-sized portrait while the animation asset loads.
framePortrait()
local animationId = tostring(config.PfpAnimationId or ""):match("%d+")
if animationId then
pcall(function()
local humanoid = model:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
local animator = humanoid:FindFirstChildOfClass("Animator") or Instance.new("Animator")
animator.Parent = humanoid
local animation = Instance.new("Animation")
animation.Name = "PlexPicturePose"
animation.AnimationId = "rbxassetid://" .. animationId
animation.Parent = model
local track = animator:LoadAnimation(animation)
track:Play(0, 1, 1)
local deadline = os.clock() + 3
while track.Length <= 0 and os.clock() < deadline and viewport.Parent do
task.wait()
end
if track.Length > 0 then
local pose = math.clamp(tonumber(config.PfpPosePosition) or 50, 0, 100) / 100
track.TimePosition = math.min(track.Length * pose, math.max(track.Length - 0.001, 0))
end
track:AdjustSpeed(0)
local runService = game:GetService("RunService")
runService.Heartbeat:Wait()
runService.Heartbeat:Wait()
end)
end
-- Reframe after Motor6D transforms from the frozen pose have settled.
framePortrait()
end)
end
-- Render a local avatar on the existing rig, preserving its game controllers.
-- Apply the spoofed outfit to the existing character rig.
-- This follows the supplied source: replace clothing/accessories/face locally
-- instead of welding a second full avatar body on top of the live character.
local function applyAvatar(player, config, generation, forceAppearance)
if not alive or not config.Enabled or config.Generation ~= generation then return end
local character = player.Character
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid") or character:WaitForChild("Humanoid", 10)
if not humanoid or not humanoid:IsA("Humanoid") then return end
if player == ownPlayer then
local root = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart", 10)
if not root or humanoid.Health <= 0 then return end
end
if not alive or not config.Enabled or config.Generation ~= generation or player.Character ~= character then return end
local existing = appearance[player]
if not forceAppearance and existing and existing.Config == config and existing.Character == character
and existing.SourceUserId == config.SourceUserId
and existing.AvatarRevision == (config.AvatarRevision or 0) then
if not config.NativeApplyUnavailable then
hookState.AvatarDescriptionsByCharacter[character] = config.Description
end
return
end
if config.Description and not config.NativeApplyUnavailable then
restoreAvatar(player)
local originalDescription
pcall(function()
originalDescription = humanoid:GetAppliedDescription()
end)
hookState.AvatarCharacters[character] = true
hookState.AvatarDescriptionsByCharacter[character] = config.Description
local spoofDescription = config.Description:Clone()
local applied, applyError = pcall(function()
humanoid:ApplyDescriptionReset(spoofDescription)
end)
spoofDescription:Destroy()
if applied then
appearance[player] = {
Added = {},
Removed = {},
Connections = {},
Config = config,
Character = character,
SourceUserId = config.SourceUserId,
AvatarRevision = config.AvatarRevision or 0,
NativeDescription = true,
OriginalDescription = originalDescription,
}
if player == ownPlayer then task.defer(syncViewModelArms) end
return
end
hookState.AvatarCharacters[character] = nil
hookState.AvatarDescriptionsByCharacter[character] = nil
if originalDescription then pcall(function() originalDescription:Destroy() end) end
local errorText = tostring(applyError)
if errorText:lower():find("backend server", 1, true) then
config.NativeApplyUnavailable = true
if not config.NativeFallbackWarned then
config.NativeFallbackWarned = true
warnFailure(config, "The game blocks client avatar data; using the R6 appearance fallback")
end
elseif not config.NativeFallbackWarned then
config.NativeFallbackWarned = true
warnFailure(config, "Native avatar apply failed, using R6 fallback: " .. errorText)
end
end
local template = getAvatarTemplate(config, humanoid.RigType, generation, false)
if not template then return end
local donor = template:Clone()
if not alive or not config.Enabled or config.Generation ~= generation or player.Character ~= character then
donor:Destroy()
return
end
restoreAvatar(player)
local saved = {
Added = {},
Removed = {},
Connections = {},
Config = config,
Character = character,
SourceUserId = config.SourceUserId,
AvatarRevision = config.AvatarRevision or 0,
}
appearance[player] = saved
hookState.AvatarCharacters[character] = true
if player == ownPlayer then task.defer(syncViewModelArms) end
local function isAppearanceObject(object)
return object:IsA("Accessory")
or object:IsA("Shirt")
or object:IsA("Pants")
or object:IsA("ShirtGraphic")
or (object:IsA("CharacterMesh") and object.BodyPart == Enum.BodyPart.Head)
end
local function isOurObject(object)
return object:GetAttribute("__PlexAvatarSpoof") == true
end
local function isHairAccessory(object)
if not object:IsA("Accessory") then return false end
local okType, accessoryType = pcall(function() return object.AccessoryType end)
if okType and accessoryType == Enum.AccessoryType.Hair then return true end
local handle = object:FindFirstChild("Handle")
if handle and handle:FindFirstChild("HairAttachment") then return true end
-- Older R6 hair can report AccessoryType.Unknown. Names are the final
-- fallback after the type and attachment checks.
return object.Name:lower():find("hair", 1, true) ~= nil
end
local function rememberRemoved(object, parent)
for _, entry in ipairs(saved.Removed) do
if entry.Object == object then return end
end
saved.Removed[#saved.Removed + 1] = {Object = object, Parent = parent}
end
local function removeOriginal(object)
if not object or isOurObject(object) then return end
if isAppearanceObject(object) and object.Parent == character then
rememberRemoved(object, character)
object.Parent = nil
return
end
local head = character:FindFirstChild("Head")
if head and (object:IsA("Decal") or object:IsA("SpecialMesh")) and object.Parent == head then
rememberRemoved(object, head)
object.Parent = nil
end
end
local function addSpoofObject(object, parent)
local copy = object:Clone()
copy:SetAttribute("__PlexAvatarSpoof", true)
hookState.AvatarObjects[copy] = true
for _, descendant in ipairs(copy:GetDescendants()) do
hookState.AvatarObjects[descendant] = true
if descendant:IsA("BasePart") then
descendant.Anchored = false
descendant.CanCollide = false
descendant.CanTouch = false
descendant.CanQuery = false
descendant.Massless = true
end
end
copy.Parent = parent
saved.Added[#saved.Added + 1] = copy
return copy
end
local function attachAccessory(copy)
if not copy:IsA("Accessory") then return end
local handle = copy:FindFirstChild("Handle")
if not handle then return end
local old = handle:FindFirstChild("AccessoryWeld")
if old then old:Destroy() end
local attachment = handle:FindFirstChildOfClass("Attachment")
local target = attachment and character:FindFirstChild(attachment.Name, true)
if target and target:IsDescendantOf(copy) then target = nil end
if not target and attachment then
for _, part in ipairs(character:GetChildren()) do
if part:IsA("BasePart") then
target = part:FindFirstChild(attachment.Name)
if target then break end
end
end
end
if target and not target:IsA("Attachment") then target = nil end
local head = character:FindFirstChild("Head")
if target or head then
local bodyPart = target and target.Parent or head
local bodyOffset = target and target.CFrame or CFrame.new(0, 0.5, 0)
local handleOffset = attachment and attachment.CFrame or copy.AttachmentPoint
-- Align the loose handle before welding it. Otherwise the physics
-- solver can pull the live character toward the donor rig's origin.
handle.CFrame = bodyPart.CFrame * bodyOffset * handleOffset:Inverse()
handle.AssemblyLinearVelocity = Vector3.zero
handle.AssemblyAngularVelocity = Vector3.zero
local weld = Instance.new("Weld")
weld.Name = "PlexAvatarAccessoryWeld"
weld.Part0 = bodyPart
weld.Part1 = handle
weld.C0 = bodyOffset
weld.C1 = handleOffset
weld.Parent = handle
end
end
local function hideR6Head(head)
if not config.Headless or appearance[player] ~= saved
or not head or not head:IsA("BasePart") or head.Name ~= "Head" then
return
end
saved.HiddenHeads = saved.HiddenHeads or setmetatable({}, {__mode = "k"})
if saved.HiddenHeads[head] then return end
local original = {
Transparency = head.Transparency,
LocalTransparencyModifier = head.LocalTransparencyModifier,
}
saved.HiddenHeads[head] = original
local correctingHead = false
local function keepHeadHidden()
if correctingHead or appearance[player] ~= saved or not head.Parent then return end
correctingHead = true
head.Transparency = 1
head.LocalTransparencyModifier = 1
correctingHead = false
end
keepHeadHidden()
saved.Connections[#saved.Connections + 1] = head:GetPropertyChangedSignal("Transparency"):Connect(keepHeadHidden)
saved.Connections[#saved.Connections + 1] = head:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(keepHeadHidden)
end
local function buildOutfit()
if appearance[player] ~= saved or player.Character ~= character then return false end
for _, object in ipairs(character:GetChildren()) do
removeOriginal(object)
end
local head = character:FindFirstChild("Head")
if head then
for _, object in ipairs(head:GetChildren()) do
removeOriginal(object)
end
if config.Headless then
hideR6Head(head)
end
end
for _, object in ipairs(donor:GetChildren()) do
if isAppearanceObject(object) and not (config.NoHair and isHairAccessory(object)) then
local copy = addSpoofObject(object, character)
if copy:IsA("Accessory") then attachAccessory(copy) end
end
end
local sourceHead = donor:FindFirstChild("Head")
if head and sourceHead and not config.Headless then
for _, object in ipairs(sourceHead:GetChildren()) do
if object:IsA("Decal") or object:IsA("SpecialMesh") then
addSpoofObject(object, head)
end
end
end
return true
end
local built, failure = pcall(buildOutfit)
donor:Destroy()
if not built or failure == false then
restoreAvatar(player)
warnFailure(config, built and "Could not apply spoofed outfit" or failure)
return
end
-- Keep the spoof itself untouched after this initial build. If RIVALS
-- tries to insert its real appearance again, discard only those new
-- originals; the spoofed objects are never rebuilt or periodically reapplied.
saved.Connection = character.DescendantAdded:Connect(function(object)
if appearance[player] ~= saved or isOurObject(object) then return end
if config.Headless and object:IsA("BasePart") and object.Name == "Head" then
task.defer(hideR6Head, object)
return
end
local head = character:FindFirstChild("Head")
if not isAppearanceObject(object)
and not ((object:IsA("Decal") or object:IsA("SpecialMesh")) and object.Parent == head) then
return
end
task.defer(function()
if appearance[player] == saved then pcall(removeOriginal, object) end
end)
end)
end
local function rebuildRecords()
restoreUI()
table.clear(records)
table.clear(tokens)
table.clear(hookState.AvatarDescriptionsByUserId)
table.clear(hookState.AvatarDescriptionsByCharacter)
for _, config in ipairs(allSpoofConfigs()) do
if config.Enabled then
for _, player in ipairs(targets(config)) do
local original = remember(player)
local shownUsername = config.Anonymous and "Anonymous" or tostring(config.Username or "")
local shownDisplayName = config.Anonymous and "Anonymous" or tostring(config.DisplayName or "")
local record = records[player] or {Username = "", DisplayName = "", Picture = false}
records[player] = record
if shownUsername ~= "" then record.Username = shownUsername end
if shownDisplayName ~= "" then record.DisplayName = shownDisplayName end
if config.Picture and (config.Anonymous or config.SourceUserId) then
record.SourceUserId = config.Anonymous and 1 or config.SourceUserId
record.Picture = true
end
if config.Avatar and config.Description then
if config.SourceUserId then record.AvatarSourceUserId = config.SourceUserId end
record.AvatarDescription = config.Description
record.AvatarConfig = config
record.AvatarRevision = config.AvatarRevision or 0
record.CustomPicture = config.CustomPicture == true
hookState.AvatarDescriptionsByUserId[player.UserId] = config.Description
if player.Character and not config.NativeApplyUnavailable then
hookState.AvatarDescriptionsByCharacter[player.Character] = config.Description
end
end
if shownUsername ~= "" then
table.insert(tokens, {"@" .. original.Username, "@" .. shownUsername})
table.insert(tokens, {original.Username, shownUsername})
end
if shownDisplayName ~= "" and (original.DisplayName ~= original.Username or shownUsername == "") then
table.insert(tokens, {original.DisplayName, shownDisplayName})
end
local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
if humanoid and shownDisplayName ~= "" then
humanoidCache[humanoid] = humanoid.DisplayName
humanoid.DisplayName = shownDisplayName
end
end
end
end
table.sort(tokens, function(a, b) return #a[1] > #b[1] end)
if next(records) then scan() end
end
local function applyPeerDescriptionOverrides(description, values, headless, noHair)
if not description then return end
values = type(values) == "table" and values or {}
local single = {sh="Shirt", pa="Pants", ts="GraphicTShirt", fa="Face", he="Head"}
local lists = {ha="HatAccessory", hr="HairAccessory", fc="FaceAccessory", ne="NeckAccessory",
so="ShoulderAccessory", fr="FrontAccessory", ba="BackAccessory", wa="WaistAccessory"}
for key, property in pairs(single) do
local value = values[key]
if value ~= nil and tostring(value) ~= "" then
local number = tonumber(tostring(value):match("%d+")) or 0
pcall(function() description[property] = math.floor(number) end)
end
end
for key, property in pairs(lists) do
local value = values[key]
if value ~= nil then
local ids = {}
for id in tostring(value):gmatch("%d+") do ids[#ids + 1] = id end
pcall(function() description[property] = table.concat(ids, ",") end)
end
end
if headless then
pcall(function() description.Head = 134082579 end)
pcall(function() description.Face = 0 end)
end
if noHair then pcall(function() description.HairAccessory = "" end) end
end
local function refresh(config, forceAvatar)
if not alive then return end
config.Generation += 1
local generation = config.Generation
local source = config.Anonymous and "1" or tostring(config.Source or ""):match("^%s*(.-)%s*$")
if source == "" and config.Headless then source = tostring(ownPlayer.UserId) end
local sourceChanged = config.ResolvedSource ~= source
config.ResolvedSource = source
if not config.Enabled or source == "" then
for player, saved in pairs(appearance) do
if saved.Config == config then restoreAvatar(player) end
end
if config.Description then config.Description:Destroy() end
clearAvatarTemplates(config)
config.SourceUserId, config.Description = nil, nil
rebuildRecords()
return
end
if sourceChanged or forceAvatar == true then
config.AvatarRevision = (config.AvatarRevision or 0) + 1
if config.Description then config.Description:Destroy() end
clearAvatarTemplates(config)
config.SourceUserId, config.Description = nil, nil
end
if not config.Avatar then
for player, saved in pairs(appearance) do
if saved.Config == config then restoreAvatar(player) end
end
end
rebuildRecords()
task.spawn(function()
local id = config.SourceUserId
if not id then
local ok, result = pcall(function()
local numeric = tonumber(source)
if numeric and numeric > 0 and numeric % 1 == 0 then return numeric end
return service:GetUserIdFromNameAsync(source:gsub("^@", ""))
end)
if not alive or config.Generation ~= generation or not config.Enabled then return end
if not ok then
for player, saved in pairs(appearance) do
if saved.Config == config then restoreAvatar(player) end
end
warnFailure(config, "Could not find avatar account: " .. tostring(result))
return
end
id = result
config.SourceUserId = id
end
if config.Avatar and not config.Description then
local descOK, description = pcall(function()
return service:GetHumanoidDescriptionFromUserIdAsync(id)
end)
if not alive or config.Generation ~= generation or not config.Enabled then
if descOK then description:Destroy() end
return
end
if descOK then
if config.PeerValues or config.Headless or config.NoHair then
applyPeerDescriptionOverrides(description, config.PeerValues, config.Headless, config.NoHair)
end
config.Description = description
else
for player, saved in pairs(appearance) do
if saved.Config == config then restoreAvatar(player) end
end
warnFailure(config, description)
end
end
if config.Avatar and config.Description then
task.spawn(getAvatarTemplate, config, Enum.HumanoidRigType.R15, generation, true)
end
rebuildRecords()
local wanted = {}
for _, player in ipairs(targets(config)) do
wanted[player] = true
if config.Picture then
task.spawn(function()
local original = remember(player)
for _, size in ipairs({Enum.ThumbnailSize.Size100x100, Enum.ThumbnailSize.Size150x150, Enum.ThumbnailSize.Size420x420}) do
local thumbOK, url = pcall(function()
return service:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.HeadShot, size)
end)
if thumbOK then original.Thumbnails[url] = true end
end
if alive and config.Enabled and config.Generation == generation then scan() end
end)
end
if config.Avatar and config.Description then
task.spawn(function()
applyAvatar(player, config, generation)
end)
end
end
for player, saved in pairs(appearance) do
if saved.Config == config and not wanted[player] then restoreAvatar(player) end
end
end)
end
local function playerList()
local names = {"All enemies"}
for _, player in ipairs(service:GetPlayers()) do
if player ~= ownPlayer then table.insert(names, remember(player).Username .. " (" .. player.UserId .. ")") end
end
table.sort(names, function(a, b) if a == "All enemies" then return true elseif b == "All enemies" then return false end return a < b end)
return names
end
local function bareConfig(label,kind)
return {Label=label,Enabled=false,Username="",DisplayName="",Source="",Picture=kind~="name",Avatar=kind~="name",Anonymous=false,Enemies=false,Generation=0,Target="All enemies",Selector={}}
end
ownName=bareConfig("Username Spoofer","name")
ownAvatar=bareConfig("Avatar Spoofer","avatar")
enemy=bareConfig("Enemy Spoofer","both")
advancedAvatar=bareConfig("Advanced Avatar Spoofer","avatar")
-- EliminatedEffect fills the cloned card synchronously and then yields for
-- its five-second lifetime. Apply identity/profile state at that first
-- yield so the card never keeps the account thumbnail or stale stats.
local okEliminatedEffect, eliminatedEffect = pcall(function()
return require(ownPlayer.PlayerScripts.Modules.UserInterface.EliminatedEffect)
end)
if okEliminatedEffect and type(eliminatedEffect) == "table"
and type(eliminatedEffect.Play) == "function" then
local originalEliminatedPlay = eliminatedEffect.Play
local wrappedEliminatedPlay
local function applyEliminatedCard(player)
if not alive or typeof(player) ~= "Instance" or not player:IsA("Player") then return end
local card = rawget(eliminatedEffect, "_last_eliminated_card")
if not card or not card.Parent then return end
local record = records[player]
local frame = card:FindFirstChild("Frame")
local outerContainer = frame and frame:FindFirstChild("Container")
local clip = outerContainer and outerContainer:FindFirstChild("Clip")
local container = clip and clip:FindFirstChild("Container")
-- Apply images and generic replacements first. The explicit labels
-- below must be last because a spoofed username can equal the
-- player's original display name and otherwise get replaced twice.
for _, object in ipairs(card:GetDescendants()) do applyObject(object) end
if container and record then
local playerLabel = container:FindFirstChild("Player")
local usernameLabel = container:FindFirstChild("Username")
local shownName = record.DisplayName ~= "" and record.DisplayName
or (record.Username ~= "" and record.Username or nil)
if playerLabel and playerLabel:IsA("TextLabel") and shownName then
playerLabel.Text = shownName
end
if usernameLabel and usernameLabel:IsA("TextLabel") and record.Username ~= "" then
usernameLabel.Text = "@" .. record.Username
end
end
local slot = card:FindFirstChild("TeammateSlot", true)
local level = slot and slot:FindFirstChild("Level")
local levelTitle = level and level:FindFirstChild("Title")
local streak = slot and slot:FindFirstChild("Streak")
local streakValue = streak and streak:FindFirstChild("Value")
local spoofedLevel = player:GetAttribute("Level")
local spoofedStreak = player:GetAttribute("StatisticDuelsWinStreak")
or player:GetAttribute("WinStreak") or player:GetAttribute("CurrentWinStreak")
if levelTitle and levelTitle:IsA("TextLabel") and spoofedLevel ~= nil then
levelTitle.Text = tostring(math.floor(tonumber(spoofedLevel) or 0))
end
if streakValue and streakValue:IsA("TextLabel") and spoofedStreak ~= nil then
streakValue.Text = tostring(math.floor(tonumber(spoofedStreak) or 0))
end
end
wrappedEliminatedPlay = function(self, player, ...)
task.defer(function()
task.wait()
applyEliminatedCard(player or ownPlayer)
end)
return originalEliminatedPlay(self, player, ...)
end
eliminatedEffect.Play = wrappedEliminatedPlay
mainapi:Clean(function()
if eliminatedEffect.Play == wrappedEliminatedPlay then
eliminatedEffect.Play = originalEliminatedPlay
end
end)
end
-- FinalResults.Winners asks ClientDueler for a separate cutscene model.
-- Its preloaded model is based on the account's real user ID, so use our
-- cached local avatar template for the selected player instead.
local okDueler, duelClass = pcall(function()
return require(ownPlayer.PlayerScripts.Modules.ClientReplicatedClasses.ClientDueler)
end)
if okDueler and type(duelClass) == "table" and type(duelClass.GetCharacterModelForCutscene) == "function" then
local originalCutsceneModel = duelClass.GetCharacterModelForCutscene
local wrappedCutsceneModel
wrappedCutsceneModel = function(self, ...)
local player = self.Player
local config
local selected = false
if player == ownPlayer then
config = (advancedAvatar and advancedAvatar.Enabled) and advancedAvatar or ownAvatar
selected = true
elseif peerConfigs[player] and peerConfigs[player].Enabled then
config = peerConfigs[player]
selected = true
else
config = enemy
end
if not selected and config and config.Enabled then
for _, target in ipairs(targets(enemy)) do
if target == player then selected = true break end
end
end
local template = selected and config.Enabled and config.Avatar
and config.Templates and config.Templates.Cutscene
if not template and selected and config.Enabled and config.Avatar and config.Description then
template = getAvatarTemplate(config, Enum.HumanoidRigType.R15, config.Generation, true)
end
if not template then return originalCutsceneModel(self, ...) end
local model = template:Clone()
for _, part in ipairs(model:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
part.CanTouch = false
part.CanQuery = false
end
end
local root = model:FindFirstChild("HumanoidRootPart")
if root then root.Anchored = true end
return model
end
duelClass.GetCharacterModelForCutscene = wrappedCutsceneModel
mainapi:Clean(function()
if duelClass.GetCharacterModelForCutscene == wrappedCutsceneModel then
duelClass.GetCharacterModelForCutscene = originalCutsceneModel
end
end)
end
local function watchPlayer(player)
remember(player)
if playerConnections[player] then return end
playerConnections[player] = {
player.CharacterAdded:Connect(function(character)
-- Register the description before yielding. Character-loading code may
-- request or reapply appearance data during the same spawn frame.
for _, config in ipairs(allSpoofConfigs()) do
if config.Enabled and config.Avatar and config.Description
and not config.NativeApplyUnavailable
and configTargetsPlayer(config, player) then
hookState.AvatarDescriptionsByCharacter[character] = config.Description
end
end
task.defer(function()
if not alive or player.Character ~= character then return end
rebuildRecords()
for _, config in ipairs(allSpoofConfigs()) do
if config.Enabled and config.Avatar and config.Description
and configTargetsPlayer(config, player) then
if not config.NativeApplyUnavailable then
hookState.AvatarDescriptionsByCharacter[character] = config.Description
end
task.spawn(applyAvatar, player, config, config.Generation)
end
end
end)
end),
player.CharacterAppearanceLoaded:Connect(function(character)
task.defer(function()
if not alive or player.Character ~= character then return end
rebuildRecords()
for _, config in ipairs(allSpoofConfigs()) do
if config.Enabled and config.Avatar and config.Description
and configTargetsPlayer(config, player) then
if not config.NativeApplyUnavailable then
hookState.AvatarDescriptionsByCharacter[character] = config.Description
end
task.spawn(applyAvatar, player, config, config.Generation, true)
end
end
end)
end),
player:GetPropertyChangedSignal("Team"):Connect(function()
if alive and enemy.Enabled and enemy.Target == "All enemies" then refresh(enemy) end
end),
player:GetPropertyChangedSignal("Neutral"):Connect(function()
if alive and enemy.Enabled and enemy.Target == "All enemies" then refresh(enemy) end
end),
}
end
for _, player in ipairs(service:GetPlayers()) do watchPlayer(player) end
mainapi:Clean(service.PlayerAdded:Connect(function(player)
watchPlayer(player)
if enemy.Selector.SetList then
enemy.Selector:SetList(playerList())
elseif enemy.Selector.SetValues then
enemy.Selector:SetValues(playerList())
end
if enemy.Enabled then refresh(enemy) end
end))
mainapi:Clean(service.PlayerRemoving:Connect(function(player)
if shared.PlexSpooferPeerSync then shared.PlexSpooferPeerSync.Remove(player) end
restoreAvatar(player)
if playerConnections[player] then
for _, connection in ipairs(playerConnections[player]) do connection:Disconnect() end
playerConnections[player] = nil
end
originals[player], records[player] = nil, nil
task.defer(function()
if alive then
if enemy.Selector.SetList then
enemy.Selector:SetList(playerList())
elseif enemy.Selector.SetValues then
enemy.Selector:SetValues(playerList())
end
if enemy.Enabled then refresh(enemy) end
end
end)
end))
mainapi:Clean(function()
alive = false
ownName.Enabled, ownAvatar.Enabled, enemy.Enabled, advancedAvatar.Enabled = false, false, false, false
ownName.Generation += 1
ownAvatar.Generation += 1
enemy.Generation += 1
advancedAvatar.Generation += 1
table.clear(records)
restoreUI()
for player in pairs(appearance) do restoreAvatar(player) end
for _, list in pairs(playerConnections) do for _, connection in ipairs(list) do connection:Disconnect() end end
for _, connection in pairs(rootConnections) do connection:Disconnect() end
for _, connection in pairs(objectConnections) do connection:Disconnect() end
if ownAvatar.Description then ownAvatar.Description:Destroy() end
if enemy.Description then enemy.Description:Destroy() end
if advancedAvatar.Description then advancedAvatar.Description:Destroy() end
if advancedAvatar.BaseDescription then advancedAvatar.BaseDescription:Destroy() end
clearAvatarTemplates(ownAvatar)
clearAvatarTemplates(enemy)
clearAvatarTemplates(advancedAvatar)
for player, config in pairs(peerConfigs) do
if config.Description then config.Description:Destroy() end
clearAvatarTemplates(config)
peerConfigs[player] = nil
end
shared.PlexSpooferPeerSync = nil
if spoofFolder and spoofFolder.Parent then pcall(function() spoofFolder:Destroy() end) end
end)
function exportedApi.SetAvatar(enabled,source,headless)
ownAvatar.Enabled=enabled==true
ownAvatar.Source=tostring(source or "")
ownAvatar.Headless=headless==true
ownAvatar.CustomPicture=ownAvatar.Headless
refresh(ownAvatar,true)
end
function exportedApi.SetUsername(enabled,username,displayName)
ownName.Enabled=enabled==true
ownName.Username=tostring(username or "")
ownName.DisplayName=tostring(displayName or "")
rebuildRecords()
end
end)
end
exportedApi.SetAvatar=function(enabled,...)if not enabled and not identityReady then return end;ensureIdentity();return exportedApi.SetAvatar(enabled,...)end
exportedApi.SetUsername=function(enabled,...)if not enabled and not identityReady then return end;ensureIdentity();return exportedApi.SetUsername(enabled,...)end
return assert(exportedApi,"Cosmetic controller unavailable. Join a fully loaded Rivals lobby.")
end
end)()
local function dispose(resource)
if type(resource)=="function" then pcall(resource)
elseif resource and resource.Disconnect then pcall(resource.Disconnect,resource)
elseif resource and resource.Destroy then pcall(resource.Destroy,resource) end
end
runtime.PlexResources={}
function runtime:StopPlex()
if self.PlexContext then self.PlexContext.Active=false end
for index=#self.PlexResources,1,-1 do dispose(self.PlexResources[index]) end
table.clear(self.PlexResources)
if shared.LionCosmeticChanger==self.PlexApi then shared.LionCosmeticChanger=nil end
self.PlexApi=nil
end
function runtime:EnsurePlex()
assert(self.Alive,"Yabujin is unloaded")
if self.PlexApi then return self.PlexApi end
assert(not(shared.Modern and not shared.Modern.Uninjecting),"Unload Plex before enabling the standalone backend")
local ctx={Active=true}
self.PlexContext=ctx
function ctx:Clean(resource)
if not runtime.Alive or not self.Active then dispose(resource) else runtime.PlexResources[#runtime.PlexResources+1]=resource end
end
function ctx:Notify(data)
if runtime.Library then runtime.Library:Notify(tostring(data.Text or data),4) end
end
local ok,api=pcall(createPlexBackend,ctx)
if not ok then self:StopPlex(); error(api,0) end
self.PlexApi=api
return api
end
local createBackend=(function()
return function(runtime)
local backend={Enabled=false,Alive=true,Unlock=false,Attributes={},AttributeConnections={},BlurState={strength=12}}
local config=runtime.Context.spoofConfig
local players=game:GetService('Players')
local player=players.LocalPlayer
local attributeFields={Level={'LevelSpoof','SpoofedLevel'},DisplayELO={'ELOSpoof','SpoofedELO'},DisplayELOLeaderboardRanking={'LeaderboardRankSpoof','SpoofedLeaderboardRank'},StatisticDuelsWinStreak={'StreakSpoof','SpoofedStreak'},PlayerStatus={'PassSpoof','SpoofedPlayerStatus'}}
function backend:RefreshAttributes()
for attribute,fields in pairs(attributeFields)do
local value=self.Enabled and config[fields[1]]and config[fields[2]]or nil
local saved=self.Attributes[attribute]
if value~=nil then
if not saved then saved={Value=player:GetAttribute(attribute)};self.Attributes[attribute]=saved end
player:SetAttribute(attribute,value)
elseif saved then
self.Attributes[attribute]=nil
player:SetAttribute(attribute,saved.Value)
end
end
end
function backend:Initialize()
if self.Controller then return end
runtime:EnsurePlex()
local scripts=assert(player:FindFirstChild('PlayerScripts'),'PlayerScripts not ready')
local controllers=assert(scripts:FindFirstChild('Controllers'),'Controllers not ready')
local module=assert(controllers:FindFirstChild('PlayerDataController'),'This place has no Rivals PlayerDataController')
local controller=require(module)
assert(type(controller.Get)=='function','PlayerDataController.Get unavailable')
self.Controller,self.OriginalGet=controller,controller.Get
local dependencies=table.clone(runtime.Context)
dependencies.spooferActive=true
dependencies.spoofConfig=config
dependencies.origDataGet=self.OriginalGet
dependencies.weaponUnlockMode='none'
self.Bound=runtime.New(dependencies)
self.Read=function(owner,key,...)
if not backend.Alive or not backend.Enabled then return backend.OriginalGet(owner,key,...)end
return backend.Bound.hookClientDataGet(owner,key,...)
end
end
function backend:RefreshInventory()
runtime:EnsurePlex().SetUnlockAll(self.Unlock==true)
end
function backend:SetEnabled(enabled)
if enabled then
assert(self.Alive,'Backend unloaded')
self:Initialize()
self.Enabled=true
self.Controller.Get=self.Read
else
self.Enabled=false
if self.Controller and self.Controller.Get==self.Read then self.Controller.Get=self.OriginalGet end
self.Inventory=nil
end
self:RefreshAttributes()
end
function backend:Refresh()
self:RefreshAttributes()
if self.Enabled and self.Controller then
for _,key in ipairs({'Level','WeaponKeys','UnlockTokens','Glory','SkinTickets','EventCurrency','Seasons','Statistics'})do
pcall(function()
local data=self.Controller.CurrentData
if data then data:GetDataChangedSignal(key):Fire(self.Controller:Get(key),key)end
end)
end
end
end
function backend:SetIdentity(enabled)
config.UsernameSpoof=enabled==true
if enabled or runtime.PlexApi then
runtime:EnsurePlex().SetUsername(enabled==true,config.SpoofedName or "",config.SpoofedDisplayName or "")
end
end
function backend:SetBlur(enabled)
if self.BlurConnection then self.BlurConnection:Disconnect();self.BlurConnection=nil end
if self.BlurState.blur then self.BlurState.blur:Destroy();self.BlurState.blur=nil end
self.BlurState.lastCFrame=nil
if not enabled then return end
local blur=Instance.new('BlurEffect');blur.Name='YabujinRecoveredMotionBlur';blur.Size=0;blur.Parent=game:GetService('Lighting')
self.BlurState.blur=blur
local helper=runtime.New({motionBlurState=self.BlurState})
self.BlurConnection=game:GetService('RunService').Heartbeat:Connect(function(dt)helper.updateCameraMotionBlur(dt)end)
end
function backend:Destroy()
if not self.Alive then return end
self:SetEnabled(false)
self:SetBlur(false)
if config.UsernameSpoof then self:SetIdentity(false)end
self.Alive=false
end
return backend
end
end)()
local createFrontend=(function()
return function(runtime,library)
local backend=runtime.Backend
local config=runtime.Context.spoofConfig
local window=library:CreateWindow({Title='Yabujin',Footer='Standalone client · Plex cosmetic backend',AutoShow=true,Center=true,ToggleKeybind=Enum.KeyCode.RightShift})
runtime.Window=window
local tabs={Spoofers=window:AddTab('Spoofers','user'),Resources=window:AddTab('Resources','coins'),Cosmetics=window:AddTab('Cosmetics','shirt'),Visuals=window:AddTab('Visuals','eye'),Settings=window:AddTab('Settings','settings')}
tabs.Inventory=window:AddTab('Inventory','box')
tabs.Custom=window:AddTab('Custom cosmetics','palette')
tabs.Ranks=window:AddTab('Ranks','award')
local controls={}
runtime.Controls=controls
local function safe(fn)
return function(...)
local ok,why=pcall(fn,...)
if not ok then runtime.LastError=why;warn('[Yabujin] '..tostring(why));if library.Notify then library:Notify(tostring(why),6)end end
end
end
local menu=tabs.Settings:AddLeftGroupbox('Menu')
local savedKey='RightShift'
local settingsPath='Yabujin/menu.json'
pcall(function()
if isfile and readfile and isfile(settingsPath)then
local data=game:GetService('HttpService'):JSONDecode(readfile(settingsPath))
if type(data)=='table' and type(data.Key)=='string' and Enum.KeyCode[data.Key] and data.Key~='Unknown'then savedKey=data.Key end
end
end)
local function saveMenuKey(key)
pcall(function()
if not writefile or not makefolder or not isfolder then return end
if not isfolder('Yabujin')then makefolder('Yabujin')end
writefile(settingsPath,game:GetService('HttpService'):JSONEncode({Key=key}))
end)
end
function window:SetVisible(visible)
if library.Unloaded then return end
if library.Toggled~=(visible==true)then library:Toggle(visible==true)end
end
menu:AddLabel('Show / hide menu'):AddKeyPicker('Recovery_MenuKeybind',{
Text='Menu keybind',Default=savedKey,Mode='Toggle',Modes={'Toggle'},NoUI=true,SyncToggleState=false,
ChangedCallback=function()
local picker=library.Options.Recovery_MenuKeybind
if not picker then return end
local ok,key=pcall(function()return Enum.KeyCode[picker.Value]end)
if not ok or not key or key==Enum.KeyCode.Unknown then
library:Notify('Choose a keyboard key for the menu.',3)
picker:SetValue({savedKey,'Toggle'})
return
end
savedKey=picker.Value
library.ToggleKeybind=key
saveMenuKey(savedKey)
end,
})
library.ToggleKeybind=Enum.KeyCode[savedKey]
menu:AddLabel('Default: Right Shift. Click the key above to rebind; typing does not toggle the menu.')
menu:AddButton({Text='Reset menu key',Func=function()
library.Options.Recovery_MenuKeybind:SetValue({'RightShift','Toggle'})
end})
local backendGroup=tabs.Settings:AddLeftGroupbox('Backend')
backendGroup:AddToggle('Recovery_Backend',{Text='Enable data spoofing',Default=false,Callback=safe(function(value)backend:SetEnabled(value)end)})
backendGroup:AddLabel('Spoofers change this client’s display; server balances and progression stay unchanged.')
backendGroup:AddButton({Text='Refresh client display',Func=safe(function()backend:Refresh()end)})
backendGroup:AddButton({Text='Unload',Func=function()runtime:Unload()end})
local identity=tabs.Spoofers:AddLeftGroupbox('Username')
config.SpoofedName,config.SpoofedDisplayName='',''
identity:AddInput('Recovery_Username',{Text='Username',Default='',Finished=true,Callback=function(value)config.SpoofedName=value end})
identity:AddInput('Recovery_DisplayName',{Text='Display name',Default='',Finished=true,Callback=function(value)config.SpoofedDisplayName=value end})
identity:AddToggle('Recovery_NameEnabled',{Text='Username spoofer',Default=false,Callback=safe(function(value)backend:SetIdentity(value)end)})
identity:AddButton({Text='Apply names',Func=safe(function()backend:SetIdentity(config.UsernameSpoof==true)end)})
local profile=tabs.Spoofers:AddRightGroupbox('Profile display')
local resources=tabs.Resources:AddLeftGroupbox('Currencies')
local progression=tabs.Resources:AddRightGroupbox('Progression')
local function numberControl(group,title,flag,field,default)
config[flag],config[field]=false,default
group:AddToggle('Recovery_'..flag,{Text=title,Default=false,Callback=safe(function(value)config[flag]=value;backend:Refresh()end)})
group:AddInput('Recovery_'..field,{Text=title..' value',Default=tostring(default),Numeric=true,Finished=true,Callback=safe(function(value)
local number=tonumber(value);assert(number and number==number and math.abs(number)<1e12,'Enter a finite number')
config[field]=math.max(0,math.floor(number));backend:Refresh()
end)})
end
numberControl(profile,'Level','LevelSpoof','SpoofedLevel',100)
numberControl(profile,'ELO','ELOSpoof','SpoofedELO',2000)
numberControl(profile,'Leaderboard rank','LeaderboardRankSpoof','SpoofedLeaderboardRank',1)
numberControl(profile,'Win streak','StreakSpoof','SpoofedStreak',100)
numberControl(resources,'Keys','KeysSpoof','SpoofedKeys',1000)
numberControl(resources,'Unlock tokens','TokensSpoof','SpoofedTokens',100)
numberControl(resources,'Event currency','EventCurrSpoof','SpoofedEventCurr',100)
numberControl(resources,'Glory','GlorySpoof','SpoofedGlory',100)
numberControl(resources,'Skin tickets','SkinTicketsSpoof','SpoofedSkinTickets',100)
numberControl(progression,'Playtime','PlaytimeSpoof','SpoofedPlaytime',3600)
local function api() return runtime:EnsurePlex() end
local state={Weapon=nil,Kind='Skin',Selection=nil,Page=1,Query='',Entries={}}
runtime.CosmeticState=state
local cosmetic=tabs.Cosmetics:AddLeftGroupbox('Skin changer')
local selected=tabs.Cosmetics:AddRightGroupbox('Cosmetics')
cosmetic:AddToggle('Recovery_UnlockPreview',{Text='Unlock all cosmetics',Default=false,Callback=safe(function(value)
backend.Unlock=value;backend:RefreshInventory()
end)})
cosmetic:AddToggle('Recovery_WeaponOwnership',{Text='Spoof weapon ownership',Default=false,Callback=safe(function(value)
local ok,why=api().SetWeaponOwnership(value);assert(ok~=false,tostring(why))
end)})
local function refreshItems()
if not runtime.PlexApi or not state.Weapon then return end
state.Entries=api().CascadeCatalog(state.Kind,state.Weapon,state.Query)
local values={}
local pages=math.max(1,math.ceil(#state.Entries/60))
state.Page=math.clamp(state.Page,1,pages)
for index=(state.Page-1)*60+1,math.min(state.Page*60,#state.Entries)do values[#values+1]=state.Entries[index].Name end
library.Options.Recovery_Cosmetic:SetValues(values)
state.Selection=values[1]
if state.Selection then library.Options.Recovery_Cosmetic:SetValue(state.Selection)end
if runtime.CatalogStatus then runtime.CatalogStatus:SetText('Page '..state.Page..' / '..pages..' · '..#state.Entries..' items')end
end
cosmetic:AddDropdown('Recovery_Weapon',{Text='Weapon',Values={},AllowNull=true,Callback=safe(function(value)
state.Weapon=value;state.Page=1;refreshItems()
end)})
cosmetic:AddDropdown('Recovery_Kind',{Text='Type',Values={'Skin','Wrap','Charm','Finisher','Emote'},Default='Skin',Callback=safe(function(value)
state.Kind=value;state.Page=1;refreshItems()
end)})
cosmetic:AddInput('Recovery_CosmeticQuery',{Text='Search',Default='',Finished=true,Callback=safe(function(value)
state.Query=value;state.Page=1;refreshItems()
end)})
selected:AddDropdown('Recovery_Cosmetic',{Text='Cosmetic',Values={},AllowNull=true,Callback=function(value)state.Selection=value end})
runtime.CatalogStatus=selected:AddLabel('Press Load catalog to fetch items.')
cosmetic:AddButton({Text='Load catalog',Func=safe(function()
local values={}
for _,entry in ipairs(api().CascadeCatalog('Weapon'))do values[#values+1]=entry.Name end
library.Options.Recovery_Weapon:SetValues(values)
if values[1]then library.Options.Recovery_Weapon:SetValue(state.Weapon or values[1])end
refreshItems()
end)})
selected:AddButton({Text='Previous page',Func=safe(function()state.Page=math.max(1,state.Page-1);refreshItems()end)})
selected:AddButton({Text='Next page',Func=safe(function()state.Page+=1;refreshItems()end)})
selected:AddButton({Text='Equip selected',Func=safe(function()
assert(state.Selection,'Choose a cosmetic');api().CascadeEquip(state.Weapon,state.Selection,state.Kind)
end)})
selected:AddButton({Text='Restore selected slot',Func=safe(function()api().CascadeEquip(state.Weapon,'None',state.Kind)end)})
selected:AddButton({Text='Reset all cosmetics',Func=safe(function()api().CascadeReset()end)})
local avatar=tabs.Spoofers:AddLeftGroupbox('Avatar')
local identityState={Enabled=false,Source='',Headless=false}
local function applyAvatar()api().SetAvatar(identityState.Enabled,identityState.Source,identityState.Headless)end
avatar:AddInput('Recovery_AvatarSource',{Text='Username or user ID',Default='',Finished=true,Callback=function(value)identityState.Source=value end})
avatar:AddToggle('Recovery_AvatarEnabled',{Text='Avatar spoofer',Default=false,Callback=safe(function(value)identityState.Enabled=value;applyAvatar()end)})
avatar:AddToggle('Recovery_Headless',{Text='Headless',Default=false,Callback=safe(function(value)identityState.Headless=value;if identityState.Enabled then applyAvatar()end end)})
avatar:AddButton({Text='Apply avatar',Func=safe(applyAvatar)})
local rank=tabs.Ranks:AddLeftGroupbox('Rank display')
local rankState={Enabled=false,Name='Gold',Placement=1,Season=0,CharmEnabled=false,CharmRank=nil,CharmPlacement=1}
local function applyRank()api().SetRankSpoof(rankState.Enabled,rankState.Name,rankState.Placement)end
rank:AddDropdown('Recovery_Rank',{Text='Rank',Values={'Bronze','Silver','Gold','Diamond','Onyx','Nemesis','Arch Nemesis'},Default='Gold',Callback=safe(function(value)rankState.Name=value;if rankState.Enabled then applyRank()end end)})
rank:AddSlider('Recovery_RankPosition',{Text='Top placement',Min=1,Max=200,Default=1,Rounding=0,Callback=safe(function(value)rankState.Placement=value;if rankState.Enabled then applyRank()end end)})
rank:AddToggle('Recovery_RankEnabled',{Text='Rank spoofer',Default=false,Callback=safe(function(value)rankState.Enabled=value;applyRank()end)})
local charm=tabs.Ranks:AddRightGroupbox('Ranked charm')
local function refreshCharm()
local values=api().RankedCharmChoices(rankState.Season)
library.Options.Recovery_CharmRank:SetValues(values)
rankState.CharmRank=values[1]
if values[1]then library.Options.Recovery_CharmRank:SetValue(values[1])end
end
local function applyCharm()
if not rankState.CharmRank then refreshCharm()end
api().SetRankedCharm(rankState.Season,rankState.CharmRank,rankState.CharmPlacement,rankState.CharmEnabled)
end
charm:AddDropdown('Recovery_CharmSeason',{Text='Season',Values={'Zero','Warp','Polar','Fame'},Default='Zero',Callback=safe(function(value)
local previous=rankState.Season
if runtime.PlexApi and rankState.CharmRank and rankState.CharmEnabled then api().SetRankedCharm(previous,rankState.CharmRank,rankState.CharmPlacement,false)end
rankState.Season=(table.find({'Zero','Warp','Polar','Fame'},value)or 1)-1
if runtime.PlexApi then refreshCharm();if rankState.CharmEnabled then applyCharm()end end
end)})
charm:AddDropdown('Recovery_CharmRank',{Text='Rank',Values={},AllowNull=true,Callback=safe(function(value)rankState.CharmRank=value;if rankState.CharmEnabled then applyCharm()end end)})
charm:AddButton({Text='Load ranks',Func=safe(refreshCharm)})
charm:AddSlider('Recovery_CharmPosition',{Text='Top placement',Min=1,Max=200,Default=1,Rounding=0,Callback=safe(function(value)rankState.CharmPlacement=value;if rankState.CharmEnabled then applyCharm()end end)})
charm:AddToggle('Recovery_CharmEnabled',{Text='Ranked charm spoofer',Default=false,Callback=safe(function(value)rankState.CharmEnabled=value;applyCharm()end)})
local inject=tabs.Inventory:AddLeftGroupbox('Cosmetics')
local inventoryState={Amount=1,Box=nil,Open=1}
inject:AddSlider('Recovery_InjectAmount',{Text='Amount',Min=1,Max=9999,Default=1,Rounding=0,Callback=function(value)inventoryState.Amount=value end})
inject:AddButton({Text='Inject selected cosmetic',Func=safe(function()
assert(state.Selection,'Choose a cosmetic in the Cosmetics tab')
local ok,why=api().InjectCosmetic(state.Selection,inventoryState.Amount);assert(ok,tostring(why))
end)})
inject:AddButton({Text='Remove selected cosmetic',Func=safe(function()api().RemoveInjectedCosmetic(state.Selection)end)})
local boxes=tabs.Inventory:AddRightGroupbox('Boxes')
boxes:AddDropdown('Recovery_Box',{Text='Box',Values={},AllowNull=true,Callback=function(value)inventoryState.Box=value end})
boxes:AddButton({Text='Load box catalog',Func=safe(function()
local values=api().ListBoxes();library.Options.Recovery_Box:SetValues(values)
if values[1]then library.Options.Recovery_Box:SetValue(values[1])end
end)})
boxes:AddButton({Text='Inject box',Func=safe(function()
assert(inventoryState.Box,'Choose a box');local ok,why=api().InjectBox(inventoryState.Box,inventoryState.Amount);assert(ok,tostring(why))
end)})
boxes:AddSlider('Recovery_OpenAmount',{Text='Open amount',Min=1,Max=9999,Default=1,Rounding=0,Callback=function(value)inventoryState.Open=value end})
boxes:AddButton({Text='Open selected box',Func=safe(function()
assert(inventoryState.Box,'Choose a box');local ok,why=api().OpenBox(inventoryState.Box,inventoryState.Open,state.Weapon);assert(ok,tostring(why))
library:Notify(tostring(why),4)
end)})
boxes:AddButton({Text='Remove box',Func=safe(function()api().RemoveBox(inventoryState.Box)end)})
local creator=tabs.Custom:AddLeftGroupbox('Create cosmetic')
local custom={Type='Skin',Name='',Rarity='Common',IconId='',ModelId=''}
creator:AddDropdown('Recovery_CustomType',{Text='Type',Values={'Skin','Wrap','Charm','Finisher','Emote'},Default='Skin',Callback=function(value)custom.Type=value end})
creator:AddDropdown('Recovery_CustomRarity',{Text='Rarity',Values={'Common','Uncommon','Rare','Epic','Legendary','Contraband'},Default='Common',Callback=function(value)custom.Rarity=value end})
for _,spec in ipairs({{'Name','Custom name'},{'IconId','Icon asset ID (optional)'},{'ModelId','Model / texture / animation asset ID'}})do
creator:AddInput('Recovery_Custom'..spec[1],{Text=spec[2],Default='',Finished=true,Callback=function(value)custom[spec[1]]=value end})
end
creator:AddLabel('Uses the weapon selected in Cosmetics. Wraps use textures; emotes use animations.')
creator:AddButton({Text='Create cosmetic',Func=safe(function()
local def=table.clone(custom);def.Weapon=state.Weapon
if def.Type=='Emote'then def.AnimationId=def.ModelId end
local ok,key=api().RegisterCustomCosmetic(def);assert(ok,tostring(key));library:Notify('Created '..tostring(def.Name),3);refreshItems()
end)})
local files=tabs.Settings:AddRightGroupbox('Cosmetic config')
local configName='default'
files:AddInput('Recovery_ConfigName',{Text='Config name',Default='default',Finished=true,Callback=function(value)configName=value end})
files:AddButton({Text='Save cosmetics',Func=safe(function()local ok,why=api().SaveConfig(configName);assert(ok~=false,tostring(why))end)})
files:AddButton({Text='Load cosmetics',Func=safe(function()local ok,why=api().LoadConfig(configName);assert(ok~=false,tostring(why));refreshItems()end)})
local visual=tabs.Visuals:AddLeftGroupbox('Motion blur')
visual:AddToggle('Recovery_MotionBlur',{Text='Motion blur',Default=false,Callback=safe(function(value)backend:SetBlur(value)end)})
visual:AddSlider('Recovery_BlurStrength',{Text='Strength',Default=12,Min=1,Max=30,Rounding=0,Callback=function(value)backend.BlurState.strength=value end})
if library.OnUnload then library:OnUnload(function()
backend:Destroy();runtime:StopPlex();runtime.Alive=false
end)end
return window
end
end)()
if game then runtime.Backend=createBackend(runtime)end
if options.AutoStart~=false and game then
local library,why=runtime:StartUI()
if library then
local ok,result=pcall(createFrontend,runtime,library)
if not ok then runtime.LastError=result;warn("[Yabujin Recovery] Window failed: "..tostring(result))end
else runtime.LastError=why;warn("[Yabujin Recovery] UI failed: "..tostring(why))end
end
return runtimeScript #45 1. Aimbot & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/Alwaystappingwit/Unammed.Enchantments/refs/heads/main/Rivals"))()Script #46 Rivals (Draco Hub), 58 features & More
script_key = "PUT_YOUR_KEY_HERE"
loadstring(game:HttpGet("https://api.luarmor.net/files/v3/loaders/cdc8ffd74b2c33f6c9f47b85f4b77c45.lua"))()
--DISCORDforkey
--https://discord.gg/qZhdt2TZQDScript #47 Trigger bot & More
loadstring(game:HttpGet("https://pastebin.com/raw/SYpiHYBb"))()Script #48 Aimbot & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/bracketssdev/RivalsKeylessHub/main/script.lua"))()Script #49 Noa Hub
local success, errorMessage = pcall(function()
loadstring(game:HttpGet("https://pastebin.com/raw/1kaX0Dzp"))()
end)
if not success then
warn("An error occurred while loading the script: " .. tostring(errorMessage))
else
print("Noa Hub loaded successfully!")
endScript #50 ESP & More
loadstring(game:HttpGet("https://riftscripts.up.railway.app/api/v1/loader/rivals"))()Script #51 full source zkxhub for rivals & More
-- R1V4LZ (Rivals) hub - readable build
-- Same program as the compact build: indented and formatted, decompiler placeholders renamed (arg / v115 / tbl17 / fn35 / index2 ...),
-- section banners and module notes added. Search for a title below to jump to a section.
-- Lifted ragebot modules are keyed by letters (`do -- cF FighterRegistry: ...`); their accessors are modules.<key>().
--
-- Sections, in file order:
-- Boot hooks: analytics remote, Player:Kick, ScriptContext.Error
-- Startup: environment and single-instance guard
-- Executor capability stubs
-- Supported experiences and shared module registry
-- UI library: embedded Lucide icon subset
-- UI library: icons
-- UI library (Obsidian): windows, tabs, widgets, notifications
-- UI library: config save / load (SaveManager)
-- UI library: themes (ThemeManager)
-- Script paths and storage folders
-- Connection registry
-- Menu settings (UI Settings tab)
-- Game bootstrap
-- Ragebot (ZHub): lifted modules and standalone boot
-- Ranked charm spoofer
-- UI kit (ZkxUIKit): polish for Obsidian windows
-- UI extras: font, fades, scale, cursor, splash
-- Teleport rage (Automation > Ragebot)
-- Error reporter
-- Safe executor wrappers
-- Game section (Rivals)
-- Services, player refs and game modules
-- Aimbot state: silent aim, camera aim, triggerbot
-- Weapon mods: attack speed, reload, no spread, recoil, melee reach
-- ESP (classic): player cards and reactive bars
-- ESP (classic): lines and corner boxes
-- Pickup drops (health / ammo) tracking
-- Weapon mods: hooks, input prototypes, knife extender
-- Aimbot bridge: pointer, targeting helpers
-- Silent aim and triggerbot runtime
-- Flickbot
-- World visuals: lighting, sky, weather, lightning, post effects
-- World presets
-- Viewmodel visuals: chams, highlight, wireframe
-- Crosshair presets
-- Native removals: flashbang, scope, muzzle flash, hitmarker, ...
-- Movement: speed, flight, noclip, auto strafe, long jump
-- Device spoof
-- Player spoofer
-- Animation player
-- Movement recorder
-- Hit / kill feedback and bullet tracers
-- Aimbot diagnostics
-- Silent aim: hook target resolution
-- Cursor triggerbot
-- Aimbot targeting rules (priority, delays, lock)
-- Combat Bot
-- ESP render loop and cheater detector
-- ESP text style extras
-- Local ready state
-- Hub shell (tower v3): event tab, tower kit, features, menus
-- Kill-seat rage (RivalsRagebot)
-- Auto loadout
-- Auto ban / map vote
-- Subspace tripmine automation
-- Auto queue
-- Cosmetics changer (Unlock All)
-- World ESP: items, drops and sounds
-- World ESP: sound visualizer
-- ESP preview (the live preview in the ESP tab)
-- Custom sounds / skyboxes dialogs
-- Menu: ESP tab
-- Anti-aim logic (RivalsAntihit)
-- Menu: anti-aim
-- Menu: Combat tab
-- Menu: weapon mods
-- Menu: Client Effects, Crosshair and World tabs
-- Menu: ragebot (ZHub)
-- Menu: classic ragebot
-- Menu: cosmetics
-- Menu: Automation tab
-- Menu: Movement and Misc tabs
-- Staff detector
-- Menu: assembly
-- Runtime lifecycle: teardown, loops, startup
-- Startup: config profiles, menu settings, loops
-- ======================================================================
-- Boot hooks: analytics remote, Player:Kick, ScriptContext.Error
-- ======================================================================
local success, err = pcall(function()
local Players = cloneref(game:GetService('Players'))
local ReplicatedFirst = cloneref(game:GetService('ReplicatedFirst'))
local ReplicatedStorage = cloneref(game:GetService('ReplicatedStorage'))
local ScriptContext = cloneref(game:GetService('ScriptContext'))
local LocalPlayer = Players.LocalPlayer
local ac_script = ReplicatedFirst:WaitForChild('LocalScript3', 10)
local remotes_folder = ReplicatedStorage:WaitForChild('Remotes', 10)
local analytics_folder = remotes_folder:WaitForChild('AnalyticsPipeline', 10)
local ac_event = analytics_folder:WaitForChild('RemoteEvent', 10)
local TrustedFunctions = setmetatable({}, { __mode = 'k' })
local function TrustFunction(fn)
if type(fn) == 'function' then TrustedFunctions[fn] = true end
return fn
end
local function IsTrustedFunction(fn) return TrustedFunctions[fn] == true end
local SafeHook = function(hookfn, ...)
local args = { ... }
local func, inst, metamethod, detour
if hookfn == hookmetamethod then
inst = args[1]
metamethod = args[2]
detour = args[3]
else
func = args[1]
detour = args[2]
end
local original_func
if hookfn == hookfunction and iscclosure(func) then detour = newcclosure(detour) end
if not iscclosure(detour) then detour = newcclosure(detour) end
local ok, hook_err = pcall(function()
TrustFunction(detour)
if hookfn == hookmetamethod then
original_func = hookfn(inst, metamethod, detour)
else
original_func = hookfn(func, detour)
end
end)
return original_func
end
local oldfireserver
oldfireserver = SafeHook(hookfunction, ac_event.FireServer, function(self, ...)
local args = { ... }
if type(args[1]) == 'number' then return nil end
return oldfireserver(self, ...)
end)
local kKickNames = { 'Kick', 'kick' }
for _, name in ipairs(kKickNames) do
local func = LocalPlayer[name]
if type(func) == 'function' then
local oldfunc
oldfunc = SafeHook(hookfunction, func, function(self, ...)
if self == LocalPlayer and not checkcaller() then return nil end
return oldfunc(self, ...)
end)
end
end
for _, c in ipairs(getconnections(ScriptContext.Error)) do
if c.Function and not IsTrustedFunction(c.Function) then SafeHook(hookfunction, c.Function, function(...) return nil end) end
end
end);
(function()
-- ======================================================================
-- Startup: environment and single-instance guard
-- ======================================================================
-- Global environment resolution
local function ResolveGlobalEnv()
local candidates = {}
if type(getgenv) == 'function' then
local ok, env = pcall(getgenv)
if ok and type(env) == 'table' then table.insert(candidates, env) end
end
if type(getfenv) == 'function' then
local ok, env = pcall(getfenv, 0)
if ok and type(env) == 'table' then table.insert(candidates, env) end
end
for _, env in ipairs(candidates) do
local wrote = pcall(function() env.__ZkxHubEnvProbe = true end)
local seen = __ZkxHubEnvProbe == true
pcall(function() env.__ZkxHubEnvProbe = nil end)
if wrote and seen then return env end
end
return _G
end
local __ZkhHub_genv = ResolveGlobalEnv()
if __ZkhHub_genv.Executed or _G._ZkxHubExecuted then return end
__ZkhHub_genv.Executed = true
pcall(function() _G._ZkxHubExecuted = true end)
-- ======================================================================
-- Executor capability stubs
-- ======================================================================
-- Executor capability stubs
do
local _noop = function() end
local _genv = __ZkhHub_genv
local _stubs = {
getconnections = function() return {} end,
hookmetamethod = function(obj, method, hook) return nil end,
hookfunction = function(orig, hook) return orig end,
newcclosure = function(f) return f end,
getnamecallmethod = function() return '' end,
firetouchinterest = _noop,
firesignal = _noop,
setclipboard = _noop,
cloneref = function(o) return o end,
gethui = _noop,
checkcaller = function() return false end,
clonefunction = function(f) return f end,
getrawmetatable = function(o) return getmetatable(o) end,
setrawmetatable = function(o, mt) return setmetatable(o, mt) end,
setreadonly = _noop,
isreadonly = function() return false end,
getgc = function() return {} end,
filtergc = function() return {} end,
replicatesignal = _noop,
fireclickdetector = _noop,
fireproximityprompt = _noop,
getthreadidentity = function() return 0 end,
setthreadidentity = _noop,
getsenv = function() return {} end,
getscriptfromthread = _noop,
getcallbackvalue = _noop,
getnilinstances = function() return {} end,
getinstances = function() return {} end,
isfunctionhooked = function() return false end,
restorefunction = _noop,
}
local _stubbed = {}
for name, stub in pairs(_stubs) do
if rawget(_genv, name) == nil then
_genv[name] = stub
_stubbed[name] = true
end
end
if game.GameId ~= 6035872082 and _genv.hookfunction ~= _stubs.hookfunction then
local ok = pcall(_genv.hookfunction, function() end, function() end)
if not ok then
_genv.hookfunction = _stubs.hookfunction
_stubbed.hookfunction = true
end
end
local _exName = type(identifyexecutor) == 'function' and identifyexecutor() or ''
local _exNameLower = string.lower(_exName)
if _exNameLower:find('solara') or _exNameLower:find('xeno') then
_genv.firetouchinterest = _noop
_stubbed.firetouchinterest = true
end
if type(_genv.queue_on_teleport) ~= 'function' then
local _qot = (type(queue_on_teleport) == 'function' and queue_on_teleport)
or (type(queueonteleport) == 'function' and queueonteleport)
or (type(syn) == 'table' and type(syn.queue_on_teleport) == 'function' and syn.queue_on_teleport)
or nil
if _qot then _genv.queue_on_teleport = _qot end
end
for _, name in ipairs({ 'queue_on_teleport', 'sethiddenproperty', 'gethiddenproperty', 'getrenv', 'getcallingscript' }) do
if type(_genv[name]) ~= 'function' then _stubbed[name] = true end
end
if type(getgenv) ~= 'function' then
_stubbed.getgenv = true
else
local ok, env = pcall(getgenv)
if not (ok and env == _genv) then _stubbed.getgenv = true end
end
local _debugExt = {}
for _, name in ipairs({
'getupvalue',
'getupvalues',
'setupvalue',
'getconstant',
'getconstants',
'setconstant',
'getprotos',
'getproto',
'getstack',
'info',
}) do
local ok, value = pcall(function() return debug[name] end)
_debugExt['debug.' .. name] = (ok and type(value) == 'function') or false
end
_genv.ZkxHubCaps = {
stubbed = _stubbed,
has = function(name)
if _stubbed[name] then return false end
local probed = _debugExt[name]
if probed ~= nil then return probed end
local target = _genv
for part in string.gmatch(name, '[^%.]+') do
if type(target) ~= 'table' then return false end
local ok, value = pcall(function() return target[part] end)
if not ok then return false end
target = value
end
return type(target) == 'function'
end,
}
end
-- ======================================================================
-- Supported experiences and shared module registry
-- ======================================================================
-- Supported experiences
local Games = {
['RIVALS'] = { ID = 6035872082, State = true },
}
repeat
task.wait()
until game:IsLoaded()
local function __ZkxHubElevateIdentity()
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 8) end
end
__ZkxHubElevateIdentity()
-- Shared module registry
local __ZkhHub_shared = {}
local __shared_module_cache = {}
local function RequireSharedModule(name)
if type(__ZkhHub_shared) ~= 'table' then error('Missing shared module table') end
local cached = __shared_module_cache[name]
if cached ~= nil then return cached end
local loader = __ZkhHub_shared[name]
if type(loader) ~= 'function' then error('Missing shared module: ' .. tostring(name)) end
local result = loader()
__shared_module_cache[name] = result
return result
end
local Library = nil
local ErrorReporter = nil
local HttpService = game:GetService('HttpService')
-- ======================================================================
-- UI library: ZkxVader (a fork of Vaderhaxx with the Obsidian API) - replaces the embedded Obsidian library in this build
-- ======================================================================
__ZkhHub_shared.obsidian_library = function()
-- ==== 00_core.lua ====
-- ZkxVader core: a fork of Vaderhaxx (ImInsane-1337/Libraries, discontinued 2024) extended to the Obsidian API the R1V4LZ hub speaks.
-- This chunk defines everything the other fork files share: services, palette + theme registry, font, tween helper, signals, the Library table.
-- Joined with the other fork files by build_fork.py; the whole thing is one function body that returns Library.
local cloneref = (cloneref or clonereference or function(instance) return instance end)
local function svc(name) return cloneref(game:GetService(name)) end
local UserInputService = svc('UserInputService')
local Players = svc('Players')
local RunService = svc('RunService')
local TweenService = svc('TweenService')
local TextService = svc('TextService')
local HttpService = svc('HttpService')
local GuiService = svc('GuiService')
local CoreGui = svc('CoreGui')
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer and LocalPlayer:GetMouse()
local rgb, hsv, dim2, dim, vec2 = Color3.fromRGB, Color3.fromHSV, UDim2.new, UDim.new, Vector2.new
local floor, clamp, max, min, abs, sin = math.floor, math.clamp, math.max, math.min, math.abs, math.sin
--// Library table (the Obsidian-shaped surface lives here) \\--
local Library = {
Version = 'ZkxVader 1.0 (Vaderhaxx fork)',
Toggles = {},
Options = {},
Labels = {},
Buttons = {},
Tabs = {},
Signals = {},
UnloadSignals = {},
OnUnload = nil, -- function Library:OnUnload(fn)
Unloaded = false,
Toggled = false,
ShowCustomCursor = true,
NotifyOnError = false,
NotifySide = 'Left',
CornerRadius = 0,
ActiveLoading = nil,
Window = nil,
ScreenGui = nil,
KeybindFrame = nil,
ToggleKeybind = nil,
Animations = { Enabled = true, Time = 0.18 },
ThemeFade = true,
DPIScale = 100,
TextSize = 12,
IsMobile = false,
DependencyBoxes = {},
FontListeners = {},
ColorMigrations = {},
Registry = setmetatable({}, { __mode = 'k' }), -- instance -> { Property = paletteKey }
}
Library.__index = Library
-- mobile = a touch device without a keyboard (getgenv().ZkxVaderForceMobile = true forces it, for testing on a PC)
do
local forced = false
pcall(function() forced = ((type(getgenv) == 'function' and getgenv()) or _G).ZkxVaderForceMobile == true end)
Library.IsMobile = forced or (UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled)
end
Library.TextSize = Library.IsMobile and 14 or 12
-- touch scale: rows, buttons and bars are about 45% taller on a phone so a finger can hit them
local function H(size) return Library.IsMobile and floor(size * 1.45 + 0.5) or size end
Library.H = H
--// Palette (Vaderhaxx defaults). a..g are the layered grays of the original, accent is its yellow. \\--
local DefaultPalette = {
accent = rgb(255, 200, 69),
text = rgb(255, 255, 255),
a = rgb(0, 0, 0),
b = rgb(56, 56, 56),
c = rgb(46, 46, 46),
d = rgb(12, 12, 12),
e = rgb(21, 21, 21),
f = rgb(84, 84, 84),
g = rgb(54, 54, 54),
risky = rgb(255, 80, 80),
dim = rgb(150, 150, 150),
}
local Palette = {}
for key, value in pairs(DefaultPalette) do Palette[key] = value end
Library.Palette = Palette
-- Obsidian's five-colour Scheme maps onto the palette (ThemeManager edits Scheme, then calls UpdateColorsUsingRegistry)
Library.Scheme = {
BackgroundColor = DefaultPalette.e,
MainColor = DefaultPalette.c,
AccentColor = DefaultPalette.accent,
OutlineColor = DefaultPalette.b,
FontColor = DefaultPalette.text,
DarkColor = DefaultPalette.d,
RedColor = DefaultPalette.risky,
WhiteColor = rgb(255, 255, 255),
Font = nil, -- filled in below once the font exists
}
--// Font: ProggyClean (the Vaderhaxx pixel font). Cached next to the hub's other files, falls back to a monospace stock font. \\--
local FONT_URL = 'https://github.com/i77lhm/storage/raw/refs/heads/main/fonts/ProggyClean.ttf'
local FONT_DIR = 'ZkxHub/vader'
Library.StorageDir = FONT_DIR
local function loadPixelFont()
local canFile = type(isfile) == 'function' and type(writefile) == 'function' and type(getcustomasset) == 'function'
if not canFile then return nil end
local okFont, font = pcall(function()
if type(isfolder) == 'function' and type(makefolder) == 'function' then
if not isfolder('ZkxHub') then makefolder('ZkxHub') end
if not isfolder(FONT_DIR) then makefolder(FONT_DIR) end
end
local ttf, family = FONT_DIR .. '/ProggyClean.ttf', FONT_DIR .. '/ProggyClean.json'
if not isfile(ttf) then
local data = game:HttpGet(FONT_URL)
if type(data) ~= 'string' or #data < 1000 then error('font download failed') end
writefile(ttf, data)
end
if not isfile(family) then
writefile(
family,
HttpService:JSONEncode({
name = 'ProggyClean',
faces = { { name = 'Regular', weight = 400, style = 'normal', assetId = getcustomasset(ttf) } },
})
)
end
return Font.new(getcustomasset(family), Enum.FontWeight.Regular)
end)
if okFont then return font end
return nil
end
Library.PixelFont = loadPixelFont()
Library.Font = Library.PixelFont or Font.fromEnum(Enum.Font.Code)
Library.Scheme.Font = Library.Font
--// Registries: themed properties and text objects \\--
local TextObjects = setmetatable({}, { __mode = 'k' })
local TEXT_CLASSES = { TextLabel = true, TextButton = true, TextBox = true }
local function ThemeSet(instance, property, key)
local entry = Library.Registry[instance]
if not entry then
entry = {}
Library.Registry[instance] = entry
end
entry[property] = key
instance[property] = Palette[key]
end
Library.Theme = ThemeSet
--// Tweens (never delay a value, only its look) \\--
local function Animating() return Library.Animations.Enabled and not Library.Unloaded end
local function Tween(instance, properties, time, style, direction)
if not Animating() or not instance or not instance.Parent then
for property, value in pairs(properties) do pcall(function() instance[property] = value end) end
return nil
end
local tween = TweenService:Create(
instance,
TweenInfo.new(time or Library.Animations.Time, style or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out),
properties
)
tween:Play()
return tween
end
Library.Tween = Tween
--// Instance factory: New(class, props, themed) \\--
local function New(class, props, themed)
local instance = Instance.new(class)
local parent = nil
for property, value in pairs(props or {}) do
if property == 'Parent' then
parent = value
else
instance[property] = value
end
end
if TEXT_CLASSES[class] then
TextObjects[instance] = true
if not (props and props.FontFace) then instance.FontFace = Library.Font end
if not (props and props.TextSize) then instance.TextSize = Library.TextSize end
if not (props and props.TextColor3) and not (themed and themed.TextColor3) then ThemeSet(instance, 'TextColor3', 'text') end
if instance.ClassName ~= 'TextBox' then instance.TextWrapped = props and props.TextWrapped or false end
end
if class == 'Frame' or class == 'TextButton' or class == 'ImageButton' or class == 'ScrollingFrame' or class == 'TextLabel' then
if not (props and props.BorderSizePixel) then instance.BorderSizePixel = 0 end
end
if themed then
for property, key in pairs(themed) do
ThemeSet(instance, property, key)
end
end
if parent then instance.Parent = parent end
return instance
end
Library.New = New
--// Signals / unload \\--
function Library:GiveSignal(signal)
table.insert(Library.Signals, signal)
return signal
end
local function Connect(signal, callback)
local connection = signal:Connect(callback)
table.insert(Library.Signals, connection)
return connection
end
function Library:OnUnload(callback) table.insert(Library.UnloadSignals, callback) end
function Library:SafeCallback(callback, ...)
if type(callback) ~= 'function' then return nil end
local results = table.pack(xpcall(callback, function(err) return debug.traceback(tostring(err), 2) end, ...))
if results[1] then return table.unpack(results, 2, results.n) end
if Library.NotifyOnError and Library.Notify then pcall(Library.Notify, Library, 'Callback error: ' .. tostring(results[2]):sub(1, 140)) end
warn('[ZkxVader] callback error: ' .. tostring(results[2]))
return nil
end
local SafeCallback = function(...) return Library:SafeCallback(...) end
--// Small helpers shared by every widget \\--
local function TextWidth(text, size, font)
local ok, bounds = pcall(function()
local params = Instance.new('GetTextBoundsParams')
params.Text = text
params.Font = font or Library.Font
params.Size = size or Library.TextSize
params.Width = 10000
return TextService:GetTextBoundsAsync(params)
end)
if ok and bounds then return bounds.X end
return #tostring(text) * 6
end
local function Round(number, step)
step = step or 1
if step == 0 then return number end
local inverse = 1 / step
return floor(number * inverse + 0.5) / inverse
end
-- mouse position in the same space as GuiObject.AbsolutePosition (AbsolutePosition is offset by the top-bar inset, GetMouseLocation is not)
local function MouseAbs() return UserInputService:GetMouseLocation() - GuiService:GetGuiInset() end
Library.MouseAbs = MouseAbs
local function IsMouseOver(gui)
local position = MouseAbs()
local corner, size = gui.AbsolutePosition, gui.AbsoluteSize
return position.X >= corner.X and position.X <= corner.X + size.X and position.Y >= corner.Y and position.Y <= corner.Y + size.Y
end
local function UIParent()
if type(gethui) == 'function' then
local ok, holder = pcall(gethui)
if ok and holder then return holder end
end
return CoreGui
end
-- Window-level bookkeeping the widgets need
Library.Popup = nil -- the one open popup (dropdown list / colour picker / key menu); opening another closes it
function Library:ClosePopup()
local popup = Library.Popup
Library.Popup = nil
if popup and popup.Close then popup.Close() end
end
function Library:OpenPopup(popup)
if Library.Popup and Library.Popup ~= popup then Library:ClosePopup() end
Library.Popup = popup
end
-- Shared class tables (each later file is a do-block, so top-level locals stay far below Luau's 200 limit; cross-file things live here)
local Classes = { Window = {}, Tab = {}, Groupbox = {}, Tabbox = {}, Container = {}, Dialog = {} }
for _, class in pairs(Classes) do class.__index = class end
Library.Classes = Classes
-- nested 1px outlines (the Vaderhaxx look): Panel(parent, {'a','c','e'}, { Size = ..., Position = ..., Auto = true })
-- returns the outermost and the innermost frame; content goes into the innermost one
local function Panel(parent, keys, props)
props = props or {}
local outer, current = nil, parent
for index, key in ipairs(keys) do
local frame = New('Frame', {
Size = (index == 1 and props.Size) or (props.AutoXY and dim2(0, 0, 0, 0)) or (props.Auto and dim2(1, 0, 0, 0) or dim2(1, 0, 1, 0)),
Position = index == 1 and props.Position or nil,
AnchorPoint = index == 1 and props.AnchorPoint or nil,
AutomaticSize = props.AutoXY and Enum.AutomaticSize.XY or (props.Auto and Enum.AutomaticSize.Y or Enum.AutomaticSize.None),
BackgroundTransparency = (index == #keys and props.InnerTransparency) or 0,
ClipsDescendants = (index == #keys) and props.Clip or false,
Parent = current,
}, { BackgroundColor3 = key })
if index < #keys then New('UIPadding', { PaddingTop = dim(0, 1), PaddingBottom = dim(0, 1), PaddingLeft = dim(0, 1), PaddingRight = dim(0, 1), Parent = frame }) end
outer = outer or frame
current = frame
end
return outer, current
end
Library.Panel = Panel
--// Input router: ONE real connection per UserInputService event / per frame, many handlers behind it.
-- The menu has hundreds of widgets; giving each its own always-on InputChanged listener made every mouse move wake 230+ closures.
-- Now a slider or colour picker only registers while it is actually being dragged, and the window drag/resize applies once per frame.
local Router = { Began = {}, Changed = {}, Ended = {}, Render = {} }
local RouterDirty = {}
local function dispatch(kind, ...)
local list = Router[kind]
local count = #list
if count == 0 then return end
for index = 1, count do
local handle = list[index]
local fn = handle and handle.fn
if fn then
local ok, err = pcall(fn, ...)
if not ok then warn('[ZkxVader] input handler: ' .. tostring(err)) end
end
end
if RouterDirty[kind] then
RouterDirty[kind] = nil
local kept = {}
for _, handle in ipairs(Router[kind]) do
if handle.fn then kept[#kept + 1] = handle end
end
Router[kind] = kept
end
end
table.insert(Library.Signals, UserInputService.InputBegan:Connect(function(...) dispatch('Began', ...) end))
table.insert(Library.Signals, UserInputService.InputChanged:Connect(function(...) dispatch('Changed', ...) end))
table.insert(Library.Signals, UserInputService.InputEnded:Connect(function(...) dispatch('Ended', ...) end))
table.insert(Library.Signals, RunService.RenderStepped:Connect(function(...) dispatch('Render', ...) end))
-- kind: 'Began' | 'Changed' | 'Ended' (handlers get input, processed) or 'Render' (handlers get dt). Returns a handle with :Disconnect() (handle.Disconnect()).
function Library:OnInput(kind, fn)
local handle = { fn = fn }
local list = Router[kind]
list[#list + 1] = handle
function handle.Disconnect()
if handle.fn then
handle.fn = nil
RouterDirty[kind] = true
end
end
return handle
end
-- ==== 10_fx.lua ====
-- ZkxVader FX: the "crazy text". One shared Heartbeat drives every looping effect; one-shots (scramble, typewriter, glitch) run on their own short threads.
-- Rules: the value/text is final first, the effect only decorates; at rest the label shows its plain text; nothing here changes layout size;
-- everything stops when animations are off, the menu is closed, or the label is gone.
local FX = { Loops = {}, Count = 0 }
Library.FX = FX
local SCRAMBLE_GLYPHS = '!<>-_\\/[]{}=+*^?#%&$@01'
local loopConnection = nil
local function alive(label) return label and label.Parent ~= nil and not Library.Unloaded end
-- a looping effect only ticks while its label is on screen and the menu is open (or the effect is flagged always-on, e.g. notifications)
local function visible(item)
local label = item.label
if not alive(label) then return false end
if not item.always and not Library.Toggled then return false end
return label.AbsoluteSize.X > 0
end
local function startLoop()
if loopConnection then return end
loopConnection = RunService.Heartbeat:Connect(function(dt)
if Library.Unloaded then return end
local now = os.clock()
for id, item in pairs(FX.Loops) do
if not alive(item.label) then
FX.Loops[id] = nil
FX.Count -= 1
elseif Animating() and visible(item) then
if not item.rate or now - (item.last or 0) >= item.rate then
item.last = now
item.step(now, dt)
end
end
end
end)
table.insert(Library.Signals, loopConnection)
end
local nextId = 0
local function addLoop(label, step, options)
options = options or {}
nextId += 1
local id = nextId
FX.Loops[id] = { label = label, step = step, rate = options.rate, always = options.always }
FX.Count += 1
startLoop()
local handle = {}
function handle.Stop()
if FX.Loops[id] then
FX.Loops[id] = nil
FX.Count -= 1
end
if options.restore then pcall(options.restore) end
end
return handle
end
local function rainbowSequence(offset)
local keys = {}
for index = 0, 6 do
table.insert(keys, ColorSequenceKeypoint.new(index / 6, hsv((offset + index / 6) % 1, 1, 1)))
end
return ColorSequence.new(keys)
end
-- moving rainbow gradient over the text (title, watermark). Speed 0.2 = a full cycle in 5 seconds.
function FX.Rainbow(label, options)
options = options or {}
local speed = options.speed or 0.2
local gradient = New('UIGradient', { Color = rainbowSequence(0), Parent = label })
Library.Registry[label] = nil
label.TextColor3 = rgb(255, 255, 255)
gradient.Color = rainbowSequence(0)
return addLoop(label, function(now) gradient.Color = rainbowSequence(now * speed) end, {
always = options.always,
rate = 1 / 30,
restore = function()
gradient:Destroy()
ThemeSet(label, 'TextColor3', 'text')
end,
})
end
-- a bright band sweeps over accent coloured text every few seconds
function FX.Shimmer(label, options)
options = options or {}
local every, length = options.every or 6, options.length or 0.9
-- UIGradient multiplies the text colour, so the base is white and the gradient itself carries accent -> white -> accent
Library.Registry[label] = nil
label.TextColor3 = rgb(255, 255, 255)
local function sequence()
local accent, white = Palette.accent, rgb(255, 255, 255)
return ColorSequence.new({
ColorSequenceKeypoint.new(0, accent),
ColorSequenceKeypoint.new(0.4, accent),
ColorSequenceKeypoint.new(0.5, white),
ColorSequenceKeypoint.new(0.6, accent),
ColorSequenceKeypoint.new(1, accent),
})
end
local gradient = New('UIGradient', { Color = sequence(), Offset = vec2(-1.2, 0), Parent = label })
return addLoop(label, function(now)
local phase = (now % every) / length
gradient.Offset = vec2(phase < 1 and (-1.2 + phase * 2.4) or 1.2, 0)
gradient.Color = sequence() -- follows theme changes
end, {
always = options.always,
rate = 1 / 30,
restore = function()
gradient:Destroy()
ThemeSet(label, 'TextColor3', 'text')
end,
})
end
-- per-character colour wave (RichText). Fine for short strings only.
function FX.Wave(label, options)
options = options or {}
local text = options.text or label.Text
local speed, spread = options.speed or 0.6, options.spread or 0.07
local base = text
label.RichText = true
local function hex(color)
return string.format('#%02x%02x%02x', floor(color.R * 255), floor(color.G * 255), floor(color.B * 255))
end
return addLoop(label, function(now)
local parts = table.create(#base)
for index = 1, #base do
local char = base:sub(index, index)
if char:match('%s') then
parts[index] = char
else
parts[index] = '<font color="' .. hex(hsv((now * speed + index * spread) % 1, 0.75, 1)) .. '">' .. char .. '</font>'
end
end
label.Text = table.concat(parts)
end, {
always = options.always,
rate = 1 / 20,
restore = function()
label.RichText = false
label.Text = base
end,
})
end
-- slow breathing of the text transparency (used for "Risky" and status lines)
function FX.Pulse(label, options)
options = options or {}
local depth, speed = options.depth or 0.45, options.speed or 3
return addLoop(label, function(now) label.TextTransparency = (sin(now * speed) * 0.5 + 0.5) * depth end, {
always = options.always,
rate = 1 / 30,
restore = function() label.TextTransparency = 0 end,
})
end
--// one-shots \\--
local function oneShot(label, text, duration, frame)
if not Animating() or not duration or duration <= 0 then
label.Text = text
return
end
local token = (label:GetAttribute('FXToken') or 0) + 1
label:SetAttribute('FXToken', token)
task.spawn(function()
local started = os.clock()
while alive(label) and label:GetAttribute('FXToken') == token do
local alpha = clamp((os.clock() - started) / duration, 0, 1)
if alpha >= 1 then break end
label.Text = frame(alpha)
RunService.Heartbeat:Wait()
end
if alive(label) and label:GetAttribute('FXToken') == token then label.Text = text end
end)
end
-- random glyphs that settle left to right into the real text
function FX.Scramble(label, text, duration)
text = text or label.Text
oneShot(label, text, duration or 0.35, function(alpha)
local settled = floor(alpha * #text)
local out = table.create(#text)
for index = 1, #text do
local char = text:sub(index, index)
if index <= settled or char:match('%s') then
out[index] = char
else
local pick = math.random(1, #SCRAMBLE_GLYPHS)
out[index] = SCRAMBLE_GLYPHS:sub(pick, pick)
end
end
return table.concat(out)
end)
end
-- characters appear one by one
function FX.Typewriter(label, text, charactersPerSecond)
text = text or label.Text
local rate = charactersPerSecond or 35
oneShot(label, text, #text / rate, function(alpha) return text:sub(1, floor(alpha * #text)) end)
end
-- two coloured ghosts jitter behind the text for a moment
function FX.Glitch(label, duration)
if not Animating() or not alive(label) then return end
duration = duration or 0.22
local ghosts = {}
for index, tint in ipairs({ rgb(255, 40, 80), rgb(40, 220, 255) }) do
local ghost = New('TextLabel', {
Text = label.Text,
TextColor3 = tint,
TextTransparency = 0.45,
TextSize = label.TextSize,
FontFace = label.FontFace,
BackgroundTransparency = 1,
TextXAlignment = label.TextXAlignment,
TextYAlignment = label.TextYAlignment,
Size = dim2(1, 0, 1, 0),
ZIndex = label.ZIndex + (index == 1 and -1 or 0),
Parent = label,
})
ghost.TextColor3 = tint
table.insert(ghosts, ghost)
end
task.spawn(function()
local started = os.clock()
while alive(label) and os.clock() - started < duration do
for index, ghost in ipairs(ghosts) do
ghost.Position = dim2(0, math.random(-2, 2) * (index == 1 and 1 or -1), 0, math.random(-1, 1))
end
RunService.Heartbeat:Wait()
end
for _, ghost in ipairs(ghosts) do ghost:Destroy() end
end)
end
function FX.Stop(handle)
if handle and handle.Stop then handle.Stop() end
end
-- ==== 20_window.lua ====
-- ZkxVader window: screen gui, layered panel, header, scrolling tab strip with a gliding underline, pages, drag/resize, theme + DPI, keybind list.
do
local Window, Tab = Classes.Window, Classes.Tab
local Scalers = {}
local function GetScale() return Library.DPIScale / 100 end
Library.GetScale = GetScale
-- the screen in the menu's own units (what fits on it)
function Library.Viewport()
local camera = workspace.CurrentCamera
return (camera and camera.ViewportSize or Vector2.new(1920, 1080)) / GetScale()
end
--// drag / resize \\--
-- Both only listen while a drag is running (shared input router) and apply once per frame. Resizing re-lays out the whole menu, so it shows an outline
-- while you drag and applies the size when you let go.
local function isPress(input) return input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch end
local function isMove(input) return input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch end
local function MakeDraggable(frame, handle, onMoved, layoutId, withSize)
handle = handle or frame
local moveHandle, endHandle, renderHandle
local startMouse, startPosition, pending
local function stop()
for _, listener in ipairs({ moveHandle, endHandle, renderHandle }) do listener.Disconnect() end
moveHandle, endHandle, renderHandle, pending = nil, nil, nil, nil
if layoutId then Library:SaveLayout(layoutId, frame, withSize) end
end
Connect(handle.InputBegan, function(input)
if not isPress(input) or moveHandle then return end
startMouse, startPosition, pending = input.Position, frame.Position, nil
Library:ClosePopup()
moveHandle = Library:OnInput('Changed', function(changed)
if isMove(changed) then pending = changed.Position end
end)
renderHandle = Library:OnInput('Render', function()
if not pending then return end
local delta = (pending - startMouse) / GetScale()
pending = nil
frame.Position = UDim2.new(startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y)
if onMoved then onMoved() end
end)
endHandle = Library:OnInput('Ended', function(ended)
if isPress(ended) then stop() end
end)
end)
end
Library.MakeDraggable = MakeDraggable
local function MakeResizable(frame, grip, minimum, layoutId)
local moveHandle, endHandle, renderHandle
local startMouse, startSize, pending, wanted
local ghost
local function stop()
for _, listener in ipairs({ moveHandle, endHandle, renderHandle }) do listener.Disconnect() end
moveHandle, endHandle, renderHandle, pending = nil, nil, nil, nil
if ghost then ghost.Visible = false end
end
Connect(grip.InputBegan, function(input)
if not isPress(input) or moveHandle then return end
startMouse, startSize, pending, wanted = input.Position, frame.AbsoluteSize / GetScale(), nil, nil
Library:ClosePopup()
if not ghost then
ghost = New('Frame', { Name = 'ResizeOutline', BackgroundTransparency = 1, ZIndex = 500, Active = false, Parent = Library.Main })
New('UIStroke', { Thickness = 2, Parent = ghost }, { Color = 'accent' })
end
ghost.Position, ghost.Size, ghost.Visible = frame.Position, frame.Size, true
moveHandle = Library:OnInput('Changed', function(changed)
if isMove(changed) then pending = changed.Position end
end)
renderHandle = Library:OnInput('Render', function()
if not pending then return end
local delta = (pending - startMouse) / GetScale()
pending = nil
wanted = Vector2.new(max(minimum.X, startSize.X + delta.X), max(minimum.Y, startSize.Y + delta.Y))
ghost.Size = UDim2.fromOffset(wanted.X, wanted.Y)
end)
endHandle = Library:OnInput('Ended', function(ended)
if not isPress(ended) then return end
if wanted then frame.Size = UDim2.fromOffset(wanted.X, wanted.Y) end
stop()
if layoutId and wanted then Library:SaveLayout(layoutId, frame, true) end
end)
end)
end
--// theme \\--
-- Theme updates are cheap on purpose: a colour picker fires one per mouse move while dragging, and the menu has thousands of themed instances.
-- * the new palette is only computed here; one Heartbeat loop applies it, so any number of calls in a frame cost one pass
-- * a pass only touches instances whose palette key actually changed (dragging the accent leaves every grey alone)
-- * "Smooth Theme Changes" blends the palette itself over a few frames instead of creating a tween per element
local THEME_KEYS = { 'accent', 'text', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'risky', 'dim' }
local themeTarget, themeConnection = nil, nil
local function computeTheme()
local scheme = Library.Scheme
local e, c, b = scheme.BackgroundColor, scheme.MainColor, scheme.OutlineColor
return {
accent = scheme.AccentColor,
text = scheme.FontColor,
a = Palette.a,
b = b,
c = c,
d = Color3.new(e.R * 0.57, e.G * 0.57, e.B * 0.57),
e = e,
f = b:Lerp(rgb(255, 255, 255), 0.14),
g = c:Lerp(b, 0.8),
risky = scheme.RedColor or DefaultPalette.risky,
dim = scheme.FontColor:Lerp(e, 0.45),
}
end
local function colorsClose(one, two)
return math.abs(one.R - two.R) < 0.004 and math.abs(one.G - two.G) < 0.004 and math.abs(one.B - two.B) < 0.004
end
local function applyChanged(changed)
for instance, properties in pairs(Library.Registry) do
if instance.Parent then
for property, key in pairs(properties) do
if changed[key] then instance[property] = Palette[key] end
end
end
end
end
local function themeStep(dt)
if not themeTarget or Library.Unloaded then return false end
local blend = (Library.ThemeFade and Animating()) and (1 - math.exp(-dt * 16)) or 1
local changed, any, moving = {}, false, false
for _, key in ipairs(THEME_KEYS) do
local current, wanted = Palette[key], themeTarget[key]
if current ~= wanted then
local nextColor = wanted
if blend < 1 and not colorsClose(current, wanted) then
nextColor = current:Lerp(wanted, blend)
moving = true
end
Palette[key] = nextColor
changed[key], any = true, true
end
end
if any then applyChanged(changed) end
if any and Library.OnThemeChanged then pcall(Library.OnThemeChanged) end
return moving
end
-- every call only records the wanted palette; the loop below applies it once per frame and stops by itself when the palette has arrived
function Library:UpdateColorsUsingRegistry()
themeTarget = computeTheme()
if themeConnection or Library.Unloaded then return end
themeConnection = RunService.Heartbeat:Connect(function(dt)
if not themeStep(dt) then
themeConnection:Disconnect()
themeConnection = nil
end
end)
table.insert(Library.Signals, themeConnection)
end
function Library:SetFont(font)
local face = font
if typeof(font) == 'EnumItem' then face = Font.fromEnum(font) end
if typeof(face) ~= 'Font' then return end
Library.Font = face
Library.Scheme.Font = face
for instance in pairs(TextObjects) do
pcall(function() instance.FontFace = face end)
end
for _, listener in ipairs(Library.FontListeners) do pcall(listener) end
end
function Library:SetDPIScale(percent)
percent = tonumber(percent) or 100
Library.DPIScale = clamp(percent, 40, 250)
for _, scaler in ipairs(Scalers) do
scaler.Scale = GetScale()
end
if Library.Main then Library.Main.Size = UDim2.fromScale(1 / GetScale(), 1 / GetScale()) end
if Library.Window then task.defer(function() Library:FitWindow() end) end
end
function Library:SetBackgroundImage(image)
local window = Library.Window
if not (window and window.BackgroundImage) then return end
image = tostring(image or '')
window.BackgroundImage.Image = image
window.BackgroundImage.Visible = image ~= ''
end
function Library:GetCustomIcon() return nil end -- the Vaderhaxx look has no tab icons
--// open / close \\--
--// custom cursor (Obsidian's: a small white cross with a dark outline, shown while the menu is open) \\--
-- The system cursor is hidden while it is up and put back when the menu closes or the library unloads. It follows the mouse in a render step
-- (last priority, so it is never a frame behind), and only exists while the menu is open.
local CURSOR_BINDING = 'ZkxVaderCursor'
local cursorFrame, cursorActive, oldMouseIcon = nil, false, true
local function buildCursor()
if cursorFrame and cursorFrame.Parent then return cursorFrame end
-- siblings are layered by ZIndex (the gui uses Sibling behaviour): outlines first, white bars on top
cursorFrame = New('Frame', {
Name = 'Cursor', BackgroundTransparency = 1, AnchorPoint = vec2(0.5, 0.5), Size = UDim2.fromOffset(11, 11), Visible = false, ZIndex = 11000, Active = false, Parent = Library.ScreenGui,
})
local function bar(size, color, zindex)
New('Frame', { AnchorPoint = vec2(0.5, 0.5), Position = dim2(0.5, 0, 0.5, 0), Size = size, BackgroundColor3 = color, ZIndex = zindex, Active = false, Parent = cursorFrame })
end
local dark, white = rgb(0, 0, 0), rgb(255, 255, 255)
bar(UDim2.fromOffset(11, 3), dark, 1)
bar(UDim2.fromOffset(3, 11), dark, 1)
bar(UDim2.fromOffset(9, 1), white, 2)
bar(UDim2.fromOffset(1, 9), white, 2)
return cursorFrame
end
local function stopCursor()
if not cursorActive then return end
cursorActive = false
pcall(function() RunService:UnbindFromRenderStep(CURSOR_BINDING) end)
pcall(function() UserInputService.MouseIconEnabled = oldMouseIcon end)
if cursorFrame then cursorFrame.Visible = false end
end
local function startCursor()
if cursorActive or not Library.ScreenGui then return end
if UserInputService.TouchEnabled and not UserInputService.MouseEnabled then return end -- phones: there is no pointer
cursorActive = true
oldMouseIcon = UserInputService.MouseIconEnabled
local cursor = buildCursor()
pcall(function() RunService:UnbindFromRenderStep(CURSOR_BINDING) end)
RunService:BindToRenderStep(CURSOR_BINDING, Enum.RenderPriority.Last.Value, function()
if Library.Unloaded or not Library.Toggled or not (Library.ScreenGui and Library.ScreenGui.Parent) then
stopCursor()
return
end
-- Library.ShowCustomCursor can be flipped while the menu is open (UI Settings > Custom Cursor)
local show = Library.ShowCustomCursor ~= false
UserInputService.MouseIconEnabled = not show
cursor.Visible = show
if show then
local mouse = UserInputService:GetMouseLocation()
cursor.Position = UDim2.fromOffset(mouse.X, mouse.Y)
end
end)
end
Library.StartCursor, Library.StopCursor = startCursor, stopCursor
function Library:Toggle(value)
local window = Library.Window
if not window or Library.Unloaded then return end
local target
if typeof(value) == 'boolean' then
target = value
else
target = not Library.Toggled
end
if target == Library.Toggled then return end
Library.Toggled = target
local root, curtain = window.Root, window.Curtain
window.OpenToken = (window.OpenToken or 0) + 1
local token = window.OpenToken
if target then
local home = window.HomePosition or root.Position
window.HomePosition = nil
root.Visible = true
if Animating() then
root.Position = UDim2.new(home.X.Scale, home.X.Offset, home.Y.Scale, home.Y.Offset + 12)
curtain.BackgroundTransparency = 0
Tween(root, { Position = home }, 0.26, Enum.EasingStyle.Quint)
Tween(curtain, { BackgroundTransparency = 1 }, 0.28, Enum.EasingStyle.Quad)
else
root.Position, curtain.BackgroundTransparency = home, 1
end
if not window.Introduced then
window.Introduced = true
FX.Scramble(window.TitleLabel, window.TitleText, 0.55)
end
else
Library:ClosePopup()
local home = root.Position
if Animating() then
window.HomePosition = home
Tween(root, { Position = UDim2.new(home.X.Scale, home.X.Offset, home.Y.Scale, home.Y.Offset + 10) }, 0.16, Enum.EasingStyle.Quad)
Tween(curtain, { BackgroundTransparency = 0 }, 0.16, Enum.EasingStyle.Quad)
task.delay(0.17, function()
if window.OpenToken == token and not Library.Toggled then
root.Visible = false
root.Position = home
window.HomePosition = nil
end
end)
else
root.Visible = false
end
end
if target then startCursor() else stopCursor() end
if Library.OnToggled then pcall(Library.OnToggled, target) end
end
-- the screen gui, the scaled main frame and the popup overlay; made on demand (Notify may run before any window exists)
function Library:EnsureGui()
if Library.ScreenGui and Library.ScreenGui.Parent then return Library.ScreenGui end
local gui = New('ScreenGui', {
Name = 'ZkxVader',
ResetOnSpawn = false,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
IgnoreGuiInset = true,
DisplayOrder = 1000,
})
gui.Parent = UIParent()
Library.ScreenGui = gui
local main = New('Frame', { Name = 'Main', BackgroundTransparency = 1, Size = UDim2.fromScale(1 / GetScale(), 1 / GetScale()), Parent = gui })
Library.Main = main
table.insert(Scalers, New('UIScale', { Scale = GetScale(), Parent = main }))
Library.Overlay = New('Frame', { Name = 'Overlay', BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), ZIndex = 100, Parent = main })
return gui
end
-- shrinks the window to the screen and brings it back inside after a screen / scale change (rotating a phone, a smaller monitor)
function Library:FitWindow()
local window, main = Library.Window, Library.Main
if not (window and window.Root and main) or main.AbsoluteSize.X <= 0 then return end
local root = window.Root
local screen, scale = Library.Viewport(), max(GetScale(), 0.01)
local size = root.AbsoluteSize / scale
local width, height = min(size.X, screen.X - 8), min(size.Y, screen.Y - 8)
if width ~= size.X or height ~= size.Y then root.Size = UDim2.fromOffset(width, height) end
local at = (root.AbsolutePosition - main.AbsolutePosition) / scale
local dx = clamp(at.X, 0, max(0, screen.X - width)) - at.X
local dy = clamp(at.Y, 0, max(0, screen.Y - height)) - at.Y
if abs(dx) > 0.5 or abs(dy) > 0.5 then
local position = root.Position
root.Position = UDim2.new(position.X.Scale, position.X.Offset + dx, position.Y.Scale, position.Y.Offset + dy)
end
end
--// window \\--
function Library:CreateWindow(info)
info = info or {}
if Library.Window then return Library.Window end
local self = setmetatable({ Tabs = {}, Library = Library, Info = info }, Window)
Library.Window = self
Library.CornerRadius = info.CornerRadius or Library.CornerRadius
Library.NotifySide = info.NotifySide or Library.NotifySide
if info.NotifySide then Library.NotifyPlacement = tostring(info.NotifySide):lower() == 'left' and 'Top Left' or 'Top Right' end
if info.ShowCustomCursor ~= nil then Library.ShowCustomCursor = info.ShowCustomCursor end
if info.Font then Library:SetFont(info.Font) end
Library:EnsureGui()
local main = Library.Main
-- the window: black > gray > dark gray > dark gray > gray > translucent black, like upstream
local size = info.Size or UDim2.fromOffset(920, 640)
-- never bigger than the screen (on a phone the whole menu has to fit)
local screen = Library.Viewport()
size = UDim2.fromOffset(min(size.X.Offset, screen.X - 16), min(size.Y.Offset, screen.Y - 16))
local position = info.Position
if info.Center ~= false and (info.Center == true or position == nil) then
position = UDim2.new(0.5, -size.X.Offset / 2, 0.5, -size.Y.Offset / 2)
end
local root, body = Panel(main, { 'a', 'b', 'c', 'c', 'b', 'a' }, { Size = size, Position = position or UDim2.fromOffset(60, 60), InnerTransparency = 0.35 })
root.Name = 'Window'
root.Visible = false
Library:ApplyLayout('window', root, true)
self.Root, self.Body = root, body
-- image behind the content (ThemeManager "Background Image")
self.BackgroundImage = New('ImageLabel', {
BackgroundTransparency = 1, ImageTransparency = 0.8, Size = dim2(1, 0, 1, 0), ScaleType = Enum.ScaleType.Crop, Visible = false, ZIndex = 0, Parent = body,
})
-- lets the mouse go free while the menu is open (first person games lock it)
New('TextButton', { Text = '', Modal = true, BackgroundTransparency = 1, Size = dim2(0, 0, 0, 0), Parent = root })
-- header: logo, shimmering title, footer on the right
local header = New('Frame', { Name = 'Header', BackgroundTransparency = 1, Position = dim2(0, 14, 0, 8), Size = dim2(1, -28, 0, H(24)), Active = true, Parent = body })
local textLeft = 0
if info.Icon then
self.IconLabel = New('ImageLabel', {
BackgroundTransparency = 1, Image = tostring(info.Icon), Size = info.IconSize or UDim2.fromOffset(22, 22), Position = dim2(0, 0, 0.5, 0), AnchorPoint = vec2(0, 0.5), Parent = header,
})
textLeft = (info.IconSize and info.IconSize.X.Offset or 22) + 8
end
self.TitleHolder = header
self.TitleText = tostring(info.Title or 'ZkxVader')
self.TitleLabel = New('TextLabel', {
Text = self.TitleText, BackgroundTransparency = 1, TextXAlignment = Enum.TextXAlignment.Left, AutomaticSize = Enum.AutomaticSize.X,
Size = dim2(0, 0, 1, 0), Position = dim2(0, textLeft, 0, 0), TextSize = 14, ZIndex = 2, Parent = header,
})
FX.Shimmer(self.TitleLabel, { every = 6 })
self.FooterLabel = New('TextLabel', {
Text = tostring(info.Footer or ''), BackgroundTransparency = 1, TextXAlignment = Enum.TextXAlignment.Right, Size = dim2(0.5, 0, 1, 0),
Position = dim2(0.5, 0, 0, 0), TextSize = Library.TextSize, ZIndex = 2, Parent = header,
}, { TextColor3 = 'dim' })
if size.X.Offset < 640 then self.FooterLabel.Visible = false end
MakeDraggable(root, header, nil, 'window', true)
MakeDraggable(root, root, nil, 'window', true)
-- tab strip: scrolls sideways when the tabs do not fit, accent underline glides under the active tab
local bar = New('Frame', { Name = 'TabBar', BackgroundTransparency = 1, Position = dim2(0, 14, 0, 14 + H(24)), Size = dim2(1, -28, 0, H(28)), ClipsDescendants = true, Parent = body })
New('Frame', { Name = 'Baseline', AnchorPoint = vec2(0, 1), Position = dim2(0, 0, 1, 0), Size = dim2(1, 0, 0, 2), Parent = bar }, { BackgroundColor3 = 'f' })
local strip = New('ScrollingFrame', {
Name = 'Strip', BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), ScrollBarThickness = 0, ScrollingDirection = Enum.ScrollingDirection.X,
AutomaticCanvasSize = Enum.AutomaticSize.X, CanvasSize = dim2(0, 0, 0, 0), Parent = bar,
})
New('UIListLayout', { FillDirection = Enum.FillDirection.Horizontal, Padding = dim(0, 2), SortOrder = Enum.SortOrder.LayoutOrder, Parent = strip })
local underline = New('Frame', { Name = 'Underline', AnchorPoint = vec2(0, 1), Position = dim2(0, 0, 1, 0), Size = dim2(0, 0, 0, 3), ZIndex = 3, Parent = bar }, { BackgroundColor3 = 'accent' })
New('Frame', { Size = dim2(1, 0, 0, 1), BackgroundColor3 = rgb(255, 255, 255), BackgroundTransparency = 0.7, ZIndex = 4, Parent = underline })
self.TabBar, self.Strip, self.Underline = bar, strip, underline
-- wheel scrolls the strip sideways
Connect(bar.InputChanged, function(input)
if input.UserInputType == Enum.UserInputType.MouseWheel then
strip.CanvasPosition = Vector2.new(max(0, strip.CanvasPosition.X - input.Position.Z * 60), 0)
end
end)
-- page area
local holder, pages = Panel(body, { 'a', 'c', 'e' }, { Position = dim2(0, 14, 0, 18 + H(24) + H(28)), Size = dim2(1, -28, 1, -(32 + H(24) + H(28))), Clip = true })
holder.Name = 'Pages'
self.PageHolder, self.Pages = holder, pages
-- the window curtain: fades the whole window in and out (cheaper than a CanvasGroup)
self.Curtain = New('Frame', { Name = 'Curtain', BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), ZIndex = 60, Active = false, Parent = body }, { BackgroundColor3 = 'a' })
-- resize grip
local grip = New('TextButton', { Text = '', BackgroundTransparency = 1, AnchorPoint = vec2(1, 1), Position = dim2(1, -2, 1, -2), Size = dim2(0, H(14), 0, H(14)), ZIndex = 70, Parent = body })
for index = 1, 3 do
New('Frame', { AnchorPoint = vec2(1, 1), Position = dim2(1, -2, 1, -2 - (index - 1) * 3), Size = dim2(0, index * 3, 0, 1), BackgroundTransparency = 0.4, ZIndex = 71, Parent = grip }, { BackgroundColor3 = 'f' })
end
MakeResizable(root, grip, Library.IsMobile and Vector2.new(320, 200) or Vector2.new(560, 380), 'window')
-- keybind list (a draggable panel; Library.KeybindFrame.Visible / .Position are what SaveManager saves)
local keybindFrame, keybindInner = Panel(main, { 'a', 'b', 'e' }, { Position = dim2(0, 14, 0.45, 0), AutoXY = true })
keybindFrame.Name = 'Keybinds'
keybindFrame.Visible = false
keybindFrame.ZIndex = 40
Library:ApplyLayout('keybinds', keybindFrame)
-- Size is the minimum while AutomaticSize is on: the panel is at least 150 wide and grows with its longest row
local keybindTitle = New('TextLabel', {
Text = 'Keybinds', BackgroundTransparency = 1, Size = dim2(0, 150, 0, 18), AutomaticSize = Enum.AutomaticSize.X, TextSize = Library.TextSize, Active = true, Parent = keybindInner,
}, { TextColor3 = 'accent' })
New('UIListLayout', { SortOrder = Enum.SortOrder.LayoutOrder, Parent = keybindInner })
local keybindList = New('Frame', { BackgroundTransparency = 1, Size = dim2(0, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.XY, LayoutOrder = 2, Parent = keybindInner })
New('UIListLayout', { SortOrder = Enum.SortOrder.LayoutOrder, Parent = keybindList })
New('UIPadding', { PaddingLeft = dim(0, 6), PaddingRight = dim(0, 6), PaddingBottom = dim(0, 4), Parent = keybindList })
MakeDraggable(keybindFrame, keybindTitle, nil, 'keybinds')
Library.KeybindFrame, Library.KeybindContainer = keybindFrame, keybindList
-- menu key (Library.ToggleKeybind is Enum.KeyCode by default, the hub replaces it with its MenuKeybind key picker)
Library.ToggleKeybind = info.ToggleKeybind or Enum.KeyCode.RightControl
Library:OnInput('Began', function(input, processed)
if processed or Library.Unloaded then return end
local bind = Library.ToggleKeybind
if typeof(bind) == 'EnumItem' then
if input.KeyCode == bind then Library:Toggle() end
elseif typeof(bind) == 'table' and bind.Type == 'KeyPicker' then
-- the key picker itself calls Library:Toggle when it fires (see the key picker); nothing to do here
end
end)
if info.DisableSearch ~= true and self.BuildSearch then self:BuildSearch() end
if self.BuildMobileButton then self:BuildMobileButton() end
task.defer(function() Library:FitWindow() end)
local camera = workspace.CurrentCamera
if camera then Connect(camera:GetPropertyChangedSignal('ViewportSize'), function() Library:FitWindow() end) end
if info.Watermark ~= false and Library.AddWatermark then Library:AddWatermark({ Name = self.TitleText }) end
self:WatchResize()
task.defer(function()
if Library.Unloaded then return end
if info.AutoShow ~= false and info.AutoShow ~= nil then Library:Toggle(true) end
end)
return self
end
--// tabs \\--
function Window:SetAnimations(map, time, offset)
Library.Animations.Enabled = true
if type(map) == 'table' then
local any = false
for _, enabled in pairs(map) do any = any or enabled == true end
Library.Animations.Enabled = any
end
if tonumber(time) then Library.Animations.Time = clamp(tonumber(time), 0.08, 0.6) end
end
local function placeUnderline(window, tab, instant)
local button, bar, underline = tab.Button, window.TabBar, window.Underline
local scale = GetScale()
local x = (button.AbsolutePosition.X - bar.AbsolutePosition.X) / scale
local width = button.AbsoluteSize.X / scale
local target = { Position = dim2(0, x, 1, 0), Size = dim2(0, width, 0, 3) }
if instant or not Animating() or underline.Size.X.Offset == 0 then
underline.Position, underline.Size = target.Position, target.Size
else
Tween(underline, target, 0.24, Enum.EasingStyle.Quint)
end
end
Window.PlaceUnderline = placeUnderline
function Window:AddTab(name, icon, description)
name = tostring(name)
local tab = setmetatable({ Window = self, Library = Library, Name = name, Groupboxes = {}, Tabboxes = {}, Description = description }, Tab)
tab.Button = New('TextButton', {
Text = name, AutoButtonColor = false, BackgroundTransparency = 1, AutomaticSize = Enum.AutomaticSize.X, Size = dim2(0, 0, 1, -2),
LayoutOrder = #self.Tabs + 1, TextSize = Library.TextSize, Parent = self.Strip,
}, { TextColor3 = 'dim' })
New('UIPadding', { PaddingLeft = dim(0, 12), PaddingRight = dim(0, 12), Parent = tab.Button })
Connect(tab.Button:GetPropertyChangedSignal('AbsoluteSize'), function()
if self.ActiveTab == tab then placeUnderline(self, tab, true) end
end)
Connect(tab.Button.MouseEnter, function()
if self.ActiveTab ~= tab then Tween(tab.Button, { TextColor3 = Palette.text }, 0.12) end
end)
Connect(tab.Button.MouseLeave, function()
if self.ActiveTab ~= tab then Tween(tab.Button, { TextColor3 = Palette.dim }, 0.12) end
end)
tab.Page = New('Frame', { Name = name, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), Visible = false, Parent = self.Pages })
local function column(side)
local scroller = New('ScrollingFrame', {
Name = side, BackgroundTransparency = 1, ScrollBarThickness = 2, ScrollBarImageTransparency = 0.2, AutomaticCanvasSize = Enum.AutomaticSize.Y,
CanvasSize = dim2(0, 0, 0, 0), ScrollingDirection = Enum.ScrollingDirection.Y, Active = true,
Position = side == 'Left' and dim2(0, 12, 0, 12) or dim2(0.5, 6, 0, 12), Size = dim2(0.5, -18, 1, -24), Parent = tab.Page,
})
Library.Theme(scroller, 'ScrollBarImageColor3', 'accent')
New('UIListLayout', { Padding = dim(0, 12), SortOrder = Enum.SortOrder.LayoutOrder, Parent = scroller })
New('UIPadding', { PaddingTop = dim(0, 10), PaddingRight = dim(0, 6), PaddingBottom = dim(0, 4), Parent = scroller })
-- intro curtain (fakes a fade of the column from the page colour)
local curtain = New('Frame', { BackgroundTransparency = 1, Position = scroller.Position, Size = scroller.Size, ZIndex = 20, Active = false, Parent = tab.Page }, { BackgroundColor3 = 'e' })
return scroller, curtain
end
tab.Left, tab.LeftCurtain = column('Left')
tab.Right, tab.RightCurtain = column('Right')
tab.Sides = { tab.Left, tab.Right } -- the ESP preview freezes the columns' scrolling while its model is orbited
Connect(tab.Button.MouseButton1Click, function() tab:Show() end)
table.insert(self.Tabs, tab)
Library.Tabs[name] = tab
task.defer(function()
if self.ActiveTab == tab then placeUnderline(self, tab, true) end
end)
if not self.ActiveTab then tab:Show(true) end
return tab
end
function Tab:Show(instant)
local window = self.Window
local previous = window.ActiveTab
if previous == self and not instant then return end
Library:ClosePopup()
if previous and previous ~= self then
previous.Page.Visible = false
ThemeSet(previous.Button, 'TextColor3', 'dim')
end
self.Page.Visible = true
window.ActiveTab = self
ThemeSet(self.Button, 'TextColor3', 'text')
task.defer(function() placeUnderline(window, self, instant == true) end)
-- keep the active tab inside the visible part of the strip
task.defer(function()
local strip, button = window.Strip, self.Button
local left = button.AbsolutePosition.X - strip.AbsolutePosition.X + strip.CanvasPosition.X
local right = left + button.AbsoluteSize.X
if left < strip.CanvasPosition.X then
strip.CanvasPosition = Vector2.new(max(0, left - 20), 0)
elseif right > strip.CanvasPosition.X + strip.AbsoluteSize.X then
strip.CanvasPosition = Vector2.new(right - strip.AbsoluteSize.X + 20, 0)
end
end)
if instant ~= true and Animating() then
-- columns slide up 14px while a page-coloured curtain fades off; the right column lags by 60 ms
for index, pair in ipairs({ { self.Left, self.LeftCurtain }, { self.Right, self.RightCurtain } }) do
local scroller, curtain = pair[1], pair[2]
local home = scroller.Position
curtain.BackgroundTransparency = 0
scroller.Position = UDim2.new(home.X.Scale, home.X.Offset, home.Y.Scale, home.Y.Offset + 14)
task.delay((index - 1) * 0.06, function()
if not scroller.Parent then return end
Tween(scroller, { Position = home }, 0.3, Enum.EasingStyle.Quint)
Tween(curtain, { BackgroundTransparency = 1 }, 0.3, Enum.EasingStyle.Quad)
end)
end
FX.Scramble(self.Button, self.Name, 0.3)
else
self.LeftCurtain.BackgroundTransparency, self.RightCurtain.BackgroundTransparency = 1, 1
end
if Library.OnTabChanged then pcall(Library.OnTabChanged, self) end
end
-- tabs created later than the window's first layout need their underline re-aimed when the strip resizes
local lastSizeSignal = nil
function Window:WatchResize()
if lastSizeSignal then return end
lastSizeSignal = Connect(self.Root:GetPropertyChangedSignal('AbsoluteSize'), function()
local active = self.ActiveTab
if active then placeUnderline(self, active, true) end
end)
end
--// unload \\--
function Library:Unload()
if Library.Unloaded then return end
stopCursor()
Library.Unloaded = true
for index = #Library.Signals, 1, -1 do
local signal = table.remove(Library.Signals, index)
pcall(function()
if typeof(signal) == 'RBXScriptConnection' and signal.Connected then signal:Disconnect() end
end)
end
for _, callback in ipairs(Library.UnloadSignals) do
Library:SafeCallback(callback)
end
if Library.ScreenGui then
pcall(function() Library.ScreenGui:Destroy() end)
Library.ScreenGui = nil
end
if Library.ActiveLoading then
pcall(function() Library.ActiveLoading:Destroy() end)
Library.ActiveLoading = nil
end
Library.Window = nil
pcall(function()
local env = (type(getgenv) == 'function' and getgenv()) or _G
if env.Library == Library then env.Library = nil end
end)
end
end
-- ==== 30_container.lua ====
-- ZkxVader containers: groupbox (collapsible), tabbox, dependency box. Every container shares the Add* mixin (Classes.Container), which the
-- widget files extend. A container owns a `Container` frame (vertical list) that its element rows are parented to.
do
local Groupbox, Tabbox, Container, Tab = Classes.Groupbox, Classes.Tabbox, Classes.Container, Classes.Tab
for _, class in ipairs({ Groupbox, Tabbox, Classes.Dialog }) do
setmetatable(class, { __index = Container })
end
function Container:Resize() end -- layouts are automatic; kept for Obsidian API compatibility
function Container:NextOrder()
self.Order = (self.Order or 0) + 1
return self.Order
end
--// Reveal: a clipped wrapper whose height eases between 0 and its content (dependency boxes, collapsing groupboxes) \\--
local function Reveal(parent, layoutOrder, padding)
local wrapper = New('Frame', { BackgroundTransparency = 1, ClipsDescendants = true, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, LayoutOrder = layoutOrder or 0, Parent = parent })
local content = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, Parent = wrapper })
New('UIListLayout', { Padding = dim(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = content })
if padding then
New('UIPadding', { PaddingTop = dim(0, padding.Top or 0), PaddingBottom = dim(0, padding.Bottom or 0), PaddingLeft = dim(0, padding.Left or 0), PaddingRight = dim(0, padding.Right or 0), Parent = content })
end
local reveal = { Wrapper = wrapper, Content = content, Open = true }
local token = 0
function reveal.Set(open, instant)
if reveal.Open == open and not instant then return end
reveal.Open = open
token += 1
local mine = token
if instant or not Animating() then
wrapper.Visible = open
wrapper.AutomaticSize = open and Enum.AutomaticSize.Y or Enum.AutomaticSize.None
wrapper.Size = open and dim2(1, 0, 0, 0) or dim2(1, 0, 0, 0)
return
end
if open then
wrapper.AutomaticSize = Enum.AutomaticSize.None
wrapper.Size = dim2(1, 0, 0, 0)
wrapper.Visible = true
task.defer(function()
if token ~= mine then return end
RunService.Heartbeat:Wait() -- one frame so the content has been laid out
if token ~= mine then return end
local height = content.AbsoluteSize.Y / max(Library.GetScale(), 0.01)
Tween(wrapper, { Size = dim2(1, 0, 0, height) }, 0.2, Enum.EasingStyle.Quint)
task.delay(0.22, function()
if token == mine and reveal.Open then
wrapper.AutomaticSize = Enum.AutomaticSize.Y -- hand the height back to the layout
end
end)
end)
else
local height = wrapper.AbsoluteSize.Y / max(Library.GetScale(), 0.01)
wrapper.AutomaticSize = Enum.AutomaticSize.None
wrapper.Size = dim2(1, 0, 0, height)
Tween(wrapper, { Size = dim2(1, 0, 0, 0) }, 0.18, Enum.EasingStyle.Quint)
task.delay(0.2, function()
if token == mine and not reveal.Open then wrapper.Visible = false end
end)
end
end
return reveal
end
Library.Reveal = Reveal
--// groupbox: the Vaderhaxx section (title notched into the border), collapsible by clicking the title \\--
local function newGroupbox(tab, side, name)
local column = side == 'Left' and tab.Left or tab.Right
local outer, inner = Panel(column, { 'a', 'c', 'e' }, { Size = dim2(1, 0, 0, 0), Auto = true })
outer.LayoutOrder = #column:GetChildren()
local text = tostring(name)
-- the title and the collapse glyph both sit in the border: a page-coloured strip behind each one hides the two border lines, so neither touches the outline
local notch = New('Frame', { Size = dim2(0, TextWidth(text, Library.TextSize) + 12, 0, 3), Position = dim2(0, 5, 0, -2), ZIndex = 4, Parent = inner }, { BackgroundColor3 = 'e' })
local title = New('TextLabel', {
Text = text, BackgroundTransparency = 1, Size = dim2(0, TextWidth(text, Library.TextSize) + 12, 0, 16), Position = dim2(0, 5, 0, -8),
TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 5, Parent = inner,
})
New('UIPadding', { PaddingLeft = dim(0, 6), Parent = title })
New('Frame', { Size = dim2(0, 24, 0, 3), AnchorPoint = vec2(1, 0), Position = dim2(1, -8, 0, -2), ZIndex = 4, Parent = inner }, { BackgroundColor3 = 'e' })
local arrow = New('TextLabel', { Text = '-', BackgroundTransparency = 1, AnchorPoint = vec2(1, 0), Position = dim2(1, -8, 0, -8), Size = dim2(0, 24, 0, 16), TextSize = Library.TextSize, ZIndex = 5, Parent = inner }, { TextColor3 = 'dim' })
-- the whole header strip is the click target (title, glyph and the border between them), not just the title text
local header = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(18)), Position = dim2(0, 0, 0, -8), ZIndex = 6, Parent = inner })
table.insert(Library.FontListeners, function()
local width = TextWidth(text, Library.TextSize) + 12
notch.Size, title.Size = dim2(0, width, 0, 3), dim2(0, width, 0, 16)
end)
local reveal = Reveal(inner, 1, { Top = Library.IsMobile and 20 or 12, Bottom = 8, Left = 8, Right = 8 })
local box = setmetatable({
Tab = tab, Library = Library, Name = name, Side = side, Holder = outer, Container = reveal.Content, Elements = {}, Collapsed = false, Type = 'Groupbox', Reveal = reveal,
}, Groupbox)
box.Root = box
function box:SetCollapsed(collapsed)
collapsed = collapsed == true
if box.Collapsed == collapsed then return end
box.Collapsed = collapsed
Library:ClosePopup()
arrow.Text = collapsed and '+' or '-'
reveal.Set(not collapsed)
end
function box:SetVisible(visible) outer.Visible = visible end
Connect(header.MouseButton1Click, function() box:SetCollapsed(not box.Collapsed) end)
Connect(header.MouseEnter, function()
Tween(title, { TextColor3 = Palette.accent }, 0.12)
Tween(arrow, { TextColor3 = Palette.accent }, 0.12)
end)
Connect(header.MouseLeave, function()
Tween(title, { TextColor3 = Palette.text }, 0.12)
Tween(arrow, { TextColor3 = Palette.dim }, 0.12)
end)
tab.Groupboxes[name] = box
return box
end
function Tab:AddLeftGroupbox(name) return newGroupbox(self, 'Left', name) end
function Tab:AddRightGroupbox(name) return newGroupbox(self, 'Right', name) end
function Tab:AddGroupbox(info)
info = info or {}
return newGroupbox(self, info.Side == 2 and 'Right' or 'Left', info.Name or 'Groupbox')
end
--// tabbox: one panel with sub tabs \\--
local function newTabbox(tab, side, name)
local column = side == 'Left' and tab.Left or tab.Right
local outer, inner = Panel(column, { 'a', 'c', 'e' }, { Size = dim2(1, 0, 0, 0), Auto = true })
outer.LayoutOrder = #column:GetChildren()
New('UIListLayout', { SortOrder = Enum.SortOrder.LayoutOrder, Parent = inner })
local strip = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(22)), LayoutOrder = 0, Parent = inner })
New('UIListLayout', { FillDirection = Enum.FillDirection.Horizontal, SortOrder = Enum.SortOrder.LayoutOrder, Parent = strip })
local body = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, LayoutOrder = 1, Parent = inner })
local box = setmetatable({ Tab = tab, Library = Library, Name = name, Side = side, Holder = outer, Strip = strip, Body = body, Tabs = {}, Type = 'Tabbox' }, Tabbox)
function box:SetVisible(visible) outer.Visible = visible end
tab.Tabboxes[name or (#tab.Tabboxes + 1)] = box
return box
end
function Tab:AddLeftTabbox(name) return newTabbox(self, 'Left', name) end
function Tab:AddRightTabbox(name) return newTabbox(self, 'Right', name) end
function Tabbox:AddTab(name)
local parentBox = self
local page = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, Visible = false, Parent = self.Body })
New('UIListLayout', { Padding = dim(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = page })
New('UIPadding', { PaddingTop = dim(0, 8), PaddingBottom = dim(0, 8), PaddingLeft = dim(0, 8), PaddingRight = dim(0, 8), Parent = page })
local button = New('TextButton', {
Text = tostring(name), AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(0, 0, 1, 0), AutomaticSize = Enum.AutomaticSize.X,
TextSize = Library.TextSize, LayoutOrder = #self.Tabs + 1, Parent = self.Strip,
}, { TextColor3 = 'dim' })
New('UIPadding', { PaddingLeft = dim(0, 10), PaddingRight = dim(0, 10), Parent = button })
local bar = New('Frame', { AnchorPoint = vec2(0, 1), Position = dim2(0, 0, 1, 0), Size = dim2(1, 0, 0, 2), Visible = false, ZIndex = 3, Parent = button }, { BackgroundColor3 = 'accent' })
local sub = setmetatable({ Tab = self.Tab, Library = Library, Name = name, Container = page, Elements = {}, Page = page, Button = button, Bar = bar, Type = 'TabboxTab', Tabbox = parentBox }, Container)
sub.Root = sub
function sub:Show()
local previous = parentBox.Active
if previous == sub then return end
if previous then
previous.Page.Visible = false
previous.Bar.Visible = false
ThemeSet(previous.Button, 'TextColor3', 'dim')
end
parentBox.Active = sub
page.Visible = true
bar.Visible = true
ThemeSet(button, 'TextColor3', 'text')
Library:ClosePopup()
end
function sub:SetVisible(visible) button.Visible = visible end
Connect(button.MouseButton1Click, function() sub:Show() end)
table.insert(self.Tabs, sub)
if not self.Active then sub:Show() end
return sub
end
--// dependency box: its children show only while every condition holds \\--
function Container:AddDependencyBox()
local reveal = Reveal(self.Container, self:NextOrder())
local box = setmetatable({
Tab = self.Tab, Library = Library, Container = reveal.Content, Holder = reveal.Wrapper, Elements = {}, Dependencies = {}, Type = 'DependencyBox', Reveal = reveal,
}, Container)
reveal.Set(false, true)
function box:SetupDependencies(dependencies)
box.Dependencies = dependencies or {}
box:Update(true)
end
function box:Update(instant)
local show = #box.Dependencies > 0
for _, dependency in ipairs(box.Dependencies) do
local object, wanted = dependency[1], dependency[2]
if object == nil then
show = false
break
end
local value = object.Value
local matches
if object.Type == 'Dropdown' and object.Multi then
matches = type(value) == 'table' and value[wanted] == true
else
matches = value == wanted
end
if not matches then
show = false
break
end
end
reveal.Set(show, instant)
end
box.Root, box.Name = self.Root or self, (self.Root or self).Name
table.insert(self.Elements, box)
table.insert(Library.DependencyBoxes, box)
return box
end
function Library:UpdateDependencyBoxes()
for index = #Library.DependencyBoxes, 1, -1 do
local box = Library.DependencyBoxes[index]
if box.Holder and box.Holder.Parent then
box:Update(false)
else
table.remove(Library.DependencyBoxes, index)
end
end
end
end
-- ==== 40_elements.lua ====
-- ZkxVader elements (1/2): tooltip, label, divider, toggle, button (+sub buttons), slider, input.
-- Every element keeps Obsidian's object contract: Type, Value, SetValue, OnChanged/Changed, Callback, RunChanged, SetText, SetVisible, SetDisabled, Addons.
do
local Container = Classes.Container
local Addons = {}
Classes.Addons = Addons
local function noop() end
local Templates = {
Toggle = { Text = 'Toggle', Default = false, Callback = noop, Changed = noop, Risky = false, Disabled = false, Visible = true },
Input = {
Text = 'Input', Default = '', Finished = false, Numeric = false, ClearTextOnFocus = true, ClearTextOnBlur = false, Placeholder = '', AllowEmpty = true,
EmptyReset = '---', Callback = noop, Changed = noop, Disabled = false, Visible = true,
},
Slider = {
Text = 'Slider', Default = 0, Min = 0, Max = 100, Rounding = 0, Prefix = '', Suffix = '', Callback = noop, Changed = noop, Disabled = false, Visible = true,
AllowRightClickInput = true,
},
Dropdown = { Values = {}, DisabledValues = {}, Multi = false, MaxVisibleDropdownItems = 8, Callback = noop, Changed = noop, Disabled = false, Visible = true },
KeyPicker = {
Text = 'KeyPicker', Default = 'None', DefaultModifiers = {}, Blacklisted = {}, BlacklistedModifiers = {}, Whitelisted = {}, WhitelistedModifiers = {},
Mode = 'Toggle', Modes = { 'Always', 'Toggle', 'Hold' }, SyncToggleState = false, Callback = noop, ChangedCallback = noop, Changed = noop, Clicked = noop,
},
ColorPicker = { Default = Color3.new(1, 1, 1), Callback = noop, Changed = noop },
}
Library.Templates = Templates
local function Validate(info, template)
local out = {}
for key, value in pairs(template) do out[key] = value end
if type(info) == 'table' then
for key, value in pairs(info) do out[key] = value end
end
return out
end
Library.Validate = function(_, info, template) return Validate(info, template) end
--// tooltip: one shared panel, shown after a short hover \\--
local tooltipFrame, tooltipLabel
local tooltipToken = 0
local followHandle, followTooltip
local function showTooltip(text)
if not tooltipFrame then
local frame, inner = Panel(Library.Overlay, { 'a', 'b', 'e' }, { AutoXY = true })
tooltipFrame = frame
tooltipFrame.ZIndex = 90
tooltipFrame.Visible = false
tooltipFrame.Name = 'Tooltip'
tooltipLabel = New('TextLabel', {
Text = '', BackgroundTransparency = 1, AutomaticSize = Enum.AutomaticSize.XY, Size = dim2(0, 0, 0, 0), TextSize = 12, ZIndex = 91, TextWrapped = false, Parent = inner,
})
New('UIPadding', { PaddingLeft = dim(0, 6), PaddingRight = dim(0, 6), PaddingTop = dim(0, 3), PaddingBottom = dim(0, 4), Parent = inner })
end
tooltipLabel.Text = text
tooltipFrame.Visible = true
followHandle = followHandle or Library:OnInput('Render', function() followTooltip() end)
end
local function hideTooltip()
tooltipToken += 1
if tooltipFrame then tooltipFrame.Visible = false end
if followHandle then
followHandle.Disconnect()
followHandle = nil
end
end
Library.HideTooltip = hideTooltip
function followTooltip()
if tooltipFrame and tooltipFrame.Visible then
local mouse = UserInputService:GetMouseLocation() / Library.GetScale()
local size = tooltipFrame.AbsoluteSize / Library.GetScale()
local view = Library.Main.AbsoluteSize / Library.GetScale()
tooltipFrame.Position = dim2(0, clamp(mouse.X + 14, 0, max(0, view.X - size.X - 4)), 0, clamp(mouse.Y + 16, 0, max(0, view.Y - size.Y - 4)))
end
end
function Library:AddTooltip(info, disabledInfo, hover)
local tooltip = { Disabled = false, Info = info, DisabledInfo = disabledInfo }
if typeof(hover) ~= 'Instance' then return tooltip end
local function text() return tooltip.Disabled and (tooltip.DisabledInfo or tooltip.Info) or tooltip.Info end
Connect(hover.MouseEnter, function()
local current = text()
if type(current) ~= 'string' or current == '' then return end
tooltipToken += 1
local mine = tooltipToken
task.delay(0.45, function()
if mine == tooltipToken and not Library.Popup and Library.Toggled and hover.Parent and IsMouseOver(hover) then showTooltip(current) end
end)
end)
Connect(hover.MouseLeave, hideTooltip)
function tooltip:Destroy() end
return tooltip
end
local function attachTooltip(object, hover)
if type(object.Tooltip) == 'string' or type(object.DisabledTooltip) == 'string' then
object.TooltipTable = Library:AddTooltip(object.Tooltip, object.DisabledTooltip, hover)
object.TooltipTable.Disabled = object.Disabled == true
end
end
--// shared row pieces \\--
local function newRow(owner, height)
return New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, height), LayoutOrder = owner:NextOrder(), Parent = owner.Container })
end
local function newRightHolder(row)
local holder = New('Frame', { BackgroundTransparency = 1, AnchorPoint = vec2(1, 0), Position = dim2(1, 0, 0, 0), Size = dim2(0, 0, 1, 0), AutomaticSize = Enum.AutomaticSize.X, ZIndex = 3, Parent = row })
New('UIListLayout', { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = dim(0, 5), SortOrder = Enum.SortOrder.LayoutOrder, Parent = holder })
return holder
end
local function register(kind, idx, object)
object.Idx = idx
if idx ~= nil then Library[kind][idx] = object end
end
local function runChanged(object)
Library:SafeCallback(object.Callback, object.Value)
Library:SafeCallback(object.Changed, object.Value)
end
local function destroyable(owner, object, row, registry, idx)
function object:Destroy()
object.Destroyed = true
if row then row:Destroy() end
for index = #(object.Addons or {}), 1, -1 do
local addon = table.remove(object.Addons, index)
if addon and addon.Destroy then addon:Destroy() end
end
if registry and idx ~= nil and Library[registry][idx] == object then Library[registry][idx] = nil end
local at = table.find(owner.Elements, object)
if at then table.remove(owner.Elements, at) end
end
end
--// label \\--
function Container:AddLabel(...)
local first, second = select(1, ...), select(2, ...)
local data = {}
if type(first) == 'table' or type(second) == 'table' then
local params = type(first) == 'table' and first or second
data.Text, data.DoesWrap, data.Size = params.Text or '', params.DoesWrap or params.Wrap or false, params.Size or Library.TextSize
data.Visible = params.Visible ~= false
data.Idx = type(second) == 'table' and first or nil
else
data.Text, data.DoesWrap, data.Size, data.Visible, data.Idx = first or '', second or false, Library.TextSize, true, select(3, ...)
end
local label = { Text = data.Text, DoesWrap = data.DoesWrap, Addons = {}, Visible = data.Visible, Type = 'Label', Library = Library }
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(14)), AutomaticSize = data.DoesWrap and Enum.AutomaticSize.Y or Enum.AutomaticSize.None, LayoutOrder = self:NextOrder(), Visible = data.Visible, Parent = self.Container })
local text = New('TextLabel', {
Text = data.Text, BackgroundTransparency = 1, Size = data.DoesWrap and dim2(1, 0, 0, 0) or dim2(1, 0, 1, 0), AutomaticSize = data.DoesWrap and Enum.AutomaticSize.Y or Enum.AutomaticSize.None,
TextSize = data.Size, TextWrapped = data.DoesWrap, TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top, RichText = true, Parent = row,
})
label.TextLabel, label.Holder, label.Container = text, row, self.Container
label.RightHolder = (not data.DoesWrap) and newRightHolder(row) or nil
function label:SetText(value)
label.Text = tostring(value)
text.Text = label.Text
end
function label:SetVisible(visible)
label.Visible = visible
row.Visible = visible
end
destroyable(self, label, row, 'Labels', data.Idx)
if not data.DoesWrap then setmetatable(label, { __index = Addons }) end
table.insert(self.Elements, label)
if data.Idx ~= nil then Library.Labels[data.Idx] = label else table.insert(Library.Labels, label) end
return label
end
--// divider \\--
function Container:AddDivider(...)
local params = select(1, ...)
local text, top, bottom = nil, 0, 0
if type(params) == 'table' then
text, top, bottom = params.Text, params.MarginTop or params.Margin or 0, params.MarginBottom or params.Margin or 0
elseif type(params) == 'string' then
text = params
end
local divider = { Type = 'Divider', Visible = true }
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 10 + top + bottom), LayoutOrder = self:NextOrder(), Parent = self.Container })
if text and text ~= '' then
local width = TextWidth(text, 12) + 14
New('Frame', { AnchorPoint = vec2(0, 0.5), Position = dim2(0, 0, 0.5, (top - bottom) / 2), Size = dim2(0.5, -width / 2, 0, 1), Parent = row }, { BackgroundColor3 = 'b' })
New('Frame', { AnchorPoint = vec2(1, 0.5), Position = dim2(1, 0, 0.5, (top - bottom) / 2), Size = dim2(0.5, -width / 2, 0, 1), Parent = row }, { BackgroundColor3 = 'b' })
New('TextLabel', { Text = text, BackgroundTransparency = 1, AnchorPoint = vec2(0.5, 0.5), Position = dim2(0.5, 0, 0.5, (top - bottom) / 2), Size = dim2(0, width, 0, 12), TextSize = 12, Parent = row }, { TextColor3 = 'dim' })
else
New('Frame', { AnchorPoint = vec2(0, 0.5), Position = dim2(0, 0, 0.5, (top - bottom) / 2), Size = dim2(1, 0, 0, 1), Parent = row }, { BackgroundColor3 = 'b' })
end
function divider:SetVisible(visible) row.Visible = visible end
function divider:Destroy() row:Destroy() end
return divider
end
function Container:AddBlank(height)
New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, height or 8), LayoutOrder = self:NextOrder(), Parent = self.Container })
end
--// toggle (a Vaderhaxx checkbox) \\--
function Container:AddToggle(idx, info)
info = Validate(info, Templates.Toggle)
local toggle = {
Text = info.Text, Value = info.Default == true, Tooltip = info.Tooltip, DisabledTooltip = info.DisabledTooltip, Callback = info.Callback, Changed = info.Changed,
Risky = info.Risky, Disabled = info.Disabled, Visible = info.Visible, Addons = {}, AnyKeyPickerPicking = false, Variant = 'Checkbox', Type = 'Toggle', Library = Library,
}
local row = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(16)), LayoutOrder = self:NextOrder(), Visible = toggle.Visible, Active = not toggle.Disabled, Parent = self.Container })
local box, fill = Panel(row, { 'd', 'f' }, { Size = UDim2.fromOffset(H(11), H(11)), Position = dim2(0, 0, 0.5, 0), AnchorPoint = vec2(0, 0.5) })
local label = New('TextLabel', { Text = toggle.Text, BackgroundTransparency = 1, Position = dim2(0, 19, 0, 0), Size = dim2(1, -60, 1, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, RichText = true, Parent = row })
local right = newRightHolder(row)
toggle.Holder, toggle.TextLabel, toggle.Container, toggle.RightHolder = row, label, self.Container, right
attachTooltip(toggle, row)
local hovering = false
local function labelKey()
if toggle.Disabled then return 'dim' end
if toggle.Risky and toggle.Value then return 'risky' end
return (hovering and 'accent') or 'text'
end
function toggle:Display(animate)
if Library.Unloaded then return end
local fillKey = toggle.Value and (toggle.Risky and 'risky' or 'accent') or 'f'
Library.Registry[fill] = Library.Registry[fill] or {}
Library.Registry[fill].BackgroundColor3 = fillKey
Library.Registry[label] = Library.Registry[label] or {}
Library.Registry[label].TextColor3 = labelKey()
if animate ~= false and Animating() then
Tween(fill, { BackgroundColor3 = Palette[fillKey] }, 0.12)
Tween(label, { TextColor3 = Palette[labelKey()] }, 0.1)
if toggle.Value then
box.Size = UDim2.fromOffset(H(13), H(13))
Tween(box, { Size = UDim2.fromOffset(H(11), H(11)) }, 0.18, Enum.EasingStyle.Back)
end
else
fill.BackgroundColor3, label.TextColor3 = Palette[fillKey], Palette[labelKey()]
end
label.TextTransparency = toggle.Disabled and 0.5 or 0
box.BackgroundTransparency = toggle.Disabled and 0.6 or 0
end
function toggle:OnChanged(callback) toggle.Changed = callback end
function toggle:RunChanged() runChanged(toggle) end
function toggle:SetValue(value)
if toggle.Disabled then return end
toggle.Value = value == true
toggle:Display()
for _, addon in ipairs(toggle.Addons) do
if addon.Type == 'KeyPicker' and (addon.SyncToggleState or addon.Mode == 'Toggle') then
addon.Toggled = toggle.Value
addon:Update()
end
end
Library:UpdateDependencyBoxes()
if not toggle.AnyKeyPickerPicking then toggle:RunChanged() end
if toggle.Risky and toggle.Value and Animating() then FX.Glitch(label, 0.18) end
end
function toggle:SetDisabled(disabled)
toggle.Disabled = disabled
row.Active = not disabled
if toggle.TooltipTable then toggle.TooltipTable.Disabled = disabled end
for _, addon in ipairs(toggle.Addons) do
if addon.Type == 'KeyPicker' then addon:Update() end
end
toggle:Display(false)
end
function toggle:SetVisible(visible)
toggle.Visible = visible
row.Visible = visible
for _, addon in ipairs(toggle.Addons) do
if addon.Type == 'KeyPicker' then addon:Update() elseif addon.Refresh then addon:Refresh() end
end
end
function toggle:SetText(text)
toggle.Text = text
label.Text = text
end
Connect(row.MouseButton1Click, function()
if toggle.Disabled then return end
toggle:SetValue(not toggle.Value)
end)
Connect(row.MouseEnter, function()
hovering = true
if not toggle.Disabled then Tween(label, { TextColor3 = Palette[labelKey()] }, 0.08) end
end)
Connect(row.MouseLeave, function()
hovering = false
Tween(label, { TextColor3 = Palette[labelKey()] }, 0.1)
end)
toggle:Display(false)
toggle.Default = toggle.Value
destroyable(self, toggle, row, 'Toggles', idx)
setmetatable(toggle, { __index = Addons })
table.insert(self.Elements, toggle)
register('Toggles', idx, toggle)
return toggle
end
Container.AddCheckbox = Container.AddToggle
--// button (+ sub buttons in the same row) \\--
local function buttonInfo(...)
local first, second = select(1, ...), select(2, ...)
local info = {}
if type(first) == 'table' or type(second) == 'table' then
local params = type(first) == 'table' and first or second
info.Text, info.Func = params.Text or '', params.Func or params.Callback or noop
info.DoubleClick, info.Tooltip, info.DisabledTooltip = params.DoubleClick, params.Tooltip, params.DisabledTooltip
info.Risky, info.Disabled, info.Visible = params.Risky or false, params.Disabled or false, params.Visible ~= false
info.Idx = type(second) == 'table' and first or nil
else
info.Text, info.Func, info.Idx = first or '', second or noop, select(3, ...)
info.DoubleClick, info.Risky, info.Disabled, info.Visible = false, false, false, true
end
return info
end
local function makeButton(owner, holder, info, parentButton)
local button = {
Text = info.Text, Func = info.Func, DoubleClick = info.DoubleClick, Tooltip = info.Tooltip, DisabledTooltip = info.DisabledTooltip, Risky = info.Risky,
Disabled = info.Disabled, Visible = info.Visible, Addons = {}, Type = parentButton and 'SubButton' or 'Button', Library = Library,
}
local outer, inner = Panel(holder, { 'a', 'c' }, { Size = dim2(1, 0, 1, 0) })
outer.LayoutOrder = #holder:GetChildren()
local face = New('TextButton', { Text = button.Text, AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), TextSize = Library.TextSize, RichText = true, Active = not button.Disabled, Parent = inner })
button.Base, button.Holder, button.TextLabel = face, outer, face
local armed = false
attachTooltip(button, face)
local function baseKey() return button.Risky and 'risky' or 'text' end
function button:UpdateColors()
face.TextColor3 = button.Disabled and Palette.dim or Palette[baseKey()]
face.TextTransparency = button.Disabled and 0.4 or 0
end
function button:SetText(text)
button.Text = text
face.Text = text
end
function button:SetDisabled(disabled)
button.Disabled = disabled
face.Active = not disabled
if button.TooltipTable then button.TooltipTable.Disabled = disabled end
button:UpdateColors()
end
function button:SetVisible(visible)
button.Visible = visible
outer.Visible = visible
end
function button:Destroy()
button.Destroyed = true
outer:Destroy()
end
local function fire()
if button.Disabled then return end
Library:SafeCallback(button.Func)
Tween(inner, { BackgroundColor3 = Palette.accent }, 0.04)
task.delay(0.06, function() if inner.Parent then Tween(inner, { BackgroundColor3 = Palette.c }, 0.25) end end)
end
Connect(face.MouseButton1Click, function()
if button.Disabled then return end
if button.DoubleClick then
if armed then
armed = false
face.Text = button.Text
fire()
else
armed = true
face.Text = 'click again'
face.TextColor3 = Palette.accent
task.delay(2, function()
if armed and face.Parent then
armed = false
face.Text = button.Text
button:UpdateColors()
end
end)
end
else
fire()
end
end)
Connect(face.MouseEnter, function() if not button.Disabled then Tween(inner, { BackgroundColor3 = Palette.g }, 0.1) end end)
Connect(face.MouseLeave, function() Tween(inner, { BackgroundColor3 = Palette.c }, 0.15) end)
button:UpdateColors()
outer.Visible = button.Visible
return button
end
function Container:AddButton(...)
local info = buttonInfo(...)
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(20)), LayoutOrder = self:NextOrder(), Parent = self.Container })
New('UIListLayout', { FillDirection = Enum.FillDirection.Horizontal, HorizontalFlex = Enum.UIFlexAlignment.Fill, Padding = dim(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = row })
local button = makeButton(self, row, info, nil)
button.Row, button.Container = row, self.Container
function button:AddButton(...)
local sub = makeButton(self, row, buttonInfo(...), button)
table.insert(self.Elements or {}, sub)
return sub
end
setmetatable(button, { __index = Addons })
table.insert(self.Elements, button)
if info.Idx ~= nil then Library.Buttons[info.Idx] = button else table.insert(Library.Buttons, button) end
local base = button.Destroy
function button:Destroy()
base(self)
row:Destroy()
end
return button
end
--// slider \\--
function Container:AddSlider(idx, info)
info = Validate(info, Templates.Slider)
local slider = {
Text = info.Text, Value = info.Default, Min = info.Min, Max = info.Max, Prefix = info.Prefix, Suffix = info.Suffix, Compact = info.Compact, Rounding = info.Rounding,
HideMax = info.HideMax, Tooltip = info.Tooltip, DisabledTooltip = info.DisabledTooltip, Callback = info.Callback, Changed = info.Changed, Disabled = info.Disabled,
Visible = info.Visible, AllowRightClickInput = info.AllowRightClickInput, Type = 'Slider', Library = Library,
}
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, info.Compact and H(20) or H(32)), LayoutOrder = self:NextOrder(), Visible = slider.Visible, Parent = self.Container })
local title = (not info.Compact) and New('TextLabel', { Text = slider.Text or '', BackgroundTransparency = 1, Size = dim2(0.6, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, RichText = true, Parent = row }) or nil
local readout = New('TextLabel', {
Text = '', BackgroundTransparency = 1, AnchorPoint = vec2(1, 0), Position = dim2(1, 0, 0, 0), Size = dim2(0.5, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Right, ZIndex = 3, Parent = row,
}, { TextColor3 = 'dim' })
local barY, barHeight = info.Compact and 0 or H(17), info.Compact and H(20) or H(12)
local bar = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Position = dim2(0, 0, 0, barY), Size = dim2(1, 0, 0, barHeight), Active = true, Parent = row })
local outline, track = Panel(bar, { 'd', 'b' }, { Size = dim2(1, 0, 1, 0) })
outline.Name = 'Track'
local fillFrame = New('Frame', { Size = dim2(0, 0, 1, 0), ZIndex = 2, Parent = track }, { BackgroundColor3 = 'accent' })
if info.Compact then
readout.AnchorPoint, readout.Position, readout.Size, readout.TextXAlignment = vec2(0.5, 0.5), dim2(0.5, 0, 0.5, 0), dim2(1, 0, 1, 0), Enum.TextXAlignment.Center
readout.ZIndex = 5
Library.Registry[readout] = { TextColor3 = 'text' }
readout.TextColor3 = Palette.text
readout.Parent = bar
end
slider.Holder, slider.Bar, slider.Fill, slider.Container = row, bar, fillFrame, self.Container
attachTooltip(slider, bar)
local function formatNumber(value)
if slider.Rounding and slider.Rounding > 0 then
local text = string.format('%.' .. slider.Rounding .. 'f', value)
return (text:gsub('(%..-)0+$', '%1'):gsub('%.$', ''))
end
return tostring(value)
end
function slider:Display()
if Library.Unloaded then return end
local custom = info.FormatDisplayValue and info.FormatDisplayValue(slider, slider.Value)
if custom then
readout.Text = tostring(custom)
elseif info.Compact then
readout.Text = string.format('%s: %s%s%s', slider.Text or '', slider.Prefix, formatNumber(slider.Value), slider.Suffix)
elseif info.HideMax then
readout.Text = string.format('%s%s%s', slider.Prefix, formatNumber(slider.Value), slider.Suffix)
else
readout.Text = string.format('%s%s%s/%s%s%s', slider.Prefix, formatNumber(slider.Value), slider.Suffix, slider.Prefix, formatNumber(slider.Max), slider.Suffix)
end
local alpha = slider.Max ~= slider.Min and clamp((slider.Value - slider.Min) / (slider.Max - slider.Min), 0, 1) or 0
if Animating() and not slider.Dragging and fillFrame.AbsoluteSize.X > 0 then
Tween(fillFrame, { Size = dim2(alpha, 0, 1, 0) }, 0.08, Enum.EasingStyle.Quad)
else
fillFrame.Size = dim2(alpha, 0, 1, 0)
end
readout.TextTransparency, fillFrame.BackgroundTransparency = slider.Disabled and 0.5 or 0, slider.Disabled and 0.6 or 0
if title then title.TextTransparency = slider.Disabled and 0.5 or 0 end
end
function slider:OnChanged(callback) slider.Changed = callback end
function slider:RunChanged() runChanged(slider) end
function slider:SetValue(raw)
if slider.Disabled then return end
local number = tonumber(raw)
if not number or number == slider.Value then return end
slider.Value = clamp(number, slider.Min, slider.Max)
slider:Display()
slider:RunChanged()
end
function slider:SetMax(value)
slider.Max = value
slider:SetValue(clamp(slider.Value, slider.Min, value))
slider:Display()
end
function slider:SetMin(value)
slider.Min = value
slider:SetValue(clamp(slider.Value, value, slider.Max))
slider:Display()
end
function slider:SetPrefix(prefix) slider.Prefix = prefix slider:Display() end
function slider:SetSuffix(suffix) slider.Suffix = suffix slider:Display() end
function slider:SetText(text)
slider.Text = text
if title then title.Text = text end
slider:Display()
end
function slider:SetDisabled(disabled)
slider.Disabled = disabled
if slider.TooltipTable then slider.TooltipTable.Disabled = disabled end
slider:Display()
end
function slider:SetVisible(visible)
slider.Visible = visible
row.Visible = visible
end
-- dragging: the shared router only calls us while a drag is running, and the value is read once per frame
local moveHandle, endHandle, renderHandle, moved
local function fromMouse()
local x = (MouseAbs().X - bar.AbsolutePosition.X) / max(bar.AbsoluteSize.X, 1)
local value = slider.Min + (slider.Max - slider.Min) * clamp(x, 0, 1)
value = Round(value, 10 ^ -(slider.Rounding or 0))
slider:SetValue(clamp(value, slider.Min, slider.Max))
end
local function stopDrag()
slider.Dragging = false
for _, listener in ipairs({ moveHandle, endHandle, renderHandle }) do listener.Disconnect() end
moveHandle, endHandle, renderHandle = nil, nil, nil
slider:Display()
end
Connect(bar.InputBegan, function(input)
if slider.Disabled or moveHandle then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
slider.Dragging = true
fromMouse()
moveHandle = Library:OnInput('Changed', function(changed)
if changed.UserInputType == Enum.UserInputType.MouseMovement or changed.UserInputType == Enum.UserInputType.Touch then moved = true end
end)
renderHandle = Library:OnInput('Render', function()
if moved then
moved = false
fromMouse()
end
end)
endHandle = Library:OnInput('Ended', function(ended)
if ended.UserInputType == Enum.UserInputType.MouseButton1 or ended.UserInputType == Enum.UserInputType.Touch then stopDrag() end
end)
end
end)
-- right click: type a value
if slider.AllowRightClickInput then
local typing = New('TextBox', {
Text = '', BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), ZIndex = 8, TextSize = Library.TextSize, ClearTextOnFocus = false, Visible = false, Parent = bar,
})
Library.Registry[typing] = { TextColor3 = 'accent' }
typing.TextColor3 = Palette.accent
Connect(bar.MouseButton2Click, function()
if slider.Disabled then return end
typing.Visible, typing.Text = true, tostring(slider.Value)
typing:CaptureFocus()
end)
Connect(typing.FocusLost, function()
local number = tonumber(typing.Text)
typing.Visible = false
if number then
if slider.Rounding == 0 then number = Round(number, 1) end
slider:SetValue(clamp(number, slider.Min, slider.Max))
end
end)
end
slider:Display()
slider.Default = slider.Value
destroyable(self, slider, row, 'Options', idx)
table.insert(self.Elements, slider)
register('Options', idx, slider)
return slider
end
--// input \\--
function Container:AddInput(idx, info)
info = Validate(info, Templates.Input)
if type(info.VerifyValue) == 'function' and info.Finished ~= true then info.Finished = true end
local input = {
Text = info.Text, Value = info.Default, Finished = info.Finished, Numeric = info.Numeric, ClearTextOnFocus = info.ClearTextOnFocus, ClearTextOnBlur = info.ClearTextOnBlur,
Placeholder = info.Placeholder, AllowEmpty = info.AllowEmpty, EmptyReset = info.EmptyReset, Tooltip = info.Tooltip, DisabledTooltip = info.DisabledTooltip,
Callback = info.Callback, Changed = info.Changed, VerifyValue = info.VerifyValue, Disabled = info.Disabled, Visible = info.Visible, Type = 'Input', Library = Library,
}
local hasLabel = type(info.Text) == 'string' and info.Text ~= ''
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, hasLabel and (H(20) + 16) or H(20)), LayoutOrder = self:NextOrder(), Visible = input.Visible, Parent = self.Container })
local title = New('TextLabel', { Text = input.Text or '', BackgroundTransparency = 1, Size = dim2(1, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, RichText = true, Visible = hasLabel, Parent = row })
local frame = New('Frame', { BackgroundTransparency = 1, AnchorPoint = vec2(0, 1), Position = dim2(0, 0, 1, 0), Size = dim2(1, 0, 0, H(20)), Parent = row })
local _, field = Panel(frame, { 'd', 'b' }, { Size = dim2(1, 0, 1, 0) })
local box = New('TextBox', {
Text = tostring(input.Value or ''), PlaceholderText = input.Placeholder, BackgroundTransparency = 1, Size = dim2(1, -8, 1, 0), Position = dim2(0, 5, 0, 0), TextSize = Library.TextSize,
TextXAlignment = Enum.TextXAlignment.Left, ClearTextOnFocus = input.ClearTextOnFocus, TextEditable = not input.Disabled, Parent = field,
})
box.PlaceholderColor3 = Palette.dim
input.Holder, input.Box, input.Container = row, box, self.Container
attachTooltip(input, frame)
local internal = false
local function accept(text)
if input.Numeric and text ~= '' and not tonumber(text) and text ~= '-' and text ~= '.' then return false end
return true
end
function input:OnChanged(callback) input.Changed = callback end
function input:RunChanged() runChanged(input) end
function input:SetValue(text)
text = text == nil and '' or tostring(text)
if input.Numeric and text ~= '' and not tonumber(text) then return end
if type(input.VerifyValue) == 'function' and text ~= input.EmptyReset and input.VerifyValue(text) ~= true then return end
input.Value = text
internal = true
box.Text = text
internal = false
input:RunChanged()
end
function input:SetDisabled(disabled)
input.Disabled = disabled
box.TextEditable = not disabled
box.TextTransparency = disabled and 0.5 or 0
if input.TooltipTable then input.TooltipTable.Disabled = disabled end
end
function input:SetVisible(visible)
input.Visible = visible
row.Visible = visible
end
function input:SetText(text)
input.Text = text
title.Text = text or ''
title.Visible = text ~= nil and text ~= ''
end
Connect(box:GetPropertyChangedSignal('Text'), function()
if internal or input.Finished then return end
if input.Numeric and not accept(box.Text) then
internal = true
box.Text = input.Value or ''
internal = false
return
end
input:SetValue(box.Text)
end)
Connect(box.FocusLost, function()
if box.Text == '' and not input.AllowEmpty then
input:SetValue(input.EmptyReset)
elseif input.Finished then
input:SetValue(box.Text)
end
if input.ClearTextOnBlur then
internal = true
box.Text = ''
internal = false
end
Tween(field, { BackgroundColor3 = Palette.b }, 0.15)
end)
Connect(box.Focused, function() Tween(field, { BackgroundColor3 = Palette.g }, 0.1) end)
input.Default = input.Value
destroyable(self, input, row, 'Options', idx)
table.insert(self.Elements, input)
register('Options', idx, input)
return input
end
end
-- ==== 41_popups.lua ====
-- ZkxVader elements (2/2): dropdown, colour picker, key picker. Popups live on Library.Overlay (never clipped by a scrolling section).
do
local Container, Addons = Classes.Container, Classes.Addons
local Templates, Validate = Library.Templates, function(info, template) return Library.Validate(Library, info, template) end
--// popup plumbing: one open at a time, closed by an outside click, a tab change or the menu closing \\--
local function placePopup(frame, anchor, width, height, preferBelow)
local scale = Library.GetScale()
-- popups are positioned inside the overlay, whose own AbsolutePosition carries the top-bar inset
local abs, size = (anchor.AbsolutePosition - Library.Overlay.AbsolutePosition) / scale, anchor.AbsoluteSize / scale
local view = Library.Main.AbsoluteSize / scale
local x = clamp(abs.X, 2, max(2, view.X - width - 2))
local y = abs.Y + size.Y + 2
if preferBelow == false or y + height > view.Y - 4 then
local above = abs.Y - height - 2
if above >= 4 or y + height > view.Y - 4 then y = max(4, above) end
end
frame.Position = UDim2.fromOffset(x, y)
frame.Size = UDim2.fromOffset(width, height)
end
local function popupPanel(width, height)
local frame, inner = Panel(Library.Overlay, { 'a', 'b', 'e' }, { Size = UDim2.fromOffset(width, height), Clip = false })
frame.ZIndex = 100
frame.Active = true
frame.Visible = false
return frame, inner
end
Library:OnInput('Began', function(input)
local kind = input.UserInputType
if kind ~= Enum.UserInputType.MouseButton1 and kind ~= Enum.UserInputType.MouseButton2 and kind ~= Enum.UserInputType.Touch then return end
local popup = Library.Popup
if popup and popup.Frame and popup.Frame.Visible and not IsMouseOver(popup.Frame) and not (popup.Anchor and IsMouseOver(popup.Anchor)) then
Library:ClosePopup()
end
end)
Library.OnToggled = function(open) if not open then Library:ClosePopup() end end
--// dropdown \\--
local function playersList(excludeSelf)
local list = {}
for _, player in ipairs(Players:GetPlayers()) do
if not (excludeSelf and player == LocalPlayer) then table.insert(list, player.Name) end
end
table.sort(list)
return list
end
local function teamsList()
local list = {}
for _, team in ipairs(svc('Teams'):GetTeams()) do table.insert(list, team.Name) end
table.sort(list)
return list
end
function Container:AddDropdown(idx, info)
local owner = self
info = Validate(info, Templates.Dropdown)
if info.SpecialType == 'Player' then
info.Values, info.AllowNull = playersList(info.ExcludeLocalPlayer), true
elseif info.SpecialType == 'Team' then
info.Values, info.AllowNull = teamsList(), true
end
local dropdown = {
Text = type(info.Text) == 'string' and info.Text or nil, Value = info.Multi and {} or nil, Values = info.Values, DisabledValues = info.DisabledValues, Multi = info.Multi,
SpecialType = info.SpecialType, ExcludeLocalPlayer = info.ExcludeLocalPlayer, Tooltip = info.Tooltip, DisabledTooltip = info.DisabledTooltip, Callback = info.Callback,
Changed = info.Changed, Disabled = info.Disabled, Visible = info.Visible, Type = 'Dropdown', Library = Library,
}
local hasLabel = dropdown.Text ~= nil
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, hasLabel and (H(20) + 18) or (H(20) + 2)), LayoutOrder = self:NextOrder(), Visible = dropdown.Visible, Parent = self.Container })
local title = New('TextLabel', { Text = dropdown.Text or '', BackgroundTransparency = 1, Size = dim2(1, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, RichText = true, Visible = hasLabel, Parent = row })
local frame = New('Frame', { BackgroundTransparency = 1, AnchorPoint = vec2(0, 1), Position = dim2(0, 0, 1, 0), Size = dim2(1, 0, 0, H(20)), Parent = row })
local _, field = Panel(frame, { 'd', 'b' }, { Size = dim2(1, 0, 1, 0) })
local display = New('TextButton', { Text = '---', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, -18, 1, 0), Position = dim2(0, 6, 0, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, Parent = field })
local arrow = New('TextLabel', { Text = 'v', BackgroundTransparency = 1, AnchorPoint = vec2(1, 0), Position = dim2(1, -5, 0, 0), Size = dim2(0, 10, 1, 0), TextSize = Library.TextSize, Parent = field }, { TextColor3 = 'dim' })
dropdown.Holder, dropdown.Container = row, self.Container
local tooltipHost = display
if type(dropdown.Tooltip) == 'string' or type(dropdown.DisabledTooltip) == 'string' then
dropdown.TooltipTable = Library:AddTooltip(dropdown.Tooltip, dropdown.DisabledTooltip, tooltipHost)
dropdown.TooltipTable.Disabled = dropdown.Disabled == true
end
-- popup
local itemHeight = H(18)
local popup, popupInner = popupPanel(100, 40)
local searchBox
local list = New('ScrollingFrame', {
BackgroundTransparency = 1, ScrollBarThickness = 2, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = dim2(0, 0, 0, 0), Size = dim2(1, 0, 1, 0), Active = true, ZIndex = 101, Parent = popupInner,
})
Library.Theme(list, 'ScrollBarImageColor3', 'accent')
New('UIListLayout', { SortOrder = Enum.SortOrder.LayoutOrder, Parent = list })
if info.Searchable then
local searchRow = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(20)), ZIndex = 102, Parent = popupInner })
local _, searchField = Panel(searchRow, { 'd', 'b' }, { Size = dim2(1, -4, 1, -4), Position = dim2(0, 2, 0, 2) })
searchBox = New('TextBox', { Text = '', PlaceholderText = 'Search', BackgroundTransparency = 1, Size = dim2(1, -8, 1, 0), Position = dim2(0, 4, 0, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, ClearTextOnFocus = false, ZIndex = 103, Parent = searchField })
searchBox.PlaceholderColor3 = Palette.dim
list.Position, list.Size = dim2(0, 0, 0, H(20)), dim2(1, 0, 1, -H(20))
end
local buttons = {}
local isOpen = false
local function active() return dropdown.Multi and dropdown.Value or (dropdown.Value and { [dropdown.Value] = true } or {}) end
local function activeCount()
local count = 0
for _ in pairs(active()) do count += 1 end
return count
end
function dropdown:GetActiveValues(returnCount)
local out = {}
for value in pairs(active()) do table.insert(out, value) end
return returnCount == true and #out or out
end
function dropdown:Display()
if Library.Unloaded then return end
local text = ''
if dropdown.Multi then
local parts = {}
for _, value in ipairs(dropdown.Values) do
if dropdown.Value[value] then table.insert(parts, info.FormatDisplayValue and tostring(info.FormatDisplayValue(value)) or tostring(value)) end
end
text = table.concat(parts, ', ')
else
text = dropdown.Value and tostring(dropdown.Value) or ''
if text ~= '' and info.FormatDisplayValue then text = tostring(info.FormatDisplayValue(text)) end
end
if #text > 30 then text = text:sub(1, 27) .. '...' end
display.Text = text == '' and '---' or text
display.TextColor3 = (text == '' or dropdown.Disabled) and Palette.dim or Palette.text
end
local function refreshButtons()
local chosen = active()
for _, entry in ipairs(buttons) do
local selected = chosen[entry.Value] == true
entry.Selected = selected
local key = entry.Disabled and 'dim' or (selected and 'accent' or 'text')
Library.Registry[entry.Button] = { TextColor3 = key }
entry.Button.TextColor3 = Palette[key]
entry.Mark.Visible = selected
end
end
local function heightFor(count) return min(max(count, 1), info.MaxVisibleDropdownItems or 8) * itemHeight + 2 + (searchBox and H(20) or 0) end
function dropdown:BuildDropdownList()
for _, entry in ipairs(buttons) do entry.Holder:Destroy() end
table.clear(buttons)
local needle = searchBox and searchBox.Text:lower() or ''
local shown = 0
for _, value in ipairs(dropdown.Values) do
local text = tostring(info.FormatListValue and info.FormatListValue(value) or value)
if needle == '' or text:lower():find(needle, 1, true) then
shown += 1
local disabled = table.find(dropdown.DisabledValues or {}, value) ~= nil
local holder = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, itemHeight), LayoutOrder = disabled and 1 or 0, ZIndex = 101, Parent = list })
local mark = New('Frame', { Size = dim2(0, 2, 1, -4), Position = dim2(0, 2, 0, 2), ZIndex = 103, Visible = false, Parent = holder }, { BackgroundColor3 = 'accent' })
local button = New('TextButton', { Text = text, AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 102, Parent = holder })
New('UIPadding', { PaddingLeft = dim(0, 8), Parent = button })
local entry = { Value = value, Button = button, Mark = mark, Holder = holder, Disabled = disabled }
table.insert(buttons, entry)
Connect(button.MouseEnter, function() if not disabled then Tween(holder, { BackgroundTransparency = 0.82 }, 0.08) end holder.BackgroundColor3 = Palette.g end)
Connect(button.MouseLeave, function() Tween(holder, { BackgroundTransparency = 1 }, 0.1) end)
if not disabled then
Connect(button.MouseButton1Click, function()
local selected = active()[value] == true
local try = not selected
if activeCount() == 1 and not try and not info.AllowNull then
-- the last selected value stays selected
elseif dropdown.Multi then
dropdown.Value[value] = try and true or nil
else
dropdown.Value = try and value or nil
end
dropdown:Display()
refreshButtons()
Library:UpdateDependencyBoxes()
dropdown:RunChanged()
if not dropdown.Multi then Library:ClosePopup() end
end)
end
end
end
refreshButtons()
if isOpen then
local current = popup.Size
popup.Size = UDim2.fromOffset(current.X.Offset, heightFor(shown))
end
return shown
end
function dropdown:RunChanged()
Library:SafeCallback(dropdown.Callback, dropdown.Value)
Library:SafeCallback(dropdown.Changed, dropdown.Value)
end
function dropdown:OnChanged(callback) dropdown.Changed = callback end
function dropdown:SetValue(value)
if dropdown.Multi then
local map = {}
for key, on in pairs(value or {}) do
if type(on) ~= 'boolean' then
map[on] = true
elseif on and table.find(dropdown.Values, key) then
map[key] = true
end
end
dropdown.Value = map
else
if table.find(dropdown.Values, value) then
dropdown.Value = value
elseif not value then
dropdown.Value = nil
end
end
dropdown:Display()
refreshButtons()
if not dropdown.Disabled then
Library:UpdateDependencyBoxes()
dropdown:RunChanged()
end
end
function dropdown:SetValues(values)
dropdown.Values = values
dropdown:BuildDropdownList()
dropdown:Display()
end
function dropdown:AddValues(values)
if type(values) == 'table' then
for _, value in ipairs(values) do table.insert(dropdown.Values, value) end
elseif type(values) == 'string' then
table.insert(dropdown.Values, values)
else
return
end
dropdown:BuildDropdownList()
end
function dropdown:SetDisabledValues(values)
dropdown.DisabledValues = values
dropdown:BuildDropdownList()
end
function dropdown:AddDisabledValues(values)
if type(values) == 'table' then
for _, value in ipairs(values) do table.insert(dropdown.DisabledValues, value) end
elseif type(values) == 'string' then
table.insert(dropdown.DisabledValues, values)
end
dropdown:BuildDropdownList()
end
function dropdown:SetDisabled(disabled)
dropdown.Disabled = disabled
if dropdown.TooltipTable then dropdown.TooltipTable.Disabled = disabled end
Library:ClosePopup()
dropdown:Display()
title.TextTransparency = disabled and 0.5 or 0
end
function dropdown:SetVisible(visible)
dropdown.Visible = visible
row.Visible = visible
end
function dropdown:SetText(text)
dropdown.Text = text
title.Text = text or ''
title.Visible = text ~= nil
row.Size = dim2(1, 0, 0, text and (H(20) + 18) or (H(20) + 2))
end
local function close()
isOpen = false
arrow.Text = 'v'
Tween(popup, { Size = UDim2.fromOffset(popup.Size.X.Offset, 0) }, 0.1)
task.delay(0.11, function()
if not isOpen then popup.Visible = false end
end)
if searchBox then searchBox.Text = '' end
end
local handle = { Frame = popup, Anchor = frame, Close = close }
local function open()
if dropdown.Disabled then return end
if info.SpecialType == 'Player' then dropdown.Values = playersList(info.ExcludeLocalPlayer) elseif info.SpecialType == 'Team' then dropdown.Values = teamsList() end
local shown = dropdown:BuildDropdownList()
Library:OpenPopup(handle)
isOpen = true
arrow.Text = '^'
local width = frame.AbsoluteSize.X / Library.GetScale()
local height = heightFor(shown)
placePopup(popup, frame, width, height, true)
popup.Visible = true
if Animating() then
popup.Size = UDim2.fromOffset(width, 0)
Tween(popup, { Size = UDim2.fromOffset(width, height) }, 0.14, Enum.EasingStyle.Quint)
end
if searchBox then searchBox:CaptureFocus() end
end
Connect(display.MouseButton1Click, function()
if Library.Popup == handle and isOpen then Library:ClosePopup() else open() end
end)
dropdown.Open = function() if not (Library.Popup == handle and isOpen) then open() end end
dropdown.Close = function() Library:ClosePopup() end
if searchBox then Connect(searchBox:GetPropertyChangedSignal('Text'), function() dropdown:BuildDropdownList() end) end
Library:OnUnload(function() popup:Destroy() end)
-- defaults: a value, a list of values, or an index into Values
local defaults = {}
if type(info.Default) == 'string' then
local at = table.find(dropdown.Values, info.Default)
if at then table.insert(defaults, at) end
elseif type(info.Default) == 'table' then
for _, value in pairs(info.Default) do
local at = table.find(dropdown.Values, value)
if at then table.insert(defaults, at) end
end
elseif info.Default ~= nil and dropdown.Values[info.Default] ~= nil then
table.insert(defaults, info.Default)
end
for _, at in ipairs(defaults) do
if dropdown.Multi then dropdown.Value[dropdown.Values[at]] = true else
dropdown.Value = dropdown.Values[at]
break
end
end
dropdown:Display()
dropdown:BuildDropdownList()
dropdown.Default, dropdown.DefaultValues = defaults, dropdown.Values
if dropdown.Disabled then dropdown:SetDisabled(true) end
function dropdown:Destroy()
dropdown.Destroyed = true
popup:Destroy()
row:Destroy()
if Library.Options[idx] == dropdown then Library.Options[idx] = nil end
local at = table.find(owner.Elements or {}, dropdown)
if at then table.remove(owner.Elements, at) end
end
table.insert(self.Elements, dropdown)
if idx ~= nil then Library.Options[idx] = dropdown end
return dropdown
end
--// colour picker (addon) \\--
local HUE_KEYS = {}
for index = 0, 6 do table.insert(HUE_KEYS, ColorSequenceKeypoint.new(index / 6, hsv(index / 6, 1, 1))) end
local HUE_SEQUENCE = ColorSequence.new(HUE_KEYS)
function Addons:AddColorPicker(idx, info)
info = Validate(info, Templates.ColorPicker)
local parent = self
local host = parent.RightHolder
if not host then return parent end
local picker = {
Value = info.Default, Transparency = type(info.Transparency) == 'number' and info.Transparency or 0, Title = info.Title, Callback = info.Callback, Changed = info.Changed,
Type = 'ColorPicker', Library = Library, HasAlpha = info.Transparency ~= nil and info.Transparency ~= false,
}
picker.Hue, picker.Sat, picker.Vib = info.Default:ToHSV()
local swatchOuter, swatch = Panel(host, { 'a', 'g' }, { Size = UDim2.fromOffset(H(20), H(10)) })
swatchOuter.LayoutOrder = 10 + #parent.Addons
Library.Registry[swatch] = nil -- the swatch shows the picked colour; the theme registry must not repaint it
local swatchButton = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), ZIndex = 4, Parent = swatch })
swatch.BackgroundColor3 = picker.Value
local width, svH = 190, 110
local popup, inner = popupPanel(width, svH + 76 + (picker.HasAlpha and 16 or 0))
New('UIPadding', { PaddingTop = dim(0, 6), PaddingLeft = dim(0, 6), PaddingRight = dim(0, 6), PaddingBottom = dim(0, 6), Parent = inner })
local heading = New('TextLabel', { Text = (picker.Title or 'Color'), BackgroundTransparency = 1, Size = dim2(1, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 102, Parent = inner }, { TextColor3 = 'dim' })
local svOuter, svBase = Panel(inner, { 'd' }, { Size = UDim2.fromOffset(width - 12 - 22, svH), Position = dim2(0, 0, 0, 18) })
svOuter.ZIndex = 101
local sv = New('TextButton', { Text = '', AutoButtonColor = false, Size = dim2(1, 0, 1, 0), BackgroundColor3 = hsv(picker.Hue, 1, 1), ZIndex = 102, Parent = svBase })
local white = New('Frame', { Size = dim2(1, 0, 1, 0), BackgroundColor3 = rgb(255, 255, 255), ZIndex = 103, Parent = sv })
New('UIGradient', { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1) }), Parent = white })
local black = New('Frame', { Size = dim2(1, 0, 1, 0), BackgroundColor3 = rgb(0, 0, 0), ZIndex = 104, Parent = sv })
New('UIGradient', { Rotation = 90, Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0) }), Parent = black })
local knob = New('Frame', { Size = UDim2.fromOffset(7, 7), AnchorPoint = vec2(0.5, 0.5), BackgroundTransparency = 1, ZIndex = 106, Parent = sv })
New('UIStroke', { Color = rgb(255, 255, 255), Thickness = 1, Parent = knob })
local hueOuter, hueBase = Panel(inner, { 'd' }, { Size = UDim2.fromOffset(16, svH), Position = dim2(1, -16, 0, 18) })
hueOuter.ZIndex = 101
local hue = New('TextButton', { Text = '', AutoButtonColor = false, Size = dim2(1, 0, 1, 0), BackgroundColor3 = rgb(255, 255, 255), ZIndex = 102, Parent = hueBase })
New('UIGradient', { Color = HUE_SEQUENCE, Rotation = 90, Parent = hue })
local hueMark = New('Frame', { Size = dim2(1, 0, 0, 2), AnchorPoint = vec2(0, 0.5), BackgroundColor3 = rgb(255, 255, 255), ZIndex = 106, Parent = hue })
local alphaBase, alpha, alphaMark, alphaGradient
if picker.HasAlpha then
local alphaOuter
alphaOuter, alphaBase = Panel(inner, { 'd' }, { Size = UDim2.new(1, 0, 0, 12), Position = dim2(0, 0, 0, 18 + svH + 6) })
alphaOuter.ZIndex = 101
alpha = New('TextButton', { Text = '', AutoButtonColor = false, Size = dim2(1, 0, 1, 0), BackgroundColor3 = rgb(255, 255, 255), ZIndex = 102, Parent = alphaBase })
alphaGradient = New('UIGradient', { Color = ColorSequence.new(picker.Value), Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1) }), Parent = alpha })
alphaMark = New('Frame', { Size = dim2(0, 2, 1, 0), AnchorPoint = vec2(0.5, 0), BackgroundColor3 = rgb(255, 255, 255), ZIndex = 106, Parent = alpha })
end
local hexRow = New('Frame', { BackgroundTransparency = 1, Position = dim2(0, 0, 0, 18 + svH + 6 + (picker.HasAlpha and 18 or 0)), Size = dim2(1, 0, 0, 20), ZIndex = 101, Parent = inner })
local _, hexField = Panel(hexRow, { 'd', 'b' }, { Size = dim2(1, 0, 1, 0) })
local hexBox = New('TextBox', { Text = '', PlaceholderText = 'hex', BackgroundTransparency = 1, Size = dim2(1, -8, 1, 0), Position = dim2(0, 5, 0, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, ClearTextOnFocus = false, ZIndex = 103, Parent = hexField })
hexBox.PlaceholderColor3 = Palette.dim
function picker:Display()
picker.Value = hsv(picker.Hue, picker.Sat, picker.Vib)
swatch.BackgroundColor3 = picker.Value
sv.BackgroundColor3 = hsv(picker.Hue, 1, 1)
knob.Position = dim2(picker.Sat, 0, 1 - picker.Vib, 0)
hueMark.Position = dim2(0, 0, picker.Hue, 0)
if alphaGradient then
alphaGradient.Color = ColorSequence.new(picker.Value)
alphaMark.Position = dim2(1 - picker.Transparency, 0, 0, 0)
end
if not hexBox:IsFocused() then hexBox.Text = picker.Value:ToHex():upper() end
end
function picker:OnChanged(callback) picker.Changed = callback end
function picker:RunChanged()
Library:SafeCallback(picker.Callback, picker.Value)
Library:SafeCallback(picker.Changed, picker.Value)
end
-- Obsidian's contract: SetValue takes {h, s, v} or a Color3; the transparency only counts when the picker has alpha
function picker:SetValue(hsvTable, transparency)
if typeof(hsvTable) == 'Color3' then
picker:SetValueRGB(hsvTable, transparency)
return
end
picker.Hue, picker.Sat, picker.Vib = hsvTable[1], hsvTable[2], hsvTable[3]
picker.Transparency = picker.HasAlpha and (transparency or 0) or 0
picker:Update()
end
function picker:SetValueRGB(color, transparency)
-- Library.ColorMigrations[id] = { from = Color3, to = Color3 }: a saved value that equals an old stock colour is shown as its replacement
local migration = idx ~= nil and Library.ColorMigrations and Library.ColorMigrations[idx]
if migration and math.abs(color.R - migration.from.R) < 0.004 and math.abs(color.G - migration.from.G) < 0.004 and math.abs(color.B - migration.from.B) < 0.004 then
color = migration.to
end
picker.Hue, picker.Sat, picker.Vib = color:ToHSV()
picker.Transparency = picker.HasAlpha and (transparency or 0) or 0
picker:Update()
end
function picker:Update()
picker:Display()
picker:RunChanged()
end
function picker:Refresh() swatchOuter.Visible = parent.Visible ~= false end
local dragging = nil
local function drag()
local mouse = MouseAbs()
if dragging == 'sv' then
picker.Sat = clamp((mouse.X - sv.AbsolutePosition.X) / max(sv.AbsoluteSize.X, 1), 0, 1)
picker.Vib = 1 - clamp((mouse.Y - sv.AbsolutePosition.Y) / max(sv.AbsoluteSize.Y, 1), 0, 1)
elseif dragging == 'hue' then
picker.Hue = clamp((mouse.Y - hue.AbsolutePosition.Y) / max(hue.AbsoluteSize.Y, 1), 0, 1)
elseif dragging == 'alpha' and alpha then
picker.Transparency = 1 - clamp((mouse.X - alpha.AbsolutePosition.X) / max(alpha.AbsoluteSize.X, 1), 0, 1)
end
picker:Display()
picker:RunChanged()
end
local moveHandle, endHandle, renderHandle, moved
local function stopDrag()
dragging = nil
for _, listener in ipairs({ moveHandle, endHandle, renderHandle }) do listener.Disconnect() end
moveHandle, endHandle, renderHandle = nil, nil, nil
end
for name, target in pairs({ sv = sv, hue = hue, alpha = alpha }) do
if target then
Connect(target.InputBegan, function(input)
if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and not moveHandle then
dragging = name
drag()
moveHandle = Library:OnInput('Changed', function(changed)
if changed.UserInputType == Enum.UserInputType.MouseMovement or changed.UserInputType == Enum.UserInputType.Touch then moved = true end
end)
renderHandle = Library:OnInput('Render', function()
if moved then
moved = false
drag()
end
end)
endHandle = Library:OnInput('Ended', function(ended)
if ended.UserInputType == Enum.UserInputType.MouseButton1 or ended.UserInputType == Enum.UserInputType.Touch then stopDrag() end
end)
end
end)
end
end
Connect(hexBox.FocusLost, function()
local text = hexBox.Text:gsub('#', '')
if #text == 6 and text:match('^%x+$') then picker:SetValueRGB(Color3.fromHex(text), picker.Transparency) else picker:Display() end
end)
local isOpen = false
local function close()
isOpen = false
popup.Visible = false
end
local handle = { Frame = popup, Anchor = swatchOuter, Close = close }
local function togglePopup()
if isOpen then
Library:ClosePopup()
return
end
Library:OpenPopup(handle)
isOpen = true
placePopup(popup, swatchOuter, width, popup.Size.Y.Offset, true)
popup.Visible = true
picker:Display()
end
picker.TogglePopup = togglePopup
Connect(swatchButton.MouseButton1Click, togglePopup)
Library:OnUnload(function() popup:Destroy() end)
picker:Display()
picker.Default = picker.Value
function picker:Destroy()
picker.Destroyed = true
popup:Destroy()
swatchOuter:Destroy()
local at = table.find(parent.Addons, picker)
if at then table.remove(parent.Addons, at) end
if Library.Options[idx] == picker then Library.Options[idx] = nil end
end
table.insert(parent.Addons, picker)
if idx ~= nil then Library.Options[idx] = picker end
return parent
end
--// key picker (addon) \\--
local SPECIAL_KEYS = { MB1 = Enum.UserInputType.MouseButton1, MB2 = Enum.UserInputType.MouseButton2, MB3 = Enum.UserInputType.MouseButton3 }
local SPECIAL_INPUT = { [Enum.UserInputType.MouseButton1] = 'MB1', [Enum.UserInputType.MouseButton2] = 'MB2', [Enum.UserInputType.MouseButton3] = 'MB3' }
local MODIFIERS = {
LAlt = Enum.KeyCode.LeftAlt, RAlt = Enum.KeyCode.RightAlt, LCtrl = Enum.KeyCode.LeftControl, RCtrl = Enum.KeyCode.RightControl,
LShift = Enum.KeyCode.LeftShift, RShift = Enum.KeyCode.RightShift, Tab = Enum.KeyCode.Tab, CapsLock = Enum.KeyCode.CapsLock,
}
local MODIFIER_INPUT = {}
for name, code in pairs(MODIFIERS) do MODIFIER_INPUT[code] = name end
local SHORT = {
LeftShift = 'LShift', RightShift = 'RShift', LeftControl = 'LCtrl', RightControl = 'RCtrl', LeftAlt = 'LAlt', RightAlt = 'RAlt', Backspace = 'BkSp',
Return = 'Enter', Insert = 'Ins', Delete = 'Del', PageUp = 'PgUp', PageDown = 'PgDn', Backquote = '`', CapsLock = 'Caps',
}
Library.KeybindToggles = Library.KeybindToggles or {}
Library.IsPicking = false
function Addons:AddKeyPicker(idx, info)
info = Validate(info, Templates.KeyPicker)
local parent = self
local isButton = parent.Type == 'Button' or parent.Type == 'SubButton'
local host = parent.RightHolder
if isButton then
assert(info.Mode == 'Press', "KeyPicker on Buttons can only be applied with the 'Press' mode.")
host = parent.Row
end
if not host then return parent end
local picker = {
Text = info.Text, Value = info.Default, Modifiers = info.DefaultModifiers, DisplayValue = info.Default, Blacklisted = info.Blacklisted, BlacklistedModifiers = info.BlacklistedModifiers,
Whitelisted = info.Whitelisted, WhitelistedModifiers = info.WhitelistedModifiers, Toggled = false, Mode = info.Mode, SyncToggleState = info.SyncToggleState, Callback = info.Callback,
ChangedCallback = info.ChangedCallback, Changed = info.Changed, Clicked = info.Clicked, Type = 'KeyPicker', Library = Library, Connections = {},
}
local modes = info.Modes
if picker.Mode == 'Press' then
assert(parent.Type == 'Label' or isButton, "KeyPicker with the mode 'Press' can be only applied on Labels and Buttons.")
picker.SyncToggleState, modes, info.Mode = false, { 'Press' }, 'Press'
end
if picker.SyncToggleState then
modes = { 'Toggle', 'Hold' }
if not table.find(modes, info.Mode) then picker.Mode = 'Toggle' end
end
-- the checkbox is the source of truth in Toggle mode (pickers that already sync it are left alone)
local function drivesToggle() return parent.Type == 'Toggle' and picker.Mode == 'Toggle' and not picker.SyncToggleState end
local function flipToggled()
if drivesToggle() then picker.Toggled = not parent.Value else picker.Toggled = not picker.Toggled end
end
local function mirrorToggled()
if drivesToggle() and parent.Value ~= picker.Toggled then
parent:SetValue(picker.Toggled)
picker.Toggled = parent.Value
end
end
local function activeModifiers()
local out = {}
for name, code in pairs(MODIFIERS) do
if UserInputService:IsKeyDown(code) then table.insert(out, name) end
end
return out
end
local function modifiersHeld(required)
if type(required) ~= 'table' or #required == 0 then return true end
local held = activeModifiers()
for _, name in ipairs(required) do
if not table.find(held, name) then return false end
end
return true
end
local function verifyModifiers(list)
local out = {}
if type(list) ~= 'table' then return out end
for _, name in ipairs(list) do
if MODIFIERS[name] then table.insert(out, name) end
end
return out
end
picker.Modifiers = verifyModifiers(picker.Modifiers)
-- the key button
local buttonOuter, buttonInner = Panel(host, { 'a', 'c' }, { Size = UDim2.fromOffset(H(40), H(14)) })
buttonOuter.LayoutOrder = 20 + #parent.Addons
if isButton then
buttonOuter.Size = UDim2.fromOffset(44, H(20))
buttonOuter.LayoutOrder = 1000
end
local keyButton = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), TextSize = Library.TextSize, ZIndex = 4, Parent = buttonInner })
-- row in the keybind list
local listHolder = New('TextButton', { Text = '', AutoButtonColor = false, Active = Library.IsMobile, BackgroundTransparency = 1, Size = dim2(0, 0, 0, Library.IsMobile and 24 or 14), AutomaticSize = Enum.AutomaticSize.X, ClipsDescendants = true, Visible = false, Parent = Library.KeybindContainer })
local listLabel = New('TextLabel', { Text = '', BackgroundTransparency = 1, Size = dim2(0, 0, 1, 0), AutomaticSize = Enum.AutomaticSize.X, TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, Parent = listHolder }, { TextColor3 = 'dim' })
if Library.IsMobile then
Connect(listHolder.MouseButton1Click, function()
if picker.Mode == 'Toggle' then
flipToggled()
picker:DoClick()
mirrorToggled()
elseif picker.Mode == 'Press' then
picker:DoClick()
end
picker:Update()
end)
end
-- mode menu (right click)
local menu, menuInner = popupPanel(70, #modes * 18 + 4)
New('UIListLayout', { SortOrder = Enum.SortOrder.LayoutOrder, Parent = menuInner })
local modeButtons = {}
for index, mode in ipairs(modes) do
local button = New('TextButton', { Text = mode, AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 18), LayoutOrder = index, TextSize = Library.TextSize, ZIndex = 102, Parent = menuInner }, { TextColor3 = 'dim' })
modeButtons[mode] = button
Connect(button.MouseButton1Click, function()
picker:SetMode(mode)
Library:ClosePopup()
end)
end
function picker:SetMode(mode)
picker.Mode = mode
for name, button in pairs(modeButtons) do ThemeSet(button, 'TextColor3', name == mode and 'accent' or 'dim') end
picker:Update()
end
local picking = false
local lastShown
function picker:Display(text)
if Library.Unloaded then return end
local shown = text or picker.DisplayValue
shown = shown:gsub('%a+', function(word) return SHORT[word] or word end)
if picker.Value == 'None' or picker.Value == 'Unknown' then shown = text or 'none' end
if shown ~= lastShown then
lastShown = shown
keyButton.Text = shown
buttonOuter.Size = UDim2.fromOffset(TextWidth(shown, Library.TextSize) + 12, isButton and H(20) or H(14))
end
end
table.insert(Library.FontListeners, function()
lastShown = nil
picker:Display()
end)
function picker:GetState()
if picker.Mode == 'Always' then return true end
if picker.Mode == 'Hold' then
local key = picker.Value
if key == 'None' or key == 'Unknown' then return false end
if not modifiersHeld(picker.Modifiers) or picking then return false end
if SPECIAL_KEYS[key] then
if Library.Toggled then return false end
return UserInputService:IsMouseButtonPressed(SPECIAL_KEYS[key]) and not UserInputService:GetFocusedTextBox()
end
local ok, code = pcall(function() return Enum.KeyCode[key] end)
return ok and code ~= nil and UserInputService:IsKeyDown(code) and not UserInputService:GetFocusedTextBox() or false
end
return picker.Toggled
end
local function listText()
local key = picker.DisplayValue:gsub('%a+', function(word) return SHORT[word] or word end)
if picker.Value == 'None' or picker.Value == 'Unknown' then key = 'Tap' end
return ('[%s] %s (%s)'):format(key, picker.Text, picker.Mode)
end
function picker:Update()
picker:Display()
if info.NoUI then return end
if picker.Mode == 'Toggle' and parent.Type == 'Toggle' and parent.Disabled then
listHolder.Visible = false
return
end
local state = picker:GetState()
if picker.SyncToggleState and parent.Value ~= state then parent:SetValue(state) end
-- only keys that are bound are listed: the row pops in when a key gets bound and leaves when it is cleared
local bound = picker.Value ~= 'None' and picker.Value ~= 'Unknown'
-- a phone has no keys: there every togglable bind is listed, and tapping its row flips it
if not bound and not (Library.IsMobile and (picker.Mode == 'Toggle' or picker.Mode == 'Press')) then
listHolder.Visible = false
return
end
listLabel.Text = listText()
ThemeSet(listLabel, 'TextColor3', state and 'accent' or 'dim')
if not listHolder.Visible then
listHolder.Visible = true
if Animating() then
listHolder.Size = dim2(0, 0, 0, 0)
Tween(listHolder, { Size = dim2(0, 0, 0, Library.IsMobile and 24 or 14) }, 0.22, Enum.EasingStyle.Back)
FX.Scramble(listLabel, listLabel.Text, 0.3)
end
end
end
function picker:OnChanged(callback) picker.Changed = callback end
function picker:OnClick(callback) picker.Clicked = callback end
function picker:DoClick()
if picking then return end
if picker.Mode == 'Press' then
if picker.Toggled and info.WaitForCallback == true then return end
picker.Toggled = true
end
Library:SafeCallback(picker.Callback, picker.Toggled)
Library:SafeCallback(picker.Clicked, picker.Toggled)
if isButton then Library:SafeCallback(parent.Func, picker.Toggled) end
if Library.ToggleKeybind == picker and Library.Toggle then Library:Toggle() end
if picker.Mode == 'Press' then picker.Toggled = false end
end
function picker:RunChanged(valid, code)
if valid == nil or code == nil then
valid, code = pcall(function()
if picker.Value == 'None' then return nil end
if SPECIAL_KEYS[picker.Value] == nil then return Enum.KeyCode[picker.Value] end
return SPECIAL_KEYS[picker.Value]
end)
end
local converted = {}
for _, name in ipairs(picker.Modifiers) do table.insert(converted, MODIFIERS[name]) end
Library:SafeCallback(picker.ChangedCallback, code, converted)
Library:SafeCallback(picker.Changed, code, converted)
end
function picker:SetValue(data)
local key, mode, modifiers = data[1], data[2], data[3]
local valid, code = pcall(function()
if key == 'None' then
key = nil
return nil
end
if SPECIAL_KEYS[key] == nil then return Enum.KeyCode[key] end
return SPECIAL_KEYS[key]
end)
if key == nil then
picker.Value = 'None'
elseif valid then
picker.Value = key
else
picker.Value = 'Unknown'
end
picker.Modifiers = verifyModifiers(type(modifiers) == 'table' and modifiers or picker.Modifiers)
picker.DisplayValue = #picker.Modifiers > 0 and (table.concat(picker.Modifiers, ' + ') .. ' + ' .. picker.Value) or picker.Value
if mode and modeButtons[mode] then picker:SetMode(mode) end
picker:Update()
picker:RunChanged(valid, code)
end
function picker:SetText(text)
picker.Text = text
picker:Update()
end
local function setPicking(state)
picking = state
Library.IsPicking = state
parent.AnyKeyPickerPicking = state
picker:Update()
end
local function startPicking()
if picking or Library.IsPicking then return end
setPicking(true)
keyButton.Text, buttonOuter.Size = '...', UDim2.fromOffset(28, isButton and H(20) or H(14))
local current
local function valid(input)
if input.KeyCode == Enum.KeyCode.Escape then return true end
local isModifier = input.UserInputType == Enum.UserInputType.Keyboard and MODIFIER_INPUT[input.KeyCode] ~= nil
local name
if SPECIAL_INPUT[input.UserInputType] then
name = SPECIAL_INPUT[input.UserInputType]
elseif input.UserInputType == Enum.UserInputType.Keyboard then
name = isModifier and MODIFIER_INPUT[input.KeyCode] or input.KeyCode.Name
end
if name then
if isModifier then
if picker.WhitelistedModifiers and #picker.WhitelistedModifiers > 0 and not table.find(picker.WhitelistedModifiers, name) then return false end
if picker.BlacklistedModifiers and table.find(picker.BlacklistedModifiers, name) then return false end
else
if picker.Whitelisted and #picker.Whitelisted > 0 and not table.find(picker.Whitelisted, name) then return false end
if picker.Blacklisted and table.find(picker.Blacklisted, name) then return false end
end
end
return true
end
while true do
local input = UserInputService.InputBegan:Wait()
if UserInputService:GetFocusedTextBox() ~= nil or Library.Unloaded then
setPicking(false)
return
end
if valid(input) then
current = input
break
end
end
local key = 'Unknown'
if SPECIAL_INPUT[current.UserInputType] then
key = SPECIAL_INPUT[current.UserInputType]
elseif current.UserInputType == Enum.UserInputType.Keyboard then
key = current.KeyCode == Enum.KeyCode.Escape and 'None' or current.KeyCode.Name
end
picker.Toggled = parent.Type == 'Toggle' and parent.Value or false
picker:SetValue({ key, picker.Mode, {} })
-- Always ignores its key, so a key bound in Always mode would never do anything: binding one to a checkbox switches the picker to Toggle
if picker.Mode == 'Always' and parent.Type == 'Toggle' and key ~= 'None' and key ~= 'Unknown' and modeButtons.Toggle then
picker:SetMode('Toggle')
picker.Toggled = parent.Value
picker:Update()
Library:Notify({ Title = picker.Text, Description = picker.DisplayValue .. ' now toggles it. Right-click the key to use Hold or Always instead.', Time = 4 })
end
-- a key still reported as held (alt-tab while binding, a lost key-up) must not keep picking mode on forever
local deadline = os.clock() + 1.5
repeat
task.wait()
local down = false
if SPECIAL_INPUT[current.UserInputType] then
down = UserInputService:IsMouseButtonPressed(current.UserInputType)
elseif current.UserInputType == Enum.UserInputType.Keyboard then
down = UserInputService:IsKeyDown(current.KeyCode)
end
until not down or os.clock() > deadline or Library.Unloaded
setPicking(false)
end
Connect(keyButton.MouseButton1Click, function()
if picking or Library.IsPicking then return end
local ok, err = pcall(startPicking)
if picking then setPicking(false) end
if not ok then warn('[ZkxVader] KeyPicker: ' .. tostring(err)) end
end)
local menuOpen = false
local menuHandle = { Frame = menu, Anchor = keyButton, Close = function() menuOpen = false menu.Visible = false end }
local function toggleMenu()
if menuOpen then
Library:ClosePopup()
return
end
Library:OpenPopup(menuHandle)
menuOpen = true
placePopup(menu, buttonOuter, 70, #modes * 18 + 4, true)
menu.Visible = true
end
picker.ToggleMenu = toggleMenu
Connect(keyButton.MouseButton2Click, toggleMenu)
local function relevant(input)
-- a key press only matters to a picker when it is that picker's key, a modifier of its combo, or the picker holds (state follows the key)
if SPECIAL_INPUT[input.UserInputType] == picker.Value then return true end
if input.UserInputType ~= Enum.UserInputType.Keyboard then return false end
return input.KeyCode.Name == picker.Value or (#picker.Modifiers > 0 and MODIFIER_INPUT[input.KeyCode] ~= nil)
end
Library:OnInput('Began', function(input)
if Library.Unloaded then return end
local isMouse = SPECIAL_INPUT[input.UserInputType] ~= nil
if picker.Mode == 'Always' or picker.Value == 'Unknown' or picker.Value == 'None' or picking or Library.IsPicking or UserInputService:GetFocusedTextBox() or (isMouse and Library.Toggled) then return end
local holding = modifiersHeld(picker.Modifiers) and (SPECIAL_INPUT[input.UserInputType] == picker.Value or (input.UserInputType == Enum.UserInputType.Keyboard and input.KeyCode.Name == picker.Value))
if picker.Mode == 'Toggle' then
if holding then
flipToggled()
picker:DoClick()
mirrorToggled()
end
elseif picker.Mode == 'Press' then
if holding then picker:DoClick() end
end
if holding or (picker.Mode == 'Hold' and relevant(input)) then picker:Update() end
end)
Library:OnInput('Ended', function(input)
if Library.Unloaded or picker.Mode ~= 'Hold' then return end
local isMouse = SPECIAL_INPUT[input.UserInputType] ~= nil
if picker.Value == 'Unknown' or picker.Value == 'None' or picking or Library.IsPicking or UserInputService:GetFocusedTextBox() or (isMouse and Library.Toggled) then return end
if relevant(input) then picker:Update() end
end)
picker:SetMode(picker.Mode)
Library:OnUnload(function() menu:Destroy() end)
picker.Default, picker.DefaultModifiers = picker.Value, table.clone(picker.Modifiers or {})
function picker:Destroy()
picker.Destroyed = true
menu:Destroy()
buttonOuter:Destroy()
listHolder:Destroy()
local at = table.find(parent.Addons, picker)
if at then table.remove(parent.Addons, at) end
if Library.Options[idx] == picker then Library.Options[idx] = nil end
end
table.insert(parent.Addons, picker)
if idx ~= nil then Library.Options[idx] = picker end
picker:Update()
return parent
end
end
-- ==== 42_viewport.lua ====
-- ZkxVader viewport element (the ESP tab's live preview): a ViewportFrame inside a Vaderhaxx panel, Obsidian's Viewport contract.
do
local Container = Classes.Container
function Container:AddViewport(idx, info)
info = Library:Validate(info, { Object = nil, Camera = nil, Clone = true, AutoFocus = true, Interactive = false, Height = 200, Visible = true })
local owner = self
local object = info.Object
if info.Clone and typeof(object) == 'Instance' then
local wasArchivable = object.Archivable
object.Archivable = true
object = object:Clone()
object.Archivable = wasArchivable
end
local viewport = {
Destroyed = false, Object = object, Camera = info.Camera or Instance.new('Camera'), Interactive = info.Interactive, AutoFocus = info.AutoFocus, Visible = info.Visible,
Type = 'Viewport', Library = Library,
}
assert(typeof(viewport.Object) == 'Instance' and (viewport.Object:IsA('BasePart') or viewport.Object:IsA('Model')), 'Instance must be a BasePart or Model.')
assert(typeof(viewport.Camera) == 'Instance' and viewport.Camera:IsA('Camera'), 'Camera must be a valid Camera instance.')
local holder = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, info.Height), LayoutOrder = self:NextOrder(), Visible = viewport.Visible, Parent = self.Container })
local _, box = Panel(holder, { 'a', 'b', 'd' }, { Size = dim2(1, 0, 1, 0) })
local frame = New('ViewportFrame', { BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), CurrentCamera = viewport.Camera, Active = viewport.Interactive, Parent = box })
viewport.Camera.Parent = frame
viewport.Object.Parent = frame
viewport.Holder, viewport.Frame = holder, frame
local function focus()
local object = viewport.Object
local size = object:IsA('BasePart') and object.Size or select(2, object:GetBoundingBox())
local extent = math.max(size.X, size.Y, size.Z)
local position = object:GetPivot().Position
viewport.Camera.CFrame = CFrame.new(position + Vector3.new(0, extent / 2, extent * 2), position)
end
if viewport.AutoFocus then focus() end
-- the interactive orbit (right mouse drag, wheel zoom) of the stock widget
local dragging, last = false, nil
Connect(frame.InputBegan, function(input)
if viewport.Interactive and input.UserInputType == Enum.UserInputType.MouseButton2 then dragging, last = true, input.Position end
end)
Library:OnInput('Ended', function(input)
if input.UserInputType == Enum.UserInputType.MouseButton2 then dragging = false end
end)
Library:OnInput('Changed', function(input)
if Library.Unloaded or not viewport.Interactive or not dragging or input.UserInputType ~= Enum.UserInputType.MouseMovement then return end
local delta = input.Position - last
last = input.Position
local position = viewport.Object:GetPivot().Position
local camera = viewport.Camera
camera.CFrame = CFrame.new(position) * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), -delta.X * 0.01) * CFrame.new(-position) * camera.CFrame
local pitched = CFrame.new(position) * CFrame.fromAxisAngle(camera.CFrame.RightVector, -delta.Y * 0.01) * CFrame.new(-position) * camera.CFrame
if pitched.UpVector.Y > 0.1 then camera.CFrame = pitched end
end)
Connect(frame.InputChanged, function(input)
if viewport.Interactive and input.UserInputType == Enum.UserInputType.MouseWheel then
viewport.Camera.CFrame += viewport.Camera.CFrame.LookVector * (input.Position.Z * 2)
end
end)
function viewport:SetObject(newObject, clone)
assert(newObject, 'Object cannot be nil.')
if clone then newObject = newObject:Clone() end
if viewport.Object then viewport.Object:Destroy() end
viewport.Object = newObject
viewport.Object.Parent = frame
end
function viewport:SetHeight(height) holder.Size = dim2(1, 0, 0, height) end
function viewport:Focus() if viewport.Object then focus() end end
function viewport:SetCamera(camera)
viewport.Camera = camera
frame.CurrentCamera = camera
end
function viewport:SetInteractive(interactive)
viewport.Interactive = interactive
frame.Active = interactive
end
function viewport:SetVisible(visible)
viewport.Visible = visible
holder.Visible = visible
end
function viewport:Destroy()
viewport.Destroyed = true
holder:Destroy()
local at = table.find(owner.Elements, viewport)
if at then table.remove(owner.Elements, at) end
if idx ~= nil and Library.Options[idx] == viewport then Library.Options[idx] = nil end
end
table.insert(self.Elements, viewport)
viewport.Idx = idx
if idx ~= nil then Library.Options[idx] = viewport end
return viewport
end
end
-- ==== 43_search.lua ====
-- ZkxVader search: a box in the header; typing lists every matching control of every tab ("tab > box > name"); a click jumps there and flashes the row.
-- (The real rows are never hidden or moved, so searching can not disturb layouts or dependency boxes.)
do
local Window = Classes.Window
local function plain(text) return (tostring(text or ''):gsub('<[^>]->', '')) end
local function walk(container, visit)
for _, element in ipairs(container.Elements or {}) do
if element.Type == 'DependencyBox' then walk(element, visit) else visit(element) end
end
end
-- every searchable element of the menu: { tab, box, boxName, element }
local function collect()
local found = {}
for _, tab in ipairs(Library.Window and Library.Window.Tabs or {}) do
for name, box in pairs(tab.Groupboxes) do
walk(box, function(element) table.insert(found, { tab = tab, box = box, boxName = name, element = element }) end)
end
for _, tabbox in pairs(tab.Tabboxes) do
for _, sub in ipairs(tabbox.Tabs or {}) do
walk(sub, function(element)
table.insert(found, { tab = tab, box = sub, boxName = tostring(tabbox.Name or 'tabs') .. ' / ' .. tostring(sub.Name), element = element, sub = sub })
end)
end
end
end
return found
end
local SEARCHABLE = { Toggle = true, Slider = true, Dropdown = true, Input = true, Label = true, Button = true }
local function flash(element)
local holder = element.Holder
if not (holder and holder.Parent) then return end
local glow = New('Frame', { Size = dim2(1, 8, 1, 4), Position = dim2(0, -4, 0, -2), BackgroundTransparency = 0.7, ZIndex = holder.ZIndex + 5, Active = false, Parent = holder }, { BackgroundColor3 = 'accent' })
Tween(glow, { BackgroundTransparency = 1 }, 1.4, Enum.EasingStyle.Quad)
task.delay(1.5, function() glow:Destroy() end)
end
local function jump(entry)
entry.tab:Show(true)
local root = entry.box.Root or entry.box
if root.SetCollapsed then root:SetCollapsed(false) end
if entry.sub then entry.sub:Show() end
task.delay(0.12, function()
local holder = entry.element.Holder
local column = entry.box.Container and entry.box.Container:FindFirstAncestorWhichIsA('ScrollingFrame')
if holder and column then
local target = holder.AbsolutePosition.Y - column.AbsolutePosition.Y + column.CanvasPosition.Y - 24
column.CanvasPosition = Vector2.new(0, max(0, target))
end
flash(entry.element)
end)
end
function Window:BuildSearch()
local header = self.TitleHolder
local footerWidth = self.FooterLabel.Visible and (TextWidth(self.FooterLabel.Text, Library.TextSize) + 16) or 8
local outer, field = Panel(header, { 'a', 'd' }, { Size = UDim2.fromOffset(Library.IsMobile and 130 or 170, H(20)), AnchorPoint = vec2(1, 0.5), Position = UDim2.new(1, -footerWidth, 0.5, 0) })
outer.ZIndex = 5
local box = New('TextBox', {
Text = '', PlaceholderText = 'Search', BackgroundTransparency = 1, Size = dim2(1, -10, 1, 0), Position = dim2(0, 6, 0, 0), TextSize = Library.TextSize,
TextXAlignment = Enum.TextXAlignment.Left, ClearTextOnFocus = false, ZIndex = 6, Parent = field,
})
box.PlaceholderColor3 = Palette.dim
self.SearchBox = box
-- results page
local page = New('Frame', { Name = 'SearchResults', BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), Visible = false, ZIndex = 30, Parent = self.Pages })
New('Frame', { Size = dim2(1, 0, 1, 0), ZIndex = 30, Parent = page }, { BackgroundColor3 = 'e' })
local list = New('ScrollingFrame', {
BackgroundTransparency = 1, Size = dim2(1, -24, 1, -24), Position = dim2(0, 12, 0, 12), ScrollBarThickness = 2, AutomaticCanvasSize = Enum.AutomaticSize.Y,
CanvasSize = dim2(0, 0, 0, 0), ZIndex = 31, Active = true, Parent = page,
})
Library.Theme(list, 'ScrollBarImageColor3', 'accent')
New('UIListLayout', { Padding = dim(0, 2), SortOrder = Enum.SortOrder.LayoutOrder, Parent = list })
local heading = New('TextLabel', { Text = '', BackgroundTransparency = 1, Size = dim2(1, 0, 0, 16), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, LayoutOrder = 0, ZIndex = 32, Parent = list }, { TextColor3 = 'dim' })
local rows = {}
local token = 0
local function close()
page.Visible = false
if self.ActiveTab then self.ActiveTab.Page.Visible = true end
end
local function refresh()
token += 1
local mine = token
task.delay(0.12, function()
if mine ~= token or Library.Unloaded then return end
local needle = plain(box.Text):lower()
for _, row in ipairs(rows) do row:Destroy() end
table.clear(rows)
if needle == '' then
close()
return
end
local count = 0
for _, entry in ipairs(collect()) do
local element = entry.element
local text = plain(element.Text)
if SEARCHABLE[element.Type] and text ~= '' and text:lower():find(needle, 1, true) then
count += 1
if count <= 80 then
local row = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 20), LayoutOrder = count, ZIndex = 32, Parent = list })
local crumb = string.format('%s > %s', entry.tab.Name, tostring(entry.boxName))
New('TextLabel', { Text = text, BackgroundTransparency = 1, Size = dim2(0.5, 0, 1, 0), Position = dim2(0, 8, 0, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 33, Parent = row })
New('TextLabel', {
Text = crumb, BackgroundTransparency = 1, Size = dim2(0.5, -16, 1, 0), Position = dim2(0.5, 8, 0, 0), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Right, ZIndex = 33, Parent = row,
}, { TextColor3 = 'dim' })
Connect(row.MouseEnter, function()
row.BackgroundColor3 = Palette.accent
Tween(row, { BackgroundTransparency = 0.85 }, 0.08)
end)
Connect(row.MouseLeave, function() Tween(row, { BackgroundTransparency = 1 }, 0.1) end)
Connect(row.MouseButton1Click, function()
box.Text = ''
close()
jump(entry)
end)
table.insert(rows, row)
end
end
end
heading.Text = count == 0 and 'no matches' or (count > 80 and ('showing 80 of ' .. count .. ' matches') or (count .. ' match' .. (count == 1 and '' or 'es')))
if self.ActiveTab then self.ActiveTab.Page.Visible = false end
page.Visible = true
end)
end
Connect(box:GetPropertyChangedSignal('Text'), refresh)
Connect(box.FocusLost, function(entered)
if entered and box.Text == '' then close() end
end)
-- changing tab leaves the search
local previousHook = Library.OnTabChanged
Library.OnTabChanged = function(tab)
if page.Visible and not box:IsFocused() then
page.Visible = false
box.Text = ''
end
if previousHook then previousHook(tab) end
end
end
end
-- ==== 44_watermark.lua ====
-- ZkxVader watermark (Vaderhaxx's): "[ ZkxVader ] fps: 144 ping: 32ms" - the name in a flowing rainbow gradient, the details after it, draggable.
-- The details are a list of fields the user picks (Library:SetWatermarkFields): Username, Executor, FPS, Ping, Map, Server, Time. Values show in the accent colour.
-- Library:SetWatermarkProvider(id, getter, interval) swaps how one field is read (the hub gives Map and Server their Rivals lookups); a getter returns a string, or nil to leave the field out.
-- It stays on screen while enabled (also with the menu closed). Library:SetWatermarkVisible(false) hides it and stops its counter.
do
local Stats = svc('Stats')
local watermark = { Frame = nil, Name = nil, Info = nil, Visible = true, Selected = { FPS = true, Ping = true } }
local renderHandle
local liveFps, livePing = 0, 0
local function readPing()
local ok, value = pcall(function() return Stats.Network.ServerStatsItem['Data Ping']:GetValue() end)
if ok and type(value) == 'number' then return floor(value + 0.5) end
local okPing, ping = pcall(function() return LocalPlayer:GetNetworkPing() * 1000 end)
return okPing and floor(ping + 0.5) or 0
end
local executorName
local function readExecutor()
if executorName == nil then
executorName = 'unknown'
if type(identifyexecutor) == 'function' then
local ok, name = pcall(identifyexecutor)
if ok and type(name) == 'string' and name ~= '' then executorName = name end
end
end
return executorName
end
-- display order is the order of this list; Interval = seconds a value is kept before the getter runs again (none = every refresh)
local FIELD_ORDER = { 'Username', 'Executor', 'FPS', 'Ping', 'Map', 'Server', 'Time' }
local fields = {
Username = { Label = 'user', Get = function() return LocalPlayer.Name end },
Executor = { Label = 'exec', Get = readExecutor },
FPS = { Label = 'fps', Get = function() return tostring(liveFps) end },
Ping = { Label = 'ping', Get = function() return livePing .. 'ms' end },
Map = { Label = 'map', Get = function() return nil end, Interval = 2 },
Server = { Label = 'server', Get = function() return nil end, Interval = 5 },
Time = { Label = 'time', Get = function() return os.date('%H:%M:%S') end },
}
local function readField(field, now)
if field.Interval and field.ReadAt and now - field.ReadAt < field.Interval then return field.Value end
field.ReadAt = now
local ok, value = pcall(field.Get)
field.Value = (ok and type(value) == 'string' and value ~= '') and value or nil
return field.Value
end
local function escapeRich(text)
return (text:gsub('&', '&'):gsub('<', '<'):gsub('>', '>'))
end
local function renderInfo()
if not watermark.Info then return end
local now = os.clock()
local color = Palette.accent:ToHex()
local parts = {}
for _, id in ipairs(FIELD_ORDER) do
if watermark.Selected[id] then
local field = fields[id]
local value = readField(field, now)
if value then parts[#parts + 1] = ('%s: <font color="#%s">%s</font>'):format(field.Label, color, escapeRich(value)) end
end
end
watermark.Info.Text = #parts > 0 and (' ] ' .. table.concat(parts, ' ')) or ' ]'
end
-- notifications start below the watermark while it is up in the same corner
local function moveNotifications()
Library.WatermarkOffset = (watermark.Frame and watermark.Visible) and 30 or 0
if Library.LayoutNotifications then Library:LayoutNotifications() end
end
local function stopCounter()
if renderHandle then
renderHandle.Disconnect()
renderHandle = nil
end
end
local function startCounter()
if renderHandle or not watermark.Info then return end
local frames, elapsed = 0, 0
renderHandle = Library:OnInput('Render', function(dt)
frames += 1
elapsed += dt
if elapsed >= 0.5 then
liveFps, livePing = floor(frames / elapsed + 0.5), readPing()
frames, elapsed = 0, 0
renderInfo()
end
end)
end
function Library:AddWatermark(info)
info = info or {}
Library:EnsureGui()
if watermark.Frame and watermark.Frame.Parent then return watermark end
local outer = New('Frame', {
Name = 'Watermark', AutomaticSize = Enum.AutomaticSize.XY, Size = dim2(0, 0, 0, 0), Position = info.Position or dim2(0, 14, 0, 14), ZIndex = 45, Parent = Library.Main,
}, { BackgroundColor3 = 'c' })
New('UIPadding', { PaddingTop = dim(0, 1), PaddingBottom = dim(0, 1), PaddingLeft = dim(0, 1), PaddingRight = dim(0, 1), Parent = outer })
local inner = New('Frame', { AutomaticSize = Enum.AutomaticSize.XY, Size = dim2(0, 0, 0, 0), Parent = outer }, { BackgroundColor3 = 'e' })
New('UIPadding', { PaddingLeft = dim(0, 6), PaddingRight = dim(0, 6), PaddingTop = dim(0, 3), PaddingBottom = dim(0, 4), Parent = inner })
New('UIListLayout', { FillDirection = Enum.FillDirection.Horizontal, SortOrder = Enum.SortOrder.LayoutOrder, VerticalAlignment = Enum.VerticalAlignment.Center, Parent = inner })
local function piece(text, order)
return New('TextLabel', { Text = text, BackgroundTransparency = 1, AutomaticSize = Enum.AutomaticSize.X, Size = dim2(0, 0, 0, 14), TextSize = Library.TextSize, LayoutOrder = order, ZIndex = 46, Parent = inner })
end
piece('[ ', 1)
watermark.Name = piece(tostring(info.Name or 'ZkxVader'), 2)
watermark.Info = piece(' ]', 3)
watermark.Info.RichText = true
FX.Rainbow(watermark.Name, { always = true })
watermark.Frame = outer
Library:ApplyLayout('watermark', outer)
Library.MakeDraggable(outer, outer, nil, 'watermark')
watermark.Visible = info.Visible ~= false
outer.Visible = watermark.Visible
renderInfo()
if watermark.Visible then startCounter() end
moveNotifications()
return watermark
end
function Library:SetWatermarkVisible(visible)
watermark.Visible = visible ~= false
if watermark.Frame then watermark.Frame.Visible = watermark.Visible end
if watermark.Visible then startCounter() else stopCounter() end
moveNotifications()
end
-- the ids of the fields in display order (the hub builds its picker from this)
function Library:GetWatermarkFieldIds()
return table.clone(FIELD_ORDER)
end
-- list of ids ({ 'FPS', 'Ping' }) or a multi-dropdown value ({ FPS = true }); unknown ids are ignored, an empty list shows the name only
function Library:SetWatermarkFields(list)
local selected = {}
for key, value in pairs(type(list) == 'table' and list or {}) do
local id = type(key) == 'number' and value or (value == true and key or nil)
if type(id) == 'string' and fields[id] then selected[id] = true end
end
watermark.Selected = selected
renderInfo()
end
function Library:SetWatermarkProvider(id, getter, interval)
local field = fields[id]
if not field or type(getter) ~= 'function' then return false end
field.Get, field.Interval, field.ReadAt, field.Value = getter, interval or field.Interval, nil, nil
renderInfo()
return true
end
-- Obsidian's name for the text: here it is the part inside the brackets
function Library:SetWatermark(text)
if watermark.Name then watermark.Name.Text = tostring(text) end
end
Library.Watermark = watermark
end
-- ==== 45_layout.lua ====
-- ZkxVader layout memory: where the movable windows (main window, keybind panel, watermark, floating labels) were left, kept across unload / reload.
-- One small JSON file (<StorageDir>/layout.json), written a moment after a drag or resize ends and when the library unloads. Positions are stored as
-- UDim2 parts (scale + offset), so they survive a different screen size; a saved spot that would be off the screen is ignored.
do
local path = Library.StorageDir .. '/layout.json'
local data, dirty = nil, false
local saveToken = 0
local function canFile() return type(isfile) == 'function' and type(readfile) == 'function' and type(writefile) == 'function' end
local function load()
if data then return data end
data = {}
if canFile() then
local ok, decoded = pcall(function()
if isfile(path) then return HttpService:JSONDecode(readfile(path)) end
return nil
end)
if ok and type(decoded) == 'table' then data = decoded end
end
return data
end
local function flush()
if not dirty or not canFile() then return end
dirty = false
pcall(function()
if type(isfolder) == 'function' and type(makefolder) == 'function' and not isfolder(Library.StorageDir) then makefolder(Library.StorageDir) end
writefile(path, HttpService:JSONEncode(data))
end)
end
Library:OnUnload(flush)
local function number(value) return type(value) == 'number' and value == value and math.abs(value) < 1e6 end
local function udim2(parts)
if type(parts) == 'table' and number(parts[1]) and number(parts[2]) and number(parts[3]) and number(parts[4]) then
return UDim2.new(parts[1], parts[2], parts[3], parts[4])
end
return nil
end
-- is the saved spot still reachable on this screen? (a window left in the corner of a bigger monitor must not vanish on a smaller one)
local function reachable(frame, position)
local main = Library.Main
if not main or main.AbsoluteSize.X <= 0 then return true end
local scale = max(Library.GetScale(), 0.01)
local view = main.AbsoluteSize / scale
local size = frame.AbsoluteSize / scale
if size.X <= 0 then size = Vector2.new(120, 24) end
local left = position.X.Scale * view.X + position.X.Offset - frame.AnchorPoint.X * size.X
local top = position.Y.Scale * view.Y + position.Y.Offset - frame.AnchorPoint.Y * size.Y
return left + size.X > 60 and left < view.X - 60 and top + size.Y > 24 and top < view.Y - 40
end
function Library:ApplyLayout(id, frame, withSize)
local entry = id and frame and load()[id]
if type(entry) ~= 'table' then return false end
local position = udim2(entry.p)
if not position or not reachable(frame, position) then return false end
frame.Position = position
if withSize then
local size = udim2(entry.s)
local minimumWidth, minimumHeight = Library.IsMobile and 320 or 560, Library.IsMobile and 200 or 380
local screen = Library.Viewport()
if size and size.X.Offset >= minimumWidth and size.Y.Offset >= minimumHeight and size.X.Scale == 0 and size.Y.Scale == 0 then
frame.Size = UDim2.fromOffset(min(size.X.Offset, screen.X - 16), min(size.Y.Offset, screen.Y - 16))
end
end
return true
end
function Library:SaveLayout(id, frame, withSize)
if not id or not frame or not frame.Parent then return end
local position = frame.Position
local entry = { p = { position.X.Scale, position.X.Offset, position.Y.Scale, position.Y.Offset } }
if withSize then
local size = frame.Size
entry.s = { size.X.Scale, size.X.Offset, size.Y.Scale, size.Y.Offset }
end
load()[id] = entry
dirty = true
saveToken += 1
local mine = saveToken
task.delay(0.4, function()
if mine == saveToken then flush() end
end)
end
end
-- ==== 46_mobile.lua ====
-- ZkxVader mobile: an on-screen button that opens / closes the menu (a phone has no menu key). Draggable, remembered, only built on touch devices.
do
local Window = Classes.Window
function Window:BuildMobileButton()
if not Library.IsMobile then return end
local size = H(44)
local outer, inner = Panel(Library.Main, { 'a', 'b', 'e' }, { Size = UDim2.fromOffset(size, size), Position = dim2(0, 14, 0, 70) })
outer.Name = 'MobileButton'
outer.ZIndex = 300
Library:ApplyLayout('mobile', outer)
local icon
if self.Info and self.Info.Icon then
icon = New('ImageLabel', { BackgroundTransparency = 1, Image = tostring(self.Info.Icon), Size = dim2(1, -10, 1, -10), Position = dim2(0, 5, 0, 5), ZIndex = 301, Parent = inner })
else
New('TextLabel', { Text = 'Z', BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), TextSize = Library.TextSize + 6, ZIndex = 301, Parent = inner }, { TextColor3 = 'accent' })
end
local button = New('TextButton', { Text = '', AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), ZIndex = 302, Active = true, Parent = inner })
Library.MakeDraggable(outer, button, nil, 'mobile')
-- a tap opens or closes the menu; a drag only moves the button
local pressedAt
Connect(button.InputBegan, function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then pressedAt = outer.AbsolutePosition end
end)
Connect(button.MouseButton1Click, function()
if pressedAt and (outer.AbsolutePosition - pressedAt).Magnitude > 8 then return end
Library:Toggle()
end)
-- the button shows the state: accent outline while the menu is open
Library.OnToggled = (function(previous)
return function(open)
outer.BackgroundColor3 = open and Palette.accent or Palette.a
if previous then previous(open) end
end
end)(Library.OnToggled)
self.MobileButton = outer
end
end
-- ==== 47_list.lua ====
-- ZkxVader list: a scrolling single-select list. The chosen row is outlined in green (outline only). Same contract as a dropdown:
-- Value (the chosen row text), SetValues, SetValue, OnChanged, SetText, SetVisible, SetDisabled. Row text may use rich text.
-- Serverhop uses it; the Obsidian build has no such widget and the hub falls back to a dropdown there.
do
local Container = Classes.Container
local function noop() end
local SELECT_COLOR = rgb(60, 220, 110)
function Container:AddList(idx, info)
info = type(info) == 'table' and info or {}
local owner = self
local list = {
Type = 'List', Text = type(info.Text) == 'string' and info.Text or nil, Values = {}, Value = nil, Tooltip = info.Tooltip,
Callback = info.Callback or noop, Changed = info.Changed or noop, Disabled = info.Disabled == true, Visible = info.Visible ~= false, Library = Library,
}
local height = tonumber(info.Height) or 160
local hasLabel = list.Text ~= nil
local row = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, height + (hasLabel and 18 or 2)), LayoutOrder = self:NextOrder(), Visible = list.Visible, Parent = self.Container })
local title = New('TextLabel', { Text = list.Text or '', BackgroundTransparency = 1, Size = dim2(1, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, RichText = true, Visible = hasLabel, Parent = row })
local frame = New('Frame', { BackgroundTransparency = 1, AnchorPoint = vec2(0, 1), Position = dim2(0, 0, 1, 0), Size = dim2(1, 0, 0, height), Parent = row })
local _, field = Panel(frame, { 'd', 'b' }, { Size = dim2(1, 0, 1, 0), Clip = true })
local scroller = New('ScrollingFrame', {
BackgroundTransparency = 1, ScrollBarThickness = 3, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = dim2(0, 0, 0, 0), Size = dim2(1, 0, 1, 0), Active = true, Parent = field,
})
Library.Theme(scroller, 'ScrollBarImageColor3', 'accent')
New('UIListLayout', { SortOrder = Enum.SortOrder.LayoutOrder, Padding = dim(0, 2), Parent = scroller })
New('UIPadding', { PaddingLeft = dim(0, 3), PaddingRight = dim(0, 5), PaddingTop = dim(0, 3), PaddingBottom = dim(0, 3), Parent = scroller })
local empty = New('TextLabel', {
Text = type(info.Empty) == 'string' and info.Empty or 'Nothing to show', BackgroundTransparency = 1, Size = dim2(1, 0, 0, 24), TextSize = Library.TextSize, ZIndex = 2, Parent = field,
}, { TextColor3 = 'dim' })
list.Holder, list.Container = row, self.Container
local buttons = {}
local function paint()
for _, entry in ipairs(buttons) do
local chosen = entry.Value == list.Value
entry.Stroke.Enabled = chosen
entry.Button.BackgroundTransparency = chosen and 0.86 or 1
entry.Button.BackgroundColor3 = chosen and SELECT_COLOR or Palette.g
end
end
local function build()
for _, entry in ipairs(buttons) do entry.Button:Destroy() end
table.clear(buttons)
for index, value in ipairs(list.Values) do
local button = New('TextButton', {
Text = tostring(value), AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(20)), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left,
RichText = true, LayoutOrder = index, Parent = scroller,
})
New('UIPadding', { PaddingLeft = dim(0, 6), Parent = button })
local stroke = New('UIStroke', { Thickness = 1, Color = SELECT_COLOR, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, Enabled = false, Parent = button })
local entry = { Value = value, Button = button, Stroke = stroke }
table.insert(buttons, entry)
Connect(button.MouseEnter, function()
if entry.Value ~= list.Value then Tween(button, { BackgroundTransparency = 0.9 }, 0.08) end
end)
Connect(button.MouseLeave, function()
if entry.Value ~= list.Value then Tween(button, { BackgroundTransparency = 1 }, 0.1) end
end)
Connect(button.MouseButton1Click, function()
if list.Disabled then return end
list:SetValue(entry.Value)
end)
end
empty.Visible = #list.Values == 0
paint()
end
function list:RunChanged()
Library:SafeCallback(list.Callback, list.Value)
Library:SafeCallback(list.Changed, list.Value)
end
function list:OnChanged(callback) list.Changed = callback end
function list:SetValue(value)
if value ~= nil and not table.find(list.Values, value) then return end
if list.Value == value then return end
list.Value = value
paint()
list:RunChanged()
end
function list:SetValues(values)
list.Values = type(values) == 'table' and values or {}
-- the pick survives a refresh when its row is still there
if list.Value ~= nil and not table.find(list.Values, list.Value) then
list.Value = nil
build()
list:RunChanged()
return
end
build()
end
function list:GetValue() return list.Value end
function list:SetText(text)
list.Text = text
title.Text = text or ''
title.Visible = text ~= nil
row.Size = dim2(1, 0, 0, height + (text and 18 or 2))
end
function list:SetVisible(visible)
list.Visible = visible
row.Visible = visible
end
function list:SetDisabled(disabled)
list.Disabled = disabled
scroller.Active = not disabled
title.TextTransparency = disabled and 0.5 or 0
end
function list:Destroy()
list.Destroyed = true
row:Destroy()
if Library.Options[idx] == list then Library.Options[idx] = nil end
local at = table.find(owner.Elements or {}, list)
if at then table.remove(owner.Elements, at) end
end
if type(info.Values) == 'table' then list.Values = info.Values end
build()
if info.Default ~= nil and table.find(list.Values, info.Default) then list.Value = info.Default; paint() end
if list.Disabled then list:SetDisabled(true) end
table.insert(self.Elements, list)
if idx ~= nil then Library.Options[idx] = list end
return list
end
end
-- ==== 50_misc.lua ====
-- ZkxVader misc: notifications, dialog, draggable label.
do
local Window, Dialog, Container = Classes.Window, Classes.Dialog, Classes.Container
--// notifications \\--
local holder
local counter = 0
-- where the stack lives (Trello #32) and how a notification looks (Trello #33); both are remembered by UI Settings
local PLACEMENTS = {
['Bottom Left'] = { Left = true, Vertical = Enum.VerticalAlignment.Bottom },
['Bottom Right'] = { Left = false, Vertical = Enum.VerticalAlignment.Bottom },
['Top Left'] = { Left = true, Vertical = Enum.VerticalAlignment.Top },
['Top Right'] = { Left = false, Vertical = Enum.VerticalAlignment.Top },
['Middle Left'] = { Left = true, Vertical = Enum.VerticalAlignment.Center },
['Middle Right'] = { Left = false, Vertical = Enum.VerticalAlignment.Center },
}
Library.NotifyPlacementNames = { 'Bottom Left', 'Bottom Right', 'Top Left', 'Top Right', 'Middle Left', 'Middle Right' }
Library.NotifyStyleNames = { 'Premium', 'Classic' }
Library.NotifyPlacement = PLACEMENTS[Library.NotifyPlacement] and Library.NotifyPlacement or 'Top Right'
Library.NotifyStyle = Library.NotifyStyle == 'Classic' and 'Classic' or 'Premium'
local function placement() return PLACEMENTS[Library.NotifyPlacement] or PLACEMENTS['Top Right'] end
-- the stack sits below the watermark while that is up in the top-left corner
function Library:LayoutNotifications()
local frame = Library.NotifyHolder
if not (frame and frame.Parent) then return end
local info = placement()
local top = Library.NotifyPlacement == 'Top Left' and (Library.WatermarkOffset or 0) or 0
frame.AnchorPoint = vec2(info.Left and 0 or 1, 0)
frame.Position = dim2(info.Left and 0 or 1, info.Left and 14 or -14, 0, 14 + top)
frame.Size = dim2(0, min(300, Library.Viewport().X - 28), 1, -(28 + top))
local layout = frame:FindFirstChildOfClass('UIListLayout')
if layout then
layout.HorizontalAlignment = info.Left and Enum.HorizontalAlignment.Left or Enum.HorizontalAlignment.Right
layout.VerticalAlignment = info.Vertical
end
end
function Library:SetNotifyPlacement(name)
if PLACEMENTS[name] == nil then return false end
Library.NotifyPlacement = name
Library:LayoutNotifications()
return true
end
function Library:SetNotifyStyle(name)
if name ~= 'Premium' and name ~= 'Classic' then return false end
Library.NotifyStyle = name
return true
end
local function ensureHolder()
Library:EnsureGui()
if holder and holder.Parent then return holder end
holder = New('Frame', { Name = 'Notifications', BackgroundTransparency = 1, Size = dim2(0, 300, 1, -28), ZIndex = 200, Parent = Library.Main })
New('UIListLayout', { Padding = dim(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = holder })
Library.NotifyHolder = holder
Library:LayoutNotifications()
return holder
end
-- numbers read in the accent colour, like the coloured values of a hit log (only plain text; markup is left alone)
local function highlight(text)
if #text > 160 or text:find('<', 1, true) then return text end
local hex = Palette.accent:ToHex()
return (text:gsub('%f[%w]%d[%d%.,]*%%?', function(number) return ('<font color="#%s">%s</font>'):format(hex, number) end))
end
-- the old look: three nested outlines, scrambled title, dim description, countdown bar
local function buildClassic(data, wrapper)
local panel, inner = Panel(wrapper, { 'a', 'b', 'e' }, { Size = dim2(1, 0, 0, 0), Auto = true })
New('UIListLayout', { Padding = dim(0, 3), SortOrder = Enum.SortOrder.LayoutOrder, Parent = inner })
New('UIPadding', { PaddingTop = dim(0, 6), PaddingBottom = dim(0, 8), PaddingLeft = dim(0, 8), PaddingRight = dim(0, 8), Parent = inner })
local parts = { Panel = panel }
if data.Title then
parts.Title = New('TextLabel', {
Text = data.Title, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 14), TextSize = Library.TextSize, TextXAlignment = Enum.TextXAlignment.Left, LayoutOrder = 1, RichText = true, ZIndex = 201, Parent = inner,
}, { TextColor3 = 'accent' })
end
parts.Body = New('TextLabel', {
Text = data.Description, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextSize = Library.TextSize, TextWrapped = true,
TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top, LayoutOrder = 2, RichText = true, ZIndex = 201, Parent = inner,
}, { TextColor3 = data.Title and 'dim' or 'text' })
parts.BarHolder = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 2), LayoutOrder = 3, Parent = inner })
parts.Bar = New('Frame', { Size = dim2(1, 0, 1, 0), Parent = parts.BarHolder }, { BackgroundColor3 = 'accent' })
parts.Hidden = function(left) return { Position = dim2(left and -1.15 or 1.15, 0, 0, 0) } end
parts.Shown = { Position = dim2(0, 0, 0, 0) }
parts.Scramble = true
return parts
end
-- premium: one translucent card, a 2 px accent edge on the screen side, accent header over a hairline, white text with
-- coloured numbers, a 1 px countdown line, fades and slides in as one piece (CanvasGroup)
local function buildPremium(data, wrapper, left)
local card = New('CanvasGroup', {
BackgroundTransparency = 1, BorderSizePixel = 0, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, GroupTransparency = 0, ZIndex = 201, Parent = wrapper,
})
local _, face = Panel(card, { 'b', 'd' }, { Size = dim2(1, 0, 0, 0), Auto = true, InnerTransparency = 0.08 })
local stripe = New('Frame', { Size = dim2(0, 2, 1, 0), Position = dim2(left and 0 or 1, left and 0 or -2, 0, 0), ZIndex = 3, Parent = face }, { BackgroundColor3 = 'accent' })
local inner = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, ZIndex = 2, Parent = face })
New('UIListLayout', { Padding = dim(0, 4), SortOrder = Enum.SortOrder.LayoutOrder, Parent = inner })
New('UIPadding', {
PaddingTop = dim(0, 6), PaddingBottom = dim(0, 7), PaddingLeft = dim(0, left and 11 or 9), PaddingRight = dim(0, left and 9 or 11), Parent = inner,
})
local parts = { Panel = card, Stripe = stripe }
if data.Title then
parts.Title = New('TextLabel', {
Text = data.Title, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 13), TextSize = Library.TextSize + 1, TextXAlignment = Enum.TextXAlignment.Left, LayoutOrder = 1, RichText = true, ZIndex = 4, Parent = inner,
}, { TextColor3 = 'accent' })
New('Frame', { Size = dim2(1, 0, 0, 1), LayoutOrder = 2, BackgroundTransparency = 0.35, ZIndex = 3, Parent = inner }, { BackgroundColor3 = 'b' })
end
parts.Body = New('TextLabel', {
Text = highlight(data.Description), BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextSize = Library.TextSize, TextWrapped = true,
TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top, LayoutOrder = 3, RichText = true, ZIndex = 4, Parent = inner,
}, { TextColor3 = 'text' })
parts.BarHolder = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 1), LayoutOrder = 4, ZIndex = 3, Parent = inner })
parts.Bar = New('Frame', { Size = dim2(1, 0, 1, 0), BackgroundTransparency = 0.2, ZIndex = 4, Parent = parts.BarHolder }, { BackgroundColor3 = 'accent' })
parts.Hidden = function(isLeft) return { Position = dim2(0, isLeft and -26 or 26, 0, 0), GroupTransparency = 1 } end
parts.Shown = { Position = dim2(0, 0, 0, 0), GroupTransparency = 0 }
parts.Highlight = true
return parts
end
function Library:Notify(...)
if Library.Unloaded then return nil end
local data = {}
local first = select(1, ...)
if type(first) == 'table' then
data.Title = first.Title ~= nil and tostring(first.Title) or nil
data.Description = first.Description ~= nil and tostring(first.Description) or ''
data.Time = first.Time or 5
data.Persist = first.Persist
data.TitleColor, data.DescriptionColor = first.TitleColor, first.DescriptionColor
else
data.Description = tostring(first)
data.Time = select(2, ...) or 5
end
local left = placement().Left
local parent = ensureHolder()
counter += 1
local wrapper = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, LayoutOrder = counter, Parent = parent })
local parts = Library.NotifyStyle == 'Classic' and buildClassic(data, wrapper) or buildPremium(data, wrapper, left)
local panel, titleLabel, body, barHolder, bar = parts.Panel, parts.Title, parts.Body, parts.BarHolder, parts.Bar
if data.TitleColor and titleLabel then titleLabel.TextColor3 = data.TitleColor end
if data.DescriptionColor then body.TextColor3 = data.DescriptionColor end
local notification = { Destroyed = false }
local dismissed = false
function notification:Destroy()
if dismissed then return end
dismissed = true
notification.Destroyed = true
if not wrapper.Parent then return end
local height = wrapper.AbsoluteSize.Y / max(Library.GetScale(), 0.01)
if Animating() then
wrapper.AutomaticSize = Enum.AutomaticSize.None
wrapper.Size = dim2(1, 0, 0, height)
Tween(panel, parts.Hidden(placement().Left), 0.28, Enum.EasingStyle.Quint, Enum.EasingDirection.In)
task.delay(0.22, function()
if wrapper.Parent then Tween(wrapper, { Size = dim2(1, 0, 0, 0) }, 0.18, Enum.EasingStyle.Quint) end
end)
task.delay(0.45, function() wrapper:Destroy() end)
else
wrapper:Destroy()
end
end
function notification:ChangeTitle(text)
if titleLabel then titleLabel.Text = tostring(text) end
end
function notification:ChangeDescription(text)
text = tostring(text)
body.Text = parts.Highlight and highlight(text) or text
end
-- slide in, count down
if Animating() then
for property, value in pairs(parts.Hidden(left)) do panel[property] = value end
Tween(panel, parts.Shown, parts.Scramble and 0.45 or 0.32, Enum.EasingStyle.Quint)
if parts.Scramble then
if titleLabel then
FX.Scramble(titleLabel, data.Title, 0.35)
FX.Glitch(titleLabel, 0.2)
elseif #data.Description <= 70 and not data.Description:find('<') then
FX.Scramble(body, data.Description, 0.3)
end
end
else
for property, value in pairs(parts.Shown) do panel[property] = value end
end
local duration = tonumber(data.Time)
if data.Persist or not duration then
barHolder.Visible = false
if typeof(data.Time) == 'Instance' then
data.Time.Destroying:Once(function() notification:Destroy() end)
end
else
Tween(bar, { Size = dim2(0, 0, 1, 0) }, duration, Enum.EasingStyle.Linear)
task.delay(duration, function() notification:Destroy() end)
end
return notification
end
--// dialog \\--
local VARIANTS = { Primary = 'accent', Destructive = 'risky', Ghost = 'text' }
function Window:AddDialog(idx, info)
info = info or {}
local settings = {
Title = info.Title or 'Dialog', Description = info.Description or '', AutoDismiss = info.AutoDismiss ~= false, OutsideClickDismiss = info.OutsideClickDismiss ~= false,
FooterButtons = info.FooterButtons or {},
}
Library:EnsureGui()
Library.Dialogs = Library.Dialogs or {}
local existing = Library.Dialogs[idx]
if existing then existing:Dismiss(true) end
local layer = New('TextButton', {
Text = '', AutoButtonColor = false, Size = dim2(1, 0, 1, 0), BackgroundColor3 = rgb(0, 0, 0), BackgroundTransparency = 1, ZIndex = 150, Active = true, Parent = Library.Main,
})
Tween(layer, { BackgroundTransparency = 0.45 }, 0.2)
local panel, inner = Panel(layer, { 'a', 'b', 'c', 'e' }, { Size = dim2(0, min(440, Library.Viewport().X - 24), 0, 0), Auto = true, AnchorPoint = vec2(0.5, 0.5), Position = dim2(0.5, 0, 0.5, 0) })
panel.ZIndex = 151
panel.AutomaticSize = Enum.AutomaticSize.Y
New('UIListLayout', { Padding = dim(0, 8), SortOrder = Enum.SortOrder.LayoutOrder, Parent = inner })
New('UIPadding', { PaddingTop = dim(0, 12), PaddingBottom = dim(0, 12), PaddingLeft = dim(0, 14), PaddingRight = dim(0, 14), Parent = inner })
local title = New('TextLabel', { Text = settings.Title, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 16), TextSize = 14, TextXAlignment = Enum.TextXAlignment.Left, LayoutOrder = 1, ZIndex = 152, Parent = inner }, { TextColor3 = 'accent' })
New('TextLabel', {
Text = settings.Description, BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextSize = Library.TextSize, TextWrapped = true,
TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top, LayoutOrder = 2, ZIndex = 152, Visible = settings.Description ~= '', Parent = inner,
}, { TextColor3 = 'dim' })
local content = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, LayoutOrder = 3, ZIndex = 152, Parent = inner })
New('UIListLayout', { Padding = dim(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = content })
local footer = New('Frame', { BackgroundTransparency = 1, Size = dim2(1, 0, 0, H(22)), LayoutOrder = 4, ZIndex = 152, Parent = inner })
New('UIListLayout', { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, Padding = dim(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = footer })
local dialog = setmetatable({ Library = Library, Container = content, Elements = {}, Type = 'Dialog', Index = idx, Dismissed = false, Panel = panel, Layer = layer }, Dialog)
function dialog:Dismiss(instant)
if dialog.Dismissed then return end
dialog.Dismissed = true
Library:ClosePopup()
if Library.Dialogs[idx] == dialog then Library.Dialogs[idx] = nil end
for index = #dialog.Elements, 1, -1 do
local element = dialog.Elements[index]
if element and element.Destroy then pcall(element.Destroy, element) end
end
if instant ~= true and Animating() then
Tween(layer, { BackgroundTransparency = 1 }, 0.15)
task.delay(0.16, function() layer:Destroy() end)
else
layer:Destroy()
end
end
local ordered = {}
for name, button in pairs(settings.FooterButtons) do table.insert(ordered, { Name = name, Info = button }) end
table.sort(ordered, function(a, b) return (a.Info.Order or 0) < (b.Info.Order or 0) end)
for index, entry in ipairs(ordered) do
local variantKey = VARIANTS[entry.Info.Variant or 'Ghost'] or 'text'
local text = tostring(entry.Info.Title or entry.Name)
local outer, face = Panel(footer, { variantKey == 'text' and 'a' or 'a', 'c' }, { Size = UDim2.fromOffset(TextWidth(text, Library.TextSize) + 22, H(22)) })
outer.LayoutOrder, outer.ZIndex = index, 153
local button = New('TextButton', { Text = text, AutoButtonColor = false, BackgroundTransparency = 1, Size = dim2(1, 0, 1, 0), TextSize = Library.TextSize, ZIndex = 154, Parent = face })
Library.Registry[button] = { TextColor3 = variantKey }
button.TextColor3 = Palette[variantKey]
Connect(button.MouseEnter, function() Tween(face, { BackgroundColor3 = Palette.g }, 0.1) end)
Connect(button.MouseLeave, function() Tween(face, { BackgroundColor3 = Palette.c }, 0.15) end)
Connect(button.MouseButton1Click, function()
Library:SafeCallback(entry.Info.Callback, dialog)
if settings.AutoDismiss and not dialog.Dismissed then dialog:Dismiss() end
end)
end
Connect(layer.MouseButton1Click, function()
if settings.OutsideClickDismiss and not IsMouseOver(panel) then dialog:Dismiss() end
end)
if Animating() then
panel.Position = dim2(0.5, 0, 0.5, 14)
Tween(panel, { Position = dim2(0.5, 0, 0.5, 0) }, 0.28, Enum.EasingStyle.Quint)
FX.Scramble(title, settings.Title, 0.3)
end
Library.Dialogs[idx] = dialog
return dialog
end
--// draggable label (a small movable text panel) \\--
function Library:AddDraggableLabel(text)
Library:EnsureGui()
-- the hub restyles `.Label` (TextSize, AnchorPoint, Position) and expects it to float on the screen by itself, as Obsidian's did
local label = New('TextLabel', {
Name = 'DraggableLabel', Text = tostring(text or ''), BackgroundTransparency = 0.2, AutomaticSize = Enum.AutomaticSize.XY, Size = dim2(0, 0, 0, 0),
AnchorPoint = vec2(0.5, 0), Position = dim2(0.5, 0, 0, 90), TextSize = Library.TextSize + 2, RichText = true, ZIndex = 45, Active = true, Parent = Library.Main,
}, { BackgroundColor3 = 'e' })
New('UIPadding', { PaddingLeft = dim(0, 12), PaddingRight = dim(0, 12), PaddingTop = dim(0, 6), PaddingBottom = dim(0, 7), Parent = label })
New('UIStroke', { Thickness = 1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, Parent = label }, { Color = 'c' })
local layoutId = 'label:' .. (tostring(text or ''):match('%a+') or 'label'):lower()
Library.MakeDraggable(label, label, nil, layoutId)
task.defer(function()
if label.Parent then Library:ApplyLayout(layoutId, label) end
end)
local object = { Frame = label, Label = label, Type = 'DraggableLabel', Visible = true }
function object:SetText(value) label.Text = tostring(value) end
function object:SetVisible(visible)
object.Visible = visible
label.Visible = visible
end
function object:Destroy() label:Destroy() end
return object
end
end
-- ==== 99_end.lua ====
-- like Obsidian, publish the instance (the hub's unload path and external tooling look for getgenv().Library)
pcall(function()
local env = (type(getgenv) == 'function' and getgenv()) or _G
env.Library = Library
end)
-- done: the Library table is the module
return Library
end
-- ======================================================================
-- UI library: config save / load (SaveManager)
-- ======================================================================
__ZkhHub_shared.obsidian_save_manager = function()
local cloneref = (cloneref or clonereference or function(instance) return instance end)
local clonefunction = (clonefunction or copyfunction or function(func) return func end)
local HttpService = cloneref(game:GetService('HttpService'))
local isfolder, isfile, listfiles = isfolder, isfile, listfiles
if typeof(clonefunction) == 'function' then
local isfolder_copy, isfile_copy, listfiles_copy = clonefunction(isfolder), clonefunction(isfile), clonefunction(listfiles)
local isfolder_success, isfolder_error = pcall(
function() return isfolder_copy('test' .. tostring(math.random(1000000, 9999999))) end
)
if isfolder_success == false or typeof(isfolder_error) ~= 'boolean' then
isfolder = function(folder)
local success, data = pcall(isfolder_copy, folder)
return (if success then data else false)
end
isfile = function(file)
local success, data = pcall(isfile_copy, file)
return (if success then data else false)
end
listfiles = function(folder)
local success, data = pcall(listfiles_copy, folder)
return (if success then data else {})
end
end
end
local SaveManager = {
Library = nil,
Folder = 'ObsidianLibSettings',
SubFolder = '',
Ignore = {},
LoadingOrder = {},
UseLoadingOrder = false,
AutoloadConfig = nil,
}
function SaveManager:SetLibrary(Library) SaveManager.Library = Library end
--// Element Parser \\--
local SpecialValueParser = {
UDim2 = {
Encode = function(Value)
return {
X = { Scale = Value.X.Scale, Offset = Value.X.Offset },
Y = { Scale = Value.Y.Scale, Offset = Value.Y.Offset },
}
end,
Decode = function(Data)
local DataType = typeof(Data)
if DataType == 'table' then
return UDim2.new(Data.X.Scale, Data.X.Offset, Data.Y.Scale, Data.Y.Offset)
elseif DataType == 'UDim2' then
return Data
end
return nil
end,
},
}
local ElementParser = {}
do
local function CreateParser(ElementType, LibaryIndex, Save, Load, CustomElementFetcher)
ElementParser[ElementType] = {
Save = function(Index, Element, ...)
local Data = Save(Index, Element, ...)
Data.type = ElementType
Data.idx = Index
return Data
end,
Load = function(Index, Data)
if CustomElementFetcher == true then return Load(nil, Data) end
local Elements = SaveManager.Library and SaveManager.Library[LibaryIndex]
local Element = Elements and Elements[Index]
return Load(Element, Data)
end,
}
end
CreateParser('Toggle', 'Toggles', function(Index, Toggle) return { value = Toggle.Value } end, function(Element, Data)
if not Element then return end
if Element.Value == Data.value then
Element:RunChanged()
return
end
Element:SetValue(Data.value)
end)
CreateParser('Slider', 'Options', function(Index, Slider) return { value = tostring(Slider.Value) } end, function(Element, Data)
if not Element then return end
if Element.Value == Data.value then
Element:RunChanged()
return
end
Element:SetValue(Data.value)
end)
CreateParser(
'Dropdown',
'Options',
function(Index, Dropdown) return { value = Dropdown.Value, multi = Dropdown.Multi } end,
function(Element, Data)
if not Element then return end
if Element.Value == Data.value then
Element:RunChanged()
return
end
Element:SetValue(Data.value)
end
)
CreateParser(
'ColorPicker',
'Options',
function(Index, ColorPicker) return { value = ColorPicker.Value:ToHex(), transparency = ColorPicker.Transparency } end,
function(Element, Data)
if not Element then return end
Element:SetValueRGB(Color3.fromHex(Data.value), Data.transparency)
end
)
CreateParser(
'KeyPicker',
'Options',
function(Index, KeyPicker)
return { mode = KeyPicker.Mode, key = KeyPicker.Value, modifiers = KeyPicker.Modifiers, toggled = KeyPicker.Toggled }
end,
function(Element, Data)
if not Element then return end
Element:SetValue({ Data.key, Data.mode, Data.modifiers })
if Data.mode == 'Toggle' and Data.toggled ~= nil then
Element.Toggled = Data.toggled
Element:Update()
end
end
)
CreateParser('Input', 'Options', function(Index, Input) return { text = Input.Value } end, function(Element, Data)
if not Element then return end
if typeof(Data.text) ~= 'string' then return end
if Element.Value == Data.text then
Element:RunChanged()
return
end
Element:SetValue(Data.text)
end)
CreateParser(
'Groupbox',
'Tabs',
function(Index, Groupbox, TabIndex) return { collapsed = Groupbox.Collapsed, tabIdx = TabIndex } end,
function(_, Data)
local TabIndex, Index = Data.tabIdx, Data.idx
if typeof(TabIndex) ~= 'string' or typeof(Index) ~= 'string' then return end
local Tabs = SaveManager.Library and SaveManager.Library.Tabs
local Tab = Tabs and Tabs[TabIndex]
if not Tab then return end
local Groupbox = Tab.Groupboxes[Index]
if not Groupbox or Groupbox.Collapsed == Data.collapsed then return end
Groupbox:SetCollapsed(Data.collapsed == true)
end,
true
)
end
--// Helpers \\--
local function Trim(Text) return Text:match('^%s*(.-)%s*$') end
local function IsStringEmpty(String) return if typeof(String) == 'string' then Trim(String) == '' else true end
local function IsValidFolderPath(Name)
return typeof(Name) == 'string' and (Trim(Name) ~= '' and not Name:match('^%s*$') and not Name:find('[<>:"|%?%*%z]'))
end
--// Folder helper \\--
local function SplitPath(Path)
local Result = {}
local Current = ''
for Part in string.gmatch(Path, '[^/]+') do
Current = if Current == '' then Part else (Current .. '/' .. Part)
table.insert(Result, Current)
end
return Result
end
local function GetFolderPath()
if IsStringEmpty(SaveManager.Folder) then return false end
return string.format('%s/settings', SaveManager.Folder)
end
local function GetSubFolderPath()
if IsStringEmpty(SaveManager.Folder) or IsStringEmpty(SaveManager.SubFolder) then return false end
return string.format('%s/settings/%s', SaveManager.Folder, SaveManager.SubFolder)
end
local function GetCurrentSettingsPath()
local SubFolderPath = GetSubFolderPath()
return if SubFolderPath == false then GetFolderPath() else SubFolderPath
end
--// Files helper \\--
local function GetConfigPath(ConfigName)
local CurrentSettingsPath = GetCurrentSettingsPath()
return if CurrentSettingsPath == false then false else string.format('%s/%s.json', CurrentSettingsPath, ConfigName)
end
local function DoesConfigExist(ConfigName)
local ConfigPath = GetConfigPath(ConfigName)
return if ConfigPath == false then false else isfile(ConfigPath)
end
local function GetAutoloadPath()
local CurrentSettingsPath = GetCurrentSettingsPath()
return if CurrentSettingsPath == false then false else string.format('%s/autoload.txt', CurrentSettingsPath)
end
--// Indexes \\--
function SaveManager:SetLoadingOrder(Enabled, Order)
SaveManager.UseLoadingOrder = Enabled == true
SaveManager.LoadingOrder = typeof(Order) == 'table' and Order or SaveManager.LoadingOrder
end
function SaveManager:SetIgnoreIndexes(Indexes)
assert(typeof(Indexes) == 'table', 'Expected table, got ' .. typeof(Indexes))
for _, Index in Indexes do
SaveManager.Ignore[Index] = true
end
end
function SaveManager:IgnoreThemeSettings()
SaveManager:SetIgnoreIndexes({
'BackgroundColor',
'MainColor',
'AccentColor',
'OutlineColor',
'FontColor',
'FontFace',
'BackgroundImage',
'ThemeManager_ThemeList',
'ThemeManager_CustomThemeList',
'ThemeManager_CustomThemeName',
})
end
--// Folders \\--
function SaveManager:GetPaths()
local SubFolderPath = GetSubFolderPath()
if SubFolderPath == false then
local FolderPath = GetFolderPath()
return if FolderPath == false then {} else SplitPath(FolderPath)
end
return SplitPath(SubFolderPath)
end
function SaveManager:BuildFolderTree(SkipWhenCreated)
local Paths = SaveManager:GetPaths()
if #Paths == 0 then return false end
if SkipWhenCreated == true then
if isfolder(Paths[1]) then return true end
end
for _, Path in Paths do
if isfolder(Path) then continue end
makefolder(Path)
end
return true
end
function SaveManager:CheckFolderTree() return SaveManager:BuildFolderTree(true) end
function SaveManager:CheckSubFolder(CreateFolder)
local SubFolderPath = GetSubFolderPath()
if SubFolderPath == false then return false end
local FolderExists = isfolder(SubFolderPath)
if not CreateFolder then return FolderExists end
makefolder(SubFolderPath)
return true
end
function SaveManager:SetFolder(Folder)
assert(IsValidFolderPath(Folder), 'Invalid path provided')
SaveManager.Folder = Folder
SaveManager:BuildFolderTree()
end
function SaveManager:SetSubFolder(SubFolder)
assert(IsValidFolderPath(SubFolder), 'Invalid path provided')
SaveManager.SubFolder = SubFolder
SaveManager:BuildFolderTree()
end
--// Config Management \\--
function SaveManager:RefreshConfigList()
local SettingsPath = GetCurrentSettingsPath()
if SettingsPath == false then return {} end
local SuccessList, Files = pcall(listfiles, SettingsPath)
if not (SuccessList and typeof(Files) == 'table') then
SaveManager.Library:Notify(string.format('Failed to load config list: %s', tostring(Files)))
return {}
end
local FileNames = {}
for _, FilePath in Files do
local RawFileName = FilePath:match('(.+)%..+$')
if not RawFileName then continue end
local Position = RawFileName:gsub('\\', '/'):find('/[^/]*$')
local FileName = Position and RawFileName:sub(Position + 1) or RawFileName
if not FileName or FileName == 'autoload' then continue end
table.insert(FileNames, FileName)
end
return FileNames
end
function SaveManager:Save(ConfigName)
if IsStringEmpty(ConfigName) then return false, 'Invalid config name provided' end
if string.lower(ConfigName) == 'autoload' then return false, 'Invalid config name provided' end
local ConfigPath = GetConfigPath(ConfigName)
if ConfigPath == false then return false, 'Invalid config name provided' end
SaveManager:CheckFolderTree()
local Library = SaveManager.Library
local IgnoreIndexes = SaveManager.Ignore
local CurrentData = {
timestamp = os.date('%d.%m.%Y %H:%M:%S'),
name = ConfigName,
objects = {},
keybindMenu = if Library.KeybindFrame
then {
visible = Library.KeybindFrame.Visible,
position = SpecialValueParser.UDim2.Encode(Library.KeybindFrame.Position),
}
else nil,
}
--// Toggles
for Index, Toggle in Library.Toggles do
if not Toggle.Type then continue end
if IgnoreIndexes[Index] then continue end
local Parser = ElementParser[Toggle.Type]
if not Parser then continue end
table.insert(CurrentData.objects, Parser.Save(Index, Toggle))
end
--// Options
for Index, Option in Library.Options do
if not Option.Type then continue end
if IgnoreIndexes[Index] then continue end
local Parser = ElementParser[Option.Type]
if not Parser then continue end
table.insert(CurrentData.objects, Parser.Save(Index, Option))
end
--// Groupboxes
for TabIndex, Tab in Library.Tabs do
if not Tab.Groupboxes then continue end
for Index, Groupbox in Tab.Groupboxes do
if IgnoreIndexes[Index] then continue end
local Parser = ElementParser.Groupbox
if not Parser then continue end
table.insert(CurrentData.objects, Parser.Save(Index, Groupbox, TabIndex))
end
end
local SuccessEncode, EncodedData = pcall(HttpService.JSONEncode, HttpService, CurrentData)
if not SuccessEncode then return false, 'Failed to encode data' end
local SuccessWrite, ErrorMessage = pcall(writefile, ConfigPath, EncodedData)
if not SuccessWrite then return false, 'Failed to write config file: ' .. tostring(ErrorMessage) end
return true
end
function SaveManager:Load(ConfigName)
if IsStringEmpty(ConfigName) then return false, 'No config is selected' end
local ConfigPath = GetConfigPath(ConfigName)
if ConfigPath == false or not isfile(ConfigPath) then return false, 'Config file does not exist' end
local SuccessRead, Content = pcall(readfile, ConfigPath)
if not SuccessRead then return false, 'Failed to read config file' end
local SuccessDecode, Decoded = pcall(HttpService.JSONDecode, HttpService, Content)
if not SuccessDecode or typeof(Decoded) ~= 'table' or typeof(Decoded.objects) ~= 'table' then
return false, 'Failed to decode config data'
end
local Library = SaveManager.Library
local LoadingOrder = SaveManager.LoadingOrder
local IgnoreIndexes = SaveManager.Ignore
if SaveManager.UseLoadingOrder == true and typeof(LoadingOrder) == 'table' then
table.sort(Decoded.objects, function(a, b)
local aIndex = table.find(LoadingOrder, a.type) or math.huge
local bIndex = table.find(LoadingOrder, b.type) or math.huge
return aIndex < bIndex
end)
end
--// Keybind Menu
if Library.KeybindFrame and typeof(Decoded.keybindMenu) == 'table' then
local KeybindFrameData = Decoded.keybindMenu
local IsVisible = KeybindFrameData.visible == true
local Position = SpecialValueParser.UDim2.Decode(KeybindFrameData.position)
Library.KeybindFrame.Visible = IsVisible
-- (ZkxVader build) the keybind panel position is remembered by the library, not by configs
local KeybindMenuToggle = Library.Options and Library.Options.KeybindMenuOpen
if KeybindMenuToggle then KeybindMenuToggle:SetValue(IsVisible) end
end
--// Elements
for _, Option in Decoded.objects do
if not Option.type then continue end
if IgnoreIndexes[Option.idx] then continue end
local Parser = ElementParser[Option.type]
if not Parser then continue end
task.defer(Parser.Load, Option.idx, Option)
end
return true
end
function SaveManager:Delete(ConfigName)
if IsStringEmpty(ConfigName) then return false, 'No config is selected' end
local ConfigPath = GetConfigPath(ConfigName)
if ConfigPath == false or not isfile(ConfigPath) then return false, 'Config file does not exist' end
local SuccessDelete, ErrorMessage = pcall(delfile, ConfigPath)
if not SuccessDelete then return false, 'Failed to delete config file: ' .. tostring(ErrorMessage) end
if ConfigName == SaveManager.AutoloadConfig then SaveManager:DeleteAutoLoadConfig() end
return true
end
--// Auto Load Config \\--
function SaveManager:GetAutoloadConfig()
SaveManager:CheckFolderTree()
local AutoloadPath = GetAutoloadPath()
if AutoloadPath == false then return 'none', false, 'Invalid path provided' end
if not isfile(AutoloadPath) then return 'none', false, 'Autoload config is not set' end
local SuccessRead, AutoloadConfigName = pcall(readfile, AutoloadPath)
if not (SuccessRead and typeof(AutoloadConfigName) == 'string') then return 'none', false, AutoloadConfigName end
local ConfigExists = DoesConfigExist(AutoloadConfigName)
if not ConfigExists then return 'none', false, 'Config file not found' end
SaveManager.AutoloadConfig = AutoloadConfigName
return AutoloadConfigName, true
end
function SaveManager:SaveAutoloadConfig(ConfigName)
if IsStringEmpty(ConfigName) then return false, 'No config is selected' end
SaveManager:CheckFolderTree()
local AutoloadPath = GetAutoloadPath()
if AutoloadPath == false then return false, 'Invalid path provided' end
if not DoesConfigExist(ConfigName) then return false, 'Config does not exist' end
local SuccessWrite, ErrorMessage = pcall(writefile, AutoloadPath, ConfigName)
if not SuccessWrite then return false, ErrorMessage end
SaveManager.AutoloadConfig = ConfigName
return true
end
function SaveManager:LoadAutoloadConfig()
local ConfigName, Success, FetchErrorMessage = SaveManager:GetAutoloadConfig()
if not Success or FetchErrorMessage then
if FetchErrorMessage ~= 'Autoload config is not set' then
SaveManager.Library:Notify(string.format('Failed to load autoload config: %s', FetchErrorMessage))
end
return
end
local SuccessLoad, LoadErrorMessage = SaveManager:Load(ConfigName)
if not SuccessLoad then
SaveManager.Library:Notify(string.format('Failed to load autoload config: %s', LoadErrorMessage))
return
end
end
function SaveManager:DeleteAutoLoadConfig()
SaveManager:CheckFolderTree()
local AutoloadPath = GetAutoloadPath()
if AutoloadPath == false then return false, 'Invalid path provided' end
if not isfile(AutoloadPath) then return false, 'Autoload config is not set' end
local SuccessDelete, ErrorMessage = pcall(delfile, AutoloadPath)
if not SuccessDelete then return false, ErrorMessage end
SaveManager.AutoloadConfig = nil
return true
end
--// GUI \\--
local function ShowDialog(Condition, Index, Title, Description, DestructiveText, DestructiveAction)
if Condition() == false then return DestructiveAction() end
return SaveManager.Library.Window:AddDialog(Index, {
Title = Title,
Description = Description,
AutoDismiss = false,
FooterButtons = {
Cancel = {
Title = 'Cancel',
Variant = 'Ghost',
Order = 1,
Callback = function(Dialog) Dialog:Dismiss() end,
},
DestructiveAction = {
Title = DestructiveText,
Variant = 'Destructive',
Order = 2,
Callback = function(Dialog)
Dialog:Dismiss()
DestructiveAction()
end,
},
},
})
end
function SaveManager:BuildConfigSection(Tab, IconName)
assert(SaveManager.Library, 'Library is not set, call SaveManager:SetLibrary(Library) first.')
local ConfigurationBox = Tab:AddRightGroupbox('Configuration', IconName or 'folder-cog')
local ConfigNameInput, ConfigList, AutoloadConfigLabel
local function RefreshList()
ConfigList:SetValues(SaveManager:RefreshConfigList())
ConfigList:SetValue(nil)
end
local function RefreshAutoloadConfigLabel()
local AutoloadConfigName, _Success, _ErrorMessage = SaveManager:GetAutoloadConfig()
AutoloadConfigLabel:SetText(string.format('Current autoload config: %s', AutoloadConfigName))
if ConfigList then RefreshList() end
end
--// Create
ConfigurationBox:AddInput('SaveManager_ConfigName', {
Text = 'Config name',
})
ConfigurationBox:AddButton('Create config', function()
local ConfigName = ConfigNameInput.Value
if IsStringEmpty(ConfigName) then
SaveManager.Library:Notify('Configuration name cannot be empty.')
return
end
if string.lower(ConfigName) == 'autoload' then
SaveManager.Library:Notify('Invalid config name provided.')
return
end
ShowDialog(
function() return DoesConfigExist(ConfigName) end,
'SaveManager_CreateConfig',
'Config already exists',
string.format('A config named %q already exists. Overwriting will replace it with your current settings.', ConfigName),
'Overwrite',
function()
local Success, ErrorMessage = SaveManager:Save(ConfigName)
if not Success then
SaveManager.Library:Notify(string.format('Failed to create config %q: %s', ConfigName, ErrorMessage))
return
end
SaveManager.Library:Notify(string.format('Successfully created config %q', ConfigName))
RefreshList()
end
)
end)
ConfigurationBox:AddDivider()
--// Manage
ConfigurationBox:AddDropdown('SaveManager_ConfigList', {
Text = 'Config list',
Values = SaveManager:RefreshConfigList(),
AllowNull = true,
Multi = false,
FormatDisplayValue = function(Value)
if Value == SaveManager.AutoloadConfig then return string.format('%s (autoload)', Value) end
return Value
end,
FormatListValue = function(Value)
if Value == SaveManager.AutoloadConfig then return string.format('%s (autoload)', Value) end
return Value
end,
})
ConfigurationBox:AddButton({
Text = 'Load config',
DoubleClick = false,
Func = function()
local ConfigName = ConfigList.Value
if IsStringEmpty(ConfigName) then
SaveManager.Library:Notify('Please select a config first.')
return
end
local Success, ErrorMessage = SaveManager:Load(ConfigName)
if not Success then
SaveManager.Library:Notify(string.format('Failed to load config %q: %s', ConfigName, ErrorMessage))
return
end
SaveManager.Library:Notify(string.format('Successfully loaded config %q', ConfigName))
end,
})
ConfigurationBox:AddButton({
Text = 'Overwrite config',
DoubleClick = false,
Func = function()
local ConfigName = ConfigList.Value
if IsStringEmpty(ConfigName) then
SaveManager.Library:Notify('Please select a config first.')
return
end
ShowDialog(
function()
return true
--// Always show
end,
'SaveManager_OverwriteConfig',
'Overwrite config',
string.format(
'Are you sure you want to overwrite %q with your current settings? This cannot be undone.',
ConfigName
),
'Overwrite',
function()
local Success, ErrorMessage = SaveManager:Save(ConfigName)
if not Success then
SaveManager.Library:Notify(string.format('Failed to overwrite config %q: %s', ConfigName, ErrorMessage))
return
end
SaveManager.Library:Notify(string.format('Successfully overwrote config %q', ConfigName))
end
)
end,
})
ConfigurationBox:AddButton({
Text = 'Delete config',
DoubleClick = false,
Func = function()
local ConfigName = ConfigList.Value
if IsStringEmpty(ConfigName) then
SaveManager.Library:Notify('Please select a config first.')
return
end
ShowDialog(
function()
return true
--// Always show
end,
'SaveManager_DeleteConfig',
'Delete config',
string.format('Are you sure you want to delete %q? This cannot be undone.', ConfigName),
'Delete',
function()
local Success, ErrorMessage = SaveManager:Delete(ConfigName)
if not Success then
SaveManager.Library:Notify(string.format('Failed to delete config %q: %s', ConfigName, ErrorMessage))
return
end
SaveManager.Library:Notify(string.format('Successfully deleted config %q', ConfigName))
RefreshAutoloadConfigLabel()
end
)
end,
})
ConfigurationBox:AddButton('Refresh list', RefreshList)
--// Autoload Config
ConfigurationBox:AddButton({
Text = 'Set as autoload',
DoubleClick = false,
Func = function()
local ConfigName = ConfigList.Value
if IsStringEmpty(ConfigName) then
SaveManager.Library:Notify('Please select a config first.')
return
end
local Success, ErrorMessage = SaveManager:SaveAutoloadConfig(ConfigName)
if not Success then
SaveManager.Library:Notify(string.format('Failed to set autoload config %q: %s', ConfigName, ErrorMessage))
return
end
SaveManager.Library:Notify(string.format('Successfully set autoload config to %q', ConfigName))
RefreshAutoloadConfigLabel()
end,
})
ConfigurationBox:AddButton({
Text = 'Reset autoload',
DoubleClick = false,
Func = function()
ShowDialog(
function()
return true
--// Always show
end,
'SaveManager_ResetAutoload',
'Reset autoload config',
'Are you sure you want to clear the autoload config? No config will be loaded automatically on next launch.',
'Reset',
function()
local Success, ErrorMessage = SaveManager:DeleteAutoLoadConfig()
if not Success then
SaveManager.Library:Notify(string.format('Failed to reset autoload config: %s', ErrorMessage))
return
end
SaveManager.Library:Notify('Successfully reset autoload config.')
RefreshAutoloadConfigLabel()
end
)
end,
})
AutoloadConfigLabel = ConfigurationBox:AddLabel('Current autoload config: ...', true)
--// Set variables
ConfigNameInput, ConfigList =
SaveManager.Library.Options.SaveManager_ConfigName, SaveManager.Library.Options.SaveManager_ConfigList
--// Refresh
RefreshAutoloadConfigLabel()
SaveManager:SetIgnoreIndexes({ 'SaveManager_ConfigList', 'SaveManager_ConfigName' })
return ConfigurationBox
end
SaveManager:BuildFolderTree()
return SaveManager
end
-- ======================================================================
-- UI library: themes (ThemeManager)
-- ======================================================================
__ZkhHub_shared.obsidian_theme_manager = function()
local cloneref = (cloneref or clonereference or function(instance) return instance end)
local clonefunction = (clonefunction or copyfunction or function(func) return func end)
local HttpService = cloneref(game:GetService('HttpService'))
local isfolder, isfile, listfiles = isfolder, isfile, listfiles
if typeof(clonefunction) == 'function' then
local isfolder_copy, isfile_copy, listfiles_copy = clonefunction(isfolder), clonefunction(isfile), clonefunction(listfiles)
local isfolder_success, isfolder_error = pcall(
function() return isfolder_copy('test' .. tostring(math.random(1000000, 9999999))) end
)
if isfolder_success == false or typeof(isfolder_error) ~= 'boolean' then
isfolder = function(folder)
local success, data = pcall(isfolder_copy, folder)
return (if success then data else false)
end
isfile = function(file)
local success, data = pcall(isfile_copy, file)
return (if success then data else false)
end
listfiles = function(folder)
local success, data = pcall(listfiles_copy, folder)
return (if success then data else {})
end
end
end
local SchemeIndexes = { 'FontColor', 'MainColor', 'AccentColor', 'BackgroundColor', 'OutlineColor' }
local ThemeManager = {
Library = nil,
Folder = 'ObsidianLibSettings',
AppliedToTab = false,
DefaultThemeName = nil,
BuiltInThemes = {
['Default'] = {
1,
{
FontColor = 'ffffff',
MainColor = '2e2e2e',
AccentColor = '7d55ff',
BackgroundColor = '151515',
OutlineColor = '383838',
BackgroundImage = '',
},
},
['BBot'] = {
2,
{
FontColor = 'ffffff',
MainColor = '1e1e1e',
AccentColor = '7e48a3',
BackgroundColor = '232323',
OutlineColor = '141414',
BackgroundImage = '',
},
},
['Fatality'] = {
3,
{
FontColor = 'ffffff',
MainColor = '1e1842',
AccentColor = 'c50754',
BackgroundColor = '191335',
OutlineColor = '3c355d',
BackgroundImage = '',
},
},
['Jester'] = {
4,
{
FontColor = 'ffffff',
MainColor = '242424',
AccentColor = 'db4467',
BackgroundColor = '1c1c1c',
OutlineColor = '373737',
BackgroundImage = '',
},
},
['Mint'] = {
5,
{
FontColor = 'ffffff',
MainColor = '242424',
AccentColor = '3db488',
BackgroundColor = '1c1c1c',
OutlineColor = '373737',
BackgroundImage = '',
},
},
['Tokyo Night'] = {
6,
{
FontColor = 'ffffff',
MainColor = '191925',
AccentColor = '6759b3',
BackgroundColor = '16161f',
OutlineColor = '323232',
BackgroundImage = '',
},
},
['Ubuntu'] = {
7,
{
FontColor = 'ffffff',
MainColor = '3e3e3e',
AccentColor = 'e2581e',
BackgroundColor = '323232',
OutlineColor = '191919',
BackgroundImage = '',
},
},
['Quartz'] = {
8,
{
FontColor = 'ffffff',
MainColor = '232330',
AccentColor = '426e87',
BackgroundColor = '1d1b26',
OutlineColor = '27232f',
BackgroundImage = '',
},
},
['Nord'] = {
9,
{
FontColor = 'eceff4',
MainColor = '3b4252',
AccentColor = '88c0d0',
BackgroundColor = '2e3440',
OutlineColor = '4c566a',
BackgroundImage = '',
},
},
['Dracula'] = {
10,
{
FontColor = 'f8f8f2',
MainColor = '44475a',
AccentColor = 'ff79c6',
BackgroundColor = '282a36',
OutlineColor = '6272a4',
BackgroundImage = '',
},
},
['Monokai'] = {
11,
{
FontColor = 'f8f8f2',
MainColor = '272822',
AccentColor = 'f92672',
BackgroundColor = '1e1f1c',
OutlineColor = '49483e',
BackgroundImage = '',
},
},
['Gruvbox'] = {
12,
{
FontColor = 'ebdbb2',
MainColor = '3c3836',
AccentColor = 'fb4934',
BackgroundColor = '282828',
OutlineColor = '504945',
BackgroundImage = '',
},
},
['Solarized'] = {
13,
{
FontColor = '839496',
MainColor = '073642',
AccentColor = 'cb4b16',
BackgroundColor = '002b36',
OutlineColor = '586e75',
BackgroundImage = '',
},
},
['Catppuccin'] = {
14,
{
FontColor = 'd9e0ee',
MainColor = '302d41',
AccentColor = 'f5c2e7',
BackgroundColor = '1e1e2e',
OutlineColor = '575268',
BackgroundImage = '',
},
},
['One Dark'] = {
15,
{
FontColor = 'abb2bf',
MainColor = '282c34',
AccentColor = 'c678dd',
BackgroundColor = '21252b',
OutlineColor = '5c6370',
BackgroundImage = '',
},
},
['Cyberpunk'] = {
16,
{
FontColor = 'f9f9f9',
MainColor = '262335',
AccentColor = '00ff9f',
BackgroundColor = '1a1a2e',
OutlineColor = '413c5e',
BackgroundImage = '',
},
},
['Oceanic Next'] = {
17,
{
FontColor = 'd8dee9',
MainColor = '1b2b34',
AccentColor = '6699cc',
BackgroundColor = '16232a',
OutlineColor = '343d46',
BackgroundImage = '',
},
},
['Material'] = {
18,
{
FontColor = 'eeffff',
MainColor = '212121',
AccentColor = '82aaff',
BackgroundColor = '151515',
OutlineColor = '424242',
BackgroundImage = '',
},
},
},
}
function ThemeManager:SetLibrary(Library) ThemeManager.Library = Library end
--// Helpers \\--
local function Trim(Text) return Text:match('^%s*(.-)%s*$') end
local function IsStringEmpty(String) return if typeof(String) == 'string' then Trim(String) == '' else true end
local function IsValidFolderPath(Name)
return typeof(Name) == 'string' and (Trim(Name) ~= '' and not Name:match('^%s*$') and not Name:find('[<>:"|%?%*%z]'))
end
--// Folder helper \\--
local function SplitPath(Path)
local Result = {}
local Current = ''
for Part in string.gmatch(Path, '[^/]+') do
Current = if Current == '' then Part else (Current .. '/' .. Part)
table.insert(Result, Current)
end
return Result
end
local function GetFolderPath()
if IsStringEmpty(ThemeManager.Folder) then return false end
return string.format('%s/themes', ThemeManager.Folder)
end
local GetCurrentThemesPath = GetFolderPath
--// Files helper \\--
local function GetThemePath(ThemeName)
local CurrentThemesPath = GetCurrentThemesPath()
return if CurrentThemesPath == false then false else string.format('%s/%s.json', CurrentThemesPath, ThemeName)
end
local function DoesThemeExist(ThemeName, IncludeBuiltIn)
if ThemeManager.BuiltInThemes[ThemeName] then return true end
local ThemePath = GetThemePath(ThemeName)
return if ThemePath == false then false else isfile(ThemePath)
end
local function GetDefaultThemePath()
local CurrentThemesPath = GetCurrentThemesPath()
return if CurrentThemesPath == false then false else string.format('%s/default.txt', CurrentThemesPath)
end
--// Folders \\--
function ThemeManager:GetPaths()
local FolderPath = GetFolderPath()
return if FolderPath == false then {} else SplitPath(FolderPath)
end
function ThemeManager:BuildFolderTree(SkipWhenCreated)
local Paths = ThemeManager:GetPaths()
if #Paths == 0 then return false end
if SkipWhenCreated == true then
if isfolder(Paths[1]) then return true end
end
for _, Path in Paths do
if isfolder(Path) then continue end
makefolder(Path)
end
return true
end
function ThemeManager:CheckFolderTree() return ThemeManager:BuildFolderTree(true) end
function ThemeManager:SetFolder(Folder)
assert(IsValidFolderPath(Folder), 'Invalid path provided')
ThemeManager.Folder = Folder
ThemeManager:BuildFolderTree()
end
--// Theme Management \\--
function ThemeManager:ReloadCustomThemes()
local SettingsPath = GetCurrentThemesPath()
if SettingsPath == false then return {} end
local SuccessList, Files = pcall(listfiles, SettingsPath)
if not (SuccessList and typeof(Files) == 'table') then
ThemeManager.Library:Notify(string.format('Failed to load theme list: %s', tostring(Files)))
return {}
end
local FileNames = {}
for _, FilePath in Files do
local RawFileName = FilePath:match('(.+)%..+$')
if not RawFileName then continue end
local Position = RawFileName:gsub('\\', '/'):find('/[^/]*$')
local FileName = Position and RawFileName:sub(Position + 1) or RawFileName
if not FileName or FileName == 'default' then continue end
table.insert(FileNames, FileName)
end
return FileNames
end
function ThemeManager:GetCustomTheme(ThemeName)
if IsStringEmpty(ThemeName) then return nil end
local ThemePath = GetThemePath(ThemeName)
if ThemePath == false or not isfile(ThemePath) then return nil end
local SuccessRead, Content = pcall(readfile, ThemePath)
if not SuccessRead then return nil end
local SuccessDecode, Decoded = pcall(HttpService.JSONDecode, HttpService, Content)
if not SuccessDecode or typeof(Decoded) ~= 'table' then return nil end
return Decoded
end
function ThemeManager:SaveCustomTheme(ThemeName)
if IsStringEmpty(ThemeName) then return false, 'Invalid theme name provided' end
if string.lower(ThemeName) == 'default' then return false, 'Invalid theme name provided' end
local ThemePath = GetThemePath(ThemeName)
if ThemePath == false then return false, 'Invalid theme name provided' end
ThemeManager:CheckFolderTree()
local Library = ThemeManager.Library
local ThemeData = {
FontFace = Library.Options.FontFace.Value,
BackgroundImage = Library.Options.BackgroundImage.Value,
}
for _, SchemeIndex in SchemeIndexes do
ThemeData[SchemeIndex] = Library.Options[SchemeIndex].Value:ToHex()
end
local SuccessEncode, EncodedData = pcall(HttpService.JSONEncode, HttpService, ThemeData)
if not SuccessEncode then return false, 'Failed to encode data' end
local SuccessWrite, ErrorMessage = pcall(writefile, ThemePath, EncodedData)
if not SuccessWrite then return false, 'Failed to write theme file: ' .. tostring(ErrorMessage) end
return true
end
function ThemeManager:Delete(ThemeName)
if IsStringEmpty(ThemeName) then return false, 'No theme is selected' end
local ThemePath = GetThemePath(ThemeName)
if ThemePath == false or not isfile(ThemePath) then return false, 'Theme file does not exist' end
local SuccessDelete, ErrorMessage = pcall(delfile, ThemePath)
if not SuccessDelete then return false, 'Failed to delete theme file: ' .. tostring(ErrorMessage) end
if ThemeName == ThemeManager.DefaultThemeName then ThemeManager:DeleteDefaultTheme() end
return true
end
--// Default Theme \\--
function ThemeManager:GetDefaultTheme()
ThemeManager:CheckFolderTree()
local DefaultThemePath = GetDefaultThemePath()
if DefaultThemePath == false then return 'none', false, 'Invalid path provided' end
if not isfile(DefaultThemePath) then return 'none', false, 'Default theme is not set' end
local SuccessRead, DefaultThemeName = pcall(readfile, DefaultThemePath)
if not (SuccessRead and typeof(DefaultThemeName) == 'string') then return 'none', false, DefaultThemeName end
local ConfigExists = DoesThemeExist(DefaultThemeName, true)
if not ConfigExists then return 'none', false, 'Theme file not found' end
ThemeManager.DefaultThemeName = DefaultThemeName
return DefaultThemeName, true
end
function ThemeManager:SetDefaultTheme(Theme)
assert(ThemeManager.Library, 'Library is not set, call ThemeManager:SetLibrary(Library) first.')
assert(not ThemeManager.AppliedToTab, 'Cannot set default theme after applying ThemeManager to a tab!')
local Library = ThemeManager.Library
local DefaultThemeData = ThemeManager.BuiltInThemes['Default'][2]
local LibraryScheme = {}
local FinalTheme = {}
for _, SchemeIndex in SchemeIndexes do
local IndexData = Theme[SchemeIndex]
local IndexType = typeof(IndexData)
if IndexType == 'Color3' then
LibraryScheme[SchemeIndex] = IndexData
FinalTheme[SchemeIndex] = string.format('#%s', IndexData:ToHex())
elseif IndexType == 'string' then
LibraryScheme[SchemeIndex] = Color3.fromHex(IndexData)
FinalTheme[SchemeIndex] = if IndexData:sub(1, 1) == '#' then IndexData else string.format('#%s', IndexData)
else
local Value = DefaultThemeData[SchemeIndex]
LibraryScheme[SchemeIndex] = Color3.fromHex(Value)
FinalTheme[SchemeIndex] = Value
end
end
--// Font
local FontFace = Theme['FontFace']
local FontFaceType = typeof(FontFace)
if FontFaceType == 'EnumItem' then
LibraryScheme.Font = Font.fromEnum(FontFace)
FinalTheme.FontFace = FontFace.Name
elseif FontFaceType == 'string' then
LibraryScheme.Font = Font.fromEnum(Enum.Font[FontFace])
FinalTheme.FontFace = FontFace
else
LibraryScheme.Font = Font.fromEnum(Enum.Font.Code)
FinalTheme.FontFace = 'Code'
end
--// Default Scheme Colors
for _, DefaultSchemeColor in { 'RedColor', 'DestructiveColor', 'DarkColor', 'WhiteColor' } do
LibraryScheme[DefaultSchemeColor] = Library.Scheme[DefaultSchemeColor]
end
--// Apply
Library.Scheme = LibraryScheme
ThemeManager.BuiltInThemes['Default'] = { 1, FinalTheme }
Library:UpdateColorsUsingRegistry()
end
function ThemeManager:SaveDefault(ThemeName)
if IsStringEmpty(ThemeName) then return false, 'No theme is selected' end
ThemeManager:CheckFolderTree()
local DefaultThemePath = GetDefaultThemePath()
if DefaultThemePath == false then return false, 'Invalid path provided' end
if not DoesThemeExist(ThemeName, true) then return false, 'Theme does not exist' end
local SuccessWrite, ErrorMessage = pcall(writefile, DefaultThemePath, ThemeName)
if not SuccessWrite then return false, ErrorMessage end
ThemeManager.DefaultThemeName = ThemeName
return true
end
function ThemeManager:LoadDefault()
local ThemeName, Success, FetchErrorMessage = ThemeManager:GetDefaultTheme()
if not Success or FetchErrorMessage then
if FetchErrorMessage ~= 'Default theme is not set' then
ThemeManager.Library:Notify(string.format('Failed to apply default theme: %s', FetchErrorMessage))
end
return
end
if not ThemeManager:GetCustomTheme(ThemeName) then
ThemeManager.Library.Options.ThemeManager_ThemeList:SetValue(ThemeName)
return
end
local SuccessLoad, LoadErrorMessage = ThemeManager:ApplyTheme(ThemeName)
if not SuccessLoad then
ThemeManager.Library:Notify(string.format('Failed to apply default theme: %s', LoadErrorMessage))
return
end
ThemeManager.Library:Notify(string.format('Successfully applied default theme %q', ThemeName))
end
function ThemeManager:DeleteDefaultTheme()
ThemeManager:CheckFolderTree()
local DefaultThemePath = GetDefaultThemePath()
if DefaultThemePath == false then return false, 'Invalid path provided' end
if not isfile(DefaultThemePath) then return false, 'Default theme is not set' end
local SuccessDelete, ErrorMessage = pcall(delfile, DefaultThemePath)
if not SuccessDelete then return false, ErrorMessage end
ThemeManager.DefaultThemeName = nil
return true
end
--// Apply Theme \\--
function ThemeManager:ThemeUpdate()
local Library = ThemeManager.Library
for _, SchemeIndex in SchemeIndexes do
local Element = Library.Options[SchemeIndex]
if not Element then continue end
Library.Scheme[SchemeIndex] = Element.Value
end
Library:UpdateColorsUsingRegistry()
end
function ThemeManager:ApplyTheme(ThemeName)
if IsStringEmpty(ThemeName) then return false, 'No theme is selected' end
local CustomThemeData = ThemeManager:GetCustomTheme(ThemeName)
local Data = CustomThemeData or ThemeManager.BuiltInThemes[ThemeName]
if not Data then return false, 'Theme not found' end
local Library = ThemeManager.Library
local SchemeData = Data[2]
local ThemeData = CustomThemeData or SchemeData
for Index, Value in ThemeData do
if Index == 'VideoLink' then continue end
local Element = Library.Options[Index]
local FinalValue = Value
if Index == 'FontFace' then
ThemeManager.Library:SetFont(Enum.Font[FinalValue])
elseif Index == 'BackgroundImage' then
ThemeManager.Library:SetBackgroundImage(FinalValue)
else
FinalValue = Color3.fromHex(Value)
Library.Scheme[Index] = FinalValue
end
if Element then Element:SetValue(FinalValue) end
end
ThemeManager:ThemeUpdate()
return true
end
--// GUI \\--
local function ShowDialog(Condition, Index, Title, Description, DestructiveText, DestructiveAction)
if Condition() == false then return DestructiveAction() end
return ThemeManager.Library.Window:AddDialog(Index, {
Title = Title,
Description = Description,
AutoDismiss = false,
FooterButtons = {
Cancel = {
Title = 'Cancel',
Variant = 'Ghost',
Order = 1,
Callback = function(Dialog) Dialog:Dismiss() end,
},
DestructiveAction = {
Title = DestructiveText,
Variant = 'Destructive',
Order = 2,
Callback = function(Dialog)
Dialog:Dismiss()
DestructiveAction()
end,
},
},
})
end
function ThemeManager:CreateThemeManager(Themesbox)
assert(ThemeManager.Library, 'Library is not set, call ThemeManager:SetLibrary(Library) first.')
local BuiltInThemesNames = {}
for Name, _ThemeData in ThemeManager.BuiltInThemes do
table.insert(BuiltInThemesNames, Name)
end
local CustomThemeList, CustomThemeName, ThemeList, FontFace, BackgroundImage, DefaultThemeLabel
local function RefreshList()
CustomThemeList:SetValues(ThemeManager:ReloadCustomThemes())
CustomThemeList:SetValue(nil)
ThemeList:SetValues(BuiltInThemesNames)
end
local function RefreshDefaultThemeLabel()
local DefaultThemeName, _Success, _ErrorMessage = ThemeManager:GetDefaultTheme()
DefaultThemeLabel:SetText(string.format('Current default theme: %s', DefaultThemeName))
if CustomThemeList then RefreshList() end
end
table.sort(
BuiltInThemesNames,
function(IndexA, IndexB) return ThemeManager.BuiltInThemes[IndexA][1] < ThemeManager.BuiltInThemes[IndexB][1] end
)
local function CreateColorOption(Text, SchemeIndex)
Themesbox:AddLabel(Text):AddColorPicker(SchemeIndex, {
Default = ThemeManager.Library.Scheme[SchemeIndex],
})
return ThemeManager.Library.Options[SchemeIndex]
end
local BackgroundColor = CreateColorOption('Background color', 'BackgroundColor')
local MainColor = CreateColorOption('Main color', 'MainColor')
local AccentColor = CreateColorOption('Accent color', 'AccentColor')
local OutlineColor = CreateColorOption('Outline color', 'OutlineColor')
local FontColor = CreateColorOption('Font color', 'FontColor')
Themesbox:AddDropdown('FontFace', {
Text = 'Font Face',
Default = 'Code',
Values = { 'BuilderSans', 'Code', 'Fantasy', 'Gotham', 'Jura', 'Roboto', 'RobotoMono', 'SourceSans' },
AllowNull = false,
Multi = false,
})
Themesbox:AddInput('BackgroundImage', {
Text = 'Background Image',
Default = '',
Finished = true,
ClearTextOnFocus = false,
ClearTextOnBlur = false,
})
Themesbox:AddDivider()
Themesbox:AddDropdown('ThemeManager_ThemeList', {
Text = 'Theme list',
Values = BuiltInThemesNames,
AllowNull = true,
Multi = false,
FormatDisplayValue = function(Value)
if Value ~= 'Default' and Value == ThemeManager.DefaultThemeName then return string.format('%s (default)', Value) end
return Value
end,
FormatListValue = function(Value)
if Value ~= 'Default' and Value == ThemeManager.DefaultThemeName then return string.format('%s (default)', Value) end
return Value
end,
})
Themesbox:AddButton('Set as default', function()
local ThemeName = ThemeList.Value
ThemeManager:SaveDefault(ThemeName)
ThemeManager.Library:Notify(string.format('Successfully set default theme to %q', ThemeName))
RefreshDefaultThemeLabel()
end)
Themesbox:AddDivider()
CustomThemeName = Themesbox:AddInput('ThemeManager_CustomThemeName', {
Text = 'Custom theme name',
})
Themesbox:AddButton('Create theme', function()
local Name = CustomThemeName.Value
if IsStringEmpty(Name) then
ThemeManager.Library:Notify('Theme name cannot be empty.')
return
end
if string.lower(Name) == 'default' then
ThemeManager.Library:Notify('Invalid theme name provided.')
return
end
ShowDialog(
function() return ThemeManager:GetCustomTheme(Name) ~= nil end,
'ThemeManager_CreateTheme',
'Theme already exists',
string.format('A custom theme named %q already exists. Overwriting it will replace it with your current colors.', Name),
'Overwrite',
function()
local Success, ErrorMessage = ThemeManager:SaveCustomTheme(Name)
if not Success then
ThemeManager.Library:Notify(string.format('Failed to create theme %q: %s', Name, ErrorMessage))
return
end
ThemeManager.Library:Notify(string.format('Successfully created theme %q', Name))
RefreshList()
end
)
end)
Themesbox:AddDivider()
CustomThemeList = Themesbox:AddDropdown('ThemeManager_CustomThemeList', {
Text = 'Custom themes',
Values = ThemeManager:ReloadCustomThemes(),
AllowNull = true,
Multi = false,
FormatDisplayValue = function(Value)
if Value == ThemeManager.DefaultThemeName then return string.format('%s (default)', Value) end
return Value
end,
FormatListValue = function(Value)
if Value == ThemeManager.DefaultThemeName then return string.format('%s (default)', Value) end
return Value
end,
})
Themesbox:AddButton('Load theme', function()
local Name = CustomThemeList.Value
if IsStringEmpty(Name) then
ThemeManager.Library:Notify('Please select a theme first.')
return
end
ThemeManager:ApplyTheme(Name)
ThemeManager.Library:Notify(string.format('Successfully loaded theme %q', Name))
end)
Themesbox:AddButton('Overwrite theme', function()
local Name = CustomThemeList.Value
if IsStringEmpty(Name) then
ThemeManager.Library:Notify('Please select a theme first.')
return
end
ShowDialog(
function() return true end,
'ThemeManager_OverwriteTheme',
'Overwrite theme',
string.format('Are you sure you want to overwrite %q with your current colors? This cannot be undone.', Name),
'Overwrite',
function()
ThemeManager:SaveCustomTheme(Name)
ThemeManager.Library:Notify(string.format('Successfully overwrote theme %q', Name))
end
)
end)
Themesbox:AddButton('Delete theme', function()
local Name = CustomThemeList.Value
if IsStringEmpty(Name) then
ThemeManager.Library:Notify('Please select a theme first.')
return
end
ShowDialog(
function() return true end,
'ThemeManager_DeleteTheme',
'Delete theme',
string.format('Are you sure you want to delete %q? This cannot be undone.', Name),
'Delete',
function()
local Success, ErrorMessage = ThemeManager:Delete(Name)
if not Success then
ThemeManager.Library:Notify(string.format('Failed to delete theme: %s', ErrorMessage))
return
end
ThemeManager.Library:Notify(string.format('Successfully deleted theme %q', Name))
RefreshDefaultThemeLabel()
end
)
end)
Themesbox:AddButton('Refresh list', RefreshList)
Themesbox:AddButton('Set as default', function()
local Name = CustomThemeList.Value
if IsStringEmpty(Name) then
ThemeManager.Library:Notify('Please select a theme first.')
return
end
ThemeManager:SaveDefault(Name)
ThemeManager.Library:Notify(string.format('Successfully set default theme to %q', Name))
RefreshDefaultThemeLabel()
end)
Themesbox:AddButton('Reset default', function()
ShowDialog(
function() return true end,
'ThemeManager_ResetDefault',
'Reset default theme',
'Are you sure you want to clear the default theme? The library will revert to its built-in default on next load.',
'Reset',
function()
local Success, ErrorMessage = ThemeManager:DeleteDefaultTheme()
if not Success then
ThemeManager.Library:Notify(string.format('Failed to reset default theme: %s', ErrorMessage))
return
end
ThemeManager.Library:Notify('Successfully reset default theme.')
RefreshDefaultThemeLabel()
end
)
end)
DefaultThemeLabel = Themesbox:AddLabel('Current default theme: ...', true)
--// Set Variables
CustomThemeList, CustomThemeName, ThemeList, FontFace, BackgroundImage =
ThemeManager.Library.Options.ThemeManager_CustomThemeList,
ThemeManager.Library.Options.ThemeManager_CustomThemeName,
ThemeManager.Library.Options.ThemeManager_ThemeList,
ThemeManager.Library.Options.FontFace,
ThemeManager.Library.Options.BackgroundImage
--// Handlers
ThemeList:OnChanged(function() ThemeManager:ApplyTheme(ThemeList.Value) end)
local function UpdateTheme() ThemeManager:ThemeUpdate() end
BackgroundColor:OnChanged(UpdateTheme)
MainColor:OnChanged(UpdateTheme)
AccentColor:OnChanged(UpdateTheme)
OutlineColor:OnChanged(UpdateTheme)
FontColor:OnChanged(UpdateTheme)
FontFace:OnChanged(function(Value) ThemeManager.Library:SetFont(Enum.Font[Value]) end)
BackgroundImage:OnChanged(function(Value) ThemeManager.Library:SetBackgroundImage(Value) end)
--// Load default
ThemeManager:LoadDefault()
ThemeManager.AppliedToTab = true
RefreshDefaultThemeLabel()
return Themesbox
end
function ThemeManager:CreateGroupBox(Tab, IconName) return Tab:AddLeftGroupbox('Themes', IconName or 'paintbrush') end
function ThemeManager:ApplyToTab(Tab, IconName)
local Groupbox = ThemeManager:CreateGroupBox(Tab, IconName)
return ThemeManager:CreateThemeManager(Groupbox)
end
function ThemeManager:ApplyToGroupbox(Groupbox) return ThemeManager:CreateThemeManager(Groupbox) end
getgenv().ObsidianThemeManager = ThemeManager
return ThemeManager
end
-- ======================================================================
-- Script paths and storage folders
-- ======================================================================
__ZkhHub_shared.script_paths = function()
local DisplayName = 'ZkxHub'
local StorageRoot = 'ZkxHub'
-- Auto Execute re-runs this file after every teleport (lobby <-> match). It is only a one-line
-- loader for the hosted script (LoaderUrl); the script itself is never written to the workspace.
local SourcePath = StorageRoot .. '/Rivals.txt'
local LoaderUrl = 'https://raw.githubusercontent.com/ZkxrI/ZkxHub/refs/heads/main/source'
local LoaderSource = string.format('loadstring(game:HttpGet(%q))()', LoaderUrl)
local RivalsGameId = 6035872082
-- Older builds saved the whole script here; ensure_runnable_copy removes it so nobody can read it.
local FullCopyPath = StorageRoot .. '/Rivals.luau'
-- Left behind by older builds; removed on startup so nothing runs it by mistake.
local LegacyRunnablePath = StorageRoot .. '/ZkxHub_Source_Runnable.lua'
local AutoShowPath = StorageRoot .. '/AutoShow.txt'
local UiSettingsPath = StorageRoot .. '/UISettings.json'
-- Handed to queue_on_teleport; runs once in the next server. Used to queue the remote
-- loader, which only handles the lobby PlaceId and silently did nothing in matches.
-- NOTE: the file it re-runs is a loader stub for the hosted script again, so Auto Execute
-- only works in matches if the hosted script itself runs there.
local QueuePayloadFormat = [==[
local env = (type(getgenv) == 'function' and getgenv()) or _G
local deadline = os.clock() + 30
while game.GameId == 0 and os.clock() < deadline do task.wait(0.1) end
if game.GameId ~= %s then return end
if not game:IsLoaded() then game.Loaded:Wait() end
local job = tostring(game.JobId)
if job ~= '' then
if env.ZkxHubChainJob == job then return end
env.ZkxHubChainJob = job
end
task.wait(8)
local ok, ui = pcall(function()
return game:GetService('HttpService'):JSONDecode(readfile(%s))
end)
if ok and type(ui) == 'table' and ui.auto_execute_on_teleport == false then return end
local path = %s
if not isfile(path) then
warn('[ZkxHub] Auto Execute: workspace/' .. path .. ' is missing')
return
end
local chunk, err = loadstring(readfile(path), '@' .. path)
if not chunk then
warn('[ZkxHub] Auto Execute: ' .. tostring(err))
return
end
chunk()
]==]
local HttpService = game:GetService('HttpService')
local DefaultUiSettings = {
auto_show = true,
show_notification = true,
show_keybind_states = false,
auto_execute_on_teleport = false,
auto_load_config = true,
auto_save_config = true,
load_config_name = 'Legit',
menu_keybind = 'RightControl',
font_face = 'Gotham Heavy',
theme_fade = true,
animations = true,
ui_scale = '100%',
custom_cursor = true,
splash = true,
watermark = true,
watermark_fields = 'FPS,Ping',
notify_placement = 'Top Right',
notify_style = 'Premium',
}
local module = {}
pcall(function()
if not isfolder(StorageRoot) then makefolder(StorageRoot) end
end)
local function clone_table(source)
local copy = {}
for key, value in pairs(source) do
copy[key] = value
end
return copy
end
local function apply_ui_setting_overrides(defaults, overrides)
if type(overrides) ~= 'table' then return defaults end
for key, value in pairs(overrides) do
if DefaultUiSettings[key] ~= nil and value ~= nil then defaults[key] = value end
end
return defaults
end
local function sanitize_ui_settings(settings, defaults)
local data = clone_table(defaults)
if type(settings) ~= 'table' then return data end
for key, fallback in pairs(defaults) do
local value = settings[key]
if type(fallback) == 'boolean' then
if type(value) == 'boolean' then data[key] = value end
elseif type(fallback) == 'string' then
if type(value) == 'string' and value ~= '' then data[key] = value end
end
end
return data
end
local function read_legacy_auto_show(default_value)
local path = module.auto_show_path()
if not isfile(path) then return default_value end
local success, value = pcall(readfile, path)
if not success then return default_value end
value = string.lower(tostring(value))
if value == 'true' then return true end
if value == 'false' then return false end
return default_value
end
function module.storage_root() return StorageRoot end
function module.auto_show_path() return AutoShowPath end
function module.ui_settings_path() return UiSettingsPath end
function module.default_ui_settings(overrides) return apply_ui_setting_overrides(clone_table(DefaultUiSettings), overrides) end
function module.config_path(config_name) return StorageRoot .. '/settings/' .. config_name .. '.json' end
function module.load_ui_settings(overrides)
local defaults = module.default_ui_settings(overrides)
if isfile(UiSettingsPath) then
local read_ok, raw = pcall(readfile, UiSettingsPath)
if read_ok then
local decode_ok, decoded = pcall(function() return HttpService:JSONDecode(raw) end)
if decode_ok then return sanitize_ui_settings(decoded, defaults) end
end
end
defaults.auto_show = read_legacy_auto_show(defaults.auto_show)
return defaults
end
function module.save_ui_settings(settings, overrides)
local data = sanitize_ui_settings(settings, module.default_ui_settings(overrides))
writefile(UiSettingsPath, HttpService:JSONEncode(data))
writefile(module.auto_show_path(), data.auto_show and 'true' or 'false')
return data
end
function module.ensure_auto_show_file()
local path = module.auto_show_path()
local ui_settings = module.load_ui_settings()
writefile(path, ui_settings.auto_show and 'true' or 'false')
return path
end
function module.source_path() return SourcePath end
function module.queue_on_teleport_script()
return string.format(
QueuePayloadFormat,
tostring(RivalsGameId),
string.format('%q', UiSettingsPath),
string.format('%q', SourcePath)
)
end
function module.ensure_runnable_copy()
if type(isfile) == 'function' and type(delfile) == 'function' then
pcall(function()
if isfile(LegacyRunnablePath) then delfile(LegacyRunnablePath) end
end)
end
if type(isfile) == 'function' and type(readfile) == 'function' then
pcall(function()
if not isfile(FullCopyPath) then return end
local ok, existing = pcall(readfile, FullCopyPath)
-- only a full-script copy from an older build; a small file is someone's own, leave it alone
if not (ok and type(existing) == 'string' and #existing > 4096) then return end
if type(delfile) == 'function' then
delfile(FullCopyPath)
elseif type(writefile) == 'function' then
writefile(FullCopyPath, LoaderSource)
end
end)
end
if type(writefile) == 'function' then
pcall(function()
local current = nil
if type(isfile) == 'function' and isfile(SourcePath) then
local ok, existing = pcall(readfile, SourcePath)
current = ok and existing or nil
end
if current ~= LoaderSource then writefile(SourcePath, LoaderSource) end
end)
end
return module.has_runnable_copy()
end
function module.has_runnable_copy()
local ok, exists = pcall(isfile, SourcePath)
return ok and exists == true
end
function module.format_title() return DisplayName end
return module
end
-- ======================================================================
-- Connection registry
-- ======================================================================
__ZkhHub_shared.connection_registry = function()
local module = {}
local function disconnect_handle(handle)
if handle == nil then return end
if type(handle) == 'function' then
pcall(handle)
return
end
if type(handle) == 'table' then
local disconnect_method = handle.Disconnect
if type(disconnect_method) == 'function' then pcall(disconnect_method, handle) end
return
end
pcall(function() handle:Disconnect() end)
end
function module.new()
local handles = {}
local registry = {}
function registry:register(name, handle)
if handles[name] ~= nil then disconnect_handle(handles[name]) end
handles[name] = handle
return handle
end
function registry:get(name) return handles[name] end
function registry:disconnect(names)
for _, name in ipairs(names) do
if handles[name] ~= nil then
disconnect_handle(handles[name])
handles[name] = nil
end
end
end
function registry:disconnect_all()
for name, handle in pairs(handles) do
disconnect_handle(handle)
handles[name] = nil
end
end
setmetatable(registry, {
__newindex = function(_, name, handle) registry:register(name, handle) end,
__index = function(_, name) return handles[name] end,
})
return registry
end
return module
end
-- ======================================================================
-- Menu settings (UI Settings tab)
-- ======================================================================
__ZkhHub_shared.ui_settings = function()
local module = {}
local DEFAULT_CONFIG_NAMES = { 'Legit', 'Rage' }
local AUTO_SAVE_DEBOUNCE_SECONDS = 0.35
local AUTO_SAVE_SUPPORTED_TYPES = {
Toggle = true,
Slider = true,
Dropdown = true,
ColorPicker = true,
KeyPicker = true,
Input = true,
}
function module.new(args)
local window = args.window
local library = args.library
local theme_manager = args.theme_manager
local script_paths = args.script_paths
local toggles = args.toggles
local options = args.options
local local_player = args.local_player
local queue_loader = args.queue_loader
local on_load_default = args.on_load_default
local on_save = args.on_save
local is_queue_on_teleport_forced = args.is_queue_on_teleport_forced
local save_manager = args.save_manager
local current_config_name = args.current_config_name
local function AppendConfigName(list, seen, config_name)
if type(config_name) ~= 'string' or config_name == '' or string.lower(config_name) == 'none' or seen[config_name] then
return
end
seen[config_name] = true
table.insert(list, config_name)
end
local function BuildConfigNames()
local list = {}
local seen = {}
local source_config_names = type(args.config_names) == 'table' and args.config_names or DEFAULT_CONFIG_NAMES
for _, config_name in ipairs(source_config_names) do
AppendConfigName(list, seen, config_name)
end
if #list == 0 then AppendConfigName(list, seen, current_config_name) end
return list
end
local config_names = BuildConfigNames()
local default_config_selection = config_names[1] or current_config_name
local config_dropdown_values = {}
for _, config_name in ipairs(config_names) do
table.insert(config_dropdown_values, config_name)
end
local function ResolveConfigFileName(config_name)
if type(args.resolve_config_name) == 'function' then
local resolved = args.resolve_config_name(config_name)
if type(resolved) == 'string' and resolved ~= '' then return resolved end
end
if args.use_global_config_names == true then return config_name end
if config_name == current_config_name then return config_name end
if type(current_config_name) == 'string' and current_config_name ~= '' then
return current_config_name .. ' ' .. config_name
end
return config_name
end
local ids = args.ids
or {
auto_show = 'P3S1T1',
show_notification = 'P3S1T2',
show_keybind_states = 'P3S1T3',
auto_execute_on_teleport = 'P3S1T4',
auto_load_config = 'P3S1T5',
auto_save_config = 'UIAutoSaveConfig',
load_config_name = 'UILoadConfigName',
}
local defaults = args.defaults or {}
local persisted_defaults = script_paths.load_ui_settings(defaults)
local persist_menu_keybind = args.persist_menu_keybind ~= false
-- Only a real keyboard key may be saved as the menu bind. Unbound (None/Unknown), Escape, a mouse button or a stale key name
-- would leave the menu unreachable on the next launch, so those fall back to the default instead.
local function NormalizeMenuKeybind(value, fallback)
if type(value) == 'string' and value ~= '' and value ~= 'None' and value ~= 'Unknown' then
local ok, key_code = pcall(function() return Enum.KeyCode[value] end)
if ok and key_code and key_code ~= Enum.KeyCode.Unknown and key_code ~= Enum.KeyCode.Escape then return value end
end
return fallback or 'RightControl'
end
local default_menu_keybind = NormalizeMenuKeybind(defaults.menu_keybind, 'RightControl')
local settings = {}
local queue_on_teleport_connection = nil
local queued_for_teleport = false
local shutting_down = false
local config_load_suppression_count = 0
local auto_save_token = 0
local auto_save_wrappers = setmetatable({}, { __mode = 'k' })
local auto_save_binding_loop_started = false
local preserved_ids = {}
preserved_ids[ids.auto_show] = true
preserved_ids[ids.show_notification] = true
preserved_ids[ids.show_keybind_states] = true
preserved_ids[ids.auto_execute_on_teleport] = true
preserved_ids[ids.auto_load_config] = true
preserved_ids[ids.auto_save_config] = true
for _, toggle_id in ipairs(RequireSharedModule('ui_extras').ToggleIds) do
preserved_ids[toggle_id] = true
end
local function IsConfigSelectionValue(value)
if type(value) ~= 'string' then return false end
for _, config_name in ipairs(config_dropdown_values) do
if value == config_name then return true end
end
return false
end
local function NormalizeConfigSelectionValue(value, fallback)
if IsConfigSelectionValue(value) then return value end
if IsConfigSelectionValue(fallback) then return fallback end
return default_config_selection
end
local function ResolveConfigSelectionValue(option_id, fallback)
local option = options[option_id]
if option and IsConfigSelectionValue(option.Value) then return option.Value end
return NormalizeConfigSelectionValue(fallback, default_config_selection)
end
if save_manager and type(save_manager.SetIgnoreIndexes) == 'function' then
local ignore_list = {
ids.auto_show,
ids.show_notification,
ids.show_keybind_states,
ids.auto_execute_on_teleport,
ids.auto_load_config,
ids.auto_save_config,
ids.load_config_name,
'MenuKeybind',
}
if type(args.extra_ignore_ids) == 'table' then
for _, extra_id in ipairs(args.extra_ignore_ids) do
if type(extra_id) == 'string' and extra_id ~= '' then table.insert(ignore_list, extra_id) end
end
end
for _, extra_id in ipairs(RequireSharedModule('ui_extras').AllIds) do
table.insert(ignore_list, extra_id)
end
save_manager:SetIgnoreIndexes(ignore_list)
end
local function disconnect_queue_on_teleport()
if queue_on_teleport_connection then
queue_on_teleport_connection:Disconnect()
queue_on_teleport_connection = nil
end
end
local tab = window:AddTab('UI Settings', 'settings')
local group = tab:AddLeftGroupbox(args.groupbox_title or 'Menu Options')
local load_config_name_default =
NormalizeConfigSelectionValue(persisted_defaults.load_config_name, defaults.load_config_name or default_config_selection)
group:AddToggle(ids.auto_show, {
Text = 'Silent Execute',
Default = not persisted_defaults.auto_show,
Tooltip = 'Keeps the UI hidden on execute. Use your menu keybind to open it.',
})
group:AddToggle(ids.show_notification, {
Text = 'Load Notification',
Default = persisted_defaults.show_notification,
Tooltip = 'Will show "Successfully loaded" notification on execute',
})
group:AddToggle(ids.show_keybind_states, {
Text = 'Show keybind states',
Default = persisted_defaults.show_keybind_states,
Tooltip = 'Shows a menu of your active keybind toggles. On mobile, tap a keybind to toggle it.',
})
group:AddToggle(ids.auto_execute_on_teleport, {
Text = 'Auto Execute',
Default = persisted_defaults.auto_execute_on_teleport,
Tooltip = 'Will execute your script automatically when teleporting to a new area',
})
group:AddToggle(ids.auto_save_config, {
Text = 'Auto Save Config',
Default = persisted_defaults.auto_save_config,
Tooltip = 'Automatically saves changed toggles, sliders, dropdowns, colors, keybinds, and inputs to the selected config.',
})
group:AddToggle(ids.auto_load_config, {
Text = 'Auto Load Config',
Default = persisted_defaults.auto_load_config,
Tooltip = 'Automatically loads your saved config on execute',
})
group:AddDropdown(ids.load_config_name, {
Text = 'Selected Config',
Values = config_dropdown_values,
Default = load_config_name_default,
Tooltip = 'Selected config used by Auto Load Config, Auto Save Config, Save Config, and Load Selected Config.',
})
group:AddButton('Save Config', function()
if on_save then
local ok, err = on_save(settings:resolve_save_config_name())
if ok == false then
library:Notify({ Title = 'Config', Description = 'Failed to save config: ' .. tostring(err), Time = 3 })
return
end
end
library:Notify({ Title = 'Config', Description = 'Config saved', Time = 3 })
end)
group:AddButton('Load Selected Config', function()
if args.on_load_saved then
args.on_load_saved()
library:Notify({ Title = 'Config', Description = 'Selected config loaded', Time = 3 })
end
end)
group:AddButton('Reset To Default', function() on_load_default() end)
group:AddButton({
Text = 'Unload',
Func = function()
settings:shutdown_for_unload()
__ZkhHub_genv.Executed = nil
pcall(function() _G._ZkxHubExecuted = nil end)
library:Unload()
end,
DoubleClick = true,
})
group:AddLabel('Menu bind'):AddKeyPicker('MenuKeybind', {
Default = persist_menu_keybind and NormalizeMenuKeybind(persisted_defaults.menu_keybind, default_menu_keybind)
or default_menu_keybind,
-- Always/Hold make the picker ignore its own key, so the toggle mode is the only one on offer
Mode = 'Toggle',
Modes = { 'Toggle' },
NoUI = true,
Text = 'Menu keybind',
})
library.ToggleKeybind = options.MenuKeybind
local theme_group = tab:AddRightGroupbox('Themes')
theme_group:AddLabel('Background color'):AddColorPicker('BackgroundColor', { Default = library.Scheme.BackgroundColor })
theme_group:AddLabel('Main color'):AddColorPicker('MainColor', { Default = library.Scheme.MainColor })
theme_group:AddLabel('Accent color'):AddColorPicker('AccentColor', { Default = library.Scheme.AccentColor })
theme_group:AddLabel('Outline color'):AddColorPicker('OutlineColor', { Default = library.Scheme.OutlineColor })
local ThemesArray = {}
for Name in pairs(theme_manager.BuiltInThemes) do
table.insert(ThemesArray, Name)
end
table.sort(ThemesArray, function(a, b) return theme_manager.BuiltInThemes[a][1] < theme_manager.BuiltInThemes[b][1] end)
theme_group:AddDivider()
theme_group:AddDropdown('ThemeManager_ThemeList', { Text = 'Theme list', Values = ThemesArray, Default = 1 })
theme_group:AddButton('Set as default', function()
theme_manager:SaveDefault(options.ThemeManager_ThemeList.Value)
library:Notify({
Title = 'Theme',
Description = string.format('Set default theme to %q', options.ThemeManager_ThemeList.Value),
Time = 3,
})
end)
options.ThemeManager_ThemeList:OnChanged(function() theme_manager:ApplyTheme(options.ThemeManager_ThemeList.Value) end)
local extras = nil
local persist_ui_settings = nil
local function UpdateTheme() theme_manager:ThemeUpdate() end
options.BackgroundColor:OnChanged(UpdateTheme)
options.MainColor:OnChanged(UpdateTheme)
options.AccentColor:OnChanged(UpdateTheme)
options.OutlineColor:OnChanged(UpdateTheme)
extras = RequireSharedModule('ui_extras').build({
library = library,
window = window,
theme_manager = theme_manager,
tab = tab,
group = group,
theme_group = theme_group,
persisted = persisted_defaults,
options = options,
toggles = toggles,
preserved_ids = preserved_ids,
save = function()
if persist_ui_settings then persist_ui_settings() end
end,
})
theme_manager:LoadDefault()
extras.Finish()
theme_manager.AppliedToTab = true
if type(args.after_build) == 'function' then args.after_build(tab, group) end
local function ResolveMenuKeybindValue()
local option = options.MenuKeybind
local fallback = NormalizeMenuKeybind(persisted_defaults.menu_keybind, default_menu_keybind)
return NormalizeMenuKeybind(option and option.Value, fallback)
end
persist_ui_settings = function()
local payload = {
auto_show = not toggles[ids.auto_show].Value,
show_notification = toggles[ids.show_notification].Value,
show_keybind_states = toggles[ids.show_keybind_states].Value,
auto_execute_on_teleport = toggles[ids.auto_execute_on_teleport].Value,
auto_load_config = toggles[ids.auto_load_config].Value,
auto_save_config = toggles[ids.auto_save_config].Value,
load_config_name = ResolveConfigSelectionValue(ids.load_config_name, persisted_defaults.load_config_name),
menu_keybind = persist_menu_keybind and ResolveMenuKeybindValue() or defaults.menu_keybind or 'RightControl',
}
if extras then
for key, value in pairs(extras.Snapshot()) do
payload[key] = value
end
end
script_paths.save_ui_settings(payload, defaults)
end
local function sync_keybind_visibility() library.KeybindFrame.Visible = toggles[ids.show_keybind_states].Value end
local function should_queue_on_teleport()
if toggles[ids.auto_execute_on_teleport].Value then return true end
if type(is_queue_on_teleport_forced) == 'function' then
local ok, forced = pcall(is_queue_on_teleport_forced)
if ok and forced then return true end
end
return false
end
local function sync_queue_on_teleport()
if should_queue_on_teleport() then
if not __ZkhHub_genv.ZkxHubCaps.gate('Auto Execute', 'queue_on_teleport') then return end
if queue_on_teleport_connection then return end
-- Queue on the first teleport state instead of waiting for InProgress (the last one
-- before the client leaves). Failed re-arms for the next attempt; the payload dedupes.
queue_on_teleport_connection = local_player.OnTeleport:Connect(function(state)
if state == Enum.TeleportState.Failed then
queued_for_teleport = false
return
end
if queued_for_teleport then return end
queued_for_teleport = true
queue_loader()
end)
else
disconnect_queue_on_teleport()
end
end
local function BindAutoSaveObject(id, object)
if type(object) ~= 'table' or not AUTO_SAVE_SUPPORTED_TYPES[object.Type] then return end
if save_manager and save_manager.Ignore and save_manager.Ignore[id] then return end
if auto_save_wrappers[object] == object.Changed then return end
local previous_changed = object.Changed
object.Changed = function(...)
if type(previous_changed) == 'function' then previous_changed(...) end
settings:schedule_auto_save(id)
end
auto_save_wrappers[object] = object.Changed
end
function settings:get_config_names()
local copy = {}
for _, config_name in ipairs(config_names) do
table.insert(copy, ResolveConfigFileName(config_name))
end
return copy
end
function settings:resolve_save_config_name()
return ResolveConfigFileName(ResolveConfigSelectionValue(ids.load_config_name, persisted_defaults.load_config_name))
end
function settings:resolve_load_config_name() return settings:resolve_save_config_name() end
function settings:should_auto_save_config()
return toggles[ids.auto_save_config].Value and settings:resolve_save_config_name() ~= nil
end
function settings:schedule_auto_save(id)
if shutting_down or config_load_suppression_count > 0 or not settings:should_auto_save_config() then return end
auto_save_token = auto_save_token + 1
local token = auto_save_token
task.delay(AUTO_SAVE_DEBOUNCE_SECONDS, function()
if
shutting_down
or token ~= auto_save_token
or config_load_suppression_count > 0
or not settings:should_auto_save_config()
then
return
end
if on_save then on_save(settings:resolve_save_config_name()) end
end)
end
function settings:refresh_auto_save_bindings()
for id, toggle in pairs(toggles) do
BindAutoSaveObject(id, toggle)
end
for id, option in pairs(options) do
BindAutoSaveObject(id, option)
end
end
function settings:is_config_loading() return config_load_suppression_count > 0 end
function settings:with_config_load_suspended(callback)
config_load_suppression_count = config_load_suppression_count + 1
local ok, result, err = pcall(callback)
task.delay(1, function() config_load_suppression_count = math.max(0, config_load_suppression_count - 1) end)
if not ok then error(result, 2) end
return result, err
end
function settings:register_callbacks()
toggles[ids.auto_show]:OnChanged(persist_ui_settings)
toggles[ids.show_notification]:OnChanged(persist_ui_settings)
toggles[ids.show_keybind_states]:OnChanged(function()
persist_ui_settings()
sync_keybind_visibility()
end)
toggles[ids.auto_execute_on_teleport]:OnChanged(function()
persist_ui_settings()
sync_queue_on_teleport()
end)
toggles[ids.auto_load_config]:OnChanged(persist_ui_settings)
toggles[ids.auto_save_config]:OnChanged(persist_ui_settings)
options[ids.load_config_name]:OnChanged(persist_ui_settings)
if persist_menu_keybind then options.MenuKeybind:OnChanged(persist_ui_settings) end
settings:refresh_auto_save_bindings()
if not auto_save_binding_loop_started then
auto_save_binding_loop_started = true
task.spawn(function()
while not shutting_down do
task.wait(1)
settings:refresh_auto_save_bindings()
end
end)
end
end
function settings:sync_queue_on_teleport() sync_queue_on_teleport() end
function settings:should_auto_load_config()
return toggles[ids.auto_load_config].Value and settings:resolve_load_config_name() ~= nil
end
function settings:shutdown_for_unload()
if shutting_down then return end
shutting_down = true
for toggle_id, toggle in pairs(toggles) do
if
not preserved_ids[toggle_id]
and type(toggle) == 'table'
and type(toggle.SetValue) == 'function'
and type(toggle.Value) == 'boolean'
and toggle.Value == true
then
pcall(toggle.SetValue, toggle, false)
end
end
disconnect_queue_on_teleport()
end
function settings:reconcile_loaded_ui_settings()
persist_ui_settings()
sync_keybind_visibility()
sync_queue_on_teleport()
settings:refresh_auto_save_bindings()
theme_manager:LoadDefault()
if extras then extras.Reapply() end
end
function settings:notify_loaded(duration)
if toggles[ids.show_notification].Value then
local menuKeybindValue = ResolveMenuKeybindValue()
library:Notify({
Title = 'Loaded',
Description = 'Loaded - ' .. menuKeybindValue .. ' to toggle menu',
Time = duration or 5,
})
end
end
return settings
end
return module
end
-- ======================================================================
-- Game bootstrap
-- ======================================================================
__ZkhHub_shared.game_bootstrap = function()
local module = {}
local function elevate_ui_identity()
if type(__ZkxHubElevateIdentity) == 'function' then
__ZkxHubElevateIdentity()
elseif type(setthreadidentity) == 'function' then
pcall(setthreadidentity, 8)
end
end
function module.create_window(args)
elevate_ui_identity()
local ui_settings = args.script_paths.load_ui_settings(args.ui_settings_defaults)
elevate_ui_identity()
local Kit = RequireSharedModule('zkx_ui_kit')
local window = args.library:CreateWindow({
Position = args.position,
Title = args.title,
Center = args.center,
AutoShow = false, -- the menu opens when loading is done (auto_show is read again then)
DisableSearch = false,
GlobalSearch = true,
Footer = args.footer or '.gg/bxu2WMjNjN',
Icon = args.icon or Kit.LogoAsset,
IconSize = args.icon_size or UDim2.fromOffset(36, 36),
Font = Kit.ResolveFont(ui_settings.font_face),
ShowCustomCursor = ui_settings.custom_cursor ~= false,
})
-- logo + title at the left of the sidebar header, the title in Heavy Italic
local okTitle, titleError = pcall(Kit.TitleRow, window, { Library = args.library, TitleSize = 22, Padding = 14 })
if not okTitle then warn('[ZkxHub] title row: ' .. tostring(titleError)) end
return window
end
function module.create_standard_shared_ui(args)
elevate_ui_identity()
local shared_ui
local defaults = args.defaults
or {
auto_show = false,
show_notification = true,
show_keybind_states = false,
auto_execute_on_teleport = false,
auto_load_config = true,
auto_save_config = true,
load_config_name = 'Legit',
}
local function reconcile_loaded_state()
if args.reconcile_loaded_state then args.reconcile_loaded_state() end
end
elevate_ui_identity()
shared_ui = args.ui_settings.new({
window = args.window,
library = args.library,
theme_manager = args.theme_manager,
script_paths = args.script_paths,
save_manager = args.save_manager,
current_config_name = args.current_config_name,
config_names = args.config_names,
use_global_config_names = args.use_global_config_names,
resolve_config_name = args.resolve_config_name,
toggles = args.toggles,
options = args.options,
local_player = args.local_player,
defaults = defaults,
persist_menu_keybind = args.persist_menu_keybind,
extra_ignore_ids = args.extra_ignore_ids,
queue_loader = function()
if __ZkhHub_genv.ZkxHubCaps.gate('Auto Execute', 'queue_on_teleport') then
args.queue_on_teleport(args.script_paths.queue_on_teleport_script())
end
end,
on_save = function(config_name)
local save_name = shared_ui and shared_ui.resolve_save_config_name and shared_ui:resolve_save_config_name()
or args.current_config_name
if config_name then save_name = config_name end
if args.before_save then args.before_save(shared_ui, save_name) end
local ok, err = args.save_manager:Save(save_name)
if args.on_save then args.on_save(shared_ui, save_name) end
return ok, err
end,
on_load_saved = function()
local load_name = shared_ui and shared_ui.resolve_load_config_name and shared_ui:resolve_load_config_name()
or args.current_config_name
if shared_ui and shared_ui.with_config_load_suspended then
shared_ui:with_config_load_suspended(function() args.save_manager:Load(load_name) end)
else
args.save_manager:Load(load_name)
end
shared_ui:reconcile_loaded_ui_settings()
reconcile_loaded_state()
if args.on_load_saved then args.on_load_saved(shared_ui, load_name) end
end,
on_load_default = function()
local save_name = shared_ui and shared_ui.resolve_save_config_name and shared_ui:resolve_save_config_name()
or args.current_config_name
if shared_ui and shared_ui.with_config_load_suspended then
shared_ui:with_config_load_suspended(function()
if type(args.reset_config_to_default) == 'function' then
args.save_manager:Load(args.default_config_name)
args.reset_config_to_default(shared_ui, save_name)
args.save_manager:Load(save_name)
else
args.save_manager:Load(args.default_config_name)
args.save_manager:Save(save_name)
end
end)
else
if type(args.reset_config_to_default) == 'function' then
args.save_manager:Load(args.default_config_name)
args.reset_config_to_default(shared_ui, save_name)
args.save_manager:Load(save_name)
else
args.save_manager:Load(args.default_config_name)
args.save_manager:Save(save_name)
end
end
shared_ui:reconcile_loaded_ui_settings()
reconcile_loaded_state()
if args.on_load_default then args.on_load_default(shared_ui, save_name) end
end,
})
return shared_ui
end
function module.prepare_setup(args)
elevate_ui_identity()
local sm = args.save_manager
local default_name = args.default_config_name
if not isfile(args.script_paths.config_path(default_name)) then sm:Save(default_name) end
if args.shared_ui and args.shared_ui.get_config_names then
for _, config_name in ipairs(args.shared_ui:get_config_names()) do
if not isfile(args.script_paths.config_path(config_name)) then
local ok = nil
if type(args.reset_config_to_default) == 'function' then
ok = args.reset_config_to_default(args.shared_ui, config_name)
end
if ok == false or ok == nil then sm:Save(config_name) end
end
end
end
if not args.defer_load then module.load_config(args) end
args.shared_ui:register_callbacks()
args.shared_ui:reconcile_loaded_ui_settings()
end
function module.load_config(args)
elevate_ui_identity()
local sm = args.save_manager
local current = args.current_config_name
local default_name = args.default_config_name
local shared_ui = args.shared_ui
local function load_config_name(config_name)
if shared_ui and shared_ui.with_config_load_suspended then
return shared_ui:with_config_load_suspended(function() return sm:Load(config_name) end)
end
return sm:Load(config_name)
end
if shared_ui and shared_ui.should_auto_load_config and shared_ui:should_auto_load_config() then
local load_name = shared_ui and shared_ui.resolve_load_config_name and shared_ui:resolve_load_config_name() or current
local ok = load_config_name(load_name)
if not ok then load_config_name(default_name) end
else
load_config_name(default_name)
end
end
return module
end
-- ======================================================================
-- Ragebot (ZHub): lifted modules and standalone boot
-- ======================================================================
__ZkhHub_shared.ZHub_ragebot = function()
getgenv().ZkxhubRagebotManualStart = true
--[[
ZHub ragebot - standalone
--------------------------
The Ragebot of "ZHub prem.luau" (Zkxhub rebuild, Rivals), cut out on its own.
Runs without the hub: no menu, no cosmetics, no other combat features.
Game: Rivals (PlayerScripts.Controllers.FighterController must exist)
Needs: an executor with getgenv, cloneref, hookfunction-style helpers, setfflag
Run: execute this file once. It waits for the controllers, then boots.
Do NOT run it together with the full ZHub hub (both hook the same game modules).
API (getgenv().ZkxhubRagebot):
Rage.Set(path, value) write a setting, e.g. Rage.Set({"Ragebot","Evasion","Mode"}, "Translocate")
Rage.Get(path) read a setting
Rage.Config live table = store.Data.Ragebot (read-only view, write through Set)
Rage.SetEnabled(bool) Enabled = bool, Keybind.Kind = "Always"
Rage.SetBind(keyEnum, kind) kind: "Toggle" | "Hold" | "Always"; keyEnum: Enum.KeyCode.X
Rage.Tags player tag registry: Tags:Add(player, "Hacker") feeds PrioritizeHackers
Rage.IsReady true once it has booted
Rage.Start() boot now (automatic unless getgenv().ZkxhubRagebotManualStart == true was set before running)
Rage.Status short text: Starting / Waiting ... / Ready / Aborted ... / Boot failed ...
Rage.Unload() tear everything down (restores FallenPartsDestroyHeight / fflags)
Every setting and what it does: see "ZHub ragebot - features.md" next to this file.
]]
if getgenv().ZkxhubRagebot and getgenv().ZkxhubRagebot.Unload then pcall(getgenv().ZkxhubRagebot.Unload) end
if not game:IsLoaded() then game.Loaded:Wait() end
local Zkxhub: { [string]: any } = { connections = {}, cleanups = {}, destroyed = false }
getgenv().ZkxhubRagebot = Zkxhub
local Players = game:GetService('Players')
local _ReplicatedStorage = game:GetService('ReplicatedStorage')
local _RunService = game:GetService('RunService')
local UserInputService = game:GetService('UserInputService')
local _CollectionService = game:GetService('CollectionService')
local _HttpService = game:GetService('HttpService')
local _SoundService = game:GetService('SoundService')
local _Lighting = game:GetService('Lighting')
local _player = Players.LocalPlayer
local rawget, rawset = rawget, rawset
function Zkxhub.fn(name)
local v
pcall(function() v = getgenv()[name] end)
if type(v) ~= 'function' then pcall(function() v = getgenv()[name] end) end
return type(v) == 'function' and v or nil
end
local getthreadidentity_ = Zkxhub.fn('getthreadidentity') or Zkxhub.fn('getidentity')
local setthreadidentity_ = Zkxhub.fn('setthreadidentity') or Zkxhub.fn('setidentity')
local _sethiddenproperty = Zkxhub.fn('sethiddenproperty')
local gethui_ = Zkxhub.fn('gethui')
local function identity(n)
if not setthreadidentity_ then
return function() end
end
local old = getthreadidentity_ and getthreadidentity_() or nil
pcall(setthreadidentity_, n)
return function()
if old then pcall(setthreadidentity_, old) end
end
end
Zkxhub.identity = identity
local function hudParent()
local ok, h = pcall(function() return gethui_ and gethui_() end)
if ok and h then return h end
return game:GetService('CoreGui')
end
Zkxhub.hudParent = hudParent
function Zkxhub.track(c)
Zkxhub.connections[#Zkxhub.connections + 1] = c
return c
end
function Zkxhub.onUnload(f) Zkxhub.cleanups[#Zkxhub.cleanups + 1] = f end
--==========================================================================
-- Signal / Trove (Zkxhub's own small versions)
--==========================================================================
local Signal = {}
Signal.__index = Signal
function Signal.new() return setmetatable({ _handlers = {} }, Signal) end
function Signal:Connect(fn)
local h = { fn = fn, connected = true }
table.insert(self._handlers, h)
local sig = self
return {
Connected = true,
Disconnect = function(c)
if not h.connected then return end
h.connected = false
c.Connected = false
local i = table.find(sig._handlers, h)
if i then table.remove(sig._handlers, i) end
end,
}
end
function Signal:Once(fn)
local c
c = self:Connect(function(...)
c:Disconnect()
fn(...)
end)
return c
end
function Signal:Fire(...)
local list = table.clone(self._handlers)
for _, h in ipairs(list) do
if h.connected then task.spawn(h.fn, ...) end
end
end
function Signal:FireSync(...)
for _, h in ipairs(table.clone(self._handlers)) do
if h.connected then h.fn(...) end
end
end
function Signal:Destroy() table.clear(self._handlers) end
Zkxhub.Signal = Signal
local Trove = {}
Trove.__index = Trove
function Trove.new(name) return setmetatable({ _name = name, _items = {} }, Trove) end
local function cleanItem(o)
local t = typeof(o)
if t == 'RBXScriptConnection' then
o:Disconnect()
elseif t == 'Instance' then
pcall(function() o:Destroy() end)
elseif t == 'thread' then
pcall(task.cancel, o)
elseif type(o) == 'function' then
pcall(o)
elseif type(o) == 'table' then
-- some objects (Zkxhub's signal connections) error on unknown fields
local function member(k)
local ok, v = pcall(function() return o[k] end)
return ok and type(v) == 'function' and v or nil
end
local cancel, getStatus = member('cancel'), member('getStatus')
if cancel and getStatus then
pcall(cancel, o)
return
end
local destroy = member('Destroy')
if destroy then
pcall(destroy, o)
return
end
local disconnect = member('Disconnect')
if disconnect then pcall(disconnect, o) end
end
end
function Trove:Add(o)
table.insert(self._items, o)
return o
end
function Trove:Connect(sig, fn) return self:Add(sig:Connect(fn)) end
function Trove:Extend() return self:Add(Trove.new(self._name)) end
function Trove:Remove(o, keep)
local i = table.find(self._items, o)
if i then
table.remove(self._items, i)
if not keep then cleanItem(o) end
end
end
-- Promise held until it settles; cancelled if the trove is cleaned first.
function Trove:AddPromise(promise)
if tostring(promise:getStatus()) == 'Started' then
self:Add(promise)
promise:finally(function()
if not self._cleaning then self:Remove(promise, true) end
end)
end
return promise
end
-- Sub-trove that cleans itself up when `instance` is destroyed.
function Trove:AttachExtend(instance)
local sub = self:Extend()
sub:Connect(instance.Destroying, function() self:Remove(sub) end)
return sub
end
function Trove:Clean()
local items = self._items
self._items = {}
self._cleaning = true
for i = #items, 1, -1 do
cleanItem(items[i])
end
self._cleaning = false
end
Trove.Destroy = Trove.Clean
Zkxhub.Trove = Trove
--==========================================================================
-- Zkxhub's constant pool (v86[...]) as recovered from usage in the dump
--==========================================================================
local constantsByIndex = {
[3] = 'Toggle',
[9] = 20,
[12] = 12,
[18] = '0',
[26] = 4,
[34] = true,
[44] = 'Enabled',
[45] = 90,
[48] = 2,
[53] = 20,
[55] = 'Mode',
[56] = 2,
[62] = 0.1,
[63] = 1,
[68] = 'table',
[75] = 'None',
[83] = 64,
[91] = 100,
[95] = 'number',
[101] = 0.5,
[108] = 255,
[116] = 'boolean',
[118] = 16,
[122] = 8,
[126] = 0.15,
[127] = 'CFrame',
[128] = 'Frame',
[133] = 10,
[137] = 256,
[147] = 0.1,
[149] = 1,
[153] = false,
[155] = 3,
[160] = 50,
[162] = 8,
[165] = 'string',
[170] = 9,
[173] = 0.88,
[175] = 5,
[186] = 0,
[192] = 30,
[195] = 0.7,
}
Zkxhub.C = constantsByIndex
--==========================================================================
-- Zkxhub's own UI, settings store and Combat menu (lifted from the dump)
--==========================================================================
local constantPool = {
[2] = 'ReactiveStore',
[3] = 'Toggle',
[4] = 'UIListLayout',
[5] = 'BackgroundColor3',
[6] = 0,
[7] = 60,
[8] = 60,
[9] = 20,
[12] = 12,
[13] = 14,
[14] = 'Settings',
[15] = 120,
[16] = 'min',
[17] = 200,
[18] = '0',
[19] = 200,
[20] = 'Vector3',
[21] = 'Always',
[22] = '',
[23] = 1.4707963267948965,
[24] = 'Roboto',
[25] = 24,
[26] = 4,
[27] = 'Color',
[28] = 0.2,
[29] = 'Size',
[30] = 0.35,
[31] = 29,
[32] = 24,
[33] = 'Button',
[34] = true,
[35] = 'ConfigManager',
[36] = 'ApplyMigrations',
[37] = 'TextBounds',
[38] = 'DeleteFile',
[39] = 'Slider',
[40] = '...',
[42] = 'left',
[43] = 'Proggy Clean',
[44] = 'Enabled',
[45] = 90,
[46] = 'UIGradient',
[47] = 'CanvasGroup',
[48] = 0.3,
[49] = 2,
[50] = 'Side',
[51] = ' ',
[52] = 'BottomRight',
[53] = 92,
[54] = 6,
[55] = 'Mode',
[56] = 2,
[57] = 'TextColor',
[58] = 80,
[59] = 'Font',
[60] = 29,
[61] = 20,
[62] = 0.1,
[63] = 1,
[64] = 'ScrollingFrame',
[65] = 200,
[66] = 0.5,
[67] = 100,
[68] = 'table',
[69] = 'Catalog unavailable',
[70] = 'GradientDark',
[71] = 10,
[72] = 12,
[73] = 'Keybind',
[74] = 0.9,
[75] = 'None',
[76] = 'LoadFromFile',
[77] = 'FireServer',
[78] = 720,
[79] = 255,
[80] = 'Text',
[81] = 1,
[82] = 'Realize() can only be called on the root',
[83] = 64,
[84] = 0.5,
[85] = 'UIStroke',
[87] = 0.8,
[88] = 'TabHighlight',
[89] = 'Loading',
[90] = 'Gradient',
[91] = 100,
[92] = 'TextButton',
[93] = 'ColorSequence',
[94] = 'Options',
[95] = 'number',
[96] = 'Unselected',
[97] = 'Mode',
[98] = 'UICorner',
[99] = 'ExportToJson',
[100] = 14,
[101] = 0.5,
[102] = 231,
[103] = 52,
[104] = 'Fonts',
[105] = 0.85,
[106] = 'Menu Keybind',
[107] = 40,
[108] = 255,
[109] = 77,
[110] = 70,
[111] = 'Fetching items...',
[112] = 'Invisible',
[113] = 'UIPadding',
[114] = 'primary',
[115] = 'Color3',
[116] = 'boolean',
[118] = 16,
[119] = 159,
[120] = 'Outline',
[121] = 'ImageButton',
[122] = 8,
[123] = 19,
[124] = 'X',
[125] = 'Proggy Tiny',
[126] = 0.15,
[127] = 'CFrame',
[128] = 'Frame',
[129] = 'Show Watermark',
[131] = 'AbsoluteSize',
[132] = 'Breathing',
[133] = 10,
[134] = 'GradientTop',
[135] = 'TextLabel',
[136] = 'Unselected Text',
[137] = 256,
[138] = 0.85,
[139] = 'Accent',
[140] = 'danger',
[141] = 'GradientDeep',
[142] = 'Silent Load',
[143] = 32,
[144] = 20,
[145] = 'Dialog has been destroyed',
[146] = 'ImageLabel',
[147] = 0.1,
[148] = 'TextBox',
[149] = 1,
[150] = 'stop',
[151] = 'family',
[153] = false,
[154] = 'ScrollBarImageColor3',
[155] = 3,
[156] = 'ImageColor3',
[157] = 20,
[158] = 'secondary',
[159] = 20,
[160] = 50,
[161] = 0.5,
[162] = 8,
[163] = 80,
[164] = 'hue',
[165] = 'string',
[166] = 'family',
[167] = 'TextColor3',
[168] = 'ElementBackground',
[169] = 'FromJson',
[170] = 9,
[172] = 'none',
[173] = 0.88,
[174] = 'Unselected',
[175] = 5,
[176] = 'UISizeConstraint',
[177] = 'Try a different search.',
[178] = 'ElementBackground',
[181] = 10,
[182] = 'HttpService',
[183] = 72,
[184] = 'Color',
[186] = 0,
[187] = 'GradientMid',
[189] = 'Position',
[190] = 'Search...',
[191] = 'TabShadow',
[192] = 30,
[193] = 0,
[194] = 'Hold',
[195] = 0.7,
[196] = 'Viewport',
[197] = 'Y',
[198] = 400,
[199] = 'Unload',
[200] = 26,
}
-- Environment Zkxhub's modules expect: the module table and the aliases its
-- loader set up before them (v102 = rawget, v103 = rawset, v107 = pcall).
local modules: { [string]: any } = { cache = {} }
local rawGet, rawSet, protectedCall = rawget, rawset, pcall
-- The obfuscator's integrity counters. Every check in the lifted code has one
-- branch that hangs and one that runs the real code; these values sit inside
-- the window where all of them take the real branch (n26 in [4790, 4809),
-- n25 in [3866, 3887]).
local integrityCounterA, integrityCounterB = 3870, 4800
local integrityFlagA, integrityFlagB = true, true
local function integrityProbeA(...) return 0 end
local cloneref = Zkxhub.fn('cloneref') or function(x) return x end
local gethui = Zkxhub.fn('gethui') or function() return game:GetService('CoreGui') end
local getthreadidentity = Zkxhub.fn('getthreadidentity') or Zkxhub.fn('getidentity') or function() return 8 end
local setthreadidentity = Zkxhub.fn('setthreadidentity') or Zkxhub.fn('setidentity') or function() end
-- The rest of the loader's locals (clonefunction'd so hooks on them can't see us).
local function clonefn(f)
local c = Zkxhub.fn('clonefunction')
if c and f then
local ok, r = pcall(c, f)
if ok and r then return r end
end
return f
end
local fireServer = clonefn(Instance.new('RemoteEvent').FireServer)
local fireServer2 = clonefn(Instance.new('UnreliableRemoteEvent').FireServer)
local setHiddenProperty = clonefn(Zkxhub.fn('sethiddenproperty'))
local setFFlag = clonefn(Zkxhub.fn('setfflag')) or function() end
local isExecutorClosure = clonefn(Zkxhub.fn('isexecutorclosure')) or function() return false end
local setRawMetatable = clonefn(Zkxhub.fn('setrawmetatable')) or setmetatable
local getRawMetatable = clonefn(Zkxhub.fn('getrawmetatable')) or getmetatable
local gameNewIndex = clonefn(getRawMetatable(game).__newindex)
local gameIndex = clonefn(getRawMetatable(game).__index)
local findFirstChildOfClass = clonefn(game.FindFirstChildOfClass)
local function _integrityProbeB() return 0 end
local firetouchinterest = Zkxhub.fn('firetouchinterest') or function() end
local getconnections = Zkxhub.fn('getconnections') or function() return {} end
local setclipboard = Zkxhub.fn('setclipboard') or Zkxhub.fn('toclipboard') or function() end
local InstanceHandle
pcall(function() InstanceHandle = getgenv().InstanceHandle end)
if InstanceHandle == nil then pcall(function() InstanceHandle = getgenv().InstanceHandle end) end
if InstanceHandle == nil then InstanceHandle = { new = function(x) return x end } end
-- The modules the decompiler lost (their bodies are `fn35(...) end` in
-- the dump), rebuilt from how the rest of Zkxhub's code calls them.
-- k: Trove
modules.k = function()
return { new = function(name) return Trove.new(name) end }
end
-- Zkxhub's own modules, lifted from the dump (extract.py). Do not edit by hand.
do -- bG (standalone: ragebot-only config store, replaces the hub's full schema)
local function buildRagebotConfig()
local ReactiveStore = modules.l()
local ValueCodec = modules.m()
local GlobalTrove = modules.n()
local atomic = modules.i().atomic
local DefaultConfig = {
Ragebot = {
Enabled = false,
Keybind = { State = false, Kind = 'Always', Bind = nil, ShowInList = true, Invisible = false },
Stability = 0.15,
ShootFrames = 1,
PrioritizeHackers = false,
Weapons = {
Priority = atomic({ 'Primary', 'Secondary', 'Melee' }),
Enabled = { Primary = true, Secondary = true, Melee = true },
OnEmpty = 'SwapOrReload',
},
Evasion = {
Mode = 'Random',
Random = { AnchorFromCharacter = false, BaseRadius = 100, RadiusRandomFactor = 0.5 },
ProjectileBreaker = {
DepthForward = { Min = 0, Max = 4 },
DepthForwardFrequency = 5,
DepthUp = { Min = 0, Max = 5.5 },
DepthUpFrequency = 5,
RepositionInterval = 0.3,
FallbackAnchorFromCharacter = false,
FallbackBaseRadius = 100,
FallbackRadiusRandomFactor = 0.5,
},
Translocate = { Offset = -5 },
},
UtilizeHealthLead = false,
},
}
return (
GlobalTrove:Add(ReactiveStore.new({
DefaultConfig = DefaultConfig,
CurrentVersion = 1,
LegacyVersion = 1,
SavePath = '',
Migrations = {},
Serialize = ValueCodec.normalize,
Deserialize = ValueCodec.parse,
}))
)
end
modules.bG = function()
local cached = modules.cache.bG
if not cached then
cached = { c = buildRagebotConfig() }
modules.cache.bG = cached
end
return cached.c
end
end
do -- a Result: ok / err results (source, stage, detail)
local function buildResult()
return {
ok = function(value) return { Ok = true, Value = value } end,
err = function(source, stage, detail)
return { Ok = false, Error = { Source = source, Stage = stage, Detail = detail, Timestamp = os.clock() } }
end,
formatError = function(failure)
local toStr = tostring
local detail = failure.Detail
return string.format(
"'%s' @ %s failed during stage '%s'; %s",
tostring(failure.Source),
tostring(failure.Timestamp),
tostring(failure.Stage),
toStr(detail)
)
end,
VoidOk = table.freeze({ Ok = true, Value = nil }),
}
end
modules.a = function()
local cached = modules.cache.a
if not cached then
cached = { c = buildResult() }
modules.cache.a = cached
end
return cached.c
end
end
do -- b errorSink: holder of the active error reporter
local function buildErrorSink()
modules.a()
local sink = nil
return {
use = function(value) sink = value end,
get = function()
assert(sink)
return sink
end,
}
end
modules.b = function()
local cached = modules.cache.b
if not cached then
cached = { c = buildErrorSink() }
modules.cache.b = cached
end
return cached.c
end
end
do -- d deepCopy: recursive table copy
local function buildDeepCopy()
local function copy(t)
if type(t) ~= 'table' then return t end
local o = {}
for k, v in next, t do
o[k] = copy(v)
end
return setmetatable(o, getmetatable(t))
end
return copy
end
modules.d = function()
local cached = modules.cache.d
if not cached then
cached = { c = buildDeepCopy() }
modules.cache.d = cached
end
return cached.c
end
end
do -- e ensureFolderPath: create nested folders
local function buildEnsureFolderPath()
local Result = modules.a()
return function(path, builtPath)
local parts = path:split('/')
builtPath = builtPath or ''
for k, part in parts, nil, nil do
if part == '' then continue end
local str7 = k == #parts and '' or '/'
local toStr = tostring
builtPath ..= string.format('%s%s', tostring(part), toStr(str7))
if isfile(builtPath) then
return Result.err(
'ensureFolderPath',
'collision',
string.format('expected `%s` to be non-existant or a folder, found a file instead.', tostring(builtPath))
)
end
if not isfolder(builtPath) then makefolder(builtPath) end
end
return Result.VoidOk
end
end
modules.e = function()
local cached = modules.cache.e
if not cached then
cached = { c = buildEnsureFolderPath() }
modules.cache.e = cached
end
return cached.c
end
end
do -- f ConfigManager: config files (JSON, versions, migrations)
local function buildConfigManager()
local Result = modules.a()
local deepCopy = modules.d()
local ensureFolderPath = modules.e()
local httpService = cloneref(game:GetService(constantPool[182]))
local ConfigManager = {}
ConfigManager.__index = ConfigManager
local function cloneIfTable(value)
local tableType = constantPool[68]
if type(value) == tableType then return deepCopy(value) end
return value
end
local function ensureTrailingSlash(path)
if path == nil or path == '' then return '' end
if path:sub(-constantPool[63]) == '/' then return path end
return path .. '/'
end
local function validateConfigName(name)
if name == '' then return Result.err('ConfigManager', 'validateConfigName', 'config name cannot be empty') end
if name:find('/') or name:find('\\') then
return Result.err('ConfigManager', 'validateConfigName', 'expected no directory traversal')
end
return Result.VoidOk
end
ConfigManager.new = function(options)
assert(type(options.CurrentVersion) == 'number' and options.CurrentVersion >= constantPool[63], 'expected `CurrentVersion` >= 1')
local savePath = ensureTrailingSlash(options.SavePath)
if savePath ~= '' then
local folderResult = ensureFolderPath(savePath)
if not folderResult.Ok then error(folderResult.Error.Detail, 2) end
end
local serialize = options.Serialize or function(value) return value end
local deserialize = options.Deserialize or function(value) return value end
local defaultConfig = cloneIfTable(options.DefaultConfig)
local manager = {
Data = cloneIfTable(defaultConfig),
_defaultConfig = defaultConfig,
_currentVersion = options.CurrentVersion,
_legacyVersion = options.LegacyVersion or 1,
_savePath = savePath,
_migrations = options.Migrations or {},
_serialize = serialize,
_deserialize = deserialize,
}
setmetatable(manager, ConfigManager)
return manager
end
ConfigManager._ConfigPath = function(self, name)
if name:match('%.json$') then return self._savePath .. name end
local toStr = tostring
return string.format('%s%s.json', tostring(self._savePath), toStr(name))
end
ConfigManager._ApplyMigrations = function(self, fileVersion, data)
if fileVersion < 1 then
return Result.err('ConfigManager', 'ApplyMigrations', string.format('invalid file version %s', tostring(fileVersion)))
end
if self._currentVersion < fileVersion then
local toStr = tostring
local currentVersion = self._currentVersion
return Result.err(
'ConfigManager',
'ApplyMigrations',
string.format('file version %s is newer than current version %s', tostring(fileVersion), toStr(currentVersion))
)
end
local migrated = cloneIfTable(data)
while fileVersion < self._currentVersion do
local migration = self._migrations[fileVersion]
if migration == nil then
local toStr = tostring
return Result.err(
'ConfigManager',
constantPool[36],
string.format('missing migration for version %s -> %s', tostring(fileVersion), toStr(fileVersion + 1))
)
end
local ok, result = protectedCall(migration, migrated, fileVersion, fileVersion + constantPool[63])
if not ok then
local toStr = tostring
return Result.err(
constantPool[35],
'ApplyMigrations',
string.format('migration %s -> %s failed: %s', tostring(fileVersion), tostring(fileVersion + constantPool[63]), toStr(result))
)
end
if result == nil then
local toStr = tostring
return Result.err(
'ConfigManager',
'ApplyMigrations',
string.format('migration %s -> %s returned nil', tostring(fileVersion), toStr(fileVersion + 1))
)
end
fileVersion += 1
migrated = result
end
return Result.ok(migrated)
end
ConfigManager.SetData = function(self, data) self.Data = data end
ConfigManager.Reset = function(self)
local fresh = deepCopy(self._defaultConfig)
self.Data = fresh
return fresh
end
ConfigManager.ToJson = function(self, data)
if data == nil then data = self.Data end
local serializeOk, serialized = protectedCall(self._serialize, data)
if not serializeOk then
return Result.err('ConfigManager', 'ToJson', string.format('failed to serialize config: %s', tostring(serialized)))
end
local encodeOk, json = protectedCall(httpService.JSONEncode, httpService, { Version = self._currentVersion, Data = serialized })
if not encodeOk then
return Result.err(
'ConfigManager',
'ToJson',
string.format('failed to encode config payload as JSON: %s', tostring(json))
)
end
return Result.ok(json)
end
ConfigManager.FromJson = function(self, json)
local decodeOk, payload = protectedCall(httpService.JSONDecode, httpService, json)
if not decodeOk then
return Result.err(constantPool[35], constantPool[169], string.format('failed to decode JSON payload: %s', tostring(payload)))
end
if type(payload) ~= 'table' then
return Result.err('ConfigManager', 'FromJson', 'expected decoded config JSON to be a table')
end
local legacyVersion = self._legacyVersion
local version = payload.Version
local data = payload.Data
if version == nil and data == nil then
version = payload.version
data = payload.data
end
if not (type(version) == 'number' and data ~= nil) then
data = payload
version = legacyVersion
end
local migrated = self:_ApplyMigrations(version, data)
if not migrated.Ok then return Result.err('ConfigManager', constantPool[169], migrated.Error.Detail) end
local deserializeOk, config = protectedCall(self._deserialize, migrated.Value)
if not deserializeOk then
return Result.err('ConfigManager', 'FromJson', string.format('failed to deserialize config data: %s', tostring(config)))
end
if config == nil then return Result.err('ConfigManager', 'FromJson', 'deserializer returned nil') end
self.Data = config
return Result.ok(config)
end
ConfigManager._SaveImpl = function(self, name, data, noOverwrite)
local valid = validateConfigName(name)
if not valid.Ok then return valid end
local path = self:_ConfigPath(name)
if noOverwrite and isfile(path) then
return Result.err('ConfigManager', 'SaveImpl', string.format('path `%s` already exists', tostring(path)))
end
local json = self:ToJson(data)
if not json.Ok then return Result.err('ConfigManager', 'SaveImpl', json.Error.Detail) end
writefile(path, json.Value)
return Result.VoidOk
end
ConfigManager.SaveToFile = function(self, name, noOverwrite) return self:_SaveImpl(name, nil, noOverwrite) end
ConfigManager.LoadFromFile = function(self, name)
local valid = validateConfigName(name)
if not valid.Ok then return Result.err('ConfigManager', constantPool[76], valid.Error.Detail) end
local path = self:_ConfigPath(name)
if not isfile(path) then
return Result.err(constantPool[35], 'LoadFromFile', string.format('path `%s` does not exist', tostring(path)))
end
local contents = readfile(path)
return self:FromJson(contents)
end
ConfigManager.Exists = function(self, name)
if not validateConfigName(name).Ok then return constantPool[153] end
return isfile(self:_ConfigPath(name))
end
ConfigManager.SaveDefaultToFile = function(self, name, noOverwrite) return self:_SaveImpl(name, self._defaultConfig, noOverwrite) end
ConfigManager.Delete = function(self, name)
local valid = validateConfigName(name)
if not valid.Ok then return valid end
local path = self:_ConfigPath(name)
if not isfile(path) then
return Result.err('ConfigManager', constantPool[38], string.format('path `%s` does not exist', tostring(path)))
end
delfile(path)
return Result.VoidOk
end
ConfigManager.AllConfigs = function(self)
local names = {}
if self._savePath == '' then return names end
for _, file in listfiles(self._savePath) do
if isfile(file) then
local match = (file:match('[/\\]([^/\\]+)$') or file):match('(.+)%.json$')
if match ~= nil then table.insert(names, match) end
end
end
return names
end
return ConfigManager
end
modules.f = function()
local cached = modules.cache.f
if not cached then
cached = { c = buildConfigManager() }
modules.cache.f = cached
end
return cached.c
end
end
do -- g GoodSignal: Signal / Connection implementation
local function buildGoodSignal()
local freeRunnerThread
local function acquireRunnerThreadAndCallEventHandler(fn, ...)
local acquired = freeRunnerThread
freeRunnerThread = nil
fn(...)
freeRunnerThread = acquired
end
local function runEventHandlerInFreeThread(...)
acquireRunnerThreadAndCallEventHandler(...)
while true do
acquireRunnerThreadAndCallEventHandler(coroutine.yield())
end
end
local ConnectionClass = {}
ConnectionClass.__index = ConnectionClass
ConnectionClass.Disconnect = function(self)
if not self.Connected then return end
self.Connected = false
if self._signal._handlerListHead == self then
self._signal._handlerListHead = self._next
else
local node = self._signal._handlerListHead
while node and node._next ~= self do
node = node._next
end
if node then node._next = self._next end
end
end
ConnectionClass.Destroy = ConnectionClass.Disconnect
setmetatable(
ConnectionClass,
{
__index = function(_, key) error(('Attempt to get Connection::%s (not a valid member)'):format(tostring(key)), 2) end,
__newindex = function(_, key, _value)
error(('Attempt to set Connection::%s (not a valid member)'):format(tostring(key)), 2)
end,
}
)
local SignalClass = {}
SignalClass.__index = SignalClass
SignalClass.new = function() return (setmetatable({ _handlerListHead = false, _proxyHandler = nil, _yieldedThreads = nil }, SignalClass)) end
SignalClass.Wrap = function(rbxScriptSignal)
assert(typeof(rbxScriptSignal) == 'RBXScriptSignal', 'Argument #1 to Signal.Wrap must be a RBXScriptSignal; got ' .. typeof(rbxScriptSignal))
local signal = SignalClass.new()
signal._proxyHandler = rbxScriptSignal:Connect(function(...) signal:Fire(...) end)
return signal
end
SignalClass.Is = function(object) return type(object) == 'table' and getmetatable(object) == SignalClass end
SignalClass.Connect = function(self, fn)
local connection = setmetatable({ Connected = true, _signal = self, _fn = fn, _next = false }, ConnectionClass)
if self._handlerListHead then
connection._next = self._handlerListHead
self._handlerListHead = connection
else
self._handlerListHead = connection
end
return connection
end
SignalClass.ConnectOnce = function(self, fn) return self:Once(fn) end
SignalClass.Once = function(self, fn)
local connection
local done = false
connection = self:Connect(function(...)
if done then return end
done = true
connection:Disconnect()
fn(...)
end)
return connection
end
SignalClass.GetConnections = function(self)
local items, item = {}, self._handlerListHead
while item do
table.insert(items, item)
item = item._next
end
return items
end
SignalClass.DisconnectAll = function(self)
local item = self._handlerListHead
while item do
item.Connected = false
item = item._next
end
self._handlerListHead = false
item = rawGet(self, '_yieldedThreads')
if item then
for thread in item, nil, nil do
if coroutine.status(thread) == 'suspended' then
warn((debug.traceback :: any)(thread, 'signal disconnected; yielded thread cancelled', 2))
task.cancel(thread)
end
end
table.clear(self._yieldedThreads)
end
end
SignalClass.Fire = function(self, ...)
local item = self._handlerListHead
while item do
if item.Connected then
self = freeRunnerThread
if not self then freeRunnerThread = coroutine.create(runEventHandlerInFreeThread) end
task.spawn(freeRunnerThread, item._fn, ...)
end
item = item._next
end
end
SignalClass.FireDeferred = function(self, ...)
local item = self._handlerListHead
while item do
local current = item
task.defer(function(...)
if current.Connected then current._fn(...) end
end, ...)
item = item._next
end
end
SignalClass.Wait = function(self)
local yielded = rawGet(self, '_yieldedThreads')
if not yielded then
yielded = {}
rawSet(self, '_yieldedThreads', yielded)
end
local thread = coroutine.running()
yielded[thread] = true
self:Once(function(...)
yielded[thread] = nil
if coroutine.status(thread) == 'suspended' then task.spawn(thread, ...) end
end)
return coroutine.yield()
end
SignalClass.Destroy = function(self)
self:DisconnectAll()
local proxy = rawGet(self, '_proxyHandler')
if proxy then proxy:Disconnect() end
end
return table.freeze({ new = SignalClass.new, Wrap = SignalClass.Wrap, Is = SignalClass.Is })
end
modules.g = function()
local cached = modules.cache.g
if not cached then
local created = { c = buildGoodSignal() }
modules.cache.g = created
cached = created
end
return cached.c
end
end
do -- h ManagedSignal: signal with switchable connections
local function buildManagedSignal()
local GoodSignal = modules.g()
local ManagedSignal = {}
ManagedSignal.__index = ManagedSignal
local ManagedConnection = {}
ManagedConnection.__index = ManagedConnection
ManagedConnection.Enable = function(self)
if self.Connected then return end
self.Connected = true
self._inner = self._signal._inner:Connect(self._callback)
end
ManagedConnection.Disable = function(self)
if not self.Connected then return end
self.Connected = false
local inner = self._inner
if inner ~= nil then inner:Disconnect() end
self._inner = nil
end
ManagedConnection.Disconnect = ManagedConnection.Disable
ManagedConnection.Destroy = ManagedConnection.Disable
ManagedSignal.Connect = function(self, callback)
local connection = setmetatable({ _signal = self, _callback = callback, _inner = nil, Connected = false }, ManagedConnection)
connection:Enable()
return connection
end
ManagedSignal.Fire = function(self, value) self._inner:Fire(value) end
ManagedSignal.FireDeferred = function(self, value) self._inner:FireDeferred(value) end
ManagedSignal.Once = function(self, callback) return self._inner:Once(callback) end
ManagedSignal.Wait = function(self) return self._inner:Wait() end
ManagedSignal.DisconnectAll = function(self) self._inner:DisconnectAll() end
ManagedSignal.GetConnections = function(self) return self._inner:GetConnections() end
ManagedSignal.Destroy = function(self) self._inner:Destroy() end
return table.freeze({ new = function() return (setmetatable({ _inner = GoodSignal.new() }, ManagedSignal)) end })
end
modules.h = function()
local cached = modules.cache.h
if not cached then
local created = { c = buildManagedSignal() }
modules.cache.h = created
cached = created
end
return cached.c
end
end
do -- i Atomic: marks tables that are never merged or walked
local function buildAtomic()
local marker = {}
return {
atomic = function(value)
setmetatable(value, marker)
return value
end,
isAtomic = function(value) return type(value) == 'table' and getmetatable(value) == marker end,
}
end
modules.i = function()
local cached = modules.cache.i
if not cached then
local created = { c = buildAtomic() }
modules.cache.i = created
cached = created
end
return cached.c
end
end
do -- j PathUtil: path <-> key, navigate / set / walk nested tables
local function buildPathUtil()
if true then
local isAtomic = modules.i().isAtomic
local PathUtil
PathUtil = {
PathToKey = function(path) return table.concat(path, '.') end,
KeyToPath = function(key) return key:split('.') end,
NavigateTo = function(node, path, silent)
if #path == 0 then return nil end
for index = 1, #path, 1 do
local key = path[index]
if index == #path then return node[key] end
node = node[key]
if node == nil then
if silent then return nil end
error(
string.format(
"Invalid path specified '%s', key %s is nil!",
tostring(table.concat(path, '.')),
tostring(key)
),
2
)
elseif type(node) ~= 'table' then
if silent then return nil end
error(
string.format(
"Invalid path specified '%s', key %s is not a branch!",
tostring(table.concat(path, '.')),
tostring(key)
),
2
)
end
end
return nil
end,
Set = function(node, path, value)
for index = 1, #path, 1 do
local key = path[index]
if index == #path then
node[key] = value
return
end
local child = node[key]
if child == nil then
child = {}
node[key] = child
elseif type(child) ~= 'table' then
local pathKey = PathUtil.PathToKey(path)
error(
string.format("Invalid path specified '%s', key %s is not a table!", tostring(pathKey), tostring(key)),
2
)
end
node = child
end
end,
ForEachEntry = function(tree, callback)
local path = {}
local function walk(branch)
for key, child in branch, nil, nil do
table.insert(path, key)
callback(path, child)
if type(child) == 'table' and not isAtomic(child) then walk(child) end
table.remove(path)
end
end
walk(tree)
end,
ForEachLeafValue = function(tree, reference, callback)
local path = {}
local function walk(branch, refBranch)
for key, value in branch, nil, nil do
table.insert(path, key)
local refChild = if refBranch ~= nil then refBranch[key] else nil
local refIsTable = type(refChild) == 'table'
key = if type(value) == 'table'
and not isAtomic(value)
and not (refIsTable and (isAtomic(refChild)))
and (refChild == nil or refIsTable)
then (walk(value, if refIsTable then refChild else nil))
else if refIsTable and not isAtomic(refChild) then false else callback(path, value) == true
table.remove(path)
if key then return true end
end
return false
end
walk(tree, reference)
end,
}
return PathUtil
end
return nil
-- (anti-tamper freeze trap removed)
end
modules.j = function()
local cached = modules.cache.j
if not cached then
local created = { c = buildPathUtil() }
modules.cache.j = created
cached = created
end
return cached.c
end
end
do -- l ReactiveStore: config store with change signals and live overrides
local function buildReactiveStore()
local ConfigManager = modules.f()
local ManagedSignal = modules.h()
local PathUtil = modules.j()
local Result = modules.a()
local GoodSignal = modules.g()
local Trove = modules.k()
local deepCopy = modules.d()
local isAtomic = modules.i().isAtomic
local ReactiveStore = {}
ReactiveStore.__index = ReactiveStore
ReactiveStore.new = function(options)
local trove = Trove.new('ReactiveStore')
return setmetatable({
_trove = trove,
Default = options.DefaultConfig,
Data = deepCopy(options.DefaultConfig),
_middleware = {},
_configManager = ConfigManager.new({
DefaultConfig = options.DefaultConfig,
CurrentVersion = options.CurrentVersion,
LegacyVersion = options.LegacyVersion,
SavePath = options.SavePath,
Migrations = options.Migrations,
Serialize = options.Serialize,
Deserialize = options.Deserialize,
}),
_listenerByPathKey = {},
_listenerTrieRoot = {},
_pendingUpdateByPathKey = {},
_pendingOrder = {},
_isFlushing = false,
_isLoading = false,
_lastPublishedValueByPathKey = {},
_liveValueByPathKey = {},
Reloaded = trove:Add(GoodSignal.new()),
Changed = trove:Add(GoodSignal.new()),
}, ReactiveStore)
end
ReactiveStore.UseMiddleware = function(self, middleware) self._middleware = middleware end
local leafKey = {}
ReactiveStore.GetPropertyChangedSignal = function(self, path)
local pathKey = PathUtil.PathToKey(path)
local signal = self._listenerByPathKey[pathKey]
if signal == nil then
local newSignal = self._trove:Add(ManagedSignal.new())
self._listenerByPathKey[pathKey] = newSignal
local listenerTrieRoot = self._listenerTrieRoot
for _, key in path, nil, nil do
local child = listenerTrieRoot[key]
if child ~= nil then
listenerTrieRoot = child
else
local branch = {}
listenerTrieRoot[key] = branch
listenerTrieRoot = branch
end
end
listenerTrieRoot[leafKey] = newSignal
signal = newSignal
end
return signal
end
ReactiveStore._FireChanged = function(self, pathKey, value, force)
local pending = self._pendingUpdateByPathKey[pathKey]
if not force and pending == nil and self._lastPublishedValueByPathKey[pathKey] == value then return end
if pending == nil then table.insert(self._pendingOrder, pathKey) end
self._pendingUpdateByPathKey[pathKey] = { Value = value }
end
ReactiveStore._Flush = function(self)
if self._isFlushing then return end
self._isFlushing = true
while #self._pendingOrder > 0 do
local order, updates = self._pendingOrder, self._pendingUpdateByPathKey
self._pendingUpdateByPathKey = {}
self._pendingOrder = {}
for _index, pathKey in order, nil, nil do
local update, signal = updates[pathKey], self._listenerByPathKey[pathKey]
if signal then signal:Fire(update.Value) end
self._lastPublishedValueByPathKey[pathKey] = update.Value
end
end
self._isFlushing = false
end
ReactiveStore._FireForChangedPaths = function(self, paths)
local function publish(p)
local value = PathUtil.NavigateTo(self.Data, p, true)
self:_FireChanged(PathUtil.PathToKey(p), value, type(value) == 'table')
end
local function below(node, p)
for k, child in next, node do
if k ~= leafKey and type(child) == 'table' then
table.insert(p, k)
if child[leafKey] ~= nil then publish(p) end
below(child, p)
table.remove(p)
end
end
end
for _, path in paths do
local node, prefix = self._listenerTrieRoot, {}
for i = 1, #path do
node = node[path[i]]
if node == nil then break end
prefix[i] = path[i]
if node[leafKey] ~= nil then publish(prefix) end
if i == #path then below(node, table.clone(prefix)) end
end
end
end
ReactiveStore._FireListenersOnly = function(self, path)
self:_FireForChangedPaths({ path })
self:_Flush()
end
ReactiveStore.Get = function(self, path, silent) return PathUtil.NavigateTo(self.Data, path, silent) end
ReactiveStore.Set = function(self, path, value)
local middleware = self._middleware
local scratch = middleware.Set
value = if scratch ~= nil then (scratch(middleware, path, value)) else value
local scratch2 = self.Data
scratch = PathUtil.NavigateTo(scratch2, path, true) ~= value
if scratch then PathUtil.Set(scratch2, path, value) end
scratch2 = middleware.SetApplied
if scratch2 ~= nil then scratch2(middleware, path, value) end
if scratch then self:_FireForChangedPaths({ path }) end
scratch2 = PathUtil.PathToKey(path)
scratch = self._liveValueByPathKey[scratch2]
if scratch ~= nil then scratch.Base = value end
if self._pendingUpdateByPathKey[scratch2] == nil then self:_FireChanged(scratch2, value) end
self:_Flush()
if not self._isLoading then self.Changed:Fire(path, value) end
end
ReactiveStore.SetLiveOverride = function(self, path, value)
local pathKey = PathUtil.PathToKey(path)
if self._liveValueByPathKey[pathKey] == nil then
self._liveValueByPathKey[pathKey] = { Path = path, Base = PathUtil.NavigateTo(self.Data, path, true) }
end
PathUtil.Set(self.Data, path, value)
self:_FireListenersOnly(path, value)
end
ReactiveStore.ClearLiveOverride = function(self, path)
local pathKey = PathUtil.PathToKey(path)
local live = self._liveValueByPathKey[pathKey]
if live == nil then return end
self._liveValueByPathKey[pathKey] = nil
PathUtil.Set(self.Data, path, live.Base)
self:_FireListenersOnly(path, live.Base)
end
ReactiveStore.GetBase = function(self, path)
local live = self._liveValueByPathKey[PathUtil.PathToKey(path)]
if live ~= nil then return live.Base end
return PathUtil.NavigateTo(self.Data, path, true)
end
ReactiveStore.RebaseLiveOverride = function(self, path, base)
local live = self._liveValueByPathKey[PathUtil.PathToKey(path)]
if live == nil then return constantPool[153] end
live.Base = base
return true
end
ReactiveStore.PublishPath = function(self, path) self:_FireListenersOnly(path, PathUtil.NavigateTo(self.Data, path, true)) end
ReactiveStore._PersistableData = function(self)
local data = self.Data
local isPristine = true
if next(self._liveValueByPathKey) ~= nil then
data = deepCopy(data)
for _, live in self._liveValueByPathKey, nil, nil do
PathUtil.Set(data, live.Path, live.Base)
end
isPristine = false
end
local middleware = self._middleware
local persistable = middleware.Persistable
local persisted
if persistable ~= nil then
persisted = persistable(middleware, data, isPristine)
else
persisted = data
end
return persisted
end
ReactiveStore.SaveToFile = function(self, name, noOverwrite)
self._configManager:SetData(self:_PersistableData())
return self._configManager:SaveToFile(name, noOverwrite)
end
ReactiveStore.CreateDefault = function(self, name) return self._configManager:SaveDefaultToFile(name, constantPool[34]) end
local mergeDefaults = nil
mergeDefaults = function(defaults, loaded)
if type(defaults) ~= 'table' or isAtomic(defaults) then
local picked = (loaded == nil and { defaults } or { loaded })[1]
return (type(picked) == 'table' and { (deepCopy(picked)) } or { picked })[1]
end
if type(loaded) ~= 'table' then return deepCopy(defaults) end
local merged = table.clone(defaults)
for k, value in defaults, nil, nil do
merged[k] = mergeDefaults(value, loaded[k])
end
for k, value in loaded, nil, nil do
if defaults[k] == nil then merged[k] = (type(value) == 'table' and { (deepCopy(value)) } or { value })[constantPool[63]] end
end
return merged
end
local applyDiff = nil
applyDiff = function(target, source, defaults, path, changedPaths)
for k, oldValue in target, nil, nil do
if not (source ~= nil and source[k] ~= nil) then
table.insert(path, k)
local defaultValue = (defaults ~= nil and { defaults[k] } or { nil })[1]
if
type(oldValue) == 'table'
and not isAtomic(oldValue)
and (defaultValue == nil or type(defaultValue) == 'table' and not isAtomic(defaultValue))
then
applyDiff(oldValue, nil, defaultValue, path, changedPaths)
end
target[k] = nil
table.insert(changedPaths, table.clone(path))
table.remove(path)
end
end
if source == nil then return end
for k, newValue in source, nil, nil do
table.insert(path, k)
local existing = target[k]
local defaultValue = (defaults ~= nil and { defaults[k] } or { nil })[1]
if
type(newValue) == 'table'
and not isAtomic(newValue)
and (defaultValue == nil or type(defaultValue) == 'table' and not isAtomic(defaultValue))
then
if type(existing) ~= 'table' or isAtomic(existing) then
existing = {}
target[k] = existing
table.insert(changedPaths, table.clone(path))
end
applyDiff(existing, newValue, defaultValue, path, changedPaths)
elseif existing ~= newValue then
if
type(existing) == 'table'
and not isAtomic(existing)
and (defaultValue == nil or type(defaultValue) == 'table' and not isAtomic(defaultValue))
then
applyDiff(existing, nil, defaultValue, path, changedPaths)
end
target[k] = newValue
table.insert(changedPaths, table.clone(path))
end
table.remove(path)
end
end
ReactiveStore._ApplyLoadedData = function(self, data)
local merged = mergeDefaults(self.Default, data)
self._isLoading = true
table.clear(self._lastPublishedValueByPathKey)
table.clear(self._pendingUpdateByPathKey)
table.clear(self._pendingOrder)
table.clear(self._liveValueByPathKey)
local changedPaths = {}
applyDiff(self.Data, merged, self.Default, {}, changedPaths)
local loaded = self._middleware.Loaded
if loaded ~= nil then loaded(self._middleware, merged) end
self:_FireForChangedPaths(changedPaths)
self:_Flush()
self.Reloaded:Fire()
self._isLoading = constantPool[153]
end
ReactiveStore.LoadFromFile = function(self, name)
local result = self._configManager:LoadFromFile(name)
if not result.Ok then return Result.err('ReactiveStore', 'LoadFromFile', result.Error.Detail) end
local value = result.Value
self:_ApplyLoadedData(value)
return Result.ok(value)
end
ReactiveStore.ExportToJson = function(self)
local result = self._configManager:ToJson(self:_PersistableData())
if not result.Ok then return Result.err('ReactiveStore', constantPool[99], result.Error.Detail) end
return Result.ok(result.Value)
end
ReactiveStore.InstallFromJson = function(self, name, json)
local decoded = self._configManager:FromJson(json)
if not decoded.Ok then return Result.err('ReactiveStore', 'InstallFromJson', decoded.Error.Detail) end
local saved = self._configManager:SaveToFile(name)
if not saved.Ok then return Result.err(constantPool[2], 'InstallFromJson', saved.Error.Detail) end
return Result.VoidOk
end
ReactiveStore.LoadFromJson = function(self, json)
local decoded = self._configManager:FromJson(json)
if not decoded.Ok then return Result.err(constantPool[2], 'LoadFromJson', decoded.Error.Detail) end
self:_ApplyLoadedData(decoded.Value)
return Result.VoidOk
end
ReactiveStore.DeleteFile = function(self, name)
local result = self._configManager:Delete(name)
if not result.Ok then return Result.err('ReactiveStore', 'DeleteFile', result.Error.Detail) end
return Result.VoidOk
end
ReactiveStore.AllConfigs = function(self) return self._configManager:AllConfigs() end
ReactiveStore.Destroy = function(self) self._trove:Destroy() end
return ReactiveStore
end
modules.l = function()
local cached = modules.cache.l
if not cached then
cached = { c = buildReactiveStore() }
modules.cache.l = cached
end
return cached.c
end
end
do -- m ValueCodec: Roblox values <-> plain tables for JSON
local function buildValueCodec()
local ValueCodec
ValueCodec = {
normalize = function(config)
local normalized = {}
for k, value in config, nil, nil do
local kind = typeof(value)
local encoded
if kind == 'Color3' then
encoded = { __type = constantPool[115], R = value.R, G = value.G, B = value.B }
elseif kind == 'EnumItem' then
encoded = { __type = 'EnumItem', EnumType = tostring(value.EnumType), Name = value.Name }
elseif kind == 'Vector3' then
encoded = { __type = constantPool[20], X = value.X, Y = value.Y, Z = value.Z }
elseif kind == constantPool[127] then
encoded = { __type = 'CFrame', Components = { value:GetComponents() } }
elseif kind == 'ColorSequence' then
local keypoints = table.create(#value.Keypoints)
for k2, keypoint in value.Keypoints, nil, nil do
keypoints[k2] = { Time = keypoint.Time, R = keypoint.Value.R, G = keypoint.Value.G, B = keypoint.Value.B }
end
encoded = { __type = constantPool[93], Keypoints = keypoints }
elseif kind == 'NumberSequence' then
local keypoints = table.create(#value.Keypoints)
for k2, keypoint in value.Keypoints, nil, nil do
keypoints[k2] = { Time = keypoint.Time, Value = keypoint.Value, Envelope = keypoint.Envelope }
end
encoded = { __type = 'NumberSequence', Keypoints = keypoints }
elseif kind == 'table' then
encoded = ValueCodec.normalize(value)
else
encoded = value
end
normalized[k] = encoded
end
return normalized
end,
parse = function(encoded)
local decoded = {}
for k, value in encoded, nil, nil do
if typeof(value) == 'table' then
local type_ = value.__type
if type(type_) ~= 'string' then
decoded[k] = ValueCodec.parse(value)
else
if type_ == 'Color3' then
value = Color3.new(value.R, value.G, value.B)
elseif type_ == 'EnumItem' then
value = Enum[value.EnumType][value.Name]
elseif type_ == 'Vector3' then
value = Vector3.new(value.X, value.Y, value.Z)
elseif type_ == 'CFrame' then
value = CFrame.new(unpack(value.Components))
elseif type_ == constantPool[93] then
local keypoints = table.create(#value.Keypoints)
for k2, keypoint in value.Keypoints, nil, nil do
keypoints[k2] = ColorSequenceKeypoint.new(keypoint.Time, Color3.new(keypoint.R, keypoint.G, keypoint.B))
end
value = ColorSequence.new(keypoints)
elseif type_ == 'NumberSequence' then
local keypoints = table.create(#value.Keypoints)
for k2, keypoint in value.Keypoints, nil, nil do
keypoints[k2] = NumberSequenceKeypoint.new(keypoint.Time, keypoint.Value, keypoint.Envelope)
end
value = NumberSequence.new(keypoints)
end
decoded[k] = value
end
continue
end
decoded[k] = value
end
return decoded
end,
}
return ValueCodec
end
modules.m = function()
local cached = modules.cache.m
if not cached then
local created = { c = buildValueCodec() }
modules.cache.m = created
cached = created
end
return cached.c
end
end
do -- n GlobalTrove: root cleanup container
local function buildGlobalTrove()
local GlobalTrove = modules.k().new('GlobalTrove')
Zkxhub.GlobalTrove = GlobalTrove
return GlobalTrove
end
modules.n = function()
local cached = modules.cache.n
if not cached then
local created = { c = buildGlobalTrove() }
modules.cache.n = created
cached = created
end
return cached.c
end
end
do -- ad ErrorReporter: error log that forwards to the sink
local function buildErrorReporter()
local errorSink = modules.b()
modules.a()
local ErrorReporter = {}
ErrorReporter.__index = ErrorReporter
ErrorReporter.new = function()
local reporter = { _errors = {}, _sink = errorSink.get() }
setmetatable(reporter, ErrorReporter)
return reporter
end
ErrorReporter.Report = function(self, failure)
local errors = self._errors
if #errors >= constantPool[137] then table.remove(errors, constantPool[63]) end
table.insert(errors, failure)
local sink = self._sink
if sink ~= nil then sink:Report(failure) end
end
ErrorReporter.ReportResult = function(self, result)
if not result.Ok then self:Report(result.Error) end
return result
end
ErrorReporter.GetErrors = function(self) return self._errors end
ErrorReporter.Destroy = function(self)
table.clear(self._errors)
self._sink = nil
end
return ErrorReporter
end
modules.ad = function()
local cached = modules.cache.ad
if not cached then
local created = { c = buildErrorReporter() }
modules.cache.ad = created
cached = created
end
return cached.c
end
end
do -- ay Promise (evaera): promises, timeouts, retries
local function buildPromise()
local weakKeyMetatable = { __mode = 'k' }
local function isCallable(value)
if type(value) == 'function' then return true end
if type(value) == 'table' then
local metatable = getmetatable(value)
if metatable and type(rawGet(metatable, '__call')) == 'function' then return true end
end
return false
end
local function makeEnum(enumName, members)
local enum = {}
for _, member in ipairs(members) do
enum[member] = member
end
return setmetatable(
enum,
{
__index = function(_, key) error(string.format('%s is not in %s!', key, enumName), 2) end,
__newindex = function() error(string.format('Creating new members in %s is not allowed!', enumName), 2) end,
}
)
end
local PromiseError: any
PromiseError = { Kind = makeEnum('Promise.Error.Kind', { 'ExecutionError', 'AlreadyCancelled', 'NotResolvedInTime', 'TimedOut' }) }
PromiseError.__index = PromiseError
PromiseError.new = function(options, parent)
options = options or {}
return setmetatable(
{
error = tostring(options.error) or '[This error has no error text.]',
trace = options.trace,
context = options.context,
kind = options.kind,
parent = parent,
createdTick = os.clock(),
createdTrace = debug.traceback(),
},
PromiseError
)
end
PromiseError.is = function(value)
if type(value) == 'table' then
local metatable = getmetatable(value)
if type(metatable) == 'table' then return rawGet(value, 'error') ~= nil and type(rawGet(metatable, 'extend')) == 'function' end
end
return false
end
PromiseError.isKind = function(err, kind)
assert(kind ~= nil, 'Argument #2 to Promise.Error.isKind must not be nil')
return PromiseError.is(err) and err.kind == kind
end
PromiseError.extend = function(self, options)
options = options or {}
options.kind = options.kind or self.kind
return PromiseError.new(options, self)
end
PromiseError.getErrorChain = function(self)
local chain = { self }
while chain[#chain].parent do
table.insert(chain, chain[#chain].parent)
end
return chain
end
PromiseError.__tostring = function(self)
local parts = { string.format('-- Promise.Error(%s) --', self.kind or '?') }
for _, err in ipairs(self:getErrorChain()) do
table.insert(parts, table.concat({ err.trace or err.error, err.context }, '\10'))
end
return table.concat(parts, '\10')
end
local function pack(...) return select('#', ...), { ... } end
local function packResult(success, ...) return success, select('#', ...), { ... } end
local function makeErrorHandler(traceback)
assert(traceback ~= nil, 'traceback is nil')
return function(err)
if type(err) == 'table' then return err end
return PromiseError.new({
error = err,
kind = PromiseError.Kind.ExecutionError,
trace = debug.traceback(tostring(err), 2),
context = 'Promise created at:\10\10' .. traceback,
})
end
end
local function runExecutor(traceback, callback, ...) return packResult(xpcall(callback, makeErrorHandler(traceback), ...)) end
local function createAdvancer(traceback, callback, resolve, reject)
return function(...)
local ok, resultLength, values = runExecutor(traceback, callback, ...)
if ok then
resolve(unpack(values, 1, resultLength))
else
reject(values[1])
end
end
end
local function isEmpty(tbl) return next(tbl) == nil end
local Promise: any = {
Error = PromiseError,
Status = makeEnum('Promise.Status', { 'Started', 'Resolved', 'Rejected', 'Cancelled' }),
_getTime = os.clock,
_timeEvent = game:GetService('RunService').Heartbeat,
_unhandledRejectionCallbacks = {},
prototype = {},
}
Promise.__index = Promise.prototype
Promise._new = function(traceback, callback, parent)
if parent ~= nil and not Promise.is(parent) then error('Argument #2 to Promise.new must be a promise or nil', 2) end
local promise = {
_thread = nil,
_source = traceback,
_status = Promise.Status.Started,
_values = nil,
_valuesLength = -1,
_unhandledRejection = true,
_queuedResolve = {},
_queuedReject = {},
_queuedFinally = {},
_cancellationHook = nil,
_parent = parent,
_consumers = setmetatable({}, weakKeyMetatable),
}
if parent and parent._status == Promise.Status.Started then parent._consumers[promise] = true end
setmetatable(promise, Promise)
local function resolve(...) promise:_resolve(...) end
local function reject(...) promise:_reject(...) end
local function onCancel(cancellationHook)
if cancellationHook then
if promise._status == Promise.Status.Cancelled then
cancellationHook()
else
promise._cancellationHook = cancellationHook
end
end
return promise._status == Promise.Status.Cancelled
end
promise._thread = coroutine.create(function()
local ok, _resultLength, values = runExecutor(promise._source, callback, resolve, reject, onCancel)
if not ok then reject(values[1]) end
end)
task.spawn(promise._thread)
return promise
end
Promise.new = function(executor) return Promise._new(debug.traceback(nil, 2), executor) end
Promise.__tostring = function(self) return string.format('Promise(%s)', self._status) end
Promise.defer = function(callback)
local traceback = debug.traceback(nil, 2)
return (
Promise._new(traceback, function(resolve, reject, onCancel)
local connection
connection = Promise._timeEvent:Connect(function()
connection:Disconnect()
local ok, _resultLength, values = runExecutor(traceback, callback, resolve, reject, onCancel)
if not ok then reject(values[1]) end
end)
end)
)
end
Promise.async = Promise.defer
Promise.resolve = function(...)
local length, values = pack(...)
return Promise._new(debug.traceback(nil, 2), function(resolve) resolve(unpack(values, 1, length)) end)
end
Promise.reject = function(...)
local length, values = pack(...)
return Promise._new(debug.traceback(nil, 2), function(_, reject) reject(unpack(values, 1, length)) end)
end
Promise._try = function(traceback, callback, ...)
local length, values = pack(...)
return Promise._new(traceback, function(resolve) resolve(callback(unpack(values, 1, length))) end)
end
Promise.try = function(callback, ...) return Promise._try(debug.traceback(nil, 2), callback, ...) end
Promise._all = function(traceback, promises, amount)
if type(promises) ~= 'table' then error(string.format('Please pass a list of promises to %s', 'Promise.all'), 3) end
for index, promise in pairs(promises) do
if not Promise.is(promise) then
error(string.format('Non-promise value passed into %s at index %s', 'Promise.all', tostring(index)), 3)
end
end
if #promises == 0 or amount == 0 then return Promise.resolve({}) end
return Promise._new(traceback, function(resolve, reject, onCancel)
local resolvedValues, newPromises, resolvedCount, rejectedCount, done = {}, {}, 0, 0, false
local function cancelAll()
for _, promise in ipairs(newPromises) do
promise:cancel()
end
end
local function resolveOne(index, ...)
if done then return end
resolvedCount += 1
if amount == nil then
resolvedValues[index] = ...
else
resolvedValues[resolvedCount] = ...
end
if resolvedCount >= (amount or #promises) then
done = true
resolve(resolvedValues)
cancelAll()
end
end
onCancel(cancelAll)
for index, promise in ipairs(promises) do
newPromises[index] = promise:andThen(function(...) resolveOne(index, ...) end, function(...)
rejectedCount += 1
if amount == nil or #promises - rejectedCount < amount then
cancelAll()
done = true
reject(...)
end
end)
end
if done then cancelAll() end
end)
end
Promise.all = function(promises) return Promise._all(debug.traceback(nil, 2), promises) end
Promise.fold = function(list, callback, initialValue)
assert(type(list) == 'table', 'Bad argument #1 to Promise.fold: must be a table')
assert(isCallable(callback), 'Bad argument #2 to Promise.fold: must be a function')
local accumulator = Promise.resolve(initialValue)
return Promise.each(list, function(value, index)
accumulator = accumulator:andThen(function(previous) return callback(previous, value, index) end)
end):andThen(function() return accumulator end)
end
Promise.some = function(promises, amount)
assert(type(amount) == 'number', 'Bad argument #2 to Promise.some: must be a number')
return Promise._all(debug.traceback(nil, 2), promises, amount)
end
Promise.any = function(promises)
return Promise._all(debug.traceback(nil, 2), promises, 1):andThen(function(values) return values[1] end)
end
Promise.allSettled = function(promises)
if type(promises) ~= 'table' then error(string.format('Please pass a list of promises to %s', 'Promise.allSettled'), 2) end
for index, promise in pairs(promises) do
if not Promise.is(promise) then
error(string.format('Non-promise value passed into %s at index %s', 'Promise.allSettled', tostring(index)), 2)
end
end
if #promises == 0 then return Promise.resolve({}) end
return Promise._new(debug.traceback(nil, 2), function(resolve, _reject, onCancel)
local fates, newPromises, finished = {}, {}, 0
local function resolveOne(index, ...)
finished += 1
fates[index] = ...
if finished >= #promises then resolve(fates) end
end
onCancel(function()
for _, promise in ipairs(newPromises) do
promise:cancel()
end
end)
for index, promise in ipairs(promises) do
newPromises[index] = promise:finally(function(...) resolveOne(index, ...) end)
end
end)
end
Promise.race = function(promises)
assert(type(promises) == 'table', string.format('Please pass a list of promises to %s', 'Promise.race'))
for index, promise in pairs(promises) do
assert(Promise.is(promise), string.format('Non-promise value passed into %s at index %s', 'Promise.race', tostring(index)))
end
return Promise._new(debug.traceback(nil, 2), function(resolve, reject, onCancel)
local newPromises, resolved = {}, false
local function cancelAll()
for _, promise in ipairs(newPromises) do
promise:cancel()
end
end
local function finalize(callback)
return function(...)
cancelAll()
resolved = true
return callback(...)
end
end
if onCancel((finalize(reject))) then return end
for index, promise in ipairs(promises) do
newPromises[index] = promise:andThen(finalize(resolve), (finalize(reject)))
end
if resolved then cancelAll() end
end)
end
Promise.each = function(list, predicate)
assert(type(list) == 'table', string.format('Please pass a list of promises to %s', 'Promise.each'))
assert(isCallable(predicate), string.format('Please pass a handler function to %s!', 'Promise.each'))
return Promise._new(debug.traceback(nil, 2), function(resolve, reject, onCancel)
local results, promisesToCancel, cancelled = {}, {}, false
local function cancelAll()
for _, promise in ipairs(promisesToCancel) do
promise:cancel()
end
end
onCancel(function()
cancelled = true
cancelAll()
end)
onCancel = {}
for index, value in ipairs(list) do
if Promise.is(value) then
if value:getStatus() == Promise.Status.Cancelled then
cancelAll()
return reject(
PromiseError.new({
error = 'Promise is cancelled',
kind = PromiseError.Kind.AlreadyCancelled,
context = string.format(
'The Promise that was part of the array at index %d passed into Promise.each was already cancelled when Promise.each began.\10\10That Promise was created at:\10\10%s',
index,
value._source
),
})
)
elseif value:getStatus() == Promise.Status.Rejected then
cancelAll()
return reject(select(2, value:await()))
end
local fillPromise = value:andThen(function(...) return ... end)
table.insert(promisesToCancel, fillPromise)
onCancel[index] = fillPromise
else
onCancel[index] = value
end
end
for index, value in ipairs(onCancel) do
if Promise.is(value) then
local ok
ok, value = value:await()
if not ok then
cancelAll()
return reject(value)
end
end
if cancelled then return end
local predicatePromise = Promise.resolve(predicate(value, index))
table.insert(promisesToCancel, predicatePromise)
local ok, result = predicatePromise:await()
if not ok then
cancelAll()
return reject(result)
end
results[index] = result
end
resolve(results)
return nil
end)
end
Promise.is = function(value)
if type(value) ~= 'table' then return false end
local metatable = getmetatable(value)
if metatable == Promise then
return true
elseif metatable == nil then
return isCallable(value.andThen)
elseif type(metatable) == 'table' and type(rawGet(metatable, '__index')) == 'table' and (isCallable(rawGet(rawGet(metatable, '__index'), 'andThen'))) then
return true
end
return false
end
Promise.promisify = function(callback)
return function(...) return Promise._try(debug.traceback(nil, 2), callback, ...) end
end
do
local first, connection
Promise.delay = function(seconds)
assert(type(seconds) == 'number', 'Bad argument #1 to Promise.delay, must be a number.')
if not (seconds >= 0.016666666666666666) or seconds == math.huge then seconds = 0.016666666666666666 end
return Promise._new(debug.traceback(nil, 2), function(resolve, startTime, onCancel)
startTime = Promise._getTime()
local endTime = startTime + seconds
local node = { resolve = resolve, startTime = startTime, endTime = endTime }
if connection == nil then
first = node
connection = Promise._timeEvent:Connect(function()
local now = Promise._getTime()
while first ~= nil and first.endTime < now do
local current = first
local finished = current
first = current.next
if first == nil then
connection:Disconnect()
connection = nil
else
first.previous = nil
end
finished.resolve(Promise._getTime() - finished.startTime)
end
end)
elseif first.endTime < endTime then
startTime = first
resolve = startTime.next
while resolve ~= nil and resolve.endTime < endTime do
resolve, startTime = resolve.next, resolve
end
startTime.next = node
node.previous = startTime
if resolve ~= nil then
node.next = resolve
resolve.previous = node
end
else
node.next = first
first.previous = node
first = node
end
onCancel(function()
local nextNode = node.next
if first == node then
if nextNode == nil then
connection:Disconnect()
connection = nil
else
nextNode.previous = nil
end
first = nextNode
else
local previous = node.previous
previous.next = nextNode
if nextNode ~= nil then nextNode.previous = previous end
end
end)
end)
end
end
Promise.prototype.timeout = function(self, seconds, rejectionValue)
local traceback = debug.traceback(nil, 2)
return Promise.race({
Promise.delay(seconds):andThen(
function()
return Promise.reject(
rejectionValue == nil
and (PromiseError.new({
kind = PromiseError.Kind.TimedOut,
error = 'Timed out',
context = string.format(
'Timeout of %d seconds exceeded.\10:timeout() called at:\10\10%s',
seconds,
traceback
),
}))
or rejectionValue
)
end
),
self,
})
end
Promise.prototype.getStatus = function(self) return self._status end
Promise.prototype._andThen = function(self, traceback, successHandler, failureHandler)
self._unhandledRejection = false
if self._status == Promise.Status.Cancelled then
local promise = Promise.new(function() end)
promise:cancel()
return promise
end
return Promise._new(traceback, function(resolve, reject, onCancel)
local successCallback = resolve
if successHandler then successCallback = createAdvancer(traceback, successHandler, resolve, reject) end
local failureCallback = reject
if failureHandler then failureCallback = createAdvancer(traceback, failureHandler, resolve, reject) end
if self._status == Promise.Status.Started then
table.insert(self._queuedResolve, successCallback)
table.insert(self._queuedReject, failureCallback)
onCancel(function()
if self._status == Promise.Status.Started then
table.remove(self._queuedResolve, table.find(self._queuedResolve, successCallback))
table.remove(self._queuedReject, table.find(self._queuedReject, failureCallback))
end
end)
elseif self._status == Promise.Status.Resolved then
successCallback(unpack(self._values, 1, self._valuesLength))
elseif self._status == Promise.Status.Rejected then
failureCallback(unpack(self._values, 1, self._valuesLength))
end
end, self)
end
Promise.prototype.andThen = function(self, successHandler, failureHandler)
assert(successHandler == nil or (isCallable(successHandler)), string.format('Please pass a handler function to %s!', 'Promise:andThen'))
assert(failureHandler == nil or (isCallable(failureHandler)), string.format('Please pass a handler function to %s!', 'Promise:andThen'))
return self:_andThen(debug.traceback(nil, 2), successHandler, failureHandler)
end
Promise.prototype.catch = function(self, failureHandler)
assert(failureHandler == nil or (isCallable(failureHandler)), string.format('Please pass a handler function to %s!', 'Promise:catch'))
return self:_andThen(debug.traceback(nil, 2), nil, failureHandler)
end
Promise.prototype.tap = function(self, tapHandler)
assert(isCallable(tapHandler), string.format('Please pass a handler function to %s!', 'Promise:tap'))
return self:_andThen(debug.traceback(nil, 2), function(...)
local result = tapHandler(...)
if Promise.is(result) then
local length, values = pack(...)
return result:andThen(function() return unpack(values, 1, length) end)
end
return ...
end)
end
Promise.prototype.andThenCall = function(self, callback, ...)
assert(isCallable(callback), string.format('Please pass a handler function to %s!', 'Promise:andThenCall'))
local length, values = pack(...)
return self:_andThen(debug.traceback(nil, 2), function() return callback(unpack(values, 1, length)) end)
end
Promise.prototype.andThenReturn = function(self, ...)
local length, values = pack(...)
return self:_andThen(debug.traceback(nil, 2), function() return unpack(values, 1, length) end)
end
Promise.prototype.cancel = function(self)
if self._status ~= Promise.Status.Started then return end
self._status = Promise.Status.Cancelled
if self._cancellationHook then self._cancellationHook() end
coroutine.close(self._thread)
if self._parent then self._parent:_consumerCancelled(self) end
for consumer in pairs(self._consumers) do
consumer:cancel()
end
self:_finalize()
end
Promise.prototype._consumerCancelled = function(self, consumer)
if self._status ~= Promise.Status.Started then return end
self._consumers[consumer] = nil
if next(self._consumers) == nil then self:cancel() end
end
Promise.prototype._finally = function(self, traceback, finallyHandler)
self._unhandledRejection = false
return (
Promise._new(traceback, function(resolve, reject, onCancel)
local upstreamPromise
onCancel(function()
self:_consumerCancelled(self)
if upstreamPromise then upstreamPromise:cancel() end
end)
onCancel = if finallyHandler
then function(...)
local returned = finallyHandler(...)
if Promise.is(returned) then
upstreamPromise = returned
returned:finally(function(status)
if status ~= Promise.Status.Rejected then resolve(self) end
end):catch(function(...) reject(...) end)
else
resolve(self)
end
end
else resolve
if self._status == Promise.Status.Started then
table.insert(self._queuedFinally, onCancel)
else
onCancel(self._status)
end
end)
)
end
Promise.prototype.finally = function(self, finallyHandler)
assert(finallyHandler == nil or (isCallable(finallyHandler)), string.format('Please pass a handler function to %s!', 'Promise:finally'))
return self:_finally(debug.traceback(nil, 2), finallyHandler)
end
Promise.prototype.finallyCall = function(self, callback, ...)
assert(isCallable(callback), string.format('Please pass a handler function to %s!', 'Promise:finallyCall'))
local length, values = pack(...)
return self:_finally(debug.traceback(nil, 2), function() return callback(unpack(values, 1, length)) end)
end
Promise.prototype.finallyReturn = function(self, ...)
local length, values = pack(...)
return self:_finally(debug.traceback(nil, 2), function() return unpack(values, 1, length) end)
end
Promise.prototype.awaitStatus = function(self)
self._unhandledRejection = false
if self._status == Promise.Status.Started then
local thread = coroutine.running()
self:finally(function() task.spawn(thread) end):catch(function() end)
coroutine.yield()
end
if self._status == Promise.Status.Resolved then
return self._status, unpack(self._values, 1, self._valuesLength)
elseif self._status == Promise.Status.Rejected then
return self._status, unpack(self._values, 1, self._valuesLength)
end
return self._status
end
local function awaitResult(status, ...) return status == Promise.Status.Resolved, ... end
Promise.prototype.await = function(self) return awaitResult(self:awaitStatus()) end
local function expectResult(status, ...)
if status ~= Promise.Status.Resolved then error(... == nil and 'Expected Promise rejected with no value.' or (...), 3) end
return ...
end
Promise.prototype.expect = function(self) return expectResult(self:awaitStatus()) end
Promise.prototype.awaitValue = Promise.prototype.expect
Promise.prototype._unwrap = function(self)
if self._status == Promise.Status.Started then error('Promise has not resolved or rejected.', 2) end
return self._status == Promise.Status.Resolved, unpack(self._values, 1, self._valuesLength)
end
Promise.prototype._resolve = function(self, ...)
if self._status ~= Promise.Status.Started then
if Promise.is(...) then (...):_consumerCancelled(self) end
return
end
if Promise.is(...) then
if select('#', ...) > 1 then
warn(
(
string.format(
'When returning a Promise from andThen, extra arguments are discarded! See:\10\10%s',
self._source
)
)
)
end
local promise = ...
local chained = promise:andThen(function(...) self:_resolve(...) end, function(...)
local err = promise._values[1]
err = if promise._error
then (PromiseError.new({
error = promise._error,
kind = PromiseError.Kind.ExecutionError,
context = 'No stack trace available as this Promise originated from an older version of the Promise library (< v2)',
}))
else err
if PromiseError.isKind(err, PromiseError.Kind.ExecutionError) then
return self:_reject(
err:extend({
error = 'This Promise was chained to a Promise that errored.',
trace = '',
context = string.format(
'The Promise at:\10\10%s\10...Rejected because it was chained to the following Promise, which encountered an error:\10',
self._source
),
})
)
end
self:_reject(...)
return nil
end)
if chained._status == Promise.Status.Cancelled then
self:cancel()
elseif chained._status == Promise.Status.Started then
self._parent = chained
chained._consumers[self] = true
end
return
end
self._status = Promise.Status.Resolved
self._valuesLength, self._values = pack(...)
for _, callback in ipairs(self._queuedResolve) do
coroutine.wrap(callback)(...)
end
self:_finalize()
end
Promise.prototype._reject = function(self, ...)
if self._status ~= Promise.Status.Started then return end
self._status = Promise.Status.Rejected
self._valuesLength, self._values = pack(...)
if not isEmpty(self._queuedReject) then
for _, callback in ipairs(self._queuedReject) do
coroutine.wrap(callback)(...)
end
else
local errorText = tostring(...)
coroutine.wrap(function()
Promise._timeEvent:Wait()
if not self._unhandledRejection then return end
local message = string.format('Unhandled Promise rejection:\10\10%s\10\10%s', errorText, self._source)
for _, callback in ipairs(Promise._unhandledRejectionCallbacks) do
task.spawn(callback, self, unpack(self._values, 1, self._valuesLength))
end
if Promise.TEST then return end
warn(message)
end)()
end
self:_finalize()
end
Promise.prototype._finalize = function(self)
for _, callback in ipairs(self._queuedFinally) do
coroutine.wrap(callback)(self._status)
end
self._queuedFinally = nil
self._queuedReject = nil
self._queuedResolve = nil
if not Promise.TEST then
self._parent = nil
self._consumers = nil
end
task.defer(coroutine.close, self._thread)
end
Promise.prototype.now = function(self, rejectionValue)
local traceback = debug.traceback(nil, 2)
if self._status == Promise.Status.Resolved then
return self:_andThen(traceback, function(...) return ... end)
else
return Promise.reject(
rejectionValue == nil
and (PromiseError.new({
kind = PromiseError.Kind.NotResolvedInTime,
error = 'This Promise was not resolved in time for :now()',
context = ':now() was called at:\10\10' .. traceback,
}))
or rejectionValue
)
end
end
Promise.retry = function(callback, times, ...)
assert(isCallable(callback), 'Parameter #1 to Promise.retry must be a function')
assert(type(times) == 'number', 'Parameter #2 to Promise.retry must be a number')
local args, length = { ... }, select('#', ...)
return Promise.resolve(callback(...)):catch(function(...)
if times > 0 then
return Promise.retry(callback, times - 1, unpack(args, 1, length))
else
return Promise.reject(...)
end
end)
end
Promise.retryWithDelay = function(callback, times, seconds, ...)
assert(isCallable(callback), 'Parameter #1 to Promise.retry must be a function')
assert(type(times) == 'number', 'Parameter #2 (times) to Promise.retry must be a number')
assert(type(seconds) == 'number', 'Parameter #3 (seconds) to Promise.retry must be a number')
local args, length = { ... }, select('#', ...)
return Promise.resolve(callback(...)):catch(function(...)
if times > 0 then
Promise.delay(seconds):await()
return Promise.retryWithDelay(callback, times - 1, seconds, unpack(args, 1, length))
else
return Promise.reject(...)
end
end)
end
Promise.fromEvent = function(event, predicate)
predicate = predicate or function() return true end
return Promise._new(debug.traceback(nil, 2), function(resolve, _reject, onCancel)
local connection
local resolvedBeforeConnected = false
local function disconnect()
connection:Disconnect()
connection = nil
end
connection = event:Connect(function(...)
local shouldResolve = predicate(...)
if shouldResolve == true then
resolve(...)
if connection then
disconnect()
else
resolvedBeforeConnected = true
end
elseif type(shouldResolve) ~= 'boolean' then
error('Promise.fromEvent predicate should always return a boolean')
end
end)
if resolvedBeforeConnected and connection then
disconnect()
return
end
onCancel(disconnect)
end)
end
Promise.onUnhandledRejection = function(callback)
table.insert(Promise._unhandledRejectionCallbacks, callback)
return function()
local index = table.find(Promise._unhandledRejectionCallbacks, callback)
if index then table.remove(Promise._unhandledRejectionCallbacks, index) end
end
end
return Promise
end
modules.ay = function()
local cached = modules.cache.ay
if not cached then
local created = { c = buildPromise() }
modules.cache.ay = created
cached = created
end
return cached.c
end
end
do -- aR waitForPath: wait for instances along a path, optionally require
local function buildWaitForPath()
return function(parent, path, requireModule, timeout)
local names
if typeof(path) ~= 'string' then
names = path
else
names = { path }
end
for _, name in names, nil, nil do
local child
if timeout ~= nil then
child = parent:WaitForChild(name, timeout)
if child == nil then return nil end
else
local _t0 = os.clock()
while true do
child = parent:WaitForChild(name, 5)
if child ~= nil then break end
print(
'[Zkxhub] waiting for '
.. parent:GetFullName()
.. ' -> '
.. tostring(name)
.. ' ('
.. math.floor(os.clock() - _t0)
.. 's)'
)
if os.clock() - _t0 > 60 then
error(
'[Zkxhub] timed out waiting for '
.. parent:GetFullName()
.. ' -> '
.. tostring(name)
.. '. Wrong game? This script is built for Rivals.',
2
)
end
end
end
parent = cloneref(child)
end
if requireModule then
local _ok, _res = pcall(require, parent)
if _ok then return _res end
for _try = 1, 4 do
task.wait(2)
_ok, _res = pcall(require, parent)
if _ok then return _res end
end
return require(parent)
end
return cloneref(parent)
end
end
modules.aR = function()
local cached = modules.cache.aR
if not cached then
cached = { c = buildWaitForPath() }
modules.cache.aR = cached
end
return cached.c
end
end
do -- aS GameModules: remotes, controllers and libraries of the game
local function buildGameModules()
modules.aP()
modules.aL()
modules.aN()
modules.aM()
modules.aQ()
modules.aO()
local waitForPath = modules.aR()
local players = cloneref(game:GetService('Players'))
local replicatedStorage = cloneref(game:GetService('ReplicatedStorage'))
local localPlayer = players.LocalPlayer
local playerScripts = waitForPath(localPlayer, 'PlayerScripts')
local controllers = waitForPath(playerScripts, 'Controllers')
local modules = waitForPath(replicatedStorage, 'Modules')
local modules2 = waitForPath(playerScripts, 'Modules')
local clientReplicatedClasses = waitForPath(modules2, 'ClientReplicatedClasses')
local remotes = waitForPath(replicatedStorage, 'Remotes')
local replication = waitForPath(remotes, 'Replication')
local useItemRemote = waitForPath(replication, { 'Fighter', 'UseItem' })
local quickAttackFunction = waitForPath(replication, { 'Fighter', 'RegisterQuickAttack' })
local updateStateRemote = waitForPath(replication, { 'Fighter', 'UpdateState' })
local pickWeaponsRemote = waitForPath(replication, { 'Fighter', 'PickWeapons' })
local updateCameraRotationRemote = waitForPath(replication, { 'Fighter', 'UpdateCameraRotation' })
local respawnNowRemote = waitForPath(remotes, { 'Duels', 'RespawnNow' })
local voteEvent = waitForPath(remotes, { 'Duels', 'Vote' })
local requestProfileFunction = waitForPath(remotes, { 'Misc', 'RequestProfile' })
local shootingRangeTrashItems = waitForPath(waitForPath(remotes, 'Misc'), 'ShootingRangeTrashItems')
local replicatedController = waitForPath(modules2, 'ReplicatedController', true)
local controlsController = waitForPath(controllers, 'ControlsController', true)
local fighterController = waitForPath(controllers, 'FighterController', true)
local mechanicsController = waitForPath(controllers, 'MechanicsController', true)
local enemyController = waitForPath(controllers, 'EnemyController', true)
local shootingRangeController = waitForPath(controllers, 'ShootingRangeController', true)
local arcadeController = waitForPath(controllers, 'ArcadeController', constantPool[34])
local cameraController = waitForPath(controllers, 'CameraController', true)
local duelController = waitForPath(controllers, 'DuelController', true)
local complianceController = waitForPath(controllers, 'ComplianceController', true)
local userInterface = waitForPath(modules2, 'UserInterface')
local equipment = waitForPath(userInterface, 'Equipment', constantPool[34])
local lobby = waitForPath(userInterface, 'Lobby')
local module = require(lobby)
local pages = waitForPath(userInterface, 'Pages', true)
local matchmaking = waitForPath(lobby, 'Matchmaking', true)
local constants = waitForPath(modules, 'CONSTANTS', true)
local enumLibrary = waitForPath(modules, 'EnumLibrary', true)
local inputLibrary = waitForPath(modules, 'InputLibrary', true)
local seasonLibrary = waitForPath(modules, 'SeasonLibrary', true)
local cosmeticLibrary = waitForPath(modules, 'CosmeticLibrary', true)
local itemLibrary = waitForPath(modules, 'ItemLibrary', true)
local duelLibrary = waitForPath(modules, 'DuelLibrary', true)
local utility = waitForPath(modules, 'Utility', true)
local playerDataUtility = waitForPath(modules, 'PlayerDataUtility', true)
local taskLibrary = waitForPath(modules, 'TaskLibrary', true)
local replicatedClass = waitForPath(modules, 'ReplicatedClass', true)
local outOfBoundsMachine = waitForPath(modules, 'OutOfBoundsMachine', true)
local playerDataController = waitForPath(controllers, 'PlayerDataController', true)
local matchmakingController = waitForPath(controllers, 'MatchmakingController', true)
local leaderboardController = waitForPath(controllers, 'LeaderboardController', constantPool[34])
local clientEntity = waitForPath(clientReplicatedClasses, 'ClientEntity', true)
local clientDueler = waitForPath(clientReplicatedClasses, 'ClientDueler', true)
local clientFighterCharacter = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientFighterCharacter' }, true)
local clientFighterCharacterJoints = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientFighterCharacter', 'Joints' }, true)
local clientFighterCharacterVisibility = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientFighterCharacter', 'Visibility' }, true)
local clientItem = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientItem' }, constantPool[34])
local clientViewModel = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientItem', 'ClientViewModel' }, true)
local viewModelAnimator = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientItem', 'ClientViewModel', 'ViewModelAnimator' }, true)
local itemInterfaceOther = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientItem', 'ItemInterface', 'Other' }, constantPool[34])
local scope = waitForPath(clientReplicatedClasses, { 'ClientFighter', 'ClientItem', 'ItemInterface', 'Mouse', 'Scope' }, true)
local cosmeticSlot = waitForPath(modules2, 'CosmeticSlot', true)
local crosshair = waitForPath(modules2, 'Crosshair', true)
local cosmeticViewportFrame = waitForPath(modules2, 'CosmeticViewportFrame', true)
local gun = waitForPath(modules2, { 'ItemTypes', 'Gun' }, true)
local throwable = waitForPath(modules2, { 'ItemTypes', 'Throwable' }, constantPool[34])
local pages2 = waitForPath(modules2, 'Pages')
local equipEmote = waitForPath(pages2, 'EquipEmote', true)
local pickEmote = waitForPath(pages2, 'PickEmote', true)
local viewProfile = waitForPath(pages2, 'ViewProfile', true)
local emotes = waitForPath(replicatedStorage, { 'Modules', 'Emotes' })
local finishers = waitForPath(replicatedStorage, { 'Modules', 'Finishers' })
local serverOsTime = waitForPath(replicatedStorage, { 'Modules', 'ServerOsTime' }, constantPool[34])
return {
Modules = modules,
Controllers = controllers,
UserInterface = userInterface,
Equipment = equipment,
Lobby = module,
MatchmakingInterface = matchmaking,
MatchmakingController = matchmakingController,
LeaderboardController = leaderboardController,
UseItemRemote = useItemRemote,
QuickAttackFunction = quickAttackFunction,
UpdateStateRemote = updateStateRemote,
PickWeaponsRemote = pickWeaponsRemote,
UpdateCameraRotationRemote = updateCameraRotationRemote,
ShootingRangeTrashItemsEvent = shootingRangeTrashItems,
RespawnNowRemote = respawnNowRemote,
VoteEvent = voteEvent,
PagesModule = pages,
RequestProfileFunction = requestProfileFunction,
Constants = constants,
TaskLibrary = taskLibrary,
ReplicatedController = replicatedController,
ControlsController = controlsController,
PlayerDataController = playerDataController,
FighterController = fighterController,
MechanicsController = mechanicsController,
EnemyController = enemyController,
ShootingRangeController = shootingRangeController,
ArcadeController = arcadeController,
CameraController = cameraController,
DuelController = duelController,
ComplianceController = complianceController,
EnumLibrary = enumLibrary,
InputLibrary = inputLibrary,
SeasonLibrary = seasonLibrary,
CosmeticLibrary = cosmeticLibrary,
ItemLibrary = itemLibrary,
DuelLibrary = duelLibrary,
Utility = utility,
PlayerDataUtility = playerDataUtility,
ReplicatedClass = replicatedClass,
OutOfBoundsMachine = outOfBoundsMachine,
ClientEntity = clientEntity,
ClientDueler = clientDueler,
ClientFighterCharacter = clientFighterCharacter,
ClientFighterCharacterJoints = clientFighterCharacterJoints,
ClientFighterCharacterVisibility = clientFighterCharacterVisibility,
Gun = gun,
Throwable = throwable,
ClientItem = clientItem,
ClientViewModel = clientViewModel,
ViewModelAnimator = viewModelAnimator,
ItemInterfaceOther = itemInterfaceOther,
Scope = scope,
Crosshair = crosshair,
CosmeticSlot = cosmeticSlot,
CosmeticViewportFrame = cosmeticViewportFrame,
Pages = pages2,
EquipEmote = equipEmote,
PickEmote = pickEmote,
ViewProfile = viewProfile,
Emotes = emotes,
Finishers = finishers,
PlayerModule = waitForPath(localPlayer, { 'PlayerScripts', 'PlayerModule' }, constantPool[34]),
ServerOsTime = serverOsTime,
}
end
modules.aS = function()
local cached = modules.cache.aS
if not cached then
cached = { c = buildGameModules() }
modules.cache.aS = cached
end
return cached.c
end
end
do -- a6 concatArrays
local function buildConcatArrays()
return function(first, second)
local joined = table.clone(first)
table.move(second, 1, #second, #first + 1, joined)
return joined
end
end
modules.a6 = function()
local cached = modules.cache.a6
if not cached then
cached = { c = buildConcatArrays() }
modules.cache.a6 = cached
end
return cached.c
end
end
do -- bK PlayerRegistry: player added / removed signals
local function buildPlayerRegistry()
local GoodSignal = modules.g()
local Trove = modules.k()
local players = cloneref(game:GetService('Players'))
local PlayerRegistry = {}
PlayerRegistry.__index = PlayerRegistry
PlayerRegistry.new = function()
local registry = Trove.new('registry')
local playerRegistry = {
_trove = registry,
_playerSet = {},
PlayerAdded = registry:Add(GoodSignal.new()),
PlayerRemoved = registry:Add(GoodSignal.new()),
}
setmetatable(playerRegistry, PlayerRegistry)
playerRegistry:_Initialize()
return playerRegistry
end
PlayerRegistry._Initialize = function(self)
self._trove:Connect(players.PlayerAdded, function(player)
self._playerSet[player] = constantPool[34]
self.PlayerAdded:Fire(player)
end)
self._trove:Connect(players.PlayerRemoving, function(player)
if self._playerSet[player] == nil then return end
self.PlayerRemoved:Fire(player)
self._playerSet[player] = nil
end)
for _, player in players:GetPlayers() do
self._playerSet[player] = true
end
end
PlayerRegistry.ObservePlayers = function(self, onAdded, onRemoved)
local ObservePlayers = Trove.new('registry.ObservePlayers')
for k in self._playerSet, nil, nil do
onAdded(k)
end
ObservePlayers:Connect(self.PlayerAdded, onAdded)
ObservePlayers:Connect(self.PlayerRemoved, onRemoved)
return ObservePlayers
end
PlayerRegistry.GetPlayers = function(self)
local players = {}
for k in self._playerSet, nil, nil do
table.insert(players, k)
end
return players
end
PlayerRegistry.Destroy = function(self) self._trove:Destroy() end
return PlayerRegistry
end
modules.bK = function()
local cached = modules.cache.bK
if not cached then
cached = { c = buildPlayerRegistry() }
modules.cache.bK = cached
end
return cached.c
end
end
do -- bM PlayerTags: tags per player (Hacker, Moderator, ModFriend)
local function buildPlayerTags()
modules.bK()
local GoodSignal = modules.g()
local Trove = modules.k()
local PlayerTags = {}
PlayerTags.__index = PlayerTags
local validTags = { Hacker = true, Moderator = true, ModFriend = constantPool[34] }
PlayerTags.new = function(playerRegistry)
local tags = Trove.new('tags')
local playersByTag = {}
for k in validTags, nil, nil do
playersByTag[k] = {}
end
local playerTags = {
_trove = tags,
_tagSetByPlayer = {},
_playersByTag = playersByTag,
TagAdded = tags:Add(GoodSignal.new()),
TagRemoved = tags:Add(GoodSignal.new()),
}
setmetatable(playerTags, PlayerTags)
playerTags:_Initialize(playerRegistry)
return playerTags
end
PlayerTags._Initialize = function(self, playerRegistry)
self._trove:Connect(playerRegistry.PlayerRemoved, function(player)
local tagSet = self._tagSetByPlayer[player]
if tagSet == nil then return end
for k in tagSet, nil, nil do
self:_RemoveFromTagBucket(player, k)
self.TagRemoved:Fire(player, k)
end
self._tagSetByPlayer[player] = nil
end)
end
PlayerTags.Add = function(self, player, tag)
local tagSet = self._tagSetByPlayer[player]
if tagSet == nil then
tagSet = {}
self._tagSetByPlayer[player] = tagSet
end
if tagSet[tag] then return false end
table.insert(self._playersByTag[tag], player)
tagSet[tag] = true
self.TagAdded:Fire(player, tag)
return true
end
PlayerTags.Remove = function(self, player, tag)
local tagSet = self._tagSetByPlayer[player]
if tagSet == nil or not tagSet[tag] then return false end
self:_RemoveFromTagBucket(player, tag)
tagSet[tag] = nil
self.TagRemoved:Fire(player, tag)
return true
end
PlayerTags.Has = function(self, player, tag)
local tagSet = self._tagSetByPlayer[player]
return tagSet ~= nil and tagSet[tag] ~= nil
end
PlayerTags.GetPlayersWith = function(self, tag) return self._playersByTag[tag] end
PlayerTags.GetTags = function(self, player)
local tagSet = self._tagSetByPlayer[player]
if tagSet == nil then return {} end
local tags = {}
for k in tagSet, nil, nil do
table.insert(tags, k)
end
return tags
end
PlayerTags._RemoveFromTagBucket = function(self, player, tag)
local bucket = self._playersByTag[tag]
for k, entry in bucket, nil, nil do
if entry ~= player then continue end
local n = #bucket
bucket[k] = bucket[n]
bucket[n] = nil
return
end
end
PlayerTags.Destroy = function(self) self._trove:Destroy() end
return PlayerTags
end
modules.bM = function()
local cached = modules.cache.bM
if not cached then
local created = { c = buildPlayerTags() }
modules.cache.bM = created
cached = created
end
return cached.c
end
end
do -- b2 instancesEqual
local function buildInstancesEqual()
return function(first, second) return compareinstances ~= nil and compareinstances(first, second) or first == second end
end
modules.b2 = function()
local cached = modules.cache.b2
if not cached then
cached = { c = buildInstancesEqual() }
modules.cache.b2 = cached
end
return cached.c
end
end
do -- b3 callAtIdentityTwo: protected call at thread identity 2
local function buildCallAtIdentityTwo()
return function(callback, ...)
local previousIdentity = getthreadidentity()
setthreadidentity(constantPool[56])
local pack = table.pack
local call = protectedCall
local packed = table.pack(...)
packed.n = 2 + packed.n - 1
table.move(packed, 1, packed.n, 2, packed)
packed[1] = callback
local results = pack(call(table.unpack(packed, 1, packed.n)))
setthreadidentity(previousIdentity)
if not results[1] then error(results[constantPool[56]], 2) end
return unpack(results, 2, results.n)
end
end
modules.b3 = function()
local cached = modules.cache.b3
if not cached then
cached = { c = buildCallAtIdentityTwo() }
modules.cache.b3 = cached
end
return cached.c
end
end
do -- cp cameraRotation: read / write the game camera rotation
local function buildCameraRotation()
local cameraController = modules.aS().CameraController
local setRotation = rawGet(rawGet(getmetatable(cameraController), '__index'), 'SetRotation')
return {
get = function() return rawGet(cameraController, 'Rotation') or Vector2.zero end,
set = function(rotation) coroutine.wrap(setRotation)(cameraController, rotation) end,
}
end
modules.cp = function()
local cached = modules.cache.cp
if not cached then
local created = { c = buildCameraRotation() }
modules.cache.cp = created
cached = created
end
return cached.c
end
end
do -- cr CharacterContext: per-player character state (alive, parts, velocity)
local function buildCharacterContext()
local GoodSignal = modules.g()
local Trove = modules.k()
local CharacterContext = {}
CharacterContext.__index = CharacterContext
CharacterContext.new = function(player)
local trove = Trove.new('fighters.CharacterContext')
local context = {
_trove = trove,
_player = player,
State = { Alive = false },
Created = trove:Add(GoodSignal.new()),
Died = trove:Add(GoodSignal.new()),
}
setmetatable(context, CharacterContext)
context:_Initialize()
return context
end
CharacterContext._Initialize = function(self)
local characterTrove = self._trove:Extend()
local function onCharacterGone()
local state = self.State
if state.Alive then
characterTrove:Clean()
self.State = { Alive = false }
self.Died:Fire(state)
end
end
local function onCharacterAdded(character)
local humanoid = character:WaitForChild('Humanoid', math.huge)
if humanoid.Health <= 0 then return end
local humanoidRootPart = character:WaitForChild('HumanoidRootPart', math.huge)
local hitboxHead = character:WaitForChild('HitboxHead', math.huge)
local hitboxBody = character:WaitForChild('HitboxBody', math.huge)
local hitboxHeadSmall = character:WaitForChild('HitboxHeadSmall', math.huge)
local hitboxBodySmall = character:WaitForChild('HitboxBodySmall', math.huge)
characterTrove:Connect(humanoid:GetPropertyChangedSignal('Health'), function()
local health = humanoid.Health
if self.State.Alive then
if health > 0 then
self.State.Health = health
else
onCharacterGone()
end
end
end)
characterTrove:Connect(humanoid:GetPropertyChangedSignal('MaxHealth'), function()
local maxHealth = humanoid.MaxHealth
if self.State.Alive then
if maxHealth > 0 then
self.State.MaxHealth = maxHealth
else
onCharacterGone()
end
end
end)
local state = {
Alive = constantPool[34],
Health = humanoid.Health,
MaxHealth = humanoid.MaxHealth,
Model = character,
Humanoid = humanoid,
RootPart = humanoidRootPart,
HitboxHead = hitboxHead,
HitboxBody = hitboxBody,
TargetPartsByName = {
HitboxHead = hitboxHead,
HitboxBody = hitboxBody,
HitboxHeadSmall = hitboxHeadSmall,
HitboxBodySmall = hitboxBodySmall,
},
_lastPosition = nil,
Velocity = Vector3.zero,
}
self.State = state
self.Created:Fire(state)
end
self._trove:Connect(self._player.CharacterAdded, onCharacterAdded)
self._trove:Connect(self._player.CharacterRemoving, onCharacterGone)
local character = self._player.Character
if character ~= nil then task.spawn(onCharacterAdded, character) end
end
CharacterContext.Update = function(self, deltaTime) self:_UpdateVelocity(deltaTime) end
CharacterContext._UpdateVelocity = function(self, deltaTime)
local state = self.State
if not state.Alive then return end
local position, lastPosition = state.RootPart.Position, state._lastPosition
if lastPosition == nil then
state._lastPosition = position
return
end
state.Velocity = (position - lastPosition) / deltaTime
state._lastPosition = position
end
CharacterContext.Destroy = function(self) self._trove:Destroy() end
return CharacterContext
end
modules.cr = function()
local cached = modules.cache.cr
if not cached then
cached = { c = buildCharacterContext() }
modules.cache.cr = cached
end
return cached.c
end
end
do -- cs ServerCFrameSync: root part CFrame override around the server step
local function buildServerCFrameSync()
local runService = cloneref(game:GetService('RunService'))
local httpService = cloneref(game:GetService(constantPool[182]))
local ServerCFrameSync = {}
ServerCFrameSync.__index = ServerCFrameSync
ServerCFrameSync.new = function(rootPart)
local sync = { _rootPart = rootPart, _boundId = httpService:GenerateGUID(constantPool[153]) }
setmetatable(sync, ServerCFrameSync)
sync:_Initialize()
return sync
end
ServerCFrameSync._Initialize = function(self)
runService:BindToRenderStep(self._boundId, Enum.RenderPriority.First.Value, function() self:_RenderStepUpdate() end)
end
ServerCFrameSync.SetServerCFrame = function(self, cframe)
self._cframe = cframe
local oldCFrame = self._oldCFrame
if oldCFrame ~= nil then self._rootPart.CFrame = cframe or oldCFrame end
end
ServerCFrameSync.GetServerCFrame = function(self) return self._cframe or self._rootPart.CFrame end
ServerCFrameSync.GetClientCFrame = function(self) return self._oldCFrame or self._rootPart.CFrame end
ServerCFrameSync._RenderStepUpdate = function(self)
local oldCFrame = self._oldCFrame
if oldCFrame ~= nil then
self._rootPart.CFrame = oldCFrame
self._oldCFrame = nil
end
end
ServerCFrameSync.HeartbeatUpdate = function(self)
local cframe = self._cframe
if cframe == nil then return end
local rootPart = self._rootPart
if self._oldCFrame == nil then self._oldCFrame = rootPart.CFrame end
rootPart.CFrame = cframe
end
ServerCFrameSync.Destroy = function(self)
self:_RenderStepUpdate()
runService:UnbindFromRenderStep(self._boundId)
end
return ServerCFrameSync
end
modules.cs = function()
local cached = modules.cache.cs
if not cached then
cached = { c = buildServerCFrameSync() }
modules.cache.cs = cached
end
return cached.c
end
end
do -- ct signalConnect: raw Connect function
local function buildSignalConnect() return modules.g().new().Connect end
modules.ct = function()
local cached = modules.cache.ct
if not cached then
local created = { c = buildSignalConnect() }
modules.cache.ct = created
cached = created
end
return cached.c
end
end
do -- cu connectAtIdentityEight: connect with the callback at identity 8
local function buildConnectAtIdentityEight()
modules.g()
local signalConnect = modules.ct()
return function(signal, callback)
return signalConnect(signal, function(...)
local previousIdentity = getthreadidentity()
setthreadidentity(8)
callback(...)
setthreadidentity(previousIdentity)
end)
end
end
modules.cu = function()
local cached = modules.cache.cu
if not cached then
cached = { c = buildConnectAtIdentityEight() }
modules.cache.cu = cached
end
return cached.c
end
end
do -- cv readDataField: read a field of a fighter Data table
local function buildReadDataField()
modules.aM()
return function(fighter, key) return rawGet(rawGet(fighter, 'Data'), key) end
end
modules.cv = function()
local cached = modules.cache.cv
if not cached then
cached = { c = buildReadDataField() }
modules.cache.cv = cached
end
return cached.c
end
end
do -- cw LocalFighterState: local fighter (items, spectating, attributes)
local function buildLocalFighterState()
local CharacterContext = modules.cr()
modules.aM()
modules.aO()
local GoodSignal = modules.g()
local Trove = modules.k()
local connectAtIdentityEight = modules.cu()
local signalConnect = modules.ct()
local readDataField = modules.cv()
local callAtIdentityTwo = modules.b3()
local LocalFighterState = {}
LocalFighterState.__index = LocalFighterState
LocalFighterState.new = function(player, fighter)
local trove = Trove.new('fighters.LocalFighterState')
local fighterClass = rawGet(getmetatable(fighter), '__index')
local data = rawGet(fighter, 'Data')
local obj = setmetatable({
_trove = trove,
_data = data,
_inputFn = rawGet(fighterClass, 'Input'),
_quickAttackFn = rawGet(fighterClass, 'QuickAttack'),
Inner = fighter,
Player = player,
Character = trove:Add(CharacterContext.new(player)),
ObjectId = rawGet(data, 'ObjectID'),
EnvironmentId = player:GetAttribute('EnvironmentID'),
IsSpectating = readDataField(fighter, 'IsSpectating') == true,
EnvironmentIdChanged = trove:Add(GoodSignal.new()),
IsSpectatingChanged = trove:Add(GoodSignal.new()),
EntityAdded = trove:Add(GoodSignal.new()),
EntityRemoved = trove:Add(GoodSignal.new()),
}, LocalFighterState)
obj._trove:Connect(player:GetAttributeChangedSignal('EnvironmentID'), function()
local attribute = player:GetAttribute('EnvironmentID')
obj.EnvironmentId = attribute
obj.EnvironmentIdChanged:Fire(attribute)
end)
obj._trove:Add(signalConnect(callAtIdentityTwo(fighter.GetDataChangedSignal, fighter, 'IsSpectating'), function()
local isSpectating = readDataField(fighter, 'IsSpectating') == true
if isSpectating == obj.IsSpectating then return end
obj.IsSpectating = isSpectating
obj.IsSpectatingChanged:Fire(isSpectating)
end))
local inner = obj.Inner
obj._trove:Add(signalConnect(rawGet(inner, 'EntityAdded'), function(entity) obj.EntityAdded:Fire(entity) end))
obj._trove:Add(signalConnect(rawGet(inner, 'EntityRemoved'), function(entity) obj.EntityRemoved:Fire(entity) end))
local entity = rawGet(inner, 'Entity')
if entity ~= nil then obj.EntityAdded:Fire(entity) end
return obj
end
LocalFighterState.GetEntity = function(self) return rawGet(self.Inner, 'Entity') end
LocalFighterState.GetItems = function(self) return rawGet(self.Inner, 'Items') end
LocalFighterState.GetEquippedItem = function(self) return rawGet(self.Inner, 'EquippedItem') end
LocalFighterState.IsInvincible = function(self)
local entity = rawGet(self.Inner, 'Entity')
local data = entity and rawGet(entity, 'Data')
return data ~= nil and rawGet(data, 'IsInvincible') == true
end
LocalFighterState.IsCrouching = function(self)
local data = rawGet(self.Inner, 'Data')
return data ~= nil and rawGet(data, 'IsCrouching') == true
end
LocalFighterState.FindItemByObjectId = function(self, objectId)
local nextFn = next
local items, firstKey = self:GetItems()
for _, item in nextFn, items, firstKey do
if objectId == rawGet(rawGet(item, 'Data'), 'ObjectID') then return item end
end
return nil
end
LocalFighterState.OnItemAddedSignal = function(self, callback) return connectAtIdentityEight(rawGet(self.Inner, 'ItemAdded'), callback) end
LocalFighterState.OnItemRemovedSignal = function(self, callback) return connectAtIdentityEight(rawGet(self.Inner, 'ItemRemoved'), callback) end
LocalFighterState.OnEquippedItemChangedSignal = function(self, callback)
return connectAtIdentityEight(rawGet(self.Inner, 'EquippedItemChanged'), function() callback(self:GetEquippedItem()) end)
end
LocalFighterState.Input = function(self, input) callAtIdentityTwo(self._inputFn, self.Inner, input) end
LocalFighterState.QuickAttack = function(self, payload)
if not self.Character.State.Alive then return end
task.spawn(callAtIdentityTwo, self._quickAttackFn, self.Inner, payload)
end
LocalFighterState.Update = function(self, deltaTime) self.Character:Update(deltaTime) end
LocalFighterState.Destroy = function(self) self._trove:Destroy() end
return LocalFighterState
end
modules.cw = function()
local cached = modules.cache.cw
if not cached then
local created = { c = buildLocalFighterState() }
modules.cache.cw = created
cached = created
end
return cached.c
end
end
do -- cx getRankName: rank name from ELO
local function buildGetRankName()
local seasonLibrary = modules.aS().SeasonLibrary
return function(userId, elo)
if elo == nil then return 'Unranked' end
local name = rawGet(rawGet(rawGet(seasonLibrary, 'CurrentSeason'), 'RankProfile'), 'Name')
local rankProfile = rawGet(rawGet(seasonLibrary, 'RankProfiles'), name)
if rankProfile == nil then return 'Unranked' end
local ranksOrder = rawGet(rankProfile, 'RanksOrder')
local ranks = rawGet(rankProfile, 'Ranks')
local rankCount = rawlen(ranksOrder)
for k, rankName in next, ranksOrder, nil do
local rank = rawGet(ranks, rankName)
if rank == nil then continue end
if elo < rawGet(rank, 'RequiredELO') and rawGet(rank, 'RequiredELOLeaderboardRanking') == nil then
local previousRank = rawGet(ranksOrder, math.clamp(k - 1, 1, rankCount))
if previousRank ~= nil then return previousRank end
end
end
for i = rankCount, 1, -1 do
local rankName = rawGet(ranksOrder, i)
if rankName ~= nil then
local rank = rawGet(ranks, rankName)
if rank ~= nil and rawGet(rank, 'RequiredELOLeaderboardRanking') == nil then return rankName end
end
end
return 'Unranked'
end
end
modules.cx = function()
local cached = modules.cache.cx
if not cached then
cached = { c = buildGetRankName() }
modules.cache.cx = cached
end
return cached.c
end
end
do -- cy RankTracker: rank of a player from DisplayELO
local function buildRankTracker()
local Trove = modules.k()
local getRankName = modules.cx()
local RankTracker = {}
RankTracker.__index = RankTracker
RankTracker.new = function(player)
local tracker = { _trove = Trove.new('fighters.RankTracker'), Rank = 'Unranked' }
setmetatable(tracker, RankTracker)
tracker:_Initialize(player)
return tracker
end
RankTracker._Initialize = function(self, player)
self._trove:Connect(player:GetAttributeChangedSignal('DisplayELO'), function()
local tracker = self
local userId = player.UserId
local attribute = player:GetAttribute('DisplayELO')
tracker.Rank = getRankName(userId, attribute)
end)
local userId = player.UserId
local attribute = player:GetAttribute('DisplayELO')
self.Rank = getRankName(userId, attribute)
end
RankTracker.Destroy = function(self) self._trove:Destroy() end
return RankTracker
end
modules.cy = function()
local cached = modules.cache.cy
if not cached then
cached = { c = buildRankTracker() }
modules.cache.cy = cached
end
return cached.c
end
end
do -- cz CustomView: read-only view of a custom item
local function buildCustomView()
modules.aO()
local CustomView = {}
CustomView.__index = CustomView
CustomView.Type = 'CustomView'
CustomView.new = function(item)
local info2 = rawGet(item, 'Info')
local view = { _data = rawGet(item, 'Data'), Info = info2, Inner = item, Name = rawGet(item, 'Name') }
setmetatable(view, CustomView)
return view
end
CustomView.IsEquipped = function(self) return rawGet(self.Inner, 'IsEquipped') end
return CustomView
end
modules.cz = function()
local cached = modules.cache.cz
if not cached then
cached = { c = buildCustomView() }
modules.cache.cz = cached
end
return cached.c
end
end
do -- cA GunView: read-only view of a gun
local function buildGunView()
modules.aO()
local GunView = {}
GunView.__index = GunView
GunView.Type = 'GunView'
GunView.new = function(item)
local info2 = rawGet(item, 'Info')
return setmetatable({
_data = rawGet(item, 'Data'),
Inner = item,
Name = rawGet(item, 'Name'),
IsRaycast = rawGet(info2, 'IsRaycast'),
MaxAmmo = rawGet(info2, 'MaxAmmo'),
}, GunView)
end
GunView.GetAmmo = function(self) return rawGet(self._data, 'Ammo') end
GunView.GetReloadTimeRemaining = function(self)
local now2 = tick()
local n = constantPool[186]
local reloadCooldown = rawGet(self.Inner, '_reload_cooldown')
if reloadCooldown ~= nil then n = math.max(reloadCooldown - now2, 0) end
local noAmmoCooldown = rawGet(self.Inner, '_shoot_cooldown_no_ammo')
local remaining
if noAmmoCooldown == nil then
remaining = n
else
remaining = math.max(n, noAmmoCooldown - now2)
end
return remaining
end
return GunView
end
modules.cA = function()
local cached = modules.cache.cA
if not cached then
local created = { c = buildGunView() }
modules.cache.cA = created
cached = created
end
return cached.c
end
end
do -- cB MeleeView: read-only view of a melee weapon
local function buildMeleeView()
modules.aO()
local MeleeView = {}
MeleeView.__index = MeleeView
MeleeView.Type = 'MeleeView'
MeleeView.new = function(item)
return setmetatable(
{ _info = rawGet(item, 'Info'), _data = rawGet(item, 'Data'), Inner = item, Name = rawGet(item, 'Name') },
MeleeView
)
end
MeleeView.IsDeflecting = function(self)
local deflectCooldownEnd = rawGet(self.Inner, '_deflect_cooldown')
if deflectCooldownEnd == nil then return false end
local deflectCooldown = rawGet(self._info, 'DeflectCooldown')
return deflectCooldown ~= nil and tick() < deflectCooldownEnd - deflectCooldown
end
MeleeView.IsAttacking = function(self)
local attackCooldownEnd = rawGet(self.Inner, '_attack_cooldown')
if attackCooldownEnd == nil then return constantPool[153] end
return tick() < attackCooldownEnd
end
return MeleeView
end
modules.cB = function()
local cached = modules.cache.cB
if not cached then
local created = { c = buildMeleeView() }
modules.cache.cB = created
cached = created
end
return cached.c
end
end
do -- cC ThrowableView: read-only view of a throwable
local function buildThrowableView()
modules.aO()
local ThrowableView = {}
ThrowableView.__index = ThrowableView
ThrowableView.Type = 'ThrowableView'
ThrowableView.new = function(item) return setmetatable({ _data = rawGet(item, 'Data'), Inner = item, Name = rawGet(item, 'Name') }, ThrowableView) end
return ThrowableView
end
modules.cC = function()
local cached = modules.cache.cC
if not cached then
cached = { c = buildThrowableView() }
modules.cache.cC = cached
end
return cached.c
end
end
do -- cD RemoteItemObserver: items of remote fighters
local function buildRemoteItemObserver()
local CustomView = modules.cz()
modules.aM()
local GunView = modules.cA()
modules.aO()
local MeleeView = modules.cB()
local GoodSignal = modules.g()
local ThrowableView = modules.cC()
local Trove = modules.k()
local signalConnect = modules.ct()
local RemoteItemObserver = {}
RemoteItemObserver.__index = RemoteItemObserver
RemoteItemObserver.new = function(inner)
local remoteItemObserver = Trove.new('fighters.remote_item_observer')
local observer =
{ _trove = remoteItemObserver, _inner = inner, _items = {}, ItemChanged = remoteItemObserver:Add(GoodSignal.new()) }
setmetatable(observer, RemoteItemObserver)
observer:_BindToGameEvents()
return observer
end
RemoteItemObserver._BindToGameEvents = function(self)
local itemAdded = rawGet(self._inner, 'ItemAdded')
local itemRemoved = rawGet(self._inner, 'ItemRemoved')
self._trove:Add(signalConnect(itemAdded, function(item) self:_AddItem(item) end))
self._trove:Add(signalConnect(itemRemoved, function(item) self:_RemoveItem(item) end))
self._trove:Add(signalConnect(rawGet(self._inner, 'EquippedItemChanged'), function()
local equippedItem = rawGet(self._inner, 'EquippedItem')
self.ItemChanged:Fire(equippedItem)
if equippedItem == nil then
self._equippedItem = nil
return
end
self._equippedItem = self:_GetViewByInner(equippedItem)
end))
for _, item in rawGet(self._inner, 'Items') do
self:_AddItem(item)
end
local equippedItem = rawGet(self._inner, 'EquippedItem')
if equippedItem ~= nil then self._equippedItem = self:_GetViewByInner(equippedItem) end
end
RemoteItemObserver._AddItem = function(self, item)
if item.Info.Type == 'Gun' then
table.insert(self._items, GunView.new(item))
elseif item.Info.Type == 'Melee' then
table.insert(self._items, MeleeView.new(item))
elseif item.Info.Type == 'Custom' then
table.insert(self._items, CustomView.new(item))
elseif item.Info.Type == 'Throwable' then
table.insert(self._items, ThrowableView.new(item))
end
end
RemoteItemObserver._GetViewByInner = function(self, inner)
for _, view in self._items, nil, nil do
if view.Inner == inner then return view end
end
return nil
end
RemoteItemObserver._RemoveItem = function(self, inner)
for k, view in self._items, nil, nil do
if view.Inner == inner then
table.remove(self._items, k)
break
end
end
end
RemoteItemObserver.GetItems = function(self) return self._items end
RemoteItemObserver.GetEquippedItem = function(self) return self._equippedItem end
RemoteItemObserver.EquippedItemAsGun = function(self)
local equippedItem = self._equippedItem
if equippedItem ~= nil and equippedItem.Type == 'GunView' then return equippedItem end
return nil
end
RemoteItemObserver.EquippedItemAsMelee = function(self)
local equippedItem = self._equippedItem
if equippedItem ~= nil and equippedItem.Type == 'MeleeView' then return equippedItem end
return nil
end
RemoteItemObserver.EquippedItemAsCustom = function(self)
local equippedItem = self._equippedItem
if equippedItem ~= nil and equippedItem.Type == 'CustomView' then return equippedItem end
return nil
end
RemoteItemObserver.GetEquippedAmmoState = function(self)
local equippedItem = self._equippedItem
if equippedItem == nil then return nil end
if equippedItem.Type == 'GunView' then return equippedItem:GetAmmo() > 0 end
return nil
end
RemoteItemObserver.FindByObjectId = function(self, objectId)
for _, view in next, self._items, nil do
if objectId == rawGet(view._data, 'ObjectID') then return view end
end
return nil
end
RemoteItemObserver.Destroy = function(self)
self._trove:Destroy()
if not integrityFlagA then return end
end
return RemoteItemObserver
end
modules.cD = function()
local cached = modules.cache.cD
if not cached then
local created = { c = buildRemoteItemObserver() }
modules.cache.cD = created
cached = created
end
return cached.c
end
end
do -- cE RemoteFighterState: remote fighter (enemy flag, rank, items)
local function buildRemoteFighterState()
local CharacterContext = modules.cr()
modules.aM()
modules.aO()
modules.cw()
local RankTracker = modules.cy()
local RemoteItemObserver = modules.cD()
local GoodSignal = modules.g()
local Trove = modules.k()
modules.cv()
local RemoteFighterState = {}
RemoteFighterState.__index = RemoteFighterState
RemoteFighterState.new = function(player, fighter)
local trove = Trove.new('fighters.RemoteFighterState')
local state = {
_trove = trove,
_localBindingTrove = trove:Extend(),
_data = rawGet(fighter, 'Data'),
Inner = fighter,
Player = player,
Character = trove:Add(CharacterContext.new(player)),
ItemObserver = trove:Add(RemoteItemObserver.new(fighter)),
_rankTracker = trove:Add(RankTracker.new(player)),
EnvironmentId = player:GetAttribute('EnvironmentID'),
EnvironmentIdChanged = trove:Add(GoodSignal.new()),
IsEnemy = false,
EnemyChanged = trove:Add(GoodSignal.new()),
}
state._trove:Connect(player:GetAttributeChangedSignal('EnvironmentID'), function()
local attribute = player:GetAttribute('EnvironmentID')
state.EnvironmentId = attribute
state.EnvironmentIdChanged:Fire(attribute)
end)
return setmetatable(state, RemoteFighterState)
end
RemoteFighterState.SetLocalFighter = function(self, localFighter)
self._localBindingTrove:Clean()
local localBindingTrove = self._localBindingTrove
local function refreshEnemyState()
local environmentId = self.EnvironmentId
local isEnemy
if environmentId == nil or environmentId ~= localFighter.EnvironmentId then
isEnemy = false
else
local attribute = self.Player:GetAttribute('TeamID')
local attribute2 = localFighter.Player:GetAttribute('TeamID')
isEnemy = attribute2 == nil or attribute ~= attribute2
end
if isEnemy == self.IsEnemy then return end
self.IsEnemy = isEnemy
self.EnemyChanged:Fire(isEnemy)
end
refreshEnemyState()
localBindingTrove:Connect(localFighter.EnvironmentIdChanged, refreshEnemyState)
localBindingTrove:Connect(localFighter.Player:GetAttributeChangedSignal('TeamID'), refreshEnemyState)
localBindingTrove:Connect(self.EnvironmentIdChanged, refreshEnemyState)
localBindingTrove:Connect(self.Player:GetAttributeChangedSignal('TeamID'), refreshEnemyState)
end
RemoteFighterState.GetRank = function(self) return self._rankTracker.Rank end
RemoteFighterState.IsInvincible = function(self)
local entity = rawGet(self.Inner, 'Entity')
local data = entity and rawGet(entity, 'Data')
return data ~= nil and rawGet(data, 'IsInvincible') == true
end
RemoteFighterState.GetCameraRotation = function(self)
local value = self._data and rawGet(self._data, 'CameraRotation')
return typeof(value) == 'Vector2' and value or Vector2.zero
end
RemoteFighterState.IsCrouching = function(self) return self._data ~= nil and rawGet(self._data, 'IsCrouching') == true end
RemoteFighterState.Update = function(self, deltaTime) self.Character:Update(deltaTime) end
RemoteFighterState.Destroy = function(self) self._trove:Destroy() end
return RemoteFighterState
end
modules.cE = function()
local cached = modules.cache.cE
if not cached then
local created = { c = buildRemoteFighterState() }
modules.cache.cE = created
cached = created
end
return cached.c
end
end
do -- cF FighterRegistry: local and remote fighter states, observers
local function buildFighterRegistry()
modules.aM()
modules.aO()
local Trove = modules.k()
local fighterController = modules.aS().FighterController
local LocalFighterState = modules.cw()
local RemoteFighterState = modules.cE()
local GoodSignal = modules.g()
local signalConnect = modules.ct()
local localPlayer = cloneref(game:GetService('Players')).LocalPlayer
local FighterRegistry = {}
FighterRegistry.__index = FighterRegistry
FighterRegistry.new = function()
local fighters = Trove.new('fighters')
local registry = {
_trove = fighters,
LocalState = nil,
StateByPlayer = {},
StateByModel = {},
EnemyByPlayer = {},
LocalStateSet = fighters:Add(GoodSignal.new()),
LocalStateRemoved = fighters:Add(GoodSignal.new()),
RemoteStateAdded = fighters:Add(GoodSignal.new()),
RemoteStateRemoved = fighters:Add(GoodSignal.new()),
RemoteEntityAdded = fighters:Add(GoodSignal.new()),
RemoteEntityRemoved = fighters:Add(GoodSignal.new()),
}
setmetatable(registry, FighterRegistry)
registry:_Initialize()
return registry
end
FighterRegistry._Initialize = function(self)
local objectAdded = rawGet(fighterController, 'ObjectAdded')
local objectRemoved = rawGet(fighterController, 'ObjectRemoved')
local playerToFighter = rawGet(fighterController, '_player_to_fighter')
local getIdentity = getthreadidentity
local setIdentity = setthreadidentity
local function forgetModel(state)
local state = state.Character.State
if state.Alive then self.StateByModel[state.Model] = nil end
end
local function onFighterAdded(fighter)
local previousIdentity = getIdentity()
setIdentity(8)
local player = rawGet(fighter, 'Player')
if player == localPlayer then
if self.LocalState ~= nil then
self.LocalStateRemoved:Fire(self.LocalState)
self._trove:Remove(self.LocalState)
self.LocalState = nil
end
self:_BuildLocalFighter(player, fighter)
setIdentity(previousIdentity)
return
end
local existing = self.StateByPlayer[player]
if existing then
self.RemoteStateRemoved:Fire(existing)
forgetModel(existing)
self._trove:Remove(existing)
end
self:_BuildRemoteFighter(player, fighter)
setIdentity(previousIdentity)
end
local function onFighterRemoved(fighter)
if true then
local previousIdentity = getIdentity()
setIdentity(8)
local localState = self.LocalState
if localState and localState.Inner == fighter then
self._trove:Remove(localState)
self.LocalState = nil
self.LocalStateRemoved:Fire(localState)
setIdentity(previousIdentity)
return
end
local player = rawGet(fighter, 'Player')
local existing = self.StateByPlayer[player]
if existing and existing.Inner == fighter then
forgetModel(existing)
self._trove:Remove(existing)
self.StateByPlayer[player] = nil
self.EnemyByPlayer[player] = nil
self.RemoteStateRemoved:Fire(existing)
setIdentity(previousIdentity)
return
end
setIdentity(previousIdentity)
else
-- (anti-tamper freeze trap removed)
end
end
self._trove:Add(signalConnect(objectAdded, onFighterAdded))
self._trove:Add(signalConnect(objectRemoved, onFighterRemoved))
for _, fighter in next, playerToFighter, nil do
onFighterAdded(fighter)
end
end
FighterRegistry._BuildLocalFighter = function(self, player, fighter)
local localState = self._trove:Add(LocalFighterState.new(player, fighter))
self.LocalState = localState
for _, remoteState in self.StateByPlayer, nil, nil do
remoteState:SetLocalFighter(localState)
end
self.LocalStateSet:Fire(localState)
end
FighterRegistry._BuildRemoteFighter = function(self, player, fighter)
local remoteState = self._trove:Add(RemoteFighterState.new(player, fighter))
remoteState._trove:Connect(remoteState.Character.Created, function(characterState) self.StateByModel[characterState.Model] = remoteState end)
remoteState._trove:Connect(remoteState.Character.Died, function(characterState) self.StateByModel[characterState.Model] = nil end)
local state = remoteState.Character.State
if state.Alive then self.StateByModel[state.Model] = remoteState end
local entityAdded = rawGet(fighter, 'EntityAdded')
local entityRemoved = rawGet(fighter, 'EntityRemoved')
remoteState._trove:Add(signalConnect(entityAdded, function(entity) self.RemoteEntityAdded:Fire(remoteState, entity) end))
remoteState._trove:Add(signalConnect(entityRemoved, function(entity) self.RemoteEntityRemoved:Fire(remoteState, entity) end))
remoteState._trove:Connect(remoteState.EnemyChanged, function(isEnemy) self.EnemyByPlayer[player] = isEnemy and remoteState or nil end)
self.StateByPlayer[player] = remoteState
self.EnemyByPlayer[player] = remoteState.IsEnemy and remoteState or nil
local localState = self.LocalState
if localState ~= nil then remoteState:SetLocalFighter(localState) end
self.RemoteStateAdded:Fire(remoteState)
local entity = rawGet(fighter, 'Entity')
if entity ~= nil then self.RemoteEntityAdded:Fire(remoteState, entity) end
end
FighterRegistry.ObserveRemoteStates = function(self, onAdded, onRemoved)
local observer = Trove.new('fighters.ObserveRemoteStates')
for _, state in self.StateByPlayer, nil, nil do
onAdded(state)
end
observer:Connect(self.RemoteStateAdded, onAdded)
observer:Connect(self.RemoteStateRemoved, onRemoved)
return observer
end
FighterRegistry.ObserveAllStates = function(self, onLocalSet, onLocalRemoved, onRemoteAdded, onRemoteRemoved)
local observer = Trove.new('fighters.ObserveAllStates')
local localState = self.LocalState
if localState then onLocalSet(localState) end
observer:Connect(self.LocalStateSet, onLocalSet)
observer:Connect(self.LocalStateRemoved, onLocalRemoved)
for _, state in self.StateByPlayer, nil, nil do
onRemoteAdded(state)
end
observer:Connect(self.RemoteStateAdded, onRemoteAdded)
observer:Connect(self.RemoteStateRemoved, onRemoteRemoved)
return observer
end
FighterRegistry.ObserveRemoteEntities = function(self, onAdded, onRemoved)
local observer = Trove.new('fighters.ObserveRemoteEntities')
for _, state in self.StateByPlayer, nil, nil do
local entity = rawGet(state.Inner, 'Entity')
if entity ~= nil then onAdded(state, entity) end
end
observer:Connect(self.RemoteEntityAdded, onAdded)
observer:Connect(self.RemoteEntityRemoved, onRemoved)
return observer
end
FighterRegistry.Update = function(self, deltaTime)
local localState = self.LocalState
if localState then localState:Update(deltaTime) end
for player, state in self.StateByPlayer, nil, nil do
state:Update(deltaTime)
end
end
FighterRegistry.Destroy = function(self) self._trove:Destroy() end
return FighterRegistry
end
modules.cF = function()
local cached = modules.cache.cF
if not cached then
local created = { c = buildFighterRegistry() }
modules.cache.cF = created
cached = created
end
return cached.c
end
end
do -- cG ServerOrigin: server-side origin offsets and delay estimates
local function buildServerOrigin()
modules.cr()
modules.cF()
local localPlayer = cloneref(game:GetService('Players')).LocalPlayer
local ServerOrigin
ServerOrigin = {
getServerOriginOffset = function(isCrouching) return Vector3.new(0, isCrouching and 0.25 or 1.75, constantPool[186]) end,
getServerOrigin = function(characterState, fighterState) return characterState.RootPart.Position + ServerOrigin.getServerOriginOffset(fighterState:IsCrouching()) end,
getOneWayPing = function() return 0.5 * localPlayer:GetNetworkPing() end,
getEstimatedReplicationDelay = function() return ServerOrigin.getOneWayPing() + 0.05 end,
getEstimatedRemoteDelay = function() return ServerOrigin.getOneWayPing() + 0.016666666666666666 end,
}
return ServerOrigin
end
modules.cG = function()
local cached = modules.cache.cG
if not cached then
cached = { c = buildServerOrigin() }
modules.cache.cG = cached
end
return cached.c
end
end
do -- cH RotationCodec: camera rotation encode / decode
local function buildRotationCodec()
local RotationCodec
RotationCodec = {
encodeCameraRotation = function(rotation)
if rotation ~= rotation then return utf8.char(0) .. utf8.char(0) end
local xByte = math.clamp(math.floor(rotation.X % math.tau / 3.1415926535897931 / 2 * 256 + 0.5), 0, 255)
local yByte = math.clamp(math.floor(rotation.Y % math.tau / 3.1415926535897931 / 2 * 256 + 0.5), 0, constantPool[108])
return utf8.char(xByte) .. utf8.char(yByte)
end,
encodeSingle = function(angle)
if angle ~= angle then return utf8.char(0) end
local minByte = constantPool[186]
local maxByte = constantPool[108]
return utf8.char(math.clamp(math.floor(angle % math.tau / 3.1415926535897931 / 2 * constantPool[137] + 0.5), minByte, maxByte))
end,
decodeSingle = function(encoded)
local factor = constantPool[56]
return utf8.codepoint(encoded) * 3.1415926535897931 * factor / 256
end,
fromXYToCameraRotation = function(x, y) return Vector2.new(x, y) * 3.1415926535897931 * 2 / 256 end,
decodeCameraRotation = function(encoded)
local x, y = utf8.codepoint(encoded, 1, #encoded)
return RotationCodec.fromXYToCameraRotation(x, y)
end,
}
return RotationCodec
end
modules.cH = function()
local cached = modules.cache.cH
if not cached then
local created = { c = buildRotationCodec() }
modules.cache.cH = created
cached = created
end
return cached.c
end
end
do -- cI ViewAngleDriver: camera rotation payloads for the server
local function buildViewAngleDriver()
modules.aM()
local Result = modules.a()
local Trove = modules.k()
local fighterController = modules.aS().FighterController
local clientFighterCharacterJoints = modules.aS().ClientFighterCharacterJoints
local updateCameraRotationRemote = modules.aS().UpdateCameraRotationRemote
local get = modules.cp().get
local RotationCodec = modules.cH()
local localPlayer = cloneref(game:GetService('Players')).LocalPlayer
local ViewAngleDriver = {}
ViewAngleDriver.__index = ViewAngleDriver
local function encodeViewAngle(angle)
if angle.Kind == 'Unnormalized' then
return utf8.char(math.clamp(angle.Pitch, constantPool[186], 255)) .. utf8.char(math.clamp(angle.Yaw, 0, 255))
end
return RotationCodec.encodeSingle(math.rad(angle.Pitch)) .. RotationCodec.encodeSingle(math.rad(angle.Yaw))
end
local function decodeViewAngle(angle)
if angle.Kind == 'Unnormalized' then return RotationCodec.fromXYToCameraRotation(angle.Pitch, angle.Yaw) end
local pitch = RotationCodec.decodeSingle(RotationCodec.encodeSingle(math.rad(angle.Pitch)))
local yaw = RotationCodec.decodeSingle(RotationCodec.encodeSingle(math.rad(angle.Yaw)))
return Vector2.new(pitch, yaw)
end
ViewAngleDriver.new = function()
return setmetatable({
_restoreTrove = Trove.new('view_angle_driver.restore'),
_restoreTask = nil,
_payloadBySlot = {},
_winning = nil,
_fullySuppressed = constantPool[153],
_dirty = false,
}, ViewAngleDriver)
end
ViewAngleDriver._LoadJointsHook = function(self)
if self._jointsRestore ~= nil then return Result.VoidOk end
local update = rawGet(clientFighterCharacterJoints, 'Update')
if update == nil then return Result.err('ViewAngleDriver', 'function_lookup', 'Joints.Update method not found') end
rawSet(clientFighterCharacterJoints, 'Update', function(joints, jointsInput, context)
local clientFighterCharacter = rawGet(joints, 'ClientFighterCharacter')
local clientFighter = clientFighterCharacter and rawGet(clientFighterCharacter, 'ClientFighter')
if clientFighter == nil then return update(joints, jointsInput, context) end
if rawGet(clientFighter, 'IsLocalPlayer') == true then
local winning = self._winning
if winning ~= nil then rawSet(context, 'CameraRotationRaw', decodeViewAngle(winning)) end
end
return update(joints, jointsInput, context)
end)
self._jointsRestore = { JointsUpdateMethod = update }
return Result.VoidOk
end
ViewAngleDriver._LoadReplicationHook = function(self)
if self._replicationRestore ~= nil then return Result.VoidOk end
local metatable = getmetatable(fighterController)
if metatable == nil then return Result.err('ViewAngleDriver', 'get_metatable', 'FighterController metatable not found') end
local prototype = rawGet(metatable, '__index')
if type(prototype) ~= 'table' then
return Result.err('ViewAngleDriver', 'get_prototype', 'FighterController prototype not found')
end
local replicationLoop = rawGet(prototype, '_CameraReplicationLoop')
if type(replicationLoop) ~= 'function' then
return Result.err('ViewAngleDriver', 'function_lookup', 'FighterController._CameraReplicationLoop method not found')
end
local utilityIndex = nil
local utility = nil
for k, value in debug.getupvalues(replicationLoop) do
if type(value) ~= 'table' then
utilityIndex = nil
utility = nil
else
local valueMeta = getmetatable(value)
if valueMeta == nil then
utilityIndex = nil
utility = nil
else
local valueIndex = rawGet(valueMeta, '__index')
if type(valueIndex) ~= 'table' then
utilityIndex = nil
utility = nil
elseif type(rawGet(valueIndex, 'EncodeCameraRotation')) == 'function' then
utilityIndex = k
utility = value
break
else
utilityIndex = nil
utility = nil
end
end
end
end
if utilityIndex == nil or utility == nil then
return Result.err('ViewAngleDriver', 'upvalue_search', 'Utility upvalue index not found')
end
debug.setupvalue(replicationLoop, utilityIndex, {
EncodeCameraRotation = function(_utility, rotation)
if next(self._payloadBySlot) ~= nil or self._fullySuppressed then
rawSet(fighterController, '_replication_stopped', false)
return rawGet(fighterController, '_last_encoded_camera_rotation') or RotationCodec.encodeCameraRotation(rotation)
end
return RotationCodec.encodeCameraRotation(rotation)
end,
})
self._replicationRestore = { CameraReplicationLoopMethod = replicationLoop, UtilityIndex = utilityIndex, Utility = utility }
return Result.VoidOk
end
ViewAngleDriver._Resolve = function(self)
local n = -math.huge
local winningPayload = nil
for k, payload in self._payloadBySlot, nil, nil do
if k > n then
n = k
winningPayload = payload
end
end
self._winning = winningPayload
end
ViewAngleDriver._CancelRestore = function(self)
local restoreTask = self._restoreTask
if restoreTask ~= nil then
self._restoreTask = nil
self._restoreTrove:Remove(restoreTask)
end
end
ViewAngleDriver.SendViewAngles = function(self, slot, payload)
if self._payloadBySlot[slot] == payload then return Result.VoidOk end
self._payloadBySlot[slot] = payload
self._dirty = true
self:_Resolve()
self:_CancelRestore()
if self._winning == nil then return Result.VoidOk end
local result = self:_LoadJointsHook()
if not result.Ok then return result end
return self:_LoadReplicationHook()
end
ViewAngleDriver.SendRawCameraRotation = function(self, encoded) fireServer2(updateCameraRotationRemote, encoded, nil) end
ViewAngleDriver.Suppress = function(self, fullySuppressed)
if self._fullySuppressed == fullySuppressed then return Result.VoidOk end
self._fullySuppressed = fullySuppressed
if fullySuppressed then
self:_CancelRestore()
return self:_LoadReplicationHook()
end
return Result.VoidOk
end
ViewAngleDriver.ClearAll = function(self)
self:_CancelRestore()
table.clear(self._payloadBySlot)
self._winning = nil
self._dirty = constantPool[153]
end
ViewAngleDriver.Flush = function(self)
if not self._dirty then return end
if self._fullySuppressed then return end
local winning = self._winning
if winning == nil then
self._dirty = false
self._restoreTask = self._restoreTrove:Add(task.delay(0.05 + localPlayer:GetNetworkPing(), function()
if self._winning ~= nil or self._fullySuppressed then return end
fireServer2(updateCameraRotationRemote, RotationCodec.encodeCameraRotation(get()), nil)
end))
return
end
self._dirty = false
fireServer2(updateCameraRotationRemote, encodeViewAngle(winning), nil)
end
ViewAngleDriver._RevertHooks = function(self)
local jointsRestore = self._jointsRestore
if jointsRestore ~= nil then
self._jointsRestore = nil
rawSet(clientFighterCharacterJoints, 'Update', jointsRestore.JointsUpdateMethod)
end
local replicationRestore = self._replicationRestore
if replicationRestore ~= nil then
self._replicationRestore = nil
debug.setupvalue(
replicationRestore.CameraReplicationLoopMethod,
replicationRestore.UtilityIndex,
replicationRestore.Utility
)
end
end
ViewAngleDriver.Destroy = function(self)
self._restoreTrove:Destroy()
self._restoreTask = nil
self:_RevertHooks()
end
return ViewAngleDriver
end
modules.cI = function()
local cached = modules.cache.cI
if not cached then
cached = { c = buildViewAngleDriver() }
modules.cache.cI = cached
end
return cached.c
end
end
do -- cJ CharacterController: server CFrame and view angles of the local character
local function buildCharacterController()
modules.cr()
local mechanicsController = modules.aS().MechanicsController
local ServerCFrameSync = modules.cs()
local ServerOrigin = modules.cG()
local Trove = modules.k()
local ViewAngleDriver = modules.cI()
local CharacterController = {}
CharacterController.__index = CharacterController
CharacterController.new = function(context)
local characterController = Trove.new('context.character_controller')
local controller = { _trove = characterController, _context = context, _viewAngleDriver = characterController:Add(ViewAngleDriver.new()) }
setmetatable(controller, CharacterController)
controller:_Initialize()
return controller
end
CharacterController._Initialize = function(self)
local function createRootSync(characterState) self._rootDesync = self._trove:Add(ServerCFrameSync.new(characterState.RootPart)) end
self._trove:Connect(self._context.Created, createRootSync)
self._trove:Connect(self._context.Died, function()
self._viewAngleDriver:ClearAll()
local rootDesync = self._rootDesync
if rootDesync ~= nil then
self._trove:Remove(rootDesync)
self._rootDesync = nil
end
end)
local state = self._context.State
if state.Alive then createRootSync(state) end
end
CharacterController.SetServerCFrame = function(self, cframe)
local rootDesync = self._rootDesync
if rootDesync == nil then return end
rootDesync:SetServerCFrame(cframe)
end
CharacterController.GetServerCFrame = function(self)
local rootDesync = self._rootDesync
if rootDesync == nil then return nil end
return rootDesync:GetServerCFrame()
end
CharacterController.IsCrouching = function()
local crouchingValue = constantPool[34]
return rawGet(mechanicsController, 'IsCrouching') == crouchingValue
end
if not integrityFlagB then return end
CharacterController.GetServerOriginAnchor = function(self)
local isCrouching = self:IsCrouching()
local rootDesync = self._rootDesync
local offset = ServerOrigin.getServerOriginOffset(isCrouching)
return rootDesync ~= nil and rootDesync:GetServerCFrame() + offset or nil, isCrouching
end
CharacterController.GetServerHeadOrigin = function(self) return (self:GetServerOriginAnchor()) end
CharacterController.GetClientCFrame = function(self)
local rootDesync = self._rootDesync
if rootDesync == nil then return nil end
return rootDesync:GetClientCFrame()
end
CharacterController.SendViewAngles = function(self, slot, payload) self._viewAngleDriver:SendViewAngles(slot, payload) end
CharacterController.SendRawCameraRotation = function(self, encoded) self._viewAngleDriver:SendRawCameraRotation(encoded) end
CharacterController.SuppressCameraReplication = function(self, suppressed) self._viewAngleDriver:Suppress(suppressed) end
CharacterController.FlushViewAngles = function(self) self._viewAngleDriver:Flush() end
CharacterController.HeartbeatUpdate = function(self)
local rootDesync = self._rootDesync
if rootDesync == nil then return end
rootDesync:HeartbeatUpdate()
end
CharacterController.Destroy = function(self) self._trove:Destroy() end
return CharacterController
end
modules.cJ = function()
local cached = modules.cache.cJ
if not cached then
cached = { c = buildCharacterController() }
modules.cache.cJ = cached
end
return cached.c
end
end
do -- cK EnumCodec: game enum <-> byte
local function buildEnumCodec()
local enumLibrary = modules.aS().EnumLibrary
local toEnum = rawGet(enumLibrary, '_to_enum')
local fromEnum = rawGet(enumLibrary, '_from_enum')
return {
encode = function(name) return rawGet(toEnum, name) end,
decode = function(id) return rawGet(fromEnum, id) end,
}
end
modules.cK = function()
local cached = modules.cache.cK
if not cached then
local created = { c = buildEnumCodec() }
modules.cache.cK = created
cached = created
end
return cached.c
end
end
do -- cL ItemInterfaceAdapter: tracks an item interface instance
local function buildItemInterfaceAdapter()
modules.aO()
local GoodSignal = modules.g()
local Trove = modules.k()
local signalConnect = modules.ct()
local ItemInterfaceAdapter = {}
ItemInterfaceAdapter.__index = ItemInterfaceAdapter
ItemInterfaceAdapter.new = function(item)
local trove = Trove.new('ItemInterfaceAdapter')
local adapter = {
_trove = trove,
Instance = rawGet(item, 'ItemInterface'),
Created = trove:Add(GoodSignal.new()),
}
setmetatable(adapter, ItemInterfaceAdapter)
trove:Add(signalConnect(rawGet(item, 'InterfaceAdded'), function(instance)
adapter.Instance = instance
adapter.Created:Fire(instance)
end))
return adapter
end
ItemInterfaceAdapter.Destroy = function(self)
self.Instance = nil
self._trove:Destroy()
end
return ItemInterfaceAdapter
end
modules.cL = function()
local cached = modules.cache.cL
if not cached then
local created = { c = buildItemInterfaceAdapter() }
modules.cache.cL = created
cached = created
end
return cached.c
end
end
do -- cM CustomItem
local function buildCustomItem()
local EnumCodec = modules.cK()
modules.aM()
local ItemInterfaceAdapter = modules.cL()
modules.aO()
local callAtIdentityTwo = modules.b3()
local useItemRemote = modules.aS().UseItemRemote
local CustomItem = {}
CustomItem.__index = CustomItem
CustomItem.__type = 'Custom'
CustomItem.new = function(inner, index)
local info2 = rawGet(inner, 'Info')
local data = rawGet(inner, 'Data')
local item = {
Index = index,
_data = data,
Info = info2,
_clientFighter = rawGet(inner, 'ClientFighter'),
ItemInterface = ItemInterfaceAdapter.new(inner),
Inner = inner,
Name = rawGet(inner, 'Name'),
ObjectId = rawGet(data, 'ObjectID'),
}
setmetatable(item, CustomItem)
return item
end
CustomItem.Destroy = function(self) self.ItemInterface:Destroy() end
CustomItem.Equip = function(self)
if self:IsEquipped() then return end
local clientFighter = self._clientFighter
task.spawn(callAtIdentityTwo, clientFighter.EquipItem, clientFighter, self.Index)
end
CustomItem.IsEquipped = function(self) return rawGet(self.Inner, 'IsEquipped') end
CustomItem.Reload = function(self)
local ammo = self:GetAmmo()
local ammoReserve = self:GetAmmoReserve()
if ammo == nil or ammoReserve == nil or self:IsReloading() or ammoReserve <= 0 or self:IsMagFull() then return end
local wasEmpty = ammo == 0
local animations = rawGet(rawGet(rawGet(self.Inner, 'ViewModel'), 'Info'), 'Animations')
local useEmptyReload = (rawGet(animations, 'EmptyReload') ~= nil or rawGet(animations, 'EmptyReloadStart') ~= nil) and wasEmpty
local animationName = 'Reload'
if useEmptyReload then animationName = 'EmptyReload' end
local animation = rawGet(self.Info, animations[animationName])
if animation == nil then return end
local length = animation.Length
local n = tick() + length
local inner = self.Inner
rawSet(inner, '_reload_cooldown', n)
rawSet(inner, '_reload_cancel_cooldown', wasEmpty and n or tick() + 0.25)
local actionTimestamp = animation.ActionTimestamp
rawSet(inner, '_reload_cancel_expiration', tick() + actionTimestamp)
local payload = { ['\1'] = EnumCodec.encode(animationName) }
fireServer(useItemRemote, self.ObjectId, EnumCodec.encode('StartReloading'), payload, nil)
end
CustomItem.IsAmmoBased = function(self) return rawGet(self._data, 'Ammo') ~= nil end
CustomItem.GetAmmo = function(self) return rawGet(self._data, 'Ammo') end
CustomItem.GetAmmoReserve = function(self) return rawGet(self._data, 'AmmoReserve') end
CustomItem.IsMagFull = function(self)
local ammo = self:GetAmmo()
if ammo == nil then return nil end
local maxAmmo = rawGet(self.Info, 'MaxAmmo')
return maxAmmo ~= nil and ammo >= maxAmmo
end
CustomItem.IsReloading = function(self)
local cooldownEnd = rawGet(self.Inner, '_reload_cooldown')
return cooldownEnd ~= nil and tick() < cooldownEnd
end
return CustomItem
end
modules.cM = function()
local cached = modules.cache.cM
if not cached then
cached = { c = buildCustomItem() }
modules.cache.cM = cached
end
return cached.c
end
end
do -- cN CFrameCodec: CFrame <-> payload table
local function buildCFrameCodec()
return {
encode = function(cframe)
local rx, ry, rz = cframe:ToOrientation()
return { ['\0'] = cframe.X, ['\1'] = cframe.Y, ['\2'] = cframe.Z, ['\3'] = rx, ['\4'] = ry, ['\5'] = rz }
end,
decode = function(encoded)
local tableType = constantPool[68]
if type(encoded) ~= tableType then return nil end
local x = encoded['\0']
local y = encoded['\1']
local z = encoded['\2']
local rx = encoded['\3']
local ry = encoded['\4']
local rz = encoded['\5']
local invalid = type(x) ~= 'number'
if not invalid then
local numberType = constantPool[95]
invalid = type(y) ~= numberType
end
if
invalid
or type(z) ~= 'number'
or type(rx) ~= 'number'
or type(ry) ~= 'number'
or type(rz) ~= 'number'
then
return nil
end
return CFrame.new(x, y, z) * CFrame.fromOrientation(rx, ry, rz)
end,
}
end
modules.cN = function()
local cached = modules.cache.cN
if not cached then
local created = { c = buildCFrameCodec() }
modules.cache.cN = created
cached = created
end
return cached.c
end
end
do -- cO raycastObjectSpace: hit position in a part object space
local function buildRaycastObjectSpace()
return function(origin, part, target)
local raycastParams = RaycastParams.new()
raycastParams.FilterType = Enum.RaycastFilterType.Include
raycastParams.FilterDescendantsInstances = { part }
local hit = workspace:Raycast(origin, target - origin, raycastParams)
if hit == nil then return nil end
local objectSpace = part.CFrame:PointToObjectSpace(hit.Position)
if objectSpace == Vector3.zero then return nil end
return objectSpace
end
end
modules.cO = function()
local cached = modules.cache.cO
if not cached then
cached = { c = buildRaycastObjectSpace() }
modules.cache.cO = cached
end
return cached.c
end
end
do -- cP encodeAimTarget: part + object space offset for a shot
local function buildEncodeAimTarget()
local CFrameCodec = modules.cN()
local raycastObjectSpace = modules.cO()
return function(origin, target)
if target == nil then return nil, nil end
local position = origin.Position
local part = target.Part
local objectSpace = target.ObjectSpace or raycastObjectSpace(position, part, part.Position)
if objectSpace == nil or objectSpace == Vector3.zero then return nil, nil end
return part,
objectSpace ~= nil and CFrameCodec.encode(CFrame.new(objectSpace)) or CFrameCodec.encode(
CFrame.new(part:GetClosestPointOnSurface(position))
)
end
end
modules.cP = function()
local cached = modules.cache.cP
if not cached then
cached = { c = buildEncodeAimTarget() }
modules.cache.cP = cached
end
return cached.c
end
end
do -- cQ getEquipCooldown
local function buildGetEquipCooldown()
local itemLibrary = modules.aS().ItemLibrary
return function(itemName)
local itemInfo = rawGet(rawGet(itemLibrary, 'Items'), itemName)
return itemInfo ~= nil and rawGet(itemInfo, 'EquipCooldown') or nil
end
end
modules.cQ = function()
local cached = modules.cache.cQ
if not cached then
cached = { c = buildGetEquipCooldown() }
modules.cache.cQ = cached
end
return cached.c
end
end
do -- cR GunItem: shooting, reload and ammo bookkeeping
local function buildGunItem()
local CFrameCodec = modules.cN()
local EnumCodec = modules.cK()
modules.aM()
modules.aO()
local useItemRemote = modules.aS().UseItemRemote
local ItemInterfaceAdapter = modules.cL()
local ServerOrigin = modules.cG()
local encodeAimTarget = modules.cP()
local getEquipCooldown = modules.cQ()
local callAtIdentityTwo = modules.b3()
local GunItem = {}
GunItem.__index = GunItem
GunItem.__type = 'Gun'
GunItem.new = function(inner, index)
local info2 = rawGet(inner, 'Info')
local data = rawGet(inner, 'Data')
local item = {
Index = index,
_data = data,
Info = info2,
_clientFighter = rawGet(inner, 'ClientFighter'),
_aimScopePercent = rawGet(info2, 'AimScopePercent'),
_equipRequestedAt = nil,
_expectedAmmoRaw = rawGet(data, 'Ammo'),
_nextLikelyShotRequestAt = 0,
_outstandingAmmoSpend = 0,
_outstandingAmmoSpendDeadline = nil,
ItemInterface = ItemInterfaceAdapter.new(inner),
Inner = inner,
Name = rawGet(inner, 'Name'),
ObjectId = rawGet(data, 'ObjectID'),
IsRaycast = rawGet(info2, 'IsRaycast'),
MaxAmmo = rawGet(info2, 'MaxAmmo'),
ShotRequestCount = 0,
EquipCooldown = getEquipCooldown(rawGet(inner, 'Name')) or 0,
}
setmetatable(item, GunItem)
return item
end
GunItem.Destroy = function(self) self.ItemInterface:Destroy() end
GunItem._ClearPendingShots = function(self)
self._expectedAmmoRaw = self:GetAmmo()
self._nextLikelyShotRequestAt = constantPool[186]
self._outstandingAmmoSpend = constantPool[186]
self._outstandingAmmoSpendDeadline = nil
end
GunItem._ReconcilePendingShots = function(self, now)
local ammo = self:GetAmmo()
local expectedAmmoRaw = self._expectedAmmoRaw
if ammo > expectedAmmoRaw then
self:_ClearPendingShots()
return
end
if ammo < expectedAmmoRaw then
self._outstandingAmmoSpend = math.max(self._outstandingAmmoSpend - expectedAmmoRaw - ammo, constantPool[186])
self._expectedAmmoRaw = ammo
if self._outstandingAmmoSpend <= 0 then self._outstandingAmmoSpendDeadline = nil end
end
local outstandingAmmoSpendDeadline = self._outstandingAmmoSpendDeadline
if outstandingAmmoSpendDeadline ~= nil and now >= outstandingAmmoSpendDeadline then
self._outstandingAmmoSpend = 0
self._nextLikelyShotRequestAt = 0
self._outstandingAmmoSpendDeadline = nil
end
end
GunItem._RecordPendingShot = function(self)
local now2 = os.clock()
self:_ReconcilePendingShots(now2)
if now2 < self._nextLikelyShotRequestAt then return end
local n = math.max(self._expectedAmmoRaw - self._outstandingAmmoSpend, 0)
if n <= constantPool[186] then return end
local burst = math.max(self.Info.ShootBurst or 1, 1)
self._outstandingAmmoSpend = self._outstandingAmmoSpend + math.min(burst, n)
self._outstandingAmmoSpendDeadline = now2 + ServerOrigin.getEstimatedRemoteDelay() + ServerOrigin.getEstimatedReplicationDelay()
local quickShotCooldown = self:IsFanFired() and rawGet(self.Info, 'QuickShotCooldown') or nil
if quickShotCooldown ~= nil then
self._nextLikelyShotRequestAt = now2 + quickShotCooldown
return
end
local shootBurstCooldown = self.Info.ShootBurstCooldown or 0
self._nextLikelyShotRequestAt = now2
+ (burst - 1) * shootBurstCooldown
+ math.max(self.Info.ShootCooldown or 0, shootBurstCooldown)
end
GunItem.Equip = function(self)
if self:IsEquipped() then
self._equipRequestedAt = nil
return
end
local now2 = tick()
local equipRequestedAt = self._equipRequestedAt
if equipRequestedAt ~= nil and now2 < equipRequestedAt + self.EquipCooldown then return end
self:_ClearPendingShots()
self._equipRequestedAt = now2
local clientFighter = self._clientFighter
task.spawn(callAtIdentityTwo, clientFighter.EquipItem, clientFighter, self.Index)
end
GunItem.IsEquipped = function(self) return (rawGet(self.Inner, 'IsEquipped')) end
GunItem.IsFanFired = function(self) return self.Name == 'Revolver' end
GunItem.ShootAt = function(self, originCFrame, aimCFrame, hitTarget)
local part, objectSpace = encodeAimTarget(originCFrame, hitTarget)
self:ShootEncoded(CFrameCodec.encode(originCFrame), CFrameCodec.encode(aimCFrame), part, objectSpace)
end
GunItem.ShootEncoded = function(self, origin, aim, part, hitOffset)
local shot = { ['\0'] = origin, ['\1'] = aim, ['\2'] = part, ['\3'] = hitOffset, ['\4'] = self:IsFanFired() or nil }
local payload = self.IsRaycast and { ['\1'] = shot, ['\2'] = true } or { ['\1'] = shot }
fireServer(useItemRemote, self.ObjectId, EnumCodec.encode('StartShooting'), payload, nil)
self.ShotRequestCount = self.ShotRequestCount + 1
self:_RecordPendingShot()
end
GunItem.IsFullyAiming = function(self)
local isAiming = rawGet(self._data, 'IsAiming')
local aimScopePercent = self._aimScopePercent
local currentAimValue = rawGet(rawGet(self.Inner, 'ViewModel'), 'CurrentAimValue')
return isAiming and (aimScopePercent == nil or currentAimValue >= aimScopePercent)
end
GunItem.Reload = function(self)
if self:IsReloading() or self:GetAmmoReserve() <= 0 or self:IsMagFull() then return false end
local Reload = EnumCodec.encode('Reload')
fireServer(useItemRemote, self.ObjectId, EnumCodec.encode('StartReloading'), { ['\1'] = Reload, ['\2'] = Reload }, nil)
return true
end
GunItem.GetAmmo = function(self) return rawGet(self._data, 'Ammo') end
GunItem.GetExpectedAmmoAfterPendingShots = function(self)
self:_ReconcilePendingShots(os.clock())
return math.max(self._expectedAmmoRaw - self._outstandingAmmoSpend, 0)
end
GunItem.GetAmmoReserve = function(self) return rawGet(self._data, 'AmmoReserve') or math.huge end
GunItem.GetShootTimeRemaining = function(self)
local zero = constantPool[186]
return math.max(rawGet(self.Inner, '_shoot_cooldown') - tick(), zero)
end
GunItem.IsOnShootCooldown = function(self) return self:GetShootTimeRemaining() > 0 end
GunItem.GetReloadTimeRemaining = function(self)
local now2 = tick()
local reloadCooldown = rawGet(self.Inner, '_reload_cooldown')
local n = 0
if reloadCooldown ~= nil then n = math.max(reloadCooldown - now2, 0) end
local noAmmoCooldown = rawGet(self.Inner, '_shoot_cooldown_no_ammo')
local remaining
if noAmmoCooldown ~= nil then
remaining = math.max(n, noAmmoCooldown - now2)
else
remaining = n
end
return remaining
end
GunItem.GetEquipTimeRemaining = function(self)
if not self:IsEquipped() then
local equipRequestedAt = self._equipRequestedAt
if equipRequestedAt == nil then return self.EquipCooldown end
return math.max(equipRequestedAt + self.EquipCooldown - tick(), 0)
end
self._equipRequestedAt = nil
local equipCooldownEnd = rawGet(self.Inner, '_equip_cooldown')
if equipCooldownEnd == nil then return 0 end
return math.max(equipCooldownEnd - tick(), 0)
end
GunItem.IsReloading = function(self) return self:GetReloadTimeRemaining() > 0 end
GunItem.IsMagFull = function(self)
local maxAmmo = self.MaxAmmo
return self:GetAmmo() >= maxAmmo
end
return GunItem
end
modules.cR = function()
local cached = modules.cache.cR
if not cached then
cached = { c = buildGunItem() }
modules.cache.cR = cached
end
return cached.c
end
end
do -- cS MeleeItem: attacks and dash
local function buildMeleeItem()
local CFrameCodec = modules.cN()
local EnumCodec = modules.cK()
modules.aM()
local ItemInterfaceAdapter = modules.cL()
modules.aO()
local callAtIdentityTwo = modules.b3()
local useItemRemote = modules.aS().UseItemRemote
local encodeAimTarget = modules.cP()
local MeleeItem = {}
MeleeItem.__index = MeleeItem
MeleeItem.__type = 'Melee'
MeleeItem.new = function(inner, index)
local info2 = rawGet(inner, 'Info')
local data = rawGet(inner, 'Data')
local item = {
Index = index,
_info = info2,
_clientFighter = rawGet(inner, 'ClientFighter'),
ItemInterface = ItemInterfaceAdapter.new(inner),
Inner = inner,
Name = rawGet(inner, 'Name'),
ObjectId = rawGet(data, 'ObjectID'),
}
setmetatable(item, MeleeItem)
return item
end
MeleeItem.Destroy = function(self) self.ItemInterface:Destroy() end
MeleeItem.Equip = function(self)
if self:IsEquipped() then return end
local clientFighter = self._clientFighter
task.spawn(callAtIdentityTwo, clientFighter.EquipItem, clientFighter, self.Index)
end
MeleeItem.IsEquipped = function(self) return (rawGet(self.Inner, 'IsEquipped')) end
MeleeItem.IsOnDashCooldown = function(self)
local dashCooldownEnd = rawGet(self.Inner, '_dash_cooldown')
return dashCooldownEnd ~= nil and tick() < dashCooldownEnd
end
MeleeItem.Dash = function(self)
if rawGet(self._info, 'DashCooldown') == nil then
if integrityCounterB > 4815 then
-- (anti-tamper freeze trap removed)
end
return
end
local clientFighter = self._clientFighter
callAtIdentityTwo(clientFighter.Input, clientFighter, 'StartAiming')
end
MeleeItem.Attack = function(self, originCFrame, aimCFrame, hitTarget)
local part, objectSpace = encodeAimTarget(originCFrame, hitTarget)
self:AttackEncoded(CFrameCodec.encode(originCFrame), CFrameCodec.encode(aimCFrame), part, objectSpace)
end
MeleeItem.AttackEncoded = function(self, origin, aim, part, hitOffset)
local payload = {
['\1'] = { ['\0'] = origin, ['\1'] = aim, ['\2'] = part, ['\3'] = hitOffset },
['\2'] = EnumCodec.encode('AttackAnimation1') or EnumCodec.encode('Attack1'),
}
fireServer(useItemRemote, self.ObjectId, EnumCodec.encode('StartShooting'), payload, nil)
end
MeleeItem.HeavyAttack = function(self, originCFrame, aimCFrame, hitTarget)
local part, objectSpace = encodeAimTarget(originCFrame, hitTarget)
self:HeavyAttackEncoded(CFrameCodec.encode(originCFrame), CFrameCodec.encode(aimCFrame), part, objectSpace)
end
MeleeItem.HeavyAttackEncoded = function(self, origin, aim, part, hitOffset)
local payload = {
['\1'] = { ['\0'] = origin, ['\1'] = aim, ['\2'] = part, ['\3'] = hitOffset },
['\2'] = EnumCodec.encode('HeavyAttackAnimation1') or EnumCodec.encode('HeavyAttack1'),
}
fireServer(useItemRemote, self.ObjectId, EnumCodec.encode('StartAiming'), payload, nil)
end
return MeleeItem
end
modules.cS = function()
local cached = modules.cache.cS
if not cached then
cached = { c = buildMeleeItem() }
modules.cache.cS = cached
end
return cached.c
end
end
do -- cT ThrowableItem
local function buildThrowableItem()
local EnumCodec = modules.cK()
modules.aM()
local ItemInterfaceAdapter = modules.cL()
modules.aO()
local callAtIdentityTwo = modules.b3()
local useItemRemote = modules.aS().UseItemRemote
local ThrowableItem = {}
ThrowableItem.__index = ThrowableItem
ThrowableItem.__type = 'Throwable'
ThrowableItem.new = function(inner, index)
local info2 = rawGet(inner, 'Info')
local data = rawGet(inner, 'Data')
local item = {
Index = index,
_data = data,
_clientFighter = rawGet(inner, 'ClientFighter'),
ItemInterface = ItemInterfaceAdapter.new(inner),
Info = info2,
Inner = inner,
Name = rawGet(inner, 'Name'),
ObjectId = rawGet(data, 'ObjectID'),
}
setmetatable(item, ThrowableItem)
return item
end
ThrowableItem.Destroy = function(self) self.ItemInterface:Destroy() end
ThrowableItem.Equip = function(self)
if self:IsEquipped() then return end
local clientFighter = self._clientFighter
task.spawn(callAtIdentityTwo, clientFighter.EquipItem, clientFighter, self.Index)
end
ThrowableItem.IsEquipped = function(self) return (rawGet(self.Inner, 'IsEquipped')) end
ThrowableItem.IsOnCooldown = function(self)
local cooldownEnd = rawGet(self.Inner, '_throw_cooldown')
return cooldownEnd ~= nil and tick() < cooldownEnd
end
ThrowableItem.Throw = function(self)
local inner = self.Inner
local startShooting = callAtIdentityTwo(inner.Input, inner, 'StartShooting')
local throwStartedAt = rawGet(inner, '_is_throwing')
if startShooting == false or throwStartedAt == nil then return end
if tick() < throwStartedAt + 0.6 then return end
local ok, actionName, x, y, z = callAtIdentityTwo(inner.FinishShooting, inner, false)
if ok == false then return end
fireServer(
useItemRemote,
rawGet(self._data, 'ObjectID'),
EnumCodec.encode(actionName),
{ ['\0'] = x, ['\1'] = y, ['\2'] = z },
nil
)
end
return ThrowableItem
end
modules.cT = function()
local cached = modules.cache.cT
if not cached then
cached = { c = buildThrowableItem() }
modules.cache.cT = cached
end
return cached.c
end
end
do -- cU ItemBehaviors: item wrappers of the local fighter
local function buildItemBehaviors()
local CustomItem = modules.cM()
modules.cF()
local GunItem = modules.cR()
modules.aO()
local MeleeItem = modules.cS()
local GoodSignal = modules.g()
local ThrowableItem = modules.cT()
local Trove = modules.k()
local ItemBehaviors = {}
ItemBehaviors.__index = ItemBehaviors
ItemBehaviors.new = function(localFighterState)
local itemBehaviors = Trove.new('context.item_behaviors')
local behaviors = {
_trove = itemBehaviors,
_localFighterState = localFighterState,
_items = {},
_itemByInner = {},
_itemByObjectId = {},
_itemByName = {},
ItemAdded = itemBehaviors:Add(GoodSignal.new()),
ItemRemoved = itemBehaviors:Add(GoodSignal.new()),
EquippedItemChanged = itemBehaviors:Add(GoodSignal.new()),
}
setmetatable(behaviors, ItemBehaviors)
return behaviors
end
ItemBehaviors.Destroy = function(self)
for _, item in self._items, nil, nil do
item:Destroy()
end
self._trove:Destroy()
end
ItemBehaviors.Initialize = function(self)
for k, inner in self._localFighterState:GetItems() do
self:AddItem(inner, k)
end
local function refreshIndexes()
for k, inner in self._localFighterState:GetItems() do
local index = self:FindByInner(inner)
if index ~= nil then self._items[index].Index = k end
end
end
self._trove:Add(self._localFighterState:OnItemAddedSignal(function(inner)
local item = self:AddItem(inner, table.find(self._localFighterState:GetItems(), inner) or #self._items)
refreshIndexes()
if item ~= nil then self.ItemAdded:Fire(item) end
end))
self._trove:Add(self._localFighterState:OnItemRemovedSignal(function(inner)
local index, item = self:FindByInner(inner)
if index ~= nil and item ~= nil then
table.remove(self._items, index)
self._itemByObjectId[item.ObjectId] = nil
self._itemByName[inner.Name] = nil
self._itemByInner[inner] = nil
refreshIndexes()
self.ItemRemoved:Fire(item)
item:Destroy()
end
end))
local function onEquippedChanged(inner)
if inner ~= nil then
self.EquippedItemChanged:Fire(self._itemByInner[inner])
else
self.EquippedItemChanged:Fire(nil)
end
end
self._trove:Add(self._localFighterState:OnEquippedItemChangedSignal(onEquippedChanged))
onEquippedChanged(self._localFighterState:GetEquippedItem())
end
ItemBehaviors.AddItem = function(self, inner, index)
if self._itemByInner[inner] then return nil end
local item
if inner.Info.Type == 'Melee' then
item = MeleeItem.new(inner, index)
elseif inner.Info.Type == 'Gun' then
item = GunItem.new(inner, index)
elseif inner.Info.Type == 'Throwable' then
item = ThrowableItem.new(inner, index)
else
if inner.Info.Type ~= 'Custom' then return nil end
item = CustomItem.new(inner, index)
end
table.insert(self._items, item)
self._itemByInner[inner] = item
self._itemByObjectId[item.ObjectId] = item
self._itemByName[item.Name] = item
return item
end
ItemBehaviors.FindByInner = function(self, inner)
for k, item in self._items, nil, nil do
if item.Inner == inner then return k, item end
end
return nil, nil
end
ItemBehaviors.FindByObjectId = function(self, objectId) return self._itemByObjectId[objectId] end
ItemBehaviors.FindMeleeByName = function(self, name)
local item = self._itemByName[name]
if item == nil or item.__type ~= 'Melee' then return nil end
return item
end
ItemBehaviors.FindGunByName = function(self, name)
local item = self._itemByName[name]
if item == nil or item.__type ~= 'Gun' then return nil end
return item
end
ItemBehaviors.FindThrowableByName = function(self, name, requireReady)
local item = self._itemByName[name]
if item == nil or item.__type ~= 'Throwable' then return nil end
if requireReady and item:IsOnCooldown() then return nil end
return item
end
ItemBehaviors.FindCustomByName = function(self, name)
local item = self._itemByName[name]
if item == nil or item.__type ~= 'Custom' then return nil end
return item
end
ItemBehaviors.GetHitscanGun = function(self)
for _, item in self._items, nil, nil do
if item.__type == 'Gun' and item.IsRaycast then return item end
end
return nil
end
ItemBehaviors.GetEquipped = function(self)
local equippedItem = self._localFighterState:GetEquippedItem()
if equippedItem == nil then return nil end
return self._itemByInner[equippedItem]
end
ItemBehaviors.GetEquippedAmmoState = function(self)
local equipped = self:GetEquipped()
if equipped == nil then return nil end
if equipped.__type == 'Gun' then
local zero = constantPool[186]
return equipped:GetAmmo() > zero
end
return nil
end
ItemBehaviors.EquippedItemAsGun = function(self)
local equipped = self:GetEquipped()
if equipped ~= nil and equipped.__type == 'Gun' then return equipped end
return nil
end
ItemBehaviors.EquippedItemAsMelee = function(self)
local equipped = self:GetEquipped()
if equipped ~= nil and equipped.__type == 'Melee' then return equipped end
return nil
end
ItemBehaviors.EquippedItemAsThrowable = function(self)
local equipped = self:GetEquipped()
if equipped ~= nil and equipped.__type == 'Throwable' then return equipped end
return nil
end
ItemBehaviors.EquippedItemAsCustom = function(self)
local equipped = self:GetEquipped()
if equipped ~= nil and equipped.__type == 'Custom' then return equipped end
return nil
end
ItemBehaviors.HasEquippedGun = function(self) return self:EquippedItemAsGun() ~= nil end
ItemBehaviors.GetEquippedGunName = function(self)
local gun = self:EquippedItemAsGun()
return gun ~= nil and gun.Inner.Name or nil
end
ItemBehaviors.GetItems = function(self) return self._items end
return ItemBehaviors
end
modules.cU = function()
local cached = modules.cache.cU
if not cached then
cached = { c = buildItemBehaviors() }
modules.cache.cU = cached
end
return cached.c
end
end
do -- cV signalOnce: raw Once function
local function buildSignalOnce() return modules.g().new().Once end
modules.cV = function()
local cached = modules.cache.cV
if not cached then
cached = { c = buildSignalOnce() }
modules.cache.cV = cached
end
return cached.c
end
end
do -- cW LoadoutPicker: pick / trash weapons
local function buildLoadoutPicker()
modules.cF()
local Promise = modules.ay()
local pickWeaponsRemote = modules.aS().PickWeaponsRemote
local shootingRangeTrashItemsEvent = modules.aS().ShootingRangeTrashItemsEvent
modules.g()
local readDataField = modules.cv()
local signalOnce = modules.cV()
local LoadoutPicker = {}
LoadoutPicker.__index = LoadoutPicker
LoadoutPicker.new = function(fighterState) return setmetatable({ _fighterState = fighterState }, LoadoutPicker) end
LoadoutPicker.PickLoadoutAsync = function(self, loadout)
local alive = self._fighterState.Character.State.Alive
if not readDataField(self._fighterState.Inner, 'CanPickWeapons') or not alive then return Promise.reject() end
if #self._fighterState:GetItems() < 4 then return self:_ForcePickLoadoutAsync(loadout) end
if readDataField(self._fighterState.Inner, 'IsInShootingRange') then
return self:_TrashRangeItemsAsync():andThen(function() return self:_ForcePickLoadoutAsync(loadout) end)
end
return Promise.reject()
end
LoadoutPicker._ForcePickLoadoutAsync = function(self, loadout)
fireServer(pickWeaponsRemote, loadout)
local connection = nil
return Promise.new(function(resolve)
connection = signalOnce(self._fighterState.Inner.ItemAdded, function() resolve() end)
end)
:timeout(1.5)
:finally(function() connection:Disconnect() end)
end
LoadoutPicker._TrashRangeItemsAsync = function(self)
fireServer(shootingRangeTrashItemsEvent)
local connection = nil
return Promise.new(function(resolve)
connection = signalOnce(self._fighterState.Inner.ItemRemoved, function() resolve() end)
end)
:timeout(1.5)
:finally(function() connection:Disconnect() end)
end
return LoadoutPicker
end
modules.cW = function()
local cached = modules.cache.cW
if not cached then
local created = { c = buildLoadoutPicker() }
modules.cache.cW = created
cached = created
end
return cached.c
end
end
do -- cX FighterContext: lifecycle of the local fighter context
local function buildFighterContext()
local CharacterController = modules.cJ()
modules.cF()
local ItemBehaviors = modules.cU()
local LoadoutPicker = modules.cW()
modules.cw()
local GoodSignal = modules.g()
local Trove = modules.k()
local FighterContext = {}
FighterContext.__index = FighterContext
FighterContext.new = function(fighters)
local context = Trove.new('context')
local manager = {
_trove = context,
_contextTrove = context:Extend(),
ContextAdded = context:Add(GoodSignal.new()),
ContextRemoved = context:Add(GoodSignal.new()),
_fighters = fighters,
}
setmetatable(manager, FighterContext)
manager:_Initialize()
return manager
end
FighterContext._ClearContext = function(self)
local inner = self.Inner
if inner == nil then
self._contextTrove:Clean()
return
end
self.Inner = nil
self.ContextRemoved:Fire(inner)
self._contextTrove:Clean()
end
FighterContext._Initialize = function(self)
local function onLocalStateSet(localState)
self:_ClearContext()
local characterController = self._contextTrove:Add(CharacterController.new(localState.Character))
local itemBehaviors = self._contextTrove:Add(ItemBehaviors.new(localState))
itemBehaviors:Initialize()
local inner =
{ CharacterController = characterController, FighterState = localState, ItemBehaviors = itemBehaviors, LoadoutPicker = LoadoutPicker.new(localState) }
self.Inner = inner
self.ContextAdded:Fire(inner)
end
self._trove:Connect(self._fighters.LocalStateSet, onLocalStateSet)
self._trove:Connect(self._fighters.LocalStateRemoved, function() self:_ClearContext() end)
local localState = self._fighters.LocalState
if localState then onLocalStateSet(localState) end
end
FighterContext.ObserveContext = function(self, name, callback)
local observer = Trove.new(name)
local contextTrove = observer:Extend()
local function clearContext() contextTrove:Clean() end
local function onContextAdded(context)
clearContext()
callback(context, contextTrove)
end
observer:Connect(self.ContextAdded, onContextAdded)
observer:Connect(self.ContextRemoved, clearContext)
local inner = self.Inner
if inner ~= nil then onContextAdded(inner) end
return observer
end
FighterContext.HeartbeatUpdate = function(self)
local inner = self.Inner
if inner ~= nil then inner.CharacterController:HeartbeatUpdate() end
end
FighterContext.FlushViewAngles = function(self)
local inner = self.Inner
if inner ~= nil then inner.CharacterController:FlushViewAngles() end
end
FighterContext.Destroy = function(self)
self:_ClearContext()
self._trove:Destroy()
end
return FighterContext
end
modules.cX = function()
local cached = modules.cache.cX
if not cached then
cached = { c = buildFighterContext() }
modules.cache.cX = cached
end
return cached.c
end
end
do -- c0 Keybind
local function buildKeybind()
local Keybind = {}
Keybind.__index = Keybind
Keybind.new = function(flag, kind, callback, initialState)
return setmetatable({ Kind = kind, State = initialState == true, Flag = flag, Callback = callback }, Keybind)
end
Keybind.InputBegan = function(self)
local kind = self.Kind
if kind == 'Toggle' or kind == constantPool[3] then
self.State = not self.State
else
if not (kind == 'Hold' or kind == 'Release') then return end
self.State = kind == 'Hold'
end
self.Callback(self.State)
end
Keybind.InputEnded = function(self)
local kind = self.Kind
if kind == 'Hold' or kind == 'Release' then
self.State = kind == 'Release'
self.Callback(self.State)
return
end
end
Keybind.SetKind = function(self, kind)
if self.Kind == kind then return end
self.Kind = kind
end
return Keybind
end
modules.c0 = function()
local cached = modules.cache.c0
if not cached then
local created = { c = buildKeybind() }
modules.cache.c0 = created
cached = created
end
return cached.c
end
end
do -- c1 KeybindController: input -> keybind dispatch
local function buildKeybindController()
modules.c0()
local Trove = modules.k()
local userInputService = cloneref(game:GetService('UserInputService'))
local function bindKeyFromEnum(enumItem)
if typeof(enumItem) ~= 'EnumItem' then return nil end
local enumType = enumItem.EnumType
if enumType == Enum.KeyCode then return 'KC/' .. enumItem.Name end
local isSupported = enumType == Enum.UserInputType
if isSupported then
isSupported = enumItem == (Enum.UserInputType :: any).MouseButton1
or enumItem == (Enum.UserInputType :: any).MouseButton2
or enumItem == (Enum.UserInputType :: any).MouseButton3
end
if isSupported then return 'UIT/' .. enumItem.Name end
return nil
end
local function bindKeyFromInput(input)
if true then
local userInputType = input.UserInputType
if userInputType == Enum.UserInputType.Keyboard then return 'KC/' .. input.KeyCode.Name end
if
userInputType == Enum.UserInputType.MouseButton1
or userInputType == Enum.UserInputType.MouseButton2
or userInputType == Enum.UserInputType.MouseButton3
then
return 'UIT/' .. userInputType.Name
end
return nil
end
return nil
-- (anti-tamper freeze trap removed)
end
local KeybindController = {}
KeybindController.__index = KeybindController
KeybindController.new = function()
local controller = { _trove = Trove.new('keybind_controller'), _keybindByFlagByBindKey = {}, _bindKeyByFlag = {} }
setmetatable(controller, KeybindController)
controller:Initialize()
return controller
end
KeybindController.Destroy = function(self) self._trove:Destroy() end
local function shouldHandle(input, gameProcessed)
if not gameProcessed then return false end
local userInputType = input.UserInputType
if
userInputType == Enum.UserInputType.MouseButton1
or userInputType == Enum.UserInputType.MouseButton2
or userInputType == Enum.UserInputType.MouseButton3
then
return false
end
return true
end
KeybindController.Initialize = function(self)
local function each(input, method)
local key = bindKeyFromInput(input)
local set = key and self._keybindByFlagByBindKey[key]
if set == nil then return end
for _, keybind in table.clone(set) do
keybind[method](keybind)
end
end
self._trove:Connect(userInputService.InputBegan, function(input, processed)
if shouldHandle(input, processed) then return end
each(input, 'InputBegan')
end)
self._trove:Connect(userInputService.InputEnded, function(input) each(input, 'InputEnded') end)
end
KeybindController.Register = function(self, bind, keybind)
local bindKey = bindKeyFromEnum(bind)
if not bindKey then return false end
local set = self._keybindByFlagByBindKey[bindKey]
if not set then
set = {}
self._keybindByFlagByBindKey[bindKey] = set
end
local replaced = set[keybind.Flag] ~= nil
set[keybind.Flag] = keybind
self._bindKeyByFlag[keybind.Flag] = bindKey
return replaced
end
KeybindController.Remove = function(self, flag)
local bindKey = self._bindKeyByFlag[flag]
if not bindKey then return false end
local set = self._keybindByFlagByBindKey[bindKey]
if not set then return constantPool[153] end
set[flag] = nil
self._bindKeyByFlag[flag] = nil
if not next(set) then self._keybindByFlagByBindKey[bindKey] = nil end
return true
end
KeybindController.FindByFlag = function(self, flag)
local bindKey = self._bindKeyByFlag[flag]
if not bindKey then return nil end
local set = self._keybindByFlagByBindKey[bindKey]
if not set then return nil end
return set[flag]
end
KeybindController.ChangeState = function(self, flag, state)
local keybind = self:FindByFlag(flag)
if not keybind then return false end
keybind.State = state
return constantPool[34]
end
KeybindController.ChangeBind = function(self, flag, bind)
local keybind = self:FindByFlag(flag)
if not keybind then return false end
self:Remove(flag)
self:Register(bind, keybind)
return true
end
KeybindController.ChangeKind = function(self, flag, kind)
local keybind = self:FindByFlag(flag)
if not keybind then return constantPool[153] end
keybind:SetKind(kind)
return true
end
return KeybindController
end
modules.c1 = function()
local cached = modules.cache.c1
if not cached then
cached = { c = buildKeybindController() }
modules.cache.c1 = cached
end
return cached.c
end
end
do -- c2 KeybindRegistry: bind config keybinds to the store
local function buildKeybindRegistry()
local Keybind = modules.c0()
modules.c1()
local PathUtil = modules.j()
local Result = modules.a()
local Trove = modules.k()
local concatArrays = modules.a6()
local validKinds = { Always = constantPool[34], Hold = true, Release = true, Tap = true, Toggle = true }
local function isValidKind(kind) return type(kind) == 'string' and validKinds[kind] == true end
local function isBindable(enumItem)
if typeof(enumItem) ~= 'EnumItem' then return false end
if enumItem.EnumType == (Enum.KeyCode :: any) then return constantPool[34] end
return enumItem.EnumType == (Enum.KeyCode :: any)
or enumItem.EnumType == (Enum.UserInputType :: any)
and (enumItem == (Enum.UserInputType :: any).MouseButton1 or enumItem == (Enum.UserInputType :: any).MouseButton2 or enumItem == (
Enum.UserInputType :: any
).MouseButton3)
end
local function flagFor(path) return 'CONFIGURATION/' .. table.concat(path, '/') end
local KeybindRegistry
KeybindRegistry = {
isKeybindConfig = function(config)
if type(config) ~= 'table' then return false end
local hasValidState = type(config.State) == 'boolean' and isValidKind(config.Kind)
local valid
if hasValidState then
valid = config.Bind == nil or isBindable(config.Bind)
else
valid = hasValidState
end
return valid
end,
clear = function(deps, registrations)
for _, registration in registrations, nil, nil do
deps.Controller:Remove(registration.Flag)
registration.Trove:Destroy()
end
table.clear(registrations)
end,
registerPath = function(deps, registrations, data, path)
local pathKey = PathUtil.PathToKey(path)
if registrations[pathKey] ~= nil then return Result.VoidOk end
local config = PathUtil.NavigateTo(data, path)
if not KeybindRegistry.isKeybindConfig(config) then
local pathText = table.concat(path, '.')
return Result.err(
'KeybindRegistry',
'registerPath',
string.format('invalid keybind configuration at path `%s`', tostring(pathText))
)
end
local flag = flagFor(path)
local statePath = concatArrays(path, { 'State' })
local Registry = Trove.new('keybind_controller.Registry')
if config.Kind == 'Always' and config.State ~= true then deps.Set(statePath, true) end
local keybind = Keybind.new(flag, config.Kind, function(state) deps.Set(statePath, state) end, config.State)
local bind = config.Bind
if bind ~= nil then deps.Controller:Register(bind, keybind) end
local function syncKind(kind)
if not isValidKind(kind) then return false end
if keybind.Kind ~= kind and not deps.Controller:ChangeKind(flag, kind) then keybind:SetKind(kind) end
return true
end
local function syncBind(newBind)
if newBind == bind then return end
bind = newBind
if isBindable(newBind) then
if not deps.Controller:ChangeBind(flag, newBind) then deps.Controller:Register(newBind, keybind) end
else
deps.Controller:Remove(flag)
end
end
local function syncState(state)
if keybind.State ~= state and not deps.Controller:ChangeState(flag, state) then keybind.State = state end
end
local function onKindChanged(newKind)
local kind = keybind.Kind
if not syncKind(newKind) then return end
if newKind == 'Always' then
deps.Set(statePath, true)
elseif kind == 'Always' then
deps.Set(statePath, false)
end
end
local function syncFromConfig()
local current = PathUtil.NavigateTo(data, path, constantPool[34])
if not KeybindRegistry.isKeybindConfig(current) then return end
syncKind(current.Kind)
local state = current.State
if current.Kind == constantPool[21] then
deps.Set(statePath, true)
state = true
end
syncBind(current.Bind)
syncState(state)
end
Registry:Connect(deps.GetPropertyChangedSignal(concatArrays(path, { 'Kind' })), onKindChanged)
Registry:Connect(deps.GetPropertyChangedSignal(concatArrays(path, { 'Bind' })), syncBind)
Registry:Connect(deps.GetPropertyChangedSignal(statePath), syncState)
registrations[pathKey] = { Flag = flag, Trove = Registry, SyncFromConfig = syncFromConfig }
return Result.VoidOk
end,
collectPaths = function(node, path, paths)
if KeybindRegistry.isKeybindConfig(node) then
table.insert(paths, path)
return
end
for k, child in node, nil, nil do
if type(child) == 'table' then KeybindRegistry.collectPaths(child, concatArrays(path, { k }), paths) end
end
end,
}
return KeybindRegistry
end
modules.c2 = function()
local cached = modules.cache.c2
if not cached then
local created = { c = buildKeybindRegistry() }
modules.cache.c2 = created
cached = created
end
return cached.c
end
end
do -- c3 splitKeybindPath
local function buildSplitKeybindPath()
local concatArrays = modules.a6()
return function(path)
if path[#path] == 'Keybind' then
local parent = {}
table.move(path, 1, #path - constantPool[63], 1, parent)
return parent, path
end
return path, concatArrays(path, { 'Keybind' })
end
end
modules.c3 = function()
local cached = modules.cache.c3
if not cached then
local created = { c = buildSplitKeybindPath() }
modules.cache.c3 = created
cached = created
end
return cached.c
end
end
do -- c4 KeybindBridge: store <-> keybinds, enabled state
local function buildKeybindBridge()
local ragebotConfig = modules.bG()
local ErrorReporter = modules.ad()
local GlobalTrove = modules.n()
local KeybindController = modules.c1()
local KeybindRegistry = modules.c2()
modules.a()
local Trove = modules.k()
local concatArrays = modules.a6()
local splitKeybindPath = modules.c3()
local KeybindBridge = {}
KeybindBridge.__index = KeybindBridge
KeybindBridge.new = function()
local Bridge = Trove.new('keybind_controller.Bridge')
local controller = KeybindController.new()
Bridge:Add(controller)
local errorReporter = Bridge:Add(ErrorReporter.new())
local obj = setmetatable({
_trove = Bridge,
_deps = {
Controller = controller,
GetPropertyChangedSignal = function(path) return ragebotConfig:GetPropertyChangedSignal(path) end,
Set = function(path, value) ragebotConfig:Set(path, value) end,
},
_errorReporter = errorReporter,
_registrationByPathKey = {},
}, KeybindBridge)
obj:_RebuildAll()
Bridge:Connect(ragebotConfig.Reloaded, function() obj:_RebuildAll() end)
return obj
end
KeybindBridge.Destroy = function(self)
KeybindRegistry.clear(self._deps, self._registrationByPathKey)
self._trove:Destroy()
end
KeybindBridge._RebuildAll = function(self)
KeybindRegistry.clear(self._deps, self._registrationByPathKey)
local paths = {}
KeybindRegistry.collectPaths(ragebotConfig.Data, {}, paths)
for _, path in paths, nil, nil do
self._errorReporter:ReportResult(self:_RegisterPath(path))
end
end
KeybindBridge._RegisterPath = function(self, path) return KeybindRegistry.registerPath(self._deps, self._registrationByPathKey, ragebotConfig.Data, path) end
KeybindBridge.EnsureRegistered = function(self, path)
local _basePath, keybindPath = splitKeybindPath(path)
return self:_RegisterPath(keybindPath)
end
KeybindBridge._GetEnabledKeybindState = function(self, basePath, keybindPath)
if not ragebotConfig:Get(concatArrays(basePath, { 'Enabled' })) then return constantPool[153] end
local alwaysKind = constantPool[21]
if ragebotConfig:Get(concatArrays(keybindPath, { 'Kind' })) == alwaysKind then return true end
return ragebotConfig:Get(concatArrays(keybindPath, { 'State' })) == true
end
KeybindBridge.GetEnabledKeybindState = function(self, path)
local basePath, keybindPath = splitKeybindPath(path)
self._errorReporter:ReportResult(self:_RegisterPath(keybindPath))
return self:_GetEnabledKeybindState(basePath, keybindPath)
end
KeybindBridge.ObserveEnabledKeybind = function(self, path, callback)
local basePath, keybindPath = splitKeybindPath(path)
self._errorReporter:ReportResult(self:_RegisterPath(keybindPath))
local Bridge = Trove.new('keybind_controller.Bridge')
local enabledPath = concatArrays(basePath, { 'Enabled' })
local statePath = concatArrays(keybindPath, { 'State' })
local kindPath = concatArrays(keybindPath, { 'Kind' })
local function notify() callback(self:_GetEnabledKeybindState(basePath, keybindPath)) end
Bridge:Connect(ragebotConfig:GetPropertyChangedSignal(enabledPath), notify)
Bridge:Connect(ragebotConfig:GetPropertyChangedSignal(statePath), notify)
Bridge:Connect(ragebotConfig:GetPropertyChangedSignal(kindPath), notify)
notify()
return Bridge
end
return GlobalTrove:Add(KeybindBridge.new())
end
modules.c4 = function()
local cached = modules.cache.c4
if not cached then
local created = { c = buildKeybindBridge() }
modules.cache.c4 = created
cached = created
end
return cached.c
end
end
do -- gA PartGlue: re-welds target parts while they are in use
local function buildPartGlue()
local findChildOfClass = findFirstChildOfClass
local readProperty = gameIndex
local writeProperty = gameNewIndex
local random2 = math.random
local cframe = CFrame.new(math.random(-100000, -10000), 100000, random2(-100000, 10000))
local function setPhysicsRepRoot(part, reference)
local previousIdentity = getthreadidentity()
setthreadidentity(8)
local physicsRepRootRef, err = protectedCall(setHiddenProperty, part, 'PhysicsRepRootRef', reference)
setthreadidentity(previousIdentity)
if not physicsRepRootRef then error(err, 0) end
end
local function restoreTargetPart(part, info)
local originalCFrame = info.OriginalCFrame
local originalPart1 = info.OriginalPart1
local originalPart1ToTarget = info.OriginalPart1ToTarget
if originalPart1 ~= nil and originalPart1ToTarget ~= nil then
originalCFrame = originalPart1.CFrame * originalPart1ToTarget
end
if originalCFrame ~= nil then writeProperty(part, constantPool[127], originalCFrame) end
local weld = info.Weld
if weld ~= nil and originalPart1 ~= nil then writeProperty(weld, 'Part1', originalPart1) end
local originalAnchored = info.OriginalAnchored
if originalAnchored ~= nil then writeProperty(part, 'Anchored', originalAnchored) end
end
local PartGlue = {}
PartGlue.__index = PartGlue
PartGlue.new = function()
local glue = { _glueInfoByTargetPart = {}, _targetPartBySourcePart = {} }
setmetatable(glue, PartGlue)
return glue
end
PartGlue.Acquire = function(self, sourcePart, targetPart)
local info = self._glueInfoByTargetPart[targetPart]
local reference = info and info.Reference or InstanceHandle.new(targetPart)
setPhysicsRepRoot(sourcePart, reference)
local currentTarget = self._targetPartBySourcePart[sourcePart]
if currentTarget ~= targetPart then
if currentTarget ~= nil then self:_ReleaseGlue(currentTarget) end
self:_SetupGlue(targetPart, reference)
self._targetPartBySourcePart[sourcePart] = targetPart
end
writeProperty(targetPart, 'CFrame', CFrame.new(cframe.Position))
return cframe
end
PartGlue.Free = function(self, sourcePart)
local targetPart = self._targetPartBySourcePart[sourcePart]
if targetPart == nil then return end
self._targetPartBySourcePart[sourcePart] = nil
self:_ReleaseGlue(targetPart)
end
PartGlue._SetupGlue = function(self, targetPart, reference)
local info = self._glueInfoByTargetPart[targetPart]
if info ~= nil then
info.RefCount = info.RefCount + 1
return
end
local weldConstraint = findChildOfClass(targetPart, 'WeldConstraint')
local originalAnchored = nil
local originalCFrame = nil
local originalPart1ToTarget = nil
local originalPart1 = nil
if weldConstraint ~= nil then
local cFrame = readProperty(targetPart, 'CFrame') or targetPart.CFrame
local anchored = readProperty(targetPart, 'Anchored')
local booleanType = constantPool[116]
if typeof(anchored) ~= booleanType then anchored = targetPart.Anchored end
local part1 = readProperty(weldConstraint, 'Part1') or weldConstraint.Part1
local canRelocate = part1 ~= nil and cFrame ~= nil
local part1ToTarget = nil
if canRelocate then
part1ToTarget = part1.CFrame:ToObjectSpace(cFrame)
writeProperty(weldConstraint, 'Part1', nil)
end
writeProperty(targetPart, 'Anchored', constantPool[34])
originalAnchored = anchored
originalCFrame = cFrame
originalPart1ToTarget = part1ToTarget
originalPart1 = part1
end
self._glueInfoByTargetPart[targetPart] = {
RefCount = 1,
Reference = reference,
Weld = weldConstraint,
OriginalPart1 = originalPart1,
OriginalPart1ToTarget = originalPart1ToTarget,
OriginalCFrame = originalCFrame,
OriginalAnchored = originalAnchored,
}
end
PartGlue._ReleaseGlue = function(self, targetPart)
local info = self._glueInfoByTargetPart[targetPart]
if info == nil then return end
info.RefCount = info.RefCount - 1
if info.RefCount > 0 then return end
restoreTargetPart(targetPart, info)
self._glueInfoByTargetPart[targetPart] = nil
end
PartGlue.FindAnchor = function(self, sourcePart) return self._targetPartBySourcePart[sourcePart] end
PartGlue.Destroy = function(self)
for k, info in self._glueInfoByTargetPart, nil, nil do
restoreTargetPart(k, info)
end
table.clear(self._glueInfoByTargetPart)
table.clear(self._targetPartBySourcePart)
end
return PartGlue
end
modules.gA = function()
local cached = modules.cache.gA
if not cached then
local created = { c = buildPartGlue() }
modules.cache.gA = created
cached = created
end
return cached.c
end
end
do -- g_ StateHook: forces outgoing state values (crouch)
local function buildStateHook()
local EnumCodec = modules.cK()
local ErrorReporter = modules.ad()
local Result = modules.a()
local instancesEqual = modules.b2()
local mechanicsController = modules.aS().MechanicsController
local updateStateRemote = modules.aS().UpdateStateRemote
local mechanics = mechanicsController
local metatable = getmetatable(mechanicsController)
local prototype = metatable ~= nil and rawGet(metatable, '__index') or nil
local updateServerState = type(prototype) == 'table' and rawGet(prototype, '_UpdateServerState') or nil
local updateServerStateFn = (type(updateServerState) == 'function' and { updateServerState } or { nil })[1]
local StateHook = {}
StateHook.__index = StateHook
StateHook.new = function()
local hook = {
_errorReporter = ErrorReporter.new(),
_dummy = Color3.new(),
_forcedValueByEnumByte = {},
_loadFailure = nil,
_restore = nil,
}
setmetatable(hook, StateHook)
hook:_Initialize()
return hook
end
StateHook._Initialize = function(self)
local fakeReplicatedStorage = {
Replication = {
Fighter = {
UpdateState = {
FireServer = function(_remote, stateByte, value, ...)
local forced = self._forcedValueByEnumByte[stateByte]
if forced ~= nil then value = forced end
local fire = fireServer
local args = table.pack(...)
local remote = updateStateRemote
args.n = 4 + args.n - 1
table.move(args, 1, args.n, 4, args)
args[1] = remote
args[2] = stateByte
args[3] = value
fire(table.unpack(args, 1, args.n))
end,
},
},
},
}
setRawMetatable(self._dummy, { __index = function() return fakeReplicatedStorage end })
end
StateHook.SetForced = function(self, stateName, value)
local stateByte = EnumCodec.encode(stateName)
if stateByte == nil or self._forcedValueByEnumByte[stateByte] == value then return end
if not self:_EnsureLoaded().Ok then return end
self._forcedValueByEnumByte[stateByte] = value
fireServer(updateStateRemote, stateByte, value)
end
StateHook.GetOutgoingValue = function(self, stateName)
local stateByte = EnumCodec.encode(stateName)
local forced = (stateByte ~= nil and { self._forcedValueByEnumByte[stateByte] } or { nil })[1]
if forced ~= nil then return forced end
return rawGet(mechanics, stateName)
end
StateHook.ClearForced = function(self, stateName)
local stateByte = EnumCodec.encode(stateName)
if stateByte == nil or self._forcedValueByEnumByte[stateByte] == nil then return end
self._forcedValueByEnumByte[stateByte] = nil
fireServer(updateStateRemote, stateByte, rawGet(mechanics, stateName))
end
StateHook._EnsureLoaded = function(self)
if self._restore ~= nil then return Result.VoidOk end
local loadFailure = self._loadFailure
if loadFailure ~= nil then return loadFailure end
local result = self._errorReporter:ReportResult(self:_Load())
if not result.Ok then self._loadFailure = result end
return result
end
StateHook._Load = function(self)
if self._restore ~= nil then return Result.VoidOk end
local fn = updateServerStateFn
if fn == nil then return Result.err('StateHook', 'function_lookup', '_UpdateServerState not found') end
local upvalueIndex = nil
local upvalueValue = nil
for k, upvalue in debug.getupvalues(updateServerStateFn) do
if not (typeof(upvalue) ~= 'Instance' or not instancesEqual(upvalue, game:GetService('ReplicatedStorage'))) then
upvalueIndex = k
upvalueValue = upvalue
end
end
if upvalueIndex == nil or upvalueValue == nil then
return Result.err('StateHook', 'upvalue_lookup', 'ReplicatedStorage not found in _UpdateServerState')
end
debug.setupvalue(updateServerStateFn, upvalueIndex, self._dummy)
self._restore = { Fn = fn, Index = upvalueIndex, Original = upvalueValue }
return Result.VoidOk
end
StateHook._Revert = function(self)
local restore = self._restore
if restore == nil then return end
self._restore = nil
debug.setupvalue(restore.Fn, restore.Index, restore.Original)
end
StateHook.Destroy = function(self)
self:_Revert()
self._errorReporter:Destroy()
end
return StateHook
end
modules.g_ = function()
local cached = modules.cache.g_
if not cached then
local created = { c = buildStateHook() }
modules.cache.g_ = created
cached = created
end
return cached.c
end
end
do -- jy getRiotShieldSide
local function buildGetRiotShieldSide()
modules.cF()
modules.jx()
local function shieldSide(fighterState)
local itemObserver = fighterState.ItemObserver
local equippedItem = itemObserver:GetEquippedItem()
if equippedItem ~= nil and equippedItem.Name == 'Riot Shield' then
local pitch = math.deg(fighterState:GetCameraRotation().X)
if pitch > 22 and pitch < 91 then return 'Below' end
return 'Above'
end
for _, item in itemObserver:GetItems() do
if item.Name == 'Riot Shield' then
local pitch = math.deg(fighterState:GetCameraRotation().X)
if pitch > 315 and pitch < 360 or pitch > 0 and pitch < 91 then return 'Above' end
return 'Below'
end
end
return constantPool[75]
end
if not integrityFlagA then return end
return shieldSide
end
modules.jy = function()
local cached = modules.cache.jy
if not cached then
local created = { c = buildGetRiotShieldSide() }
modules.cache.jy = created
cached = created
end
return cached.c
end
end
do -- jz defensivePose: defensive CFrame and view angles
local function buildDefensivePose()
modules.cE()
modules.jx()
modules.cI()
local getRiotShieldSide = modules.jy()
local random = Random.new()
return {
getDefensiveCFrame = function(ownCFrame, mode, fighterState, targetCFrame)
if mode == 'Equipped' then return CFrame.new(ownCFrame.Position, targetCFrame.Position) end
if mode == 'Unequipped' then return CFrame.new(ownCFrame.Position, ownCFrame.Position + ownCFrame.Position - targetCFrame.Position) end
local melee = fighterState.ItemObserver:EquippedItemAsMelee()
if melee ~= nil and melee.Name == 'Knife' then
local cframe = CFrame.fromOrientation
local nextNumber = random.NextNumber
local tau = math.tau
return CFrame.new(ownCFrame.Position)
* cframe(random:NextNumber(0, math.tau), random:NextNumber(0, math.tau), nextNumber(random, 0, tau))
end
return ownCFrame
end,
getDefensiveViewAngles = function(mode, fighterState)
if mode == 'None' then return nil end
return {
Kind = 'Normalized',
Pitch = (mode == 'Equipped') ~= (getRiotShieldSide(fighterState) ~= 'Below') and constantPool[45] or -90,
Yaw = random:NextNumber(0, 360),
}
end,
}
end
modules.jz = function()
local cached = modules.cache.jz
if not cached then
cached = { c = buildDefensivePose() }
modules.cache.jz = cached
end
return cached.c
end
end
do -- jA ShotLock: fire gate with a lock window
local function buildShotLock()
local ShotLock = {}
ShotLock.__index = ShotLock
ShotLock.new = function() return setmetatable({}, ShotLock) end
ShotLock.ShouldFire = function(self, wantsToFire, lockDuration)
local now2 = os.clock()
local lockedUntil = self._lockedUntil
local isLocked = lockedUntil ~= nil and now2 < lockedUntil
if wantsToFire then self._lockedUntil = now2 + lockDuration end
return isLocked or wantsToFire
end
ShotLock.Reset = function(self) self._lockedUntil = nil end
return ShotLock
end
modules.jA = function()
local cached = modules.cache.jA
if not cached then
local created = { c = buildShotLock() }
modules.cache.jA = created
cached = created
end
return cached.c
end
end
do -- jB TargetSelector: enemy targets, hackers first
local function buildTargetSelector()
modules.cr()
local ragebotConfig = modules.bG()
modules.cF()
modules.bM()
local function isValidTarget(fighterState)
if not fighterState.IsEnemy or fighterState:IsInvincible() then return false end
if not fighterState.Character.State.Alive then return false end
local melee = fighterState.ItemObserver:EquippedItemAsMelee()
if melee ~= nil and melee:IsDeflecting() then return false end
return true
end
local function makeTarget(fighterState) return { FighterState = fighterState, AliveState = fighterState.Character.State } end
local TargetSelector = {}
TargetSelector.__index = TargetSelector
TargetSelector.new = function(fighters, playerTags) return setmetatable({ _fighters = fighters, _playerTags = playerTags }, TargetSelector) end
TargetSelector.GetTarget = function(self)
local prioritizeHackers = ragebotConfig.Data.Ragebot.PrioritizeHackers
if prioritizeHackers then
for _, player in self._playerTags:GetPlayersWith('Hacker') do
local fighterState = self._fighters.StateByPlayer[player]
if fighterState ~= nil and isValidTarget(fighterState) then return makeTarget(fighterState) end
end
end
for k, fighterState in self._fighters.EnemyByPlayer, nil, nil do
if prioritizeHackers and self._playerTags:Has(k, 'Hacker') then continue end
if isValidTarget(fighterState) then return makeTarget(fighterState) end
end
return nil
end
TargetSelector.HasTargets = function(self)
for _, fighterState in self._fighters.EnemyByPlayer, nil, nil do
if isValidTarget(fighterState) then return true end
end
return constantPool[153]
end
TargetSelector.IsSameTarget = function(self, other) return self.FighterState == other.FighterState and self.AliveState == other.AliveState end
return TargetSelector
end
modules.jB = function()
local cached = modules.cache.jB
if not cached then
cached = { c = buildTargetSelector() }
modules.cache.jB = cached
end
return cached.c
end
end
do -- jC lookAtFlat
local function buildLookAtFlat()
local vector = Vector3.new(0, -constantPool[63], 0)
local vector2 = Vector3.new(0, 0, -constantPool[63])
return function(from, to)
local n = to - from
local vector3 = Vector3.new(n.X, constantPool[186], n.Z)
if vector3.Magnitude < 0.001 then vector3 = vector2 end
return CFrame.lookAt(from, from + vector3, vector)
end
end
modules.jC = function()
local cached = modules.cache.jC
if not cached then
cached = { c = buildLookAtFlat() }
modules.cache.jC = cached
end
return cached.c
end
end
do -- jD GunPlanner: per-frame plan for hitscan weapons
local function buildGunPlanner()
local ragebotConfig = modules.bG()
modules.cR()
modules.gA()
local ShotLock = modules.jA()
modules.jB()
local getRiotShieldSide = modules.jy()
local lookAtFlat = modules.jC()
local vector = Vector3.new(0, -0.7, 0.05)
local vector2 = Vector3.new(0, -3.85, 0.05)
local encodedOriginAbove = {
['\0'] = -9e37,
['\1'] = 0,
['\2'] = constantPool[186],
['\3'] = -1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedAimAbove = {
['\0'] = constantPool[186],
['\1'] = -90000000,
['\2'] = 0,
['\3'] = -1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedOriginBelow = {
['\0'] = -9e37,
['\1'] = constantPool[186],
['\2'] = 0,
['\3'] = 1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedAimBelow = {
['\0'] = 0,
['\1'] = 90000000,
['\2'] = 0,
['\3'] = 1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedHitOffset = { ['\0'] = 0, ['\1'] = 1, ['\2'] = constantPool[186], ['\3'] = constantPool[186], ['\4'] = 0, ['\5'] = 0 }
local GunPlanner = {}
GunPlanner.__index = GunPlanner
GunPlanner.new = function(partGlue) return setmetatable({ _partGlue = partGlue, _shootLock = ShotLock.new() }, GunPlanner) end
GunPlanner.Plan = function(self, frameTime, target, gun, ourPart, wantsToFire)
local hitboxHead = target.AliveState.HitboxHead
local above = getRiotShieldSide(target.FighterState) ~= 'Below'
local ragebot = ragebotConfig.Data.Ragebot
local offset = above and vector or vector2
local gluedCFrame = self._partGlue:Acquire(ourPart, hitboxHead)
local n
if above then
n = gluedCFrame + offset
else
n = lookAtFlat(gluedCFrame.Position + offset, hitboxHead.Position)
end
if not self._shootLock:ShouldFire(wantsToFire, frameTime * ragebot.ShootFrames) then
local random2 = math.random
return CFrame.new(math.random(-1000000, 1000000), math.random(5000, 10000), random2(-1000000, 1000000)), nil
end
local origin = (above and { encodedOriginAbove } or { encodedOriginBelow })[1]
local aim = (above and { encodedAimAbove } or { encodedAimBelow })[constantPool[63]]
return n, function() gun:ShootEncoded(origin, aim, hitboxHead, encodedHitOffset) end
end
return GunPlanner
end
modules.jD = function()
local cached = modules.cache.jD
if not cached then
local created = { c = buildGunPlanner() }
modules.cache.jD = created
cached = created
end
return cached.c
end
end
do -- jE MeleePlanner: per-frame plan for melee (backstab window)
local function buildMeleePlanner()
modules.cJ()
local ragebotConfig = modules.bG()
modules.cS()
modules.gA()
local ShotLock = modules.jA()
modules.jB()
local getRiotShieldSide = modules.jy()
local lookAtFlat = modules.jC()
local vector = Vector3.new(0, -constantPool[195], 0.05)
local vector2 = Vector3.new(constantPool[186], -3.85, 0.05)
local encodedOriginAbove = {
['\0'] = -9e37,
['\1'] = 0,
['\2'] = 0,
['\3'] = -1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedAimAbove = {
['\0'] = 0,
['\1'] = -90000000,
['\2'] = constantPool[186],
['\3'] = -1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedOriginBelow = {
['\0'] = -9e37,
['\1'] = 0,
['\2'] = constantPool[186],
['\3'] = 1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedAimBelow = {
['\0'] = 0,
['\1'] = 90000000,
['\2'] = constantPool[186],
['\3'] = 1.5707963267948966,
['\4'] = 3.1415926535897931,
['\5'] = 3.1415926535897931,
}
local encodedHitOffset = { ['\0'] = 0, ['\1'] = 1, ['\2'] = constantPool[186], ['\3'] = 0, ['\4'] = 0, ['\5'] = 0 }
local function farAwayCFrame()
local random2 = math.random
return CFrame.new(math.random(-10000000, -100000), math.random(5000, 10000), random2(-10000000, -100000))
end
local function viewAngles(pitchRad, yawRad) return { Kind = 'Normalized', Pitch = math.deg(pitchRad), Yaw = math.deg(yawRad) } end
local function withOrientation(base, rx, ry, rz)
return {
['\0'] = base['\0'],
['\1'] = base['\1'],
['\2'] = base['\2'],
['\3'] = rx,
['\4'] = ry,
['\5'] = rz,
}
end
local MeleePlanner = {}
MeleePlanner.__index = MeleePlanner
MeleePlanner.new = function(partGlue)
return setmetatable({ _partGlue = partGlue, _shootLock = ShotLock.new(), _hitboxWindowUntil = -1, _attackCooldown = -1 }, MeleePlanner)
end
MeleePlanner.Plan = function(self, frameTime, target, melee, gluedOurPart, wantsToFire)
local aliveState = target.AliveState
local hitboxHead = aliveState.HitboxHead
local above = getRiotShieldSide(target.FighterState) ~= 'Below'
local ragebot = ragebotConfig.Data.Ragebot
local offset = above and vector or vector2
local gluedCFrame = self._partGlue:Acquire(gluedOurPart, hitboxHead)
self._gluedOurPart = gluedOurPart
local n
if above then
n = gluedCFrame + offset
else
n = lookAtFlat(gluedCFrame.Position + offset, hitboxHead.Position)
end
local rx, ry, rz = aliveState.RootPart.CFrame:ToOrientation()
local pitch = above and -1.5707963267948966 or 1.5707963267948966
local origin = (above and { encodedOriginAbove } or { encodedOriginBelow })[1]
local aim = (above and { encodedAimAbove } or { encodedAimBelow })[1]
local originPose = withOrientation(origin, pitch, ry, rz)
local aimPose = withOrientation(aim, pitch, ry, rz)
local now2 = os.clock()
if now2 < self._hitboxWindowUntil then
return n, viewAngles(rx, ry), function() melee:HeavyAttackEncoded(originPose, aimPose, hitboxHead, encodedHitOffset) end
end
if not self._shootLock:ShouldFire(wantsToFire, frameTime * ragebot.ShootFrames) then return farAwayCFrame(), nil, nil end
if now2 < self._attackCooldown then return farAwayCFrame(), nil, nil end
if melee.Name == 'Knife' then
self:_RecordBackstab()
return n, viewAngles(rx, ry), function() melee:HeavyAttackEncoded(originPose, aimPose, hitboxHead, encodedHitOffset) end
end
return n, nil, function() melee:AttackEncoded(originPose, aimPose, hitboxHead, encodedHitOffset) end
end
MeleePlanner._RecordBackstab = function(self)
local now2 = os.clock()
self._hitboxWindowUntil = now2 + 0.625
self._attackCooldown = now2 + 1.25
end
MeleePlanner.ResetState = function(self)
self._hitboxWindowUntil = -1
self._attackCooldown = -1
self._shootLock:Reset()
local gluedOurPart = self._gluedOurPart
if gluedOurPart ~= nil then
self._partGlue:Free(gluedOurPart)
self._gluedOurPart = nil
end
end
return MeleePlanner
end
modules.jE = function()
local cached = modules.cache.jE
if not cached then
local created = { c = buildMeleePlanner() }
modules.cache.jE = created
cached = created
end
return cached.c
end
end
do -- jF randomPointAround
local function buildRandomPointAround()
local random = Random.new()
return function(center, minRadius, maxRadius)
local angle = random:NextNumber(0, 6.2831853071795862)
local radius = random:NextNumber(minRadius, maxRadius)
local cframe = CFrame.new(center + Vector3.new(math.cos(angle) * radius, 0, math.sin(angle) * radius))
local nextNumber = random.NextNumber
return cframe
* CFrame.fromOrientation(
random:NextNumber(0, 6.2831853071795862),
random:NextNumber(0, 6.2831853071795862),
nextNumber(random, 0, 6.2831853071795862)
)
end
end
modules.jF = function()
local cached = modules.cache.jF
if not cached then
cached = { c = buildRandomPointAround() }
modules.cache.jF = cached
end
return cached.c
end
end
do -- jG surfaceNormal
local function buildSurfaceNormal()
return function(part, point)
local closestPointOnSurface = part:GetClosestPointOnSurface(point)
local offset = point - closestPointOnSurface
if offset.Magnitude < 1e-06 then return closestPointOnSurface, nil end
local dx = part:GetClosestPointOnSurface(point + Vector3.xAxis * 0.05) - closestPointOnSurface
local dy = part:GetClosestPointOnSurface(point + Vector3.yAxis * 0.05) - closestPointOnSurface
local dz = part:GetClosestPointOnSurface(point + Vector3.zAxis * 0.05) - closestPointOnSurface
local normal = dy:Cross(dx)
if normal.Magnitude < 1e-06 then normal = dy:Cross(dz) end
if normal.Magnitude < 1e-06 then normal = dx:Cross(dz) end
if normal.Magnitude < 1e-06 then return closestPointOnSurface, nil end
if normal:Dot(offset) < 0 then normal = -normal end
return closestPointOnSurface, normal.Unit
end
end
modules.jG = function()
local cached = modules.cache.jG
if not cached then
local created = { c = buildSurfaceNormal() }
modules.cache.jG = created
cached = created
end
return cached.c
end
end
do -- jH ProjectileBreakerTeleport: surface pool and positions
local function buildProjectileBreakerTeleport()
local ragebotConfig = modules.bG()
modules.cF()
modules.cX()
local Trove = modules.k()
local randomPointAround = modules.jF()
local surfaceNormal = modules.jG()
local collectionService = cloneref(game:GetService('CollectionService'))
local random = Random.new()
local vector = Vector3.new(5, 5, 5)
local overlapParams = OverlapParams.new()
overlapParams.FilterType = Enum.RaycastFilterType.Exclude
overlapParams.FilterDescendantsInstances = {}
overlapParams.BruteForceAllSlow = constantPool[34]
local function surfaceFrame(position, normal, part)
local unit = normal.Unit
local toPart = part.Position - position
local perpendicular = toPart - unit * toPart:Dot(unit)
if perpendicular.Magnitude < 0.0001 then
local lookVector = part.CFrame.LookVector
perpendicular = lookVector - unit * lookVector:Dot(unit)
if perpendicular.Magnitude < 0.0001 then perpendicular = Vector3.xAxis - unit * unit:Dot(Vector3.xAxis) end
end
local unit2 = perpendicular.Unit:Cross(unit).Unit
return { SurfacePosition = position, Right = unit2, Up = unit, Forward = unit:Cross(unit2).Unit }
end
local function oscillate(range, frequency)
local n = 6.2831853071795862 * frequency
return range.Min + (range.Max - range.Min) * (math.sin(os.clock() * n) + 1) * constantPool[101]
end
local function currentDepthUp()
local projectileBreaker = ragebotConfig.Data.Ragebot.Evasion.ProjectileBreaker
return oscillate(projectileBreaker.DepthUp, projectileBreaker.DepthUpFrequency)
end
local function currentDepthForward()
local projectileBreaker = ragebotConfig.Data.Ragebot.Evasion.ProjectileBreaker
return oscillate(projectileBreaker.DepthForward, projectileBreaker.DepthForwardFrequency)
end
local function surfaceOffsetCFrame(surface, up, forward)
return CFrame.fromMatrix(
surface.SurfacePosition - surface.Up * 0.01 - surface.Up * up + surface.Forward * forward,
surface.Right,
surface.Up,
-surface.Forward
)
end
local function isBlocker(part) return part.Name == 'Barriers' or part:HasTag('OutOfBoundsPart') or part:HasTag('KillBrick') end
local function touchesBlocker(position)
for _, part in workspace:GetPartBoundsInBox(CFrame.new(position), vector, overlapParams), nil, nil do
if isBlocker(part) then return true end
end
return false
end
local function findTopSurface(part)
if part.Transparency == 1 then return nil end
local size = part.Size
if size.X * size.Y * size.Z < 64 then return nil end
local n = size.Magnitude + 1000
for i = 1, constantPool[175] do
local point, normal = surfaceNormal(part, part.Position + random:NextUnitVector() * n)
if normal == nil or normal.Y < 0.98 then continue end
return surfaceFrame(point, normal, part)
end
local point, normal = surfaceNormal(part, part.Position + Vector3.yAxis * n)
if normal ~= nil and normal.Y >= 0.98 then return surfaceFrame(point, normal, part) end
return nil
end
local function fallbackPoint(root)
local projectileBreaker = ragebotConfig.Data.Ragebot.Evasion.ProjectileBreaker
local fallbackBaseRadius = projectileBreaker.FallbackBaseRadius
local n = fallbackBaseRadius + fallbackBaseRadius * projectileBreaker.FallbackRadiusRandomFactor
local position = root.Position
local randomFrame = randomPointAround(
projectileBreaker.FallbackAnchorFromCharacter and position or Vector3.new(constantPool[186], position.Y, constantPool[186]),
fallbackBaseRadius,
n
)
local axis = random:NextInteger(constantPool[63], 3)
local position2 = randomFrame.Position
local x = position2.X
local y = position2.Y
local z = position2.Z
if axis == 1 then
x = 1073741824
elseif axis == constantPool[56] then
y = 1073741824
else
z = 1073741824
end
return randomFrame - position2 + Vector3.new(x, y, z)
end
local ProjectileBreakerTeleport = {}
ProjectileBreakerTeleport.__index = ProjectileBreakerTeleport
ProjectileBreakerTeleport.new = function(fighters, context)
local trove = Trove.new('ragebot.ProjectileBreakerTeleport')
local breaker = {
_trove = trove,
_fighters = fighters,
_nextPositionCooldown = -constantPool[63],
_poolEnvironmentId = nil,
_pool = {},
_processedPartSet = {},
}
setmetatable(breaker, ProjectileBreakerTeleport)
trove:Add(context:ObserveContext('ragebot.ProjectileBreakerTeleport', function(contextInfo, contextTrove)
breaker:_BindEnvironment(contextInfo.FighterState.EnvironmentId)
contextTrove:Connect(contextInfo.FighterState.EnvironmentIdChanged, function(environmentId) breaker:_BindEnvironment(environmentId) end)
end))
trove:Connect(context.ContextRemoved, function() breaker:_BindEnvironment(nil) end)
return breaker
end
ProjectileBreakerTeleport.Destroy = function(self) self._trove:Destroy() end
ProjectileBreakerTeleport._BindEnvironment = function(self, poolEnvironmentId)
self._poolEnvironmentId = poolEnvironmentId
self._pool = {}
self._processedPartSet = {}
end
ProjectileBreakerTeleport.Compute = function(self, root)
local nextPositionCooldown = self._nextPositionCooldown
if os.clock() < nextPositionCooldown then
local lastBreakSurface = self._lastBreakSurface
if lastBreakSurface ~= nil then return surfaceOffsetCFrame(lastBreakSurface, currentDepthUp(), currentDepthForward()) end
end
if not self:_HasProjectileThreat() then
self._lastBreakSurface = nil
return fallbackPoint(root)
end
local surface = self:_BreakLine()
if surface ~= nil then
self._lastBreakSurface = surface
return surfaceOffsetCFrame(surface, currentDepthUp(), currentDepthForward())
end
return fallbackPoint(root)
end
ProjectileBreakerTeleport._HasProjectileThreat = function(self)
for _, fighterState in self._fighters.EnemyByPlayer, nil, nil do
local gun = fighterState.ItemObserver:EquippedItemAsGun()
if gun ~= nil and not gun.IsRaycast and gun.Name == 'Slingshot' then return true end
end
return false
end
ProjectileBreakerTeleport._ScanBatch = function(self, environmentId)
local projectileBreaker = ragebotConfig.Data.Ragebot.Evasion.ProjectileBreaker
local upMid = (projectileBreaker.DepthUp.Min + projectileBreaker.DepthUp.Max) * constantPool[101]
local forwardMid = (projectileBreaker.DepthForward.Min + projectileBreaker.DepthForward.Max) * 0.5
local scanned = constantPool[186]
local function scanPart(part)
if not part:IsA('BasePart') or self._processedPartSet[part] then return end
self._processedPartSet[part] = true
scanned += 1
local surface = findTopSurface(part)
if surface == nil then return end
if touchesBlocker(surfaceOffsetCFrame(surface, upMid, forwardMid).Position) then return end
table.insert(self._pool, surface)
end
for _, root in collectionService:GetTagged('RaycastWhitelist' .. environmentId) do
if isBlocker(root) then continue end
scanPart(root)
if scanned >= constantPool[83] or #self._pool >= 30 then return end
for _, descendant in root:GetDescendants() do
if isBlocker(descendant) then continue end
scanPart(descendant)
if scanned >= 64 or #self._pool >= constantPool[192] then return end
end
end
end
ProjectileBreakerTeleport._BreakLine = function(self)
local poolEnvironmentId = self._poolEnvironmentId
if poolEnvironmentId == nil then return nil end
if #self._pool < 30 then self:_ScanBatch(poolEnvironmentId) end
if #self._pool < 30 then return nil end
local repositionInterval = ragebotConfig.Data.Ragebot.Evasion.ProjectileBreaker.RepositionInterval
self._nextPositionCooldown = os.clock() + repositionInterval
return self._pool[random:NextInteger(1, #self._pool)]
end
ProjectileBreakerTeleport.ResetState = function(self)
self._nextPositionCooldown = -1
self._lastBreakSurface = nil
end
return ProjectileBreakerTeleport
end
modules.jH = function()
local cached = modules.cache.jH
if not cached then
cached = { c = buildProjectileBreakerTeleport() }
modules.cache.jH = cached
end
return cached.c
end
end
do -- jI RandomEvasion
local function buildRandomEvasion()
local ragebotConfig = modules.bG()
local randomPointAround = modules.jF()
local random = Random.new()
return {
compute = function(root)
local random2 = ragebotConfig.Data.Ragebot.Evasion.Random
local baseRadius = random2.BaseRadius
local n = baseRadius + baseRadius * random2.RadiusRandomFactor
local position = root.Position
local randomFrame = randomPointAround(random2.AnchorFromCharacter and position or Vector3.new(0, position.Y, 0), baseRadius, n)
local axis = random:NextInteger(constantPool[63], 3)
local position2 = randomFrame.Position
local x = position2.X
local y = position2.Y
local z = position2.Z
if axis == 1 then
x = 1073741824
elseif axis == 2 then
y = 1073741824
else
z = 1073741824
end
return randomFrame - position2 + Vector3.new(x, y, z)
end,
}
end
modules.jI = function()
local cached = modules.cache.jI
if not cached then
cached = { c = buildRandomEvasion() }
modules.cache.jI = cached
end
return cached.c
end
end
do -- jJ SpatialLimitGate
local function buildSpatialLimitGate()
local ragebotConfig = modules.bG()
modules.cF()
modules.jB()
local Trove = modules.k()
local function isOutsideLimit(position) return math.abs(position.X) >= 4194304 or math.abs(position.Y) >= 4194304 or math.abs(position.Z) >= 4194304 end
local SpatialLimitGate = {}
SpatialLimitGate.__index = SpatialLimitGate
SpatialLimitGate.new = function(fighters)
local gate = { _trove = Trove.new('ragebot.SpatialLimitGate'), _measurementByFighterState = {} }
setmetatable(gate, SpatialLimitGate)
gate:_Initialize(fighters)
return gate
end
SpatialLimitGate._Initialize = function(self, fighters)
self._trove:Add(
fighters:ObserveRemoteStates(
function(fighterState) self._measurementByFighterState[fighterState] = { ExpectedDuration = 1 } end,
function(fighterState) self._measurementByFighterState[fighterState] = nil end
)
)
end
SpatialLimitGate.Tick = function(self, target)
local now2 = os.clock()
local fighterState = target.FighterState
local measurement = self._measurementByFighterState[fighterState]
local limitEntryTime = measurement.LimitEntryTime
local canShoot = fighterState.ItemObserver:GetEquippedAmmoState() ~= false
if not isOutsideLimit(target.AliveState.RootPart.Position) then
if limitEntryTime ~= nil then
if canShoot then measurement.ExpectedDuration = now2 - limitEntryTime end
measurement.LimitEntryTime = nil
end
return false
end
if limitEntryTime == nil then
measurement.LimitEntryTime = now2
limitEntryTime = now2
end
if canShoot then
if measurement.ExpectedDuration - ragebotConfig.Data.Ragebot.Stability <= now2 - limitEntryTime then return false end
end
return constantPool[34]
end
SpatialLimitGate.Destroy = function(self) self._trove:Destroy() end
return SpatialLimitGate
end
modules.jJ = function()
local cached = modules.cache.jJ
if not cached then
cached = { c = buildSpatialLimitGate() }
modules.cache.jJ = cached
end
return cached.c
end
end
do -- jK TranslocateEvasion
local function buildTranslocateEvasion()
local ragebotConfig = modules.bG()
local randomPointAround = modules.jF()
local collectionService = cloneref(game:GetService('CollectionService'))
return {
compute = function(root, hasTargets)
if not hasTargets then return randomPointAround(root.Position, 10000, 1e9) end
local killPart = nil
for _, part in collectionService:GetTagged('OutOfBoundsPart') do
if part:GetAttribute('KillDelay') == 0 then
killPart = part
break
else
killPart = nil
end
end
if killPart == nil then return randomPointAround(root.Position, 10000, 1e9) end
return killPart.CFrame * CFrame.new(0, -killPart.Size.Y / 2 + ragebotConfig.Data.Ragebot.Evasion.Translocate.Offset, 0)
end,
}
end
modules.jK = function()
local cached = modules.cache.jK
if not cached then
cached = { c = buildTranslocateEvasion() }
modules.cache.jK = cached
end
return cached.c
end
end
do -- jL RingField: ring cells and random points
local function buildRingField()
local jitterRange = 1121
local random = Random.new()
local function randomUint32() return random:NextInteger(0, 65535) * 65536 + random:NextInteger(constantPool[186], 65535) end
local seedA = randomUint32()
local seedB = randomUint32()
local seedC = randomUint32()
local seedD = randomUint32()
local function hash(a, b)
local h1 = (bit32.bxor(a, b, seedA) + seedB) % 4294967296
local h2 = (bit32.bxor(h1, bit32.lrotate(h1, 7)) + seedC) % 4294967296
local h3 = (bit32.bxor(h2, bit32.rrotate(h2, 11)) + seedD) % 4294967296
return (bit32.bxor(h3, bit32.lrotate(h3, 17)))
end
local function makeRing(min, max)
local yMin = min + 400 + constantPool[83]
return {
Min = min,
Max = max,
Cells = (max - min) / 2048,
YMin = yMin,
YSpan = max - 400 - 64 - yMin + 1,
Salt = randomUint32(),
}
end
local normalRing = makeRing(65536, 524288)
local immuneRing = makeRing(134217728, 1073741824)
local function cellHash(ring, cellX, cellZ, extra)
local bxor = bit32.bxor
local salt = ring.Salt
return hash(bit32.bxor(cellX, bit32.lshift(cellZ, constantPool[118])), bxor(extra, salt))
end
local function cellJitter(ring, cellX, cellZ, extra) return cellHash(ring, cellX, cellZ, extra) % jitterRange - 560 end
local function cellCenter(ring, cellX, cellZ)
local base = ring.Min + 1024
local ySpan = ring.YSpan
return Vector3.new(
base + cellX * 2048 + cellJitter(ring, cellX, cellZ, 324508639),
ring.YMin + cellHash(ring, cellX, cellZ, 826366246) % ySpan,
base + cellZ * 2048 + cellJitter(ring, cellX, cellZ, 610839776)
)
end
local function randomPointInRing(ring)
local lastCell = ring.Cells - 1
local nextInteger = random.NextInteger
local zero = constantPool[186]
local center = cellCenter(ring, random:NextInteger(0, lastCell), nextInteger(random, zero, lastCell))
local radius = 200 * random:NextNumber() ^ 0.33333333333333331
local unitZ = random:NextNumber(-1, 1)
local planar = math.sqrt(1 - unitZ * unitZ)
local angle = random:NextNumber(0, 6.2831853071795862)
return center + Vector3.new(radius * planar * math.cos(angle), radius * unitZ, radius * planar * math.sin(angle))
end
local function isInRing(ring, position)
local min = ring.Min
local max = ring.Max
local x = position.X
local y = position.Y
local z = position.Z
if x <= min or x >= max or y <= min or y >= max or z <= min or z >= max then return false end
local cellX = math.floor((x - min) / 2048)
local cellZ = math.floor((z - min) / 2048)
return (position - cellCenter(ring, cellX, cellZ)).Magnitude < 400
end
local function randomOrientation(position)
local cframe = CFrame.fromOrientation
local nextNumber = random.NextNumber
return CFrame.new(position)
* cframe(
random:NextNumber(-3.1415926535897931, 3.1415926535897931),
random:NextNumber(-3.1415926535897931, 3.1415926535897931),
nextNumber(random, -3.1415926535897931, 3.1415926535897931)
)
end
return {
SphereRadius = 400,
isInAnyRing = function(position) return isInRing(normalRing, position) or isInRing(immuneRing, position) end,
isInNormalRing = function(position) return isInRing(normalRing, position) end,
isInImmuneRing = function(position)
if not integrityFlagB then return end
return isInRing(immuneRing, position)
end,
getNormal = function() return randomOrientation(randomPointInRing(normalRing)) end,
getImmune = function() return randomOrientation(randomPointInRing(immuneRing)) end,
}
end
modules.jL = function()
local cached = modules.cache.jL
if not cached then
cached = { c = buildRingField() }
modules.cache.jL = cached
end
return cached.c
end
end
do -- jM WeaponChooser: next weapon action
local function buildWeaponChooser()
local ragebotConfig = modules.bG()
modules.cU()
modules.cX()
local function slotName(item)
local slot = item.Index
return slot == constantPool[63] and 'Primary' or slot == 2 and 'Secondary' or slot == 3 and 'Melee' or nil
end
local function isSlotEnabled(slot) return ragebotConfig.Data.Ragebot.Weapons.Enabled[slot] end
return {
getAction = function(context)
local weapons = ragebotConfig.Data.Ragebot.Weapons
local onEmpty = weapons.OnEmpty
local huge = math.huge
local huge2 = math.huge
local anyEnabled = false
local bestItem = nil
local emptyGunItem = nil
for _, item in context.ItemBehaviors:GetItems(), nil, nil do
local slot = slotName(item)
if not (slot == nil or not isSlotEnabled(slot)) then
anyEnabled = constantPool[34]
local huge3 = table.find(weapons.Priority, slot) or math.huge
if item.__type == 'Gun' and item:GetAmmo() == 0 then
if not (item:GetAmmoReserve() <= 0) then
if huge3 < huge2 then
if onEmpty == 'Reload' then
bestItem = item
huge = huge3
else
huge2 = huge3
emptyGunItem = item
end
end
end
elseif bestItem == nil or huge3 < huge then
bestItem = item
huge = huge3
end
end
end
if not anyEnabled then return nil end
if bestItem ~= nil then
local needsReload = bestItem.__type == 'Gun'
if needsReload then
local zero = constantPool[186]
needsReload = bestItem:GetAmmo() == zero
end
if bestItem:IsEquipped() then
if needsReload then return { Type = 'Reload', Item = bestItem } end
return { Type = 'Attack', Item = bestItem }
end
return { Type = 'Swap', Item = bestItem }
end
if onEmpty == 'Swap' then return nil end
if emptyGunItem ~= nil then
if emptyGunItem:IsEquipped() then return { Type = 'Reload', Item = emptyGunItem } end
return { Type = 'Swap', Item = emptyGunItem }
end
return nil
end,
}
end
modules.jM = function()
local cached = modules.cache.jM
if not cached then
cached = { c = buildWeaponChooser() }
modules.cache.jM = cached
end
return cached.c
end
end
do -- jN getShieldState
local function buildGetShieldState()
modules.cU()
modules.jx()
return function(itemBehaviors)
local shield = itemBehaviors:FindMeleeByName('Riot Shield')
if shield == nil then return 'None' end
return shield:IsEquipped() and 'Equipped' or 'Unequipped'
end
end
modules.jN = function()
local cached = modules.cache.jN
if not cached then
cached = { c = buildGetShieldState() }
modules.cache.jN = cached
end
return cached.c
end
end
do -- jO RagebotController: update loop, plans, reload transport
local function buildRagebotController()
modules.cJ()
local ragebotConfig = modules.bG()
local defensivePose = modules.jz()
modules.cF()
local GunPlanner = modules.jD()
modules.cU()
local KeybindBridge = modules.c4()
local MeleePlanner = modules.jE()
modules.gA()
modules.cX()
modules.bM()
local ProjectileBreakerTeleport = modules.jH()
local RandomEvasion = modules.jI()
local ServerOrigin = modules.cG()
local SpatialLimitGate = modules.jJ()
modules.g_()
local TargetSelector = modules.jB()
local TranslocateEvasion = modules.jK()
local Trove = modules.k()
local RingField = modules.jL()
local WeaponChooser = modules.jM()
local getShieldState = modules.jN()
local fallenPartsDestroyHeight = workspace.FallenPartsDestroyHeight
local function idleImmunePlan() return { CFrame = RingField.getImmune(), ShouldSkipDefense = true } end
local RagebotController = {}
RagebotController.__index = RagebotController
RagebotController.new = function(fighters, playerTags, fighterContext, stateHook, partGlue)
local ragebot = Trove.new('ragebot')
local spatialGate = ragebot:Add(SpatialLimitGate.new(fighters))
local controller = {
_trove = ragebot,
_enabled = false,
_lastTargetWorld = nil,
_lastDefensiveViewAngles = nil,
_playerContext = fighterContext,
_targetSelection = TargetSelector.new(fighters, playerTags),
_spatialLimitGate = spatialGate,
_hitscanStrategy = GunPlanner.new(partGlue),
_meleeStrategy = MeleePlanner.new(partGlue),
_projectileBreakerTeleport = ragebot:Add(ProjectileBreakerTeleport.new(fighters, fighterContext)),
_stateHook = stateHook,
_reloadGun = nil,
_reloadReadyAt = nil,
_reloadAcknowledgementDeadline = nil,
_pendingDepletionAmmo = nil,
}
setmetatable(controller, RagebotController)
controller:_Initialize()
return controller
end
RagebotController._Initialize = function(self)
self._trove:Add(self._playerContext:ObserveContext('ragebot', function(innerContext)
if not integrityFlagA then return end
self._innerContext = innerContext
self:_ClearReloadTransport()
end))
self._trove:Connect(self._playerContext.ContextRemoved, function()
self:_Reset()
self._innerContext = nil
end)
self._trove:Add(KeybindBridge:ObserveEnabledKeybind({ 'Ragebot' }, function(enabled)
self:SetEnabled(enabled)
self:_Reset()
end))
end
RagebotController.SetEnabled = function(self, enabled)
if self._enabled == enabled then return end
self._enabled = enabled
gameNewIndex(workspace, 'FallenPartsDestroyHeight', enabled and (0 / 0) or fallenPartsDestroyHeight)
protectedCall(setFFlag, 'DFIntS2PhysicsSenderRate', enabled and '120' or '15')
protectedCall(setFFlag, 'DFIntAssemblyHistoryBufferSize', enabled and '2147483648' or '15')
protectedCall(setFFlag, 'DFIntAssemblyHistorySkipSize', enabled and constantPool[18] or '8')
if not enabled then self:_ClearReloadTransport() end
end
RagebotController.Update = function(self, deltaTime)
local innerContext = self._innerContext
if innerContext == nil then
self:_Reset()
return
end
local fighterState = innerContext.FighterState
if fighterState.EnvironmentId == nil or not self._enabled then
self:_Reset()
return
end
local state = fighterState.Character.State
if not state.Alive then
self:_Reset()
return
end
local characterController = innerContext.CharacterController
local clientCFrame = characterController:GetClientCFrame()
local mode = ragebotConfig.Data.Ragebot.Evasion.Mode
local action = WeaponChooser.getAction(innerContext)
if mode == 'Translocate' and self._reloadGun == nil and (action == nil or action.Type ~= 'Reload') then
self:_ApplyForcedCrouch(constantPool[153])
characterController:SetServerCFrame(TranslocateEvasion.compute(clientCFrame, self._targetSelection:HasTargets()))
return
end
local target = self._targetSelection:GetTarget()
if target ~= nil then
self._lastTargetWorld = target.AliveState.RootPart.Position
else
self._lastTargetWorld = nil
end
local plan = self:_Plan(deltaTime, action, target, state.RootPart, clientCFrame, mode)
self:_ApplyPlan(plan, target, innerContext)
local reloadGun = self._reloadGun
if
reloadGun ~= nil
and self._reloadReadyAt == nil
and self._pendingDepletionAmmo == nil
and not reloadGun:IsReloading()
then
self._reloadReadyAt = os.clock() + ServerOrigin.getEstimatedReplicationDelay()
end
self:_ApplyForcedCrouch(plan.ShouldForceCrouch == true)
local gun = innerContext.ItemBehaviors:EquippedItemAsGun()
local ammo = gun ~= nil and gun:GetAmmo() or 0
local shotRequestCount = gun ~= nil and gun.ShotRequestCount or 0
local weaponAction = plan.WeaponAction
if weaponAction ~= nil then
weaponAction()
if
gun ~= nil
and (gun ~= nil and gun.ShotRequestCount - shotRequestCount or 0) > 0
and gun:GetExpectedAmmoAfterPendingShots() <= 0
then
innerContext.CharacterController:SetServerCFrame(RingField.getImmune())
local now2 = os.clock()
self._reloadGun = gun
self._reloadReadyAt = now2 + ServerOrigin.getEstimatedReplicationDelay()
self._pendingDepletionAmmo = ammo
self._reloadAcknowledgementDeadline = now2 + ServerOrigin.getEstimatedRemoteDelay() + ServerOrigin.getEstimatedReplicationDelay()
end
end
end
RagebotController._Plan = function(self, deltaTime, action, target, ourPart, clientCFrame, mode)
local canFire = target ~= nil and not self._spatialLimitGate:Tick(target)
local transportPlan = self:_PlanReloadTransport(action)
if transportPlan ~= nil then return transportPlan end
if action == nil then return self:_EvadePlan(clientCFrame, mode) end
if action.Type == 'Swap' then
local item = action.Item
local plan = self:_EvadePlan(clientCFrame, mode)
plan.WeaponAction = function() item:Equip() end
return plan
end
if action.Type == 'Reload' then return idleImmunePlan() end
if target == nil then return self:_EvadePlan(clientCFrame, mode) end
local item = action.Item
if item.__type == 'Gun' then
if item:IsReloading() then return idleImmunePlan() end
local cframe, weaponAction = self._hitscanStrategy:Plan(deltaTime, target, item, ourPart, canFire)
return { CFrame = cframe, WeaponAction = weaponAction, ShouldForceCrouch = true, IsAimPose = weaponAction ~= nil }
end
if item.__type == 'Melee' then
local cframe, viewAngles, weaponAction = self._meleeStrategy:Plan(deltaTime, target, item, ourPart, canFire)
return {
CFrame = cframe,
ViewAngles = viewAngles,
WeaponAction = weaponAction,
ShouldSkipDefense = constantPool[34],
ShouldForceCrouch = true,
}
end
return {}
end
RagebotController._ClearReloadTransport = function(self)
self._reloadGun = nil
self._reloadReadyAt = nil
self._reloadAcknowledgementDeadline = nil
self._pendingDepletionAmmo = nil
end
RagebotController._PlanReloadTransport = function(self, action)
local reloadGun = self._reloadGun
local now2 = os.clock()
if reloadGun ~= nil then
if
(self._innerContext ~= nil and self._innerContext.ItemBehaviors:EquippedItemAsGun() or nil) ~= reloadGun
or action ~= nil and (action.Type == 'Swap' or action.Type == 'Attack') and action.Item ~= reloadGun
then
self:_ClearReloadTransport()
return nil
end
if reloadGun:IsReloading() then
self._reloadReadyAt = nil
self._pendingDepletionAmmo = nil
self._reloadAcknowledgementDeadline = nil
return idleImmunePlan()
end
local ammo = reloadGun:GetAmmo()
if self._pendingDepletionAmmo ~= nil then
local reloadAcknowledgementDeadline = self._reloadAcknowledgementDeadline
if not (ammo <= 0 and reloadGun:GetAmmoReserve() > 0) then
local expired = reloadAcknowledgementDeadline == nil or now2 >= reloadAcknowledgementDeadline
if not expired then
local zero = constantPool[186]
expired = reloadGun:GetExpectedAmmoAfterPendingShots() > zero
end
if expired then
self:_ClearReloadTransport()
return nil
end
return idleImmunePlan()
end
self._pendingDepletionAmmo = nil
self._reloadAcknowledgementDeadline = nil
end
if ammo > 0 or reloadGun:GetAmmoReserve() <= 0 then
self:_ClearReloadTransport()
return nil
end
local reloadReadyAt = self._reloadReadyAt
if reloadReadyAt == nil then
reloadReadyAt = now2 + ServerOrigin.getEstimatedReplicationDelay()
self._reloadReadyAt = reloadReadyAt
end
local plan = idleImmunePlan()
local reloadAcknowledgementDeadline = self._reloadAcknowledgementDeadline
if now2 >= reloadReadyAt and (reloadAcknowledgementDeadline == nil or now2 >= reloadAcknowledgementDeadline) then
plan.WeaponAction = function()
if reloadGun:Reload() then
self._reloadAcknowledgementDeadline = os.clock()
+ ServerOrigin.getEstimatedRemoteDelay()
+ ServerOrigin.getEstimatedReplicationDelay()
end
end
end
return plan
end
if action == nil or action.Type ~= 'Reload' then return nil end
self._reloadGun = action.Item
self._reloadReadyAt = nil
self._reloadAcknowledgementDeadline = nil
self._pendingDepletionAmmo = nil
return idleImmunePlan()
end
RagebotController._EvadePlan = function(self, clientCFrame, mode)
if mode == 'Off' then return {} end
if mode == 'ProjectileBreaker' then
return { CFrame = self._projectileBreakerTeleport:Compute(clientCFrame), ShouldSkipDefense = constantPool[34] }
end
return { CFrame = RandomEvasion.compute(clientCFrame) }
end
RagebotController._ApplyPlan = function(self, plan, target, innerContext)
local characterController = innerContext.CharacterController
local cFrame = plan.CFrame
if cFrame == nil or target == nil or plan.ShouldSkipDefense then
characterController:SetServerCFrame(cFrame)
characterController:SendViewAngles(20, plan.ViewAngles)
return
end
local aliveState = target.AliveState
local shieldState = getShieldState(innerContext.ItemBehaviors)
local defensiveCFrame = defensivePose.getDefensiveCFrame(cFrame, shieldState, target.FighterState, aliveState.RootPart)
characterController:SetServerCFrame(defensiveCFrame)
if plan.IsAimPose or plan.ShouldDefendInPlace then
self._lastDefensiveViewAngles = defensivePose.getDefensiveViewAngles(shieldState, target.FighterState)
end
characterController:SendViewAngles(constantPool[9], plan.ViewAngles or self._lastDefensiveViewAngles)
end
RagebotController.GetLastTargetWorld = function(self) return self._lastTargetWorld end
RagebotController._ApplyForcedCrouch = function(self, forced)
if forced then
self._stateHook:SetForced('IsCrouching', true)
else
self._stateHook:ClearForced('IsCrouching')
end
end
RagebotController._Reset = function(self)
self:_ClearReloadTransport()
self._lastTargetWorld = nil
self._lastDefensiveViewAngles = nil
self:_ApplyForcedCrouch(false)
self._meleeStrategy:ResetState()
self._projectileBreakerTeleport:ResetState()
local innerContext = self._innerContext
if innerContext == nil then return end
innerContext.CharacterController:SetServerCFrame(nil)
innerContext.CharacterController:SendViewAngles(20, nil)
end
RagebotController.Destroy = function(self) self._trove:Destroy() end
return RagebotController
end
modules.jO = function()
local cached = modules.cache.jO
if not cached then
cached = { c = buildRagebotController() }
modules.cache.jO = cached
end
return cached.c
end
end
modules.aL = function() return nil end
modules.aM = function() return nil end
modules.aN = function() return nil end
modules.aO = function() return nil end
modules.aP = function() return nil end
modules.aQ = function() return nil end
modules.jx = function() return nil end
--==========================================================================
-- Standalone bootstrap. Mirrors what the hub's main (j1) does for the ragebot:
-- fighters -> player context -> state hook / part glue -> ragebot, ticked on
-- Heartbeat in the same order (context heartbeat, fighters, ragebot, view angles).
--==========================================================================
local GlobalTrove = modules.n()
modules.b().use({
Report = function(_, e)
local detail = type(e) == 'table' and (e.Detail or e.Operation) or e
warn('[Zkxhub Ragebot] ' .. tostring(detail))
end,
})
local RunService = game:GetService('RunService')
local Rage = Zkxhub
Rage.IsReady = false
Rage.Status = 'Starting'
local function path(p)
if type(p) == 'string' then
local out = {}
for part in string.gmatch(p, '[^%.]+') do
out[#out + 1] = part
end
p = out
end
return p
end
function Rage.Get(p) return modules.bG():Get(path(p)) end
function Rage.Set(p, v) modules.bG():Set(path(p), v) end
function Rage.SetEnabled(on)
Rage.Set({ 'Ragebot', 'Keybind', 'Kind' }, 'Always')
Rage.Set({ 'Ragebot', 'Enabled' }, on and true or false)
end
function Rage.SetBind(key, kind)
Rage.Set({ 'Ragebot', 'Keybind', 'Kind' }, kind or 'Toggle')
Rage.Set({ 'Ragebot', 'Keybind', 'Bind' }, key)
end
Rage.Config = modules.bG().Data.Ragebot
local function boot()
local registry = GlobalTrove:Add(modules.bK().new())
local tags = GlobalTrove:Add(modules.bM().new(registry))
local fighters = GlobalTrove:Add(modules.cF().new())
local context = GlobalTrove:Add(modules.cX().new(fighters))
local stateHook = GlobalTrove:Add(modules.g_().new())
local partGlue = GlobalTrove:Add(modules.gA().new())
local ragebot = GlobalTrove:Add(modules.jO().new(fighters, tags, context, stateHook, partGlue))
Rage.Tags = tags
-- the hub's hacker detector (module gg), minus its notification: feeds Ragebot.PrioritizeHackers
local speedTimer, tagged = {}, {}
local function detect(dt)
for _, state in fighters.StateByPlayer do
if tagged[state] then continue end
local alive = state.Character.State
local hacking = state:GetCameraRotation().X > math.tau
if not hacking and alive.Alive and alive.Velocity.Magnitude > 200 then
speedTimer[state] = (speedTimer[state] or 0) + dt
hacking = speedTimer[state] > 0.25
else
speedTimer[state] = 0
end
if hacking then
tagged[state] = true
tags:Add(state.Player, 'Hacker')
end
end
end
GlobalTrove:Add(fighters.RemoteStateRemoved:Connect(function(state)
tagged[state] = nil
speedTimer[state] = nil
end))
GlobalTrove:Add(RunService.Heartbeat:Connect(function(dt)
context:HeartbeatUpdate()
fighters:Update(dt)
detect(dt)
ragebot:Update(dt)
context:FlushViewAngles()
end))
Rage.IsReady = true
Rage.Status = 'Ready'
end
function Zkxhub.Unload()
if Zkxhub.destroyed then return end
Zkxhub.destroyed = true
pcall(function() Rage.SetEnabled(false) end)
for _, f in ipairs(Zkxhub.cleanups) do
pcall(f)
end
pcall(function() GlobalTrove:Destroy() end)
if getgenv().ZkxhubRagebot == Zkxhub then getgenv().ZkxhubRagebot = nil end
end
function Zkxhub.Start()
if Zkxhub.started or Zkxhub.destroyed then return end
Zkxhub.started = true
task.spawn(function()
local lp = game:GetService('Players').LocalPlayer
local ps = lp and lp:FindFirstChild('PlayerScripts')
if lp and not ps then
pcall(function() lp:WaitForChild('PlayerScripts', 30) end)
ps = lp:FindFirstChild('PlayerScripts')
end
local ctrl = ps and ps:FindFirstChild('Controllers')
if ps and not ctrl then
Rage.Status = 'Waiting for PlayerScripts.Controllers'
print('[Zkxhub Ragebot] waiting for PlayerScripts.Controllers ...')
pcall(function() ps:WaitForChild('Controllers', 30) end)
ctrl = ps:FindFirstChild('Controllers')
end
if not ctrl then
Rage.Status = 'Aborted: PlayerScripts.Controllers not found (Rivals only)'
warn('[Zkxhub Ragebot] ABORTED: PlayerScripts.Controllers not found. This is built for Rivals.')
return
end
Rage.Status = 'Waiting for the game to finish loading'
task.wait(3)
-- game controller modules error when required before the game finished replicating them:
-- require the heaviest one until it loads cleanly (a successful require is cached)
local pdc = ctrl:FindFirstChild('PlayerDataController')
local canary = ctrl:FindFirstChild('FighterController')
local ready, lastErr = false, '?'
if pdc and canary then
for i = 1, 90 do
local ok, res = pcall(require, pdc)
if ok then
if type(res) == 'table' and res.CurrentData ~= nil then
local ok2, err2 = pcall(require, canary)
if ok2 then
ready = true
break
end
lastErr = tostring(err2):sub(1, 300)
else
lastErr = 'CurrentData=' .. tostring(res and res.CurrentData)
end
else
lastErr = tostring(res):sub(1, 300)
end
if i == 1 or i % 5 == 0 then print('[Zkxhub Ragebot] not ready (' .. i .. '/90): ' .. lastErr) end
task.wait(2)
end
else
lastErr = 'PlayerDataController or FighterController missing under Controllers'
end
if not ready then
Rage.Status = 'Aborted: FighterController never initialized'
warn('[Zkxhub Ragebot] ABORTED: FighterController never initialized. Last error: ' .. tostring(lastErr))
return
end
if Zkxhub.destroyed then return end
local ok, err = pcall(boot)
if not ok then
Rage.Status = 'Boot failed: ' .. tostring(err):sub(1, 120)
warn('[Zkxhub Ragebot] boot failed: ' .. tostring(err))
end
end)
end
-- a host script can set getgenv().ZkxhubRagebotManualStart = true and call Rage.Start() when it wants the ragebot
if getgenv().ZkxhubRagebotManualStart == true then
Rage.Status = 'Not started (starts when the ragebot is first enabled)'
else
Zkxhub.Start()
end
return Zkxhub
end
-- ======================================================================
-- Ranked charm spoofer
-- ======================================================================
__ZkhHub_shared.rank_charm_spoofer = function()
-- Ranked Charm Spoofer.
-- Every "Season N" charm packs one model per rank in its Extra folder. When a charm is built, the game reads
-- EquippedData.Metadata.SeasonELO / SeasonLeaderboardRank, asks SeasonLibrary:FormatSeasonRankCharm for the rank
-- that matches, and deletes every other model. Changing that metadata (and optionally the charm name) before the
-- charm is built changes which rank model you see. It only changes what this client draws for your own weapons.
-- in match : ClientViewModel:Get('Charm') feeds Charm.new(viewModel, data, attachment)
-- menus : StaticViewModel:SetCharm(data) from the equipment preview (UI.Equipment.FloatingModel)
local Players = cloneref(game:GetService('Players'))
local ReplicatedStorage = cloneref(game:GetService('ReplicatedStorage'))
local LP = Players.LocalPlayer
local module = {}
local state = {
Enabled = false,
CharmName = nil, -- nil = keep the equipped charm (only Season charms change rank)
Rank = 'Archnemesis',
Leaderboard = 1,
ForceAll = false,
Classes = nil,
Catalog = nil,
Live = setmetatable({}, { __mode = 'k' }),
GetHooked = false,
SetCharmHooked = false,
OriginalGet = nil,
OwnedGet = false,
OriginalSetCharm = nil,
RefreshPending = false,
}
module.Status = 'Not started'
local function resolveClasses()
if state.Classes then return state.Classes end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local assets = playerScripts and playerScripts:FindFirstChild('Assets')
if not (modules and assets) then return nil end
local ok, classes = pcall(
function()
return {
Charm = require(modules.Charm),
ClientViewModel = require(modules.ClientReplicatedClasses.ClientFighter.ClientItem.ClientViewModel),
StaticViewModel = require(modules.StaticModel.StaticViewModel),
CharmModules = modules.Charms,
CharmAssets = assets.Charms,
SeasonLibrary = require(ReplicatedStorage.Modules.SeasonLibrary),
}
end
)
if ok then state.Classes = classes end
return state.Classes
end
function module.GetCatalog()
if state.Catalog then return state.Catalog end
local classes = resolveClasses()
if not classes then return nil end
local library = classes.SeasonLibrary
local season = library.CurrentSeason
local profile = type(season) == 'table' and season.RankProfile or nil
if not (type(profile) == 'table' and type(profile.RanksOrder) == 'table' and type(profile.Ranks) == 'table') then return nil end
local rankNames, ranks = {}, {}
for _, rankName in ipairs(profile.RanksOrder) do
local data = profile.Ranks[rankName]
if type(data) == 'table' then
rankNames[#rankNames + 1] = rankName
ranks[rankName] = {
Name = rankName,
ELO = data.RequiredELO,
BoardCap = data.RequiredELOLeaderboardRanking,
}
end
end
local versions = {}
for version in pairs(library.SeasonsByVersion) do
versions[#versions + 1] = version
end
table.sort(versions)
local labels, charmByLabel = {}, {}
for _, version in ipairs(versions) do
local charmName = 'Season ' .. tostring(version)
local seasonData = library.SeasonsByVersion[version]
if type(seasonData) == 'table' and classes.CharmAssets:FindFirstChild(charmName) then
local label = string.format('Season %s (%s)', tostring(version), tostring(seasonData.Name))
labels[#labels + 1] = label
charmByLabel[label] = charmName
end
end
state.Catalog = { RankNames = rankNames, Ranks = ranks, SeasonLabels = labels, CharmByLabel = charmByLabel }
return state.Catalog
end
local function isSeasonCharm(name) return type(name) == 'string' and name:match('^Season %d+$') ~= nil end
local function buildMetadata()
local catalog = module.GetCatalog()
local rank = catalog and catalog.Ranks[state.Rank]
if not rank then return nil end
if type(rank.ELO) ~= 'number' or rank.ELO < 0 then
return { SeasonELO = nil, SeasonLeaderboardRank = nil } -- Unranked
end
local board = nil
if rank.BoardCap ~= nil then board = math.clamp(math.floor(tonumber(state.Leaderboard) or 1), 1, rank.BoardCap) end
return { SeasonELO = rank.ELO, SeasonLeaderboardRank = board }
end
local function latestCharmName()
local catalog = module.GetCatalog()
local labels = catalog and catalog.SeasonLabels
local last = labels and labels[#labels]
return last and catalog.CharmByLabel[last] or nil
end
-- data: the weapon's charm payload ({Name, Metadata}) or nil when nothing is equipped. Returns a new payload, or nil to leave it.
local function overridePayload(data)
local metadata = buildMetadata()
if not metadata then return nil end
local current = type(data) == 'table' and data.Name or nil
local target = state.CharmName
if target == nil then
if isSeasonCharm(current) then
target = current
elseif current == nil and state.ForceAll then
target = latestCharmName()
end
elseif current == nil and not state.ForceAll then
return nil
end
if target == nil then return nil end
local payload = type(data) == 'table' and table.clone(data) or {}
local merged = type(payload.Metadata) == 'table' and table.clone(payload.Metadata) or {}
merged.SeasonELO = metadata.SeasonELO
merged.SeasonLeaderboardRank = metadata.SeasonLeaderboardRank
payload.Name = target
payload.Metadata = merged
return payload
end
local function ownsViewModel(viewModel)
local ok, owner = pcall(function()
local item = viewModel.ClientItem
local fighter = item and item.ClientFighter
return fighter and fighter.Player
end)
return ok and owner == LP
end
local function installGet(classes)
if state.GetHooked then return true end
local class = classes.ClientViewModel
local original = class.Get
if type(original) ~= 'function' then return false end
state.OwnedGet = rawget(class, 'Get') ~= nil
state.OriginalGet = original
rawset(class, 'Get', function(self, key, ...)
local value = original(self, key, ...)
if key == 'Charm' then
local ok, patched = pcall(function()
if ownsViewModel(self) then
state.Live[self] = true
if state.Enabled then return overridePayload(value) end
end
return nil
end)
if ok and patched ~= nil then return patched end
end
return value
end)
state.GetHooked = true
return true
end
local function installSetCharm(classes)
if state.SetCharmHooked then return true end
local class = classes.StaticViewModel
local original = rawget(class, 'SetCharm')
if type(original) ~= 'function' then return false end
state.OriginalSetCharm = original
rawset(class, 'SetCharm', function(self, payload)
if state.Enabled then
local ok, patched = pcall(function()
for level = 1, 12 do
local source = debug.info(level, 's')
if type(source) == 'string' and source:find('FloatingModel', 1, true) then return overridePayload(payload) end
end
return nil
end)
if ok and patched ~= nil then payload = patched end
end
return original(self, payload)
end)
state.SetCharmHooked = true
return true
end
function module.Init()
local classes = resolveClasses()
if not classes then
module.Status = 'Waiting for the game to load'
return false
end
local okGet = installGet(classes)
local okSet = installSetCharm(classes)
if okGet and okSet then
module.Status = state.Enabled and 'Active' or 'Ready'
return true
end
module.Status = 'Hook failed (' .. (okGet and '' or 'weapon ') .. (okSet and '' or 'preview') .. ')'
return false
end
local function rebuildCharm(viewModel, classes)
local attachment = viewModel._charm_pivot_attachment
if not (attachment and attachment.Parent) then return false end
local data = viewModel:Get('Charm')
if type(data) ~= 'table' or type(data.Name) ~= 'string' then return false end
local old = viewModel.Charm
if old then pcall(function() old:Destroy() end) end
local subclass = classes.CharmModules:FindFirstChild(data.Name, true)
local class = subclass and require(subclass) or classes.Charm
local charm = class.new(viewModel, data, attachment)
viewModel.Charm = charm
charm:SetParent(viewModel.Model)
return true
end
-- Rebuilds the charm of every first-person / world viewmodel of yours that is already on screen.
function module.Refresh()
local classes = state.Classes
if not classes then return 0 end
local count = 0
for viewModel in pairs(state.Live) do
local alive = false
pcall(function() alive = viewModel._destroyed ~= true and viewModel.Model ~= nil and viewModel.Model.Parent ~= nil end)
if alive then
count += 1
task.spawn(function() pcall(rebuildCharm, viewModel, classes) end)
else
state.Live[viewModel] = nil
end
end
return count
end
function module.QueueRefresh()
if state.RefreshPending then return end
state.RefreshPending = true
task.delay(0.2, function()
state.RefreshPending = false
module.Refresh()
end)
end
-- options: Enabled (bool), CharmLabel (string|nil), Rank (string), Leaderboard (number), ForceAll (bool)
function module.Configure(options)
local catalog = module.GetCatalog()
local changed = false
local function set(key, value)
if state[key] ~= value then
state[key] = value
changed = true
end
end
if options.Enabled ~= nil then set('Enabled', options.Enabled == true) end
if options.CharmLabel ~= nil then
local charmName = nil
if options.CharmLabel ~= 'Keep equipped' then
charmName = catalog and catalog.CharmByLabel[options.CharmLabel] or nil
if charmName == nil then
local version = tostring(options.CharmLabel):match('^Season (%d+)')
charmName = version and ('Season ' .. version) or nil
end
end
set('CharmName', charmName)
end
if type(options.Rank) == 'string' then set('Rank', options.Rank) end
if options.Leaderboard ~= nil then set('Leaderboard', tonumber(options.Leaderboard) or 1) end
if options.ForceAll ~= nil then set('ForceAll', options.ForceAll == true) end
if state.Enabled and not (state.GetHooked and state.SetCharmHooked) then module.Init() end
if module.Status == 'Ready' or module.Status == 'Active' then module.Status = state.Enabled and 'Active' or 'Ready' end
if changed then module.QueueRefresh() end
return changed
end
-- test seam: lets the offline tests hand in fake game classes
function module._UseClassesForTest(classes)
state.Classes = classes
state.Catalog = nil
end
function module.Unload()
state.Enabled = false
local classes = state.Classes
if classes and state.GetHooked then
rawset(classes.ClientViewModel, 'Get', state.OwnedGet and state.OriginalGet or nil)
state.GetHooked = false
end
if classes and state.SetCharmHooked then
rawset(classes.StaticViewModel, 'SetCharm', state.OriginalSetCharm)
state.SetCharmHooked = false
end
module.Refresh()
module.Status = 'Unloaded'
end
return module
end
-- ======================================================================
-- UI kit (ZkxUIKit): polish for Obsidian windows
-- ======================================================================
__ZkhHub_shared.zkx_ui_kit = function()
--[[
ZkxUIKit - UI polish for Obsidian based scripts (works on the stock library and on the ZkxHub build)
local Kit = loadstring(readfile("ZkxUIKit.lua"))()
-- after Library:CreateWindow(...) (and ThemeManager:ApplyToTab(...) if you use it):
local ui = Kit.Apply(Library, Window, ThemeManager, {
Title = "MyHub", -- optional: replaces the window title text
Logo = "rbxassetid://123456789", -- optional: only used by the splash
Accent = Color3.fromRGB(125, 85, 255),
})
ui.ThemeFade.Set(false) -- the pieces can be switched off again (ui.Glow / ui.Blur exist when you asked for them)
-- a loading splash for the part of your script that takes time (just the logo, a thin bar and the word Loading):
local splash = Kit.Splash({ Logo = "rbxassetid://123456789" }) -- Text = "Loading" by default
splash.Progress(0.4)
splash.Done() -- starts the fade out
splash.Wait() -- returns once it is gone: do this before you show your main window
What Apply does: logo + title at the left of the sidebar header (title in Heavy Italic), the hub font (Gotham Heavy) as the default entry of the Font Face list,
Obsidian's own transitions switched on (tab swipe, section collapse, dropdowns, keybind pickers) and theme colour changes that blend instead of snapping.
Opt in with Apply(..., { Glow = {}, Blur = {} }): a soft accent glow behind the window, a blur behind the open window (both cost fps, off by default).
]]
local Kit = { Version = 1 }
Kit._services = nil -- tests may replace services here
local function svc(name)
if Kit._services and Kit._services[name] then return Kit._services[name] end
return game:GetService(name)
end
local function uiParent()
if type(gethui) == 'function' then
local ok, holder = pcall(gethui)
if ok and holder then return holder end
end
return svc('CoreGui')
end
local function tween(inst, seconds, props, style, direction)
local ok, tw = pcall(
function()
return svc('TweenService'):Create(
inst,
TweenInfo.new(seconds, style or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out),
props
)
end
)
if ok and tw then
tw:Play()
return tw
end
for key, value in pairs(props) do
pcall(function() inst[key] = value end)
end
return nil
end
local function elevate()
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 8) end
end
-- ------------------------------------------------------------------ fonts
-- Kit.Font('Heavy', false) -> Gotham Heavy, Kit.Font('Heavy', true) -> Gotham Heavy Italic
function Kit.Font(weight, italic)
return Font.new(
'rbxasset://fonts/families/GothamSSm.json',
Enum.FontWeight[weight or 'Heavy'],
italic and Enum.FontStyle.Italic or Enum.FontStyle.Normal
)
end
-- ------------------------------------------------------------------ finding obsidian's parts
function Kit.FindMain(Library)
local gui = Library and Library.ScreenGui
local main = gui and gui:FindFirstChild('Main')
return main, gui
end
-- logo + title row of the sidebar header (the ZkxHub bundle hands them out as Window.TitleHolder / TitleLabel / IconLabel, stock obsidian does not)
local function findTitleRow(Window, Library)
if Window and Window.TitleHolder then return Window.TitleHolder, Window.TitleLabel, Window.IconLabel end
local main = Kit.FindMain(Library)
if not main then return nil end
for _, bar in ipairs(main:GetChildren()) do
if bar:IsA('Frame') and bar.Size.Y.Offset == 48 then
for _, holder in ipairs(bar:GetChildren()) do
if holder:IsA('Frame') and holder:FindFirstChildOfClass('UIListLayout') then
local label, icon
for _, item in ipairs(holder:GetChildren()) do
if item:IsA('TextLabel') and item.Text ~= '' then
label = item
elseif item:IsA('ImageLabel') then
icon = item
end
end
if label then return holder, label, icon end
end
end
end
end
return nil
end
-- ------------------------------------------------------------------ title row
function Kit.TitleRow(Window, o)
o = o or {}
elevate()
local holder, label, icon = findTitleRow(Window, o.Library)
if not holder then return nil end
local layout = holder:FindFirstChildOfClass('UIListLayout')
if layout then layout.HorizontalAlignment = Enum.HorizontalAlignment.Left end
local pad = Instance.new('UIPadding')
pad.PaddingLeft = UDim.new(0, o.Padding or 14)
pad.Parent = holder
if icon and o.IconSize then icon.Size = o.IconSize end
if label then
if o.Title then label.Text = o.Title end
local font = o.TitleFont or Kit.Font('Heavy', true)
label.FontFace = font
label.AutomaticSize = Enum.AutomaticSize.X
label.Size = UDim2.new(0, 0, 1, 0)
if o.TitleSize then label.TextSize = o.TitleSize end
-- obsidian re-applies its theme font through the registry: keep the title's own face
local registry = o.Library and o.Library.Registry and o.Library.Registry[label]
if registry then registry.FontFace = function() return font end end
end
return { Holder = holder, Label = label, Icon = icon }
end
-- ------------------------------------------------------------------ obsidian's own transitions
-- ToggleWindow is off: stock obsidian fades thousands of instances on every open/close (a lot of fps); the ZkxHub bundle has a cheap fade-out only
Kit.DefaultAnimations = { ToggleWindow = false, TabSwitch = true, Groupbox = true, Dropdown = true, KeyPicker = true }
function Kit.Animations(Window, o)
o = o or {}
if Window and type(Window.SetAnimations) == 'function' then
Window:SetAnimations(
o.Animations or Kit.DefaultAnimations,
o.TabTransitionTime or 0.24,
o.TabSwipeOffset or 22,
o.TabSwipeFrom or 'bottom'
)
return true
end
return false
end
-- ------------------------------------------------------------------ the hub font as an entry of the Font Face list (stock obsidian)
-- the ZkxHub bundle already has this built in (ThemeManager.ResolveFont); for stock obsidian it is done at runtime
function Kit.ApplyFont(Library, ThemeManager, font, name)
name = name or 'Gotham Heavy'
font = font or Kit.Font('Heavy', false)
Library:SetFont(font)
if ThemeManager and ThemeManager.ResolveFont then return end
local fontOption = Library.Options and Library.Options.FontFace
if fontOption then
local values = table.clone(fontOption.Values or {})
if not table.find(values, name) then table.insert(values, 1, name) end
pcall(fontOption.SetValues, fontOption, values)
fontOption:OnChanged(function(value)
if value == name then
Library:SetFont(font)
else
local ok, enumFont = pcall(function() return Enum.Font[value] end)
if ok and enumFont then Library:SetFont(enumFont) end
end
end)
pcall(fontOption.SetValue, fontOption, name)
end
-- applying a theme puts the theme's own font back: take ours again
if ThemeManager and not ThemeManager.__ZkxFontPinned then
ThemeManager.__ZkxFontPinned = true
local original = ThemeManager.ApplyTheme
if type(original) == 'function' then
ThemeManager.ApplyTheme = function(self, ...)
local ok, err = original(self, ...)
task.defer(function()
if fontOption then pcall(fontOption.SetValue, fontOption, name) end
Library:SetFont(font)
end)
return ok, err
end
end
end
end
-- ------------------------------------------------------------------ loading splash
-- Minimal on purpose: the game behind it blurred and dimmed, the logo (with one gentle glint sweeping over it now and then), a thin progress line
-- and the word "Loading".
-- Kit.Splash({ Logo, Accent, Text, Blur = 24, Dim = 0.4 }) -> { Progress(fraction), Done(), Wait(seconds), Closed }
-- Done() fades the splash out; Wait() returns once it is gone (call both before showing your main window).
function Kit.Splash(o)
o = o or {}
elevate()
local accent = o.Accent or Color3.fromRGB(125, 85, 255)
local bodyFont = o.Font or Kit.Font('Heavy', false)
local label = o.Text or 'Loading'
local runService = svc('RunService')
local gui = Instance.new('ScreenGui')
gui.Name = 'ZkxSplash'
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false
gui.DisplayOrder = 2147483000
gui.Parent = uiParent()
local root = Instance.new('CanvasGroup')
root.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
root.BackgroundTransparency = o.Dim or 0.4 -- how much of the (blurred) game shows through
root.BorderSizePixel = 0
root.Size = UDim2.new(1, 0, 1, 0)
root.GroupTransparency = 1
root.Parent = gui
local backdrop = Instance.new('UIGradient')
backdrop.Color = ColorSequence.new(Color3.fromRGB(12, 12, 15), Color3.fromRGB(6, 6, 8))
backdrop.Rotation = 90
backdrop.Parent = root
local stage = Instance.new('Frame')
stage.AnchorPoint = Vector2.new(0.5, 0.5)
stage.Position = UDim2.new(0.5, 0, 0.5, 0)
stage.Size = UDim2.fromOffset(300, 300)
stage.BackgroundTransparency = 1
stage.Parent = root
local stageScale = Instance.new('UIScale')
stageScale.Scale = 0.96
stageScale.Parent = stage
local logoHolder = Instance.new('Frame')
logoHolder.AnchorPoint = Vector2.new(0.5, 0)
logoHolder.Position = UDim2.new(0.5, 0, 0, 20)
logoHolder.Size = UDim2.fromOffset(150, 150)
logoHolder.BackgroundTransparency = 1
logoHolder.Parent = stage
local shineGradient
if o.Logo and o.Logo ~= '' then
local logo = Instance.new('ImageLabel')
logo.BackgroundTransparency = 1
logo.Image = o.Logo
logo.ScaleType = Enum.ScaleType.Fit
logo.Size = UDim2.new(1, 0, 1, 0)
logo.Parent = logoHolder
-- a white copy of the logo with a moving gradient on it: the glint follows the logo's own shape
local shine = Instance.new('ImageLabel')
shine.BackgroundTransparency = 1
shine.Image = o.Logo
shine.ScaleType = Enum.ScaleType.Fit
shine.ImageColor3 = Color3.fromRGB(255, 255, 255)
shine.Size = UDim2.new(1, 0, 1, 0)
shine.ZIndex = 2
shine.Parent = logoHolder
shineGradient = Instance.new('UIGradient')
shineGradient.Rotation = 20
shineGradient.Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 1),
NumberSequenceKeypoint.new(0.42, 1),
NumberSequenceKeypoint.new(0.5, 0.45),
NumberSequenceKeypoint.new(0.58, 1),
NumberSequenceKeypoint.new(1, 1),
})
shineGradient.Offset = Vector2.new(-1, 0)
shineGradient.Parent = shine
-- fetch the logo right away so it is there when the splash fades in
task.spawn(function()
pcall(function() svc('ContentProvider'):PreloadAsync({ logo, shine }) end)
end)
end
local track = Instance.new('Frame')
track.AnchorPoint = Vector2.new(0.5, 0)
track.Position = UDim2.new(0.5, 0, 0, 212)
track.Size = UDim2.fromOffset(220, 2)
track.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
track.BackgroundTransparency = 0.88
track.BorderSizePixel = 0
track.Parent = stage
local fill = Instance.new('Frame')
fill.Size = UDim2.new(0, 0, 1, 0)
fill.BackgroundColor3 = accent
fill.BorderSizePixel = 0
fill.Parent = track
local status = Instance.new('TextLabel')
status.BackgroundTransparency = 1
status.Text = label
status.RichText = true
status.FontFace = bodyFont
status.TextSize = 13
status.TextColor3 = Color3.fromRGB(255, 255, 255)
status.TextTransparency = 0.45
status.AnchorPoint = Vector2.new(0.5, 0)
status.Position = UDim2.new(0.5, 0, 0, 228)
status.Size = UDim2.new(1, 0, 0, 18)
status.Parent = stage
local api = { Gui = gui, Finished = false, Closed = false, _outro = function() end }
local target, shown = 0, 0
local lastProgress
local started = os.clock()
local finishing = false
local connection
connection = runService.RenderStepped:Connect(function(dt)
local t = os.clock() - started
if shineGradient then
local phase = (t % 3.6) / 3.6
shineGradient.Offset = Vector2.new(phase < 0.5 and (-1 + phase / 0.5 * 2) or 1, 0)
end
-- "Loading", "Loading.", "Loading..", "Loading..." and around again (rich text keeps the width constant, the text does not jitter)
local dots = math.floor(t / 0.45) % 4
local text = label
for i = 1, 3 do
text ..= string.format('<font transparency="%d">.</font>', i <= dots and 0 or 1)
end
status.Text = text
-- a glide towards the goal; the goal creeps a little ahead of the real target while a stage is slow, so the bar never stands still
local goal = target
if not finishing and lastProgress then
goal = math.min(target + math.min(0.04, (os.clock() - lastProgress) * 0.012), 0.97)
end
shown += (goal - shown) * math.min(1, dt * 3)
fill.Size = UDim2.new(math.clamp(shown, 0, 1), 0, 1, 0)
if finishing and shown > 0.985 and not api.Finished then
api.Finished = true
api._outro()
end
end)
-- the game behind the splash is blurred (removed again when the splash goes)
local blur
local blurSize = o.Blur == nil and 24 or o.Blur
if blurSize and blurSize > 0 then
local okBlur, effect = pcall(function()
local made = Instance.new('BlurEffect')
made.Name = 'ZkxSplashBlur'
made.Size = 0
made.Parent = workspace.CurrentCamera or svc('Lighting')
return made
end)
if okBlur then
blur = effect
tween(blur, 0.5, { Size = blurSize })
end
end
tween(root, 0.45, { GroupTransparency = 0 })
tween(stageScale, 0.7, { Scale = 1 }, Enum.EasingStyle.Quint)
function api.SetStatus(text)
if not finishing and type(text) == 'string' and text ~= '' then label = text end
end
function api.Progress(fraction)
if finishing then return end
-- the bar rests a little before the end until Done is called
target = math.max(target, math.clamp(tonumber(fraction) or 0, 0, 0.97))
lastProgress = os.clock()
end
function api._outro()
tween(root, 0.4, { GroupTransparency = 1 }, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
if blur then tween(blur, 0.4, { Size = 0 }, Enum.EasingStyle.Quad, Enum.EasingDirection.In) end
task.delay(0.45, function()
connection:Disconnect()
pcall(function() gui:Destroy() end)
if blur then pcall(function() blur:Destroy() end) end
api.Closed = true
end)
end
function api.Done()
if finishing then return end
finishing = true
target = 1
-- never hang on a bar that cannot move (no frames, or the game paused)
task.delay(1, function()
if not api.Finished then
api.Finished = true
api._outro()
end
end)
end
function api.Wait(seconds)
local limit = os.clock() + (seconds or 5)
while not api.Closed and os.clock() < limit do
task.wait(0.05)
end
return api.Closed
end
-- never leave the splash up if the script dies half way
task.delay(o.MaxTime or 90, function() api.Done() end)
return api
end
-- ------------------------------------------------------------------ glow behind the window
function Kit.Glow(Library, o)
o = o or {}
local main, gui = Kit.FindMain(Library)
if not main then return { Set = function() end, Enabled = false } end
local controller = { Enabled = o.Enabled ~= false, Layers = {} }
-- its own gui one display order below obsidian's: layers behind the window without negative z indexes
local glowGui = Instance.new('ScreenGui')
glowGui.Name = 'ZkxGlow'
glowGui.ResetOnSpawn = false
glowGui.IgnoreGuiInset = gui.IgnoreGuiInset
glowGui.DisplayOrder = gui.DisplayOrder - 1
glowGui.Parent = gui.Parent
local pads = o.Pads or { 6, 13, 21 }
local alphas = o.Transparency or { 0.88, 0.93, 0.965 }
for i, pad in ipairs(pads) do
local layer = Instance.new('Frame')
layer.Name = 'ZkxGlow' .. i
layer.BorderSizePixel = 0
layer.BackgroundColor3 = Library.Scheme and Library.Scheme.AccentColor or Color3.fromRGB(125, 85, 255)
layer.BackgroundTransparency = alphas[i] or 0.95
layer.Visible = false
layer.Parent = glowGui
local corner = Instance.new('UICorner')
corner.CornerRadius = UDim.new(0, (Library.CornerRadius or 6) + pad)
corner.Parent = layer
if Library.Registry then Library.Registry[layer] = { BackgroundColor3 = 'AccentColor' } end
controller.Layers[i] = { Frame = layer, Pad = pad }
end
local function sync()
for _, item in ipairs(controller.Layers) do
local layer, pad = item.Frame, item.Pad
layer.AnchorPoint = main.AnchorPoint
layer.Position = UDim2.new(main.Position.X.Scale, main.Position.X.Offset, main.Position.Y.Scale, main.Position.Y.Offset)
layer.Size = UDim2.new(main.Size.X.Scale, main.Size.X.Offset + pad * 2, main.Size.Y.Scale, main.Size.Y.Offset + pad * 2)
layer.Visible = controller.Enabled and main.Visible
end
end
for _, property in ipairs({ 'Position', 'Size', 'Visible', 'AnchorPoint' }) do
main:GetPropertyChangedSignal(property):Connect(sync)
end
function controller.Set(value)
controller.Enabled = value ~= false
sync()
end
if Library.OnUnload then Library:OnUnload(function()
pcall(function() glowGui:Destroy() end)
end) end
sync()
return controller
end
-- ------------------------------------------------------------------ blur behind the open window
function Kit.Blur(Library, o)
o = o or {}
local controller = { Enabled = o.Enabled ~= false, Amount = o.Size or 10 }
local camera = workspace.CurrentCamera
local effect = Instance.new('BlurEffect')
effect.Name = 'ZkxMenuBlur'
effect.Size = 0
effect.Parent = camera or svc('Lighting')
local shown = false
local function refresh()
local wanted = controller.Enabled and Library.Toggled == true
if wanted ~= shown then
shown = wanted
tween(effect, 0.3, { Size = wanted and controller.Amount or 0 })
end
end
-- obsidian has no "opened" signal; a boolean compare per frame is enough
local connection = svc('RunService').RenderStepped:Connect(refresh)
function controller.Set(value)
controller.Enabled = value ~= false
refresh()
end
function controller.Destroy()
connection:Disconnect()
pcall(function() effect:Destroy() end)
end
if Library.OnUnload then Library:OnUnload(controller.Destroy) end
return controller
end
-- ------------------------------------------------------------------ theme colours that blend instead of snapping
local SCHEME_COLORS = { 'BackgroundColor', 'MainColor', 'AccentColor', 'OutlineColor', 'FontColor' }
function Kit.ThemeFade(Library, o)
o = o or {}
local duration = o.Duration or 0.45
local controller = { Enabled = o.Enabled ~= false, Fading = false, _stepping = false }
local original = Library.UpdateColorsUsingRegistry
if type(original) ~= 'function' then return controller end
local displayed = {}
for _, key in ipairs(SCHEME_COLORS) do
displayed[key] = Library.Scheme[key]
end
local target = {}
local startColors = {}
local elapsed, lastStep = 0, 0
local connection
local function stop()
if connection then
connection:Disconnect()
connection = nil
end
controller.Fading = false
end
local function step(alpha)
for _, key in ipairs(SCHEME_COLORS) do
local value = startColors[key]:Lerp(target[key], alpha)
Library.Scheme[key] = value
displayed[key] = value
end
-- through the current (outermost) wrapper, so anything hooked on top of this runs on every step too
Library:UpdateColorsUsingRegistry()
end
Library.UpdateColorsUsingRegistry = function(self, ...)
if controller.Fading and controller._stepping then return original(self, ...) end
if not controller.Enabled then
for _, key in ipairs(SCHEME_COLORS) do
displayed[key] = Library.Scheme[key]
end
return original(self, ...)
end
local changed = false
for _, key in ipairs(SCHEME_COLORS) do
local new = Library.Scheme[key]
target[key] = new
if new ~= displayed[key] then changed = true end
end
if not changed then return original(self, ...) end
-- start (or restart) a blend from what is on screen now to the new colours
for _, key in ipairs(SCHEME_COLORS) do
startColors[key] = displayed[key]
Library.Scheme[key] = displayed[key]
end
stop()
controller.Fading = true
elapsed, lastStep = 0, -1
connection = svc('RunService').RenderStepped:Connect(function(dt)
elapsed += dt
if elapsed - lastStep < 0.035 and elapsed < duration then return end
lastStep = elapsed
local alpha = math.clamp(elapsed / duration, 0, 1)
alpha = 1 - (1 - alpha) * (1 - alpha)
controller._stepping = true
step(alpha)
controller._stepping = false
if elapsed >= duration then stop() end
end)
return original(self, ...)
end
function controller.Set(value)
controller.Enabled = value ~= false
if not controller.Enabled and controller.Fading then
-- finish at once
stop()
for _, key in ipairs(SCHEME_COLORS) do
Library.Scheme[key] = target[key] or Library.Scheme[key]
displayed[key] = Library.Scheme[key]
end
original(Library)
end
end
if Library.OnUnload then Library:OnUnload(stop) end
return controller
end
-- ------------------------------------------------------------------ everything at once
function Kit.Apply(Library, Window, ThemeManager, o)
o = o or {}
local result = {}
local function try(name, fn)
local ok, value = pcall(fn)
if ok then
result[name] = value
else
warn('[ZkxUIKit] ' .. name .. ': ' .. tostring(value))
end
end
o.Library = o.Library or Library
try('TitleRow', function() return Kit.TitleRow(Window, o) end)
try('Font', function() return Kit.ApplyFont(Library, ThemeManager, o.Font, o.FontName) end)
try('Animations', function() return Kit.Animations(Window, o) end)
-- glow and blur only when asked for: Apply(..., { Glow = {}, Blur = {} })
if o.Glow then try('Glow', function() return Kit.Glow(Library, o.Glow) end) end
if o.Blur then try('Blur', function() return Kit.Blur(Library, o.Blur) end) end
try('ThemeFade', function() return Kit.ThemeFade(Library, o.ThemeFade) end)
return result
end
-- ------------------------------------------------------------------ hub helpers (not part of the original kit)
Kit.HubFontName = 'Gotham Heavy'
Kit.FontNames = { 'Gotham Heavy', 'BuilderSans', 'Code', 'Fantasy', 'Gotham', 'Jura', 'Roboto', 'RobotoMono', 'SourceSans' }
Kit.LogoAsset = 'rbxassetid://91068904566139'
Kit.Invite = 'https://discord.gg/bxu2WMjNjN'
function Kit.NormalizeFontName(name)
if type(name) == 'string' and table.find(Kit.FontNames, name) then return name end
return Kit.HubFontName
end
-- name from the Font list -> a Font value
function Kit.ResolveFont(name)
name = Kit.NormalizeFontName(name)
if name == Kit.HubFontName then return Kit.Font('Heavy', false) end
local ok, font = pcall(function() return Font.fromEnum(Enum.Font[name]) end)
return ok and font or Kit.Font('Heavy', false)
end
-- ------------------------------------------------------------------ ZkxVader overrides (this build only)
-- the font list leads with the Vaderhaxx pixel font; Obsidian-specific polish becomes a no-op (the fork has its own transitions and title)
Kit.HubFontName = 'ProggyClean'
Kit.FontNames = { 'ProggyClean', 'Gotham Heavy', 'Code', 'RobotoMono', 'Jura', 'Gotham', 'SourceSans', 'BuilderSans', 'Roboto', 'Fantasy' }
local originalResolveFont = Kit.ResolveFont
function Kit.ResolveFont(name)
name = Kit.NormalizeFontName(name)
if name == 'ProggyClean' then
local ok, library = pcall(RequireSharedModule, 'obsidian_library')
if ok and library and library.PixelFont then return library.PixelFont end
return Font.fromEnum(Enum.Font.Code)
end
if name == 'Gotham Heavy' then return Kit.Font('Heavy', false) end
local ok, font = pcall(function() return Font.fromEnum(Enum.Font[name]) end)
return ok and font or Font.fromEnum(Enum.Font.Code)
end
function Kit.TitleRow() return nil end
function Kit.Animations() return nil end
function Kit.ApplyFont() return nil end
function Kit.Glow() return nil end
function Kit.Blur() return nil end
function Kit.ThemeFade(Library, o)
local fade = { Enabled = not (type(o) == 'table' and o.Enabled == false) }
Library.ThemeFade = fade.Enabled
function fade.Set(value)
fade.Enabled = value == true
Library.ThemeFade = fade.Enabled
end
function fade.Destroy() end
return fade
end
-- ------------------------------------------------------------------ ZkxVader loading card (replaces the stock splash in this build)
-- A centred card in the menu's own style (layered outlines, pixel font, purple accent): a shimmering title, the 3D ZK logo turning in the middle,
-- a status line, and a progress bar with a moving highlight. Same interface as the stock splash:
-- Kit.Splash({ Logo, Accent, Text, Title, Dim }) -> { SetStatus(text), Progress(fraction), Done(), Wait(seconds), Closed }
-- Done() fades the card out; Wait() returns once it is gone.
-- The logo is a real 3D model (Blender, lit, in its own colours) baked into a sprite sheet of its turn; the card plays it as an endless slow spin.
-- The sheets ship inside this file as base64, are written once to ZkxHub/vader and loaded with getcustomasset. Without file support, `Logo` is shown flat.
do
-- baked spin of the ZK logo (Blender render, 160 frames of 112x99 on 2 sheets), PNGs as base64
local SPIN_FRAMES, SPIN_PER_SHEET, SPIN_COLUMNS, SPIN_CELL_W, SPIN_CEL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cXDjEWECgUCS4XEyEVEh8SERsSDh0RCiEODRUMChULCBUKBhcFBQoFARMBAQQAAwACAQAAAAAAAABA2ZUbAAABAHRSTlP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AU/cHJQABAABJREFUeNrs/XlQVFe7+I8C0sg8g1FkVAQBE14IvoktIEaN0gwKUREEAQEHpkAziiICKvMgEgRlEGRUiUQgOcxJOHnTEAGpiqZuqnIuhqp8QUXx9VR97/nj9n3WWnvv3rtpFIjJH/d3VhAT2/TD3r0/65mfJSf+3/W/63/X/2OWHPo2PT89P//H/Dz1beFa8MfT8P+89b1/p/7yy5cv0a+XL6dfDU9ieTLXPPopqLfH/8mRNzm9ZHnzL8nXy5evhvEL05OTP//28/RbFlveY/Gjt8qbfrxA3jwl79Eks36b/u233xaVCf8LfX2Tb5U3je4hEUeJpX7GR+Pj40TaQ1rqb0SyLIn4kxCPj79N3uPpefrHk3wMeA0N/TBOL8mV/vrb5K+//vrbr7+RNT39m0Tm9PSjh2+9Po4w9Cf0IzY4+MPwOFsiSyq61l9pmazrffv1TTNypNdg1/jwD2hRAse58n7FF/sbvlJa3M9vl7f4Gq4YGpaIQ/I4AqmrJHeW3NDp6YfjL1cO/DXdtYutdeZSa8MG8w02Nl3iB77nhl698a3rD+1Gy8fH18f3oK9vcHBEqs86/Mp5WfKkxdjY2Gwky8HBpkLccPDc0Jv3mNLkExEn0EpNTT1z5sz58xfLff+BX7mku9ZoLfqSlmKDpNhgSQ7UcrK3d3JzShOfTb70ZnkPUq5euEit8i++qKiouNbpeBy/dMOIK2aztBAkxsnJxQ0vdJOSxcnJl7vfuMd0plRc466GBscf8Uv3zM0t4MuGWVgCWS60lAPwSRw8eDAYPoeIE8mPDiXfGHqTvMnSUpa8CrQaToSQ18470WJoGS5YzAEfHyyDCIlAH0TamTNnz8Md6vcM7xr+7Q03tC+l9FL5xUvll9D9PH8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RTGhRUFtPT1pQS19LTlxKSlxPT1VNTVRLTVJLSlNIS1JHSFFpRKxkPKliRJZhPJpZQpBVQn9ZOo5QOoRVRWxMRWJHRVdHRk1QQGlOO25KPWVHPGBERlJERU5CQVNBQ01CQ0lAQEg+PkZCOl9BOlI9O0s9PEM6OkI4OkBcNJxUMpJQNn9PMYJHMYBHMnFFM2Y+MmNBNlM7Nko/MVU6MU44NUQ3Njw3MUhQK41JK3tAKnU9K2E4K09HJX48JXM+HnU7JWU4JVk4HmM0NTszMjsyMDsxLzsyK0YvKzstLDMqKy8yJlMwJkUuJzspJjorJzIpJy8nJiwkJSo0IGAvIF0uIUwsIT8pITslIDknIjAkIS0jISkiHywgHycfICEwG2IvGlUoGVUpGkckGEQkHDUjGDggGjUeFjYeGS0eGikbFykfHCYbGCYaFyYZFiYeHCMdGiMaGR8cFyQaFyUaFyIZFiQZFiAWFxslFUwdFTEZFSkYFSQaFSMYFSMZFSAXFCMWFB8kEUkdEEIdEjYbDjgXDjMWDyoUCS8ZEiQWEyEVEiEUEhwSERwTDiARDhwRCiIODRcMChYLCBYLBxgHBg0JBBcFBA0DAwcEABMAAAMDAQAAAAAAAABfPOnuAAABAHRSTlP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AU/cHJQABAABJREFUeNrs/QlUVFe68I07oSgCMjmATEYRBwhgZAiiGGYiBg2TygJUiIoNRTHFAaVkEqQAQRlCMRRDoYJhyIBFwCZdxaSE+2b1ur1W7odyl02VgP1qaPp23/Ttu279n73PUOcUgxSdZK3v/93dxqQTPY/7nP3bz7OfaS9T/O/43/G/4/8zY9mLkWkYfxyf/iP59/Hp6ddv/W3jY4qRMfiV6FfPGuN4TL8YJ8eLFy/QX2Nj6HeOjfxxTGX88e3yFGOK4edIGlPeOFveOD0IyS+I3zg8NjLy/cj333+vFDi9OHnEY/HzKSFMKawBIseI39g78t0IY/zww9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a7Cxf3KXGwI+KqsxKyBxDZKf48FuvO+1zUGRDVn84GtrYY/DuQbASypyhIKa1XcP4/4c50v6qV3Cshzh5tOr/wPe8uc4YOBLc4UeBxdW3d6fQjjO/hMAPNjjxq7+/U2Bvc3fAPCHc4WckCnDbw54w8LnZ+fVmmyh8IPxhbW4xB+O7ZpXV0dJhEHFD9bC3uw+nzu93UESIf/Amqiz2f0e3frxYLAXsia9WbMHuGcBeInQy39N5qjOHufumgbghe6CtSlOn/bYhoCXuG9em8kTVTwEvI/EnXdi1vAbBB6cxPzEreiI6jW7u457t29FCXet2SF8FydufxckDOpYq8FExd33DDuFPsULa2Wv+p4hUbj1wFrdX93HPxpOCfmitXJ/HfvnDR0BfP+1GiQ3mHjHMOTj/YuX8y8MvGHRcO3ItQdrd5WL0Gp7amEt7U0FJc6snb0Fw2zwtmtrZ+/BjCFRULd27mhhxnCcV7x2g90WZg11HgcW1/L+hngxU4bfLPDQdrfGOwMmu9d2DuBU3dra++HSzNo+0EtrPEe1vXtt7d1c461qkxcNht8y8Gs9hnOt7c2ucTT2w2/9gS78xu9v8dfBu+H/A4XaL76qjiu5AAAAAElFTkSuQmCC' },
}
local SPIN_PERIOD = 4.0 -- seconds for one full turn (constant speed)
local function decodeBase64(data)
local alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
local lookup = {}
for index = 1, 64 do lookup[string.byte(alphabet, index)] = index - 1 end
local pad = data:sub(-2) == '==' and 2 or (data:sub(-1) == '=' and 1 or 0)
local band, rshift = bit32.band, bit32.rshift
local out, count = {}, 0
for index = 1, #data, 4 do
local a, b, c, d = string.byte(data, index, index + 3)
local n = lookup[a] * 262144 + lookup[b] * 4096 + (lookup[c] or 0) * 64 + (lookup[d] or 0)
count += 1
out[count] = string.char(rshift(n, 16), band(rshift(n, 8), 255), band(n, 255))
end
local joined = table.concat(out)
return joined:sub(1, #joined - pad)
end
-- the cached sprite sheets as content ids (one per sheet), or nil when this executor cannot write files
local function spinSheets()
if type(isfile) ~= 'function' or type(writefile) ~= 'function' or type(getcustomasset) ~= 'function' then return nil end
local ok, assets = pcall(function()
local list = {}
for index, sheet in ipairs(SPIN_SHEETS) do
local path = 'ZkxHub/vader/zk_spin_' .. sheet.tag .. '.png'
if not isfile(path) then
if type(isfolder) == 'function' and type(makefolder) == 'function' then
if not isfolder('ZkxHub') then makefolder('ZkxHub') end
if not isfolder('ZkxHub/vader') then makefolder('ZkxHub/vader') end
end
task.wait() -- one sheet per frame on the first run, so decoding never stalls the card
writefile(path, decodeBase64(sheet.data))
end
list[index] = getcustomasset(path)
end
return list
end)
return ok and assets or nil
end
-- degrees of turn at time t: a steady, endless spin
local function spinAngle(t)
return (t / SPIN_PERIOD * 360) % 360
end
function Kit.Splash(o)
o = o or {}
elevate()
local runService = svc('RunService')
local accent = o.Accent or Color3.fromRGB(125, 85, 255)
local title = o.Title or 'ZkxHub'
local label = o.Text or 'Loading'
local white = Color3.fromRGB(255, 255, 255)
-- the pixel font once the library has cached it (first run: the stock monospace font)
local font = Font.fromEnum(Enum.Font.Code)
pcall(function()
if type(isfile) == 'function' and type(getcustomasset) == 'function' and isfile('ZkxHub/vader/ProggyClean.json') then
font = Font.new(getcustomasset('ZkxHub/vader/ProggyClean.json'), Enum.FontWeight.Regular)
end
end)
local function new(class, props, parent)
local instance = Instance.new(class)
for key, value in pairs(props) do instance[key] = value end
instance.Parent = parent
return instance
end
local function text(props, parent)
props.BackgroundTransparency = 1
props.FontFace = font
props.TextSize = props.TextSize or 12
props.TextColor3 = props.TextColor3 or white
return new('TextLabel', props, parent)
end
-- 1px nested outlines: black > grey > dark grey > panel
local function layer(parent, color)
return new('Frame', { BackgroundColor3 = color, BorderSizePixel = 0, Position = UDim2.fromOffset(1, 1), Size = UDim2.new(1, -2, 1, -2) }, parent)
end
local gui = new('ScreenGui', { Name = 'ZkxSplash', IgnoreGuiInset = true, ResetOnSpawn = false, DisplayOrder = 2147483000 }, uiParent())
local dim = new('Frame', { Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(0, 0, 0), BackgroundTransparency = 1, BorderSizePixel = 0 }, gui)
local camera = workspace.CurrentCamera
local view = camera and camera.ViewportSize or Vector2.new(1280, 720)
local width, height = math.clamp(view.X - 24, 240, 360), math.clamp(view.Y - 24, 210, 290)
local card = new('CanvasGroup', {
AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(width, height),
BackgroundColor3 = Color3.new(0, 0, 0), BorderSizePixel = 0, GroupTransparency = 1,
}, dim)
local cardScale = new('UIScale', { Scale = 0.94 }, card)
local inner = layer(layer(layer(card, Color3.fromRGB(56, 56, 56)), Color3.fromRGB(46, 46, 46)), Color3.fromRGB(21, 21, 21))
new('UIGradient', { Rotation = 90, Color = ColorSequence.new(Color3.fromRGB(31, 25, 50), Color3.fromRGB(15, 15, 17)) }, inner)
-- title (shimmers: the gradient carries accent -> white -> accent, the text itself is white)
local titleLabel = text({ Text = title, TextSize = 14, AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 14), Size = UDim2.new(1, 0, 0, 18) }, inner)
local titleGradient = new('UIGradient', {
Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, accent), ColorSequenceKeypoint.new(0.4, accent), ColorSequenceKeypoint.new(0.5, white),
ColorSequenceKeypoint.new(0.6, accent), ColorSequenceKeypoint.new(1, accent),
}),
Offset = Vector2.new(-1.2, 0),
}, titleLabel)
-- the logo: the sprite sheets of the 3D turn (the baked frames are the logo at 1:1 on a normal card). Two labels show neighbouring frames,
-- the upper one fades in as the turn moves on to it, so the spin glides instead of stepping. The flat logo only when the sheets cannot be loaded.
local logoW = math.floor(math.clamp(height - 178, 64, SPIN_CELL_W))
local logoH = math.floor(logoW * SPIN_CELL_H / SPIN_CELL_W + 0.5)
local centerY = math.floor((40 + height - 84) / 2)
local logoHolder = new('Frame', {
AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0.5, 0, 0, centerY), Size = UDim2.fromOffset(logoW, logoH), BackgroundTransparency = 1,
}, inner)
local function spinLabel(zindex)
return new('ImageLabel', {
-- not fully transparent: Roblox does not even fetch an image drawn at transparency 1, so it would never report as loaded
BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), ScaleType = Enum.ScaleType.Stretch, ImageTransparency = 0.99, ZIndex = zindex,
ImageRectSize = Vector2.new(SPIN_CELL_W, SPIN_CELL_H), ImageRectOffset = Vector2.new(0, 0),
}, logoHolder)
end
local spin, spinNext = spinLabel(1), spinLabel(2)
local sheetAssets = {}
-- frame -> which sheet, and where on it (the label switches sheet when its frame lives on another one; the sheets are all loaded by then)
local function showFrame(imageLabel, frame)
local asset = sheetAssets[math.floor(frame / SPIN_PER_SHEET) + 1]
if asset and imageLabel.Image ~= asset then imageLabel.Image = asset end
local index = frame % SPIN_PER_SHEET
imageLabel.ImageRectOffset = Vector2.new((index % SPIN_COLUMNS) * SPIN_CELL_W, math.floor(index / SPIN_COLUMNS) * SPIN_CELL_H)
end
local spinReady, spinFrame = false, -1
local function showFlat()
if o.Logo and o.Logo ~= '' then
local flat = new('ImageLabel', { BackgroundTransparency = 1, Image = o.Logo, ScaleType = Enum.ScaleType.Fit, Size = UDim2.fromScale(1, 1), ImageTransparency = 1 }, logoHolder)
tween(flat, 0.35, { ImageTransparency = 0 })
task.spawn(function()
pcall(function() svc('ContentProvider'):PreloadAsync({ flat }) end)
end)
end
end
task.spawn(function()
task.wait() -- let the card draw first; decoding the sheets (first run only) takes a moment
local assets = spinSheets()
if not assets then
showFlat()
return
end
sheetAssets = assets
spin.Image = assets[1]
spinNext.Image = assets[1]
-- every sheet gets a 1 px label that keeps it loaded (a sheet nobody draws yet is not fetched); the first sheet is the two spin labels themselves
local probes = { spin }
for index = 2, #assets do
probes[index] = new('ImageLabel', { BackgroundTransparency = 1, Size = UDim2.fromOffset(1, 1), ImageTransparency = 0.99, Image = assets[index] }, logoHolder)
end
pcall(function() svc('ContentProvider'):PreloadAsync(probes) end)
-- a sheet is loaded when its label says so, or the content provider reports the fetch as done (either signal is enough)
local function fetched(index)
if probes[index].IsLoaded then return true end
local ok, status = pcall(function() return svc('ContentProvider'):GetAssetFetchStatus(assets[index]) end)
return ok and status == Enum.AssetFetchStatus.Success
end
local function loaded()
for index = 1, #assets do
if not fetched(index) then return false end
end
return true
end
local deadline = os.clock() + 4
while not loaded() and os.clock() < deadline do
task.wait(0.05)
end
if loaded() then
spinReady = true
tween(spin, 0.35, { ImageTransparency = 0 })
else
local states = {}
for index = 1, #assets do
local okStatus, status = pcall(function() return svc('ContentProvider'):GetAssetFetchStatus(assets[index]) end)
states[index] = 'sheet ' .. index .. ' IsLoaded=' .. tostring(probes[index].IsLoaded) .. ' fetch=' .. tostring(okStatus and status or 'n/a')
end
showFlat()
end
end)
-- status line and progress bar
local status = text({ Text = label, RichText = true, TextTransparency = 0.15, AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, height - 68), Size = UDim2.new(1, -24, 0, 16) }, inner)
local barWidth = width - 56
local barOuter = new('Frame', {
AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, height - 46), Size = UDim2.fromOffset(barWidth, 16), BackgroundColor3 = Color3.new(0, 0, 0), BorderSizePixel = 0,
}, inner)
local barInner = layer(layer(barOuter, Color3.fromRGB(56, 56, 56)), Color3.fromRGB(12, 12, 12))
local fill = new('Frame', { Size = UDim2.new(0, 0, 1, 0), BackgroundColor3 = white, BorderSizePixel = 0, ZIndex = 2 }, barInner)
local light = Color3.fromRGB(math.min(255, accent.R * 255 + 70), math.min(255, accent.G * 255 + 70), math.min(255, accent.B * 255 + 70))
local fillGradient = new('UIGradient', {
Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, accent), ColorSequenceKeypoint.new(0.5, light), ColorSequenceKeypoint.new(1, accent) }),
}, fill)
local percent = text({ Text = '0%', ZIndex = 3, Size = UDim2.fromScale(1, 1) }, barInner)
percent.TextStrokeTransparency = 0.45
percent.TextStrokeColor3 = Color3.new(0, 0, 0)
local api = { Gui = gui, Finished = false, Closed = false, _outro = function() end }
local target, shown = 0, 0
local lastProgress
local started = os.clock()
local finishing = false
local connection
connection = runService.RenderStepped:Connect(function(dt)
local now = os.clock()
local t = now - started
-- title shimmer: a bright band every 5 seconds
local phase = (t % 5) / 0.9
titleGradient.Offset = Vector2.new(phase < 1 and (-1.2 + phase * 2.4) or 1.2, 0)
-- the logo: the turn sits between two baked frames; the upper label shows the next one at the matching strength
if spinReady then
local position = spinAngle(t) / 360 * SPIN_FRAMES
local frame = math.floor(position) % SPIN_FRAMES
if frame ~= spinFrame then
spinFrame = frame
showFrame(spin, frame)
showFrame(spinNext, (frame + 1) % SPIN_FRAMES)
end
spinNext.ImageTransparency = math.min(0.995, 1 - (position - math.floor(position)))
end
-- the status line, exactly as given, then "Loading", "Loading.", "Loading..", "Loading..." (rich text keeps the width, the text does not jitter)
local shownLabel = label:gsub('&', '&'):gsub('<', '<'):gsub('>', '>')
local dots = math.floor(t / 0.45) % 4
for index = 1, 3 do
shownLabel ..= string.format('<font transparency="%d">.</font>', index <= dots and 0 or 1)
end
status.Text = shownLabel
-- a glide towards the goal; the goal creeps a little ahead of the real target while a stage is slow, so the bar never stands still
local goal = target
if not finishing and lastProgress then
goal = math.min(target + math.min(0.04, (now - lastProgress) * 0.012), 0.97)
end
shown += math.max(0, goal - shown) * math.min(1, dt * 3) -- never backwards, even when a repeated Progress call restarts the creep
fill.Size = UDim2.new(math.clamp(shown, 0, 1), 0, 1, 0)
fillGradient.Offset = Vector2.new((t * 0.7) % 2 - 1, 0)
percent.Text = string.format('%d%%', math.floor(math.clamp(shown, 0, 1) * 100 + 0.5))
if finishing and shown > 0.985 and not api.Finished then
api.Finished = true
api._outro()
end
end)
-- optional blur behind the card (off by default: the card is small and the game stays visible, like the preview)
local blur
local blurSize = o.Blur or 0
if blurSize > 0 then
local okBlur, effect = pcall(function()
local made = Instance.new('BlurEffect')
made.Name = 'ZkxSplashBlur'
made.Size = 0
made.Parent = workspace.CurrentCamera or svc('Lighting')
return made
end)
if okBlur then
blur = effect
tween(blur, 0.5, { Size = blurSize })
end
end
tween(dim, 0.35, { BackgroundTransparency = o.Dim or 0.55 })
tween(card, 0.4, { GroupTransparency = 0 })
tween(cardScale, 0.6, { Scale = 1 }, Enum.EasingStyle.Quint)
function api.SetStatus(newText)
if not finishing and type(newText) == 'string' and newText ~= '' and newText ~= label then
label = newText
end
end
function api.Progress(fraction)
if finishing then return end
-- the bar rests a little before the end until Done is called
target = math.max(target, math.clamp(tonumber(fraction) or 0, 0, 0.97))
lastProgress = os.clock()
end
function api._outro()
tween(card, 0.35, { GroupTransparency = 1 }, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
tween(cardScale, 0.35, { Scale = 1.05 }, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
tween(dim, 0.4, { BackgroundTransparency = 1 })
if blur then tween(blur, 0.4, { Size = 0 }, Enum.EasingStyle.Quad, Enum.EasingDirection.In) end
task.delay(0.45, function()
connection:Disconnect()
pcall(function() gui:Destroy() end)
if blur then pcall(function() blur:Destroy() end) end
api.Closed = true
end)
end
function api.Done()
if finishing then return end
finishing = true
target = 1
-- never hang on a bar that cannot move (no frames, or the game paused)
task.delay(1.6, function()
if not api.Finished then
api.Finished = true
api._outro()
end
end)
end
function api.Wait(seconds)
local limit = os.clock() + (seconds or 5)
while not api.Closed and os.clock() < limit do
task.wait(0.05)
end
return api.Closed
end
-- never leave the splash up if the script dies half way
task.delay(o.MaxTime or 90, function() api.Done() end)
return api
end
end
return Kit
end
-- ======================================================================
-- UI extras: font, fades, scale, cursor, splash
-- ======================================================================
__ZkhHub_shared.ui_extras = function()
-- Menu polish from the ZkxHub UI kit, as settings in the UI Settings tab. Everything here is saved in UISettings.json
-- (not in the feature configs), so the look follows you from config to config.
local module = {}
module.Ids = {
Font = 'UIFontFace',
ThemeFade = 'UIThemeFade',
Animations = 'UIAnimations',
Scale = 'UIScale',
Cursor = 'UICustomCursor',
Splash = 'UILoadingSplash',
Watermark = 'UIWatermark',
WatermarkFields = 'UIWatermarkFields',
NotifyPlacement = 'UINotifyPlacement',
NotifyStyle = 'UINotifyStyle',
}
module.AllIds = { 'UIFontFace', 'UIThemeFade', 'UIAnimations', 'UIScale', 'UICustomCursor', 'UILoadingSplash', 'UIWatermark', 'UIWatermarkFields', 'UINotifyPlacement', 'UINotifyStyle' }
module.ToggleIds = { 'UIThemeFade', 'UIAnimations', 'UICustomCursor', 'UILoadingSplash', 'UIWatermark' }
module.Scales = { '50%', '75%', '90%', '100%', '110%', '125%', '150%', '175%', '200%' }
local ANIMATIONS_OFF = { ToggleWindow = false, TabSwitch = false, Groupbox = false, Dropdown = false, KeyPicker = false }
local function boolean(value, fallback)
if type(value) == 'boolean' then return value end
return fallback
end
local function scaleValue(value)
if type(value) == 'string' and table.find(module.Scales, value) then return value end
return '100%'
end
-- ZkxVader watermark details: UISettings.json keeps them as one comma separated text (it stores only text and switches)
local WATERMARK_FIELDS_DEFAULT = 'FPS,Ping'
local WATERMARK_FIELDS_NONE = 'None'
local function parseWatermarkFields(saved, valid)
local picked = {}
if type(saved) == 'string' and saved ~= WATERMARK_FIELDS_NONE then
for name in string.gmatch(saved, '[^,]+') do
if table.find(valid, name) then table.insert(picked, name) end
end
end
return picked
end
-- ZkxVader notifications: where the stack sits and which look it has; UISettings.json keeps both as plain text
local NOTIFY_PLACEMENT_DEFAULT = 'Top Right'
local NOTIFY_STYLE_DEFAULT = 'Premium'
local function notifyChoice(saved, valid, fallback)
if type(saved) == 'string' and table.find(valid, saved) then return saved end
return fallback
end
function module.build(args)
local Kit = RequireSharedModule('zkx_ui_kit')
local ids = module.Ids
local library, window, themeManager = args.library, args.window, args.theme_manager
local options, toggles = args.options, args.toggles
local persisted = args.persisted or {}
local preserved = args.preserved_ids or {}
local save = args.save or function() end
local self = {}
-- font: the hub font plus the stock list, kept across theme changes
args.theme_group:AddDropdown(ids.Font, {
Text = 'Font',
Values = Kit.FontNames,
Default = Kit.NormalizeFontName(persisted.font_face),
Multi = false,
AllowNull = false,
Tooltip = 'The text font of the whole menu. Gotham Heavy is the hub font.',
})
local function currentFontName()
local option = options[ids.Font]
return Kit.NormalizeFontName(option and option.Value)
end
local function applyFont() pcall(library.SetFont, library, Kit.ResolveFont(currentFontName())) end
options[ids.Font]:OnChanged(function()
applyFont()
save()
end)
-- applying a theme puts the theme's own font back: take the chosen one again
if themeManager and not themeManager.__ZkxFontPinned and type(themeManager.ApplyTheme) == 'function' then
themeManager.__ZkxFontPinned = true
local original = themeManager.ApplyTheme
themeManager.ApplyTheme = function(manager, ...)
local ok, err = original(manager, ...)
task.defer(applyFont)
return ok, err
end
end
local group = args.group
local function toggleValue(id)
local toggle = toggles[id]
return toggle ~= nil and toggle.Value == true
end
group:AddToggle(ids.ThemeFade, {
Text = 'Smooth Theme Changes',
Default = boolean(persisted.theme_fade, true),
Tooltip = 'Colour changes blend instead of snapping.',
Callback = function(value)
if self.Fade then self.Fade.Set(value == true) end
save()
end,
})
group:AddToggle(ids.Animations, {
Text = 'Menu Animations',
Default = boolean(persisted.animations, true),
Tooltip = 'Tab swipe, section collapse, dropdown and keybind picker transitions.',
Callback = function()
self.ApplyAnimations()
save()
end,
})
group:AddToggle(ids.Cursor, {
Text = 'Custom Cursor',
Default = boolean(persisted.custom_cursor, true),
Tooltip = "Draws the menu's own cursor while the menu is open.",
Callback = function()
self.ApplyCursor()
save()
end,
})
group:AddDropdown(ids.Scale, {
Text = 'UI Scale',
Values = module.Scales,
Default = scaleValue(persisted.ui_scale),
Multi = false,
AllowNull = false,
Tooltip = 'Size of the whole menu.',
})
options[ids.Scale]:OnChanged(function()
self.ApplyScale()
save()
end)
group:AddToggle(ids.Splash, {
Text = 'Loading Splash',
Default = boolean(persisted.splash, true),
Tooltip = 'Shows the logo while the hub loads. Applies the next time the script starts.',
Callback = function() save() end,
})
group:AddToggle(ids.Watermark, {
Text = 'Watermark',
Default = boolean(persisted.watermark, true),
Tooltip = 'Shows ZkxHub and the details you pick below in the corner.',
Callback = function()
self.ApplyWatermark()
save()
end,
})
-- which details the watermark shows next to its name
local function watermarkFieldsText()
local option = options[ids.WatermarkFields]
if not option or not library.GetWatermarkFieldIds then return persisted.watermark_fields or WATERMARK_FIELDS_DEFAULT end
local picked = {}
for _, name in ipairs(library:GetWatermarkFieldIds()) do
if option.Value[name] then table.insert(picked, name) end
end
return #picked > 0 and table.concat(picked, ',') or WATERMARK_FIELDS_NONE
end
if library.GetWatermarkFieldIds then
local fieldIds = library:GetWatermarkFieldIds()
local fieldBox = group:AddDependencyBox()
fieldBox:AddDropdown(ids.WatermarkFields, {
Text = 'Watermark Details',
Values = fieldIds,
Default = parseWatermarkFields(persisted.watermark_fields, fieldIds),
Multi = true,
AllowNull = true,
Tooltip = 'What the watermark shows next to the name: username, executor, fps, ping, the map, the server region and the time.',
})
fieldBox:SetupDependencies({ { toggles[ids.Watermark], true } })
options[ids.WatermarkFields]:OnChanged(function()
self.ApplyWatermark()
save()
end)
end
-- notifications: placement (Trello #32) and style (Trello #33); both live in UISettings.json, not in configs
local function notifyText(id, fallback)
local option = options[id]
if option and type(option.Value) == 'string' and option.Value ~= '' then return option.Value end
return fallback
end
if library.SetNotifyPlacement and library.NotifyPlacementNames then
local placements, styles = library.NotifyPlacementNames, library.NotifyStyleNames
group:AddDropdown(ids.NotifyPlacement, {
Text = 'Notification Placement',
Values = placements,
Default = notifyChoice(persisted.notify_placement, placements, NOTIFY_PLACEMENT_DEFAULT),
Multi = false,
AllowNull = false,
Tooltip = 'Where the notifications stack on the screen.',
})
group:AddDropdown(ids.NotifyStyle, {
Text = 'Notification Style',
Values = styles,
Default = notifyChoice(persisted.notify_style, styles, NOTIFY_STYLE_DEFAULT),
Multi = false,
AllowNull = false,
Tooltip = 'Premium: translucent card, accent edge, coloured numbers. Classic: the original boxed look.',
})
local function previewNotify()
self.ApplyNotify()
save()
library:Notify({
Title = 'Notifications',
Description = string.format('%s, %s style', notifyText(ids.NotifyPlacement, NOTIFY_PLACEMENT_DEFAULT), notifyText(ids.NotifyStyle, NOTIFY_STYLE_DEFAULT)),
Time = 3,
})
end
options[ids.NotifyPlacement]:OnChanged(previewNotify)
options[ids.NotifyStyle]:OnChanged(previewNotify)
end
group:AddButton({
Text = 'Turn Off All Toggles',
DoubleClick = true,
Tooltip = 'Switches off every feature toggle. With Auto Save Config on, the selected config is saved that way.',
Func = function()
local count = 0
for id, toggle in pairs(toggles) do
if not preserved[id] and type(toggle) == 'table' and toggle.Value == true then
if pcall(toggle.SetValue, toggle, false) then
count += 1
end
end
end
library:Notify({ Title = 'Toggles', Description = string.format('Turned off %d toggle(s).', count), Time = 4 })
end,
})
if args.tab and args.tab.AddRightGroupbox then
local community = args.tab:AddRightGroupbox('Community')
community:AddLabel(Kit.Invite, true)
community:AddButton('Copy Invite', function()
local copy = setclipboard or toclipboard
if type(copy) == 'function' then
pcall(copy, Kit.Invite)
library:Notify({ Title = 'Community', Description = 'Invite copied.', Time = 3 })
else
library:Notify({ Title = 'Community', Description = Kit.Invite, Time = 8 })
end
end)
end
function self.ApplyAnimations()
if window and type(window.SetAnimations) == 'function' then
local animations = toggleValue(ids.Animations) and Kit.DefaultAnimations or ANIMATIONS_OFF
pcall(window.SetAnimations, window, animations, 0.24, 22, 'bottom')
end
end
function self.ApplyScale()
local option = options[ids.Scale]
local percent = tonumber(string.match(tostring(option and option.Value or '100%'), '%d+')) or 100
pcall(library.SetDPIScale, library, percent)
end
function self.ApplyWatermark()
local picker = options[ids.WatermarkFields]
if picker and library.SetWatermarkFields then library:SetWatermarkFields(picker.Value) end
if library.SetWatermarkVisible then library:SetWatermarkVisible(toggleValue(ids.Watermark)) end
end
function self.ApplyNotify()
local placement, style = options[ids.NotifyPlacement], options[ids.NotifyStyle]
if placement and library.SetNotifyPlacement then library:SetNotifyPlacement(placement.Value) end
if style and library.SetNotifyStyle then library:SetNotifyStyle(style.Value) end
end
function self.ApplyCursor()
library.ShowCustomCursor = toggleValue(ids.Cursor)
self.ApplyWatermark()
self.ApplyNotify()
end
function self.Reapply()
applyFont()
self.ApplyAnimations()
self.ApplyScale()
self.ApplyCursor()
end
-- called once the default theme has been applied, so the start-up colours do not blend
function self.Finish()
local ok, fade = pcall(Kit.ThemeFade, library, { Enabled = toggleValue(ids.ThemeFade) })
if ok then self.Fade = fade end
self.Reapply()
end
function self.Snapshot()
local scale = options[ids.Scale]
return {
font_face = currentFontName(),
theme_fade = toggleValue(ids.ThemeFade),
animations = toggleValue(ids.Animations),
ui_scale = scaleValue(scale and scale.Value),
custom_cursor = toggleValue(ids.Cursor),
splash = toggleValue(ids.Splash),
watermark = toggleValue(ids.Watermark),
watermark_fields = watermarkFieldsText(),
notify_placement = notifyText(ids.NotifyPlacement, NOTIFY_PLACEMENT_DEFAULT),
notify_style = notifyText(ids.NotifyStyle, NOTIFY_STYLE_DEFAULT),
}
end
return self
end
return module
end
-- ======================================================================
-- Teleport rage (Automation > Ragebot)
-- ======================================================================
__ZkhHub_shared.rivals_ragebot_kernel = function()
-- Teleport ragebot. Each physics step the local root is placed above the chosen enemy and shots are sent
-- straight to the server from that spot; while reloading / swapping weapons (and once nobody is left) the
-- character is thrown far away so it cannot be hit. Turning it off returns you to where you enabled it.
-- Same bridge surface as before: ZkhHubRagebot, UpdateZkhHubRagebot, ResetZkhHubRagebot,
-- DestroyZkhHubRagebot, SetRageConfigKey.
return {
init = function(ctx)
local RivalsRuntimeBridge = ctx.RivalsRuntimeBridge
local Options = ctx.Options
local Toggles = ctx.Toggles
local Players = cloneref(game:GetService('Players'))
local ReplicatedStorage = cloneref(game:GetService('ReplicatedStorage'))
local RunService = cloneref(game:GetService('RunService'))
local Workspace = cloneref(workspace)
local lp = Players.LocalPlayer
local Rage = {}
local state = {
active = false,
target = nil,
conn = nil,
hbConn = nil,
charConn = nil,
ammoThread = nil,
fastThread = nil,
home = nil,
holdCF = nil,
lastTpPos = nil,
voiding = false,
wasBusy = false,
reloadVoidUntil = 0,
ammoActionAt = 0,
equipAt = 0,
noclipAt = 0,
collide = setmetatable({}, { __mode = 'k' }),
lastVoidPos = nil,
fpdhOriginal = nil,
rescueAt = 0,
aaPhase = 0,
}
local targetAt, matchAt, matchCache, rangeAt, rangeCache, errors = 0, 0, false, 0, false, 0
local reportedErrors = {}
-- ---------------------------------------------------------------- settings (all read live from the menu)
local function tog(id, default)
local toggle = Toggles and Toggles[id]
if toggle == nil then return default end
return toggle.Value == true
end
local function num(id, lo, hi, default)
local option = Options and Options[id]
local value = option and tonumber(option.Value)
if value == nil or value ~= value then value = default end
return math.clamp(value, lo, hi)
end
local function str(id, default)
local option = Options and Options[id]
if option and type(option.Value) == 'string' and option.Value ~= '' then return option.Value end
return default
end
local function reportOnce(tag, err)
errors = errors + 1
if reportedErrors[tag] then return end
reportedErrors[tag] = true
warn('[ZkxHub] ragebot ' .. tag .. ': ' .. tostring(err))
end
-- ---------------------------------------------------------------- game handles (resolved lazily, never blocking)
local FC, Utility, EnumLibrary, UseItemRemote, DuelController, VIM
local START_SHOOTING = 'StartShooting'
local lastResolve = 0
local function requireNode(root, ...)
local node = root
for _, name in ipairs({ ... }) do
node = node and node:FindFirstChild(name)
end
if not node then return nil end
local ok, module = pcall(require, node)
return (ok and type(module) == 'table') and module or nil
end
local function ensureGame()
if FC and UseItemRemote then return true end
local now = os.clock()
if now - lastResolve < 1 then return false end
lastResolve = now
if not FC then FC = requireNode(lp:FindFirstChild('PlayerScripts'), 'Controllers', 'FighterController') end
if not Utility then Utility = requireNode(ReplicatedStorage, 'Modules', 'Utility') end
if not EnumLibrary then
EnumLibrary = requireNode(ReplicatedStorage, 'Modules', 'EnumLibrary')
if EnumLibrary then
local ok, token = pcall(function() return EnumLibrary:ToEnum('StartShooting') end)
if ok and type(token) == 'string' then START_SHOOTING = token end
end
end
if not UseItemRemote then
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local replication = remotes and remotes:FindFirstChild('Replication')
local fighter = replication and replication:FindFirstChild('Fighter')
local remote = fighter and fighter:FindFirstChild('UseItem')
if remote then UseItemRemote = remote end
end
return FC ~= nil and UseItemRemote ~= nil
end
local function localFighter() return FC and FC.LocalFighter end
local function equippedItem()
local fighter = localFighter()
return fighter and fighter.EquippedItem
end
local function itemGet(item, key)
if not item then return nil end
local ok, value = pcall(function() return item:Get(key) end)
return ok and value or nil
end
local function getRoot(character) return character and character:FindFirstChild('HumanoidRootPart') end
local function getVIM()
if VIM then return VIM end
local ok, manager = pcall(function() return Instance.new('VirtualInputManager') end)
if ok and manager then VIM = manager end
return VIM
end
local slotKey = { [1] = Enum.KeyCode.One, [2] = Enum.KeyCode.Two, [3] = Enum.KeyCode.Three, [4] = Enum.KeyCode.Four }
local function pressKey(keyCode)
task.spawn(function()
local manager = getVIM()
if not manager then return end
pcall(function() manager:SendKeyEvent(true, keyCode, false, game) end)
task.wait(0.03)
pcall(function() manager:SendKeyEvent(false, keyCode, false, game) end)
end)
end
-- ---------------------------------------------------------------- match / target helpers
local function isShootingRange()
local now = os.clock()
if now - rangeAt < 0.5 then return rangeCache end
rangeAt = now
rangeCache = false
local function matches(value)
if value == nil then return false end
local text = tostring(value):lower():gsub('[%s_%-]', '')
return text:find('shootingrange', 1, true) ~= nil or text:find('firingrange', 1, true) ~= nil
end
for _, object in ipairs({ Workspace, lp }) do
for _, attribute in ipairs({
'Map',
'MapName',
'Mode',
'GameMode',
'Arena',
'Environment',
'EnvironmentName',
'ShootingRange',
}) do
local value = object:GetAttribute(attribute)
if (value == true and attribute == 'ShootingRange') or matches(value) then
rangeCache = true
return true
end
end
end
return false
end
local function scanWeapon(player)
local viewModels = Workspace:FindFirstChild('ViewModels')
if not viewModels then return '' end
for _, model in ipairs(viewModels:GetChildren()) do
if model:IsA('Model') then
local split = model.Name:find(' - ', 1, true)
if split and model.Name:sub(1, split - 1) == player.Name then return model.Name:sub(split + 3):lower() end
end
end
return ''
end
local function playerIsDead(player)
local character = player and player.Character
local humanoid = character and character:FindFirstChildOfClass('Humanoid')
return not character or not humanoid or humanoid.Health <= 0 or not getRoot(character)
end
local function isInvincible(player)
local character = player and player.Character
local root = getRoot(character)
if not root then return true end
for _, object in ipairs(root:GetChildren()) do
if object:IsA('Attachment') and object.Name == 'Attachment' then return true end
end
return character:FindFirstChild('InvincibilityParticles', true) ~= nil
end
local function isKatana(player) return scanWeapon(player):find('katana', 1, true) ~= nil end
local function sameMatch(player) return player:GetAttribute('EnvironmentID') == lp:GetAttribute('EnvironmentID') end
local function isTeammate(player)
local root = getRoot(player.Character)
if root and root:FindFirstChild('TeammateLabel') then return true end
local mine, theirs = lp:GetAttribute('TeamID'), player:GetAttribute('TeamID')
if mine ~= nil and theirs ~= nil then return mine == theirs end
return lp.Team ~= nil and player.Team == lp.Team
end
local function isNearOtherMatch(position, ignore)
if typeof(position) ~= 'Vector3' then return false end
for _, player in ipairs(Players:GetPlayers()) do
if player ~= lp and player ~= ignore and not sameMatch(player) then
local root = getRoot(player.Character)
if root and (root.Position - position).Magnitude <= 1000 then return true end
end
end
return false
end
local function shouldSkip(player)
if player == lp or playerIsDead(player) then return true end
if not sameMatch(player) or isInvincible(player) then return true end
local root = getRoot(player.Character)
if root and isNearOtherMatch(root.Position, player) then return true end
return root ~= nil and root:FindFirstChild('TeammateLabel') ~= nil
end
local function getBestTarget()
local root = getRoot(lp.Character)
if not root then return nil end
local best, bestValue = nil, math.huge
local lowestHealth = str('RBTM', 'Closest') == 'Lowest Health'
local priority = tog('RBAP', true)
for _, player in ipairs(Players:GetPlayers()) do
if not shouldSkip(player) then
local character = player.Character
local targetRoot = getRoot(character)
local humanoid = character and character:FindFirstChildOfClass('Humanoid')
if targetRoot and humanoid then
local value = lowestHealth and humanoid.Health or (targetRoot.Position - root.Position).Magnitude
if priority then
if tog('RBPV', true) and targetRoot.Position.Magnitude > 1000000 then value = value - 2000000000 end
if tog('RBPA', true) and scanWeapon(player) ~= '' then value = value - 1000000000 end
end
if value < bestValue then
bestValue, best = value, player
end
end
end
end
return best
end
local function hasValidTarget()
return state.target ~= nil and not playerIsDead(state.target) and not isInvincible(state.target)
end
local function shouldShoot() return hasValidTarget() and not isKatana(state.target) end
local function anyEnemyAlive()
for _, player in ipairs(Players:GetPlayers()) do
if player ~= lp and sameMatch(player) and not playerIsDead(player) and not isTeammate(player) then return true end
end
return false
end
local function isLobby()
local gui = lp:FindFirstChild('PlayerGui')
local main = gui and gui:FindFirstChild('MainGui')
local frame = main and main:FindFirstChild('MainFrame')
local lobby = frame and frame:FindFirstChild('Lobby')
local currency = lobby and lobby:FindFirstChild('Currency')
return currency ~= nil and currency.Visible == true
end
local function getDuel()
if not DuelController then
DuelController = requireNode(lp:FindFirstChild('PlayerScripts'), 'Controllers', 'DuelController')
end
if DuelController and DuelController.GetDuel then
local ok, duel = pcall(DuelController.GetDuel, DuelController, lp)
if ok then return duel end
end
return nil
end
local function inMatch()
local now = os.clock()
if now - matchAt < 0.25 then return matchCache end
matchAt = now
local result = false
if ensureGame() and not isLobby() and not isShootingRange() then
local character = lp.Character
local humanoid = character and character:FindFirstChildOfClass('Humanoid')
if character and getRoot(character) and humanoid and humanoid.Health > 0 then
result = getDuel() ~= nil or localFighter() ~= nil
end
end
matchCache = result
return result
end
-- ---------------------------------------------------------------- weapons / ammo
local function itemIsReloading(item)
if type(item) ~= 'table' then return false end
local now = tick()
local cooldown = rawget(item, '_reload_cooldown')
if type(cooldown) == 'number' and now < cooldown then return true end
local noAmmo = rawget(item, '_shoot_cooldown_no_ammo')
return type(noAmmo) == 'number' and now < noAmmo
end
local function isEquipping()
local item = equippedItem()
local cooldown = type(item) == 'table' and rawget(item, '_equip_cooldown') or nil
return type(cooldown) == 'number' and tick() < cooldown
end
local function isUsingShotgun()
local item = equippedItem()
local name = item and tostring(item.Name or ''):lower() or ''
return name:find('shotgun', 1, true) ~= nil
or name:find('shotkey', 1, true) ~= nil
or name:find('broomstick', 1, true) ~= nil
end
local function equippedSlot() return tonumber(itemGet(equippedItem(), 'Slot')) end
local function preferredSlot()
local choice = str('RBPW', 'primary')
return (choice == 'secondary' and 2) or (choice == 'melee' and 3) or 1
end
local function autoEquipPreferred()
if not tog('RBAE', true) then return end
local want = preferredSlot()
local slot = equippedSlot()
if slot and slot ~= want and tick() >= state.ammoActionAt and tick() >= state.equipAt then
state.equipAt = tick() + 0.5
pressKey(slotKey[want])
end
end
-- true while the weapon is busy (reloading, empty and swapping)
local function handleAmmo()
local fighter = localFighter()
local item = fighter and fighter.EquippedItem
if not fighter or not item then return false end
local ammo = itemGet(item, 'Ammo') or 0
local slot = itemGet(item, 'Slot') or 1
local now = tick()
local reloading = false
pcall(function() reloading = fighter:Get('Reloading') == true end)
if reloading or itemIsReloading(item) then
state.ammoActionAt = math.max(state.ammoActionAt, now + 0.1)
return true
end
if type(ammo) ~= 'number' or ammo > 0 then return false end
if now < state.ammoActionAt then return true end
if not tog('RBAS', true) then return true end
local primary = preferredSlot() == 2 and 2 or 1
local secondary = primary == 1 and 2 or 1
if slot == primary then
state.ammoActionAt = now + 0.45
pressKey(slotKey[secondary])
return true
end
if slot == secondary then
state.ammoActionAt = now + 0.6
pressKey(slotKey[primary])
task.delay(0.18, function()
if not state.active then return end
local after = equippedItem()
if after and (itemGet(after, 'Slot') or 1) == primary and (itemGet(after, 'Ammo') or 0) <= 0 then
pressKey(Enum.KeyCode.R)
end
end)
return true
end
state.ammoActionAt = now + 0.5
pressKey(Enum.KeyCode.R)
return true
end
-- ---------------------------------------------------------------- firing
local function encodeCFrame(cf)
if Utility and Utility.EncodeCFrame then
local ok, encoded = pcall(function() return Utility:EncodeCFrame(cf) end)
if ok and encoded ~= nil then return encoded end
end
local rx, ry, rz = cf:ToOrientation()
return { ['\0'] = cf.X, ['\1'] = cf.Y, ['\2'] = cf.Z, ['\3'] = rx, ['\4'] = ry, ['\5'] = rz }
end
local function buildShotData(fromPosition, part)
local look = CFrame.new(fromPosition, part.Position)
local data = {
['\1'] = {
['\0'] = encodeCFrame(look),
['\1'] = encodeCFrame(look),
['\2'] = part,
['\3'] = encodeCFrame(part.CFrame:ToObjectSpace(CFrame.new(part.Position))),
},
}
if tog('RBNS', true) then data['\2'] = true end
return data
end
local function doFire(part)
local fighter = localFighter()
local item = fighter and fighter.EquippedItem
if not item or not part or not UseItemRemote then return false end
local camera = Workspace.CurrentCamera
local fromPosition = state.lastTpPos or (camera and camera.CFrame.Position) or part.Position
local any = false
for _ = 1, math.floor(num('RBSA', 1, 10, 1)) do
local fired = false
local ammo = itemGet(item, 'Ammo') or 0
if type(ammo) == 'number' and ammo > 0 then
local objectId = itemGet(item, 'ObjectID')
if objectId then
fired = pcall(
function() UseItemRemote:FireServer(objectId, START_SHOOTING, buildShotData(fromPosition, part), nil) end
)
end
end
if not fired and type(item.UseItem) == 'function' then fired = pcall(function() item:UseItem() end) end
any = any or fired
end
return any
end
-- ---------------------------------------------------------------- movement helpers
local function noclipTick()
if not tog('RBNC', true) then return end
local now = tick()
if now - state.noclipAt < 0.2 then return end
state.noclipAt = now
local character = lp.Character
if not character then return end
for _, part in ipairs(character:GetDescendants()) do
if part:IsA('BasePart') and part.CanCollide then
if state.collide[part] == nil then state.collide[part] = true end
part.CanCollide = false
end
end
end
local function restoreCollide()
for part in pairs(state.collide) do
pcall(function() part.CanCollide = true end)
end
table.clear(state.collide)
end
-- Throws the root far away every frame (several jumps per frame) so nothing can hit it.
local function throwVoid(root)
local humanoid = lp.Character and lp.Character:FindFirstChildOfClass('Humanoid')
if not humanoid or humanoid.Health <= 0 then return end
if humanoid:GetState() ~= Enum.HumanoidStateType.Physics then
pcall(function() humanoid:ChangeState(Enum.HumanoidStateType.Physics) end)
end
local iterations = math.floor(num('RBVI', 1, 500, 500))
local minDistance = num('RBVN', 1, 500000, 1)
local maxDistance = math.max(num('RBVD', 1, 500000, 50000), minDistance)
for _ = 1, iterations do
local base = state.lastVoidPos or root.Position
local distance = minDistance + math.random() * (maxDistance - minDistance)
local sx = math.random() < 0.5 and 1 or -1
local sy = math.random() < 0.5 and 1 or -1
local sz = math.random() < 0.5 and 1 or -1
local p = Vector3.new(
base.X + sx * distance * math.random(),
base.Y + sy * distance * math.random(),
base.Z + sz * distance * math.random()
)
if math.abs(p.X) > 5e6 or math.abs(p.Y) > 5e6 or math.abs(p.Z) > 5e6 then
p = Vector3.new(math.random(-1000000, 1000000), math.random(-1000000, 1000000), math.random(-1000000, 1000000))
end
root.CFrame = CFrame.new(p)
state.lastVoidPos = p
end
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
end
local function leaveVoid()
if state.voiding then
state.voiding = false
state.lastVoidPos = nil
local humanoid = lp.Character and lp.Character:FindFirstChildOfClass('Humanoid')
if humanoid and humanoid:GetState() == Enum.HumanoidStateType.Physics and not tog('RBHV', true) then
pcall(function() humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) end)
end
end
end
-- ---------------------------------------------------------------- main step
local function step(dt)
if not state.active then return end
if isShootingRange() then
state.target = nil
return
end
noclipTick()
local root = getRoot(lp.Character)
if not root then return end
if not inMatch() then
state.target = nil
return
end
local now = tick()
if state.target and (playerIsDead(state.target) or isInvincible(state.target)) then state.target = nil end
if now - targetAt >= 0.05 or not state.target then
targetAt = now
local best = getBestTarget()
if best then state.target = best end
end
if not state.target then
if tog('RBVK', true) and not anyEnemyAlive() then
state.voiding = true
else
leaveVoid()
end
return
end
local targetCharacter = state.target.Character
local targetRoot = getRoot(targetCharacter)
local head = targetCharacter and (targetCharacter:FindFirstChild('Head') or targetRoot)
if not targetRoot or not head then
state.target = nil
return
end
if isNearOtherMatch(targetRoot.Position, state.target) then
state.target = nil
return
end
autoEquipPreferred()
-- reloading / swapping: hide in the void for the duration (longer for shotguns)
local busy = handleAmmo() or isEquipping()
if busy then
if not state.wasBusy then
state.wasBusy = true
if isUsingShotgun() then
state.reloadVoidUntil = math.max(state.reloadVoidUntil, now + num('RBSV', 5, 30, 5))
end
end
state.reloadVoidUntil = math.max(state.reloadVoidUntil, now + 0.05)
else
state.wasBusy = false
end
if tog('RBVR', true) and now < state.reloadVoidUntil then
state.voiding = true
return
end
leaveVoid()
local targetPosition = targetRoot.Position + Vector3.new(0, num('RBOY', -5, 50, 1), 0)
if isNearOtherMatch(targetPosition, state.target) then return end
local faceCF
if (head.Position - targetPosition).Magnitude > 0.1 then
faceCF = CFrame.new(targetPosition, head.Position)
else
faceCF = CFrame.new(targetPosition)
end
if tog('RBAA', false) then
state.aaPhase = state.aaPhase + dt * 20
faceCF = faceCF * CFrame.Angles(0, math.rad(math.sin(state.aaPhase) * 70), 0)
end
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
root.CFrame = faceCF
state.lastTpPos = targetPosition
state.holdCF = faceCF
end
local function heartbeat()
if not state.active then return end
local root = getRoot(lp.Character)
local humanoid = lp.Character and lp.Character:FindFirstChildOfClass('Humanoid')
if not root or not humanoid or humanoid.Health <= 0 then return end
if state.voiding then
local ok, err = pcall(throwVoid, root)
if not ok then reportOnce('void', err) end
return
end
if state.holdCF and tog('RBHV', true) then
if not humanoid.PlatformStand then humanoid.PlatformStand = true end
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
root.CFrame = state.holdCF
end
local now = tick()
if now >= state.rescueAt then
state.rescueAt = now + 0.1
if root.Position.Y < -100 and not state.voiding then
root.CFrame = CFrame.new(root.Position.X, 100, root.Position.Z)
root.AssemblyLinearVelocity = Vector3.zero
end
end
end
-- ---------------------------------------------------------------- fast shoot (cooldowns, recoil, spread)
local infoCache = setmetatable({}, { __mode = 'k' })
local FAST_KEYS = {
'ShootCooldown',
'QuickShotCooldown',
'SpinCooldown',
'DashCooldown',
'Cooldown',
'BuildCooldown',
'AttackCooldown',
'HeavyAttackCooldown',
'BurstCooldown',
}
local function remember(info, key)
if info[key] == nil then return nil end
local saved = infoCache[info]
if not saved then
saved = {}
infoCache[info] = saved
end
if saved[key] == nil then saved[key] = info[key] end
return saved[key]
end
local function applyFast(info, fast)
local recoil = remember(info, 'ShootRecoil')
if recoil ~= nil then info.ShootRecoil = fast and 0 or recoil end
local spread = remember(info, 'ShootSpread')
if spread ~= nil then info.ShootSpread = fast and 0 or spread end
local speed = remember(info, 'ProjectileSpeed')
if speed ~= nil then info.ProjectileSpeed = fast and 99999999 or speed end
for _, key in ipairs(FAST_KEYS) do
local original = remember(info, key)
if original ~= nil then info[key] = fast and 0 or original end
end
end
local function restoreFast()
for info in pairs(infoCache) do
pcall(applyFast, info, false)
end
end
local function fastTick()
if not tog('RBFS', true) then
restoreFast()
return
end
local fighter = localFighter()
local items = type(fighter) == 'table' and rawget(fighter, 'Items') or nil
if type(items) == 'table' then
for _, item in pairs(items) do
local info = type(item) == 'table' and item.Info or nil
if type(info) == 'table' then pcall(applyFast, info, true) end
end
end
end
-- ---------------------------------------------------------------- start / stop
local function startAmmoLoop()
if state.ammoThread then return end
state.ammoThread = task.spawn(function()
while state.active do
if not isShootingRange() and state.target ~= nil then
if not handleAmmo() and shouldShoot() then
local character = state.target.Character
local head = character and (character:FindFirstChild('Head') or getRoot(character))
if head then pcall(doFire, head) end
end
end
task.wait(num('RBTD', 0.01, 1, 0.04))
end
state.ammoThread = nil
end)
end
local function startFastLoop()
if state.fastThread then return end
state.fastThread = task.spawn(function()
while state.active do
pcall(fastTick)
task.wait(0.2)
end
restoreFast()
state.fastThread = nil
end)
end
function Rage.enable()
if state.active then return end
ensureGame()
local root = getRoot(lp.Character)
state.home = root and root.CFrame or nil
state.active = true
state.target, state.holdCF, state.lastTpPos, state.voiding, state.wasBusy = nil, nil, nil, false, false
state.reloadVoidUntil, state.ammoActionAt, state.equipAt = 0, 0, 0
pcall(function()
state.fpdhOriginal = Workspace.FallenPartsDestroyHeight
Workspace.FallenPartsDestroyHeight = 0 / 0
end)
startAmmoLoop()
startFastLoop()
state.hbConn = RunService.Heartbeat:Connect(function()
local ok, err = pcall(heartbeat)
if not ok then reportOnce('heartbeat', err) end
end)
state.conn = RunService.Stepped:Connect(function(_, dt)
local ok, err = pcall(step, dt)
if not ok then reportOnce('step', err) end
end)
state.charConn = lp.CharacterAdded:Connect(function(character)
state.target, state.holdCF, state.lastTpPos, state.voiding = nil, nil, nil, false
local hrp = character:WaitForChild('HumanoidRootPart', 10)
if hrp then state.home = hrp.CFrame end
end)
end
function Rage.disable()
if not state.active then return end
state.active = false
if state.conn then
state.conn:Disconnect()
state.conn = nil
end
if state.hbConn then
state.hbConn:Disconnect()
state.hbConn = nil
end
if state.charConn then
state.charConn:Disconnect()
state.charConn = nil
end
state.target, state.holdCF, state.lastTpPos, state.voiding = nil, nil, nil, false
state.wasBusy, state.reloadVoidUntil, state.lastVoidPos = false, 0, nil
restoreCollide()
restoreFast()
local root = getRoot(lp.Character)
if root and state.home then
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
root.CFrame = state.home
end
state.home = nil
local humanoid = lp.Character and lp.Character:FindFirstChildOfClass('Humanoid')
if humanoid then
pcall(function() humanoid.PlatformStand = false end)
if humanoid:GetState() == Enum.HumanoidStateType.Physics then
pcall(function() humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) end)
end
end
pcall(function()
if state.fpdhOriginal ~= nil then Workspace.FallenPartsDestroyHeight = state.fpdhOriginal end
state.fpdhOriginal = nil
end)
end
function Rage.unload()
Rage.disable()
restoreFast()
end
Rage.state = state
-- ---------------------------------------------------------------- bridge (same surface the rest of the script uses)
local wasEnabled = false
local function readRageToggle()
local toggle = Toggles and Toggles['P8S4T1']
if not (toggle and toggle.Value == true) then return false end
local keyPicker = Options and Options['P8S4T1K']
if keyPicker and type(keyPicker.GetState) == 'function' then return keyPicker:GetState() == true end
return true
end
RivalsRuntimeBridge.ZkhHubRagebot = Rage
RivalsRuntimeBridge.SetRageConfigKey = function() end
RivalsRuntimeBridge.UpdateZkhHubRagebot = function()
local should = readRageToggle()
if should ~= wasEnabled then
wasEnabled = should
if should then
pcall(Rage.enable)
else
pcall(Rage.disable)
end
end
end
RivalsRuntimeBridge.ResetZkhHubRagebot = function()
wasEnabled = false
pcall(Rage.disable)
end
RivalsRuntimeBridge.DestroyZkhHubRagebot = function()
wasEnabled = false
pcall(Rage.unload)
end
end,
}
end
-- ======================================================================
-- Error reporter
-- ======================================================================
__ZkhHub_shared.error_reporter = function()
local DUPLICATE_COOLDOWN_SECONDS = 30
local MAX_NOTIFICATIONS_PER_MINUTE = 6
local module = {}
local game_context = 'Unknown'
local last_seen_at = {}
local recent_notifications = {}
function module.set_game(name) game_context = name or 'Unknown' end
local function is_rate_limited()
local now = os.clock()
local cutoff = now - 60
local recent = {}
for _, t in ipairs(recent_notifications) do
if t > cutoff then table.insert(recent, t) end
end
recent_notifications = recent
return #recent_notifications >= MAX_NOTIFICATIONS_PER_MINUTE
end
local function truncate(str, max)
if #str <= max then return str end
return str:sub(1, max - 3) .. '...'
end
function module.report(err_msg, traceback, feature)
local message = tostring(err_msg)
local key = (feature or '?') .. '|' .. message
local now = os.clock()
local last = last_seen_at[key]
if last and (now - last) < DUPLICATE_COOLDOWN_SECONDS then return end
last_seen_at[key] = now
local label = '[' .. game_context .. ']'
if feature then label = label .. '[' .. tostring(feature) .. ']' end
warn(label .. ' ' .. message)
if traceback then warn(tostring(traceback)) end
if is_rate_limited() then return end
table.insert(recent_notifications, now)
if Library and type(Library.Notify) == 'function' then
pcall(
function()
Library:Notify({
Title = feature and ('Error: ' .. tostring(feature)) or 'Error',
Description = truncate(message, 200) .. ' (see console for traceback)',
Time = 8,
})
end
)
end
end
return module
end
-- ======================================================================
-- Safe executor wrappers
-- ======================================================================
local function safe_get_gc(callback)
local gc = setmetatable(getgc(true), { __mode = 'v' })
for _, value in pairs(gc) do
local ok, result = pcall(callback, value)
if ok and result then break end
end
end
local function safe_require(module) return require(cloneref(module)) end
local function safe_fire_server(remote, ...) cloneref(remote):FireServer(...) end
local function safe_invoke_server(remote, ...) return cloneref(remote):InvokeServer(...) end
local function safe_fire_signal(signal, ...) firesignal(cloneref(signal), ...) end
local function safe_get_attribute(instance, attr) return cloneref(instance):GetAttribute(attr) end
local function safe_set_attribute(instance, attr, value) cloneref(instance):SetAttribute(attr, value) end
local function safe_find(parent, name) return cloneref(parent):FindFirstChild(name) end
local function safe_is_a(instance, class) return cloneref(instance):IsA(class) end
-- ======================================================================
-- Game section (Rivals)
-- ======================================================================
local __game_ok, __game_err = xpcall(function()
local SaveManager, ThemeManager
__ZkhHub_genv.ZkxLoad = function(fraction, status)
local splash = __ZkhHub_genv.__ZkxSplash
if splash then
if status then pcall(splash.SetStatus, status) end
if fraction then pcall(splash.Progress, fraction) end
pcall(task.wait)
end
end
if game.GameId == Games['RIVALS'].ID and Games['RIVALS'].State then
local splashWanted = true
-- Silent Execute (auto_show off) keeps the whole start-up quiet: no loading screen either
pcall(function()
local saved = RequireSharedModule('script_paths').load_ui_settings()
splashWanted = saved.splash ~= false and saved.auto_show ~= false
if saved.auto_show == false then print('[ZkxHub] Silent Execute is on: loading screen skipped') end
end)
if splashWanted then
local okKit, Kit = pcall(RequireSharedModule, 'zkx_ui_kit')
if okKit then
local okSplash, made = pcall(Kit.Splash, { Logo = Kit.LogoAsset, Text = 'Loading menu library' })
if okSplash then __ZkhHub_genv.__ZkxSplash = made end
end
end
end
Library = RequireSharedModule('obsidian_library')
-- (ZkxVader build) base look: ZkxHub purple on the Vaderhaxx grays
Library.Scheme.AccentColor = Color3.fromRGB(125, 85, 255)
Library.Palette.accent = Library.Scheme.AccentColor
Library.ColorMigrations = {
BackgroundColor = { from = Color3.fromHex('0f0f0f'), to = Color3.fromHex('151515') },
MainColor = { from = Color3.fromHex('191919'), to = Color3.fromHex('2e2e2e') },
OutlineColor = { from = Color3.fromHex('282828'), to = Color3.fromHex('383838') },
}
SaveManager = RequireSharedModule('obsidian_save_manager')
ThemeManager = RequireSharedModule('obsidian_theme_manager')
__ZkhHub_genv.ZkxLoad(0.08, 'Preparing settings')
Library.NotifyOnError = false
Library.ShowCustomCursor = false
do
local OriginalNotify = rawget(Library, 'Notify')
if type(OriginalNotify) == 'function' then
Library.Notify = function(self, ...)
__ZkxHubElevateIdentity()
local args = table.pack(...)
local ok, result = pcall(function() return OriginalNotify(self, table.unpack(args, 1, args.n)) end)
if ok then return result end
return nil
end
end
end
-- Executor support gate
do
local Caps = __ZkhHub_genv.ZkxHubCaps
if type(Caps) == 'table' then
local NotifiedFeatures = {}
Caps.gate = function(feature, ...)
local missing = nil
for _, name in ipairs({ ... }) do
if not Caps.has(name) then missing = missing and (missing .. ', ' .. name) or name end
end
if not missing then return true end
if not NotifiedFeatures[feature] then
NotifiedFeatures[feature] = true
pcall(
function()
Library:Notify({
Title = 'Executor Support',
Description = feature .. " won't work on this executor -- it doesn't have " .. missing .. '.',
Time = 8,
})
end
)
end
return false
end
end
end
local Toggles = Library.Toggles
local Options = Library.Options
local ScriptPaths = RequireSharedModule('script_paths')
SaveManager:SetLibrary(Library)
SaveManager:SetIgnoreIndexes({ 'MenuKeybind' })
SaveManager:SetFolder(ScriptPaths.storage_root())
pcall(ScriptPaths.ensure_runnable_copy)
ThemeManager:SetLibrary(Library)
ThemeManager:SetFolder(ScriptPaths.storage_root())
ErrorReporter = RequireSharedModule('error_reporter')
function Library:SafeCallback(Func, ...)
if not (Func and typeof(Func) == 'function') then return end
local args = table.pack(...)
local Result = table.pack(xpcall(function() return Func(table.unpack(args, 1, args.n)) end, function(err)
local traceback = debug.traceback(tostring(err), 2)
if ErrorReporter and type(ErrorReporter.report) == 'function' then
ErrorReporter.report(tostring(err), traceback, 'library_callback')
end
return err
end))
if not Result[1] then return nil end
return table.unpack(Result, 2, Result.n)
end
local function InstallUnloadWrapper()
function Library:Unload()
if Library.Unloaded then return end
local previousIdentity = nil
pcall(function()
if type(getthreadidentity) == 'function' then previousIdentity = getthreadidentity() end
end)
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 7) end
for Index = #Library.Signals, 1, -1 do
local Connection = table.remove(Library.Signals, Index)
pcall(function()
if Connection and Connection.Connected then Connection:Disconnect() end
end)
end
for _, Callback in ipairs(Library.UnloadSignals or {}) do
Library:SafeCallback(Callback)
end
Library.Unloaded = true
if Library.ActiveLoading then
pcall(function() Library.ActiveLoading:Destroy() end)
Library.ActiveLoading = nil
end
if Library.ScreenGui then
pcall(function() Library.ScreenGui:Destroy() end)
Library.ScreenGui = nil
end
pcall(function() __ZkhHub_genv.Library = nil end)
if previousIdentity ~= nil and type(setthreadidentity) == 'function' then pcall(setthreadidentity, previousIdentity) end
end
end
InstallUnloadWrapper()
-- Anti-AFK
do
local Players = game:GetService('Players')
local LocalPlayer = Players.LocalPlayer
local Token = {}
local Slot = __ZkhHub_genv.__ZkxHubAntiAfk
if type(Slot) == 'table' and Slot.Connection then pcall(function() Slot.Connection:Disconnect() end) end
local function Nudge()
pcall(function()
local Vim = Instance.new('VirtualInputManager')
Vim:SendKeyEvent(true, Enum.KeyCode.F15, false, game)
Vim:SendKeyEvent(false, Enum.KeyCode.F15, false, game)
end)
end
if LocalPlayer then
local Connection = LocalPlayer.Idled:Connect(Nudge)
__ZkhHub_genv.__ZkxHubAntiAfk = {
Token = Token,
Connection = Connection,
}
task.spawn(function()
while true do
task.wait(300)
local Live = __ZkhHub_genv.__ZkxHubAntiAfk
if type(Live) ~= 'table' or Live.Token ~= Token then return end
Nudge()
end
end)
end
end
local queue_on_teleport = (type(queue_on_teleport) == 'function' and queue_on_teleport)
or (type(queueonteleport) == 'function' and queueonteleport)
or (type(syn) == 'table' and type(syn.queue_on_teleport) == 'function' and syn.queue_on_teleport)
or function() end
local GameId = game.GameId
local GameName = 'Unknown'
for i, v in pairs(Games) do
if GameId == v.ID then
GameName = i
break
end
end
local TitleTemplate = ScriptPaths.format_title(GameName)
local AutoShowConfig = ScriptPaths.ensure_auto_show_file()
ErrorReporter.set_game(GameName)
if GameId == Games['RIVALS'].ID and Games['RIVALS'].State then
local ConnectionRegistry = RequireSharedModule('connection_registry')
local UISettings = RequireSharedModule('ui_settings')
local GameBootstrap = RequireSharedModule('game_bootstrap')
__ZkhHub_genv.ZkxLoad(0.14, 'Creating window')
-- ======================================================================
-- Services, player refs and game modules
-- ======================================================================
-- Services
local Players = game:GetService('Players')
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local RunService = game:GetService('RunService')
local UserInputService = game:GetService('UserInputService')
local Workspace = game:GetService('Workspace')
local Lighting = game:GetService('Lighting')
-- Player refs
local LP = Players.LocalPlayer
local CurrentRivalsPlace = game['Place' .. 'Id']
local RIVALS_SHARED_MATCH_PLACE = 129604661913557
local AimbotInputState = {
LeftMouse = false,
RightMouse = false,
TouchCount = 0,
FreecamActive = false,
}
AimbotInputState.SyntheticInputBlocked = function()
if AimbotInputState.FreecamActive then return true end
if Library and Library.Toggled then return true end
if game:GetService('GuiService').MenuIsOpen then return true end
if UserInputService:GetFocusedTextBox() ~= nil then return true end
return false
end
local AimbotTriggerbotLastShotAt = 0
local MeleeFastFire = { Enabled = true, IntervalSec = 0, LastShotAt = 0, RagebotStuds = 10, AttackMaxStuds = 15 }
local AimbotVisibilityCache = setmetatable({}, { __mode = 'k' })
local AIMBOT_VISIBLE_CACHE_WINDOW = 1 / 30
local ESP_HIDDEN_CACHE_WINDOW = 1 / 30
local AIMBOT_HIDDEN_CACHE_WINDOW = 1 / 60
local TRIGGERBOT_HIDDEN_CACHE_WINDOW = 0
local AIMBOT_OFFSCREEN_SELECTION_PENALTY = 1e6
local ESP_VISIBILITY_CACHE_PROFILE = {
Id = 'ESP',
HiddenWindow = ESP_HIDDEN_CACHE_WINDOW,
VisibleWindow = AIMBOT_VISIBLE_CACHE_WINDOW,
}
local AIMBOT_VISIBILITY_CACHE_PROFILE = {
Id = 'AIMBOT',
HiddenWindow = AIMBOT_HIDDEN_CACHE_WINDOW,
VisibleWindow = 0,
}
local TRIGGERBOT_VISIBILITY_CACHE_PROFILE = {
Id = 'TRIGGERBOT',
HiddenWindow = TRIGGERBOT_HIDDEN_CACHE_WINDOW,
VisibleWindow = 0,
}
-- ======================================================================
-- Aimbot state: silent aim, camera aim, triggerbot
-- ======================================================================
local AimbotSilentState = {
Item = nil,
LastShot = nil,
LastShotChangedAt = 0,
ShotSignalAt = 0,
ProjectileShotAt = 0,
HookTarget = nil,
HookTargetCapturedAt = 0,
ShotPrimeDepth = 0,
}
local AimbotSilentConnections = {
Shot = nil,
ProjectileShot = nil,
HookedItem = nil,
OriginalStartShooting = nil,
WrappedStartShooting = nil,
TriggerbotHoldingMouse = false,
TriggerbotHoldX = nil,
TriggerbotHoldY = nil,
TriggerbotTarget = nil,
TriggerbotTargetAcquiredAt = 0,
CameraAimRandomTarget = nil,
CameraAimRandomPart = nil,
}
local AimbotStatusNotification = nil
local AimbotStatusKey = nil
local AimbotStatusDescription = nil
local RuntimeIssueNotification = nil
local RuntimeIssueDescription = nil
local RuntimeIssueReportedAt = {}
local RuntimeIssueNotificationUnavailable = false
local RIVALS_RUNTIME_ERROR_DEDUPE_WINDOW = 2
local UpdateRivalsPickupFeatures
local function DestroyRuntimeIssueNotification()
if RuntimeIssueNotification and type(RuntimeIssueNotification.Destroy) == 'function' then
pcall(function() RuntimeIssueNotification:Destroy() end)
elseif RuntimeIssueNotification and type(RuntimeIssueNotification.Remove) == 'function' then
pcall(function() RuntimeIssueNotification:Remove() end)
end
RuntimeIssueNotification = nil
RuntimeIssueDescription = nil
RuntimeIssueNotificationUnavailable = false
end
local function TryShowRivalsRuntimeIssueNotification(description)
if RuntimeIssueNotificationUnavailable or not Library or type(Library.Notify) ~= 'function' then return end
if RuntimeIssueNotification then
if RuntimeIssueDescription ~= description then
local ok = pcall(function() RuntimeIssueNotification:ChangeDescription(description) end)
if not ok then
RuntimeIssueNotification = nil
RuntimeIssueNotificationUnavailable = true
end
end
return
end
local ok, notification = pcall(
function()
return Library:Notify({
Title = 'RIVALS',
Description = description,
Persist = true,
})
end
)
if ok then
RuntimeIssueNotification = notification
else
RuntimeIssueNotification = nil
RuntimeIssueNotificationUnavailable = true
end
end
local function ReportRivalsRuntimeIssue(feature, tracebackMessage)
local tracebackText = tostring(tracebackMessage or 'Unknown error')
local errorMessage = tracebackText:match('([^\n]+)') or tracebackText
local description = string.format('%s: %s', tostring(feature or 'runtime'), errorMessage)
local now = tick()
local lastReportedAt = RuntimeIssueReportedAt[description]
if lastReportedAt and (now - lastReportedAt) < RIVALS_RUNTIME_ERROR_DEDUPE_WINDOW then return end
RuntimeIssueReportedAt[description] = now
TryShowRivalsRuntimeIssueNotification(description)
RuntimeIssueDescription = description
if ErrorReporter and type(ErrorReporter.report) == 'function' then
pcall(
function()
ErrorReporter.report(errorMessage, tracebackText, string.format('rivals_%s', tostring(feature or 'runtime')))
end
)
end
end
local function GuardRivalsCallback(feature, callback)
return function(...)
local args = table.pack(...)
local ok, result = xpcall(
function() return callback(table.unpack(args, 1, args.n)) end,
function(err) return debug.traceback(string.format('[%s] %s', tostring(feature), tostring(err)), 2) end
)
if not ok then
ReportRivalsRuntimeIssue(feature, result)
return nil
end
return result
end
end
local Char, Humanoid, HumanoidRootPart
local function InitCharacter()
Char = LP.Character
if not Char then
Humanoid = nil
HumanoidRootPart = nil
return false
end
Humanoid = Char:FindFirstChildOfClass('Humanoid')
HumanoidRootPart = Char:FindFirstChild('HumanoidRootPart')
return Humanoid ~= nil and HumanoidRootPart ~= nil
end
local function IsAimbotCameraBoundToLocalCharacter(camera)
if not camera or not Char or LP.Character ~= Char then return false end
local subject = camera.CameraSubject
if not subject then return false end
return subject == Char or subject:IsDescendantOf(Char)
end
local function IsAimbotCameraReady()
local camera = Workspace.CurrentCamera
if not camera then return false end
if not InitCharacter() or LP.Character ~= Char then return false end
if not Humanoid or Humanoid.Health <= 0 then return false end
if HumanoidRootPart and HumanoidRootPart.Anchored then return false end
if not IsAimbotCameraBoundToLocalCharacter(camera) then return false end
return true
end
local PlayerDataController = nil
local EnumLibrary = nil
local FighterController = nil
local EnemyController = nil
local ReplicatedStateReady = false
local ReplicatedStateBootStarted = false
local WeaponInfoCache = {}
local WeaponInfoConnections = {}
local WeaponInfoTrackingConnected = false
local WeaponInfoTrackingRetryPending = false
local TrackedFightersByPlayer = {}
local FighterDataCache = {
Cache = {},
Connections = {},
LocalDuel = {
IsInDuel = false,
IsInShootingRange = false,
AttachedFighter = nil,
DuelConn = nil,
ShootingConn = nil,
Seeded = false,
},
OnLocalDuelChanged = nil,
LocalLoadout = {
EquippedItem = nil,
Seeded = false,
},
}
local TrackedRangeTargets = {}
local TrackedPracticeDummies = {}
local TrackedEnemies = setmetatable({}, { __mode = 'k' })
local AimbotPlayerTrackingConnected = false
local AimbotEnemyTrackingConnected = false
local LocalFighterController = nil
local Connections = nil
local DEFAULT_ESP_MAX_DISTANCE = 1000
local DEFAULT_ESP_TEXT_SIZE = 16
local PLAYER_CARD_THEME = {
HorizontalBarWidth = 48,
HorizontalBarOffsetY = 0,
HorizontalBarTextPadding = 0,
HorizontalBarTextPaddingY = 0,
NameOffsetY = -2,
BarTopGap = 2,
BarHeight = 17,
BarRadius = 11,
VerticalBarTextGap = 4,
MinLift = 20,
MaxLift = 50,
FrameColor = Color3.fromRGB(4, 5, 7),
NameColor = Color3.fromRGB(252, 252, 252),
MetaColor = Color3.fromRGB(196, 203, 212),
BarTextColor = Color3.fromRGB(248, 250, 252),
ShadowColor = Color3.fromRGB(8, 10, 14),
BarBackgroundColor = Color3.fromRGB(20, 24, 31),
BarLowColor = Color3.fromRGB(233, 86, 74),
BarMidColor = Color3.fromRGB(244, 210, 72),
BarHighColor = Color3.fromRGB(100, 255, 50),
BarBackgroundTransparency = 0.85,
BarInset = 1,
BarTextInset = 8,
ArrowTransparency = 0.9,
ArrowThickness = 2,
ArrowLength = 18,
ArrowWidth = 8,
ArrowEdgeScale = 0.35,
LookLineTransparency = 0.42,
ThrowableTextTransparency = 0.95,
}
PLAYER_CARD_THEME.Classic = {
BoxOutlineColor = Color3.fromRGB(4, 5, 7),
BoxOutlineTransparency = 0.82,
BoxOutlineThickness = 3,
BoxThickness = 1,
BarWidth = 4,
BarHeight = 4,
BarGap = 3,
BarInset = 1,
SmoothSpeed = 24,
ReactiveLowColor = Color3.new(1, 1, 1),
}
local AimbotFovCircle = Drawing.new('Circle')
AimbotFovCircle.Filled = false
AimbotFovCircle.NumSides = 48
AimbotFovCircle.Thickness = 1.5
AimbotFovCircle.Transparency = 0.72
AimbotFovCircle.Color = Color3.fromRGB(255, 70, 70)
AimbotFovCircle.Visible = false
local MODEL_BOUNDS_SIGNS = { -1, 1 }
local RivalsRuntimeBridge = {}
RivalsRuntimeBridge.PlayerStatusInfoCache = {}
RivalsRuntimeBridge.EspRankProfileCache = nil
RivalsRuntimeBridge.ESPClassic = {}
RivalsRuntimeBridge.EspPreviewState = nil
-- ======================================================================
-- Weapon mods: attack speed, reload, no spread, recoil, melee reach
-- ======================================================================
local RivalsModsState = {
GunModule = nil,
MeleeModule = nil,
GunbladeModule = nil,
CameraController = nil,
CameraShakeOriginalEnabled = nil,
CameraThirdPersonCaptured = false,
CameraThirdPersonOriginal = nil,
CameraViewModelOriginal = nil,
MotionSpringValues = {
_sliding_spring = 0,
_sprinting_spring = 0,
_bobbing_speed_spring = 0,
_bobbing_value_spring = Vector2.zero,
_landing_spring = 0,
_jump_spring = 0,
_tilt_spring = Vector2.zero,
_impulse_position_spring = Vector3.zero,
_recoil_spring = Vector3.zero,
_unrecoil_spring = Vector3.zero,
},
InfoModifierFighter = nil,
InfoModifierItemAdded = nil,
InfoModifierItemRemoved = nil,
OriginalItemInfo = setmetatable({}, { __mode = 'k' }),
PendingEnsureHooks = false,
NoSpreadClientItem = nil,
NoSpreadRemote = nil,
ZkhHubInputHookPrototype = nil,
ZkhHubInputHook = nil,
NoSpreadController = nil,
NoSpreadPlayerContext = nil,
GrenadeFuseController = nil,
OriginalGunStartShooting = nil,
OriginalMeleeStartShooting = nil,
OriginalGunbladeStartShooting = nil,
OriginalGunStartReloading = nil,
OriginalGunRecoil = nil,
OriginalGunGetAimSpeed = nil,
OriginalGunEquip = nil,
}
local function CallGameAtIdentity2(fn, ...)
local prev = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if prev ~= nil and prev ~= 2 and type(setthreadidentity) == 'function' then pcall(setthreadidentity, 2) end
local args = table.pack(...)
local results = table.pack(pcall(fn, table.unpack(args, 1, args.n)))
if prev ~= nil and prev ~= 2 and type(setthreadidentity) == 'function' then pcall(setthreadidentity, prev) end
return results
end
local function CallGameOrError(fn, ...)
local results = CallGameAtIdentity2(fn, ...)
if not results[1] then error(results[2], 0) end
return table.unpack(results, 2, results.n)
end
local function BlendColor(color, target, alpha)
return Color3.new(
color.R + ((target.R - color.R) * alpha),
color.G + ((target.G - color.G) * alpha),
color.B + ((target.B - color.B) * alpha)
)
end
local function CreateRoundedRect()
local rect = {
horizontal = Drawing.new('Square'),
vertical = Drawing.new('Square'),
tl = Drawing.new('Circle'),
tr = Drawing.new('Circle'),
bl = Drawing.new('Circle'),
br = Drawing.new('Circle'),
}
rect.horizontal.Filled = true
rect.horizontal.Visible = false
rect.vertical.Filled = true
rect.vertical.Visible = false
for _, key in ipairs({ 'tl', 'tr', 'bl', 'br' }) do
local corner = rect[key]
corner.Filled = true
corner.NumSides = 18
corner.Visible = false
end
return rect
end
local function HideRoundedRect(rect)
rect.horizontal.Visible = false
rect.vertical.Visible = false
rect.tl.Visible = false
rect.tr.Visible = false
rect.bl.Visible = false
rect.br.Visible = false
end
local function RemoveRoundedRect(rect)
pcall(function() rect.horizontal:Remove() end)
pcall(function() rect.vertical:Remove() end)
pcall(function() rect.tl:Remove() end)
pcall(function() rect.tr:Remove() end)
pcall(function() rect.bl:Remove() end)
pcall(function() rect.br:Remove() end)
end
local function CreateArrowIndicator()
local arrow = {
left = Drawing.new('Line'),
right = Drawing.new('Line'),
base = Drawing.new('Line'),
}
for _, key in ipairs({ 'left', 'right', 'base' }) do
local segment = arrow[key]
segment.Thickness = PLAYER_CARD_THEME.ArrowThickness
segment.Transparency = PLAYER_CARD_THEME.ArrowTransparency
segment.Visible = false
end
return arrow
end
local function HideArrowIndicator(arrow)
arrow.left.Visible = false
arrow.right.Visible = false
arrow.base.Visible = false
end
local function RemoveArrowIndicator(arrow)
pcall(function() arrow.left:Remove() end)
pcall(function() arrow.right:Remove() end)
pcall(function() arrow.base:Remove() end)
end
local function DrawArrowIndicator(arrow, center, direction, color, scale)
local magnitude = direction.Magnitude
if magnitude <= 0 then
HideArrowIndicator(arrow)
return
end
scale = scale or 1
local arrowLength = PLAYER_CARD_THEME.ArrowLength * scale
local arrowWidth = PLAYER_CARD_THEME.ArrowWidth * scale
local arrowThickness = math.max(PLAYER_CARD_THEME.ArrowThickness * scale, 1)
local forward = direction / magnitude
local right = Vector2.new(-forward.Y, forward.X)
local tip = center + (forward * arrowLength * 0.5)
local baseCenter = center - (forward * arrowLength * 0.5)
local leftPoint = baseCenter - (right * arrowWidth)
local rightPoint = baseCenter + (right * arrowWidth)
arrow.left.From = leftPoint
arrow.left.To = tip
arrow.right.From = tip
arrow.right.To = rightPoint
arrow.base.From = rightPoint
arrow.base.To = leftPoint
for _, key in ipairs({ 'left', 'right', 'base' }) do
local segment = arrow[key]
segment.Color = color
segment.Thickness = arrowThickness
segment.Visible = true
end
end
local function SetDrawingVisible(drawable, visible)
if drawable.Visible ~= visible then drawable.Visible = visible end
end
local function SetDrawingTextState(drawable, visible, textValue, textSize, centered, color, font)
SetDrawingVisible(drawable, visible)
if not visible then return end
if drawable.Text ~= textValue then drawable.Text = textValue end
local roundedSize = math.round(textSize)
if drawable.Size ~= roundedSize then drawable.Size = roundedSize end
if drawable.Center ~= centered then drawable.Center = centered end
if drawable.Color ~= color then drawable.Color = color end
if font ~= nil and drawable.Font ~= font then drawable.Font = font end
end
local function SetRoundedRect(rect, x, y, width, height, radius, color, transparency)
if width <= 0 or height <= 0 then
HideRoundedRect(rect)
return
end
local r = math.floor(math.max(0, math.min(radius, width * 0.5, height * 0.5)))
if r == 0 then
rect.horizontal.Color = color
rect.horizontal.Transparency = transparency
rect.horizontal.Position = Vector2.new(x, y)
rect.horizontal.Size = Vector2.new(width, height)
rect.horizontal.Visible = true
rect.vertical.Visible = false
rect.tl.Visible = false
rect.tr.Visible = false
rect.bl.Visible = false
rect.br.Visible = false
return
end
local innerWidth = math.max(width - (r * 2), 0)
local innerHeight = math.max(height - (r * 2), 0)
rect.horizontal.Color = color
rect.horizontal.Transparency = transparency
rect.horizontal.Visible = innerWidth > 0
if innerWidth > 0 then
rect.horizontal.Position = Vector2.new(x + r, y)
rect.horizontal.Size = Vector2.new(innerWidth, height)
end
rect.vertical.Color = color
rect.vertical.Transparency = transparency
rect.vertical.Visible = innerHeight > 0
if innerHeight > 0 then
rect.vertical.Position = Vector2.new(x, y + r)
rect.vertical.Size = Vector2.new(width, innerHeight)
end
local showCorners = r > 0
for _, key in ipairs({ 'tl', 'tr', 'bl', 'br' }) do
local corner = rect[key]
corner.Color = color
corner.Transparency = transparency
corner.Visible = showCorners
if showCorners then corner.Radius = r end
end
if showCorners then
rect.tl.Position = Vector2.new(x + r, y + r)
rect.tr.Position = Vector2.new(x + width - r, y + r)
rect.bl.Position = Vector2.new(x + r, y + height - r)
rect.br.Position = Vector2.new(x + width - r, y + height - r)
end
end
RivalsRuntimeBridge.ModuleIssues = {}
RivalsRuntimeBridge.BootIssue = nil
-- Game modules come from require(). Some executors only hand out the live module cache at LocalScript identity, so a failed
-- require is retried there once. Failures are remembered (and not retried every frame) so they can be reported instead of
-- silently switching features off.
function RivalsRuntimeBridge.RequireGameModule(moduleScript, label)
local issues = RivalsRuntimeBridge.ModuleIssues
local issue = issues[label]
if issue and os.clock() - issue.at < 5 then return nil end
local ok, value = pcall(require, moduleScript)
if ok and type(value) == 'table' then
issues[label] = nil
return value
end
local failure = ok and ('returned ' .. typeof(value)) or tostring(value)
if type(getthreadidentity) == 'function' and type(setthreadidentity) == 'function' then
local previous = getthreadidentity()
pcall(setthreadidentity, 2)
local retryOk, retryValue = pcall(require, moduleScript)
pcall(setthreadidentity, previous)
if retryOk and type(retryValue) == 'table' then
issues[label] = nil
return retryValue
end
end
issues[label] = { at = os.clock(), err = failure }
return nil
end
local function ResolvePlayerDataController()
if PlayerDataController then return PlayerDataController end
local playerScripts = LP:WaitForChild('PlayerScripts')
local controllers = playerScripts:WaitForChild('Controllers')
local playerDataControllerModule = controllers:WaitForChild('PlayerDataController')
local controller = RivalsRuntimeBridge.RequireGameModule(playerDataControllerModule, 'PlayerDataController')
if not controller then return nil end
PlayerDataController = controller
return PlayerDataController
end
local function IsPlayerDataControllerReady()
local playerDataController = ResolvePlayerDataController()
return playerDataController ~= nil and playerDataController.CurrentData ~= nil
end
local function ResolveEnumLibrary()
if EnumLibrary then return EnumLibrary end
local replicatedStorage = game:GetService('ReplicatedStorage')
local modules = replicatedStorage:WaitForChild('Modules')
local enumLibraryModule = modules:WaitForChild('EnumLibrary')
local library = RivalsRuntimeBridge.RequireGameModule(enumLibraryModule, 'EnumLibrary')
if not library then return nil end
EnumLibrary = library
return EnumLibrary
end
local function BeginReplicatedStateBoot()
if ReplicatedStateBootStarted then return end
ReplicatedStateBootStarted = true
task.spawn(GuardRivalsCallback('ReplicatedStateBoot', function()
local attempts = 0
local notified = false
-- one failed require used to end the boot for good; keep trying so a slow or fussy executor still gets there
while not ReplicatedStateReady and not Library.Unloaded and attempts < 150 do
attempts += 1
local reason = nil
local attemptOk, attemptErr = pcall(function()
local enumLibrary = ResolveEnumLibrary()
if not enumLibrary then
reason = 'EnumLibrary could not be loaded'
elseif type(enumLibrary.WaitForEnumBuilder) == 'function' then
enumLibrary:WaitForEnumBuilder()
elseif enumLibrary._enum_builder_complete ~= true then
reason = 'EnumLibrary has not finished building'
end
if not reason then
local playerDataController = ResolvePlayerDataController()
if not playerDataController then
reason = 'PlayerDataController could not be loaded'
elseif type(playerDataController.WaitUntilLoaded) == 'function' then
playerDataController:WaitUntilLoaded()
elseif not IsPlayerDataControllerReady() then
reason = 'player data is not loaded yet'
end
end
end)
if not attemptOk then reason = 'boot step failed: ' .. tostring(attemptErr) end
if not reason then
task.wait(2)
ReplicatedStateReady = true
RivalsRuntimeBridge.BootIssue = nil
local state = RivalsModsState
if state.PendingEnsureHooks and type(RivalsModsState.EnsureHooks) == 'function' then
task.defer(RivalsModsState.EnsureHooks)
end
return
end
local detail = reason
for _, label in ipairs({ 'EnumLibrary', 'PlayerDataController' }) do
local issue = RivalsRuntimeBridge.ModuleIssues[label]
if issue then detail = detail .. ' (require(' .. label .. '): ' .. tostring(issue.err) .. ')' end
end
RivalsRuntimeBridge.BootIssue = detail
if attempts >= 8 and not notified then
notified = true
pcall(
function()
Library:Notify({
Title = 'Executor Support',
Description = 'Camera, viewmodel and weapon features could not start: '
.. detail
.. '. Open Client Effects and press Copy Executor Report.',
Time = 12,
})
end
)
end
task.wait(2)
end
end))
end
local function IsReplicatedStateReady()
BeginReplicatedStateBoot()
return ReplicatedStateReady
end
local function ResolveFighterController()
if FighterController then return FighterController end
if not ReplicatedStateReady then
BeginReplicatedStateBoot()
return nil
end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local fighterControllerModule = controllers and controllers:FindFirstChild('FighterController')
if not fighterControllerModule then return nil end
local controller = RivalsRuntimeBridge.RequireGameModule(fighterControllerModule, 'FighterController')
if not controller then return nil end
FighterController = controller
return FighterController
end
local function ResolveEnemyController()
if EnemyController then return EnemyController end
if not ReplicatedStateReady then
BeginReplicatedStateBoot()
return nil
end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local enemyControllerModule = controllers and controllers:FindFirstChild('EnemyController')
if not enemyControllerModule then return nil end
local controller = RivalsRuntimeBridge.RequireGameModule(enemyControllerModule, 'EnemyController')
if not controller then return nil end
EnemyController = controller
return EnemyController
end
local function ReadItemValue(item, key)
if not item or type(item.Get) ~= 'function' then return nil end
local ok, value = pcall(item.Get, item, key)
if not ok then return nil end
return value
end
local function ResolveLocalFighter()
local fighterController = ResolveFighterController()
if not fighterController then return nil end
if fighterController.LocalFighter then return fighterController.LocalFighter end
if type(fighterController.GetFighter) ~= 'function' then return nil end
local fighter = fighterController:GetFighter(LP)
if fighter then return fighter end
if LP.Character then
fighter = fighterController:GetFighter(LP.Character)
if fighter then return fighter end
end
return nil
end
local function ReadFighterValue(fighter, key)
if not fighter or type(fighter.Get) ~= 'function' then return nil end
local ok, value = pcall(fighter.Get, fighter, key)
if not ok then return nil end
return value
end
local AIMBOT_RIOT_SHIELD_ITEM_NAMES = {
['Riot Shield'] = true,
}
local AIMBOT_RIOT_SHIELD_FRONT_DOT_THRESHOLD = 0.0
local AIMBOT_RIOT_SHIELD_BACK_DOT_THRESHOLD = 0.0
local function ResolveRivalsInventoryItemName(item)
local itemType = typeof(item)
if itemType == 'string' then return item ~= '' and item or nil end
if itemType == 'Instance' then return item.Name ~= '' and item.Name or nil end
if itemType ~= 'table' then return nil end
if type(item.Name) == 'string' and item.Name ~= '' then return item.Name end
local info = item.Info
if type(info) == 'table' and type(info.Name) == 'string' and info.Name ~= '' then return info.Name end
if type(item.ItemName) == 'string' and item.ItemName ~= '' then return item.ItemName end
if type(item.Type) == 'string' and item.Type ~= '' then return item.Type end
return nil
end
local function ReadRivalsFighterInventory(fighter)
if not fighter then return nil end
return fighter.Loadout or fighter.Slots or fighter.Items or fighter.EquippedItems
end
local function ResolveRivalsFighterLoadoutNames(fighter)
local loadoutNames = {}
local function addName(name)
if type(name) == 'string' and name ~= '' then loadoutNames[name] = true end
end
local inventory = ReadRivalsFighterInventory(fighter)
if type(inventory) == 'table' then
for _, item in pairs(inventory) do
addName(ResolveRivalsInventoryItemName(item))
end
end
local lastPickedWeapons = fighter and fighter.Data and fighter.Data.LastPickedWeapons
if type(lastPickedWeapons) == 'table' then
for _, itemName in ipairs(lastPickedWeapons) do
addName(itemName)
end
end
return loadoutNames
end
local function ResolveRivalsFighterEquippedItemName(fighter)
local equippedName = ResolveRivalsInventoryItemName(fighter and fighter.EquippedItem)
if equippedName then return equippedName end
local equippedItemId = fighter and fighter.Data and fighter.Data.EquippedItemID
if type(equippedItemId) ~= 'string' or equippedItemId == '' then return nil end
local inventory = ReadRivalsFighterInventory(fighter)
if type(inventory) ~= 'table' then return nil end
for _, item in pairs(inventory) do
if type(item) == 'table' then
local itemId = ReadItemValue(item, 'ObjectID')
if itemId == nil and type(item.Data) == 'table' then itemId = item.Data.ObjectID end
if itemId == equippedItemId then return ResolveRivalsInventoryItemName(item) end
end
end
return nil
end
local function EvaluateRivalsRiotShieldChecker(player, character, observerPosition)
observerPosition = typeof(observerPosition) == 'Vector3' and observerPosition
or (HumanoidRootPart and HumanoidRootPart.Position)
if not player or typeof(observerPosition) ~= 'Vector3' then return nil end
character = character or player.Character
local rootPart = character and character:FindFirstChild('HumanoidRootPart')
if not character or not rootPart or not rootPart.Parent then return nil end
local fighter = TrackedFightersByPlayer[player]
if not fighter then
local fighterController = ResolveFighterController()
if fighterController and type(fighterController.GetFighter) == 'function' then
fighter = fighterController:GetFighter(player)
if not fighter then fighter = fighterController:GetFighter(character) end
end
end
if not fighter then return nil end
local loadoutNames = ResolveRivalsFighterLoadoutNames(fighter)
local hasShieldInLoadout = loadoutNames['Riot Shield'] == true
local equippedName = ResolveRivalsFighterEquippedItemName(fighter)
local isShieldEquipped = nil
if equippedName then isShieldEquipped = AIMBOT_RIOT_SHIELD_ITEM_NAMES[equippedName] == true end
local directionToLocal = observerPosition - rootPart.Position
if directionToLocal.Magnitude > 0.001 then
directionToLocal = directionToLocal.Unit
else
directionToLocal = rootPart.CFrame.LookVector
end
local facingDot = rootPart.CFrame.LookVector:Dot(directionToLocal)
local blocksFromFront = false
if isShieldEquipped == true and facingDot >= AIMBOT_RIOT_SHIELD_FRONT_DOT_THRESHOLD then blocksFromFront = true end
local blocksFromBack = false
if hasShieldInLoadout and isShieldEquipped == false and facingDot <= AIMBOT_RIOT_SHIELD_BACK_DOT_THRESHOLD then
blocksFromBack = true
end
return {
Fighter = fighter,
Character = character,
EquippedItemName = equippedName,
HasShieldInLoadout = hasShieldInLoadout,
IsShieldEquipped = isShieldEquipped,
IsShieldEquippedKnown = isShieldEquipped ~= nil,
FacingDot = facingDot,
BlocksFromFront = blocksFromFront,
BlocksFromBack = blocksFromBack,
IgnoreTarget = blocksFromFront or blocksFromBack,
}
end
local function ShouldIgnoreRivalsRiotShieldTarget(player, character, localItem, observerPosition)
if not player or not (Toggles.P2S1T9 and Toggles.P2S1T9.Value == true) then return false end
local localItemName = localItem and localItem.Name
if
localItemName == 'Flamethrower'
or localItemName == 'Exogun'
or localItemName == 'Spray'
or localItemName == 'Chainsaw'
or localItemName == 'Grenade Launcher'
then
return false
end
local shieldState = EvaluateRivalsRiotShieldChecker(player, character, observerPosition)
return shieldState and shieldState.IgnoreTarget == true
end
function FighterDataCache.ReadEntity(entity)
if not entity then return false end
local data = entity.Data
if type(data) == 'table' then return data.IsInvincible == true end
return false
end
function FighterDataCache.Attach(fighter, entity)
local conns = FighterDataCache.Connections[fighter]
if conns and conns.entityChanged and type(conns.entityChanged.Disconnect) == 'function' then
pcall(function() conns.entityChanged:Disconnect() end)
conns.entityChanged = nil
end
if not entity then
FighterDataCache.Cache[fighter] = false
return
end
FighterDataCache.Cache[fighter] = FighterDataCache.ReadEntity(entity)
if type(entity.GetDataChangedSignal) ~= 'function' then return end
local ok, signal = pcall(entity.GetDataChangedSignal, entity, 'IsInvincible')
if not ok or type(signal) ~= 'table' or type(signal.Connect) ~= 'function' then return end
conns = FighterDataCache.Connections[fighter] or {}
conns.entityChanged = signal:Connect(function(newValue) FighterDataCache.Cache[fighter] = newValue == true end)
FighterDataCache.Connections[fighter] = conns
end
function FighterDataCache.Track(fighter)
if not fighter then return end
local conns = FighterDataCache.Connections[fighter] or {}
FighterDataCache.Connections[fighter] = conns
FighterDataCache.Attach(fighter, fighter.Entity)
if not conns.entityAdded and type(fighter.EntityAdded) == 'table' and type(fighter.EntityAdded.Connect) == 'function' then
conns.entityAdded = fighter.EntityAdded:Connect(function(newEntity) FighterDataCache.Attach(fighter, newEntity) end)
end
if
not conns.entityRemoved
and type(fighter.EntityRemoved) == 'table'
and type(fighter.EntityRemoved.Connect) == 'function'
then
conns.entityRemoved = fighter.EntityRemoved:Connect(function()
FighterDataCache.Cache[fighter] = false
local existing = FighterDataCache.Connections[fighter]
if existing and existing.entityChanged and type(existing.entityChanged.Disconnect) == 'function' then
pcall(function() existing.entityChanged:Disconnect() end)
existing.entityChanged = nil
end
end)
end
end
function FighterDataCache.Untrack(fighter)
if not fighter then return end
local conns = FighterDataCache.Connections[fighter]
if conns then
for key, conn in pairs(conns) do
if conn and type(conn.Disconnect) == 'function' then pcall(function() conn:Disconnect() end) end
conns[key] = nil
end
end
FighterDataCache.Connections[fighter] = nil
FighterDataCache.Cache[fighter] = nil
end
function FighterDataCache.AttachLocalDuelWatchers(fighter)
if not fighter then return end
local state = FighterDataCache.LocalDuel
if state.AttachedFighter == fighter then return end
if state.DuelConn and type(state.DuelConn.Disconnect) == 'function' then
pcall(function() state.DuelConn:Disconnect() end)
end
if state.ShootingConn and type(state.ShootingConn.Disconnect) == 'function' then
pcall(function() state.ShootingConn:Disconnect() end)
end
state.DuelConn = nil
state.ShootingConn = nil
state.AttachedFighter = fighter
local data = fighter.Data
if type(data) == 'table' then
state.IsInDuel = data.IsInDuel == true
state.IsInShootingRange = data.IsInShootingRange == true
else
state.IsInDuel = false
state.IsInShootingRange = false
end
if type(fighter.GetDataChangedSignal) ~= 'function' then
state.Seeded = true
return
end
local okDuel, sigDuel = pcall(fighter.GetDataChangedSignal, fighter, 'IsInDuel')
if okDuel and type(sigDuel) == 'table' and type(sigDuel.Connect) == 'function' then
state.DuelConn = sigDuel:Connect(function(newValue)
local previousIsInDuel = FighterDataCache.LocalDuel.IsInDuel
FighterDataCache.LocalDuel.IsInDuel = newValue == true
local onDuelChanged = FighterDataCache.OnLocalDuelChanged
if type(onDuelChanged) == 'function' then pcall(onDuelChanged, newValue == true, previousIsInDuel == true) end
end)
end
local okShooting, sigShooting = pcall(fighter.GetDataChangedSignal, fighter, 'IsInShootingRange')
if okShooting and type(sigShooting) == 'table' and type(sigShooting.Connect) == 'function' then
state.ShootingConn = sigShooting:Connect(
function(newValue) FighterDataCache.LocalDuel.IsInShootingRange = newValue == true end
)
end
state.Seeded = true
end
local function RegisterAimbotFighter(fighter)
local player = fighter and fighter.Player
if not player or player == LP then return end
TrackedFightersByPlayer[player] = fighter
FighterDataCache.Track(fighter)
end
local function UnregisterAimbotFighter(fighter)
local player = fighter and fighter.Player
if not player then return end
if TrackedFightersByPlayer[player] == fighter then
FighterDataCache.Untrack(fighter)
TrackedFightersByPlayer[player] = nil
end
end
local function ResolveAimbotEnemyTargetType(enemy)
local model = enemy and enemy.Model
if not model then return nil, nil end
if model.Name == 'Target' then return model, 'Range Targets' end
if model.Name == 'Dummy' or model.Name == 'DPS Dummy' then return model, 'Practice Dummies' end
return nil, nil
end
local function RegisterAimbotEnemy(enemy)
local model, targetType = ResolveAimbotEnemyTargetType(enemy)
if not model or not targetType then return end
TrackedEnemies[enemy] = {
model = model,
targetType = targetType,
}
if targetType == 'Range Targets' then
TrackedRangeTargets[model] = true
TrackedPracticeDummies[model] = nil
else
TrackedPracticeDummies[model] = true
TrackedRangeTargets[model] = nil
end
end
local function UnregisterAimbotEnemy(enemy)
local tracked = TrackedEnemies[enemy]
if tracked then
if tracked.targetType == 'Range Targets' then
TrackedRangeTargets[tracked.model] = nil
else
TrackedPracticeDummies[tracked.model] = nil
end
TrackedEnemies[enemy] = nil
return
end
local model, targetType = ResolveAimbotEnemyTargetType(enemy)
if not model or not targetType then return end
if targetType == 'Range Targets' then
TrackedRangeTargets[model] = nil
else
TrackedPracticeDummies[model] = nil
end
end
local function EnsureAimbotTargetTracking()
if not Connections then return end
if not AimbotPlayerTrackingConnected then
local fighterController = ResolveFighterController()
if fighterController then
LocalFighterController = fighterController
for _, fighter in ipairs(fighterController.Objects or {}) do
RegisterAimbotFighter(fighter)
end
if fighterController.ObjectAdded and type(fighterController.ObjectAdded.Connect) == 'function' then
Connections:register(
'Aimbot_FighterObjectAdded',
fighterController.ObjectAdded:Connect(
GuardRivalsCallback('Aimbot_FighterObjectAdded', RegisterAimbotFighter)
)
)
end
if fighterController.ObjectRemoved and type(fighterController.ObjectRemoved.Connect) == 'function' then
Connections:register(
'Aimbot_FighterObjectRemoved',
fighterController.ObjectRemoved:Connect(
GuardRivalsCallback('Aimbot_FighterObjectRemoved', UnregisterAimbotFighter)
)
)
end
AimbotPlayerTrackingConnected = true
end
end
if not AimbotEnemyTrackingConnected then
local enemyController = ResolveEnemyController()
if enemyController then
for _, enemy in ipairs(enemyController.Objects or {}) do
RegisterAimbotEnemy(enemy)
end
if enemyController.ObjectAdded and type(enemyController.ObjectAdded.Connect) == 'function' then
Connections:register(
'Aimbot_EnemyObjectAdded',
enemyController.ObjectAdded:Connect(GuardRivalsCallback('Aimbot_EnemyObjectAdded', RegisterAimbotEnemy))
)
end
if enemyController.ObjectRemoved and type(enemyController.ObjectRemoved.Connect) == 'function' then
Connections:register(
'Aimbot_EnemyObjectRemoved',
enemyController.ObjectRemoved:Connect(
GuardRivalsCallback('Aimbot_EnemyObjectRemoved', UnregisterAimbotEnemy)
)
)
end
AimbotEnemyTrackingConnected = true
end
end
end
local function IsZombieEventActive()
local toggle = Toggles and Toggles.EventZombieIncludeInAimbot
if not (toggle and toggle.Value == true) then return false end
local ec = ResolveEnemyController()
if not ec then return false end
for _, e in ipairs(ec.Objects or {}) do
local model = e.Model or (e.Entity and rawget(e.Entity, 'Model'))
if model and model.Parent then
local name = model.Name
if name ~= 'Target' and name ~= 'Dummy' and name ~= 'DPS Dummy' then
if model:FindFirstChildOfClass('Humanoid') or model:FindFirstChild('HitboxHead') then return true end
end
end
end
return false
end
local function IsAimbotGameReady()
local fighter = ResolveLocalFighter()
if not fighter then return false end
local entity = fighter.Entity
local model = entity and entity.Model
if not model or model ~= LP.Character then return false end
local duelState = FighterDataCache.LocalDuel
local inDuelOrRange
if duelState.Seeded then
inDuelOrRange = duelState.IsInDuel or duelState.IsInShootingRange
else
inDuelOrRange = ReadFighterValue(fighter, 'IsInDuel') == true or ReadFighterValue(fighter, 'IsInShootingRange') == true
end
if not inDuelOrRange and not IsZombieEventActive() then return false end
return true
end
local function FormatAmmoValue(value)
if type(value) ~= 'number' then return nil end
if value == math.huge then return 'INF' end
return tostring(math.max(0, math.floor(value + 0.5)))
end
local function BuildWeaponInfoText(weaponInfo)
if not weaponInfo then return nil end
local segments = {}
if weaponInfo.label and weaponInfo.label ~= '' then segments[#segments + 1] = weaponInfo.label end
if weaponInfo.ammoText and weaponInfo.ammoText ~= '' then segments[#segments + 1] = weaponInfo.ammoText end
if #segments == 0 then return nil end
return table.concat(segments, ' | ')
end
local function ReadWeaponInfo(player)
local observer = WeaponInfoConnections[player]
local item = observer and observer.Item
if not item then
-- no item object (yet): the fighter's replicated data still carries the name of the equipped item
local fighter = observer and observer.Fighter
local name = fighter and ResolveRivalsInventoryItemName(ReadFighterValue(fighter, 'EquippedItem')) or nil
if not name then return nil end
return { label = name, ammoText = nil, displayText = name, isReloading = false }
end
local ammo = observer.Ammo
local ammoText = FormatAmmoValue(observer.Ammo)
local reserveText = FormatAmmoValue(observer.AmmoReserve)
local formattedAmmoText
local maxAmmo = nil
pcall(function() maxAmmo = item.Info and item.Info.MaxAmmo or nil end)
if ammoText and reserveText then
formattedAmmoText = string.format('%s/%s', ammoText, reserveText)
else
formattedAmmoText = ammoText or reserveText
end
local reloadCooldown = rawget(item, '_reload_cooldown')
local reloadRemaining = type(reloadCooldown) == 'number' and (reloadCooldown - tick()) or -1
local isReloading = reloadRemaining > 0 and item.Info ~= nil and item.Info.ReloadType ~= nil
local label = isReloading and '*Reloading*' or item.Name
local displayText = BuildWeaponInfoText({
label = label,
ammoText = formattedAmmoText,
})
if displayText and displayText ~= '' then
return {
label = label,
ammoText = formattedAmmoText,
displayText = displayText,
isReloading = isReloading,
ammo = ammo,
maxAmmo = maxAmmo,
}
end
return nil
end
local function InvalidateWeaponInfo(player) WeaponInfoCache[player] = nil end
local function DisconnectWeaponInfoConnection(observer, key)
if not observer then return end
local connection = observer[key]
if connection then
pcall(function() connection:Disconnect() end)
observer[key] = nil
end
end
local function DisconnectWeaponInfoConnections(player)
local observer = WeaponInfoConnections[player]
if not observer then return end
DisconnectWeaponInfoConnection(observer, 'EquippedItemChanged')
DisconnectWeaponInfoConnection(observer, 'EquippedChanged')
DisconnectWeaponInfoConnection(observer, 'AmmoChanged')
DisconnectWeaponInfoConnection(observer, 'AmmoReserveChanged')
WeaponInfoConnections[player] = nil
end
local function ConnectWeaponInfoSignal(signal, observer, key, callback)
DisconnectWeaponInfoConnection(observer, key)
if not signal or type(signal.Connect) ~= 'function' then return end
local guardedCallback = GuardRivalsCallback(string.format('WeaponInfo_%s', tostring(key)), callback)
local ok, connection = pcall(signal.Connect, signal, guardedCallback)
if ok and connection then observer[key] = connection end
end
local function AttachWeaponInfoItemObservers(player, observer, item)
DisconnectWeaponInfoConnection(observer, 'EquippedChanged')
DisconnectWeaponInfoConnection(observer, 'AmmoChanged')
DisconnectWeaponInfoConnection(observer, 'AmmoReserveChanged')
observer.Item = item
observer.Ammo = item and ReadItemValue(item, 'Ammo') or nil
observer.AmmoReserve = item and ReadItemValue(item, 'AmmoReserve') or nil
if not item then return end
ConnectWeaponInfoSignal(item.EquippedChanged, observer, 'EquippedChanged', function()
InvalidateWeaponInfo(player)
if player == LP and UpdateRivalsPickupFeatures then UpdateRivalsPickupFeatures() end
end)
local valueChangedEvents = rawget(item, '_value_changed_events')
if type(valueChangedEvents) ~= 'table' then return end
ConnectWeaponInfoSignal(valueChangedEvents.Ammo, observer, 'AmmoChanged', function(newAmmo)
observer.Ammo = type(newAmmo) == 'number' and newAmmo or ReadItemValue(item, 'Ammo')
InvalidateWeaponInfo(player)
local ammo = observer.Ammo
if player == LP and UpdateRivalsPickupFeatures and type(ammo) == 'number' and ammo <= 0 then
UpdateRivalsPickupFeatures()
end
end)
ConnectWeaponInfoSignal(valueChangedEvents.AmmoReserve, observer, 'AmmoReserveChanged', function(newReserve)
observer.AmmoReserve = type(newReserve) == 'number' and newReserve or ReadItemValue(item, 'AmmoReserve')
InvalidateWeaponInfo(player)
end)
end
local function AttachWeaponInfoObservers(player, fighter)
if not player then return end
if player == LP then
fighter = fighter or ResolveLocalFighter()
else
local fighterController = ResolveFighterController()
if not fighter and fighterController and type(fighterController.GetFighter) == 'function' then
fighter = fighterController:GetFighter(player)
end
end
if not fighter then
DisconnectWeaponInfoConnections(player)
return
end
local observer = WeaponInfoConnections[player]
if observer and observer.Fighter == fighter then return end
DisconnectWeaponInfoConnections(player)
observer = {
Fighter = fighter,
Item = nil,
}
WeaponInfoConnections[player] = observer
local function refreshItemObservers()
local item = fighter.EquippedItem
if observer.Item ~= item then AttachWeaponInfoItemObservers(player, observer, item) end
InvalidateWeaponInfo(player)
if player == LP then
FighterDataCache.LocalLoadout.EquippedItem = item
FighterDataCache.LocalLoadout.Seeded = true
if UpdateRivalsPickupFeatures then UpdateRivalsPickupFeatures() end
end
end
ConnectWeaponInfoSignal(fighter.EquippedItemChanged, observer, 'EquippedItemChanged', refreshItemObservers)
refreshItemObservers()
end
local function RegisterWeaponInfoFighter(fighter)
local player = fighter and fighter.Player
if not player or player == LP then return end
AttachWeaponInfoObservers(player, fighter)
end
local function UnregisterWeaponInfoFighter(fighter)
local player = fighter and fighter.Player
if not player or player == LP then return end
local observer = WeaponInfoConnections[player]
if observer and observer.Fighter ~= fighter then return end
DisconnectWeaponInfoConnections(player)
InvalidateWeaponInfo(player)
end
local function EnsureWeaponInfoTracking()
if not Connections or WeaponInfoTrackingConnected then return end
if not IsReplicatedStateReady() then
if not WeaponInfoTrackingRetryPending then
WeaponInfoTrackingRetryPending = true
task.spawn(GuardRivalsCallback('WeaponInfo_WaitForReplicatedState', function()
while not WeaponInfoTrackingConnected and not ReplicatedStateReady do
task.wait(0.25)
end
WeaponInfoTrackingRetryPending = false
if not WeaponInfoTrackingConnected then EnsureWeaponInfoTracking() end
end))
end
return
end
local fighterController = ResolveFighterController()
if not fighterController then return end
for _, fighter in ipairs(fighterController.Objects or {}) do
RegisterWeaponInfoFighter(fighter)
end
if fighterController.ObjectAdded and type(fighterController.ObjectAdded.Connect) == 'function' then
Connections:register(
'WeaponInfo_FighterObjectAdded',
fighterController.ObjectAdded:Connect(
GuardRivalsCallback('WeaponInfo_FighterObjectAdded', RegisterWeaponInfoFighter)
)
)
end
if fighterController.ObjectRemoved and type(fighterController.ObjectRemoved.Connect) == 'function' then
Connections:register(
'WeaponInfo_FighterObjectRemoved',
fighterController.ObjectRemoved:Connect(
GuardRivalsCallback('WeaponInfo_FighterObjectRemoved', UnregisterWeaponInfoFighter)
)
)
end
WeaponInfoTrackingConnected = true
end
-- Signals are the fast path. This keeps the ESP weapon / ammo readout alive on executors where they never arrive or where the
-- one-time setup failed: it re-attaches observers that were missed (fighter not created yet, a require that failed once), follows
-- the equipped item by looking at it and polls the ammo. Throttled per player.
RivalsRuntimeBridge.WeaponInfoHealAt = setmetatable({}, { __mode = 'k' })
RivalsRuntimeBridge.HealWeaponInfo = function(player)
local healAt = RivalsRuntimeBridge.WeaponInfoHealAt
local now = os.clock()
if healAt[player] and now < healAt[player] then return end
healAt[player] = now + 0.2
if not WeaponInfoTrackingConnected then pcall(EnsureWeaponInfoTracking) end
local observer = WeaponInfoConnections[player]
if not observer or not observer.Fighter then
pcall(AttachWeaponInfoObservers, player)
observer = WeaponInfoConnections[player]
if not observer then return end
end
local okEquipped, equipped = pcall(function() return observer.Fighter.EquippedItem end)
if okEquipped and equipped ~= observer.Item then
pcall(AttachWeaponInfoItemObservers, player, observer, equipped)
InvalidateWeaponInfo(player)
end
local polled = observer.Item
if polled then
local ammo, reserve = ReadItemValue(polled, 'Ammo'), ReadItemValue(polled, 'AmmoReserve')
if ammo ~= observer.Ammo or reserve ~= observer.AmmoReserve then
observer.Ammo, observer.AmmoReserve = ammo, reserve
InvalidateWeaponInfo(player)
end
end
end
local function GetCachedWeaponInfo(player)
RivalsRuntimeBridge.HealWeaponInfo(player)
local observer = WeaponInfoConnections[player]
local item = observer and observer.Item or nil
if not item then return ReadWeaponInfo(player) end
local reloadCooldown = item and rawget(item, '_reload_cooldown') or nil
local isReloading = type(reloadCooldown) == 'number'
and reloadCooldown > tick()
and item.Info ~= nil
and item.Info.ReloadType ~= nil
local cached = WeaponInfoCache[player]
if cached and cached.item == item and cached.reloadCooldown == reloadCooldown and cached.isReloading == isReloading then
return cached.weaponInfo
end
local weaponInfo = ReadWeaponInfo(player)
WeaponInfoCache[player] = {
item = item,
reloadCooldown = reloadCooldown,
isReloading = isReloading,
weaponInfo = weaponInfo,
}
return weaponInfo
end
local function BuildPlayerWeaponText(weaponInfoText, showWeapon)
if showWeapon and weaponInfoText and weaponInfoText ~= '' then return weaponInfoText end
return ''
end
local function BuildPlayerDistanceText(dist, showDistance)
if showDistance then return string.format('%dm', math.floor(dist)) end
return ''
end
local function BuildHealthText(humanoid, showHealthNum)
if showHealthNum and humanoid then return tostring(math.floor(humanoid.Health + 0.5)) end
return ''
end
local function BuildVerticalHealthText(humanoid)
if not humanoid then return '' end
local currentHealth = math.max(0, math.floor(humanoid.Health + 0.5))
return tostring(currentHealth)
end
local function GetHealthBarColor(healthRatio)
local ratio = math.clamp(healthRatio or 0, 0, 1)
if ratio <= 0.5 then return BlendColor(PLAYER_CARD_THEME.BarLowColor, PLAYER_CARD_THEME.BarMidColor, ratio / 0.5) end
return BlendColor(PLAYER_CARD_THEME.BarMidColor, PLAYER_CARD_THEME.BarHighColor, (ratio - 0.5) / 0.5)
end
-- ======================================================================
-- ESP (classic): player cards and reactive bars
-- ======================================================================
do
local EspClassic = RivalsRuntimeBridge.ESPClassic
local PlayerStatusInfoCache = RivalsRuntimeBridge.PlayerStatusInfoCache
local function GetReactiveBarColor(ratio)
return BlendColor(
PLAYER_CARD_THEME.Classic.ReactiveLowColor,
PLAYER_CARD_THEME.BarHighColor,
math.clamp(ratio or 0, 0, 1)
)
end
local function ResolveEspRankProfile()
if RivalsRuntimeBridge.EspRankProfileCache then return RivalsRuntimeBridge.EspRankProfileCache end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local seasonLibraryModule = modules and modules:FindFirstChild('SeasonLibrary')
if not seasonLibraryModule then return nil end
local ok, seasonLibrary = pcall(require, seasonLibraryModule)
if not ok or type(seasonLibrary) ~= 'table' then return nil end
local currentSeason = seasonLibrary.CurrentSeason
local rankProfile = type(currentSeason) == 'table' and currentSeason.RankProfile or nil
local rankProfileName = type(rankProfile) == 'table' and rankProfile.Name or nil
local rankProfiles = seasonLibrary.RankProfiles
if type(rankProfiles) == 'table' and rankProfileName ~= nil then
rankProfile = rankProfiles[rankProfileName] or rankProfile
end
local ranksOrder = type(rankProfile) == 'table' and rankProfile.RanksOrder or nil
local ranks = type(rankProfile) == 'table' and rankProfile.Ranks or nil
if type(ranksOrder) ~= 'table' or type(ranks) ~= 'table' then return nil end
RivalsRuntimeBridge.EspRankProfileCache = {
RanksOrder = ranksOrder,
Ranks = ranks,
}
return RivalsRuntimeBridge.EspRankProfileCache
end
local function ResolveEspRankName(displayElo)
local elo = tonumber(displayElo)
if elo == nil then return 'Unranked' end
local rankProfile = ResolveEspRankProfile()
if not rankProfile then return 'Unranked' end
local ranksOrder = rankProfile.RanksOrder
local ranks = rankProfile.Ranks
local rankCount = #ranksOrder
for rankIndex, rankName in ipairs(ranksOrder) do
local rankData = ranks[rankName]
if
type(rankData) == 'table'
and type(rankData.RequiredELO) == 'number'
and elo < rankData.RequiredELO
and rankData.RequiredELOLeaderboardRanking == nil
then
return ranksOrder[math.clamp(rankIndex - 1, 1, rankCount)] or 'Unranked'
end
end
for rankIndex = rankCount, 1, -1 do
local rankName = ranksOrder[rankIndex]
local rankData = ranks[rankName]
if type(rankData) == 'table' and rankData.RequiredELOLeaderboardRanking == nil then return rankName end
end
return 'Unranked'
end
local function InvalidatePlayerStatusInfo(player) RivalsRuntimeBridge.PlayerStatusInfoCache[player] = nil end
local function GetCachedPlayerStatusInfo(player)
local cached = PlayerStatusInfoCache[player]
if cached then return cached end
local winStreak = tonumber(player:GetAttribute('StatisticDuelsWinStreak')) or 0
cached = {
Rank = ResolveEspRankName(player:GetAttribute('DisplayELO')),
WinStreak = math.max(0, math.floor(winStreak)),
}
PlayerStatusInfoCache[player] = cached
return cached
end
local function DisconnectEspStatusObservers(entry)
for _, connection in pairs(entry.statusConnections or {}) do
pcall(function() connection:Disconnect() end)
end
entry.statusConnections = nil
end
local function AttachEspStatusObservers(player, entry)
DisconnectEspStatusObservers(entry)
entry.statusConnections = {
displayElo = player:GetAttributeChangedSignal('DisplayELO'):Connect(
GuardRivalsCallback('ESP_DisplayELOChanged', function() InvalidatePlayerStatusInfo(player) end)
),
winStreak = player:GetAttributeChangedSignal('StatisticDuelsWinStreak'):Connect(
GuardRivalsCallback('ESP_WinStreakChanged', function() InvalidatePlayerStatusInfo(player) end)
),
}
InvalidatePlayerStatusInfo(player)
end
local function BuildEspStatusText(player, settings, entry)
local deflectCheck = RivalsRuntimeBridge.IsRivalsKatanaDeflectActiveItem
local isDeflecting = false
if settings.ShowDeflecting and deflectCheck then
local observer = WeaponInfoConnections[player]
local fighter = TrackedFightersByPlayer[player] or (observer and observer.Fighter)
if deflectCheck(fighter and fighter.EquippedItem or nil) then isDeflecting = true end
end
local rank = nil
local winStreak = nil
if settings.ShowRank or settings.ShowWinStreak then
local statusInfo = GetCachedPlayerStatusInfo(player)
if settings.ShowRank then rank = statusInfo.Rank end
if settings.ShowWinStreak then winStreak = statusInfo.WinStreak end
end
if
entry.statusCacheDeflecting == isDeflecting
and entry.statusCacheRank == rank
and entry.statusCacheWinStreak == winStreak
then
return entry.statusCacheValue or ''
end
local labels = {}
if isDeflecting then labels[#labels + 1] = 'DEFLECTING' end
if rank then labels[#labels + 1] = string.upper(rank) end
if winStreak then labels[#labels + 1] = string.format('%d WS', winStreak) end
local value = table.concat(labels, '\n')
entry.statusCacheDeflecting = isDeflecting
entry.statusCacheRank = rank
entry.statusCacheWinStreak = winStreak
entry.statusCacheValue = value
return value
end
local function SmoothEspRatio(currentRatio, targetRatio, deltaTime)
targetRatio = math.clamp(targetRatio or 0, 0, 1)
if type(currentRatio) ~= 'number' then return targetRatio end
local alpha = 1 - math.exp(-PLAYER_CARD_THEME.Classic.SmoothSpeed * math.max(deltaTime or 0, 0))
local nextRatio = currentRatio + ((targetRatio - currentRatio) * alpha)
if math.abs(nextRatio - targetRatio) < 0.001 then return targetRatio end
return nextRatio
end
EspClassic.GetReactiveBarColor = GetReactiveBarColor
EspClassic.DisconnectStatusObservers = DisconnectEspStatusObservers
EspClassic.AttachStatusObservers = AttachEspStatusObservers
EspClassic.BuildStatusText = BuildEspStatusText
EspClassic.SmoothRatio = SmoothEspRatio
end
local function GetPartScreenBounds(part, camera, boundsCache)
if not part or not part:IsA('BasePart') or not camera then return nil end
boundsCache = boundsCache or {}
local partSize = part.Size
if boundsCache.Part ~= part or boundsCache.Size ~= partSize then
local halfX = partSize.X * 0.5
local halfY = partSize.Y * 0.5
local halfZ = partSize.Z * 0.5
local localCorners = table.create(8)
local cornerIndex = 0
for _, xSign in ipairs(MODEL_BOUNDS_SIGNS) do
for _, ySign in ipairs(MODEL_BOUNDS_SIGNS) do
for _, zSign in ipairs(MODEL_BOUNDS_SIGNS) do
cornerIndex = cornerIndex + 1
localCorners[cornerIndex] = Vector3.new(halfX * xSign, halfY * ySign, halfZ * zSign)
end
end
end
boundsCache.Part = part
boundsCache.Size = partSize
boundsCache.LocalCorners = localCorners
end
local minX, maxX, minY, maxY
local projectedCorners = 0
for _, localCorner in ipairs(boundsCache.LocalCorners) do
local worldCorner = part.CFrame:PointToWorldSpace(localCorner)
local corner = camera:WorldToViewportPoint(worldCorner)
if corner.Z > 0 then
projectedCorners = projectedCorners + 1
minX = minX and math.min(minX, corner.X) or corner.X
maxX = maxX and math.max(maxX, corner.X) or corner.X
minY = minY and math.min(minY, corner.Y) or corner.Y
maxY = maxY and math.max(maxY, corner.Y) or corner.Y
end
end
if projectedCorners < 2 or not minX or not maxX or not minY or not maxY then return nil end
return {
MinX = minX,
MaxX = maxX,
MinY = minY,
MaxY = maxY,
Width = maxX - minX,
Height = maxY - minY,
CenterX = minX + ((maxX - minX) * 0.5),
CenterY = minY + ((maxY - minY) * 0.5),
}
end
local function ReadCharacterEspParts(character, cache)
if not character then return nil end
if not cache or cache.Character ~= character then cache = { Character = character } end
if cache.HumanoidRootPart == nil or cache.HumanoidRootPart.Parent ~= character then
cache.HumanoidRootPart = character:FindFirstChild('HumanoidRootPart')
end
if cache.Humanoid == nil or cache.Humanoid.Parent ~= character then
cache.Humanoid = character:FindFirstChild('Humanoid')
end
if cache.HitboxBody == nil or cache.HitboxBody.Parent ~= character then
local bodyHitbox = character:FindFirstChild('HitboxBody')
if cache.HitboxBody ~= bodyHitbox then
cache.HitboxBody = bodyHitbox
cache.HitboxBodyBoundsCache = {}
end
end
if cache.HitboxHead == nil or cache.HitboxHead.Parent ~= character then
local headHitbox = character:FindFirstChild('HitboxHead')
if cache.HitboxHead ~= headHitbox then
cache.HitboxHead = headHitbox
cache.HitboxHeadBoundsCache = {}
end
end
cache.HitboxBodyBoundsCache = cache.HitboxBodyBoundsCache or {}
cache.HitboxHeadBoundsCache = cache.HitboxHeadBoundsCache or {}
return cache
end
local function GetHitboxScreenBounds(characterParts, character, camera)
if not characterParts or not character or not camera then return nil end
local bodyHitbox = characterParts.HitboxBody
local headHitbox = characterParts.HitboxHead
local bodyBounds = GetPartScreenBounds(bodyHitbox, camera, characterParts.HitboxBodyBoundsCache)
local headBounds = GetPartScreenBounds(headHitbox, camera, characterParts.HitboxHeadBoundsCache)
characterParts.LastBodyScreenBounds = bodyBounds
if bodyBounds and headBounds then
local minX = math.min(bodyBounds.MinX, headBounds.MinX)
local maxX = math.max(bodyBounds.MaxX, headBounds.MaxX)
local minY = math.min(bodyBounds.MinY, headBounds.MinY)
local maxY = math.max(bodyBounds.MaxY, headBounds.MaxY)
local width = maxX - minX
local height = maxY - minY
return {
MinX = minX,
MaxX = maxX,
MinY = minY,
MaxY = maxY,
Width = width,
Height = height,
CenterX = minX + (width * 0.5),
CenterY = minY + (height * 0.5),
}
end
if bodyBounds then return bodyBounds end
if headBounds then return headBounds end
return nil
end
local EspRenderSettings = {}
local EspRenderSettingWatchersConnected = false
local function ReadEspToggleValue(toggleId, fallback)
local toggle = Toggles[toggleId]
if toggle ~= nil then return toggle.Value == true end
return fallback
end
local function ReadEspOptionValue(optionId, fallback)
local option = Options[optionId]
if option ~= nil and option.Value ~= nil then return option.Value end
return fallback
end
local function RefreshEspRenderSettings()
EspRenderSettings = {
Enabled = ReadEspToggleValue('P1S1T1', true),
ShowHighlight = ReadEspToggleValue('P1S1T2', true),
ShowName = ReadEspToggleValue('P1S1T3', true),
ShowHealth = ReadEspToggleValue('P1S1T4', true),
ShowArrows = ReadEspToggleValue('P1S1T5', true),
ShowDistance = ReadEspToggleValue('P1S1T6', true),
UseVerticalHealth = ReadEspToggleValue('P1S1T7', false),
ShowLookDir = ReadEspToggleValue('P1S1T8', true),
ShowWeapon = ReadEspToggleValue('P1S1T9', true),
ShowTeammates = ReadEspToggleValue('P1S1T10', true),
ShowThrowable = ReadEspToggleValue('P1S1T11', true),
ShowBox = ReadEspToggleValue('P1S2T1', true),
ShowAmmoText = ReadEspToggleValue('P1S2T2', true),
ShowRank = ReadEspToggleValue('P1S2T4', true),
ShowWinStreak = ReadEspToggleValue('P1S2T5', true),
ShowDeflecting = ReadEspToggleValue('P1S2T6', true),
VisibleColor = ReadEspOptionValue('P1S1C1', Color3.fromRGB(0, 255, 0)),
HiddenColor = ReadEspOptionValue('P1S1C2', Color3.fromRGB(255, 0, 0)),
LookDirColor = ReadEspOptionValue('P1S1C4', Color3.fromRGB(255, 255, 0)),
EmptyAmmoColor = ReadEspOptionValue('P1S2C1', Color3.fromRGB(255, 70, 70)),
FillAlpha = ReadEspOptionValue('P1S1S3', 1),
OutlineAlpha = ReadEspOptionValue('P1S1S4', 0),
}
if RivalsRuntimeBridge.UpdateEspPreview then pcall(RivalsRuntimeBridge.UpdateEspPreview) end
return EspRenderSettings
end
local function RegisterEspRenderSettingWatcher(setting)
if setting and type(setting.OnChanged) == 'function' then setting:OnChanged(RefreshEspRenderSettings) end
end
local function EnsureEspRenderSettingsTracking()
if EspRenderSettingWatchersConnected then return end
for _, toggleId in ipairs({
'P1S1T1',
'P1S1T2',
'P1S1T3',
'P1S1T4',
'P1S1T5',
'P1S1T6',
'P1S1T7',
'P1S1T8',
'P1S1T9',
'P1S1T10',
'P1S1T11',
'P1S2T1',
'P1S2T2',
'P1S2T4',
'P1S2T5',
'P1S2T6',
}) do
RegisterEspRenderSettingWatcher(Toggles[toggleId])
end
for _, optionId in ipairs({
'P1S1C1',
'P1S1C2',
'P1S1C4',
'P1S2C1',
'P1S1S3',
'P1S1S4',
}) do
RegisterEspRenderSettingWatcher(Options[optionId])
end
EspRenderSettingWatchersConnected = true
RefreshEspRenderSettings()
end
RefreshEspRenderSettings()
local HighlightContainer = Workspace
local HazardAdornmentContainer = Workspace
local ESPObjects = {}
local DedicatedAimbotHitboxPartNames = {
HitboxHead = true,
HitboxBody = true,
}
local ResolveAimbotVisibilityRaycastParams
do
local AimbotVisibilityRaycastState = {
Filter = {},
Params = RaycastParams.new(),
}
AimbotVisibilityRaycastState.Params.FilterType = Enum.RaycastFilterType.Exclude
AimbotVisibilityRaycastState.Params.FilterDescendantsInstances = AimbotVisibilityRaycastState.Filter
ResolveAimbotVisibilityRaycastParams = function(character)
local filter = AimbotVisibilityRaycastState.Filter
filter[1] = Char
filter[2] = character
filter[3] = nil
AimbotVisibilityRaycastState.Params.FilterDescendantsInstances = filter
return AimbotVisibilityRaycastState.Params
end
end
local function IsPointVisible(character, worldPoint)
local cam = Workspace.CurrentCamera
if not cam or typeof(worldPoint) ~= 'Vector3' or not Char then return false end
local origin = cam.CFrame.Position
local direction = worldPoint - origin
if direction.Magnitude <= 0 then return false end
local rayParams = ResolveAimbotVisibilityRaycastParams(character)
local result = Workspace:Raycast(origin, direction, rayParams)
return result == nil
end
local function IsVisible(character, targetPart, targetPoint)
if not targetPart then return false end
local point = targetPoint or targetPart.Position
return IsPointVisible(character, point)
end
-- ======================================================================
-- ESP (classic): lines and corner boxes
-- ======================================================================
do
local EspClassic = RivalsRuntimeBridge.ESPClassic
local function CreateEspLine()
local line = Drawing.new('Line')
line.Visible = false
return line
end
local function EnsureEspCornerBox(entry)
if entry.cornerBox then return entry.cornerBox end
local cornerBox = table.create(8)
for segmentIndex = 1, 8 do
cornerBox[segmentIndex] = {
outline = CreateEspLine(),
color = CreateEspLine(),
}
end
entry.cornerBox = cornerBox
return cornerBox
end
local function HideEspBox(entry)
for _, segment in ipairs(entry.cornerBox or {}) do
SetDrawingVisible(segment.outline, false)
SetDrawingVisible(segment.color, false)
end
end
local function RemoveEspBox(entry)
for _, segment in ipairs(entry.cornerBox or {}) do
pcall(function() segment.outline:Remove() end)
pcall(function() segment.color:Remove() end)
end
entry.cornerBox = nil
end
local function SetEspCornerSegment(segment, fromPoint, toPoint, color, scale)
local outline = segment.outline
outline.From = fromPoint
outline.To = toPoint
outline.Color = PLAYER_CARD_THEME.Classic.BoxOutlineColor
outline.Transparency = PLAYER_CARD_THEME.Classic.BoxOutlineTransparency
outline.Thickness = math.max(PLAYER_CARD_THEME.Classic.BoxOutlineThickness * scale, 2)
SetDrawingVisible(outline, true)
local colorLine = segment.color
colorLine.From = fromPoint
colorLine.To = toPoint
colorLine.Color = color
colorLine.Transparency = 1
colorLine.Thickness = math.max(PLAYER_CARD_THEME.Classic.BoxThickness * scale, 1)
SetDrawingVisible(colorLine, true)
end
local function DrawEspBox(entry, bounds, color, scale)
local minX, minY = bounds.MinX, bounds.MinY
local maxX, maxY = bounds.MaxX, bounds.MaxY
local width = math.max(maxX - minX, 1)
local height = math.max(maxY - minY, 1)
local cornerBox = EnsureEspCornerBox(entry)
local segmentLength = math.max(math.min(width, height) * 0.24, 5 * scale)
segmentLength = math.min(segmentLength, width * 0.5, height * 0.5)
SetEspCornerSegment(cornerBox[1], Vector2.new(minX, minY), Vector2.new(minX + segmentLength, minY), color, scale)
SetEspCornerSegment(cornerBox[2], Vector2.new(maxX - segmentLength, minY), Vector2.new(maxX, minY), color, scale)
SetEspCornerSegment(cornerBox[3], Vector2.new(minX, maxY), Vector2.new(minX + segmentLength, maxY), color, scale)
SetEspCornerSegment(cornerBox[4], Vector2.new(maxX - segmentLength, maxY), Vector2.new(maxX, maxY), color, scale)
SetEspCornerSegment(cornerBox[5], Vector2.new(minX, minY), Vector2.new(minX, minY + segmentLength), color, scale)
SetEspCornerSegment(cornerBox[6], Vector2.new(minX, maxY - segmentLength), Vector2.new(minX, maxY), color, scale)
SetEspCornerSegment(cornerBox[7], Vector2.new(maxX, minY), Vector2.new(maxX, minY + segmentLength), color, scale)
SetEspCornerSegment(cornerBox[8], Vector2.new(maxX, maxY - segmentLength), Vector2.new(maxX, maxY), color, scale)
end
local function EnsureEspStatusText(entry)
if entry.statusText then return entry.statusText end
local statusText = Drawing.new('Text')
statusText.Center = false
statusText.Outline = true
statusText.Font = 3
statusText.Color = PLAYER_CARD_THEME.BarTextColor
statusText.Visible = false
entry.statusText = statusText
return statusText
end
EspClassic.HideBox = HideEspBox
EspClassic.RemoveBox = RemoveEspBox
EspClassic.DrawBox = DrawEspBox
EspClassic.EnsureStatusText = EnsureEspStatusText
end
local function CreateESP(player)
if ESPObjects[player] then return end
local highlight = Instance.new('Highlight')
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.FillTransparency = 1
highlight.OutlineTransparency = 0
highlight.Enabled = false
highlight.Parent = HighlightContainer
local nameText = Drawing.new('Text')
nameText.Center = false
nameText.Outline = true
nameText.Font = 3
nameText.Color = PLAYER_CARD_THEME.BarTextColor
nameText.Visible = false
local healthBarBg = CreateRoundedRect()
local healthBarFill = CreateRoundedRect()
local healthText = Drawing.new('Text')
healthText.Center = true
healthText.Outline = true
healthText.Font = 3
healthText.Color = PLAYER_CARD_THEME.BarTextColor
healthText.Visible = false
local healthSuffixText = Drawing.new('Text')
healthSuffixText.Center = false
healthSuffixText.Outline = true
healthSuffixText.Font = 3
healthSuffixText.Color = PLAYER_CARD_THEME.BarTextColor
healthSuffixText.Visible = false
local arrow = CreateArrowIndicator()
local metaText = Drawing.new('Text')
metaText.Center = false
metaText.Outline = true
metaText.Font = 3
metaText.Color = PLAYER_CARD_THEME.BarTextColor
metaText.Visible = false
local ammoText = Drawing.new('Text')
ammoText.Center = true
ammoText.Outline = true
ammoText.Font = 3
ammoText.Color = PLAYER_CARD_THEME.BarTextColor
ammoText.Visible = false
local distanceText = Drawing.new('Text')
distanceText.Center = false
distanceText.Outline = true
distanceText.Font = 3
distanceText.Color = PLAYER_CARD_THEME.BarTextColor
distanceText.Visible = false
local lookLine = Drawing.new('Line')
lookLine.Thickness = 1
lookLine.Transparency = PLAYER_CARD_THEME.LookLineTransparency
lookLine.Visible = false
ESPObjects[player] = {
highlight = highlight,
characterParts = nil,
nameText = nameText,
healthBarBg = healthBarBg,
healthBarFill = healthBarFill,
healthText = healthText,
healthSuffixText = healthSuffixText,
arrow = arrow,
metaText = metaText,
ammoText = ammoText,
distanceText = distanceText,
lookLine = lookLine,
}
AttachWeaponInfoObservers(player)
RivalsRuntimeBridge.ESPClassic.AttachStatusObservers(player, ESPObjects[player])
end
local function DestroyESP(player)
local entry = ESPObjects[player]
if not entry then return end
pcall(function() entry.highlight:Destroy() end)
pcall(function() entry.nameText:Remove() end)
RemoveRoundedRect(entry.healthBarBg)
RemoveRoundedRect(entry.healthBarFill)
pcall(function() entry.healthText:Remove() end)
pcall(function() entry.healthSuffixText:Remove() end)
RemoveArrowIndicator(entry.arrow)
pcall(function() entry.metaText:Remove() end)
pcall(function() entry.ammoText:Remove() end)
pcall(function() entry.distanceText:Remove() end)
pcall(function() entry.lookLine:Remove() end)
if entry.statusText then pcall(function() entry.statusText:Remove() end) end
RivalsRuntimeBridge.ESPClassic.RemoveBox(entry)
if RivalsRuntimeBridge.PlayerChams then RivalsRuntimeBridge.PlayerChams.Clear(player) end
RivalsRuntimeBridge.ESPClassic.DisconnectStatusObservers(entry)
DisconnectWeaponInfoConnections(player)
WeaponInfoCache[player] = nil
RivalsRuntimeBridge.PlayerStatusInfoCache[player] = nil
ESPObjects[player] = nil
end
local function DestroyAllESP()
for player in pairs(ESPObjects) do
DestroyESP(player)
end
end
local function HideESP(entry)
entry.highlight.Enabled = false
SetDrawingVisible(entry.nameText, false)
HideRoundedRect(entry.healthBarBg)
HideRoundedRect(entry.healthBarFill)
SetDrawingVisible(entry.healthText, false)
SetDrawingVisible(entry.healthSuffixText, false)
HideArrowIndicator(entry.arrow)
SetDrawingVisible(entry.metaText, false)
SetDrawingVisible(entry.ammoText, false)
SetDrawingVisible(entry.distanceText, false)
SetDrawingVisible(entry.lookLine, false)
if entry.statusText then SetDrawingVisible(entry.statusText, false) end
RivalsRuntimeBridge.ESPClassic.HideBox(entry)
end
local function ShouldShow(player, showTeammates)
if player == LP then return false end
if showTeammates then return true end
local myTeam = LP:GetAttribute('TeamID')
local theirTeam = player:GetAttribute('TeamID')
if myTeam and theirTeam then return myTeam ~= theirTeam end
if player.Team == nil or LP.Team == nil then return true end
return player.Team ~= LP.Team
end
local function IsPlayerInLocalEnvironment(player)
if not player or player == LP or player.Parent ~= Players then return false end
local localCharacter = LP.Character
local localEnvironmentId = localCharacter and localCharacter:GetAttribute('EnvironmentID') or nil
if localEnvironmentId == nil then return false end
local character = player.Character
return character ~= nil and character.Parent ~= nil and character:GetAttribute('EnvironmentID') == localEnvironmentId
end
local function ReconcileESPPlayers()
local showTeammates = EspRenderSettings.ShowTeammates
for player in pairs(ESPObjects) do
if not IsPlayerInLocalEnvironment(player) or not ShouldShow(player, showTeammates) then DestroyESP(player) end
end
for _, player in ipairs(Players:GetPlayers()) do
if IsPlayerInLocalEnvironment(player) and ShouldShow(player, showTeammates) then CreateESP(player) end
end
end
local function IsRivalsPickupPlace()
return type(CurrentRivalsPlace) == 'number'
and (
CurrentRivalsPlace == RIVALS_SHARED_MATCH_PLACE
or CurrentRivalsPlace == 71874690745115
or CurrentRivalsPlace == 133215910299950
)
end
local function ResolveRivalsDataRemote(remoteName, expectedClass)
expectedClass = expectedClass or 'RemoteEvent'
local remotesFolder = ReplicatedStorage:FindFirstChild('Remotes')
local dataFolder = remotesFolder and remotesFolder:FindFirstChild('Data')
local remote = dataFolder and dataFolder:FindFirstChild(remoteName)
if remote and remote:IsA(expectedClass) then return remote end
return nil
end
local function GetRivalsPickupTouchPart()
if not InitCharacter() or not Char or not HumanoidRootPart then return nil end
return Char:FindFirstChild('HitboxBody') or HumanoidRootPart or Char:FindFirstChildWhichIsA('BasePart')
end
local function GetRivalsPickupKind(drop)
if not drop or not drop:IsA('BasePart') or drop.Name ~= '_drop' then return nil end
if drop:FindFirstChild('Health') then return 'Health' end
if drop:FindFirstChild('AmmoBalanced') or drop:FindFirstChild('Ammo') then return 'Ammo' end
return nil
end
local function IsRivalsSpawnShieldActive(character)
if not character or not character.Parent then return false end
local player = Players:GetPlayerFromCharacter(character)
local fighter = player and TrackedFightersByPlayer[player]
if not fighter then
local fighterController = ResolveFighterController()
if fighterController and type(fighterController.GetFighter) == 'function' then
fighter = player and fighterController:GetFighter(player) or nil
if not fighter then fighter = fighterController:GetFighter(character) end
end
end
if not fighter then return false end
return FighterDataCache.ReadEntity(fighter.Entity)
end
local function TouchRivalsPickupDrop(drop, touchPart)
if not drop or not drop.Parent or not touchPart or not touchPart.Parent then return false end
firetouchinterest(touchPart, drop, 0)
task.defer(function()
if drop.Parent and touchPart.Parent then firetouchinterest(touchPart, drop, 1) end
end)
return true
end
local LocalPickupObserver = {
RetryActive = false,
RetryDelay = 0.05,
RetryNonce = 0,
}
-- ======================================================================
-- Pickup drops (health / ammo) tracking
-- ======================================================================
do
local pickupDropsByKind = {
Health = {},
Ammo = {},
}
local pickupDropObservers = {}
local function ClearPickupDropKinds(drop)
if not drop then return end
pickupDropsByKind.Health[drop] = nil
pickupDropsByKind.Ammo[drop] = nil
end
local function DisconnectPickupDropObserver(drop)
local observer = pickupDropObservers[drop]
if not observer then return end
local childAddedConnection = observer.ChildAddedConnection
if childAddedConnection then pcall(function() childAddedConnection:Disconnect() end) end
local childRemovedConnection = observer.ChildRemovedConnection
if childRemovedConnection then pcall(function() childRemovedConnection:Disconnect() end) end
pickupDropObservers[drop] = nil
end
local function RefreshPickupDrop(drop)
ClearPickupDropKinds(drop)
if not drop or drop.Parent ~= Workspace or not drop:IsA('BasePart') or drop.Name ~= '_drop' then return end
local dropKind = GetRivalsPickupKind(drop)
local hasTouchInterest = drop:FindFirstChildOfClass('TouchTransmitter') ~= nil
if dropKind and hasTouchInterest then
pickupDropsByKind[dropKind][drop] = true
if UpdateRivalsPickupFeatures then UpdateRivalsPickupFeatures() end
end
end
function LocalPickupObserver.ObserveDrop(drop)
if not drop or not drop:IsA('BasePart') or drop.Name ~= '_drop' then return end
if pickupDropObservers[drop] then
RefreshPickupDrop(drop)
return
end
local observer = {}
pickupDropObservers[drop] = observer
observer.ChildAddedConnection =
drop.ChildAdded:Connect(GuardRivalsCallback('PickupDrop_ChildAdded', function() RefreshPickupDrop(drop) end))
observer.ChildRemovedConnection =
drop.ChildRemoved:Connect(GuardRivalsCallback('PickupDrop_ChildRemoved', function() RefreshPickupDrop(drop) end))
RefreshPickupDrop(drop)
end
function LocalPickupObserver.UnobserveDrop(drop)
ClearPickupDropKinds(drop)
DisconnectPickupDropObserver(drop)
end
function LocalPickupObserver.ResetDropTracking()
for drop in pairs(pickupDropObservers) do
DisconnectPickupDropObserver(drop)
end
for drop in pairs(pickupDropsByKind.Health) do
pickupDropsByKind.Health[drop] = nil
end
for drop in pairs(pickupDropsByKind.Ammo) do
pickupDropsByKind.Ammo[drop] = nil
end
end
function LocalPickupObserver.FindNearestDrop(pickupKind, touchPart)
if not IsRivalsPickupPlace() or not touchPart or not touchPart.Parent then return nil end
if pickupKind == 'Health' and (not Humanoid or Humanoid.Health >= Humanoid.MaxHealth) then return nil end
local nearestDrop = nil
local nearestDistance = nil
local candidateDrops = pickupDropsByKind[pickupKind]
if not candidateDrops then return nil end
for drop in pairs(candidateDrops) do
if drop.Parent ~= Workspace then
ClearPickupDropKinds(drop)
DisconnectPickupDropObserver(drop)
else
local dropKind = GetRivalsPickupKind(drop)
local hasTouchInterest = drop:FindFirstChildOfClass('TouchTransmitter') ~= nil
if dropKind == pickupKind and drop.CanTouch == true and hasTouchInterest then
local distance = (drop.Position - touchPart.Position).Magnitude
if not nearestDistance or distance < nearestDistance then
nearestDrop = drop
nearestDistance = distance
end
end
end
end
return nearestDrop
end
end
function LocalPickupObserver.CancelRetry()
LocalPickupObserver.RetryActive = false
LocalPickupObserver.RetryNonce = LocalPickupObserver.RetryNonce + 1
end
function LocalPickupObserver.SyncRetry(shouldRetry)
if not shouldRetry then
LocalPickupObserver.CancelRetry()
return
end
if LocalPickupObserver.RetryActive then return end
LocalPickupObserver.RetryActive = true
LocalPickupObserver.RetryNonce = LocalPickupObserver.RetryNonce + 1
local retryNonce = LocalPickupObserver.RetryNonce
task.spawn(GuardRivalsCallback('Pickup_Retry', function()
while LocalPickupObserver.RetryActive and LocalPickupObserver.RetryNonce == retryNonce do
task.wait(LocalPickupObserver.RetryDelay)
if LocalPickupObserver.RetryNonce ~= retryNonce or not LocalPickupObserver.RetryActive then return end
if not UpdateRivalsPickupFeatures or not UpdateRivalsPickupFeatures() then
LocalPickupObserver.RetryActive = false
return
end
end
end))
end
UpdateRivalsPickupFeatures = function()
if not __ZkhHub_genv.ZkxHubCaps.gate('Auto Pickup', 'firetouchinterest') then
LocalPickupObserver.CancelRetry()
return false
end
if not IsRivalsPickupPlace() or not InitCharacter() or not Humanoid or Humanoid.Health <= 0 then
LocalPickupObserver.CancelRetry()
return false
end
local touchPart = GetRivalsPickupTouchPart()
if not touchPart then
LocalPickupObserver.CancelRetry()
return false
end
local touchedDrop = false
local shouldRetry = false
local missingHealth = math.max(Humanoid.MaxHealth - Humanoid.Health, 0)
if Toggles.P8S1T1 and Toggles.P8S1T1.Value and missingHealth >= 25 then
shouldRetry = true
local healthDrop = LocalPickupObserver.FindNearestDrop('Health', touchPart)
if healthDrop then touchedDrop = TouchRivalsPickupDrop(healthDrop, touchPart) end
end
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem or nil
local ammo = ReadItemValue(item, 'Ammo')
if not touchedDrop and Toggles.P8S1T2 and Toggles.P8S1T2.Value and type(ammo) == 'number' and ammo <= 0 then
shouldRetry = true
local ammoDrop = LocalPickupObserver.FindNearestDrop('Ammo', touchPart)
if ammoDrop then TouchRivalsPickupDrop(ammoDrop, touchPart) end
end
LocalPickupObserver.SyncRetry(shouldRetry)
return shouldRetry
end
local function RefreshLocalPickupHealthObserver()
if not IsRivalsPickupPlace() or not InitCharacter() or not Humanoid then
DisconnectWeaponInfoConnection(LocalPickupObserver, 'HealthChanged')
return
end
ConnectWeaponInfoSignal(Humanoid.HealthChanged, LocalPickupObserver, 'HealthChanged', function()
local missingHealth = math.max(Humanoid.MaxHealth - Humanoid.Health, 0)
if missingHealth >= 25 then UpdateRivalsPickupFeatures() end
end)
end
-- ======================================================================
-- Weapon mods: hooks, input prototypes, knife extender
-- ======================================================================
do
local function IsRivalsModToggleEnabled(toggleId)
local toggle = Toggles[toggleId]
return toggle ~= nil and toggle.Value == true
end
local function ReadRivalsModNumber(optionId, fallback)
local option = Options[optionId]
if option ~= nil and type(option.Value) == 'number' then return option.Value end
return fallback
end
RivalsModsState.ZkhHubInputBinding = {}
RivalsModsState.ZkhHubInputBinding.__index = RivalsModsState.ZkhHubInputBinding
function RivalsModsState.ZkhHubInputBinding.new(handleSetEnabled, handleDestroy)
return setmetatable({
_handleSetEnabled = handleSetEnabled,
_handleDestroy = handleDestroy,
enabled = false,
}, RivalsModsState.ZkhHubInputBinding)
end
function RivalsModsState.ZkhHubInputBinding:SetHandler(handler) self.handler = handler end
function RivalsModsState.ZkhHubInputBinding:SetEnabled(enabled)
self.enabled = enabled
self._handleSetEnabled(enabled)
end
function RivalsModsState.ZkhHubInputBinding:Destroy() self._handleDestroy() end
RivalsModsState.ZkhHubInputHookErrorReporter = {}
RivalsModsState.ZkhHubInputHookErrorReporter.__index = RivalsModsState.ZkhHubInputHookErrorReporter
function RivalsModsState.ZkhHubInputHookErrorReporter.new()
return setmetatable({
_errors = {},
}, RivalsModsState.ZkhHubInputHookErrorReporter)
end
function RivalsModsState.ZkhHubInputHookErrorReporter:ReportResult(result)
if not result.ok then
table.insert(self._errors, result.error)
ReportRivalsRuntimeIssue('mods_no_spread_input_hook', result.error)
end
return result
end
function RivalsModsState.ZkhHubInputHookErrorReporter:Destroy() table.clear(self._errors) end
function RivalsModsState.CreateZkhHubInputHookPrototype(clientItem, useItemRemote, decodeInput)
local cleanRemote = Instance.new('RemoteEvent')
local fireServerNative = clonefunction(cleanRemote.FireServer)
local voidOk = {
ok = true,
}
local function inputHookError(stage, message)
return {
ok = false,
error = 'InputHook/' .. stage .. ': ' .. message,
}
end
local inputHookPrototype = {}
inputHookPrototype.__index = inputHookPrototype
function inputHookPrototype.new()
local inputHook = setmetatable({
_errorReporter = RivalsModsState.ZkhHubInputHookErrorReporter.new(),
_inputBindings = {},
_dummy = Color3.new(),
}, inputHookPrototype)
inputHook:_Initialize()
return inputHook
end
function inputHookPrototype:_Initialize()
local function fireServer(_, objectId, encodedType, args)
local packet = {
block = false,
objectId = objectId,
type = decodeInput(encodedType),
args = args,
}
self:_Dispatch(packet)
if packet.block then return end
return fireServerNative(useItemRemote, objectId, encodedType, args, nil)
end
local remoteTree = {
Replication = {
Fighter = {
UseItem = {
FireServer = fireServer,
},
},
},
}
setrawmetatable(self._dummy, {
__index = function() return remoteTree end,
})
end
function inputHookPrototype:Reserve()
local binding
binding = RivalsModsState.ZkhHubInputBinding.new(function(enabled)
if enabled then self._errorReporter:ReportResult(self:_Load()) end
end, function()
for index, candidate in ipairs(self._inputBindings) do
if candidate == binding then
table.remove(self._inputBindings, index)
break
end
end
end)
table.insert(self._inputBindings, binding)
return binding
end
function inputHookPrototype:_Dispatch(packet)
for _, binding in ipairs(self._inputBindings) do
if binding.enabled and binding.handler ~= nil then
binding.handler(packet)
if packet.block then break end
end
end
end
function inputHookPrototype:_Load()
if self._restore ~= nil then return voidOk end
local inputMethod = rawget(clientItem, 'Input')
if inputMethod == nil then return inputHookError('function_lookup', 'Failed to find Input in prototype') end
for index, value in pairs(debug.getupvalues(inputMethod)) do
if typeof(value) == 'Instance' then
local matches = false
if compareinstances ~= nil then matches = compareinstances(value, ReplicatedStorage) end
if not matches then matches = value == ReplicatedStorage end
if matches then
debug.setupvalue(inputMethod, index, self._dummy)
self._restore = {
method = inputMethod,
index = index,
original = value,
}
end
end
end
if self._restore == nil then
for _, bundle in pairs(debug.getupvalues(inputMethod)) do
if type(bundle) == 'table' then
for key, value in pairs(bundle) do
local matches = false
if typeof(value) == 'Instance' then
if compareinstances ~= nil then matches = compareinstances(value, ReplicatedStorage) end
if not matches then matches = value == ReplicatedStorage end
end
if matches then
self._restore = {
bundle = bundle,
key = key,
original = value,
}
bundle[key] = self._dummy
break
end
end
if self._restore ~= nil then break end
end
end
end
if self._restore ~= nil then return voidOk end
return inputHookError('upvalue_scan', 'Failed to find ReplicatedStorage upvalue')
end
function inputHookPrototype:_Revert()
local restore = self._restore
if restore == nil then return end
self._restore = nil
if restore.bundle ~= nil then
restore.bundle[restore.key] = restore.original
else
debug.setupvalue(restore.method, restore.index, restore.original)
end
end
function inputHookPrototype:Destroy()
self:_Revert()
self._errorReporter:Destroy()
end
return inputHookPrototype
end
RivalsModsState.ZkhHubNoSpreadPrototype = {}
RivalsModsState.ZkhHubNoSpreadPrototype.__index = RivalsModsState.ZkhHubNoSpreadPrototype
function RivalsModsState.ZkhHubNoSpreadPrototype.new(inputBinding, playerContext)
local noSpread = setmetatable({
_inputBinding = inputBinding,
_playerContext = playerContext,
}, RivalsModsState.ZkhHubNoSpreadPrototype)
inputBinding:SetHandler(function(packet) noSpread:_HandleInput(packet) end)
return noSpread
end
function RivalsModsState.ZkhHubNoSpreadPrototype:SetEnabled(enabled) self._inputBinding:SetEnabled(enabled) end
function RivalsModsState.ZkhHubNoSpreadPrototype:_HandleInput(packet)
if packet.type ~= 'StartShooting' then return end
local inner = self._playerContext.inner
if inner == nil then return end
local item = inner.fighterState:GetItemById(packet.objectId)
if item == nil then return end
if rawget(rawget(item, 'Info'), 'Type') == 'Gun' then packet.args['\2'] = true end
end
function RivalsModsState.ZkhHubNoSpreadPrototype:Destroy() self._inputBinding:Destroy() end
-- Knife Extender: moves the swing forward before it is sent, so targets past the knife's normal reach still land.
-- The melee packet is { ["\1"] = { ["\0"] = origin CFrame, ["\1"] = aim CFrame, ["\2"] = hit part, ["\3"] = hit offset }, ["\2"] = animation }
-- (CFrames are encoded as { ["\0"] = x, ["\1"] = y, ["\2"] = z, ... rotation }). A swing is only moved when the part under the
-- crosshair is out of the knife's real reach, by just enough to bring it back inside, and never by more than the Extra Range.
function RivalsModsState.ComputeKnifeExtenderShift(origin, point, reach, range)
local offset = point - origin
local distance = offset.Magnitude
if distance < 0.001 then return nil end
local needed = distance - reach
if needed <= 0.05 then return nil end
if needed > range + 0.5 then return nil end
return offset.Unit * math.min(needed + 0.3, range)
end
RivalsModsState.ZkhHubKnifeExtenderPrototype = {}
RivalsModsState.ZkhHubKnifeExtenderPrototype.__index = RivalsModsState.ZkhHubKnifeExtenderPrototype
function RivalsModsState.ZkhHubKnifeExtenderPrototype.new(inputBinding, playerContext)
local extender = setmetatable({
_inputBinding = inputBinding,
_playerContext = playerContext,
_range = 3,
_scope = 'Knife',
_heavy = true,
}, RivalsModsState.ZkhHubKnifeExtenderPrototype)
inputBinding:SetHandler(function(packet) extender:_HandleInput(packet) end)
return extender
end
function RivalsModsState.ZkhHubKnifeExtenderPrototype:SetEnabled(enabled) self._inputBinding:SetEnabled(enabled) end
function RivalsModsState.ZkhHubKnifeExtenderPrototype:SetOptions(range, scope, heavy)
self._range = range
self._scope = scope
self._heavy = heavy
end
function RivalsModsState.ZkhHubKnifeExtenderPrototype:_HandleInput(packet)
local isHeavy = packet.type == 'StartAiming'
if not (packet.type == 'StartShooting' or (isHeavy and self._heavy)) then return end
local inner = self._playerContext.inner
if inner == nil then return end
local item = inner.fighterState:GetItemById(packet.objectId)
if item == nil then return end
local info = rawget(item, 'Info')
if type(info) ~= 'table' or rawget(info, 'Type') ~= 'Melee' then return end
if isHeavy and type(rawget(info, 'HeavyAttackReach')) ~= 'number' then return end
if self._scope ~= 'All melee' then
local okName, itemName = pcall(function() return item.Name end)
if not (okName and itemName == 'Knife') then return end
end
local args = packet.args
local data = type(args) == 'table' and args['\1'] or nil
if type(data) ~= 'table' then return end
local part = data['\2']
local okPart, isPart = pcall(function() return part ~= nil and part:IsA('BasePart') end)
if not (okPart and isPart) then return end
local originEncoded, aimEncoded = data['\0'], data['\1']
if
type(originEncoded) ~= 'table'
or type(originEncoded['\0']) ~= 'number'
or type(originEncoded['\1']) ~= 'number'
or type(originEncoded['\2']) ~= 'number'
then
return
end
local origin = Vector3.new(originEncoded['\0'], originEncoded['\1'], originEncoded['\2'])
-- the game's own reach, not the value the Extend setting may have raised on the item
local original = RivalsModsState.OriginalItemInfo[item]
local reach
if isHeavy then
reach = original and original.HeavyAttackReach or rawget(info, 'HeavyAttackReach')
else
reach = original and original.AttackReach or rawget(info, 'AttackReach')
end
if type(reach) ~= 'number' then return end
local point = part.Position
pcall(function() point = part:GetClosestPointOnSurface(origin) end)
local shift = RivalsModsState.ComputeKnifeExtenderShift(origin, point, reach, self._range)
if shift == nil then return end
local function moved(encoded)
if
type(encoded) ~= 'table'
or type(encoded['\0']) ~= 'number'
or type(encoded['\1']) ~= 'number'
or type(encoded['\2']) ~= 'number'
then
return encoded
end
local copy = table.clone(encoded)
copy['\0'] = encoded['\0'] + shift.X
copy['\1'] = encoded['\1'] + shift.Y
copy['\2'] = encoded['\2'] + shift.Z
return copy
end
local newData = table.clone(data)
newData['\0'] = moved(originEncoded)
newData['\1'] = moved(aimEncoded)
args['\1'] = newData
end
function RivalsModsState.ZkhHubKnifeExtenderPrototype:Destroy() self._inputBinding:Destroy() end
function RivalsModsState.SyncKnifeExtender()
local controller = RivalsModsState.KnifeExtenderController
if not controller then return false end
local scopeOption = Options and Options.KE_Scope
controller:SetOptions(
math.clamp(ReadRivalsModNumber('KE_Range', 3), 1, 40),
(scopeOption and scopeOption.Value == 'All melee') and 'All melee' or 'Knife',
IsRivalsModToggleEnabled('KE_Heavy')
)
local enabled = IsRivalsModToggleEnabled('KE_Enabled')
if controller._inputBinding.enabled ~= enabled then controller:SetEnabled(enabled) end
return true
end
RivalsModsState.ZkhHubGrenadeFusePrototype = {}
RivalsModsState.ZkhHubGrenadeFusePrototype.__index = RivalsModsState.ZkhHubGrenadeFusePrototype
function RivalsModsState.ZkhHubGrenadeFusePrototype.new(inputBinding, playerContext)
local grenadeFuse = setmetatable({
_inputBinding = inputBinding,
_playerContext = playerContext,
_explodeOn = 'Impact',
_removeFuse = false,
_trajectoryVisual = nil,
_startThrowReplacerInstalled = false,
_throwablePrototype = nil,
_originalStartThrow = nil,
}, RivalsModsState.ZkhHubGrenadeFusePrototype)
inputBinding:SetHandler(function(packet) grenadeFuse:_HandleInput(packet) end)
return grenadeFuse
end
function RivalsModsState.ZkhHubGrenadeFusePrototype:SetEnabled(enabled) self._inputBinding:SetEnabled(enabled) end
function RivalsModsState.ZkhHubGrenadeFusePrototype:SetExplodeOn(explodeOn) self._explodeOn = explodeOn end
function RivalsModsState.ZkhHubGrenadeFusePrototype:SetRemoveFuse(removeFuse)
self._removeFuse = removeFuse
if removeFuse then
self:_EnsureStartThrowReplacer()
else
self:_RestoreStartThrowReplacer()
end
end
function RivalsModsState.ZkhHubGrenadeFusePrototype:_EnsureStartThrowReplacer()
if self._startThrowReplacerInstalled then return end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local itemTypes = modules and modules:FindFirstChild('ItemTypes')
local throwableModule = itemTypes and itemTypes:FindFirstChild('Throwable')
if not throwableModule then return end
local ok, throwable = pcall(require, throwableModule)
if not ok or type(throwable) ~= 'table' then return end
local original = rawget(throwable, '_StartThrow')
if type(original) ~= 'function' then return end
self._throwablePrototype = throwable
self._originalStartThrow = original
local controller = self
rawset(throwable, '_StartThrow', function(item, ...)
if controller._removeFuse then rawset(item, '_cook_detonate_delay', nil) end
return original(item, ...)
end)
self._startThrowReplacerInstalled = true
end
function RivalsModsState.ZkhHubGrenadeFusePrototype:_RestoreStartThrowReplacer()
if not self._startThrowReplacerInstalled then return end
if self._throwablePrototype and self._originalStartThrow then
rawset(self._throwablePrototype, '_StartThrow', self._originalStartThrow)
end
self._startThrowReplacerInstalled = false
self._throwablePrototype = nil
self._originalStartThrow = nil
end
function RivalsModsState.ZkhHubGrenadeFusePrototype:_ComputeImpactTime(trajectoryVisual)
local lastArgs = rawget(trajectoryVisual, '_last_args')
local step = lastArgs[4]
if not step then step = 0.05 end
local cap = lastArgs[6]
if not cap then cap = math.huge end
local impactCFrame = rawget(trajectoryVisual, '_impact_sphere').CFrame
local segments = rawget(trajectoryVisual, '_segments')
local key
while true do
local segment
key, segment = next(segments, key)
if key == nil then break end
if segment.CFrame == impactCFrame then return math.min(cap, (key - 2) * step) end
end
return nil
end
function RivalsModsState.ZkhHubGrenadeFusePrototype:_HandleInput(packet)
local packetType = packet.type
local isStart = packetType == 'StartShooting' or packetType == 'StartAiming'
local isFinish = packetType == 'FinishShooting' or packetType == 'FinishAiming'
if not (isStart or isFinish) then return end
local inner = self._playerContext.inner
if inner == nil then return end
local item = inner.fighterState:GetItemById(packet.objectId)
if item == nil then return end
if not rawget(rawget(item, 'Info'), 'CanCook') then return end
if isStart then
self._trajectoryVisual = rawget(item, '_trajectory_visual')
if self._removeFuse then rawset(item, '_cook_detonate_delay', nil) end
return
end
if self._explodeOn == 'Throw' then
packet.args['\3'] = 0
else
local trajectoryVisual = self._trajectoryVisual
if trajectoryVisual then trajectoryVisual = self:_ComputeImpactTime(trajectoryVisual) end
packet.args['\3'] = trajectoryVisual
end
self._trajectoryVisual = nil
end
function RivalsModsState.ZkhHubGrenadeFusePrototype:Destroy()
self:_RestoreStartThrowReplacer()
self._inputBinding:Destroy()
end
RivalsModsState.ZkhHubLocalFighterState = {}
RivalsModsState.ZkhHubLocalFighterState.__index = RivalsModsState.ZkhHubLocalFighterState
function RivalsModsState.ZkhHubLocalFighterState.new() return setmetatable({}, RivalsModsState.ZkhHubLocalFighterState) end
function RivalsModsState.ZkhHubLocalFighterState:GetItems()
local fighter = ResolveLocalFighter()
local items = type(fighter) == 'table' and rawget(fighter, 'Items') or nil
if type(items) == 'table' then return items end
return {}
end
function RivalsModsState.ZkhHubLocalFighterState:GetItemById(objectId)
for _, item in next, self:GetItems() do
if objectId == rawget(rawget(item, 'Data'), 'ObjectID') then return item end
end
return nil
end
function RivalsModsState.ResolveNoSpreadClientItem()
local state = RivalsModsState
if state.NoSpreadClientItem then return state.NoSpreadClientItem end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local replicated = modules and modules:FindFirstChild('ClientReplicatedClasses')
local fighter = replicated and replicated:FindFirstChild('ClientFighter')
local clientItemModule = fighter and fighter:FindFirstChild('ClientItem')
if not clientItemModule then return nil end
local ok, clientItem = pcall(require, clientItemModule)
if not ok or type(clientItem) ~= 'table' then return nil end
state.NoSpreadClientItem = clientItem
return clientItem
end
function RivalsModsState.ResolveNoSpreadRemote()
local state = RivalsModsState
if state.NoSpreadRemote then return state.NoSpreadRemote end
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local replication = remotes and remotes:FindFirstChild('Replication')
local fighter = replication and replication:FindFirstChild('Fighter')
local remote = fighter and fighter:FindFirstChild('UseItem')
if not remote or not remote:IsA('RemoteEvent') then return nil end
state.NoSpreadRemote = cloneref(remote)
return state.NoSpreadRemote
end
function RivalsModsState.EnsureZkhHubInputHook()
local state = RivalsModsState
if
state.ZkhHubInputHook
and state.NoSpreadController
and state.GrenadeFuseController
and state.KnifeExtenderController
and (RivalsRuntimeBridge.Extras.CoreLoaded ~= true or state.ExtrasController ~= nil)
then
return true
end
if
type(setrawmetatable) ~= 'function'
or type(clonefunction) ~= 'function'
or type(debug.getupvalues) ~= 'function'
or type(debug.setupvalue) ~= 'function'
then
return false
end
local clientItem = RivalsModsState.ResolveNoSpreadClientItem()
local remote = RivalsModsState.ResolveNoSpreadRemote()
local enumLibrary = ResolveEnumLibrary()
local fromEnum = type(enumLibrary) == 'table' and rawget(enumLibrary, '_from_enum') or nil
if type(clientItem) ~= 'table' or not remote or type(fromEnum) ~= 'table' then return false end
local playerContext = {
inner = {
fighterState = RivalsModsState.ZkhHubLocalFighterState.new(),
},
}
local ok, inputHookOrError = pcall(function()
local inputHookPrototype = state.ZkhHubInputHookPrototype
if inputHookPrototype == nil then
inputHookPrototype = RivalsModsState.CreateZkhHubInputHookPrototype(
clientItem,
remote,
function(encodedType) return rawget(fromEnum, encodedType) end
)
state.ZkhHubInputHookPrototype = inputHookPrototype
end
local inputHook = inputHookPrototype.new()
state.ZkhHubInputHook = inputHook
state.NoSpreadPlayerContext = playerContext
state.NoSpreadController = RivalsModsState.ZkhHubNoSpreadPrototype.new(inputHook:Reserve(), playerContext)
state.GrenadeFuseController = RivalsModsState.ZkhHubGrenadeFusePrototype.new(inputHook:Reserve(), playerContext)
state.KnifeExtenderController = RivalsModsState.ZkhHubKnifeExtenderPrototype.new(inputHook:Reserve(), playerContext)
state.ExtrasController = RivalsRuntimeBridge.Extras.NewController(inputHook:Reserve(), playerContext) or false
return inputHook
end)
if not ok then
ReportRivalsRuntimeIssue('mods_no_spread_input_hook_initialize', inputHookOrError)
return false
end
return inputHookOrError ~= nil
end
function RivalsModsState.SyncNoSpreadEnabled()
local state = RivalsModsState
local controller = state.NoSpreadController
if not controller then return false end
local enabled = IsRivalsModToggleEnabled('P4S1T3')
if controller._inputBinding.enabled ~= enabled then controller:SetEnabled(enabled) end
return true
end
function RivalsModsState.SyncGrenadeFuse()
local state = RivalsModsState
local controller = state.GrenadeFuseController
if not controller then return false end
local enabled = IsRivalsModToggleEnabled('P4S1T6')
local explodeOn = Options and Options.P4S1D1 and Options.P4S1D1.Value
controller:SetExplodeOn(type(explodeOn) == 'string' and explodeOn or 'Impact')
controller:SetRemoveFuse(IsRivalsModToggleEnabled('P4S1T7'))
if controller._inputBinding.enabled ~= enabled then controller:SetEnabled(enabled) end
return true
end
function RivalsModsState.RestoreZkhHubInputHook()
local state = RivalsModsState
if state.NoSpreadController then state.NoSpreadController:Destroy() end
if state.GrenadeFuseController then state.GrenadeFuseController:Destroy() end
if state.KnifeExtenderController then state.KnifeExtenderController:Destroy() end
if state.ZkhHubInputHook then state.ZkhHubInputHook:Destroy() end
state.NoSpreadController = nil
state.GrenadeFuseController = nil
state.KnifeExtenderController = nil
RivalsRuntimeBridge.Extras.DestroyController(state.ExtrasController)
state.ExtrasController = nil
state.NoSpreadPlayerContext = nil
state.ZkhHubInputHook = nil
state.NoSpreadClientItem = nil
state.NoSpreadRemote = nil
end
function RivalsModsState.StoreOriginalItemInfo(item)
local state = RivalsModsState
if type(item) ~= 'table' or state.OriginalItemInfo[item] ~= nil then return end
local info = item.Info
if type(info) ~= 'table' then return end
local inputSpammingEnabled = rawget(info, 'InputSpammingEnabled')
state.OriginalItemInfo[item] = {
Info = info,
HasDashCooldown = rawget(info, 'DashCooldown') ~= nil,
DashCooldown = rawget(info, 'DashCooldown'),
HasMaxDoubleJumps = rawget(info, 'MaxDoubleJumps') ~= nil,
MaxDoubleJumps = rawget(info, 'MaxDoubleJumps'),
AttackReach = rawget(info, 'AttackReach'),
HeavyAttackReach = rawget(info, 'HeavyAttackReach'),
HasInputSpammingEnabled = inputSpammingEnabled ~= nil,
InputSpammingEnabled = type(inputSpammingEnabled) == 'table' and table.clone(inputSpammingEnabled)
or inputSpammingEnabled,
}
end
function RivalsModsState.ApplyPersistentItemModifiers(item)
RivalsModsState.StoreOriginalItemInfo(item)
local original = RivalsModsState.OriginalItemInfo[item]
local info = original and original.Info or nil
if type(info) ~= 'table' then return end
if IsRivalsModToggleEnabled('P4S2T4') then
local inputSpammingEnabled = original.InputSpammingEnabled
if type(inputSpammingEnabled) == 'table' then
local automaticInputSpamming = table.clone(inputSpammingEnabled)
automaticInputSpamming.StartShooting = 0
automaticInputSpamming.StartReloading = 0
rawset(info, 'InputSpammingEnabled', automaticInputSpamming)
end
elseif original.HasInputSpammingEnabled then
rawset(
info,
'InputSpammingEnabled',
type(original.InputSpammingEnabled) == 'table' and table.clone(original.InputSpammingEnabled)
or original.InputSpammingEnabled
)
else
rawset(info, 'InputSpammingEnabled', nil)
end
if IsRivalsModToggleEnabled('P4S2T5') then
rawset(info, 'MaxDoubleJumps', 676767)
elseif original.HasMaxDoubleJumps then
rawset(info, 'MaxDoubleJumps', original.MaxDoubleJumps)
else
rawset(info, 'MaxDoubleJumps', nil)
end
if IsRivalsModToggleEnabled('P4S1T5') and type(original.DashCooldown) == 'number' then
local reduction = math.clamp(ReadRivalsModNumber('P4S1S5', 75), 0, 100) / 100
rawset(info, 'DashCooldown', original.DashCooldown * (1 - reduction))
elseif original.HasDashCooldown then
rawset(info, 'DashCooldown', original.DashCooldown)
else
rawset(info, 'DashCooldown', nil)
end
if type(original.AttackReach) == 'number' then
local extra = 0
if IsRivalsModToggleEnabled('KE_Enabled') then
local scopeOption = Options and Options.KE_Scope
local okName, itemName = pcall(function() return item.Name end)
if (scopeOption and scopeOption.Value == 'All melee') or (okName and itemName == 'Knife') then
extra = math.clamp(ReadRivalsModNumber('KE_Range', 3), 1, 40)
end
end
rawset(info, 'AttackReach', original.AttackReach + extra)
if type(original.HeavyAttackReach) == 'number' then
rawset(
info,
'HeavyAttackReach',
original.HeavyAttackReach + (IsRivalsModToggleEnabled('KE_Heavy') and extra or 0)
)
end
end
end
function RivalsModsState.RestorePersistentItem(item)
local state = RivalsModsState
local original = state.OriginalItemInfo[item]
local info = original and original.Info or nil
if type(info) == 'table' then
if original.HasInputSpammingEnabled then
rawset(
info,
'InputSpammingEnabled',
type(original.InputSpammingEnabled) == 'table' and table.clone(original.InputSpammingEnabled)
or original.InputSpammingEnabled
)
else
rawset(info, 'InputSpammingEnabled', nil)
end
if original.HasMaxDoubleJumps then
rawset(info, 'MaxDoubleJumps', original.MaxDoubleJumps)
else
rawset(info, 'MaxDoubleJumps', nil)
end
if original.HasDashCooldown then
rawset(info, 'DashCooldown', original.DashCooldown)
else
rawset(info, 'DashCooldown', nil)
end
if type(original.AttackReach) == 'number' then rawset(info, 'AttackReach', original.AttackReach) end
if type(original.HeavyAttackReach) == 'number' then rawset(info, 'HeavyAttackReach', original.HeavyAttackReach) end
end
state.OriginalItemInfo[item] = nil
end
function RivalsModsState.DisconnectPersistentItemSignals()
local state = RivalsModsState
for _, connectionName in ipairs({ 'InfoModifierItemAdded', 'InfoModifierItemRemoved' }) do
local connection = state[connectionName]
if connection then pcall(function() connection:Disconnect() end) end
state[connectionName] = nil
end
state.InfoModifierFighter = nil
end
function RivalsModsState.RestorePersistentItemModifiers(disconnectSignals)
local state = RivalsModsState
local trackedItems = {}
for item in pairs(state.OriginalItemInfo) do
trackedItems[#trackedItems + 1] = item
end
for _, item in ipairs(trackedItems) do
RivalsModsState.RestorePersistentItem(item)
end
if disconnectSignals then RivalsModsState.DisconnectPersistentItemSignals() end
end
function RivalsModsState.RefreshPersistentItemModifiers()
local state = RivalsModsState
local fighter = ResolveLocalFighter()
if fighter ~= state.InfoModifierFighter then
RivalsModsState.RestorePersistentItemModifiers(true)
state.InfoModifierFighter = fighter
if fighter then
if fighter.ItemAdded and type(fighter.ItemAdded.Connect) == 'function' then
state.InfoModifierItemAdded = fighter.ItemAdded:Connect(
GuardRivalsCallback(
'Mods_ItemAdded',
function(item) RivalsModsState.ApplyPersistentItemModifiers(item) end
)
)
end
if fighter.ItemRemoved and type(fighter.ItemRemoved.Connect) == 'function' then
state.InfoModifierItemRemoved = fighter.ItemRemoved:Connect(
GuardRivalsCallback('Mods_ItemRemoved', function(item) RivalsModsState.RestorePersistentItem(item) end)
)
end
end
end
if not fighter or type(fighter.Items) ~= 'table' then return false end
for _, item in pairs(fighter.Items) do
RivalsModsState.ApplyPersistentItemModifiers(item)
end
return true
end
function RivalsModsState.ResolveCameraController()
local state = RivalsModsState
if state.CameraController then return state.CameraController end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local cameraControllerModule = controllers and controllers:FindFirstChild('CameraController')
if not cameraControllerModule then return nil end
local cameraController = RivalsRuntimeBridge.RequireGameModule(cameraControllerModule, 'CameraController')
if not cameraController then return nil end
state.CameraController = cameraController
return cameraController
end
function RivalsModsState.UpdateCameraModifiers()
local state = RivalsModsState
local cameraController = RivalsModsState.ResolveCameraController()
if cameraController then
if IsRivalsModToggleEnabled('P4S2T6') then
if state.CameraShakeOriginalEnabled == nil then
state.CameraShakeOriginalEnabled = cameraController._shake_enabled
end
cameraController._shake_enabled = false
elseif state.CameraShakeOriginalEnabled ~= nil then
cameraController._shake_enabled = state.CameraShakeOriginalEnabled
state.CameraShakeOriginalEnabled = nil
end
if IsRivalsModToggleEnabled('P4S2T8') then
if not state.CameraThirdPersonCaptured then
state.CameraThirdPersonCaptured = true
state.CameraThirdPersonOriginal = cameraController._third_person_override
end
if
cameraController._third_person_override ~= true
and type(cameraController.SetThirdPersonOverride) == 'function'
then
cameraController:SetThirdPersonOverride(true)
end
-- the override only grants access to third person; step in once so the toggle shows without pressing the POV key
if not state.CameraThirdPersonEntered then
local cameraState = rawget(cameraController, 'CameraState')
if
type(cameraState) == 'table'
and type(cameraState.GetPublicState) == 'function'
and type(cameraState.TogglePOV) == 'function'
and type(cameraState.States) == 'table'
then
local okState, current = pcall(cameraState.GetPublicState, cameraState)
if okState and current ~= nil then
if current == cameraState.States.FirstPerson then pcall(cameraState.TogglePOV, cameraState) end
state.CameraThirdPersonEntered = true
end
end
end
elseif state.CameraThirdPersonCaptured then
if type(cameraController.SetThirdPersonOverride) == 'function' then
cameraController:SetThirdPersonOverride(state.CameraThirdPersonOriginal)
end
state.CameraThirdPersonCaptured = false
state.CameraThirdPersonOriginal = nil
state.CameraThirdPersonEntered = false
end
if type(cameraController.SetExternalFOVOffset) == 'function' then
local targetFov = ReadRivalsModNumber('P4S2S4', 80)
local baseFov = type(cameraController._base_fov) == 'number' and cameraController._base_fov or 80
local fovOffset = IsRivalsModToggleEnabled('P4S2T9') and (targetFov - baseFov) or 0
cameraController:SetExternalFOVOffset('ZkxHub', fovOffset)
end
end
-- viewmodel effects only need the local fighter, so they no longer stop when the camera controller is unavailable
if type(RivalsModsState.RefreshViewmodelEffects) == 'function' then RivalsModsState.RefreshViewmodelEffects() end
end
-- The game only writes the third-person camera offset when the camera state changes,
-- so overriding the spring target every frame is enough to hold a custom offset.
RivalsModsState.ThirdPersonDefaults = {
ThirdPerson = Vector3.new(3, 1.5, 7.5),
ThirdPersonMirrored = Vector3.new(-3, 1.5, 7.5),
}
function RivalsModsState.RestoreThirdPersonOffset()
local state = RivalsModsState
if not state.ThirdPersonOffsetApplied then return end
state.ThirdPersonOffsetApplied = false
local controller = state.CameraController
local spring = controller and rawget(controller, '_pov_spring')
local cameraState = controller and rawget(controller, 'CameraState')
if type(spring) ~= 'table' or type(cameraState) ~= 'table' or type(cameraState.GetPublicState) ~= 'function' then
return
end
local ok, current = pcall(cameraState.GetPublicState, cameraState)
if ok and current ~= nil then
local default = state.ThirdPersonDefaults[current]
if default then spring.Target = default end
end
end
function RivalsModsState.UpdateThirdPersonOffset()
local state = RivalsModsState
local enabled = IsRivalsModToggleEnabled('PX11T1')
if not enabled and not state.ThirdPersonOffsetApplied then return end
local controller = state.CameraController
if enabled and not controller then controller = state.ResolveCameraController() end
if not controller then return end
local spring = rawget(controller, '_pov_spring')
local cameraState = rawget(controller, 'CameraState')
if type(spring) ~= 'table' or type(cameraState) ~= 'table' or type(cameraState.GetPublicState) ~= 'function' then
return
end
local ok, current = pcall(cameraState.GetPublicState, cameraState)
if not ok then return end
local states = cameraState.States
local isThirdPerson = type(states) == 'table'
and (current == states.ThirdPerson or current == states.ThirdPersonMirrored)
if enabled and isThirdPerson then
local x = ReadRivalsModNumber('PX11S1', 3)
if current == states.ThirdPersonMirrored then x = -x end
spring.Target = Vector3.new(x, ReadRivalsModNumber('PX11S2', 1.5), ReadRivalsModNumber('PX11S3', 7.5))
state.ThirdPersonOffsetApplied = true
elseif state.ThirdPersonOffsetApplied then
state.RestoreThirdPersonOffset()
end
end
function RivalsModsState.ShouldSuppressViewmodelAnimation(animator, animationKey)
if type(animationKey) ~= 'string' then return false end
if
IsRivalsModToggleEnabled('P1S31T2')
and (string.find(animationKey, 'Shoot', 1, true) ~= nil or animationKey == 'QuickShot')
then
return true
end
if IsRivalsModToggleEnabled('P1S31T3') and animationKey == rawget(animator, '_sprint_animation') then return true end
if IsRivalsModToggleEnabled('P1S31T4') and animationKey == rawget(animator, '_equip_animation') then return true end
if IsRivalsModToggleEnabled('P1S31T5') and string.find(animationKey, 'Reload', 1, true) ~= nil then return true end
return false
end
function RivalsModsState.ApplyViewmodelMotionSuppression(items)
if not IsRivalsModToggleEnabled('P1S31T1') then return end
for _, item in pairs(items) do
local viewModel = type(item) == 'table' and rawget(item, 'ViewModel') or nil
if type(viewModel) == 'table' then
for springName, value in pairs(RivalsModsState.MotionSpringValues) do
local spring = rawget(viewModel, springName)
if type(spring) == 'table' then pcall(function() spring.Value = value end) end
end
end
end
end
-- Without the sprint animation the game falls back to its procedural sprint pose (arms swing and tilt), so No Sprint Animation
-- also switches that pose off for the weapons in hand. The flag lives on the shared item info and is put back afterwards.
RivalsModsState.OriginalProceduralSprint = setmetatable({}, { __mode = 'k' })
function RivalsModsState.RestoreSprintPose()
local saved = RivalsModsState.OriginalProceduralSprint
for info, record in pairs(saved) do
pcall(rawset, info, 'DisableProceduralSprinting', record.value)
saved[info] = nil
end
end
function RivalsModsState.ApplySprintPoseSuppression(items)
if not IsRivalsModToggleEnabled('P1S31T3') then
RivalsModsState.RestoreSprintPose()
return
end
local saved = RivalsModsState.OriginalProceduralSprint
for _, item in pairs(items) do
local viewModel = type(item) == 'table' and rawget(item, 'ViewModel') or nil
local info = type(viewModel) == 'table' and rawget(viewModel, 'Info') or nil
if type(info) == 'table' then
if saved[info] == nil then saved[info] = { value = rawget(info, 'DisableProceduralSprinting') } end
pcall(rawset, info, 'DisableProceduralSprinting', true)
end
end
end
-- The viewmodel springs are time based, so zeroing them just before the game's update leaves almost nothing behind; the
-- RenderStepped pass alone can land after the update and leave a trace of the motion.
function RivalsModsState.SyncMotionStep()
local state = RivalsModsState
local wanted = IsRivalsModToggleEnabled('P1S31T1')
if wanted and not state.MotionStepBound then
state.MotionStepBound = true
RunService:BindToRenderStep(
'ZkxHubViewmodelCalm',
Enum.RenderPriority.First.Value,
GuardRivalsCallback('ViewmodelCalm_Step', function()
local fighter = ResolveLocalFighter()
if fighter and type(fighter.Items) == 'table' then
RivalsModsState.ApplyViewmodelMotionSuppression(fighter.Items)
end
end)
)
elseif not wanted and state.MotionStepBound then
state.MotionStepBound = false
pcall(function() RunService:UnbindFromRenderStep('ZkxHubViewmodelCalm') end)
end
end
function RivalsModsState.RefreshViewmodelEffects()
local state = RivalsModsState
local fighter = ResolveLocalFighter()
local items = fighter and type(fighter.Items) == 'table' and fighter.Items or {}
state.ApplyViewmodelMotionSuppression(items)
state.ApplySprintPoseSuppression(items)
state.SyncMotionStep()
RivalsRuntimeBridge.NativeRemovals.SyncAnimationHook()
RivalsRuntimeBridge.NativeRemovals.SyncViewmodelOffsetHook()
end
function RivalsModsState.RestoreClientModifiers()
local state = RivalsModsState
state.RestoreThirdPersonOffset()
if state.CameraController and state.CameraShakeOriginalEnabled ~= nil then
state.CameraController._shake_enabled = state.CameraShakeOriginalEnabled
end
if
state.CameraController
and state.CameraThirdPersonCaptured
and type(state.CameraController.SetThirdPersonOverride) == 'function'
then
state.CameraController:SetThirdPersonOverride(state.CameraThirdPersonOriginal)
end
if state.CameraController and type(state.CameraController.SetExternalFOVOffset) == 'function' then
state.CameraController:SetExternalFOVOffset('ZkxHub', 0)
end
state.CameraShakeOriginalEnabled = nil
state.CameraThirdPersonCaptured = false
state.CameraThirdPersonOriginal = nil
state.CameraThirdPersonEntered = false
state.CameraViewModelOriginal = nil
state.CameraController = nil
state.RestoreSprintPose()
if state.MotionStepBound then
state.MotionStepBound = false
pcall(function() RunService:UnbindFromRenderStep('ZkxHubViewmodelCalm') end)
end
RivalsRuntimeBridge.NativeRemovals.RevertViewmodelOffsetHook()
RivalsRuntimeBridge.NativeRemovals.RevertAnimationHook()
RivalsModsState.RestorePersistentItemModifiers(true)
end
function RivalsModsState.ResolveGunModule()
local state = RivalsModsState
if state.GunModule then return state.GunModule end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local itemTypes = modules and modules:FindFirstChild('ItemTypes')
local gunModuleScript = itemTypes and itemTypes:FindFirstChild('Gun')
if not gunModuleScript then return nil end
local ok, gunModule = pcall(require, gunModuleScript)
if not ok then return nil end
state.GunModule = gunModule
return gunModule
end
function RivalsModsState.ResolveMeleeModule()
local state = RivalsModsState
if state.MeleeModule then return state.MeleeModule end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local itemTypes = modules and modules:FindFirstChild('ItemTypes')
local meleeModuleScript = itemTypes and itemTypes:FindFirstChild('Melee')
if not meleeModuleScript then return nil end
local ok, meleeModule = pcall(require, meleeModuleScript)
if not ok then return nil end
state.MeleeModule = meleeModule
return meleeModule
end
function RivalsModsState.ResolveGunbladeModule()
local state = RivalsModsState
if state.GunbladeModule then return state.GunbladeModule end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local items = modules and modules:FindFirstChild('Items')
local gunbladeModuleScript = items and items:FindFirstChild('Gunblade')
if not gunbladeModuleScript then return nil end
local ok, gunbladeModule = pcall(require, gunbladeModuleScript)
if not ok then return nil end
state.GunbladeModule = gunbladeModule
return gunbladeModule
end
function RivalsModsState.ResolveGunStartShootingBase(fallback)
local gunModule = RivalsModsState.ResolveGunModule()
if gunModule and type(gunModule.StartShooting) == 'function' then
local originalGunStartShooting = RivalsModsState.OriginalGunStartShooting
if fallback == originalGunStartShooting or fallback == gunModule.StartShooting then
return gunModule.StartShooting
end
end
local meleeModule = RivalsModsState.ResolveMeleeModule()
if meleeModule and type(meleeModule.StartShooting) == 'function' then
local originalMeleeStartShooting = RivalsModsState.OriginalMeleeStartShooting
if fallback == originalMeleeStartShooting or fallback == meleeModule.StartShooting then
return meleeModule.StartShooting
end
end
local gunbladeModule = RivalsModsState.ResolveGunbladeModule()
if gunbladeModule and type(gunbladeModule.StartShooting) == 'function' then
local originalGunbladeStartShooting = RivalsModsState.OriginalGunbladeStartShooting
if fallback == originalGunbladeStartShooting or fallback == gunbladeModule.StartShooting then
return gunbladeModule.StartShooting
end
end
return fallback
end
local function ResolveRivalsModsStartShootingItem(item)
if type(item) == 'table' and type(item.Name) == 'string' and item.Name ~= '' then return item end
local fighter = ResolveLocalFighter()
local equippedItem = fighter and fighter.EquippedItem or nil
if type(equippedItem) == 'table' and type(equippedItem.Name) == 'string' and equippedItem.Name ~= '' then
return equippedItem
end
return nil
end
function ResolveRivalsWeaponSpeedScale()
if not IsRivalsModToggleEnabled('P4S1T1') then return 1 end
local weaponSpeedBoost = math.clamp(ReadRivalsModNumber('P4S1S4', 85), 0, 85)
return 1 / (1 + (weaponSpeedBoost / 100))
end
local function ResolveRivalsReloadKey(item, reloadEnum)
local info = item and item.Info or nil
if not info then return nil end
if reloadEnum ~= nil and type(item.FromEnum) == 'function' then
local ok, resolvedReloadKey = pcall(function() return item:FromEnum(reloadEnum) end)
if ok and type(resolvedReloadKey) == 'string' then return resolvedReloadKey end
end
local currentAmmo = ReadItemValue(item, 'Ammo')
if type(currentAmmo) == 'number' and currentAmmo <= 0 and info.HasEmptyReload then return 'EmptyReload' end
return 'Reload'
end
local function WithScaledRivalsReloadTimings(info, reloadKey, reloadDurationScale, callback)
if type(callback) ~= 'function' then return nil end
if not info or type(reloadKey) ~= 'string' or type(reloadDurationScale) ~= 'number' or reloadDurationScale >= 0.999 then
return callback()
end
local timingFields = nil
if info.ReloadType == 'Regular' then
timingFields = {
reloadKey .. 'Length',
reloadKey .. 'ActionTimestamp',
}
elseif info.ReloadType == 'Segmented' then
timingFields = {
reloadKey .. 'StartLength',
reloadKey .. 'StartActionTimestamp',
reloadKey .. 'SegmentLength',
reloadKey .. 'SegmentActionTimestamp',
reloadKey .. 'FinishLength',
reloadKey .. 'FinishActionTimestamp',
}
else
return callback()
end
local originalTimings = {}
for _, fieldName in ipairs(timingFields) do
local fieldValue = info[fieldName]
if type(fieldValue) == 'number' then
originalTimings[fieldName] = fieldValue
info[fieldName] = math.max(0.05, fieldValue * reloadDurationScale)
end
end
local results = table.pack(pcall(callback))
for fieldName, fieldValue in pairs(originalTimings) do
info[fieldName] = fieldValue
end
if not results[1] then
ReportRivalsRuntimeIssue('mods_reload_timings', results[2])
return nil
end
return table.unpack(results, 2, results.n)
end
local function StopRivalsEquipAnimations(item)
local viewModel = item and item.ViewModel
if not viewModel then return end
if type(viewModel.StopAnimation) == 'function' then
pcall(function() viewModel:StopAnimation('Equip') end)
pcall(function() viewModel:StopAnimation('EquipEmpty') end)
return
end
local animator = viewModel.Animator
if animator and type(animator.StopAnimation) == 'function' then
pcall(function() animator:StopAnimation('Equip') end)
pcall(function() animator:StopAnimation('EquipEmpty') end)
end
end
-- The class the live guns use is the table in their metatable chain that owns the gun methods (ClientItem has _Recoil but no
-- StartShooting, Melee has no _Recoil). On most executors require() returns that same table; where it does not, hooks on the required
-- module never run, so the live class wins.
function RivalsModsState.ResolveLiveGunClass()
local fighter = ResolveLocalFighter()
local items = fighter and type(fighter.Items) == 'table' and fighter.Items or nil
if not items then return nil end
for _, item in pairs(items) do
local class = type(item) == 'table' and getmetatable(item) or nil
local depth = 0
while type(class) == 'table' and depth < 8 do
if
type(rawget(class, '_Recoil')) == 'function'
and type(rawget(class, 'StartShooting')) == 'function'
and type(rawget(class, 'StartReloading')) == 'function'
then
return class
end
class = getmetatable(class)
depth = depth + 1
end
end
return nil
end
function RivalsModsState.RestoreGunHooks()
local state = RivalsModsState
local gunModule = state.GunModule
if gunModule then
if state.OriginalGunStartShooting then gunModule.StartShooting = state.OriginalGunStartShooting end
if state.OriginalGunStartReloading then gunModule.StartReloading = state.OriginalGunStartReloading end
if state.OriginalGunRecoil then gunModule._Recoil = state.OriginalGunRecoil end
if state.OriginalGunGetAimSpeed then gunModule.GetAimSpeed = state.OriginalGunGetAimSpeed end
if state.OriginalGunEquip then gunModule.Equip = state.OriginalGunEquip end
end
state.OriginalGunStartShooting = nil
state.OriginalGunStartReloading = nil
state.OriginalGunRecoil = nil
state.OriginalGunGetAimSpeed = nil
state.OriginalGunEquip = nil
end
function RivalsModsState.EnsureGunHooks()
local state = RivalsModsState
local liveGun = RivalsModsState.ResolveLiveGunClass()
if liveGun and not rawequal(liveGun, state.GunModule) then
RivalsModsState.RestoreGunHooks()
state.GunModule = liveGun
end
local gunModule = RivalsModsState.ResolveGunModule()
if not gunModule then return false end
if type(gunModule.StartShooting) == 'function' and not state.OriginalGunStartShooting then
local originalStartShooting = gunModule.StartShooting
state.OriginalGunStartShooting = originalStartShooting
gunModule.StartShooting = function(self, ...)
local item = ResolveRivalsModsStartShootingItem(self)
if not item then return nil end
local info = item.Info
local originalShootCooldown = nil
local originalBurstCooldown = nil
local originalQuickShotCooldown = nil
if IsRivalsModToggleEnabled('P4S1T1') and info then
local weaponSpeedScale = ResolveRivalsWeaponSpeedScale()
if type(info.ShootCooldown) == 'number' then
originalShootCooldown = info.ShootCooldown
info.ShootCooldown = math.max(0.001, originalShootCooldown * weaponSpeedScale)
end
if type(info.ShootBurstCooldown) == 'number' then
originalBurstCooldown = info.ShootBurstCooldown
info.ShootBurstCooldown = math.max(0.001, originalBurstCooldown * weaponSpeedScale)
end
if type(info.QuickShotCooldown) == 'number' then
originalQuickShotCooldown = info.QuickShotCooldown
info.QuickShotCooldown = math.max(0.001, originalQuickShotCooldown * weaponSpeedScale)
end
end
local didPrimeSilent, silentCamera, silentOriginalCFrame = false, nil, nil
if type(state.BeginAimbotSilentShot) == 'function' then
didPrimeSilent, silentCamera, silentOriginalCFrame = state.BeginAimbotSilentShot(item)
end
local results = CallGameAtIdentity2(originalStartShooting, item, ...)
if type(state.FinishAimbotSilentShot) == 'function' then
state.FinishAimbotSilentShot(didPrimeSilent, silentCamera, silentOriginalCFrame)
end
if originalShootCooldown ~= nil then info.ShootCooldown = originalShootCooldown end
if originalBurstCooldown ~= nil then info.ShootBurstCooldown = originalBurstCooldown end
if originalQuickShotCooldown ~= nil then info.QuickShotCooldown = originalQuickShotCooldown end
if not results[1] then
ReportRivalsRuntimeIssue('mods_start_shooting', results[2])
return nil
end
return table.unpack(results, 2, results.n)
end
end
if type(gunModule.StartReloading) == 'function' and not state.OriginalGunStartReloading then
local originalStartReloading = gunModule.StartReloading
state.OriginalGunStartReloading = originalStartReloading
gunModule.StartReloading = function(self, forceReload, reloadEnum, animationEnum, segmentedCount)
if not IsRivalsModToggleEnabled('P4S1T2') then
return CallGameOrError(originalStartReloading, self, forceReload, reloadEnum, animationEnum, segmentedCount)
end
local reloadSpeedBoost = math.clamp(ReadRivalsModNumber('P4S1S3', 10), 0, 20)
if reloadSpeedBoost <= 0 then
return CallGameOrError(originalStartReloading, self, forceReload, reloadEnum, animationEnum, segmentedCount)
end
local reloadDurationScale = 1 - (reloadSpeedBoost / 100)
local resolvedReloadKey = ResolveRivalsReloadKey(self, reloadEnum)
return WithScaledRivalsReloadTimings(
self and self.Info or nil,
resolvedReloadKey,
reloadDurationScale,
function()
return CallGameOrError(
originalStartReloading,
self,
forceReload,
reloadEnum,
animationEnum,
segmentedCount
)
end
)
end
end
if type(gunModule._Recoil) == 'function' and not state.OriginalGunRecoil then
local originalRecoil = gunModule._Recoil
state.OriginalGunRecoil = originalRecoil
gunModule._Recoil = function(self, multiplier)
if IsRivalsModToggleEnabled('P4S1T4') and type(multiplier) == 'number' then
local reduction = math.clamp(ReadRivalsModNumber('P4S1S2', 100), 0, 100)
local reducedMultiplier = multiplier * (1 - (reduction / 100))
if reducedMultiplier <= 0.001 then return end
return CallGameOrError(originalRecoil, self, reducedMultiplier)
end
return CallGameOrError(originalRecoil, self, multiplier)
end
end
if type(gunModule.GetAimSpeed) == 'function' and not state.OriginalGunGetAimSpeed then
local originalGetAimSpeed = gunModule.GetAimSpeed
state.OriginalGunGetAimSpeed = originalGetAimSpeed
gunModule.GetAimSpeed = function(self)
local originalAimSpeed = CallGameOrError(originalGetAimSpeed, self)
if IsRivalsModToggleEnabled('P4S2T2') and type(originalAimSpeed) == 'number' then
local adsSpeedBoost = math.clamp(ReadRivalsModNumber('P4S2S2', 85), 0, 85)
return math.max(1, originalAimSpeed * (1 + (adsSpeedBoost / 100)))
end
return originalAimSpeed
end
end
if type(gunModule.Equip) == 'function' and not state.OriginalGunEquip then
local originalEquip = gunModule.Equip
state.OriginalGunEquip = originalEquip
gunModule.Equip = function(self, ...)
local results = table.pack(CallGameOrError(originalEquip, self, ...))
if IsRivalsModToggleEnabled('P4S2T3') then
local equipSpeedBoost = math.clamp(ReadRivalsModNumber('P4S2S3', 100), 0, 80)
local equipSpeedScale = 1 / (1 + (equipSpeedBoost / 100))
local now = tick()
local remainingEquipCooldown = type(self._equip_cooldown) == 'number'
and math.max(self._equip_cooldown - now, 0)
or 0
self._equip_cooldown = now + (remainingEquipCooldown * equipSpeedScale)
local equipHash = self._equip_hash
local scaledEquipDuration = remainingEquipCooldown * equipSpeedScale
task.delay(scaledEquipDuration, function()
if self and self._equip_hash == equipHash then StopRivalsEquipAnimations(self) end
end)
end
return table.unpack(results, 1, results.n)
end
end
return true
end
function RivalsModsState.EnsureMeleeHooks()
local meleeModule = RivalsModsState.ResolveMeleeModule()
if not meleeModule then return false end
local state = RivalsModsState
if type(meleeModule.StartShooting) == 'function' and not state.OriginalMeleeStartShooting then
local originalStartShooting = meleeModule.StartShooting
state.OriginalMeleeStartShooting = originalStartShooting
meleeModule.StartShooting = function(self, ...)
local item = ResolveRivalsModsStartShootingItem(self)
if not item then return nil end
local info = item.Info
local originalAttackCooldown = nil
if IsRivalsModToggleEnabled('P4S1T1') and info then
local weaponSpeedScale = ResolveRivalsWeaponSpeedScale()
if type(info.AttackCooldown) == 'number' then
originalAttackCooldown = info.AttackCooldown
info.AttackCooldown = math.max(0.001, originalAttackCooldown * weaponSpeedScale)
end
end
local results = CallGameAtIdentity2(originalStartShooting, item, ...)
if originalAttackCooldown ~= nil then info.AttackCooldown = originalAttackCooldown end
if not results[1] then
ReportRivalsRuntimeIssue('mods_melee_start_shooting', results[2])
return nil
end
return table.unpack(results, 2, results.n)
end
end
return true
end
function RivalsModsState.EnsureGunbladeHooks()
local gunbladeModule = RivalsModsState.ResolveGunbladeModule()
if not gunbladeModule then return false end
local state = RivalsModsState
if type(gunbladeModule.StartShooting) == 'function' and not state.OriginalGunbladeStartShooting then
local originalStartShooting = gunbladeModule.StartShooting
state.OriginalGunbladeStartShooting = originalStartShooting
gunbladeModule.StartShooting = function(self, ...)
local item = ResolveRivalsModsStartShootingItem(self)
if not item then return nil end
local info = item.Info
local originalBladeCooldown = nil
if
IsRivalsModToggleEnabled('P4S1T1')
and info
and type(item and item.Get) == 'function'
and item:Get('Mode') == 'Blade'
then
local weaponSpeedScale = ResolveRivalsWeaponSpeedScale()
if type(info.BladeCooldown) == 'number' then
originalBladeCooldown = info.BladeCooldown
info.BladeCooldown = math.max(0.001, originalBladeCooldown * weaponSpeedScale)
end
end
local results = CallGameAtIdentity2(originalStartShooting, item, ...)
if originalBladeCooldown ~= nil then info.BladeCooldown = originalBladeCooldown end
if not results[1] then
ReportRivalsRuntimeIssue('mods_gunblade_start_shooting', results[2])
return nil
end
return table.unpack(results, 2, results.n)
end
end
return true
end
function RivalsModsState.EnsureHooks()
local state = RivalsModsState
-- every step runs on its own: a feature that cannot start on this executor must not stop the gun hooks below
local function Step(label, fn)
local ok, err = pcall(fn)
if not ok then ReportRivalsRuntimeIssue('mods_ensure_' .. label, err) end
return ok
end
Step('persistent_items', RivalsModsState.RefreshPersistentItemModifiers)
Step('camera', RivalsModsState.UpdateCameraModifiers)
if state.NoSpreadController then Step('no_spread_sync', RivalsModsState.SyncNoSpreadEnabled) end
if state.GrenadeFuseController then Step('grenade_fuse_sync', RivalsModsState.SyncGrenadeFuse) end
if state.KnifeExtenderController then Step('knife_sync', RivalsModsState.SyncKnifeExtender) end
Step('extras_sync', RivalsRuntimeBridge.Extras.SyncControllers)
if
not (
IsRivalsModToggleEnabled('P4S1T1')
or IsRivalsModToggleEnabled('P4S1T2')
or IsRivalsModToggleEnabled('P4S1T3')
or IsRivalsModToggleEnabled('P4S1T4')
or IsRivalsModToggleEnabled('P4S1T5')
or IsRivalsModToggleEnabled('P4S1T6')
or IsRivalsModToggleEnabled('P4S1T7')
or IsRivalsModToggleEnabled('P4S2T2')
or IsRivalsModToggleEnabled('P4S2T3')
or IsRivalsModToggleEnabled('P4S2T4')
or IsRivalsModToggleEnabled('P4S2T5')
or IsRivalsModToggleEnabled('P4S2T6')
or IsRivalsModToggleEnabled('P4S2T8')
or IsRivalsModToggleEnabled('P4S2T9')
or IsRivalsModToggleEnabled('P4S2T10')
or IsRivalsModToggleEnabled('KE_Enabled')
or RivalsRuntimeBridge.Extras.NeedsInputHook()
)
then
state.PendingEnsureHooks = false
return false
end
if not IsReplicatedStateReady() then
state.PendingEnsureHooks = true
return false
end
state.PendingEnsureHooks = false
if IsRivalsModToggleEnabled('P4S1T3') or IsRivalsModToggleEnabled('P4S1T6') or IsRivalsModToggleEnabled('P4S1T7') then
__ZkhHub_genv.ZkxHubCaps.gate('No Spread / Grenade Fuse', 'debug.getupvalues', 'debug.setupvalue')
end
local inputOk, inputReady = pcall(RivalsModsState.EnsureZkhHubInputHook)
if not inputOk then
ReportRivalsRuntimeIssue('mods_ensure_input_hook', inputReady)
elseif inputReady then
Step('no_spread', RivalsModsState.SyncNoSpreadEnabled)
Step('grenade_fuse', RivalsModsState.SyncGrenadeFuse)
Step('knife', RivalsModsState.SyncKnifeExtender)
Step('extras', RivalsRuntimeBridge.Extras.SyncControllers)
end
Step('gun_hooks', RivalsModsState.EnsureGunHooks)
Step('melee_hooks', RivalsModsState.EnsureMeleeHooks)
Step('gunblade_hooks', RivalsModsState.EnsureGunbladeHooks)
return true
end
function RivalsModsState.RestoreHooks()
local state = RivalsModsState
RivalsModsState.RestoreClientModifiers()
RivalsModsState.RestoreZkhHubInputHook()
local gunModule = state.GunModule
if gunModule then
if state.OriginalGunStartShooting then gunModule.StartShooting = state.OriginalGunStartShooting end
if state.OriginalGunStartReloading then gunModule.StartReloading = state.OriginalGunStartReloading end
if state.OriginalGunRecoil then gunModule._Recoil = state.OriginalGunRecoil end
if state.OriginalGunGetAimSpeed then gunModule.GetAimSpeed = state.OriginalGunGetAimSpeed end
if state.OriginalGunEquip then gunModule.Equip = state.OriginalGunEquip end
end
local meleeModule = state.MeleeModule
if meleeModule then
if state.OriginalMeleeStartShooting then meleeModule.StartShooting = state.OriginalMeleeStartShooting end
end
local gunbladeModule = state.GunbladeModule
if gunbladeModule then
if state.OriginalGunbladeStartShooting then gunbladeModule.StartShooting = state.OriginalGunbladeStartShooting end
end
state.GunModule = nil
state.MeleeModule = nil
state.GunbladeModule = nil
state.OriginalGunStartShooting = nil
state.OriginalMeleeStartShooting = nil
state.OriginalGunbladeStartShooting = nil
state.OriginalGunStartReloading = nil
state.OriginalGunRecoil = nil
state.OriginalGunGetAimSpeed = nil
state.OriginalGunEquip = nil
end
end
-- Aimbot
local RefreshAimbotEnabledToggleKeypickerState = nil
-- ======================================================================
-- Aimbot bridge: pointer, targeting helpers
-- ======================================================================
local AimbotBridge = {}
do
do
local function IsTouchAimbotDevice() return UserInputService.TouchEnabled and not UserInputService.MouseEnabled end
local function GetAimbotViewportCenter()
local camera = Workspace.CurrentCamera
if camera then return Vector2.new(camera.ViewportSize.X * 0.5, camera.ViewportSize.Y * 0.5) end
return Vector2.zero
end
AimbotBridge.GetAimbotPointerPosition = function()
if IsTouchAimbotDevice() or IsAimbotGameReady() then return GetAimbotViewportCenter() end
return UserInputService:GetMouseLocation()
end
AimbotBridge.ResolveAimbotEquippedItem = function()
local fighter = ResolveLocalFighter()
return fighter and fighter.EquippedItem or nil
end
local AIMBOT_HARD_BLOCK_ITEMS = {
['Warper'] = true,
['Medkit'] = true,
['Subspace Tripmine'] = true,
['Warpstone'] = true,
['Flashbang'] = true,
['Grenade'] = true,
['Jump Pad'] = true,
['Molotov'] = true,
['Satchel'] = true,
['Smoke Grenade'] = true,
['War Horn'] = true,
['Grappler'] = true,
['Flamethrower'] = true,
}
local AIMBOT_HOLD_FIRE_ITEMS = {
['Flamethrower'] = true,
}
AimbotBridge.CanUseAimbotWithItem = function(item)
if not item then return false end
if AIMBOT_HARD_BLOCK_ITEMS[item.Name] == true then return false end
local selection = Options.P2S1D4 and Options.P2S1D4.Value
if type(selection) == 'table' then
if selection[item.Name] == true then return false end
for _, selectedName in ipairs(selection) do
if selectedName == item.Name then return false end
end
end
local info = item.Info
if info and type(item.StartShooting) == 'function' then
local hasTimedShotCooldown = type(info.ShootCooldown) == 'number'
or type(info.ShootBurstCooldown) == 'number'
or type(info.ShootBurst) == 'number'
or type(info.QuickShotCooldown) == 'number'
or type(info.ChargeReleaseCooldown) == 'number'
or type(info.BladeCooldown) == 'number'
local hasMeleeAttackCooldown = type(info.AttackCooldown) == 'number'
and ((info.Class == 'Melee') or (info.Type == 'Melee'))
if hasTimedShotCooldown or hasMeleeAttackCooldown then return true end
end
local name = item.Name
if name == 'Daggers' or name == 'Bow' or name == 'Slingshot' then return true end
if AIMBOT_HOLD_FIRE_ITEMS[name] == true then return true end
return false
end
AimbotBridge.CanUseTriggerbotWithItem = function(item) return AimbotBridge.CanUseAimbotWithItem(item) end
AimbotBridge.SyncAimbotToggleKeypickerToUi = function(toggle, keypicker)
if not toggle or not keypicker then
return function() end
end
local applyingToggleState = false
local applyingKeypickerState = false
local lastMode = keypicker.Mode
local function syncKeypickerFromToggle(value)
if keypicker.Mode ~= 'Toggle' then
lastMode = keypicker.Mode
return
end
local nextState = value == true
if keypicker.Toggled == nextState then
lastMode = keypicker.Mode
return
end
applyingToggleState = true
keypicker.Toggled = nextState
if type(keypicker.Update) == 'function' then keypicker:Update() end
applyingToggleState = false
lastMode = keypicker.Mode
end
if type(toggle.OnChanged) == 'function' then
toggle:OnChanged(function(value)
if applyingKeypickerState then return end
syncKeypickerFromToggle(value)
end)
end
if type(keypicker.OnClick) == 'function' then
keypicker:OnClick(function(state)
if applyingToggleState or keypicker.Mode ~= 'Toggle' then
lastMode = keypicker.Mode
return
end
local nextValue = state == true
if toggle.Value == nextValue then
lastMode = keypicker.Mode
return
end
applyingKeypickerState = true
toggle:SetValue(nextValue)
applyingKeypickerState = false
lastMode = keypicker.Mode
end)
end
syncKeypickerFromToggle(toggle.Value)
return function()
if keypicker.Mode == 'Toggle' and lastMode ~= 'Toggle' then
syncKeypickerFromToggle(toggle.Value)
else
lastMode = keypicker.Mode
end
end
end
AimbotBridge.IsRagebotForcingCombat = function()
local bot = RivalsRuntimeBridge.CombatBot
return bot ~= nil and bot.IsActive()
end
AimbotBridge.ResolveAimbotMode = function()
local mode = Options.P2S1D1 and Options.P2S1D1.Value or 'Silent'
if mode ~= 'Camera' then return 'Silent' end
return mode
end
AimbotBridge.IsAimbotSelected = function()
return AimbotBridge.IsRagebotForcingCombat()
or (AimbotBridge.ResolveAimbotMode() == 'Silent' and Toggles.P2S1T1 and Toggles.P2S1T1.Value == true)
end
AimbotBridge.IsExplicitAimbotEnabled = function()
if RefreshAimbotEnabledToggleKeypickerState then RefreshAimbotEnabledToggleKeypickerState() end
if not AimbotBridge.CanUseAimbotWithItem(AimbotBridge.ResolveAimbotEquippedItem()) then return false end
if not (Toggles.P2S1T1 and Toggles.P2S1T1.Value) then return false end
if Options.P2S1T1K and type(Options.P2S1T1K.GetState) == 'function' then return Options.P2S1T1K:GetState() end
return true
end
AimbotBridge.IsAimbotEnabled = function()
if AimbotBridge.IsRagebotForcingCombat() then
return AimbotBridge.CanUseAimbotWithItem(AimbotBridge.ResolveAimbotEquippedItem())
end
return AimbotBridge.ResolveAimbotMode() == 'Silent' and AimbotBridge.IsExplicitAimbotEnabled()
end
AimbotBridge.IsCameraAimEnabled = function()
if AimbotBridge.ResolveAimbotMode() ~= 'Camera' or not AimbotBridge.IsExplicitAimbotEnabled() then return false end
if AimbotInputState.SyntheticInputBlocked() then return false end
if
not IsTouchAimbotDevice()
and not AimbotInputState.RightMouse
and not (Toggles.PX19T1 and Toggles.PX19T1.Value == false)
then
return false
end
return true
end
AimbotBridge.IsTriggerbotEnabled = function()
if not AimbotBridge.CanUseTriggerbotWithItem(AimbotBridge.ResolveAimbotEquippedItem()) then return false end
if AimbotBridge.IsRagebotForcingCombat() then return true end
if not (Toggles.P2S1T7 and Toggles.P2S1T7.Value) then return false end
if Options.P2S1T7K and type(Options.P2S1T7K.GetState) == 'function' then return Options.P2S1T7K:GetState() end
return true
end
AimbotBridge.IsAimbotIgnoreFovEnabled = function() return Toggles.P2S1T3 and Toggles.P2S1T3.Value == true end
AimbotBridge.UpdateAimbotFovCircle = function(active, gameReady, usesFov)
local showFov = Toggles.P2S1T5 and Toggles.P2S1T5.Value
if not active or not gameReady or not usesFov or not showFov then
AimbotFovCircle.Visible = false
return
end
AimbotFovCircle.Position = AimbotBridge.GetAimbotPointerPosition()
AimbotFovCircle.Radius = Options.P2S1S2 and Options.P2S1S2.Value or 170
AimbotFovCircle.Visible = true
end
AimbotBridge.IsAimbotShootInputHeld = function()
if not AimbotBridge.CanUseAimbotWithItem(AimbotBridge.ResolveAimbotEquippedItem()) then return false end
local touchActive = AimbotInputState.TouchCount > 0
return AimbotInputState.LeftMouse or AimbotInputState.RightMouse or touchActive
end
end
do
AimbotBridge.ReadAimbotShootRemaining = function(item)
local shootCooldown = item and rawget(item, '_shoot_cooldown')
if type(shootCooldown) == 'number' then return math.max(shootCooldown - tick(), 0) end
return 0
end
AimbotBridge.ReadAimbotReloadRemaining = function(item)
local reloadCooldown = item and rawget(item, '_reload_cooldown')
if type(reloadCooldown) == 'number' then return math.max(reloadCooldown - tick(), 0) end
return 0
end
AimbotBridge.ReadAimbotLastShot = function(item)
local lastShot = item and rawget(item, '_last_shot')
if type(lastShot) == 'number' then return lastShot end
return nil
end
AimbotBridge.ReadAimbotIsCharging = function(item) return item and rawget(item, '_is_charging') == true end
local function IsAimbotKatanaDeflectCheckEnabled() return Toggles.P2S1T8 and Toggles.P2S1T8.Value == true end
local AIMBOT_KATANA_DEFLECT_BYPASS_ITEMS = {
['Slingshot'] = true,
['Bow'] = true,
['Exogun'] = true,
['Spray'] = true,
['Flamethrower'] = true,
['Grenade Launcher'] = true,
['RPG'] = true,
['Crossbow'] = true,
['Daggers'] = true,
}
local function IsAimbotKatanaDeflectBypassItem(item)
if not item then return false end
return AIMBOT_KATANA_DEFLECT_BYPASS_ITEMS[item.Name] == true
end
RivalsRuntimeBridge.IsRivalsKatanaDeflectActiveItem = function(item)
if not item or item.Name ~= 'Katana' then return false end
local now = tick()
local attackCooldown = rawget(item, '_attack_cooldown')
local deflectCooldown = rawget(item, '_deflect_cooldown')
local deflectHash = rawget(item, '_deflect_hash')
return type(attackCooldown) == 'number'
and attackCooldown > now
and type(deflectCooldown) == 'number'
and deflectCooldown > now
and type(deflectHash) == 'number'
and deflectHash % 2 == 1
end
AimbotBridge.ShouldIgnoreAimbotKatanaDeflectTarget = function(player, localItem)
if not player or not IsAimbotKatanaDeflectCheckEnabled() or IsAimbotKatanaDeflectBypassItem(localItem) then
return false
end
local fighter = TrackedFightersByPlayer[player]
return RivalsRuntimeBridge.IsRivalsKatanaDeflectActiveItem(fighter and fighter.EquippedItem or nil)
end
AimbotBridge.IsAimbotSilentShotHookItem = function(item)
if not AimbotBridge.CanUseTriggerbotWithItem(item) then return false end
local info = item and item.Info or nil
local hasTimedShotCooldown = type(info and info.ShootCooldown) == 'number'
or type(info and info.ShootBurstCooldown) == 'number'
or type(info and info.ShootBurst) == 'number'
or type(info and info.QuickShotCooldown) == 'number'
or type(info and info.ChargeReleaseCooldown) == 'number'
or type(info and info.BladeCooldown) == 'number'
local hasMeleeAttackCooldown = type(info and info.AttackCooldown) == 'number'
and ((info.Class == 'Melee') or (info.Type == 'Melee'))
return item ~= nil and type(item.StartShooting) == 'function' and (hasTimedShotCooldown or hasMeleeAttackCooldown)
end
AimbotBridge.ShouldUseAimbotSilentContinuousAim = function(item)
if item and item.Name == 'Flamethrower' then return rawget(item, '_is_using') == true end
if not AimbotBridge.IsAimbotSilentShotHookItem(item) then return true end
return AimbotBridge.ReadAimbotIsCharging(item)
end
end
end
-- ======================================================================
-- Silent aim and triggerbot runtime
-- ======================================================================
do
local function ResolveAimbotSilentDebugEnabled() return Toggles.P9S2T1 and Toggles.P9S2T1.Value == true end
local function ReadAimbotSilentToggle(toggleId, fallback)
local toggle = Toggles[toggleId]
if toggle ~= nil then return toggle.Value == true end
return fallback == true
end
local function ReleaseTriggerbotMouseHold()
if not AimbotSilentConnections.TriggerbotHoldingMouse then return end
local holdX = AimbotSilentConnections.TriggerbotHoldX or 0
local holdY = AimbotSilentConnections.TriggerbotHoldY or 0
local virtualInputManager = Instance.new('VirtualInputManager')
virtualInputManager:SendMouseButtonEvent(holdX, holdY, 0, false, game, 1)
AimbotSilentConnections.TriggerbotHoldingMouse = false
AimbotSilentConnections.TriggerbotHoldX = nil
AimbotSilentConnections.TriggerbotHoldY = nil
end
AimbotBridge.ResetTriggerbotReactionState = function()
AimbotSilentConnections.TriggerbotTarget = nil
AimbotSilentConnections.TriggerbotTargetAcquiredAt = 0
end
AimbotBridge.ResetCameraAimRandomState = function()
AimbotSilentConnections.CameraAimRandomTarget = nil
AimbotSilentConnections.CameraAimRandomPart = nil
end
local function DisconnectAimbotSilentConnections()
ReleaseTriggerbotMouseHold()
for _, connectionName in ipairs({ 'Shot', 'ProjectileShot' }) do
local connection = AimbotSilentConnections[connectionName]
if connection then pcall(function() connection:Disconnect() end) end
end
AimbotSilentConnections.Shot = nil
AimbotSilentConnections.ProjectileShot = nil
local hookedItem = AimbotSilentConnections.HookedItem
local originalStartShooting = AimbotSilentConnections.OriginalStartShooting
if
hookedItem
and originalStartShooting
and hookedItem.StartShooting == AimbotSilentConnections.WrappedStartShooting
then
hookedItem.StartShooting = RivalsModsState.ResolveGunStartShootingBase(originalStartShooting)
end
AimbotSilentConnections.HookedItem = nil
AimbotSilentConnections.OriginalStartShooting = nil
AimbotSilentConnections.WrappedStartShooting = nil
end
local function ResetAimbotRuntimeState()
DisconnectAimbotSilentConnections()
AimbotSilentState.Item = nil
AimbotSilentState.HookTarget = nil
AimbotSilentState.HookTargetCapturedAt = 0
AimbotSilentState.ShotPrimeDepth = 0
end
local function EnsureAimbotSilentConnections(item)
local state = AimbotSilentState
if state.Item ~= item then
DisconnectAimbotSilentConnections()
state.Item = item
state.LastShot = AimbotBridge.ReadAimbotLastShot(item)
state.LastShotChangedAt = 0
state.ShotSignalAt = 0
state.ProjectileShotAt = 0
state.HookTarget = nil
state.HookTargetCapturedAt = 0
end
if not item then return end
if not AimbotSilentConnections.Shot and type(item.Shot) == 'table' and type(item.Shot.Connect) == 'function' then
AimbotSilentConnections.Shot =
item.Shot:Connect(GuardRivalsCallback('Aimbot_Shot', function() AimbotSilentState.ShotSignalAt = tick() end))
end
if
not AimbotSilentConnections.ProjectileShot
and type(item.ProjectileShot) == 'table'
and type(item.ProjectileShot.Connect) == 'function'
then
AimbotSilentConnections.ProjectileShot = item.ProjectileShot:Connect(
GuardRivalsCallback('Aimbot_ProjectileShot', function() AimbotSilentState.ProjectileShotAt = tick() end)
)
end
end
local function ResolveAimbotSilentHoldWindow(item)
local holdWindow = 0
local info = item and item.Info or nil
if ReadAimbotSilentToggle('P9S2T8', true) and type(info and info.ShootCooldown) == 'number' then
holdWindow = math.max(holdWindow, info.ShootCooldown)
end
if ReadAimbotSilentToggle('P9S2T10', true) and type(info and info.ShootBurstCooldown) == 'number' then
holdWindow = math.max(holdWindow, info.ShootBurstCooldown)
end
if ReadAimbotSilentToggle('P9S2T11', true) and type(info and info.QuickShotCooldown) == 'number' then
holdWindow = math.max(holdWindow, info.QuickShotCooldown)
end
if ReadAimbotSilentToggle('P9S2T18', true) and type(info and info.ChargeReleaseCooldown) == 'number' then
holdWindow = math.max(holdWindow, info.ChargeReleaseCooldown)
end
return holdWindow
end
local function ResolveAimbotSilentHookTargetCacheWindow(item)
local info = item and item.Info or nil
local cacheWindow = math.huge
local function consider(window)
if type(window) == 'number' and window > 0 then cacheWindow = math.min(cacheWindow, window) end
end
consider(info and info.ShootBurstCooldown)
consider(info and info.QuickShotCooldown)
consider(info and info.ShootCooldown)
consider(info and info.ChargeReleaseCooldown)
if cacheWindow == math.huge then return 1 / 30 end
return math.clamp(cacheWindow, 1 / 60, 0.08)
end
AimbotBridge.ResolveAimbotSilentDebugEnabled = ResolveAimbotSilentDebugEnabled
AimbotBridge.ReadAimbotSilentToggle = ReadAimbotSilentToggle
AimbotBridge.DisconnectAimbotSilentConnections = DisconnectAimbotSilentConnections
AimbotBridge.ResetAimbotRuntimeState = ResetAimbotRuntimeState
AimbotBridge.EnsureAimbotSilentConnections = EnsureAimbotSilentConnections
AimbotBridge.ResolveAimbotSilentHoldWindow = ResolveAimbotSilentHoldWindow
AimbotBridge.ResolveAimbotSilentHookTargetCacheWindow = ResolveAimbotSilentHookTargetCacheWindow
AimbotBridge.ReleaseTriggerbotMouseHold = ReleaseTriggerbotMouseHold
end
-- ======================================================================
-- Flickbot
-- ======================================================================
RivalsRuntimeBridge.Flickbot = {
State = 'Idle',
Trajectory = nil,
TrajectoryIndex = 1,
ElapsedMs = 0,
TotalMs = 0,
BakedEndDirection = Vector3.zAxis,
Selected = nil,
Timer = 0,
WasHeld = false,
Rng = Random.new(),
OuTheta = 3.5,
TremorFrequencyMin = 8,
TremorFrequencyMax = 12,
SampleDeltaMean = 7.8,
GammaShape = 3.5,
}
function RivalsRuntimeBridge.ResetFlickbot()
local flickbot = RivalsRuntimeBridge.Flickbot
flickbot.State = 'Idle'
flickbot.Trajectory = nil
flickbot.TrajectoryIndex = 1
flickbot.ElapsedMs = 0
flickbot.TotalMs = 0
flickbot.BakedEndDirection = Vector3.zAxis
flickbot.Selected = nil
flickbot.Timer = 0
flickbot.WasHeld = false
end
-- ======================================================================
-- World visuals: lighting, sky, weather, lightning, post effects
-- ======================================================================
RivalsRuntimeBridge.WorldVisuals = {
Initialized = false,
CustomSkyboxesLoaded = false,
Lighting = game:GetService('Lighting'),
SoundService = game:GetService('SoundService'),
Connections = {},
LightingGuard = nil,
OwnedEffects = {},
NativeEffectGuards = {},
OwnedAmbience = nil,
ActiveAmbienceSource = nil,
OwnedWeatherPart = nil,
WeatherEmitters = {},
ActiveWeatherPreset = nil,
WeatherGeneration = 0,
NextLightningAt = 0,
StretchedResolutionBound = false,
StretchedLastCamera = nil,
StretchedLastBase = nil,
StretchedLastResult = nil,
MotionBlurEffect = nil,
MotionBlurLastCFrame = nil,
MotionBlurSize = 0,
OwnedSky = nil,
ActiveSkyName = nil,
NativeSkyGuards = setmetatable({}, { __mode = 'k' }),
OwnedAtmosphere = nil,
NativeAtmosphereGuards = setmetatable({}, { __mode = 'k' }),
CustomSkyboxes = {},
CustomSkyPath = 'ZkxHub/RIVALS Skyboxes.json',
SkyProperties = {
'SkyboxBk',
'SkyboxDn',
'SkyboxFt',
'SkyboxLf',
'SkyboxRt',
'SkyboxUp',
'StarCount',
'CelestialBodiesShown',
'SunAngularSize',
'MoonAngularSize',
'SunTextureId',
'MoonTextureId',
},
AtmosphereProperties = { 'Color', 'Decay', 'Density', 'Offset', 'Glare', 'Haze' },
WeatherPresets = {
Snow = {
{
Texture = 'rbxassetid://119455261341623',
BaseRate = 18,
SpeedMin = 8,
SpeedMax = 12,
SizeStart = 0.025,
SizeEnd = 0.05,
TransparencyMax = 0.4,
LifetimeMin = 4,
LifetimeMax = 6,
RotationMin = 0,
RotationMax = 360,
RotationSpeedMin = -25,
RotationSpeedMax = 25,
BaseSpread = 0.4,
BaseAccelerationY = -3,
},
{
Texture = 'rbxassetid://135953828575052',
BaseRate = 12,
SpeedMin = 12,
SpeedMax = 18,
SizeStart = 0.03,
SizeEnd = 0.08,
TransparencyMax = 0.5,
LifetimeMin = 3,
LifetimeMax = 5,
RotationMin = 0,
RotationMax = 360,
RotationSpeedMin = -35,
RotationSpeedMax = 35,
BaseSpread = 0.45,
BaseAccelerationY = -4,
},
{
Texture = 'rbxassetid://119888390708774',
BaseRate = 48,
SpeedMin = 10,
SpeedMax = 16,
SizeStart = 0.06,
SizeEnd = 0.13,
TransparencyMax = 0.15,
LifetimeMin = 4,
LifetimeMax = 6,
RotationMin = 0,
RotationMax = 360,
RotationSpeedMin = -90,
RotationSpeedMax = 90,
BaseSpread = 0.5,
BaseAccelerationY = -2,
},
},
Rain = {
{
Texture = 'rbxassetid://1822883048',
BaseRate = 180,
SpeedMin = 80,
SpeedMax = 105,
SizeStart = 0.18,
SizeEnd = 0.35,
TransparencyMax = 0.1,
LifetimeMin = 1.4,
LifetimeMax = 1.8,
RotationMin = -5,
RotationMax = 5,
RotationSpeedMin = 0,
RotationSpeedMax = 0,
BaseSpread = 0.4,
BaseAccelerationY = -55,
Orientation = Enum.ParticleOrientation.FacingCamera,
},
{
Texture = 'rbxassetid://113640658844067',
BaseRate = 75,
SpeedMin = 100,
SpeedMax = 135,
SizeStart = 0.22,
SizeEnd = 0.42,
TransparencyMax = 0.25,
LifetimeMin = 1.1,
LifetimeMax = 1.6,
RotationMin = -4,
RotationMax = 4,
RotationSpeedMin = 0,
RotationSpeedMax = 0,
BaseSpread = 0.3,
BaseAccelerationY = -70,
Orientation = Enum.ParticleOrientation.FacingCamera,
},
},
Blizzard = {
{
Texture = 'rbxassetid://119455261341623',
BaseRate = 25,
SpeedMin = 25,
SpeedMax = 40,
SizeStart = 0.025,
SizeEnd = 0.06,
TransparencyMax = 0.35,
LifetimeMin = 2.5,
LifetimeMax = 4,
RotationMin = 0,
RotationMax = 360,
RotationSpeedMin = -45,
RotationSpeedMax = 45,
BaseSpread = 0.55,
BaseAccelerationY = -8,
},
{
Texture = 'rbxassetid://135953828575052',
BaseRate = 20,
SpeedMin = 28,
SpeedMax = 45,
SizeStart = 0.035,
SizeEnd = 0.09,
TransparencyMax = 0.45,
LifetimeMin = 2.2,
LifetimeMax = 3.8,
RotationMin = 0,
RotationMax = 360,
RotationSpeedMin = -55,
RotationSpeedMax = 55,
BaseSpread = 0.6,
BaseAccelerationY = -10,
},
{
Texture = 'rbxassetid://119888390708774',
BaseRate = 90,
SpeedMin = 22,
SpeedMax = 38,
SizeStart = 0.07,
SizeEnd = 0.15,
TransparencyMax = 0.1,
LifetimeMin = 2.8,
LifetimeMax = 4.5,
RotationMin = 0,
RotationMax = 360,
RotationSpeedMin = -120,
RotationSpeedMax = 120,
BaseSpread = 0.7,
BaseAccelerationY = -7,
},
{
Texture = 'rbxassetid://1822883048',
BaseRate = 50,
SpeedMin = 55,
SpeedMax = 80,
SizeStart = 0.14,
SizeEnd = 0.28,
TransparencyMax = 0.2,
LifetimeMin = 1.8,
LifetimeMax = 2.6,
RotationMin = -12,
RotationMax = 12,
RotationSpeedMin = 0,
RotationSpeedMax = 0,
BaseSpread = 0.5,
BaseAccelerationY = -35,
},
},
},
LightingProperties = {
'Ambient',
'OutdoorAmbient',
'ClockTime',
'Brightness',
'ColorShift_Top',
'ColorShift_Bottom',
'EnvironmentDiffuseScale',
'EnvironmentSpecularScale',
'ExposureCompensation',
'TonemapperPreset',
'FogColor',
'FogStart',
'FogEnd',
'GeographicLatitude',
'GlobalShadows',
'ShadowSoftness',
'LightingStyle',
'ShadowColor',
'PrioritizeLightingQuality',
},
SkyFaceInputs = {
SkyboxBk = 'P1S12I2',
SkyboxDn = 'P1S12I6',
SkyboxFt = 'P1S12I1',
SkyboxLf = 'P1S12I3',
SkyboxRt = 'P1S12I4',
SkyboxUp = 'P1S12I5',
},
PostEffects = {
BloomEffect = {
Toggle = 'P1S6T1',
Properties = {
Intensity = { 'P1S6S1', 0.4 },
Size = { 'P1S6S2', 24 },
Threshold = { 'P1S6S3', 0.95 },
},
},
ColorCorrectionEffect = {
Toggle = 'P1S7T1',
Properties = {
TintColor = { 'P1S7C1', Color3.new(1, 1, 1) },
Saturation = { 'P1S7S1', 0 },
Brightness = { 'P1S7S2', 0 },
Contrast = { 'P1S7S3', 0 },
},
},
SunRaysEffect = {
Toggle = 'P1S10T1',
Properties = {
Intensity = { 'P1S10S1', 0.25 },
Spread = { 'P1S10S2', 1 },
},
},
DepthOfFieldEffect = {
Toggle = 'PX1T1',
Properties = {
FarIntensity = { 'PX1S1', 0.75 },
FocusDistance = { 'PX1S2', 25 },
InFocusRadius = { 'PX1S3', 30 },
NearIntensity = { 'PX1S4', 0.5 },
},
},
},
SkyPresetNames = {
'GreenHaze',
'Space2',
'PinkMountains',
'Valentines',
'PinkArt',
'PurplePlanet',
'Blizzard',
'Winter',
'FlamingSunset',
'Mountains',
'FPSBoost',
'AestheticMountains',
'BetterNight3',
'Galaxy2',
'Aesthetic3',
'PurpleSpace',
'Pink',
'PurpleNight',
'Flame',
'Galaxy3',
'Storm',
'Milkyway',
'PurpleClouds',
'BlueClouds',
'BetterNight',
'Cloudy',
'NetherWorld',
'NewYork',
'Purple2',
'FunnyStorm',
'Galaxy',
'BlueSpace',
'Purple3',
'Nebula2',
'Nebula',
'LunarNight',
'Purple',
'Hell',
'Nebula6',
'DarkishPink',
'RedNight',
'Space',
'OverPlanet',
'Orange',
'Pastel',
'Beach',
'FakeClouds',
'Aesthetic2',
'Nebula4',
'BluePlanet',
'Nebula5',
'LunarNight2',
'Pinkie',
'PurpleMountains',
'DarkClouds',
'BetterNight2',
'DarkMountains',
'Nebula3',
'BetterSky',
'MagentaOrange',
'Aesthetic',
'Alien',
'Lunar',
'Retro',
'Realistic',
'Midnight',
'Antartica',
'Moon',
'NightMountains',
'Art',
'Ame',
'Dawn',
},
SkyPresets = {
GreenHaze = {
SkyboxBk = 'rbxassetid://160193404',
SkyboxDn = 'rbxassetid://160193466',
SkyboxFt = 'rbxassetid://160193461',
SkyboxLf = 'rbxassetid://160193469',
SkyboxRt = 'rbxassetid://160193463',
SkyboxUp = 'rbxassetid://160193458',
SunAngularSize = 0,
},
Space2 = {
SkyboxBk = 'rbxassetid://11844076072',
SkyboxDn = 'rbxassetid://11844069700',
SkyboxFt = 'rbxassetid://11844067209',
SkyboxLf = 'rbxassetid://11844063543',
SkyboxRt = 'rbxassetid://11844058446',
SkyboxUp = 'rbxassetid://11844053742',
StarCount = 3000,
SunAngularSize = 11,
MoonAngularSize = 20,
MoonTextureId = 'rbxassetid://11844121592',
},
PinkMountains = {
SkyboxBk = 'rbxassetid://160188495',
SkyboxDn = 'rbxassetid://160188614',
SkyboxFt = 'rbxassetid://160188609',
SkyboxLf = 'rbxassetid://160188589',
SkyboxRt = 'rbxassetid://160188597',
SkyboxUp = 'rbxassetid://160188588',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
},
Valentines = {
SkyboxBk = 'rbxassetid://11427769401',
SkyboxDn = 'rbxassetid://11427770685',
SkyboxFt = 'rbxassetid://11427769401',
SkyboxLf = 'rbxassetid://11427769401',
SkyboxRt = 'rbxassetid://11427769401',
SkyboxUp = 'rbxassetid://11427771954',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
},
PinkArt = {
SkyboxBk = 'rbxassetid://71607054149497',
SkyboxDn = 'rbxassetid://78865378050055',
SkyboxFt = 'rbxassetid://104560113223878',
SkyboxLf = 'rbxassetid://80395333901607',
SkyboxRt = 'rbxassetid://87570388049514',
SkyboxUp = 'rbxassetid://79190209626172',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
},
PurplePlanet = {
SkyboxBk = 'rbxassetid://16262356578',
SkyboxDn = 'rbxassetid://16262358026',
SkyboxFt = 'rbxassetid://16262360469',
SkyboxLf = 'rbxassetid://16262362003',
SkyboxRt = 'rbxassetid://16262363873',
SkyboxUp = 'rbxassetid://16262366016',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Blizzard = {
SkyboxBk = 'rbxassetid://16653221738',
SkyboxDn = 'rbxassetid://16653222701',
SkyboxFt = 'rbxassetid://16653224051',
SkyboxLf = 'rbxassetid://16653225849',
SkyboxRt = 'rbxassetid://16653227200',
SkyboxUp = 'rbxassetid://16653228333',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
Winter = {
SkyboxBk = 'rbxassetid://155657655',
SkyboxDn = 'rbxassetid://155674246',
SkyboxFt = 'rbxassetid://155657609',
SkyboxLf = 'rbxassetid://155657671',
SkyboxRt = 'rbxassetid://155657619',
SkyboxUp = 'rbxassetid://155674931',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
FlamingSunset = {
SkyboxBk = 'rbxassetid://415688378',
SkyboxDn = 'rbxassetid://415688193',
SkyboxFt = 'rbxassetid://415688242',
SkyboxLf = 'rbxassetid://415688310',
SkyboxRt = 'rbxassetid://415688274',
SkyboxUp = 'rbxassetid://415688354',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
Mountains = {
SkyboxBk = 'rbxassetid://15359410490',
SkyboxDn = 'rbxassetid://15359411132',
SkyboxFt = 'rbxassetid://15359412131',
SkyboxLf = 'rbxassetid://15359411633',
SkyboxRt = 'rbxassetid://15359417656',
SkyboxUp = 'rbxassetid://15359412677',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
FPSBoost = {
SkyboxBk = 'rbxassetid://11457548274',
SkyboxDn = 'rbxassetid://11457548274',
SkyboxFt = 'rbxassetid://11457548274',
SkyboxLf = 'rbxassetid://11457548274',
SkyboxRt = 'rbxassetid://11457548274',
SkyboxUp = 'rbxassetid://11457548274',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
AestheticMountains = {
SkyboxBk = 'rbxassetid://15470198023',
SkyboxDn = 'rbxassetid://15470151245',
SkyboxFt = 'rbxassetid://15470200128',
SkyboxLf = 'rbxassetid://15470202648',
SkyboxRt = 'rbxassetid://15470204862',
SkyboxUp = 'rbxassetid://15470207755',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
BetterNight3 = {
SkyboxBk = 'rbxassetid://2670643994',
SkyboxDn = 'rbxassetid://2670643365',
SkyboxFt = 'rbxassetid://2670643214',
SkyboxLf = 'rbxassetid://2670643070',
SkyboxRt = 'rbxassetid://2670644173',
SkyboxUp = 'rbxassetid://2670644331',
StarCount = 500,
SunAngularSize = 21,
MoonAngularSize = 1.5,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://1075087760',
},
Galaxy2 = {
SkyboxBk = 'rbxassetid://14164368678',
SkyboxDn = 'rbxassetid://14164386126',
SkyboxFt = 'rbxassetid://14164389230',
SkyboxLf = 'rbxassetid://14164398493',
SkyboxRt = 'rbxassetid://14164402782',
SkyboxUp = 'rbxassetid://14164405298',
StarCount = 500,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Aesthetic3 = {
SkyboxBk = 'rbxassetid://151165214',
SkyboxDn = 'rbxassetid://151165197',
SkyboxFt = 'rbxassetid://151165224',
SkyboxLf = 'rbxassetid://151165191',
SkyboxRt = 'rbxassetid://151165206',
SkyboxUp = 'rbxassetid://151165227',
StarCount = 500,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
PurpleSpace = {
SkyboxBk = 'rbxassetid://15983968922',
SkyboxDn = 'rbxassetid://15983966825',
SkyboxFt = 'rbxassetid://5260817288',
SkyboxLf = 'rbxassetid://15983967420',
SkyboxRt = 'rbxassetid://15983966246',
SkyboxUp = 'rbxassetid://15983964246',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Pink = {
SkyboxBk = 'rbxassetid://271042516',
SkyboxDn = 'rbxassetid://271077243',
SkyboxFt = 'rbxassetid://271042556',
SkyboxLf = 'rbxassetid://271042310',
SkyboxRt = 'rbxassetid://271042467',
SkyboxUp = 'rbxassetid://271077958',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
PurpleNight = {
SkyboxBk = 'rbxassetid://5260808177',
SkyboxDn = 'rbxassetid://5260653793',
SkyboxFt = 'rbxassetid://5260817288',
SkyboxLf = 'rbxassetid://5260800833',
SkyboxRt = 'rbxassetid://5260800833',
SkyboxUp = 'rbxassetid://5084576400',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Flame = {
SkyboxBk = 'rbxassetid://6286780109',
SkyboxDn = 'rbxassetid://6286782353',
SkyboxFt = 'rbxassetid://6286784186',
SkyboxLf = 'rbxassetid://6286785801',
SkyboxRt = 'rbxassetid://6286788245',
SkyboxUp = 'rbxassetid://6286790025',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Galaxy3 = {
SkyboxBk = 'rbxassetid://14543264135',
SkyboxDn = 'rbxassetid://14543358958',
SkyboxFt = 'rbxassetid://14543257810',
SkyboxLf = 'rbxassetid://14543275895',
SkyboxRt = 'rbxassetid://14543280890',
SkyboxUp = 'rbxassetid://14543371676',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Storm = {
SkyboxBk = 'rbxassetid://1618912481',
SkyboxDn = 'rbxassetid://1618913943',
SkyboxFt = 'rbxassetid://1618913244',
SkyboxLf = 'rbxassetid://1618912849',
SkyboxRt = 'rbxassetid://1618911568',
SkyboxUp = 'rbxassetid://1618913654',
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://1084351190',
MoonTextureId = 'rbxassetid://1075087760',
},
Milkyway = {
SkyboxBk = 'rbxassetid://129876530632297',
SkyboxDn = 'rbxassetid://108406529909981',
SkyboxFt = 'rbxassetid://104400530594543',
SkyboxLf = 'rbxassetid://73372229972523',
SkyboxRt = 'rbxassetid://87408857415924',
SkyboxUp = 'rbxassetid://137817405681365',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
PurpleClouds = {
SkyboxBk = 'rbxassetid://570557514',
SkyboxDn = 'rbxassetid://570557775',
SkyboxFt = 'rbxassetid://570557559',
SkyboxLf = 'rbxassetid://570557620',
SkyboxRt = 'rbxassetid://570557672',
SkyboxUp = 'rbxassetid://570557727',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
BlueClouds = {
SkyboxBk = 'rbxassetid://591058823',
SkyboxDn = 'rbxassetid://591059876',
SkyboxFt = 'rbxassetid://591058104',
SkyboxLf = 'rbxassetid://591057861',
SkyboxRt = 'rbxassetid://591057625',
SkyboxUp = 'rbxassetid://591059642',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
BetterNight = {
SkyboxBk = 'rbxassetid://15470289121',
SkyboxDn = 'rbxassetid://15470291746',
SkyboxFt = 'rbxassetid://15470294431',
SkyboxLf = 'rbxassetid://15470297162',
SkyboxRt = 'rbxassetid://15470299887',
SkyboxUp = 'rbxassetid://15470303050',
StarCount = 3000,
},
Cloudy = {
SkyboxBk = 'rbxassetid://4495864450',
SkyboxDn = 'rbxassetid://4495864887',
SkyboxFt = 'rbxassetid://4495865458',
SkyboxLf = 'rbxassetid://4495866035',
SkyboxRt = 'rbxassetid://4495866584',
SkyboxUp = 'rbxassetid://4495867486',
StarCount = 3000,
},
NetherWorld = {
SkyboxBk = 'rbxassetid://14365019002',
SkyboxDn = 'rbxassetid://14365023350',
SkyboxFt = 'rbxassetid://14365018399',
SkyboxLf = 'rbxassetid://14365018705',
SkyboxRt = 'rbxassetid://14365018143',
SkyboxUp = 'rbxassetid://14365019327',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
NewYork = {
SkyboxBk = 'rbxassetid://11333973069',
SkyboxDn = 'rbxassetid://11333969768',
SkyboxFt = 'rbxassetid://11333964303',
SkyboxLf = 'rbxassetid://11333971332',
SkyboxRt = 'rbxassetid://11333982864',
SkyboxUp = 'rbxassetid://11333967970',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
Purple2 = {
SkyboxBk = 'rbxassetid://8107841671',
SkyboxDn = 'rbxassetid://6444884785',
SkyboxFt = 'rbxassetid://8107841671',
SkyboxLf = 'rbxassetid://8107841671',
SkyboxRt = 'rbxassetid://8107841671',
SkyboxUp = 'rbxassetid://8107849791',
StarCount = 3000,
SunAngularSize = 11,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
FunnyStorm = {
SkyboxBk = 'rbxassetid://6280934001',
SkyboxDn = 'rbxassetid://6280935347',
SkyboxFt = 'rbxassetid://6280936575',
SkyboxLf = 'rbxassetid://6280938749',
SkyboxRt = 'rbxassetid://6280940989',
SkyboxUp = 'rbxassetid://6280942402',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Galaxy = {
SkyboxBk = 'rbxassetid://159454299',
SkyboxDn = 'rbxassetid://159454296',
SkyboxFt = 'rbxassetid://159454293',
SkyboxLf = 'rbxassetid://159454293',
SkyboxRt = 'rbxassetid://159454293',
SkyboxUp = 'rbxassetid://159454288',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
BlueSpace = {
SkyboxBk = 'rbxassetid://16876541778',
SkyboxDn = 'rbxassetid://16876543880',
SkyboxFt = 'rbxassetid://16876546384',
SkyboxLf = 'rbxassetid://16876548320',
SkyboxRt = 'rbxassetid://16876550345',
SkyboxUp = 'rbxassetid://16876552681',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Purple3 = {
SkyboxBk = 'rbxassetid://433274085',
SkyboxDn = 'rbxassetid://433274194',
SkyboxFt = 'rbxassetid://433274131',
SkyboxLf = 'rbxassetid://433274370',
SkyboxRt = 'rbxassetid://433274429',
SkyboxUp = 'rbxassetid://433274285',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Nebula2 = {
SkyboxBk = 'rbxassetid://16932794531',
SkyboxDn = 'rbxassetid://16932797813',
SkyboxFt = 'rbxassetid://16932800523',
SkyboxLf = 'rbxassetid://16932803722',
SkyboxRt = 'rbxassetid://16932806825',
SkyboxUp = 'rbxassetid://16932810138',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Nebula = {
SkyboxBk = 'rbxassetid://5260808177',
SkyboxDn = 'rbxassetid://5260653793',
SkyboxFt = 'rbxassetid://5260817288',
SkyboxLf = 'rbxassetid://5260800833',
SkyboxRt = 'rbxassetid://5260811073',
SkyboxUp = 'rbxassetid://5260824661',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
LunarNight = {
SkyboxBk = 'rbxassetid://187713366',
SkyboxDn = 'rbxassetid://187712428',
SkyboxFt = 'rbxassetid://187712836',
SkyboxLf = 'rbxassetid://187713755',
SkyboxRt = 'rbxassetid://187714525',
SkyboxUp = 'rbxassetid://187712111',
StarCount = 0,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Purple = {
SkyboxBk = 'rbxassetid://8539982183',
SkyboxDn = 'rbxassetid://8539981943',
SkyboxFt = 'rbxassetid://8539981721',
SkyboxLf = 'rbxassetid://8539981424',
SkyboxRt = 'rbxassetid://8539980766',
SkyboxUp = 'rbxassetid://8539981085',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Hell = {
SkyboxBk = 'rbxassetid://11730840088',
SkyboxDn = 'rbxassetid://11730842997',
SkyboxFt = 'rbxassetid://11730849615',
SkyboxLf = 'rbxassetid://11730852920',
SkyboxRt = 'rbxassetid://11730855491',
SkyboxUp = 'rbxassetid://11730857150',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Nebula6 = {
SkyboxBk = 'rbxassetid://16694187412',
SkyboxDn = 'rbxassetid://16694190947',
SkyboxFt = 'rbxassetid://16694194795',
SkyboxLf = 'rbxassetid://16694197080',
SkyboxRt = 'rbxassetid://16694200892',
SkyboxUp = 'rbxassetid://16694204069',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
DarkishPink = {
SkyboxBk = 'rbxassetid://570555736',
SkyboxDn = 'rbxassetid://570555964',
SkyboxFt = 'rbxassetid://570555800',
SkyboxLf = 'rbxassetid://570555840',
SkyboxRt = 'rbxassetid://570555882',
SkyboxUp = 'rbxassetid://570555929',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
RedNight = {
SkyboxBk = 'rbxassetid://401664839',
SkyboxDn = 'rbxassetid://401664862',
SkyboxFt = 'rbxassetid://401664960',
SkyboxLf = 'rbxassetid://401664881',
SkyboxRt = 'rbxassetid://401664901',
SkyboxUp = 'rbxassetid://401664936',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Space = {
SkyboxBk = 'rbxassetid://166509999',
SkyboxDn = 'rbxassetid://166510057',
SkyboxFt = 'rbxassetid://166510116',
SkyboxLf = 'rbxassetid://166510092',
SkyboxRt = 'rbxassetid://166510131',
SkyboxUp = 'rbxassetid://166510114',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
OverPlanet = {
SkyboxBk = 'rbxassetid://165052268',
SkyboxDn = 'rbxassetid://165052286',
SkyboxFt = 'rbxassetid://165052328',
SkyboxLf = 'rbxassetid://165052365',
SkyboxRt = 'rbxassetid://165052306',
SkyboxUp = 'rbxassetid://165052345',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Orange = {
SkyboxBk = 'rbxassetid://150939022',
SkyboxDn = 'rbxassetid://150939038',
SkyboxFt = 'rbxassetid://150939047',
SkyboxLf = 'rbxassetid://150939056',
SkyboxRt = 'rbxassetid://150939063',
SkyboxUp = 'rbxassetid://150939082',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Pastel = {
SkyboxBk = 'rbxassetid://2128458653',
SkyboxDn = 'rbxassetid://2128462480',
SkyboxFt = 'rbxassetid://2128458653',
SkyboxLf = 'rbxassetid://2128462027',
SkyboxRt = 'rbxassetid://2128462027',
SkyboxUp = 'rbxassetid://2128462236',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Beach = {
SkyboxBk = 'rbxassetid://173380597',
SkyboxDn = 'rbxassetid://173380627',
SkyboxFt = 'rbxassetid://173380642',
SkyboxLf = 'rbxassetid://173380671',
SkyboxRt = 'rbxassetid://173380774',
SkyboxUp = 'rbxassetid://173380790',
StarCount = 0,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
FakeClouds = {
SkyboxBk = 'rbxassetid://8496892810',
SkyboxDn = 'rbxassetid://8496896250',
SkyboxFt = 'rbxassetid://8496892810',
SkyboxLf = 'rbxassetid://8496892810',
SkyboxRt = 'rbxassetid://8496892810',
SkyboxUp = 'rbxassetid://8496897504',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Aesthetic2 = {
SkyboxBk = 'rbxassetid://600830446',
SkyboxDn = 'rbxassetid://600831635',
SkyboxFt = 'rbxassetid://600832720',
SkyboxLf = 'rbxassetid://600886090',
SkyboxRt = 'rbxassetid://600833862',
SkyboxUp = 'rbxassetid://600835177',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Nebula4 = {
SkyboxBk = 'rbxassetid://17103618635',
SkyboxDn = 'rbxassetid://17103622190',
SkyboxFt = 'rbxassetid://17103624898',
SkyboxLf = 'rbxassetid://17103628153',
SkyboxRt = 'rbxassetid://17103636666',
SkyboxUp = 'rbxassetid://17103639457',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
BluePlanet = {
SkyboxBk = 'rbxassetid://16888989874',
SkyboxDn = 'rbxassetid://16888991855',
SkyboxFt = 'rbxassetid://16888995219',
SkyboxLf = 'rbxassetid://16888998994',
SkyboxRt = 'rbxassetid://16889000916',
SkyboxUp = 'rbxassetid://16889004122',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Nebula5 = {
SkyboxBk = 'rbxassetid://17124357467',
SkyboxDn = 'rbxassetid://17124359797',
SkyboxFt = 'rbxassetid://17124362093',
SkyboxLf = 'rbxassetid://17124365127',
SkyboxRt = 'rbxassetid://17124367200',
SkyboxUp = 'rbxassetid://17124369657',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
LunarNight2 = {
SkyboxBk = 'rbxassetid://14365026085',
SkyboxDn = 'rbxassetid://14365026242',
SkyboxFt = 'rbxassetid://14365025735',
SkyboxLf = 'rbxassetid://14365025904',
SkyboxRt = 'rbxassetid://14365025444',
SkyboxUp = 'rbxassetid://14365026442',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Pinkie = {
SkyboxBk = 'rbxassetid://11555017034',
SkyboxDn = 'rbxassetid://11555013415',
SkyboxFt = 'rbxassetid://11555010145',
SkyboxLf = 'rbxassetid://11555006545',
SkyboxRt = 'rbxassetid://11555000712',
SkyboxUp = 'rbxassetid://11554996247',
StarCount = 0,
SunAngularSize = 0,
MoonAngularSize = 1.5,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
PurpleMountains = {
SkyboxBk = 'rbxassetid://17901353811',
SkyboxDn = 'rbxassetid://17901366771',
SkyboxFt = 'rbxassetid://17901356262',
SkyboxLf = 'rbxassetid://17901359687',
SkyboxRt = 'rbxassetid://17901362326',
SkyboxUp = 'rbxassetid://17901365106',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
DarkClouds = {
SkyboxBk = 'rbxassetid://190477248',
SkyboxDn = 'rbxassetid://190477222',
SkyboxFt = 'rbxassetid://190477200',
SkyboxLf = 'rbxassetid://190477185',
SkyboxRt = 'rbxassetid://190477166',
SkyboxUp = 'rbxassetid://190477146',
StarCount = 0,
SunAngularSize = 0,
MoonAngularSize = 1.5,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
BetterNight2 = {
SkyboxBk = 'rbxassetid://248431616',
SkyboxDn = 'rbxassetid://248431677',
SkyboxFt = 'rbxassetid://248431598',
SkyboxLf = 'rbxassetid://248431686',
SkyboxRt = 'rbxassetid://248431611',
SkyboxUp = 'rbxassetid://248431605',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 1.5,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
DarkMountains = {
SkyboxBk = 'rbxassetid://5098814730',
SkyboxDn = 'rbxassetid://5098815227',
SkyboxFt = 'rbxassetid://5098815653',
SkyboxLf = 'rbxassetid://5098816155',
SkyboxRt = 'rbxassetid://5098820352',
SkyboxUp = 'rbxassetid://5098819127',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
Nebula3 = {
SkyboxBk = 'rbxassetid://17839210699',
SkyboxDn = 'rbxassetid://17839215896',
SkyboxFt = 'rbxassetid://17839218166',
SkyboxLf = 'rbxassetid://17839220800',
SkyboxRt = 'rbxassetid://17839223605',
SkyboxUp = 'rbxassetid://17839226876',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
BetterSky = {
SkyboxBk = 'rbxassetid://591058823',
SkyboxDn = 'rbxassetid://591059876',
SkyboxFt = 'rbxassetid://591058104',
SkyboxLf = 'rbxassetid://591057861',
SkyboxRt = 'rbxassetid://591057625',
SkyboxUp = 'rbxassetid://591059642',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://6196665106',
MoonTextureId = 'rbxassetid://6444320592',
},
MagentaOrange = {
SkyboxBk = 'rbxassetid://566616113',
SkyboxDn = 'rbxassetid://566616232',
SkyboxFt = 'rbxassetid://566616141',
SkyboxLf = 'rbxassetid://566616044',
SkyboxRt = 'rbxassetid://566616082',
SkyboxUp = 'rbxassetid://566616187',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Aesthetic = {
SkyboxBk = 'rbxassetid://1417494030',
SkyboxDn = 'rbxassetid://1417494146',
SkyboxFt = 'rbxassetid://1417494253',
SkyboxLf = 'rbxassetid://1417494402',
SkyboxRt = 'rbxassetid://1417494499',
SkyboxUp = 'rbxassetid://1417494643',
StarCount = 3000,
SunAngularSize = 0,
MoonAngularSize = 0,
SunTextureId = 'rbxassetid://8281961896',
MoonTextureId = 'rbxassetid://6444320592',
},
Alien = {
SkyboxBk = 'rbxassetid://159248188',
SkyboxDn = 'rbxassetid://159248183',
SkyboxFt = 'rbxassetid://159248187',
SkyboxLf = 'rbxassetid://159248173',
SkyboxRt = 'rbxassetid://159248192',
SkyboxUp = 'rbxassetid://159248176',
StarCount = 0,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxassetid://6444320592',
},
Lunar = {
SkyboxBk = 'rbxassetid://179723991',
SkyboxDn = 'rbxassetid://179724005',
SkyboxFt = 'rbxassetid://179724018',
SkyboxLf = 'rbxassetid://179724029',
SkyboxRt = 'rbxassetid://179724037',
SkyboxUp = 'rbxassetid://179724054',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
Retro = {
SkyboxBk = 'rbxassetid://16642396302',
SkyboxDn = 'rbxassetid://16642397027',
SkyboxFt = 'rbxassetid://16642398372',
SkyboxLf = 'rbxassetid://16642399309',
SkyboxRt = 'rbxassetid://16642400745',
SkyboxUp = 'rbxassetid://16642401907',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
Realistic = {
SkyboxBk = 'rbxassetid://402559900',
SkyboxDn = 'rbxassetid://402559927',
SkyboxFt = 'rbxassetid://402559953',
SkyboxLf = 'rbxassetid://402559983',
SkyboxRt = 'rbxassetid://402560019',
SkyboxUp = 'rbxassetid://402560052',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
Midnight = {
SkyboxBk = 'rbxassetid://154185004',
SkyboxDn = 'rbxassetid://154184960',
SkyboxFt = 'rbxassetid://154185021',
SkyboxLf = 'rbxassetid://154184943',
SkyboxRt = 'rbxassetid://154184972',
SkyboxUp = 'rbxassetid://154185031',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 0,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
Antartica = {
SkyboxBk = 'rbxassetid://2118763079',
SkyboxDn = 'rbxassetid://2118766919',
SkyboxFt = 'rbxassetid://2118765204',
SkyboxLf = 'rbxassetid://2118764070',
SkyboxRt = 'rbxassetid://2118761853',
SkyboxUp = 'rbxassetid://2118766003',
StarCount = 3000,
SunAngularSize = 21,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
Moon = {
SkyboxBk = 'rbxassetid://17489386489',
SkyboxDn = 'rbxassetid://17489387417',
SkyboxFt = 'rbxassetid://17489388310',
SkyboxLf = 'rbxassetid://17489389632',
SkyboxRt = 'rbxassetid://17489391101',
SkyboxUp = 'rbxassetid://17489393055',
StarCount = 3000,
SunAngularSize = 21,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
NightMountains = {
SkyboxBk = 'rbxassetid://264908339',
SkyboxDn = 'rbxassetid://264907909',
SkyboxFt = 'rbxassetid://264909420',
SkyboxLf = 'rbxassetid://264909758',
SkyboxRt = 'rbxassetid://264908886',
SkyboxUp = 'rbxassetid://264907379',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxasset://sky/moon.jpg',
},
Art = {
SkyboxBk = 'rbxassetid://9831762777',
SkyboxDn = 'rbxassetid://9831764283',
SkyboxFt = 'rbxassetid://9831766232',
SkyboxLf = 'rbxassetid://9831768023',
SkyboxRt = 'rbxassetid://9831768909',
SkyboxUp = 'rbxassetid://9831769868',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxassetid://6444320592',
},
Ame = {
SkyboxBk = 'rbxassetid://160185927',
SkyboxDn = 'rbxassetid://160185945',
SkyboxFt = 'rbxassetid://160186027',
SkyboxLf = 'rbxassetid://160186075',
SkyboxRt = 'rbxassetid://160186126',
SkyboxUp = 'rbxassetid://160186148',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxasset://sky/sun.jpg',
MoonTextureId = 'rbxassetid://6444320592',
},
Dawn = {
SkyboxBk = 'rbxassetid://250381017',
SkyboxDn = 'rbxassetid://254156892',
SkyboxFt = 'rbxassetid://250380916',
SkyboxLf = 'rbxassetid://250380953',
SkyboxRt = 'rbxassetid://250380985',
SkyboxUp = 'rbxassetid://250381047',
StarCount = 3000,
SunAngularSize = 21,
MoonAngularSize = 11,
SunTextureId = 'rbxasset://sky/sun.jpg',
},
},
}
function RivalsRuntimeBridge.WorldVisuals.ReadToggle(optionId, fallback)
local toggle = Toggles[optionId]
if toggle and toggle.Value ~= nil then return toggle.Value == true end
return fallback == true
end
function RivalsRuntimeBridge.WorldVisuals.ReadOption(optionId, fallback)
local option = Options[optionId]
if option and option.Value ~= nil then return option.Value end
return fallback
end
function RivalsRuntimeBridge.WorldVisuals.NewGuard(target)
local guard = {
Target = target,
Originals = {},
HasOriginal = {},
Overrides = {},
Writing = false,
Connection = nil,
}
guard.Connection = target.Changed:Connect(function(property)
if guard.Writing or guard.Overrides[property] == nil then return end
local ok, nativeValue = pcall(function() return guard.Target[property] end)
if not ok then return end
guard.Originals[property] = nativeValue
guard.HasOriginal[property] = true
guard.Writing = true
pcall(function() guard.Target[property] = guard.Overrides[property] end)
guard.Writing = false
end)
return guard
end
function RivalsRuntimeBridge.WorldVisuals.SetGuardOverride(guard, property, value)
if not guard or not guard.Target then return false end
local capturedNow = false
if guard.HasOriginal[property] ~= true then
local ok, nativeValue = pcall(function() return guard.Target[property] end)
if not ok then return false end
guard.Originals[property] = nativeValue
guard.HasOriginal[property] = true
capturedNow = true
end
guard.Overrides[property] = value
guard.Writing = true
local ok = pcall(function() guard.Target[property] = value end)
guard.Writing = false
if not ok then
guard.Overrides[property] = nil
if capturedNow then
guard.Originals[property] = nil
guard.HasOriginal[property] = nil
end
end
return ok
end
function RivalsRuntimeBridge.WorldVisuals.ClearGuardOverride(guard, property)
if not guard or guard.HasOriginal[property] ~= true then return false end
local nativeValue = guard.Originals[property]
guard.Overrides[property] = nil
guard.Writing = true
local ok = pcall(function() guard.Target[property] = nativeValue end)
guard.Writing = false
guard.Originals[property] = nil
guard.HasOriginal[property] = nil
return ok
end
function RivalsRuntimeBridge.WorldVisuals.ReconcileGuard(guard, properties, desired)
for _, property in ipairs(properties) do
if desired[property] ~= nil then
RivalsRuntimeBridge.WorldVisuals.SetGuardOverride(guard, property, desired[property])
else
RivalsRuntimeBridge.WorldVisuals.ClearGuardOverride(guard, property)
end
end
end
function RivalsRuntimeBridge.WorldVisuals.DestroyGuard(guard)
if not guard then return end
local properties = {}
for property in pairs(guard.HasOriginal) do
properties[#properties + 1] = property
end
for _, property in ipairs(properties) do
RivalsRuntimeBridge.WorldVisuals.ClearGuardOverride(guard, property)
end
if guard.Connection then
guard.Connection:Disconnect()
guard.Connection = nil
end
end
function RivalsRuntimeBridge.WorldVisuals.RefreshLighting()
local world = RivalsRuntimeBridge.WorldVisuals
local desired = {}
if world.ReadToggle('P1S4T2', false) then
desired.Ambient = world.ReadOption('P1S4C1', Color3.new(0.231373, 0.796078, 1))
desired.OutdoorAmbient = world.ReadOption('P1S4C2', Color3.new(0.003922, 0.4, 0.545098))
end
if world.ReadToggle('P1S4T3', false) then desired.ClockTime = world.ReadOption('P1S4S1', 12) end
if world.ReadToggle('P1S4T4', false) then desired.Brightness = world.ReadOption('P1S4S2', 2) end
if world.ReadToggle('P1S4T5', false) then
desired.ColorShift_Top = world.ReadOption('P1S4C3', Color3.fromRGB(100, 160, 255))
desired.ColorShift_Bottom = world.ReadOption('P1S4C4', Color3.fromRGB(20, 40, 90))
end
if world.ReadToggle('P1S4T6', false) then desired.EnvironmentDiffuseScale = world.ReadOption('P1S4S3', 0) end
if world.ReadToggle('P1S4T7', false) then desired.ExposureCompensation = world.ReadOption('P1S4S4', 0) end
if world.ReadToggle('P1S4T8', false) then desired.EnvironmentSpecularScale = world.ReadOption('P1S4S5', 0) end
if world.ReadToggle('P1S5T1', false) then
desired.FogColor = world.ReadOption('P1S5C1', Color3.fromRGB(192, 192, 192))
desired.FogStart = world.ReadOption('P1S5S1', 0)
desired.FogEnd = world.ReadOption('P1S5S2', 100000)
end
if world.ReadToggle('P1S5T2', false) then desired.GeographicLatitude = world.ReadOption('P1S5S3', 41.733) end
if world.ReadToggle('P1S5T3', false) then desired.GlobalShadows = false end
if world.ReadToggle('P1S5T4', false) then desired.ShadowSoftness = world.ReadOption('P1S5S4', 0.5) end
if world.ReadToggle('P1S5T5', false) then
desired.LightingStyle = Enum.LightingStyle[world.ReadOption('P1S5D1', 'Realistic')]
end
if world.ReadToggle('P1S5T6', false) then desired.ShadowColor = world.ReadOption('P1S5C2', Color3.new(0.7, 0.7, 0.72)) end
if world.ReadToggle('P1S5T7', false) then desired.PrioritizeLightingQuality = true end
if world.ReadToggle('P1S8T1', false) then
local enumOk, tonemapperPreset = pcall(
function() return Enum.TonemapperPreset[world.ReadOption('P1S8D1', 'Default')] end
)
if enumOk and tonemapperPreset then desired.TonemapperPreset = tonemapperPreset end
end
world.ReconcileGuard(world.LightingGuard, world.LightingProperties, desired)
end
function RivalsRuntimeBridge.WorldVisuals.ApplyOwnedEffectProperties(className, effect)
local definition = RivalsRuntimeBridge.WorldVisuals.PostEffects[className]
if not definition or not effect then return end
for property, optionInfo in pairs(definition.Properties) do
pcall(function() effect[property] = RivalsRuntimeBridge.WorldVisuals.ReadOption(optionInfo[1], optionInfo[2]) end)
end
pcall(function() effect.Enabled = true end)
end
function RivalsRuntimeBridge.WorldVisuals.GuardNativeEffect(className, effect)
local world = RivalsRuntimeBridge.WorldVisuals
if not effect or effect == world.OwnedEffects[className] then return end
local guards = world.NativeEffectGuards[className]
if not guards then
guards = setmetatable({}, { __mode = 'k' })
world.NativeEffectGuards[className] = guards
end
local guard = guards[effect]
if not guard then
guard = world.NewGuard(effect)
guards[effect] = guard
end
world.SetGuardOverride(guard, 'Enabled', false)
end
function RivalsRuntimeBridge.WorldVisuals.RestorePostEffect(className)
local world = RivalsRuntimeBridge.WorldVisuals
local owned = world.OwnedEffects[className]
world.OwnedEffects[className] = nil
if owned then pcall(function() owned:Destroy() end) end
local guards = world.NativeEffectGuards[className]
if guards then
for effect, guard in pairs(guards) do
world.DestroyGuard(guard)
guards[effect] = nil
end
end
world.NativeEffectGuards[className] = nil
end
function RivalsRuntimeBridge.WorldVisuals.RefreshPostEffect(className)
local world = RivalsRuntimeBridge.WorldVisuals
local definition = world.PostEffects[className]
if not definition or not world.ReadToggle(definition.Toggle, false) then
world.RestorePostEffect(className)
return
end
local owned = world.OwnedEffects[className]
if not owned or owned.Parent == nil then
owned = Instance.new(className)
owned.Name = 'ZkxHubWorldVisuals_' .. className
world.OwnedEffects[className] = owned
world.ApplyOwnedEffectProperties(className, owned)
owned.Parent = world.Lighting
else
world.ApplyOwnedEffectProperties(className, owned)
end
for _, descendant in ipairs(world.Lighting:GetDescendants()) do
if descendant.ClassName == className and descendant ~= owned then world.GuardNativeEffect(className, descendant) end
end
end
function RivalsRuntimeBridge.WorldVisuals.NormalizeAssetId(value)
if type(value) == 'number' then return 'rbxassetid://' .. tostring(value) end
if type(value) ~= 'string' then return nil end
value = value:match('^%s*(.-)%s*$') or ''
if value == '' then return nil end
if value:match('^%d+$') then return 'rbxassetid://' .. value end
return value
end
function RivalsRuntimeBridge.WorldVisuals.RefreshAmbience()
local world = RivalsRuntimeBridge.WorldVisuals
local source = world.ReadToggle('P1S14T1', false) and world.NormalizeAssetId(world.ReadOption('P1S14I1', '')) or nil
if not source then
local owned = world.OwnedAmbience
world.OwnedAmbience = nil
world.ActiveAmbienceSource = nil
if owned then pcall(function() owned:Destroy() end) end
return
end
local sound = world.OwnedAmbience
if not sound or sound.Parent == nil then
sound = Instance.new('Sound')
sound.Name = 'ZkxHubWorldVisuals_Ambience'
sound.Looped = true
world.OwnedAmbience = sound
sound.Parent = world.SoundService
end
sound.Volume = world.ReadOption('P1S14S1', 1)
if world.ActiveAmbienceSource ~= source or sound.SoundId ~= source then
world.ActiveAmbienceSource = source
sound.SoundId = source
sound:Play()
elseif not sound.IsPlaying then
sound:Play()
end
end
function RivalsRuntimeBridge.WorldVisuals.ScaleNumberSequence(sequence, scale)
local keypoints = table.create(#sequence.Keypoints)
for _, keypoint in ipairs(sequence.Keypoints) do
table.insert(keypoints, NumberSequenceKeypoint.new(keypoint.Time, keypoint.Value * scale, keypoint.Envelope * scale))
end
return NumberSequence.new(keypoints)
end
function RivalsRuntimeBridge.WorldVisuals.ClearWeatherEmitters()
local world = RivalsRuntimeBridge.WorldVisuals
for _, record in ipairs(world.WeatherEmitters) do
if record.Emitter then pcall(function() record.Emitter:Destroy() end) end
end
world.WeatherEmitters = {}
world.ActiveWeatherPreset = nil
end
function RivalsRuntimeBridge.WorldVisuals.DestroyWeather()
local world = RivalsRuntimeBridge.WorldVisuals
world.WeatherGeneration = world.WeatherGeneration + 1
world.NextLightningAt = 0
world.ClearWeatherEmitters()
local part = world.OwnedWeatherPart
world.OwnedWeatherPart = nil
if part then pcall(function() part:Destroy() end) end
end
function RivalsRuntimeBridge.WorldVisuals.ReconcileWeather()
local world = RivalsRuntimeBridge.WorldVisuals
local intensity = math.max(0, tonumber(world.ReadOption('P1S28S1', 1)) or 1)
local rate = math.max(0, tonumber(world.ReadOption('P1S28S2', 1)) or 1)
local speed = math.max(0, tonumber(world.ReadOption('P1S28S3', 1)) or 1)
local size = math.max(0, tonumber(world.ReadOption('P1S28S4', 1)) or 1)
local glow = math.clamp(tonumber(world.ReadOption('P1S28S5', 0.6)) or 0.6, 0, 1)
local spread = math.max(0, tonumber(world.ReadOption('P1S28S6', 25)) or 25)
local color = world.ReadOption('P1S28C1', Color3.new(1, 1, 1))
if typeof(color) ~= 'Color3' then color = Color3.new(1, 1, 1) end
local angle = math.rad(tonumber(world.ReadOption('P1S28S9', 0)) or 0)
local strength = tonumber(world.ReadOption('P1S28S8', 0)) or 0
local windX = math.sin(angle) * strength
local windZ = math.cos(angle) * strength
for _, record in ipairs(world.WeatherEmitters) do
local emitter = record.Emitter
local spec = record.Spec
if emitter and emitter.Parent and spec then
emitter.Rate = spec.BaseRate * intensity * rate
emitter.Speed = NumberRange.new(spec.SpeedMin * speed, spec.SpeedMax * speed)
emitter.Size = world.ScaleNumberSequence(NumberSequence.new(spec.SizeStart, spec.SizeEnd), size)
emitter.LightEmission = glow
local spreadAngle = spec.BaseSpread * spread
emitter.SpreadAngle = Vector2.new(spreadAngle, spreadAngle)
emitter.Color = ColorSequence.new(color)
emitter.Acceleration = Vector3.new(windX, spec.BaseAccelerationY, windZ)
end
end
end
function RivalsRuntimeBridge.WorldVisuals.RebuildWeather(preset)
local world = RivalsRuntimeBridge.WorldVisuals
local specs = world.WeatherPresets[preset]
world.ClearWeatherEmitters()
if not specs or not world.OwnedWeatherPart then return end
world.ActiveWeatherPreset = preset
for _, spec in ipairs(specs) do
local emitter = Instance.new('ParticleEmitter')
emitter.Name = 'ZkxHubWeatherEmitter'
emitter.Shape = Enum.ParticleEmitterShape.Box
emitter.EmissionDirection = Enum.NormalId.Bottom
emitter.Enabled = true
emitter.Texture = spec.Texture
emitter.Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 1),
NumberSequenceKeypoint.new(0.15, spec.TransparencyMax),
NumberSequenceKeypoint.new(0.85, spec.TransparencyMax),
NumberSequenceKeypoint.new(1, 1),
})
emitter.Lifetime = NumberRange.new(spec.LifetimeMin, spec.LifetimeMax)
emitter.Rotation = NumberRange.new(spec.RotationMin, spec.RotationMax)
emitter.RotSpeed = NumberRange.new(spec.RotationSpeedMin, spec.RotationSpeedMax)
emitter.LightInfluence = 0
if spec.Orientation then emitter.Orientation = spec.Orientation end
emitter.Parent = world.OwnedWeatherPart
table.insert(world.WeatherEmitters, { Emitter = emitter, Spec = spec })
end
world.ReconcileWeather()
end
function RivalsRuntimeBridge.WorldVisuals.RefreshWeather()
local world = RivalsRuntimeBridge.WorldVisuals
if not world.ReadToggle('P1S28T1', false) then
world.DestroyWeather()
return
end
local preset = world.ReadOption('P1S28D1', 'Snow')
if not world.WeatherPresets[preset] then preset = 'Snow' end
local part = world.OwnedWeatherPart
if not part or part.Parent == nil then
part = Instance.new('Part')
part.Name = 'ZkxHubWeatherEmitter'
part.Anchored = true
part.CanCollide = false
part.CanQuery = false
part.CanTouch = false
part.CastShadow = false
part.Transparency = 1
part.Size = Vector3.new(140, 1, 140)
part.Parent = Workspace
world.OwnedWeatherPart = part
world.ActiveWeatherPreset = nil
world.NextLightningAt = tick() + math.max(0.2, tonumber(world.ReadOption('P1S29S1', 2)) or 2)
end
if world.ActiveWeatherPreset ~= preset then
world.WeatherGeneration = world.WeatherGeneration + 1
world.NextLightningAt = tick() + math.max(0.2, tonumber(world.ReadOption('P1S29S1', 2)) or 2)
world.RebuildWeather(preset)
else
world.ReconcileWeather()
end
end
function RivalsRuntimeBridge.WorldVisuals.AddLightningSegment(
instances,
startPosition,
endPosition,
color,
thickness,
brightness
)
local near = Instance.new('Attachment')
near.Name = 'ZkxHubLightningAttachment'
near.Position = startPosition
near.Parent = Workspace.Terrain
local far = Instance.new('Attachment')
far.Name = 'ZkxHubLightningAttachment'
far.Position = endPosition
far.Parent = Workspace.Terrain
local beam = Instance.new('Beam')
beam.Name = 'ZkxHubLightningBeam'
beam.Attachment0 = near
beam.Attachment1 = far
beam.Color = ColorSequence.new(color)
beam.Width0 = thickness
beam.Width1 = math.max(0.05, thickness * 0.72)
beam.FaceCamera = true
beam.LightEmission = 1
beam.LightInfluence = 0
beam.Brightness = math.max(1, brightness)
beam.Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.02),
NumberSequenceKeypoint.new(0.8, 0.12),
NumberSequenceKeypoint.new(1, 1),
})
beam.Parent = Workspace.Terrain
table.insert(instances, beam)
table.insert(instances, near)
table.insert(instances, far)
end
function RivalsRuntimeBridge.WorldVisuals.BuildLightningPoints(startPosition, endPosition, jaggedness)
local distance = (endPosition - startPosition).Magnitude
local segments = math.clamp(math.floor(distance / 12), 8, 28)
local points = table.create(segments + 1)
for index = 0, segments do
local alpha = index / segments
local point = startPosition:Lerp(endPosition, alpha)
if index > 0 and index < segments then
local taper = math.sin(alpha * math.pi)
point = point
+ Vector3.new(
(math.random() - 0.5) * jaggedness * 2 * taper,
(math.random() - 0.5) * jaggedness * taper,
(math.random() - 0.5) * jaggedness * 2 * taper
)
end
points[index + 1] = point
end
return points
end
function RivalsRuntimeBridge.WorldVisuals.ResolveWeatherSound()
local world = RivalsRuntimeBridge.WorldVisuals
local source = world.ReadOption('P1S29I1', '')
if type(source) ~= 'string' or source:match('^%s*$') then return 'rbxassetid://79197041664081' end
source = world.NormalizeAssetId(source)
if not source then return nil end
if source:match('^rbxasset') then return source end
local customAsset = type(getcustomasset) == 'function' and getcustomasset
or (type(getsynasset) == 'function' and getsynasset or nil)
if customAsset and type(isfile) == 'function' and isfile(source) then
local ok, asset = pcall(customAsset, source)
if ok and type(asset) == 'string' then return asset end
end
return nil
end
function RivalsRuntimeBridge.WorldVisuals.PlayWeatherThunder(distance)
local world = RivalsRuntimeBridge.WorldVisuals
if not world.ReadToggle('P1S29T4', true) then return end
local source = world.ResolveWeatherSound()
if not source then return end
local generation = world.WeatherGeneration
local delayTime = world.ReadToggle('P1S29T5', true) and distance / 1225 or 0
local volume = (tonumber(world.ReadOption('P1S29S15', 1)) or 1) * math.max(0.3, 1 - distance / 320)
local playbackSpeed = 0.75 + math.random() * 0.25
task.delay(delayTime, function()
if not world.Initialized or generation ~= world.WeatherGeneration or not world.ReadToggle('P1S28T1', false) then
return
end
local sound = Instance.new('Sound')
sound.Name = 'ZkxHubWeatherThunder'
sound.SoundId = source
sound.Volume = math.max(0, volume)
sound.PlaybackSpeed = playbackSpeed
sound.PlayOnRemove = true
sound.Parent = world.SoundService
sound:Destroy()
end)
end
function RivalsRuntimeBridge.WorldVisuals.RenderWeatherLightning(startPosition, endPosition)
local world = RivalsRuntimeBridge.WorldVisuals
local color = world.ReadOption('P1S29C1', Color3.fromRGB(214, 230, 255))
if typeof(color) ~= 'Color3' then color = Color3.fromRGB(214, 230, 255) end
local thickness = math.max(0.05, tonumber(world.ReadOption('P1S29S4', 4)) or 4)
local jaggedness = math.max(0, tonumber(world.ReadOption('P1S29S5', 7)) or 7)
local branchCount = math.clamp(math.floor(tonumber(world.ReadOption('P1S29S6', 12)) or 12), 0, 24)
local flash = math.max(0, tonumber(world.ReadOption('P1S29S7', 8)) or 8)
local instances = {}
local points = world.BuildLightningPoints(startPosition, endPosition, jaggedness)
for index = 1, #points - 1 do
world.AddLightningSegment(instances, points[index], points[index + 1], color, thickness, flash)
end
for _ = 1, branchCount do
local sourceIndex = math.random(2, math.max(2, #points - 2))
local source = points[sourceIndex]
local branchLength = math.max(4, jaggedness * (1.5 + math.random()))
local branchEnd = source
+ Vector3.new(
(math.random() - 0.5) * branchLength * 2,
-math.random() * branchLength,
(math.random() - 0.5) * branchLength * 2
)
world.AddLightningSegment(instances, source, branchEnd, color, thickness * 0.45, flash * 0.7)
end
local impact = Instance.new('Attachment')
impact.Name = 'ZkxHubLightningImpact'
impact.Position = endPosition
impact.Parent = Workspace.Terrain
table.insert(instances, impact)
if flash > 0 then
local light = Instance.new('PointLight')
light.Name = 'ZkxHubLightningFlash'
light.Color = color
light.Brightness = flash
light.Range = math.max(18, flash * 5)
light.Shadows = true
light.Parent = impact
table.insert(instances, light)
end
if world.ReadToggle('P1S29T2', true) then
local sparkColor = world.ReadOption('P1S29C2', Color3.fromRGB(238, 246, 255))
if typeof(sparkColor) ~= 'Color3' then sparkColor = Color3.fromRGB(238, 246, 255) end
local sparkCount = math.clamp(math.floor(tonumber(world.ReadOption('P1S29S8', 18)) or 18), 0, 40)
local sparkThickness = math.max(0.2, tonumber(world.ReadOption('P1S29S9', 2.2)) or 2.2)
local sparkDistance = math.max(2, tonumber(world.ReadOption('P1S29S10', 22)) or 22)
local sparkSpeed = math.max(2, tonumber(world.ReadOption('P1S29S11', 22)) or 22)
local sparks = Instance.new('ParticleEmitter')
sparks.Name = 'ZkxHubLightningSparks'
sparks.Texture = 'rbxassetid://119455261341623'
sparks.Rate = 0
sparks.Color = ColorSequence.new(sparkColor)
sparks.LightEmission = 1
sparks.Speed = NumberRange.new(sparkSpeed * 0.65, sparkSpeed)
sparks.Lifetime =
NumberRange.new(math.max(0.1, sparkDistance / sparkSpeed * 0.65), math.max(0.15, sparkDistance / sparkSpeed))
sparks.Size = NumberSequence.new({
NumberSequenceKeypoint.new(0, sparkThickness * 0.035),
NumberSequenceKeypoint.new(1, 0),
})
sparks.SpreadAngle = Vector2.new(180, 180)
sparks.Acceleration = Vector3.new(0, -Workspace.Gravity * 0.2, 0)
sparks.Parent = impact
sparks:Emit(sparkCount)
table.insert(instances, sparks)
end
if world.ReadToggle('P1S29T3', true) then
local explosionColor = world.ReadOption('P1S29C3', Color3.fromRGB(238, 200, 255))
if typeof(explosionColor) ~= 'Color3' then explosionColor = Color3.fromRGB(238, 200, 255) end
local explosionSize = math.max(0, tonumber(world.ReadOption('P1S29S13', 0.45)) or 0.45)
local explosionBolts = math.clamp(math.floor(tonumber(world.ReadOption('P1S29S14', 14)) or 14), 0, 30)
for _ = 1, explosionBolts do
local angle = math.random() * math.pi * 2
local length = (4 + math.random() * 12) * explosionSize
local arcEnd = endPosition
+ Vector3.new(math.cos(angle) * length, math.random() * length * 0.35, math.sin(angle) * length)
world.AddLightningSegment(instances, endPosition, arcEnd, explosionColor, thickness * 0.22, flash * 0.5)
end
end
task.delay(0.24, function()
for _, instance in ipairs(instances) do
if instance and instance.Parent then pcall(function() instance:Destroy() end) end
end
end)
end
function RivalsRuntimeBridge.WorldVisuals.FireWeatherLightning()
local world = RivalsRuntimeBridge.WorldVisuals
local camera = Workspace.CurrentCamera
if not camera or not world.ReadToggle('P1S29T1', false) then return end
local preset = world.ActiveWeatherPreset
if preset ~= 'Rain' and preset ~= 'Blizzard' then return end
local distanceLimit = math.max(10, tonumber(world.ReadOption('P1S29S2', 80)) or 80)
local radius = math.min(18, distanceLimit) + math.random() * math.max(0, distanceLimit - math.min(18, distanceLimit))
local angle = math.random() * math.pi * 2
local cameraPosition = camera.CFrame.Position
local strikeX = cameraPosition.X + math.cos(angle) * radius
local strikeZ = cameraPosition.Z + math.sin(angle) * radius
local height = math.max(50, tonumber(world.ReadOption('P1S29S3', 220)) or 220)
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
if LP.Character then params.FilterDescendantsInstances = { LP.Character } end
local groundY = cameraPosition.Y - 40
local result = Workspace:Raycast(Vector3.new(strikeX, cameraPosition.Y + height, strikeZ), Vector3.new(0, -2000, 0), params)
if result then groundY = result.Position.Y end
local finishPosition = Vector3.new(strikeX, groundY, strikeZ)
local startPosition =
Vector3.new(strikeX + (math.random() - 0.5) * 30, groundY + height, strikeZ + (math.random() - 0.5) * 30)
world.RenderWeatherLightning(startPosition, finishPosition)
world.PlayWeatherThunder(radius)
end
function RivalsRuntimeBridge.WorldVisuals.UpdateWeather()
local world = RivalsRuntimeBridge.WorldVisuals
local part = world.OwnedWeatherPart
local camera = Workspace.CurrentCamera
if part and part.Parent and camera then
local height = tonumber(world.ReadOption('P1S28S7', 45)) or 45
part.Position = camera.CFrame.Position + Vector3.new(0, height, 0)
end
if
not part
or not world.ReadToggle('P1S29T1', false)
or (world.ActiveWeatherPreset ~= 'Rain' and world.ActiveWeatherPreset ~= 'Blizzard')
then
return
end
local now = tick()
if now >= world.NextLightningAt then
local interval = math.max(0.2, tonumber(world.ReadOption('P1S29S1', 2)) or 2)
world.NextLightningAt = now + interval
world.FireWeatherLightning()
end
end
function RivalsRuntimeBridge.WorldVisuals.RestoreMotionBlur()
local world = RivalsRuntimeBridge.WorldVisuals
local effect = world.MotionBlurEffect
world.MotionBlurEffect = nil
world.MotionBlurLastCFrame = nil
world.MotionBlurSize = 0
if effect then pcall(function() effect:Destroy() end) end
end
function RivalsRuntimeBridge.WorldVisuals.UpdateMotionBlur(deltaTime)
local world = RivalsRuntimeBridge.WorldVisuals
if not world.ReadToggle('PX2T1', false) then
if world.MotionBlurEffect or world.MotionBlurLastCFrame then world.RestoreMotionBlur() end
return
end
local camera = Workspace.CurrentCamera
if not camera then return end
local effect = world.MotionBlurEffect
if not effect or effect.Parent == nil then
effect = Instance.new('BlurEffect')
effect.Name = 'ZkxHubWorldVisuals_MotionBlur'
effect.Size = 0
effect.Parent = world.Lighting
world.MotionBlurEffect = effect
end
local current = camera.CFrame
local last = world.MotionBlurLastCFrame
world.MotionBlurLastCFrame = current
local dt = math.max(tonumber(deltaTime) or 0, 1 / 240)
local speed = 0
if last then
local source = world.ReadOption('PX2D1', 'Camera + Movement')
local turn = math.acos(math.clamp(current.LookVector:Dot(last.LookVector), -1, 1))
local travel = (current.Position - last.Position).Magnitude
if travel < 60 then
-- a hard flick is ~10 rad/s and a sprint ~20 studs/s, so turning counts far more than walking
local turnSpeed = source == 'Movement' and 0 or turn / dt / 10
local moveSpeed = source == 'Camera Turning' and 0 or travel / dt / 80
speed = turnSpeed + moveSpeed
end
end
local threshold = math.clamp(tonumber(world.ReadOption('PX2S3', 0)) or 0, 0, 0.95)
if threshold > 0 then speed = math.max(speed - threshold, 0) / (1 - threshold) end
local sensitivity = math.max(tonumber(world.ReadOption('PX2S2', 1)) or 1, 0)
local ceiling = math.clamp(tonumber(world.ReadOption('PX2S1', 14)) or 14, 0, 56)
local target = math.min(ceiling, speed * sensitivity * ceiling)
local rate
if target > world.MotionBlurSize then
rate = math.clamp(tonumber(world.ReadOption('PX2S4', 14)) or 14, 1, 60)
else
rate = math.clamp(tonumber(world.ReadOption('PX2S5', 14)) or 14, 1, 60)
end
world.MotionBlurSize += (target - world.MotionBlurSize) * math.min(1, dt * rate)
effect.Size = world.MotionBlurSize
end
function RivalsRuntimeBridge.WorldVisuals.UpdateFrame(deltaTime)
RivalsRuntimeBridge.WorldVisuals.UpdateWeather()
RivalsRuntimeBridge.WorldVisuals.UpdateMotionBlur(deltaTime)
end
function RivalsRuntimeBridge.WorldVisuals.UpdateStretchedResolution()
local world = RivalsRuntimeBridge.WorldVisuals
local camera = Workspace.CurrentCamera
if not camera then return end
local xRatio = math.clamp(tonumber(world.ReadOption('P1S30S1', 1)) or 1, 0.01, 1)
local yRatio = math.clamp(tonumber(world.ReadOption('P1S30S2', 1)) or 1, 0.01, 1)
local base = camera.CFrame
local result = base * CFrame.new(0, 0, 0, xRatio, 0, 0, 0, yRatio, 0, 0, 0, 1)
world.StretchedLastCamera = camera
world.StretchedLastBase = base
world.StretchedLastResult = result
camera.CFrame = result
end
function RivalsRuntimeBridge.WorldVisuals.RestoreStretchedResolution()
local world = RivalsRuntimeBridge.WorldVisuals
if world.StretchedResolutionBound then
RunService:UnbindFromRenderStep('ZkxHubStretchedResolution')
world.StretchedResolutionBound = false
end
local camera = world.StretchedLastCamera
if
camera
and camera.Parent
and world.StretchedLastBase
and world.StretchedLastResult
and camera.CFrame == world.StretchedLastResult
then
camera.CFrame = world.StretchedLastBase
end
world.StretchedLastCamera = nil
world.StretchedLastBase = nil
world.StretchedLastResult = nil
end
function RivalsRuntimeBridge.WorldVisuals.RefreshStretchedResolution()
local world = RivalsRuntimeBridge.WorldVisuals
if not world.ReadToggle('P1S30T1', false) then
world.RestoreStretchedResolution()
return
end
if not world.StretchedResolutionBound then
world.StretchedResolutionBound = true
RunService:BindToRenderStep(
'ZkxHubStretchedResolution',
Enum.RenderPriority.Camera.Value + 1,
GuardRivalsCallback('WorldVisuals_StretchedResolution', world.UpdateStretchedResolution)
)
end
end
function RivalsRuntimeBridge.WorldVisuals.LoadCustomSkyboxes()
local world = RivalsRuntimeBridge.WorldVisuals
if world.CustomSkyboxesLoaded then return end
world.CustomSkyboxesLoaded = true
world.CustomSkyboxes = {}
if not isfile(world.CustomSkyPath) then return end
local readOk, raw = pcall(readfile, world.CustomSkyPath)
local decodeOk, decoded = pcall(function() return game:GetService('HttpService'):JSONDecode(raw) end)
if not readOk or not decodeOk or type(decoded) ~= 'table' then return end
for name, faces in pairs(decoded) do
if type(name) == 'string' and name ~= '' and type(faces) == 'table' and world.SkyPresets[name] == nil then
local normalized = {}
local valid = true
for property in pairs(world.SkyFaceInputs) do
normalized[property] = world.NormalizeAssetId(faces[property])
if not normalized[property] then
valid = false
break
end
end
if valid then world.CustomSkyboxes[name] = normalized end
end
end
end
function RivalsRuntimeBridge.WorldVisuals.SaveCustomSkyboxes()
local world = RivalsRuntimeBridge.WorldVisuals
return pcall(function() writefile(world.CustomSkyPath, game:GetService('HttpService'):JSONEncode(world.CustomSkyboxes)) end)
end
function RivalsRuntimeBridge.WorldVisuals.ResolveSkyPresetNames()
local world = RivalsRuntimeBridge.WorldVisuals
world.LoadCustomSkyboxes()
local names = table.clone(world.SkyPresetNames)
local customNames = {}
for name in pairs(world.CustomSkyboxes) do
customNames[#customNames + 1] = name
end
table.sort(customNames)
for _, name in ipairs(customNames) do
names[#names + 1] = name
end
return names
end
function RivalsRuntimeBridge.WorldVisuals.ResolveCustomSkyNames()
RivalsRuntimeBridge.WorldVisuals.LoadCustomSkyboxes()
local names = {}
for name in pairs(RivalsRuntimeBridge.WorldVisuals.CustomSkyboxes) do
names[#names + 1] = name
end
table.sort(names)
return names
end
function RivalsRuntimeBridge.WorldVisuals.ResolveSkyPreset(name)
local world = RivalsRuntimeBridge.WorldVisuals
world.LoadCustomSkyboxes()
return world.SkyPresets[name] or world.CustomSkyboxes[name]
end
RivalsRuntimeBridge.WorldVisuals.WorldPresetManagedToggles = {
'P1S4T2',
'P1S4T3',
'P1S4T4',
'P1S4T5',
'P1S4T6',
'P1S4T7',
'P1S4T8',
'P1S5T1',
'P1S5T2',
'P1S5T3',
'P1S5T4',
'P1S5T5',
'P1S5T6',
'P1S5T7',
'P1S6T1',
'P1S7T1',
'P1S8T1',
'P1S10T1',
'P1S12T1',
'P1S13T1',
}
RivalsRuntimeBridge.WorldVisuals.WorldPresetOrder = {
'Game Default',
'Competitive Clarity',
'Sunny Day',
'Golden Hour',
'Cinematic',
'Midnight',
'Neon Nights',
'Vaporwave',
'Crimson Dusk',
'Arctic',
'Toxic',
'Deep Space',
'Noir',
'Retro Aesthetic',
'Moody Dawn',
}
-- ======================================================================
-- World presets
-- ======================================================================
RivalsRuntimeBridge.WorldVisuals.WorldPresets = {
['Game Default'] = { Toggles = {}, Options = {}, Colors = {} },
['Competitive Clarity'] = {
Toggles = {
P1S4T3 = true,
P1S4T4 = true,
P1S4T7 = true,
P1S4T2 = true,
P1S5T1 = true,
P1S5T3 = true,
P1S7T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 12,
P1S4S2 = 2.8,
P1S4S4 = 0.1,
P1S5S1 = 0,
P1S5S2 = 10000,
P1S7S1 = 0.05,
P1S7S2 = 0.03,
P1S7S3 = 0.05,
P1S13S1 = 0,
P1S13S2 = 0,
P1S13S3 = 0,
P1S13S4 = 0,
P1S12D1 = 'FPSBoost',
},
Colors = {
P1S4C1 = { 170, 170, 170 },
P1S4C2 = { 170, 170, 170 },
P1S5C1 = { 200, 200, 200 },
P1S7C1 = { 255, 255, 255 },
},
},
['Sunny Day'] = {
Toggles = {
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T6 = true,
P1S4T7 = true,
P1S4T8 = true,
P1S5T4 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S10T1 = true,
},
Options = {
P1S4S1 = 13,
P1S4S2 = 2.4,
P1S4S3 = 0.4,
P1S4S4 = 0.05,
P1S4S5 = 0.3,
P1S5S4 = 0.4,
P1S6S1 = 0.45,
P1S6S2 = 32,
P1S6S3 = 1.35,
P1S7S1 = 0.15,
P1S7S2 = 0.02,
P1S7S3 = 0.06,
P1S10S1 = 0.25,
P1S10S2 = 0.15,
},
Colors = {
P1S4C3 = { 255, 240, 200 },
P1S4C4 = { 160, 170, 190 },
P1S7C1 = { 255, 250, 240 },
},
},
['Golden Hour'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T6 = true,
P1S4T7 = true,
P1S4T8 = true,
P1S5T4 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S10T1 = true,
P1S13T1 = true,
},
Options = {
P1S4S1 = 17.5,
P1S4S2 = 2.5,
P1S4S3 = 0.4,
P1S4S4 = 0.15,
P1S4S5 = 0.3,
P1S5S4 = 0.35,
P1S6S1 = 0.55,
P1S6S2 = 40,
P1S6S3 = 1.2,
P1S7S1 = 0.12,
P1S7S2 = 0.01,
P1S7S3 = 0.06,
P1S10S1 = 0.28,
P1S10S2 = 0.18,
P1S13S1 = 0.35,
P1S13S2 = 0.25,
P1S13S3 = 0.25,
P1S13S4 = 0.6,
},
Colors = {
P1S4C1 = { 140, 120, 105 },
P1S4C2 = { 150, 115, 85 },
P1S4C3 = { 255, 180, 110 },
P1S4C4 = { 120, 70, 40 },
P1S7C1 = { 255, 235, 215 },
P1S13C1 = { 255, 170, 110 },
P1S13C2 = { 120, 70, 50 },
},
},
['Cinematic'] = {
Toggles = {
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T6 = true,
P1S4T7 = true,
P1S4T8 = true,
P1S5T4 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S10T1 = true,
P1S13T1 = true,
},
Options = {
P1S4S1 = 15.5,
P1S4S2 = 2.2,
P1S4S3 = 0.4,
P1S4S4 = -0.1,
P1S4S5 = 0.4,
P1S5S4 = 0.25,
P1S6S1 = 0.45,
P1S6S2 = 36,
P1S6S3 = 1.3,
P1S7S1 = 0.18,
P1S7S2 = -0.03,
P1S7S3 = 0.18,
P1S10S1 = 0.18,
P1S10S2 = 0.12,
P1S13S1 = 0.3,
P1S13S2 = 0.2,
P1S13S3 = 0.1,
P1S13S4 = 0.35,
},
Colors = {
P1S4C3 = { 255, 200, 150 },
P1S4C4 = { 40, 70, 80 },
P1S7C1 = { 225, 240, 245 },
P1S13C1 = { 170, 200, 210 },
P1S13C2 = { 90, 110, 120 },
},
},
['Midnight'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T7 = true,
P1S5T4 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 0,
P1S4S2 = 1.2,
P1S4S4 = 0.1,
P1S5S4 = 0.5,
P1S6S1 = 0.35,
P1S6S2 = 28,
P1S6S3 = 1.4,
P1S7S1 = -0.08,
P1S7S2 = 0,
P1S7S3 = 0.05,
P1S13S1 = 0.32,
P1S13S2 = 0.2,
P1S13S3 = 0,
P1S13S4 = 0.55,
P1S12D1 = 'BetterNight',
},
Colors = {
P1S4C1 = { 70, 80, 110 },
P1S4C2 = { 60, 70, 105 },
P1S4C3 = { 90, 110, 170 },
P1S4C4 = { 25, 30, 55 },
P1S7C1 = { 205, 215, 255 },
P1S13C1 = { 110, 130, 180 },
P1S13C2 = { 25, 35, 70 },
},
},
['Neon Nights'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 0,
P1S4S2 = 1.6,
P1S6S1 = 0.9,
P1S6S2 = 56,
P1S6S3 = 0.8,
P1S7S1 = 0.25,
P1S7S2 = -0.02,
P1S7S3 = 0.12,
P1S13S1 = 0.28,
P1S13S2 = 0.15,
P1S13S3 = 0,
P1S13S4 = 0.5,
P1S12D1 = 'PurpleNight',
},
Colors = {
P1S4C1 = { 85, 70, 120 },
P1S4C2 = { 70, 55, 110 },
P1S4C3 = { 150, 80, 255 },
P1S4C4 = { 30, 15, 60 },
P1S7C1 = { 235, 220, 255 },
P1S13C1 = { 150, 90, 220 },
P1S13C2 = { 40, 20, 80 },
},
},
['Vaporwave'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 18,
P1S4S2 = 2.2,
P1S6S1 = 0.7,
P1S6S2 = 48,
P1S6S3 = 1,
P1S7S1 = 0.3,
P1S7S2 = 0,
P1S7S3 = 0.08,
P1S13S1 = 0.3,
P1S13S2 = 0.25,
P1S13S3 = 0.15,
P1S13S4 = 0.55,
P1S12D1 = 'Aesthetic',
},
Colors = {
P1S4C1 = { 190, 140, 200 },
P1S4C2 = { 170, 120, 190 },
P1S4C3 = { 255, 120, 200 },
P1S4C4 = { 90, 60, 160 },
P1S7C1 = { 255, 210, 240 },
P1S13C1 = { 235, 130, 200 },
P1S13C2 = { 110, 70, 170 },
},
},
['Crimson Dusk'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S10T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 18.2,
P1S4S2 = 2,
P1S6S1 = 0.6,
P1S6S2 = 42,
P1S6S3 = 1.1,
P1S7S1 = 0.15,
P1S7S2 = -0.02,
P1S7S3 = 0.1,
P1S10S1 = 0.3,
P1S10S2 = 0.2,
P1S13S1 = 0.42,
P1S13S2 = 0.3,
P1S13S3 = 0.3,
P1S13S4 = 0.6,
P1S12D1 = 'Flame',
},
Colors = {
P1S4C1 = { 150, 95, 90 },
P1S4C2 = { 140, 80, 75 },
P1S4C3 = { 255, 90, 70 },
P1S4C4 = { 70, 20, 25 },
P1S7C1 = { 255, 215, 205 },
P1S13C1 = { 225, 90, 70 },
P1S13C2 = { 80, 20, 25 },
},
},
['Arctic'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T6 = true,
P1S4T7 = true,
P1S4T8 = true,
P1S5T1 = true,
P1S5T6 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 11,
P1S4S2 = 2.6,
P1S4S3 = 0.6,
P1S4S4 = 0.05,
P1S4S5 = 0.5,
P1S5S1 = 60,
P1S5S2 = 1500,
P1S6S1 = 0.4,
P1S6S2 = 30,
P1S6S3 = 1.5,
P1S7S1 = -0.12,
P1S7S2 = 0.04,
P1S7S3 = 0.05,
P1S12D1 = 'Winter',
},
Colors = {
P1S4C1 = { 200, 215, 235 },
P1S4C2 = { 195, 210, 235 },
P1S4C3 = { 220, 235, 255 },
P1S4C4 = { 150, 170, 200 },
P1S5C1 = { 225, 235, 245 },
P1S5C2 = { 170, 185, 205 },
P1S7C1 = { 225, 240, 255 },
},
},
['Toxic'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S5T1 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 14,
P1S4S2 = 2.1,
P1S5S1 = 40,
P1S5S2 = 900,
P1S6S1 = 0.65,
P1S6S2 = 44,
P1S6S3 = 1,
P1S7S1 = 0.2,
P1S7S2 = -0.02,
P1S7S3 = 0.1,
P1S12D1 = 'GreenHaze',
},
Colors = {
P1S4C1 = { 120, 180, 130 },
P1S4C2 = { 95, 160, 110 },
P1S4C3 = { 150, 255, 170 },
P1S4C4 = { 25, 70, 35 },
P1S5C1 = { 140, 200, 150 },
P1S7C1 = { 215, 255, 220 },
},
},
['Deep Space'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T7 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 0,
P1S4S2 = 1.8,
P1S4S4 = 0.05,
P1S6S1 = 0.6,
P1S6S2 = 40,
P1S6S3 = 1.1,
P1S7S1 = 0.1,
P1S7S2 = 0,
P1S7S3 = 0.1,
P1S13S1 = 0.15,
P1S13S2 = 0.1,
P1S13S3 = 0,
P1S13S4 = 0.3,
P1S12D1 = 'Space2',
},
Colors = {
P1S4C1 = { 90, 90, 130 },
P1S4C2 = { 80, 80, 120 },
P1S4C3 = { 130, 120, 220 },
P1S4C4 = { 20, 20, 50 },
P1S7C1 = { 225, 225, 255 },
P1S13C1 = { 90, 90, 140 },
P1S13C2 = { 20, 20, 50 },
},
},
['Noir'] = {
Toggles = {
P1S4T3 = true,
P1S4T4 = true,
P1S4T7 = true,
P1S5T4 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S13T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 16,
P1S4S2 = 2.4,
P1S4S4 = -0.15,
P1S5S4 = 0.15,
P1S6S1 = 0.3,
P1S6S2 = 30,
P1S6S3 = 1.6,
P1S7S1 = -1,
P1S7S2 = -0.04,
P1S7S3 = 0.35,
P1S13S1 = 0.38,
P1S13S2 = 0.15,
P1S13S3 = 0,
P1S13S4 = 0.5,
P1S12D1 = 'DarkClouds',
},
Colors = {
P1S7C1 = { 255, 255, 255 },
P1S13C1 = { 140, 140, 140 },
P1S13C2 = { 40, 40, 40 },
},
},
['Retro Aesthetic'] = {
Toggles = {
P1S6T1 = true,
P1S7T1 = true,
P1S8T1 = true,
P1S12T1 = true,
P1S13T1 = true,
},
Options = {
P1S6S1 = 0.47,
P1S6S2 = 24,
P1S6S3 = 0.51,
P1S7S1 = -0.07,
P1S7S2 = -0.07,
P1S7S3 = -0.05,
P1S8D1 = 'Retro',
P1S13S1 = 0,
P1S13S2 = 1,
P1S13S3 = 0,
P1S13S4 = 0,
P1S12D1 = 'Aesthetic2',
},
Colors = {
P1S7C1 = { 255, 255, 255 },
P1S13C1 = { 200, 170, 108 },
P1S13C2 = { 92, 60, 14 },
},
},
['Moody Dawn'] = {
Toggles = {
P1S4T2 = true,
P1S4T3 = true,
P1S4T4 = true,
P1S4T5 = true,
P1S4T7 = true,
P1S6T1 = true,
P1S7T1 = true,
P1S12T1 = true,
},
Options = {
P1S4S1 = 6.87,
P1S4S2 = 2.72,
P1S4S4 = -1.07,
P1S6S1 = 0.32,
P1S6S2 = 9,
P1S6S3 = 0.22,
P1S7S1 = 0.03,
P1S7S2 = 0.03,
P1S7S3 = 0.07,
P1S12D1 = 'Nebula3',
},
Colors = {
P1S4C1 = { 57, 138, 167 },
P1S4C2 = { 211, 69, 255 },
P1S4C3 = { 135, 100, 255 },
P1S4C4 = { 210, 188, 100 },
P1S7C1 = { 255, 255, 255 },
},
},
}
RivalsRuntimeBridge.WorldVisuals.AmbiencePresetOrder = {
'Heavy Rain',
'Rain On Window',
'Rain At 3 A.M.',
'Ocean Surf',
'Howling Wind',
'Night Crickets',
'Cozy Fire',
'Lofi Focus',
}
RivalsRuntimeBridge.WorldVisuals.AmbiencePresets = {
['Heavy Rain'] = 'rbxassetid://9112853286',
['Rain On Window'] = 'rbxassetid://9112856394',
['Rain At 3 A.M.'] = 'rbxassetid://130699135921413',
['Ocean Surf'] = 'rbxassetid://9117143192',
['Howling Wind'] = 'rbxassetid://5516579371',
['Night Crickets'] = 'rbxassetid://9112764573',
['Cozy Fire'] = 'rbxassetid://150367086',
['Lofi Focus'] = 'rbxassetid://136419664364400',
}
function RivalsRuntimeBridge.WorldVisuals.ApplyWorldPreset(name)
local world = RivalsRuntimeBridge.WorldVisuals
local preset = world.WorldPresets[name]
if not preset then return end
local wanted = preset.Toggles or {}
for _, toggleId in ipairs(world.WorldPresetManagedToggles) do
local toggle = Toggles and Toggles[toggleId]
if toggle and wanted[toggleId] ~= true and toggle.Value then toggle:SetValue(false) end
end
for optionId, value in pairs(preset.Options or {}) do
local option = Options and Options[optionId]
if option and type(option.SetValue) == 'function' then option:SetValue(value) end
end
for optionId, rgb in pairs(preset.Colors or {}) do
local option = Options and Options[optionId]
if option and type(option.SetValueRGB) == 'function' then option:SetValueRGB(Color3.fromRGB(rgb[1], rgb[2], rgb[3])) end
end
for _, toggleId in ipairs(world.WorldPresetManagedToggles) do
local toggle = Toggles and Toggles[toggleId]
if toggle and wanted[toggleId] == true and not toggle.Value then toggle:SetValue(true) end
end
world.RefreshAll()
end
function RivalsRuntimeBridge.WorldVisuals.RefreshSkyDropdowns()
local world = RivalsRuntimeBridge.WorldVisuals
local presetOption = Options.P1S12D1
local savedOption = Options.P1S12D2
if presetOption and type(presetOption.SetValues) == 'function' then
pcall(function() presetOption:SetValues(world.ResolveSkyPresetNames()) end)
end
if savedOption and type(savedOption.SetValues) == 'function' then
pcall(function() savedOption:SetValues(world.ResolveCustomSkyNames()) end)
end
end
function RivalsRuntimeBridge.WorldVisuals.AddCustomSkybox(name, faces)
local world = RivalsRuntimeBridge.WorldVisuals
world.LoadCustomSkyboxes()
name = type(name) == 'string' and (name:match('^%s*(.-)%s*$') or '') or ''
if name == '' or world.SkyPresets[name] ~= nil or world.CustomSkyboxes[name] ~= nil then return false end
local normalized = {}
for property in pairs(world.SkyFaceInputs) do
normalized[property] = world.NormalizeAssetId(faces[property])
if not normalized[property] then return false end
end
world.CustomSkyboxes[name] = normalized
if not world.SaveCustomSkyboxes() then
world.CustomSkyboxes[name] = nil
return false
end
world.RefreshSkyDropdowns()
return true
end
function RivalsRuntimeBridge.WorldVisuals.AddCustomSkyboxFromOptions()
local world = RivalsRuntimeBridge.WorldVisuals
local faces = {}
for property, optionId in pairs(world.SkyFaceInputs) do
faces[property] = world.ReadOption(optionId, '')
end
local added = world.AddCustomSkybox(world.ReadOption('P1S12I7', ''), faces)
if added then
local nameOption = Options.P1S12I7
if nameOption and type(nameOption.SetValue) == 'function' then nameOption:SetValue('') end
for _, optionId in pairs(world.SkyFaceInputs) do
local option = Options[optionId]
if option and type(option.SetValue) == 'function' then option:SetValue('') end
end
end
return added
end
function RivalsRuntimeBridge.WorldVisuals.RemoveSelectedCustomSkybox()
local world = RivalsRuntimeBridge.WorldVisuals
local name = world.ReadOption('P1S12D2', nil)
if type(name) ~= 'string' or world.CustomSkyboxes[name] == nil then return false end
local removed = world.CustomSkyboxes[name]
world.CustomSkyboxes[name] = nil
if not world.SaveCustomSkyboxes() then
world.CustomSkyboxes[name] = removed
return false
end
world.RefreshSkyDropdowns()
local presetOption = Options.P1S12D1
if presetOption and presetOption.Value == name and type(presetOption.SetValue) == 'function' then
presetOption:SetValue(nil)
end
local savedOption = Options.P1S12D2
if savedOption and savedOption.Value == name and type(savedOption.SetValue) == 'function' then savedOption:SetValue(nil) end
world.RefreshSky()
return true
end
function RivalsRuntimeBridge.WorldVisuals.RestoreSky()
local world = RivalsRuntimeBridge.WorldVisuals
local owned = world.OwnedSky
world.OwnedSky = nil
world.ActiveSkyName = nil
if owned then pcall(function() owned:Destroy() end) end
for sky, guard in pairs(world.NativeSkyGuards) do
world.DestroyGuard(guard)
world.NativeSkyGuards[sky] = nil
end
end
function RivalsRuntimeBridge.WorldVisuals.GuardNativeSky(sky, preset)
local world = RivalsRuntimeBridge.WorldVisuals
if not sky or sky == world.OwnedSky then return end
local guard = world.NativeSkyGuards[sky]
if not guard then
guard = world.NewGuard(sky)
world.NativeSkyGuards[sky] = guard
end
world.ReconcileGuard(guard, world.SkyProperties, preset or {})
end
function RivalsRuntimeBridge.WorldVisuals.RefreshSky()
local world = RivalsRuntimeBridge.WorldVisuals
local presetName = world.ReadOption('P1S12D1', '')
local preset = world.ReadToggle('P1S12T1', false) and world.ResolveSkyPreset(presetName) or nil
if not preset then
world.RestoreSky()
return
end
local nativeSkies = {}
for _, child in ipairs(world.Lighting:GetChildren()) do
if child:IsA('Sky') and child ~= world.OwnedSky then nativeSkies[#nativeSkies + 1] = child end
end
if #nativeSkies > 0 then
local owned = world.OwnedSky
world.OwnedSky = nil
world.ActiveSkyName = nil
if owned then pcall(function() owned:Destroy() end) end
for _, sky in ipairs(nativeSkies) do
world.GuardNativeSky(sky, preset)
end
return
end
if not world.OwnedSky or world.OwnedSky.Parent == nil or world.ActiveSkyName ~= presetName then
local previous = world.OwnedSky
world.OwnedSky = nil
if previous then pcall(function() previous:Destroy() end) end
local sky = Instance.new('Sky')
sky.Name = 'ZkxHubWorldVisuals_Sky'
for property, value in pairs(preset) do
pcall(function() sky[property] = value end)
end
world.OwnedSky = sky
world.ActiveSkyName = presetName
sky.Parent = world.Lighting
end
end
function RivalsRuntimeBridge.WorldVisuals.ResolveAtmosphereValues()
local world = RivalsRuntimeBridge.WorldVisuals
return {
Color = world.ReadOption('P1S13C1', Color3.new(0.7843, 0.6667, 0.4235)),
Decay = world.ReadOption('P1S13C2', Color3.new(0.3608, 0.2353, 0.0549)),
Density = world.ReadOption('P1S13S1', 0.395),
Offset = world.ReadOption('P1S13S2', 0),
Glare = world.ReadOption('P1S13S3', 0),
Haze = world.ReadOption('P1S13S4', 0),
}
end
function RivalsRuntimeBridge.WorldVisuals.RestoreAtmosphere()
local world = RivalsRuntimeBridge.WorldVisuals
local owned = world.OwnedAtmosphere
world.OwnedAtmosphere = nil
if owned then pcall(function() owned:Destroy() end) end
for atmosphere, guard in pairs(world.NativeAtmosphereGuards) do
world.DestroyGuard(guard)
world.NativeAtmosphereGuards[atmosphere] = nil
end
end
function RivalsRuntimeBridge.WorldVisuals.GuardNativeAtmosphere(atmosphere, desired)
local world = RivalsRuntimeBridge.WorldVisuals
if not atmosphere or atmosphere == world.OwnedAtmosphere then return end
local guard = world.NativeAtmosphereGuards[atmosphere]
if not guard then
guard = world.NewGuard(atmosphere)
world.NativeAtmosphereGuards[atmosphere] = guard
end
world.ReconcileGuard(guard, world.AtmosphereProperties, desired)
end
function RivalsRuntimeBridge.WorldVisuals.RefreshAtmosphere()
local world = RivalsRuntimeBridge.WorldVisuals
if not world.ReadToggle('P1S13T1', false) then
world.RestoreAtmosphere()
return
end
local desired = world.ResolveAtmosphereValues()
local nativeAtmospheres = {}
for _, child in ipairs(world.Lighting:GetChildren()) do
if child:IsA('Atmosphere') and child ~= world.OwnedAtmosphere then nativeAtmospheres[#nativeAtmospheres + 1] = child end
end
if #nativeAtmospheres > 0 then
local owned = world.OwnedAtmosphere
world.OwnedAtmosphere = nil
if owned then pcall(function() owned:Destroy() end) end
for _, atmosphere in ipairs(nativeAtmospheres) do
world.GuardNativeAtmosphere(atmosphere, desired)
end
return
end
local atmosphere = world.OwnedAtmosphere
if not atmosphere or atmosphere.Parent == nil then
atmosphere = Instance.new('Atmosphere')
atmosphere.Name = 'ZkxHubWorldVisuals_Atmosphere'
world.OwnedAtmosphere = atmosphere
atmosphere.Parent = world.Lighting
end
for property, value in pairs(desired) do
atmosphere[property] = value
end
end
function RivalsRuntimeBridge.WorldVisuals.OnLightingDescendantAdded(descendant)
local world = RivalsRuntimeBridge.WorldVisuals
local className = descendant.ClassName
local definition = world.PostEffects[className]
if definition and world.ReadToggle(definition.Toggle, false) then
world.GuardNativeEffect(className, descendant)
elseif descendant:IsA('Sky') and world.ReadToggle('P1S12T1', false) then
world.RefreshSky()
elseif descendant:IsA('Atmosphere') and world.ReadToggle('P1S13T1', false) then
world.RefreshAtmosphere()
end
end
function RivalsRuntimeBridge.WorldVisuals.OnLightingDescendantRemoving(descendant)
local world = RivalsRuntimeBridge.WorldVisuals
local shouldRefresh = false
local effectGuards = world.NativeEffectGuards[descendant.ClassName]
local effectGuard = effectGuards and effectGuards[descendant]
if effectGuard then
world.DestroyGuard(effectGuard)
effectGuards[descendant] = nil
end
local skyGuard = world.NativeSkyGuards[descendant]
if skyGuard then
world.DestroyGuard(skyGuard)
world.NativeSkyGuards[descendant] = nil
shouldRefresh = true
end
local atmosphereGuard = world.NativeAtmosphereGuards[descendant]
if atmosphereGuard then
world.DestroyGuard(atmosphereGuard)
world.NativeAtmosphereGuards[descendant] = nil
shouldRefresh = true
end
for className, owned in pairs(world.OwnedEffects) do
if descendant == owned then
world.OwnedEffects[className] = nil
shouldRefresh = true
end
end
if descendant == world.OwnedSky then
world.OwnedSky = nil
shouldRefresh = true
elseif descendant == world.OwnedAtmosphere then
world.OwnedAtmosphere = nil
shouldRefresh = true
end
if shouldRefresh and world.Initialized then
task.defer(function()
if world.Initialized then world.RefreshAll() end
end)
end
end
function RivalsRuntimeBridge.WorldVisuals.EnsureInitialized()
local world = RivalsRuntimeBridge.WorldVisuals
if world.Initialized then return end
world.Initialized = true
world.LoadCustomSkyboxes()
world.LightingGuard = world.NewGuard(world.Lighting)
world.Connections.DescendantAdded = world.Lighting.DescendantAdded:Connect(world.OnLightingDescendantAdded)
world.Connections.DescendantRemoving = world.Lighting.DescendantRemoving:Connect(world.OnLightingDescendantRemoving)
local preRenderSignal = RunService.PreRender or RunService.RenderStepped
world.Connections.PreRender = preRenderSignal:Connect(world.UpdateFrame)
end
function RivalsRuntimeBridge.WorldVisuals.RefreshAll()
local world = RivalsRuntimeBridge.WorldVisuals
world.EnsureInitialized()
world.RefreshLighting()
for className in pairs(world.PostEffects) do
world.RefreshPostEffect(className)
end
world.RefreshAmbience()
world.RefreshWeather()
world.RefreshStretchedResolution()
world.RefreshSky()
world.RefreshAtmosphere()
end
function RivalsRuntimeBridge.WorldVisuals.Destroy()
local world = RivalsRuntimeBridge.WorldVisuals
if not world.Initialized then return end
world.Initialized = false
for _, connection in pairs(world.Connections) do
connection:Disconnect()
end
world.Connections = {}
world.DestroyGuard(world.LightingGuard)
world.LightingGuard = nil
for className in pairs(world.PostEffects) do
world.RestorePostEffect(className)
end
world.RestoreMotionBlur()
local ambience = world.OwnedAmbience
world.OwnedAmbience = nil
world.ActiveAmbienceSource = nil
if ambience then pcall(function() ambience:Destroy() end) end
world.DestroyWeather()
world.RestoreStretchedResolution()
world.RestoreSky()
world.RestoreAtmosphere()
end
-- ===== camera tools :: camera tilt + freecam =====
RivalsRuntimeBridge.CameraTilt = {
Roll = 0,
Bound = false,
Camera = nil,
LastBase = nil,
LastResult = nil,
}
function RivalsRuntimeBridge.CameraTilt.Restore()
local tilt = RivalsRuntimeBridge.CameraTilt
local camera = tilt.Camera
if camera and camera.Parent and tilt.LastBase and tilt.LastResult and camera.CFrame == tilt.LastResult then
camera.CFrame = tilt.LastBase
end
tilt.LastBase = nil
tilt.LastResult = nil
end
function RivalsRuntimeBridge.CameraTilt.Step(deltaTime)
local tilt = RivalsRuntimeBridge.CameraTilt
local world = RivalsRuntimeBridge.WorldVisuals
local camera = Workspace.CurrentCamera
local dt = math.clamp(tonumber(deltaTime) or 0, 0, 0.1)
if not camera or dt <= 0 then return end
if tilt.Camera ~= camera then
tilt.Restore()
tilt.Camera = camera
end
if not world.ReadToggle('PX17T1', false) or RivalsRuntimeBridge.Freecam.Active then
if tilt.Roll ~= 0 or tilt.LastResult then
tilt.Roll = 0
tilt.Restore()
end
return
end
-- A rolls the camera one way and D the other; the roll eases back to level while the menu or a text box has the keys
local target = 0
if not Library.Toggled and not UserInputService:GetFocusedTextBox() then
local left = UserInputService:IsKeyDown(Enum.KeyCode.A)
local right = UserInputService:IsKeyDown(Enum.KeyCode.D)
local angle = math.clamp(tonumber(world.ReadOption('PX17S1', 5)) or 5, 0, 20)
if world.ReadToggle('PX17T2', false) then angle = -angle end
if left and not right then
target = angle
elseif right and not left then
target = -angle
end
end
local smoothness = math.clamp(tonumber(world.ReadOption('PX17S2', 10)) or 10, 1, 60)
tilt.Roll += (target - tilt.Roll) * (1 - math.exp(-smoothness * dt))
if target == 0 and math.abs(tilt.Roll) < 0.005 then
tilt.Roll = 0
tilt.Restore()
return
end
-- the roll is applied on top of whatever the game and Stretched Resolution wrote this frame (shake and stretch survive),
-- and a camera nobody rewrote since our last write is rebuilt from its own base so the roll never compounds
local base = camera.CFrame
if tilt.LastResult and base == tilt.LastResult then base = tilt.LastBase end
local result = base * CFrame.Angles(0, 0, math.rad(tilt.Roll))
tilt.LastBase = base
tilt.LastResult = result
camera.CFrame = result
end
function RivalsRuntimeBridge.CameraTilt.Start()
local tilt = RivalsRuntimeBridge.CameraTilt
if tilt.Bound then return end
tilt.Bound = true
RunService:BindToRenderStep(
'ZkxHubCameraTilt',
Enum.RenderPriority.Camera.Value + 2,
GuardRivalsCallback('CameraTilt_Step', tilt.Step)
)
end
function RivalsRuntimeBridge.CameraTilt.Destroy()
local tilt = RivalsRuntimeBridge.CameraTilt
if tilt.Bound then
tilt.Bound = false
pcall(function() RunService:UnbindFromRenderStep('ZkxHubCameraTilt') end)
end
tilt.Restore()
tilt.Roll = 0
tilt.Camera = nil
end
RivalsRuntimeBridge.Freecam = {
Active = false,
Camera = nil,
Position = Vector3.zero,
Yaw = 0,
Pitch = 0,
TargetYaw = 0,
TargetPitch = 0,
Velocity = Vector3.zero,
SavedCameraType = nil,
SavedFov = nil,
SavedMouseBehavior = nil,
SavedRotation = nil,
}
function RivalsRuntimeBridge.Freecam.ReadNumber(optionId, fallback, minimum, maximum)
local value = tonumber(RivalsRuntimeBridge.WorldVisuals.ReadOption(optionId, fallback)) or fallback
return math.clamp(value, minimum, maximum)
end
-- keeps WASD, Space, Shift, Ctrl and the mouse buttons away from the game while the camera is detached
function RivalsRuntimeBridge.Freecam.Sink()
if not RivalsRuntimeBridge.Freecam.Active or Library.Toggled or UserInputService:GetFocusedTextBox() then
return Enum.ContextActionResult.Pass
end
return Enum.ContextActionResult.Sink
end
-- the game's own camera keeps reading the mouse, so its rotation is pinned to where you were looking
function RivalsRuntimeBridge.Freecam.Hold()
local freecam = RivalsRuntimeBridge.Freecam
local rotation = freecam.SavedRotation
if not freecam.Active or not rotation then return end
local controller = RivalsModsState.ResolveCameraController()
if controller and type(controller.SetRotation) == 'function' then controller:SetRotation(rotation) end
end
function RivalsRuntimeBridge.Freecam.Step(deltaTime)
local freecam = RivalsRuntimeBridge.Freecam
local camera = Workspace.CurrentCamera
if not freecam.Active or not camera then return end
freecam.Camera = camera
local dt = math.clamp(tonumber(deltaTime) or 0, 0, 0.1)
local world = RivalsRuntimeBridge.WorldVisuals
local menuOpen = Library.Toggled == true
local typing = UserInputService:GetFocusedTextBox() ~= nil
local smoothing = freecam.ReadNumber('PX18S4', 14, 0, 60)
local alpha = smoothing <= 0 and 1 or 1 - math.exp(-smoothing * dt)
if not menuOpen then
if UserInputService.MouseBehavior ~= Enum.MouseBehavior.LockCenter then
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
end
local delta = UserInputService:GetMouseDelta()
local sensitivity = freecam.ReadNumber('PX18S3', 1, 0.1, 5) * 0.0042
freecam.TargetYaw = freecam.TargetYaw - delta.X * sensitivity
freecam.TargetPitch = math.clamp(freecam.TargetPitch - delta.Y * sensitivity, -1.55, 1.55)
end
freecam.Yaw += (freecam.TargetYaw - freecam.Yaw) * alpha
freecam.Pitch += (freecam.TargetPitch - freecam.Pitch) * alpha
local rotation = CFrame.Angles(0, freecam.Yaw, 0) * CFrame.Angles(freecam.Pitch, 0, 0)
local direction = Vector3.zero
if not menuOpen and not typing then
local forward = (UserInputService:IsKeyDown(Enum.KeyCode.W) and 1 or 0)
- (UserInputService:IsKeyDown(Enum.KeyCode.S) and 1 or 0)
local strafe = (UserInputService:IsKeyDown(Enum.KeyCode.D) and 1 or 0)
- (UserInputService:IsKeyDown(Enum.KeyCode.A) and 1 or 0)
local rise = 0
if UserInputService:IsKeyDown(Enum.KeyCode.Space) or UserInputService:IsKeyDown(Enum.KeyCode.E) then
rise += 1
end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) or UserInputService:IsKeyDown(Enum.KeyCode.Q) then
rise -= 1
end
direction = rotation.LookVector * forward + rotation.RightVector * strafe + Vector3.new(0, rise, 0)
if direction.Magnitude > 1 then direction = direction.Unit end
end
local speed = freecam.ReadNumber('PX18S1', 60, 1, 1000)
if not menuOpen and not typing and UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
speed = speed * freecam.ReadNumber('PX18S2', 3, 1, 20)
end
freecam.Velocity = freecam.Velocity:Lerp(direction * speed, alpha)
freecam.Position = freecam.Position + freecam.Velocity * dt
local frame = CFrame.new(freecam.Position) * rotation
if world.ReadToggle('P1S30T1', false) then
local xRatio = math.clamp(tonumber(world.ReadOption('P1S30S1', 1)) or 1, 0.01, 1)
local yRatio = math.clamp(tonumber(world.ReadOption('P1S30S2', 1)) or 1, 0.01, 1)
frame = frame * CFrame.new(0, 0, 0, xRatio, 0, 0, 0, yRatio, 0, 0, 0, 1)
end
if camera.CameraType ~= Enum.CameraType.Scriptable then camera.CameraType = Enum.CameraType.Scriptable end
camera.CFrame = frame
camera.Focus = frame
local zoom = freecam.ReadNumber('PX18S5', 1, 0.5, 8)
camera.FieldOfView = math.clamp(math.deg(2 * math.atan(math.tan(math.rad(freecam.SavedFov or 70) / 2) / zoom)), 1, 120)
end
function RivalsRuntimeBridge.Freecam.Enable()
local freecam = RivalsRuntimeBridge.Freecam
if freecam.Active then return true end
local camera = Workspace.CurrentCamera
if not camera then return false end
local origin = camera.CFrame
local look = origin.LookVector
freecam.Camera = camera
freecam.Position = origin.Position
freecam.Pitch = math.asin(math.clamp(look.Y, -1, 1))
freecam.Yaw = math.atan2(-look.X, -look.Z)
freecam.TargetPitch = freecam.Pitch
freecam.TargetYaw = freecam.Yaw
freecam.Velocity = Vector3.zero
freecam.SavedCameraType = camera.CameraType
freecam.SavedFov = camera.FieldOfView
freecam.SavedMouseBehavior = UserInputService.MouseBehavior
local controller = RivalsModsState.ResolveCameraController()
local rotation = controller and rawget(controller, 'Rotation')
freecam.SavedRotation = typeof(rotation) == 'Vector2' and rotation or nil
freecam.Active = true
AimbotInputState.FreecamActive = true
RivalsRuntimeBridge.WorldVisuals.MotionBlurLastCFrame = nil
local ContextActionService = game:GetService('ContextActionService')
ContextActionService:BindActionAtPriority(
'ZkxHubFreecamSink',
GuardRivalsCallback('Freecam_Sink', freecam.Sink),
false,
Enum.ContextActionPriority.High.Value + 100,
Enum.KeyCode.W,
Enum.KeyCode.A,
Enum.KeyCode.S,
Enum.KeyCode.D,
Enum.KeyCode.Space,
Enum.KeyCode.E,
Enum.KeyCode.Q,
Enum.KeyCode.LeftShift,
Enum.KeyCode.LeftControl,
Enum.UserInputType.MouseButton1,
Enum.UserInputType.MouseButton2,
Enum.UserInputType.MouseMovement
)
RunService:BindToRenderStep(
'ZkxHubFreecamHold',
Enum.RenderPriority.First.Value,
GuardRivalsCallback('Freecam_Hold', freecam.Hold)
)
RunService:BindToRenderStep(
'ZkxHubFreecam',
Enum.RenderPriority.Camera.Value + 3,
GuardRivalsCallback('Freecam_Step', freecam.Step)
)
return true
end
function RivalsRuntimeBridge.Freecam.Disable()
local freecam = RivalsRuntimeBridge.Freecam
if not freecam.Active then return end
freecam.Active = false
AimbotInputState.FreecamActive = false
pcall(function() RunService:UnbindFromRenderStep('ZkxHubFreecam') end)
pcall(function() RunService:UnbindFromRenderStep('ZkxHubFreecamHold') end)
pcall(function() game:GetService('ContextActionService'):UnbindAction('ZkxHubFreecamSink') end)
local camera = freecam.Camera
if camera and camera.Parent then
camera.CameraType = freecam.SavedCameraType or Enum.CameraType.Custom
if freecam.SavedFov then camera.FieldOfView = freecam.SavedFov end
end
if freecam.SavedMouseBehavior then UserInputService.MouseBehavior = freecam.SavedMouseBehavior end
RivalsRuntimeBridge.WorldVisuals.MotionBlurLastCFrame = nil
freecam.Camera = nil
freecam.SavedRotation = nil
freecam.Velocity = Vector3.zero
end
function RivalsRuntimeBridge.Freecam.Set(enabled)
local freecam = RivalsRuntimeBridge.Freecam
if enabled then
if not freecam.Enable() and Toggles.PX18T1 then Toggles.PX18T1:SetValue(false) end
else
freecam.Disable()
end
end
-- ===== executor report :: what this executor gives the camera and viewmodel features =====
RivalsRuntimeBridge.Diagnostics = { Running = false }
function RivalsRuntimeBridge.Diagnostics.Build()
local native = RivalsRuntimeBridge.NativeRemovals
local lines = {}
local function add(text) lines[#lines + 1] = text end
local function section(title, body)
add('')
add('[' .. title .. ']')
local ok, err = pcall(body)
if not ok then add(' error: ' .. tostring(err)) end
end
section('executor', function()
local name, version = 'unknown', ''
if type(identifyexecutor) == 'function' then
local ok, first, second = pcall(identifyexecutor)
if ok then
name = tostring(first)
version = second ~= nil and tostring(second) or ''
end
end
add(' ' .. name .. ' ' .. version)
local caps = __ZkhHub_genv.ZkxHubCaps
local missing = {}
for _, fnName in ipairs({
'getgc',
'hookfunction',
'getthreadidentity',
'setthreadidentity',
'getrawmetatable',
'getloadedmodules',
'getsenv',
'cloneref',
'debug.getupvalue',
'debug.getupvalues',
'debug.setupvalue',
'debug.getconstants',
'debug.setconstant',
'writefile',
'setclipboard',
'queue_on_teleport',
}) do
if not caps.has(fnName) then missing[#missing + 1] = fnName end
end
add(' missing or stubbed: ' .. (#missing > 0 and table.concat(missing, ', ') or 'none'))
local identity = 'n/a'
if not caps.stubbed.getthreadidentity and type(getthreadidentity) == 'function' then
identity = tostring(getthreadidentity())
end
add(' thread identity: ' .. identity)
end)
section('startup', function()
add(' replicated state ready: ' .. tostring(ReplicatedStateReady))
add(' boot issue: ' .. tostring(RivalsRuntimeBridge.BootIssue))
local any = false
for label, issue in pairs(RivalsRuntimeBridge.ModuleIssues) do
any = true
add(' require failed: ' .. label .. ' -> ' .. tostring(issue.err))
end
if not any then add(' require failures: none') end
end)
section('esp weapon info', function()
add(' signal tracking connected: ' .. tostring(WeaponInfoTrackingConnected))
local observers, withItem = 0, 0
for player, observer in pairs(WeaponInfoConnections) do
observers += 1
if observer.Item then withItem += 1 end
if observers <= 6 then
local itemName = observer.Item and observer.Item.Name or nil
add(string.format(' %s: item %s, ammo %s, reserve %s', tostring(player.Name), tostring(itemName), tostring(observer.Ammo), tostring(observer.AmmoReserve)))
end
end
add(' observers: ' .. observers .. ', with an item: ' .. withItem)
end)
section('camera controller', function()
local controller = RivalsModsState.ResolveCameraController()
add(' resolved: ' .. tostring(controller ~= nil))
if not controller then return end
local first = rawget(controller, '_last_dt')
for _ = 1, 4 do
RunService.RenderStepped:Wait()
end
local second = rawget(controller, '_last_dt')
add(
' game camera update running: '
.. tostring(type(second) == 'number' and second > 0)
.. ' (_last_dt '
.. tostring(first)
.. ' -> '
.. tostring(second)
.. ')'
)
local cameraState = rawget(controller, 'CameraState')
local publicState = nil
if type(cameraState) == 'table' and type(cameraState.GetPublicState) == 'function' then
local _, value = pcall(cameraState.GetPublicState, cameraState)
publicState = value
end
add(' view state: ' .. tostring(publicState))
add(' third person override: ' .. tostring(rawget(controller, '_third_person_override')))
local offsets = rawget(controller, '_external_fov_offsets')
add(' hub FOV offset: ' .. tostring(type(offsets) == 'table' and offsets.ZkxHub))
add(
' base fov: '
.. tostring(rawget(controller, '_base_fov'))
.. ', camera fov: '
.. tostring(Workspace.CurrentCamera and Workspace.CurrentCamera.FieldOfView)
)
end)
section('viewmodel', function()
local fighter = ResolveLocalFighter()
add(' local fighter: ' .. tostring(fighter ~= nil))
if not fighter then return end
local count = 0
local viewModel = nil
for _, item in pairs(type(fighter.Items) == 'table' and fighter.Items or {}) do
count += 1
if not viewModel and type(item) == 'table' and type(rawget(item, 'ViewModel')) == 'table' then
viewModel = rawget(item, 'ViewModel')
end
end
add(' items: ' .. count .. ', with a viewmodel: ' .. tostring(viewModel ~= nil))
if not viewModel then
add(' (equip a weapon and run the report again for the viewmodel checks)')
return
end
local found, total = 0, 0
for springName in pairs(RivalsModsState.MotionSpringValues) do
total += 1
if type(rawget(viewModel, springName)) == 'table' then
found += 1
end
end
add(' motion springs found: ' .. found .. '/' .. total)
local animator = rawget(viewModel, 'Animator')
local requiredAnimator = native.RequireModule('ViewModelAnimator')
add(
' animator class from require is the live one: '
.. tostring(
requiredAnimator ~= nil and type(animator) == 'table' and rawequal(requiredAnimator, getmetatable(animator))
)
)
local requiredViewModel = native.RequireModule('ClientViewModel')
add(
' viewmodel class from require is the live one: '
.. tostring(requiredViewModel ~= nil and rawequal(requiredViewModel, getmetatable(viewModel)))
)
add(' sprint animation key: ' .. tostring(type(animator) == 'table' and rawget(animator, '_sprint_animation')))
end)
section('hooks and toggles', function()
add(' animation hook installed: ' .. tostring(native.Animation.Restore ~= nil))
add(' viewmodel offset hook installed: ' .. tostring(native.ViewmodelOffset.Restore ~= nil))
for _, entry in ipairs({
{ 'P4S2T6', 'No Camera Shake' },
{ 'P4S2T8', 'Third Person' },
{ 'PX11T1', 'Third Person Offset' },
{ 'P4S2T9', 'Custom Camera FOV' },
{ 'P4S2T10', 'Viewmodel Offset' },
{ 'P1S31T1', 'No Motion' },
{ 'P1S31T2', 'No Shoot Animation' },
{ 'P1S31T3', 'No Sprint Animation' },
{ 'P1S31T4', 'No Equip Animation' },
{ 'P1S31T5', 'No Reload Animation' },
}) do
add(' ' .. entry[2] .. ': ' .. tostring(Toggles[entry[1]] and Toggles[entry[1]].Value))
end
end)
return table.concat(lines, '\n')
end
function RivalsRuntimeBridge.Diagnostics.Run()
local diag = RivalsRuntimeBridge.Diagnostics
if diag.Running then return end
diag.Running = true
task.spawn(GuardRivalsCallback('Diagnostics_Run', function()
local ok, report = pcall(diag.Build)
diag.Running = false
if not ok then report = 'report failed: ' .. tostring(report) end
local path = 'ZkxHub/_executor_report.txt'
local saved = false
pcall(function()
if type(isfolder) == 'function' and type(makefolder) == 'function' and not isfolder('ZkxHub') then
makefolder('ZkxHub')
end
writefile(path, report)
saved = true
end)
local copied = false
pcall(function()
if __ZkhHub_genv.ZkxHubCaps.has('setclipboard') then
setclipboard(report)
copied = true
end
end)
print('[ZkxHub] executor report\n' .. report)
Library:Notify({
Title = 'Executor Report',
Description = (copied and 'Copied to the clipboard' or 'Could not copy to the clipboard')
.. (saved and (' and saved to workspace/' .. path) or ' and could not save a file')
.. '.',
Time = 8,
})
end))
end
-- ======================================================================
-- Viewmodel visuals: chams, highlight, wireframe
-- ======================================================================
RivalsRuntimeBridge.ViewmodelVisuals = {
AppearanceSnapshots = setmetatable({}, { __mode = 'k' }),
TextureSnapshots = {},
Highlights = {},
Crosshair = nil,
LastReconcileAt = 0,
FollowPosition = nil,
MaterialMap = {
Ghost = Enum.Material.ForceField,
Flat = Enum.Material.Neon,
Foil = Enum.Material.Foil,
Custom = Enum.Material.SmoothPlastic,
Reflective = Enum.Material.Glass,
},
MaterialNames = { 'Original', 'Ghost', 'Flat', 'Foil', 'Custom', 'Reflective' },
FontMap = {
Inconsolata = Enum.Font.Code,
Gotham = Enum.Font.Gotham,
['Source Sans'] = Enum.Font.SourceSans,
['Roboto Mono'] = Enum.Font.RobotoMono,
},
}
function RivalsRuntimeBridge.ViewmodelVisuals.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.ViewmodelVisuals.ReadOption(optionId, fallback)
local option = Options and Options[optionId]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
function RivalsRuntimeBridge.ViewmodelVisuals.AppendUniqueRoot(roots, seen, root)
if typeof(root) ~= 'Instance' or root.Parent == nil or seen[root] then return end
seen[root] = true
roots[#roots + 1] = root
end
function RivalsRuntimeBridge.ViewmodelVisuals.ResolveScopes()
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local scopes = { Character = {}, Arms = {}, Item = {} }
local seen = { Character = {}, Arms = {}, Item = {} }
visuals.AppendUniqueRoot(scopes.Character, seen.Character, LP.Character)
local fighter = ResolveLocalFighter()
local equippedItem = fighter and fighter.EquippedItem or nil
local clientViewModel = type(equippedItem) == 'table'
and (rawget(equippedItem, '_ViewModel') or rawget(equippedItem, 'ViewModel'))
or nil
if type(clientViewModel) == 'table' then
visuals.AppendUniqueRoot(scopes.Item, seen.Item, rawget(clientViewModel, 'ItemModel'))
visuals.AppendUniqueRoot(scopes.Arms, seen.Arms, rawget(clientViewModel, '_left_arm'))
visuals.AppendUniqueRoot(scopes.Arms, seen.Arms, rawget(clientViewModel, '_right_arm'))
end
local viewModels = Workspace:FindFirstChild('ViewModels')
local firstPerson = viewModels and viewModels:FindFirstChild('FirstPerson') or nil
for _, model in ipairs(firstPerson and firstPerson:GetChildren() or {}) do
if model:IsA('Model') then
visuals.AppendUniqueRoot(scopes.Item, seen.Item, model:FindFirstChild('ItemVisual'))
visuals.AppendUniqueRoot(scopes.Arms, seen.Arms, model:FindFirstChild('LeftArm'))
visuals.AppendUniqueRoot(scopes.Arms, seen.Arms, model:FindFirstChild('RightArm'))
end
end
return scopes
end
function RivalsRuntimeBridge.ViewmodelVisuals.CaptureAppearance(part)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local snapshot = visuals.AppearanceSnapshots[part]
if snapshot then return snapshot end
snapshot = {
Material = part.Material,
Color = part.Color,
Transparency = part.Transparency,
Reflectance = part.Reflectance,
}
visuals.AppearanceSnapshots[part] = snapshot
return snapshot
end
function RivalsRuntimeBridge.ViewmodelVisuals.RestoreAppearance(part, snapshot)
if not part or part.Parent == nil or type(snapshot) ~= 'table' then return end
pcall(function()
part.Material = snapshot.Material
part.Color = snapshot.Color
part.Transparency = snapshot.Transparency
part.Reflectance = snapshot.Reflectance
end)
end
function RivalsRuntimeBridge.ViewmodelVisuals.CaptureTexture(instance, property, root)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local snapshot = visuals.TextureSnapshots[instance]
if snapshot then return snapshot end
snapshot = { Property = property, Root = root }
if property == 'Parent' then
snapshot.Value = instance.Parent
else
snapshot.Value = instance[property]
end
visuals.TextureSnapshots[instance] = snapshot
return snapshot
end
function RivalsRuntimeBridge.ViewmodelVisuals.StripTextures(root, activeTextures)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
for instance, snapshot in pairs(visuals.TextureSnapshots) do
if snapshot.Root == root and snapshot.Property == 'Parent' and instance.Parent == nil then
activeTextures[instance] = true
end
end
local descendants = root:GetDescendants()
if root:IsA('BasePart') then table.insert(descendants, root) end
for _, descendant in ipairs(descendants) do
local property = nil
local replacement = nil
if descendant:IsA('MeshPart') then
property = 'TextureID'
replacement = ''
elseif descendant:IsA('SpecialMesh') then
property = 'TextureId'
replacement = ''
elseif descendant:IsA('Decal') or descendant:IsA('Texture') then
property = 'Transparency'
replacement = 1
elseif descendant:IsA('SurfaceAppearance') or descendant:IsA('Clothing') or descendant:IsA('ShirtGraphic') then
property = 'Parent'
end
if property then
visuals.CaptureTexture(descendant, property, root)
activeTextures[descendant] = true
pcall(function()
if property == 'Parent' then
descendant.Parent = nil
else
descendant[property] = replacement
end
end)
end
end
end
function RivalsRuntimeBridge.ViewmodelVisuals.RestoreTexture(instance, snapshot)
if not instance or type(snapshot) ~= 'table' then return end
pcall(function() instance[snapshot.Property] = snapshot.Value end)
end
function RivalsRuntimeBridge.ViewmodelVisuals.ApplyChamScope(roots, optionPrefix, activeParts, activeTextures)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if not visuals.ReadToggle(optionPrefix .. 'T1') then return end
local materialName = visuals.ReadOption(optionPrefix .. 'D1', 'Ghost')
local material = visuals.MaterialMap[materialName]
local color = visuals.ReadOption(optionPrefix .. 'C1', Color3.new(1, 1, 1))
local transparency = math.clamp(visuals.ReadOption(optionPrefix .. 'S1', 0), 0, 1)
local stripTextures = visuals.ReadToggle(optionPrefix .. 'T2')
for _, root in ipairs(roots) do
local descendants = root:GetDescendants()
if root:IsA('BasePart') then table.insert(descendants, root) end
for _, descendant in ipairs(descendants) do
if descendant:IsA('BasePart') then
local snapshot = visuals.CaptureAppearance(descendant)
activeParts[descendant] = true
pcall(function()
descendant.Material = material or snapshot.Material
descendant.Color = color
descendant.Transparency = snapshot.Transparency < 1 and transparency or snapshot.Transparency
end)
end
end
if stripTextures then visuals.StripTextures(root, activeTextures) end
end
end
function RivalsRuntimeBridge.ViewmodelVisuals.ReconcileHighlights(scopeName, roots, optionPrefix)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local entries = visuals.Highlights[scopeName] or {}
visuals.Highlights[scopeName] = entries
local active = {}
if visuals.ReadToggle(optionPrefix .. 'T1') then
local fillColor = visuals.ReadOption(optionPrefix .. 'C1', Color3.new(1, 1, 1))
local fillTransparency = math.clamp(visuals.ReadOption(optionPrefix .. 'S1', 0.5), 0, 1)
local outlineColor = visuals.ReadOption(optionPrefix .. 'C2', Color3.new(1, 1, 1))
local outlineTransparency = math.clamp(visuals.ReadOption(optionPrefix .. 'S2', 0), 0, 1)
for _, root in ipairs(roots) do
active[root] = true
local highlight = entries[root]
if not highlight or highlight.Parent == nil then
highlight = Instance.new('Highlight')
highlight.Name = 'ZkxHubViewmodelHighlight_' .. scopeName
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.Adornee = root
highlight.Parent = root
entries[root] = highlight
end
highlight.FillColor = fillColor
highlight.FillTransparency = fillTransparency
highlight.OutlineColor = outlineColor
highlight.OutlineTransparency = outlineTransparency
end
end
for root, highlight in pairs(entries) do
if not active[root] then
pcall(function() highlight:Destroy() end)
entries[root] = nil
end
end
end
-- Roblox cannot draw real mesh edges, so the wireframe is a thin outline box around every visible part.
-- Boxes live in the shared Highlights table so Destroy() cleans them up with everything else.
function RivalsRuntimeBridge.ViewmodelVisuals.ReconcileWireframes(scopeName, roots, toggleId)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local key = 'Wireframe' .. scopeName
local entries = visuals.Highlights[key] or {}
visuals.Highlights[key] = entries
local active = {}
if visuals.ReadToggle(toggleId) then
local color = visuals.ReadOption('PX12C1', Color3.new(1, 1, 1))
local thickness = math.clamp(tonumber(visuals.ReadOption('PX12S1', 0.02)) or 0.02, 0.005, 0.2)
local transparency = math.clamp(tonumber(visuals.ReadOption('PX12S2', 0)) or 0, 0, 0.95)
for _, root in ipairs(roots) do
local parts = root:GetDescendants()
parts[#parts + 1] = root
for _, part in ipairs(parts) do
if part:IsA('BasePart') and part.Transparency < 1 then
active[part] = true
local box = entries[part]
if not box or box.Parent == nil then
box = Instance.new('SelectionBox')
box.Name = 'ZkxHubViewmodelWireframe'
box.SurfaceTransparency = 1
box.Adornee = part
box.Parent = part
entries[part] = box
end
box.Color3 = color
box.LineThickness = thickness
box.Transparency = transparency
end
end
end
end
for part, box in pairs(entries) do
if not active[part] then
pcall(function() box:Destroy() end)
entries[part] = nil
end
end
end
function RivalsRuntimeBridge.ViewmodelVisuals.ReconcileModels()
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local scopes = visuals.ResolveScopes()
local activeParts = {}
local activeTextures = {}
visuals.ApplyChamScope(scopes.Character, 'P1S19', activeParts, activeTextures)
visuals.ApplyChamScope(scopes.Arms, 'P1S20', activeParts, activeTextures)
visuals.ApplyChamScope(scopes.Item, 'P1S21', activeParts, activeTextures)
for part, snapshot in pairs(visuals.AppearanceSnapshots) do
if not activeParts[part] then
visuals.RestoreAppearance(part, snapshot)
visuals.AppearanceSnapshots[part] = nil
end
end
for instance, snapshot in pairs(visuals.TextureSnapshots) do
if not activeTextures[instance] then
visuals.RestoreTexture(instance, snapshot)
visuals.TextureSnapshots[instance] = nil
end
end
visuals.ReconcileHighlights('Arms', scopes.Arms, 'P1S22')
visuals.ReconcileHighlights('Item', scopes.Item, 'P1S23')
visuals.ReconcileWireframes('Arms', scopes.Arms, 'PX12T1')
visuals.ReconcileWireframes('Item', scopes.Item, 'PX12T2')
end
function RivalsRuntimeBridge.ViewmodelVisuals.ShimmerColorAt(elapsed, fraction, baseColor, fadeColor)
local offset = ((1 - math.abs((elapsed * 0.5) % 2 - 1)) * 2 - 1) * 0.5
local alpha = math.clamp(fraction - offset, 0, 1)
if alpha <= 0.5 then return fadeColor:Lerp(baseColor, alpha * 2) end
return baseColor:Lerp(fadeColor, (alpha - 0.5) * 2)
end
function RivalsRuntimeBridge.ViewmodelVisuals.PerimeterColorAt(elapsed, fraction, firstColor, secondColor)
local alpha = ((elapsed * 0.5) + fraction) % 1
return firstColor:Lerp(secondColor, alpha)
end
function RivalsRuntimeBridge.ViewmodelVisuals.PingPongColorAt(elapsed, fraction, backgroundColor, mainColor, rotation)
local wave = math.sin(elapsed * math.pi) + 1
local rotationOffset = rotation / 90
local firstBand = (wave + rotationOffset) % 4
local secondBand = (4 - wave + rotationOffset) % 4
local position = (fraction * 4) % 4
local firstDistance = math.abs(position - firstBand) % 4
firstDistance = math.min(firstDistance, 4 - firstDistance)
local secondDistance = math.abs(position - secondBand) % 4
secondDistance = math.min(secondDistance, 4 - secondDistance)
local influence = math.max(1 - firstDistance / 0.4, 1 - secondDistance / 0.4, 0)
return backgroundColor:Lerp(mainColor, math.clamp(influence, 0, 1))
end
function RivalsRuntimeBridge.ViewmodelVisuals.ResolveLineColor(baseColor, fraction, elapsed)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if not visuals.ReadToggle('P1S26T10') then return baseColor end
local speed = visuals.ReadOption('P1S26S12', 1)
local animationTime = elapsed * speed
local kind = visuals.ReadOption('P1S26D3', 'Shimmer')
if kind == 'Perimeter' then
return visuals.PerimeterColorAt(
animationTime,
fraction,
visuals.ReadOption('P1S26C7', Color3.fromRGB(255, 0, 0)),
visuals.ReadOption('P1S26C8', Color3.fromRGB(0, 0, 255))
)
elseif kind == 'PingPong' then
return visuals.PingPongColorAt(
animationTime,
fraction,
visuals.ReadOption('P1S26C9', Color3.new(0, 0, 0)),
visuals.ReadOption('P1S26C10', Color3.new(1, 1, 1)),
visuals.ReadOption('P1S26S13', 0)
)
end
return visuals.ShimmerColorAt(animationTime, fraction, baseColor, visuals.ReadOption('P1S26C6', Color3.fromRGB(40, 40, 40)))
end
function RivalsRuntimeBridge.ViewmodelVisuals.ResolveTextGradient(elapsed, baseColor)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if not visuals.ReadToggle('P1S26T13') then return ColorSequence.new(baseColor), Vector2.zero, 0 end
local speed = visuals.ReadOption('P1S26S17', 1)
local animationTime = elapsed * speed
if visuals.ReadOption('P1S26D5', 'Shimmer') == 'PingPong' then
local colors = {}
for index = 0, 8 do
local fraction = index / 8
colors[#colors + 1] = ColorSequenceKeypoint.new(
fraction,
visuals.PingPongColorAt(
animationTime,
fraction,
visuals.ReadOption('P1S26C14', Color3.new(0, 0, 0)),
visuals.ReadOption('P1S26C15', Color3.new(1, 1, 1)),
visuals.ReadOption('P1S26S18', 0)
)
)
end
return ColorSequence.new(colors), Vector2.zero, visuals.ReadOption('P1S26S18', 0)
end
local fadeColor = visuals.ReadOption('P1S26C13', Color3.fromRGB(40, 40, 40))
return ColorSequence.new({
ColorSequenceKeypoint.new(0, fadeColor),
ColorSequenceKeypoint.new(0.5, baseColor),
ColorSequenceKeypoint.new(1, fadeColor),
}),
Vector2.new(((1 - math.abs((animationTime * 0.5) % 2 - 1)) * 2 - 1) * 0.5, 0),
45
end
function RivalsRuntimeBridge.ViewmodelVisuals.CreateCrosshairArm(parent, name)
local outline = Instance.new('Frame')
outline.Name = name .. 'Outline'
outline.AnchorPoint = Vector2.new(0.5, 0.5)
outline.BorderSizePixel = 0
outline.Parent = parent
local fill = Instance.new('Frame')
fill.Name = name
fill.AnchorPoint = Vector2.new(0.5, 0.5)
fill.BorderSizePixel = 0
fill.Parent = parent
return { Outline = outline, Fill = fill }
end
function RivalsRuntimeBridge.ViewmodelVisuals.EnsureCrosshair()
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if visuals.Crosshair and visuals.Crosshair.Gui and visuals.Crosshair.Gui.Parent then return visuals.Crosshair end
local gui = Instance.new('ScreenGui')
gui.Name = 'ZkxHubCustomCrosshair'
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false
gui.DisplayOrder = 10000
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = LP:WaitForChild('PlayerGui')
local container = Instance.new('Frame')
container.Name = 'Container'
container.AnchorPoint = Vector2.new(0.5, 0.5)
container.Size = UDim2.fromOffset(0, 0)
container.BackgroundTransparency = 1
container.Parent = gui
local image = Instance.new('ImageLabel')
image.Name = 'Image'
image.AnchorPoint = Vector2.new(0.5, 0.5)
image.Position = UDim2.fromOffset(0, 0)
image.BackgroundTransparency = 1
image.BorderSizePixel = 0
image.Visible = false
image.Parent = container
local textLabel = Instance.new('TextLabel')
textLabel.Name = 'Text'
textLabel.AnchorPoint = Vector2.new(0.5, 0)
textLabel.AutomaticSize = Enum.AutomaticSize.XY
textLabel.BackgroundTransparency = 1
textLabel.BorderSizePixel = 0
textLabel.Text = ''
textLabel.TextColor3 = Color3.new(1, 1, 1)
textLabel.Visible = false
textLabel.Parent = gui
local textGradient = Instance.new('UIGradient')
textGradient.Name = 'ColorGradient'
textGradient.Parent = textLabel
local textStroke = Instance.new('UIStroke')
textStroke.Name = 'Outline'
textStroke.Enabled = false
textStroke.Parent = textLabel
visuals.Crosshair = {
Gui = gui,
Container = container,
Image = image,
Text = textLabel,
TextGradient = textGradient,
TextStroke = textStroke,
Top = visuals.CreateCrosshairArm(container, 'Top'),
Bottom = visuals.CreateCrosshairArm(container, 'Bottom'),
Left = visuals.CreateCrosshairArm(container, 'Left'),
Right = visuals.CreateCrosshairArm(container, 'Right'),
}
return visuals.Crosshair
end
function RivalsRuntimeBridge.ViewmodelVisuals.ResolveCrosshairImage(value)
value = type(value) == 'string' and value:match('^%s*(.-)%s*$') or ''
if value == '' then return '' end
if value:match('^%d+$') then return 'rbxassetid://' .. value end
if value:match('^rbxasset') or value:match('^https?://') then return value end
if isfile and isfile(value) then
local customAsset = getcustomasset or getsynasset
if type(customAsset) == 'function' then
local ok, asset = pcall(customAsset, value)
if ok and type(asset) == 'string' then return asset end
end
end
return value
end
RivalsRuntimeBridge.ViewmodelVisuals.CrosshairPresetManagedToggles = {
'P1S26T2',
'P1S26T3',
'P1S26T4',
'P1S26T5',
'P1S26T6',
'P1S26T7',
'P1S26T8',
}
RivalsRuntimeBridge.ViewmodelVisuals.CrosshairPresetOrder = {
'ZkxHub Default',
'CS2 Classic Green',
'Valorant Cyan',
'TenZ Cyan',
'Aspas White',
'CoD Modern',
'Fortnite Cyan',
'Overwatch Magenta',
'Rust Dot',
'Red Dot',
'T-Style',
'Krunker Cross',
'Sniper Thin',
'Rainbow Spin',
}
-- ======================================================================
-- Crosshair presets
-- ======================================================================
RivalsRuntimeBridge.ViewmodelVisuals.CrosshairPresets = {
['ZkxHub Default'] = {
Toggles = { P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 12, P1S26S2 = 2, P1S26S3 = 6, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 255, 255 },
P1S26C3 = { 255, 255, 255 },
P1S26C4 = { 255, 255, 255 },
P1S26C5 = { 255, 255, 255 },
},
},
['CS2 Classic Green'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 6, P1S26S2 = 2, P1S26S3 = 3, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 0, 255, 0 },
P1S26C3 = { 0, 255, 0 },
P1S26C4 = { 0, 255, 0 },
P1S26C5 = { 0, 255, 0 },
},
},
['Valorant Cyan'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 6, P1S26S2 = 2, P1S26S3 = 2, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 0, 255, 255 },
P1S26C3 = { 0, 255, 255 },
P1S26C4 = { 0, 255, 255 },
P1S26C5 = { 0, 255, 255 },
},
},
['TenZ Cyan'] = {
Toggles = { P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 4, P1S26S2 = 1, P1S26S3 = 1, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 0, 255, 255 },
P1S26C3 = { 0, 255, 255 },
P1S26C4 = { 0, 255, 255 },
P1S26C5 = { 0, 255, 255 },
},
},
['Aspas White'] = {
Toggles = { P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 4, P1S26S2 = 2, P1S26S3 = 0, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 255, 255 },
P1S26C3 = { 255, 255, 255 },
P1S26C4 = { 255, 255, 255 },
P1S26C5 = { 255, 255, 255 },
},
},
['CoD Modern'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 8, P1S26S2 = 2, P1S26S3 = 4, P1S26S11 = 2 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 255, 255 },
P1S26C3 = { 255, 255, 255 },
P1S26C4 = { 255, 255, 255 },
P1S26C5 = { 255, 255, 255 },
},
},
['Fortnite Cyan'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 8, P1S26S2 = 1, P1S26S3 = 5, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 0, 255, 255 },
P1S26C3 = { 0, 255, 255 },
P1S26C4 = { 0, 255, 255 },
P1S26C5 = { 0, 255, 255 },
},
},
['Overwatch Magenta'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 14, P1S26S2 = 3, P1S26S3 = 8, P1S26S11 = 2 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 0, 255 },
P1S26C3 = { 255, 0, 255 },
P1S26C4 = { 255, 0, 255 },
P1S26C5 = { 255, 0, 255 },
},
},
['Rust Dot'] = {
Toggles = { P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 3, P1S26S2 = 1, P1S26S3 = 1, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 255, 255 },
P1S26C3 = { 255, 255, 255 },
P1S26C4 = { 255, 255, 255 },
P1S26C5 = { 255, 255, 255 },
},
},
['Red Dot'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 1, P1S26S2 = 2, P1S26S3 = 0, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 60, 60 },
P1S26C3 = { 255, 60, 60 },
P1S26C4 = { 255, 60, 60 },
P1S26C5 = { 255, 60, 60 },
},
},
['T-Style'] = {
Toggles = { P1S26T2 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 10, P1S26S2 = 2, P1S26S3 = 5, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 0, 255, 0 },
P1S26C3 = { 0, 255, 0 },
P1S26C4 = { 0, 255, 0 },
P1S26C5 = { 0, 255, 0 },
},
},
['Krunker Cross'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 16, P1S26S2 = 2, P1S26S3 = 5, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 255, 255 },
P1S26C3 = { 255, 255, 255 },
P1S26C4 = { 255, 255, 255 },
P1S26C5 = { 255, 255, 255 },
},
},
['Sniper Thin'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 20, P1S26S2 = 1, P1S26S3 = 2, P1S26S11 = 1 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 255, 255 },
P1S26C3 = { 255, 255, 255 },
P1S26C4 = { 255, 255, 255 },
P1S26C5 = { 255, 255, 255 },
},
},
['Rainbow Spin'] = {
Toggles = { P1S26T2 = true, P1S26T3 = true, P1S26T4 = true, P1S26T5 = true, P1S26T6 = true, P1S26T8 = true },
Options = { P1S26D1 = 'Lines', P1S26S1 = 10, P1S26S2 = 2, P1S26S3 = 6, P1S26S11 = 1, P1S26S4 = 0, P1S26S5 = 90 },
Colors = {
P1S26C1 = { 0, 0, 0 },
P1S26C2 = { 255, 0, 0 },
P1S26C3 = { 0, 255, 0 },
P1S26C4 = { 0, 0, 255 },
P1S26C5 = { 255, 255, 0 },
},
},
}
function RivalsRuntimeBridge.ViewmodelVisuals.ApplyCrosshairPreset(name)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
local preset = visuals.CrosshairPresets[name]
if not preset then return end
local wanted = preset.Toggles or {}
for _, toggleId in ipairs(visuals.CrosshairPresetManagedToggles) do
local toggle = Toggles and Toggles[toggleId]
if toggle and wanted[toggleId] ~= true and toggle.Value then toggle:SetValue(false) end
end
for optionId, value in pairs(preset.Options or {}) do
local option = Options and Options[optionId]
if option and type(option.SetValue) == 'function' then option:SetValue(value) end
end
for optionId, rgb in pairs(preset.Colors or {}) do
local option = Options and Options[optionId]
if option and type(option.SetValueRGB) == 'function' then option:SetValueRGB(Color3.fromRGB(rgb[1], rgb[2], rgb[3])) end
end
for _, toggleId in ipairs(visuals.CrosshairPresetManagedToggles) do
local toggle = Toggles and Toggles[toggleId]
if toggle and wanted[toggleId] == true and not toggle.Value then toggle:SetValue(true) end
end
if Toggles and Toggles.P1S26T1 and not Toggles.P1S26T1.Value then Toggles.P1S26T1:SetValue(true) end
visuals.RefreshAll()
end
function RivalsRuntimeBridge.ViewmodelVisuals.RestoreNativeCrosshairs()
RivalsRuntimeBridge.NativeRemovals.SetNativeCrosshairHidden(false)
end
function RivalsRuntimeBridge.ViewmodelVisuals.HideNativeCrosshairs()
RivalsRuntimeBridge.NativeRemovals.SetNativeCrosshairHidden(true)
end
function RivalsRuntimeBridge.ViewmodelVisuals.SetCrosshairArm(
arm,
position,
size,
color,
outlineColor,
outlineThickness,
visible
)
arm.Fill.Visible = visible
arm.Outline.Visible = visible and outlineThickness > 0
arm.Fill.Position = UDim2.fromOffset(position.X, position.Y)
arm.Fill.Size = UDim2.fromOffset(size.X, size.Y)
arm.Fill.BackgroundColor3 = color
arm.Outline.Position = arm.Fill.Position
arm.Outline.Size = UDim2.fromOffset(size.X + outlineThickness * 2, size.Y + outlineThickness * 2)
arm.Outline.BackgroundColor3 = outlineColor
end
function RivalsRuntimeBridge.ViewmodelVisuals.ResolveCrosshairPosition(deltaTime, center)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if not visuals.ReadToggle('P1S26T9') then
visuals.FollowPosition = center
return center
end
local targetPosition = center
if visuals.ReadToggle('P2S1T1') and type(RivalsRuntimeBridge.GetBestAimbotTarget) == 'function' then
local targetInfo
if os.clock() - (RivalsRuntimeBridge.LastAimbotSweepAt or 0) <= 0.05 then
targetInfo = RivalsRuntimeBridge.LastAimbotSweepTarget
else
targetInfo = RivalsRuntimeBridge.GetBestAimbotTarget(true, AimbotBridge.IsAimbotIgnoreFovEnabled())
end
local camera = Workspace.CurrentCamera
if targetInfo and targetInfo.worldPosition and camera then
local projected, onScreen = camera:WorldToViewportPoint(targetInfo.worldPosition)
if onScreen and projected.Z > 0 then targetPosition = Vector2.new(projected.X, projected.Y) end
end
end
if not visuals.FollowPosition then visuals.FollowPosition = targetPosition end
local alpha = math.clamp(1 - math.exp(-math.max(deltaTime or 0, 0) * 15), 0, 1)
visuals.FollowPosition = visuals.FollowPosition:Lerp(targetPosition, alpha)
return visuals.FollowPosition
end
function RivalsRuntimeBridge.ViewmodelVisuals.UpdateCrosshair(deltaTime)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if not visuals.ReadToggle('P1S26T1') then
if visuals.Crosshair and visuals.Crosshair.Gui then visuals.Crosshair.Gui.Enabled = false end
visuals.FollowPosition = nil
visuals.RestoreNativeCrosshairs()
return
end
visuals.HideNativeCrosshairs()
if not RivalsRuntimeBridge.NativeRemovals.IsNativeCrosshairActive() then
if visuals.Crosshair and visuals.Crosshair.Gui then visuals.Crosshair.Gui.Enabled = false end
return
end
local crosshair = visuals.EnsureCrosshair()
crosshair.Gui.Enabled = true
local camera = Workspace.CurrentCamera
local viewport = camera and camera.ViewportSize or Vector2.new(1920, 1080)
local center = Vector2.new(viewport.X * 0.5, viewport.Y * 0.5)
local position = visuals.ResolveCrosshairPosition(deltaTime, center)
crosshair.Container.Position = UDim2.fromOffset(math.round(position.X), math.round(position.Y))
local textPosition = center
if visuals.ReadToggle('P1S26T9') and visuals.ReadOption('P1S26D2', 'Crosshair') == 'Crosshair + Text' then
textPosition = position
end
local elapsed = os.clock()
local angle = visuals.ReadOption('P1S26S4', 0)
if visuals.ReadToggle('P1S26T8') then angle = (angle + elapsed * visuals.ReadOption('P1S26S5', 90)) % 360 end
crosshair.Container.Rotation = angle
local style = visuals.ReadOption('P1S26D1', 'Lines')
local imageMode = style == 'Image'
crosshair.Image.Visible = imageMode
if imageMode then
local size = visuals.ReadOption('P1S26S6', 32)
crosshair.Image.Size = UDim2.fromOffset(size, size)
crosshair.Image.Image = visuals.ResolveCrosshairImage(visuals.ReadOption('P1S26I1', ''))
crosshair.Image.ImageTransparency = math.clamp(visuals.ReadOption('P1S26S7', 0), 0, 1)
end
local textEnabled = visuals.ReadToggle('P1S26T11')
crosshair.Text.Visible = textEnabled
if textEnabled then
crosshair.Text.Text = tostring(visuals.ReadOption('P1S26I2', ''))
crosshair.Text.TextSize = visuals.ReadOption('P1S26S14', 14)
crosshair.Text.Font = visuals.FontMap[visuals.ReadOption('P1S26D4', 'Inconsolata')] or Enum.Font.Code
crosshair.Text.Position =
UDim2.fromOffset(math.round(textPosition.X), math.round(textPosition.Y + visuals.ReadOption('P1S26S15', 24)))
local textColor = visuals.ReadOption('P1S26C11', Color3.new(1, 1, 1))
local gradientColor, gradientOffset, gradientRotation = visuals.ResolveTextGradient(elapsed, textColor)
crosshair.TextGradient.Color = gradientColor
crosshair.TextGradient.Offset = gradientOffset
crosshair.TextGradient.Rotation = gradientRotation
crosshair.TextStroke.Enabled = visuals.ReadToggle('P1S26T12')
crosshair.TextStroke.Color = visuals.ReadOption('P1S26C12', Color3.new(0, 0, 0))
crosshair.TextStroke.Thickness = visuals.ReadOption('P1S26S16', 1)
end
local length = visuals.ReadOption('P1S26S1', 12)
local thickness = visuals.ReadOption('P1S26S2', 2)
local gap = visuals.ReadOption('P1S26S3', 6)
if visuals.ReadToggle('P1S26T7') then
local minimum = visuals.ReadOption('P1S26S8', 4)
local maximum = visuals.ReadOption('P1S26S9', 16)
local wave = 0.5 - 0.5 * math.cos(elapsed * visuals.ReadOption('P1S26S10', 3))
gap = gap + minimum + (maximum - minimum) * wave
end
local outlineThickness = visuals.ReadToggle('P1S26T2') and visuals.ReadOption('P1S26S11', 1) or 0
local outlineColor = visuals.ReadOption('P1S26C1', Color3.new(0, 0, 0))
local armDefinitions = {
{
Key = 'Top',
Position = Vector2.new(0, -(gap + length * 0.5)),
Size = Vector2.new(thickness, length),
Toggle = 'P1S26T3',
Color = 'P1S26C2',
Fraction = 0,
},
{
Key = 'Bottom',
Position = Vector2.new(0, gap + length * 0.5),
Size = Vector2.new(thickness, length),
Toggle = 'P1S26T4',
Color = 'P1S26C3',
Fraction = 0.5,
},
{
Key = 'Left',
Position = Vector2.new(-(gap + length * 0.5), 0),
Size = Vector2.new(length, thickness),
Toggle = 'P1S26T5',
Color = 'P1S26C4',
Fraction = 0.75,
},
{
Key = 'Right',
Position = Vector2.new(gap + length * 0.5, 0),
Size = Vector2.new(length, thickness),
Toggle = 'P1S26T6',
Color = 'P1S26C5',
Fraction = 0.25,
},
}
for _, definition in ipairs(armDefinitions) do
local baseColor = visuals.ReadOption(definition.Color, Color3.new(1, 1, 1))
visuals.SetCrosshairArm(
crosshair[definition.Key],
definition.Position,
definition.Size,
visuals.ResolveLineColor(baseColor, definition.Fraction, elapsed),
outlineColor,
outlineThickness,
not imageMode and visuals.ReadToggle(definition.Toggle)
)
end
end
function RivalsRuntimeBridge.ViewmodelVisuals.RefreshAll()
RivalsRuntimeBridge.ViewmodelVisuals.LastReconcileAt = tick()
RivalsRuntimeBridge.ViewmodelVisuals.ReconcileModels()
RivalsRuntimeBridge.ViewmodelVisuals.UpdateCrosshair(0)
end
function RivalsRuntimeBridge.ViewmodelVisuals.Update(deltaTime)
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
if tick() - visuals.LastReconcileAt >= 0.25 then
visuals.LastReconcileAt = tick()
visuals.ReconcileModels()
end
visuals.UpdateCrosshair(deltaTime)
end
function RivalsRuntimeBridge.ViewmodelVisuals.Destroy()
local visuals = RivalsRuntimeBridge.ViewmodelVisuals
visuals.RestoreNativeCrosshairs()
for part, snapshot in pairs(visuals.AppearanceSnapshots) do
visuals.RestoreAppearance(part, snapshot)
end
visuals.AppearanceSnapshots = setmetatable({}, { __mode = 'k' })
for instance, snapshot in pairs(visuals.TextureSnapshots) do
visuals.RestoreTexture(instance, snapshot)
end
visuals.TextureSnapshots = {}
for _, entries in pairs(visuals.Highlights) do
for _, highlight in pairs(entries) do
pcall(function() highlight:Destroy() end)
end
end
visuals.Highlights = {}
if visuals.Crosshair and visuals.Crosshair.Gui then pcall(function() visuals.Crosshair.Gui:Destroy() end) end
visuals.Crosshair = nil
visuals.FollowPosition = nil
visuals.LastReconcileAt = 0
end
-- ======================================================================
-- Native removals: flashbang, scope, muzzle flash, hitmarker, ...
-- ======================================================================
RivalsRuntimeBridge.NativeRemovals = {
Modules = {},
Vignette = nil,
Tracers = nil,
Muzzle = nil,
Hitsound = nil,
Scope = {
OverlayHidden = false,
ReticleHidden = false,
OverlayDirty = false,
ReticleDirty = false,
Restore = nil,
},
Crosshair = {
CrosshairVisible = nil,
HitmarkerVisible = nil,
Restore = nil,
},
Animation = { Restore = nil },
}
RivalsRuntimeBridge.NativeRemovals.ViewmodelOffset = { Restore = nil, Active = false, Offset = CFrame.identity }
RivalsRuntimeBridge.NativeRemovals.TracerSentinel = '_Tracers\0NoGunTracers'
RivalsRuntimeBridge.NativeRemovals.MuzzleStub = { PlayParticles = function() end }
RivalsRuntimeBridge.NativeRemovals.ModulePaths = {
Other = { 'Modules', 'ClientReplicatedClasses', 'ClientFighter', 'ClientItem', 'ItemInterface', 'Other' },
Scope = { 'Modules', 'ClientReplicatedClasses', 'ClientFighter', 'ClientItem', 'ItemInterface', 'Mouse', 'Scope' },
Gun = { 'Modules', 'ItemTypes', 'Gun' },
ClientViewModel = { 'Modules', 'ClientReplicatedClasses', 'ClientFighter', 'ClientItem', 'ClientViewModel' },
Crosshair = { 'Modules', 'Crosshair' },
ViewModelAnimator = {
'Modules',
'ClientReplicatedClasses',
'ClientFighter',
'ClientItem',
'ClientViewModel',
'ViewModelAnimator',
},
}
RivalsRuntimeBridge.NativeRemovals.AnimationStub = {
Play = function() end,
Stop = function() end,
}
function RivalsRuntimeBridge.NativeRemovals.RequireModule(key)
local native = RivalsRuntimeBridge.NativeRemovals
local cached = native.Modules[key]
if cached then return cached end
local path = native.ModulePaths[key]
local cursor = LP:FindFirstChild('PlayerScripts')
for _, segment in ipairs(path or {}) do
cursor = cursor and cursor:FindFirstChild(segment)
end
if not cursor then return nil end
local value = RivalsRuntimeBridge.RequireGameModule(cursor, key)
if not value then return nil end
native.Modules[key] = value
return value
end
function RivalsRuntimeBridge.NativeRemovals.ReadConstant(method, index)
for constantIndex, constantValue in debug.getconstants(method) do
if constantIndex == index then return constantValue end
end
return nil
end
function RivalsRuntimeBridge.NativeRemovals.SetVignetteHidden(hidden)
local native = RivalsRuntimeBridge.NativeRemovals
if hidden then
if native.Vignette then return end
local other = native.RequireModule('Other')
local update = other and rawget(other, 'Update') or nil
if type(update) ~= 'function' then return end
local original = native.ReadConstant(update, 2)
if type(original) ~= 'number' then return end
debug.setconstant(update, 2, 999)
native.Vignette = { method = update, index = 2, value = original }
else
local record = native.Vignette
if not record then return end
native.Vignette = nil
debug.setconstant(record.method, record.index, record.value)
end
end
function RivalsRuntimeBridge.NativeRemovals.SetGunTracersHidden(hidden)
local native = RivalsRuntimeBridge.NativeRemovals
if hidden then
if native.Tracers then return end
local gun = native.RequireModule('Gun')
local localTracers = gun and rawget(gun, '_LocalTracers') or nil
if type(localTracers) ~= 'function' then return end
for index, value in debug.getconstants(localTracers) do
if value == '_Tracers' then
rawset(gun, native.TracerSentinel, function() end)
debug.setconstant(localTracers, index, native.TracerSentinel)
native.Tracers = { class = gun, method = localTracers, index = index, value = value }
return
end
end
else
local record = native.Tracers
if not record then return end
native.Tracers = nil
debug.setconstant(record.method, record.index, record.value)
rawset(record.class, native.TracerSentinel, nil)
end
end
function RivalsRuntimeBridge.NativeRemovals.SetMuzzleFlashHidden(hidden)
local native = RivalsRuntimeBridge.NativeRemovals
if hidden then
if native.Muzzle then return end
local viewModel = native.RequireModule('ClientViewModel')
local muzzleFlash = viewModel and rawget(viewModel, 'MuzzleFlash') or nil
if type(muzzleFlash) ~= 'function' then return end
local original = debug.getupvalue(muzzleFlash, 2)
if type(original) ~= 'table' then return end
debug.setupvalue(muzzleFlash, 2, native.MuzzleStub)
native.Muzzle = { method = muzzleFlash, value = original }
else
local record = native.Muzzle
if not record then return end
native.Muzzle = nil
debug.setupvalue(record.method, 2, record.value)
end
end
function RivalsRuntimeBridge.NativeRemovals.SetGameHitsoundDisabled(disabled)
local native = RivalsRuntimeBridge.NativeRemovals
if disabled then
if native.Hitsound then return end
local viewModel = native.RequireModule('ClientViewModel')
local method = viewModel and rawget(viewModel, 'PlayHitmarkerSound') or nil
if type(method) ~= 'function' then return end
rawset(viewModel, 'PlayHitmarkerSound', function() end)
native.Hitsound = { class = viewModel, method = method }
else
local record = native.Hitsound
if not record then return end
native.Hitsound = nil
rawset(record.class, 'PlayHitmarkerSound', record.method)
end
end
function RivalsRuntimeBridge.NativeRemovals.EnsureScopeHook()
local scope = RivalsRuntimeBridge.NativeRemovals.Scope
if scope.Restore ~= nil or not (scope.OverlayHidden or scope.ReticleHidden) then return end
local scopeClass = RivalsRuntimeBridge.NativeRemovals.RequireModule('Scope')
local setActive = scopeClass and rawget(scopeClass, 'SetActive') or nil
if type(setActive) ~= 'function' then return end
local wrapped = function(scopeObject, active)
coroutine.wrap(setActive)(scopeObject, active)
if not rawget(scopeObject, '_is_scope_active') then return end
if scope.OverlayDirty then
local visible = not scope.OverlayHidden
local circleFrame = rawget(scopeObject, 'CircleFrame')
local blurFrame = rawget(scopeObject, 'BlurFrame')
if circleFrame then circleFrame.Visible = visible end
if blurFrame then blurFrame.Visible = visible end
end
if scope.ReticleDirty then
local reticleContainer = rawget(scopeObject, 'ReticleContainer')
if reticleContainer then reticleContainer.Visible = not scope.ReticleHidden end
end
end
rawset(scopeClass, 'SetActive', wrapped)
scope.Restore = { class = scopeClass, original = setActive }
end
function RivalsRuntimeBridge.NativeRemovals.RevertScopeHook()
local scope = RivalsRuntimeBridge.NativeRemovals.Scope
local restore = scope.Restore
if not restore then return end
scope.Restore = nil
rawset(restore.class, 'SetActive', restore.original)
end
function RivalsRuntimeBridge.NativeRemovals.SetScopeOverlayHidden(hidden)
local scope = RivalsRuntimeBridge.NativeRemovals.Scope
scope.OverlayHidden = hidden
scope.OverlayDirty = true
RivalsRuntimeBridge.NativeRemovals.EnsureScopeHook()
end
function RivalsRuntimeBridge.NativeRemovals.SetScopeReticleHidden(hidden)
local scope = RivalsRuntimeBridge.NativeRemovals.Scope
scope.ReticleHidden = hidden
scope.ReticleDirty = true
RivalsRuntimeBridge.NativeRemovals.EnsureScopeHook()
end
function RivalsRuntimeBridge.NativeRemovals.EnsureCrosshairHook()
local crosshair = RivalsRuntimeBridge.NativeRemovals.Crosshair
if crosshair.Restore ~= nil then return end
if crosshair.CrosshairVisible == nil and crosshair.HitmarkerVisible == nil then return end
local class = RivalsRuntimeBridge.NativeRemovals.RequireModule('Crosshair')
local update = class and rawget(class, '_Update') or nil
if type(update) ~= 'function' then return end
local wrapped = function(instance, ...)
coroutine.wrap(update)(instance, ...)
if rawget(instance, '_destroyed') then return end
local frame = rawget(instance, 'Frame')
if typeof(frame) ~= 'Instance' then return end
local visible = crosshair.CrosshairVisible
if visible ~= nil then
local foreground = frame:FindFirstChild('Foreground')
local background = frame:FindFirstChild('Background')
if foreground then foreground.Visible = visible end
if background then background.Visible = visible end
end
local hitmarker = crosshair.HitmarkerVisible
if hitmarker ~= nil then
local marker = frame:FindFirstChild('Hitmarker')
if marker then marker.Visible = hitmarker end
end
end
rawset(class, '_Update', wrapped)
crosshair.Restore = { class = class, original = update }
end
function RivalsRuntimeBridge.NativeRemovals.EachItemCrosshair(callback)
local fighter = ResolveLocalFighter()
for _, item in pairs(type(fighter) == 'table' and rawget(fighter, 'Items') or {}) do
local interface = type(item) == 'table' and rawget(item, 'ItemInterface') or nil
local mouse = type(interface) == 'table' and rawget(interface, 'Mouse') or nil
local mouseCrosshair = type(mouse) == 'table' and rawget(mouse, 'MouseCrosshair') or nil
local object = type(mouseCrosshair) == 'table' and rawget(mouseCrosshair, 'Crosshair') or nil
if type(object) == 'table' and not rawget(object, '_destroyed') then callback(object) end
end
end
function RivalsRuntimeBridge.NativeRemovals.IsNativeCrosshairActive()
local fighter = ResolveLocalFighter()
if type(fighter) ~= 'table' then return false end
local equipped = rawget(fighter, 'EquippedItem')
if type(equipped) ~= 'table' then return false end
local interface = rawget(equipped, 'ItemInterface')
local mouse = type(interface) == 'table' and rawget(interface, 'Mouse') or nil
local mouseCrosshair = type(mouse) == 'table' and rawget(mouse, 'MouseCrosshair') or nil
local object = type(mouseCrosshair) == 'table' and rawget(mouseCrosshair, 'Crosshair') or nil
return type(object) == 'table' and rawget(object, '_destroyed') ~= true
end
function RivalsRuntimeBridge.NativeRemovals.ApplyCrosshairFrames()
local crosshair = RivalsRuntimeBridge.NativeRemovals.Crosshair
RivalsRuntimeBridge.NativeRemovals.EachItemCrosshair(function(object)
local frame = rawget(object, 'Frame')
if typeof(frame) ~= 'Instance' then return end
if crosshair.CrosshairVisible ~= nil then
local foreground = frame:FindFirstChild('Foreground')
local background = frame:FindFirstChild('Background')
if foreground then foreground.Visible = crosshair.CrosshairVisible end
if background then background.Visible = crosshair.CrosshairVisible end
end
if crosshair.HitmarkerVisible ~= nil then
local marker = frame:FindFirstChild('Hitmarker')
if marker then marker.Visible = crosshair.HitmarkerVisible end
end
end)
end
function RivalsRuntimeBridge.NativeRemovals.RevertCrosshairFrames()
local restore = RivalsRuntimeBridge.NativeRemovals.Crosshair.Restore
local original = restore and restore.original or nil
if type(original) ~= 'function' then return end
RivalsRuntimeBridge.NativeRemovals.EachItemCrosshair(function(object)
task.spawn(function()
local previousIdentity = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 2) end
coroutine.wrap(original)(object)
if previousIdentity ~= nil and type(setthreadidentity) == 'function' then
pcall(setthreadidentity, previousIdentity)
end
end)
end)
end
function RivalsRuntimeBridge.NativeRemovals.RevertCrosshairHook()
local crosshair = RivalsRuntimeBridge.NativeRemovals.Crosshair
local restore = crosshair.Restore
if not restore then return end
crosshair.Restore = nil
rawset(restore.class, '_Update', restore.original)
end
function RivalsRuntimeBridge.NativeRemovals.SyncCrosshairHook()
local crosshair = RivalsRuntimeBridge.NativeRemovals.Crosshair
if crosshair.CrosshairVisible == nil and crosshair.HitmarkerVisible == nil then
RivalsRuntimeBridge.NativeRemovals.RevertCrosshairHook()
return
end
RivalsRuntimeBridge.NativeRemovals.EnsureCrosshairHook()
end
function RivalsRuntimeBridge.NativeRemovals.SetNativeCrosshairHidden(hidden)
local crosshair = RivalsRuntimeBridge.NativeRemovals.Crosshair
local target = nil
if hidden then target = false end
if crosshair.CrosshairVisible == target then return end
crosshair.CrosshairVisible = target
if target == nil then
RivalsRuntimeBridge.NativeRemovals.RevertCrosshairFrames()
if crosshair.HitmarkerVisible ~= nil then RivalsRuntimeBridge.NativeRemovals.ApplyCrosshairFrames() end
else
RivalsRuntimeBridge.NativeRemovals.ApplyCrosshairFrames()
end
RivalsRuntimeBridge.NativeRemovals.SyncCrosshairHook()
end
function RivalsRuntimeBridge.NativeRemovals.SetHitmarkerHidden(hidden)
local crosshair = RivalsRuntimeBridge.NativeRemovals.Crosshair
local target = nil
if hidden then target = false end
if crosshair.HitmarkerVisible == target then return end
crosshair.HitmarkerVisible = target
if target == nil then
RivalsRuntimeBridge.NativeRemovals.RevertCrosshairFrames()
if crosshair.CrosshairVisible ~= nil then RivalsRuntimeBridge.NativeRemovals.ApplyCrosshairFrames() end
else
RivalsRuntimeBridge.NativeRemovals.ApplyCrosshairFrames()
end
RivalsRuntimeBridge.NativeRemovals.SyncCrosshairHook()
end
function RivalsRuntimeBridge.NativeRemovals.IsLocalAnimator(animator)
local viewModel = type(animator) == 'table' and rawget(animator, 'ClientViewModel') or nil
local item = type(viewModel) == 'table' and rawget(viewModel, 'ClientItem') or nil
local fighter = type(item) == 'table' and rawget(item, 'ClientFighter') or nil
return type(fighter) == 'table' and rawget(fighter, 'IsLocalPlayer') == true
end
function RivalsRuntimeBridge.NativeRemovals.EnsureAnimationHook()
local native = RivalsRuntimeBridge.NativeRemovals
local animation = native.Animation
local class, fromInstance = native.ResolveLiveClass('ViewModelAnimator', 'PlayAnimation')
if animation.Restore ~= nil then
if not fromInstance or rawequal(animation.Restore.class, class) then return end
native.RevertAnimationHook()
end
local original = class and rawget(class, 'PlayAnimation') or nil
if type(original) ~= 'function' then return end
local wrapped = function(animator, animationKey, ...)
if
not native.IsLocalAnimator(animator) or not RivalsModsState.ShouldSuppressViewmodelAnimation(animator, animationKey)
then
return original(animator, animationKey, ...)
end
local tracks = rawget(animator, '_animation_tracks')
local existing = type(tracks) == 'table' and tracks[animationKey] or nil
if existing == nil then return end
tracks[animationKey] = native.AnimationStub
local ok, err = pcall(original, animator, animationKey, ...)
tracks[animationKey] = existing
if not ok then error(err, 0) end
end
rawset(class, 'PlayAnimation', wrapped)
animation.Restore = { class = class, original = original }
end
function RivalsRuntimeBridge.NativeRemovals.RevertAnimationHook()
local animation = RivalsRuntimeBridge.NativeRemovals.Animation
local restore = animation.Restore
if not restore then return end
animation.Restore = nil
rawset(restore.class, 'PlayAnimation', restore.original)
end
function RivalsRuntimeBridge.NativeRemovals.ReadNumber(optionId, fallback)
local option = Options and Options[optionId]
if option ~= nil and type(option.Value) == 'number' then return option.Value end
return fallback
end
function RivalsRuntimeBridge.NativeRemovals.FindLocalViewModel()
local fighter = ResolveLocalFighter()
local items = fighter and type(fighter.Items) == 'table' and fighter.Items or nil
if not items then return nil end
for _, item in pairs(items) do
local viewModel = type(item) == 'table' and rawget(item, 'ViewModel') or nil
if type(viewModel) == 'table' then return viewModel end
end
return nil
end
-- The class a hook patches has to be the one the live objects use. When a viewmodel exists its own metatable is that class,
-- whatever require() returned on this executor; otherwise the required module is the best guess.
function RivalsRuntimeBridge.NativeRemovals.ResolveLiveClass(key, method)
local native = RivalsRuntimeBridge.NativeRemovals
local viewModel = native.FindLocalViewModel()
if viewModel then
local instance = key == 'ClientViewModel' and viewModel or rawget(viewModel, 'Animator')
local class = type(instance) == 'table' and getmetatable(instance) or nil
-- A live viewmodel sits on a small per-weapon subclass (and some weapons add another layer); the shared class that owns the method
-- is further up the metatable chain, so walk up to the table that really holds it.
local depth = 0
while type(class) == 'table' and depth < 8 do
if method == nil or type(rawget(class, method)) == 'function' then return class, true end
class = getmetatable(class)
depth = depth + 1
end
end
return native.RequireModule(key), false
end
function RivalsRuntimeBridge.NativeRemovals.IsLocalFirstPersonViewModel(viewModel)
local item = type(viewModel) == 'table' and rawget(viewModel, 'ClientItem') or nil
local fighter = type(item) == 'table' and rawget(item, 'ClientFighter') or nil
if type(fighter) ~= 'table' or rawget(fighter, 'IsLocalPlayer') ~= true then return false end
local model = rawget(viewModel, 'Model')
local parent = typeof(model) == 'Instance' and model.Parent or nil
return parent ~= nil and parent.Name == 'FirstPerson'
end
-- The camera controller resets ViewModelOffsetCFrame to identity every frame before it uses it, and the viewmodel is placed
-- from the camera's final CFrame, so that field cannot move the arms. SetCFrame is the one place the viewmodel pose is
-- written each frame; the offset is applied there, in camera space.
function RivalsRuntimeBridge.NativeRemovals.EnsureViewmodelOffsetHook()
local native = RivalsRuntimeBridge.NativeRemovals
local hook = native.ViewmodelOffset
local class, fromInstance = native.ResolveLiveClass('ClientViewModel', 'SetCFrame')
if hook.Restore ~= nil then
if not fromInstance or rawequal(hook.Restore.class, class) then return end
native.RevertViewmodelOffsetHook()
hook.Active = true
end
local original = class and rawget(class, 'SetCFrame') or nil
if type(original) ~= 'function' then return end
local wrapped = function(viewModel, cframe, ...)
if hook.Active and typeof(cframe) == 'CFrame' and native.IsLocalFirstPersonViewModel(viewModel) then
local camera = Workspace.CurrentCamera
if camera then
local cameraFrame = camera.CFrame
cframe = cameraFrame * hook.Offset * cameraFrame:ToObjectSpace(cframe)
end
end
return original(viewModel, cframe, ...)
end
rawset(class, 'SetCFrame', wrapped)
hook.Restore = { class = class, original = original }
end
function RivalsRuntimeBridge.NativeRemovals.RevertViewmodelOffsetHook()
local hook = RivalsRuntimeBridge.NativeRemovals.ViewmodelOffset
hook.Active = false
local restore = hook.Restore
if not restore then return end
hook.Restore = nil
rawset(restore.class, 'SetCFrame', restore.original)
end
function RivalsRuntimeBridge.NativeRemovals.SyncViewmodelOffsetHook()
local native = RivalsRuntimeBridge.NativeRemovals
local hook = native.ViewmodelOffset
if native.ReadToggle('P4S2T10') then
local position =
CFrame.new(native.ReadNumber('P4S2S5', 0), native.ReadNumber('P4S2S6', 0), native.ReadNumber('P4S2S7', 0))
local turn = CFrame.Angles(
math.rad(native.ReadNumber('PX3S1', 0)),
math.rad(native.ReadNumber('PX3S2', 0)),
math.rad(native.ReadNumber('PX3S3', 0))
)
hook.Offset = position * turn
hook.Active = true
native.EnsureViewmodelOffsetHook()
else
native.RevertViewmodelOffsetHook()
end
end
function RivalsRuntimeBridge.NativeRemovals.SyncAnimationHook()
local native = RivalsRuntimeBridge.NativeRemovals
if
native.ReadToggle('P1S31T2')
or native.ReadToggle('P1S31T3')
or native.ReadToggle('P1S31T4')
or native.ReadToggle('P1S31T5')
then
native.EnsureAnimationHook()
else
native.RevertAnimationHook()
end
end
function RivalsRuntimeBridge.NativeRemovals.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.NativeRemovals.RefreshAll()
local native = RivalsRuntimeBridge.NativeRemovals
local caps = __ZkhHub_genv.ZkxHubCaps
native.SetVignetteHidden(
native.ReadToggle('P1S27T3') and caps.gate('No ADS Vignette', 'debug.getconstants', 'debug.setconstant')
)
native.SetScopeOverlayHidden(native.ReadToggle('P1S27T4'))
native.SetScopeReticleHidden(native.ReadToggle('P1S27T5'))
native.SetGunTracersHidden(
native.ReadToggle('P1S27T6') and caps.gate('No Gun Tracers', 'debug.getconstants', 'debug.setconstant')
)
native.SetMuzzleFlashHidden(
native.ReadToggle('P1S27T7') and caps.gate('No Muzzle Flash', 'debug.getupvalue', 'debug.setupvalue')
)
native.SetHitmarkerHidden(native.ReadToggle('P1S27T8'))
native.SetGameHitsoundDisabled(native.ReadToggle('P1S15T3'))
RivalsRuntimeBridge.ReplicationRemovals.RefreshAll()
end
function RivalsRuntimeBridge.NativeRemovals.Destroy()
local native = RivalsRuntimeBridge.NativeRemovals
native.SetVignetteHidden(false)
native.SetGunTracersHidden(false)
native.SetMuzzleFlashHidden(false)
native.SetGameHitsoundDisabled(false)
native.RevertScopeHook()
native.RevertCrosshairFrames()
native.RevertCrosshairHook()
native.RevertAnimationHook()
native.RevertViewmodelOffsetHook()
RivalsRuntimeBridge.ReplicationRemovals.Destroy()
RivalsRuntimeBridge.ReplicateHook.Destroy()
local scope = native.Scope
scope.OverlayHidden = false
scope.ReticleHidden = false
scope.OverlayDirty = false
scope.ReticleDirty = false
local crosshair = native.Crosshair
crosshair.CrosshairVisible = nil
crosshair.HitmarkerVisible = nil
native.Modules = {}
end
RivalsRuntimeBridge.ReplicateHook = {
BindingsByEnum = {},
Restore = nil,
}
function RivalsRuntimeBridge.ReplicateHook.ResolveController()
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local module = modules and modules:FindFirstChild('ReplicatedController')
if not module then return nil end
local controller = RivalsRuntimeBridge.RequireGameModule(module, 'ReplicatedController')
if not controller then return nil end
return controller
end
function RivalsRuntimeBridge.ReplicateHook.Reserve(enumNames)
local hook = RivalsRuntimeBridge.ReplicateHook
local enumLibrary = ResolveEnumLibrary()
if not enumLibrary or type(enumLibrary.ToEnum) ~= 'function' then return nil end
local tokens = {}
for _, enumName in ipairs(enumNames) do
local ok, token = pcall(enumLibrary.ToEnum, enumLibrary, enumName)
if not ok or type(token) ~= 'string' then return nil end
tokens[#tokens + 1] = token
end
local binding = { enabled = false, handler = nil, tokens = tokens }
function binding:SetHandler(handler) self.handler = handler end
function binding:SetEnabled(enabled)
self.enabled = enabled and true or false
if self.enabled then RivalsRuntimeBridge.ReplicateHook.Load() end
end
function binding:Destroy()
self.handler = nil
self.enabled = false
for _, token in ipairs(self.tokens) do
local list = hook.BindingsByEnum[token]
if list then
for index = #list, 1, -1 do
if list[index] == self then table.remove(list, index) end
end
if #list == 0 then hook.BindingsByEnum[token] = nil end
end
end
end
for _, token in ipairs(tokens) do
local list = hook.BindingsByEnum[token]
if not list then
list = {}
hook.BindingsByEnum[token] = list
end
table.insert(list, binding)
end
return binding
end
function RivalsRuntimeBridge.ReplicateHook.Load()
local hook = RivalsRuntimeBridge.ReplicateHook
if hook.Restore ~= nil then return true end
local controller = hook.ResolveController()
local original = controller and rawget(controller, '_ObjectChanged') or nil
if type(original) ~= 'function' then return false end
local enumLibrary = ResolveEnumLibrary()
if not enumLibrary or type(enumLibrary.FromEnum) ~= 'function' then return false end
local bindingsByEnum = hook.BindingsByEnum
local wrapped = function(...)
local packed = table.pack(...)
local offset = (type(packed[1]) == 'table') and 1 or 0
local objectId = packed[offset + 1]
local token = packed[offset + 2]
local bindings = type(token) == 'string' and bindingsByEnum[token] or nil
if bindings == nil or type(objectId) ~= 'string' then return (coroutine.wrap(original)(...)) end
local args = { n = math.max(packed.n - offset - 2, 0) }
for index = 1, args.n do
args[index] = packed[offset + 2 + index]
end
local decoded
local decodeOk, decodeValue = pcall(enumLibrary.FromEnum, enumLibrary, token)
if decodeOk then decoded = decodeValue end
local packet = {
block = false,
objectId = objectId,
enumName = decoded,
args = args,
}
local identity
if type(getthreadidentity) == 'function' then identity = getthreadidentity() end
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 8) end
for _, binding in ipairs(bindings) do
if binding.enabled and binding.handler then
pcall(binding.handler, packet)
if packet.block then break end
end
end
if identity ~= nil and type(setthreadidentity) == 'function' then pcall(setthreadidentity, identity) end
if packet.block then return end
return (coroutine.wrap(original)(...))
end
rawset(controller, '_ObjectChanged', wrapped)
hook.Restore = { controller = controller, original = original }
return true
end
function RivalsRuntimeBridge.ReplicateHook.Revert()
local hook = RivalsRuntimeBridge.ReplicateHook
local restore = hook.Restore
if not restore then return end
hook.Restore = nil
rawset(restore.controller, '_ObjectChanged', restore.original)
end
function RivalsRuntimeBridge.ReplicateHook.RevertIfIdle()
local hook = RivalsRuntimeBridge.ReplicateHook
if hook.Restore == nil then return end
for _, list in pairs(hook.BindingsByEnum) do
for _, binding in ipairs(list) do
if binding.enabled then return end
end
end
hook.Revert()
end
function RivalsRuntimeBridge.ReplicateHook.Destroy()
local hook = RivalsRuntimeBridge.ReplicateHook
hook.Revert()
hook.BindingsByEnum = {}
end
function RivalsRuntimeBridge.ReplicateHook.DecodeArg(value)
if type(value) ~= 'string' then return nil end
local enumLibrary = ResolveEnumLibrary()
if not enumLibrary or type(enumLibrary.FromEnum) ~= 'function' then return nil end
local ok, name = pcall(enumLibrary.FromEnum, enumLibrary, value)
if not ok or type(name) ~= 'string' then return nil end
return name
end
RivalsRuntimeBridge.ReplicationRemovals = {
Flashbang = nil,
Burn = nil,
}
function RivalsRuntimeBridge.ReplicationRemovals.EnsureBindings()
local removals = RivalsRuntimeBridge.ReplicationRemovals
local hook = RivalsRuntimeBridge.ReplicateHook
if not removals.Flashbang then
local binding = hook.Reserve({ 'ItemChanged' })
if binding then
binding:SetHandler(function(packet)
if hook.DecodeArg(packet.args[2]) == 'BlindEffect' then packet.block = true end
end)
removals.Flashbang = binding
end
end
if not removals.Burn then
local binding = hook.Reserve({ 'EntityChanged' })
if binding then
binding:SetHandler(function(packet)
if hook.DecodeArg(packet.args[1]) ~= 'BurnEffect' then return end
local fighter = ResolveLocalFighter()
if not fighter then return end
local entity = rawget(fighter, 'Entity')
local objectId = type(entity) == 'table' and rawget(entity, 'ObjectID') or nil
objectId = objectId or RivalsRuntimeBridge.CombatFeedback.ResolveFighterObjectId(fighter)
if objectId == nil or objectId ~= packet.objectId then return end
packet.block = true
end)
removals.Burn = binding
end
end
end
function RivalsRuntimeBridge.ReplicationRemovals.RefreshAll()
local removals = RivalsRuntimeBridge.ReplicationRemovals
local native = RivalsRuntimeBridge.NativeRemovals
local wantFlash = native.ReadToggle('P1S27T1')
local wantBurn = native.ReadToggle('P1S27T2')
if wantFlash or wantBurn then removals.EnsureBindings() end
if removals.Flashbang then removals.Flashbang:SetEnabled(wantFlash) end
if removals.Burn then removals.Burn:SetEnabled(wantBurn) end
RivalsRuntimeBridge.ReplicateHook.RevertIfIdle()
end
function RivalsRuntimeBridge.ReplicationRemovals.Destroy()
local removals = RivalsRuntimeBridge.ReplicationRemovals
if removals.Flashbang then
removals.Flashbang:Destroy()
removals.Flashbang = nil
end
if removals.Burn then
removals.Burn:Destroy()
removals.Burn = nil
end
end
-- ======================================================================
-- Movement: speed, flight, noclip, auto strafe, long jump
-- ======================================================================
RivalsRuntimeBridge.Movement = {
Character = nil,
Humanoid = nil,
RootPart = nil,
CollidableParts = {},
NoclipCharacter = nil,
NoclipConnections = nil,
NoclipEnabled = false,
Flight = nil,
MechanicsController = nil,
PlayerModule = nil,
WalkSpeedHookLoaded = false,
WalkSpeedHookGetter = nil,
WalkSpeedHookUpvalueIndex = nil,
WalkSpeedHookOldUpvalue = nil,
WalkMultiplierEnabled = false,
WalkMultiplier = 1,
SlidingMultiplierEnabled = false,
SlidingMultiplier = 1,
JumpPowerHookLoaded = false,
JumpPowerHookDestroyed = false,
JumpPowerEnabled = false,
JumpPowerMultiplier = 1,
LongJumpPressed = false,
}
function RivalsRuntimeBridge.Movement.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.Movement.ReadNumber(optionId, fallback)
local option = Options and Options[optionId]
return option and type(option.Value) == 'number' and option.Value or fallback
end
function RivalsRuntimeBridge.Movement.IsKeyActive(optionId)
local option = Options and Options[optionId]
if option and type(option.GetState) == 'function' then return option:GetState() end
return true
end
function RivalsRuntimeBridge.Movement.ReplaceJumpPowerConstants(target)
local movement = RivalsRuntimeBridge.Movement
for index, value in pairs(debug.getupvalues(target)) do
if type(value) == 'table' then
local metatable = getmetatable(value)
local metaIndex = type(metatable) == 'table' and rawget(metatable, '__index') or nil
local original = nil
if type(metaIndex) == 'function' then
local ok, wrapped = pcall(function() return value['meow\0d67'] end)
original = ok and wrapped or nil
elseif rawget(value, 'BASE_JUMPPOWER') ~= nil then
original = value
end
if original ~= nil then
local upvalueIndex = index
debug.setupvalue(
target,
upvalueIndex,
setmetatable({}, {
__index = function(_, key)
if key == 'meow\0d67' then return original end
if movement.JumpPowerHookDestroyed then
debug.setupvalue(target, upvalueIndex, original)
return rawget(original, key)
end
if key ~= 'BASE_JUMPPOWER' then return rawget(original, key) end
return rawget(original, 'BASE_JUMPPOWER')
* (movement.JumpPowerEnabled and movement.JumpPowerMultiplier or 1)
end,
})
)
break
end
end
end
end
function RivalsRuntimeBridge.Movement.AttemptLoadJumpPowerHook()
local movement = RivalsRuntimeBridge.Movement
if movement.JumpPowerHookLoaded then return true end
if
type(debug.getupvalues) ~= 'function'
or type(debug.setupvalue) ~= 'function'
or type(debug.getconstants) ~= 'function'
or type(debug.getprotos) ~= 'function'
or type(debug.getproto) ~= 'function'
then
return false
end
local mechanics = movement.ResolveMechanicsController()
if type(mechanics) ~= 'table' then return false end
local metatable = getmetatable(mechanics)
local classIndex = type(metatable) == 'table' and rawget(metatable, '__index') or nil
local hookFighter = type(classIndex) == 'table' and rawget(classIndex, '_HookFighter') or nil
if type(hookFighter) ~= 'function' then return false end
local localFighter = rawget(mechanics, 'LocalFighter')
if localFighter == nil then return false end
movement.ReplaceJumpPowerConstants(hookFighter)
local entityAdded = rawget(localFighter, 'EntityAdded')
local handler = type(entityAdded) == 'table' and rawget(entityAdded, '_handlerListHead') or nil
local entityCallback = nil
while type(handler) == 'table' and entityCallback == nil do
local fn = rawget(handler, '_fn')
if type(fn) == 'function' then
for _, constant in pairs(debug.getconstants(fn)) do
if constant == 'CustomGravity' then
entityCallback = fn
break
end
end
end
handler = rawget(handler, '_next')
end
if entityCallback == nil then
LP:Kick('JumpPower error: ent')
return false
end
movement.ReplaceJumpPowerConstants(entityCallback)
for protoIndex in pairs(debug.getprotos(entityCallback)) do
local activated = debug.getproto(entityCallback, protoIndex, true)
local instance = type(activated) == 'table' and activated[1] or nil
if instance ~= nil then movement.ReplaceJumpPowerConstants(instance) end
end
movement.JumpPowerHookDestroyed = false
movement.JumpPowerHookLoaded = true
return true
end
function RivalsRuntimeBridge.Movement.ClearNoclipCharacter()
local movement = RivalsRuntimeBridge.Movement
if movement.NoclipConnections then
for _, connection in ipairs(movement.NoclipConnections) do
connection:Disconnect()
end
end
movement.NoclipConnections = nil
movement.NoclipCharacter = nil
table.clear(movement.CollidableParts)
end
function RivalsRuntimeBridge.Movement.BindNoclipCharacter(character)
local movement = RivalsRuntimeBridge.Movement
movement.ClearNoclipCharacter()
movement.NoclipCharacter = character
for _, descendant in ipairs(character:GetDescendants()) do
if descendant:IsA('BasePart') and descendant.CanCollide then movement.CollidableParts[descendant] = true end
end
movement.NoclipConnections = {
character.DescendantAdded:Connect(function(descendant)
if descendant:IsA('BasePart') and descendant.CanCollide then movement.CollidableParts[descendant] = true end
end),
character.DescendantRemoving:Connect(function(descendant)
if descendant:IsA('BasePart') then movement.CollidableParts[descendant] = nil end
end),
}
end
function RivalsRuntimeBridge.Movement.SetNoclipEnabled(enabled)
local movement = RivalsRuntimeBridge.Movement
if movement.NoclipEnabled and not enabled then
for part in pairs(movement.CollidableParts) do
part.CanCollide = true
end
end
movement.NoclipEnabled = enabled == true
end
function RivalsRuntimeBridge.Movement.DestroyFlight()
local movement = RivalsRuntimeBridge.Movement
local flight = movement.Flight
movement.Flight = nil
if flight then
pcall(function() flight.Velocity:Destroy() end)
pcall(function() flight.Attachment:Destroy() end)
end
end
function RivalsRuntimeBridge.Movement.ResolveCharacter()
local movement = RivalsRuntimeBridge.Movement
local character = LP.Character
local humanoid = character and character:FindFirstChildOfClass('Humanoid') or nil
local rootPart = character and character:FindFirstChild('HumanoidRootPart') or nil
if character ~= movement.Character or humanoid ~= movement.Humanoid or rootPart ~= movement.RootPart then
movement.ClearNoclipCharacter()
movement.DestroyFlight()
movement.Character = character
movement.Humanoid = humanoid
movement.RootPart = rootPart
movement.LongJumpPressed = false
end
return character, humanoid, rootPart
end
function RivalsRuntimeBridge.Movement.ResolveControlsMoveVector()
local movement = RivalsRuntimeBridge.Movement
if movement.PlayerModule == nil then
local playerScripts = LP:FindFirstChild('PlayerScripts')
local moduleScript = playerScripts and playerScripts:FindFirstChild('PlayerModule')
if moduleScript then
local ok, playerModule = pcall(require, moduleScript)
if ok and type(playerModule) == 'table' and type(playerModule.GetControls) == 'function' then
movement.PlayerModule = playerModule
end
end
end
local playerModule = movement.PlayerModule
if playerModule then
local ok, moveVector = pcall(function() return playerModule:GetControls():GetMoveVector() end)
if ok and typeof(moveVector) == 'Vector3' then return moveVector end
end
return Vector3.zero
end
function RivalsRuntimeBridge.Movement.FlightMoveDirection()
local movement = RivalsRuntimeBridge.Movement
if AimbotInputState.FreecamActive or UserInputService:GetFocusedTextBox() then return Vector3.zero end
local direction = Vector3.zero
local cframe = Workspace.CurrentCamera.CFrame
if UserInputService.KeyboardEnabled then
local look = cframe.LookVector
local flatLook = Vector3.new(look.X, 0, look.Z)
if flatLook.Magnitude > 0 then flatLook = flatLook.Unit end
if UserInputService:IsKeyDown(Enum.KeyCode.W) then direction = direction + flatLook end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then direction = direction - cframe.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then direction = direction - flatLook end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then direction = direction + cframe.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then direction = direction + Vector3.new(0, 1, 0) end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) or UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
direction = direction - Vector3.new(0, 1, 0)
end
else
local moveVector = movement.ResolveControlsMoveVector()
if moveVector.Magnitude > 0 then
direction = direction + cframe.LookVector * -moveVector.Z
direction = direction + cframe.RightVector * moveVector.X
end
end
return direction
end
function RivalsRuntimeBridge.Movement.FlattenDirection(vector)
local flat = Vector3.new(vector.X, 0, vector.Z)
return flat.Magnitude > 0 and flat.Unit or Vector3.zero
end
function RivalsRuntimeBridge.Movement.StrafeMoveDirection()
local movement = RivalsRuntimeBridge.Movement
if AimbotInputState.FreecamActive or UserInputService:GetFocusedTextBox() then return Vector3.zero end
local direction = Vector3.zero
local cframe = Workspace.CurrentCamera.CFrame
local look = movement.FlattenDirection(cframe.LookVector)
local right = movement.FlattenDirection(cframe.RightVector)
if UserInputService.KeyboardEnabled then
if UserInputService:IsKeyDown(Enum.KeyCode.W) then direction = direction + look end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then direction = direction - look end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then direction = direction + right end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then direction = direction - right end
else
local moveVector = movement.ResolveControlsMoveVector()
if moveVector.Magnitude > 0 then
direction = direction + look * -moveVector.Z
direction = direction + right * moveVector.X
end
end
if direction.Magnitude > 0 then direction = direction.Unit end
return direction
end
function RivalsRuntimeBridge.Movement.UpdateFlight(active)
local movement = RivalsRuntimeBridge.Movement
local rootPart = movement.RootPart
if not active or not rootPart or rootPart.Parent == nil or not movement.Humanoid or movement.Humanoid.Health <= 0 then
movement.DestroyFlight()
return
end
local direction = movement.FlightMoveDirection()
if direction.Magnitude > 0 then direction = direction.Unit end
local velocityVector = direction * movement.ReadNumber('P10S3S4', 100)
local flight = movement.Flight
if flight and flight.RootPart ~= rootPart then
movement.DestroyFlight()
flight = nil
end
if flight then
flight.Velocity.VectorVelocity = velocityVector
return
end
local attachment = Instance.new('Attachment')
attachment.Parent = rootPart
local velocity = Instance.new('LinearVelocity')
velocity.RelativeTo = Enum.ActuatorRelativeTo.World
velocity.MaxForce = math.huge
velocity.VectorVelocity = velocityVector
velocity.Attachment0 = attachment
velocity.Parent = rootPart
movement.Flight = { RootPart = rootPart, Attachment = attachment, Velocity = velocity }
end
function RivalsRuntimeBridge.Movement.BlankFlightVelocity()
local movement = RivalsRuntimeBridge.Movement
if movement.Flight and movement.RootPart and movement.RootPart.Parent then
movement.RootPart.AssemblyLinearVelocity = Vector3.zero
end
end
function RivalsRuntimeBridge.Movement.UpdateNoclip(active)
local movement = RivalsRuntimeBridge.Movement
local character = movement.Character
local alive = character ~= nil and movement.Humanoid ~= nil and movement.Humanoid.Health > 0
if not alive then
movement.ClearNoclipCharacter()
elseif movement.NoclipCharacter ~= character then
movement.BindNoclipCharacter(character)
end
movement.SetNoclipEnabled(active == true and alive)
if not movement.NoclipEnabled then return end
for part in pairs(movement.CollidableParts) do
part.CanCollide = false
end
end
function RivalsRuntimeBridge.Movement.UpdateAutoStrafe(deltaTime, active)
local movement = RivalsRuntimeBridge.Movement
local rootPart = movement.RootPart
if
not active
or not rootPart
or not movement.Humanoid
or movement.Humanoid.Health <= 0
or not UserInputService:IsKeyDown(Enum.KeyCode.Space)
then
return
end
local speed = movement.ReadNumber('P10S3S5', 50)
rootPart.CFrame = rootPart.CFrame + movement.StrafeMoveDirection() * (speed / 100) * deltaTime * 60
rootPart.AssemblyLinearVelocity = rootPart.AssemblyLinearVelocity * Vector3.new(0, 1, 0)
end
function RivalsRuntimeBridge.Movement.ResolveMechanicsController()
local movement = RivalsRuntimeBridge.Movement
if movement.MechanicsController then return movement.MechanicsController end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local mechanicsModule = controllers and controllers:FindFirstChild('MechanicsController')
if mechanicsModule then
local ok, controller = pcall(require, mechanicsModule)
movement.MechanicsController = ok and type(controller) == 'table' and controller or nil
end
return movement.MechanicsController
end
function RivalsRuntimeBridge.Movement.AttemptLoadWalkSpeedHook()
local movement = RivalsRuntimeBridge.Movement
if movement.WalkSpeedHookLoaded then return true end
if type(debug.getupvalues) ~= 'function' or type(debug.setupvalue) ~= 'function' then return false end
local mechanics = movement.ResolveMechanicsController()
if type(mechanics) ~= 'table' then return false end
local metatable = getmetatable(mechanics)
local classIndex = type(metatable) == 'table' and rawget(metatable, '__index') or nil
local getWalkSpeed = type(classIndex) == 'table' and rawget(classIndex, '_GetWalkSpeed') or nil
if type(getWalkSpeed) ~= 'function' then return false end
local upvalueIndex, oldUpvalue
for index, value in pairs(debug.getupvalues(getWalkSpeed)) do
if type(value) == 'table' and rawget(value, 'BASE_WALKSPEED') ~= nil then
upvalueIndex = index
oldUpvalue = value
break
end
end
if upvalueIndex == nil then return false end
movement.WalkSpeedHookGetter = getWalkSpeed
movement.WalkSpeedHookUpvalueIndex = upvalueIndex
movement.WalkSpeedHookOldUpvalue = oldUpvalue
debug.setupvalue(
getWalkSpeed,
upvalueIndex,
setmetatable({}, {
__index = function(_, key)
if key ~= 'BASE_WALKSPEED' then
LP:Kick('Unexpected behavior (client physics 1)')
return nil
end
local baseWalkSpeed = rawget(oldUpvalue, 'BASE_WALKSPEED')
if movement.SlidingMultiplierEnabled and debug.info(3, 'n') == 'Slide' then
return baseWalkSpeed * movement.SlidingMultiplier
end
if movement.WalkMultiplierEnabled then return baseWalkSpeed * movement.WalkMultiplier end
return baseWalkSpeed
end,
})
)
movement.WalkSpeedHookLoaded = true
return true
end
function RivalsRuntimeBridge.Movement.UpdateWalkSpeed(active)
local movement = RivalsRuntimeBridge.Movement
movement.WalkMultiplier = movement.ReadNumber('P10S3S1', 2)
movement.WalkMultiplierEnabled = active == true
movement.AttemptLoadWalkSpeedHook()
end
function RivalsRuntimeBridge.Movement.UpdateSliding(active)
local movement = RivalsRuntimeBridge.Movement
movement.SlidingMultiplier = movement.ReadNumber('P10S3S2', 10)
movement.SlidingMultiplierEnabled = active == true
movement.AttemptLoadWalkSpeedHook()
end
function RivalsRuntimeBridge.Movement.UpdateJumpPower(active)
local movement = RivalsRuntimeBridge.Movement
movement.JumpPowerMultiplier = movement.ReadNumber('P10S3S3', 2)
movement.JumpPowerEnabled = active == true
movement.AttemptLoadJumpPowerHook()
end
function RivalsRuntimeBridge.Movement.LaunchLongJump()
local movement = RivalsRuntimeBridge.Movement
local fighter = ResolveLocalFighter()
local entity = type(fighter) == 'table' and rawget(fighter, 'Entity') or nil
if not entity and fighter and type(fighter.GetEntity) == 'function' then
local ok, value = pcall(fighter.GetEntity, fighter)
entity = ok and value or nil
end
local rootPart = movement.RootPart
local camera = Workspace.CurrentCamera
if type(entity) ~= 'table' or not rootPart or not camera or not movement.Humanoid or movement.Humanoid.Health <= 0 then
return false
end
local lookVector = camera.CFrame.LookVector
local direction = Vector3.new(lookVector.X, 0, lookVector.Z)
if direction.Magnitude < 0.001 then
local rootLook = rootPart.CFrame.LookVector
direction = Vector3.new(rootLook.X, 0, rootLook.Z)
end
direction = direction.Unit
if Options.P10S3D1 and Options.P10S3D1.Value == 'Under Feet' then
direction = (direction * movement.ReadNumber('P10S3S8', 8) + Vector3.new(0, 4, 0)).Unit
end
local velocity = direction * movement.ReadNumber('P10S3S6', 60) + Vector3.new(0, movement.ReadNumber('P10S3S7', 20), 0)
if type(entity.AirborneCancel) ~= 'function' or type(entity.AirborneTrigger) ~= 'function' then return false end
pcall(entity.AirborneCancel, entity)
local ok = pcall(entity.AirborneTrigger, entity, velocity, 4)
return ok
end
function RivalsRuntimeBridge.Movement.UpdateLongJump(active)
local movement = RivalsRuntimeBridge.Movement
if active and not movement.LongJumpPressed then movement.LaunchLongJump() end
movement.LongJumpPressed = active
end
function RivalsRuntimeBridge.Movement.Update(deltaTime)
local movement = RivalsRuntimeBridge.Movement
movement.ResolveCharacter()
movement.UpdateWalkSpeed(movement.ReadToggle('P10S3T1') and movement.IsKeyActive('P10S3T1K'))
movement.UpdateSliding(movement.ReadToggle('P10S3T2') and movement.IsKeyActive('P10S3T2K'))
movement.UpdateJumpPower(movement.ReadToggle('P10S3T3'))
movement.UpdateAutoStrafe(deltaTime, movement.ReadToggle('P10S3T6') and movement.IsKeyActive('P10S3T6K'))
movement.UpdateFlight(movement.ReadToggle('P10S3T4') and movement.IsKeyActive('P10S3T4K'))
movement.UpdateNoclip(movement.ReadToggle('P10S3T5') and movement.IsKeyActive('P10S3T5K'))
movement.UpdateLongJump(movement.ReadToggle('P10S3T7') and movement.IsKeyActive('P10S3T7K'))
end
function RivalsRuntimeBridge.Movement.RefreshAll()
local movement = RivalsRuntimeBridge.Movement
local caps = __ZkhHub_genv.ZkxHubCaps
if movement.ReadToggle('P10S3T1') or movement.ReadToggle('P10S3T2') then
caps.gate('WalkSpeed / Sliding Speed', 'debug.getupvalues', 'debug.setupvalue')
end
if movement.ReadToggle('P10S3T3') then
caps.gate(
'Jump Power',
'debug.getupvalues',
'debug.setupvalue',
'debug.getconstants',
'debug.getprotos',
'debug.getproto'
)
end
RivalsRuntimeBridge.Movement.Update(0)
end
function RivalsRuntimeBridge.Movement.Destroy()
local movement = RivalsRuntimeBridge.Movement
movement.SetNoclipEnabled(false)
movement.ClearNoclipCharacter()
movement.DestroyFlight()
if
movement.WalkSpeedHookLoaded
and movement.WalkSpeedHookGetter
and movement.WalkSpeedHookUpvalueIndex ~= nil
and movement.WalkSpeedHookOldUpvalue ~= nil
then
pcall(
debug.setupvalue,
movement.WalkSpeedHookGetter,
movement.WalkSpeedHookUpvalueIndex,
movement.WalkSpeedHookOldUpvalue
)
end
movement.WalkSpeedHookLoaded = false
movement.WalkSpeedHookGetter = nil
movement.WalkSpeedHookUpvalueIndex = nil
movement.WalkSpeedHookOldUpvalue = nil
movement.WalkMultiplierEnabled = false
movement.SlidingMultiplierEnabled = false
movement.JumpPowerHookDestroyed = true
movement.JumpPowerHookLoaded = false
movement.JumpPowerEnabled = false
movement.MechanicsController = nil
movement.PlayerModule = nil
movement.Character = nil
movement.Humanoid = nil
movement.RootPart = nil
movement.LongJumpPressed = false
end
-- ======================================================================
-- Device spoof
-- ======================================================================
RivalsRuntimeBridge.DeviceSpoof = {
Hook = nil,
Controller = nil,
ControlsMap = {
Desktop = 'MouseKeyboard',
Mobile = 'Touch',
Console = 'Gamepad',
VR = 'VR',
},
}
function RivalsRuntimeBridge.DeviceSpoof.ResolveControlsController()
local spoof = RivalsRuntimeBridge.DeviceSpoof
if spoof.Controller then return spoof.Controller end
if not ReplicatedStateReady then
BeginReplicatedStateBoot()
return nil
end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local module = controllers and controllers:FindFirstChild('ControlsController')
if not module then return nil end
local ok, controller = pcall(require, module)
if ok and type(controller) == 'table' then spoof.Controller = controller end
return spoof.Controller
end
function RivalsRuntimeBridge.DeviceSpoof.ReadEnabled() return Toggles and Toggles.P10S7T1 and Toggles.P10S7T1.Value == true end
function RivalsRuntimeBridge.DeviceSpoof.ReadSpoofType()
local option = Options and Options.P10S7D1
local value = option and option.Value
return type(value) == 'string' and value or 'VR'
end
function RivalsRuntimeBridge.DeviceSpoof.ResolveReplicateControls()
local fighterController = ResolveFighterController()
if type(fighterController) ~= 'table' then return nil, nil end
local metatable = getmetatable(fighterController)
local classIndex = type(metatable) == 'table' and rawget(metatable, '__index') or nil
local replicateControls = type(classIndex) == 'table' and rawget(classIndex, '_ReplicateControls') or nil
if type(replicateControls) ~= 'function' then return nil, fighterController end
return replicateControls, fighterController
end
function RivalsRuntimeBridge.DeviceSpoof.ForceReplicate()
local replicateControls, fighterController = RivalsRuntimeBridge.DeviceSpoof.ResolveReplicateControls()
if replicateControls and fighterController then pcall(replicateControls, fighterController) end
end
function RivalsRuntimeBridge.DeviceSpoof.AttemptLoadHook()
local spoof = RivalsRuntimeBridge.DeviceSpoof
if spoof.Hook then return true end
if type(debug.getupvalues) ~= 'function' or type(debug.setupvalue) ~= 'function' then return false end
local controlsController = spoof.ResolveControlsController()
if type(controlsController) ~= 'table' then return false end
local replicateControls = spoof.ResolveReplicateControls()
if type(replicateControls) ~= 'function' then return false end
local upvalueIndex
for index, value in pairs(debug.getupvalues(replicateControls)) do
if value == controlsController then
upvalueIndex = index
break
end
end
if upvalueIndex == nil then return false end
local originalValue = debug.getupvalue(replicateControls, upvalueIndex)
debug.setupvalue(
replicateControls,
upvalueIndex,
setmetatable({}, {
__index = function(_, key)
if key ~= 'CurrentControls' then
LP:Kick('Unexpected behavior (client misc 2)')
return nil
end
local value = spoof.ControlsMap[spoof.ReadSpoofType()]
if value == nil then LP:Kick('Unexpected behavior (client misc 1)') end
return value
end,
})
)
spoof.Hook = {
Getter = replicateControls,
UpvalueIndex = upvalueIndex,
OriginalValue = originalValue,
}
return true
end
function RivalsRuntimeBridge.DeviceSpoof.AttemptUnloadHook()
local spoof = RivalsRuntimeBridge.DeviceSpoof
local hook = spoof.Hook
if not hook then return end
spoof.Hook = nil
pcall(debug.setupvalue, hook.Getter, hook.UpvalueIndex, hook.OriginalValue)
end
function RivalsRuntimeBridge.DeviceSpoof.RefreshAll()
local spoof = RivalsRuntimeBridge.DeviceSpoof
if spoof.ReadEnabled() then
__ZkhHub_genv.ZkxHubCaps.gate('Device Spoof', 'debug.getupvalues', 'debug.setupvalue')
if spoof.AttemptLoadHook() then spoof.ForceReplicate() end
elseif spoof.Hook then
spoof.AttemptUnloadHook()
spoof.ForceReplicate()
end
end
function RivalsRuntimeBridge.DeviceSpoof.Destroy()
local spoof = RivalsRuntimeBridge.DeviceSpoof
if spoof.Hook then
spoof.AttemptUnloadHook()
spoof.ForceReplicate()
end
end
-- ======================================================================
-- Player spoofer
-- ======================================================================
RivalsRuntimeBridge.PlayerSpoofer = {
Binders = setmetatable({}, { __mode = 'k' }),
LifecycleConnections = {},
Started = false,
Scopes = { 'You', 'Oth' },
AttributeFields = {
{ key = 'Winstreak', attribute = 'StatisticDuelsWinStreak', control = 'number', youDefault = '999', othDefault = '0' },
{ key = 'Level', attribute = 'Level', control = 'number', youDefault = '999', othDefault = '0' },
{ key = 'RankedElo', attribute = 'DisplayELO', control = 'number', youDefault = '3600', othDefault = '0' },
{ key = 'NametagStatus', attribute = 'PlayerStatus', control = 'text', youDefault = 'Prime', othDefault = 'Prime' },
{ key = 'Influencer', attribute = 'IsInfluencer', control = 'const', constValue = true },
{ key = 'RobloxEmployee', attribute = 'IsRobloxEmployee', control = 'const', constValue = true },
{ key = 'NosniyTeam', attribute = 'GroupRank', control = 'const', constValue = 255 },
},
}
function RivalsRuntimeBridge.PlayerSpoofer.CreateBinder(instance, attribute)
local binder = {
Instance = instance,
Attribute = attribute,
Original = instance:GetAttribute(attribute),
IsWriting = false,
Spoofed = nil,
Connection = nil,
}
binder.Connection = instance:GetAttributeChangedSignal(attribute):Connect(function()
if binder.IsWriting then return end
binder.Original = instance:GetAttribute(attribute)
binder.IsWriting = true
if binder.Spoofed ~= nil then instance:SetAttribute(attribute, binder.Spoofed.value) end
binder.IsWriting = false
end)
return binder
end
function RivalsRuntimeBridge.PlayerSpoofer.BinderSet(binder, spoofed)
binder.Spoofed = spoofed
binder.IsWriting = true
if spoofed == nil then
binder.Instance:SetAttribute(binder.Attribute, binder.Original)
else
binder.Instance:SetAttribute(binder.Attribute, spoofed.value)
end
binder.IsWriting = false
end
function RivalsRuntimeBridge.PlayerSpoofer.BinderDestroy(binder)
if binder.Connection then binder.Connection:Disconnect() end
pcall(function() binder.Instance:SetAttribute(binder.Attribute, binder.Original) end)
end
function RivalsRuntimeBridge.PlayerSpoofer.Bind(player, attribute)
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
local entries = spoofer.Binders[player]
if entries == nil then
entries = {}
spoofer.Binders[player] = entries
end
local binder = entries[attribute]
if binder == nil then
binder = spoofer.CreateBinder(player, attribute)
entries[attribute] = binder
end
return binder
end
function RivalsRuntimeBridge.PlayerSpoofer.Unbind(player, attribute)
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
local entries = spoofer.Binders[player]
if entries == nil then return end
local binder = entries[attribute]
if binder ~= nil then
spoofer.BinderDestroy(binder)
entries[attribute] = nil
end
end
function RivalsRuntimeBridge.PlayerSpoofer.SetAttributeSpoof(player, attribute, enabled, value)
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
if enabled then
spoofer.BinderSet(spoofer.Bind(player, attribute), { value = value })
else
spoofer.Unbind(player, attribute)
end
end
function RivalsRuntimeBridge.PlayerSpoofer.ScopeSuffix(player) return player == LP and 'You' or 'Oth' end
function RivalsRuntimeBridge.PlayerSpoofer.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.PlayerSpoofer.ReadOption(optionId)
local option = Options and Options[optionId]
return option and option.Value
end
function RivalsRuntimeBridge.PlayerSpoofer.Apply(player)
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
if not player or player.Parent == nil then return end
local suffix = spoofer.ScopeSuffix(player)
for _, field in ipairs(spoofer.AttributeFields) do
local enabled = spoofer.ReadToggle('PSpoof' .. suffix .. field.key .. 'T')
if field.control == 'const' then
spoofer.SetAttributeSpoof(player, field.attribute, enabled, field.constValue)
else
local raw = spoofer.ReadOption('PSpoof' .. suffix .. field.key .. 'V')
local value = raw
if field.control == 'number' then
value = tonumber(raw)
elseif type(raw) == 'string' and raw == '' then
value = nil
end
spoofer.SetAttributeSpoof(player, field.attribute, enabled and value ~= nil, value)
end
end
end
function RivalsRuntimeBridge.PlayerSpoofer.Cleanup(player)
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
local entries = spoofer.Binders[player]
if entries == nil then return end
for _, binder in pairs(entries) do
spoofer.BinderDestroy(binder)
end
spoofer.Binders[player] = nil
end
function RivalsRuntimeBridge.PlayerSpoofer.RefreshAll()
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
spoofer.Start()
for _, player in ipairs(Players:GetPlayers()) do
spoofer.Apply(player)
end
end
function RivalsRuntimeBridge.PlayerSpoofer.Start()
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
if spoofer.Started then return end
spoofer.Started = true
spoofer.LifecycleConnections[#spoofer.LifecycleConnections + 1] = Players.PlayerAdded:Connect(
GuardRivalsCallback('PlayerSpoofer_PlayerAdded', function(player) spoofer.Apply(player) end)
)
spoofer.LifecycleConnections[#spoofer.LifecycleConnections + 1] = Players.PlayerRemoving:Connect(
GuardRivalsCallback('PlayerSpoofer_PlayerRemoving', function(player) spoofer.Cleanup(player) end)
)
end
function RivalsRuntimeBridge.PlayerSpoofer.Destroy()
local spoofer = RivalsRuntimeBridge.PlayerSpoofer
for _, connection in ipairs(spoofer.LifecycleConnections) do
pcall(function() connection:Disconnect() end)
end
spoofer.LifecycleConnections = {}
spoofer.Started = false
for player in pairs(spoofer.Binders) do
spoofer.Cleanup(player)
end
end
-- ======================================================================
-- Animation player
-- ======================================================================
RivalsRuntimeBridge.AnimationPlayer = {
Character = nil,
Humanoid = nil,
Track = nil,
AnimatorWait = nil,
AwaitingOwnership = false,
LastLoadFailure = nil,
}
function RivalsRuntimeBridge.AnimationPlayer.ReadEnabled() return Toggles and Toggles.P10S6T1 and Toggles.P10S6T1.Value == true end
function RivalsRuntimeBridge.AnimationPlayer.ReadSpeed()
local option = Options and Options.P10S6S1
return option and type(option.Value) == 'number' and option.Value or 1
end
function RivalsRuntimeBridge.AnimationPlayer.ResolveAnimationId()
local option = Options and Options.P10S6I1
local value = option and option.Value
if type(value) ~= 'string' then return nil end
return value:match('%d+')
end
function RivalsRuntimeBridge.AnimationPlayer.Stop()
local player = RivalsRuntimeBridge.AnimationPlayer
if player.AnimatorWait then
player.AnimatorWait:Disconnect()
player.AnimatorWait = nil
end
local track = player.Track
player.Track = nil
if track then
pcall(track.Stop, track)
pcall(track.Destroy, track)
end
end
function RivalsRuntimeBridge.AnimationPlayer.Apply(awaitOwnership)
local player = RivalsRuntimeBridge.AnimationPlayer
player.Stop()
player.AwaitingOwnership = false
if not player.ReadEnabled() then return end
local humanoid = player.Humanoid
if not humanoid or humanoid.Parent == nil then return end
local animator = humanoid:FindFirstChildOfClass('Animator')
if not animator then
player.AnimatorWait = humanoid.ChildAdded:Connect(function(child)
if child:IsA('Animator') and player.Humanoid == humanoid then player.Apply(true) end
end)
return
end
local animationId = player.ResolveAnimationId()
if not animationId then return end
local animation = Instance.new('Animation')
animation.AnimationId = 'rbxassetid://' .. animationId
local ok, track = pcall(animator.LoadAnimation, animator, animation)
animation:Destroy()
if not ok or not track then
if player.LastLoadFailure ~= animationId then
player.LastLoadFailure = animationId
if Library and type(Library.Notify) == 'function' then
Library:Notify({
Title = 'Animation Player',
Description = 'Animation ' .. animationId .. ' could not be loaded.',
Time = 3,
})
end
end
return
end
player.LastLoadFailure = nil
track.Priority = Enum.AnimationPriority.Action4
track.Looped = true
player.Track = track
track:Play()
track:AdjustSpeed(player.ReadSpeed())
player.AwaitingOwnership = awaitOwnership == true
end
function RivalsRuntimeBridge.AnimationPlayer.AdjustSpeed()
local player = RivalsRuntimeBridge.AnimationPlayer
if player.Track then pcall(player.Track.AdjustSpeed, player.Track, player.ReadSpeed()) end
end
function RivalsRuntimeBridge.AnimationPlayer.EnforceWindow(track)
local length = track.Length
if type(length) ~= 'number' or length <= 0 then return end
local startOption = Options and Options.P10S6S2
local endOption = Options and Options.P10S6S3
local startPercent = startOption and tonumber(startOption.Value) or 0
local endPercent = endOption and tonumber(endOption.Value) or 100
local windowStart = math.clamp(startPercent, 0, 100) / 100 * length
local windowEnd = math.clamp(endPercent, 0, 100) / 100 * length
if windowEnd <= windowStart then return end
if track.TimePosition >= windowEnd or track.TimePosition < windowStart then track.TimePosition = windowStart end
end
function RivalsRuntimeBridge.AnimationPlayer.Update()
local player = RivalsRuntimeBridge.AnimationPlayer
local character = LP.Character
local humanoid = character and character:FindFirstChildOfClass('Humanoid') or nil
if character ~= player.Character or humanoid ~= player.Humanoid then
player.Stop()
player.Character = character
player.Humanoid = humanoid
player.Apply(true)
return
end
local track = player.Track
if not track then return end
if not track.IsPlaying then
player.Track = nil
pcall(track.Destroy, track)
player.Apply(false)
return
end
if player.AwaitingOwnership and humanoid and humanoid.RootPart then
player.AwaitingOwnership = false
player.Apply(false)
return
end
player.EnforceWindow(track)
end
function RivalsRuntimeBridge.AnimationPlayer.RefreshAll() RivalsRuntimeBridge.AnimationPlayer.Apply(false) end
function RivalsRuntimeBridge.AnimationPlayer.Destroy()
local player = RivalsRuntimeBridge.AnimationPlayer
player.Stop()
player.Character = nil
player.Humanoid = nil
player.AwaitingOwnership = false
player.LastLoadFailure = nil
end
-- ======================================================================
-- Movement recorder
-- ======================================================================
RivalsRuntimeBridge.MovementRecorder = {
SavePath = 'ZkxHub/RIVALS Movement Recordings.json',
Version = 1,
Mode = 'Idle',
PendingKind = nil,
Recording = nil,
Replay = nil,
LastRecording = nil,
RecordsByName = {},
RecordsByMap = {},
PersistenceLoaded = false,
RefreshingOptions = false,
InputConnections = {},
PlayerControls = nil,
InputLibrary = nil,
MechanicsController = nil,
RoundActive = nil,
RoundToken = nil,
RoundBindingPending = false,
RoundBindingGeneration = 0,
WaypointDirty = true,
WaypointMapName = nil,
WaypointMapModel = nil,
WaypointAnchor = nil,
Markers = {},
Routes = {},
SelectedRecording = nil,
ActivatedRecording = nil,
}
function RivalsRuntimeBridge.MovementRecorder.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.MovementRecorder.ReadNumber(optionId, fallback)
local option = Options and Options[optionId]
return option and type(option.Value) == 'number' and option.Value or fallback
end
function RivalsRuntimeBridge.MovementRecorder.Notify(message)
local recorder = RivalsRuntimeBridge.MovementRecorder
if recorder.ReadToggle('P10S4T3') then return end
if Library and type(Library.Notify) == 'function' then
Library:Notify({ Title = 'Movement Recorder', Description = message, Time = 3 })
end
end
function RivalsRuntimeBridge.MovementRecorder.SetToggle(optionId, value)
local toggle = Toggles and Toggles[optionId]
if not toggle or toggle.Value == value or type(toggle.SetValue) ~= 'function' then return end
task.defer(function()
if Toggles and Toggles[optionId] == toggle and toggle.Value ~= value then toggle:SetValue(value) end
end)
end
function RivalsRuntimeBridge.MovementRecorder.EncodeVector3(value) return { value.X, value.Y, value.Z } end
function RivalsRuntimeBridge.MovementRecorder.DecodeVector3(value)
if type(value) ~= 'table' then return nil end
local x, y, z = tonumber(value[1]), tonumber(value[2]), tonumber(value[3])
if not x or not y or not z then return nil end
return Vector3.new(x, y, z)
end
function RivalsRuntimeBridge.MovementRecorder.EncodeCFrame(value) return { value:GetComponents() } end
function RivalsRuntimeBridge.MovementRecorder.DecodeCFrame(value)
if type(value) ~= 'table' or #value ~= 12 then return nil end
local components = table.create(12)
for index = 1, 12 do
components[index] = tonumber(value[index])
if components[index] == nil then return nil end
end
return CFrame.new(table.unpack(components))
end
function RivalsRuntimeBridge.MovementRecorder.EncodeAction(action)
local encoded = { kind = action.kind }
if action.kind == 'Move' then
encoded.direction = RivalsRuntimeBridge.MovementRecorder.EncodeVector3(action.direction)
elseif action.kind == 'Look' then
encoded.cframe = RivalsRuntimeBridge.MovementRecorder.EncodeCFrame(action.cframe)
elseif action.kind == 'Equip' then
encoded.index = action.index
elseif action.kind == 'ItemInput' then
encoded.inputType = action.inputType
elseif action.kind == 'QuickAttack' then
encoded.attackType = action.attackType
elseif action.kind == 'Crouch' then
encoded.crouching = action.crouching == true
end
return encoded
end
function RivalsRuntimeBridge.MovementRecorder.DecodeAction(action)
if type(action) ~= 'table' or type(action.kind) ~= 'string' then return nil end
local decoded = { kind = action.kind }
if action.kind == 'Move' then
decoded.direction = RivalsRuntimeBridge.MovementRecorder.DecodeVector3(action.direction)
return decoded.direction and decoded or nil
elseif action.kind == 'Look' then
decoded.cframe = RivalsRuntimeBridge.MovementRecorder.DecodeCFrame(action.cframe)
return decoded.cframe and decoded or nil
elseif action.kind == 'Equip' then
decoded.index = tonumber(action.index)
return decoded.index and decoded or nil
elseif action.kind == 'ItemInput' then
decoded.inputType = type(action.inputType) == 'string' and action.inputType or nil
return decoded.inputType and decoded or nil
elseif action.kind == 'QuickAttack' then
decoded.attackType = type(action.attackType) == 'string' and action.attackType or nil
return decoded.attackType and decoded or nil
elseif action.kind == 'Crouch' then
decoded.crouching = action.crouching == true
elseif action.kind ~= 'Jump' and action.kind ~= 'Slide' then
return nil
end
return decoded
end
function RivalsRuntimeBridge.MovementRecorder.EncodeRecording(recording)
local encoded = {
mapName = recording.mapName,
startCFrame = RivalsRuntimeBridge.MovementRecorder.EncodeCFrame(recording.startCFrame),
displayPosition = RivalsRuntimeBridge.MovementRecorder.EncodeVector3(recording.displayPosition),
startEquippedIndex = recording.startEquippedIndex,
startEquipCooldown = recording.startEquipCooldown,
loadoutRequirements = {},
keypoints = {},
positions = {},
}
for itemName in pairs(recording.loadoutRequirements or {}) do
encoded.loadoutRequirements[#encoded.loadoutRequirements + 1] = itemName
end
table.sort(encoded.loadoutRequirements)
for _, keypoint in ipairs(recording.keypoints or {}) do
encoded.keypoints[#encoded.keypoints + 1] = {
offset = keypoint.offset,
action = RivalsRuntimeBridge.MovementRecorder.EncodeAction(keypoint.action),
}
end
for _, position in ipairs(recording.positions or {}) do
encoded.positions[#encoded.positions + 1] = {
offset = position.offset,
position = RivalsRuntimeBridge.MovementRecorder.EncodeVector3(position.position),
}
end
return encoded
end
function RivalsRuntimeBridge.MovementRecorder.DecodeRecording(encoded)
if type(encoded) ~= 'table' or type(encoded.mapName) ~= 'string' then return nil end
local recording = {
mapName = encoded.mapName,
startCFrame = RivalsRuntimeBridge.MovementRecorder.DecodeCFrame(encoded.startCFrame),
displayPosition = RivalsRuntimeBridge.MovementRecorder.DecodeVector3(encoded.displayPosition),
startEquippedIndex = tonumber(encoded.startEquippedIndex),
startEquipCooldown = tonumber(encoded.startEquipCooldown),
loadoutRequirements = {},
keypoints = {},
positions = {},
}
if not recording.startCFrame or not recording.displayPosition then return nil end
for _, itemName in ipairs(type(encoded.loadoutRequirements) == 'table' and encoded.loadoutRequirements or {}) do
if type(itemName) == 'string' and itemName ~= '' then recording.loadoutRequirements[itemName] = true end
end
for _, keypoint in ipairs(type(encoded.keypoints) == 'table' and encoded.keypoints or {}) do
local action = RivalsRuntimeBridge.MovementRecorder.DecodeAction(keypoint.action)
local offset = tonumber(keypoint.offset)
if action and offset then recording.keypoints[#recording.keypoints + 1] = { offset = offset, action = action } end
end
for _, position in ipairs(type(encoded.positions) == 'table' and encoded.positions or {}) do
local value = RivalsRuntimeBridge.MovementRecorder.DecodeVector3(position.position)
local offset = tonumber(position.offset)
if value and offset then recording.positions[#recording.positions + 1] = { offset = offset, position = value } end
end
if #recording.keypoints == 0 then return nil end
table.sort(recording.keypoints, function(left, right) return left.offset < right.offset end)
table.sort(recording.positions, function(left, right) return left.offset < right.offset end)
return recording
end
function RivalsRuntimeBridge.MovementRecorder.ReindexRecordings()
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.RecordsByMap = {}
for name, recording in pairs(recorder.RecordsByName) do
recording.name = name
local names = recorder.RecordsByMap[recording.mapName]
if not names then
names = {}
recorder.RecordsByMap[recording.mapName] = names
end
names[#names + 1] = name
end
for _, names in pairs(recorder.RecordsByMap) do
table.sort(names)
end
recorder.WaypointDirty = true
end
function RivalsRuntimeBridge.MovementRecorder.LoadPersistence()
local recorder = RivalsRuntimeBridge.MovementRecorder
if recorder.PersistenceLoaded then return end
recorder.PersistenceLoaded = true
recorder.RecordsByName = {}
if type(isfile) == 'function' and isfile(recorder.SavePath) then
local ok, decoded = pcall(function() return game:GetService('HttpService'):JSONDecode(readfile(recorder.SavePath)) end)
if ok and type(decoded) == 'table' and decoded.version == recorder.Version and type(decoded.recordings) == 'table' then
for name, encoded in pairs(decoded.recordings) do
local recording = type(name) == 'string' and recorder.DecodeRecording(encoded) or nil
if recording then recorder.RecordsByName[name] = recording end
end
end
end
recorder.ReindexRecordings()
end
function RivalsRuntimeBridge.MovementRecorder.WritePersistence()
local recorder = RivalsRuntimeBridge.MovementRecorder
if type(writefile) ~= 'function' then return false end
local encoded = {}
for name, recording in pairs(recorder.RecordsByName) do
encoded[name] = recorder.EncodeRecording(recording)
end
local ok = pcall(function()
if type(makefolder) == 'function' and type(isfolder) == 'function' and not isfolder('ZkxHub') then
makefolder('ZkxHub')
end
writefile(
recorder.SavePath,
game:GetService('HttpService'):JSONEncode({
version = recorder.Version,
recordings = encoded,
})
)
end)
return ok
end
function RivalsRuntimeBridge.MovementRecorder.GetMapNames()
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.LoadPersistence()
local maps = {}
for mapName in pairs(recorder.RecordsByMap) do
maps[#maps + 1] = mapName
end
table.sort(maps)
return maps
end
function RivalsRuntimeBridge.MovementRecorder.GetRecordingNames(mapName)
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.LoadPersistence()
return table.clone(recorder.RecordsByMap[mapName] or {})
end
function RivalsRuntimeBridge.MovementRecorder.RefreshRecordingOptions()
local recorder = RivalsRuntimeBridge.MovementRecorder
if recorder.RefreshingOptions then return end
local mapOption = Options and Options.P10S4D1
local recordingOption = Options and Options.P10S4D2
if not mapOption or not recordingOption then return end
recorder.RefreshingOptions = true
local maps = recorder.GetMapNames()
local currentMap = mapOption.Value
if type(mapOption.SetValues) == 'function' then mapOption:SetValues(maps) end
if type(currentMap) ~= 'string' or table.find(maps, currentMap) == nil then
currentMap = maps[1]
if type(mapOption.SetValue) == 'function' then mapOption:SetValue(currentMap) end
end
local names = recorder.GetRecordingNames(currentMap)
local selectedName = recordingOption.Value
if type(recordingOption.SetValues) == 'function' then recordingOption:SetValues(names) end
if type(selectedName) ~= 'string' or table.find(names, selectedName) == nil then
if type(recordingOption.SetValue) == 'function' then recordingOption:SetValue(names[1]) end
end
recorder.RefreshingOptions = false
end
function RivalsRuntimeBridge.MovementRecorder.SaveLastRecording(name)
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.LoadPersistence()
name = type(name) == 'string' and name:match('^%s*(.-)%s*$') or ''
if name == '' then
recorder.Notify('Enter a recording name first')
return false
end
if not recorder.LastRecording then
recorder.Notify('No recording to save')
return false
end
local previous = recorder.RecordsByName[name]
recorder.RecordsByName[name] = recorder.LastRecording
recorder.ReindexRecordings()
if not recorder.WritePersistence() then
recorder.RecordsByName[name] = previous
recorder.ReindexRecordings()
recorder.Notify('Failed to save recording')
return false
end
recorder.LastRecording = nil
recorder.RefreshRecordingOptions()
recorder.Notify('Recording saved')
return true
end
function RivalsRuntimeBridge.MovementRecorder.DeleteRecording(name)
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.LoadPersistence()
if type(name) ~= 'string' or name == '' or not recorder.RecordsByName[name] then
recorder.Notify('Select a recording to delete')
return false
end
local previous = recorder.RecordsByName[name]
recorder.RecordsByName[name] = nil
recorder.ReindexRecordings()
if not recorder.WritePersistence() then
recorder.RecordsByName[name] = previous
recorder.ReindexRecordings()
recorder.Notify('Failed to delete recording')
return false
end
recorder.RefreshRecordingOptions()
recorder.Notify('Recording deleted')
return true
end
function RivalsRuntimeBridge.MovementRecorder.ResolveMapContext()
local character = LP.Character
local humanoid = character and character:FindFirstChildOfClass('Humanoid') or nil
local rootPart = character and character:FindFirstChild('HumanoidRootPart') or nil
if not character or not humanoid or humanoid.Health <= 0 or not rootPart then return nil end
local environmentId = character:GetAttribute('EnvironmentID')
if environmentId == nil then
local fighter = ResolveLocalFighter()
local data = type(fighter) == 'table' and rawget(fighter, 'Data') or nil
environmentId = type(data) == 'table' and rawget(data, 'EnvironmentID') or nil
end
if environmentId == nil then return nil end
local tagged = game:GetService('CollectionService'):GetTagged('RaycastWhitelist' .. tostring(environmentId))
local mapModel = tagged[1]
while
mapModel
and mapModel ~= Workspace
and not (mapModel:IsA('Model') or mapModel:GetAttribute('EnvironmentID') == environmentId)
do
mapModel = mapModel.Parent
end
if not mapModel or mapModel == Workspace or not mapModel:IsA('PVInstance') then return nil end
local mapName
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local duelModule = controllers and controllers:FindFirstChild('DuelController')
if duelModule and IsReplicatedStateReady() then
local ok, duelController = pcall(require, duelModule)
local duel = ok and type(duelController) == 'table' and duelController.CurrentObject or nil
if duel and type(duel.GetMapName) == 'function' then
local mapOk, value = pcall(duel.GetMapName, duel)
mapName = mapOk and type(value) == 'string' and value ~= '' and value or nil
end
if not mapName and duel and type(duel.Get) == 'function' then
for _, key in ipairs({ 'MapName', 'Map' }) do
local mapOk, value = pcall(duel.Get, duel, key)
if mapOk and type(value) == 'string' and value ~= '' then
mapName = value
break
end
end
end
end
if not mapName then
for _, attributeName in ipairs({ 'MapName', 'MatchMap' }) do
local value = Workspace:GetAttribute(attributeName)
if type(value) == 'string' and value ~= '' then
mapName = value
break
end
end
end
mapName = mapName or mapModel.Name
return {
Character = character,
Humanoid = humanoid,
RootPart = rootPart,
MapModel = mapModel,
MapAnchor = mapModel:GetPivot(),
MapName = mapName,
EnvironmentId = environmentId,
}
end
function RivalsRuntimeBridge.MovementRecorder.IsRoundActive()
local recorder = RivalsRuntimeBridge.MovementRecorder
local fighter = ResolveLocalFighter()
local data = type(fighter) == 'table' and rawget(fighter, 'Data') or nil
if type(data) == 'table' and rawget(data, 'IsInShootingRange') == true then return true end
if recorder.RoundActive ~= nil then return recorder.RoundActive == true end
return FighterDataCache.LocalDuel.IsInDuel == true
end
function RivalsRuntimeBridge.MovementRecorder.ResolveDependencies()
local recorder = RivalsRuntimeBridge.MovementRecorder
if not recorder.PlayerControls then
local playerModule = LP:FindFirstChild('PlayerScripts') and LP.PlayerScripts:FindFirstChild('PlayerModule')
if playerModule then
local ok, module = pcall(require, playerModule)
if ok and type(module) == 'table' and type(module.GetControls) == 'function' then
local controlsOk, controls = pcall(module.GetControls, module)
recorder.PlayerControls = controlsOk and controls or nil
end
end
end
if not recorder.InputLibrary then
local modules = ReplicatedStorage:FindFirstChild('Modules')
local inputModule = modules and modules:FindFirstChild('InputLibrary')
if inputModule then
local ok, library = pcall(require, inputModule)
recorder.InputLibrary = ok and type(library) == 'table' and library or nil
end
end
if not recorder.MechanicsController and IsReplicatedStateReady() then
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local mechanicsModule = controllers and controllers:FindFirstChild('MechanicsController')
if mechanicsModule then
local ok, controller = pcall(require, mechanicsModule)
recorder.MechanicsController = ok and type(controller) == 'table' and controller or nil
end
end
return recorder.PlayerControls ~= nil and recorder.InputLibrary ~= nil
end
function RivalsRuntimeBridge.MovementRecorder.ResolveEquippedItem(fighter)
if type(fighter) ~= 'table' then return nil end
return rawget(fighter, 'EquippedItem')
end
function RivalsRuntimeBridge.MovementRecorder.ResolveItemIndex(item, fighter)
local data = type(item) == 'table' and rawget(item, 'Data') or nil
local index = type(data) == 'table' and tonumber(rawget(data, 'ItemIndex')) or nil
if index then return index end
for slotIndex, candidate in ipairs(type(fighter) == 'table' and rawget(fighter, 'Items') or {}) do
if candidate == item then return slotIndex end
end
return nil
end
function RivalsRuntimeBridge.MovementRecorder.ResolveItemName(item)
if type(item) ~= 'table' then return nil end
local name = rawget(item, 'Name')
if type(name) == 'string' and name ~= '' then return name end
local data = rawget(item, 'Data')
name = type(data) == 'table' and rawget(data, 'Name') or nil
return type(name) == 'string' and name ~= '' and name or nil
end
function RivalsRuntimeBridge.MovementRecorder.GetOffset()
local active = RivalsRuntimeBridge.MovementRecorder.Recording
return active and math.max(0, os.clock() - active.StartTime) or 0
end
function RivalsRuntimeBridge.MovementRecorder.RecordAction(action)
local recorder = RivalsRuntimeBridge.MovementRecorder
local active = recorder.Recording
if not active then return end
active.Data.keypoints[#active.Data.keypoints + 1] = {
offset = recorder.GetOffset(),
action = action,
}
end
function RivalsRuntimeBridge.MovementRecorder.DiscardUnusedStartItem()
local active = RivalsRuntimeBridge.MovementRecorder.Recording
if not active or active.StartItemUsed or active.Data.startEquippedIndex == nil then return end
active.Data.startEquippedIndex = nil
active.Data.startEquipCooldown = nil
end
function RivalsRuntimeBridge.MovementRecorder.RecordItemInput(inputType)
local recorder = RivalsRuntimeBridge.MovementRecorder
local active = recorder.Recording
if not active then return end
local fighter = ResolveLocalFighter()
local item = recorder.ResolveEquippedItem(fighter)
local itemName = recorder.ResolveItemName(item)
if itemName then active.Data.loadoutRequirements[itemName] = true end
if recorder.ResolveItemIndex(item, fighter) == active.StartItemIndex then active.StartItemUsed = true end
recorder.RecordAction({ kind = 'ItemInput', inputType = inputType })
end
function RivalsRuntimeBridge.MovementRecorder.InputMatches(input, inputName)
local library = RivalsRuntimeBridge.MovementRecorder.InputLibrary
if not library or type(library.InputIs) ~= 'function' then return false end
local ok, matches = pcall(library.InputIs, library, input, inputName)
return ok and matches == true
end
function RivalsRuntimeBridge.MovementRecorder.HandleInput(input, gameProcessed, began)
local recorder = RivalsRuntimeBridge.MovementRecorder
if recorder.Mode ~= 'Recording' or gameProcessed then return end
if began and recorder.InputMatches(input, 'Jump') then
recorder.RecordAction({ kind = 'Jump' })
return
end
if began and recorder.InputMatches(input, 'QuickMelee') then
recorder.RecordAction({ kind = 'QuickAttack', attackType = 'Melee' })
return
end
if began and recorder.InputMatches(input, 'QuickUtility') then
recorder.RecordAction({ kind = 'QuickAttack', attackType = 'Utility' })
return
end
local library = recorder.InputLibrary
for _, inputName in ipairs(type(library) == 'table' and library.ItemInputs or {}) do
local definition = type(library.Inputs) == 'table' and library.Inputs[inputName] or nil
if definition and recorder.InputMatches(input, inputName) then
local inputType = began and definition.StartName or definition.FinishName
if type(inputType) == 'string' then recorder.RecordItemInput(inputType) end
return
end
end
end
function RivalsRuntimeBridge.MovementRecorder.DisconnectRecordingInputs()
local recorder = RivalsRuntimeBridge.MovementRecorder
for _, connection in ipairs(recorder.InputConnections) do
connection:Disconnect()
end
recorder.InputConnections = {}
end
function RivalsRuntimeBridge.MovementRecorder.ConnectRecordingInputs()
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.DisconnectRecordingInputs()
recorder.InputConnections = {
UserInputService.InputBegan:Connect(
GuardRivalsCallback(
'MovementRecorder_InputBegan',
function(input, gameProcessed) recorder.HandleInput(input, gameProcessed, true) end
)
),
UserInputService.InputEnded:Connect(
GuardRivalsCallback(
'MovementRecorder_InputEnded',
function(input, gameProcessed) recorder.HandleInput(input, gameProcessed, false) end
)
),
}
end
function RivalsRuntimeBridge.MovementRecorder.SampleRecording()
local recorder = RivalsRuntimeBridge.MovementRecorder
local active = recorder.Recording
if not active then return end
local controls = recorder.PlayerControls
local moveVector = Vector3.zero
if controls and type(controls.GetMoveVector) == 'function' then
local ok, value = pcall(controls.GetMoveVector, controls)
if ok and typeof(value) == 'Vector3' then moveVector = value end
end
if moveVector ~= active.LastMoveVector then
active.LastMoveVector = moveVector
recorder.RecordAction({ kind = 'Move', direction = moveVector })
end
local camera = Workspace.CurrentCamera
if camera then
local pitch, yaw = camera.CFrame:ToOrientation()
local cameraRotation = Vector2.new(pitch, yaw)
if (cameraRotation - active.LastCameraRotation).Magnitude > 0.0001 then
active.LastCameraRotation = cameraRotation
recorder.RecordAction({
kind = 'Look',
cframe = active.AnchorInverse * CFrame.fromOrientation(pitch, yaw, 0),
})
end
end
local fighter = ResolveLocalFighter()
local item = recorder.ResolveEquippedItem(fighter)
local equippedIndex = recorder.ResolveItemIndex(item, fighter)
if equippedIndex ~= active.LastEquippedIndex then
active.LastEquippedIndex = equippedIndex
recorder.DiscardUnusedStartItem()
if equippedIndex ~= nil then recorder.RecordAction({ kind = 'Equip', index = equippedIndex }) end
end
local mechanics = recorder.MechanicsController
local crouching = mechanics and rawget(mechanics, 'IsCrouching') == true or false
if crouching ~= active.LastCrouching then
active.LastCrouching = crouching
recorder.RecordAction({ kind = 'Crouch', crouching = crouching })
end
local sliding = mechanics and rawget(mechanics, 'IsSliding') == true or false
if sliding ~= active.LastSliding then
active.LastSliding = sliding
if sliding then recorder.RecordAction({ kind = 'Slide' }) end
end
local now = os.clock()
if now - active.LastPositionSampleTime >= 0.1 then
active.LastPositionSampleTime = now
active.Data.positions[#active.Data.positions + 1] = {
offset = recorder.GetOffset(),
position = active.AnchorInverse * active.RootPart.Position,
}
end
end
function RivalsRuntimeBridge.MovementRecorder.StartRecording()
local recorder = RivalsRuntimeBridge.MovementRecorder
local context = recorder.ResolveMapContext()
if not context or not recorder.ResolveDependencies() then
recorder.Notify('You need to be alive and in a match')
return false
end
if recorder.Mode ~= 'Idle' then
recorder.Notify(recorder.Mode == 'Recording' and 'Already recording' or "Can't record while replaying")
return false
end
local fighter = ResolveLocalFighter()
local item = recorder.ResolveEquippedItem(fighter)
local equippedIndex = recorder.ResolveItemIndex(item, fighter)
local equipCooldown = type(item) == 'table' and tonumber(rawget(item, '_equip_cooldown')) or nil
if equipCooldown then equipCooldown = math.max(0, equipCooldown - tick()) end
local camera = Workspace.CurrentCamera
local pitch, yaw = camera and camera.CFrame:ToOrientation() or 0, 0
if camera then
pitch, yaw = camera.CFrame:ToOrientation()
end
local anchorInverse = context.MapAnchor:Inverse()
local displayPosition = context.RootPart.Position
if camera then
local center = camera.ViewportSize / 2
local ray = camera:ViewportPointToRay(center.X, center.Y)
displayPosition = ray.Origin + ray.Direction * 100
end
recorder.Recording = {
Data = {
mapName = context.MapName,
displayPosition = anchorInverse * displayPosition,
startCFrame = anchorInverse * context.RootPart.CFrame,
startEquippedIndex = equippedIndex,
startEquipCooldown = equipCooldown,
keypoints = {
{
offset = 0,
action = {
kind = 'Look',
cframe = anchorInverse * CFrame.fromOrientation(pitch, yaw, 0),
},
},
},
loadoutRequirements = {},
positions = {},
},
AnchorInverse = anchorInverse,
RootPart = context.RootPart,
Character = context.Character,
StartTime = os.clock(),
StartItemIndex = equippedIndex,
StartItemUsed = false,
LastMoveVector = Vector3.zero,
LastCameraRotation = Vector2.new(pitch, yaw),
LastEquippedIndex = equippedIndex,
LastCrouching = false,
LastSliding = false,
LastPositionSampleTime = 0,
}
recorder.Mode = 'Recording'
recorder.ConnectRecordingInputs()
recorder.SampleRecording()
recorder.Notify('Now recording')
return true
end
function RivalsRuntimeBridge.MovementRecorder.StopRecording(saveLast, notify)
local recorder = RivalsRuntimeBridge.MovementRecorder
if recorder.Mode ~= 'Recording' or not recorder.Recording then return end
recorder.SampleRecording()
recorder.DiscardUnusedStartItem()
if saveLast then recorder.LastRecording = recorder.Recording.Data end
recorder.DisconnectRecordingInputs()
recorder.Recording = nil
recorder.Mode = 'Idle'
if notify then recorder.Notify('Recording stopped') end
end
function RivalsRuntimeBridge.MovementRecorder.ResolveStartLook(mapAnchor, keypoints)
for _, keypoint in ipairs(keypoints or {}) do
local action = keypoint.action
if action and action.kind == 'Look' then
local pitch, yaw = (mapAnchor * action.cframe):ToOrientation()
return Vector2.new(pitch, yaw)
end
end
return nil
end
function RivalsRuntimeBridge.MovementRecorder.LoadoutFulfilled(recording)
local owned = {}
local fighter = ResolveLocalFighter()
for _, item in ipairs(type(fighter) == 'table' and rawget(fighter, 'Items') or {}) do
local itemName = RivalsRuntimeBridge.MovementRecorder.ResolveItemName(item)
if itemName then owned[itemName] = true end
end
for itemName in pairs(recording.loadoutRequirements or {}) do
if not owned[itemName] then return false end
end
return true
end
function RivalsRuntimeBridge.MovementRecorder.StartReplay(recording)
local recorder = RivalsRuntimeBridge.MovementRecorder
local context = recorder.ResolveMapContext()
if not context or not recorder.ResolveDependencies() then
recorder.Notify('You need to be alive and in a match')
return false
end
if recorder.Mode ~= 'Idle' then
recorder.Notify(recorder.Mode == 'Recording' and "Can't replay while recording" or 'Already replaying')
return false
end
if not recording or recording.mapName ~= context.MapName then
recorder.Notify('Stand near a recording marker first')
return false
end
if not recorder.LoadoutFulfilled(recording) then
recorder.Notify('Your loadout does not meet this recording')
return false
end
local fighter = ResolveLocalFighter()
if recording.startEquippedIndex ~= nil and fighter and type(fighter.EquipItem) == 'function' then
task.spawn(function() pcall(fighter.EquipItem, fighter, recording.startEquippedIndex) end)
end
local controls = recorder.PlayerControls
local activeController = type(controls) == 'table' and rawget(controls, 'activeController') or nil
local controlsWereEnabled = type(activeController) ~= 'table' or rawget(activeController, 'enabled') ~= false
if controls and type(controls.Disable) == 'function' then pcall(controls.Disable, controls) end
recorder.Replay = {
Data = recording,
Character = context.Character,
Humanoid = context.Humanoid,
RootPart = context.RootPart,
Fighter = fighter,
MapAnchor = context.MapAnchor,
State = 'Aligning',
AlignElapsed = 0,
StuckTime = 0,
BestDistance = math.huge,
LookAligned = false,
StartLook = recorder.ResolveStartLook(context.MapAnchor, recording.keypoints),
TargetLook = nil,
MoveVector = Vector3.zero,
Offset = 0,
KeypointIndex = 1,
PositionIndex = 1,
Controls = controls,
ControlsWereEnabled = controlsWereEnabled,
}
recorder.Mode = 'Aligning'
recorder.ActivatedRecording = recording
recorder.SelectedRecording = recording
RivalsRuntimeBridge.ResetFlickbot()
recorder.Notify('Now replaying')
return true
end
function RivalsRuntimeBridge.MovementRecorder.StopReplay(reason, notify)
local recorder = RivalsRuntimeBridge.MovementRecorder
local replay = recorder.Replay
if not replay then return end
if replay.Humanoid and replay.Humanoid.Parent then pcall(replay.Humanoid.Move, replay.Humanoid, Vector3.zero, false) end
if replay.ControlsWereEnabled and replay.Controls and type(replay.Controls.Enable) == 'function' then
pcall(replay.Controls.Enable, replay.Controls)
end
local mechanics = recorder.MechanicsController
if mechanics and type(mechanics.SetCrouching) == 'function' then pcall(mechanics.SetCrouching, mechanics, false) end
recorder.Replay = nil
recorder.Mode = 'Idle'
recorder.ActivatedRecording = nil
if notify then
if reason == 'Diverged' then
recorder.Notify('Replay stopped (off course)')
elseif reason == 'Completed' then
recorder.Notify('Finished replaying')
else
recorder.Notify('Stopped replaying')
end
end
end
function RivalsRuntimeBridge.MovementRecorder.IsStartItemReady()
local replay = RivalsRuntimeBridge.MovementRecorder.Replay
if not replay or replay.Data.startEquippedIndex == nil then return true end
local fighter = replay.Fighter
local item = RivalsRuntimeBridge.MovementRecorder.ResolveEquippedItem(fighter)
if RivalsRuntimeBridge.MovementRecorder.ResolveItemIndex(item, fighter) ~= replay.Data.startEquippedIndex then
return false
end
local cooldown = type(item) == 'table' and rawget(item, '_equip_cooldown') or nil
return type(cooldown) ~= 'number' or cooldown <= tick()
end
function RivalsRuntimeBridge.MovementRecorder.StepAlign(deltaTime)
local recorder = RivalsRuntimeBridge.MovementRecorder
local replay = recorder.Replay
if not replay then return end
if not recorder.IsRoundActive() then
replay.Humanoid:Move(Vector3.zero, false)
return
end
replay.AlignElapsed = replay.AlignElapsed + deltaTime
local targetPosition = (replay.MapAnchor * replay.Data.startCFrame).Position
local difference = targetPosition - replay.RootPart.Position
local planar = Vector3.new(difference.X, 0, difference.Z)
local distance = planar.Magnitude
local snapped = distance <= recorder.ReadNumber('P10S4S5', 0.2)
if snapped then
replay.Humanoid:Move(Vector3.zero, false)
else
replay.Humanoid:Move(planar.Unit, false)
end
if distance < replay.BestDistance - 0.1 then
replay.BestDistance = distance
replay.StuckTime = 0
else
replay.StuckTime = replay.StuckTime + deltaTime
end
local aligned = (snapped and (replay.StartLook == nil or replay.LookAligned)) or replay.StuckTime >= 1
if not aligned then return end
replay.Humanoid:Move(Vector3.zero, false)
if not recorder.IsStartItemReady() and replay.AlignElapsed < 3 then return end
replay.State = 'Playing'
recorder.Mode = 'Playing'
end
function RivalsRuntimeBridge.MovementRecorder.HasDiverged(offset)
local replay = RivalsRuntimeBridge.MovementRecorder.Replay
local positions = replay and replay.Data.positions or nil
if not positions or #positions == 0 then return false end
while replay.PositionIndex < #positions and positions[replay.PositionIndex + 1].offset <= offset do
replay.PositionIndex = replay.PositionIndex + 1
end
local first = positions[replay.PositionIndex]
local second = positions[replay.PositionIndex + 1]
local expected = first.position
if second then
local span = second.offset - first.offset
local alpha = span > 0 and math.clamp((offset - first.offset) / span, 0, 1) or 0
expected = first.position:Lerp(second.position, alpha)
end
return (replay.MapAnchor:PointToWorldSpace(expected) - replay.RootPart.Position).Magnitude > 15
end
function RivalsRuntimeBridge.MovementRecorder.ApplyReplayAction(action)
local recorder = RivalsRuntimeBridge.MovementRecorder
local replay = recorder.Replay
if not replay then return end
if action.kind == 'Move' then
replay.MoveVector = action.direction
elseif action.kind == 'Look' then
local pitch, yaw = (replay.MapAnchor * action.cframe):ToOrientation()
replay.TargetLook = Vector2.new(pitch, yaw)
elseif action.kind == 'Equip' and replay.Fighter and type(replay.Fighter.EquipItem) == 'function' then
task.spawn(function() pcall(replay.Fighter.EquipItem, replay.Fighter, action.index) end)
elseif action.kind == 'ItemInput' and replay.Fighter and type(replay.Fighter.Input) == 'function' then
task.spawn(function() pcall(replay.Fighter.Input, replay.Fighter, action.inputType) end)
elseif action.kind == 'QuickAttack' and replay.Fighter and type(replay.Fighter.QuickAttackDown) == 'function' then
task.spawn(function()
pcall(replay.Fighter.QuickAttackDown, replay.Fighter, action.attackType)
task.wait(0.05)
if replay.Fighter and type(replay.Fighter.QuickAttackUp) == 'function' then
pcall(replay.Fighter.QuickAttackUp, replay.Fighter, action.attackType)
end
end)
elseif action.kind == 'Jump' then
local mechanics = recorder.MechanicsController
if mechanics then
if rawget(mechanics, 'IsSliding') == true and type(mechanics.HighJump) == 'function' then
pcall(mechanics.HighJump, mechanics)
else
if type(mechanics.DoubleJumpRequest) == 'function' then pcall(mechanics.DoubleJumpRequest, mechanics) end
if type(mechanics.JumpRequest) == 'function' then pcall(mechanics.JumpRequest, mechanics) end
end
end
elseif action.kind == 'Crouch' then
local mechanics = recorder.MechanicsController
if mechanics and type(mechanics.SetCrouching) == 'function' then
pcall(mechanics.SetCrouching, mechanics, action.crouching)
end
elseif action.kind == 'Slide' then
local mechanics = recorder.MechanicsController
if mechanics and type(mechanics.Slide) == 'function' then
task.spawn(function() pcall(mechanics.Slide, mechanics) end)
end
end
end
function RivalsRuntimeBridge.MovementRecorder.StepPlaying(deltaTime)
local recorder = RivalsRuntimeBridge.MovementRecorder
local replay = recorder.Replay
if not replay then return end
replay.Offset = replay.Offset + deltaTime
if recorder.HasDiverged(replay.Offset) then
recorder.StopReplay('Diverged', true)
recorder.SetToggle('P10S4T5', false)
return
end
local keypoints = replay.Data.keypoints
while replay.KeypointIndex <= #keypoints do
local keypoint = keypoints[replay.KeypointIndex]
if replay.Offset < keypoint.offset then break end
recorder.ApplyReplayAction(keypoint.action)
replay.KeypointIndex = replay.KeypointIndex + 1
end
replay.Humanoid:Move(replay.MoveVector, true)
if replay.KeypointIndex > #keypoints then
recorder.StopReplay('Completed', true)
recorder.SetToggle('P10S4T5', false)
end
end
function RivalsRuntimeBridge.MovementRecorder.WrapAngle(value) return (value + math.pi) % (2 * math.pi) - math.pi end
function RivalsRuntimeBridge.MovementRecorder.SmoothingAlpha(deltaTime)
local tau = RivalsRuntimeBridge.MovementRecorder.ReadNumber('P10S4S4', 35) / 100 * 0.3
return tau <= 0 and 1 or 1 - math.exp(-deltaTime / tau)
end
function RivalsRuntimeBridge.MovementRecorder.ReadCameraRotation()
local camera = Workspace.CurrentCamera
if not camera then return nil end
local pitch, yaw = camera.CFrame:ToOrientation()
return Vector2.new(pitch, yaw)
end
function RivalsRuntimeBridge.MovementRecorder.WriteCameraRotation(rotation)
local camera = Workspace.CurrentCamera
if camera and rotation then
camera.CFrame = CFrame.new(camera.CFrame.Position) * CFrame.fromOrientation(rotation.X, rotation.Y, 0)
end
end
function RivalsRuntimeBridge.MovementRecorder.UpdateReplayCamera(deltaTime)
local recorder = RivalsRuntimeBridge.MovementRecorder
local replay = recorder.Replay
local current = replay and recorder.ReadCameraRotation() or nil
if not replay or not current then return end
if replay.State == 'Aligning' and replay.StartLook then
local difference = Vector2.new(replay.StartLook.X - current.X, recorder.WrapAngle(replay.StartLook.Y - current.Y))
local magnitude = difference.Magnitude
if magnitude <= math.rad(0.1) then
current = replay.StartLook
replay.LookAligned = true
else
local step = math.min(
magnitude * recorder.SmoothingAlpha(deltaTime),
math.rad(recorder.ReadNumber('P10S4S3', 180)) * deltaTime
)
current = current + difference.Unit * step
replay.LookAligned = false
end
recorder.WriteCameraRotation(current)
elseif replay.State == 'Playing' and replay.TargetLook then
local alpha = recorder.SmoothingAlpha(deltaTime)
recorder.WriteCameraRotation(
Vector2.new(
current.X + (replay.TargetLook.X - current.X) * alpha,
current.Y + recorder.WrapAngle(replay.TargetLook.Y - current.Y) * alpha
)
)
end
end
function RivalsRuntimeBridge.MovementRecorder.DestroyWaypoints()
local recorder = RivalsRuntimeBridge.MovementRecorder
for _, marker in ipairs(recorder.Markers) do
pcall(function() marker.Gui:Destroy() end)
pcall(function() marker.Attachment:Destroy() end)
end
for _, route in ipairs(recorder.Routes) do
pcall(function() route.Gui:Destroy() end)
pcall(function() route.Attachment:Destroy() end)
end
recorder.Markers = {}
recorder.Routes = {}
recorder.SelectedRecording = nil
recorder.WaypointMapName = nil
recorder.WaypointMapModel = nil
recorder.WaypointAnchor = nil
end
function RivalsRuntimeBridge.MovementRecorder.ResolveGuiParent()
if type(gethui) == 'function' then
local ok, parent = pcall(gethui)
if ok and typeof(parent) == 'Instance' then return parent end
end
return game:GetService('CoreGui')
end
function RivalsRuntimeBridge.MovementRecorder.CreateWaypointGui(name, position, isRoute)
local attachment = Instance.new('Attachment')
attachment.Name = isRoute and 'ZkxHubMovementRoute' or 'ZkxHubMovementMarker'
attachment.WorldPosition = position
attachment.Parent = Workspace.Terrain
local gui = Instance.new('BillboardGui')
gui.Name = attachment.Name
gui.Adornee = attachment
gui.AlwaysOnTop = true
gui.LightInfluence = 0
gui.MaxDistance = math.huge
gui.Size = UDim2.fromOffset(isRoute and math.max(90, #name * 8 + 24) or 110, 26)
gui.Enabled = false
local label = Instance.new('TextLabel')
label.Name = 'Label'
label.BackgroundColor3 = Color3.fromRGB(18, 20, 26)
label.BackgroundTransparency = 0.2
label.BorderSizePixel = 0
label.Size = UDim2.fromScale(1, 1)
label.Font = Enum.Font.GothamSemibold
label.TextSize = 14
label.TextColor3 = Color3.new(1, 1, 1)
label.Text = name
label.Parent = gui
local corner = Instance.new('UICorner')
corner.CornerRadius = UDim.new(0, 6)
corner.Parent = label
gui.Parent = RivalsRuntimeBridge.MovementRecorder.ResolveGuiParent()
return { Attachment = attachment, Gui = gui, Label = label, Position = position }
end
function RivalsRuntimeBridge.MovementRecorder.RebuildWaypoints(context)
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.DestroyWaypoints()
recorder.WaypointDirty = false
recorder.WaypointMapName = context.MapName
recorder.WaypointMapModel = context.MapModel
recorder.WaypointAnchor = context.MapAnchor
local grouped = {}
for _, name in ipairs(recorder.RecordsByMap[context.MapName] or {}) do
local recording = recorder.RecordsByName[name]
if recording then
local position = recording.startCFrame.Position
local key = math.floor(position.X / 8) .. ',' .. math.floor(position.Y / 8) .. ',' .. math.floor(position.Z / 8)
local group = grouped[key]
if not group then
group = { Recordings = {}, Position = Vector3.zero }
grouped[key] = group
end
group.Recordings[#group.Recordings + 1] = recording
group.Position = group.Position + position
end
end
for _, group in pairs(grouped) do
local worldPosition = context.MapAnchor:PointToWorldSpace(group.Position / #group.Recordings)
local text = #group.Recordings == 1 and '1 recording' or tostring(#group.Recordings) .. ' recordings'
local marker = recorder.CreateWaypointGui(text, worldPosition, false)
marker.Recordings = group.Recordings
recorder.Markers[#recorder.Markers + 1] = marker
for _, recording in ipairs(group.Recordings) do
local route =
recorder.CreateWaypointGui(recording.name, context.MapAnchor:PointToWorldSpace(recording.displayPosition), true)
route.Recording = recording
route.Marker = marker
recorder.Routes[#recorder.Routes + 1] = route
end
end
end
function RivalsRuntimeBridge.MovementRecorder.UpdateWaypoints()
local recorder = RivalsRuntimeBridge.MovementRecorder
for _, marker in ipairs(recorder.Markers) do
marker.Gui.Enabled = false
end
for _, route in ipairs(recorder.Routes) do
route.Gui.Enabled = false
end
if not recorder.ReadToggle('P10S4T1') then
recorder.SelectedRecording = nil
return
end
local context = recorder.ResolveMapContext()
if not context then
recorder.SelectedRecording = nil
return
end
if
recorder.WaypointDirty
or recorder.WaypointMapName ~= context.MapName
or recorder.WaypointMapModel ~= context.MapModel
or recorder.WaypointAnchor ~= context.MapAnchor
then
recorder.RebuildWaypoints(context)
end
local hideUi = recorder.ReadToggle('P10S4T2')
if recorder.ActivatedRecording then
recorder.SelectedRecording = recorder.ActivatedRecording
if not hideUi then
for _, route in ipairs(recorder.Routes) do
if route.Recording == recorder.ActivatedRecording then
route.Label.TextColor3 = Color3.new(0, 1, 0)
route.Gui.Enabled = true
break
end
end
end
return
end
local nearest, nearestDistance = nil, math.huge
for _, marker in ipairs(recorder.Markers) do
local distance = (marker.Position - context.RootPart.Position).Magnitude
if distance < recorder.ReadNumber('P10S4S1', 3) and distance < nearestDistance then
nearest, nearestDistance = marker, distance
end
end
if nearest then
local camera = Workspace.CurrentCamera
local bestDistance = math.huge
recorder.SelectedRecording = nil
for _, route in ipairs(recorder.Routes) do
if route.Marker == nearest then
route.Fulfillable = recorder.LoadoutFulfilled(route.Recording)
local point, visible = camera and camera:WorldToViewportPoint(route.Position) or nil, false
if point then visible = point.Z >= 0 end
if route.Fulfillable and visible then
local screenDistance = (Vector2.new(point.X, point.Y) - camera.ViewportSize / 2).Magnitude
if screenDistance < bestDistance then
bestDistance = screenDistance
recorder.SelectedRecording = route.Recording
end
end
end
end
for _, route in ipairs(recorder.Routes) do
if route.Marker == nearest then
route.Label.TextColor3 = not route.Fulfillable and Color3.new(1, 0, 0)
or route.Recording == recorder.SelectedRecording and Color3.new(1, 1, 0)
or Color3.new(1, 1, 1)
route.Gui.Enabled = not hideUi
end
end
return
end
recorder.SelectedRecording = nil
if not hideUi then
local renderDistance = recorder.ReadNumber('P10S4S2', 50)
for _, marker in ipairs(recorder.Markers) do
local distance = (marker.Position - context.RootPart.Position).Magnitude
if distance < renderDistance then
marker.Label.Text = string.format(
'%s %.0fm',
#marker.Recordings == 1 and '1 recording' or tostring(#marker.Recordings) .. ' recordings',
distance
)
marker.Gui.Enabled = true
end
end
end
end
function RivalsRuntimeBridge.MovementRecorder.Begin(kind)
local recorder = RivalsRuntimeBridge.MovementRecorder
if not recorder.ReadToggle('P10S4T1') then
recorder.SetToggle(kind == 'Record' and 'P10S4T4' or 'P10S4T5', false)
return false
end
if recorder.IsRoundActive() then
return kind == 'Record' and recorder.StartRecording() or recorder.StartReplay(recorder.SelectedRecording)
end
if not recorder.ResolveMapContext() then
recorder.Notify('You need to be in a match')
recorder.SetToggle(kind == 'Record' and 'P10S4T4' or 'P10S4T5', false)
return false
end
recorder.PendingKind = kind
recorder.Notify(kind .. ' will start when the round begins')
return true
end
function RivalsRuntimeBridge.MovementRecorder.OnRecordToggled(value)
local recorder = RivalsRuntimeBridge.MovementRecorder
if value then
if recorder.Mode ~= 'Idle' or recorder.PendingKind then
recorder.Notify(
(recorder.Mode == 'Playing' or recorder.Mode == 'Aligning') and "Can't record while replaying"
or 'Already recording'
)
recorder.SetToggle('P10S4T4', false)
return
end
if not recorder.Begin('Record') then recorder.SetToggle('P10S4T4', false) end
else
if recorder.PendingKind == 'Record' then recorder.PendingKind = nil end
recorder.StopRecording(true, true)
end
end
function RivalsRuntimeBridge.MovementRecorder.OnReplayToggled(value)
local recorder = RivalsRuntimeBridge.MovementRecorder
if value then
if recorder.Mode ~= 'Idle' or recorder.PendingKind then
recorder.Notify(recorder.Mode == 'Recording' and "Can't replay while recording" or 'Already replaying')
recorder.SetToggle('P10S4T5', false)
return
end
if not recorder.SelectedRecording then
recorder.Notify('Stand near a recording marker first')
recorder.SetToggle('P10S4T5', false)
return
end
if not recorder.Begin('Replay') then recorder.SetToggle('P10S4T5', false) end
else
if recorder.PendingKind == 'Replay' then recorder.PendingKind = nil end
recorder.StopReplay('Stopped', true)
end
end
function RivalsRuntimeBridge.MovementRecorder.OnEnabledToggled(value)
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.LoadPersistence()
recorder.WaypointDirty = true
if value then return end
recorder.PendingKind = nil
recorder.StopRecording(false, false)
recorder.StopReplay('Stopped', false)
recorder.SetToggle('P10S4T4', false)
recorder.SetToggle('P10S4T5', false)
recorder.DestroyWaypoints()
end
function RivalsRuntimeBridge.MovementRecorder.HandleReplicate(_, objectId, enumToken, ...)
local recorder = RivalsRuntimeBridge.MovementRecorder
if enumToken ~= recorder.RoundToken then return end
local fighter = ResolveLocalFighter()
local data = type(fighter) == 'table' and rawget(fighter, 'Data') or nil
if type(data) == 'table' and rawget(data, 'ObjectID') ~= objectId then return end
local status = ...
recorder.RoundActive = status == 'RoundStarted'
end
function RivalsRuntimeBridge.MovementRecorder.BindRoundSignal()
local recorder = RivalsRuntimeBridge.MovementRecorder
if recorder.RoundBindingPending or not Connections then return end
recorder.RoundBindingPending = true
recorder.RoundBindingGeneration = recorder.RoundBindingGeneration + 1
local generation = recorder.RoundBindingGeneration
BeginReplicatedStateBoot()
task.spawn(GuardRivalsCallback('MovementRecorder_BindRound', function()
local deadline = tick() + 30
while generation == recorder.RoundBindingGeneration and not ReplicatedStateReady and tick() < deadline do
task.wait(0.1)
end
local enumLibrary = ResolveEnumLibrary()
local tokenOk, token = false, nil
if enumLibrary and enumLibrary._enum_builder_complete == true and type(enumLibrary.ToEnum) == 'function' then
tokenOk, token = pcall(enumLibrary.ToEnum, enumLibrary, 'Status')
end
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local replication = remotes and remotes:FindFirstChild('Replication')
local fighter = replication and replication:FindFirstChild('Fighter')
local replicate = fighter and fighter:FindFirstChild('Replicate')
if
generation == recorder.RoundBindingGeneration
and tokenOk
and type(token) == 'string'
and replicate
and replicate:IsA('RemoteEvent')
then
recorder.RoundToken = token
Connections:disconnect({ 'MovementRecorder_RoundReplicate' })
Connections:register(
'MovementRecorder_RoundReplicate',
replicate.OnClientEvent:Connect(
GuardRivalsCallback('MovementRecorder_RoundReplicate', recorder.HandleReplicate)
)
)
end
recorder.RoundBindingPending = false
end))
end
function RivalsRuntimeBridge.MovementRecorder.Update(deltaTime)
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.LoadPersistence()
if not recorder.ReadToggle('P10S4T1') then return end
local context = recorder.ResolveMapContext()
local activeCharacter = recorder.Recording and recorder.Recording.Character
or recorder.Replay and recorder.Replay.Character
or nil
if activeCharacter and (not context or context.Character ~= activeCharacter) then
recorder.StopRecording(false, false)
recorder.StopReplay('Stopped', false)
recorder.SetToggle('P10S4T4', false)
recorder.SetToggle('P10S4T5', false)
return
end
if recorder.PendingKind and recorder.IsRoundActive() then
local kind = recorder.PendingKind
recorder.PendingKind = nil
local started = kind == 'Record' and recorder.StartRecording() or recorder.StartReplay(recorder.SelectedRecording)
if not started then recorder.SetToggle(kind == 'Record' and 'P10S4T4' or 'P10S4T5', false) end
end
if recorder.Mode == 'Recording' then
recorder.SampleRecording()
elseif recorder.Mode == 'Aligning' then
recorder.StepAlign(math.clamp(tonumber(deltaTime) or 0, 0, 0.1))
elseif recorder.Mode == 'Playing' then
recorder.StepPlaying(math.clamp(tonumber(deltaTime) or 0, 0, 0.1))
end
end
function RivalsRuntimeBridge.MovementRecorder.UpdateRender(deltaTime)
local recorder = RivalsRuntimeBridge.MovementRecorder
if not recorder.ReadToggle('P10S4T1') then return end
recorder.UpdateReplayCamera(math.clamp(tonumber(deltaTime) or 0, 0, 0.1))
recorder.UpdateWaypoints()
end
function RivalsRuntimeBridge.MovementRecorder.IsCameraClaimed()
local recorder = RivalsRuntimeBridge.MovementRecorder
if AimbotInputState.FreecamActive then return true end
return recorder.Replay ~= nil and (recorder.Mode == 'Aligning' or recorder.Mode == 'Playing')
end
function RivalsRuntimeBridge.MovementRecorder.Destroy()
local recorder = RivalsRuntimeBridge.MovementRecorder
recorder.RoundBindingGeneration = recorder.RoundBindingGeneration + 1
recorder.RoundBindingPending = false
if Connections then Connections:disconnect({ 'MovementRecorder_RoundReplicate' }) end
recorder.PendingKind = nil
recorder.StopRecording(false, false)
recorder.StopReplay('Stopped', false)
recorder.DisconnectRecordingInputs()
recorder.DestroyWaypoints()
recorder.RoundActive = nil
recorder.RoundToken = nil
recorder.PlayerControls = nil
recorder.InputLibrary = nil
recorder.MechanicsController = nil
recorder.Mode = 'Idle'
end
-- ======================================================================
-- Hit / kill feedback and bullet tracers
-- ======================================================================
RivalsRuntimeBridge.CombatFeedback = {
BindingPending = false,
BindingConnected = false,
BindingGeneration = 0,
EnumTokens = {},
Chams = {},
Tracers = {},
FlashGui = nil,
FlashFrame = nil,
LastHitNotifyAt = 0,
MaxTracers = 128,
CustomSoundsLoaded = false,
CustomSounds = {},
BuiltInSounds = {
{ name = 'Bell (Skeet)', soundId = 'rbxassetid://83717596220569' },
{ name = 'Bell (Skeet Loud)', soundId = 'rbxassetid://140247876667835' },
{ name = 'Neverlose', soundId = 'rbxassetid://139452805868562' },
{ name = 'Hitmarker (CoD)', soundId = 'rbxassetid://160432334' },
{ name = 'Hitmarker (MLG)', soundId = 'rbxassetid://121351852050830' },
{ name = 'Headshot (CS2)', soundId = 'rbxassetid://133002449941130' },
{ name = 'Headshot (Rust)', soundId = 'rbxassetid://128633263668964' },
{ name = 'Headshot Announcer', soundId = 'rbxassetid://127613993360820' },
{ name = 'TF2', soundId = 'rbxassetid://3455144981' },
{ name = 'TF2 Crit', soundId = 'rbxassetid://8255306220' },
{ name = 'Minecraft', soundId = 'rbxassetid://101908484385575' },
{ name = 'Minecraft XP', soundId = 'rbxassetid://6647877129' },
{ name = 'osu!', soundId = 'rbxassetid://7149964817' },
{ name = 'Bell Ding', soundId = 'rbxassetid://124010691633262' },
{ name = 'Bubble Pop', soundId = 'rbxassetid://119697580657161' },
{ name = 'Typewriter', soundId = 'rbxassetid://9120300236' },
{ name = 'Laser', soundId = 'rbxassetid://8561505457' },
{ name = 'Punch', soundId = 'rbxassetid://138087186' },
{ name = 'Roblox Oof', soundId = 'rbxassetid://5943191430' },
{ name = 'Bonk', soundId = 'rbxassetid://132937320140224' },
{ name = 'Among Us', soundId = 'rbxassetid://7227567562' },
{ name = 'Ka-Ching', soundId = 'rbxassetid://7112275565' },
{ name = 'Fatality', soundId = 'rbxassetid://158012252' },
{ name = 'Emotional Damage', soundId = 'rbxassetid://8909407664' },
{ name = 'AR2 Head', soundId = 'rbxassetid://2062016772' },
{ name = 'AR2 Body', soundId = 'rbxassetid://2062015952' },
{ name = 'AR2 Limb', soundId = 'rbxassetid://6659353525' },
{ name = 'BB HitM', soundId = 'rbxassetid://4645745735' },
{ name = 'BB Kill', soundId = 'rbxassetid://2636743632' },
{ name = 'PD Head', soundId = 'rbxassetid://4585351098' },
{ name = 'PD Body', soundId = 'rbxassetid://4585364605' },
{ name = 'Neverlose (alt)', soundId = 'rbxassetid://6607204501' },
{ name = 'Gamesense', soundId = 'rbxassetid://4817809188' },
{ name = 'Baimware', soundId = 'rbxassetid://3124331820' },
{ name = 'Steve', soundId = 'rbxassetid://4965083997' },
{ name = 'Body', soundId = 'rbxassetid://3213738472' },
{ name = 'Ding', soundId = 'rbxassetid://7149516994' },
{ name = 'Mario', soundId = 'rbxassetid://2815207981' },
{ name = 'Mario 2', soundId = 'rbxassetid://5709456554' },
{ name = 'Minecraft (alt)', soundId = 'rbxassetid://4018616850' },
{ name = 'Among Us (alt)', soundId = 'rbxassetid://5700183626' },
{ name = 'Button', soundId = 'rbxassetid://12221967' },
{ name = 'Oof', soundId = 'rbxassetid://4792539171' },
{ name = 'Sparkle', soundId = 'rbxassetid://132463144859699' },
{ name = 'Osu', soundId = 'rbxassetid://7149919358' },
{ name = 'Osu Combobreak', soundId = 'rbxassetid://3547118594' },
{ name = 'Bambi', soundId = 'rbxassetid://8437203821' },
{ name = 'Click', soundId = 'rbxassetid://8053704437' },
{ name = 'Snow', soundId = 'rbxassetid://6455527632' },
{ name = 'Stone', soundId = 'rbxassetid://3581383408' },
{ name = 'Rust', soundId = 'rbxassetid://5043539486' },
{ name = 'Splat', soundId = 'rbxassetid://12222152' },
{ name = 'Bell', soundId = 'rbxassetid://6534947240' },
{ name = 'Slime', soundId = 'rbxassetid://6916371803' },
{ name = 'Saber', soundId = 'rbxassetid://8415678813' },
{ name = 'Bat', soundId = 'rbxassetid://3333907347' },
{ name = 'Bubble', soundId = 'rbxassetid://6534947588' },
{ name = 'Pick', soundId = 'rbxassetid://1347140027' },
{ name = 'Pop', soundId = 'rbxassetid://18803667669' },
{ name = 'EmptyGun', soundId = 'rbxassetid://203691822' },
{ name = 'Bamboo', soundId = 'rbxassetid://3769434519' },
{ name = 'Stomp', soundId = 'rbxassetid://200632875' },
{ name = 'Bag', soundId = 'rbxassetid://364942410' },
{ name = 'Hitmarker', soundId = 'rbxassetid://1129547534' },
{ name = 'LaserSlash', soundId = 'rbxassetid://199145497' },
{ name = 'RailGunF', soundId = 'rbxassetid://199145534' },
{ name = 'Bruh', soundId = 'rbxassetid://4275842574' },
{ name = 'Crit', soundId = 'rbxassetid://296102734' },
{ name = 'Bonk (alt)', soundId = 'rbxassetid://3765689841' },
{ name = 'Clink', soundId = 'rbxassetid://711751971' },
{ name = 'Lazer Beam', soundId = 'rbxassetid://130791043' },
{ name = 'Windows', soundId = 'rbxassetid://9066167010' },
{ name = 'HL Med Kit', soundId = 'rbxassetid://4720445506' },
{ name = 'HL Door', soundId = 'rbxassetid://4996094887' },
{ name = 'HL Crowbar', soundId = 'rbxassetid://546410481' },
{ name = 'HL Revolver', soundId = 'rbxassetid://1678424590' },
{ name = 'HL Elevator', soundId = 'rbxassetid://237877850' },
{ name = 'TF2 Squasher', soundId = 'rbxassetid://3466981613' },
{ name = 'TF2 Retro', soundId = 'rbxassetid://3466984142' },
{ name = 'TF2 Space', soundId = 'rbxassetid://3466982899' },
{ name = 'TF2 Vortex', soundId = 'rbxassetid://3466980212' },
{ name = 'TF2 Beepo', soundId = 'rbxassetid://3466987025' },
{ name = 'TF2 Pow', soundId = 'rbxassetid://679798995' },
{ name = 'TF2 You Suck', soundId = 'rbxassetid://1058417264' },
{ name = 'Quake Hitsound', soundId = 'rbxassetid://4868633804' },
{ name = 'Fart', soundId = 'rbxassetid://131314452' },
{ name = 'Fart2', soundId = 'rbxassetid://6367774932' },
{ name = 'FortniteGuns', soundId = 'rbxassetid://3008769599' },
{ name = 'Crickets', soundId = 'rbxassetid://2101148' },
{ name = 'ScreamingKid', soundId = 'rbxassetid://5980352978' },
{ name = 'BitchBot Body', soundId = 'rbxassetid://3744371342' },
{ name = 'Minecraft Experience', soundId = 'rbxassetid://1053296915' },
{ name = 'BameWare', soundId = 'rbxassetid://7898991882' },
{ name = 'Fatality (alt)', soundId = 'rbxassetid://7347423703' },
{ name = 'Fatality MKX', soundId = 'rbxassetid://6721975770' },
{ name = 'Doublekill 1', soundId = 'rbxassetid://1950547222' },
{ name = 'Doublekill 2', soundId = 'rbxassetid://130819307' },
{ name = 'Killing Spree 1', soundId = 'rbxassetid://723054723' },
{ name = 'Killing Spree 2', soundId = 'rbxassetid://937898383' },
{ name = 'Sit Dog', soundId = 'rbxassetid://7349055654' },
{ name = 'Csgo', soundId = 'rbxassetid://5764885315' },
{ name = 'Bop', soundId = 'rbxassetid://8829676038' },
{ name = 'Grenade Hit', soundId = 'rbxassetid://5684745272' },
{ name = 'KillTrocity', soundId = 'rbxassetid://6818544945' },
{ name = 'Double Kill', soundId = 'rbxassetid://6818527307' },
{ name = 'Triple kill', soundId = 'rbxassetid://6818526855' },
{ name = 'Over Kill', soundId = 'rbxassetid://6818526995' },
{ name = 'Kill Tacular', soundId = 'rbxassetid://6818527070' },
{ name = 'Kill Imanjaro', soundId = 'rbxassetid://6818527258' },
{ name = 'Kill Tastrophe', soundId = 'rbxassetid://6818526916' },
{ name = 'Kill Pocalypse', soundId = 'rbxassetid://6818527144' },
{ name = 'Kill Ionaire', soundId = 'rbxassetid://6818527200' },
{ name = 'Killing Spree', soundId = 'rbxassetid://6822465178' },
{ name = 'Killing Frenzy', soundId = 'rbxassetid://6822465319' },
{ name = 'Carrier Kill', soundId = 'rbxassetid://7139067012' },
{ name = 'Clutch Kill', soundId = 'rbxassetid://7379106527' },
{ name = 'Taco Bell', soundId = 'rbxassetid://5689199277' },
{ name = 'Kombat', soundId = 'rbxassetid://8527433497' },
{ name = 'Headshot', soundId = 'rbxassetid://8418469749' },
{ name = 'Elevator', soundId = 'rbxassetid://8322227967' },
},
SoundAssetCache = {},
SoundDropdownOptionIds = {
'P1S15D1',
'P1S15D2',
'P1S16D1',
'P1S17D1',
},
CustomSoundsPath = 'ZkxHub/RIVALS Custom Sounds.json',
CustomSoundsCacheFolder = 'ZkxHub/RIVALS Sounds',
MaterialMap = {
Ghost = Enum.Material.ForceField,
Flat = Enum.Material.Neon,
Foil = Enum.Material.Foil,
Custom = Enum.Material.SmoothPlastic,
Reflective = Enum.Material.Glass,
},
MaterialNames = { 'Ghost', 'Flat', 'Foil', 'Custom', 'Reflective' },
TracerStyleNames = { 'Plain', 'Beam', 'Lightning', 'Trail', 'Zigzag', 'Heartrate', 'Chain', 'Glitch', 'Swirl' },
TracerStyles = {
Plain = '',
Beam = 'rbxassetid://12781852245',
Lightning = 'rbxassetid://446111271',
Trail = 'rbxassetid://6419989824',
Zigzag = 'rbxassetid://1274380363',
Heartrate = 'rbxassetid://5830549480',
Chain = 'rbxassetid://9632168658',
Glitch = 'rbxassetid://8089467613',
Swirl = 'rbxassetid://5638168605',
},
}
function RivalsRuntimeBridge.CombatFeedback.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.CombatFeedback.ReadOption(optionId, fallback)
local option = Options and Options[optionId]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
function RivalsRuntimeBridge.CombatFeedback.IsEnabled()
local feedback = RivalsRuntimeBridge.CombatFeedback
return feedback.ReadToggle('P1S15T1')
or feedback.ReadToggle('P1S16T1')
or feedback.ReadToggle('P1S18T1')
or feedback.HitLogWanted()
end
function RivalsRuntimeBridge.CombatFeedback.HitLogWanted()
local hitLog = RivalsRuntimeBridge.HitLog
return hitLog ~= nil and hitLog.Wanted()
end
function RivalsRuntimeBridge.CombatFeedback.Trim(value)
if type(value) ~= 'string' then return '' end
return value:match('^%s*(.-)%s*$') or ''
end
function RivalsRuntimeBridge.CombatFeedback.NormalizeSoundSource(value)
local feedback = RivalsRuntimeBridge.CombatFeedback
local source = feedback.Trim(value)
if source == '' then return nil end
if source:match('^%d+$') then return 'rbxassetid://' .. source end
return source
end
function RivalsRuntimeBridge.CombatFeedback.EnsureCustomSoundsLoaded()
local feedback = RivalsRuntimeBridge.CombatFeedback
if feedback.CustomSoundsLoaded then return end
feedback.CustomSoundsLoaded = true
feedback.CustomSounds = {}
if type(isfile) ~= 'function' or not isfile(feedback.CustomSoundsPath) then return end
local ok, decoded = pcall(
function() return game:GetService('HttpService'):JSONDecode(readfile(feedback.CustomSoundsPath)) end
)
local records = ok and type(decoded) == 'table' and (decoded.sounds or decoded) or nil
if type(records) ~= 'table' then return end
local seen = {}
for _, record in ipairs(records) do
if type(record) == 'table' then
local name = feedback.Trim(record.name)
local source = feedback.NormalizeSoundSource(record.soundId or record.source)
if name ~= '' and source and not seen[name] then
seen[name] = true
table.insert(feedback.CustomSounds, {
name = name,
soundId = source,
})
end
end
end
table.sort(feedback.CustomSounds, function(left, right) return left.name < right.name end)
end
function RivalsRuntimeBridge.CombatFeedback.SaveCustomSounds()
local feedback = RivalsRuntimeBridge.CombatFeedback
if type(writefile) ~= 'function' then return false end
local ok = pcall(function()
if type(makefolder) == 'function' and type(isfolder) == 'function' and not isfolder('ZkxHub') then
makefolder('ZkxHub')
end
writefile(
feedback.CustomSoundsPath,
game:GetService('HttpService'):JSONEncode({
version = 1,
sounds = feedback.CustomSounds,
})
)
end)
return ok
end
function RivalsRuntimeBridge.CombatFeedback.ResolveUserSoundNames()
local feedback = RivalsRuntimeBridge.CombatFeedback
feedback.EnsureCustomSoundsLoaded()
local names = {}
for _, record in ipairs(feedback.CustomSounds) do
table.insert(names, record.name)
end
return names
end
function RivalsRuntimeBridge.CombatFeedback.ResolveCustomSoundNames()
local feedback = RivalsRuntimeBridge.CombatFeedback
local userNames = feedback.ResolveUserSoundNames()
local seen = {}
for _, name in ipairs(userNames) do
seen[name] = true
end
local names = {}
for _, record in ipairs(feedback.BuiltInSounds) do
if not seen[record.name] then table.insert(names, record.name) end
end
for _, name in ipairs(userNames) do
table.insert(names, name)
end
return names
end
function RivalsRuntimeBridge.CombatFeedback.RefreshCustomSoundDropdowns()
local feedback = RivalsRuntimeBridge.CombatFeedback
local names = feedback.ResolveCustomSoundNames()
for _, optionId in ipairs(feedback.SoundDropdownOptionIds) do
local option = Options and Options[optionId]
if option and type(option.SetValues) == 'function' then
option:SetValues(optionId == 'P1S17D1' and feedback.ResolveUserSoundNames() or names)
end
end
end
function RivalsRuntimeBridge.CombatFeedback.AddCustomSound(nameValue, sourceValue)
local feedback = RivalsRuntimeBridge.CombatFeedback
feedback.EnsureCustomSoundsLoaded()
local name = feedback.Trim(nameValue)
local source = feedback.NormalizeSoundSource(sourceValue)
if name == '' or not source then return false end
for _, record in ipairs(feedback.CustomSounds) do
if record.name == name then return false end
end
for _, record in ipairs(feedback.BuiltInSounds) do
if record.name == name then return false end
end
local previous = table.clone(feedback.CustomSounds)
table.insert(feedback.CustomSounds, { name = name, soundId = source })
table.sort(feedback.CustomSounds, function(left, right) return left.name < right.name end)
if not feedback.SaveCustomSounds() then
feedback.CustomSounds = previous
return false
end
feedback.RefreshCustomSoundDropdowns()
return true
end
function RivalsRuntimeBridge.CombatFeedback.RemoveCustomSound(nameValue)
local feedback = RivalsRuntimeBridge.CombatFeedback
feedback.EnsureCustomSoundsLoaded()
local name = feedback.Trim(nameValue)
if name == '' then return false end
local index = nil
for recordIndex, record in ipairs(feedback.CustomSounds) do
if record.name == name then
index = recordIndex
break
end
end
if not index then return false end
local previous = table.clone(feedback.CustomSounds)
table.remove(feedback.CustomSounds, index)
if not feedback.SaveCustomSounds() then
feedback.CustomSounds = previous
return false
end
feedback.SoundAssetCache[name] = nil
for _, optionId in ipairs({ 'P1S15D1', 'P1S15D2', 'P1S16D1' }) do
local option = Options and Options[optionId]
if option and option.Value == name and type(option.SetValue) == 'function' then option:SetValue(nil) end
end
feedback.RefreshCustomSoundDropdowns()
return true
end
function RivalsRuntimeBridge.CombatFeedback.ResolveCustomSoundSource(name)
local feedback = RivalsRuntimeBridge.CombatFeedback
feedback.EnsureCustomSoundsLoaded()
for _, record in ipairs(feedback.CustomSounds) do
if record.name == name then return record.soundId end
end
for _, record in ipairs(feedback.BuiltInSounds) do
if record.name == name then return record.soundId end
end
return nil
end
function RivalsRuntimeBridge.CombatFeedback.HashSoundUrl(url)
local hash = 5381
for index = 1, #url do
hash = (hash * 33 + string.byte(url, index)) % 2147483647
end
return tostring(hash)
end
function RivalsRuntimeBridge.CombatFeedback.ResolveSoundAsset(name)
local feedback = RivalsRuntimeBridge.CombatFeedback
if type(name) ~= 'string' or name == '' then return nil end
local cached = feedback.SoundAssetCache[name]
if cached ~= nil then return cached or nil end
local source = feedback.ResolveCustomSoundSource(name)
if not source then
feedback.SoundAssetCache[name] = false
return nil
end
if source:match('^rbxassetid://') or source:match('^rbxasset://') then
feedback.SoundAssetCache[name] = source
return source
end
local customAsset = type(getcustomasset) == 'function' and getcustomasset
or (type(getsynasset) == 'function' and getsynasset or nil)
if source:match('^https?://') then
if type(writefile) ~= 'function' or type(customAsset) ~= 'function' then
feedback.SoundAssetCache[name] = false
return nil
end
local extension = source:match('(%.[%w]+)[%?#]') or source:match('(%.[%w]+)$') or '.mp3'
extension = extension:lower()
if extension ~= '.mp3' and extension ~= '.ogg' and extension ~= '.wav' then extension = '.mp3' end
local cachePath = string.format('%s/%s%s', feedback.CustomSoundsCacheFolder, feedback.HashSoundUrl(source), extension)
local ok = pcall(function()
if type(makefolder) == 'function' and type(isfolder) == 'function' then
if not isfolder('ZkxHub') then makefolder('ZkxHub') end
if not isfolder(feedback.CustomSoundsCacheFolder) then makefolder(feedback.CustomSoundsCacheFolder) end
end
if type(isfile) ~= 'function' or not isfile(cachePath) then
local requestFunction = type(request) == 'function' and request
or (type(http_request) == 'function' and http_request or nil)
local body = nil
if requestFunction then
local response = requestFunction({ Url = source, Method = 'GET' })
local status = tonumber(response and (response.StatusCode or response.Status)) or 0
if status < 200 or status >= 300 then error('download failed') end
body = response.Body
else
body = game:HttpGet(source)
end
if type(body) ~= 'string' or body == '' then error('empty download') end
writefile(cachePath, body)
end
end)
if ok then
local assetOk, asset = pcall(customAsset, cachePath)
if assetOk and type(asset) == 'string' and asset ~= '' then
feedback.SoundAssetCache[name] = asset
return asset
end
end
feedback.SoundAssetCache[name] = false
return nil
end
if type(customAsset) == 'function' and type(isfile) == 'function' and isfile(source) then
local ok, asset = pcall(customAsset, source)
if ok and type(asset) == 'string' and asset ~= '' then
feedback.SoundAssetCache[name] = asset
return asset
end
end
feedback.SoundAssetCache[name] = false
return nil
end
function RivalsRuntimeBridge.CombatFeedback.PlaySound(name, volume, pitch)
local feedback = RivalsRuntimeBridge.CombatFeedback
local asset = feedback.ResolveSoundAsset(name)
if not asset then return end
local sound = Instance.new('Sound')
sound.Name = 'ZkxHubCombatFeedback'
sound.SoundId = asset
sound.Volume = math.max(0, tonumber(volume) or 1)
sound.PlaybackSpeed = math.max(0.01, tonumber(pitch) or 1)
sound.Parent = game:GetService('SoundService')
game:GetService('Debris'):AddItem(sound, 20)
sound:Play()
end
function RivalsRuntimeBridge.CombatFeedback.CreateChams(character, color, transparency, duration, materialName)
local feedback = RivalsRuntimeBridge.CombatFeedback
if typeof(character) ~= 'Instance' or not character:IsA('Model') then return end
local model = Instance.new('Model')
model.Name = 'ZkxHubCombatFeedbackChams'
local parts = {}
local material = feedback.MaterialMap[materialName] or Enum.Material.ForceField
local baseTransparency = math.clamp(tonumber(transparency) or 0, 0, 1)
for _, part in ipairs(character:GetDescendants()) do
if part:IsA('BasePart') and part.Name ~= 'HumanoidRootPart' and part.Transparency < 1 then
local ok, ghost = pcall(function() return part:Clone() end)
if not ok or not ghost or not ghost:IsA('BasePart') then
ghost = Instance.new('Part')
ghost.Size = part.Size
ghost.Shape = part:IsA('Part') and part.Shape or Enum.PartType.Block
end
for _, descendant in ipairs(ghost:GetDescendants()) do
if not descendant:IsA('DataModelMesh') then descendant:Destroy() end
end
ghost.Name = part.Name
ghost.Anchored = true
ghost.CanCollide = false
ghost.CanQuery = false
ghost.CanTouch = false
ghost.CastShadow = false
ghost.Color = typeof(color) == 'Color3' and color or Color3.fromRGB(255, 0, 0)
ghost.Material = material
ghost.Transparency = baseTransparency
ghost.CFrame = part.CFrame
pcall(function() ghost.MaterialVariant = '' end)
ghost.Parent = model
table.insert(parts, { Source = part, Ghost = ghost })
end
end
if #parts == 0 then
model:Destroy()
return
end
model.Parent = Workspace
table.insert(feedback.Chams, {
Model = model,
Parts = parts,
StartedAt = tick(),
Duration = math.max(0.05, tonumber(duration) or 0.8),
Transparency = baseTransparency,
})
end
function RivalsRuntimeBridge.CombatFeedback.ResolveItemByObjectId(objectId)
local function findIn(fighter)
if type(fighter) ~= 'table' then return nil end
for _, item in pairs(rawget(fighter, 'Items') or {}) do
local data = type(item) == 'table' and rawget(item, 'Data') or nil
local itemObjectId = type(data) == 'table' and rawget(data, 'ObjectID') or nil
if (itemObjectId or ReadItemValue(item, 'ObjectID')) == objectId then return item end
end
return nil
end
local item = findIn(ResolveLocalFighter())
if item then return item end
local fighterController = ResolveFighterController()
for _, fighter in pairs(fighterController and rawget(fighterController, 'Objects') or {}) do
item = findIn(fighter)
if item then return item end
end
return nil
end
function RivalsRuntimeBridge.CombatFeedback.ResolveTracerSpringClass()
local feedback = RivalsRuntimeBridge.CombatFeedback
if feedback.TracerSpringClass ~= nil then return feedback.TracerSpringClass or nil end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local springModule = modules and modules:FindFirstChild('Spring')
local ok, springClass = false, nil
if springModule then
ok, springClass = pcall(require, springModule)
end
feedback.TracerSpringClass = ok and type(springClass) == 'table' and springClass or false
return feedback.TracerSpringClass or nil
end
function RivalsRuntimeBridge.CombatFeedback.CreateTracer(startPosition, finishPosition)
local feedback = RivalsRuntimeBridge.CombatFeedback
if typeof(startPosition) ~= 'Vector3' or typeof(finishPosition) ~= 'Vector3' then return end
local springClass = feedback.ResolveTracerSpringClass()
if not springClass or type(springClass.new) ~= 'function' then return end
while #feedback.Tracers >= feedback.MaxTracers do
local oldest = table.remove(feedback.Tracers, 1)
if oldest then
pcall(function()
oldest.Beam:Destroy()
oldest.Near:Destroy()
oldest.Far:Destroy()
end)
end
end
local near = Instance.new('Attachment')
near.Position = startPosition
near.Parent = Workspace.Terrain
local far = Instance.new('Attachment')
far.Position = startPosition
far.Parent = Workspace.Terrain
local beam = Instance.new('Beam')
beam.Name = 'ZkxHubBulletTracer'
beam.Attachment0 = near
beam.Attachment1 = far
beam.Color = ColorSequence.new(feedback.ReadOption('P1S18C1', Color3.fromRGB(120, 220, 255)))
beam.Width0 = feedback.ReadOption('P1S18S1', 0.06)
beam.Width1 = beam.Width0
beam.FaceCamera = true
beam.LightEmission = feedback.ReadOption('P1S18S4', 1)
beam.LightInfluence = 0
local glow = math.clamp(feedback.ReadOption('P1S18S5', 1), 1, 25)
beam.Brightness = 10000 ^ ((glow - 1) / 24)
beam.Transparency = NumberSequence.new(0)
local style = feedback.ReadOption('P1S18D1', 'Beam')
local texture = feedback.TracerStyles[style] or ''
if texture ~= '' then
beam.Texture = texture
beam.TextureLength = feedback.ReadOption('P1S18S2', 4)
beam.TextureSpeed = feedback.ReadOption('P1S18S3', 1)
end
beam.Parent = Workspace.Terrain
local spring = springClass.new(0)
spring.Speed = feedback.ReadOption('P1S18S8', 18)
spring.Damper = feedback.ReadOption('P1S18S9', 0.7)
spring.Target = 1
local expand = feedback.ReadToggle('P1S18T2')
if not expand then
spring.Position = 1
far.Position = finishPosition
end
table.insert(feedback.Tracers, {
Beam = beam,
Near = near,
Far = far,
Spring = spring,
Start = startPosition,
Finish = finishPosition,
CreatedAt = tick(),
Lifetime = math.max(0.1, feedback.ReadOption('P1S18S6', 0.6)),
FadeTime = math.max(0, feedback.ReadOption('P1S18S7', 0.35)),
Expand = expand,
})
end
function RivalsRuntimeBridge.CombatFeedback.HandleShootEffect(objectId, raycastResults)
local feedback = RivalsRuntimeBridge.CombatFeedback
if not feedback.ReadToggle('P1S18T1') or type(raycastResults) ~= 'table' then return end
local item = feedback.ResolveItemByObjectId(objectId)
local viewModel = type(item) == 'table' and rawget(item, 'ViewModel') or nil
if type(viewModel) ~= 'table' or type(viewModel.GetMuzzlePosition) ~= 'function' then return end
local ok, muzzlePosition = pcall(viewModel.GetMuzzlePosition, viewModel)
local camera = Workspace.CurrentCamera
if not ok or typeof(muzzlePosition) ~= 'Vector3' or not camera then return end
local startPosition = muzzlePosition + camera.CFrame.LookVector
for _, encodedResult in pairs(raycastResults) do
local finishPosition = type(encodedResult) == 'table' and encodedResult[utf8.char(0)] or nil
if typeof(finishPosition) == 'Vector3' then feedback.CreateTracer(startPosition, finishPosition) end
end
end
function RivalsRuntimeBridge.CombatFeedback.UpdateTracers()
local feedback = RivalsRuntimeBridge.CombatFeedback
local now = tick()
local currentColor = feedback.ReadOption('P1S18C1', Color3.fromRGB(120, 220, 255))
for index = #feedback.Tracers, 1, -1 do
local tracer = feedback.Tracers[index]
local age = now - tracer.CreatedAt
local expired = age >= tracer.Lifetime + tracer.FadeTime or not tracer.Beam or tracer.Beam.Parent == nil
if expired then
pcall(function()
tracer.Beam:Destroy()
tracer.Near:Destroy()
tracer.Far:Destroy()
end)
table.remove(feedback.Tracers, index)
else
tracer.Beam.Color = ColorSequence.new(currentColor)
if tracer.Expand then
tracer.Far.Position = tracer.Start:Lerp(tracer.Finish, math.clamp(tracer.Spring.Position, 0, 1))
end
local alpha = tracer.FadeTime > 0 and math.clamp((age - tracer.Lifetime) / tracer.FadeTime, 0, 1) or 0
tracer.Beam.Transparency = NumberSequence.new(alpha)
end
end
end
function RivalsRuntimeBridge.CombatFeedback.Update()
local feedback = RivalsRuntimeBridge.CombatFeedback
feedback.UpdateTracers()
local now = tick()
for index = #feedback.Chams, 1, -1 do
local cham = feedback.Chams[index]
local progress = math.clamp((now - cham.StartedAt) / cham.Duration, 0, 1)
if progress >= 1 or not cham.Model or cham.Model.Parent == nil then
if cham.Model then pcall(function() cham.Model:Destroy() end) end
table.remove(feedback.Chams, index)
else
for partIndex = #cham.Parts, 1, -1 do
local pair = cham.Parts[partIndex]
if pair.Source and pair.Source.Parent and pair.Ghost and pair.Ghost.Parent then
pair.Ghost.CFrame = pair.Source.CFrame
pair.Ghost.Transparency = cham.Transparency + (1 - cham.Transparency) * progress
else
if pair.Ghost then pair.Ghost:Destroy() end
table.remove(cham.Parts, partIndex)
end
end
end
end
end
function RivalsRuntimeBridge.CombatFeedback.ResolveFighterObjectId(fighter)
local data = type(fighter) == 'table' and rawget(fighter, 'Data') or nil
local objectId = type(data) == 'table' and rawget(data, 'ObjectID') or nil
return objectId or ReadFighterValue(fighter, 'ObjectID')
end
function RivalsRuntimeBridge.CombatFeedback.ResolveCharacterByObjectId(objectId)
local feedback = RivalsRuntimeBridge.CombatFeedback
local controllers = {}
controllers[#controllers + 1] = ResolveFighterController()
controllers[#controllers + 1] = ResolveEnemyController()
for _, controller in ipairs(controllers) do
for _, subject in ipairs(controller.Objects or {}) do
if feedback.ResolveFighterObjectId(subject) == objectId then
local entity = type(subject) == 'table' and rawget(subject, 'Entity') or nil
local model = type(entity) == 'table' and rawget(entity, 'Model') or nil
if typeof(model) == 'Instance' and model:IsA('Model') then return model end
local player = type(subject) == 'table' and rawget(subject, 'Player') or nil
if typeof(player) == 'Instance' and player:IsA('Player') then return player.Character end
end
end
end
return nil
end
function RivalsRuntimeBridge.CombatFeedback.Flash(color, intensity, duration)
local feedback = RivalsRuntimeBridge.CombatFeedback
local frame = feedback.FlashFrame
if not frame or not frame.Parent then
local gui = Instance.new('ScreenGui')
gui.Name = 'ZkxHubFeedbackFlash'
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false
gui.DisplayOrder = 9999
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = LP:WaitForChild('PlayerGui')
frame = Instance.new('Frame')
frame.Name = 'Flash'
frame.Size = UDim2.fromScale(1, 1)
frame.BorderSizePixel = 0
frame.BackgroundTransparency = 1
frame.Active = false
frame.Parent = gui
feedback.FlashGui = gui
feedback.FlashFrame = frame
end
frame.BackgroundColor3 = typeof(color) == 'Color3' and color or Color3.new(1, 1, 1)
frame.BackgroundTransparency = 1 - math.clamp(tonumber(intensity) or 0.35, 0.02, 1)
game:GetService('TweenService')
:Create(
frame,
TweenInfo.new(math.clamp(tonumber(duration) or 0.2, 0.05, 2), Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ BackgroundTransparency = 1 }
)
:Play()
end
function RivalsRuntimeBridge.CombatFeedback.ResolveCharacterLabel(character)
local player = typeof(character) == 'Instance' and Players:GetPlayerFromCharacter(character) or nil
if player then return player.DisplayName ~= '' and player.DisplayName or player.Name end
return typeof(character) == 'Instance' and character.Name or 'player'
end
function RivalsRuntimeBridge.CombatFeedback.HandleHit(damage, partName, character)
local feedback = RivalsRuntimeBridge.CombatFeedback
if not feedback.ReadToggle('P1S15T1') then return end
if feedback.ReadToggle('PX4T1') then
local colorOption = Options and Options.PX4C1
feedback.Flash(colorOption and colorOption.Value, feedback.ReadOption('PX4S1', 0.3), feedback.ReadOption('PX4S2', 0.15))
end
if feedback.ReadToggle('PX4T2') and os.clock() - feedback.LastHitNotifyAt >= 0.2 then
feedback.LastHitNotifyAt = os.clock()
local amount = tonumber(damage)
Library:Notify({
Title = partName == 'Head' and 'Headshot' or 'Hit',
Description = RivalsRuntimeBridge.Extras.FeedbackText(
'Hit',
character,
damage,
partName,
feedback.ResolveCharacterLabel(character) .. (amount and (' -' .. math.floor(amount + 0.5)) or '')
),
Time = 1.5,
})
end
if feedback.ReadToggle('P1S15T2') then
local isHead = partName == 'Head'
local soundName = isHead and feedback.ReadOption('P1S15D1', nil) or nil
if type(soundName) ~= 'string' or soundName == '' then soundName = feedback.ReadOption('P1S15D2', nil) end
feedback.PlaySound(
soundName,
feedback.ReadOption(isHead and 'P1S15S1' or 'P1S15S3', 1),
feedback.ReadOption(isHead and 'P1S15S2' or 'P1S15S4', 1)
)
end
if feedback.ReadToggle('P1S15T4') then
local colorOption = Options and Options.P1S15C1
feedback.CreateChams(
character,
colorOption and colorOption.Value,
colorOption and colorOption.Transparency,
feedback.ReadOption('P1S15S5', 0.8),
feedback.ReadOption('P1S15D3', 'Ghost')
)
end
end
function RivalsRuntimeBridge.CombatFeedback.HandleKill(character)
local feedback = RivalsRuntimeBridge.CombatFeedback
if RivalsRuntimeBridge.HitLog and RivalsRuntimeBridge.HitLog.IsDuplicateKill(character) then return end
if RivalsRuntimeBridge.HitLog then RivalsRuntimeBridge.HitLog.OnKill(character) end
if not feedback.ReadToggle('P1S16T1') then return end
if feedback.ReadToggle('PX5T1') then
local colorOption = Options and Options.PX5C1
feedback.Flash(colorOption and colorOption.Value, feedback.ReadOption('PX5S1', 0.4), feedback.ReadOption('PX5S2', 0.3))
end
if feedback.ReadToggle('PX5T2') then
Library:Notify({
Title = 'Eliminated',
Description = RivalsRuntimeBridge.Extras.FeedbackText(
'Kill',
character,
nil,
nil,
feedback.ResolveCharacterLabel(character)
),
Time = 2.5,
})
end
if feedback.ReadToggle('P1S16T2') then
feedback.PlaySound(
feedback.ReadOption('P1S16D1', nil),
feedback.ReadOption('P1S16S1', 1),
feedback.ReadOption('P1S16S2', 1)
)
end
if feedback.ReadToggle('P1S16T3') then
local colorOption = Options and Options.P1S16C1
feedback.CreateChams(
character,
colorOption and colorOption.Value,
colorOption and colorOption.Transparency,
feedback.ReadOption('P1S16S3', 0.8),
feedback.ReadOption('P1S16D2', 'Ghost')
)
end
end
function RivalsRuntimeBridge.CombatFeedback.ResolveEffectPacket(packet)
local tokens = RivalsRuntimeBridge.CombatFeedback.EnumTokens
for index = 3, packet.n do
local value = packet[index]
local matched = nil
if type(value) == 'string' then
for name, token in pairs(tokens) do
if value == token then
matched = name
break
end
end
end
if matched then
local objectId = (index == 4) and packet[2] or packet[index - 1]
if type(objectId) == 'string' then return matched, objectId, index end
end
end
return nil
end
function RivalsRuntimeBridge.CombatFeedback.HandleReplicate(...)
local feedback = RivalsRuntimeBridge.CombatFeedback
local packet = table.pack(...)
local effectName, objectId, index = feedback.ResolveEffectPacket(packet)
if not effectName then return end
if effectName == 'ShootEffect' and (feedback.ReadToggle('P1S18T1') or feedback.HitLogWanted()) then
if feedback.HitLogWanted() then RivalsRuntimeBridge.HitLog.NoteShots(objectId, packet[index + 1]) end
feedback.HandleShootEffect(objectId, packet[index + 1])
elseif effectName == 'DamageNumberEffect' and (feedback.ReadToggle('P1S15T1') or feedback.HitLogWanted()) then
local localFighter = ResolveLocalFighter()
if not localFighter or feedback.ResolveFighterObjectId(localFighter) ~= objectId then return end
local hitPart, damage, isHead = packet[index + 1], packet[index + 2], packet[index + 3]
if typeof(hitPart) ~= 'Instance' then return end
local character = hitPart.Parent
if typeof(character) ~= 'Instance' or not character:IsA('Model') then return end
feedback.HandleHit(damage, isHead == true and 'Head' or 'Body', character)
if RivalsRuntimeBridge.HitLog then RivalsRuntimeBridge.HitLog.OnHit(hitPart, damage, isHead == true, character) end
elseif effectName == 'EliminationEffect' and (feedback.ReadToggle('P1S16T1') or feedback.HitLogWanted()) then
local localFighter = ResolveLocalFighter()
if not localFighter or feedback.ResolveFighterObjectId(localFighter) ~= objectId then return end
local eliminated = packet[index + 1]
if eliminated == LP or (LP.Character and eliminated == LP.Character) then return end
local character = nil
if typeof(eliminated) == 'Instance' then
if eliminated:IsA('Player') then
character = eliminated.Character
elseif eliminated:IsA('Model') then
character = eliminated
end
end
feedback.HandleKill(character)
elseif effectName == 'FinisherEffect' and (feedback.ReadToggle('P1S16T1') or feedback.HitLogWanted()) then
if packet[index + 3] ~= LP then return end
feedback.HandleKill(feedback.ResolveCharacterByObjectId(objectId))
end
end
function RivalsRuntimeBridge.CombatFeedback.ResolveEnumTokens()
local feedback = RivalsRuntimeBridge.CombatFeedback
local enumLibrary = ResolveEnumLibrary()
if not enumLibrary or enumLibrary._enum_builder_complete ~= true or type(enumLibrary.ToEnum) ~= 'function' then
return false
end
for _, enumName in ipairs({ 'ShootEffect', 'DamageNumberEffect', 'EliminationEffect', 'FinisherEffect' }) do
local ok, token = pcall(enumLibrary.ToEnum, enumLibrary, enumName)
if not ok or type(token) ~= 'string' then return false end
feedback.EnumTokens[enumName] = token
end
return true
end
function RivalsRuntimeBridge.CombatFeedback.RefreshBinding()
local feedback = RivalsRuntimeBridge.CombatFeedback
if not feedback.IsEnabled() then
feedback.BindingGeneration = feedback.BindingGeneration + 1
feedback.BindingPending = false
feedback.BindingConnected = false
if Connections then
Connections:disconnect({
'CombatFeedback_Replicate',
'CombatFeedback_ReplicateUnreliable',
'CombatFeedback_EnemyReplicate',
'CombatFeedback_EnemyReplicateUnreliable',
})
end
return
end
if feedback.BindingConnected or feedback.BindingPending or not Connections then return end
feedback.BindingPending = true
feedback.BindingGeneration = feedback.BindingGeneration + 1
local generation = feedback.BindingGeneration
BeginReplicatedStateBoot()
task.spawn(GuardRivalsCallback('CombatFeedback_Bind', function()
local deadline = tick() + 30
while
feedback.IsEnabled()
and feedback.BindingGeneration == generation
and not ReplicatedStateReady
and tick() < deadline
do
task.wait(0.1)
end
if
not feedback.IsEnabled()
or feedback.BindingGeneration ~= generation
or not ReplicatedStateReady
or not feedback.ResolveEnumTokens()
then
feedback.BindingPending = false
return
end
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local replication = remotes and remotes:FindFirstChild('Replication')
local fighter = replication and replication:FindFirstChild('Fighter')
local enemy = replication and replication:FindFirstChild('Enemy')
local replicate = fighter and fighter:FindFirstChild('Replicate')
local unreliable = fighter and fighter:FindFirstChild('ReplicateUnreliable')
local enemyReplicate = enemy and enemy:FindFirstChild('Replicate')
local enemyUnreliable = enemy and enemy:FindFirstChild('ReplicateUnreliable')
if not replicate and not unreliable then
feedback.BindingPending = false
return
end
Connections:disconnect({
'CombatFeedback_Replicate',
'CombatFeedback_ReplicateUnreliable',
'CombatFeedback_EnemyReplicate',
'CombatFeedback_EnemyReplicateUnreliable',
})
if replicate then
Connections:register(
'CombatFeedback_Replicate',
replicate.OnClientEvent:Connect(GuardRivalsCallback('CombatFeedback_Replicate', feedback.HandleReplicate))
)
end
if unreliable then
Connections:register(
'CombatFeedback_ReplicateUnreliable',
unreliable.OnClientEvent:Connect(
GuardRivalsCallback('CombatFeedback_ReplicateUnreliable', feedback.HandleReplicate)
)
)
end
if enemyReplicate then
Connections:register(
'CombatFeedback_EnemyReplicate',
enemyReplicate.OnClientEvent:Connect(
GuardRivalsCallback('CombatFeedback_EnemyReplicate', feedback.HandleReplicate)
)
)
end
if enemyUnreliable then
Connections:register(
'CombatFeedback_EnemyReplicateUnreliable',
enemyUnreliable.OnClientEvent:Connect(
GuardRivalsCallback('CombatFeedback_EnemyReplicateUnreliable', feedback.HandleReplicate)
)
)
end
feedback.BindingPending = false
feedback.BindingConnected = true
end))
end
function RivalsRuntimeBridge.CombatFeedback.Destroy()
local feedback = RivalsRuntimeBridge.CombatFeedback
feedback.BindingGeneration = feedback.BindingGeneration + 1
feedback.BindingPending = false
feedback.BindingConnected = false
if Connections then
Connections:disconnect({
'CombatFeedback_Replicate',
'CombatFeedback_ReplicateUnreliable',
'CombatFeedback_EnemyReplicate',
'CombatFeedback_EnemyReplicateUnreliable',
})
end
for _, cham in ipairs(feedback.Chams) do
if cham.Model then pcall(function() cham.Model:Destroy() end) end
end
feedback.Chams = {}
for _, tracer in ipairs(feedback.Tracers) do
pcall(function()
tracer.Beam:Destroy()
tracer.Near:Destroy()
tracer.Far:Destroy()
end)
end
feedback.Tracers = {}
if feedback.FlashGui then pcall(function() feedback.FlashGui:Destroy() end) end
feedback.FlashGui = nil
feedback.FlashFrame = nil
feedback.EnumTokens = {}
end
-- ======================================================================
-- Kill feed (hit log) and hit markers
-- ======================================================================
-- Fed by the game's own damage replication (CombatFeedback.HandleReplicate): only hits the local fighter lands.
-- The two big server hitboxes cover the whole body, so the body part is read from where the shot ended on the rig
-- (the ShootEffect ray end), and the hit marker sits on that same point.
do
local RunService = game:GetService('RunService')
local TweenService = game:GetService('TweenService')
local HitLog = { Lines = {}, Markers = {}, Shots = {} }
RivalsRuntimeBridge.HitLog = HitLog
local PositionNames = {
'Top Left',
'Top Center',
'Top Right',
'Center Left',
'Center Right',
'Bottom Left',
'Bottom Center',
'Bottom Right',
'Above Crosshair',
}
-- anchor, position, text alignment, vertical alignment of the stack
local PositionLayouts = {
['Top Left'] = { Vector2.new(0, 0), UDim2.new(0, 14, 0, 96), Enum.TextXAlignment.Left, Enum.VerticalAlignment.Top },
['Top Center'] = { Vector2.new(0.5, 0), UDim2.new(0.5, 0, 0, 96), Enum.TextXAlignment.Center, Enum.VerticalAlignment.Top },
['Top Right'] = { Vector2.new(1, 0), UDim2.new(1, -14, 0, 190), Enum.TextXAlignment.Right, Enum.VerticalAlignment.Top },
['Center Left'] = { Vector2.new(0, 0.5), UDim2.new(0, 14, 0.5, 0), Enum.TextXAlignment.Left, Enum.VerticalAlignment.Center },
['Center Right'] = { Vector2.new(1, 0.5), UDim2.new(1, -14, 0.5, 0), Enum.TextXAlignment.Right, Enum.VerticalAlignment.Center },
['Bottom Left'] = { Vector2.new(0, 1), UDim2.new(0, 14, 1, -120), Enum.TextXAlignment.Left, Enum.VerticalAlignment.Bottom },
['Bottom Center'] = { Vector2.new(0.5, 1), UDim2.new(0.5, 0, 1, -120), Enum.TextXAlignment.Center, Enum.VerticalAlignment.Bottom },
['Bottom Right'] = { Vector2.new(1, 1), UDim2.new(1, -14, 1, -120), Enum.TextXAlignment.Right, Enum.VerticalAlignment.Bottom },
['Above Crosshair'] = { Vector2.new(0.5, 1), UDim2.new(0.5, 0, 0.5, -80), Enum.TextXAlignment.Center, Enum.VerticalAlignment.Bottom },
}
-- R15 limb -> label; the hitbox parts that cover one zone are listed too
local PartLabels = {
Head = 'head',
HitboxHead = 'head',
HitboxHeadSmall = 'head',
PhysicalHitboxHead = 'head',
UpperTorso = 'chest',
Torso = 'chest',
LowerTorso = 'stomach',
LeftUpperArm = 'arm',
LeftLowerArm = 'arm',
RightUpperArm = 'arm',
RightLowerArm = 'arm',
['Left Arm'] = 'arm',
['Right Arm'] = 'arm',
LeftHand = 'hand',
RightHand = 'hand',
LeftUpperLeg = 'leg',
LeftLowerLeg = 'leg',
RightUpperLeg = 'leg',
RightLowerLeg = 'leg',
['Left Leg'] = 'leg',
['Right Leg'] = 'leg',
LeftFoot = 'foot',
RightFoot = 'foot',
}
local LimbNames = {}
for name in pairs(PartLabels) do
if not name:find('Hitbox') then LimbNames[#LimbNames + 1] = name end
end
table.sort(LimbNames)
local BodyHitboxes = { HitboxBody = true, HitboxBodySmall = true, HumanoidRootPart = true }
local function toggleOn(id) return Toggles ~= nil and Toggles[id] ~= nil and Toggles[id].Value == true end
local function optionValue(id, fallback)
local option = Options and Options[id]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
local function colorHex(id, fallback)
local color = optionValue(id, fallback)
if typeof(color) ~= 'Color3' then color = fallback end
return color:ToHex()
end
local function escapeRich(text)
return (tostring(text):gsub('&', '&'):gsub('<', '<'):gsub('>', '>'))
end
local function guiParent()
local ok, hidden = pcall(function() return type(gethui) == 'function' and gethui() or nil end)
if ok and hidden then return hidden end
ok, hidden = pcall(function() return game:GetService('CoreGui') end)
if ok and hidden then return hidden end
return LP:WaitForChild('PlayerGui')
end
function HitLog.Wanted() return toggleOn('ZKFT1') or toggleOn('ZKMT1') end
-- ---------------------------------------------------------------- body part from the point the shot landed
local function distanceToPart(part, point)
local rel = part.CFrame:PointToObjectSpace(point)
local half = part.Size / 2
local dx = math.max(math.abs(rel.X) - half.X, 0)
local dy = math.max(math.abs(rel.Y) - half.Y, 0)
local dz = math.max(math.abs(rel.Z) - half.Z, 0)
return math.sqrt(dx * dx + dy * dy + dz * dz)
end
function HitLog.LabelAt(character, point)
local best, bestDistance = nil, nil
for _, name in ipairs(LimbNames) do
local part = character:FindFirstChild(name)
if part and part:IsA('BasePart') then
local distance = distanceToPart(part, point)
if bestDistance == nil or distance < bestDistance then best, bestDistance = PartLabels[name], distance end
end
end
return best
end
function HitLog.PartLabel(character, hitPart, point, isHead)
if isHead then return 'head' end
local name = typeof(hitPart) == 'Instance' and hitPart.Name or nil
local direct = name and PartLabels[name]
if direct and not BodyHitboxes[name] then return direct end
if typeof(point) == 'Vector3' and typeof(character) == 'Instance' then
local nearest = HitLog.LabelAt(character, point)
if nearest then return nearest end
end
return 'body'
end
-- ---------------------------------------------------------------- shots the local fighter fired (ray end points)
function HitLog.NoteShots(objectId, raycastResults)
if type(raycastResults) ~= 'table' then return end
local feedback = RivalsRuntimeBridge.CombatFeedback
local localFighter = ResolveLocalFighter()
if not localFighter or feedback.ResolveFighterObjectId(localFighter) ~= objectId then return end
local ends = {}
for _, encodedResult in pairs(raycastResults) do
local finish = type(encodedResult) == 'table' and encodedResult[utf8.char(0)] or nil
if typeof(finish) == 'Vector3' then ends[#ends + 1] = finish end
end
if #ends == 0 then return end
table.insert(HitLog.Shots, { At = os.clock(), Ends = ends })
while #HitLog.Shots > 6 do
table.remove(HitLog.Shots, 1)
end
end
-- Hits arrive in the order of the shots, so each hit takes the oldest ray end that is still unused and landed on that player
-- (the ends of misses and of other targets are far from the player and are skipped).
function HitLog.ResolvePoint(character, hitPart)
local reference = nil
if typeof(character) == 'Instance' then
reference = character:FindFirstChild('HitboxBody') or character:FindFirstChild('HumanoidRootPart')
end
if not reference and typeof(hitPart) == 'Instance' and hitPart:IsA('BasePart') then reference = hitPart end
local now = os.clock()
for index = #HitLog.Shots, 1, -1 do
local shot = HitLog.Shots[index]
if now - shot.At > 1 or #shot.Ends == 0 then table.remove(HitLog.Shots, index) end
end
if reference then
for _, shot in ipairs(HitLog.Shots) do
for index, finish in ipairs(shot.Ends) do
if (finish - reference.Position).Magnitude <= 4.5 then
table.remove(shot.Ends, index)
return finish
end
end
end
end
if typeof(hitPart) == 'Instance' and hitPart:IsA('BasePart') then return hitPart.Position end
return reference and reference.Position or nil
end
-- ---------------------------------------------------------------- the screen layer
local function ensureGui()
if HitLog.Gui and HitLog.Gui.Parent then return end
local gui = Instance.new('ScreenGui')
gui.Name = 'ZkxHubHitLog'
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false
gui.DisplayOrder = 9997
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local feed = Instance.new('Frame')
feed.Name = 'Feed'
feed.BackgroundTransparency = 1
feed.Size = UDim2.fromOffset(460, 260)
feed.Active = false
feed.Parent = gui
local layout = Instance.new('UIListLayout')
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Padding = UDim.new(0, 2)
layout.Parent = feed
local markers = Instance.new('Frame')
markers.Name = 'Markers'
markers.BackgroundTransparency = 1
markers.Size = UDim2.fromScale(1, 1)
markers.Active = false
markers.ZIndex = 2
markers.Parent = gui
gui.Parent = guiParent()
HitLog.Gui, HitLog.Feed, HitLog.FeedLayout, HitLog.MarkerLayer = gui, feed, layout, markers
HitLog.Apply()
end
-- The underline of every hit closes while the hit is up, then the hit fades. Where the bar is pinned decides which way it shrinks.
local UnderlineModes = {
['Close From Sides'] = 0.5,
['Shrink Left'] = 0,
['Shrink Right'] = 1,
['Static'] = false,
}
HitLog.UnderlineModeNames = { 'Close From Sides', 'Shrink Left', 'Shrink Right', 'Static' }
-- 0.5 = pinned in the middle (closes from both sides), 0 / 1 = pinned to one end, false = does not move
function HitLog.UnderlineAnchor(mode)
local anchor = UnderlineModes[mode]
if anchor == nil then anchor = UnderlineModes['Close From Sides'] end
return anchor
end
local RAINBOW = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 85, 85)),
ColorSequenceKeypoint.new(0.2, Color3.fromRGB(255, 190, 60)),
ColorSequenceKeypoint.new(0.4, Color3.fromRGB(120, 255, 120)),
ColorSequenceKeypoint.new(0.6, Color3.fromRGB(70, 210, 255)),
ColorSequenceKeypoint.new(0.8, Color3.fromRGB(150, 110, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 90, 200)),
})
local function horizontalFor(alignment)
if alignment == Enum.TextXAlignment.Left then return Enum.HorizontalAlignment.Left end
if alignment == Enum.TextXAlignment.Right then return Enum.HorizontalAlignment.Right end
return Enum.HorizontalAlignment.Center
end
function HitLog.Apply()
local feed, layout = HitLog.Feed, HitLog.FeedLayout
if not feed or not feed.Parent then return end
local spec = PositionLayouts[optionValue('ZKFD1', 'Center Left')] or PositionLayouts['Center Left']
feed.AnchorPoint, feed.Position = spec[1], spec[2]
layout.HorizontalAlignment = horizontalFor(spec[3])
layout.VerticalAlignment = spec[4]
local size = math.floor(tonumber(optionValue('ZKFS3', 15)) or 15)
for _, line in ipairs(HitLog.Lines) do
if line.Root.Parent then
line.Label.TextXAlignment = spec[3]
line.Label.TextSize = size
line.Layout.HorizontalAlignment = horizontalFor(spec[3])
end
end
end
local function styleLabel(label)
local face = Library.Font
if typeof(face) == 'Font' then
label.FontFace = face
else
label.Font = Enum.Font.Code
end
end
local function removeLine(line)
for index, candidate in ipairs(HitLog.Lines) do
if candidate == line then
table.remove(HitLog.Lines, index)
break
end
end
if line.Root.Parent then line.Root:Destroy() end
end
local function play(instance, goal, seconds, style)
TweenService:Create(instance, TweenInfo.new(seconds, style or Enum.EasingStyle.Quad, Enum.EasingDirection.Out), goal):Play()
end
-- Rainbow text: every letter gets its own hue and the hues travel along the text. The colour spans of the normal text (name, body
-- part, damage, health) are dropped, the rainbow replaces them. A line like that is rebuilt about 30 times a second while it is up.
function HitLog.PlainText(rich) return (tostring(rich):gsub('<[^>]*>', '')) end
function HitLog.RainbowText(plain, phase)
local out, shown, i = {}, 0, 1
while i <= #plain do
local unit = plain:match('^&%a+;', i) or plain:match('^[\1-\127\194-\244][\128-\191]*', i) or plain:sub(i, i)
i = i + #unit
if unit:match('^%s+$') then
out[#out + 1] = unit
else
shown = shown + 1
out[#out + 1] = string.format('<font color="#%s">%s</font>', Color3.fromHSV((phase - shown * 0.035) % 1, 0.75, 1):ToHex(), unit)
end
end
return table.concat(out)
end
function HitLog.RainbowPhase() return (os.clock() * (tonumber(optionValue('ZKFS7', 3)) or 3) * 0.12) % 1 end
HitLog.RainbowAt = 0
function HitLog.StepRainbow()
local now = os.clock()
if now - HitLog.RainbowAt < 1 / 30 then return end
HitLog.RainbowAt = now
local phase = HitLog.RainbowPhase()
local live = false
for _, line in ipairs(HitLog.Lines) do
if line.Plain and line.Label.Parent then
live = true
line.Label.Text = HitLog.RainbowText(line.Plain, phase)
end
end
if not live then
HitLog.RainbowOn = false
if Connections then Connections:disconnect({ 'HitLog_Rainbow' }) end
end
end
function HitLog.EnsureRainbow()
if HitLog.RainbowOn or not Connections then return end
HitLog.RainbowOn = true
Connections:register('HitLog_Rainbow', RunService.RenderStepped:Connect(GuardRivalsCallback('HitLog_Rainbow', HitLog.StepRainbow)))
end
-- One feed entry: the text, an optional dark panel behind it and an underline that closes before the entry fades out.
function HitLog.PushLine(text)
ensureGui()
local spec = PositionLayouts[optionValue('ZKFD1', 'Center Left')] or PositionLayouts['Center Left']
local panelOn = toggleOn('ZKFT6')
local panelTransparency = math.clamp(tonumber(optionValue('ZKFS5', 0.45)) or 0.45, 0, 1)
local underlineOn = toggleOn('ZKFT3')
local anchor = HitLog.UnderlineAnchor(optionValue('ZKFD2', 'Close From Sides'))
local thickness = math.clamp(math.floor(tonumber(optionValue('ZKFS4', 2)) or 2), 1, 8)
local fadeTime = math.clamp(tonumber(optionValue('ZKFS6', 0.4)) or 0.4, 0.05, 2)
local intro = toggleOn('ZKFT5')
local duration = math.max(0.3, tonumber(optionValue('ZKFS2', 4)) or 4)
local introTime = intro and 0.22 or 0
local root = Instance.new('Frame')
root.Name = 'Line'
root.AutomaticSize = Enum.AutomaticSize.XY
root.Size = UDim2.fromOffset(0, 0)
root.BorderSizePixel = 0
root.BackgroundColor3 = Color3.fromRGB(12, 12, 14)
root.BackgroundTransparency = panelOn and (intro and 1 or panelTransparency) or 1
HitLog.LineCounter = (HitLog.LineCounter or 0) + 1
root.LayoutOrder = HitLog.LineCounter
if panelOn then
local padding = Instance.new('UIPadding')
padding.PaddingLeft, padding.PaddingRight = UDim.new(0, 7), UDim.new(0, 7)
padding.PaddingTop, padding.PaddingBottom = UDim.new(0, 3), UDim.new(0, 3)
padding.Parent = root
end
local layout = Instance.new('UIListLayout')
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Padding = UDim.new(0, 2)
layout.HorizontalAlignment = horizontalFor(spec[3])
layout.Parent = root
local label = Instance.new('TextLabel')
label.Name = 'Text'
label.BackgroundTransparency = 1
label.AutomaticSize = Enum.AutomaticSize.XY
label.Size = UDim2.fromOffset(0, 0)
label.RichText = true
label.TextWrapped = false
label.TextXAlignment = spec[3]
label.TextSize = math.floor(tonumber(optionValue('ZKFS3', 15)) or 15)
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = intro and 1 or 0.35
label.TextTransparency = intro and 1 or 0
local plain = nil
if toggleOn('ZKFT8') then
plain = HitLog.PlainText(text)
label.Text = HitLog.RainbowText(plain, HitLog.RainbowPhase())
else
label.Text = text
end
label.LayoutOrder = 1
styleLabel(label)
label.Parent = root
local bar = nil
if underlineOn then
local holder = Instance.new('Frame')
holder.Name = 'UnderlineHolder'
holder.BackgroundTransparency = 1
holder.BorderSizePixel = 0
holder.Size = UDim2.new(1, 0, 0, thickness)
holder.LayoutOrder = 2
holder.Parent = root
local pin = anchor == false and 0.5 or anchor
bar = Instance.new('Frame')
bar.Name = 'Underline'
bar.BorderSizePixel = 0
bar.AnchorPoint = Vector2.new(pin, 0)
bar.Position = UDim2.new(pin, 0, 0, 0)
bar.Size = UDim2.new(intro and 0 or 1, 0, 1, 0)
bar.BackgroundColor3 = toggleOn('ZKFT4') and Color3.new(1, 1, 1) or (optionValue('ZKFC5', Color3.fromRGB(125, 85, 255)))
if toggleOn('ZKFT4') then
local gradient = Instance.new('UIGradient')
gradient.Color = RAINBOW
gradient.Parent = bar
end
bar.Parent = holder
end
root.Parent = HitLog.Feed
local line = { Root = root, Label = label, Layout = layout, Bar = bar, Plain = plain }
table.insert(HitLog.Lines, line)
if plain then HitLog.EnsureRainbow() end
local maxLines = math.floor(tonumber(optionValue('ZKFS1', 5)) or 5)
while #HitLog.Lines > maxLines do
removeLine(HitLog.Lines[1])
end
-- in: text fades up, the panel fills, the underline is drawn out to full width
if intro then
play(label, { TextTransparency = 0, TextStrokeTransparency = 0.35 }, 0.2)
if panelOn then play(root, { BackgroundTransparency = panelTransparency }, 0.2) end
if bar then play(bar, { Size = UDim2.new(1, 0, 1, 0) }, introTime, Enum.EasingStyle.Quint) end
end
-- the underline closes for the rest of the time the hit is on screen
if bar and anchor ~= false then
task.delay(introTime, function()
if not bar.Parent then return end
play(bar, { Size = UDim2.new(0, 0, 1, 0) }, math.max(0.1, duration - introTime), Enum.EasingStyle.Linear)
end)
end
-- out: once it has closed, the whole entry fades
task.delay(duration, function()
if not root.Parent then return end
play(label, { TextTransparency = 1, TextStrokeTransparency = 1 }, fadeTime)
if panelOn then play(root, { BackgroundTransparency = 1 }, fadeTime) end
if bar then play(bar, { BackgroundTransparency = 1 }, fadeTime) end
task.delay(fadeTime + 0.05, function() removeLine(line) end)
end)
return line
end
-- ---------------------------------------------------------------- health remaining
-- Reading Humanoid.Health a moment after the damage packet is wrong in rapid fire (the next hit has landed by then), so each
-- target keeps a running total: the first hit of a burst takes the health bar as it is (the target is assumed to have been
-- at full health, so a bar that already shows the loss is the answer, otherwise the damage is taken off it), every later hit
-- takes its damage off the previous result. The total is dropped after 2.5 s without a hit.
HitLog.Chain = setmetatable({}, { __mode = "k" })
function HitLog.HealthAfter(humanoid, damage)
local amount = math.max(0, tonumber(damage) or 0)
local now = os.clock()
local chain = HitLog.Chain[humanoid]
local remaining
if chain and now - chain.At < 2.5 then
remaining = chain.Remaining - amount
else
local health, maxHealth = humanoid.Health, humanoid.MaxHealth
if health <= maxHealth - amount + 0.5 then remaining = health else remaining = health - amount end
end
remaining = math.max(0, remaining)
HitLog.Chain[humanoid] = { Remaining = remaining, At = now }
return remaining
end
-- ---------------------------------------------------------------- hit text
function HitLog.HitText(name, part, damage, health)
local text = string.format(
'Hit <font color="#%s">%s</font> in the <font color="#%s">%s</font> for <font color="#%s">%d</font> damage',
colorHex('ZKFC1', Color3.fromRGB(150, 255, 150)),
escapeRich(name),
colorHex('ZKFC2', Color3.fromRGB(120, 230, 120)),
escapeRich(part),
colorHex('ZKFC3', Color3.fromRGB(255, 170, 60)),
math.floor((tonumber(damage) or 0) + 0.5)
)
local showHealth = Toggles == nil or Toggles.ZKFT7 == nil or Toggles.ZKFT7.Value == true
if health ~= nil and showHealth then
text = text .. string.format(' (<font color="#%s">%d</font> health remaining)', colorHex('ZKFC4', Color3.fromRGB(255, 255, 255)), math.max(0, math.floor(health + 0.5)))
end
return text
end
function HitLog.KillText(name)
return string.format(
'<font color="#%s">Eliminated</font> <font color="#%s">%s</font>',
colorHex('ZKFC3', Color3.fromRGB(255, 170, 60)),
colorHex('ZKFC1', Color3.fromRGB(150, 255, 150)),
escapeRich(name)
)
end
-- ---------------------------------------------------------------- hit markers
local MarkerBars = {
{ -1, -1, -45 },
{ 1, -1, 45 },
{ -1, 1, 45 },
{ 1, 1, -45 },
}
local function buildMarker(size)
local root = Instance.new('Frame')
root.Name = 'Marker'
root.BackgroundTransparency = 1
root.AnchorPoint = Vector2.new(0.5, 0.5)
root.Size = UDim2.fromOffset(size * 2, size * 2)
root.Visible = false
local bars = {}
for _, spec in ipairs(MarkerBars) do
local bar = Instance.new('Frame')
bar.BorderSizePixel = 0
bar.AnchorPoint = Vector2.new(0.5, 0.5)
bar.Size = UDim2.fromOffset(math.max(2, math.floor(size / 5)), math.floor(size * 0.62))
bar.Position = UDim2.new(0.5, spec[1] * size * 0.42, 0.5, spec[2] * size * 0.42)
bar.Rotation = spec[3]
local stroke = Instance.new('UIStroke')
stroke.Thickness = 1
stroke.Color = Color3.new(0, 0, 0)
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
stroke.Parent = bar
bar.Parent = root
bars[#bars + 1] = { Bar = bar, Stroke = stroke }
end
return root, bars
end
local function stepMarkers()
local camera = Workspace.CurrentCamera
local now = os.clock()
for index = #HitLog.Markers, 1, -1 do
local marker = HitLog.Markers[index]
local age = now - marker.At
if age >= marker.Duration or not marker.Root.Parent then
marker.Root:Destroy()
table.remove(HitLog.Markers, index)
else
local screen = nil
if marker.Crosshair then
if camera then screen = Vector2.new(camera.ViewportSize.X / 2, camera.ViewportSize.Y / 2) end
elseif camera then
local world = marker.World
if marker.Part and marker.Part.Parent then world = marker.Part.Position + marker.Offset end
local projected = camera:WorldToViewportPoint(world)
if projected.Z > 0 then screen = Vector2.new(projected.X, projected.Y) end
end
if screen then
marker.Root.Visible = true
marker.Root.Position = UDim2.fromOffset(screen.X, screen.Y)
local pop = 1 + 0.4 * math.max(0, 1 - age / 0.12)
marker.Root.Size = UDim2.fromOffset(marker.Size * 2 * pop, marker.Size * 2 * pop)
local fade = math.clamp((age / marker.Duration - 0.45) / 0.55, 0, 1)
for _, piece in ipairs(marker.Bars) do
piece.Bar.BackgroundTransparency = fade
piece.Stroke.Transparency = fade
end
else
marker.Root.Visible = false
end
end
end
if #HitLog.Markers == 0 and Connections then Connections:disconnect({ 'HitLog_Render' }) end
end
function HitLog.AddMarker(world, part, isHead)
ensureGui()
local size = math.clamp(tonumber(optionValue('ZKMS1', 12)) or 12, 5, 40)
local duration = math.clamp(tonumber(optionValue('ZKMS2', 0.5)) or 0.5, 0.15, 3)
local root, bars = buildMarker(size)
local color = optionValue(isHead and 'ZKMC2' or 'ZKMC1', isHead and Color3.fromRGB(255, 80, 80) or Color3.new(1, 1, 1))
if typeof(color) ~= 'Color3' then color = Color3.new(1, 1, 1) end
for _, piece in ipairs(bars) do
piece.Bar.BackgroundColor3 = color
end
root.Parent = HitLog.MarkerLayer
local marker = {
Root = root,
Bars = bars,
At = os.clock(),
Duration = duration,
Size = size,
World = world,
Part = typeof(part) == 'Instance' and part:IsA('BasePart') and part or nil,
Crosshair = optionValue('ZKMD1', 'Hit Location') == 'Crosshair' or typeof(world) ~= 'Vector3',
}
marker.Offset = (marker.Part and typeof(world) == 'Vector3') and (world - marker.Part.Position) or Vector3.zero
table.insert(HitLog.Markers, marker)
if Connections and #HitLog.Markers == 1 then
Connections:register('HitLog_Render', RunService.RenderStepped:Connect(GuardRivalsCallback('HitLog_Render', stepMarkers)))
end
return marker
end
-- ---------------------------------------------------------------- events from CombatFeedback
-- ---------------------------------------------------------------- where the shot was aimed
-- The damage packet only names the two big server hitboxes, so it cannot tell a leg from the torso and always sits at the middle of the
-- body. The place is worked out here instead: (1) the part the aimbot / silent aim was on, else (2) the first part of the player the
-- crosshair ray touched in the last moments (camera rays are sampled every frame while the feed or the markers are on), else (3) the
-- end of the ray the game announced, else (4) nothing: it then says "body" and puts the marker on the hitbox.
HitLog.Rays = {}
function HitLog.NoteRay(origin, direction)
local now = os.clock()
table.insert(HitLog.Rays, { Origin = origin, Direction = direction.Unit, At = now })
while #HitLog.Rays > 0 and now - HitLog.Rays[1].At > 0.45 do
table.remove(HitLog.Rays, 1)
end
end
function HitLog.SampleCamera()
local camera = Workspace.CurrentCamera
if not camera then return end
-- the crosshair is the middle of the screen or the mouse, whichever the hub aims with
local ok, pointer = pcall(function() return AimbotBridge.GetAimbotPointerPosition() end)
if ok and typeof(pointer) == 'Vector2' then
local ray = camera:ViewportPointToRay(pointer.X, pointer.Y)
HitLog.NoteRay(ray.Origin, ray.Direction)
else
HitLog.NoteRay(camera.CFrame.Position, camera.CFrame.LookVector)
end
end
function HitLog.EnsureSampler()
if not Connections then return end
if HitLog.Wanted() then
if not HitLog.SamplerOn then
HitLog.SamplerOn = true
Connections:register('HitLog_Camera', RunService.RenderStepped:Connect(GuardRivalsCallback('HitLog_Camera', HitLog.SampleCamera)))
end
elseif HitLog.SamplerOn then
HitLog.SamplerOn = false
HitLog.Rays = {}
Connections:disconnect({ 'HitLog_Camera' })
end
end
-- distance along a unit direction to where the ray enters the part's box (0 when it starts inside), nil when it misses
function HitLog.RayBox(origin, direction, part)
local cframe = part.CFrame
local localOrigin = cframe:PointToObjectSpace(origin)
local localDirection = cframe:VectorToObjectSpace(direction)
local half = part.Size / 2
local tMin, tMax = 0, math.huge
for _, axis in ipairs({ 'X', 'Y', 'Z' }) do
local o, d, h = localOrigin[axis], localDirection[axis], half[axis]
if math.abs(d) < 1e-9 then
if math.abs(o) > h then return nil end
else
local t1, t2 = (-h - o) / d, (h - o) / d
if t1 > t2 then t1, t2 = t2, t1 end
if t1 > tMin then tMin = t1 end
if t2 < tMax then tMax = t2 end
if tMin > tMax then return nil end
end
end
return tMin
end
-- the first part of this player the crosshair was on (newest ray first); the body hitbox when it only touched that
function HitLog.AimPoint(character)
if typeof(character) ~= 'Instance' then return nil end
local limbs = {}
for _, name in ipairs(LimbNames) do
local part = character:FindFirstChild(name)
if part and part:IsA('BasePart') then limbs[#limbs + 1] = part end
end
local body = character:FindFirstChild('HitboxBody')
for index = #HitLog.Rays, 1, -1 do
local ray = HitLog.Rays[index]
local bestDistance, bestPart = nil, nil
for _, part in ipairs(limbs) do
local distance = HitLog.RayBox(ray.Origin, ray.Direction, part)
if distance and (bestDistance == nil or distance < bestDistance) then bestDistance, bestPart = distance, part end
end
if bestPart then return ray.Origin + ray.Direction * bestDistance, bestPart end
if body and body:IsA('BasePart') then
local distance = HitLog.RayBox(ray.Origin, ray.Direction, body)
if distance then return ray.Origin + ray.Direction * distance, body end
end
end
return nil
end
-- what Aimbot / Silent Aim aimed at a moment ago, when it was on this player
function HitLog.AimedTarget(character)
local targeting = RivalsRuntimeBridge.AimbotTargeting
local target = targeting and targeting.LastTarget
if type(target) ~= 'table' or os.clock() - (targeting.LastTargetAt or 0) > 0.35 then return nil end
local part = target.part
if typeof(part) ~= 'Instance' or typeof(character) ~= 'Instance' or not part:IsDescendantOf(character) then return nil end
local position = typeof(target.worldPosition) == 'Vector3' and target.worldPosition or part.Position
return position, part
end
-- everything above in order; returns the point, the part it is on (nil for the hitbox fallback) and where the answer came from
function HitLog.ResolveHit(character, hitPart, isHead)
local point, part, source = HitLog.AimedTarget(character)
if point then
source = 'aimed'
else
point, part = HitLog.AimPoint(character)
if point then
source = 'crosshair'
else
point = HitLog.ResolvePoint(character, hitPart)
local reported = typeof(hitPart) == 'Instance' and hitPart.Position or nil
-- a point that is just the middle of the reported part tells nothing about where on the body it was
source = (point ~= nil and reported ~= nil and point ~= reported) and 'shot' or 'unknown'
part = nil
end
end
if isHead then
-- a headshot is on the head whatever else is known
local head = character:FindFirstChild('Head') or character:FindFirstChild('HitboxHead')
if head and not (part and (part.Name == 'Head' or part.Name == 'HitboxHead')) then
point, part, source = head.Position, head, source == 'unknown' and 'head' or source
end
end
return point, part, source
end
function HitLog.OnHit(hitPart, damage, isHead, character)
if not HitLog.Wanted() then return end
HitLog.EnsureSampler()
local point, part, source = HitLog.ResolveHit(character, hitPart, isHead == true)
if toggleOn('ZKMT1') then HitLog.AddMarker(point, part or hitPart, isHead == true) end
if not toggleOn('ZKFT1') then return end
local name = RivalsRuntimeBridge.CombatFeedback.ResolveCharacterLabel(character)
-- no information about where on the body: say so instead of guessing chest or stomach
local label = HitLog.PartLabel(character, part or hitPart, source ~= 'unknown' and point or nil, isHead == true)
local humanoid = typeof(character) == 'Instance' and character:FindFirstChildOfClass('Humanoid') or nil
local health = humanoid and HitLog.HealthAfter(humanoid, damage) or nil
HitLog.PushLine(HitLog.HitText(name, label, damage, health))
end
-- A kill is announced more than once (an elimination packet and a finisher packet, on up to four remotes). The same player
-- inside 1.5 s, or any two kills inside 0.35 s when one of them has no resolved player, count once.
HitLog.LastKill = nil
function HitLog.IsDuplicateKill(character)
local now = os.clock()
local last = HitLog.LastKill
if last then
local gap = now - last.At
local same = character ~= nil and last.Character == character
local unknown = character == nil or last.Character == nil
if (same and gap < 1.5) or (unknown and gap < 0.35) then return true end
end
HitLog.LastKill = { Character = character, At = now }
return false
end
function HitLog.OnKill(character)
if not toggleOn('ZKFT1') or not toggleOn('ZKFT2') then return end
HitLog.PushLine(HitLog.KillText(RivalsRuntimeBridge.CombatFeedback.ResolveCharacterLabel(character)))
end
function HitLog.Destroy()
if Connections then Connections:disconnect({ 'HitLog_Render', 'HitLog_Camera', 'HitLog_Rainbow' }) end
HitLog.RainbowOn = false
HitLog.SamplerOn = false
HitLog.Rays = {}
for _, marker in ipairs(HitLog.Markers) do
pcall(function() marker.Root:Destroy() end)
end
HitLog.Markers = {}
HitLog.Lines = {}
HitLog.Shots = {}
if HitLog.Gui then pcall(function() HitLog.Gui:Destroy() end) end
HitLog.Gui, HitLog.Feed, HitLog.FeedLayout, HitLog.MarkerLayer = nil, nil, nil, nil
end
-- ---------------------------------------------------------------- menu (called from the Client Effects tab builder)
function HitLog.BuildMenu(tab)
local feedback = RivalsRuntimeBridge.CombatFeedback
local feedGroup = tab:AddLeftGroupbox('Kill Feed')
local feedToggle = feedGroup:AddToggle('ZKFT1', {
Text = 'Kill Feed',
Default = false,
Tooltip = 'Lists your hits on screen: who, where, how much damage and how much health they have left.',
})
feedToggle:OnChanged(GuardRivalsCallback('HitLog_FeedToggle', feedback.RefreshBinding))
feedToggle:OnChanged(GuardRivalsCallback('HitLog_FeedSampler', HitLog.EnsureSampler))
local feedBox = feedGroup:AddDependencyBox()
feedBox:AddDropdown('ZKFD1', {
Text = 'Position',
Values = PositionNames,
Default = 'Center Left',
Multi = false,
Tooltip = 'Where the list sits on the screen.',
})
feedBox:AddSlider('ZKFS1', { Text = 'Lines', Default = 5, Min = 1, Max = 10, Rounding = 0, Compact = true })
feedBox:AddSlider('ZKFS2', { Text = 'Duration', Default = 4, Min = 1, Max = 10, Rounding = 1, Compact = true, Suffix = 's' })
feedBox:AddSlider('ZKFS3', { Text = 'Text Size', Default = 15, Min = 10, Max = 28, Rounding = 0, Compact = true })
feedBox:AddToggle('ZKFT2', {
Text = 'Show Eliminations',
Default = true,
Tooltip = 'Adds an Eliminated line when you finish someone off.',
})
feedBox:AddLabel('Name Color'):AddColorPicker('ZKFC1', { Default = Color3.fromRGB(150, 255, 150), Title = 'Kill Feed Name Color' })
feedBox:AddLabel('Body Part Color'):AddColorPicker('ZKFC2', { Default = Color3.fromRGB(120, 230, 120), Title = 'Kill Feed Body Part Color' })
feedBox:AddLabel('Damage Color'):AddColorPicker('ZKFC3', { Default = Color3.fromRGB(255, 170, 60), Title = 'Kill Feed Damage Color' })
feedBox:AddToggle('ZKFT7', { Text = 'Show Health Remaining', Default = true, Tooltip = 'Adds (n health remaining) to every hit.' })
feedBox:AddLabel('Health Color'):AddColorPicker('ZKFC4', { Default = Color3.fromRGB(255, 255, 255), Title = 'Kill Feed Health Color' })
feedBox:AddToggle('ZKFT8', {
Text = 'Rainbow Text',
Default = false,
Tooltip = 'Every letter cycles through the rainbow instead of using the name / part / damage / health colors.',
})
local rainbowText = feedBox:AddDependencyBox()
rainbowText:AddSlider('ZKFS7', { Text = 'Rainbow Speed', Default = 3, Min = 0.5, Max = 12, Rounding = 1, Compact = true })
rainbowText:SetupDependencies({ { Toggles.ZKFT8, true } })
feedBox:AddToggle('ZKFT3', {
Text = 'Underline',
Default = true,
Tooltip = 'A line under every hit that closes while the hit is on screen; then the hit fades.',
})
feedBox:AddDropdown('ZKFD2', {
Text = 'Underline Style',
Values = HitLog.UnderlineModeNames,
Default = 'Close From Sides',
Multi = false,
Tooltip = 'Close From Sides: shrinks to the middle. Shrink Left / Right: shrinks to one end. Static: stays until the hit fades.',
})
feedBox:AddLabel('Underline Color'):AddColorPicker('ZKFC5', { Default = Color3.fromRGB(125, 85, 255), Title = 'Kill Feed Underline Color' })
feedBox:AddToggle('ZKFT4', { Text = 'Rainbow Underline', Default = false })
feedBox:AddSlider('ZKFS4', { Text = 'Underline Thickness', Default = 2, Min = 1, Max = 5, Rounding = 0, Compact = true, Suffix = ' px' })
feedBox:AddToggle('ZKFT6', { Text = 'Background', Default = true, Tooltip = 'A soft dark panel behind every hit.' })
feedBox:AddSlider('ZKFS5', { Text = 'Background Transparency', Default = 0.45, Min = 0, Max = 1, Rounding = 2, Compact = true })
feedBox:AddToggle('ZKFT5', { Text = 'Intro Animation', Default = true, Tooltip = 'The text fades in and the underline is drawn out before it starts closing.' })
feedBox:AddSlider('ZKFS6', { Text = 'Fade Time', Default = 0.4, Min = 0.1, Max = 1.5, Rounding = 2, Compact = true, Suffix = ' s' })
feedBox:AddButton({
Text = 'Preview',
Tooltip = 'Adds two sample lines so you can see the position and colors.',
Func = GuardRivalsCallback('HitLog_FeedPreview', function()
HitLog.PushLine(HitLog.HitText('Taloneya', 'stomach', 50, 50))
HitLog.PushLine(HitLog.HitText('Taloneya', 'head', 61, 0))
end),
})
feedBox:SetupDependencies({ { Toggles.ZKFT1, true } })
local onChange = GuardRivalsCallback('HitLog_FeedApply', HitLog.Apply)
Options.ZKFD1:OnChanged(onChange)
Options.ZKFS3:OnChanged(onChange)
local markerGroup = tab:AddLeftGroupbox('Hit Markers')
local markerToggle = markerGroup:AddToggle('ZKMT1', {
Text = 'Hit Markers',
Default = false,
Tooltip = 'An X where your shot landed (head, body, arm, leg) when you hit someone.',
})
markerToggle:OnChanged(GuardRivalsCallback('HitLog_MarkerToggle', feedback.RefreshBinding))
markerToggle:OnChanged(GuardRivalsCallback('HitLog_MarkerSampler', HitLog.EnsureSampler))
local markerBox = markerGroup:AddDependencyBox()
markerBox:AddDropdown('ZKMD1', {
Text = 'Anchor',
Values = { 'Hit Location', 'Crosshair' },
Default = 'Hit Location',
Multi = false,
Tooltip = 'Hit Location puts the marker on the body part you hit; Crosshair keeps it in the middle of the screen.',
})
markerBox:AddSlider('ZKMS1', { Text = 'Size', Default = 12, Min = 5, Max = 40, Rounding = 0, Compact = true })
markerBox:AddSlider('ZKMS2', { Text = 'Duration', Default = 0.5, Min = 0.15, Max = 3, Rounding = 2, Compact = true, Suffix = 's' })
markerBox:AddLabel('Marker Color'):AddColorPicker('ZKMC1', { Default = Color3.fromRGB(255, 255, 255), Title = 'Hit Marker Color' })
markerBox:AddLabel('Headshot Color'):AddColorPicker('ZKMC2', { Default = Color3.fromRGB(255, 80, 80), Title = 'Hit Marker Headshot Color' })
markerBox:AddButton({
Text = 'Preview',
Tooltip = 'Drops a sample marker a little in front of you.',
Func = GuardRivalsCallback('HitLog_MarkerPreview', function()
local camera = Workspace.CurrentCamera
if not camera then return end
HitLog.AddMarker(camera.CFrame.Position + camera.CFrame.LookVector * 12 + camera.CFrame.RightVector * 2, nil, false)
end),
})
markerBox:SetupDependencies({ { Toggles.ZKMT1, true } })
end
if type(getgenv) == 'function' then
local probe = getgenv().__ZkxHubTest
if type(probe) == 'table' then
probe.HitLog = HitLog
probe.Bridge = RivalsRuntimeBridge
end
end
end
-- ======================================================================
-- Name Style: your name's colour / animation on the nametag (lobby) and in the kill feed (duels)
-- ======================================================================
-- Local only: it recolours labels on YOUR screen, nothing is sent anywhere. The nametag is PlayerScripts.Modules.Nametag's BillboardGui
-- (Elements.NameDisplay.DisplayName, plus the Prime / Contraband overlay the game puts on top); the kill feed card is
-- PlayerScripts.UserInterface.EliminationFeedSlot (Container.Container.Eliminator / Victim .TextLabel). A UIGradient on the label does the colouring,
-- so the text itself is never touched and everything is put back when the style is switched off.
do
local RunService = game:GetService('RunService')
local Players = game:GetService('Players')
-- plain tables on purpose: a weak table of Instances loses live entries whenever the garbage collector runs (checked live)
local NameStyle = { Tracked = {}, OverlayOriginals = {}, Watch = {}, Clock = 0, Accumulated = 0, Scan = 0 }
RivalsRuntimeBridge.NameStyle = NameStyle
local GRADIENT_NAME = 'ZkxHubNameFx'
local MODES = { 'Solid', 'Rainbow', 'Wave Rainbow', 'Pulse', 'Gradient Flow' }
local function toggleOn(id) return Toggles ~= nil and Toggles[id] ~= nil and Toggles[id].Value == true end
local function optionValue(id, fallback)
local option = Options and Options[id]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
-- the game's modules cannot be required from an executor thread (identity 8); the game's own threads run at 2
local function atGameIdentity(fn)
local getId, setId = getthreadidentity, setthreadidentity or setidentity
local old = getId and getId() or nil
if setId then pcall(setId, 2) end
local ok, value = pcall(fn)
if setId and old then pcall(setId, old) end
return ok and value or nil
end
-- the names the game may print for you (display name, filtered name, user name)
function NameStyle.MyNames()
local me = Players.LocalPlayer
local names = {}
local function add(name)
if type(name) == 'string' and name ~= '' then names[#names + 1] = name end
end
if me then
add(atGameIdentity(function()
return require(me.PlayerScripts.Controllers.ComplianceController):GetName(me)
end))
add(me.DisplayName)
add(me.Name)
end
return names
end
-- ---------------------------------------------------------------------------------------------------------------- colours
local function sequenceFor(mode, now, speed, colorA, colorB)
if mode == 'Rainbow' then
return ColorSequence.new(Color3.fromHSV((now * speed * 0.2) % 1, 1, 1))
elseif mode == 'Wave Rainbow' then
local points = {}
for index = 0, 7 do
points[#points + 1] = ColorSequenceKeypoint.new(index / 7, Color3.fromHSV((now * speed * 0.2 + index / 7 * 0.8) % 1, 1, 1))
end
return ColorSequence.new(points)
elseif mode == 'Pulse' then
return ColorSequence.new(colorA:Lerp(colorB, (math.sin(now * speed * 2) + 1) / 2))
elseif mode == 'Gradient Flow' then
local points = {}
for index = 0, 4 do
local blend = (math.sin(index / 4 * math.pi * 2 + now * speed * 2) + 1) / 2
points[#points + 1] = ColorSequenceKeypoint.new(index / 4, colorA:Lerp(colorB, blend))
end
return ColorSequence.new(points)
end
return ColorSequence.new(colorA)
end
NameStyle.SequenceFor = sequenceFor
function NameStyle.CurrentSequence()
return sequenceFor(optionValue('ZKND2', 'Rainbow'), NameStyle.Clock, optionValue('ZKNS1', 1), optionValue('ZKNC1', Color3.fromRGB(125, 85, 255)), optionValue('ZKNC2', Color3.fromRGB(255, 255, 255)))
end
-- ---------------------------------------------------------------------------------------------------------------- attach / detach
local function overlayGradient(label)
local overlay = label:FindFirstChild('_ITEMSTATUSCLONE')
local highlight = overlay and overlay:FindFirstChild('Highlight')
return highlight and highlight:FindFirstChildOfClass('UIGradient') or nil
end
function NameStyle.Attach(label, kind)
if NameStyle.Tracked[label] then return end
local gradient = Instance.new('UIGradient')
gradient.Name = GRADIENT_NAME
gradient.Color = NameStyle.CurrentSequence()
gradient.Parent = label
NameStyle.Tracked[label] = { Gradient = gradient, Kind = kind, Color = label.TextColor3 }
label.TextColor3 = Color3.new(1, 1, 1) -- the gradient multiplies the text colour: white shows the gradient as it is
end
local function release(label, state)
if state.Gradient then pcall(function() state.Gradient:Destroy() end) end
pcall(function()
if label.Parent then label.TextColor3 = state.Color end
end)
end
function NameStyle.Clear(kind)
for label, state in pairs(NameStyle.Tracked) do
if kind == nil or state.Kind == kind then
release(label, state)
NameStyle.Tracked[label] = nil
end
end
if kind == nil or kind == 'nametag' then
for gradient, original in pairs(NameStyle.OverlayOriginals) do
pcall(function() gradient.Color = original end)
NameStyle.OverlayOriginals[gradient] = nil
end
end
end
-- ---------------------------------------------------------------------------------------------------------------- nametags (lobby)
local function nametagLabel(gui)
local elements = gui:FindFirstChild('Elements')
local display = elements and elements:FindFirstChild('NameDisplay')
return display and display:FindFirstChild('DisplayName') or nil
end
function NameStyle.ScanNametags()
local onlyMe = optionValue('ZKND1', 'Only Me') == 'Only Me'
for _, player in ipairs(Players:GetPlayers()) do
if not onlyMe or player == Players.LocalPlayer then
local character = player.Character
local root = character and character:FindFirstChild('HumanoidRootPart')
local gui = root and root:FindFirstChild('NametagGui')
local label = gui and nametagLabel(gui)
if label then NameStyle.Attach(label, 'nametag') end
end
end
end
-- ---------------------------------------------------------------------------------------------------------------- kill feed (duels)
function NameStyle.IsMine(text)
if not NameStyle.Names then NameStyle.Names = NameStyle.MyNames() end
for _, name in ipairs(NameStyle.Names) do
if string.find(text, name, 1, true) then return true end
end
return false
end
function NameStyle.StyleFeedSlot(slot)
if not toggleOn('ZKNT2') then return end
local outer = slot:FindFirstChild('Container')
local inner = outer and outer:FindFirstChild('Container')
if not inner then return end
local everyone = optionValue('ZKND1', 'Only Me') == 'Everyone'
for _, role in ipairs({ 'Eliminator', 'Victim' }) do
local holder = inner:FindFirstChild(role)
local label = holder and holder:FindFirstChild('TextLabel')
if label and label.Text ~= '' and (everyone or NameStyle.IsMine(label.Text)) then NameStyle.Attach(label, 'feed') end
end
end
function NameStyle.ScanFeed()
local gui = Players.LocalPlayer and Players.LocalPlayer:FindFirstChildOfClass('PlayerGui')
if not gui then return end
for _, inst in ipairs(gui:GetDescendants()) do
if inst.Name == 'EliminationFeedSlot' then NameStyle.StyleFeedSlot(inst) end
end
end
-- ---------------------------------------------------------------------------------------------------------------- tick
function NameStyle.Tick(dt)
NameStyle.Clock += dt
NameStyle.Accumulated += dt
NameStyle.Scan += dt
if NameStyle.Accumulated < 1 / 30 then return end
NameStyle.Accumulated = 0
if NameStyle.Scan >= 0.3 then
NameStyle.Scan = 0
if toggleOn('ZKNT1') then NameStyle.ScanNametags() end
for gradient in pairs(NameStyle.OverlayOriginals) do
if gradient.Parent == nil then NameStyle.OverlayOriginals[gradient] = nil end -- the nametag was rebuilt: its overlay is gone
end
end
if next(NameStyle.Tracked) == nil then return end
local sequence = NameStyle.CurrentSequence()
for label, state in pairs(NameStyle.Tracked) do
if not label.Parent then
NameStyle.Tracked[label] = nil
else
state.Gradient.Color = sequence
if state.Kind == 'nametag' then
local overlay = overlayGradient(label)
if overlay then
if NameStyle.OverlayOriginals[overlay] == nil then NameStyle.OverlayOriginals[overlay] = overlay.Color end
overlay.Color = sequence
end
end
end
end
end
-- ---------------------------------------------------------------------------------------------------------------- switches
function NameStyle.Refresh()
NameStyle.Names = nil
NameStyle.Clear()
for key, connection in pairs(NameStyle.Watch) do
pcall(function() connection:Disconnect() end)
NameStyle.Watch[key] = nil
end
local nametag, feed = toggleOn('ZKNT1'), toggleOn('ZKNT2')
if not nametag and not feed then
if Connections then Connections:disconnect({ 'NameStyle_Tick' }) end
return
end
if Connections then
Connections:disconnect({ 'NameStyle_Tick' })
Connections:register('NameStyle_Tick', RunService.RenderStepped:Connect(GuardRivalsCallback('NameStyle_Tick', NameStyle.Tick)))
end
if nametag then NameStyle.ScanNametags() end
if feed then
local gui = Players.LocalPlayer and Players.LocalPlayer:FindFirstChildOfClass('PlayerGui')
if gui then
NameStyle.Watch.Feed = gui.DescendantAdded:Connect(function(inst)
if inst.Name == 'EliminationFeedSlot' then task.defer(NameStyle.StyleFeedSlot, inst) end
end)
end
NameStyle.ScanFeed()
end
end
-- a sample card built from the game's own template, so the colours can be seen without a duel
function NameStyle.Preview()
local me = Players.LocalPlayer
local template = me and me.PlayerScripts:FindFirstChild('UserInterface') and me.PlayerScripts.UserInterface:FindFirstChild('EliminationFeedSlot')
local playerGui = me and me:FindFirstChildOfClass('PlayerGui')
if not template or not playerGui then return false end
local old = playerGui:FindFirstChild('ZkxHubNameStylePreview')
if old then old:Destroy() end
local screen = Instance.new('ScreenGui')
screen.Name = 'ZkxHubNameStylePreview'
screen.ResetOnSpawn = false
screen.DisplayOrder = 50
local slot = template:Clone()
local inner = slot.Container.Container
local myName = NameStyle.MyNames()[1] or 'You'
inner.Eliminator.TextLabel.Text = myName
inner.Victim.TextLabel.Text = 'Enemy'
inner.Eliminator.Visible = true
inner.Critical.Visible, inner.Blinded.Visible, inner.Noscope.Visible = false, false, false
local gradient = slot.Container.Background.Background:FindFirstChildOfClass('UIGradient')
if gradient then
gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(235, 177, 2)), ColorSequenceKeypoint.new(0.5, Color3.new(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(102, 51, 220)) })
end
slot.AnchorPoint = Vector2.new(1, 0)
slot.Position = UDim2.new(1, -16, 0, 90)
slot.Size = UDim2.new(0, 320, 0, 38)
slot.Parent = screen
screen.Parent = playerGui -- after the slot is filled: the watcher above styles it like a real card
task.delay(8, function()
if screen.Parent then screen:Destroy() end
end)
return true
end
function NameStyle.Destroy()
if Connections then Connections:disconnect({ 'NameStyle_Tick' }) end
for key, connection in pairs(NameStyle.Watch) do
pcall(function() connection:Disconnect() end)
NameStyle.Watch[key] = nil
end
NameStyle.Clear()
local me = Players.LocalPlayer
local gui = me and me:FindFirstChildOfClass('PlayerGui')
local preview = gui and gui:FindFirstChild('ZkxHubNameStylePreview')
if preview then pcall(function() preview:Destroy() end) end
end
-- ---------------------------------------------------------------------------------------------------------------- menu
function NameStyle.BuildMenu(tab)
local group = tab:AddRightGroupbox('Name Style')
local nametag = group:AddToggle('ZKNT1', {
Text = 'Nametag Style',
Default = false,
Tooltip = 'Colours or animates the name over your head (the nametag shows in the lobby). Only you see it.',
})
nametag:OnChanged(GuardRivalsCallback('NameStyle_Nametag', NameStyle.Refresh))
local feed = group:AddToggle('ZKNT2', {
Text = 'Kill Feed Name Style',
Default = false,
Tooltip = 'Colours or animates the names in the kill feed cards at the top right. Only you see it.',
})
feed:OnChanged(GuardRivalsCallback('NameStyle_Feed', NameStyle.Refresh))
local box = group
box:AddDropdown('ZKND1', {
Text = 'Apply To',
Values = { 'Only Me', 'Everyone' },
Default = 'Only Me',
Multi = false,
Tooltip = 'Only Me: your own name. Everyone: every name (the team colours of the kill feed are replaced).',
Callback = GuardRivalsCallback('NameStyle_Scope', NameStyle.Refresh),
})
box:AddDropdown('ZKND2', {
Text = 'Style',
Values = MODES,
Default = 'Rainbow',
Multi = false,
Tooltip = 'Solid: one colour. Rainbow: the whole name cycles. Wave Rainbow: a rainbow runs through the letters. Pulse: fades between the two colours. Gradient Flow: two colours flow through the name.',
})
box:AddLabel('Color'):AddColorPicker('ZKNC1', { Default = Color3.fromRGB(125, 85, 255), Title = 'Name Style Color' })
box:AddLabel('Second Color'):AddColorPicker('ZKNC2', { Default = Color3.fromRGB(255, 255, 255), Title = 'Name Style Second Color' })
box:AddSlider('ZKNS1', { Text = 'Speed', Default = 1, Min = 0.2, Max = 5, Rounding = 1, Compact = true })
box:AddButton({
Text = 'Preview Kill Feed',
Tooltip = 'Shows a sample kill feed card for a few seconds (needs Kill Feed Name Style on).',
Func = GuardRivalsCallback('NameStyle_Preview', function()
if not toggleOn('ZKNT2') then
Library:Notify({ Title = 'Name Style', Description = 'Switch Kill Feed Name Style on first.', Time = 4 })
return
end
NameStyle.Preview()
end),
})
end
if type(getgenv) == 'function' then
local probe = getgenv().__ZkxHubTest
if type(probe) == 'table' then probe.NameStyle = NameStyle end
end
end
-- ======================================================================
-- Aimbot diagnostics
-- ======================================================================
do
local diag = {
Counts = {},
LastRejections = {},
RecentLocks = {},
WindowStart = 0,
Notification = nil,
LastDescription = nil,
LastAcquiredName = nil,
LastAcquiredAt = 0,
Unavailable = false,
}
local function isEnabled() return Toggles.P9S2T19 and Toggles.P9S2T19.Value == true end
function RivalsRuntimeBridge.RecordTargetValidityRejection(gate, subject, player, targetType, extras)
if not isEnabled() then return end
local now = tick()
if now - diag.WindowStart > 1 then
diag.Counts = {}
diag.WindowStart = now
end
diag.Counts[gate] = (diag.Counts[gate] or 0) + 1
local name = 'unknown'
if player then
name = player.DisplayName or player.Name or name
elseif subject and subject.Name then
name = subject.Name
end
local rejections = diag.LastRejections
rejections[#rejections + 1] = {
name = name,
gate = gate,
at = now,
targetType = targetType,
extras = extras,
}
while #rejections > 5 do
table.remove(rejections, 1)
end
end
function RivalsRuntimeBridge.RecordTargetValidityAcquired(name, info)
if not isEnabled() then return end
local now = tick()
diag.LastAcquiredName = name or 'unknown'
diag.LastAcquiredAt = now
local locks = diag.RecentLocks
locks[#locks + 1] = {
name = diag.LastAcquiredName,
at = now,
targetType = info and info.targetType or nil,
aimPart = info and info.aimPart or nil,
isVisible = info and info.isVisible == true,
screenDistance = info and info.screenDistance or nil,
worldDistance = info and info.worldDistance or nil,
}
while #locks > 3 do
table.remove(locks, 1)
end
end
function RivalsRuntimeBridge.RecordTargetValidityUpstreamGate(gate)
if not isEnabled() then return end
local now = tick()
if now - diag.WindowStart > 1 then
diag.Counts = {}
diag.WindowStart = now
end
diag.Counts[gate] = (diag.Counts[gate] or 0) + 1
end
local function buildReadinessSnapshot()
local function safeBool(fn)
if type(fn) ~= 'function' then return false end
local ok, v = pcall(fn)
return ok and v == true
end
local fighter = ResolveLocalFighter()
local entity = fighter and fighter.Entity
local liveChar = LP and LP.Character
local duel = FighterDataCache and FighterDataCache.LocalDuel or nil
local localReadyState = RivalsRuntimeBridge.LocalReadyState
local rangeCount, dummyCount = 0, 0
for _ in pairs(TrackedRangeTargets) do
rangeCount = rangeCount + 1
end
for _ in pairs(TrackedPracticeDummies) do
dummyCount = dummyCount + 1
end
return {
cameraReady = safeBool(IsAimbotCameraReady),
gameReady = safeBool(IsAimbotGameReady),
charInWorkspace = liveChar ~= nil and liveChar.Parent == Workspace,
entityInWorld = type(entity) == 'table' and rawget(entity, '_is_in_world') == true,
invincible = type(entity) == 'table' and type(entity.Data) == 'table' and entity.Data.IsInvincible == true,
shieldSeen = type(localReadyState) == 'table' and localReadyState.ShieldSeen == true,
readyNotified = type(localReadyState) == 'table' and localReadyState.ReadyNotified == true,
duelSeeded = type(duel) == 'table' and duel.Seeded == true,
inDuel = type(duel) == 'table' and duel.IsInDuel == true,
inShootingRange = type(duel) == 'table' and duel.Seeded == true and duel.IsInShootingRange == true,
localReady = safeBool(RivalsRuntimeBridge.IsLocalReadyToFight),
readyToFight = safeBool(RivalsRuntimeBridge.IsReadyToFight),
rangeCount = rangeCount,
dummyCount = dummyCount,
}
end
local function buildText()
local now = tick()
local lines = { 'Target Validity Diagnostic' }
local counts = diag.Counts
local keys = {}
for k in pairs(counts) do
keys[#keys + 1] = k
end
table.sort(keys, function(a, b) return counts[a] > counts[b] end)
if #keys == 0 then
lines[#lines + 1] = 'Last 1s rejections: none'
else
lines[#lines + 1] = 'Last 1s rejections:'
for _, k in ipairs(keys) do
lines[#lines + 1] = string.format(' %s x %d', k, counts[k])
end
end
local rej = diag.LastRejections
if #rej > 0 then
local visible = {}
for i = 1, #rej do
local r = rej[i]
if not r.targetType or r.targetType == 'Players' then visible[#visible + 1] = r end
end
if #visible > 0 then
lines[#lines + 1] = 'Recent:'
for i = #visible, math.max(1, #visible - 2), -1 do
local r = visible[i]
lines[#lines + 1] = string.format(' %s: %s (%.2fs)', r.name, r.gate, math.max(0, now - r.at))
end
end
end
local locks = diag.RecentLocks
if #locks > 0 then
lines[#lines + 1] = 'Recent locks:'
for i = #locks, math.max(1, #locks - 2), -1 do
local l = locks[i]
local visTag
if l.isVisible then
visTag = 'y'
else
visTag = 'n'
end
local detail = string.format('aim=%s vis=%s', tostring(l.aimPart or '?'), visTag)
if l.screenDistance then detail = detail .. string.format(' sd=%d', math.floor(l.screenDistance + 0.5)) end
lines[#lines + 1] = string.format(' %s [%s] (%.2fs)', l.name, detail, math.max(0, now - l.at))
end
elseif diag.LastAcquiredName then
lines[#lines + 1] =
string.format('Last lock: %s (%.2fs ago)', diag.LastAcquiredName, math.max(0, now - diag.LastAcquiredAt))
else
lines[#lines + 1] = 'Last lock: none'
end
local snapshotOk, snapshot = pcall(buildReadinessSnapshot)
if snapshotOk and type(snapshot) == 'table' then
local function tag(b) return b and 'Y' or 'N' end
lines[#lines + 1] = 'Gates:'
lines[#lines + 1] = string.format(' CamReady=%s GameReady=%s', tag(snapshot.cameraReady), tag(snapshot.gameReady))
lines[#lines + 1] =
string.format(' CharInWS=%s EntityInWorld=%s', tag(snapshot.charInWorkspace), tag(snapshot.entityInWorld))
lines[#lines + 1] = string.format(
' Invincible=%s ShieldSeen=%s ReadyNotified=%s',
tag(snapshot.invincible),
tag(snapshot.shieldSeen),
tag(snapshot.readyNotified)
)
lines[#lines + 1] = string.format(
' DuelSeeded=%s InDuel=%s InShootingRange=%s',
tag(snapshot.duelSeeded),
tag(snapshot.inDuel),
tag(snapshot.inShootingRange)
)
lines[#lines + 1] =
string.format(' LocalReady=%s ReadyToFight=%s', tag(snapshot.localReady), tag(snapshot.readyToFight))
lines[#lines + 1] = string.format('Pools: range=%d dummies=%d', snapshot.rangeCount, snapshot.dummyCount)
end
return table.concat(lines, '\n')
end
local function ensureNotif(description)
if diag.Notification then return true end
if diag.Unavailable then return false end
if not Library or type(Library.Notify) ~= 'function' then return false end
local ok, n = pcall(
function() return Library:Notify({ Title = 'Target Validity', Description = description, Persist = true }) end
)
if ok and n then
diag.Notification = n
return true
end
diag.Unavailable = true
return false
end
local function destroyNotif()
if diag.Notification then
pcall(function() diag.Notification:Destroy() end)
diag.Notification = nil
end
diag.LastDescription = nil
diag.Unavailable = false
end
local function updateNotif()
if not isEnabled() then
destroyNotif()
return
end
local description = buildText()
if diag.LastDescription == description then return end
if not ensureNotif(description) then return end
pcall(function() diag.Notification:ChangeDescription(description) end)
diag.LastDescription = description
end
task.spawn(function()
while not Library.Unloaded and task.wait(0.25) do
pcall(updateNotif)
end
destroyNotif()
end)
end
-- ======================================================================
-- Silent aim: hook target resolution
-- ======================================================================
do
local ResolveAimbotSilentHookTarget = function(item)
local state = AimbotSilentState
local now = tick()
local cacheWindow = AimbotBridge.ResolveAimbotSilentHookTargetCacheWindow(item)
local cachedTarget = state.HookTarget
if cachedTarget and state.HookTargetCapturedAt > 0 and (now - state.HookTargetCapturedAt) <= cacheWindow then
local aimPart = Options.P2S1D2 and Options.P2S1D2.Value or 'Auto'
local mousePosition = AimbotBridge.GetAimbotPointerPosition()
local maxDistance = DEFAULT_ESP_MAX_DISTANCE
local refreshedTarget = RivalsRuntimeBridge.RefreshAimbotTargetInfo(
cachedTarget,
aimPart,
mousePosition,
maxDistance,
AIMBOT_VISIBILITY_CACHE_PROFILE
)
if refreshedTarget then
state.HookTarget = refreshedTarget
return refreshedTarget
end
end
local targetInfo = RivalsRuntimeBridge.GetFilteredAimbotTarget()
state.HookTarget = targetInfo
state.HookTargetCapturedAt = targetInfo and now or 0
return targetInfo
end
local ShouldBypassAimbotSilentReloadBlock = function(item, state, holdWindow, now, queuePending, inputSpammingFlag)
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T6', true)
and queuePending
and not (AimbotBridge.ReadAimbotSilentToggle('P9S2T7', true) and inputSpammingFlag)
then
return true
end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T14', true)
and holdWindow > 0
and state.ShotSignalAt > 0
and (now - state.ShotSignalAt) <= holdWindow
then
return true
end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T15', true)
and holdWindow > 0
and state.ProjectileShotAt > 0
and (now - state.ProjectileShotAt) <= holdWindow
then
return true
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T16', true) and item and rawget(item, '_is_using') then return true end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T17', true) and item and rawget(item, '_is_throwing') then return true end
return false
end
local EvaluateAimbotSilentRuntime = function(item, shootInputHeld)
AimbotBridge.EnsureAimbotSilentConnections(item)
local state = AimbotSilentState
local lastShot = AimbotBridge.ReadAimbotLastShot(item)
if type(lastShot) == 'number' and type(state.LastShot) == 'number' and lastShot > state.LastShot then
state.LastShotChangedAt = tick()
end
state.LastShot = lastShot
local info = item and item.Info or nil
local shootRemaining = AimbotBridge.ReadAimbotShootRemaining(item)
local reloadRemaining = AimbotBridge.ReadAimbotReloadRemaining(item)
local burstCount = type(item and rawget(item, '_burst_count')) == 'number' and rawget(item, '_burst_count') or 0
local queuePending = item and rawget(item, '_is_input_queueing') == true
local isCharging = AimbotBridge.ReadAimbotIsCharging(item)
local inputSpammingFlag = info and info.InputSpammingEnabled and info.InputSpammingEnabled.StartShooting
local holdWindow = AimbotBridge.ResolveAimbotSilentHoldWindow(item)
local now = tick()
local reasons = {}
local shouldAim = true
local blockedReason = nil
local bypassReloadBlock =
ShouldBypassAimbotSilentReloadBlock(item, state, holdWindow, now, queuePending, inputSpammingFlag)
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T2', true)
and shootInputHeld
and reloadRemaining > 0
and not isCharging
and not bypassReloadBlock
then
blockedReason = 'reload_cooldown'
shouldAim = false
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T18', true) and isCharging then reasons[#reasons + 1] = 'is_charging' end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T3', true) and shootRemaining > 0 then
reasons[#reasons + 1] = 'shoot_cooldown'
end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T4', true)
and holdWindow > 0
and state.LastShotChangedAt > 0
and (now - state.LastShotChangedAt) <= holdWindow
then
reasons[#reasons + 1] = 'last_shot'
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T5', true) and burstCount > 0 then reasons[#reasons + 1] = 'burst_count' end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T6', true)
and queuePending
and not (AimbotBridge.ReadAimbotSilentToggle('P9S2T7', true) and inputSpammingFlag)
then
reasons[#reasons + 1] = 'queue_pending'
end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T9', true)
and type(info and info.ShootBurst) == 'number'
and info.ShootBurst > 1
and burstCount > 0
then
reasons[#reasons + 1] = 'shoot_burst_info'
end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T14', true)
and holdWindow > 0
and state.ShotSignalAt > 0
and (now - state.ShotSignalAt) <= holdWindow
then
reasons[#reasons + 1] = 'shot_signal'
end
if
AimbotBridge.ReadAimbotSilentToggle('P9S2T15', true)
and holdWindow > 0
and state.ProjectileShotAt > 0
and (now - state.ProjectileShotAt) <= holdWindow
then
reasons[#reasons + 1] = 'projectile_signal'
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T16', true) and item and rawget(item, '_is_using') then
reasons[#reasons + 1] = 'is_using'
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T17', true) and item and rawget(item, '_is_throwing') then
reasons[#reasons + 1] = 'is_throwing'
end
if blockedReason then
return {
shouldAim = false,
blockedReason = blockedReason,
reasons = reasons,
shootRemaining = shootRemaining,
reloadRemaining = reloadRemaining,
burstCount = burstCount,
queuePending = queuePending,
isCharging = isCharging,
inputSpammingFlag = inputSpammingFlag,
holdWindow = holdWindow,
lastShot = lastShot,
aimScopePercent = info and info.AimScopePercent or nil,
toggleAimEnabled = item and item.ToggleAimEnabled or nil,
}
end
if #reasons == 0 then reasons[#reasons + 1] = shootInputHeld and 'held_input' or 'keybind' end
return {
shouldAim = shouldAim,
blockedReason = nil,
reasons = reasons,
shootRemaining = shootRemaining,
reloadRemaining = reloadRemaining,
burstCount = burstCount,
queuePending = queuePending,
isCharging = isCharging,
inputSpammingFlag = inputSpammingFlag,
holdWindow = holdWindow,
lastShot = lastShot,
aimScopePercent = info and info.AimScopePercent or nil,
toggleAimEnabled = item and item.ToggleAimEnabled or nil,
}
end
local EnsureAimbotStatusNotification = function(description)
if AimbotStatusNotification then return true end
local notification = Library:Notify({
Title = 'Aimbot',
Description = description,
Persist = true,
})
if notification then
AimbotStatusNotification = notification
return true
end
return false
end
local FormatAimbotStatusNumber = function(value)
if type(value) ~= 'number' then return '--' end
return string.format('%.3f', value)
end
local DestroyAimbotStatusNotification = function()
if AimbotStatusNotification then
pcall(function() AimbotStatusNotification:Destroy() end)
AimbotStatusNotification = nil
end
AimbotStatusKey = nil
AimbotStatusDescription = nil
end
local NotifyAimbotStatus = function(statusKey, description, force)
local statusNotifications = Toggles.P2S1T6 and Toggles.P2S1T6.Value
if not force and not statusNotifications then
DestroyAimbotStatusNotification()
return
end
description = tostring(description or 'Idle')
if AimbotStatusKey == statusKey and AimbotStatusDescription == description then return end
if not EnsureAimbotStatusNotification(description) then return end
if AimbotStatusDescription ~= description then
pcall(function() AimbotStatusNotification:ChangeDescription(description) end)
end
AimbotStatusKey = statusKey
AimbotStatusDescription = description
end
local BuildAimbotSilentStatus = function(targetInfo, evaluation)
local targetName = targetInfo and targetInfo.displayName or 'No target'
if not AimbotBridge.ResolveAimbotSilentDebugEnabled() then
if evaluation.blockedReason then return string.format('Silent Camera blocked: %s', evaluation.blockedReason) end
return string.format('Silent Camera: %s', targetName)
end
local lines = {
string.format('Silent Camera: %s', targetName),
string.format('Reason: %s', evaluation.blockedReason or table.concat(evaluation.reasons, ', ')),
string.format(
'Live: sc %s | rc %s | bc %s | q %s | chg %s | hw %s',
FormatAimbotStatusNumber(evaluation.shootRemaining),
FormatAimbotStatusNumber(evaluation.reloadRemaining),
tostring(evaluation.burstCount),
evaluation.queuePending and 'yes' or 'no',
evaluation.isCharging and 'yes' or 'no',
FormatAimbotStatusNumber(evaluation.holdWindow)
),
}
if AimbotBridge.ReadAimbotSilentToggle('P9S2T7', true) then
lines[#lines + 1] = string.format('InputSpam: %s', tostring(evaluation.inputSpammingFlag))
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T12', false) then
lines[#lines + 1] = string.format('AimScopePercent: %s', tostring(evaluation.aimScopePercent))
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T13', false) then
lines[#lines + 1] = string.format('ToggleAimEnabled: %s', tostring(evaluation.toggleAimEnabled))
end
if AimbotBridge.ReadAimbotSilentToggle('P9S2T4', true) then
lines[#lines + 1] = string.format('LastShot: %s', FormatAimbotStatusNumber(evaluation.lastShot))
end
return table.concat(lines, '\n')
end
local AppendAimbotTargetPartCandidate = function(candidates, seen, candidate)
if candidate and candidate:IsA('BasePart') and not seen[candidate] then
seen[candidate] = true
candidates[#candidates + 1] = candidate
end
end
local GetAimbotTargetPartCandidates = function(subject, aimPart)
if not subject then return {} end
if subject:IsA('BasePart') then
if DedicatedAimbotHitboxPartNames[subject.Name] then return { subject } end
return {}
end
if not subject:IsA('Model') then return {} end
local candidates = {}
local seen = {}
local function addNamed(name) AppendAimbotTargetPartCandidate(candidates, seen, subject:FindFirstChild(name)) end
if aimPart == 'Head' then
addNamed('HitboxHead')
elseif aimPart == 'HumanoidRootPart' then
addNamed('HitboxBody')
elseif aimPart == 'Closest' then
addNamed('HitboxBody')
addNamed('HitboxHead')
else
addNamed('HitboxHead')
addNamed('HitboxBody')
end
if #candidates == 0 then addNamed('HumanoidRootPart') end
return RivalsRuntimeBridge.Extras.FilterCandidates(candidates)
end
local GetAimbotTargetPartSamplePoints = function(part, targetType)
if not part or not part:IsA('BasePart') then return {} end
local extrasSamples = RivalsRuntimeBridge.Extras.SamplePoints(part, targetType)
if extrasSamples then return extrasSamples end
local samples = { part.Position }
local useExtendedSampling = targetType == 'Players' or targetType == 'Practice Dummies'
useExtendedSampling = useExtendedSampling and DedicatedAimbotHitboxPartNames[part.Name]
if not useExtendedSampling then return samples end
local cframe = part.CFrame
local halfSize = part.Size * 0.5
local insetX = halfSize.X * 0.9
local insetY = halfSize.Y * 0.9
local insetZ = halfSize.Z * 0.9
local isHeadPart = part.Name == 'HitboxHead'
local function addLocalPoint(x, y, z) samples[#samples + 1] = cframe:PointToWorldSpace(Vector3.new(x, y, z)) end
if isHeadPart then
samples = {}
samples[#samples + 1] = part.Position
addLocalPoint(0, halfSize.Y, 0)
addLocalPoint(0, insetY * 0.82, insetZ * 0.45)
addLocalPoint(0, insetY * 0.82, -insetZ * 0.45)
addLocalPoint(insetX * 0.55, insetY * 0.78, 0)
addLocalPoint(-insetX * 0.55, insetY * 0.78, 0)
return samples
end
addLocalPoint(insetX, 0, 0)
addLocalPoint(-insetX, 0, 0)
addLocalPoint(0, insetY, 0)
addLocalPoint(0, -insetY, 0)
addLocalPoint(0, 0, insetZ)
addLocalPoint(0, 0, -insetZ)
return samples
end
local ResolveVisiblePointOnAimbotPart = function(subject, candidate, targetType)
for _, samplePoint in ipairs(GetAimbotTargetPartSamplePoints(candidate, targetType)) do
if IsVisible(subject, candidate, samplePoint) then return samplePoint end
end
return nil
end
local IsHeadAimbotTargetPart = function(candidate)
if not candidate then return false end
local name = candidate.Name
return name == 'HitboxHead'
end
RivalsRuntimeBridge.IsHeadAimbotTargetPart = IsHeadAimbotTargetPart
local ResolveRandomVisibleAimbotTargetPart = function(subject, candidates, fallback, targetType)
local headCandidates = {}
local bodyCandidates = {}
for _, candidate in ipairs(candidates) do
if IsHeadAimbotTargetPart(candidate) then
headCandidates[#headCandidates + 1] = candidate
else
bodyCandidates[#bodyCandidates + 1] = candidate
end
end
local randomBucketRoll = RivalsRuntimeBridge.Extras.RandomBucketRoll()
local bucketOrder = randomBucketRoll == 1 and { headCandidates, bodyCandidates } or { bodyCandidates, headCandidates }
for _, bucket in ipairs(bucketOrder) do
local visibleCandidates = {}
for _, candidate in ipairs(bucket) do
local visiblePoint = ResolveVisiblePointOnAimbotPart(subject, candidate, targetType)
if visiblePoint then
visibleCandidates[#visibleCandidates + 1] = {
part = candidate,
point = visiblePoint,
}
end
end
if #visibleCandidates > 0 then
local randomIndex = math.random(1, #visibleCandidates)
local randomEntry = visibleCandidates[randomIndex]
return randomEntry.part, randomEntry.point, true
end
end
return fallback, fallback and fallback.Position or nil, false
end
local ResolveVisibleAimbotTargetPart
local ResolvePrefilteredAimbotTargetPart
do
local ResolveVisibilityCacheProfileId = function(cacheProfile)
local profileId = cacheProfile and cacheProfile.Id
if type(profileId) == 'string' and profileId ~= '' then return profileId end
return AIMBOT_VISIBILITY_CACHE_PROFILE.Id
end
local ReadCachedAimbotVisibility = function(subject, aimPart, cacheProfile)
local now = os.clock()
local cachedByProfile = AimbotVisibilityCache[subject]
local profileId = ResolveVisibilityCacheProfileId(cacheProfile)
local cachedByAimPart = cachedByProfile and cachedByProfile[profileId]
local cachedEntry = cachedByAimPart and cachedByAimPart[aimPart]
if cachedEntry and cachedEntry.expiresAt >= now then
local cachedPart = cachedEntry.part
if not cachedPart or cachedPart.Parent then
return cachedEntry.part, cachedEntry.point, cachedEntry.isVisible, true
end
end
return nil, nil, nil, false
end
local WriteCachedAimbotVisibility = function(subject, aimPart, part, point, isVisible, cacheProfile)
if not subject then return end
local hiddenCacheWindow = cacheProfile and cacheProfile.HiddenWindow or AIMBOT_HIDDEN_CACHE_WINDOW
local visibleCacheWindow = cacheProfile and cacheProfile.VisibleWindow or AIMBOT_VISIBLE_CACHE_WINDOW
local cacheWindow = isVisible and visibleCacheWindow or hiddenCacheWindow
local profileId = ResolveVisibilityCacheProfileId(cacheProfile)
if cacheWindow <= 0 then
local cachedByProfile = AimbotVisibilityCache[subject]
local cachedByAimPart = cachedByProfile and cachedByProfile[profileId]
if cachedByAimPart then cachedByAimPart[aimPart] = nil end
return
end
local cachedByProfile = AimbotVisibilityCache[subject]
if not cachedByProfile then
cachedByProfile = {}
AimbotVisibilityCache[subject] = cachedByProfile
end
local cachedByAimPart = cachedByProfile[profileId]
if not cachedByAimPart then
cachedByAimPart = {}
cachedByProfile[profileId] = cachedByAimPart
end
cachedByAimPart[aimPart] = {
part = part,
point = point,
isVisible = isVisible,
expiresAt = os.clock() + cacheWindow,
}
end
ResolveVisibleAimbotTargetPart = function(subject, aimPart, targetType, cacheProfile)
cacheProfile = cacheProfile or AIMBOT_VISIBILITY_CACHE_PROFILE
if aimPart ~= 'Random' then
local cachedPart, cachedPoint, cachedVisible, hasCachedEntry =
ReadCachedAimbotVisibility(subject, aimPart, cacheProfile)
if hasCachedEntry then return cachedPart, cachedPoint, cachedVisible end
end
local candidates = GetAimbotTargetPartCandidates(subject, aimPart)
local fallback = candidates[1]
if aimPart == 'Random' then
return ResolveRandomVisibleAimbotTargetPart(subject, candidates, fallback, targetType)
end
for _, candidate in ipairs(candidates) do
local visiblePoint = ResolveVisiblePointOnAimbotPart(subject, candidate, targetType)
if visiblePoint then
WriteCachedAimbotVisibility(subject, aimPart, candidate, visiblePoint, true, cacheProfile)
return candidate, visiblePoint, true
end
end
local fallbackPoint = fallback and fallback.Position or nil
WriteCachedAimbotVisibility(subject, aimPart, fallback, fallbackPoint, false, cacheProfile)
return fallback, fallbackPoint, false
end
ResolvePrefilteredAimbotTargetPart = function(
subject,
aimPart,
targetType,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
camera,
cacheProfile
)
if not subject or not camera then return nil, nil, false end
cacheProfile = cacheProfile or AIMBOT_VISIBILITY_CACHE_PROFILE
if aimPart ~= 'Random' then
local cachedPart, cachedPoint, cachedVisible, hasCachedEntry =
ReadCachedAimbotVisibility(subject, aimPart, cacheProfile)
if hasCachedEntry then return cachedPart, cachedPoint, cachedVisible end
end
local rootPosition = HumanoidRootPart and HumanoidRootPart.Position or nil
local maxDistanceSquared = maxDistance * maxDistance
local function SamplePointPassesAimbotPrefilter(samplePoint)
if rootPosition then
local samplePointOffset = samplePoint - rootPosition
if samplePointOffset:Dot(samplePointOffset) > maxDistanceSquared then return false end
end
if ignoreFov then return true end
local screenPosition, onScreen = camera:WorldToViewportPoint(samplePoint)
if not onScreen or screenPosition.Z <= 0 then return false end
local screenDistance = (Vector2.new(screenPosition.X, screenPosition.Y) - mousePosition).Magnitude
return screenDistance <= fovRadius
end
local function ResolvePrefilteredVisiblePoint(candidate)
if not candidate or not candidate:IsA('BasePart') then return nil, false, false end
local fallbackPoint = nil
for _, samplePoint in ipairs(GetAimbotTargetPartSamplePoints(candidate, targetType)) do
if SamplePointPassesAimbotPrefilter(samplePoint) then
fallbackPoint = samplePoint
if IsVisible(subject, candidate, samplePoint) then return samplePoint, true, true end
end
end
return fallbackPoint, false, fallbackPoint ~= nil
end
local candidates = GetAimbotTargetPartCandidates(subject, aimPart)
if aimPart == 'CrosshairClosest' then
local bestPart, bestPoint, bestVisible, bestScore = nil, nil, false, nil
for _, candidate in ipairs(candidates) do
local point, visible, passed = ResolvePrefilteredVisiblePoint(candidate)
if passed and point then
local screenPoint = camera:WorldToViewportPoint(point)
local score = (Vector2.new(screenPoint.X, screenPoint.Y) - mousePosition).Magnitude
if
(visible and not bestVisible)
or (visible == bestVisible and (bestScore == nil or score < bestScore))
then
bestPart, bestPoint, bestVisible, bestScore = candidate, point, visible, score
end
end
end
if bestPart then
WriteCachedAimbotVisibility(subject, aimPart, bestPart, bestPoint, bestVisible, cacheProfile)
end
return bestPart, bestPoint, bestVisible
end
if aimPart == 'Closest' then
local closestOrigin = rootPosition or camera.CFrame.Position
local closestVisiblePart = nil
local closestVisiblePoint = nil
local closestVisibleDistanceSquared = nil
local closestFallbackPart = nil
local closestFallbackPoint = nil
local closestFallbackDistanceSquared = nil
for _, candidate in ipairs(candidates) do
if candidate and candidate:IsA('BasePart') then
for _, samplePoint in ipairs(GetAimbotTargetPartSamplePoints(candidate, targetType)) do
if SamplePointPassesAimbotPrefilter(samplePoint) then
local samplePointOffset = samplePoint - closestOrigin
local samplePointDistanceSquared = samplePointOffset:Dot(samplePointOffset)
if IsVisible(subject, candidate, samplePoint) then
if
not closestVisibleDistanceSquared
or samplePointDistanceSquared < closestVisibleDistanceSquared
then
closestVisiblePart = candidate
closestVisiblePoint = samplePoint
closestVisibleDistanceSquared = samplePointDistanceSquared
end
elseif
not closestFallbackDistanceSquared
or samplePointDistanceSquared < closestFallbackDistanceSquared
then
closestFallbackPart = candidate
closestFallbackPoint = samplePoint
closestFallbackDistanceSquared = samplePointDistanceSquared
end
end
end
end
end
if closestVisiblePart then
WriteCachedAimbotVisibility(subject, aimPart, closestVisiblePart, closestVisiblePoint, true, cacheProfile)
return closestVisiblePart, closestVisiblePoint, true
end
if closestFallbackPart then
WriteCachedAimbotVisibility(
subject,
aimPart,
closestFallbackPart,
closestFallbackPoint,
false,
cacheProfile
)
end
return closestFallbackPart, closestFallbackPoint, false
end
if aimPart == 'Random' then
local headCandidates = {}
local bodyCandidates = {}
for _, candidate in ipairs(candidates) do
if IsHeadAimbotTargetPart(candidate) then
headCandidates[#headCandidates + 1] = candidate
else
bodyCandidates[#bodyCandidates + 1] = candidate
end
end
local randomBucketRoll = RivalsRuntimeBridge.Extras.RandomBucketRoll()
local bucketOrder = randomBucketRoll == 1 and { headCandidates, bodyCandidates }
or { bodyCandidates, headCandidates }
local fallbackPart = nil
local fallbackPoint = nil
for _, bucket in ipairs(bucketOrder) do
local visibleCandidates = {}
for _, candidate in ipairs(bucket) do
local visiblePoint, isVisible, passedPrefilter = ResolvePrefilteredVisiblePoint(candidate)
if passedPrefilter and not fallbackPart then
fallbackPart = candidate
fallbackPoint = visiblePoint
end
if isVisible then
visibleCandidates[#visibleCandidates + 1] = {
part = candidate,
point = visiblePoint,
}
end
end
if #visibleCandidates > 0 then
local randomIndex = math.random(1, #visibleCandidates)
local randomEntry = visibleCandidates[randomIndex]
return randomEntry.part, randomEntry.point, true
end
end
return fallbackPart, fallbackPoint, false
end
local fallbackPart = nil
local fallbackPoint = nil
for _, candidate in ipairs(candidates) do
local visiblePoint, isVisible, passedPrefilter = ResolvePrefilteredVisiblePoint(candidate)
if passedPrefilter and not fallbackPart then
fallbackPart = candidate
fallbackPoint = visiblePoint
end
if isVisible then
WriteCachedAimbotVisibility(subject, aimPart, candidate, visiblePoint, true, cacheProfile)
return candidate, visiblePoint, true
end
end
if fallbackPart then
WriteCachedAimbotVisibility(subject, aimPart, fallbackPart, fallbackPoint, false, cacheProfile)
end
return fallbackPart, fallbackPoint, false
end
end
local IsAimbotPlayerTargetAlive = function(subject)
local humanoid = subject:FindFirstChild('Humanoid')
return humanoid ~= nil and humanoid.Health > 0
end
local BuildAimbotTargetInfo = function(
subject,
targetType,
aimPart,
mousePosition,
player,
maxDistance,
fovRadius,
ignoreFov,
camera,
cacheProfile,
allowHiddenTargets,
requireVisible
)
if not subject or not subject.Parent then
RivalsRuntimeBridge.RecordTargetValidityRejection('subject_invalid', subject, player, targetType)
return nil
end
if player and not IsAimbotPlayerTargetAlive(subject) then
local humanoid = subject and subject:FindFirstChild('Humanoid')
RivalsRuntimeBridge.RecordTargetValidityRejection('not_alive', subject, player, targetType, {
humanoidHealth = humanoid and humanoid.Health,
hasHumanoid = humanoid ~= nil,
})
return nil
end
if player and AimbotBridge.ShouldIgnoreAimbotKatanaDeflectTarget(player, AimbotBridge.ResolveAimbotEquippedItem()) then
RivalsRuntimeBridge.RecordTargetValidityRejection('katana_deflect', subject, player, targetType)
return nil
end
camera = camera or Workspace.CurrentCamera
if not camera then
RivalsRuntimeBridge.RecordTargetValidityRejection('no_camera', subject, player, targetType)
return nil
end
maxDistance = maxDistance or DEFAULT_ESP_MAX_DISTANCE
if ignoreFov == nil then ignoreFov = AimbotBridge.IsAimbotIgnoreFovEnabled() end
if not ignoreFov and type(fovRadius) ~= 'number' then fovRadius = Options.P2S1S2 and Options.P2S1S2.Value or 170 end
allowHiddenTargets = allowHiddenTargets == true
requireVisible = requireVisible == true
local equippedItem = AimbotBridge.ResolveAimbotEquippedItem()
local equippedInfo = equippedItem and equippedItem.Info or nil
local effectiveAimPart = RivalsRuntimeBridge.Extras.OverrideAimPart(
((equippedInfo and equippedInfo.Class == 'Melee') or (equippedInfo and equippedInfo.Type == 'Melee')) and 'Closest'
or aimPart
)
local rootPosition = HumanoidRootPart and HumanoidRootPart.Position or nil
local maxDistanceSquared = maxDistance * maxDistance
local part, worldPosition, isVisible = ResolvePrefilteredAimbotTargetPart(
subject,
effectiveAimPart,
targetType,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
camera,
cacheProfile
)
if not part or not part:IsA('BasePart') or not worldPosition then
RivalsRuntimeBridge.RecordTargetValidityRejection('no_part_resolved', subject, player, targetType)
return nil
end
if not isVisible and RivalsRuntimeBridge.Extras.ManipulateAllows(subject, part, worldPosition) then isVisible = true end
if requireVisible and not isVisible then
RivalsRuntimeBridge.RecordTargetValidityRejection('not_visible', subject, player, targetType)
return nil
elseif not isVisible and not allowHiddenTargets then
RivalsRuntimeBridge.RecordTargetValidityRejection('not_visible', subject, player, targetType)
return nil
end
local extrasAllowed, extrasReason = RivalsRuntimeBridge.Extras.TargetAllowed(
subject,
player,
part,
isVisible,
worldPosition,
mousePosition,
fovRadius,
ignoreFov,
camera
)
if not extrasAllowed then
RivalsRuntimeBridge.RecordTargetValidityRejection(extrasReason or 'extras_rule', subject, player, targetType)
return nil
end
local worldDistance = 0
if rootPosition then
local rootOffset = worldPosition - rootPosition
local worldDistanceSquared = rootOffset:Dot(rootOffset)
if worldDistanceSquared > maxDistanceSquared then
RivalsRuntimeBridge.RecordTargetValidityRejection('out_of_range', subject, player, targetType, {
worldDistance = math.sqrt(worldDistanceSquared),
maxDistance = maxDistance,
})
return nil
end
worldDistance = math.sqrt(worldDistanceSquared)
end
local screenPosition, onScreen = camera:WorldToViewportPoint(worldPosition)
local isOnScreen = onScreen and screenPosition.Z > 0
if not ignoreFov and not isOnScreen then
RivalsRuntimeBridge.RecordTargetValidityRejection('off_screen', subject, player, targetType)
return nil
end
local screenVector = Vector2.new(screenPosition.X, screenPosition.Y)
local screenDistance = (screenVector - mousePosition).Magnitude
if not ignoreFov and screenDistance > fovRadius then
RivalsRuntimeBridge.RecordTargetValidityRejection('out_of_fov', subject, player, targetType, {
screenDistance = screenDistance,
fovRadius = fovRadius,
})
return nil
end
local resolvedDisplayName = player and (player.DisplayName or player.Name) or subject.Name
RivalsRuntimeBridge.RecordTargetValidityAcquired(resolvedDisplayName, {
targetType = targetType,
aimPart = effectiveAimPart,
isVisible = isVisible,
screenDistance = screenDistance,
worldDistance = worldDistance,
})
return {
instance = subject,
part = part,
player = player,
targetType = targetType,
worldPosition = worldPosition,
worldDistance = worldDistance,
screenDistance = screenDistance,
selectionDistance = RivalsRuntimeBridge.AimbotTargeting.ApplyPriority(
isOnScreen and screenDistance or (AIMBOT_OFFSCREEN_SELECTION_PENALTY + worldDistance),
subject,
player,
worldDistance
),
displayName = resolvedDisplayName,
isVisible = isVisible,
}
end
local ConsiderBestAimbotTarget = function(
bestTarget,
subject,
targetType,
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
player,
camera,
cacheProfile,
requireVisible
)
local targetInfo = BuildAimbotTargetInfo(
subject,
targetType,
aimPart,
mousePosition,
player,
maxDistance,
fovRadius,
ignoreFov,
camera,
cacheProfile,
nil,
requireVisible
)
if
targetInfo
and (not requireVisible or targetInfo.isVisible)
and (not bestTarget or targetInfo.selectionDistance < bestTarget.selectionDistance)
then
return targetInfo
end
return bestTarget
end
local RefreshAimbotTargetInfo = function(targetInfo, aimPart, mousePosition, maxDistance, cacheProfile)
if not targetInfo then return nil end
if targetInfo.player and not ShouldShow(targetInfo.player, false) then return nil end
if
targetInfo.player
and AimbotBridge.ShouldIgnoreAimbotKatanaDeflectTarget(targetInfo.player, AimbotBridge.ResolveAimbotEquippedItem())
then
return nil
end
local subject = targetInfo.instance
if targetInfo.player then
local fighter = TrackedFightersByPlayer[targetInfo.player]
local entity = fighter and fighter.Entity
subject = entity and entity.Model
if FighterDataCache.ReadEntity(entity) then return nil end
end
if
ShouldIgnoreRivalsRiotShieldTarget(
targetInfo.player,
subject or (targetInfo.player and targetInfo.player.Character),
AimbotBridge.ResolveAimbotEquippedItem()
)
then
return nil
end
return BuildAimbotTargetInfo(
subject,
targetInfo.targetType,
aimPart,
mousePosition,
targetInfo.player,
maxDistance,
nil,
nil,
nil,
cacheProfile
)
end
RivalsRuntimeBridge.PrimeAimbotAim = function(targetInfo, item)
if not targetInfo then return false end
if not RivalsRuntimeBridge.IsReadyToFight() then
RivalsRuntimeBridge.LogDiagnosticEvent('PrimeAimbotAim', 'Refused: gate closed')
return false
end
local targetPart = targetInfo.part
local worldPosition = targetInfo.worldPosition
local camera = Workspace.CurrentCamera
if not targetPart or not targetPart.Parent or not worldPosition or not camera then return false end
camera.CFrame = CFrame.lookAt(camera.CFrame.Position, worldPosition)
return true
end
RivalsRuntimeBridge.BuildAimbotTargetInfo = BuildAimbotTargetInfo
RivalsRuntimeBridge.ConsiderBestAimbotTarget = ConsiderBestAimbotTarget
RivalsRuntimeBridge.ResolveVisibleAimbotTargetPart = ResolveVisibleAimbotTargetPart
RivalsRuntimeBridge.RefreshAimbotTargetInfo = RefreshAimbotTargetInfo
RivalsRuntimeBridge.DestroyAimbotStatusNotification = DestroyAimbotStatusNotification
RivalsRuntimeBridge.NotifyAimbotStatus = NotifyAimbotStatus
RivalsRuntimeBridge.BuildAimbotSilentStatus = BuildAimbotSilentStatus
RivalsRuntimeBridge.EvaluateAimbotSilentRuntime = EvaluateAimbotSilentRuntime
RivalsRuntimeBridge.ResolveAimbotSilentHookTarget = ResolveAimbotSilentHookTarget
end
-- ======================================================================
-- Cursor triggerbot
-- ======================================================================
do
local CursorTriggerbotRaycastFilter = {}
local CursorTriggerbotRaycastParams = RaycastParams.new()
CursorTriggerbotRaycastParams.FilterType = Enum.RaycastFilterType.Exclude
CursorTriggerbotRaycastParams.FilterDescendantsInstances = CursorTriggerbotRaycastFilter
local CursorTriggerbotRaycastFilterCharacter = nil
local function ResolveCursorTriggerbotRaycastParams()
local character = LP.Character
if character ~= CursorTriggerbotRaycastFilterCharacter then
CursorTriggerbotRaycastFilterCharacter = character
CursorTriggerbotRaycastFilter[1] = character
CursorTriggerbotRaycastFilter[2] = nil
CursorTriggerbotRaycastParams.FilterDescendantsInstances = CursorTriggerbotRaycastFilter
end
return CursorTriggerbotRaycastParams
end
local function ResolveCursorTriggerbotTarget()
EnsureAimbotTargetTracking()
local camera = Workspace.CurrentCamera
if not camera then return nil end
local mousePosition = AimbotBridge.GetAimbotPointerPosition()
local ray = camera:ViewportPointToRay(mousePosition.X, mousePosition.Y)
local raycastParams = ResolveCursorTriggerbotRaycastParams()
local result = Workspace:Raycast(ray.Origin, ray.Direction * DEFAULT_ESP_MAX_DISTANCE, raycastParams)
local hitInstance = result and result.Instance
if not hitInstance then return nil end
local aimPart = Options.P2S1D2 and Options.P2S1D2.Value or 'Auto'
local subject = hitInstance:FindFirstAncestorWhichIsA('Model')
if not subject then return nil end
local player = Players:GetPlayerFromCharacter(subject)
if player then
if
not ShouldShow(player, false)
or ShouldIgnoreRivalsRiotShieldTarget(player, subject, AimbotBridge.ResolveAimbotEquippedItem())
then
return nil
end
return RivalsRuntimeBridge.BuildAimbotTargetInfo(
subject,
'Players',
aimPart,
mousePosition,
player,
nil,
nil,
nil,
nil,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
end
if TrackedRangeTargets[subject] then
return RivalsRuntimeBridge.BuildAimbotTargetInfo(
subject,
'Range Targets',
aimPart,
mousePosition,
nil,
nil,
nil,
nil,
nil,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
end
if TrackedPracticeDummies[subject] then
return RivalsRuntimeBridge.BuildAimbotTargetInfo(
subject,
'Practice Dummies',
aimPart,
mousePosition,
nil,
nil,
nil,
nil,
nil,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
end
return nil
end
local SharedTryTriggerbotShot
local SharedGetBestTriggerbotTarget
local GetBestTriggerbotTarget
do
local function IsMeleeFastFireItem(item)
local info = item and item.Info or nil
return info and (info.Class == 'Melee' or info.Type == 'Melee') and true or false
end
local function ResolveTriggerbotShotInterval(item)
if MeleeFastFire.Enabled and IsMeleeFastFireItem(item) then return MeleeFastFire.IntervalSec end
local info = item and item.Info or nil
local shotInterval = 0.05
if type(info and info.ShootCooldown) == 'number' then shotInterval = math.max(shotInterval, info.ShootCooldown) end
if type(info and info.ShootBurstCooldown) == 'number' then
shotInterval = math.max(shotInterval, info.ShootBurstCooldown)
end
if type(info and info.QuickShotCooldown) == 'number' then
shotInterval = math.max(shotInterval, info.QuickShotCooldown)
end
if type(info and info.ChargeReleaseCooldown) == 'number' then
shotInterval = math.max(shotInterval, info.ChargeReleaseCooldown)
end
if type(info and info.AttackCooldown) == 'number' then
shotInterval = math.max(shotInterval, info.AttackCooldown)
end
if type(info and info.BladeCooldown) == 'number' then shotInterval = math.max(shotInterval, info.BladeCooldown) end
local weaponSpeedScale = ResolveRivalsWeaponSpeedScale()
return math.max(0.05, shotInterval * weaponSpeedScale)
end
AimbotBridge.IsShotImmediatelyReady = function(item)
if not item then return false end
local interval = ResolveTriggerbotShotInterval(item)
local lastAt = (MeleeFastFire.Enabled and IsMeleeFastFireItem(item)) and MeleeFastFire.LastShotAt
or AimbotTriggerbotLastShotAt
if (tick() - lastAt) < interval then return false end
if AimbotBridge.ReadAimbotReloadRemaining(item) > 0 then return false end
if AimbotBridge.ReadAimbotShootRemaining(item) > 0 then return false end
if AimbotBridge.ReadAimbotIsCharging(item) then return false end
return true
end
local function IsTriggerbotHoldItem(item) return item and item.Name == 'Flamethrower' end
local function FireTriggerbotShot()
if not RivalsRuntimeBridge.IsReadyToFight() then
RivalsRuntimeBridge.LogDiagnosticEvent('Triggerbot', 'Refused FireTriggerbotShot: gate closed')
return false
end
if AimbotInputState.SyntheticInputBlocked() then return false end
local now = tick()
local item = AimbotBridge.ResolveAimbotEquippedItem()
local isMelee = MeleeFastFire.Enabled and IsMeleeFastFireItem(item)
local floor = isMelee and MeleeFastFire.IntervalSec or 0.05
local lastAt = isMelee and MeleeFastFire.LastShotAt or AimbotTriggerbotLastShotAt
if (now - lastAt) < floor then return false end
local pointerPosition = AimbotBridge.GetAimbotPointerPosition()
local virtualInputManager = Instance.new('VirtualInputManager')
virtualInputManager:SendMouseButtonEvent(pointerPosition.X, pointerPosition.Y, 0, true, game, 1)
if IsTriggerbotHoldItem(item) then
AimbotSilentConnections.TriggerbotHoldingMouse = true
AimbotSilentConnections.TriggerbotHoldX = pointerPosition.X
AimbotSilentConnections.TriggerbotHoldY = pointerPosition.Y
else
task.defer(
function() virtualInputManager:SendMouseButtonEvent(pointerPosition.X, pointerPosition.Y, 0, false, game, 1) end
)
end
if isMelee then
MeleeFastFire.LastShotAt = now
else
AimbotTriggerbotLastShotAt = now
end
return true
end
local function TryTriggerbotShot(targetInfo, item, shouldPrime)
if not targetInfo or not item or AimbotInputState.LeftMouse then
AimbotBridge.ReleaseTriggerbotMouseHold()
AimbotBridge.ResetTriggerbotReactionState()
return false
end
if not RivalsRuntimeBridge.IsReadyToFight() then
RivalsRuntimeBridge.LogDiagnosticEvent('Triggerbot', 'Refused: gate closed')
AimbotBridge.ReleaseTriggerbotMouseHold()
AimbotBridge.ResetTriggerbotReactionState()
return false
end
if targetInfo.player and IsRivalsSpawnShieldActive(targetInfo.player.Character) then
AimbotBridge.ReleaseTriggerbotMouseHold()
AimbotBridge.ResetTriggerbotReactionState()
return false
end
if not RivalsRuntimeBridge.Extras.TriggerAllowed(targetInfo, item) then
AimbotBridge.ReleaseTriggerbotMouseHold()
AimbotBridge.ResetTriggerbotReactionState()
return false
end
local now = tick()
local targetIdentity = targetInfo.player or targetInfo.instance or targetInfo.part
local reactionTime = Options.P2S1S7 and Options.P2S1S7.Value or 0
if AimbotSilentConnections.TriggerbotTarget ~= targetIdentity then
AimbotSilentConnections.TriggerbotTarget = targetIdentity
AimbotSilentConnections.TriggerbotTargetAcquiredAt = now
if reactionTime > 0 then
AimbotBridge.ReleaseTriggerbotMouseHold()
return false
end
elseif (now - AimbotSilentConnections.TriggerbotTargetAcquiredAt) < reactionTime then
AimbotBridge.ReleaseTriggerbotMouseHold()
return false
end
local holdTriggerbot = IsTriggerbotHoldItem(item)
if holdTriggerbot and AimbotSilentConnections.TriggerbotHoldingMouse then
if shouldPrime and RivalsRuntimeBridge.AimbotHitChance.Hold() then
RivalsRuntimeBridge.PrimeAimbotAim(targetInfo, item)
end
return true
end
if
AimbotBridge.ReadAimbotReloadRemaining(item) > 0
or AimbotBridge.ReadAimbotShootRemaining(item) > 0
or AimbotBridge.ReadAimbotIsCharging(item)
then
AimbotBridge.ReleaseTriggerbotMouseHold()
return false
end
local triggerbotInterval = ResolveTriggerbotShotInterval(item)
local isMelee = MeleeFastFire.Enabled and IsMeleeFastFireItem(item)
local gateLastAt = isMelee and MeleeFastFire.LastShotAt or AimbotTriggerbotLastShotAt
if (now - gateLastAt) < triggerbotInterval then return false end
if shouldPrime and RivalsRuntimeBridge.AimbotHitChance.Arm() then
RivalsRuntimeBridge.PrimeAimbotAim(targetInfo, item)
end
if not holdTriggerbot then AimbotBridge.ReleaseTriggerbotMouseHold() end
return FireTriggerbotShot()
end
local CollectBestAimbotTarget = function(requireVisible, ignoreFovOverride)
EnsureAimbotTargetTracking()
local aimPart = Options.P2S1D2 and Options.P2S1D2.Value or 'Auto'
local fovRadius = Options.P2S1S2 and Options.P2S1S2.Value or 170
local maxDistance = DEFAULT_ESP_MAX_DISTANCE
local ignoreFov = ignoreFovOverride
if ignoreFov == nil then ignoreFov = AimbotBridge.IsAimbotIgnoreFovEnabled() end
local mousePosition = AimbotBridge.GetAimbotPointerPosition()
local camera = Workspace.CurrentCamera
if not camera then return nil end
local bestTarget = nil
for _, fighter in ipairs(LocalFighterController and LocalFighterController.Objects or {}) do
local player = fighter and fighter.Player
if player and player ~= LP and player.Parent == Players then
local entity = fighter.Entity
local subject = entity and entity.Model
if not ShouldShow(player, false) then
RivalsRuntimeBridge.RecordTargetValidityRejection('team_or_self', subject, player, 'Players')
elseif FighterDataCache.ReadEntity(entity) then
RivalsRuntimeBridge.RecordTargetValidityRejection('invincible', subject, player, 'Players')
elseif
ShouldIgnoreRivalsRiotShieldTarget(
player,
subject or player.Character,
AimbotBridge.ResolveAimbotEquippedItem()
)
then
RivalsRuntimeBridge.RecordTargetValidityRejection('riot_shield', subject, player, 'Players')
else
bestTarget = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
bestTarget,
subject,
'Players',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
player,
camera,
AIMBOT_VISIBILITY_CACHE_PROFILE,
requireVisible
)
end
end
end
for model in pairs(TrackedRangeTargets) do
if not model.Parent then
TrackedRangeTargets[model] = nil
else
bestTarget = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
bestTarget,
model,
'Range Targets',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
nil,
camera,
AIMBOT_VISIBILITY_CACHE_PROFILE,
requireVisible
)
end
end
for model in pairs(TrackedPracticeDummies) do
if not model.Parent then
TrackedPracticeDummies[model] = nil
else
bestTarget = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
bestTarget,
model,
'Practice Dummies',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
nil,
camera,
AIMBOT_VISIBILITY_CACHE_PROFILE,
requireVisible
)
end
end
RivalsRuntimeBridge.LastAimbotSweepTarget = bestTarget
RivalsRuntimeBridge.LastAimbotSweepAt = os.clock()
return bestTarget
end
local GetBestAimbotTarget = CollectBestAimbotTarget
local _rawGetBestAimbotTarget = GetBestAimbotTarget
local function FindBestZombieAimbotTarget(requireVisible, ignoreFovOverride)
local toggle = Toggles and Toggles.EventZombieIncludeInAimbot
if not (toggle and toggle.Value == true) then return nil end
local ec = ResolveEnemyController()
if not ec then return nil end
local camera = Workspace.CurrentCamera
if not camera then return nil end
local aimPart = 'Auto'
local aimPartOption = Options and Options.EventZombieAimPart
if aimPartOption and type(aimPartOption.Value) == 'string' then aimPart = aimPartOption.Value end
local fovRadius = Options.P2S1S2 and Options.P2S1S2.Value or 170
local maxDistance = DEFAULT_ESP_MAX_DISTANCE
local ignoreFov = ignoreFovOverride
if ignoreFov == nil then ignoreFov = AimbotBridge.IsAimbotIgnoreFovEnabled() end
local mousePosition = AimbotBridge.GetAimbotPointerPosition()
local best = nil
for _, enemy in ipairs(ec.Objects or {}) do
local model = enemy.Model or (enemy.Entity and rawget(enemy.Entity, 'Model'))
if model and model.Parent then
local name = model.Name
local isDummy = name == 'Target' or name == 'Dummy' or name == 'DPS Dummy'
if not isDummy and (model:FindFirstChildOfClass('Humanoid') or model:FindFirstChild('HitboxHead')) then
local towerKit = RivalsRuntimeBridge.TowerKit
if towerKit and towerKit.Aim then
local info = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
nil,
model,
'Practice Dummies',
towerKit.Aim.SilentPart(model),
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
nil,
camera,
AIMBOT_VISIBILITY_CACHE_PROFILE,
requireVisible
)
if info then
local selection = towerKit.Aim.SilentSelection(model, info.selectionDistance)
if selection ~= nil then
info.selectionDistance = selection
if not best or selection < best.selectionDistance then best = info end
end
end
else
best = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
best,
model,
'Practice Dummies',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
nil,
camera,
AIMBOT_VISIBILITY_CACHE_PROFILE,
requireVisible
)
end
end
end
end
return best
end
GetBestAimbotTarget = function(requireVisible, ignoreFovOverride)
local humanBest = _rawGetBestAimbotTarget(requireVisible, ignoreFovOverride)
local zombieBest = FindBestZombieAimbotTarget(requireVisible, ignoreFovOverride)
if not zombieBest then return humanBest end
if not humanBest then return zombieBest end
if zombieBest.selectionDistance < humanBest.selectionDistance then return zombieBest end
return humanBest
end
RivalsRuntimeBridge.GetBestAimbotTarget = GetBestAimbotTarget
-- ======================================================================
-- Aimbot targeting rules (priority, delays, lock)
-- ======================================================================
RivalsRuntimeBridge.AimbotTargeting = {
Committed = nil,
Pending = nil,
PendingSince = 0,
Challenger = nil,
ChallengerSince = 0,
LastCallAt = 0,
LastTarget = nil,
LastTargetAt = 0,
SpringPitch = 0,
SpringYaw = 0,
Circle = nil,
CircleAngle = 0,
}
function RivalsRuntimeBridge.AimbotTargeting.ReadToggle(optionId)
return Toggles and Toggles[optionId] and Toggles[optionId].Value == true
end
function RivalsRuntimeBridge.AimbotTargeting.ReadNumber(optionId, fallback)
local option = Options and Options[optionId]
local value = option and tonumber(option.Value)
if value == nil then return fallback end
return value
end
-- Re-ranks candidates by the chosen priority. The result replaces selectionDistance, and the lowest value wins.
function RivalsRuntimeBridge.AimbotTargeting.ApplyPriority(base, subject, player, worldDistance)
local option = Options and Options.PX6D2
local mode = option and option.Value
if mode == nil or mode == 'Crosshair' then return base end
if mode == 'Nearest' then
return worldDistance
elseif mode == 'Lowest Health' then
local humanoid = subject and subject:FindFirstChildOfClass('Humanoid')
local health = humanoid and humanoid.Health or 100
return health + math.min(base, 9999) / 10000
elseif mode == 'Cheaters First' then
local detector = RivalsRuntimeBridge.CheaterDetector
if player and detector and detector.IsFlagged(player) then return base - 1e7 end
end
return base
end
function RivalsRuntimeBridge.AimbotTargeting.ResetSpring()
RivalsRuntimeBridge.AimbotTargeting.SpringPitch = 0
RivalsRuntimeBridge.AimbotTargeting.SpringYaw = 0
end
function RivalsRuntimeBridge.AimbotTargeting.Reset()
local targeting = RivalsRuntimeBridge.AimbotTargeting
targeting.Committed = nil
targeting.Pending = nil
targeting.Challenger = nil
targeting.LastTarget = nil
targeting.ResetSpring()
end
function RivalsRuntimeBridge.AimbotTargeting.Hold(info, keepChallenger)
local targeting = RivalsRuntimeBridge.AimbotTargeting
targeting.Committed = info
targeting.Pending = nil
if not keepChallenger then targeting.Challenger = nil end
targeting.LastTarget = info
targeting.LastTargetAt = os.clock()
return info
end
-- Wraps the raw best target with reaction delay, switch delay and target lock.
-- With every option at its default this returns the raw target unchanged.
function RivalsRuntimeBridge.AimbotTargeting.Filter(best)
local targeting = RivalsRuntimeBridge.AimbotTargeting
local now = os.clock()
local reaction = targeting.ReadNumber('PX6S1', 0)
local switchDelay = targeting.ReadNumber('PX6S2', 0)
local lock = targeting.ReadToggle('PX6T1')
if reaction <= 0 and switchDelay <= 0 and not lock then
targeting.Committed = nil
targeting.Pending = nil
targeting.Challenger = nil
targeting.LastCallAt = now
if best then
targeting.LastTarget = best
targeting.LastTargetAt = now
end
return best
end
local sticky = lock and Options.PX6D1 and Options.PX6D1.Value == 'Until Invalid'
if not sticky and now - targeting.LastCallAt > 0.3 then
targeting.Committed = nil
targeting.Pending = nil
targeting.Challenger = nil
end
targeting.LastCallAt = now
local current = nil
if targeting.Committed then
current = RivalsRuntimeBridge.RefreshAimbotTargetInfo(
targeting.Committed,
Options.P2S1D2 and Options.P2S1D2.Value or 'Auto',
AimbotBridge.GetAimbotPointerPosition(),
DEFAULT_ESP_MAX_DISTANCE
)
if not current then
targeting.Committed = nil
targeting.Challenger = nil
end
end
if not current then
if not best then
targeting.Pending = nil
return nil
end
if reaction <= 0 then return targeting.Hold(best) end
if targeting.Pending ~= best.instance then
targeting.Pending = best.instance
targeting.PendingSince = now
end
if now - targeting.PendingSince >= reaction then return targeting.Hold(best) end
return nil
end
if lock or not best or best.instance == current.instance then return targeting.Hold(current) end
if switchDelay <= 0 then return targeting.Hold(best) end
if targeting.Challenger ~= best.instance then
targeting.Challenger = best.instance
targeting.ChallengerSince = now
end
if now - targeting.ChallengerSince >= switchDelay then return targeting.Hold(best) end
return targeting.Hold(current, true)
end
RivalsRuntimeBridge.GetFilteredAimbotTarget = function(requireVisible, ignoreFovOverride)
return RivalsRuntimeBridge.AimbotTargeting.Filter(GetBestAimbotTarget(requireVisible, ignoreFovOverride))
end
-- ======================================================================
-- Combat Bot
-- ======================================================================
-- Combat Bot: hands-free fighting that uses the normal silent aim + triggerbot pipeline
-- (via AimbotBridge.IsRagebotForcingCombat) plus ordinary Humanoid movement input.
-- It never touches shot packets or positions, so the server only ever sees normal play.
RivalsRuntimeBridge.CombatBot = {
Strafe = 1,
NextStrafeAt = 0,
NextHopAt = 0,
LastReloadAt = 0,
LastSwapAt = 0,
Moving = false,
Bound = false,
}
function RivalsRuntimeBridge.CombatBot.IsActive()
if not (Toggles and Toggles.PX14T1 and Toggles.PX14T1.Value == true) then return false end
local picker = Options and Options.PX14T1K
if picker and type(picker.GetState) == 'function' then return picker:GetState() == true end
return true
end
function RivalsRuntimeBridge.CombatBot.ReadAmmo(item)
local ok, ammo = pcall(function() return item:Get('Ammo') end)
if ok and type(ammo) == 'number' then return ammo end
return nil
end
function RivalsRuntimeBridge.CombatBot.IsMelee(item)
local info = type(item) == 'table' and item.Info or nil
return type(info) == 'table' and (info.Class == 'Melee' or info.Type == 'Melee')
end
function RivalsRuntimeBridge.CombatBot.TapKey(keyCode)
local virtualInputManager = Instance.new('VirtualInputManager')
virtualInputManager:SendKeyEvent(true, keyCode, false, game)
virtualInputManager:SendKeyEvent(false, keyCode, false, game)
end
function RivalsRuntimeBridge.CombatBot.FindSlotItem(items, slot)
local direct = items[slot] or items[tostring(slot)]
if type(direct) == 'table' then return direct end
for key, item in pairs(items) do
if type(item) == 'table' then
local ok, value = pcall(
function() return tonumber(item:Get('Slot') or item:Get('Index') or item:Get('ItemSlot') or key) end
)
if ok and value == slot then return item end
end
end
return nil
end
function RivalsRuntimeBridge.CombatBot.TrySwap(now, current)
local bot = RivalsRuntimeBridge.CombatBot
if now - bot.LastSwapAt < 0.4 then return false end
local fighter = ResolveLocalFighter()
local items = fighter and type(fighter.Items) == 'table' and fighter.Items or nil
if not items then return false end
for slot = 1, 3 do
local candidate = bot.FindSlotItem(items, slot)
if candidate and candidate ~= current and not bot.IsMelee(candidate) then
local ammo = bot.ReadAmmo(candidate)
if ammo == nil or ammo > 0 then
bot.LastSwapAt = now
local ok = pcall(function() fighter:EquipItem(slot) end)
if not ok then bot.TapKey(({ Enum.KeyCode.One, Enum.KeyCode.Two, Enum.KeyCode.Three })[slot]) end
return true
end
end
end
return false
end
-- Reloads or swaps away from an empty gun.
function RivalsRuntimeBridge.CombatBot.ManageWeapon()
local bot = RivalsRuntimeBridge.CombatBot
if not (Toggles.PX14T3 and Toggles.PX14T3.Value == true) then return end
local item = AimbotBridge.ResolveAimbotEquippedItem()
if type(item) ~= 'table' or bot.IsMelee(item) then return end
local ammo = bot.ReadAmmo(item)
if ammo == nil or ammo > 0 or AimbotBridge.ReadAimbotReloadRemaining(item) > 0 then return end
local now = os.clock()
local mode = Options.PX14D2 and Options.PX14D2.Value or 'Reload'
if mode == 'Swap' and bot.TrySwap(now, item) then return end
if now - bot.LastReloadAt >= 1 then
bot.LastReloadAt = now
bot.TapKey(Enum.KeyCode.R)
end
end
-- Ordinary strafing / hopping through Humanoid input, only while a target is engaged and you are not steering.
function RivalsRuntimeBridge.CombatBot.UpdateMovement()
local bot = RivalsRuntimeBridge.CombatBot
local mode = Options and Options.PX14D3 and Options.PX14D3.Value or 'Off'
local targeting = RivalsRuntimeBridge.AimbotTargeting
local target = targeting.LastTarget
local engaged = mode ~= 'Off' and bot.IsActive() and target ~= nil and os.clock() - targeting.LastTargetAt < 0.5
local character = LP.Character
local humanoid = character and character:FindFirstChildOfClass('Humanoid')
if not engaged or not humanoid or humanoid.Health <= 0 or not RivalsRuntimeBridge.IsReadyToFight() then
bot.Moving = false
return
end
if not bot.Moving and humanoid.MoveDirection.Magnitude > 0.1 then return end
bot.Moving = true
local now = os.clock()
local lead = 0
if Toggles.PX14T2 and Toggles.PX14T2.Value == true then
local theirs = typeof(target.instance) == 'Instance' and target.instance:FindFirstChildOfClass('Humanoid')
or nil
if theirs then
lead = humanoid.Health / math.max(humanoid.MaxHealth, 1) - theirs.Health / math.max(theirs.MaxHealth, 1)
end
end
-- behind on health: change direction faster and hop more; well ahead: stay steadier
local pace = lead < -0.05 and 0.65 or (lead > 0.25 and 1.4 or 1)
if now >= bot.NextStrafeAt then
local interval = math.clamp(tonumber(Options.PX14S1 and Options.PX14S1.Value) or 0.45, 0.1, 3)
bot.NextStrafeAt = now + interval * pace * (0.6 + math.random() * 0.8)
bot.Strafe = (math.random() < 0.5) and -1 or 1
if mode == 'Random' then
bot.Forward = math.random(-1, 1)
else
bot.Forward = 0
end
end
if now >= bot.NextHopAt then
bot.NextHopAt = now + (0.8 + math.random() * 1.2) * pace
local chance = math.clamp(tonumber(Options.PX14S2 and Options.PX14S2.Value) or 30, 0, 100) / 100
if math.random() < chance and humanoid.FloorMaterial ~= Enum.Material.Air then humanoid.Jump = true end
end
humanoid:Move(Vector3.new(bot.Strafe, 0, bot.Forward or 0), true)
end
function RivalsRuntimeBridge.CombatBot.Step()
local bot = RivalsRuntimeBridge.CombatBot
if not bot.IsActive() then
bot.Moving = false
return
end
bot.UpdateMovement()
end
function RivalsRuntimeBridge.CombatBot.Start()
local bot = RivalsRuntimeBridge.CombatBot
if bot.Bound then return end
bot.Bound = true
-- after the default controls (Input priority) so the strafe input wins for that frame
RunService:BindToRenderStep('ZkxHubCombatBotMove', Enum.RenderPriority.Input.Value + 1, bot.Step)
task.spawn(function()
while bot.Bound do
task.wait(0.2)
if bot.IsActive() then pcall(bot.ManageWeapon) end
end
end)
end
function RivalsRuntimeBridge.CombatBot.Destroy()
local bot = RivalsRuntimeBridge.CombatBot
if bot.Bound then
bot.Bound = false
pcall(function() RunService:UnbindFromRenderStep('ZkxHubCombatBotMove') end)
end
bot.Moving = false
end
-- Snapline. The target record the aimbot keeps is only refreshed when the aimbot looks: every frame for camera aim, but for hitscan guns
-- only at the moment of a shot. So the line is drawn from (a) that record while it is fresh, else (b) a preview of the target the
-- aimbot would take if you fired now, and its end is re-projected from the part's CURRENT position every frame, so it follows without lag.
-- Preview is only allowed when the aimbot could act: with the Silent Aim rules on and 'scoped in' required it shows the moment the scope is
-- up; otherwise while aim / fire is held. Smoothing only shapes the appearance (slide between targets, fade); 0 = hard snap.
RivalsRuntimeBridge.AimbotTargeting.Preview = { Info = nil, At = 0 }
RivalsRuntimeBridge.AimbotTargeting.Line = { Info = nil, Subject = nil, Offset = Vector3.zero, Glide = Vector2.zero, Alpha = 0, Shown = false, Switched = false, DrawnEnd = nil }
function RivalsRuntimeBridge.AimbotTargeting.PreviewAllowed()
local extras = RivalsRuntimeBridge.Extras
if not AimbotBridge.IsAimbotSelected() or not IsAimbotGameReady() then return false end
local item = AimbotBridge.ResolveAimbotEquippedItem()
if not AimbotBridge.CanUseAimbotWithItem(item) then return false end
local held = AimbotBridge.IsAimbotShootInputHeld()
if not held and not AimbotBridge.IsAimbotEnabled() then return false end
if type(extras) ~= 'table' then return held end
if type(extras.ActivationOk) == 'function' and extras.ActivationOk(item) == false then return false end
if type(extras.RulesOn) == 'function' and extras.RulesOn() and extras.Tog('KPA2', false) then return true end
return held
end
-- the target the aimbot would take right now, without touching the reaction / switch delay state
function RivalsRuntimeBridge.AimbotTargeting.PeekTarget()
local targeting = RivalsRuntimeBridge.AimbotTargeting
local committed = targeting.Committed
if committed and targeting.ReadToggle('PX6T1') then
local refreshed = RivalsRuntimeBridge.RefreshAimbotTargetInfo(
committed,
Options.P2S1D2 and Options.P2S1D2.Value or 'Auto',
AimbotBridge.GetAimbotPointerPosition(),
DEFAULT_ESP_MAX_DISTANCE
)
if refreshed then return refreshed end
end
return RivalsRuntimeBridge.GetBestAimbotTarget()
end
function RivalsRuntimeBridge.AimbotTargeting.PreviewTarget()
local targeting = RivalsRuntimeBridge.AimbotTargeting
local preview = targeting.Preview
local okAllowed, allowed = pcall(targeting.PreviewAllowed)
if not okAllowed or not allowed then
preview.Info, preview.At = nil, 0
return nil
end
local now = os.clock()
local info = preview.Info
if info and info.part and info.part.Parent and now - preview.At < 0.05 then return info end
preview.At = now
local ok, found = pcall(targeting.PeekTarget)
preview.Info = ok and found or nil
return preview.Info
end
function RivalsRuntimeBridge.AimbotTargeting.UpdateSnapline(info, camera, deltaTime)
local targeting = RivalsRuntimeBridge.AimbotTargeting
local state = targeting.Line
local line = targeting.Snapline
local dt = math.clamp(type(deltaTime) == 'number' and deltaTime or 1 / 60, 0, 0.1)
local smoothing = math.clamp(targeting.ReadNumber('PX8S6', 35), 0, 100) / 100
local instant = smoothing <= 0
local viewport = camera and camera.ViewportSize or Vector2.new(0, 0)
local mode = Options and Options.PX8D1 and Options.PX8D1.Value or 'Crosshair'
local origin
if mode == 'Mouse' then
origin = UserInputService:GetMouseLocation()
elseif mode == 'Bottom' then
origin = Vector2.new(viewport.X / 2, viewport.Y)
elseif mode == 'Top' then
origin = Vector2.new(viewport.X / 2, 0)
else
origin = Vector2.new(viewport.X / 2, viewport.Y / 2)
end
local screenEnd = nil
if info and camera then
local part = info.part
if part and part.Parent then
if state.Info ~= info then
-- a new record: remember where its aim point sits relative to the part, and re-apply that to the part's live position
local world = info.worldPosition
local offset = typeof(world) == 'Vector3' and (world - part.Position) or Vector3.zero
state.Offset = offset.Magnitude < 8 and offset or Vector3.zero
state.Info = info
local subject = info.player or info.instance or part
if state.Subject ~= subject then
state.Subject = subject
state.Switched = true
end
end
local screen, onScreen = camera:WorldToViewportPoint(part.Position + state.Offset)
if onScreen and screen.Z > 0 then screenEnd = Vector2.new(screen.X, screen.Y) end
end
end
if screenEnd and (state.Switched or not state.Shown) then
-- first frame on a target: slide in from where the line was (or out of the origin) instead of jumping
if instant then
state.Glide = Vector2.zero
else
state.Glide = (state.Shown and state.DrawnEnd or origin) - screenEnd
end
state.Switched = false
end
if instant then
state.Glide = Vector2.zero
else
state.Glide = state.Glide * math.exp(-dt * (80 - 72 * smoothing))
if state.Glide.Magnitude < 0.3 then state.Glide = Vector2.zero end
end
local goal = screenEnd and 1 or 0
if instant then
state.Alpha = goal
else
state.Alpha = state.Alpha + (goal - state.Alpha) * (1 - math.exp(-dt * (goal == 1 and 40 or 18)))
if math.abs(goal - state.Alpha) < 0.02 then state.Alpha = goal end
end
if state.Alpha <= 0 or (not screenEnd and not state.DrawnEnd) then
if line then line.Visible = false end
state.Shown, state.Subject, state.Info, state.DrawnEnd, state.Switched = false, nil, nil, nil, false
return
end
if not line then
line = Drawing.new('Line')
targeting.Snapline = line
end
-- fading out (no target any more): hold the last place
local finalEnd = screenEnd and (screenEnd + state.Glide) or state.DrawnEnd
state.DrawnEnd = finalEnd
state.Shown = true
local color
if targeting.ReadToggle('PX8T5') then
color = Color3.fromHSV((os.clock() * targeting.ReadNumber('PX8S4', 3) * 0.08) % 1, 0.9, 1)
else
local colorOption = Options and Options.PX8C2
color = colorOption and colorOption.Value or Color3.new(1, 1, 1)
end
line.From = origin
line.To = finalEnd
line.Thickness = targeting.ReadNumber('PX8S5', 1)
line.Color = color
line.Transparency = state.Alpha
line.Visible = true
end
function RivalsRuntimeBridge.AimbotTargeting.UpdateCircle(deltaTime)
local targeting = RivalsRuntimeBridge.AimbotTargeting
local circle = targeting.Circle
local target = targeting.LastTarget
local camera = Workspace.CurrentCamera
local wantCircle, wantLine = targeting.ReadToggle('PX8T1'), targeting.ReadToggle('PX8T4')
local fresh = target ~= nil and os.clock() - targeting.LastTargetAt < 0.25
local position = nil
if wantCircle and fresh and camera then
local part = target.part
if part and part.Parent then
local screen, onScreen = camera:WorldToViewportPoint(target.worldPosition or part.Position)
if onScreen and screen.Z > 0 then position = Vector2.new(screen.X, screen.Y) end
end
end
local lineTarget = nil
if wantLine and camera then lineTarget = fresh and target or targeting.PreviewTarget() end
targeting.UpdateSnapline(lineTarget, camera, deltaTime)
if not position or not wantCircle then
if circle then circle.Visible = false end
return
end
if not circle then
circle = Drawing.new('Circle')
circle.NumSides = 48
targeting.Circle = circle
end
local radius = targeting.ReadNumber('PX8S1', 18)
if targeting.ReadToggle('PX8T3') then
targeting.CircleAngle = (
targeting.CircleAngle
+ (type(deltaTime) == 'number' and deltaTime or 1 / 60) * targeting.ReadNumber('PX8S3', 3)
) % (math.pi * 2)
radius = radius * (1 + 0.18 * math.sin(targeting.CircleAngle))
end
local filled = targeting.ReadToggle('PX8T2')
local colorOption = Options and Options.PX8C1
circle.Position = position
circle.Radius = radius
circle.Thickness = targeting.ReadNumber('PX8S2', 2)
circle.Filled = filled
circle.Color = colorOption and colorOption.Value or Color3.fromRGB(255, 70, 70)
circle.Transparency = filled and 0.35 or 0.9
circle.Visible = true
end
function RivalsRuntimeBridge.AimbotTargeting.Destroy()
local targeting = RivalsRuntimeBridge.AimbotTargeting
if targeting.Circle then
pcall(function()
targeting.Circle.Visible = false
targeting.Circle:Remove()
end)
end
if targeting.Snapline then
pcall(function()
targeting.Snapline.Visible = false
targeting.Snapline:Remove()
end)
end
targeting.Snapline = nil
targeting.Line = { Info = nil, Subject = nil, Offset = Vector3.zero, Glide = Vector2.zero, Alpha = 0, Shown = false, Switched = false, DrawnEnd = nil }
targeting.Preview = { Info = nil, At = 0 }
targeting.Circle = nil
targeting.Reset()
end
function RivalsRuntimeBridge.FlickbotNormal(rng, mean, standardDeviation)
local first = math.max(rng:NextNumber(), 1e-15)
local second = rng:NextNumber()
return mean + standardDeviation * (math.sqrt(-2 * math.log(first)) * math.cos(2 * math.pi * second))
end
function RivalsRuntimeBridge.FlickbotGamma(rng, shape, scale)
local factor = 1
if shape < 1 then
factor = rng:NextNumber() ^ (1 / shape)
shape = shape + 1
end
local adjustedShape = shape - (1 / 3)
local root = math.sqrt(9 * adjustedShape)
while true do
local sample = RivalsRuntimeBridge.FlickbotNormal(rng, 0, 1)
local candidate = (1 + (sample / root)) ^ 3
if candidate > 0 then
local uniform = math.max(rng:NextNumber(), 1e-15)
if
uniform < 1 - (0.0331 * sample ^ 4)
or math.log(uniform)
< (0.5 * sample * sample) + adjustedShape * (1 - candidate + math.log(candidate))
then
return adjustedShape * candidate * scale * factor
end
end
end
end
function RivalsRuntimeBridge.FlickbotErf(value)
local sign = value < 0 and -1 or 1
local magnitude = math.abs(value)
local factor = 1 / (1 + 0.3275911 * magnitude)
local polynomial = 0.254829592 * factor
- 0.284496736 * factor ^ 2
+ 1.421413741 * factor ^ 3
- 1.453152027 * factor ^ 4
+ 1.061405429 * factor ^ 5
return sign * (1 - polynomial * math.exp(-magnitude * magnitude))
end
function RivalsRuntimeBridge.FlickbotLognormalCdf(timeMs, startMs, mean, sigma)
if timeMs <= startMs then return 0 end
return 0.5 * (1 + RivalsRuntimeBridge.FlickbotErf((math.log(timeMs - startMs) - mean) / (sigma * math.sqrt(2))))
end
function RivalsRuntimeBridge.FlickbotLognormalPdf(timeMs, startMs, mean, sigma)
if timeMs <= startMs then return 0 end
local elapsed = timeMs - startMs
local standardized = (math.log(elapsed) - mean) / sigma
return math.exp(-0.5 * standardized * standardized) / (sigma * math.sqrt(2 * math.pi) * elapsed)
end
function RivalsRuntimeBridge.FlickbotBump(value)
if value <= 0 or value >= 1 then return 0 end
return value * value * (1 - value) ^ 3 / 0.03456
end
function RivalsRuntimeBridge.ApplyFlickbotProfile()
local flickbot = RivalsRuntimeBridge.Flickbot
local durationMs = math.max(Options.P2S1S10 and Options.P2S1S10.Value or 110, 20)
flickbot.FittsA = durationMs / 4
flickbot.FittsB = durationMs / 4
flickbot.TargetWidth = 80
flickbot.PeakTimeRatio = 0.32
flickbot.PrimarySigmaMin = 0.2
flickbot.PrimarySigmaMax = 0.26
flickbot.UndershootMin = 0.97
flickbot.UndershootMax = 1
flickbot.OvershootProbability = 0.08
flickbot.OvershootMin = 1.01
flickbot.OvershootMax = 1.04
flickbot.SecondCorrectionProbability = 0
flickbot.CorrectionSigmaMin = 0.1
flickbot.CorrectionSigmaMax = 0.14
flickbot.CurvatureScale = math.clamp(Options.P2S1S11 and Options.P2S1S11.Value or 12, 0, 50) / 1000
local humanness = math.clamp(Options.P2S1S12 and Options.P2S1S12.Value or 30, 0, 100) / 30
flickbot.OuSigma = 0.5 * humanness
flickbot.TremorAmplitudeMin = 0.05 * humanness
flickbot.TremorAmplitudeMax = 0.18 * humanness
flickbot.SignalDependentNoise = 0.02
end
function RivalsRuntimeBridge.GenerateFlickbotTrajectory(startX, startY, targetX, targetY)
RivalsRuntimeBridge.ApplyFlickbotProfile()
local flickbot = RivalsRuntimeBridge.Flickbot
local rng = flickbot.Rng
local function randomBetween(minimum, maximum) return minimum + rng:NextNumber() * (maximum - minimum) end
local function normal(mean, standardDeviation)
return RivalsRuntimeBridge.FlickbotNormal(rng, mean, standardDeviation)
end
local deltaX = targetX - startX
local deltaY = targetY - startY
local distance = math.sqrt(deltaX * deltaX + deltaY * deltaY)
if distance < 1 then return {} end
local directionX = deltaX / distance
local directionY = deltaY / distance
local directionAngle = math.atan2(deltaY, deltaX)
local indexOfDifficulty = math.log(distance / flickbot.TargetWidth + 1) / math.log(2)
local duration = math.max((flickbot.FittsA + flickbot.FittsB * indexOfDifficulty) * math.exp(normal(0, 0.08)), 80)
local distanceFactor
if randomBetween(0, 1) < flickbot.OvershootProbability then
distanceFactor = randomBetween(flickbot.OvershootMin, flickbot.OvershootMax)
else
distanceFactor = randomBetween(flickbot.UndershootMin, flickbot.UndershootMax)
end
local primaryDistance = distance * distanceFactor
local primarySigma = randomBetween(flickbot.PrimarySigmaMin, flickbot.PrimarySigmaMax)
local peakRatio = randomBetween(flickbot.PeakTimeRatio - 0.03, flickbot.PeakTimeRatio + 0.03)
local primaryMean = math.log(duration * peakRatio) + primarySigma * primarySigma
local corrections = {}
local remaining = distance - primaryDistance
if math.abs(remaining) > 0.5 then
local sign = remaining > 0 and 1 or -1
local correctionDistance = math.abs(remaining) * randomBetween(0.88, 1.02)
local correctionSigma = randomBetween(flickbot.CorrectionSigmaMin, flickbot.CorrectionSigmaMax)
local correctionPeak = randomBetween(0.12, 0.18)
corrections[#corrections + 1] = {
distance = correctionDistance,
startMs = duration * randomBetween(0.55, 0.68),
mean = math.log(duration * correctionPeak) + correctionSigma * correctionSigma,
sigma = correctionSigma,
directionX = directionX * sign,
directionY = directionY * sign,
}
local secondRemaining = remaining - correctionDistance * sign
if math.abs(secondRemaining) > 0.3 and randomBetween(0, 1) < flickbot.SecondCorrectionProbability then
local secondSign = secondRemaining > 0 and 1 or -1
local secondSigma = randomBetween(0.1, 0.16)
local secondPeak = randomBetween(0.08, 0.12)
corrections[#corrections + 1] = {
distance = math.abs(secondRemaining) * randomBetween(0.85, 1.05),
startMs = duration * randomBetween(0.78, 0.88),
mean = math.log(duration * secondPeak) + secondSigma * secondSigma,
sigma = secondSigma,
directionX = directionX * secondSign,
directionY = directionY * secondSign,
}
end
end
local angleScale = 0.5 + 0.8 * math.abs(math.sin(directionAngle)) - 0.15 * math.abs(math.cos(directionAngle))
local curvature = distance * flickbot.CurvatureScale * angleScale * normal(0, 1)
local tremorFrequency = randomBetween(flickbot.TremorFrequencyMin, flickbot.TremorFrequencyMax)
local tremorAmplitude = randomBetween(flickbot.TremorAmplitudeMin, flickbot.TremorAmplitudeMax)
local tremorPhaseX = randomBetween(0, 2 * math.pi)
local tremorPhaseY = randomBetween(0, 2 * math.pi)
local noiseX = 0
local noiseY = 0
local endTime = duration * 1.15
local sampleTimes = {}
local sampleTime = 0
while sampleTime < endTime do
sampleTime = sampleTime
+ math.clamp(
RivalsRuntimeBridge.FlickbotGamma(
rng,
flickbot.GammaShape,
flickbot.SampleDeltaMean / flickbot.GammaShape
),
2,
25
)
if sampleTime <= endTime + 15 then sampleTimes[#sampleTimes + 1] = sampleTime end
end
local trajectory = {}
for index, timeMs in ipairs(sampleTimes) do
local deltaMs = index > 1 and (timeMs - sampleTimes[index - 1]) or flickbot.SampleDeltaMean
local deltaSeconds = deltaMs / 1000
local primaryProgress = RivalsRuntimeBridge.FlickbotLognormalCdf(timeMs, 0, primaryMean, primarySigma)
local x = startX
+ directionX * primaryDistance * primaryProgress
- directionY * curvature * RivalsRuntimeBridge.FlickbotBump(primaryProgress)
local y = startY
+ directionY * primaryDistance * primaryProgress
+ directionX * curvature * RivalsRuntimeBridge.FlickbotBump(primaryProgress)
for _, correction in ipairs(corrections) do
local correctionProgress =
RivalsRuntimeBridge.FlickbotLognormalCdf(timeMs, correction.startMs, correction.mean, correction.sigma)
x = x + correction.directionX * correction.distance * correctionProgress
y = y + correction.directionY * correction.distance * correctionProgress
end
local velocity = primaryDistance
* RivalsRuntimeBridge.FlickbotLognormalPdf(timeMs, 0, primaryMean, primarySigma)
for _, correction in ipairs(corrections) do
velocity = velocity
+ correction.distance
* RivalsRuntimeBridge.FlickbotLognormalPdf(
timeMs,
correction.startMs,
correction.mean,
correction.sigma
)
end
noiseX = noiseX
+ (-flickbot.OuTheta * noiseX * deltaSeconds + flickbot.OuSigma * math.sqrt(deltaSeconds) * normal(0, 1))
noiseY = noiseY
+ (-flickbot.OuTheta * noiseY * deltaSeconds + flickbot.OuSigma * math.sqrt(deltaSeconds) * normal(0, 1))
local timeSeconds = timeMs / 1000
local tremorScale = 1 / (1 + velocity * 0.3)
local tremorX = math.sin(2 * math.pi * tremorFrequency * timeSeconds + tremorPhaseX)
local tremorY = math.sin(2 * math.pi * tremorFrequency * timeSeconds + tremorPhaseY)
trajectory[#trajectory + 1] = {
x = x
+ noiseX
+ tremorAmplitude * tremorScale * tremorX
+ flickbot.SignalDependentNoise * velocity * normal(0, 1),
y = y
+ noiseY
+ tremorAmplitude * tremorScale * tremorY
+ flickbot.SignalDependentNoise * velocity * normal(0, 1),
t = timeMs,
}
end
return trajectory
end
function RivalsRuntimeBridge.StartFlickbot()
local flickbot = RivalsRuntimeBridge.Flickbot
local camera = Workspace.CurrentCamera
if
RivalsRuntimeBridge.MovementRecorder.IsCameraClaimed()
or not camera
or not RivalsRuntimeBridge.IsReadyToFight()
then
return false
end
local targetInfo = GetBestAimbotTarget(true)
local targetPart = targetInfo and targetInfo.part or nil
if not targetPart or not targetPart.Parent then return false end
local targetPoint = camera:WorldToViewportPoint(targetPart.Position)
if targetPoint.Z <= 0 then return false end
local viewport = camera.ViewportSize
local generated =
RivalsRuntimeBridge.GenerateFlickbotTrajectory(viewport.X * 0.5, viewport.Y * 0.5, targetPoint.X, targetPoint.Y)
if #generated < 2 then return false end
local trajectory = table.create(#generated)
for index, point in ipairs(generated) do
trajectory[index] = {
direction = camera:ViewportPointToRay(point.x, point.y).Direction,
t = point.t,
}
end
flickbot.Trajectory = trajectory
flickbot.TrajectoryIndex = 1
flickbot.ElapsedMs = 0
flickbot.TotalMs = trajectory[#trajectory].t
flickbot.BakedEndDirection = trajectory[#trajectory].direction
flickbot.Selected = targetInfo
flickbot.State = 'Flicking'
return true
end
function RivalsRuntimeBridge.SampleFlickbotTrajectory(deltaTime)
local flickbot = RivalsRuntimeBridge.Flickbot
local trajectory = flickbot.Trajectory
flickbot.ElapsedMs = flickbot.ElapsedMs + deltaTime * 1000
local index = flickbot.TrajectoryIndex
while index < #trajectory and trajectory[index + 1].t <= flickbot.ElapsedMs do
index = index + 1
end
flickbot.TrajectoryIndex = index
local current = trajectory[index]
local following = trajectory[index + 1]
if not following then return trajectory[#trajectory].direction, true end
local interval = following.t - current.t
local alpha = interval > 0 and math.clamp((flickbot.ElapsedMs - current.t) / interval, 0, 1) or 1
return current.direction:Lerp(following.direction, alpha), false
end
function RivalsRuntimeBridge.FinishFlickbotToCooldown()
local flickbot = RivalsRuntimeBridge.Flickbot
flickbot.Selected = nil
flickbot.Trajectory = nil
local cooldownMs = math.clamp(Options.P2S1S9 and Options.P2S1S9.Value or 250, 0, 2000)
if cooldownMs > 0 then
flickbot.State = 'Cooldown'
flickbot.Timer = cooldownMs / 1000
else
flickbot.State = 'Idle'
flickbot.Timer = 0
end
end
function RivalsRuntimeBridge.IsFlickbotCameraClaimed()
local state = RivalsRuntimeBridge.Flickbot.State
return state == 'Flicking' or state == 'PostShot'
end
function RivalsRuntimeBridge.UpdateFlickbot(deltaTime)
local flickbot = RivalsRuntimeBridge.Flickbot
if RivalsRuntimeBridge.MovementRecorder.IsCameraClaimed() then
if flickbot.State ~= 'Idle' or flickbot.WasHeld then RivalsRuntimeBridge.ResetFlickbot() end
return
end
local enabled = Toggles.P2S1T12 and Toggles.P2S1T12.Value == true
local keypicker = Options.P2S1T12K
local held = enabled and keypicker and type(keypicker.GetState) == 'function' and keypicker:GetState() == true
if not enabled then
if flickbot.State ~= 'Idle' or flickbot.WasHeld then RivalsRuntimeBridge.ResetFlickbot() end
return
end
if held and not flickbot.WasHeld and flickbot.State == 'Idle' and not AimbotInputState.SyntheticInputBlocked() then
RivalsRuntimeBridge.StartFlickbot()
end
flickbot.WasHeld = held
local frameDelta = math.clamp(type(deltaTime) == 'number' and deltaTime or (1 / 60), 0, 0.1)
if flickbot.State == 'Flicking' then
local selected = flickbot.Selected
local targetPart = selected and selected.part or nil
local camera = Workspace.CurrentCamera
if not targetPart or not targetPart.Parent or not camera or not flickbot.Trajectory then
RivalsRuntimeBridge.FinishFlickbotToCooldown()
return
end
local direction, finished = RivalsRuntimeBridge.SampleFlickbotTrajectory(frameDelta)
if flickbot.TotalMs > 0 then
local targetOffset = targetPart.Position - camera.CFrame.Position
if targetOffset.Magnitude > 0.001 then
local progress = math.clamp(flickbot.ElapsedMs / flickbot.TotalMs, 0, 1)
local corrected = direction + (targetOffset.Unit - flickbot.BakedEndDirection) * progress
if corrected.Magnitude > 0.001 then direction = corrected.Unit end
end
end
local cameraController = RivalsModsState.ResolveCameraController()
if cameraController and type(cameraController.SetRotation) == 'function' then
local pitch, yaw = CFrame.lookAt(camera.CFrame.Position, camera.CFrame.Position + direction):ToOrientation()
cameraController:SetRotation(Vector2.new(pitch, yaw))
end
if finished then
if Toggles.P2S1T13 and Toggles.P2S1T13.Value == true then
flickbot.State = 'PostShot'
flickbot.Timer = math.clamp(Options.P2S1S8 and Options.P2S1S8.Value or 0, 0, 250) / 1000
else
RivalsRuntimeBridge.FinishFlickbotToCooldown()
end
end
elseif flickbot.State == 'PostShot' then
flickbot.Timer = flickbot.Timer - frameDelta
if flickbot.Timer <= 0 then
FireTriggerbotShot()
RivalsRuntimeBridge.FinishFlickbotToCooldown()
end
elseif flickbot.State == 'Cooldown' then
flickbot.Timer = flickbot.Timer - frameDelta
if flickbot.Timer <= 0 then
flickbot.State = 'Idle'
flickbot.Timer = 0
end
end
end
RivalsRuntimeBridge.UpdateCameraAim = function(deltaTime)
if
RivalsRuntimeBridge.MovementRecorder.IsCameraClaimed()
or RivalsRuntimeBridge.IsFlickbotCameraClaimed()
or not AimbotBridge.IsCameraAimEnabled()
or not IsAimbotGameReady()
or not IsAimbotCameraReady()
or not RivalsRuntimeBridge.IsReadyToFight()
then
AimbotBridge.ResetCameraAimRandomState()
return
end
local camera = Workspace.CurrentCamera
local ignoreFov = AimbotBridge.IsAimbotIgnoreFovEnabled()
local targetInfo = RivalsRuntimeBridge.GetFilteredAimbotTarget(true, ignoreFov)
local configuredAimPart = Options.P2S1D2 and Options.P2S1D2.Value or 'Auto'
if configuredAimPart == 'Random' and targetInfo then
local targetIdentity = targetInfo.player or targetInfo.instance
local stablePart = AimbotSilentConnections.CameraAimRandomPart
if AimbotSilentConnections.CameraAimRandomTarget == targetIdentity and stablePart and stablePart.Parent then
local stableAimPart = RivalsRuntimeBridge.IsHeadAimbotTargetPart(stablePart) and 'Head'
or 'HumanoidRootPart'
local stableTargetInfo = RivalsRuntimeBridge.RefreshAimbotTargetInfo(
targetInfo,
stableAimPart,
AimbotBridge.GetAimbotPointerPosition(),
DEFAULT_ESP_MAX_DISTANCE,
AIMBOT_VISIBILITY_CACHE_PROFILE
)
if stableTargetInfo then targetInfo = stableTargetInfo end
end
AimbotSilentConnections.CameraAimRandomTarget = targetIdentity
AimbotSilentConnections.CameraAimRandomPart = targetInfo.part
else
AimbotBridge.ResetCameraAimRandomState()
end
local targetPart = targetInfo and targetInfo.part or nil
local worldPosition = targetInfo and targetInfo.worldPosition or nil
if not camera or not targetPart or not targetPart.Parent or not worldPosition then
RivalsRuntimeBridge.AimbotTargeting.ResetSpring()
return
end
if targetInfo.player and IsRivalsSpawnShieldActive(targetInfo.player.Character) then return end
local cameraController = RivalsModsState.ResolveCameraController()
if not cameraController or type(cameraController.SetRotation) ~= 'function' then return end
local currentRotation = rawget(cameraController, 'Rotation')
if typeof(currentRotation) ~= 'Vector2' then return end
local aimSpeed = Options.P2S2S1 and Options.P2S2S1.Value or 35
local frameDelta = math.clamp(type(deltaTime) == 'number' and deltaTime or (1 / 60), 0, 0.1)
local blendAlpha = math.clamp(1 - math.exp(-frameDelta * (2 + (aimSpeed * 0.58))), 0, 1)
local pitch, yaw = CFrame.lookAt(camera.CFrame.Position, worldPosition):ToOrientation()
local deltaPitch = pitch - currentRotation.X
local deltaYaw = (yaw - currentRotation.Y + math.pi) % (2 * math.pi) - math.pi
local stepPitch = deltaPitch * blendAlpha
local stepYaw = deltaYaw * blendAlpha
local smoothing = Options.PX7D1 and Options.PX7D1.Value or 'Smooth'
local targeting = RivalsRuntimeBridge.AimbotTargeting
if smoothing == 'Linear' then
-- constant turn rate: 12 degrees per second for every point of Aim Speed
local remaining = math.sqrt(deltaPitch * deltaPitch + deltaYaw * deltaYaw)
if remaining > 1e-5 then
local scale = math.min(1, math.rad(aimSpeed * 12) * frameDelta / remaining)
stepPitch = deltaPitch * scale
stepYaw = deltaYaw * scale
else
stepPitch, stepYaw = 0, 0
end
elseif smoothing == 'Spring' then
-- slightly underdamped spring, so the view eases in and settles with a tiny overshoot
local omega = 2 + aimSpeed * 0.58
local zeta = 0.8
local substeps = 4
local h = frameDelta / substeps
local velocityPitch, velocityYaw = targeting.SpringPitch, targeting.SpringYaw
local movedPitch, movedYaw = 0, 0
for _ = 1, substeps do
velocityPitch += (omega * omega * (deltaPitch - movedPitch) - 2 * zeta * omega * velocityPitch) * h
velocityYaw += (omega * omega * (deltaYaw - movedYaw) - 2 * zeta * omega * velocityYaw) * h
movedPitch += velocityPitch * h
movedYaw += velocityYaw * h
end
targeting.SpringPitch, targeting.SpringYaw = velocityPitch, velocityYaw
stepPitch, stepYaw = movedPitch, movedYaw
elseif smoothing == 'Adaptive' then
-- fast while far from the target, easing in as the crosshair closes the gap
local remaining = math.sqrt(deltaPitch * deltaPitch + deltaYaw * deltaYaw)
local rate = (2 + aimSpeed * 0.58) * (0.45 + 1.55 * math.clamp(remaining / math.rad(25), 0, 1))
local alpha = math.clamp(1 - math.exp(-frameDelta * rate), 0, 1)
stepPitch = deltaPitch * alpha
stepYaw = deltaYaw * alpha
end
if smoothing ~= 'Spring' then targeting.ResetSpring() end
cameraController:SetRotation(Vector2.new(currentRotation.X + stepPitch, currentRotation.Y + stepYaw))
end
local GetBestTriggerbotTarget = function()
EnsureAimbotTargetTracking()
local aimPart = Options.P2S1D2 and Options.P2S1D2.Value or 'Auto'
local fovRadius = Options.P2S1S2 and Options.P2S1S2.Value or 170
local maxDistance = DEFAULT_ESP_MAX_DISTANCE
local ignoreFov = AimbotBridge.IsAimbotIgnoreFovEnabled()
local mousePosition = AimbotBridge.GetAimbotPointerPosition()
local camera = Workspace.CurrentCamera
if not camera then return nil end
local bestTarget = nil
for _, fighter in ipairs(LocalFighterController and LocalFighterController.Objects or {}) do
local player = fighter and fighter.Player
if player and player ~= LP and player.Parent == Players then
local entity = fighter.Entity
local subject = entity and entity.Model
if not ShouldShow(player, false) then
RivalsRuntimeBridge.RecordTargetValidityRejection('team_or_self', subject, player, 'Players')
elseif FighterDataCache.ReadEntity(entity) then
RivalsRuntimeBridge.RecordTargetValidityRejection('invincible', subject, player, 'Players')
elseif
ShouldIgnoreRivalsRiotShieldTarget(
player,
subject or player.Character,
AimbotBridge.ResolveAimbotEquippedItem()
)
then
RivalsRuntimeBridge.RecordTargetValidityRejection('riot_shield', subject, player, 'Players')
else
bestTarget = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
bestTarget,
subject,
'Players',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
player,
camera,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
end
end
end
for model in pairs(TrackedRangeTargets) do
if not model.Parent then
TrackedRangeTargets[model] = nil
else
bestTarget = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
bestTarget,
model,
'Range Targets',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
nil,
camera,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
end
end
for model in pairs(TrackedPracticeDummies) do
if not model.Parent then
TrackedPracticeDummies[model] = nil
else
bestTarget = RivalsRuntimeBridge.ConsiderBestAimbotTarget(
bestTarget,
model,
'Practice Dummies',
aimPart,
mousePosition,
maxDistance,
fovRadius,
ignoreFov,
nil,
camera,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
end
end
RivalsRuntimeBridge.LastAimbotSweepTarget = bestTarget
RivalsRuntimeBridge.LastAimbotSweepAt = os.clock()
return bestTarget
end
SharedTryTriggerbotShot = TryTriggerbotShot
SharedGetBestTriggerbotTarget = GetBestTriggerbotTarget
end
local function ResolveTriggerbotTarget(aimbotEnabled, currentTargetInfo)
local aimPart = Options.P2S1D2 and Options.P2S1D2.Value or 'Auto'
local maxDistance = DEFAULT_ESP_MAX_DISTANCE
local mousePosition = AimbotBridge.GetAimbotPointerPosition()
local refreshedTarget = currentTargetInfo
and RivalsRuntimeBridge.RefreshAimbotTargetInfo(
currentTargetInfo,
aimPart,
mousePosition,
maxDistance,
TRIGGERBOT_VISIBILITY_CACHE_PROFILE
)
if refreshedTarget then return refreshedTarget end
local cursorTargetInfo = ResolveCursorTriggerbotTarget()
if cursorTargetInfo then return cursorTargetInfo end
return GetBestTriggerbotTarget()
end
local TryTriggerbotShot = SharedTryTriggerbotShot
GetBestTriggerbotTarget = SharedGetBestTriggerbotTarget
do
-- Hit chance (P2S1S13): one roll per shot. Take() is the shot hook's roll, Arm() lets the triggerbot roll
-- before it pre-primes so the hook reuses that same verdict, Hold() is a short re-roll window for held weapons.
local hitChance = {
Rng = Random.new(),
PendingVerdict = nil,
PendingAt = 0,
PendingTtl = 0.35,
HoldVerdict = true,
HoldAt = 0,
HoldWindow = 0.2,
}
hitChance.ReadPercent = function()
local option = Options.P2S1S13
local value = option and option.Value
if type(value) ~= 'number' then return 100 end
return math.clamp(value, 1, 100)
end
hitChance.Roll = function()
local percent = hitChance.ReadPercent()
return percent >= 100 or hitChance.Rng:NextNumber(0, 100) < percent
end
hitChance.Arm = function()
hitChance.PendingVerdict = hitChance.Roll()
hitChance.PendingAt = tick()
return hitChance.PendingVerdict
end
hitChance.Take = function()
local verdict = hitChance.PendingVerdict
hitChance.PendingVerdict = nil
if hitChance.ReadPercent() >= 100 then return true end
if verdict ~= nil and (tick() - hitChance.PendingAt) <= hitChance.PendingTtl then return verdict end
return hitChance.Roll()
end
hitChance.Hold = function()
if hitChance.ReadPercent() >= 100 then return true end
local now = tick()
if (now - hitChance.HoldAt) >= hitChance.HoldWindow then
hitChance.HoldAt = now
hitChance.HoldVerdict = hitChance.Roll()
end
return hitChance.HoldVerdict
end
RivalsRuntimeBridge.AimbotHitChance = hitChance
end
RivalsRuntimeBridge.BeginAimbotSilentShot = function(item)
if (AimbotSilentState.ShotPrimeDepth or 0) > 0 then return false, nil, nil end
local enabled = AimbotBridge.IsAimbotSelected()
local keybindActive = AimbotBridge.IsAimbotEnabled()
local shootInputHeld = AimbotBridge.IsAimbotShootInputHeld()
local aimAssistActive = keybindActive or shootInputHeld
if not RivalsRuntimeBridge.Extras.ActivationOk(item) then return false, nil, nil end
local readyToFight = RivalsRuntimeBridge.IsReadyToFight()
RivalsRuntimeBridge.RecordCharacterLoadingCheckpoint('Silent Aim', readyToFight, enabled and aimAssistActive)
if not (enabled and aimAssistActive and readyToFight) then return false, nil, nil end
local targetInfo = RivalsRuntimeBridge.ResolveAimbotSilentHookTarget(item)
if not targetInfo then return false, nil, nil end
if targetInfo.player and IsRivalsSpawnShieldActive(targetInfo.player.Character) then return false, nil, nil end
if not RivalsRuntimeBridge.AimbotHitChance.Take() then
-- Failed roll: the camera stays untouched so this shot goes where the player is really aiming. The prime
-- depth is still held for the whole StartShooting call, so the nested wrapper can't roll a second time.
AimbotSilentState.ShotPrimeDepth = (AimbotSilentState.ShotPrimeDepth or 0) + 1
if AimbotBridge.ResolveAimbotSilentDebugEnabled() then
RivalsRuntimeBridge.NotifyAimbotStatus(
'silent_prime',
string.format(
'Silent Camera shot-hook: %s skipped (hit chance %.0f%%)',
targetInfo.displayName,
RivalsRuntimeBridge.AimbotHitChance.ReadPercent()
),
true
)
end
return true, nil, nil
end
local camera = Workspace.CurrentCamera
local originalCFrame = camera and camera.CFrame or nil
if not camera or not originalCFrame or not RivalsRuntimeBridge.PrimeAimbotAim(targetInfo, item) then
return false, nil, nil
end
AimbotSilentState.ShotPrimeDepth = (AimbotSilentState.ShotPrimeDepth or 0) + 1
if AimbotBridge.ResolveAimbotSilentDebugEnabled() then
RivalsRuntimeBridge.NotifyAimbotStatus(
'silent_prime',
string.format('Silent Camera shot-hook: %s', targetInfo.displayName),
true
)
end
RivalsRuntimeBridge.Extras.ShotTarget = targetInfo
return true, camera, originalCFrame
end
RivalsRuntimeBridge.FinishAimbotSilentShot = function(didPrime, camera, originalCFrame)
if not didPrime then return end
RivalsRuntimeBridge.Extras.ShotTarget = nil
AimbotSilentState.ShotPrimeDepth = math.max((AimbotSilentState.ShotPrimeDepth or 1) - 1, 0)
if camera and originalCFrame and Workspace.CurrentCamera == camera and RivalsRuntimeBridge.IsReadyToFight() then
camera.CFrame = originalCFrame
end
end
RivalsModsState.BeginAimbotSilentShot = RivalsRuntimeBridge.BeginAimbotSilentShot
RivalsModsState.FinishAimbotSilentShot = RivalsRuntimeBridge.FinishAimbotSilentShot
local function EnsureAimbotSilentStartShootingHook(item)
if AimbotSilentConnections.HookedItem == item then return end
if not AimbotBridge.IsAimbotSilentShotHookItem(item) then return end
local originalStartShooting = item.StartShooting
local wrappedStartShooting
wrappedStartShooting = function(self, ...)
local didPrime, camera, originalCFrame = RivalsRuntimeBridge.BeginAimbotSilentShot(self)
local baseStartShooting = RivalsModsState.ResolveGunStartShootingBase(originalStartShooting)
local results = CallGameAtIdentity2(baseStartShooting, self, ...)
RivalsRuntimeBridge.FinishAimbotSilentShot(didPrime, camera, originalCFrame)
if not results[1] then
ReportRivalsRuntimeIssue('silent_start_shooting', results[2])
return nil
end
return table.unpack(results, 2, results.n)
end
AimbotSilentConnections.HookedItem = item
AimbotSilentConnections.OriginalStartShooting = originalStartShooting
AimbotSilentConnections.WrappedStartShooting = wrappedStartShooting
item.StartShooting = wrappedStartShooting
end
local function UpdateAimbot()
if not (Toggles.P2S1T6 and Toggles.P2S1T6.Value) then RivalsRuntimeBridge.DestroyAimbotStatusNotification() end
local enabled = AimbotBridge.IsAimbotSelected()
local triggerbotEnabled = AimbotBridge.IsTriggerbotEnabled()
local keybindActive = enabled and AimbotBridge.IsAimbotEnabled()
local shootInputHeld = enabled and AimbotBridge.IsAimbotShootInputHeld()
local aimAssistActive = enabled and (keybindActive or shootInputHeld)
RivalsRuntimeBridge.RecordCharacterLoadingCheckpoint(
'Silent Aim',
RivalsRuntimeBridge.IsReadyToFight(),
enabled == true
)
local aimbotGameReady = enabled and IsAimbotGameReady()
local triggerbotGameReady = triggerbotEnabled and IsAimbotGameReady()
local cameraAimActive = AimbotBridge.IsCameraAimEnabled()
local cameraAimGameReady = cameraAimActive and IsAimbotGameReady()
local gameReady = aimbotGameReady or triggerbotGameReady
local silentAimUsesFov = enabled and aimAssistActive and not AimbotBridge.IsAimbotIgnoreFovEnabled()
local cameraAimUsesFov = cameraAimActive and not AimbotBridge.IsAimbotIgnoreFovEnabled()
AimbotBridge.UpdateAimbotFovCircle(
(enabled and aimAssistActive) or cameraAimActive,
aimbotGameReady or cameraAimGameReady,
silentAimUsesFov or cameraAimUsesFov
)
if not enabled and not triggerbotEnabled then
AimbotBridge.ResetAimbotRuntimeState()
AimbotBridge.ResetTriggerbotReactionState()
RivalsRuntimeBridge.DestroyAimbotStatusNotification()
return
end
if not gameReady then
RivalsRuntimeBridge.RecordTargetValidityUpstreamGate('game_not_ready')
AimbotBridge.ResetAimbotRuntimeState()
AimbotBridge.ResetTriggerbotReactionState()
RivalsRuntimeBridge.DestroyAimbotStatusNotification()
return
end
local item = AimbotBridge.ResolveAimbotEquippedItem()
if item and enabled then EnsureAimbotSilentStartShootingHook(item) end
local cameraReady = IsAimbotCameraReady()
if not cameraReady then
RivalsRuntimeBridge.RecordTargetValidityUpstreamGate('camera_not_ready')
AimbotBridge.ResetAimbotRuntimeState()
AimbotBridge.ResetTriggerbotReactionState()
RivalsRuntimeBridge.NotifyAimbotStatus('camera_wait', 'Waiting for camera.')
return
end
local targetInfo = nil
if not enabled or not aimAssistActive then
if enabled then RivalsRuntimeBridge.RecordTargetValidityUpstreamGate('mouse_not_held') end
AimbotBridge.ResetAimbotRuntimeState()
if enabled then RivalsRuntimeBridge.DestroyAimbotStatusNotification() end
else
local evaluation = RivalsRuntimeBridge.EvaluateAimbotSilentRuntime(item, shootInputHeld)
local statusForce = AimbotBridge.ResolveAimbotSilentDebugEnabled()
local shouldContinuousAim = evaluation.shouldAim and AimbotBridge.ShouldUseAimbotSilentContinuousAim(item)
if evaluation.blockedReason then
RivalsRuntimeBridge.RecordTargetValidityUpstreamGate('silent_blocked:' .. tostring(evaluation.blockedReason))
RivalsRuntimeBridge.NotifyAimbotStatus(
'silent_blocked',
RivalsRuntimeBridge.BuildAimbotSilentStatus(nil, evaluation),
statusForce
)
else
if shouldContinuousAim then
targetInfo = RivalsRuntimeBridge.GetFilteredAimbotTarget()
if not targetInfo then
RivalsRuntimeBridge.NotifyAimbotStatus('no_target', 'No target visible.')
elseif RivalsRuntimeBridge.AimbotHitChance.Hold() then
RivalsRuntimeBridge.PrimeAimbotAim(targetInfo, item)
end
end
RivalsRuntimeBridge.NotifyAimbotStatus(
'tracking',
RivalsRuntimeBridge.BuildAimbotSilentStatus(targetInfo, evaluation),
statusForce
)
end
end
if not triggerbotEnabled then
AimbotBridge.ReleaseTriggerbotMouseHold()
AimbotBridge.ResetTriggerbotReactionState()
return
end
local triggerTargetInfo = ResolveTriggerbotTarget(enabled, targetInfo)
if RivalsRuntimeBridge.Extras.TriggerReleaseHold(triggerTargetInfo ~= nil) then return end
if not triggerTargetInfo then
AimbotBridge.ReleaseTriggerbotMouseHold()
AimbotBridge.ResetTriggerbotReactionState()
if not enabled then RivalsRuntimeBridge.DestroyAimbotStatusNotification() end
return
end
if TryTriggerbotShot(triggerTargetInfo, item, enabled) and not enabled then
RivalsRuntimeBridge.NotifyAimbotStatus('tracking', string.format('Triggerbot: %s', triggerTargetInfo.displayName))
end
end
RivalsRuntimeBridge.UpdateAimbot = UpdateAimbot
end
-- ======================================================================
-- ESP render loop and cheater detector
-- ======================================================================
do
-- ESP Render Loop
RivalsRuntimeBridge.CheaterDetector = {
LastPosition = {},
LastRoot = {},
Streak = {},
Flagged = {},
}
function RivalsRuntimeBridge.CheaterDetector.IsFlagged(player)
return RivalsRuntimeBridge.CheaterDetector.Flagged[player] ~= nil
end
function RivalsRuntimeBridge.CheaterDetector.Reset()
local detector = RivalsRuntimeBridge.CheaterDetector
detector.LastPosition = {}
detector.LastRoot = {}
detector.Streak = {}
detector.Flagged = {}
end
-- Flags a player who keeps moving faster than any legitimate movement for a short while.
-- Single huge jumps (respawns, map teleports) are ignored on purpose.
function RivalsRuntimeBridge.CheaterDetector.Step(deltaTime)
local detector = RivalsRuntimeBridge.CheaterDetector
if not (Toggles and Toggles.PX10T1 and Toggles.PX10T1.Value == true) then
if next(detector.LastPosition) ~= nil or next(detector.Flagged) ~= nil then detector.Reset() end
return
end
if type(deltaTime) ~= 'number' or deltaTime <= 0 or deltaTime > 0.5 then return end
local thresholdOption = Options and Options.PX10S1
local threshold = thresholdOption and tonumber(thresholdOption.Value) or 120
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LP then
local character = player.Character
local root = character and character:FindFirstChild('HumanoidRootPart')
local humanoid = character and character:FindFirstChildOfClass('Humanoid')
if root and humanoid and humanoid.Health > 0 then
local position = root.Position
local lastPosition = detector.LastPosition[player]
local sameBody = detector.LastRoot[player] == root
detector.LastPosition[player] = position
detector.LastRoot[player] = root
if lastPosition and sameBody then
local offset = position - lastPosition
local speed = Vector3.new(offset.X, 0, offset.Z).Magnitude / deltaTime
if speed > threshold and speed < 5000 then
local streak = (detector.Streak[player] or 0) + deltaTime
detector.Streak[player] = streak
if streak >= 0.3 and not detector.Flagged[player] then
detector.Flagged[player] = true
if Toggles.PX10T2 and Toggles.PX10T2.Value == true then
Library:Notify({
Title = 'Possible cheater',
Description = string.format(
'%s is moving at %d studs/s',
player.DisplayName ~= '' and player.DisplayName or player.Name,
math.floor(speed)
),
Time = 5,
})
end
end
else
detector.Streak[player] = 0
end
else
detector.Streak[player] = 0
end
else
detector.LastPosition[player] = nil
detector.LastRoot[player] = nil
detector.Streak[player] = 0
end
end
end
for player in pairs(detector.Flagged) do
if player.Parent == nil then
detector.Flagged[player] = nil
detector.LastPosition[player] = nil
detector.LastRoot[player] = nil
detector.Streak[player] = nil
end
end
end
-- ===== ZkxHub extras :: core =====
-- Safe stubs first: every hook the patched code calls exists and behaves like the original game logic.
-- If the real module below fails to load, these stay in place and nothing in the base script changes.
RivalsRuntimeBridge.Extras = {
Version = 1,
Loaded = false,
FilterCandidates = function(candidates) return candidates end,
SamplePoints = function() return nil end,
RandomBucketRoll = function() return math.random(1, 2) end,
OverrideAimPart = function(aimPart) return aimPart end,
ManipulateAllows = function() return false end,
TargetAllowed = function() return true end,
ActivationOk = function() return true end,
TriggerAllowed = function() return true end,
TriggerReleaseHold = function() return false end,
FeedbackText = function(_, _, _, _, default) return default end,
HealthColor = function(_, default) return default end,
FlagFont = function(default) return default end,
FlagSize = function(default) return default end,
FlagText = function(text) return text end,
SuppressCornerBox = function() return false end,
StatusXOffset = function() return 0 end,
DataField = function() return nil end,
NeedsInputHook = function() return false end,
SyncControllers = function() end,
NewController = function() return nil end,
DestroyController = function() end,
EspStep = function() end,
BuildCombatUi = function() end,
BuildEspUi = function() end,
BuildVisualsUi = function() end,
BuildMiscUi = function() end,
BuildConfigUi = function() end,
CollapseLongGroups = function() end,
Destroy = function() end,
Reconcile = function() end,
}
xpcall(function()
local extras = RivalsRuntimeBridge.Extras
local reported = {}
local rng = Random.new()
extras.Cleanups = {}
extras.Destroy = function()
for _, cleanup in ipairs(extras.Cleanups) do
pcall(cleanup)
end
end
function extras.Report(tag, err)
if reported[tag] then return end
reported[tag] = true
ReportRivalsRuntimeIssue('extras_' .. tostring(tag), err)
end
-- Wraps an implementation so an error can never leak into the base script: it reports once and
-- returns the default (the value the original code would have used).
local function guard(tag, impl, default)
return function(...)
local ok, a, b = pcall(impl, ...)
if ok then return a, b end
extras.Report(tag, a)
if type(default) == 'function' then return default(...) end
return default
end
end
function extras.Tog(id, default)
local toggle = Toggles[id]
if toggle == nil then return default end
return toggle.Value == true
end
function extras.Opt(id, default)
local option = Options[id]
if option == nil or option.Value == nil then return default end
return option.Value
end
function extras.Num(id, default)
local value = tonumber(extras.Opt(id, default))
if value == nil then return default end
return value
end
function extras.Has(id, name, default)
local option = Options[id]
if option == nil then return default end
local value = option.Value
if type(value) ~= 'table' then return default end
if value[name] == true then return true end
for _, entry in ipairs(value) do
if entry == name then return true end
end
return false
end
-- ---------------------------------------------------------------- indicator list
extras.IndicatorEntries = {}
function extras.Pulse(key, text, seconds) extras.IndicatorEntries[key] = { Text = text, Until = os.clock() + (seconds or 1) } end
-- ---------------------------------------------------------------- silent aim rules
function extras.RulesOn() return extras.Tog('KPA0', false) and AimbotBridge.ResolveAimbotMode() == 'Silent' end
extras.FilterCandidates = guard('filter_candidates', function(candidates)
if not extras.RulesOn() then return candidates end
local allowHead = extras.Has('KPA8', 'Head', true)
local allowBody = extras.Has('KPA8', 'Body', true)
local filtered = {}
for _, candidate in ipairs(candidates) do
local isHead = candidate.Name == 'HitboxHead'
if (isHead and allowHead) or (not isHead and allowBody) then filtered[#filtered + 1] = candidate end
end
return filtered
end, function(candidates) return candidates end)
extras.RandomBucketRoll = guard('random_bucket', function()
if extras.RulesOn() and extras.Opt('KPA9', 'Closest To Crosshair') == 'Random' then
local headChance = math.clamp(extras.Num('KPAA', 50), 0, 100) / 100
return rng:NextNumber() < headChance and 1 or 2
end
return math.random(1, 2)
end, function() return math.random(1, 2) end)
extras.OverrideAimPart = guard('override_aim_part', function(aimPart)
if aimPart == 'Closest' or not extras.RulesOn() then return aimPart end
if extras.Opt('KPA9', 'Closest To Crosshair') == 'Random' then return 'Random' end
return 'CrosshairClosest'
end, function(aimPart) return aimPart end)
-- Point on the (shrunken) hitbox box that lies closest to the crosshair ray.
local function surfacePoint(part)
local camera = Workspace.CurrentCamera
if not camera then return nil end
local pointer = AimbotBridge.GetAimbotPointerPosition()
local ray = camera:ViewportPointToRay(pointer.X, pointer.Y)
local cf = part.CFrame
local half = part.Size * 0.5
local shrink = 1 - math.clamp(extras.Num('KPAC', 50), 0, 95) / 100
local hx, hy, hz = half.X * shrink, half.Y * shrink, half.Z * shrink
local origin = cf:PointToObjectSpace(ray.Origin)
local direction = cf:VectorToObjectSpace(ray.Direction)
if extras.Tog('KPAD', false) then
local ax, ay, az = math.abs(direction.X), math.abs(direction.Y), math.abs(direction.Z)
if ax >= ay and ax >= az then
hx = half.X
elseif ay >= az then
hy = half.Y
else
hz = half.Z
end
end
local current = Vector3.zero
for _ = 1, 3 do
local t = (current - origin):Dot(direction)
local q = origin + direction * t
current = Vector3.new(math.clamp(q.X, -hx, hx), math.clamp(q.Y, -hy, hy), math.clamp(q.Z, -hz, hz))
end
return cf:PointToWorldSpace(current)
end
extras.SamplePoints = guard('sample_points', function(part)
if not part or not extras.RulesOn() or extras.Opt('KPAB', 'Center') ~= 'Surface' then return nil end
if part.Name ~= 'HitboxHead' and part.Name ~= 'HitboxBody' then return nil end
local point = surfacePoint(part)
if not point then return nil end
return { point, part.Position }
end, nil)
-- shield / deflect / invincibility checks shared by the silent rules and the triggerbot rules
local function isDeflecting(player)
local fighter = TrackedFightersByPlayer[player]
return fighter ~= nil and RivalsRuntimeBridge.IsRivalsKatanaDeflectActiveItem(fighter.EquippedItem) == true
end
local function isShielded(player, character, observer)
local state = EvaluateRivalsRiotShieldChecker(player, character, observer)
return state ~= nil and state.IgnoreTarget == true
end
local function isInvulnerable(player, character) return IsRivalsSpawnShieldActive(character or player.Character) == true end
extras.TargetAllowed = guard(
'target_allowed',
function(subject, player, part, isVisible, worldPosition, mousePosition, fovRadius, ignoreFov, camera)
if not extras.RulesOn() then return true end
if extras.Tog('KPA3', true) and not isVisible then return false, 'rule_visible' end
if player then
local character = subject or player.Character
if extras.Tog('KPA4', true) and isInvulnerable(player, character) then return false, 'rule_invulnerable' end
if extras.Tog('KPA5', true) and isDeflecting(player) then return false, 'rule_deflecting' end
if extras.Tog('KPA6', true) and isShielded(player, character, camera and camera.CFrame.Position or nil) then
return false, 'rule_shielded'
end
end
if extras.Tog('KPA7', true) and ignoreFov == true and camera and worldPosition and mousePosition then
local screenPoint, onScreen = camera:WorldToViewportPoint(worldPosition)
if not onScreen or screenPoint.Z <= 0 then return false, 'rule_fov' end
local radius = extras.Num('P2S1S2', 170)
if (Vector2.new(screenPoint.X, screenPoint.Y) - mousePosition).Magnitude > radius then
return false, 'rule_fov'
end
end
return true
end,
true
)
-- Best-effort "is the scope fully up". Returns nil when this build exposes no way to tell, which the
-- callers treat as "do not block".
function extras.IsFullyAiming(item)
if type(item) ~= 'table' then return nil end
local ok, method = pcall(function() return item.IsFullyAiming end)
if ok and type(method) == 'function' then
local okCall, result = pcall(method, item)
if okCall and type(result) == 'boolean' then return result end
end
local data = rawget(item, '_data')
local isAiming = nil
if type(data) == 'table' then isAiming = rawget(data, 'IsAiming') end
local viewModel = rawget(item, 'ViewModel')
local current = nil
if type(viewModel) == 'table' then current = rawget(viewModel, 'CurrentAimValue') end
if isAiming == nil and current == nil then return nil end
if isAiming ~= true then return false end
local info = item.Info
local percent = type(info) == 'table' and info.AimScopePercent or nil
if type(percent) == 'number' and type(current) == 'number' then return current >= percent end
return true
end
extras.ActivationOk = guard('activation', function(item)
if not extras.RulesOn() then return true end
if extras.Tog('KPA1', true) and AimbotBridge.ReadAimbotReloadRemaining(item) > 0 then return false end
if extras.Tog('KPA2', false) and extras.IsFullyAiming(item) == false then return false end
return true
end, true)
-- ---------------------------------------------------------------- triggerbot rules
local trigger = { RollAt = 0, Verdict = true, LastTargetAt = 0 }
extras.TriggerAllowed = guard('trigger_allowed', function(targetInfo, item)
if not extras.Tog('KPB0', false) then return true end
if extras.Tog('KPB1', true) and AimbotBridge.ReadAimbotReloadRemaining(item) > 0 then return false end
if extras.Tog('KPB2', false) and extras.IsFullyAiming(item) == false then return false end
if extras.Has('KPB3', 'Visible', true) and not targetInfo.isVisible then return false end
local player = targetInfo.player
if player then
local character = targetInfo.instance or player.Character
if extras.Has('KPB3', 'Vulnerable', true) and isInvulnerable(player, character) then return false end
if extras.Has('KPB3', 'Not Deflecting', true) and isDeflecting(player) then return false end
if extras.Has('KPB3', 'Not Shielded', true) then
local camera = Workspace.CurrentCamera
if isShielded(player, character, camera and camera.CFrame.Position or nil) then return false end
end
end
local chance = math.clamp(extras.Num('KPB4', 100), 1, 100)
if chance < 100 then
local now = os.clock()
if now - trigger.RollAt > 0.25 then
trigger.RollAt = now
trigger.Verdict = rng:NextNumber(0, 100) < chance
end
return trigger.Verdict
end
return true
end, true)
-- Keeps a held trigger (flamethrower style) down for a moment after the target is lost.
extras.TriggerReleaseHold = guard('trigger_release', function(hasTarget)
if not extras.Tog('KPB0', false) then return false end
local now = os.clock()
if hasTarget then
trigger.LastTargetAt = now
return false
end
return (now - trigger.LastTargetAt) < math.clamp(extras.Num('KPB5', 0), 0, 1)
end, false)
-- ---------------------------------------------------------------- shot packet hook (anti katana / manipulate)
local function decodeCFrame(value)
if type(value) ~= 'table' then return nil end
local x, y, z = value['\0'], value['\1'], value['\2']
local rx, ry, rz = value['\3'], value['\4'], value['\5']
if
type(x) ~= 'number'
or type(y) ~= 'number'
or type(z) ~= 'number'
or type(rx) ~= 'number'
or type(ry) ~= 'number'
or type(rz) ~= 'number'
then
return nil
end
return CFrame.new(x, y, z) * CFrame.fromOrientation(rx, ry, rz)
end
local function encodeCFrame(cf)
local rx, ry, rz = cf:ToOrientation()
return { ['\0'] = cf.X, ['\1'] = cf.Y, ['\2'] = cf.Z, ['\3'] = rx, ['\4'] = ry, ['\5'] = rz }
end
-- Looks for a shot origin (within `reach` studs of the real one) that has a clear line to the point.
-- Returns visibleAlready, origin: (true, origin) when nothing blocks, (false, newOrigin) when a
-- workable alternative exists, (false, nil) when none does.
local MANIPULATE_REACH = 9.9
local function findVisibleOrigin(origin, part, point)
local character = part.Parent
local params = ResolveAimbotVisibilityRaycastParams(character)
local function blockedBy(from) return Workspace:Raycast(from, point - from, params) end
local firstHit = blockedBy(origin)
if firstHit == nil then return true, origin end
local offset = point - origin
local distance = offset.Magnitude
if distance < 0.01 then return false, nil end
local direction = offset / distance
local reach = math.min(MANIPULATE_REACH, distance - part.Size.Magnitude / 2)
local pushed = false
if reach > 0 and firstHit.Distance < reach then
local forward = origin + direction * reach
if blockedBy(forward) == nil then return false, forward end
pushed = true
end
local up = Vector3.yAxis
local side = direction:Cross(math.abs(direction:Dot(up)) > 0.99 and Vector3.xAxis or up).Unit
local other = side:Cross(direction).Unit
local samples = pushed and 6 or 7
for index = 0, samples - 1 do
local angle = math.tau * index / samples
local candidate = origin + (side * math.cos(angle) + other * math.sin(angle)) * MANIPULATE_REACH
if blockedBy(candidate) == nil then return false, candidate end
end
return false, nil
end
local manipulateCache = setmetatable({}, { __mode = 'k' })
extras.ManipulateAllows = guard('manipulate_allows', function(subject, part, worldPosition)
if not extras.Tog('KPD1', false) or AimbotBridge.ResolveAimbotMode() ~= 'Silent' then return false end
if not part or typeof(worldPosition) ~= 'Vector3' then return false end
if extras.Opt('KPD2', 'On Best Target') == 'On Best Target' then
local committed = RivalsRuntimeBridge.AimbotTargeting and RivalsRuntimeBridge.AimbotTargeting.Committed
local committedInstance = committed and committed.instance
if committedInstance ~= nil and committedInstance ~= subject then return false end
end
local camera = Workspace.CurrentCamera
if not camera then return false end
local now = os.clock()
local cached = manipulateCache[subject]
if cached and now - cached.At < 0.1 then return cached.Result end
local _, origin = findVisibleOrigin(camera.CFrame.Position, part, worldPosition)
local result = origin ~= nil
manipulateCache[subject] = { At = now, Result = result }
return result
end, false)
local function localHit(origin, part, point)
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Include
params.FilterDescendantsInstances = { part }
local hit = Workspace:Raycast(origin, point - origin, params)
local worldPoint = hit and hit.Position or point
local objectPoint = part.CFrame:PointToObjectSpace(worldPoint)
if objectPoint == Vector3.zero then return nil end
return objectPoint
end
local function manipulatePacket(shot)
local target = extras.ShotTarget
if not target or not target.part or not target.part.Parent or typeof(target.worldPosition) ~= 'Vector3' then
return
end
local aim = decodeCFrame(shot['\0'])
if not aim then return end
local part, point = target.part, target.worldPosition
local visible, newOrigin = findVisibleOrigin(aim.Position, part, point)
if visible or newOrigin == nil then return end
local hitLocal = localHit(newOrigin, part, point)
if not hitLocal then return end
local look = encodeCFrame(CFrame.lookAt(newOrigin, point))
shot['\0'] = look
shot['\1'] = encodeCFrame(CFrame.lookAt(newOrigin, point))
shot['\2'] = part
shot['\3'] = encodeCFrame(CFrame.new(hitLocal))
extras.Pulse('manipulated', 'Manipulated', 0.8)
end
local function handlePacket(controller, packet)
if packet.type ~= 'StartShooting' then return end
local args = packet.args
local shot = type(args) == 'table' and args['\1'] or nil
if type(shot) ~= 'table' then return end
local inner = controller._playerContext and controller._playerContext.inner
local item = inner and inner.fighterState:GetItemById(packet.objectId)
if item == nil then return end
local info = rawget(item, 'Info')
if type(info) ~= 'table' or rawget(info, 'Type') ~= 'Gun' then return end
if extras.Tog('KPD0', false) then
local hit = shot['\2']
if typeof(hit) == 'Instance' then
local model = hit:FindFirstAncestorOfClass('Model')
local player = model and Players:GetPlayerFromCharacter(model)
if player then
local origin = decodeCFrame(shot['\0'])
if isDeflecting(player) or isShielded(player, model, origin and origin.Position or nil) then
packet.block = true
extras.Pulse('antikatana', 'Anti Katana: shot blocked', 1.2)
return
end
end
end
end
if extras.Tog('KPD1', false) then manipulatePacket(shot) end
end
function extras.NeedsInputHook() return extras.Tog('KPD0', false) or extras.Tog('KPD1', false) end
extras.NewController = guard('new_controller', function(binding, playerContext)
local controller = { _inputBinding = binding, _playerContext = playerContext }
binding:SetHandler(function(packet)
local ok, err = pcall(handlePacket, controller, packet)
if not ok then extras.Report('packet_handler', err) end
end)
return controller
end, nil)
function extras.DestroyController(controller)
if controller and controller._inputBinding then pcall(function() controller._inputBinding:Destroy() end) end
end
extras.SyncControllers = guard('sync_controllers', function()
local controller = RivalsModsState.ExtrasController
if not controller then return end
local enabled = extras.NeedsInputHook()
if controller._inputBinding.enabled ~= enabled then controller._inputBinding:SetEnabled(enabled) end
end, nil)
-- ---------------------------------------------------------------- feedback text templates
local function applyTemplate(template, character, damage, partName)
local player = typeof(character) == 'Instance' and Players:GetPlayerFromCharacter(character) or nil
local name = player and player.Name or (typeof(character) == 'Instance' and character.Name or 'player')
local display = player and (player.DisplayName ~= '' and player.DisplayName or player.Name) or name
local amount = tonumber(damage)
local values = {
NAME = name,
DNAME = display,
DMG = amount and tostring(math.floor(amount + 0.5)) or '?',
PART = tostring(partName or 'Body'),
}
return (string.gsub(template, '%%(%u+)%%', function(token) return values[token] end))
end
extras.ApplyTemplate = applyTemplate
extras.FeedbackText = guard('feedback_text', function(kind, character, damage, partName, default)
local template = extras.Opt(kind == 'Hit' and 'KPF2' or 'KPF4', '')
if type(template) ~= 'string' or template:match('^%s*$') then return default end
return applyTemplate(template, character, damage, partName)
end, function(_, _, _, _, default) return default end)
-- ---------------------------------------------------------------- health bar colour modes
extras.HealthColor = guard('health_color', function(ratio, default)
local mode = extras.Opt('KPH0', 'Reactive')
if mode == 'Solid' then return extras.Opt('KPH1', default) end
if mode == 'Gradient' then
local low = extras.Opt('KPH2', Color3.fromRGB(255, 60, 60))
local high = extras.Opt('KPH3', Color3.fromRGB(60, 255, 60))
return low:Lerp(high, math.clamp(ratio or 0, 0, 1))
end
return default
end, function(_, default) return default end)
-- ---------------------------------------------------------------- flag text style (rank / win streak / deflecting)
local flagFonts = { UI = 0, System = 1, Plex = 2, Monospace = 3 }
extras.FlagFont = guard(
'flag_font',
function(default) return flagFonts[extras.Opt('KPG1', 'Same As Text')] or default end,
function(default) return default end
)
extras.FlagSize = guard('flag_size', function(default)
local size = extras.Num('KPG2', 0)
if size > 0 then return size end
return default
end, function(default) return default end)
extras.FlagText = guard('flag_text', function(text)
local case = extras.Opt('KPG3', 'Normal')
local surround = extras.Opt('KPG4', 'None')
if (case == 'Normal' and surround == 'None') or text == '' then return text end
local pair = RivalsRuntimeBridge.EspExtras.Surrounds[surround]
local lines = string.split(text, '\n')
for index, line in ipairs(lines) do
if case == 'UPPER' then
line = string.upper(line)
elseif case == 'lower' then
line = string.lower(line)
end
if pair and line ~= '' then line = pair[1] .. line .. pair[2] end
lines[index] = line
end
return table.concat(lines, '\n')
end, function(text) return text end)
extras.CoreLoaded = true
end, function(err)
RivalsRuntimeBridge.Extras.CoreError = tostring(err)
task.defer(function() pcall(ReportRivalsRuntimeIssue, 'extras_core_load', tostring(err)) end)
return err
end)
-- ===== ZkxHub extras :: end core =====
-- ===== ZkxHub extras :: ESP =====
-- Independent Drawing-based layer. It never touches the base ESP objects; the only coupling is two tiny
-- hooks (corner box suppression, status text offset) that return the original behaviour when off.
xpcall(function()
local extras = RivalsRuntimeBridge.Extras
local entries = {}
local frameId = 0
local stamp = setmetatable({}, { __mode = 'k' })
local indicatorTexts = {}
local BONE_NAMES = {
Head = true,
Torso = true,
UpperTorso = true,
LowerTorso = true,
LeftUpperLeg = true,
LeftLowerLeg = true,
LeftFoot = true,
RightUpperLeg = true,
RightLowerLeg = true,
RightFoot = true,
LeftUpperArm = true,
LeftLowerArm = true,
LeftHand = true,
RightUpperArm = true,
RightLowerArm = true,
RightHand = true,
LeftLeg = true,
RightLeg = true,
LeftArm = true,
RightArm = true,
}
local BLACK = Color3.new(0, 0, 0)
local function newDrawing(kind, props)
local ok, drawable = pcall(Drawing.new, kind)
if not ok or drawable == nil then return nil end
for key, value in pairs(props or {}) do
pcall(function() drawable[key] = value end)
end
return drawable
end
local function slot(entry, name, kind, props)
local cached = entry.drawables[name]
if cached ~= nil then return cached or nil end
local drawable = newDrawing(kind, props)
entry.drawables[name] = drawable or false
return drawable
end
local function mark(drawable)
if drawable then
stamp[drawable] = frameId
if drawable.Visible ~= true then drawable.Visible = true end
end
end
local function sweep(entry)
for _, drawable in pairs(entry.drawables) do
if drawable and stamp[drawable] ~= frameId and drawable.Visible then drawable.Visible = false end
end
end
local function destroyEntry(entry)
for _, drawable in pairs(entry.drawables) do
if drawable then pcall(function() drawable:Remove() end) end
end
entry.drawables = {}
end
local function clearAll()
for player, entry in pairs(entries) do
destroyEntry(entry)
entries[player] = nil
end
for index, drawable in pairs(indicatorTexts) do
pcall(function() drawable:Remove() end)
indicatorTexts[index] = nil
end
end
table.insert(extras.Cleanups, clearAll)
local function readScope(scope)
local prefix = 'KPE' .. scope
local function tog(id, default) return extras.Tog(prefix .. id, default) end
local function opt(id, default) return extras.Opt(prefix .. id, default) end
local function num(id, default) return extras.Num(prefix .. id, default) end
return {
On = tog('0', false),
Skeleton = tog('SK', false),
SkeletonColor = opt('SKC', Color3.new(1, 1, 1)),
SkeletonGradient = tog('SKG', false),
SkeletonColor2 = opt('SKH', Color3.fromRGB(255, 70, 70)),
SkeletonThickness = num('SKT', 1),
HeadMarker = tog('HM', false),
HeadMarkerColor = opt('HMC', Color3.fromRGB(255, 255, 255)),
HeadMarkerShape = opt('HMS', 'Circle'),
HeadMarkerFilled = tog('HMF', false),
HeadMarkerOutline = tog('HMO', true),
HeadMarkerSize = num('HMR', 1),
Tracer = tog('TR', false),
TracerColor = opt('TRC', Color3.fromRGB(255, 255, 255)),
TracerGradient = tog('TRG', false),
TracerColor2 = opt('TRH', Color3.fromRGB(255, 70, 70)),
TracerThickness = num('TRT', 1),
TracerFrom = opt('TRF', 'Bottom'),
TracerTo = opt('TRW', 'Feet'),
TracerOutline = tog('TRO', true),
FullBox = tog('FB', false),
FullBoxColor = opt('FBC', Color3.fromRGB(255, 255, 255)),
FilledBox = tog('FF', false),
FilledBoxColor = opt('FFC', Color3.fromRGB(255, 60, 60)),
FilledBoxOpacity = num('FFA', 0.25),
FilledBoxGradient = tog('FFG', false),
FilledBoxColor2 = opt('FFH', Color3.fromRGB(60, 60, 255)),
AmmoBar = tog('AB', false),
AmmoBarColor = opt('ABC', Color3.fromRGB(80, 160, 255)),
AmmoBarColor2 = opt('ABH', Color3.fromRGB(255, 70, 70)),
AmmoBarMode = opt('ABM', 'Reactive'),
}
end
-- Rivals rigs hang each limb off an AnimationConstraint (torso/head use a Motor6D), so read both and
-- join the two parts each joint connects. If the part names are not the usual limb names, fall back to
-- any joint between body parts so a differently named rig still gets a skeleton.
local function addBone(bones, seen, a, b)
if a and b and a ~= b and a:IsA('BasePart') and b:IsA('BasePart') then
local key = a.Name .. '|' .. b.Name
if not seen[key] then
seen[key] = true
bones[#bones + 1] = { a, b }
end
end
end
local function jointParts(descendant)
if descendant:IsA('AnimationConstraint') then
local a0, a1 = descendant.Attachment0, descendant.Attachment1
return a0 and a0.Parent, a1 and a1.Parent
end
if descendant:IsA('Motor6D') then return descendant.Part0, descendant.Part1 end
return nil, nil
end
local function isBodyPart(part)
local name = part.Name
return name ~= 'HumanoidRootPart' and name:sub(1, 6) ~= 'Hitbox'
end
local function collectBones(character)
local descendants = character:GetDescendants()
local bones, seen = {}, {}
for _, descendant in ipairs(descendants) do
local a, b = jointParts(descendant)
if a and b and BONE_NAMES[a.Name] and BONE_NAMES[b.Name] then addBone(bones, seen, a, b) end
end
if #bones <= 2 then
for _, descendant in ipairs(descendants) do
local a, b = jointParts(descendant)
if a and b and isBodyPart(a) and isBodyPart(b) then addBone(bones, seen, a, b) end
end
end
if #bones == 0 then
local head = character:FindFirstChild('HitboxHead')
local body = character:FindFirstChild('HitboxBody')
if head and body then bones[1] = { head, body } end
end
return bones
end
local function reactiveColor(ratio)
return Color3.fromRGB(255, 60, 60):Lerp(Color3.fromRGB(60, 255, 60), math.clamp(ratio, 0, 1))
end
local function drawPlayer(player, entry, scope, cam, vp, uiScale, myPos, maxDistance, fitStatic, mouse)
local character = player.Character
if not character then return end
local parts = ReadCharacterEspParts(character, entry.parts)
entry.parts = parts
local root = parts and parts.HumanoidRootPart
if not root then return end
if myPos and (root.Position - myPos).Magnitude > maxDistance then return end
local rootScreen = cam:WorldToViewportPoint(root.Position)
if rootScreen.Z <= 0 then return end
local bounds = nil
if not fitStatic then bounds = GetHitboxScreenBounds(parts, character, cam) end
if bounds == nil then
local height = (5.5 / rootScreen.Z) * vp.Y * 0.5
local width = height * 0.55
bounds = {
MinX = rootScreen.X - width / 2,
MaxX = rootScreen.X + width / 2,
MinY = rootScreen.Y - height / 2,
MaxY = rootScreen.Y + height / 2,
Width = width,
Height = height,
CenterX = rootScreen.X,
CenterY = rootScreen.Y,
}
end
local minX, maxX, minY, maxY = bounds.MinX, bounds.MaxX, bounds.MinY, bounds.MaxY
local width, height = math.max(maxX - minX, 1), math.max(maxY - minY, 1)
local boxPos, boxSize = Vector2.new(minX, minY), Vector2.new(width, height)
if scope.FilledBox then
local strips = scope.FilledBoxGradient and 10 or 1
local stripHeight = height / strips
for index = 1, strips do
local strip = slot(entry, 'fill' .. index, 'Square', { Filled = true, Thickness = 1 })
if strip then
strip.Position = Vector2.new(minX, minY + stripHeight * (index - 1))
strip.Size = Vector2.new(width, math.ceil(stripHeight) + (index < strips and 1 or 0))
strip.Color = strips > 1 and scope.FilledBoxColor:Lerp(scope.FilledBoxColor2, (index - 0.5) / strips)
or scope.FilledBoxColor
strip.Transparency = math.clamp(scope.FilledBoxOpacity, 0, 1)
mark(strip)
end
end
end
if scope.FullBox then
local outline = slot(entry, 'boxOutline', 'Square', { Filled = false })
if outline then
outline.Position, outline.Size, outline.Color = boxPos, boxSize, BLACK
outline.Thickness = 3 * uiScale + 1
outline.Transparency = 1
mark(outline)
end
local box = slot(entry, 'box', 'Square', { Filled = false })
if box then
box.Position, box.Size, box.Color = boxPos, boxSize, scope.FullBoxColor
box.Thickness = math.max(1, uiScale)
box.Transparency = 1
mark(box)
end
end
if scope.Skeleton then
if entry.bonesCharacter ~= character or os.clock() - entry.bonesAt > 3 then
entry.bones = collectBones(character)
entry.bonesCharacter = character
entry.bonesAt = os.clock()
end
for index, bone in ipairs(entry.bones) do
local a, b = bone[1], bone[2]
if a.Parent and b.Parent then
local pa, pb = cam:WorldToViewportPoint(a.Position), cam:WorldToViewportPoint(b.Position)
if pa.Z > 0 and pb.Z > 0 then
local line = slot(entry, 'bone' .. index, 'Line')
if line then
line.From, line.To = Vector2.new(pa.X, pa.Y), Vector2.new(pb.X, pb.Y)
line.Thickness = scope.SkeletonThickness
line.Transparency = 1
if scope.SkeletonGradient then
local t = math.clamp((((pa.Y + pb.Y) / 2) - minY) / height, 0, 1)
line.Color = scope.SkeletonColor:Lerp(scope.SkeletonColor2, t)
else
line.Color = scope.SkeletonColor
end
mark(line)
end
end
end
end
end
if scope.HeadMarker then
local head = character:FindFirstChild('HitboxHead') or character:FindFirstChild('Head')
if head then
local headScreen = cam:WorldToViewportPoint(head.Position)
if headScreen.Z > 0 then
local center = Vector2.new(headScreen.X, headScreen.Y)
local radius = math.max(3, height * 0.06) * math.clamp(scope.HeadMarkerSize, 0.2, 4)
local shape = scope.HeadMarkerShape
if shape == 'Circle' then
if scope.HeadMarkerOutline then
local outline = slot(entry, 'headOutline', 'Circle', { NumSides = 24, Filled = false })
if outline then
outline.Position, outline.Radius, outline.Color = center, radius + 1, BLACK
outline.Thickness = 3
outline.Transparency = 1
mark(outline)
end
end
local circle = slot(entry, 'head', 'Circle', { NumSides = 24 })
if circle then
circle.Position, circle.Radius, circle.Color = center, radius, scope.HeadMarkerColor
circle.Filled = scope.HeadMarkerFilled
circle.Thickness = 1
circle.Transparency = 1
mark(circle)
end
elseif shape == 'Diamond' then
local function diamond(name, color, size, filled, thickness)
local quad = slot(entry, name, 'Quad')
if quad then
quad.PointA = center + Vector2.new(0, -size)
quad.PointB = center + Vector2.new(size, 0)
quad.PointC = center + Vector2.new(0, size)
quad.PointD = center + Vector2.new(-size, 0)
quad.Color, quad.Filled, quad.Thickness, quad.Transparency = color, filled, thickness, 1
mark(quad)
end
end
if scope.HeadMarkerOutline then diamond('headOutline', BLACK, radius + 1.5, false, 3) end
diamond('head', scope.HeadMarkerColor, radius, scope.HeadMarkerFilled, 1)
else
local function arm(name, from, to, color, thickness)
local line = slot(entry, name, 'Line')
if line then
line.From, line.To, line.Color, line.Thickness, line.Transparency =
from, to, color, thickness, 1
mark(line)
end
end
local h = Vector2.new(radius, 0)
local v = Vector2.new(0, radius)
if scope.HeadMarkerOutline then
arm('headOutlineH', center - h, center + h, BLACK, 3)
arm('headOutlineV', center - v, center + v, BLACK, 3)
end
arm('headH', center - h, center + h, scope.HeadMarkerColor, 1)
arm('headV', center - v, center + v, scope.HeadMarkerColor, 1)
end
end
end
end
if scope.Tracer then
local origin
local from = scope.TracerFrom
if from == 'Center' then
origin = Vector2.new(vp.X / 2, vp.Y / 2)
elseif from == 'Top' then
origin = Vector2.new(vp.X / 2, 0)
elseif from == 'Mouse' then
origin = mouse
else
origin = Vector2.new(vp.X / 2, vp.Y)
end
local target = Vector2.new(bounds.CenterX, maxY)
if scope.TracerTo == 'Head' then
local head = character:FindFirstChild('HitboxHead') or character:FindFirstChild('Head')
local headScreen = head and cam:WorldToViewportPoint(head.Position)
if headScreen and headScreen.Z > 0 then
target = Vector2.new(headScreen.X, headScreen.Y)
else
target = Vector2.new(bounds.CenterX, minY)
end
end
if scope.TracerOutline then
local outline = slot(entry, 'tracerOutline', 'Line')
if outline then
outline.From, outline.To, outline.Color = origin, target, BLACK
outline.Thickness = scope.TracerThickness + 2
outline.Transparency = 1
mark(outline)
end
end
local segments = scope.TracerGradient and 8 or 1
for index = 1, segments do
local line = slot(entry, 'tracer' .. index, 'Line')
if line then
local t0, t1 = (index - 1) / segments, index / segments
line.From, line.To = origin:Lerp(target, t0), origin:Lerp(target, t1)
line.Color = segments > 1 and scope.TracerColor:Lerp(scope.TracerColor2, (index - 0.5) / segments)
or scope.TracerColor
line.Thickness = scope.TracerThickness
line.Transparency = 1
mark(line)
end
end
end
if scope.AmmoBar then
local info = GetCachedWeaponInfo(player)
local ammo, maxAmmo = info and info.ammo, info and info.maxAmmo
if type(ammo) == 'number' and type(maxAmmo) == 'number' and maxAmmo > 0 and maxAmmo < math.huge then
local ratio = math.clamp(ammo / maxAmmo, 0, 1)
local barWidth = math.max(3 * uiScale, 2)
local x = maxX + 3 * uiScale
local background = slot(entry, 'ammoBg', 'Square', { Filled = true })
if background then
background.Position, background.Size, background.Color =
Vector2.new(x, minY), Vector2.new(barWidth, height), BLACK
background.Transparency = 0.6
mark(background)
end
local fillHeight = math.max(height * ratio, ratio > 0 and 1 or 0)
local fill = slot(entry, 'ammoFill', 'Square', { Filled = true })
if fill and fillHeight > 0 then
fill.Position = Vector2.new(x, maxY - fillHeight)
fill.Size = Vector2.new(barWidth, fillHeight)
local mode = scope.AmmoBarMode
if mode == 'Solid' then
fill.Color = scope.AmmoBarColor
elseif mode == 'Gradient' then
fill.Color = scope.AmmoBarColor2:Lerp(scope.AmmoBarColor, ratio)
else
fill.Color = reactiveColor(ratio)
end
fill.Transparency = 1
mark(fill)
end
end
end
end
local function stepIndicators(cam)
local list = {}
if extras.Tog('KPI0', true) then
local now = os.clock()
for key, value in pairs(extras.IndicatorEntries) do
if value.Until > now then
list[#list + 1] = value.Text
else
extras.IndicatorEntries[key] = nil
end
end
table.sort(list)
end
local corner = extras.Opt('KPI1', 'Top Left')
local vp = cam.ViewportSize
for index, text in ipairs(list) do
local drawable = indicatorTexts[index]
if drawable == nil then
drawable =
newDrawing('Text', { Outline = true, Size = 14, Font = 3, Color = Color3.new(1, 1, 1), Center = false })
indicatorTexts[index] = drawable
end
if drawable then
drawable.Text = text
local y = 140 + (index - 1) * 16
if corner == 'Bottom Left' or corner == 'Bottom Right' then y = vp.Y - 160 - (index - 1) * 16 end
local x = (corner == 'Top Right' or corner == 'Bottom Right') and (vp.X - 180) or 12
drawable.Position = Vector2.new(x, y)
drawable.Visible = true
end
end
for index = #list + 1, #indicatorTexts do
local drawable = indicatorTexts[index]
if drawable and drawable.Visible then drawable.Visible = false end
end
end
extras.EspStep = function(deltaTime)
local ok, err = pcall(function()
frameId = frameId + 1
local cam = Workspace.CurrentCamera
if cam == nil then return end
local enemy, team = readScope('E'), readScope('T')
if not EspRenderSettings.Enabled or (not enemy.On and not team.On) then
if next(entries) ~= nil then
for player, entry in pairs(entries) do
destroyEntry(entry)
entries[player] = nil
end
end
stepIndicators(cam)
return
end
local vp = cam.ViewportSize
local uiScale = (vp.Y > 0 and vp.Y or 1080) / 1080
local character = LP.Character
local myRoot = character and character:FindFirstChild('HumanoidRootPart')
local myPos = myRoot and myRoot.Position or nil
local maxDistance = extras.Num('KPEMD', 1000)
local fitStatic = extras.Opt('KPEBF', 'Dynamic') == 'Static'
local mouse = UserInputService:GetMouseLocation()
local myTeamId = LP:GetAttribute('TeamID')
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LP then
local entry = entries[player]
local active = IsPlayerInLocalEnvironment(player)
local isTeam = false
if active then
local theirTeam = player:GetAttribute('TeamID')
if myTeamId and theirTeam then
isTeam = myTeamId == theirTeam
elseif player.Team and LP.Team then
isTeam = player.Team == LP.Team
end
end
local scope = isTeam and team or enemy
if active and scope.On then
if entry == nil then
entry = { drawables = {}, bones = {}, bonesAt = 0 }
entries[player] = entry
end
local drawOk, drawErr =
pcall(drawPlayer, player, entry, scope, cam, vp, uiScale, myPos, maxDistance, fitStatic, mouse)
if not drawOk then extras.Report('esp_draw', drawErr) end
sweep(entry)
elseif entry then
sweep(entry)
end
end
end
for player, entry in pairs(entries) do
if player.Parent == nil then
destroyEntry(entry)
entries[player] = nil
end
end
stepIndicators(cam)
end)
if not ok then extras.Report('esp_step', err) end
end
extras.SuppressCornerBox = function(isTeammate)
local ok, result = pcall(function()
local prefix = isTeammate and 'KPET' or 'KPEE'
return extras.Tog(prefix .. '0', false) and extras.Tog(prefix .. 'FB', false)
end)
return ok and result == true
end
extras.StatusXOffset = function(isTeammate)
local ok, result = pcall(function()
local prefix = isTeammate and 'KPET' or 'KPEE'
if extras.Tog(prefix .. '0', false) and extras.Tog(prefix .. 'AB', false) then
return 7 * ((Workspace.CurrentCamera and Workspace.CurrentCamera.ViewportSize.Y or 1080) / 1080)
end
return 0
end)
return ok and result or 0
end
end, function(err)
RivalsRuntimeBridge.Extras.EspError = tostring(err)
task.defer(function() pcall(ReportRivalsRuntimeIssue, 'extras_esp_load', tostring(err)) end)
return err
end)
-- ===== ZkxHub extras :: end ESP =====
-- ===== ZkxHub extras :: misc (images, config transfer, spoofer) =====
xpcall(function()
local extras = RivalsRuntimeBridge.Extras
-- ---------------------------------------------------------------- crosshair image library
extras.Images = { Loaded = false, List = {}, Path = 'ZkxHub/Crosshair Images.json' }
local function trim(value)
if type(value) ~= 'string' then return '' end
return value:match('^%s*(.-)%s*$') or ''
end
function extras.Images.Load()
local images = extras.Images
if images.Loaded then return end
images.Loaded = true
images.List = {}
if type(isfile) ~= 'function' or not isfile(images.Path) then return end
local ok, decoded = pcall(function() return HttpService:JSONDecode(readfile(images.Path)) end)
local records = ok and type(decoded) == 'table' and (decoded.images or decoded) or nil
if type(records) ~= 'table' then return end
local seen = {}
for _, record in ipairs(records) do
if type(record) == 'table' then
local name, source = trim(record.name), trim(record.source)
if name ~= '' and source ~= '' and not seen[name] then
seen[name] = true
table.insert(images.List, { name = name, source = source })
end
end
end
table.sort(images.List, function(left, right) return left.name < right.name end)
end
function extras.Images.Save()
local images = extras.Images
if type(writefile) ~= 'function' then return false end
return (
pcall(function()
if type(makefolder) == 'function' and type(isfolder) == 'function' and not isfolder('ZkxHub') then
makefolder('ZkxHub')
end
writefile(images.Path, HttpService:JSONEncode({ version = 1, images = images.List }))
end)
)
end
function extras.Images.Names()
extras.Images.Load()
local names = {}
for _, record in ipairs(extras.Images.List) do
table.insert(names, record.name)
end
return names
end
function extras.Images.Find(name)
extras.Images.Load()
for _, record in ipairs(extras.Images.List) do
if record.name == name then return record end
end
return nil
end
function extras.Images.Add(nameValue, sourceValue)
local name, source = trim(nameValue), trim(sourceValue)
if name == '' or source == '' or extras.Images.Find(name) then return false end
if source:match('^%d+$') then source = 'rbxassetid://' .. source end
table.insert(extras.Images.List, { name = name, source = source })
table.sort(extras.Images.List, function(left, right) return left.name < right.name end)
return extras.Images.Save()
end
function extras.Images.Remove(name)
extras.Images.Load()
for index, record in ipairs(extras.Images.List) do
if record.name == name then
table.remove(extras.Images.List, index)
return extras.Images.Save()
end
end
return false
end
function extras.Images.Refresh()
local option = Options.KPX3
if option and type(option.SetValues) == 'function' then option:SetValues(extras.Images.Names()) end
end
function extras.Images.UseSelected()
local option = Options.KPX3
local record = option and extras.Images.Find(option.Value)
if not record then
Library:Notify('Select a saved image first.')
return false
end
if Options.P1S26I1 then Options.P1S26I1:SetValue(record.source) end
if Options.P1S26D1 then Options.P1S26D1:SetValue('Image') end
if Toggles.P1S26T1 and not Toggles.P1S26T1.Value then Toggles.P1S26T1:SetValue(true) end
RivalsRuntimeBridge.ViewmodelVisuals.RefreshAll()
return true
end
-- ---------------------------------------------------------------- config transfer (clipboard)
local function configPath(name)
local folder = tostring(SaveManager.Folder) .. '/settings'
local sub = SaveManager.SubFolder
if type(sub) == 'string' and sub ~= '' then folder = folder .. '/' .. sub end
return folder .. '/' .. name .. '.json'
end
function extras.ExportConfig()
local clip = setclipboard or toclipboard
if type(clip) ~= 'function' then
Library:Notify('Export needs setclipboard, which this executor lacks.')
return false
end
local name = '__extras_export'
local ok, err = SaveManager:Save(name)
if not ok then
Library:Notify('Export failed: ' .. tostring(err))
return false
end
local path = configPath(name)
local readOk, data = pcall(readfile, path)
pcall(delfile, path)
if not readOk or type(data) ~= 'string' then
Library:Notify('Export failed: could not read the temporary file.')
return false
end
clip(data)
Library:Notify('Config copied to clipboard (' .. #data .. ' chars).')
return true
end
function extras.ImportConfig(text)
text = trim(text)
if text == '' then
Library:Notify('Paste a config into the box first.')
return false
end
local decodeOk, decoded = pcall(function() return HttpService:JSONDecode(text) end)
if not decodeOk or type(decoded) ~= 'table' or type(decoded.objects) ~= 'table' then
Library:Notify('That does not look like an exported config.')
return false
end
local name = '__extras_import'
SaveManager:CheckFolderTree()
local path = configPath(name)
local writeOk, writeErr = pcall(writefile, path, text)
if not writeOk then
Library:Notify('Import failed: ' .. tostring(writeErr))
return false
end
local loaded, loadErr = SaveManager:Load(name)
pcall(delfile, path)
if not loaded then
Library:Notify('Import failed: ' .. tostring(loadErr))
return false
end
task.defer(function() pcall(extras.Reconcile) end)
Library:Notify('Config imported.')
return true
end
-- ---------------------------------------------------------------- spoofer extras: names / avatar text, own profile data
local Names = {
Objects = setmetatable({}, { __mode = 'k' }),
Records = setmetatable({}, { __mode = 'k' }),
Connections = {},
Started = false,
Accum = 0,
}
extras.Names = Names
local function isTextObject(instance) return instance:IsA('TextLabel') or instance:IsA('TextButton') end
local function isImageObject(instance) return instance:IsA('ImageLabel') or instance:IsA('ImageButton') end
function Names.Collect(root)
for _, descendant in ipairs(root:GetDescendants()) do
if isTextObject(descendant) or isImageObject(descendant) then Names.Objects[descendant] = true end
end
end
function Names.Start()
if Names.Started then return end
local playerGui = LP:FindFirstChildOfClass('PlayerGui')
if not playerGui then return end
Names.Started = true
Names.Collect(playerGui)
Names.Connections[1] = playerGui.DescendantAdded:Connect(function(descendant)
if isTextObject(descendant) or isImageObject(descendant) then Names.Objects[descendant] = true end
end)
Names.Connections[2] = playerGui.DescendantRemoving:Connect(function(descendant)
Names.Objects[descendant] = nil
Names.Records[descendant] = nil
end)
end
function Names.Stop()
Names.Restore()
for _, connection in ipairs(Names.Connections) do
pcall(function() connection:Disconnect() end)
end
Names.Connections = {}
Names.Started = false
Names.Objects = setmetatable({}, { __mode = 'k' })
end
function Names.Restore()
for object, record in pairs(Names.Records) do
pcall(function()
if isTextObject(object) then
if object.Text == record.spoofed then object.Text = record.orig end
elseif object.Image == record.spoofed then
object.Image = record.orig
end
end)
end
Names.Records = setmetatable({}, { __mode = 'k' })
end
local function escapePattern(text) return (text:gsub('([%^%$%(%)%%%.%[%]%*%+%-%?])', '%%%1')) end
local function escapeReplacement(text) return (text:gsub('%%', '%%%%')) end
function Names.Targets()
local targets = {}
local any = false
for _, player in ipairs(Players:GetPlayers()) do
local isLocal = player == LP
local nameOn = extras.Tog(isLocal and 'KPN1' or 'KPN5', false)
local displayOn = extras.Tog(isLocal and 'KPN3' or 'KPN7', false)
local avatarOn = extras.Tog(isLocal and 'KPN9' or 'KPNB', false)
if nameOn or displayOn or avatarOn then
any = true
targets[#targets + 1] = {
Player = player,
Name = nameOn and trim(extras.Opt(isLocal and 'KPN2' or 'KPN6', '')) or '',
Display = displayOn and trim(extras.Opt(isLocal and 'KPN4' or 'KPN8', '')) or '',
Avatar = avatarOn and trim(tostring(extras.Opt(isLocal and 'KPNA' or 'KPNC', ''))) or '',
}
end
end
return targets, any
end
function Names.Step()
local targets, any = Names.Targets()
if not any then
if next(Names.Records) ~= nil then Names.Restore() end
return
end
Names.Start()
for object in pairs(Names.Objects) do
if object.Parent ~= nil then
local isText = isTextObject(object)
local current = isText and object.Text or object.Image
local record = Names.Records[object]
local base = current
if record and current == record.spoofed then base = record.orig end
local result = base
for _, target in ipairs(targets) do
local player = target.Player
if isText then
if
target.Display ~= ''
and player.DisplayName ~= ''
and result:find(player.DisplayName, 1, true)
then
result = result:gsub(escapePattern(player.DisplayName), escapeReplacement(target.Display))
end
if target.Name ~= '' and result:find(player.Name, 1, true) then
result = result:gsub(escapePattern(player.Name), escapeReplacement(target.Name))
end
elseif target.Avatar ~= '' then
local lowered = result:lower()
if
(
lowered:find('thumb', 1, true)
or lowered:find('headshot', 1, true)
or lowered:find('avatar', 1, true)
) and result:find(tostring(player.UserId), 1, true)
then
result = result:gsub(tostring(player.UserId), escapeReplacement(target.Avatar))
end
end
end
if result ~= base then
Names.Records[object] = { orig = base, spoofed = result }
if isText then
object.Text = result
else
object.Image = result
end
elseif record then
if isText then
object.Text = base
else
object.Image = base
end
Names.Records[object] = nil
end
end
end
end
-- own profile fields served through the game's player-data proxy (the cosmetics module owns the proxy)
extras.DataFields = {
EventCurrency = { 'KPS1', 'KPS2', 1 },
WeaponKeys = { 'KPS3', 'KPS4', 1 },
Level = { 'KPS5', 'KPS6', 1 },
CasualWins = { 'KPS7', 'KPS8', 1 },
RankedWins = { 'KPS9', 'KPSA', 1 },
CasualWinPercent = { 'KPSB', 'KPSC', 0.01 },
RankedWinPercent = { 'KPSD', 'KPSE', 0.01 },
RankedCurrentELO = { 'KPSF', 'KPSG', 1 },
FavoriteMap = { 'KPSH', 'KPSI', 'text' },
}
local function dataFieldImpl(fieldName)
local spec = extras.DataFields[fieldName]
if spec == nil or not extras.Tog(spec[1], false) then return nil end
local raw = extras.Opt(spec[2], '')
if spec[3] == 'text' then
raw = trim(tostring(raw))
return raw ~= '' and raw or nil
end
local number = tonumber(raw)
if number == nil then return nil end
return number * spec[3]
end
-- sits on the game's player-data read path, so it must never throw
extras.DataField = function(fieldName)
local ok, value = pcall(dataFieldImpl, fieldName)
if ok then return value end
return nil
end
-- The profile page never reads the local player data: ViewProfile.Fetch asks the server (Remotes.Misc.RequestProfile) and builds
-- every number from that answer, so the data proxy below only reaches screens that read local data (shop keys, event currency).
-- Fetch uses its ReplicatedStorage upvalue for that one call only, so a table that answers the same path stands in for it and
-- patches the answer when it is about the local player.
extras.ProfileFields =
{ 'Level', 'CasualWins', 'CasualWinPercent', 'RankedWins', 'RankedWinPercent', 'RankedCurrentELO', 'FavoriteMap' }
extras.ProfileHook = { Installed = false }
local function profileOverlay(real, overrides)
return setmetatable({}, {
__index = function(_, key)
local override = overrides[key]
if override ~= nil then return override end
local value = real[key]
if type(value) == 'function' then
return function(_, ...) return value(real, ...) end
end
return value
end,
})
end
local function findUpvalueIndex(fn, wanted)
if type(debug.getupvalues) == 'function' then
local ok, upvalues = pcall(debug.getupvalues, fn)
if ok and type(upvalues) == 'table' then
for index, value in pairs(upvalues) do
if typeof(value) == 'Instance' and value == wanted then return index end
end
end
end
if type(debug.getupvalue) == 'function' then
for index = 1, 80 do
local ok, value = pcall(debug.getupvalue, fn, index)
if not ok then break end
if typeof(value) == 'Instance' and value == wanted then return index end
end
end
return nil
end
function extras.ProfilePatch(reply)
if type(reply) ~= 'table' then return reply end
local patched = nil
for _, field in ipairs(extras.ProfileFields) do
local value = extras.DataField(field)
if value ~= nil then
patched = patched or table.clone(reply)
patched[field] = value
end
end
return patched or reply
end
function extras.InstallProfileHook()
local hook = extras.ProfileHook
if hook.Installed then return true end
local wanted = false
for _, field in ipairs(extras.ProfileFields) do
local spec = extras.DataFields[field]
if spec and extras.Tog(spec[1], false) then
wanted = true
break
end
end
if not wanted then return false end
local ok, result = pcall(function()
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local pages = modules and modules:FindFirstChild('Pages')
local pageModule = pages and pages:FindFirstChild('ViewProfile')
local service = game:GetService('ReplicatedStorage')
local remotes = service:FindFirstChild('Remotes')
local misc = remotes and remotes:FindFirstChild('Misc')
local remote = misc and misc:FindFirstChild('RequestProfile')
if not pageModule or not remote then return false end
local loaded, page = pcall(require, pageModule)
if not loaded then error(page, 0) end
local fetch = type(page) == 'table' and page.Fetch or nil
if type(fetch) ~= 'function' or type(debug.setupvalue) ~= 'function' then return false end
local index = findUpvalueIndex(fetch, service)
if not index then return false end
local standIn = profileOverlay(service, {
Remotes = profileOverlay(remotes, {
Misc = profileOverlay(misc, {
RequestProfile = profileOverlay(remote, {
InvokeServer = function(_, target, ...)
local reply = remote:InvokeServer(target, ...)
if target == LP then return extras.ProfilePatch(reply) end
return reply
end,
}),
}),
}),
})
debug.setupvalue(fetch, index, standIn)
hook.Installed = true
hook.Page, hook.Fetch, hook.Index, hook.Service = page, fetch, index, service
return true
end)
if not ok then
extras.Report('profile_hook', result)
return false
end
return result == true
end
function extras.RefreshProfilePage()
local hook = extras.ProfileHook
local page = hook.Installed and hook.Page or nil
if not page then return end
-- the server answers a profile request with nothing when the previous one is under a second old, and Fetch closes the page on
-- nothing, so rapid row changes are coalesced and the fetch waits until the last change is 1.5 s old
hook.RefreshToken = (hook.RefreshToken or 0) + 1
local token = hook.RefreshToken
task.delay(1.5, function()
if token ~= hook.RefreshToken or not hook.Installed then return end
-- the game's own threads run at identity 2; Fetch lazily requires modules, which an executor thread may not do
local previousIdentity = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 2) end
pcall(function()
if page:IsOpen() and page._last_player_object == LP then page:Fetch(LP) end
end)
if previousIdentity ~= nil and type(setthreadidentity) == 'function' then
pcall(setthreadidentity, previousIdentity)
end
end)
end
function extras.RestoreProfileHook()
local hook = extras.ProfileHook
if not hook.Installed then return end
hook.Installed = false
pcall(debug.setupvalue, hook.Fetch, hook.Index, hook.Service)
end
table.insert(extras.Cleanups, extras.RestoreProfileHook)
function extras.RefreshData()
extras.InstallProfileHook()
extras.RefreshProfilePage()
local cosmetics = extras.CosmeticsRef
if not cosmetics then return false end
local anyOn = false
for _, spec in pairs(extras.DataFields) do
if extras.Tog(spec[1], false) then
anyOn = true
break
end
end
if anyOn then
local controller = cosmetics.ResolvePlayerDataController()
local currentData = controller and rawget(controller, 'CurrentData') or nil
if type(currentData) == 'table' then pcall(cosmetics.LoadPlayerDataProxy, currentData) end
end
for fieldName in pairs(extras.DataFields) do
pcall(cosmetics.TriggerNativeDataChanged, fieldName)
end
return true
end
-- ---------------------------------------------------------------- avatar changer
-- Local only. The client may not call Humanoid:ApplyDescription ("can only be called by the backend server"), so another user's look is
-- built the way the game builds its own preview models (a model made from that user's HumanoidDescription) and its cosmetic pieces are
-- copied onto the local character: accessories, clothes, body colors, head. Nothing replicates, other players keep seeing the real avatar.
-- Everything it changes is recorded per character and put back by Revert (the game's Visibility module rewrites part transparency on
-- its own, so original accessories are taken off the character instead of being hidden, and put back on restore).
-- Keeping the look: a respawn gives a new character (CharacterAdded), but the server can also add its own accessories or swap the
-- shirt after spawn, and the fighter's model is not always LP.Character. So once a second every body is compared with what was
-- applied to it: a foreign accessory is taken off, a body that lost one of our pieces (or never had them) is dressed again.
local Avatar = {
Records = setmetatable({}, { __mode = 'k' }),
Dressing = setmetatable({}, { __mode = 'k' }),
Tries = setmetatable({}, { __mode = 'k' }),
Cache = {},
Busy = false,
Active = nil,
Preview = nil,
Connection = nil,
GuardToken = 0,
Controller = nil,
}
extras.Avatar = Avatar
-- the game's own recipe for its preview models: its limb meshes, everything else from the account
local AVATAR_LIMBS = {
Torso = 15365012259,
LeftArm = 15365010034,
RightArm = 15365012263,
LeftLeg = 15365010038,
RightLeg = 15365010030,
}
local AVATAR_PARTS = { 'Accessories', 'Clothing', 'Body Colors', 'Head & Face' }
local AVATAR_COLORS =
{ 'HeadColor3', 'LeftArmColor3', 'LeftLegColor3', 'RightArmColor3', 'RightLegColor3', 'TorsoColor3' }
function Avatar.PartsWanted()
local wanted = {}
for _, name in ipairs(AVATAR_PARTS) do
wanted[name] = extras.Has('KPV3', name, true)
end
return wanted
end
function Avatar.Resolve(text)
text = trim(tostring(text or ''))
if text == '' then return nil, 'Enter a Roblox user id or name first.' end
if text:match('^%d+$') then return tonumber(text) end
local ok, userId = pcall(Players.GetUserIdFromNameAsync, Players, text)
if ok and type(userId) == 'number' then return userId end
return nil, 'No Roblox user is called ' .. text .. '.'
end
function Avatar.NameOf(userId)
local ok, name = pcall(Players.GetNameFromUserIdAsync, Players, userId)
if ok and type(name) == 'string' and name ~= '' then return name end
return tostring(userId)
end
-- one model per user, built once; only the active one and the newest are kept
function Avatar.Build(userId)
local cached = Avatar.Cache[userId]
if cached and cached:FindFirstChildOfClass('Humanoid') then return cached end
local ok, description = pcall(Players.GetHumanoidDescriptionFromUserIdAsync, Players, userId)
if not ok then return nil, tostring(description) end
for property, assetId in pairs(AVATAR_LIMBS) do
description[property] = assetId
end
local built, model =
pcall(Players.CreateHumanoidModelFromDescriptionAsync, Players, description, Enum.HumanoidRigType.R15)
if not built then return nil, tostring(model) end
local keep = Avatar.Active and Avatar.Active.UserId or nil
for id, old in pairs(Avatar.Cache) do
if id ~= keep then
pcall(old.Destroy, old)
Avatar.Cache[id] = nil
end
end
Avatar.Cache[userId] = model
return model
end
-- MeshId can only be written from a thread with the executor's capabilities, and a menu callback may run at the game's identity 2:
-- the two functions that touch the character run at identity 8 and hand the caller's identity back afterwards
local function elevated(fn)
return function(...)
local previous = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if previous ~= nil and type(setthreadidentity) == 'function' then pcall(setthreadidentity, 8) end
local packed = table.pack(pcall(fn, ...))
if previous ~= nil and type(setthreadidentity) == 'function' then pcall(setthreadidentity, previous) end
if not packed[1] then error(packed[2], 0) end
return table.unpack(packed, 2, packed.n)
end
end
-- Undo keeps { instance, property, old value, the value that was set }: the first three put things back, the last one lets the
-- check below notice that the game changed it again
local function setProp(record, instance, property, value)
record.Undo[#record.Undo + 1] = { instance, property, instance[property], value }
instance[property] = value
end
-- an instance made by us is registered before it is parented, so a deferred ChildAdded can never mistake it for the game's
local function created(record, instance)
record.Created[#record.Created + 1] = instance
record.CreatedSet[instance] = true
return instance
end
-- the attachment of the same name on one of the character's body parts (not inside another accessory)
local function bodyAttachment(character, name)
for _, part in ipairs(character:GetChildren()) do
if part:IsA('BasePart') then
local found = part:FindFirstChild(name)
if found and found:IsA('Attachment') then return found end
end
end
return nil
end
-- A client-side AddAccessory only parents the accessory: it makes no weld and the old one still points at the preview model.
-- So the weld is rebuilt the way the engine builds it (Handle -> body part, C0/C1 from the two attachments), before it is added.
function Avatar.PrepareAccessory(accessory, character)
local clone = accessory:Clone()
local handle = clone:FindFirstChild('Handle')
if not handle or not handle:IsA('BasePart') then
clone:Destroy()
return nil
end
for _, descendant in ipairs(clone:GetDescendants()) do
if descendant:IsA('JointInstance') or descendant:IsA('WeldConstraint') then
descendant:Destroy()
elseif descendant:IsA('BasePart') then
descendant.CanCollide = false
descendant.CanTouch = false
descendant.CanQuery = false
descendant.Massless = true
end
end
local handleAttachment = handle:FindFirstChildOfClass('Attachment')
local target = handleAttachment and bodyAttachment(character, handleAttachment.Name)
if not target then
-- layered clothing carries no attachment: the engine fits it to the body, which a client cannot ask for
clone:Destroy()
return nil
end
local weld = Instance.new('Weld')
weld.Name = 'AccessoryWeld'
weld.Part0 = handle
weld.Part1 = target.Parent
weld.C0 = handleAttachment.CFrame
weld.C1 = target.CFrame
weld.Parent = handle
return clone
end
Avatar.Revert = elevated(function(character)
local record = Avatar.Records[character]
if not record then return end
Avatar.Records[character] = nil
for _, made in ipairs(record.Created) do
pcall(made.Destroy, made)
end
for _, original in ipairs(record.Removed) do
pcall(function() original.Parent = character end)
end
for index = #record.Undo, 1, -1 do
local entry = record.Undo[index]
pcall(function() entry[1][entry[2]] = entry[3] end)
end
end)
Avatar.ApplyTo = elevated(function(character, model, wanted)
local humanoid = character and character:FindFirstChildOfClass('Humanoid')
local head = character and character:FindFirstChild('Head')
if not humanoid or not head then return false, 'There is no character to dress yet.' end
Avatar.Revert(character)
local record =
{ Created = {}, CreatedSet = {}, Removed = {}, Undo = {}, Skipped = {}, Wanted = wanted, Complete = false }
Avatar.Records[character] = record
local ok, err = pcall(function()
if wanted['Accessories'] then
local originals = {}
for _, child in ipairs(character:GetChildren()) do
if child:IsA('Accessory') then originals[#originals + 1] = child end
end
for _, original in ipairs(originals) do
record.Removed[#record.Removed + 1] = original
original.Parent = nil
end
for _, accessory in ipairs(model:GetChildren()) do
if accessory:IsA('Accessory') then
local clone = Avatar.PrepareAccessory(accessory, character)
if clone then
created(record, clone)
humanoid:AddAccessory(clone)
else
record.Skipped[#record.Skipped + 1] = accessory.Name
end
end
end
end
if wanted['Clothing'] then
local function swap(className, property, source)
local current = character:FindFirstChildOfClass(className)
if current then
setProp(record, current, property, source and source[property] or '')
elseif source then
local clone = created(record, source:Clone())
clone.Parent = character
end
end
swap('Shirt', 'ShirtTemplate', model:FindFirstChildOfClass('Shirt'))
swap('Pants', 'PantsTemplate', model:FindFirstChildOfClass('Pants'))
swap('ShirtGraphic', 'Graphic', model:FindFirstChildOfClass('ShirtGraphic'))
end
if wanted['Body Colors'] then
local mine = character:FindFirstChildOfClass('BodyColors')
local theirs = model:FindFirstChildOfClass('BodyColors')
if mine and theirs then
for _, property in ipairs(AVATAR_COLORS) do
setProp(record, mine, property, theirs[property])
end
end
end
if wanted['Head & Face'] then
local theirs = model:FindFirstChild('Head')
if theirs and theirs:IsA('MeshPart') and head:IsA('MeshPart') then
-- the game's own rule for a head that is too big is 25 %; the size is kept so the neck and the camera do not move
local fits = true
for _, axis in ipairs({ 'X', 'Y', 'Z' }) do
if math.abs(theirs.Size[axis] / head.Size[axis] - 1) > 0.25 then fits = false end
end
if fits then
setProp(record, head, 'MeshId', theirs.MeshId)
setProp(record, head, 'TextureID', theirs.TextureID)
setProp(record, head, 'Size', theirs.Size)
local theirFace = theirs:FindFirstChildOfClass('Decal')
local myFace = head:FindFirstChildOfClass('Decal')
if theirFace and myFace then
setProp(record, myFace, 'Texture', theirFace.Texture)
elseif theirFace then
local face = created(record, theirFace:Clone())
face.Parent = head
end
else
record.Skipped[#record.Skipped + 1] = 'head (size)'
end
end
end
end)
if not ok then
Avatar.Revert(character)
return false, tostring(err)
end
record.Complete = true
return true, nil, record.Skipped
end)
local function sameValue(a, b)
if a == b then return true end
local kind = typeof(a)
if kind == 'Vector3' then return (a - b).Magnitude < 0.001 end
if kind == 'Color3' then return math.abs(a.R - b.R) + math.abs(a.G - b.G) + math.abs(a.B - b.B) < 0.01 end
return false
end
-- 'none': nothing was applied to this body; 'broken': one of our pieces is gone or was changed back; 'foreign': the game added
-- accessories (returned as the second value); 'ok'
function Avatar.Status(character)
local record = Avatar.Records[character]
if not record or not record.Complete then return 'none' end
for _, made in ipairs(record.Created) do
if made.Parent == nil then return 'broken' end
end
for _, entry in ipairs(record.Undo) do
local instance = entry[1]
if instance.Parent == nil or not sameValue(instance[entry[2]], entry[4]) then return 'broken' end
end
if record.Wanted['Accessories'] then
local foreign = nil
for _, child in ipairs(character:GetChildren()) do
if child:IsA('Accessory') and not record.CreatedSet[child] then
foreign = foreign or {}
foreign[#foreign + 1] = child
end
end
if foreign then return 'foreign', foreign end
end
return 'ok'
end
-- the game's accessories that showed up after the look was applied are taken off the same way the originals were
function Avatar.Absorb(character, foreign)
local record = Avatar.Records[character]
if not record then return end
for _, accessory in ipairs(foreign) do
if #record.Removed < 40 then
record.Removed[#record.Removed + 1] = accessory
accessory.Parent = nil
else
pcall(accessory.Destroy, accessory)
end
end
end
-- the bodies the game shows for the local fighter: the character, and the fighter entity's model when that is another one
function Avatar.Targets()
local list = {}
local character = LP.Character
if character then list[#list + 1] = character end
if Avatar.Controller == nil then
local ok, controller = pcall(require, LP.PlayerScripts.Controllers.FighterController)
if ok and type(controller) == 'table' then Avatar.Controller = controller end
end
local ok, model = pcall(function()
local fighter = Avatar.Controller and Avatar.Controller.LocalFighter
local entity = fighter and fighter.Entity
return entity and entity.Model
end)
if ok and model and model ~= character and typeof(model) == 'Instance' then list[#list + 1] = model end
return list
end
-- the Locker / equipment scene asks FighterController:GenerateCharacterModel(userId).Template:Clone(); answering that for the
-- local user id with the model built above makes the character there follow
function Avatar.SeedPreview(model)
local ok, controller = pcall(require, LP.PlayerScripts.Controllers.FighterController)
local cache = ok and type(controller) == 'table' and controller._character_model_cache or nil
if type(cache) ~= 'table' then return false end
local key = tostring(LP.UserId)
if Avatar.Preview == nil then Avatar.Preview = { Cache = cache, Key = key, Original = cache[key] } end
cache[key] = { Template = model }
return true
end
function Avatar.RestorePreview()
local preview = Avatar.Preview
if not preview then return end
Avatar.Preview = nil
preview.Cache[preview.Key] = preview.Original
end
-- a new body (respawn, round start) is dressed once the server has finished its own appearance
function Avatar.Dress(body)
if Avatar.Dressing[body] then return end
Avatar.Dressing[body] = true
task.spawn(function()
local ok, err = pcall(function()
local deadline = os.clock() + 12
while os.clock() < deadline and body.Parent ~= nil do
if
body:FindFirstChildOfClass('Humanoid')
and body:FindFirstChild('Head')
and (body ~= LP.Character or LP:HasAppearanceLoaded())
then
break
end
task.wait(0.2)
end
task.wait(0.3)
local active = Avatar.Active
if active and body.Parent ~= nil then
-- only a failure makes the next attempt wait longer
if Avatar.ApplyTo(body, active.Model, Avatar.PartsWanted()) then Avatar.Tries[body] = nil end
end
end)
Avatar.Dressing[body] = nil
if not ok then extras.Report('avatar_dress', err) end
end)
end
-- one pass of the once-a-second check
function Avatar.Keep(body)
if body.Parent == nil or Avatar.Dressing[body] then return end
local status, foreign = Avatar.Status(body)
if status == 'ok' then
Avatar.Tries[body] = nil
elseif status == 'foreign' then
Avatar.Absorb(body, foreign)
else
-- a body that cannot be dressed (no humanoid yet, an error) is retried less and less often
local tries = Avatar.Tries[body]
if tries and os.clock() - tries.at < math.min(1.5 * 2 ^ tries.count, 30) then return end
Avatar.Tries[body] = { count = (tries and tries.count or 0) + 1, at = os.clock() }
Avatar.Dress(body)
end
end
function Avatar.GuardStep()
if Avatar.Active and extras.Tog('KPV2', true) and not Avatar.Busy then
for _, body in ipairs(Avatar.Targets()) do
Avatar.Keep(body)
end
end
end
function Avatar.StartGuard()
Avatar.GuardToken += 1
local token = Avatar.GuardToken
local function pass()
if Avatar.GuardToken ~= token then return end
local ok, err = pcall(Avatar.GuardStep)
if not ok then extras.Report('avatar_guard', err) end
task.delay(1, pass)
end
task.delay(1, pass)
end
function Avatar.Watch()
if Avatar.Connection then return end
Avatar.Connection = LP.CharacterAdded:Connect(function(character)
if Avatar.Active and extras.Tog('KPV2', true) then Avatar.Dress(character) end
end)
Avatar.StartGuard()
end
-- the copy list changed while an avatar is on: dress the current bodies again
function Avatar.Reapply()
local active = Avatar.Active
if active then
for _, body in ipairs(Avatar.Targets()) do
pcall(Avatar.ApplyTo, body, active.Model, Avatar.PartsWanted())
end
end
end
function Avatar.Run(text)
if Avatar.Busy then
Library:Notify('Still loading the last avatar.')
return
end
Avatar.Busy = true
task.spawn(function()
local ok, err = pcall(function()
local userId, reason = Avatar.Resolve(text)
if not userId then
Library:Notify(reason)
return
end
local model, why = Avatar.Build(userId)
if not model then
Library:Notify('Could not load that avatar: ' .. tostring(why))
return
end
Avatar.Active = { UserId = userId, Model = model }
Avatar.Watch()
local applied, problem, skipped = false, 'There is no character to dress yet.', nil
for index, body in ipairs(Avatar.Targets()) do
local done, why2, skipped2 = Avatar.ApplyTo(body, model, Avatar.PartsWanted())
if index == 1 then
applied, problem, skipped = done, why2, skipped2
end
end
if extras.Tog('KPV4', true) then
Avatar.SeedPreview(model)
else
Avatar.RestorePreview()
end
local name = Avatar.NameOf(userId)
if not applied then
Library:Notify('Avatar not applied: ' .. tostring(problem))
elseif skipped and #skipped > 0 then
Library:Notify('Avatar applied: ' .. name .. '. Skipped: ' .. table.concat(skipped, ', ') .. '.')
else
Library:Notify('Avatar applied: ' .. name .. '.')
end
end)
Avatar.Busy = false
if not ok then
extras.Report('avatar_run', err)
Library:Notify('The avatar changer failed, see the console.')
end
end)
end
function Avatar.RestoreAll()
Avatar.Active = nil
local bodies = {}
for body in pairs(Avatar.Records) do
bodies[#bodies + 1] = body
end
for _, body in ipairs(bodies) do
Avatar.Revert(body)
end
Avatar.RestorePreview()
end
function Avatar.Restore()
Avatar.RestoreAll()
Library:Notify('Your own avatar is back.')
end
function Avatar.Destroy()
Avatar.RestoreAll()
Avatar.GuardToken += 1
if Avatar.Connection then
pcall(function() Avatar.Connection:Disconnect() end)
Avatar.Connection = nil
end
for id, model in pairs(Avatar.Cache) do
pcall(model.Destroy, model)
Avatar.Cache[id] = nil
end
end
table.insert(extras.Cleanups, Avatar.Destroy)
-- spoof text scan rides on the ESP step so there is a single patched call site
local baseEspStep = extras.EspStep
extras.EspStep = function(deltaTime)
baseEspStep(deltaTime)
Names.Accum = Names.Accum + (type(deltaTime) == 'number' and deltaTime or 0.016)
if Names.Accum < 0.5 then return end
Names.Accum = 0
local ok, err = pcall(Names.Step)
if not ok then extras.Report('spoof_text', err) end
end
table.insert(extras.Cleanups, function() Names.Stop() end)
end, function(err)
RivalsRuntimeBridge.Extras.MiscError = tostring(err)
task.defer(function() pcall(ReportRivalsRuntimeIssue, 'extras_misc_load', tostring(err)) end)
return err
end)
-- ===== ZkxHub extras :: end misc =====
-- ===== ZkxHub extras :: UI builders (each one adds groupboxes to an existing tab) =====
xpcall(function()
local extras = RivalsRuntimeBridge.Extras
local function safeGroup(tab, side, title, builder)
local ok, err = pcall(function()
local box = side == 'L' and tab:AddLeftGroupbox(title) or tab:AddRightGroupbox(title)
builder(box)
end)
if not ok then extras.Report('ui_' .. title, err) end
end
-- A "Sections" multi-select: each section's controls sit in a hidden block that appears when its name is
-- ticked, so a long box stays one short row until you need a part of it.
local function sections(box, id, defs, default)
local names = {}
for _, definition in ipairs(defs) do
names[#names + 1] = definition[1]
end
box:AddDropdown(id, {
Text = 'Sections',
Values = names,
Default = default or {},
Multi = true,
Tooltip = 'Tick the sections you want to see and edit.',
})
for _, definition in ipairs(defs) do
local block = box:AddDependencyBox()
definition[2](block)
block:SetupDependencies({ { Options[id], definition[1] } })
end
end
local function toggle(box, id, text, default, tip)
return box:AddToggle(id, { Text = text, Default = default, Tooltip = tip })
end
local function slider(box, id, text, default, min, max, rounding, suffix, tip)
return box:AddSlider(id, {
Text = text,
Default = default,
Min = min,
Max = max,
Rounding = rounding or 0,
Suffix = suffix or '',
Compact = true,
Tooltip = tip,
})
end
local function dropdown(box, id, text, values, default, tip)
return box:AddDropdown(id, { Text = text, Values = values, Default = default, Multi = false, Tooltip = tip })
end
local function multi(box, id, text, values, default, tip)
return box:AddDropdown(id, { Text = text, Values = values, Default = default, Multi = true, Tooltip = tip })
end
local function color(box, id, text, default)
return box:AddLabel(text):AddColorPicker(id, { Default = default, Title = text })
end
local function input(box, id, text, default, placeholder, tip)
return box:AddInput(id, {
Text = text,
Default = default or '',
Placeholder = placeholder or '',
AllowEmpty = true,
EmptyReset = '',
Tooltip = tip,
})
end
-- ---------------------------------------------------------------- Combat tab
extras.BuildCombatUi = function(tab)
safeGroup(tab, 'L', 'Silent Aim Rules', function(box)
toggle(
box,
'KPA0',
'Enable Rules',
false,
'Applies while Aimbot Mode is Silent. Off keeps the original behaviour.'
)
sections(box, 'KPASEC', {
{
'Activation',
function(t)
toggle(t, 'KPA1', 'Not Reloading', true, 'Silent shots are not redirected while reloading.')
toggle(t, 'KPA2', 'Scoped In', false, 'Only redirect shots while fully scoped in.')
end,
},
{
'Targets',
function(t)
toggle(t, 'KPA3', 'Target Visible', true, 'Target must be visible.')
toggle(t, 'KPA4', 'Target Vulnerable', true, 'Skips targets with spawn protection.')
toggle(t, 'KPA5', 'Target Not Deflecting', true, 'Skips targets with an active Katana deflect.')
toggle(t, 'KPA6', 'Target Not Shielded', true, 'Skips targets whose Riot Shield blocks the shot.')
toggle(
t,
'KPA7',
'Target Within FOV',
true,
'Keeps the FOV circle binding even when Ignore FOV is on.'
)
end,
},
{
'Hitbox',
function(t)
multi(
t,
'KPA8',
'Allowed Hitboxes',
{ 'Head', 'Body' },
{ 'Head', 'Body' },
'Hitboxes silent aim may use.'
)
dropdown(
t,
'KPA9',
'Hitbox Selection',
{ 'Closest To Crosshair', 'Random' },
'Closest To Crosshair',
'Replaces Aim Part while the rules are on.'
)
slider(
t,
'KPAA',
'Head %',
50,
0,
100,
0,
'%',
'Random selection only: chance of picking the head first.'
)
dropdown(
t,
'KPAB',
'Aim Point',
{ 'Center', 'Surface' },
'Center',
'Surface aims at the point of the hitbox nearest your crosshair.'
)
slider(
t,
'KPAC',
'Surface Reduction',
50,
0,
95,
0,
'%',
'Shrinks the hitbox used for the Surface point.'
)
toggle(
t,
'KPAD',
'Preserve Depth',
false,
'Keeps full size along the viewing direction when shrinking.'
)
end,
},
})
end)
safeGroup(tab, 'R', 'Triggerbot Rules', function(box)
toggle(box, 'KPB0', 'Enable Rules', false, 'Extra conditions for the triggerbot.')
toggle(box, 'KPB1', 'Not Reloading', true)
toggle(box, 'KPB2', 'Scoped In', false)
multi(
box,
'KPB3',
'Target Filters',
{ 'Visible', 'Vulnerable', 'Not Deflecting', 'Not Shielded' },
{ 'Visible', 'Vulnerable', 'Not Deflecting', 'Not Shielded' },
'Conditions a target must meet before the trigger fires.'
)
slider(box, 'KPB4', 'Activation Chance', 100, 1, 100, 0, '%', 'Re-rolled about four times a second.')
slider(
box,
'KPB5',
'Release Delay',
0,
0,
1,
2,
' s',
'Keeps a held trigger down this long after the target is lost.'
)
end)
safeGroup(tab, 'R', 'Shot Hooks', function(box)
local antiKatana = toggle(
box,
'KPD0',
'Anti Katana',
false,
'Cancels your own gun shots at a target that is deflecting or shielded.'
)
local manipulate = toggle(
box,
'KPD1',
'Manipulate',
false,
'Silent aim can use targets that are only reachable by moving the shot origin up to about 10 studs. The server may reject it.'
)
dropdown(
box,
'KPD2',
'Manipulation Check',
{ 'On Best Target', 'On All Targets' },
'On Best Target',
'On Best Target only widens the committed target.'
)
toggle(box, 'KPI0', 'Show Indicator List', true, 'Small on-screen list for Manipulated and Anti Katana blocks.')
dropdown(
box,
'KPI1',
'Indicator Corner',
{ 'Top Left', 'Top Right', 'Bottom Left', 'Bottom Right' },
'Top Left'
)
local function sync()
pcall(RivalsModsState.EnsureHooks)
extras.SyncControllers()
end
antiKatana:OnChanged(GuardRivalsCallback('Extras_AntiKatana', sync))
manipulate:OnChanged(GuardRivalsCallback('Extras_Manipulate', sync))
end)
end
-- ---------------------------------------------------------------- ESP tab
extras.BuildEspUi = function(tab)
local function scope(letter, title, side)
local p = 'KPE' .. letter
safeGroup(tab, side, title, function(box)
toggle(box, p .. '0', 'Enable ' .. title, false, 'Master switch for the extras below.')
sections(box, p .. 'SEC', {
{
'Skeleton',
function(t)
toggle(t, p .. 'SK', 'Skeleton', false)
color(t, p .. 'SKC', 'Skeleton Color', Color3.fromRGB(255, 255, 255))
toggle(
t,
p .. 'SKG',
'Skeleton Gradient',
false,
'Blends to the second color from top to bottom.'
)
color(t, p .. 'SKH', 'Skeleton Color 2', Color3.fromRGB(255, 70, 70))
slider(t, p .. 'SKT', 'Skeleton Thickness', 1, 1, 6, 0)
end,
},
{
'Head',
function(t)
toggle(t, p .. 'HM', 'Head Marker', false)
dropdown(t, p .. 'HMS', 'Head Shape', { 'Circle', 'Cross', 'Diamond' }, 'Circle')
color(t, p .. 'HMC', 'Head Color', Color3.fromRGB(255, 255, 255))
toggle(t, p .. 'HMF', 'Head Filled', false)
toggle(t, p .. 'HMO', 'Head Outline', true)
slider(t, p .. 'HMR', 'Head Size', 1, 0.2, 4, 1, 'x')
end,
},
{
'Tracer',
function(t)
toggle(t, p .. 'TR', 'Tracer', false)
color(t, p .. 'TRC', 'Tracer Color', Color3.fromRGB(255, 255, 255))
toggle(t, p .. 'TRG', 'Tracer Gradient', false)
color(t, p .. 'TRH', 'Tracer Color 2', Color3.fromRGB(255, 70, 70))
slider(t, p .. 'TRT', 'Tracer Thickness', 1, 1, 6, 0)
dropdown(t, p .. 'TRF', 'Tracer From', { 'Bottom', 'Center', 'Top', 'Mouse' }, 'Bottom')
dropdown(t, p .. 'TRW', 'Tracer To', { 'Feet', 'Head' }, 'Feet')
toggle(t, p .. 'TRO', 'Tracer Outline', true)
end,
},
{
'Box',
function(t)
toggle(t, p .. 'FB', 'Full Box', false, 'Replaces the corner box with a full rectangle.')
color(t, p .. 'FBC', 'Full Box Color', Color3.fromRGB(255, 255, 255))
toggle(t, p .. 'FF', 'Filled Box', false)
color(t, p .. 'FFC', 'Fill Color', Color3.fromRGB(255, 60, 60))
slider(t, p .. 'FFA', 'Fill Opacity', 0.25, 0, 1, 2)
toggle(t, p .. 'FFG', 'Fill Gradient', false, 'Blends top to bottom.')
color(t, p .. 'FFH', 'Fill Color 2', Color3.fromRGB(60, 60, 255))
end,
},
{
'Ammo',
function(t)
toggle(t, p .. 'AB', 'Ammo Bar', false)
color(t, p .. 'ABC', 'Ammo Color', Color3.fromRGB(80, 160, 255))
color(t, p .. 'ABH', 'Ammo Color 2', Color3.fromRGB(255, 70, 70))
dropdown(t, p .. 'ABM', 'Ammo Color Mode', { 'Reactive', 'Solid', 'Gradient' }, 'Reactive')
end,
},
})
end)
end
scope('E', 'Enemy Extras', 'L')
scope('T', 'Teammate Extras', 'R')
safeGroup(tab, 'L', 'ESP Style', function(box)
sections(box, 'KPSTY', {
{
'Layout',
function(t)
dropdown(
t,
'KPEBF',
'Box Fit',
{ 'Dynamic', 'Static' },
'Dynamic',
'Dynamic follows the hitboxes, Static is a fixed ratio.'
)
slider(t, 'KPEMD', 'Max Distance', 1000, 50, 1500, 0, ' studs')
end,
},
{
'Flags',
function(t)
dropdown(
t,
'KPG1',
'Flag Font',
{ 'Same As Text', 'UI', 'System', 'Plex', 'Monospace' },
'Same As Text',
'Font of the rank / win streak / deflecting text.'
)
slider(t, 'KPG2', 'Flag Size', 0, 0, 32, 0, ' px', '0 keeps the original size.')
dropdown(t, 'KPG3', 'Flag Case', { 'Normal', 'UPPER', 'lower' }, 'Normal')
dropdown(t, 'KPG4', 'Flag Surround', { 'None', '[ ]', '( )', '< >', '- -', '* *' }, 'None')
end,
},
{
'Health',
function(t)
dropdown(
t,
'KPH0',
'Color Mode',
{ 'Reactive', 'Solid', 'Gradient' },
'Reactive',
'Reactive is the original behaviour.'
)
color(t, 'KPH1', 'Solid Color', Color3.fromRGB(60, 255, 60))
color(t, 'KPH2', 'Gradient Low', Color3.fromRGB(255, 60, 60))
color(t, 'KPH3', 'Gradient High', Color3.fromRGB(60, 255, 60))
end,
},
})
end)
end
-- ---------------------------------------------------------------- Crosshair tab
extras.BuildVisualsUi = function(tab)
safeGroup(tab, 'R', 'Saved Images', function(box)
input(box, 'KPX1', 'Name', '', 'my-crosshair')
input(box, 'KPX2', 'Source', '', 'asset id, file path or URL')
box:AddButton({
Text = 'Save Image',
Func = GuardRivalsCallback('Extras_ImageAdd', function()
if extras.Images.Add(Options.KPX1.Value, Options.KPX2.Value) then
Options.KPX1:SetValue('')
Options.KPX2:SetValue('')
extras.Images.Refresh()
Library:Notify('Saved image.')
else
Library:Notify('Use a unique name and a source.')
end
end),
})
box:AddDropdown(
'KPX3',
{ Values = extras.Images.Names(), Multi = false, Text = 'Saved Images', Searchable = true, AllowNull = true }
)
box:AddButton({
Text = 'Use Selected As Crosshair',
Func = GuardRivalsCallback('Extras_ImageUse', extras.Images.UseSelected),
})
box:AddButton({
Text = 'Remove Selected',
Func = GuardRivalsCallback('Extras_ImageRemove', function()
local option = Options.KPX3
if option and option.Value and extras.Images.Remove(option.Value) then
option:SetValue(nil)
extras.Images.Refresh()
Library:Notify('Removed image.')
else
Library:Notify('Select a saved image first.')
end
end),
})
end)
end
-- ---------------------------------------------------------------- Misc tab (spoofer extras)
extras.BuildMiscUi = function(tab)
extras.MiscTab = tab
local function nameTab(t, label, ids)
toggle(t, ids[1], label .. ': Name', false, 'Rewrites this name on your screen only.')
input(t, ids[2], label .. ' Name Value', 'Nosniy')
toggle(t, ids[3], label .. ': Display Name', false)
input(t, ids[4], label .. ' Display Value', 'Nosniy')
toggle(t, ids[5], label .. ': Avatar', false, 'Swaps thumbnails of the matching user id for this user id.')
input(t, ids[6], label .. ' Avatar User ID', '20349956')
end
safeGroup(tab, 'L', 'Spoofer: Names & Avatar', function(box)
box:AddLabel('Rewrites text and avatar thumbnails on your screen only.', true)
sections(box, 'KPNSEC', {
{ 'You', function(t) nameTab(t, 'You', { 'KPN1', 'KPN2', 'KPN3', 'KPN4', 'KPN9', 'KPNA' }) end },
{ 'Others', function(t) nameTab(t, 'Others', { 'KPN5', 'KPN6', 'KPN7', 'KPN8', 'KPNB', 'KPNC' }) end },
})
end)
safeGroup(tab, 'L', 'Avatar Changer', function(box)
input(box, 'KPV1', 'User ID Or Name', '', 'for example 156')
local copy = multi(
box,
'KPV3',
'Copy',
{ 'Accessories', 'Clothing', 'Body Colors', 'Head & Face' },
{ 'Accessories', 'Clothing', 'Body Colors', 'Head & Face' },
'Which parts of that avatar to copy.'
)
copy:OnChanged(GuardRivalsCallback('Extras_AvatarParts', extras.Avatar.Reapply))
toggle(
box,
'KPV2',
'Keep After Respawn',
true,
'Dresses every new character again after a respawn or a new round, and puts the look back if the game changes your outfit.'
)
toggle(
box,
'KPV4',
'Locker Preview',
true,
'The character in the Locker follows too. Close and reopen the Locker to see it.'
)
box:AddButton({
Text = 'Apply Avatar',
Func = GuardRivalsCallback(
'Extras_AvatarApply',
function() extras.Avatar.Run(Options.KPV1 and Options.KPV1.Value) end
),
})
box:AddButton({
Text = 'Restore My Avatar',
Func = GuardRivalsCallback('Extras_AvatarRestore', extras.Avatar.Restore),
})
end)
local function profileRows(t, rows)
for _, row in ipairs(rows) do
local control = toggle(t, row[1], row[3], false)
local value = input(t, row[2], row[3] .. ' Value', row[4], nil, row[5])
local refresh = GuardRivalsCallback('Extras_DataRefresh', extras.RefreshData)
control:OnChanged(refresh)
value:OnChanged(refresh)
end
end
safeGroup(tab, 'R', 'Spoofer: Own Profile', function(box)
box:AddLabel(
'Shop numbers come through the game player-data proxy; the profile page numbers are patched in the answer the server sends. Reopen your profile or shop to see them.',
true
)
sections(box, 'KPSSEC', {
{
'Economy',
function(t)
profileRows(t, {
{ 'KPS1', 'KPS2', 'Event Currency', '9999' },
{ 'KPS3', 'KPS4', 'Weapon Keys', '999' },
{ 'KPS5', 'KPS6', 'Level', '999' },
})
end,
},
{
'Record',
function(t)
profileRows(t, {
{ 'KPS7', 'KPS8', 'Casual Wins', '99999' },
{ 'KPS9', 'KPSA', 'Ranked Wins', '9999' },
{ 'KPSB', 'KPSC', 'Casual Win %', '100', 'Percent, 0 to 100.' },
{ 'KPSD', 'KPSE', 'Ranked Win %', '100', 'Percent, 0 to 100.' },
{
'KPSF',
'KPSG',
'Ranked ELO',
'3600',
'The rank name and icon on the profile follow this number.',
},
{
'KPSH',
'KPSI',
'Favorite Map',
'Arena',
'A map name spelled like the game does: Arena, Crossroads, Dimension, Gate, Onyx, Station, Splash, Docks...',
},
})
end,
},
})
end)
end
-- ---------------------------------------------------------------- UI Settings tab (config transfer)
extras.BuildConfigUi = function(tab)
tab = tab or extras.MiscTab
if not tab then return end
safeGroup(tab, 'R', 'Config Transfer', function(box)
box:AddButton({
Text = 'Export Config To Clipboard',
Func = GuardRivalsCallback('Extras_Export', extras.ExportConfig),
})
input(box, 'KPZ1', 'Paste Config', '', 'paste an exported config here')
box:AddButton({
Text = 'Import Pasted Config',
Func = GuardRivalsCallback(
'Extras_Import',
function() extras.ImportConfig(Options.KPZ1 and Options.KPZ1.Value) end
),
})
end)
end
-- The longest original groups start collapsed so a tab is easy to scan; the open/closed state is saved with
-- the config like any other group, so a saved config keeps whatever you left open.
local LONG_GROUPS = {
['Lightning'] = true,
['Weather'] = true,
['Lighting'] = true,
['Shadows & Environment'] = true,
['Custom Crosshair'] = true,
['Crosshair Text'] = true,
['Crosshair Animation'] = true,
['Camera View'] = true,
['Bullet Tracers'] = true,
['Movement Recorder'] = true,
['Auto Loadout & Ban'] = true,
-- the new extras: one short header each until opened
['Silent Aim Rules'] = true,
['Enemy Extras'] = true,
['Teammate Extras'] = true,
['ESP Style'] = true,
['Spoofer: Names & Avatar'] = true,
['Spoofer: Own Profile'] = true,
}
extras.CollapseLongGroups = function()
for _, tab in pairs(Library.Tabs or {}) do
for title, groupbox in pairs(tab.Groupboxes or {}) do
if LONG_GROUPS[title] and type(groupbox.SetCollapsed) == 'function' then
pcall(groupbox.SetCollapsed, groupbox, true)
end
end
end
end
end, function(err)
RivalsRuntimeBridge.Extras.UiError = tostring(err)
task.defer(function() pcall(ReportRivalsRuntimeIssue, 'extras_ui_load', tostring(err)) end)
return err
end)
-- ======================================================================
-- ESP text style extras
-- ======================================================================
RivalsRuntimeBridge.EspExtras = {
Fonts = { UI = 0, System = 1, Plex = 2, Monospace = 3 },
Surrounds = {
['[ ]'] = { '[', ']' },
['( )'] = { '(', ')' },
['< >'] = { '<', '>' },
['- -'] = { '- ', ' -' },
['* *'] = { '*', '*' },
},
}
function RivalsRuntimeBridge.EspExtras.Read()
local extras = RivalsRuntimeBridge.EspExtras
local fontOption = Options and Options.PX9D1
local caseOption = Options and Options.PX9D2
local surroundOption = Options and Options.PX9D3
local sizeOption = Options and Options.PX9S1
local referenceOption = Options and Options.PX9S2
return {
UseDisplayName = Toggles and Toggles.PX9T1 and Toggles.PX9T1.Value == true,
Font = extras.Fonts[fontOption and fontOption.Value or 'Monospace'] or 3,
FontSize = sizeOption and tonumber(sizeOption.Value) or 16,
Case = caseOption and caseOption.Value or 'Normal',
Surround = surroundOption and surroundOption.Value or 'None',
DistanceScaling = Toggles and Toggles.PX9T2 and Toggles.PX9T2.Value == true,
ReferenceDistance = referenceOption and tonumber(referenceOption.Value) or 60,
MarkCheaters = Toggles and Toggles.PX10T3 and Toggles.PX10T3.Value == true,
}
end
function RivalsRuntimeBridge.EspExtras.ApplyCase(text, mode)
if mode == 'UPPER' then
return string.upper(text)
elseif mode == 'lower' then
return string.lower(text)
end
return text
end
function RivalsRuntimeBridge.EspExtras.FormatName(player, extras)
local name = player.Name
if extras.UseDisplayName and player.DisplayName ~= '' then name = player.DisplayName end
name = RivalsRuntimeBridge.EspExtras.ApplyCase(name, extras.Case)
local pair = RivalsRuntimeBridge.EspExtras.Surrounds[extras.Surround]
if pair then name = pair[1] .. name .. pair[2] end
local detector = RivalsRuntimeBridge.CheaterDetector
if extras.MarkCheaters and detector and detector.IsFlagged(player) then name = name .. ' [CHEATER?]' end
return name
end
function RivalsRuntimeBridge.EspExtras.TextSize(extras, uiScale, distance)
local size = extras.FontSize * uiScale
if extras.DistanceScaling and type(distance) == 'number' and distance > 0 then
size = size * math.clamp(extras.ReferenceDistance / distance, 0.55, 1.6)
end
return math.max(math.round(size), 8)
end
local function UpdateESP(deltaTime)
RivalsRuntimeBridge.Extras.EspStep(deltaTime)
local settings = EspRenderSettings
local espEnabled = settings.Enabled
if not espEnabled then
RivalsRuntimeBridge.ESPUpdateAccumulator = 0
RivalsRuntimeBridge.NextESPReconcileAt = 0
DestroyAllESP()
return
end
RivalsRuntimeBridge.ESPUpdateAccumulator = (RivalsRuntimeBridge.ESPUpdateAccumulator or 0)
+ (type(deltaTime) == 'number' and deltaTime or (1 / 60))
if RivalsRuntimeBridge.ESPUpdateAccumulator < (1 / 60) then return end
RivalsRuntimeBridge.ESPUpdateAccumulator = 0
local now = tick()
if now >= (RivalsRuntimeBridge.NextESPReconcileAt or 0) then
RivalsRuntimeBridge.NextESPReconcileAt = now + 0.25
ReconcileESPPlayers()
end
local espColor = settings.VisibleColor
local hiddenColor = settings.HiddenColor
local maxDist = DEFAULT_ESP_MAX_DISTANCE
local fillAlpha = settings.FillAlpha
local outlineAlpha = settings.OutlineAlpha
local showHighlight = settings.ShowHighlight
local showName = settings.ShowName
local showHealth = settings.ShowHealth
local showArrows = settings.ShowArrows
local showDistance = settings.ShowDistance
local showWeapon = settings.ShowWeapon
local showLookDir = settings.ShowLookDir
local showTeammates = settings.ShowTeammates
local showBox = settings.ShowBox
local showAmmoText = settings.ShowAmmoText
local showStatus = settings.ShowRank or settings.ShowWinStreak or settings.ShowDeflecting
local teammateColor = espColor
local lookDirColor = settings.LookDirColor
local rawCardLayout = PLAYER_CARD_THEME
local myTeamId = showTeammates and LP:GetAttribute('TeamID') or nil
local myRobloxTeam = showTeammates and LP.Team or nil
local cam = Workspace.CurrentCamera
if not cam then return end
local viewportSize = cam.ViewportSize
local vpX, vpY = viewportSize.X, viewportSize.Y
local centerX, centerY = vpX / 2, vpY / 2
local uiScale = (vpY > 0 and vpY or 1080) / 1080
local paneGap = uiScale
local statusGap = uiScale
local espExtras = RivalsRuntimeBridge.EspExtras.Read()
local textFont = espExtras.Font
local cardLayout = {
HorizontalBarWidth = rawCardLayout.HorizontalBarWidth * uiScale,
NameOffsetY = rawCardLayout.NameOffsetY * uiScale,
BarTopGap = rawCardLayout.BarTopGap * uiScale,
HorizontalBarOffsetY = rawCardLayout.HorizontalBarOffsetY * uiScale,
BarHeight = rawCardLayout.BarHeight * uiScale,
HorizontalBarTextPadding = rawCardLayout.HorizontalBarTextPadding * uiScale,
HorizontalBarTextPaddingY = rawCardLayout.HorizontalBarTextPaddingY * uiScale,
BarRadius = rawCardLayout.BarRadius * uiScale,
BarInset = rawCardLayout.BarInset * uiScale,
}
InitCharacter()
local rootPosition = HumanoidRootPart and HumanoidRootPart.Position or nil
local maxDistSquared = maxDist * maxDist
for player, entry in pairs(ESPObjects) do
repeat
local character = player.Character
if not character or not ShouldShow(player, showTeammates) then
HideESP(entry)
break
end
local characterParts = ReadCharacterEspParts(character, entry.characterParts)
entry.characterParts = characterParts
local hrp = characterParts.HumanoidRootPart
if not hrp then
HideESP(entry)
break
end
local hum = characterParts.Humanoid
local rootPos = hrp.Position
local dist = 0
if rootPosition then
local rootOffset = rootPos - rootPosition
local worldDistanceSquared = rootOffset:Dot(rootOffset)
if worldDistanceSquared > maxDistSquared then
HideESP(entry)
break
end
dist = math.sqrt(worldDistanceSquared)
end
local isTeammate = false
if showTeammates then
local theirTeam = player:GetAttribute('TeamID')
if myTeamId and theirTeam then
isTeammate = myTeamId == theirTeam
elseif player.Team and myRobloxTeam then
isTeammate = player.Team == myRobloxTeam
end
end
local screenPos, onScreen = cam:WorldToViewportPoint(rootPos)
if not onScreen or screenPos.Z <= 0 then
entry.highlight.Enabled = false
SetDrawingVisible(entry.nameText, false)
HideRoundedRect(entry.healthBarBg)
HideRoundedRect(entry.healthBarFill)
SetDrawingVisible(entry.healthText, false)
SetDrawingVisible(entry.healthSuffixText, false)
SetDrawingVisible(entry.metaText, false)
SetDrawingVisible(entry.ammoText, false)
SetDrawingVisible(entry.distanceText, false)
SetDrawingVisible(entry.lookLine, false)
if entry.statusText then SetDrawingVisible(entry.statusText, false) end
RivalsRuntimeBridge.ESPClassic.HideBox(entry)
HideArrowIndicator(entry.arrow)
if showArrows then
local dir = cam.CFrame:VectorToObjectSpace(rootPos - cam.CFrame.Position)
local angle = math.atan2(dir.X, -dir.Z)
local edgeDist = math.min(vpX, vpY) * PLAYER_CARD_THEME.ArrowEdgeScale
local arrowCenter =
Vector2.new(centerX + math.sin(angle) * edgeDist, centerY - math.cos(angle) * edgeDist)
local arrowDirection = Vector2.new(math.sin(angle), -math.cos(angle))
local arrowColor = isTeammate and teammateColor or hiddenColor
DrawArrowIndicator(entry.arrow, arrowCenter, arrowDirection, arrowColor, uiScale)
end
break
end
local _, _, visible = RivalsRuntimeBridge.ResolveVisibleAimbotTargetPart(
character,
'Auto',
'Players',
ESP_VISIBILITY_CACHE_PROFILE
)
local currentColor
if isTeammate then
currentColor = teammateColor
else
currentColor = visible and espColor or hiddenColor
end
entry.highlight.Enabled = showHighlight
if showHighlight then
local outlineColor = BlendColor(currentColor, PLAYER_CARD_THEME.FrameColor, 0.24)
entry.highlight.Adornee = character
entry.highlight.OutlineColor = outlineColor
entry.highlight.FillColor = currentColor
entry.highlight.FillTransparency = fillAlpha
entry.highlight.OutlineTransparency = outlineAlpha
end
if RivalsRuntimeBridge.PlayerChams then
RivalsRuntimeBridge.PlayerChams.Step(player, character, currentColor, visible)
end
local depth = screenPos.Z
local boxHeight = (5.5 / depth) * vpY * 0.5
local boxY = screenPos.Y - boxHeight / 2
HideArrowIndicator(entry.arrow)
local displayName = RivalsRuntimeBridge.EspExtras.FormatName(player, espExtras)
local weaponInfo = (showWeapon or showAmmoText) and GetCachedWeaponInfo(player) or nil
local hasHealthBar = showHealth and hum ~= nil
local useVerticalHealth = hasHealthBar and settings.UseVerticalHealth
local useHorizontalHealth = hasHealthBar and not useVerticalHealth
local screenBounds = nil
if hasHealthBar or showName or showWeapon or showDistance or showBox or showAmmoText or showStatus then
screenBounds = GetHitboxScreenBounds(characterParts, character, cam)
end
local weaponValue = RivalsRuntimeBridge.EspExtras.ApplyCase(
BuildPlayerWeaponText(weaponInfo and weaponInfo.label or nil, showWeapon),
espExtras.Case
)
local distanceValue = BuildPlayerDistanceText(dist, showDistance)
local healthValue = useVerticalHealth and BuildVerticalHealthText(hum)
or BuildHealthText(hum, useHorizontalHealth)
local mainTextSize = RivalsRuntimeBridge.EspExtras.TextSize(espExtras, uiScale, dist)
local hasName = showName and displayName ~= ''
local hasMeta = weaponValue ~= ''
local hasDistance = distanceValue ~= ''
local hasHealthText = healthValue ~= ''
local ammo = weaponInfo and weaponInfo.ammo or nil
local maxAmmo = weaponInfo and weaponInfo.maxAmmo or nil
local hasMaxAmmo = type(maxAmmo) == 'number' and maxAmmo > 0 and maxAmmo < math.huge
-- the magazine size comes from the item info; without it the plain count is still worth showing
local hasAmmoText = showAmmoText and type(ammo) == 'number' and ammo < math.huge
local ammoValue = ''
if hasAmmoText then
ammoValue = hasMaxAmmo and string.format('%s/%s', FormatAmmoValue(ammo), FormatAmmoValue(maxAmmo)) or FormatAmmoValue(ammo)
end
local ammoColor = PLAYER_CARD_THEME.BarTextColor
if hasAmmoText and (ammo <= 0 or (weaponInfo and weaponInfo.isReloading)) then ammoColor = settings.EmptyAmmoColor end
SetDrawingTextState(
entry.nameText,
hasName,
displayName,
mainTextSize,
true,
PLAYER_CARD_THEME.BarTextColor,
textFont
)
SetDrawingTextState(
entry.metaText,
hasMeta,
weaponValue,
mainTextSize,
true,
PLAYER_CARD_THEME.BarTextColor,
textFont
)
SetDrawingTextState(
entry.ammoText,
hasAmmoText,
ammoValue,
mainTextSize,
true,
ammoColor,
textFont
)
SetDrawingTextState(
entry.distanceText,
hasDistance,
distanceValue,
mainTextSize,
true,
PLAYER_CARD_THEME.BarTextColor,
textFont
)
local hasHealthSuffix = useHorizontalHealth and hasHealthText
SetDrawingTextState(
entry.healthText,
hasHealthBar and hasHealthText,
healthValue,
mainTextSize,
not useHorizontalHealth,
PLAYER_CARD_THEME.BarTextColor,
textFont
)
SetDrawingTextState(
entry.healthSuffixText,
hasHealthBar and hasHealthSuffix,
'HP',
mainTextSize,
false,
PLAYER_CARD_THEME.BarTextColor,
textFont
)
local nameBounds = hasName and entry.nameText.TextBounds or Vector2.new(0, 0)
local metaBounds = hasMeta and entry.metaText.TextBounds or Vector2.new(0, 0)
local ammoBounds = hasAmmoText and entry.ammoText.TextBounds or Vector2.new(0, 0)
local healthTextBounds = (hasHealthBar and hasHealthText) and entry.healthText.TextBounds or Vector2.new(0, 0)
local healthSuffixBounds = (hasHealthBar and hasHealthSuffix) and entry.healthSuffixText.TextBounds
or Vector2.new(0, 0)
local healthGap = hasHealthSuffix and (2 * uiScale) or 0
local healthCombinedWidth = healthTextBounds.X + healthGap + healthSuffixBounds.X
local nameHeight = hasName and math.max(nameBounds.Y, mainTextSize) or 0
local metaHeight = hasMeta and math.max(metaBounds.Y, mainTextSize) or 0
local ammoHeight = hasAmmoText and math.max(ammoBounds.Y, mainTextSize) or 0
local fallbackWidth = boxHeight * 0.55
local renderBounds = screenBounds
or {
MinX = screenPos.X - (fallbackWidth * 0.5),
MaxX = screenPos.X + (fallbackWidth * 0.5),
MinY = boxY,
MaxY = boxY + boxHeight,
Width = fallbackWidth,
Height = boxHeight,
CenterX = screenPos.X,
CenterY = screenPos.Y,
}
if showBox and not RivalsRuntimeBridge.Extras.SuppressCornerBox(isTeammate) then
RivalsRuntimeBridge.ESPClassic.DrawBox(entry, renderBounds, currentColor, uiScale)
else
RivalsRuntimeBridge.ESPClassic.HideBox(entry)
end
if useHorizontalHealth then
local horizontalBarWidth = hasHealthText
and math.max(
cardLayout.HorizontalBarWidth,
healthCombinedWidth + (cardLayout.HorizontalBarTextPadding * 2)
)
or cardLayout.HorizontalBarWidth
local horizontalBarHeight = hasHealthText
and math.max(cardLayout.BarHeight, healthTextBounds.Y + (cardLayout.HorizontalBarTextPaddingY * 2))
or cardLayout.BarHeight
local topClusterHeight = horizontalBarHeight + (hasName and (nameHeight + cardLayout.BarTopGap) or 0)
local cursorY = renderBounds.MinY - topClusterHeight - 2 - cardLayout.NameOffsetY
if hasName then
entry.nameText.Position = Vector2.new(math.round(renderBounds.CenterX), math.round(cursorY))
cursorY = cursorY + nameHeight + cardLayout.BarTopGap
end
local healthRatio = math.clamp(hum.Health / math.max(hum.MaxHealth, 1), 0, 1)
local healthColor = RivalsRuntimeBridge.Extras.HealthColor(healthRatio, GetHealthBarColor(healthRatio))
local barWidth = horizontalBarWidth
local barX = renderBounds.CenterX - (barWidth * 0.5)
local barY = cursorY + cardLayout.HorizontalBarOffsetY
local barInset = cardLayout.BarInset
local fillX = barX + barInset
local fillY = barY + barInset
local fillHeight = math.max(horizontalBarHeight - (barInset * 2), 1)
local fillWidth = math.max(healthRatio * math.max(barWidth - (barInset * 2), 0), healthRatio > 0 and 1 or 0)
SetRoundedRect(
entry.healthBarBg,
barX,
barY,
barWidth,
horizontalBarHeight,
cardLayout.BarRadius,
PLAYER_CARD_THEME.BarBackgroundColor,
PLAYER_CARD_THEME.BarBackgroundTransparency
)
if fillWidth > 0 then
SetRoundedRect(
entry.healthBarFill,
fillX,
fillY,
fillWidth,
fillHeight,
math.max(cardLayout.BarRadius - barInset, 0),
healthColor,
1
)
else
HideRoundedRect(entry.healthBarFill)
end
if hasHealthText then
local valueX = renderBounds.CenterX - (healthCombinedWidth * 0.5)
local suffixX = valueX + healthTextBounds.X + healthGap
local textY = barY + (horizontalBarHeight * 0.5) - (healthTextBounds.Y * 0.5)
entry.healthText.Center = false
entry.healthText.Position = Vector2.new(math.round(valueX), math.round(textY))
entry.healthSuffixText.Center = false
entry.healthSuffixText.Position = Vector2.new(math.round(suffixX), math.round(textY))
end
else
if hasName then
entry.nameText.Position =
Vector2.new(math.round(renderBounds.CenterX), math.round(renderBounds.MinY - nameHeight - paneGap))
end
SetDrawingVisible(entry.healthSuffixText, false)
if useVerticalHealth then
local healthRatio = math.clamp(hum.Health / math.max(hum.MaxHealth, 1), 0, 1)
entry.displayHealthRatio =
RivalsRuntimeBridge.ESPClassic.SmoothRatio(entry.displayHealthRatio, healthRatio, deltaTime)
local railWidth = math.max(PLAYER_CARD_THEME.Classic.BarWidth * uiScale, 3)
local railGap = PLAYER_CARD_THEME.Classic.BarGap * uiScale
local railX = renderBounds.MinX - railWidth - railGap
local railY = renderBounds.MinY
local railHeight = math.max(renderBounds.Height, 1)
local barInset = math.max(PLAYER_CARD_THEME.Classic.BarInset * uiScale, 0.75)
local fillHeight = math.max(
entry.displayHealthRatio * math.max(railHeight - (barInset * 2), 0),
entry.displayHealthRatio > 0 and 1 or 0
)
local fillY = railY + railHeight - barInset - fillHeight
SetRoundedRect(
entry.healthBarBg,
railX,
railY,
railWidth,
railHeight,
0,
PLAYER_CARD_THEME.BarBackgroundColor,
PLAYER_CARD_THEME.BarBackgroundTransparency
)
if fillHeight > 0 then
SetRoundedRect(
entry.healthBarFill,
railX + barInset,
fillY,
math.max(railWidth - (barInset * 2), 1),
fillHeight,
0,
RivalsRuntimeBridge.Extras.HealthColor(
entry.displayHealthRatio,
RivalsRuntimeBridge.ESPClassic.GetReactiveBarColor(entry.displayHealthRatio)
),
1
)
else
HideRoundedRect(entry.healthBarFill)
end
if hasHealthText then
local labelX = railX - (healthTextBounds.X * 0.5) - paneGap
local labelY = math.clamp(
fillY - (healthTextBounds.Y * 0.5),
railY,
math.max(railY + railHeight - healthTextBounds.Y, railY)
)
entry.healthText.Center = true
entry.healthText.Position = Vector2.new(math.round(labelX), math.round(labelY))
else
SetDrawingVisible(entry.healthText, false)
end
else
HideRoundedRect(entry.healthBarBg)
HideRoundedRect(entry.healthBarFill)
SetDrawingVisible(entry.healthText, false)
end
end
local infoStartY = renderBounds.MaxY + paneGap
if hasAmmoText then
entry.ammoText.Position = Vector2.new(math.round(renderBounds.CenterX), math.round(infoStartY))
infoStartY = infoStartY + ammoHeight + paneGap
end
if hasMeta then
entry.metaText.Position = Vector2.new(math.round(renderBounds.CenterX), math.round(infoStartY))
infoStartY = infoStartY + metaHeight + paneGap
end
if hasDistance then
entry.distanceText.Position = Vector2.new(math.round(renderBounds.CenterX), math.round(infoStartY))
end
local statusValue = RivalsRuntimeBridge.Extras.FlagText(
showStatus and RivalsRuntimeBridge.ESPClassic.BuildStatusText(player, settings, entry) or ''
)
if statusValue ~= '' then
local statusText = RivalsRuntimeBridge.ESPClassic.EnsureStatusText(entry)
local statusSize = RivalsRuntimeBridge.Extras.FlagSize(math.max(math.round(12 * uiScale), 8))
SetDrawingTextState(
statusText,
true,
statusValue,
statusSize,
false,
PLAYER_CARD_THEME.BarTextColor,
RivalsRuntimeBridge.Extras.FlagFont(textFont)
)
statusText.Position = Vector2.new(
math.round(renderBounds.MaxX + statusGap + RivalsRuntimeBridge.Extras.StatusXOffset(isTeammate)),
math.round(renderBounds.MinY)
)
elseif entry.statusText then
SetDrawingVisible(entry.statusText, false)
end
SetDrawingVisible(entry.lookLine, showLookDir)
if showLookDir then
local head = characterParts.HitboxHead
if head then
local headPos = head.Position
local lookEnd = headPos + head.CFrame.LookVector * 5
local headScreen, headOn = cam:WorldToViewportPoint(headPos)
local endScreen, endOn = cam:WorldToViewportPoint(lookEnd)
if headOn and endOn and headScreen.Z > 0 then
entry.lookLine.From = Vector2.new(headScreen.X, headScreen.Y)
entry.lookLine.To = Vector2.new(endScreen.X, endScreen.Y)
entry.lookLine.Color = lookDirColor
entry.lookLine.Thickness = math.max(uiScale, 1)
else
SetDrawingVisible(entry.lookLine, false)
end
else
SetDrawingVisible(entry.lookLine, false)
end
end
until true
end
end
RivalsRuntimeBridge.UpdateESP = UpdateESP
RivalsRuntimeBridge.CharacterLoadingState = {}
RivalsRuntimeBridge.DiagnosticLogState = { LastByMessage = {}, ThrottleSeconds = 2 }
RivalsRuntimeBridge.InitialSpawnCooldownComplete = false
RivalsRuntimeBridge.MatchBoundaryDetectionInstalled = false
-- ======================================================================
-- Local ready state
-- ======================================================================
RivalsRuntimeBridge.LocalReadyState = {
ShieldSeen = false,
LastSeenFighter = nil,
ReadyNotified = false,
InitialLifeAdoptionOpen = true,
}
RivalsRuntimeBridge.ResetLocalShieldLatch = function()
local state = RivalsRuntimeBridge.LocalReadyState
state.ShieldSeen = false
state.LastSeenFighter = nil
state.ReadyNotified = false
state.InitialLifeAdoptionOpen = false
end
RivalsRuntimeBridge.NotifyLocalReadyOnce = function(source)
local state = RivalsRuntimeBridge.LocalReadyState
if state.ReadyNotified then return end
state.ReadyNotified = true
RivalsRuntimeBridge.LogDiagnosticEvent('Ready', 'Loaded -- ready to fight (' .. tostring(source) .. ')')
end
RivalsRuntimeBridge.IsLocalReadyToFight = function()
if not IsAimbotGameReady() then return false end
local duel = FighterDataCache.LocalDuel
if duel and duel.Seeded and duel.IsInShootingRange == true then
RivalsRuntimeBridge.NotifyLocalReadyOnce('shooting range')
return true
end
local state = RivalsRuntimeBridge.LocalReadyState
if state.ShieldSeen then return true end
local fighter = ResolveLocalFighter()
if not fighter then return false end
if type(fighter.Data) == 'table' and fighter.Data.IsInShootingRange == true then
RivalsRuntimeBridge.NotifyLocalReadyOnce('shooting range (sync)')
return true
end
if state.LastSeenFighter ~= fighter then state.LastSeenFighter = fighter end
local entity = fighter.Entity
if entity and type(entity.Data) == 'table' and entity.Data.IsInvincible == true then
state.ShieldSeen = true
RivalsRuntimeBridge.NotifyLocalReadyOnce('spawn shield')
return true
end
if FighterDataCache.Cache[fighter] == true then
state.ShieldSeen = true
RivalsRuntimeBridge.NotifyLocalReadyOnce('spawn shield (cache)')
return true
end
if state.InitialLifeAdoptionOpen then
if
type(entity) == 'table'
and rawget(entity, '_is_in_world') == true
and rawget(fighter, 'EquippedItem') ~= nil
then
state.InitialLifeAdoptionOpen = false
state.ShieldSeen = true
RivalsRuntimeBridge.NotifyLocalReadyOnce('mid-life adopt (equipped item)')
return true
end
end
return false
end
RivalsRuntimeBridge.WaitForLocalReady = function(timeoutSec)
local deadline = timeoutSec and (tick() + timeoutSec) or nil
while not RivalsRuntimeBridge.IsLocalReadyToFight() do
if deadline and tick() > deadline then return false end
task.wait()
end
return true
end
RivalsRuntimeBridge.EnsureMatchBoundaryDetection = function()
if RivalsRuntimeBridge.MatchBoundaryDetectionInstalled then return end
local controller = ResolveFighterController()
if not controller then return end
local addedSignal = controller.ObjectAdded
if type(addedSignal) ~= 'table' or type(addedSignal.Connect) ~= 'function' then return end
local ok, conn = pcall(function()
return addedSignal:Connect(function(newFighter)
if type(newFighter) ~= 'table' then return end
local isLocal = newFighter.IsLocalPlayer == true or rawget(newFighter, 'Player') == LP
if not isLocal then return end
RivalsRuntimeBridge.InitialSpawnCooldownComplete = false
RivalsRuntimeBridge.ResetLocalShieldLatch()
RivalsRuntimeBridge.LogDiagnosticEvent('MatchBoundary', 'New local fighter detected; readiness latch reset')
if RivalsRuntimeBridge.RunPickupSpawnSetup then RivalsRuntimeBridge.RunPickupSpawnSetup() end
if RivalsRuntimeBridge.AutoWeaponMenu then RivalsRuntimeBridge.AutoWeaponMenu.OnRoundStart() end
end)
end)
if ok and conn then
if Library and type(Library.GiveSignal) == 'function' then pcall(function() Library:GiveSignal(conn) end) end
RivalsRuntimeBridge.MatchBoundaryDetectionInstalled = true
if controller.LocalFighter and RivalsRuntimeBridge.RunPickupSpawnSetup then
RivalsRuntimeBridge.RunPickupSpawnSetup()
end
end
end
RivalsRuntimeBridge.LogDiagnosticEvent = function(scope, message)
if not (Toggles.P9S3T1 and Toggles.P9S3T1.Value == true) then return end
local now = tick()
local key = tostring(scope) .. '|' .. tostring(message)
local state = RivalsRuntimeBridge.DiagnosticLogState
local last = state.LastByMessage[key]
if last and (now - last) < state.ThrottleSeconds then return end
state.LastByMessage[key] = now
if Library and type(Library.Notify) == 'function' then
pcall(
function()
Library:Notify({
Title = 'Character Loading Check',
Description = string.format('[%s] %s', tostring(scope), tostring(message)),
Time = 3,
})
end
)
end
end
RivalsRuntimeBridge.RecordCharacterLoadingCheckpoint = function(featureName, isReady, isEnabled)
local state = RivalsRuntimeBridge.CharacterLoadingState
local wasReady = state[featureName] == true
state[featureName] = isReady
if not isReady or not isEnabled or wasReady then return end
if not (Toggles.P9S3T1 and Toggles.P9S3T1.Value == true) then return end
if Library and type(Library.Notify) == 'function' then
pcall(
function()
Library:Notify({
Title = 'Character Loading Check',
Description = featureName .. ' ready',
Time = 3,
})
end
)
end
end
RivalsRuntimeBridge.IsReadyToFight = function()
if IsZombieEventActive() and IsAimbotCameraReady() then return true end
if not IsAimbotCameraReady() then return false end
if not IsAimbotGameReady() then return false end
local fighter = ResolveLocalFighter()
local entity = fighter and fighter.Entity
if type(entity) == 'table' and rawget(entity, '_is_in_world') ~= true then return false end
RivalsRuntimeBridge.EnsureMatchBoundaryDetection()
if not RivalsRuntimeBridge.IsLocalReadyToFight() then return false end
return true
end
RivalsRuntimeBridge.AcquireActiveCharacter = function()
if not RivalsRuntimeBridge.IsReadyToFight() then return nil end
if LP.Character ~= Char then return nil end
if not HumanoidRootPart or HumanoidRootPart.Parent ~= Char then return nil end
return Char, HumanoidRootPart, Humanoid
end
end
-- ======================================================================
-- Hub shell (tower v3): event tab, tower kit, features, menus
-- ======================================================================
(function()
local BuildRivalsEspUi = nil
local BuildRivalsAimbotUi = nil
-- ============================================================
-- Event tab (Zombie Towers): zombie ESP + zombie aimbot
-- ============================================================
local EventZombieState = {
ESP = {
Enabled = false,
ShowBox = true,
ShowName = true,
ShowHealth = true,
ShowDistance = true,
MaxDistance = 600,
BoxColor = Color3.fromRGB(255, 90, 90),
},
Aim = {
Enabled = false,
FireMethod = 'FireServer',
Priority = 'Crosshair',
AimPart = 'Auto',
FireInterval = 0.08,
FOV = 250,
ShowFOV = true,
AutoReload = true,
FirePart = 'PhysicalHitboxHead',
Origin = 'Character',
},
EspObjects = {},
FovCircle = nil,
TargetDot = nil,
CurrentAim = nil,
CurrentFire = nil,
AimKeyPicker = nil,
LastFireStatus = 'idle',
LastFireAt = 0,
StartShootingToken = nil,
Utility = nil,
UseItemRemote = nil,
Running = true,
Firing = false,
Testing = false,
TestStatus = '',
StatusLabel = nil,
}
local function EventZombieResolveModules()
local rs = ReplicatedStorage
local modules = rs:FindFirstChild('Modules')
if modules and not EventZombieState.Utility then
local utilityScript = modules:FindFirstChild('Utility')
if utilityScript then
local ok, m = pcall(require, utilityScript)
if ok and type(m) == 'table' then EventZombieState.Utility = m end
end
end
if not EventZombieState.UseItemRemote or not EventZombieState.UseItemRemote.Parent then
local remotes = rs:FindFirstChild('Remotes')
local repl = remotes and remotes:FindFirstChild('Replication')
local f = repl and repl:FindFirstChild('Fighter')
local u = f and f:FindFirstChild('UseItem')
if u and (u:IsA('RemoteEvent') or u:IsA('UnreliableRemoteEvent')) then EventZombieState.UseItemRemote = u end
end
if not EventZombieState.StartShootingToken then
local el = ResolveEnumLibrary()
if type(el) == 'table' and el._enum_builder_complete == true and type(el.ToEnum) == 'function' then
local ok, t = pcall(el.ToEnum, el, 'StartShooting')
if ok and type(t) == 'string' and #t > 0 then EventZombieState.StartShootingToken = t end
end
end
end
local function EventZombieIsDummy(name) return name == 'Target' or name == 'Dummy' or name == 'DPS Dummy' end
local function EventZombieModel(enemy) return enemy.Model or (enemy.Entity and rawget(enemy.Entity, 'Model')) end
local function EventZombieIsZombie(enemy)
local m = EventZombieModel(enemy)
if not m or not m.Parent then return false end
if EventZombieIsDummy(m.Name) then return false end
if m:FindFirstChildOfClass('Humanoid') then return true end
if m:FindFirstChild('HitboxHead') then return true end
return false
end
local function EventZombieHealth(model, entity)
local hum = model and model:FindFirstChildOfClass('Humanoid')
if hum then return hum.Health, hum.MaxHealth end
local data = entity and rawget(entity, 'Data')
if type(data) == 'table' then
local hp, mhp = rawget(data, 'Health'), rawget(data, 'MaxHealth')
if type(hp) == 'number' then return hp, mhp or hp end
end
return nil, nil
end
local function EventZombieList()
local ec = ResolveEnemyController()
if not ec then return {} end
local out = {}
for _, e in ipairs(ec.Objects or {}) do
if EventZombieIsZombie(e) then
local m = EventZombieModel(e)
if m and m.Parent then
local hp = EventZombieHealth(m, e.Entity)
if hp == nil or hp > 0 then out[#out + 1] = { Model = m, Entity = e.Entity, Enemy = e, HP = hp } end
end
end
end
return out
end
local function EventZombieAimPart(model)
if not model then return nil end
local towerKit = RivalsRuntimeBridge.TowerKit
if towerKit and towerKit.Aim then
local smartPart = towerKit.Aim.PartFor(model, towerKit.AimPartFor(model))
if smartPart then return smartPart end
end
local order
if EventZombieState.Aim.AimPart == 'Head' then
order = { 'HitboxHead', 'Head', 'HumanoidRootPart' }
elseif EventZombieState.Aim.AimPart == 'Body' then
order = { 'HitboxBody', 'HumanoidRootPart', 'Head' }
else
order = { 'HitboxHead', 'HitboxBody', 'Head', 'HumanoidRootPart' }
end
for _, name in ipairs(order) do
local p = model:FindFirstChild(name, true)
if p and p:IsA('BasePart') then return p end
end
if model.PrimaryPart then return model.PrimaryPart end
return model:FindFirstChildWhichIsA('BasePart', true)
end
local EVENT_FIRE_PART_MAP = {
HitboxHead = 'PhysicalHitboxHead',
HitboxBody = 'PhysicalHitbox',
Head = 'PhysicalHitboxHead',
HumanoidRootPart = 'PhysicalHitbox',
}
local function EventZombieFirePart(aimPart)
if not aimPart or not aimPart.Parent then return nil end
if EventZombieState.Aim.FirePart == 'Auto' then
local autoName = EVENT_FIRE_PART_MAP[aimPart.Name]
local autoPart = autoName and aimPart.Parent:FindFirstChild(autoName, true)
if autoPart and autoPart:IsA('BasePart') then return autoPart end
return aimPart
end
if EventZombieState.Aim.FirePart == 'SameAsAim' then return aimPart end
local named = aimPart.Parent:FindFirstChild(EventZombieState.Aim.FirePart, true)
if named and named:IsA('BasePart') then return named end
local auto = EVENT_FIRE_PART_MAP[aimPart.Name]
if auto then
local real = aimPart.Parent:FindFirstChild(auto, true)
if real and real:IsA('BasePart') then return real end
end
return aimPart
end
local function EventZombieCanFire(item, force)
if not item then return false, 'no item' end
if not force then
local reload = tonumber(rawget(item, '_reload_cooldown'))
if reload and reload > tick() then return false, 'reloading' end
local cooldown = tonumber(rawget(item, '_shoot_cooldown'))
if cooldown and cooldown > tick() then return false, 'cooldown' end
end
local ammo = ReadItemValue(item, 'Ammo')
if type(ammo) == 'number' and ammo <= 0 then
if EventZombieState.Aim.AutoReload and type(item.StartReloading) == 'function' then
pcall(item.StartReloading, item)
return false, 'reloading (empty)'
end
return false, 'no ammo'
end
return true
end
local function EventZombieEncodeCF(cf)
local util = EventZombieState.Utility
if util and type(util.EncodeCFrame) == 'function' then
local ok, v = pcall(util.EncodeCFrame, util, cf)
if ok and v then return v end
end
local rx, ry, rz = cf:ToOrientation()
return { ['\0'] = cf.X, ['\1'] = cf.Y, ['\2'] = cf.Z, ['\3'] = rx, ['\4'] = ry, ['\5'] = rz }
end
local function EventZombieShotOrigin()
if EventZombieState.Aim.Origin == 'Camera' then
local cam = Workspace.CurrentCamera
return cam and cam.CFrame.Position or Vector3.zero
end
local character = LP.Character
if character then
local head = character:FindFirstChild('Head')
if head and head:IsA('BasePart') then return head.Position end
local hrp = character:FindFirstChild('HumanoidRootPart')
if hrp and hrp:IsA('BasePart') then return hrp.Position end
end
local cam = Workspace.CurrentCamera
return cam and cam.CFrame.Position or Vector3.zero
end
local function EventZombieFireServerAt(firePart, force)
EventZombieResolveModules()
if not EventZombieState.UseItemRemote then return false, 'no UseItem remote' end
if not EventZombieState.StartShootingToken then return false, 'no StartShooting token' end
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem
if not item then return false, 'no item equipped' end
local can, reason = EventZombieCanFire(item, force)
if not can then return false, reason end
local objectId = ReadItemValue(item, 'ObjectID')
if not objectId then return false, 'no ObjectID' end
local origin = EventZombieShotOrigin()
local look = CFrame.lookAt(origin, firePart.Position)
local data = {
['\1'] = {
['\0'] = EventZombieEncodeCF(look),
['\1'] = EventZombieEncodeCF(look),
['\2'] = firePart,
['\3'] = EventZombieEncodeCF(firePart.CFrame:ToObjectSpace(CFrame.new(firePart.Position))),
},
['\2'] = true,
}
local ok, err = pcall(
function() EventZombieState.UseItemRemote:FireServer(objectId, EventZombieState.StartShootingToken, data, nil) end
)
if not ok then return false, tostring(err) end
return true
end
local function EventZombieHookAt(firePart)
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem
if not item then return false, 'no item' end
if type(item.StartShooting) ~= 'function' then return false, 'no StartShooting on item' end
local can, reason = EventZombieCanFire(item)
if not can then return false, reason end
if not firePart or not firePart.Parent then return false, 'no target part' end
local camera = Workspace.CurrentCamera
if not camera then return false, 'no camera' end
local savedCFrame = camera.CFrame
-- Block the base silent-shot wrapper for the duration of this call so it
-- can't re-aim at a human fighter and cancel our zombie aim.
local prevPrimeDepth = nil
if AimbotSilentState then
prevPrimeDepth = AimbotSilentState.ShotPrimeDepth
AimbotSilentState.ShotPrimeDepth = (AimbotSilentState.ShotPrimeDepth or 0) + 1
end
camera.CFrame = CFrame.lookAt(savedCFrame.Position, firePart.Position)
local ok, err = pcall(item.StartShooting, item)
camera.CFrame = savedCFrame
if AimbotSilentState and prevPrimeDepth ~= nil then AimbotSilentState.ShotPrimeDepth = prevPrimeDepth end
if not ok then return false, tostring(err) end
return true
end
local function EventZombieTryFire(force)
if not EventZombieState.CurrentFire or not EventZombieState.CurrentFire.Parent then return false, 'no target' end
local method = EventZombieState.Aim.FireMethod
if method == 'FireServer' then
return EventZombieFireServerAt(EventZombieState.CurrentFire, force)
elseif method == 'Hook' then
return EventZombieHookAt(EventZombieState.CurrentFire)
end
return false, 'unknown method'
end
-- ESP drawing
local EventZombieAimCache = setmetatable({}, { __mode = 'k' })
local EventZombieBoundsCache = setmetatable({}, { __mode = 'k' })
local EVENT_AIM_CACHE_TTL = 0.5
local EVENT_BOUNDS_CACHE_TTL = 1.0
local function EventZombieCachedAimPart(model)
local entry = EventZombieAimCache[model]
if entry and (os.clock() - entry.At) < EVENT_AIM_CACHE_TTL and entry.Part.Parent then return entry.Part end
local part = EventZombieAimPart(model)
if part then EventZombieAimCache[model] = { Part = part, At = os.clock() } end
return part
end
local function EventZombieCachedBounds(model)
local entry = EventZombieBoundsCache[model]
if entry and (os.clock() - entry.At) < EVENT_BOUNDS_CACHE_TTL then return entry end
local ok, cf, size = pcall(model.GetBoundingBox, model)
if not ok or not size then return nil end
local pivot = model:GetPivot()
local offset = pivot:PointToObjectSpace(cf.Position)
local corners = {}
for _, x in ipairs({ -0.5, 0.5 }) do
for _, y in ipairs({ -0.5, 0.5 }) do
for _, z in ipairs({ -0.5, 0.5 }) do
corners[#corners + 1] = offset + Vector3.new(x * size.X, y * size.Y, z * size.Z)
end
end
end
entry = { Corners = corners, At = os.clock() }
EventZombieBoundsCache[model] = entry
return entry
end
-- ESP drawing
local function EventZombieGetEsp(model)
local e = EventZombieState.EspObjects[model]
if e then return e end
e = {
Box = Drawing.new('Square'),
Name = Drawing.new('Text'),
Health = Drawing.new('Text'),
Distance = Drawing.new('Text'),
}
e.Box.Thickness = 1
e.Box.Filled = false
e.Box.Transparency = 1
for _, k in ipairs({ 'Name', 'Health', 'Distance' }) do
e[k].Center = true
e[k].Outline = true
e[k].Font = 2
e[k].Color = Color3.fromRGB(255, 255, 255)
e[k].Visible = false
end
e.Name.Size = 14
e.Health.Size = 12
e.Distance.Size = 12
EventZombieState.EspObjects[model] = e
return e
end
local function EventZombieHideEsp(e)
if not e then return end
for _, k in ipairs({ 'Box', 'Name', 'Health', 'Distance' }) do
if e[k] then e[k].Visible = false end
end
end
local function EventZombieDrawEsp(zombie, camera, rootPos)
local model = zombie.Model
if not model or not model.Parent then
EventZombieHideEsp(EventZombieState.EspObjects[model])
return
end
local aimPart = EventZombieCachedAimPart(model)
if not aimPart then
EventZombieHideEsp(EventZombieState.EspObjects[model])
return
end
local dist = rootPos and (aimPart.Position - rootPos).Magnitude or 0
if dist > EventZombieState.ESP.MaxDistance then
EventZombieHideEsp(EventZombieState.EspObjects[model])
return
end
local bounds = EventZombieCachedBounds(model)
if not bounds then
EventZombieHideEsp(EventZombieState.EspObjects[model])
return
end
local pivot = model:GetPivot()
local minX, maxX, minY, maxY = math.huge, -math.huge, math.huge, -math.huge
local proj = 0
for _, localCorner in ipairs(bounds.Corners) do
local world = pivot:PointToWorldSpace(localCorner)
local sp, on = camera:WorldToViewportPoint(world)
if on and sp.Z > 0 then
proj = proj + 1
minX = math.min(minX, sp.X)
maxX = math.max(maxX, sp.X)
minY = math.min(minY, sp.Y)
maxY = math.max(maxY, sp.Y)
end
end
if proj < 2 then
EventZombieHideEsp(EventZombieState.EspObjects[model])
return
end
local e = EventZombieGetEsp(model)
e.Box.Position = Vector2.new(minX, minY)
e.Box.Size = Vector2.new(maxX - minX, maxY - minY)
e.Box.Color = EventZombieState.ESP.BoxColor
e.Box.Visible = EventZombieState.ESP.ShowBox
e.Name.Position = Vector2.new((minX + maxX) / 2, minY - 16)
e.Name.Text = model.Name
e.Name.Visible = EventZombieState.ESP.ShowName
local hp, mhp = EventZombieHealth(model, zombie.Entity)
if hp and EventZombieState.ESP.ShowHealth then
e.Health.Text = mhp and string.format('%d/%d', math.floor(hp), math.floor(mhp))
or string.format('%d HP', math.floor(hp))
e.Health.Position = Vector2.new((minX + maxX) / 2, maxY + 2)
e.Health.Visible = true
else
e.Health.Visible = false
end
e.Distance.Text = string.format('%dm', math.floor(dist))
e.Distance.Position = Vector2.new((minX + maxX) / 2, maxY + 16)
e.Distance.Visible = EventZombieState.ESP.ShowDistance
end
local function EventZombieClearEsp()
for m, e in pairs(EventZombieState.EspObjects) do
for _, k in ipairs({ 'Box', 'Name', 'Health', 'Distance' }) do
if e[k] then pcall(function() e[k]:Remove() end) end
end
EventZombieState.EspObjects[m] = nil
end
end
-- Target selection
local function EventZombieBestZombie()
local towerKit = RivalsRuntimeBridge.TowerKit
if towerKit and towerKit.Aim then
local towerCam = Workspace.CurrentCamera
if not towerCam then return nil end
return towerKit.Aim.PickLegacy(towerCam, EventZombieState.Aim.FOV)
end
local cam = Workspace.CurrentCamera
if not cam then return nil end
local center = Vector2.new(cam.ViewportSize.X / 2, cam.ViewportSize.Y / 2)
local root = LP.Character and LP.Character:FindFirstChild('HumanoidRootPart')
local rootPos = root and root.Position
local best, bestScore = nil, math.huge
for _, z in ipairs(EventZombieList()) do
local part = EventZombieCachedAimPart(z.Model)
if part then
local sp, on = cam:WorldToViewportPoint(part.Position)
if on and sp.Z > 0 then
local screenDist = (Vector2.new(sp.X, sp.Y) - center).Magnitude
if screenDist <= EventZombieState.Aim.FOV then
local score
if EventZombieState.Aim.Priority == 'Closest' then
score = rootPos and (part.Position - rootPos).Magnitude or screenDist
elseif EventZombieState.Aim.Priority == 'LowestHP' then
score = (z.HP or 100) + screenDist / 10000
else
score = screenDist
end
if score < bestScore then
bestScore, best = score, z
end
end
end
end
end
return best
end
local function EventZombieShouldFire()
if not EventZombieState.Aim.Enabled then return false end
local botKit = RivalsRuntimeBridge.TowerKit
if botKit and botKit.Bot and botKit.Bot.Driving() then return false end
local kp = EventZombieState.AimKeyPicker
if kp and type(kp.GetState) == 'function' then return kp:GetState() == true end
return false
end
-- Per-frame visuals
local function EventZombieStep(deltaTime)
if not EventZombieState.Running then return end
local cam = Workspace.CurrentCamera
if not cam then return end
local root = LP.Character and LP.Character:FindFirstChild('HumanoidRootPart')
local rootPos = root and root.Position
if not EventZombieState.FovCircle then
local c = Drawing.new('Circle')
c.Filled = false
c.NumSides = 48
c.Thickness = 1.5
c.Transparency = 0.55
c.Color = Color3.fromRGB(200, 200, 200)
EventZombieState.FovCircle = c
end
if not EventZombieState.TargetDot then
local d = Drawing.new('Circle')
d.Filled = true
d.NumSides = 20
d.Radius = 5
d.Color = Color3.fromRGB(255, 60, 60)
EventZombieState.TargetDot = d
end
if EventZombieState.ESP.Enabled then
local alive = {}
for _, z in ipairs(EventZombieList()) do
alive[z.Model] = true
pcall(EventZombieDrawEsp, z, cam, rootPos)
end
for m, e in pairs(EventZombieState.EspObjects) do
if not alive[m] then EventZombieHideEsp(e) end
end
else
for _, e in pairs(EventZombieState.EspObjects) do
EventZombieHideEsp(e)
end
end
if not EventZombieState.Testing then
EventZombieState._TargetAccum = (EventZombieState._TargetAccum or 0) + (deltaTime or 0)
if EventZombieState._TargetAccum >= 0.05 then
EventZombieState._TargetAccum = 0
local best = EventZombieBestZombie()
if best then
local aimPart = EventZombieCachedAimPart(best.Model)
EventZombieState.CurrentAim = aimPart
EventZombieState.CurrentFire = aimPart and EventZombieFirePart(aimPart) or nil
else
EventZombieState.CurrentAim, EventZombieState.CurrentFire = nil, nil
end
end
end
if EventZombieState.Aim.ShowFOV and EventZombieState.Aim.Enabled then
EventZombieState.FovCircle.Position = Vector2.new(cam.ViewportSize.X / 2, cam.ViewportSize.Y / 2)
EventZombieState.FovCircle.Radius = EventZombieState.Aim.FOV
EventZombieState.FovCircle.Visible = true
else
EventZombieState.FovCircle.Visible = false
end
if EventZombieState.CurrentAim and EventZombieState.Aim.Enabled then
local sp, on = cam:WorldToViewportPoint(EventZombieState.CurrentAim.Position)
if on and sp.Z > 0 then
EventZombieState.TargetDot.Position = Vector2.new(sp.X, sp.Y)
EventZombieState.TargetDot.Visible = true
else
EventZombieState.TargetDot.Visible = false
end
else
EventZombieState.TargetDot.Visible = false
end
end
local function EventZombieFireLoop()
while EventZombieState.Running do
task.wait(EventZombieState.Aim.FireInterval)
if not EventZombieState.Running then break end
if EventZombieState.Firing or EventZombieState.Testing then continue end
if not (EventZombieShouldFire() and EventZombieState.CurrentFire and EventZombieState.CurrentFire.Parent) then
continue
end
EventZombieState.Firing = true
local ok, err = EventZombieTryFire()
EventZombieState.Firing = false
EventZombieState.LastFireAt = tick()
if ok then
EventZombieState.LastFireStatus = 'fired via ' .. EventZombieState.Aim.FireMethod
else
EventZombieState.LastFireStatus = 'fail: ' .. tostring(err)
end
end
end
-- Diagnostics helpers
local function EventZombieDumpStructure()
local list = EventZombieList()
if #list == 0 then
print('[Event] no zombies')
return
end
local z = list[1]
print('[Event] ' .. z.Model:GetFullName() .. ' HP ' .. tostring(z.HP))
for _, d in ipairs(z.Model:GetDescendants()) do
if d:IsA('BasePart') then
print(' BasePart: ' .. d.Name)
elseif d:IsA('Humanoid') then
print(' Humanoid: ' .. d.Name .. ' HP ' .. d.Health)
end
end
end
local function EventZombieDumpEnum()
local modules = ReplicatedStorage:FindFirstChild('Modules')
local em = modules and modules:FindFirstChild('EnumLibrary')
if not em then
print('[Event] no EnumLibrary')
return
end
local ok, el = pcall(require, em)
if not ok or type(el) ~= 'table' then
print('[Event] EnumLibrary unusable')
return
end
print('[Event] EnumLibrary keys:')
local top = {}
for k, v in pairs(el) do
if type(k) == 'string' and (k:lower():find('shoot') or k:lower():find('enum')) then
table.insert(top, k .. ' = ' .. tostring(v))
end
end
table.sort(top)
for _, line in ipairs(top) do
print(' ' .. line)
end
local fromEnum = rawget(el, '_from_enum')
if type(fromEnum) == 'table' then
print('[Event] _from_enum entries containing Shoot:')
for k, v in pairs(fromEnum) do
if tostring(v):lower():find('shoot') then print(' ' .. tostring(k) .. ' -> ' .. tostring(v)) end
end
end
end
local function EventZombieTestDamage()
if not ResolveEnemyController() then return 'no EnemyController' end
local list = EventZombieList()
if #list == 0 then return 'no zombies alive' end
local cam = Workspace.CurrentCamera
if not cam then return 'no camera' end
local best, bestScore = nil, math.huge
local center = Vector2.new(cam.ViewportSize.X / 2, cam.ViewportSize.Y / 2)
for _, z in ipairs(list) do
local aim = EventZombieAimPart(z.Model)
if aim then
local sp, on = cam:WorldToViewportPoint(aim.Position)
if on and sp.Z > 0 then
local d = (Vector2.new(sp.X, sp.Y) - center).Magnitude
if d < bestScore then
bestScore, best = d, z
end
end
end
end
best = best or list[1]
if not best then return 'no in-FOV zombie' end
local aimPart = EventZombieAimPart(best.Model)
if not aimPart then return 'no aim part' end
local firePart = EventZombieFirePart(aimPart)
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem
if not item then return 'no weapon equipped' end
local hpBefore = EventZombieHealth(best.Model, best.Entity)
local ammoBefore = tonumber(ReadItemValue(item, 'Ammo'))
local savedAim, savedFire = EventZombieState.CurrentAim, EventZombieState.CurrentFire
local savedEnabled = EventZombieState.Aim.Enabled
EventZombieState.CurrentAim, EventZombieState.CurrentFire = aimPart, firePart
EventZombieState.Aim.Enabled = true
EventZombieState.Testing = true
local ok, err = EventZombieTryFire(true)
task.wait(0.3)
EventZombieState.Testing = false
EventZombieState.Aim.Enabled = savedEnabled
EventZombieState.CurrentAim, EventZombieState.CurrentFire = savedAim, savedFire
local hpAfter = EventZombieHealth(best.Model, best.Entity)
local ammoAfter = tonumber(ReadItemValue(item, 'Ammo'))
local dmg = (hpBefore and hpAfter) and (hpBefore - hpAfter) or nil
local used = (ammoBefore and ammoAfter) and (ammoBefore - ammoAfter) or nil
if not ok then
return 'SEND FAIL: ' .. tostring(err)
elseif dmg and dmg > 0 then
return string.format(
'HIT -%d HP via %s, ammo %d to %d',
math.floor(dmg + 0.5),
EventZombieState.Aim.FireMethod,
ammoBefore or -1,
ammoAfter or -1
)
elseif used and used > 0 then
return string.format('PACKET ACCEPTED NO DAMAGE via %s, ammo -%d', EventZombieState.Aim.FireMethod, used)
elseif hpBefore and hpAfter and hpBefore == hpAfter then
return 'SERVER DROPPED PACKET via ' .. EventZombieState.Aim.FireMethod
else
return 'ambiguous missing HP or ammo data'
end
end
local function EventZombieBuildStatus()
local lines = {}
lines[#lines + 1] = 'EnemyController: ' .. (ResolveEnemyController() and 'ok' or 'MISSING')
lines[#lines + 1] = 'FighterController: ' .. (ResolveFighterController() and 'ok' or 'MISSING')
lines[#lines + 1] = 'CameraController: ' .. (RivalsModsState.ResolveCameraController() and 'ok' or 'MISSING')
lines[#lines + 1] = 'Utility: ' .. (EventZombieState.Utility and 'ok' or 'MISSING')
lines[#lines + 1] = 'UseItem remote:' .. (EventZombieState.UseItemRemote and 'ok' or 'MISSING')
lines[#lines + 1] = 'StartShooting: ' .. tostring(EventZombieState.StartShootingToken)
lines[#lines + 1] = ''
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem
if item then
lines[#lines + 1] = 'Weapon:' .. tostring(item.Name)
lines[#lines + 1] = 'Ammo: ' .. tostring(ReadItemValue(item, 'Ammo'))
else
lines[#lines + 1] = 'Weapon:none'
end
lines[#lines + 1] = 'Zombies: ' .. #EventZombieList()
lines[#lines + 1] = ''
lines[#lines + 1] = 'Aim Enabled: ' .. tostring(EventZombieState.Aim.Enabled)
lines[#lines + 1] = 'Fire Method: ' .. EventZombieState.Aim.FireMethod
lines[#lines + 1] = 'Current Target:'
.. (EventZombieState.CurrentAim and EventZombieState.CurrentAim:GetFullName() or 'none')
lines[#lines + 1] = 'Last Status: ' .. EventZombieState.LastFireStatus
if EventZombieState.TestStatus ~= '' then
lines[#lines + 1] = ''
lines[#lines + 1] = 'Test: ' .. EventZombieState.TestStatus
end
return table.concat(lines, '\n')
end
-- ===== Tower kit v2 :: core (mob model, tower data, drawing, alerts, prompts, queue) =====
RivalsRuntimeBridge.TowerKit = (function()
local Kit = {}
local CollectionService = game:GetService('CollectionService')
local ProximityPromptService = game:GetService('ProximityPromptService')
local cfg = {
Spawns = false,
SpawnDist = 450,
Triggers = false,
Waypoint = false,
Hud = false,
Alerts = false,
AlertNotify = true,
Pickup = false,
PickupRange = 12,
Interact = false,
Record = false,
QueueMode = 'Zombie Tower (solo)',
PickWeapon = 'Handgun',
FastMeleeAlways = false,
-- mobs that do not take head damage; edited from the Aim Assist group
BodyOnly = { ['Helmet Zombie'] = true, ['Charger Zombie'] = true },
Esp = {
Enabled = false,
Style = 'Corners',
Name = true,
Health = true,
Distance = true,
Tracer = false,
MaxDistance = 500,
OnlySpecial = false,
ColorMode = 'Threat',
BodyHint = true,
TargetMark = true,
BlastRing = true,
},
Aim = {
Mode = 'Smart',
Priority = 'Crosshair',
ExplosiveGuard = true,
ExplosiveSafe = 0,
ExplosivesFirst = true,
},
Bot = {
Enabled = false,
DryRun = false,
Advance = true,
WaveTriggers = true,
PauseOnInput = true,
EngageRange = 90,
RetreatPct = 30,
ExplosiveMode = 'Careful',
MinHpExplosive = 70,
ClearDelay = 3,
Spacing = true,
SpacingMin = 5.5,
StandOff = 7,
HuntRange = 25,
LowHpAction = 'Stop',
StopAtBoss = true,
Mode = 'Legit',
AutoPick = true,
},
Rage = {
Position = 'Above',
Distance = 2.6,
VerticalOffset = 6.0,
MaxHop = 60,
MinHop = 6,
HopCap = 160,
HopCooldown = 0.12,
LockTolerance = 1.6,
SettleTime = 0.1,
Noclip = true,
TargetOrder = 'Isolated',
SmartSpot = true,
StuckTime = 1.0,
Aura = true,
AuraCone = 55,
Grenade = true,
GrenadeMin = 4,
GrenadeSafe = 9,
Collect = 'Heal + Ammo',
CollectBelow = 95,
ReachScale = 1,
Kite = true,
KiteDistance = 6,
CollectRange = 150,
FastMelee = true,
SpeedBoost = 85,
ExposureRadius = 7,
FleeMargin = 2,
RetreatPct = 0,
ExplosivePolicy = 'Snipe',
-- the horde (50 mobs, ~4000 hp) cannot be shot down with a 100-round rifle: lives 22 and 33 emptied it from 50-70 studs for 4 kills in 100 s
-- and died; life 28 punched its way through with an empty shotgun and lived. Off.
HordeShoot = false,
-- circle the mob being fought, a hop every OrbitGap s, favouring its back (how a player does it: the attack's hit area never lines up)
-- (tried 'a ghost in reach is killed, not dodged' - GhostStand 9: two test matches took 250 damage each, with the dodge on 0 and 0)
GhostStand = 0,
Orbit = true,
OrbitStep = 55,
OrbitGap = 0.26,
OrbitRadius = 2.4,
OrbitVertical = 4.8,
OrbitFlyerVertical = 3.6,
ExplosiveFlee = true, -- an Explosive Zombie within ExplosiveDanger studs is stepped away from before anything else
ExplosiveDanger = 28,
SnipeMargin = 4,
SnipeRange = 80,
MinHpExplosive = 80,
WaveDelay = 1.2,
Evade = true,
EvadeBelow = 100, -- every announced swing is dodged, at any health: measured live, 50 damage by floor 7 instead of 190-300 for the same pace
EvadeRange = 12,
EvadeLift = 13,
Strafe = true,
StrafeMin = 3,
StepDistance = 28,
StepHold = 0.9,
HoldEngage = 14,
Escape = true,
EscapeAt = 6,
EscapeDistance = 30,
EscapeGap = 0.7,
Focus = true,
FocusRadius = 11,
KillOrder = true,
LongReach = 0, -- studs of Knife Extender range the farm asks the hub for (0 = off); the hover height follows it (see R.ApplyLift)
LiftMargin = 2.5,
MaxLift = 10, -- measured live: hits land up to ~16 studs above the mob and not at 21 (extender 12 -> hover 15.5)
TargetLock = true,
HordeWait = true, -- after the pinata pops: nothing is attacked until the horde has finished spawning
HordeMinWait = 4,
HordeSettle = 2.5,
HordeWaitMax = 20,
HordeWaitDistance = 110,
HordeWaitLift = 8,
TierWeight = 3000,
TierRadius = 36,
TierKeep = 10,
TierExposure = 6,
TierLowHp = 55,
FlyerFirstRange = 34,
GunDryMax = 8,
GunDryBan = 15,
FlyerFirstMax = 15,
TierRadiusLow = 18,
TierShooterRadius = 60, -- hops are cheap now (the farm hovers 15 above and kills from 15): a skeleton is worth a trip across the room
ShootersFirst = true,
FlyerImminent = 20, -- a flyer this close comes before everything, shooters included
TierExtras = 6,
GunLock = true,
TrojanHeight = 22,
NestPatience = 20,
LauncherHunt = true,
Launcher = true,
LauncherMin = 4,
LauncherRange = 70,
},
}
Kit.Cfg = cfg
if getgenv and getgenv().__TOWERKIT_EXPOSE then getgenv().__TOWERKIT = Kit end
Kit.Running = true
Kit.GetMobs = false
Kit.StatusLabel = false
Kit.ExplosiveSeenAt = -100
Kit.QueueModes = {
['Gargoyle Tower (team)'] = 'ltm_monstertower_gargoyletower',
['Gargoyle Tower (solo)'] = 'ltm_monstertower_gargoyletower_solo',
['Zombie Tower (team)'] = 'ltm_monstertower_zombietower',
['Zombie Tower (solo)'] = 'ltm_monstertower_zombietower_solo',
}
Kit.QueueModeOrder = { 'Gargoyle Tower (team)', 'Gargoyle Tower (solo)', 'Zombie Tower (team)', 'Zombie Tower (solo)' }
Kit.PromptLog = {}
local SPAWN_COLOR = Color3.fromRGB(255, 200, 80)
local TRIGGER_COLOR = Color3.fromRGB(255, 120, 40)
local WAYPOINT_COLOR = Color3.fromRGB(90, 220, 255)
local ALERT_COLOR = Color3.fromRGB(255, 70, 70)
local HUD_COLOR = Color3.fromRGB(235, 235, 235)
local function now() return os.clock() end
Kit.Now = now
function Kit.MyRoot()
local character = LP.Character
return character and character:FindFirstChild('HumanoidRootPart') or nil
end
function Kit.MyHum()
local character = LP.Character
return character and character:FindFirstChildOfClass('Humanoid') or nil
end
local function rootPos()
local root = Kit.MyRoot()
return root and root.Position or nil
end
local lastNote = {}
-- the hub runs with cfg.QuietNotify: everything below stays silent (mob skipped, stall, grenade, horde, nest, weapon pick, preset...);
-- only the answer to a button, the stop of the farm and the menu closing are shown
local QUIET_ALLOW = { queue = true, playagain = true, botstop = true, ['rage-stop'] = true, menu = true }
function Kit.Notify(key, title, text, gap, force)
if cfg.QuietNotify and not QUIET_ALLOW[key] then return end
if not force and not cfg.AlertNotify then return end
local t = now()
if lastNote[key] and t - lastNote[key] < (gap or 3) then return end
lastNote[key] = t
if Library and type(Library.Notify) == 'function' then
pcall(Library.Notify, Library, { Title = title, Description = text, Time = 4 })
end
end
local notify = Kit.Notify
-- ----------------------------------------------------------- mob classes
-- first match wins, so specific names come before general ones
local CLASSES = {
{ 'grim', { Name = 'Grim Reaper', Tag = '[GRIM] ', Avoid = true, Threat = 4, Color = Color3.fromRGB(255, 40, 40) } },
{
'reaper',
{
Name = 'Reaper',
Tag = '[REAPER] ',
Threat = 3,
Flyer = true,
AlwaysDodge = true,
Color = Color3.fromRGB(255, 90, 90),
},
},
{ 'ghost', { Name = 'Ghost', Tag = '[GHOST] ', Threat = 1, Flyer = true, Color = Color3.fromRGB(190, 220, 255) } },
{
'trojan',
{ Name = 'Chicken Trojan', Tag = '[PINATA] ', Pinata = true, Threat = 0, Color = Color3.fromRGB(255, 200, 80) },
},
{
'giant acidic',
{
Name = 'Giant Acidic Gargoyle',
Tag = '[BOSS] ',
Boss = true,
Threat = 3,
Color = Color3.fromRGB(255, 70, 200),
},
},
{
'giant gargoyle',
{ Name = 'Giant Gargoyle', Tag = '[BOSS] ', Boss = true, Threat = 3, Color = Color3.fromRGB(255, 70, 200) },
},
{
'giant chombie',
{ Name = 'Giant Chombie', Tag = '[BOSS] ', Boss = true, Threat = 3, Color = Color3.fromRGB(255, 70, 200) },
},
{ 'giant', { Name = 'Giant', Tag = '[BOSS] ', Boss = true, Threat = 3, Color = Color3.fromRGB(255, 70, 200) } },
-- the small gargoyle of the Gargoyle Tower flies at us and strikes 0.03-0.4 s after its packet: the dodge has to be in the same frame
{
'gargoyle',
{
Name = 'Gargoyle',
Tag = '[GARGOYLE] ',
Threat = 2,
Flyer = true,
AlwaysDodge = true,
Color = Color3.fromRGB(170, 190, 255),
},
},
{ 'shadow', { Name = 'Shadow', Tag = '[SHADOW] ', Threat = 2, Color = Color3.fromRGB(120, 120, 160) } },
{
'brute',
{
Name = 'Brute Zombie',
Tag = '[BRUTE] ',
Threat = 2,
Ranged = true,
CloseDodge = true,
Reach = 14,
Color = Color3.fromRGB(200, 120, 80),
},
},
{
'explosive',
{
Name = 'Explosive Zombie',
Tag = '[BOOM] ',
Explosive = true,
Threat = 2,
Color = Color3.fromRGB(255, 150, 40),
},
},
{
'charger',
{ Name = 'Charger Zombie', Tag = '[CHARGE] ', Charger = true, Threat = 2, Color = Color3.fromRGB(255, 110, 60) },
},
{
'shocker',
{ Name = 'Shocker Zombie', Tag = '[ZAP] ', Threat = 2, Ranged = true, Color = Color3.fromRGB(90, 190, 255) },
},
{
'hunter',
{ Name = 'Hunter Zombie', Tag = '[LEAP] ', Threat = 2, Ranged = true, Color = Color3.fromRGB(255, 220, 60) },
},
{ 'flag', { Name = 'Flag Zombie', Tag = '[BUFFER] ', Threat = 2, Color = Color3.fromRGB(255, 255, 120) } },
{ 'chombie', { Name = 'Chombie', Tag = '[BRUTE] ', Threat = 2, Color = Color3.fromRGB(190, 120, 255) } },
{
'reanimating',
{ Name = 'Reanimating Zombie', Tag = '[REVIVES] ', Threat = 1, Color = Color3.fromRGB(120, 255, 160) },
},
{ 'stored', { Name = 'Stored Monster', Tag = '[HIDDEN] ', Threat = 1, Color = Color3.fromRGB(160, 160, 255) } },
{ 'helmet', { Name = 'Helmet Zombie', Tag = '[ARMOR] ', Threat = 1, Color = Color3.fromRGB(190, 190, 200) } },
-- a skeleton shoots bones from afar (25 each, about 0.6 s after its animation starts): only a clear line can hurt, so landing out of its sight is the dodge
{
'skeleton',
{
Name = 'Skeleton',
Tag = '[SKELETON] ',
Threat = 2,
Ranged = true,
Shooter = true,
Color = Color3.fromRGB(225, 225, 205),
},
},
}
Kit.MobNames = {
'Zombie',
'Helmet Zombie',
'Flag Zombie',
'Explosive Zombie',
'Hunter Zombie',
'Charger Zombie',
'Shocker Zombie',
'Reanimating Zombie',
'Skeleton',
'Chombie',
'Giant Chombie',
'Stored Monster',
'Giant Gargoyle',
'Giant Acidic Gargoyle',
}
local classCache = {}
function Kit.Classify(name)
name = type(name) == 'string' and name or ''
local cached = classCache[name]
if cached then return cached end
local lowered = name:lower()
local result
for _, entry in ipairs(CLASSES) do
if lowered:find(entry[1], 1, true) then
result = entry[2]
break
end
end
result = result or { Name = name ~= '' and name or 'Zombie', Tag = '', Threat = 0 }
classCache[name] = result
return result
end
-- kill order: 1 flyers (ghost, reaper, gargoyle), 2 skeletons, brutes and the other big zombies, 3 plain zombies.
-- Explosive zombies and the pinata stay in the last group: they have their own rules (range, blast, gun)
function Kit.KillTier(class)
if class.Flyer then return 1 end
-- the skeletons throw bones from up to 100 studs for as long as they live (4 hub lives: 275 of the ~1000 damage taken): they go first
if class.Shooter and cfg.Rage.ShootersFirst ~= false and not class.Explosive and not class.Pinata then return 1 end
if class.Explosive or class.Pinata or class.Avoid then return 3 end
if class.Shooter or class.Boss or class.Ranged or class.CloseDodge or class.Charger or (class.Threat or 0) >= 2 then
return 2
end
return 3
end
Kit.TierPicks = { 0, 0, 0 }
Kit.TierHeld = 0
function Kit.IsBodyOnly(model)
if not model then return false end
return cfg.BodyOnly[Kit.Classify(model.Name).Name] == true
end
-- 'Head' or 'Body' for this mob under the current aim mode
function Kit.AimPartFor(model)
local mode = cfg.Aim.Mode
if mode == 'Head' then
return 'Head'
elseif mode == 'Body' then
return 'Body'
end
return Kit.IsBodyOnly(model) and 'Body' or 'Head'
end
function Kit.Health(model)
local humanoid = model and model:FindFirstChildOfClass('Humanoid')
if humanoid then return humanoid.Health, humanoid.MaxHealth end
return nil, nil
end
-- ---------------------------------------------------------------- mobs
local DUMMY = { Target = true, Dummy = true, ['DPS Dummy'] = true }
local mobCache = { At = -10, List = {}, ByModel = {} }
Kit.PinataModels = {}
local motion = setmetatable({}, { __mode = 'k' })
function Kit.Mobs()
local t = now()
if t - mobCache.At < 0.04 then return mobCache.List end
mobCache.At = t
local list, byModel = {}, {}
local ok, controller = pcall(ResolveEnemyController)
if ok and controller then
for _, enemy in ipairs(controller.Objects or {}) do
local model = enemy.Model or (enemy.Entity and rawget(enemy.Entity, 'Model'))
if model and model.Parent and not DUMMY[model.Name] then
local humanoid = model:FindFirstChildOfClass('Humanoid')
local root = model:FindFirstChild('HumanoidRootPart') or model.PrimaryPart
if root and (humanoid or model:FindFirstChild('HitboxHead')) then
local hp = humanoid and humanoid.Health or nil
if hp == nil or hp > 0 then
local pos = root.Position
local m = motion[model]
local velocity = Vector3.zero
if m and t > m.T then
local raw = (pos - m.Pos) / (t - m.T)
velocity = m.Vel:Lerp(raw, 0.5)
end
motion[model] = { Pos = pos, T = t, Vel = velocity }
local record = {
Model = model,
Enemy = enemy,
Class = Kit.Classify(model.Name),
Root = root,
Humanoid = humanoid,
Look = root.CFrame.LookVector,
Pos = pos,
Vel = velocity,
HP = hp,
MaxHP = humanoid and humanoid.MaxHealth or nil,
}
list[#list + 1] = record
byModel[model] = record
if record.Class.Explosive then Kit.ExplosiveSeenAt = t end
end
end
end
end
end
-- pinata style entities (no humanoid, health kept in attributes) are not enemies of the controller
-- Every hit on the pinata moves its model into workspace.HurtEffect for about a second (the damage flash), so for that
-- second it is not in Entities at all. Both places are looked at, and one record per name is kept under a stable
-- model reference, otherwise the bot loses the target after every shot (which is what made it swap to the fists
-- between shots).
local tower0 = Kit.FindTower()
local entities0 = tower0 and tower0:FindFirstChild('Entities')
local hurt0 = Workspace:FindFirstChild('HurtEffect')
local pinataSeen = {}
for _, folder in ipairs({ entities0 or false, hurt0 or false }) do
for _, model in ipairs(folder and folder:GetChildren() or {}) do
if
model:IsA('Model')
and not byModel[model]
and not pinataSeen[model.Name]
and model:FindFirstChild('PinataHitbox')
then
local pinataRoot = model:FindFirstChild('HumanoidRootPart') or model.PrimaryPart
local pinataHp = tonumber(model:GetAttribute('Health'))
if pinataRoot and (pinataHp == nil or pinataHp > 0) then
pinataSeen[model.Name] = true
local canon = Kit.PinataModels[model.Name]
if not canon or not canon.Parent then
canon = model
Kit.PinataModels[model.Name] = model
end
local record = {
Model = canon,
Enemy = nil,
Class = Kit.Classify(model.Name),
Root = pinataRoot,
Humanoid = nil,
Look = pinataRoot.CFrame.LookVector,
Pos = pinataRoot.Position,
Vel = Vector3.zero,
HP = pinataHp,
MaxHP = tonumber(model:GetAttribute('MaxHealth')),
}
list[#list + 1] = record
byModel[canon] = record
end
end
end
end
mobCache.List, mobCache.ByModel = list, byModel
return list
end
function Kit.MobOf(model)
Kit.Mobs()
return mobCache.ByModel[model]
end
-- ------------------------------------------------------- blast learning
local learn = { Radius = nil, Damage = nil, LastAt = -10, Samples = {}, HookedHum = nil, Conn = nil }
Kit.Learn = learn
local DEFAULT_BLAST = 12
function Kit.BlastRadius() return learn.Radius or DEFAULT_BLAST end
function Kit.ExplosiveSafeDistance()
local override = cfg.Aim.ExplosiveSafe
if type(override) == 'number' and override > 0 then return override end
return Kit.BlastRadius() + 3
end
-- ------------------------------------------------------ attack warnings
-- An enemy swing announces itself: the server sends the attacker's PlayAnimation packet about 0.4-0.7 s
-- before the damage lands. The plain zombie's attack animation is known; the others are learned from the
-- hits taken (an animation that precedes two of our hits is an attack).
Kit.AttackAnims = {
['rbxassetid://102425113550637'] = true, -- plain / helmet zombie
['rbxassetid://116181844632618'] = true, -- plain zombie, second swing
['rbxassetid://134538543310990'] = true, -- ghost
['rbxassetid://77084924915946'] = true, -- ghost, second attack
['rbxassetid://127358072436601'] = true, -- brute zombie
['rbxassetid://118484538703523'] = true, -- brute zombie, second attack (seen once)
['rbxassetid://83652161573309'] = true, -- skeleton
['rbxassetid://88038605096017'] = true, -- reaper (the small flyer, 50 damage; it used to be learned only after two hits)
['hunter:leap'] = true, -- hunter zombie leap (own packet)
['rbxassetid://116320095247011'] = true, -- hunter zombie claw (five 25-damage hits in 4 s before it was learned)
['rbxassetid://94937005224967'] = true, -- explosive zombie detonation (50 damage twice in 2 s before it was learned)
['rbxassetid://113019234162696'] = true, -- hunter zombie, second attack: four 25-damage hits in 0.6 s on floor 7 (17 sightings, never learned in time)
['rbxassetid://111405960447143'] = true, -- explosive zombie, second animation (seen in two big hits): an explosive zombie does 150
['rbxassetid://79657408283737'] = true, -- gargoyle (Gargoyle Tower), 25 damage, lands 0.03-0.37 s after the packet (8 sightings, 3 hits)
['rbxassetid://86062401772155'] = true, -- gargoyle, second attack, lands 0.03-0.31 s after (9 sightings, 5 hits)
}
Kit.Attacks = setmetatable({}, { __mode = 'k' })
Kit.AttackLog = {}
Kit.AttackCandidates = {}
Kit.Windup = { Min = 0.38, Max = 0.95, List = {}, ById = {} }
Kit.Windup.ById['rbxassetid://134538543310990'] = { Min = 0.5, Max = 1.4, List = {} }
Kit.Windup.ById['rbxassetid://77084924915946'] = { Min = 0.5, Max = 1.4, List = {} }
-- brute: measured live frame by frame, the swing lands 0.59-0.61 s after the announcement and the brute stands still
-- for the whole sequence (it swings about every 1.4 s). Slack is the extra time a dodge keeps waiting after Max: the
-- generic 0.15 s would keep us out of reach for most of the brute's 1.4 s cycle, 0.05 s lets us step back in the moment
-- the swing has landed and punch it until the next one is announced
Kit.Windup.ById['rbxassetid://127358072436601'] = { Min = 0.5, Max = 0.68, Slack = 0.05, List = {} }
Kit.Windup.ById['rbxassetid://118484538703523'] = { Min = 0.5, Max = 0.68, Slack = 0.05, List = {} }
Kit.Windup.ById['rbxassetid://88038605096017'] = { Min = 0.55, Max = 0.85, List = {} }
Kit.Windup.ById['rbxassetid://113019234162696'] = { Min = 0.12, Max = 0.55, List = {} }
Kit.Windup.ById['rbxassetid://111405960447143'] = { Min = 0.3, Max = 1.0, List = {} }
Kit.Windup.ById['hunter:leap'] = { Min = 0.25, Max = 1.0, List = {} }
Kit.Windup.ById['rbxassetid://83652161573309'] = { Min = 0.45, Max = 1.3, List = {} }
Kit.Windup.ById['rbxassetid://79657408283737'] = { Min = 0.02, Max = 0.5, Slack = 0.05, List = {} }
Kit.Windup.ById['rbxassetid://86062401772155'] = { Min = 0.02, Max = 0.5, Slack = 0.05, List = {} }
-- the windup range of one attack animation once it has been measured a few times, otherwise the overall one
function Kit.WindupFor(id)
local entry = Kit.Windup.ById[id]
if entry and entry.Min then return entry end
return Kit.Windup
end
Kit.Dodges = 0
function Kit.NoteAnimation(entity, id)
if type(id) ~= 'string' or type(entity) ~= 'table' then return end
local model = entity.Model
local root = Kit.MyRoot()
local info = model and Kit.MobOf(model)
if not model or not root or model == LP.Character or not info then return end
local mobRoot = entity.RootPart or model:FindFirstChild('HumanoidRootPart')
if not mobRoot then return end
local distance = (mobRoot.Position - root.Position).Magnitude
-- a skeleton throws from 28-35 studs (every unannounced hit on floor 12 came from there)
if distance > ((info.Class and info.Class.Shooter) and (Kit.ShooterAnnounceRange or 90) or 30) then return end
local t = now()
Kit.Attacks[model] = { At = t, Id = id, Dist = distance, Known = Kit.AttackAnims[id] == true }
local log = Kit.AttackLog
log[#log + 1] = { t = t, id = id, dist = distance, model = model, pos = mobRoot.Position }
if #log > 60 then table.remove(log, 1) end
end
-- called for every drop in our health: which announced attacks came right before it?
function Kit.LearnFromHit(lost)
local t = now()
local seen = {}
for _, entry in ipairs(Kit.AttackLog) do
local age = t - entry.t
if
age >= 0.2
and age <= (Kit.AttackAnims[entry.id] and 1.5 or 1.0)
and entry.dist <= 10
and (not seen[entry.id] or age > seen[entry.id])
then
seen[entry.id] = age
end
end
for id, age in pairs(seen) do
if Kit.AttackAnims[id] then
local own = Kit.Windup.ById[id]
if not own then
own = { List = {} }
Kit.Windup.ById[id] = own
end
own.List[#own.List + 1] = age
if #own.List > 16 then table.remove(own.List, 1) end
if #own.List >= 3 then
local low, high = math.huge, 0
for _, value in ipairs(own.List) do
low, high = math.min(low, value), math.max(high, value)
end
own.Min = math.clamp(low - 0.04, 0.22, 0.9)
own.Max = math.clamp(high + 0.08, 0.5, 1.4)
end
local list = Kit.Windup.List
list[#list + 1] = age
if #list > 24 then table.remove(list, 1) end
if #list >= 4 then
local low, high = math.huge, 0
for _, value in ipairs(list) do
low, high = math.min(low, value), math.max(high, value)
end
Kit.Windup.Min = math.clamp(low - 0.04, 0.22, 0.5)
Kit.Windup.Max = math.clamp(high + 0.08, 0.5, 1.1)
end
else
Kit.AttackCandidates[id] = (Kit.AttackCandidates[id] or 0) + 1
if Kit.AttackCandidates[id] >= 2 then
Kit.AttackAnims[id] = true
Kit.Notify('attack', 'Tower', 'learned an attack animation (' .. tostring(id) .. ')', 2, true)
end
end
end
end
local function watchDamage()
local humanoid = Kit.MyHum()
if humanoid == learn.HookedHum then return end
if learn.Conn then
pcall(function() learn.Conn:Disconnect() end)
learn.Conn = nil
end
learn.HookedHum = humanoid
if not humanoid then return end
local last = humanoid.Health
learn.Conn = humanoid.HealthChanged:Connect(function(health)
local delta = health - last
last = health
if delta < -0.5 then pcall(Kit.LearnFromHit, -delta) end
if delta < -0.5 and now() - learn.LastAt < 0.7 then
local lost = -delta
learn.Damage = math.max(learn.Damage or 0, lost)
if #learn.Samples < 20 then
local root = Kit.MyRoot()
learn.Samples[#learn.Samples + 1] =
{ Damage = lost, Distance = learn.Pos and root and (learn.Pos - root.Position).Magnitude or nil }
end
end
end)
end
-- ---------------------------------------------------------------- drawing
local draw = { Text = {}, Line = {}, Rect = {}, TextCount = 0, LineCount = 0, RectCount = 0 }
Kit.DrawState = draw
local function newText()
local t = Drawing.new('Text')
t.Center = true
t.Outline = true
t.Font = 2
t.Size = 13
t.Visible = false
return t
end
local function newLine()
local l = Drawing.new('Line')
l.Thickness = 1.5
l.Transparency = 1
l.Visible = false
return l
end
local function newRect()
local r = Drawing.new('Square')
r.Thickness = 1
r.Filled = false
r.Transparency = 1
r.Visible = false
return r
end
local G = {}
Kit.Gfx = G
function G.begin()
draw.TextCount, draw.LineCount, draw.RectCount = 0, 0, 0
end
function G.finish()
for i = draw.TextCount + 1, #draw.Text do
draw.Text[i].Visible = false
end
for i = draw.LineCount + 1, #draw.Line do
draw.Line[i].Visible = false
end
for i = draw.RectCount + 1, #draw.Rect do
draw.Rect[i].Visible = false
end
end
function G.label(position, text, color, size, left)
draw.TextCount += 1
local t = draw.Text[draw.TextCount]
if not t then
t = newText()
draw.Text[draw.TextCount] = t
end
t.Center = not left
t.Text = text
t.Position = position
t.Color = color or HUD_COLOR
t.Size = size or 13
t.Visible = true
end
function G.seg(a, b, color, thickness)
draw.LineCount += 1
local l = draw.Line[draw.LineCount]
if not l then
l = newLine()
draw.Line[draw.LineCount] = l
end
l.From = a
l.To = b
l.Color = color
l.Thickness = thickness or 1.5
l.Visible = true
end
function G.rect(position, size, color, filled, thickness, transparency)
draw.RectCount += 1
local r = draw.Rect[draw.RectCount]
if not r then
r = newRect()
draw.Rect[draw.RectCount] = r
end
r.Position = position
r.Size = size
r.Color = color
r.Filled = filled == true
r.Thickness = thickness or 1
r.Transparency = transparency or 1
r.Visible = true
end
function G.project(cam, world)
local sp = cam:WorldToViewportPoint(world)
if sp.Z <= 0 then return nil end
return Vector2.new(sp.X, sp.Y)
end
function G.segWorld(cam, a, b, color, thickness)
local pa, pb = G.project(cam, a), G.project(cam, b)
if pa and pb then G.seg(pa, pb, color, thickness) end
end
function G.ring(cam, center, radius, color, thickness)
local steps = 28
local prev
for i = 0, steps do
local angle = (i / steps) * math.pi * 2
local p = G.project(cam, center + Vector3.new(math.cos(angle) * radius, 0, math.sin(angle) * radius))
if p and prev then G.seg(prev, p, color, thickness) end
prev = p
end
end
function G.box(cam, cf, size, color)
local hx, hy, hz = size.X / 2, size.Y / 2, size.Z / 2
local c = {}
for _, x in ipairs({ -hx, hx }) do
for _, y in ipairs({ -hy, hy }) do
for _, z in ipairs({ -hz, hz }) do
c[#c + 1] = cf:PointToWorldSpace(Vector3.new(x, y, z))
end
end
end
local edges = {
{ 1, 2 },
{ 3, 4 },
{ 5, 6 },
{ 7, 8 },
{ 1, 3 },
{ 2, 4 },
{ 5, 7 },
{ 6, 8 },
{ 1, 5 },
{ 2, 6 },
{ 3, 7 },
{ 4, 8 },
}
for _, e in ipairs(edges) do
G.segWorld(cam, c[e[1]], c[e[2]], color)
end
end
-- ------------------------------------------------------------ tower data
local towerCache = { Model = nil, At = -10 }
function Kit.FindTower()
local model = towerCache.Model
if model and model.Parent then return model end
local t = now()
if t - towerCache.At < 1 then return nil end
towerCache.At = t
towerCache.Model = nil
for _, child in ipairs(Workspace:GetChildren()) do
if
(child:IsA('Model') or child:IsA('Folder'))
and child.Name:find('Tower')
and child:FindFirstChild('Floors')
then
towerCache.Model = child
return child
end
end
return nil
end
local function withinPart(part, point)
local localPoint = part.CFrame:PointToObjectSpace(point)
local half = part.Size / 2
return math.abs(localPoint.X) <= half.X and math.abs(localPoint.Y) <= half.Y and math.abs(localPoint.Z) <= half.Z
end
Kit.WithinPart = withinPart
function Kit.FloorAt(tower, point)
local floors = tower and tower:FindFirstChild('Floors')
if not floors or not point then return nil end
local matches = {}
for _, floor in ipairs(floors:GetChildren()) do
local important = floor:FindFirstChild('Important')
local volume = important and important:FindFirstChild('Volume')
if volume and volume:IsA('BasePart') and withinPart(volume, point) and tonumber(floor.Name) then
matches[#matches + 1] = tonumber(floor.Name)
end
end
if #matches <= 1 then return matches[1] end
table.sort(matches)
-- the floors above 10 are built into the volume of the one below: the lower floor stays "current" while it has a trigger
-- left to fire, after that the highest floor whose entrance we are already above is
for _, number in ipairs(matches) do
if #Kit.PendingTriggers(tower, number) > 0 then return number end
end
local best = matches[1]
for _, number in ipairs(matches) do
local entrance = Kit.Entrance(tower, number)
if not entrance or entrance.Position.Y <= point.Y + 4 then best = number end
end
return best
end
local function floorOfInstance(inst)
local node = inst
while node and node.Parent do
if node.Parent.Name == 'Floors' then return tonumber(node.Name) end
node = node.Parent
end
return nil
end
local tagCache = {}
local function taggedInTower(tag, tower)
local entry = tagCache[tag]
local t = now()
if entry and t - entry.At < 1 then return entry.List end
local list = {}
for _, inst in ipairs(CollectionService:GetTagged(tag)) do
if inst:IsA('BasePart') and inst.Parent and (not tower or inst:IsDescendantOf(tower)) then
list[#list + 1] = {
Part = inst,
Name = inst:GetAttribute('MobName') or '?',
Count = inst:GetAttribute('MobCount') or 1,
Floor = floorOfInstance(inst),
}
end
end
tagCache[tag] = { At = t, List = list }
return list
end
Kit.Tagged = taggedInTower
-- triggers that still exist (the game removes a group's trigger once it fires)
function Kit.PendingTriggers(tower, floor)
local out = {}
for _, s in ipairs(taggedInTower('MobTrigger', tower)) do
if s.Part.Parent and s.Part:GetAttribute('Triggered') ~= true and (floor == nil or s.Floor == floor) then
out[#out + 1] = s
end
end
return out
end
function Kit.Entrance(tower, floor)
local floors = tower and tower:FindFirstChild('Floors')
local node = floors and floors:FindFirstChild(tostring(floor))
local important = node and node:FindFirstChild('Important')
local entrance = important and important:FindFirstChild('Entrance')
if entrance and entrance:IsA('BasePart') then return entrance end
return nil
end
function Kit.GroundAt(position, maxDown)
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
local ignore = { LP.Character }
local tower = Kit.FindTower()
local entities = tower and tower:FindFirstChild('Entities')
if entities then ignore[#ignore + 1] = entities end
params.FilterDescendantsInstances = ignore
local hit = Workspace:Raycast(position, Vector3.new(0, -(maxDown or 40), 0), params)
return hit and hit.Position or nil
end
-- ------------------------------------------------------- walls and shots
-- The bot teleports with noclip on, so a hop can end inside a wall or a pillar, and from there every shot and grenade goes into
-- the wall's interior (ammo and grenades for nothing). SpotFree asks the physics engine whether a body-sized box at a point
-- overlaps collidable map geometry (GetPartsInPart is exact for blocks and meshes); LineClear / ArcClear walk a bullet's or a
-- shell's path with raycasts.
local spotProbe = Instance.new('Part')
spotProbe.Anchored = true
spotProbe.CanCollide = false
spotProbe.CanTouch = false
spotProbe.CanQuery = false
spotProbe.Transparency = 1
local BODY_BOX = Vector3.new(3, 4.4, 3)
local shotParams = RaycastParams.new()
shotParams.FilterType = Enum.RaycastFilterType.Exclude
shotParams.RespectCanCollide = true
local overlapParams = OverlapParams.new()
overlapParams.FilterType = Enum.RaycastFilterType.Exclude
overlapParams.RespectCanCollide = true
overlapParams.MaxParts = 6
local function shotIgnore()
local list = { LP.Character }
local tower = Kit.FindTower()
local entities = tower and tower:FindFirstChild('Entities')
if entities then list[#list + 1] = entities end
local viewmodels = Workspace:FindFirstChild('ViewModels')
if viewmodels then list[#list + 1] = viewmodels end
-- a mob that was just hit is parked in HurtEffect for a moment (the damage flash): it is a target, not a wall
local hurt = Workspace:FindFirstChild('HurtEffect')
if hurt then list[#list + 1] = hurt end
return list
end
function Kit.SpotFree(point, size)
overlapParams.FilterDescendantsInstances = shotIgnore()
spotProbe.Size = size or BODY_BOX
spotProbe.CFrame = CFrame.new(point)
local ok, parts = pcall(Workspace.GetPartsInPart, Workspace, spotProbe, overlapParams)
return not ok or #parts == 0, ok and parts[1] or nil
end
local NUDGES = {}
for _, radius in ipairs({ 2.5, 4.5, 7, 10 }) do
for step = 0, 7 do
local angle = step * math.pi / 4
NUDGES[#NUDGES + 1] = Vector3.new(math.cos(angle) * radius, 0, math.sin(angle) * radius)
end
NUDGES[#NUDGES + 1] = Vector3.new(0, radius, 0)
NUDGES[#NUDGES + 1] = Vector3.new(0, -radius, 0)
end
-- the nearest spot to `point` (same height preferred) where the body box overlaps nothing; nil when there is none within 10 studs
function Kit.NearestFree(point, size)
if Kit.SpotFree(point, size) then return point end
for _, offset in ipairs(NUDGES) do
local candidate = point + offset
if Kit.SpotFree(candidate, size) then return candidate end
end
return nil
end
local function shotCast(origin, vector)
shotParams.FilterDescendantsInstances = shotIgnore()
local ignore = shotParams.FilterDescendantsInstances
-- a weapon crate or other drop is not a wall: look through it
for _ = 1, 3 do
local hit = Workspace:Raycast(origin, vector, shotParams)
if hit and (hit.Instance.Name == '_drop' or hit.Instance:FindFirstAncestor('_drop')) then
ignore[#ignore + 1] = hit.Instance
shotParams.FilterDescendantsInstances = ignore
else
return hit
end
end
return nil
end
-- is the straight line from origin to target free of walls (up to `slack` studs short of the target)?
function Kit.LineClear(origin, target, slack)
local vector = target - origin
local hit = shotCast(origin, vector)
return hit == nil or (hit.Position - origin).Magnitude >= vector.Magnitude - (slack or 2.5), hit
end
-- the path of a shell: launched from origin along direction at speed, falling at `gravity` studs/s^2, until it has covered
-- `flatDistance` studs horizontally. Clear when nothing solid is hit before it gets within `slack` studs of the end.
function Kit.ArcClear(origin, direction, speed, gravity, flatDistance, slack)
local flatSpeed = math.sqrt(direction.X * direction.X + direction.Z * direction.Z) * speed
if flatSpeed < 1e-3 then return true end
local total = flatDistance / flatSpeed
local steps = 12
local previous = origin
local travelled = 0
for k = 1, steps do
local t = total * k / steps
local point = origin + direction * (speed * t) + Vector3.new(0, -0.5 * gravity * t * t, 0)
local vector = point - previous
local hit = shotCast(previous, vector)
if hit then
local remaining = total * (1 - (k - 1) / steps) * flatSpeed - (hit.Position - previous).Magnitude
return remaining <= (slack or 4), hit
end
travelled += vector.Magnitude
previous = point
end
return true
end
-- ------------------------------------------------------------ skeleton bones
-- A skeleton's throw is a model named 'Skeleton' directly under Workspace (not in the tower's Entities folder): a 1x1x1 Hitbox
-- (CanTouch) and a bone mesh, flying in a straight line at about 15 studs a second for ten seconds. Slow, visible and
-- predictable: where it will pass is known long before it gets there.
local boneSeen = setmetatable({}, { __mode = 'k' })
function Kit.Bones()
local list = {}
local t = now()
for _, inst in ipairs(Workspace:GetChildren()) do
if inst.Name == 'Skeleton' and (inst:IsA('Model') or inst:IsA('BasePart')) then
local hitbox = inst:IsA('BasePart') and inst or inst:FindFirstChild('Hitbox')
if hitbox and hitbox:IsA('BasePart') then
local pos = hitbox.Position
local vel = hitbox.AssemblyLinearVelocity
local seen = boneSeen[inst]
-- not moving by physics (or not yet): the velocity between two looks
if vel.Magnitude < 2 and seen and t - seen.T > 0.02 then vel = (pos - seen.Pos) / (t - seen.T) end
if not seen or t - seen.T > 0.02 then boneSeen[inst] = { Pos = pos, T = t } end
list[#list + 1] = { Pos = pos, Vel = vel, Model = inst }
end
end
end
return list
end
-- the first moment (seconds from now, within `horizon`) at which a bone passes within `radius` studs of `point`, and which bone
function Kit.BoneThreat(bones, point, horizon, radius)
local best, bestBone
radius = radius or 4
for _, bone in ipairs(bones or {}) do
local rel = point - bone.Pos
local speed2 = bone.Vel:Dot(bone.Vel)
local tClosest = speed2 > 1 and rel:Dot(bone.Vel) / speed2 or 0
if tClosest > -0.15 then
tClosest = math.min(math.max(tClosest, 0), horizon or 1.6)
local closest = (bone.Pos + bone.Vel * tClosest - point).Magnitude
if closest < radius and (not best or tClosest < best) then
best, bestBone = tClosest, bone
end
end
end
return best, bestBone
end
-- parts that kill the player (the zombie kill bricks are marked EnemiesOnly and are harmless to us)
local lethalCache = { At = -10, List = {} }
function Kit.IsLethal(point)
local t = now()
if t - lethalCache.At > 5 then
lethalCache.At = t
local list = {}
local function consider(inst)
if inst:IsA('BasePart') and inst:GetAttribute('EnemiesOnly') ~= true then list[#list + 1] = inst end
end
local tower = Kit.FindTower()
local floors = tower and tower:FindFirstChild('Floors')
for _, floor in ipairs(floors and floors:GetChildren() or {}) do
local important = floor:FindFirstChild('Important')
for _, inst in ipairs(important and important:GetChildren() or {}) do
local name = inst.Name:lower()
if
name:find('killoob', 1, true)
or name:find('outofbounds', 1, true)
or name:find('killbrick', 1, true)
then
consider(inst)
end
end
end
for _, tag in ipairs({ 'KillBrick', 'OutOfBoundsPart' }) do
for _, inst in ipairs(CollectionService:GetTagged(tag)) do
consider(inst)
end
end
lethalCache.List = list
end
for _, part in ipairs(lethalCache.List) do
if part.Parent and withinPart(part, point) then return true end
end
return false
end
-- lava (the OnyxLava slabs: floors 1, 8, 9 and the whole of floor 11 at y 3600) costs 38 hp a touch and throws us upwards.
-- The character reaches about 3 studs under the root and 2.5 over it, so the root keeps 4.5 clear below a slab and 5 above it.
-- A thin sheet (floor 11) is never crossed: coming from under it, everything above it is out.
local lavaCache = { At = -10, List = {} }
function Kit.LavaParts()
if Kit.LavaOverride then return Kit.LavaOverride end
local t = now()
if t - lavaCache.At > 0.3 then
lavaCache.At = t
local list = {}
for _, inst in ipairs(CollectionService:GetTagged('OnyxLava')) do
if inst:IsA('BasePart') and inst.Parent then list[#list + 1] = inst end
end
lavaCache.List = list
end
return lavaCache.List
end
Kit.SheetMargin = 8.5
-- Floor 11: the arena is ABOVE the lava sheet (a player climbs the ladder up from the entrance and fights at y 3608; the walkers stand at
-- 3606-3609, the sheet is at 3599.75). The bot used to stay UNDER the sheet and died to it twice (-38 each) after a hop behind a flying ghost.
-- Now it stays above it: a point over a thin sheet's footprint is never lower than SheetAbove over the sheet, and mobs under the sheet
-- are left alone (they are waited for, see the decision) unless the wait turns into a stall (StayAboveSheet is switched off for a while).
Kit.StayAboveSheet = true
Kit.SheetAbove = 6.0
-- which side of a thin lava sheet a point is on: 'above' (1.5+ over it), 'below' (1.5+ under it), 'band' (touching distance), nil
-- when no thin sheet lies over/under that spot. Second result: the sheet.
function Kit.SheetSide(point)
for _, part in ipairs(Kit.LavaParts()) do
if part.Parent and part.Size.Y < 2 then
local half = part.Size / 2
local localPoint = part.CFrame:PointToObjectSpace(point)
if math.abs(localPoint.X) <= half.X + 2 and math.abs(localPoint.Z) <= half.Z + 2 then
local top, bottom = part.Position.Y + half.Y, part.Position.Y - half.Y
if point.Y >= top + 1.5 then
return 'above', part
elseif point.Y <= bottom - 1.5 then
return 'below', part
end
return 'band', part
end
end
end
return nil
end
-- a point under a thin sheet but inside its margin, moved down to the margin (nil when it is fine or not under a sheet)
function Kit.SheetGuard(point, wasAbove)
for _, part in ipairs(Kit.LavaParts()) do
if part.Parent and part.Size.Y < 2 then
local localPoint = part.CFrame:PointToObjectSpace(point)
local half = part.Size / 2
if math.abs(localPoint.X) <= half.X + 2 and math.abs(localPoint.Z) <= half.Z + 2 then
local top, bottom = part.Position.Y + half.Y, part.Position.Y - half.Y
if Kit.StayAboveSheet ~= false and wasAbove then
-- we were above it a moment ago and are in touching distance now (the root sinks or is knocked): back up
if point.Y < top + 4 and point.Y > bottom - 3 then
return Vector3.new(point.X, top + Kit.SheetAbove, point.Z)
end
return nil
end
local below = bottom - Kit.SheetMargin
if point.Y < bottom and point.Y > below then return Vector3.new(point.X, below, point.Z) end
end
end
end
return nil
end
-- does the straight way from a to b pass through a thin lava sheet (a on one side of it, b on the other, both over its footprint)?
function Kit.CrossesSheet(a, b)
for _, part in ipairs(Kit.LavaParts()) do
if part.Parent and part.Size.Y < 2 then
local half = part.Size / 2
local la, lb = part.CFrame:PointToObjectSpace(a), part.CFrame:PointToObjectSpace(b)
if
math.abs(la.X) <= half.X + 2
and math.abs(la.Z) <= half.Z + 2
and math.abs(lb.X) <= half.X + 2
and math.abs(lb.Z) <= half.Z + 2
then
if (la.Y > 0) ~= (lb.Y > 0) then return true end
end
end
end
return false
end
-- is this point close to a thin lava sheet (floor 11): within its footprint and 9 studs of its height?
function Kit.LavaNear(point)
for _, part in ipairs(Kit.LavaParts()) do
if part.Parent and part.Size.Y < 2 then
local localPoint = part.CFrame:PointToObjectSpace(point)
local half = part.Size / 2
if
math.abs(localPoint.X) <= half.X + 2
and math.abs(localPoint.Z) <= half.Z + 2
and math.abs(point.Y - part.Position.Y) < 9
then
return true
end
end
end
return false
end
Kit.WallMargin = 5.5
-- an upright wall of lava (floor 13's curtain: 3 x 93 x 106): a point inside its margin is moved out sideways, to the side of
-- `from` (or its own side), keeping height and the other coordinate. Returns nil when the point is not near such a wall.
function Kit.WallExit(part, point, from)
local half = part.Size / 2
if half.Y < 2 or math.min(half.X, half.Z) >= 4 then return nil end
local localPoint = part.CFrame:PointToObjectSpace(point)
local margin = Kit.WallMargin
if
math.abs(localPoint.X) > half.X + margin
or math.abs(localPoint.Z) > half.Z + margin
or math.abs(localPoint.Y) > half.Y + margin
then
return nil
end
local thinX = half.X <= half.Z
local thin = thinX and localPoint.X or localPoint.Z
local halfThin = thinX and half.X or half.Z
if math.abs(thin) > halfThin + margin then return nil end
local side = thin >= 0 and 1 or -1
if from then
local fromLocal = part.CFrame:PointToObjectSpace(from)
local fromThin = thinX and fromLocal.X or fromLocal.Z
if math.abs(fromThin) > halfThin then side = fromThin >= 0 and 1 or -1 end
end
local exit = side * (halfThin + margin + 0.5)
local moved = thinX and Vector3.new(exit, localPoint.Y, localPoint.Z)
or Vector3.new(localPoint.X, localPoint.Y, exit)
return part.CFrame:PointToWorldSpace(moved)
end
function Kit.AvoidLava(point, from)
for _, part in ipairs(Kit.LavaParts()) do
if part.Parent then
local wall = Kit.WallExit(part, point, from)
if wall then return wall end
local localPoint = part.CFrame:PointToObjectSpace(point)
local half = part.Size / 2
if half.Y >= 2 and math.min(half.X, half.Z) < 4 then
-- an upright wall the point is not near: the slab rules below do not apply to it
continue
end
if
half.Y < 2
and Kit.StayAboveSheet ~= false
and math.abs(localPoint.X) <= half.X + 2
and math.abs(localPoint.Z) <= half.Z + 2
then
-- stay above a thin sheet: nothing over its footprint is lower than SheetAbove over it. The one exception is a bot that is itself deep
-- under the sheet (the entrance level) hopping to another place deep under it: that stays where it is.
local top = part.Position.Y + half.Y
local bottom = part.Position.Y - half.Y
if point.Y < top + Kit.SheetAbove then
local fromDeepUnder = from and from.Y < bottom - Kit.SheetMargin
if not (fromDeepUnder and point.Y < bottom - Kit.SheetMargin) then
return Vector3.new(point.X, top + Kit.SheetAbove, point.Z)
end
end
continue
end
if math.abs(localPoint.X) <= half.X + 2 and math.abs(localPoint.Z) <= half.Z + 2 then
local top = part.Position.Y + half.Y
local bottom = part.Position.Y - half.Y
-- a thin sheet (floor 11) gets 6.5 under it: the character was seen bobbing 2-5 studs at 4.7 under it, and touching it costs 38 hp
local below, above = bottom - (half.Y < 2 and Kit.SheetMargin or 4.5), top + 5
if half.Y < 2 and from and from.Y < bottom then
-- only a spot inside the band is pushed back under the sheet; one beyond it is simply jumped to (a teleport touches nothing on the way:
-- floor 11's trapdoor to floor 12 is above the sheet, and the bot sat under it for good)
if point.Y > below and point.Y < above then return Vector3.new(point.X, below, point.Z) end
elseif point.Y > below and point.Y < above then
-- coming from above a thin sheet, a spot in the lower half of its band is under the sheet (the last zombie of floor 11 stood
-- 16 studs under the bot, and 'over it' was pushed back up to where the bot already was: a stall of minutes). A hop touches nothing on the way.
if from and from.Y >= top and not (half.Y < 2 and point.Y < part.Position.Y) then
return Vector3.new(point.X, above, point.Z)
end
return Vector3.new(point.X, below, point.Z)
end
end
end
end
return point
end
-- Where we come to rest matters as much as where we hop to: floor 11's central structure rises through the sheet, so a hop
-- that ends over it under the sheet drops us onto a surface inside the lava. Under a thin sheet, a hop must come to rest
-- on something that is itself under the sheet (the decks, the pit floor); if not, a nearby column is used, or nothing.
local lavaRay = RaycastParams.new()
lavaRay.FilterType = Enum.RaycastFilterType.Exclude
lavaRay.RespectCanCollide = true
local function restRoot(x, z, startY)
local ignore = { LP.Character }
local tower = Kit.FindTower()
local entities = tower and tower:FindFirstChild('Entities')
if entities then ignore[#ignore + 1] = entities end
lavaRay.FilterDescendantsInstances = ignore
local hit = Workspace:Raycast(Vector3.new(x, startY, z), Vector3.new(0, -120, 0), lavaRay)
return hit and (hit.Position.Y + 3) or nil
end
function Kit.LavaSafe(point, from)
local adjusted = Kit.AvoidLava(point, from)
local sheet
for _, part in ipairs(Kit.LavaParts()) do
if part.Parent and part.Size.Y < 2 then
local localPoint = part.CFrame:PointToObjectSpace(adjusted)
local half = part.Size / 2
if math.abs(localPoint.X) <= half.X + 2 and math.abs(localPoint.Z) <= half.Z + 2 then
sheet = part
break
end
end
end
if not sheet then return adjusted end
local below = sheet.Position.Y - sheet.Size.Y / 2 - Kit.SheetMargin
if adjusted.Y > below + 0.01 then return adjusted end
local function fine(x, z)
local rest = restRoot(x, z, adjusted.Y + 1.5)
return rest == nil or rest <= below + 0.5
end
if fine(adjusted.X, adjusted.Z) then return adjusted end
for _, radius in ipairs({ 6, 12, 20 }) do
for step = 0, 7 do
local angle = step * math.pi / 4
local x, z = adjusted.X + math.cos(angle) * radius, adjusted.Z + math.sin(angle) * radius
if fine(x, z) then return Vector3.new(x, adjusted.Y, z) end
end
end
return adjusted
end
local function nearFloor(itemFloor, currentFloor)
if itemFloor == nil then return true end
if currentFloor == nil then return itemFloor <= 2 end
return itemFloor >= currentFloor and itemFloor <= currentFloor + 1
end
-- ------------------------------------------------------------- event info
local function formatTime(seconds)
seconds = math.max(0, math.floor(seconds))
local d = math.floor(seconds / 86400)
local h = math.floor((seconds % 86400) / 3600)
local m = math.floor((seconds % 3600) / 60)
if d > 0 then return string.format('%dd %02dh', d, h) end
return string.format('%dh %02dm', h, m)
end
local TASK_SHORT = {
EventDuelRoundPlayed = 'Rounds',
EventEliminations = 'Elims',
EventDuelWon = 'Win',
EventDuelWon2 = 'Win',
EventDuelWon3 = 'Win',
EventDuelWon4 = 'Win',
}
local eventCache = { At = -10, Text = nil }
function Kit.EventInfo()
local t = now()
if t - eventCache.At < 1 then return eventCache.Text end
eventCache.At = t
local ok, text = pcall(function()
local scripts = LP:FindFirstChild('PlayerScripts')
local controllers = scripts and scripts:FindFirstChild('Controllers')
if not controllers then return nil end
local parts = {}
local eventModule = controllers:FindFirstChild('EventController')
if eventModule then
local remaining = require(eventModule):GetTimeRemaining()
if type(remaining) == 'number' then parts[#parts + 1] = 'ends ' .. formatTime(remaining) end
end
local dataModule = controllers:FindFirstChild('PlayerDataController')
if dataModule then
local data = require(dataModule)
local candy = data:Get('EventCurrency')
if type(candy) == 'number' then parts[#parts + 1] = 'Candy ' .. candy end
local tasks = data:Get('EventTasks')
local taskLibrary = ReplicatedStorage:FindFirstChild('Modules')
and ReplicatedStorage.Modules:FindFirstChild('TaskLibrary')
local info = taskLibrary and require(taskLibrary).Info or {}
if type(tasks) == 'table' then
local wins = {}
for _, entry in ipairs(tasks) do
local goal = info[entry.Name] and info[entry.Name].Goal
local label = TASK_SHORT[entry.Name] or tostring(entry.Name)
local piece = entry.Completed and 'done'
or (tostring(entry.Progress or 0) .. '/' .. tostring(goal or '?'))
if label == 'Win' then
wins[#wins + 1] = piece
else
parts[#parts + 1] = label .. ' ' .. piece
end
end
if #wins > 0 then parts[#parts + 1] = 'Wins ' .. table.concat(wins, ' ') end
end
end
return #parts > 0 and table.concat(parts, ' | ') or nil
end)
eventCache.Text = ok and text or nil
return eventCache.Text
end
-- ----------------------------------------------------------- attack alerts
local alerts = {}
local rings = {}
local bindings = {}
local bindTries = 0
local nextBindAt = 0
local hookWanted = false
Kit.Telegraphs = {}
Kit.Reviving = setmetatable({}, { __mode = 'k' })
local function enemyById(id)
local ok, controller = pcall(ResolveEnemyController)
if not ok or not controller then return nil end
for _, enemy in ipairs(controller.Objects or {}) do
local data = rawget(enemy, 'Data')
if type(data) == 'table' and data.ObjectID == id then return enemy end
end
return nil
end
local function pushAlert(kind, text, duration, color)
local t = now()
for i = #alerts, 1, -1 do
if alerts[i].Kind == kind then table.remove(alerts, i) end
end
alerts[#alerts + 1] = { Kind = kind, Text = text, Until = t + duration, Color = color or ALERT_COLOR }
end
local function pushRing(position, radius, duration, color)
local t = now()
rings[#rings + 1] =
{ Pos = position, Radius = radius, From = t, Until = t + duration, Color = color or ALERT_COLOR }
if #rings > 24 then table.remove(rings, 1) end
end
local function num(value, fallback) return type(value) == 'number' and value or fallback end
-- telegraphs the bot reads: kind -> { Model, Until }
local function markTelegraph(kind, model, duration) Kit.Telegraphs[kind] = { Model = model, Until = now() + duration } end
function Kit.OnEnemyEvent(name, packet)
if type(packet) ~= 'table' then return end
local args = packet.args or {}
local enemy = enemyById(packet.objectId)
local model = enemy and enemy.Model
local who = model and model.Name or 'Enemy'
local show = cfg.Alerts
if name == 'ZombieExplosionEffect' then
learn.LastAt = now()
if typeof(args[1]) == 'Vector3' then learn.Pos = args[1] end
if type(args[2]) == 'number' and args[2] > 1 then learn.Radius = args[2] end
if show and typeof(args[1]) == 'Vector3' then
pushRing(args[1], num(args[2], DEFAULT_BLAST), 1.5, Color3.fromRGB(255, 160, 40))
end
elseif name == 'SlamEffect' then
local windup = num(args[3], 0) + num(args[4], 0)
markTelegraph(name, model, windup + 0.6)
if show then
if typeof(args[1]) == 'Vector3' then pushRing(args[1], num(args[2], 20), windup + 0.6) end
pushAlert(name, 'SLAM', math.max(windup, 0.6))
notify(name, 'Tower', who .. ' slam incoming')
end
elseif name == 'AcidSlam' then
markTelegraph(name, model, math.max(num(args[1], 1), 0.6))
if show then
pushAlert(name, 'ACID SLAM', math.max(num(args[1], 1), 0.6))
notify(name, 'Tower', who .. ' acid slam')
end
elseif name == 'ClawAttack' then
markTelegraph(name, model, math.max(num(args[1], 1), 0.6))
if show then
pushAlert(name, 'CLAW', math.max(num(args[1], 1), 0.6))
notify(name, 'Tower', who .. ' claw attack')
end
elseif name == 'AcidExplosion' then
if show and typeof(args[1]) == 'Vector3' then
pushRing(args[1], num(args[2], 12), 1.5, Color3.fromRGB(255, 160, 40))
end
elseif name == 'ChargerZombieChargeStart' then
markTelegraph(name, model, math.max(num(args[1], 2), 0.6))
if show then pushAlert(name, 'CHARGE', math.max(num(args[1], 2), 0.6), Color3.fromRGB(255, 110, 60)) end
elseif name == 'ShockerZombieZap' then
local part = args[1]
local character = LP.Character
if show and typeof(part) == 'Instance' and character and part:IsDescendantOf(character) then
pushAlert(name, 'ZAPPED', 1.2)
end
elseif name == 'HunterLeapEffect' then
if show then pushAlert(name, 'LEAP', 1.0, Color3.fromRGB(255, 220, 60)) end
elseif name == 'ZombieReanimation' then
-- a zombie that is getting back up cannot be hurt: leave it alone until it is up again
if model then Kit.Reviving[model] = now() + math.max(num(args[1], 5), 1) + 0.6 end
if show then pushAlert(name, 'REVIVING', math.max(num(args[1], 5), 1), Color3.fromRGB(120, 255, 160)) end
elseif name == 'FutileIntro' or name == 'FlightIntro' then
if show then notify(name, 'Tower', who .. ' boss intro', 8) end
end
end
local ALERT_ENUMS = {
'SlamEffect',
'AcidSlam',
'ClawAttack',
'AcidExplosion',
'ZombieExplosionEffect',
'ChargerZombieChargeStart',
'ShockerZombieZap',
'HunterLeapEffect',
'ZombieReanimation',
'FutileIntro',
'FlightIntro',
}
local function bindAlerts()
local hook = RivalsRuntimeBridge.ReplicateHook
if not hook or type(hook.Reserve) ~= 'function' then return false end
for _, enumName in ipairs(ALERT_ENUMS) do
if not bindings[enumName] then
local ok, binding = pcall(hook.Reserve, { enumName })
if ok and binding then
binding:SetHandler(function(packet) Kit.OnEnemyEvent(enumName, packet) end)
bindings[enumName] = binding
end
end
end
for _, enumName in ipairs(ALERT_ENUMS) do
if not bindings[enumName] then return false end
end
return true
end
local function setAlertBindings(enabled)
for _, binding in pairs(bindings) do
binding:SetEnabled(enabled)
end
if not enabled then
local hook = RivalsRuntimeBridge.ReplicateHook
if hook and type(hook.RevertIfIdle) == 'function' then hook.RevertIfIdle() end
end
end
-- every replicate packet passes through the hook, so it is only installed while something needs it:
-- the alert overlay, the bot's dodging, or learning the blast radius while an explosive zombie is around
local function hookNeeded()
if cfg.Alerts or cfg.Bot.Enabled then return true end
if (cfg.Aim.ExplosiveGuard or cfg.Esp.BlastRing) and now() - Kit.ExplosiveSeenAt < 30 then return true end
return false
end
function Kit.SetAlerts(enabled)
cfg.Alerts = enabled
if not enabled then
alerts, rings = {}, {}
end
end
-- ------------------------------------------------------------------ prompts
local shown = {}
Kit.ShownPrompts = shown
local promptConnections = {}
local firedAt = setmetatable({}, { __mode = 'k' })
local loggedKeys = {}
local itemMap
local lastPromptAt = 0
local function items()
if itemMap == nil then
itemMap = {}
local modules = ReplicatedStorage:FindFirstChild('Modules')
local library = modules and modules:FindFirstChild('ItemLibrary')
local ok, lib = pcall(require, library)
if ok and type(lib) == 'table' and type(lib.Items) == 'table' then itemMap = lib.Items end
end
return itemMap
end
local function promptPosition(prompt)
local parent = prompt.Parent
if not parent then return nil end
if parent:IsA('BasePart') then
return parent.Position
elseif parent:IsA('Attachment') then
return parent.WorldPosition
elseif parent:IsA('Model') then
return parent:GetPivot().Position
end
return nil
end
local function promptKey(prompt)
local names = {}
local node = prompt.Parent
for _ = 1, 4 do
if not node or node == Workspace then break end
names[#names + 1] = node.Name
node = node.Parent
end
return table.concat(names, '<') .. ' | ' .. prompt.ActionText .. ' | ' .. prompt.ObjectText
end
local INTERACT_WORDS = { 'lever', 'gate', 'switch', 'button', 'valve', 'crank', 'pull' }
local function looksInteractive(prompt)
local text = (prompt.Parent and prompt.Parent.Name or '') .. ' ' .. prompt.ActionText .. ' ' .. prompt.ObjectText
text = text:lower()
for _, word in ipairs(INTERACT_WORDS) do
if text:find(word, 1, true) then return true end
end
return false
end
local function promptStep(t)
if t - lastPromptAt < 0.15 then return end
lastPromptAt = t
if not (cfg.Pickup or cfg.Interact or cfg.Record) then return end
local origin = rootPos()
if not origin then return end
local lobby = Workspace:FindFirstChild('Lobby')
local range = cfg.PickupRange
local tower = Kit.FindTower()
local canFire = type(fireproximityprompt) == 'function'
for prompt in pairs(shown) do
if not prompt.Parent then
shown[prompt] = nil
elseif not (lobby and prompt:IsDescendantOf(lobby)) then
if cfg.Record then
local key = promptKey(prompt)
if not loggedKeys[key] then
loggedKeys[key] = true
if #Kit.PromptLog < 200 then
Kit.PromptLog[#Kit.PromptLog + 1] = key .. ' | hold ' .. tostring(prompt.HoldDuration)
end
print('[Tower] prompt: ' .. key .. ' | hold ' .. tostring(prompt.HoldDuration))
end
end
local at = promptPosition(prompt)
local close = at and (at - origin).Magnitude <= math.min(range, prompt.MaxActivationDistance)
local ready = canFire and prompt.Enabled and close and (not firedAt[prompt] or t - firedAt[prompt] > 1)
if ready then
local isWeapon = cfg.Pickup and prompt.ObjectText ~= '' and items()[prompt.ObjectText] ~= nil
local isLever = cfg.Interact and tower and prompt:IsDescendantOf(tower) and looksInteractive(prompt)
if isWeapon or isLever then
firedAt[prompt] = t
pcall(fireproximityprompt, prompt)
end
end
end
end
end
local function connectPrompts()
promptConnections[#promptConnections + 1] = ProximityPromptService.PromptShown:Connect(
function(prompt) shown[prompt] = true end
)
promptConnections[#promptConnections + 1] = ProximityPromptService.PromptHidden:Connect(
function(prompt) shown[prompt] = nil end
)
end
-- -------------------------------------------------------------------- queue
function Kit.JoinQueue()
local key = Kit.QueueModes[cfg.QueueMode]
if not key then return end
task.spawn(function()
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local folder = remotes and remotes:FindFirstChild('Matchmaking')
local remote = folder and folder:FindFirstChild('JoinQueue')
if not (remote and remote:IsA('RemoteFunction')) then
notify('queue', 'Tower', 'JoinQueue remote not found (are you in the lobby?)', 1, true)
return
end
local ok, result = pcall(remote.InvokeServer, remote, key)
notify(
'queue',
'Tower',
ok and ('Queue ' .. key .. ': ' .. tostring(result)) or ('Queue failed: ' .. tostring(result)),
1,
true
)
end)
end
-- the results screen's own buttons: one call each, made when the user presses the matching button in the tab
function Kit.PlayAgain()
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local folder = remotes and remotes:FindFirstChild('Matchmaking')
local remote = folder and folder:FindFirstChild('PlayAgain')
if remote and remote:IsA('RemoteEvent') then
remote:FireServer()
notify('playagain', 'Tower', 'Play Again sent (works from the results screen)', 1, true)
else
notify('playagain', 'Tower', 'Play Again is not available here', 1, true)
end
end
function Kit.LeaveMatch()
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local folder = remotes and remotes:FindFirstChild('Duels')
local remote = folder and folder:FindFirstChild('LeaveDuel')
if remote and remote:IsA('RemoteEvent') then remote:FireServer() end
end
function Kit.LeaveQueue()
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local folder = remotes and remotes:FindFirstChild('Matchmaking')
local remote = folder and folder:FindFirstChild('TryLeaveQueue')
if remote and remote:IsA('RemoteEvent') then remote:FireServer() end
end
-- ------------------------------------------------------------ weapon pick
-- The tower opens a weapon pick window before a fight counts. Until a weapon is picked the fighter has no
-- items and nothing you swing does any damage. The pick is an ordinary button, so it gets an ordinary click.
local pick = { At = -10, Busy = false, Count = 0 }
Kit.PickState = pick
-- what to take from the window a claimed "New Weapon" drop opens, best first: hitscan guns that hurt a
-- 75 hp zombie in few shots and keep their range
-- the Grenade Launcher (projectile, 45 + 45 splash in 14 studs, 6 + 24 shells) is worth more than any of them
Kit.LauncherName = 'Grenade Launcher'
-- a gun whose bullets are projectiles but fly so fast and flat that it is aimed like a hitscan gun with a little lead
-- (the Paintball Gun: 550 studs/s, no drop, 22 damage every 0.15 s; life 27 lost a good gun for one and then had none)
function Kit.IsFastProjectile(info)
if type(info) ~= 'table' or info.IsRaycast ~= false or info.Type ~= 'Gun' then return false end
local capacity = (tonumber(info.MaxAmmo) or 0) + (tonumber(info.MaxAmmoReserve) or 0)
return (tonumber(info.ProjectileSpeed) or 0) >= 250
and (tonumber(info.ProjectileGravity) or 1) <= 0.1
and (tonumber(info.ShootDamage) or 0) >= 8
and (tonumber(info.ShootExplosionRadius) or 0) <= 8
and capacity >= 30
end
function Kit.IsLauncher(info)
-- a projectile that explodes in a radius: fired at the middle of a pack from outside its blast
return type(info) == 'table'
and info.IsProjectile == true
and (tonumber(info.ShootExplosionRadius) or 0) >= 10
and (tonumber(info.ShootExplosionDamage) or 0) >= 25
and (tonumber(info.ProjectileSpeed) or 0) >= 100
end
-- area weapons first (Grenade Launcher 30 shells x 45 + 45 in 14 studs, RPG 18 rockets x 50 + 50 in 16, Distortion 45 shots x 5 pellets x 35),
-- then what keeps firing (Energy Rifle never runs dry) and what kills most per magazine
Kit.ClaimRanking = {
'Grenade Launcher',
'RPG',
'Distortion',
'Energy Rifle',
'Revolver',
'Assault Rifle',
'Wildcat',
'Burst Rifle',
'Paintball Gun',
'Scepter',
'Permafrost',
'Uzi',
'Shotgun',
'Handgun',
'Spray',
'Crossbow',
'Exogun',
'Shorty',
'Energy Pistols',
}
Kit.LastOffer = {}
-- ---------------------------------------------------------- weapon vetting
-- The bot only ever shoots plain hitscan guns that fire on a single click. Anything that has to be charged or
-- wound up (Minigun, Bow) or that switches between modes (Gunblade) is never taken, and neither is anything
-- else whose data says it works that way. The verdict comes from the item's own stats, the list is only a
-- safety net for the names already known to be trouble. The Sniper is on it because Larpbase said so.
Kit.BannedWeapons = { 'Minigun', 'Gunblade', 'Bow', 'Flamethrower', 'Freeze Ray', 'Sniper' }
local itemInfoCache = {}
function Kit.ItemInfo(name)
local cached = itemInfoCache[name]
if cached ~= nil then return cached or nil end
local ok, library = pcall(function() return require(ReplicatedStorage.Modules.ItemLibrary) end)
local info = ok and type(library) == 'table' and type(library.Items) == 'table' and library.Items[name] or nil
itemInfoCache[name] = info or false
return info
end
local SPECIAL_WORDS = { 'charg', 'windup', 'spinup', 'blade', 'transition', 'overheat' } -- no 'vortex': the Distortion's Vortex* keys are its right-click ability, its plain click is an ordinary hitscan shot
-- 'good' = safe to take and shoot, 'weak' = harmless but useless to the bot (projectiles, one shot), 'banned' = never
function Kit.WeaponVerdict(name, info)
for _, banned in ipairs(Kit.BannedWeapons) do
if banned == name then return 'banned', 'on the never-pick list' end
end
info = info or Kit.ItemInfo(name)
if type(info) ~= 'table' then return 'weak', 'no data for it' end
if info.Type ~= 'Gun' or info.Class == 'Utility' then return 'banned', 'not a plain gun' end
for key, value in pairs(info) do
if
type(key) == 'string'
and type(value) ~= 'table'
and value ~= nil
and value ~= false
and value ~= 0
and value ~= ''
then
local lowered = key:lower()
for _, word in ipairs(SPECIAL_WORDS) do
if lowered:find(word, 1, true) then
return 'banned', 'has to be charged or switches mode (' .. key .. ')'
end
end
end
end
-- the one projectile gun the bot knows how to fire: it lobs the shell on a ballistic arc at the middle of a pack
if Kit.IsLauncher(info) then return 'good', 'grenade launcher' end
if Kit.IsFastProjectile(info) then return 'good', 'fast projectile' end
if info.IsRaycast == false then return 'weak', 'projectile weapon' end
local capacity = (tonumber(info.MaxAmmo) or 0) + (tonumber(info.MaxAmmoReserve) or 0)
if capacity < 4 then return 'weak', 'almost no ammo' end
if (tonumber(info.ShootDamage) or 0) <= 0 then return 'weak', 'no damage' end
return 'good', ''
end
-- which of the offered weapon titles to take: the first wanted one that is good, then the best good one, then a
-- harmless one, and only when the window offers nothing but banned weapons the least bad of those (the window cannot
-- be closed without a pick). 'Random' is only ever taken when everything on offer is good anyway.
Kit.BannedFallback = { 'Gunblade', 'Bow', 'Minigun', 'Flamethrower', 'Freeze Ray', 'Sniper' }
function Kit.ChooseWeapon(offered, wanted)
local present = {}
local real = {}
for _, title in ipairs(offered) do
present[title] = true
if title ~= 'Random' then real[#real + 1] = title end
end
local verdicts = {}
local allGood = #real > 0
for _, title in ipairs(real) do
verdicts[title] = Kit.WeaponVerdict(title)
if verdicts[title] ~= 'good' then allGood = false end
end
for _, candidate in ipairs(wanted) do
if candidate == 'Random' then
if present.Random and allGood then return 'Random', 'good' end
elseif present[candidate] and verdicts[candidate] == 'good' then
return candidate, 'good'
end
end
local function bestOf(tier)
for _, candidate in ipairs(Kit.ClaimRanking) do
if candidate ~= 'Random' and present[candidate] and verdicts[candidate] == tier then return candidate end
end
for _, title in ipairs(real) do
if verdicts[title] == tier then return title end
end
return nil
end
local good = bestOf('good')
if good then return good, 'good' end
local weak = bestOf('weak')
if weak then return weak, 'weak' end
for _, candidate in ipairs(Kit.BannedFallback) do
if present[candidate] then return candidate, 'banned' end
end
return real[1] or offered[1], 'banned'
end
-- Is one of the game's own menus open (a player profile card with Add Friend / Challenge / Party Invite...)? The bot
-- attacks and shoots with a click in the middle of the screen, which would press whatever button sits there, so no
-- click is sent while such a menu is open.
local menuCache = { At = -10, Open = false }
local MENU_TEXTS = {
['Party Invite'] = true,
['Add Friend'] = true,
['Challenge'] = true,
['Send Gift'] = true,
['Remove Friend'] = true,
}
function Kit.GameMenuOpen()
local t = now()
if t - menuCache.At < 0.8 then return menuCache.Open end
menuCache.At = t
local open = false
local gui = LP:FindFirstChild('PlayerGui')
local camera = Workspace.CurrentCamera
local viewport = camera and camera.ViewportSize or Vector2.new(1920, 1080)
for _, d in ipairs(gui and gui:GetDescendants() or {}) do
-- the player list keeps its inspect panel parked off the right edge of the screen while it is closed, so the
-- element has to be on screen (inside the viewport and not see-through) to count
if
(d:IsA('TextLabel') or d:IsA('TextButton'))
and MENU_TEXTS[d.Text]
and d.Visible
and d.AbsoluteSize.X > 0
and d.TextTransparency < 0.95
and d.AbsolutePosition.X < viewport.X
and d.AbsolutePosition.X + d.AbsoluteSize.X > 0
and d.AbsolutePosition.Y < viewport.Y
and d.AbsolutePosition.Y + d.AbsoluteSize.Y > 0
then
local node, shown = d.Parent, true
while node and node ~= gui do
if (node:IsA('GuiObject') and not node.Visible) or (node:IsA('ScreenGui') and not node.Enabled) then
shown = false
break
end
node = node.Parent
end
if shown then
open = true
break
end
end
end
menuCache.Open = open
return open
end
function Kit.PickWindow()
local gui = LP:FindFirstChild('PlayerGui')
local main = gui and gui:FindFirstChild('MainGui')
local frame = main and main:FindFirstChild('MainFrame')
local pages = frame and frame:FindFirstChild('Pages')
local page = pages and pages:FindFirstChild('PickWeapons')
if not page then return nil end
local node = page
while node and node.Parent do
if node:IsA('GuiObject') and not node.Visible then return nil end
if node:IsA('ScreenGui') and not node.Enabled then return nil end
node = node.Parent
end
return page, main
end
function Kit.HasLoadout()
local ok, items = pcall(function() return ResolveLocalFighter().Items end)
return ok and type(items) == 'table' and next(items) ~= nil
end
-- click the wanted weapon on the pick window; returns true when a click was started
function Kit.PickWeapon(name)
local t = now()
if pick.Busy or t - pick.At < 2 then return false end
local page, main = Kit.PickWindow()
if not page then return false end
local wanted = name or cfg.PickWeapon or 'Handgun'
-- a single title, or a list ranked best first (the first one offered is taken)
local wantList = type(wanted) == 'table' and wanted or { wanted }
-- hunting the Grenade Launcher: it is taken whenever it is offered, whatever else was asked for
if (cfg.Rage.LauncherHunt ~= false) and wantList[1] ~= Kit.LauncherName then
local withLauncher = { Kit.LauncherName }
for _, title in ipairs(wantList) do
withLauncher[#withLauncher + 1] = title
end
wantList = withLauncher
end
local list = page:FindFirstChild('List')
local container = list and list:FindFirstChild('Container')
local byTitle, fallback, offered = {}, nil, {}
for _, slot in ipairs(container and container:GetChildren() or {}) do
local b = slot:IsA('GuiObject') and slot.Visible and slot:FindFirstChild('Button')
local title = b and b:FindFirstChild('Title')
if b and b:IsA('GuiButton') and title and title:IsA('TextLabel') then
fallback = fallback or b
byTitle[title.Text] = b
offered[#offered + 1] = title.Text
end
end
local chosen, verdict = Kit.ChooseWeapon(offered, wantList)
local button = chosen and byTitle[chosen] or nil
if not button then return false end
wanted = chosen
if verdict ~= 'good' then
notify(
'pickverdict',
'Tower',
'no good weapon on offer (' .. verdict .. '): taking ' .. tostring(chosen),
5,
true
)
end
Kit.LastOffer = offered
Kit.OfferLog = Kit.OfferLog or {}
-- the game's own pool for this mode (the picker lists what the fighter 'CanUseWeapon'; Random only picks among those shown)
local okPool, poolInfo = pcall(function()
local fighter = ResolveLocalFighter()
local pool = fighter:Get('WeaponPool')
return {
Pool = type(pool) == 'table' and table.concat(pool, ',') or tostring(pool),
Filter = tostring(fighter:Get('WeaponPoolFilterType')),
Launcher = select(2, pcall(function() return tostring(fighter:CanUseWeapon(Kit.LauncherName)) end)),
}
end)
Kit.OfferLog[#Kit.OfferLog + 1] = { Offered = offered, Picked = chosen, Pool = okPool and poolInfo or nil }
pick.Busy, pick.At = true, t
pick.Count += 1
task.spawn(function()
pcall(function()
local vim = game:GetService('VirtualInputManager')
local inset = game:GetService('GuiService'):GetGuiInset()
local center = button.AbsolutePosition + button.AbsoluteSize / 2
local x, y = center.X, center.Y + (main.IgnoreGuiInset and 0 or inset.Y)
vim:SendMouseMoveEvent(x, y, game)
task.wait(0.15)
vim:SendMouseButtonEvent(x, y, 0, true, game, 0)
task.wait(0.08)
vim:SendMouseButtonEvent(x, y, 0, false, game, 0)
end)
pick.Busy = false
end)
notify(
'pick',
'Tower',
'picking weapon: ' .. tostring(wanted) .. ' (offered: ' .. table.concat(offered, ', ') .. ')',
5
)
return true
end
-- ------------------------------------------------------------------ drops
-- Dead mobs sometimes leave a '_drop' part (about 8 studs wide, collected by touching it) holding a model
-- named after what it is (seen so far: Ammo). The label is read from that model.
local dropCache = { At = -10, List = {} }
function Kit.Drops()
local t = now()
if t - dropCache.At < 0.25 then return dropCache.List end
dropCache.At = t
local list = {}
for _, child in ipairs(Workspace:GetChildren()) do
if child.Name == '_drop' and child:IsA('BasePart') then
local label = ''
for _, inner in ipairs(child:GetChildren()) do
if inner:IsA('Model') then
label = inner.Name
break
end
end
-- a drop with a prompt on it is the "Claim | New Weapon" kind
local prompt = child:FindFirstChildWhichIsA('ProximityPrompt', true)
if prompt then label = 'Weapon' end
list[#list + 1] = { Part = child, Pos = child.Position, Label = label, Prompt = prompt }
end
end
dropCache.List = list
return list
end
local HEAL_WORDS = { 'heal', 'health', 'med', 'aid', 'hp', 'cross', 'regen', 'potion', 'food', 'life', 'heart' }
function Kit.IsHealLabel(label)
label = tostring(label or ''):lower()
for _, word in ipairs(HEAL_WORDS) do
if label:find(word, 1, true) then return true end
end
return false
end
-- ------------------------------------------------------------ melee speed
-- Same idea as the hub's "Weapon Attack Speed": the melee item type's StartShooting is wrapped so every
-- swing starts with a shorter AttackCooldown, and the real value goes back as soon as the swing started.
-- Inside the hub that wrapper already exists behind its own switch (P4S1T1 / P4S1S4), so the switch is used.
local fast = { Hooked = false, Module = nil, Original = nil, Wrapper = nil, Boost = 85, Saved = nil }
Kit.FastMelee = fast
local function callAtIdentity2(fn, ...)
local previous = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if previous ~= nil and previous ~= 2 and type(setthreadidentity) == 'function' then pcall(setthreadidentity, 2) end
local args = table.pack(...)
local results = table.pack(pcall(fn, table.unpack(args, 1, args.n)))
if previous ~= nil and previous ~= 2 and type(setthreadidentity) == 'function' then
pcall(setthreadidentity, previous)
end
return results
end
-- the scale applied to the melee cooldown right now (1 = normal speed)
function Kit.MeleeSpeedScale()
if fast.Saved then return 1 / (1 + math.clamp(Options.P4S1S4.Value, 0, 85) / 100) end
if fast.Hooked then return 1 / (1 + fast.Boost / 100) end
return 1
end
-- returns 'hub', 'own' or false. Several things can want the speed (the bot, the always-on switch): it stays
-- on while any owner wants it and goes back to normal when the last one lets go.
fast.Owners = {}
function Kit.SetMeleeSpeed(wanted, boost, owner)
fast.Owners[owner or 'bot'] = wanted and true or nil
local on = next(fast.Owners) ~= nil
boost = math.clamp(tonumber(boost) or 85, 0, 85)
fast.Boost = boost
if Toggles and Toggles.P4S1T1 and Options and Options.P4S1S4 then
if on then
if not fast.Saved then fast.Saved = { Toggle = Toggles.P4S1T1.Value, Boost = Options.P4S1S4.Value } end
if not Toggles.P4S1T1.Value then pcall(function() Toggles.P4S1T1:SetValue(true) end) end
pcall(function() Options.P4S1S4:SetValue(boost) end)
return 'hub'
elseif fast.Saved then
local saved = fast.Saved
fast.Saved = nil
pcall(function() Options.P4S1S4:SetValue(saved.Boost) end)
pcall(function() Toggles.P4S1T1:SetValue(saved.Toggle) end)
end
return false
end
if on then
if fast.Hooked then return 'own' end
local scripts = LP:FindFirstChild('PlayerScripts')
local modules = scripts and scripts:FindFirstChild('Modules')
local itemTypes = modules and modules:FindFirstChild('ItemTypes')
local moduleScript = itemTypes and itemTypes:FindFirstChild('Melee')
if not moduleScript then return false end
local ok, melee = pcall(require, moduleScript)
if not ok or type(melee) ~= 'table' or type(melee.StartShooting) ~= 'function' then return false end
local original = melee.StartShooting
local function wrapper(self, ...)
local item = self
if not (type(item) == 'table' and type(item.Name) == 'string') then
local fighterOk, fighter = pcall(ResolveLocalFighter)
item = fighterOk and fighter and fighter.EquippedItem or nil
end
local info = type(item) == 'table' and item.Info or nil
local previous
if fast.Hooked and type(info) == 'table' and type(info.AttackCooldown) == 'number' then
previous = info.AttackCooldown
info.AttackCooldown = math.max(0.001, previous / (1 + fast.Boost / 100))
end
local results = callAtIdentity2(original, self, ...)
if previous ~= nil then info.AttackCooldown = previous end
if not results[1] then error(results[2], 0) end
return table.unpack(results, 2, results.n)
end
fast.Module, fast.Original, fast.Wrapper = melee, original, wrapper
melee.StartShooting = wrapper
fast.Hooked = true
return 'own'
end
if fast.Hooked then
fast.Hooked = false
if fast.Module and fast.Module.StartShooting == fast.Wrapper then fast.Module.StartShooting = fast.Original end
fast.Module, fast.Original, fast.Wrapper = nil, nil, nil
end
return false
end
-- ----------------------------------------------------------------- grenade
-- the Utility item (Grenade: 75 damage in a 16 stud radius, 2 s fuse, 30 s cooldown)
function Kit.GrenadeInfo()
local ok, fighter = pcall(ResolveLocalFighter)
local items = ok and fighter and fighter.Items or nil
if type(items) ~= 'table' then return nil end
for slot, item in pairs(items) do
local info = type(item) == 'table' and item.Info or nil
if
type(info) == 'table'
and (info.Name == 'Grenade' or (info.Type == 'Throwable' and type(info.ExplosionRadius) == 'number'))
then
return { Slot = slot, Item = item, Info = info }
end
end
return nil
end
-- ------------------------------------------------------------- explosions
-- The explosive zombie's client class only draws the blast, but the server's packet carries the blast
-- position and radius. Wrapping that one method lets the kit learn the real radius from the first
-- explosion (the replicate hook is not needed for this).
local boom = { Module = nil, Original = nil, Wrapper = nil }
Kit.Booms = 0
Kit.BoomLog = {}
Kit.BlastEffects = {}
function Kit.WatchExplosions(on)
if on then
if boom.Wrapper then return true end
local scripts = LP:FindFirstChild('PlayerScripts')
local node = scripts and scripts:FindFirstChild('Modules')
node = node and node:FindFirstChild('ClientReplicatedClasses')
node = node and node:FindFirstChild('Enemies')
node = node and node:FindFirstChild('ClientExplosiveZombie')
if not node then return false end
local ok, class = pcall(require, node)
if not ok or type(class) ~= 'table' or type(class.ReplicateFromServer) ~= 'function' then return false end
local original = class.ReplicateFromServer
local function wrapper(self, name, ...)
if name == 'ZombieExplosionEffect' then
local position, radius = ...
learn.LastAt = now()
if typeof(position) == 'Vector3' then learn.Pos = position end
if type(radius) == 'number' and radius > 1 then learn.Radius = radius end
Kit.Booms += 1
-- what does the blast do to the other mobs around it? hp of everything within 30 studs now and 0.45 s later
if typeof(position) == 'Vector3' and #Kit.BlastEffects < 40 then
local before = {}
for _, record in ipairs(Kit.Mobs()) do
local gap = (record.Pos - position).Magnitude
if gap < 30 and record.HP and record.Model ~= self.Model then
before[record.Model] = { Gap = gap, HP = record.HP, Name = record.Model.Name }
end
end
task.delay(0.45, function()
local lost, died = {}, {}
for model, entry in pairs(before) do
local humanoid = model.Parent and model:FindFirstChildOfClass('Humanoid')
local after = humanoid and humanoid.Health or 0
local bucket = entry.Gap < 8 and 1 or (entry.Gap < 14 and 2 or (entry.Gap < 22 and 3 or 4))
lost[bucket] = lost[bucket] or { n = 0, hp = 0 }
lost[bucket].n += 1
lost[bucket].hp += math.max(0, entry.HP - after)
if after <= 0 then died[bucket] = (died[bucket] or 0) + 1 end
end
Kit.BlastEffects[#Kit.BlastEffects + 1] = { Lost = lost, Died = died }
end)
end
local root = Kit.MyRoot()
if typeof(position) == 'Vector3' and root then
Kit.BoomLog[#Kit.BoomLog + 1] =
{ Distance = (position - root.Position).Magnitude, Radius = radius, At = now(), Pos = position }
if #Kit.BoomLog > 60 then table.remove(Kit.BoomLog, 1) end
end
end
local results = callAtIdentity2(original, self, name, ...)
if not results[1] then error(results[2], 0) end
return table.unpack(results, 2, results.n)
end
boom.Module, boom.Original, boom.Wrapper = class, original, wrapper
class.ReplicateFromServer = wrapper
return true
end
if boom.Wrapper and boom.Module and boom.Module.ReplicateFromServer == boom.Wrapper then
boom.Module.ReplicateFromServer = boom.Original
end
boom.Module, boom.Original, boom.Wrapper = nil, nil, nil
return false
end
-- Wraps the shared enemy replicate handler so every PlayAnimation packet is seen (and passed on untouched).
local attackWatch = { Module = nil, Original = nil, Wrapper = nil }
function Kit.WatchAttacks(on)
if on then
if attackWatch.Wrapper then return true end
local scripts = LP:FindFirstChild('PlayerScripts')
local node = scripts and scripts:FindFirstChild('Modules')
node = node and node:FindFirstChild('ClientReplicatedClasses')
node = node and node:FindFirstChild('ClientEntity')
node = node and node:FindFirstChild('ClientHumanoidEntity')
if not node then return false end
local ok, class = pcall(require, node)
if not ok or type(class) ~= 'table' or type(class.ReplicateFromServer) ~= 'function' then return false end
local original = class.ReplicateFromServer
local function wrapper(self, name, ...)
if name == 'PlayAnimation' then pcall(Kit.NoteAnimation, self, (...)) end
local results = callAtIdentity2(original, self, name, ...)
if not results[1] then error(results[2], 0) end
return table.unpack(results, 2, results.n)
end
attackWatch.Module, attackWatch.Original, attackWatch.Wrapper = class, original, wrapper
class.ReplicateFromServer = wrapper
local hunterNode = scripts:FindFirstChild('Modules')
hunterNode = hunterNode and hunterNode:FindFirstChild('ClientReplicatedClasses')
hunterNode = hunterNode and hunterNode:FindFirstChild('Enemies')
hunterNode = hunterNode and hunterNode:FindFirstChild('ClientHunterZombie')
local okHunter, hunterClass = pcall(require, hunterNode or Instance.new('Folder'))
if okHunter and type(hunterClass) == 'table' and type(hunterClass.ReplicateFromServer) == 'function' then
local hunterOriginal = hunterClass.ReplicateFromServer
local function hunterWrapper(self, name, ...)
if name == 'HunterLeapEffect' then pcall(Kit.NoteAnimation, self, 'hunter:leap') end
local results = callAtIdentity2(hunterOriginal, self, name, ...)
if not results[1] then error(results[2], 0) end
return table.unpack(results, 2, results.n)
end
attackWatch.HunterModule, attackWatch.HunterOriginal, attackWatch.HunterWrapper =
hunterClass, hunterOriginal, hunterWrapper
hunterClass.ReplicateFromServer = hunterWrapper
end
return true
end
if attackWatch.Wrapper and attackWatch.Module and attackWatch.Module.ReplicateFromServer == attackWatch.Wrapper then
attackWatch.Module.ReplicateFromServer = attackWatch.Original
end
if
attackWatch.HunterWrapper
and attackWatch.HunterModule
and attackWatch.HunterModule.ReplicateFromServer == attackWatch.HunterWrapper
then
attackWatch.HunterModule.ReplicateFromServer = attackWatch.HunterOriginal
end
attackWatch.HunterModule, attackWatch.HunterOriginal, attackWatch.HunterWrapper = nil, nil, nil
attackWatch.Module, attackWatch.Original, attackWatch.Wrapper = nil, nil, nil
return false
end
-- The Giant Chombie's slam is announced with its impact point, radius and timings (SlamEffect), so it can be
-- stepped out of exactly. Wraps that one class method and passes everything on untouched.
Kit.Slams = {}
local slamWatch = { Module = nil, Original = nil, Wrapper = nil }
function Kit.WatchSlams(on)
if on then
if slamWatch.Wrapper then return true end
local scripts = LP:FindFirstChild('PlayerScripts')
local node = scripts and scripts:FindFirstChild('Modules')
node = node and node:FindFirstChild('ClientReplicatedClasses')
node = node and node:FindFirstChild('Enemies')
node = node and node:FindFirstChild('ClientGiantChombie')
if not node then return false end
local ok, class = pcall(require, node)
if not ok or type(class) ~= 'table' or type(class.ReplicateFromServer) ~= 'function' then return false end
local original = class.ReplicateFromServer
local function wrapper(self, name, ...)
if name == 'SlamEffect' then
local position, radius, windup, delay, vulnerable = ...
if typeof(position) == 'Vector3' and type(radius) == 'number' then
local t = now()
Kit.Slams[#Kit.Slams + 1] = {
Pos = position,
Radius = radius,
At = t,
HitAt = t + (tonumber(windup) or 0) + (tonumber(delay) or 0),
Vulnerable = vulnerable and true or false,
}
if #Kit.Slams > 12 then table.remove(Kit.Slams, 1) end
end
end
local results = callAtIdentity2(original, self, name, ...)
if not results[1] then error(results[2], 0) end
return table.unpack(results, 2, results.n)
end
slamWatch.Module, slamWatch.Original, slamWatch.Wrapper = class, original, wrapper
class.ReplicateFromServer = wrapper
return true
end
if slamWatch.Wrapper and slamWatch.Module and slamWatch.Module.ReplicateFromServer == slamWatch.Wrapper then
slamWatch.Module.ReplicateFromServer = slamWatch.Original
end
slamWatch.Module, slamWatch.Original, slamWatch.Wrapper = nil, nil, nil
return false
end
-- ------------------------------------------------------------------ packet tap
-- Every replicate packet the server sends (fighters, enemies, the duel) passes ReplicatedController._ObjectChanged. The tap
-- records, per packet name, how often it came, from which kind of object, and the arguments of the first few: the way to learn
-- what an enemy's attack looks like on the wire (skeleton bones, charges, zaps, acid, claws...) and which state fields the server
-- keeps replicating for each enemy. Observation only: the packet is passed on untouched.
Kit.Tap = { On = false, Names = {}, Fields = {}, Total = 0, Since = 0 }
local tapState = {
Controller = nil,
Original = nil,
Wrapper = nil,
Classes = {},
Models = {},
ClassesAt = -10,
Enum = nil,
Ring = {},
}
Kit.Tap.Anims = {}
local function tapEnum()
if tapState.Enum == nil then
local ok, library = pcall(
function() return require(ReplicatedStorage:WaitForChild('Modules'):WaitForChild('EnumLibrary')) end
)
tapState.Enum = ok and library or false
end
return tapState.Enum or nil
end
local function tapDecode(value)
local library = tapEnum()
if not library or type(value) ~= 'string' or #value == 0 or #value > 4 then return nil end
local ok, name = pcall(library.FromEnum, library, value, true)
return ok and type(name) == 'string' and name or nil
end
local function tapSummary(value, depth)
local kind = typeof(value)
if kind == 'number' then
return string.format('%.3g', value)
elseif kind == 'boolean' or kind == 'nil' then
return tostring(value)
elseif kind == 'string' then
local decoded = tapDecode(value)
if decoded then return '<' .. decoded .. '>' end
return '"' .. value:sub(1, 36) .. '"'
elseif kind == 'Vector3' then
return string.format('V(%.0f,%.0f,%.0f)', value.X, value.Y, value.Z)
elseif kind == 'CFrame' then
local p = value.Position
return string.format('CF(%.0f,%.0f,%.0f)', p.X, p.Y, p.Z)
elseif kind == 'Instance' then
return 'I:' .. value.Name
elseif kind == 'table' then
if depth >= 2 then return '{..}' end
local parts, count = {}, 0
for key, item in pairs(value) do
count += 1
if count > 8 then
parts[#parts + 1] = '..'
break
end
parts[#parts + 1] = tostring(key) .. '=' .. tapSummary(item, depth + 1)
end
return '{' .. table.concat(parts, ',') .. '}'
end
return kind
end
local function tapClassOf(objectId)
local t = now()
if t - tapState.ClassesAt > 0.75 then
tapState.ClassesAt = t
local ok, controller = pcall(ResolveEnemyController)
if ok and controller then
for _, enemy in ipairs(controller.Objects or {}) do
local data = rawget(enemy, 'Data')
if type(data) == 'table' and data.ObjectID ~= nil and enemy.Model then
tapState.Classes[data.ObjectID] = enemy.Model.Name
tapState.Models[data.ObjectID] = enemy.Model
end
end
end
end
return tapState.Classes[objectId]
end
local ALERT_SET = {}
for _, enumName in ipairs(ALERT_ENUMS) do
ALERT_SET[enumName] = true
end
local function tapRecord(packed, offset)
local objectId, token = packed[offset + 1], packed[offset + 2]
if type(token) ~= 'string' then return end
local name = tapDecode(token) or ('?' .. #token)
local tap = Kit.Tap
tap.Total += 1
local class = type(objectId) == 'string' and tapClassOf(objectId) or nil
if (name == 'PlayAnimation' or name == 'CreateSound') and class and type(packed[offset + 3]) == 'string' then
local id = packed[offset + 3]
local model = tapState.Models[objectId]
local root = model and model:FindFirstChild('HumanoidRootPart')
local mine = rootPos()
local distance = (root and mine) and (root.Position - mine).Magnitude or -1
local key = class .. '|' .. (name == 'CreateSound' and 'snd:' or '') .. id
local stat = tap.Anims[key]
if not stat then
stat = {
Seen = 0,
Hits = 0,
Near = 0,
Far = 0,
DelayMin = math.huge,
DelayMax = 0,
DistMin = math.huge,
DistMax = 0,
}
tap.Anims[key] = stat
end
stat.Seen += 1
if distance >= 0 then
stat.DistMin, stat.DistMax = math.min(stat.DistMin, distance), math.max(stat.DistMax, distance)
end
tapState.Ring[#tapState.Ring + 1] = { T = now(), Key = key, Dist = distance }
if #tapState.Ring > 80 then table.remove(tapState.Ring, 1) end
end
if Kit.TapDispatch and ALERT_SET[name] and type(objectId) == 'string' then
local args = { n = math.max(packed.n - offset - 2, 0) }
for index = 1, args.n do
args[index] = packed[offset + 2 + index]
end
pcall(Kit.OnEnemyEvent, name, { objectId = objectId, enumName = name, args = args })
end
local entry = tap.Names[name]
if not entry then
entry = { Count = 0, Classes = {}, Samples = {}, First = now() }
tap.Names[name] = entry
end
entry.Count += 1
local label = class or 'other'
entry.Classes[label] = (entry.Classes[label] or 0) + 1
-- the state fields an enemy keeps replicating: DataValueChanged carries (key, value)
if name == 'DataValueChanged' or name == 'BulkDataValueChanged' then
local key = tapDecode(packed[offset + 3])
or (type(packed[offset + 3]) == 'string' and packed[offset + 3])
or nil
if name == 'DataValueChanged' and key and class then
local fields = tap.Fields[class]
if not fields then
fields = {}
tap.Fields[class] = fields
end
local slot = fields[key]
if not slot then
slot = { Count = 0 }
fields[key] = slot
end
slot.Count += 1
if slot.Count <= 3 then slot.Last = tapSummary(packed[offset + 4], 0) end
end
if entry.Count > 6 then return end
end
local limit = (class ~= nil) and 5 or 3
if #entry.Samples < limit then
local parts = {}
for index = offset + 3, math.min(packed.n, offset + 9) do
parts[#parts + 1] = tapSummary(packed[index], 0)
end
entry.Samples[#entry.Samples + 1] =
string.format('%.1f %s %s', now() - tap.Since, label, table.concat(parts, ' '))
end
end
-- called by the harness for every drop in health: every animation announced in the 1.6 s before it gets a hit on its tally
function Kit.TapNoteDamage(lost)
local t = now()
local marked = {}
for _, entry in ipairs(tapState.Ring) do
local age = t - entry.T
if age >= 0.02 and age <= 1.6 and not marked[entry.Key] then
marked[entry.Key] = true
local stat = Kit.Tap.Anims[entry.Key]
if stat then
stat.Hits += 1
stat.DelayMin, stat.DelayMax = math.min(stat.DelayMin, age), math.max(stat.DelayMax, age)
if entry.Dist >= 0 and entry.Dist <= 10 then
stat.Near += 1
elseif entry.Dist > 10 then
stat.Far += 1
end
end
end
end
end
function Kit.StartTap()
if tapState.Wrapper then return true end
local scripts = LP:FindFirstChild('PlayerScripts')
local node = scripts and scripts:FindFirstChild('Modules')
node = node and node:FindFirstChild('ReplicatedController')
if not node then return false end
local ok, controller = pcall(require, node)
if not ok or type(controller) ~= 'table' then return false end
local original = rawget(controller, '_ObjectChanged')
if type(original) ~= 'function' then return false end
local function wrapper(...)
if Kit.Tap.On then
local packed = table.pack(...)
pcall(tapRecord, packed, (type(packed[1]) == 'table') and 1 or 0)
end
return (coroutine.wrap(original)(...))
end
rawset(controller, '_ObjectChanged', wrapper)
tapState.Controller, tapState.Original, tapState.Wrapper = controller, original, wrapper
Kit.Tap.On, Kit.Tap.Since = true, now()
return true
end
function Kit.StopTap()
Kit.Tap.On = false
if
tapState.Wrapper
and tapState.Controller
and rawget(tapState.Controller, '_ObjectChanged') == tapState.Wrapper
then
rawset(tapState.Controller, '_ObjectChanged', tapState.Original)
end
tapState.Controller, tapState.Original, tapState.Wrapper = nil, nil, nil
end
-- the whole catalogue as text: packets by name (rarest first, the enemy-specific ones are the interesting ones), then the state
-- fields per enemy kind
function Kit.TapReport()
local tap = Kit.Tap
local lines = { string.format('PACKET CATALOGUE: %d packets in %.0f s', tap.Total, now() - tap.Since) }
local names = {}
for name in pairs(tap.Names) do
names[#names + 1] = name
end
table.sort(names, function(a, b)
local ea, eb = tap.Names[a], tap.Names[b]
if ea.Count ~= eb.Count then return ea.Count < eb.Count end
return a < b
end)
for _, name in ipairs(names) do
local entry = tap.Names[name]
local classes = {}
for label, count in pairs(entry.Classes) do
classes[#classes + 1] = label .. 'x' .. count
end
table.sort(classes)
lines[#lines + 1] = string.format('PKT %s n=%d from %s', name, entry.Count, table.concat(classes, ', '))
for _, sample in ipairs(entry.Samples) do
lines[#lines + 1] = ' ' .. sample
end
end
local animKeys = {}
for key in pairs(tap.Anims) do
animKeys[#animKeys + 1] = key
end
table.sort(animKeys)
for _, key in ipairs(animKeys) do
local stat = tap.Anims[key]
lines[#lines + 1] = string.format(
'ANIM %s seen %d before-damage %d (within 10: %d, farther: %d) delay %s mob distance %.0f-%.0f',
key,
stat.Seen,
stat.Hits,
stat.Near,
stat.Far,
stat.Hits > 0 and string.format('%.2f-%.2f s', stat.DelayMin, stat.DelayMax) or '-',
stat.DistMin == math.huge and 0 or stat.DistMin,
stat.DistMax
)
end
local kinds = {}
for class in pairs(tap.Fields) do
kinds[#kinds + 1] = class
end
table.sort(kinds)
for _, class in ipairs(kinds) do
local keys = {}
for key in pairs(tap.Fields[class]) do
keys[#keys + 1] = key
end
table.sort(keys)
local parts = {}
for _, key in ipairs(keys) do
local slot = tap.Fields[class][key]
parts[#parts + 1] = string.format('%s(%d)=%s', key, slot.Count, slot.Last or '?')
end
lines[#lines + 1] = 'FIELDS ' .. class .. ': ' .. table.concat(parts, ' ')
end
return table.concat(lines, '\n')
end
-- how far from an explosive zombie the player has to be when it dies
function Kit.SnipeSafeDistance() return Kit.BlastRadius() + (cfg.Rage.SnipeMargin or 4) end
-- ------------------------------------------------------------------- gun
-- the picked hitscan gun (Handgun, Revolver...), with its ammo; shooting it is how an explosive zombie
-- gets killed from outside its blast
function Kit.GunEntry()
local ok, fighter = pcall(ResolveLocalFighter)
local items = ok and fighter and fighter.Items or nil
if type(items) ~= 'table' then return nil end
for slot, item in pairs(items) do
local info = type(item) == 'table' and item.Info or nil
if
type(info) == 'table'
and info.Type == 'Gun'
and (info.IsRaycast ~= false or Kit.IsLauncher(info) or Kit.IsFastProjectile(info))
and Kit.WeaponVerdict(tostring(info.Name), info) == 'good'
then
local okAmmo, ammo = pcall(function() return item:Get('Ammo') end)
local okReserve, reserve = pcall(function() return item:Get('AmmoReserve') end)
-- a shell flies at ProjectileSpeed and drops with ProjectileGravity (a fraction of workspace gravity)
local projectile
if Kit.IsLauncher(info) then
projectile = {
Speed = tonumber(info.ProjectileSpeed) or 100,
Gravity = 196.2 * (tonumber(info.ProjectileGravity) or 0.25),
Radius = tonumber(info.ShootExplosionRadius) or 14,
Cooldown = tonumber(info.ShootCooldown) or 0.6,
}
end
return {
Slot = slot,
Item = item,
Info = info,
Ammo = okAmmo and tonumber(ammo) or 0,
Reserve = okReserve and tonumber(reserve) or 0,
Projectile = projectile,
Fast = (not projectile and Kit.IsFastProjectile(info)) and {
Speed = tonumber(info.ProjectileSpeed) or 300,
} or nil,
}
end
end
return nil
end
-- ------------------------------------------------------------ melee reach
-- Same idea as the hub's Melee Reach (PX13T1 / PX13S1): the item's AttackReach is scaled. Whether the
-- server honours the longer reach is what the live swing log measures.
local reachSaved = setmetatable({}, { __mode = 'k' })
Kit.ReachScaleApplied = 1
function Kit.SetMeleeReach(on, scale)
scale = math.clamp(tonumber(scale) or 1, 1, 3)
local ok, fighter = pcall(ResolveLocalFighter)
local items = ok and fighter and fighter.Items or nil
if type(items) ~= 'table' then return false end
local touched = false
for _, item in pairs(items) do
local info = type(item) == 'table' and item.Info or nil
if type(info) == 'table' and (info.Class == 'Melee' or info.Type == 'Melee') then
if on then
if not reachSaved[info] then
reachSaved[info] = { Reach = rawget(info, 'AttackReach'), Heavy = rawget(info, 'HeavyAttackReach') }
end
local saved = reachSaved[info]
if type(saved.Reach) == 'number' then
rawset(info, 'AttackReach', saved.Reach * scale)
touched = true
end
if type(saved.Heavy) == 'number' then rawset(info, 'HeavyAttackReach', saved.Heavy * scale) end
elseif reachSaved[info] then
local saved = reachSaved[info]
if type(saved.Reach) == 'number' then rawset(info, 'AttackReach', saved.Reach) end
if type(saved.Heavy) == 'number' then rawset(info, 'HeavyAttackReach', saved.Heavy) end
reachSaved[info] = nil
end
end
end
Kit.ReachScaleApplied = on and touched and scale or 1
return touched
end
-- ------------------------------------------------------- the hub's Knife Extender (KE_*)
-- KE_Enabled / KE_Range / KE_Scope raise the weapon's AttackReach by the range and move the origin of every swing that lands past the
-- real reach forward by just enough, so a mob further away than the fists reach still takes the hit. The controls only exist inside the hub.
-- The farm switches it on for all melee for the run and puts the user's own settings back afterwards.
local extender = { Saved = nil }
Kit.Extender = extender
local function extenderControls()
local toggle = Toggles and Toggles.KE_Enabled
local range = Options and Options.KE_Range
local scope = Options and Options.KE_Scope
if toggle and range and scope then return toggle, range, scope end
return nil
end
function Kit.ExtenderAvailable() return extenderControls() ~= nil end
-- while the farm holds these controls they are left out of config saves: if the server changes mid-run (the Lua state dies with it) the
-- user's saved config must not keep 'all melee, 20 studs'
local EXTENDER_IDS = { 'KE_Enabled', 'KE_Range', 'KE_Scope' }
local function extenderSaves(allowed)
local manager = SaveManager
if type(manager) == 'table' and type(manager.Ignore) == 'table' then
for _, id in ipairs(EXTENDER_IDS) do
manager.Ignore[id] = (not allowed) or nil
end
end
end
function Kit.SetExtender(on, rangeValue)
local toggle, range, scope = extenderControls()
if not toggle then return false end
if on then
if not extender.Saved then
extender.Saved = { Enabled = toggle.Value, Range = range.Value, Scope = scope.Value }
end
extenderSaves(false)
pcall(scope.SetValue, scope, 'All melee')
pcall(range.SetValue, range, rangeValue)
pcall(toggle.SetValue, toggle, true)
return true
end
local saved = extender.Saved
if saved then
extender.Saved = nil
pcall(scope.SetValue, scope, saved.Scope)
pcall(range.SetValue, range, saved.Range)
pcall(toggle.SetValue, toggle, saved.Enabled)
extenderSaves(true)
end
return false
end
-- the studs the extender really adds to the fists right now (0 when it is off or does not cover all melee)
function Kit.ExtraReach()
local toggle, range, scope = extenderControls()
if toggle and toggle.Value == true and scope.Value == 'All melee' then return tonumber(range.Value) or 0 end
return 0
end
-- ------------------------------------------------------------- diagnostics
function Kit.Dump()
local tower = Kit.FindTower()
print('[Tower] model: ' .. (tower and tower.Name or 'none'))
if tower then
local floors = tower:FindFirstChild('Floors')
for _, floor in ipairs(floors and floors:GetChildren() or {}) do
print('[Tower] floor ' .. floor.Name)
end
end
local totals = {}
for _, s in ipairs(taggedInTower('MobSpawner', tower)) do
local key = 'floor ' .. tostring(s.Floor) .. ' ' .. tostring(s.Name)
totals[key] = (totals[key] or 0) + (tonumber(s.Count) or 1)
end
for key, count in pairs(totals) do
print('[Tower] spawn ' .. key .. ' x' .. count)
end
print('[Tower] triggers: ' .. #taggedInTower('MobTrigger', tower))
print('[Tower] event: ' .. tostring(Kit.EventInfo()))
print(
string.format(
'[Tower] blast radius %s (learned %s), blast damage %s',
tostring(Kit.BlastRadius()),
tostring(learn.Radius ~= nil),
tostring(learn.Damage)
)
)
for _, sample in ipairs(learn.Samples) do
print(
string.format(
'[Tower] blast sample: damage %.1f at %s studs',
sample.Damage,
sample.Distance and string.format('%.1f', sample.Distance) or '?'
)
)
end
for _, line in ipairs(Kit.PromptLog) do
print('[Tower] prompt log: ' .. line)
end
end
-- --------------------------------------------------------------------- step
local floorCache = { At = -10, Value = nil }
local statusAt = 0
local statusCache = { At = -10, Text = '', Mobs = {} }
local function currentFloor(tower, pos)
local t = now()
if t - floorCache.At > 0.25 then
floorCache.At = t
floorCache.Value = pos and Kit.FloorAt(tower, pos) or nil
end
return floorCache.Value
end
Kit.CurrentFloor = currentFloor
function Kit.StatusText()
local t = now()
if t - statusCache.At < 0.25 then return statusCache.Text, statusCache.Mobs end
statusCache.At = t
local pos = rootPos()
local tower = Kit.FindTower()
local floor = currentFloor(tower, pos)
local lines = {}
lines[#lines + 1] = (tower and tower.Name or 'No tower in this server')
.. (floor and (' | floor ' .. floor) or '')
local mobs = Kit.GetMobs and Kit.GetMobs() or Kit.Mobs()
local special = 0
for _, z in ipairs(mobs) do
local model = z.Model
if model and Kit.Classify(model.Name).Threat > 0 then
special += 1
end
end
lines[#lines + 1] = string.format('Mobs alive: %d (special %d)', #mobs, special)
if Kit.Bot and Kit.Bot.Status then lines[#lines + 1] = Kit.Bot.Status() end
lines[#lines + 1] = tostring(Kit.EventInfo() or 'Event data not ready')
statusCache.Text = table.concat(lines, '\n')
statusCache.Mobs = mobs
return statusCache.Text, mobs
end
function Kit.Step()
if not Kit.Running then return end
local cam = Workspace.CurrentCamera
if not cam then return end
local t = now()
promptStep(t)
watchDamage()
-- the always-on switch for max fist speed works with or without the bot
if cfg.FastMeleeAlways and not fast.Owners.always then
Kit.SetMeleeSpeed(true, cfg.Rage.SpeedBoost, 'always')
elseif not cfg.FastMeleeAlways and fast.Owners.always then
Kit.SetMeleeSpeed(false, nil, 'always')
end
-- keep the replicate hook in step with what needs it
local wanted = hookNeeded()
if wanted and t >= nextBindAt and (bindTries < 20 or not hookWanted) then
nextBindAt = t + 2
bindTries += 1
local complete = bindAlerts()
setAlertBindings(true)
hookWanted = true
if complete then bindTries = 20 end
elseif not wanted and hookWanted then
hookWanted = false
bindTries = 0
setAlertBindings(false)
end
for i = #alerts, 1, -1 do
if alerts[i].Until <= t then table.remove(alerts, i) end
end
for i = #rings, 1, -1 do
if rings[i].Until <= t then table.remove(rings, i) end
end
if Kit.StatusLabel and t - statusAt > 0.5 then
statusAt = t
pcall(function() Kit.StatusLabel:SetText((Kit.StatusText())) end)
end
local espOn = cfg.Esp.Enabled
local botOverlay = cfg.Bot.Enabled or cfg.Bot.DryRun
local wantDraw = cfg.Spawns
or cfg.Triggers
or cfg.Waypoint
or cfg.Hud
or espOn
or botOverlay
or #alerts > 0
or #rings > 0
if not wantDraw then
if draw.TextCount > 0 or draw.LineCount > 0 or draw.RectCount > 0 then
G.begin()
G.finish()
end
return
end
G.begin()
local pos = rootPos()
local tower = Kit.FindTower()
local floor = currentFloor(tower, pos)
local camPos = cam.CFrame.Position
local viewport = cam.ViewportSize
if cfg.Spawns and tower then
for _, s in ipairs(taggedInTower('MobSpawner', tower)) do
if s.Part.Parent and nearFloor(s.Floor, floor) then
local distance = (s.Part.Position - camPos).Magnitude
if distance <= cfg.SpawnDist then
local p = G.project(cam, s.Part.Position + Vector3.new(0, 3, 0))
if p then
local class = Kit.Classify(s.Name)
G.label(
p,
string.format(
'%s%s x%s %dm',
class.Tag,
tostring(s.Name),
tostring(s.Count),
math.floor(distance)
),
class.Color or SPAWN_COLOR,
12
)
end
end
end
end
end
if cfg.Triggers and tower then
for _, s in ipairs(taggedInTower('MobTrigger', tower)) do
if
s.Part.Parent
and nearFloor(s.Floor, floor)
and (s.Part.Position - camPos).Magnitude <= cfg.SpawnDist * 1.5
then
G.box(cam, s.Part.CFrame, s.Part.Size, TRIGGER_COLOR)
local p = G.project(cam, s.Part.Position)
if p then G.label(p, 'TRIGGER', TRIGGER_COLOR, 12) end
end
end
end
if cfg.Waypoint and tower then
local nextFloor = (floor or 0) + 1
local entrance = Kit.Entrance(tower, nextFloor)
if entrance then
local sp = cam:WorldToViewportPoint(entrance.Position)
local center = viewport / 2
local screen = Vector2.new(sp.X, sp.Y)
local onScreen = sp.Z > 0 and sp.X > 30 and sp.X < viewport.X - 30 and sp.Y > 30 and sp.Y < viewport.Y - 30
local at = screen
if not onScreen then
local direction = screen - center
if sp.Z < 0 then direction = -direction end
if direction.Magnitude < 1 then direction = Vector2.new(0, -1) end
direction = direction.Unit
local scale = math.min(
(center.X - 40) / math.max(math.abs(direction.X), 1e-3),
(center.Y - 40) / math.max(math.abs(direction.Y), 1e-3)
)
at = center + direction * scale
end
local distance = pos and (entrance.Position - pos).Magnitude or (entrance.Position - camPos).Magnitude
G.label(at, string.format('Floor %d entrance %dm', nextFloor, math.floor(distance)), WAYPOINT_COLOR, 14)
G.seg(center, at, WAYPOINT_COLOR)
end
end
if espOn and Kit.Esp then Kit.Esp.Draw(cam, pos) end
if botOverlay and Kit.Bot and Kit.Bot.Overlay then Kit.Bot.Overlay(cam) end
for _, ring in ipairs(rings) do
local fade = 1 - math.clamp((t - ring.From) / math.max(ring.Until - ring.From, 0.01), 0, 1)
if fade > 0 then G.ring(cam, ring.Pos + Vector3.new(0, 0.2, 0), ring.Radius, ring.Color) end
end
for index, alert in ipairs(alerts) do
G.label(
Vector2.new(viewport.X / 2, viewport.Y * 0.18 + (index - 1) * 24),
string.format('%s %.1fs', alert.Text, math.max(0, alert.Until - t)),
alert.Color,
20
)
end
if cfg.Hud then
local text, mobs = Kit.StatusText()
local y = viewport.Y * 0.32
for line in text:gmatch('[^\n]+') do
G.label(Vector2.new(18, y), line, HUD_COLOR, 13, true)
y += 16
end
for _, z in ipairs(mobs) do
local model = z.Model
local class = model and Kit.Classify(model.Name)
if class and class.Boss then
local hp, maxHp = Kit.Health(model)
local pct = hp and maxHp and maxHp > 0 and math.floor(hp / maxHp * 100) or 0
G.label(Vector2.new(18, y), string.format('%s %d%%', model.Name, pct), class.Color, 14, true)
y += 18
end
end
end
G.finish()
end
-- ------------------------------------------------------------------ cleanup
function Kit.Destroy()
Kit.Running = false
cfg.Alerts = false
cfg.Bot.Enabled = false
pcall(Kit.SetMeleeSpeed, false, nil, 'always')
pcall(Kit.SetMeleeReach, false)
pcall(Kit.WatchExplosions, false)
if Kit.Bot and Kit.Bot.Destroy then pcall(Kit.Bot.Destroy) end
for _, binding in pairs(bindings) do
pcall(function() binding:Destroy() end)
end
bindings = {}
local hook = RivalsRuntimeBridge.ReplicateHook
if hook and type(hook.RevertIfIdle) == 'function' then pcall(hook.RevertIfIdle) end
if learn.Conn then
pcall(function() learn.Conn:Disconnect() end)
learn.Conn = nil
end
for _, connection in ipairs(promptConnections) do
pcall(function() connection:Disconnect() end)
end
promptConnections = {}
shown = {}
Kit.ShownPrompts = shown
for _, list in ipairs({ draw.Text, draw.Line, draw.Rect }) do
for _, object in ipairs(list) do
pcall(function() object:Remove() end)
end
end
draw.Text, draw.Line, draw.Rect = {}, {}, {}
draw.TextCount, draw.LineCount, draw.RectCount = 0, 0, 0
alerts, rings = {}, {}
end
connectPrompts()
return Kit
end)()
-- ===== Tower kit v2 :: ESP =====
RivalsRuntimeBridge.TowerKit.Esp = (function(Kit)
local EspApi = {}
local cfg = Kit.Cfg.Esp
local gfx = Kit.Gfx
local boundsCache = setmetatable({}, { __mode = 'k' })
local PLAIN_COLOR = Color3.fromRGB(255, 90, 90)
local WHITE = Color3.fromRGB(255, 255, 255)
local BAR_BG = Color3.fromRGB(20, 20, 20)
local function boundsFor(record)
local entry = boundsCache[record.Model]
local t = Kit.Now()
if entry and t - entry.At < 1.5 then return entry end
local ok, cf, size = pcall(record.Model.GetBoundingBox, record.Model)
if not ok or not size then return entry end
entry = { At = t, Offset = record.Root.CFrame:ToObjectSpace(cf), Size = size }
boundsCache[record.Model] = entry
return entry
end
-- screen rectangle (minX, minY, maxX, maxY) of the mob, or nil when it is behind the camera
function EspApi.ScreenRect(cam, record)
local entry = boundsFor(record)
if not entry then return nil end
local cf = record.Root.CFrame * entry.Offset
local hx, hy, hz = entry.Size.X / 2, entry.Size.Y / 2, entry.Size.Z / 2
local minX, minY, maxX, maxY = math.huge, math.huge, -math.huge, -math.huge
local seen = 0
for _, x in ipairs({ -hx, hx }) do
for _, y in ipairs({ -hy, hy }) do
for _, z in ipairs({ -hz, hz }) do
local sp = cam:WorldToViewportPoint(cf:PointToWorldSpace(Vector3.new(x, y, z)))
if sp.Z > 0 then
seen += 1
minX = math.min(minX, sp.X)
maxX = math.max(maxX, sp.X)
minY = math.min(minY, sp.Y)
maxY = math.max(maxY, sp.Y)
end
end
end
end
if seen < 4 then return nil end
return minX, minY, maxX, maxY
end
local function healthColor(fraction)
return Color3.fromRGB(255, 60, 60):Lerp(Color3.fromRGB(80, 255, 90), math.clamp(fraction, 0, 1))
end
function EspApi.ColorFor(record)
local mode = cfg.ColorMode
if mode == 'Health' and record.HP and record.MaxHP and record.MaxHP > 0 then
return healthColor(record.HP / record.MaxHP)
elseif mode == 'Fixed' then
return PLAIN_COLOR
end
return record.Class.Color or PLAIN_COLOR
end
local function drawCorners(x1, y1, x2, y2, color)
local len = math.max(4, math.min(x2 - x1, y2 - y1) * 0.28)
gfx.seg(Vector2.new(x1, y1), Vector2.new(x1 + len, y1), color)
gfx.seg(Vector2.new(x1, y1), Vector2.new(x1, y1 + len), color)
gfx.seg(Vector2.new(x2, y1), Vector2.new(x2 - len, y1), color)
gfx.seg(Vector2.new(x2, y1), Vector2.new(x2, y1 + len), color)
gfx.seg(Vector2.new(x1, y2), Vector2.new(x1 + len, y2), color)
gfx.seg(Vector2.new(x1, y2), Vector2.new(x1, y2 - len), color)
gfx.seg(Vector2.new(x2, y2), Vector2.new(x2 - len, y2), color)
gfx.seg(Vector2.new(x2, y2), Vector2.new(x2, y2 - len), color)
end
-- one record's visuals; returns true when something was drawn
function EspApi.DrawOne(cam, record, myPos, isTarget)
local class = record.Class
local distance = myPos and (record.Pos - myPos).Magnitude or (record.Pos - cam.CFrame.Position).Magnitude
local limit = cfg.MaxDistance
if class.Boss or isTarget then limit = math.max(limit, 1500) end
if distance > limit then return false end
if cfg.OnlySpecial and class.Threat == 0 and not isTarget then return false end
local x1, y1, x2, y2 = EspApi.ScreenRect(cam, record)
if not x1 then return false end
local color = EspApi.ColorFor(record)
local style = cfg.Style
if style == 'Box' then
gfx.rect(Vector2.new(x1, y1), Vector2.new(x2 - x1, y2 - y1), color, false, 1.5)
elseif style == 'Corners' then
drawCorners(x1, y1, x2, y2, color)
end
local midX = (x1 + x2) / 2
if cfg.Health and record.HP and record.MaxHP and record.MaxHP > 0 then
local fraction = math.clamp(record.HP / record.MaxHP, 0, 1)
local height = y2 - y1
gfx.rect(Vector2.new(x1 - 7, y1 - 1), Vector2.new(4, height + 2), BAR_BG, true, 1, 0.7)
gfx.rect(
Vector2.new(x1 - 6, y2 - height * fraction),
Vector2.new(2, height * fraction),
healthColor(fraction),
true,
1
)
end
if cfg.Name then
local bodyOnly = cfg.BodyHint and Kit.IsBodyOnly(record.Model)
local text = class.Tag .. record.Model.Name .. (bodyOnly and ' [BODY]' or '')
gfx.label(Vector2.new(midX, y1 - 16), text, class.Color or WHITE, 13)
end
if cfg.Distance or (cfg.Health and record.HP) then
local pieces = {}
if cfg.Health and record.HP and record.MaxHP then
pieces[#pieces + 1] = string.format('%d/%d', math.floor(record.HP), math.floor(record.MaxHP))
end
if cfg.Distance then pieces[#pieces + 1] = string.format('%dm', math.floor(distance)) end
gfx.label(Vector2.new(midX, y2 + 2), table.concat(pieces, ' '), WHITE, 12)
end
if cfg.Tracer then
local viewport = cam.ViewportSize
gfx.seg(Vector2.new(viewport.X / 2, viewport.Y), Vector2.new(midX, y2), color, 1)
end
if isTarget and cfg.TargetMark then
gfx.rect(Vector2.new(x1 - 3, y1 - 3), Vector2.new(x2 - x1 + 6, y2 - y1 + 6), WHITE, false, 2)
gfx.label(Vector2.new(midX, y1 - 30), 'TARGET', WHITE, 12)
end
return true
end
function EspApi.Draw(cam, myPos)
local mobs = Kit.Mobs()
local current = Kit.Aim and Kit.Aim.Current
for _, record in ipairs(mobs) do
EspApi.DrawOne(cam, record, myPos, current ~= nil and current == record.Model)
if cfg.BlastRing and record.Class.Explosive then
local distance = myPos and (record.Pos - myPos).Magnitude or 0
if distance < 160 then
local ground = record.Pos - Vector3.new(0, 3, 0)
gfx.ring(cam, ground, Kit.BlastRadius(), Color3.fromRGB(255, 120, 30), 1)
end
end
end
end
return EspApi
end)(RivalsRuntimeBridge.TowerKit)
-- ===== Tower kit v2 :: Aim assist helpers =====
RivalsRuntimeBridge.TowerKit.Aim = (function(Kit)
local AimApi = {}
local cfg = Kit.Cfg.Aim
AimApi.Current = nil
local PART_NAMES = {
Head = { 'HitboxHead', 'Head' },
Body = { 'HitboxBody', 'HumanoidRootPart' },
}
-- the BasePart to aim at: kind is 'Head' or 'Body'
function AimApi.PartFor(model, kind)
if not model then return nil end
for _, name in ipairs(PART_NAMES[kind] or PART_NAMES.Head) do
local part = model:FindFirstChild(name, true)
if part and part:IsA('BasePart') then return part end
end
return model.PrimaryPart or model:FindFirstChildWhichIsA('BasePart', true)
end
-- true when this mob must not be shot right now (an explosive zombie close enough to hurt us)
function AimApi.Guarded(record, myPos)
if not cfg.ExplosiveGuard or not record.Class.Explosive or not myPos then return false end
return (record.Pos - myPos).Magnitude < Kit.ExplosiveSafeDistance()
end
-- lower is better. base is the caller's own ranking (screen distance, or the aimbot's selection value)
function AimApi.Score(record, base, distance)
local score = base
local priority = cfg.Priority
local class = record.Class
if priority == 'Closest' then
score = distance
elseif priority == 'Lowest HP' then
score = (record.HP or 100) + math.min(base, 9999) / 10000
elseif priority == 'Bosses First' and class.Boss then
score -= 1e6
elseif priority == 'Threats First' then
score -= class.Threat * 1e5
end
if cfg.ExplosivesFirst and class.Explosive then
score -= 5e5
end
return score
end
-- the legacy auto-fire loop's target pick (screen based, same record shape as the old list)
function AimApi.PickLegacy(cam, fov)
local root = Kit.MyRoot()
local myPos = root and root.Position
local center = cam.ViewportSize / 2
local best, bestScore
for _, record in ipairs(Kit.Mobs()) do
if not AimApi.Guarded(record, myPos) then
local part = AimApi.PartFor(record.Model, Kit.AimPartFor(record.Model))
if part then
local sp = cam:WorldToViewportPoint(part.Position)
if sp.Z > 0 then
local screenDistance = (Vector2.new(sp.X, sp.Y) - center).Magnitude
if screenDistance <= fov then
local distance = myPos and (record.Pos - myPos).Magnitude or screenDistance
local score = AimApi.Score(record, screenDistance, distance)
if not bestScore or score < bestScore then
best, bestScore = record, score
end
end
end
end
end
end
AimApi.Current = best and best.Model or nil
return best
end
-- name the main aimbot's part resolver understands: it knows 'Head' and 'HumanoidRootPart' (= body hitbox)
function AimApi.SilentPart(model) return Kit.AimPartFor(model) == 'Head' and 'Head' or 'HumanoidRootPart' end
-- silent-aim integration: returns the adjusted selection value, or nil when the mob must be skipped
function AimApi.SilentSelection(model, selection)
local record = Kit.MobOf(model)
if not record then return selection end
local root = Kit.MyRoot()
local myPos = root and root.Position
if AimApi.Guarded(record, myPos) then return nil end
local distance = myPos and (record.Pos - myPos).Magnitude or selection
return AimApi.Score(record, selection, distance)
end
return AimApi
end)(RivalsRuntimeBridge.TowerKit)
-- ===== Tower kit v2 :: Auto Tower bot (ordinary inputs only) =====
RivalsRuntimeBridge.TowerKit.Bot = (function(Kit)
local B = {}
local cfg = Kit.Cfg.Bot
local G = Kit.Gfx
local UserInputService = game:GetService('UserInputService')
local PathfindingService = game:GetService('PathfindingService')
cfg.ChargerSpeed = cfg.ChargerSpeed or 24
B.State = 'off'
B.Reason = ''
B.Plan = nil
B.Trace = {}
local s = {
lastMobAt = -10,
target = nil,
dodgeUntil = 0,
dodgeDir = nil,
dodgeSign = 1,
avoidSince = nil,
blocked = {},
ignore = setmetatable({}, { __mode = 'k' }),
pausedUntil = 0,
lastAttackAt = -10,
lastEquipAt = -10,
lastState = nil,
triggerGoals = { At = -10, List = {} },
nextTriggerGoals = { At = -10, List = {} },
reachEst = 5,
itemReach = 9,
missStreak = 0,
pendingSwing = nil,
swingsLanded = 0,
swingsMissed = 0,
}
B.Memory = s
local tryAttack
local function flat(v) return Vector3.new(v.X, 0, v.Z) end
local function rotateY(v, degrees)
local r = math.rad(degrees)
local c, sn = math.cos(r), math.sin(r)
return Vector3.new(v.X * c - v.Z * sn, 0, v.X * sn + v.Z * c)
end
local function isMelee(item)
local info = type(item) == 'table' and item.Info or nil
return type(info) == 'table' and (info.Class == 'Melee' or info.Type == 'Melee')
end
-- ------------------------------------------------------------- navigation
local Nav = {
Goal = nil,
Waypoints = nil,
Index = 2,
Status = 'none',
ComputedAt = -10,
Computing = false,
Token = 0,
StuckFor = 0,
LastPos = nil,
LastCheck = 0,
NoPathSince = nil,
Params = nil,
ParamsAt = -10,
Side = 1,
}
B.Nav = Nav
local function rayParams()
local t = Kit.Now()
if Nav.Params and t - Nav.ParamsAt < 1 then return Nav.Params end
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
local ignore = { LP.Character }
local tower = Kit.FindTower()
local entities = tower and tower:FindFirstChild('Entities')
if entities then ignore[#ignore + 1] = entities end
params.FilterDescendantsInstances = ignore
Nav.Params, Nav.ParamsAt = params, t
return params
end
local function cast(origin, direction) return Workspace:Raycast(origin, direction, rayParams()) end
function Nav.Reset()
Nav.Goal, Nav.Waypoints, Nav.Status = nil, nil, 'none'
Nav.Token += 1
Nav.Computing = false
Nav.StuckFor = 0
Nav.NoPathSince = nil
Nav.LastPos = nil
end
function Nav.Request(from, goal)
if Nav.Computing then return end
Nav.Computing = true
local token = Nav.Token
task.spawn(function()
local path = PathfindingService:CreatePath({
AgentRadius = 2,
AgentHeight = 5,
AgentCanJump = true,
WaypointSpacing = 5,
})
local ok = pcall(function() path:ComputeAsync(from, goal) end)
if token ~= Nav.Token then
Nav.Computing = false
return
end
Nav.Computing = false
Nav.ComputedAt = Kit.Now()
if ok and path.Status == Enum.PathStatus.Success then
Nav.Waypoints = path:GetWaypoints()
Nav.Index = 2
Nav.Status = 'path'
Nav.NoPathSince = nil
else
Nav.Waypoints = nil
Nav.Status = 'nopath'
Nav.NoPathSince = Nav.NoPathSince or Kit.Now()
end
end)
end
-- avoids walls (jump low ones, deflect around tall ones) and ledges; returns direction, jump
function Nav.Avoid(pos, direction)
local feet = pos - Vector3.new(0, 2.6, 0)
local reach = direction * 4.5
local low = cast(feet + Vector3.new(0, 1, 0), reach)
local high = cast(feet + Vector3.new(0, 4.2, 0), reach)
local jump = false
if low and not high then
jump = true
elseif low and high then
local chosen
for _, angle in ipairs({ 40 * Nav.Side, -40 * Nav.Side, 80 * Nav.Side, -80 * Nav.Side }) do
local d = rotateY(direction, angle)
if not cast(feet + Vector3.new(0, 1, 0), d * 4.5) then
chosen = d
break
end
end
if chosen then
direction = chosen
else
jump = true
end
end
-- do not walk off into nothing
local ahead = pos + direction * 5
if not cast(ahead, Vector3.new(0, -9, 0)) then
for _, angle in ipairs({ 50, -50, 100, -100 }) do
local d = rotateY(direction, angle)
if cast(pos + d * 5, Vector3.new(0, -9, 0)) then return d, jump end
end
return nil, false
end
return direction, jump
end
-- one navigation step toward goal; returns direction (or nil), jump, status
function Nav.Step(w, goal)
local pos, t = w.me.pos, w.now
if not Nav.Goal or (Nav.Goal - goal).Magnitude > 6 then
Nav.Reset()
Nav.Goal = goal
Nav.Status = 'pending'
Nav.Request(pos, goal)
elseif t - Nav.ComputedAt > 4 and not Nav.Computing then
Nav.Request(pos, goal)
end
local toGoal = flat(goal - pos)
if toGoal.Magnitude < 2.5 and math.abs(goal.Y - pos.Y) < 8 then return nil, false, 'arrived' end
local target = goal
local wantsJump = false
if Nav.Waypoints then
while Nav.Index <= #Nav.Waypoints do
local wp = Nav.Waypoints[Nav.Index]
if flat(wp.Position - pos).Magnitude < 3.2 and math.abs(wp.Position.Y - pos.Y) < 6 then
Nav.Index += 1
else
break
end
end
local wp = Nav.Waypoints[Nav.Index]
if wp then
target = wp.Position
wantsJump = wp.Action == Enum.PathWaypointAction.Jump and flat(wp.Position - pos).Magnitude < 6
end
end
local delta = flat(target - pos)
if delta.Magnitude < 0.1 then return nil, false, 'arrived' end
local direction, jump = Nav.Avoid(pos, delta.Unit)
if t - Nav.LastCheck >= 0.5 then
if Nav.LastPos and (pos - Nav.LastPos).Magnitude < 0.6 and direction then
Nav.StuckFor += 0.5
else
Nav.StuckFor = 0
end
Nav.LastPos, Nav.LastCheck = pos, t
end
local status = Nav.Waypoints and 'path' or (Nav.Status == 'nopath' and 'direct' or 'pending')
if Nav.StuckFor >= 1 and Nav.StuckFor < 3 then
jump = true
elseif Nav.StuckFor >= 3 and direction then
Nav.Side = -Nav.Side
direction = rotateY(direction, 90 * Nav.Side)
jump = true
end
if Nav.StuckFor >= 6 then status = 'stuck' end
return direction, jump or wantsJump, status
end
-- ----------------------------------------------------------------- inputs
local function faceTowards(point, dt, alphaOverride)
local controller = RivalsModsState.ResolveCameraController()
if not controller or type(controller.SetRotation) ~= 'function' then return end
local current = rawget(controller, 'Rotation')
local cam = Workspace.CurrentCamera
if typeof(current) ~= 'Vector2' or not cam then return end
local pitch, yaw = CFrame.lookAt(cam.CFrame.Position, point):ToOrientation()
local alpha = alphaOverride or math.clamp(1 - math.exp(-math.clamp(dt, 0, 0.1) * 16), 0, 1)
local deltaPitch = pitch - current.X
local deltaYaw = (yaw - current.Y + math.pi) % (2 * math.pi) - math.pi
controller:SetRotation(Vector2.new(current.X + deltaPitch * alpha, current.Y + deltaYaw * alpha))
end
local vim
local function click()
if Library and Library.Toggled then return false end
if Kit.GameMenuOpen() then return false end
local cam = Workspace.CurrentCamera
if not cam then return false end
vim = vim or Instance.new('VirtualInputManager')
local x, y = cam.ViewportSize.X / 2, cam.ViewportSize.Y / 2
vim:SendMouseButtonEvent(x, y, 0, true, game, 1)
local manager = vim
task.delay(0.03, function() manager:SendMouseButtonEvent(x, y, 0, false, game, 1) end)
return true
end
-- a cooked grenade: the throw button is held down and the throw leaves on release
local cookDown = false
local function pressHold()
if Library and Library.Toggled then return false end
if Kit.GameMenuOpen() then return false end
local cam = Workspace.CurrentCamera
if not cam then return false end
vim = vim or Instance.new('VirtualInputManager')
vim:SendMouseButtonEvent(cam.ViewportSize.X / 2, cam.ViewportSize.Y / 2, 0, true, game, 1)
return true
end
local function releaseHold()
local cam = Workspace.CurrentCamera
vim = vim or Instance.new('VirtualInputManager')
vim:SendMouseButtonEvent(
cam and cam.ViewportSize.X / 2 or 0,
cam and cam.ViewportSize.Y / 2 or 0,
0,
false,
game,
1
)
end
-- taking the fists out cancels a throw that has not left the hand yet
local function forceMelee()
local fighter = ResolveLocalFighter()
for slot, item in pairs(fighter and fighter.Items or {}) do
if isMelee(item) then
pcall(function() fighter:EquipItem(slot) end)
return true
end
end
return false
end
local function equipMelee(now)
local fighter = ResolveLocalFighter()
if not fighter then return false end
local equipped = fighter.EquippedItem
if equipped and isMelee(equipped) then
s.itemReach = (equipped.Info and equipped.Info.AttackReach) or s.itemReach
return true
end
if now - s.lastEquipAt < 1 then return false end
s.lastEquipAt = now
for slot, item in pairs(fighter.Items or {}) do
if isMelee(item) then
local ok = pcall(function() fighter:EquipItem(slot) end)
if not ok then
local keys = { Enum.KeyCode.One, Enum.KeyCode.Two, Enum.KeyCode.Three }
local key = keys[tonumber(slot) or 0]
if key then
local manager = Instance.new('VirtualInputManager')
manager:SendKeyEvent(true, key, false, game)
manager:SendKeyEvent(false, key, false, game)
end
end
return false
end
end
return false
end
local function userIsSteering()
return UserInputService:IsKeyDown(Enum.KeyCode.W)
or UserInputService:IsKeyDown(Enum.KeyCode.A)
or UserInputService:IsKeyDown(Enum.KeyCode.S)
or UserInputService:IsKeyDown(Enum.KeyCode.D)
end
-- -------------------------------------------------------------- snapshot
local function triggerGoals(tower, floor, now, cacheOverride)
local cache = cacheOverride or s.triggerGoals
if now - cache.At < 1 then return cache.List end
cache.At = now
local list = {}
for _, trigger in ipairs(Kit.PendingTriggers(tower, floor or 1)) do
local part = trigger.Part
local inside = part.CFrame:PointToWorldSpace(Vector3.new(0, -part.Size.Y / 2 + 3, 0))
local ground = Kit.GroundAt(inside + Vector3.new(0, 4, 0), 14)
local spot = (ground and (ground + Vector3.new(0, 3, 0))) or inside
-- floor 15's trigger starts inside a lava slab: the foot of the volume is not a place to stand, so a spot further up the
-- volume that lava leaves alone is used (the hop to the foot was pushed back under the slab every frame: a 100 s stall)
if (Kit.AvoidLava(spot, nil) - spot).Magnitude > 0.01 then
for lift = 8, part.Size.Y - 4, 4 do
local higher = part.CFrame:PointToWorldSpace(Vector3.new(0, -part.Size.Y / 2 + lift, 0))
if (Kit.AvoidLava(higher, nil) - higher).Magnitude <= 0.01 then
spot = higher
break
end
end
end
list[#list + 1] = {
Key = 'trigger:' .. tostring(math.floor(part.Position.X)) .. ',' .. tostring(math.floor(part.Position.Z)),
Pos = spot,
Part = part,
}
end
cache.List = list
return list
end
-- the triggers worth walking into. The entrance of the next floor can sit below that floor's own volume (floor 11), so
-- standing on it never makes it "the current floor": after a few seconds there without the floor changing, the next
-- floor's own trigger is the way on.
local function triggerCandidates(w, mem, now, near)
-- once committed it stays committed: hopping onto the trigger takes us away from the entrance, which must not send us back
if mem.nextGateUntil and now < mem.nextGateUntil and #(w.nextTriggers or {}) > 0 then return w.nextTriggers end
if w.entrance and #(w.nextTriggers or {}) > 0 and (w.entrance - w.me.pos).Magnitude <= near then
mem.atEntranceSince = mem.atEntranceSince or now
if now - mem.atEntranceSince > 2.5 then
mem.nextGateUntil = now + 12
return w.nextTriggers
end
else
mem.atEntranceSince = nil
end
return w.triggers or {}
end
function B.Snapshot()
local root, hum = Kit.MyRoot(), Kit.MyHum()
if not root or not hum or hum.Health <= 0 then return nil end
local now = Kit.Now()
local pos = root.Position
local tower = Kit.FindTower()
local floor = Kit.CurrentFloor(tower, pos)
local mobs, hazards = {}, {}
for _, record in ipairs(Kit.Mobs()) do
local delta = record.Pos - pos
if record.Class.Avoid then
hazards[#hazards + 1] = { rec = record, class = record.Class, pos = record.Pos, dist3 = delta.Magnitude }
continue
end
local distance = flat(delta).Magnitude
local rageOn = cfg.Mode == 'Rage'
-- floors are 25-60 studs apart: in rage mode mobs on the floor above or below are fair game too
local yLimit = rageOn and 110 or 16
local range = rageOn and 600 or cfg.EngageRange
if
math.abs(delta.Y) <= yLimit
and distance <= range
and not (s.ignore[record.Model] and s.ignore[record.Model] > now)
then
local velocity = flat(record.Vel)
local lookFlat = flat(record.Look or Vector3.new(0, 0, 1))
mobs[#mobs + 1] = {
rec = record,
class = record.Class,
pos = record.Pos,
hp = record.HP,
maxHp = record.MaxHP,
dist = distance,
dist3 = delta.Magnitude,
look = lookFlat.Magnitude > 0.01 and lookFlat.Unit or Vector3.new(0, 0, 1),
dir = distance > 0.01 and flat(delta) / distance or Vector3.zero,
vel = velocity,
speed = velocity.Magnitude,
attack = (Kit.Attacks[record.Model] and Kit.Attacks[record.Model].Known) and Kit.Attacks[record.Model]
or nil,
}
end
end
table.sort(mobs, function(a, b) return a.dist < b.dist end)
-- standing outside every floor (spawn platform, after a restart): go to the highest floor built so far
local entranceFloor = (floor or 0) + 1
if floor == nil and tower then
local top = 0
local floorsFolder = tower:FindFirstChild('Floors')
for _, child in ipairs(floorsFolder and floorsFolder:GetChildren() or {}) do
local number = tonumber(child.Name)
if number and number > top and Kit.Entrance(tower, number) then top = number end
end
if top > 0 then entranceFloor = top end
end
-- nothing is worth doing above the top of the highest floor built so far: hops are clamped to a little over it
local ceilingY
if tower then
local floorsRoot = tower:FindFirstChild('Floors')
for _, child in ipairs(floorsRoot and floorsRoot:GetChildren() or {}) do
local important = child:FindFirstChild('Important')
local volume = important and important:FindFirstChild('Volume')
if volume and volume:IsA('BasePart') then
local top = volume.Position.Y + volume.Size.Y / 2
ceilingY = math.max(ceilingY or top, top)
end
end
ceilingY = ceilingY and ceilingY + 30 or nil
end
local entrancePart = tower and Kit.Entrance(tower, entranceFloor) or nil
local entrancePos
if entrancePart then
local ground = Kit.GroundAt(entrancePart.Position + Vector3.new(0, 4, 0), 30)
entrancePos = ground and (ground + Vector3.new(0, 3, 0)) or entrancePart.Position
end
return {
now = now,
me = { pos = pos, hp = hum.Health, maxHp = hum.MaxHealth, root = root, hum = hum },
tower = tower,
floor = floor,
ceilingY = ceilingY,
mobs = mobs,
hazards = hazards,
windup = Kit.Windup,
windupFor = Kit.WindupFor,
slamLog = Kit.Slams,
slams = (function()
local active = {}
for _, slam in ipairs(Kit.Slams) do
if now <= slam.HitAt + 0.5 then active[#active + 1] = slam end
end
return active
end)(),
reach = (cfg.Mode == 'Rage' and Kit.Cfg.Rage.Position == 'Above')
and math.max(s.reachEst, (Kit.Cfg.Rage.VerticalOffset or 5.6) + 0.3)
or s.reachEst,
drops = Kit.Drops(),
grenade = Kit.GrenadeInfo(),
gun = Kit.GunEntry(),
-- is there floor under this point / a clear line from one point to another? (used to pick shooting spots)
ground = function(point) return Kit.GroundAt(point + Vector3.new(0, 4, 0), 30) ~= nil end,
sight = function(from, to)
local hit = cast(from, to - from)
return hit == nil or (hit.Position - to).Magnitude < 3
end,
bones = Kit.Bones(),
-- walls for shots: only what collides blocks a bullet, and a body-sized box at the spot must overlap no wall
shotLine = function(from, to) return (Kit.LineClear(from, to, 3)) end,
spotFree = function(point) return Kit.SpotFree(point) end,
triggers = tower and triggerGoals(tower, floor, now) or {},
nextTriggers = (tower and floor and entranceFloor ~= floor)
and triggerGoals(tower, entranceFloor, now, s.nextTriggerGoals)
or {},
entrance = entrancePos,
entranceKey = entrancePos and ('entrance:' .. tostring(entranceFloor)) or nil,
entranceFloor = entranceFloor,
}
end
-- ---------------------------------------------------------------- tactics
local function canMeleeExplosive(w, explosive)
local mode = cfg.ExplosiveMode
if mode == 'Tank' then return true end
if mode == 'Avoid' then return false end
local hpPct = w.me.hp / math.max(w.me.maxHp, 1) * 100
if hpPct < cfg.MinHpExplosive then return false end
for _, m in ipairs(w.mobs) do
if m ~= explosive and m.dist < 10 then return false end
end
return true
end
local function pickTarget(w, mem, explosiveHeld)
local current = mem.target
local best
for _, m in ipairs(w.mobs) do
local skip = m.class.Explosive and explosiveHeld
if not skip then
if current and m.rec.Model == current and m.dist < (w.mobs[1].dist + 6) then return m end
best = best or m
end
end
return best
end
-- pure decision: no side effects besides updating the memory table
function B.Decide(w, mem)
local act = { State = 'idle', Reason = '' }
local me, now, mobs = w.me, w.now, w.mobs
local hpPct = me.hp / math.max(me.maxHp, 1) * 100
local nearest = mobs[1]
if nearest then mem.lastMobAt = now end
if cfg.StopAtBoss then
for _, m in ipairs(mobs) do
if m.class.Boss then
act.State, act.Reason, act.Stop =
'stop', 'a boss appeared: ' .. m.rec.Model.Name .. ' (not automated)', true
return act
end
end
end
if hpPct < cfg.RetreatPct then
if cfg.LowHpAction == 'Stop' then
act.State, act.Reason, act.Stop = 'stop', string.format('health %d%%', math.floor(hpPct)), true
return act
end
mem.retreating = true
elseif mem.retreating and hpPct >= cfg.RetreatPct + 10 then
mem.retreating = false
end
if mem.dodgeUntil > now and mem.dodgeDir then
act.State, act.Reason = 'dodge', 'sidestepping a charge'
act.MoveDir = mem.dodgeDir
act.Face = nearest and nearest.pos or nil
return act
end
for _, m in ipairs(mobs) do
if m.class.Charger and m.dist < 80 and m.dist > 4 then
local tele = Kit.Telegraphs.ChargerZombieChargeStart
local telegraphed = tele and tele.Model == m.rec.Model and tele.Until > now
local closing = m.vel:Dot(-m.dir)
if telegraphed or (m.speed > cfg.ChargerSpeed and closing > m.speed * 0.6) then
mem.dodgeSign = -mem.dodgeSign
local toMe = -m.dir
mem.dodgeDir = Vector3.new(-toMe.Z, 0, toMe.X) * mem.dodgeSign
mem.dodgeUntil = now + 0.65
act.State, act.Reason = 'dodge', 'charger incoming'
act.MoveDir = mem.dodgeDir
act.Face = m.pos
return act
end
end
end
local safe = Kit.ExplosiveSafeDistance()
local explosive
for _, m in ipairs(mobs) do
if m.class.Explosive then
explosive = m
break
end
end
local explosiveHeld = false
if explosive and explosive.dist < safe + 2 then
if not canMeleeExplosive(w, explosive) then
mem.avoidSince = mem.avoidSince or now
if now - mem.avoidSince < 6 then
act.State, act.Reason =
'avoid',
string.format(
'explosive zombie %dm (blast %d)',
math.floor(explosive.dist),
math.floor(Kit.BlastRadius())
)
act.MoveDir = -explosive.dir
act.Face = explosive.pos
return act
end
end
else
mem.avoidSince = nil
if explosive and cfg.ExplosiveMode ~= 'Tank' and not canMeleeExplosive(w, explosive) then
explosiveHeld = true
end
end
if mem.retreating and nearest and nearest.dist > 6 then
if nearest.dist < 50 then
local away = Vector3.zero
for _, m in ipairs(mobs) do
if m.dist < 50 then
away -= m.dir / math.max(m.dist, 1)
end
end
if away.Magnitude < 1e-3 then away = -nearest.dir end
act.State, act.Reason = 'retreat', string.format('health %d%%', math.floor(hpPct))
act.MoveDir = away.Unit
act.Face = nearest.pos
return act
end
act.State, act.Reason = 'recover', string.format('health %d%%, keeping away', math.floor(hpPct))
act.Face = nearest.pos
return act
end
local target = pickTarget(w, mem, explosiveHeld)
if target then
mem.target = target.rec.Model
act.State = 'fight'
act.Reason = string.format('%s %dm', target.rec.Model.Name, math.floor(target.dist))
act.Target = target
act.Face = target.pos + Vector3.new(0, 1.2, 0)
local standOff = math.min(cfg.StandOff, w.reach - 0.6)
local spacingMin = math.max(2.8, math.min(cfg.SpacingMin, standOff - 1.2))
act.Attack = target.dist <= w.reach + 0.4
if cfg.Spacing and target.dist < spacingMin then
act.MoveDir = -target.dir
act.Reason = act.Reason .. ' (backing off)'
elseif target.dist > standOff then
local approaching = target.vel:Dot(-target.dir) > 3
if target.dist > cfg.HuntRange and approaching then
act.State = 'hold'
act.Reason = string.format('%s is coming (%dm)', target.rec.Model.Name, math.floor(target.dist))
act.Attack = false
else
act.Goal = target.pos
end
end
return act
elseif explosiveHeld and explosive then
act.State, act.Reason = 'hold', 'letting the explosive zombie come to me'
act.Face = explosive.pos
return act
end
mem.target = nil
if now - mem.lastMobAt < cfg.ClearDelay then
act.State, act.Reason = 'wait', 'waiting for more spawns'
return act
end
if cfg.WaveTriggers then
local bestGoal, bestDistance
for _, goal in ipairs(triggerCandidates(w, mem, now, 8)) do
if not (mem.blocked[goal.Key] and mem.blocked[goal.Key] > now) then
local d = flat(goal.Pos - me.pos).Magnitude
if d < 400 and (not bestDistance or d < bestDistance) then
bestGoal, bestDistance = goal, d
end
end
end
if bestGoal then
act.State, act.Reason =
'trigger', string.format('walking into the next wave trigger (%dm)', math.floor(bestDistance))
act.Goal, act.GoalKey = bestGoal.Pos, bestGoal.Key
return act
end
end
if cfg.Advance and w.entrance and not (mem.blocked[w.entranceKey] and mem.blocked[w.entranceKey] > now) then
act.State, act.Reason =
'advance', string.format('heading for floor %d', w.entranceFloor or ((w.floor or 0) + 1))
act.Goal, act.GoalKey = w.entrance, w.entranceKey
return act
end
act.State, act.Reason = 'idle', 'nothing reachable to do'
return act
end
-- -------------------------------------------------------------- execution
function tryAttack(w, target)
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem
if not (item and isMelee(item)) then return false end
local info = item.Info or {}
local cooldown = (tonumber(info.AttackCooldown) or 0.35) * Kit.MeleeSpeedScale()
local interval = math.max(cooldown, cfg.Mode == 'Rage' and 0.08 or 0.3) + 0.03
local cam = Workspace.CurrentCamera
local ready = w.now - s.lastAttackAt >= interval and (tonumber(rawget(item, '_shoot_cooldown')) or 0) <= tick()
if not (ready and cam) then return false end
local toTarget = target.pos + Vector3.new(0, 1.2, 0) - cam.CFrame.Position
if toTarget.Magnitude > 0.1 and cam.CFrame.LookVector:Dot(toTarget.Unit) > 0.9 then
if click() then
s.lastAttackAt = w.now
s.lastSwing = { T = w.now, Dist = target.dist3 or target.dist, Model = target.rec.Model, HP = target.hp }
if not s.pendingSwing then s.pendingSwing = s.lastSwing end
return true
end
end
return false
end
function B.Exec(w, act, dt)
local me = w.me
if act.State ~= 'idle' then equipMelee(w.now) end
local faceAt = act.Face
if not faceAt then
local cam = Workspace.CurrentCamera
if act.MoveDir and cam then
faceAt = cam.CFrame.Position + act.MoveDir * 20
elseif act.Goal then
faceAt = act.Goal
end
end
if faceAt then faceTowards(faceAt, dt) end
local direction, jump, status
if act.MoveDir then
direction = act.MoveDir
direction, jump = Nav.Avoid(me.pos, direction)
Nav.Goal = nil
elseif act.Goal then
direction, jump, status = Nav.Step(w, act.Goal)
if status == 'stuck' or (Nav.NoPathSince and w.now - Nav.NoPathSince > 8 and Nav.StuckFor >= 2) then
if act.GoalKey then
s.blocked[act.GoalKey] = w.now + 25
elseif act.Target then
s.ignore[act.Target.rec.Model] = w.now + 15
end
Nav.Reset()
end
else
Nav.Goal = nil
end
local hum = me.hum
hum:Move(direction or Vector3.zero, false)
if jump and hum.FloorMaterial ~= Enum.Material.Air then hum.Jump = true end
if act.Attack and act.Target then tryAttack(w, act.Target) end
end
-- learns the real melee reach: 0.6 s after a swing, did the target lose health (or die)?
function B.Calibrate(now)
local p = s.pendingSwing
if not p or now - p.T < 0.6 then return end
s.pendingSwing = nil
local record = Kit.MobOf(p.Model)
local landed = record == nil or (p.HP ~= nil and record.HP ~= nil and record.HP < p.HP - 0.5)
if landed then
s.missStreak = 0
s.swingsLanded += 1
s.reachEst = math.min(s.itemReach - 0.5, math.max(s.reachEst, p.Dist + 0.2))
else
s.swingsMissed += 1
s.missStreak += 1
if s.missStreak >= 2 and p.Dist <= s.reachEst + 0.5 then
s.reachEst = math.max(3.5, p.Dist - 0.6)
s.missStreak = 0
end
end
end
-- ---------------------------------------------------------------- rage mode
-- Moves by writing our own root part's CFrame (the same primitive the game uses for its own warps)
-- instead of walking. It never sends the server any message about the move. Hop length adapts to
-- whatever the server tolerates: any pull-back halves it, clean hops grow it, and repeated pull-backs
-- at the smallest size switch the bot back to walking.
local rage = Kit.Cfg.Rage
local R = {
lastMobAt = -10,
target = nil,
blocked = {},
tries = {},
lastHopAt = -10,
maxHop = rage.MaxHop,
expected = nil,
expectedAt = -10,
counted = nil,
accepted = 0,
rejected = 0,
rejectTimes = {},
sinceGrow = 0,
hops = 0,
safeSpot = nil,
fastOn = false,
reachOn = false,
gren = nil,
grenadeAt = nil,
grenadesThrown = 0,
claimTries = {},
claimAt = -9,
claiming = nil,
shots = 0,
lastShotAt = -1,
gunEquipAt = -1,
reloadAt = -9,
boomOn = false,
attackOn = false,
slamOn = false,
noclipConn = nil,
freezeConn = nil,
original = setmetatable({}, { __mode = 'k' }),
partsAt = -10,
parts = {},
}
B.Rage = R
local ANGLES = { 0, 45, -45, 90, -90, 135, -135, 180 }
-- how many other mobs could reach a player standing at this point, closer ones counting more:
-- zombies reach about 4.7 studs and walk ~1 stud per 0.1 s, so anything within ~7 arrives during a kill
local function exposureAt(point, skip, all)
local radius = rage.ExposureRadius or 7
local total = 0
for _, other in ipairs(all) do
if other ~= skip then
local d = (other.pos - point).Magnitude
if d < radius then
total += 1 + (radius - d) / radius
end
end
end
return total
end
-- (defined further down, after the swing helpers it uses)
local swingExposureAt
local shooterSightAt
-- is there an explosive zombie within `range` of this point? (a drop beside one is not worth the hop: its blast is 50 and they go off together)
local function boomNear(w, point, range)
for _, m in ipairs(w.mobs) do
if m.class.Explosive and (m.pos - point).Magnitude < range then return true end
end
return false
end
-- how many times the prompt of a weapon crate has been pressed (the decision memory in tests, the rage state in the game)
local function claimTriesOf(mem, key)
return math.max((mem.claimTries and mem.claimTries[key]) or 0, (R.claimTries and R.claimTries[key]) or 0)
end
-- a mob's announced swing, while it is still on its way (the announcement stays on the record after the hit)
local function liveAttack(w, m)
local a = m.attack
if not a then return nil end
local own = w.windupFor and w.windupFor(a.Id) or w.windup or { Max = 0.95 }
if w.now - a.At <= (own.Max or 0.95) + (own.Slack or 0.15) then return a end
return nil
end
local function facingOf(w, target)
local look = target.look
if not look or look.Magnitude < 0.1 then
local away = flat(target.pos - w.me.pos)
look = away.Magnitude > 0.1 and away.Unit or Vector3.new(0, 0, 1)
end
return look
end
-- how high to hover over a brute. BruteVertical is the setting; BruteLabHeights (live tests only) cycles through several
-- heights every BruteLabStep seconds so one run measures which of them the brute's swing reaches (BRUTELAB lines)
local function bruteVertical(w)
local list = rage.BruteLabHeights
if type(list) == 'table' and #list > 0 then
return list[(math.floor(w.now / (rage.BruteLabStep or 1.4)) % #list) + 1]
end
return rage.BruteVertical or rage.VerticalOffset or 6
end
-- where to stand next to this mob and how exposed that place is: the ring of candidate points around it,
-- least exposed first, 'Behind' (or 'Beside') winning ties
local function bestSpot(w, target, all)
local mode = rage.Position
local pos = target.pos
-- a pinata (Chicken Trojan) is harmless and huge: stand right on top of it, inside its hitbox
if target.class.Pinata then return pos + Vector3.new(0, 3 + (Kit.Lift or 0), 0), 0 end
local d = math.min(rage.Distance, math.max(1.5, w.reach - 1))
-- a longer reach than the mobs' (about 4.7) is only worth something from near its far end
if rage.Kite ~= false and w.reach >= 6.5 then d = math.max(d, w.reach - 1.2) end
if mode == 'Under' or mode == 'Above' then
local sign = mode == 'Above' and 1 or -1
local vertical = rage.VerticalOffset
if target.class.CloseDodge and mode == 'Above' then vertical = bruteVertical(w) end
-- a ghost is one swing (20-50 hp, the fists do 60): from 6 studs only half the swings land, from under 5.5 nearly all
if target.class.Name == 'Ghost' and mode == 'Above' then vertical = rage.GhostVertical or 4.6 end
local point = pos + Vector3.new(0, sign * vertical, 0)
return point, (all and rage.SmartSpot ~= false) and exposureAt(point, target, all) or 0
end
local look = facingOf(w, target)
local base = -look
if mode == 'Beside' then base = Vector3.new(-look.Z, 0, look.X) end
if rage.SmartSpot == false or not all then return pos + base * d, 0 end
local bestPoint, bestScore, bestExposure
for index, angle in ipairs(ANGLES) do
local direction = angle == 0 and base or rotateY(base, angle)
local point = pos + direction * d
local exposure = exposureAt(point, target, all)
local score = exposure * 10 + index * 0.05
if not bestScore or score < bestScore then
bestPoint, bestScore, bestExposure = point, score, exposure
end
end
return bestPoint, bestExposure
end
R.Spot = bestSpot
-- Standing still over a mob lets its attack line up on us (a ghost or reaper aims at where we were when it winds up; a zombie's hit area
-- is in front of it). A player keeps circling the mob he is hitting, so the hit lands where he was. This is the next point on a small
-- circle round the target, continuing in the direction we were going, drawn towards the side the mob is not facing, away from others.
local function orbitSpot(w, mem, target, all)
local base = target.pos
local rel = flat(w.me.pos - base)
local current = rel.Magnitude > 0.3 and math.atan2(rel.Z, rel.X) or math.random() * math.pi * 2
local look = target.look and flat(target.look) or Vector3.zero
local backAngle = look.Magnitude > 0.1 and math.atan2(-look.Z, -look.X) or nil
local radius = rage.OrbitRadius or 2.4
local vertical = target.class.Flyer and (rage.OrbitFlyerVertical or 3.6) or (rage.OrbitVertical or 4.8)
local step = math.rad(rage.OrbitStep or 55)
local state = mem.orbit
if not state or state.model ~= target.rec.Model then
state = { model = target.rec.Model, dir = (math.random() < 0.5) and 1 or -1 }
mem.orbit = state
end
local TAU = math.pi * 2
local function wrap(angle) return ((angle + math.pi) % TAU) - math.pi end
local best, bestScore, bestAngle
local function consider(angle, bonus)
local point = base + Vector3.new(math.cos(angle) * radius, vertical, math.sin(angle) * radius)
if Kit.IsLethal(point) then return end
local score = exposureAt(point, target, all) * 10
+ swingExposureAt(w, point, target) * 25
+ shooterSightAt(w, point) * 4
- bonus
if math.abs(wrap(angle - current)) < math.rad(25) then
score += 6
end
if backAngle then
score += math.abs(wrap(angle - backAngle)) * 1.2
end
if not bestScore or score < bestScore then
best, bestScore, bestAngle = point, score, angle
end
end
consider(current + state.dir * step, 0.5)
consider(current - state.dir * step, 0)
consider(current + state.dir * 2 * step, 0)
if backAngle then consider(backAngle, 0) end
if best then
local moved = wrap(bestAngle - current)
if math.abs(moved) > 0.2 then state.dir = moved > 0 and 1 or -1 end
end
return best
end
-- returns the target, the spot to stand on, and how exposed that spot is
local function pickRageTarget(w, pool, mem, all)
local order = rage.TargetOrder
-- the ones close to us come first, they are the ones that hurt. Among them the quickest to kill and the ones whose
-- swing lands soonest, not the lone mob across the room that the pack trails behind
local candidates, focused = pool, false
-- a flyer hovering at the lava sheet is not chased there: the spot over it is inside the sheet's reach (it comes down to us anyway)
do
local safe = {}
for _, m in ipairs(pool) do
if not (m.class.Flyer and Kit.StayAboveSheet == false and Kit.LavaNear(m.pos)) then safe[#safe + 1] = m end
end
if #safe > 0 then
candidates = safe
pool = safe
end
end
-- one mob at a time: the target stays the target until it is dead, then the next one is picked (user: 'until a mob is not dead it will
-- focus it then when killed go to another'; it stops the jiggle between two mobs). No range, swing or crowd exception. The only way out of a
-- lock besides the kill is the older 'is not taking damage' skip, which has already taken the mob out of the pool by the time we get here.
if rage.TargetLock ~= false and mem.target then
for _, m in ipairs(pool) do
if m.rec.Model == mem.target then
local lockedPoint, lockedExposure = bestSpot(w, m, all)
Kit.LockHolds = (Kit.LockHolds or 0) + 1
return m, lockedPoint, lockedExposure
end
end
end
if rage.Focus ~= false then
local near = {}
for _, m in ipairs(pool) do
if m.dist3 <= (rage.FocusRadius or 11) then near[#near + 1] = m end
end
-- kill order: flyers, then skeletons / brutes / the other big ones, then plain zombies. The first two groups are
-- candidates from further out than the focus ring (the nearest few), so a ghost across the room is not
-- ignored while zombies are close
if rage.KillOrder ~= false then
local inNear = {}
for _, m in ipairs(near) do
inNear[m] = true
end
local extras = {}
-- hurt, the bot does not cross the room for them (life 43: two 40 m hops to skeletons at 50 hp with twenty mobs about)
local radius = rage.TierRadius or 36
if w.me.hp / math.max(w.me.maxHp, 1) * 100 < (rage.TierLowHp or 55) then
radius = rage.TierRadiusLow or 18
end
for _, m in ipairs(pool) do
if not inNear[m] and Kit.KillTier(m.class) <= 2 then
-- a skeleton throws along its line: the hop across the room to it (life 47: 17 of 23 hops to skeletons ended in a dodge,
-- nothing hit) goes through other skeletons' lines, so it is only worth it from a shorter distance
local limit = (m.class.Shooter and math.min(radius, rage.TierShooterRadius or 22) or radius)
+ (mem.target and m.rec.Model == mem.target and (rage.TierKeep or 10) or 0)
if m.dist3 <= limit then extras[#extras + 1] = m end
end
end
table.sort(extras, function(a, b) return a.dist3 < b.dist3 end)
for index = 1, math.min(#extras, rage.TierExtras or 6) do
near[#near + 1] = extras[index]
end
end
if #near > 0 then
candidates, focused = near, true
end
end
local best, bestScore, bestPoint, bestExposure
local lowestTier = 3
for _, m in ipairs(candidates) do
local score, point, exposure
if focused then
point, exposure = bestSpot(w, m, all)
local hits = m.hp and math.max(1, math.ceil(m.hp / 30)) or 3
score = hits * 0.8
+ m.dist3 * 0.3
- (m.class.Threat or 0) * 0.5
- (liveAttack(w, m) and 1.5 or 0)
+ (exposure or 0) * (rage.FocusExposure or 0.7)
+ swingExposureAt(w, point, m) * (rage.FocusSwing or 3)
+ shooterSightAt(w, point) * (rage.ShooterCoverWeight or 2.5)
elseif order == 'Isolated' then
-- the mob whose standing spot has the fewest others around it: the pack trails behind every hop
point, exposure = bestSpot(w, m, all)
score = exposure * 10
+ m.dist3 * 0.04
+ swingExposureAt(w, point, m) * 25
+ shooterSightAt(w, point) * (rage.ShooterCoverWeight or 2.5) * 4
elseif order == 'LowestHP' then
score = (m.hp or 100) + m.dist3 / 1000
elseif order == 'Threat' then
score = -m.class.Threat * 1000 + m.dist3
else
score = m.dist3
end
if m.class.Name == 'Ghost' and m.dist3 > (rage.GhostFar or 20) then
score += 40
end
if mem.target and m.rec.Model == mem.target then
score -= focused and 1 or 6
end
if m.finishNow then
score -= 1000
end
if m.class.Ranged and rage.RangedFirst ~= false and (exposure == nil or exposure <= 3) then
score -= 2000
end
if rage.KillOrder ~= false then
local tier = Kit.KillTier(m.class)
if tier < lowestTier then lowestTier = tier end
-- one that is far off and sits in the middle of a crowd waits its turn: hopping in there to reach it is how health goes
if tier < 3 and m.dist3 > (rage.FocusRadius or 11) and exposure and exposure > (rage.TierExposure or 6) then
tier = 3
end
-- ...and so does one whose standing spot is next to another mob that is mid-swing (landing there is how the hits land)
if tier < 3 and point and swingExposureAt(w, point, m) > 0 then tier = 3 end
score += (tier - 1) * (rage.TierWeight or 3000)
if m.class.Flyer and m.dist3 <= (rage.FlyerImminent or 20) then
score -= 3000
end
end
if not bestScore or score < bestScore then
best, bestScore, bestPoint, bestExposure = m, score, point, exposure
end
end
if best and rage.KillOrder ~= false and mem.target ~= best.rec.Model then
local picked = Kit.KillTier(best.class)
Kit.TierPicks[picked] = (Kit.TierPicks[picked] or 0) + 1
-- a lower group was picked while a higher one was in the running (it was too deep in a crowd to reach)
if picked > lowestTier then
Kit.TierHeld += 1
end
end
if best and not bestPoint then
bestPoint, bestExposure = bestSpot(w, best, all)
end
return best, bestPoint, bestExposure
end
-- where to be while attacks that already started land: on the standing spot of another target that is clear of
-- every attacker (the hop doubles as the next kill), otherwise straight up out of everyone's reach
-- how far an attacker is from a point for the purpose of its swing: area attacks ignore height
local function swingDistance(attacker, point)
if attacker.class.Area then return flat(attacker.pos - point).Magnitude end
return (attacker.pos - point).Magnitude
end
-- how close to an attacker a spot has to be to count as inside its swing: the dodge range for most, the measured reach
-- (brute: hits landed from 11 studs away, 5.8 above, and from further) plus a margin for the ones that have one
local function swingReach(attacker, default)
if attacker.class.AlwaysDodge and attacker.class.Flyer then return rage.FlyerLunge or 22 end
if attacker.class.Area then return attacker.class.Area + 1 end
if attacker.class.Reach then return attacker.class.Reach + 1 end
return default
end
-- how many mobs that are in the middle of a swing could still reach a point by the time it lands (skip does not count).
-- A flyer closes 5-14 studs while its swing winds up (measured: WINDUP MOVEMENT, never standing still), so it counts from
-- much further away than a walker that plants itself. Most of the damage the bot takes lands within 0.2 s of a hop, on a
-- spot next to somebody who had already announced a swing.
-- shooters (skeletons) with a clear line to a point, announced or not: they throw from up to 90 studs, 25 a bone, and a pack of
-- them took 311 of the 480 health life 12 lost on floor 12. Fewer is better; no line at all is cover.
function shooterSightAt(w, point)
if rage.ShooterCover == false then return 0 end
local count, checked = 0, 0
for _, m in ipairs(w.mobs) do
if m.class.Shooter and not m.class.Pinata and (m.pos - point).Magnitude <= (rage.ShooterSightRange or 85) then
checked += 1
if checked > 6 then break end
if not w.sight or w.sight(m.pos + Vector3.new(0, 1.2, 0), point + Vector3.new(0, 1.5, 0)) then
count += 1
end
end
end
return count
end
function swingExposureAt(w, point, skip)
local total = 0
for _, m in ipairs(w.mobs) do
if m ~= skip and not m.class.Pinata and liveAttack(w, m) then
if m.class.Shooter then
-- a shooter (skeleton: bones) reaches far, but only along a clear line
if
swingDistance(m, point) < (rage.ShooterRange or 90)
and (not w.sight or w.sight(m.pos + Vector3.new(0, 1.2, 0), point + Vector3.new(0, 1.5, 0)))
then
total += 1
end
else
local reach = m.class.Flyer and (rage.FlyerLunge or 22) or swingReach(m, 9)
if swingDistance(m, point) < reach then
total += 1
end
end
end
end
return total
end
B.SwingExposure = swingExposureAt
B.ShooterSight = shooterSightAt
-- ---------------------------------------------------------- crowds and flocks
-- how hard the surroundings press on us right now: what is within reach counts one, what is closing in half, a swing
-- that was already announced one more, heavy hitters a bit extra. Mobs on another floor cannot reach us and do not count.
local function pressureOf(w)
local total, close = 0, 0
for _, m in ipairs(w.mobs) do
if not m.class.Pinata and math.abs(m.pos.Y - w.me.pos.Y) <= 30 then
local weight = 0
if m.dist3 <= 7 then
weight, close = 1, close + 1
elseif m.dist3 <= (rage.PressureRadius or 13) then
weight, close = 0.5, close + 1
end
if m.dist3 <= 26 and liveAttack(w, m) then
weight += 1
end
-- (a ghost is one swing: a flock of them is fought where we stand, running only brings them along)
if m.class.Name == 'Ghost' then
weight *= (rage.GhostPressure or 0.5)
end
if weight > 0 and (m.class.Ranged or m.class.Explosive or m.class.Boss) then
weight += 0.5
end
total += weight
end
end
return total, close
end
-- a step sideways out of a crowd or a flock: far from every mob, floor under it, to the side of the pack rather than
-- straight back, so the chasers have to turn and string out behind each other and arrive one at a time. Going up
-- achieves nothing against flyers (they follow) and little against the rest.
local STEP_ANGLES = { 90, -90, 60, -60, 120, -120, 30, -30, 0 }
-- where to wait while the horde comes out of a popped pinata: far from the pop point and a little up. (sideStep cannot be used: at the
-- moment of the pop there are no mobs yet to step away from.)
local function hordeWaitSpot(w, mem)
local origin = mem.pinataPos or w.me.pos
local away = flat(w.me.pos - origin)
away = away.Magnitude > 1 and away.Unit or Vector3.new(1, 0, 0)
local distance = rage.HordeWaitDistance or 50
local lift = Vector3.new(0, rage.HordeWaitLift or 8, 0)
for _, d in ipairs({ distance, distance - 20, distance - 40, distance - 60, 40 }) do
for _, angle in ipairs(STEP_ANGLES) do
local point = origin + rotateY(away, angle) * d
local floorPoint = Vector3.new(point.X, origin.Y, point.Z)
if
not Kit.IsLethal(point + lift)
and not Kit.IsLethal(floorPoint)
and (not w.ground or w.ground(floorPoint))
and (not w.spotFree or w.spotFree(point + lift))
then
return point + lift
end
end
end
return nil
end
local function sideStep(w, opts)
opts = opts or {}
local here = w.me.pos
local center, count = Vector3.zero, 0
for _, m in ipairs(w.mobs) do
if not m.class.Pinata and m.dist3 <= 55 and math.abs(m.pos.Y - here.Y) <= 30 then
center += m.pos
count += 1
end
end
if count == 0 then return nil end
center = center / count
local away = flat(here - center)
away = away.Magnitude > 1 and away.Unit or Vector3.new(1, 0, 0)
local base = opts.distance or rage.StepDistance or 28
local clear = opts.clear or 11
local bestPoint, bestScore, bestCrowd
-- floor under the new spot only matters while there is floor under us (up in the air there is none anywhere)
local needGround = w.ground ~= nil and w.ground(here)
-- a swarm leaves no spot that is 'clear' by the normal margin: the next best thing is the spot whose nearest mob is
-- farthest away, as long as that is still outside a swing's reach
local fallbackPoint, fallbackNearest, fallbackCrowd
for _, distance in ipairs({ base, base + 12, base + 24, base + 40 }) do
for _, angle in ipairs(STEP_ANGLES) do
local point = here + rotateY(away, angle) * distance
if not Kit.IsLethal(point) and (not needGround or w.ground(point)) then
local nearest, crowd = math.huge, 0
for _, m in ipairs(w.mobs) do
if not m.class.Pinata and math.abs(m.pos.Y - here.Y) <= 30 then
local d = (m.pos - point).Magnitude
nearest = math.min(nearest, d)
if d < 18 then
crowd += 1
end
end
end
if nearest >= clear then
local score = crowd * 10
- math.min(nearest, 40) * 0.6
+ math.abs(math.abs(angle) - 80) * 0.02
+ distance * 0.03
+ swingExposureAt(w, point) * 25
if not bestScore or score < bestScore then
bestPoint, bestScore, bestCrowd = point, score, crowd
end
elseif nearest >= (opts.minClear or 7.5) and (not fallbackNearest or nearest > fallbackNearest) then
fallbackPoint, fallbackNearest, fallbackCrowd = point, nearest, crowd
end
end
end
end
if not bestPoint and fallbackPoint then return fallbackPoint, fallbackCrowd end
return bestPoint, bestCrowd
end
-- a spot well outside the blast of every explosive zombie (they run at ~15 studs/s and go off in chains; two blasts at 9 and 15 studs
-- took 100 health in a tenth of a second): level with us, floor under it if there is floor under us, few mobs around it, no skeleton
-- line, and as far from the explosives as the rings allow. Nil when nowhere is better than here.
local function boomSpot(w, danger)
local here = w.me.pos
local booms, nearest = {}, nil
for _, m in ipairs(w.mobs) do
if m.class.Explosive and math.abs(m.pos.Y - here.Y) <= 60 then
booms[#booms + 1] = m
if not nearest or m.dist3 < nearest.dist3 then nearest = m end
end
end
if not nearest then return nil end
local function boomGap(point)
local gap = math.huge
for _, m in ipairs(booms) do
gap = math.min(gap, (m.pos - point).Magnitude)
end
return gap
end
local hereGap = boomGap(here)
local away = flat(here - nearest.pos)
away = away.Magnitude > 0.5 and away.Unit or Vector3.new(1, 0, 0)
local needGround = w.ground ~= nil and w.ground(here)
local bestPoint, bestScore
for _, distance in ipairs({ danger + 6, danger + 18, danger + 34, danger + 54 }) do
for _, angle in ipairs(STEP_ANGLES) do
local point = here + rotateY(away, angle) * distance
if not Kit.IsLethal(point) and (not needGround or w.ground(point)) then
local gap = boomGap(point)
if gap > hereGap + 6 then
local crowd = 0
for _, m in ipairs(w.mobs) do
if not m.class.Pinata and not m.class.Explosive and (m.pos - point).Magnitude < 14 then
crowd += 1
end
end
-- (a gap past the danger distance is what matters; beyond it only the crowd and the lines count)
local score = crowd * 10
+ swingExposureAt(w, point) * 25
+ shooterSightAt(w, point) * 8
- math.min(gap, danger + 20) * 1.5
+ distance * 0.03
if not bestScore or score < bestScore then
bestPoint, bestScore = point, score
end
end
end
end
end
return bestPoint, nearest
end
-- where to shoot the Chicken Trojan from: in the air and about 34 studs off so the horde it releases has to climb and run,
-- but only from a spot with a clear line to it (the arena has stalactites and the like that eat bullets), and not from
-- a spot that already failed to damage it
local PINATA_HOLDS = { 46, 38, 54, 30, 16, 0 }
local PINATA_ANGLES = { 0, 40, -40, 80, -80, 120, -120, 160, -160 }
local function pinataSpot(w, mem, boom)
local away = flat(w.me.pos - boom.pos)
away = away.Magnitude > 0.1 and away.Unit or Vector3.new(0, 0, 1)
local target = boom.pos + Vector3.new(0, 1.2, 0)
local heights = { rage.TrojanHeight or 22, 10, 30, 0 }
-- a launcher's blast would reach us from the close spots (and from the one on top of it)
local minHold = (w.gun and w.gun.Projectile) and ((w.gun.Projectile.Radius or 14) + 3) or 0
local bestPoint, bestScore
for heightIndex, height in ipairs(heights) do
for holdIndex, hold in ipairs(PINATA_HOLDS) do
if hold < minHold then continue end
for _, angle in ipairs(hold == 0 and { 0 } or PINATA_ANGLES) do
local point = boom.pos + rotateY(away, angle) * hold + Vector3.new(0, height, 0)
if not Kit.IsLethal(point) and (not w.sight or w.sight(point + Vector3.new(0, 1.5, 0), target)) then
local score = exposureAt(point, boom, w.mobs) * 10
+ (heightIndex - 1) * 4
+ (holdIndex - 1) * 2
+ math.abs(angle) * 0.01
-- (when it is about to pop, standing on it means the horde spawns on us: a close spot only if nothing farther can see it)
if boom.hp and boom.hp <= (rage.PinataPopHp or 100) and hold < 30 then
score += 30
end
for _, bad in ipairs(mem.badShootSpots or {}) do
if (bad - point).Magnitude < 10 then
score += 40
end
end
if not bestScore or score < bestScore then
bestPoint, bestScore = point, score
end
end
end
end
-- a spot at the preferred height is good enough, the lower ones are only there for when it is all blocked
if bestPoint and heightIndex == 1 then break end
end
return bestPoint
end
-- the plan R.Snipe fires: a launcher's shell needs its arc, a hitscan gun just a line
local function snipePlan(w, target, safe)
return {
Target = target,
Slot = w.gun.Slot,
Item = w.gun.Item,
Safe = safe or 0,
Projectile = w.gun.Projectile,
Fast = w.gun.Fast,
}
end
-- Grenade Launcher: the pack to put a shell into. A shell does 45 on a direct hit and 45 more to everything within 14
-- studs of the blast, so the aim point is the spot, where the pack will be when the shell lands, that catches the most
-- mobs, far enough from us (radius + 3) that the blast cannot reach us.
local function bombardPlan(w, mem)
local gun = w.gun
if rage.Launcher == false or not gun or not gun.Projectile then return nil end
local radius = gun.Projectile.Radius or 14
local safe = radius + 3
local reach = rage.LauncherRange or 70
local hpPct = w.me.hp / math.max(w.me.maxHp, 1) * 100
local crowd = 0
for _, other in ipairs(w.mobs) do
if other.dist3 <= 45 and not other.class.Pinata then
crowd += 1
end
end
local hurt = hpPct < (rage.LauncherLowHp or 50)
local crowded = crowd >= (rage.LauncherCrowd or 10)
local need = rage.LauncherMin or 4
-- hurt, or a crowd on top of us: the fists cost health, so a smaller pack is worth a shell too
if hurt then
need = math.min(need, 2)
elseif crowded then
need = math.min(need, 3)
end
-- the last shells are for the horde: until then they are only fired when hurt or in a crowd
if (gun.Ammo or 0) + (gun.Reserve or 0) <= (rage.LauncherReserve or 8) and not hurt and not crowded then
return nil
end
mem.skip = mem.skip or {}
local best, bestValue, bestPoint
local options = {}
for _, candidate in ipairs(w.mobs) do
local benched = (mem.skip[candidate.rec.Model] and mem.skip[candidate.rec.Model] > w.now)
or (Kit.Reviving[candidate.rec.Model] and Kit.Reviving[candidate.rec.Model] > w.now)
if
not benched
and not candidate.class.Pinata
and not candidate.class.Avoid
and candidate.dist3 >= safe
and candidate.dist3 <= reach
then
local flight = candidate.dist3 / gun.Projectile.Speed
local center = candidate.pos + Vector3.new(candidate.vel.X, 0, candidate.vel.Z) * flight
local value = 0
for _, other in ipairs(w.mobs) do
if not other.class.Pinata and not other.class.Avoid then
local predicted = other.pos
+ Vector3.new(other.vel.X, 0, other.vel.Z) * (other.dist3 / gun.Projectile.Speed)
if (predicted - center).Magnitude <= radius - 2 then
-- the ones that hurt count double: the shell is worth most on them
-- a brute is worth a shell on its own: every swing of it costs 40 health and the fists need nine hits
-- (a skeleton too: its bones cost 25 a throw from 30-88 studs, killing the walkers around it does nothing about that)
value += other.class.Boss and 8 or (other.class.CloseDodge and 4 or (other.class.Shooter and (rage.ShooterValue or 6) or ((other.class.Ranged or other.class.Explosive or (other.class.Threat or 0) >= 2) and 2 or 1)))
end
end
end
if value >= need then options[#options + 1] = { Mob = candidate, Value = value, Point = center } end
end
end
if #options == 0 then return nil end
table.sort(options, function(a, b)
if a.Value ~= b.Value then return a.Value > b.Value end
return a.Mob.dist3 < b.Mob.dist3
end)
-- a pack behind a wall only gets the shell stopped by it (the shot is refused): of the best few, one with a clear line
local pick = options[1]
if w.shotLine then
local from = w.me.pos + Vector3.new(0, 1.5, 0)
for i = 1, math.min(#options, 4) do
if w.shotLine(from, options[i].Point + Vector3.new(0, 1.2, 0)) then
pick = options[i]
break
end
end
end
best, bestValue, bestPoint = pick.Mob, pick.Value, pick.Point
return best, { Aim = bestPoint + Vector3.new(0, 1.2, 0), Value = bestValue }
end
B.BombardPlan = bombardPlan
-- the pinata being shot keeps the gun in hand and on target through dodges and hops: swapping to the fists and back
-- costs a second and a shot every time, which is how the Trojan used to take forever to pop
local function gunLockPlan(w, mem)
if
rage.GunLock == false
or not mem.trojanGo
or mem.pinataNoGun
or not w.gun
or (w.gun.Ammo or 0) + (w.gun.Reserve or 0) <= 0
then
return nil
end
for _, m in ipairs(w.mobs) do
if m.class.Pinata then return snipePlan(w, m, 0), m end
end
return nil
end
local function evadeSpot(w, dodging, dodgeSet)
local range = rage.EvadeRange or 12
-- somebody with a longer swing (a brute) sets the distance the destination has to keep from everyone
for _, attacker in ipairs(dodging) do
if attacker.class.Reach then range = math.max(range, attacker.class.Reach + 2) end
end
-- a flock or a crowd swinging at once: the next target's spot is inside the pack and straight up is where flyers
-- go anyway, so step sideways and let them string out
if rage.Strafe ~= false then
local flyers = 0
for _, attacker in ipairs(dodging) do
if attacker.class.Flyer then
flyers += 1
end
end
if flyers >= 2 or #dodging >= (rage.StrafeMin or 3) then
local spot = sideStep(w, { clear = range })
if spot then return spot, 'sideways' end
end
end
local bestPoint, bestScore
for _, m in ipairs(w.mobs) do
if not dodgeSet[m] and not m.class.Pinata and not (m.class.Explosive and rage.ExplosivePolicy ~= 'Normal') then
local point, exposure = bestSpot(w, m, w.mobs)
if point then
local clear = true
for _, attacker in ipairs(dodging) do
-- (a brute walks toward us while it swings, about 6 studs in the 0.6 s before the hit)
if
swingDistance(attacker, point)
< (
attacker.class.Area and attacker.class.Area + 2
or (range + (attacker.class.Reach and (rage.BruteWalkMargin or 6) or 0))
)
then
clear = false
break
end
end
local movesEnough = true
for _, attacker in ipairs(dodging) do
if attacker.class.Shooter and (point - w.me.pos).Magnitude < (rage.ShooterMoveMin or 7) then
movesEnough = false
break
end
end
if clear and movesEnough and (not w.ground or w.ground(point)) and not Kit.IsLethal(point) then
local score = (exposure or 0) * 10
+ (point - w.me.pos).Magnitude * 0.03
+ swingExposureAt(w, point, m) * 25
+ shooterSightAt(w, point) * 8
if not bestScore or score < bestScore then
bestPoint, bestScore = point, score
end
end
end
end
end
if bestPoint then return bestPoint, 'to the next target' end
local areaAttackers = {}
for _, attacker in ipairs(dodging) do
if attacker.class.Area then areaAttackers[#areaAttackers + 1] = attacker end
end
if #areaAttackers > 0 then
local away = Vector3.zero
for _, attacker in ipairs(areaAttackers) do
away += flat(w.me.pos - attacker.pos)
end
away = away.Magnitude > 0.1 and away.Unit or Vector3.new(1, 0, 0)
local need = 0
for _, attacker in ipairs(areaAttackers) do
need = math.max(need, attacker.class.Area + 4)
end
local bestWay, bestWayScore
for _, angle in ipairs({ 0, 40, -40, 80, -80, 120, -120, 160 }) do
local direction = rotateY(away, angle)
local point = w.me.pos + direction * need
local safeFromAll = true
for _, attacker in ipairs(areaAttackers) do
if swingDistance(attacker, point) < attacker.class.Area + 2 then
safeFromAll = false
break
end
end
if safeFromAll and (not w.ground or w.ground(point)) and not Kit.IsLethal(point) then
local score = math.abs(angle) * 0.01 + exposureAt(point, nil, w.mobs)
if not bestWayScore or score < bestWayScore then
bestWay, bestWayScore = point, score
end
end
end
if bestWay then return bestWay, 'out of the blast' end
end
-- nowhere clear on this floor plane: a sideways step still beats going up, which flyers just follow (a lone walker
-- cannot reach 13 studs up, so that stays the answer for it)
local flying = false
for _, attacker in ipairs(dodging) do
if attacker.class.Flyer then
flying = true
break
end
end
if rage.Strafe ~= false and (flying or #dodging >= 2) then
local spot = sideStep(w, { clear = range - 4 })
if spot then return spot, 'sideways' end
end
-- a brute walks toward us while it swings, and the room above is often gone (the floor above, floor 11's lava sheet, which
-- clamp a lift to nothing: a brute then hit three times in a row): a long step sideways keeps us out of its reach
local walker = false
for _, attacker in ipairs(dodging) do
if attacker.class.Reach then
walker = true
break
end
end
if walker and rage.Strafe ~= false then
local spot = sideStep(w, { clear = range + (rage.BruteWalkMargin or 6) })
if spot then return spot, 'sideways' end
end
-- never climb out of the arena: with no floor under us already, 'up' only goes further from the fight
if w.ground and not w.ground(w.me.pos) then return w.me.pos + Vector3.new(0, -(rage.EvadeLift or 13), 0), 'down' end
-- a longer swing (brute) needs a higher lift than the usual 13 to end up outside its reach
local lift = rage.EvadeLift or 13
for _, attacker in ipairs(dodging) do
if attacker.class.Reach then
local gap = flat(attacker.pos - w.me.pos).Magnitude
lift = math.max(lift, math.min(22, math.sqrt(math.max(0, range * range - gap * gap)) + 0.5))
end
end
return w.me.pos + Vector3.new(0, lift, 0), 'up'
end
-- while nested, a dodge stays up there: any spot around the nest point that is clear of every attacker
local function nestEvadeSpot(w, dodging, nest)
local range = rage.EvadeRange or 12
local here = w.me.pos
-- flyers follow a nest up, and a flock swings from every side at once: the sideways step works up here too
if rage.Strafe ~= false then
local flyers = 0
for _, attacker in ipairs(dodging) do
if attacker.class.Flyer then
flyers += 1
end
end
if flyers >= 2 or #dodging >= (rage.StrafeMin or 3) then
local spot = sideStep(w, { clear = range })
if spot then return spot, 'sideways' end
end
end
local candidates = { nest.point, nest.point + Vector3.new(0, 14, 0) }
-- a point above us only while we are not already well above the nest point (no creeping up)
if here.Y < nest.point.Y + 12 then candidates[#candidates + 1] = here + Vector3.new(0, rage.EvadeLift or 13, 0) end
for _, angle in ipairs({ 0, 45, 90, 135, 180, -135, -90, -45 }) do
local out = rotateY(Vector3.new(1, 0, 0), angle)
candidates[#candidates + 1] = nest.point + out * 16
candidates[#candidates + 1] = nest.point + out * 16 + Vector3.new(0, 10, 0)
end
local bestPoint, bestScore
for _, point in ipairs(candidates) do
local nearest = math.huge
for _, attacker in ipairs(dodging) do
nearest = math.min(nearest, swingDistance(attacker, point))
end
if nearest >= range and not Kit.IsLethal(point) then
local score = exposureAt(point, nil, w.mobs) * 10 + (point - here).Magnitude * 0.03
if not bestScore or score < bestScore then
bestPoint, bestScore = point, score
end
end
end
if bestPoint then return bestPoint, 'inside the nest' end
-- no creeping upwards: already well above the nest point, the answer is the nest point itself
if here.Y > nest.point.Y + 15 then return nest.point, 'back to the nest' end
return here + Vector3.new(0, rage.EvadeLift or 13, 0), 'up'
end
-- ----------------------------------------------------------------- grenade
-- 75 damage in a 16 stud radius kills every plain zombie it catches, every 30 s. The throw is aimed at where
-- the pack will be when the fuse runs out (they run at us), far enough away that the blast cannot reach us.
local THROW_SPEED, THROW_GRAVITY = 100, 196.2 * 0.375
-- pitch (radians) that drops a shell fired at `speed` with `gravity` on a point `distance` away horizontally and `rise`
-- higher (the flat low arc); the defaults are the grenade's
local function throwPitch(distance, rise, speed, gravity)
speed, gravity = speed or THROW_SPEED, gravity or THROW_GRAVITY
if gravity < 1e-6 then return distance >= 1 and math.atan2(rise, distance) or nil end
local speedSquared = speed * speed
local disc = speedSquared * speedSquared - gravity * (gravity * distance * distance + 2 * rise * speedSquared)
if disc < 0 or distance < 1 then return nil end
return math.atan((speedSquared - math.sqrt(disc)) / (gravity * distance))
end
-- the unit direction to fire in from `origin` to land on `target`, nil when it is out of range
local function launchDirection(origin, target, speed, gravity)
local offset = target - origin
local distance = flat(offset).Magnitude
if distance < 1 then return nil end
local pitch = throwPitch(distance, offset.Y, speed, gravity)
if not pitch then return nil end
return flat(offset).Unit * math.cos(pitch) + Vector3.new(0, math.sin(pitch), 0)
end
B.LaunchDirection = launchDirection
local function grenadePlan(w, mem, fromNest)
if rage.Grenade == false or not w.grenade then return nil end
local info = w.grenade.Info or {}
if w.now - (mem.grenadeAt or -100) < (info.Cooldown or 30) + 1 then return nil end
local radius = (info.ExplosionRadius or 16) - 2
-- the throw is cooked so that the fuse runs out as the grenade lands: the pack only has to be predicted over the flight (and
-- the aim follows it while the grenade cooks)
local lead = rage.GrenadeLead or 1.0
-- nobody close enough to hurt us while we fiddle with the item
for _, m in ipairs(w.mobs) do
if m.dist3 < (rage.GrenadeSafe or 9) then return nil end
end
local best, bestCount, bestModels
for _, candidate in ipairs(w.mobs) do
local center = candidate.pos + Vector3.new(candidate.vel.X, 0, candidate.vel.Z) * lead
local distance = fromNest and (center - w.me.pos).Magnitude or flat(center - w.me.pos).Magnitude
if distance >= radius + 5 and distance <= 75 and (not fromNest or flat(center - w.me.pos).Magnitude >= 8) then
local count = 0
local models = {}
for _, other in ipairs(w.mobs) do
local predicted = other.pos + Vector3.new(other.vel.X, 0, other.vel.Z) * lead
if (predicted - center).Magnitude <= radius and not other.class.Boss then
count += 1
models[other.rec.Model] = true
end
end
local wanted = fromNest and (rage.NestGrenadeMin or 5) or (rage.GrenadeMin or 4)
-- right after the pinata pops the horde is still coming out of it: the one grenade waits for a big cluster
if mem.hordeAt and w.now - mem.hordeAt < (rage.HordeWindow or 7) then
wanted = math.max(wanted, rage.HordeGrenadeMin or 8)
end
if count >= wanted and (not bestCount or count > bestCount) then
best, bestCount, bestModels = center, count, models
end
end
end
if not best then return nil end
return {
Slot = w.grenade.Slot,
Item = w.grenade.Item,
Point = best,
Count = bestCount,
Models = bestModels,
Fuse = info.DetonateDelay or 2,
Cook = info.CanCook == true,
Radius = info.ExplosionRadius or 16,
}
end
B.GrenadePlan = grenadePlan
-- ------------------------------------------------------------------- nest
-- A horde, or being hurt in a crowd: go far above everything that walks. Walkers cannot reach that high and the
-- ranged ones (brutes, skeletons) are out of range, so grenades and the gun do the killing from up there and the
-- fists only deal with what flies up to us.
local function nestOf(w, mem, hpPct)
if rage.Nest == false then
mem.nest = nil
return nil
end
local near, grounded, sum = 0, 0, Vector3.zero
local allSum = Vector3.zero
local hpSum, reachers, flyersNear, shooters = 0, 0, 0, 0
for _, m in ipairs(w.mobs) do
-- mobs on another floor cannot be reached from here and cannot reach us: they are no horde
if m.dist3 <= 90 and not m.class.Pinata and math.abs(m.pos.Y - w.me.pos.Y) <= 50 then
near += 1
allSum += m.pos
hpSum += m.hp or 75
if m.class.Shooter and m.dist3 <= 70 then
shooters += 1
end
if m.class.Flyer and m.dist3 <= 60 then
flyersNear += 1
end
-- what can still hurt someone hovering over the pack: flyers, anything with a ranged or area attack
if m.class.Flyer or m.class.Ranged or m.class.Explosive or m.class.Boss or m.class.Charger then
reachers += 1
end
if not m.class.Flyer then
grounded += 1
sum += m.pos
end
end
end
local now = w.now
if mem.nest then
-- a pile of plain walkers cannot touch someone hovering 6 studs over them: the fists do that job from there,
-- sitting 40 studs up only waits for a grenade
if
near <= (rage.NestExit or 8)
or reachers < (rage.NestThreats or 3)
or now - mem.nest.since > (rage.NestMax or 240)
then
mem.nest = nil
return nil
end
-- a flock follows a nest up and swings at it from every side: it is no refuge from flyers, the sideways steps
-- and the aura are
-- bones reach a nest from 30 studs and more (floor 12: dead up there with seven skeletons around)
if shooters > (rage.NestMaxShooters or 1) then
mem.nest = nil
mem.nestBanUntil = now + (rage.NestShooterBan or 40)
return nil
end
if flyersNear > (rage.NestMaxFlyers or 3) + 2 then
mem.nest = nil
mem.nestBanUntil = now + (rage.NestFlyerBan or 25)
return nil
end
-- sitting up there is only worth it while something dies: a nest that has not killed or hurt anything for a
-- while is a stalemate, so leave it and fight (sideways steps and close-first targeting) for a minute
local progress = mem.nest.progress
if not progress or hpSum < progress.hp - 15 or near < progress.near then
mem.nest.progress = { at = now, hp = hpSum, near = near }
elseif now - progress.at > (rage.NestPatience or 20) then
mem.nest = nil
mem.nestBanUntil = now + (rage.NestBan or 75)
Kit.Notify('nest', 'Rage', 'nothing dies up here: coming down to fight', 3, true)
return nil
end
else
local horde = near >= (rage.NestHorde or 16)
local panic = hpPct < (rage.NestBelow or 45) and near >= (rage.NestPanicMobs or 7)
if
not (horde or panic)
or grounded < 3
or reachers < (rage.NestThreats or 3)
or (mem.nestBanUntil or 0) > now
or flyersNear > (rage.NestMaxFlyers or 3)
or shooters > (rage.NestMaxShooters or 1)
then
return nil
end
mem.nest = {
since = now,
reason = horde and 'horde' or 'low health',
progress = { at = now, hp = hpSum, near = near },
}
end
local center = grounded > 0 and sum / grounded or (near > 0 and allSum / near or mem.nest.center or w.me.pos)
mem.nest.center = center
-- stay on the side we are already on, 20-odd studs off to the side and well above, but only where the bullets get
-- through: 40 studs up is inside the next floor's slab, where nothing can be shot (the 'nothing dies up here' stalls)
local side = flat(w.me.pos - center)
side = side.Magnitude > 1 and side.Unit or Vector3.new(1, 0, 0)
local aim = center + Vector3.new(0, 1.2, 0)
local point
for _, height in ipairs({ rage.NestHeight or 40, 30, 22, 15 }) do
for _, offset in ipairs({ rage.NestOffset or 22, 12 }) do
local candidate = center + side * offset + Vector3.new(0, height, 0)
if
(not w.ceilingY or candidate.Y <= w.ceilingY)
and not Kit.IsLethal(candidate)
and (not w.sight or w.sight(candidate + Vector3.new(0, 1.5, 0), aim))
then
point = candidate
break
end
end
if point then break end
end
if not point then
-- no spot up there with a line to the pack: a nest that cannot shoot is no nest
mem.nest = nil
mem.nestBanUntil = now + (rage.NestBlindBan or 20)
return nil
end
mem.nest.point = point
return { Center = center, Point = point, Near = near, Grounded = grounded }
end
-- pure decision for rage mode
function B.DecideRage(w, mem)
local act = { State = 'idle', Reason = '' }
local me, now = w.me, w.now
local hpPct = me.hp / math.max(me.maxHp, 1) * 100
-- attacks that already started: the hit lands about half a second later on whoever is in reach then
local dodging, dodgeSet = {}, {}
if rage.Evade ~= false then
local windup = w.windup or { Min = 0.38, Max = 0.95 }
local hurt = hpPct <= (rage.EvadeBelow or 85)
-- the swings we can still land before each hit are shared out, earliest hit first: a weak mob is only worth
-- finishing while there is time for everyone ahead of it in the queue too, the rest are dodged
local queue = {}
for _, m in ipairs(w.mobs) do
local a = m.attack
local own = a and w.windupFor and w.windupFor(a.Id) or windup
-- below the health threshold everything is dodged; a brute's swing (40) is dodged at any health
if
a
and (hurt or (m.class.CloseDodge and rage.DodgeBrutes ~= false) or (m.class.AlwaysDodge and rage.DodgeReapers ~= false))
and now - a.At <= own.Max + (own.Slack or 0.15)
then
if m.class.Name == 'Ghost' and m.dist3 <= (rage.GhostStand or 9) and (m.hp or 30) <= 60 then
-- (hopping away from a ghost only brings it along: one swing kills it)
m.finishNow = true
else
queue[#queue + 1] = { mob = m, deadline = a.At + own.Min }
end
end
end
table.sort(queue, function(x, y) return x.deadline < y.deadline end)
local used = 0
for _, entry in ipairs(queue) do
local m = entry.mob
-- a ranged mob is hunted rather than dodged, except a brute near us. A brute is plain melee (measured frame by
-- frame: it plants itself, the swing lands 0.6 s after the announcement on whoever is within about 6-7 studs,
-- 40 damage, a swing every ~1.4 s; the 'hits from 19 studs' seen earlier were distances taken after the bot had
-- already hopped away). Punching it point blank cost 120 health in two seconds, so its swing is dodged like any
-- other and the bot steps back in as soon as the swing has landed (Windup.ById Slack 0.05).
local closeBrute = m.class.CloseDodge
and rage.DodgeBrutes ~= false
and m.dist3 <= (rage.BruteDodgeRange or 24)
if
m.class.Ranged
and rage.RangedFirst ~= false
and not closeBrute
and not m.class.Shooter
and exposureAt(m.pos, m, w.mobs) <= 3
then
m.finishNow = true
continue
end
local budget = math.max(0, math.floor((entry.deadline - now - 0.12) / 0.2))
local need = m.hp and math.ceil(m.hp / 30) or math.huge
if m.dist3 <= 70 and used + need <= budget then
used += need
m.finishNow = true
else
dodging[#dodging + 1] = m
dodgeSet[m] = true
end
end
end
-- mobs standing inside an attacker's circle are not worth hopping to until its swing is over either
local zone = {}
if #dodging > 0 then
local keepOut = (rage.EvadeRange or 12) - 2
for _, m in ipairs(w.mobs) do
if not dodgeSet[m] and not (m.class.Ranged and rage.RangedFirst ~= false) then
for _, attacker in ipairs(dodging) do
if
attacker.class.Area and flat(m.pos - attacker.pos).Magnitude < attacker.class.Area
or (m.pos - attacker.pos).Magnitude < keepOut
then
zone[m] = true
break
end
end
end
end
end
-- a fight that goes nowhere (life 26: a lone brute standing in the arena's player barrier, swinging at nothing, dodged for a minute
-- while the kill count stood still): after StallShootAfter seconds without the mobs' health going down, the gun finishes the few
-- that are left from range
do
local count, total = 0, 0
for _, m in ipairs(w.mobs) do
if not m.class.Pinata and not m.class.Avoid then
count += 1
total += m.hp or 75
end
end
local pr = mem.fightProgress
if not pr or count == 0 or count < pr.count or total < pr.total - 5 then
mem.fightProgress = { count = count, total = total, at = now }
mem.stallShoot = false
elseif count <= (rage.StallShootMax or 5) and now - pr.at > (rage.StallShootAfter or 20) then
if not mem.stallShoot then
Kit.Notify('stall', 'Rage', 'the fight is going nowhere: the gun takes over', 2, true)
end
mem.stallShoot = true
end
end
-- Chicken Trojan: breaking it releases a horde, so be ready first (grenade back, health high), then break it from range
local pinata, others = nil, 0
for _, m in ipairs(w.mobs) do
if m.class.Pinata then
pinata = m
else
others += 1
end
end
-- the moment it pops: the horde starts to come out of it
if pinata then
mem.pinataSeenAt = now
mem.pinataPos = pinata.pos
-- a second pinata (another floor or round): the horde bookkeeping starts again
if mem.hordeAt and now - mem.hordeAt > 30 then
mem.hordeAt, mem.hordeSpot, mem.hordeCount, mem.hordeGrowAt = nil, nil, nil, nil
end
elseif
mem.pinataSeenAt
and not mem.hordeAt
and now - mem.pinataSeenAt < 3
and (mem.trojanGo or rage.HordeWait ~= false)
then
mem.hordeAt = mem.pinataSeenAt
mem.hordeStepPending = rage.HordeWait == false
Kit.Notify('horde', 'Rage', 'the pinata popped: the horde is out', 3, true)
end
-- the horde comes out of the pinata over several seconds (life: 10, 13, 18, 20 mobs in the first four) and a bot that attacks while it is
-- still spawning is surrounded by the rest (user: 'wait for all the mobs to spawn then start attacking'). So after the pop nothing is
-- attacked: the bot goes far from the pop point and a little up, and waits until the mob count has stopped growing for HordeSettle
-- seconds (at least HordeMinWait after the pop, at most HordeWaitMax). A swing that has started (dodging) is still answered first.
-- Only the ground horde waits: the flyers in it (reapers hit for 50, ghosts) are in the air within about three seconds and are fought as they
-- arrive (a bot that stood and waited for them was dead four seconds after the pop).
local hordeHold, hordeCount, hordeSince = false, 0, 0
if rage.HordeWait ~= false and mem.hordeAt and not pinata and #dodging == 0 then
hordeSince = now - mem.hordeAt
hordeCount = #w.mobs
if hordeCount > (mem.hordeCount or 0) then
mem.hordeCount, mem.hordeGrowAt = hordeCount, now
end
local settled = hordeSince >= (rage.HordeMinWait or 4)
and now - (mem.hordeGrowAt or mem.hordeAt) >= (rage.HordeSettle or 2.5)
hordeHold = hordeSince < (rage.HordeWaitMax or 20) and not settled
if hordeHold and mem.hordeSpot == nil then mem.hordeSpot = hordeWaitSpot(w, mem) or false end
end
if mem.hordeStepPending then
mem.hordeStepPending = nil
if rage.HordeStep ~= false then
local spot = sideStep(
w,
{
distance = rage.HordeStepDistance or 44,
clear = ((w.gun and w.gun.Projectile and w.gun.Projectile.Radius) or 10) + 4,
}
)
if spot then
mem.stepUntil = now + (rage.StepHold or 1.2) + 1
act.State, act.Evade, act.Teleport = 'evade', true, spot
act.Reason = 'the horde is out: moving to bombard range'
act.Face = (w.mobs[1] and w.mobs[1].pos or spot) + Vector3.new(0, 1.2, 0)
return act
end
end
end
-- explosive zombies: nothing is worth standing within reach of one, a plain zombie on top of us included (lives 18, 20 and 21 ended
-- with 150, 150 and 100 health gone in under two seconds, each time among explosive zombies going off together). Only while there is a
-- way to kill them from range: a gun with ammo, else they are fought by the old rules.
if rage.ExplosiveFlee ~= false and rage.ExplosivePolicy ~= 'Normal' then
local danger = rage.ExplosiveDanger or 28
local shooter = w.gun ~= nil and (w.gun.Ammo or 0) + (w.gun.Reserve or 0) > 0
local close
if shooter then
for _, m in ipairs(w.mobs) do
if m.class.Explosive and m.dist3 < danger and math.abs(m.pos.Y - me.pos.Y) <= 60 then
close = m
break
end
end
end
if close then
-- not for ever: five hops in eight seconds that did not thin them out leave it to the fight rules for a while
local recent = 0
mem.boomFlees = mem.boomFlees or {}
for i = #mem.boomFlees, 1, -1 do
if now - mem.boomFlees[i] > 8 then
table.remove(mem.boomFlees, i)
else
recent += 1
end
end
if now >= (mem.boomQuietUntil or 0) and now - (mem.boomFleeAt or -9) >= (rage.ExplosiveFleeGap or 0.25) then
if recent >= 5 then
mem.boomQuietUntil = now + 5
mem.boomFlees = {}
else
local spot = boomSpot(w, danger)
if spot then
mem.boomFleeAt = now
mem.boomFlees[#mem.boomFlees + 1] = now
mem.gren = nil
Kit.BoomFlees = (Kit.BoomFlees or 0) + 1
act.State, act.Evade, act.Teleport = 'evade', true, spot
act.Reason =
string.format('explosive zombie %dm away: moving out of its blast', math.floor(close.dist3))
act.Face = close.pos + Vector3.new(0, 1.2, 0)
return act
end
end
end
end
end
if pinata and others == 0 and not mem.trojanGo then
local info = w.grenade and w.grenade.Info or nil
local grenadeIn = 0
if w.grenade then
grenadeIn = math.max(0, ((info and info.Cooldown) or 30) + 1 - (now - (mem.grenadeAt or -100)))
end
mem.trojanSince = mem.trojanSince or now
local waited = now - mem.trojanSince
local healKnown = false
for _, drop in ipairs(w.drops or {}) do
if drop.Label == '' or Kit.IsHealLabel(drop.Label) then healKnown = true end
end
if (grenadeIn <= 0 and hpPct >= (rage.TrojanMinHp or 80)) or waited >= (rage.TrojanWait or 75) then
mem.trojanGo = true
elseif not (healKnown and hpPct < 95) then
act.State = 'wait'
act.Reason = string.format(
'getting ready for the Chicken Trojan: grenade back in %ds, health %d%% (needs %d%%)',
math.ceil(grenadeIn),
math.floor(hpPct),
rage.TrojanMinHp or 80
)
return act
end
end
-- the Giant Chombie: its leap-slam lands on our position (SlamEffect announces where and when), and it lies on the ground for
-- a moment after the third one. It is shot from range the rest of the time and punched only in that window.
local bossWindow = false
for _, slam in ipairs(w.slamLog or w.slams or {}) do
if slam.Vulnerable and now >= slam.HitAt - 0.2 and now <= slam.HitAt + (rage.BossWindow or 6) then
bossWindow = true
end
end
mem.bossWindow = bossWindow
local gunReady = rage.ExplosivePolicy == 'Snipe'
and w.gun ~= nil
and (w.gun.Ammo or 0) + (w.gun.Reserve or 0) > 0
and not mem.pinataNoGun
local normal, explosive = {}, {}
for _, m in ipairs(w.mobs) do
if m.class.Pinata and not (mem.trojanGo and not gunReady) then
-- held back: shot from range once we are ready, punched only when there is no gun
elseif mem.nest and (not m.class.Flyer or m.dist3 > 18) then
-- in the nest: walkers are left to the grenade and the gun
elseif m.class.Boss and not bossWindow and w.gun and (w.gun.Ammo or 0) + (w.gun.Reserve or 0) > 0 then
-- shot from range (the snipe step below), not punched
elseif dodgeSet[m] or zone[m] then
-- mid-swing, or next to someone mid-swing: left alone until the swing is over
elseif m.class.Explosive then
if rage.ExplosivePolicy ~= 'Skip' then explosive[#explosive + 1] = m end
else
normal[#normal + 1] = m
end
end
if hordeHold then
local fliers = {}
for _, m in ipairs(normal) do
if m.class.Flyer then fliers[#fliers + 1] = m end
end
normal, explosive = fliers, {}
if #fliers == 0 then
act.State = 'wait'
act.Reason = string.format(
'horde: waiting for it to finish spawning (%d mobs, %ds)',
hordeCount,
math.floor(hordeSince)
)
if mem.hordeSpot and (me.pos - mem.hordeSpot).Magnitude > 8 then
act.Teleport, act.Force = mem.hordeSpot, true
end
act.Face = (mem.pinataPos or me.pos) + Vector3.new(0, 1.2, 0)
return act
end
end
for _, m in ipairs(w.mobs) do
-- a pinata we are not ready for yet does not count as a fight going on
if not (m.class.Pinata and (not mem.trojanGo or m.dist3 > 70)) then
mem.lastMobAt = now
break
end
end
local pool = normal
local explosivePhase = false
if rage.ExplosivePolicy == 'Normal' then
pool = {}
for _, m in ipairs(w.mobs) do
if not dodgeSet[m] and not zone[m] then pool[#pool + 1] = m end
end
elseif
#pool == 0
and #explosive > 0
and (
hpPct >= rage.MinHpExplosive
or (mem.explosiveWaitSince and now - mem.explosiveWaitSince > (rage.ExplosiveWaitMax or 25))
)
then
pool = explosive
explosivePhase = true
end
-- the wait for health only lasts so long (no gun, no heals: waiting for 80% never ends)
if #explosive == 0 or #normal > 0 then mem.explosiveWaitSince = nil end
-- remember a place no mob can reach (where the run started, away from every mob) to fall back to
if not mem.safeSpot then
local crowded = false
for _, m in ipairs(w.mobs) do
if m.dist3 < 60 then
crowded = true
break
end
end
if not crowded then mem.safeSpot = me.pos end
end
-- low health: go back to the safe spot and stop; health does not come back
if mem.safeSpot and rage.RetreatPct and rage.RetreatPct > 0 and hpPct < rage.RetreatPct then
if (me.pos - mem.safeSpot).Magnitude > 4 then
act.State, act.Reason, act.Teleport =
'retreat', string.format('health %d%%: back to the safe spot', math.floor(hpPct)), mem.safeSpot
else
act.State, act.Reason, act.Stop =
'stop', string.format('health %d%%: stopped on the safe spot', math.floor(hpPct)), true
end
return act
end
-- boss slams: the announcement carries the impact point and radius, so just be somewhere else when it lands
for _, slam in ipairs(w.slams or {}) do
local inside = flat(me.pos - slam.Pos).Magnitude < slam.Radius + 3
if inside and now <= slam.HitAt + 0.35 then
local away = flat(me.pos - slam.Pos)
away = away.Magnitude > 0.1 and away.Unit or Vector3.new(1, 0, 0)
local clearance = slam.Radius + 7
local bestPoint, bestScore
for _, angle in ipairs({ 0, 30, -30, 60, -60, 90, -90, 135, -135, 180 }) do
local point = slam.Pos + rotateY(away, angle) * clearance + Vector3.new(0, me.pos.Y - slam.Pos.Y, 0)
if (not w.ground or w.ground(point)) and not Kit.IsLethal(point) then
local score = math.abs(angle) * 0.01 + (point - me.pos).Magnitude * 0.02
if not bestScore or score < bestScore then
bestPoint, bestScore = point, score
end
end
end
mem.gren = nil
act.State, act.Evade = 'evade', true
act.Teleport = bestPoint or (me.pos + Vector3.new(0, 30, 0))
act.Reason = string.format(
'boss slam lands in %.1fs (radius %d)',
math.max(0, slam.HitAt - now),
math.floor(slam.Radius)
)
return act
end
end
-- too many on top of us: leave instead of trading blows. A step sideways, far from all of them, then only what
-- arrives first is fought, so the crowd comes in strung out instead of all at once
local lockPlan, lockMob = gunLockPlan(w, mem)
mem.pressure = pressureOf(w)
local escapeAt = rage.EscapeAt or 6
if hpPct < (rage.LowHpEscapePct or 45) then escapeAt = math.min(escapeAt, rage.LowHpEscapeAt or 2.5) end
local escaping = rage.Escape ~= false
and not mem.nest
and mem.pressure >= escapeAt
and now - (mem.escapeAt or -10) >= (rage.EscapeGap or 0.7)
and (mem.escapeQuietUntil or 0) <= now
local escapeTimes = mem.escapeTimes or {}
mem.escapeTimes = escapeTimes
if escaping then
-- livelock guard: five escapes in eight seconds with nothing within 15 studs means the pressure comes from far
-- away swings that stepping aside does not help against; stop stepping for a while and fight
local recent = 0
for i = #escapeTimes, 1, -1 do
if now - escapeTimes[i] > 8 then
table.remove(escapeTimes, i)
else
recent += 1
end
end
-- ...and so does stepping away over and over while the crowd around us is not getting any smaller: that is not
-- escaping, that is never fighting. Stand and fight (the grenade and the aura do the work) for a few seconds
local crowdHp = 0
for _, m in ipairs(w.mobs) do
if m.dist3 <= 40 then
crowdHp += m.hp or 75
end
end
local progress = mem.escapeProgress
if not progress or crowdHp < progress.hp - 20 then
progress = { at = now, hp = crowdHp }
mem.escapeProgress = progress
end
if (recent >= 5 and (w.mobs[1] == nil or w.mobs[1].dist3 > 15)) or (recent >= 4 and now - progress.at > 8) then
mem.escapeQuietUntil = now + (rage.EscapeQuiet or 7)
mem.escapeProgress = { at = now, hp = crowdHp }
escaping = false
end
end
if escaping then
local spot = sideStep(w, { distance = rage.EscapeDistance or 30 })
if spot then
mem.gren = nil
escapeTimes[#escapeTimes + 1] = now
mem.escapeAt, mem.stepUntil = now, now + (rage.StepHold or 1.2)
Kit.Escapes = (Kit.Escapes or 0) + 1
act.State, act.Evade, act.Teleport = 'escape', true, spot
act.Reason = string.format('pressure %.1f: stepping out of the crowd', mem.pressure)
act.Face = (w.mobs[1] and w.mobs[1].pos or spot) + Vector3.new(0, 1.2, 0)
if lockPlan then
act.Snipe, act.Force, act.Face = lockPlan, true, lockMob.pos + Vector3.new(0, 1.2, 0)
end
return act
end
end
if #dodging > 0 then
local range = rage.EvadeRange or 12
local threatened = false
for _, m in ipairs(dodging) do
-- (a skeleton throws from up to 90 studs; 35 of 35 announced throws missed when the bot moved 6+ studs, 3 of 5 hit when it stood)
if m.class.Shooter then
if
swingDistance(m, me.pos) < (rage.ShooterRange or 90)
and (not w.sight or w.sight(m.pos + Vector3.new(0, 1.2, 0), me.pos + Vector3.new(0, 1.5, 0)))
then
threatened = true
break
end
elseif swingDistance(m, me.pos) < swingReach(m, range) then
threatened = true
break
end
end
local plural = #dodging == 1 and '' or 's'
if threatened then
mem.gren = nil
local destination, how
if mem.nest and mem.nest.point then
destination, how = nestEvadeSpot(w, dodging, mem.nest)
else
destination, how = evadeSpot(w, dodging, dodgeSet)
end
act.State, act.Evade, act.Teleport = 'evade', true, destination
act.Reason = string.format('dodging %d attack%s (%s)', #dodging, plural, how)
act.Face = dodging[1].pos + Vector3.new(0, 1.2, 0)
if how == 'sideways' then mem.stepUntil = now + (rage.StepHold or 1.2) end
if lockPlan then
act.Snipe, act.Force, act.Face = lockPlan, true, lockMob.pos + Vector3.new(0, 1.2, 0)
end
return act
elseif #pool == 0 then
act.State, act.Evade = 'evade', true
act.Reason = string.format('letting %d attack%s pass', #dodging, plural)
if lockPlan then
act.Snipe, act.Force, act.Face = lockPlan, true, lockMob.pos + Vector3.new(0, 1.2, 0)
end
return act
end
end
-- pickups that cannot wait, a drop is gone after 20 s: a heal when badly hurt, and a weapon crate while no rocket gun is held
-- (every crate is another look at the Grenade Launcher / RPG). Not into the thick of the pack, unless there is nothing to lose.
if rage.Collect and rage.Collect ~= 'Off' then
local needHeal = hpPct < (rage.HealFirstBelow or 55)
local hunting = rage.LauncherHunt ~= false and rage.ClaimWeapon ~= false and not (w.gun and w.gun.Projectile)
if needHeal or hunting then
local bestDrop, bestDistance
for _, drop in ipairs(w.drops or {}) do
local isCrate = drop.Label == 'Weapon'
local wanted = (isCrate and hunting and drop.Prompt ~= nil)
or (not isCrate and needHeal and (drop.Label == '' or Kit.IsHealLabel(drop.Label)))
if wanted then
local key = 'drop:' .. tostring(math.floor(drop.Pos.X)) .. ',' .. tostring(math.floor(drop.Pos.Z))
local blocked = mem.blocked[key] and mem.blocked[key] > now
local distance = (drop.Pos - me.pos).Magnitude
local tries = claimTriesOf(mem, key)
local exposure = exposureAt(drop.Pos, nil, w.mobs)
+ swingExposureAt(w, drop.Pos) * 2
+ shooterSightAt(w, drop.Pos) * (rage.CollectShooterWeight or 1.5)
local boomClose = rage.ExplosiveFlee ~= false and boomNear(w, drop.Pos, rage.ExplosiveDanger or 28)
if
not blocked
and not boomClose
and (distance > 2.5 or (isCrate and tries < 3))
and distance <= (rage.CollectRange or 150)
and (exposure <= 6 or hpPct < 25)
and (not bestDistance or distance < bestDistance)
then
bestDrop, bestDistance = drop, distance
drop.Key = key
end
end
end
if bestDrop then
act.State = 'collect'
if bestDrop.Label == 'Weapon' and bestDistance <= 6 then
act.Claim = { Prompt = bestDrop.Prompt, Key = bestDrop.Key }
act.Reason = 'claiming the weapon drop: before anything else'
else
act.Teleport, act.GoalKey = bestDrop.Pos, bestDrop.Key
act.Reason = string.format(
'picking up %s (%dm), health %d%%: before anything else',
bestDrop.Label ~= '' and bestDrop.Label or 'a heal',
math.floor(bestDistance),
math.floor(hpPct)
)
end
return act
end
end
end
-- a throw that is under way keeps going; otherwise look for a pack worth the grenade
if mem.gren then
act.State, act.Reason, act.Grenade = 'grenade', 'throwing the grenade', mem.gren.Plan
return act
end
local nest = nestOf(w, mem, hpPct)
if nest then
-- 1. a pack worth the grenade, lobbed down from above
local plan = grenadePlan(w, mem, true)
if plan then
mem.gren = { Stage = 'equip', T = now, Plan = plan }
act.State, act.Reason, act.Grenade = 'grenade', string.format('nest: grenade on %d mobs', plan.Count), plan
return act
end
-- anything flying at us is dealt with by the normal fight below
local flyerClose = false
for _, m in ipairs(w.mobs) do
if m.class.Flyer and m.dist3 <= 14 then
flyerClose = true
break
end
end
if not flyerClose then
-- 2. the gun, ranged mobs first
if w.gun and (w.gun.Ammo or 0) + (w.gun.Reserve or 0) > 0 then
mem.skip = mem.skip or {}
local pick, pickScore
for _, m in ipairs(w.mobs) do
local benched = (mem.skip[m.rec.Model] and mem.skip[m.rec.Model] > now)
if
not benched
and not m.class.Pinata
and not m.class.Flyer
and m.dist3 <= 50
and (not w.gun.Projectile or m.dist3 >= (w.gun.Projectile.Radius or 14) + 3)
then
local score = m.dist3 - (m.class.Ranged and 100 or 0) - (m.class.Explosive and 40 or 0)
if not pickScore or score < pickScore then
pick, pickScore = m, score
end
end
end
if pick then
local watch = mem.snipeWatch
if not watch or watch.model ~= pick.rec.Model then
mem.snipeWatch = { model = pick.rec.Model, hp = pick.hp, since = now }
elseif pick.hp and watch.hp and pick.hp < watch.hp - 0.5 then
watch.hp, watch.since = pick.hp, now
elseif now - watch.since > 2.2 then
mem.skip[pick.rec.Model] = now + 6
mem.snipeWatch = nil
pick = nil
end
end
if pick then
act.State = 'snipe'
act.Reason = string.format(
'nest (%s): shooting %s from %dm',
mem.nest.reason or '?',
pick.rec.Model.Name,
math.floor(pick.dist3)
)
act.Snipe = snipePlan(w, pick, 0)
act.Face = pick.pos + Vector3.new(0, 1.2, 0)
if (me.pos - nest.Point).Magnitude > 10 then act.Teleport = nest.Point end
return act
end
end
-- 3. nothing to throw or shoot: get to the nest and wait for the grenade to come back
act.State = 'nest'
act.Reason =
string.format('nest (%s): %d mobs around, waiting for the grenade', mem.nest.reason or '?', nest.Near)
if (me.pos - nest.Point).Magnitude > 10 then act.Teleport = nest.Point end
return act
end
end
-- kill order: flyers come first, the gun branch below waits while one is within FlyerFirstRange (life 45: two reapers, 50 each, hit
-- while the launcher was shooting an explosive 44 m away). Not during the pinata phase, and not for longer than FlyerFirstMax in a row
local flyerFirst = false
if rage.KillOrder ~= false and not (pinata and mem.trojanGo) then
mem.skip = mem.skip or {}
local range = rage.FlyerFirstRange or 34
local found = false
for _, m in ipairs(w.mobs) do
if m.class.Flyer and m.dist3 <= range and not (mem.skip[m.rec.Model] and mem.skip[m.rec.Model] > now) then
found = true
break
end
end
if not found then
mem.flyerFirstSince = nil
else
mem.flyerFirstSince = mem.flyerFirstSince or now
flyerFirst = now - mem.flyerFirstSince <= (rage.FlyerFirstMax or 15)
end
end
-- explosive zombies: shoot them from outside their blast instead of punching them
if
rage.ExplosivePolicy == 'Snipe'
and not flyerFirst
and not w.gunBan
and w.gun
and (w.gun.Ammo or 0) + (w.gun.Reserve or 0) > 0
then
mem.skip = mem.skip or {}
local boom
local relocate = false
-- badly hurt: everything that is not on top of us is shot from a distance instead of punched (a punch costs health)
local shootAll = rage.SnipeAll
or mem.stallShoot
or (rage.LowHpSnipe ~= false and not w.gun.Projectile and hpPct < (rage.LowHpSnipePct or 40))
or (
rage.HordeShoot ~= false
and not w.gun.Projectile
and mem.hordeAt ~= nil
and now - mem.hordeAt < (rage.HordeShootFor or 300)
)
for _, m in ipairs(w.mobs) do
-- SnipeAll also shoots ordinary zombies (uses a lot of ammo: about 7 rounds each)
local benched = (mem.skip[m.rec.Model] and mem.skip[m.rec.Model] > now)
or (Kit.Reviving[m.rec.Model] and Kit.Reviving[m.rec.Model] > now)
-- a brute costs 40 a swing (life 32 died hopping onto one at 75 hp, life 31 and 28 lost hp the same way): when hurt it is shot from range
local hurtBrute = m.class.CloseDodge and hpPct < (rage.BruteGunBelow or 70)
if
(
m.class.Explosive
or m.class.Snipe
or m.class.Boss
or hurtBrute
or (m.class.Pinata and mem.trojanGo and not mem.pinataNoGun)
or shootAll
)
and not benched
and not (m.class.Boss and bossWindow)
then
boom = m
break
end
end
-- nothing explosive or pinata to shoot: the launcher goes for the best pack
local bombard
if not boom and w.gun.Projectile then
boom, bombard = bombardPlan(w, mem)
end
if boom then
-- the one we shoot at has to keep losing health, or it is skipped for a few seconds
local watch = mem.snipeWatch
if not watch or watch.model ~= boom.rec.Model then
mem.snipeWatch = { model = boom.rec.Model, hp = boom.hp, since = now }
elseif boom.hp and watch.hp and boom.hp < watch.hp - 0.5 then
watch.hp, watch.since = boom.hp, now
elseif now - watch.since > (boom.class.Pinata and 4 or 2.2) and boom.dist3 < 60 then
if boom.class.Pinata then
-- the shots from here do nothing (something eats them): remember the spot and shoot from another
mem.badShootSpots = mem.badShootSpots or {}
mem.badShootSpots[#mem.badShootSpots + 1] = me.pos
relocate = true
mem.snipeWatch = { model = boom.rec.Model, hp = boom.hp, since = now }
else
mem.skip[boom.rec.Model] = now + 6
mem.snipeWatch = nil
boom = nil
end
end
end
-- the Trojan takes a few shells and then often stops taking damage (the shells land somewhere it is not): after a few seconds
-- without progress the gun is done with it, the fists pop it, and the shells that are left are there for the horde
if boom and boom.class.Pinata and boom.hp then
local gunTry = mem.pinataGun
if not gunTry then
gunTry = { BestHp = boom.hp, ProgressAt = now }
mem.pinataGun = gunTry
elseif boom.hp < gunTry.BestHp - 3 then
gunTry.BestHp, gunTry.ProgressAt = boom.hp, now
end
if now - gunTry.ProgressAt > (rage.PinataGunPatience or 6) then
mem.pinataNoGun = true
Kit.Notify(
'pinata',
'Rage',
'the shells do nothing to the Trojan: the fists pop it, the shells are kept for the horde',
3,
true
)
boom = nil
end
end
if boom and boom.dist3 <= (boom.class.Pinata and 600 or (rage.SnipeRange or 80)) then
-- something plain already on top of us comes first. Not for the pinata: it is shot to the end, and anything
-- that gets too close is stepped away from (escape and dodge keep the gun up while they hop)
local plainClose = false
for _, m in ipairs(w.mobs) do
-- a swing the dodge step decided to beat by killing the attacker (finishNow) comes first too: the fight step does that,
-- the gun would keep hopping and shooting while it lands
local mustFinish = m.finishNow
and (m.class.Flyer and m.dist3 <= (rage.FlyerLunge or 22) or m.dist3 <= 9)
if
not m.class.Explosive
and m ~= boom
and (m.dist3 < 6 or mustFinish)
and not (boom.class.Pinata and rage.GunLock ~= false)
then
plainClose = true
break
end
end
if not plainClose then
local safe = math.max(Kit.SnipeSafeDistance(), (boom.class.Area or 0) + 4)
if boom.class.Boss then
-- far enough that its leap-slam has to travel (it lands on our position; the dodge hops away while it is in the air)
safe = math.max(safe, rage.BossHold or 34)
end
if w.gun.Projectile then safe = math.max(safe, (w.gun.Projectile.Radius or 14) + 3) end
act.State = 'snipe'
act.Reason = string.format(
'shooting the explosive zombie from %dm (blast %dm)',
math.floor(boom.dist3),
math.floor(Kit.BlastRadius())
)
act.Snipe = snipePlan(w, boom, safe)
act.Face = bombard and bombard.Aim or (boom.pos + Vector3.new(0, 1.2, 0))
if bombard then
-- the aim point already is where the pack will be: no extra lead
act.Snipe.Lead = false
act.Reason = string.format(
'grenade launcher: pack worth %d, %dm away',
bombard.Value,
math.floor(boom.dist3)
)
end
local lineClear = w.shotLine or w.sight
local blocked = lineClear ~= nil
and not lineClear(me.pos + Vector3.new(0, 1.5, 0), boom.pos + Vector3.new(0, 1.2, 0))
-- the shot itself was refused a moment ago (muzzle in a wall, arc into a wall): the same spot is no good
if R.shotBlocked and now - R.shotBlocked.At < 1.5 and R.shotBlocked.Model == boom.rec.Model then
blocked = true
end
-- standing still in a skeleton's line is how both lives ended (four bones in three seconds while sniping): with one in sight the
-- shooting spot is changed every second, to a place out of their lines if there is one
local exposedToShooters = rage.ShooterRelocate ~= false
and shooterSightAt(w, me.pos) > 0
and now - (mem.relocateAt or -99) > (rage.ShooterRelocate or 0.9)
if boom.class.Pinata then
-- a spot with a clear line to it, high up and about 34 studs off (see pinataSpot)
if boom.dist3 < safe + 8 or blocked or boom.dist3 > 55 or relocate then
local spot = pinataSpot(w, mem, boom)
if spot and (spot - me.pos).Magnitude > 3 then
act.Teleport = spot
elseif not spot and boom.dist3 > 55 then
-- no spot passes the sight check at all (only decoration in the way): walk up to it anyway
local away = flat(me.pos - boom.pos)
away = away.Magnitude > 0.1 and away.Unit or Vector3.new(0, 0, 1)
act.Teleport = boom.pos
+ away * PINATA_HOLDS[1]
+ Vector3.new(0, rage.TrojanHeight or 22, 0)
end
end
elseif boom.dist3 < safe + 8 or blocked or exposedToShooters then
-- too close or no clear line: go to a quiet point well outside the blast, with floor and a clear line
local hold = math.min(46, safe + 18)
local away = flat(me.pos - boom.pos)
away = away.Magnitude > 0.1 and away.Unit or Vector3.new(0, 0, 1)
local bestPoint, bestScore
-- walls in the way (floors 7 and 8 are full of them): the search goes higher and closer until it finds a spot with a
-- clear line; shooting down from above the walls is what usually works
local heights = blocked and { 0, 12, 24, 36 } or { 0 }
local holds = blocked and { hold, math.max(safe + 4, hold - 12) } or { hold }
if not blocked or now - (mem.relocSearchAt or -9) >= (rage.RelocateGap or 0.25) then
mem.relocSearchAt = now
for _, lift in ipairs(heights) do
for _, holdDistance in ipairs(holds) do
for _, angle in ipairs({ 0, 40, -40, 80, -80, 120, -120, 160, -160 }) do
local point = boom.pos
+ rotateY(away, angle) * holdDistance
+ Vector3.new(0, lift, 0)
-- (never to the other side of a thin lava sheet: life 40 lifted a shooting spot over floor 11's sheet and touched it twice, 38 each)
if
not (w.ceilingY and point.Y > w.ceilingY)
and not Kit.CrossesSheet(me.pos, point)
and not Kit.LavaNear(point)
then
local okGround = lift > 0 or not w.ground or w.ground(point)
local okSight = (
not lineClear
or lineClear(
point + Vector3.new(0, 1.5, 0),
boom.pos + Vector3.new(0, 1.2, 0)
)
) and (not w.spotFree or w.spotFree(point))
local movesEnough = not exposedToShooters
or (point - me.pos).Magnitude >= (rage.ShooterMoveMin or 7)
if okGround and okSight and movesEnough then
local score = exposureAt(point, boom, w.mobs) * 10
+ math.abs(angle) * 0.01
+ swingExposureAt(w, point, boom) * 25
+ shooterSightAt(w, point) * 30
+ lift * 0.15
if not bestScore or score < bestScore then
bestPoint, bestScore = point, score
end
end
end
end
end
if bestPoint then break end
end
end
act.Teleport = bestPoint
if bestPoint and exposedToShooters then mem.relocateAt = now end
if not bestPoint and blocked and boom.dist3 >= safe + 8 then
-- nowhere with a clear line and it is not close yet: leave it for now
act.State, act.Reason, act.Snipe, act.Face = 'idle', '', nil, nil
end
end
if act.Snipe then return act end
end
end
end
local plan = (not w.spotFree or w.spotFree(me.pos + Vector3.new(0, 1.5, 0))) and grenadePlan(w, mem) or nil
if plan then
mem.gren = { Stage = 'equip', T = now, Plan = plan }
act.State, act.Reason, act.Grenade = 'grenade', string.format('grenade on %d mobs', plan.Count), plan
return act
end
-- heals the mobs leave behind: touching the drop collects it, and we can hop straight onto it
mem.skip = mem.skip or {}
if rage.Collect and rage.Collect ~= 'Off' then
local hurt = hpPct < (rage.CollectBelow or 95)
-- the launcher is the horde weapon: with nothing left in it an ammo drop is worth a hop even with the pack around
-- (any gun: an assault rifle that has run dry in the horde is no reason to punch 50 mobs; its ammo drops are worth a hop too)
local gunCapacity = (w.gun and type(w.gun.Info) == 'table')
and ((tonumber(w.gun.Info.MaxAmmo) or 0) + (tonumber(w.gun.Info.MaxAmmoReserve) or 0))
or 0
local starvedAt = w.gun
and (w.gun.Projectile and (rage.LauncherStarved or 3) or (gunCapacity ~= math.huge and math.max(
4,
gunCapacity * (rage.GunStarvedFraction or 0.12)
) or 0))
or 0
local launcherStarved = w.gun ~= nil and (w.gun.Ammo or 0) + (w.gun.Reserve or 0) <= starvedAt
if launcherStarved then
mem.starvedSince = mem.starvedSince or now
else
mem.starvedSince = nil
end
local bestDrop, bestDistance
for _, drop in ipairs(w.drops or {}) do
-- heals only matter while hurt; ammo is taken any time in 'Heal + Ammo' and 'All'
local isHeal = drop.Label == '' or Kit.IsHealLabel(drop.Label)
local isAmmo = tostring(drop.Label):lower():find('ammo', 1, true) ~= nil
-- anything that is not a heal waits until nobody is close: it is not worth being hit for
local calm = true
for _, m in ipairs(w.mobs) do
if m.dist3 < 12 or (m.pos - drop.Pos).Magnitude < 8 then
calm = false
break
end
end
-- ammo is only worth a hop while the gun is not already (nearly) full
local needAmmo = false
-- a new weapon replaces the gun we hold, so it is only worth taking while that gun is (nearly) empty or missing
local gunLow = w.gun == nil
-- the hunt: until the gun is the Grenade Launcher every weapon drop is worth a look
local holdingLauncher = w.gun ~= nil and w.gun.Projectile ~= nil
local hunting = rage.LauncherHunt ~= false and not holdingLauncher
if w.gun and type(w.gun.Info) == 'table' then
local capacity = (tonumber(w.gun.Info.MaxAmmo) or 0) + (tonumber(w.gun.Info.MaxAmmoReserve) or 0)
needAmmo = capacity ~= math.huge
and (capacity <= 0 or (w.gun.Ammo or 0) + (w.gun.Reserve or 0) < capacity * 0.85)
gunLow = capacity ~= math.huge
and (
capacity <= 0
or (w.gun.Ammo or 0) + (w.gun.Reserve or 0) < capacity * (rage.ClaimBelow or 0.6)
)
end
-- a launcher is only swapped away once it has nothing left to fire
if holdingLauncher then gunLow = (w.gun.Ammo or 0) + (w.gun.Reserve or 0) <= 0 end
local isWeapon = drop.Label == 'Weapon'
-- ...but not into the thick of it, unless this has gone on for a while
local starvedOk = launcherStarved
and isAmmo
and (
(exposureAt(drop.Pos, nil, w.mobs) <= 5 and swingExposureAt(w, drop.Pos) <= 1)
or now - mem.starvedSince > 8
)
local boomClose = rage.ExplosiveFlee ~= false and boomNear(w, drop.Pos, rage.ExplosiveDanger or 28)
local wanted = not boomClose
and (
starvedOk
or (isHeal and hurt and not isWeapon)
or (calm and isAmmo and needAmmo and (rage.Collect == 'Heal + Ammo' or rage.Collect == 'All'))
or (calm and isWeapon and rage.ClaimWeapon ~= false and rage.Collect ~= 'Off' and (gunLow or hunting))
or (calm and rage.Collect == 'All' and not isHeal and not isWeapon)
)
local key = 'drop:' .. tostring(math.floor(drop.Pos.X)) .. ',' .. tostring(math.floor(drop.Pos.Z))
local blocked = mem.blocked[key] and mem.blocked[key] > now
local distance = (drop.Pos - me.pos).Magnitude
-- a weapon drop is claimed with its prompt: stay on it and press, a few tries at most
local nearWeapon = isWeapon and drop.Prompt ~= nil and distance <= 6 and claimTriesOf(mem, key) < 3
if
wanted
and not blocked
and (distance > 2.5 or nearWeapon)
and distance <= (rage.CollectRange or 150)
and (not bestDistance or distance < bestDistance)
then
bestDrop, bestDistance = drop, distance
drop.Key = key
end
end
if bestDrop then
act.State = 'collect'
act.Reason = string.format(
'picking up %s (%dm), health %d%%',
bestDrop.Label ~= '' and bestDrop.Label or 'a drop',
math.floor(bestDistance),
math.floor(hpPct)
)
if bestDrop.Label == 'Weapon' and bestDrop.Prompt and bestDistance <= 6 then
act.Claim = { Prompt = bestDrop.Prompt, Key = bestDrop.Key }
act.Reason = 'claiming the weapon drop'
else
act.Teleport, act.GoalKey = bestDrop.Pos, bestDrop.Key
end
return act
end
end
-- skip mobs that stopped taking damage while we stand next to them (reviving, shielded, out of reach)
local usable = {}
for _, m in ipairs(pool) do
local until_ = mem.skip[m.rec.Model]
if until_ and until_ <= now then
mem.skip[m.rec.Model] = nil
until_ = nil
end
local reviving = Kit.Reviving[m.rec.Model]
if reviving and reviving > now then until_ = reviving end
if not until_ then usable[#usable + 1] = m end
end
if #usable > 0 then pool = usable end
-- just stepped aside: only what comes to us is fought for a moment, the rest of the pack is given time to string out
-- (not while a skeleton has a line on us: they never string out towards us, and the hold is how life 48 stood in their bones)
if
(mem.stepUntil or 0) > now
and not mem.nest
and #pool > 0
and now >= (mem.kiteBanUntil or 0)
and not (rage.KiteShooters ~= false and shooterSightAt(w, me.pos) > 0)
then
local engage = rage.HoldEngage or 10
local arrived = {}
for _, m in ipairs(pool) do
if m.dist3 <= engage or (m.class.Ranged and m.dist3 <= 40 and liveAttack(w, m)) then
arrived[#arrived + 1] = m
end
end
if #arrived == 0 then
mem.kiteSince = mem.kiteSince or now
if now - mem.kiteSince <= (rage.KiteMax or 7) then
act.State, act.Reason = 'kite', 'stepped aside: letting the pack string out'
return act
end
-- nobody is coming (the pack stands where it spawned): a hold that long is a stall, so the fight goes on for a while
mem.kiteSince, mem.stepUntil, mem.kiteBanUntil = nil, 0, now + (rage.KiteBan or 6)
end
if #arrived > 0 then
mem.kiteSince = nil
pool = arrived
end
end
local target, spot, spotExposure = nil, nil, 0
if #pool > 0 then
target, spot, spotExposure = pickRageTarget(w, pool, mem, w.mobs)
end
if target then
local model = target.rec.Model
local watch = mem.watch
local reachable = (me.pos - target.pos).Magnitude <= w.reach + 0.8
if not watch or watch.model ~= model then
mem.watch = { model = model, hp = target.hp, since = now }
elseif target.hp and watch.hp and target.hp < watch.hp - 0.5 then
watch.hp, watch.since = target.hp, now
elseif not reachable then
watch.since = now
elseif now - watch.since > (rage.StuckTime or 2.2) then
mem.skip[model] = now + 6
mem.watch = nil
Kit.Notify('stuck', 'Rage', model.Name .. ' is not taking damage: skipping it for a few seconds', 3)
end
mem.target = model
act.State = 'rage'
act.Target = target
act.Spot = spot
act.Face = target.pos + Vector3.new(0, 1.2, 0)
act.Reason = string.format(
'%s %dm (%s)%s',
target.rec.Model.Name,
math.floor(target.dist3),
rage.Position,
explosivePhase and ', explosive last' or ''
)
-- already within fist range: stay and swing. Chasing the exact spot makes us orbit a mob that is
-- turning to face us, and every hop pauses the swings. Only move when out of range or in a crowd.
local distance = (me.pos - target.pos).Magnitude
local inRange = distance <= math.max(2, w.reach - 0.7)
local myExposure = exposureAt(me.pos, target, w.mobs)
local crowded = myExposure - (spotExposure or 0) >= (rage.FleeMargin or 2)
-- kill aura: anything already inside fist range gets hit first, facing the direction that covers
-- the most mobs inside the swing cone, without hopping around
local close = {}
if rage.Aura ~= false then
local range = math.max(2, w.reach - 0.2)
if rage.Position == 'Above' then range = math.max(range, (rage.VerticalOffset or 5.6) + 0.5) end
for _, m in ipairs(w.mobs) do
-- never punch explosives the policy keeps for later, nor mobs that stopped taking damage
local held = m.class.Explosive and rage.ExplosivePolicy ~= 'Normal'
held = held or (m.class.Pinata and not (mem.trojanGo and not gunReady))
local skipped = (mem.skip[m.rec.Model] and mem.skip[m.rec.Model] > now)
or (Kit.Reviving[m.rec.Model] and Kit.Reviving[m.rec.Model] > now)
-- a brute is hovered over higher (see bruteVertical), so its aura range is longer too
local reachHere = range
if m.class.CloseDodge and rage.Position == 'Above' then
reachHere = math.max(range, bruteVertical(w) + 0.6)
end
if not held and not skipped and not dodgeSet[m] and (m.pos - me.pos).Magnitude <= reachHere then
close[#close + 1] = m
end
end
end
if #close > 0 then
mem.chase = nil
local cone = math.cos(math.rad(rage.AuraCone or 55))
local bestMob, bestScore
for _, candidate in ipairs(close) do
local direction = flat(candidate.pos - me.pos)
if direction.Magnitude > 0.1 then
direction = direction.Unit
-- the swing is aimed at the highest group in reach (flyers, then big ones, then zombies); the rest of the cone still gets hit
local score = rage.KillOrder ~= false
and (3 - Kit.KillTier(candidate.class)) * (rage.AuraTier or 2.5)
or 0
-- the locked target is the one the swing is aimed at whenever it is in reach (the rest of the cone still gets hit)
if rage.TargetLock ~= false and candidate == target then
score += 50
end
for _, other in ipairs(close) do
local offset = flat(other.pos - me.pos)
if offset.Magnitude < 0.1 or offset.Unit:Dot(direction) >= cone then
score += 1 + (other == target and 0.4 or 0) + (1 - math.min((other.hp or 75) / 100, 1)) * 0.3
end
end
if not bestScore or score > bestScore then
bestMob, bestScore = candidate, score
end
end
end
bestMob = bestMob or close[1]
-- the mob we actually swing at must keep losing health, or it gets skipped for a few seconds
local aura = mem.auraWatch
if not aura or aura.model ~= bestMob.rec.Model then
mem.auraWatch = { model = bestMob.rec.Model, hp = bestMob.hp, since = now }
elseif bestMob.hp and aura.hp and bestMob.hp < aura.hp - 0.5 then
aura.hp, aura.since = bestMob.hp, now
elseif now - aura.since > (rage.StuckTime or 1.4) then
mem.skip[bestMob.rec.Model] = now + 6
mem.auraWatch = nil
Kit.Notify(
'stuck',
'Rage',
bestMob.rec.Model.Name .. ' is not taking damage: skipping it for a few seconds',
3
)
end
act.Face = bestMob.pos + Vector3.new(0, 1.2, 0)
act.AuraTarget = bestMob
act.AuraCount = #close
act.Reason = string.format('aura on %d: %s', #close, bestMob.rec.Model.Name)
-- stay and fight; only leave when a bigger pack is closing in and a quieter spot exists
local danger = myExposure >= (rage.AuraMaxCrowd or 5)
and myExposure - (spotExposure or 0) >= (rage.FleeMargin or 2)
-- kiting: with a fist reach longer than the mobs' (about 4.7), step back out of theirs
local kite = false
if rage.Kite ~= false and w.reach >= 6.5 then
for _, m in ipairs(w.mobs) do
if (m.pos - me.pos).Magnitude < (rage.KiteDistance or 6) then
kite = true
break
end
end
end
if (danger or kite) and (me.pos - spot).Magnitude > rage.LockTolerance then act.Teleport = spot end
-- ...otherwise keep moving round the mob we are hitting
if
rage.Orbit ~= false
and rage.Position == 'Above'
and not act.Teleport
and not bestMob.class.Pinata
and not bestMob.class.CloseDodge
and now - (mem.orbitAt or -9) >= (rage.OrbitGap or 0.26)
and (me.pos - bestMob.pos).Magnitude <= w.reach + 1.5
then
local point = orbitSpot(w, mem, bestMob, w.mobs)
if point then
act.Teleport = point
mem.orbitAt = now
Kit.Orbits = (Kit.Orbits or 0) + 1
end
end
act.Attack = true
return act
end
if (not inRange or crowded) and (me.pos - spot).Magnitude > rage.LockTolerance then act.Teleport = spot end
-- a ghost close by is not hopped after every few tenths of a second (it drifts 5 studs while it winds up; each hop pauses the
-- swings and it simply follows): after a hop to it we stay, face it and swing for a moment
if act.Teleport and target.class.Name == 'Ghost' and rage.Orbit == false then
if target.dist3 <= (rage.GhostStand or 9) and now < (mem.ghostHoldUntil or 0) then
act.Teleport = nil
else
mem.ghostHoldUntil = now + (rage.GhostHold or 0.6)
end
end
-- a chase that goes nowhere (the hop is turned back into where we already stand): after a few seconds land right beside it
if not inRange then
local chase = mem.chase
if not chase or chase.model ~= model or (me.pos - chase.pos).Magnitude > 3 then
mem.chase = { model = model, pos = me.pos, since = now }
elseif now - chase.since > (rage.ChaseStall or 4) then
act.Teleport = target.pos + Vector3.new(0, 3.5, 0)
act.Reason = act.Reason .. ', chase stalled: landing beside it'
if now - (mem.stallNoted or -99) > 5 then
mem.stallNoted = now
Kit.Notify(
'stall',
'Rage',
model.Name .. ' is out of reach and the hop goes nowhere: landing beside it',
2,
true
)
end
end
else
mem.chase = nil
end
act.Attack = distance <= w.reach + 0.8
return act
elseif #explosive > 0 then
mem.explosiveWaitSince = mem.explosiveWaitSince or now
act.State, act.Reason =
'wait',
string.format(
'only explosive zombies left and health is %d%% (needs %d%%)',
math.floor(hpPct),
rage.MinHpExplosive
)
return act
end
mem.target = nil
if now - mem.lastMobAt < rage.WaveDelay then
act.State, act.Reason = 'wait', 'waiting for more spawns'
return act
end
if cfg.WaveTriggers then
local best, bestDistance
for _, goal in ipairs(triggerCandidates(w, mem, now, rage.LockTolerance + 6)) do
if not (mem.blocked[goal.Key] and mem.blocked[goal.Key] > now) then
local d = (goal.Pos - me.pos).Magnitude
if not bestDistance or d < bestDistance then
best, bestDistance = goal, d
end
end
end
if best then
act.State, act.Reason, act.GoalKey =
'trigger', string.format('wave trigger %dm away', math.floor(bestDistance)), best.Key
mem.sitting = mem.sitting or {}
if bestDistance > rage.LockTolerance then
act.Teleport = best.Pos
else
-- standing right on it and nothing happens: step off and back on once, then give up on it
local sit = mem.sitting[best.Key]
if not sit then
sit = { since = now }
mem.sitting[best.Key] = sit
end
if now - sit.since > 3.2 then
mem.blocked[best.Key] = now + 30
mem.sitting[best.Key] = nil
elseif now - sit.since > 1.2 and not sit.nudged then
sit.nudged = true
act.Teleport = best.Pos + Vector3.new(0, 0, 7)
end
end
return act
end
end
if cfg.Advance and w.entrance and not (mem.blocked[w.entranceKey] and mem.blocked[w.entranceKey] > now) then
act.State, act.Reason, act.GoalKey =
'advance', string.format('to floor %d', w.entranceFloor or ((w.floor or 0) + 1)), w.entranceKey
if (w.entrance - me.pos).Magnitude > rage.LockTolerance then act.Teleport = w.entrance end
return act
end
act.State, act.Reason = 'idle', 'nothing left to do here'
return act
end
-- ------------------------------------------------------------- bones
-- A bone (see Kit.Bones) is dodged by stepping out of its line, and no hop is allowed to end on one. Wrapped around the decision so
-- the fight, the gun and the grenade rules need not know: a hop planned onto a bone's path is moved off it, a position a bone is
-- about to reach gets a hop, and a grenade that is being cooked there is dropped.
local function boneSafeSpot(w, origin, bones, bone)
local flatVel = flat(bone.Vel)
local side = flatVel.Magnitude > 0.5 and Vector3.new(-flatVel.Z, 0, flatVel.X).Unit or Vector3.new(1, 0, 0)
local needGround = w.ground ~= nil and w.ground(w.me.pos)
local best, bestScore
for _, distance in ipairs({ 7, 10, 14 }) do
for _, angle in ipairs({ 0, 180, 35, -35, 145, -145 }) do
local candidate = origin + rotateY(side, angle) * distance
if
Kit.BoneThreat(bones, candidate, (rage.BoneHorizon or 1.8) + 0.4, rage.BoneRadius or 4.5) == nil
and (not w.spotFree or w.spotFree(candidate))
and not Kit.IsLethal(candidate)
and (not needGround or w.ground(candidate))
then
local score = distance * 0.15
+ exposureAt(candidate, nil, w.mobs) * 3
+ swingExposureAt(w, candidate) * 10
+ shooterSightAt(w, candidate) * 1.5
if not bestScore or score < bestScore then
best, bestScore = candidate, score
end
end
end
end
return best
end
-- ------------------------------------------------------ one weapon at a time
-- The decision flipped between the gun and the fists several times a second (a ghost drifting in and out of 6 studs, a target
-- appearing and going, a line that is clear one frame and not the next; weapon swaps ran at 13-44 a minute). Every flip is a swap:
-- the gun takes half a second to draw, a reload is lost when the gun is put away, and the next shot finds an empty magazine.
-- So: a mode is kept for a moment (ArmDwell), a change has to be wanted for a while (GunHold / FistHold) before it happens, an empty
-- magazine is refilled before the gun goes away (unless something is on top of us), and quiet moments top the magazine up.
local function armOf(act)
if act.Stop or act.Grenade or act.Evade or act.Reload then return nil end
if act.State == 'snipe' and act.Snipe then return 'gun' end
if act.State == 'rage' then return 'fists' end
return nil
end
local function recordOf(w, model)
for _, m in ipairs(w.mobs) do
if m.rec.Model == model then return m end
end
return nil
end
-- the last act of a mode, brought up to date, for holding the mode a little longer (nil when its target is gone)
local function heldAct(w, mem, mode)
local saved = mem.armActs and mem.armActs[mode]
if not saved or w.now - saved.at > 1.2 then return nil end
local old = saved.act
if mode == 'gun' then
local gun = w.gun
local plan = old.Snipe
local oldTarget = plan and plan.Target
local model = oldTarget and oldTarget.rec and oldTarget.rec.Model
local fresh = model and recordOf(w, model)
if not gun or not fresh or (gun.Ammo or 0) + (gun.Reserve or 0) <= 0 then return nil end
local act = { State = 'snipe', Reason = (old.Reason or '') .. ' (keeping the gun)' }
act.Snipe = {
Target = fresh,
Slot = gun.Slot,
Item = gun.Item,
Safe = plan.Safe,
Projectile = gun.Projectile,
Fast = gun.Fast,
Lead = plan.Lead,
}
act.Face = old.Face + (fresh.pos - oldTarget.pos)
return act
end
local oldTarget = old.Target
local model = oldTarget and oldTarget.rec and oldTarget.rec.Model
local fresh = model and recordOf(w, model)
if not fresh then return nil end
local aura = old.AuraTarget and old.AuraTarget.rec and recordOf(w, old.AuraTarget.rec.Model) or nil
local inReach = (w.me.pos - fresh.pos).Magnitude <= w.reach + 0.8
if not inReach and not aura then return nil end
local act =
{ State = 'rage', Reason = (old.Reason or '') .. ' (keeping the fists)', Target = fresh, Spot = old.Spot }
act.Face = fresh.pos + Vector3.new(0, 1.2, 0)
act.AuraTarget, act.AuraCount = aura, old.AuraCount
act.Attack = true
return act
end
local function reloadAct(w, why)
local gun = w.gun
local cam = Workspace.CurrentCamera
local act = { State = 'reload', Reload = true, Reason = why }
act.Snipe = { Slot = gun.Slot, Item = gun.Item, Safe = 0, Projectile = gun.Projectile }
act.Face = (cam and cam.CFrame.Position + cam.CFrame.LookVector * 20) or w.me.pos
return act
end
-- ----------------------------------------------------- above the lava sheet
-- (see Kit.StayAboveSheet) On a floor with a thin lava sheet (floor 11) the arena is above it. The bot stays above: when it finds itself
-- under or in it, the first thing it does is climb; mobs that are under the sheet are not part of the fight (hidden from the decision) and
-- are waited for. A wait that goes nowhere (a zombie that fell into the pit and stays there) ends after SheetWait seconds with the old
-- under-the-sheet behaviour for SheetUnlock seconds.
local decideRageRaw = B.DecideRage
-- a gun that does not fire: life 48 spent 15 s alternating 'kite' and 'launcher: pack 40 m away' (the arc into the pack was walled off, the
-- ammo stayed 2/24) while four skeletons threw bones. After GunDryMax seconds of snipe acts without a single shot the gun branch is off for
-- GunDryBan seconds and the fists fight (the gun is still held and reloaded, only the branch is skipped)
local function decideRageCore(w, mem)
if rage.GunDry == false then return decideRageRaw(w, mem) end
local now, gun = w.now, w.gun
local total = gun and ((gun.Ammo or 0) + (gun.Reserve or 0)) or nil
local name = gun and type(gun.Info) == 'table' and gun.Info.Name or nil
if mem.dryGun ~= name or (total and mem.dryTotal and total < mem.dryTotal) or now - (mem.dryLast or -99) > 2.5 then
mem.drySince = nil
end
mem.dryGun, mem.dryTotal = name, total
if now < (mem.gunBanUntil or 0) then w.gunBan = true end
local act = decideRageRaw(w, mem)
-- (only the launcher's pack bombard counts: an explosive zombie that cannot be hit is fled from, not punched)
if act.State == 'snipe' and not w.gunBan and tostring(act.Reason):find('grenade launcher', 1, true) then
mem.drySince = mem.drySince or now
mem.dryLast = now
local boss = false
for _, m in ipairs(w.mobs) do
if m.class.Boss or m.class.Pinata then
boss = true
break
end
end
if not boss and now - mem.drySince > (rage.GunDryMax or 8) then
mem.gunBanUntil, mem.drySince, mem.snipeWatch = now + (rage.GunDryBan or 15), nil, nil
Kit.GunDryBans = (Kit.GunDryBans or 0) + 1
Kit.Notify(
'dry',
'Rage',
'the gun has not fired for ' .. tostring(rage.GunDryMax or 8) .. ' s: the fists take over for a while',
2,
true
)
w.gunBan = true
act = decideRageRaw(w, mem)
end
end
return act
end
local function sheetDecide(w, mem)
local now = w.now
if mem.sheetUnlockUntil then
if now >= mem.sheetUnlockUntil then
mem.sheetUnlockUntil = nil
Kit.StayAboveSheet = true
else
Kit.StayAboveSheet = false
end
end
if Kit.StayAboveSheet == false then return decideRageCore(w, mem) end
local side, sheet = Kit.SheetSide(w.me.pos)
if not side then
mem.sheetWaitSince = nil
return decideRageCore(w, mem)
end
if side ~= 'above' then
-- the entrance level, or knocked into the band: up to the arena before anything else
local top = sheet.Position.Y + sheet.Size.Y / 2
mem.sheetWaitSince = nil
Kit.SheetClimbs = (Kit.SheetClimbs or 0) + 1
return {
State = 'evade',
Evade = true,
Reason = 'climbing above the lava',
Teleport = Vector3.new(w.me.pos.X, top + Kit.SheetAbove, w.me.pos.Z),
Face = w.me.pos + Vector3.new(0, 0, -1),
}
end
local kept, hidden = {}, 0
for _, m in ipairs(w.mobs) do
if not m.class.Pinata and Kit.SheetSide(m.pos) == 'below' then
hidden += 1
else
kept[#kept + 1] = m
end
end
if hidden == 0 then
mem.sheetWaitSince = nil
return decideRageCore(w, mem)
end
local act = decideRageCore(setmetatable({ mobs = kept }, { __index = w }), mem)
if act.State == 'idle' or act.State == 'wait' or act.State == 'advance' then
mem.sheetWaitSince = mem.sheetWaitSince or now
if now - mem.sheetWaitSince > (rage.SheetWait or 30) then
mem.sheetUnlockUntil = now + (rage.SheetUnlock or 45)
mem.sheetWaitSince = nil
Kit.StayAboveSheet = false
Kit.Notify('sheet', 'Rage', 'the mobs under the lava do not come up: going down for them', 3, true)
return decideRageCore(w, mem)
end
return {
State = 'wait',
Reason = string.format(
'%d mob%s under the lava: waiting for them to come up (%ds)',
hidden,
hidden == 1 and '' or 's',
math.floor(now - mem.sheetWaitSince)
),
}
end
mem.sheetWaitSince = nil
return act
end
local decideRageBase = sheetDecide
local function armDecide(w, mem)
local act = decideRageBase(w, mem)
if rage.ArmHold == false then return act end
local now, gun = w.now, w.gun
local want = armOf(act)
local hpPct = w.me.hp / math.max(w.me.maxHp, 1) * 100
local nearest = w.mobs[1] and w.mobs[1].dist3 or math.huge
local ammo = gun and (gun.Ammo or 0) or 0
local reserve = gun and (gun.Reserve or 0) or 0
local maxAmmo = gun and type(gun.Info) == 'table' and tonumber(gun.Info.MaxAmmo) or 0
-- how long the magazine has been empty (with ammo left to fill it)
if gun and ammo <= 0 and reserve > 0 then
mem.emptySince = mem.emptySince or now
else
mem.emptySince = nil
end
if not want then
-- a quiet moment (nobody within 30, nothing to do but wait): fill the magazine
local lull = (act.State == 'wait' or act.State == 'idle' or (act.State == 'trigger' and not act.Teleport))
and nearest > 30
if
lull
and gun
and reserve > 0
and maxAmmo > 0
and ammo < maxAmmo * (rage.ReloadBelow or 0.5)
and now >= (mem.lullReloadBan or 0)
then
mem.lullReload = mem.lullReload or { At = now, Ammo = ammo }
if now - mem.lullReload.At > (rage.ReloadPatience or 3.5) and ammo <= mem.lullReload.Ammo then
mem.lullReloadBan, mem.lullReload = now + 15, nil
else
return reloadAct(w, string.format('quiet: reloading (%d/%d)', ammo, maxAmmo))
end
else
mem.lullReload = nil
end
return act
end
-- an empty magazine is refilled before the gun goes away
if
want == 'fists'
and mem.arm == 'gun'
and mem.emptySince
and now - mem.emptySince < (rage.ReloadHold or 2.4)
and nearest > 3.5
and hpPct > 25
then
Kit.ArmHolds = (Kit.ArmHolds or 0) + 1
return reloadAct(w, 'reloading before the fists come out')
end
local cur = mem.arm
if not cur or now - (mem.armSeen or -99) > 3 then
mem.arm, mem.armAt, mem.armWantSince = want, now, nil
elseif want == cur then
mem.armWantSince = nil
else
mem.armWantSince = mem.armWantSince or now
local hold = cur == 'gun' and (rage.GunHold or 0.7) or (rage.FistHold or 0.5)
if now - mem.armWantSince < hold or now - mem.armAt < (rage.ArmDwell or 0.9) then
local keep = heldAct(w, mem, cur)
if keep then
Kit.ArmHolds = (Kit.ArmHolds or 0) + 1
mem.armSeen = now
return keep
end
end
mem.arm, mem.armAt, mem.armWantSince = want, now, nil
Kit.ArmSwitches = (Kit.ArmSwitches or 0) + 1
end
mem.armSeen = now
mem.armActs = mem.armActs or {}
mem.armActs[want] = { act = act, at = now }
return act
end
local decideRageInner = armDecide
function B.DecideRage(w, mem)
local act = decideRageInner(w, mem)
local bones = w.bones
if rage.BoneDodge == false or not bones or #bones == 0 or act.Stop then return act end
local horizon = rage.BoneHorizon or 1.8
local radius = rage.BoneRadius or 4.5
local here = w.me.pos
local destination = act.Teleport
if destination then
-- a hop onto a bone's path: the same hop, moved off the path
local arrives, bone = Kit.BoneThreat(bones, destination, horizon, radius)
if arrives then
local alternative = boneSafeSpot(w, destination, bones, bone)
if alternative then
act.Teleport = alternative
act.Reason = (act.Reason or '') .. ' (off a bone path)'
Kit.BoneNudges = (Kit.BoneNudges or 0) + 1
end
end
return act
end
-- staying put: is a bone about to reach us?
local arrives, bone = Kit.BoneThreat(bones, here, rage.BoneLead or 1.0, radius)
if not arrives then return act end
local spot = boneSafeSpot(w, here, bones, bone)
if not spot then return act end
Kit.BoneDodges = (Kit.BoneDodges or 0) + 1
if act.Grenade or act.Reload then
-- cooking a grenade or filling a magazine in a bone's path: dropped
mem.gren = nil
act = { State = 'evade', Evade = true, Reason = '' }
end
act.Teleport = spot
act.Force = true
act.Face = act.Face or (bone.Pos + Vector3.new(0, 1.2, 0))
if act.State == 'idle' or act.State == 'wait' or act.State == 'trigger' or act.State == 'advance' then
act.State = 'evade'
end
act.Evade = act.Evade or (act.State == 'evade')
act.Reason = string.format('a bone reaches us in %.1fs: stepping off its path', arrives)
.. (act.Reason ~= '' and (' | ' .. act.Reason) or '')
return act
end
local function collectParts()
local t = Kit.Now()
if t - R.partsAt < 0.5 then return R.parts end
R.partsAt = t
local list = {}
local character = LP.Character
for _, inst in ipairs(character and character:GetDescendants() or {}) do
if inst:IsA('BasePart') then list[#list + 1] = inst end
end
R.parts = list
return list
end
-- hold the character where we put it: no collisions, no drifting
function R.Hold(on)
if on and not R.freezeConn then
R.freezeConn = RunService.Stepped:Connect(function()
local root = Kit.MyRoot()
if root then
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
end
end)
elseif not on and R.freezeConn then
R.freezeConn:Disconnect()
R.freezeConn = nil
end
if on and rage.Noclip and not R.noclipConn then
R.noclipConn = RunService.Stepped:Connect(function()
for _, part in ipairs(collectParts()) do
if part.Parent then
if R.original[part] == nil then R.original[part] = part.CanCollide end
part.CanCollide = false
end
end
end)
elseif (not on or not rage.Noclip) and R.noclipConn then
R.noclipConn:Disconnect()
R.noclipConn = nil
for part, value in pairs(R.original) do
if part.Parent then part.CanCollide = value end
end
R.original = setmetatable({}, { __mode = 'k' })
end
end
function R.Hop(w, destination, faceAt, force, guardWalls)
local root = w.me.root
local now = w.now
if not force and now - R.lastHopAt < rage.HopCooldown then return false end
local from = root.Position
local delta = destination - from
local distance = delta.Magnitude
if distance < 0.05 then return false end
local step = distance > R.maxHop and (from + delta.Unit * R.maxHop) or destination
-- never above the top of the tower (the dodges used to climb out of it, a few steps at a time)
if w.ceilingY and step.Y > w.ceilingY and step.Y > from.Y then
step = Vector3.new(step.X, math.max(from.Y, w.ceilingY), step.Z)
end
-- big vertical jumps are taken in pieces: the server pulls part of a long climb back and the drop that follows hurts
local climb = math.abs(step.Y - from.Y)
local climbLimit = rage.MaxVerticalHop or 22
if climb > climbLimit then step = from + (step - from) * (climbLimit / climb) end
-- a hop cut short by the distance, ceiling or climb limits is only a step on the way (it crosses slabs on the way up or down)
local partial = (step - destination).Magnitude > 1
step = Kit.LavaSafe(step, from)
if not step then
R.refusedLethal = (R.refusedLethal or 0) + 1
return false
end
-- a hop made to SHOOT from never ends inside a wall or a pillar: every shot from there goes into the wall. A spot just beside is
-- used instead; with none within 10 studs the hop only goes ahead when it is a dodge (force). (Fighting with the fists from inside
-- a wall is harmless, and a brute standing in the arena's player barrier made the bot hop on the spot for a minute.)
if guardWalls and rage.WallGuard ~= false and not partial and not Kit.SpotFree(step) then
local free = Kit.NearestFree(step)
if free then
step = free
R.wallNudges = (R.wallNudges or 0) + 1
elseif not force then
R.wallRefused = (R.wallRefused or 0) + 1
return false
end
end
if Kit.IsLethal(step) then
R.refusedLethal = (R.refusedLethal or 0) + 1
R.lastRefused = { To = step, At = now }
return false
end
local lookAt = faceAt and Vector3.new(faceAt.X, step.Y, faceAt.Z) or (step + root.CFrame.LookVector)
if (lookAt - step).Magnitude < 0.05 then lookAt = step + root.CFrame.LookVector end
R.lastHop = { Dist = (step - from).Magnitude, Dy = step.Y - from.Y, At = now, To = step }
root.CFrame = CFrame.lookAt(step, lookAt)
root.AssemblyLinearVelocity = Vector3.zero
root.AssemblyAngularVelocity = Vector3.zero
R.lastHopAt = now
R.expected, R.expectedAt, R.counted = step, now, nil
R.expectedHp = w.me.hp
R.hops += 1
return true
end
function R.OnReject(w, deviation)
R.rejected += 1
R.rejectTimes[#R.rejectTimes + 1] = w.now
R.maxHop = math.max(rage.MinHop, R.maxHop * 0.5)
rage.HopCooldown = math.min(0.5, rage.HopCooldown * 1.25)
R.sinceGrow = 0
Kit.Notify(
'rage',
'Rage',
string.format('the server moved me back %.0f studs; hops are now %.0f studs', deviation, R.maxHop),
2,
true
)
local recent = 0
for _, t in ipairs(R.rejectTimes) do
if w.now - t < 10 then
recent += 1
end
end
if recent >= 4 and R.maxHop <= rage.MinHop + 0.1 then
cfg.Mode = 'Legit'
Kit.Notify('rage-off', 'Rage', 'the server keeps undoing teleports: switched back to walking mode', 1, true)
if Options and Options.TWBotMode and Options.TWBotMode.Value ~= 'Legit' then
Options.TWBotMode:SetValue('Legit')
elseif not (Options and Options.TWBotMode) and Toggles and Toggles.TWBot and Toggles.TWBot.Value then
-- the hub has no walking mode any more: the farm stops instead
Kit.Notify('rage-stop', 'Auto Tower', 'the server keeps undoing teleports: Auto Tower stopped', 1, true)
Toggles.TWBot:SetValue(false)
end
end
end
-- did the server keep us where we put ourselves?
function R.Verify(w)
local expected = R.expected
if not expected then return end
local age = w.now - R.expectedAt
local deviation = (w.me.pos - expected).Magnitude
if age > 0.03 and age < 0.6 and deviation > 7 then
R.expected = nil
if R.expectedHp and w.me.hp and w.me.hp < R.expectedHp - 4 then
-- a hit with knockback (lava throws us 20 studs up, 38 hp): not the server undoing the teleport, and not a reason to shrink the hops
R.knockbacks = (R.knockbacks or 0) + 1
return
end
R.OnReject(w, deviation)
elseif age >= 0.2 and deviation < 3 and R.counted ~= R.expectedAt then
R.counted = R.expectedAt
R.accepted += 1
R.sinceGrow += 1
if R.sinceGrow >= 25 and R.maxHop < rage.HopCap then
R.maxHop = math.min(rage.HopCap, R.maxHop * 1.25)
R.sinceGrow = 0
end
end
end
local function pressKey(code)
local manager = Instance.new('VirtualInputManager')
manager:SendKeyEvent(true, code, false, game)
task.delay(0.05, function() manager:SendKeyEvent(false, code, false, game) end)
end
-- one frame of shooting an explosive zombie: back off if told to, equip the gun, aim, fire, reload
function R.Snipe(w, act, dt)
local plan = act.Snipe
w.me.hum:Move(Vector3.zero, false)
R.Verify(w)
if act.Teleport and R.Hop(w, act.Teleport, act.Face, act.Force, true) and act.Evade then
Kit.Dodges += 1
Kit.LastDodgeAt = w.now
end
local fighter = ResolveLocalFighter()
local equipped = fighter and fighter.EquippedItem
if equipped ~= plan.Item then
if fighter and w.now - R.gunEquipAt > 0.4 then
R.gunEquipAt = w.now
pcall(function() fighter:EquipItem(plan.Slot) end)
end
return
end
local projectile = plan.Projectile
local aimDirection
if projectile then
-- the shell is aimed on its arc at where the target will be when it lands
local camNow = Workspace.CurrentCamera
local controller = RivalsModsState.ResolveCameraController()
if camNow and controller and type(controller.SetRotation) == 'function' then
local origin = camNow.CFrame.Position
local point = act.Face
if plan.Lead ~= false and plan.Target and plan.Target.vel then
local flight = (point - origin).Magnitude / projectile.Speed
point = point + Vector3.new(plan.Target.vel.X, 0, plan.Target.vel.Z) * flight
end
aimDirection = B.LaunchDirection(origin, point, projectile.Speed, projectile.Gravity)
R.aimPoint = point
if aimDirection then
local lookPitch, lookYaw = CFrame.lookAt(origin, origin + aimDirection):ToOrientation()
controller:SetRotation(Vector2.new(lookPitch, lookYaw))
end
end
else
-- a fast projectile gun (Paintball Gun) leads the target by its flight time; a hitscan gun does not
local aimAt = act.Face
local camLead = Workspace.CurrentCamera
if plan.Fast and plan.Target and plan.Target.vel and camLead then
local flight = (aimAt - camLead.CFrame.Position).Magnitude / plan.Fast.Speed
aimAt = aimAt + Vector3.new(plan.Target.vel.X, 0, plan.Target.vel.Z) * flight
end
R.hitscanAim = aimAt
faceTowards(aimAt, dt, 1)
end
local item = plan.Item
local reloadUntil = tonumber(rawget(item, '_reload_cooldown')) or 0
if tick() < reloadUntil then return end
local okAmmo, ammo = pcall(function() return item:Get('Ammo') end)
if (okAmmo and tonumber(ammo) or 0) <= 0 then
-- (a key pressed while the gun is still being drawn is lost: wait for the equip, then reload and stay with the gun until it is done)
if w.now - R.reloadAt > 1.2 and (tonumber(rawget(item, '_equip_cooldown')) or 0) <= tick() then
R.reloadAt = w.now
R.reloads = (R.reloads or 0) + 1
pressKey(Enum.KeyCode.R)
end
return
end
local cam = Workspace.CurrentCamera
if not cam then return end
local toTarget = (not projectile and R.hitscanAim or act.Face) - cam.CFrame.Position
local ready = (tonumber(rawget(item, '_shoot_cooldown')) or 0) <= tick()
and (tonumber(rawget(item, '_equip_cooldown')) or 0) <= tick()
local aligned
if projectile then
aligned = aimDirection ~= nil and cam.CFrame.LookVector:Dot(aimDirection) > 0.996
else
aligned = toTarget.Magnitude > 0.1 and cam.CFrame.LookVector:Dot(toTarget.Unit) > 0.998
end
if ready and w.now - R.lastShotAt >= (projectile and (projectile.Cooldown or 0.6) or 0.11) and aligned then
-- not into a wall: the muzzle has to be in open air and the line (or the shell's arc) to the target free
if rage.WallGuard ~= false then
local origin = cam.CFrame.Position
local clear, blocker = Kit.SpotFree(origin, Vector3.new(1.4, 1.4, 1.4))
local cause = not clear and 'muzzle inside' or nil
if clear then
if projectile and aimDirection then
clear, blocker = Kit.ArcClear(
origin,
aimDirection,
projectile.Speed,
projectile.Gravity,
flat(R.aimPoint - origin).Magnitude,
(projectile.Radius or 14) * 0.7
)
cause = not clear and 'arc' or nil
blocker = blocker and blocker.Instance
elseif not projectile then
clear, blocker = Kit.LineClear(origin, act.Face, 2.5)
cause = not clear and 'line' or nil
blocker = blocker and blocker.Instance
end
end
if not clear then
R.blockedShots = (R.blockedShots or 0) + 1
R.shotBlocked = { At = w.now, Model = plan.Target and plan.Target.rec and plan.Target.rec.Model }
-- what is it that blocks (for the end-of-life summary: false alarms show up as the same few parts again and again)
R.blockCauses = R.blockCauses or {}
local label = blocker
and (blocker:GetFullName():gsub('Workspace%.', ''):sub(1, 70) .. ' cc=' .. tostring(
blocker.CanCollide
) .. ' size=' .. string.format(
'%.0fx%.0fx%.0f',
blocker.Size.X,
blocker.Size.Y,
blocker.Size.Z
))
or '?'
local key = tostring(cause)
.. ' | '
.. label
.. ' | dist '
.. string.format('%d', math.floor((act.Face - origin).Magnitude / 10) * 10)
R.blockCauses[key] = (R.blockCauses[key] or 0) + 1
return
end
end
if click() then
R.lastShotAt = w.now
R.shots += 1
if projectile then
R.launches = R.launches or {}
if #R.launches < 80 then
local origin = cam.CFrame.Position
R.launches[#R.launches + 1] = {
T = w.now,
Dist = R.aimPoint and (R.aimPoint - origin).Magnitude or -1,
Hp = w.me.hum.Health,
HpMin = w.me.hum.Health,
}
end
end
end
end
end
-- a quiet moment: hold the gun and fill the magazine (act.Reload). Nothing is aimed or fired.
function R.Reload(w, act)
w.me.hum:Move(Vector3.zero, false)
R.Verify(w)
local plan = act.Snipe
local fighter = ResolveLocalFighter()
local equipped = fighter and fighter.EquippedItem
if equipped ~= plan.Item then
if fighter and w.now - R.gunEquipAt > 0.4 then
R.gunEquipAt = w.now
pcall(function() fighter:EquipItem(plan.Slot) end)
end
return
end
local item = plan.Item
if
tick() < (tonumber(rawget(item, '_reload_cooldown')) or 0)
or (tonumber(rawget(item, '_equip_cooldown')) or 0) > tick()
then
return
end
local okAmmo, ammo = pcall(function() return item:Get('Ammo') end)
local maxAmmo = type(item.Info) == 'table' and tonumber(item.Info.MaxAmmo) or 0
if okAmmo and tonumber(ammo) and maxAmmo > 0 and tonumber(ammo) < maxAmmo and w.now - R.reloadAt > 1.5 then
R.reloadAt = w.now
R.reloads = (R.reloads or 0) + 1
pressKey(Enum.KeyCode.R)
end
end
-- one frame of a grenade throw: equip it, aim the arc, throw once, then let the fists come back
-- one frame of a grenade throw: equip it, aim the arc, cook it so that the fuse runs out as it lands, throw, then let the fists
-- come back. Thrown at once the grenade lands in half a second and then sits for the rest of its two-second fuse while the pack
-- walks off: the old throws landed on empty floor.
function R.AbortCook()
if cookDown then
cookDown = false
forceMelee()
releaseHold()
end
if R.gren and R.gren.Stage == 'cook' then
R.gren = nil
R.grenadeAt = (Kit.Now() or 0) - 20
end
end
function R.Throw(w)
local g = R.gren
if not g then
R.AbortCook()
return
end
local fighter = ResolveLocalFighter()
local equipped = fighter and fighter.EquippedItem
local plan = g.Plan
w.me.hum:Move(Vector3.zero, false)
-- something got too close: forget it (taking the fists out drops a cooked grenade), the fists take over again
for _, m in ipairs(w.mobs) do
if m.dist3 < 5 then
R.AbortCook()
R.gren = nil
Kit.Notify('grenade', 'Rage', 'grenade cancelled: a mob got too close', 2, true)
return
end
end
if g.Stage == 'equip' then
if equipped == plan.Item then
g.Stage, g.T = 'aim', w.now
else
if fighter and w.now - (g.EquipAt or -1) > 0.5 then
g.EquipAt = w.now
pcall(function() fighter:EquipItem(plan.Slot) end)
end
if w.now - g.T > 4 then
R.gren = nil
R.grenadeAt = w.now - 20
end
return
end
end
if g.Stage == 'cook' and not cookDown then
R.gren = nil
return
end
if g.Stage == 'aim' or g.Stage == 'cook' then
local cam = Workspace.CurrentCamera
if not cam then return end
-- while the grenade cooks the aim point follows the pack: the same mobs, where they will be when it lands
if g.Stage == 'cook' and plan.Models then
local sum, n = Vector3.zero, 0
for _, m in ipairs(w.mobs) do
if plan.Models[m.rec.Model] then
sum += m.pos + Vector3.new(m.vel.X, 0, m.vel.Z) * (g.Flight or 0.5)
n += 1
end
end
if n >= math.max(2, math.ceil((plan.Count or 4) * 0.4)) then plan.Point = sum / n end
end
local origin = cam.CFrame.Position
local offset = plan.Point - origin
local distance = flat(offset).Magnitude
local pitch = distance > 1 and throwPitch(distance, offset.Y - 1) or nil
-- out of range, or the pack came so close that the blast would reach us: drop it
if not pitch or distance < (plan.Radius or 16) - 2 then
R.AbortCook()
R.gren = nil
R.grenadeAt = w.now - 20
return
end
g.Flight = distance / (THROW_SPEED * math.cos(pitch))
local direction = flat(offset).Unit * math.cos(pitch) + Vector3.new(0, math.sin(pitch), 0)
local controller = RivalsModsState.ResolveCameraController()
if controller and type(controller.SetRotation) == 'function' then
local lookPitch, lookYaw = CFrame.lookAt(origin, origin + direction):ToOrientation()
controller:SetRotation(Vector2.new(lookPitch, lookYaw))
end
local aligned = cam.CFrame.LookVector:Dot(direction) > 0.995
if rage.WallGuard ~= false and (g.Stage == 'aim' or w.now - (g.ArcCheckAt or -9) > 0.3) then
g.ArcCheckAt = w.now
local clear = Kit.SpotFree(origin, Vector3.new(1.4, 1.4, 1.4))
and Kit.ArcClear(origin, direction, THROW_SPEED, THROW_GRAVITY, distance, (plan.Radius or 16) * 0.5)
if not clear then
R.blockedThrows = (R.blockedThrows or 0) + 1
R.AbortCook()
R.gren = nil
R.grenadeAt = w.now - 24
Kit.Notify('grenade', 'Rage', 'grenade cancelled: a wall is in the way', 2, true)
return
end
end
if g.Stage == 'aim' then
-- the item needs its equip time before it will throw
if w.now - g.T >= 0.7 and aligned then
if plan.Cook then
if pressHold() then
cookDown = true
g.Stage, g.T = 'cook', w.now
end
elseif click() then
g.Stage, g.T = 'after', w.now
R.grenadeAt = w.now
R.grenadesThrown = (R.grenadesThrown or 0) + 1
Kit.Notify(
'grenade',
'Rage',
string.format('grenade thrown at %d mobs, %d studs away', plan.Count, math.floor(distance)),
1,
true
)
end
elseif w.now - g.T > 3 then
R.gren = nil
R.grenadeAt = w.now - 20
end
return
end
-- cooking: let go so that the fuse that is left is the flight time (a little over, it goes off as it lands). Never hold it
-- to the end of the fuse: it goes off in the hand.
local fuse = plan.Fuse or 2
local held = w.now - g.T
local releaseAfter = math.min(math.max(0, fuse - g.Flight - 0.08), fuse - 0.35)
if held >= releaseAfter and (aligned or held >= fuse - 0.35) then
releaseHold()
cookDown = false
g.Stage, g.T = 'after', w.now
R.grenadeAt = w.now
R.grenadesThrown = (R.grenadesThrown or 0) + 1
R.grenadeLog = R.grenadeLog or {}
R.grenadeLog[#R.grenadeLog + 1] = {
At = w.now,
Models = plan.Models,
Count = plan.Count,
Flight = g.Flight,
Held = held,
Distance = distance,
}
Kit.Notify(
'grenade',
'Rage',
string.format(
'grenade thrown at %d mobs, %d studs away (cooked %.1fs, flight %.1fs)',
plan.Count,
math.floor(distance),
held,
g.Flight
),
1,
true
)
end
return
end
if g.Stage == 'after' and w.now - g.T > 0.8 then R.gren = nil end
end
function R.Exec(w, act, dt)
if cookDown and not (act.Grenade and R.gren) then R.AbortCook() end
for index = #(R.launches or {}), math.max(1, #(R.launches or {}) - 3), -1 do
local sample = R.launches[index]
if sample and w.now - sample.T <= 1.5 then sample.HpMin = math.min(sample.HpMin, w.me.hum.Health) end
end
R.Hold(true)
do
local rootPos = w.me.root.Position
if Kit.SheetSide(rootPos) == 'above' then R.aboveSheetAt = w.now end
local guard = Kit.SheetGuard(rootPos, w.now - (R.aboveSheetAt or -9) < 1.5)
if guard and R.Hop(w, guard, nil, true) then R.sheetGuards = (R.sheetGuards or 0) + 1 end
end
if not R.boomOn then R.boomOn = Kit.WatchExplosions(true) end
if act.Grenade then
R.Throw(w)
return
end
if act.Reload and act.Snipe then
R.Reload(w, act)
return
end
if act.Snipe then
R.Snipe(w, act, dt)
return
end
if rage.Evade ~= false and not R.attackOn then R.attackOn = Kit.WatchAttacks(true) end
if rage.Evade ~= false and not R.slamOn then R.slamOn = Kit.WatchSlams(true) end
if act.Evade then
-- no weapon swap here: a dodge between two shots of the gun must not cost the gun, the next fight step
-- equips the fists if they are what it needs
R.Verify(w)
if act.Teleport and R.Hop(w, act.Teleport, act.Face, true) then
Kit.Dodges += 1
Kit.LastDodgeAt = w.now
end
w.me.hum:Move(Vector3.zero, false)
return
end
-- press the prompt of a weapon drop (the weapon choice window that opens is handled by the bot's pick step)
if act.Claim and w.now - R.claimAt >= 1.2 then
R.claimAt, R.claiming = w.now, w.now
R.claimTries[act.Claim.Key] = (R.claimTries[act.Claim.Key] or 0) + 1
pcall(fireproximityprompt, act.Claim.Prompt)
Kit.Notify('claim', 'Rage', 'claiming the weapon drop', 2, true)
end
equipMelee(w.now)
if rage.FastMelee ~= false and not R.fastOn then
R.fastOn = Kit.SetMeleeSpeed(true, rage.SpeedBoost) ~= false
elseif rage.FastMelee == false and R.fastOn then
Kit.SetMeleeSpeed(false)
R.fastOn = false
end
-- long reach: the hub's Knife Extender is switched on for the run, and the hover heights follow the extra reach
if (rage.LongReach or 0) > 0 and Kit.ExtenderAvailable() then
if not R.extOn or R.extRange ~= rage.LongReach then
R.extOn = Kit.SetExtender(true, rage.LongReach)
R.extRange = rage.LongReach
end
elseif R.extOn then
Kit.SetExtender(false)
R.extOn, R.extRange = false, nil
end
R.ApplyLift(Kit.ExtraReach())
local reachScale = rage.ReachScale or 1
if reachScale > 1.01 and not R.reachOn then
R.reachOn = Kit.SetMeleeReach(true, reachScale)
if R.reachOn then
-- start from the longer reach; the swing log still shrinks it if the server does not honour it
s.reachEst = math.max(s.reachEst, 4.8 * reachScale)
end
elseif reachScale <= 1.01 and R.reachOn then
Kit.SetMeleeReach(false)
R.reachOn = false
end
R.Verify(w)
if act.Teleport then
if R.Hop(w, act.Teleport, act.Face) and act.GoalKey then
-- a hop cut short by the distance or climb limits is a step on the way, not a failed attempt; a hop that was moved
-- away from the goal (lava pushed it back) and gets us no closer is one, or the goal is tried for ever
if R.lastHop then
local arrived = (R.lastHop.To - act.Teleport).Magnitude < 2
local closer = (act.Teleport - R.lastHop.To).Magnitude < (act.Teleport - w.me.pos).Magnitude - 1.5
if arrived or not closer then
R.tries[act.GoalKey] = (R.tries[act.GoalKey] or 0) + 1
if R.tries[act.GoalKey] >= 4 then
R.blocked[act.GoalKey] = w.now + 20
R.tries[act.GoalKey] = 0
end
end
end
end
end
if act.Face then faceTowards(act.Face, dt, 1) end
w.me.hum:Move(Vector3.zero, false)
if act.Attack and (act.AuraTarget or act.Target) and w.now - R.lastHopAt >= rage.SettleTime then
tryAttack(w, act.AuraTarget or act.Target)
end
end
-- every height the farm hovers at grows with the extra reach, so it stands as far from the mobs as the longer fists allow:
-- the walkers cannot touch it, the blast of an explosive zombie does not reach it. The lift keeps LiftMargin studs inside the reach.
local LIFT_DEFAULTS = { VerticalOffset = 6.0, GhostVertical = 4.6, OrbitVertical = 4.8, OrbitFlyerVertical = 3.6 }
function R.ApplyLift(extra)
local lift = math.min(math.max((extra or 0) - (rage.LiftMargin or 2.5), 0), rage.MaxLift or 14)
if lift == (R.lift or 0) then return end
if not R.liftBase then
R.liftBase = {}
for key, default in pairs(LIFT_DEFAULTS) do
R.liftBase[key] = rage[key] or default
end
end
R.lift = lift
for key, base in pairs(R.liftBase) do
rage[key] = base + lift
end
Kit.Lift = lift
end
function R.Stop()
R.AbortCook()
R.Hold(false)
R.expected = nil
R.gren = nil
if R.boomOn then
pcall(Kit.WatchExplosions, false)
R.boomOn = false
end
if R.attackOn then
pcall(Kit.WatchAttacks, false)
R.attackOn = false
end
if R.slamOn then
pcall(Kit.WatchSlams, false)
R.slamOn = false
end
if R.fastOn then
pcall(Kit.SetMeleeSpeed, false)
R.fastOn = false
end
if R.reachOn then
pcall(Kit.SetMeleeReach, false)
R.reachOn = false
end
if R.extOn then
pcall(Kit.SetExtender, false)
R.extOn, R.extRange = false, nil
end
-- the hover heights go back to what they were
if R.liftBase then
for key, base in pairs(R.liftBase) do
rage[key] = base
end
R.liftBase, R.lift = nil, 0
end
end
-- --------------------------------------------------------------- main step
local function record(state, reason)
if state ~= s.lastState then
s.lastState = state
if #B.Trace >= 40 then table.remove(B.Trace, 1) end
B.Trace[#B.Trace + 1] = string.format('%.1f %s: %s', Kit.Now(), state, reason)
end
end
function B.Step(dt)
if not cfg.Enabled then return end
local w = B.Snapshot()
if not w then
B.State, B.Reason, B.Plan = 'dead', 'waiting for a character', nil
return
end
if cfg.PauseOnInput and userIsSteering() then s.pausedUntil = w.now + 1.2 end
if w.now < s.pausedUntil then
B.State, B.Reason, B.Plan = 'paused', 'you are steering', nil
return
end
-- no weapon picked yet: nothing we swing would count, so choose one first (the tower asks at the start)
local claimOpen = R.claiming ~= nil and w.now - R.claiming < 10 and Kit.PickWindow() ~= nil
if cfg.AutoPick ~= false and Kit.FindTower() and (claimOpen or not Kit.HasLoadout()) then
if Kit.PickWindow() then Kit.PickWeapon(claimOpen and Kit.ClaimRanking or nil) end
B.State, B.Reason, B.Plan = 'loadout', claimOpen and 'choosing the claimed weapon' or 'picking a weapon', nil
return
end
B.Calibrate(w.now)
local rageOn = cfg.Mode == 'Rage'
local act = rageOn and B.DecideRage(w, R) or B.Decide(w, s)
B.Plan, B.State, B.Reason = act, act.State, act.Reason
record(act.State, act.Reason)
if act.Stop then
Kit.Notify('botstop', 'Auto Tower', 'stopped: ' .. act.Reason, 1, true)
B.SetEnabled(false)
if Toggles and Toggles.TWBot and Toggles.TWBot.Value then Toggles.TWBot:SetValue(false) end
return
end
if cfg.DryRun then return end
if rageOn then
R.Exec(w, act, dt)
else
R.Stop()
B.Exec(w, act, dt)
end
end
function B.Driving()
return cfg.Enabled and not cfg.DryRun and B.State ~= 'off' and B.State ~= 'dead' and B.State ~= 'paused'
end
function B.Status()
if not cfg.Enabled then return 'Auto Tower: off' end
if cfg.Mode == 'Rage' then
return string.format(
'Auto Tower RAGE%s: %s - %s [hop %.0f, ok %d, pulled back %d]',
cfg.DryRun and ' (dry run)' or '',
B.State,
B.Reason,
R.maxHop,
R.accepted,
R.rejected
)
end
return string.format(
'Auto Tower%s: %s - %s [reach %.1f, hits %d/%d]',
cfg.DryRun and ' (dry run)' or '',
B.State,
B.Reason,
s.reachEst,
s.swingsLanded,
s.swingsLanded + s.swingsMissed
)
end
local STATE_COLORS = {
fight = Color3.fromRGB(255, 90, 90),
dodge = Color3.fromRGB(255, 200, 60),
avoid = Color3.fromRGB(255, 150, 40),
retreat = Color3.fromRGB(255, 150, 40),
trigger = Color3.fromRGB(255, 120, 40),
advance = Color3.fromRGB(90, 220, 255),
wait = Color3.fromRGB(200, 200, 200),
hold = Color3.fromRGB(200, 200, 200),
recover = Color3.fromRGB(255, 150, 40),
paused = Color3.fromRGB(160, 160, 160),
rage = Color3.fromRGB(255, 60, 60),
}
function B.Overlay(cam)
if not (cfg.Enabled or cfg.DryRun) then return end
local viewport = cam.ViewportSize
local color = STATE_COLORS[B.State] or Color3.fromRGB(235, 235, 235)
G.label(Vector2.new(viewport.X / 2, viewport.Y * 0.1), B.Status(), color, 16)
local plan = B.Plan
if plan and plan.Goal then
local p = G.project(cam, plan.Goal)
if p then
G.ring(cam, plan.Goal - Vector3.new(0, 2.8, 0), 2.5, color, 2)
G.seg(Vector2.new(viewport.X / 2, viewport.Y * 0.55), p, color, 1)
end
end
if plan and plan.Spot then
local p = G.project(cam, plan.Spot)
if p then G.ring(cam, plan.Spot - Vector3.new(0, 2.8, 0), 1.5, color, 2) end
end
if plan and plan.Target then
local p = G.project(cam, plan.Target.pos)
if p then G.label(p - Vector2.new(0, 38), 'BOT TARGET', color, 12) end
end
end
function B.SetEnabled(on)
on = on == true
cfg.Enabled = on
pcall(function() RunService:UnbindFromRenderStep('TowerKitBot') end)
if on then
Nav.Reset()
R.safeSpot = nil
R.gren, R.grenadeAt = nil, nil
s.lastMobAt = -10
s.pausedUntil = 0
B.State, B.Reason = 'starting', ''
RunService:BindToRenderStep('TowerKitBot', Enum.RenderPriority.Input.Value + 1, B.Step)
Kit.Notify('bot', 'Auto Tower', cfg.DryRun and 'dry run started (no input is sent)' or 'started', 1, true)
else
R.Stop()
B.State, B.Reason, B.Plan = 'off', '', nil
local hum = Kit.MyHum()
if hum and not cfg.DryRun then hum:Move(Vector3.zero, false) end
Kit.Notify('bot', 'Auto Tower', 'stopped', 1, true)
end
end
function B.Destroy()
R.Stop()
cfg.Enabled = false
pcall(function() RunService:UnbindFromRenderStep('TowerKitBot') end)
B.State, B.Plan = 'off', nil
end
return B
end)(RivalsRuntimeBridge.TowerKit)
-- ===== Tower kit v2 :: Event tab UI =====
RivalsRuntimeBridge.TowerKit.Ui = (function(Kit)
local UiApi = {}
local cfg = Kit.Cfg
local PRESETS = {
['Off'] = { EventEspEnabled = false, TWBot = false, TWAlerts = false },
['ESP only'] = { EventEspEnabled = true, TWBot = false, TWAlerts = true },
['Rage Tower'] = { EventEspEnabled = true, TWBot = true, TWAlerts = true },
}
UiApi.PresetOrder = { 'Custom', 'Off', 'ESP only', 'Rage Tower' }
local function applyPreset(name)
local preset = PRESETS[name]
if not preset then return end
for id, value in pairs(preset._options or {}) do
local option = Options[id]
if option and option.Value ~= value then option:SetValue(value) end
end
for id, value in pairs(preset) do
local toggle = id ~= '_options' and Toggles[id]
if toggle and toggle.Value ~= value then toggle:SetValue(value) end
end
Kit.Notify('preset', 'Event', 'Preset applied: ' .. name, 1, true)
end
UiApi.ApplyPreset = applyPreset
-- legacy: { State = EventZombieState, TestFire = fn, DumpStructure = fn, DumpEnum = fn }
function UiApi.Build(tab, legacy)
local state = legacy and legacy.State
local esp, bot, rage = cfg.Esp, cfg.Bot, cfg.Rage
cfg.QuietNotify = true
local function toggle(group, id, text, default, tooltip, apply)
local t = group:AddToggle(id, { Text = text, Default = default, Tooltip = tooltip })
t:OnChanged(GuardRivalsCallback('Tower_' .. id, apply))
return t
end
local function slider(group, id, text, default, min, max, suffix, apply, rounding)
local s = group:AddSlider(
id,
{
Text = text,
Default = default,
Min = min,
Max = max,
Rounding = rounding or 0,
Suffix = suffix or '',
Compact = true,
}
)
s:OnChanged(GuardRivalsCallback('Tower_' .. id, apply))
return s
end
local function dropdown(group, id, text, values, default, tooltip, apply)
local d =
group:AddDropdown(id, { Text = text, Values = values, Default = default, Multi = false, Tooltip = tooltip })
d:OnChanged(GuardRivalsCallback('Tower_' .. id, apply))
return d
end
-- Only the controls a normal user needs are here. Everything else (hover height, dodge tuning, standing side, pack sizes, diagnostics...)
-- keeps its tuned default from core.lua; the full control set is kept in ui_full_backup.lua next to this file.
-- ------------------------------------------------------------ quick start
local quick = tab:AddLeftGroupbox('Quick Start')
dropdown(
quick,
'TWPreset',
'Preset',
UiApi.PresetOrder,
'Custom',
'One click setups. They only flip the switches below, so you can tweak afterwards.',
function(v)
if v ~= 'Custom' then applyPreset(v) end
end
)
-- ------------------------------------------------------------ auto tower
local botBox = tab:AddLeftGroupbox('Auto Tower')
toggle(
botBox,
'TWBot',
'Auto Tower',
false,
'Fights the tower for you: hops to mobs, kills them, steps into wave triggers and moves on to the next floor. Press W/A/S/D to take over at any time. If the server keeps pulling you back from your hops, it switches itself off.',
function(v)
bot.Mode = 'Rage'
Kit.Bot.SetEnabled(v)
-- the bot never clicks while this menu is open (the click would land on the menu): the weapon pick sat there for minutes
if v and Library and Library.Toggled then
pcall(function() Library:Toggle(false) end)
Kit.Notify(
'menu',
'Auto Tower',
'menu closed: the bot clicks only while it is closed (RightControl opens it again)',
1,
true
)
end
end
)
-- (there is only one mode now: the farm is always Rage)
bot.Mode = 'Rage'
slider(botBox, 'TWReach', 'Long Reach', 12, 0, 40, ' studs', function(v) rage.LongReach = v end)
-- (the slider's default is also what the farm starts with; 12 studs = a hover 15.5 above the mobs, the measured limit is about 16)
rage.LongReach = 12
toggle(
botBox,
'TWRageFast',
'Max Fist Speed',
true,
"Turns on the hub's Weapon Attack Speed while the farm runs and puts it back afterwards.",
function(v) rage.FastMelee = v end
)
toggle(
botBox,
'TWRageKillOrder',
'Kill In Order',
true,
'Rage mode: ghosts and reapers first, then skeletons, brutes and the other big zombies, then plain zombies. Off = nearest first.',
function(v) rage.KillOrder = v end
)
toggle(
botBox,
'TWRageLock',
'Focus One Mob Until Dead',
true,
'Once a mob is picked it is fought until it is dead, then the next one. Stops the bot jumping back and forth between two mobs.',
function(v) rage.TargetLock = v end
)
toggle(
botBox,
'TWRageClaim',
'Claim Weapon Crates',
true,
'When a zombie drops a "Claim | New Weapon" crate, takes it and picks the best gun offered (Grenade Launcher first). Keeps claiming until the Grenade Launcher is in hand.',
function(v)
rage.ClaimWeapon = v
rage.LauncherHunt = v
end
)
toggle(
botBox,
'TWRageLauncher',
'Use Launcher And Grenades',
true,
'Fires the Grenade Launcher into packs from a safe distance and throws grenades at packs that are far enough away.',
function(v)
rage.Launcher = v
rage.Grenade = v
end
)
toggle(
botBox,
'TWBotPause',
'Pause When I Steer',
true,
'The bot stands down for a moment whenever you press W/A/S/D.',
function(v) bot.PauseOnInput = v end
)
-- (no stop switches any more: the farm never stops for a boss or for low health, it ends when you switch it off or the round does)
bot.StopAtBoss = false
bot.RetreatPct, rage.RetreatPct = 0, 0
-- --------------------------------------------------------------- queue
local queue = tab:AddLeftGroupbox('Tower Queue')
dropdown(
queue,
'TWQueueMode',
'Tower',
Kit.QueueModeOrder,
cfg.QueueMode,
'Zombie Tower is the easier one: only zombies, and it has a finish. Gargoyle Tower has Explosive Zombies, Chargers, Ghosts and bosses on floors 10 and 17.',
function(v) cfg.QueueMode = v end
)
queue:AddButton({
Text = 'Join Tower Queue',
Func = GuardRivalsCallback('Tower_Join', Kit.JoinQueue),
Tooltip = 'Same call the Play page makes. Works from the lobby.',
})
queue:AddButton({
Text = 'Play Again',
Func = GuardRivalsCallback('Tower_Again', Kit.PlayAgain),
Tooltip = "The results screen's Play Again button. A new round starts in a new server, so turn Auto Tower on again there.",
})
queue:AddButton({
Text = 'Leave Match',
Func = GuardRivalsCallback('Tower_LeaveMatch', Kit.LeaveMatch),
Tooltip = 'Same as the Leave button on the results screen; returns you to the lobby.',
})
-- --------------------------------------------------------------- mob esp
local espBox = tab:AddRightGroupbox('Mob ESP')
toggle(
espBox,
'EventEspEnabled',
'Mob ESP',
false,
'Boxes, health bars and threat tags on every mob.',
function(v) esp.Enabled = v end
)
dropdown(
espBox,
'TWEspStyle',
'Box Style',
{ 'Corners', 'Box', 'Off' },
'Corners',
nil,
function(v) esp.Style = v end
)
toggle(espBox, 'EventEspName', 'Names + Threat Tags', true, nil, function(v) esp.Name = v end)
toggle(espBox, 'EventEspHealth', 'Health Bar', true, nil, function(v) esp.Health = v end)
slider(espBox, 'EventEspMaxDistance', 'Max Distance', 500, 50, 1500, ' studs', function(v) esp.MaxDistance = v end)
toggle(
espBox,
'TWHud',
'Tower HUD',
false,
'On-screen floor, mobs alive, boss health, bot state and event progress.',
function(v) cfg.Hud = v end
)
toggle(
espBox,
'TWAlerts',
'Attack Warnings',
false,
'Ground ring and countdown for slams, charges, leaps and zaps.',
function(v) Kit.SetAlerts(v) end
)
-- ------------------------------------------------------------ aim assist
local aimBox = tab:AddRightGroupbox('Aim')
toggle(
aimBox,
'EventZombieIncludeInAimbot',
'Silent Aim On Mobs',
false,
'Your own shots go to mobs too. Needs the Combat > Aimbot to be enabled.',
function() end
)
-- A saved config never switches a tower feature on: these controls are left out of config saves and loads, so every load starts with
-- Auto Tower, Mob ESP, Tower HUD, Attack Warnings and Silent Aim On Mobs off (and a changed switch is not written into the user's config either).
if SaveManager and type(SaveManager.SetIgnoreIndexes) == 'function' then
SaveManager:SetIgnoreIndexes({
'TWPreset',
'TWBot',
'TWReach',
'TWRageFast',
'TWRageKillOrder',
'TWRageLock',
'TWRageClaim',
'TWRageLauncher',
'TWBotPause',
'TWQueueMode',
'EventEspEnabled',
'TWEspStyle',
'EventEspName',
'EventEspHealth',
'EventEspMaxDistance',
'TWHud',
'TWAlerts',
'EventZombieIncludeInAimbot',
})
end
end
return UiApi
end)(RivalsRuntimeBridge.TowerKit)
local function EventZombieCleanup()
EventZombieState.Running = false
if RivalsRuntimeBridge.TowerKit then pcall(RivalsRuntimeBridge.TowerKit.Destroy) end
EventZombieClearEsp()
if EventZombieState.FovCircle then pcall(function() EventZombieState.FovCircle:Remove() end) end
if EventZombieState.TargetDot then pcall(function() EventZombieState.TargetDot:Remove() end) end
EventZombieState.FovCircle = nil
EventZombieState.TargetDot = nil
end
local BuildRivalsAntihitUi = nil
local BuildRivalsModsUi = nil
local BuildRivalsVisualsUi = nil
local BuildRivalsRagebotUi = nil
local BuildRivalsCosmeticsUi = nil
local BuildRivalsPickupUi = nil
local BuildRivalsEventUi = nil
local BuildRivalsMiscUi = nil
local BuildRivalsUi = nil
-- ======================================================================
-- Kill-seat rage (RivalsRagebot)
-- ======================================================================
local RivalsRagebot = {
RespawnRequestInterval = 1,
RespawnBurstCount = 5,
RespawnBurstDelay = 0.1,
RadiusIn = 10,
RadiusOut = 35,
InOutToggleHz = 15,
WeaponRanges = {
['Shotgun'] = { In = 5, Out = 5 },
},
HeightBase = 3,
HeightWobbleAmp = 2,
HeightWobbleRateHz = 2.7,
OOBBufferDistance = 4,
KillSeatBufferDistance = 1.5,
KillSeatScoreRayLength = 8,
KillSeatRefreshIntervalSec = 0.4,
KillSeatBuildTtlSec = 60,
KillSeatMaxKept = 24,
KillSeatScoreDistanceWeight = 0.05,
KillSeatRefineStep = 0.05,
HostileTeleportDeltaStuds = 50,
HostileTeleportMinSpeed = 150,
HostileTeleportWindowSec = 5,
HostileTeleportMinCount = 1,
HostileTrackerSampleMinDt = 0.05,
HoldCFrameStaleTtlSec = 0.15,
BarrierEvictionThresholdSec = 2,
BaitTrapOffsetSamples = 5,
BaitTrapMinSamples = 1,
BaitTrapHysteresisSec = 0.6,
BaitTrapMaxCandidateDist = 60,
LosRaycastParams = RaycastParams.new(),
}
RivalsRagebot.LosRaycastParams.FilterType = Enum.RaycastFilterType.Exclude
RivalsRagebot.LosRaycastParams.IgnoreWater = true
RivalsRagebot.LosRaycastParams.RespectCanCollide = false
local RivalsRagebotState = {
Target = nil,
HoldCFrame = nil,
LastHoldUpdateAt = 0,
LastRespawnRequestAt = 0,
PhaseClockSec = 0,
KillSeats = nil,
KillSeatsBuiltAt = 0,
CurrentKillSeat = nil,
LastKillSeatPickAt = 0,
LastKnownTargetPos = nil,
HostileTeleports = {},
LastWeaponName = nil,
CachedRanges = nil,
LastInsideBarrierAt = 0,
LastBaitTrapPos = nil,
LastBaitTrapPickAt = 0,
}
local RivalsAutoLoadoutState = {
HasRunThisOpen = false,
OpenNonce = 0,
BoundPageControllers = {},
BoundPageFrames = {},
Profiles = {},
ConfigName = 'RIVALS Default',
RefreshingDropdownValues = 0,
}
local RivalsCosmeticsState = {
PlayerDataHooked = false,
WeaponInventoryUnlockCache = setmetatable({}, { __mode = 'k' }),
WeaponUnlockOriginals = {},
RefreshingDropdownValues = 0,
PreviewWeaponName = nil,
SelectedEditorWeaponName = nil,
SelectedSkinByWeapon = {},
SelectedWrapByWeapon = {},
SelectedCharmByWeapon = {},
SelectedFinisherByWeapon = {},
SelectedWrapInvertedByWeapon = {},
StableRandomSelectionByWeapon = {},
FavoritedCosmeticsByWeapon = {},
OnlyUseFavoritesByWeapon = {},
RankCharmOverridesBySeason = {},
SelectedRankCharmSeason = nil,
PendingWrapSelectionByWeapon = {},
PendingSkinSelectionByWeapon = {},
PendingCharmSelectionByWeapon = {},
PendingFinisherSelectionByWeapon = {},
PendingApplyToken = 0,
RuntimeApplyRetryPending = false,
PreviewViewportModel = nil,
CosmeticsUiLoaded = false,
CosmeticsUiLoading = false,
CosmeticsConfigName = 'RIVALS Default',
BoundFirstPersonModels = false,
PlayerDataController = nil,
PlayerDataRestore = nil,
PlayerDataAddedConnection = nil,
PlayerDataUtility = nil,
PlayerDataUtilityGetWeaponData = nil,
PlayerDataGetWeaponDataFunction = nil,
PlayerDataGetWeaponDataConstantIndex = nil,
PlayerDataGetWeaponDataConstantValue = nil,
OriginalWrapProperties = setmetatable({}, { __mode = 'k' }),
OriginalInjectedItemCosmetics = setmetatable({}, { __mode = 'k' }),
WorldTripmineEntries = setmetatable({}, { __mode = 'k' }),
WorldTripmineApplyTokens = setmetatable({}, { __mode = 'k' }),
SpawnedWorldCosmeticEntries = setmetatable({}, { __mode = 'k' }),
SpawnedWorldCosmeticApplyTokens = setmetatable({}, { __mode = 'k' }),
SpawnedWorldCosmeticRetagging = setmetatable({}, { __mode = 'k' }),
SavedConfigCosmeticObjects = nil,
CosmeticPresetsLoaded = false,
CosmeticPresets = {},
CosmeticPresetSettings = {},
CosmeticPresetAutoLoadApplied = false,
CosmeticPresetSaveToken = 0,
ApplyingCosmeticPreset = false,
ClientViewModelHooked = false,
ClientItemConstructor = nil,
ClientItemPrototype = nil,
ClientItemPrototypeIndex = nil,
ClientItemRestoreData = {},
ViewModelSelectionSignatureByItem = setmetatable({}, { __mode = 'k' }),
ClientEntityFinisherHooked = false,
HookedClientEntityClass = nil,
OriginalClientEntityPlayFinisher = nil,
ClientEntityPlayFinisherWrapper = nil,
OriginalEquippedEmotes = nil,
EmoteControllerHooked = false,
HookedEmoteController = nil,
OriginalEmoteControllerEquipEmote = nil,
OriginalEmoteControllerUseEmoteByName = nil,
NativeUnlockedInventory = nil,
NativeFavoritesSeeded = false,
NativeUiBound = false,
NativeCosmeticSlotConstructor = nil,
NativeCosmeticSlotPrototype = nil,
WeaponCardSkinHooked = false,
NativeEquipmentStateRestore = nil,
NativeInvertedValue = false,
NativeFavoriteConnection = nil,
NativeOnlyUseFavoritesConnection = nil,
NativeSaveToken = 0,
}
do
local TWO_PI = math.pi * 2
function RivalsRagebot.IsEnabled() return Toggles.P8S4T1 and Toggles.P8S4T1.Value == true end
function RivalsRagebot.IsRespawnEnabled() return Toggles.P8S4T2 and Toggles.P8S4T2.Value == true end
function RivalsRagebot.ResolveWeaponRanges()
local equipped = AimbotBridge.ResolveAimbotEquippedItem()
local name = equipped and equipped.Name or nil
if RivalsRagebotState.CachedRanges and name == RivalsRagebotState.LastWeaponName then
return RivalsRagebotState.CachedRanges
end
local equippedInfo = equipped and equipped.Info or nil
local equippedIsMelee = equippedInfo and (equippedInfo.Class == 'Melee' or equippedInfo.Type == 'Melee') and true
or false
local ranges
if name and RivalsRagebot.WeaponRanges[name] then
ranges = RivalsRagebot.WeaponRanges[name]
elseif equippedIsMelee then
ranges = { In = MeleeFastFire.RagebotStuds, Out = MeleeFastFire.RagebotStuds }
else
ranges = { In = RivalsRagebot.RadiusIn, Out = RivalsRagebot.RadiusOut }
end
RivalsRagebotState.LastWeaponName = name
RivalsRagebotState.CachedRanges = ranges
return ranges
end
function RivalsRagebot.ResolveRadius()
local ranges = RivalsRagebot.ResolveWeaponRanges()
local toggle = math.floor(tick() * RivalsRagebot.InOutToggleHz) % 2 == 0
return toggle and ranges.In or ranges.Out
end
function RivalsRagebot.ResolveHeightOffset(clockSec)
local t = clockSec or 0
return RivalsRagebot.HeightBase
+ math.sin(2 * math.pi * RivalsRagebot.HeightWobbleRateHz * t) * RivalsRagebot.HeightWobbleAmp
end
function RivalsRagebot.ResolveRagebotCFrame(targetRootPart, radius, heightOffset, phaseRad)
local localOffset = Vector3.new(math.sin(phaseRad) * radius, heightOffset, math.cos(phaseRad) * radius)
local worldPos = targetRootPart.CFrame:PointToWorldSpace(localOffset)
return CFrame.lookAt(worldPos, targetRootPart.Position)
end
function RivalsRagebot.IsCandidatePositionInBounds(candidatePos, subject)
local CollectionService = game:GetService('CollectionService')
local insideSafePart = false
for _, safe in ipairs(CollectionService:GetTagged('OutOfBoundsSafePart')) do
if safe:IsA('BasePart') then
local rel = safe.CFrame:PointToObjectSpace(candidatePos)
local hx, hy, hz = safe.Size.X * 0.5, safe.Size.Y * 0.5, safe.Size.Z * 0.5
if math.abs(rel.X) <= hx and math.abs(rel.Y) <= hy and math.abs(rel.Z) <= hz then
insideSafePart = true
break
end
end
end
if not insideSafePart then
local oobBufferSq = RivalsRagebot.OOBBufferDistance * RivalsRagebot.OOBBufferDistance
for _, oob in ipairs(CollectionService:GetTagged('OutOfBoundsPart')) do
if oob:IsA('BasePart') then
local rel = oob.CFrame:PointToObjectSpace(candidatePos)
local hx, hy, hz = oob.Size.X * 0.5, oob.Size.Y * 0.5, oob.Size.Z * 0.5
local dx = math.max(math.abs(rel.X) - hx, 0)
local dy = math.max(math.abs(rel.Y) - hy, 0)
local dz = math.max(math.abs(rel.Z) - hz, 0)
if (dx * dx + dy * dy + dz * dz) < oobBufferSq then return false end
end
end
end
return true
end
local function IsPointInOOBVolume(pos)
local CollectionService = game:GetService('CollectionService')
for _, safe in ipairs(CollectionService:GetTagged('OutOfBoundsSafePart')) do
if safe:IsA('BasePart') then
local rel = safe.CFrame:PointToObjectSpace(pos)
local hx, hy, hz = safe.Size.X * 0.5, safe.Size.Y * 0.5, safe.Size.Z * 0.5
if math.abs(rel.X) <= hx and math.abs(rel.Y) <= hy and math.abs(rel.Z) <= hz then return false end
end
end
for _, oob in ipairs(CollectionService:GetTagged('OutOfBoundsPart')) do
if oob:IsA('BasePart') then
local rel = oob.CFrame:PointToObjectSpace(pos)
local hx, hy, hz = oob.Size.X * 0.5, oob.Size.Y * 0.5, oob.Size.Z * 0.5
if math.abs(rel.X) <= hx and math.abs(rel.Y) <= hy and math.abs(rel.Z) <= hz then return true end
end
end
return false
end
local function GetOOBPartAt(pos)
local CollectionService = game:GetService('CollectionService')
for _, safe in ipairs(CollectionService:GetTagged('OutOfBoundsSafePart')) do
if safe:IsA('BasePart') then
local rel = safe.CFrame:PointToObjectSpace(pos)
local hx, hy, hz = safe.Size.X * 0.5, safe.Size.Y * 0.5, safe.Size.Z * 0.5
if math.abs(rel.X) <= hx and math.abs(rel.Y) <= hy and math.abs(rel.Z) <= hz then return nil end
end
end
for _, oob in ipairs(CollectionService:GetTagged('OutOfBoundsPart')) do
if oob:IsA('BasePart') then
local rel = oob.CFrame:PointToObjectSpace(pos)
local hx, hy, hz = oob.Size.X * 0.5, oob.Size.Y * 0.5, oob.Size.Z * 0.5
if math.abs(rel.X) <= hx and math.abs(rel.Y) <= hy and math.abs(rel.Z) <= hz then return oob end
end
end
return nil
end
local KILL_SEAT_SAMPLE_DIRECTIONS = (function()
local d = {}
local axes = {
Vector3.new(1, 0, 0),
Vector3.new(-1, 0, 0),
Vector3.new(0, 1, 0),
Vector3.new(0, -1, 0),
Vector3.new(0, 0, 1),
Vector3.new(0, 0, -1),
Vector3.new(1, 1, 0),
Vector3.new(1, -1, 0),
Vector3.new(-1, 1, 0),
Vector3.new(-1, -1, 0),
Vector3.new(1, 0, 1),
Vector3.new(1, 0, -1),
Vector3.new(-1, 0, 1),
Vector3.new(-1, 0, -1),
Vector3.new(0, 1, 1),
Vector3.new(0, 1, -1),
Vector3.new(0, -1, 1),
Vector3.new(0, -1, -1),
Vector3.new(1, 1, 1),
Vector3.new(1, 1, -1),
Vector3.new(1, -1, 1),
Vector3.new(1, -1, -1),
Vector3.new(-1, 1, 1),
Vector3.new(-1, 1, -1),
Vector3.new(-1, -1, 1),
Vector3.new(-1, -1, -1),
}
for _, v in ipairs(axes) do
d[#d + 1] = v.Unit
end
return d
end)()
local KILL_SEAT_AXIS_OFFSETS = {
Vector3.new(1, 0, 0),
Vector3.new(-1, 0, 0),
Vector3.new(0, 1, 0),
Vector3.new(0, -1, 0),
Vector3.new(0, 0, 1),
Vector3.new(0, 0, -1),
Vector3.new(1, 1, 0),
Vector3.new(1, -1, 0),
Vector3.new(-1, 1, 0),
Vector3.new(-1, -1, 0),
Vector3.new(1, 0, 1),
Vector3.new(1, 0, -1),
Vector3.new(-1, 0, 1),
Vector3.new(-1, 0, -1),
Vector3.new(0, 1, 1),
Vector3.new(0, 1, -1),
Vector3.new(0, -1, 1),
Vector3.new(0, -1, -1),
Vector3.new(1, 1, 1),
Vector3.new(1, 1, -1),
Vector3.new(1, -1, 1),
Vector3.new(1, -1, -1),
Vector3.new(-1, 1, 1),
Vector3.new(-1, 1, -1),
Vector3.new(-1, -1, 1),
Vector3.new(-1, -1, -1),
}
local KILL_SEAT_REFINE_LATTICE = (function()
local lattice = {}
for x = -1, 1 do
for y = -1, 1 do
for z = -1, 1 do
if not (x == 0 and y == 0 and z == 0) then lattice[#lattice + 1] = Vector3.new(x, y, z) end
end
end
end
return lattice
end)()
function RivalsRagebot.ScoreSeatPosition(pos)
if IsPointInOOBVolume(pos) then return -1 end
local distinctParts = {}
local distinctCount = 0
local hitCount = 0
local cardinalHits = 0
local rayLen = RivalsRagebot.KillSeatScoreRayLength
for _, dir in ipairs(KILL_SEAT_SAMPLE_DIRECTIONS) do
local samplePos = pos + dir * rayLen
local hitPart = GetOOBPartAt(samplePos)
if hitPart then
hitCount = hitCount + 1
if not distinctParts[hitPart] then
distinctParts[hitPart] = true
distinctCount = distinctCount + 1
end
if (math.abs(dir.X) + math.abs(dir.Y) + math.abs(dir.Z)) < 1.05 then cardinalHits = cardinalHits + 1 end
end
end
if hitCount == 0 then return 0 end
return cardinalHits * 10000 + distinctCount * 1000 + hitCount
end
function RivalsRagebot.RefineKillSeatPosition(seatPos)
local step = RivalsRagebot.KillSeatRefineStep or 1.0
local bestPos = seatPos
local bestScore = RivalsRagebot.ScoreSeatPosition(seatPos)
for _, offset in ipairs(KILL_SEAT_REFINE_LATTICE) do
local candidatePos = seatPos + offset * step
local s = RivalsRagebot.ScoreSeatPosition(candidatePos)
if s > bestScore then
bestScore = s
bestPos = candidatePos
end
end
return bestPos
end
function RivalsRagebot.BuildKillSeats(force)
local now = tick()
if
not force
and RivalsRagebotState.KillSeats
and (now - RivalsRagebotState.KillSeatsBuiltAt) < RivalsRagebot.KillSeatBuildTtlSec
then
return RivalsRagebotState.KillSeats
end
local CollectionService = game:GetService('CollectionService')
local oobParts = CollectionService:GetTagged('OutOfBoundsPart')
if not oobParts or #oobParts == 0 then
RivalsRagebotState.KillSeats = {}
RivalsRagebotState.KillSeatsBuiltAt = now
return RivalsRagebotState.KillSeats
end
local buffer = RivalsRagebot.KillSeatBufferDistance
local rayLen = RivalsRagebot.KillSeatScoreRayLength
local candidates = {}
for _, oob in ipairs(oobParts) do
if oob:IsA('BasePart') then
local size = oob.Size
local cframe = oob.CFrame
local hx, hy, hz = size.X * 0.5, size.Y * 0.5, size.Z * 0.5
for _, axis in ipairs(KILL_SEAT_AXIS_OFFSETS) do
local localOffset = Vector3.new(axis.X * (hx + buffer), axis.Y * (hy + buffer), axis.Z * (hz + buffer))
local seatPos = cframe:PointToWorldSpace(localOffset)
if not IsPointInOOBVolume(seatPos) then
local distinctParts = {}
local distinctCount = 0
local hitCount = 0
local cardinalHits = 0
local openSum = Vector3.zero
for _, dir in ipairs(KILL_SEAT_SAMPLE_DIRECTIONS) do
local samplePos = seatPos + dir * rayLen
local hitPart = GetOOBPartAt(samplePos)
if hitPart then
hitCount = hitCount + 1
if not distinctParts[hitPart] then
distinctParts[hitPart] = true
distinctCount = distinctCount + 1
end
if (math.abs(dir.X) + math.abs(dir.Y) + math.abs(dir.Z)) < 1.05 then
cardinalHits = cardinalHits + 1
end
else
openSum = openSum + dir
end
end
if hitCount > 0 then
local openDir = (openSum.Magnitude > 0.001) and openSum.Unit or Vector3.new(0, 1, 0)
table.insert(candidates, {
Position = seatPos,
Score = cardinalHits * 10000 + distinctCount * 1000 + hitCount,
CardinalHits = cardinalHits,
DistinctParts = distinctCount,
HitCount = hitCount,
OpenDirection = openDir,
})
end
end
end
end
end
table.sort(candidates, function(a, b) return a.Score > b.Score end)
local maxKept = RivalsRagebot.KillSeatMaxKept
if maxKept and #candidates > maxKept then
for i = #candidates, maxKept + 1, -1 do
candidates[i] = nil
end
end
RivalsRagebotState.KillSeats = candidates
RivalsRagebotState.KillSeatsBuiltAt = now
return candidates
end
function RivalsRagebot.PickKillSeatNearestTarget(referencePos)
local now = tick()
if
RivalsRagebotState.CurrentKillSeat
and (now - RivalsRagebotState.LastKillSeatPickAt) < RivalsRagebot.KillSeatRefreshIntervalSec
then
return RivalsRagebotState.CurrentKillSeat
end
local seats = RivalsRagebot.BuildKillSeats(false)
if not seats or #seats == 0 then
RivalsRagebotState.CurrentKillSeat = nil
RivalsRagebotState.LastKillSeatPickAt = now
return nil
end
local bestSeat = nil
local bestComposite = math.huge
local distanceWeight = RivalsRagebot.KillSeatScoreDistanceWeight
for _, seat in ipairs(seats) do
local dist = referencePos and (seat.Position - referencePos).Magnitude or 0
local composite = -seat.Score + dist * distanceWeight
if composite < bestComposite then
bestComposite = composite
bestSeat = seat
end
end
local picked = nil
if bestSeat then
if not bestSeat.RefinedPosition then
bestSeat.RefinedPosition = RivalsRagebot.RefineKillSeatPosition(bestSeat.Position)
end
picked = bestSeat.RefinedPosition
end
RivalsRagebotState.CurrentKillSeat = picked
RivalsRagebotState.LastKillSeatPickAt = now
return picked
end
function RivalsRagebot.IsBaitModeEnabled() return Toggles.P8S4T3 and Toggles.P8S4T3.Value == true end
function RivalsRagebot.UpdateHostileTeleportTracker(now)
local minDt = RivalsRagebot.HostileTrackerSampleMinDt
if (now - (RivalsRagebotState.LastHostileTrackerSampleAt or 0)) < minDt then return end
RivalsRagebotState.LastHostileTrackerSampleAt = now
local hostileTeleports = RivalsRagebotState.HostileTeleports
local fighters = LocalFighterController and LocalFighterController.Objects or {}
for _, fighter in ipairs(fighters) do
local player = fighter and fighter.Player
if player and player ~= LP and player.Parent == Players and RivalsRagebot.IsCombatTarget(player) then
local char = player.Character
local hrp = char and char:FindFirstChild('HumanoidRootPart')
if hrp and hrp.Parent then
local entry = hostileTeleports[player]
if not entry then
entry = { LastPos = hrp.Position, LastCheckedAt = now, Teleports = {}, Offsets = {} }
end
hostileTeleports[player] = entry
entry.SeenAt = now
local dt = now - entry.LastCheckedAt
if dt >= minDt then
local dist = (hrp.Position - entry.LastPos).Magnitude
if
dist > RivalsRagebot.HostileTeleportDeltaStuds
and (dist / dt) > RivalsRagebot.HostileTeleportMinSpeed
then
table.insert(entry.Teleports, now)
local localChar = LP and LP.Character
local localHrp = localChar and localChar:FindFirstChild('HumanoidRootPart')
if localHrp then
table.insert(entry.Offsets, { Time = now, Offset = hrp.Position - localHrp.Position })
end
end
entry.LastPos = hrp.Position
entry.LastCheckedAt = now
end
local windowSec = RivalsRagebot.HostileTeleportWindowSec
for index = #entry.Teleports, 1, -1 do
if (now - entry.Teleports[index]) >= windowSec then table.remove(entry.Teleports, index) end
end
for index = #entry.Offsets, 1, -1 do
if (now - entry.Offsets[index].Time) >= windowSec then table.remove(entry.Offsets, index) end
end
end
end
end
for player, entry in pairs(hostileTeleports) do
if entry.SeenAt ~= now then hostileTeleports[player] = nil end
end
end
function RivalsRagebot.IsHostileCheating()
local minCount = RivalsRagebot.HostileTeleportMinCount
local hostileTeleports = RivalsRagebotState.HostileTeleports
if not hostileTeleports then return false end
for _, entry in pairs(hostileTeleports) do
if entry.Teleports and #entry.Teleports >= minCount then return true end
end
return false
end
function RivalsRagebot.GetMostActiveCheater()
local hostileTeleports = RivalsRagebotState.HostileTeleports
if not hostileTeleports then return nil end
local bestPlayer, bestCount = nil, 0
for player, entry in pairs(hostileTeleports) do
local count = entry.Teleports and #entry.Teleports or 0
if count > bestCount then
bestCount = count
bestPlayer = player
end
end
return bestPlayer, bestCount
end
function RivalsRagebot.GetCheaterOffsetPrediction(player)
local entry = player and RivalsRagebotState.HostileTeleports and RivalsRagebotState.HostileTeleports[player]
if not entry or not entry.Offsets then return nil end
local samples = RivalsRagebot.BaitTrapOffsetSamples
local minSamples = RivalsRagebot.BaitTrapMinSamples
local total = #entry.Offsets
if total < minSamples then return nil end
local startIdx = math.max(1, total - samples + 1)
local sum = Vector3.zero
local count = 0
for i = startIdx, total do
sum = sum + entry.Offsets[i].Offset
count = count + 1
end
if count == 0 then return nil end
return sum / count
end
function RivalsRagebot.FindBaitTrapPosition(predictedOffset)
if not predictedOffset then return nil end
local seats = RivalsRagebot.BuildKillSeats(false)
if not seats or #seats == 0 then return nil end
local localChar = LP and LP.Character
local localHrp = localChar and localChar:FindFirstChild('HumanoidRootPart')
local refPos = localHrp and localHrp.Position or nil
local maxDist = RivalsRagebot.BaitTrapMaxCandidateDist
local bestSeat, bestComposite = nil, math.huge
for _, seat in ipairs(seats) do
if seat.Position then
local landingPos = seat.Position + predictedOffset
if IsPointInOOBVolume(landingPos) then
local dist = refPos and (seat.Position - refPos).Magnitude or 0
if not refPos or dist <= maxDist then
local composite = dist - (seat.Score * 0.0001)
if composite < bestComposite then
bestComposite = composite
bestSeat = seat
end
end
end
end
end
if not bestSeat then return nil end
if not bestSeat.RefinedPosition then
bestSeat.RefinedPosition = RivalsRagebot.RefineKillSeatPosition(bestSeat.Position)
end
return bestSeat.RefinedPosition or bestSeat.Position
end
function RivalsRagebot.PivotToBaitTrapOrSnug()
local now = tick()
if
RivalsRagebotState.LastBaitTrapPos
and (now - (RivalsRagebotState.LastBaitTrapPickAt or 0)) < RivalsRagebot.BaitTrapHysteresisSec
then
local activeChar = RivalsRuntimeBridge.AcquireActiveCharacter()
if activeChar then
local cur = activeChar:GetPivot()
activeChar:PivotTo(CFrame.new(RivalsRagebotState.LastBaitTrapPos) * (cur - cur.Position))
return true
end
end
local cheater = RivalsRagebot.GetMostActiveCheater()
local predicted = cheater and RivalsRagebot.GetCheaterOffsetPrediction(cheater) or nil
local trapPos = predicted and RivalsRagebot.FindBaitTrapPosition(predicted) or nil
if not trapPos then
local seats = RivalsRagebot.BuildKillSeats(false)
if seats and #seats > 0 then
local snug = seats[1]
if not snug.RefinedPosition then
snug.RefinedPosition = RivalsRagebot.RefineKillSeatPosition(snug.Position)
end
trapPos = snug.RefinedPosition or snug.Position
end
end
if not trapPos then return false end
RivalsRagebotState.LastBaitTrapPos = trapPos
RivalsRagebotState.LastBaitTrapPickAt = now
local activeChar = RivalsRuntimeBridge.AcquireActiveCharacter()
if not activeChar then return false end
local cur = activeChar:GetPivot()
activeChar:PivotTo(CFrame.new(trapPos) * (cur - cur.Position))
return true
end
function RivalsRagebot.ResolveRespawnRemote()
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local duels = remotes and remotes:FindFirstChild('Duels')
local respawnNow = duels and duels:FindFirstChild('RespawnNow')
if respawnNow and respawnNow:IsA('RemoteEvent') then return respawnNow end
return nil
end
function RivalsRagebot.TryRespawn()
if not RivalsRagebot.IsRespawnEnabled() then return false end
local now = tick()
if (now - RivalsRagebotState.LastRespawnRequestAt) < RivalsRagebot.RespawnRequestInterval then return false end
local respawnNow = RivalsRagebot.ResolveRespawnRemote()
if not respawnNow then return false end
RivalsRagebotState.LastRespawnRequestAt = now
task.spawn(GuardRivalsCallback('AutoRespawn_Burst', function()
for requestIndex = 1, RivalsRagebot.RespawnBurstCount do
safe_fire_server(respawnNow)
if requestIndex < RivalsRagebot.RespawnBurstCount then task.wait(RivalsRagebot.RespawnBurstDelay) end
end
end))
return true
end
function RivalsRagebot.QueueRespawn()
task.defer(function() RivalsRagebot.TryRespawn() end)
end
function RivalsRagebot.RegisterRespawnSignals()
local binding = RivalsRagebotState.RespawnBinding
if not binding then
binding = RivalsRuntimeBridge.ReplicateHook.Reserve({ 'RespawnNowAnimation' })
if not binding then return end
binding:SetHandler(function(packet)
if packet.enumName ~= 'RespawnNowAnimation' or packet.args[1] ~= LP then return end
RivalsRagebot.QueueRespawn()
end)
RivalsRagebotState.RespawnBinding = binding
end
binding:SetEnabled(RivalsRagebot.IsRespawnEnabled())
RivalsRuntimeBridge.ReplicateHook.RevertIfIdle()
end
function RivalsRagebot.IsCombatTarget(player) return IsPlayerInLocalEnvironment(player) end
local SHIELD_CLAMP_RAD = math.rad(45)
function RivalsRagebot.ResolveTarget(rawPhase)
EnsureAimbotTargetTracking()
local camera = Workspace.CurrentCamera
if not camera then return nil end
local mousePosition = Vector2.new(camera.ViewportSize.X * 0.5, camera.ViewportSize.Y * 0.5)
local radius = RivalsRagebot.ResolveRadius()
local heightOffset = RivalsRagebot.ResolveHeightOffset(RivalsRagebotState.PhaseClockSec)
local observerPosition = HumanoidRootPart and HumanoidRootPart.Position
local bestTarget = nil
local bestHoverCFrame = nil
for _, fighter in ipairs(LocalFighterController and LocalFighterController.Objects or {}) do
local player = fighter and fighter.Player
if
player
and player ~= LP
and player.Parent == Players
and ShouldShow(player, false)
and RivalsRagebot.IsCombatTarget(player)
then
local entity = fighter.Entity
local subject = entity and entity.Model
if subject then
local targetInfo = RivalsRuntimeBridge.BuildAimbotTargetInfo(
subject,
'Players',
'Auto',
mousePosition,
player,
math.huge,
nil,
true,
camera,
'Ragebot',
true
)
if targetInfo then
local targetRootPart = subject:FindFirstChild('HumanoidRootPart')
if targetRootPart and targetRootPart.Parent then
local effectivePhase = rawPhase or 0
local shieldState =
EvaluateRivalsRiotShieldChecker(player, subject or player.Character, observerPosition)
if shieldState and shieldState.IsShieldEquipped == true then
effectivePhase = math.clamp(effectivePhase, -SHIELD_CLAMP_RAD, SHIELD_CLAMP_RAD)
elseif shieldState and shieldState.HasShieldInLoadout == true then
effectivePhase = math.pi + math.clamp(effectivePhase, -SHIELD_CLAMP_RAD, SHIELD_CLAMP_RAD)
end
local hoverCFrame =
RivalsRagebot.ResolveRagebotCFrame(targetRootPart, radius, heightOffset, effectivePhase)
if RivalsRagebot.IsCandidatePositionInBounds(hoverCFrame.Position, subject) then
local clearLine = shieldState and shieldState.IsShieldEquipped == true
if not clearLine then
local rayOrigin = hoverCFrame.Position
local rayDir = targetRootPart.Position - rayOrigin
if rayDir.Magnitude > 0 then
RivalsRagebot.LosRaycastParams.FilterDescendantsInstances = { Char, subject }
clearLine = not Workspace:Raycast(rayOrigin, rayDir, RivalsRagebot.LosRaycastParams)
end
end
if
clearLine and (not bestTarget or targetInfo.worldDistance < bestTarget.worldDistance)
then
bestTarget = targetInfo
bestHoverCFrame = hoverCFrame
RivalsRagebotState.LastKnownTargetPos = targetRootPart.Position
end
end
end
end
end
end
end
return bestTarget, bestHoverCFrame
end
function RivalsRagebot.Update(deltaTime)
local now = tick()
if RivalsRagebot.IsBaitModeEnabled() then
RivalsRagebot.UpdateHostileTeleportTracker(now)
if RivalsRagebot.IsHostileCheating() then
if RivalsRuntimeBridge.ResetZkhHubRagebot then RivalsRuntimeBridge.ResetZkhHubRagebot() end
local item = AimbotBridge.ResolveAimbotEquippedItem()
local shotReady = AimbotBridge.IsShotImmediatelyReady(item)
if shotReady then
RivalsRagebotState.PhaseClockSec = RivalsRagebotState.PhaseClockSec + (deltaTime or 0)
local rawPhase = math.random() * TWO_PI
local targetInfo, hoverCFrame = RivalsRagebot.ResolveTarget(rawPhase)
if hoverCFrame then
RivalsRagebotState.HoldCFrame = hoverCFrame
RivalsRagebotState.LastHoldUpdateAt = now
end
local stale = (now - (RivalsRagebotState.LastHoldUpdateAt or 0)) > RivalsRagebot.HoldCFrameStaleTtlSec
local holdCFrame = hoverCFrame or (not stale and RivalsRagebotState.HoldCFrame) or nil
if stale then RivalsRagebotState.HoldCFrame = nil end
if holdCFrame and not RivalsRagebot.IsCandidatePositionInBounds(holdCFrame.Position, nil) then
RivalsRagebotState.HoldCFrame = nil
holdCFrame = nil
end
RivalsRagebotState.Target = targetInfo or nil
if holdCFrame then
local activeChar = RivalsRuntimeBridge.AcquireActiveCharacter()
if activeChar then
local cur = activeChar:GetPivot()
activeChar:PivotTo(CFrame.new(holdCFrame.Position) * (cur - cur.Position))
end
return
end
end
RivalsRagebotState.Target = nil
RivalsRagebotState.HoldCFrame = nil
RivalsRagebotState.LastHoldUpdateAt = 0
RivalsRagebot.PivotToBaitTrapOrSnug()
return
end
end
local enabled = RivalsRagebot.IsEnabled()
if not enabled then
RivalsRagebotState.Target = nil
RivalsRagebotState.HoldCFrame = nil
RivalsRagebotState.LastHoldUpdateAt = 0
RivalsRagebotState.PhaseClockSec = 0
RivalsRuntimeBridge.RecordCharacterLoadingCheckpoint('Ragebot', false, false)
if RivalsRuntimeBridge.UpdateZkhHubRagebot then RivalsRuntimeBridge.UpdateZkhHubRagebot(deltaTime) end
return
end
local readyToFight = RivalsRuntimeBridge.IsReadyToFight()
RivalsRuntimeBridge.RecordCharacterLoadingCheckpoint('Ragebot', readyToFight, true)
if RivalsRuntimeBridge.UpdateZkhHubRagebot then RivalsRuntimeBridge.UpdateZkhHubRagebot(deltaTime) end
end
RivalsRagebot.UpdateClassic = RivalsRagebot.Update
function RivalsRagebot.Update(deltaTime)
RivalsRagebot.UpdateClassic(deltaTime)
if RivalsRuntimeBridge.ZHubRagebotSync then RivalsRuntimeBridge.ZHubRagebotSync(deltaTime) end
if RivalsRuntimeBridge.ZHubRagebotActive ~= nil and RivalsRuntimeBridge.ZHubRagebotActive() == true then
RivalsRuntimeBridge.RecordCharacterLoadingCheckpoint(
'Ragebot',
RivalsRuntimeBridge.IsReadyToFight() == true,
true
)
end
end
RivalsRuntimeBridge.UpdateRagebot = RivalsRagebot.Update
RivalsRuntimeBridge.RegisterAutoRespawnSignals = RivalsRagebot.RegisterRespawnSignals
end
RequireSharedModule('rivals_ragebot_kernel').init({
RivalsRuntimeBridge = RivalsRuntimeBridge,
Options = Options,
Toggles = Toggles,
FighterDataCache = FighterDataCache,
GetChar = function() return Char end,
GetRoot = function() return HumanoidRootPart end,
Genv = __ZkhHub_genv,
})
do
-- ======================================================================
-- Auto loadout
-- ======================================================================
local RivalsAutoLoadout = {
PageNames = { 'PickWeapons', 'PickWeaponsList' },
SlotOrder = {
{ Name = 'Primary', OptionId = 'P8S5D1', SlotIndex = 1 },
{ Name = 'Secondary', OptionId = 'P8S5D2', SlotIndex = 2 },
{ Name = 'Melee', OptionId = 'P8S5D3', SlotIndex = 3 },
{ Name = 'Utility', OptionId = 'P8S5D4', SlotIndex = 4 },
},
OpenRetryDelay = 0.05,
OpenRetryLimit = 5,
Unselected = 'Unselected',
Priorities = { '1', '2', '3' },
AllPriorities = { '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' },
MaxLoadouts = 10,
ConfigMetadataId = 'ZkxHub_RivalsAutoLoadoutProfiles',
Catalog = {},
LiveValuesBySlot = {},
BoundKeys = {},
ExcludedWeaponNames = {
['MISSING_WEAPON'] = true,
},
ExcludedWeaponsBySlot = {
Melee = {
['Glast Shard'] = true,
},
Utility = {
['Elixir'] = true,
['RNG Dice'] = true,
},
},
}
function RivalsAutoLoadout.IsUnselectedAllowedForEditing(mapKey, priority)
if not (Toggles and Toggles.P8S5T4 and Toggles.P8S5T4.Value == true) then return false end
return mapKey ~= 'Default' or priority ~= '1'
end
function RivalsAutoLoadout.ShouldPreserveUnselectedInProfile()
return Toggles and Toggles.P8S5T4 and Toggles.P8S5T4.Value == true
end
function RivalsAutoLoadout.IsEnabled() return Toggles.P8S5T1 and Toggles.P8S5T1.Value == true end
function RivalsAutoLoadout.ResolveItemLibrary()
local cachedItemLibrary = RivalsAutoLoadout.Catalog.ItemLibrary
if cachedItemLibrary then return cachedItemLibrary end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local itemLibraryModule = modules and modules:FindFirstChild('ItemLibrary')
if not itemLibraryModule then return nil end
local ok, itemLibrary = pcall(require, itemLibraryModule)
if not ok or type(itemLibrary) ~= 'table' then return nil end
RivalsAutoLoadout.Catalog.ItemLibrary = itemLibrary
return itemLibrary
end
function RivalsAutoLoadout.IsAllowedWeaponName(slotName, weaponName)
if type(weaponName) ~= 'string' or weaponName == '' then return false end
if RivalsAutoLoadout.ExcludedWeaponNames[weaponName] == true then return false end
local slotExclusions = RivalsAutoLoadout.ExcludedWeaponsBySlot[slotName]
return not slotExclusions or slotExclusions[weaponName] ~= true
end
function RivalsAutoLoadout.ResolveSeedWeaponValues(slotName)
local cacheKey = string.format('SeedWeaponValues_%s', slotName)
local cachedValues = RivalsAutoLoadout.Catalog[cacheKey]
if cachedValues then return cachedValues end
local values = {}
local slotIndex = nil
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
if slotConfig.Name == slotName then
slotIndex = slotConfig.SlotIndex
break
end
end
local itemLibrary = RivalsAutoLoadout.ResolveItemLibrary()
local slotToClass = itemLibrary and itemLibrary.SlotToClass or nil
local itemsAlphabetized = itemLibrary and itemLibrary.ItemsAlphabetized or nil
local items = itemLibrary and itemLibrary.Items or nil
local classData = type(slotToClass) == 'table' and slotIndex and slotToClass[slotIndex] or nil
local className = classData and classData.Name or slotName
if type(itemsAlphabetized) == 'table' and type(items) == 'table' then
for _, weaponName in ipairs(itemsAlphabetized) do
local weaponData = items[weaponName]
if
weaponData
and weaponData.Class == className
and RivalsAutoLoadout.IsAllowedWeaponName(slotName, weaponName)
then
values[#values + 1] = weaponName
end
end
end
if #values > 0 then RivalsAutoLoadout.Catalog[cacheKey] = values end
return values
end
function RivalsAutoLoadout.ResolveWeaponValues(slotName) return RivalsAutoLoadout.ResolveSeedWeaponValues(slotName) end
function RivalsAutoLoadout.ResolveMapValues()
local cachedValues = RivalsAutoLoadout.Catalog.MapValues
if cachedValues then return cachedValues end
local values = {}
local modules = ReplicatedStorage:FindFirstChild('Modules')
local duelLibraryModule = modules and modules:FindFirstChild('DuelLibrary')
if duelLibraryModule then
local ok, duelLibrary = pcall(require, duelLibraryModule)
if ok and type(duelLibrary) == 'table' and type(duelLibrary.MapOrder) == 'table' then
for _, mapName in ipairs(duelLibrary.MapOrder) do
if type(mapName) == 'string' and mapName ~= '' then values[#values + 1] = mapName end
end
end
end
if #values > 0 then RivalsAutoLoadout.Catalog.MapValues = values end
return values
end
function RivalsAutoLoadout.ResolveDefaultWeapons()
local cachedDefaults = RivalsAutoLoadout.Catalog.DefaultWeapons
if cachedDefaults then return cachedDefaults end
local defaults = {}
local modules = ReplicatedStorage:FindFirstChild('Modules')
local constantsModule = modules and (modules:FindFirstChild('CONSTANTS') or modules:FindFirstChild('Constants'))
if constantsModule then
local ok, constants = pcall(require, constantsModule)
local configuredDefaults = ok and type(constants) == 'table' and constants.DEFAULT_WEAPONS or nil
if type(configuredDefaults) == 'table' then
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
local weaponName = configuredDefaults[slotConfig.SlotIndex] or configuredDefaults[slotConfig.Name]
if RivalsAutoLoadout.IsAllowedWeaponName(slotConfig.Name, weaponName) then
defaults[slotConfig.Name] = weaponName
end
end
end
end
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
if not defaults[slotConfig.Name] then
defaults[slotConfig.Name] = RivalsAutoLoadout.ResolveWeaponValues(slotConfig.Name)[1]
or RivalsAutoLoadout.Unselected
end
end
local complete = true
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
if defaults[slotConfig.Name] == RivalsAutoLoadout.Unselected then complete = false end
end
if complete then RivalsAutoLoadout.Catalog.DefaultWeapons = defaults end
return defaults
end
function RivalsAutoLoadout.ResolveActiveProfileKeys()
local mapKey = 'Default'
if Toggles.P8S5T3 and Toggles.P8S5T3.Value == true then
local mapOption = Options.P8S5D7
if mapOption and type(mapOption.Value) == 'string' and mapOption.Value ~= '' then mapKey = mapOption.Value end
end
local priority = '1'
local priorityOption = Options.P8S5D8
if priorityOption and table.find(RivalsAutoLoadout.Priorities, priorityOption.Value) then
priority = priorityOption.Value
end
return mapKey, priority
end
function RivalsAutoLoadout.ResolveProfile(mapKey, priority, create)
mapKey = type(mapKey) == 'string' and mapKey ~= '' and mapKey or 'Default'
priority = table.find(RivalsAutoLoadout.AllPriorities, priority) and priority or '1'
local mapProfiles = RivalsAutoLoadoutState.Profiles[mapKey]
if not mapProfiles and create then
mapProfiles = {}
RivalsAutoLoadoutState.Profiles[mapKey] = mapProfiles
end
local profile = mapProfiles and mapProfiles[priority] or nil
if not profile and create then
profile = {}
local defaultWeapons = RivalsAutoLoadout.ResolveDefaultWeapons()
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
profile[slotConfig.Name] = mapKey == 'Default' and priority == '1' and defaultWeapons[slotConfig.Name]
or RivalsAutoLoadout.Unselected
end
mapProfiles[priority] = profile
end
return profile
end
function RivalsAutoLoadout.ResolveActiveProfile(create)
local mapKey, priority = RivalsAutoLoadout.ResolveActiveProfileKeys()
return RivalsAutoLoadout.ResolveProfile(mapKey, priority, create), mapKey, priority
end
function RivalsAutoLoadout.NormalizeSelection(slotConfig, selection, allowUnselected)
local values = RivalsAutoLoadout.ResolveWeaponValues(slotConfig.Name)
if type(selection) == 'string' then
if allowUnselected and selection == RivalsAutoLoadout.Unselected then return selection end
if table.find(values, selection) then return selection end
elseif type(selection) == 'table' then
for _, weaponName in ipairs(values) do
if selection[weaponName] == true or table.find(selection, weaponName) then return weaponName end
end
end
if allowUnselected then return RivalsAutoLoadout.Unselected end
return RivalsAutoLoadout.ResolveDefaultWeapons()[slotConfig.Name] or values[1] or RivalsAutoLoadout.Unselected
end
function RivalsAutoLoadout.ResetState()
RivalsAutoLoadoutState.HasRunThisOpen = false
RivalsAutoLoadoutState.OpenNonce = RivalsAutoLoadoutState.OpenNonce + 1
end
function RivalsAutoLoadout.ResolvePagesFrame()
local playerGui = LP:FindFirstChild('PlayerGui')
local mainGui = playerGui and playerGui:FindFirstChild('MainGui')
local mainFrame = mainGui and mainGui:FindFirstChild('MainFrame')
return mainFrame and mainFrame:FindFirstChild('Pages') or nil
end
function RivalsAutoLoadout.ResolvePageFrame(pageName)
if type(pageName) ~= 'string' or pageName == '' then return nil end
local pagesFrame = RivalsAutoLoadout.ResolvePagesFrame()
local pageFrame = pagesFrame and pagesFrame:FindFirstChild(pageName)
if pageFrame and pageFrame:IsA('GuiObject') then return pageFrame end
return nil
end
function RivalsAutoLoadout.IsPageFrameVisible(pageFrame)
return pageFrame and pageFrame.Visible == true and pageFrame.AbsoluteSize.X > 0 and pageFrame.AbsoluteSize.Y > 0
end
function RivalsAutoLoadout.ResolveSavedSelection(slotConfig)
if not slotConfig then return nil end
local profile, mapKey, priority = RivalsAutoLoadout.ResolveActiveProfile(true)
local allowUnselected = RivalsAutoLoadout.IsUnselectedAllowedForEditing(mapKey, priority)
local stored = profile[slotConfig.Name]
local savedSelection = RivalsAutoLoadout.NormalizeSelection(slotConfig, stored, allowUnselected)
if stored ~= RivalsAutoLoadout.Unselected then profile[slotConfig.Name] = savedSelection end
return savedSelection
end
function RivalsAutoLoadout.SyncSavedSelection(slotConfig)
if not slotConfig then return end
local option = Options[slotConfig.OptionId]
if not option then return end
local profile, mapKey, priority = RivalsAutoLoadout.ResolveActiveProfile(true)
if RivalsAutoLoadout.BoundKeys[slotConfig.Name] ~= mapKey .. '|' .. priority then return end
local allowUnselected = RivalsAutoLoadout.IsUnselectedAllowedForEditing(mapKey, priority)
profile[slotConfig.Name] = RivalsAutoLoadout.NormalizeSelection(slotConfig, option.Value, allowUnselected)
end
function RivalsAutoLoadout.ResolveVisibleSelectionValues(slotConfig, values)
local savedSelection = RivalsAutoLoadout.ResolveSavedSelection(slotConfig)
if table.find(values or {}, savedSelection) then return savedSelection end
return (values or {})[1]
end
function RivalsAutoLoadout.ResolvePageController(pageName)
if type(pageName) ~= 'string' or pageName == '' then return nil end
local cachedPageController = RivalsAutoLoadout.Catalog[pageName]
if cachedPageController then return cachedPageController end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local pages = modules and modules:FindFirstChild('Pages')
local pageModule = pages and pages:FindFirstChild(pageName)
if not pageModule then return nil end
local ok, pageController = pcall(require, pageModule)
if not ok or type(pageController) ~= 'table' then return nil end
RivalsAutoLoadout.Catalog[pageName] = pageController
return pageController
end
function RivalsAutoLoadout.ResolveOpenPageController()
for _, pageName in ipairs(RivalsAutoLoadout.PageNames) do
local pageFrame = RivalsAutoLoadout.ResolvePageFrame(pageName)
if RivalsAutoLoadout.IsPageFrameVisible(pageFrame) then
local pageController = RivalsAutoLoadout.ResolvePageController(pageName)
if pageController then return pageName, pageController end
end
end
return nil, nil
end
function RivalsAutoLoadout.ReadVisibleWeaponValues(pageController)
if not pageController then return nil, nil end
local slotConfig = RivalsAutoLoadout.SlotOrder[pageController._current_slot]
if not slotConfig then return nil, nil end
local listFrame = pageController.List
local container = listFrame and listFrame:FindFirstChild('Container')
if not container then return slotConfig, nil end
local orderedValues = {}
for _, child in ipairs(container:GetChildren()) do
if child.Name == 'WeaponSlot' and child.Visible ~= false then
local button = child:FindFirstChild('Button')
local title = button and button:FindFirstChild('Title')
local locked = button and button:FindFirstChild('Locked')
local banned = button and button:FindFirstChild('Banned')
local weaponName = title and title.Text or nil
if type(weaponName) == 'string' then weaponName = weaponName:match('^%s*(.-)%s*$') end
if
RivalsAutoLoadout.IsAllowedWeaponName(slotConfig.Name, weaponName)
and (not locked or locked.Visible ~= true)
and (not banned or banned.Visible ~= true)
then
orderedValues[#orderedValues + 1] = {
Name = weaponName,
Order = child.LayoutOrder,
}
end
end
end
table.sort(orderedValues, function(left, right)
if left.Order == right.Order then return left.Name < right.Name end
return left.Order < right.Order
end)
local seen = {}
local values = {}
for _, entry in ipairs(orderedValues) do
if seen[entry.Name] ~= true then
seen[entry.Name] = true
values[#values + 1] = entry.Name
end
end
return slotConfig, values
end
function RivalsAutoLoadout.RefreshDropdownOption(slotConfig)
if not slotConfig then return end
local option = Options[slotConfig.OptionId]
if not option or type(option.SetValues) ~= 'function' then return end
local sourceValues = RivalsAutoLoadout.ResolveWeaponValues(slotConfig.Name)
local _, mapKey, priority = RivalsAutoLoadout.ResolveActiveProfile(true)
local values = {}
if RivalsAutoLoadout.IsUnselectedAllowedForEditing(mapKey, priority) then
values[#values + 1] = RivalsAutoLoadout.Unselected
end
for _, weaponName in ipairs(sourceValues) do
values[#values + 1] = weaponName
end
local visibleSelectionValue = RivalsAutoLoadout.ResolveVisibleSelectionValues(slotConfig, values)
RivalsAutoLoadoutState.RefreshingDropdownValues = RivalsAutoLoadoutState.RefreshingDropdownValues + 1
pcall(function() option:SetValues(values) end)
if type(option.SetValue) == 'function' then pcall(function() option:SetValue(visibleSelectionValue) end) end
RivalsAutoLoadout.BoundKeys[slotConfig.Name] = mapKey .. '|' .. priority
RivalsAutoLoadoutState.RefreshingDropdownValues = RivalsAutoLoadoutState.RefreshingDropdownValues - 1
end
function RivalsAutoLoadout.RefreshDropdownOptions()
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
RivalsAutoLoadout.RefreshDropdownOption(slotConfig)
end
end
function RivalsAutoLoadout.CapturePageWeaponValues(pageController)
local slotConfig, values = RivalsAutoLoadout.ReadVisibleWeaponValues(pageController)
if not slotConfig or type(values) ~= 'table' or #values <= 0 then return false end
local previousValues = RivalsAutoLoadout.LiveValuesBySlot[slotConfig.Name]
local hasChanged = type(previousValues) ~= 'table' or #previousValues ~= #values
if not hasChanged and previousValues then
for index, weaponName in ipairs(values) do
if previousValues[index] ~= weaponName then
hasChanged = true
break
end
end
end
if not hasChanged then return false end
RivalsAutoLoadout.LiveValuesBySlot[slotConfig.Name] = values
RivalsAutoLoadout.RefreshDropdownOption(slotConfig)
return true
end
function RivalsAutoLoadout.BindChosenSlotInputs(pageName, pageController)
local chosenWeaponSlots = pageController and pageController._chosen_weapon_slots
if type(chosenWeaponSlots) ~= 'table' then return end
for slotIndex, chosenSlot in ipairs(chosenWeaponSlots) do
local button = chosenSlot and chosenSlot:FindFirstChild('Button')
if button and button:IsA('GuiButton') then
Connections:register(
string.format('AutoLoadout_%s_ChosenSlot_%d', pageName, slotIndex),
button.Activated:Connect(
GuardRivalsCallback(string.format('AutoLoadout_%s_ChosenSlot_%d', pageName, slotIndex), function()
task.defer(function() RivalsAutoLoadout.CapturePageWeaponValues(pageController) end)
end)
)
)
end
end
end
function RivalsAutoLoadout.ResolveSlotSelection(slotConfig)
if not slotConfig then return nil end
local selectedWeaponName = RivalsAutoLoadout.ResolveSavedSelection(slotConfig)
return selectedWeaponName ~= RivalsAutoLoadout.Unselected and selectedWeaponName or nil
end
function RivalsAutoLoadout.IsWeaponSelected(slotConfig, weaponName)
if not slotConfig or type(weaponName) ~= 'string' or weaponName == '' then return false end
local savedSelection = RivalsAutoLoadout.ResolveSavedSelection(slotConfig)
return savedSelection == weaponName
end
function RivalsAutoLoadout.ResolveCurrentMapName()
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local duelControllerModule = controllers and controllers:FindFirstChild('DuelController')
if duelControllerModule and IsReplicatedStateReady() then
local ok, duelController = pcall(require, duelControllerModule)
local duel = ok and type(duelController) == 'table' and duelController.CurrentObject or nil
if duel then
if type(duel.GetMapName) == 'function' then
local mapOk, mapName = pcall(duel.GetMapName, duel)
if mapOk and type(mapName) == 'string' and mapName ~= '' then return mapName end
end
if type(duel.Get) == 'function' then
for _, key in ipairs({ 'MapName', 'Map' }) do
local mapOk, mapName = pcall(duel.Get, duel, key)
if mapOk and type(mapName) == 'string' and mapName ~= '' then return mapName end
end
end
local mapName = duel.MapName or duel.Map
if type(mapName) == 'string' and mapName ~= '' then return mapName end
end
end
for _, attributeName in ipairs({ 'MapName', 'MatchMap' }) do
local mapName = Workspace:GetAttribute(attributeName)
if type(mapName) == 'string' and mapName ~= '' then return mapName end
end
return nil
end
function RivalsAutoLoadout.ResolveRuntimeMapKey()
if Toggles.P8S5T3 and Toggles.P8S5T3.Value == true then return RivalsAutoLoadout.ResolveCurrentMapName() end
return 'Default'
end
function RivalsAutoLoadout.IsRuntimeSelectionAvailable(slotConfig, weaponName)
if
not slotConfig
or type(weaponName) ~= 'string'
or weaponName == ''
or weaponName == RivalsAutoLoadout.Unselected
then
return false
end
local liveValues = RivalsAutoLoadout.LiveValuesBySlot[slotConfig.Name]
return type(liveValues) ~= 'table' or #liveValues == 0 or table.find(liveValues, weaponName) ~= nil
end
function RivalsAutoLoadout.ResolveSelectedWeaponName(slotConfig, profile)
if not slotConfig or type(profile) ~= 'table' then return nil end
local allowUnselected = RivalsAutoLoadout.ShouldPreserveUnselectedInProfile()
local selectedWeaponName =
RivalsAutoLoadout.NormalizeSelection(slotConfig, profile[slotConfig.Name], allowUnselected)
return RivalsAutoLoadout.IsRuntimeSelectionAvailable(slotConfig, selectedWeaponName) and selectedWeaponName or nil
end
function RivalsAutoLoadout.BuildChosenWeapons(maxSlots)
local mapKey = RivalsAutoLoadout.ResolveRuntimeMapKey()
if not mapKey then return nil end
local chosenWeapons = {}
if Toggles.P8S5T4 and Toggles.P8S5T4.Value == true then
for priorityIndex = #RivalsAutoLoadout.Priorities, 1, -1 do
local priority = RivalsAutoLoadout.Priorities[priorityIndex]
local profile = RivalsAutoLoadout.ResolveProfile(mapKey, priority, true)
for slotIndex = 1, maxSlots do
local slotConfig = RivalsAutoLoadout.SlotOrder[slotIndex]
local selectedWeaponName = RivalsAutoLoadout.ResolveSelectedWeaponName(slotConfig, profile)
if selectedWeaponName then chosenWeapons[slotConfig.SlotIndex] = selectedWeaponName end
end
end
else
local priority = '1'
local priorityOption = Options.P8S5D8
if priorityOption and table.find(RivalsAutoLoadout.Priorities, priorityOption.Value) then
priority = priorityOption.Value
end
local profile = RivalsAutoLoadout.ResolveProfile(mapKey, priority, true)
for slotIndex = 1, maxSlots do
local slotConfig = RivalsAutoLoadout.SlotOrder[slotIndex]
local selectedWeaponName = RivalsAutoLoadout.ResolveSelectedWeaponName(slotConfig, profile)
if not selectedWeaponName then return nil end
chosenWeapons[slotConfig.SlotIndex] = selectedWeaponName
end
end
for slotIndex = 1, maxSlots do
local slotConfig = RivalsAutoLoadout.SlotOrder[slotIndex]
if not chosenWeapons[slotConfig.SlotIndex] then return nil end
end
return chosenWeapons
end
function RivalsAutoLoadout.ApplyPageController(pageController)
if not pageController or pageController._is_open ~= true then return nil end
local pageFrame = pageController.PageFrame
if not pageFrame or pageFrame.Visible ~= true or pageFrame.AbsoluteSize.X <= 0 or pageFrame.AbsoluteSize.Y <= 0 then
return nil
end
local chosenWeaponSlots = pageController._chosen_weapon_slots
if type(chosenWeaponSlots) ~= 'table' then return nil end
local maxSlots = math.min(#pageController._chosen_weapon_slots, #RivalsAutoLoadout.SlotOrder)
if maxSlots <= 0 then return nil end
RivalsAutoLoadout.CapturePageWeaponValues(pageController)
local chosenWeapons = RivalsAutoLoadout.BuildChosenWeapons(maxSlots)
if not chosenWeapons then return false end
pageController._chosen_weapons = chosenWeapons
local ok, finishError = pcall(pageController.Finish, pageController)
if not ok then ReportRivalsRuntimeIssue('auto_loadout_finish', finishError) end
return ok
end
function RivalsAutoLoadout.ScheduleSubmit(pageName, pageController, openNonce, attempt)
if not pageController then return end
if openNonce ~= RivalsAutoLoadoutState.OpenNonce then return end
if not RivalsAutoLoadout.IsEnabled() or RivalsAutoLoadoutState.HasRunThisOpen then return end
local appliedPage = RivalsAutoLoadout.ApplyPageController(pageController)
if appliedPage == true then
RivalsAutoLoadoutState.HasRunThisOpen = true
return
end
if attempt >= RivalsAutoLoadout.OpenRetryLimit then return end
task.delay(
RivalsAutoLoadout.OpenRetryDelay,
GuardRivalsCallback(
string.format('AutoLoadout_%s_Retry_%d', pageName, attempt),
function() RivalsAutoLoadout.ScheduleSubmit(pageName, pageController, openNonce, attempt + 1) end
)
)
end
function RivalsAutoLoadout.QueuePageControllerSubmit(pageName, pageController)
if not pageController or not RivalsAutoLoadout.IsEnabled() then return end
-- Manual Loadout (Ranked): the choice is yours in ranked matches
if RivalsRuntimeBridge.IsManualLoadoutActive() then return end
local openNonce = RivalsAutoLoadoutState.OpenNonce + 1
RivalsAutoLoadoutState.OpenNonce = openNonce
RivalsAutoLoadoutState.HasRunThisOpen = false
task.defer(
GuardRivalsCallback(
string.format('AutoLoadout_%s_Open', pageName),
function() RivalsAutoLoadout.ScheduleSubmit(pageName, pageController, openNonce, 1) end
)
)
end
function RivalsAutoLoadout.QueueVisiblePageSubmit()
if not RivalsAutoLoadout.IsEnabled() then return end
local pageName, pageController = RivalsAutoLoadout.ResolveOpenPageController()
if not pageController then return end
RivalsAutoLoadout.QueuePageControllerSubmit(pageName, pageController)
end
function RivalsAutoLoadout.BindPageController(pageName, pageController)
local boundPageControllers = RivalsAutoLoadoutState.BoundPageControllers
if boundPageControllers[pageName] == true then return end
pageController = pageController or RivalsAutoLoadout.ResolvePageController(pageName)
if not pageController then return end
boundPageControllers[pageName] = true
RivalsAutoLoadout.BindChosenSlotInputs(pageName, pageController)
end
function RivalsAutoLoadout.HandlePageFrameVisibility(pageName)
local pageFrame = RivalsAutoLoadout.ResolvePageFrame(pageName)
if not RivalsAutoLoadout.IsPageFrameVisible(pageFrame) then
RivalsAutoLoadout.ResetState()
return
end
local pageController = RivalsAutoLoadout.ResolvePageController(pageName)
if not pageController then return end
RivalsAutoLoadout.BindPageController(pageName, pageController)
RivalsAutoLoadout.CapturePageWeaponValues(pageController)
RivalsAutoLoadout.QueuePageControllerSubmit(pageName, pageController)
end
function RivalsAutoLoadout.BindPageFrame(pageName, pageFrame)
local boundPageFrames = RivalsAutoLoadoutState.BoundPageFrames
if boundPageFrames[pageName] == true then return end
pageFrame = pageFrame or RivalsAutoLoadout.ResolvePageFrame(pageName)
if not pageFrame then return end
boundPageFrames[pageName] = true
Connections:register(
string.format('AutoLoadout_%s_Visible', pageName),
pageFrame:GetPropertyChangedSignal('Visible'):Connect(
GuardRivalsCallback(
string.format('AutoLoadout_%s_Visible', pageName),
function() RivalsAutoLoadout.HandlePageFrameVisibility(pageName) end
)
)
)
if RivalsAutoLoadout.IsPageFrameVisible(pageFrame) then RivalsAutoLoadout.HandlePageFrameVisibility(pageName) end
end
function RivalsAutoLoadout.BindPageControllers()
task.spawn(GuardRivalsCallback('AutoLoadout_BindControllers', function()
local playerGui = LP:WaitForChild('PlayerGui')
local mainGui = playerGui:WaitForChild('MainGui')
local mainFrame = mainGui:WaitForChild('MainFrame')
local pagesFrame = mainFrame:WaitForChild('Pages')
Connections:register(
'AutoLoadout_PagesChildAdded',
pagesFrame.ChildAdded:Connect(GuardRivalsCallback('AutoLoadout_PagesChildAdded', function(child)
if not child or not child:IsA('GuiObject') then return end
local pageFrame = child
for _, pageName in ipairs(RivalsAutoLoadout.PageNames) do
if pageName == pageFrame.Name then
RivalsAutoLoadout.BindPageFrame(pageName, pageFrame)
break
end
end
end))
)
for _, pageName in ipairs(RivalsAutoLoadout.PageNames) do
RivalsAutoLoadout.BindPageFrame(pageName)
end
end))
end
function RivalsAutoLoadout.NormalizeProfiles(profiles)
local normalized = {}
if type(profiles) == 'table' then
for mapKey, mapProfiles in pairs(profiles) do
if type(mapKey) == 'string' and mapKey ~= '' and type(mapProfiles) == 'table' then
local normalizedMap = {}
for _, priority in ipairs(RivalsAutoLoadout.AllPriorities) do
local profile = mapProfiles[priority]
if type(profile) == 'table' then
local normalizedProfile = {}
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
normalizedProfile[slotConfig.Name] = RivalsAutoLoadout.NormalizeSelection(
slotConfig,
profile[slotConfig.Name] or profile[slotConfig.SlotIndex],
mapKey ~= 'Default' or priority ~= '1'
)
end
normalizedMap[priority] = normalizedProfile
end
end
if next(normalizedMap) ~= nil then normalized[mapKey] = normalizedMap end
end
end
end
RivalsAutoLoadoutState.Profiles = normalized
RivalsAutoLoadout.ResolveProfile('Default', '1', true)
return normalized
end
function RivalsAutoLoadout.SetConfigName(configName)
if type(configName) == 'string' and configName ~= '' then RivalsAutoLoadoutState.ConfigName = configName end
end
function RivalsAutoLoadout.LoadProfilesFromConfig()
local configPath = ScriptPaths.config_path(RivalsAutoLoadoutState.ConfigName or 'RIVALS Default')
if not isfile(configPath) then
RivalsAutoLoadout.NormalizeProfiles({})
RivalsAutoLoadout.RefreshDropdownOptions()
RivalsAutoLoadout.QueueVisiblePageSubmit()
return false
end
local readOk, rawConfig = pcall(readfile, configPath)
if not readOk or type(rawConfig) ~= 'string' then return false end
local decodeOk, decoded = pcall(function() return HttpService:JSONDecode(rawConfig) end)
local objects = decodeOk and type(decoded) == 'table' and decoded.objects or nil
if type(objects) ~= 'table' then return false end
local profiles = nil
for _, object in ipairs(objects) do
if object and object.idx == RivalsAutoLoadout.ConfigMetadataId then
profiles = object.value
break
end
end
RivalsAutoLoadout.NormalizeProfiles(profiles or {})
RivalsAutoLoadout.RefreshDropdownOptions()
RivalsAutoLoadout.QueueVisiblePageSubmit()
return profiles ~= nil
end
function RivalsAutoLoadout.SaveProfilesToConfig()
local configPath = ScriptPaths.config_path(RivalsAutoLoadoutState.ConfigName or 'RIVALS Default')
if not isfile(configPath) then return false end
local readOk, rawConfig = pcall(readfile, configPath)
if not readOk or type(rawConfig) ~= 'string' then return false end
local decodeOk, decoded = pcall(function() return HttpService:JSONDecode(rawConfig) end)
if not decodeOk or type(decoded) ~= 'table' then return false end
local existingObjects = type(decoded.objects) == 'table' and decoded.objects or {}
local mergedObjects = {}
for _, object in ipairs(existingObjects) do
if not object or object.idx ~= RivalsAutoLoadout.ConfigMetadataId then
mergedObjects[#mergedObjects + 1] = object
end
end
mergedObjects[#mergedObjects + 1] = {
idx = RivalsAutoLoadout.ConfigMetadataId,
type = 'ZkxHubMetadata',
value = RivalsAutoLoadout.NormalizeProfiles(RivalsAutoLoadoutState.Profiles),
}
decoded.objects = mergedObjects
return pcall(function() writefile(configPath, HttpService:JSONEncode(decoded)) end)
end
-- replaced once the settings object exists; true while a config is being applied
RivalsRuntimeBridge.IsConfigLoading = function() return false end
RivalsRuntimeBridge.IsManualLoadoutActive = function() return false end
RivalsRuntimeBridge.BindAutoLoadoutControllers = RivalsAutoLoadout.BindPageControllers
RivalsRuntimeBridge.QueueAutoLoadoutSubmission = RivalsAutoLoadout.QueueVisiblePageSubmit
RivalsRuntimeBridge.ResolveAutoLoadoutWeaponValues = RivalsAutoLoadout.ResolveWeaponValues
RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon = function(slotName)
return RivalsAutoLoadout.ResolveDefaultWeapons()[slotName]
end
RivalsRuntimeBridge.ResolveAutoLoadoutMapValues = RivalsAutoLoadout.ResolveMapValues
RivalsRuntimeBridge.ResolveAutoLoadoutPriorities = function() return RivalsAutoLoadout.Priorities end
RivalsRuntimeBridge.AutoLoadoutAllPriorities = function() return RivalsAutoLoadout.AllPriorities end
RivalsRuntimeBridge.SetAutoLoadoutCount = function(count)
count = math.clamp(math.floor(tonumber(count) or 3), 1, RivalsAutoLoadout.MaxLoadouts)
local active = RivalsAutoLoadout.Priorities
for index = #active, 1, -1 do
active[index] = nil
end
for index = 1, count do
active[index] = RivalsAutoLoadout.AllPriorities[index]
end
return count
end
RivalsRuntimeBridge.RefreshAutoLoadoutDropdownValues = RivalsAutoLoadout.RefreshDropdownOptions
RivalsRuntimeBridge.SyncAutoLoadoutSelection = function(optionId)
for _, slotConfig in ipairs(RivalsAutoLoadout.SlotOrder) do
if slotConfig.OptionId == optionId then
RivalsAutoLoadout.SyncSavedSelection(slotConfig)
break
end
end
end
RivalsRuntimeBridge.SetAutoLoadoutConfigName = RivalsAutoLoadout.SetConfigName
RivalsRuntimeBridge.LoadAutoLoadoutProfiles = RivalsAutoLoadout.LoadProfilesFromConfig
RivalsRuntimeBridge.SaveAutoLoadoutProfiles = RivalsAutoLoadout.SaveProfilesToConfig
RivalsRuntimeBridge.ResetAutoLoadoutState = RivalsAutoLoadout.ResetState
end
do
-- ======================================================================
-- Auto ban / map vote
-- ======================================================================
local RivalsAutoBan = {
State = {
Controller = nil,
BoundDuel = nil,
LastVoteType = nil,
LastSubmitted = nil,
},
}
function RivalsAutoBan.IsEnabled() return Toggles.P8S5T2 and Toggles.P8S5T2.Value == true end
function RivalsAutoBan.IsMapVoteEnabled() return Toggles.P8S5T5 and Toggles.P8S5T5.Value == true end
function RivalsAutoBan.IsAnyEnabled() return RivalsAutoBan.IsEnabled() or RivalsAutoBan.IsMapVoteEnabled() end
function RivalsAutoBan.Read(object, key)
if not object then return nil end
if type(object.Get) == 'function' then
local ok, value = pcall(object.Get, object, key)
if ok then return value end
end
return object[key]
end
function RivalsAutoBan.ResolveController()
if RivalsAutoBan.State.Controller then return RivalsAutoBan.State.Controller end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local controllerModule = controllers and controllers:FindFirstChild('DuelController')
if not controllerModule then return nil end
local ok, controller = pcall(require, controllerModule)
if not ok or type(controller) ~= 'table' then return nil end
RivalsAutoBan.State.Controller = controller
return controller
end
function RivalsAutoBan.ResolveWeaponValues()
local values = {}
local seen = {}
for _, slotName in ipairs({ 'Primary', 'Secondary', 'Melee', 'Utility' }) do
for _, weaponName in ipairs(RivalsRuntimeBridge.ResolveAutoLoadoutWeaponValues(slotName)) do
if type(weaponName) == 'string' and weaponName ~= '' and not seen[weaponName] then
seen[weaponName] = true
table.insert(values, weaponName)
end
end
end
table.sort(values)
return values
end
function RivalsAutoBan.IsSelected(optionId, weaponName)
local option = Options[optionId]
local selected = option and option.Value
if type(selected) ~= 'table' then return false end
if selected[weaponName] == true then return true end
for _, selectedName in ipairs(selected) do
if selectedName == weaponName then return true end
end
return false
end
function RivalsAutoBan.ResolveMapValues() return RivalsRuntimeBridge.ResolveAutoLoadoutMapValues() end
function RivalsAutoBan.IsMapSelected(mapName) return RivalsAutoBan.IsSelected('P8S5D9', mapName) end
function RivalsAutoBan.ResolveLocalDueler(duel)
if type(duel.GetDueler) ~= 'function' then return nil end
local ok, dueler = pcall(duel.GetDueler, duel, LP)
if ok and dueler then return dueler end
ok, dueler = pcall(duel.GetDueler, duel, LP.UserId)
return ok and dueler or nil
end
function RivalsAutoBan.IsOptionBanned(voteOptions, optionName)
if type(voteOptions) ~= 'table' or optionName == nil then return false end
for _, option in pairs(voteOptions) do
if RivalsAutoBan.Read(option, 'Name') == optionName then
return RivalsAutoBan.Read(option, 'IsBanned') ~= nil
end
end
return false
end
function RivalsAutoBan.BansRemaining(duel, voteType)
local localDueler = RivalsAutoBan.ResolveLocalDueler(duel)
local teamId = RivalsAutoBan.Read(localDueler, 'TeamID')
if teamId == nil then return 0 end
local maxKey = voteType == 'Weapons' and 'MaxWeaponBansPerTeam' or 'MaxMapBansPerTeam'
local maxBans = tonumber(RivalsAutoBan.Read(duel, maxKey)) or 0
local bansByTeam = RivalsAutoBan.Read(duel, 'VoteBansRemaining')
local bansUsed = type(bansByTeam) == 'table' and tonumber(bansByTeam[teamId]) or 0
return maxBans - bansUsed
end
function RivalsAutoBan.TryVote()
if not RivalsAutoBan.IsAnyEnabled() then return false, 'disabled' end
local controller = RivalsAutoBan.ResolveController()
local duel = RivalsAutoBan.State.BoundDuel or (controller and controller.CurrentObject)
if not duel then
RivalsAutoBan.State.LastVoteType = nil
RivalsAutoBan.State.LastSubmitted = nil
return false, 'no_duel'
end
local voteType = RivalsAutoBan.Read(duel, 'VoteOptionsType')
if voteType ~= RivalsAutoBan.State.LastVoteType then
RivalsAutoBan.State.LastVoteType = voteType
RivalsAutoBan.State.LastSubmitted = nil
end
if voteType == nil then return false, 'no_vote' end
local voteOptions = RivalsAutoBan.Read(duel, 'VoteOptions')
if type(voteOptions) ~= 'table' or next(voteOptions) == nil then return false, 'no_vote' end
if
RivalsAutoBan.State.LastSubmitted ~= nil
and not RivalsAutoBan.IsOptionBanned(voteOptions, RivalsAutoBan.State.LastSubmitted)
then
return false, 'already_voted'
end
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local duels = remotes and remotes:FindFirstChild('Duels')
local voteRemote = duels and duels:FindFirstChild('Vote')
if not voteRemote or not voteRemote:IsA('RemoteEvent') then return false, 'no_vote_remote' end
if voteType == 'Maps' then
if not RivalsAutoBan.IsMapVoteEnabled() then return false, 'map_vote_disabled' end
if not RivalsAutoBan.ResolveLocalDueler(duel) then return false, 'not_dueler' end
if RivalsAutoBan.Read(duel, 'MaxMapBansPerTeam') ~= nil and RivalsAutoBan.BansRemaining(duel, 'Maps') <= 0 then
return false, 'bans_complete'
end
for _, option in pairs(voteOptions) do
local mapName = RivalsAutoBan.Read(option, 'Name')
if mapName and RivalsAutoBan.Read(option, 'IsBanned') == nil and RivalsAutoBan.IsMapSelected(mapName) then
RivalsAutoBan.State.LastSubmitted = mapName
local ok, err = pcall(voteRemote.FireServer, voteRemote, mapName)
if not ok then
RivalsAutoBan.State.LastSubmitted = nil
return false, tostring(err)
end
return true
end
end
return false, 'no_selected_map'
end
if voteType ~= 'Weapons' or not RivalsAutoBan.IsEnabled() then return false, 'no_weapon_vote' end
local bansRemaining = RivalsAutoBan.BansRemaining(duel, 'Weapons')
if bansRemaining <= 0 then return false, 'bans_complete' end
local selectionIds = { 'P8S5D5', 'P8S5D6' }
local selectionId = selectionIds[#selectionIds - bansRemaining + 1]
if not selectionId then return false, 'no_ban_list' end
for _, option in pairs(voteOptions) do
local weaponName = RivalsAutoBan.Read(option, 'Name')
if
weaponName
and RivalsAutoBan.Read(option, 'IsBanned') == nil
and RivalsAutoBan.IsSelected(selectionId, weaponName)
then
RivalsAutoBan.State.LastSubmitted = weaponName
local ok, err = pcall(voteRemote.FireServer, voteRemote, weaponName)
if not ok then
RivalsAutoBan.State.LastSubmitted = nil
return false, tostring(err)
end
return true
end
end
return false, 'no_selected_option'
end
function RivalsAutoBan.BindDuel(duel)
if not Connections then return end
Connections:disconnect({
'AutoBan_VoteOptionsType',
'AutoBan_VoteOptions',
'AutoBan_VoteBansRemaining',
'AutoBan_MaxWeaponBansPerTeam',
'AutoBan_MaxMapBansPerTeam',
})
RivalsAutoBan.State.BoundDuel = duel
RivalsAutoBan.State.LastVoteType = nil
RivalsAutoBan.State.LastSubmitted = nil
if not duel or type(duel.GetDataChangedSignal) ~= 'function' then return end
for _, key in ipairs({
'VoteOptionsType',
'VoteOptions',
'VoteBansRemaining',
'MaxWeaponBansPerTeam',
'MaxMapBansPerTeam',
}) do
local ok, signal = pcall(duel.GetDataChangedSignal, duel, key)
if ok and signal and type(signal.Connect) == 'function' then
Connections:register(
'AutoBan_' .. key,
signal:Connect(GuardRivalsCallback('AutoBan_' .. key, RivalsAutoBan.TryVote))
)
end
end
RivalsAutoBan.TryVote()
end
function RivalsAutoBan.RegisterSignals()
if not Connections then return end
if not RivalsAutoBan.IsAnyEnabled() then
RivalsAutoBan.Reset()
return
end
local controller = RivalsAutoBan.ResolveController()
if not controller then return end
if controller.LocalPlayerJoinedDuel and type(controller.LocalPlayerJoinedDuel.Connect) == 'function' then
Connections:register(
'AutoBan_JoinedDuel',
controller.LocalPlayerJoinedDuel:Connect(
GuardRivalsCallback(
'AutoBan_JoinedDuel',
function(duel) RivalsAutoBan.BindDuel(duel or controller.CurrentObject) end
)
)
)
end
if controller.LocalPlayerLeftDuel and type(controller.LocalPlayerLeftDuel.Connect) == 'function' then
Connections:register(
'AutoBan_LeftDuel',
controller.LocalPlayerLeftDuel:Connect(
GuardRivalsCallback('AutoBan_LeftDuel', function() RivalsAutoBan.BindDuel(nil) end)
)
)
end
RivalsAutoBan.BindDuel(controller.CurrentObject)
end
function RivalsAutoBan.Reset()
RivalsAutoBan.State.BoundDuel = nil
RivalsAutoBan.State.LastVoteType = nil
RivalsAutoBan.State.LastSubmitted = nil
if Connections then
Connections:disconnect({
'AutoBan_JoinedDuel',
'AutoBan_LeftDuel',
'AutoBan_VoteOptionsType',
'AutoBan_VoteOptions',
'AutoBan_VoteBansRemaining',
'AutoBan_MaxWeaponBansPerTeam',
'AutoBan_MaxMapBansPerTeam',
})
end
end
RivalsRuntimeBridge.ResolveAutoBanWeaponValues = RivalsAutoBan.ResolveWeaponValues
RivalsRuntimeBridge.ResolveAutoVoteMapValues = RivalsAutoBan.ResolveMapValues
RivalsRuntimeBridge.TryAutoBanVote = RivalsAutoBan.TryVote
RivalsRuntimeBridge.RegisterAutoBanSignals = RivalsAutoBan.RegisterSignals
RivalsRuntimeBridge.ResetAutoBanState = RivalsAutoBan.Reset
end
do
-- ======================================================================
-- Subspace tripmine automation
-- ======================================================================
local RivalsTripmineAutomation = {
Entries = setmetatable({}, { __mode = 'k' }),
DestroyingConnections = setmetatable({}, { __mode = 'k' }),
}
function RivalsTripmineAutomation.IsEnabled() return Toggles.P8S8T1 and Toggles.P8S8T1.Value == true end
function RivalsTripmineAutomation.Untrack(tripmine)
local entry = RivalsTripmineAutomation.Entries[tripmine]
if entry and entry.Hitbox then RivalsTripmineAutomation.Entries[entry.Hitbox] = nil end
RivalsTripmineAutomation.Entries[tripmine] = nil
local connection = RivalsTripmineAutomation.DestroyingConnections[tripmine]
if connection then pcall(function() connection:Disconnect() end) end
RivalsTripmineAutomation.DestroyingConnections[tripmine] = nil
end
function RivalsTripmineAutomation.Track(tripmine)
if not tripmine or RivalsTripmineAutomation.Entries[tripmine] then return end
task.spawn(GuardRivalsCallback('TripmineAutomation_Track', function()
local hitbox = tripmine:WaitForChild('Hitbox', 3)
if not hitbox or not hitbox:IsA('BasePart') or not tripmine.Parent then return end
local entry = {
Tripmine = tripmine,
Hitbox = hitbox,
EnvironmentId = tripmine:GetAttribute('EnvironmentID'),
PlacedBy = tripmine:GetAttribute('PlacedByUserID'),
TeamId = tripmine:GetAttribute('TeamID'),
}
RivalsTripmineAutomation.Entries[tripmine] = entry
RivalsTripmineAutomation.Entries[hitbox] = entry
RivalsTripmineAutomation.DestroyingConnections[tripmine] = hitbox.Destroying:Connect(
GuardRivalsCallback(
'TripmineAutomation_Destroying',
function() RivalsTripmineAutomation.Untrack(tripmine) end
)
)
end))
end
function RivalsTripmineAutomation.Bind()
local collectionService = game:GetService('CollectionService')
Connections:register(
'TripmineAutomation_Added',
collectionService
:GetInstanceAddedSignal('SubspaceTripmine')
:Connect(GuardRivalsCallback('TripmineAutomation_Added', RivalsTripmineAutomation.Track))
)
Connections:register(
'TripmineAutomation_Removed',
collectionService
:GetInstanceRemovedSignal('SubspaceTripmine')
:Connect(GuardRivalsCallback('TripmineAutomation_Removed', RivalsTripmineAutomation.Untrack))
)
for _, tripmine in ipairs(collectionService:GetTagged('SubspaceTripmine')) do
RivalsTripmineAutomation.Track(tripmine)
end
end
function RivalsTripmineAutomation.Update()
if not RivalsTripmineAutomation.IsEnabled() then return end
if not __ZkhHub_genv.ZkxHubCaps.gate('Subspace Tripmine Auto Trigger', 'firetouchinterest') then return end
local activeChar = RivalsRuntimeBridge.AcquireActiveCharacter()
local touchPart = activeChar
and (activeChar:FindFirstChild('HitboxBody') or activeChar:FindFirstChild('HumanoidRootPart'))
or nil
if not touchPart or not touchPart:IsA('BasePart') then return end
local fighter = ResolveLocalFighter()
local localEnvironmentId = ReadFighterValue(fighter, 'EnvironmentID') or activeChar:GetAttribute('EnvironmentID')
local localTeamId = ReadFighterValue(fighter, 'TeamID') or LP:GetAttribute('TeamID')
for tripmine, entry in pairs(RivalsTripmineAutomation.Entries) do
if tripmine == entry.Tripmine then
local hitbox = entry.Hitbox
if not hitbox or not hitbox.Parent or not tripmine.Parent then
RivalsTripmineAutomation.Untrack(tripmine)
else
local friendly = entry.PlacedBy == LP.UserId
if not friendly and localTeamId ~= nil and entry.TeamId ~= nil then
friendly = localTeamId == entry.TeamId
end
local environmentMatches = localEnvironmentId == entry.EnvironmentId
local teamTrigger = Toggles.P8S8T2 and Toggles.P8S8T2.Value == true
local expectedTransparency = friendly and 0.5 or 1
if
environmentMatches
and (not friendly or teamTrigger)
and hitbox.LocalTransparencyModifier == expectedTransparency
then
firetouchinterest(hitbox, touchPart, 0)
firetouchinterest(hitbox, touchPart, 1)
return
end
end
end
end
end
function RivalsTripmineAutomation.Reset()
for tripmine, entry in pairs(RivalsTripmineAutomation.Entries) do
if tripmine == entry.Tripmine then RivalsTripmineAutomation.Untrack(tripmine) end
end
if Connections then Connections:disconnect({ 'TripmineAutomation_Added', 'TripmineAutomation_Removed' }) end
end
RivalsRuntimeBridge.BindTripmineAutomation = RivalsTripmineAutomation.Bind
RivalsRuntimeBridge.UpdateTripmineAutomation = RivalsTripmineAutomation.Update
RivalsRuntimeBridge.ResetTripmineAutomation = RivalsTripmineAutomation.Reset
end
do
local AUTO_QUEUE_FALLBACK_MODES = {
'1v1',
'2v2',
'3v3',
'4v4',
'5v5',
'ranked_1v1',
'ranked_2v2',
'ranked_3v3',
}
local AUTO_QUEUE_FIRE_DEBOUNCE = 0.08
local AUTO_QUEUE_RETRY_DELAY = 0.5
-- ======================================================================
-- Auto queue
-- ======================================================================
local RivalsAutoQueue = {
State = {
Believed = 'idle',
LastFireAt = 0,
LastModeFired = nil,
Modes = nil,
DisplayToKey = nil,
RefreshSuppress = false,
PlayAgainRegistrationQueued = false,
MatchEndedConfirmed = false,
RetryActive = false,
RetryAttempts = 0,
RetryToken = 0,
SkipPressActive = false,
SkipPressToken = 0,
MatchmakingController = nil,
ArcadeController = nil,
ArcadeModes = nil,
LastArcadeTeleportAt = 0,
},
}
local function CollectActiveQueueKeys()
local seen = {}
local order = {}
local function add(key)
if type(key) == 'string' and key ~= '' and not seen[key] then
seen[key] = true
table.insert(order, key)
end
end
local CollectionService = game:GetService('CollectionService')
local okPads, pads = pcall(function() return CollectionService:GetTagged('QueuePad') end)
if okPads and type(pads) == 'table' then
for _, pad in ipairs(pads) do
local q = pad:GetAttribute('QueueName')
add(q)
end
end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local rotLib = modules and modules:FindFirstChild('RotatingQueueLibrary')
if rotLib then
local okReq, lib = pcall(require, rotLib)
if okReq and type(lib) == 'table' and type(lib.GetCurrent) == 'function' then
local okCur, current = pcall(function() return lib:GetCurrent() end)
if okCur and type(current) == 'table' and type(current.QueueNames) == 'table' then
for _, qn in ipairs(current.QueueNames) do
add(qn)
end
end
end
end
return order
end
local function BuildModeListFromKeys(keys, queueInfoTable)
local pairs_list = {}
for _, key in ipairs(keys) do
local info = queueInfoTable and queueInfoTable[key]
local display = nil
if type(info) == 'table' and type(info.DisplayName) == 'string' and info.DisplayName ~= '' then
display = info.DisplayName
else
display = key
end
table.insert(pairs_list, { display = display, key = key })
end
local displays = {}
local map = {}
local seenDisplay = {}
for _, entry in ipairs(pairs_list) do
if not seenDisplay[entry.display] then
seenDisplay[entry.display] = true
table.insert(displays, entry.display)
map[entry.display] = entry.key
end
end
return displays, map
end
function RivalsAutoQueue.ResolveModeValues()
if RivalsAutoQueue.State.Modes ~= nil then return RivalsAutoQueue.State.Modes end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local duelLib = modules and modules:FindFirstChild('DuelLibrary')
local queueInfoTable = nil
local duelLibrary = nil
if duelLib then
local ok, lib = pcall(require, duelLib)
if ok and type(lib) == 'table' then
duelLibrary = lib
if type(lib.MatchmakingQueues) == 'table' then queueInfoTable = lib.MatchmakingQueues end
end
end
local serverOsTime = os.time()
local serverOsTimeModule = modules and modules:FindFirstChild('ServerOsTime')
if serverOsTimeModule then
local ok, serverTimeLibrary = pcall(require, serverOsTimeModule)
if ok and type(serverTimeLibrary) == 'table' and type(serverTimeLibrary.Get) == 'function' then
local timeOk, currentServerTime = pcall(serverTimeLibrary.Get, serverTimeLibrary)
if timeOk and type(currentServerTime) == 'number' then serverOsTime = currentServerTime end
end
end
local keys = {}
local seen = {}
local function addKey(queueKey)
if type(queueKey) == 'string' and queueKey ~= '' and not seen[queueKey] then
seen[queueKey] = true
keys[#keys + 1] = queueKey
end
end
local queueOrder = duelLibrary and duelLibrary.MatchmakingQueueOrder or nil
if type(queueOrder) == 'table' and type(queueInfoTable) == 'table' then
for _, queueKey in ipairs(queueOrder) do
local queueInfo = queueInfoTable[queueKey]
local releaseTime = type(queueInfo) == 'table' and tonumber(queueInfo.TerminalsReleaseTime) or nil
if
type(queueInfo) == 'table'
and queueInfo.CanBeStartedFromClient ~= false
and (not releaseTime or releaseTime <= serverOsTime)
then
addKey(queueKey)
end
end
end
for _, queueKey in ipairs(CollectActiveQueueKeys()) do
addKey(queueKey)
end
local arcadeModes = duelLibrary and duelLibrary.ArcadeModes or nil
RivalsAutoQueue.State.ArcadeModes = type(arcadeModes) == 'table' and arcadeModes or {}
local arcadeOrder = duelLibrary and duelLibrary.ArcadeModeOrder or nil
if type(arcadeOrder) == 'table' then
for _, arcadeModeKey in ipairs(arcadeOrder) do
addKey(arcadeModeKey)
end
end
local catalogInfoTable = {}
for queueKey, queueInfo in pairs(queueInfoTable or {}) do
catalogInfoTable[queueKey] = queueInfo
end
for arcadeModeKey, arcadeInfo in pairs(RivalsAutoQueue.State.ArcadeModes) do
catalogInfoTable[arcadeModeKey] = arcadeInfo
end
if #keys > 0 then
local displays, map = BuildModeListFromKeys(keys, catalogInfoTable)
RivalsAutoQueue.State.Modes = displays
RivalsAutoQueue.State.DisplayToKey = map
return displays
end
local fallback = {}
local fallbackMap = {}
for _, key in ipairs(AUTO_QUEUE_FALLBACK_MODES) do
table.insert(fallback, key)
fallbackMap[key] = key
end
RivalsAutoQueue.State.Modes = fallback
RivalsAutoQueue.State.DisplayToKey = fallbackMap
return fallback
end
function RivalsAutoQueue.ResolveQueueKeyForDisplay(displayName)
if type(displayName) ~= 'string' or displayName == '' then return nil end
if RivalsAutoQueue.State.DisplayToKey == nil then RivalsAutoQueue.ResolveModeValues() end
local map = RivalsAutoQueue.State.DisplayToKey
if map and map[displayName] then return map[displayName] end
return displayName
end
function RivalsAutoQueue.RefreshDropdownValues()
RivalsAutoQueue.State.Modes = nil
RivalsAutoQueue.State.DisplayToKey = nil
local values = RivalsAutoQueue.ResolveModeValues()
if Options and Options.P8S6D1 and type(Options.P8S6D1.SetValues) == 'function' then
RivalsAutoQueue.State.RefreshSuppress = true
pcall(function() Options.P8S6D1:SetValues(values) end)
RivalsAutoQueue.State.RefreshSuppress = false
end
return values
end
local function ResolveQueueRemote(folderName, remoteName, remoteClass)
local remotes = ReplicatedStorage:FindFirstChild('Remotes')
local folder = remotes and remotes:FindFirstChild(folderName)
local remote = folder and folder:FindFirstChild(remoteName)
if remote and remote:IsA(remoteClass) then return remote end
return nil
end
local function ReadAutoQueueDisplay()
if Options and Options.P8S6D1 then
local v = Options.P8S6D1.Value
if type(v) == 'string' and v ~= '' then return v end
end
return nil
end
local function ReadAutoQueueToggle()
if Toggles and Toggles.P8S6T1 then return Toggles.P8S6T1.Value == true end
return false
end
function RivalsAutoQueue.ResolveMatchmakingController()
if RivalsAutoQueue.State.MatchmakingController then return RivalsAutoQueue.State.MatchmakingController end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local controllerModule = controllers and controllers:FindFirstChild('MatchmakingController')
if not controllerModule then return nil end
local ok, controller = pcall(require, controllerModule)
if not ok or type(controller) ~= 'table' then return nil end
RivalsAutoQueue.State.MatchmakingController = controller
return controller
end
function RivalsAutoQueue.ResolveArcadeMode(queueKey)
if RivalsAutoQueue.State.ArcadeModes == nil then RivalsAutoQueue.ResolveModeValues() end
local arcadeModes = RivalsAutoQueue.State.ArcadeModes
return type(arcadeModes) == 'table' and arcadeModes[queueKey] or nil
end
function RivalsAutoQueue.ResolveArcadeController()
if RivalsAutoQueue.State.ArcadeController then return RivalsAutoQueue.State.ArcadeController end
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local controllerModule = controllers and controllers:FindFirstChild('ArcadeController')
if not controllerModule then return nil end
local ok, controller = pcall(require, controllerModule)
if not ok or type(controller) ~= 'table' then return nil end
RivalsAutoQueue.State.ArcadeController = controller
return controller
end
function RivalsAutoQueue.TeleportToArcade(queueKey, arcadeMode)
local placeId = type(arcadeMode) == 'table' and tonumber(arcadeMode.PlaceID) or nil
if placeId and game.PlaceId == placeId then return true end
local now = tick()
if now - RivalsAutoQueue.State.LastArcadeTeleportAt < 5 then return false, 'arcade_debounced' end
RivalsAutoQueue.State.LastArcadeTeleportAt = now
local result = nil
local controller = RivalsAutoQueue.ResolveArcadeController()
if controller and type(controller.ToArcadeServer) == 'function' then
local ok
ok, result = pcall(controller.ToArcadeServer, controller, queueKey)
if ok and not (type(result) == 'string' and result ~= '') then
RivalsAutoQueue.State.Believed = 'matched'
RivalsAutoQueue.State.LastModeFired = queueKey
return true
end
else
local remote = ResolveQueueRemote('Arcade', 'TeleportToArcadeServer', 'RemoteFunction')
if remote then
local ok
ok, result = pcall(remote.InvokeServer, remote, queueKey)
if ok and not (type(result) == 'string' and result ~= '') then
RivalsAutoQueue.State.Believed = 'matched'
RivalsAutoQueue.State.LastModeFired = queueKey
return true
end
end
end
RivalsAutoQueue.State.LastArcadeTeleportAt = 0
return false, type(result) == 'string' and result or 'arcade_teleport_failed'
end
function RivalsAutoQueue.CanFireQueue()
local status = workspace:GetAttribute('MatchmadeStatus')
if status ~= 'Started' then return true end
local gameOver = workspace:GetAttribute('MatchmadeGameOver')
if gameOver == true then return true end
if RivalsAutoQueue.State.MatchEndedConfirmed == true then return true end
return false
end
function RivalsAutoQueue.IsInLobby() return RivalsAutoQueue.CanFireQueue() end
function RivalsAutoQueue.StopMatchEndRetry()
RivalsAutoQueue.State.RetryActive = false
RivalsAutoQueue.State.RetryAttempts = 0
RivalsAutoQueue.State.RetryToken = (RivalsAutoQueue.State.RetryToken or 0) + 1
end
function RivalsAutoQueue.ScheduleMatchEndRetry()
if not ReadAutoQueueToggle() then return end
if not RivalsAutoQueue.CanFireQueue() then return end
local believed = RivalsAutoQueue.State.Believed
if believed == 'queued' or believed == 'matched' then return end
if RivalsAutoQueue.State.RetryAttempts >= 150 then
RivalsAutoQueue.StopMatchEndRetry()
return
end
RivalsAutoQueue.State.RetryActive = true
RivalsAutoQueue.State.RetryToken = (RivalsAutoQueue.State.RetryToken or 0) + 1
local token = RivalsAutoQueue.State.RetryToken
task.delay(0.1, function()
if token ~= RivalsAutoQueue.State.RetryToken then return end
if not RivalsAutoQueue.State.RetryActive then return end
if not ReadAutoQueueToggle() then
RivalsAutoQueue.StopMatchEndRetry()
return
end
if not RivalsAutoQueue.CanFireQueue() then
RivalsAutoQueue.StopMatchEndRetry()
return
end
local b = RivalsAutoQueue.State.Believed
if b == 'queued' or b == 'matched' then
RivalsAutoQueue.StopMatchEndRetry()
return
end
RivalsAutoQueue.State.RetryAttempts = RivalsAutoQueue.State.RetryAttempts + 1
RivalsAutoQueue.FireJoin()
end)
end
function RivalsAutoQueue.ResolveSkipButton()
local duelInterfaces = RivalsAutoQueue.ResolveDuelInterfacesFrame()
if not duelInterfaces then return nil end
for _, descendant in ipairs(duelInterfaces:GetDescendants()) do
if descendant:IsA('GuiButton') then
local title = descendant:FindFirstChild('Title')
if title and title:IsA('TextLabel') and title.Text == 'Skip' then return descendant end
if descendant:IsA('TextButton') and descendant.Text == 'Skip' then return descendant end
end
end
return nil
end
function RivalsAutoQueue.PressSkip()
local button = RivalsAutoQueue.ResolveSkipButton()
if not button then return false, 'no_skip_button' end
if not RivalsAutoQueue.IsGuiObjectVisibleInTree(button) then return false, 'skip_not_visible' end
local pos = button.AbsolutePosition
local size = button.AbsoluteSize
if size.X <= 0 or size.Y <= 0 then return false, 'skip_zero_size' end
if AimbotInputState.SyntheticInputBlocked() then return false, 'ui_open' end
local cx = pos.X + size.X * 0.5
local cy = pos.Y + game:GetService('GuiService'):GetGuiInset().Y + size.Y * 0.5
local ok = pcall(function()
local vim = Instance.new('VirtualInputManager')
vim:SendMouseButtonEvent(cx, cy, 0, true, button, 1)
vim:SendMouseButtonEvent(cx, cy, 0, false, button, 1)
end)
if not ok then return false, 'vim_failed' end
return true, 'vim'
end
function RivalsAutoQueue.StopSkipPress()
RivalsAutoQueue.State.SkipPressActive = false
RivalsAutoQueue.State.SkipPressToken = (RivalsAutoQueue.State.SkipPressToken or 0) + 1
end
function RivalsAutoQueue.PressSkipWithRetry()
RivalsAutoQueue.StopSkipPress()
RivalsAutoQueue.State.SkipPressActive = true
RivalsAutoQueue.State.SkipPressToken = (RivalsAutoQueue.State.SkipPressToken or 0) + 1
local token = RivalsAutoQueue.State.SkipPressToken
local startedAt = tick()
local function attempt()
if token ~= RivalsAutoQueue.State.SkipPressToken then return end
if not RivalsAutoQueue.State.SkipPressActive then return end
local ok = RivalsAutoQueue.PressSkip()
if ok then
RivalsAutoQueue.State.SkipPressActive = false
return
end
if tick() - startedAt >= 30.0 then
RivalsAutoQueue.State.SkipPressActive = false
return
end
task.delay(0.25, attempt)
end
attempt()
end
function RivalsAutoQueue.FireJoin()
if not RivalsAutoQueue.IsInLobby() then return false, 'not_in_lobby' end
if not IsReplicatedStateReady() then return false, 'replicated_state_not_ready' end
local believed = RivalsAutoQueue.State.Believed
if believed == 'queued' or believed == 'matched' then return false, 'already_' .. believed end
local display = ReadAutoQueueDisplay()
if display == nil then return false, 'no_mode_selected' end
local queueKey = RivalsAutoQueue.ResolveQueueKeyForDisplay(display)
if type(queueKey) ~= 'string' or queueKey == '' then return false, 'no_key_for_display' end
local now = tick()
if now - RivalsAutoQueue.State.LastFireAt < AUTO_QUEUE_FIRE_DEBOUNCE then return false, 'debounced' end
RivalsAutoQueue.State.LastFireAt = now
local arcadeMode = RivalsAutoQueue.ResolveArcadeMode(queueKey)
if arcadeMode then return RivalsAutoQueue.TeleportToArcade(queueKey, arcadeMode) end
local controller = RivalsAutoQueue.ResolveMatchmakingController()
if controller and type(controller.QueueInto) == 'function' then
local ok, result = pcall(function() return controller:QueueInto(queueKey) end)
if ok then
if type(result) == 'string' and #result > 0 then
RivalsAutoQueue.State.Believed = 'idle'
RivalsAutoQueue.ScheduleMatchEndRetry()
return false, result
end
RivalsAutoQueue.State.Believed = 'queued'
RivalsAutoQueue.State.LastModeFired = queueKey
RivalsAutoQueue.StopMatchEndRetry()
return true
end
elseif not controller then
local primary = ResolveQueueRemote('Matchmaking', 'JoinQueue', 'RemoteFunction')
if primary then
local ok, result = pcall(function() return safe_invoke_server(primary, queueKey) end)
if ok and not (type(result) == 'string' and #result > 0) then
RivalsAutoQueue.State.Believed = 'queued'
RivalsAutoQueue.State.LastModeFired = queueKey
RivalsAutoQueue.StopMatchEndRetry()
return true
end
end
end
return false, 'no_remote'
end
function RivalsAutoQueue.FireLeave()
RivalsAutoQueue.StopMatchEndRetry()
RivalsAutoQueue.StopSkipPress()
if RivalsAutoQueue.State.Believed == 'idle' then return true end
if not IsReplicatedStateReady() then
RivalsAutoQueue.State.Believed = 'idle'
return true
end
local controller = RivalsAutoQueue.ResolveMatchmakingController()
if controller and type(controller.TryLeaveQueue) == 'function' then
local ok = pcall(function() controller:TryLeaveQueue() end)
if ok then
RivalsAutoQueue.State.Believed = 'idle'
return true
end
elseif not controller then
local primary = ResolveQueueRemote('Matchmaking', 'TryLeaveQueue', 'RemoteEvent')
or ResolveQueueRemote('Matchmaking', 'LeaveQueue', 'RemoteEvent')
if primary then
local ok = pcall(function() safe_fire_server(primary) end)
if ok then
RivalsAutoQueue.State.Believed = 'idle'
return true
end
end
end
RivalsAutoQueue.State.Believed = 'idle'
return false
end
function RivalsAutoQueue.OnToggled(value)
if value then
RivalsAutoQueue.FireJoin()
else
RivalsAutoQueue.FireLeave()
end
end
function RivalsAutoQueue.OnModeChanged()
if RivalsAutoQueue.State.RefreshSuppress then return end
if not ReadAutoQueueToggle() then return end
if RivalsAutoQueue.State.Believed == 'queued' then
RivalsAutoQueue.FireLeave()
task.delay(0.15, function()
if ReadAutoQueueToggle() then RivalsAutoQueue.FireJoin() end
end)
return
end
RivalsAutoQueue.FireJoin()
end
function RivalsAutoQueue.HandleStatusUpdate(...)
local args = { ... }
local statusValue = args[1]
if type(statusValue) == 'table' then statusValue = statusValue.Status or statusValue.State or statusValue[1] end
if type(statusValue) == 'string' then
local lowered = statusValue:lower()
if lowered == 'queued' or lowered == 'searching' then
RivalsAutoQueue.State.Believed = 'queued'
RivalsAutoQueue.StopMatchEndRetry()
return
end
if lowered == 'matched' or lowered == 'matchfound' or lowered == 'ready' then
RivalsAutoQueue.State.Believed = 'matched'
RivalsAutoQueue.StopMatchEndRetry()
return
end
if
lowered == 'cancelled'
or lowered == 'canceled'
or lowered == 'expired'
or lowered == 'failed'
or lowered == 'timeout'
or lowered == 'idle'
then
RivalsAutoQueue.State.Believed = 'idle'
if ReadAutoQueueToggle() then
task.delay(AUTO_QUEUE_RETRY_DELAY, function()
if
ReadAutoQueueToggle()
and RivalsAutoQueue.IsInLobby()
and RivalsAutoQueue.State.Believed == 'idle'
then
RivalsAutoQueue.FireJoin()
end
end)
end
end
end
end
function RivalsAutoQueue.OnLobbyReturn()
if not ReadAutoQueueToggle() then return end
if not RivalsAutoQueue.CanFireQueue() then return end
local now = tick()
if now - RivalsAutoQueue.State.LastFireAt < AUTO_QUEUE_FIRE_DEBOUNCE then return end
RivalsAutoQueue.State.Believed = 'idle'
RivalsAutoQueue.FireJoin()
end
function RivalsAutoQueue.OnMatchmadeGameOverChanged()
if not ReadAutoQueueToggle() then return end
local gameOver = workspace:GetAttribute('MatchmadeGameOver')
if gameOver ~= true then return end
local now = tick()
if now - RivalsAutoQueue.State.LastFireAt < AUTO_QUEUE_FIRE_DEBOUNCE then return end
RivalsAutoQueue.State.Believed = 'idle'
RivalsAutoQueue.FireJoin()
end
function RivalsAutoQueue.OnIsInDuelChanged(newValue, previousValue)
local isNowInDuel = newValue == true
local wasInDuel = previousValue == true
if isNowInDuel and not wasInDuel then
RivalsAutoQueue.State.MatchEndedConfirmed = false
RivalsAutoQueue.StopMatchEndRetry()
RivalsAutoQueue.StopSkipPress()
return
end
if not (wasInDuel and not isNowInDuel) then return end
RivalsAutoQueue.State.MatchEndedConfirmed = true
if not ReadAutoQueueToggle() then return end
RivalsAutoQueue.PressSkipWithRetry()
local now = tick()
if now - RivalsAutoQueue.State.LastFireAt < AUTO_QUEUE_FIRE_DEBOUNCE then return end
RivalsAutoQueue.State.Believed = 'idle'
RivalsAutoQueue.FireJoin()
end
function RivalsAutoQueue.ResolveFinalResultsButtonsContainer()
local playerGui = LP and LP:FindFirstChildOfClass('PlayerGui')
local mainGui = playerGui and playerGui:FindFirstChild('MainGui')
local mainFrame = mainGui and mainGui:FindFirstChild('MainFrame')
local duelInterfaces = mainFrame and mainFrame:FindFirstChild('DuelInterfaces')
local duelInterface = duelInterfaces and duelInterfaces:FindFirstChild('DuelInterface')
local finalResults = duelInterface and duelInterface:FindFirstChild('FinalResults')
local buttons = finalResults and finalResults:FindFirstChild('Buttons')
local bottomRight = buttons and buttons:FindFirstChild('BottomRight')
return bottomRight and bottomRight:FindFirstChild('Container') or nil
end
function RivalsAutoQueue.ResolveDuelInterfacesFrame()
local playerGui = LP and LP:FindFirstChildOfClass('PlayerGui')
local mainGui = playerGui and playerGui:FindFirstChild('MainGui')
local mainFrame = mainGui and mainGui:FindFirstChild('MainFrame')
return mainFrame and mainFrame:FindFirstChild('DuelInterfaces') or nil
end
function RivalsAutoQueue.ResolvePlayAgainButton()
local container = RivalsAutoQueue.ResolveFinalResultsButtonsContainer()
local buttonFrame = container and container:FindFirstChild('PlayAgain')
local button = buttonFrame and buttonFrame:FindFirstChild('Button')
if button and button:IsA('GuiButton') then
local title = button:FindFirstChild('Title')
if title and title:IsA('TextLabel') and title.Text == 'Play Again' then return button end
end
return nil
end
function RivalsAutoQueue.IsGuiObjectVisibleInTree(guiObject)
if not guiObject or not guiObject:IsA('GuiObject') then return false end
local playerGui = LP and LP:FindFirstChildOfClass('PlayerGui')
local current = guiObject
while current and current ~= playerGui do
if current:IsA('GuiObject') and current.Visible ~= true then return false end
current = current.Parent
end
return current == playerGui
end
function RivalsAutoQueue.OnPlayAgainVisible(button)
if not ReadAutoQueueToggle() then return end
if not RivalsAutoQueue.IsGuiObjectVisibleInTree(button) then return end
RivalsAutoQueue.State.Believed = 'idle'
RivalsAutoQueue.FireJoin()
end
function RivalsAutoQueue.QueuePlayAgainCheck(button)
task.defer(function() RivalsAutoQueue.OnPlayAgainVisible(button) end)
end
function RivalsAutoQueue.RegisterPlayAgainButton()
local button = RivalsAutoQueue.ResolvePlayAgainButton()
if not Connections or not button or not button:IsA('GuiButton') then return end
Connections:register(
'AutoQueue_PlayAgain_Visible',
button:GetPropertyChangedSignal('Visible'):Connect(GuardRivalsCallback('AutoQueue_PlayAgain_Visible', function()
if button.Visible == true then RivalsAutoQueue.QueuePlayAgainCheck(button) end
end))
)
local title = button:FindFirstChild('Title')
if title and title:IsA('TextLabel') then
Connections:register(
'AutoQueue_PlayAgain_Title',
title:GetPropertyChangedSignal('Text'):Connect(
GuardRivalsCallback(
'AutoQueue_PlayAgain_Title',
function() RivalsAutoQueue.QueuePlayAgainCheck(button) end
)
)
)
end
local playerGui = LP and LP:FindFirstChildOfClass('PlayerGui')
local ancestor = button.Parent
local ancestorIndex = 0
while ancestor and ancestor ~= playerGui do
if ancestor:IsA('GuiObject') then
ancestorIndex = ancestorIndex + 1
local connectionName = 'AutoQueue_PlayAgain_AncestorVisible_' .. tostring(ancestorIndex)
local watchedAncestor = ancestor
Connections:register(
connectionName,
watchedAncestor
:GetPropertyChangedSignal('Visible')
:Connect(GuardRivalsCallback(connectionName, function()
if watchedAncestor.Visible == true then RivalsAutoQueue.QueuePlayAgainCheck(button) end
end))
)
end
ancestor = ancestor.Parent
end
if RivalsAutoQueue.IsGuiObjectVisibleInTree(button) then RivalsAutoQueue.QueuePlayAgainCheck(button) end
end
function RivalsAutoQueue.QueuePlayAgainRegistration()
if RivalsAutoQueue.State.PlayAgainRegistrationQueued then return end
RivalsAutoQueue.State.PlayAgainRegistrationQueued = true
task.defer(function()
RivalsAutoQueue.State.PlayAgainRegistrationQueued = false
RivalsAutoQueue.RegisterPlayAgainButton()
RivalsAutoQueue.RegisterSkipButton()
end)
end
function RivalsAutoQueue.RegisterPlayAgainChildWatcher(parent, childName, connectionName)
if not Connections or not parent then
if Connections then Connections:disconnect({ connectionName }) end
return nil
end
Connections:register(
connectionName,
parent.ChildAdded:Connect(GuardRivalsCallback(connectionName, function(child)
if child.Name == childName then RivalsAutoQueue.QueuePlayAgainRegistration() end
end))
)
return parent:FindFirstChild(childName)
end
function RivalsAutoQueue.OnSkipVisible(button)
if not ReadAutoQueueToggle() then return end
if not RivalsAutoQueue.IsGuiObjectVisibleInTree(button) then return end
RivalsAutoQueue.PressSkip()
end
function RivalsAutoQueue.QueueSkipPress(button)
task.defer(function() RivalsAutoQueue.OnSkipVisible(button) end)
end
function RivalsAutoQueue.RegisterSkipButton()
local button = RivalsAutoQueue.ResolveSkipButton()
if not Connections or not button or not button:IsA('GuiButton') then return end
Connections:register(
'AutoQueue_Skip_Visible',
button:GetPropertyChangedSignal('Visible'):Connect(GuardRivalsCallback('AutoQueue_Skip_Visible', function()
if button.Visible == true then RivalsAutoQueue.QueueSkipPress(button) end
end))
)
local title = button:FindFirstChild('Title')
if title and title:IsA('TextLabel') then
Connections:register(
'AutoQueue_Skip_Title',
title
:GetPropertyChangedSignal('Text')
:Connect(
GuardRivalsCallback('AutoQueue_Skip_Title', function() RivalsAutoQueue.QueueSkipPress(button) end)
)
)
end
local playerGui = LP and LP:FindFirstChildOfClass('PlayerGui')
local ancestor = button.Parent
local ancestorIndex = 0
while ancestor and ancestor ~= playerGui do
if ancestor:IsA('GuiObject') then
ancestorIndex = ancestorIndex + 1
local connectionName = 'AutoQueue_Skip_AncestorVisible_' .. tostring(ancestorIndex)
local watchedAncestor = ancestor
Connections:register(
connectionName,
watchedAncestor
:GetPropertyChangedSignal('Visible')
:Connect(GuardRivalsCallback(connectionName, function()
if watchedAncestor.Visible == true then RivalsAutoQueue.QueueSkipPress(button) end
end))
)
end
ancestor = ancestor.Parent
end
if RivalsAutoQueue.IsGuiObjectVisibleInTree(button) then RivalsAutoQueue.QueueSkipPress(button) end
end
function RivalsAutoQueue.RegisterPlayAgainSignals()
if not Connections then return end
RivalsAutoQueue.RegisterPlayAgainButton()
RivalsAutoQueue.RegisterSkipButton()
local duelInterfaces = RivalsAutoQueue.ResolveDuelInterfacesFrame()
if not duelInterfaces then
Connections:disconnect({
'AutoQueue_DuelInterfaceAdded',
'AutoQueue_FinalResultsFrameAdded',
'AutoQueue_FinalResultsButtonsAdded',
'AutoQueue_FinalResultsBottomRightAdded',
'AutoQueue_FinalResultsContainerAdded',
})
return
end
local duelInterface =
RivalsAutoQueue.RegisterPlayAgainChildWatcher(duelInterfaces, 'DuelInterface', 'AutoQueue_DuelInterfaceAdded')
local finalResults =
RivalsAutoQueue.RegisterPlayAgainChildWatcher(duelInterface, 'FinalResults', 'AutoQueue_FinalResultsFrameAdded')
local buttons =
RivalsAutoQueue.RegisterPlayAgainChildWatcher(finalResults, 'Buttons', 'AutoQueue_FinalResultsButtonsAdded')
local bottomRight =
RivalsAutoQueue.RegisterPlayAgainChildWatcher(buttons, 'BottomRight', 'AutoQueue_FinalResultsBottomRightAdded')
RivalsAutoQueue.RegisterPlayAgainChildWatcher(bottomRight, 'Container', 'AutoQueue_FinalResultsContainerAdded')
end
RivalsRuntimeBridge.ResolveAutoQueueModeValues = RivalsAutoQueue.ResolveModeValues
RivalsRuntimeBridge.RefreshAutoQueueDropdownValues = RivalsAutoQueue.RefreshDropdownValues
RivalsRuntimeBridge.OnAutoQueueToggled = RivalsAutoQueue.OnToggled
RivalsRuntimeBridge.OnAutoQueueModeChanged = RivalsAutoQueue.OnModeChanged
RivalsRuntimeBridge.HandleAutoQueueStatusUpdate = RivalsAutoQueue.HandleStatusUpdate
RivalsRuntimeBridge.OnAutoQueueLobbyReturn = RivalsAutoQueue.OnLobbyReturn
RivalsRuntimeBridge.OnAutoQueueMatchmadeGameOverChanged = RivalsAutoQueue.OnMatchmadeGameOverChanged
FighterDataCache.OnLocalDuelChanged = RivalsAutoQueue.OnIsInDuelChanged
RivalsRuntimeBridge.OnAutoQueueIsInDuelChanged = RivalsAutoQueue.OnIsInDuelChanged
RivalsRuntimeBridge.FireAutoQueueJoin = RivalsAutoQueue.FireJoin
RivalsRuntimeBridge.IsAutoQueueLobby = RivalsAutoQueue.IsInLobby
RivalsRuntimeBridge.CanAutoQueueFire = RivalsAutoQueue.CanFireQueue
RivalsRuntimeBridge.GetAutoQueueBelief = function() return RivalsAutoQueue.State.Believed end
RivalsRuntimeBridge.RegisterAutoQueuePlayAgainSignals = RivalsAutoQueue.RegisterPlayAgainSignals
end
do
local DEFAULT_RIVALS_COSMETIC_VALUE = 'Default'
local RIVALS_COSMETIC_UNSELECTED = 'Unselected'
local RIVALS_COSMETIC_NONE = 'None'
local RIVALS_COSMETIC_RANDOM = 'Random'
local RIVALS_COSMETIC_ALL_WEAPONS = 'All'
local RIVALS_GET_WEAPON_DATA_SENTINEL = 'GetWeaponData\0ohaio'
local RIVALS_COSMETIC_SLOT_FRAME_SENTINEL = 'Frame\0rahh'
local RIVALS_RANK_CHARM_OFF = 'Off'
local RIVALS_RANK_CHARM_STATE_OPTION_ID = 'P5RANK_STATE'
local RIVALS_FAVORITES_STATE_OPTION_ID = 'P5FAVORITES_STATE'
-- ======================================================================
-- Auto weapon menu + manual loadout in ranked
-- ======================================================================
-- Auto Loadout picks your weapons the moment the weapon page opens. This module (1) opens that page for you by pressing the
-- key you use for it, when a round starts or you switch loadout (Trello #27), and (2) leaves the choice to you in ranked
-- matches when Manual Loadout is on (Trello #31). Ranked is read from the duel object the way Auto Ban does: a ranked
-- queue name, or weapon / map bans per team.
do
local UserInputService = game:GetService('UserInputService')
local VirtualInputManager = game:GetService('VirtualInputManager')
local Menu = { LastOpenAt = 0, Pending = 0, Opened = 0 }
RivalsRuntimeBridge.AutoWeaponMenu = Menu
local QUEUE_KEYS = { 'QueueName', 'Queue', 'QueueType', 'DuelLogic' }
local BAN_KEYS = { 'MaxWeaponBansPerTeam', 'MaxMapBansPerTeam' }
local LOADOUT_OPTIONS = { 'P8S5D1', 'P8S5D2', 'P8S5D3', 'P8S5D4' }
local function toggleOn(id) return Toggles ~= nil and Toggles[id] ~= nil and Toggles[id].Value == true end
local function optionValue(id, fallback)
local option = Options and Options[id]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
local function read(object, key)
if not object then return nil end
if type(object.Get) == 'function' then
local ok, value = pcall(object.Get, object, key)
if ok then return value end
end
return object[key]
end
local function resolveDuel()
if not IsReplicatedStateReady() then return nil end
local playerScripts = LP:FindFirstChild('PlayerScripts')
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local controllerModule = controllers and controllers:FindFirstChild('DuelController')
if not controllerModule then return nil end
local ok, controller = pcall(require, controllerModule)
if not ok or type(controller) ~= 'table' then return nil end
return controller.CurrentObject
end
-- 'range' = the practice zone (shooting range), 'duel' = in a match, round intermission included, 'lobby' = everywhere else.
-- The weapon menu is only worth opening in a duel: the range has its own pick page and the lobby has nothing to pick.
function Menu.Zone()
local state = FighterDataCache and FighterDataCache.LocalDuel
if state and state.Seeded then
if state.IsInShootingRange then return 'range' end
if state.IsInDuel then return 'duel' end
else
local fighter = ResolveLocalFighter()
if fighter and read(fighter, 'IsInShootingRange') == true then return 'range' end
if fighter and read(fighter, 'IsInDuel') == true then return 'duel' end
end
-- between rounds the local fighter can be gone while the duel object is still there
if resolveDuel() ~= nil then return 'duel' end
return 'lobby'
end
function Menu.IsRankedMatch(duel)
duel = duel or resolveDuel()
if not duel then return false end
for _, key in ipairs(QUEUE_KEYS) do
local value = read(duel, key)
if type(value) == 'string' and value:lower():find('ranked', 1, true) then return true end
end
for _, key in ipairs(BAN_KEYS) do
if (tonumber(read(duel, key)) or 0) > 0 then return true end
end
return false
end
-- weapons the ranked ban vote has taken out of the match (empty once the vote is over or outside ranked)
function Menu.BannedWeapons(duel)
local banned = {}
duel = duel or resolveDuel()
if not duel or read(duel, 'VoteOptionsType') ~= 'Weapons' then return banned end
local options = read(duel, 'VoteOptions')
if type(options) == 'table' then
for _, option in pairs(options) do
local name = read(option, 'Name')
if type(name) == 'string' and read(option, 'IsBanned') ~= nil then banned[name] = true end
end
end
return banned
end
function Menu.SelectedLoadoutBanned(duel)
local banned = Menu.BannedWeapons(duel)
for _, optionId in ipairs(LOADOUT_OPTIONS) do
local value = optionValue(optionId, nil)
if type(value) == 'string' and banned[value] then return true, value end
end
return false, nil
end
-- Auto Loadout asks this before it picks anything
function Menu.IsManualLoadoutActive()
return toggleOn('ZMLT1') and Menu.IsRankedMatch()
end
RivalsRuntimeBridge.IsManualLoadoutActive = Menu.IsManualLoadoutActive
local function resolveKeyCode()
local name = optionValue('ZAWK1', 'M')
if type(name) ~= 'string' or name == '' or name == 'Unknown' then return nil end
local ok, keyCode = pcall(function() return Enum.KeyCode[name] end)
return ok and keyCode or nil
end
local function weaponPageOpen()
local playerScripts = LP:FindFirstChild('PlayerScripts')
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local pages = modules and modules:FindFirstChild('Pages')
local pageModule = pages and pages:FindFirstChild('PickWeapons')
if not pageModule then return false end
local ok, page = pcall(require, pageModule)
return ok and type(page) == 'table' and rawget(page, '_is_open') == true
end
-- true when the key was pressed
function Menu.Open()
if not toggleOn('ZAWT1') then return false end
local now = os.clock()
if now - Menu.LastOpenAt < 2 then return false end
if UserInputService:GetFocusedTextBox() then return false end
if Menu.IsManualLoadoutActive() then return false end
if Menu.Zone() ~= 'duel' then return false end
local duel = resolveDuel()
if Menu.SelectedLoadoutBanned(duel) then return false end
if weaponPageOpen() then return false end
local keyCode = resolveKeyCode()
if not keyCode then return false end
Menu.LastOpenAt = now
Menu.Opened = Menu.Opened + 1
task.spawn(function()
VirtualInputManager:SendKeyEvent(true, keyCode, false, game)
task.wait(0.06)
VirtualInputManager:SendKeyEvent(false, keyCode, false, game)
end)
return true
end
-- the newest trigger wins, so cycling loadouts quickly presses the key once, after the last switch
local function schedule()
Menu.Pending = Menu.Pending + 1
local ticket = Menu.Pending
task.delay(math.clamp(tonumber(optionValue('ZAWS1', 0.6)) or 0.6, 0, 5), function()
if ticket == Menu.Pending then Menu.Open() end
end)
end
function Menu.OnRoundStart()
if toggleOn('ZAWT1') and toggleOn('ZAWT3') then schedule() end
end
-- everything that makes a loadout 'this one': the loadout number and the four picked weapons
local function loadoutSignature()
local parts = { tostring(optionValue('P8S5D8', '')) }
for _, optionId in ipairs(LOADOUT_OPTIONS) do
parts[#parts + 1] = tostring(optionValue(optionId, ''))
end
return table.concat(parts, '|')
end
function Menu.OnLoadoutSwitched()
Menu.Signature = loadoutSignature()
if not (toggleOn('ZAWT1') and toggleOn('ZAWT2')) then return end
-- only inside a match (round intermission counts, the fighter does not exist then): there is nothing to pick in the lobby or the range
if Menu.Zone() ~= 'duel' then return end
schedule()
end
-- The switch handler only hears the loadout dropdown. This watches the whole signature, so a weapon change, a per-map profile or a switch
-- made while the fighter is gone (round intermission) still opens the menu. Outside a duel it only keeps the signature up to date.
function Menu.Watch()
local signature = loadoutSignature()
if Menu.Signature == nil then
Menu.Signature = signature
return
end
if signature == Menu.Signature then return end
if RivalsRuntimeBridge.IsConfigLoading and RivalsRuntimeBridge.IsConfigLoading() then
Menu.Signature = signature
return
end
Menu.OnLoadoutSwitched()
end
function Menu.Start()
if Menu.Watching then return end
Menu.Watching = true
task.spawn(function()
while Menu.Watching and not Library.Unloaded do
task.wait(0.25)
if toggleOn('ZAWT1') then pcall(Menu.Watch) else Menu.Signature = nil end
end
end)
end
function Menu.Stop() Menu.Watching = false end
-- menu: added to the Auto Loadout groupbox of the Automation tab
function Menu.BuildMenu(group)
group:AddToggle('ZMLT1', {
Text = 'Manual Loadout (Ranked)',
Default = false,
Tooltip = 'In ranked matches Auto Loadout leaves your weapons alone so you pick them yourself.',
})
group:AddToggle('ZAWT1', {
Text = 'Auto Open Weapon Menu',
Default = false,
Tooltip = 'Presses your weapon menu key when a round starts or you switch loadout (also during the round intermission), so Auto Loadout can apply it. Never in the practice zone or the lobby. Skipped in ranked when the selected loadout has a banned weapon.',
})
local box = group:AddDependencyBox()
box:AddLabel('Weapon Menu Key'):AddKeyPicker('ZAWK1', {
Default = 'M',
Mode = 'Press',
Text = 'Weapon Menu Key',
NoUI = true,
Tooltip = 'The key you use in game to open the weapon menu. This is the key that gets pressed.',
})
box:AddToggle('ZAWT3', { Text = 'On Round Start', Default = true })
box:AddToggle('ZAWT2', { Text = 'On Loadout Switch', Default = true })
box:AddSlider('ZAWS1', {
Text = 'Delay',
Default = 0.6,
Min = 0,
Max = 3,
Rounding = 1,
Suffix = ' s',
Compact = true,
Tooltip = 'Wait before pressing the key (a new switch restarts the wait).',
})
box:SetupDependencies({ { Toggles.ZAWT1, true } })
Menu.Start()
end
if type(getgenv) == 'function' then
local probe = getgenv().__ZkxHubTest
if type(probe) == 'table' then probe.AutoWeaponMenu = Menu end
end
end
-- ======================================================================
-- Cosmetics changer (Unlock All)
-- ======================================================================
local RivalsCosmetics = {
Catalog = {},
SkinOptionIdsByWeapon = {},
WrapOptionIdsByWeapon = {},
CharmOptionIdsByWeapon = {},
FinisherOptionIdsByWeapon = {},
WrapInvertedOptionIdsByWeapon = {},
EditorOptionIds = {
Weapon = 'P5EDITOR_WEAPON',
Skin = 'P5EDITOR_SKIN',
Wrap = 'P5EDITOR_WRAP',
WrapInverted = 'P5EDITOR_WRAPINV',
Charm = 'P5EDITOR_CHARM',
Finisher = 'P5EDITOR_FINISHER',
RankSeason = 'P5RANK_SEASON',
RankName = 'P5RANK_RANK',
RankLeaderboard = 'P5RANK_LEADERBOARD',
},
FavoriteKinds = { 'Skin', 'Wrap', 'Charm', 'Finisher' },
CosmeticPresetPath = 'ZkxHub/CosmPre.json',
}
local RivalsEmotes = {
Catalog = {},
}
function RivalsCosmetics.IsCosmeticValueSelected(value)
return type(value) == 'string'
and value ~= ''
and value ~= DEFAULT_RIVALS_COSMETIC_VALUE
and value ~= RIVALS_COSMETIC_UNSELECTED
and value ~= RIVALS_COSMETIC_NONE
and value ~= RIVALS_COSMETIC_RANDOM
end
function RivalsCosmetics.ResolveSentinelValues()
return { RIVALS_COSMETIC_UNSELECTED, RIVALS_COSMETIC_NONE, RIVALS_COSMETIC_RANDOM }
end
function RivalsCosmetics.NormalizeSelectionValue(value)
if value == DEFAULT_RIVALS_COSMETIC_VALUE then return RIVALS_COSMETIC_NONE end
return value
end
function RivalsCosmetics.IsCosmeticOptionId(optionId)
if type(optionId) ~= 'string' then return false end
return optionId:sub(1, 7) == 'P5SKIN_'
or optionId:sub(1, 7) == 'P5WRAP_'
or optionId:sub(1, 8) == 'P5CHARM_'
or optionId:sub(1, 11) == 'P5FINISHER_'
or optionId:sub(1, 10) == 'P5WRAPINV_'
or optionId == RIVALS_RANK_CHARM_STATE_OPTION_ID
or optionId == RIVALS_FAVORITES_STATE_OPTION_ID
or RivalsCosmetics.IsEditorCosmeticOptionId(optionId)
end
function RivalsCosmetics.IsEditorCosmeticOptionId(optionId)
for _, editorOptionId in pairs(RivalsCosmetics.EditorOptionIds) do
if optionId == editorOptionId then return true end
end
return false
end
function RivalsCosmetics.ResolveEditorOptionId(kind) return RivalsCosmetics.EditorOptionIds[kind] end
function RivalsCosmetics.IsPlaceholderCatalogName(name)
return type(name) == 'string' and (name == 'MISSING_WEAPON' or name:match('^MISSING_') ~= nil)
end
function RivalsCosmetics.IsEnabled() return Toggles.P5S1T2 and Toggles.P5S1T2.Value == true end
function RivalsEmotes.IsEnabled() return RivalsCosmetics.IsEnabled() end
function RivalsCosmetics.CloneConfigObject(object)
if type(object) ~= 'table' then return nil end
local cloned = {}
for key, value in pairs(object) do
cloned[key] = value
end
return cloned
end
function RivalsCosmetics.BuildCosmeticData(data, name, cosmeticType)
if RivalsCosmetics.IsPlaceholderCatalogName(name) then return nil end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local catalog = type(cosmeticLibrary) == 'table' and cosmeticLibrary.Cosmetics or nil
local sourceData = type(catalog) == 'table' and catalog[name] or nil
local nextData = {}
if type(sourceData) == 'table' then
for key, value in pairs(sourceData) do
nextData[key] = value
end
elseif type(data) == 'table' then
for key, value in pairs(data) do
nextData[key] = value
end
end
nextData.Name = name
nextData.Type = nextData.Type or cosmeticType
nextData.Seed = nextData.Seed or math.random(1, 1000000)
local enumLibrary = ResolveEnumLibrary()
if enumLibrary and type(enumLibrary.ToEnum) == 'function' then
local ok, enumValue = pcall(enumLibrary.ToEnum, enumLibrary, name)
if ok and enumValue ~= nil then
nextData.Enum = enumValue
nextData.ObjectID = enumValue
end
end
if nextData.Inverted == nil then nextData.Inverted = false end
return nextData
end
function RivalsCosmetics.HasRenderableDescendant(instance)
if not instance then return false end
if instance:IsA('BasePart') then return true end
return instance:FindFirstChildWhichIsA('BasePart', true) ~= nil
end
function RivalsCosmetics.HasVisibleRenderableDescendant(instance)
if not instance then return false end
if instance:IsA('BasePart') then return instance.Transparency < 1 end
for _, descendant in ipairs(instance:GetDescendants()) do
if descendant:IsA('BasePart') and descendant.Transparency < 1 then return true end
end
return false
end
function RivalsCosmetics.IsModelContainer(instance)
return instance
and (instance:IsA('Model') or instance:IsA('Folder'))
and RivalsCosmetics.HasRenderableDescendant(instance)
end
function RivalsCosmetics.SafeClone(instance)
if not instance then return nil end
local changedArchivableInstances = {}
if instance.Archivable == false then
changedArchivableInstances[#changedArchivableInstances + 1] = instance
instance.Archivable = true
end
for _, descendant in ipairs(instance:GetDescendants()) do
if descendant.Archivable == false then
changedArchivableInstances[#changedArchivableInstances + 1] = descendant
descendant.Archivable = true
end
end
local ok, clone = pcall(function() return instance:Clone() end)
for _, changedInstance in ipairs(changedArchivableInstances) do
if changedInstance then changedInstance.Archivable = false end
end
if ok and clone then return clone end
return nil
end
function RivalsCosmetics.AnchorPreviewDescendants(instance)
if not instance then return end
if instance:IsA('BasePart') then instance.Anchored = true end
for _, descendant in ipairs(instance:GetDescendants()) do
if descendant:IsA('BasePart') then descendant.Anchored = true end
end
end
function RivalsCosmetics.IsSkinEnabled() return RivalsCosmetics.IsEnabled() end
function RivalsCosmetics.IsWrapEnabled() return RivalsCosmetics.IsEnabled() end
function RivalsCosmetics.ResolvePlayerScripts() return LP:FindFirstChild('PlayerScripts') end
function RivalsCosmetics.ResolveCosmeticLibrary()
local cachedCosmeticLibrary = RivalsCosmetics.Catalog.CosmeticLibrary
if cachedCosmeticLibrary then return cachedCosmeticLibrary end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local cosmeticLibraryModule = modules and modules:FindFirstChild('CosmeticLibrary')
if not cosmeticLibraryModule then return nil end
local ok, cosmeticLibrary = pcall(require, cosmeticLibraryModule)
if not ok or type(cosmeticLibrary) ~= 'table' then return nil end
RivalsCosmetics.Catalog.CosmeticLibrary = cosmeticLibrary
return cosmeticLibrary
end
function RivalsCosmetics.ResolveWrapController()
local cachedWrapController = RivalsCosmetics.Catalog.WrapController
if cachedWrapController then return cachedWrapController end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local wrapControllerModule = controllers and controllers:FindFirstChild('WrapController')
if not wrapControllerModule then return nil end
local ok, wrapController = pcall(require, wrapControllerModule)
if not ok or type(wrapController) ~= 'table' then return nil end
RivalsCosmetics.Catalog.WrapController = wrapController
return wrapController
end
function RivalsCosmetics.ResolveClientViewModelClass()
local cached = RivalsCosmetics.Catalog.ClientViewModelClass
if cached then return cached end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local replicated = modules and modules:FindFirstChild('ClientReplicatedClasses')
local fighter = replicated and replicated:FindFirstChild('ClientFighter')
local itemFolder = fighter and fighter:FindFirstChild('ClientItem')
local cvmModule = itemFolder and itemFolder:FindFirstChild('ClientViewModel')
if not cvmModule then return nil end
local ok, cvmClass = pcall(require, cvmModule)
if not ok or type(cvmClass) ~= 'table' then return nil end
RivalsCosmetics.Catalog.ClientViewModelClass = cvmClass
return cvmClass
end
function RivalsCosmetics.ResolveClientItemClass()
local cached = RivalsCosmetics.Catalog.ClientItemClass
if cached then return cached end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local replicated = modules and modules:FindFirstChild('ClientReplicatedClasses')
local fighter = replicated and replicated:FindFirstChild('ClientFighter')
local clientItemModule = fighter and fighter:FindFirstChild('ClientItem')
if not clientItemModule then return nil end
local ok, clientItem = pcall(require, clientItemModule)
if not ok or type(clientItem) ~= 'table' then return nil end
RivalsCosmetics.Catalog.ClientItemClass = clientItem
return clientItem
end
function RivalsCosmetics.ResolvePlayerDataUtility()
local cached = RivalsCosmetics.Catalog.PlayerDataUtility
if cached then return cached end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local utilityModule = modules and modules:FindFirstChild('PlayerDataUtility')
if not utilityModule then return nil end
local ok, utility = pcall(require, utilityModule)
if not ok or type(utility) ~= 'table' then return nil end
RivalsCosmetics.Catalog.PlayerDataUtility = utility
return utility
end
function RivalsCosmetics.ResolveCosmeticSlot()
local cached = RivalsCosmetics.Catalog.CosmeticSlot
if cached then return cached end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local cosmeticSlotModule = modules and modules:FindFirstChild('CosmeticSlot')
if not cosmeticSlotModule then return nil end
local ok, cosmeticSlot = pcall(require, cosmeticSlotModule)
if not ok or type(cosmeticSlot) ~= 'table' then return nil end
RivalsCosmetics.Catalog.CosmeticSlot = cosmeticSlot
return cosmeticSlot
end
function RivalsCosmetics.ResolveClientEntityClass()
local cached = RivalsCosmetics.Catalog.ClientEntityClass
if cached then return cached end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local replicated = modules and modules:FindFirstChild('ClientReplicatedClasses')
local entityModule = replicated and replicated:FindFirstChild('ClientEntity')
if not entityModule then return nil end
local ok, clientEntity = pcall(require, entityModule)
if not ok or type(clientEntity) ~= 'table' then return nil end
RivalsCosmetics.Catalog.ClientEntityClass = clientEntity
return clientEntity
end
function RivalsCosmetics.ResolvePlayerDataController()
local cachedPlayerDataController = RivalsCosmetics.Catalog.PlayerDataController
if cachedPlayerDataController then return cachedPlayerDataController end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local playerDataControllerModule = controllers and controllers:FindFirstChild('PlayerDataController')
if not playerDataControllerModule then return nil end
local ok, playerDataController = pcall(require, playerDataControllerModule)
if not ok or type(playerDataController) ~= 'table' then return nil end
RivalsCosmetics.Catalog.PlayerDataController = playerDataController
return playerDataController
end
function RivalsCosmetics.ResolveViewModelsRoot()
local cachedViewModelsRoot = RivalsCosmetics.Catalog.ViewModelsRoot
if cachedViewModelsRoot and cachedViewModelsRoot.Parent then return cachedViewModelsRoot end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local assets = playerScripts and playerScripts:FindFirstChild('Assets')
local viewModelsRoot = assets and assets:FindFirstChild('ViewModels')
if not viewModelsRoot then return nil end
RivalsCosmetics.Catalog.ViewModelsRoot = viewModelsRoot
return viewModelsRoot
end
function RivalsCosmetics.ResolveDefaultViewModelsRoot()
local cachedDefaultViewModelsRoot = RivalsCosmetics.Catalog.DefaultViewModelsRoot
if cachedDefaultViewModelsRoot and cachedDefaultViewModelsRoot.Parent then return cachedDefaultViewModelsRoot end
local starterPlayer = game:GetService('StarterPlayer')
local starterPlayerScripts = starterPlayer and starterPlayer:FindFirstChild('StarterPlayerScripts')
local assets = starterPlayerScripts and starterPlayerScripts:FindFirstChild('Assets')
local viewModelsRoot = assets and assets:FindFirstChild('ViewModels')
if not viewModelsRoot then return nil end
RivalsCosmetics.Catalog.DefaultViewModelsRoot = viewModelsRoot
return viewModelsRoot
end
function RivalsCosmetics.ResolveWeaponTemplatesFolder()
local viewModelsRoot = RivalsCosmetics.ResolveViewModelsRoot()
return viewModelsRoot and viewModelsRoot:FindFirstChild('Weapons') or nil
end
function RivalsCosmetics.ResolveDefaultWeaponTemplatesFolder()
local viewModelsRoot = RivalsCosmetics.ResolveDefaultViewModelsRoot()
return viewModelsRoot and viewModelsRoot:FindFirstChild('Weapons') or nil
end
function RivalsCosmetics.ResolveDefaultWeaponTemplate(weaponName)
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local weaponTemplatesFolder = RivalsCosmetics.ResolveDefaultWeaponTemplatesFolder()
local weaponTemplate = weaponTemplatesFolder and weaponTemplatesFolder:FindFirstChild(weaponName)
if weaponTemplate and RivalsCosmetics.IsModelContainer(weaponTemplate) then return weaponTemplate end
return nil
end
function RivalsCosmetics.ResolveWeaponTemplate(weaponName)
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local weaponTemplatesFolder = RivalsCosmetics.ResolveWeaponTemplatesFolder()
local weaponTemplate = weaponTemplatesFolder and weaponTemplatesFolder:FindFirstChild(weaponName)
if weaponTemplate and RivalsCosmetics.IsModelContainer(weaponTemplate) then return weaponTemplate end
return nil
end
function RivalsCosmetics.ResolveWeaponNames()
local cachedWeaponNames = RivalsCosmetics.Catalog.WeaponNames
if cachedWeaponNames then return cachedWeaponNames end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local weaponNames = {}
local seenWeaponNames = {}
if type(cosmetics) == 'table' then
for _, cosmeticData in pairs(cosmetics) do
local weaponName = cosmeticData and cosmeticData.ItemName or nil
if
cosmeticData
and cosmeticData.Type == 'Skin'
and type(weaponName) == 'string'
and weaponName ~= ''
and not RivalsCosmetics.IsPlaceholderCatalogName(weaponName)
and seenWeaponNames[weaponName] ~= true
and RivalsCosmetics.ResolveWeaponTemplate(weaponName)
then
seenWeaponNames[weaponName] = true
weaponNames[#weaponNames + 1] = weaponName
end
end
end
table.sort(weaponNames)
RivalsCosmetics.Catalog.WeaponNames = weaponNames
return weaponNames
end
function RivalsCosmetics.ResolveEditorWeaponNames()
local values = { RIVALS_COSMETIC_ALL_WEAPONS }
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
values[#values + 1] = weaponName
end
return values
end
function RivalsCosmetics.ResolveWeaponSkinValues(weaponName)
if type(weaponName) ~= 'string' or weaponName == '' then return RivalsCosmetics.ResolveSentinelValues() end
local cacheKey = string.format('SkinValues_%s', weaponName)
local cachedValues = RivalsCosmetics.Catalog[cacheKey]
if cachedValues then return cachedValues end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local values = RivalsCosmetics.ResolveSentinelValues()
if type(cosmetics) == 'table' then
local skinNames = {}
for cosmeticName, cosmeticData in pairs(cosmetics) do
if
cosmeticData
and cosmeticData.Type == 'Skin'
and cosmeticData.ItemName == weaponName
and not RivalsCosmetics.IsPlaceholderCatalogName(cosmeticName)
then
skinNames[#skinNames + 1] = cosmeticName
end
end
table.sort(skinNames)
for _, skinName in ipairs(skinNames) do
values[#values + 1] = skinName
end
end
RivalsCosmetics.Catalog[cacheKey] = values
return values
end
function RivalsCosmetics.ResolveWrapValues()
local cachedWrapValues = RivalsCosmetics.Catalog.WrapValues
if cachedWrapValues then return cachedWrapValues end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local values = RivalsCosmetics.ResolveSentinelValues()
if type(cosmetics) == 'table' then
local wrapNames = {}
for cosmeticName, cosmeticData in pairs(cosmetics) do
if
cosmeticData
and cosmeticData.Type == 'Wrap'
and not RivalsCosmetics.IsPlaceholderCatalogName(cosmeticName)
then
wrapNames[#wrapNames + 1] = cosmeticName
end
end
table.sort(wrapNames)
for _, wrapName in ipairs(wrapNames) do
values[#values + 1] = wrapName
end
end
RivalsCosmetics.Catalog.WrapValues = values
return values
end
function RivalsCosmetics.ResolveCharmAssetsFolder()
local cached = RivalsCosmetics.Catalog.CharmAssetsFolder
if cached and cached.Parent then return cached end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local assets = playerScripts and playerScripts:FindFirstChild('Assets')
local charmsFolder = assets and assets:FindFirstChild('Charms')
if charmsFolder then RivalsCosmetics.Catalog.CharmAssetsFolder = charmsFolder end
return charmsFolder
end
function RivalsCosmetics.ResolveCharmValues()
local cachedCharmValues = RivalsCosmetics.Catalog.CharmValues
if cachedCharmValues then return cachedCharmValues end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local assetsFolder = RivalsCosmetics.ResolveCharmAssetsFolder()
local availableAssetNames = nil
if assetsFolder then
availableAssetNames = {}
for _, child in ipairs(assetsFolder:GetChildren()) do
availableAssetNames[child.Name] = true
end
end
local values = RivalsCosmetics.ResolveSentinelValues()
if type(cosmetics) == 'table' then
local charmNames = {}
for cosmeticName, cosmeticData in pairs(cosmetics) do
if
cosmeticData
and cosmeticData.Type == 'Charm'
and not RivalsCosmetics.IsPlaceholderCatalogName(cosmeticName)
then
if availableAssetNames == nil or availableAssetNames[cosmeticName] == true then
charmNames[#charmNames + 1] = cosmeticName
end
end
end
table.sort(charmNames)
for _, charmName in ipairs(charmNames) do
values[#values + 1] = charmName
end
end
RivalsCosmetics.Catalog.CharmValues = values
return values
end
function RivalsCosmetics.ResolveRankCharmCatalog()
local cached = RivalsCosmetics.Catalog.RankCharmCatalog
if cached then return cached end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local seasonLibraryModule = modules and modules:FindFirstChild('SeasonLibrary')
if not seasonLibraryModule then return nil end
local ok, seasonLibrary = pcall(require, seasonLibraryModule)
local currentSeason = ok and type(seasonLibrary) == 'table' and seasonLibrary.CurrentSeason or nil
local rankProfile = type(currentSeason) == 'table' and currentSeason.RankProfile or nil
local ranksOrder = type(rankProfile) == 'table' and rankProfile.RanksOrder or nil
local ranks = type(rankProfile) == 'table' and rankProfile.Ranks or nil
local seasonsByVersion = type(seasonLibrary) == 'table' and seasonLibrary.SeasonsByVersion or nil
if type(ranksOrder) ~= 'table' or type(ranks) ~= 'table' or type(seasonsByVersion) ~= 'table' then return nil end
local rankNames = {}
local ranksByName = {}
for _, rankName in ipairs(ranksOrder) do
local rankData = ranks[rankName]
if type(rankName) == 'string' and type(rankData) == 'table' then
rankNames[#rankNames + 1] = rankName
ranksByName[rankName] = {
Name = rankName,
RequiredELO = rankData.RequiredELO,
RequiresLeaderboard = rankData.RequiredELOLeaderboardRanking ~= nil,
}
end
end
local versions = {}
for version in pairs(seasonsByVersion) do
versions[#versions + 1] = version
end
table.sort(versions)
local seasonEntries = {}
local seasonLabels = {}
local seasonByLabel = {}
local seasonByCharmName = {}
for _, version in ipairs(versions) do
local seasonData = seasonsByVersion[version]
if type(seasonData) == 'table' then
local charmName = string.format('Season %s', tostring(version))
local label = string.format('Season %s (%s)', tostring(version), tostring(seasonData.Name))
local entry = {
Version = version,
CharmName = charmName,
Label = label,
}
seasonEntries[#seasonEntries + 1] = entry
seasonLabels[#seasonLabels + 1] = label
seasonByLabel[label] = charmName
seasonByCharmName[charmName] = entry
end
end
local catalog = {
RankNames = rankNames,
RanksByName = ranksByName,
SeasonEntries = seasonEntries,
SeasonLabels = seasonLabels,
SeasonByLabel = seasonByLabel,
SeasonByCharmName = seasonByCharmName,
}
RivalsCosmetics.Catalog.RankCharmCatalog = catalog
return catalog
end
function RivalsCosmetics.ResolveRankCharmSeasonValues()
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
return catalog and table.clone(catalog.SeasonLabels) or {}
end
function RivalsCosmetics.ResolveRankCharmRankValues()
local values = { RIVALS_RANK_CHARM_OFF }
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
for _, rankName in ipairs(catalog and catalog.RankNames or {}) do
values[#values + 1] = rankName
end
return values
end
function RivalsCosmetics.IsSeasonRankCharm(charmName)
return type(charmName) == 'string'
and #charmName >= 8
and charmName:sub(1, 7) == 'Season '
and tonumber(charmName:sub(8)) ~= nil
end
function RivalsCosmetics.ParseRankCharmLeaderboardRank(value)
local trimmed = tostring(value or ''):match('^%s*(.-)%s*$')
if not trimmed or trimmed == '' then return nil end
local rank = tonumber(trimmed)
if not rank or rank < 1 then return nil end
return math.floor(rank)
end
function RivalsCosmetics.BuildRankCharmMetadata(charmName)
if not RivalsCosmetics.IsSeasonRankCharm(charmName) then return nil end
local override = RivalsCosmeticsState.RankCharmOverridesBySeason[charmName]
local catalog = type(override) == 'table' and RivalsCosmetics.ResolveRankCharmCatalog() or nil
local rank = catalog and catalog.RanksByName[override.rankName] or nil
if not rank then return nil end
local leaderboardRank = override.leaderboardRank
if rank.Name == 'Unranked' then
return {
SeasonELO = nil,
SeasonLeaderboardRank = leaderboardRank,
}
end
if rank.RequiresLeaderboard and leaderboardRank == nil then leaderboardRank = 1 end
return {
SeasonELO = rank.RequiredELO,
SeasonLeaderboardRank = leaderboardRank,
}
end
function RivalsCosmetics.PatchRankCharmPayload(payload)
if type(payload) ~= 'table' then return nil end
local metadata = RivalsCosmetics.BuildRankCharmMetadata(payload.Name)
if not metadata then return nil end
local patched = table.clone(payload)
patched.Metadata = metadata
return patched
end
function RivalsCosmetics.NormalizeRankCharmOverrides(value)
local normalized = {}
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
if type(value) ~= 'table' or not catalog then return normalized end
local function addOverride(charmName, override)
if
not RivalsCosmetics.IsSeasonRankCharm(charmName)
or not catalog.SeasonByCharmName[charmName]
or type(override) ~= 'table'
then
return
end
local rankName = type(override.rankName) == 'string' and override.rankName or nil
if not rankName or not catalog.RanksByName[rankName] then return end
local leaderboardRank = RivalsCosmetics.ParseRankCharmLeaderboardRank(override.leaderboardRank)
normalized[charmName] = {
rankName = rankName,
leaderboardRank = leaderboardRank,
}
end
if value.rankName ~= nil or value.leaderboardRank ~= nil then
for _, season in ipairs(catalog.SeasonEntries) do
addOverride(season.CharmName, value)
end
return normalized
end
for charmName, override in pairs(value) do
addOverride(charmName, override)
end
return normalized
end
function RivalsCosmetics.ResolveSelectedRankCharmSeason()
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
if not catalog then return nil end
local charmName = RivalsCosmeticsState.SelectedRankCharmSeason
if catalog.SeasonByCharmName[charmName] then return charmName end
local firstSeason = catalog.SeasonEntries[1]
charmName = firstSeason and firstSeason.CharmName or nil
RivalsCosmeticsState.SelectedRankCharmSeason = charmName
return charmName
end
function RivalsCosmetics.SyncRankCharmEditorFromState()
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
local charmName = catalog and RivalsCosmetics.ResolveSelectedRankCharmSeason() or nil
if not charmName then return false end
local season = catalog.SeasonByCharmName[charmName]
local override = RivalsCosmeticsState.RankCharmOverridesBySeason[charmName]
local rankName = type(override) == 'table' and override.rankName or RIVALS_RANK_CHARM_OFF
local leaderboardRank = type(override) == 'table' and override.leaderboardRank or nil
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
RivalsCosmetics.SyncDropdownOption(
RivalsCosmetics.ResolveEditorOptionId('RankSeason'),
catalog.SeasonLabels,
season.Label
)
RivalsCosmetics.SyncDropdownOption(
RivalsCosmetics.ResolveEditorOptionId('RankName'),
RivalsCosmetics.ResolveRankCharmRankValues(),
rankName
)
local leaderboardOption = Options[RivalsCosmetics.ResolveEditorOptionId('RankLeaderboard')]
if leaderboardOption and type(leaderboardOption.SetValue) == 'function' then
pcall(function() leaderboardOption:SetValue(leaderboardRank ~= nil and tostring(leaderboardRank) or '') end)
end
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
return true
end
function RivalsCosmetics.SetSelectedRankCharmSeason(value)
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
local charmName = catalog and (catalog.SeasonByLabel[value] or (catalog.SeasonByCharmName[value] and value)) or nil
if not charmName then return false end
RivalsCosmeticsState.SelectedRankCharmSeason = charmName
RivalsCosmetics.SyncRankCharmEditorFromState()
return true
end
function RivalsCosmetics.SetRankCharmOverrideForSeason(charmName, rankName, leaderboardValue)
local catalog = RivalsCosmetics.ResolveRankCharmCatalog()
if not catalog or not RivalsCosmetics.IsSeasonRankCharm(charmName) then return false end
local previous = RivalsCosmeticsState.RankCharmOverridesBySeason[charmName]
if rankName == nil or rankName == RIVALS_RANK_CHARM_OFF or not catalog.RanksByName[rankName] then
if previous == nil then return false end
RivalsCosmeticsState.RankCharmOverridesBySeason[charmName] = nil
return true
end
local leaderboardRank = RivalsCosmetics.ParseRankCharmLeaderboardRank(leaderboardValue)
if type(previous) == 'table' and previous.rankName == rankName and previous.leaderboardRank == leaderboardRank then
return false
end
RivalsCosmeticsState.RankCharmOverridesBySeason[charmName] = {
rankName = rankName,
leaderboardRank = leaderboardRank,
}
return true
end
function RivalsCosmetics.RefreshRankCharmApplication()
RivalsCosmetics.RestoreInjectedWeaponData()
pcall(RivalsCosmetics.UpdatePreviewViewport)
return RivalsCosmetics.ApplyAll()
end
function RivalsCosmetics.UpdateSelectedRankCharmOverride(rankName, leaderboardValue)
local charmName = RivalsCosmetics.ResolveSelectedRankCharmSeason()
if not charmName then return false end
local changed = RivalsCosmetics.SetRankCharmOverrideForSeason(charmName, rankName, leaderboardValue)
RivalsCosmetics.SyncRankCharmEditorFromState()
if changed then
RivalsCosmetics.RefreshRankCharmApplication()
if type(RivalsCosmetics.QueueCosmeticPresetAutoSave) == 'function' then
RivalsCosmetics.QueueCosmeticPresetAutoSave()
end
end
return changed
end
function RivalsCosmetics.ResolveSkinOptionId(weaponName)
local cachedOptionId = RivalsCosmetics.SkinOptionIdsByWeapon[weaponName]
if cachedOptionId then return cachedOptionId end
local sanitizedWeaponName = tostring(weaponName or ''):gsub('[^%w]+', '')
local optionId = string.format('P5SKIN_%s', sanitizedWeaponName)
RivalsCosmetics.SkinOptionIdsByWeapon[weaponName] = optionId
return optionId
end
function RivalsCosmetics.ResolveWrapOptionId(weaponName)
local cachedOptionId = RivalsCosmetics.WrapOptionIdsByWeapon[weaponName]
if cachedOptionId then return cachedOptionId end
local sanitizedWeaponName = tostring(weaponName or ''):gsub('[^%w]+', '')
local optionId = string.format('P5WRAP_%s', sanitizedWeaponName)
RivalsCosmetics.WrapOptionIdsByWeapon[weaponName] = optionId
return optionId
end
function RivalsCosmetics.ResolveCharmOptionId(weaponName)
local cachedOptionId = RivalsCosmetics.CharmOptionIdsByWeapon[weaponName]
if cachedOptionId then return cachedOptionId end
local sanitizedWeaponName = tostring(weaponName or ''):gsub('[^%w]+', '')
local optionId = string.format('P5CHARM_%s', sanitizedWeaponName)
RivalsCosmetics.CharmOptionIdsByWeapon[weaponName] = optionId
return optionId
end
function RivalsCosmetics.ResolveWrapInvertedOptionId(weaponName)
local cachedOptionId = RivalsCosmetics.WrapInvertedOptionIdsByWeapon[weaponName]
if cachedOptionId then return cachedOptionId end
local sanitizedWeaponName = tostring(weaponName or ''):gsub('[^%w]+', '')
local optionId = string.format('P5WRAPINV_%s', sanitizedWeaponName)
RivalsCosmetics.WrapInvertedOptionIdsByWeapon[weaponName] = optionId
return optionId
end
function RivalsCosmetics.ResolveSelectionTable(kind)
if kind == 'Skin' then
return RivalsCosmeticsState.SelectedSkinByWeapon
elseif kind == 'Wrap' then
return RivalsCosmeticsState.SelectedWrapByWeapon
elseif kind == 'Charm' then
return RivalsCosmeticsState.SelectedCharmByWeapon
elseif kind == 'Finisher' then
return RivalsCosmeticsState.SelectedFinisherByWeapon
elseif kind == 'WrapInverted' then
return RivalsCosmeticsState.SelectedWrapInvertedByWeapon
end
return nil
end
function RivalsCosmetics.IsFavoriteKind(kind)
for _, availableKind in ipairs(RivalsCosmetics.FavoriteKinds) do
if kind == availableKind then return true end
end
return false
end
function RivalsCosmetics.NormalizeFavoritesState(value)
local normalized = { favorites = {}, onlyUse = {} }
if type(value) ~= 'table' then return normalized end
local favorites = type(value.favorites) == 'table' and value.favorites
or type(value.favoritedCosmetics) == 'table' and value.favoritedCosmetics
or {}
for weaponName, entries in pairs(favorites) do
if type(weaponName) == 'string' and weaponName ~= '' and type(entries) == 'table' then
local cleanEntries = {}
for cosmeticName, enabled in pairs(entries) do
if type(cosmeticName) == 'string' and cosmeticName ~= '' and enabled == true then
cleanEntries[cosmeticName] = true
end
end
if next(cleanEntries) ~= nil then normalized.favorites[weaponName] = cleanEntries end
end
end
local onlyUse = type(value.onlyUse) == 'table' and value.onlyUse
or type(value.onlyUseFavoritesSelections) == 'table' and value.onlyUseFavoritesSelections
or {}
for weaponName, entries in pairs(onlyUse) do
if type(weaponName) == 'string' and weaponName ~= '' and type(entries) == 'table' then
local cleanEntries = {}
for kind, enabled in pairs(entries) do
if RivalsCosmetics.IsFavoriteKind(kind) and enabled == true then cleanEntries[kind] = true end
end
if next(cleanEntries) ~= nil then normalized.onlyUse[weaponName] = cleanEntries end
end
end
return normalized
end
function RivalsCosmetics.ResolveFavoritesState()
return RivalsCosmetics.NormalizeFavoritesState({
favorites = RivalsCosmeticsState.FavoritedCosmeticsByWeapon,
onlyUse = RivalsCosmeticsState.OnlyUseFavoritesByWeapon,
})
end
function RivalsCosmetics.IsFavorited(weaponName, cosmeticName)
local entries = RivalsCosmeticsState.FavoritedCosmeticsByWeapon[weaponName]
return type(entries) == 'table' and entries[cosmeticName] == true
end
function RivalsCosmetics.SetFavorited(weaponName, cosmeticName, enabled)
if
not RivalsCosmetics.IsKnownWeaponName(weaponName) or not RivalsCosmetics.IsCosmeticValueSelected(cosmeticName)
then
return false
end
local entries = RivalsCosmeticsState.FavoritedCosmeticsByWeapon[weaponName]
if type(entries) ~= 'table' then
entries = {}
RivalsCosmeticsState.FavoritedCosmeticsByWeapon[weaponName] = entries
end
if enabled then
entries[cosmeticName] = true
else
entries[cosmeticName] = nil
if next(entries) == nil then RivalsCosmeticsState.FavoritedCosmeticsByWeapon[weaponName] = nil end
end
return true
end
function RivalsCosmetics.UsesOnlyFavorites(weaponName, kind)
local entries = RivalsCosmeticsState.OnlyUseFavoritesByWeapon[weaponName]
return type(entries) == 'table' and entries[kind] == true
end
function RivalsCosmetics.SetOnlyUseFavorites(weaponName, kind, enabled)
if not RivalsCosmetics.IsKnownWeaponName(weaponName) or not RivalsCosmetics.IsFavoriteKind(kind) then
return false
end
local entries = RivalsCosmeticsState.OnlyUseFavoritesByWeapon[weaponName]
if type(entries) ~= 'table' then
entries = {}
RivalsCosmeticsState.OnlyUseFavoritesByWeapon[weaponName] = entries
end
if enabled then
entries[kind] = true
else
entries[kind] = nil
if next(entries) == nil then RivalsCosmeticsState.OnlyUseFavoritesByWeapon[weaponName] = nil end
end
local randomByKind = RivalsCosmeticsState.StableRandomSelectionByWeapon[weaponName]
if randomByKind then randomByKind[kind] = nil end
return true
end
function RivalsCosmetics.SetStoredSelection(weaponName, kind, value)
if type(weaponName) ~= 'string' or weaponName == '' then return false end
local selectionTable = RivalsCosmetics.ResolveSelectionTable(kind)
if not selectionTable then return false end
if kind ~= 'WrapInverted' then value = RivalsCosmetics.NormalizeSelectionValue(value) end
if value == nil or value == '' then
selectionTable[weaponName] = nil
else
selectionTable[weaponName] = value
end
if
RivalsCosmeticsState.RefreshingDropdownValues == 0
and not RivalsCosmeticsState.ApplyingCosmeticPreset
and type(RivalsCosmetics.QueueCosmeticConfigAutoSave) == 'function'
then
RivalsCosmetics.QueueCosmeticConfigAutoSave()
end
return true
end
function RivalsCosmetics.ResolveStoredSelectionValue(weaponName, kind)
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local selectionTable = RivalsCosmetics.ResolveSelectionTable(kind)
local storedValue = selectionTable and selectionTable[weaponName]
if storedValue ~= nil then return storedValue end
if kind == 'Skin' then
local option = Options[RivalsCosmetics.ResolveSkinOptionId(weaponName)]
return option and RivalsCosmetics.NormalizeSelectionValue(option.Value) or nil
elseif kind == 'Wrap' then
local option = Options[RivalsCosmetics.ResolveWrapOptionId(weaponName)]
return option and RivalsCosmetics.NormalizeSelectionValue(option.Value) or nil
elseif kind == 'Charm' then
local option = Options[RivalsCosmetics.ResolveCharmOptionId(weaponName)]
return option and RivalsCosmetics.NormalizeSelectionValue(option.Value) or nil
elseif kind == 'Finisher' then
local option = Options[RivalsCosmetics.ResolveFinisherOptionId(weaponName)]
return option and RivalsCosmetics.NormalizeSelectionValue(option.Value) or nil
elseif kind == 'WrapInverted' then
local toggle = Toggles[RivalsCosmetics.ResolveWrapInvertedOptionId(weaponName)]
if toggle and toggle.Value ~= nil then return toggle.Value == true end
end
return nil
end
function RivalsCosmetics.ResolveValidDropdownValue(value, values)
if type(values) == 'table' then
for _, availableValue in ipairs(values) do
if availableValue == value then return value end
end
return values[1]
end
return nil
end
function RivalsCosmetics.ResolveBaseSelectionValues(weaponName, kind)
if kind == 'Skin' then
return RivalsCosmetics.ResolveWeaponSkinValues(weaponName)
elseif kind == 'Wrap' then
return RivalsCosmetics.ResolveWrapValues()
elseif kind == 'Charm' then
return RivalsCosmetics.ResolveCharmValues()
elseif kind == 'Finisher' then
return RivalsCosmetics.ResolveFinisherValues()
end
return nil
end
function RivalsCosmetics.ResolveSelectionValues(weaponName, kind)
local values = RivalsCosmetics.ResolveBaseSelectionValues(weaponName, kind)
if not RivalsCosmetics.UsesOnlyFavorites(weaponName, kind) then return values end
local filtered = {}
for _, value in ipairs(values or {}) do
if not RivalsCosmetics.IsCosmeticValueSelected(value) or RivalsCosmetics.IsFavorited(weaponName, value) then
filtered[#filtered + 1] = value
end
end
return filtered
end
function RivalsCosmetics.ResolveEffectiveSelectionValue(weaponName, kind, value)
value = RivalsCosmetics.NormalizeSelectionValue(value)
if
RivalsCosmetics.IsCosmeticValueSelected(value)
and RivalsCosmetics.UsesOnlyFavorites(weaponName, kind)
and not RivalsCosmetics.IsFavorited(weaponName, value)
then
return RIVALS_COSMETIC_UNSELECTED
end
if value ~= RIVALS_COSMETIC_RANDOM then return value end
local randomByKind = RivalsCosmeticsState.StableRandomSelectionByWeapon[weaponName]
if not randomByKind then
randomByKind = {}
RivalsCosmeticsState.StableRandomSelectionByWeapon[weaponName] = randomByKind
end
local values = RivalsCosmetics.ResolveSelectionValues(weaponName, kind)
local cachedValue = randomByKind[kind]
if
RivalsCosmetics.ResolveValidDropdownValue(cachedValue, values) == cachedValue
and RivalsCosmetics.IsCosmeticValueSelected(cachedValue)
then
return cachedValue
end
local candidates = {}
for _, candidate in ipairs(values or {}) do
if RivalsCosmetics.IsCosmeticValueSelected(candidate) then candidates[#candidates + 1] = candidate end
end
if #candidates == 0 then
randomByKind[kind] = nil
return RIVALS_COSMETIC_UNSELECTED
end
cachedValue = candidates[math.random(1, #candidates)]
randomByKind[kind] = cachedValue
return cachedValue
end
function RivalsCosmetics.ResolveWrapInvertedValue(weaponName)
if not RivalsCosmetics.IsEnabled() then return false end
if type(weaponName) ~= 'string' or weaponName == '' then return false end
local value = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'WrapInverted')
return value == true
end
function RivalsCosmetics.ResolveDefaultPreviewWeaponName()
local weaponNames = RivalsCosmetics.ResolveWeaponNames()
for _, weaponName in ipairs(weaponNames) do
local value = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Skin')
if RivalsCosmetics.IsCosmeticValueSelected(value) then return weaponName end
end
for _, weaponName in ipairs(weaponNames) do
local wrapValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Wrap')
local charmValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Charm')
local finisherValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Finisher')
local invertedValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'WrapInverted')
if
RivalsCosmetics.IsCosmeticValueSelected(wrapValue)
or RivalsCosmetics.IsCosmeticValueSelected(charmValue)
or RivalsCosmetics.IsCosmeticValueSelected(finisherValue)
or invertedValue == true
then
return weaponName
end
end
return weaponNames[1]
end
function RivalsCosmetics.SetPreviewWeaponName(weaponName)
if type(weaponName) ~= 'string' or weaponName == '' then return false end
for _, availableWeaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
if availableWeaponName == weaponName then
RivalsCosmeticsState.PreviewWeaponName = weaponName
return true
end
end
return false
end
function RivalsCosmetics.ResolvePreviewWeaponName()
local previewWeaponName = RivalsCosmeticsState.PreviewWeaponName
if RivalsCosmetics.SetPreviewWeaponName(previewWeaponName) then return previewWeaponName end
previewWeaponName = RivalsCosmetics.ResolveDefaultPreviewWeaponName()
RivalsCosmeticsState.PreviewWeaponName = previewWeaponName
return previewWeaponName
end
function RivalsCosmetics.ResolveSkinSelectionValue(weaponName)
if not RivalsCosmetics.IsSkinEnabled() then return nil end
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local pendingSkinName = RivalsCosmeticsState.PendingSkinSelectionByWeapon[weaponName]
local value = pendingSkinName
if value == nil then value = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Skin') end
return RivalsCosmetics.ResolveEffectiveSelectionValue(weaponName, 'Skin', value)
end
function RivalsCosmetics.ResolveSelectedSkinName(weaponName)
local value = RivalsCosmetics.ResolveSkinSelectionValue(weaponName)
if RivalsCosmetics.IsCosmeticValueSelected(value) then return value end
return nil
end
function RivalsCosmetics.ResolveWrapSelectionValue(weaponName)
if not RivalsCosmetics.IsWrapEnabled() then return nil end
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local pendingWrapName = RivalsCosmeticsState.PendingWrapSelectionByWeapon[weaponName]
local value = pendingWrapName
if value == nil then value = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Wrap') end
return RivalsCosmetics.ResolveEffectiveSelectionValue(weaponName, 'Wrap', value)
end
function RivalsCosmetics.ResolveSelectedWrapName(weaponName)
local value = RivalsCosmetics.ResolveWrapSelectionValue(weaponName)
if RivalsCosmetics.IsCosmeticValueSelected(value) then return value end
return nil
end
function RivalsCosmetics.ResolveCharmSelectionValue(weaponName)
if not RivalsCosmetics.IsEnabled() then return nil end
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local pendingCharmName = RivalsCosmeticsState.PendingCharmSelectionByWeapon[weaponName]
local value = pendingCharmName
if value == nil then value = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Charm') end
return RivalsCosmetics.ResolveEffectiveSelectionValue(weaponName, 'Charm', value)
end
function RivalsCosmetics.ResolveSelectedCharmName(weaponName)
local value = RivalsCosmetics.ResolveCharmSelectionValue(weaponName)
if RivalsCosmetics.IsCosmeticValueSelected(value) then return value end
return nil
end
function RivalsCosmetics.ResolveFinisherAssetsFolder()
local cached = RivalsCosmetics.Catalog.FinisherAssetsFolder
if cached and cached.Parent then return cached end
local replicatedStorage = game:GetService('ReplicatedStorage')
local modules = replicatedStorage:FindFirstChild('Modules')
local finishersFolder = modules and modules:FindFirstChild('Finishers')
if finishersFolder then RivalsCosmetics.Catalog.FinisherAssetsFolder = finishersFolder end
return finishersFolder
end
function RivalsCosmetics.ResolveFinisherValues()
local cachedFinisherValues = RivalsCosmetics.Catalog.FinisherValues
if cachedFinisherValues then return cachedFinisherValues end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local assetsFolder = RivalsCosmetics.ResolveFinisherAssetsFolder()
local availableAssetNames = nil
if assetsFolder then
availableAssetNames = {}
for _, child in ipairs(assetsFolder:GetChildren()) do
availableAssetNames[child.Name] = true
end
end
local values = RivalsCosmetics.ResolveSentinelValues()
if type(cosmetics) == 'table' then
local finisherNames = {}
for cosmeticName, cosmeticData in pairs(cosmetics) do
if
cosmeticData
and cosmeticData.Type == 'Finisher'
and not RivalsCosmetics.IsPlaceholderCatalogName(cosmeticName)
then
if availableAssetNames == nil or availableAssetNames[cosmeticName] == true then
finisherNames[#finisherNames + 1] = cosmeticName
end
end
end
table.sort(finisherNames)
for _, finisherName in ipairs(finisherNames) do
values[#values + 1] = finisherName
end
end
RivalsCosmetics.Catalog.FinisherValues = values
return values
end
function RivalsCosmetics.ResolveFinisherOptionId(weaponName)
local cachedOptionId = RivalsCosmetics.FinisherOptionIdsByWeapon[weaponName]
if cachedOptionId then return cachedOptionId end
local sanitizedWeaponName = tostring(weaponName or ''):gsub('[^%w]+', '')
local optionId = string.format('P5FINISHER_%s', sanitizedWeaponName)
RivalsCosmetics.FinisherOptionIdsByWeapon[weaponName] = optionId
return optionId
end
function RivalsCosmetics.ResolveCosmeticOptionInfo(optionId)
if type(optionId) ~= 'string' then return nil end
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
if optionId == RivalsCosmetics.ResolveSkinOptionId(weaponName) then
return { weaponName = weaponName, kind = 'Skin', type = 'Dropdown' }
elseif optionId == RivalsCosmetics.ResolveWrapOptionId(weaponName) then
return { weaponName = weaponName, kind = 'Wrap', type = 'Dropdown' }
elseif optionId == RivalsCosmetics.ResolveCharmOptionId(weaponName) then
return { weaponName = weaponName, kind = 'Charm', type = 'Dropdown' }
elseif optionId == RivalsCosmetics.ResolveFinisherOptionId(weaponName) then
return { weaponName = weaponName, kind = 'Finisher', type = 'Dropdown' }
elseif optionId == RivalsCosmetics.ResolveWrapInvertedOptionId(weaponName) then
return { weaponName = weaponName, kind = 'WrapInverted', type = 'Toggle' }
end
end
return nil
end
function RivalsCosmetics.ResolveFinisherSelectionValue(weaponName)
if not RivalsCosmetics.IsEnabled() then return nil end
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local pendingFinisherName = RivalsCosmeticsState.PendingFinisherSelectionByWeapon[weaponName]
local value = pendingFinisherName
if value == nil then value = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Finisher') end
return RivalsCosmetics.ResolveEffectiveSelectionValue(weaponName, 'Finisher', value)
end
function RivalsCosmetics.ResolveSelectedFinisherName(weaponName)
local value = RivalsCosmetics.ResolveFinisherSelectionValue(weaponName)
if RivalsCosmetics.IsCosmeticValueSelected(value) then return value end
return nil
end
function RivalsCosmetics.ResolveSelectedPlaybackFinisherName()
if not RivalsCosmetics.IsEnabled() then return nil end
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem or nil
local weaponName = item and item.Name or nil
if type(weaponName) ~= 'string' or weaponName == '' then return nil end
local selectedFinisherName = RivalsCosmetics.ResolveSelectedFinisherName(weaponName)
if type(selectedFinisherName) == 'string' and selectedFinisherName ~= '' then return selectedFinisherName end
return nil
end
function RivalsCosmetics.IsKnownWeaponName(weaponName)
if type(weaponName) ~= 'string' or weaponName == '' then return false end
for _, availableWeaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
if availableWeaponName == weaponName then return true end
end
return false
end
function RivalsCosmetics.IsKnownEditorWeaponName(weaponName)
return weaponName == RIVALS_COSMETIC_ALL_WEAPONS or RivalsCosmetics.IsKnownWeaponName(weaponName)
end
function RivalsCosmetics.ResolveSelectedEditorWeaponName()
local selectedWeaponName = RivalsCosmeticsState.SelectedEditorWeaponName
if RivalsCosmetics.IsKnownEditorWeaponName(selectedWeaponName) then return selectedWeaponName end
local option = Options[RivalsCosmetics.ResolveEditorOptionId('Weapon')]
selectedWeaponName = option and option.Value or nil
if RivalsCosmetics.IsKnownEditorWeaponName(selectedWeaponName) then
RivalsCosmeticsState.SelectedEditorWeaponName = selectedWeaponName
if selectedWeaponName ~= RIVALS_COSMETIC_ALL_WEAPONS then
RivalsCosmetics.SetPreviewWeaponName(selectedWeaponName)
end
return selectedWeaponName
end
RivalsCosmeticsState.SelectedEditorWeaponName = RIVALS_COSMETIC_ALL_WEAPONS
return RIVALS_COSMETIC_ALL_WEAPONS
end
function RivalsCosmetics.SyncDropdownOption(optionId, values, value)
local option = Options[optionId]
if not option then return false end
if type(option.SetValues) == 'function' and type(values) == 'table' then
pcall(function() option:SetValues(values) end)
end
if type(option.SetValue) == 'function' then pcall(function() option:SetValue(value) end) end
return true
end
function RivalsCosmetics.ResolveEditorSelectionValue(weaponName, kind, values)
if weaponName ~= RIVALS_COSMETIC_ALL_WEAPONS then
local storedValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, kind)
return RivalsCosmetics.ResolveValidDropdownValue(storedValue, values) or RIVALS_COSMETIC_UNSELECTED
end
local commonValue = nil
for _, availableWeaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
local storedValue = RivalsCosmetics.ResolveStoredSelectionValue(availableWeaponName, kind)
storedValue = RivalsCosmetics.ResolveValidDropdownValue(storedValue, values) or RIVALS_COSMETIC_UNSELECTED
if commonValue == nil then
commonValue = storedValue
elseif commonValue ~= storedValue then
return RIVALS_COSMETIC_UNSELECTED
end
end
return commonValue or RIVALS_COSMETIC_UNSELECTED
end
function RivalsCosmetics.ResolveEditorWrapInvertedValue(weaponName)
if weaponName ~= RIVALS_COSMETIC_ALL_WEAPONS then
return RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'WrapInverted') == true
end
local sawWeapon = false
for _, availableWeaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
sawWeapon = true
if RivalsCosmetics.ResolveStoredSelectionValue(availableWeaponName, 'WrapInverted') ~= true then
return false
end
end
return sawWeapon
end
function RivalsCosmetics.SyncActiveWeaponEditorFromState()
local weaponName = RivalsCosmetics.ResolveSelectedEditorWeaponName()
if not weaponName then return false end
local weaponValues = RivalsCosmetics.ResolveEditorWeaponNames()
local skinValues = weaponName == RIVALS_COSMETIC_ALL_WEAPONS and RivalsCosmetics.ResolveSentinelValues()
or RivalsCosmetics.ResolveSelectionValues(weaponName, 'Skin')
local wrapValues = weaponName == RIVALS_COSMETIC_ALL_WEAPONS and RivalsCosmetics.ResolveWrapValues()
or RivalsCosmetics.ResolveSelectionValues(weaponName, 'Wrap')
local charmValues = weaponName == RIVALS_COSMETIC_ALL_WEAPONS and RivalsCosmetics.ResolveCharmValues()
or RivalsCosmetics.ResolveSelectionValues(weaponName, 'Charm')
local finisherValues = weaponName == RIVALS_COSMETIC_ALL_WEAPONS and RivalsCosmetics.ResolveFinisherValues()
or RivalsCosmetics.ResolveSelectionValues(weaponName, 'Finisher')
local skinValue = RivalsCosmetics.ResolveEditorSelectionValue(weaponName, 'Skin', skinValues)
local wrapValue = RivalsCosmetics.ResolveEditorSelectionValue(weaponName, 'Wrap', wrapValues)
local charmValue = RivalsCosmetics.ResolveEditorSelectionValue(weaponName, 'Charm', charmValues)
local finisherValue = RivalsCosmetics.ResolveEditorSelectionValue(weaponName, 'Finisher', finisherValues)
local invertedValue = RivalsCosmetics.ResolveEditorWrapInvertedValue(weaponName)
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
RivalsCosmetics.SyncDropdownOption(RivalsCosmetics.ResolveEditorOptionId('Weapon'), weaponValues, weaponName)
RivalsCosmetics.SyncDropdownOption(RivalsCosmetics.ResolveEditorOptionId('Skin'), skinValues, skinValue)
RivalsCosmetics.SyncDropdownOption(RivalsCosmetics.ResolveEditorOptionId('Wrap'), wrapValues, wrapValue)
RivalsCosmetics.SyncDropdownOption(RivalsCosmetics.ResolveEditorOptionId('Charm'), charmValues, charmValue)
RivalsCosmetics.SyncDropdownOption(RivalsCosmetics.ResolveEditorOptionId('Finisher'), finisherValues, finisherValue)
local invertedToggle = Toggles[RivalsCosmetics.ResolveEditorOptionId('WrapInverted')]
if invertedToggle and type(invertedToggle.SetValue) == 'function' then
pcall(function() invertedToggle:SetValue(invertedValue) end)
end
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
return true
end
function RivalsCosmetics.ResolveSelectedFavoriteKind()
local option = Options.P5FAVORITE_TYPE
local kind = option and option.Value or RivalsCosmetics.FavoriteKinds[1]
return RivalsCosmetics.IsFavoriteKind(kind) and kind or RivalsCosmetics.FavoriteKinds[1]
end
function RivalsCosmetics.SyncFavoriteEditorFromState()
local weaponName = RivalsCosmetics.ResolveSelectedEditorWeaponName()
local kind = RivalsCosmetics.ResolveSelectedFavoriteKind()
local onlyUse = weaponName ~= RIVALS_COSMETIC_ALL_WEAPONS and RivalsCosmetics.UsesOnlyFavorites(weaponName, kind)
or false
local toggle = Toggles.P5FAVORITE_ONLY
if toggle and type(toggle.SetValue) == 'function' then
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
pcall(function() toggle:SetValue(onlyUse) end)
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
end
return weaponName ~= RIVALS_COSMETIC_ALL_WEAPONS
end
function RivalsCosmetics.SetSelectedFavoriteKind(kind)
if not RivalsCosmetics.IsFavoriteKind(kind) then return false end
RivalsCosmetics.SyncFavoriteEditorFromState()
return true
end
function RivalsCosmetics.RefreshFavoriteApplication()
RivalsCosmetics.SyncActiveWeaponEditorFromState()
RivalsCosmetics.SyncFavoriteEditorFromState()
RivalsCosmetics.RestoreAppliedCosmetics()
pcall(RivalsCosmetics.UpdatePreviewViewport)
RivalsCosmetics.ApplyAll()
if type(RivalsCosmetics.QueueCosmeticPresetAutoSave) == 'function' then
RivalsCosmetics.QueueCosmeticPresetAutoSave()
end
return true
end
function RivalsCosmetics.ToggleSelectedFavorite()
local weaponName = RivalsCosmetics.ResolveSelectedEditorWeaponName()
local kind = RivalsCosmetics.ResolveSelectedFavoriteKind()
if weaponName == RIVALS_COSMETIC_ALL_WEAPONS then return false end
local cosmeticName = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, kind)
if not RivalsCosmetics.IsCosmeticValueSelected(cosmeticName) then return false end
if
not RivalsCosmetics.SetFavorited(
weaponName,
cosmeticName,
not RivalsCosmetics.IsFavorited(weaponName, cosmeticName)
)
then
return false
end
local randomByKind = RivalsCosmeticsState.StableRandomSelectionByWeapon[weaponName]
if randomByKind then randomByKind[kind] = nil end
return RivalsCosmetics.RefreshFavoriteApplication()
end
function RivalsCosmetics.SetSelectedOnlyUseFavorites(enabled)
local weaponName = RivalsCosmetics.ResolveSelectedEditorWeaponName()
local kind = RivalsCosmetics.ResolveSelectedFavoriteKind()
if
weaponName == RIVALS_COSMETIC_ALL_WEAPONS
or not RivalsCosmetics.SetOnlyUseFavorites(weaponName, kind, enabled == true)
then
return false
end
return RivalsCosmetics.RefreshFavoriteApplication()
end
function RivalsCosmetics.SetSelectedEditorWeapon(weaponName)
if not RivalsCosmetics.IsKnownEditorWeaponName(weaponName) then return false end
RivalsCosmeticsState.SelectedEditorWeaponName = weaponName
if weaponName ~= RIVALS_COSMETIC_ALL_WEAPONS then RivalsCosmetics.SetPreviewWeaponName(weaponName) end
RivalsCosmetics.SyncActiveWeaponEditorFromState()
RivalsCosmetics.SyncFavoriteEditorFromState()
pcall(RivalsCosmetics.UpdatePreviewViewport)
return true
end
function RivalsCosmetics.IsValidEditorSelection(weaponName, kind, value)
if kind == 'WrapInverted' then return type(value) == 'boolean' end
value = RivalsCosmetics.NormalizeSelectionValue(value)
local values = nil
if weaponName == RIVALS_COSMETIC_ALL_WEAPONS and kind == 'Skin' then
values = RivalsCosmetics.ResolveSentinelValues()
else
values = RivalsCosmetics.ResolveSelectionValues(weaponName, kind)
end
return RivalsCosmetics.ResolveValidDropdownValue(value, values) == value
end
function RivalsCosmetics.SetSelectionForSelectedEditorWeapon(kind, value)
local previewWeaponName = RivalsCosmetics.ResolveSelectedEditorWeaponName()
if not previewWeaponName or not RivalsCosmetics.IsValidEditorSelection(previewWeaponName, kind, value) then
return false
end
value = kind == 'WrapInverted' and value == true or RivalsCosmetics.NormalizeSelectionValue(value)
if previewWeaponName == RIVALS_COSMETIC_ALL_WEAPONS then
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
RivalsCosmetics.SetStoredSelection(weaponName, kind, value)
end
elseif not RivalsCosmetics.SetStoredSelection(previewWeaponName, kind, value) then
return false
end
RivalsCosmetics.RestoreAppliedCosmetics()
pcall(RivalsCosmetics.UpdatePreviewViewport)
RivalsCosmetics.ApplyAll()
if type(RivalsCosmetics.QueueCosmeticPresetAutoSave) == 'function' then
RivalsCosmetics.QueueCosmeticPresetAutoSave()
end
if type(RivalsCosmetics.QueueCosmeticConfigAutoSave) == 'function' then
RivalsCosmetics.QueueCosmeticConfigAutoSave()
end
return true
end
function RivalsCosmetics.RerollRandomSelections()
RivalsCosmeticsState.StableRandomSelectionByWeapon = {}
RivalsCosmetics.RestoreAppliedCosmetics()
pcall(RivalsCosmetics.UpdatePreviewViewport)
RivalsCosmetics.ApplyAll()
return true
end
function RivalsCosmetics.BuildZkhHubItemSelection(weaponName)
local selection = {}
local hasSelection = false
local skin = RivalsCosmetics.ResolveSkinSelectionValue(weaponName)
local wrap = RivalsCosmetics.ResolveWrapSelectionValue(weaponName)
local charm = RivalsCosmetics.ResolveCharmSelectionValue(weaponName)
local finisher = RivalsCosmetics.ResolveFinisherSelectionValue(weaponName)
if skin ~= nil and skin ~= RIVALS_COSMETIC_UNSELECTED then
selection.skin = skin
hasSelection = true
end
if wrap ~= nil and wrap ~= RIVALS_COSMETIC_UNSELECTED then
selection.wrap = {
name = wrap,
inverted = RivalsCosmetics.ResolveWrapInvertedValue(weaponName) == true,
}
hasSelection = true
end
if charm ~= nil and charm ~= RIVALS_COSMETIC_UNSELECTED then
selection.charm = charm
hasSelection = true
end
if finisher ~= nil and finisher ~= RIVALS_COSMETIC_UNSELECTED then
selection.finisher = finisher
hasSelection = true
end
return hasSelection and selection or nil
end
function RivalsCosmetics.BuildZkhHubCosmeticPayload(cosmeticName, inverted)
if cosmeticName == nil or cosmeticName == RIVALS_COSMETIC_NONE then return nil end
local payload = { Name = cosmeticName }
if inverted ~= nil then payload.Inverted = inverted == true and true or nil end
return payload
end
function RivalsCosmetics.OverrideWeaponData(weaponName, weaponData)
if type(weaponData) ~= 'table' then return weaponData end
local selection = RivalsCosmetics.BuildZkhHubItemSelection(weaponName)
local patchedNaturalCharm = RivalsCosmetics.PatchRankCharmPayload(weaponData.Charm)
local hasOnlyUseFavoritesOverride = false
for _, cosmeticType in ipairs(RivalsCosmetics.FavoriteKinds) do
if RivalsCosmetics.UsesOnlyFavorites(weaponName, cosmeticType) then
hasOnlyUseFavoritesOverride = true
break
end
end
if selection == nil and patchedNaturalCharm == nil and not hasOnlyUseFavoritesOverride then return weaponData end
local overriddenWeaponData = table.clone(weaponData)
if selection ~= nil then
if selection.skin ~= nil then
overriddenWeaponData.Skin = RivalsCosmetics.BuildZkhHubCosmeticPayload(selection.skin)
end
if selection.wrap ~= nil then
overriddenWeaponData.Wrap =
RivalsCosmetics.BuildZkhHubCosmeticPayload(selection.wrap.name, selection.wrap.inverted)
end
if selection.charm ~= nil then
overriddenWeaponData.Charm = RivalsCosmetics.BuildZkhHubCosmeticPayload(selection.charm)
end
if selection.finisher ~= nil then
overriddenWeaponData.Finisher = RivalsCosmetics.BuildZkhHubCosmeticPayload(selection.finisher)
end
end
overriddenWeaponData.Charm = RivalsCosmetics.PatchRankCharmPayload(overriddenWeaponData.Charm)
or overriddenWeaponData.Charm
for _, cosmeticType in ipairs(RivalsCosmetics.FavoriteKinds) do
local cosmeticData = overriddenWeaponData[cosmeticType]
if
RivalsCosmetics.UsesOnlyFavorites(weaponName, cosmeticType)
and type(cosmeticData) == 'table'
and type(cosmeticData.Name) == 'string'
then
cosmeticData = table.clone(cosmeticData)
cosmeticData.OnlyUseFavorites = true
overriddenWeaponData[cosmeticType] = cosmeticData
end
end
overriddenWeaponData.Level = rawget(weaponData, 'Level')
overriddenWeaponData.Prestige = rawget(weaponData, 'Prestige')
overriddenWeaponData.XP = rawget(weaponData, 'XP')
return overriddenWeaponData
end
function RivalsCosmetics.ResolveItemLibrary()
local cached = RivalsCosmetics.Catalog.ItemLibrary
if cached then return cached end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local itemLibraryModule = modules and modules:FindFirstChild('ItemLibrary')
if not itemLibraryModule then return nil end
local ok, itemLibrary = pcall(require, itemLibraryModule)
if not ok or type(itemLibrary) ~= 'table' then return nil end
RivalsCosmetics.Catalog.ItemLibrary = itemLibrary
return itemLibrary
end
function RivalsCosmetics.ResolveEquipmentModule()
local cached = RivalsCosmetics.Catalog.EquipmentModule
if cached then return cached end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local modules = playerScripts and playerScripts:FindFirstChild('Modules')
local userInterface = modules and modules:FindFirstChild('UserInterface')
local equipmentModule = userInterface and userInterface:FindFirstChild('Equipment')
if not equipmentModule then return nil end
local ok, equipment = pcall(require, equipmentModule)
if not ok or type(equipment) ~= 'table' then return nil end
RivalsCosmetics.Catalog.EquipmentModule = equipment
return equipment
end
function RivalsCosmetics.BuildNativeUnlockedInventory()
local cached = RivalsCosmeticsState.NativeUnlockedInventory
if type(cached) == 'table' then return cached end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local itemLibrary = RivalsCosmetics.ResolveItemLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local items = itemLibrary and itemLibrary.Items or nil
if type(cosmetics) ~= 'table' or type(items) ~= 'table' then return nil end
local allItemNames = {}
for itemName in pairs(items) do
if type(itemName) == 'string' and itemName ~= '' then allItemNames[itemName] = true end
end
local inventory = {}
for cosmeticName, cosmeticData in pairs(cosmetics) do
local cosmeticType = type(cosmeticData) == 'table' and cosmeticData.Type or nil
if type(cosmeticName) == 'string' then
if cosmeticType == 'Skin' or cosmeticType == 'Emote' then
inventory[cosmeticName] = true
elseif cosmeticType == 'Wrap' or cosmeticType == 'Charm' or cosmeticType == 'Finisher' then
inventory[cosmeticName] = allItemNames
end
end
end
RivalsCosmeticsState.NativeUnlockedInventory = inventory
return inventory
end
function RivalsCosmetics.CloneNativeFavorites(value)
local cloned = {}
if type(value) ~= 'table' then return cloned end
for itemName, entries in pairs(value) do
if type(itemName) == 'string' and type(entries) == 'table' then
local itemFavorites = {}
for cosmeticName, enabled in pairs(entries) do
if type(cosmeticName) == 'string' and enabled == true then itemFavorites[cosmeticName] = true end
end
if next(itemFavorites) ~= nil then cloned[itemName] = itemFavorites end
end
end
return cloned
end
function RivalsCosmetics.SeedNativeFavorites(baseFavorites)
if RivalsCosmeticsState.NativeFavoritesSeeded then return end
if next(RivalsCosmeticsState.FavoritedCosmeticsByWeapon) == nil then
RivalsCosmeticsState.FavoritedCosmeticsByWeapon = RivalsCosmetics.CloneNativeFavorites(baseFavorites)
end
RivalsCosmeticsState.NativeFavoritesSeeded = true
end
function RivalsCosmetics.ResolveNativeDataField(fieldName, originalValue)
do
local extrasValue = RivalsRuntimeBridge.Extras.DataField(fieldName)
if extrasValue ~= nil then return extrasValue end
end
if not RivalsCosmetics.IsEnabled() and not RivalsCosmetics.IsWeaponUnlockEnabled() then return originalValue end
if fieldName == 'CosmeticInventory' then return RivalsCosmetics.BuildNativeUnlockedInventory() or originalValue end
if fieldName == 'FavoritedCosmetics' then
RivalsCosmetics.SeedNativeFavorites(originalValue)
return RivalsCosmeticsState.FavoritedCosmeticsByWeapon
end
return originalValue
end
function RivalsCosmetics.EnsureNativeDataView()
if not RivalsCosmetics.IsEnabled() then return false end
return type(RivalsCosmetics.BuildNativeUnlockedInventory()) == 'table'
end
function RivalsCosmetics.TriggerNativeDataChanged(fieldName)
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local currentData = playerDataController and playerDataController.CurrentData or nil
if type(currentData) ~= 'table' then return false end
local events = rawget(currentData, '_value_changed_events')
local signal = type(events) == 'table' and events[fieldName] or nil
if type(signal) == 'table' and type(signal.Fire) == 'function' then return pcall(signal.Fire, signal) end
return false
end
function RivalsCosmetics.RefreshNativeCosmeticsScene()
RivalsCosmetics.TriggerNativeDataChanged('CosmeticInventory')
RivalsCosmetics.TriggerNativeDataChanged('FavoritedCosmetics')
local equipment = RivalsCosmetics.ResolveEquipmentModule()
local interface = equipment and equipment.Interface or nil
local customize = interface and interface.Customize or nil
local cosmetics = customize and customize.Cosmetics or nil
if type(cosmetics) ~= 'table' then return false end
local onStateChanged = cosmetics.OnStateChanged
if type(onStateChanged) ~= 'function' then return false end
task.spawn(function()
local previousIdentity = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if type(setthreadidentity) == 'function' then pcall(setthreadidentity, 2) end
pcall(onStateChanged, cosmetics)
if previousIdentity ~= nil and type(setthreadidentity) == 'function' then
pcall(setthreadidentity, previousIdentity)
end
end)
return true
end
function RivalsCosmetics.ReadEquipmentStateValue(fieldName)
local equipment = RivalsCosmetics.ResolveEquipmentModule()
local equipmentState = equipment and equipment.EquipmentState or nil
if type(equipmentState) ~= 'table' then return nil end
local ok, value = pcall(function() return equipmentState[fieldName] end)
return ok and value or nil
end
function RivalsCosmetics.NormalizeNativeStateName(value)
if type(value) == 'string' then return value end
if type(value) == 'table' and type(value.Name) == 'string' then return value.Name end
if typeof(value) == 'EnumItem' then return value.Name end
return nil
end
function RivalsCosmetics.ResolveNativeFavoriteName(cosmeticName, cosmeticType)
local nativeName = cosmeticName
if cosmeticName == RIVALS_COSMETIC_NONE then
nativeName = 'NONE_COSMETIC'
elseif cosmeticName == RIVALS_COSMETIC_RANDOM then
nativeName = 'RANDOM_COSMETIC'
end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
if type(cosmeticLibrary) == 'table' and type(cosmeticLibrary.GetNoneSpecificCosmeticName) == 'function' then
local ok, resolved =
pcall(cosmeticLibrary.GetNoneSpecificCosmeticName, cosmeticLibrary, nativeName, cosmeticType)
if ok and type(resolved) == 'string' and resolved ~= '' then return resolved end
end
return nativeName
end
function RivalsCosmetics.QueueNativeStateSave()
RivalsCosmeticsState.NativeSaveToken = RivalsCosmeticsState.NativeSaveToken + 1
local saveToken = RivalsCosmeticsState.NativeSaveToken
task.delay(0.2, function()
if RivalsCosmeticsState.NativeSaveToken == saveToken then
pcall(RivalsCosmetics.SaveSelectionsToConfig)
pcall(RivalsCosmetics.SaveCosmeticsCache)
end
end)
end
do
local _configSaveToken = 0
function RivalsCosmetics.QueueCosmeticConfigAutoSave()
if RivalsCosmeticsState.ApplyingCosmeticPreset then return end
_configSaveToken = _configSaveToken + 1
local token = _configSaveToken
task.delay(0.4, function()
if token ~= _configSaveToken then return end
pcall(RivalsCosmetics.SaveCosmeticsCache)
pcall(RivalsCosmetics.SaveSelectionsToConfig)
end)
end
end
function RivalsCosmetics.CaptureNativeSelection(toggleFavorite, toggleOnlyUseFavorites, invertedOverride)
if not RivalsCosmetics.IsEnabled() then return false end
local weaponName =
RivalsCosmetics.NormalizeNativeStateName(RivalsCosmetics.ReadEquipmentStateValue('SelectedWeapon'))
local cosmeticType =
RivalsCosmetics.NormalizeNativeStateName(RivalsCosmetics.ReadEquipmentStateValue('CustomizingType'))
local cosmeticName =
RivalsCosmetics.NormalizeNativeStateName(RivalsCosmetics.ReadEquipmentStateValue('SelectedCosmetic'))
if type(weaponName) ~= 'string' or not RivalsCosmetics.IsFavoriteKind(cosmeticType) then return false end
if type(cosmeticName) ~= 'string' or cosmeticName == '' or cosmeticName == 'NONE_COSMETIC' then
cosmeticName = RIVALS_COSMETIC_NONE
elseif cosmeticName == 'RANDOM_COSMETIC' then
cosmeticName = RIVALS_COSMETIC_RANDOM
end
local changed = false
if toggleFavorite then
local favoriteName = RivalsCosmetics.ResolveNativeFavoriteName(cosmeticName, cosmeticType)
if cosmeticName == RIVALS_COSMETIC_NONE then favoriteName = 'NONE_COSMETIC_' .. cosmeticType end
changed = RivalsCosmetics.SetFavorited(
weaponName,
favoriteName,
not RivalsCosmetics.IsFavorited(weaponName, favoriteName)
) or changed
else
if toggleOnlyUseFavorites then
changed = RivalsCosmetics.SetOnlyUseFavorites(
weaponName,
cosmeticType,
not RivalsCosmetics.UsesOnlyFavorites(weaponName, cosmeticType)
) or changed
end
if RivalsCosmetics.ResolveStoredSelectionValue(weaponName, cosmeticType) ~= cosmeticName then
changed = RivalsCosmetics.SetStoredSelection(weaponName, cosmeticType, cosmeticName) or changed
end
if cosmeticType == 'Wrap' then
local inverted = invertedOverride
if inverted == nil then inverted = RivalsCosmeticsState.NativeInvertedValue end
inverted = inverted == true
if RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'WrapInverted') ~= inverted then
changed = RivalsCosmetics.SetStoredSelection(weaponName, 'WrapInverted', inverted) or changed
end
end
end
if not changed then return false end
RivalsCosmetics.TriggerNativeDataChanged('WeaponInventory')
RivalsCosmetics.TriggerNativeDataChanged('WeaponData')
pcall(RivalsCosmetics.ReloadWeaponViewModel, weaponName)
pcall(RivalsCosmetics.ApplyWraps)
pcall(RivalsCosmetics.RefreshNativeCosmeticsScene)
pcall(RivalsCosmetics.RefreshWeaponCardIcons)
task.delay(0.15, function() pcall(RivalsCosmetics.RefreshWeaponCardIcons) end)
RivalsCosmetics.QueueNativeStateSave()
return true
end
function RivalsCosmetics.EnsureNativeInvertedState()
if RivalsCosmeticsState.NativeEquipmentStateRestore ~= nil then return true end
local equipment = RivalsCosmetics.ResolveEquipmentModule()
local equipmentState = type(equipment) == 'table' and rawget(equipment, 'EquipmentState') or nil
local originalMetatable = type(equipmentState) == 'table' and getmetatable(equipmentState) or nil
local originalIndex = type(originalMetatable) == 'table' and rawget(originalMetatable, '__index') or nil
if type(equipmentState) ~= 'table' or originalMetatable == nil or originalIndex == nil then return false end
local selectedWeapon = rawget(equipmentState, 'SelectedWeapon')
if type(selectedWeapon) == 'string' and selectedWeapon ~= '' then
RivalsCosmeticsState.NativeInvertedValue = RivalsCosmetics.ResolveWrapInvertedValue(selectedWeapon) == true
end
rawset(equipmentState, 'CosmeticInverted', nil)
setmetatable(equipmentState, {
__index = function(_, key)
if key == 'CosmeticInverted' then
local weaponName = rawget(equipmentState, 'SelectedWeapon')
if type(weaponName) == 'string' and weaponName ~= '' then
RivalsCosmeticsState.NativeInvertedValue = RivalsCosmetics.ResolveWrapInvertedValue(weaponName)
== true
return RivalsCosmeticsState.NativeInvertedValue
end
end
if type(originalIndex) == 'table' then return rawget(originalIndex, key) end
return originalIndex(equipmentState, key)
end,
__newindex = function(target, key, value)
if key ~= 'CosmeticInverted' or value == nil then
rawset(target, key, value)
return
end
RivalsCosmeticsState.NativeInvertedValue = value == true
RivalsCosmetics.CaptureNativeSelection(false, false, RivalsCosmeticsState.NativeInvertedValue)
end,
})
RivalsCosmeticsState.NativeEquipmentStateRestore = {
EquipmentState = equipmentState,
Metatable = originalMetatable,
}
return true
end
function RivalsCosmetics.EnsureNativeCosmeticSlotBinding()
if RivalsCosmeticsState.NativeCosmeticSlotConstructor ~= nil then return true end
local cosmeticSlot = RivalsCosmetics.ResolveCosmeticSlot()
local constructor = type(cosmeticSlot) == 'table' and rawget(cosmeticSlot, 'new') or nil
if
type(constructor) ~= 'function'
or type(debug.getupvalue) ~= 'function'
or type(debug.setupvalue) ~= 'function'
then
return false
end
local prototype = debug.getupvalue(constructor, 1)
if type(prototype) ~= 'table' then return false end
local proxy = {}
proxy.__index = function(instance, key)
if key ~= 'Frame' then return rawget(prototype, key) end
if type(debug.info) == 'function' and type(debug.getupvalues) == 'function' then
local source, caller = debug.info(2, 'sf')
local upvalues = type(caller) == 'function' and debug.getupvalues(caller) or nil
if
type(source) == 'string'
and source:match('Cosmetics$')
and type(upvalues) == 'table'
and type(upvalues[9]) == 'boolean'
then
debug.setupvalue(caller, 9, false)
end
end
return rawget(instance, RIVALS_COSMETIC_SLOT_FRAME_SENTINEL)
end
proxy.__newindex = function(instance, key, value)
if key ~= 'Frame' then
rawset(instance, key, value)
return
end
local source = type(debug.info) == 'function' and debug.info(3, 's') or nil
if
type(source) == 'string'
and source:match('Cosmetics$')
and rawget(instance, 'IsLocked') ~= true
and value ~= nil
then
local button = value:FindFirstChild('Button')
if button ~= nil then
button.MouseButton1Click:Connect(function() RivalsCosmetics.CaptureNativeSelection(false, false) end)
end
end
rawset(instance, RIVALS_COSMETIC_SLOT_FRAME_SENTINEL, value)
end
debug.setupvalue(constructor, 1, proxy)
RivalsCosmeticsState.NativeCosmeticSlotConstructor = constructor
RivalsCosmeticsState.NativeCosmeticSlotPrototype = prototype
return true
end
function RivalsCosmetics.ResolveNativeOptionButton(optionName)
local equipment = RivalsCosmetics.ResolveEquipmentModule()
local interface = type(equipment) == 'table' and rawget(equipment, 'Interface') or nil
local customize = type(interface) == 'table' and rawget(interface, 'Customize') or nil
local options = type(customize) == 'table' and rawget(customize, 'Options') or nil
local container = type(options) == 'table' and rawget(options, 'Container') or nil
local option = container and container:FindFirstChild(optionName) or nil
local inner = option and option:FindFirstChild('Container') or nil
return inner and inner:FindFirstChild('Button') or nil
end
function RivalsCosmetics.EnsureNativeUiBindings()
pcall(RivalsCosmetics.EnsureWeaponCardSkinHook)
if RivalsCosmeticsState.NativeUiBound then return true end
if not RivalsCosmetics.EnsureNativeCosmeticSlotBinding() or not RivalsCosmetics.EnsureNativeInvertedState() then
RivalsCosmetics.RestoreNativeUiBindings()
return false
end
local favoritedButton = RivalsCosmetics.ResolveNativeOptionButton('Favorited')
local onlyUseFavoritesButton = RivalsCosmetics.ResolveNativeOptionButton('OnlyUseFavorites')
if favoritedButton ~= nil then
RivalsCosmeticsState.NativeFavoriteConnection = favoritedButton.MouseButton1Click:Connect(
function() RivalsCosmetics.CaptureNativeSelection(true, false) end
)
end
if onlyUseFavoritesButton ~= nil then
RivalsCosmeticsState.NativeOnlyUseFavoritesConnection = onlyUseFavoritesButton.MouseButton1Click:Connect(
function() RivalsCosmetics.CaptureNativeSelection(false, true) end
)
end
RivalsCosmeticsState.NativeUiBound = true
return true
end
function RivalsCosmetics.RestoreNativeUiBindings()
local favoriteConnection = RivalsCosmeticsState.NativeFavoriteConnection
if favoriteConnection ~= nil then favoriteConnection:Disconnect() end
local onlyUseFavoritesConnection = RivalsCosmeticsState.NativeOnlyUseFavoritesConnection
if onlyUseFavoritesConnection ~= nil then onlyUseFavoritesConnection:Disconnect() end
local equipmentRestore = RivalsCosmeticsState.NativeEquipmentStateRestore
if type(equipmentRestore) == 'table' and type(equipmentRestore.EquipmentState) == 'table' then
setmetatable(equipmentRestore.EquipmentState, equipmentRestore.Metatable)
end
local constructor = RivalsCosmeticsState.NativeCosmeticSlotConstructor
local prototype = RivalsCosmeticsState.NativeCosmeticSlotPrototype
if type(constructor) == 'function' and type(prototype) == 'table' and type(debug.setupvalue) == 'function' then
debug.setupvalue(constructor, 1, prototype)
end
RivalsCosmeticsState.NativeFavoriteConnection = nil
RivalsCosmeticsState.NativeOnlyUseFavoritesConnection = nil
RivalsCosmeticsState.NativeEquipmentStateRestore = nil
RivalsCosmeticsState.NativeCosmeticSlotConstructor = nil
RivalsCosmeticsState.NativeCosmeticSlotPrototype = nil
RivalsCosmeticsState.NativeUiBound = false
return true
end
function RivalsCosmetics.ResolveOriginalPlayerDataField(fieldName)
local restore = RivalsCosmeticsState.PlayerDataRestore
local data = type(restore) == 'table' and restore.Inner or nil
if type(data) ~= 'table' then
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local currentData = playerDataController and rawget(playerDataController, 'CurrentData') or nil
data = type(currentData) == 'table' and rawget(currentData, 'Data') or nil
end
return type(data) == 'table' and rawget(data, fieldName) or nil
end
function RivalsCosmetics.RestorePlayerDataProxy()
local restore = RivalsCosmeticsState.PlayerDataRestore
if type(restore) ~= 'table' then return true end
RivalsCosmeticsState.PlayerDataRestore = nil
if type(restore.Current) == 'table' then rawset(restore.Current, 'Data', restore.Inner) end
return true
end
function RivalsCosmetics.IsWeaponUnlockEnabled()
local toggle = Toggles and Toggles.P5S1T4
return toggle ~= nil and toggle.Value == true
end
function RivalsCosmetics.ResolveInnerPlayerDataForWeapons()
local restore = RivalsCosmeticsState.PlayerDataRestore
if type(restore) == 'table' and type(restore.Inner) == 'table' then return restore.Inner end
local controller = RivalsCosmetics.ResolvePlayerDataController()
local currentData = controller and rawget(controller, 'CurrentData') or nil
if type(currentData) ~= 'table' then return nil end
local inner = rawget(currentData, 'Data')
return type(inner) == 'table' and inner or nil
end
function RivalsCosmetics.SyncWeaponInventoryUnlock()
local inner = RivalsCosmetics.ResolveInnerPlayerDataForWeapons()
if type(inner) ~= 'table' then return false end
local realInventory = rawget(inner, 'WeaponInventory')
if type(realInventory) ~= 'table' then return false end
local originals = RivalsCosmeticsState.WeaponUnlockOriginals
if type(originals) ~= 'table' then
originals = {}
RivalsCosmeticsState.WeaponUnlockOriginals = originals
end
if not RivalsCosmetics.IsWeaponUnlockEnabled() then
for weaponName in pairs(originals) do
realInventory[weaponName] = nil
end
table.clear(originals)
return true
end
local itemLibrary = RivalsCosmetics.ResolveItemLibrary()
local items = type(itemLibrary) == 'table' and itemLibrary.Items or nil
if type(items) ~= 'table' then return false end
for weaponName, weaponDef in pairs(items) do
if
type(weaponName) == 'string'
and weaponName ~= ''
and type(weaponDef) == 'table'
and type(weaponDef.Class) == 'string'
and weaponDef.Class ~= ''
then
if not realInventory[weaponName] and not originals[weaponName] then
originals[weaponName] = true
realInventory[weaponName] = {
Name = weaponName,
Owned = true,
Class = weaponDef.Class,
Unlocked = true,
Level = 1,
XP = 0,
Prestige = 0,
IsFavorited = false,
}
end
end
end
return true
end
function RivalsCosmetics.BuildUnlockedWeaponInventory(originalValue)
if type(originalValue) ~= 'table' then return originalValue end
local cache = RivalsCosmeticsState.WeaponInventoryUnlockCache
local cached = cache[originalValue]
if cached ~= nil then return cached end
local merged = {}
for weaponName, weaponData in pairs(originalValue) do
merged[weaponName] = weaponData
end
local itemLibrary = RivalsCosmetics.ResolveItemLibrary()
local items = type(itemLibrary) == 'table' and itemLibrary.Items or nil
if type(items) == 'table' then
for weaponName, weaponDef in pairs(items) do
if
type(weaponName) == 'string'
and weaponName ~= ''
and type(weaponDef) == 'table'
and type(weaponDef.Class) == 'string'
and weaponDef.Class ~= ''
and not merged[weaponName]
then
merged[weaponName] = {
Name = weaponName,
Owned = true,
Class = weaponDef.Class,
Unlocked = true,
Level = 1,
XP = 0,
Prestige = 0,
IsFavorited = false,
}
end
end
end
cache[originalValue] = merged
return merged
end
function RivalsCosmetics.LoadPlayerDataProxy(currentData)
if type(currentData) ~= 'table' then return false end
local restore = RivalsCosmeticsState.PlayerDataRestore
if type(restore) == 'table' then
if restore.Current == currentData then return true end
RivalsCosmetics.RestorePlayerDataProxy()
end
local inner = rawget(currentData, 'Data')
if type(inner) ~= 'table' then return false end
local proxy = setmetatable({}, {
__index = function(_, fieldName)
return RivalsCosmetics.ResolveNativeDataField(fieldName, rawget(inner, fieldName))
end,
__newindex = function(_, fieldName, value) rawset(inner, fieldName, value) end,
})
rawset(currentData, 'Data', proxy)
RivalsCosmeticsState.PlayerDataRestore = {
Current = currentData,
Inner = inner,
Proxy = proxy,
}
return true
end
RivalsRuntimeBridge.Extras.CosmeticsRef = RivalsCosmetics
function RivalsCosmetics.ResolvePlayerDataGetWeaponDataFunction()
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local metatable = type(playerDataController) == 'table' and getmetatable(playerDataController) or nil
local index = type(metatable) == 'table' and rawget(metatable, '__index') or nil
return type(index) == 'table' and rawget(index, 'GetWeaponData') or nil
end
function RivalsCosmetics.FindOriginalWeaponData(weaponName)
local inventory = RivalsCosmetics.ResolveOriginalPlayerDataField('WeaponInventory')
if type(inventory) ~= 'table' then return nil end
for _, weaponData in pairs(inventory) do
if type(weaponData) == 'table' and rawget(weaponData, 'Name') == weaponName then return weaponData end
end
return nil
end
function RivalsCosmetics.EnsureItemDataHook()
if RivalsCosmeticsState.PlayerDataGetWeaponDataConstantIndex ~= nil then return true end
local getWeaponData = RivalsCosmetics.ResolvePlayerDataGetWeaponDataFunction()
local playerDataUtility = RivalsCosmetics.ResolvePlayerDataUtility()
if
type(getWeaponData) ~= 'function'
or type(playerDataUtility) ~= 'table'
or type(debug.getconstants) ~= 'function'
or type(debug.setconstant) ~= 'function'
then
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local mt = type(playerDataController) == 'table' and getmetatable(playerDataController) or nil
local idx = type(mt) == 'table' and rawget(mt, '__index') or nil
if type(idx) == 'table' then
local original = rawget(idx, 'GetWeaponData')
if type(original) == 'function' then
rawset(idx, 'GetWeaponData', function(self, weaponName)
local ok, data = pcall(original, self, weaponName)
if not ok or data == nil then return data end
if self ~= playerDataController or not RivalsCosmetics.IsEnabled() then return data end
return RivalsCosmetics.OverrideWeaponData(weaponName, data)
end)
return true
end
end
return false
end
local constantIndex = nil
for index, value in pairs(debug.getconstants(getWeaponData)) do
if value == 'GetWeaponData' then
constantIndex = index
break
end
end
if constantIndex == nil then return false end
local previousSentinel = rawget(playerDataUtility, RIVALS_GET_WEAPON_DATA_SENTINEL)
debug.setconstant(getWeaponData, constantIndex, RIVALS_GET_WEAPON_DATA_SENTINEL)
rawset(playerDataUtility, RIVALS_GET_WEAPON_DATA_SENTINEL, function(_, playerData, weaponName)
local originalWeaponData = RivalsCosmetics.FindOriginalWeaponData(weaponName)
if originalWeaponData == nil then return nil end
local player = type(playerData) == 'table' and rawget(playerData, 'Player') or nil
if player == nil and type(playerData) == 'table' then player = rawget(playerData, '_player_object') end
if typeof(player) ~= 'Instance' or not player:IsA('Player') then player = LP end
if player ~= LP or not RivalsCosmetics.IsEnabled() then return originalWeaponData end
return RivalsCosmetics.OverrideWeaponData(weaponName, originalWeaponData)
end)
RivalsCosmeticsState.PlayerDataUtility = playerDataUtility
RivalsCosmeticsState.PlayerDataUtilityGetWeaponData = previousSentinel
RivalsCosmeticsState.PlayerDataGetWeaponDataFunction = getWeaponData
RivalsCosmeticsState.PlayerDataGetWeaponDataConstantIndex = constantIndex
RivalsCosmeticsState.PlayerDataGetWeaponDataConstantValue = 'GetWeaponData'
return true
end
function RivalsCosmetics.RestoreItemDataHook()
local getWeaponData = RivalsCosmeticsState.PlayerDataGetWeaponDataFunction
local constantIndex = RivalsCosmeticsState.PlayerDataGetWeaponDataConstantIndex
local originalConstant = RivalsCosmeticsState.PlayerDataGetWeaponDataConstantValue
if
type(getWeaponData) == 'function'
and type(constantIndex) == 'number'
and type(debug.setconstant) == 'function'
then
pcall(debug.setconstant, getWeaponData, constantIndex, originalConstant)
end
local playerDataUtility = RivalsCosmeticsState.PlayerDataUtility
if type(playerDataUtility) == 'table' then
rawset(playerDataUtility, RIVALS_GET_WEAPON_DATA_SENTINEL, RivalsCosmeticsState.PlayerDataUtilityGetWeaponData)
end
RivalsCosmeticsState.PlayerDataUtility = nil
RivalsCosmeticsState.PlayerDataUtilityGetWeaponData = nil
RivalsCosmeticsState.PlayerDataGetWeaponDataFunction = nil
RivalsCosmeticsState.PlayerDataGetWeaponDataConstantIndex = nil
RivalsCosmeticsState.PlayerDataGetWeaponDataConstantValue = nil
return true
end
function RivalsCosmetics.EnsurePlayerDataHook()
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local currentData = type(playerDataController) == 'table' and rawget(playerDataController, 'CurrentData') or nil
if type(playerDataController) ~= 'table' or type(currentData) ~= 'table' then return false end
RivalsCosmeticsState.PlayerDataController = playerDataController
local dataLoaded = RivalsCosmetics.LoadPlayerDataProxy(currentData)
if dataLoaded then pcall(RivalsCosmetics.SyncWeaponInventoryUnlock) end
local itemHookLoaded = RivalsCosmetics.EnsureItemDataHook()
if RivalsCosmeticsState.PlayerDataAddedConnection == nil then
local playerDataAdded = rawget(playerDataController, 'PlayerDataAdded')
if type(playerDataAdded) == 'table' and type(playerDataAdded.Connect) == 'function' then
RivalsCosmeticsState.PlayerDataAddedConnection = playerDataAdded:Connect(function()
task.defer(function()
local nextCurrentData = rawget(playerDataController, 'CurrentData')
RivalsCosmetics.LoadPlayerDataProxy(nextCurrentData)
RivalsCosmetics.RefreshNativeCosmeticsScene()
end)
end)
end
end
RivalsCosmeticsState.PlayerDataHooked = dataLoaded == true
return dataLoaded == true and itemHookLoaded == true
end
function RivalsCosmetics.RestorePlayerDataHook()
local playerDataAddedConnection = RivalsCosmeticsState.PlayerDataAddedConnection
if playerDataAddedConnection ~= nil then playerDataAddedConnection:Disconnect() end
RivalsCosmeticsState.PlayerDataAddedConnection = nil
RivalsCosmetics.RestoreItemDataHook()
RivalsCosmetics.RestorePlayerDataProxy()
RivalsCosmeticsState.PlayerDataController = nil
RivalsCosmeticsState.PlayerDataHooked = false
return true
end
function RivalsCosmetics.EncodeGameKey(key)
local enumLibrary = ResolveEnumLibrary()
local toEnum = type(enumLibrary) == 'table' and rawget(enumLibrary, '_to_enum') or nil
local encoded = type(toEnum) == 'table' and rawget(toEnum, key) or nil
return encoded ~= nil and encoded or key
end
function RivalsCosmetics.ApplyZkhHubViewModelSelection(weaponName, viewModelData, selection)
if type(viewModelData) ~= 'table' or type(selection) ~= 'table' then return viewModelData end
if selection.skin ~= nil then
viewModelData[RivalsCosmetics.EncodeGameKey('Name')] = selection.skin == RIVALS_COSMETIC_NONE and weaponName
or selection.skin
end
if selection.wrap ~= nil then
local wrapKey = RivalsCosmetics.EncodeGameKey('Wrap')
if selection.wrap.name == RIVALS_COSMETIC_NONE then
viewModelData[wrapKey] = nil
else
viewModelData[wrapKey] = {
Name = selection.wrap.name,
Inverted = selection.wrap.inverted == true,
}
end
end
if selection.charm ~= nil then
local charmKey = RivalsCosmetics.EncodeGameKey('Charm')
if selection.charm == RIVALS_COSMETIC_NONE then
viewModelData[charmKey] = nil
else
local charm = { Name = selection.charm }
viewModelData[charmKey] = RivalsCosmetics.PatchRankCharmPayload(charm) or charm
end
end
return viewModelData
end
function RivalsCosmetics.GetClientItemRestoreData(player, weaponName)
local byPlayer = RivalsCosmeticsState.ClientItemRestoreData[player]
return type(byPlayer) == 'table' and byPlayer[weaponName] or nil
end
function RivalsCosmetics.EnsureClientItemRestoreData(player, weaponName, viewModelData)
if type(viewModelData) ~= 'table' then return end
local byPlayer = RivalsCosmeticsState.ClientItemRestoreData[player]
if type(byPlayer) ~= 'table' then
byPlayer = {}
RivalsCosmeticsState.ClientItemRestoreData[player] = byPlayer
end
if byPlayer[weaponName] == nil then byPlayer[weaponName] = table.clone(viewModelData) end
end
function RivalsCosmetics.EnsureClientViewModelHook()
if RivalsCosmeticsState.ClientViewModelHooked then return true end
local clientItem = RivalsCosmetics.ResolveClientItemClass()
local constructor = type(clientItem) == 'table' and rawget(clientItem, 'new') or nil
if
type(constructor) ~= 'function'
or type(debug.getupvalues) ~= 'function'
or type(debug.getstack) ~= 'function'
or type(debug.setupvalue) ~= 'function'
then
return false
end
local prototypeIndex = nil
local prototype = nil
for index, value in pairs(debug.getupvalues(constructor)) do
if type(value) == 'table' and rawget(value, 'CreateSpectatorSound') ~= nil then
prototypeIndex = index
prototype = value
break
end
end
if type(prototypeIndex) ~= 'number' or type(prototype) ~= 'table' then return false end
local proxy = {}
proxy.__index = function(_, key)
local value = rawget(prototype, key)
if value == nil then
local metatable = getmetatable(prototype)
local index = type(metatable) == 'table' and rawget(metatable, '__index') or nil
if type(index) == 'table' then
value = rawget(index, key)
elseif type(index) == 'function' then
value = index(prototype, key)
end
end
return value
end
proxy.__newindex = function(instance, key, value)
if key ~= 'Info' then
rawset(instance, key, value)
return
end
rawset(instance, 'Info', value)
setmetatable(instance, prototype)
local stack = debug.getstack(2, 1)
local viewModel = type(stack) == 'table' and rawget(stack, 'ViewModel') or nil
local clientFighter = rawget(instance, 'ClientFighter')
local player = type(clientFighter) == 'table' and rawget(clientFighter, 'Player') or nil
local weaponName = rawget(instance, 'Name')
local selection = player == LP and RivalsCosmetics.BuildZkhHubItemSelection(weaponName) or nil
local dataKey = RivalsCosmetics.EncodeGameKey('Data')
local viewModelData = type(viewModel) == 'table' and viewModel[dataKey] or nil
if type(selection) ~= 'table' or type(viewModelData) ~= 'table' then return end
RivalsCosmetics.EnsureClientItemRestoreData(player, weaponName, viewModelData)
RivalsCosmetics.ApplyZkhHubViewModelSelection(weaponName, viewModelData, selection)
end
debug.setupvalue(constructor, prototypeIndex, proxy)
RivalsCosmeticsState.ClientItemConstructor = constructor
RivalsCosmeticsState.ClientItemPrototype = prototype
RivalsCosmeticsState.ClientItemPrototypeIndex = prototypeIndex
RivalsCosmeticsState.ClientViewModelHooked = true
return true
end
function RivalsCosmetics.RestoreClientViewModelHook()
local constructor = RivalsCosmeticsState.ClientItemConstructor
local prototype = RivalsCosmeticsState.ClientItemPrototype
local prototypeIndex = RivalsCosmeticsState.ClientItemPrototypeIndex
if
type(constructor) == 'function'
and type(prototype) == 'table'
and type(prototypeIndex) == 'number'
and type(debug.setupvalue) == 'function'
then
debug.setupvalue(constructor, prototypeIndex, prototype)
end
RivalsCosmeticsState.ClientItemConstructor = nil
RivalsCosmeticsState.ClientItemPrototype = nil
RivalsCosmeticsState.ClientItemPrototypeIndex = nil
RivalsCosmeticsState.ClientViewModelHooked = false
return true
end
function RivalsCosmetics.EnsureWeaponCardSkinHook()
if RivalsCosmeticsState.WeaponCardSkinHooked then return true end
local itemLibrary = RivalsCosmetics.ResolveItemLibrary()
if type(itemLibrary) ~= 'table' then return false end
local original = nil
pcall(function() original = itemLibrary.GetViewModelImageFromWeaponData end)
if type(original) ~= 'function' then return false end
local function detour(lib, wdata, hires)
if type(wdata) == 'table' and type(wdata.Name) == 'string' then
local skinName = nil
pcall(function()
local raw = RivalsCosmetics.ResolveSkinSelectionValue(wdata.Name)
if RivalsCosmetics.IsCosmeticValueSelected(raw) then skinName = raw end
end)
if skinName ~= nil then
local img = nil
pcall(function()
local info = lib.ViewModels and lib.ViewModels[skinName]
if type(info) == 'table' then img = (hires and info.ImageHighResolution) or info.Image end
end)
if img ~= nil then return img end
end
end
return original(lib, wdata, hires)
end
local hooked = false
if type(hookfunction) == 'function' then
local ok2, orig2 = pcall(hookfunction, original, detour)
if ok2 and type(orig2) == 'function' and orig2 ~= detour then
original = orig2
hooked = true
end
end
if not hooked then
pcall(function()
if type(setreadonly) == 'function' then setreadonly(itemLibrary, false) end
end)
local ok3 = pcall(function() itemLibrary.GetViewModelImageFromWeaponData = detour end)
hooked = ok3
end
if not hooked then return false end
RivalsCosmeticsState.WeaponCardSkinHooked = true
return true
end
function RivalsCosmetics.RestoreWeaponCardSkinHook()
if not RivalsCosmeticsState.WeaponCardSkinHooked then return end
RivalsCosmeticsState.WeaponCardSkinHooked = false
if RivalsCosmetics.Catalog then RivalsCosmetics.Catalog.ItemLibrary = nil end
end
function RivalsCosmetics.EnsureFinisherHook()
if RivalsCosmeticsState.ClientEntityFinisherHooked then return true end
local clientEntity = RivalsCosmetics.ResolveClientEntityClass()
if type(clientEntity) ~= 'table' or type(clientEntity._PlayFinisher) ~= 'function' then return false end
local previousOriginalPlayFinisher = rawget(clientEntity, '__ZkxHubOriginalPlayFinisher')
if rawget(clientEntity, '__ZkxHubFinisherHooked') == true and type(previousOriginalPlayFinisher) == 'function' then
clientEntity._PlayFinisher = previousOriginalPlayFinisher
end
local originalPlayFinisher = clientEntity._PlayFinisher
local wrappedPlayFinisher = function(self, finisherName, ...)
local selectedFinisherName = RivalsCosmetics.ResolveSelectedPlaybackFinisherName()
if type(selectedFinisherName) == 'string' and selectedFinisherName ~= '' then
return originalPlayFinisher(self, selectedFinisherName, ...)
end
return originalPlayFinisher(self, finisherName, ...)
end
RivalsCosmeticsState.HookedClientEntityClass = clientEntity
RivalsCosmeticsState.OriginalClientEntityPlayFinisher = originalPlayFinisher
RivalsCosmeticsState.ClientEntityPlayFinisherWrapper = wrappedPlayFinisher
clientEntity.__ZkxHubOriginalPlayFinisher = originalPlayFinisher
clientEntity.__ZkxHubFinisherHooked = true
clientEntity._PlayFinisher = wrappedPlayFinisher
RivalsCosmeticsState.ClientEntityFinisherHooked = true
return true
end
function RivalsCosmetics.RestoreFinisherHook()
local clientEntity = RivalsCosmeticsState.HookedClientEntityClass
local originalPlayFinisher = RivalsCosmeticsState.OriginalClientEntityPlayFinisher
local wrappedPlayFinisher = RivalsCosmeticsState.ClientEntityPlayFinisherWrapper
if type(clientEntity) == 'table' and type(originalPlayFinisher) == 'function' then
if
clientEntity._PlayFinisher == wrappedPlayFinisher
or rawget(clientEntity, '__ZkxHubFinisherHooked') == true
then
clientEntity._PlayFinisher = originalPlayFinisher
end
clientEntity.__ZkxHubOriginalPlayFinisher = nil
clientEntity.__ZkxHubFinisherHooked = nil
end
RivalsCosmeticsState.HookedClientEntityClass = nil
RivalsCosmeticsState.OriginalClientEntityPlayFinisher = nil
RivalsCosmeticsState.ClientEntityPlayFinisherWrapper = nil
RivalsCosmeticsState.ClientEntityFinisherHooked = false
return true
end
function RivalsCosmetics.EnsureViewModelImageHook()
if RivalsCosmeticsState.ViewModelImageHooked then return true end
local itemLibrary = RivalsCosmetics.ResolveItemLibrary()
if type(itemLibrary) ~= 'table' or type(itemLibrary.GetViewModelImageFromWeaponData) ~= 'function' then
return false
end
local originalGetImage = itemLibrary.GetViewModelImageFromWeaponData
local function resolveSkinCardImage(lib, skinName, hires)
local image = nil
pcall(function()
local viewModels = rawget(lib, 'ViewModels')
if type(viewModels) ~= 'table' then viewModels = lib.ViewModels end
local info = type(viewModels) == 'table' and viewModels[skinName] or nil
if type(info) == 'table' then
if hires and info.ImageHighResolution ~= nil then
image = info.ImageHighResolution
else
image = info.Image
end
end
end)
return image
end
local wrappedGetImage = function(self, weaponData, hires, ...)
local extraArgs = table.pack(...)
local skinName = nil
if type(weaponData) == 'table' then
local weaponName = weaponData.Name
if type(weaponName) ~= 'string' or weaponName == '' then
weaponName = weaponData[RivalsCosmetics.EncodeGameKey('Name')]
end
if type(weaponName) == 'string' and weaponName ~= '' then
skinName = RivalsCosmetics.ResolveSelectedSkinName(weaponName)
end
end
if type(skinName) == 'string' and skinName ~= '' then
local fallback = nil
pcall(
function() fallback = originalGetImage(self, weaponData, hires, table.unpack(extraArgs, 1, extraArgs.n)) end
)
local injected = nil
pcall(function()
local clone = table.clone(weaponData)
local skinData = RivalsCosmetics.BuildCosmeticData(nil, skinName, 'Skin') or { Name = skinName }
clone.Skin = skinData
clone[RivalsCosmetics.EncodeGameKey('Skin')] = skinData
injected = originalGetImage(self, clone, hires, table.unpack(extraArgs, 1, extraArgs.n))
end)
local direct = resolveSkinCardImage(self, skinName, hires)
if direct ~= nil and direct ~= fallback then return direct end
if injected ~= nil and injected ~= fallback then return injected end
if direct ~= nil then return direct end
if injected ~= nil then return injected end
if fallback ~= nil then return fallback end
end
return originalGetImage(self, weaponData, hires, ...)
end
RivalsCosmeticsState.HookedImageItemLibrary = itemLibrary
RivalsCosmeticsState.OriginalGetViewModelImage = originalGetImage
RivalsCosmeticsState.GetViewModelImageWrapper = wrappedGetImage
itemLibrary.GetViewModelImageFromWeaponData = wrappedGetImage
if type(itemLibrary.GetViewModelImage) == 'function' then
local originalPlainGetImage = itemLibrary.GetViewModelImage
local wrappedPlainGetImage = function(self, weaponName, ...)
local packedRest = table.pack(...)
if type(weaponName) == 'string' and weaponName ~= '' then
local skinName = nil
pcall(function() skinName = RivalsCosmetics.ResolveSelectedSkinName(weaponName) end)
if type(skinName) == 'string' and skinName ~= '' and skinName ~= weaponName then
local remapped = nil
local ok = pcall(
function()
remapped = originalPlainGetImage(self, skinName, table.unpack(packedRest, 1, packedRest.n))
end
)
if ok and remapped ~= nil then return remapped end
end
end
return originalPlainGetImage(self, weaponName, table.unpack(packedRest, 1, packedRest.n))
end
RivalsCosmeticsState.OriginalPlainGetViewModelImage = originalPlainGetImage
RivalsCosmeticsState.PlainGetViewModelImageWrapper = wrappedPlainGetImage
itemLibrary.GetViewModelImage = wrappedPlainGetImage
end
RivalsCosmeticsState.ViewModelImageHooked = true
return true
end
function RivalsCosmetics.RestoreViewModelImageHook()
local itemLibrary = RivalsCosmeticsState.HookedImageItemLibrary
local originalGetImage = RivalsCosmeticsState.OriginalGetViewModelImage
local wrappedGetImage = RivalsCosmeticsState.GetViewModelImageWrapper
if type(itemLibrary) == 'table' and type(originalGetImage) == 'function' then
if itemLibrary.GetViewModelImageFromWeaponData == wrappedGetImage then
itemLibrary.GetViewModelImageFromWeaponData = originalGetImage
end
end
local originalPlainGetImage = RivalsCosmeticsState.OriginalPlainGetViewModelImage
local wrappedPlainGetImage = RivalsCosmeticsState.PlainGetViewModelImageWrapper
if type(itemLibrary) == 'table' and type(originalPlainGetImage) == 'function' then
if itemLibrary.GetViewModelImage == wrappedPlainGetImage then
itemLibrary.GetViewModelImage = originalPlainGetImage
end
end
RivalsCosmeticsState.HookedImageItemLibrary = nil
RivalsCosmeticsState.OriginalGetViewModelImage = nil
RivalsCosmeticsState.GetViewModelImageWrapper = nil
RivalsCosmeticsState.OriginalPlainGetViewModelImage = nil
RivalsCosmeticsState.PlainGetViewModelImageWrapper = nil
RivalsCosmeticsState.ViewModelImageHooked = false
return true
end
function RivalsCosmetics.RefreshWeaponCardIcons()
pcall(function()
local itemLibrary = RivalsCosmetics.ResolveItemLibrary()
local viewModels = type(itemLibrary) == 'table' and itemLibrary.ViewModels or nil
if type(viewModels) ~= 'table' or not LP then return end
local playerGui = LP:FindFirstChild('PlayerGui')
local mainGui = playerGui and playerGui:FindFirstChild('MainGui')
local mainFrame = mainGui and mainGui:FindFirstChild('MainFrame')
local fighterInterfaces = mainFrame and mainFrame:FindFirstChild('FighterInterfaces')
if not fighterInterfaces then return end
local iface = fighterInterfaces:FindFirstChild(LP.Name)
if not iface then return end
local baseImageToWeapon = {}
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
local vm = viewModels[weaponName]
if type(vm) == 'table' then
if type(vm.Image) == 'string' then
baseImageToWeapon[vm.Image] = { weapon = weaponName, hires = false }
end
if type(vm.ImageHighResolution) == 'string' then
baseImageToWeapon[vm.ImageHighResolution] = { weapon = weaponName, hires = true }
end
end
end
for _, label in ipairs(iface:GetDescendants()) do
if label:IsA('ImageLabel') then
local currentImage = label.Image
local weaponName = nil
local wantHires = false
local parent = label.Parent
if label.Name == 'Icon' and parent and type(parent.Name) == 'string' and viewModels[parent.Name] then
weaponName = parent.Name
wantHires = type(currentImage) == 'string'
and viewModels[parent.Name].ImageHighResolution == currentImage
elseif type(currentImage) == 'string' and baseImageToWeapon[currentImage] then
weaponName = baseImageToWeapon[currentImage].weapon
wantHires = baseImageToWeapon[currentImage].hires
end
if weaponName then
local skinName = RivalsCosmetics.ResolveSelectedSkinName(weaponName)
if type(skinName) == 'string' and skinName ~= '' and skinName ~= weaponName then
local svm = viewModels[skinName]
if type(svm) == 'table' then
local newImage = (wantHires and svm.ImageHighResolution) or svm.Image
if type(newImage) == 'string' and label.Image ~= newImage then label.Image = newImage end
end
end
end
end
end
end)
return true
end
function RivalsCosmetics.QueueRuntimeApplyWhenReady()
if RivalsCosmeticsState.RuntimeApplyRetryPending then return false end
RivalsCosmeticsState.RuntimeApplyRetryPending = true
task.spawn(GuardRivalsCallback('Cosmetics_WaitForReplicatedState', function()
while
RivalsCosmeticsState.RuntimeApplyRetryPending
and RivalsCosmeticsState.CosmeticsUiLoaded == true
and (RivalsCosmetics.IsEnabled() or RivalsEmotes.IsEnabled())
and not ReplicatedStateReady
do
task.wait(0.25)
end
RivalsCosmeticsState.RuntimeApplyRetryPending = false
if
RivalsCosmeticsState.CosmeticsUiLoaded == true
and (RivalsCosmetics.IsEnabled() or RivalsEmotes.IsEnabled())
and ReplicatedStateReady
then
RivalsCosmetics.ApplyAll()
RivalsEmotes.ApplyAll()
end
end))
return true
end
function RivalsCosmetics.ShouldUseCosmeticsRuntime()
if RivalsCosmeticsState.CosmeticsUiLoaded ~= true then return false end
if not RivalsCosmetics.IsEnabled() and not RivalsCosmetics.IsWeaponUnlockEnabled() then
RivalsCosmeticsState.RuntimeApplyRetryPending = false
return false
end
if not ReplicatedStateReady then
RivalsCosmetics.QueueRuntimeApplyWhenReady()
return false
end
return true
end
function RivalsCosmetics.SetConfigName(configName)
if type(configName) == 'string' and configName ~= '' then RivalsCosmeticsState.CosmeticsConfigName = configName end
end
function RivalsEmotes.ResolveEmoteValues()
local cachedEmoteValues = RivalsEmotes.Catalog.EmoteValues
if cachedEmoteValues then return cachedEmoteValues end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local values = { DEFAULT_RIVALS_COSMETIC_VALUE }
if type(cosmetics) == 'table' then
local emoteNames = {}
for cosmeticName, cosmeticData in pairs(cosmetics) do
if cosmeticData and cosmeticData.Type == 'Emote' then
if not RivalsCosmetics.IsPlaceholderCatalogName(cosmeticName) then
emoteNames[#emoteNames + 1] = cosmeticName
end
end
end
table.sort(emoteNames)
for _, emoteName in ipairs(emoteNames) do
values[#values + 1] = emoteName
end
end
RivalsEmotes.Catalog.EmoteValues = values
return values
end
function RivalsEmotes.IsCatalogEmoteName(emoteName)
if not RivalsCosmetics.IsCosmeticValueSelected(emoteName) then return false end
if RivalsCosmetics.IsPlaceholderCatalogName(emoteName) then return false end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local cosmeticData = type(cosmetics) == 'table' and cosmetics[emoteName] or nil
return type(cosmeticData) == 'table' and cosmeticData.Type == 'Emote'
end
function RivalsEmotes.ResolveEmoteSlotCount()
local constants = RivalsEmotes.ResolveConstants()
if type(constants) == 'table' then return constants.MAX_EQUIPPABLE_EMOTES or 8 end
return 8
end
function RivalsEmotes.BuildEquippedEmoteData(emoteName)
if not RivalsEmotes.IsCatalogEmoteName(emoteName) then return nil end
return RivalsCosmetics.BuildCosmeticData(nil, emoteName, 'Emote')
end
function RivalsEmotes.BuildUnlockedCosmeticInventory(baseInventory)
local unlockedInventory = {}
if type(baseInventory) == 'table' then
for key, value in pairs(baseInventory) do
unlockedInventory[key] = value
end
end
for _, emoteName in ipairs(RivalsEmotes.ResolveEmoteValues()) do
if RivalsCosmetics.IsCosmeticValueSelected(emoteName) then unlockedInventory[emoteName] = true end
end
return unlockedInventory
end
function RivalsEmotes.ResolveRawCosmeticInventory()
return RivalsCosmetics.ResolveOriginalPlayerDataField('CosmeticInventory')
end
function RivalsEmotes.IsNaturallyOwnedEmote(emoteName)
if not RivalsEmotes.IsCatalogEmoteName(emoteName) then return false end
local inventory = RivalsEmotes.ResolveRawCosmeticInventory()
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
if type(cosmeticLibrary) == 'table' and type(cosmeticLibrary.OwnsCosmetic) == 'function' then
local ok, owns = pcall(cosmeticLibrary.OwnsCosmetic, cosmeticLibrary, inventory, emoteName)
if ok then return owns == true end
end
return type(inventory) == 'table' and inventory[emoteName] ~= nil
end
function RivalsEmotes.ResolveEmoteController()
local cachedEmoteController = RivalsEmotes.Catalog.EmoteController
if cachedEmoteController then return cachedEmoteController end
local playerScripts = RivalsCosmetics.ResolvePlayerScripts()
local controllers = playerScripts and playerScripts:FindFirstChild('Controllers')
local emoteControllerModule = controllers and controllers:FindFirstChild('EmoteController')
if not emoteControllerModule then return nil end
local ok, emoteController = pcall(require, emoteControllerModule)
if not ok or type(emoteController) ~= 'table' then return nil end
RivalsEmotes.Catalog.EmoteController = emoteController
return emoteController
end
function RivalsEmotes.ResolveConstants()
local cachedConstants = RivalsEmotes.Catalog.Constants
if cachedConstants then return cachedConstants end
local modules = ReplicatedStorage:FindFirstChild('Modules')
local constantsModule = modules and modules:FindFirstChild('CONSTANTS')
if not constantsModule then return nil end
local ok, constants = pcall(require, constantsModule)
if not ok or type(constants) ~= 'table' then return nil end
RivalsEmotes.Catalog.Constants = constants
return constants
end
function RivalsEmotes.ResolveCurrentData()
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
return playerDataController and playerDataController.CurrentData or nil
end
function RivalsEmotes.CloneEquippedEmotes(equippedEmotes)
local cloned = {}
if type(equippedEmotes) == 'table' then
for key, value in pairs(equippedEmotes) do
cloned[key] = value
end
end
return cloned
end
function RivalsEmotes.ResolveEquippedEmotes(currentData)
if not currentData then return nil end
if type(currentData.Get) == 'function' then
local ok, equippedEmotes = pcall(function() return currentData:Get('EquippedEmotes') end)
if ok and type(equippedEmotes) == 'table' then return equippedEmotes end
end
local data = type(currentData.Data) == 'table' and currentData.Data or nil
if not data then return nil end
if type(data.EquippedEmotes) ~= 'table' then data.EquippedEmotes = {} end
return data.EquippedEmotes
end
function RivalsEmotes.IsValidEquippedEmoteData(data)
return type(data) == 'table' and RivalsCosmetics.IsCosmeticValueSelected(data.Name)
end
function RivalsEmotes.ResolveSlotOptionId(slotIndex)
local numericSlot = math.floor(tonumber(slotIndex) or 1)
return string.format('P5EMOTE_SLOT%d', numericSlot)
end
function RivalsEmotes.ResolveSelectedEmoteForSlot(slotIndex)
local option = Options[RivalsEmotes.ResolveSlotOptionId(slotIndex)]
local emoteName = option and option.Value or nil
if RivalsEmotes.IsCatalogEmoteName(emoteName) then return emoteName end
return nil
end
function RivalsEmotes.ApplyConfiguredEmoteSlots()
local currentData = RivalsEmotes.ResolveCurrentData()
local equippedEmotes = RivalsEmotes.ResolveEquippedEmotes(currentData)
if not currentData or type(equippedEmotes) ~= 'table' then return false end
local changed = false
for slotIndex = 1, RivalsEmotes.ResolveEmoteSlotCount() do
local emoteName = RivalsEmotes.ResolveSelectedEmoteForSlot(slotIndex)
if emoteName then
local slotKey = tostring(slotIndex)
local slotData = equippedEmotes[slotKey]
if not RivalsEmotes.IsValidEquippedEmoteData(slotData) or slotData.Name ~= emoteName then
if not RivalsCosmeticsState.OriginalEquippedEmotes then
RivalsCosmeticsState.OriginalEquippedEmotes = RivalsEmotes.CloneEquippedEmotes(equippedEmotes)
end
equippedEmotes[slotIndex] = nil
equippedEmotes[slotKey] = RivalsEmotes.BuildEquippedEmoteData(emoteName)
changed = true
end
end
end
if changed and type(currentData.Replicate) == 'function' then
pcall(function() currentData:Replicate('EquippedEmotes') end)
end
return changed
end
function RivalsEmotes.SetEquippedEmote(slotKey, emoteName)
local currentData = RivalsEmotes.ResolveCurrentData()
local equippedEmotes = RivalsEmotes.ResolveEquippedEmotes(currentData)
local numericSlot = tonumber(slotKey)
if not currentData or type(equippedEmotes) ~= 'table' or not numericSlot then return false end
numericSlot = math.floor(numericSlot)
if numericSlot < 1 or numericSlot > RivalsEmotes.ResolveEmoteSlotCount() then return false end
if not RivalsCosmeticsState.OriginalEquippedEmotes then
RivalsCosmeticsState.OriginalEquippedEmotes = RivalsEmotes.CloneEquippedEmotes(equippedEmotes)
end
local normalizedSlotKey = tostring(numericSlot)
local nextData = nil
if RivalsCosmetics.IsCosmeticValueSelected(emoteName) then
nextData = RivalsEmotes.BuildEquippedEmoteData(emoteName)
end
equippedEmotes[numericSlot] = nil
equippedEmotes[normalizedSlotKey] = nextData
if type(currentData.Replicate) == 'function' then pcall(function() currentData:Replicate('EquippedEmotes') end) end
if type(RivalsCosmetics.QueueCosmeticPresetAutoSave) == 'function' then
RivalsCosmetics.QueueCosmeticPresetAutoSave()
end
return true
end
function RivalsEmotes.RestoreEquippedEmotes()
local originalEquippedEmotes = RivalsCosmeticsState.OriginalEquippedEmotes
if type(originalEquippedEmotes) ~= 'table' then return false end
local currentData = RivalsEmotes.ResolveCurrentData()
local equippedEmotes = RivalsEmotes.ResolveEquippedEmotes(currentData)
if not currentData or type(equippedEmotes) ~= 'table' then
RivalsCosmeticsState.OriginalEquippedEmotes = nil
return false
end
for key in pairs(equippedEmotes) do
equippedEmotes[key] = nil
end
for key, value in pairs(originalEquippedEmotes) do
equippedEmotes[key] = value
end
RivalsCosmeticsState.OriginalEquippedEmotes = nil
if type(currentData.Replicate) == 'function' then pcall(function() currentData:Replicate('EquippedEmotes') end) end
return true
end
function RivalsEmotes.ResolveLocalEntity()
local fighter = ResolveLocalFighter()
return fighter and fighter.Entity or nil
end
function RivalsEmotes.ShouldUseLocalPlayback(emoteName)
return RivalsEmotes.IsEnabled()
and RivalsEmotes.IsCatalogEmoteName(emoteName)
and not RivalsEmotes.IsNaturallyOwnedEmote(emoteName)
end
function RivalsEmotes.PlayLocalEmoteByName(emoteName)
if not RivalsEmotes.IsCatalogEmoteName(emoteName) then return false end
local entity = RivalsEmotes.ResolveLocalEntity()
if type(entity) ~= 'table' or type(entity.PlayEmote) ~= 'function' then return false end
local emoteData = RivalsEmotes.BuildEquippedEmoteData(emoteName)
if type(emoteData) ~= 'table' then return false end
local ok = pcall(function() entity:PlayEmote(emoteData) end)
return ok == true
end
function RivalsEmotes.EnsureEmoteControllerHook()
if RivalsCosmeticsState.EmoteControllerHooked then return true end
local emoteController = RivalsEmotes.ResolveEmoteController()
if
type(emoteController) ~= 'table'
or type(emoteController.EquipEmote) ~= 'function'
or type(emoteController.UseEmoteByName) ~= 'function'
then
return false
end
local originalEquipEmote = emoteController.EquipEmote
local originalUseEmoteByName = emoteController.UseEmoteByName
emoteController.EquipEmote = function(self, slotKey, emoteName, ...)
if RivalsEmotes.IsEnabled() and not RivalsEmotes.IsNaturallyOwnedEmote(emoteName) then
if RivalsEmotes.SetEquippedEmote(slotKey, emoteName) then return end
end
return originalEquipEmote(self, slotKey, emoteName, ...)
end
emoteController.UseEmoteByName = function(self, emoteName, ...)
if RivalsEmotes.ShouldUseLocalPlayback(emoteName) and RivalsEmotes.PlayLocalEmoteByName(emoteName) then
return
end
return originalUseEmoteByName(self, emoteName, ...)
end
RivalsCosmeticsState.HookedEmoteController = emoteController
RivalsCosmeticsState.OriginalEmoteControllerEquipEmote = originalEquipEmote
RivalsCosmeticsState.OriginalEmoteControllerUseEmoteByName = originalUseEmoteByName
RivalsCosmeticsState.EmoteControllerHooked = true
return true
end
function RivalsEmotes.RestoreEmoteControllerHook()
local emoteController = RivalsCosmeticsState.HookedEmoteController
local originalEquipEmote = RivalsCosmeticsState.OriginalEmoteControllerEquipEmote
local originalUseEmoteByName = RivalsCosmeticsState.OriginalEmoteControllerUseEmoteByName
if type(emoteController) == 'table' and type(originalEquipEmote) == 'function' then
emoteController.EquipEmote = originalEquipEmote
end
if type(emoteController) == 'table' and type(originalUseEmoteByName) == 'function' then
emoteController.UseEmoteByName = originalUseEmoteByName
end
RivalsCosmeticsState.HookedEmoteController = nil
RivalsCosmeticsState.OriginalEmoteControllerEquipEmote = nil
RivalsCosmeticsState.OriginalEmoteControllerUseEmoteByName = nil
RivalsCosmeticsState.EmoteControllerHooked = false
return true
end
function RivalsEmotes.ShouldUseRuntime()
if RivalsCosmeticsState.CosmeticsUiLoaded ~= true then return false end
if not RivalsEmotes.IsEnabled() then return false end
if not ReplicatedStateReady then
RivalsCosmetics.QueueRuntimeApplyWhenReady()
return false
end
return true
end
function RivalsEmotes.ApplyAll()
if not RivalsEmotes.ShouldUseRuntime() then return false end
pcall(RivalsCosmetics.EnsurePlayerDataHook)
pcall(RivalsEmotes.EnsureEmoteControllerHook)
pcall(RivalsEmotes.ApplyConfiguredEmoteSlots)
return true
end
function RivalsEmotes.RestoreAll()
pcall(RivalsEmotes.RestoreEquippedEmotes)
pcall(RivalsEmotes.RestoreEmoteControllerHook)
if not RivalsCosmetics.IsEnabled() then pcall(RivalsCosmetics.RestorePlayerDataHook) end
return true
end
function RivalsCosmetics.LoadSavedSelectionsFromConfig()
local configPath = ScriptPaths.config_path(RivalsCosmeticsState.CosmeticsConfigName or 'RIVALS Default')
if not isfile(configPath) then return false end
local readOk, rawConfig = pcall(readfile, configPath)
if not readOk or type(rawConfig) ~= 'string' then return false end
local decodeOk, decoded = pcall(function() return HttpService:JSONDecode(rawConfig) end)
local objects = decodeOk and type(decoded) == 'table' and decoded.objects or nil
if type(objects) ~= 'table' then return false end
local loadedAny = false
local loadedPreviewWeaponName = nil
local hasNativeCosmeticState = false
for _, object in ipairs(objects) do
if
object
and object.idx == RIVALS_FAVORITES_STATE_OPTION_ID
and type(object.value) == 'table'
and object.value.nativeVersion == 1
then
hasNativeCosmeticState = true
break
end
end
RivalsCosmetics.RestoreAppliedCosmetics()
RivalsCosmeticsState.SelectedSkinByWeapon = {}
RivalsCosmeticsState.SelectedWrapByWeapon = {}
RivalsCosmeticsState.SelectedCharmByWeapon = {}
RivalsCosmeticsState.SelectedFinisherByWeapon = {}
RivalsCosmeticsState.SelectedWrapInvertedByWeapon = {}
RivalsCosmeticsState.StableRandomSelectionByWeapon = {}
RivalsCosmeticsState.FavoritedCosmeticsByWeapon = {}
RivalsCosmeticsState.OnlyUseFavoritesByWeapon = {}
RivalsCosmeticsState.NativeFavoritesSeeded = false
RivalsCosmeticsState.RankCharmOverridesBySeason = {}
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
for _, object in ipairs(objects) do
local optionId = object and object.idx or nil
local optionInfo = RivalsCosmetics.ResolveCosmeticOptionInfo(optionId)
if optionInfo and hasNativeCosmeticState then
loadedPreviewWeaponName = loadedPreviewWeaponName or optionInfo.weaponName
if optionInfo.type == 'Toggle' then
RivalsCosmetics.SetStoredSelection(optionInfo.weaponName, optionInfo.kind, object.value == true)
else
RivalsCosmetics.SetStoredSelection(optionInfo.weaponName, optionInfo.kind, object.value)
end
loadedAny = true
elseif optionId == RIVALS_FAVORITES_STATE_OPTION_ID and hasNativeCosmeticState then
local favoritesState = RivalsCosmetics.NormalizeFavoritesState(object.value)
RivalsCosmeticsState.FavoritedCosmeticsByWeapon = favoritesState.favorites
RivalsCosmeticsState.OnlyUseFavoritesByWeapon = favoritesState.onlyUse
RivalsCosmeticsState.NativeFavoritesSeeded = type(object.value) == 'table'
and object.value.nativeVersion == 1
or next(favoritesState.favorites) ~= nil
or next(favoritesState.onlyUse) ~= nil
loadedAny = true
elseif optionId == RivalsCosmetics.ResolveEditorOptionId('Weapon') then
RivalsCosmetics.SetSelectedEditorWeapon(object.value)
end
end
if loadedPreviewWeaponName then
RivalsCosmeticsState.SelectedEditorWeaponName = loadedPreviewWeaponName
RivalsCosmetics.SetPreviewWeaponName(loadedPreviewWeaponName)
end
RivalsCosmetics.SyncActiveWeaponEditorFromState()
RivalsCosmetics.SyncFavoriteEditorFromState()
RivalsCosmetics.SyncRankCharmEditorFromState()
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
return loadedAny
end
function RivalsCosmetics.CaptureSavedSelectionsBeforeConfigSave()
RivalsCosmeticsState.SavedConfigCosmeticObjects = {}
return false
end
function RivalsCosmetics.ResolveSelectionConfigObjectsById()
local objectsById = {}
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
local skinValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Skin')
if skinValue ~= nil then
local skinOptionId = RivalsCosmetics.ResolveSkinOptionId(weaponName)
objectsById[skinOptionId] = {
idx = skinOptionId,
type = 'Dropdown',
value = skinValue,
}
end
local wrapValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Wrap')
if wrapValue ~= nil then
local wrapOptionId = RivalsCosmetics.ResolveWrapOptionId(weaponName)
objectsById[wrapOptionId] = {
idx = wrapOptionId,
type = 'Dropdown',
value = wrapValue,
}
end
local charmValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Charm')
if charmValue ~= nil then
local charmOptionId = RivalsCosmetics.ResolveCharmOptionId(weaponName)
objectsById[charmOptionId] = {
idx = charmOptionId,
type = 'Dropdown',
value = charmValue,
}
end
local finisherValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'Finisher')
if finisherValue ~= nil then
local finisherOptionId = RivalsCosmetics.ResolveFinisherOptionId(weaponName)
objectsById[finisherOptionId] = {
idx = finisherOptionId,
type = 'Dropdown',
value = finisherValue,
}
end
local invertedValue = RivalsCosmetics.ResolveStoredSelectionValue(weaponName, 'WrapInverted')
if invertedValue ~= nil then
local invertedOptionId = RivalsCosmetics.ResolveWrapInvertedOptionId(weaponName)
objectsById[invertedOptionId] = {
idx = invertedOptionId,
type = 'Toggle',
value = invertedValue == true,
}
end
end
local nativeFavoritesState = RivalsCosmetics.ResolveFavoritesState()
nativeFavoritesState.nativeVersion = 1
objectsById[RIVALS_FAVORITES_STATE_OPTION_ID] = {
idx = RIVALS_FAVORITES_STATE_OPTION_ID,
type = 'CosmeticFavorites',
value = nativeFavoritesState,
}
return objectsById
end
function RivalsCosmetics.SaveSelectionsToConfig()
local configPath = ScriptPaths.config_path(RivalsCosmeticsState.CosmeticsConfigName or 'RIVALS Default')
if not isfile(configPath) then
local created = pcall(function()
local folder = configPath:match('^(.*)[/\\][^/\\]+$')
if folder and isfolder and not isfolder(folder) and makefolder then makefolder(folder) end
writefile(configPath, HttpService:JSONEncode({ objects = {} }))
end)
if not created or not isfile(configPath) then
RivalsCosmeticsState.SavedConfigCosmeticObjects = nil
return false
end
end
local readOk, rawConfig = pcall(readfile, configPath)
if not readOk or type(rawConfig) ~= 'string' then
RivalsCosmeticsState.SavedConfigCosmeticObjects = nil
return false
end
local decodeOk, decoded = pcall(function() return HttpService:JSONDecode(rawConfig) end)
if not decodeOk or type(decoded) ~= 'table' then
RivalsCosmeticsState.SavedConfigCosmeticObjects = nil
return false
end
local existingObjects = type(decoded.objects) == 'table' and decoded.objects or {}
local cosmeticObjectsById = {}
for optionId, object in pairs(RivalsCosmeticsState.SavedConfigCosmeticObjects or {}) do
cosmeticObjectsById[optionId] = RivalsCosmetics.CloneConfigObject(object)
end
local selectedObjectsById = RivalsCosmetics.ResolveSelectionConfigObjectsById()
for optionId, object in pairs(selectedObjectsById) do
cosmeticObjectsById[optionId] = object
end
local mergedObjects = {}
for _, object in ipairs(existingObjects) do
local optionId = object and object.idx or nil
if not RivalsCosmetics.IsCosmeticOptionId(optionId) then mergedObjects[#mergedObjects + 1] = object end
end
local cosmeticOptionIds = {}
for optionId in pairs(cosmeticObjectsById) do
cosmeticOptionIds[#cosmeticOptionIds + 1] = optionId
end
table.sort(cosmeticOptionIds)
for _, optionId in ipairs(cosmeticOptionIds) do
local object = cosmeticObjectsById[optionId]
if object then mergedObjects[#mergedObjects + 1] = object end
end
decoded.objects = mergedObjects
RivalsCosmeticsState.SavedConfigCosmeticObjects = nil
return pcall(function() writefile(configPath, HttpService:JSONEncode(decoded)) end)
end
local _COSMETIC_CACHE_PATH = 'ZkxHub/CosmCache.json'
function RivalsCosmetics.SaveCosmeticsCache()
local objectsById = RivalsCosmetics.ResolveSelectionConfigObjectsById()
local objects = {}
for _, obj in pairs(objectsById) do
if type(obj) == 'table' and obj.idx ~= nil then objects[#objects + 1] = obj end
end
table.sort(objects, function(a, b) return tostring(a.idx) < tostring(b.idx) end)
local payload = { version = 1, objects = objects }
local ok = pcall(function()
if isfolder and not isfolder('ZkxHub') and makefolder then makefolder('ZkxHub') end
writefile(_COSMETIC_CACHE_PATH, HttpService:JSONEncode(payload))
end)
return ok
end
function RivalsCosmetics.LoadCosmeticsCache()
if not (isfile and isfile(_COSMETIC_CACHE_PATH)) then return false end
local readOk, raw = pcall(readfile, _COSMETIC_CACHE_PATH)
if not readOk or type(raw) ~= 'string' then return false end
local ok, decoded = pcall(function() return HttpService:JSONDecode(raw) end)
if not ok or type(decoded) ~= 'table' then return false end
local objects = type(decoded.objects) == 'table' and decoded.objects or {}
local loadedAny = false
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
for _, object in ipairs(objects) do
local optionId = object and object.idx or nil
local optionInfo = RivalsCosmetics.ResolveCosmeticOptionInfo(optionId)
if optionInfo then
if optionInfo.type == 'Toggle' then
RivalsCosmetics.SetStoredSelection(optionInfo.weaponName, optionInfo.kind, object.value == true)
else
RivalsCosmetics.SetStoredSelection(optionInfo.weaponName, optionInfo.kind, object.value)
end
loadedAny = true
end
end
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
return loadedAny
end
function RivalsCosmetics.CloneSerializable(value, seen)
if type(value) ~= 'table' then return value end
seen = seen or {}
if seen[value] then return nil end
local clone = {}
seen[value] = clone
for key, child in pairs(value) do
local clonedChild = RivalsCosmetics.CloneSerializable(child, seen)
if clonedChild ~= nil then clone[key] = clonedChild end
end
return clone
end
function RivalsCosmetics.ResolveCosmeticPresetSettings(value)
value = type(value) == 'table' and value or {}
return {
selectedName = type(value.selectedName) == 'string' and value.selectedName or '',
autoLoad = value.autoLoad == true,
autoLoadName = type(value.autoLoadName) == 'string' and value.autoLoadName or '',
autoSave = value.autoSave == true,
autoSaveName = type(value.autoSaveName) == 'string' and value.autoSaveName or '',
}
end
function RivalsCosmetics.NormalizePresetSelectionTable(value, kind)
local normalized = {}
if type(value) ~= 'table' then return normalized end
for weaponName, selection in pairs(value) do
if RivalsCosmetics.IsKnownWeaponName(weaponName) then
if kind == 'WrapInverted' then
normalized[weaponName] = selection == true
else
selection = RivalsCosmetics.NormalizeSelectionValue(selection)
local values = RivalsCosmetics.ResolveBaseSelectionValues(weaponName, kind)
if RivalsCosmetics.ResolveValidDropdownValue(selection, values) == selection then
normalized[weaponName] = selection
end
end
end
end
return normalized
end
function RivalsCosmetics.ResolveCosmeticPresetEmotes()
local emotes = {}
for slotIndex = 1, RivalsEmotes.ResolveEmoteSlotCount() do
local option = Options[RivalsEmotes.ResolveSlotOptionId(slotIndex)]
emotes[tostring(slotIndex)] = option and option.Value or DEFAULT_RIVALS_COSMETIC_VALUE
end
return emotes
end
function RivalsCosmetics.NormalizeCosmeticPresetEmotes(value)
local normalized = {}
local available = RivalsEmotes.ResolveEmoteValues()
value = type(value) == 'table' and value or {}
for slotIndex = 1, RivalsEmotes.ResolveEmoteSlotCount() do
local slotKey = tostring(slotIndex)
local emoteName = value[slotKey] or value[slotIndex] or DEFAULT_RIVALS_COSMETIC_VALUE
if RivalsCosmetics.ResolveValidDropdownValue(emoteName, available) ~= emoteName then
emoteName = DEFAULT_RIVALS_COSMETIC_VALUE
end
normalized[slotKey] = emoteName
end
return normalized
end
function RivalsCosmetics.BuildDefaultCosmeticPresetSnapshot()
local emotes = {}
for slotIndex = 1, RivalsEmotes.ResolveEmoteSlotCount() do
emotes[tostring(slotIndex)] = DEFAULT_RIVALS_COSMETIC_VALUE
end
return {
version = 1,
weaponCosmeticsEnabled = false,
emotesEnabled = false,
selectedWeapon = RIVALS_COSMETIC_ALL_WEAPONS,
skins = {},
wraps = {},
charms = {},
finishers = {},
wrapInverted = {},
favorites = { favorites = {}, onlyUse = {} },
rankCharmOverrides = {},
emotes = emotes,
}
end
function RivalsCosmetics.BuildCurrentCosmeticPresetSnapshot()
return {
version = 1,
weaponCosmeticsEnabled = RivalsCosmetics.IsEnabled(),
emotesEnabled = RivalsEmotes.IsEnabled(),
selectedWeapon = RivalsCosmetics.ResolveSelectedEditorWeaponName(),
skins = RivalsCosmetics.CloneSerializable(RivalsCosmeticsState.SelectedSkinByWeapon),
wraps = RivalsCosmetics.CloneSerializable(RivalsCosmeticsState.SelectedWrapByWeapon),
charms = RivalsCosmetics.CloneSerializable(RivalsCosmeticsState.SelectedCharmByWeapon),
finishers = RivalsCosmetics.CloneSerializable(RivalsCosmeticsState.SelectedFinisherByWeapon),
wrapInverted = RivalsCosmetics.CloneSerializable(RivalsCosmeticsState.SelectedWrapInvertedByWeapon),
favorites = RivalsCosmetics.ResolveFavoritesState(),
rankCharmOverrides = RivalsCosmetics.NormalizeRankCharmOverrides(
RivalsCosmeticsState.RankCharmOverridesBySeason
),
emotes = RivalsCosmetics.ResolveCosmeticPresetEmotes(),
}
end
function RivalsCosmetics.NormalizeCosmeticPresetSnapshot(value)
value = type(value) == 'table' and value or {}
local favorites = RivalsCosmetics.NormalizeFavoritesState(value.favorites)
local selectedWeapon = RivalsCosmetics.IsKnownEditorWeaponName(value.selectedWeapon) and value.selectedWeapon
or RIVALS_COSMETIC_ALL_WEAPONS
return {
version = 1,
weaponCosmeticsEnabled = value.weaponCosmeticsEnabled == true,
emotesEnabled = value.emotesEnabled == true,
selectedWeapon = selectedWeapon,
skins = RivalsCosmetics.NormalizePresetSelectionTable(value.skins, 'Skin'),
wraps = RivalsCosmetics.NormalizePresetSelectionTable(value.wraps, 'Wrap'),
charms = RivalsCosmetics.NormalizePresetSelectionTable(value.charms, 'Charm'),
finishers = RivalsCosmetics.NormalizePresetSelectionTable(value.finishers, 'Finisher'),
wrapInverted = RivalsCosmetics.NormalizePresetSelectionTable(value.wrapInverted, 'WrapInverted'),
favorites = favorites,
rankCharmOverrides = RivalsCosmetics.NormalizeRankCharmOverrides(value.rankCharmOverrides),
emotes = RivalsCosmetics.NormalizeCosmeticPresetEmotes(value.emotes),
}
end
function RivalsCosmetics.LoadCosmeticPresetStore()
if RivalsCosmeticsState.CosmeticPresetsLoaded then return true end
RivalsCosmeticsState.CosmeticPresetsLoaded = true
RivalsCosmeticsState.CosmeticPresets = {}
RivalsCosmeticsState.CosmeticPresetSettings = RivalsCosmetics.ResolveCosmeticPresetSettings(nil)
if not isfile(RivalsCosmetics.CosmeticPresetPath) then return true end
local readOk, raw = pcall(readfile, RivalsCosmetics.CosmeticPresetPath)
local decodeOk, decoded = pcall(function() return HttpService:JSONDecode(raw) end)
if not readOk or not decodeOk or type(decoded) ~= 'table' then return false end
for name, snapshot in pairs(type(decoded.presets) == 'table' and decoded.presets or {}) do
if type(name) == 'string' and name ~= '' and type(snapshot) == 'table' then
RivalsCosmeticsState.CosmeticPresets[name] = RivalsCosmetics.NormalizeCosmeticPresetSnapshot(snapshot)
end
end
local settings = RivalsCosmetics.ResolveCosmeticPresetSettings(decoded.settings)
for _, key in ipairs({ 'selectedName', 'autoLoadName', 'autoSaveName' }) do
if RivalsCosmeticsState.CosmeticPresets[settings[key]] == nil then settings[key] = '' end
end
RivalsCosmeticsState.CosmeticPresetSettings = settings
return true
end
function RivalsCosmetics.SaveCosmeticPresetStore()
RivalsCosmetics.LoadCosmeticPresetStore()
local payload = {
version = 1,
presets = RivalsCosmeticsState.CosmeticPresets,
settings = RivalsCosmeticsState.CosmeticPresetSettings,
}
return pcall(function()
if not isfolder('ZkxHub') then makefolder('ZkxHub') end
writefile(RivalsCosmetics.CosmeticPresetPath, HttpService:JSONEncode(payload))
end)
end
function RivalsCosmetics.ResolveCosmeticPresetNames()
RivalsCosmetics.LoadCosmeticPresetStore()
local names = {}
for name in pairs(RivalsCosmeticsState.CosmeticPresets) do
names[#names + 1] = name
end
table.sort(names)
return names
end
function RivalsCosmetics.RefreshCosmeticPresetControls()
local names = RivalsCosmetics.ResolveCosmeticPresetNames()
local settings = RivalsCosmeticsState.CosmeticPresetSettings
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
for _, optionId in ipairs({ 'P5PRESET_SELECTED', 'P5PRESET_AUTOLOAD_NAME', 'P5PRESET_AUTOSAVE_NAME' }) do
local option = Options[optionId]
if option and type(option.SetValues) == 'function' then option:SetValues(names) end
end
local selectedOption = Options.P5PRESET_SELECTED
if selectedOption and type(selectedOption.SetValue) == 'function' then
selectedOption:SetValue(settings.selectedName ~= '' and settings.selectedName or nil)
end
local autoLoadNameOption = Options.P5PRESET_AUTOLOAD_NAME
if autoLoadNameOption and type(autoLoadNameOption.SetValue) == 'function' then
autoLoadNameOption:SetValue(settings.autoLoadName ~= '' and settings.autoLoadName or nil)
end
local autoSaveNameOption = Options.P5PRESET_AUTOSAVE_NAME
if autoSaveNameOption and type(autoSaveNameOption.SetValue) == 'function' then
autoSaveNameOption:SetValue(settings.autoSaveName ~= '' and settings.autoSaveName or nil)
end
local autoLoadToggle = Toggles.P5PRESET_AUTOLOAD
if autoLoadToggle and type(autoLoadToggle.SetValue) == 'function' then
autoLoadToggle:SetValue(settings.autoLoad)
end
local autoSaveToggle = Toggles.P5PRESET_AUTOSAVE
if autoSaveToggle and type(autoSaveToggle.SetValue) == 'function' then
autoSaveToggle:SetValue(settings.autoSave)
end
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
return names
end
function RivalsCosmetics.SanitizeCosmeticPresetName(value)
return type(value) == 'string' and (value:gsub('%s+', '')) or ''
end
function RivalsCosmetics.CreateCosmeticPreset(name)
RivalsCosmetics.LoadCosmeticPresetStore()
name = RivalsCosmetics.SanitizeCosmeticPresetName(name)
if name == '' or RivalsCosmeticsState.CosmeticPresets[name] ~= nil then return false end
local settings = RivalsCosmeticsState.CosmeticPresetSettings
RivalsCosmeticsState.CosmeticPresets[name] = RivalsCosmetics.BuildDefaultCosmeticPresetSnapshot()
local previousSelected = settings.selectedName
settings.selectedName = name
if not RivalsCosmetics.SaveCosmeticPresetStore() then
RivalsCosmeticsState.CosmeticPresets[name] = nil
settings.selectedName = previousSelected
return false
end
RivalsCosmetics.RefreshCosmeticPresetControls()
return true
end
function RivalsCosmetics.SetSelectedCosmeticPreset(name)
RivalsCosmetics.LoadCosmeticPresetStore()
if type(name) ~= 'string' or RivalsCosmeticsState.CosmeticPresets[name] == nil then return false end
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local previous = settings.selectedName
settings.selectedName = name
if not RivalsCosmetics.SaveCosmeticPresetStore() then
settings.selectedName = previous
RivalsCosmetics.RefreshCosmeticPresetControls()
return false
end
return true
end
function RivalsCosmetics.SaveSelectedCosmeticPreset()
RivalsCosmetics.LoadCosmeticPresetStore()
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local name = settings.selectedName
if RivalsCosmeticsState.CosmeticPresets[name] == nil then return false end
local previous = RivalsCosmeticsState.CosmeticPresets[name]
RivalsCosmeticsState.CosmeticPresets[name] = RivalsCosmetics.BuildCurrentCosmeticPresetSnapshot()
if not RivalsCosmetics.SaveCosmeticPresetStore() then
RivalsCosmeticsState.CosmeticPresets[name] = previous
return false
end
return true
end
function RivalsCosmetics.ApplyCosmeticPresetSnapshot(snapshot)
snapshot = RivalsCosmetics.NormalizeCosmeticPresetSnapshot(snapshot)
local previousRefreshing = RivalsCosmeticsState.RefreshingDropdownValues
RivalsCosmeticsState.ApplyingCosmeticPreset = true
local ok, result = xpcall(function()
local cosmeticsToggle = Toggles.P5S1T2
local emotesToggle = Toggles.P5S1T3
if cosmeticsToggle and type(cosmeticsToggle.SetValue) == 'function' then cosmeticsToggle:SetValue(false) end
if emotesToggle and type(emotesToggle.SetValue) == 'function' then emotesToggle:SetValue(false) end
RivalsCosmetics.RestoreAppliedCosmetics()
RivalsCosmeticsState.SelectedSkinByWeapon = snapshot.skins
RivalsCosmeticsState.SelectedWrapByWeapon = snapshot.wraps
RivalsCosmeticsState.SelectedCharmByWeapon = snapshot.charms
RivalsCosmeticsState.SelectedFinisherByWeapon = snapshot.finishers
RivalsCosmeticsState.SelectedWrapInvertedByWeapon = snapshot.wrapInverted
RivalsCosmeticsState.FavoritedCosmeticsByWeapon = snapshot.favorites.favorites
RivalsCosmeticsState.OnlyUseFavoritesByWeapon = snapshot.favorites.onlyUse
RivalsCosmeticsState.RankCharmOverridesBySeason = snapshot.rankCharmOverrides
RivalsCosmeticsState.StableRandomSelectionByWeapon = {}
RivalsCosmeticsState.SelectedEditorWeaponName = snapshot.selectedWeapon
RivalsCosmeticsState.RefreshingDropdownValues = RivalsCosmeticsState.RefreshingDropdownValues + 1
for slotIndex = 1, RivalsEmotes.ResolveEmoteSlotCount() do
local option = Options[RivalsEmotes.ResolveSlotOptionId(slotIndex)]
if option and type(option.SetValue) == 'function' then
option:SetValue(snapshot.emotes[tostring(slotIndex)])
end
end
RivalsCosmeticsState.RefreshingDropdownValues = math.max(RivalsCosmeticsState.RefreshingDropdownValues - 1, 0)
RivalsCosmetics.SyncActiveWeaponEditorFromState()
RivalsCosmetics.SyncFavoriteEditorFromState()
RivalsCosmetics.SyncRankCharmEditorFromState()
pcall(RivalsCosmetics.UpdatePreviewViewport)
if cosmeticsToggle and type(cosmeticsToggle.SetValue) == 'function' then
cosmeticsToggle:SetValue(snapshot.weaponCosmeticsEnabled)
end
if emotesToggle and type(emotesToggle.SetValue) == 'function' then
emotesToggle:SetValue(snapshot.emotesEnabled)
end
RivalsCosmetics.ApplyAll()
RivalsEmotes.ApplyAll()
return true
end, function(err) return debug.traceback(string.format('[Cosmetics_ApplyPreset] %s', tostring(err)), 2) end)
RivalsCosmeticsState.ApplyingCosmeticPreset = false
RivalsCosmeticsState.RefreshingDropdownValues = previousRefreshing
if not ok then error(result, 0) end
return result == true
end
function RivalsCosmetics.LoadSelectedCosmeticPreset()
RivalsCosmetics.LoadCosmeticPresetStore()
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local snapshot = RivalsCosmeticsState.CosmeticPresets[settings.selectedName]
if not snapshot then return false end
return RivalsCosmetics.ApplyCosmeticPresetSnapshot(snapshot)
end
function RivalsCosmetics.DeleteSelectedCosmeticPreset()
RivalsCosmetics.LoadCosmeticPresetStore()
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local name = settings.selectedName
local snapshot = RivalsCosmeticsState.CosmeticPresets[name]
if not snapshot then return false end
local previousSettings = RivalsCosmetics.CloneSerializable(settings)
RivalsCosmeticsState.CosmeticPresets[name] = nil
settings.selectedName = ''
if settings.autoLoadName == name then settings.autoLoadName = '' end
if settings.autoSaveName == name then settings.autoSaveName = '' end
if not RivalsCosmetics.SaveCosmeticPresetStore() then
RivalsCosmeticsState.CosmeticPresets[name] = snapshot
RivalsCosmeticsState.CosmeticPresetSettings = previousSettings
return false
end
RivalsCosmetics.RefreshCosmeticPresetControls()
return true
end
function RivalsCosmetics.SetCosmeticPresetSetting(key, value)
RivalsCosmetics.LoadCosmeticPresetStore()
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local previous = settings[key]
if key == 'autoLoad' or key == 'autoSave' then
settings[key] = value == true
elseif key == 'autoLoadName' or key == 'autoSaveName' then
if type(value) ~= 'string' or RivalsCosmeticsState.CosmeticPresets[value] == nil then return false end
settings[key] = value
else
return false
end
if not RivalsCosmetics.SaveCosmeticPresetStore() then
settings[key] = previous
RivalsCosmetics.RefreshCosmeticPresetControls()
return false
end
return true
end
function RivalsCosmetics.ApplyCosmeticPresetAutoLoad()
RivalsCosmetics.LoadCosmeticPresetStore()
if RivalsCosmeticsState.CosmeticPresetAutoLoadApplied then return false end
RivalsCosmeticsState.CosmeticPresetAutoLoadApplied = true
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local snapshot = settings.autoLoad and RivalsCosmeticsState.CosmeticPresets[settings.autoLoadName] or nil
if not snapshot then return false end
settings.selectedName = settings.autoLoadName
RivalsCosmetics.RefreshCosmeticPresetControls()
return RivalsCosmetics.ApplyCosmeticPresetSnapshot(snapshot)
end
function RivalsCosmetics.QueueCosmeticPresetAutoSave()
if RivalsCosmeticsState.ApplyingCosmeticPreset or RivalsCosmeticsState.CosmeticsUiLoaded ~= true then
return false
end
RivalsCosmeticsState.CosmeticPresetSaveToken = RivalsCosmeticsState.CosmeticPresetSaveToken + 1
local token = RivalsCosmeticsState.CosmeticPresetSaveToken
task.defer(GuardRivalsCallback('Cosmetics_PresetAutoSave', function()
if token ~= RivalsCosmeticsState.CosmeticPresetSaveToken or RivalsCosmeticsState.ApplyingCosmeticPreset then
return
end
RivalsCosmetics.LoadCosmeticPresetStore()
local settings = RivalsCosmeticsState.CosmeticPresetSettings
local name = settings.autoSave and settings.autoSaveName or ''
if RivalsCosmeticsState.CosmeticPresets[name] == nil then return end
local previous = RivalsCosmeticsState.CosmeticPresets[name]
RivalsCosmeticsState.CosmeticPresets[name] = RivalsCosmetics.BuildCurrentCosmeticPresetSnapshot()
if not RivalsCosmetics.SaveCosmeticPresetStore() then RivalsCosmeticsState.CosmeticPresets[name] = previous end
end))
return true
end
function RivalsCosmetics.ResolveSkinSourceModel(weaponName, skinName)
if type(weaponName) ~= 'string' or weaponName == '' or not RivalsCosmetics.IsCosmeticValueSelected(skinName) then
return nil
end
local cacheKey = string.format('SkinSource_%s_%s', weaponName, skinName)
local cachedSkinSource = RivalsCosmetics.Catalog[cacheKey]
if cachedSkinSource and cachedSkinSource.Parent then return cachedSkinSource end
local cosmeticLibrary = RivalsCosmetics.ResolveCosmeticLibrary()
local cosmetics = cosmeticLibrary and cosmeticLibrary.Cosmetics or nil
local cosmeticData = type(cosmetics) == 'table' and cosmetics[skinName] or nil
if not cosmeticData or cosmeticData.Type ~= 'Skin' or cosmeticData.ItemName ~= weaponName then return nil end
local viewModelsRoot = RivalsCosmetics.ResolveViewModelsRoot()
if not viewModelsRoot then return nil end
local folderName = cosmeticData.Folder
if type(folderName) == 'string' and folderName ~= '' then
local folder = viewModelsRoot:FindFirstChild(folderName)
local folderSource = folder and folder:FindFirstChild(skinName, true)
if folderSource and RivalsCosmetics.IsModelContainer(folderSource) then
RivalsCosmetics.Catalog[cacheKey] = folderSource
return folderSource
end
end
local sourceModel = viewModelsRoot:FindFirstChild(skinName, true)
if sourceModel and RivalsCosmetics.IsModelContainer(sourceModel) then
RivalsCosmetics.Catalog[cacheKey] = sourceModel
return sourceModel
end
return nil
end
function RivalsCosmetics.ClonePreviewObject(instance, previewName)
if not instance then return nil end
if instance:IsA('Model') or instance:IsA('BasePart') then
local clone = RivalsCosmetics.SafeClone(instance)
if not clone then return nil end
clone.Name = previewName or clone.Name
RivalsCosmetics.AnchorPreviewDescendants(clone)
if not RivalsCosmetics.HasRenderableDescendant(clone) then
clone:Destroy()
return nil
end
return clone
end
if instance:IsA('Folder') then
local previewModel = Instance.new('Model')
previewModel.Name = previewName or instance.Name
for _, child in ipairs(instance:GetChildren()) do
local childClone = RivalsCosmetics.SafeClone(child)
if childClone then childClone.Parent = previewModel end
end
if #previewModel:GetChildren() > 0 and RivalsCosmetics.HasRenderableDescendant(previewModel) then
RivalsCosmetics.AnchorPreviewDescendants(previewModel)
return previewModel
end
previewModel:Destroy()
end
return nil
end
function RivalsCosmetics.BuildPreviewModel(weaponName)
local previewWeaponName = type(weaponName) == 'string' and weaponName ~= '' and weaponName
or RivalsCosmetics.ResolvePreviewWeaponName()
local selectedSkinName = previewWeaponName and RivalsCosmetics.ResolveSelectedSkinName(previewWeaponName) or nil
local skinSelectionValue = previewWeaponName and RivalsCosmetics.ResolveSkinSelectionValue(previewWeaponName) or nil
local previewSource = nil
if selectedSkinName then
previewSource = RivalsCosmetics.ResolveSkinSourceModel(previewWeaponName, selectedSkinName)
elseif skinSelectionValue == RIVALS_COSMETIC_NONE then
previewSource = RivalsCosmetics.ResolveDefaultWeaponTemplate(previewWeaponName)
end
previewSource = previewSource
or (previewWeaponName and RivalsCosmetics.ResolveWeaponTemplate(previewWeaponName) or nil)
local previewModel = RivalsCosmetics.ClonePreviewObject(
previewSource,
previewWeaponName and string.format('Preview_%s', previewWeaponName) or 'Preview'
)
if not previewModel then
previewModel = Instance.new('Part')
previewModel.Name = 'PreviewPlaceholder'
previewModel.Anchored = true
previewModel.CanCollide = false
previewModel.Transparency = 1
previewModel.Size = Vector3.new(1, 1, 1)
end
return previewModel
end
function RivalsCosmetics.ResolvePreviewViewportModel()
local viewportModel = RivalsCosmeticsState.PreviewViewportModel
if viewportModel and viewportModel:IsA('Model') then return viewportModel end
viewportModel = Instance.new('Model')
viewportModel.Name = 'RIVALS_CosmeticsPreview'
RivalsCosmeticsState.PreviewViewportModel = viewportModel
return viewportModel
end
function RivalsCosmetics.CopyPreviewModelIntoViewportModel(targetModel, sourceModel)
if not targetModel or not targetModel:IsA('Model') or not sourceModel then return false end
local stagedModel = Instance.new('Model')
stagedModel.Name = sourceModel.Name
if sourceModel:IsA('BasePart') then
local childClone = RivalsCosmetics.SafeClone(sourceModel)
if childClone then childClone.Parent = stagedModel end
elseif sourceModel:IsA('Model') or sourceModel:IsA('Folder') then
for _, child in ipairs(sourceModel:GetChildren()) do
local childClone = RivalsCosmetics.SafeClone(child)
if childClone then childClone.Parent = stagedModel end
end
end
RivalsCosmetics.AnchorPreviewDescendants(stagedModel)
if not RivalsCosmetics.HasVisibleRenderableDescendant(stagedModel) then
stagedModel:Destroy()
return false
end
targetModel.Name = stagedModel.Name
for _, child in ipairs(targetModel:GetChildren()) do
pcall(function() child:Destroy() end)
end
for _, child in ipairs(stagedModel:GetChildren()) do
child.Parent = targetModel
end
stagedModel:Destroy()
RivalsCosmetics.AnchorPreviewDescendants(targetModel)
return true
end
function RivalsCosmetics.BuildPreviewViewportModel()
local viewportModel = RivalsCosmetics.ResolvePreviewViewportModel()
local previewModel = RivalsCosmetics.BuildPreviewModel(RivalsCosmetics.ResolvePreviewWeaponName())
if previewModel and RivalsCosmetics.HasVisibleRenderableDescendant(previewModel) then
RivalsCosmetics.CopyPreviewModelIntoViewportModel(viewportModel, previewModel)
end
if previewModel then pcall(function() previewModel:Destroy() end) end
return viewportModel
end
function RivalsCosmetics.ResolveFirstPersonFolder()
local viewModels = Workspace:FindFirstChild('ViewModels')
return viewModels and viewModels:FindFirstChild('FirstPerson') or nil
end
function RivalsCosmetics.ResolveFirstPersonModels(weaponName)
local models = {}
local firstPerson = RivalsCosmetics.ResolveFirstPersonFolder()
if not firstPerson then return models end
local nameNeedle = type(weaponName) == 'string' and weaponName ~= '' and string.format(' - %s - ', weaponName)
or nil
for _, child in ipairs(firstPerson:GetChildren()) do
if child:IsA('Model') and (not nameNeedle or child.Name:find(nameNeedle, 1, true)) then
models[#models + 1] = child
end
end
return models
end
function RivalsCosmetics.ResolveWrapProperties(model)
local originalWrapProperties = RivalsCosmeticsState.OriginalWrapProperties[model]
if originalWrapProperties then return originalWrapProperties end
local wrapController = RivalsCosmetics.ResolveWrapController()
if not wrapController then return nil end
originalWrapProperties = wrapController:RecordOriginalWrapProperties(model)
RivalsCosmeticsState.OriginalWrapProperties[model] = originalWrapProperties
return originalWrapProperties
end
function RivalsCosmetics.ApplyWrapToModel(model, wrapName, inverted)
local wrapController = RivalsCosmetics.ResolveWrapController()
if not wrapController or not model then return false end
local originalWrapProperties = RivalsCosmetics.ResolveWrapProperties(model)
if not originalWrapProperties then return false end
if RivalsCosmetics.IsCosmeticValueSelected(wrapName) then
wrapController:ApplyWrap(originalWrapProperties, {
Name = wrapName,
Inverted = inverted == true,
})
else
wrapController:ResetWrap(originalWrapProperties)
end
return true
end
function RivalsCosmetics.ResolveWorldItemOwnerAndName(instance)
if not instance then return nil, nil end
local attributeOwner = nil
local placedByUserId = instance:GetAttribute('PlacedByUserID')
if type(placedByUserId) == 'number' then attributeOwner = Players:GetPlayerByUserId(placedByUserId) end
local objectId = instance:GetAttribute('ObjectID')
if type(objectId) ~= 'string' then return attributeOwner, nil end
local fighterController = ResolveFighterController()
local objects = fighterController and fighterController.Objects or nil
if type(objects) ~= 'table' then return attributeOwner, nil end
local ok, objectOwner, itemName = pcall(function()
for _, fighter in pairs(objects) do
local items = fighter and fighter.Items or nil
if type(items) == 'table' then
for _, item in pairs(items) do
local data = item and item.Data or nil
local itemObjectId = data and data.ObjectID or ReadItemValue(item, 'ObjectID')
if itemObjectId == objectId then
local itemName = (data and data.Name) or item.Name or ReadItemValue(item, 'Name')
return fighter.Player, itemName
end
end
end
end
return nil, nil
end)
if not ok then return attributeOwner, nil end
return attributeOwner or objectOwner, itemName
end
function RivalsCosmetics.ResolveSpawnedCosmeticAssetFolder(folderName)
local playerScripts = LP:FindFirstChild('PlayerScripts')
if not playerScripts then return nil end
if folderName == 'SmokeClouds' then
local modules = playerScripts:FindFirstChild('Modules')
return modules and modules:FindFirstChild('SmokeClouds') or nil
end
local assets = playerScripts:FindFirstChild('Assets')
local misc = assets and assets:FindFirstChild('Misc') or nil
return misc and misc:FindFirstChild(folderName) or nil
end
function RivalsCosmetics.HasSpawnedCosmeticAsset(folderName, skinName)
if not RivalsCosmetics.IsCosmeticValueSelected(skinName) then return false end
local folder = RivalsCosmetics.ResolveSpawnedCosmeticAssetFolder(folderName)
return folder ~= nil and folder:FindFirstChild(skinName) ~= nil
end
function RivalsCosmetics.RefreshSpawnedCosmeticTag(instance, tagName)
local collectionService = game:GetService('CollectionService')
if not instance or not instance.Parent or not collectionService:HasTag(instance, tagName) then return false end
local retagToken = {}
RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] = retagToken
collectionService:RemoveTag(instance, tagName)
local readdDelay = tagName == 'FireHitbox' and 1.8 or 0
local function readdTag()
if instance.Parent and not collectionService:HasTag(instance, tagName) then
collectionService:AddTag(instance, tagName)
end
end
if readdDelay > 0 then
task.delay(readdDelay, readdTag)
else
readdTag()
end
task.delay(readdDelay + 0.5, function()
if RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] == retagToken then
RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] = nil
end
end)
return true
end
function RivalsCosmetics.CaptureJumpPadOriginalProperty(entry, descendant)
if not descendant or entry.OriginalProperties[descendant] ~= nil then return end
local properties = nil
if descendant:IsA('BasePart') then
properties = {
Transparency = descendant.Transparency,
CastShadow = descendant.CastShadow,
}
descendant.Transparency = 1
descendant.CastShadow = false
elseif descendant:IsA('Decal') or descendant:IsA('Texture') then
properties = { Transparency = descendant.Transparency }
descendant.Transparency = 1
elseif descendant:IsA('ParticleEmitter') or descendant:IsA('Trail') or descendant:IsA('Beam') then
properties = { Enabled = descendant.Enabled }
descendant.Enabled = false
elseif descendant:IsA('Sound') then
properties = { Volume = descendant.Volume }
descendant.Volume = 0
end
if properties then entry.OriginalProperties[descendant] = properties end
end
function RivalsCosmetics.RestoreSpawnedWorldCosmetic(instance)
local entry = RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance]
if not entry then return end
if entry.ChildAdded then pcall(function() entry.ChildAdded:Disconnect() end) end
for _, model in ipairs(entry.WrapTargets or {}) do
pcall(RivalsCosmetics.ApplyWrapToModel, model, nil)
end
if entry.Kind == 'FireHitbox' then
pcall(function() instance:SetAttribute('ViewModelName', entry.OriginalViewModelName) end)
RivalsCosmetics.RefreshSpawnedCosmeticTag(instance, 'FireHitbox')
elseif entry.Kind == 'SmokeCloud' then
pcall(function() instance.Name = entry.OriginalName end)
RivalsCosmetics.RefreshSpawnedCosmeticTag(instance, 'SmokeCloud')
elseif entry.Kind == 'JumpPadHitbox' then
for child in pairs(entry.CustomChildren or {}) do
pcall(function() child:Destroy() end)
end
for descendant, properties in pairs(entry.OriginalProperties or {}) do
pcall(function()
for propertyName, value in pairs(properties) do
descendant[propertyName] = value
end
end)
end
pcall(function()
instance:SetAttribute('ViewModelName', entry.OriginalViewModelName)
instance:SetAttribute('SoundID', entry.OriginalSoundID)
instance:SetAttribute('SoundVolume', entry.OriginalSoundVolume)
end)
end
RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] = nil
end
function RivalsCosmetics.WaitForLocalWorldItem(instance, requireItemName, token)
local expiresAt = os.clock() + 3
repeat
if not instance.Parent or RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] ~= token then
return nil
end
local owner, itemName = RivalsCosmetics.ResolveWorldItemOwnerAndName(instance)
if owner then
if owner ~= LP then return nil end
if not requireItemName or type(itemName) == 'string' then return itemName or true end
end
task.wait(0.1)
until os.clock() >= expiresAt
return nil
end
function RivalsCosmetics.ApplyFireHitboxCosmetic(instance)
if not instance or RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] then return end
RivalsCosmetics.RestoreSpawnedWorldCosmetic(instance)
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] = (
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] or 0
) + 1
local token = RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance]
task.spawn(GuardRivalsCallback('Cosmetics_ApplyFireHitbox', function()
local itemName = RivalsCosmetics.WaitForLocalWorldItem(instance, true, token)
if type(itemName) ~= 'string' or not RivalsCosmetics.IsEnabled() then return end
local skinName = RivalsCosmetics.ResolveSelectedSkinName(itemName)
local wrapName = RivalsCosmetics.ResolveSelectedWrapName(itemName)
local hasSkin = RivalsCosmetics.HasSpawnedCosmeticAsset('FireHitboxes', skinName)
if not hasSkin and not wrapName then return end
local entry = {
Kind = 'FireHitbox',
OriginalViewModelName = instance:GetAttribute('ViewModelName'),
WrapTargets = {},
}
RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] = entry
if hasSkin then instance:SetAttribute('ViewModelName', skinName) end
if wrapName then
local expectedVisualName = hasSkin and skinName or (entry.OriginalViewModelName or 'Default')
local inverted = RivalsCosmetics.ResolveWrapInvertedValue(itemName)
entry.ChildAdded =
Workspace.ChildAdded:Connect(GuardRivalsCallback('Cosmetics_FireHitboxVisualAdded', function(child)
if
RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] ~= entry
or RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] ~= token
or not child:IsA('Model')
or child.Name ~= expectedVisualName
then
return
end
local primary = child:FindFirstChild('Primary')
local pivotOk, pivot = pcall(child.GetPivot, child)
if
not primary
or not primary:IsA('BasePart')
or not pivotOk
or (pivot.Position - instance.Position).Magnitude > 0.5
or (primary.Size - instance.Size).Magnitude > 0.01
then
return
end
if RivalsCosmetics.ApplyWrapToModel(child, wrapName, inverted) then
entry.WrapTargets[#entry.WrapTargets + 1] = child
if entry.ChildAdded then
entry.ChildAdded:Disconnect()
entry.ChildAdded = nil
end
end
end))
task.delay(2.5, function()
if RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] == entry and entry.ChildAdded then
entry.ChildAdded:Disconnect()
entry.ChildAdded = nil
end
end)
end
RivalsCosmetics.RefreshSpawnedCosmeticTag(instance, 'FireHitbox')
end))
end
function RivalsCosmetics.ApplySmokeCloudCosmetic(instance)
if not instance or RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] then return end
RivalsCosmetics.RestoreSpawnedWorldCosmetic(instance)
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] = (
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] or 0
) + 1
local token = RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance]
local skinName = RivalsCosmetics.ResolveSelectedSkinName('Smoke Grenade')
if not RivalsCosmetics.HasSpawnedCosmeticAsset('SmokeClouds', skinName) then return end
task.spawn(GuardRivalsCallback('Cosmetics_ApplySmokeCloud', function()
if not RivalsCosmetics.WaitForLocalWorldItem(instance, false, token) or not RivalsCosmetics.IsEnabled() then
return
end
local entry = {
Kind = 'SmokeCloud',
OriginalName = instance.Name,
WrapTargets = {},
}
RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] = entry
instance.Name = skinName
RivalsCosmetics.RefreshSpawnedCosmeticTag(instance, 'SmokeCloud')
end))
end
function RivalsCosmetics.ApplyJumpPadCosmetic(instance)
if not instance or RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] then return end
RivalsCosmetics.RestoreSpawnedWorldCosmetic(instance)
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] = (
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] or 0
) + 1
local token = RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance]
local skinName = RivalsCosmetics.ResolveSelectedSkinName('Jump Pad')
local wrapName = RivalsCosmetics.ResolveSelectedWrapName('Jump Pad')
local hasSkin = RivalsCosmetics.HasSpawnedCosmeticAsset('JumpPads', skinName)
if not hasSkin and not wrapName then return end
task.spawn(GuardRivalsCallback('Cosmetics_ApplyJumpPad', function()
if not RivalsCosmetics.WaitForLocalWorldItem(instance, false, token) or not RivalsCosmetics.IsEnabled() then
return
end
task.wait(0.35)
if not instance.Parent or RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] ~= token then
return
end
local entry = {
Kind = 'JumpPadHitbox',
OriginalViewModelName = instance:GetAttribute('ViewModelName'),
OriginalSoundID = instance:GetAttribute('SoundID'),
OriginalSoundVolume = instance:GetAttribute('SoundVolume'),
OriginalChildren = setmetatable({}, { __mode = 'k' }),
OriginalProperties = setmetatable({}, { __mode = 'k' }),
CustomChildren = setmetatable({}, { __mode = 'k' }),
WrapTargets = {},
CaptureCustomChildren = false,
ChildAdded = nil,
}
RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] = entry
for _, child in ipairs(instance:GetChildren()) do
entry.OriginalChildren[child] = true
if child:IsA('Model') then
if hasSkin then
for _, descendant in ipairs(child:GetDescendants()) do
RivalsCosmetics.CaptureJumpPadOriginalProperty(entry, descendant)
end
elseif wrapName then
entry.WrapTargets[#entry.WrapTargets + 1] = child
RivalsCosmetics.ApplyWrapToModel(
child,
wrapName,
RivalsCosmetics.ResolveWrapInvertedValue('Jump Pad')
)
end
elseif hasSkin and child:IsA('Sound') then
RivalsCosmetics.CaptureJumpPadOriginalProperty(entry, child)
end
end
if not hasSkin then
if #entry.WrapTargets == 0 then RivalsCosmeticsState.SpawnedWorldCosmeticEntries[instance] = nil end
return
end
entry.ChildAdded =
instance.ChildAdded:Connect(GuardRivalsCallback('Cosmetics_JumpPadChildAdded', function(child)
if not entry.CaptureCustomChildren or entry.OriginalChildren[child] then return end
if child:IsA('Model') or child:IsA('Sound') then
entry.CustomChildren[child] = true
if child:IsA('Model') and wrapName then
entry.WrapTargets[#entry.WrapTargets + 1] = child
task.defer(
RivalsCosmetics.ApplyWrapToModel,
child,
wrapName,
RivalsCosmetics.ResolveWrapInvertedValue('Jump Pad')
)
end
end
end))
entry.CaptureCustomChildren = true
instance:SetAttribute('ViewModelName', skinName)
RivalsCosmetics.RefreshSpawnedCosmeticTag(instance, 'JumpPadHitbox')
task.wait(0.35)
entry.CaptureCustomChildren = false
end))
end
function RivalsCosmetics.BindSpawnedWorldCosmetics()
if not Connections or not RivalsCosmetics.IsEnabled() then return end
local collectionService = game:GetService('CollectionService')
local definitions = {
{ Tag = 'FireHitbox', Apply = RivalsCosmetics.ApplyFireHitboxCosmetic },
{ Tag = 'SmokeCloud', Apply = RivalsCosmetics.ApplySmokeCloudCosmetic },
{ Tag = 'JumpPadHitbox', Apply = RivalsCosmetics.ApplyJumpPadCosmetic },
}
for _, definition in ipairs(definitions) do
local tagName = definition.Tag
local apply = definition.Apply
Connections:register(
'Cosmetics_' .. tagName .. 'Added',
collectionService
:GetInstanceAddedSignal(tagName)
:Connect(GuardRivalsCallback('Cosmetics_' .. tagName .. 'Added', apply))
)
Connections:register(
'Cosmetics_' .. tagName .. 'Removed',
collectionService
:GetInstanceRemovedSignal(tagName)
:Connect(GuardRivalsCallback('Cosmetics_' .. tagName .. 'Removed', function(instance)
if RivalsCosmeticsState.SpawnedWorldCosmeticRetagging[instance] then return end
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] = (
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] or 0
) + 1
RivalsCosmetics.RestoreSpawnedWorldCosmetic(instance)
end))
)
for _, instance in ipairs(collectionService:GetTagged(tagName)) do
apply(instance)
end
end
end
function RivalsCosmetics.RestoreSpawnedWorldCosmetics()
if Connections then
Connections:disconnect({
'Cosmetics_FireHitboxAdded',
'Cosmetics_FireHitboxRemoved',
'Cosmetics_SmokeCloudAdded',
'Cosmetics_SmokeCloudRemoved',
'Cosmetics_JumpPadHitboxAdded',
'Cosmetics_JumpPadHitboxRemoved',
})
end
for instance in pairs(RivalsCosmeticsState.SpawnedWorldCosmeticEntries) do
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] = (
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens[instance] or 0
) + 1
RivalsCosmetics.RestoreSpawnedWorldCosmetic(instance)
end
end
function RivalsCosmetics.RestoreWorldTripmine(tripmine)
local entry = RivalsCosmeticsState.WorldTripmineEntries[tripmine]
if not entry then return end
if entry.DescendantAdded then pcall(function() entry.DescendantAdded:Disconnect() end) end
if entry.WrapTarget then pcall(RivalsCosmetics.ApplyWrapToModel, entry.WrapTarget, nil) end
for descendant, properties in pairs(entry.OriginalProperties) do
if descendant then
pcall(function()
for propertyName, value in pairs(properties) do
descendant[propertyName] = value
end
end)
end
end
if entry.Clone then pcall(function() entry.Clone:Destroy() end) end
RivalsCosmeticsState.WorldTripmineEntries[tripmine] = nil
end
function RivalsCosmetics.HideWorldTripmineDescendant(entry, descendant)
if
not descendant
or descendant == entry.Hitbox
or descendant:IsDescendantOf(entry.Hitbox)
or (entry.Clone and (descendant == entry.Clone or descendant:IsDescendantOf(entry.Clone)))
then
return
end
local properties = nil
if descendant:IsA('BasePart') then
properties = {
Transparency = descendant.Transparency,
CastShadow = descendant.CastShadow,
}
descendant.Transparency = 1
descendant.CastShadow = false
elseif descendant:IsA('Decal') or descendant:IsA('Texture') then
properties = { Transparency = descendant.Transparency }
descendant.Transparency = 1
elseif descendant:IsA('ParticleEmitter') or descendant:IsA('Trail') or descendant:IsA('Beam') then
properties = { Enabled = descendant.Enabled }
descendant.Enabled = false
end
if properties and entry.OriginalProperties[descendant] == nil then
entry.OriginalProperties[descendant] = properties
end
end
function RivalsCosmetics.ApplyWorldTripmineNow(tripmine, hitbox, skinName, wrapName, inverted)
if
not tripmine.Parent
or tonumber(tripmine:GetAttribute('PlacedByUserID')) ~= LP.UserId
or not RivalsCosmetics.IsEnabled()
then
return false
end
local entry = {
Clone = nil,
Hitbox = hitbox,
WrapTarget = tripmine,
OriginalProperties = setmetatable({}, { __mode = 'k' }),
DescendantAdded = nil,
}
RivalsCosmeticsState.WorldTripmineEntries[tripmine] = entry
if skinName then
local sourceModel = RivalsCosmetics.ResolveSkinSourceModel('Subspace Tripmine', skinName)
local clone = RivalsCosmetics.ClonePreviewObject(sourceModel, '__ZkxHubTripmineSkin')
if clone then
entry.Clone = clone
entry.WrapTarget = clone
pcall(function() clone:PivotTo(hitbox.CFrame) end)
clone.Parent = tripmine
for _, descendant in ipairs(clone:GetDescendants()) do
if descendant:IsA('BasePart') then
descendant.Anchored = false
descendant.CanCollide = false
descendant.CanTouch = false
descendant.CanQuery = false
descendant.Massless = true
local weld = Instance.new('WeldConstraint')
weld.Part0 = hitbox
weld.Part1 = descendant
weld.Parent = descendant
end
end
for _, descendant in ipairs(tripmine:GetDescendants()) do
RivalsCosmetics.HideWorldTripmineDescendant(entry, descendant)
end
entry.DescendantAdded = tripmine.DescendantAdded:Connect(
GuardRivalsCallback(
'Cosmetics_TripmineDescendantAdded',
function(descendant) RivalsCosmetics.HideWorldTripmineDescendant(entry, descendant) end
)
)
end
end
if wrapName then RivalsCosmetics.ApplyWrapToModel(entry.WrapTarget, wrapName, inverted) end
return entry.Clone ~= nil or wrapName ~= nil
end
function RivalsCosmetics.ApplyWorldTripmine(tripmine)
if not tripmine then return end
RivalsCosmetics.RestoreWorldTripmine(tripmine)
RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] = (
RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] or 0
) + 1
local token = RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine]
local skinName = RivalsCosmetics.ResolveSelectedSkinName('Subspace Tripmine')
local wrapName = RivalsCosmetics.ResolveSelectedWrapName('Subspace Tripmine')
if not skinName and not wrapName then return end
local inverted = RivalsCosmetics.ResolveWrapInvertedValue('Subspace Tripmine')
task.spawn(GuardRivalsCallback('Cosmetics_ApplyWorldTripmine', function()
local hitbox = tripmine:WaitForChild('Hitbox', 5)
if not hitbox or RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] ~= token then return end
RivalsCosmetics.ApplyWorldTripmineNow(tripmine, hitbox, skinName, wrapName, inverted)
end))
end
function RivalsCosmetics.BindWorldTripmines()
if not Connections or not RivalsCosmetics.IsEnabled() then return end
local collectionService = game:GetService('CollectionService')
Connections:register(
'Cosmetics_SubspaceTripmineAdded',
collectionService
:GetInstanceAddedSignal('SubspaceTripmine')
:Connect(GuardRivalsCallback('Cosmetics_SubspaceTripmineAdded', RivalsCosmetics.ApplyWorldTripmine))
)
Connections:register(
'Cosmetics_SubspaceTripmineRemoved',
collectionService
:GetInstanceRemovedSignal('SubspaceTripmine')
:Connect(GuardRivalsCallback('Cosmetics_SubspaceTripmineRemoved', function(tripmine)
RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] = (
RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] or 0
) + 1
RivalsCosmetics.RestoreWorldTripmine(tripmine)
end))
)
for _, tripmine in ipairs(collectionService:GetTagged('SubspaceTripmine')) do
RivalsCosmetics.ApplyWorldTripmine(tripmine)
end
end
function RivalsCosmetics.RestoreWorldTripmines()
if Connections then
Connections:disconnect({
'Cosmetics_SubspaceTripmineAdded',
'Cosmetics_SubspaceTripmineRemoved',
})
end
for tripmine in pairs(RivalsCosmeticsState.WorldTripmineEntries) do
RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] = (
RivalsCosmeticsState.WorldTripmineApplyTokens[tripmine] or 0
) + 1
RivalsCosmetics.RestoreWorldTripmine(tripmine)
end
end
function RivalsCosmetics.ResolveWrapTargetsForWeapon(weaponName)
local targets = {}
local seenTargets = {}
for _, model in ipairs(RivalsCosmetics.ResolveFirstPersonModels(weaponName)) do
if seenTargets[model] ~= true then
seenTargets[model] = true
targets[#targets + 1] = model
end
end
return targets
end
function RivalsCosmetics.CaptureOriginalItemCosmetics(item)
if type(item) ~= 'table' or RivalsCosmeticsState.OriginalInjectedItemCosmetics[item] then return end
RivalsCosmeticsState.OriginalInjectedItemCosmetics[item] = {
Skin = item.Skin ~= nil and item.Skin or ReadItemValue(item, 'Skin'),
Wrap = item.Wrap ~= nil and item.Wrap or ReadItemValue(item, 'Wrap'),
Charm = item.Charm ~= nil and item.Charm or ReadItemValue(item, 'Charm'),
Finisher = item.Finisher ~= nil and item.Finisher or ReadItemValue(item, 'Finisher'),
}
end
function RivalsCosmetics.ResolveSelectedCosmeticApplyData(weaponName, kind, existingData)
local selectionValue = nil
if kind == 'Skin' then
selectionValue = RivalsCosmetics.ResolveSkinSelectionValue(weaponName)
elseif kind == 'Wrap' then
selectionValue = RivalsCosmetics.ResolveWrapSelectionValue(weaponName)
elseif kind == 'Charm' then
selectionValue = RivalsCosmetics.ResolveCharmSelectionValue(weaponName)
elseif kind == 'Finisher' then
selectionValue = RivalsCosmetics.ResolveFinisherSelectionValue(weaponName)
else
return nil, false
end
if RivalsCosmetics.IsCosmeticValueSelected(selectionValue) then
local data = RivalsCosmetics.BuildCosmeticData(existingData, selectionValue, kind)
if kind == 'Wrap' then
data.Inverted = RivalsCosmetics.ResolveWrapInvertedValue(weaponName) == true
elseif kind == 'Charm' then
data = RivalsCosmetics.PatchRankCharmPayload(data) or data
end
return data, true
end
if selectionValue == RIVALS_COSMETIC_NONE then return nil, true end
if kind == 'Charm' then
local patchedCharm = RivalsCosmetics.PatchRankCharmPayload(existingData)
if patchedCharm then return patchedCharm, true end
end
return nil, false
end
function RivalsCosmetics.InjectWeaponData(weaponName)
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local currentData = playerDataController and playerDataController.CurrentData or nil
if type(weaponName) ~= 'string' or weaponName == '' or not currentData or type(currentData.Get) ~= 'function' then
return false
end
local ok, inventory = pcall(function() return currentData:Get('WeaponInventory') end)
if not ok or type(inventory) ~= 'table' then return false end
for _, item in pairs(inventory) do
if type(item) == 'table' and item.Name == weaponName then
local changed = false
local skinData, shouldSetSkin =
RivalsCosmetics.ResolveSelectedCosmeticApplyData(weaponName, 'Skin', item.Skin)
if shouldSetSkin then
RivalsCosmetics.CaptureOriginalItemCosmetics(item)
item.Skin = skinData
changed = true
end
local wrapData, shouldSetWrap =
RivalsCosmetics.ResolveSelectedCosmeticApplyData(weaponName, 'Wrap', item.Wrap)
if shouldSetWrap then
RivalsCosmetics.CaptureOriginalItemCosmetics(item)
item.Wrap = wrapData
changed = true
end
local charmData, shouldSetCharm =
RivalsCosmetics.ResolveSelectedCosmeticApplyData(weaponName, 'Charm', item.Charm)
if shouldSetCharm then
RivalsCosmetics.CaptureOriginalItemCosmetics(item)
item.Charm = charmData
changed = true
end
local finisherData, shouldSetFinisher =
RivalsCosmetics.ResolveSelectedCosmeticApplyData(weaponName, 'Finisher', item.Finisher)
if shouldSetFinisher then
RivalsCosmetics.CaptureOriginalItemCosmetics(item)
item.Finisher = finisherData
changed = true
end
if changed and type(currentData.Replicate) == 'function' then
pcall(function() currentData:Replicate('WeaponInventory') end)
end
return changed
end
end
return false
end
function RivalsCosmetics.InjectAllWeaponData()
local injected = false
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
injected = RivalsCosmetics.InjectWeaponData(weaponName) or injected
end
return injected
end
function RivalsCosmetics.EncodeGameTable(value)
local encoded = {}
for key, entry in pairs(value) do
local encodedKey = type(key) == 'string' and RivalsCosmetics.EncodeGameKey(key) or key
encoded[encodedKey] = entry
end
return encoded
end
function RivalsCosmetics.ResolveClientItemForWeapon(weaponName)
local fighter = ResolveLocalFighter()
if type(fighter) ~= 'table' then return nil, nil end
local equippedItem = rawget(fighter, 'EquippedItem')
if type(equippedItem) == 'table' and rawget(equippedItem, 'Name') == weaponName then
return equippedItem, fighter
end
for _, fieldName in ipairs({ 'Loadout', 'Slots', 'Items', 'EquippedItems' }) do
local items = rawget(fighter, fieldName)
if type(items) == 'table' then
for _, item in pairs(items) do
if type(item) == 'table' and rawget(item, 'Name') == weaponName then return item, fighter end
end
end
end
return nil, fighter
end
function RivalsCosmetics.RunAtIdentity2(callback)
local previousIdentity = type(getthreadidentity) == 'function' and getthreadidentity() or nil
if type(setthreadidentity) == 'function' then setthreadidentity(2) end
local results = table.pack(pcall(callback))
if previousIdentity ~= nil and type(setthreadidentity) == 'function' then setthreadidentity(previousIdentity) end
if not results[1] then return false, results[2] end
return true, unpack(results, 2, results.n)
end
function RivalsCosmetics.BuildViewModelSelectionSignature(weaponName, selection)
if type(selection) ~= 'table' then return weaponName .. '|restore' end
local wrap = selection.wrap
return table.concat({
weaponName,
tostring(selection.skin),
tostring(type(wrap) == 'table' and wrap.name or nil),
tostring(type(wrap) == 'table' and wrap.inverted == true or false),
tostring(selection.charm),
}, '|')
end
function RivalsCosmetics.ReloadWeaponViewModel(weaponName, force, restoreOnly)
pcall(RivalsCosmetics.RefreshWeaponCardIcons)
local item, fighter = RivalsCosmetics.ResolveClientItemForWeapon(weaponName)
local viewModel = type(item) == 'table' and rawget(item, 'ViewModel') or nil
local viewModelData = type(viewModel) == 'table' and rawget(viewModel, 'Data') or nil
if type(item) ~= 'table' or type(viewModel) ~= 'table' or type(viewModelData) ~= 'table' then return false end
local selection = restoreOnly == true and nil or RivalsCosmetics.BuildZkhHubItemSelection(weaponName)
local signature = RivalsCosmetics.BuildViewModelSelectionSignature(weaponName, selection)
local appliedSelection = RivalsCosmeticsState.ViewModelSelectionSignatureByItem[item]
if
force ~= true
and type(appliedSelection) == 'table'
and appliedSelection.Signature == signature
and appliedSelection.ViewModel == viewModel
then
return true
end
if type(selection) == 'table' then RivalsCosmetics.EnsureClientItemRestoreData(LP, weaponName, viewModelData) end
local restoreData = RivalsCosmetics.GetClientItemRestoreData(LP, weaponName)
local nextData
if type(selection) == 'table' then
local baseData = {}
baseData[RivalsCosmetics.EncodeGameKey('Name')] = weaponName
nextData = RivalsCosmetics.ApplyZkhHubViewModelSelection(weaponName, baseData, selection)
else
nextData = type(restoreData) == 'table' and table.clone(restoreData) or table.clone(viewModelData)
end
local clientViewModel = RivalsCosmetics.ResolveClientViewModelClass()
local destroy = type(clientViewModel) == 'table' and clientViewModel.Destroy or nil
if type(destroy) ~= 'function' then return false end
RivalsCosmetics.RunAtIdentity2(function() destroy(viewModel) end)
local createViewModel = item._CreateViewModel
if type(createViewModel) ~= 'function' then return false end
local info = RivalsCosmetics.EncodeGameTable({
Data = RivalsCosmetics.EncodeGameTable(nextData),
})
local created, newViewModel = RivalsCosmetics.RunAtIdentity2(function() return createViewModel(item, info) end)
if not created or type(newViewModel) ~= 'table' then return false end
rawset(item, 'ViewModel', newViewModel)
local getArmsData = type(fighter) == 'table' and fighter.GetArmsData or nil
local setArmsData = newViewModel.SetArmsData
local equip = newViewModel.Equip
local armsData = nil
if type(getArmsData) == 'function' then armsData = table.pack(getArmsData(fighter)) end
RivalsCosmetics.RunAtIdentity2(function()
if type(setArmsData) == 'function' and armsData ~= nil then
setArmsData(newViewModel, unpack(armsData, 1, armsData.n))
end
if type(equip) == 'function' then equip(newViewModel, true) end
end)
local spring = rawget(newViewModel, '_equip_spring')
if type(spring) == 'table' then
rawset(spring, '_position0', 0)
rawset(spring, '_velocity0', 0)
end
RivalsCosmeticsState.ViewModelSelectionSignatureByItem[item] = {
Signature = signature,
ViewModel = newViewModel,
}
return true
end
function RivalsCosmetics.RestoreWeaponViewModels()
local byWeapon = RivalsCosmeticsState.ClientItemRestoreData[LP]
if type(byWeapon) == 'table' then
for weaponName in pairs(byWeapon) do
RivalsCosmetics.ReloadWeaponViewModel(weaponName, true, true)
end
end
RivalsCosmeticsState.ClientItemRestoreData = {}
RivalsCosmeticsState.ViewModelSelectionSignatureByItem = setmetatable({}, { __mode = 'k' })
return true
end
function RivalsCosmetics.ApplyActiveWeaponCosmetics()
local fighter = ResolveLocalFighter()
local item = fighter and fighter.EquippedItem or nil
local weaponName = item and item.Name or nil
if type(weaponName) ~= 'string' or weaponName == '' then return false end
return RivalsCosmetics.ReloadWeaponViewModel(weaponName)
end
function RivalsCosmetics.ApplySelectedWeaponCosmetics()
local applied = false
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
if RivalsCosmetics.BuildZkhHubItemSelection(weaponName) ~= nil then
applied = RivalsCosmetics.ReloadWeaponViewModel(weaponName) or applied
end
end
return applied
end
function RivalsCosmetics.RestoreInjectedWeaponData()
local restored = false
for item, original in pairs(RivalsCosmeticsState.OriginalInjectedItemCosmetics) do
if type(item) == 'table' and type(original) == 'table' then
item.Skin = original.Skin
item.Wrap = original.Wrap
item.Charm = original.Charm
item.Finisher = original.Finisher
if type(item.Set) == 'function' then
pcall(item.Set, item, 'Skin', original.Skin)
pcall(item.Set, item, 'Wrap', original.Wrap)
pcall(item.Set, item, 'Charm', original.Charm)
pcall(item.Set, item, 'Finisher', original.Finisher)
end
local viewModel = rawget(item, 'ViewModel')
if type(viewModel) == 'table' then
if type(viewModel.SetSkin) == 'function' then pcall(viewModel.SetSkin, viewModel, original.Skin) end
if type(viewModel.SetWrap) == 'function' then pcall(viewModel.SetWrap, viewModel, original.Wrap) end
if type(viewModel.SetCharm) == 'function' then pcall(viewModel.SetCharm, viewModel, original.Charm) end
if type(viewModel._UpdateSkin) == 'function' then pcall(viewModel._UpdateSkin, viewModel) end
if type(viewModel._UpdateWrap) == 'function' then pcall(viewModel._UpdateWrap, viewModel) end
if type(viewModel._UpdateCharm) == 'function' then pcall(viewModel._UpdateCharm, viewModel) end
end
restored = true
end
end
RivalsCosmeticsState.OriginalInjectedItemCosmetics = setmetatable({}, { __mode = 'k' })
if restored then
local playerDataController = RivalsCosmetics.ResolvePlayerDataController()
local currentData = playerDataController and playerDataController.CurrentData or nil
if currentData and type(currentData.Replicate) == 'function' then
pcall(function() currentData:Replicate('WeaponInventory') end)
end
end
return restored
end
function RivalsCosmetics.ApplyWraps()
for _, weaponName in ipairs(RivalsCosmetics.ResolveWeaponNames()) do
local selectedWrapName = RivalsCosmetics.ResolveSelectedWrapName(weaponName)
local inverted = RivalsCosmetics.ResolveWrapInvertedValue(weaponName)
for _, target in ipairs(RivalsCosmetics.ResolveWrapTargetsForWeapon(weaponName)) do
pcall(function() RivalsCosmetics.ApplyWrapToModel(target, selectedWrapName, inverted) end)
end
end
end
function RivalsCosmetics.UpdatePreviewViewport()
local previewViewport = Options.P5S3V1
if not previewViewport or type(previewViewport.SetObject) ~= 'function' then return false end
local previewWeaponName = RivalsCosmetics.ResolvePreviewWeaponName()
local previewModel = RivalsCosmetics.BuildPreviewModel(previewWeaponName)
if not previewModel then return false end
if not RivalsCosmetics.HasVisibleRenderableDescendant(previewModel) then
pcall(function() previewModel:Destroy() end)
return false
end
local viewportModel = RivalsCosmetics.ResolvePreviewViewportModel()
local copiedPreview = RivalsCosmetics.CopyPreviewModelIntoViewportModel(viewportModel, previewModel)
pcall(function() previewModel:Destroy() end)
if not copiedPreview then return false end
if previewViewport.Object ~= viewportModel then
local previousObject = previewViewport.Object
local viewportParent = nil
pcall(function() viewportParent = previousObject and previousObject.Parent or nil end)
if viewportParent and viewportModel.Parent ~= viewportParent then
pcall(function() viewportModel.Parent = viewportParent end)
end
if previousObject and previousObject ~= viewportModel then pcall(function() previousObject.Parent = nil end) end
previewViewport.Object = viewportModel
end
if type(previewViewport.Focus) == 'function' then pcall(function() previewViewport:Focus() end) end
return true
end
function RivalsCosmetics.RefreshDropdownOptions()
if RivalsCosmeticsState.CosmeticsUiLoaded ~= true then return false end
local ok, result = xpcall(
function()
local synced = RivalsCosmetics.SyncActiveWeaponEditorFromState()
RivalsCosmetics.SyncFavoriteEditorFromState()
RivalsCosmetics.SyncRankCharmEditorFromState()
RivalsCosmetics.RefreshCosmeticPresetControls()
return synced
end,
function(err) return debug.traceback(string.format('[Cosmetics_RefreshDropdownOptions] %s', tostring(err)), 2) end
)
if not ok then error(result, 0) end
return result == true
end
function RivalsCosmetics.BindFirstPersonModels()
if RivalsCosmeticsState.BoundFirstPersonModels then return end
RivalsCosmeticsState.BoundFirstPersonModels = true
task.spawn(GuardRivalsCallback('Cosmetics_BindFirstPersonModels', function()
local viewModels = Workspace:WaitForChild('ViewModels')
local firstPerson = viewModels:WaitForChild('FirstPerson')
Connections:register(
'Cosmetics_FirstPersonChildAdded',
firstPerson.ChildAdded:Connect(GuardRivalsCallback('Cosmetics_FirstPersonChildAdded', function(child)
if not child or not child:IsA('Model') then return end
task.defer(function() RivalsCosmetics.ApplyAll() end)
end))
)
if #firstPerson:GetChildren() > 0 then task.defer(function() RivalsCosmetics.ApplyAll() end) end
end))
end
function RivalsCosmetics.RestoreAppliedCosmetics()
RivalsCosmeticsState.PendingApplyToken = RivalsCosmeticsState.PendingApplyToken + 1
RivalsCosmeticsState.RuntimeApplyRetryPending = false
RivalsCosmetics.RestoreSpawnedWorldCosmetics()
RivalsCosmetics.RestoreWorldTripmines()
for model in pairs(RivalsCosmeticsState.OriginalWrapProperties) do
RivalsCosmetics.ApplyWrapToModel(model, nil)
end
RivalsCosmeticsState.OriginalWrapProperties = setmetatable({}, { __mode = 'k' })
if not RivalsEmotes.IsEnabled() then RivalsEmotes.RestoreEquippedEmotes() end
RivalsCosmetics.RestoreWeaponViewModels()
RivalsCosmetics.RestoreInjectedWeaponData()
RivalsCosmeticsState.PendingSkinSelectionByWeapon = {}
RivalsCosmeticsState.PendingWrapSelectionByWeapon = {}
RivalsCosmeticsState.PendingCharmSelectionByWeapon = {}
RivalsCosmeticsState.PendingFinisherSelectionByWeapon = {}
RivalsCosmeticsState.WorldTripmineEntries = setmetatable({}, { __mode = 'k' })
RivalsCosmeticsState.WorldTripmineApplyTokens = setmetatable({}, { __mode = 'k' })
RivalsCosmeticsState.SpawnedWorldCosmeticEntries = setmetatable({}, { __mode = 'k' })
RivalsCosmeticsState.SpawnedWorldCosmeticApplyTokens = setmetatable({}, { __mode = 'k' })
RivalsCosmeticsState.SpawnedWorldCosmeticRetagging = setmetatable({}, { __mode = 'k' })
if not RivalsEmotes.IsEnabled() then
RivalsCosmetics.RestorePlayerDataHook()
RivalsCosmetics.RestoreNativeUiBindings()
end
local weaponUnlockToggle = Toggles and Toggles.P5S1T4
if weaponUnlockToggle and weaponUnlockToggle.Value then
weaponUnlockToggle:SetValue(false)
else
pcall(RivalsCosmetics.SyncWeaponInventoryUnlock)
end
RivalsCosmetics.RestoreClientViewModelHook()
RivalsCosmetics.RestoreFinisherHook()
RivalsCosmetics.RestoreViewModelImageHook()
if not RivalsEmotes.IsEnabled() then RivalsEmotes.RestoreEmoteControllerHook() end
pcall(RivalsCosmetics.RefreshNativeCosmeticsScene)
return true
end
function RivalsCosmetics.ResetState()
RivalsCosmetics.RestoreAppliedCosmetics()
RivalsCosmeticsState.WeaponInventoryUnlockCache = setmetatable({}, { __mode = 'k' })
RivalsCosmeticsState.PreviewWeaponName = nil
RivalsCosmeticsState.SelectedEditorWeaponName = nil
RivalsCosmeticsState.SelectedSkinByWeapon = {}
RivalsCosmeticsState.SelectedWrapByWeapon = {}
RivalsCosmeticsState.SelectedCharmByWeapon = {}
RivalsCosmeticsState.SelectedFinisherByWeapon = {}
RivalsCosmeticsState.SelectedWrapInvertedByWeapon = {}
RivalsCosmeticsState.StableRandomSelectionByWeapon = {}
RivalsCosmeticsState.FavoritedCosmeticsByWeapon = {}
RivalsCosmeticsState.OnlyUseFavoritesByWeapon = {}
RivalsCosmeticsState.RankCharmOverridesBySeason = {}
RivalsCosmeticsState.SelectedRankCharmSeason = nil
RivalsCosmeticsState.PendingApplyToken = 0
RivalsCosmeticsState.RuntimeApplyRetryPending = false
RivalsCosmeticsState.SavedConfigCosmeticObjects = nil
RivalsCosmeticsState.CosmeticPresetsLoaded = false
RivalsCosmeticsState.CosmeticPresets = {}
RivalsCosmeticsState.CosmeticPresetSettings = {}
RivalsCosmeticsState.CosmeticPresetAutoLoadApplied = false
RivalsCosmeticsState.CosmeticPresetSaveToken = RivalsCosmeticsState.CosmeticPresetSaveToken + 1
RivalsCosmeticsState.ApplyingCosmeticPreset = false
RivalsCosmeticsState.CosmeticsUiLoaded = false
RivalsCosmeticsState.CosmeticsUiLoading = false
RivalsCosmeticsState.CosmeticsConfigName = 'RIVALS Default'
RivalsCosmeticsState.NativeUnlockedInventory = nil
RivalsCosmeticsState.NativeFavoritesSeeded = false
RivalsCosmeticsState.NativeSaveToken = RivalsCosmeticsState.NativeSaveToken + 1
if RivalsCosmeticsState.PreviewViewportModel then
pcall(function() RivalsCosmeticsState.PreviewViewportModel:Destroy() end)
end
RivalsCosmeticsState.PreviewViewportModel = nil
RivalsCosmeticsState.BoundFirstPersonModels = false
end
function RivalsCosmetics.ApplyAll()
if not RivalsCosmetics.ShouldUseCosmeticsRuntime() then return false end
pcall(RivalsCosmetics.EnsurePlayerDataHook)
pcall(RivalsCosmetics.BuildNativeUnlockedInventory)
pcall(RivalsCosmetics.EnsureNativeUiBindings)
pcall(RivalsCosmetics.EnsureClientViewModelHook)
pcall(RivalsCosmetics.EnsureWeaponCardSkinHook)
pcall(RivalsCosmetics.BindFirstPersonModels)
pcall(RivalsCosmetics.ApplySelectedWeaponCosmetics)
pcall(RivalsCosmetics.ApplyActiveWeaponCosmetics)
pcall(RivalsCosmetics.EnsureFinisherHook)
pcall(RivalsCosmetics.EnsureViewModelImageHook)
pcall(RivalsCosmetics.RefreshWeaponCardIcons)
pcall(RivalsEmotes.ApplyAll)
pcall(RivalsCosmetics.ApplyWraps)
pcall(RivalsCosmetics.BindSpawnedWorldCosmetics)
pcall(RivalsCosmetics.BindWorldTripmines)
pcall(RivalsCosmetics.UpdatePreviewViewport)
return true
end
function RivalsCosmetics.ApplyPendingSelection(previewWeaponName, skinName, wrapName, charmName, finisherName)
local previousSkinName = nil
local previousWrapName = nil
local previousCharmName = nil
local previousFinisherName = nil
local hasWeapon = type(previewWeaponName) == 'string' and previewWeaponName ~= ''
if hasWeapon then
previousSkinName = RivalsCosmeticsState.PendingSkinSelectionByWeapon[previewWeaponName]
previousWrapName = RivalsCosmeticsState.PendingWrapSelectionByWeapon[previewWeaponName]
previousCharmName = RivalsCosmeticsState.PendingCharmSelectionByWeapon[previewWeaponName]
previousFinisherName = RivalsCosmeticsState.PendingFinisherSelectionByWeapon[previewWeaponName]
if skinName ~= nil then RivalsCosmeticsState.PendingSkinSelectionByWeapon[previewWeaponName] = skinName end
if wrapName ~= nil then RivalsCosmeticsState.PendingWrapSelectionByWeapon[previewWeaponName] = wrapName end
if charmName ~= nil then RivalsCosmeticsState.PendingCharmSelectionByWeapon[previewWeaponName] = charmName end
if finisherName ~= nil then
RivalsCosmeticsState.PendingFinisherSelectionByWeapon[previewWeaponName] = finisherName
end
RivalsCosmetics.SetPreviewWeaponName(previewWeaponName)
end
local previewOk, previewResult = pcall(RivalsCosmetics.UpdatePreviewViewport)
if hasWeapon then
RivalsCosmeticsState.PendingSkinSelectionByWeapon[previewWeaponName] = previousSkinName
RivalsCosmeticsState.PendingWrapSelectionByWeapon[previewWeaponName] = previousWrapName
RivalsCosmeticsState.PendingCharmSelectionByWeapon[previewWeaponName] = previousCharmName
RivalsCosmeticsState.PendingFinisherSelectionByWeapon[previewWeaponName] = previousFinisherName
end
RivalsCosmeticsState.PendingApplyToken = RivalsCosmeticsState.PendingApplyToken + 1
local pendingApplyToken = RivalsCosmeticsState.PendingApplyToken
task.defer(GuardRivalsCallback('Cosmetics_ApplyPendingSelection_ApplyAll', function()
if RivalsCosmeticsState.PendingApplyToken ~= pendingApplyToken then return nil end
if hasWeapon then
if skinName ~= nil then RivalsCosmeticsState.PendingSkinSelectionByWeapon[previewWeaponName] = skinName end
if wrapName ~= nil then RivalsCosmeticsState.PendingWrapSelectionByWeapon[previewWeaponName] = wrapName end
if charmName ~= nil then
RivalsCosmeticsState.PendingCharmSelectionByWeapon[previewWeaponName] = charmName
end
if finisherName ~= nil then
RivalsCosmeticsState.PendingFinisherSelectionByWeapon[previewWeaponName] = finisherName
end
end
local applyResult = RivalsCosmetics.ApplyAll()
if hasWeapon then
RivalsCosmeticsState.PendingSkinSelectionByWeapon[previewWeaponName] = previousSkinName
RivalsCosmeticsState.PendingWrapSelectionByWeapon[previewWeaponName] = previousWrapName
RivalsCosmeticsState.PendingCharmSelectionByWeapon[previewWeaponName] = previousCharmName
RivalsCosmeticsState.PendingFinisherSelectionByWeapon[previewWeaponName] = previousFinisherName
end
return applyResult
end))
if not previewOk then error(previewResult, 0) end
return previewOk
end
RivalsRuntimeBridge.ResolveRivalsCosmeticWeaponValues = RivalsCosmetics.ResolveEditorWeaponNames
RivalsRuntimeBridge.ResolveRivalsCosmeticSkinValues = RivalsCosmetics.ResolveWeaponSkinValues
RivalsRuntimeBridge.ResolveRivalsCosmeticSkinOptionId = RivalsCosmetics.ResolveSkinOptionId
RivalsRuntimeBridge.ResolveRivalsCosmeticWrapValues = RivalsCosmetics.ResolveWrapValues
RivalsRuntimeBridge.ResolveRivalsCosmeticWrapOptionId = RivalsCosmetics.ResolveWrapOptionId
RivalsRuntimeBridge.ResolveRivalsCosmeticCharmValues = RivalsCosmetics.ResolveCharmValues
RivalsRuntimeBridge.ResolveRivalsCosmeticCharmOptionId = RivalsCosmetics.ResolveCharmOptionId
RivalsRuntimeBridge.ResolveRivalsCosmeticFinisherValues = RivalsCosmetics.ResolveFinisherValues
RivalsRuntimeBridge.ResolveRivalsCosmeticFinisherOptionId = RivalsCosmetics.ResolveFinisherOptionId
RivalsRuntimeBridge.ResolveRivalsCosmeticWrapInvertedOptionId = RivalsCosmetics.ResolveWrapInvertedOptionId
RivalsRuntimeBridge.ResolveRivalsCosmeticWrapInvertedValue = RivalsCosmetics.ResolveWrapInvertedValue
RivalsRuntimeBridge.ResolveRivalsCosmeticEditorOptionId = RivalsCosmetics.ResolveEditorOptionId
RivalsRuntimeBridge.RefreshRivalsCosmetics = RivalsCosmetics.RefreshDropdownOptions
RivalsRuntimeBridge.BuildRivalsCosmeticsPreviewModel = RivalsCosmetics.BuildPreviewModel
RivalsRuntimeBridge.BuildRivalsCosmeticsPreviewViewportModel = RivalsCosmetics.BuildPreviewViewportModel
RivalsRuntimeBridge.UpdateRivalsCosmeticsPreview = RivalsCosmetics.UpdatePreviewViewport
RivalsRuntimeBridge.SetRivalsCosmeticsPreviewWeapon = RivalsCosmetics.SetPreviewWeaponName
RivalsRuntimeBridge.ApplyRivalsCosmeticsPendingSelection = RivalsCosmetics.ApplyPendingSelection
RivalsRuntimeBridge.SetRivalsCosmeticsSelectedWeapon = RivalsCosmetics.SetSelectedEditorWeapon
RivalsRuntimeBridge.SetRivalsCosmeticsSelectionForSelectedWeapon = RivalsCosmetics.SetSelectionForSelectedEditorWeapon
RivalsRuntimeBridge.RerollRivalsCosmeticsRandom = RivalsCosmetics.RerollRandomSelections
RivalsRuntimeBridge.SetRivalsCosmeticFavoriteKind = RivalsCosmetics.SetSelectedFavoriteKind
RivalsRuntimeBridge.ToggleRivalsCosmeticFavorite = RivalsCosmetics.ToggleSelectedFavorite
RivalsRuntimeBridge.SetRivalsCosmeticOnlyUseFavorites = RivalsCosmetics.SetSelectedOnlyUseFavorites
RivalsRuntimeBridge.ResolveRivalsRankCharmSeasonValues = RivalsCosmetics.ResolveRankCharmSeasonValues
RivalsRuntimeBridge.ResolveRivalsRankCharmRankValues = RivalsCosmetics.ResolveRankCharmRankValues
RivalsRuntimeBridge.SetRivalsRankCharmSelectedSeason = RivalsCosmetics.SetSelectedRankCharmSeason
RivalsRuntimeBridge.UpdateRivalsRankCharmOverride = RivalsCosmetics.UpdateSelectedRankCharmOverride
RivalsRuntimeBridge.SyncRivalsRankCharmEditor = RivalsCosmetics.SyncRankCharmEditorFromState
RivalsRuntimeBridge.ResolveRivalsEmoteValues = RivalsEmotes.ResolveEmoteValues
RivalsRuntimeBridge.ResolveRivalsEmoteSlotOptionId = RivalsEmotes.ResolveSlotOptionId
RivalsRuntimeBridge.SetRivalsEmoteSlot = RivalsEmotes.SetEquippedEmote
RivalsRuntimeBridge.ApplyRivalsEmotes = RivalsEmotes.ApplyAll
RivalsRuntimeBridge.RestoreRivalsEmotes = RivalsEmotes.RestoreAll
RivalsRuntimeBridge.ResolveRivalsCosmeticPresetNames = RivalsCosmetics.ResolveCosmeticPresetNames
RivalsRuntimeBridge.RefreshRivalsCosmeticPresets = RivalsCosmetics.RefreshCosmeticPresetControls
RivalsRuntimeBridge.CreateRivalsCosmeticPreset = RivalsCosmetics.CreateCosmeticPreset
RivalsRuntimeBridge.SetSelectedRivalsCosmeticPreset = RivalsCosmetics.SetSelectedCosmeticPreset
RivalsRuntimeBridge.SaveSelectedRivalsCosmeticPreset = RivalsCosmetics.SaveSelectedCosmeticPreset
RivalsRuntimeBridge.LoadSelectedRivalsCosmeticPreset = RivalsCosmetics.LoadSelectedCosmeticPreset
RivalsRuntimeBridge.DeleteSelectedRivalsCosmeticPreset = RivalsCosmetics.DeleteSelectedCosmeticPreset
RivalsRuntimeBridge.SetRivalsCosmeticPresetSetting = RivalsCosmetics.SetCosmeticPresetSetting
RivalsRuntimeBridge.ApplyRivalsCosmeticPresetAutoLoad = RivalsCosmetics.ApplyCosmeticPresetAutoLoad
RivalsRuntimeBridge.QueueRivalsCosmeticPresetAutoSave = RivalsCosmetics.QueueCosmeticPresetAutoSave
RivalsRuntimeBridge.SetRivalsCosmeticsConfigName = RivalsCosmetics.SetConfigName
RivalsRuntimeBridge.RebuildRivalsWeaponUnlock = function()
RivalsCosmeticsState.WeaponInventoryUnlockCache = setmetatable({}, { __mode = 'k' })
if RivalsCosmetics.EnsurePlayerDataHook then pcall(RivalsCosmetics.EnsurePlayerDataHook) end
pcall(RivalsCosmetics.SyncWeaponInventoryUnlock)
RivalsCosmetics.TriggerNativeDataChanged('WeaponInventory')
if RivalsCosmetics.ApplyAll then pcall(RivalsCosmetics.ApplyAll) end
end
RivalsRuntimeBridge.SetRivalsWeaponUnlockAll = function(enabled)
local toggle = Toggles and Toggles.P5S1T4
if toggle then toggle:SetValue(enabled == true) end
end
RivalsRuntimeBridge.LoadSavedRivalsCosmeticsSelections = RivalsCosmetics.LoadSavedSelectionsFromConfig
RivalsRuntimeBridge.CaptureSavedRivalsCosmeticsSelections = RivalsCosmetics.CaptureSavedSelectionsBeforeConfigSave
RivalsRuntimeBridge.SaveRivalsCosmeticsSelections = RivalsCosmetics.SaveSelectionsToConfig
RivalsRuntimeBridge.SaveCosmeticsCache = RivalsCosmetics.SaveCosmeticsCache
RivalsRuntimeBridge.LoadCosmeticsCache = RivalsCosmetics.LoadCosmeticsCache
RivalsRuntimeBridge.BindRivalsCosmetics = RivalsCosmetics.BindFirstPersonModels
RivalsRuntimeBridge.ApplyRivalsCosmetics = RivalsCosmetics.ApplyAll
RivalsRuntimeBridge.RestoreRivalsCosmetics = RivalsCosmetics.RestoreAppliedCosmetics
RivalsRuntimeBridge.RefreshNativeRivalsCosmetics = RivalsCosmetics.RefreshNativeCosmeticsScene
RivalsRuntimeBridge.ResetRivalsCosmetics = RivalsCosmetics.ResetState
end
-- ======================================================================
-- World ESP: items, drops and sounds
-- ======================================================================
local WorldESPState = {}
do
local WORLD_ITEM_NAMES = {
['Throwable - Grenade'] = { Color = Color3.fromRGB(255, 80, 80), Label = 'GRENADE' },
['Throwable - Flashbang'] = { Color = Color3.fromRGB(255, 255, 100), Label = 'FLASH' },
['Throwable - Molotov'] = { Color = Color3.fromRGB(255, 120, 0), Label = 'MOLOTOV' },
['Throwable - Smoke'] = { Color = Color3.fromRGB(200, 200, 200), Label = 'SMOKE' },
['Smoke Grenade'] = { Color = Color3.fromRGB(200, 200, 200), Label = 'SMOKE' },
['Satchel'] = { Color = Color3.fromRGB(255, 50, 50), Label = 'SATCHEL' },
['SubspaceTripmineHitbox'] = { Color = Color3.fromRGB(255, 50, 50), Label = 'TRIPMINE' },
['Flare Gun'] = { Color = Color3.fromRGB(255, 50, 50), Label = 'FLARE GUN' },
}
local ThrowableESP = {}
local function IsTrackedItem(instance)
return instance and (instance:IsA('BasePart') or instance:IsA('Model')) and WORLD_ITEM_NAMES[instance.Name] ~= nil
end
local function CreateThrowableESP(part)
if ThrowableESP[part] then return end
local label = Drawing.new('Text')
label.Center = true
label.Outline = true
label.Font = 2
label.Visible = false
label.Size = 12
label.Transparency = PLAYER_CARD_THEME.ThrowableTextTransparency
ThrowableESP[part] = {
label = label,
lastRoundedDistance = nil,
lastLabelText = nil,
lastLabelSize = nil,
lastLabelColor = nil,
lastLabelPositionX = nil,
lastLabelPositionY = nil,
labelVisible = false,
}
end
local function DestroyThrowableESP(part)
local entry = ThrowableESP[part]
if not entry then return end
pcall(function() entry.label:Remove() end)
ThrowableESP[part] = nil
end
function WorldESPState.DestroyThrowable(part) DestroyThrowableESP(part) end
function WorldESPState.DestroyAllThrowable()
for part in pairs(ThrowableESP) do
DestroyThrowableESP(part)
end
end
function WorldESPState.RegisterThrowable(part)
if not IsTrackedItem(part) then return end
CreateThrowableESP(part)
end
function WorldESPState.UpdateThrowable()
local enabled = EspRenderSettings.ShowThrowable
if not enabled then
for _, entry in pairs(ThrowableESP) do
if entry.labelVisible then
entry.label.Visible = false
entry.labelVisible = false
end
end
return
end
local cam = Workspace.CurrentCamera
if not cam then return end
local maxDist = DEFAULT_ESP_MAX_DISTANCE
local textSize = math.max(DEFAULT_ESP_TEXT_SIZE - 2, 10)
local rootPosition = HumanoidRootPart and HumanoidRootPart.Position or nil
local maxDistSquared = maxDist * maxDist
for part in pairs(ThrowableESP) do
if not part.Parent or not part:IsDescendantOf(Workspace) or not IsTrackedItem(part) then
DestroyThrowableESP(part)
end
end
for part, entry in pairs(ThrowableESP) do
repeat
local info = WORLD_ITEM_NAMES[part.Name]
if not info then break end
local pos = part:IsA('BasePart') and part.Position or part:GetPivot().Position
local screenPos, onScreen = cam:WorldToViewportPoint(pos)
if not onScreen or screenPos.Z <= 0 then
if entry.labelVisible then
entry.label.Visible = false
entry.labelVisible = false
end
break
end
local dist = 0
if rootPosition then
local rootOffset = pos - rootPosition
local worldDistanceSquared = rootOffset:Dot(rootOffset)
if worldDistanceSquared > maxDistSquared then
if entry.labelVisible then
entry.label.Visible = false
entry.labelVisible = false
end
break
end
dist = math.sqrt(worldDistanceSquared)
end
if not entry.labelVisible then
entry.label.Visible = true
entry.labelVisible = true
end
if entry.lastLabelSize ~= textSize then
entry.lastLabelSize = textSize
entry.label.Size = textSize
end
local roundedDistance = math.floor(dist)
if entry.lastRoundedDistance ~= roundedDistance or entry.lastLabelText ~= info.Label then
entry.lastRoundedDistance = roundedDistance
entry.lastLabelText = info.Label
entry.label.Text = string.format('%s | %dm', info.Label, roundedDistance)
end
local screenX = math.round(screenPos.X)
local screenY = math.round(screenPos.Y)
if entry.lastLabelPositionX ~= screenX or entry.lastLabelPositionY ~= screenY then
entry.lastLabelPositionX = screenX
entry.lastLabelPositionY = screenY
entry.label.Position = Vector2.new(screenX, screenY)
end
if entry.lastLabelColor ~= info.Color then
entry.lastLabelColor = info.Color
entry.label.Color = info.Color
end
until true
end
end
end
do
local WORLD_HAZARD_NAMES = {
['MolotovHitbox'] = {
Color = Color3.fromRGB(255, 120, 0),
BoxTransparency = 0.78,
},
}
local HazardESP = {}
local function IsTrackedHazard(instance)
return instance and instance:IsA('BasePart') and WORLD_HAZARD_NAMES[instance.Name] ~= nil
end
local function HideHazardESP(entry)
if not entry then return end
entry.box.Visible = false
entry.outline.Visible = false
end
local function DestroyHazardAdornment(entry)
if not entry then return end
pcall(function() entry.box:Destroy() end)
pcall(function() entry.outline:Destroy() end)
end
local function CreateHazardESP(part)
if HazardESP[part] then return end
local box = Instance.new('BoxHandleAdornment')
box.AlwaysOnTop = true
box.Adornee = part
box.Visible = false
box.ZIndex = 10
box.Parent = HazardAdornmentContainer
local outline = Instance.new('SelectionBox')
outline.Adornee = part
outline.Visible = false
outline.LineThickness = 0.04
outline.Parent = HazardAdornmentContainer
HazardESP[part] = {
box = box,
outline = outline,
}
end
local function DestroyHazardESP(part)
local entry = HazardESP[part]
if not entry then return end
DestroyHazardAdornment(entry)
HazardESP[part] = nil
end
function WorldESPState.DestroyHazard(part) DestroyHazardESP(part) end
function WorldESPState.DestroyAllHazard()
for part in pairs(HazardESP) do
DestroyHazardESP(part)
end
end
function WorldESPState.RegisterHazard(part)
if not IsTrackedHazard(part) then return end
CreateHazardESP(part)
end
function WorldESPState.UpdateHazard()
local enabled = EspRenderSettings.ShowThrowable
if not enabled then
for _, entry in pairs(HazardESP) do
HideHazardESP(entry)
end
return
end
local maxDist = DEFAULT_ESP_MAX_DISTANCE
local rootPosition = HumanoidRootPart and HumanoidRootPart.Position or nil
local maxDistSquared = maxDist * maxDist
for part, entry in pairs(HazardESP) do
repeat
local info = WORLD_HAZARD_NAMES[part.Name]
if not part.Parent or not part:IsDescendantOf(Workspace) or not info then
DestroyHazardESP(part)
break
end
if rootPosition then
local rootOffset = part.Position - rootPosition
local worldDistanceSquared = rootOffset:Dot(rootOffset)
if worldDistanceSquared > maxDistSquared then
HideHazardESP(entry)
break
end
end
entry.box.Adornee = part
entry.box.Size = part.Size
entry.box.Color3 = info.Color
entry.box.Transparency = info.BoxTransparency
entry.box.Visible = true
entry.outline.Adornee = part
entry.outline.Color3 = BlendColor(info.Color, Color3.fromRGB(255, 255, 255), 0.18)
entry.outline.SurfaceTransparency = 1
entry.outline.Visible = true
until true
end
end
end
-- ======================================================================
-- World ESP: sound visualizer
-- ======================================================================
do
WorldESPState.SoundVisualizer = {
Tracked = setmetatable({}, { __mode = 'k' }),
ActiveEffects = {},
PooledEffects = {},
Enabled = false,
MaxEffects = 32,
}
function WorldESPState.DisconnectSound(sound)
local trackedSounds = WorldESPState.SoundVisualizer.Tracked
local tracked = trackedSounds[sound]
if not tracked then return end
for _, connection in pairs(tracked.Connections) do
pcall(function() connection:Disconnect() end)
end
trackedSounds[sound] = nil
end
function WorldESPState.ResolveSoundEmitterPart(sound)
local parent = sound and sound.Parent or nil
if not parent then return nil end
if parent:IsA('BasePart') then return parent end
if parent:IsA('Attachment') and parent.Parent and parent.Parent:IsA('BasePart') then return parent.Parent end
return parent:FindFirstAncestorWhichIsA('BasePart')
end
function WorldESPState.ResolveSoundSourcePlayer(emitterPart)
local model = emitterPart and emitterPart:FindFirstAncestorOfClass('Model') or nil
while model do
local player = Players:GetPlayerFromCharacter(model)
if player then return player end
model = model.Parent and model.Parent:FindFirstAncestorOfClass('Model') or nil
end
return nil
end
function WorldESPState.IsSoundSourceAllowed(sourcePlayer)
local sourceMode = Options.P1S3D1 and Options.P1S3D1.Value or 'Enemies'
if sourcePlayer and sourcePlayer ~= LP and not IsPlayerInLocalEnvironment(sourcePlayer) then return false end
if sourceMode == 'All' then
return true
elseif sourceMode == 'Self' then
return sourcePlayer == LP
elseif sourceMode == 'Team' then
return sourcePlayer ~= nil and sourcePlayer ~= LP and not ShouldShow(sourcePlayer, false)
end
return sourcePlayer ~= nil and sourcePlayer ~= LP and ShouldShow(sourcePlayer, false)
end
function WorldESPState.IsFootstepSound(sound, emitterPart)
local descriptor = string.lower(table.concat({
tostring(sound and sound.Name or ''),
tostring(emitterPart and emitterPart.Name or ''),
tostring(sound and sound.Parent and sound.Parent.Name or ''),
}, ' '))
return descriptor:find('foot', 1, true) ~= nil
or descriptor:find('step', 1, true) ~= nil
or descriptor:find('running', 1, true) ~= nil
or descriptor:find('landing', 1, true) ~= nil
or (
emitterPart
and emitterPart.Name == 'HumanoidRootPart'
and sound.Looped == false
and sound.TimeLength > 0
and sound.TimeLength <= 1
)
end
function WorldESPState.CreateSoundEffect()
local anchor = Instance.new('Part')
anchor.Name = '__ZkxHubSoundPulse'
anchor.Anchored = true
anchor.CanCollide = false
anchor.CanQuery = false
anchor.CanTouch = false
anchor.CastShadow = false
anchor.Transparency = 1
anchor.Size = Vector3.new(0.05, 0.05, 0.05)
anchor.Parent = Workspace
local pulse = Instance.new('SphereHandleAdornment')
pulse.Name = '__ZkxHubSoundPulseAdornment'
pulse.Adornee = anchor
pulse.AlwaysOnTop = true
pulse.Visible = false
pulse.ZIndex = 9
pulse.Parent = anchor
return {
Anchor = anchor,
Pulse = pulse,
StartedAt = 0,
Duration = 0,
StartRadius = 0,
EndRadius = 0,
}
end
function WorldESPState.DeactivateSoundEffect(index, destroy)
local soundVisualizer = WorldESPState.SoundVisualizer
local effect = table.remove(soundVisualizer.ActiveEffects, index)
if not effect then return end
effect.Pulse.Visible = false
if destroy then
effect.Anchor:Destroy()
else
soundVisualizer.PooledEffects[#soundVisualizer.PooledEffects + 1] = effect
end
end
function WorldESPState.SpawnSoundEffect(sound)
local soundVisualizer = WorldESPState.SoundVisualizer
if not soundVisualizer.Enabled or not sound or not sound.Parent then return end
local minVolume = Options.P1S3S1 and Options.P1S3S1.Value or 0.05
if sound.Volume < minVolume then return end
local emitterPart = WorldESPState.ResolveSoundEmitterPart(sound)
if
not emitterPart or not WorldESPState.IsSoundSourceAllowed(WorldESPState.ResolveSoundSourcePlayer(emitterPart))
then
return
end
if
HumanoidRootPart
and sound.RollOffMaxDistance > 0
and (emitterPart.Position - HumanoidRootPart.Position).Magnitude > sound.RollOffMaxDistance
then
return
end
local isFootstep = WorldESPState.IsFootstepSound(sound, emitterPart)
if isFootstep and not (Toggles.P1S3T2 and Toggles.P1S3T2.Value) then return end
if not isFootstep and not (Toggles.P1S3T3 and Toggles.P1S3T3.Value) then return end
if #soundVisualizer.ActiveEffects >= soundVisualizer.MaxEffects then
WorldESPState.DeactivateSoundEffect(1, false)
end
local effect = table.remove(soundVisualizer.PooledEffects) or WorldESPState.CreateSoundEffect()
local loudnessScale = math.clamp(sound.Volume, 0.25, 2)
effect.Anchor.CFrame = CFrame.new(emitterPart.Position)
effect.StartedAt = tick()
effect.Duration = isFootstep and 0.65 or 0.9
effect.StartRadius = isFootstep and 0.45 or 0.8
effect.EndRadius = (isFootstep and 5 or 9) * loudnessScale
effect.Pulse.Color3 = isFootstep and (Options.P1S3C1 and Options.P1S3C1.Value or Color3.fromRGB(255, 210, 80))
or (Options.P1S3C2 and Options.P1S3C2.Value or Color3.fromRGB(255, 90, 90))
effect.Pulse.Radius = effect.StartRadius
effect.Pulse.Transparency = 0.28
effect.Pulse.Visible = true
soundVisualizer.ActiveEffects[#soundVisualizer.ActiveEffects + 1] = effect
end
function WorldESPState.RegisterSound(instance)
local soundVisualizer = WorldESPState.SoundVisualizer
if
not soundVisualizer.Enabled
or not instance
or not instance:IsA('Sound')
or soundVisualizer.Tracked[instance]
then
return
end
local tracked = {
LastPlayedAt = 0,
Connections = {},
}
soundVisualizer.Tracked[instance] = tracked
tracked.Connections.Played = instance.Played:Connect(GuardRivalsCallback('SoundVisualizer_Played', function()
local now = tick()
if (now - tracked.LastPlayedAt) < 0.03 then return end
tracked.LastPlayedAt = now
WorldESPState.SpawnSoundEffect(instance)
end))
tracked.Connections.Destroying = instance.Destroying:Connect(function() WorldESPState.DisconnectSound(instance) end)
end
function WorldESPState.DestroySound(instance)
if instance and instance:IsA('Sound') then WorldESPState.DisconnectSound(instance) end
end
function WorldESPState.UpdateSoundVisualizer()
local soundVisualizer = WorldESPState.SoundVisualizer
if not soundVisualizer.Enabled then return end
local now = tick()
for index = #soundVisualizer.ActiveEffects, 1, -1 do
local effect = soundVisualizer.ActiveEffects[index]
local alpha = math.clamp((now - effect.StartedAt) / effect.Duration, 0, 1)
if alpha >= 1 then
WorldESPState.DeactivateSoundEffect(index, false)
else
local easedAlpha = 1 - ((1 - alpha) * (1 - alpha))
effect.Pulse.Radius = effect.StartRadius + ((effect.EndRadius - effect.StartRadius) * easedAlpha)
effect.Pulse.Transparency = 0.28 + (alpha * 0.72)
end
end
end
function WorldESPState.SetSoundVisualizerEnabled(enabled)
local soundVisualizer = WorldESPState.SoundVisualizer
enabled = enabled == true
if enabled == soundVisualizer.Enabled then return end
if enabled then
if not Connections then return end
soundVisualizer.Enabled = true
Connections:register(
'SoundVisualizer_Added',
Workspace.DescendantAdded:Connect(GuardRivalsCallback('SoundVisualizer_Added', WorldESPState.RegisterSound))
)
Connections:register(
'SoundVisualizer_Removed',
Workspace.DescendantRemoving:Connect(
GuardRivalsCallback('SoundVisualizer_Removed', WorldESPState.DestroySound)
)
)
Connections:register(
'SoundVisualizer_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('SoundVisualizer_Render', WorldESPState.UpdateSoundVisualizer)
)
)
for _, descendant in ipairs(Workspace:GetDescendants()) do
WorldESPState.RegisterSound(descendant)
end
return
end
soundVisualizer.Enabled = false
if Connections then
Connections:disconnect({
'SoundVisualizer_Added',
'SoundVisualizer_Removed',
'SoundVisualizer_Render',
})
end
local sounds = {}
for sound in pairs(soundVisualizer.Tracked) do
sounds[#sounds + 1] = sound
end
for _, sound in ipairs(sounds) do
WorldESPState.DisconnectSound(sound)
end
while #soundVisualizer.ActiveEffects > 0 do
WorldESPState.DeactivateSoundEffect(#soundVisualizer.ActiveEffects, false)
end
end
function WorldESPState.DestroyAllSoundVisualizer()
local soundVisualizer = WorldESPState.SoundVisualizer
soundVisualizer.Enabled = false
if Connections then
Connections:disconnect({
'SoundVisualizer_Added',
'SoundVisualizer_Removed',
'SoundVisualizer_Render',
})
end
local sounds = {}
for sound in pairs(soundVisualizer.Tracked) do
sounds[#sounds + 1] = sound
end
for _, sound in ipairs(sounds) do
WorldESPState.DisconnectSound(sound)
end
while #soundVisualizer.ActiveEffects > 0 do
WorldESPState.DeactivateSoundEffect(#soundVisualizer.ActiveEffects, true)
end
for _, effect in ipairs(soundVisualizer.PooledEffects) do
effect.Anchor:Destroy()
end
table.clear(soundVisualizer.PooledEffects)
end
end
-- ======================================================================
-- ESP preview (the live preview in the ESP tab)
-- ======================================================================
do
local EspClassic = RivalsRuntimeBridge.ESPClassic
local function CreateEspPreviewPart(model, name, size, position, color)
local part = Instance.new('Part')
part.Name = name
part.Size = size
part.CFrame = CFrame.new(position)
part.Anchored = true
part.CanCollide = false
part.CanQuery = false
part.CanTouch = false
part.CastShadow = false
part.Material = Enum.Material.SmoothPlastic
part.Color = color
part.Parent = model
return part
end
local function BuildEspPreviewModel()
local model = Instance.new('Model')
model.Name = 'ZkxHubEspPreview'
local bodyColor = Color3.fromRGB(116, 124, 137)
local limbColor = Color3.fromRGB(82, 90, 104)
local torso = CreateEspPreviewPart(model, 'Torso', Vector3.new(2, 2.2, 1), Vector3.new(0, 0.65, 0), bodyColor)
CreateEspPreviewPart(
model,
'Head',
Vector3.new(1.45, 1.45, 1.45),
Vector3.new(0, 2.55, 0),
Color3.fromRGB(152, 158, 168)
)
CreateEspPreviewPart(model, 'LeftArm', Vector3.new(0.75, 2.1, 0.8), Vector3.new(-1.4, 0.7, 0), limbColor)
CreateEspPreviewPart(model, 'RightArm', Vector3.new(0.75, 2.1, 0.8), Vector3.new(1.4, 0.7, 0), limbColor)
CreateEspPreviewPart(model, 'LeftLeg', Vector3.new(0.85, 2.2, 0.9), Vector3.new(-0.52, -1.55, 0), limbColor)
CreateEspPreviewPart(model, 'RightLeg', Vector3.new(0.85, 2.2, 0.9), Vector3.new(0.52, -1.55, 0), limbColor)
model.PrimaryPart = torso
local highlight = Instance.new('Highlight')
highlight.Name = 'PreviewHighlight'
highlight.Adornee = model
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.Parent = model
return model, highlight
end
local function CreateEspPreviewPane(parent, anchorPoint, position, size, horizontalAlignment, verticalAlignment)
local pane = Instance.new('Frame')
pane.AnchorPoint = anchorPoint
pane.Position = position
pane.Size = size
pane.BackgroundTransparency = 1
pane.ZIndex = 23
pane.Parent = parent
local layout = Instance.new('UIListLayout')
layout.Padding = UDim.new(0, 2)
layout.FillDirection = Enum.FillDirection.Vertical
layout.HorizontalAlignment = horizontalAlignment
layout.VerticalAlignment = verticalAlignment
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = pane
return pane
end
local function CreateEspPreviewLabel(parent, layoutOrder, textXAlignment)
local label = Instance.new('TextLabel')
label.LayoutOrder = layoutOrder
label.Size = UDim2.new(1, 0, 0, 14)
label.BackgroundTransparency = 1
label.Font = Enum.Font.Code
label.TextColor3 = PLAYER_CARD_THEME.BarTextColor
label.TextSize = 13
label.TextStrokeColor3 = PLAYER_CARD_THEME.Classic.BoxOutlineColor
label.TextStrokeTransparency = 0
label.TextXAlignment = textXAlignment or Enum.TextXAlignment.Center
label.ZIndex = 24
label.Parent = parent
return label
end
local function CreateEspPreviewSegment(parent)
local segment = Instance.new('Frame')
segment.BackgroundColor3 = Color3.new(1, 1, 1)
segment.BorderColor3 = PLAYER_CARD_THEME.Classic.BoxOutlineColor
segment.BorderSizePixel = 1
segment.ZIndex = 22
segment.Visible = false
segment.Parent = parent
return segment
end
local function SetEspPreviewSegment(segment, visible, position, size, color)
segment.Visible = visible
if not visible then return end
segment.Position = position
segment.Size = size
segment.BackgroundColor3 = color
end
local function UpdateEspPreviewBox(state, visible, color)
local segments = state.BoxSegments
if not visible then
for _, segment in ipairs(segments) do
segment.Visible = false
end
return
end
SetEspPreviewSegment(segments[1], true, UDim2.fromScale(0, 0), UDim2.new(0.28, 0, 0, 2), color)
SetEspPreviewSegment(segments[2], true, UDim2.new(0.72, 0, 0, 0), UDim2.new(0.28, 0, 0, 2), color)
SetEspPreviewSegment(segments[3], true, UDim2.new(0, 0, 1, -2), UDim2.new(0.28, 0, 0, 2), color)
SetEspPreviewSegment(segments[4], true, UDim2.new(0.72, 0, 1, -2), UDim2.new(0.28, 0, 0, 2), color)
SetEspPreviewSegment(segments[5], true, UDim2.fromScale(0, 0), UDim2.new(0, 2, 0.28, 0), color)
SetEspPreviewSegment(segments[6], true, UDim2.new(0, 0, 0.72, 0), UDim2.new(0, 2, 0.28, 0), color)
SetEspPreviewSegment(segments[7], true, UDim2.new(1, -2, 0, 0), UDim2.new(0, 2, 0.28, 0), color)
SetEspPreviewSegment(segments[8], true, UDim2.new(1, -2, 0.72, 0), UDim2.new(0, 2, 0.28, 0), color)
end
-- the preview plays the bar and the ammo like a live target: health sweeps 0 to 100 and back, the magazine empties and reloads
local function ApplyEspPreviewHealth(state, settings)
local pct = state.HealthPct or 0.75
local number = math.floor(pct * 100 + 0.5)
if settings.UseVerticalHealth then
state.HealthFill.Size = UDim2.fromScale(1, pct)
state.HealthNumber.Text = tostring(number)
state.HealthFill.BackgroundColor3 = EspClassic.GetReactiveBarColor(pct)
else
state.HealthFill.Size = UDim2.fromScale(pct, 1)
state.HealthNumber.Text = number .. ' HP'
state.HealthFill.BackgroundColor3 = GetHealthBarColor(pct)
end
end
local function ApplyEspPreviewAmmo(state, settings)
local ammo = state.PreviewAmmo or 20
state.AmmoNumber.Text = ammo .. '/30'
state.AmmoNumber.TextColor3 = (ammo <= 0 or state.PreviewReloading) and settings.EmptyAmmoColor or PLAYER_CARD_THEME.BarTextColor
state.HeldWeapon.Text = state.PreviewReloading and '*Reloading*' or 'Assault Rifle'
end
RivalsRuntimeBridge.UpdateEspPreview = function()
local state = RivalsRuntimeBridge.EspPreviewState
if not state or not state.Overlay or state.Overlay.Parent == nil then return end
local settings = EspRenderSettings
local color = settings.VisibleColor
state.Overlay.Visible = settings.Enabled
state.Highlight.Enabled = settings.Enabled and settings.ShowHighlight
state.Highlight.FillColor = color
state.Highlight.OutlineColor = BlendColor(color, PLAYER_CARD_THEME.FrameColor, 0.24)
state.Highlight.FillTransparency = settings.FillAlpha
state.Highlight.OutlineTransparency = settings.OutlineAlpha
UpdateEspPreviewBox(state, settings.ShowBox, color)
state.Name.Visible = settings.ShowName
state.Name.Text = LP and LP.Name or 'Player'
local useHorizontalHealth = settings.ShowHealth and not settings.UseVerticalHealth
state.TopPane.Position = UDim2.new(0.5, 0, 0, useHorizontalHealth and -21 or -2)
state.HealthRail.Visible = settings.ShowHealth
state.HealthNumber.Visible = settings.ShowHealth
if settings.UseVerticalHealth then
state.HealthRailCorner.CornerRadius = UDim.new(0, 0)
state.HealthFillCorner.CornerRadius = UDim.new(0, 0)
state.HealthRail.AnchorPoint = Vector2.new(1, 0)
state.HealthRail.Position = UDim2.new(0, -6, 0, 0)
state.HealthRail.Size = UDim2.new(0, 4, 1, 0)
state.HealthFill.AnchorPoint = Vector2.new(0, 1)
state.HealthFill.Position = UDim2.fromScale(0, 1)
state.HealthFill.Size = UDim2.fromScale(1, 0.75)
state.HealthNumber.AnchorPoint = Vector2.new(1, 0.5)
state.HealthNumber.Position = UDim2.new(0, -10, 0.25, 0)
state.HealthNumber.Size = UDim2.new(0, 30, 0, 14)
state.HealthNumber.Text = '75'
else
state.HealthRailCorner.CornerRadius = UDim.new(1, 0)
state.HealthFillCorner.CornerRadius = UDim.new(1, 0)
state.HealthRail.AnchorPoint = Vector2.new(0.5, 1)
state.HealthRail.Position = UDim2.new(0.5, 0, 0, -3)
state.HealthRail.Size = UDim2.new(0, 60, 0, 14)
state.HealthFill.AnchorPoint = Vector2.new(0, 0)
state.HealthFill.Position = UDim2.fromScale(0, 0)
state.HealthFill.Size = UDim2.fromScale(0.75, 1)
state.HealthNumber.AnchorPoint = Vector2.new(0.5, 0.5)
state.HealthNumber.Position = UDim2.new(0.5, 0, 0, -10)
state.HealthNumber.Size = UDim2.new(0, 54, 0, 14)
state.HealthNumber.Text = '75 HP'
end
state.HealthFill.BackgroundColor3 = settings.UseVerticalHealth and EspClassic.GetReactiveBarColor(0.75)
or GetHealthBarColor(0.75)
ApplyEspPreviewHealth(state, settings)
state.AmmoNumber.Visible = settings.ShowAmmoText
state.AmmoNumber.Text = '20/30'
ApplyEspPreviewAmmo(state, settings)
state.BottomPane.Position = UDim2.new(0.5, 0, 1, 3)
state.LookDirectionLine.Visible = settings.ShowLookDir
state.LookDirectionLine.BackgroundColor3 = settings.LookDirColor
state.HeldWeapon.Visible = settings.ShowWeapon
state.HeldWeapon.Text = 'Assault Rifle'
if state.PreviewReloading then state.HeldWeapon.Text = "*Reloading*" end
state.Distance.Visible = settings.ShowDistance
state.Distance.Text = '42m'
state.Deflecting.Visible = settings.ShowDeflecting
state.Deflecting.Text = 'DEFLECTING'
state.Rank.Visible = settings.ShowRank
state.Rank.Text = 'DIAMOND'
state.WinStreak.Visible = settings.ShowWinStreak
state.WinStreak.Text = '5 WS'
local previewFont = Enum.Font.Code
local mainTextSize = 16
local flagTextSize = 12
for _, label in ipairs({ state.Name, state.AmmoNumber, state.HeldWeapon, state.Distance }) do
label.Font = previewFont
label.TextSize = mainTextSize
end
state.HealthNumber.Font = previewFont
state.HealthNumber.TextSize = mainTextSize
for _, label in ipairs({ state.Deflecting, state.Rank, state.WinStreak }) do
label.Font = previewFont
label.TextSize = flagTextSize
end
for _, pane in ipairs({ state.TopPane, state.BottomPane, state.RightPane }) do
local layout = pane:FindFirstChildOfClass('UIListLayout')
if layout then layout.Padding = UDim.new(0, 1) end
end
end
RivalsRuntimeBridge.BuildEspPreview = function(groupbox)
local function BuildEspPreviewAvatarModel()
local descriptionOk, description = pcall(
function() return Players:GetHumanoidDescriptionFromUserIdAsync(LP.UserId) end
)
if not descriptionOk or description == nil then return nil end
local modelOk, avatarModel = pcall(
function() return Players:CreateHumanoidModelFromDescriptionAsync(description, Enum.HumanoidRigType.R15) end
)
if not modelOk or avatarModel == nil then return nil end
avatarModel:PivotTo(CFrame.identity)
local animate = avatarModel:FindFirstChild('Animate')
if animate then animate:Destroy() end
return avatarModel
end
local EspPreviewOrbit = {
Rotation = math.rad(225),
Elevation = math.rad(20),
DistanceMultiplier = 4,
ModelCenter = Vector3.zero,
ModelSize = Vector3.zero,
ModelRadius = 4,
}
local function MeasureEspPreviewModel(previewModel)
local minCorner, maxCorner
for _, descendant in ipairs(previewModel:GetDescendants()) do
if descendant:IsA('BasePart') and not descendant:FindFirstAncestorOfClass('Accessory') then
local halfSize = descendant.Size * 0.5
local lowCorner = descendant.Position - halfSize
local highCorner = descendant.Position + halfSize
if not minCorner then
minCorner, maxCorner = lowCorner, highCorner
else
minCorner = Vector3.new(
math.min(minCorner.X, lowCorner.X),
math.min(minCorner.Y, lowCorner.Y),
math.min(minCorner.Z, lowCorner.Z)
)
maxCorner = Vector3.new(
math.max(maxCorner.X, highCorner.X),
math.max(maxCorner.Y, highCorner.Y),
math.max(maxCorner.Z, highCorner.Z)
)
end
end
end
if not minCorner then return end
local size = maxCorner - minCorner
EspPreviewOrbit.ModelCenter = (minCorner + maxCorner) * 0.5
EspPreviewOrbit.ModelSize = size
EspPreviewOrbit.ModelRadius = math.max(size.X, size.Y, size.Z) * 0.5
end
local UpdateEspPreviewOverlayRect = nil
local function UpdateEspPreviewCamera(camera)
local distance = math.max(EspPreviewOrbit.ModelRadius * 2.4 * EspPreviewOrbit.DistanceMultiplier, 4)
local elevation = math.clamp(EspPreviewOrbit.Elevation, -math.pi / 2 + 0.1, math.pi / 2 - 0.1)
local planar = math.cos(elevation)
local offset = Vector3.new(
math.cos(EspPreviewOrbit.Rotation) * distance * planar,
math.sin(elevation) * distance,
math.sin(EspPreviewOrbit.Rotation) * distance * planar
)
camera.CFrame = CFrame.new(EspPreviewOrbit.ModelCenter + offset, EspPreviewOrbit.ModelCenter)
if UpdateEspPreviewOverlayRect then UpdateEspPreviewOverlayRect() end
end
local model, highlight = BuildEspPreviewModel()
local viewport = groupbox:AddViewport('P1S4V1', {
Object = model,
Clone = false,
AutoFocus = false,
Interactive = false,
Height = 400,
})
if not viewport then
model:Destroy()
return
end
viewport.Camera.FieldOfView = 18
MeasureEspPreviewModel(model)
UpdateEspPreviewCamera(viewport.Camera)
local viewportFrame = viewport.Object.Parent
viewportFrame.LightDirection = Vector3.new(-1, -1, -1).Unit
viewportFrame.LightColor = Color3.fromRGB(255, 255, 255)
viewportFrame.Ambient = Color3.fromRGB(140, 140, 150)
viewportFrame.ClipsDescendants = true
local previewWorldModel = Instance.new('WorldModel')
previewWorldModel.Parent = viewportFrame
model.Parent = previewWorldModel
local backgroundFrame = Instance.new('Frame')
backgroundFrame.Name = 'EspPreviewBackground'
backgroundFrame.Size = UDim2.fromScale(1, 1)
backgroundFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
backgroundFrame.BorderSizePixel = 0
backgroundFrame.ZIndex = 0
backgroundFrame.Parent = viewportFrame.Parent
local backgroundGradient = Instance.new('UIGradient')
backgroundGradient.Rotation = 90
backgroundGradient.Color = ColorSequence.new(Library.Scheme.MainColor, Library.Scheme.BackgroundColor)
backgroundGradient.Parent = backgroundFrame
local backgroundCorner = Instance.new('UICorner')
backgroundCorner.CornerRadius = UDim.new(0, 6)
backgroundCorner.Parent = backgroundFrame
local viewportCorner = Instance.new('UICorner')
viewportCorner.CornerRadius = UDim.new(0, 6)
viewportCorner.Parent = viewportFrame
local orbitButton = Instance.new('TextButton')
orbitButton.Name = 'EspPreviewOrbitButton'
orbitButton.Size = UDim2.fromScale(1, 1)
orbitButton.BackgroundTransparency = 1
orbitButton.Text = ''
orbitButton.AutoButtonColor = false
orbitButton.ZIndex = 19
orbitButton.Parent = viewportFrame
local orbitDragging = false
local orbitLastPosition = nil
orbitButton.MouseEnter:Connect(GuardRivalsCallback('EspPreview_HoverScroll', function()
for _, side in ipairs(groupbox.Tab.Sides) do
side.ScrollingEnabled = false
end
end))
orbitButton.MouseLeave:Connect(GuardRivalsCallback('EspPreview_HoverScroll', function()
for _, side in ipairs(groupbox.Tab.Sides) do
side.ScrollingEnabled = true
end
end))
orbitButton.InputBegan:Connect(GuardRivalsCallback('EspPreview_OrbitDrag', function(input)
if
input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch
then
orbitDragging = true
orbitLastPosition = nil
end
end))
orbitButton.InputChanged:Connect(GuardRivalsCallback('EspPreview_OrbitZoom', function(input)
if input.UserInputType ~= Enum.UserInputType.MouseWheel then return end
local direction = 1
if input.Position.Z > 0 then direction = -1 end
EspPreviewOrbit.DistanceMultiplier = math.clamp(EspPreviewOrbit.DistanceMultiplier * 0.85 ^ -direction, 0.2, 6)
UpdateEspPreviewCamera(viewport.Camera)
end))
Library:GiveSignal(UserInputService.InputChanged:Connect(GuardRivalsCallback('EspPreview_OrbitDrag', function(input)
if not orbitDragging then return end
if
input.UserInputType ~= Enum.UserInputType.MouseMovement
and input.UserInputType ~= Enum.UserInputType.Touch
then
return
end
local position = Vector2.new(input.Position.X, input.Position.Y)
if orbitLastPosition then
local delta = position - orbitLastPosition
EspPreviewOrbit.Rotation = EspPreviewOrbit.Rotation - delta.X * 0.012
EspPreviewOrbit.Elevation =
math.clamp(EspPreviewOrbit.Elevation - delta.Y * 0.012, -math.pi / 2 + 0.1, math.pi / 2 - 0.1)
UpdateEspPreviewCamera(viewport.Camera)
end
orbitLastPosition = position
end)))
Library:GiveSignal(UserInputService.InputEnded:Connect(GuardRivalsCallback('EspPreview_OrbitDrag', function(input)
if
input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch
then
orbitDragging = false
orbitLastPosition = nil
end
end)))
local overlay = Instance.new('Frame')
overlay.Name = 'EspPreviewOverlay'
overlay.Size = UDim2.fromScale(1, 1)
overlay.BackgroundTransparency = 1
overlay.ZIndex = 20
overlay.Parent = viewportFrame
local target = Instance.new('Frame')
target.Name = 'TargetRect'
target.AnchorPoint = Vector2.new(0.5, 0.5)
target.Position = UDim2.fromScale(0.5, 0.5)
target.Size = UDim2.fromScale(0.3, 0.6)
target.BackgroundTransparency = 1
target.ZIndex = 21
target.Parent = overlay
UpdateEspPreviewOverlayRect = function()
local viewportSize = viewportFrame.AbsoluteSize
if viewportSize.X < 1 or viewportSize.Y < 1 then return end
local camera = viewport.Camera
local cameraCFrame = camera.CFrame
local tanHalfFov = math.tan(math.rad(camera.FieldOfView) * 0.5)
local aspect = viewportSize.X / viewportSize.Y
local center = EspPreviewOrbit.ModelCenter
local halfSize = EspPreviewOrbit.ModelSize * 0.5
local minX, minY, maxX, maxY
for xSign = -1, 1, 2 do
for ySign = -1, 1, 2 do
for zSign = -1, 1, 2 do
local corner = center + Vector3.new(halfSize.X * xSign, halfSize.Y * ySign, halfSize.Z * zSign)
local relative = cameraCFrame:PointToObjectSpace(corner)
local depth = math.max(-relative.Z, 0.05)
local screenX = (relative.X / (depth * tanHalfFov * aspect) * 0.5 + 0.5) * viewportSize.X
local screenY = (0.5 - relative.Y / (depth * tanHalfFov) * 0.5) * viewportSize.Y
if not minX or screenX < minX then minX = screenX end
if not maxX or screenX > maxX then maxX = screenX end
if not minY or screenY < minY then minY = screenY end
if not maxY or screenY > maxY then maxY = screenY end
end
end
end
target.Position = UDim2.fromOffset(math.round((minX + maxX) * 0.5), math.round((minY + maxY) * 0.5))
target.Size = UDim2.fromOffset(math.round(maxX - minX), math.round(maxY - minY))
end
UpdateEspPreviewOverlayRect()
viewportFrame
:GetPropertyChangedSignal('AbsoluteSize')
:Connect(GuardRivalsCallback('EspPreview_Layout', UpdateEspPreviewOverlayRect))
local boxSegments = table.create(8)
for segmentIndex = 1, 8 do
boxSegments[segmentIndex] = CreateEspPreviewSegment(target)
end
local topPane = CreateEspPreviewPane(
target,
Vector2.new(0.5, 1),
UDim2.new(0.5, 0, 0, -2),
UDim2.new(3, 0, 0, 18),
Enum.HorizontalAlignment.Center,
Enum.VerticalAlignment.Bottom
)
local bottomPane = CreateEspPreviewPane(
target,
Vector2.new(0.5, 0),
UDim2.new(0.5, 0, 1, 3),
UDim2.new(3, 0, 0, 48),
Enum.HorizontalAlignment.Center,
Enum.VerticalAlignment.Top
)
local rightPane = CreateEspPreviewPane(
target,
Vector2.new(0, 0),
UDim2.new(1, 6, 0, 0),
UDim2.new(2, 0, 1, 0),
Enum.HorizontalAlignment.Left,
Enum.VerticalAlignment.Top
)
local healthRail = Instance.new('Frame')
healthRail.BackgroundColor3 = PLAYER_CARD_THEME.BarBackgroundColor
healthRail.BorderColor3 = PLAYER_CARD_THEME.Classic.BoxOutlineColor
healthRail.BorderSizePixel = 1
healthRail.ZIndex = 23
healthRail.Parent = target
local healthFill = Instance.new('Frame')
healthFill.BackgroundColor3 = EspClassic.GetReactiveBarColor(0.75)
healthFill.BorderSizePixel = 0
healthFill.ZIndex = 24
healthFill.Parent = healthRail
local healthRailCorner = Instance.new('UICorner')
healthRailCorner.Parent = healthRail
local healthFillCorner = Instance.new('UICorner')
healthFillCorner.Parent = healthFill
local healthNumber = CreateEspPreviewLabel(target, 0, Enum.TextXAlignment.Center)
local lookDirectionLine = Instance.new('Frame')
lookDirectionLine.Name = 'LookDirectionLine'
lookDirectionLine.AnchorPoint = Vector2.new(0, 0.5)
lookDirectionLine.Position = UDim2.new(0.5, 0, 0.16, 0)
lookDirectionLine.Size = UDim2.new(0, 38, 0, 2)
lookDirectionLine.Rotation = -12
lookDirectionLine.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
lookDirectionLine.BorderSizePixel = 0
lookDirectionLine.ZIndex = 25
lookDirectionLine.Parent = target
RivalsRuntimeBridge.EspPreviewState = {
Viewport = viewport,
Overlay = overlay,
Target = target,
Highlight = highlight,
BoxSegments = boxSegments,
TopPane = topPane,
BottomPane = bottomPane,
RightPane = rightPane,
Name = CreateEspPreviewLabel(topPane, 1),
AmmoNumber = CreateEspPreviewLabel(bottomPane, 1),
HeldWeapon = CreateEspPreviewLabel(bottomPane, 2),
Distance = CreateEspPreviewLabel(bottomPane, 3),
Deflecting = CreateEspPreviewLabel(rightPane, 1, Enum.TextXAlignment.Left),
Rank = CreateEspPreviewLabel(rightPane, 2, Enum.TextXAlignment.Left),
WinStreak = CreateEspPreviewLabel(rightPane, 3, Enum.TextXAlignment.Left),
HealthRail = healthRail,
HealthFill = healthFill,
HealthRailCorner = healthRailCorner,
HealthFillCorner = healthFillCorner,
HealthNumber = healthNumber,
LookDirectionLine = lookDirectionLine,
}
RivalsRuntimeBridge.UpdateEspPreview()
local previewClock = 0
local previewVisibleCheckAt = 0
local previewOnScreen = false
Library:GiveSignal(RunService.RenderStepped:Connect(GuardRivalsCallback("EspPreview_Animate", function(deltaTime)
local state = RivalsRuntimeBridge.EspPreviewState
if not state or not state.Overlay or not state.Overlay.Parent or not Library.Toggled then return end
previewClock = previewClock + deltaTime
-- is the ESP page the one on screen? (checked a few times a second)
if previewClock >= previewVisibleCheckAt then
previewVisibleCheckAt = previewClock + 0.25
previewOnScreen = viewportFrame.AbsoluteSize.X > 1
local node = viewportFrame
while previewOnScreen and node do
if node:IsA("GuiObject") and not node.Visible then previewOnScreen = false end
node = node.Parent
end
end
if not previewOnScreen then return end
-- a slow turn (one lap in 10 s), paused while it is being dragged
if not orbitDragging then
EspPreviewOrbit.Rotation = EspPreviewOrbit.Rotation + deltaTime * math.rad(36)
UpdateEspPreviewCamera(viewport.Camera)
end
state.HealthPct = math.abs((previewClock / 4) % 2 - 1)
local cycle = previewClock % 7.2
state.PreviewReloading = cycle >= 6
state.PreviewAmmo = state.PreviewReloading and 0 or math.ceil(30 * (1 - cycle / 6))
local settings = EspRenderSettings
ApplyEspPreviewHealth(state, settings)
ApplyEspPreviewAmmo(state, settings)
end)))
task.spawn(GuardRivalsCallback('EspPreview_Avatar', function()
local avatarModel = BuildEspPreviewAvatarModel()
if avatarModel == nil then return end
if Library.Unloaded or viewport.Destroyed then
avatarModel:Destroy()
return
end
viewport:SetObject(avatarModel)
avatarModel.Parent = previewWorldModel
avatarModel:PivotTo(CFrame.identity)
local avatarHighlight = Instance.new('Highlight')
avatarHighlight.Name = 'PreviewHighlight'
avatarHighlight.Adornee = avatarModel
avatarHighlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
avatarHighlight.Parent = avatarModel
local state = RivalsRuntimeBridge.EspPreviewState
if state then state.Highlight = avatarHighlight end
task.wait(0.2)
MeasureEspPreviewModel(avatarModel)
EspPreviewOrbit.Rotation = math.rad(225)
UpdateEspPreviewCamera(viewport.Camera)
RivalsRuntimeBridge.UpdateEspPreview()
end))
end
end
-- UI
local Window = GameBootstrap.create_window({
library = Library,
script_paths = ScriptPaths,
auto_show_config = AutoShowConfig,
position = UDim2.new(0, 230, 0, 200),
title = TitleTemplate,
center = true,
})
__ZkhHub_genv.ZkxLoad(0.30, 'Loading game data')
-- ======================================================================
-- Player chams styles (Flat, Glow, Fresnel, Glass, Chrome, Wireframe)
-- ======================================================================
-- Driven from the ESP render loop: for every player the ESP is showing it gets the player and the colour the ESP picked
-- (Visible colour while the player is in line of sight, Hidden colour behind cover, team colour for teammates).
-- Every part it touches is restored when the style changes, the switch goes off, the player leaves or the ESP stops
-- calling for him (the sweep below), so nothing is left behind.
do
local RunService = game:GetService('RunService')
local Chams = {
Entries = {},
Names = { 'Flat', 'Glow', 'Fresnel', 'Glass', 'Chrome', 'Wireframe', 'Forcefield' },
}
RivalsRuntimeBridge.PlayerChams = Chams
local function toggleOn(id) return Toggles ~= nil and Toggles[id] ~= nil and Toggles[id].Value == true end
local function optionValue(id, fallback)
local option = Options and Options[id]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
local function usable(part)
return part:IsA('BasePart')
and part.Name ~= 'HumanoidRootPart'
and part.Name ~= 'FakeMass'
and not part.Name:find('Hitbox')
and part.Transparency < 0.95
end
-- ---------------------------------------------------------------- what each style does
-- material = override for the real parts (only seen while the player is in sight); fill/outline = the see-through highlight
local Styles = {
Flat = { Fill = 0, Outline = 1 },
Glow = { Material = Enum.Material.Neon, Strip = true, Fill = 0.55, Outline = 0 },
Fresnel = { Fill = 0.88, Outline = 0 },
Glass = { Material = Enum.Material.Glass, Strip = true, Reflectance = 0.15, Fill = 0.78, Outline = 0.35 },
Chrome = { Material = Enum.Material.Metal, Strip = true, Reflectance = 1, Lift = 0.5, Fill = 1, Outline = 0.2 },
Wireframe = { Fill = 1, Outline = 1, Boxes = true },
Forcefield = { Material = Enum.Material.ForceField, Strip = true, Fill = 0.8, Outline = 0.25 },
}
local function snapshotPart(entry, part)
if entry.Snaps[part] then return end
entry.Snaps[part] = {
Material = part.Material,
Color = part.Color,
Reflectance = part.Reflectance,
}
end
local SKIN_PROPS = { Shirt = 'ShirtTemplate', Pants = 'PantsTemplate', ShirtGraphic = 'Graphic', MeshPart = 'TextureID', SpecialMesh = 'TextureId' }
local function stripSkins(entry)
if entry.Skinless then return end
entry.Skinless = true
for _, descendant in ipairs(entry.Character:GetDescendants()) do
local prop = SKIN_PROPS[descendant.ClassName]
if prop then
local ok, value = pcall(function() return descendant[prop] end)
if ok and value ~= '' then
entry.Skins[descendant] = { Prop = prop, Value = value }
pcall(function() descendant[prop] = '' end)
end
end
end
end
local function restoreParts(entry)
for part, snap in pairs(entry.Snaps) do
pcall(function()
part.Material = snap.Material
part.Color = snap.Color
part.Reflectance = snap.Reflectance
end)
end
entry.Snaps = {}
for instance, skin in pairs(entry.Skins) do
pcall(function() instance[skin.Prop] = skin.Value end)
end
entry.Skins = {}
entry.Skinless = false
end
function Chams.Clear(player)
local entry = Chams.Entries[player]
if not entry then return end
restoreParts(entry)
if entry.Highlight then pcall(function() entry.Highlight:Destroy() end) end
for _, box in ipairs(entry.Boxes) do
pcall(function() box:Destroy() end)
end
Chams.Entries[player] = nil
end
function Chams.Destroy()
for player in pairs(Chams.Entries) do
Chams.Clear(player)
end
if Connections then Connections:disconnect({ 'PlayerChams_Sweep' }) end
Chams.SweepConnected = false
end
local function build(player, character, style)
local spec = Styles[style] or Styles.Glow
local entry = {
Character = character,
Style = style,
Snaps = {},
Skins = {},
Boxes = {},
Parts = {},
StepAt = os.clock(),
}
local highlight = Instance.new('Highlight')
highlight.Name = 'ZkxHubPlayerChams'
highlight.Adornee = character
highlight.Parent = character
entry.Highlight = highlight
for _, descendant in ipairs(character:GetDescendants()) do
if usable(descendant) then
entry.Parts[#entry.Parts + 1] = descendant
if spec.Boxes then
local box = Instance.new('SelectionBox')
box.Name = 'ZkxHubPlayerChamsBox'
box.Adornee = descendant
box.LineThickness = 0.025
box.SurfaceTransparency = 1
box.Parent = descendant
entry.Boxes[#entry.Boxes + 1] = box
end
end
end
Chams.Entries[player] = entry
if not Chams.SweepConnected and Connections then
Chams.SweepConnected = true
Connections:register('PlayerChams_Sweep', RunService.Heartbeat:Connect(GuardRivalsCallback('PlayerChams_Sweep', Chams.Sweep)))
end
return entry
end
-- called every ESP frame for a player that is on screen
function Chams.Step(player, character, color, visible, styleOverride)
if not toggleOn('ZPCT1') then
Chams.Clear(player)
return
end
if typeof(character) ~= 'Instance' or not character.Parent or typeof(color) ~= 'Color3' then return end
-- own colours instead of the ESP's (the Visible one while the player is in sight, the Hidden one behind cover)
if toggleOn('ZPCT3') then
local custom = optionValue(visible == false and 'ZPCC2' or 'ZPCC1', nil)
if typeof(custom) == 'Color3' then color = custom end
end
local style = styleOverride or optionValue('ZPCD1', 'Glow')
local entry = Chams.Entries[player]
if entry and (entry.Character ~= character or entry.Style ~= style) then
Chams.Clear(player)
entry = nil
end
entry = entry or build(player, character, style)
entry.StepAt = os.clock()
local spec = Styles[style] or Styles.Glow
local alpha = tonumber(optionValue('ZPCS1', 0.3)) or 0.3
local throughWalls = toggleOn('ZPCT2')
local highlight = entry.Highlight
highlight.DepthMode = throughWalls and Enum.HighlightDepthMode.AlwaysOnTop or Enum.HighlightDepthMode.Occluded
highlight.FillColor = color
highlight.OutlineColor = color
-- the slider moves the highlight between the style's own look (0) and fully clear (1)
highlight.FillTransparency = math.clamp(spec.Fill + (1 - spec.Fill) * alpha * 0.5, 0, 1)
highlight.OutlineTransparency = spec.Outline
if spec.Material and visible then
if spec.Strip then stripSkins(entry) end
local tint = color
if spec.Lift then tint = color:Lerp(Color3.new(1, 1, 1), spec.Lift) end
for _, part in ipairs(entry.Parts) do
if part.Parent then
snapshotPart(entry, part)
part.Material = spec.Material
part.Color = tint
if spec.Reflectance then part.Reflectance = spec.Reflectance end
end
end
elseif entry.Snaps and next(entry.Snaps) ~= nil then
-- behind cover the real parts are not seen anyway: give them back
restoreParts(entry)
end
for _, box in ipairs(entry.Boxes) do
box.Color3 = color
end
end
-- players the ESP stopped calling for (off screen, too far, master switch off, left) get restored
function Chams.Sweep()
local now = os.clock()
for player, entry in pairs(Chams.Entries) do
if now - entry.StepAt > 0.25 or not entry.Character.Parent or player.Parent == nil then Chams.Clear(player) end
end
end
-- ---------------------------------------------------------------- menu (called from the ESP tab builder)
function Chams.BuildMenu(tab)
local group = tab:AddRightGroupbox('Player Chams')
group:AddToggle('ZPCT1', {
Text = 'Player Chams',
Default = false,
Tooltip = 'Re-skins the players the ESP shows. Uses the Visible / Hidden / team colours of the ESP.',
})
local box = group:AddDependencyBox()
box:AddDropdown('ZPCD1', {
Text = 'Style',
Values = Chams.Names,
Default = 'Glow',
Multi = false,
Tooltip = 'Flat: solid colour, no detail. Glow: emissive neon. Fresnel: bright rim, clear centre. Glass: see-through glossy. Chrome: mirror metal. Wireframe: a box around every body part. Forcefield: the animated forcefield shell in your colour.',
})
box:AddSlider('ZPCS1', {
Text = 'Clearness',
Default = 0.3,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
Tooltip = '0 = the style at full strength, 1 = see-through.',
})
box:AddToggle('ZPCT3', {
Text = 'Custom Color',
Default = false,
Tooltip = 'Uses your own colours for the chams instead of the ESP Visible / Hidden / team colours.',
})
local customColors = box:AddDependencyBox()
customColors:AddLabel('Visible Color'):AddColorPicker('ZPCC1', {
Default = Color3.fromRGB(125, 85, 255),
Title = 'Chams Visible Color',
})
customColors:AddLabel('Hidden Color'):AddColorPicker('ZPCC2', {
Default = Color3.fromRGB(255, 70, 70),
Title = 'Chams Hidden Color',
})
customColors:SetupDependencies({ { Toggles.ZPCT3, true } })
box:AddToggle('ZPCT2', {
Text = 'Through Walls',
Default = true,
Tooltip = 'Keeps the chams visible behind cover (the Hidden colour). Off = only where the player is in sight.',
})
box:SetupDependencies({ { Toggles.ZPCT1, true } })
end
if type(getgenv) == 'function' then
local probe = getgenv().__ZkxHubTest
if type(probe) == 'table' then probe.PlayerChams = Chams end
end
end
-- ======================================================================
-- Custom sounds / skyboxes dialogs
-- ======================================================================
RivalsRuntimeBridge.CombatFeedback.OpenCustomSoundsDialog = function()
local feedback = RivalsRuntimeBridge.CombatFeedback
local dialog = Window:AddDialog('Rivals_CustomSounds', {
Title = 'Manage Custom Sounds',
Description = 'Add a named Roblox sound ID, local file, or direct URL, or remove a saved sound.',
AutoDismiss = false,
OutsideClickDismiss = false,
FooterButtons = {
Close = {
Title = 'Close',
Variant = 'Ghost',
Order = 1,
Callback = function(activeDialog) activeDialog:Dismiss() end,
},
Remove = {
Title = 'Remove Selected',
Variant = 'Destructive',
Order = 2,
Callback = GuardRivalsCallback('CombatFeedback_RemoveCustomSound', function()
if feedback.RemoveCustomSound(Options.P1S17D1 and Options.P1S17D1.Value) then
Options.P1S17D1:SetValue(nil)
Library:Notify('Removed custom sound.')
else
Library:Notify('Select a saved custom sound to remove.')
end
end),
},
Add = {
Title = 'Add Sound',
Variant = 'Primary',
Order = 3,
Callback = GuardRivalsCallback('CombatFeedback_AddCustomSound', function()
if
feedback.AddCustomSound(
Options.P1S17I1 and Options.P1S17I1.Value,
Options.P1S17I2 and Options.P1S17I2.Value
)
then
Options.P1S17I1:SetValue('')
Options.P1S17I2:SetValue('')
Library:Notify('Added custom sound.')
else
Library:Notify('Use a unique name and a valid sound source.')
end
end),
},
},
})
dialog:AddInput('P1S17I1', {
Default = '',
Text = 'Name',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S17I2', {
Default = '',
Text = 'Sound ID / File / URL',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddDropdown('P1S17D1', {
Values = feedback.ResolveUserSoundNames(),
Multi = false,
Text = 'Saved Sounds',
Searchable = true,
AllowNull = true,
})
return dialog
end
RivalsRuntimeBridge.WorldVisuals.OpenCustomSkyboxesDialog = function()
local world = RivalsRuntimeBridge.WorldVisuals
local dialog = Window:AddDialog('Rivals_CustomSkyboxes', {
Title = 'Manage Custom Skyboxes',
Description = 'Give the skybox a unique name and provide all six Roblox image asset IDs.',
AutoDismiss = false,
OutsideClickDismiss = false,
FooterButtons = {
Close = {
Title = 'Close',
Variant = 'Ghost',
Order = 1,
Callback = function(activeDialog) activeDialog:Dismiss() end,
},
Remove = {
Title = 'Remove Selected',
Variant = 'Destructive',
Order = 2,
Callback = GuardRivalsCallback('WorldVisuals_RemoveCustomSkybox', function()
if world.RemoveSelectedCustomSkybox() then
Library:Notify('Removed custom skybox.')
else
Library:Notify('Select a saved custom skybox to remove.')
end
end),
},
Add = {
Title = 'Add Skybox',
Variant = 'Primary',
Order = 3,
Callback = GuardRivalsCallback('WorldVisuals_AddCustomSkybox', function()
if world.AddCustomSkyboxFromOptions() then
Library:Notify('Added custom skybox.')
else
Library:Notify('Use a unique name and provide all six valid image IDs.')
end
end),
},
},
})
dialog:AddInput('P1S12I7', {
Default = '',
Text = 'Name',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S12I1', {
Default = '',
Text = 'Front',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S12I2', {
Default = '',
Text = 'Back',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S12I3', {
Default = '',
Text = 'Left',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S12I4', {
Default = '',
Text = 'Right',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S12I5', {
Default = '',
Text = 'Up',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddInput('P1S12I6', {
Default = '',
Text = 'Down',
AllowEmpty = true,
EmptyReset = '',
})
dialog:AddDropdown('P1S12D2', {
Values = world.ResolveCustomSkyNames(),
Multi = false,
Text = 'Saved Skyboxes',
Searchable = true,
AllowNull = true,
})
return dialog
end
-- ======================================================================
-- Menu: ESP tab
-- ======================================================================
BuildRivalsEspUi = function(Window)
local espTab = Window:AddTab('ESP', 'eye')
local P1S1 = espTab:AddLeftGroupbox('ESP Options')
P1S1:AddToggle('P1S1T1', {
Text = 'ESP Enabled',
Default = true,
Tooltip = 'Turns player ESP on.',
})
P1S1:AddToggle('P1S1T2', {
Text = 'Highlight',
Default = true,
Tooltip = 'Shows the player highlight.',
})
P1S1:AddToggle('P1S2T1', {
Text = 'Box',
Default = true,
Tooltip = 'Draws a visibility-colored box around the player.',
})
P1S1:AddToggle('P1S1T3', {
Text = 'Names',
Default = true,
Tooltip = 'Shows player names.',
})
P1S1:AddToggle('P1S1T4', {
Text = 'Health Info',
Default = true,
Tooltip = 'Shows the health bar and HP value.',
})
P1S1:AddToggle('P1S1T7', {
Text = 'Vertical Health',
Default = false,
Tooltip = 'Off uses the rounded health pill above the player. On uses the slim bar on the left.',
})
P1S1:AddToggle('P1S1T9', {
Text = 'Weapon Info',
Default = true,
Tooltip = 'Shows the equipped weapon and reloading state.',
})
P1S1:AddToggle('P1S2T2', {
Text = 'Ammo Text',
Default = true,
Tooltip = 'Shows current/max ammo below the box using the same style as Weapon Info.',
})
P1S1:AddToggle('P1S1T6', {
Text = 'Distance',
Default = true,
Tooltip = 'Shows distance in studs.',
})
P1S1:AddToggle('P1S1T8', {
Text = 'Look Direction',
Default = true,
Tooltip = 'Shows where players are aiming.',
})
P1S1:AddToggle('P1S1T5', {
Text = 'Arrows',
Default = true,
Tooltip = 'Screen-edge arrows that point toward off-screen players.',
})
P1S1:AddToggle('P1S1T10', {
Text = 'Show Teammates',
Default = false,
Tooltip = 'Shows teammates too.',
})
P1S1:AddToggle('P1S1T11', {
Text = 'Throwable ESP',
Default = true,
Tooltip = 'Shows throwables such as Molotov, Grenade, Flashbang, etc.',
})
P1S1:AddLabel('Visible Color'):AddColorPicker('P1S1C1', {
Default = Color3.fromRGB(0, 255, 0),
Title = 'Visible ESP Color',
})
P1S1:AddLabel('Hidden Color'):AddColorPicker('P1S1C2', {
Default = Color3.fromRGB(255, 0, 0),
Title = 'Hidden ESP Color',
})
P1S1:AddLabel('Look Direction Color'):AddColorPicker('P1S1C4', {
Default = Color3.fromRGB(255, 255, 0),
Title = 'Look Direction Line Color',
})
P1S1:AddLabel('Empty Ammo Color'):AddColorPicker('P1S2C1', {
Default = Color3.fromRGB(255, 70, 70),
Title = 'Empty / Reloading Ammo Color',
})
P1S1:AddSlider('P1S1S3', {
Text = 'Fill Opacity',
Default = 1,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
Tooltip = '0 = solid fill (chams), 1 = no fill',
})
P1S1:AddSlider('P1S1S4', {
Text = 'Outline Opacity',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
Tooltip = '0 = solid outline, 1 = invisible outline',
})
P1S1:AddToggle('P1S2T6', {
Text = 'Deflecting',
Default = true,
Tooltip = 'Shows DEFLECTING while the player has an active Katana deflect.',
})
P1S1:AddToggle('P1S2T4', {
Text = 'Rank',
Default = true,
Tooltip = "Shows the player's competitive rank.",
})
P1S1:AddToggle('P1S2T5', {
Text = 'Win Streak',
Default = true,
Tooltip = 'Shows the current duel win streak. WS means Win Streak.',
})
local PX9 = espTab:AddLeftGroupbox('Text Style')
PX9:AddToggle('PX9T1', {
Text = 'Use Display Name',
Default = false,
Tooltip = "Shows the player's display name instead of their username.",
})
PX9:AddDropdown('PX9D1', {
Values = { 'UI', 'System', 'Plex', 'Monospace' },
Default = 'Monospace',
Multi = false,
Text = 'Font',
})
PX9:AddSlider('PX9S1', {
Text = 'Font Size',
Default = 16,
Min = 8,
Max = 32,
Rounding = 0,
Compact = true,
})
PX9:AddDropdown('PX9D2', {
Values = { 'Normal', 'UPPER', 'lower' },
Default = 'Normal',
Multi = false,
Text = 'Text Case',
Tooltip = 'Applies to player names and weapon text.',
})
PX9:AddDropdown('PX9D3', {
Values = { 'None', '[ ]', '( )', '< >', '- -', '* *' },
Default = 'None',
Multi = false,
Text = 'Name Surround',
})
PX9:AddToggle('PX9T2', {
Text = 'Distance Scaling',
Default = false,
Tooltip = 'Makes ESP text smaller on far players and bigger on close ones.',
})
local DepEspDistanceScaling = PX9:AddDependencyBox()
DepEspDistanceScaling:AddSlider('PX9S2', {
Text = 'Reference Distance',
Default = 60,
Min = 10,
Max = 300,
Rounding = 0,
Suffix = ' m',
Compact = true,
Tooltip = 'Players at this distance use the normal font size.',
})
DepEspDistanceScaling:SetupDependencies({ { Toggles.PX9T2, true } })
local P1S4 = espTab:AddRightGroupbox('Live Preview')
RivalsRuntimeBridge.BuildEspPreview(P1S4)
RivalsRuntimeBridge.PlayerChams.BuildMenu(espTab)
RivalsRuntimeBridge.Extras.BuildEspUi(espTab)
end
-- ======================================================================
-- Anti-aim logic (RivalsAntihit)
-- ======================================================================
(function()
local RivalsAntihit = {}
do
local Players = game:GetService('Players')
local RunServiceAH = game:GetService('RunService')
local Workspace = workspace
local LocalPlayer = Players.LocalPlayer
local function tog(id)
local t = Toggles[id]
return t ~= nil and t.Value == true
end
local function opt(id, dflt)
local o = Options[id]
if o == nil or o.Value == nil then return dflt end
return o.Value
end
local function viewAngleModule()
local b = RivalsRuntimeBridge
if b == nil then return nil end
local va = b.ViewAngle or b.RageViewAngle or b.AntiAim
if va and (va.forge or va.Forge) then return va end
return nil
end
local VOID_MIN, VOID_MAX = 110000, 140000
local _voidCF = nil
local function voidAxis()
local v = math.random(VOID_MIN, VOID_MAX)
return (math.random(0, 1) == 0) and -v or v
end
local function rollVoid() return CFrame.new(voidAxis(), math.random(VOID_MIN, VOID_MAX), voidAxis()) end
local function nextVoidCF(minStep)
local prev = _voidCF
local cf, tries = rollVoid(), 0
while prev and tries < 8 and (cf.Position - prev.Position).Magnitude < minStep do
cf = rollVoid()
tries = tries + 1
end
_voidCF = cf
return cf
end
local _realCF = nil
local _realChar = nil
local _displaced = false
local _spinYaw = 0
local _forgeNext = 0
local function isSane(p) return p == p and math.abs(p.X) < 1e9 and math.abs(p.Y) < 1e9 and math.abs(p.Z) < 1e9 end
local function getRoot()
local ch = LocalPlayer.Character
if not ch then return nil, nil end
local hrp = ch:FindFirstChild('HumanoidRootPart')
if not hrp or not hrp.Parent then return nil, ch end
return hrp, ch
end
local function isAlive()
local ch = LocalPlayer.Character
local hu = ch and ch:FindFirstChildOfClass('Humanoid')
return hu ~= nil and hu.Health > 0
end
local function anyEnabled() return tog('P11S1T1') or tog('P11S2T1') end
local function resolveYaw(dt)
local mode = opt('P11S2D1', 'Spin')
if mode == 'Spin' then
_spinYaw = (_spinYaw + math.rad(opt('P11S2S1', 720)) * (dt or 0)) % (math.pi * 2)
return _spinYaw
elseif mode == 'Jitter' then
local deg = opt('P11S2S2', 160)
return math.rad((math.random(0, 1) == 0) and -deg or deg)
elseif mode == 'Backwards' then
local cam = Workspace.CurrentCamera
if not cam then return math.pi end
local lv = cam.CFrame.LookVector
return math.atan2(-lv.X, -lv.Z) + math.pi
end
return math.rad(math.random(0, 359))
end
function RivalsAntihit.Replicate(dt)
if
(not anyEnabled())
or tog('P8S4T1')
or (RivalsRuntimeBridge.ZHubRagebotActive ~= nil and RivalsRuntimeBridge.ZHubRagebotActive() == true)
then
if _displaced then
RivalsAntihit.RestoreVisible()
_displaced = false
end
return
end
local hrp, ch = getRoot()
if not hrp then return end
if not isAlive() then return end
if (not _displaced) and isSane(hrp.Position) then
_realCF, _realChar = hrp.CFrame, ch
elseif _realChar ~= ch and isSane(hrp.Position) then
_realCF, _realChar = hrp.CFrame, ch
end
local base = _realCF or hrp.CFrame
local pos = base.Position
local rot = base - base.Position
if tog('P11S1T1') then pos = nextVoidCF(opt('P11S1S1', 25000)).Position end
if tog('P11S2T1') then rot = CFrame.Angles(0, resolveYaw(dt), 0) end
pcall(function() hrp.CFrame = CFrame.new(pos) * rot end)
_displaced = true
if tog('P11S2T1') and tog('P11S2T2') then
local now = os.clock()
if now >= _forgeNext then
_forgeNext = now + 0.05
local va = viewAngleModule()
if va then
local forge = va.forge or va.Forge
pcall(forge, math.rad(opt('P11S2S3', 0)), resolveYaw(dt))
end
end
else
local va = viewAngleModule()
if va and (va.isForging and va.isForging()) then pcall(va.restore or va.Restore) end
end
end
function RivalsAntihit.RestoreVisible()
if not _displaced then return end
local hrp = getRoot()
if not hrp then
_displaced = false
return
end
local real = _realCF
if real and isSane(real.Position) then
local before = hrp.Position
pcall(function() hrp.CFrame = real end)
if tog('P11S1T2') then
local cam = Workspace.CurrentCamera
if cam then
local delta = real.Position - before
if isSane(delta) then pcall(function() cam.CFrame = cam.CFrame + delta end) end
end
end
end
_displaced = false
end
function RivalsAntihit.Panic()
local hrp = getRoot()
if hrp and _realCF then pcall(function() hrp.CFrame = _realCF end) end
_displaced = false
local va = viewAngleModule()
if va then pcall(va.restore or va.Restore) end
end
LocalPlayer.CharacterAdded:Connect(function()
_displaced, _realCF, _realChar, _voidCF = false, nil, nil, nil
end)
function RivalsAntihit.Start()
if RivalsAntihit._started then return end
RivalsAntihit._started = true
RunServiceAH:BindToRenderStep('ZkxAntihit_Restore', Enum.RenderPriority.First.Value - 1, function()
local ok, err = pcall(RivalsAntihit.RestoreVisible)
if not ok then warn('[Antihit] restore:', err) end
end)
RivalsAntihit._hb = RunServiceAH.Heartbeat:Connect(function(dt)
local ok, err = pcall(RivalsAntihit.Replicate, dt)
if not ok then warn('[Antihit] replicate:', err) end
end)
end
function RivalsAntihit.Stop()
RivalsAntihit._started = false
pcall(function() RunServiceAH:UnbindFromRenderStep('ZkxAntihit_Restore') end)
if RivalsAntihit._hb then
RivalsAntihit._hb:Disconnect()
RivalsAntihit._hb = nil
end
RivalsAntihit.Panic()
end
end
-- ======================================================================
-- Menu: anti-aim
-- ======================================================================
BuildRivalsAntihitUi = function(TargetTab)
local AH = TargetTab
local voidspamGroup = AH:AddLeftGroupbox('Voidspam')
local voidToggle = voidspamGroup:AddToggle('P11S1T1', {
Text = 'Enabled',
Default = false,
Tooltip = 'Throws your REPLICATED root far into the void every server tick and restores your visible position each frame. Incoming shots resolve against the void copy and miss. Loud + bannable - dodge tool, not always-on.',
Callback = function(v)
if not v then RivalsAntihit.Panic() end
end,
})
voidToggle:AddKeyPicker('P11S1T1K', {
Default = 'Unknown',
Mode = 'Toggle',
Modes = { 'Toggle', 'Always' },
Text = 'Voidspam',
NoUI = false,
})
voidspamGroup:AddSlider('P11S1S1', {
Text = 'Min Jump',
Default = 25000,
Min = 2000,
Max = 120000,
Rounding = 0,
Suffix = ' studs',
Compact = true,
Tooltip = 'Minimum distance between consecutive void teleports.',
})
voidspamGroup:AddToggle('P11S1T2', {
Text = 'Camera Anchor',
Default = false,
Tooltip = 'Extra safety: corrects the camera by the restore delta. Usually not needed - restore already runs before the camera updates.',
})
local antiAimGroup = AH:AddRightGroupbox('Anti-Aim')
local aaToggle = antiAimGroup:AddToggle('P11S2T1', {
Text = 'Enabled',
Default = false,
Tooltip = 'Spoofs the yaw your root replicates with so human aim, peek logic and animation aim-assists resolve the wrong facing.',
Callback = function(v)
if not v then RivalsAntihit.Panic() end
end,
})
aaToggle:AddKeyPicker('P11S2T1K', {
Default = 'Unknown',
Mode = 'Toggle',
Modes = { 'Toggle', 'Always' },
Text = 'Anti-Aim',
NoUI = false,
})
antiAimGroup:AddDropdown('P11S2D1', {
Values = { 'Spin', 'Jitter', 'Backwards', 'Random' },
Default = 'Spin',
Multi = false,
Text = 'Mode',
Tooltip = 'Spin: continuous yaw. Jitter: snap +/-. Backwards: face away from camera. Random: fresh yaw each tick.',
})
local DepSpin = antiAimGroup:AddDependencyBox()
DepSpin:AddSlider('P11S2S1', {
Text = 'Spin Speed',
Default = 720,
Min = 90,
Max = 2000,
Rounding = 0,
Suffix = ' deg/s',
Compact = true,
})
DepSpin:SetupDependencies({ { Options.P11S2D1, 'Spin' } })
local DepJit = antiAimGroup:AddDependencyBox()
DepJit:AddSlider('P11S2S2', {
Text = 'Jitter Angle',
Default = 160,
Min = 10,
Max = 180,
Rounding = 0,
Suffix = ' deg',
Compact = true,
})
DepJit:SetupDependencies({ { Options.P11S2D1, 'Jitter' } })
antiAimGroup:AddToggle('P11S2T2', {
Text = 'Server Look Forge',
Default = false,
Tooltip = 'Also forges the replicated CameraRotationRaw through the ragebot ViewAngle module (if this build exposes it). Silent no-op when unavailable.',
})
local DepPitch = antiAimGroup:AddDependencyBox()
DepPitch:AddSlider('P11S2S3', {
Text = 'Fake Pitch',
Default = 0,
Min = -89,
Max = 89,
Rounding = 0,
Suffix = ' deg',
Compact = true,
})
DepPitch:SetupDependencies({ { Toggles.P11S2T2, true } })
return AH
end
RivalsAntihit.Start()
end)()
-- ======================================================================
-- Menu: Combat tab
-- ======================================================================
BuildRivalsAimbotUi = function(Window)
local combatTab = Window:AddTab('Combat', 'crosshair')
local P2S1 = combatTab:AddLeftGroupbox('Aimbot')
local aimbotToggle = P2S1:AddToggle('P2S1T1', {
Text = 'Enabled',
Default = true,
Tooltip = 'Enables the selected Silent or Camera aiming mode.',
})
local aimbotKeypicker = aimbotToggle:AddKeyPicker('P2S1T1K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Aimbot',
NoUI = false,
})
RefreshAimbotEnabledToggleKeypickerState = AimbotBridge.SyncAimbotToggleKeypickerToUi(aimbotToggle, aimbotKeypicker)
P2S1:AddDropdown('P2S1D1', {
Values = { 'Silent', 'Camera' },
Default = 'Silent',
Multi = false,
Text = 'Mode',
Tooltip = 'Silent aims your shots without moving your view. Camera smoothly turns your view toward the target.',
})
local CameraAimSettings = P2S1:AddDependencyBox()
CameraAimSettings:AddToggle('PX19T1', {
Text = 'Only While Aiming',
Default = true,
Tooltip = 'On: the camera only turns toward the target while you hold aim (right mouse). Off: it turns toward the target without aiming, whenever the aimbot is enabled.',
})
CameraAimSettings:AddSlider('P2S2S1', {
Text = 'Aim Speed',
Default = 35,
Min = 1,
Max = 100,
Rounding = 0,
Compact = true,
Tooltip = 'How fast the view turns toward the target.',
})
CameraAimSettings:AddDropdown('PX7D1', {
Values = { 'Smooth', 'Linear', 'Spring', 'Adaptive' },
Default = 'Smooth',
Multi = false,
Text = 'Smoothing',
Tooltip = 'Smooth is the classic blend. Linear turns at a constant rate. Spring eases in and settles. Adaptive is fast when far and gentle up close.',
})
CameraAimSettings:SetupDependencies({ { Options.P2S1D1, 'Camera' } })
local SilentAimSettings = P2S1:AddDependencyBox()
SilentAimSettings:AddSlider('P2S1S13', {
Text = 'Hit Chance',
Default = 100,
Min = 1,
Max = 100,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Chance that each Silent shot gets aimed at the target. The other shots fire exactly where you are aiming, so the aim looks less perfect.',
})
SilentAimSettings:SetupDependencies({ { Options.P2S1D1, 'Silent' } })
P2S1:AddToggle('P2S1T3', {
Text = 'Ignore FOV',
Default = true,
Tooltip = 'Allows targets anywhere around you, even when they are off-screen.',
})
local DepFovRadius = P2S1:AddDependencyBox()
DepFovRadius:AddSlider('P2S1S2', {
Text = 'FOV Radius',
Default = 282,
Min = 1,
Max = 500,
Rounding = 0,
Compact = true,
Tooltip = 'Targets must be inside this radius from your mouse.',
})
DepFovRadius:SetupDependencies({ { Toggles.P2S1T3, false } })
P2S1:AddToggle('P2S1T5', {
Text = 'Show FOV',
Default = true,
Tooltip = 'Displays the mouse-based FOV circle used for target selection.',
})
P2S1:AddDropdown('P2S1D2', {
Values = { 'Auto', 'Head', 'Random' },
Default = 'Auto',
Multi = false,
Text = 'Aim Part',
Tooltip = 'Auto prefers head-style hitboxes when available.',
})
local flickbotToggle = P2S1:AddToggle('P2S1T12', {
Text = 'Flickbot',
Default = false,
Tooltip = 'Flicks to the target with a human-looking motion. Uses the Aimbot target and FOV settings.',
Callback = function(value)
if not value then RivalsRuntimeBridge.ResetFlickbot() end
end,
})
flickbotToggle:AddKeyPicker('P2S1T12K', {
Default = 'Unknown',
Mode = 'Hold',
Text = 'Flickbot',
NoUI = false,
})
local FlickbotSettings = P2S1:AddDependencyBox()
FlickbotSettings:AddToggle('P2S1T13', {
Text = 'Shoot',
Default = false,
Tooltip = 'Fires automatically once the flick lands.',
})
FlickbotSettings:AddSlider('P2S1S8', {
Text = 'Shot Delay',
Default = 0,
Min = 0,
Max = 250,
Rounding = 0,
Suffix = ' ms',
Compact = true,
})
FlickbotSettings:AddSlider('P2S1S9', {
Text = 'Cooldown',
Default = 250,
Min = 0,
Max = 2000,
Rounding = 0,
Suffix = ' ms',
Compact = true,
})
FlickbotSettings:AddSlider('P2S1S10', {
Text = 'Flick Duration',
Default = 110,
Min = 30,
Max = 400,
Rounding = 0,
Suffix = ' ms',
Compact = true,
})
FlickbotSettings:AddSlider('P2S1S11', {
Text = 'Curvature',
Default = 12,
Min = 0,
Max = 50,
Rounding = 0,
Compact = true,
})
FlickbotSettings:AddSlider('P2S1S12', {
Text = 'Humanness',
Default = 30,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
})
FlickbotSettings:SetupDependencies({ { Toggles.P2S1T12, true } })
local triggerbotToggle = P2S1:AddToggle('P2S1T7', {
Text = 'Triggerbot',
Default = false,
Tooltip = 'Automatically fires when a valid target is visible.',
})
triggerbotToggle:AddKeyPicker('P2S1T7K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Triggerbot',
NoUI = false,
})
P2S1:AddSlider('P2S1S7', {
Text = 'Trigger Reaction Time',
Default = 0,
Min = 0,
Max = 0.1,
Rounding = 2,
Suffix = ' s',
Compact = true,
Tooltip = 'How long a valid target must remain acquired before Triggerbot starts firing. Resets when the resolved target changes or drops.',
})
P2S1:AddToggle('P2S1T8', {
Text = 'Check Katana Deflect',
Default = true,
Tooltip = 'Skips Katana-deflecting targets unless your equipped weapon pierces deflect.',
})
P2S1:AddToggle('P2S1T9', {
Text = 'Check Riot Shield',
Default = true,
Tooltip = 'Skips targets whose Riot Shield is currently blocking your shot angle unless your equipped weapon pierces shields.',
})
P2S1:AddDropdown('P2S1D4', {
Values = { 'Flare Gun', 'Freeze Ray', 'Grenade Launcher', 'RPG' },
Default = { 'Flare Gun', 'Freeze Ray', 'Grenade Launcher', 'RPG' },
Multi = true,
Text = 'Ignore Aimbot Weapons',
Tooltip = 'Keeps aimbot off for the selected weapons so you can aim them manually.',
})
local PX6 = combatTab:AddRightGroupbox('Targeting')
PX6:AddSlider('PX6S1', {
Text = 'Reaction Delay',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Suffix = ' s',
Compact = true,
Tooltip = 'How long a new target must stay in view before the aimbot reacts to it. 0 is instant.',
})
PX6:AddSlider('PX6S2', {
Text = 'Switch Delay',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Suffix = ' s',
Compact = true,
Tooltip = 'How long a different target must stay the best choice before the aimbot switches to it. 0 is instant.',
})
PX6:AddDropdown('PX6D2', {
Values = { 'Crosshair', 'Lowest Health', 'Nearest', 'Cheaters First' },
Default = 'Crosshair',
Multi = false,
Text = 'Target Priority',
Tooltip = 'Who the aimbot picks first. Crosshair is the classic closest-to-aim choice. Cheaters First needs the Cheater Detector on.',
})
PX6:AddToggle('PX6T1', {
Text = 'Target Lock',
Default = false,
Tooltip = 'Stays on your current target instead of jumping to whoever is closest, until they die or leave your view.',
})
local DepTargetLock = PX6:AddDependencyBox()
DepTargetLock:AddDropdown('PX6D1', {
Values = { 'While Aiming', 'Until Invalid' },
Default = 'While Aiming',
Multi = false,
Text = 'Lock Mode',
Tooltip = 'While Aiming drops the lock when you let go of aim (with Only While Aiming off in Camera mode there is no aim to let go of, so it behaves like Until Invalid). Until Invalid keeps it until the target dies or becomes invalid.',
})
DepTargetLock:SetupDependencies({ { Toggles.PX6T1, true } })
PX6:AddDivider()
PX6:AddToggle('PX8T1', {
Text = 'Targeting Circle',
Default = false,
Tooltip = 'Draws a ring on the target the aimbot is on.',
})
local DepTargetCircle = PX6:AddDependencyBox()
DepTargetCircle:AddLabel('Circle Color'):AddColorPicker('PX8C1', {
Default = Color3.fromRGB(255, 70, 70),
Title = 'Targeting Circle Color',
})
DepTargetCircle:AddSlider('PX8S1', {
Text = 'Radius',
Default = 18,
Min = 4,
Max = 80,
Rounding = 0,
Suffix = ' px',
Compact = true,
})
DepTargetCircle:AddSlider('PX8S2', {
Text = 'Thickness',
Default = 2,
Min = 1,
Max = 8,
Rounding = 0,
Compact = true,
})
DepTargetCircle:AddToggle('PX8T2', { Text = 'Filled', Default = false })
DepTargetCircle:AddToggle('PX8T3', { Text = 'Pulse', Default = false })
DepTargetCircle:AddSlider('PX8S3', {
Text = 'Pulse Speed',
Default = 3,
Min = 0.5,
Max = 12,
Rounding = 1,
Compact = true,
})
DepTargetCircle:SetupDependencies({ { Toggles.PX8T1, true } })
PX6:AddToggle('PX8T4', {
Text = 'Snapline',
Default = false,
Tooltip = 'Draws a line from your crosshair to the part Aimbot or Silent Aim is on (head, torso ...). It shows as soon as you aim or fire, and with the Silent Aim rule that needs the scope up, the moment the scope is up.',
})
local DepSnapline = PX6:AddDependencyBox()
DepSnapline:AddLabel('Line Color'):AddColorPicker('PX8C2', {
Default = Color3.fromRGB(255, 255, 255),
Title = 'Snapline Color',
})
DepSnapline:AddToggle('PX8T5', { Text = 'Rainbow', Default = false })
DepSnapline:AddSlider('PX8S4', {
Text = 'Rainbow Speed',
Default = 3,
Min = 0.5,
Max = 12,
Rounding = 1,
Compact = true,
})
DepSnapline:AddSlider('PX8S5', {
Text = 'Thickness',
Default = 1,
Min = 1,
Max = 6,
Rounding = 0,
Compact = true,
})
DepSnapline:AddSlider('PX8S6', {
Text = 'Smoothing',
Default = 35,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
Tooltip = 'The line always follows the target without delay. Smoothing only shapes how it appears: it slides between targets and fades in and out. 0 = hard snap.',
})
DepSnapline:AddDropdown('PX8D1', {
Text = 'From',
Values = { 'Crosshair', 'Mouse', 'Bottom', 'Top' },
Default = 'Crosshair',
Multi = false,
})
DepSnapline:SetupDependencies({ { Toggles.PX8T4, true } })
local PX14 = combatTab:AddRightGroupbox('Combat Bot')
local combatBotToggle = PX14:AddToggle('PX14T1', {
Text = 'Combat Bot',
Default = false,
Tooltip = 'Fights on its own: aims and fires through your normal Silent Aim and Triggerbot settings, manages ammo, and dodges with ordinary movement. Only acts while you can actually fight.',
})
combatBotToggle:AddKeyPicker('PX14T1K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Combat Bot',
NoUI = false,
})
PX14:AddToggle('PX14T3', {
Text = 'Manage Weapons',
Default = true,
Tooltip = 'Reloads or swaps to a loaded gun when your magazine runs empty.',
})
PX14:AddDropdown('PX14D2', {
Values = { 'Reload', 'Swap' },
Default = 'Reload',
Multi = false,
Text = 'On Empty',
Tooltip = 'Reload presses R. Swap switches to your next gun that still has ammo, and reloads if none does.',
})
PX14:AddDropdown('PX14D3', {
Values = { 'Off', 'Strafe', 'Random' },
Default = 'Strafe',
Multi = false,
Text = 'Evasion',
Tooltip = 'Strafe moves side to side. Random also steps forward and back. Only while a target is engaged and you are not steering yourself.',
})
PX14:AddSlider('PX14S1', {
Text = 'Direction Change',
Default = 0.45,
Min = 0.1,
Max = 2,
Rounding = 2,
Suffix = ' s',
Compact = true,
Tooltip = 'Average time between direction changes.',
})
PX14:AddSlider('PX14S2', {
Text = 'Jump Chance',
Default = 30,
Min = 0,
Max = 100,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Chance of a hop each time the bot considers one.',
})
PX14:AddToggle('PX14T2', {
Text = 'Health Lead',
Default = true,
Tooltip = 'Dodges faster when you are behind on health and calms down when you are well ahead.',
})
RivalsRuntimeBridge.Extras.BuildCombatUi(combatTab)
return combatTab
end
-- ======================================================================
-- Menu: weapon mods
-- ======================================================================
BuildRivalsModsUi = function(CombatTab)
local P4S1 = CombatTab:AddRightGroupbox('Weapon Mods')
P4S1:AddToggle('P4S1T1', {
Text = 'Weapon Attack Speed',
Default = true,
Tooltip = 'Speeds up your shots and melee swings. If something starts feeling inconsistent, back the slider down a bit.',
Callback = RivalsModsState.EnsureHooks,
})
local DepWeaponSpeed = P4S1:AddDependencyBox()
DepWeaponSpeed:AddSlider('P4S1S4', {
Text = 'Speed Boost',
Default = 85,
Min = 0,
Max = 85,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Higher values make attacks come out faster, up to the 85 percent cap.',
})
DepWeaponSpeed:SetupDependencies({ { Toggles.P4S1T1, true } })
P4S1:AddToggle('P4S1T2', {
Text = 'Faster Reload',
Default = true,
Tooltip = 'Shortens reloads so you can get back into fights faster.',
Callback = RivalsModsState.EnsureHooks,
})
local DepReload = P4S1:AddDependencyBox()
DepReload:AddSlider('P4S1S3', {
Text = 'Reload Faster',
Default = 20,
Min = 0,
Max = 20,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Higher values shorten reload time more aggressively.',
})
DepReload:SetupDependencies({ { Toggles.P4S1T2, true } })
P4S1:AddToggle('P4S1T3', {
Text = 'No Spread',
Default = false,
Tooltip = 'Removes gun spread so your shots go exactly where you aim.',
Callback = RivalsModsState.EnsureHooks,
})
P4S1:AddToggle('P4S1T4', {
Text = 'No Recoil',
Default = false,
Tooltip = 'Reduces recoil so tracking feels steadier.',
Callback = RivalsModsState.EnsureHooks,
})
local DepRecoil = P4S1:AddDependencyBox()
DepRecoil:AddSlider('P4S1S2', {
Text = 'Recoil Reduction',
Default = 100,
Min = 0,
Max = 100,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Higher values calm the kick more.',
})
DepRecoil:SetupDependencies({ { Toggles.P4S1T4, true } })
P4S1:AddToggle('P4S2T2', {
Text = 'Faster ADS',
Default = true,
Tooltip = 'Makes aiming in feel quicker.',
Callback = RivalsModsState.EnsureHooks,
})
local DepFasterAds = P4S1:AddDependencyBox()
DepFasterAds:AddSlider('P4S2S2', {
Text = 'ADS Faster',
Default = 85,
Min = 0,
Max = 85,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Higher values speed up aim-in more.',
})
DepFasterAds:SetupDependencies({ { Toggles.P4S2T2, true } })
P4S1:AddToggle('P4S2T3', {
Text = 'Faster Equip',
Default = true,
Tooltip = 'Cuts down the delay when swapping to a weapon.',
Callback = RivalsModsState.EnsureHooks,
})
local DepFasterEquip = P4S1:AddDependencyBox()
DepFasterEquip:AddSlider('P4S2S3', {
Text = 'Equip Faster',
Default = 80,
Min = 0,
Max = 80,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'Higher values make weapon swaps finish sooner.',
})
DepFasterEquip:SetupDependencies({ { Toggles.P4S2T3, true } })
P4S1:AddToggle('P4S1T5', {
Text = 'Scythe Dash Cooldown',
Default = false,
Tooltip = 'Shortens the Scythe dash cooldown.',
Callback = RivalsModsState.EnsureHooks,
})
local DepDashCooldown = P4S1:AddDependencyBox()
DepDashCooldown:AddSlider('P4S1S5', {
Text = 'Cooldown Reduction',
Default = 75,
Min = 0,
Max = 100,
Rounding = 0,
Suffix = '%',
Compact = true,
Tooltip = 'How much of the dash cooldown is removed. 100% removes the cooldown entirely.',
Callback = RivalsModsState.EnsureHooks,
})
DepDashCooldown:SetupDependencies({ { Toggles.P4S1T5, true } })
P4S1:AddToggle('KE_Enabled', {
Text = 'Knife Extender',
Default = false,
Tooltip = "Lets knife swings land on targets past the knife's normal reach by moving the swing forward before it is sent. The server may still reject hits that are too far away.",
Callback = RivalsModsState.EnsureHooks,
})
local DepKnifeExtender = P4S1:AddDependencyBox()
DepKnifeExtender:AddSlider('KE_Range', {
Text = 'Extra Range',
Default = 3,
Min = 1,
Max = 40,
Rounding = 1,
Suffix = ' studs',
Compact = true,
Tooltip = "How many studs past the weapon's normal reach a swing may land. Lower values look more natural.",
Callback = RivalsModsState.EnsureHooks,
})
DepKnifeExtender:AddDropdown('KE_Scope', {
Values = { 'Knife', 'All melee' },
Default = 'Knife',
Multi = false,
Text = 'Weapons',
Tooltip = 'Knife: only the Knife. All melee: every melee weapon.',
Callback = RivalsModsState.EnsureHooks,
})
DepKnifeExtender:AddToggle('KE_Heavy', {
Text = 'Heavy Attack Too',
Default = true,
Tooltip = 'Also extends the heavy attack (the backstab swing).',
Callback = RivalsModsState.EnsureHooks,
})
DepKnifeExtender:SetupDependencies({ { Toggles.KE_Enabled, true } })
P4S1:AddToggle('P4S2T4', {
Text = 'Automatic Weapon',
Default = false,
Tooltip = 'Lets semi-auto weapons keep firing while you hold the trigger.',
Callback = RivalsModsState.EnsureHooks,
})
P4S1:AddToggle('P4S1T6', {
Text = 'Grenade Fuse',
Default = false,
Tooltip = 'Controls when cookable throwables detonate.',
Callback = RivalsModsState.EnsureHooks,
})
local DepGrenadeFuse = P4S1:AddDependencyBox()
DepGrenadeFuse:AddDropdown('P4S1D1', {
Values = { 'Impact', 'Throw' },
Default = 'Impact',
Text = 'Explode On',
Tooltip = 'Impact detonates where the throw arc lands; Throw detonates the moment it leaves your hand.',
Callback = RivalsModsState.EnsureHooks,
})
DepGrenadeFuse:AddToggle('P4S1T7', {
Text = 'Remove Fuse',
Default = false,
Tooltip = 'Stops a cooked throwable from detonating in your hand.',
Callback = RivalsModsState.EnsureHooks,
})
DepGrenadeFuse:SetupDependencies({ { Toggles.P4S1T6, true } })
end
-- ======================================================================
-- Menu: Client Effects, Crosshair and World tabs
-- ======================================================================
BuildRivalsVisualsUi = function(Window)
local VisualsTab = Window:AddTab('Client Effects', 'camera')
local CrosshairTab = Window:AddTab('Crosshair', 'plus')
local WorldTab = Window:AddTab('World', 'globe')
local SoundGroup = VisualsTab:AddLeftGroupbox('Sound Visualizer')
local soundPulsesToggle = SoundGroup:AddToggle('P1S3T1', {
Text = 'Sound Pulses',
Default = false,
Tooltip = 'Shows expanding pulses where sounds come from.',
})
soundPulsesToggle:OnChanged(
GuardRivalsCallback(
'SoundVisualizer_ToggleChanged',
function(value) WorldESPState.SetSoundVisualizerEnabled(value) end
)
)
SoundGroup:AddDropdown('P1S3D1', {
Values = { 'Enemies', 'Team', 'Self', 'All' },
Default = 'Enemies',
Multi = false,
Text = 'Source',
Tooltip = 'Whose sounds create pulses.',
})
SoundGroup:AddToggle('P1S3T2', {
Text = 'Footsteps',
Default = true,
})
SoundGroup:AddToggle('P1S3T3', {
Text = 'Other Sounds',
Default = true,
})
SoundGroup:AddSlider('P1S3S1', {
Text = 'Minimum Volume',
Default = 0.05,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
Tooltip = 'Ignores sounds quieter than this.',
})
SoundGroup:AddLabel('Footstep Color'):AddColorPicker('P1S3C1', {
Default = Color3.fromRGB(255, 210, 80),
Title = 'Footstep Pulse Color',
})
SoundGroup:AddLabel('Other Color'):AddColorPicker('P1S3C2', {
Default = Color3.fromRGB(255, 90, 90),
Title = 'Other Sound Pulse Color',
})
local feedback = RivalsRuntimeBridge.CombatFeedback
local customSoundNames = feedback.ResolveCustomSoundNames()
local HitFeedbackGroup = VisualsTab:AddLeftGroupbox('Hit Feedback')
local hitFeedbackToggle = HitFeedbackGroup:AddToggle('P1S15T1', {
Text = 'Hit Feedback',
Default = false,
Tooltip = 'Plays effects when you damage someone: sound and chams.',
})
hitFeedbackToggle:OnChanged(GuardRivalsCallback('CombatFeedback_HitToggle', feedback.RefreshBinding))
local HitSections = HitFeedbackGroup:AddDropdown('KPHSEC', {
Text = 'Sections',
Values = { 'Sound', 'Chams', 'Flash', 'Text' },
Default = { 'Sound' },
Multi = true,
Tooltip = 'Tick the parts of the feedback you want to see and edit.',
})
local HitSoundTab = HitFeedbackGroup:AddDependencyBox()
local HitChamsTab = HitFeedbackGroup:AddDependencyBox()
local HitFlashTab = HitFeedbackGroup:AddDependencyBox()
local HitTextTab = HitFeedbackGroup:AddDependencyBox()
HitSoundTab:AddToggle('P1S15T2', {
Text = 'Play Sound',
Default = false,
Tooltip = 'Hitmarker sound. Headshots and body shots can use different sounds from Custom Sounds.',
})
local HitSoundSettings = HitSoundTab:AddDependencyBox()
HitSoundSettings:AddDropdown('P1S15D1', {
Values = customSoundNames,
Multi = false,
Text = 'Head Sound',
Searchable = true,
})
HitSoundSettings:AddSlider('P1S15S1', {
Text = 'Head Volume',
Default = 1,
Min = 0.1,
Max = 1.5,
Rounding = 1,
Compact = true,
})
HitSoundSettings:AddSlider('P1S15S2', {
Text = 'Head Pitch',
Default = 1,
Min = 0.1,
Max = 3,
Rounding = 1,
Compact = true,
})
HitSoundSettings:AddDropdown('P1S15D2', {
Values = customSoundNames,
Multi = false,
Text = 'Body Sound',
Searchable = true,
})
HitSoundSettings:AddSlider('P1S15S3', {
Text = 'Body Volume',
Default = 1,
Min = 0.1,
Max = 1.5,
Rounding = 1,
Compact = true,
})
HitSoundSettings:AddSlider('P1S15S4', {
Text = 'Body Pitch',
Default = 1,
Min = 0.1,
Max = 3,
Rounding = 1,
Compact = true,
})
HitSoundSettings:SetupDependencies({ { Toggles.P1S15T2, true } })
HitSoundTab:AddToggle('P1S15T3', {
Text = 'Disable Game Sound',
Default = false,
Tooltip = "Mutes the game's own hitmarker sound so only your custom hit sound plays.",
}):OnChanged(GuardRivalsCallback('NativeRemovals_GameHitsound', RivalsRuntimeBridge.NativeRemovals.RefreshAll))
HitSoundTab:SetupDependencies({ { Options.KPHSEC, 'Sound' } })
HitChamsTab:AddToggle('P1S15T4', {
Text = 'Chams',
Default = false,
Tooltip = 'Briefly highlights the body of the player you hit.',
})
local HitChamsSettings = HitChamsTab:AddDependencyBox()
HitChamsSettings:AddLabel('Cham Color'):AddColorPicker('P1S15C1', {
Default = Color3.fromRGB(255, 0, 0),
Transparency = 0,
Title = 'Hit Cham Color',
})
HitChamsSettings:AddSlider('P1S15S5', {
Text = 'Cham Duration',
Default = 0.8,
Min = 0.1,
Max = 3,
Rounding = 1,
Compact = true,
})
HitChamsSettings:AddDropdown('P1S15D3', {
Values = feedback.MaterialNames,
Default = 'Ghost',
Multi = false,
Text = 'Cham Material',
})
HitChamsSettings:SetupDependencies({ { Toggles.P1S15T4, true } })
HitChamsTab:SetupDependencies({ { Options.KPHSEC, 'Chams' } })
HitFlashTab:AddToggle('PX4T1', {
Text = 'Screen Flash',
Default = false,
Tooltip = 'Briefly tints the whole screen when you hit someone.',
})
local HitFlashSettings = HitFlashTab:AddDependencyBox()
HitFlashSettings:AddLabel('Flash Color'):AddColorPicker('PX4C1', {
Default = Color3.fromRGB(255, 255, 255),
Title = 'Hit Flash Color',
})
HitFlashSettings:AddSlider('PX4S1', {
Text = 'Flash Intensity',
Default = 0.3,
Min = 0.05,
Max = 1,
Rounding = 2,
Compact = true,
})
HitFlashSettings:AddSlider('PX4S2', {
Text = 'Flash Duration',
Default = 0.15,
Min = 0.05,
Max = 1,
Rounding = 2,
Compact = true,
})
HitFlashSettings:SetupDependencies({ { Toggles.PX4T1, true } })
HitFlashTab:SetupDependencies({ { Options.KPHSEC, 'Flash' } })
HitTextTab:AddToggle('PX4T2', {
Text = 'Notification',
Default = false,
Tooltip = 'Shows who you hit and for how much.',
})
local HitTextSettings = HitTextTab:AddDependencyBox()
HitTextSettings:AddInput('KPF2', {
Text = 'Notification Text',
Default = '',
Placeholder = 'Hit %DNAME% (%NAME%) for %DMG% in %PART%',
AllowEmpty = true,
EmptyReset = '',
Tooltip = 'Leave empty for the default text. Tokens: %NAME% %DNAME% %DMG% %PART%',
})
HitTextSettings:SetupDependencies({ { Toggles.PX4T2, true } })
HitTextTab:SetupDependencies({ { Options.KPHSEC, 'Text' } })
RivalsRuntimeBridge.HitLog.BuildMenu(VisualsTab)
RivalsRuntimeBridge.NameStyle.BuildMenu(VisualsTab)
local KillFeedbackGroup = VisualsTab:AddRightGroupbox('Kill Feedback')
local killFeedbackToggle = KillFeedbackGroup:AddToggle('P1S16T1', {
Text = 'Kill Feedback',
Default = false,
Tooltip = 'Plays effects when you eliminate someone: sound and chams.',
})
killFeedbackToggle:OnChanged(GuardRivalsCallback('CombatFeedback_KillToggle', feedback.RefreshBinding))
local KillSections = KillFeedbackGroup:AddDropdown('KPKSEC', {
Text = 'Sections',
Values = { 'Sound', 'Chams', 'Flash', 'Text' },
Default = { 'Sound' },
Multi = true,
Tooltip = 'Tick the parts of the feedback you want to see and edit.',
})
local KillSoundTab = KillFeedbackGroup:AddDependencyBox()
local KillChamsTab = KillFeedbackGroup:AddDependencyBox()
local KillFlashTab = KillFeedbackGroup:AddDependencyBox()
local KillTextTab = KillFeedbackGroup:AddDependencyBox()
KillSoundTab:AddToggle('P1S16T2', {
Text = 'Play Sound',
Default = false,
Tooltip = 'Plays a sound on every elimination. Add your own in Custom Sounds.',
})
local KillSoundSettings = KillSoundTab:AddDependencyBox()
KillSoundSettings:AddDropdown('P1S16D1', {
Values = customSoundNames,
Multi = false,
Text = 'Sound',
Searchable = true,
})
KillSoundSettings:AddSlider('P1S16S1', {
Text = 'Volume',
Default = 1,
Min = 0.1,
Max = 1.5,
Rounding = 1,
Compact = true,
})
KillSoundSettings:AddSlider('P1S16S2', {
Text = 'Pitch',
Default = 1,
Min = 0.1,
Max = 3,
Rounding = 1,
Compact = true,
})
KillSoundSettings:SetupDependencies({ { Toggles.P1S16T2, true } })
KillSoundTab:SetupDependencies({ { Options.KPKSEC, 'Sound' } })
KillChamsTab:AddToggle('P1S16T3', {
Text = 'Chams',
Default = false,
Tooltip = 'Briefly highlights the body of the player you eliminated.',
})
local KillChamsSettings = KillChamsTab:AddDependencyBox()
KillChamsSettings:AddLabel('Cham Color'):AddColorPicker('P1S16C1', {
Default = Color3.fromRGB(255, 0, 0),
Transparency = 0,
Title = 'Kill Cham Color',
})
KillChamsSettings:AddSlider('P1S16S3', {
Text = 'Cham Duration',
Default = 0.8,
Min = 0.1,
Max = 3,
Rounding = 1,
Compact = true,
})
KillChamsSettings:AddDropdown('P1S16D2', {
Values = feedback.MaterialNames,
Default = 'Ghost',
Multi = false,
Text = 'Cham Material',
})
KillChamsSettings:SetupDependencies({ { Toggles.P1S16T3, true } })
KillChamsTab:SetupDependencies({ { Options.KPKSEC, 'Chams' } })
KillFlashTab:AddToggle('PX5T1', {
Text = 'Screen Flash',
Default = false,
Tooltip = 'Briefly tints the whole screen when you eliminate someone.',
})
local KillFlashSettings = KillFlashTab:AddDependencyBox()
KillFlashSettings:AddLabel('Flash Color'):AddColorPicker('PX5C1', {
Default = Color3.fromRGB(255, 60, 60),
Title = 'Kill Flash Color',
})
KillFlashSettings:AddSlider('PX5S1', {
Text = 'Flash Intensity',
Default = 0.4,
Min = 0.05,
Max = 1,
Rounding = 2,
Compact = true,
})
KillFlashSettings:AddSlider('PX5S2', {
Text = 'Flash Duration',
Default = 0.3,
Min = 0.05,
Max = 1.5,
Rounding = 2,
Compact = true,
})
KillFlashSettings:SetupDependencies({ { Toggles.PX5T1, true } })
KillFlashTab:SetupDependencies({ { Options.KPKSEC, 'Flash' } })
KillTextTab:AddToggle('PX5T2', {
Text = 'Notification',
Default = false,
Tooltip = 'Shows who you eliminated.',
})
local KillTextSettings = KillTextTab:AddDependencyBox()
KillTextSettings:AddInput('KPF4', {
Text = 'Notification Text',
Default = '',
Placeholder = 'Eliminated %DNAME% (%NAME%)',
AllowEmpty = true,
EmptyReset = '',
Tooltip = 'Leave empty for the default text. Tokens: %NAME% %DNAME%',
})
KillTextSettings:SetupDependencies({ { Toggles.PX5T2, true } })
KillTextTab:SetupDependencies({ { Options.KPKSEC, 'Text' } })
local CustomSoundsGroup = VisualsTab:AddLeftGroupbox('Custom Sounds')
CustomSoundsGroup:AddButton({
Text = 'Manage Custom Sounds',
Func = GuardRivalsCallback('CombatFeedback_OpenCustomSoundsDialog', feedback.OpenCustomSoundsDialog),
Tooltip = 'Add and remove named sound IDs, local files, and direct URLs in a focused dialog.',
})
local BulletTracerGroup = VisualsTab:AddLeftGroupbox('Bullet Tracers')
local bulletTracerToggle = BulletTracerGroup:AddToggle('P1S18T1', {
Text = 'Bullet Tracers',
Default = false,
Tooltip = "Draws a glowing beam along every shot - yours and everyone else's.",
})
bulletTracerToggle:OnChanged(GuardRivalsCallback('BulletTracers_Toggle', feedback.RefreshBinding))
BulletTracerGroup:AddLabel('Color'):AddColorPicker('P1S18C1', {
Default = Color3.fromRGB(120, 220, 255),
Title = 'Bullet Tracer Color',
})
BulletTracerGroup:AddDropdown('P1S18D1', {
Values = feedback.TracerStyleNames,
Default = 'Beam',
Multi = false,
Text = 'Style',
Tooltip = 'Look of the beam. Styles other than Beam use a repeating pattern.',
})
BulletTracerGroup:AddSlider('P1S18S1', {
Text = 'Size',
Default = 0.06,
Min = 0.02,
Max = 0.5,
Rounding = 2,
Compact = true,
Tooltip = 'Beam thickness.',
})
BulletTracerGroup:AddSlider('P1S18S2', {
Text = 'Length',
Default = 4,
Min = 0.5,
Max = 20,
Rounding = 1,
Compact = true,
Tooltip = 'Length of one pattern segment for the textured styles.',
})
BulletTracerGroup:AddSlider('P1S18S3', {
Text = 'Speed',
Default = 1,
Min = 0,
Max = 10,
Rounding = 1,
Compact = true,
Tooltip = 'How fast the pattern scrolls along the beam.',
})
BulletTracerGroup:AddSlider('P1S18S4', {
Text = 'Emission',
Default = 1,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
Tooltip = "How much the beam glows over what's behind it. 0 = solid, 1 = full glow.",
})
BulletTracerGroup:AddSlider('P1S18S5', {
Text = 'Glow',
Default = 1,
Min = 1,
Max = 13,
Rounding = 0,
Compact = true,
Tooltip = 'Beam brightness.',
})
BulletTracerGroup:AddSlider('P1S18S6', {
Text = 'Lifetime',
Default = 0.6,
Min = 0.1,
Max = 0.7,
Rounding = 1,
Compact = true,
})
BulletTracerGroup:AddSlider('P1S18S7', {
Text = 'Fade Time',
Default = 0.35,
Min = 0,
Max = 0.5,
Rounding = 1,
Compact = true,
})
BulletTracerGroup:AddToggle('P1S18T2', {
Text = 'Spring Expand',
Default = true,
Tooltip = 'The beam shoots out from the gun to the hit point with a springy stretch instead of appearing all at once.',
})
local ExpandSettings = BulletTracerGroup:AddDependencyBox()
ExpandSettings:AddSlider('P1S18S8', {
Text = 'Expand Speed',
Default = 18,
Min = 1,
Max = 60,
Rounding = 0,
Compact = true,
Tooltip = 'How fast the beam stretches to the hit point.',
})
ExpandSettings:AddSlider('P1S18S9', {
Text = 'Expand Damper',
Default = 0.7,
Min = 0.1,
Max = 1,
Rounding = 2,
Compact = true,
Tooltip = 'How much the stretch bounces. 1 = smooth stop, lower = springier overshoot.',
})
ExpandSettings:SetupDependencies({ { Toggles.P1S18T2, true } })
do
local MotionBlurGroup = VisualsTab:AddLeftGroupbox('Motion Blur')
MotionBlurGroup:AddToggle('PX2T1', {
Text = 'Motion Blur',
Default = false,
Tooltip = 'Blurs the screen while your camera turns or moves fast.',
})
local DepMotionBlur = MotionBlurGroup:AddDependencyBox()
DepMotionBlur:AddDropdown('PX2D1', {
Values = { 'Camera + Movement', 'Camera Turning', 'Movement' },
Default = 'Camera + Movement',
Multi = false,
Text = 'Blur From',
Tooltip = 'What builds up the blur: turning the camera, moving, or both.',
})
DepMotionBlur:AddSlider('PX2S1', {
Text = 'Intensity',
Default = 14,
Min = 1,
Max = 56,
Rounding = 0,
Compact = true,
Tooltip = 'Strongest blur reached during a hard flick.',
})
DepMotionBlur:AddSlider('PX2S2', {
Text = 'Sensitivity',
Default = 1,
Min = 0.1,
Max = 4,
Rounding = 2,
Compact = true,
Tooltip = 'How quickly camera motion builds up blur.',
})
DepMotionBlur:AddSlider('PX2S3', {
Text = 'Threshold',
Default = 0,
Min = 0,
Max = 0.9,
Rounding = 2,
Compact = true,
Tooltip = 'Ignores slow motion. Raise it so only fast flicks blur.',
})
DepMotionBlur:AddSlider('PX2S4', {
Text = 'Build-Up Speed',
Default = 14,
Min = 1,
Max = 60,
Rounding = 0,
Compact = true,
Tooltip = 'How fast the blur ramps up. Lower = the blur creeps in.',
})
DepMotionBlur:AddSlider('PX2S5', {
Text = 'Release Speed',
Default = 14,
Min = 1,
Max = 60,
Rounding = 0,
Compact = true,
Tooltip = 'How fast the blur fades out. Lower = the blur lingers.',
})
DepMotionBlur:SetupDependencies({ { Toggles.PX2T1, true } })
local CameraTiltGroup = VisualsTab:AddLeftGroupbox('Camera Tilt')
CameraTiltGroup:AddToggle('PX17T1', {
Text = 'Camera Tilt',
Default = false,
Tooltip = 'Rolls your camera into the strafe while you hold A or D.',
})
local DepCameraTilt = CameraTiltGroup:AddDependencyBox()
DepCameraTilt:AddSlider('PX17S1', {
Text = 'Tilt Angle',
Default = 5,
Min = 0,
Max = 20,
Rounding = 1,
Suffix = ' deg',
Compact = true,
})
DepCameraTilt:AddSlider('PX17S2', {
Text = 'Smoothness',
Default = 10,
Min = 2,
Max = 30,
Rounding = 0,
Compact = true,
Tooltip = 'Higher snaps in and out faster.',
})
DepCameraTilt:AddToggle('PX17T2', {
Text = 'Invert',
Default = false,
Tooltip = 'Tilts away from the strafe instead of into it.',
})
DepCameraTilt:SetupDependencies({ { Toggles.PX17T1, true } })
RivalsRuntimeBridge.CameraTilt.Start()
local FreecamGroup = VisualsTab:AddLeftGroupbox('Freecam')
local freecamToggle = FreecamGroup:AddToggle('PX18T1', {
Text = 'Freecam',
Default = false,
Tooltip = 'Detaches the camera so you can fly around. WASD moves, Space or E rises, Ctrl or Q lowers, Shift boosts. Your character stays where it is and can still be hit.',
})
freecamToggle:AddKeyPicker('PX18T1K', {
Default = 'Unknown',
Mode = 'Toggle',
Text = 'Freecam',
NoUI = false,
SyncToggleState = true,
})
freecamToggle:OnChanged(
GuardRivalsCallback('Freecam_Toggle', function(value) RivalsRuntimeBridge.Freecam.Set(value) end)
)
local DepFreecam = FreecamGroup:AddDependencyBox()
DepFreecam:AddSlider('PX18S1', {
Text = 'Speed',
Default = 60,
Min = 5,
Max = 400,
Rounding = 0,
Suffix = ' st/s',
Compact = true,
})
DepFreecam:AddSlider('PX18S2', {
Text = 'Boost (Shift)',
Default = 3,
Min = 1,
Max = 10,
Rounding = 1,
Suffix = 'x',
Compact = true,
})
DepFreecam:AddSlider('PX18S3', {
Text = 'Look Sensitivity',
Default = 1,
Min = 0.1,
Max = 5,
Rounding = 2,
Compact = true,
})
DepFreecam:AddSlider('PX18S4', {
Text = 'Smoothing',
Default = 14,
Min = 0,
Max = 40,
Rounding = 0,
Compact = true,
Tooltip = 'Glide for movement and looking. 0 = instant.',
})
DepFreecam:AddSlider('PX18S5', {
Text = 'Zoom',
Default = 1,
Min = 0.5,
Max = 8,
Rounding = 2,
Suffix = 'x',
Compact = true,
Tooltip = 'Narrows the field of view relative to the camera you left.',
})
DepFreecam:SetupDependencies({ { Toggles.PX18T1, true } })
local ReportGroup = VisualsTab:AddLeftGroupbox('Executor Report')
ReportGroup:AddLabel('A camera or viewmodel feature does nothing? Press this and send the result.')
ReportGroup:AddButton({
Text = 'Copy Executor Report',
Tooltip = 'Copies what this executor gives the camera and viewmodel features and saves it to workspace/ZkxHub/_executor_report.txt.',
Func = GuardRivalsCallback('Diagnostics_Button', function() RivalsRuntimeBridge.Diagnostics.Run() end),
})
end
local CameraEffectsGroup = VisualsTab:AddRightGroupbox('Camera Effects')
CameraEffectsGroup:AddToggle('P4S2T6', {
Text = 'No Camera Shake',
Default = false,
Tooltip = 'Removes camera shake.',
Callback = RivalsModsState.EnsureHooks,
})
local ViewmodelEffectsGroup = VisualsTab:AddRightGroupbox('Viewmodel Effects')
ViewmodelEffectsGroup:AddToggle('P1S31T1', {
Text = 'No Motion',
Default = false,
Tooltip = 'Stops your viewmodel from swaying and bobbing.',
Callback = RivalsModsState.RefreshViewmodelEffects,
})
ViewmodelEffectsGroup:AddToggle('P1S31T2', {
Text = 'No Shoot Animation',
Default = false,
Callback = RivalsModsState.RefreshViewmodelEffects,
})
ViewmodelEffectsGroup:AddToggle('P1S31T3', {
Text = 'No Sprint Animation',
Default = false,
Callback = RivalsModsState.RefreshViewmodelEffects,
})
ViewmodelEffectsGroup:AddToggle('P1S31T4', {
Text = 'No Equip Animation',
Default = false,
Callback = RivalsModsState.RefreshViewmodelEffects,
})
ViewmodelEffectsGroup:AddToggle('P1S31T5', {
Text = 'No Reload Animation',
Default = false,
Callback = RivalsModsState.RefreshViewmodelEffects,
})
local CameraViewGroup = VisualsTab:AddRightGroupbox('Camera View')
CameraViewGroup:AddToggle('P4S2T8', {
Text = 'Third Person',
Default = false,
Tooltip = 'Puts your camera in third person.',
Callback = RivalsModsState.EnsureHooks,
})
CameraViewGroup:AddToggle('PX11T1', {
Text = 'Third Person Offset',
Default = false,
Tooltip = 'Moves the third-person camera. Only applies while you are in third person.',
})
local DepThirdPersonOffset = CameraViewGroup:AddDependencyBox()
DepThirdPersonOffset:AddSlider('PX11S1', {
Text = 'Offset X',
Default = 3,
Min = -10,
Max = 10,
Rounding = 1,
Compact = true,
Tooltip = 'Left and right. Mirrors automatically when the camera is on the other shoulder.',
})
DepThirdPersonOffset:AddSlider('PX11S2', {
Text = 'Offset Y',
Default = 1.5,
Min = -5,
Max = 12,
Rounding = 1,
Compact = true,
})
DepThirdPersonOffset:AddSlider('PX11S3', {
Text = 'Offset Z',
Default = 7.5,
Min = 0,
Max = 30,
Rounding = 1,
Compact = true,
Tooltip = 'Distance behind you.',
})
DepThirdPersonOffset:SetupDependencies({ { Toggles.PX11T1, true } })
CameraViewGroup:AddToggle('P4S2T9', {
Text = 'Custom Camera FOV',
Default = false,
Tooltip = 'Changes your field of view. Game zoom effects still work on top of it.',
Callback = RivalsModsState.EnsureHooks,
})
local DepCameraFov = CameraViewGroup:AddDependencyBox()
DepCameraFov:AddSlider('P4S2S4', {
Text = 'Camera FOV',
Default = 80,
Min = 50,
Max = 130,
Rounding = 0,
Compact = true,
})
DepCameraFov:SetupDependencies({ { Toggles.P4S2T9, true } })
CameraViewGroup:AddToggle('P4S2T10', {
Text = 'Viewmodel Offset',
Default = false,
Tooltip = 'Moves your arms and weapon on screen.',
Callback = RivalsModsState.EnsureHooks,
})
local DepViewmodelOffset = CameraViewGroup:AddDependencyBox()
local function ViewmodelOffsetChanged() RivalsRuntimeBridge.NativeRemovals.SyncViewmodelOffsetHook() end
DepViewmodelOffset:AddSlider('P4S2S5', {
Text = 'Viewmodel X',
Callback = ViewmodelOffsetChanged,
Default = 0,
Min = -3,
Max = 3,
Rounding = 2,
Compact = true,
})
DepViewmodelOffset:AddSlider('P4S2S6', {
Text = 'Viewmodel Y',
Callback = ViewmodelOffsetChanged,
Default = 0,
Min = -3,
Max = 3,
Rounding = 2,
Compact = true,
})
DepViewmodelOffset:AddSlider('P4S2S7', {
Text = 'Viewmodel Z',
Callback = ViewmodelOffsetChanged,
Default = 0,
Min = -3,
Max = 3,
Rounding = 2,
Compact = true,
})
DepViewmodelOffset:AddSlider('PX3S1', {
Text = 'Viewmodel Pitch',
Callback = ViewmodelOffsetChanged,
Default = 0,
Min = -180,
Max = 180,
Rounding = 0,
Compact = true,
})
DepViewmodelOffset:AddSlider('PX3S2', {
Text = 'Viewmodel Yaw',
Callback = ViewmodelOffsetChanged,
Default = 0,
Min = -180,
Max = 180,
Rounding = 0,
Compact = true,
})
DepViewmodelOffset:AddSlider('PX3S3', {
Text = 'Viewmodel Roll',
Callback = ViewmodelOffsetChanged,
Default = 0,
Min = -180,
Max = 180,
Rounding = 0,
Compact = true,
})
DepViewmodelOffset:SetupDependencies({ { Toggles.P4S2T10, true } })
local function BindViewmodelVisualOption(control)
if control and type(control.OnChanged) == 'function' then
control:OnChanged(
GuardRivalsCallback('ViewmodelVisuals_OptionChanged', RivalsRuntimeBridge.ViewmodelVisuals.RefreshAll)
)
end
return control
end
local function AddChamControls(group, prefix, label, stripDefault)
BindViewmodelVisualOption(group:AddToggle(prefix .. 'T1', {
Text = label,
Default = false,
}))
local settings = group:AddDependencyBox()
BindViewmodelVisualOption(settings:AddDropdown(prefix .. 'D1', {
Values = RivalsRuntimeBridge.ViewmodelVisuals.MaterialNames,
Default = 'Ghost',
Multi = false,
Text = 'Material',
}))
BindViewmodelVisualOption(settings:AddLabel('Color'):AddColorPicker(prefix .. 'C1', {
Default = Color3.new(1, 1, 1),
Title = label .. ' Color',
}))
BindViewmodelVisualOption(settings:AddSlider(prefix .. 'S1', {
Text = 'Transparency',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindViewmodelVisualOption(settings:AddToggle(prefix .. 'T2', {
Text = 'Strip Textures',
Default = stripDefault == true,
}))
settings:SetupDependencies({ { Toggles[prefix .. 'T1'], true } })
end
local ModelChamsGroup = VisualsTab:AddRightGroupbox('Model Chams')
AddChamControls(ModelChamsGroup, 'P1S19', 'Character Chams', false)
AddChamControls(ModelChamsGroup, 'P1S20', 'Arms Chams', true)
ModelChamsGroup:AddToggle('TXNoHands', {
Text = 'No Hands',
Default = false,
Tooltip = 'Hides your arms in first person (the arms, their sleeves / gloves and wrapped arms). Your weapon stays. Needs no texture pack; off shows the arms again.',
Callback = GuardRivalsCallback('NoHands_Toggle', function()
if RivalsRuntimeBridge.SyncNoHands then RivalsRuntimeBridge.SyncNoHands() end
end),
})
AddChamControls(ModelChamsGroup, 'P1S21', 'Item Chams', false)
local function AddHighlightControls(group, prefix, label)
BindViewmodelVisualOption(group:AddToggle(prefix .. 'T1', {
Text = label,
Default = false,
}))
local settings = group:AddDependencyBox()
BindViewmodelVisualOption(settings:AddLabel('Fill Color'):AddColorPicker(prefix .. 'C1', {
Default = Color3.new(1, 1, 1),
Title = label .. ' Fill Color',
}))
BindViewmodelVisualOption(settings:AddSlider(prefix .. 'S1', {
Text = 'Fill Transparency',
Default = 0.5,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindViewmodelVisualOption(settings:AddLabel('Outline Color'):AddColorPicker(prefix .. 'C2', {
Default = Color3.new(1, 1, 1),
Title = label .. ' Outline Color',
}))
BindViewmodelVisualOption(settings:AddSlider(prefix .. 'S2', {
Text = 'Outline Transparency',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
settings:SetupDependencies({ { Toggles[prefix .. 'T1'], true } })
end
local ViewmodelHighlightGroup = VisualsTab:AddRightGroupbox('Viewmodel Highlight')
AddHighlightControls(ViewmodelHighlightGroup, 'P1S22', 'Arms Highlight')
AddHighlightControls(ViewmodelHighlightGroup, 'P1S23', 'Item Highlight')
local PX12 = VisualsTab:AddRightGroupbox('Viewmodel Wireframe')
PX12:AddToggle('PX12T1', {
Text = 'Arms Wireframe',
Default = false,
Tooltip = 'Outlines every part of your arms with thin lines.',
})
PX12:AddToggle('PX12T2', {
Text = 'Weapon Wireframe',
Default = false,
Tooltip = 'Outlines every part of your weapon with thin lines.',
})
PX12:AddLabel('Line Color'):AddColorPicker('PX12C1', {
Default = Color3.fromRGB(255, 255, 255),
Title = 'Wireframe Color',
})
PX12:AddSlider('PX12S1', {
Text = 'Line Width',
Default = 0.02,
Min = 0.005,
Max = 0.1,
Rounding = 3,
Compact = true,
})
PX12:AddSlider('PX12S2', {
Text = 'Line Transparency',
Default = 0,
Min = 0,
Max = 0.9,
Rounding = 2,
Compact = true,
})
local CrosshairPresetsGroup = CrosshairTab:AddLeftGroupbox('Presets')
CrosshairPresetsGroup:AddDropdown('P1S26D6', {
Values = RivalsRuntimeBridge.ViewmodelVisuals.CrosshairPresetOrder,
Multi = false,
Text = 'Preset',
AllowNull = true,
Searchable = true,
Tooltip = 'Ready-made crosshairs styled after popular shooters. Picking one turns the custom crosshair on and fills in the settings below - tweak anything afterwards.',
Callback = GuardRivalsCallback(
'ViewmodelVisuals_ApplyCrosshairPreset',
function(value) RivalsRuntimeBridge.ViewmodelVisuals.ApplyCrosshairPreset(value) end
),
})
local CrosshairGroup = CrosshairTab:AddLeftGroupbox('Custom Crosshair')
BindViewmodelVisualOption(CrosshairGroup:AddToggle('P1S26T1', {
Text = 'Custom Crosshair',
Default = false,
Tooltip = 'Replaces the game crosshair with your own.',
}))
BindViewmodelVisualOption(CrosshairGroup:AddDropdown('P1S26D1', {
Values = { 'Lines', 'Image' },
Default = 'Lines',
Multi = false,
Text = 'Style',
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S1', {
Text = 'Length',
Default = 12,
Min = 1,
Max = 40,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S2', {
Text = 'Thickness',
Default = 2,
Min = 1,
Max = 8,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S3', {
Text = 'Gap',
Default = 6,
Min = 0,
Max = 40,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddToggle('P1S26T2', { Text = 'Outline', Default = false }))
BindViewmodelVisualOption(CrosshairGroup:AddLabel('Outline Color'):AddColorPicker('P1S26C1', {
Default = Color3.new(0, 0, 0),
Title = 'Crosshair Outline Color',
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S11', {
Text = 'Outline Thickness',
Default = 1,
Min = 0,
Max = 4,
Rounding = 0,
Compact = true,
}))
for _, direction in ipairs({
{ 'Top', 'P1S26T3', 'P1S26C2' },
{ 'Bottom', 'P1S26T4', 'P1S26C3' },
{ 'Left', 'P1S26T5', 'P1S26C4' },
{ 'Right', 'P1S26T6', 'P1S26C5' },
}) do
BindViewmodelVisualOption(CrosshairGroup:AddToggle(direction[2], {
Text = direction[1],
Default = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddLabel(direction[1] .. ' Color'):AddColorPicker(direction[3], {
Default = Color3.new(1, 1, 1),
Title = direction[1] .. ' Crosshair Color',
}))
end
BindViewmodelVisualOption(CrosshairGroup:AddToggle('P1S26T7', {
Text = 'Spread',
Default = false,
Tooltip = 'Pulses the crosshair gap in and out. Visual only - not tied to real weapon spread.',
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S8', {
Text = 'Spread Min',
Default = 4,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S9', {
Text = 'Spread Max',
Default = 16,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S10', {
Text = 'Spread Speed',
Default = 3,
Min = 0,
Max = 10,
Rounding = 2,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddToggle('P1S26T8', {
Text = 'Animated Rotation',
Default = false,
Tooltip = 'Spins the crosshair continuously, starting from the Rotation Angle.',
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S4', {
Text = 'Rotation Angle',
Default = 0,
Min = 0,
Max = 360,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S5', {
Text = 'Rotation Speed',
Default = 90,
Min = -360,
Max = 360,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddInput('P1S26I1', {
Default = '',
Text = 'Image Asset / File',
AllowEmpty = true,
EmptyReset = '',
Finished = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S6', {
Text = 'Image Size',
Default = 32,
Min = 4,
Max = 256,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddSlider('P1S26S7', {
Text = 'Image Transparency',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairGroup:AddToggle('P1S26T9', {
Text = 'Follow Target',
Default = false,
Tooltip = 'Drags the crosshair toward the current Aimbot / Silent target.',
}))
BindViewmodelVisualOption(CrosshairGroup:AddDropdown('P1S26D2', {
Values = { 'Crosshair', 'Crosshair + Text' },
Default = 'Crosshair',
Multi = false,
Text = 'Follow Mode',
}))
local CrosshairAnimationGroup = CrosshairTab:AddLeftGroupbox('Crosshair Animation')
BindViewmodelVisualOption(CrosshairAnimationGroup:AddToggle('P1S26T10', {
Text = 'Color Animation',
Default = false,
}))
local CrosshairAnimationSettings = CrosshairAnimationGroup:AddDependencyBox()
BindViewmodelVisualOption(CrosshairAnimationSettings:AddDropdown('P1S26D3', {
Values = { 'Shimmer', 'Perimeter', 'PingPong' },
Default = 'Shimmer',
Multi = false,
Text = 'Mode',
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddSlider('P1S26S12', {
Text = 'Speed',
Default = 1,
Min = 0.1,
Max = 5,
Rounding = 1,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddLabel('Shimmer Fade'):AddColorPicker('P1S26C6', {
Default = Color3.fromRGB(40, 40, 40),
Title = 'Crosshair Shimmer Fade',
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddLabel('Perimeter Start'):AddColorPicker('P1S26C7', {
Default = Color3.fromRGB(255, 0, 0),
Title = 'Crosshair Perimeter Start',
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddLabel('Perimeter End'):AddColorPicker('P1S26C8', {
Default = Color3.fromRGB(0, 0, 255),
Title = 'Crosshair Perimeter End',
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddLabel('PingPong Background'):AddColorPicker('P1S26C9', {
Default = Color3.new(0, 0, 0),
Title = 'Crosshair PingPong Background',
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddLabel('PingPong Main'):AddColorPicker('P1S26C10', {
Default = Color3.new(1, 1, 1),
Title = 'Crosshair PingPong Main',
}))
BindViewmodelVisualOption(CrosshairAnimationSettings:AddSlider('P1S26S13', {
Text = 'PingPong Rotation',
Default = 0,
Min = 0,
Max = 360,
Rounding = 0,
Compact = true,
}))
CrosshairAnimationSettings:SetupDependencies({ { Toggles.P1S26T10, true } })
local CrosshairTextGroup = CrosshairTab:AddRightGroupbox('Crosshair Text')
BindViewmodelVisualOption(CrosshairTextGroup:AddToggle('P1S26T11', {
Text = 'Text',
Default = false,
Tooltip = 'Shows a custom label beneath the crosshair.',
}))
local CrosshairTextSettings = CrosshairTextGroup:AddDependencyBox()
BindViewmodelVisualOption(CrosshairTextSettings:AddInput('P1S26I2', {
Default = '',
Text = 'Content',
AllowEmpty = true,
EmptyReset = '',
Finished = true,
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddDropdown('P1S26D4', {
Values = { 'Inconsolata', 'Gotham', 'Source Sans', 'Roboto Mono' },
Default = 'Inconsolata',
Multi = false,
Text = 'Font',
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddSlider('P1S26S14', {
Text = 'Size',
Default = 14,
Min = 6,
Max = 48,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddSlider('P1S26S15', {
Text = 'Offset',
Default = 24,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddLabel('Color'):AddColorPicker('P1S26C11', {
Default = Color3.new(1, 1, 1),
Title = 'Crosshair Text Color',
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddToggle('P1S26T12', {
Text = 'Outline',
Default = false,
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddLabel('Outline Color'):AddColorPicker('P1S26C12', {
Default = Color3.new(0, 0, 0),
Title = 'Crosshair Text Outline Color',
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddSlider('P1S26S16', {
Text = 'Outline Thickness',
Default = 1,
Min = 0,
Max = 4,
Rounding = 0,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairTextSettings:AddToggle('P1S26T13', {
Text = 'Text Animation',
Default = false,
}))
CrosshairTextSettings:SetupDependencies({ { Toggles.P1S26T11, true } })
local CrosshairTextAnimationSettings = CrosshairTextGroup:AddDependencyBox()
BindViewmodelVisualOption(CrosshairTextAnimationSettings:AddDropdown('P1S26D5', {
Values = { 'Shimmer', 'PingPong' },
Default = 'Shimmer',
Multi = false,
Text = 'Animation Mode',
}))
BindViewmodelVisualOption(CrosshairTextAnimationSettings:AddSlider('P1S26S17', {
Text = 'Animation Speed',
Default = 1,
Min = 0.1,
Max = 5,
Rounding = 1,
Compact = true,
}))
BindViewmodelVisualOption(CrosshairTextAnimationSettings:AddLabel('Shimmer Fade'):AddColorPicker('P1S26C13', {
Default = Color3.fromRGB(40, 40, 40),
Title = 'Text Shimmer Fade',
}))
BindViewmodelVisualOption(CrosshairTextAnimationSettings:AddLabel('PingPong Background'):AddColorPicker('P1S26C14', {
Default = Color3.new(0, 0, 0),
Title = 'Text PingPong Background',
}))
BindViewmodelVisualOption(CrosshairTextAnimationSettings:AddLabel('PingPong Main'):AddColorPicker('P1S26C15', {
Default = Color3.new(1, 1, 1),
Title = 'Text PingPong Main',
}))
BindViewmodelVisualOption(CrosshairTextAnimationSettings:AddSlider('P1S26S18', {
Text = 'PingPong Rotation',
Default = 0,
Min = 0,
Max = 360,
Rounding = 0,
Compact = true,
}))
CrosshairTextAnimationSettings:SetupDependencies({
{ Toggles.P1S26T11, true },
{ Toggles.P1S26T13, true },
})
local function BindVisualRemovalOption(control)
if control and type(control.OnChanged) == 'function' then
control:OnChanged(
GuardRivalsCallback('NativeRemovals_OptionChanged', RivalsRuntimeBridge.NativeRemovals.RefreshAll)
)
end
return control
end
local OverlayRemovalsGroup = VisualsTab:AddRightGroupbox('Overlay & Effect Removals')
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T1', {
Text = 'No Flashbang',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T2', {
Text = 'No Burn Effect',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T3', {
Text = 'No ADS Vignette',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T4', {
Text = 'No Scope Overlay',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T5', {
Text = 'No Scope Reticle',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T6', {
Text = 'No Gun Tracers',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T7', {
Text = 'No Muzzle Flash',
Default = false,
}))
BindVisualRemovalOption(OverlayRemovalsGroup:AddToggle('P1S27T8', {
Text = 'No Hitmarker',
Default = false,
}))
local function BindWorldVisualOption(control)
if control and type(control.OnChanged) == 'function' then
control:OnChanged(
GuardRivalsCallback('WorldVisuals_OptionChanged', RivalsRuntimeBridge.WorldVisuals.RefreshAll)
)
end
return control
end
local WorldPresetsGroup = WorldTab:AddLeftGroupbox('Presets')
WorldPresetsGroup:AddDropdown('P1S32D1', {
Values = RivalsRuntimeBridge.WorldVisuals.WorldPresetOrder,
Multi = false,
Text = 'Theme',
AllowNull = true,
Searchable = true,
Tooltip = "One-click world looks. Picking a theme sets the lighting, fog, bloom, colors, sun rays, atmosphere, and skybox below - tweak anything afterwards. Weather, Lightning and Ambience stay yours. Game Default restores the game's own look.",
Callback = GuardRivalsCallback(
'WorldVisuals_ApplyPreset',
function(value) RivalsRuntimeBridge.WorldVisuals.ApplyWorldPreset(value) end
),
})
local P1S4 = WorldTab:AddLeftGroupbox('Lighting')
BindWorldVisualOption(P1S4:AddToggle('P1S4T2', { Text = 'Ambient', Default = false }))
local DepLightingAmbient = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingAmbient:AddLabel('Indoor Ambient'):AddColorPicker('P1S4C1', {
Default = Color3.new(0.231373, 0.796078, 1),
Title = 'Indoor Ambient',
}))
BindWorldVisualOption(DepLightingAmbient:AddLabel('Outdoor Ambient'):AddColorPicker('P1S4C2', {
Default = Color3.new(0.003922, 0.4, 0.545098),
Title = 'Outdoor Ambient',
}))
DepLightingAmbient:SetupDependencies({ { Toggles.P1S4T2, true } })
BindWorldVisualOption(P1S4:AddToggle('P1S4T3', { Text = 'Clock Time', Default = false }))
local DepLightingClockTime = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingClockTime:AddSlider('P1S4S1', {
Text = 'Time',
Default = 12,
Min = 0,
Max = 24,
Rounding = 2,
Compact = true,
}))
DepLightingClockTime:SetupDependencies({ { Toggles.P1S4T3, true } })
BindWorldVisualOption(P1S4:AddToggle('P1S4T4', { Text = 'Brightness', Default = false }))
local DepLightingBrightness = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingBrightness:AddSlider('P1S4S2', {
Text = 'Brightness Value',
Default = 2,
Min = 0,
Max = 10,
Rounding = 2,
Compact = true,
}))
DepLightingBrightness:SetupDependencies({ { Toggles.P1S4T4, true } })
BindWorldVisualOption(P1S4:AddToggle('P1S4T5', { Text = 'Color Shift', Default = false }))
local DepLightingColorShift = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingColorShift:AddLabel('Color Shift Top'):AddColorPicker('P1S4C3', {
Default = Color3.fromRGB(100, 160, 255),
Title = 'Color Shift Top',
}))
BindWorldVisualOption(DepLightingColorShift:AddLabel('Color Shift Bottom'):AddColorPicker('P1S4C4', {
Default = Color3.fromRGB(20, 40, 90),
Title = 'Color Shift Bottom',
}))
DepLightingColorShift:SetupDependencies({ { Toggles.P1S4T5, true } })
BindWorldVisualOption(P1S4:AddToggle('P1S4T6', {
Text = 'Environment Diffuse Scale',
Default = false,
Tooltip = 'How much ambient light the sky adds to surfaces.',
}))
local DepLightingDiffuse = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingDiffuse:AddSlider('P1S4S3', {
Text = 'Diffuse Scale',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepLightingDiffuse:SetupDependencies({ { Toggles.P1S4T6, true } })
BindWorldVisualOption(P1S4:AddToggle('P1S4T7', {
Text = 'Exposure Compensation',
Default = false,
Tooltip = 'Overall brightness boost or cut, like camera exposure. Positive = brighter.',
}))
local DepLightingExposure = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingExposure:AddSlider('P1S4S4', {
Text = 'Exposure',
Default = 0,
Min = -5,
Max = 5,
Rounding = 2,
Compact = true,
}))
DepLightingExposure:SetupDependencies({ { Toggles.P1S4T7, true } })
BindWorldVisualOption(P1S4:AddToggle('P1S4T8', {
Text = 'Environment Specular Scale',
Default = false,
Tooltip = 'How much surfaces reflect the sky. Higher = shinier world.',
}))
local DepLightingSpecular = P1S4:AddDependencyBox()
BindWorldVisualOption(DepLightingSpecular:AddSlider('P1S4S5', {
Text = 'Specular Scale',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepLightingSpecular:SetupDependencies({ { Toggles.P1S4T8, true } })
local P1S5 = WorldTab:AddRightGroupbox('Shadows & Environment')
BindWorldVisualOption(P1S5:AddToggle('P1S5T1', { Text = 'Fog', Default = false }))
local DepFog = P1S5:AddDependencyBox()
BindWorldVisualOption(DepFog:AddLabel('Fog Color'):AddColorPicker('P1S5C1', {
Default = Color3.fromRGB(192, 192, 192),
Title = 'Fog Color',
}))
BindWorldVisualOption(DepFog:AddSlider('P1S5S1', {
Text = 'Fog Start',
Default = 0,
Min = 0,
Max = 10000,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(DepFog:AddSlider('P1S5S2', {
Text = 'Fog End',
Default = 10000,
Min = 0,
Max = 10000,
Rounding = 0,
Compact = true,
}))
DepFog:SetupDependencies({ { Toggles.P1S5T1, true } })
BindWorldVisualOption(P1S5:AddToggle('P1S5T2', {
Text = 'Geographic Latitude',
Default = false,
Tooltip = "Moves the sun and moon's path across the sky, which shifts every shadow.",
}))
local DepLatitude = P1S5:AddDependencyBox()
BindWorldVisualOption(DepLatitude:AddSlider('P1S5S3', {
Text = 'Latitude',
Default = 41.733,
Min = -90,
Max = 90,
Rounding = 3,
Compact = true,
}))
DepLatitude:SetupDependencies({ { Toggles.P1S5T2, true } })
BindWorldVisualOption(P1S5:AddToggle('P1S5T3', { Text = 'Disable Global Shadows', Default = false }))
BindWorldVisualOption(P1S5:AddToggle('P1S5T4', { Text = 'Shadow Softness', Default = false }))
local DepShadowSoftness = P1S5:AddDependencyBox()
BindWorldVisualOption(DepShadowSoftness:AddSlider('P1S5S4', {
Text = 'Softness',
Default = 0.5,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepShadowSoftness:SetupDependencies({ { Toggles.P1S5T4, true } })
BindWorldVisualOption(P1S5:AddToggle('P1S5T5', { Text = 'Lighting Style', Default = false }))
local DepLightingStyle = P1S5:AddDependencyBox()
BindWorldVisualOption(DepLightingStyle:AddDropdown('P1S5D1', {
Values = { 'Realistic', 'Soft' },
Default = 'Realistic',
Multi = false,
Text = 'Style',
}))
DepLightingStyle:SetupDependencies({ { Toggles.P1S5T5, true } })
BindWorldVisualOption(P1S5:AddToggle('P1S5T6', { Text = 'Shadow Color', Default = false }))
local DepShadowColor = P1S5:AddDependencyBox()
BindWorldVisualOption(DepShadowColor:AddLabel('Shadow Color Value'):AddColorPicker('P1S5C2', {
Default = Color3.new(0.7, 0.7, 0.72),
Title = 'Shadow Color',
}))
DepShadowColor:SetupDependencies({ { Toggles.P1S5T6, true } })
BindWorldVisualOption(P1S5:AddToggle('P1S5T7', {
Text = 'Prioritize Lighting Quality',
Default = false,
Tooltip = 'Keeps lighting quality high even on low graphics settings. May cost FPS.',
}))
local P1S6 = WorldTab:AddLeftGroupbox('Bloom')
BindWorldVisualOption(P1S6:AddToggle('P1S6T1', { Text = 'Bloom', Default = false }))
local DepBloom = P1S6:AddDependencyBox()
BindWorldVisualOption(DepBloom:AddSlider('P1S6S1', {
Text = 'Intensity',
Default = 0.4,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepBloom:AddSlider('P1S6S2', {
Text = 'Size',
Default = 24,
Min = 0,
Max = 56,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(DepBloom:AddSlider('P1S6S3', {
Text = 'Threshold',
Default = 0.95,
Min = 0,
Max = 5,
Rounding = 2,
Compact = true,
}))
DepBloom:SetupDependencies({ { Toggles.P1S6T1, true } })
local P1S7 = WorldTab:AddLeftGroupbox('Color Correction')
BindWorldVisualOption(P1S7:AddToggle('P1S7T1', { Text = 'Color Correction', Default = false }))
local DepColorCorrection = P1S7:AddDependencyBox()
BindWorldVisualOption(DepColorCorrection:AddLabel('Tint Color'):AddColorPicker('P1S7C1', {
Default = Color3.new(1, 1, 1),
Title = 'Tint Color',
}))
BindWorldVisualOption(DepColorCorrection:AddSlider('P1S7S1', {
Text = 'Saturation',
Default = 0,
Min = -1,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepColorCorrection:AddSlider('P1S7S2', {
Text = 'Brightness',
Default = 0,
Min = -1,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepColorCorrection:AddSlider('P1S7S3', {
Text = 'Contrast',
Default = 0,
Min = -1,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepColorCorrection:SetupDependencies({ { Toggles.P1S7T1, true } })
local P1S8 = WorldTab:AddRightGroupbox('Color Grading')
BindWorldVisualOption(P1S8:AddToggle('P1S8T1', { Text = 'Color Grading', Default = false }))
local DepColorGrading = P1S8:AddDependencyBox()
BindWorldVisualOption(DepColorGrading:AddDropdown('P1S8D1', {
Values = { 'Default', 'Retro' },
Default = 'Default',
Multi = false,
Text = 'Tonemapper Preset',
}))
DepColorGrading:SetupDependencies({ { Toggles.P1S8T1, true } })
local P1S10 = WorldTab:AddRightGroupbox('Sun Rays')
BindWorldVisualOption(P1S10:AddToggle('P1S10T1', { Text = 'Sun Rays', Default = false }))
local DepSunRays = P1S10:AddDependencyBox()
BindWorldVisualOption(DepSunRays:AddSlider('P1S10S1', {
Text = 'Intensity',
Default = 0.25,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepSunRays:AddSlider('P1S10S2', {
Text = 'Spread',
Default = 1,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepSunRays:SetupDependencies({ { Toggles.P1S10T1, true } })
local PX1 = WorldTab:AddRightGroupbox('Depth of Field')
BindWorldVisualOption(PX1:AddToggle('PX1T1', {
Text = 'Depth of Field',
Default = false,
Tooltip = 'Blurs everything nearer or farther than the focus band.',
}))
local DepDepthOfField = PX1:AddDependencyBox()
BindWorldVisualOption(DepDepthOfField:AddSlider('PX1S1', {
Text = 'Far Intensity',
Default = 0.75,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepDepthOfField:AddSlider('PX1S2', {
Text = 'Focus Distance',
Default = 25,
Min = 0,
Max = 500,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(DepDepthOfField:AddSlider('PX1S3', {
Text = 'In Focus Radius',
Default = 30,
Min = 0,
Max = 500,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(DepDepthOfField:AddSlider('PX1S4', {
Text = 'Near Intensity',
Default = 0.5,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepDepthOfField:SetupDependencies({ { Toggles.PX1T1, true } })
local P1S12 = WorldTab:AddLeftGroupbox('Skybox')
BindWorldVisualOption(P1S12:AddToggle('P1S12T1', { Text = 'Skybox', Default = false }))
P1S12:AddButton({
Text = 'Manage Custom Skyboxes',
Func = GuardRivalsCallback(
'WorldVisuals_OpenCustomSkyboxesDialog',
RivalsRuntimeBridge.WorldVisuals.OpenCustomSkyboxesDialog
),
Tooltip = 'Add and remove saved six-face skyboxes in a focused dialog.',
})
local DepSkybox = P1S12:AddDependencyBox()
BindWorldVisualOption(DepSkybox:AddDropdown('P1S12D1', {
Values = RivalsRuntimeBridge.WorldVisuals.ResolveSkyPresetNames(),
Default = '',
Multi = false,
Text = 'Preset',
Searchable = true,
MaxVisibleDropdownItems = 12,
}))
DepSkybox:SetupDependencies({ { Toggles.P1S12T1, true } })
local P1S13 = WorldTab:AddRightGroupbox('Atmosphere')
BindWorldVisualOption(P1S13:AddToggle('P1S13T1', { Text = 'Atmosphere', Default = false }))
local DepAtmosphere = P1S13:AddDependencyBox()
BindWorldVisualOption(DepAtmosphere:AddLabel('Color'):AddColorPicker('P1S13C1', {
Default = Color3.new(0.7843, 0.6667, 0.4235),
Title = 'Atmosphere Color',
}))
BindWorldVisualOption(DepAtmosphere:AddLabel('Decay'):AddColorPicker('P1S13C2', {
Default = Color3.new(0.3608, 0.2353, 0.0549),
Title = 'Atmosphere Decay',
}))
BindWorldVisualOption(DepAtmosphere:AddSlider('P1S13S1', {
Text = 'Density',
Default = 0.395,
Min = 0,
Max = 1,
Rounding = 3,
Compact = true,
}))
BindWorldVisualOption(DepAtmosphere:AddSlider('P1S13S2', {
Text = 'Offset',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepAtmosphere:AddSlider('P1S13S3', {
Text = 'Glare',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(DepAtmosphere:AddSlider('P1S13S4', {
Text = 'Haze',
Default = 0,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
DepAtmosphere:SetupDependencies({ { Toggles.P1S13T1, true } })
local P1S14 = WorldTab:AddRightGroupbox('Ambience')
BindWorldVisualOption(P1S14:AddToggle('P1S14T1', { Text = 'Ambience', Default = false }))
local DepAmbience = P1S14:AddDependencyBox()
DepAmbience:AddDropdown('P1S14D1', {
Values = RivalsRuntimeBridge.WorldVisuals.AmbiencePresetOrder,
Multi = false,
Text = 'Preset',
AllowNull = true,
Tooltip = 'Popular ambient loops. Picking one fills the sound box below - you can still paste your own ID or URL instead.',
Callback = GuardRivalsCallback('WorldVisuals_AmbiencePreset', function(value)
local source = RivalsRuntimeBridge.WorldVisuals.AmbiencePresets[value]
if source and Options.P1S14I1 and Options.P1S14I1.Value ~= source then Options.P1S14I1:SetValue(source) end
end),
})
BindWorldVisualOption(DepAmbience:AddInput('P1S14I1', {
Default = '',
Text = 'Custom Sound (ID or URL)',
AllowEmpty = true,
EmptyReset = '',
Finished = true,
}))
BindWorldVisualOption(DepAmbience:AddSlider('P1S14S1', {
Text = 'Volume',
Default = 1,
Min = 0,
Max = 1.5,
Rounding = 2,
Compact = true,
}))
DepAmbience:SetupDependencies({ { Toggles.P1S14T1, true } })
local P1S30 = VisualsTab:AddRightGroupbox('Stretched Resolution')
BindWorldVisualOption(P1S30:AddToggle('P1S30T1', {
Text = 'Stretched Resolution',
Default = false,
Tooltip = 'Stretches the screen like playing on a lower stretched resolution.',
}))
local StretchedResolutionSettings = P1S30:AddDependencyBox()
BindWorldVisualOption(StretchedResolutionSettings:AddSlider('P1S30S1', {
Text = 'X Ratio',
Default = 1,
Min = 0.01,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(StretchedResolutionSettings:AddSlider('P1S30S2', {
Text = 'Y Ratio',
Default = 1,
Min = 0.01,
Max = 1,
Rounding = 2,
Compact = true,
}))
StretchedResolutionSettings:SetupDependencies({ { Toggles.P1S30T1, true } })
local P1S28 = WorldTab:AddLeftGroupbox('Weather')
BindWorldVisualOption(P1S28:AddToggle('P1S28T1', {
Text = 'Weather',
Default = false,
Tooltip = 'Snow, Rain, or Blizzard weather that follows your camera.',
}))
local WeatherSettings = P1S28:AddDependencyBox()
BindWorldVisualOption(WeatherSettings:AddDropdown('P1S28D1', {
Values = { 'Snow', 'Rain', 'Blizzard' },
Default = 'Snow',
Multi = false,
Text = 'Preset',
}))
BindWorldVisualOption(WeatherSettings:AddLabel('Color'):AddColorPicker('P1S28C1', {
Default = Color3.fromRGB(255, 255, 255),
Title = 'Weather Color',
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S1', {
Text = 'Intensity',
Default = 1,
Min = 0,
Max = 2,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S2', {
Text = 'Rate',
Default = 1,
Min = 0,
Max = 3,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S3', {
Text = 'Speed',
Default = 1,
Min = 0.5,
Max = 3,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S4', {
Text = 'Size',
Default = 1,
Min = 0.5,
Max = 2,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S5', {
Text = 'Glow',
Default = 0.6,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S6', {
Text = 'Spread',
Default = 3,
Min = 0,
Max = 3,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S7', {
Text = 'Height',
Default = 45,
Min = 10,
Max = 100,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S8', {
Text = 'Wind Strength',
Default = 0,
Min = 0,
Max = 20,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(WeatherSettings:AddSlider('P1S28S9', {
Text = 'Wind Angle',
Default = 0,
Min = 0,
Max = 360,
Rounding = 0,
Compact = true,
}))
WeatherSettings:SetupDependencies({ { Toggles.P1S28T1, true } })
local P1S29 = WorldTab:AddRightGroupbox('Lightning')
BindWorldVisualOption(P1S29:AddToggle('P1S29T1', {
Text = 'Lightning',
Default = false,
Tooltip = 'Strikes during Rain and Blizzard presets.',
}))
local LightningSettings = P1S29:AddDependencyBox()
BindWorldVisualOption(LightningSettings:AddLabel('Bolt Color'):AddColorPicker('P1S29C1', {
Default = Color3.fromRGB(214, 230, 255),
Title = 'Lightning Color',
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S1', {
Text = 'Interval',
Default = 2,
Min = 0.2,
Max = 10,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S2', {
Text = 'Distance',
Default = 80,
Min = 10,
Max = 200,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S3', {
Text = 'Height',
Default = 220,
Min = 50,
Max = 400,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S4', {
Text = 'Thickness',
Default = 4,
Min = 0.5,
Max = 12,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S5', {
Text = 'Jaggedness',
Default = 7,
Min = 0,
Max = 20,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S6', {
Text = 'Branches',
Default = 12,
Min = 0,
Max = 24,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S7', {
Text = 'Flash',
Default = 8,
Min = 0,
Max = 20,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddToggle('P1S29T2', { Text = 'Sparks', Default = true }))
BindWorldVisualOption(LightningSettings:AddLabel('Spark Color'):AddColorPicker('P1S29C2', {
Default = Color3.fromRGB(238, 246, 255),
Title = 'Spark Color',
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S8', {
Text = 'Spark Count',
Default = 18,
Min = 0,
Max = 40,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S9', {
Text = 'Spark Thickness',
Default = 2.2,
Min = 0.2,
Max = 8,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S10', {
Text = 'Spark Distance',
Default = 22,
Min = 2,
Max = 50,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S11', {
Text = 'Spark Speed',
Default = 22,
Min = 2,
Max = 40,
Rounding = 1,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S12', {
Text = 'Spark Jaggedness',
Default = 4,
Min = 0,
Max = 12,
Rounding = 1,
Compact = true,
Tooltip = 'Legacy setting kept for old configs; sparks are not affected by it.',
}))
BindWorldVisualOption(LightningSettings:AddToggle('P1S29T3', { Text = 'Explosion', Default = true }))
BindWorldVisualOption(LightningSettings:AddLabel('Explosion Color'):AddColorPicker('P1S29C3', {
Default = Color3.fromRGB(238, 200, 255),
Title = 'Explosion Color',
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S13', {
Text = 'Explosion Size',
Default = 0.45,
Min = 0,
Max = 1,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S14', {
Text = 'Explosion Bolts',
Default = 14,
Min = 0,
Max = 30,
Rounding = 0,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddToggle('P1S29T4', { Text = 'Thunder Sound', Default = true }))
BindWorldVisualOption(LightningSettings:AddSlider('P1S29S15', {
Text = 'Thunder Volume',
Default = 1,
Min = 0,
Max = 1.5,
Rounding = 2,
Compact = true,
}))
BindWorldVisualOption(LightningSettings:AddToggle('P1S29T5', {
Text = 'Distance Delay',
Default = true,
Tooltip = 'Thunder arrives later for far-away strikes, like real lightning.',
}))
BindWorldVisualOption(LightningSettings:AddInput('P1S29I1', {
Default = '',
Text = 'Thunder Sound ID',
AllowEmpty = true,
EmptyReset = '',
Finished = true,
Tooltip = 'Leave empty to use the default thunder sound.',
}))
LightningSettings:SetupDependencies({ { Toggles.P1S29T1, true } })
-- ======================================================================
-- Texture Changer, Map Darkener, Anti-Lag and the watermark lookups (ZkxVader build, World tab)
-- ======================================================================
do
local TextureEngine = (function()
-- Texture engine (ZkxVader build): asset swaps from a pack, map darkener, anti-lag. No menu code in here, the World tab part drives it.
-- Every change is remembered per instance and put back when the feature is switched off or the hub unloads. Objects of the hub itself
-- (names starting with ZkxHub), characters, view models, the camera and the terrain are never touched.
-- Pack rules (asset id -> replacement url) come from the Minecraft pack (pastebin Cb9ExUkB), the Fleasion pack (fleasion-script) and the Determination pack
-- (Magic Redux); the files are downloaded once into Engine.Folder under a hash of their url and handed to the game with getcustomasset.
-- A rule whose replacement is '' blanks the asset; pack.Fonts = { { { family ids }, url of a ttf } } swaps UI fonts (needs the 'Fonts' kind).
-- No Hands (Engine.NoHands) is independent of the packs: it hides the arms of the first person view model.
local function clone(instance)
if type(cloneref) == 'function' then return cloneref(instance) end
return instance
end
local Players = clone(game:GetService('Players'))
local Lighting = clone(game:GetService('Lighting'))
local RunService = clone(game:GetService('RunService'))
local Workspace = clone(workspace)
local Engine = {
Folder = 'ZkxHub/textures',
Packs = {}, -- name -> { Rules = { { { id, ... }, url }, ... } }, filled by the World tab part
OnStatus = function(_text) end,
}
-- caches only: a weak key table of Instances loses entries whenever the garbage collector runs (checked live: 11,224 -> 2,205 after one round), so every table that
-- must remember an instance until it is restored is a plain table and is pruned of destroyed instances now and then
local function weakKeys() return setmetatable({}, { __mode = 'k' }) end
local function pruneDetached(map)
for inst in pairs(map) do
local ok, parent = pcall(function() return inst.Parent end)
if not ok or parent == nil then map[inst] = nil end
end
end
local function status(text)
pcall(Engine.OnStatus, text)
end
-- ----------------------------------------------------------------------------------------------------------------------------------- helpers
local Util = {}
Engine.Util = Util
-- the real file type from the first bytes: only these load in Roblox (webp, html error pages and the like are refused)
function Util.sniff(body)
if type(body) ~= 'string' or #body < 80 then return nil end
local b1, b2, b3, b4 = string.byte(body, 1, 4)
if b1 == 0x89 and b2 == 0x50 and b3 == 0x4E and b4 == 0x47 then return 'png' end
if b1 == 0xFF and b2 == 0xD8 and b3 == 0xFF then return 'jpg' end
if b1 == 0x4F and b2 == 0x67 and b3 == 0x67 and b4 == 0x53 then return 'ogg' end
if b1 == 0x49 and b2 == 0x44 and b3 == 0x33 then return 'mp3' end
if b1 == 0xFF and bit32.band(b2, 0xE0) == 0xE0 then return 'mp3' end
if b1 == 0x52 and b2 == 0x49 and b3 == 0x46 and b4 == 0x46 and string.sub(body, 9, 12) == 'WAVE' then return 'wav' end
if (b1 == 0x00 and b2 == 0x01 and b3 == 0x00 and b4 == 0x00) or string.sub(body, 1, 4) == 'true' or string.sub(body, 1, 4) == 'OTTO' then return 'ttf' end
return nil
end
-- 32-bit FNV-1a (multiplication split so every step stays exact in a double); two seeds make the file name 16 hex digits
local function fnv(text, seed)
local hash = seed
for index = 1, #text do
hash = bit32.bxor(hash, string.byte(text, index))
hash = ((hash * 16777216) % 4294967296 + hash * 403) % 4294967296
end
return hash
end
function Util.hashUrl(url)
return string.format('%08x%08x', fnv(url, 2166136261), fnv(url, 5381))
end
-- the asset id inside an Image / SoundId / Texture value: rbxassetid://123 or ...asset/?id=123
function Util.assetId(value)
if type(value) ~= 'string' then return nil end
return string.match(value, '^rbxassetid://(%d+)') or string.match(value, '[?&]id=(%d+)')
end
local function download(url)
if type(request) == 'function' then
local ok, response = pcall(request, { Url = url, Method = 'GET' })
if ok and type(response) == 'table' and response.StatusCode == 200 and type(response.Body) == 'string' then return response.Body end
end
local ok, body = pcall(function() return game:HttpGet(url) end)
if ok and type(body) == 'string' then return body end
return nil
end
local FILE_TYPES = { 'png', 'jpg', 'ogg', 'mp3', 'wav', 'ttf' }
local function filesAvailable()
return type(writefile) == 'function' and type(readfile) == 'function' and type(isfile) == 'function' and type(getcustomasset) == 'function'
end
local function ensureFolder()
local path = ''
for part in string.gmatch(Engine.Folder, '[^/]+') do
path = path == '' and part or (path .. '/' .. part)
pcall(function()
if not isfolder(path) then makefolder(path) end
end)
end
end
-- a ttf is handed to the game as a font FAMILY: a small json next to the file lists the face, and getcustomasset of that json is what Font.new takes
local function fontFamilyAsset(path)
local okFile, fontAsset = pcall(getcustomasset, path)
if not okFile or type(fontAsset) ~= 'string' or fontAsset == '' then return nil end
-- written by hand: JSONEncode orders keys differently from run to run, which changes the content hash getcustomasset names the file by, and then a label that
-- still carries the family of an earlier run could never be recognised as ours
local jsonPath = path .. '.json'
local encoded = '{"name":"ZkxHubPackFont","faces":[{"name":"Regular","weight":400,"style":"normal","assetId":"' .. string.gsub(fontAsset, '[\\"]', '\\%0') .. '"}]}'
if not pcall(writefile, jsonPath, encoded) then return nil end
local okFamily, family = pcall(getcustomasset, jsonPath)
if okFamily and type(family) == 'string' and family ~= '' then return family end
return nil
end
local function serve(path, kind)
if kind == 'ttf' then return fontFamilyAsset(path) end
local okAsset, asset = pcall(getcustomasset, path)
if okAsset and type(asset) == 'string' and asset ~= '' then return asset end
return nil
end
-- asset string for one pack url (cached file, or downloaded now); second value = it had to be downloaded
function Util.assetFor(url)
if string.sub(url, 1, 13) == 'rbxassetid://' then return url, false end
if not filesAvailable() then return nil, false end
local stem = Engine.Folder .. '/' .. Util.hashUrl(url)
for _, kind in ipairs(FILE_TYPES) do
local path = stem .. '.' .. kind
if isfile(path) then
local okRead, body = pcall(readfile, path)
if okRead and Util.sniff(body) == kind then
local asset = serve(path, kind)
if asset then return asset, false end
elseif type(delfile) == 'function' then
pcall(delfile, path) -- a half written file from an earlier run
end
end
end
local body = download(url)
local kind = Util.sniff(body)
if not kind then return nil, true end
local path = stem .. '.' .. kind
if not pcall(writefile, path, body) then return nil, true end
return serve(path, kind), true
end
-- run handler over list in ~4 ms slices; stops early when alive() turns false
local function sliced(list, handler, alive)
local clock = os.clock
local started = clock()
for index = 1, #list do
if not alive() then return false end
handler(list[index])
if clock() - started > 0.004 then
task.wait()
started = clock()
end
end
return true
end
-- ------------------------------------------------------------------------------------------------------------ what counts as "the map"
local PART_CLASSES = {
Part = true, MeshPart = true, UnionOperation = true, WedgePart = true, CornerWedgePart = true, TrussPart = true, SpawnLocation = true, Seat = true, VehicleSeat = true,
}
local EXCLUDED_TOP = { Camera = true, Terrain = true, ViewModels = true, HurtEffect = true, ServerPing = true }
local characterCache = weakKeys()
local topCache = weakKeys()
local function isCharacterModel(model)
local known = characterCache[model]
if known == nil then
known = model:FindFirstChildOfClass('Humanoid') ~= nil or model:FindFirstChild('HumanoidRootPart') ~= nil or Players:GetPlayerFromCharacter(model) ~= nil
characterCache[model] = known
end
return known
end
-- true for world content: not a character (at any depth), not a view model / camera / terrain, nothing the hub made (its objects are named ZkxHub...)
-- (the world root is recognised by its class: a cloneref'd Workspace is never == to the instance you reach through .Parent)
local function isMapObject(inst)
local current, top = inst, inst
while current and current.ClassName ~= 'Workspace' do
if string.sub(current.Name, 1, 6) == 'ZkxHub' then return false end
if current.ClassName == 'Model' and isCharacterModel(current) then return false end
top = current
current = current.Parent
end
if not current then return false end
local allowed = topCache[top]
if allowed == nil then
allowed = not EXCLUDED_TOP[top.Name]
topCache[top] = allowed
end
return allowed
end
Util.isMapObject = isMapObject
-- ------------------------------------------------------------------------------------------------------------------------- texture packs
local Texture = {
Enabled = false,
Pack = nil,
Token = 0,
IdMap = {},
FontMap = {}, -- family id -> font family asset (the json of a ttf)
Kinds = { ['UI Images'] = true, ['Sounds'] = true, ['World Textures'] = true, ['Fonts'] = true },
Originals = {}, -- instance -> { prop -> the value before our swap }
Replaced = {}, -- instance -> { prop -> what we put there }, so a swapped value is never swapped a second time
Reverse = {}, -- our cached file value -> the original value it replaced (how a clone of a swapped template is recognised)
Connections = {},
Stats = nil,
}
Engine.Texture = Texture
local SKY_FACES = { 'SkyboxBk', 'SkyboxDn', 'SkyboxFt', 'SkyboxLf', 'SkyboxRt', 'SkyboxUp' }
local TARGETS = {
ImageLabel = { { Prop = 'Image', Kind = 'UI Images' } },
ImageButton = { { Prop = 'Image', Kind = 'UI Images' }, { Prop = 'HoverImage', Kind = 'UI Images' }, { Prop = 'PressedImage', Kind = 'UI Images' } },
Sound = { { Prop = 'SoundId', Kind = 'Sounds' } },
Decal = { { Prop = 'Texture', Kind = 'World Textures' } },
Texture = { { Prop = 'Texture', Kind = 'World Textures' } },
MeshPart = { { Prop = 'TextureID', Kind = 'World Textures' } },
Sky = {},
TextLabel = { { Prop = 'FontFace', Kind = 'Fonts', Font = true } },
TextButton = { { Prop = 'FontFace', Kind = 'Fonts', Font = true } },
TextBox = { { Prop = 'FontFace', Kind = 'Fonts', Font = true } },
}
for _, face in ipairs(SKY_FACES) do table.insert(TARGETS.Sky, { Prop = face, Kind = 'World Textures' }) end
local function textureRoots()
local roots = { Workspace, game:GetService('ReplicatedStorage'), game:GetService('SoundService'), game:GetService('StarterGui'), Lighting }
local player = Players.LocalPlayer
if player then table.insert(roots, player) end
return roots
end
-- one property of one instance: swap it when its asset id has a rule. Fonts compare the family (the swapped font keeps the label's weight and style).
function Texture.SwapProp(inst, target)
local prop = target.Prop
local okRead, value = pcall(function() return inst[prop] end)
if not okRead or value == nil then return end
local current = value
if target.Font then
local okFamily, family = pcall(function() return value.Family end)
if not okFamily then return end
current = family
end
local ours = Texture.Replaced[inst]
if ours and ours[prop] == current then return end -- still what we put there: never swap a swap (a skin id that is also a rule would chain)
local id = Util.assetId(current)
local replacement = id and (target.Font and Texture.FontMap[id] or Texture.IdMap[id])
if not replacement then
-- the game builds live UI by cloning templates, and a clone of something we swapped arrives carrying our file: take it over, so it is put back too
local origin = Texture.Reverse[current]
if origin and not (ours and ours[prop] == current) then
local restoreTo = origin
if target.Font then
local okFont, font = pcall(function() return Font.new(origin, value.Weight, value.Style) end)
if not okFont then return end
restoreTo = font
end
local saved = Texture.Originals[inst]
if not saved then
saved = {}
Texture.Originals[inst] = saved
end
saved[prop] = restoreTo
if not ours then
ours = {}
Texture.Replaced[inst] = ours
end
ours[prop] = current
end
return
end
if not target.Font and value == replacement then return end
local newValue = replacement
if target.Font then
local okFont, font = pcall(function() return Font.new(replacement, value.Weight, value.Style) end)
if not okFont then return end
newValue = font
end
local saved = Texture.Originals[inst]
if not saved then
saved = {}
Texture.Originals[inst] = saved
end
saved[prop] = value -- the newest original: the game may have set a new value since an earlier swap
if pcall(function() inst[prop] = newValue end) then
if not ours then
ours = {}
Texture.Replaced[inst] = ours
end
ours[prop] = replacement
-- only values that are our own cached files can identify a clone (a plain asset id may be used by the game for something else), and a blank is no identity at all
if string.sub(replacement, 1, 13) ~= 'rbxassetid://' and replacement ~= '' and Texture.Reverse[replacement] == nil then
Texture.Reverse[replacement] = target.Font and current or value
end
end
end
function Texture.Swap(inst)
local targets = TARGETS[inst.ClassName]
if not targets then return end
for _, target in ipairs(targets) do
if Texture.Kinds[target.Kind] then Texture.SwapProp(inst, target) end
end
end
-- puts the originals back, but only where the value is still the one we set: a newer value from the game is never overwritten with a stale one
function Texture.Restore()
for inst, props in pairs(Texture.Originals) do
local ours = Texture.Replaced[inst]
for prop, value in pairs(props) do
pcall(function()
local current = inst[prop]
if prop == 'FontFace' then current = current.Family end
if ours and ours[prop] ~= nil and ours[prop] == current then inst[prop] = value end
end)
end
end
table.clear(Texture.Originals)
table.clear(Texture.Replaced)
table.clear(Texture.Reverse)
end
local function disconnectAll(list)
for _, connection in ipairs(list) do pcall(function() connection:Disconnect() end) end
table.clear(list)
end
-- downloads (or finds cached) every file of a pack, a few at a time; returns idMap, fontMap + stats, or nil when the pack changed meanwhile
function Texture.Prepare(name, token)
local pack = Engine.Packs[name]
if not pack then return nil, nil, { Missing = true } end
ensureFolder()
-- files to fetch: every distinct http url (an rbxassetid:// replacement and a blank rule need no file)
local urls, seen = {}, {}
local function want(url)
if url ~= '' and not seen[url] and string.sub(url, 1, 13) ~= 'rbxassetid://' then
seen[url] = true
table.insert(urls, url)
end
end
for _, rule in ipairs(pack.Rules) do want(rule[2]) end
for _, rule in ipairs(pack.Fonts or {}) do want(rule[2]) end
local assets, finished, fresh, failed = {}, 0, 0, 0
local nextIndex, running = 1, 0
local function worker()
running += 1
while token == Texture.Token do
local index = nextIndex
nextIndex += 1
local url = urls[index]
if not url then break end
local ok, asset, downloaded = pcall(Util.assetFor, url)
if ok and asset then assets[url] = asset else failed += 1 end
if ok and downloaded then fresh += 1 end
finished += 1
if finished % 4 == 0 or finished == #urls then status(string.format('%s pack: %d / %d files', name, finished, #urls)) end
if finished % 6 == 0 then task.wait() end -- cached files never yield on their own: do not hold the frame
end
running -= 1
end
for _ = 1, math.min(6, #urls) do task.spawn(worker) end
while running > 0 and token == Texture.Token do task.wait(0.1) end
if token ~= Texture.Token then return nil end
local function assetOf(url)
if url == '' then return '' end -- a blank rule: the asset is removed
if string.sub(url, 1, 13) == 'rbxassetid://' then return url end
return assets[url]
end
local idMap, fontMap, ids = {}, {}, 0
for _, rule in ipairs(pack.Rules) do
local asset = assetOf(rule[2])
if asset ~= nil then
for _, id in ipairs(rule[1]) do
idMap[tostring(id)] = asset
ids += 1
end
end
end
for _, rule in ipairs(pack.Fonts or {}) do
local family = assets[rule[2]]
if family then
for _, id in ipairs(rule[1]) do
fontMap[tostring(id)] = family
ids += 1
end
end
end
return idMap, fontMap, { Files = #urls, Failed = failed, Fresh = fresh, Ids = ids, FilesOk = filesAvailable() }
end
function Texture.Scan(token)
local list = {}
for _, root in ipairs(textureRoots()) do
local ok, found = pcall(function() return root:GetDescendants() end)
if ok then table.move(found, 1, #found, #list + 1, list) end
end
sliced(list, function(inst)
if TARGETS[inst.ClassName] then Texture.Swap(inst) end
end, function() return token == Texture.Token end)
end
function Texture.Disable()
Texture.Token += 1
Texture.Enabled = false
disconnectAll(Texture.Connections)
Texture.Restore()
Texture.IdMap = {}
Texture.FontMap = {}
status('Off')
end
function Texture.Enable(name)
Texture.Token += 1
local token = Texture.Token
disconnectAll(Texture.Connections)
Texture.Restore()
Texture.IdMap = {}
Texture.FontMap = {}
Texture.Enabled = true
Texture.Pack = name
status(string.format('%s pack: starting', name))
task.spawn(function()
local idMap, fontMap, stats = Texture.Prepare(name, token)
if token ~= Texture.Token then return end
if not idMap then
status('Pack not found')
return
end
Texture.IdMap, Texture.FontMap, Texture.Stats = idMap, fontMap, stats
for _, root in ipairs(textureRoots()) do
table.insert(Texture.Connections, root.DescendantAdded:Connect(function(inst)
if TARGETS[inst.ClassName] then task.defer(Texture.Swap, inst) end
end))
end
Texture.Scan(token)
if token ~= Texture.Token then return end
if not stats.FilesOk then
status(string.format('%s pack: this executor cannot save files, only built-in ids swap (%d)', name, stats.Ids))
elseif stats.Failed > 0 then
status(string.format('%s pack ready: %d / %d files (%d failed)', name, stats.Files - stats.Failed, stats.Files, stats.Failed))
else
status(string.format('%s pack ready: %d files', name, stats.Files))
end
-- images the game sets after the object exists are only caught by looking again; sounds and decals arrive with their id
local rounds = 0
while token == Texture.Token do
task.wait(2.5)
if token ~= Texture.Token then break end
rounds += 1
if rounds % 4 == 0 then
pruneDetached(Texture.Originals)
pruneDetached(Texture.Replaced)
end
local player = Players.LocalPlayer
local gui = player and player:FindFirstChildOfClass('PlayerGui')
if gui and Texture.Kinds['UI Images'] then
local ok, found = pcall(function() return gui:GetDescendants() end)
if ok then
sliced(found, function(inst)
local class = inst.ClassName
if class == 'ImageLabel' or class == 'ImageButton' then Texture.Swap(inst) end
end, function() return token == Texture.Token end)
end
end
end
end)
end
-- quiet = only remember the choice (the caller is about to Enable); otherwise a running pack is re-applied for the new list
function Texture.SetKinds(kinds, quiet)
Texture.Kinds = { ['UI Images'] = kinds['UI Images'] == true, ['Sounds'] = kinds['Sounds'] == true, ['World Textures'] = kinds['World Textures'] == true, ['Fonts'] = kinds['Fonts'] == true }
if not quiet and Texture.Enabled and next(Texture.IdMap) ~= nil then
Texture.Restore() -- same session: put back what is no longer wanted, swap what is
task.spawn(Texture.Scan, Texture.Token)
end
end
-- throw away the downloaded files of one pack so the next Enable fetches them again
function Texture.ClearCache(name)
local pack = Engine.Packs[name]
if not pack or not filesAvailable() or type(delfile) ~= 'function' then return 0 end
local removed = 0
local function clear(rule)
local url = rule[2]
if url == '' or string.sub(url, 1, 13) == 'rbxassetid://' then return end
local stem = Engine.Folder .. '/' .. Util.hashUrl(url)
for _, kind in ipairs(FILE_TYPES) do
local path = stem .. '.' .. kind
if isfile(path) and pcall(delfile, path) then removed += 1 end
if kind == 'ttf' and isfile(path .. '.json') then pcall(delfile, path .. '.json') end -- the font family file (not counted)
end
end
for _, rule in ipairs(pack.Rules) do clear(rule) end
for _, rule in ipairs(pack.Fonts or {}) do clear(rule) end
return removed
end
-- -------------------------------------------------------------------------------------------------------------------------- map darkener
local Darkener = { Enabled = false, Level = 6, Token = 0, Originals = {}, Connection = nil }
Engine.Darkener = Darkener
-- level 1 keeps 91 % of the brightness, level 10 keeps 10 %
local function darkFactor() return 1 - (Darkener.Level / 10) * 0.9 end
function Darkener.Paint(part)
if not PART_CLASSES[part.ClassName] or not isMapObject(part) then return end
local original = Darkener.Originals[part]
if not original then
original = part.Color
Darkener.Originals[part] = original
end
local hue, saturation, value = original:ToHSV()
part.Color = Color3.fromHSV(hue, saturation, value * darkFactor())
end
function Darkener.Restore()
for part, original in pairs(Darkener.Originals) do
pcall(function() part.Color = original end)
end
table.clear(Darkener.Originals)
end
function Darkener.Enable(level)
Darkener.Token += 1
local token = Darkener.Token
Darkener.Level = level or Darkener.Level
Darkener.Enabled = true
if Darkener.Connection then Darkener.Connection:Disconnect() end
Darkener.Connection = Workspace.DescendantAdded:Connect(function(inst)
if PART_CLASSES[inst.ClassName] then task.defer(Darkener.Paint, inst) end
end)
task.spawn(function()
local ok, found = pcall(function() return Workspace:GetDescendants() end)
if ok then sliced(found, Darkener.Paint, function() return token == Darkener.Token end) end
while token == Darkener.Token do -- parts of maps that are gone need not be remembered
task.wait(20)
if token == Darkener.Token then pruneDetached(Darkener.Originals) end
end
end)
end
function Darkener.SetLevel(level)
Darkener.Level = level
if not Darkener.Enabled then return end
local token = Darkener.Token
local parts = {}
for part in pairs(Darkener.Originals) do table.insert(parts, part) end
task.spawn(function()
sliced(parts, function(part)
local original = Darkener.Originals[part]
if original and part.Parent then
local hue, saturation, value = original:ToHSV()
part.Color = Color3.fromHSV(hue, saturation, value * darkFactor())
end
end, function() return token == Darkener.Token and Darkener.Enabled end)
end)
end
function Darkener.Disable()
Darkener.Token += 1
Darkener.Enabled = false
if Darkener.Connection then
Darkener.Connection:Disconnect()
Darkener.Connection = nil
end
Darkener.Restore()
end
-- ----------------------------------------------------------------------------------------------------------------------------- anti-lag
local AntiLag = {
Enabled = false,
Token = 0,
Flags = { Materials = true, Textures = true, Shadows = true, Particles = true, Effects = true },
Originals = {},
Connections = {},
Quality = nil,
}
Engine.AntiLag = AntiLag
local PARTICLE_CLASSES = { ParticleEmitter = true, Trail = true, Smoke = true, Fire = true, Sparkles = true }
local EFFECT_CLASSES = { BloomEffect = true, BlurEffect = true, ColorCorrectionEffect = true, DepthOfFieldEffect = true, SunRaysEffect = true }
local NONE = {} -- stored in place of nil (CustomPhysicalProperties is nil by default)
local function remember(inst, prop)
local saved = AntiLag.Originals[inst]
if not saved then
saved = {}
AntiLag.Originals[inst] = saved
end
if saved[prop] == nil then
local value = inst[prop]
if value == nil then value = NONE end
saved[prop] = value
end
end
local function hubOwned(inst)
return string.sub(inst.Name, 1, 6) == 'ZkxHub'
end
function AntiLag.Strip(inst)
local class = inst.ClassName
local flags = AntiLag.Flags
if PART_CLASSES[class] then
if not isMapObject(inst) then return end
if flags.Materials and inst.Material ~= Enum.Material.SmoothPlastic then
remember(inst, 'Material')
remember(inst, 'CustomPhysicalProperties')
-- friction / bounce stay what the material gave, only the look changes
if inst.CustomPhysicalProperties == nil then inst.CustomPhysicalProperties = PhysicalProperties.new(inst.Material) end
inst.Material = Enum.Material.SmoothPlastic
end
if flags.Shadows and inst.CastShadow then
remember(inst, 'CastShadow')
inst.CastShadow = false
end
elseif class == 'Decal' or class == 'Texture' then
if flags.Textures and inst.Transparency < 1 and isMapObject(inst) then
remember(inst, 'Transparency')
inst.Transparency = 1
end
elseif PARTICLE_CLASSES[class] then
if flags.Particles and inst.Enabled and isMapObject(inst) then
remember(inst, 'Enabled')
inst.Enabled = false
end
elseif EFFECT_CLASSES[class] then
if flags.Effects and inst.Enabled and not hubOwned(inst) then
remember(inst, 'Enabled')
inst.Enabled = false
end
end
end
function AntiLag.Restore()
for inst, props in pairs(AntiLag.Originals) do
for prop, value in pairs(props) do
if rawequal(value, NONE) then value = nil end
pcall(function() inst[prop] = value end)
end
end
table.clear(AntiLag.Originals)
end
function AntiLag.SetQuality(on)
local ok, rendering = pcall(function() return settings().Rendering end)
if not ok or not rendering then return false end
if on then
if AntiLag.Quality == nil then AntiLag.Quality = rendering.QualityLevel end
return pcall(function() rendering.QualityLevel = Enum.QualityLevel.Level01 end)
end
if AntiLag.Quality ~= nil then
local previous = AntiLag.Quality
AntiLag.Quality = nil
return pcall(function() rendering.QualityLevel = previous end)
end
return true
end
function AntiLag.Scan()
local token = AntiLag.Token
local list = {}
local ok, found = pcall(function() return Workspace:GetDescendants() end)
if ok then table.move(found, 1, #found, 1, list) end
local camera = Workspace.CurrentCamera
for _, holder in ipairs({ Lighting, camera }) do
if holder then
for _, child in ipairs(holder:GetChildren()) do table.insert(list, child) end
end
end
sliced(list, AntiLag.Strip, function() return token == AntiLag.Token and AntiLag.Enabled end)
end
function AntiLag.Enable(flags)
AntiLag.Token += 1
AntiLag.Enabled = true
if flags then AntiLag.Flags = flags end
disconnectAll(AntiLag.Connections)
local function watch(holder)
if holder then
table.insert(AntiLag.Connections, holder.DescendantAdded:Connect(function(inst)
if PART_CLASSES[inst.ClassName] or PARTICLE_CLASSES[inst.ClassName] or EFFECT_CLASSES[inst.ClassName] or inst.ClassName == 'Decal' or inst.ClassName == 'Texture' then
task.defer(AntiLag.Strip, inst)
end
end))
end
end
watch(Workspace)
watch(Lighting)
task.spawn(AntiLag.Scan)
local token = AntiLag.Token
task.spawn(function()
while token == AntiLag.Token and AntiLag.Enabled do -- objects of maps that are gone need not be remembered
task.wait(20)
if token == AntiLag.Token then pruneDetached(AntiLag.Originals) end
end
end)
end
-- a changed option list: put everything back, then strip again with the new list
function AntiLag.SetFlags(flags)
AntiLag.Flags = flags
if AntiLag.Enabled then
AntiLag.Token += 1
AntiLag.Restore()
task.spawn(AntiLag.Scan)
end
end
function AntiLag.Disable()
AntiLag.Token += 1
AntiLag.Enabled = false
disconnectAll(AntiLag.Connections)
AntiLag.Restore()
end
-- ------------------------------------------------------------------------------------------------------------------------------ no hands
-- Hides the arms of the first person view model (Workspace.ViewModels: LeftArm / RightArm, their ShirtTexture decals and the wrapped meshes; gloves and sleeves by
-- name). The game writes the arms' transparency every frame, so the hiding runs as the LAST render step. Weapons are never touched.
local NoHands = { Enabled = false, Originals = {}, Tracked = {}, Hooked = weakKeys(), Connections = {}, BindName = 'ZkxHubNoHands' }
Engine.NoHands = NoHands
local ARM_NAMES = { LeftArm = true, RightArm = true, LeftArmWrapped = true, RightArmWrapped = true }
local HAND_WORDS = { 'glove', 'sleeve', 'finger', 'wrist', 'palm', 'thumb' }
local KEEP_WORDS = { 'handle', 'firearm', 'gun', 'barrel', 'scope', 'sight', 'mag', 'blade', 'knife', 'grip', 'trigger', 'muzzle', 'bullet', 'slide' }
local function nameHas(name, words)
for _, word in ipairs(words) do
if string.find(name, word, 1, true) then return true end
end
return false
end
function NoHands.IsHandPart(inst)
if not PART_CLASSES[inst.ClassName] or string.sub(inst.Name, 1, 6) == 'ZkxHub' then return false end
if ARM_NAMES[inst.Name] then return true end
local name = string.lower(inst.Name)
if nameHas(name, KEEP_WORDS) then return false end
return nameHas(name, HAND_WORDS)
end
local function trackHand(inst)
if NoHands.Tracked[inst] then return end
NoHands.Tracked[inst] = true
NoHands.Originals[inst] = { Transparency = inst.Transparency, LocalTransparencyModifier = inst.LocalTransparencyModifier }
end
function NoHands.Consider(inst)
if not NoHands.Enabled then return end
local class = inst.ClassName
if PART_CLASSES[class] then
if NoHands.IsHandPart(inst) then
trackHand(inst)
for _, child in ipairs(inst:GetChildren()) do
if child.ClassName == 'Decal' or child.ClassName == 'Texture' then trackHand(child) end
end
end
elseif class == 'Decal' or class == 'Texture' then
local parent = inst.Parent
if parent and NoHands.Tracked[parent] then trackHand(inst) end
end
end
function NoHands.Step()
for inst in pairs(NoHands.Tracked) do
if inst.Parent == nil then
NoHands.Tracked[inst] = nil
NoHands.Originals[inst] = nil
else
pcall(function()
inst.Transparency = 1
inst.LocalTransparencyModifier = 1
end)
end
end
end
local function hookViewModels(folder)
if NoHands.Hooked[folder] then return end
NoHands.Hooked[folder] = true
table.insert(NoHands.Connections, folder.DescendantAdded:Connect(function(inst)
task.defer(NoHands.Consider, inst)
end))
for _, inst in ipairs(folder:GetDescendants()) do NoHands.Consider(inst) end
end
function NoHands.Enable()
if NoHands.Enabled then return end
NoHands.Enabled = true
local existing = Workspace:FindFirstChild('ViewModels')
if existing then hookViewModels(existing) end
table.insert(NoHands.Connections, Workspace.ChildAdded:Connect(function(child)
if child.Name == 'ViewModels' and NoHands.Enabled then hookViewModels(child) end
end))
pcall(function() RunService:UnbindFromRenderStep(NoHands.BindName) end)
RunService:BindToRenderStep(NoHands.BindName, Enum.RenderPriority.Last.Value, NoHands.Step)
end
function NoHands.Disable()
if not NoHands.Enabled then return end
NoHands.Enabled = false
pcall(function() RunService:UnbindFromRenderStep(NoHands.BindName) end)
disconnectAll(NoHands.Connections)
for inst, original in pairs(NoHands.Originals) do
pcall(function()
inst.Transparency = original.Transparency
inst.LocalTransparencyModifier = original.LocalTransparencyModifier
end)
end
table.clear(NoHands.Originals)
table.clear(NoHands.Tracked)
table.clear(NoHands.Hooked)
end
-- --------------------------------------------------------------------------------------------------------------------------------- unload
function Engine.Destroy()
Texture.Disable()
Darkener.Disable()
AntiLag.Disable()
AntiLag.SetQuality(false)
NoHands.Disable()
end
return Engine
end)()
TextureEngine.Packs = (function()
-- Texture packs: rules only (asset id -> replacement url). Generated by tools\make_texture_packs.py, do not edit by hand.
-- Minecraft: the rule table of pastebin.com/raw/Cb9ExUkB (files: 66buncer/Rivals-Pack-Assets + InventivetalentDev/minecraft-assets)
-- Fleasion: the rule table of fleasion-script (files: prism658/Resources-fleasion)
-- Fleasion: dropped mine.webp (webp) for ids 133917828562858, 121503061771505
return {
Minecraft = {
Rules = {
{ { 7658055825 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/item_slot_3_blue_hollow.png' },
{ { 17138490999 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/levelup.ogg' },
{ { 103035811146294 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/click.ogg' },
{ { 16810041280 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/villager/yes1.ogg' },
{ { 16810321565 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/villager/no1.ogg' },
{ { 16770456156, 16492958314 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/enderdragon/wings1.ogg' },
{ { 16537337310, 16537449730 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/orb.ogg' },
{ { 17826470563 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/note/pling.ogg' },
{ { 15109829804 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/headshot_silverfish_kill.ogg' },
{ { 18221725850, 18239670056, 18221726246 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/records/chirp.ogg' },
{ { 18239670367 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/zombie/say1.ogg' },
{ { 17026600996 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/anvil_land.ogg' },
{ { 16530229616 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/kill1_zombie_hurt.ogg' },
{ { 16530229541 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/kill2_ghast_death.ogg' },
{ { 16530229695 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/kill3_wither_death.ogg' },
{ { 99115398611290 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/note/pling.ogg' },
{ { 8483887957 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/chicken/say1.ogg' },
{ { 6384899588 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/music/menu/menu1.ogg' },
{ { 70643163489676 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/anvil_land.ogg' },
{ { 91547731028928 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/demote_anvil_break.ogg' },
{ { 138975587469438 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/levelup.ogg' },
{ { 17697682466, 17733314783 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/music/menu/menu2.ogg' },
{ { 177266782 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/wood_click.ogg' },
{ { 18525513345 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/note/bd.ogg' },
{ { 13110130082 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/successful_hit.ogg' },
{ { 17467242617 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/enderdragon/growl1.ogg' },
{ { 14812965418 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/molotov_idle_fire.ogg' },
{ { 14812827622 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/molotov_ignite.ogg' },
{ { 13455969017 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/rpg_explosion.ogg' },
{ { 16812389263 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/molotov_extinguish_fizz.ogg' },
{ { 114274252176516 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/portal_ambience.ogg' },
{ { 17259538274 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/note/pling.ogg' },
{ { 17769583566 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/pop.ogg' },
{ { 18221897857 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/wither/spawn.ogg' },
{ { 106551800007995 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/random/bow.ogg' },
{ { 114467311328776 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/mob/endermen/idle1.ogg' },
{ { 13160401062 }, 'https://66mods-assets.pages.dev/repos/InventivetalentDev/minecraft-assets/assets/minecraft/sounds/entity/player/attack/strong1.ogg' },
{ { 85163949920258 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/jumppad_place_slime.ogg' },
{ { 17835965985 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/jumppad_bounce_slime.ogg' },
{ { 82715240396507 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/crossbow_shoot1.ogg' },
{ { 112269321366473 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/crossbow_loading_start.ogg' },
{ { 76155503538875 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/crossbow_loading_end.ogg' },
{ { 13270206222, 13270206087 }, 'https://66mods-assets.pages.dev/repos/66buncer/Rivals-Pack-Assets/sniper_candidate_enderdragon_hit.ogg' },
{ { 13220167337 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/item_slot_1_grey.png' },
{ { 13188242420 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/item_slot_2_red.png' },
{ { 13220167472 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/item_slot_3_blue.png' },
{ { 13188153054 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/item_slot_4_green.png' },
{ { 13188242287 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/item_slot_5_gold.png' },
{ { 17803962335 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/welcome.png' },
{ { 81461991645938 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/lvl_eye_new.png' },
{ { 99135525400251 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/ender_eye.png' },
{ { 133793956251748 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/arch.png' },
{ { 116941545385923 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/nem.png' },
{ { 8276600102 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/heart_hp.png' },
{ { 126928245743331 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/killfeed_headshot_skull.png' },
{ { 17838290166, 17619444538, 108220438104376 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_x.png' },
{ { 17838317115 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_plus.png' },
{ { 17562685319 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_back_arrow.png' },
{ { 113844621753627 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_next_arrow.png' },
{ { 17229230506 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_lock.png' },
{ { 18175187129, 17495953455 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_key.png' },
{ { 14641612286, 17619445191 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_gear_settings.png' },
{ { 17175095665 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/icon_trophy.png' },
{ { 16802957270 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/bone.png' },
{ { 133917828562858, 121503061771505 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/egg.png' },
{ { 108088064658436 }, 'https://raw.githubusercontent.com/66buncer/Rivals-Pack-Assets/main/arenamine.png' },
},
},
Fleasion = {
Rules = {
{ { 7658055825 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/grods.png' },
{ { 17803962335 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/attachment.png' },
{ { 13854780213 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/logo.png' },
{ { 13854780042 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/heartleft.png' },
{ { 81461991645938 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/lvl.png' },
{ { 16802957270 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/heartbroken.png' },
{ { 99115398611290 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/icbtw.png' },
{ { 17175092502, 17094014569 }, 'rbxassetid://72106446453934' },
{ { 106623367501544, 131795064007344, 73543520622815 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/f.png' },
{ { 80716950169934 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/d-.png' },
{ { 136100661820261 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/d.png' },
{ { 107898816876115 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/d+.png' },
{ { 134520747948636 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/c-.png' },
{ { 114166096331502 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/c.png' },
{ { 90039594400813 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/c+.png' },
{ { 133903971285645 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/b-.png' },
{ { 82834564754747 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/b.png' },
{ { 73345783863790 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/b+.png' },
{ { 113997689031026 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/a-.png' },
{ { 88059506918419 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/a.png' },
{ { 112183171942172 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/a+.png' },
{ { 104871954739030 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/s.png' },
{ { 109012386782238 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/ss.png' },
{ { 127982903682334 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/u.png' },
{ { 133793956251748 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/top200xrank.png' },
{ { 116941545385923 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/nemx.png' },
{ { 17138490999 }, 'rbxassetid://1721952882' },
{ { 103035811146294 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/allclear.base.ogg' },
{ { 16810041280 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/allclear.base.ogg' },
{ { 16810321565 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/allclear.base.ogg' },
{ { 16770456156, 16492958314 }, 'rbxassetid://2428506580' },
{ { 16537337310, 16537449730 }, 'rbxassetid://70643163489676' },
{ { 17826470563 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/theeyellow.ogg' },
{ { 18221725850, 18239670056, 18221726246 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/winnerwinner.ogg' },
{ { 17026600996 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/showscore.base.ogg' },
{ { 16530229616 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/kill1.ogg' },
{ { 16530229541 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/kill2.ogg' },
{ { 16530229695 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/kill3.ogg' },
{ { 8483887957 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/clearspin.base.ogg' },
{ { 6384899588 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/lego-build.mp3' },
{ { 16737738420 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/Sliding.mp3' },
{ { 70643163489676 }, 'rbxassetid://17405655409' },
{ { 91547731028928 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/studio-audience-awwww-sound-fx.mp3' },
{ { 138975587469438 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/final-fantasy-vii-victory-fanfare-1.mp3' },
{ { 17697682466, 17733314783 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/kuchu-toshi.mp3' },
{ { 177266782 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/menuclick.base.ogg' },
{ { 18525513345 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/achievement_3.base.ogg' },
{ { 13110130082 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/target.base.ogg' },
{ { 17467242617 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/bluer.ogg' },
{ { 17016581922 }, 'https://raw.githubusercontent.com/prism658/Resources-fleasion/main/elimin.mp3' },
},
},
}
end)()
TextureEngine.Packs.Determination = (function()
-- Determination pack: rules only (asset id -> replacement). Generated by tools\make_determination_pack.py, do not edit by hand.
-- Source: the rule table of `Determination Texture Pack.txt` (Magic Redux / DETERMINATION; files: prism658/undertale-txtpack).
-- '' blanks the asset (ambience removed); Fonts = pixel fonts that replace the game's UI font families.
-- Font family 12187365977 was added to the pixel font rule: it is the family the Rivals UI uses (3,523 of 3,528 text objects, checked 2026-11-02 in the live
-- client); the pack's own 11 ids no longer appear anywhere, so without it the font would never change.
-- Syne Mono font: dropped SyneMono-Regular.ttf (HTTP Error 404: Not Found) for ids 127338559130032, 16294586406, 75156669118637, 93477262732302
-- Bronze 3: ids 106623367501544, 131795064007344 belong to a later rule
-- Bronze 3: dropped f.png (HTTP Error 404: Not Found) for ids 73543520622815
return {
Rules = {
{ { 6384899588 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/AUDIO_APPEARANCE.wav' },
{ { 8483887957 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_weaponpull.wav' },
{ { 16537337310, 16537449730 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_break1.wav' },
{ { 17016581922 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/break2.ogg' },
{ { 16810321565 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_closet_impact.ogg' },
{ { 16770456156 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/mus_sfx_a_lithit.wav' },
{ { 177266782 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_select.wav' },
{ { 16492958314 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_scytheburst.wav' },
{ { 103035811146294 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_b.wav' },
{ { 16810041280 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/mus_sfx_abreak.wav' },
{ { 16530229695, 16530229541, 16530229616 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/mus_sfx_gigapunch.wav' },
{ { 17138490999 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/heal.ogg' },
{ { 18525513345 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_dimbox.wav' },
{ { 13110130082 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_credit_s.wav' },
{ { 17153811469 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_breakc.wav' },
{ { 17826470563 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Finale.ogg' },
{ { 17026600996 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_heavydamage.wav' },
{ { 17467242617 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/sdfinal.ogg' },
{ { 18221725850, 18239670056, 18221726246 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/snd_dumbvictory.wav' },
{ { 17697682466, 17733314783 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Hotel.mp3' },
{ { 7658055825 }, 'rbxassetid://6372755229' },
{ { 17813065011, 17813065464, 12099785239 }, '' },
{ { 2108482005, 14147881792, 135908632589654, 84214501374682, 10196550937, 12261809766, 2108545280, 10196550667, 14147882149, 103020541883227, 89972436184102, 12261813110, 14147883091, 2108482395, 10196550128, 14147882405, 2108482542, 10196549902, 14147881297, 72960281658487, 92138082970751, 2108482676, 10196567794, 12261813678, 14147882761, 10196550367, 2108482231 }, 'rbxassetid://7658055825' },
{ { 133917828562858, 121503061771505 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/58a20c59c8dd3432c6fa8221.png' },
{ { 133793956251748 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Archnemisis_heart_1.png' },
{ { 116941545385923 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Nemisis_heart_1.png' },
{ { 80716950169934 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Silver_1_heart.png' },
{ { 136100661820261 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/silver_2_heart.png' },
{ { 107898816876115 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/silver_3_heart.png' },
{ { 134520747948636 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Gold_1_heart.png' },
{ { 114166096331502 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Gold_2_heart.png' },
{ { 90039594400813 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Gold_3_heart.png' },
{ { 133903971285645 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Plat_1_heart.png' },
{ { 82834564754747 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Plat_2_heart.png' },
{ { 73345783863790 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Plat_3_heart.png' },
{ { 113997689031026 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Diam_1_heart.png' },
{ { 88059506918419 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Diam_2_heart.png' },
{ { 112183171942172 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Diam_3_heart.png' },
{ { 104871954739030 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Onyx_1_heart.png' },
{ { 109012386782238 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Onyx_2_heart.png' },
{ { 127982903682334 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/Onyx_3_heart.png' },
{ { 106623367501544 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/bronze_1_heart_fixed_2_times.png' },
{ { 131795064007344 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/bronze_2_heart.png' },
{ { 17175092502, 17094014569 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/streak.png' },
{ { 111599878354131 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/unranked_heart.png' },
{ { 13854780042 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/heartleft.png' },
{ { 13854780213 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/heartright.png' },
{ { 17803962335 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/undlogo.png' },
{ { 16802957270 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/heartbroken.png' },
{ { 81461991645938 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/lvl.png' },
{ { 13188153054, 13188242420, 13220167472, 13220167337 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/lvl.png' },
},
Fonts = {
{ { 12187323909, 12187320363, 12187354260, 12187342816, 12187280273, 12187303601, 12187262242, 12187288714, 12187341500, 12187271237, 12187341020, 12187365977 }, 'https://raw.githubusercontent.com/prism658/undertale-txtpack/main/PixelOperator-Bold.ttf' },
},
}
end)()
-- World tab: Texture Changer (left), Map Darkener and Anti-Lag (right). The engine above does the work; this part is only menu and glue.
RivalsRuntimeBridge.TextureEngine = TextureEngine
local TX_KINDS = { 'UI Images', 'Sounds', 'World Textures', 'Fonts' }
local TX_STRIP = { 'Smooth Materials', 'Map Textures', 'Part Shadows', 'Particles & Trails', 'Post Effects' }
local function pickedValues(id)
local option = Options[id]
return option and option.Value or {}
end
-- Texture Changer ------------------------------------------------------------------------------------------------------
local textureStatus
local function syncTexture()
if Toggles.TXEnabled and Toggles.TXEnabled.Value == true then
TextureEngine.Texture.SetKinds(pickedValues('TXKinds'), true)
TextureEngine.Texture.Enable((Options.TXPack and Options.TXPack.Value) or 'Minecraft')
else
TextureEngine.Texture.Disable()
end
end
local function syncNoHands()
if Toggles.TXNoHands and Toggles.TXNoHands.Value == true then
TextureEngine.NoHands.Enable()
else
TextureEngine.NoHands.Disable()
end
end
TextureEngine.OnStatus = function(text)
if textureStatus then textureStatus:SetText(text) end
end
local TextureGroup = WorldTab:AddLeftGroupbox('Texture Changer')
TextureGroup:AddToggle('TXEnabled', {
Text = 'Texture Changer',
Default = false,
Tooltip = 'Swaps the Rivals icons, sounds, fonts and map texture for a texture pack. A pack downloads once (into ZkxHub/textures) and loads from disk after that. Off puts the original assets back.',
Callback = GuardRivalsCallback('TextureChanger_Toggle', syncTexture),
})
local TextureBox = TextureGroup:AddDependencyBox()
TextureBox:AddDropdown('TXPack', {
Values = { 'Minecraft', 'Fleasion', 'Determination' },
Default = 'Minecraft',
Multi = false,
AllowNull = false,
Text = 'Pack',
Tooltip = 'Minecraft: block icons, Minecraft sounds and the hollow slot frame. Fleasion: custom rank icons, new sounds and a custom map grid. Determination: Undertale hearts for the ranks, retro sounds, a pixel font and a new sky, with the ambience removed (about 4 MB, downloaded once). Only one pack runs at a time.',
Callback = GuardRivalsCallback('TextureChanger_Pack', function()
if Toggles.TXEnabled and Toggles.TXEnabled.Value == true then syncTexture() end
end),
})
TextureBox:AddDropdown('TXKinds', {
Values = TX_KINDS,
Default = TX_KINDS,
Multi = true,
AllowNull = true,
Text = 'Replace',
Tooltip = 'UI Images: icons and menu pictures. Sounds: hit, kill and menu sounds. World Textures: decals, mesh textures such as the map grid, and the sky. Fonts: the pixel font of the Determination pack (no other pack has one).',
Callback = GuardRivalsCallback('TextureChanger_Kinds', function(value)
TextureEngine.Texture.SetKinds(value or {})
end),
})
textureStatus = TextureBox:AddLabel('Pack: off', true)
TextureBox:AddButton({
Text = 'Redownload Pack',
DoubleClick = true,
Tooltip = 'Deletes the downloaded files of the selected pack and fetches them again. Use it when an icon or a sound looks broken.',
Func = GuardRivalsCallback('TextureChanger_Redownload', function()
local name = (Options.TXPack and Options.TXPack.Value) or 'Minecraft'
TextureEngine.Texture.Disable()
local removed = TextureEngine.Texture.ClearCache(name)
Library:Notify({ Title = 'Texture Changer', Description = string.format('Removed %d cached file(s) of the %s pack.', removed, name), Time = 4 })
if Toggles.TXEnabled and Toggles.TXEnabled.Value == true then syncTexture() end
end),
})
TextureBox:SetupDependencies({ { Toggles.TXEnabled, true } })
-- the No Hands switch itself sits in Client Effects > Model Chams (build_vader.py patch_client_effects, id TXNoHands); the engine is here. That tab is built
-- first, so a switch restored as on is applied now, whichever of the two ran first.
RivalsRuntimeBridge.SyncNoHands = syncNoHands
syncNoHands()
-- Map Darkener -----------------------------------------------------------------------------------------------------------
local function syncDarkener()
if Toggles.TXDarkener and Toggles.TXDarkener.Value == true then
TextureEngine.Darkener.Enable((Options.TXDarkLevel and Options.TXDarkLevel.Value) or 6)
else
TextureEngine.Darkener.Disable()
end
end
local DarkGroup = WorldTab:AddRightGroupbox('Map Darkener')
DarkGroup:AddToggle('TXDarkener', {
Text = 'Map Darkener',
Default = false,
Tooltip = 'Darkens the map pieces so players and your weapon stand out. Only the map changes: characters, view models and the hub are left alone. Off puts every colour back.',
Callback = GuardRivalsCallback('MapDarkener_Toggle', syncDarkener),
})
local DarkBox = DarkGroup:AddDependencyBox()
DarkBox:AddSlider('TXDarkLevel', {
Text = 'Darkness',
Default = 6,
Min = 1,
Max = 10,
Rounding = 0,
Compact = true,
Tooltip = '1 = a little darker, 10 = nearly black.',
Callback = GuardRivalsCallback('MapDarkener_Level', function(value)
TextureEngine.Darkener.SetLevel(value)
end),
})
DarkBox:SetupDependencies({ { Toggles.TXDarkener, true } })
-- Anti-Lag ---------------------------------------------------------------------------------------------------------------
local function lagFlags()
local picked = pickedValues('TXLagStrip')
return {
Materials = picked['Smooth Materials'] == true,
Textures = picked['Map Textures'] == true,
Shadows = picked['Part Shadows'] == true,
Particles = picked['Particles & Trails'] == true,
Effects = picked['Post Effects'] == true,
}
end
local function syncLag()
local on = Toggles.TXAntiLag ~= nil and Toggles.TXAntiLag.Value == true
if on then
TextureEngine.AntiLag.Enable(lagFlags())
else
TextureEngine.AntiLag.Disable()
end
TextureEngine.AntiLag.SetQuality(on and Toggles.TXLagQuality ~= nil and Toggles.TXLagQuality.Value == true)
end
local LagGroup = WorldTab:AddRightGroupbox('Anti-Lag')
LagGroup:AddToggle('TXAntiLag', {
Text = 'Anti-Lag',
Default = false,
Tooltip = 'Makes the map cheaper to draw. Players, your weapon and the hub are not touched and everything is put back when it is switched off. Visual only: the game still plays the same.',
Callback = GuardRivalsCallback('AntiLag_Toggle', syncLag),
})
local LagBox = LagGroup:AddDependencyBox()
LagBox:AddDropdown('TXLagStrip', {
Values = TX_STRIP,
Default = TX_STRIP,
Multi = true,
AllowNull = true,
Text = 'Strip',
Tooltip = 'Smooth Materials: flat plastic look (friction stays). Map Textures: decals and stains. Part Shadows: parts stop casting shadows. Particles & Trails: dust, smoke and fire. Post Effects: bloom, blur, colour correction, depth of field, sun rays.',
Callback = GuardRivalsCallback('AntiLag_Strip', function()
if Toggles.TXAntiLag and Toggles.TXAntiLag.Value == true then TextureEngine.AntiLag.SetFlags(lagFlags()) end
end),
})
LagBox:AddToggle('TXLagQuality', {
Text = 'Lowest Graphics Quality',
Default = false,
Tooltip = 'Also sets the Roblox graphics level to 1 while Anti-Lag is on and restores your level afterwards.',
Callback = GuardRivalsCallback('AntiLag_Quality', function()
TextureEngine.AntiLag.SetQuality(Toggles.TXAntiLag ~= nil and Toggles.TXAntiLag.Value == true and Toggles.TXLagQuality.Value == true)
end),
})
LagBox:SetupDependencies({ { Toggles.TXAntiLag, true } })
Library:OnUnload(GuardRivalsCallback('TextureChanger_Unload', function()
TextureEngine.Destroy()
end))
-- World tab: Rivals Settings (right column). The game's own options (SettingsLibrary.Info) set through PlayerDataController:SetSetting at identity 2
-- (executor threads cannot require the game's modules). Local only: nothing is sent to the server by the hub, and switching it off puts every option back.
-- Checked 2026-11-02 in the live client: the game reacts (Lighting.GlobalShadows follows 'Shadows Disabled'), and the restore is exact.
-- (The FFlags section that used to sit beside it was removed on request: Potassium's setfflag does not change the engine's flags.)
do
-- his own export of the game's options (the file named "Rivals FFlags") shows these ones matter for clarity / performance; hotkeys, crosshair and volumes stay yours
local RIVALS_PRESET = {
{ Name = 'Camera FOV 120', Setting = 'Camera FOV', Value = 120 },
{ Name = 'No Camera Shake', Setting = 'Camera Shake', Value = false },
{ Name = 'No FOV Effects', Setting = 'Camera FOV Effects', Value = false },
{ Name = 'Hide Muzzle Flashes (Aiming)', Setting = 'Aiming Hides Muzzle Flashes', Value = true },
{ Name = 'Shadows Disabled', Setting = 'Shadows Disabled', Value = true },
}
local presetNames = {}
for _, entry in ipairs(RIVALS_PRESET) do table.insert(presetNames, entry.Name) end
local SettingsGroup = WorldTab:AddRightGroupbox('Rivals Settings')
local settingsStatus
local saved = {} -- setting name -> value it had before the preset
local Settings = { Saved = saved }
RivalsRuntimeBridge.SettingsPreset = Settings
local function atGameIdentity(fn)
local getId, setId = getthreadidentity, setthreadidentity or setidentity
local old = getId and getId() or nil
if setId then pcall(setId, 2) end
local ok, a, b = pcall(fn)
if setId and old then pcall(setId, old) end
return ok, a, b
end
local function controller()
local ok, module = pcall(function()
return require(game:GetService('Players').LocalPlayer.PlayerScripts.Controllers.PlayerDataController)
end)
return ok and module or nil
end
function Settings.Get(name)
local data = controller()
if not data then return nil, false end
local ok, value = atGameIdentity(function() return data:GetSetting(name) end)
return value, ok
end
function Settings.Set(name, value)
local data = controller()
if not data then return false end
return (atGameIdentity(function() data:SetSetting(name, value) end))
end
function Settings.Restore()
local count = 0
for name, value in pairs(saved) do
if Settings.Set(name, value) then count += 1 end
end
table.clear(saved)
return count
end
-- apply exactly the picked entries, put back the ones that are no longer picked
function Settings.Sync(on, picked)
if not on then return Settings.Restore() end
local wanted = {}
for _, entry in ipairs(RIVALS_PRESET) do
if picked[entry.Name] == true then wanted[entry.Setting] = entry.Value end
end
for name, value in pairs(saved) do
if wanted[name] == nil and Settings.Set(name, value) then saved[name] = nil end
end
local done = 0
for name, value in pairs(wanted) do
local current, ok = Settings.Get(name)
if ok then
if saved[name] == nil then saved[name] = current end
if current == value or Settings.Set(name, value) then done += 1 end
end
end
return done
end
local function syncSettings()
local on = Toggles.RSPreset ~= nil and Toggles.RSPreset.Value == true
local picked = Options.RSEntries and Options.RSEntries.Value or {}
local count = Settings.Sync(on, picked)
if settingsStatus then settingsStatus:SetText(on and string.format('%d setting(s) applied', count) or 'Off: your own settings') end
end
SettingsGroup:AddToggle('RSPreset', {
Text = 'Rivals Settings Preset',
Default = false,
Tooltip = 'Sets the picked game options for this session through the game\'s own settings (nothing is sent to the server by the hub). Off puts every option back to what it was.',
Callback = GuardRivalsCallback('RivalsSettings_Toggle', syncSettings),
})
local SettingsBox = SettingsGroup:AddDependencyBox()
SettingsBox:AddDropdown('RSEntries', {
Values = presetNames,
Default = presetNames,
Multi = true,
AllowNull = true,
Text = 'Options',
Tooltip = 'Camera FOV 120 is the game maximum. Shadows Disabled: turning it off again needs a game restart (the game says so).',
Callback = GuardRivalsCallback('RivalsSettings_Entries', function()
if Toggles.RSPreset and Toggles.RSPreset.Value == true then syncSettings() end
end),
})
settingsStatus = SettingsBox:AddLabel('Off: your own settings', true)
SettingsBox:SetupDependencies({ { Toggles.RSPreset, true } })
Library:OnUnload(GuardRivalsCallback('RivalsSettings_Unload', function()
Settings.Restore()
end))
end
end
do
-- Watermark: the Rivals lookups for the Map and Server details (the library only knows the generic ones)
if Library.SetWatermarkProvider then
local Players = cloneref(game:GetService('Players'))
local World = cloneref(workspace)
local function text(value)
if type(value) == 'string' and value ~= '' then return value end
return nil
end
-- the name of the map of the match you are in; the lobby and the shooting range have none
local function resolveMap()
local player = Players.LocalPlayer
local scripts = player and player:FindFirstChild('PlayerScripts')
local controllers = scripts and scripts:FindFirstChild('Controllers')
local module = controllers and controllers:FindFirstChild('DuelController')
local controller = module and RivalsRuntimeBridge.RequireGameModule(module, 'DuelController')
local duel = type(controller) == 'table' and controller.CurrentObject or nil
if duel then
if type(duel.GetMapName) == 'function' then
local ok, name = pcall(duel.GetMapName, duel)
if ok and text(name) then return name end
end
if type(duel.Get) == 'function' then
for _, key in ipairs({ 'MapName', 'Map' }) do
local ok, name = pcall(duel.Get, duel, key)
if ok and text(name) then return name end
end
end
return text(duel.MapName) or text(duel.Map) or 'Match'
end
for _, attribute in ipairs({ 'MapName', 'MatchMap' }) do
local name = text(World:GetAttribute(attribute))
if name then return name end
end
return 'Lobby'
end
-- the region of the server: the game keeps it as a workspace attribute and shows it in the top bar
local function resolveServer()
local region = text(World:GetAttribute('ServerRegion'))
if region then return region end
local player = Players.LocalPlayer
local node = player and player:FindFirstChildOfClass('PlayerGui')
for _, name in ipairs({ 'InsetGui', 'MainFrame', 'Container', 'RightButtons', 'Details', 'Container', 'ServerRegion', 'Title' }) do
node = node and node:FindFirstChild(name)
end
return node and text(node.Text) or nil
end
Library:SetWatermarkProvider('Map', resolveMap, 2)
Library:SetWatermarkProvider('Server', resolveServer, 5)
end
end
RivalsRuntimeBridge.Extras.BuildVisualsUi(CrosshairTab)
end
-- ======================================================================
-- Menu: ragebot (ZHub)
-- ======================================================================
BuildRivalsRagebotUi = function(Window)
local ZHubRage = RequireSharedModule('ZHub_ragebot')
local ZHub = { ProfileDefaults = {}, Pushers = {}, LastActive = nil, Started = false, Rage = ZHubRage }
RivalsRuntimeBridge.ZHub = ZHub
-- Every control registers a push function (UI value -> ragebot setting) and a default for the profile files.
local function Register(id, kind, default, push)
ZHub.ProfileDefaults[#ZHub.ProfileDefaults + 1] = { idx = id, type = kind, value = default }
ZHub.Pushers[id] = push
end
local function AddZHubToggle(box, id, text, default, tooltip, path)
local function push()
local obj = Toggles[id]
if obj then ZHubRage.Set(path, obj.Value == true) end
end
Register(id, 'Toggle', default, push)
return box:AddToggle(id, {
Text = text,
Default = default,
Tooltip = tooltip,
Callback = GuardRivalsCallback('ZHubRagebot_' .. id, push),
})
end
local function AddZHubSlider(box, id, text, default, min, max, rounding, tooltip, path, suffix)
local function push()
local obj = Options[id]
if obj and type(obj.Value) == 'number' then ZHubRage.Set(path, obj.Value) end
end
Register(id, 'Slider', default, push)
return box:AddSlider(id, {
Text = text,
Default = default,
Min = min,
Max = max,
Rounding = rounding,
Suffix = suffix or '',
Compact = true,
Tooltip = tooltip,
Callback = GuardRivalsCallback('ZHubRagebot_' .. id, push),
})
end
local function AddZHubDropdown(box, id, text, values, default, tooltip, path, map)
local function push()
local obj = Options[id]
if obj and obj.Value ~= nil then ZHubRage.Set(path, map and map[obj.Value] or obj.Value) end
end
Register(id, 'Dropdown', default, push)
return box:AddDropdown(id, {
Values = values,
Default = default,
Multi = false,
Text = text,
Tooltip = tooltip,
Callback = GuardRivalsCallback('ZHubRagebot_' .. id, push),
})
end
-- Min/Max pair (the original menu has a range slider): two sliders pushed as one sorted range.
local function AddZHubRange(box, idMin, idMax, text, defaultMin, defaultMax, min, max, rounding, tooltip, path)
local function push()
local lo, hi = Options[idMin], Options[idMax]
if lo and hi and type(lo.Value) == 'number' and type(hi.Value) == 'number' then
ZHubRage.Set({ path[1], path[2], path[3], path[4], 'Min' }, math.min(lo.Value, hi.Value))
ZHubRage.Set({ path[1], path[2], path[3], path[4], 'Max' }, math.max(lo.Value, hi.Value))
end
end
Register(idMin, 'Slider', defaultMin, push)
Register(idMax, 'Slider', defaultMax, push)
local callback = GuardRivalsCallback('ZHubRagebot_' .. idMin, push)
box:AddSlider(idMin, {
Text = text .. ' (min)',
Default = defaultMin,
Min = min,
Max = max,
Rounding = rounding,
Compact = true,
Tooltip = tooltip,
Callback = callback,
})
box:AddSlider(idMax, {
Text = text .. ' (max)',
Default = defaultMax,
Min = min,
Max = max,
Rounding = rounding,
Compact = true,
Tooltip = tooltip,
Callback = callback,
})
end
local MODE_MAP = {
['Off'] = 'Off',
['Random'] = 'Random',
['Translocate'] = 'Translocate',
['Projectile Breaker'] = 'ProjectileBreaker',
}
local ON_EMPTY_MAP = {
['Reload'] = 'Reload',
['Swap'] = 'Swap',
['Swap or Reload'] = 'SwapOrReload',
}
local PRIORITY_MAP = {
['Primary > Secondary > Melee'] = { 'Primary', 'Secondary', 'Melee' },
['Primary > Melee > Secondary'] = { 'Primary', 'Melee', 'Secondary' },
['Secondary > Primary > Melee'] = { 'Secondary', 'Primary', 'Melee' },
['Secondary > Melee > Primary'] = { 'Secondary', 'Melee', 'Primary' },
['Melee > Primary > Secondary'] = { 'Melee', 'Primary', 'Secondary' },
['Melee > Secondary > Primary'] = { 'Melee', 'Secondary', 'Primary' },
}
local PRIORITY_VALUES = {
'Primary > Secondary > Melee',
'Primary > Melee > Secondary',
'Secondary > Primary > Melee',
'Secondary > Melee > Primary',
'Melee > Primary > Secondary',
'Melee > Secondary > Primary',
}
-- Enabled = toggle AND key state (Always / Toggle / Hold come from the key picker next to the toggle).
-- The ragebot hooks the game only once it is first switched on.
local function ComputeActive()
local toggle = Toggles.KR_Enabled
if not (toggle and toggle.Value == true) then return false end
local picker = Options.KR_EnabledK
if picker and type(picker.GetState) == 'function' then return picker:GetState() == true end
return true
end
local function SyncEnabled(force)
local active = ComputeActive()
if active and not ZHub.Started then
ZHub.Started = true
ZHubRage.Start()
end
if force or active ~= ZHub.LastActive then
ZHub.LastActive = active
ZHubRage.SetEnabled(active)
end
end
-- The hub's own Cheater Detector feeds Prioritize Hackers (the ragebot also tags by its own rules).
local function FeedHackers()
local tags = ZHubRage.Tags
local detector = RivalsRuntimeBridge.CheaterDetector
if not (tags and detector and detector.Flagged) then return end
for player in pairs(detector.Flagged) do
if player.Parent ~= nil then tags:Add(player, 'Hacker') end
end
end
function ZHub.PushAll()
for _, push in pairs(ZHub.Pushers) do
pcall(push)
end
end
RivalsRuntimeBridge.ZHubRagebotActive = function() return ZHub.LastActive == true end
RivalsRuntimeBridge.ZHubRagebotSync = function()
SyncEnabled(false)
FeedHackers()
end
RivalsRuntimeBridge.ZHubRagebotDestroy = function()
ZHub.LastActive = false
pcall(ZHubRage.Unload)
end
-- its own icon (Combat already has the crosshair): skull when the icon registry has it, the built-in axe otherwise
local RagebotIcon = (Library.GetCustomIcon and Library:GetCustomIcon('skull')) and 'skull' or 'axe'
local Tab = Window:AddTab('Ragebot', RagebotIcon)
ZHub.Tab = Tab
local Activation = Tab:AddLeftGroupbox('Ragebot')
local EnableToggle = Activation:AddToggle('KR_Enabled', {
Text = 'Enable Ragebot',
Default = false,
Tooltip = 'Master switch. The key next to it sets how it turns on: Always, Toggle or Hold. The ragebot only starts hooking the game the first time it is switched on.',
Callback = GuardRivalsCallback('ZHubRagebot_Enabled', function() SyncEnabled(false) end),
})
EnableToggle:AddKeyPicker('KR_EnabledK', { Default = 'Unknown', Mode = 'Always', Text = 'Ragebot', NoUI = false })
Register('KR_Enabled', 'Toggle', false, function() SyncEnabled(true) end)
ZHub.ProfileDefaults[#ZHub.ProfileDefaults + 1] =
{ idx = 'KR_EnabledK', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} }
AddZHubToggle(
Activation,
'KR_Hackers',
'Prioritize Hackers',
false,
'Targets players flagged as hackers first. Flags come from the ragebot (camera pitch past a full turn, or over 200 studs/s for a quarter second) and from the Cheater Detector when it is on.',
{ 'Ragebot', 'PrioritizeHackers' }
)
AddZHubSlider(
Activation,
'KR_Stability',
'Stability',
0.15,
0,
1.5,
3,
'How many seconds before an enemy is expected back inside the 4,194,304 stud limit that shots are allowed. Higher fires earlier.',
{ 'Ragebot', 'Stability' },
' s'
)
AddZHubSlider(
Activation,
'KR_ShootFrames',
'Shoot Frames',
1,
1,
5,
0,
'How many frames the fire lock stays open after a shot is allowed.',
{ 'Ragebot', 'ShootFrames' }
)
Activation:AddLabel('Only one ragebot runs at a time. The original teleport ragebot is in the right column; switching one on turns the other one\'s features off.', true)
local StatusLabel = Activation:AddLabel('Status: not started', true)
task.spawn(function()
while not Library.Unloaded do
pcall(function() StatusLabel:SetText('Status: ' .. tostring(ZHubRage.Status)) end)
task.wait(0.5)
end
end)
local Weapons = Tab:AddLeftGroupbox('Weapon Strategy')
AddZHubToggle(
Weapons,
'KR_WPrimary',
'Primary Enabled',
true,
'Allow the primary slot.',
{ 'Ragebot', 'Weapons', 'Enabled', 'Primary' }
)
AddZHubToggle(
Weapons,
'KR_WSecondary',
'Secondary Enabled',
true,
'Allow the secondary slot.',
{ 'Ragebot', 'Weapons', 'Enabled', 'Secondary' }
)
AddZHubToggle(
Weapons,
'KR_WMelee',
'Melee Enabled',
true,
'Allow the melee slot.',
{ 'Ragebot', 'Weapons', 'Enabled', 'Melee' }
)
do
local function push()
local obj = Options.KR_Priority
if obj and PRIORITY_MAP[obj.Value] then
ZHubRage.Set({ 'Ragebot', 'Weapons', 'Priority' }, table.clone(PRIORITY_MAP[obj.Value]))
end
end
Register('KR_Priority', 'Dropdown', PRIORITY_VALUES[1], push)
Weapons:AddDropdown('KR_Priority', {
Values = PRIORITY_VALUES,
Default = PRIORITY_VALUES[1],
Multi = false,
Text = 'Weapon Priority',
Tooltip = 'Preferred slot first.',
Callback = GuardRivalsCallback('ZHubRagebot_Priority', push),
})
end
AddZHubDropdown(
Weapons,
'KR_OnEmpty',
'On Empty',
{ 'Reload', 'Swap', 'Swap or Reload' },
'Swap or Reload',
'Reload: reload the empty gun in place. Swap: switch to another weapon, never reload. Swap or Reload: swap first, reload only when nothing else is usable.',
{ 'Ragebot', 'Weapons', 'OnEmpty' },
ON_EMPTY_MAP
)
local Evasion = Tab:AddLeftGroupbox('Evasion')
AddZHubDropdown(
Evasion,
'KR_Mode',
'Evasion Mode',
{ 'Off', 'Random', 'Translocate', 'Projectile Breaker' },
'Random',
'Where your server-side position is parked. Translocate parks you and never shoots.',
{ 'Ragebot', 'Evasion', 'Mode' },
MODE_MAP
)
local RandomBox = Evasion:AddDependencyBox()
AddZHubToggle(
RandomBox,
'KR_RandAnchor',
'Character Origin',
false,
'Centre the ring on your character instead of the origin.',
{ 'Ragebot', 'Evasion', 'Random', 'AnchorFromCharacter' }
)
AddZHubSlider(
RandomBox,
'KR_RandRadius',
'Base Radius',
100,
5,
100000000,
0,
'Ring radius. Right-click the slider to type a value.',
{ 'Ragebot', 'Evasion', 'Random', 'BaseRadius' }
)
AddZHubSlider(
RandomBox,
'KR_RandFactor',
'Random Factor',
0.5,
0,
1,
1,
'The radius is picked between Base and Base x (1 + factor).',
{ 'Ragebot', 'Evasion', 'Random', 'RadiusRandomFactor' }
)
RandomBox:SetupDependencies({ { Options.KR_Mode, 'Random' } })
local TranslocateBox = Evasion:AddDependencyBox()
AddZHubSlider(
TranslocateBox,
'KR_TransOffset',
'Offset',
-5,
-5,
5,
1,
'Vertical offset from the bottom of the out-of-bounds volume.',
{ 'Ragebot', 'Evasion', 'Translocate', 'Offset' }
)
TranslocateBox:SetupDependencies({ { Options.KR_Mode, 'Translocate' } })
local BreakerBox = Evasion:AddDependencyBox()
local PB = { 'Ragebot', 'Evasion', 'ProjectileBreaker' }
AddZHubRange(
BreakerBox,
'KR_PBFwdMin',
'KR_PBFwdMax',
'Forward Depth',
0,
4,
0,
10,
1,
'Range of the forward offset into the surface.',
{ PB[1], PB[2], PB[3], 'DepthForward' }
)
AddZHubSlider(
BreakerBox,
'KR_PBFwdFreq',
'Forward Frequency',
5,
0,
20,
1,
'Speed of the forward offset sweep.',
{ PB[1], PB[2], PB[3], 'DepthForwardFrequency' }
)
AddZHubRange(
BreakerBox,
'KR_PBUpMin',
'KR_PBUpMax',
'Upward Depth',
0,
5.5,
0,
10,
1,
'Range of the downward offset into the surface.',
{ PB[1], PB[2], PB[3], 'DepthUp' }
)
AddZHubSlider(
BreakerBox,
'KR_PBUpFreq',
'Upward Frequency',
5,
0,
20,
1,
'Speed of the vertical offset sweep.',
{ PB[1], PB[2], PB[3], 'DepthUpFrequency' }
)
AddZHubSlider(
BreakerBox,
'KR_PBInterval',
'Reposition Interval',
0.3,
0.05,
2,
2,
'How often a new surface is picked.',
{ PB[1], PB[2], PB[3], 'RepositionInterval' },
' s'
)
AddZHubToggle(
BreakerBox,
'KR_PBFallAnchor',
'Fallback Character Origin',
false,
'Fallback ring centred on your character instead of the origin.',
{ PB[1], PB[2], PB[3], 'FallbackAnchorFromCharacter' }
)
AddZHubSlider(
BreakerBox,
'KR_PBFallRadius',
'Fallback Radius',
100,
5,
100000000,
0,
'Ring radius used when no surface is available. Right-click to type a value.',
{ PB[1], PB[2], PB[3], 'FallbackBaseRadius' }
)
AddZHubSlider(
BreakerBox,
'KR_PBFallFactor',
'Fallback Random Factor',
0.5,
0,
1,
1,
'Radius spread of the fallback ring.',
{ PB[1], PB[2], PB[3], 'FallbackRadiusRandomFactor' }
)
BreakerBox:SetupDependencies({ { Options.KR_Mode, 'Projectile Breaker' } })
end
-- ======================================================================
-- Menu: classic ragebot
-- ======================================================================
RivalsRuntimeBridge.BuildClassicRagebotUi = function(Window)
-- The original teleport ragebot, kept next to the new one in the same Ragebot tab: the new one fills the left column, this one the right.
-- Its four setting groups are the tabs of one box (the old 'Sections' dropdown is gone).
-- Same control ids as before (P8S4T1, P8S4T1K, RB*), so configs saved with the old ragebot still load.
local Tab = RivalsRuntimeBridge.ZHub and RivalsRuntimeBridge.ZHub.Tab
if not Tab then Tab = Window:AddTab('Old Ragebot', 'axe') end
local Activation = Tab:AddRightGroupbox('Old Ragebot')
local RageToggle = Activation:AddToggle('P8S4T1', {
Text = 'Enable Old Ragebot',
Default = false,
Tooltip = 'The original ragebot: teleports above the chosen enemy and shoots from there. Hides in the void while reloading or swapping.',
})
RageToggle:AddKeyPicker('P8S4T1K', {
Default = 'Unknown',
Mode = 'Toggle',
SyncToggleState = true,
Text = 'Old Rage',
})
Activation:AddLabel('Only one ragebot runs at a time. Switching one on turns the other one\'s features off. Old doesnt mean not working.', true)
-- two tabs per box: the tab buttons share the width of one column, four of them overlapped (the hub font is wide)
local Aiming = Tab:AddRightTabbox('Classic Targeting')
local Targeting = Aiming:AddTab('Targeting')
Targeting:AddDropdown(
'RBTM',
{ Text = 'Target Mode', Values = { 'Closest', 'Lowest Health' }, Default = 'Closest', Multi = false }
)
Targeting:AddToggle('RBAP', { Text = 'Priority Targets', Default = true, Tooltip = 'Prefer the targets ticked below.' })
Targeting:AddToggle(
'RBPV',
{ Text = 'Prioritize Void Players', Default = true, Tooltip = 'Players hiding far out of bounds.' }
)
Targeting:AddToggle(
'RBPA',
{ Text = 'Prioritize Armed Players', Default = true, Tooltip = 'Players currently holding a weapon.' }
)
local Movement = Aiming:AddTab('Movement')
Movement:AddSlider(
'RBOY',
{ Text = 'Height Above Target', Default = 1, Min = -5, Max = 50, Rounding = 1, Compact = true }
)
Movement:AddToggle(
'RBHV',
{ Text = 'Hover In Place', Default = true, Tooltip = 'Freezes you at the spot above the target between steps.' }
)
Movement:AddToggle('RBNC', { Text = 'Noclip', Default = true })
Movement:AddToggle('RBAA', { Text = 'Anti-Aim Spin', Default = false, Tooltip = 'Wobbles your facing while hovering.' })
local Gear = Tab:AddRightTabbox('Classic Weapons')
local Weapons = Gear:AddTab('Weapons')
Weapons:AddToggle(
'RBFS',
{
Text = 'Fast Shoot',
Default = true,
Tooltip = 'Zero cooldowns, recoil and spread, max projectile speed. Restored when rage turns off.',
}
)
Weapons:AddToggle('RBNS', { Text = 'No Spread Packets', Default = true })
Weapons:AddSlider('RBSA', { Text = 'Shots Per Tick', Default = 1, Min = 1, Max = 10, Rounding = 0, Compact = true })
Weapons:AddSlider(
'RBTD',
{ Text = 'Fire Delay', Default = 0.04, Min = 0.01, Max = 1, Rounding = 2, Suffix = 's', Compact = true }
)
Weapons:AddDropdown(
'RBPW',
{ Text = 'Preferred Weapon', Values = { 'primary', 'secondary', 'melee' }, Default = 'primary', Multi = false }
)
Weapons:AddToggle('RBAE', { Text = 'Auto Equip Preferred', Default = true })
Weapons:AddToggle(
'RBAS',
{ Text = 'Auto Swap On Empty', Default = true, Tooltip = 'Swaps weapons (then reloads) when the magazine is empty.' }
)
local Void = Gear:AddTab('Void')
Void:AddToggle('RBVR', { Text = 'Void While Reloading', Default = true })
Void:AddToggle(
'RBVK',
{ Text = 'Void When No Enemies', Default = true, Tooltip = 'Hides far away once everyone is dead.' }
)
Void:AddSlider(
'RBSV',
{ Text = 'Shotgun Reload Void', Default = 5, Min = 5, Max = 30, Rounding = 0, Suffix = 's', Compact = true }
)
Void:AddSlider('RBVI', { Text = 'Jumps Per Frame', Default = 500, Min = 1, Max = 500, Rounding = 0, Compact = true })
Void:AddSlider('RBVN', { Text = 'Min Distance', Default = 1, Min = 1, Max = 500000, Rounding = 0, Compact = true })
Void:AddSlider('RBVD', { Text = 'Max Distance', Default = 50000, Min = 1, Max = 500000, Rounding = 0, Compact = true })
-- the two ragebots would fight over the character, so switching one on switches the other off, and so are all of the other one's features.
-- 'new' = the ZHub ragebot, 'old' = this one. A parked feature remembers its value: switching its ragebot back on restores it.
local FEATURES = {
old = {
{ id = 'RBAP', off = false, default = true },
{ id = 'RBPV', off = false, default = true },
{ id = 'RBPA', off = false, default = true },
{ id = 'RBHV', off = false, default = true },
{ id = 'RBNC', off = false, default = true },
{ id = 'RBAA', off = false, default = false },
{ id = 'RBFS', off = false, default = true },
{ id = 'RBNS', off = false, default = true },
{ id = 'RBAE', off = false, default = true },
{ id = 'RBAS', off = false, default = true },
{ id = 'RBVR', off = false, default = true },
{ id = 'RBVK', off = false, default = true },
},
new = {
{ id = 'KR_Hackers', off = false, default = false },
{ id = 'KR_WPrimary', off = false, default = true },
{ id = 'KR_WSecondary', off = false, default = true },
{ id = 'KR_WMelee', off = false, default = true },
{ id = 'KR_Mode', off = 'Off', default = 'Random' },
{ id = 'KR_RandAnchor', off = false, default = false },
{ id = 'KR_PBFallAnchor', off = false, default = false },
},
}
local Exclusive = { Parked = { old = {}, new = {} } }
RivalsRuntimeBridge.RagebotExclusive = Exclusive
local function Control(id) return Toggles[id] or Options[id] end
local function SetFeature(id, value)
local control = Control(id)
if control and control.Value ~= value then control:SetValue(value) end
end
local function ParkFeatures(group)
local parked = Exclusive.Parked[group]
for _, feature in ipairs(FEATURES[group]) do
local control = Control(feature.id)
if control and control.Value ~= feature.off then
parked[feature.id] = control.Value
control:SetValue(feature.off)
end
end
end
local function RestoreFeatures(group)
local parked = Exclusive.Parked[group]
if next(parked) ~= nil then
for id, value in pairs(parked) do SetFeature(id, value) end
table.clear(parked)
return
end
-- nothing remembered (a saved config kept the set parked): a set that is entirely off would leave its ragebot crippled, so it gets its defaults
for _, feature in ipairs(FEATURES[group]) do
local control = Control(feature.id)
if control and control.Value ~= feature.off then return end
end
for _, feature in ipairs(FEATURES[group]) do SetFeature(feature.id, feature.default) end
end
-- group = the ragebot that just went on
function Exclusive.Apply(group)
ParkFeatures(group == 'new' and 'old' or 'new')
RestoreFeatures(group)
end
-- after a config load or import the loaded values are the truth: forget what was parked, then enforce the rule again
function Exclusive.Reconcile()
table.clear(Exclusive.Parked.old)
table.clear(Exclusive.Parked.new)
local ZHub, classic = Toggles.KR_Enabled, Toggles.P8S4T1
if ZHub and ZHub.Value == true then
if classic and classic.Value == true then classic:SetValue(false) end
Exclusive.Apply('new')
elseif classic and classic.Value == true then
Exclusive.Apply('old')
end
end
local function SwitchOff(toggle)
if toggle and toggle.Value == true then toggle:SetValue(false) end
end
RageToggle:OnChanged(GuardRivalsCallback('ClassicRagebot_Exclusive', function()
if RageToggle.Value == true then
SwitchOff(Toggles.KR_Enabled)
Exclusive.Apply('old')
end
end))
local ZHubToggle = Toggles.KR_Enabled
if ZHubToggle then
local previous = ZHubToggle.Changed
ZHubToggle:OnChanged(GuardRivalsCallback('ClassicRagebot_ExclusiveZHub', function(...)
if previous then previous(...) end
if ZHubToggle.Value == true then
SwitchOff(Toggles.P8S4T1)
Exclusive.Apply('new')
end
end))
end
end
-- ======================================================================
-- Menu: cosmetics
-- ======================================================================
BuildRivalsCosmeticsUi = function(MiscTab)
local P5S4 = MiscTab:AddLeftGroupbox('Unlock All')
P5S4:AddToggle('P5S1T2', {
Text = 'Unlock All Cosmetics',
Default = false,
Tooltip = "Unlocks skins, wraps, charms, finishers, and emotes in the game's Customize menus.",
Callback = GuardRivalsCallback('Cosmetics_Enabled_Changed', function(enabled)
if enabled then
pcall(RivalsRuntimeBridge.ApplyRivalsCosmetics)
pcall(RivalsRuntimeBridge.RefreshNativeRivalsCosmetics)
else
pcall(RivalsRuntimeBridge.RestoreRivalsCosmetics)
end
end),
})
P5S4:AddToggle('P5S1T4', {
Text = 'Unlock All Weapons',
Default = false,
Tooltip = 'Shows every weapon from ItemLibrary in the picker and loadout UI. Server-side ownership checks may still reject picking weapons you do not own.',
Callback = GuardRivalsCallback('Cosmetics_WeaponUnlockChanged', function()
if RivalsRuntimeBridge.RebuildRivalsWeaponUnlock then pcall(RivalsRuntimeBridge.RebuildRivalsWeaponUnlock) end
end),
})
local RankCharmModule = RequireSharedModule('rank_charm_spoofer')
local RankCharm = { Module = RankCharmModule, ProfileDefaults = {} }
RivalsRuntimeBridge.RankCharm = RankCharm
local KEEP_CHARM = 'Keep equipped'
local rankCatalog = RankCharmModule.GetCatalog()
local rankNames = rankCatalog and rankCatalog.RankNames
or {
'Unranked',
'Bronze 1',
'Bronze 2',
'Bronze 3',
'Silver 1',
'Silver 2',
'Silver 3',
'Gold 1',
'Gold 2',
'Gold 3',
'Platinum 1',
'Platinum 2',
'Platinum 3',
'Diamond 1',
'Diamond 2',
'Diamond 3',
'Onyx 1',
'Onyx 2',
'Onyx 3',
'Nemesis',
'Archnemesis',
}
local charmLabels = { KEEP_CHARM }
for _, label in ipairs(rankCatalog and rankCatalog.SeasonLabels or { 'Season 0', 'Season 1', 'Season 2', 'Season 3' }) do
charmLabels[#charmLabels + 1] = label
end
local boardRankName = 'Archnemesis'
for _, rankName in ipairs(rankNames) do
local rank = rankCatalog and rankCatalog.Ranks[rankName]
if rank and rank.BoardCap ~= nil then boardRankName = rankName end
end
local function RegisterRankCharmDefault(id, kind, value)
local entry = { idx = id, type = kind }
if kind == 'Input' then
entry.text = value
else
entry.value = value
end
RankCharm.ProfileDefaults[#RankCharm.ProfileDefaults + 1] = entry
end
function RankCharm.PushAll()
local toggle, charm, rank, board, every =
Toggles.KC_Enabled, Options.KC_Charm, Options.KC_Rank, Options.KC_Board, Toggles.KC_All
RankCharmModule.Configure({
Enabled = toggle ~= nil and toggle.Value == true,
CharmLabel = charm and charm.Value or KEEP_CHARM,
Rank = rank and rank.Value or boardRankName,
Leaderboard = board and tonumber(board.Value) or 1,
ForceAll = every ~= nil and every.Value == true,
})
end
local onRankCharmChanged = GuardRivalsCallback('RankCharm_Changed', function() RankCharm.PushAll() end)
local RC = MiscTab:AddLeftGroupbox('Ranked Charm Spoofer')
RegisterRankCharmDefault('KC_Enabled', 'Toggle', false)
RC:AddToggle('KC_Enabled', {
Text = 'Ranked Charm Spoofer',
Default = false,
Tooltip = 'Shows the rank model you pick on your ranked (Season) charm. Only your own screen changes; other players still see your real charm.',
Callback = onRankCharmChanged,
})
RegisterRankCharmDefault('KC_Charm', 'Dropdown', KEEP_CHARM)
RC:AddDropdown('KC_Charm', {
Values = charmLabels,
Default = KEEP_CHARM,
Multi = false,
Text = 'Charm',
Tooltip = "Keep equipped: only Season charms you already have on a weapon change rank. Pick a season to swap whatever charm is on your weapons for that season's charm.",
Callback = onRankCharmChanged,
})
RegisterRankCharmDefault('KC_Rank', 'Dropdown', boardRankName)
RC:AddDropdown('KC_Rank', {
Values = rankNames,
Default = boardRankName,
Multi = false,
Text = 'Rank',
Tooltip = 'The rank model shown on the charm.',
Callback = onRankCharmChanged,
})
local RankBoardBox = RC:AddDependencyBox()
RegisterRankCharmDefault('KC_Board', 'Input', '1')
RankBoardBox:AddInput('KC_Board', {
Default = '1',
Numeric = true,
Finished = true,
AllowEmpty = true,
EmptyReset = '1',
Text = 'Leaderboard Rank',
Placeholder = '1 - 200',
Tooltip = 'The "#" number printed on the top rank charm (1 to 200).',
Callback = onRankCharmChanged,
})
RankBoardBox:SetupDependencies({ { Options.KC_Rank, boardRankName } })
RegisterRankCharmDefault('KC_All', 'Toggle', false)
RC:AddToggle('KC_All', {
Text = 'Show on every weapon',
Default = false,
Tooltip = 'Also puts the charm on weapons that have none equipped. Applies when the weapon spawns.',
Callback = onRankCharmChanged,
})
RC:AddButton('Apply Now', function()
RankCharm.PushAll()
RankCharmModule.Refresh()
end)
local RankCharmStatus = RC:AddLabel('Status: starting', true)
task.spawn(function()
while not Library.Unloaded do
pcall(function() RankCharmStatus:SetText('Status: ' .. tostring(RankCharmModule.Status)) end)
task.wait(0.5)
end
end)
task.spawn(GuardRivalsCallback('RankCharm_Init', function()
for _ = 1, 60 do
if RankCharmModule.Init() then break end
task.wait(1)
end
RankCharm.PushAll()
end))
Library:OnUnload(GuardRivalsCallback('RankCharm_Unload', function() pcall(RankCharmModule.Unload) end))
RivalsCosmeticsState.CosmeticsUiLoaded = true
end
-- ======================================================================
-- Menu: Automation tab
-- ======================================================================
BuildRivalsPickupUi = function(Window)
local automationTab = Window:AddTab('Automation', 'zap')
local P3S1 = automationTab:AddLeftGroupbox('Game Modes')
P3S1:AddToggle('P8S1T1', {
Text = 'Auto Heal',
Default = true,
Tooltip = 'Automatically grabs health packs when you are low.',
})
P3S1:AddToggle('P8S1T2', {
Text = 'Auto Ammo Pickup',
Default = true,
Tooltip = 'Automatically grabs ammo packs when your magazine is empty.',
})
P3S1:AddToggle('P8S4T2', {
Text = 'Auto Respawn',
Default = false,
Tooltip = 'Respawns you automatically when the death prompt appears.',
})
Toggles.P8S1T1:OnChanged(GuardRivalsCallback('AutoHeal_ToggleChanged', function(value)
if value and UpdateRivalsPickupFeatures then UpdateRivalsPickupFeatures() end
end))
Toggles.P8S1T2:OnChanged(GuardRivalsCallback('AutoAmmo_ToggleChanged', function(value)
if value and UpdateRivalsPickupFeatures then UpdateRivalsPickupFeatures() end
end))
local P3S8 = automationTab:AddLeftGroupbox('Subspace Tripmines')
P3S8:AddToggle('P8S8T1', {
Text = 'Auto Trigger',
Default = false,
Tooltip = 'Automatically sets off enemy tripmines.',
})
P3S8:AddToggle('P8S8T2', {
Text = 'Team Trigger',
Default = false,
Tooltip = 'Also triggers your own and allied tripmines.',
})
local P3S5 = automationTab:AddRightGroupbox('Auto Loadout & Ban')
P3S5:AddToggle('P8S5T1', {
Text = 'Auto Loadout',
Default = false,
Tooltip = 'Fills your pick screen once per open using the selected slot fallbacks.',
})
P3S5:AddToggle('P8S5T3', {
Text = 'Per Map',
Default = false,
Tooltip = 'Keeps a separate set of loadouts for each selected map.',
})
local DepAutoLoadoutMap = P3S5:AddDependencyBox()
DepAutoLoadoutMap:AddDropdown('P8S5D7', {
Values = RivalsRuntimeBridge.ResolveAutoLoadoutMapValues(),
Default = 1,
Multi = false,
Text = 'Map',
Searchable = true,
MaxVisibleDropdownItems = 12,
})
DepAutoLoadoutMap:SetupDependencies({ { Toggles.P8S5T3, true } })
P3S5:AddToggle('P8S5T4', {
Text = 'Multiple Loadouts',
Default = false,
Tooltip = 'Uses all your loadouts (loadout 1 first) as item-by-item fallbacks when a weapon is unavailable.',
})
local AutoLoadoutKeyLabels = {}
local function ApplyAutoLoadoutCount(rawCount)
local count = RivalsRuntimeBridge.SetAutoLoadoutCount(rawCount)
local priorityOption = Options.P8S5D8
if priorityOption then
local values = {}
for index, priority in ipairs(RivalsRuntimeBridge.ResolveAutoLoadoutPriorities()) do
values[index] = priority
end
priorityOption:SetValues(values)
if not table.find(values, priorityOption.Value) then priorityOption:SetValue('1') end
end
for index, keyLabel in ipairs(AutoLoadoutKeyLabels) do
keyLabel:SetVisible(index <= count)
end
return count
end
P3S5:AddSlider('P8S5N', {
Text = 'Loadouts',
Default = 3,
Min = 1,
Max = 10,
Rounding = 0,
Compact = true,
Tooltip = 'How many loadouts exist (1 to 10). Add Loadout below does this for you.',
})
local AddLoadoutButton = P3S5:AddButton({
Text = 'Add Loadout',
Tooltip = 'Makes the next loadout (up to 10), turns Multiple Loadouts on and selects the new loadout so you can pick its weapons straight away.',
Func = GuardRivalsCallback('AutoLoadout_Add', function()
local current = math.floor(
tonumber(Options.P8S5N and Options.P8S5N.Value) or #RivalsRuntimeBridge.ResolveAutoLoadoutPriorities()
)
if current >= 10 then
Library:Notify({ Title = 'Auto Loadout', Description = '10 loadouts is the maximum.', Time = 3 })
return
end
local nextCount = current + 1
if Toggles.P8S5T4 and Toggles.P8S5T4.Value ~= true then Toggles.P8S5T4:SetValue(true) end
Options.P8S5N:SetValue(nextCount)
Options.P8S5D8:SetValue(tostring(nextCount))
end),
})
AddLoadoutButton:AddButton({
Text = 'Remove Last',
Tooltip = 'Removes the last loadout. Its weapons stay in the config and come back if you add it again.',
Func = GuardRivalsCallback('AutoLoadout_Remove', function()
local current = math.floor(
tonumber(Options.P8S5N and Options.P8S5N.Value) or #RivalsRuntimeBridge.ResolveAutoLoadoutPriorities()
)
if current <= 1 then
Library:Notify({ Title = 'Auto Loadout', Description = 'You need at least one loadout.', Time = 3 })
return
end
Options.P8S5N:SetValue(current - 1)
end),
})
P3S5:AddDropdown('P8S5D8', {
Values = RivalsRuntimeBridge.ResolveAutoLoadoutPriorities(),
Default = '1',
Multi = false,
Text = 'Loadout',
Tooltip = 'The loadout that gets equipped (and edited). With Multiple Loadouts on, this is the loadout being edited while all your loadouts act as fallbacks.',
})
local LoadoutBanner = nil
local LoadoutNoticePending = false
local function LoadoutBannerText()
local selected = Options.P8S5D8 and Options.P8S5D8.Value or '1'
return 'Loadout ' .. tostring(selected) .. ' / ' .. tostring(#RivalsRuntimeBridge.ResolveAutoLoadoutPriorities())
end
local function RefreshLoadoutBanner()
if Library.Unloaded then return end
local wanted = Toggles.P8S5T6 and Toggles.P8S5T6.Value == true
if wanted and not LoadoutBanner then
local ok, banner = pcall(function() return Library:AddDraggableLabel(LoadoutBannerText()) end)
if ok and banner then
LoadoutBanner = banner
banner.Label.TextSize = 18
banner.Label.AnchorPoint = Vector2.new(0.5, 0)
banner.Label.Position = UDim2.new(0.5, 0, 0, 10)
end
elseif not wanted and LoadoutBanner then
pcall(function() LoadoutBanner:Destroy() end)
LoadoutBanner = nil
end
if LoadoutBanner then LoadoutBanner:SetText(LoadoutBannerText()) end
end
local function ShowLoadoutNotice()
if Toggles.P8S5T7 and Toggles.P8S5T7.Value == true then
Library:Notify({
Title = 'Loadout ' .. tostring(Options.P8S5D8.Value),
Description = 'Switched to ' .. LoadoutBannerText():lower(),
Time = 2,
})
end
end
-- One key for every loadout: each press moves to the next one (1, 2, 3 ... then back to 1)
local function CycleLoadout()
local list = RivalsRuntimeBridge.ResolveAutoLoadoutPriorities()
local option = Options.P8S5D8
if not option or #list == 0 then return end
local nextValue = list[(table.find(list, option.Value) or 0) % #list + 1]
LoadoutNoticePending = true
if nextValue ~= option.Value then option:SetValue(nextValue) end
if LoadoutNoticePending then
LoadoutNoticePending = false
RefreshLoadoutBanner()
ShowLoadoutNotice()
end
end
P3S5:AddLabel('Next Loadout Key'):AddKeyPicker('P8S5D8KC', {
Text = 'Next Loadout',
Default = 'Unknown',
Mode = 'Press',
Tooltip = 'One key for every loadout: each press moves to the next loadout (1, 2, 3 ... then back to 1).',
Callback = GuardRivalsCallback('AutoLoadout_KeyCycle', CycleLoadout),
})
P3S5:AddToggle('P8S5T6', {
Text = 'Loadout Banner',
Default = true,
Tooltip = 'Keeps the current loadout number on screen. Drag it anywhere while the menu is open.',
Callback = GuardRivalsCallback('AutoLoadout_Banner', RefreshLoadoutBanner),
})
P3S5:AddToggle('P8S5T7', {
Text = 'Loadout Notification',
Default = true,
Tooltip = 'Shows a short notification with the loadout number each time the key switches it.',
})
RivalsRuntimeBridge.AutoWeaponMenu.BuildMenu(P3S5)
local DepAutoLoadout = P3S5:AddDependencyBox()
DepAutoLoadout:AddDropdown('P8S5D1', {
Values = RivalsRuntimeBridge.ResolveAutoLoadoutWeaponValues('Primary'),
Default = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Primary'),
Multi = false,
Text = 'Primary',
Tooltip = 'Primary weapon for the selected map and loadout priority.',
})
DepAutoLoadout:AddDropdown('P8S5D2', {
Values = RivalsRuntimeBridge.ResolveAutoLoadoutWeaponValues('Secondary'),
Default = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Secondary'),
Multi = false,
Text = 'Secondary',
Tooltip = 'Secondary weapon for the selected map and loadout priority.',
})
DepAutoLoadout:AddDropdown('P8S5D3', {
Values = RivalsRuntimeBridge.ResolveAutoLoadoutWeaponValues('Melee'),
Default = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Melee'),
Multi = false,
Text = 'Melee',
Tooltip = 'Melee weapon for the selected map and loadout priority.',
})
DepAutoLoadout:AddDropdown('P8S5D4', {
Values = RivalsRuntimeBridge.ResolveAutoLoadoutWeaponValues('Utility'),
Default = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Utility'),
Multi = false,
Text = 'Utility',
Tooltip = 'Utility weapon for the selected map and loadout priority.',
})
DepAutoLoadout:SetupDependencies({ { Toggles.P8S5T1, true } })
RivalsRuntimeBridge.RefreshAutoLoadoutDropdownValues()
Toggles.P8S5T1:OnChanged(GuardRivalsCallback('AutoLoadout_ToggleChanged', function(value)
if value then
RivalsRuntimeBridge.QueueAutoLoadoutSubmission()
else
RivalsRuntimeBridge.ResetAutoLoadoutState()
end
end))
for _, optionId in ipairs({ 'P8S5D1', 'P8S5D2', 'P8S5D3', 'P8S5D4' }) do
local option = Options[optionId]
if option and type(option.OnChanged) == 'function' then
option:OnChanged(GuardRivalsCallback(string.format('AutoLoadout_%s_Changed', optionId), function()
if RivalsAutoLoadoutState.RefreshingDropdownValues > 0 then return end
-- a config load sets the options one by one in any order; the profiles are restored from its metadata afterwards
if RivalsRuntimeBridge.IsConfigLoading() then return end
RivalsRuntimeBridge.SyncAutoLoadoutSelection(optionId)
RivalsRuntimeBridge.QueueAutoLoadoutSubmission()
end))
end
end
local function RefreshAutoLoadoutProfile()
if RivalsAutoLoadoutState.RefreshingDropdownValues > 0 then return end
RivalsRuntimeBridge.RefreshAutoLoadoutDropdownValues()
if RivalsRuntimeBridge.IsConfigLoading() then return end
RivalsRuntimeBridge.QueueAutoLoadoutSubmission()
end
Toggles.P8S5T3:OnChanged(GuardRivalsCallback('AutoLoadout_PerMapChanged', RefreshAutoLoadoutProfile))
Toggles.P8S5T4:OnChanged(GuardRivalsCallback('AutoLoadout_MultipleChanged', RefreshAutoLoadoutProfile))
Options.P8S5D7:OnChanged(GuardRivalsCallback('AutoLoadout_MapChanged', RefreshAutoLoadoutProfile))
Options.P8S5D8:OnChanged(GuardRivalsCallback('AutoLoadout_PriorityChanged', function()
RefreshAutoLoadoutProfile()
RefreshLoadoutBanner()
if not RivalsRuntimeBridge.IsConfigLoading() then RivalsRuntimeBridge.AutoWeaponMenu.OnLoadoutSwitched() end
if LoadoutNoticePending then
LoadoutNoticePending = false
ShowLoadoutNotice()
end
end))
Options.P8S5N:OnChanged(GuardRivalsCallback('AutoLoadout_CountChanged', function(value)
ApplyAutoLoadoutCount(value)
RefreshAutoLoadoutProfile()
RefreshLoadoutBanner()
end))
ApplyAutoLoadoutCount(Options.P8S5N.Value)
task.defer(RefreshLoadoutBanner)
P3S5:AddToggle('P8S5T2', {
Text = 'Auto Ban Weapons',
Default = false,
Tooltip = 'In ranked weapon-ban votes, submits the first available selected weapon for each ban round.',
})
local DepAutoBan = P3S5:AddDependencyBox()
DepAutoBan:AddDropdown('P8S5D5', {
Values = RivalsRuntimeBridge.ResolveAutoBanWeaponValues(),
Default = {},
Multi = true,
Text = 'First Ban',
Searchable = true,
MaxVisibleDropdownItems = 12,
})
DepAutoBan:AddDropdown('P8S5D6', {
Values = RivalsRuntimeBridge.ResolveAutoBanWeaponValues(),
Default = {},
Multi = true,
Text = 'Second Ban',
Searchable = true,
MaxVisibleDropdownItems = 12,
})
DepAutoBan:SetupDependencies({ { Toggles.P8S5T2, true } })
Toggles.P8S5T2:OnChanged(GuardRivalsCallback('AutoBan_ToggleChanged', function(value)
RivalsRuntimeBridge.RegisterAutoBanSignals()
if value then RivalsRuntimeBridge.TryAutoBanVote() end
end))
for _, optionId in ipairs({ 'P8S5D5', 'P8S5D6' }) do
Options[optionId]:OnChanged(
GuardRivalsCallback(
string.format('AutoBan_%s_Changed', optionId),
function() RivalsRuntimeBridge.TryAutoBanVote() end
)
)
end
local P3S7 = automationTab:AddRightGroupbox('Auto Vote')
P3S7:AddToggle('P8S5T5', {
Text = 'Auto Vote Maps',
Default = false,
Tooltip = 'Votes for the first selected map offered by the live duel vote.',
})
local DepAutoVote = P3S7:AddDependencyBox()
DepAutoVote:AddDropdown('P8S5D9', {
Values = RivalsRuntimeBridge.ResolveAutoVoteMapValues(),
Default = {},
Multi = true,
Text = 'Maps',
Searchable = true,
MaxVisibleDropdownItems = 12,
})
DepAutoVote:SetupDependencies({ { Toggles.P8S5T5, true } })
Toggles.P8S5T5:OnChanged(GuardRivalsCallback('AutoVote_ToggleChanged', function()
RivalsRuntimeBridge.RegisterAutoBanSignals()
RivalsRuntimeBridge.TryAutoBanVote()
end))
Options.P8S5D9:OnChanged(
GuardRivalsCallback('AutoVote_MapsChanged', function() RivalsRuntimeBridge.TryAutoBanVote() end)
)
local P3S6 = automationTab:AddRightGroupbox('Auto Queue')
P3S6:AddDropdown('P8S6D1', {
Values = RivalsRuntimeBridge.ResolveAutoQueueModeValues(),
Default = '1v1',
Multi = false,
Text = 'Mode',
Tooltip = 'Game mode to auto-queue into, including released matchmaking, rotating, and arcade modes.',
})
P3S6:AddToggle('P8S6T1', {
Text = 'Auto Queue',
Default = false,
Tooltip = 'Joins the selected mode and re-queues automatically after each match.',
})
Toggles.P8S6T1:OnChanged(
GuardRivalsCallback('AutoQueue_ToggleChanged', function(value) RivalsRuntimeBridge.OnAutoQueueToggled(value) end)
)
Options.P8S6D1:OnChanged(
GuardRivalsCallback('AutoQueue_ModeChanged', function() RivalsRuntimeBridge.OnAutoQueueModeChanged() end)
)
return automationTab
end
-- ======================================================================
-- Battle pass claiming (used by Misc > Rewards > Claim All)
-- ======================================================================
-- The game's own pass page fires ClaimBattlePassReward(tier, track) for a reward when tier <= PassLevel, track <= MaxPassTrackNum and
-- RewardsClaimed[tostring(tier)][tostring(track)] is empty. FireServer never says whether the server took it, so every claim here is
-- checked against the player data (the server answer lands there) and sent once more if it did not show up.
do
local Pass = {}
RivalsRuntimeBridge.BattlePassClaim = Pass
function Pass.IsClaimed(battlePass, tier, track)
local claimed = type(battlePass) == 'table' and battlePass.RewardsClaimed or nil
if type(claimed) ~= 'table' then return false end
local row = claimed[tostring(tier)] or claimed[tier]
if type(row) ~= 'table' then return false end
return (row[tostring(track)] or row[track]) and true or false
end
-- nil + reason when there is nothing to read: 'season' (library not loaded), 'inactive' (no pass this season), 'progress' (no pass data yet)
function Pass.GetState(pdc, seasonLibrary)
if type(seasonLibrary) ~= 'table' or type(seasonLibrary.CurrentSeason) ~= 'table' then return nil, 'season' end
local season = seasonLibrary.CurrentSeason
if not season.BattlePassActive then return nil, 'inactive' end
local ok, seasons = pcall(function() return pdc:Get('Seasons') end)
local seasonData = ok and type(seasons) == 'table' and season.Name and seasonsFall or nil
local battlePass = type(seasonData) == 'table' and seasonData.BattlePass or nil
if type(battlePass) ~= 'table' then return nil, 'progress' end
return {
Season = season,
BattlePass = battlePass,
PassLevel = tonumber(battlePass.PassLevel) or 0,
MaxTrack = tonumber(battlePass.MaxPassTrackNum) or 0,
}
end
-- rewards that can be claimed right now, and how many more are unlocked by level but sit on a track that is not owned
function Pass.Pending(state)
local season = state.Season
local catalog = type(season.BattlePassRewards) == 'table' and season.BattlePassRewards or {}
local tiers = math.min(state.PassLevel, tonumber(season.NumBattlePassTiers) or state.PassLevel)
local tracks = tonumber(season.NumBattlePassTracks) or math.max(state.MaxTrack, 1)
local pending, locked = {}, 0
for tier = 1, tiers do
local row = catalog[tier]
if type(row) == 'table' then
for track = 1, tracks do
if row[track] ~= nil and not Pass.IsClaimed(state.BattlePass, tier, track) then
if track <= state.MaxTrack then
pending[#pending + 1] = { Tier = tier, Track = track }
else
locked = locked + 1
end
end
end
end
end
return pending, locked
end
-- options: Delay (s between rewards), Cancelled() -> bool, Progress(done, total, result)
function Pass.ClaimAll(pdc, seasonLibrary, remote, options)
options = options or {}
local delay = tonumber(options.Delay) or 0.2
local result = { Claimed = 0, Failed = 0, Locked = 0, Total = 0 }
local state = Pass.GetState(pdc, seasonLibrary)
if not state or not remote then return result end
local pending, locked = Pass.Pending(state)
result.Locked, result.Total = locked, #pending
for index, entry in ipairs(pending) do
if options.Cancelled and options.Cancelled() then break end
local accepted = false
for attempt = 1, 2 do
if not pcall(remote.FireServer, remote, entry.Tier, entry.Track) then break end
local deadline = os.clock() + (attempt == 1 and 1.2 or 2)
repeat
task.wait(0.1)
local fresh = Pass.GetState(pdc, seasonLibrary)
if fresh and Pass.IsClaimed(fresh.BattlePass, entry.Tier, entry.Track) then accepted = true end
until accepted or os.clock() >= deadline
if accepted then break end
end
if accepted then result.Claimed = result.Claimed + 1 else result.Failed = result.Failed + 1 end
if options.Progress then pcall(options.Progress, index, #pending, result) end
task.wait(delay)
end
return result
end
end
-- ======================================================================
-- Menu: Movement and Misc tabs
-- ======================================================================
BuildRivalsMiscUi = function(Window)
BuildRivalsEventUi = function(EventTab)
RivalsRuntimeBridge.TowerKit.Ui.Build(EventTab, {
State = EventZombieState,
TestFire = EventZombieTestDamage,
DumpStructure = EventZombieDumpStructure,
DumpEnum = EventZombieDumpEnum,
})
end
local MovementTab = Window:AddTab('Movement', 'move')
local EventTabIcon = (Library.GetCustomIcon and Library:GetCustomIcon('ghost')) and 'ghost' or 'bug'
local EventTab = Window:AddTab('Event', EventTabIcon)
BuildRivalsEventUi(EventTab)
local miscTab = Window:AddTab('Misc', 'package')
local RIVALS_REWARD_CLAIM_DELAY = 0.2
local RIVALS_REWARD_SETTLE_DELAY = 0.6
local RIVALS_REWARD_EMPTY_CONFIRMATIONS = 3
local function ClaimAllRivalsBundle()
local pdc = ResolvePlayerDataController()
if not pdc or not IsPlayerDataControllerReady() then
Library:Notify({ Title = 'RIVALS', Description = 'Player data not ready yet, try again in a moment.', Time = 3 })
return
end
local DAILY_REWARDS = {
{ remote = 'ClaimLikeReward', flag = 'ClaimedLikeReward' },
{ remote = 'ClaimFavoriteReward', flag = 'ClaimedFavoriteReward' },
{ remote = 'ClaimNotificationsReward', flag = 'ClaimedNotificationsReward' },
}
local dailyClaimed, dailySkippedAlready = 0, 0
for _, info in ipairs(DAILY_REWARDS) do
if pdc:Get(info.flag) then
dailySkippedAlready = dailySkippedAlready + 1
else
local r = ResolveRivalsDataRemote(info.remote, 'RemoteEvent')
if r then
local ok = pcall(r.FireServer, r)
if ok then
dailyClaimed = dailyClaimed + 1
task.wait(RIVALS_REWARD_CLAIM_DELAY)
end
end
end
end
local passClaimed, passFailed, passLocked = 0, 0, 0
local passNotActive, passNoProgress = false, false
do
local passRemote = ResolveRivalsDataRemote('ClaimBattlePassReward', 'RemoteEvent')
local modulesFolder = ReplicatedStorage:FindFirstChild('Modules')
local seasonLibraryModule = modulesFolder and modulesFolder:FindFirstChild('SeasonLibrary')
local seasonLibrary = seasonLibraryModule and RivalsRuntimeBridge.RequireGameModule(seasonLibraryModule, 'SeasonLibrary') or nil
if passRemote and seasonLibrary then
local pass = RivalsRuntimeBridge.BattlePassClaim
local state, why = pass.GetState(pdc, seasonLibrary)
if not state then
passNotActive = why == 'inactive'
passNoProgress = why == 'progress'
else
local waiting = #pass.Pending(state)
if waiting > 0 then
Library:Notify({
Title = 'RIVALS',
Description = string.format('Claiming %d battle pass reward%s...', waiting, waiting == 1 and '' or 's'),
Time = 3,
})
end
local result = pass.ClaimAll(pdc, seasonLibrary, passRemote, {
Delay = RIVALS_REWARD_CLAIM_DELAY,
Cancelled = function() return Library.Unloaded end,
})
passClaimed, passFailed, passLocked = result.Claimed, result.Failed, result.Locked
end
end
end
local capsuleClaimed = 0
local capsuleSkippedDuel = false
local duelState = FighterDataCache.LocalDuel
if duelState and (duelState.IsInDuel or duelState.IsInShootingRange) then
capsuleSkippedDuel = true
else
local capsuleRemote = ResolveRivalsDataRemote('UseUnclaimedReward', 'RemoteFunction')
if capsuleRemote then
local maxQty = 99
local modulesFolder = ReplicatedStorage:FindFirstChild('Modules')
local constantsModule = modulesFolder and modulesFolder:FindFirstChild('CONSTANTS')
if constantsModule then
local okC, constants = pcall(require, constantsModule)
if okC and type(constants) == 'table' and type(constants.MAX_BACKPACK_USE_QUANTITY) == 'number' then
maxQty = constants.MAX_BACKPACK_USE_QUANTITY
end
end
local emptyStreak = 0
local failureStreak = 0
for _ = 1, 400 do
local rewards = pdc:Get('UnclaimedRewards')
if type(rewards) ~= 'table' or rewards[1] == nil then
emptyStreak = emptyStreak + 1
if emptyStreak >= RIVALS_REWARD_EMPTY_CONFIRMATIONS then break end
task.wait(RIVALS_REWARD_SETTLE_DELAY)
else
emptyStreak = 0
local entry = rewards[1]
local startQty = type(entry) == 'table' and tonumber(entry.Quantity) or 1
if not startQty or startQty < 1 then startQty = 1 end
local useQty = math.min(startQty, maxQty)
local ok, result = pcall(capsuleRemote.InvokeServer, capsuleRemote, 1, useQty)
if ok and result == 'Success' then
capsuleClaimed = capsuleClaimed + 1
failureStreak = 0
else
failureStreak = failureStreak + 1
if failureStreak >= 5 then break end
end
task.wait(RIVALS_REWARD_CLAIM_DELAY)
end
end
end
end
local parts = {}
if dailyClaimed > 0 then table.insert(parts, string.format('%d daily', dailyClaimed)) end
if capsuleClaimed > 0 then
table.insert(parts, string.format('%d capsule%s', capsuleClaimed, capsuleClaimed == 1 and '' or 's'))
end
if passClaimed > 0 then
table.insert(parts, string.format('%d pass tier%s', passClaimed, passClaimed == 1 and '' or 's'))
end
local desc
if #parts > 0 then
desc = 'Claimed ' .. table.concat(parts, ', ') .. '.'
if capsuleSkippedDuel then desc = desc .. ' Capsules skipped (in duel/range).' end
elseif capsuleSkippedDuel then
desc = 'Capsules skipped (in duel/range). Nothing else to claim.'
elseif dailySkippedAlready == 3 and not passNotActive and not passNoProgress then
desc = 'Already up to date - nothing to claim.'
elseif dailySkippedAlready == 3 then
desc = 'Daily rewards already claimed - nothing else to claim right now.'
else
desc = 'Nothing to claim.'
end
if passFailed > 0 then
desc = desc .. string.format(' %d pass reward%s not accepted by the server, press Claim All again.', passFailed, passFailed == 1 and ' was' or 's were')
end
if passLocked > 0 then
desc = desc .. string.format(' %d premium pass reward%s need the paid track.', passLocked, passLocked == 1 and '' or 's')
end
Library:Notify({ Title = 'RIVALS', Description = desc, Time = 4 })
end
local playerSpooferLabels = {
Winstreak = 'Win Streak',
Level = 'Level',
RankedElo = 'Ranked ELO',
NametagStatus = 'Nametag Status',
Influencer = 'Influencer',
RobloxEmployee = 'Roblox Employee',
NosniyTeam = "Nosniy's Team",
}
local playerSpooferScopes = {
{ suffix = 'You', title = 'Player Spoofer (You)', side = 'Left' },
{ suffix = 'Oth', title = 'Player Spoofer (Others)', side = 'Right' },
}
for _, scope in ipairs(playerSpooferScopes) do
local spooferGroup = scope.side == 'Left' and miscTab:AddLeftGroupbox(scope.title) or miscTab:AddRightGroupbox(scope.title)
for _, field in ipairs(RivalsRuntimeBridge.PlayerSpoofer.AttributeFields) do
local toggleId = 'PSpoof' .. scope.suffix .. field.key .. 'T'
local toggle = spooferGroup:AddToggle(toggleId, {
Text = playerSpooferLabels[field.key],
Default = false,
})
toggle:OnChanged(GuardRivalsCallback('PlayerSpoofer_Toggle', RivalsRuntimeBridge.PlayerSpoofer.RefreshAll))
if field.control ~= 'const' then
local valueId = 'PSpoof' .. scope.suffix .. field.key .. 'V'
local default = scope.suffix == 'You' and field.youDefault or field.othDefault
local valueBox = spooferGroup:AddDependencyBox()
valueBox:AddInput(valueId, {
Text = 'Value',
Default = default,
AllowEmpty = true,
EmptyReset = '',
})
Options[valueId]:OnChanged(
GuardRivalsCallback('PlayerSpoofer_Value', RivalsRuntimeBridge.PlayerSpoofer.RefreshAll)
)
valueBox:SetupDependencies({ { Toggles[toggleId], true } })
end
end
end
local P10S1 = miscTab:AddLeftGroupbox('Rewards')
P10S1:AddButton({
Text = 'Claim All',
Func = GuardRivalsCallback('Rewards_ClaimAll', ClaimAllRivalsBundle),
Tooltip = 'Opens all capsules (charms etc) and claims daily + pass rewards.',
})
local P10S3 = MovementTab:AddLeftGroupbox('Movement')
local function BindMovementControl(control)
if control and type(control.OnChanged) == 'function' then
control:OnChanged(GuardRivalsCallback('Movement_OptionChanged', RivalsRuntimeBridge.Movement.RefreshAll))
end
return control
end
local WalkSpeedToggle = BindMovementControl(P10S3:AddToggle('P10S3T1', {
Text = 'WalkSpeed',
Default = false,
}))
WalkSpeedToggle:AddKeyPicker('P10S3T1K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'WalkSpeed',
NoUI = false,
})
local WalkSpeedSettings = P10S3:AddDependencyBox()
BindMovementControl(WalkSpeedSettings:AddSlider('P10S3S1', {
Text = 'WalkSpeed Multiplier',
Default = 2,
Min = 1,
Max = 10,
Rounding = 2,
Compact = true,
}))
WalkSpeedSettings:SetupDependencies({ { Toggles.P10S3T1, true } })
local SlidingToggle = BindMovementControl(P10S3:AddToggle('P10S3T2', {
Text = 'Sliding Speed',
Default = false,
}))
SlidingToggle:AddKeyPicker('P10S3T2K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Sliding Speed',
NoUI = false,
})
local SlidingSettings = P10S3:AddDependencyBox()
BindMovementControl(SlidingSettings:AddSlider('P10S3S2', {
Text = 'Sliding Multiplier',
Default = 10,
Min = 1,
Max = 10,
Rounding = 2,
Compact = true,
}))
SlidingSettings:SetupDependencies({ { Toggles.P10S3T2, true } })
BindMovementControl(P10S3:AddToggle('P10S3T3', {
Text = 'Jump Power',
Default = false,
}))
local JumpPowerSettings = P10S3:AddDependencyBox()
BindMovementControl(JumpPowerSettings:AddSlider('P10S3S3', {
Text = 'Jump Power Multiplier',
Default = 2,
Min = 0.1,
Max = 10,
Rounding = 2,
Compact = true,
}))
JumpPowerSettings:SetupDependencies({ { Toggles.P10S3T3, true } })
local FlightToggle = BindMovementControl(P10S3:AddToggle('P10S3T4', {
Text = 'Flight',
Default = false,
Tooltip = 'Camera-relative WASD flight; Space rises and Left Control / Shift descends.',
}))
FlightToggle:AddKeyPicker('P10S3T4K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Flight',
NoUI = false,
})
local FlightSettings = P10S3:AddDependencyBox()
BindMovementControl(FlightSettings:AddSlider('P10S3S4', {
Text = 'Flight Speed',
Default = 100,
Min = 25,
Max = 500,
Rounding = 0,
Compact = true,
}))
FlightSettings:SetupDependencies({ { Toggles.P10S3T4, true } })
local NoclipToggle = BindMovementControl(P10S3:AddToggle('P10S3T5', {
Text = 'Noclip',
Default = false,
}))
NoclipToggle:AddKeyPicker('P10S3T5K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Noclip',
NoUI = false,
})
local AutoStrafeToggle = BindMovementControl(P10S3:AddToggle('P10S3T6', {
Text = 'Auto Strafe',
Default = false,
Tooltip = 'Applies camera-relative movement while Space is held.',
}))
AutoStrafeToggle:AddKeyPicker('P10S3T6K', {
Default = 'Unknown',
Mode = 'Always',
Text = 'Auto Strafe',
NoUI = false,
})
local AutoStrafeSettings = P10S3:AddDependencyBox()
BindMovementControl(AutoStrafeSettings:AddSlider('P10S3S5', {
Text = 'Auto Strafe Speed',
Default = 50,
Min = 1,
Max = 200,
Rounding = 0,
Compact = true,
}))
AutoStrafeSettings:SetupDependencies({ { Toggles.P10S3T6, true } })
P10S3:AddToggle('P4S2T5', {
Text = 'Infinite Double Jumps',
Default = false,
Tooltip = 'Gives you unlimited double jumps.',
Callback = RivalsModsState.EnsureHooks,
})
local LongJumpToggle = BindMovementControl(P10S3:AddToggle('P10S3T7', {
Text = 'Long Jump',
Default = false,
Tooltip = 'Launches a long jump when you press the keybind.',
}))
LongJumpToggle:AddKeyPicker('P10S3T7K', {
Default = 'Unknown',
Mode = 'Hold',
Text = 'Long Jump',
NoUI = false,
})
local LongJumpSettings = P10S3:AddDependencyBox()
BindMovementControl(LongJumpSettings:AddDropdown('P10S3D1', {
Values = { 'Under Feet', 'Look Direction' },
Default = 'Under Feet',
Multi = false,
Text = 'Mode',
}))
BindMovementControl(LongJumpSettings:AddSlider('P10S3S6', {
Text = 'Force',
Default = 60,
Min = 0,
Max = 300,
Rounding = 0,
Compact = true,
}))
BindMovementControl(LongJumpSettings:AddSlider('P10S3S7', {
Text = 'Upward Velocity',
Default = 20,
Min = 0,
Max = 200,
Rounding = 0,
Compact = true,
}))
BindMovementControl(LongJumpSettings:AddSlider('P10S3S8', {
Text = 'Behind Offset',
Default = 8,
Min = 0,
Max = 8,
Rounding = 1,
Compact = true,
}))
LongJumpSettings:SetupDependencies({ { Toggles.P10S3T7, true } })
local P10S6 = MovementTab:AddLeftGroupbox('Animation Player')
P10S6:AddToggle('P10S6T1', {
Text = 'Animation Player',
Default = false,
Tooltip = 'Loops a custom Roblox animation on your character.',
})
P10S6:AddInput('P10S6I1', {
Text = 'Custom Animation ID',
Default = '',
Placeholder = 'rbxassetid://123456789',
AllowEmpty = true,
EmptyReset = '',
Finished = true,
Tooltip = 'Accepts an asset ID or any string containing one.',
})
P10S6:AddSlider('P10S6S1', {
Text = 'Speed',
Default = 1,
Min = 0,
Max = 5,
Rounding = 2,
Compact = true,
})
P10S6:AddSlider('P10S6S2', {
Text = 'Start',
Default = 0,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
Suffix = '%',
})
P10S6:AddSlider('P10S6S3', {
Text = 'End',
Default = 100,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
Suffix = '%',
})
Toggles.P10S6T1:OnChanged(
GuardRivalsCallback('AnimationPlayer_Enabled', RivalsRuntimeBridge.AnimationPlayer.RefreshAll)
)
Options.P10S6I1:OnChanged(
GuardRivalsCallback('AnimationPlayer_CustomId', RivalsRuntimeBridge.AnimationPlayer.RefreshAll)
)
Options.P10S6S1:OnChanged(GuardRivalsCallback('AnimationPlayer_Speed', RivalsRuntimeBridge.AnimationPlayer.AdjustSpeed))
local P10S4 = MovementTab:AddRightGroupbox('Movement Recorder')
P10S4:AddToggle('P10S4T1', {
Text = 'Movement Recorder',
Default = false,
Tooltip = 'Records and replays movement, camera, equipment, item input, quick attacks, jumps, crouches, and slides per map.',
})
P10S4:AddToggle('P10S4T2', { Text = 'Hide UI', Default = false })
P10S4:AddToggle('P10S4T3', { Text = 'Hide Notifications', Default = false })
P10S4:AddDivider()
P10S4:AddSlider('P10S4S1', {
Text = 'Open Distance',
Default = 3,
Min = 1,
Max = 25,
Rounding = 1,
Compact = true,
})
P10S4:AddSlider('P10S4S2', {
Text = 'Render Distance',
Default = 50,
Min = 10,
Max = 250,
Rounding = 0,
Compact = true,
})
P10S4:AddDivider()
P10S4:AddSlider('P10S4S3', {
Text = 'Look Align Speed',
Default = 180,
Min = 45,
Max = 720,
Rounding = 0,
Compact = true,
Tooltip = 'How fast the camera turns to the recording starting look angle.',
})
P10S4:AddSlider('P10S4S4', {
Text = 'Look Smoothness',
Default = 35,
Min = 0,
Max = 100,
Rounding = 0,
Compact = true,
})
P10S4:AddSlider('P10S4S5', {
Text = 'Align Snap Distance',
Default = 0.2,
Min = 0.1,
Max = 5,
Rounding = 1,
Compact = true,
Tooltip = 'Once this close to the start, position is considered aligned.',
})
P10S4:AddDivider()
P10S4:AddToggle('P10S4T4', { Text = 'Record', Default = false })
Toggles.P10S4T4:AddKeyPicker('P10S4T4K', {
Default = 'Unknown',
Mode = 'Toggle',
Text = 'Record',
NoUI = false,
SyncToggleState = true,
})
P10S4:AddToggle('P10S4T5', { Text = 'Replay', Default = false })
Toggles.P10S4T5:AddKeyPicker('P10S4T5K', {
Default = 'Unknown',
Mode = 'Toggle',
Text = 'Replay',
NoUI = false,
SyncToggleState = true,
})
P10S4:AddDivider()
P10S4:AddInput('P10S4I1', {
Text = 'Recording Name',
Default = '',
Placeholder = 'my recording',
AllowEmpty = true,
EmptyReset = '',
Finished = true,
})
P10S4:AddButton({
Text = 'Save Recording',
Func = GuardRivalsCallback(
'MovementRecorder_Save',
function() RivalsRuntimeBridge.MovementRecorder.SaveLastRecording(Options.P10S4I1 and Options.P10S4I1.Value) end
),
})
local P10S5 = MovementTab:AddRightGroupbox('Recordings')
RivalsRuntimeBridge.MovementRecorder.LoadPersistence()
P10S5:AddDropdown('P10S4D1', {
Values = RivalsRuntimeBridge.MovementRecorder.GetMapNames(),
Default = nil,
Multi = false,
Text = 'Map',
})
P10S5:AddDropdown('P10S4D2', {
Values = {},
Default = nil,
Multi = false,
Text = 'Config',
})
P10S5:AddButton({
Text = 'Delete Recording',
DoubleClick = true,
Func = GuardRivalsCallback(
'MovementRecorder_Delete',
function() RivalsRuntimeBridge.MovementRecorder.DeleteRecording(Options.P10S4D2 and Options.P10S4D2.Value) end
),
})
P10S5:AddButton({
Text = 'Refresh Recordings',
Func = GuardRivalsCallback('MovementRecorder_Refresh', function()
RivalsRuntimeBridge.MovementRecorder.PersistenceLoaded = false
RivalsRuntimeBridge.MovementRecorder.LoadPersistence()
RivalsRuntimeBridge.MovementRecorder.RefreshRecordingOptions()
end),
})
Toggles.P10S4T1:OnChanged(
GuardRivalsCallback('MovementRecorder_Enabled', RivalsRuntimeBridge.MovementRecorder.OnEnabledToggled)
)
Toggles.P10S4T4:OnChanged(
GuardRivalsCallback('MovementRecorder_Record', RivalsRuntimeBridge.MovementRecorder.OnRecordToggled)
)
Toggles.P10S4T5:OnChanged(
GuardRivalsCallback('MovementRecorder_Replay', RivalsRuntimeBridge.MovementRecorder.OnReplayToggled)
)
Options.P10S4D1:OnChanged(
GuardRivalsCallback('MovementRecorder_Map', RivalsRuntimeBridge.MovementRecorder.RefreshRecordingOptions)
)
RivalsRuntimeBridge.MovementRecorder.RefreshRecordingOptions()
local PX10 = miscTab:AddRightGroupbox('Cheater Detector')
PX10:AddToggle('PX10T1', {
Text = 'Cheater Detector',
Default = false,
Tooltip = 'Flags players who keep moving faster than any legitimate movement allows.',
})
local DepCheaterDetector = PX10:AddDependencyBox()
DepCheaterDetector:AddToggle('PX10T2', {
Text = 'Notify',
Default = true,
Tooltip = 'Shows a notification the first time a player gets flagged.',
})
DepCheaterDetector:AddToggle('PX10T3', {
Text = 'Mark in ESP',
Default = true,
Tooltip = 'Adds [CHEATER?] after the name of flagged players in the ESP.',
})
DepCheaterDetector:AddSlider('PX10S1', {
Text = 'Speed Threshold',
Default = 120,
Min = 60,
Max = 300,
Rounding = 0,
Suffix = ' studs/s',
Compact = true,
Tooltip = 'Sustained horizontal speed above this flags a player. Lower catches more but risks false flags.',
})
DepCheaterDetector:SetupDependencies({ { Toggles.PX10T1, true } })
local P10S7 = miscTab:AddRightGroupbox('Device Spoof')
P10S7:AddToggle('P10S7T1', {
Text = 'Device Spoof',
Default = false,
Tooltip = 'Reports your input device to the server as the chosen platform.',
})
P10S7:AddDropdown('P10S7D1', {
Values = { 'Desktop', 'Mobile', 'Console', 'VR' },
Default = 'VR',
Text = 'Spoof Type',
Tooltip = 'Which device type you appear to be playing on.',
})
Toggles.P10S7T1:OnChanged(GuardRivalsCallback('DeviceSpoof_Toggle', RivalsRuntimeBridge.DeviceSpoof.RefreshAll))
Options.P10S7D1:OnChanged(GuardRivalsCallback('DeviceSpoof_SpoofType', RivalsRuntimeBridge.DeviceSpoof.RefreshAll))
local P10S2 = miscTab:AddRightGroupbox('Staff Detector')
P10S2:AddToggle('P10S2T1', {
Text = 'Staff Detector',
Default = false,
Tooltip = 'Detects RIVALS moderators and players who are friends with a moderator.',
})
P10S2:AddDropdown('P10S2D1', {
Values = { 'Notify', 'Kick', 'To Lobby' },
Default = {},
Multi = true,
Text = 'Moderator Actions',
Tooltip = 'Actions for direct RIVALS staff. Kick takes precedence over To Lobby when both are selected.',
})
P10S2:AddDropdown('P10S2D2', {
Values = { 'Notify', 'Kick', 'To Lobby' },
Default = {},
Multi = true,
Text = 'Mod Friend Actions',
Tooltip = 'Actions for players whose friends list contains RIVALS staff. Kick takes precedence over To Lobby.',
})
P10S2:AddLabel('Text Color'):AddColorPicker('P10S2C1', {
Default = Color3.fromRGB(250, 170, 70),
Title = 'Staff Detector Text Color',
})
-- ======================================================================
-- Staff detector
-- ======================================================================
local StaffDetector = {
Notifications = {},
Connections = {},
RoleCache = {},
FriendCache = {},
Detections = {},
ActionCache = {},
ClassificationInFlight = {},
RetryGeneration = {},
StaffUserIds = {},
GroupId = 3461453,
MinimumRank = 100,
LobbyPlaceId = 17625359962,
RoleCacheLifetime = 300,
FriendCacheLifetime = 300,
StaffSetLifetime = 900,
FailureRetryDelay = 15,
MaxStaffRoles = 32,
MaxGroupPagesPerRole = 10,
MaxFriendPages = 5,
StaffSetExpiresAt = 0,
StaffSetReady = false,
StaffSetComplete = false,
StaffSetLoading = false,
EscapeCooldownUntil = 0,
Enabled = false,
Unloaded = false,
Generation = 0,
HttpService = game:GetService('HttpService'),
TeleportService = game:GetService('TeleportService'),
}
function StaffDetector.IsStaff(player)
if not player or player == LP then return false end
local cached = StaffDetector.RoleCache[player.UserId]
if cached and cached.ExpiresAt > os.clock() then return cached.Value end
local ok, rank = pcall(function() return player:GetRankInGroup(StaffDetector.GroupId) end)
if not ok or type(rank) ~= 'number' then return nil end
local isStaff = rank >= StaffDetector.MinimumRank
StaffDetector.RoleCache[player.UserId] = {
Value = isStaff,
ExpiresAt = os.clock() + StaffDetector.RoleCacheLifetime,
}
if isStaff then StaffDetector.StaffUserIds[player.UserId] = true end
return isStaff
end
function StaffDetector.FetchJson(url)
local requestOk, response = pcall(game.HttpGet, game, url)
if not requestOk or type(response) ~= 'string' then return nil end
local decodeOk, decoded = pcall(StaffDetector.HttpService.JSONDecode, StaffDetector.HttpService, response)
return decodeOk and type(decoded) == 'table' and decoded or nil
end
function StaffDetector.EnsureStaffUserIds()
local now = os.clock()
if StaffDetector.StaffSetReady and StaffDetector.StaffSetExpiresAt > now then return true end
if StaffDetector.StaffSetLoading then
local waitUntil = now + 5
repeat
task.wait(0.05)
until not StaffDetector.StaffSetLoading or os.clock() >= waitUntil or StaffDetector.Unloaded
return StaffDetector.StaffSetReady
end
StaffDetector.StaffSetLoading = true
local roles =
StaffDetector.FetchJson(string.format('https://groups.roblox.com/v1/groups/%d/roles', StaffDetector.GroupId))
local nextStaffUserIds = {}
local complete = roles ~= nil and type(roles.roles) == 'table'
local staffRoleCount = 0
if complete then
for _, role in ipairs(roles.roles) do
if
type(role) == 'table'
and type(role.rank) == 'number'
and role.rank >= StaffDetector.MinimumRank
and tonumber(role.id)
then
staffRoleCount = staffRoleCount + 1
if staffRoleCount > StaffDetector.MaxStaffRoles then
complete = false
break
end
local cursor = nil
local pageCount = 0
repeat
pageCount = pageCount + 1
local url = string.format(
'https://groups.roblox.com/v1/groups/%d/roles/%d/users?limit=100&sortOrder=Asc',
StaffDetector.GroupId,
tonumber(role.id)
)
if cursor and cursor ~= '' then
url = url .. '&cursor=' .. StaffDetector.HttpService:UrlEncode(cursor)
end
local page = StaffDetector.FetchJson(url)
if not page or type(page.data) ~= 'table' then
complete = false
break
end
for _, member in ipairs(page.data) do
local userId = type(member) == 'table' and tonumber(member.userId or member.id) or nil
if userId then nextStaffUserIds[userId] = true end
end
cursor = page.nextPageCursor
until not cursor or cursor == '' or pageCount >= StaffDetector.MaxGroupPagesPerRole
if cursor and cursor ~= '' then complete = false end
end
end
end
if complete then
StaffDetector.StaffUserIds = nextStaffUserIds
StaffDetector.StaffSetReady = true
StaffDetector.StaffSetComplete = true
else
for userId in pairs(nextStaffUserIds) do
StaffDetector.StaffUserIds[userId] = true
end
StaffDetector.StaffSetReady = StaffDetector.StaffSetReady or next(StaffDetector.StaffUserIds) ~= nil
StaffDetector.StaffSetComplete = false
end
StaffDetector.StaffSetExpiresAt = os.clock()
+ (complete and StaffDetector.StaffSetLifetime or StaffDetector.FailureRetryDelay)
StaffDetector.StaffSetLoading = false
return StaffDetector.StaffSetReady
end
function StaffDetector.IsModFriend(player)
if not player or player == LP then return false end
local cached = StaffDetector.FriendCache[player.UserId]
if cached and cached.ExpiresAt > os.clock() then return cached.Value, cached.StaffFriendName end
if not StaffDetector.EnsureStaffUserIds() then return nil end
local friendsOk, friendPages = pcall(Players.GetFriendsAsync, Players, player.UserId)
if not friendsOk or not friendPages then return nil end
local matchedName = nil
local pageCount = 0
local complete = true
repeat
pageCount = pageCount + 1
local pageOk, friends = pcall(friendPages.GetCurrentPage, friendPages)
if not pageOk or type(friends) ~= 'table' then
complete = false
break
end
for _, friend in ipairs(friends) do
local friendUserId = type(friend) == 'table' and tonumber(friend.Id or friend.UserId or friend.id) or nil
if friendUserId and StaffDetector.StaffUserIds[friendUserId] then
matchedName = friend.Username or friend.DisplayName or tostring(friendUserId)
break
end
end
if matchedName or friendPages.IsFinished then break end
if pageCount >= StaffDetector.MaxFriendPages then
complete = false
break
end
local advanceOk = pcall(friendPages.AdvanceToNextPageAsync, friendPages)
if not advanceOk then
complete = false
break
end
until false
if not matchedName and (not complete or not StaffDetector.StaffSetComplete) then return nil end
local isModFriend = matchedName ~= nil
StaffDetector.FriendCache[player.UserId] = {
Value = isModFriend,
StaffFriendName = matchedName,
ExpiresAt = os.clock() + StaffDetector.FriendCacheLifetime,
}
return isModFriend, matchedName
end
function StaffDetector.IsActionSelected(kind, action)
local option = Options[kind == 'Moderator' and 'P10S2D1' or 'P10S2D2']
return option and type(option.Value) == 'table' and option.Value[action] == true
end
function StaffDetector.DestroyNotification(kind)
local notification = StaffDetector.Notifications[kind]
if not notification then return end
pcall(function()
if type(notification.Destroy) == 'function' then
notification:Destroy()
elseif type(notification.Remove) == 'function' then
notification:Remove()
end
end)
StaffDetector.Notifications[kind] = nil
end
function StaffDetector.UpdateNotifications()
for _, kind in ipairs({ 'Moderator', 'ModFriend' }) do
local names = {}
if StaffDetector.Enabled and StaffDetector.IsActionSelected(kind, 'Notify') then
for _, detection in pairs(StaffDetector.Detections) do
if detection.Kind == kind and detection.Player and detection.Player.Parent == Players then
local name = detection.Player.DisplayName or detection.Player.Name
if kind == 'ModFriend' and detection.StaffFriendName then
name = string.format('%s (friend of %s)', name, detection.StaffFriendName)
end
table.insert(names, name)
end
end
end
table.sort(names)
if #names == 0 then
StaffDetector.DestroyNotification(kind)
else
local description = (kind == 'Moderator' and 'In server: ' or 'In server: ') .. table.concat(names, ', ')
local notification = StaffDetector.Notifications[kind]
if notification then
local changed = pcall(function() notification:ChangeDescription(description) end)
if not changed then StaffDetector.DestroyNotification(kind) end
end
if not StaffDetector.Notifications[kind] then
local ok, created = pcall(
function()
return Library:Notify({
Title = kind == 'Moderator' and 'Moderator Detected' or 'Mod Friend Detected',
Description = description,
Persist = true,
TitleColor = Options.P10S2C1.Value,
DescriptionColor = Options.P10S2C1.Value,
})
end
)
if ok and created then StaffDetector.Notifications[kind] = created end
end
end
end
end
function StaffDetector.RunActions(detection)
if not StaffDetector.Enabled or not detection or not detection.Player then return end
local kind = detection.Kind
local actionPrefix = string.format('%s:%d:', kind, detection.Player.UserId)
if StaffDetector.IsActionSelected(kind, 'Kick') then
local actionKey = actionPrefix .. 'Kick'
if not StaffDetector.ActionCache[actionKey] then
StaffDetector.ActionCache[actionKey] = true
pcall(
LP.Kick,
LP,
string.format(
'Staff Detector: %s detected (%s).',
detection.Player.Name,
kind == 'Moderator' and 'moderator' or 'moderator friend'
)
)
end
return
end
if StaffDetector.IsActionSelected(kind, 'To Lobby') and game.PlaceId ~= StaffDetector.LobbyPlaceId then
local actionKey = actionPrefix .. 'To Lobby'
if not StaffDetector.ActionCache[actionKey] and os.clock() >= StaffDetector.EscapeCooldownUntil then
StaffDetector.EscapeCooldownUntil = os.clock() + 5
local ok = pcall(
StaffDetector.TeleportService.Teleport,
StaffDetector.TeleportService,
StaffDetector.LobbyPlaceId,
LP
)
if ok then StaffDetector.ActionCache[actionKey] = true end
end
end
end
function StaffDetector.QueueClassification(player, delaySeconds)
if not StaffDetector.Enabled or not player or player == LP then return end
local userId = player.UserId
local retryGeneration = (StaffDetector.RetryGeneration[userId] or 0) + 1
StaffDetector.RetryGeneration[userId] = retryGeneration
local detectorGeneration = StaffDetector.Generation
task.delay(delaySeconds or 0, function()
if
not StaffDetector.Enabled
or StaffDetector.Unloaded
or detectorGeneration ~= StaffDetector.Generation
or retryGeneration ~= StaffDetector.RetryGeneration[userId]
or player.Parent ~= Players
or StaffDetector.ClassificationInFlight[userId]
then
return
end
StaffDetector.ClassificationInFlight[userId] = true
local isStaff = StaffDetector.IsStaff(player)
local detection = nil
local unavailable = isStaff == nil
if isStaff == true then
detection = { Player = player, Kind = 'Moderator' }
elseif isStaff == false then
local isModFriend, staffFriendName = StaffDetector.IsModFriend(player)
unavailable = isModFriend == nil
if isModFriend == true then
detection = {
Player = player,
Kind = 'ModFriend',
StaffFriendName = staffFriendName,
}
end
end
StaffDetector.ClassificationInFlight[userId] = nil
if
not StaffDetector.Enabled
or StaffDetector.Unloaded
or detectorGeneration ~= StaffDetector.Generation
or retryGeneration ~= StaffDetector.RetryGeneration[userId]
or player.Parent ~= Players
then
return
end
StaffDetector.Detections[userId] = detection
StaffDetector.UpdateNotifications()
if detection then
StaffDetector.RunActions(detection)
elseif unavailable then
StaffDetector.QueueClassification(player, StaffDetector.FailureRetryDelay)
end
end)
end
function StaffDetector.Refresh()
if not StaffDetector.Enabled then
StaffDetector.UpdateNotifications()
return
end
local activeUserIds = {}
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LP then
activeUserIds[player.UserId] = true
StaffDetector.QueueClassification(player, 0)
end
end
for userId in pairs(StaffDetector.Detections) do
if not activeUserIds[userId] then StaffDetector.Detections[userId] = nil end
end
StaffDetector.UpdateNotifications()
end
function StaffDetector.DisconnectPlayers()
for key, connection in pairs(StaffDetector.Connections) do
pcall(function() connection:Disconnect() end)
StaffDetector.Connections[key] = nil
end
end
function StaffDetector.Start()
if StaffDetector.Enabled or StaffDetector.Unloaded then return end
StaffDetector.Enabled = true
StaffDetector.Generation = StaffDetector.Generation + 1
StaffDetector.Connections.PlayerAdded = Players.PlayerAdded:Connect(
GuardRivalsCallback(
'StaffDetector_PlayerAdded',
function(player) StaffDetector.QueueClassification(player, 0) end
)
)
StaffDetector.Connections.PlayerRemoving =
Players.PlayerRemoving:Connect(GuardRivalsCallback('StaffDetector_PlayerRemoving', function(player)
local userId = player.UserId
StaffDetector.RoleCache[userId] = nil
StaffDetector.FriendCache[userId] = nil
StaffDetector.Detections[userId] = nil
StaffDetector.ClassificationInFlight[userId] = nil
StaffDetector.RetryGeneration[userId] = nil
for actionKey in pairs(StaffDetector.ActionCache) do
if actionKey:find(':' .. tostring(userId) .. ':', 1, true) then
StaffDetector.ActionCache[actionKey] = nil
end
end
StaffDetector.UpdateNotifications()
end))
StaffDetector.Refresh()
end
function StaffDetector.Destroy(unloading)
StaffDetector.Enabled = false
StaffDetector.Generation = StaffDetector.Generation + 1
StaffDetector.DisconnectPlayers()
for _, kind in ipairs({ 'Moderator', 'ModFriend' }) do
StaffDetector.DestroyNotification(kind)
end
table.clear(StaffDetector.Detections)
table.clear(StaffDetector.ActionCache)
table.clear(StaffDetector.ClassificationInFlight)
table.clear(StaffDetector.RetryGeneration)
if unloading then
StaffDetector.Unloaded = true
table.clear(StaffDetector.RoleCache)
table.clear(StaffDetector.FriendCache)
table.clear(StaffDetector.StaffUserIds)
end
end
function StaffDetector.ActionsChanged()
StaffDetector.UpdateNotifications()
if StaffDetector.Enabled then
for _, detection in pairs(StaffDetector.Detections) do
StaffDetector.RunActions(detection)
end
end
end
function StaffDetector.ColorChanged()
for _, kind in ipairs({ 'Moderator', 'ModFriend' }) do
StaffDetector.DestroyNotification(kind)
end
StaffDetector.UpdateNotifications()
end
Toggles.P10S2T1:OnChanged(GuardRivalsCallback('StaffDetector_ToggleChanged', function(value)
if value then
StaffDetector.Start()
else
StaffDetector.Destroy()
end
end))
Options.P10S2D1:OnChanged(GuardRivalsCallback('StaffDetector_ModeratorActionsChanged', StaffDetector.ActionsChanged))
Options.P10S2D2:OnChanged(GuardRivalsCallback('StaffDetector_ModFriendActionsChanged', StaffDetector.ActionsChanged))
Options.P10S2C1:OnChanged(GuardRivalsCallback('StaffDetector_ColorChanged', StaffDetector.ColorChanged))
Library:OnUnload(GuardRivalsCallback('StaffDetector_Unload', function() StaffDetector.Destroy(true) end))
RivalsRuntimeBridge.Extras.BuildMiscUi(miscTab)
return miscTab
end
-- ======================================================================
-- Serverhop tab (Trello #25)
-- ======================================================================
-- Lists the public servers of the place you are in (Roblox's own server list: players, fps, ping), filtered by player count,
-- and joins one: the one you picked, the lowest ping or the emptiest. A join that fails goes on to the next server; when Roblox
-- limits the list what was loaded stays on screen instead of an empty list.
--
-- Roblox hands the list out sorted by player count (Asc = emptiest first, Desc = fullest first), 100 servers a page, and answers
-- 429 after only a few requests a minute. So the list is read from BOTH ends and each end remembers how far it got (its
-- frontier). A player count that lies between the two frontiers is searched for from the nearer end, one page at a time, and the
-- search stops the moment a server with that count shows up. A refresh that Roblox refuses keeps the servers already loaded.
do
local HttpService = game:GetService('HttpService')
local TeleportService = game:GetService('TeleportService')
local function freshFrontier()
return {
Asc = { Count = nil, Cursor = nil, Started = false, Done = false },
Desc = { Count = nil, Cursor = nil, Started = false, Done = false },
}
end
local Serverhop = {
Pool = {}, -- id -> server, everything loaded so far
Servers = {}, -- the pool as a list
Frontier = freshFrontier(),
LoadedAt = 0,
LimitedUntil = 0,
Labels = {}, -- list text -> server
FetchedAt = 0,
Busy = false,
Joining = false,
LastMore = 'Desc',
}
RivalsRuntimeBridge.Serverhop = Serverhop
local MIN_FETCH_GAP = 3
local PAGE_GAP = 2 -- between two pages of one search
local SEARCH_STEPS = 8
local LIMIT_PAUSE = 25
local MAX_PLAYERS = 40
local JOIN_WAIT = 8
local MAX_ATTEMPTS = 5
local function toggleOn(id) return Toggles ~= nil and Toggles[id] ~= nil and Toggles[id].Value == true end
local function optionValue(id, fallback)
local option = Options and Options[id]
if option == nil or option.Value == nil then return fallback end
return option.Value
end
local function notify(text, seconds)
if Library and Library.Notify then
pcall(function() Library:Notify({ Title = 'Serverhop', Description = text, Time = seconds or 4 }) end)
end
end
local function currentPlaceId() return game.PlaceId end
local function chosenCount() return tonumber(optionValue('ZSHD1', 'Any')) end
-- ---------------------------------------------------------------- one page from Roblox
local function httpGet(url)
local requestFunction = (syn and syn.request) or request or http_request or (http and http.request)
if type(requestFunction) == 'function' then
local ok, response = pcall(requestFunction, { Url = url, Method = 'GET' })
if ok and type(response) == 'table' then return response.StatusCode, response.Body end
return nil, tostring(response)
end
local ok, body = pcall(game.HttpGet, game, url)
if ok then return 200, body end
return nil, tostring(body)
end
-- returns the servers of one page and the cursor of the next one (nil at the end); on failure nil, nil and the reason
function Serverhop.FetchPage(placeId, direction, cursor)
local url = string.format(
'https://games.roblox.com/v1/games/%d/servers/Public?sortOrder=%s&limit=100%s',
placeId,
direction,
cursor and ('&cursor=' .. cursor) or ''
)
local status, body = httpGet(url)
if status == 429 then
Serverhop.LimitedUntil = os.clock() + LIMIT_PAUSE
return nil, nil, 'Roblox is limiting the server list'
end
if status ~= 200 then return nil, nil, 'the server list did not load (' .. tostring(status) .. ')' end
local ok, decoded = pcall(HttpService.JSONDecode, HttpService, body)
if not ok or type(decoded) ~= 'table' or type(decoded.data) ~= 'table' then
return nil, nil, 'the server list answer was not readable'
end
local servers = {}
for _, entry in ipairs(decoded.data) do
if type(entry) == 'table' and type(entry.id) == 'string' then
servers[#servers + 1] = {
id = entry.id,
playing = tonumber(entry.playing) or 0,
max = tonumber(entry.maxPlayers) or 0,
ping = tonumber(entry.ping),
fps = tonumber(entry.fps),
}
end
end
return servers, type(decoded.nextPageCursor) == 'string' and decoded.nextPageCursor or nil
end
-- ---------------------------------------------------------------- the pool and its two frontiers
function Serverhop.Sync()
local list = {}
for _, server in pairs(Serverhop.Pool) do
list[#list + 1] = server
end
Serverhop.Servers = list
Serverhop.LoadedAt = os.clock()
end
function Serverhop.Absorb(direction, servers, nextCursor)
local frontier = Serverhop.Frontier[direction]
frontier.Started = true
frontier.Cursor = nextCursor
frontier.Done = nextCursor == nil
for _, server in ipairs(servers) do
Serverhop.Pool[server.id] = server
end
local last = servers[#servers]
if last then
if direction == 'Asc' then
frontier.Count = math.max(frontier.Count or 0, last.playing)
else
frontier.Count = math.min(frontier.Count or math.huge, last.playing)
end
end
Serverhop.Sync()
end
function Serverhop.HasCount(count)
for _, server in pairs(Serverhop.Pool) do
if server.playing == count then return true end
end
return false
end
-- true when a page boundary has already gone past this player count, so the pool holds every server that has it
function Serverhop.Covers(count)
local asc, desc = Serverhop.Frontier.Asc, Serverhop.Frontier.Desc
if asc.Started and (asc.Done or (asc.Count ~= nil and count < asc.Count)) then return true end
if desc.Started and (desc.Done or (desc.Count ~= nil and count > desc.Count)) then return true end
return false
end
-- the end that has the shorter way left to a player count (nil when both ends are read to the finish)
function Serverhop.NextDirection(count)
local asc, desc = Serverhop.Frontier.Asc, Serverhop.Frontier.Desc
if asc.Done and desc.Done then return nil end
local ascGap = asc.Done and math.huge or math.abs(count - (asc.Count or 0))
local descGap = desc.Done and math.huge or math.abs((desc.Count or MAX_PLAYERS) - count)
return ascGap <= descGap and 'Asc' or 'Desc'
end
-- reads the next page of one end
function Serverhop.Step(direction)
local frontier = Serverhop.Frontier[direction]
local servers, nextCursor, reason = Serverhop.FetchPage(currentPlaceId(), direction, frontier.Cursor)
if not servers then return false, reason end
Serverhop.Absorb(direction, servers, nextCursor)
return true
end
-- pages towards a player count until one shows up, a boundary passes it, Roblox says wait or the budget is gone
function Serverhop.Search(count, steps)
for _ = 1, steps or SEARCH_STEPS do
if Serverhop.HasCount(count) then return true end
if Serverhop.Covers(count) then return false end -- a page boundary went past it: there is none
if os.clock() < Serverhop.LimitedUntil then return false, 'Roblox is limiting the server list' end
local direction = Serverhop.NextDirection(count)
if not direction then return false, 'that is the whole list' end
local ok, reason = Serverhop.Step(direction)
if not ok then return false, reason end
if Serverhop.Rebuild then Serverhop.Rebuild() end
task.wait(PAGE_GAP)
end
return Serverhop.HasCount(count)
end
-- servers worth showing: not this one, not full, and the chosen player count when one is chosen
function Serverhop.Filter(servers, count, currentJobId)
local out = {}
for _, server in ipairs(servers) do
local isOther = server.id ~= currentJobId
local hasRoom = server.max <= 0 or server.playing < server.max
local countOk = count == nil or server.playing == count
if isOther and hasRoom and countOk then out[#out + 1] = server end
end
return out
end
local function pingOf(server) return server.ping or math.huge end
-- display order: lowest ping first, then fewest players
function Serverhop.SortByPing(servers)
local sorted = table.clone(servers)
table.sort(sorted, function(a, b)
if pingOf(a) ~= pingOf(b) then return pingOf(a) < pingOf(b) end
if a.playing ~= b.playing then return a.playing < b.playing end
return a.id < b.id
end)
return sorted
end
function Serverhop.SortByPlayers(servers)
local sorted = table.clone(servers)
table.sort(sorted, function(a, b)
if a.playing ~= b.playing then return a.playing < b.playing end
if pingOf(a) ~= pingOf(b) then return pingOf(a) < pingOf(b) end
return a.id < b.id
end)
return sorted
end
function Serverhop.Label(index, server)
local color = Library and Library.Palette and Library.Palette.accent or nil
local hex = typeof(color) == 'Color3' and color:ToHex() or '7d55ff'
local fps = server.fps and string.format('%d', server.fps) or '?'
local ping = server.ping and string.format('%d', server.ping) or '?'
return string.format(
'Server #%d <font color="#%s">%d/%d</font> fps: <font color="#%s">%s</font> ping: <font color="#%s">%s</font>',
index,
hex,
server.playing,
server.max,
hex,
fps,
hex,
ping
)
end
-- ---------------------------------------------------------------- joining
-- tries the candidates in order; a teleport that fails (or never leaves) moves on to the next one
function Serverhop.JoinFrom(candidates)
if Serverhop.Joining then
notify('Already joining a server.')
return false
end
if #candidates == 0 then
notify('No server to join. Refresh the list or change the player count.')
return false
end
Serverhop.Joining = true
task.spawn(function()
local failed = false
local connection = TeleportService.TeleportInitFailed:Connect(function() failed = true end)
for attempt = 1, math.min(#candidates, MAX_ATTEMPTS) do
local server = candidates[attempt]
failed = false
notify(string.format('Joining server %d of %d (%d players, ping %s).', attempt, math.min(#candidates, MAX_ATTEMPTS), server.playing, server.ping and tostring(math.floor(server.ping)) or '?'), 3)
local ok = pcall(TeleportService.TeleportToPlaceInstance, TeleportService, currentPlaceId(), server.id, LP)
if not ok then failed = true end
local waited = 0
while not failed and waited < JOIN_WAIT do
task.wait(0.25)
waited = waited + 0.25
end
if not failed then break end -- still here after the wait means the teleport is under way
if attempt < math.min(#candidates, MAX_ATTEMPTS) then notify('That server did not accept you. Trying the next one.', 3) end
end
connection:Disconnect()
Serverhop.Joining = false
end)
return true
end
-- ---------------------------------------------------------------- what the tab shows
function Serverhop.Visible()
return Serverhop.SortByPing(Serverhop.Filter(Serverhop.Servers, chosenCount(), game.JobId))
end
function Serverhop.StatusText(shown)
local asc, desc = Serverhop.Frontier.Asc, Serverhop.Frontier.Desc
local loaded = #Serverhop.Servers
local text = string.format('%d shown, %d loaded', shown, loaded)
if loaded > 0 then
local from = asc.Started and tostring(asc.Count or '?') or '-'
local to = desc.Started and tostring(desc.Count or '?') or '-'
text = text .. string.format(' (up to %s players from the bottom, down to %s from the top)', from, to)
end
local count = chosenCount()
if shown == 0 and count then
if os.clock() < Serverhop.LimitedUntil then
text = string.format('No server with %d players loaded yet. Roblox is limiting the list: try again in %ds.', count, math.ceil(Serverhop.LimitedUntil - os.clock()))
elseif Serverhop.Covers(count) then
text = string.format('No server has %d players right now.', count)
else
text = string.format('No server with %d players loaded yet. Press Load More.', count)
end
end
return text
end
function Serverhop.Rebuild()
local list = Options and Options.ZSHL1
if not list then return end
local visible = Serverhop.Visible()
local labels = {}
Serverhop.Labels = {}
for index, server in ipairs(visible) do
local label = Serverhop.Label(index, server)
labels[#labels + 1] = label
Serverhop.Labels[label] = server
end
list:SetValues(labels)
if Serverhop.StatusLabel then Serverhop.StatusLabel:SetText(Serverhop.StatusText(#labels)) end
end
-- a fresh start: the first page of each end; if Roblox refuses both, what was loaded before stays
function Serverhop.Refresh(manual)
if Serverhop.Busy then return end
if os.clock() < Serverhop.LimitedUntil then
if manual then notify(string.format('Roblox is limiting the server list. Try again in %ds.', math.ceil(Serverhop.LimitedUntil - os.clock())), 3) end
return
end
if os.clock() - Serverhop.FetchedAt < MIN_FETCH_GAP then
if manual then notify('Wait a moment before refreshing again.', 2) end
return
end
Serverhop.Busy = true
Serverhop.FetchedAt = os.clock()
task.spawn(function()
local kept = { Pool = Serverhop.Pool, Servers = Serverhop.Servers, Frontier = Serverhop.Frontier, LoadedAt = Serverhop.LoadedAt }
Serverhop.Pool, Serverhop.Frontier = {}, freshFrontier()
local okAsc, reasonAsc = Serverhop.Step('Asc')
task.wait(PAGE_GAP)
local okDesc, reasonDesc = Serverhop.Step('Desc')
if not okAsc and not okDesc then
Serverhop.Pool, Serverhop.Servers, Serverhop.Frontier, Serverhop.LoadedAt = kept.Pool, kept.Servers, kept.Frontier, kept.LoadedAt
if #kept.Servers > 0 then
notify('Showing the last list: ' .. tostring(reasonAsc or reasonDesc) .. '.', 4)
else
notify((tostring(reasonAsc or reasonDesc):gsub('^%l', string.upper)) .. '.', 4)
end
else
local count = chosenCount()
if count then Serverhop.Search(count) end
end
Serverhop.Busy = false
if not Library.Unloaded then Serverhop.Rebuild() end
end)
end
-- one more page, from the end that is nearer to the chosen player count (or the two ends in turn)
function Serverhop.LoadMore()
if Serverhop.Busy then return end
if os.clock() < Serverhop.LimitedUntil then
notify(string.format('Roblox is limiting the server list. Try again in %ds.', math.ceil(Serverhop.LimitedUntil - os.clock())), 3)
return
end
local count = chosenCount()
local direction = count and Serverhop.NextDirection(count)
if not direction then
direction = Serverhop.LastMore == 'Desc' and 'Asc' or 'Desc'
if Serverhop.Frontier[direction].Done then direction = direction == 'Asc' and 'Desc' or 'Asc' end
end
if Serverhop.Frontier[direction].Done then
notify('The whole server list is loaded.', 3)
return
end
Serverhop.LastMore = direction
Serverhop.Busy = true
task.spawn(function()
local ok, reason = Serverhop.Step(direction)
if not ok then notify(tostring(reason):gsub('^%l', string.upper) .. '.', 4) end
Serverhop.Busy = false
if not Library.Unloaded then Serverhop.Rebuild() end
end)
end
-- the player count was changed: show what is loaded, then look for it if it is not there yet
function Serverhop.CountChanged()
Serverhop.Rebuild()
local count = chosenCount()
if not count or Serverhop.Busy or Serverhop.HasCount(count) or Serverhop.Covers(count) then return end
if #Serverhop.Servers == 0 then return end
Serverhop.Busy = true
task.spawn(function()
local found, reason = Serverhop.Search(count)
if not found and reason then notify(tostring(reason):gsub('^%l', string.upper) .. '.', 4) end
Serverhop.Busy = false
if not Library.Unloaded then Serverhop.Rebuild() end
end)
end
local function selectedServer()
local list = Options and Options.ZSHL1
return list and Serverhop.Labels[list.Value] or nil
end
-- the picked server first, the rest by ping as the fallbacks
function Serverhop.JoinSelected()
local picked = selectedServer()
if not picked then
notify('Pick a server in the list first.')
return
end
local queue = { picked }
for _, server in ipairs(Serverhop.Visible()) do
if server.id ~= picked.id then queue[#queue + 1] = server end
end
Serverhop.JoinFrom(queue)
end
function Serverhop.JoinLowestPing()
Serverhop.JoinFrom(Serverhop.SortByPing(Serverhop.Filter(Serverhop.Servers, nil, game.JobId)))
end
function Serverhop.JoinLowestPlayers()
Serverhop.JoinFrom(Serverhop.SortByPlayers(Serverhop.Filter(Serverhop.Servers, nil, game.JobId)))
end
-- ---------------------------------------------------------------- the tab (called from the menu assembly)
function Serverhop.BuildTab(Window)
local tab = Window:AddTab('Serverhop', 'server')
local group = tab:AddLeftGroupbox('Servers')
local counts = { 'Any' }
for number = 1, MAX_PLAYERS do
counts[#counts + 1] = tostring(number)
end
group:AddDropdown('ZSHD1', {
Text = 'Focus Player Count',
Values = counts,
Default = 'Any',
Multi = false,
Searchable = true,
Tooltip = 'Only list servers with exactly this many players (1 to 40). If none is loaded yet it is searched for, from whichever end of the list is nearer.',
})
if group.AddList then
group:AddList('ZSHL1', { Text = 'Server List', Height = 230, Empty = 'Press Refresh' })
else
group:AddDropdown('ZSHL1', { Text = 'Server List', Values = {}, Default = nil, Multi = false, Searchable = true })
end
Serverhop.StatusLabel = group:AddLabel('Press Refresh to load the servers.')
group:AddButton({ Text = 'Join', Tooltip = 'Joins the server picked in the list; if it will not take you the next best one is tried.', Func = GuardRivalsCallback('Serverhop_Join', Serverhop.JoinSelected) })
group:AddButton({ Text = 'Join Lowest Ping', Tooltip = 'Joins the server with the lowest ping.', Func = GuardRivalsCallback('Serverhop_Ping', Serverhop.JoinLowestPing) })
group:AddButton({ Text = 'Join Lowest Player', Tooltip = 'Joins the emptiest server.', Func = GuardRivalsCallback('Serverhop_Players', Serverhop.JoinLowestPlayers) })
group:AddButton({ Text = 'Refresh', Tooltip = 'Loads the server list again. If Roblox limits it, what is loaded stays.', Func = GuardRivalsCallback('Serverhop_Refresh', function() Serverhop.Refresh(true) end) })
group:AddButton({ Text = 'Load More', Tooltip = 'Reads one more page of the list (Roblox only allows a few a minute).', Func = GuardRivalsCallback('Serverhop_More', Serverhop.LoadMore) })
Options.ZSHD1:OnChanged(GuardRivalsCallback('Serverhop_Count', Serverhop.CountChanged))
-- the first list loads shortly after the tab is built, so it is there when the tab is opened
task.delay(3, GuardRivalsCallback('Serverhop_First', function() Serverhop.Refresh(false) end))
end
if type(getgenv) == 'function' then
local probe = getgenv().__ZkxHubTest
if type(probe) == 'table' then probe.Serverhop = Serverhop end
end
end
-- ======================================================================
-- Menu: assembly
-- ======================================================================
BuildRivalsUi = function(Window)
BuildRivalsEspUi(Window)
__ZkhHub_genv.ZkxLoad(0.50, 'Building Combat')
local CombatTab = BuildRivalsAimbotUi(Window)
BuildRivalsModsUi(CombatTab)
__ZkhHub_genv.ZkxLoad(0.58, 'Building Ragebot')
BuildRivalsRagebotUi(Window)
__ZkhHub_genv.ZkxLoad(0.61, 'Building Classic Ragebot')
RivalsRuntimeBridge.BuildClassicRagebotUi(Window)
__ZkhHub_genv.ZkxLoad(0.64, 'Building Automation')
local AutomationTab = BuildRivalsPickupUi(Window)
BuildRivalsAntihitUi(AutomationTab)
__ZkhHub_genv.ZkxLoad(0.72, 'Building Visuals')
BuildRivalsVisualsUi(Window)
__ZkhHub_genv.ZkxLoad(0.80, 'Building Misc')
local MiscTab = BuildRivalsMiscUi(Window)
BuildRivalsCosmeticsUi(MiscTab)
RivalsRuntimeBridge.Serverhop.BuildTab(Window)
__ZkhHub_genv.ZkxLoad(0.88, 'Finishing the menu')
RivalsRuntimeBridge.Extras.CollapseLongGroups()
end
local RivalsRuntime = {}
-- ======================================================================
-- Runtime lifecycle: teardown, loops, startup
-- ======================================================================
function RivalsRuntime.ResetState()
RivalsRuntimeBridge.Freecam.Disable()
RivalsRuntimeBridge.CameraTilt.Destroy()
RivalsRuntimeBridge.WorldVisuals.Destroy()
RivalsRuntimeBridge.ViewmodelVisuals.Destroy()
RivalsRuntimeBridge.NativeRemovals.Destroy()
RivalsRagebotState.RespawnBinding = nil
RivalsRuntimeBridge.Movement.Destroy()
RivalsRuntimeBridge.DeviceSpoof.Destroy()
RivalsRuntimeBridge.PlayerSpoofer.Destroy()
RivalsRuntimeBridge.AnimationPlayer.Destroy()
RivalsRuntimeBridge.MovementRecorder.Destroy()
if RivalsRuntimeBridge.ZHubRagebotDestroy then RivalsRuntimeBridge.ZHubRagebotDestroy() end
if RivalsRuntimeBridge.DestroyZkhHubRagebot then RivalsRuntimeBridge.DestroyZkhHubRagebot() end
RivalsRuntimeBridge.CombatFeedback.Destroy()
if RivalsRuntimeBridge.HitLog then RivalsRuntimeBridge.HitLog.Destroy() end
if RivalsRuntimeBridge.NameStyle then RivalsRuntimeBridge.NameStyle.Destroy() end
if RivalsRuntimeBridge.PlayerChams then RivalsRuntimeBridge.PlayerChams.Destroy() end
RivalsRuntimeBridge.AimbotTargeting.Destroy()
RivalsRuntimeBridge.CombatBot.Destroy()
RivalsRuntimeBridge.CheaterDetector.Reset()
RivalsRuntimeBridge.ResetRivalsCosmetics()
RivalsModsState.RestoreHooks()
AimbotBridge.ResetAimbotRuntimeState()
AimbotBridge.ResetTriggerbotReactionState()
AimbotBridge.ResetCameraAimRandomState()
RivalsRuntimeBridge.ResetFlickbot()
RivalsRagebotState.Target = nil
RivalsRagebotState.HoldCFrame = nil
RivalsRagebotState.LastHoldUpdateAt = 0
RivalsRagebotState.LastRespawnRequestAt = 0
RivalsRagebotState.PhaseClockSec = 0
RivalsRuntimeBridge.ResetAutoLoadoutState()
RivalsRuntimeBridge.ResetAutoBanState()
RivalsRuntimeBridge.ResetTripmineAutomation()
LocalPickupObserver.ResetDropTracking()
AimbotTriggerbotLastShotAt = 0
MeleeFastFire.LastShotAt = 0
RivalsRuntimeBridge.DestroyAimbotStatusNotification()
AimbotInputState.LeftMouse = false
AimbotInputState.RightMouse = false
AimbotInputState.TouchCount = 0
AimbotFovCircle.Visible = false
pcall(function() AimbotFovCircle:Remove() end)
DestroyAllESP()
WorldESPState.DestroyAllThrowable()
WorldESPState.DestroyAllHazard()
WorldESPState.DestroyAllSoundVisualizer()
DestroyRuntimeIssueNotification()
EventZombieCleanup()
end
function RivalsRuntime.RegisterPlayerLifecycle()
RivalsRuntimeBridge.NextESPReconcileAt = 0
if EspRenderSettings.Enabled then ReconcileESPPlayers() end
Library:GiveSignal(
Players.PlayerRemoving:Connect(GuardRivalsCallback('Player_Removing', function(player) DestroyESP(player) end))
)
EnsureWeaponInfoTracking()
end
function RivalsRuntime.RegisterWorldLifecycle()
for _, child in ipairs(Workspace:GetChildren()) do
WorldESPState.RegisterThrowable(child)
LocalPickupObserver.ObserveDrop(child)
end
Connections:register(
'Throwable_Added',
Workspace.ChildAdded:Connect(GuardRivalsCallback('Throwable_Added', WorldESPState.RegisterThrowable))
)
Connections:register(
'Throwable_Removed',
Workspace.ChildRemoved:Connect(GuardRivalsCallback('Throwable_Removed', WorldESPState.DestroyThrowable))
)
Connections:register(
'PickupDrop_Added',
Workspace.ChildAdded:Connect(GuardRivalsCallback('PickupDrop_Added', LocalPickupObserver.ObserveDrop))
)
Connections:register(
'PickupDrop_Removed',
Workspace.ChildRemoved:Connect(GuardRivalsCallback('PickupDrop_Removed', LocalPickupObserver.UnobserveDrop))
)
for _, descendant in ipairs(Workspace:GetDescendants()) do
WorldESPState.RegisterHazard(descendant)
end
Connections:register(
'Hazard_Added',
Workspace.DescendantAdded:Connect(GuardRivalsCallback('Hazard_Added', WorldESPState.RegisterHazard))
)
Connections:register(
'Hazard_Removed',
Workspace.DescendantRemoving:Connect(GuardRivalsCallback('Hazard_Removed', WorldESPState.DestroyHazard))
)
WorldESPState.SetSoundVisualizerEnabled(Toggles.P1S3T1 and Toggles.P1S3T1.Value == true)
RivalsRuntimeBridge.BindTripmineAutomation()
end
function RivalsRuntime.RegisterInputLifecycle()
Connections:register(
'Aimbot_InputBegan',
UserInputService.InputBegan:Connect(GuardRivalsCallback('Aimbot_InputBegan', function(input, gameProcessed)
if gameProcessed then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 then
AimbotInputState.LeftMouse = true
elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
AimbotInputState.RightMouse = true
end
end))
)
Connections:register(
'Aimbot_InputEnded',
UserInputService.InputEnded:Connect(GuardRivalsCallback('Aimbot_InputEnded', function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
AimbotInputState.LeftMouse = false
elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
AimbotInputState.RightMouse = false
end
end))
)
Connections:register(
'Aimbot_TouchStarted',
UserInputService.TouchStarted:Connect(GuardRivalsCallback('Aimbot_TouchStarted', function(touch, gameProcessed)
if gameProcessed then return end
AimbotInputState.TouchCount = AimbotInputState.TouchCount + 1
end))
)
Connections:register(
'Aimbot_TouchEnded',
UserInputService.TouchEnded:Connect(
GuardRivalsCallback(
'Aimbot_TouchEnded',
function() AimbotInputState.TouchCount = math.max(AimbotInputState.TouchCount - 1, 0) end
)
)
)
end
function RivalsRuntime.WaitForInitialLoadInSettle()
RivalsRuntimeBridge.WaitForLocalReady(2)
InitCharacter()
if RivalsRuntimeBridge.IsAutoQueueLobby and RivalsRuntimeBridge.IsAutoQueueLobby() then
if type(RivalsRuntimeBridge.RefreshAutoQueueDropdownValues) == 'function' then
pcall(RivalsRuntimeBridge.RefreshAutoQueueDropdownValues)
end
if
Toggles
and Toggles.P8S6T1
and Toggles.P8S6T1.Value == true
and type(RivalsRuntimeBridge.FireAutoQueueJoin) == 'function'
then
local belief = type(RivalsRuntimeBridge.GetAutoQueueBelief) == 'function'
and RivalsRuntimeBridge.GetAutoQueueBelief()
or 'idle'
if belief == 'idle' then pcall(RivalsRuntimeBridge.FireAutoQueueJoin) end
end
end
end
function RivalsRuntime.StartLoops()
Connections:register(
'ESP_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('ESP_Render', RivalsRuntimeBridge.UpdateESP))
)
Connections:register(
'Throwable_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('Throwable_Render', WorldESPState.UpdateThrowable))
)
Connections:register(
'Hazard_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('Hazard_Render', WorldESPState.UpdateHazard))
)
Connections:register(
'CombatFeedback_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('CombatFeedback_Render', RivalsRuntimeBridge.CombatFeedback.Update)
)
)
Connections:register(
'ViewmodelVisuals_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('ViewmodelVisuals_Render', RivalsRuntimeBridge.ViewmodelVisuals.Update)
)
)
Connections:register(
'Movement_PreSimulation',
RunService.PreSimulation:Connect(GuardRivalsCallback('Movement_PreSimulation', RivalsRuntimeBridge.Movement.Update))
)
Connections:register(
'MovementRecorder_PreSimulation',
RunService.PreSimulation:Connect(
GuardRivalsCallback('MovementRecorder_PreSimulation', RivalsRuntimeBridge.MovementRecorder.Update)
)
)
Connections:register(
'Movement_BlankFlight',
RunService.RenderStepped:Connect(
GuardRivalsCallback('Movement_BlankFlight', RivalsRuntimeBridge.Movement.BlankFlightVelocity)
)
)
Connections:register(
'AnimationPlayer_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('AnimationPlayer_Render', RivalsRuntimeBridge.AnimationPlayer.Update)
)
)
Connections:register(
'CameraModifiers_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('CameraModifiers_Render', RivalsModsState.UpdateCameraModifiers)
)
)
Connections:register(
'MovementRecorder_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('MovementRecorder_Render', RivalsRuntimeBridge.MovementRecorder.UpdateRender)
)
)
Connections:register(
'Flickbot_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('Flickbot_Render', RivalsRuntimeBridge.UpdateFlickbot))
)
Connections:register(
'CameraAim_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('CameraAim_Render', RivalsRuntimeBridge.UpdateCameraAim))
)
-- bound at the last render priority so the snapline is projected after the camera moved this frame
RunService:BindToRenderStep(
'ZkxHubTargetingDraw',
Enum.RenderPriority.Last.Value,
GuardRivalsCallback('AimbotTargetCircle_Render', RivalsRuntimeBridge.AimbotTargeting.UpdateCircle)
)
Connections:register('AimbotTargetCircle_Render', function()
pcall(function() RunService:UnbindFromRenderStep('ZkxHubTargetingDraw') end)
end)
Connections:register(
'ThirdPersonOffset_Render',
RunService.RenderStepped:Connect(
GuardRivalsCallback('ThirdPersonOffset_Render', RivalsModsState.UpdateThirdPersonOffset)
)
)
RivalsRuntimeBridge.CombatBot.Start()
Connections:register(
'CheaterDetector_Heartbeat',
RunService.Heartbeat:Connect(
GuardRivalsCallback('CheaterDetector_Heartbeat', RivalsRuntimeBridge.CheaterDetector.Step)
)
)
Connections:register(
'Aimbot_Render',
RunService.Heartbeat:Connect(GuardRivalsCallback('Aimbot_Render', RivalsRuntimeBridge.UpdateAimbot))
)
Connections:register(
'Ragebot_Heartbeat',
RunService.Heartbeat:Connect(GuardRivalsCallback('Ragebot_Heartbeat', RivalsRuntimeBridge.UpdateRagebot))
)
Connections:register(
'TripmineAutomation_Heartbeat',
RunService.Heartbeat:Connect(
GuardRivalsCallback('TripmineAutomation_Heartbeat', RivalsRuntimeBridge.UpdateTripmineAutomation)
)
)
local AutoQueueRemotes = ReplicatedStorage:FindFirstChild('Remotes')
local AutoQueueMatchmaking = AutoQueueRemotes and AutoQueueRemotes:FindFirstChild('Matchmaking')
local AutoQueueStatus = AutoQueueMatchmaking and AutoQueueMatchmaking:FindFirstChild('UpdateQueueStatus')
if AutoQueueStatus and AutoQueueStatus:IsA('RemoteEvent') then
Connections:register(
'AutoQueue_StatusUpdate',
AutoQueueStatus.OnClientEvent:Connect(
GuardRivalsCallback('AutoQueue_StatusUpdate', RivalsRuntimeBridge.HandleAutoQueueStatusUpdate)
)
)
end
Connections:register(
'AutoQueue_MatchmadeGameOver',
workspace:GetAttributeChangedSignal('MatchmadeGameOver'):Connect(
GuardRivalsCallback('AutoQueue_MatchmadeGameOver', RivalsRuntimeBridge.OnAutoQueueMatchmadeGameOverChanged)
)
)
Connections:register(
'AutoQueue_LobbyReturn_Teleport',
game:GetService('TeleportService').LocalPlayerArrivedFromTeleport
:Connect(GuardRivalsCallback('AutoQueue_LobbyReturn_Teleport', RivalsRuntimeBridge.OnAutoQueueLobbyReturn))
)
RivalsRuntimeBridge.CombatFeedback.RefreshBinding()
RivalsRuntimeBridge.MovementRecorder.BindRoundSignal()
-- Zombie event loops
Connections:register(
'EventZombie_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('EventZombie_Render', EventZombieStep))
)
task.spawn(GuardRivalsCallback('EventZombie_FireLoop', EventZombieFireLoop))
Connections:register(
'Tower_Render',
RunService.RenderStepped:Connect(GuardRivalsCallback('Tower_Render', RivalsRuntimeBridge.TowerKit.Step))
)
task.spawn(GuardRivalsCallback('EventZombie_ResolveModules', function()
for _ = 1, 60 do
EventZombieResolveModules()
if EventZombieState.UseItemRemote and EventZombieState.StartShootingToken and EventZombieState.Utility then
break
end
task.wait(0.5)
end
-- Refresh the status label now that the modules are up
if EventZombieState.StatusLabel and EventZombieState.StatusLabel.SetText then
pcall(function() EventZombieState.StatusLabel:SetText(EventZombieBuildStatus()) end)
end
end))
task.spawn(GuardRivalsCallback('EventZombie_StatusLoop', function()
while EventZombieState.Running and not Library.Unloaded do
task.wait(0.5)
local label = EventZombieState.StatusLabel
if label and label.SetText then pcall(function() label:SetText(EventZombieBuildStatus()) end) end
end
end))
end
function RivalsRuntime.RegisterCharacterLifecycle()
RefreshLocalPickupHealthObserver()
AttachWeaponInfoObservers(LP)
RivalsModsState.EnsureHooks()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
RivalsRuntimeBridge.RegisterAutoRespawnSignals()
RivalsRuntimeBridge.RegisterAutoBanSignals()
RivalsRuntimeBridge.RegisterAutoQueuePlayAgainSignals()
RivalsRuntimeBridge.RunPickupSpawnSetup = function()
task.defer(function()
if not RivalsRuntimeBridge.WaitForLocalReady(30) then
RivalsRuntimeBridge.LogDiagnosticEvent('Spawn', 'WaitForLocalReady timed out; per-spawn setup aborted')
return
end
local fighter = ResolveLocalFighter()
if not fighter then
RivalsRuntimeBridge.LogDiagnosticEvent(
'Spawn',
'Local fighter unavailable after readiness; per-spawn setup aborted'
)
return
end
FighterDataCache.AttachLocalDuelWatchers(fighter)
RivalsRuntimeBridge.RegisterAutoRespawnSignals()
RivalsRuntimeBridge.RegisterAutoBanSignals()
RivalsRuntimeBridge.RegisterAutoQueuePlayAgainSignals()
if not InitCharacter() then
RivalsRuntimeBridge.LogDiagnosticEvent(
'Spawn',
'InitCharacter failed after fighter ready; per-spawn setup aborted'
)
return
end
if not Humanoid or Humanoid.Health <= 0 then
RivalsRuntimeBridge.LogDiagnosticEvent('Spawn', 'Humanoid missing or dead at per-spawn; setup aborted')
return
end
RefreshLocalPickupHealthObserver()
AttachWeaponInfoObservers(LP)
RivalsModsState.EnsureHooks()
UpdateRivalsPickupFeatures()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
end)
end
if LP.Character then RivalsRuntimeBridge.RunPickupSpawnSetup() end
Library:GiveSignal(LP.CharacterAdded:Connect(GuardRivalsCallback('Pickup_CharacterAdded', function(newChar)
RivalsRuntimeBridge.LogDiagnosticEvent(
'CharAdded',
'LP.CharacterAdded fired (new: ' .. tostring(newChar and newChar.Name or '<nil>') .. ')'
)
RivalsRuntimeBridge.ResetLocalShieldLatch()
RivalsRuntimeBridge.RunPickupSpawnSetup()
end)))
end
-- ======================================================================
-- Startup: config profiles, menu settings, loops
-- ======================================================================
function RivalsRuntime.Initialize(Window)
-- Config & Setup
Connections = ConnectionRegistry.new()
local ReconcileLoadedState
local RivalsConfigProfiles = {
Names = { 'Legit', 'Rage' },
}
local SharedConfigDefaultObjects = {
{ idx = 'P1S1T1', type = 'Toggle', value = true },
{ idx = 'P1S1T2', type = 'Toggle', value = true },
{ idx = 'P1S1T3', type = 'Toggle', value = true },
{ idx = 'P1S1T4', type = 'Toggle', value = true },
{ idx = 'P1S1T5', type = 'Toggle', value = true },
{ idx = 'P1S1T6', type = 'Toggle', value = true },
{ idx = 'P1S1T7', type = 'Toggle', value = false },
{ idx = 'P1S1T8', type = 'Toggle', value = true },
{ idx = 'P1S1T9', type = 'Toggle', value = true },
{ idx = 'P1S1T10', type = 'Toggle', value = false },
{ idx = 'P1S1T11', type = 'Toggle', value = true },
{ idx = 'P1S1C1', type = 'ColorPicker', value = '00ff00', transparency = 0 },
{ idx = 'P1S1C2', type = 'ColorPicker', value = 'ff0000', transparency = 0 },
{ idx = 'P1S1C4', type = 'ColorPicker', value = 'ffff00', transparency = 0 },
{ idx = 'P1S1S3', type = 'Slider', value = 1 },
{ idx = 'P1S1S4', type = 'Slider', value = 0 },
{ idx = 'P1S2T1', type = 'Toggle', value = true },
{ idx = 'P1S2T2', type = 'Toggle', value = true },
{ idx = 'P1S2T4', type = 'Toggle', value = true },
{ idx = 'P1S2T5', type = 'Toggle', value = true },
{ idx = 'P1S2T6', type = 'Toggle', value = true },
{ idx = 'P1S3T1', type = 'Toggle', value = false },
{ idx = 'P1S3D1', type = 'Dropdown', value = 'Enemies' },
{ idx = 'P1S3T2', type = 'Toggle', value = true },
{ idx = 'P1S3T3', type = 'Toggle', value = true },
{ idx = 'P1S3S1', type = 'Slider', value = 0.05 },
{ idx = 'P1S3C1', type = 'ColorPicker', value = 'ffd250', transparency = 0 },
{ idx = 'P1S3C2', type = 'ColorPicker', value = 'ff5a5a', transparency = 0 },
{ idx = 'P1S4T2', type = 'Toggle', value = false },
{ idx = 'P1S4C1', type = 'ColorPicker', value = '3bcbff', transparency = 0 },
{ idx = 'P1S4C2', type = 'ColorPicker', value = '01668b', transparency = 0 },
{ idx = 'P1S4T3', type = 'Toggle', value = false },
{ idx = 'P1S4S1', type = 'Slider', value = 12 },
{ idx = 'P1S4T4', type = 'Toggle', value = false },
{ idx = 'P1S4S2', type = 'Slider', value = 2 },
{ idx = 'P1S4T5', type = 'Toggle', value = false },
{ idx = 'P1S4C3', type = 'ColorPicker', value = '64a0ff', transparency = 0 },
{ idx = 'P1S4C4', type = 'ColorPicker', value = '14285a', transparency = 0 },
{ idx = 'P1S4T6', type = 'Toggle', value = false },
{ idx = 'P1S4S3', type = 'Slider', value = 0 },
{ idx = 'P1S4T7', type = 'Toggle', value = false },
{ idx = 'P1S4S4', type = 'Slider', value = 0 },
{ idx = 'P1S4T8', type = 'Toggle', value = false },
{ idx = 'P1S4S5', type = 'Slider', value = 0 },
{ idx = 'P1S5T1', type = 'Toggle', value = false },
{ idx = 'P1S5C1', type = 'ColorPicker', value = 'c0c0c0', transparency = 0 },
{ idx = 'P1S5S1', type = 'Slider', value = 0 },
{ idx = 'P1S5S2', type = 'Slider', value = 10000 },
{ idx = 'P1S5T2', type = 'Toggle', value = false },
{ idx = 'P1S5S3', type = 'Slider', value = 41.733 },
{ idx = 'P1S5T3', type = 'Toggle', value = false },
{ idx = 'P1S5T4', type = 'Toggle', value = false },
{ idx = 'P1S5S4', type = 'Slider', value = 0.5 },
{ idx = 'P1S5T5', type = 'Toggle', value = false },
{ idx = 'P1S5D1', type = 'Dropdown', value = 'Realistic' },
{ idx = 'P1S5T6', type = 'Toggle', value = false },
{ idx = 'P1S5C2', type = 'ColorPicker', value = 'b3b3b8', transparency = 0 },
{ idx = 'P1S5T7', type = 'Toggle', value = false },
{ idx = 'P1S6T1', type = 'Toggle', value = false },
{ idx = 'P1S6S1', type = 'Slider', value = 0.4 },
{ idx = 'P1S6S2', type = 'Slider', value = 24 },
{ idx = 'P1S6S3', type = 'Slider', value = 0.95 },
{ idx = 'P1S7T1', type = 'Toggle', value = false },
{ idx = 'P1S7C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S7S1', type = 'Slider', value = 0 },
{ idx = 'P1S7S2', type = 'Slider', value = 0 },
{ idx = 'P1S7S3', type = 'Slider', value = 0 },
{ idx = 'P1S8T1', type = 'Toggle', value = false },
{ idx = 'P1S8D1', type = 'Dropdown', value = 'Default' },
{ idx = 'P1S10T1', type = 'Toggle', value = false },
{ idx = 'P1S10S1', type = 'Slider', value = 0.25 },
{ idx = 'P1S10S2', type = 'Slider', value = 1 },
{ idx = 'PX1T1', type = 'Toggle', value = false },
{ idx = 'PX1S1', type = 'Slider', value = 0.75 },
{ idx = 'PX1S2', type = 'Slider', value = 25 },
{ idx = 'PX1S3', type = 'Slider', value = 30 },
{ idx = 'PX1S4', type = 'Slider', value = 0.5 },
{ idx = 'PX2T1', type = 'Toggle', value = false },
{ idx = 'PX2S1', type = 'Slider', value = 14 },
{ idx = 'PX2S2', type = 'Slider', value = 1 },
{ idx = 'PX2D1', type = 'Dropdown', value = 'Camera + Movement' },
{ idx = 'PX2S3', type = 'Slider', value = 0 },
{ idx = 'PX2S4', type = 'Slider', value = 14 },
{ idx = 'PX2S5', type = 'Slider', value = 14 },
{ idx = 'PX17T1', type = 'Toggle', value = false },
{ idx = 'PX17S1', type = 'Slider', value = 5 },
{ idx = 'PX17S2', type = 'Slider', value = 10 },
{ idx = 'PX17T2', type = 'Toggle', value = false },
{ idx = 'PX18T1K', type = 'KeyPicker', mode = 'Toggle', key = 'Unknown', modifiers = {} },
{ idx = 'PX18S1', type = 'Slider', value = 60 },
{ idx = 'PX18S2', type = 'Slider', value = 3 },
{ idx = 'PX18S3', type = 'Slider', value = 1 },
{ idx = 'PX18S4', type = 'Slider', value = 14 },
{ idx = 'PX18S5', type = 'Slider', value = 1 },
{ idx = 'P1S12T1', type = 'Toggle', value = false },
{ idx = 'P1S12D1', type = 'Dropdown', value = '' },
{ idx = 'P1S13T1', type = 'Toggle', value = false },
{ idx = 'P1S13C1', type = 'ColorPicker', value = 'c8aa6c', transparency = 0 },
{ idx = 'P1S13C2', type = 'ColorPicker', value = '5c3c0e', transparency = 0 },
{ idx = 'P1S13S1', type = 'Slider', value = 0.395 },
{ idx = 'P1S13S2', type = 'Slider', value = 0 },
{ idx = 'P1S13S3', type = 'Slider', value = 0 },
{ idx = 'P1S13S4', type = 'Slider', value = 0 },
{ idx = 'P1S14T1', type = 'Toggle', value = false },
{ idx = 'P1S14I1', type = 'Input', text = '' },
{ idx = 'P1S14S1', type = 'Slider', value = 1 },
{ idx = 'P1S28T1', type = 'Toggle', value = false },
{ idx = 'P1S28D1', type = 'Dropdown', value = 'Snow' },
{ idx = 'P1S28C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S28S1', type = 'Slider', value = 1 },
{ idx = 'P1S28S2', type = 'Slider', value = 1 },
{ idx = 'P1S28S3', type = 'Slider', value = 1 },
{ idx = 'P1S28S4', type = 'Slider', value = 1 },
{ idx = 'P1S28S5', type = 'Slider', value = 0.6 },
{ idx = 'P1S28S6', type = 'Slider', value = 3 },
{ idx = 'P1S28S7', type = 'Slider', value = 45 },
{ idx = 'P1S28S8', type = 'Slider', value = 0 },
{ idx = 'P1S28S9', type = 'Slider', value = 0 },
{ idx = 'P1S29T1', type = 'Toggle', value = false },
{ idx = 'P1S29C1', type = 'ColorPicker', value = 'd6e6ff', transparency = 0 },
{ idx = 'P1S29S1', type = 'Slider', value = 2 },
{ idx = 'P1S29S2', type = 'Slider', value = 80 },
{ idx = 'P1S29S3', type = 'Slider', value = 220 },
{ idx = 'P1S29S4', type = 'Slider', value = 4 },
{ idx = 'P1S29S5', type = 'Slider', value = 7 },
{ idx = 'P1S29S6', type = 'Slider', value = 12 },
{ idx = 'P1S29S7', type = 'Slider', value = 8 },
{ idx = 'P1S29T2', type = 'Toggle', value = true },
{ idx = 'P1S29C2', type = 'ColorPicker', value = 'eef6ff', transparency = 0 },
{ idx = 'P1S29S8', type = 'Slider', value = 18 },
{ idx = 'P1S29S9', type = 'Slider', value = 2.2 },
{ idx = 'P1S29S10', type = 'Slider', value = 22 },
{ idx = 'P1S29S11', type = 'Slider', value = 22 },
{ idx = 'P1S29S12', type = 'Slider', value = 4 },
{ idx = 'P1S29T3', type = 'Toggle', value = true },
{ idx = 'P1S29C3', type = 'ColorPicker', value = 'eec8ff', transparency = 0 },
{ idx = 'P1S29S13', type = 'Slider', value = 0.45 },
{ idx = 'P1S29S14', type = 'Slider', value = 14 },
{ idx = 'P1S29T4', type = 'Toggle', value = true },
{ idx = 'P1S29S15', type = 'Slider', value = 1 },
{ idx = 'P1S29T5', type = 'Toggle', value = true },
{ idx = 'P1S29I1', type = 'Input', text = '' },
{ idx = 'P1S30T1', type = 'Toggle', value = false },
{ idx = 'P1S30S1', type = 'Slider', value = 1 },
{ idx = 'P1S30S2', type = 'Slider', value = 1 },
{ idx = 'P1S31T1', type = 'Toggle', value = false },
{ idx = 'P1S31T2', type = 'Toggle', value = false },
{ idx = 'P1S31T3', type = 'Toggle', value = false },
{ idx = 'P1S31T4', type = 'Toggle', value = false },
{ idx = 'P1S31T5', type = 'Toggle', value = false },
{ idx = 'P1S15T1', type = 'Toggle', value = false },
{ idx = 'P1S15T2', type = 'Toggle', value = false },
{ idx = 'P1S15D1', type = 'Dropdown', value = '' },
{ idx = 'P1S15S1', type = 'Slider', value = 1 },
{ idx = 'P1S15S2', type = 'Slider', value = 1 },
{ idx = 'P1S15D2', type = 'Dropdown', value = '' },
{ idx = 'P1S15S3', type = 'Slider', value = 1 },
{ idx = 'P1S15S4', type = 'Slider', value = 1 },
{ idx = 'P1S15T3', type = 'Toggle', value = false },
{ idx = 'P1S15T4', type = 'Toggle', value = false },
{ idx = 'P1S15C1', type = 'ColorPicker', value = 'ff0000', transparency = 0 },
{ idx = 'P1S15S5', type = 'Slider', value = 0.8 },
{ idx = 'P1S15D3', type = 'Dropdown', value = 'Ghost' },
{ idx = 'P1S16T1', type = 'Toggle', value = false },
{ idx = 'P1S16T2', type = 'Toggle', value = false },
{ idx = 'P1S16D1', type = 'Dropdown', value = '' },
{ idx = 'P1S16S1', type = 'Slider', value = 1 },
{ idx = 'P1S16S2', type = 'Slider', value = 1 },
{ idx = 'P1S16T3', type = 'Toggle', value = false },
{ idx = 'P1S16C1', type = 'ColorPicker', value = 'ff0000', transparency = 0 },
{ idx = 'P1S16S3', type = 'Slider', value = 0.8 },
{ idx = 'PX4T1', type = 'Toggle', value = false },
{ idx = 'PX4C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'PX4S1', type = 'Slider', value = 0.3 },
{ idx = 'PX4S2', type = 'Slider', value = 0.15 },
{ idx = 'PX4T2', type = 'Toggle', value = false },
{ idx = 'PX5T1', type = 'Toggle', value = false },
{ idx = 'PX5C1', type = 'ColorPicker', value = 'ff3c3c', transparency = 0 },
{ idx = 'PX5S1', type = 'Slider', value = 0.4 },
{ idx = 'PX5S2', type = 'Slider', value = 0.3 },
{ idx = 'PX5T2', type = 'Toggle', value = false },
{ idx = 'P1S16D2', type = 'Dropdown', value = 'Ghost' },
{ idx = 'P1S18T1', type = 'Toggle', value = false },
{ idx = 'P1S18C1', type = 'ColorPicker', value = '78dcff', transparency = 0 },
{ idx = 'P1S18D1', type = 'Dropdown', value = 'Beam' },
{ idx = 'P1S18S1', type = 'Slider', value = 0.06 },
{ idx = 'P1S18S2', type = 'Slider', value = 4 },
{ idx = 'P1S18S3', type = 'Slider', value = 1 },
{ idx = 'P1S18S4', type = 'Slider', value = 1 },
{ idx = 'P1S18S5', type = 'Slider', value = 1 },
{ idx = 'P1S18S6', type = 'Slider', value = 0.6 },
{ idx = 'P1S18S7', type = 'Slider', value = 0.35 },
{ idx = 'P1S18T2', type = 'Toggle', value = true },
{ idx = 'P1S18S8', type = 'Slider', value = 18 },
{ idx = 'P1S18S9', type = 'Slider', value = 0.7 },
{ idx = 'P1S19T1', type = 'Toggle', value = false },
{ idx = 'P1S19D1', type = 'Dropdown', value = 'Ghost' },
{ idx = 'P1S19C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S19S1', type = 'Slider', value = 0 },
{ idx = 'P1S19T2', type = 'Toggle', value = false },
{ idx = 'P1S20T1', type = 'Toggle', value = false },
{ idx = 'P1S20D1', type = 'Dropdown', value = 'Ghost' },
{ idx = 'P1S20C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S20S1', type = 'Slider', value = 0 },
{ idx = 'P1S20T2', type = 'Toggle', value = true },
{ idx = 'P1S21T1', type = 'Toggle', value = false },
{ idx = 'P1S21D1', type = 'Dropdown', value = 'Ghost' },
{ idx = 'P1S21C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S21S1', type = 'Slider', value = 0 },
{ idx = 'P1S21T2', type = 'Toggle', value = false },
{ idx = 'P1S22T1', type = 'Toggle', value = false },
{ idx = 'P1S22C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S22S1', type = 'Slider', value = 0.5 },
{ idx = 'P1S22C2', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S22S2', type = 'Slider', value = 0 },
{ idx = 'P1S23T1', type = 'Toggle', value = false },
{ idx = 'P1S23C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S23S1', type = 'Slider', value = 0.5 },
{ idx = 'P1S23C2', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S23S2', type = 'Slider', value = 0 },
{ idx = 'P1S26T1', type = 'Toggle', value = false },
{ idx = 'P1S26D1', type = 'Dropdown', value = 'Lines' },
{ idx = 'P1S26S1', type = 'Slider', value = 12 },
{ idx = 'P1S26S2', type = 'Slider', value = 2 },
{ idx = 'P1S26S3', type = 'Slider', value = 6 },
{ idx = 'P1S26T2', type = 'Toggle', value = false },
{ idx = 'P1S26C1', type = 'ColorPicker', value = '000000', transparency = 0 },
{ idx = 'P1S26S11', type = 'Slider', value = 1 },
{ idx = 'P1S26T3', type = 'Toggle', value = true },
{ idx = 'P1S26C2', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26T4', type = 'Toggle', value = true },
{ idx = 'P1S26C3', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26T5', type = 'Toggle', value = true },
{ idx = 'P1S26C4', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26T6', type = 'Toggle', value = true },
{ idx = 'P1S26C5', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26T7', type = 'Toggle', value = false },
{ idx = 'P1S26S8', type = 'Slider', value = 4 },
{ idx = 'P1S26S9', type = 'Slider', value = 16 },
{ idx = 'P1S26S10', type = 'Slider', value = 3 },
{ idx = 'P1S26T8', type = 'Toggle', value = false },
{ idx = 'P1S26S4', type = 'Slider', value = 0 },
{ idx = 'P1S26S5', type = 'Slider', value = 90 },
{ idx = 'P1S26I1', type = 'Input', text = '' },
{ idx = 'P1S26S6', type = 'Slider', value = 32 },
{ idx = 'P1S26S7', type = 'Slider', value = 0 },
{ idx = 'P1S26T9', type = 'Toggle', value = false },
{ idx = 'P1S26D2', type = 'Dropdown', value = 'Crosshair' },
{ idx = 'P1S26T10', type = 'Toggle', value = false },
{ idx = 'P1S26D3', type = 'Dropdown', value = 'Shimmer' },
{ idx = 'P1S26S12', type = 'Slider', value = 1 },
{ idx = 'P1S26C6', type = 'ColorPicker', value = '282828', transparency = 0 },
{ idx = 'P1S26C7', type = 'ColorPicker', value = 'ff0000', transparency = 0 },
{ idx = 'P1S26C8', type = 'ColorPicker', value = '0000ff', transparency = 0 },
{ idx = 'P1S26C9', type = 'ColorPicker', value = '000000', transparency = 0 },
{ idx = 'P1S26C10', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26S13', type = 'Slider', value = 0 },
{ idx = 'P1S26T11', type = 'Toggle', value = false },
{ idx = 'P1S26I2', type = 'Input', text = '' },
{ idx = 'P1S26D4', type = 'Dropdown', value = 'Inconsolata' },
{ idx = 'P1S26S14', type = 'Slider', value = 14 },
{ idx = 'P1S26S15', type = 'Slider', value = 24 },
{ idx = 'P1S26C11', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26T12', type = 'Toggle', value = false },
{ idx = 'P1S26C12', type = 'ColorPicker', value = '000000', transparency = 0 },
{ idx = 'P1S26S16', type = 'Slider', value = 1 },
{ idx = 'P1S26T13', type = 'Toggle', value = false },
{ idx = 'P1S26D5', type = 'Dropdown', value = 'Shimmer' },
{ idx = 'P1S26S17', type = 'Slider', value = 1 },
{ idx = 'P1S26C13', type = 'ColorPicker', value = '282828', transparency = 0 },
{ idx = 'P1S26C14', type = 'ColorPicker', value = '000000', transparency = 0 },
{ idx = 'P1S26C15', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'P1S26S18', type = 'Slider', value = 0 },
{ idx = 'P1S27T1', type = 'Toggle', value = false },
{ idx = 'P1S27T2', type = 'Toggle', value = false },
{ idx = 'P1S27T3', type = 'Toggle', value = false },
{ idx = 'P1S27T4', type = 'Toggle', value = false },
{ idx = 'P1S27T5', type = 'Toggle', value = false },
{ idx = 'P1S27T6', type = 'Toggle', value = false },
{ idx = 'P1S27T7', type = 'Toggle', value = false },
{ idx = 'P1S27T8', type = 'Toggle', value = false },
{ idx = 'P2S1T1', type = 'Toggle', value = true },
{ idx = 'P2S1T1K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P2S1D1', type = 'Dropdown', value = 'Silent' },
{ idx = 'P2S1S13', type = 'Slider', value = 100 },
{ idx = 'P2S1T3', type = 'Toggle', value = true },
{ idx = 'P2S1T5', type = 'Toggle', value = true },
{ idx = 'P2S1D2', type = 'Dropdown', value = 'Auto' },
{ idx = 'P2S1T12', type = 'Toggle', value = false },
{ idx = 'P2S1T12K', type = 'KeyPicker', mode = 'Hold', key = 'Unknown', modifiers = {} },
{ idx = 'P2S1T13', type = 'Toggle', value = false },
{ idx = 'P2S1S8', type = 'Slider', value = 0 },
{ idx = 'P2S1S9', type = 'Slider', value = 250 },
{ idx = 'P2S1S10', type = 'Slider', value = 110 },
{ idx = 'P2S1S11', type = 'Slider', value = 12 },
{ idx = 'P2S1S12', type = 'Slider', value = 30 },
{ idx = 'P2S1S2', type = 'Slider', value = 282 },
{ idx = 'P2S1T7K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P2S1S7', type = 'Slider', value = 0 },
{ idx = 'P2S1T8', type = 'Toggle', value = true },
{ idx = 'P2S1T9', type = 'Toggle', value = true },
{
idx = 'P2S1D4',
type = 'Dropdown',
multi = true,
value = {
['Flare Gun'] = true,
['Freeze Ray'] = true,
['Grenade Launcher'] = true,
RPG = true,
},
},
{ idx = 'P2S2S1', type = 'Slider', value = 35 },
{ idx = 'PX7D1', type = 'Dropdown', value = 'Smooth' },
{ idx = 'PX19T1', type = 'Toggle', value = true },
{ idx = 'KE_Enabled', type = 'Toggle', value = false },
{ idx = 'KE_Range', type = 'Slider', value = 3 },
{ idx = 'KE_Scope', type = 'Dropdown', value = 'Knife' },
{ idx = 'KE_Heavy', type = 'Toggle', value = true },
{ idx = 'PX12T1', type = 'Toggle', value = false },
{ idx = 'PX12T2', type = 'Toggle', value = false },
{ idx = 'PX12C1', type = 'ColorPicker', value = 'ffffff', transparency = 0 },
{ idx = 'PX12S1', type = 'Slider', value = 0.02 },
{ idx = 'PX12S2', type = 'Slider', value = 0 },
{ idx = 'PX11T1', type = 'Toggle', value = false },
{ idx = 'PX11S1', type = 'Slider', value = 3 },
{ idx = 'PX11S2', type = 'Slider', value = 1.5 },
{ idx = 'PX11S3', type = 'Slider', value = 7.5 },
{ idx = 'PX10T1', type = 'Toggle', value = false },
{ idx = 'PX10T2', type = 'Toggle', value = true },
{ idx = 'PX10T3', type = 'Toggle', value = true },
{ idx = 'PX10S1', type = 'Slider', value = 120 },
{ idx = 'PX9T1', type = 'Toggle', value = false },
{ idx = 'PX9D1', type = 'Dropdown', value = 'Monospace' },
{ idx = 'PX9S1', type = 'Slider', value = 16 },
{ idx = 'PX9D2', type = 'Dropdown', value = 'Normal' },
{ idx = 'PX9D3', type = 'Dropdown', value = 'None' },
{ idx = 'PX9T2', type = 'Toggle', value = false },
{ idx = 'PX9S2', type = 'Slider', value = 60 },
{ idx = 'PX6S1', type = 'Slider', value = 0 },
{ idx = 'PX6S2', type = 'Slider', value = 0 },
{ idx = 'PX6T1', type = 'Toggle', value = false },
{ idx = 'PX6D1', type = 'Dropdown', value = 'While Aiming' },
{ idx = 'PX6D2', type = 'Dropdown', value = 'Crosshair' },
{ idx = 'PX14T1', type = 'Toggle', value = false },
{ idx = 'PX14T1K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'PX14T2', type = 'Toggle', value = true },
{ idx = 'PX14T3', type = 'Toggle', value = true },
{ idx = 'PX14D2', type = 'Dropdown', value = 'Reload' },
{ idx = 'PX14D3', type = 'Dropdown', value = 'Strafe' },
{ idx = 'PX14S1', type = 'Slider', value = 0.45 },
{ idx = 'PX14S2', type = 'Slider', value = 30 },
{ idx = 'PX8T1', type = 'Toggle', value = false },
{ idx = 'PX8C1', type = 'ColorPicker', value = 'ff4646', transparency = 0 },
{ idx = 'PX8S1', type = 'Slider', value = 18 },
{ idx = 'PX8S2', type = 'Slider', value = 2 },
{ idx = 'PX8T2', type = 'Toggle', value = false },
{ idx = 'PX8T3', type = 'Toggle', value = false },
{ idx = 'PX8S3', type = 'Slider', value = 3 },
{ idx = 'P4S1T1', type = 'Toggle', value = true },
{ idx = 'P4S1S4', type = 'Slider', value = 85 },
{ idx = 'P4S1T2', type = 'Toggle', value = true },
{ idx = 'P4S1S3', type = 'Slider', value = 20 },
{ idx = 'P4S1T3', type = 'Toggle', value = false },
{ idx = 'P4S1T4', type = 'Toggle', value = false },
{ idx = 'P4S1S2', type = 'Slider', value = 100 },
{ idx = 'P4S1T5', type = 'Toggle', value = false },
{ idx = 'P4S1S5', type = 'Slider', value = 75 },
{ idx = 'P4S1T6', type = 'Toggle', value = false },
{ idx = 'P4S1D1', type = 'Dropdown', value = 'Impact' },
{ idx = 'P4S1T7', type = 'Toggle', value = false },
{ idx = 'P4S2T2', type = 'Toggle', value = true },
{ idx = 'P4S2S2', type = 'Slider', value = 85 },
{ idx = 'P4S2T3', type = 'Toggle', value = true },
{ idx = 'P4S2S3', type = 'Slider', value = 80 },
{ idx = 'P4S2T4', type = 'Toggle', value = false },
{ idx = 'P4S2T5', type = 'Toggle', value = false },
{ idx = 'P4S2T6', type = 'Toggle', value = false },
{ idx = 'P4S2T8', type = 'Toggle', value = false },
{ idx = 'P4S2T9', type = 'Toggle', value = false },
{ idx = 'P4S2S4', type = 'Slider', value = 80 },
{ idx = 'P4S2T10', type = 'Toggle', value = false },
{ idx = 'P4S2S5', type = 'Slider', value = 0 },
{ idx = 'P4S2S6', type = 'Slider', value = 0 },
{ idx = 'P4S2S7', type = 'Slider', value = 0 },
{ idx = 'PX3S1', type = 'Slider', value = 0 },
{ idx = 'PX3S2', type = 'Slider', value = 0 },
{ idx = 'PX3S3', type = 'Slider', value = 0 },
{ idx = 'P8S1T1', type = 'Toggle', value = true },
{ idx = 'P8S1T2', type = 'Toggle', value = true },
{ idx = 'P8S8T1', type = 'Toggle', value = false },
{ idx = 'P8S8T2', type = 'Toggle', value = false },
{ idx = 'P8S4T1K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P8S5T3', type = 'Toggle', value = false },
{ idx = 'P8S5D7', type = 'Dropdown', value = RivalsRuntimeBridge.ResolveAutoLoadoutMapValues()[1] },
{ idx = 'P8S5T4', type = 'Toggle', value = false },
{ idx = 'P8S5D8', type = 'Dropdown', value = '1' },
{ idx = 'P8S5D8KC', type = 'KeyPicker', mode = 'Press', key = 'Unknown', modifiers = {} },
{ idx = 'P8S5T6', type = 'Toggle', value = true },
{ idx = 'P8S5T7', type = 'Toggle', value = true },
{ idx = 'P8S5N', type = 'Slider', value = 3 },
{ idx = 'P8S5D1', type = 'Dropdown', value = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Primary') },
{ idx = 'P8S5D2', type = 'Dropdown', value = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Secondary') },
{ idx = 'P8S5D3', type = 'Dropdown', value = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Melee') },
{ idx = 'P8S5D4', type = 'Dropdown', value = RivalsRuntimeBridge.ResolveAutoLoadoutDefaultWeapon('Utility') },
{ idx = 'P8S5T2', type = 'Toggle', value = false },
{ idx = 'P8S5D5', type = 'Dropdown', multi = true, value = {} },
{ idx = 'P8S5D6', type = 'Dropdown', multi = true, value = {} },
{ idx = 'P8S5T5', type = 'Toggle', value = false },
{ idx = 'P8S5D9', type = 'Dropdown', multi = true, value = {} },
{ idx = 'P8S6D1', type = 'Dropdown', value = '1v1' },
{ idx = 'P10S3T1', type = 'Toggle', value = false },
{ idx = 'P10S3T1K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P10S3S1', type = 'Slider', value = 2 },
{ idx = 'P10S3T2', type = 'Toggle', value = false },
{ idx = 'P10S3T2K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P10S3S2', type = 'Slider', value = 10 },
{ idx = 'P10S3T3', type = 'Toggle', value = false },
{ idx = 'P10S3S3', type = 'Slider', value = 2 },
{ idx = 'P10S3T4', type = 'Toggle', value = false },
{ idx = 'P10S3T4K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P10S3S4', type = 'Slider', value = 100 },
{ idx = 'P10S3T5', type = 'Toggle', value = false },
{ idx = 'P10S3T5K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P10S3T6', type = 'Toggle', value = false },
{ idx = 'P10S3T6K', type = 'KeyPicker', mode = 'Always', key = 'Unknown', modifiers = {} },
{ idx = 'P10S3S5', type = 'Slider', value = 50 },
{ idx = 'P10S3T7', type = 'Toggle', value = false },
{ idx = 'P10S3T7K', type = 'KeyPicker', mode = 'Hold', key = 'Unknown', modifiers = {} },
{ idx = 'P10S3D1', type = 'Dropdown', value = 'Under Feet' },
{ idx = 'P10S3S6', type = 'Slider', value = 60 },
{ idx = 'P10S3S7', type = 'Slider', value = 20 },
{ idx = 'P10S3S8', type = 'Slider', value = 8 },
{ idx = 'P10S4T1', type = 'Toggle', value = false },
{ idx = 'P10S4T2', type = 'Toggle', value = false },
{ idx = 'P10S4T3', type = 'Toggle', value = false },
{ idx = 'P10S4S1', type = 'Slider', value = 3 },
{ idx = 'P10S4S2', type = 'Slider', value = 50 },
{ idx = 'P10S4S3', type = 'Slider', value = 180 },
{ idx = 'P10S4S4', type = 'Slider', value = 35 },
{ idx = 'P10S4S5', type = 'Slider', value = 0.2 },
{ idx = 'P10S4T4', type = 'Toggle', value = false },
{ idx = 'P10S4T4K', type = 'KeyPicker', mode = 'Toggle', key = 'Unknown', modifiers = {} },
{ idx = 'P10S4T5', type = 'Toggle', value = false },
{ idx = 'P10S4T5K', type = 'KeyPicker', mode = 'Toggle', key = 'Unknown', modifiers = {} },
{ idx = 'P10S4I1', type = 'Input', text = '' },
{ idx = 'P10S6T1', type = 'Toggle', value = false },
{ idx = 'P10S6I1', type = 'Input', text = '' },
{ idx = 'P10S6S1', type = 'Slider', value = 1 },
{ idx = 'P10S6S2', type = 'Slider', value = 0 },
{ idx = 'P10S6S3', type = 'Slider', value = 100 },
{ idx = 'P10S7T1', type = 'Toggle', value = false },
{ idx = 'P10S7D1', type = 'Dropdown', value = 'VR' },
{ idx = 'P10S2T1', type = 'Toggle', value = false },
{ idx = 'P10S2D1', type = 'Dropdown', multi = true, value = {} },
{ idx = 'P10S2D2', type = 'Dropdown', multi = true, value = {} },
{ idx = 'P10S2C1', type = 'ColorPicker', value = 'faaa46', transparency = 0 },
{ idx = 'P5S1T2', type = 'Toggle', value = false },
{ idx = 'P5S1T4', type = 'Toggle', value = false },
{ idx = 'EventZombieIncludeInAimbot', type = 'Toggle', value = false },
{ idx = 'EventZombieAimPart', type = 'Dropdown', value = 'Auto' },
}
for _, object in ipairs((RivalsRuntimeBridge.ZHub and RivalsRuntimeBridge.ZHub.ProfileDefaults) or {}) do
SharedConfigDefaultObjects[#SharedConfigDefaultObjects + 1] = object
end
for _, object in ipairs((RivalsRuntimeBridge.RankCharm and RivalsRuntimeBridge.RankCharm.ProfileDefaults) or {}) do
SharedConfigDefaultObjects[#SharedConfigDefaultObjects + 1] = object
end
local ConfigProfileDefaults = {
Legit = {
{ idx = 'P2S1T7', type = 'Toggle', value = false },
{ idx = 'KR_Enabled', type = 'Toggle', value = false },
{ idx = 'P8S4T1', type = 'Toggle', value = false },
{ idx = 'P8S4T2', type = 'Toggle', value = false },
{ idx = 'P8S5T1', type = 'Toggle', value = false },
{ idx = 'P8S6T1', type = 'Toggle', value = false },
{ idx = 'P4S1T3', type = 'Toggle', value = false },
{ idx = 'P4S1T4', type = 'Toggle', value = false },
},
Rage = {
{ idx = 'P2S1T7', type = 'Toggle', value = true },
{ idx = 'KR_Enabled', type = 'Toggle', value = true },
{ idx = 'P8S4T1', type = 'Toggle', value = false },
{ idx = 'P8S4T2', type = 'Toggle', value = true },
{ idx = 'P8S5T1', type = 'Toggle', value = true },
{ idx = 'P8S6T1', type = 'Toggle', value = true },
{ idx = 'P4S1T3', type = 'Toggle', value = true },
{ idx = 'P4S1T4', type = 'Toggle', value = true },
},
}
local function CloneRivalsConfigProfileValue(value)
if type(value) ~= 'table' then return value end
local copy = {}
for key, child in pairs(value) do
copy[key] = CloneRivalsConfigProfileValue(child)
end
return copy
end
local function CloneRivalsConfigProfileObject(object)
local copy = {}
for key, value in pairs(object) do
copy[key] = CloneRivalsConfigProfileValue(value)
end
return copy
end
local function BuildRivalsConfigProfileDefaultObjects(config_name)
local profile_defaults = ConfigProfileDefaults[config_name]
if type(profile_defaults) ~= 'table' then return nil end
local objects = {}
local indexes_by_id = {}
local function upsert(object)
if type(object) ~= 'table' or type(object.idx) ~= 'string' then return end
local cloned = CloneRivalsConfigProfileObject(object)
local existing_index = indexes_by_id[cloned.idx]
if existing_index then
objects[existing_index] = cloned
else
indexes_by_id[cloned.idx] = #objects + 1
objects[#objects + 1] = cloned
end
end
for _, object in ipairs(SharedConfigDefaultObjects) do
upsert(object)
end
for _, object in ipairs(profile_defaults) do
upsert(object)
end
return objects
end
local function WriteRivalsConfigProfileDefault(config_name)
local objects = BuildRivalsConfigProfileDefaultObjects(config_name)
if not objects then return false, 'unknown RIVALS config profile: ' .. tostring(config_name) end
local settings_folder = ScriptPaths.storage_root() .. '/settings'
if not isfolder(settings_folder) then makefolder(settings_folder) end
local ok, err = pcall(
function() writefile(ScriptPaths.config_path(config_name), HttpService:JSONEncode({ objects = objects })) end
)
if not ok then return false, err end
return true
end
RivalsConfigProfiles.WriteDefault = WriteRivalsConfigProfileDefault
SaveManager:SetIgnoreIndexes({ 'P1S32D1', 'P1S26D6', 'P1S14D1', 'PX18T1' })
local SharedUI = GameBootstrap.create_standard_shared_ui({
ui_settings = UISettings,
window = Window,
library = Library,
theme_manager = ThemeManager,
script_paths = ScriptPaths,
save_manager = SaveManager,
current_config_name = 'RIVALS',
default_config_name = 'RIVALS Default',
config_names = RivalsConfigProfiles.Names,
use_global_config_names = true,
toggles = Toggles,
options = Options,
local_player = LP,
defaults = {
auto_show = true,
show_notification = true,
show_keybind_states = true,
auto_execute_on_teleport = true,
auto_load_config = true,
auto_save_config = true,
load_config_name = 'Legit',
menu_keybind = 'RightControl',
},
persist_menu_keybind = true,
queue_on_teleport = queue_on_teleport,
before_save = function(shared_ui, config_name)
local saveName = config_name or (shared_ui and shared_ui:resolve_save_config_name()) or 'Legit'
RivalsRuntimeBridge.SetRivalsCosmeticsConfigName(saveName)
RivalsRuntimeBridge.SetAutoLoadoutConfigName(saveName)
RivalsRuntimeBridge.CaptureSavedRivalsCosmeticsSelections()
end,
on_save = function(shared_ui, config_name)
local saveName = config_name or (shared_ui and shared_ui:resolve_save_config_name()) or 'Legit'
RivalsRuntimeBridge.SetRivalsCosmeticsConfigName(saveName)
RivalsRuntimeBridge.SetAutoLoadoutConfigName(saveName)
RivalsRuntimeBridge.SaveRivalsCosmeticsSelections()
RivalsRuntimeBridge.SaveAutoLoadoutProfiles()
end,
on_load_saved = function(shared_ui, config_name)
local loadName = config_name or (shared_ui and shared_ui:resolve_load_config_name()) or 'Legit'
RivalsRuntimeBridge.SetRivalsCosmeticsConfigName(loadName)
RivalsRuntimeBridge.SetAutoLoadoutConfigName(loadName)
task.defer(GuardRivalsCallback('Cosmetics_LoadSavedSelections', function()
RivalsRuntimeBridge.LoadSavedRivalsCosmeticsSelections()
RivalsRuntimeBridge.RefreshRivalsCosmetics()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
end))
task.defer(GuardRivalsCallback('AutoLoadout_LoadSavedProfiles', RivalsRuntimeBridge.LoadAutoLoadoutProfiles))
end,
on_load_default = function(shared_ui, config_name)
local loadName = config_name or (shared_ui and shared_ui:resolve_save_config_name()) or 'Legit'
RivalsRuntimeBridge.SetRivalsCosmeticsConfigName(loadName)
RivalsRuntimeBridge.SetAutoLoadoutConfigName(loadName)
task.defer(GuardRivalsCallback('Cosmetics_LoadDefaultSelections', function()
RivalsRuntimeBridge.LoadSavedRivalsCosmeticsSelections()
RivalsRuntimeBridge.RefreshRivalsCosmetics()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
end))
task.defer(GuardRivalsCallback('AutoLoadout_LoadDefaultProfiles', RivalsRuntimeBridge.LoadAutoLoadoutProfiles))
end,
reset_config_to_default = function(shared_ui, config_name) return RivalsConfigProfiles.WriteDefault(config_name) end,
reconcile_loaded_state = function()
if ReconcileLoadedState then ReconcileLoadedState() end
end,
})
RivalsRuntimeBridge.IsConfigLoading = function()
return SharedUI ~= nil and SharedUI.is_config_loading ~= nil and SharedUI:is_config_loading() == true
end
__ZkhHub_genv.ZkxLoad(0.90, 'Loading config')
RivalsRuntimeBridge.Extras.Reconcile = function()
if ReconcileLoadedState then ReconcileLoadedState() end
end
RivalsRuntimeBridge.Extras.BuildConfigUi(Library.Tabs and Library.Tabs['UI Settings'])
local initialRivalsConfigName = (SharedUI:should_auto_load_config() and SharedUI:resolve_load_config_name())
or 'RIVALS Default'
RivalsRuntimeBridge.SetRivalsCosmeticsConfigName(initialRivalsConfigName)
RivalsRuntimeBridge.SetAutoLoadoutConfigName(initialRivalsConfigName)
ReconcileLoadedState = function()
if RivalsRuntimeBridge.RagebotExclusive then RivalsRuntimeBridge.RagebotExclusive.Reconcile() end
if RivalsRuntimeBridge.ZHub then
RivalsRuntimeBridge.ZHub.PushAll()
RivalsRuntimeBridge.ZHubRagebotSync()
end
if RivalsRuntimeBridge.RankCharm then RivalsRuntimeBridge.RankCharm.PushAll() end
RefreshEspRenderSettings()
RivalsModsState.EnsureHooks()
RivalsRuntimeBridge.WorldVisuals.RefreshAll()
RivalsRuntimeBridge.ViewmodelVisuals.RefreshAll()
RivalsRuntimeBridge.NativeRemovals.RefreshAll()
RivalsRuntimeBridge.Movement.RefreshAll()
RivalsRuntimeBridge.DeviceSpoof.RefreshAll()
RivalsRuntimeBridge.PlayerSpoofer.RefreshAll()
RivalsRuntimeBridge.AnimationPlayer.RefreshAll()
RivalsRuntimeBridge.RefreshRivalsCosmetics()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
end
GameBootstrap.prepare_setup({
save_manager = SaveManager,
script_paths = ScriptPaths,
current_config_name = 'RIVALS',
default_config_name = 'RIVALS Default',
shared_ui = SharedUI,
toggles = Toggles,
options = Options,
reset_config_to_default = function(shared_ui, config_name) return RivalsConfigProfiles.WriteDefault(config_name) end,
})
__ZkhHub_genv.ZkxLoad(0.93, 'Applying cosmetics')
RivalsRuntimeBridge.LoadSavedRivalsCosmeticsSelections()
task.defer(GuardRivalsCallback('Cosmetics_LoadCache', function()
if type(RivalsRuntimeBridge.LoadCosmeticsCache) == 'function' then
if pcall(RivalsRuntimeBridge.LoadCosmeticsCache) then
RivalsRuntimeBridge.RefreshRivalsCosmetics()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
end
end
end))
task.defer(GuardRivalsCallback('AutoLoadout_LoadInitialProfiles', RivalsRuntimeBridge.LoadAutoLoadoutProfiles))
EnsureEspRenderSettingsTracking()
RefreshEspRenderSettings()
RivalsRuntimeBridge.WorldVisuals.RefreshAll()
RivalsRuntimeBridge.ViewmodelVisuals.RefreshAll()
RivalsRuntimeBridge.NativeRemovals.RefreshAll()
RivalsRuntimeBridge.Movement.RefreshAll()
RivalsRuntimeBridge.DeviceSpoof.RefreshAll()
RivalsRuntimeBridge.PlayerSpoofer.RefreshAll()
RivalsRuntimeBridge.AnimationPlayer.RefreshAll()
if RivalsRuntimeBridge.ZHub then RivalsRuntimeBridge.ZHub.PushAll() end
if RivalsRuntimeBridge.RankCharm then RivalsRuntimeBridge.RankCharm.PushAll() end
-- Lifecycle
Library:OnUnload(GuardRivalsCallback('Runtime_Unload', function()
RivalsRuntime.ResetState()
Connections:disconnect_all()
end))
__ZkhHub_genv.ZkxLoad(0.95, 'Finalizing')
RivalsRuntime.WaitForInitialLoadInSettle()
__ZkhHub_genv.ZkxLoad(0.97, 'Starting systems')
RivalsRuntime.RegisterPlayerLifecycle()
RivalsRuntime.RegisterWorldLifecycle()
RivalsRuntime.RegisterInputLifecycle()
RivalsRuntime.RegisterCharacterLifecycle()
RivalsRuntime.StartLoops()
RivalsRuntimeBridge.EnsureMatchBoundaryDetection()
RivalsRuntimeBridge.BindRivalsCosmetics()
RivalsRuntimeBridge.BindAutoLoadoutControllers()
RivalsRuntimeBridge.ApplyRivalsCosmetics()
RivalsRuntimeBridge.QueueAutoLoadoutSubmission()
__ZkhHub_genv.ZkxLoad(0.99, 'Almost ready')
SharedUI:notify_loaded(5)
task.spawn(function()
local splash = __ZkhHub_genv.__ZkxSplash
if splash then
__ZkhHub_genv.__ZkxSplash = nil
pcall(splash.Done)
pcall(splash.Wait, 4)
end
task.wait(0.35)
local wanted = true
pcall(function() wanted = RequireSharedModule('script_paths').load_ui_settings().auto_show ~= false end)
if wanted and Library and not Library.Unloaded and not Library.Toggled then
__ZkxHubElevateIdentity()
pcall(Library.Toggle, Library, true)
end
end)
task.defer(GuardRivalsCallback('AutoLoadConfig_Deterministic', function()
task.wait()
if not (SharedUI and type(SharedUI.should_auto_load_config) == 'function') then return end
local okDecide, wants = pcall(function() return SharedUI:should_auto_load_config() end)
if not okDecide or not wants then return end
local configName
pcall(function() configName = SharedUI:resolve_load_config_name() end)
if type(configName) ~= 'string' or configName == '' then
Library:Notify({ Title = 'Auto Load', Description = 'Auto Load is ON but no config is selected.', Time = 5 })
return
end
local ok, err
if type(SharedUI.with_config_load_suspended) == 'function' then
ok, err = SharedUI:with_config_load_suspended(function() return SaveManager:Load(configName) end)
else
ok, err = SaveManager:Load(configName)
end
if ok then
if type(ReconcileLoadedState) == 'function' then task.defer(function() pcall(ReconcileLoadedState) end) end
else
Library:Notify({
Title = 'Auto Load',
Description = string.format('Auto Load could not load %q: %s', configName, tostring(err)),
Time = 7,
})
end
end))
end
__ZkhHub_genv.ZkxLoad(nil, 'Waiting for the game to finish loading')
if
GuardRivalsCallback('EnumLibrary_StartupBarrier', function()
local enumLibrary = ResolveEnumLibrary()
if not enumLibrary then error('EnumLibrary is unavailable') end
if enumLibrary._enum_builder_complete ~= true then
local builderDeadline = os.clock() + 30
while os.clock() < builderDeadline and enumLibrary._enum_builder_complete ~= true do
task.wait(0.1)
end
end
if enumLibrary._enum_builder_complete ~= true then
local fromEnum = rawget(enumLibrary, '_from_enum')
if type(fromEnum) ~= 'table' or next(fromEnum) == nil then
local executorName = 'this executor'
if type(identifyexecutor) == 'function' then
local ok, name = pcall(identifyexecutor)
if ok and type(name) == 'string' and name ~= '' then executorName = name end
end
TryShowRivalsRuntimeIssueNotification("RIVALS isn't supported on " .. executorName .. '.')
return false
end
error('EnumLibrary builder did not complete')
end
if type(enumLibrary.WaitForEnumBuilder) == 'function' then enumLibrary:WaitForEnumBuilder() end
return true
end)() ~= true
then
return
end
__ZkhHub_genv.ZkxLoad(0.40, 'Building ESP')
BuildRivalsUi(Window)
RivalsRuntime.Initialize(Window)
end)()
else
if Library and type(Library.Notify) == 'function' then
Library:Notify({ Title = 'ZkxHub', Description = 'This script only supports RIVALS.', Time = 5 })
end
end
end, function(e) return debug.traceback(tostring(e), 2) end)
if not __game_ok then
task.spawn(function()
local splash = __ZkhHub_genv.__ZkxSplash
if splash then
__ZkhHub_genv.__ZkxSplash = nil
pcall(splash.Done)
pcall(splash.Wait, 4)
end
task.wait(0.35)
local wanted = true
pcall(function() wanted = RequireSharedModule('script_paths').load_ui_settings().auto_show ~= false end)
if wanted and Library and not Library.Unloaded and not Library.Toggled then
__ZkxHubElevateIdentity()
pcall(Library.Toggle, Library, true)
end
end)
if ErrorReporter and type(ErrorReporter.report) == 'function' then ErrorReporter.report(__game_err, nil, 'game_init') end
if Library and type(Library.Notify) == 'function' then
Library:Notify({ Title = 'ZkxHub', Description = 'Fatal error: ' .. tostring(__game_err), Time = 8 })
end
end
end)()Script #52 Aimbot & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/proplayer121/PROSWSW/refs/heads/main/README.md"))()Script #53 [-] 🎯 Combat & More
loadstring(game:HttpGet("https://flowauth.net/v1/ui/41f3beca09c1e740130cc023d127fb53.lua"))()Script #54 Neverlose | (OPEN-SOURCE & More
-- Neverlose
if game.GameId~=6035872082 then warn("[Neverlose for RIVALS] This script only supports RIVALS");return end
local source=[=====[
-- Neverlose
-- BEGIN GENERATED STARTUP GUARD
local STARTUP_SOURCE=[====[
-- Read-only startup checks. Never require a controller while the native loader owns it.
local M={universeId=6035872082}
local function find(root,path)
for part in path:gmatch('[^/]+')do root=root and root:FindFirstChild(part)end
return root
end
function M.probe()
if game.GameId~=0 and game.GameId~=M.universeId then return nil,'wrong game' end
if not game:IsLoaded()then return nil,'Roblox loading' end
if game.GameId~=M.universeId then return nil,'wrong game' end
local p=game:GetService('Players').LocalPlayer
local ps=p and p:FindFirstChild('PlayerScripts');local pg=p and p:FindFirstChild('PlayerGui')
if not (ps and pg and workspace.CurrentCamera)then return nil,'waiting for player/camera' end
-- The same native ScreenGui moves from its module into PlayerGui, then is destroyed
-- after Close() finishes. Check both locations, including the closing blur effect.
local rf=game:GetService('ReplicatedFirst')
if find(rf,'Root/LoadingScreen/LoadingScreen')or pg:FindFirstChild('LoadingScreen')or game:GetService('Lighting'):FindFirstChild('LoadingScreen')then return nil,'RIVALS loading screen' end
local gui=pg:FindFirstChild('MainGui');if not gui then return nil,'waiting for game interface' end
local rs=game:GetService('ReplicatedStorage')
local token={ps,pg,gui,workspace.CurrentCamera}
local fighter=find(ps,'Controllers/FighterController')
if fighter then
for _,spec in ipairs({
{ps,'Controllers/FighterController'},{ps,'Controllers/CameraController'},
{ps,'Controllers/MechanicsController'},{ps,'Modules/ClientReplicatedClasses/ClientFighter/ClientItem/ClientViewModel'},
{ps,'Modules/ItemTypes/Gun'},{rs,'Modules/ItemLibrary'},{rs,'Modules/CosmeticLibrary'},{rs,'Modules/Utility'},
})do
local dependency=find(spec[1],spec[2]);if not dependency then return nil,'waiting for game modules' end
table.insert(token,dependency)
end
else
for _,path in ipairs({'Modules/Client/Controllers/GunController','Modules/Client/Controllers/CameraController','Modules/Client/CameraPOV','Assets/Operators/Operator1'})do
local dependency=find(rs,path);if not dependency then return nil,'waiting for game modules' end
table.insert(token,dependency)
end
end
return token,'ready'
end
function M.same(a,b)
if not a or not b or #a~=#b then return false end
for i,v in ipairs(a)do if v~=b[i]then return false end end
return true
end
function M.wait(timeout,cancel)
local deadline=os.clock()+(timeout or 180);local stable,since;local reason
repeat
if cancel and cancel()then return false,'cancelled' end
local token;token,reason=M.probe()
if reason=='wrong game'then return false,reason end
if not M.same(token,stable)then stable,since=token,os.clock()end
if token and os.clock()-(since or os.clock())>=2 then return true end
task.wait(.25)
until os.clock()>=deadline
return false,'Timed out waiting for '..tostring(reason)
end
return M
]====]
local Startup=assert(loadstring(STARTUP_SOURCE,"Neverlose for RIVALS / Startup"))()
local startupReady,startupReason=Startup.wait(180)
if not startupReady then warn("[Neverlose for RIVALS] "..tostring(startupReason));return end
-- END GENERATED STARTUP GUARD
local cloneref = cloneref or function(o) return o end
local Players = cloneref(game:GetService("Players"))
local TweenService = cloneref(game:GetService("TweenService"))
local UserInputService = cloneref(game:GetService("UserInputService"))
local HttpService = cloneref(game:GetService("HttpService"))
local RunService = cloneref(game:GetService("RunService"))
local LocalPlayer = Players.LocalPlayer
local httpRequest = request or http_request or (syn and syn.request)
local ROOT = "neverlose_ui"
local ICON_DIR = ROOT .. "/icons_v3"
local ICON_DATA -- filled in at the bottom of the file
local function rgb(r, g, b)
return Color3.fromRGB(r, g, b)
end
-- Colours sampled from 1080p footage of the menu and the official docs screenshots.
local Theme = {
Content = rgb(8, 8, 13),
Group = rgb(3, 13, 26),
Line = rgb(5, 26, 38),
Field = rgb(7, 15, 24),
FieldStroke = rgb(3, 28, 46),
Label = rgb(153, 176, 189),
Title = rgb(232, 238, 242),
Dim = rgb(96, 112, 126),
NavHeader = rgb(60, 69, 82),
NavText = rgb(232, 239, 250),
NavTextActive = rgb(215, 244, 254),
NavIcon = rgb(72, 147, 178),
NavIconActive = rgb(66, 153, 194),
NavActive = rgb(8, 47, 66),
SidebarEdge = rgb(15, 20, 28),
SidebarTint = rgb(2, 11, 24),
SidebarSeeThrough = 0.12,
Logo = rgb(254, 254, 255),
HeaderIcon = rgb(247, 246, 251),
Button = rgb(13, 126, 168),
ButtonHover = rgb(20, 141, 186),
TabActive = rgb(5, 69, 102),
KnobOff = rgb(125, 138, 148),
TrackOff = rgb(3, 5, 13),
KnobOn = rgb(26, 149, 209),
TrackOn = rgb(4, 40, 62),
TrackOnStroke = rgb(5, 66, 96),
SliderTrack = rgb(11, 25, 41),
SliderFill = rgb(52, 110, 196),
SliderKnob = rgb(78, 136, 222),
Value = rgb(120, 134, 148),
Name = rgb(231, 242, 252),
Link = rgb(61, 149, 194),
Popup = rgb(8, 18, 30),
PopupHover = rgb(12, 29, 46),
}
-- Window metrics (pixels, measured at 1080p)
local WIN_W, WIN_H = 835, 688
local WIN_RADIUS = 8
local SIDEBAR_W = 192
local CONTENT_W = WIN_W - SIDEBAR_W
local HEADER_H = 69
local COL_W = 296
local ROW_H = 31
---------------------------------------------------------------------------------------------
-- Assets
---------------------------------------------------------------------------------------------
local function ensureFolder(path)
if not isfolder(path) then
makefolder(path)
end
end
local function download(path, url)
if isfile(path) then
return true
end
if not httpRequest then
return false
end
local ok, res = pcall(httpRequest, { Url = url, Method = "GET" })
if ok and res and res.StatusCode == 200 and res.Body and #res.Body > 1000 then
writefile(path, res.Body)
return true
end
return false
end
local B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
local B64_LOOKUP = {}
for i = 1, #B64 do
B64_LOOKUP[B64:sub(i, i)] = i - 1
end
local function base64Decode(data)
data = data:gsub("[^%w%+/]", "")
local out = table.create and table.create(#data) or {}
local n = 0
for i = 1, #data, 4 do
local a = B64_LOOKUP[data:sub(i, i)] or 0
local b = B64_LOOKUP[data:sub(i + 1, i + 1)] or 0
local c = B64_LOOKUP[data:sub(i + 2, i + 2)]
local d = B64_LOOKUP[data:sub(i + 3, i + 3)]
local v = a * 262144 + b * 4096 + (c or 0) * 64 + (d or 0)
n += 1
out[n] = string.char(bit32.rshift(v, 16) % 256)
if c then
n += 1
out[n] = string.char(bit32.rshift(v, 8) % 256)
end
if d then
n += 1
out[n] = string.char(v % 256)
end
end
return table.concat(out, "", 1, n)
end
local MULISH_URL = "https://raw.githubusercontent.com/googlefonts/mulish/main/fonts/ttf/"
local function loadFontFamily()
local faces = {
{ "Regular", 400, "Mulish-Regular.ttf" },
{ "Medium", 500, "Mulish-Medium.ttf" },
{ "SemiBold", 600, "Mulish-SemiBold.ttf" },
{ "Bold", 700, "Mulish-Bold.ttf" },
{ "ExtraBold", 800, "Mulish-ExtraBold.ttf" },
}
local family = { name = "NeverloseMulish", faces = {} }
for _, face in ipairs(faces) do
local path = ROOT .. "/fonts/" .. face[3]
if download(path, MULISH_URL .. face[3]) then
table.insert(family.faces, {
name = face[1],
weight = face[2],
style = "normal",
assetId = getcustomasset(path),
})
end
end
if #family.faces == 0 then
return nil
end
local jsonPath = ROOT .. "/fonts/mulish.json"
writefile(jsonPath, HttpService:JSONEncode(family))
return getcustomasset(jsonPath)
end
ensureFolder(ROOT)
ensureFolder(ROOT .. "/fonts")
ensureFolder(ICON_DIR)
-- Keep font registrations and loaded faces across menu reloads in this client session.
local fontEnv = getgenv and getgenv() or {}
local fontCache = fontEnv.NeverloseFontCache
if type(fontCache) ~= "table" or fontCache.version ~= 1 then
fontCache = { version = 1, ready = false, warmups = 0 }
fontEnv.NeverloseFontCache = fontCache
end
local okFamily, familyId = true, fontCache.familyId
if not familyId then
okFamily, familyId = pcall(loadFontFamily)
if okFamily then fontCache.familyId = familyId end
end
local function fontOf(weight)
if okFamily and familyId then
return Font.new(familyId, weight)
end
return Font.new("rbxasset://fonts/families/GothamSSm.json", weight)
end
local Fonts = fontCache.fonts or {
Regular = fontOf(Enum.FontWeight.Regular),
Medium = fontOf(Enum.FontWeight.Medium),
SemiBold = fontOf(Enum.FontWeight.SemiBold),
Bold = fontOf(Enum.FontWeight.Bold),
ExtraBold = fontOf(Enum.FontWeight.ExtraBold),
Logo = Font.new("rbxasset://fonts/families/Montserrat.json", Enum.FontWeight.ExtraBold),
}
fontCache.fonts = Fonts
if not fontCache.ready then
local textService = game:GetService("TextService")
local allReady = true
for name, face in pairs(Fonts) do
local params = Instance.new("GetTextBoundsParams")
params.Font = face
params.Size = name == "Logo" and 30 or 16
params.Width = 4096
params.Text = "ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 !?.,:;+-/%()[] °•×→"
local loaded, err = pcall(function() textService:GetTextBoundsAsync(params) end)
fontCache.warmups += 1
params:Destroy()
if not loaded then allReady = false; fontCache.lastError = tostring(err) end
end
fontCache.ready = allReady
end
local Icons = {}
local function loadIcons()
for name, data in pairs(ICON_DATA) do
local path = ICON_DIR .. "/" .. name .. ".png"
if not isfile(path) then
writefile(path, base64Decode(data))
end
local ok, id = pcall(getcustomasset, path)
if ok then
Icons[name] = id
end
end
end
---------------------------------------------------------------------------------------------
-- Instance helpers
---------------------------------------------------------------------------------------------
local function create(className, props, children)
local inst = Instance.new(className)
local parent = props.Parent
props.Parent = nil
for key, value in pairs(props) do
inst[key] = value
end
if children then
for _, child in ipairs(children) do
child.Parent = inst
end
end
if parent then
inst.Parent = parent
end
return inst
end
local function corner(radius)
return create("UICorner", { CornerRadius = typeof(radius) == "UDim" and radius or UDim.new(0, radius) })
end
local function stroke(color, thickness)
local s = create("UIStroke", {
Color = color,
Thickness = thickness or 1,
ApplyStrokeMode = Enum.ApplyStrokeMode.Border,
})
-- keep the stroke inside the frame so sizes match the reference pixel-for-pixel
pcall(function()
s.BorderStrokePosition = Enum.BorderStrokePosition.Inner
end)
return s
end
local function text(props)
props.BackgroundTransparency = 1
props.BorderSizePixel = 0
props.TextXAlignment = props.TextXAlignment or Enum.TextXAlignment.Left
props.TextYAlignment = props.TextYAlignment or Enum.TextYAlignment.Center
props.FontFace = props.FontFace or Fonts.SemiBold
return create("TextLabel", props)
end
local function icon(name, size, color, props)
props = props or {}
props.BackgroundTransparency = 1
props.BorderSizePixel = 0
props.Image = Icons[name .. "_" .. size] or ""
props.ImageColor3 = color
props.Size = UDim2.fromOffset(size, size)
return create("ImageLabel", props)
end
local function frame(props, children)
props.BorderSizePixel = 0
return create("Frame", props, children)
end
local function hitbox(props)
props.BackgroundTransparency = 1
props.BorderSizePixel = 0
props.Text = ""
props.AutoButtonColor = false
return create("TextButton", props)
end
local function tween(inst, time, props, style)
local t = TweenService:Create(inst, TweenInfo.new(time, style or Enum.EasingStyle.Quad, Enum.EasingDirection.Out), props)
t:Play()
return t
end
local function toHex(c)
return string.format("#%02X%02X%02X", math.floor(c.R * 255 + 0.5), math.floor(c.G * 255 + 0.5), math.floor(c.B * 255 + 0.5))
end
local function fromHex(s)
s = tostring(s or ""):gsub("#", "")
local r, g, b = tonumber(s:sub(1, 2), 16), tonumber(s:sub(3, 4), 16), tonumber(s:sub(5, 6), 16)
if r and g and b then
return Color3.fromRGB(r, g, b)
end
return Color3.new(1, 1, 1)
end
local function keyName(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.Unknown then
return nil
end
return input.KeyCode.Name
elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
return "MB2"
elseif input.UserInputType == Enum.UserInputType.MouseButton3 then
return "MB3"
end
return nil
end
local function copyValue(v)
if type(v) == "table" then
local t = {}
for k, x in pairs(v) do
t[k] = x
end
return t
end
return v
end
---------------------------------------------------------------------------------------------
-- Menu
---------------------------------------------------------------------------------------------
local installGameAdapter = (function()
-- Fighter / ClientItem runtime bridge. Older OperatorPresenter builds use their original adapters.
local ShotPacket=(function()
local M={}
function M.read(data,key,codec)
local value=data[key]
if typeof(value)=='CFrame'then return value end
if type(value)=='table'then return codec:DecodeCFrame(value)end
end
function M.write(data,key,value,codec,encoded)
data[key]=value and (encoded and codec:EncodeCFrame(value)or value)or nil
end
return M
end)()
local KatanaDeflect=(function()
local M={}
function M.new(clock)
local windows=setmetatable({},{__mode='k'})
local function katana(w)return w and (w.Name=='Katana'or w.Info and w.Info.Name=='Katana')end
return {
start=function(w)
if katana(w)then windows[w]={hash=w._deflect_hash,expires=clock()+(tonumber(w.Info.DeflectDuration)or 0)}end
end,
stop=function(w)windows[w]={hash=w._deflect_hash,expires=0}end,
active=function(w)
if not katana(w)then return false end
local window=windows[w]
if window and window.hash==w._deflect_hash then return clock()<window.expires end
-- Handles loading this menu halfway through an existing native deflect.
return w:Get('FOVOffset')==5
end,
}
end
return M
end)()
local ShieldGuard=(function()
local M={}
function M.active(w)
if not w or w._destroyed or not (w.Name=='Riot Shield'or w.Info and w.Info.Name=='Riot Shield')then return false end
-- Native Ammo is shield durability; cosmetics and delayed broken animations are not authoritative.
return (tonumber(w:Get('Ammo'))or 0)>0
end
function M.fighter(f)
if not f then return false end
if M.active(f.EquippedItem)then return true end
-- A holstered Riot Shield also protects its carrier's back.
for _,w in pairs(f.Items or {})do if M.active(w)then return true end end
return false
end
return M
end)()
return function(connect,cleanups,getValue,isMenuOpen)
local Players=game:GetService('Players')
local RS=game:GetService('ReplicatedStorage')
local Run=game:GetService('RunService')
local UIS=game:GetService('UserInputService')
local Collection=game:GetService('CollectionService')
local player=Players.LocalPlayer
local ps=player:FindFirstChild('PlayerScripts')
local controllers=ps and ps:FindFirstChild('Controllers')
if not (controllers and controllers:FindFirstChild('FighterController')) then return nil end
local function requireAt(root,path)
for part in path:gmatch('[^/]+') do root=root and root:FindFirstChild(part) end
if not root then return nil end
local previous=getthreadidentity and getthreadidentity()
if setthreadidentity then setthreadidentity(2)end
local ok,value=pcall(require,root)
if setthreadidentity and previous then setthreadidentity(previous)end
return ok and value or nil
end
local fc=requireAt(controllers,'FighterController')
local camera=requireAt(controllers,'CameraController')
local mechanics=requireAt(controllers,'MechanicsController')
local playerData=requireAt(controllers,'PlayerDataController')
local enemies=requireAt(controllers,'EnemyController')
local duels=requireAt(controllers,'DuelController')
local duelLibrary=requireAt(RS,'Modules/DuelLibrary')
local items=requireAt(RS,'Modules/ItemLibrary')
local cosmetics=requireAt(RS,'Modules/CosmeticLibrary')
local utility=requireAt(RS,'Modules/Utility')
local jointsClass=requireAt(ps,'Modules/ClientReplicatedClasses/ClientFighter/ClientFighterCharacter/Joints')
local vmClass=requireAt(ps,'Modules/ClientReplicatedClasses/ClientFighter/ClientItem/ClientViewModel')
local gunClass=requireAt(ps,'Modules/ItemTypes/Gun')
local katanaClass=requireAt(ps,'Modules/Items/Katana')
local scopeClass=requireAt(ps,'Modules/ClientReplicatedClasses/ClientFighter/ClientItem/ItemInterface/Mouse/Scope')
local flashClass=requireAt(ps,'Modules/ClientReplicatedClasses/ClientFighter/FighterInterface/Flashed')
local smokeClass=requireAt(ps,'Modules/ClientReplicatedClasses/ClientFighter/FighterInterface/SmokeScreen')
if not (fc and camera and items and vmClass and gunClass and utility) then error('Fighter runtime is not ready; re-execute after the client loads.') end
local A={native=true,name='Fighter1076',thirdPerson=false,targetGroups={Head={'Head'},Body={'Body'}},skinChoices={'Original'},weaponChoices={},modelChoices={}}
A.defaultFov=camera._base_fov
A.mapChoices={'Select a map'}
A.mapVoteSupported=duels~=nil and duelLibrary~=nil
if duelLibrary and type(duelLibrary.Maps)=='table'then
local names={};for name in pairs(duelLibrary.Maps)do if type(name)=='string'then table.insert(names,name)end end
table.sort(names);for _,name in ipairs(names)do table.insert(A.mapChoices,name)end
end
local diagnostics={adapter=A.name,errors=0,skin='Original',skinApplications=0,seedSupported=false}
local stopped=false
local function atGameIdentity(fn)
local previous=getthreadidentity and getthreadidentity()
if setthreadidentity then setthreadidentity(2)end
local result=table.pack(pcall(fn))
if setthreadidentity and previous then setthreadidentity(previous)end
if not result[1]then error(result[2],0)end
return table.unpack(result,2,result.n)
end
local function hook(object,name,wrap,bag)
if type(object)~='table' or type(object[name])~='function' then return end
local had=rawget(object,name);local original=object[name];local replacement=wrap(original)
object[name]=replacement
table.insert(bag or cleanups,function()if object[name]==replacement then object[name]=had end end)
end
local function signal()
local event=Instance.new('BindableEvent')
table.insert(cleanups,function()event:Destroy()end)
return {Connect=function(_,fn)return event.Event:Connect(fn)end,Fire=function(_,...)event:Fire(...)end}
end
local function localFighter()return fc.LocalFighter end
local function item()local f=localFighter();return f and f.EquippedItem end
local pitchProvider
local nativeCameraReplicationLoop=fc._CameraReplicationLoop
A.pitchSupported=type(nativeCameraReplicationLoop)=='function'and type(utility.EncodeCameraRotation)=='function'and type(jointsClass)=='table'and type(jointsClass.Update)=='function'
function A.canReplicatePitch()
local f=localFighter()
return f~=nil and f:Get('IsSpectating')==true and not not camera:GetPublicState()
end
function A.setPitchProvider(fn)
local previous=pitchProvider;pitchProvider=fn
return function()if pitchProvider==fn then pitchProvider=previous end end
end
if A.pitchSupported then
hook(utility,'EncodeCameraRotation',function(original)return function(self,rotation,...)
-- Only the game's periodic cosmetic camera report uses the posed pitch.
-- Other encodes and all shot/camera CFrames retain the true aiming direction.
if debug.info(2,'f')==nativeCameraReplicationLoop and rotation==camera.Rotation and pitchProvider then
local pitch=pitchProvider()
if type(pitch)=='number'then
diagnostics.pitchReports=(diagnostics.pitchReports or 0)+1
rotation=Vector2.new(pitch,rotation.Y)
end
end
return original(self,rotation,...)
end end)
hook(jointsClass,'Update',function(original)return function(self,dt,data,...)
if self.ClientFighterCharacter.ClientFighter==localFighter()and pitchProvider and typeof(data.CameraRotationRaw)=='Vector2'then
local pitch=pitchProvider()
if type(pitch)=='number'then
data=table.clone(data);data.CameraRotationRaw=Vector2.new(pitch,data.CameraRotationRaw.Y)
end
end
return original(self,dt,data,...)
end end)
end
local owners,entries={},{}
local nextRefresh=0
local function refresh(force)
if not force and os.clock()<nextRefresh then return end
nextRefresh=os.clock()+.2;table.clear(owners);table.clear(entries)
local localActor=localFighter();local environment=localActor and localActor:Get('EnvironmentID')
for _,f in pairs(fc.Objects)do
local e=f.Entity;local owner=f.Player or e and e.Model
if owner and e and e.Model and e.Model.Parent then
entries[owner]={fighter=f,entity=e};if owner==player or e:Get('EnvironmentID')==environment then table.insert(owners,owner)end
end
end
for _,e in pairs(enemies and enemies.Objects or {})do
if e.Model and e.Model.Parent and e.Humanoid and not entries[e.Model] then entries[e.Model]={entity=e};if e:Get('EnvironmentID')==environment then table.insert(owners,e.Model)end end
end
end
local function entry(owner)refresh();return entries[owner]end
local deflection=KatanaDeflect.new(os.clock)
hook(katanaClass,'_StartDeflecting',function(original)return function(self,...)
local result=table.pack(original(self,...));deflection.start(self);return table.unpack(result,1,result.n)
end end)
hook(katanaClass,'_StopDeflecting',function(original)return function(self,...)
local result=table.pack(original(self,...));deflection.stop(self);return table.unpack(result,1,result.n)
end end)
function A.isDeflecting(owner)
local r=entry(owner)
return deflection.active(r and r.fighter and r.fighter.EquippedItem)
end
function A.isShielding(owner)
local r=entry(owner)
return ShieldGuard.fighter(r and r.fighter)
end
function A.health(owner)
local r=entry(owner);local e=r and r.entity
if not e then return 0,0 end
return e:GetHealth(),e:GetMaxHealth()
end
function A.datum(owner,names)
local r=entry(owner);if not r then return nil end
local f,e=r.fighter,r.entity;local w=f and f.EquippedItem
for _,n in ipairs(names)do
if n=='BotHealth' or n=='Health' then return e:GetHealth()
elseif n=='BotMaxHealth' or n=='MaxHealth' then return e:GetMaxHealth()
elseif n=='Dead' then return not e:IsAlive()
elseif n=='CurrentWeapon' then return w and w.Name
elseif n=='Ammo' then return w and w:Get('Ammo')
elseif n=='MaxAmmo' then return w and w.Info.MaxAmmo
elseif n=='Aiming' or n=='OwnAiming' then return w and w:Get('IsAiming')
elseif n=='Team' then return f and f:Get('TeamID') or e:Get('TeamID') end
end
end
local function hostile(_,owner)
if owner==player then return false end
local r=entry(owner);local f=localFighter()
if not (r and f and f.Entity) then return false end
if r.entity:Get('EnvironmentID')~=f:Get('EnvironmentID') then return false end
local lookup=f:GetEntityLookupParams()
return (lookup.TeamkillEnabled or not (lookup.TeamID and r.entity:Get('TeamID')==lookup.TeamID))==true
end
local participant={}
function participant.All()refresh();return table.clone(owners)end
function participant.BodyOf(owner)local r=entry(owner);return r and r.entity.Model end
function participant.NameOf(owner)return owner.Name end
function participant.ByIdOf(id)for _,p in ipairs(Players:GetPlayers())do if p.UserId==id then return p end end end
local localVisualProvider
function A.setLocalVisualProvider(fn)
local previous=localVisualProvider;localVisualProvider=fn
return function()if localVisualProvider==fn then localVisualProvider=previous end end
end
local merc={GetVisual=function(owner)
if owner==player and localVisualProvider then local model=localVisualProvider();if model and model.Parent then return model end end
return participant.BodyOf(owner)
end}
local hostility={IsHostile=hostile,TeamOf=function(owner)return A.datum(owner,{'Team'})end}
function A.zones(owner,small)
local r=entry(owner);local result={}
if small==nil then local w=item();small=w and w.Info.RaycastGrabSmallHitboxes or false end
if r then for _,part in pairs(r.entity:GetHitboxes(small))do
if part.Name=='HitboxHead' or part.Name=='HitboxHeadSmall'then result.Head=part elseif part.Name=='HitboxBody' or part.Name=='HitboxBodySmall'then result.Body=part end
end end
return result
end
function A.zone(part)return (part.Name=='HitboxHead' or part.Name=='HitboxHeadSmall')and 'Head'or 'Body'end
function A.weaponIcon(name)local info=items.Items[name];return info and info.Image end
function A.sampleSpread(direction,angle,index,samples)
local phi=index*2.399963229728653
return (CFrame.lookAt(Vector3.zero,direction)*CFrame.Angles(0,0,phi)*CFrame.Angles(math.rad(angle)*(index+.5)/samples,0,0)).LookVector
end
function A.chassis(owner)
local r=entry(owner);local result={}
if r then
for _,p in pairs(r.entity:GetHitboxes())do table.insert(result,{part=p})end
if #result==0 then for _,p in ipairs(r.entity.Model:GetChildren())do
if p:IsA('BasePart') and p.Name~='HumanoidRootPart' and (p.Name=='Head' or p.Name:find('Torso') or p.Name:find('Arm') or p.Name:find('Leg') or p.Name:find('Hand') or p.Name:find('Foot'))then table.insert(result,{part=p})end
end end
end
return result
end
function A.actorModels()
local result={}
for _,f in pairs(fc.Objects)do if f.Entity and f.Entity.Model then table.insert(result,f.Entity.Model)end end
for _,e in pairs(enemies and enemies.Objects or {})do if e.Humanoid and e.Model then table.insert(result,e.Model)end end
return result
end
local cosmeticCache=setmetatable({},{__mode='k'})
function A.paintCosmetics(model,enabled,refresh)
local saved=cosmeticCache[model]
if not enabled then
if saved then for node,props in pairs(saved)do if node.Parent then for prop,value in pairs(props)do node[prop]=value end end end end
cosmeticCache[model]=nil;return
end
if not saved then saved={};cosmeticCache[model]=saved;refresh=true end
if refresh then for _,node in ipairs(model:GetDescendants())do if not saved[node]then
if node:IsA('Shirt')then saved[node]={ShirtTemplate=node.ShirtTemplate}
elseif node:IsA('Pants')then saved[node]={PantsTemplate=node.PantsTemplate}
elseif node:IsA('ShirtGraphic')then saved[node]={Graphic=node.Graphic}
elseif node:IsA('SpecialMesh')then saved[node]={TextureId=node.TextureId,VertexColor=node.VertexColor}
elseif node:IsA('Decal')or node:IsA('Texture')then saved[node]={Transparency=node.Transparency}end
end end end
for node,props in pairs(saved)do if node.Parent then
for prop in pairs(props)do
local value=prop=='Transparency' and 1 or prop=='VertexColor' and Vector3.one or ''
if node[prop]~=value then node[prop]=value end
end
end end
end
table.insert(cleanups,function()for model in pairs(cosmeticCache)do A.paintCosmetics(model,false)end end)
function A.avatarTemplate()
return atGameIdentity(function()
local f=localFighter();local e=f and f.Entity
if not e then return nil end
local clone=e.Visibility:CloneModel()
for _,part in ipairs(clone:GetDescendants())do if part:IsA('BasePart')or part:IsA('Decal')then part.LocalTransparencyModifier=0 end end
local idle
local animator=e.Model:FindFirstChildWhichIsA('Animator',true)
if animator then for _,track in ipairs(animator:GetPlayingAnimationTracks())do
if track.Looped and track.Priority==Enum.AnimationPriority.Idle and track.Animation then idle=track.Animation:Clone();break end
end end
return clone,idle
end)
end
local nativeWeapons,bulletDefs={},{}
for name,info in pairs(items.Items)do
local spec=table.clone(info)
spec.Category=info.Class=='Secondary' and 'Pistol' or name=='Sniper' and 'Sniper' or name=='Uzi' and 'SMG' or 'Rifle'
spec.HeadshotMult=(info.CriticalDamage or info.ShootDamage or 0)/math.max(info.ShootDamage or 1,.001)
spec.Projectile=name;spec.Range=10000;spec.SpreadAngle=0
nativeWeapons[name]=spec
bulletDefs[name]={Speed=info.IsProjectile and info.ProjectileSpeed or 0,MaxDistance=10000,Acceleration=Vector3.new(0,-(info.ProjectileGravity or 0),0)}
end
local damage={}
function damage.BaseDamageAtDistance(spec,distance)
local start=spec.RaycastDamageDropoffStartDistance or math.huge
local finish=spec.RaycastDamageDropoffEndDistance or start
local blend=finish>start and math.clamp((distance-start)/(finish-start),0,1) or (distance>start and 1 or 0)
return (spec.ShootDamage or 0)*(1+((spec.RaycastDamageDropoffMultiplier or 1)-1)*blend)
end
function damage.Multiplier()return 1 end
local gun={Fired=signal()}
local beforeShot={}
function A.onBeforeShot(fn)
beforeShot[fn]=true;return function()beforeShot[fn]=nil end
end
hook(gunClass,'StartShooting',function(original)return function(self,...)
if self.ClientFighter==localFighter()then for fn in pairs(beforeShot)do fn()end end
return original(self,...)
end end)
local weapons=setmetatable({},{__mode='k'})
local function weapon()
local w=item();if not w then return nil end
if not weapons[w] then
local wrapper={}
function wrapper:TimeUntilNextPull()return math.max(0,math.max(w._shoot_cooldown or 0,w._shoot_cooldown_no_ammo or 0)-tick())end
function wrapper:ReleaseTrigger()end
weapons[w]=setmetatable(wrapper,{__index=function(_,key)
if key=='Name' then return w.Name elseif key=='Model' then return w.ViewModel and w.ViewModel.Model
elseif key=='MagAmmo' then return w:Get('Ammo') elseif key=='MaxMagSize' then return w.Info.MaxAmmo
elseif key=='IsReloading' then return tick()<(w._reload_cooldown or 0)
elseif key=='BurstFiring' then return false elseif key=='FireMode' then return 'auto' end
end})
end
return weapons[w]
end
setmetatable(gun,{__index=function(_,key)
local f,w=localFighter(),item()
if key=='Weapon' then return weapon() elseif key=='Enabled' then return f and f:IsAlive() and f:IsActive()
elseif key=='AimHeld' then return w and w:Get('IsAiming') elseif key=='AimAmount' then return w and w.ViewModel and w.ViewModel.CurrentAimValue or 0
elseif key=='SwapPhase' then return w and w:IsEquipping() and 'equipping' or 'idle'
elseif key=='FireHeld' then return UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
elseif key=='_launcher' then return w and w.Info.IsProjectile elseif key=='_isGenericItem' then return w and w.Info.Type~='Gun' end
end})
function gun:ShouldBlockWeaponInput()
local f,w=localFighter(),item()
return not (f and w and f:IsAlive() and f:IsActive() and camera:GetCurrentSubject()==f and atGameIdentity(function()return f:CanUseWeapon(w.Name)end))
end
local function eye()
local f=localFighter()
return f and f.Entity and camera:GetCameraCFrame(f) or workspace.CurrentCamera.CFrame
end
local avatar,avatarParts,avatarSaved,avatarConnection=nil,{},{}
local avatarTransparencySaved={}
local avatarHiddenProvider
function A.setAvatarHiddenProvider(fn)
local previous=avatarHiddenProvider;avatarHiddenProvider=fn
return function()if avatarHiddenProvider==fn then avatarHiddenProvider=previous end end
end
local function restoreAvatar()
for part,value in pairs(avatarSaved)do if part.Parent then
part.LocalTransparencyModifier=value
if avatarTransparencySaved[part]~=nil then part.Transparency=avatarTransparencySaved[part]end
end end
table.clear(avatarSaved)
table.clear(avatarTransparencySaved)
end
function A.firstPerson(owner)
local r=entry(owner);local f=r and r.fighter
return f and camera:GetCurrentSubject()==f and camera.CameraState:GetPublicState()=='FirstPerson' and f:IsActive()==true
end
function A.restoreVisibility(owner)
local r=owner and entry(owner);local f=r and r.fighter or localFighter();local e=f and f.Entity
if e and e.Visibility then e.Visibility:_Verify(true)end
end
local function enforceAvatar()
local f=localFighter();local e=f and f.Entity;local model=e and e.Model
if model~=avatar then
restoreAvatar();if avatarConnection then avatarConnection:Disconnect()end
avatar=model;table.clear(avatarParts)
local function add(part)if part:IsA('BasePart')or part:IsA('Decal')then table.insert(avatarParts,part)end end
if model then
for _,part in ipairs(model:GetDescendants())do add(part)end
avatarConnection=model.DescendantAdded:Connect(add)
A.restoreVisibility()
end
end
if A.firstPerson(player)or avatarHiddenProvider and avatarHiddenProvider()==true then
for _,part in ipairs(avatarParts)do if part.Parent and part:IsDescendantOf(avatar)then
if avatarSaved[part]==nil then avatarSaved[part]=part.LocalTransparencyModifier end
if avatarTransparencySaved[part]==nil then avatarTransparencySaved[part]=part.Transparency end
part.LocalTransparencyModifier=1
part.Transparency=1 -- The native head renderer independently resets its local modifier.
elseif avatarSaved[part]~=nil then
if part.Parent then
part.LocalTransparencyModifier=avatarSaved[part]
if avatarTransparencySaved[part]~=nil then part.Transparency=avatarTransparencySaved[part]end
end
avatarSaved[part]=nil
avatarTransparencySaved[part]=nil
end end
elseif next(avatarSaved) then restoreAvatar();A.restoreVisibility()end
end
function A.refreshAvatarVisibility()return atGameIdentity(enforceAvatar)end
table.insert(cleanups,function()atGameIdentity(function()
if avatarConnection then avatarConnection:Disconnect()end
restoreAvatar();A.restoreVisibility()
end)end)
local pov={GetEyeCFrame=eye,GetEyePosition=function()return eye().Position end}
function gun:GetFireDirectionUnspread()return eye().LookVector end
function gun:GetAimDirection()return self:GetFireDirectionUnspread()end
function gun:GetFireDirection()return self:GetFireDirectionUnspread()end
function gun:GetActiveProjectileMuzzleWorldCFrame()
local w=item();local vm=w and w.ViewModel;local attachment=vm and vm:GetMuzzleAttachment()
return attachment and attachment.WorldCFrame or eye()
end
function gun:GetMuzzleWorldPosition()return self:GetActiveProjectileMuzzleWorldCFrame().Position end
function gun:_GetEffectiveBloomDeg()
local f,w=localFighter(),item();if not w then return 0 end
local info=w.Info
local velocity=f.Entity and f.Entity.RootPart.AssemblyLinearVelocity.Magnitude or 0
local spread=(info.ShootSpread or 0)+math.min(info.ShootSpreadPerVelocityLimit or 0,velocity*(info.ShootSpreadPerVelocityUnit or 0))
return spread*math.min(w:IsFullyAiming() and (info.AimSpreadMultiplier or 1) or 1,f:IsCrouching() and .75 or 1)
end
function gun:StartAiming()local f=localFighter();if f then return atGameIdentity(function()return f:Input('StartAiming')end)end end
function gun:StopAiming()local f=localFighter();if f then return atGameIdentity(function()return f:Input('FinishAiming')end)end end
function gun:FireWeapon()
if self:ShouldBlockWeaponInput() then return false end
local f,w=localFighter(),item()
if not (w.Info.IsRaycast and w.Info.Type=='Gun') or w:IsEquipping() or tick()<math.max(w._shoot_cooldown or 0,w._shoot_cooldown_no_ammo or 0,w._reload_cooldown or 0)then return false end
local before=w._last_shot
atGameIdentity(function()f:Input('StartShooting')end) -- Native input owns ammo, reloads, cooldowns and replication.
return w._last_shot~=before
end
local bullets={ShotEmitted=signal(),HitConfirmed=signal()}
local combat={LocalHit=signal()}
function bullets.ProjectileParams()
local params=RaycastParams.new();params.FilterType=Enum.RaycastFilterType.Include;params.IgnoreWater=true
local f=localFighter();local list=f and Collection:GetTagged('RaycastWhitelist'..(f:Get('EnvironmentID') or '')) or {}
local lookup=f and f:GetEntityLookupParams()
for _,owner in ipairs(participant.All())do
local r=entry(owner)
if owner~=player and lookup and r and lookup:IsValidTarget(r.entity)then for _,part in pairs(A.zones(owner))do table.insert(list,part)end end
end
params.FilterDescendantsInstances=list;return params
end
function bullets:AssistSupported(name)local info=items.Items[name];return info and info.Type=='Gun' and info.IsRaycast and (info.ShootDamage or 0)>0 end
function bullets:PredictHit(name,origin,direction,muzzle,slack,predicate)
local params=bullets.ProjectileParams()
local hit=workspace:Raycast(origin,direction*10000,params)
-- Native eye and muzzle must both clear the map.
if hit and predicate(hit.Instance) then
if muzzle and (muzzle.Position-origin).Magnitude>.1 then
local clearance=workspace:Raycast(muzzle.Position,hit.Position-muzzle.Position,params)
if clearance and not predicate(clearance.Instance) then return nil end
end
return hit.Instance
end
end
local active=setmetatable({},{__index=function(_,key)
if key=='_yawCurrent' or key=='_yawTarget' then return camera.Rotation.Y elseif key=='_pitchCurrent' or key=='_pitchTarget' then return camera.Rotation.X end
end,__newindex=function(_,key,value)
if key=='_yawCurrent' or key=='_yawTarget' then camera:SetRotation(Vector2.new(camera.Rotation.X,value))
elseif key=='_pitchCurrent' or key=='_pitchTarget' then camera:SetRotation(Vector2.new(value,camera.Rotation.Y)) end
end})
local render={_active=active,_render=function()end}
-- Mechanics owns character facing independently of the camera render pass.
-- Apply the body-only pose after its final write, preserving the native movement update.
hook(mechanics,'_UpdateCharacterRotation',function(original)return function(self,...)
local result=table.pack(original(self,...))
if not stopped then render._render(active)end
if not stopped then enforceAvatar()end
return table.unpack(result,1,result.n)
end end)
local nativeMoveFn,nativeMoveArgs
local move={SpeedMultiplier=1,GetWishDir=function()
local f=localFighter()
if not (nativeMoveFn and f)then return Vector3.zero end
return nativeMoveFn(f,table.unpack(nativeMoveArgs or {},1,nativeMoveArgs and nativeMoveArgs.n or 0))
end}
setmetatable(move,{__index=function(_,key)
if key=='Velocity'then local f=localFighter();local root=f and f.Entity and f.Entity.RootPart;return root and root.AssemblyLinearVelocity or Vector3.zero end
end,__newindex=function(self,key,value)
if key=='Velocity'then local f=localFighter();local root=f and f.Entity and f.Entity.RootPart;if root then root.AssemblyLinearVelocity=value end
else rawset(self,key,value)end
end})
local lastOverride,lastPOV=camera._third_person_override,camera.CameraState._pov_state
local viewOwned=false
local nativeFov=workspace.CurrentCamera and workspace.CurrentCamera.FieldOfView or camera._base_fov
local function gameSetting(name,fallback)
if playerData then local ok,value=pcall(function()return atGameIdentity(function()return playerData:GetSetting(name)end)end);if ok and value~=nil then return value end end
return fallback
end
A.worldStatus={requested=false,active=false,phase='first person',errors=0}
local function nativeView(dt)
local f,w=localFighter(),item()
local requested=getValue('World/View/Thirdperson')==true
local want=requested and f and f:IsAlive() and f:IsActive() and camera:GetCurrentSubject()==f
if w and w.Info.AimScopePercent and w:Get('IsAiming') then want=false end
if want then
if not viewOwned then lastOverride=camera._third_person_override;lastPOV=camera.CameraState._pov_state;viewOwned=true end
if camera._third_person_override~=true then camera:SetThirdPersonOverride(true)end
if camera.CameraState._pov_state~='ThirdPerson' then camera.CameraState:_SetPOVState('ThirdPerson')end
camera._pov_spring.Target=Vector3.new(1.1,.45,(tonumber(getValue('World/View/Distance')) or 120)/20)
elseif viewOwned then
camera:SetThirdPersonOverride(lastOverride);camera.CameraState:_SetPOVState(lastPOV or 'FirstPerson');viewOwned=false
end
A.thirdPerson=want==true;A.worldStatus.requested=requested;A.worldStatus.active=A.thirdPerson
A.worldStatus.phase=A.thirdPerson and 'native third person' or 'first person'
end
hook(camera,'_Modal',function(original)return function(self,...)return isMenuOpen() or original(self,...)end end)
hook(camera,'_InputChanged',function(original)return function(self,...)if not isMenuOpen()then return original(self,...)end end end)
hook(camera,'Update',function(original)return function(self,dt,...)
if stopped then return original(self,dt,...)end
nativeView(dt)
local result=table.pack(original(self,dt,...))
local cam=workspace.CurrentCamera
if cam then
if not self.IsFrozen and self.CameraState:GetPublicState()~=self.CameraState.States.CustomFreecam then nativeFov=cam.FieldOfView end
local requestedFov=tonumber(getValue('World/View/Override FOV'))
-- Apply after the native camera, so ADS, sprinting and recoil cannot alter it.
if requestedFov then cam.FieldOfView=math.clamp(requestedFov,30,120)end
end
return table.unpack(result,1,result.n)
end end)
local posePending=false
connect(Run.RenderStepped,function(dt)
if stopped or posePending then return end;posePending=true
task.defer(function()
posePending=false
if not stopped then render._render(active,dt);enforceAvatar()end
end)
end)
table.insert(cleanups,function()
stopped=true
if viewOwned then camera:SetThirdPersonOverride(lastOverride);camera.CameraState:_SetPOVState(lastPOV or 'FirstPerson')end
if workspace.CurrentCamera then workspace.CurrentCamera.FieldOfView=nativeFov end
atGameIdentity(function()camera:Update(0)end)
end)
local boundFighter,boundItem;local fighterCleanup,itemCleanup={},{}
local function clear(list)for i=#list,1,-1 do pcall(list[i]);list[i]=nil end end
local lastSkinVM,lastSkinName,lastSkinInvert
local shotTargetProvider,hideScopeProvider,hideShotsProvider
function A.setShotTargetProvider(fn)
local previous=shotTargetProvider;shotTargetProvider=fn;return function()if shotTargetProvider==fn then shotTargetProvider=previous end end
end
function A.setHideScopeProvider(fn)
local previous=hideScopeProvider;hideScopeProvider=fn;return function()if hideScopeProvider==fn then hideScopeProvider=previous end end
end
function A.setHideShotsProvider(fn)
local previous=hideShotsProvider;hideShotsProvider=fn;return function()if hideShotsProvider==fn then hideShotsProvider=previous end end
end
function A.hideShotsActive()
return not stopped and hideShotsProvider~=nil and hideShotsProvider()==true
end
local scopeOwned=setmetatable({},{__mode='k'})
local nativeScopeActive=scopeClass and scopeClass.SetActive
local function updateScope(scope)
if not scope or scope._destroyed or not scope.Frame or not scope.Frame.Parent then return end
if hideScopeProvider and hideScopeProvider()then scopeOwned[scope]=true;scope.Frame.Visible=false
elseif scopeOwned[scope]then scopeOwned[scope]=nil;nativeScopeActive(scope,scope:IsActive())end
end
for _,method in ipairs({'SetActive','Update'})do
hook(scopeClass,method,function(original)return function(self,...)
local result=table.pack(original(self,...));updateScope(self);return table.unpack(result,1,result.n)
end end)
end
table.insert(cleanups,function()atGameIdentity(function()
for scope in pairs(scopeOwned)do if not scope._destroyed and scope.Frame.Parent then nativeScopeActive(scope,scope:IsActive())end end
end)end)
local visualSwap=nil
local nativeGetWrap=vmClass.GetWrap
local smokeParts={}
local smokeEffects={}
function A.scope()
local w=item();local mouse=w and w.ItemInterface and w.ItemInterface.Mouse
return mouse and mouse.Scope and mouse.Scope.Frame
end
local function skinSelection(weaponName)
weaponName=weaponName or item() and item().Name
local name=getValue('Skin Changer/Local/Wrap',weaponName)
if getValue('Skin Changer/Local/Enabled',weaponName)~=true or name=='Original' or not (cosmetics and cosmetics.Cosmetics[name] and cosmetics.Cosmetics[name].WrapGroups) then return nil end
return {Name=name,Inverted=getValue('Skin Changer/Local/Inverted',weaponName)==true}
end
for name in pairs(items.Items)do if items.ViewModels[name] then
table.insert(A.weaponChoices,name);A.modelChoices[name]={'Original',name}
end end
local modelCount=0
if cosmetics then for name,info in pairs(cosmetics.Cosmetics)do
if info.Type=='Skin' and A.modelChoices[info.ItemName] and items.ViewModels[name] then
table.insert(A.modelChoices[info.ItemName],name);modelCount=modelCount+1
end
end end
table.sort(A.weaponChoices)
for _,choices in pairs(A.modelChoices)do table.sort(choices,function(a,b)if a=='Original'then return true elseif b=='Original'then return false end;return a:lower()<b:lower()end)end
diagnostics.modelSkins=modelCount;diagnostics.weapons=#A.weaponChoices
function A.createVisual(base,modelName,clientItem)
local current=item();local original=current and current.ViewModel
if not original then error('Equip a weapon before loading the skin preview.')end
if not table.find(A.modelChoices[base] or {},modelName)then error('This skin does not belong to '..tostring(base))end
local owner=clientItem or setmetatable({Name=base,Info=items.Items[base],ClientFighter=localFighter()},{__index=current})
local encoded={[original:ToEnum('Name')]=modelName}
if clientItem then
for _,key in ipairs({'Wrap','Charm'})do local value=original:Get(key);if value~=nil then encoded[original:ToEnum(key)]=value end end
end
return atGameIdentity(function()return vmClass.new({Data=encoded},owner)end)
end
function A.preview(base,modelName,wrap,inverted)
return atGameIdentity(function()
if modelName=='Original' then modelName=base end
local vm=A.createVisual(base,modelName)
local copy
local ok,err=pcall(function()
vm.GetWrap=function()return wrap and wrap~='Original' and {Name=wrap,Inverted=inverted==true} or nil end
vm:_UpdateWrap()
copy=vm.Model:Clone();copy.Name='WeaponPreview'
for _,part in ipairs(copy:GetDescendants())do if part:IsA('BasePart')then part.Anchored=true;part.CanCollide=false;part.CanQuery=false;part.CanTouch=false end end
for _,child in ipairs(copy:GetChildren())do
if child:IsA('BasePart')then
for _,sub in ipairs(child:GetChildren())do if sub:IsA('Model')then sub.Parent=copy end end
child:Destroy()
elseif not child:IsA('Model')then child:Destroy()end
end
for _,node in ipairs(copy:GetDescendants())do
if node:IsA('LuaSourceContainer') or node:IsA('Sound') or node:IsA('ParticleEmitter') or node:IsA('Light') or node.Name=='_fake' then node:Destroy()end
end
local cf=copy:GetBoundingBox();copy:PivotTo(CFrame.new(-cf.Position)*copy:GetPivot())
end)
vm:Destroy()
if not ok then if copy then copy:Destroy()end;error(err,0)end
return copy
end)
end
local function restoreVisual()
local s=visualSwap;visualSwap=nil
if not s then return end
if s.item.ViewModel==s.replacement then
s.item.ViewModel=s.original
if not s.original._destroyed then
local previous=rawget(s.original,'GetWrap')
s.original.GetWrap=function(self)return nativeGetWrap(self)end
local ok,err=pcall(s.original._UpdateWrap,s.original);s.original.GetWrap=previous
if not ok then error(err,0)end
if s.item.IsEquipped then s.original:SetParent(s.parent);s.original:Equip(true);s.original._equip_spring.Value=1 end
if s.item.ChangeShootAnimationNamePrefix and s.prefix then s.item:ChangeShootAnimationNamePrefix(s.prefix)end
end
elseif not s.original._destroyed then
s.original:Destroy()
end
if not s.replacement._destroyed then s.replacement:Destroy()end
end
local function updateVisual(w)
local enabled=w and getValue('Skin Changer/Local/Enabled',w.Name)==true
local model=enabled and getValue('Skin Changer/Local/Model',w.Name) or 'Original'
if model==nil then model='Original'end
if visualSwap and (visualSwap.item~=w or visualSwap.model~=model or w.ViewModel~=visualSwap.replacement)then restoreVisual()end
if not (w and enabled and model~='Original' and table.find(A.modelChoices[w.Name] or {},model)) then return end
if visualSwap then return end
local original=w.ViewModel
if not original or original._destroyed or original.Name==model then return end
local replacement=A.createVisual(w.Name,model,w)
if stopped or item()~=w or w.ViewModel~=original then replacement:Destroy();return end
visualSwap={item=w,original=original,replacement=replacement,model=model,prefix=w._shoot_animation_name_prefix,parent=original.Model.Parent}
original:Unequip();original:SetParent(RS.Assets.Temp.ViewModels)
w.ViewModel=replacement
if w.IsEquipped then replacement:Equip(true);replacement._equip_spring.Value=1 end
if w.ChangeShootAnimationNamePrefix and w._shoot_animation_name_prefix then w:ChangeShootAnimationNamePrefix(w._shoot_animation_name_prefix)end
diagnostics.model=model
end
if cosmetics then for name,info in pairs(cosmetics.Cosmetics)do
if info.WrapGroups and name~='MISSING_WRAP' then table.insert(A.skinChoices,name)end
end end
table.sort(A.skinChoices,function(a,b)if a=='Original'then return true elseif b=='Original'then return false end;return a:lower()<b:lower()end)
hook(vmClass,'GetWrap',function(original)return function(self,...)
if self.ClientItem and self.ClientItem.ClientFighter==localFighter() then
local selected=skinSelection(self.ClientItem.Name);if selected then return selected end
end
return original(self,...)
end end)
local originalShake=camera._shake_enabled;local quietOwned=false
hook(smokeClass,'Update',function(original)return function(self,...)
local result=table.pack(original(self,...))
if table.find(getValue('World/Removals/Removals') or {},'Smoke')then self:Hide()end
return table.unpack(result,1,result.n)
end end)
local nativeFlashVisibility=flashClass and flashClass._UpdateVisibility
hook(flashClass,'_UpdateVisibility',function(original)return function(self,...)
if table.find(getValue('World/Removals/Removals') or {},'Flash') then
for _,objects in pairs(self._flash_objects)do for _,pair in pairs(objects)do
pcall(function()pair[1].Parent=nil end)
end end
return
end
return original(self,...)
end end)
hook(vmClass,'ApplyRecoil',function(original)return function(self,...)
local removals=getValue('World/Removals/Removals') or {}
if self.ClientItem.ClientFighter==localFighter() and table.find(removals,'Visual Recoil')then return end
return original(self,...)
end end)
hook(vmClass,'PlayHitmarkerSound',function(original)return function(self,critical,volume,...)
if self.ClientItem.ClientFighter==localFighter() then bullets.HitConfirmed:Fire(nil,0,critical==true,eye().Position)end
return original(self,critical,volume,...)
end end)
local function bind()
local f,w=localFighter(),item()
atGameIdentity(function()updateVisual(w)end)
if f~=boundFighter then
clear(fighterCleanup);boundFighter=f
if f then
hook(f,'GetCameraData',function(original)return function(self,...)
local data=original(self,...)
if not isMenuOpen() and not gun:ShouldBlockWeaponInput() then
-- Network calls use encoded CFrame tables; local tracer calls request raw
-- CFrames. Keep the complete packet in the format returned by the game.
local encoded=type(data[string.char(0)])=='table'
local shotFrame=ShotPacket.read(data,string.char(0),utility)
local cameraFrame=ShotPacket.read(data,string.char(1),utility)
if not (shotFrame and cameraFrame)then return data end
local point,part,offset
local shotOrigin=shotFrame.Position
if shotTargetProvider then point,part,offset=shotTargetProvider(shotOrigin)end
if point and part and part.Parent then
data=table.clone(data)
for _,key in ipairs({string.char(0),string.char(1)})do
local cf=ShotPacket.read(data,key,utility)
if (point-cf.Position).Magnitude>.001 then ShotPacket.write(data,key,CFrame.lookAt(cf.Position,point),utility,encoded)end
end
data[string.char(2)]=part
ShotPacket.write(data,string.char(3),offset or part.CFrame:ToObjectSpace(CFrame.new(point)),utility,encoded)
-- Native local tracers pass an already sampled spread rotation. Preserve it:
-- their target reference must describe the spread ray, not the center aim point.
local spread=select(2,...)
if typeof(spread)=='CFrame' then
local cf=ShotPacket.read(data,string.char(1),utility);local params=bullets.ProjectileParams()
local direction=(cf*spread).LookVector
local far=cf.Position+direction*10000
local first=workspace:Raycast(cf.Position,direction*10000,params)
if first then far=first.Position end
local hit=workspace:Raycast(shotOrigin,far-shotOrigin,params)
if hit and hit.Instance:IsA('BasePart')then
data[string.char(2)]=hit.Instance
ShotPacket.write(data,string.char(3),hit.Instance.CFrame:ToObjectSpace(CFrame.new(hit.Position)),utility,encoded)
else data[string.char(2)]=nil;data[string.char(3)]=nil end
end
return data
end
local direction=gun:GetFireDirectionUnspread()
local native=eye().LookVector
if direction and (direction-native).Magnitude>1e-6 then
data=table.clone(data)
for _,key in ipairs({string.char(0),string.char(1)})do
local cf=ShotPacket.read(data,key,utility)
ShotPacket.write(data,key,CFrame.lookAt(cf.Position,cf.Position+direction),utility,encoded)
end
data[string.char(2)]=nil;data[string.char(3)]=nil
end
end
return data
end end,fighterCleanup)
local nativeMove=f.GetMoveVector
nativeMoveFn=nativeMove
hook(f,'GetMoveVector',function()return function(self,...)
if self~=localFighter()then return nativeMove(self,...)end
local previous=nativeMoveArgs;nativeMoveArgs=table.pack(...)
local result=table.pack(pcall(move.GetWishDir,move));nativeMoveArgs=previous
if not result[1]then error(result[2],0)end
if typeof(result[2])=='Vector3' then result[2]=result[2]*move.SpeedMultiplier end
return table.unpack(result,2,result.n)
end end,fighterCleanup)
end
end
if w~=boundItem then
clear(itemCleanup);boundItem=w
if w and w.Shot then
local c=w.Shot:Connect(function()gun.Fired:Fire()end);table.insert(itemCleanup,function()c:Disconnect()end)
hook(w,'_Tracers',function(original)return function(self,data,...)
if data.IsLocal and data.RaycastResults and data.RaycastResults[1] then
local origin=eye().Position;local pos=data.RaycastResults[1].Position
if pos then
bullets.ShotEmitted:Fire(nil,origin,(pos-origin).Unit)
local delta=pos-origin
local hit=delta.Magnitude>.01 and workspace:Raycast(origin,delta+delta.Unit*.2,bullets.ProjectileParams())
if hit and (hit.Position-pos).Magnitude<1 then combat.LocalHit:Fire(nil,pos)end
end
end
return original(self,data,...)
end end,itemCleanup)
end
end
local vm=w and w.ViewModel;local selected=skinSelection(w and w.Name)
local name=selected and selected.Name or 'Original';local invert=selected and selected.Inverted or false
if vm~=lastSkinVM or name~=lastSkinName or invert~=lastSkinInvert then
if lastSkinVM and not lastSkinVM._destroyed and lastSkinVM~=vm then
-- A holstered viewmodel may remain alive; restore its native wrap immediately.
local old=lastSkinVM.ClientItem.ClientFighter
if old==f then
-- _UpdateWrap on the old model must see its native replicated cosmetic.
local previous=rawget(lastSkinVM,'GetWrap')
lastSkinVM.GetWrap=function(self)return nativeGetWrap(self)end
local ok,err=pcall(lastSkinVM._UpdateWrap,lastSkinVM);lastSkinVM.GetWrap=previous
if not ok then error(err,0)end
end
end
lastSkinVM,lastSkinName,lastSkinInvert=vm,name,invert
if vm and not vm._destroyed then vm:_UpdateWrap();diagnostics.skinApplications=diagnostics.skinApplications+1 end
diagnostics.skin=name;diagnostics.weapon=w and w.Name or nil
end
diagnostics.model=vm and vm.Name or nil
local quiet=table.find(getValue('World/Removals/Removals') or {},'Visual Recoil')~=nil
if quiet then
if not quietOwned then originalShake=camera._shake_enabled;quietOwned=true end
camera._shake_enabled=false
elseif quietOwned then camera._shake_enabled=gameSetting('Camera Shake',originalShake);quietOwned=false end
local subject=camera:GetCurrentSubject() or f
local mouse=subject and subject.EquippedItem and subject.EquippedItem.ItemInterface and subject.EquippedItem.ItemInterface.Mouse
if mouse then updateScope(mouse.Scope)end
local flash=subject and subject.FighterInterface and subject.FighterInterface.Flashed
if flash then flash:_UpdateVisibility()end
local hideSmoke=table.find(getValue('World/Removals/Removals') or {},'Smoke')~=nil
if hideSmoke then
for _,inst in ipairs(Collection:GetTagged('SmokeCloud'))do
if inst:IsA('BasePart')then
if smokeParts[inst]==nil then smokeParts[inst]=inst.LocalTransparencyModifier end
inst.LocalTransparencyModifier=1
end
local nodes=inst:GetDescendants();table.insert(nodes,inst)
for _,node in ipairs(nodes)do
if node:IsA('ParticleEmitter')or node:IsA('Beam')or node:IsA('Trail')or node:IsA('Smoke')or node:IsA('Fire')then
if smokeEffects[node]==nil then smokeEffects[node]=node.Enabled;if node:IsA('ParticleEmitter')then node:Clear()end end
node.Enabled=false
end
end
end
local screen=f and f.FighterInterface and f.FighterInterface.SmokeScreen
if screen then screen:Hide()end
else
for part,value in pairs(smokeParts)do if part.Parent then part.LocalTransparencyModifier=value end;smokeParts[part]=nil end
for node,value in pairs(smokeEffects)do if node.Parent then node.Enabled=value end;smokeEffects[node]=nil end
end
end
local binding=false
connect(Run.Heartbeat,function()
if stopped or binding then return end;binding=true
local ok,err=pcall(function()atGameIdentity(bind)end)
binding=false
if not ok then diagnostics.errors=diagnostics.errors+1;diagnostics.lastError=tostring(err);if diagnostics.errors==1 then warn('[Neverlose for RIVALS adapter] '..tostring(err))end end
end)
table.insert(cleanups,function()atGameIdentity(function()
clear(itemCleanup);clear(fighterCleanup);if quietOwned then camera._shake_enabled=gameSetting('Camera Shake',originalShake)end
restoreVisual()
for _,f in pairs(fc.Objects)do
local flash=f.FighterInterface and f.FighterInterface.Flashed
if flash and nativeFlashVisibility then pcall(nativeFlashVisibility,flash)end
end
for part,value in pairs(smokeParts)do if part.Parent then part.LocalTransparencyModifier=value end end
for node,value in pairs(smokeEffects)do if node.Parent then node.Enabled=value end end
-- The class GetWrap hook is removed later in reverse cleanup order. Override only this VM
-- during restoration, preserving native data and the original method owner.
if lastSkinVM and not lastSkinVM._destroyed then
local had=rawget(lastSkinVM,'GetWrap');lastSkinVM.GetWrap=function(self)return nativeGetWrap(self)end
pcall(lastSkinVM._UpdateWrap,lastSkinVM);lastSkinVM.GetWrap=had
end
end)end)
local map={
['Shared/Participant']=participant,['Shared/Combat/Hostility']=hostility,
['Client/Controllers/MercPlayerController']=merc,['Client/Controllers/GunController']=gun,
['Client/CameraPOV']=pov,['Client/Controllers/CameraController']=render,['Client/QuakeMove']=move,
['Shared/BodyDamage']=damage,['Shared/Weapons/WeaponCartridge']={SpecFor=function(_,name)return nativeWeapons[name]end},
['Client/Controllers/BulletController']=bullets,['Registries/Weapons']=nativeWeapons,['Registries/BulletDefs']=bulletDefs,
['Client/CombatSignals']=combat,
['Shared/Units']={StudsToMeters=function(n)return n*.28 end},
}
function A.resolve(path)return map[path:gsub('^Modules/','')]end
function A.status()return table.clone(diagnostics)end
function A.blocked()return gun:ShouldBlockWeaponInput() and 'game input blocked' or nil end
function A.poseBlocked()
local f=localFighter()
if not (f and f.Entity and f:IsAlive() and f:IsActive() and camera:GetCurrentSubject()==f)then return 'not active character'end
if f:IsSliding() or f:IsEmoting()then return 'sliding or emoting'end
end
function A.nativeItem()return item()end
function A.nativeFighter()return localFighter()end
local function mapVoteSnapshot()
local duel=duels and duels:GetDuel(player)
local dueler=duel and not duel._destroyed and duel:GetDueler(player)
if not dueler then return nil end
local voting=duel.DuelInterface and duel.DuelInterface.Voting
return {duel=duel,options=duel:Get('VoteOptions'),kind=duel:Get('VoteOptionsType'),mode=duel:Get('VoteSelectionMode'),lastVote=dueler:Get('LastVote'),open=voting and voting:IsOpen()==true}
end
function A.mapVoteSnapshot()return atGameIdentity(mapVoteSnapshot)end
function A.voteMap(name)
return atGameIdentity(function()
local vote=mapVoteSnapshot()
if not(vote and vote.open and vote.kind=='Maps'and type(vote.options)=='table')then return false,'not voting for maps' end
if tostring(vote.mode):lower():find('ban',1,true)then return false,'map banning phase' end
for _,option in pairs(vote.options)do
if option.Name==name then
if option.IsBanned then return false,'map banned' end
if vote.lastVote==name then return true,'already voted' end
RS.Remotes.Duels.Vote:FireServer(name) -- The exact request used by the native map button.
return true,'requested'
end
end
return false,'preferred map unavailable'
end)
end
function A.character()local f=localFighter();return f and f.Entity and f.Entity.Model end
refresh(true);atGameIdentity(bind);atGameIdentity(enforceAvatar)
return A
end
end)()
local installSkinPreview = (function()
-- A local turntable using the exact model and wrap selected for each weapon.
return function(page,adapter,Store,connect,cleanups,getValue,isMenuOpen)
local Run=game:GetService('RunService')
local UIS=game:GetService('UserInputService')
local function make(class,props,parent)
local object=Instance.new(class);for k,v in pairs(props)do object[k]=v end;object.Parent=parent;return object
end
local inner=page:FindFirstChild('Inner')
for _,name in ipairs({'Left','Right'})do local col=inner:FindFirstChild(name);if col then col.Position=UDim2.new(col.Position.X.Scale,col.Position.X.Offset,0,318)end end
local left=inner.Left
local width=left.Size.X.Offset*2+11
local card=make('Frame',{Name='SkinPreview',Position=UDim2.fromOffset(20,18),Size=UDim2.fromOffset(width,282),BackgroundColor3=Color3.fromRGB(5,14,25),BorderSizePixel=0,ClipsDescendants=true},inner)
make('UICorner',{CornerRadius=UDim.new(0,7)},card)
make('UIStroke',{Color=Color3.fromRGB(18,43,64),Thickness=1},card)
make('UIGradient',{Rotation=80,Color=ColorSequence.new(Color3.fromRGB(12,29,46),Color3.fromRGB(3,9,18))},card)
local function label(value,y,size,color)
return make('TextLabel',{Position=UDim2.fromOffset(18,y),Size=UDim2.new(1,-36,0,size+7),BackgroundTransparency=1,Text=value,Font=Enum.Font.GothamMedium,TextSize=size,TextColor3=color,TextXAlignment=Enum.TextXAlignment.Left,TextTruncate=Enum.TextTruncate.AtEnd,ZIndex=4},card)
end
label('LOCAL COLLECTION',14,10,Color3.fromRGB(81,153,205))
local title=label('Weapon preview',33,19,Color3.fromRGB(234,242,250))
local subtitle=label('',60,11,Color3.fromRGB(125,151,174))
-- Fine grid below the turntable provides depth without obscuring dark finishes.
for i=0,10 do make('Frame',{Position=UDim2.new(i/10,0,0,216),Size=UDim2.fromOffset(1,65),BackgroundColor3=Color3.fromRGB(21,42,59),BackgroundTransparency=.58,BorderSizePixel=0,Rotation=(i-5)*-5},card)end
for _,y in ipairs({220,234,254,279})do make('Frame',{Position=UDim2.fromOffset(0,y),Size=UDim2.new(1,0,0,1),BackgroundColor3=Color3.fromRGB(21,42,59),BackgroundTransparency=.55,BorderSizePixel=0},card)end
local viewport=make('ViewportFrame',{Name='Turntable',Active=true,Position=UDim2.fromOffset(8,76),Size=UDim2.new(1,-16,0,174),BackgroundTransparency=1,Ambient=Color3.fromRGB(155,163,180),LightColor=Color3.fromRGB(255,242,221),LightDirection=Vector3.new(-.8,-1,-.7),ZIndex=3},card)
local camera=make('Camera',{FieldOfView=35},viewport);viewport.CurrentCamera=camera
local world=make('WorldModel',{},viewport)
local hint=label('Drag to rotate / scroll to zoom',257,10,Color3.fromRGB(104,134,158))
hint.TextXAlignment=Enum.TextXAlignment.Center
local status=label('',119,12,Color3.fromRGB(147,181,207));status.TextXAlignment=Enum.TextXAlignment.Center
local model,signature,pending,stopped=nil,nil,false,false
local yaw,pitch,zoom=-.45,.12,1
local radius=3;local drag=false;local lastMouse
local generation=0
local diagnostics={builds=0,errors=0,parts=0}
local function selection()
local weapon=Store.contexts.skins
return weapon,getValue('Skin Changer/Local/Model') or 'Original',getValue('Skin Changer/Local/Wrap') or 'Original',getValue('Skin Changer/Local/Inverted')==true
end
local function rebuild()
local weapon,skin,wrap,inverted=selection()
local key=tostring(weapon)..'|'..skin..'|'..wrap..'|'..tostring(inverted)
if key==signature or pending then return end
signature=key;pending=true;generation=generation+1;local ticket=generation
title.Text=skin=='Original' and weapon or skin
subtitle.Text=weapon..' / '..(wrap=='Original' and 'Original finish' or wrap)..(inverted and ' · Inverted' or '')
status.Text='Loading model...';status.Visible=true
task.spawn(function()
local ok,result=pcall(adapter.preview,weapon,skin,wrap,inverted)
pending=false
if stopped or ticket~=generation then if ok then result:Destroy()end;return end
if not ok then diagnostics.errors=diagnostics.errors+1;diagnostics.lastError=tostring(result);status.Text='Preview unavailable for this model';return end
if model then model:Destroy()end;model=result;model.Parent=world
local _,size=model:GetBoundingBox();radius=math.max(size.Magnitude*.5,.2)
diagnostics.builds=diagnostics.builds+1;diagnostics.model=skin;diagnostics.weapon=weapon;diagnostics.wrap=wrap;diagnostics.parts=0
for _,part in ipairs(model:GetDescendants())do if part:IsA('BasePart')then diagnostics.parts=diagnostics.parts+1 end end
status.Visible=false;yaw,pitch,zoom=-.45,.12,1
end)
end
connect(viewport.InputBegan,function(input)
if input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch then drag=true;lastMouse=Vector2.new(input.Position.X,input.Position.Y)end
end)
connect(UIS.InputEnded,function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch then drag=false end end)
connect(viewport.InputChanged,function(input)
if input.UserInputType==Enum.UserInputType.MouseWheel then zoom=math.clamp(zoom-input.Position.Z*.08,.65,1.8)end
end)
connect(UIS.InputChanged,function(input)
if drag and (input.UserInputType==Enum.UserInputType.MouseMovement or input.UserInputType==Enum.UserInputType.Touch)then
local point=Vector2.new(input.Position.X,input.Position.Y)
if lastMouse then local delta=point-lastMouse;yaw=yaw-delta.X*.008;pitch=math.clamp(pitch+delta.Y*.006,-1.1,1.1)end
lastMouse=point
end
end)
connect(Run.RenderStepped,function(dt)
if stopped or not page.Visible or not isMenuOpen()then drag=false;return end
rebuild()
if model then
if not drag and getValue('Skin Changer/Preview/Auto Rotate')~=false then yaw=yaw+math.min(dt,.1)*.2 end
local aspect=math.max(viewport.AbsoluteSize.X/math.max(viewport.AbsoluteSize.Y,1),.1)
local half=math.rad(camera.FieldOfView*.5)
local distance=radius/math.sin(math.atan(math.tan(half)*math.min(aspect,1)))*1.15*zoom
local direction=Vector3.new(math.cos(yaw)*math.cos(pitch),math.sin(pitch),math.sin(yaw)*math.cos(pitch))
camera.CFrame=CFrame.lookAt(direction*distance,Vector3.zero)
end
end)
table.insert(cleanups,function()stopped=true;generation=generation+1;if model then model:Destroy()end;card:Destroy()end)
return {status=function()return table.clone(diagnostics)end}
end
end)()
local installCustomModels = (function()
-- Visual-only custom mesh rigs. Native character, hitboxes and animation tracks stay in place.
local CustomRig=(function()
local M={}
local aliases={hips='LowerTorso',pelvis='LowerTorso',spine='LowerTorso',spine1='UpperTorso',spine2='UpperTorso',chest='UpperTorso',upperchest='UpperTorso',neck='Head',head='Head',torso='UpperTorso',root='HumanoidRootPart',rootpart='HumanoidRootPart'}
local japanese={['腰']='LowerTorso',['下半身']='LowerTorso',['上半身']='UpperTorso',['上半身2']='UpperTorso',['首']='Head',['頭']='Head'}
local body={'Head','UpperTorso','LowerTorso','LeftUpperArm','LeftLowerArm','LeftHand','RightUpperArm','RightLowerArm','RightHand','LeftUpperLeg','LeftLowerLeg','LeftFoot','RightUpperLeg','RightLowerLeg','RightFoot','HumanoidRootPart'}
for _,name in ipairs(body)do aliases[name:lower()]=name end
for _,side in ipairs({'Left','Right'})do
local s=side:lower();local jp=side=='Left'and '左'or '右'
for name,target in pairs({arm='UpperArm',upperarm='UpperArm',forearm='LowerArm',lowerarm='LowerArm',hand='Hand',upleg='UpperLeg',thigh='UpperLeg',upperleg='UpperLeg',leg='LowerLeg',calf='LowerLeg',lowerleg='LowerLeg',foot='Foot',toebase='Foot'})do aliases[s..name]=side..target end
aliases[s..'shoulder']='UpperTorso'
for name,target in pairs({['腕']='UpperArm',['ひじ']='LowerArm',['手首']='Hand',['足']='UpperLeg',['足D']='UpperLeg',['ひざ']='LowerLeg',['ひざD']='LowerLeg',['足首']='Foot',['足首D']='Foot'})do
japanese[jp..name]=side..target;japanese[name..(side=='Left'and '.L'or '.R')]=side..target
end
japanese['肩'..(side=='Left'and '.L'or '.R')]='UpperTorso'
end
function M.canonical(name)
if japanese[name]then return japanese[name]end
local n=name:lower():gsub('[^%w]',''):gsub('^mixamorig',''):gsub('^bip001','')
n=n:gsub('^jbipc',''):gsub('^jbipl','left'):gsub('^jbipr','right')
return aliases[n]
end
function M.align(a,b)
a=a.Unit;b=b.Unit
local dot=math.clamp(a:Dot(b),-1,1)
if dot>.999999 then return CFrame.identity end
local cross=a:Cross(b)
if cross.Magnitude<.00001 then cross=a:Cross(math.abs(a.Y)<.9 and Vector3.yAxis or Vector3.xAxis)end
return CFrame.fromAxisAngle(cross.Unit,math.acos(dot))
end
function M.source(model)
local parts,rest={},{}
for _,name in ipairs(body)do local p=model:FindFirstChild(name);if p and p:IsA('BasePart')then parts[name]=p end end
local root=parts.HumanoidRootPart
if not root then return nil end
rest.HumanoidRootPart=CFrame.identity
local links={}
for _,joint in ipairs(model:GetDescendants())do
if joint:IsA('Motor6D')or joint:IsA('AnimationConstraint')then
local ok,p0,p1,c0,c1=pcall(function()return joint.Part0,joint.Part1,joint.C0,joint.C1 end)
if ok and p0 and p1 then
if joint.Name=='Waist'or joint.Name=='Neck'then c0=CFrame.new(c0.Position);c1=CFrame.new(c1.Position)end
table.insert(links,{p0.Name,p1.Name,c0,c1})
end
end
end
for _=1,18 do for _,j in ipairs(links)do if rest[j[1]]and not rest[j[2]]then rest[j[2]]=rest[j[1]]*j[3]*j[4]:Inverse()end end end
for name,p in pairs(parts)do if not rest[name]then rest[name]=root.CFrame:ToObjectSpace(p.CFrame)end end
return {model=model,root=root,parts=parts,rest=rest}
end
function M.sanitize(model)
local collection=game:GetService('CollectionService')
local remove={}
for _,n in ipairs(model:GetDescendants())do
for _,tag in ipairs(collection:GetTags(n))do collection:RemoveTag(n,tag)end
if n:IsA('LuaSourceContainer')or n:IsA('Humanoid')or n:IsA('AnimationController')or n:IsA('Animator')or n:IsA('RemoteEvent')or n:IsA('RemoteFunction')or n:IsA('ProximityPrompt')or n:IsA('ClickDetector')or n:IsA('TouchTransmitter')or n:IsA('Sound')or n:IsA('LayerCollector')then table.insert(remove,n)
elseif n:IsA('BasePart')then
n.Anchored=true;n.CanCollide=false;n.CanTouch=false;n.CanQuery=false;n.Massless=true;n.LocalTransparencyModifier=0
if n.Name=='HumanoidRootPart'or n.Name=='RootPart'then n.Transparency=1 end
end
end
for _,n in ipairs(remove)do n:Destroy()end
end
function M.build(template,height,scale)
local model=template:Clone()
local ok,result=pcall(function()
M.sanitize(model)
local _,size=model:GetBoundingBox()
assert(size.Y>.01,'The model has no visible geometry')
local factor=height/size.Y*scale
assert(factor>0 and factor<100000,'Invalid model dimensions')
model:ScaleTo(model:GetScale()*factor)
local box,scaled=model:GetBoundingBox()
local origin=CFrame.new(box.Position.X,box.Position.Y-scaled.Y*.5+scaled.Y*.53,box.Position.Z)
local r={model=model,parts={},bones={},followers={},effects={},mapped=0,origin=origin,height=scaled.Y,joints=0}
local byPart,links={},{}
for _,n in ipairs(model:GetDescendants())do if n:IsA('AnimationConstraint')then
local good,p0,p1,c0,c1=pcall(function()return n.Part0,n.Part1,n.C0,n.C1 end)
if good and p0 and p1 then
local motor=Instance.new('Motor6D');motor.Name=n.Name;motor.Part0=p0;motor.Part1=p1;motor.C0=c0;motor.C1=c1;motor.Parent=p0
end
n:Destroy()
end end
for _,n in ipairs(model:GetDescendants())do
if n:IsA('BasePart')then
local p={part=n,bind=origin:ToObjectSpace(n.CFrame),name=M.canonical(n.Name)}
byPart[n]=p;table.insert(r.parts,p)
elseif n:IsA('JointInstance')or n:IsA('AnimationConstraint')then
local good,p0,p1,c0,c1=pcall(function()return n.Part0,n.Part1,n.C0,n.C1 end)
if good and p0 and p1 then links[p1]={parent=p0,c0=c0,c1=c1,joint=n};r.joints=r.joints+1 end
elseif n:IsA('WeldConstraint')then
if n.Part0 and n.Part1 then links[n.Part1]={parent=n.Part0,offset=n.Part0.CFrame:ToObjectSpace(n.Part1.CFrame),joint=n};r.joints=r.joints+1 end
elseif n:IsA('ParticleEmitter')or n:IsA('Beam')or n:IsA('Trail')or n:IsA('Light')then
table.insert(r.effects,{object=n,enabled=n.Enabled})
end
end
local function depth(p,seen)
seen=seen or {};if seen[p]then return 0 end;seen[p]=true
local link=links[p];return link and byPart[link.parent]and 1+depth(link.parent,seen)or 0
end
for _,p in ipairs(r.parts)do p.link=links[p.part];p.depth=depth(p.part);if p.name and p.name~='HumanoidRootPart'then r.mapped=r.mapped+1 end end
table.sort(r.parts,function(a,b)return a.depth<b.depth end)
local groups={}
for _,n in ipairs(model:GetDescendants())do if n:IsA('Bone')then
n.Transform=CFrame.identity
local name=M.canonical(n.Name)
local root=n.Parent;local d=0
while root and root:IsA('Bone')do d=d+1;root=root.Parent end
if root and root:IsA('BasePart')then
local group=groups[root]
if not group then group={root=root,names={},bones={},score=0};groups[root]=group end
group.names[n.Name]=n;table.insert(group.bones,{bone=n,depth=d})
if name and name~='HumanoidRootPart'then group.score=group.score+1 end
end
if name and name~='HumanoidRootPart'then
table.insert(r.bones,{bone=n,name=name,bind=origin:ToObjectSpace(n.WorldCFrame),depth=d,root=root})
r.mapped=r.mapped+1
end
end end
local primary
for _,group in pairs(groups)do
if not primary or group.score>primary.score or group.score==primary.score and #group.bones>#primary.bones then primary=group end
end
local drivers={}
if primary then for _,group in pairs(groups)do if group~=primary then
local matches={}
for _,b in ipairs(group.bones)do
local driver=primary.names[b.bone.Name]
if driver then b.driver=driver;table.insert(matches,b)end
end
if #matches>0 then
for _,b in ipairs(matches)do drivers[b.bone]=b.driver;table.insert(r.followers,b)end
-- One anchored assembly and one pose clock for body, clothing and separate hair rigs.
local part=byPart[group.root]
if part and not part.link then
local offset=primary.root.CFrame:ToObjectSpace(group.root.CFrame)
local weld=Instance.new('Weld');weld.Name='CustomRigCompanion';weld.Part0=primary.root;weld.Part1=group.root;weld.C0=offset;weld.C1=CFrame.identity;weld.Parent=primary.root
part.link={parent=primary.root,c0=offset,c1=CFrame.identity,joint=weld}
r.joints=r.joints+1
end
end
end end end
for _,b in ipairs(r.bones)do b.driver=drivers[b.bone]end
table.sort(r.followers,function(a,b)return a.depth<b.depth end)
for _,p in ipairs(r.parts)do
local cursor=p;local seen={}
while cursor and not seen[cursor]do
seen[cursor]=true
local group=groups[cursor.part]
if group and group.score>=3 then p.boneDriven=true;break end
cursor=cursor.link and byPart[cursor.link.parent]
end
end
table.sort(r.bones,function(a,b)return a.depth<b.depth end)
local nextBody={LeftUpperArm='LeftLowerArm',RightUpperArm='RightLowerArm',LeftLowerArm='LeftHand',RightLowerArm='RightHand',LeftUpperLeg='LeftLowerLeg',RightUpperLeg='RightLowerLeg',LeftLowerLeg='LeftFoot',RightLowerLeg='RightFoot'}
local byName={};for _,p in ipairs(r.parts)do if p.name then byName[p.name]=p end end
for _,p in ipairs(r.parts)do
local child=byName[nextBody[p.name]]
if child then p.direction=child.bind.Position-p.bind.Position;if p.direction.Magnitude<.0001 then p.direction=nil end end
end
for _,b in ipairs(r.bones)do
local nextName=nextBody[b.name]
local nearest
if nextName then for _,child in ipairs(r.bones)do
if child.name==nextName and child.bone:IsDescendantOf(b.bone)and (not nearest or child.depth<nearest.depth)then nearest=child end
end end
if nearest then b.direction=nearest.bind.Position-b.bind.Position
elseif b.name=='LeftHand'or b.name=='RightHand'then
local parent=b.bone.Parent
while parent and parent:IsA('Bone')do
if M.canonical(parent.Name)==b.name:gsub('Hand','LowerArm')then b.direction=b.bind.Position-origin:PointToObjectSpace(parent.WorldPosition);break end
parent=parent.Parent
end
end
if b.direction and b.direction.Magnitude<.0001 then b.direction=nil end
end
assert(r.mapped>=3,'No supported body rig found. Use R15, Mixamo, VRM or MMD bone names.')
-- Shared skinned meshes find their skeleton through the imported rigid joints.
-- Keep those connections and anchor each assembly root instead of every mesh.
for _,p in ipairs(r.parts)do
p.part.Anchored=not (p.link and p.link.joint and (p.link.joint:IsA('JointInstance')or p.link.joint:IsA('WeldConstraint')))
end
for _,n in ipairs(model:GetDescendants())do if n:IsA('Constraint')and not n:IsA('WeldConstraint')then n:Destroy()end end
return r
end)
if not ok then model:Destroy();error(result,0)end
return result
end
function M.visible(r,show)
for _,p in ipairs(r.parts)do p.part.LocalTransparencyModifier=show and 0 or 1 end
for _,e in ipairs(r.effects)do e.object.Enabled=show and e.enabled or false end
end
function M.pose(r,source,anchor)
local deltas={}
local sourceFrame=source and source.root.CFrame
if source then for name,p in pairs(source.parts)do
if p.Parent then deltas[name]=sourceFrame:ToObjectSpace(p.CFrame).Rotation*source.rest[name].Rotation:Inverse()end
end end
for _,p in ipairs(r.parts)do
local link=p.link
-- Static skinned carriers inherit the anchored root through their existing joints.
-- Rewriting their CFrames/near-identity Motor6D transforms causes separate skin rebuilds.
if not link or not p.boneDriven and p.name and p.name~='HumanoidRootPart'then
if p.rest~= (source and source.rest)then p.neutral=nil end
if not p.neutral then
local rest=source and source.rest[p.name]or CFrame.identity
p.neutral=p.direction and M.align(p.direction,rest:VectorToWorldSpace(-Vector3.yAxis))*p.bind.Rotation or p.bind.Rotation
p.rest=source and source.rest
end
local rotation=anchor.Rotation*(deltas[p.name]or CFrame.identity)*p.neutral
if link and link.parent.Parent then
if link.c0 then
local pivot=link.parent.CFrame*link.c0
p.part.CFrame=CFrame.new(pivot.Position-rotation:VectorToWorldSpace(link.c1.Position))*rotation
else p.part.CFrame=link.parent.CFrame*link.offset end
else p.part.CFrame=anchor*p.bind end
if p.name and not link then p.part.CFrame=CFrame.new(p.part.Position)*rotation end
if link and link.joint and link.joint:IsA('Motor6D')then
link.joint.Transform=link.c0:Inverse()*link.parent.CFrame:ToObjectSpace(p.part.CFrame)*link.c1
end
end
end
for _,b in ipairs(r.bones)do
if not b.driver then
local bone=b.bone;local parent=bone.Parent
local parentFrame=parent:IsA('Bone')and parent.TransformedWorldCFrame or parent.CFrame
local base=parentFrame*bone.CFrame
if b.direction and b.rest~= (source and source.rest)then b.neutral=nil end
if not b.neutral then
local rest=source and source.rest[b.name]or CFrame.identity
b.neutral=b.direction and M.align(b.direction,rest:VectorToWorldSpace(-Vector3.yAxis))*b.bind.Rotation or b.bind.Rotation
b.rest=source and source.rest
end
local rotation=anchor.Rotation*(deltas[b.name]or CFrame.identity)*b.neutral
bone.Transform=base:ToObjectSpace(CFrame.new(base.Position)*rotation)
end
end
for _,b in ipairs(r.followers)do
local parent=b.bone.Parent
local frame=parent:IsA('Bone')and parent.TransformedWorldCFrame or parent.CFrame
b.bone.Transform=(frame*b.bone.CFrame):ToObjectSpace(b.driver.TransformedWorldCFrame)
end
end
return M
end)()
return function(page,adapter,getValue,connect,cleanups,isMenuOpen,notify)
local Run=game:GetService('RunService')
local UIS=game:GetService('UserInputService')
local player=game:GetService('Players').LocalPlayer
if isfolder and makefolder and not isfolder('neverlose_ui/models')then pcall(makefolder,'neverlose_ui/models')end
local function get(path)return getValue('Model Changer/'..path)end
local stopped,pending,template,signature,requested=false,false,nil,nil,nil
local generation,revision=0,0
local live,preview,source,liveKey,previewKey,boundCharacter
local hidden=false
local diagnostics={phase='disabled',errors=0,parts=0,bones=0,mapped=0,loads=0,localOnly=true}
local folder=Instance.new('Folder');folder.Name='NeverloseCustomVisuals';folder.Parent=workspace
table.insert(cleanups,adapter.setAvatarHiddenProvider(function()return hidden end))
table.insert(cleanups,adapter.setLocalVisualProvider(function()return hidden and live and live.model or nil end))
local function destroyRig(r)if r then r.model:Destroy()end end
local function resetLive()
hidden=false;destroyRig(live);live=nil;liveKey=nil
adapter.refreshAvatarVisibility()
end
local function assetKey()
local mode=get('Selection/Source')
local value=mode=='Anime Example'and '6669297625'or mode=='Local File'and tostring(get('Selection/File')or '')or tostring(get('Selection/Asset ID')or '')
return mode..':'..value,mode,value
end
local function loadAsset(mode,value)
local uri
if mode=='Local File'then
assert(type(getcustomasset)=='function','Local model files are unavailable in this executor')
assert(value:lower():match('%.rbxm$')or value:lower():match('%.rbxmx$'),'Choose a .rbxm or .rbxmx model file')
assert(isfile(value),'Model file not found in executor workspace: '..value)
uri=getcustomasset(value)
else
local id=value:match('^%s*(%d+)%s*$')or value:match('rbxassetid://(%d+)')or value:match('/asset/(%d+)')or value:match('[?&]id=(%d+)')
assert(id and tonumber(id)>0,'Enter a model asset ID or Creator Store model link')
uri='rbxassetid://'..id
end
local prior=getthreadidentity and getthreadidentity()
if setthreadidentity then setthreadidentity(8)end
local ok,objects=pcall(function()return game:GetObjects(uri)end)
if setthreadidentity and prior then setthreadidentity(prior)end
assert(ok,objects)
local group=Instance.new('Model');group.Name='Custom Character'
for _,object in ipairs(objects)do CustomRig.sanitize(object);object.Parent=group end
local count=0;for _,p in ipairs(group:GetDescendants())do if p:IsA('BasePart')then count=count+1 end end
if count==0 or count>400 then group:Destroy();error('Choose a character model with 1–400 parts',0)end
return group
end
local function request(force)
local key,mode,value=assetKey()
if not force and key==requested then return end
requested=key;generation=generation+1;local ticket=generation;pending=true
diagnostics.phase='loading';diagnostics.lastError=nil
task.spawn(function()
local ok,result=pcall(function()
local model=loadAsset(mode,value)
local valid,rig=pcall(CustomRig.build,model,5.5,1)
if not valid then model:Destroy();error(rig,0)end
rig.model:Destroy();return model
end)
if stopped or ticket~=generation then if ok then result:Destroy()end;return end
pending=false
if not ok then
diagnostics.errors=diagnostics.errors+1;diagnostics.lastError=tostring(result);diagnostics.phase='load failed'
notify('Model Changer',tostring(result));return
end
if template then template:Destroy()end
template=result;signature=key;revision=revision+1;diagnostics.loads=diagnostics.loads+1
diagnostics.name=mode=='Anime Example'and 'YYB Hatsune Miku'or mode=='Local File'and value:match('[^/\\]+$')or 'Custom asset '..value
end)
end
local function bodyHeight(s)
if not s then return 5.5 end
if s.height then return s.height end
local lo,hi=math.huge,-math.huge
for name,p in pairs(s.parts)do if name~='HumanoidRootPart'then
local y=s.rest[name].Position.Y;lo=math.min(lo,y-p.Size.Y*.5);hi=math.max(hi,y+p.Size.Y*.5)
end end
s.height=hi>lo and hi-lo or 5.5
return s.height
end
local make=function(class,props,parent)local o=Instance.new(class);for k,v in pairs(props)do o[k]=v end;o.Parent=parent;return o end
local inner=page.Inner
for _,name in ipairs({'Left','Right'})do local col=inner[name];col.Position=UDim2.new(col.Position.X.Scale,col.Position.X.Offset,0,318)end
local width=inner.Left.Size.X.Offset*2+11
local card=make('Frame',{Name='CustomModelPreview',Position=UDim2.fromOffset(20,18),Size=UDim2.fromOffset(width,282),BackgroundColor3=Color3.fromRGB(5,14,25),BorderSizePixel=0,ClipsDescendants=true},inner)
make('UICorner',{CornerRadius=UDim.new(0,7)},card)
make('UIStroke',{Color=Color3.fromRGB(18,43,64)},card)
local function label(text,y,size,color)return make('TextLabel',{Position=UDim2.fromOffset(18,y),Size=UDim2.new(1,-36,0,size+8),BackgroundTransparency=1,Text=text,Font=Enum.Font.GothamMedium,TextSize=size,TextColor3=color,TextXAlignment=Enum.TextXAlignment.Left,ZIndex=4},card)end
label('CUSTOM CHARACTER / LOCAL VISUAL',12,10,Color3.fromRGB(81,153,205))
local title=label('Custom model preview',31,18,Color3.fromRGB(234,242,250))
local statusLabel=label('Choose a model asset or local rig file',58,11,Color3.fromRGB(136,163,185))
local view=make('ViewportFrame',{Active=true,Position=UDim2.fromOffset(8,78),Size=UDim2.new(1,-16,0,171),BackgroundTransparency=1,Ambient=Color3.fromRGB(175,175,188),LightColor=Color3.fromRGB(255,245,235),LightDirection=Vector3.new(-.6,-1,-.6)},card)
local camera=make('Camera',{FieldOfView=35},view);view.CurrentCamera=camera
local world=make('WorldModel',{},view)
local hint=label('Drag to rotate / scroll to zoom',256,10,Color3.fromRGB(104,134,158));hint.TextXAlignment=Enum.TextXAlignment.Center
local yaw,pitch,zoom,drag,lastMouse=-math.pi*.5,.08,1,false,nil
connect(view.InputBegan,function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch then drag=true;lastMouse=Vector2.new(input.Position.X,input.Position.Y)end end)
connect(UIS.InputEnded,function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch then drag=false end end)
connect(view.InputChanged,function(input)if input.UserInputType==Enum.UserInputType.MouseWheel then zoom=math.clamp(zoom-input.Position.Z*.08,.6,2)end end)
connect(UIS.InputChanged,function(input)if drag and (input.UserInputType==Enum.UserInputType.MouseMovement or input.UserInputType==Enum.UserInputType.Touch)then
local point=Vector2.new(input.Position.X,input.Position.Y);local d=point-lastMouse;lastMouse=point;yaw=yaw-d.X*.008;pitch=math.clamp(pitch+d.Y*.006,-1,1)
end end)
local function update(dt)
if stopped then return end
local native=adapter.character()
if native~=boundCharacter or source and not source.root.Parent or not source and native and native:FindFirstChild('HumanoidRootPart')then
boundCharacter=native;source=native and CustomRig.source(native)or nil;liveKey=nil;previewKey=nil
end
local showPreview=page.Visible and isMenuOpen()
local enabled=get('Selection/Enabled')==true
if enabled or showPreview then request(false)end
local scale=math.clamp(tonumber(get('Fitting/Scale'))or 100,25,250)/100
local height=bodyHeight(source)
local key=tostring(revision)..':'..scale..':'..string.format('%.2f',height)
local facing=CFrame.Angles(0,math.rad(tonumber(get('Fitting/Facing'))or 0),0)
local offset=CFrame.new(0,(tonumber(get('Fitting/Height'))or 0)/100,0)*facing
if enabled and template and source and source.model.Parent then
if liveKey~=key then
local new=CustomRig.build(template,height,scale);new.model.Name='NeverloseCustomCharacter';new.model.Parent=folder
destroyRig(live);live=new;liveKey=key
end
local fp=adapter.firstPerson(player)==true
CustomRig.pose(live,source,source.root.CFrame*offset)
CustomRig.visible(live,not fp)
hidden=true;adapter.refreshAvatarVisibility()
diagnostics.parts=#live.parts;diagnostics.bones=#live.bones;diagnostics.mapped=live.mapped;diagnostics.sharedBones=#live.followers
diagnostics.phase=fp and 'first person hidden'or pending and 'loading'or 'active'
elseif live then resetLive()end
if not enabled and not pending then diagnostics.phase='disabled'end
if showPreview and template then
if previewKey~=key then local new=CustomRig.build(template,height,scale);new.model.Parent=world;destroyRig(preview);preview=new;previewKey=key end
CustomRig.pose(preview,source,offset)
if not drag and get('Preview/Auto Rotate')~=false then yaw=yaw+math.min(dt,.1)*.25 end
local radius=math.max(height*scale*.65,1)
local aspect=math.max(view.AbsoluteSize.X/math.max(view.AbsoluteSize.Y,1),.1)
local half=math.atan(math.tan(math.rad(camera.FieldOfView*.5))*math.min(aspect,1))
local direction=Vector3.new(math.cos(yaw)*math.cos(pitch),math.sin(pitch),math.sin(yaw)*math.cos(pitch))
local center=Vector3.new(0,-height*scale*.03,0)
camera.CFrame=CFrame.lookAt(center+direction*radius/math.sin(half)*zoom,center)
end
title.Text=diagnostics.name or 'Custom model preview'
statusLabel.Text=diagnostics.lastError and diagnostics.lastError:sub(1,115)or pending and 'Loading custom mesh rig…'or live and (#live.parts..' mesh parts · '..#live.bones..' body bones · '..diagnostics.phase)or 'Preview only · enable to replace your local appearance'
end
local binding='NeverloseCustomModel'..tostring(math.random(100000,999999))
Run:BindToRenderStep(binding,Enum.RenderPriority.Last.Value+3,function(dt)
local ok,err=pcall(update,dt)
if not ok then
diagnostics.errors=diagnostics.errors+1;diagnostics.lastError=tostring(err);diagnostics.phase='model error';resetLive()
if diagnostics.errors==1 then warn('[Model Changer] '..tostring(err))end
end
end)
table.insert(cleanups,function()
stopped=true;generation=generation+1;Run:UnbindFromRenderStep(binding);resetLive();destroyRig(preview)
if template then template:Destroy()end;folder:Destroy();card:Destroy()
end)
return {status=function()return table.clone(diagnostics)end,reload=function()request(true)end}
end
end)()
local installLiveESP = (function()
-- Conservative screen-space occlusion regions. Never bridge visible cells.
local OcclusionMask=(function()
local M={}
function M.rectangles(grid,cols,rows,limit)
local cells={};for i,v in ipairs(grid) do cells[i]=v==true end
local result={}
for _=1,limit do
local heights={};for x=1,cols do heights[x]=0 end
local best,area=nil,0
for y=1,rows do
for x=1,cols do heights[x]=cells[(y-1)*cols+x] and heights[x]+1 or 0 end
local stack={}
for x=1,cols+1 do
local height=x<=cols and heights[x] or 0
local left=x
while #stack>0 and stack[#stack].height>height do
local item=table.remove(stack);left=item.left
local size=item.height*(x-item.left)
if size>area then area=size;best={item.left,y-item.height+1,x-1,y} end
end
if height>0 and (#stack==0 or stack[#stack].height<height) then table.insert(stack,{left=left,height=height}) end
end
end
if not best then break end
table.insert(result,best)
for y=best[2],best[4] do for x=best[1],best[3] do cells[(y-1)*cols+x]=false end end
end
return result
end
return M
end)()
-- Live ESP for the game's Participant / OperatorPresenter pipeline.
-- Embedded in neverlose_ui.lua so the menu remains a single-file script.
return function(menuGui, Store, connect, cleanups, adapter)
local RS = game:GetService('ReplicatedStorage')
local Players = game:GetService('Players')
local RunService = game:GetService('RunService')
local localPlayer = Players.LocalPlayer
local modules = RS:FindFirstChild('Modules')
local function module(path)
if adapter then return adapter.resolve(path) end
local node = modules
for name in path:gmatch('[^/]+') do node = node and node:FindFirstChild(name) end
if not node then return nil end
local ok, result = pcall(require, node)
return ok and result or nil
end
local participant = module('Shared/Participant')
local hostility = module('Shared/Combat/Hostility')
local merc = module('Client/Controllers/MercPlayerController')
local presenter = module('Client/Character/OperatorPresenter')
local pov = module('Client/Controllers/MercPOVController')
local gun = module('Client/Controllers/GunController')
local silhouettes = module('Shared/Weapons/WeaponSilhouette')
local units = module('Shared/Units')
local records, stopped = {}, false
local stats = { targets = 0, rendered = 0, errors = 0, adapter = adapter and adapter.name or 'OperatorPresenter', details = {} }
local overlay = Instance.new('ScreenGui')
overlay.Name, overlay.IgnoreGuiInset, overlay.ResetOnSpawn = 'NeverloseESP', true, false
overlay.DisplayOrder, overlay.ZIndexBehavior = 999, Enum.ZIndexBehavior.Sibling
overlay.Parent = localPlayer:WaitForChild('PlayerGui')
local function make(class, props, parent)
local o = Instance.new(class)
for k,v in pairs(props) do o[k] = v end
o.Parent = parent
return o
end
local function setting(ctx, path)
path = 'Players/' .. path
local v = Store.values[path .. '@' .. ctx]
if v == nil then v = Store.defaults[path] end
return v
end
local function color(ctx,path)
local s = tostring(setting(ctx,path .. '/Color') or 'FFFFFF'):gsub('#','')
return Color3.fromRGB(tonumber(s:sub(1,2),16) or 255,tonumber(s:sub(3,4),16) or 255,tonumber(s:sub(5,6),16) or 255)
end
local function body(owner)
return participant and participant.BodyOf(owner) or (owner:IsA('Player') and owner.Character or owner:FindFirstChildWhichIsA('Model'))
end
local function visual(owner)
local v = merc and merc.GetVisual(owner)
if not v and presenter then v = presenter.RigOf(owner) end
if not v and owner == localPlayer and pov and pov._state then v = pov._state.visual end
return v and v.Parent and v or nil
end
local function team(owner)
if hostility then return hostility.TeamOf(owner) end
return owner:GetAttribute('Team')
end
local function context(owner)
if owner == localPlayer then return 'Local' end
if hostility then return hostility.IsHostile(localPlayer,owner) and 'Enemies' or 'Teammates' end
local t = team(owner)
return t and t ~= 'Neutral' and t == team(localPlayer) and 'Teammates' or 'Enemies'
end
-- Text and line primitives. ESP text is Arial with a hard black outline, like the original.
local FONT, FONT_BOLD = Font.fromEnum(Enum.Font.Arial), Font.fromEnum(Enum.Font.ArialBold)
local BLACK, WHITE = Color3.new(0,0,0), Color3.new(1,1,1)
local function label(parent,size,bold)
return make('TextLabel',{BackgroundTransparency=1,BorderSizePixel=0,FontFace=bold and FONT_BOLD or FONT,TextSize=size or 12,TextColor3=WHITE,TextStrokeTransparency=0,TextStrokeColor3=BLACK,Text='',Visible=false},parent)
end
local function line(parent)
return make('Frame',{BorderSizePixel=0,BackgroundColor3=WHITE,AnchorPoint=Vector2.new(.5,.5),Visible=false},parent)
end
local function outlined(parent,c)
local f=make('Frame',{BackgroundTransparency=1,BorderSizePixel=0,Visible=false},parent)
local s=make('UIStroke',{Thickness=1,Color=c or BLACK},f)
pcall(function() s.BorderStrokePosition=Enum.BorderStrokePosition.Inner end)
return f,s
end
local function segment(o,a,b,c,thickness)
local d=b-a
o.Position=UDim2.fromOffset((a.X+b.X)/2,(a.Y+b.Y)/2)
o.Size=UDim2.fromOffset(d.Magnitude,thickness or 1)
o.Rotation=math.deg(math.atan2(d.Y,d.X))
o.BackgroundColor3, o.Visible=c,true
end
---------------------------------------------------------------------------------------
-- Chams
--
-- No Highlights and nothing in the world is made see-through. The operator rig is invisible
-- body-shaped chassis MeshParts with wrapped garment MeshParts on top. Two layers:
-- visible the real garments are recoloured in place (lit, shaded). The world hides them
-- behind walls by itself, so this layer is exact to the pixel.
-- hidden a copy of the rig lives in a ViewportFrame drawn above the world, painted in the
-- hidden colour. Its camera copies the real one every frame, and every frame it copies
-- the real joints' Transform (AnimationConstraint, Motor6D, Bone): the garments are
-- layered clothing that deform from those joints, so the pose matches exactly. The
-- weapon is placed by CFrame. The layer is clipped on screen to the walls that rays
-- from the camera actually hit, so it only covers the body where a wall is in front
-- of it and the two colours meet along the wall's edge.
---------------------------------------------------------------------------------------
-- all hidden layers share one container under the 2D overlay
local layers=make('Frame',{Name='HiddenLayers',Size=UDim2.fromScale(1,1),BackgroundTransparency=1,ZIndex=1},overlay)
local materials={Flat=Enum.Material.SmoothPlastic,Glow=Enum.Material.Neon,Metallic=Enum.Material.Metal,Glass=Enum.Material.Glass,Forcefield=Enum.Material.ForceField,Foil=Enum.Material.Foil,Marble=Enum.Material.Marble}
local LIT={Flat=true,Glow=true,Metallic=true,Foil=true,Marble=true,Glass=true,Forcefield=true}
-- One recipe for both the real parts and the copy.
local function surface(p,mode,c,opacity,baseTransparency)
for _,a in ipairs(p:GetChildren()) do if a:IsA('SurfaceAppearance') and a.Parent then a.Parent=nil end end
if p:IsA('MeshPart') and p.TextureID~='' then p.TextureID='' end
local m=materials[mode] or materials.Flat
local shade=mode=='Glow' and c:Lerp(BLACK,.3) or c
if p.Material~=m then p.Material=m end
if adapter then p.MaterialVariant='' end
if p.Color~=shade then p.Color=shade end
p.Reflectance=mode=='Metallic' and .35 or 0
local t=baseTransparency+(1-opacity)*(1-baseTransparency)
if mode=='Glass' then t=math.max(t,.55) end
if p.Transparency~=t then p.Transparency=t end
end
-- Remember a real surface the first time it is modified so it can be put back exactly.
local function saveSurface(r,p)
local s=r.surfaces[p]
if s then return s end
s={material=p.Material,variant=p.MaterialVariant,color=p.Color,reflectance=p.Reflectance,transparency=p.Transparency,appearances={}}
if p:IsA('MeshPart') then s.texture=p.TextureID end
for _,a in ipairs(p:GetChildren()) do
if a:IsA('SurfaceAppearance') then table.insert(s.appearances,a) end
end
r.surfaces[p]=s
return s
end
local function resetPart(r,p)
local s=r.surfaces[p]
if not s then return end
if p.Parent then
p.Material=s.material;p.MaterialVariant=s.variant or ''; p.Color=s.color; p.Reflectance=s.reflectance; p.Transparency=s.transparency
if s.texture~=nil then p.TextureID=s.texture end
for _,a in ipairs(s.appearances) do if a.Parent~=p then a.Parent=p end end
else
for _,a in ipairs(s.appearances) do a:Destroy() end
end
r.surfaces[p]=nil
end
local function restore(r)
if adapter and r.model then adapter.paintCosmetics(r.model,false)end
for p in pairs(r.surfaces) do resetPart(r,p) end
r.litSig=nil
end
-- Other characters standing in front are not walls: the one behind is simply covered.
local function isActor(inst)
for _,name in ipairs({'MercPlayers','MockPlayers','OperatorBots'}) do
local folder=workspace:FindFirstChild(name)
if folder and inst:IsDescendantOf(folder) then return true end
end
return false
end
-- The first solid thing between the camera and a point, if any. See-through helpers
-- (trigger volumes, invisible blockers) are skipped.
local function blocker(origin,target,base)
local dir=target-origin
local params,list=base,nil
for _=1,4 do
local hit=workspace:Raycast(origin,dir,params)
if not hit then return nil end
local inst=hit.Instance
if inst:IsA('Terrain') then return inst end
if not (inst.Transparency>=.95 or (not inst.CanCollide and inst.Transparency>=.2) or isActor(inst)) then return inst end
if not list then list=table.clone(base.FilterDescendantsInstances) end
table.insert(list,inst)
params=RaycastParams.new(); params.FilterType=Enum.RaycastFilterType.Exclude; params.FilterDescendantsInstances=list
end
return nil
end
local function rayParams(r)
local params=RaycastParams.new(); params.FilterType=Enum.RaycastFilterType.Exclude
local ignore=adapter and adapter.actorModels() or {r.model}
local b=body(r.owner)
if b then table.insert(ignore,b) end
if localPlayer.Character then table.insert(ignore,localPlayer.Character) end
if pov and pov._state and pov._state.visual then table.insert(ignore,pov._state.visual) end
params.FilterDescendantsInstances=ignore
return params
end
-- Rays to both sides and the centre of every body part. Whatever they hit is a wall in front
-- of the target; a wall stays on the list briefly after the last hit so edges do not flicker.
local function sampleBody(r,cam,now)
r.occTime=now
local origin,right,params=cam.CFrame.Position,cam.CFrame.RightVector,rayParams(r)
local hidden=0
for _,c in ipairs(r.chassis) do
local center=c.part.Position
local off=right*(c.part.Size.Magnitude*.2)
local any=false
for _,point in ipairs({center-off,center,center+off}) do
local hit=blocker(origin,point,params)
if hit then r.walls[hit]=now; any=true end
end
if any then hidden+=1 end
end
for wall,seen in pairs(r.walls) do if now-seen>.2 or not wall.Parent then r.walls[wall]=nil end end
r.visibility=#r.chassis>0 and 1-hidden/#r.chassis or 1
end
-- Sample the body-sized image in camera space. Each cell compares map depth
-- with the actual chassis hit, so disjoint walls do not paint the gap between them.
local function sampleMask(r,cam,now)
local box=r.maskBox
if not box then return end
local size=overlay.AbsoluteSize
local x0,y0=math.clamp(box[1],0,size.X),math.clamp(box[2],0,size.Y)
local x1,y1=math.clamp(box[3],0,size.X),math.clamp(box[4],0,size.Y)
if x1<=x0 or y1<=y0 then r.maskData=nil;return end
local cols=math.clamp(math.ceil((x1-x0)/10),4,12)
local rows=math.clamp(math.ceil((y1-y0)/10),6,18)
local include=RaycastParams.new();include.FilterType=Enum.RaycastFilterType.Include
local parts={};for _,c in ipairs(r.chassis) do if c.part.Parent then table.insert(parts,c.part) end end
include.FilterDescendantsInstances=parts
local exclude=rayParams(r)
local origin=cam.CFrame.Position
local depth=math.max(.1,(r.maskCenter-origin):Dot(cam.CFrame.LookVector))
local grid={};local hidden=0
table.clear(r.walls)
for y=1,rows do for x=1,cols do
local px=x0+(x-.5)*(x1-x0)/cols
local py=y0+(y-.5)*(y1-y0)/rows
local ray=cam:ViewportPointToRay(px,py)
local distance=depth/math.max(.05,ray.Direction:Dot(cam.CFrame.LookVector))
local bodyHit=workspace:Raycast(origin,ray.Direction*(distance+12),include)
if bodyHit then distance=(bodyHit.Position-origin).Magnitude end
local wall=blocker(origin,origin+ray.Direction*math.max(.01,distance-.04),exclude)
local covered=wall~=nil
grid[(y-1)*cols+x]=covered
if covered then hidden+=1;r.walls[wall]=now end
end end
local rects=OcclusionMask.rectangles(grid,cols,rows,4)
if hidden>0 and not r.hadMask then r.maskSince=now end
r.hadMask=hidden>0
r.maskData={cols=cols,rows=rows,rects=rects,box={x0,y0,x1,y1}}
r.visibility=1-hidden/(cols*rows)
r.maskRays=cols*rows*2
r.occTime=now
r.maskCamera=cam.CFrame
end
-- Screen rectangle covered by a wall (its box projected), or the whole screen when that cannot be
-- known (terrain, or a wall reaching behind the camera).
local function wallRect(cam,inst,size)
if not inst:IsA('BasePart') or inst:IsA('Terrain') then return 0,0,size.X,size.Y end
local cf,s=inst.CFrame,inst.Size/2
local x0,y0,x1,y1=math.huge,math.huge,-math.huge,-math.huge
for ix=-1,1,2 do for iy=-1,1,2 do for iz=-1,1,2 do
local q=cam:WorldToViewportPoint(cf:PointToWorldSpace(Vector3.new(s.X*ix,s.Y*iy,s.Z*iz)))
if q.Z<.05 then return 0,0,size.X,size.Y end
x0,y0,x1,y1=math.min(x0,q.X),math.min(y0,q.Y),math.max(x1,q.X),math.max(y1,q.Y)
end end end
return x0,y0,x1,y1
end
-- A layer is a clipped, full-screen ViewportFrame with a camera that copies the real one.
local function newLayer()
local clip=make('Frame',{Name='ChamsLayer',BackgroundTransparency=1,ClipsDescendants=true,Visible=false},layers)
local vp=make('ViewportFrame',{BackgroundTransparency=1,Ambient=Color3.fromRGB(128,132,145),LightColor=Color3.fromRGB(255,252,245)},clip)
local world=make('WorldModel',{},vp)
local cam=make('Camera',{},vp)
vp.CurrentCamera=cam
return {clip=clip,vp=vp,world=world,cam=cam}
end
local function showLayer(layer,cam,x0,y0,x1,y1,z)
local size=overlay.AbsoluteSize
layer.clip.Visible=true
layer.clip.Position,layer.clip.Size=UDim2.fromOffset(x0,y0),UDim2.fromOffset(x1-x0,y1-y0)
layer.clip.ZIndex=z
layer.vp.Position,layer.vp.Size=UDim2.fromOffset(-x0,-y0),UDim2.fromOffset(size.X,size.Y)
layer.cam.CFrame,layer.cam.FieldOfView=cam.CFrame,cam.FieldOfView
layer.vp.LightDirection=(cam.CFrame.LookVector*.45+cam.CFrame.RightVector*.25-Vector3.yAxis).Unit
end
-- Copies of the rig: r.clone sits in the hidden layer, r.frontClone in the front layer.
local function destroyClone(r)
r.maskData=nil;r.hadMask=false;r.maskSince=nil;r.maskCamera=nil;r.occTime=0
for _,entry in pairs(r.extraMasks or {}) do if entry.clone then entry.clone.model:Destroy() end;entry.layer.clip:Destroy() end
r.extraMasks={}
if r.clone then r.clone.model:Destroy() end
if r.frontClone then r.frontClone.model:Destroy() end
r.clone,r.frontClone=nil,nil
if r.layer then r.layer.clip.Visible=false end
if r.front then r.front.clip.Visible=false end
end
local function cloneRig(r,layer,hidden)
local ok,model=pcall(function() return r.model:Clone() end)
if not ok or not model then r.cloneRetry=os.clock()+1; return nil end
if adapter then
local collection=game:GetService('CollectionService')
local nodes=model:GetDescendants();table.insert(nodes,model)
for _,node in ipairs(nodes)do for _,tag in ipairs(collection:GetTags(node))do collection:RemoveTag(node,tag)end end
end
local c={model=model,joints={},bones={},rigid={},meshes={},map={}}
-- real and copied trees are matched by name, class and order among siblings
local function walk(a,b)
local buckets={}
for _,x in ipairs(a:GetChildren()) do
local k=x.Name..'|'..x.ClassName
buckets[k]=buckets[k] or {}
table.insert(buckets[k],x)
end
local seen={}
for _,y in ipairs(b:GetChildren()) do
local k=y.Name..'|'..y.ClassName
seen[k]=(seen[k] or 0)+1
local x=buckets[k] and buckets[k][seen[k]]
if not x or y:IsA('LuaSourceContainer') or y:IsA('Sound') or y:IsA('ParticleEmitter') or y:IsA('Highlight') or y:IsA('BillboardGui') or y:IsA('Light') then
y:Destroy()
else
if y:IsA('AnimationConstraint') or y:IsA('Motor6D') then table.insert(c.joints,{x,y})
elseif y:IsA('Bone') then table.insert(c.bones,{x,y})
elseif adapter and y:IsA('SpecialMesh') then table.insert(c.meshes,{x,y})
elseif y:IsA('BasePart') then
c.map[x]=y
y.CanCollide,y.CanQuery,y.CanTouch,y.CastShadow=false,false,false,false
end
walk(x,y)
end
end
end
walk(r.model,model)
if adapter and hidden~=false then adapter.paintCosmetics(model,true,true)end
c.root=model:FindFirstChild('HumanoidRootPart') or model.PrimaryPart
c.realRoot=r.model:FindFirstChild('HumanoidRootPart') or r.model.PrimaryPart
if not (c.root and c.realRoot) then model:Destroy(); r.cloneRetry=os.clock()+1; return nil end
-- The weapon (anything nested below the rig) is placed by the game directly, not through the
-- skeleton, so its parts follow the real ones by CFrame and lose their welds.
local rigid={}
for x,y in pairs(c.map) do
if adapter or x.Parent~=r.model then rigid[y]=true; table.insert(c.rigid,{x,y}) end
y.Anchored=y==c.root or rigid[y]==true
end
for _,d in ipairs(model:GetDescendants()) do
local a,b
if d:IsA('JointInstance') or d:IsA('WeldConstraint') then a,b=d.Part0,d.Part1
elseif d:IsA('AnimationConstraint') then a,b=d.Attachment0 and d.Attachment0.Parent,d.Attachment1 and d.Attachment1.Parent end
if (a and rigid[a]) or (b and rigid[b]) then d:Destroy() end
end
for i=#c.joints,1,-1 do if not c.joints[i][2].Parent then table.remove(c.joints,i) end end
local hum=model:FindFirstChildOfClass('Humanoid')
if hum then hum.EvaluateStateMachine=false; hum.DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None end
model.Parent=layer.world
return c
end
local function buildClone(r)
if r.clone then r.clone.model:Destroy(); r.clone=nil end
r.layer=r.layer or newLayer()
r.clone=cloneRig(r,r.layer)
r.cloneSig=nil
end
local function poseClone(c)
if c.realRoot.Parent then c.root.CFrame=c.realRoot.CFrame end
for _,j in ipairs(c.joints) do
j[2].Transform=j[1].Transform
if adapter and j[1]:IsA('Motor6D') then j[2].C0=j[1].C0;j[2].C1=j[1].C1
elseif adapter and j[1]:IsA('AnimationConstraint') then
for _,key in ipairs({'Attachment0','Attachment1'})do if j[1][key] and j[2][key]then j[2][key].CFrame=j[1][key].CFrame end end
end
end
for _,b in ipairs(c.bones) do b[2].Transform=b[1].Transform end
for _,w in ipairs(c.rigid) do w[2].CFrame=w[1].CFrame;if adapter and w[2].Size~=w[1].Size then w[2].Size=w[1].Size end end
for _,mesh in ipairs(c.meshes or {})do mesh[2].Scale=mesh[1].Scale;mesh[2].Offset=mesh[1].Offset end
end
local function chamsOff(r)
restore(r)
destroyClone(r)
table.clear(r.walls)
end
local function destroy(r)
for _,c in ipairs(r.modelConnections or {}) do c:Disconnect() end
chamsOff(r)
if r.layer then r.layer.clip:Destroy() end
if r.front then r.front.clip:Destroy() end
r.ui:Destroy()
end
local function updateChams(r,ctx,cam,now,detail,onScreen,dead)
local function get(p) return setting(ctx,p) end
local visibleOn=get('Chams/Visible')==true
local hiddenOn=get('Chams/Through Walls')==true
local mode=get('Chams/Material') or 'Flat'
if not LIT[mode] then mode='Flat' end
local opacity=math.clamp((tonumber(get('Chams/Opacity')) or 100)/100,.1,1)
local visibleColor,hiddenColor=color(ctx,'Chams/Visible'),color(ctx,'Chams/Through Walls')
detail.chams={mode=mode,visible=visibleOn,hidden=hiddenOn}
r.hiddenRect=nil
r.chamsOn=visibleOn or hiddenOn
if not r.chamsOn then chamsOff(r); return end
-- hidden layer; a ragdoll is driven by physics, not joints, so it only gets the visible layer
local hiddenLayer=hiddenOn and not dead and #r.chassis>0
if hiddenLayer then
if r.clone and r.cloneDirty and now-(r.topologyTime or 0)>.3 then destroyClone(r) end
if not r.clone and now>=(r.cloneRetry or 0) then buildClone(r); r.cloneDirty=false; r.litSig=nil end
elseif r.clone then destroyClone(r); table.clear(r.walls) end
-- visible layer: the real garments
local sig=mode..'|'..visibleColor:ToHex()..'|'..opacity
if visibleOn then
if sig~=r.litSig or r.litDirty then
if adapter then adapter.paintCosmetics(r.model,true,true)end
r.litSig,r.litDirty=sig,false
for _,p in ipairs(r.parts) do
if p.Parent then surface(p,mode,visibleColor,opacity,saveSurface(r,p).transparency) end
end
end
elseif next(r.surfaces) then restore(r) end
if adapter and visibleOn then adapter.paintCosmetics(r.model,true,false)end
local c=r.clone
if c then
local layer=r.layer
if onScreen then
local moved=not r.maskCamera or (cam.CFrame.Position-r.maskCamera.Position).Magnitude>.08 or cam.CFrame.LookVector:Dot(r.maskCamera.LookVector)<.99998
local old=r.maskData and r.maskData.box;local box=r.maskBox
local actorMoved=old and box and (math.abs(old[1]-box[1])>1 or math.abs(old[2]-box[2])>1 or math.abs(old[3]-box[3])>1 or math.abs(old[4]-box[4])>1)
if moved or actorMoved or now-r.occTime>=.066 then sampleMask(r,cam,now) end
end
layer.clip.Visible=false
for _,entry in pairs(r.extraMasks or {}) do
entry.layer.clip.Visible=false
if entry.clone and now-(entry.used or now)>2 then entry.clone.model:Destroy();entry.clone=nil;entry.signature=nil end
end
local data=r.maskData
-- Keep tested regions in the screen coordinates that were actually raycast.
-- Retiling an old mask to a moving body would drag hidden color across a wall edge.
local box=data and data.box
local show=onScreen and data and box and #data.rects>0
detail.walls=0;for _ in pairs(r.walls) do detail.walls+=1 end
detail.maskRegions=show and #data.rects or 0
detail.occlusionRays=r.maskRays or 0
if show then
local size=overlay.AbsoluteSize
local bx0,by0=math.clamp(box[1],0,size.X),math.clamp(box[2],0,size.Y)
local bx1,by1=math.clamp(box[3],0,size.X),math.clamp(box[4],0,size.Y)
local hsig=mode..'|'..hiddenColor:ToHex()..'|'..opacity
local union=nil
for index,rect in ipairs(data.rects) do
local activeLayer,activeClone,signature=layer,c,r.cloneSig
if index>1 then
r.extraMasks=r.extraMasks or {}
local entry=r.extraMasks[index]
if not entry then entry={layer=newLayer()};r.extraMasks[index]=entry end
entry.used=now
if not entry.clone and now>=(entry.retry or 0) then entry.clone=cloneRig(r,entry.layer);if not entry.clone then entry.retry=now+.5 end end
activeLayer,activeClone,signature=entry.layer,entry.clone,entry.signature
end
if activeClone then
local x0=math.floor(bx0+(rect[1]-1)*(bx1-bx0)/data.cols)
local y0=math.floor(by0+(rect[2]-1)*(by1-by0)/data.rows)
local x1=math.ceil(bx0+rect[3]*(bx1-bx0)/data.cols)
local y1=math.ceil(by0+rect[4]*(by1-by0)/data.rows)
showLayer(activeLayer,cam,x0,y0,x1,y1,8001-2*math.min(math.floor(r.dist),4000))
-- A short opacity entrance softens visibility changes without interpolating pose.
activeLayer.vp.ImageTransparency=1-math.clamp((now-(r.maskSince or now))/.08,0,1)
poseClone(activeClone)
if signature~=hsig then
for _,p in ipairs(r.parts) do
local copy=activeClone.map[p]
if copy then surface(copy,mode,hiddenColor,opacity,(r.surfaces[p] and r.surfaces[p].transparency) or p.Transparency) end
end
if index==1 then r.cloneSig=hsig else r.extraMasks[index].signature=hsig end
end
union=union and {math.min(union[1],x0),math.min(union[2],y0),math.max(union[3],x1),math.max(union[4],y1)} or {x0,y0,x1,y1}
end
end
r.hiddenRect=union
end
detail.chamsMethod='RigMaterial+ViewportHidden'
else
detail.chamsMethod='RigMaterial'
end
detail.visibility=r.visibility
end
local function newRecord(owner)
local r={owner=owner,bones={},parts={},boxParts={},surfaces={},walls={},chassis={},lastScan=0,lastStep=0,lastSeen=0,occTime=0,dist=0}
r.ui=make('Frame',{Name=owner.Name,Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Visible=false,ZIndex=2},overlay)
r.boxOuter=outlined(r.ui,BLACK); r.box,r.boxStroke=outlined(r.ui,WHITE); r.boxInner=outlined(r.ui,BLACK)
r.modelConnections={}
r.name=label(r.ui,13); r.weapon=label(r.ui,12); r.hpText=label(r.ui,10,true)
r.flags={}
for i=1,7 do r.flags[i]=label(r.ui,10,true) end
r.icon=make('ImageLabel',{BackgroundTransparency=1,Visible=false,ScaleType=Enum.ScaleType.Fit},r.ui)
r.health=make('Frame',{BorderSizePixel=0,BackgroundColor3=BLACK,Visible=false},r.ui)
r.healthFill=make('Frame',{BorderSizePixel=0,AnchorPoint=Vector2.new(0,1),Position=UDim2.new(0,1,1,-1)},r.health)
r.ammo=make('Frame',{BorderSizePixel=0,BackgroundColor3=BLACK,Visible=false},r.ui)
r.ammoFill=make('Frame',{BorderSizePixel=0,Position=UDim2.fromOffset(1,1)},r.ammo)
r.arrow=label(r.ui,22); r.arrow.Text=utf8.char(9650); r.arrow.TextXAlignment=Enum.TextXAlignment.Center
r.ring=make('Frame',{AnchorPoint=Vector2.new(.5,.5),BackgroundTransparency=1,Visible=false},r.ui)
make('UICorner',{CornerRadius=UDim.new(1,0)},r.ring)
r.ringStroke=make('UIStroke',{Thickness=2},r.ring)
r.weaponView=make('ViewportFrame',{BackgroundTransparency=1,Visible=false,Ambient=WHITE,LightColor=BLACK},r.ui)
-- glow: concentric rings around the box, so the player's own model is never tinted
r.aura={}
for i=1,4 do
local f,st=outlined(r.ui,WHITE)
st.Thickness=3
make('UICorner',{CornerRadius=UDim.new(0,3+i*2)},f)
r.aura[i]={f=f,s=st}
end
records[owner]=r
return r
end
-- Only anatomical joints from the driving skeleton belong in the overlay.
-- Clothing meshes can carry duplicates and helper bones far outside the body.
local aliases={
Head={'head'}, Chest={'uppertorso','spine2','upperchest','chest','spine1','spine','torso'},
Hips={'hips','pelvis','lowertorso'},
LShoulder={'leftarm','leftupperarm','lupperarm'}, LElbow={'leftforearm','leftlowerarm','lforearm'}, LHand={'lefthand','lhand'},
RShoulder={'rightarm','rightupperarm','rupperarm'}, RElbow={'rightforearm','rightlowerarm','rforearm'}, RHand={'righthand','rhand'},
LHip={'leftupleg','leftupperleg','lthigh'}, LKnee={'leftleg','leftlowerleg','lcalf'}, LFoot={'leftfoot','lfoot'},
RHip={'rightupleg','rightupperleg','rthigh'}, RKnee={'rightleg','rightlowerleg','rcalf'}, RFoot={'rightfoot','rfoot'},
}
local links={{'Head','Chest'},{'Chest','Hips'},
{'Chest','LShoulder'},{'LShoulder','LElbow'},{'LElbow','LHand'},
{'Chest','RShoulder'},{'RShoulder','RElbow'},{'RElbow','RHand'},
{'Hips','LHip'},{'LHip','LKnee'},{'LKnee','LFoot'},
{'Hips','RHip'},{'RHip','RKnee'},{'RKnee','RFoot'}}
-- The 2D box follows the body, not the arms or the weapon, so it stays put while aiming.
local boxNames={Head=true,UpperTorso=true,LowerTorso=true,LeftUpperLeg=true,RightUpperLeg=true,LeftLowerLeg=true,RightLowerLeg=true,LeftFoot=true,RightFoot=true}
local function normalized(name)
return name:lower():gsub('^.*:', ''):gsub('mixamorig',''):gsub('[^%a%d]','')
end
local function worldPosition(node)
if node:IsA('Bone') then return node.TransformedWorldCFrame.Position end
if node:IsA('Attachment') then return node.WorldPosition end
return node.Position
end
local function resetModel(r,v)
for _,c in ipairs(r.modelConnections) do c:Disconnect() end
table.clear(r.modelConnections)
restore(r)
destroyClone(r)
r.model=v; r.scanDirty=true; r.joints={}; r.parts={}; r.boxParts={}; r.chassis={}; r.occTime=0; r.cloneDirty=false; r.cloneRetry=nil; table.clear(r.walls)
if v then
local function topologyChanged(node)
-- Footstep sounds, emitters and removed textures do not change the rig.
if node:IsA('BasePart') or node:IsA('Bone') or node:IsA('WrapLayer') or node:IsA('WrapTarget') or node:IsA('Motor6D') or node:IsA('AnimationConstraint') or adapter and (node:IsA('Shirt')or node:IsA('Pants')or node:IsA('ShirtGraphic')or node:IsA('SpecialMesh')or node:IsA('Decal')) then
r.scanDirty=true; r.litDirty=true; r.cloneDirty=true; r.topologyTime=os.clock()
end
end
table.insert(r.modelConnections,v.DescendantAdded:Connect(topologyChanged))
table.insert(r.modelConnections,v.DescendantRemoving:Connect(topologyChanged))
end
if #r.bones==0 then
for _,pair in ipairs(links) do table.insert(r.bones,{keys=pair,line=line(r.ui)}) end
end
end
local function scan(r,now)
if not r.scanDirty then return end
r.scanDirty=false
r.joints,r.parts,r.boxParts,r.chassis={},{},{},{}
local byName={}
-- Prefer the skeleton below the root to any copies in garment MeshParts.
local root=r.model.PrimaryPart or r.model:FindFirstChild('RootPart')
local driving=root and root:GetDescendants() or {}
for _,node in ipairs(driving) do
if node:IsA('Bone') then byName[normalized(node.Name)]=node end
end
for _,node in ipairs(r.model:GetDescendants()) do
if node:IsA('Bone') or node:IsA('BasePart') then
local key=normalized(node.Name)
if not byName[key] then byName[key]=node end
end
-- lenses and other see-through parts keep their own look under chams
local saved=r.surfaces[node]
if node:IsA('BasePart') and (saved and saved.transparency or node.Transparency)<.1 then table.insert(r.parts,node) end
end
for _,node in ipairs(r.model:GetChildren()) do
if node:IsA('BasePart') then
if boxNames[node.Name] then table.insert(r.boxParts,node) end
-- the invisible body parts under the clothes are what the rays aim at
if node:IsA('MeshPart') and node.Name~='HumanoidRootPart' and node.Transparency>=.99 then
table.insert(r.chassis,{part=node})
end
end
end
if adapter then r.chassis=adapter.chassis(r.owner) end
for key,names in pairs(aliases) do
for _,name in ipairs(names) do if byName[name] then r.joints[key]=byName[name]; break end end
end
end
-- Clip a segment to the camera near plane before projection, then to the viewport.
local function projectSegment(cam,a,b)
local ac,bc=cam.CFrame:PointToObjectSpace(a),cam.CFrame:PointToObjectSpace(b)
local near=.1
if ac.Z>-near and bc.Z>-near then return nil end
if ac.Z>-near then a=a:Lerp(b,(-near-ac.Z)/(bc.Z-ac.Z))
elseif bc.Z>-near then b=b:Lerp(a,(-near-bc.Z)/(ac.Z-bc.Z)) end
local pa,pb=cam:WorldToViewportPoint(a),cam:WorldToViewportPoint(b)
local x,y,dx,dy=pa.X,pa.Y,pb.X-pa.X,pb.Y-pa.Y
local lo,hi=0,1
local function clip(p,q)
if math.abs(p)<1e-6 then return q>=0 end
local t=q/p
if p<0 then if t>hi then return false end; lo=math.max(lo,t)
else if t<lo then return false end; hi=math.min(hi,t) end
return true
end
local size=cam.ViewportSize
if not (clip(-dx,x) and clip(dx,size.X-x) and clip(-dy,y) and clip(dy,size.Y-y)) then return nil end
return Vector2.new(x+dx*lo,y+dy*lo),Vector2.new(x+dx*hi,y+dy*hi)
end
local function datum(owner,b,names)
if adapter then local value=adapter.datum(owner,names);if value~=nil then return value end end
for _,n in ipairs(names) do
local v=owner:GetAttribute(n)
if v==nil and b then v=b:GetAttribute(n) end
if v~=nil then return v end
end
return nil
end
-- World-aligned box around the body parts, padded a little, projected to the screen.
local function worldBox(parts)
local lo,hi
for _,part in ipairs(parts) do
if part.Parent then
local cf,s=part.CFrame,part.Size/2
for ix=-1,1,2 do for iy=-1,1,2 do for iz=-1,1,2 do
local p=cf:PointToWorldSpace(Vector3.new(s.X*ix,s.Y*iy,s.Z*iz))
if lo then lo=Vector3.new(math.min(lo.X,p.X),math.min(lo.Y,p.Y),math.min(lo.Z,p.Z)); hi=Vector3.new(math.max(hi.X,p.X),math.max(hi.Y,p.Y),math.max(hi.Z,p.Z))
else lo,hi=p,p end
end end end
end
end
return lo,hi
end
local function projectBox(cam,lo,hi)
local mn,mx=Vector2.new(math.huge,math.huge),Vector2.new(-math.huge,-math.huge)
local count=0
for ix=0,1 do for iy=0,1 do for iz=0,1 do
local q=cam:WorldToViewportPoint(Vector3.new(ix==0 and lo.X or hi.X,iy==0 and lo.Y or hi.Y,iz==0 and lo.Z or hi.Z))
if q.Z>.1 then
count+=1
mn=Vector2.new(math.min(mn.X,q.X),math.min(mn.Y,q.Y)); mx=Vector2.new(math.max(mx.X,q.X),math.max(mx.Y,q.Y))
end
end end end
return mn,mx,count
end
local function showText(o,value,x,y,w,c)
o.Text=tostring(value); o.Position=UDim2.fromOffset(x,y); o.Size=UDim2.fromOffset(w,o.TextSize+4)
o.TextColor3=c or WHITE; o.Visible=true
end
local flagStyle={Aiming={'AIM',Color3.fromRGB(255,205,100)},Credits={'$',Color3.fromRGB(135,225,115)},['Local Ping']={'MS',Color3.fromRGB(255,130,130)},Distance={'M',Color3.fromRGB(190,200,215)}}
local function render(r,cam,dt,now)
r.ui.Visible=false
local owner=r.owner
local detail={name=owner.Name,reason='no visual'}
stats.details[owner.Name]=detail
local v=visual(owner)
if v~=r.model then resetModel(r,v) end
if not v then chamsOff(r); return end
local ctx=context(owner)
detail.context=ctx
local function get(p) return setting(ctx,p) end
local b=body(owner)
local hum=b and b:FindFirstChildOfClass('Humanoid')
local hp=tonumber(datum(owner,b,{'BotHealth','Health'})) or (hum and hum.Health)
local maxHp=tonumber(datum(owner,b,{'BotMaxHealth','MaxHealth'})) or (hum and hum.MaxHealth)
local dead=datum(owner,b,{'Dead'})==true or (hp and hp<=0) or v:GetAttribute('Dead')==true or v:GetAttribute('Ragdolled')==true
if dead and not get('Chams/Ragdolls') then chamsOff(r); detail.reason='dead'; return end
local proxyRoot=b and (b:FindFirstChild('HumanoidRootPart') or b.PrimaryPart)
if owner==localPlayer then
if adapter and adapter.firstPerson(owner) then
local changed=next(r.surfaces)~=nil
chamsOff(r)
if changed then adapter.restoreVisibility(owner)end
detail.reason='first person self';return
end
local head=b and b:FindFirstChild('Head')
local anchor=head or proxyRoot
if (pov and pov._state and pov._state.visual==v) or (anchor and (cam.CFrame.Position-anchor.Position).Magnitude<2.5) then
chamsOff(r); detail.reason='first person self'; return
end
end
scan(r,now)
local points,positions={},{}
for key,node in pairs(r.joints) do
if node.Parent then
local p=worldPosition(node)
if p.X==p.X and p.Y==p.Y and p.Z==p.Z then positions[key]=p; table.insert(points,p) end
end
end
detail.joints=#points
if #points<4 then
chamsOff(r); detail.reason='waiting for driving skeleton'; return
end
local center=positions.Hips or positions.Chest or points[1]
r.dist=(center-cam.CFrame.Position).Magnitude
detail.distance=r.dist
r.ui.Visible=true
for _,o in ipairs({r.boxOuter,r.box,r.boxInner,r.name,r.weapon,r.hpText,r.icon,r.weaponView,r.health,r.ammo,r.arrow,r.ring}) do o.Visible=false end
for _,f in ipairs(r.flags) do f.Visible=false end
for _,a in ipairs(r.aura) do a.f.Visible=false end
for _,bone in ipairs(r.bones) do bone.line.Visible=false end
local viewport=cam.ViewportSize
local mn,mx,count
if #r.boxParts>=4 then
local lo,hi=worldBox(r.boxParts)
-- breathing room: a little above the helmet and below the boots, never thinner than a shoulder
local pad=Vector3.new(.15,.12,.15)
lo,hi=lo-pad,hi+pad
local cx,cz=(lo.X+hi.X)/2,(lo.Z+hi.Z)/2
local hx,hz=math.max((hi.X-lo.X)/2*.88,.95),math.max((hi.Z-lo.Z)/2*.88,.95)
mn,mx,count=projectBox(cam,Vector3.new(cx-hx,lo.Y,cz-hz),Vector3.new(cx+hx,hi.Y+.1,cz+hz))
else
mn,mx,count=Vector2.new(math.huge,math.huge),Vector2.new(-math.huge,-math.huge),0
local right,up=cam.CFrame.RightVector,cam.CFrame.UpVector
local scale=positions.Head and positions.Hips and math.clamp((positions.Head-positions.Hips).Magnitude/2.4,.25,4) or 1
for key,p in pairs(positions) do
local radius=(key=='Head' and .4 or (key=='Chest' or key=='Hips') and .32 or .18)*scale
for _,offset in ipairs({right*radius+up*radius,-right*radius-up*radius,right*radius-up*radius,-right*radius+up*radius}) do
local q=cam:WorldToViewportPoint(p+offset)
if q.Z>.1 then count+=1; mn=Vector2.new(math.min(mn.X,q.X),math.min(mn.Y,q.Y)); mx=Vector2.new(math.max(mx.X,q.X),math.max(mx.Y,q.Y)) end
end
end
end
local onScreen=count>0 and mx.X>=0 and mx.Y>=0 and mn.X<=viewport.X and mn.Y<=viewport.Y
-- a chams failure must not take the 2D overlay down with it
r.screenBox=nil
r.maskCenter=center
r.maskBox=onScreen and {mn.X-(mx.X-mn.X)*.2,mn.Y,mx.X+(mx.X-mn.X)*.2,mx.Y} or nil
local okChams,errChams=pcall(updateChams,r,ctx,cam,now,detail,onScreen,dead)
if not okChams then
chamsOff(r); stats.errors+=1; detail.chamsError=tostring(errChams)
if stats.lastError~=tostring(errChams) then stats.lastError=tostring(errChams); warn('[Neverlose for RIVALS ESP] chams: '..tostring(errChams)) end
end
if not onScreen then
detail.reason='off screen'
if get('Other/Out of FOV Arrows') then
local p=cam.CFrame:PointToObjectSpace(center)
local direction=Vector2.new(p.X,-p.Y)
if direction.Magnitude<.001 then direction=Vector2.new(0,1) end
direction=direction.Unit
local radius=math.min(viewport.X,viewport.Y)*.4
local at=viewport/2+direction*radius
showText(r.arrow,utf8.char(9650),at.X-14,at.Y-14,28,color(ctx,'Other/Out of FOV Arrows'))
r.arrow.Size=UDim2.fromOffset(28,28); r.arrow.Rotation=math.deg(math.atan2(direction.Y,direction.X))+90
r.arrow.TextTransparency=math.clamp((r.dist-60)/240,0,.55)
end
return
end
local x,y=math.floor(mn.X+.5),math.floor(mn.Y+.5)
local w,h=math.max(math.floor(mx.X-mn.X+.5),6),math.max(math.floor(mx.Y-mn.Y+.5),10)
x,y=math.clamp(x,-3000,3000),math.clamp(y,-3000,3000); w,h=math.min(w,6000),math.min(h,6000)
detail.reason=dead and 'ragdoll' or 'drawn'
detail.bounds={x=x,y=y,width=w,height=h}
if r.chamsOn then r.screenBox={x,y,w,h} end
if dead then return end
stats.rendered+=1
if get('ESP/Bounding Box')==true then
r.boxOuter.Visible,r.box.Visible,r.boxInner.Visible=true,true,true
r.boxOuter.Position,r.boxOuter.Size=UDim2.fromOffset(x-1,y-1),UDim2.fromOffset(w+2,h+2)
r.box.Position,r.box.Size=UDim2.fromOffset(x,y),UDim2.fromOffset(w,h)
r.boxInner.Position,r.boxInner.Size=UDim2.fromOffset(x+1,y+1),UDim2.fromOffset(math.max(w-2,0),math.max(h-2,0))
r.boxStroke.Color=color(ctx,'ESP/Bounding Box')
end
if get('Glow/Enabled') then
local gc,style=color(ctx,'Glow/Enabled'),get('Glow/Style')
local pulse=.5+.5*math.sin(now*3.2)
for i,a in ipairs(r.aura) do
local pad=2+i*3
a.f.Visible=true
a.f.Position=UDim2.fromOffset(x-pad,y-pad); a.f.Size=UDim2.fromOffset(w+pad*2,h+pad*2)
a.s.Color=gc
local base=style=='Outline' and (i==1 and .1 or i==2 and .55 or 1) or (.5+i*.11)
a.s.Transparency=style=='Pulse' and math.clamp(base+(1-pulse)*.4,0,1) or base
end
end
if get('ESP/Name') then showText(r.name,participant and participant.NameOf(owner) or owner.Name,x-60,y-20,w+120,color(ctx,'ESP/Name')); r.name.TextXAlignment=Enum.TextXAlignment.Center end
if get('ESP/Health Bar') and hp and maxHp and maxHp>0 then
local ratio=hp==math.huge and 1 or math.clamp(hp/maxHp,0,1)
local fillH=math.floor((h)*ratio+.5)
r.health.Visible=true; r.health.Position=UDim2.fromOffset(x-8,y-1); r.health.Size=UDim2.fromOffset(5,h+2)
r.healthFill.Size=UDim2.new(1,-2,0,fillH); r.healthFill.BackgroundColor3=Color3.fromRGB(235,70,70):Lerp(Color3.fromRGB(90,225,110),ratio)
if ratio<.995 then showText(r.hpText,math.ceil(hp),x-38,y+h-fillH-6,26); r.hpText.TextXAlignment=Enum.TextXAlignment.Right end
end
local weapon=datum(owner,b,{'CurrentWeapon'})
local ammo=tonumber(datum(owner,b,{'Ammo','CurrentAmmo','MagazineAmmo'}))
local capacity=tonumber(datum(owner,b,{'MaxAmmo','MagazineSize'}))
if owner==localPlayer and gun and gun.Weapon then
local state=gun.Weapon
ammo=tonumber(state.MagAmmo) or ammo
capacity=tonumber(state.MaxMagSize) or capacity
weapon=state.Name or weapon
end
local bottom=y+h+3
if get('ESP/Ammo') and ammo and capacity and capacity>0 then
r.ammo.Visible=true; r.ammo.Position=UDim2.fromOffset(x-1,bottom); r.ammo.Size=UDim2.fromOffset(w+2,5)
r.ammoFill.Size=UDim2.new(math.clamp(ammo/capacity,0,1),math.clamp(ammo/capacity,0,1)>0 and -2 or 0,1,-2); r.ammoFill.BackgroundColor3=color(ctx,'ESP/Ammo'); bottom+=7
end
local mode=get('ESP/Weapon')
if weapon and weapon~='' and mode~='Disabled' then
if mode=='Icon' or mode=='Text + Icon' then
if adapter then
r.icon.Image=adapter.weaponIcon(weapon) or '';r.icon.Visible=r.icon.Image~=''
r.icon.Position=UDim2.fromOffset(math.floor(x+w/2-28),bottom);r.icon.Size=UDim2.fromOffset(56,22)
if r.icon.Visible then bottom=bottom+23 end
else
if r.iconWeapon~=weapon then
r.iconWeapon=weapon; r.weaponView.CurrentCamera=nil; r.weaponView:ClearAllChildren()
-- the baked world model is the whole gun (the gunsmith model is only a stub); it stacks every
-- attachment variant, so keep one per slot and draw it as a flat white silhouette
local assets=RS:FindFirstChild('Assets')
local baked=assets and assets:FindFirstChild('WorldModelsBaked')
local source=baked and baked:FindFirstChild(weapon)
if source and source:IsA('Model') then
local clone=source:Clone()
local all=clone:FindFirstChild('AllAttachments')
if all then
for _,slot in ipairs(all:GetChildren()) do
for i,variant in ipairs(slot:GetChildren()) do if i>1 then variant:Destroy() end end
end
end
for _,d in ipairs(clone:GetDescendants()) do
if d:IsA('Sound') then d.PlayOnRemove=false; d:Destroy()
elseif d:IsA('LuaSourceContainer') or d:IsA('ParticleEmitter') or d:IsA('Light') or d:IsA('SurfaceAppearance') or d:IsA('Decal') then d:Destroy()
elseif d:IsA('BasePart') then
d.Anchored,d.Color,d.Material=true,WHITE,Enum.Material.SmoothPlastic
if d:IsA('MeshPart') then d.TextureID='' end
end
end
clone.Parent=r.weaponView
local cf,size=clone:GetBoundingBox()
local camera=make('Camera',{FieldOfView=25},r.weaponView)
local direction=silhouettes and silhouettes.View(weapon).LookVector or Vector3.new(1,0,0)
camera.CFrame=CFrame.lookAt(cf.Position-direction*math.max(size.Magnitude*1.4,1),cf.Position)
r.weaponView.CurrentCamera=camera
end
end
if r.weaponView.CurrentCamera~=nil then
r.weaponView.Visible=true
r.weaponView.Position=UDim2.fromOffset(math.floor(x+w/2-30),bottom-1)
r.weaponView.Size=UDim2.fromOffset(60,22); bottom+=21
end
end
end
if mode=='Text' or mode=='Text + Icon' then showText(r.weapon,weapon,x-60,bottom-1,w+120); r.weapon.TextXAlignment=Enum.TextXAlignment.Center end
end
local rows=0
local function flag(text,c)
rows+=1
local o=r.flags[rows]
if o then showText(o,text,x+w+5,y+(rows-1)*11-1,90,c); o.TextXAlignment=Enum.TextXAlignment.Left end
end
for _,name in ipairs(get('ESP/Flags') or {}) do
local style=flagStyle[name]
if name=='Aiming' and datum(owner,b,{'OwnAiming','Aiming'})==true then flag(style[1],style[2])
elseif name=='Credits' then local n=datum(owner,b,{'Money','MatchIC'}); if n then flag(tostring(n)..' IC',style[2]) end
elseif name=='Local Ping' then local n=tonumber(datum(owner,b,{'Ping'})); if not n and owner==localPlayer then n=localPlayer:GetNetworkPing()*2000 end; if n then flag(math.floor(n)..' '..style[1],style[2]) end
elseif name=='Distance' then
local m=units and units.StudsToMeters and units.StudsToMeters(r.dist) or r.dist*.28
flag(math.floor(m+.5)..style[1],style[2])
end
end
if dormant then flag('DORMANT',Color3.fromRGB(190,190,190)) end
if get('ESP/Skeleton') then
for _,bone in ipairs(r.bones) do
local a,c=positions[bone.keys[1]],positions[bone.keys[2]]
if a and c then
local pa,pb=projectSegment(cam,a,c)
if pa then segment(bone.line,pa,pb,color(ctx,'ESP/Skeleton')) end
end
end
end
if get('Other/Footstep Indicators') and proxyRoot then
local moving=r.lastPosition and (proxyRoot.Position-r.lastPosition).Magnitude/math.max(dt,.001)>2
r.lastPosition=proxyRoot.Position
if moving and now-r.lastStep>.4 then r.lastStep=now end
local age=now-r.lastStep
if age<.4 then
r.ring.Visible=true; r.ring.Position=UDim2.fromOffset(x+w/2,y+h); r.ring.Size=UDim2.fromOffset(20+age*100,8+age*30)
r.ringStroke.Color=color(ctx,'Other/Footstep Indicators'); r.ringStroke.Transparency=age/.4
end
end
end
local lastDiscover=0
-- The game's presenter uses RenderStepped connections, so subscribe after it
-- instead of running in an earlier BindToRenderStep pass with the previous pose.
local function renderFrame(dt)
if stopped then return end
local cam=workspace.CurrentCamera
if not cam then overlay.Enabled=false; for _,r in pairs(records) do chamsOff(r) end; return end
overlay.Enabled=true
local now=os.clock()
local started=now
if now-lastDiscover>.25 then
lastDiscover=now
local all=participant and participant.All() or Players:GetPlayers()
local seen={}
for _,owner in ipairs(all) do
seen[owner]=true
if not records[owner] then
local ok,err=pcall(newRecord,owner)
if not ok then stats.errors+=1; stats.lastError=tostring(err) end
end
end
for owner,r in pairs(records) do if not seen[owner] then destroy(r); records[owner]=nil end end
stats.targets=#all
end
stats.rendered=0
stats.chamsTargets=0
stats.details={}
for _,r in pairs(records) do
local ok,err=pcall(render,r,cam,dt,now)
if not ok then
r.ui.Visible=false; chamsOff(r)
stats.errors+=1
if stats.lastError~=tostring(err) then stats.lastError=tostring(err); warn('[Neverlose for RIVALS ESP] '..tostring(err)) end
end
if ok and (r.clone or next(r.surfaces)) then stats.chamsTargets+=1 end
end
-- A target that stands in front of a farther target's hidden layer is drawn once more, as it
-- looks in the world, just above that layer and only where they overlap, so a visible player
-- in front of a wall is never painted over by someone behind it.
for _,y in pairs(records) do
local box,want=y.screenBox,nil
if box and y.model then
local padX,padY=box[3]*.6,box[4]*.08
local bx0,by0,bx1,by1=box[1]-padX,box[2]-padY,box[1]+box[3]+padX,box[2]+box[4]+padY
for _,x in pairs(records) do
local h=x.hiddenRect
if x~=y and h and x.dist>y.dist+.5 then
local ix0,iy0,ix1,iy1=math.max(bx0,h[1]),math.max(by0,h[2]),math.min(bx1,h[3]),math.min(by1,h[4])
if ix1>ix0 and iy1>iy0 then
want=want and {math.min(want[1],ix0),math.min(want[2],iy0),math.max(want[3],ix1),math.max(want[4],iy1)} or {ix0,iy0,ix1,iy1}
end
end
end
end
if want then
-- the copy is taken from the rig as it looks right now, chams and all, and retaken on change
local sig=(y.litSig or 'plain')..'|'..tostring(y.model)
if y.frontClone and (y.frontSig~=sig or y.cloneDirty) then y.frontClone.model:Destroy(); y.frontClone=nil end
if not y.frontClone then
y.front=y.front or newLayer()
y.frontClone=cloneRig(y,y.front,false)
y.frontSig=sig
end
if y.frontClone then
showLayer(y.front,cam,math.floor(want[1]),math.floor(want[2]),math.ceil(want[3]),math.ceil(want[4]),8000-2*math.min(math.floor(y.dist),4000))
poseClone(y.frontClone)
end
y.frontUsed=now
elseif y.front then
y.front.clip.Visible=false
if y.frontClone and now-(y.frontUsed or 0)>2 then y.frontClone.model:Destroy(); y.frontClone=nil end
end
end
-- smoothed cost of one ESP frame, for status()
stats.frameMs=(stats.frameMs or 0)*.9+(os.clock()-started)*100
end
-- Sample after all ordinary RenderStepped callbacks, including the presenter.
-- A single pending update avoids accumulating work if a frame is delayed.
local pending=false
local renderConnection=connect(RunService.RenderStepped,function(dt)
if pending or stopped then return end
pending=true
task.defer(function()
pending=false
if not stopped then renderFrame(dt) end
end)
end)
local function cleanup()
stopped=true; renderConnection:Disconnect()
for _,r in pairs(records) do destroy(r) end
table.clear(records); overlay:Destroy()
end
table.insert(cleanups,cleanup)
return {status=function() return table.clone(stats) end}
end
end)()
local installWorldVisuals = (function()
-- World page visuals for the game's own client controllers.
-- Embedded in neverlose_ui.lua next to the live ESP; getValue reads "World/..." settings.
return function(getValue, connect, cleanups, adapter)
local RS=game:GetService('ReplicatedStorage')
local Players=game:GetService('Players')
local RunService=game:GetService('RunService')
local Lighting=game:GetService('Lighting')
local SoundService=game:GetService('SoundService')
local localPlayer=Players.LocalPlayer
local modules=RS:FindFirstChild('Modules')
local function module(path)
if adapter then return adapter.resolve(path) end
local node=modules
for name in path:gmatch('[^/]+') do node=node and node:FindFirstChild(name) end
if not node then return nil end
local ok,result=pcall(require,node)
return ok and result or nil
end
local bullets=module('Client/Controllers/BulletController')
local combat=module('Client/CombatSignals')
local fps=module('Client/Controllers/FPSController')
local gun=module('Client/Controllers/GunController')
local throwable=module('Client/Controllers/ThrowableController')
local exposure=module('Client/Controllers/ExposureController')
local pov=module('Client/CameraPOV')
local presenter=module('Client/Character/OperatorPresenter')
local merc=module('Client/Controllers/MercPlayerController')
local povBody=module('Client/Controllers/MercPOVController')
local WHITE,BLACK=Color3.new(1,1,1),Color3.new(0,0,0)
local function setting(path) return getValue('World/'..path) end
local function on(path) return setting(path)==true end
local function color(path)
local s=tostring(setting(path..'/Color') or 'FFFFFF'):gsub('#','')
return Color3.fromRGB(tonumber(s:sub(1,2),16) or 255,tonumber(s:sub(3,4),16) or 255,tonumber(s:sub(5,6),16) or 255)
end
local function removed(name) return table.find(setting('Removals/Removals') or {},name)~=nil end
local function make(class,props,parent)
local o=Instance.new(class)
for k,v in pairs(props) do o[k]=v end
o.Parent=parent
return o
end
-- Replace a function on one of the game's controller tables; put the original back on unload.
local function hook(target,name,wrap)
if type(target)~='table' or type(target[name])~='function' then return false end
local had,original=rawget(target,name),target[name]
local replacement=wrap(original);target[name]=replacement
table.insert(cleanups,function() if target[name]==replacement then target[name]=had end end)
return true
end
local thirdPerson=false
local overlay=make('ScreenGui',{Name='NeverloseWorld',IgnoreGuiInset=true,ResetOnSpawn=false,DisplayOrder=998,ZIndexBehavior=Enum.ZIndexBehavior.Sibling},localPlayer:WaitForChild('PlayerGui'))
local world=make('Folder',{Name='NeverloseWorldFX'},workspace)
table.insert(cleanups,function() overlay:Destroy(); world:Destroy() end)
---------------------------------------------------------------------------------------
-- Removals (Post Processing and shadows are handled by the menu itself)
---------------------------------------------------------------------------------------
-- Effects the game re-enables every frame are held off the moment it does.
local held={}
local function holdOff(inst,prop,want,active)
if held[inst] then return end
held[inst]=true
local function enforce() if active() and inst[prop]~=want then inst[prop]=want end end
local c=inst:GetPropertyChangedSignal(prop):Connect(enforce)
table.insert(cleanups,function() c:Disconnect() end)
enforce()
end
local function flashOff() return removed('Flash') end
local function smokeOff() return removed('Smoke') end
-- Flash: the game brightens exposure and blurs; drop its exposure share and the blur.
hook(exposure,'SetContribution',function(original)
return function(self,key,value,...)
if key=='Flashbang' and flashOff() then value=nil end
return original(self,key,value,...)
end
end)
local function watchLighting(child)
if child.Name=='FlashbangBlur' then holdOff(child,'Enabled',false,flashOff)
elseif child.Name=='TeargasBlur' or child.Name=='TeargasColorCorrection' then holdOff(child,'Enabled',false,smokeOff) end
end
for _,child in ipairs(Lighting:GetChildren()) do watchLighting(child) end
connect(Lighting.ChildAdded,watchLighting)
-- Smoke: the tear gas cloud and the drifting smoke emitters around it.
local smokeHidden={}
local function isSmoke(inst)
if not inst:IsA('ParticleEmitter') then return false end
local name=inst.Name:lower()
if name:find('smoke') or name:find('gas') or name:find('cloud') then return true end
local model=inst:FindFirstAncestorWhichIsA('Model')
return model~=nil and (model.Name:find('Teargas')~=nil or model.Name:find('Smoke')~=nil)
end
local function hideSmoke(inst)
if smokeHidden[inst]~=nil or not isSmoke(inst) then return end
smokeHidden[inst]=inst.Enabled
inst.Enabled=false
inst:Clear()
end
local smokeActive=false
connect(workspace.DescendantAdded,function(inst)
if smokeActive and inst:IsA('ParticleEmitter') then task.defer(hideSmoke,inst) end
end)
local function setSmoke(active)
if active==smokeActive then return end
smokeActive=active
if active then
for _,inst in ipairs(workspace:GetDescendants()) do if inst:IsA('ParticleEmitter') then hideSmoke(inst) end end
else
for inst,enabled in pairs(smokeHidden) do if inst.Parent then inst.Enabled=enabled end end
table.clear(smokeHidden)
end
end
table.insert(cleanups,function() setSmoke(false) end)
-- Scope overlay: the black surround, cover, lens relief and blackout; the reticle stays.
local SCOPE_PARTS={EdgeLeft=true,EdgeRight=true,EdgeTop=true,EdgeBottom=true,Cover=true,Relief=true,Blackout=true}
local scopeHidden={}
local function stepScope(active)
if active then
local gui=adapter and adapter.scope() or localPlayer.PlayerGui:FindFirstChild('ScopeOverlay')
if gui then
for _,d in ipairs(gui:GetDescendants()) do
if (SCOPE_PARTS[d.Name] or adapter and (d.Name=='Circle' or d.Name=='Blur')) and d:IsA('GuiObject') then
if scopeHidden[d]==nil then scopeHidden[d]=d.Visible end
if d.Visible then d.Visible=false end
end
end
end
elseif next(scopeHidden) then
for d,visible in pairs(scopeHidden) do if d.Parent then d.Visible=visible end end
table.clear(scopeHidden)
end
end
table.insert(cleanups,function() stepScope(false) end)
-- Visual recoil: the camera's shake spring stops taking impulses and the FOV kick is held at
-- rest, just before the camera renders. The aim recoil spring is left alone.
local quiet={}
local function stepRecoil(active)
local cam=fps and fps.camera
local shake=type(cam)=='table' and rawget(cam,'_recoilShakeSpring')
if active and type(shake)=='table' then
if quiet[shake]==nil then quiet[shake]=rawget(shake,'accelerate') or false; rawset(shake,'accelerate',function() end) end
shake.p=Vector3.zero; shake.v=Vector3.zero
local kick=rawget(cam,'_fovRecoilSpring')
if kick then pcall(function() kick:setPos(0); kick:setVel(0) end) end
elseif not active and next(quiet) then
for spring,original in pairs(quiet) do rawset(spring,'accelerate',original or nil) end
table.clear(quiet)
end
end
RunService:BindToRenderStep('NeverloseRecoil',Enum.RenderPriority.Camera.Value-1,function()
stepRecoil(removed('Visual Recoil'))
end)
table.insert(cleanups,function() RunService:UnbindFromRenderStep('NeverloseRecoil'); stepRecoil(false) end)
---------------------------------------------------------------------------------------
-- Effects
---------------------------------------------------------------------------------------
local fading={}
local function fadeOut(duration,update,finish)
table.insert(fading,{start=os.clock(),duration=duration,update=update,finish=finish})
end
connect(RunService.Heartbeat,function()
local now=os.clock()
for i=#fading,1,-1 do
local f=fading[i]
local k=(now-f.start)/f.duration
if k>=1 then table.remove(fading,i); f.finish()
else f.update(k) end
end
end)
table.insert(cleanups,function() for _,f in ipairs(fading) do pcall(f.finish) end; table.clear(fading) end)
local function excludeParams(extra)
local params=RaycastParams.new()
params.FilterType=Enum.RaycastFilterType.Exclude
local list={world,workspace.CurrentCamera}
if localPlayer.Character then table.insert(list,localPlayer.Character) end
for _,e in ipairs(extra or {}) do table.insert(list,e) end
params.FilterDescendantsInstances=list
params.IgnoreWater=true
return params
end
-- Bullet tracers: a glowing beam from the muzzle to where the shot landed.
local tracers=0
local function tracer(from,to,c)
if tracers>=48 then return end
tracers+=1
local a0=make('Attachment',{WorldPosition=from},workspace.Terrain)
local a1=make('Attachment',{WorldPosition=to},workspace.Terrain)
local beam=make('Beam',{Attachment0=a0,Attachment1=a1,Color=ColorSequence.new(c),Width0=.07,Width1=.07,FaceCamera=true,LightEmission=1,LightInfluence=0,Segments=1,
Transparency=NumberSequence.new(0)},a0)
local glow=make('Beam',{Attachment0=a0,Attachment1=a1,Color=ColorSequence.new(c),Width0=.18,Width1=.18,FaceCamera=true,LightEmission=.6,LightInfluence=0,Segments=1,
Transparency=NumberSequence.new(.88)},a0)
fadeOut(1.6,function(k)
local t=k*k
beam.Transparency=NumberSequence.new(t)
glow.Transparency=NumberSequence.new(.88+.12*t)
end,function() a0:Destroy(); a1:Destroy(); tracers-=1 end)
end
local function muzzle(fallback)
if gun and type(gun.GetMuzzleWorldPosition)=='function' then
local ok,p=pcall(gun.GetMuzzleWorldPosition,gun)
if ok and typeof(p)=='Vector3' then return p end
end
return fallback
end
if bullets and bullets.ShotEmitted then
connect(bullets.ShotEmitted,function(_,origin,direction)
if not on('Effects/Bullet Tracers') or typeof(origin)~='Vector3' or typeof(direction)~='Vector3' then return end
local dir=direction.Magnitude>0 and direction.Unit or Vector3.new(0,0,-1)
local hit=workspace:Raycast(origin,dir*2000,excludeParams())
local to=hit and hit.Position or origin+dir*2000
-- shots leave from the eye; in first person the line starts at the gun so it can be seen
tracer(thirdPerson and origin or muzzle(origin),to,color('Effects/Bullet Tracers'))
end)
end
-- Bullet impacts: a small box where each round hit a surface.
local impacts=0
local function impact(position,c)
if impacts>=96 then return end
impacts+=1
local anchor=make('Part',{Anchored=true,CanCollide=false,CanQuery=false,CanTouch=false,Transparency=1,Size=Vector3.new(.05,.05,.05),CFrame=CFrame.new(position)},world)
local box=make('BoxHandleAdornment',{Adornee=anchor,Size=Vector3.new(.22,.22,.22),Color3=c,Transparency=.25,AlwaysOnTop=false,ZIndex=1},anchor)
local edge=make('SelectionBox',{Adornee=anchor,Color3=c,LineThickness=.012,SurfaceTransparency=1,Transparency=0},anchor)
anchor.Size=Vector3.new(.22,.22,.22)
fadeOut(4,function(k)
local t=math.max(0,(k-.6)/.4)
box.Transparency=.25+.75*t; edge.Transparency=t
end,function() anchor:Destroy(); impacts-=1 end)
end
if combat and combat.LocalHit then
connect(combat.LocalHit,function(_,position)
if on('Effects/Bullet Impacts') and typeof(position)=='Vector3' then impact(position,color('Effects/Bullet Impacts')) end
end)
end
-- Hit marker: four short white strokes around the crosshair, red on a headshot.
local marker=make('Frame',{Name='HitMarker',AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.5,.5),Size=UDim2.fromOffset(40,40),BackgroundTransparency=1,Visible=false},overlay)
local strokes={}
for i=0,3 do
local angle=math.rad(45+i*90)
local dir=Vector2.new(math.cos(angle),math.sin(angle))
local s=make('Frame',{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromOffset(20+dir.X*10,20+dir.Y*10),Size=UDim2.fromOffset(9,2),Rotation=math.deg(angle),BackgroundColor3=WHITE,BorderSizePixel=0},marker)
make('UIStroke',{Color=BLACK,Thickness=1,Transparency=.3},s)
strokes[i+1]=s
end
local markerToken=0
-- Hit sound: tiny generated tones (8-bit PCM WAV) loaded as custom assets.
local function wav(seconds,sample)
local rate=22050
local n=math.floor(seconds*rate)
local bytes=table.create(n)
for i=1,n do
local v=sample((i-1)/rate)
bytes[i]=string.char(math.clamp(math.floor(v*110+128),0,255))
end
local pcm=table.concat(bytes)
return 'RIFF'..string.pack('<I4',36+n)..'WAVEfmt '..string.pack('<I4I2I2I4I4I2I2',16,1,1,rate,rate,1,8)..'data'..string.pack('<I4',n)..pcm
end
local TONES={
Click=function(t) return (math.random()*2-1)*math.exp(-t*900)*.6+math.sin(t*2*math.pi*2600)*math.exp(-t*160)*.5 end,
Bell=function(t) local e=math.exp(-t*7) return (math.sin(t*2*math.pi*1568)+.45*math.sin(t*2*math.pi*2352)+.25*math.sin(t*2*math.pi*3136))*e*.55 end,
Bubble=function(t) return math.sin(2*math.pi*(380*t+2600*t*t))*math.exp(-t*22)*(t<.004 and t/.004 or 1)*.9 end,
}
local LENGTH={Click=.06,Bell=.55,Bubble=.18}
local soundIds={}
local function soundId(name)
if soundIds[name]~=nil then return soundIds[name] or nil end
soundIds[name]=false
local ok,id=pcall(function()
if not isfolder('neverlose_ui/sounds') then makefolder('neverlose_ui/sounds') end
local path='neverlose_ui/sounds/'..name:lower()..'.wav'
if not isfile(path) then writefile(path,wav(LENGTH[name],TONES[name])) end
return getcustomasset(path)
end)
if ok and id then soundIds[name]=id end
return soundIds[name] or nil
end
local function hitSound()
local choice=setting('Effects/Hit Sound')
if not TONES[choice] then return end
local id=soundId(choice)
if not id then
-- no custom assets: fall back to the game's own hitmarker sound
local sounds=RS:FindFirstChild('Assets') and RS.Assets:FindFirstChild('Sounds')
local own=sounds and sounds:FindFirstChild('Hitmarker')
id=own and own.SoundId
end
if not id then return end
local s=make('Sound',{SoundId=id,Volume=1.6},SoundService)
s:Play()
s.Ended:Once(function() s:Destroy() end)
task.delay(3,function() if s.Parent then s:Destroy() end end)
end
if bullets and bullets.HitConfirmed then
connect(bullets.HitConfirmed,function(_,_,headshot)
if on('Effects/Hit Marker') then
markerToken+=1
local token=markerToken
local c=headshot and Color3.fromRGB(255,70,70) or WHITE
for _,s in ipairs(strokes) do s.BackgroundColor3=c; s.BackgroundTransparency=0 end
marker.Visible=true
fadeOut(.45,function(k)
if token~=markerToken then return end
for _,s in ipairs(strokes) do s.BackgroundTransparency=math.max(0,(k-.35)/.65) end
end,function() if token==markerToken then marker.Visible=false end end)
end
hitSound()
end)
end
-- Grenade prediction: the throw the game would make right now, simulated with the same launch
-- numbers (camera spawn point, ThrowSpeed, UpSpeed, the player's run speed, the 240 cap) and
-- workspace gravity, bouncing off surfaces until the fuse runs out.
local arc={}
for i=1,90 do arc[i]=make('Frame',{AnchorPoint=Vector2.new(.5,.5),BorderSizePixel=0,BackgroundColor3=WHITE,Visible=false},overlay) end
local landing=make('Frame',{AnchorPoint=Vector2.new(.5,.5),BackgroundTransparency=1,Visible=false},overlay)
make('UICorner',{CornerRadius=UDim.new(1,0)},landing)
local landingStroke=make('UIStroke',{Color=WHITE,Thickness=2},landing)
local function hideArc() for _,l in ipairs(arc) do l.Visible=false end; landing.Visible=false end
local function predict()
local projectile=throwable and throwable.Active and not throwable._throwing and type(throwable._entry)=='table' and throwable._entry.Projectile
local cam=workspace.CurrentCamera
if type(projectile)~='table' or not cam then return nil end
local cf=cam.CFrame
local pos=(cf*CFrame.new(0,-.6,-(projectile.SpawnDistance or 2))).Position
local vel=cf.LookVector*(projectile.ThrowSpeed or 55)+Vector3.yAxis*(projectile.UpSpeed or 18)
local root=localPlayer.Character and localPlayer.Character:FindFirstChild('HumanoidRootPart')
if root then local v=root.AssemblyLinearVelocity; vel+=Vector3.new(v.X,0,v.Z) end
if vel.Magnitude>240 then vel=vel.Unit*240 end
local g=workspace.Gravity
local params=excludeParams()
local points={pos}
local t,step,fuse=0,1/60,math.min(projectile.FuseTime or 2.5,4)
local bounces=0
while t<fuse and #points<400 do
local nextVel=vel-Vector3.new(0,g*step,0)
local delta=(vel+nextVel)/2*step
local hit=workspace:Raycast(pos,delta,params)
if hit then
pos=hit.Position+hit.Normal*.15
vel=(nextVel-2*nextVel:Dot(hit.Normal)*hit.Normal)*.4
bounces+=1
table.insert(points,pos)
if vel.Magnitude<4 or bounces>5 then break end
else
pos+=delta
vel=nextVel
table.insert(points,pos)
end
t+=step
end
return points
end
local function drawArc(points,cam)
local c=color('Effects/Grenade Prediction')
-- keep about 90 segments however long the throw is
local stride=math.max(1,math.ceil((#points-1)/#arc))
local n=0
for i=1,#points-1,stride do
local a,b=points[i],points[math.min(i+stride,#points)]
local pa,va=cam:WorldToViewportPoint(a)
local pb,vb=cam:WorldToViewportPoint(b)
n+=1
local l=arc[n]
if l and pa.Z>.1 and pb.Z>.1 then
local d=Vector2.new(pb.X-pa.X,pb.Y-pa.Y)
l.Position=UDim2.fromOffset((pa.X+pb.X)/2,(pa.Y+pb.Y)/2)
l.Size=UDim2.fromOffset(d.Magnitude,2)
l.Rotation=math.deg(math.atan2(d.Y,d.X))
l.BackgroundColor3=c
l.BackgroundTransparency=(n%2==0) and .35 or 0
l.Visible=true
elseif l then l.Visible=false end
end
for i=n+1,#arc do arc[i].Visible=false end
local last=cam:WorldToViewportPoint(points[#points])
landing.Visible=last.Z>.1
if landing.Visible then
local r=math.clamp(260/last.Z,6,40)
landing.Position=UDim2.fromOffset(last.X,last.Y); landing.Size=UDim2.fromOffset(r*2,r)
landingStroke.Color=c
end
end
---------------------------------------------------------------------------------------
-- View
---------------------------------------------------------------------------------------
local state=adapter and adapter.worldStatus or {requested=false,active=false,phase='first person',distance=0,errors=0}
local visibility=function()end
if not (adapter and adapter.native) then
-- Viewmodel FOV: move the weapon along the view axis (further for a wider FOV); faded out
-- while aiming so the sights stay where the game puts them. In third person it is put out of
-- sight below the camera.
hook(gun,'GetViewmodelOffset',function(original)
return function(self,...)
local offset,b,c=original(self,...)
if typeof(offset)~='CFrame' then return offset,b,c end
local fov=tonumber(setting('View/Viewmodel FOV')) or 68
local push=(fov-68)*-.012*(1-math.clamp(self.AimAmount or 0,0,1))
if push~=0 then offset=offset+Vector3.new(0,0,push) end
return offset,b,c
end
end)
-- Keep the native eye and muzzle transforms intact. Only the displayed camera moves.
local presenting=false
local hidden={};local shown={};local resolved=nil;local boom=0;local lastResolve=os.clock()
local function restore(values)
for part,value in pairs(values) do if part.Parent then part.LocalTransparencyModifier=value end;values[part]=nil end
end
local function present(want)
if presenting==want or not presenter then return end
presenting=want;presenter.SetViewPresentSelf(want)
end
visibility=function(active)
local sources={}
if active then
local visual=povBody and povBody._state and povBody._state.visual
if visual then sources[visual]=true end
if gun and gun.Weapon and gun.Weapon.Model then sources[gun.Weapon.Model]=true end
end
for part,value in pairs(hidden) do
local keep=false
for model in pairs(sources) do if part:IsDescendantOf(model) then keep=true;break end end
if not keep then if part.Parent then part.LocalTransparencyModifier=value end;hidden[part]=nil end
end
for model in pairs(sources) do for _,part in ipairs(model:GetDescendants()) do
if part:IsA('BasePart') or part:IsA('Decal') then
if hidden[part]==nil then hidden[part]=part.LocalTransparencyModifier end
part.LocalTransparencyModifier=1
end
end end
local rig=active and merc and merc.GetVisual(localPlayer)
for part,value in pairs(shown) do
if not rig or not part:IsDescendantOf(rig) then if part.Parent then part.LocalTransparencyModifier=value end;shown[part]=nil end
end
if rig then for _,part in ipairs(rig:GetDescendants()) do if part:IsA('BasePart') or part:IsA('Decal') then
if shown[part]==nil then shown[part]=part.LocalTransparencyModifier end
part.LocalTransparencyModifier=0
end end end
end
local function wanted()
local char=localPlayer.Character;local hum=char and char:FindFirstChildOfClass('Humanoid')
local vehicle=localPlayer:GetAttribute('VehicleId')
return on('View/Thirdperson') and hum and hum.Health>0 and localPlayer:GetAttribute('Deployed')~=false
and not localPlayer:GetAttribute('Spectating') and not (type(vehicle)=='string' and vehicle~='')
end
local function cameraParams()
local extra={}
local rig=merc and merc.GetVisual(localPlayer)
if rig then table.insert(extra,rig) end
if gun and gun.Weapon and gun.Weapon.Model then table.insert(extra,gun.Weapon.Model) end
local visual=povBody and povBody._state and povBody._state.visual
if visual then table.insert(extra,visual) end
local params=excludeParams(extra);params.RespectCanCollide=true
return params
end
hook(pov,'Resolve',function(original)
return function(eye,...)
local cf=original(eye,...)
local want=wanted()==true;state.requested=want;present(want)
local rig=want and merc and merc.GetVisual(localPlayer)
local scope=gun and gun._ScopeAmount and gun:_ScopeAmount() or 0
thirdPerson=want and rig~=nil and scope<.15 and typeof(eye)=='CFrame'
state.phase=not want and 'first person' or not rig and 'waiting for body' or scope>=.15 and 'scoped' or 'third person'
local now=os.clock();local dt=math.clamp(now-lastResolve,0,.1);lastResolve=now
if not thirdPerson then boom=0;resolved=nil;state.active=false;visibility(false);return cf end
local offset=Vector3.new(1.1,.45,(tonumber(setting('View/Distance')) or 120)/20)
local delta=eye:VectorToWorldSpace(offset)
local params=cameraParams()
local ok,hit=pcall(workspace.Spherecast,workspace,eye.Position,.35,delta,params)
if not ok then hit=workspace:Raycast(eye.Position,delta,params) end
local allowed=hit and math.max(0,hit.Distance-.12) or delta.Magnitude
if allowed<boom then boom=allowed else boom=boom+(allowed-boom)*(1-math.exp(-16*dt)) end
state.distance=boom;state.collision=hit~=nil
if boom<1 then thirdPerson=false;resolved=nil;state.active=false;visibility(false);return cf end
resolved=eye.Rotation+(eye.Position+delta.Unit*boom)
state.active=true;visibility(true)
return resolved
end
end)
-- Aim at the shoulder camera's crosshair, but launch from the original eye.
-- Ragebot wraps this later and supplies its target direction when tracking.
hook(gun,'GetFireDirectionUnspread',function(original)
return function(self,...)
if thirdPerson and resolved and pov then
local eye=pov.GetEyePosition()
local hit=workspace:Raycast(resolved.Position,resolved.LookVector*2000,cameraParams())
local point=hit and hit.Position or resolved.Position+resolved.LookVector*2000
local delta=point-eye
if delta.Magnitude>.001 then return delta.Unit end
end
return original(self,...)
end
end)
table.insert(cleanups,function()thirdPerson=false;present(false);restore(hidden);restore(shown)end)
end
RunService:BindToRenderStep('NeverloseWorldVisuals',Enum.RenderPriority.Last.Value,function()
setSmoke(removed('Smoke'))
stepScope(removed('Scope Overlay'))
if adapter then thirdPerson=adapter.thirdPerson end
local ok,err=pcall(visibility,thirdPerson)
if not ok then state.errors=state.errors+1;state.lastError=tostring(err) end
local cam=workspace.CurrentCamera
local points=on('Effects/Grenade Prediction') and cam and predict()
if points and #points>1 then drawArc(points,cam) else hideArc() end
end)
table.insert(cleanups,function() RunService:UnbindFromRenderStep('NeverloseWorldVisuals') end)
return {
status=function()return table.clone(state)end,
testHit=function(headshot) if bullets and bullets.HitConfirmed then bullets.HitConfirmed:Fire(nil,25,headshot==true,Vector3.zero) end end,
testTracer=function(from,to) tracer(from,to,color('Effects/Bullet Tracers')) end,
testImpact=function(position) impact(position,color('Effects/Bullet Impacts')) end,
}
end
end)()
local installRagebot = (function()
-- Ragebot for the custom Participant / OperatorPresenter weapon pipeline.
local RageMath=(function()
local M={}
function M.profile(name,cfg)
local n=tostring(name):lower(); local kind=tostring(cfg.Category or cfg.WeaponType or ''):lower()
if n=='sniper' or n:find('awp') or n:find('awm') then return 'AWP' end
if n:find('scout') or n:find('ssg') then return 'Scout' end
if kind:find('sniper') or n:find('scar20') or n:find('g3sg') then return 'Auto Snipers' end
if n:find('deagle') or n:find('eagle') or n:find('revolver') or tostring(cfg.AmmoType):find('50') then return 'Heavy Pistols' end
if kind:find('pistol') or n=='m18' or n:find('glock') or n:find('m1911') or n:find('p226') then return 'Pistols' end
if kind:find('smg') or n:find('ump') or n:find('mp5') or n:find('mp7') or n:find('mp9') or n:find('p90') or n:find('vector') or n:find('uzi') then return 'SMG' end
return 'Rifles'
end
function M.setting(store,path,profile)
local value=store.values[path..'@'..profile]
if value==nil then value=store.values[path..'@Global'] end
if value==nil then value=store.defaults[path] end
return value
end
function M.chance(radius,distance,spreadDegrees)
if distance<=.001 or spreadDegrees<=.00001 then return 100 end
local spread=math.tan(math.rad(math.min(spreadDegrees,89)))*distance
return math.clamp((radius/math.max(spread,.00001))^2*100,0,100)
end
-- Ray/OBB test in the hitbox's local coordinates.
function M.rayBox(origin,direction,half,maxDistance)
local enter,leave=0,maxDistance or math.huge
for _,axis in ipairs({'X','Y','Z'}) do
local o,d,h=origin[axis],direction[axis],half[axis]
if math.abs(d)<1e-8 then if o < -h or o > h then return false end
else
local a,b=(-h-o)/d,(h-o)/d
if a>b then a,b=b,a end
enter=math.max(enter,a);leave=math.min(leave,b)
if enter>leave then return false end
end
end
return leave>=0 and enter<=leave
end
function M.cone(base,degrees,u,v)
local z=math.cos(math.rad(degrees));z=z+(1-z)*u
local r=math.sqrt(math.max(0,1-z*z));local phi=v*2*math.pi
local forward=base.Unit
local right=forward:Cross(math.abs(forward.Y)>.99 and Vector3.xAxis or Vector3.yAxis).Unit
local up=right:Cross(forward).Unit
return (right*(r*math.cos(phi))+up*(r*math.sin(phi))+forward*z).Unit
end
function M.compensate(desired,degrees,u,v)
local base=desired.Unit
for _=1,24 do
local actual=M.cone(base,degrees,u,v)
if (actual-desired).Magnitude<2e-6 then return base end
local axis=actual:Cross(desired)
if axis.Magnitude<1e-10 then break end
base=CFrame.fromAxisAngle(axis.Unit,math.atan2(axis.Magnitude,actual:Dot(desired))):VectorToWorldSpace(base).Unit
end
return nil
end
function M.better(a,b,priority,bodyAim)
if not b then return true end
if bodyAim=='Prefer' and a.body~=b.body then return a.body end
if priority=='Lowest Health' and a.health~=b.health then return a.health<b.health end
if priority=='Lowest Distance' and a.distance~=b.distance then return a.distance<b.distance end
if priority=='Hit Chance' and a.chance~=b.chance then return a.chance>b.chance end
if a.damage~=b.damage then return a.damage>b.damage end
if a.chance~=b.chance then return a.chance>b.chance end
if a.angle~=b.angle then return a.angle<b.angle end
return a.distance<b.distance
end
return M
end)()
return function(Store,connect,cleanups,isMenuOpen,notify,adapter)
local RS=game:GetService('ReplicatedStorage')
local Players=game:GetService('Players')
local RunService=game:GetService('RunService')
local UIS=game:GetService('UserInputService')
local localPlayer=Players.LocalPlayer
local function module(path)
if adapter then return adapter.resolve(path) end
local node=RS
for name in path:gmatch('[^/]+') do node=node and node:FindFirstChild(name) end
if not node then return nil end
local ok,value=pcall(require,node)
return ok and value or nil
end
local gun=module('Modules/Client/Controllers/GunController')
local bullets=module('Modules/Client/Controllers/BulletController')
local pov=module('Modules/Client/CameraPOV')
local cameraController=module('Modules/Client/Controllers/CameraController')
local spreadUtil=module('Modules/Shared/SpreadUtil')
local movement=module('Modules/Client/QuakeMove')
local participants=module('Modules/Shared/Participant')
local merc=module('Modules/Client/Controllers/MercPlayerController')
local hostility=module('Modules/Shared/Combat/Hostility')
local damageModel=module('Modules/Shared/BodyDamage')
local penetration=module('Modules/Shared/Penetration')
local cartridge=module('Modules/Shared/Weapons/WeaponCartridge')
local weapons=module('Registries/Weapons') or {}
local bulletDefs=module('Registries/BulletDefs') or {}
local state={phase='idle',profile='Global',scans=0,shots=0,errors=0,unsupported={}}
local target,stopped,scanning=nil,false,false
local records={}; local lastDiscovery=0; local lastScan=-math.huge
local ownScope=false; local stopMovement=false
local function get(path,profile)
return RageMath.setting(Store,'Ragebot/'..path,profile or state.profile)
end
local function hook(object,name,wrap)
if type(object)~='table' or type(object[name])~='function' then return false end
local original=object[name]
local replacement=wrap(original)
object[name]=replacement
table.insert(cleanups,function() if object[name]==replacement then object[name]=original end end)
return true
end
local function body(owner)
return participants and participants.BodyOf(owner) or (owner:IsA('Player') and owner.Character or nil)
end
local function health(owner,model)
if adapter then return adapter.health(owner) end
if owner:GetAttribute('Dead')==true or model:GetAttribute('Dead')==true or model:GetAttribute('Ragdolled')==true then return 0 end
local value=tonumber(owner:GetAttribute('BotHealth'))
local b=body(owner)
local humanoid=b and b:FindFirstChildOfClass('Humanoid') or model:FindFirstChildOfClass('Humanoid')
return value or (humanoid and humanoid.Health) or 0
end
local function hostile(owner)
return owner~=localPlayer and hostility and hostility.IsHostile(localPlayer,owner)
end
local function deflecting(owner)
return get('Accuracy/Anti-Katana')==true and adapter and adapter.isDeflecting and adapter.isDeflecting(owner)==true
end
local function protectionReason(owner)
if deflecting(owner)then return 'katana deflecting'end
if get('Accuracy/Anti-Shield')==true and adapter and adapter.isShielding and adapter.isShielding(owner)==true then return 'shield protected'end
end
local function enabled(profile)
return get('Main/Enabled','Global')==true and get('Main/Enabled',profile)==true
end
local function blocked()
if stopped or not enabled() then return 'disabled' end
if isMenuOpen() or UIS:GetFocusedTextBox() then return 'menu open' end
if not gun or not bullets or not pov or not participants or not merc or not hostility or not damageModel then return 'missing game adapter' end
if adapter then local why=adapter.blocked();if why then return why end end
if not gun.Weapon or not gun.Enabled then return 'no active weapon' end
local character=(adapter and adapter.character() or localPlayer.Character)
local hum=character and character:FindFirstChildOfClass('Humanoid')
if not hum or hum.Health<=0 or localPlayer:GetAttribute('Deployed')==false then return 'not deployed' end
if gun:ShouldBlockWeaponInput() then return 'game input blocked' end
if gun._launcher or gun._isGenericItem or gun.ItemDisabled then return 'unsupported weapon' end
if gun.Weapon.IsReloading or gun.SwapPhase~='idle' then return 'weapon busy' end
return nil
end
-- Peek at a clone only; the original spread function advances the live RNG normally.
local spreadRng=nil
if spreadUtil and debug.getupvalues then
local ok,values=pcall(debug.getupvalues,spreadUtil.RandomConeDirection)
if ok then for _,value in pairs(values) do
if typeof(value)=='Random' and pcall(function()return value:Clone()end) then spreadRng=value;break end
end end
end
state.seedSupported=spreadRng~=nil;state.seedCorrections=0;state.seedFailures=0
local spreadDepth=0
local function seedActive()
return spreadRng~=nil and enabled() and get('Accuracy/Seed Prediction')==true and not blocked()
end
local function seedBase(direction,angle)
local copy=spreadRng:Clone()
return RageMath.compensate(direction,angle,copy:NextNumber(),copy:NextNumber())
end
local function scoped(original,...)
spreadDepth=spreadDepth+1
local result=table.pack(pcall(original,...))
spreadDepth=spreadDepth-1
if not result[1] then error(result[2],0) end
return table.unpack(result,2,result.n)
end
hook(spreadUtil,'RandomConeDirection',function(original)
return function(direction,angle,...)
if spreadDepth>0 and angle>0 and seedActive() then
local base=seedBase(direction.Unit,angle)
if base then
local result=original(base,angle,...)
state.seedCorrections=state.seedCorrections+1
state.seedError=(result-direction.Unit).Magnitude
return result
end
state.seedFailures=state.seedFailures+1
end
return original(direction,angle,...)
end
end)
hook(gun,'GetFireDirection',function(original)
return function(self,...)if self==gun then return scoped(original,self,...) end;return original(self,...)end
end)
hook(bullets,'Discharge',function(original)
return function(self,name,...)
if gun and gun.Weapon and name==gun.Weapon.Name then return scoped(original,self,name,...) end
return original(self,name,...)
end
end)
hook(gun,'ApplyRecoil',function(original)
return function(self,...)if self==gun and seedActive() then return end;return original(self,...)end
end)
for _,name in ipairs({'Recoil','RecoilRock'}) do
hook(cameraController,name,function(original)
return function(self,...)if self==cameraController._active and seedActive() then return end;return original(self,...)end
end)
end
local function release()
target=nil; stopMovement=false; state.target=nil
if ownScope then
if not UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and gun and gun.AimHeld and not gun._aimLatched then gun:StopAiming() end
ownScope=false
end
end
local groups=adapter and adapter.targetGroups or {Head={'Head'},Chest={'UpperTorso','Torso'},Stomach={'LowerTorso'},Arms={'LeftUpperArm','RightUpperArm','LeftLowerArm','RightLowerArm'},Legs={'LeftUpperLeg','RightUpperLeg','LeftLowerLeg','RightLowerLeg'},Feet={'LeftFoot','RightFoot'}}
local function refreshRecords(now)
if now-lastDiscovery<.3 then return end
lastDiscovery=now
local seen={}
for _,owner in ipairs(participants.All()) do
if hostile(owner) then
seen[owner]=true
local model=merc.GetVisual(owner)
local old=records[owner]
if model and (not old or old.model~=model or now-(old.lastBuild or 0)>1) then
local map={}
for _,part in ipairs(model:GetDescendants()) do
if part:IsA('BasePart') then
local zone=part:GetAttribute('MercBodyPart') or part.Name
if not map[zone] or part.CanQuery then map[zone]=part end
end
end
if adapter then map=adapter.zones(owner) end
records[owner]={owner=owner,model=model,zones=map,lastBuild=now}
elseif not model then records[owner]=nil end
end
end
for owner in pairs(records) do if not seen[owner] then records[owner]=nil end end
end
local function isPartOf(instance,record)
return instance and instance:IsDescendantOf(record.model)
end
local function trace(record,origin,point,spec,params,muzzle)
local delta=point-origin
if delta.Magnitude<.001 then return nil end
local direction=delta.Unit
-- Use the game's own muzzle-clearance and glass-aware predictor first.
local predicted=bullets:PredictHit(gun.Weapon.Name,origin,direction,muzzle,0,function(part) return isPartOf(part,record) end)
if predicted then return predicted,1 end
if not get('Main/Automatic Penetration') or not penetration then return nil end
local pen=penetration.NewState(spec)
if not pen then return nil end
local exclude=table.clone(params.FilterDescendantsInstances)
local rayParams=RaycastParams.new()
rayParams.FilterType=Enum.RaycastFilterType.Exclude
rayParams.IgnoreWater=params.IgnoreWater;rayParams.CollisionGroup=params.CollisionGroup
params=rayParams
local start=origin
for _=1,5 do
params.FilterDescendantsInstances=exclude
local hit=workspace:Raycast(start,point-start,params)
if not hit then break end
if isPartOf(hit.Instance,record) then return hit.Instance,penetration.Carry(pen) end
local ownerId=hit.Instance:GetAttribute('OwnerUserId')
local owner=ownerId and participants.ByIdOf(ownerId)
if not owner or not hostile(owner) then break end
local rig=merc.GetVisual(owner)
local zone=hit.Instance:GetAttribute('MercBodyPart') or hit.Instance.Name
if not rig or not penetration.Pass(pen,zone) then break end
table.insert(exclude,rig)
start=hit.Position+direction*.02
end
return nil
end
local function pointFor(candidate,origin,spec)
local base=candidate.part.CFrame:PointToWorldSpace(candidate.offset)
local def=bulletDefs[spec.Projectile]
if not def or (def.Speed or 0)<=0 then return base end
local b=body(candidate.owner)
local root=b and b:FindFirstChild('HumanoidRootPart')
local velocity=root and root.AssemblyLinearVelocity or candidate.velocity or Vector3.zero
local acceleration=def.Acceleration or Vector3.zero
local point=base
for _=1,5 do
local time=(point-origin).Magnitude/def.Speed
point=base+velocity*time-acceleration*(.5*time*time)
end
return point
end
local function spreadChance(candidate,origin,point,spec,samples)
local angle=math.max(0,gun:_GetEffectiveBloomDeg())+math.deg(spec.SpreadAngle or 0)
if angle<.00001 then return 100 end
if seedActive() and seedBase((point-origin).Unit,gun:_GetEffectiveBloomDeg()) and seedBase((point-origin).Unit,math.deg(spec.SpreadAngle or 0)) then return 100 end
local delta=point-origin
if delta.Magnitude<.001 then return 100 end
local direction=delta.Unit
local right=direction:Cross(Vector3.yAxis)
if right.Magnitude<.001 then right=direction:Cross(Vector3.xAxis) end
right=right.Unit
local up=right:Cross(direction).Unit
local cf=candidate.part.CFrame
local lead=point-cf:PointToWorldSpace(candidate.offset)
local localOrigin=cf:PointToObjectSpace(origin-lead)
local half=candidate.part.Size*.49
local maxDistance=(bulletDefs[spec.Projectile] or {}).MaxDistance or spec.Range or 1000
local cap=math.cos(math.rad(math.min(angle,89)))
local hits=0
for i=0,samples-1 do
local cosine=1-(1-cap)*(i+.5)/samples
local sine=math.sqrt(math.max(0,1-cosine*cosine))
local phi=i*2.399963229728653
local ray=adapter and adapter.sampleSpread(direction,angle,i,samples) or direction*cosine+(right*math.cos(phi)+up*math.sin(phi))*sine
if RageMath.rayBox(localOrigin,cf:VectorToObjectSpace(ray),half,maxDistance) then hits+=1 end
end
return hits/samples*100
end
local function specFor(weapon)
return cartridge and cartridge.SpecFor(localPlayer,weapon.Name) or weapons[weapon.Name]
end
local function discover()
if scanning then return target end
scanning=true
local ok,result=pcall(function()
local weapon=gun and gun.Weapon
if not weapon then state.phase='no active weapon'; return nil end
local spec=specFor(weapon)
if not spec then state.phase='missing weapon specification'; return nil end
state.profile=RageMath.profile(weapon.Name,weapons[weapon.Name] or spec)
state.weapon=weapon.Name
local why=blocked()
if why then state.phase=why; return nil end
if not bullets:AssistSupported(weapon.Name) then state.phase='unsupported projectile'; return nil end
local now=os.clock(); refreshRecords(now)
local eye=pov.GetEyeCFrame(); local origin=eye.Position
local params=bullets.ProjectileParams(localPlayer)
local muzzle=gun:GetActiveProjectileMuzzleWorldCFrame()
local best=nil;local protected=0;local shielded=0;local damageRejected=0;local bestDamage=0
local minDamage=tonumber(get('Accuracy/Minimum Damage')) or 0
local fov=tonumber(get('Main/Field of View')) or 180
local selected=get('Selection/Hitboxes') or {}
local multi=get('Selection/Multipoint') or {}
local bodyAim=get('Selection/Body Aim') or 'Default'
for owner,record in pairs(records) do
local hp=health(owner,record.model)
if adapter then record.zones=adapter.zones(owner)end
local protection=hp>0 and record.model.Parent and hostile(owner)and protectionReason(owner)
if protection=='katana deflecting'then protected+=1
elseif protection=='shield protected'then shielded+=1 end
if hp>0 and record.model.Parent and hostile(owner) and not protection then
for _,group in ipairs(selected) do
if bodyAim~='Force' or group~='Head' then
for _,zone in ipairs(groups[group] or {}) do
local part=record.zones[zone]
if part and part.Parent then
local offsets={Vector3.zero}
if table.find(multi,group) then
local scale=(tonumber(get(group=='Head' and 'Selection/Head Scale' or 'Selection/Body Scale')) or 50)/100*.5
table.insert(offsets,Vector3.new(part.Size.X*scale,0,0));table.insert(offsets,Vector3.new(-part.Size.X*scale,0,0))
table.insert(offsets,Vector3.new(0,part.Size.Y*scale,0));table.insert(offsets,Vector3.new(0,-part.Size.Y*scale,0))
end
for pointIndex,offset in ipairs(offsets) do
local candidate={owner=owner,model=record.model,part=part,offset=offset,health=hp,body=group~='Head',weapon=weapon}
local point=pointFor(candidate,origin,spec)
local delta=point-origin; local distance=delta.Magnitude
if distance>.01 and distance<=((bulletDefs[spec.Projectile] or {}).MaxDistance or spec.Range or 1000) then
local angle=math.deg(math.acos(math.clamp(eye.LookVector:Dot(delta.Unit),-1,1)))
if angle<=fov then
local hit,carry=trace(record,origin,part.CFrame:PointToWorldSpace(offset),spec,params,muzzle)
if hit then
local actualZone=(adapter and adapter.zone(hit)) or hit:GetAttribute('MercBodyPart') or hit.Name
local damage=damageModel.BaseDamageAtDistance(spec,distance)*(actualZone=='Head' and (spec.HeadshotMult or 1) or damageModel.Multiplier(actualZone))*carry
bestDamage=math.max(bestDamage,damage)
if minDamage>0 and damage<minDamage and damage<hp then damageRejected+=1 end
if (bodyAim~='Force' or actualZone~='Head') and (minDamage==0 or damage>=minDamage or damage>=hp) then
candidate.body=actualZone~='Head'
candidate.point=point;candidate.distance=distance;candidate.angle=angle;candidate.damage=damage
candidate.chance=spreadChance(candidate,origin,point,spec,24)
candidate.penetrated=carry<1
if RageMath.better(candidate,best,get('Selection/Target'),bodyAim) then best=candidate end
if pointIndex==1 then break end
end
end
end
end
end
end
end
end
end
end
end
state.scans+=1;state.deflectingTargets=protected;state.shieldedTargets=shielded
state.minimumDamage=minDamage;state.bestAvailableDamage=bestDamage;state.damageRejected=damageRejected
state.phase=best and 'tracking' or damageRejected>0 and 'damage below minimum' or protected>0 and 'katana deflecting' or shielded>0 and 'shield protected' or 'no valid target'
if best then best.expires=now+.15; state.target={name=participants.NameOf(best.owner),zone=best.part.Name,damage=best.damage,chance=best.chance,distance=best.distance,penetrated=best.penetrated} else state.target=nil end
return best
end)
scanning=false
if not ok then
state.errors+=1;state.lastError=tostring(result);state.phase='error'
if state.errors==1 then warn('[Neverlose for RIVALS Ragebot] '..state.lastError) end
return nil
end
return result
end
local function validTarget()
if not target or not gun or target.weapon~=gun.Weapon or os.clock()>target.expires or not target.part.Parent or not target.model.Parent or not hostile(target.owner) or health(target.owner,target.model)<=0 then return nil end
if blocked() then return nil end
local protection=protectionReason(target.owner)
if protection then state.phase=protection;return nil end
return target
end
if adapter then
table.insert(cleanups,adapter.setShotTargetProvider(function(origin)
local candidate=validTarget();if not candidate then return end
local point=pointFor(candidate,origin,specFor(gun.Weapon))
return point,candidate.part,CFrame.new(candidate.part.CFrame:PointToObjectSpace(point))
end))
table.insert(cleanups,adapter.setHideScopeProvider(function()return get('Accuracy/Hide Scope')==true end))
table.insert(cleanups,adapter.setHideShotsProvider(function()
local w=gun and gun.Weapon
if stopped or not w or not bullets:AssistSupported(w.Name)then return false end
-- Resolve the equipped profile immediately, including switches between render steps.
local profile=RageMath.profile(w.Name,weapons[w.Name]or {})
return enabled(profile)and get('Accuracy/Hide Shots',profile)==true
end))
end
local legacyScope,legacyScopeEnabled
local function hideLegacyScope()
if adapter then return end
local gui=localPlayer.PlayerGui:FindFirstChild('ScopeOverlay')
if legacyScope and (gui~=legacyScope or get('Accuracy/Hide Scope')~=true)then
if legacyScope.Parent then legacyScope.Enabled=legacyScopeEnabled end;legacyScope=nil
end
if gui and gui:IsA('ScreenGui')and get('Accuracy/Hide Scope')==true then
if not legacyScope then legacyScope=gui;legacyScopeEnabled=gui.Enabled end
gui.Enabled=false
end
end
table.insert(cleanups,function()if legacyScope and legacyScope.Parent then legacyScope.Enabled=legacyScopeEnabled end end)
hook(gun,'GetFireDirectionUnspread',function(original)
return function(self,...)
local candidate=validTarget()
if candidate then
local origin=pov.GetEyePosition();local point=pointFor(candidate,origin,specFor(self.Weapon))
local delta=point-origin
if delta.Magnitude>.001 then return delta.Unit end
end
return original(self,...)
end
end)
hook(movement,'GetWishDir',function(original)
return function(self,...)
if not stopped and not blocked() then
if stopMovement then
if get('Accuracy/Auto Stop')=='Full' then self.Velocity=Vector3.new(0,self.Velocity.Y,0) end
return Vector3.zero
end
end
return original(self,...)
end
end)
local function step()
if stopped then return end
if gun and gun.Weapon then state.profile=RageMath.profile(gun.Weapon.Name,weapons[gun.Weapon.Name] or {}) end
hideLegacyScope()
local why=blocked()
if why then state.phase=why;release();return end
local now=os.clock()
if now-lastScan>=.05 then target=discover();lastScan=now end
local candidate=validTarget()
if not candidate then release();return end
local threshold=tonumber(get('Accuracy/Hit Chance')) or 0
state.requiredHitChance=threshold
local ready=candidate.chance>=threshold
local scopeReady=true
local stopMode=get('Accuracy/Auto Stop') or 'Disabled'
local wait=gun.Weapon:TimeUntilNextPull()
stopMovement=stopMode=='Early' or stopMode=='Full' or stopMode=='Between Shots' and wait>0
if get('Accuracy/Auto Scope') and (state.profile=='AWP' or state.profile=='Scout' or state.profile=='Auto Snipers') then
if not gun.AimHeld then gun:StartAiming();ownScope=true end
if (gun.AimAmount or 0)<.9 then ready=false;scopeReady=false;state.phase='scoping' end
end
if not get('Main/Silent Aim') and cameraController and cameraController._active then
local eye=pov.GetEyePosition()
local cam=workspace.CurrentCamera
local aimOrigin=cam and (cam.CFrame.Position-eye).Magnitude>.5 and cam.CFrame.Position or eye
local dir=(pointFor(candidate,eye,specFor(gun.Weapon))-aimOrigin).Unit
local camera=cameraController._active
local yaw=math.atan2(-dir.X,-dir.Z);local pitch=math.asin(math.clamp(dir.Y,-1,1))
camera._yawTarget=yaw;camera._yawCurrent=yaw;camera._pitchTarget=pitch;camera._pitchCurrent=pitch
end
-- Re-check the live hitbox, muzzle clearance, damage and current spread immediately
-- before firing. Acquisition can be up to one scan old; the shot must not be.
if get('Main/Automatic Fire') and wait<=0 then
local spec=specFor(gun.Weapon)
local origin=pov.GetEyePosition()
local current=candidate.part.CFrame:PointToWorldSpace(candidate.offset)
local record=records[candidate.owner]
local hit,carry
-- Preserve both returns from the native trace.
if record then hit,carry=trace(record,origin,current,spec,bullets.ProjectileParams(localPlayer),gun:GetActiveProjectileMuzzleWorldCFrame()) end
if not hit then state.phase='shot obstructed';target=nil;return end
local zone=(adapter and adapter.zone(hit)) or hit:GetAttribute('MercBodyPart') or hit.Name
local dealt=damageModel.BaseDamageAtDistance(spec,(current-origin).Magnitude)*(zone=='Head' and (spec.HeadshotMult or 1) or damageModel.Multiplier(zone))*(carry or 1)
local minimum=tonumber(get('Accuracy/Minimum Damage')) or 0
if minimum>0 and dealt<minimum and dealt<health(candidate.owner,candidate.model) then state.phase='damage below minimum';return end
candidate.chance=spreadChance(candidate,origin,pointFor(candidate,origin,spec),spec,64)
ready=scopeReady and candidate.chance>=threshold
if state.target then state.target.chance=candidate.chance;state.target.damage=dealt end
state.accuracySamples=64
end
state.currentHitChance=candidate.chance
if not ready then state.phase=scopeReady and 'waiting for accuracy' or 'scoping';return end
if get('Main/Automatic Fire') and wait<=0 and not gun.Weapon.BurstFiring then
local protection=protectionReason(candidate.owner)
if protection then state.phase=protection;release();return end
gun.Weapon:ReleaseTrigger()
if gun:FireWeapon() then state.shots+=1;state.phase='fired' end
end
end
local pending=false
connect(RunService.RenderStepped,function()
if pending or stopped then return end
pending=true
task.defer(function()
pending=false
if stopped then return end
local ok,err=pcall(step)
if not ok then release();state.errors+=1;state.lastError=tostring(err);state.phase='error';if state.errors==1 then warn('[Neverlose for RIVALS Ragebot] '..state.lastError) end end
end)
end)
table.insert(cleanups,function() stopped=true;release();table.clear(records) end)
return {
status=function() local copy=table.clone(state);copy.unsupported=table.clone(state.unsupported);if state.target then copy.target=table.clone(state.target) end;return copy end,
scan=function() target=discover();return target and {name=participants.NameOf(target.owner),zone=target.part.Name,damage=target.damage,chance=target.chance} or nil end,
}
end
end)()
local installLegitbot = (function()
-- Camera aim assist through the game's native camera controller. Never fires a weapon.
local LegitMath={}
function LegitMath.wrap(angle)return (angle+math.pi)%(2*math.pi)-math.pi end
function LegitMath.alpha(smoothing,dt)return 1-math.exp(-60*math.clamp(dt,0,.1)/math.max(1,smoothing))end
function LegitMath.angle(current,target,smoothing,dt)return current+LegitMath.wrap(target-current)*LegitMath.alpha(smoothing,dt)end
return function(Store,connect,cleanups,isMenuOpen,adapter)
local Players=game:GetService('Players')
local RS=game:GetService('ReplicatedStorage')
local Run=game:GetService('RunService')
local UIS=game:GetService('UserInputService')
local player=Players.LocalPlayer
local function module(path)
if adapter then return adapter.resolve(path)end
local node=RS:FindFirstChild('Modules')
for name in path:gmatch('[^/]+')do node=node and node:FindFirstChild(name)end
if not node then return nil end
local ok,value=pcall(require,node);return ok and value or nil
end
local participants=module('Shared/Participant')
local hostility=module('Shared/Combat/Hostility')
local merc=module('Client/Controllers/MercPlayerController')
local gun=module('Client/Controllers/GunController')
local bullets=module('Client/Controllers/BulletController')
local pov=module('Client/CameraPOV')
local cameraController=module('Client/Controllers/CameraController')
local function get(path)
local key='Legitbot/'..path;local value=Store.values[key]
if value==nil then value=Store.defaults[key]end
return value
end
local function rgba()
local s=tostring(get('Visuals/FOV Circle/Color')or '69A7FF'):gsub('#','')
return Color3.fromRGB(tonumber(s:sub(1,2),16)or 105,tonumber(s:sub(3,4),16)or 167,tonumber(s:sub(5,6),16)or 255)
end
local overlay=Instance.new('ScreenGui');overlay.Name='NeverloseLegit';overlay.IgnoreGuiInset=true;overlay.ResetOnSpawn=false;overlay.DisplayOrder=997;overlay.Parent=player:WaitForChild('PlayerGui')
local circle=Instance.new('Frame');circle.Name='AimFOV';circle.BackgroundTransparency=1;circle.AnchorPoint=Vector2.new(.5,.5);circle.Visible=false;circle.Parent=overlay
local corner=Instance.new('UICorner');corner.CornerRadius=UDim.new(1,0);corner.Parent=circle
local stroke=Instance.new('UIStroke');stroke.Thickness=1;stroke.Transparency=.4;stroke.Parent=circle
local state={phase='disabled',errors=0,aimFrames=0}
local stopped=false;local target;local acquired=0
local function clear(phase)target=nil;state.target=nil;state.phase=phase end
local function held()
if get('Main/Activation')=='Always'then return true end
local key=get('Main/Aim Key')or 'Mouse2'
local buttons={Mouse1=Enum.UserInputType.MouseButton1,Mouse2=Enum.UserInputType.MouseButton2,Mouse3=Enum.UserInputType.MouseButton3}
if buttons[key]then return UIS:IsMouseButtonPressed(buttons[key])end
local ok,code=pcall(function()return Enum.KeyCode[key]end)
return ok and code~=Enum.KeyCode.Unknown and UIS:IsKeyDown(code)
end
local function blocked()
if get('Main/Enabled')~=true then return 'disabled'end
if isMenuOpen() or UIS:GetFocusedTextBox()then return 'menu open'end
local rage=Store.values['Ragebot/Main/Enabled@Global']
if rage==nil then rage=Store.defaults['Ragebot/Main/Enabled']end
if rage==true then return 'Ragebot priority'end
if not (participants and hostility and merc and gun and bullets and pov and cameraController and cameraController._active)then return 'missing game adapter'end
if not gun.Weapon or not gun.Enabled then return 'no active weapon'end
if gun:ShouldBlockWeaponInput()then return 'game input blocked'end
if adapter then local w=adapter.nativeItem();if w and w.Info.Type~='Gun'then return 'not a gun'end end
local character=adapter and adapter.character()or player.Character
local hum=character and character:FindFirstChildOfClass('Humanoid')
if not hum or hum.Health<=0 then return 'not deployed'end
end
local function health(owner,model)
if adapter then return adapter.health(owner)end
if owner:GetAttribute('Dead')or model:GetAttribute('Dead')then return 0 end
local body=participants.BodyOf(owner);local hum=body and body:FindFirstChildOfClass('Humanoid')
return tonumber(owner:GetAttribute('BotHealth'))or hum and hum.Health or 0
end
local function visible(model,from,point,params)
local delta=point-from
if delta.Magnitude<.001 then return true end
local hit=workspace:Raycast(from,delta,params)
return not hit or hit.Instance:IsDescendantOf(model)
end
local function selectTarget(cam,radius)
local size=cam.ViewportSize;local center=size*.5
local eye=pov.GetEyePosition();local params=bullets.ProjectileParams(player)
local maxDistance=tonumber(get('Selection/Maximum Distance'))or 1000
local hitbox=get('Aim/Hitbox')or 'Head'
local best,bestScore
for _,owner in ipairs(participants.All())do if owner~=player and (get('Selection/Team Check')==false or hostility.IsHostile(player,owner))then
local model=merc.GetVisual(owner)
if model and model.Parent and health(owner,model)>0 then
local zones=adapter and adapter.zones(owner)or {}
local head=zones.Head or model:FindFirstChild('Head',true)
local body=zones.Body or model:FindFirstChild('UpperTorso',true)or model:FindFirstChild('Torso',true)
local choices={}
if hitbox~='Body' and head then table.insert(choices,head)end
if hitbox~='Head' and body then table.insert(choices,body)end
for _,part in ipairs(choices)do if part and part:IsA('BasePart')and part.Parent then
local point=part.Position;local distance=(point-eye).Magnitude
local screen,onScreen=cam:WorldToViewportPoint(point)
local pixels=(Vector2.new(screen.X,screen.Y)-center).Magnitude
if onScreen and screen.Z>.1 and distance<=maxDistance and pixels<=radius then
local clearLine=get('Selection/Visible Only')==false or visible(model,eye,point,params)and visible(model,cam.CFrame.Position,point,params)
if clearLine then
local locked=get('Selection/Target Lock')~=false and target and target.owner==owner and target.part==part
local score=locked and -1 or pixels
if not bestScore or score<bestScore then
bestScore=score;best={owner=owner,model=model,part=part,distance=distance,pixels=pixels}
end
end
end
end end
end
end end
return best
end
local function step(dt)
local cam=workspace.CurrentCamera
local radius=math.clamp(tonumber(get('Aim/Field of View'))or 100,10,500)
circle.Visible=not stopped and cam~=nil and get('Main/Enabled')==true and get('Visuals/FOV Circle')==true and not isMenuOpen()
if cam then circle.Position=UDim2.fromOffset(cam.ViewportSize.X*.5,cam.ViewportSize.Y*.5);circle.Size=UDim2.fromOffset(radius*2,radius*2);stroke.Color=rgba()end
local why=blocked();if why then if why=='Ragebot priority'then circle.Visible=false end;clear(why);return end
if not held()then clear('waiting for aim key');return end
if not cam then clear('no camera');return end
local candidate=selectTarget(cam,radius)
if not candidate then clear('no visible target');return end
if not target or target.owner~=candidate.owner or target.part~=candidate.part then acquired=os.clock()end
target=candidate
state.target={name=participants.NameOf(candidate.owner),hitbox=candidate.part.Name,pixels=candidate.pixels,distance=candidate.distance}
if os.clock()-acquired<(tonumber(get('Selection/Reaction Delay'))or 80)/1000 then state.phase='reaction delay';return end
if candidate.pixels<=(tonumber(get('Aim/Deadzone'))or 2)then state.phase='inside deadzone';return end
local delta=candidate.part.Position-cam.CFrame.Position
if delta.Magnitude<.001 then return end
local direction=delta.Unit;local look=cam.CFrame.LookVector
local wantYaw=math.atan2(-direction.X,-direction.Z);local viewYaw=math.atan2(-look.X,-look.Z)
local wantPitch=math.asin(math.clamp(direction.Y,-1,1));local viewPitch=math.asin(math.clamp(look.Y,-1,1))
local controller=cameraController._active
local baseYaw=controller._yawCurrent;local basePitch=controller._pitchCurrent
if type(baseYaw)~='number'or type(basePitch)~='number'then clear('camera not ready');return end
local smoothing=tonumber(get('Aim/Smoothing'))or 8
local yaw=LegitMath.angle(baseYaw,baseYaw+LegitMath.wrap(wantYaw-viewYaw),smoothing,dt)
local pitch=math.clamp(basePitch+(wantPitch-viewPitch)*LegitMath.alpha(smoothing,dt),math.rad(-89.8),math.rad(89.8))
controller._yawTarget=yaw;controller._yawCurrent=yaw;controller._pitchTarget=pitch;controller._pitchCurrent=pitch
state.phase='aiming';state.aimFrames=state.aimFrames+1
end
Run:BindToRenderStep('NeverloseLegitAim',Enum.RenderPriority.Camera.Value-1,function(dt)
if stopped then return end
local ok,err=pcall(step,dt)
if not ok then clear('error');state.errors=state.errors+1;state.lastError=tostring(err);if state.errors==1 then warn('[Neverlose for RIVALS Legitbot] '..state.lastError)end end
end)
table.insert(cleanups,function()stopped=true;clear('unloaded');Run:UnbindFromRenderStep('NeverloseLegitAim');overlay:Destroy()end)
return {status=function()local copy=table.clone(state);if state.target then copy.target=table.clone(state.target)end;return copy end}
end
end)()
local installAntiAim = (function()
-- Body-pose anti aim: the player's camera and weapon direction stay independent.
local AntiMath=(function()
local M={}
function M.wrap(a) return (a+math.pi)%(2*math.pi)-math.pi end
function M.pitch(mode)
if mode=='Down'then return -math.rad(80)elseif mode=='Up'then return math.rad(80)elseif mode=='Forward'then return 0 end
end
function M.randomHold(previous,angleRoll,timeRoll,speed)
local value=angleRoll*2-1
if previous~=nil then
-- Exclude nearby angles across the wrap too, including at 180-degree amplitude.
value=(previous+.35+angleRoll*1.3+1)%2-1
end
return value,math.max(.13,1/math.max(speed,.1))*(.8+.6*timeRoll)
end
function M.yaw(base,add,mode,amount,speed,time,random)
local phase=math.floor(time*speed)%2==0 and -1 or 1
local offset=0
if mode=='Center' then offset=phase*amount*.5
elseif mode=='Offset' then offset=phase>0 and amount or 0
elseif mode=='Random' or mode=='Random Hold' then offset=(random or 0)*amount
elseif mode=='Spin' then offset=time*speed*math.rad(45) end
return M.wrap(base+add+offset)
end
return M
end)()
return function(getValue,connect,cleanups,isMenuOpen,notify,adapter)
local RS=game:GetService('ReplicatedStorage')
local Players=game:GetService('Players')
local RunService=game:GetService('RunService')
local UIS=game:GetService('UserInputService')
local localPlayer=Players.LocalPlayer
local function module(path)
if adapter then return adapter.resolve(path) end
local n=RS.Modules
for p in path:gmatch('[^/]+') do n=n and n:FindFirstChild(p) end
if not n then return nil end
local ok,value=pcall(require,n);return ok and value or nil
end
local camera=module('Client/Controllers/CameraController')
local pov=module('Client/CameraPOV')
local gun=module('Client/Controllers/GunController')
local movement=module('Client/QuakeMove')
local participants=module('Shared/Participant')
local merc=module('Client/Controllers/MercPlayerController')
local hostility=module('Shared/Combat/Hostility')
local state={phase='disabled',errors=0,unsupported={}}
local stopped=false;local shotUntil=0;local saved=nil;local slow=nil;local lastSlow=nil
local rng=Random.new();local random=0;local randomTick=-1
local heldRandom,nextRandomAt,heldSpeed,lastModifier=nil,0,nil,nil
local function get(path)return getValue('Anti Aim/'..path)end
local function hideShotsActive()
local active=adapter and adapter.hideShotsActive()or false
state.hideShots=active
return active
end
local function view()
if pov then return pov.GetEyeCFrame() end
local cam=workspace.CurrentCamera
return cam and cam.CFrame or CFrame.identity
end
local function normalYaw()
local dir=view().LookVector
return math.atan2(-dir.X,-dir.Z)
end
local function releasePose()
state.pitch=nil
nextRandomAt=0
if not saved then return end
if saved.humanoid.Parent then saved.humanoid.AutoRotate=saved.autoRotate end
if saved.root.Parent then saved.root.CFrame=CFrame.new(saved.root.Position)*CFrame.Angles(0,normalYaw(),0) end
saved=nil
end
local function resetSlow()
if slow~=nil and movement then
if movement.SpeedMultiplier==lastSlow then movement.SpeedMultiplier=slow end
slow,lastSlow=nil,nil
end
end
local ladderParams=RaycastParams.new()
ladderParams.FilterType=Enum.RaycastFilterType.Exclude
ladderParams.IgnoreWater=true
ladderParams.RespectCanCollide=true
local ladderCheckAt,ladderCharacter,ladderRoot,ladderApproach=0,nil,nil,false
local function usingLadder(char,hum)
if hum:GetState()==Enum.HumanoidStateType.Climbing then return true end
local root=char:FindFirstChild('HumanoidRootPart')
local direction=hum.MoveDirection*Vector3.new(1,0,1)
if not root or direction.Magnitude<.05 then ladderCheckAt=0;return false end
local now=os.clock()
if char==ladderCharacter and root==ladderRoot and now<ladderCheckAt then return ladderApproach end
ladderCharacter,ladderRoot,ladderCheckAt,ladderApproach=char,root,now+.03,false
local excluded={char}
if workspace.CurrentCamera then table.insert(excluded,workspace.CurrentCamera)end
ladderParams.FilterDescendantsInstances=excluded
local reach=math.max(root.Size.X,root.Size.Z)*.5+1.5
local ray=direction.Unit*reach
for _,height in ipairs({0,1.5,-1.5})do
local hit=workspace:Raycast(root.Position+Vector3.new(0,height,0),ray,ladderParams)
if hit and hit.Instance:IsA('TrussPart')then ladderApproach=true;break end
end
return ladderApproach
end
local function reason()
local hideShots=hideShotsActive()
if stopped or get('Main/Enable Anti Aim')~=true then return 'disabled' end
if not adapter and (isMenuOpen() or UIS:GetFocusedTextBox()) then return 'menu open' end
local char=(adapter and adapter.character() or localPlayer.Character)
local hum=char and char:FindFirstChildOfClass('Humanoid')
if not char or not hum or hum.Health<=0 or localPlayer:GetAttribute('Deployed')==false then return 'not deployed' end
if get('Movement/Allow Ladder')==true and usingLadder(char,hum)then return 'ladder' end
if adapter then local why=adapter.poseBlocked();if why then return why end end
local vehicle=localPlayer:GetAttribute('VehicleId')
if localPlayer:GetAttribute('Spectating') or type(vehicle)=='string' and vehicle~='' then return 'spectating or vehicle' end
local preview=adapter and isMenuOpen()
if not preview and gun then
if gun:ShouldBlockWeaponInput() or gun.Weapon and gun.Weapon.IsReloading then return 'weapon action' end
if not hideShots and (gun.FireHeld or gun.AimHeld)then return 'weapon action' end
end
if not hideShots and os.clock()<shotUntil then return 'shot or interaction' end
if not preview and (UIS:IsKeyDown(Enum.KeyCode.E)or not hideShots and UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1))then return 'shot or interaction' end
return nil
end
local function targetYaw(root,fallback)
if not participants or not merc or not hostility then return fallback end
local best,angle=nil,fallback
for _,owner in ipairs(participants.All()) do
if owner~=localPlayer and hostility.IsHostile(localPlayer,owner) then
local model=merc.GetVisual(owner)
local head=model and (model:FindFirstChild('Head') or model.PrimaryPart)
local actorBody=participants.BodyOf(owner)
local actorHum=actorBody and actorBody:FindFirstChildOfClass('Humanoid') or model and model:FindFirstChildOfClass('Humanoid')
local hp=adapter and adapter.health(owner) or tonumber(owner:GetAttribute('BotHealth')) or (actorHum and actorHum.Health) or 0
if head and hp>0 and not model:GetAttribute('Dead') and not model:GetAttribute('Ragdolled') then
local d=head.Position-root.Position
if d.Magnitude>.01 and Vector3.new(d.X,0,d.Z).Magnitude>.01 and (not best or d.Magnitude<best) then best=d.Magnitude;angle=math.atan2(-d.X,-d.Z) end
end
end
end
return angle
end
local function apply()
local why=reason()
if why then state.phase=why;releasePose();resetSlow();return end
local char=(adapter and adapter.character() or localPlayer.Character);local hum=char:FindFirstChildOfClass('Humanoid');local root=char:FindFirstChild('HumanoidRootPart')
if not root then state.phase='missing root';releasePose();return end
if saved and saved.character~=char then releasePose() end
if not saved then saved={character=char,root=root,humanoid=hum,autoRotate=hum.AutoRotate} end
local now=os.clock();local speed=math.max(tonumber(get('Main/Modifier Speed')) or 6,.1)
local modifier=get('Main/Yaw Modifier')
if modifier=='Random Hold'then
if lastModifier~=modifier or speed~=heldSpeed or now>=nextRandomAt then
local duration
heldRandom,duration=AntiMath.randomHold(heldRandom,rng:NextNumber(),rng:NextNumber(),speed)
nextRandomAt=now+duration;heldSpeed=speed
end
random=heldRandom
else
local tick=math.floor(now*speed)
if lastModifier~=modifier or tick~=randomTick then randomTick=tick;random=rng:NextNumber(-1,1)end
end
lastModifier=modifier
local yaw=normalYaw();local base=get('Main/Yaw Base')
if base=='Backward' then yaw=yaw+math.pi elseif base=='Away from Targets' then yaw=targetYaw(root,yaw)+math.pi end
yaw=AntiMath.yaw(yaw,math.rad(tonumber(get('Main/Yaw Add')) or 0),modifier,math.rad(tonumber(get('Main/Modifier Amount')) or 45),speed,now,random)
hum.AutoRotate=false
root.CFrame=CFrame.new(root.Position)*CFrame.Angles(0,yaw,0)
local slowMode=get('Movement/Slow Walk')
if movement and slowMode~='Disabled' and not isMenuOpen() then
if slow==nil then slow=movement.SpeedMultiplier end
lastSlow=slow*(slowMode=='Slower' and .25 or .45);movement.SpeedMultiplier=lastSlow
else resetSlow() end
state.phase=adapter and isMenuOpen() and 'preview' or 'active';state.yaw=math.deg(yaw);state.modifier=modifier
end
local function hook(object,name,wrap)
if type(object)~='table' or type(object[name])~='function' then return false end
local original=object[name];local replacement=wrap(original);object[name]=replacement
table.insert(cleanups,function()if object[name]==replacement then object[name]=original end end)
return true
end
local hooked=hook(camera,'_render',function(original)
return function(self,...)
-- The camera may read body offsets before writing its own yaw. Give that
-- calculation the normal facing, then apply the body-only pose afterward.
if self==camera._active and saved and saved.root.Parent then saved.root.CFrame=CFrame.new(saved.root.Position)*CFrame.Angles(0,normalYaw(),0) end
local result=table.pack(original(self,...))
if self==camera._active then
local ok,err=pcall(apply)
if not ok then state.errors+=1;state.lastError=tostring(err);releasePose() end
end
return table.unpack(result,1,result.n)
end
end)
local function beforeShot()
shotUntil=os.clock()+.18
if not hideShotsActive()then releasePose()end
end
hook(gun,'FireWeapon',function(original)
return function(self,...)
beforeShot()
return original(self,...)
end
end)
if adapter then table.insert(cleanups,adapter.onBeforeShot(beforeShot))end
if adapter and adapter.pitchSupported then
table.insert(cleanups,adapter.setPitchProvider(function()
local pitch=AntiMath.pitch(get('Main/Pitch'))
if pitch==nil or reason()or not adapter.canReplicatePitch()then state.pitch=nil;return nil end
state.pitch=math.deg(pitch)
return pitch
end))
end
connect(RunService.Heartbeat,function()
if stopped then return end
local why=reason()
if why then state.phase=why;releasePose();resetSlow() end
if not hooked or not camera._active then local ok,err=pcall(apply);if not ok then state.errors+=1;state.lastError=tostring(err);releasePose() end end
end)
table.insert(cleanups,function()stopped=true;releasePose();resetSlow()end)
return {status=function()local copy=table.clone(state);copy.unsupported=table.clone(state.unsupported);return copy end}
end
end)()
local installMovement = (function()
-- Native Fighter movement controls. No camera/input replacement or persistent game-data edits.
return function(getValue,connect,cleanups,isMenuOpen,adapter)
local state={supported=false,phase='unavailable',errors=0,extraJumpsUsed=0,extraJumps=0,crouchReports=0,speedMultiplier=1,slideMultiplier=1,fakeCrouch=false}
local function status()return table.clone(state)end
if not (adapter and adapter.native)then return {status=status}end
local Players=game:GetService('Players');local Run=game:GetService('RunService');local UIS=game:GetService('UserInputService')
local function native(fn)
local prior=getthreadidentity and getthreadidentity();if setthreadidentity then setthreadidentity(2)end
local out=table.pack(pcall(fn));if setthreadidentity and prior then setthreadidentity(prior)end
if not out[1]then error(out[2],0)end;return table.unpack(out,2,out.n)
end
local ps=Players.LocalPlayer:FindFirstChild('PlayerScripts')
local controllers=ps and ps:FindFirstChild('Controllers');local script=controllers and controllers:FindFirstChild('MechanicsController')
local ok,mc=pcall(function()return script and native(function()return require(script)end)end)
if not (ok and type(mc)=='table'and type(mc._GetWalkSpeed)=='function'and type(mc.DoubleJumpRequest)=='function'and type(mc.DoubleJump)=='function'and type(mc._UpdateServerState)=='function')then return {status=status}end
state.supported=true;state.phase='disabled'
local stopped=false;local hooks={};local boundEntity;local jumpsUsed=0;local nextJumpAt=0;local crouchOwner;local boostedSlide
local lastSpeed,lastEntity=1,nil
local reporter=mc._UpdateServerState
local function get(path)return getValue('Main/'..path)end
local function factor(toggle,amount,maximum)
if get(toggle)~=true then return 1 end
local value=tonumber(get(amount))or 100
if value~=value then value=100 end
return math.clamp(value/100,1,maximum)
end
local function eligible()
if stopped or isMenuOpen()or UIS:GetFocusedTextBox()then return end
local f=adapter.nativeFighter();local e=f and f.Entity;local hum=e and e.Humanoid
if not (f and mc.LocalFighter==f and e and hum and hum.Parent and f:IsAlive()and f:IsActive())then return end
if mc:IsFrozen()or mc:AreInputsDisabled()or hum.Sit then return end
if hum:GetState()==Enum.HumanoidStateType.Climbing then return end
return f,e
end
local function hook(name,wrap)
local had=rawget(mc,name);local original=mc[name];local replacement=wrap(original)
mc[name]=replacement
table.insert(hooks,function()if mc[name]==replacement then mc[name]=had end end)
end
local function resetFlight(e)
if e~=boundEntity then boundEntity=e;jumpsUsed=0;nextJumpAt=0 end
state.extraJumpsUsed=jumpsUsed
end
local function wantsCrouch()
if get('Posture/Fake Crouch')~=true or mc.IsSliding then return end
return eligible()
end
local function ownCrouch(f,e)
crouchOwner={fighter=f,entity=e};state.fakeCrouch=true
end
local function releaseCrouch()
local owned=crouchOwner
if owned and mc.LocalFighter==owned.fighter and owned.fighter.Entity==owned.entity then
reporter(mc,'IsCrouching',mc.IsCrouching==true)
state.crouchReports=state.crouchReports+1
end
crouchOwner=nil;state.fakeCrouch=false
end
hook('_UpdateServerState',function(original)return function(self,key,...)
if self==mc and key=='IsCrouching'then
local f,e=wantsCrouch()
if f then ownCrouch(f,e);state.crouchReports=state.crouchReports+1;return original(self,key,true)end
end
return original(self,key,...)
end end)
hook('_GetWalkSpeed',function(original)return function(self,forSlide,...)
local value=original(self,forSlide,...)
if self~=mc or not eligible()then return value end
-- Slide uses its own tested multiplier, rather than stacking it with walking speed.
local multiplier
if self.IsSliding and forSlide then
multiplier=factor('Movement/Fast Slide','Movement/Slide Speed',1.25)
if multiplier>1 then boostedSlide={entity=mc.LocalFighter.Entity,factor=multiplier}end
else multiplier=factor('Movement/Speed Boost','Movement/Walk Speed',2)end
return value*multiplier
end end)
hook('DoubleJumpRequest',function(original)return function(self,...)
if self~=mc or get('Air Movement/Extra Air Jumps')~=true then return original(self,...)end
local f,e=eligible()
if not f or mc.IsSliding or f:Get('DisableDoubleJumping')then return original(self,...)end
resetFlight(e)
if f:IsGrounded()then jumpsUsed=0;state.extraJumpsUsed=0;return original(self,...)end
local w=f.EquippedItem;local id=w and w:Get('ObjectID')
local used=id and (mc._double_jumps_used[id]or 0)or 0
local out=table.pack(original(self,...))
-- Consume the game's own allowance first. The separate budget follows the entire flight,
-- so swapping weapons or toggling the setting cannot refill the additional jumps.
if not id or (mc._double_jumps_used[id]or 0)>used then return table.unpack(out,1,out.n)end
local limit=tonumber(get('Air Movement/Additional Jumps'))or 2
if limit~=limit then limit=2 end
limit=math.clamp(math.floor(limit),1,5)
if jumpsUsed<limit and os.clock()>=nextJumpAt then
self:DoubleJump();jumpsUsed=jumpsUsed+1;nextJumpAt=os.clock()+.1
state.extraJumpsUsed=jumpsUsed;state.extraJumps=state.extraJumps+1
end
return table.unpack(out,1,out.n)
end end)
local function update()
local current=adapter.nativeFighter();local e=current and current.Entity
resetFlight(e)
if current and e and current:IsGrounded()then jumpsUsed=0;state.extraJumpsUsed=0 end
local f=eligible()
local walk=f and factor('Movement/Speed Boost','Movement/Walk Speed',2)or 1
state.speedMultiplier=walk
state.slideMultiplier=f and factor('Movement/Fast Slide','Movement/Slide Speed',1.25)or 1
if boostedSlide then
if boostedSlide.entity~=e or not mc.IsSliding then boostedSlide=nil
elseif state.slideMultiplier~=boostedSlide.factor then mc:StopSliding();boostedSlide=nil end
end
if walk~=lastSpeed or e~=lastEntity then
mc:_UpdateWalkSpeed();lastSpeed,lastEntity=walk,e
end
local crouchF,crouchE=wantsCrouch()
if crouchF then
if not crouchOwner or crouchOwner.fighter~=crouchF or crouchOwner.entity~=crouchE then
reporter(mc,'IsCrouching',true);ownCrouch(crouchF,crouchE);state.crouchReports=state.crouchReports+1
end
elseif crouchOwner then releaseCrouch()end
local requested=get('Movement/Speed Boost')==true or get('Movement/Fast Slide')==true or get('Air Movement/Extra Air Jumps')==true or get('Posture/Fake Crouch')==true
state.phase=not requested and 'disabled'or f and 'active'or isMenuOpen()and 'menu open'or 'waiting for character'
end
connect(Run.Heartbeat,function()
if stopped then return end
local good,err=pcall(function()native(update)end)
if not good then state.errors=state.errors+1;state.lastError=tostring(err);if state.errors==1 then warn('[Neverlose for RIVALS movement] '..tostring(err))end end
end)
table.insert(cleanups,function()
stopped=true
for i=#hooks,1,-1 do hooks[i]()end
local good,err=pcall(function()native(function()
if boostedSlide and mc.LocalFighter and mc.LocalFighter.Entity==boostedSlide.entity then mc:StopSliding()end
boostedSlide=nil;releaseCrouch();mc:_UpdateWalkSpeed()
end)end)
state.phase='unloaded';state.speedMultiplier=1;state.slideMultiplier=1
if not good then state.errors=state.errors+1;state.lastError=tostring(err)end
end)
return {status=status}
end
end)()
local installAutoVote = (function()
-- Prefer one native map option. Never vote during weapon voting or map banning.
return function(getValue,connect,cleanups,adapter)
local state={supported=adapter and adapter.mapVoteSupported==true or false,phase='disabled',requests=0,errors=0}
local function status()return table.clone(state)end
if not state.supported then state.phase='unavailable';return {status=status}end
local stopped=false;local nextCheck=0;local ballots=setmetatable({},{__mode='k'})
local function step()
if getValue('Main/Automation/Auto Vote')~=true then state.phase='disabled';return end
local selected=getValue('Main/Automation/Preferred Map')
state.map=selected
if type(selected)~='string'or selected==''or selected=='Select a map'then state.phase='choose a map';return end
local vote=adapter.mapVoteSnapshot()
if not vote then state.phase='waiting for duel';return end
if not(vote.open and vote.kind=='Maps'and type(vote.options)=='table')then ballots[vote.duel]=nil;state.phase='waiting for map vote';return end
if tostring(vote.mode):lower():find('ban',1,true)then state.phase='map banning phase';return end
local names={};local choice
for _,option in pairs(vote.options)do
table.insert(names,option.Name)
if option.Name==selected then choice=option end
end
table.sort(names);local key=tostring(vote.mode)..'/'..table.concat(names,'\0')
local ballot=ballots[vote.duel]
if not ballot or ballot.key~=key then ballot={key=key,sent={}};ballots[vote.duel]=ballot end
if not choice then state.phase='preferred map unavailable';return end
if choice.IsBanned then state.phase='map banned';return end
if vote.lastVote==selected then state.phase='voted';ballot.sent[selected]={confirmed=true};return end
local sent=ballot.sent[selected]
if sent and sent.confirmed then state.phase='vote completed';return end
if sent and (sent.attempts>=2 or os.clock()-sent.at<1.5)then state.phase='waiting for vote confirmation';return end
local accepted,reason=adapter.voteMap(selected)
if accepted then
ballot.sent[selected]={attempts=(sent and sent.attempts or 0)+1,at=os.clock(),confirmed=reason=='already voted'}
if reason=='requested'then state.requests=state.requests+1 end
state.phase=reason=='already voted'and 'voted'or 'vote requested'
else state.phase=reason or 'vote unavailable' end
end
connect(game:GetService('RunService').Heartbeat,function()
if stopped or os.clock()<nextCheck then return end
nextCheck=os.clock()+.25
local ok,err=pcall(step)
if not ok then state.errors=state.errors+1;state.phase='error';state.lastError=tostring(err);if state.errors==1 then warn('[Neverlose for RIVALS Auto Vote] '..tostring(err))end end
end)
table.insert(cleanups,function()stopped=true;state.phase='unloaded';table.clear(ballots)end)
return {status=status}
end
end)()
local installAutoExecute = (function()
-- Requeue once per server; wait for the game's own loader without requiring its modules.
local QUEUE_VERSION=3
local BOOTSTRAP=[=[
task.spawn(function()
local env=getgenv()
local Startup=(function()
__STARTUP_SOURCE__
end)()
if game.GameId~=0 and game.GameId~=Startup.universeId then return end
local job=game.JobId or 'local'
local function hasMenu()
local m=env.NeverloseMenu
if not m then return false end
if m._jobId and m._jobId~=job then return false end
if type(m.isAlive)=='function'then local ok,alive=pcall(m.isAlive);return ok and alive==true end
return true
end
if hasMenu()then return end
local root='neverlose_ui';local http=game:GetService('HttpService')
local function state()
local ok,value=pcall(function()return http:JSONDecode(readfile(root..'/autoexecute.json'))end)
return ok and type(value)=='table'and value or nil
end
local settings=state()
if not(settings and settings.enabled and settings.universeId==Startup.universeId)then return end
local deadline=os.clock()+180
while type(env.NeverloseAutoExecuteStarting)=='table'and env.NeverloseAutoExecuteStarting.job==job and (env.NeverloseAutoExecuteStarting.expires or 0)>os.clock()do
settings=state()
if hasMenu()or not(settings and settings.enabled)then return end
if os.clock()>=deadline then warn('[Neverlose for RIVALS Auto Execute] Another startup did not finish');return end
task.wait(.25)
end
if hasMenu()then return end
local owner={job=job,expires=deadline}
env.NeverloseAutoExecuteStarting=owner
-- The queue that brought us here has been consumed. The new menu must queue the next hop.
env.NeverloseAutoExecuteQueued=nil;env.NeverloseAutoExecuteQueueVersion=nil
env.NeverloseAutoExecuteBootStatus={phase='waiting for native loading screen'}
local ok,err=xpcall(function()
for attempt=1,3 do
local ready,why=Startup.wait(math.max(0,deadline-os.clock()),function()
settings=state()
return hasMenu()or not(settings and settings.enabled and settings.universeId==Startup.universeId)
end)
if not ready then
if why=='cancelled'or why=='wrong game'then return end
error(why,0)
end
settings=state()
if hasMenu()or not(settings and settings.enabled)then return end
local source=readfile(root..'/autoexecute.lua')
local chunk,problem=loadstring(source,'Neverlose for RIVALS / Auto Execute');assert(chunk,problem)
env.NeverloseMenuSource=source;env.NeverloseTeleportValues=settings.values
env.NeverloseAutoExecuteBootStatus.phase='starting menu'
local started,result=pcall(chunk)
if started and hasMenu()then return end
local message=tostring(result or 'Menu startup did not finish')
local transient=message:find('runtime is not ready',1,true)or message:find('not a valid member',1,true)or message:find('attempt to index nil',1,true)
if not transient or attempt==3 or os.clock()>=deadline then error(message,0)end
end
end,debug.traceback)
if env.NeverloseAutoExecuteStarting==owner then env.NeverloseAutoExecuteStarting=nil end
env.NeverloseAutoExecuteBootStatus={phase=hasMenu()and 'ready'or ok and 'cancelled'or 'error',error=not ok and tostring(err)or nil}
if not ok then warn('[Neverlose for RIVALS Auto Execute] '..tostring(err))end
end)
]=]
return function(api,connect,cleanups,env,root,startupSource)
local player=game:GetService('Players').LocalPlayer
local http=game:GetService('HttpService')
local path='Settings/Menu/Auto Execute'
local queue=queue_on_teleport or queueonteleport or (syn and syn.queue_on_teleport)or (fluxus and fluxus.queue_on_teleport)
local stopped=false;local revision=0;local cachedSource
local status={supported=type(queue)=='function',enabled=false,queued=env.NeverloseAutoExecuteQueued==true,errors=0}
local function persist(enabled)
writefile(root..'/autoexecute.json',http:JSONEncode({version=2,enabled=enabled,universeId=6035872082,values=api.snapshot()}))
end
local function prepare()
if stopped then return false end
status.enabled=api.get(path)==true
local ok,err=pcall(function()
if status.enabled then
assert(game.GameId==6035872082,'Auto Execute only supports RIVALS')
assert(status.supported,'This executor does not support queue_on_teleport')
assert(type(startupSource)=='string','Startup guard source is missing; run the current loader')
if type(env.NeverloseMenuSource)=='string'and env.NeverloseMenuSource~=cachedSource then
writefile(root..'/autoexecute.lua',env.NeverloseMenuSource);cachedSource=env.NeverloseMenuSource
end
assert(isfile(root..'/autoexecute.lua'),'Run neverlose_loader.lua once to cache the current script')
end
persist(status.enabled)
if status.enabled and (not env.NeverloseAutoExecuteQueued or env.NeverloseAutoExecuteQueueVersion~=QUEUE_VERSION)then
local bootstrap=BOOTSTRAP:gsub('__STARTUP_SOURCE__',function()return startupSource end)
assert(queue(bootstrap)~=false,'The executor rejected the teleport queue request')
env.NeverloseAutoExecuteQueued=true;env.NeverloseAutoExecuteQueueVersion=QUEUE_VERSION
end
status.queued=env.NeverloseAutoExecuteQueued==true
end)
if not ok then
status.errors=status.errors+1;status.lastError=tostring(err);status.enabled=false
pcall(persist,false)
if api.get(path)==true then api.set(path,false)end
api.notify('Auto Execute',tostring(err))
end
return ok
end
local changed=api.onAnyChanged(function(changedPath)
if stopped then return end
revision=revision+1
if changedPath==path then prepare()
elseif api.get(path)==true then
local pending=revision
task.delay(.2,function()if not stopped and pending==revision then prepare()end end)
end
end)
connect(player.OnTeleport,function(event)
if event==Enum.TeleportState.Started or event==Enum.TeleportState.InProgress then prepare()
elseif event==Enum.TeleportState.Failed then
-- A failed teleport does not consume the executor's queued script.
prepare()
end
end)
table.insert(cleanups,function()
stopped=true;revision=revision+1;changed:Disconnect();status.enabled=false
pcall(persist,false)
end)
prepare()
return {status=function()return table.clone(status)end}
end
end)()
local function main()
if setthreadidentity then setthreadidentity(8) end
loadIcons()
local env = getgenv and getgenv() or {}
local reloadValues = env.NeverloseTeleportValues
if env.NeverloseMenu and env.NeverloseMenu.snapshot then
local ok,values=pcall(env.NeverloseMenu.snapshot)
if ok then reloadValues=values end
end
-- Keep the exact snapshot available if startup fails before the API is installed.
env.NeverloseTeleportValues = reloadValues
if env.NeverloseMenu and env.NeverloseMenu.unload then
pcall(env.NeverloseMenu.unload)
end
local guiParent = (gethui and gethui()) or cloneref(game:GetService("CoreGui"))
local previous = guiParent:FindFirstChild("NeverloseMenu")
if previous then
previous:Destroy()
end
if env.NeverloseMenuConnections then
for _, c in ipairs(env.NeverloseMenuConnections) do
pcall(function()
c:Disconnect()
end)
end
end
if env.NeverloseMenuCleanups then
for i=#env.NeverloseMenuCleanups,1,-1 do
if setthreadidentity then setthreadidentity(8) end
pcall(env.NeverloseMenuCleanups[i])
end
end
local connections = {}
local cleanups = {}
env.NeverloseMenuCleanups = cleanups
env.NeverloseMenuConnections = connections
local function connect(signal, fn)
local c = signal:Connect(fn)
table.insert(connections, c)
return c
end
local api = {}
local selectPage -- assigned in the navigation section
local notify -- assigned in the notifications section
local currentPage
local dpiScale = 1
---------------------------------------------------------------------------------------
-- Value store: every control reads/writes here, keyed by "Page/Group/Label".
-- Pages with tabs (Players) or a weapon picker (Ragebot) keep one set per tab.
---------------------------------------------------------------------------------------
local Store = {
values = {},
defaults = {},
kinds = {},
controls = {},
listeners = {},
any = {},
contexts = {},
pageOf = {},
rerender = {},
index = {},
binds = {},
held = {},
captureUntil = 0,
}
local function storeKey(path)
local ctx = Store.contexts[Store.pageOf[path] or ""]
return ctx and (path .. "@" .. ctx) or path
end
local function getValue(path, context)
local v = Store.values[context and (path .. "@" .. context) or storeKey(path)]
if v == nil and Store.pageOf[path] == "skins" then v = Store.values[path] end
if v == nil and Store.pageOf[path] == "ragebot" then v = Store.values[path .. "@Global"] end
if v == nil then
v = Store.defaults[path]
end
return copyValue(v)
end
local function fire(path, value)
for _, fn in ipairs(Store.listeners[path] or {}) do
task.spawn(fn, copyValue(value))
end
for _, fn in ipairs(Store.any) do
task.spawn(fn, path, copyValue(value))
end
end
local function setValue(path, value)
Store.values[storeKey(path)] = copyValue(value)
for _, apply in ipairs(Store.controls[path] or {}) do
apply(copyValue(value))
end
fire(path, value)
end
local function declare(path, kind, default, pageKey)
if Store.defaults[path] == nil then
Store.defaults[path] = copyValue(default)
Store.kinds[path] = kind
Store.pageOf[path] = pageKey
end
end
local function register(path, apply)
Store.controls[path] = Store.controls[path] or {}
table.insert(Store.controls[path], apply)
apply(getValue(path))
return function()
local list = Store.controls[path]
for i, f in ipairs(list) do
if f == apply then
table.remove(list, i)
break
end
end
end
end
local function onChanged(path, fn)
Store.listeners[path] = Store.listeners[path] or {}
table.insert(Store.listeners[path], fn)
return {
Disconnect = function()
local list = Store.listeners[path]
for i, f in ipairs(list) do
if f == fn then
table.remove(list, i)
break
end
end
end,
}
end
local function refreshPaths(filter)
for path in pairs(Store.defaults) do
if not filter or filter(path) then
local v = getValue(path)
for _, apply in ipairs(Store.controls[path] or {}) do
apply(copyValue(v))
end
fire(path, v)
end
end
end
local function setContext(pageKey, ctx)
Store.contexts[pageKey] = ctx
refreshPaths(function(p)
return Store.pageOf[p] == pageKey
end)
end
Store.contexts.ragebot = "Global"
Store.contexts.players = "Enemies"
---------------------------------------------------------------------------------------
-- Window
---------------------------------------------------------------------------------------
local gui = create("ScreenGui", {
Name = "NeverloseMenu",
IgnoreGuiInset = true,
ResetOnSpawn = false,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
DisplayOrder = 1000,
})
table.insert(cleanups, function() gui:Destroy() end)
pcall(function()
if protectgui then
protectgui(gui)
end
end)
local menuBasePosition = UDim2.fromScale(0.5, 0.5)
local holder = frame({
Name = "Holder",
Visible = false,
AnchorPoint = Vector2.new(0.5, 0.5),
Position = menuBasePosition,
Size = UDim2.fromOffset(WIN_W, WIN_H),
BackgroundTransparency = 1,
Parent = gui,
})
local holderScale = create("UIScale", { Scale = 1, Parent = holder })
local menuMotion = create("NumberValue", { Value = 0 })
local menuOpen = false
local gameAdapter = installGameAdapter(connect, cleanups, getValue, function() return menuOpen end)
local function applyMenuMotion()
local offset = math.floor((1 - menuMotion.Value) * 8 + 0.5)
holder.Position = UDim2.new(menuBasePosition.X.Scale, menuBasePosition.X.Offset, menuBasePosition.Y.Scale, menuBasePosition.Y.Offset + offset)
end
connect(menuMotion.Changed, applyMenuMotion)
applyMenuMotion()
local window = create("CanvasGroup", {
Name = "Window",
GroupTransparency = 1,
Size = UDim2.fromScale(1, 1),
BackgroundTransparency = 1,
Active = true,
Parent = holder,
})
-- frees the mouse in first-person games while the menu is open
local mouseUnlock = create("TextButton", {
Name = "MouseUnlock",
Modal = true,
BackgroundTransparency = 1,
Text = "",
Size = UDim2.fromOffset(0, 0),
Parent = window,
})
-- The sidebar is an acrylic panel: the game behind it is blurred (see the blur section
-- further down) and covered by a navy tint that lets ~12% of it through. The content
-- side is solid. Measured from footage where bright objects passed behind the menu.
frame({
Name = "SidebarTint",
Size = UDim2.fromOffset(SIDEBAR_W + 10, WIN_H),
BackgroundColor3 = Theme.SidebarTint,
BackgroundTransparency = Theme.SidebarSeeThrough,
Parent = window,
}, { corner(WIN_RADIUS) })
frame({
Name = "ContentBackground",
Position = UDim2.fromOffset(SIDEBAR_W, 0),
Size = UDim2.fromOffset(CONTENT_W, WIN_H),
BackgroundColor3 = Theme.Content,
Parent = window,
}, { corner(WIN_RADIUS) })
frame({
Name = "ContentSquareEdge",
Position = UDim2.fromOffset(SIDEBAR_W, 0),
Size = UDim2.fromOffset(WIN_RADIUS + 2, WIN_H),
BackgroundColor3 = Theme.Content,
Parent = window,
})
local sidebar = frame({
Name = "Sidebar",
Size = UDim2.fromOffset(SIDEBAR_W, WIN_H),
BackgroundTransparency = 1,
Parent = window,
})
frame({
Name = "Edge",
Position = UDim2.fromOffset(SIDEBAR_W - 1, 0),
Size = UDim2.fromOffset(1, WIN_H),
BackgroundColor3 = Theme.SidebarEdge,
Parent = window,
})
local logoArea = frame({
Name = "LogoArea",
Size = UDim2.fromOffset(SIDEBAR_W, 60),
BackgroundTransparency = 1,
Parent = sidebar,
})
-- blue halo: a dark-blue stroked copy behind, plus a teal copy nudged left for the edge fringe
local glow = text({
Name = "LogoGlow",
Text = "NEVERLOSE",
FontFace = Fonts.Logo,
TextSize = 30,
TextColor3 = rgb(0, 40, 78),
Position = UDim2.fromOffset(15, 19),
Size = UDim2.fromOffset(170, 30),
Parent = logoArea,
})
create("UIStroke", {
Color = rgb(0, 30, 62),
Thickness = 2.2,
Transparency = 0.15,
ApplyStrokeMode = Enum.ApplyStrokeMode.Contextual,
LineJoinMode = Enum.LineJoinMode.Round,
Parent = glow,
})
text({
Name = "LogoFringe",
Text = "NEVERLOSE",
FontFace = Fonts.Logo,
TextSize = 30,
TextColor3 = rgb(52, 140, 184),
TextTransparency = 0.1,
Position = UDim2.fromOffset(14, 19),
Size = UDim2.fromOffset(170, 30),
Parent = logoArea,
})
text({
Name = "Logo",
Text = "NEVERLOSE",
FontFace = Fonts.Logo,
TextSize = 30,
TextColor3 = Theme.Logo,
Position = UDim2.fromOffset(15, 19),
Size = UDim2.fromOffset(170, 30),
Parent = logoArea,
})
local NAV = {
{ "Aimbot", { { "Ragebot", "ragebot" }, { "Legitbot", "legitbot" }, { "Anti Aim", "antiaim" } } },
{ "Visuals", { { "Players", "players" }, { "World", "world" } } },
{ "Miscellaneous", { { "Main", "main" }, { "Scripts", "scripts" }, { "Configs", "configs" } } },
}
if gameAdapter then table.insert(NAV[2][2], {"Skin Changer", "skins"}) end
if gameAdapter then table.insert(NAV[2][2], {"Model Changer", "models"}) end
local navHighlight = frame({
Name = "Active",
Position = UDim2.fromOffset(9, 0),
Size = UDim2.fromOffset(172, 30),
BackgroundColor3 = Theme.NavActive,
Parent = sidebar,
}, { corner(5) })
table.insert(Store.rerender, function()
navHighlight.BackgroundColor3 = Theme.NavActive
end)
-- measured: first item box at y=90, items every 35px, 69px from a section's last item
-- to the next section's first; section headers sit 20px above their first item
local navButtons = {}
local y = 90
for _, section in ipairs(NAV) do
text({
Name = section[1],
Text = section[1],
FontFace = Fonts.SemiBold,
TextSize = 13,
TextColor3 = Theme.NavHeader,
Position = UDim2.fromOffset(20, y - 20),
Size = UDim2.fromOffset(160, 16),
Parent = sidebar,
})
for _, item in ipairs(section[2]) do
local name, key = item[1], item[2]
local btn = hitbox({
Name = name,
Position = UDim2.fromOffset(9, y),
Size = UDim2.fromOffset(172, 30),
Parent = sidebar,
})
local ico = icon(key == "skins" and "players" or key, 14, Theme.NavIcon, {
Position = UDim2.fromOffset(13, 7),
Parent = btn,
})
local lbl = text({
Text = name,
FontFace = Fonts.SemiBold,
TextSize = 15,
TextColor3 = Theme.NavText,
Position = UDim2.fromOffset(41, 0),
Size = UDim2.fromOffset(130, 30),
Parent = btn,
})
navButtons[key] = { button = btn, icon = ico, label = lbl, y = btn.Position.Y.Offset, title = name }
y += 35
end
y += 69 - 35
end
-- profile
create("ImageLabel", {
Name = "Avatar",
Position = UDim2.fromOffset(14, 640),
Size = UDim2.fromOffset(34, 34),
BackgroundColor3 = rgb(18, 30, 46),
BorderSizePixel = 0,
Image = "rbxthumb://type=AvatarHeadShot&id=" .. LocalPlayer.UserId .. "&w=150&h=150",
Parent = sidebar,
}, { corner(UDim.new(1, 0)) })
text({
Name = "Username",
Text = LocalPlayer.Name,
FontFace = Fonts.SemiBold,
TextSize = 15,
TextColor3 = Theme.Name,
TextTruncate = Enum.TextTruncate.AtEnd,
Position = UDim2.fromOffset(58, 649),
Size = UDim2.fromOffset(124, 17),
Parent = sidebar,
})
---------------------------------------------------------------------------------------
-- Content + header
---------------------------------------------------------------------------------------
local content = frame({
Name = "Content",
Position = UDim2.fromOffset(SIDEBAR_W, 0),
Size = UDim2.fromOffset(CONTENT_W, WIN_H),
BackgroundTransparency = 1,
Parent = window,
})
local header = frame({
Name = "Header",
Size = UDim2.fromOffset(CONTENT_W, HEADER_H),
BackgroundTransparency = 1,
Parent = content,
})
frame({
Name = "HeaderLine",
Position = UDim2.fromOffset(0, HEADER_H),
Size = UDim2.fromOffset(CONTENT_W, 2),
BackgroundColor3 = Theme.Line,
Parent = content,
})
local function field(props)
local f = frame({
Name = props.Name or "Field",
Position = props.Position,
Size = props.Size,
AnchorPoint = props.AnchorPoint,
BackgroundColor3 = Theme.Field,
Parent = props.Parent,
})
corner(props.Radius or 3).Parent = f
local s = stroke(Theme.FieldStroke, 1)
s.Parent = f
return f, s
end
-- HUD (watermark, keybind list) and notifications sit outside the window so they stay
-- visible while the menu is closed. Popups go on top of everything.
local hud = frame({ Name = "HUD", Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Parent = gui })
local toastHolder = frame({
Name = "Notifications",
AnchorPoint = Vector2.new(1, 1),
Position = UDim2.new(1, -16, 1, -16),
Size = UDim2.fromOffset(300, 500),
BackgroundTransparency = 1,
Parent = gui,
}, {
create("UIListLayout", {
VerticalAlignment = Enum.VerticalAlignment.Bottom,
Padding = UDim.new(0, 6),
SortOrder = Enum.SortOrder.LayoutOrder,
}),
})
local popupLayer = frame({
Name = "Popups",
Size = UDim2.fromScale(1, 1),
BackgroundTransparency = 1,
ZIndex = 50,
Parent = gui,
})
---------------------------------------------------------------------------------------
-- Popups (dropdown lists, colour pickers, panels). Kept as a stack so a dropdown
-- inside a panel can open its own list without closing the panel.
---------------------------------------------------------------------------------------
-- AbsolutePosition leaves out the top bar inset while the mouse location includes it,
-- so everything is converted into the popup layer's own space.
local function mouseAbs()
return UserInputService:GetMouseLocation() + popupLayer.AbsolutePosition
end
local function toLayer(pos)
return pos - popupLayer.AbsolutePosition
end
local function isInside(obj, pos)
local ap, as = obj.AbsolutePosition, obj.AbsoluteSize
return pos.X >= ap.X and pos.X <= ap.X + as.X and pos.Y >= ap.Y and pos.Y <= ap.Y + as.Y
end
local popupStack = {}
local function levelOf(obj)
for i = #popupStack, 1, -1 do
if obj:IsDescendantOf(popupStack[i].frame) then
return i
end
end
return 0
end
local function closePopupsAbove(level)
for i = #popupStack, level + 1, -1 do
local p = table.remove(popupStack, i)
pcall(p.close)
end
end
local function closePopup()
closePopupsAbove(0)
end
local function pushPopup(popupFrame, owner, close)
create("UIScale", { Scale = dpiScale, Parent = popupFrame })
table.insert(popupStack, { frame = popupFrame, owner = owner, close = close })
end
local function topOwner()
local p = popupStack[#popupStack]
return p and p.owner
end
connect(UserInputService.InputBegan, function(input)
if #popupStack == 0 then
return
end
if input.UserInputType == Enum.UserInputType.MouseButton1 then
local pos = mouseAbs()
for i = #popupStack, 1, -1 do
local p = popupStack[i]
if isInside(p.frame, pos) or (p.owner and p.owner.Parent and isInside(p.owner, pos)) then
closePopupsAbove(i)
return
end
end
closePopup()
elseif input.KeyCode == Enum.KeyCode.Escape then
closePopupsAbove(#popupStack - 1)
end
end)
-- places a popup of the given (unscaled) size under `owner`, flipping above it near the bottom
local function popupPosition(owner, w, h, alignRight)
local ap, os_ = toLayer(owner.AbsolutePosition), owner.AbsoluteSize
local screen = popupLayer.AbsoluteSize
local sw, sh = w * dpiScale, h * dpiScale
local x = alignRight and (ap.X + os_.X - sw) or ap.X
local yy = ap.Y + os_.Y + 3
if yy + sh > screen.Y - 8 then
yy = ap.Y - sh - 3
end
x = math.clamp(x, 8, math.max(8, screen.X - sw - 8))
return UDim2.fromOffset(x, yy)
end
---------------------------------------------------------------------------------------
-- Controls. Each returns its root plus an `apply(value)` that updates the visuals
-- without reporting back; user input calls `onUser(newValue)`.
---------------------------------------------------------------------------------------
local Controls = {}
function Controls.switch(parent, onUser)
local root = hitbox({
Name = "Switch",
AnchorPoint = Vector2.new(1, 0.5),
Size = UDim2.fromOffset(26, 14),
Parent = parent,
})
local track = frame({
Name = "Track",
AnchorPoint = Vector2.new(0, 0.5),
Position = UDim2.fromScale(0, 0.5),
Size = UDim2.fromOffset(26, 13),
BackgroundColor3 = Theme.TrackOff,
Parent = root,
}, { corner(UDim.new(1, 0)) })
local trackStroke = stroke(Theme.FieldStroke, 1)
trackStroke.Parent = track
local knob = frame({
Name = "Knob",
Size = UDim2.fromOffset(14, 14),
BackgroundColor3 = Theme.KnobOff,
Parent = root,
}, { corner(UDim.new(1, 0)) })
local state, initialised = false, false
local function render(animate)
local knobProps = {
Position = UDim2.fromOffset(state and 12 or 0, 0),
BackgroundColor3 = state and Theme.KnobOn or Theme.KnobOff,
}
local trackProps = { BackgroundColor3 = state and Theme.TrackOn or Theme.TrackOff }
local strokeProps = { Color = state and Theme.TrackOnStroke or Theme.FieldStroke }
if animate then
tween(knob, 0.16, knobProps)
tween(track, 0.16, trackProps)
tween(trackStroke, 0.16, strokeProps)
else
knob.Position = knobProps.Position
knob.BackgroundColor3 = knobProps.BackgroundColor3
track.BackgroundColor3 = trackProps.BackgroundColor3
trackStroke.Color = strokeProps.Color
end
end
local function apply(v)
local changed = (v == true) ~= state
state = v == true
render(initialised and changed)
initialised = true
end
local function toggle()
state = not state
render(true)
onUser(state)
end
connect(root.MouseButton1Click, toggle)
table.insert(Store.rerender, function()
render(false)
end)
return root, apply, toggle
end
function Controls.slider(parent, opts, onUser)
local min, max = opts.min, opts.max
local step = opts.step or 1
local value = opts.default
local trackW = 92
local root = frame({
Name = "Slider",
AnchorPoint = Vector2.new(1, 0.5),
Size = UDim2.fromOffset(trackW + 40, 16),
BackgroundTransparency = 1,
Parent = parent,
})
local valueLabel = text({
Name = "Value",
AnchorPoint = Vector2.new(1, 0),
Position = UDim2.fromScale(1, 0),
Size = UDim2.fromOffset(34, 16),
FontFace = Fonts.SemiBold,
TextSize = 12,
TextColor3 = Theme.Value,
TextXAlignment = Enum.TextXAlignment.Right,
Parent = root,
})
local hit = hitbox({ Name = "Hit", Size = UDim2.fromOffset(trackW, 16), Parent = root })
local track = frame({
Name = "Track",
AnchorPoint = Vector2.new(0, 0.5),
Position = UDim2.fromScale(0, 0.5),
Size = UDim2.fromOffset(trackW, 3),
BackgroundColor3 = Theme.SliderTrack,
Parent = hit,
}, { corner(UDim.new(1, 0)) })
local fill = frame({
Name = "Fill",
Size = UDim2.fromScale(0, 1),
BackgroundColor3 = Theme.SliderFill,
Parent = track,
}, { corner(UDim.new(1, 0)) })
local knob = frame({
Name = "Knob",
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.fromScale(0, 0.5),
Size = UDim2.fromOffset(12, 12),
BackgroundColor3 = Theme.SliderKnob,
Parent = track,
}, { corner(UDim.new(1, 0)) })
local function format(v)
if opts.format then
return opts.format(v)
end
local s = (step < 1) and string.format("%.1f", v) or tostring(math.floor(v + 0.5))
return s .. (opts.suffix or "")
end
local function render()
local a = (value - min) / (max - min)
fill.Size = UDim2.fromScale(a, 1)
knob.Position = UDim2.fromScale(a, 0.5)
valueLabel.Text = format(value)
end
local function apply(v)
value = math.clamp(tonumber(v) or opts.default, min, max)
render()
end
table.insert(Store.rerender, function()
fill.BackgroundColor3 = Theme.SliderFill
knob.BackgroundColor3 = Theme.SliderKnob
end)
local dragging = false
local function updateFromMouse()
local mx = mouseAbs().X
local a = math.clamp((mx - track.AbsolutePosition.X) / track.AbsoluteSize.X, 0, 1)
local v = min + (max - min) * a
v = math.floor(v / step + 0.5) * step
v = math.clamp(v, min, max)
if v ~= value then
value = v
render()
onUser(value)
end
end
connect(hit.MouseButton1Down, function()
dragging = true
updateFromMouse()
tween(knob, 0.12, { Size = UDim2.fromOffset(14, 14) })
end)
connect(UserInputService.InputChanged, function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
updateFromMouse()
end
end)
connect(UserInputService.InputEnded, function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
tween(knob, 0.12, { Size = UDim2.fromOffset(12, 12) })
end
end)
-- scroll wheel nudges the value while hovering
connect(hit.MouseWheelForward, function()
value = math.clamp(value + step, min, max)
render()
onUser(value)
end)
connect(hit.MouseWheelBackward, function()
value = math.clamp(value - step, min, max)
render()
onUser(value)
end)
return root, apply
end
local function openList(owner, options, isSelected, pick, multi, width)
closePopupsAbove(levelOf(owner))
local itemH = 22
width = width or (owner.AbsoluteSize.X / dpiScale)
local maxVisible = 10
local visible = math.min(#options, maxVisible)
local searchH = #options > 20 and 30 or 0
local fullH = visible * itemH + 4 + searchH
local list = frame({
Name = "List",
Position = popupPosition(owner, width, fullH),
Size = UDim2.fromOffset(width, 0),
ClipsDescendants = true,
BackgroundColor3 = Theme.Popup,
Parent = popupLayer,
})
corner(3).Parent = list
stroke(Theme.FieldStroke, 1).Parent = list
local scroller = create("ScrollingFrame", {
Position = UDim2.fromOffset(2, 2 + searchH),
Size = UDim2.new(1, -4, 1, -4 - searchH),
BackgroundTransparency = 1,
BorderSizePixel = 0,
ScrollBarThickness = #options > maxVisible and 2 or 0,
ScrollBarImageColor3 = rgb(40, 55, 70),
CanvasSize = UDim2.fromOffset(0, #options * itemH),
Parent = list,
})
local entries = {}
local function refresh()
for i, e in ipairs(entries) do
local sel = isSelected(i)
e.label.TextColor3 = sel and Theme.Title or Theme.Value
if e.check then
e.check.Visible = sel
end
end
end
for i, opt in ipairs(options) do
local b = hitbox({
Position = UDim2.fromOffset(0, (i - 1) * itemH),
Size = UDim2.new(1, 0, 0, itemH),
BackgroundColor3 = Theme.PopupHover,
Parent = scroller,
})
corner(2).Parent = b
local l = text({
Text = opt,
FontFace = Fonts.SemiBold,
TextSize = 13,
Position = UDim2.fromOffset(7, 0),
Size = UDim2.new(1, -26, 1, 0),
TextTruncate = Enum.TextTruncate.AtEnd,
Parent = b,
})
local check
if multi then
check = icon("check", 10, Theme.NavIcon, {
AnchorPoint = Vector2.new(1, 0.5),
Position = UDim2.new(1, -7, 0.5, 0),
Parent = b,
})
end
entries[i] = { label = l, check = check, button = b }
connect(b.MouseEnter, function()
b.BackgroundTransparency = 0
end)
connect(b.MouseLeave, function()
b.BackgroundTransparency = 1
end)
connect(b.MouseButton1Click, function()
pick(i)
refresh()
if not multi then
closePopupsAbove(levelOf(owner))
end
end)
end
if searchH > 0 then
local search = create("TextBox", {Name="Search", Position=UDim2.fromOffset(6,5),Size=UDim2.new(1,-12,0,22),BackgroundColor3=Theme.Field,BorderSizePixel=0,Text="",PlaceholderText="Search...",ClearTextOnFocus=false,FontFace=Fonts.SemiBold,TextSize=12,TextColor3=Theme.Title,PlaceholderColor3=Theme.Dim,TextXAlignment=Enum.TextXAlignment.Left,Parent=list})
corner(3).Parent=search
create("UIPadding",{PaddingLeft=UDim.new(0,6),Parent=search})
connect(search:GetPropertyChangedSignal("Text"),function()
local query=search.Text:lower();local count=0
for i,e in ipairs(entries)do
local show=options[i]:lower():find(query,1,true)~=nil
e.button.Visible=show
if show then e.button.Position=UDim2.fromOffset(0,count*itemH);count=count+1 end
end
scroller.CanvasSize=UDim2.fromOffset(0,count*itemH);scroller.CanvasPosition=Vector2.zero;scroller.ScrollBarThickness=count>maxVisible and 2 or 0
end)
end
refresh()
tween(list, 0.12, { Size = UDim2.fromOffset(width, fullH) })
pushPopup(list, owner, function()
list:Destroy()
end)
end
function Controls.dropdown(parent, opts, onUser)
local options = opts.options
local multi = opts.multi
local selected = multi and {} or 1
local width = opts.width or 130
local height = opts.height or 22
local root, rootStroke = field({
Name = "Dropdown",
AnchorPoint = Vector2.new(1, 0.5),
Size = UDim2.fromOffset(width, height),
Parent = parent,
})
local valueLabel = text({
Name = "Value",
FontFace = Fonts.SemiBold,
TextSize = opts.textSize or 14,
TextColor3 = Theme.Label,
TextTruncate = Enum.TextTruncate.AtEnd,
Position = UDim2.fromOffset(opts.padding or 8, 0),
Size = UDim2.new(1, -(opts.padding or 8) - 22, 1, 0),
Parent = root,
})
icon("chevron", opts.chevron or 10, Theme.Label, {
AnchorPoint = Vector2.new(1, 0.5),
Position = UDim2.new(1, -8, 0.5, 0),
Parent = root,
})
local function current()
if multi then
local names = {}
for i, opt in ipairs(options) do
if selected[i] then
table.insert(names, opt)
end
end
return names
end
return options[selected]
end
local function render()
if multi then
local names = current()
valueLabel.Text = #names > 0 and table.concat(names, ", ") or "Select"
else
valueLabel.Text = options[selected] or "-"
end
end
local function apply(v)
if multi then
selected = {}
for _, name in ipairs(type(v) == "table" and v or {}) do
local i = table.find(options, name)
if i then
selected[i] = true
end
end
else
selected = table.find(options, v) or 1
end
render()
end
apply(opts.default)
local hit = hitbox({ Size = UDim2.fromScale(1, 1), Parent = root })
connect(hit.MouseEnter, function()
tween(rootStroke, 0.15, { Color = rgb(9, 52, 80) })
end)
connect(hit.MouseLeave, function()
tween(rootStroke, 0.15, { Color = Theme.FieldStroke })
end)
connect(hit.MouseButton1Click, function()
if topOwner() == root then
closePopupsAbove(levelOf(root))
return
end
openList(root, options, function(i)
if multi then
return selected[i] == true
end
return selected == i
end, function(i)
if multi then
selected[i] = not selected[i] or nil
else
selected = i
end
render()
onUser(current())
end, multi, width)
end)
return root, apply
end
local function hsvPopup(owner, color, onChange)
closePopupsAbove(levelOf(owner))
local h, s, v = color:ToHSV()
local pop = frame({
Name = "ColorPicker",
Position = popupPosition(owner, 190, 186, true),
Size = UDim2.fromOffset(190, 186),
BackgroundColor3 = Theme.Popup,
Parent = popupLayer,
})
corner(4).Parent = pop
stroke(Theme.FieldStroke, 1).Parent = pop
local sv = frame({
Name = "SV",
Position = UDim2.fromOffset(8, 8),
Size = UDim2.fromOffset(150, 144),
BackgroundColor3 = Color3.fromHSV(h, 1, 1),
Parent = pop,
}, { corner(3) })
frame({ Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(1, 1, 1), Parent = sv }, {
corner(3),
create("UIGradient", { Transparency = NumberSequence.new(0, 1) }),
})
frame({ Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(0, 0, 0), Parent = sv }, {
corner(3),
create("UIGradient", { Transparency = NumberSequence.new(1, 0), Rotation = 90 }),
})
local svCursor = frame({
AnchorPoint = Vector2.new(0.5, 0.5),
Size = UDim2.fromOffset(8, 8),
BackgroundTransparency = 1,
Parent = sv,
}, { corner(UDim.new(1, 0)), stroke(Color3.new(1, 1, 1), 1.5) })
local hue = frame({
Name = "Hue",
Position = UDim2.fromOffset(168, 8),
Size = UDim2.fromOffset(14, 144),
BackgroundColor3 = Color3.new(1, 1, 1),
Parent = pop,
}, {
corner(3),
create("UIGradient", {
Rotation = 90,
Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromHSV(0, 1, 1)),
ColorSequenceKeypoint.new(1 / 6, Color3.fromHSV(1 / 6, 1, 1)),
ColorSequenceKeypoint.new(2 / 6, Color3.fromHSV(2 / 6, 1, 1)),
ColorSequenceKeypoint.new(3 / 6, Color3.fromHSV(3 / 6, 1, 1)),
ColorSequenceKeypoint.new(4 / 6, Color3.fromHSV(4 / 6, 1, 1)),
ColorSequenceKeypoint.new(5 / 6, Color3.fromHSV(5 / 6, 1, 1)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(1, 1, 1)),
}),
}),
})
local hueCursor = frame({
AnchorPoint = Vector2.new(0.5, 0.5),
Size = UDim2.new(1, 4, 0, 4),
BackgroundTransparency = 1,
Parent = hue,
}, { corner(2), stroke(Color3.new(1, 1, 1), 1.5) })
-- hex entry under the picker
local hexBox = create("TextBox", {
Position = UDim2.fromOffset(8, 158),
Size = UDim2.fromOffset(174, 20),
BackgroundColor3 = Theme.Field,
BorderSizePixel = 0,
FontFace = Fonts.SemiBold,
TextSize = 13,
TextColor3 = Theme.Label,
ClearTextOnFocus = false,
Text = toHex(color),
Parent = pop,
}, { corner(3), stroke(Theme.FieldStroke, 1) })
local function render(report)
sv.BackgroundColor3 = Color3.fromHSV(h, 1, 1)
svCursor.Position = UDim2.fromScale(s, 1 - v)
hueCursor.Position = UDim2.fromScale(0.5, h)
local c = Color3.fromHSV(h, s, v)
if not hexBox:IsFocused() then
hexBox.Text = toHex(c)
end
if report then
onChange(c)
end
end
render(false)
local mode
local function update()
local m = mouseAbs()
if mode == "sv" then
s = math.clamp((m.X - sv.AbsolutePosition.X) / sv.AbsoluteSize.X, 0, 1)
v = 1 - math.clamp((m.Y - sv.AbsolutePosition.Y) / sv.AbsoluteSize.Y, 0, 1)
elseif mode == "hue" then
h = math.clamp((m.Y - hue.AbsolutePosition.Y) / hue.AbsoluteSize.Y, 0, 0.999)
end
render(true)
end
local svHit = hitbox({ Size = UDim2.fromScale(1, 1), ZIndex = 5, Parent = sv })
local hueHit = hitbox({ Size = UDim2.fromScale(1, 1), ZIndex = 5, Parent = hue })
local conns = {
svHit.MouseButton1Down:Connect(function()
mode = "sv"
update()
end),
hueHit.MouseButton1Down:Connect(function()
mode = "hue"
update()
end),
UserInputService.InputChanged:Connect(function(input)
if mode and input.UserInputType == Enum.UserInputType.MouseMovement then
update()
end
end),
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
mode = nil
end
end),
hexBox.FocusLost:Connect(function()
local c = fromHex(hexBox.Text)
h, s, v = c:ToHSV()
render(true)
end),
}
pushPopup(pop, owner, function()
for _, c in ipairs(conns) do
c:Disconnect()
end
pop:Destroy()
end)
end
function Controls.color(parent, onUser)
local root = frame({
Name = "Color",
AnchorPoint = Vector2.new(1, 0.5),
Size = UDim2.fromOffset(16, 12),
BackgroundColor3 = Color3.new(1, 1, 1),
Parent = parent,
}, { corner(3) })
stroke(Theme.FieldStroke, 1).Parent = root
local function apply(hex)
root.BackgroundColor3 = fromHex(hex)
end
local hit = hitbox({ Size = UDim2.new(1, 6, 1, 8), Position = UDim2.fromOffset(-3, -4), Parent = root })
connect(hit.MouseButton1Click, function()
if topOwner() == root then
closePopupsAbove(levelOf(root))
return
end
hsvPopup(root, root.BackgroundColor3, function(c)
root.BackgroundColor3 = c
onUser(toHex(c))
end)
end)
return root, apply
end
function Controls.keybind(parent, onUser, width)
local root, rootStroke = field({
Name = "Keybind",
AnchorPoint = Vector2.new(1, 0.5),
Size = UDim2.fromOffset(width or 74, 22),
Parent = parent,
})
local label = text({
FontFace = Fonts.SemiBold,
TextSize = 13,
TextXAlignment = Enum.TextXAlignment.Center,
Size = UDim2.fromScale(1, 1),
Parent = root,
})
local value, listening = "None", false
local function render()
label.Text = listening and "..." or value
label.TextColor3 = (value == "None" and not listening) and Theme.Value or Theme.Label
rootStroke.Color = listening and Theme.KnobOn or Theme.FieldStroke
end
local function apply(v)
value = v or "None"
render()
end
local hit = hitbox({ Size = UDim2.fromScale(1, 1), Parent = root })
connect(hit.MouseButton1Click, function()
if listening then
return
end
listening = true
Store.captureUntil = math.huge
render()
local conn
conn = UserInputService.InputBegan:Connect(function(input)
local name
if input.UserInputType == Enum.UserInputType.MouseButton1 then
name = false -- clicking cancels
elseif input.KeyCode == Enum.KeyCode.Escape then
name = false
elseif input.KeyCode == Enum.KeyCode.Backspace or input.KeyCode == Enum.KeyCode.Delete then
name = "None"
else
name = keyName(input)
if not name then
return
end
end
conn:Disconnect()
listening = false
Store.captureUntil = os.clock() + 0.25
if name then
value = name
onUser(value)
end
render()
end)
table.insert(connections, conn)
end)
return root, apply
end
function Controls.gear(parent, onClick)
local root = hitbox({
Name = "Settings",
AnchorPoint = Vector2.new(1, 0.5),
Size = UDim2.fromOffset(13, 13),
Parent = parent,
})
local img = icon("gear", 13, Theme.Dim, { Parent = root })
connect(root.MouseEnter, function()
tween(img, 0.15, { ImageColor3 = Theme.Label })
end)
connect(root.MouseLeave, function()
tween(img, 0.15, { ImageColor3 = Theme.Dim })
end)
if onClick then
connect(root.MouseButton1Click, function()
onClick(root)
end)
end
return root
end
function Controls.button(parent, label, iconName, width, height, style)
local function baseColor()
if style == "danger" then
return rgb(150, 38, 46)
elseif style == "dim" then
return Theme.Button:Lerp(Theme.Group, 0.55)
end
return Theme.Button
end
local root = frame({
Name = label,
Size = UDim2.fromOffset(width, height),
BackgroundColor3 = baseColor(),
Parent = parent,
}, { corner(3) })
local row = frame({
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.fromScale(0.5, 0.5),
Size = UDim2.fromOffset(width, height),
BackgroundTransparency = 1,
Parent = root,
}, {
create("UIListLayout", {
FillDirection = Enum.FillDirection.Horizontal,
HorizontalAlignment = Enum.HorizontalAlignment.Center,
VerticalAlignment = Enum.VerticalAlignment.Center,
Padding = UDim.new(0, 9),
SortOrder = Enum.SortOrder.LayoutOrder,
}),
})
local img
if iconName then
img = icon(iconName, 11, Color3.new(1, 1, 1), { LayoutOrder = 1, Parent = row })
end
local labelObj = text({
Text = label,
FontFace = Fonts.Bold,
TextSize = height >= 28 and 14 or 13,
TextColor3 = Color3.new(1, 1, 1),
AutomaticSize = Enum.AutomaticSize.X,
Size = UDim2.fromOffset(0, height),
LayoutOrder = 2,
Parent = row,
})
local hit = hitbox({ Size = UDim2.fromScale(1, 1), Parent = root })
local hovering = false
connect(hit.MouseEnter, function()
hovering = true
tween(root, 0.15, { BackgroundColor3 = baseColor():Lerp(Color3.new(1, 1, 1), 0.08) })
end)
connect(hit.MouseLeave, function()
hovering = false
tween(root, 0.15, { BackgroundColor3 = baseColor() })
end)
table.insert(Store.rerender, function()
if not hovering then
root.BackgroundColor3 = baseColor()
end
end)
return root, hit, labelObj, img
end
function Controls.tabs(parent, names, position, onSelect)
local segW = 100
local root = frame({
Name = "Tabs",
Position = position,
Size = UDim2.fromOffset(segW * #names, 29),
BackgroundTransparency = 1,
Parent = parent,
}, { corner(3) })
stroke(Theme.FieldStroke, 1).Parent = root
local active = frame({
Name = "Active",
Position = UDim2.fromOffset(1, 1),
Size = UDim2.fromOffset(segW, 27),
BackgroundColor3 = Theme.TabActive,
Parent = root,
}, { corner(2) })
table.insert(Store.rerender, function()
active.BackgroundColor3 = Theme.TabActive
end)
local labels, dividers = {}, {}
local currentTab = 1
local function render()
for i, l in ipairs(labels) do
l.TextColor3 = (i == currentTab) and Color3.new(1, 1, 1) or Theme.Label
end
for i, d in ipairs(dividers) do
d.Visible = not (i == currentTab or i + 1 == currentTab)
end
end
for i, name in ipairs(names) do
local b = hitbox({
Position = UDim2.fromOffset((i - 1) * segW, 0),
Size = UDim2.fromOffset(segW, 29),
Parent = root,
})
labels[i] = text({
Text = name,
FontFace = Fonts.Bold,
TextSize = 15,
TextXAlignment = Enum.TextXAlignment.Center,
Size = UDim2.fromScale(1, 1),
Parent = b,
})
if i < #names then
dividers[i] = frame({
Position = UDim2.fromOffset(i * segW - 2, 5),
Size = UDim2.fromOffset(1, 19),
BackgroundColor3 = Theme.FieldStroke,
Parent = root,
})
end
connect(b.MouseButton1Click, function()
if currentTab == i then
return
end
currentTab = i
tween(active, 0.18, {
Position = UDim2.fromOffset(1 + (i - 1) * segW, 1),
Size = UDim2.fromOffset(i == #names and segW - 2 or segW, 27),
})
render()
if onSelect then
onSelect(i, name)
end
end)
end
render()
return root
end
-- single-line text input styled like the other fields
function Controls.input(parent, props)
local root = field({
Name = "Input",
Position = props.Position,
Size = props.Size,
AnchorPoint = props.AnchorPoint,
Parent = parent,
})
local box = create("TextBox", {
BackgroundTransparency = 1,
Position = UDim2.fromOffset(props.padding or 8, 0),
Size = UDim2.new(1, -(props.padding or 8) * 2, 1, 0),
FontFace = Fonts.SemiBold,
TextSize = props.textSize or 14,
TextColor3 = Theme.Title,
PlaceholderText = props.placeholder or "",
PlaceholderColor3 = Theme.Dim,
TextXAlignment = Enum.TextXAlignment.Left,
ClearTextOnFocus = false,
Text = props.text or "",
Parent = root,
})
return root, box
end
---------------------------------------------------------------------------------------
-- Notifications
---------------------------------------------------------------------------------------
local history = {}
local toastOrder = 0
notify = function(title, body, kind)
table.insert(history, 1, { title = title, body = body or "", time = os.date("%H:%M:%S"), kind = kind })
if #history > 30 then
table.remove(history)
end
if getValue("Main/Interface/Notifications") == false then
return
end
toastOrder += 1
local card = create("CanvasGroup", {
Name = "Toast",
Size = UDim2.fromOffset(300, 0),
AutomaticSize = Enum.AutomaticSize.Y,
BackgroundColor3 = Theme.Group,
BorderSizePixel = 0,
GroupTransparency = 1,
LayoutOrder = toastOrder,
Parent = toastHolder,
}, { corner(4), stroke(Theme.FieldStroke, 1) })
frame({
Name = "Accent",
Size = UDim2.new(0, 2, 1, 0),
BackgroundColor3 = kind == "error" and rgb(222, 70, 80) or Theme.KnobOn,
Parent = card,
})
local inner = frame({
Size = UDim2.new(1, 0, 0, 0),
AutomaticSize = Enum.AutomaticSize.Y,
BackgroundTransparency = 1,
Parent = card,
}, {
create("UIPadding", { PaddingLeft = UDim.new(0, 12), PaddingRight = UDim.new(0, 10), PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 9) }),
create("UIListLayout", { Padding = UDim.new(0, 2), SortOrder = Enum.SortOrder.LayoutOrder }),
})
text({
Text = title,
FontFace = Fonts.Bold,
TextSize = 14,
TextColor3 = Theme.Title,
Size = UDim2.new(1, 0, 0, 17),
LayoutOrder = 1,
Parent = inner,
})
if body and body ~= "" then
text({
Text = body,
FontFace = Fonts.SemiBold,
TextSize = 13,
TextColor3 = Theme.Label,
TextWrapped = true,
Size = UDim2.new(1, 0, 0, 0),
AutomaticSize = Enum.AutomaticSize.Y,
LayoutOrder = 2,
Parent = inner,
})
end
tween(card, 0.2, { GroupTransparency = 0 })
task.delay(4, function()
if card.Parent then
tween(card, 0.35, { GroupTransparency = 1 })
task.wait(0.4)
card:Destroy()
end
end)
end
---------------------------------------------------------------------------------------
-- Panels: small floating group boxes used for row settings (binds), menu settings,
-- text prompts and the notification log.
---------------------------------------------------------------------------------------
local buildRow -- defined below
local function openPanel(owner, title, width, build)
closePopupsAbove(levelOf(owner))
local panel = frame({
Name = "Panel",
Size = UDim2.fromOffset(width, 60),
BackgroundColor3 = Theme.Group,
Parent = popupLayer,
}, { corner(5) })
stroke(Theme.FieldStroke, 1).Parent = panel
text({
Text = title,
FontFace = Fonts.Bold,
TextSize = 15,
TextColor3 = Theme.Title,
Position = UDim2.fromOffset(10, 0),
Size = UDim2.new(1, -20, 0, 30),
Parent = panel,
})
frame({
Position = UDim2.fromOffset(5, 30),
Size = UDim2.new(1, -10, 0, 2),
BackgroundColor3 = Theme.Line,
Parent = panel,
})
local rows = frame({
Name = "Rows",
Position = UDim2.fromOffset(0, 47),
Size = UDim2.new(1, 0, 0, 0),
BackgroundTransparency = 1,
Parent = panel,
}, { create("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder }) })
local handles = {}
local bodyHeight = build(rows, handles, width)
local h = 47 + bodyHeight + 5
rows.Size = UDim2.new(1, 0, 0, bodyHeight)
panel.Size = UDim2.fromOffset(width, h)
panel.Position = popupPosition(owner, width, h, true)
pushPopup(panel, owner, function()
for _, release in ipairs(handles) do
release()
end
panel:Destroy()
end)
return panel
end
local function openBindPanel(owner, path, labelText)
openPanel(owner, labelText, 230, function(rows, handles, width)
buildRow(rows, { "keybind", "Key" }, 1, width, path, handles, Store.pageOf[path])
buildRow(rows, { "dropdown", "Mode", { "Toggle", "Hold", "Always" }, 1 }, 2, width, path, handles, Store.pageOf[path])
return ROW_H * 2
end)
end
local function prompt(owner, title, placeholder, confirmText, initial, onConfirm)
local box
openPanel(owner, title, 300, function(rows)
local row = frame({ Size = UDim2.new(1, 0, 0, ROW_H), BackgroundTransparency = 1, Parent = rows })
local _, b = Controls.input(row, {
Position = UDim2.fromOffset(10, 4),
Size = UDim2.fromOffset(300 - 20 - 88, 24),
placeholder = placeholder,
text = initial,
textSize = 13,
})
box = b
local btn, hit = Controls.button(row, confirmText, nil, 80, 24)
btn.Position = UDim2.fromOffset(300 - 10 - 80, 4)
local function submit()
local value = box.Text
closePopupsAbove(levelOf(owner))
onConfirm(value)
end
connect(hit.MouseButton1Click, submit)
connect(box.FocusLost, function(enter)
if enter then
submit()
end
end)
return ROW_H
end)
task.defer(function()
if box and box.Parent then
box:CaptureFocus()
end
end)
end
---------------------------------------------------------------------------------------
-- Rows and groups
---------------------------------------------------------------------------------------
buildRow = function(parent, spec, order, width, base, handles, pageKey, searchMeta)
local kind, labelText = spec[1], spec[2]
local path = base .. "/" .. labelText
local row = frame({
Name = labelText,
Size = UDim2.new(1, 0, 0, ROW_H),
BackgroundTransparency = 1,
LayoutOrder = order,
Parent = parent,
})
local labelObj = text({
Name = "Label",
Text = labelText,
FontFace = Fonts.SemiBold,
TextSize = 14,
TextColor3 = Theme.Label,
Position = UDim2.fromOffset(10, 0),
Size = UDim2.new(1, -20, 1, 0),
Parent = row,
})
local right = width - 10
local function place(obj, w)
obj.Position = UDim2.new(0, right, 0.5, 0)
right -= w + 8
end
local function hold(release)
if handles then
table.insert(handles, release)
end
end
local toggleFn
if kind == "toggle" then
declare(path, "toggle", spec[3] == true, pageKey)
local sw, apply, toggle = Controls.switch(row, function(v)
setValue(path, v)
end)
place(sw, 26)
hold(register(path, apply))
toggleFn = toggle
elseif kind == "slider" then
local o = spec[3]
declare(path, "slider", o.default, pageKey)
local s, apply = Controls.slider(row, o, function(v)
setValue(path, v)
end)
place(s, 132)
hold(register(path, apply))
elseif kind == "dropdown" or kind == "multi" then
local options = spec[3]
local default
if kind == "multi" then
default = {}
for _, i in ipairs(spec[4] or {}) do
table.insert(default, options[i])
end
else
default = options[spec[4] or 1]
end
declare(path, kind, default, pageKey)
local d, apply = Controls.dropdown(row, { options = options, default = default, multi = kind == "multi" }, function(v)
setValue(path, v)
end)
place(d, 130)
hold(register(path, apply))
elseif kind == "color" then
declare(path, "color", toHex(spec[3]), pageKey)
local c, apply = Controls.color(row, function(v)
setValue(path, v)
end)
place(c, 16)
hold(register(path, apply))
elseif kind == "keybind" then
declare(path, "keybind", spec[3] or "None", pageKey)
local k, apply = Controls.keybind(row, function(v)
setValue(path, v)
end)
place(k, 74)
hold(register(path, apply))
elseif kind == "input" then
declare(path, "input", spec[3] or "", pageKey)
local field, box = Controls.input(row, {Size=UDim2.fromOffset(154,24),text=spec[3] or "",placeholder=spec.placeholder or "",textSize=12})
field.AnchorPoint=Vector2.new(1,.5)
place(field,154)
labelObj.Size=UDim2.new(1,-180,1,0)
hold(register(path,function(v)if not box:IsFocused()then box.Text=tostring(v or "")end end))
connect(box.FocusLost,function()setValue(path,box.Text)end)
elseif kind == "button" then
local b, hit = Controls.button(row, spec[3] or labelText, nil, 96, 22, spec.style)
b.AnchorPoint = Vector2.new(1, 0.5)
place(b, 96)
connect(hit.MouseButton1Click, function()
if spec.callback then
spec.callback(b)
end
end)
end
if spec.color then
local cpath = path .. "/Color"
declare(cpath, "color", toHex(spec.color), pageKey)
local c, apply = Controls.color(row, function(v)
setValue(cpath, v)
end)
place(c, 16)
hold(register(cpath, apply))
end
if spec.gear and kind == "toggle" then
declare(path .. "/Key", "keybind", "None", pageKey)
declare(path .. "/Mode", "dropdown", "Toggle", pageKey)
Store.binds[path] = labelText
local g = Controls.gear(row, function(gearObj)
if topOwner() == gearObj then
closePopupsAbove(levelOf(gearObj))
return
end
openBindPanel(gearObj, path, labelText)
end)
place(g, 13)
end
if toggleFn then
-- clicking the free space left of the controls also flips the switch
local labelHit = hitbox({
Name = "LabelHit",
Position = UDim2.fromOffset(6, 0),
Size = UDim2.new(0, math.max(20, right - 6), 1, 0),
Parent = row,
})
connect(labelHit.MouseButton1Click, toggleFn)
end
if searchMeta then
table.insert(Store.index, {
label = labelText,
path = path,
pageKey = pageKey,
pageTitle = searchMeta.pageTitle,
group = searchMeta.group,
row = row,
})
end
return row
end
local function buildGroup(column, spec, order, pageKey, pageTitle)
local rows = spec.rows
local h = 47 + #rows * ROW_H + 5
local g = frame({
Name = spec.title,
Size = UDim2.new(1, 0, 0, h),
BackgroundColor3 = Theme.Group,
LayoutOrder = order,
Parent = column,
}, { corner(5) })
text({
Name = "Title",
Text = spec.title,
FontFace = Fonts.Bold,
TextSize = 15,
TextColor3 = Theme.Title,
Position = UDim2.fromOffset(10, 0),
Size = UDim2.new(1, -20, 0, 30),
Parent = g,
})
frame({
Name = "Line",
Position = UDim2.fromOffset(5, 30),
Size = UDim2.new(1, -10, 0, 2),
BackgroundColor3 = Theme.Line,
Parent = g,
})
local rowsFrame = frame({
Name = "Rows",
Position = UDim2.fromOffset(0, 47),
Size = UDim2.new(1, 0, 0, #rows * ROW_H),
BackgroundTransparency = 1,
Parent = g,
}, { create("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder }) })
for i, r in ipairs(rows) do
buildRow(rowsFrame, r, i, COL_W, pageTitle .. "/" .. spec.title, nil, pageKey, { pageTitle = pageTitle, group = spec.title })
end
return g
end
local pagesHolder = frame({
Name = "Pages",
Position = UDim2.fromOffset(0, HEADER_H + 2),
Size = UDim2.fromOffset(CONTENT_W, WIN_H - HEADER_H - 2),
BackgroundTransparency = 1,
ClipsDescendants = true,
Parent = content,
})
local function newPageFrame(name)
return create("ScrollingFrame", {
Name = name,
Size = UDim2.fromScale(1, 1),
BackgroundTransparency = 1,
BorderSizePixel = 0,
ScrollBarThickness = 3,
ScrollBarImageColor3 = rgb(27, 37, 48),
ScrollingDirection = Enum.ScrollingDirection.Y,
CanvasSize = UDim2.new(),
AutomaticCanvasSize = Enum.AutomaticSize.Y,
ElasticBehavior = Enum.ElasticBehavior.Never,
Visible = false,
Parent = pagesHolder,
})
end
local function columnsPage(pageKey, title, left, right)
local sc = newPageFrame(title)
local inner = frame({
Name = "Inner",
Size = UDim2.new(1, 0, 0, 0),
AutomaticSize = Enum.AutomaticSize.Y,
BackgroundTransparency = 1,
Parent = sc,
}, { create("UIPadding", { PaddingTop = UDim.new(0, 20), PaddingBottom = UDim.new(0, 20) }) })
for ci, groups in ipairs({ left, right }) do
local col = frame({
Name = ci == 1 and "Left" or "Right",
Position = UDim2.fromOffset(ci == 1 and 20 or 20 + COL_W + 11, 0),
Size = UDim2.fromOffset(COL_W, 0),
AutomaticSize = Enum.AutomaticSize.Y,
BackgroundTransparency = 1,
Parent = inner,
}, { create("UIListLayout", { Padding = UDim.new(0, 8), SortOrder = Enum.SortOrder.LayoutOrder }) })
for gi, gspec in ipairs(groups) do
local supported = {}
for _, row in ipairs(gspec.rows) do
if row.supported ~= false and not (gameAdapter and row.legacyOnly) and not (not gameAdapter and row.nativeOnly) then table.insert(supported, row) end
end
gspec.rows = supported
buildGroup(col, gspec, gi, pageKey, title)
end
end
return sc
end
local function listPage(title)
local sc = newPageFrame(title)
frame({
Name = "Inner",
Size = UDim2.new(1, 0, 0, 0),
AutomaticSize = Enum.AutomaticSize.Y,
BackgroundTransparency = 1,
Parent = sc,
}, {
create("UIPadding", { PaddingTop = UDim.new(0, 20), PaddingBottom = UDim.new(0, 20), PaddingLeft = UDim.new(0, 20), PaddingRight = UDim.new(0, 20) }),
create("UIListLayout", { Padding = UDim.new(0, 10), SortOrder = Enum.SortOrder.LayoutOrder }),
})
return sc
end
-- a card in the Scripts / Configs lists
local function listCard(parent, order, info)
local card = frame({
Name = info.title,
Size = UDim2.new(1, 0, 0, 54),
BackgroundColor3 = Theme.Group,
LayoutOrder = order,
Parent = parent,
}, { corner(4) })
local nameLabel = text({
Text = info.title,
FontFace = Fonts.Bold,
TextSize = 14,
TextColor3 = Theme.Title,
TextTruncate = Enum.TextTruncate.AtEnd,
Position = UDim2.fromOffset(12, 9),
Size = UDim2.fromOffset(330, 17),
Parent = card,
})
local meta, link = toHex(Theme.Value), toHex(Theme.Link)
local parts = {}
for i = 1, #info.meta, 2 do
table.insert(parts, string.format('<font color="%s">%s</font> <font color="%s">%s</font>', meta, info.meta[i], link, info.meta[i + 1]))
end
text({
RichText = true,
Text = table.concat(parts, " "),
FontFace = Fonts.SemiBold,
TextSize = 12,
Position = UDim2.fromOffset(12, 29),
Size = UDim2.fromOffset(330, 16),
Parent = card,
})
local btn, btnHit = Controls.button(card, info.loaded and info.loadedText or "Load", info.loaded and "check" or "play", 82, 24, info.loaded and "dim" or nil)
btn.AnchorPoint = Vector2.new(1, 0.5)
btn.Position = UDim2.new(1, -12, 0.5, 0)
connect(btnHit.MouseButton1Click, info.onLoad)
local x = -12 - 82 - 16
local actions = {
{ "trash", "delete" },
{ "copy", "duplicate" },
{ "share", "share" },
{ "pencil", "rename" },
}
for _, a in ipairs(actions) do
local hb = hitbox({
Name = a[2],
AnchorPoint = Vector2.new(1, 0.5),
Position = UDim2.new(1, x, 0.5, 0),
Size = UDim2.fromOffset(18, 18),
Parent = card,
})
local img = icon(a[1], 13, Theme.Label, {
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.fromScale(0.5, 0.5),
Parent = hb,
})
local armed = false
connect(hb.MouseEnter, function()
if not armed then
tween(img, 0.15, { ImageColor3 = Theme.Title })
end
end)
connect(hb.MouseLeave, function()
if not armed then
tween(img, 0.15, { ImageColor3 = Theme.Label })
end
end)
connect(hb.MouseButton1Click, function()
if a[2] == "delete" then
-- first click arms, second click within 2.5s deletes
if not armed then
armed = true
img.ImageColor3 = rgb(222, 70, 80)
notify(info.title, "Click the bin again to delete.")
task.delay(2.5, function()
armed = false
if img.Parent then
img.ImageColor3 = Theme.Label
end
end)
return
end
info.onDelete()
elseif a[2] == "rename" then
nameLabel.Visible = false
local _, box = Controls.input(card, {
Position = UDim2.fromOffset(8, 6),
Size = UDim2.fromOffset(240, 22),
text = info.title,
textSize = 14,
padding = 4,
})
box:CaptureFocus()
box.FocusLost:Connect(function(enter)
local newName = box.Text
box.Parent:Destroy()
nameLabel.Visible = true
if enter and newName ~= "" and newName ~= info.title then
info.onRename(newName)
end
end)
elseif a[2] == "share" then
info.onShare()
elseif a[2] == "duplicate" then
info.onCopy()
end
end)
x -= 26
end
return card
end
local function clearList(page)
local inner = page:FindFirstChild("Inner")
for _, child in ipairs(inner:GetChildren()) do
if not child:IsA("UIListLayout") and not child:IsA("UIPadding") then
child:Destroy()
end
end
return inner
end
local function emptyNote(inner, msg)
text({
Text = msg,
FontFace = Fonts.SemiBold,
TextSize = 14,
TextColor3 = Theme.Dim,
Size = UDim2.new(1, 0, 0, 40),
TextXAlignment = Enum.TextXAlignment.Center,
Parent = inner,
})
end
---------------------------------------------------------------------------------------
-- Local visual features (World page). Only the local camera and lighting change, and
-- everything is put back when switched off or when the menu unloads.
---------------------------------------------------------------------------------------
local Lighting = cloneref(game:GetService("Lighting"))
local camera = workspace.CurrentCamera
local original = {
ClockTime = Lighting.ClockTime,
Ambient = Lighting.Ambient,
FogStart = Lighting.FogStart,
FogEnd = Lighting.FogEnd,
FogColor = Lighting.FogColor,
GlobalShadows = Lighting.GlobalShadows,
FieldOfView = camera and camera.FieldOfView or 70,
}
local atmosphere = Lighting:FindFirstChildOfClass("Atmosphere")
if atmosphere then
original.AtmosphereDensity = atmosphere.Density
original.AtmosphereColor = atmosphere.Color
end
local defaultFov = gameAdapter and gameAdapter.defaultFov or math.floor(original.FieldOfView + 0.5)
local defaultAmbient = toHex(original.Ambient)
---------------------------------------------------------------------------------------
-- Page content
---------------------------------------------------------------------------------------
local HITBOXES = gameAdapter and { "Head", "Body" } or { "Head", "Chest", "Stomach", "Arms", "Legs", "Feet" }
local function pct(v)
return tostring(math.floor(v + 0.5)) .. "%"
end
local pages = {}
local headerWidgets = {}
pages.ragebot = columnsPage("ragebot", "Ragebot", {
{
title = "Main",
rows = {
{ "toggle", "Enabled", false, gear = true },
{ "toggle", "Silent Aim", true },
{ "toggle", "Automatic Fire", true },
{ "toggle", "Automatic Penetration", true, legacyOnly = true },
{ "slider", "Field of View", { min = 0, max = 180, default = 180, suffix = "°" } },
},
},
{
title = "Accuracy",
rows = {
{ "slider", "Hit Chance", { min = 0, max = 100, default = 62, format = pct } },
{ "toggle", "Seed Prediction", false, legacyOnly = true },
{ "slider", "Minimum Damage", { min = 0, max = 100, default = gameAdapter and 10 or 30, format = function(v)
return v == 0 and "Auto" or tostring(math.floor(v))
end } },
{ "dropdown", "Auto Stop", { "Disabled", "Early", "Full", "Between Shots" }, 2 },
{ "toggle", "Auto Scope", true },
{ "toggle", "Hide Scope", false },
{ "toggle", "Hide Shots", false, nativeOnly = true },
{ "toggle", "Anti-Katana", true, nativeOnly = true },
{ "toggle", "Anti-Shield", true, nativeOnly = true },
},
},
}, {
{
title = "Selection",
rows = {
{ "dropdown", "Target", { "Highest Damage", "Lowest Distance", "Hit Chance", "Lowest Health" }, 1 },
{ "multi", "Hitboxes", HITBOXES, gameAdapter and { 1, 2 } or { 1, 2, 3 } },
{ "multi", "Multipoint", HITBOXES, { 1, 2 } },
{ "slider", "Head Scale", { min = 0, max = 100, default = 50, format = pct } },
{ "slider", "Body Scale", { min = 0, max = 100, default = 60, format = pct } },
{ "dropdown", "Body Aim", { "Default", "Prefer", "Force" }, 1 },
},
},
})
pages.legitbot = columnsPage("legitbot", "Legitbot", {
{title="Main",rows={
{"toggle","Enabled",false},
{"keybind","Aim Key","Mouse2"},
{"dropdown","Activation",{"Hold","Always"},1},
}},
{title="Aim",rows={
{"slider","Field of View",{min=10,max=500,default=100,suffix=" px"}},
{"slider","Smoothing",{min=1,max=30,default=8}},
{"slider","Deadzone",{min=0,max=20,default=2,suffix=" px"}},
{"dropdown","Hitbox",{"Head","Body","Closest"},1},
}},
}, {
{title="Selection",rows={
{"toggle","Team Check",true},
{"toggle","Visible Only",true},
{"toggle","Target Lock",true},
{"slider","Reaction Delay",{min=0,max=300,default=80,suffix=" ms"}},
{"slider","Maximum Distance",{min=50,max=2000,default=1000}},
}},
{title="Visuals",rows={{"toggle","FOV Circle",true,color=rgb(105,167,255)}}},
})
pages.antiaim = columnsPage("antiaim", "Anti Aim", {
{
title = "Main",
rows = {
{ "toggle", "Enable Anti Aim", false },
{ "dropdown", "Pitch", { "Disabled", "Down", "Up", "Forward" }, 1, nativeOnly = true, supported = gameAdapter and gameAdapter.pitchSupported },
{ "dropdown", "Yaw Base", { "Forward", "Backward", "Away from Targets" }, gameAdapter and 2 or 1 },
{ "slider", "Yaw Add", { min = -180, max = 180, default = 0 } },
{ "dropdown", "Yaw Modifier", { "Disabled", "Center", "Offset", "Random", "Random Hold", "Spin" }, 1 },
{ "slider", "Modifier Amount", { min = 0, max = 180, default = 45 } },
{ "slider", "Modifier Speed", { min = 1, max = 20, default = 6 } },
},
},
}, {
{
title = "Movement",
rows = {
{ "dropdown", "Slow Walk", { "Disabled", "Slow", "Slower" }, 1 },
{ "toggle", "Allow Ladder", true },
},
},
})
pages.players = columnsPage("players", "Players", {
{
title = "ESP",
rows = {
{ "toggle", "Bounding Box", true, color = rgb(255, 255, 255) },
{ "toggle", "Name", true, color = rgb(255, 255, 255) },
{ "toggle", "Health Bar", true },
{ "dropdown", "Weapon", { "Disabled", "Text", "Icon", "Text + Icon" }, 3 },
{ "toggle", "Ammo", false, color = rgb(80, 140, 255) },
{ "multi", "Flags", gameAdapter and { "Aiming", "Local Ping", "Distance" } or { "Aiming", "Credits", "Local Ping", "Distance" }, { 1, 2 } },
{ "toggle", "Skeleton", false, color = rgb(255, 255, 255) },
},
},
{
title = "Glow",
rows = {
{ "toggle", "Enabled", false, color = rgb(170, 90, 255) },
{ "dropdown", "Style", { "Default", "Pulse", "Outline" }, 1 },
},
},
}, {
{
title = "Chams",
rows = {
{ "toggle", "Visible", true, color = rgb(150, 200, 60) },
{ "toggle", "Through Walls", true, color = rgb(60, 120, 180) },
{ "dropdown", "Material", { "Flat", "Glow", "Metallic", "Foil", "Marble", "Glass", "Forcefield" }, 1 },
{ "slider", "Opacity", { min = 10, max = 100, default = 100, format = pct } },
{ "toggle", "Ragdolls", false },
},
},
{
title = "Other",
rows = {
{ "toggle", "Out of FOV Arrows", false, color = rgb(255, 255, 255) },
{ "toggle", "Footstep Indicators", false, color = rgb(80, 140, 255) },
},
},
})
pages.world = columnsPage("world", "World", {
{
title = "Ambience",
rows = {
{ "toggle", "Night Mode", false, gear = true },
{ "slider", "Brightness", { min = 0, max = 200, default = 100, format = pct } },
{ "color", "World Color", rgb(255, 255, 255) },
{ "color", "Ambient Light", original.Ambient },
{ "toggle", "Fog", false, color = rgb(120, 130, 150) },
},
},
{
title = "Removals",
rows = {
{ "multi", "Removals", { "Visual Recoil", "Smoke", "Flash", "Scope Overlay", "Post Processing" }, {} },
{ "toggle", "Remove Shadows", false },
},
},
}, {
{
title = "Effects",
rows = {
{ "toggle", "Bullet Tracers", true, color = rgb(80, 140, 255) },
{ "toggle", "Bullet Impacts", false, color = rgb(255, 80, 80) },
{ "toggle", "Hit Marker", true },
{ "dropdown", "Hit Sound", { "Disabled", "Click", "Bell", "Bubble" }, 1 },
{ "toggle", "Grenade Prediction", true, color = rgb(255, 255, 255), legacyOnly = true },
},
},
{
title = "View",
rows = {
{ "slider", "Override FOV", { min = 30, max = 120, default = defaultFov, suffix = "°" } },
{ "slider", "Viewmodel FOV", { min = 40, max = 100, default = 68 }, legacyOnly = true },
{ "toggle", "Thirdperson", false, gear = true },
{ "slider", "Distance", { min = 30, max = 300, default = 120 } },
},
},
})
pages.main = columnsPage("main", "Main", {
{
title = "Interface",
rows = {
{ "toggle", "Watermark", true },
{ "toggle", "Keybind List", true },
{ "toggle", "Notifications", true },
},
},
{
title = "Movement",
rows = {
{ "toggle", "Speed Boost", false, gear = true, nativeOnly = true },
{ "slider", "Walk Speed", { min = 100, max = 200, default = 150, format = pct }, nativeOnly = true },
{ "toggle", "Fast Slide", false, gear = true, nativeOnly = true },
{ "slider", "Slide Speed", { min = 100, max = 125, default = 125, format = pct }, nativeOnly = true },
},
},
}, {
{
title = "Air Movement",
rows = {
{ "toggle", "Extra Air Jumps", false, gear = true, nativeOnly = true },
{ "slider", "Additional Jumps", { min = 1, max = 5, default = 2 }, nativeOnly = true },
},
},
{
title = "Posture",
rows = {
{ "toggle", "Fake Crouch", false, gear = true, nativeOnly = true },
},
},
{
title = "Automation",
rows = {
{ "toggle", "Auto Vote", false, nativeOnly = true, supported = gameAdapter and gameAdapter.mapVoteSupported == true },
{ "dropdown", "Preferred Map", gameAdapter and gameAdapter.mapChoices or { "Select a map" }, 1, nativeOnly = true, supported = gameAdapter and gameAdapter.mapVoteSupported == true },
},
},
})
local skinModelOptions
if gameAdapter then
local equipped = gameAdapter.nativeItem()
local first = equipped and equipped.Name or gameAdapter.weaponChoices[1]
Store.contexts.skins = first
skinModelOptions = table.clone(gameAdapter.modelChoices[first])
pages.skins = columnsPage("skins", "Skin Changer", {{title="Local",rows={
{"toggle", "Enabled", false},
{"dropdown", "Model", skinModelOptions, 1},
{"dropdown", "Wrap", gameAdapter.skinChoices, 1},
{"toggle", "Inverted", false},
}}}, {{title="Preview",rows={{"toggle", "Auto Rotate", true}}}})
api.skinPreview = installSkinPreview(pages.skins, gameAdapter, Store, connect, cleanups, getValue, function() return menuOpen end)
pages.models = columnsPage("models", "Model Changer", {{title="Selection",rows={
{"toggle","Enabled",false},
{"dropdown","Source",{"Anime Example","Asset ID","Local File"},1},
{"input","Asset ID","",placeholder="Custom model ID"},
{"input","File","neverlose_ui/models/character.rbxm"},
{"button","Load Model","Reload",callback=function()if api.models then api.models.reload()end end},
}}}, {{title="Fitting",rows={
{"slider","Scale",{min=50,max=150,default=100,format=pct}},
{"slider","Height",{min=-200,max=200,default=0,format=function(v)return string.format("%.2f",v/100).." studs"end}},
{"slider","Facing",{min=-180,max=180,default=0,suffix="°"}},
}},{title="Preview",rows={{"toggle","Auto Rotate",true}}}})
end
pages.scripts = listPage("Scripts")
pages.configs = listPage("Configs")
-- menu settings (header gear); declared up front so they work before the panel is opened
local SETTINGS = "Settings/Menu"
local DEFAULT_ACCENT = Theme.KnobOn
declare(SETTINGS .. "/Menu Key", "keybind", "Delete")
declare(SETTINGS .. "/DPI Scale", "dropdown", "100%")
declare(SETTINGS .. "/Accent Color", "color", toHex(DEFAULT_ACCENT))
declare(SETTINGS .. "/Background Blur", "toggle", true)
declare(SETTINGS .. "/Auto Execute", "toggle", false)
---------------------------------------------------------------------------------------
-- Header: Save, page widgets, icons
---------------------------------------------------------------------------------------
local currentConfig -- name of the loaded config
local saveConfig, loadConfig -- assigned in the configs section
local saveBtn, saveStroke = field({ Name = "Save", Position = UDim2.fromOffset(20, 20), Size = UDim2.fromOffset(100, 29), Parent = header })
icon("save", 15, Theme.Label, { Position = UDim2.fromOffset(20, 8), Parent = saveBtn })
local saveLabel = text({
Text = "Save",
FontFace = Fonts.SemiBold,
TextSize = 15,
TextColor3 = Theme.Label,
Position = UDim2.fromOffset(48, 1),
Size = UDim2.fromOffset(50, 29),
Parent = saveBtn,
})
local saveHit = hitbox({ Size = UDim2.fromScale(1, 1), Parent = saveBtn })
connect(saveHit.MouseEnter, function()
tween(saveStroke, 0.15, { Color = rgb(9, 52, 80) })
end)
connect(saveHit.MouseLeave, function()
tween(saveStroke, 0.15, { Color = Theme.FieldStroke })
end)
connect(saveHit.MouseButton1Click, function()
saveLabel.TextColor3 = Theme.Title
tween(saveLabel, 0.6, { TextColor3 = Theme.Label })
saveConfig(currentConfig or "default")
end)
-- Ragebot: weapon group picker, each group keeps its own settings
do
local weapons = { "Global", "Pistols", "Heavy Pistols", "Auto Snipers", "Scout", "AWP", "Rifles", "SMG" }
local d = Controls.dropdown(header, {
options = weapons,
default = "Global",
width = 185,
height = 29,
textSize = 14,
padding = 10,
chevron = 12,
}, function(v)
setContext("ragebot", v)
end)
d.AnchorPoint = Vector2.new(0, 0)
d.Position = UDim2.fromOffset(134, 20)
headerWidgets.ragebot = d
end
if gameAdapter then
local picker = Controls.dropdown(header, {options=gameAdapter.weaponChoices,default=Store.contexts.skins,width=185,height=29,textSize=14,padding=10,chevron=12},function(weapon)
table.clear(skinModelOptions)
for _,name in ipairs(gameAdapter.modelChoices[weapon]) do table.insert(skinModelOptions,name) end
setContext("skins", weapon)
end)
picker.AnchorPoint=Vector2.new(0,0);picker.Position=UDim2.fromOffset(134,20)
headerWidgets.skins=picker
end
-- Players: enemies / teammates / local, each keeps its own settings
headerWidgets.players = Controls.tabs(header, { "Enemies", "Teammates", "Local" }, UDim2.fromOffset(134, 20), function(_, name)
setContext("players", name)
end)
-- Scripts / Configs: sort order + create
local listSort = { scripts = "By name", configs = "By date" }
local rebuildScripts, rebuildConfigs, createScript -- assigned below
for _, key in ipairs({ "scripts", "configs" }) do
local group = frame({
Name = key .. "Header",
Size = UDim2.fromOffset(340, 29),
Position = UDim2.fromOffset(134, 20),
BackgroundTransparency = 1,
Parent = header,
})
local d = Controls.dropdown(group, {
options = { "By name", "By date" },
default = listSort[key],
width = 185,
height = 29,
textSize = 14,
padding = 10,
chevron = 12,
}, function(v)
listSort[key] = v
if key == "scripts" then
rebuildScripts()
else
rebuildConfigs()
end
end)
d.AnchorPoint = Vector2.new(0, 0)
d.Position = UDim2.fromOffset(0, 0)
local b, hit = Controls.button(group, "Create", "plus", 130, 29)
b.Position = UDim2.fromOffset(185 + 23, 0)
connect(hit.MouseButton1Click, function()
if key == "configs" then
prompt(b, "New config", "Config name", "Create", "", function(name)
saveConfig(name)
end)
else
prompt(b, "New script", "Script name", "Create", "", function(name)
createScript(name)
end)
end
end)
headerWidgets[key] = group
end
-- search field (replaces the page widgets while searching)
local searchField, searchBox = Controls.input(header, {
Position = UDim2.fromOffset(134, 20),
Size = UDim2.fromOffset(300, 29),
placeholder = "Search settings",
textSize = 14,
padding = 10,
})
searchField.Visible = false
local searching = false
local headerIconButtons = {}
local headerIcons = { { "comments", 19, 100 }, { "gear", 16, 63 }, { "search", 16, 29 } }
for _, info in ipairs(headerIcons) do
local btn = hitbox({
Name = info[1],
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.fromOffset(CONTENT_W - info[3] + 1, 35),
Size = UDim2.fromOffset(24, 24),
Parent = header,
})
local img = icon(info[1], info[2], Theme.HeaderIcon, {
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.fromScale(0.5, 0.5),
Parent = btn,
})
connect(btn.MouseEnter, function()
tween(img, 0.15, { ImageColor3 = Theme.NavIcon })
end)
connect(btn.MouseLeave, function()
tween(img, 0.15, { ImageColor3 = Theme.HeaderIcon })
end)
headerIconButtons[info[1]] = btn
end
local function updateHeaderWidgets()
for k, w in pairs(headerWidgets) do
w.Visible = (not searching) and k == currentPage
end
searchField.Visible = searching
end
---------------------------------------------------------------------------------------
-- Search
---------------------------------------------------------------------------------------
local function flashRow(entry)
local page = pages[entry.pageKey]
local rowTop = (entry.row.AbsolutePosition.Y - page.AbsolutePosition.Y) / dpiScale + page.CanvasPosition.Y
page.CanvasPosition = Vector2.new(0, math.max(0, rowTop - 90))
local hl = frame({
Name = "Flash",
Position = UDim2.fromOffset(4, 1),
Size = UDim2.new(1, -8, 1, -2),
BackgroundColor3 = Theme.KnobOn,
BackgroundTransparency = 0.7,
ZIndex = 0,
Parent = entry.row,
}, { corner(4) })
tween(hl, 1.4, { BackgroundTransparency = 1 })
task.delay(1.5, function()
hl:Destroy()
end)
end
local function setSearching(on)
searching = on
if on then
searchBox.Text = ""
updateHeaderWidgets()
searchBox:CaptureFocus()
else
closePopup()
searchBox:ReleaseFocus()
updateHeaderWidgets()
end
end
local searchResults = {}
local function goToResult(entry)
setSearching(false)
selectPage(entry.pageKey)
task.delay(0.05, function()
flashRow(entry)
end)
end
local function showResults(query)
closePopupsAbove(0)
searchResults = {}
query = query:lower()
if query == "" then
return
end
for _, entry in ipairs(Store.index) do
local hay = (entry.label .. " " .. entry.group .. " " .. entry.pageTitle):lower()
if hay:find(query, 1, true) then
table.insert(searchResults, entry)
if #searchResults >= 8 then
break
end
end
end
local itemH = 36
local h = math.max(1, #searchResults) * itemH + 6
local list = frame({
Name = "SearchResults",
Position = popupPosition(searchField, 300, h),
Size = UDim2.fromOffset(300, h),
BackgroundColor3 = Theme.Popup,
Parent = popupLayer,
}, { corner(3), stroke(Theme.FieldStroke, 1) })
if #searchResults == 0 then
text({
Text = "Nothing found",
TextColor3 = Theme.Dim,
TextSize = 13,
Position = UDim2.fromOffset(10, 3),
Size = UDim2.new(1, -20, 0, itemH),
Parent = list,
})
end
for i, entry in ipairs(searchResults) do
local b = hitbox({
Position = UDim2.fromOffset(3, 3 + (i - 1) * itemH),
Size = UDim2.new(1, -6, 0, itemH),
BackgroundColor3 = Theme.PopupHover,
Parent = list,
}, nil)
corner(3).Parent = b
text({
Text = entry.label,
FontFace = Fonts.Bold,
TextSize = 13,
TextColor3 = Theme.Title,
Position = UDim2.fromOffset(8, 3),
Size = UDim2.new(1, -16, 0, 16),
Parent = b,
})
text({
Text = entry.pageTitle .. " › " .. entry.group,
FontFace = Fonts.SemiBold,
TextSize = 12,
TextColor3 = Theme.Value,
Position = UDim2.fromOffset(8, 18),
Size = UDim2.new(1, -16, 0, 14),
Parent = b,
})
connect(b.MouseEnter, function()
b.BackgroundTransparency = 0
end)
connect(b.MouseLeave, function()
b.BackgroundTransparency = 1
end)
connect(b.MouseButton1Click, function()
goToResult(entry)
end)
end
pushPopup(list, searchField, function()
list:Destroy()
end)
end
connect(searchBox:GetPropertyChangedSignal("Text"), function()
if searching then
showResults(searchBox.Text)
end
end)
connect(searchBox.FocusLost, function(enter)
if enter and searchResults[1] then
goToResult(searchResults[1])
elseif searchBox.Text == "" then
setSearching(false)
end
end)
connect(headerIconButtons.search.MouseButton1Click, function()
setSearching(not searching)
end)
---------------------------------------------------------------------------------------
-- Menu settings panel (header gear) and notification log (chat icon)
---------------------------------------------------------------------------------------
connect(headerIconButtons.gear.MouseButton1Click, function()
local owner = headerIconButtons.gear
if topOwner() == owner then
closePopup()
return
end
openPanel(owner, "Menu", 260, function(rows, handles, width)
buildRow(rows, { "keybind", "Menu Key", "Delete" }, 1, width, SETTINGS, handles)
buildRow(rows, { "dropdown", "DPI Scale", { "75%", "90%", "100%", "110%", "125%", "150%" }, 3 }, 2, width, SETTINGS, handles)
buildRow(rows, { "color", "Accent Color", DEFAULT_ACCENT }, 3, width, SETTINGS, handles)
buildRow(rows, { "toggle", "Background Blur", true }, 4, width, SETTINGS, handles)
buildRow(rows, { "toggle", "Auto Execute", false }, 5, width, SETTINGS, handles)
buildRow(rows, { "button", "Reset Accent", "Reset", callback = function()
setValue(SETTINGS .. "/Accent Color", toHex(DEFAULT_ACCENT))
end }, 6, width, SETTINGS, handles)
buildRow(rows, { "button", "Unload Menu", "Unload", style = "danger", callback = function()
api.unload()
end }, 7, width, SETTINGS, handles)
return ROW_H * 7
end)
end)
connect(headerIconButtons.comments.MouseButton1Click, function()
local owner = headerIconButtons.comments
if topOwner() == owner then
closePopup()
return
end
openPanel(owner, "Notifications", 320, function(rows)
local count = math.min(#history, 8)
if count == 0 then
text({ Text = "Nothing yet", TextColor3 = Theme.Dim, TextSize = 13, Position = UDim2.fromOffset(10, 0), Size = UDim2.new(1, -20, 0, ROW_H), Parent = rows })
return ROW_H
end
for i = 1, count do
local item = history[i]
text({
RichText = true,
Text = string.format('<font color="%s">%s</font> <font color="%s"><b>%s</b></font> %s', toHex(Theme.Dim), item.time, toHex(Theme.Title), item.title, item.body),
TextColor3 = Theme.Label,
TextSize = 13,
TextTruncate = Enum.TextTruncate.AtEnd,
Size = UDim2.new(1, -20, 0, ROW_H),
Position = UDim2.fromOffset(10, 0),
LayoutOrder = i,
Parent = frame({ Size = UDim2.new(1, 0, 0, ROW_H), BackgroundTransparency = 1, LayoutOrder = i, Parent = rows }),
})
end
return count * ROW_H
end)
end)
---------------------------------------------------------------------------------------
-- Configs (workspace/neverlose_ui/configs/*.json)
---------------------------------------------------------------------------------------
local CONFIG_DIR = ROOT .. "/configs"
ensureFolder(CONFIG_DIR)
local function sanitize(name)
name = tostring(name or ""):gsub("[^%w%s%-_%.]", ""):gsub("^%s+", ""):gsub("%s+$", "")
return name ~= "" and name or nil
end
local function configFile(name)
return CONFIG_DIR .. "/" .. name .. ".json"
end
local function readJson(path)
local ok, data = pcall(function()
return HttpService:JSONDecode(readfile(path))
end)
return ok and data or nil
end
local function listConfigs()
local out = {}
for _, f in ipairs(listfiles(CONFIG_DIR)) do
local name = f:match("([^/\\]+)%.json$")
if name then
local data = readJson(f) or {}
table.insert(out, { name = name, saved = tonumber(data.saved) or 0, author = data.author or "?" })
end
end
table.sort(out, function(a, b)
if listSort.configs == "By date" then
return a.saved > b.saved
end
return a.name:lower() < b.name:lower()
end)
return out
end
local configAliases = {
["World/View/Field of View"] = "World/View/Override FOV",
["Anti Aim/Misc/Slow Walk"] = "Anti Aim/Movement/Slow Walk",
["Players/Other/Footstep Sounds"] = "Players/Other/Footstep Indicators",
["Main/Other/Hit Sound"] = "World/Effects/Hit Sound",
}
local function supportedConfig(values)
local result = {}
for key, value in pairs(values) do
local path, context = key:match("^(.-)@([^@]+)$")
path = path or key
local original = path
for old, new in pairs(configAliases) do
if path == old or path:sub(1, #old + 1) == old .. "/" then path = new .. path:sub(#old + 1); break end
end
local page = Store.pageOf[path]
local validContext = not context or page == "skins" and gameAdapter and table.find(gameAdapter.weaponChoices, context) or page == "players" and table.find({"Enemies", "Teammates", "Local"}, context) or page == "ragebot" and table.find({"Global", "Pistols", "Heavy Pistols", "Auto Snipers", "Scout", "AWP", "Rifles", "SMG"}, context)
if Store.defaults[path] ~= nil and validContext then
if gameAdapter and (path == "Ragebot/Selection/Hitboxes" or path == "Ragebot/Selection/Multipoint") and type(value) == "table" then
local selected = {}
for _, zone in ipairs(value) do
zone = zone == "Head" and "Head" or "Body"
if not table.find(selected, zone) then table.insert(selected, zone) end
end
value = selected
elseif path == "Players/ESP/Flags" and type(value) == "table" then
local flags, rename = {}, {Scoped="Aiming", Money="Credits", Ping="Local Ping"}
for _, flag in ipairs(value) do
flag = rename[flag] or flag
if table.find({"Aiming", "Credits", "Local Ping", "Distance"}, flag) and not table.find(flags, flag) then table.insert(flags, flag) end
end
value = flags
elseif path == "Anti Aim/Main/Yaw Base" and value == "At Targets" then
value = "Away from Targets"
elseif path == "Anti Aim/Movement/Slow Walk" then
value = value == "Default" and "Slow" or value == "Slide" and "Slower" or value
end
local newKey = path .. (context and "@" .. context or "")
if original == path or result[newKey] == nil then result[newKey] = value end
end
end
return result
end
saveConfig = function(name, quiet)
name = sanitize(name)
if not name then
notify("Config", "Enter a name first.", "error")
return false
end
writefile(configFile(name), HttpService:JSONEncode({
name = name,
author = LocalPlayer.Name,
saved = os.time(),
values = supportedConfig(Store.values),
}))
currentConfig = name
writefile(ROOT .. "/last_config.txt", name)
if not quiet then
notify("Config saved", name)
end
if rebuildConfigs then
rebuildConfigs()
end
return true
end
loadConfig = function(name, quiet)
local data = isfile(configFile(name)) and readJson(configFile(name))
if not data or type(data.values) ~= "table" then
notify("Config", "Couldn't read " .. tostring(name), "error")
return false
end
Store.values = supportedConfig(data.values)
currentConfig = name
writefile(ROOT .. "/last_config.txt", name)
refreshPaths()
if not quiet then
notify("Config loaded", name)
end
if rebuildConfigs then
rebuildConfigs()
end
return true
end
rebuildConfigs = function()
local inner = clearList(pages.configs)
local list = listConfigs()
if #list == 0 then
emptyNote(inner, "No configs yet. Press Create or Save to make one.")
return
end
for i, cfg in ipairs(list) do
listCard(inner, i, {
title = cfg.name,
meta = { "Modified:", os.date("%d.%m %H:%M", cfg.saved), "Author:", cfg.author },
loaded = cfg.name == currentConfig,
loadedText = "Loaded",
onLoad = function()
loadConfig(cfg.name)
end,
onRename = function(newName)
newName = sanitize(newName)
if not newName then
return
end
writefile(configFile(newName), readfile(configFile(cfg.name)))
delfile(configFile(cfg.name))
if currentConfig == cfg.name then
currentConfig = newName
writefile(ROOT .. "/last_config.txt", newName)
end
rebuildConfigs()
end,
onShare = function()
if setclipboard then
setclipboard(readfile(configFile(cfg.name)))
notify("Copied", cfg.name .. " is on your clipboard.")
end
end,
onCopy = function()
local n = cfg.name .. " copy"
while isfile(configFile(n)) do
n = n .. "+"
end
writefile(configFile(n), readfile(configFile(cfg.name)))
rebuildConfigs()
end,
onDelete = function()
delfile(configFile(cfg.name))
if currentConfig == cfg.name then
currentConfig = nil
end
notify("Config deleted", cfg.name)
rebuildConfigs()
end,
})
end
end
---------------------------------------------------------------------------------------
-- Scripts (workspace/neverlose_ui/scripts/*.lua): Load runs them with the menu API
---------------------------------------------------------------------------------------
local SCRIPT_DIR = ROOT .. "/scripts"
local SCRIPT_META = ROOT .. "/scripts_meta.json"
ensureFolder(SCRIPT_DIR)
local scriptMeta = readJson(SCRIPT_META) or {}
local function saveScriptMeta()
writefile(SCRIPT_META, HttpService:JSONEncode(scriptMeta))
end
local function scriptFile(name)
return SCRIPT_DIR .. "/" .. name .. ".lua"
end
local loadedScripts = {}
local SCRIPT_TEMPLATE = [[
-- %s
-- Scripts in workspace/neverlose_ui/scripts appear on the Scripts page; press Load to run.
-- The menu API is available as getgenv().NeverloseMenu.
local menu = getgenv().NeverloseMenu
menu.notify("%s", "Script loaded")
-- react to a setting (paths are "Page/Group/Label")
menu.onChanged("World/Ambience/Night Mode", function(on)
print("Night mode:", on)
end)
-- read a value at any time
print("Watermark is", menu.get("Main/Interface/Watermark") and "on" or "off")
]]
createScript = function(name)
name = sanitize(name)
if not name then
notify("Script", "Enter a name first.", "error")
return
end
if not isfile(scriptFile(name)) then
writefile(scriptFile(name), string.format(SCRIPT_TEMPLATE, name, name))
end
scriptMeta[name] = os.time()
saveScriptMeta()
notify("Script created", "workspace/" .. scriptFile(name))
rebuildScripts()
end
local function listScripts()
local out = {}
for _, f in ipairs(listfiles(SCRIPT_DIR)) do
local name, ext = f:match("([^/\\]+)%.(luau?)$")
if name then
local ok, src = pcall(readfile, f)
table.insert(out, {
name = name,
file = f,
modified = scriptMeta[name] or 0,
lines = ok and select(2, src:gsub("\n", "\n")) + 1 or 0,
ext = ext,
})
end
end
table.sort(out, function(a, b)
if listSort.scripts == "By date" then
return a.modified > b.modified
end
return a.name:lower() < b.name:lower()
end)
return out
end
local function runScript(entry)
local ok, src = pcall(readfile, entry.file)
if not ok then
notify("Script", "Couldn't read " .. entry.name, "error")
return
end
local fn, err = loadstring(src, "=" .. entry.name)
if not fn then
notify("Script error", tostring(err), "error")
return
end
loadedScripts[entry.name] = true
task.spawn(function()
local okRun, runErr = pcall(fn)
if not okRun then
notify("Script error", entry.name .. ": " .. tostring(runErr), "error")
end
end)
notify("Script loaded", entry.name)
rebuildScripts()
end
rebuildScripts = function()
local inner = clearList(pages.scripts)
local list = listScripts()
if #list == 0 then
emptyNote(inner, "No scripts yet. Press Create, or drop .lua files into workspace/neverlose_ui/scripts.")
return
end
for i, entry in ipairs(list) do
listCard(inner, i, {
title = entry.name,
meta = {
"Modified:",
entry.modified > 0 and os.date("%d.%m %H:%M", entry.modified) or "-",
"Lines:",
tostring(entry.lines),
},
loaded = loadedScripts[entry.name],
loadedText = "Run",
onLoad = function()
runScript(entry)
end,
onRename = function(newName)
newName = sanitize(newName)
if not newName then
return
end
writefile(scriptFile(newName), readfile(entry.file))
delfile(entry.file)
scriptMeta[newName], scriptMeta[entry.name] = os.time(), nil
saveScriptMeta()
rebuildScripts()
end,
onShare = function()
if setclipboard then
setclipboard(readfile(entry.file))
notify("Copied", entry.name .. " source is on your clipboard.")
end
end,
onCopy = function()
local n = entry.name .. " copy"
while isfile(scriptFile(n)) do
n = n .. "+"
end
writefile(scriptFile(n), readfile(entry.file))
scriptMeta[n] = os.time()
saveScriptMeta()
rebuildScripts()
end,
onDelete = function()
delfile(entry.file)
scriptMeta[entry.name] = nil
saveScriptMeta()
notify("Script deleted", entry.name)
rebuildScripts()
end,
})
end
end
-- first run: drop an example in so the page isn't empty
if #listfiles(SCRIPT_DIR) == 0 then
writefile(scriptFile("example"), string.format(SCRIPT_TEMPLATE, "example", "Example script"))
scriptMeta.example = os.time()
saveScriptMeta()
end
---------------------------------------------------------------------------------------
-- HUD: watermark and keybind list (drag them while the menu is open)
---------------------------------------------------------------------------------------
local function makeDraggable(handle, target)
local dragStart, startPos
connect(handle.InputBegan, function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and holder.Visible then
dragStart = input.Position
startPos = target.Position
end
end)
connect(UserInputService.InputChanged, function(input)
if dragStart and input.UserInputType == Enum.UserInputType.MouseMovement then
local d = input.Position - dragStart
target.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y)
end
end)
connect(UserInputService.InputEnded, function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragStart = nil
end
end)
end
local watermark = frame({
Name = "Watermark",
AnchorPoint = Vector2.new(1, 0),
Position = UDim2.new(1, -16, 0, 16),
Size = UDim2.fromOffset(0, 26),
AutomaticSize = Enum.AutomaticSize.X,
BackgroundColor3 = Theme.Group,
Active = true,
Visible = false,
Parent = hud,
}, {
corner(4),
stroke(Theme.FieldStroke, 1),
create("UIPadding", { PaddingLeft = UDim.new(0, 10), PaddingRight = UDim.new(0, 10) }),
create("UIListLayout", {
FillDirection = Enum.FillDirection.Horizontal,
VerticalAlignment = Enum.VerticalAlignment.Center,
Padding = UDim.new(0, 8),
SortOrder = Enum.SortOrder.LayoutOrder,
}),
})
text({
Text = "NEVERLOSE",
FontFace = Fonts.Logo,
TextSize = 13,
TextColor3 = Theme.Logo,
AutomaticSize = Enum.AutomaticSize.X,
Size = UDim2.fromOffset(0, 26),
LayoutOrder = 1,
Parent = watermark,
})
local watermarkInfo = text({
RichText = true,
FontFace = Fonts.SemiBold,
TextSize = 13,
TextColor3 = Theme.Label,
AutomaticSize = Enum.AutomaticSize.X,
Size = UDim2.fromOffset(0, 26),
LayoutOrder = 2,
Parent = watermark,
})
makeDraggable(watermark, watermark)
local keybindPanel = frame({
Name = "Keybinds",
Position = UDim2.new(0, 16, 0.42, 0),
Size = UDim2.fromOffset(190, 0),
AutomaticSize = Enum.AutomaticSize.Y,
BackgroundColor3 = Theme.Group,
Active = true,
Visible = false,
Parent = hud,
}, {
corner(4),
stroke(Theme.FieldStroke, 1),
create("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder }),
create("UIPadding", { PaddingBottom = UDim.new(0, 5) }),
})
local keybindTitle = frame({ Size = UDim2.new(1, 0, 0, 30), BackgroundTransparency = 1, LayoutOrder = 0, Parent = keybindPanel })
text({
Text = "Keybinds",
FontFace = Fonts.Bold,
TextSize = 14,
TextColor3 = Theme.Title,
Position = UDim2.fromOffset(10, 0),
Size = UDim2.new(1, -20, 1, 0),
Parent = keybindTitle,
})
frame({ Position = UDim2.new(0, 5, 1, -2), Size = UDim2.new(1, -10, 0, 2), BackgroundColor3 = Theme.Line, Parent = keybindTitle })
makeDraggable(keybindPanel, keybindPanel)
local keybindCount = 0
local function updateKeybindVisibility()
keybindPanel.Visible = getValue("Main/Interface/Keybind List") == true and (keybindCount > 0 or holder.Visible)
end
local function refreshKeybindList()
for _, child in ipairs(keybindPanel:GetChildren()) do
if child.Name == "Entry" then
child:Destroy()
end
end
local count = 0
for path, labelText in pairs(Store.binds) do
local key = getValue(path .. "/Key")
local mode = getValue(path .. "/Mode")
local active = getValue(path) == true
if key and key ~= "None" and mode ~= "Always" and active then
count += 1
local entry = frame({ Name = "Entry", Size = UDim2.new(1, 0, 0, 22), BackgroundTransparency = 1, LayoutOrder = count, Parent = keybindPanel })
text({ Text = labelText, TextSize = 13, TextColor3 = Theme.Label, Position = UDim2.fromOffset(10, 0), Size = UDim2.new(1, -90, 1, 0), TextTruncate = Enum.TextTruncate.AtEnd, Parent = entry })
text({
Text = "[" .. (mode == "Hold" and "holding" or "toggled") .. "]",
TextSize = 12,
TextColor3 = Theme.Value,
TextXAlignment = Enum.TextXAlignment.Right,
Position = UDim2.new(1, -90, 0, 0),
Size = UDim2.fromOffset(80, 22),
Parent = entry,
})
end
end
keybindCount = count
updateKeybindVisibility()
end
table.insert(Store.any, function(path)
if Store.binds[path] or path:find("/Key$") or path:find("/Mode$") or path == "Main/Interface/Keybind List" then
task.defer(refreshKeybindList)
end
end)
local fps, fpsFrames, fpsTime = 60, 0, 0
connect(RunService.RenderStepped, function(dt)
fpsFrames += 1
fpsTime += dt
if fpsTime >= 0.5 then
fps = math.floor(fpsFrames / fpsTime + 0.5)
fpsFrames, fpsTime = 0, 0
end
end)
local Stats = cloneref(game:GetService("Stats"))
local function pingMs()
local ok, v = pcall(function()
return Stats.Network.ServerStatsItem["Data Ping"]:GetValue()
end)
if ok and v then
return math.floor(v + 0.5)
end
local ok2, p = pcall(function()
return LocalPlayer:GetNetworkPing() * 2000
end)
return ok2 and math.floor(p + 0.5) or 0
end
task.spawn(function()
while not gui:GetAttribute("Unloaded") do
watermark.Visible = getValue("Main/Interface/Watermark") == true
if watermark.Visible then
local sep = string.format('<font color="%s">|</font>', toHex(Theme.Dim))
watermarkInfo.Text = table.concat({
LocalPlayer.Name,
sep,
fps .. " fps",
sep,
pingMs() .. " ms",
sep,
os.date("%H:%M"),
}, " ")
end
task.wait(0.5)
end
end)
---------------------------------------------------------------------------------------
-- Local visual features
---------------------------------------------------------------------------------------
local colorFx = create("ColorCorrectionEffect", { Name = "NeverloseColor", Enabled = false, Parent = camera })
local disabledFx = {}
local function applyColorFx()
local brightness = getValue("World/Ambience/Brightness") or 100
local tint = getValue("World/Ambience/World Color") or "#FFFFFF"
colorFx.Brightness = (brightness - 100) / 250
colorFx.TintColor = fromHex(tint)
colorFx.Enabled = brightness ~= 100 or tint:upper() ~= "#FFFFFF"
end
onChanged("World/Ambience/Brightness", applyColorFx)
onChanged("World/Ambience/World Color", applyColorFx)
onChanged("World/Ambience/Night Mode", function(on)
Lighting.ClockTime = on and 0 or original.ClockTime
end)
onChanged("World/Ambience/Ambient Light", function(hex)
Lighting.Ambient = hex:upper() == defaultAmbient:upper() and original.Ambient or fromHex(hex)
end)
local function applyFog()
local on = getValue("World/Ambience/Fog") == true
local c = fromHex(getValue("World/Ambience/Fog/Color"))
if on then
Lighting.FogStart, Lighting.FogEnd, Lighting.FogColor = 0, 260, c
if atmosphere then
atmosphere.Density, atmosphere.Color = 0.55, c
end
else
Lighting.FogStart, Lighting.FogEnd, Lighting.FogColor = original.FogStart, original.FogEnd, original.FogColor
if atmosphere then
atmosphere.Density, atmosphere.Color = original.AtmosphereDensity, original.AtmosphereColor
end
end
end
onChanged("World/Ambience/Fog", applyFog)
onChanged("World/Ambience/Fog/Color", applyFog)
onChanged("World/Removals/Remove Shadows", function(on)
Lighting.GlobalShadows = (not on) and original.GlobalShadows or false
end)
onChanged("World/Removals/Removals", function(list)
local removePost = table.find(list or {}, "Post Processing") ~= nil
if removePost then
for _, fx in ipairs(Lighting:GetChildren()) do
if fx:IsA("PostEffect") and fx.Enabled and not disabledFx[fx] then
disabledFx[fx] = true
fx.Enabled = false
end
end
else
for fx in pairs(disabledFx) do
if fx.Parent then
fx.Enabled = true
end
end
disabledFx = {}
end
end)
onChanged("World/View/Override FOV", function(v)
local cam = workspace.CurrentCamera
if not gameAdapter and cam then cam.FieldOfView = math.clamp(tonumber(v) or defaultFov, 30, 120) end
end)
connect(RunService.RenderStepped, function()
local cam = workspace.CurrentCamera
if not gameAdapter and cam then
local fov = math.clamp(tonumber(getValue("World/View/Override FOV")) or defaultFov, 30, 120)
if cam.FieldOfView ~= fov then cam.FieldOfView = fov end
end
if getValue("World/Ambience/Night Mode") == true and Lighting.ClockTime ~= 0 then
Lighting.ClockTime = 0
end
end)
table.insert(cleanups, function()
Lighting.ClockTime = original.ClockTime
Lighting.Ambient = original.Ambient
Lighting.FogStart, Lighting.FogEnd, Lighting.FogColor = original.FogStart, original.FogEnd, original.FogColor
Lighting.GlobalShadows = original.GlobalShadows
if atmosphere then
atmosphere.Density, atmosphere.Color = original.AtmosphereDensity, original.AtmosphereColor
end
for fx in pairs(disabledFx) do
if fx.Parent then
fx.Enabled = true
end
end
if not gameAdapter and workspace.CurrentCamera then
workspace.CurrentCamera.FieldOfView = original.FieldOfView
end
colorFx:Destroy()
end)
---------------------------------------------------------------------------------------
-- Menu settings: accent colour, DPI scale
---------------------------------------------------------------------------------------
local ORIGINAL_THEME = {}
for k, v in pairs(Theme) do
ORIGINAL_THEME[k] = v
end
local ACCENT_KEYS = { "KnobOn", "TrackOn", "TrackOnStroke", "SliderFill", "SliderKnob", "Button", "TabActive", "NavActive", "Link" }
local function applyAccent(c)
if toHex(c) == toHex(DEFAULT_ACCENT) then
for _, k in ipairs(ACCENT_KEYS) do
Theme[k] = ORIGINAL_THEME[k]
end
else
local black, white = Color3.new(0, 0, 0), Color3.new(1, 1, 1)
Theme.KnobOn = c
Theme.TrackOn = c:Lerp(black, 0.72)
Theme.TrackOnStroke = c:Lerp(black, 0.55)
Theme.SliderFill = c:Lerp(black, 0.1)
Theme.SliderKnob = c:Lerp(white, 0.15)
Theme.Button = c:Lerp(black, 0.2)
Theme.TabActive = c:Lerp(black, 0.58)
Theme.NavActive = c:Lerp(black, 0.7)
Theme.Link = c
end
for _, fn in ipairs(Store.rerender) do
pcall(fn)
end
end
onChanged(SETTINGS .. "/Accent Color", function(hex)
applyAccent(fromHex(hex))
end)
onChanged(SETTINGS .. "/DPI Scale", function(v)
dpiScale = (tonumber(tostring(v):match("%d+")) or 100) / 100
holderScale.Scale = dpiScale
closePopup()
end)
local function buildPreview()
---------------------------------------------------------------------------------------
-- ESP preview: a panel beside the window on the Players page that shows the current
-- ESP / chams / glow settings on the game's own operator, drawn the same way the live ESP
-- draws them. The operator template is cloned into a ViewportFrame, holds the AR15 and plays
-- the game's idle. A low wall stands in front of its legs. The visible chams recolour the
-- model's own parts; the hidden colour is a second, identical copy in a ViewportFrame that is
-- clipped to the wall's rectangle on screen, which is exactly how the in-game chams work.
-- The box and skeleton are projected from the clone's animated body parts. Nothing here
-- reads or touches live players.
---------------------------------------------------------------------------------------
local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
local PREVIEW_SOURCE = {
model = { "Assets", "Operators", "Operator1" },
-- the baked world model holds every attachment variant; keep one per category
weapon = {
model = { "Assets", "WorldModelsBaked", "AR15" },
label = "AR15",
attachments = {
Barrels = "Barrel145M4",
Handguards = "M4Handguard",
MuzzleDevices = "A2FlashHider",
Magazine = "STANAG30",
Stocks = "StockMagpul",
PistolGrips = "GripA2",
Optics = "ACOG4x",
},
},
-- the game's own standing idle
animation = { "Assets", "CharacterSelectorStuff", "OperatorIdle" },
}
local function resolvePath(path)
local node = ReplicatedStorage
for _, name in ipairs(path) do
node = node and node:FindFirstChild(name)
end
return node
end
local templateModel = resolvePath(PREVIEW_SOURCE.model)
local idle = resolvePath(PREVIEW_SOURCE.animation)
if gameAdapter then
templateModel, idle = gameAdapter.avatarTemplate()
if templateModel then table.insert(cleanups,function()templateModel:Destroy();if idle then idle:Destroy()end end)end
end
local PV_W, PV_H = 300, WIN_H
local STAGE_W, STAGE_H = PV_W - 20, PV_H - 64
local preview = create("CanvasGroup", {
Name = "ESPPreview",
GroupTransparency = 1,
Position = UDim2.fromOffset(WIN_W + 12, 0),
Size = UDim2.fromOffset(PV_W, PV_H),
BackgroundColor3 = Theme.Content,
Active = true,
Visible = false,
Parent = holder,
}, { corner(WIN_RADIUS) })
text({ Text = "ESP Preview", FontFace = Fonts.Bold, TextSize = 15, TextColor3 = Theme.Title, Position = UDim2.fromOffset(16, 0), Size = UDim2.fromOffset(150, 44), Parent = preview })
local pvContext = text({
Text = "",
TextSize = 13,
TextColor3 = Theme.Value,
TextXAlignment = Enum.TextXAlignment.Right,
Position = UDim2.new(1, -136, 0, 0),
Size = UDim2.fromOffset(120, 44),
Parent = preview,
})
frame({ Position = UDim2.fromOffset(6, 44), Size = UDim2.new(1, -12, 0, 2), BackgroundColor3 = Theme.Line, Parent = preview })
local stage = frame({
Name = "Stage",
Position = UDim2.fromOffset(10, 54),
Size = UDim2.fromOffset(STAGE_W, STAGE_H),
BackgroundColor3 = rgb(7, 12, 20),
ClipsDescendants = true,
Parent = preview,
}, { corner(6) })
-- the same look as the live overlay: Arial with a hard black outline, black-white-black box
local ESP_FONT, ESP_BOLD = Font.fromEnum(Enum.Font.Arial), Font.fromEnum(Enum.Font.ArialBold)
local BLACK, WHITE = Color3.new(0, 0, 0), Color3.new(1, 1, 1)
local function espText(size, bold, z)
return create("TextLabel", {
BackgroundTransparency = 1,
FontFace = bold and ESP_BOLD or ESP_FONT,
TextSize = size,
TextColor3 = WHITE,
TextStrokeTransparency = 0,
TextStrokeColor3 = BLACK,
ZIndex = z or 6,
Parent = stage,
})
end
local function outlined(color, z)
local f = frame({ BackgroundTransparency = 1, ZIndex = z or 5, Parent = stage })
local s = create("UIStroke", { Color = color, Thickness = 1, Parent = f })
pcall(function()
s.BorderStrokePosition = Enum.BorderStrokePosition.Inner
end)
return f, s
end
-- 3D: the model world and the clipped hidden layer
local function newViewport(parent, z)
local vp = create("ViewportFrame", {
BackgroundTransparency = 1,
Size = UDim2.fromOffset(STAGE_W, STAGE_H),
Ambient = rgb(150, 152, 162),
LightColor = rgb(255, 252, 245),
LightDirection = Vector3.new(-0.45, -1, -0.6),
ZIndex = z,
Parent = parent,
})
local world = create("WorldModel", { Parent = vp })
local cam = create("Camera", { FieldOfView = 24, Parent = vp })
vp.CurrentCamera = cam
return { vp = vp, world = world, cam = cam }
end
local mainView = newViewport(stage, 2)
local hiddenClip = frame({ Name = "HiddenLayer", BackgroundTransparency = 1, ClipsDescendants = true, Visible = false, ZIndex = 3, Parent = stage })
local hiddenView = newViewport(hiddenClip, 3)
local R15 = {
"Head", "UpperTorso", "LowerTorso",
"LeftUpperArm", "LeftLowerArm", "LeftHand", "RightUpperArm", "RightLowerArm", "RightHand",
"LeftUpperLeg", "LeftLowerLeg", "LeftFoot", "RightUpperLeg", "RightLowerLeg", "RightFoot",
}
local BOX_PARTS = { "Head", "UpperTorso", "LowerTorso", "LeftUpperLeg", "RightUpperLeg", "LeftLowerLeg", "RightLowerLeg", "LeftFoot", "RightFoot" }
local function equipWeapon(model, world)
if gameAdapter then return nil end
local cfg = PREVIEW_SOURCE.weapon
local src = resolvePath(cfg.model)
local torso = model:FindFirstChild("UpperTorso", true)
local humanoid = model:FindFirstChildOfClass("Humanoid")
if not (src and torso and humanoid) then
return nil
end
local gun = src:Clone()
gun.Name = "PreviewWeapon"
local all = gun:FindFirstChild("AllAttachments")
if all then
for _, category in ipairs(all:GetChildren()) do
local keep = cfg.attachments[category.Name]
for _, variant in ipairs(category:GetChildren()) do
if variant.Name ~= keep then
variant:Destroy()
end
end
end
end
for _, d in ipairs(gun:GetDescendants()) do
if d:IsA("Motor6D") or d:IsA("Weld") or d:IsA("WeldConstraint") or d:IsA("LuaSourceContainer") then
d:Destroy()
end
end
local root = gun.PrimaryPart or gun:FindFirstChild("RootPart")
local fire = root and root:FindFirstChild("HandRef_Fire")
local support = root and root:FindFirstChild("HandRef_Support")
if not (root and fire and support) then
gun:Destroy()
return nil
end
gun.Parent = world
-- size the rifle to the operator: about twice the width of the torso
local _, size = gun:GetBoundingBox()
gun:ScaleTo(torso.Size.X * 2.1 / math.max(size.X, size.Y, size.Z))
-- shoulder it: the "fire" hand reference lands on the right of the chest, barrel pointing forward
local fireTarget = torso.CFrame:PointToWorldSpace(Vector3.new(1.05, 0.15, -1.2))
local rootCF = CFrame.new(fireTarget) * (torso.CFrame.Rotation * CFrame.Angles(0, math.rad(4), 0))
gun:PivotTo(rootCF * gun:GetPivot():ToObjectSpace(root.CFrame):Inverse())
gun:PivotTo(gun:GetPivot() + (fireTarget - fire.WorldPosition))
for _, d in ipairs(gun:GetDescendants()) do
if d:IsA("BasePart") then
d.Anchored = false
d.CanCollide = false
d.CanQuery = false
d.CanTouch = false
d.Massless = true
if d ~= root then
create("WeldConstraint", { Part0 = root, Part1 = d, Parent = d })
end
end
end
create("WeldConstraint", { Part0 = torso, Part1 = root, Parent = root })
-- invisible elbow hints so the elbows tuck down instead of flaring out
local function pole(offset)
local p = create("Part", {
Size = Vector3.new(0.2, 0.2, 0.2),
Transparency = 1,
CanCollide = false,
CanQuery = false,
CanTouch = false,
Massless = true,
CFrame = torso.CFrame * CFrame.new(offset),
Parent = model,
})
create("WeldConstraint", { Part0 = torso, Part1 = p, Parent = p })
return p
end
local function arm(upper, hand, target, poleOffset)
create("IKControl", {
Type = Enum.IKControlType.Position,
ChainRoot = model:FindFirstChild(upper, true),
EndEffector = model:FindFirstChild(hand, true),
Target = target,
Pole = pole(poleOffset),
Weight = 1,
SmoothTime = 0,
Parent = humanoid,
})
end
arm("RightUpperArm", "RightHand", fire, Vector3.new(3.0, -1.8, 0.6))
arm("LeftUpperArm", "LeftHand", support, Vector3.new(-3.0, -2.0, -0.8))
return gun
end
local function buildRig(view)
if not templateModel then
return nil
end
local ok, rig = pcall(function()
local model = templateModel:Clone()
if gameAdapter then
local collection=game:GetService('CollectionService');local nodes=model:GetDescendants();table.insert(nodes,model)
for _,node in ipairs(nodes)do for _,tag in ipairs(collection:GetTags(node))do collection:RemoveTag(node,tag)end end
end
for _, d in ipairs(model:GetDescendants()) do
if gameAdapter and (d:IsA('BasePart')or d:IsA('Decal'))then d.LocalTransparencyModifier=0 end
if d:IsA("LuaSourceContainer") or d:IsA("BillboardGui") or d:IsA("Sound") then
d:Destroy()
end
end
model.Parent = view.world
model:PivotTo(CFrame.new(0, 0, 0))
local root = model.PrimaryPart or model:FindFirstChild("HumanoidRootPart")
if root then
root.Anchored = true
end
local hum = model:FindFirstChildOfClass("Humanoid")
if hum then
hum.EvaluateStateMachine = false
hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
end
local body = {}
for _, n in ipairs(R15) do
body[n] = model:FindFirstChild(n, true)
end
local gun = equipWeapon(model, view.world)
-- every visible surface, rifle included, remembers how it looked
local parts = {}
local function collect(root)
for _, d in ipairs(root:GetDescendants()) do
if d:IsA("BasePart") and d.Transparency < 0.1 then
local sas = {}
for _, c in ipairs(d:GetChildren()) do
if c:IsA("SurfaceAppearance") then
table.insert(sas, c)
end
end
table.insert(parts, {
part = d,
color = d.Color,
material = d.Material,
variant = d.MaterialVariant,
transparency = d.Transparency,
reflectance = d.Reflectance,
tex = d:IsA("MeshPart") and d.TextureID or nil,
sas = sas,
})
end
end
end
collect(model)
if gun then
collect(gun)
end
local track
local animator = model:FindFirstChildWhichIsA("Animator", true)
if animator and idle and idle:IsA("Animation") then
local okTrack, t = pcall(function()
return animator:LoadAnimation(idle)
end)
if okTrack and t then
t.Looped = true
t:Play(0)
track = t
end
end
return { view = view, model = model, gun = gun, body = body, parts = parts, track = track }
end)
return ok and rig or nil
end
local rigMain = buildRig(mainView)
local rigHidden = rigMain and buildRig(hiddenView) or nil
if rigMain and not (rigHidden and next(rigMain.body)) then
rigMain.model:Destroy()
rigMain = nil
end
if not rigMain then
mainView.vp.Visible = false
text({
Text = gameAdapter and "Player model unavailable" or "Operator model unavailable",
TextSize = 12,
TextColor3 = Theme.Dim,
TextXAlignment = Enum.TextXAlignment.Center,
Position = UDim2.fromOffset(0, STAGE_H / 2 - 7),
Size = UDim2.fromOffset(STAGE_W, 14),
Parent = stage,
})
end
-- the same chams recipe as the live ESP
local MATERIALS = {
Flat = Enum.Material.SmoothPlastic,
Glow = Enum.Material.Neon,
Metallic = Enum.Material.Metal,
Foil = Enum.Material.Foil,
Marble = Enum.Material.Marble,
Glass = Enum.Material.Glass,
Forcefield = Enum.Material.ForceField,
}
local function paintRig(rig, on, color, mode, opacity)
if gameAdapter then gameAdapter.paintCosmetics(rig.model,on,true)end
for _, e in ipairs(rig.parts) do
local p = e.part
if not on then
p.Color, p.Material, p.Transparency, p.Reflectance = e.color, e.material, e.transparency, e.reflectance
p.MaterialVariant=e.variant or ""
for _, sa in ipairs(e.sas) do
if sa.Parent ~= p then
sa.Parent = p
end
end
if e.tex then
p.TextureID = e.tex
end
else
for _, sa in ipairs(e.sas) do
sa.Parent = nil
end
if e.tex then
p.TextureID = ""
end
p.Material = MATERIALS[mode] or MATERIALS.Flat
if gameAdapter then p.MaterialVariant="" end
p.Color = mode == "Glow" and color:Lerp(BLACK, 0.3) or color
p.Reflectance = mode == "Metallic" and 0.35 or 0
local t = e.transparency + (1 - opacity) * (1 - e.transparency)
if mode == "Glass" then
t = math.max(t, 0.55)
end
p.Transparency = t
end
end
end
-- camera framing from the resting pose; the wall and floor are placed from the same numbers
local orbit
local wall, floor
if rigMain then
local lo, hi
for _, part in pairs(rigMain.body) do
local s = part.Size / 2
for ix = -1, 1, 2 do
for iy = -1, 1, 2 do
for iz = -1, 1, 2 do
local p = part.CFrame:PointToWorldSpace(Vector3.new(s.X * ix, s.Y * iy, s.Z * iz))
lo = lo and Vector3.new(math.min(lo.X, p.X), math.min(lo.Y, p.Y), math.min(lo.Z, p.Z)) or p
hi = hi and Vector3.new(math.max(hi.X, p.X), math.max(hi.Y, p.Y), math.max(hi.Z, p.Z)) or p
end
end
end
end
local height = hi.Y - lo.Y
local root = rigMain.model.PrimaryPart or rigMain.body.UpperTorso
local facing = root.CFrame.LookVector
local center = (lo + hi) / 2
-- the model fills about half the stage, a little below the middle so the name has room
local viewHeight = height / 0.52
orbit = {
center = center + Vector3.new(0, height * 0.04, 0),
ground = Vector3.new(center.X, lo.Y, center.Z),
height = height,
-- yaw that puts the camera in front of the operator
front = math.atan2(facing.X, -facing.Z),
dist = viewHeight / (2 * math.tan(math.rad(24 / 2))),
}
wall = create("Part", {
Name = "Cover",
Anchored = true,
CanCollide = false,
Material = Enum.Material.Concrete,
Color = rgb(78, 86, 98),
Size = Vector3.new(height * 0.72, height * 0.42, 0.4),
Parent = mainView.world,
})
create("Part", {
Name = "CoverCap",
Anchored = true,
CanCollide = false,
Material = Enum.Material.Concrete,
Color = rgb(104, 112, 125),
Size = Vector3.new(height * 0.72 + 0.12, 0.12, 0.55),
Parent = wall,
})
floor = create("Part", {
Name = "Floor",
Anchored = true,
CanCollide = false,
Shape = Enum.PartType.Cylinder,
Material = Enum.Material.SmoothPlastic,
Color = rgb(16, 23, 34),
Size = Vector3.new(0.1, height * 1.3, height * 1.3),
CFrame = CFrame.new(orbit.ground - Vector3.new(0, 0.05, 0)) * CFrame.Angles(0, 0, math.rad(90)),
Parent = mainView.world,
})
end
-- the camera orbits the model; dragging the stage changes viewYaw (front three-quarter view)
local DEFAULT_YAW = (orbit and orbit.front or 0) + math.rad(32)
local viewYaw = DEFAULT_YAW
local function applyYaw()
if not orbit then
return
end
local toCamera = Vector3.new(math.sin(viewYaw), 0, -math.cos(viewYaw))
local camCF = CFrame.lookAt(orbit.center + toCamera * orbit.dist + Vector3.new(0, orbit.height * 0.04, 0), orbit.center)
-- pan right a little so the model sits left of centre and the flags fit beside it
camCF = camCF + camCF.RightVector * (orbit.height * 0.07)
mainView.cam.CFrame = camCF
hiddenView.cam.CFrame = camCF
-- the wall always stands between the camera and the legs
local base = orbit.ground + toCamera * (orbit.height * 0.28)
local mid = base + Vector3.new(0, wall.Size.Y / 2, 0)
wall.CFrame = CFrame.lookAt(mid, mid + toCamera)
wall.CoverCap.CFrame = wall.CFrame * CFrame.new(0, wall.Size.Y / 2 + 0.06, 0)
end
applyYaw()
-- projects a world point through the preview camera into stage pixels
local function project(worldPoint)
local cam = mainView.cam
local rel = cam.CFrame:PointToObjectSpace(worldPoint)
if rel.Z >= -0.05 then
return nil
end
local t = math.tan(math.rad(cam.FieldOfView) / 2)
local nx = rel.X / (-rel.Z * t * (STAGE_W / STAGE_H))
local ny = rel.Y / (-rel.Z * t)
return Vector2.new((nx * 0.5 + 0.5) * STAGE_W, (0.5 - ny * 0.5) * STAGE_H)
end
-- ESP elements around the player (positioned by layout())
local auras = {}
for k = 1, 4 do
local f, s = outlined(WHITE, 4)
s.Thickness = 3
corner(3 + k * 2).Parent = f
auras[k] = { frame = f, stroke = s }
end
local boxOuter = outlined(BLACK, 5)
local boxMain, boxMainStroke = outlined(WHITE, 5)
local boxInner = outlined(BLACK, 5)
local pvName = espText(13, false)
pvName.Text = LocalPlayer.DisplayName
pvName.TextXAlignment = Enum.TextXAlignment.Center
local HEALTH = 78
local hpBack = frame({ BackgroundColor3 = BLACK, ZIndex = 5, Parent = stage })
local hpFill = frame({
AnchorPoint = Vector2.new(0, 1),
Position = UDim2.new(0, 1, 1, -1),
BackgroundColor3 = rgb(235, 70, 70):Lerp(rgb(90, 225, 110), HEALTH / 100),
ZIndex = 5,
Parent = hpBack,
})
local hpText = espText(10, true)
hpText.Text = tostring(HEALTH)
hpText.TextXAlignment = Enum.TextXAlignment.Right
local AMMO = 0.8
local ammoBack = frame({ BackgroundColor3 = BLACK, ZIndex = 5, Parent = stage })
local ammoFill = frame({ Position = UDim2.fromOffset(1, 1), BackgroundColor3 = WHITE, ZIndex = 5, Parent = ammoBack })
local pvWeaponText = espText(12, false)
pvWeaponText.Text = gameAdapter and gameAdapter.nativeItem() and gameAdapter.nativeItem().Name or PREVIEW_SOURCE.weapon.label
pvWeaponText.TextXAlignment = Enum.TextXAlignment.Center
-- weapon icon: the game's own gunsmith model, like the live ESP
local pvWeaponIcon = create("ViewportFrame", {
BackgroundTransparency = 1,
Size = UDim2.fromOffset(60, 22),
Ambient = WHITE,
LightColor = BLACK,
ZIndex = 6,
Parent = stage,
})
do
local src = resolvePath(PREVIEW_SOURCE.weapon.model)
if src and src:IsA("Model") then
local ok = pcall(function()
-- the same flat white silhouette the live ESP draws, with this preview's attachments
local clone = src:Clone()
local all = clone:FindFirstChild("AllAttachments")
if all then
for _, slot in ipairs(all:GetChildren()) do
local keep = PREVIEW_SOURCE.weapon.attachments[slot.Name]
for i, variant in ipairs(slot:GetChildren()) do
if (keep and variant.Name ~= keep) or (not keep and i > 1) then
variant:Destroy()
end
end
end
end
for _, d in ipairs(clone:GetDescendants()) do
if d:IsA("Sound") or d:IsA("LuaSourceContainer") or d:IsA("ParticleEmitter") or d:IsA("Light") or d:IsA("SurfaceAppearance") or d:IsA("Decal") then
d:Destroy()
elseif d:IsA("BasePart") then
d.Anchored, d.Color, d.Material = true, WHITE, Enum.Material.SmoothPlastic
if d:IsA("MeshPart") then
d.TextureID = ""
end
end
end
clone.Parent = pvWeaponIcon
local cf, size = clone:GetBoundingBox()
local camera = create("Camera", { FieldOfView = 25, Parent = pvWeaponIcon })
-- side view: look along the weapon's thinnest axis
local direction = cf.RightVector
if size.Y < size.X and size.Y < size.Z then
direction = cf.UpVector
elseif size.Z < size.X and size.Z < size.Y then
direction = cf.LookVector
end
camera.CFrame = CFrame.lookAt(cf.Position - direction * math.max(size.Magnitude * 1.4, 1), cf.Position)
pvWeaponIcon.CurrentCamera = camera
end)
if not ok then
pvWeaponIcon:ClearAllChildren()
end
end
end
local nativeWeaponIcon
local nativeWeaponName
if gameAdapter then
nativeWeaponName = gameAdapter.nativeItem() and gameAdapter.nativeItem().Name
nativeWeaponIcon = create("ImageLabel",{Name="NativeWeaponIcon",Size=UDim2.fromScale(1,1),BackgroundTransparency=1,ScaleType=Enum.ScaleType.Fit,Image=gameAdapter.weaponIcon(nativeWeaponName) or "",Parent=pvWeaponIcon})
end
local FLAGS = {
{ "Aiming", "AIM", rgb(255, 205, 100) },
{ "Credits", "58 IC", rgb(135, 225, 115) },
{ "Local Ping", "38 MS", rgb(255, 130, 130) },
{ "Distance", "12M", rgb(190, 200, 215) },
}
local flagLabels = {}
for i, f in ipairs(FLAGS) do
local l = espText(10, true)
l.Text = f[2]
l.TextColor3 = f[3]
l.TextXAlignment = Enum.TextXAlignment.Left
l.Size = UDim2.fromOffset(70, 11)
flagLabels[i] = l
end
local BONES = {
{ "Head", "UpperTorso" }, { "UpperTorso", "LowerTorso" },
{ "UpperTorso", "LeftUpperArm" }, { "LeftUpperArm", "LeftLowerArm" }, { "LeftLowerArm", "LeftHand" },
{ "UpperTorso", "RightUpperArm" }, { "RightUpperArm", "RightLowerArm" }, { "RightLowerArm", "RightHand" },
{ "LowerTorso", "LeftUpperLeg" }, { "LeftUpperLeg", "LeftLowerLeg" }, { "LeftLowerLeg", "LeftFoot" },
{ "LowerTorso", "RightUpperLeg" }, { "RightUpperLeg", "RightLowerLeg" }, { "RightLowerLeg", "RightFoot" },
}
local boneLines = {}
for i = 1, #BONES do
boneLines[i] = frame({ AnchorPoint = Vector2.new(0.5, 0.5), BackgroundColor3 = WHITE, Visible = false, ZIndex = 5, Parent = stage })
end
local ring = frame({ AnchorPoint = Vector2.new(0.5, 0.5), BackgroundTransparency = 1, Visible = false, ZIndex = 4, Parent = stage }, { corner(UDim.new(1, 0)) })
local ringStroke = create("UIStroke", { Color = WHITE, Thickness = 2, Parent = ring })
text({
Text = rigMain and "Drag to rotate" or "",
TextSize = 11,
TextColor3 = Theme.Dim,
TextXAlignment = Enum.TextXAlignment.Center,
Position = UDim2.fromOffset(0, STAGE_H - 22),
Size = UDim2.fromOffset(STAGE_W, 14),
ZIndex = 6,
Parent = stage,
})
local state = { flags = {}, ammo = false, icon = false, text = false, skeleton = false, ring = false, glow = false, glowStyle = "Default", hidden = false }
local function pv(path)
return getValue("Players/" .. path)
end
local function layout(x, y, w, h)
boxOuter.Position, boxOuter.Size = UDim2.fromOffset(x - 1, y - 1), UDim2.fromOffset(w + 2, h + 2)
boxMain.Position, boxMain.Size = UDim2.fromOffset(x, y), UDim2.fromOffset(w, h)
boxInner.Position, boxInner.Size = UDim2.fromOffset(x + 1, y + 1), UDim2.fromOffset(w - 2, h - 2)
pvName.Position, pvName.Size = UDim2.fromOffset(x - 60, y - 20), UDim2.fromOffset(w + 120, 17)
local fillH = math.floor(h * HEALTH / 100 + 0.5)
hpBack.Position, hpBack.Size = UDim2.fromOffset(x - 8, y - 1), UDim2.fromOffset(5, h + 2)
hpFill.Size = UDim2.new(1, -2, 0, fillH)
hpText.Position, hpText.Size = UDim2.fromOffset(x - 38, y + h - fillH - 6), UDim2.fromOffset(26, 14)
local bottom = y + h + 3
ammoBack.Position, ammoBack.Size = UDim2.fromOffset(x - 1, bottom), UDim2.fromOffset(w + 2, 5)
ammoFill.Size = UDim2.new(AMMO, -2, 1, -2)
if state.ammo then
bottom += 7
end
pvWeaponIcon.Position = UDim2.fromOffset(math.floor(x + w / 2 - 30), bottom - 1)
if state.icon then
bottom += 21
end
pvWeaponText.Position, pvWeaponText.Size = UDim2.fromOffset(x - 60, bottom - 1), UDim2.fromOffset(w + 120, 16)
local row = 0
for i, label in ipairs(flagLabels) do
if state.flags[i] then
label.Position = UDim2.fromOffset(x + w + 5, y + row * 11 - 1)
row += 1
end
end
for k, a in ipairs(auras) do
local pad = 2 + k * 3
a.frame.Position, a.frame.Size = UDim2.fromOffset(x - pad, y - pad), UDim2.fromOffset(w + pad * 2, h + pad * 2)
end
ring.Position = UDim2.fromOffset(x + w / 2, y + h)
end
local function refreshPreview()
pvContext.Text = Store.contexts.players or ""
-- chams
local mode = pv("Chams/Material")
if not MATERIALS[mode] then
mode = "Flat"
end
local opacity = math.clamp((tonumber(pv("Chams/Opacity")) or 100) / 100, 0.1, 1)
if rigMain then
paintRig(rigMain, pv("Chams/Visible") == true, fromHex(pv("Chams/Visible/Color")), mode, opacity)
paintRig(rigHidden, true, fromHex(pv("Chams/Through Walls/Color")), mode, opacity)
end
state.hidden = pv("Chams/Through Walls") == true
-- glow rings around the box
state.glow = pv("Glow/Enabled") == true
state.glowStyle = pv("Glow/Style")
local glowColor = fromHex(pv("Glow/Enabled/Color"))
for _, a in ipairs(auras) do
a.frame.Visible = state.glow
a.stroke.Color = glowColor
end
-- box, name, health
local boxOn = pv("ESP/Bounding Box") == true
boxOuter.Visible, boxMain.Visible, boxInner.Visible = boxOn, boxOn, boxOn
boxMainStroke.Color = fromHex(pv("ESP/Bounding Box/Color"))
pvName.Visible = pv("ESP/Name") == true
pvName.TextColor3 = fromHex(pv("ESP/Name/Color"))
local hpOn = pv("ESP/Health Bar") == true
hpBack.Visible, hpText.Visible = hpOn, hpOn
-- ammo and weapon stack under the box
state.ammo = pv("ESP/Ammo") == true
ammoBack.Visible = state.ammo
ammoFill.BackgroundColor3 = fromHex(pv("ESP/Ammo/Color"))
local weaponMode = pv("ESP/Weapon")
state.icon = (weaponMode == "Icon" or weaponMode == "Text + Icon") and (nativeWeaponIcon and nativeWeaponIcon.Image~="" or pvWeaponIcon.CurrentCamera ~= nil)
state.text = weaponMode == "Text" or weaponMode == "Text + Icon"
pvWeaponIcon.Visible = state.icon
pvWeaponText.Visible = state.text
-- flags down the right side of the box
local selected = pv("ESP/Flags") or {}
for i, f in ipairs(FLAGS) do
local on = table.find(selected, f[1]) ~= nil
state.flags[i] = on
flagLabels[i].Visible = on
end
-- skeleton and footstep ring
state.skeleton = pv("ESP/Skeleton") == true
local skColor = fromHex(pv("ESP/Skeleton/Color"))
for _, l in ipairs(boneLines) do
l.Visible = state.skeleton and rigMain ~= nil
l.BackgroundColor3 = skColor
end
state.ring = pv("Other/Footstep Indicators") == true
ringStroke.Color = fromHex(pv("Other/Footstep Indicators/Color"))
ring.Visible = state.ring
if not rigMain then
layout(math.floor(STAGE_W / 2 - 60), math.floor(STAGE_H / 2 - 130), 120, 260)
end
end
local function placeLine(line, a, b)
local d = b - a
line.Position = UDim2.fromOffset((a.X + b.X) / 2, (a.Y + b.Y) / 2)
line.Size = UDim2.fromOffset(d.Magnitude, 1)
line.Rotation = math.deg(math.atan2(d.Y, d.X))
end
local function step3D()
-- the hidden copy follows the visible one frame for frame
if rigMain.track and rigHidden.track then
local t = rigMain.track.TimePosition
if math.abs(rigHidden.track.TimePosition - t) > 0.02 then
rigHidden.track.TimePosition = t
end
end
-- hidden layer: clipped to the wall's rectangle on screen
if state.hidden then
local x0, y0, x1, y1 = math.huge, math.huge, -math.huge, -math.huge
local s = wall.Size / 2
for ix = -1, 1, 2 do
for iy = -1, 1, 2 do
for iz = -1, 1, 2 do
local q = project(wall.CFrame:PointToWorldSpace(Vector3.new(s.X * ix, s.Y * iy, s.Z * iz)))
if q then
x0, y0, x1, y1 = math.min(x0, q.X), math.min(y0, q.Y), math.max(x1, q.X), math.max(y1, q.Y)
end
end
end
end
x0, y0 = math.max(math.floor(x0), 0), math.max(math.floor(y0), 0)
x1, y1 = math.min(math.ceil(x1), STAGE_W), math.min(math.ceil(y1), STAGE_H)
hiddenClip.Visible = x1 > x0 and y1 > y0
hiddenClip.Position, hiddenClip.Size = UDim2.fromOffset(x0, y0), UDim2.fromOffset(math.max(x1 - x0, 0), math.max(y1 - y0, 0))
hiddenView.vp.Position = UDim2.fromOffset(-x0, -y0)
else
hiddenClip.Visible = false
end
-- box from the body (not the arms or rifle), padded like the live ESP
local lo, hi
for _, name in ipairs(BOX_PARTS) do
local part = rigMain.body[name]
if part then
local cf, s = part.CFrame, part.Size / 2
for ix = -1, 1, 2 do
for iy = -1, 1, 2 do
for iz = -1, 1, 2 do
local p = cf:PointToWorldSpace(Vector3.new(s.X * ix, s.Y * iy, s.Z * iz))
lo = lo and Vector3.new(math.min(lo.X, p.X), math.min(lo.Y, p.Y), math.min(lo.Z, p.Z)) or p
hi = hi and Vector3.new(math.max(hi.X, p.X), math.max(hi.Y, p.Y), math.max(hi.Z, p.Z)) or p
end
end
end
end
end
if lo then
local pad = Vector3.new(0.15, 0.12, 0.15)
lo, hi = lo - pad, hi + pad
local cx, cz = (lo.X + hi.X) / 2, (lo.Z + hi.Z) / 2
local hx, hz = math.max((hi.X - lo.X) / 2 * 0.88, 0.95), math.max((hi.Z - lo.Z) / 2 * 0.88, 0.95)
local minX, minY, maxX, maxY = math.huge, math.huge, -math.huge, -math.huge
for _, x in ipairs({ cx - hx, cx + hx }) do
for _, y in ipairs({ lo.Y, hi.Y + 0.1 }) do
for _, z in ipairs({ cz - hz, cz + hz }) do
local q = project(Vector3.new(x, y, z))
if q then
minX, minY = math.min(minX, q.X), math.min(minY, q.Y)
maxX, maxY = math.max(maxX, q.X), math.max(maxY, q.Y)
end
end
end
end
if minX < maxX then
layout(math.floor(minX + 0.5), math.floor(minY + 0.5), math.floor(maxX - minX + 0.5), math.floor(maxY - minY + 0.5))
end
end
if state.skeleton then
for i, bone in ipairs(BONES) do
local a, b = rigMain.body[bone[1]], rigMain.body[bone[2]]
local pa, pb = a and project(a.Position), b and project(b.Position)
boneLines[i].Visible = pa ~= nil and pb ~= nil
if pa and pb then
placeLine(boneLines[i], pa, pb)
end
end
end
end
-- drag the stage to turn the model around; double-click resets the view
if rigMain then
local rotateHit = hitbox({ Name = "RotateHit", Size = UDim2.fromScale(1, 1), ZIndex = 7, Parent = stage })
local dragging, lastX, lastClick = false, 0, 0
connect(rotateHit.MouseButton1Down, function()
if os.clock() - lastClick < 0.3 then
viewYaw = DEFAULT_YAW
applyYaw()
end
lastClick = os.clock()
dragging = true
lastX = UserInputService:GetMouseLocation().X
end)
connect(UserInputService.InputChanged, function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
local x = UserInputService:GetMouseLocation().X
viewYaw += (x - lastX) * math.rad(0.6)
lastX = x
applyYaw()
end
end)
connect(UserInputService.InputEnded, function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
end
local pvDirty = true
table.insert(Store.any, function(path)
if path:sub(1, 8) == "Players/" then
pvDirty = true
end
end)
connect(RunService.RenderStepped, function()
if not (preview.Visible and holder.Visible) then
return
end
if gameAdapter then
local weapon=gameAdapter.nativeItem();local name=weapon and weapon.Name
if name~=nativeWeaponName then
nativeWeaponName=name;nativeWeaponIcon.Image=gameAdapter.weaponIcon(name) or "";pvWeaponText.Text=name or "";pvDirty=true
end
end
if pvDirty then
pvDirty = false
refreshPreview()
end
if rigMain then
step3D()
end
local t = os.clock()
if state.glow then
local pulse = 0.5 + 0.5 * math.sin(t * 3.2)
for k, a in ipairs(auras) do
local base = state.glowStyle == "Outline" and (k == 1 and 0.1 or k == 2 and 0.55 or 1) or (0.5 + k * 0.11)
a.stroke.Transparency = state.glowStyle == "Pulse" and math.clamp(base + (1 - pulse) * 0.4, 0, 1) or base
end
end
if state.ring then
local k = (t % 1.5) / 1.5
local w = 24 + k * 120
ring.Size = UDim2.fromOffset(w, w * 0.2)
ringStroke.Transparency = 0.2 + k * 0.8
end
end)
return preview, function()
pvDirty = true
end
end
local preview, markPreviewDirty = buildPreview()
---------------------------------------------------------------------------------------
-- Navigation
---------------------------------------------------------------------------------------
selectPage = function(key, instant)
if not pages[key] then
return
end
if currentPage == key then
return
end
closePopup()
currentPage = key
for k, nb in pairs(navButtons) do
local active = k == key
nb.label.TextColor3 = active and Theme.NavTextActive or Theme.NavText
nb.icon.ImageColor3 = active and Theme.NavIconActive or Theme.NavIcon
end
local target = UDim2.fromOffset(9, navButtons[key].y)
if instant then
navHighlight.Position = target
else
tween(navHighlight, 0.2, { Position = target })
end
for k, page in pairs(pages) do
page.Visible = k == key
end
updateHeaderWidgets()
preview.Visible = key == "players"
markPreviewDirty()
if key == "scripts" then
rebuildScripts()
elseif key == "configs" then
rebuildConfigs()
end
local page = pages[key]
page.CanvasPosition = Vector2.zero
if not instant then
local inner = page:FindFirstChild("Inner")
if inner then
inner.Position = UDim2.fromOffset(0, 8)
tween(inner, 0.22, { Position = UDim2.fromOffset(0, 0) })
end
end
end
for key, nb in pairs(navButtons) do
connect(nb.button.MouseButton1Click, function()
selectPage(key)
end)
connect(nb.button.MouseEnter, function()
if currentPage ~= key then
tween(nb.label, 0.12, { TextColor3 = Color3.new(1, 1, 1) })
end
end)
connect(nb.button.MouseLeave, function()
if currentPage ~= key then
tween(nb.label, 0.12, { TextColor3 = Theme.NavText })
end
end)
end
---------------------------------------------------------------------------------------
-- Show/hide, dragging, keybinds
---------------------------------------------------------------------------------------
-- The custom camera can re-lock the cursor every frame, so release it after
-- camera/input updates while the menu is visible. Restore the captured state
-- when closing or unloading.
local mouseState
local mouseBinding = "NeverloseMenuMouse"
local function restoreMenuMouse()
if mouseState then
UserInputService.MouseBehavior = mouseState.behavior
UserInputService.MouseIconEnabled = mouseState.icon
mouseState = nil
end
end
local function releaseMenuMouse()
if not mouseState then
mouseState = {
behavior = UserInputService.MouseBehavior,
icon = UserInputService.MouseIconEnabled,
}
end
UserInputService.MouseBehavior = Enum.MouseBehavior.Default
UserInputService.MouseIconEnabled = true
end
RunService:BindToRenderStep(mouseBinding, Enum.RenderPriority.Last.Value + 10, function()
if menuOpen then releaseMenuMouse() else restoreMenuMouse() end
end)
table.insert(cleanups, function()
RunService:UnbindFromRenderStep(mouseBinding)
restoreMenuMouse()
end)
local menuTweens = {}
local menuTransition = 0
local function setMenuVisible(v)
v = v == true
if menuOpen == v then return end
menuOpen = v
mouseUnlock.Modal = v
menuTransition += 1
local transition = menuTransition
for _,animation in ipairs(menuTweens) do animation:Cancel() end
table.clear(menuTweens)
closePopup()
if v then
holder.Visible = true
releaseMenuMouse()
else
restoreMenuMouse()
if searching then setSearching(false) end
end
local target = v and 1 or 0
local duration = math.max(0.06, (v and 0.18 or 0.14) * math.abs(target - menuMotion.Value))
table.insert(menuTweens, tween(menuMotion, duration, { Value = target }, Enum.EasingStyle.Cubic))
table.insert(menuTweens, tween(window, duration, { GroupTransparency = 1 - target }, Enum.EasingStyle.Cubic))
table.insert(menuTweens, tween(preview, duration, { GroupTransparency = 1 - target }, Enum.EasingStyle.Cubic))
if not v then
task.delay(duration, function()
if transition == menuTransition and not menuOpen then holder.Visible = false; updateKeybindVisibility() end
end)
end
updateKeybindVisibility()
end
table.insert(cleanups, function()
menuTransition += 1
for _,animation in ipairs(menuTweens) do animation:Cancel() end
menuMotion:Destroy()
end)
local dragStart, startPos
local function beginDrag(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragStart = input.Position
startPos = menuBasePosition
end
end
connect(logoArea.InputBegan, beginDrag)
connect(header.InputBegan, beginDrag)
connect(UserInputService.InputChanged, function(input)
if dragStart and input.UserInputType == Enum.UserInputType.MouseMovement then
local d = input.Position - dragStart
menuBasePosition = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y)
applyMenuMotion()
if d.Magnitude > 3 then
closePopup()
end
end
end)
connect(UserInputService.InputEnded, function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragStart = nil
end
end)
connect(UserInputService.InputBegan, function(input)
if UserInputService:GetFocusedTextBox() or os.clock() < Store.captureUntil then
return
end
local name = keyName(input)
if not name then
return
end
if name == getValue(SETTINGS .. "/Menu Key") then
setMenuVisible(not menuOpen)
return
end
for path in pairs(Store.binds) do
if getValue(path .. "/Key") == name then
local mode = getValue(path .. "/Mode")
if mode == "Toggle" then
setValue(path, not getValue(path))
elseif mode == "Hold" then
Store.held[path] = true
setValue(path, true)
end
end
end
end)
connect(UserInputService.InputEnded, function(input)
local name = keyName(input)
if not name then
return
end
for path in pairs(Store.held) do
if getValue(path .. "/Key") == name then
Store.held[path] = nil
setValue(path, false)
end
end
end)
---------------------------------------------------------------------------------------
-- Acrylic blur behind the sidebar
--
-- Roblox can't blur behind a GUI directly. Instead a nearly invisible Glass part is
-- kept right in front of the camera, exactly covering the sidebar on screen. Glass
-- writes to the depth buffer, so a DepthOfField effect that only blurs things closer
-- than ~1.6 studs blurs every pixel the part covers, i.e. the game behind the sidebar.
-- Needs graphics quality high enough for post effects; otherwise it simply stays sharp.
---------------------------------------------------------------------------------------
local BLUR_DEPTH = 0.5
local BLUR_INSET = 3 -- keeps the square part inside the sidebar's rounded corners
local blurRegion = frame({
Name = "BlurRegion",
Position = UDim2.fromOffset(BLUR_INSET, BLUR_INSET),
Size = UDim2.fromOffset(SIDEBAR_W - BLUR_INSET, WIN_H - BLUR_INSET * 2),
BackgroundTransparency = 1,
Parent = window,
})
local blurPart, blurDof
local function clearBlur()
if blurPart then
blurPart:Destroy()
blurPart = nil
end
if blurDof then
blurDof:Destroy()
blurDof = nil
end
end
local function buildBlur(cam)
clearBlur()
for _, name in ipairs({ "NeverloseBlur", "NeverloseBlurDoF" }) do
local old = cam:FindFirstChild(name)
if old then
old:Destroy()
end
end
blurDof = create("DepthOfFieldEffect", {
Name = "NeverloseBlurDoF",
FarIntensity = 0,
FocusDistance = 51.6,
InFocusRadius = 50,
NearIntensity = 1,
Parent = cam,
})
blurPart = create("Part", {
Name = "NeverloseBlur",
Material = Enum.Material.Glass,
Color = Color3.new(0, 0, 0),
Transparency = 0.98,
Anchored = true,
CanCollide = false,
CanQuery = false,
CanTouch = false,
CastShadow = false,
Size = Vector3.new(1, 1, 0.001),
Parent = cam,
})
end
local function worldAt(cam, screenPos)
local ray = cam:ScreenPointToRay(screenPos.X, screenPos.Y, 0)
return ray.Origin + ray.Direction * (BLUR_DEPTH / ray.Direction:Dot(cam.CFrame.LookVector))
end
connect(RunService.RenderStepped, function()
local cam = workspace.CurrentCamera
if not cam then
return
end
if not blurPart or blurPart.Parent ~= cam then
buildBlur(cam)
end
local shown = holder.Visible and getValue(SETTINGS .. "/Background Blur") == true
local opacity = shown and menuMotion.Value or 0
blurDof.Enabled = opacity > 0.001
blurDof.NearIntensity = opacity
blurPart.Transparency = 1 - 0.02 * opacity
if opacity <= 0.001 then
return
end
local ap, as = blurRegion.AbsolutePosition, blurRegion.AbsoluteSize
local tl = worldAt(cam, ap)
local tr = worldAt(cam, ap + Vector2.new(as.X, 0))
local bl = worldAt(cam, ap + Vector2.new(0, as.Y))
local center = worldAt(cam, ap + as / 2)
blurPart.Size = Vector3.new((tr - tl).Magnitude, (bl - tl).Magnitude, 0.001)
blurPart.CFrame = CFrame.lookAt(center, center + cam.CFrame.LookVector, cam.CFrame.UpVector)
end)
table.insert(cleanups, clearBlur)
---------------------------------------------------------------------------------------
-- Start-up
---------------------------------------------------------------------------------------
if setthreadidentity then setthreadidentity(8) end
gui.Parent = guiParent
api.adapter = gameAdapter
api.ui = { status = function() return { fontsReady = fontCache.ready, fontWarmups = fontCache.warmups, fontError = fontCache.lastError, open = menuOpen, progress = menuMotion.Value, scale = holderScale.Scale } end }
api.esp = installLiveESP(gui, Store, connect, cleanups, gameAdapter)
api.world = installWorldVisuals(getValue, connect, cleanups, gameAdapter)
api.ragebot = installRagebot(Store, connect, cleanups, function() return menuOpen end, function(title, body) notify(title, body) end, gameAdapter)
api.legitbot = installLegitbot(Store, connect, cleanups, function() return menuOpen end, gameAdapter)
api.antiaim = installAntiAim(getValue, connect, cleanups, function() return menuOpen end, function(title, body) notify(title, body) end, gameAdapter)
api.movement = installMovement(getValue, connect, cleanups, function() return menuOpen end, gameAdapter)
api.autovote = installAutoVote(getValue, connect, cleanups, gameAdapter)
if gameAdapter then api.models=installCustomModels(pages.models,gameAdapter,getValue,connect,cleanups,function()return menuOpen end,function(title,body)notify(title,body)end)end
-- reload the last used config, if any
if isfile(ROOT .. "/last_config.txt") then
local last = readfile(ROOT .. "/last_config.txt")
if last ~= "" and isfile(configFile(last)) then
loadConfig(last, true)
end
end
if reloadValues then
Store.values = supportedConfig(reloadValues)
for path,callbacks in pairs(Store.controls)do for _,apply in ipairs(callbacks)do apply(getValue(path))end;fire(path,getValue(path))end
end
-- Migrate the previous default in existing saved configurations.
if getValue(SETTINGS .. "/Menu Key") == "Insert" then
setValue(SETTINGS .. "/Menu Key", "Delete")
end
refreshPaths()
selectPage(pages[env.NeverloseStartPage] and env.NeverloseStartPage or "ragebot", true)
refreshKeybindList()
setMenuVisible(true)
---------------------------------------------------------------------------------------
-- Public API: getgenv().NeverloseMenu
---------------------------------------------------------------------------------------
local contextOptions = {
skins = gameAdapter and gameAdapter.weaponChoices or nil,
players = {"Enemies", "Teammates", "Local"},
ragebot = {"Global", "Pistols", "Heavy Pistols", "Auto Snipers", "Scout", "AWP", "Rifles", "SMG"},
}
api.snapshot = function()local values={};for k,v in pairs(Store.values)do values[k]=copyValue(v)end;return values end
api.restoreSnapshot = function(values)
assert(type(values) == "table", "snapshot must be a table")
Store.values = supportedConfig(values)
refreshPaths()
end
api.get = function(path, context)
if not context then return getValue(path) end
local page = Store.pageOf[path]
if not contextOptions[page] or not table.find(contextOptions[page], context) then error("invalid setting context", 2) end
local value = Store.values[path .. "@" .. context]
if value == nil and page == "ragebot" then value = Store.values[path .. "@Global"] end
if value == nil then value = Store.defaults[path] end
return copyValue(value)
end
api.set = function(path, value, context)
if Store.defaults[path] == nil then error("unknown setting: " .. tostring(path), 2) end
if context then
local page = Store.pageOf[path]
if not contextOptions[page] or not table.find(contextOptions[page], context) then error("invalid setting context", 2) end
if context ~= Store.contexts[page] then
Store.values[path .. "@" .. context] = copyValue(value)
fire(path, value)
return
end
end
setValue(path, value)
end
api.onChanged = onChanged
api.onAnyChanged = function(fn)
table.insert(Store.any, fn)
return {
Disconnect = function()
local i = table.find(Store.any, fn)
if i then
table.remove(Store.any, i)
end
end,
}
end
api.paths = function()
local list = {}
for path in pairs(Store.defaults) do
table.insert(list, path)
end
table.sort(list)
return list
end
api.notify = function(title, body)
notify(tostring(title), body and tostring(body) or "")
end
api.select = function(key)
selectPage(key)
end
api.toggle = function()
setMenuVisible(not menuOpen)
end
api.show = function(v)
setMenuVisible(v ~= false)
end
api.saveConfig = function(name)
return saveConfig(name or currentConfig or "default")
end
api.loadConfig = loadConfig
api.configs = function()
local names = {}
for _, c in ipairs(listConfigs()) do
table.insert(names, c.name)
end
return names
end
api.unload = function()
if gui:GetAttribute("Unloaded") then
return
end
gui:SetAttribute("Unloaded", true)
for _, c in ipairs(connections) do
pcall(function()
c:Disconnect()
end)
end
for i = #cleanups, 1, -1 do
pcall(cleanups[i])
end
closePopup()
gui:Destroy()
if env.NeverloseMenu == api then
env.NeverloseMenu = nil
env.NeverloseMenuCleanups = nil
end
end
api.destroy = api.unload
-- Native controllers can resume callers at game identity. Keep protected UI work local
-- to these API calls and restore the caller's identity even if a control throws.
for _,name in ipairs({'set','select','toggle','show','loadConfig','saveConfig','unload','destroy','notify','restoreSnapshot'})do
local originalCall=api[name]
api[name]=function(...)
local prior=getthreadidentity and getthreadidentity()
if setthreadidentity then setthreadidentity(8)end
local result=table.pack(pcall(originalCall,...))
if setthreadidentity and prior then setthreadidentity(prior)end
if not result[1]then error(result[2],0)end
return table.unpack(result,2,result.n)
end
end
env.NeverloseMenu = api
api._jobId = game.JobId
api.isAlive = function() return gui.Parent ~= nil and not gui:GetAttribute("Unloaded") end
api.autoexecute = installAutoExecute(api, connect, cleanups, env, ROOT, STARTUP_SOURCE)
env.NeverloseTeleportValues = nil
return api
end
ICON_DATA = {
["models_14"] = "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABGklEQVR4nIXRMWtVQRAF4LN5L2DSBNRWU9uq2NsqdsFgSG9lESGQnxCsQjory/wBeWBlY+WPsBFiISSNGgnmfRbOfblcvMnCsjNn5uycmUmuOWgDfzKahD18xpMB/uB/pEm9z3GCHZzhTuGH5W8lydKAPE1ylkSS9SQ/kszrU7072tcLzHBvgD/s7E57K/tlkmdJbpaa8yTfkrxrrc0qd6m1Nu/kBa8xxy728RPbOPDv3MdkMVU0rOE39gp7jC89iR/xqXIv14ENHGMVy9jEd6xgikc16bud3I64jNu9fX0oeVu9+K0FYWSiT2tfR/hapDaW3KrxGzjF28L/YL+r2ucsSrfWLpKsJnm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AAAAABJRU5ErkJggg==",
["check_10"] = "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAnklEQVR4nIWQMQoCMRBFX3aDsNgqW3gAL2Brv52H8wRewUvoDSxFsRTsLCx8Fk4khejAwM/kzWTyk8qPaIBnEf+gXIMtkCooBzQAJ2CGWmdSc+iF71irGbVRV2pXNczVh7opA1BH6lndRbFXb+o2zq2akpqAHtgDF2AKXIFl7CtgeRp1oh7VgzqOfcsdKXwsVnTx+3vtIfABCcAvGoAXIdGbBMzqNwMAAAAASUVORK5CYII=",
["check_11"] = "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAArElEQVR4nI3RIU6DQRDF8bdfP0WCROEq6lBcglvU9QS9AIIzITCI3gBHUChEBaKy7a+CXbItJfCSTd7M/Gd2M1uQPzQkKUl24z/AfR/8prGCd0meklz08HACbpPcJnmstV3Qn4Kx+hk2WGGC0qBnPHRN1/jACy5rbmjFpS/d4wpveK8+GJBvg0Vt+MQa05qftBvb5PbOOV5xcwoipfuUo52eiY/Wte/iH2CSHAAHwMMghZCRAQAAAABJRU5ErkJggg==",
["chevron_10"] = "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAi0lEQVR4nI2QMQpCQQxE30ZvYKFgqbW38FoW3shCwd7eY6igF7D4z2YD8WPhwpDMZBLYaSr/vCh96/jJo1Q70pA8qnEHnMul1E/AHgA11JV6U48qHYeurdVoagADMAeuwAV4A1tgAzyAyO1Jrwv1rj7VZZ21Ek9ennX+KtqXMT/iaBGA6SjXGs9QBx+Vbl/MYA6D+AAAAABJRU5ErkJggg==",
["chevron_12"] = "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAnElEQVR4nJWRPQ7CMBSDvyTlAnAbFtaeBlohsTHAAhsXhpoBVw2PqhJe3o+dZ8lJkvgH2TUBZUFXrCEFhwREywwM0WENtBZnP0yVuAU2AEhC0lYf3D03klbur+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X6nzUXlQ/ZO7b+Gt1uZljX72Kwg02F99P4V/xg0acoq6l2pn6Sd0MaSk3DBMf5enKDNACjoGXwHugCzzIPBuVMENgFzgC2ndXrqe+U384tSv/ruF6nVu8f8k7WfICnEfxf3L+AOMS1cuI9EJJAAAAAElFTkSuQmCC",
["world_16"] = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABYElEQVR4nHWTvUpDQRCFz00iihpBQcQ/xDalIYRg7QOID2BhI/gQIS8h9gbUQhS0tRXEzjcIEhDFQoLGxNx8NueGzU0ycNnd2Tnn7syZiQAFlpUUe5+XtCoJSU1JP2NiJCD5Ml4rQB1oAG2gB3zaV07FDgiyXmuM2ivwGJyrIWYcuAf8Ab/en/q+BDylSRRcYmA/9YJjIBc8/cH+nTCFyxRBDDSBI2AqqNOmfW3gKiHIOzgB9kx2EADLwDnQMvgbeAPmc5LWJC1JiixM12tR0q2kRUl3kpY1bBlJ65lA25ZJZnwuWO9Dgzvuib4xUdIHs8CXK7wLXAMnwJKLtgHcO704KHITyCc5Xti5HeQdSlxwbWIXGhd+oELRzmdg3+cFYNqvqPu+GxCUmNBI+E979m8BHYMThWqkGikhqQY5vgBnwA3DViPVypOG6SMANeyrpGIVMXmc5yStWK53yzwyzv9Gj7NjFS1XiAAAAABJRU5ErkJggg==",
}
local started,result=xpcall(main,debug.traceback)
if not started then
local env=getgenv and getgenv() or {}
for _,connection in ipairs(env.NeverloseMenuConnections or {})do pcall(function()connection:Disconnect()end)end
for i=#(env.NeverloseMenuCleanups or {}),1,-1 do
if setthreadidentity then setthreadidentity(8)end
pcall(env.NeverloseMenuCleanups[i])
end
env.NeverloseMenu=nil
env.NeverloseMenuConnections=nil
env.NeverloseMenuCleanups=nil
error(result,0)
end
return result
]=====]
local env=getgenv()
env.NeverloseMenuSource=source
local chunk,err=loadstring(source,"Neverlose for RIVALS")
assert(chunk,err)
return chunk()Script #55 This script is for small hackers: & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/asywx/multicheat/refs/heads/main/main.lua"))()Script #56 Aimbot & More
loadstring(game:HttpGet("https://flowauth.net/v1/loaders/549fa7299d4d75b467d2ff8ff4a823b4.lua"))()Script #57 Unnamed Enhancements Cleaned Build & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/SemiLike/Unnamed-Enhancemets/refs/heads/main/Unnamed%20Enhancements.txt"))()Script #58 Cracked, Ragebot, Silent Aim, Aimbot & More
loadstring(game:HttpGet("https://srilangish.xyz/Scripts/unamed.txt", true))()Script #59 Trigger bot & More
loadstring(game:HttpGet("https://pastebin.com/raw/rreY0Se9"))()Script #60 Best script (LIE) & More
loadstring(game:HttpGet("https://pasteblox.com/raw/2zxjsabm24"))()Script #61 RVC HUB | Kill All & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/heyitsmehowareyou11/rvchub/main/loader.lua"))()Script #62 Nins Hub
loadstring(game:HttpGet("https://pastebin.com/raw/KYKxcBX6"))()Script #63 Skins & More
if getgenv().RivalsCosmeticsCleanup then
pcall(getgenv().RivalsCosmeticsCleanup)
end
local rs = game:GetService("ReplicatedStorage")
local http = game:GetService("HttpService")
local plr = game:GetService("Players").LocalPlayer
local lib = require(rs.Modules.CosmeticLibrary)
local replicated = require(rs.Modules.ReplicatedClass)
local vmClass = require(plr.PlayerScripts.Modules.ClientReplicatedClasses.ClientFighter.ClientItem.ClientViewModel)
local viewModels = plr.PlayerScripts.Assets.ViewModels
local classes = plr.PlayerScripts.Modules.ViewModels
local pdc = require(plr:WaitForChild("PlayerScripts").Controllers:WaitForChild("PlayerDataController"))
local equipRemote = rs.Remotes.Data.EquipCosmetic
local folder = "Cryptic Hub"
local file = folder .. "/Rivals Cosmetics.json"
local slots = { Skin = true, Wrap = true, Charm = true, Finisher = true }
local added = {}
local saved = {}
local alive = true
local swaps = {}
local swapping
local moduleCache = {}
local oldNc
local oldGet = replicated.Get
local oldVmGet = rawget(vmClass, "Get")
local function get(key)
local ok, v = pcall(pdc.CurrentData.Get, pdc.CurrentData, key)
return ok and v or nil
end
local function flush()
pcall(function()
if not isfolder(folder) then
makefolder(folder)
end
writefile(file, http:JSONEncode(saved))
end)
end
local function find(weapon)
local list = get("WeaponInventory")
if not list then return end
for _, w in pairs(list) do
if w.Name == weapon then
return w
end
end
end
local inv = get("CosmeticInventory")
for name in pairs(lib.Cosmetics) do
if inv and inv[name] == nil then
inv[name] = true
added[name] = true
end
end
pcall(function()
if isfile(file) then
saved = http:JSONDecode(readfile(file))
end
end)
for weapon, picks in pairs(saved) do
local w = find(weapon)
if w then
for slot, entry in pairs(picks) do
if slots[slot] and lib.Cosmetics[entry.Name] then
w[slot] = entry
end
end
end
end
local function baseOf(name)
local cosmetic = lib.Cosmetics[name]
if cosmetic and cosmetic.Type == "Skin" and cosmetic.ItemName then
return cosmetic.ItemName
end
return name
end
local function compatible(skinName, heldName)
local skinModel = viewModels:FindFirstChild(skinName, true)
local heldModel = viewModels:FindFirstChild(heldName, true)
if not skinModel or not heldModel then
return false
end
for _, child in ipairs(heldModel:GetChildren()) do
if not skinModel:FindFirstChild(child.Name) then
return false
end
end
return true
end
replicated.Get = function(self, key)
if alive and slots[key] then
local data = rawget(self, "Data")
local picks = data and saved[baseOf(data.Name)]
local entry = picks and picks[key]
if entry ~= nil then
return entry
end
end
return oldGet(self, key)
end
local function moduleOf(name)
local cached = moduleCache[name]
if cached == nil then
local found = classes:FindFirstChild(name, true)
cached = found and found:IsA("ModuleScript") and found or false
moduleCache[name] = cached
end
return cached or nil
end
local function installSwap(weapon)
if swaps[weapon] then return end
local defaultModule = moduleOf(weapon)
if not defaultModule then return end
local ok, class = pcall(require, defaultModule)
if not ok or type(class) ~= "table" or type(rawget(class, "new")) ~= "function" then return end
local origNew = class.new
swaps[weapon] = { class = class, origNew = origNew }
class.new = function(...)
local picks = alive and saved[weapon]
local skin = picks and picks.Skin
local skinModule = skin and moduleOf(skin.Name)
if skinModule and not swapping and viewModels:FindFirstChild(skin.Name, true)
and (skinModule.Parent == defaultModule.Parent or skinModule.Parent == defaultModule) then
local loaded, skinClass = pcall(require, skinModule)
if loaded and type(skinClass) == "table" and type(skinClass.new) == "function" then
swapping = { weapon = weapon, skin = skin.Name }
local built, object = pcall(skinClass.new, ...)
swapping = nil
if built then
return object
end
end
end
return origNew(...)
end
end
for weapon, picks in pairs(saved) do
if picks.Skin then
installSwap(weapon)
end
end
vmClass.Get = function(self, key)
if alive and key == "Name" then
local data = rawget(self, "Data")
if data then
if swapping and baseOf(data.Name) == swapping.weapon then
return swapping.skin
end
local picks = saved[baseOf(data.Name)]
local skin = picks and picks.Skin
if skin and not moduleOf(skin.Name) and compatible(skin.Name, data.Name) then
return skin.Name
end
end
end
return (oldVmGet or replicated.Get)(self, key)
end
local function refreshHeld(weapon, slot)
if slot ~= "Wrap" and slot ~= "Charm" then return end
for _, obj in ipairs(getgc(true)) do
if type(obj) == "table" and type(rawget(obj, "Data")) == "table" and rawget(obj, "ClientItem") and rawget(obj, "Model") and baseOf(obj.Data.Name) == weapon then
local entry = saved[weapon] and saved[weapon][slot]
obj.Data[slot] = entry
local signal = obj._value_changed_events and obj._value_changed_events[slot]
if signal then
pcall(signal.Fire, signal, entry)
end
if slot == "Wrap" and obj._UpdateWrap then
pcall(obj._UpdateWrap, obj)
end
end
end
end
local function equip(weapon, slot, name, extra)
local w = find(weapon)
if not w then return false end
local entry
if name then
entry = { Name = name, Inverted = slot == "Wrap" and extra and extra.IsInverted or nil }
end
w[slot] = entry
saved[weapon] = saved[weapon] or {}
saved[weapon][slot] = entry
if slot == "Skin" and entry then
installSwap(weapon)
end
flush()
refreshHeld(weapon, slot)
return true
end
oldNc = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
if alive and self == equipRemote and not checkcaller() and getnamecallmethod() == "FireServer" then
local weapon, slot, name, extra = ...
if slots[slot] and (name == nil or lib.Cosmetics[name]) and equip(weapon, slot, name, extra) then
return
end
end
return oldNc(self, ...)
end))
getgenv().RivalsCosmeticsCleanup = function()
alive = false
replicated.Get = oldGet
vmClass.Get = oldVmGet
for _, swap in pairs(swaps) do
swap.class.new = swap.origNew
end
local cur = get("CosmeticInventory")
if cur then
for name in pairs(added) do
cur[name] = nil
end
end
getgenv().RivalsCosmeticsCleanup = nil
endScript #64 OBLIVION HUB FOR RIVALS & More
loadstring(game:HttpGet("https://pasteblox.com/raw/diablo_codes/rivals"))()Script #65 best rivals script rage bot aimbot & More
loadstring(game:HttpGet("https://pasteblox.com/raw/vydghgdq69"))()Script #66 Rage & More
loadstring(game:HttpGet("https://loadstring.net/raw/xUBFmg7Zx2"))()Script #67 Cracked & More
local virtualInputManager, players, runService, userInputService, replicatedStorage, tweenService, httpService, currentCamera,
localPlayer, settingsFolderName, settingsFilePath, whiteColor, defaultSettings, allowedSettingTypes, saveSettings, settings,
setControlsRemote, sendControls, applyDeviceSpoofer, isSupportedGame, drawingObjects, isCombatMode, trackDrawingObject, fovCircle,
playerEspObjects, mainGui, dragStartPosition, dragStartInput, isDragging, dragStartGuiPosition, updateDragPosition, createWindow,
windowCornerRadius, activeWindow, themeColor, windowButtons, createMainWindow, windowPages, createSection, createSectionGroup, createLabel,
buttonLabels, isMenuOpen, tabButtons, tabSpacing, tabPadding, selectedTab, tabWidth, tabHeight,
getTabBarHeight, createTab, tabBar, deviceToggleButton, deviceControlsFrame, buildToggle, buildOptionToggle, deviceControlsContent,
refreshSettings, isMenuAnimating, getMenuHeight, openMenu, closeMenu, playerAttributes, characterCache, cacheRefreshInterval,
serializeValue, isTeamAttributeName, getTeamAttributes, getTeamValueObject, getPlayerTeamIdentifier, invalidatePlayerTeamCache, isTeammate, targetPlayers,
isValidTarget, targetRefreshInterval, lastTargetRefresh, refreshTargetCache, getMousePosition, worldToScreen, getNextTarget, hasLineOfSight,
currentAimbotTarget, findAimbotTarget, aimCameraAtTarget, updateAimbotTarget, getTargetParts, getCharacterBounds, isTriggerTarget, getEspObject,
removeEspObject, hideEspObjects, healthBarWidth, createEspObject, healthBarHeight, espLabelHeight, isTriggerbotActive, espMaxTextWidth,
updateEsp, refreshEsp, createEspGui, updateEspObjects;
if _G.__nameless_loaded then
warn("already running - blocked duplicate execution.")
return
end
_G.__nameless_loaded = true
virtualInputManager = game:GetService("VirtualInputManager")
players = game:GetService("Players")
runService = game:GetService("RunService")
userInputService = game:GetService("UserInputService")
replicatedStorage = game:GetService("ReplicatedStorage")
tweenService = game:GetService("TweenService")
httpService = game:GetService("HttpService")
currentCamera = workspace.CurrentCamera
localPlayer = players.LocalPlayer
settingsFolderName = "Nameless_Cache"
settingsFilePath = settingsFolderName .. "/settings.json"
pcall(function()
if makefolder and (not isfolder or not isfolder(settingsFolderName)) then
makefolder(settingsFolderName)
end
end)
whiteColor = Color3.fromRGB(255, 255, 255)
defaultSettings = {
ESP_Enabled = true,
ESP_Highlight = true,
ESP_Name = true,
ESP_Studs = true,
ESP_Tracer = false,
ESP_BoxTransparency = 0.5,
ESP_MaxDistance = 500,
Aimbot_Enabled = true,
Aimbot_FOVRadius = 100,
Aimbot_WallCheck = false,
Aimbot_Smoothness = 1,
Triggerbot_Enabled = true,
Triggerbot_MaxDistance = 1000,
Triggerbot_FOVRadius = 50,
InfJump_Enabled = false,
DeviceSpoofer_Active = nil,
}
allowedSettingTypes = { boolean = true, number = true, string = true }
saveSettings = function()
if not writefile then
return
end
local serializableSettings = {}
for key, value in pairs(settings) do
if allowedSettingTypes[typeof(value)] then
serializableSettings[key] = value
end
end
pcall(function()
writefile(settingsFilePath, httpService:JSONEncode(serializableSettings))
end)
end
settings = (function()
local loadedSettings
local success, result = pcall(function()
if not isfile or not isfile(settingsFilePath) then
return nil
end
local decodedSettings = httpService:JSONDecode(readfile(settingsFilePath))
if type(decodedSettings) ~= "table" then
return nil
end
for key, defaultValue in pairs(defaultSettings) do
if decodedSettings[key] == nil then
decodedSettings[key] = defaultValue
end
end
return decodedSettings
end)
if success then
loadedSettings = result
end
if loadedSettings then
return loadedSettings
end
local copiedDefaults = {}
for key, value in pairs(defaultSettings) do
copiedDefaults[key] = value
end
return copiedDefaults
end)()
if settings.ESP_Tracer == nil then
settings.ESP_Tracer = settings.ESP_Snapline or false
end
settings.ESP_Snapline = nil
settings.Triggerbot_MaxDistance = 1000
setControlsRemote = nil
pcall(function()
local remotes = replicatedStorage:WaitForChild("Remotes", 5)
if not remotes then
return
end
local replication = remotes:WaitForChild("Replication", 5)
if not replication then
return
end
local fighter = replication:WaitForChild("Fighter", 5)
if not fighter then
return
end
setControlsRemote = fighter:WaitForChild("SetControls", 5)
end)
sendControls = function(controlState)
if not setControlsRemote then
return
end
pcall(function()
setControlsRemote:FireServer(controlState)
end)
end
applyDeviceSpoofer = function()
if not settings.DeviceSpoofer_Active then
return
end
task.wait(1.5)
sendControls(settings.DeviceSpoofer_Active)
end
localPlayer.CharacterAdded:Connect(function(character)
character.ChildAdded:Connect(function(child)
if child.Name == "HumanoidRootPart" then
applyDeviceSpoofer()
end
end)
end)
local currentCharacter = localPlayer.Character
if currentCharacter and currentCharacter:FindFirstChild("HumanoidRootPart") then
applyDeviceSpoofer()
end
isSupportedGame = function()
local playerGui = localPlayer:FindFirstChild("PlayerGui")
local mainScreen = playerGui and playerGui:FindFirstChild("MainGUI")
local mainFrame = mainScreen and mainScreen:FindFirstChild("MainFrame")
local duelContainer = mainFrame and mainFrame:FindFirstChild("DuelInterface")
local duelScreen = duelContainer and duelContainer:FindFirstChild("DuelInterface")
local votingScreen = duelScreen and duelScreen:FindFirstChild("Voting")
if not votingScreen then
return false
end
if votingScreen.Visible then
return true
end
local mapsScreen = votingScreen:FindFirstChild("Maps")
if not mapsScreen then
return false
end
return mapsScreen.Visible or mapsScreen:FindFirstChild("MapsList") ~= nil
end
isCombatMode = function()
local character = localPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
local rootPart = character and character:FindFirstChild("HumanoidRootPart")
return character ~= nil and humanoid ~= nil and humanoid.Health > 0 and rootPart ~= nil and not isSupportedGame()
end
drawingObjects = {}
trackDrawingObject = function(drawingObject)
table.insert(drawingObjects, drawingObject)
return drawingObject
end
fovCircle = nil
playerEspObjects = {}
do
local menuScreenGui = Instance.new("ScreenGui")
menuScreenGui.Name = "MenuGUI"
menuScreenGui.ResetOnSpawn = false
menuScreenGui.IgnoreGuiInset = true
menuScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
menuScreenGui.DisplayOrder = 999
menuScreenGui.Parent = localPlayer:WaitForChild("PlayerGui")
mainGui = Instance.new("Frame")
mainGui.AnchorPoint = Vector2.new(0.5, 0.5)
mainGui.Size = UDim2.fromOffset(390, 0)
mainGui.Position = UDim2.fromScale(0.5, 0.5)
mainGui.BackgroundColor3 = Color3.fromRGB(15, 20, 25)
mainGui.BorderSizePixel = 0
mainGui.Visible = true
mainGui.Active = true
mainGui.ZIndex = 101
mainGui.Parent = menuScreenGui
local mainGuiCorner = Instance.new("UICorner")
mainGuiCorner.CornerRadius = UDim.new(0, 14)
mainGuiCorner.Parent = mainGui
isDragging = false
dragStartInput = nil
dragStartPosition = nil
dragStartGuiPosition = nil
updateDragPosition = function(input)
local delta = input.Position - dragStartPosition
mainGui.Position = UDim2.new(
dragStartGuiPosition.X.Scale,
dragStartGuiPosition.X.Offset + delta.X,
dragStartGuiPosition.Y.Scale,
dragStartGuiPosition.Y.Offset + delta.Y
)
end
mainGui.InputBegan:Connect(function(input)
local inputType = input.UserInputType
if inputType ~= Enum.UserInputType.MouseButton1 and inputType ~= Enum.UserInputType.Touch then
return
end
isDragging = true
dragStartPosition = input.Position
dragStartGuiPosition = mainGui.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
isDragging = false
end
end)
end)
mainGui.InputChanged:Connect(function(input)
local inputType = input.UserInputType
if inputType == Enum.UserInputType.MouseMovement or inputType == Enum.UserInputType.Touch then
dragStartInput = input
end
end)
userInputService.InputChanged:Connect(function(input)
if isDragging and input == dragStartInput then
updateDragPosition(input)
end
end)
local outlineStroke = Instance.new("UIStroke")
outlineStroke.Color = Color3.fromRGB(50, 100, 150)
outlineStroke.Thickness = 1
outlineStroke.Transparency = 0.1
outlineStroke.Parent = mainGui
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, -40, 0, 42)
titleLabel.Position = UDim2.new(0, 20, 0, 12)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Controls"
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 25
titleLabel.TextXAlignment = Enum.TextXAlignment.Left
titleLabel.ZIndex = 102
titleLabel.Parent = mainGui
local subtitleLabel = Instance.new("TextLabel")
subtitleLabel.Size = UDim2.new(1, -40, 0, 20)
subtitleLabel.Position = UDim2.new(0, 20, 0, 45)
subtitleLabel.BackgroundTransparency = 1
subtitleLabel.Text = "Triggerbot, ESP and Aimbot"
subtitleLabel.TextColor3 = Color3.fromRGB(140, 160, 180)
subtitleLabel.Font = Enum.Font.GothamMedium
subtitleLabel.TextSize = 13
subtitleLabel.TextXAlignment = Enum.TextXAlignment.Left
subtitleLabel.ZIndex = 102
subtitleLabel.Parent = mainGui
createWindow = Instance.new("Frame")
createWindow.Size = UDim2.new(1, -30, 0, 0)
createWindow.Position = UDim2.new(0, 15, 0, 70)
createWindow.BackgroundTransparency = 1
createWindow.BorderSizePixel = 0
createWindow.AutomaticSize = Enum.AutomaticSize.Y
createWindow.ZIndex = 103
createWindow.Parent = mainGui
local windowListLayout = Instance.new("UIListLayout")
windowListLayout.Padding = UDim.new(0, 5)
windowListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
windowListLayout.Parent = createWindow
end
windowCornerRadius = 0.22
themeColor = TweenInfo.new(0.22, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
windowButtons = {};
windowPages = {};
activeWindow = nil;
createSection = function(parent, cornerRadius)
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, cornerRadius)
corner.Parent = parent
return corner
end
createLabel = function(parent)
local indicator = Instance.new("Frame")
indicator.Size = UDim2.fromOffset(9, 9)
indicator.Position = UDim2.new(1, -23, 0.5, -4.5)
indicator.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
indicator.BorderSizePixel = 0
indicator.ZIndex = parent.ZIndex + 1
indicator.Parent = parent
createSection(indicator, 5)
return indicator
end
createMainWindow = function()
for _, refreshButton in ipairs(windowButtons) do
refreshButton()
end
for _, refreshPage in ipairs(windowPages) do
refreshPage()
end
if activeWindow then
activeWindow()
end
end
createSectionGroup = function(masterGetter, layoutOrder)
local group = Instance.new("Frame")
group.Size = UDim2.new(1, -8, 0, 0)
group.BackgroundTransparency = 1
group.BorderSizePixel = 0
group.AutomaticSize = Enum.AutomaticSize.Y
group.LayoutOrder = layoutOrder
group.ZIndex = 103
group.Parent = createWindow
local branch = Instance.new("Frame")
branch.Size = UDim2.new(0, 2, 1, 0)
branch.Position = UDim2.new(0, 22, 0, 0)
branch.BackgroundColor3 = Color3.fromRGB(50, 70, 90)
branch.BorderSizePixel = 0
branch.ZIndex = 104
branch.Parent = group
createSection(branch, 1)
local content = Instance.new("Frame")
content.Size = UDim2.new(1, -48, 0, 0)
content.Position = UDim2.new(0, 42, 0, 0)
content.BackgroundTransparency = 1
content.BorderSizePixel = 0
content.AutomaticSize = Enum.AutomaticSize.Y
content.ZIndex = 105
content.Parent = group
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 4)
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = content
return {
Group = group,
Branch = branch,
Content = content,
MasterGetter = masterGetter,
}
end
buildToggle = function(labelText, getValue, setValue, layoutOrder)
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, -6, 0, 39)
button.BackgroundColor3 = Color3.fromRGB(20, 30, 40)
button.BorderSizePixel = 0
button.Text = ""
button.AutoButtonColor = false
button.LayoutOrder = layoutOrder
button.ZIndex = 104
button.Parent = createWindow
createSection(button, 9)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -45, 1, 0)
label.Position = UDim2.new(0, 14, 0, 0)
label.BackgroundTransparency = 1
label.Text = labelText
label.TextColor3 = Color3.fromRGB(235, 235, 235)
label.Font = Enum.Font.GothamBold
label.TextSize = 15
label.TextXAlignment = Enum.TextXAlignment.Left
label.ZIndex = 105
label.Parent = button
local indicator = createLabel(button)
local function refreshToggle()
indicator.BackgroundColor3 = getValue()
and Color3.fromRGB(0, 200, 255)
or Color3.fromRGB(100, 100, 100)
end
button.MouseButton1Click:Connect(function()
setValue(not getValue())
createMainWindow()
saveSettings()
end)
table.insert(windowButtons, refreshToggle)
refreshToggle()
return button
end
buildOptionToggle = function(labelText, getValue, setValue, isEnabled, refreshList, section, layoutOrder)
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, 0, 0, 32)
button.BackgroundColor3 = Color3.fromRGB(15, 25, 35)
button.BorderSizePixel = 0
button.Text = ""
button.AutoButtonColor = false
button.LayoutOrder = layoutOrder
button.ZIndex = 105
button.Parent = section.Content
createSection(button, 8)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -42, 1, 0)
label.Position = UDim2.new(0, 14, 0, 0)
label.BackgroundTransparency = 1
label.Text = labelText
label.TextColor3 = Color3.fromRGB(205, 205, 205)
label.Font = Enum.Font.GothamMedium
label.TextSize = 13
label.TextXAlignment = Enum.TextXAlignment.Left
label.ZIndex = 106
label.Parent = button
local indicator = Instance.new("Frame")
indicator.Size = UDim2.fromOffset(8, 8)
indicator.Position = UDim2.new(1, -20, 0.5, -4)
indicator.BackgroundColor3 = Color3.fromRGB(95, 95, 95)
indicator.BorderSizePixel = 0
indicator.ZIndex = 106
indicator.Parent = button
createSection(indicator, 4)
local function refreshOption()
if not isEnabled() then
button.BackgroundColor3 = Color3.fromRGB(12, 18, 25)
label.TextColor3 = Color3.fromRGB(65, 65, 65)
indicator.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
section.Branch.BackgroundColor3 = Color3.fromRGB(38, 48, 58)
return
end
button.BackgroundColor3 = Color3.fromRGB(15, 25, 35)
label.TextColor3 = Color3.fromRGB(205, 205, 205)
indicator.BackgroundColor3 = getValue()
and Color3.fromRGB(0, 200, 255)
or Color3.fromRGB(95, 95, 95)
section.Branch.BackgroundColor3 = Color3.fromRGB(50, 70, 90)
end
button.MouseButton1Click:Connect(function()
if not isEnabled() then
return
end
setValue(not getValue())
refreshOption()
saveSettings()
end)
table.insert(refreshList, refreshOption)
refreshOption()
return button
end
do
buildToggle(
"Triggerbot",
function() return settings.Triggerbot_Enabled end,
function(value) settings.Triggerbot_Enabled = value end,
1
)
buildToggle(
"Inf Jump",
function() return settings.InfJump_Enabled end,
function(value) settings.InfJump_Enabled = value end,
2
)
buildToggle(
"ESP Master",
function() return settings.ESP_Enabled end,
function(value) settings.ESP_Enabled = value end,
3
)
local espSection = createSectionGroup(function() return settings.ESP_Enabled end, 4)
buildOptionToggle("Highlight", function() return settings.ESP_Highlight end, function(value) settings.ESP_Highlight = value end, function() return settings.ESP_Enabled end, windowButtons, espSection, 1)
buildOptionToggle("Name", function() return settings.ESP_Name end, function(value) settings.ESP_Name = value end, function() return settings.ESP_Enabled end, windowButtons, espSection, 2)
buildOptionToggle("Studs", function() return settings.ESP_Studs end, function(value) settings.ESP_Studs = value end, function() return settings.ESP_Enabled end, windowButtons, espSection, 3)
buildOptionToggle("Tracer", function() return settings.ESP_Tracer end, function(value) settings.ESP_Tracer = value end, function() return settings.ESP_Enabled end, windowButtons, espSection, 4)
buildToggle(
"Aimbot",
function() return settings.Aimbot_Enabled end,
function(value) settings.Aimbot_Enabled = value end,
5
)
local aimbotSection = createSectionGroup(function() return settings.Aimbot_Enabled end, 6)
buildOptionToggle("Wall Check", function() return settings.Aimbot_WallCheck end, function(value) settings.Aimbot_WallCheck = value end, function() return settings.Aimbot_Enabled end, windowPages, aimbotSection, 1)
local function createFovSlider(labelText, isEnabled, section, layoutOrder)
local row = Instance.new("Frame")
row.Size = UDim2.new(1, 0, 0, 47)
row.BackgroundTransparency = 1
row.BorderSizePixel = 0
row.LayoutOrder = layoutOrder
row.ZIndex = 105
row.Parent = section.Content
local sliderContainer = Instance.new("Frame")
sliderContainer.Size = UDim2.fromScale(1, 1)
sliderContainer.BackgroundTransparency = 1
sliderContainer.ZIndex = 105
sliderContainer.Parent = row
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 0, 18)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(205, 205, 205)
label.Font = Enum.Font.GothamMedium
label.TextSize = 13
label.TextXAlignment = Enum.TextXAlignment.Left
label.ZIndex = 106
label.Parent = sliderContainer
local track = Instance.new("Frame")
track.Size = UDim2.new(1, -12, 0, 4)
track.Position = UDim2.new(0, 6, 0, 29)
track.BackgroundColor3 = Color3.fromRGB(45, 55, 65)
track.BorderSizePixel = 0
track.ZIndex = 105
track.Parent = sliderContainer
createSection(track, 2)
local handle = Instance.new("TextButton")
handle.Size = UDim2.fromOffset(16, 16)
handle.Position = UDim2.new(0, -8, 0, 23)
handle.BackgroundColor3 = Color3.fromRGB(170, 190, 210)
handle.BorderSizePixel = 0
handle.Text = ""
handle.AutoButtonColor = false
handle.ZIndex = 107
handle.Parent = sliderContainer
createSection(handle, 8)
local isDragging = false
local function refreshEnabledStyle()
if isEnabled() then
label.TextColor3 = Color3.fromRGB(205, 205, 205)
track.BackgroundColor3 = Color3.fromRGB(45, 55, 65)
handle.BackgroundColor3 = Color3.fromRGB(170, 190, 210)
section.Branch.BackgroundColor3 = Color3.fromRGB(50, 70, 90)
else
label.TextColor3 = Color3.fromRGB(65, 65, 65)
track.BackgroundColor3 = Color3.fromRGB(25, 30, 35)
handle.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
section.Branch.BackgroundColor3 = Color3.fromRGB(38, 48, 58)
end
end
local function refreshSliderPosition()
local trackWidth = track.AbsoluteSize.X
if trackWidth > 0 then
local ratio = math.clamp(settings.Aimbot_FOVRadius / 500, 0.04, 1)
handle.Position = UDim2.new(0, ratio * trackWidth - 8, 0, 23)
end
label.Text = labelText .. ": " .. tostring(settings.Aimbot_FOVRadius)
end
handle.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and isEnabled() then
isDragging = true
end
end)
trackDrawingObject(userInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
isDragging = false
end
end))
trackDrawingObject(userInputService.InputChanged:Connect(function(input)
if not isDragging then
return
end
if not isEnabled() then
isDragging = false
return
end
if input.UserInputType ~= Enum.UserInputType.MouseMovement then
return
end
local trackWidth = track.AbsoluteSize.X
if trackWidth <= 0 then
return
end
local offset = math.clamp(input.Position.X - track.AbsolutePosition.X, 0, trackWidth)
local steps = math.floor((offset / trackWidth * 500 + 2.5) / 5)
settings.Aimbot_FOVRadius = math.clamp(steps * 5, 20, 500)
handle.Position = UDim2.new(0, offset - 8, 0, 23)
refreshSliderPosition()
saveSettings()
end))
task.defer(refreshSliderPosition)
task.defer(refreshEnabledStyle)
return row, refreshEnabledStyle
end
local _, refreshFovSlider = createFovSlider("Aimbot FOV", function()
return settings.Aimbot_Enabled
end, aimbotSection, 2)
table.insert(windowPages, refreshFovSlider)
end
createMainWindow()
buttonLabels = {
{ label = "PC (Mouse & Keyboard)", value = "MouseKeyboard" },
{ label = "Console (Gamepad)", value = "Gamepad" },
{ label = "Mobile (Touch)", value = "Touch" },
{ label = "VR", value = "VR" },
}
isMenuOpen = false
selectedTab = settings.DeviceSpoofer_Active
tabButtons = {}
tabWidth = 32
tabPadding = 4
tabHeight = 6
tabSpacing = 4
getTabBarHeight = function()
return tabHeight + (#buttonLabels * tabWidth) + ((#buttonLabels - 1) * tabPadding) + tabSpacing
end
createTab = Instance.new("Frame")
createTab.Size = UDim2.new(1, -6, 0, 0)
createTab.BackgroundTransparency = 1
createTab.BorderSizePixel = 0
createTab.AutomaticSize = Enum.AutomaticSize.Y
createTab.LayoutOrder = 7
createTab.ZIndex = 103
createTab.Parent = createWindow
local tabLayout = Instance.new("UIListLayout")
tabLayout.Padding = UDim.new(0, 0)
tabLayout.SortOrder = Enum.SortOrder.LayoutOrder
tabLayout.Parent = createTab
tabBar = Instance.new("TextButton")
tabBar.Size = UDim2.new(1, 0, 0, 39)
tabBar.BackgroundColor3 = Color3.fromRGB(20, 30, 40)
tabBar.BorderSizePixel = 0
tabBar.Text = ""
tabBar.AutoButtonColor = false
tabBar.LayoutOrder = 1
tabBar.ZIndex = 104
tabBar.Parent = createTab
createSection(tabBar, 9)
local tabTitle = Instance.new("TextLabel")
tabTitle.Size = UDim2.new(1, -50, 1, 0)
tabTitle.Position = UDim2.new(0, 14, 0, 0)
tabTitle.BackgroundTransparency = 1
tabTitle.Text = "Device Spoofer"
tabTitle.TextColor3 = Color3.fromRGB(235, 235, 235)
tabTitle.Font = Enum.Font.GothamBold
tabTitle.TextSize = 15
tabTitle.TextXAlignment = Enum.TextXAlignment.Left
tabTitle.ZIndex = 105
tabTitle.Parent = tabBar
deviceToggleButton = Instance.new("TextLabel")
deviceToggleButton.Size = UDim2.fromOffset(24, 24)
deviceToggleButton.Position = UDim2.new(1, -30, 0.5, -12)
deviceToggleButton.AnchorPoint = Vector2.new(0, 0)
deviceToggleButton.BackgroundTransparency = 1
deviceToggleButton.Text = "\226\150\178"
deviceToggleButton.TextColor3 = Color3.fromRGB(160, 160, 160)
deviceToggleButton.Font = Enum.Font.GothamBold
deviceToggleButton.TextSize = 12
deviceToggleButton.TextXAlignment = Enum.TextXAlignment.Center
deviceToggleButton.TextYAlignment = Enum.TextYAlignment.Center
deviceToggleButton.Rotation = 0
deviceToggleButton.ZIndex = 106
deviceToggleButton.Parent = tabBar
deviceControlsFrame = Instance.new("Frame")
deviceControlsFrame.Size = UDim2.new(1, 0, 0, 0)
deviceControlsFrame.BackgroundTransparency = 1
deviceControlsFrame.BorderSizePixel = 0
deviceControlsFrame.ClipsDescendants = true
deviceControlsFrame.AutomaticSize = Enum.AutomaticSize.None
deviceControlsFrame.LayoutOrder = 2
deviceControlsFrame.ZIndex = 103
deviceControlsFrame.Parent = createTab
deviceControlsContent = Instance.new("Frame")
deviceControlsContent.Size = UDim2.new(1, 0, 0, tabHeight)
deviceControlsContent.Position = UDim2.new(0, 0, 0, tabHeight)
deviceControlsContent.BackgroundTransparency = 1
deviceControlsContent.BorderSizePixel = 0
deviceControlsContent.AutomaticSize = Enum.AutomaticSize.Y
deviceControlsContent.ZIndex = 104
deviceControlsContent.Parent = deviceControlsFrame
local deviceControlsLayout = Instance.new("UIListLayout")
deviceControlsLayout.Padding = UDim.new(0, tabPadding)
deviceControlsLayout.SortOrder = Enum.SortOrder.LayoutOrder
deviceControlsLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
deviceControlsLayout.Parent = deviceControlsContent
refreshSettings = function()
for _, refreshOption in ipairs(tabButtons) do
refreshOption()
end
end
do
local function createTabOption(labelText, mode, layoutOrder)
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, -8, 0, tabWidth)
button.BackgroundColor3 = Color3.fromRGB(15, 25, 35)
button.BorderSizePixel = 0
button.Text = ""
button.AutoButtonColor = false
button.LayoutOrder = layoutOrder
button.ZIndex = 105
button.Parent = deviceControlsContent
createSection(button, 8)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -42, 1, 0)
label.Position = UDim2.new(0, 14, 0, 0)
label.BackgroundTransparency = 1
label.Text = labelText
label.TextColor3 = Color3.fromRGB(205, 205, 205)
label.Font = Enum.Font.GothamMedium
label.TextSize = 13
label.TextXAlignment = Enum.TextXAlignment.Left
label.ZIndex = 106
label.Parent = button
local indicator = Instance.new("Frame")
indicator.Size = UDim2.fromOffset(8, 8)
indicator.Position = UDim2.new(1, -20, 0.5, -4)
indicator.BorderSizePixel = 0
indicator.ZIndex = 106
indicator.Parent = button
createSection(indicator, 4)
local function refreshTabOption()
indicator.BackgroundColor3 = selectedTab == mode
and Color3.fromRGB(0, 200, 255)
or Color3.fromRGB(60, 60, 60)
end
button.MouseButton1Click:Connect(function()
if selectedTab == mode then
selectedTab = nil
settings.DeviceSpoofer_Active = nil
if setControlsRemote then
pcall(function()
setControlsRemote:FireServer("MouseKeyboard")
end)
end
else
selectedTab = mode
settings.DeviceSpoofer_Active = mode
sendControls(mode)
end
refreshSettings()
saveSettings()
end)
table.insert(tabButtons, refreshTabOption)
end
for index, option in ipairs(buttonLabels) do
createTabOption(option.label, option.value, index)
end
end
isMenuAnimating = false
getMenuHeight = function(extraHeight)
local contentHeight = 0
for _, child in ipairs(createWindow:GetChildren()) do
local isLayoutItem = child:IsA("Frame") or child:IsA("TextButton")
if isLayoutItem and child ~= createTab then
contentHeight = contentHeight + child.AbsoluteSize.Y + 5
end
end
return contentHeight + tabBar.AbsoluteSize.Y + extraHeight
end
openMenu = function()
if isMenuAnimating then
return
end
isMenuAnimating = true
deviceControlsFrame.Visible = true
local tabBarHeight = getTabBarHeight()
local menuHeight = 70 + getMenuHeight(tabBarHeight) + 15
tweenService:Create(deviceControlsFrame, themeColor, { Size = UDim2.new(1, 0, 0, tabBarHeight) }):Play()
tweenService:Create(mainGui, themeColor, { Size = UDim2.fromOffset(390, menuHeight) }):Play()
tweenService:Create(deviceToggleButton, themeColor, { Rotation = 180 }):Play()
task.delay(windowCornerRadius, function()
isMenuAnimating = false
end)
end
closeMenu = function()
if isMenuAnimating then
return
end
isMenuAnimating = true
local menuHeight = 70 + getMenuHeight(0) + 15
tweenService:Create(deviceControlsFrame, themeColor, { Size = UDim2.new(1, 0, 0, 0) }):Play()
tweenService:Create(mainGui, themeColor, { Size = UDim2.fromOffset(390, menuHeight) }):Play()
tweenService:Create(deviceToggleButton, themeColor, { Rotation = 0 }):Play()
task.delay(windowCornerRadius, function()
deviceControlsFrame.Visible = false
isMenuAnimating = false
end)
end
tabBar.MouseButton1Click:Connect(function()
isMenuOpen = not isMenuOpen
if isMenuOpen then
openMenu()
else
closeMenu()
end
end)
playerAttributes = {}
characterCache = {}
cacheRefreshInterval = 0.15
serializeValue = function(value)
if value == nil then
return nil
end
local valueType = typeof(value)
if valueType == "Instance" then
return value
elseif valueType == "Color3" then
return string.format("color:%.4f:%.4f:%.4f", value.R, value.G, value.B)
elseif valueType == "BrickColor" then
return "brick:" .. value.Name
elseif valueType == "string" then
return value ~= "" and "string:" .. value or nil
elseif valueType == "number" or valueType == "boolean" then
return valueType .. ":" .. tostring(value)
end
return nil
end
isTeamAttributeName = function(attributeName)
if typeof(attributeName) ~= "string" then
return false
end
local normalizedName = string.lower(attributeName):gsub("[%s_%-]", "")
return normalizedName == "team"
or normalizedName == "teamid"
or normalizedName == "teamidentifier"
or normalizedName == "teamindex"
or normalizedName == "teamcolor"
or normalizedName == "teamcolour"
or string.find(normalizedName, "teamid", 1, true) ~= nil
end
getTeamAttributes = function(instance)
if not instance then
return nil
end
local success, attributes = pcall(function()
return instance:GetAttributes()
end)
if not success or not attributes then
return nil
end
for attributeName, value in pairs(attributes) do
if isTeamAttributeName(attributeName) then
local serializedValue = serializeValue(value)
if serializedValue ~= nil then
return serializedValue
end
end
end
return nil
end
getTeamValueObject = function(instance)
if not instance then
return nil
end
local success, children = pcall(function()
return instance:GetChildren()
end)
if not success or not children then
return nil
end
for _, child in ipairs(children) do
if isTeamAttributeName(child.Name) then
local serializedValue = serializeValue(child.Value)
if serializedValue then
return serializedValue
end
end
end
return nil
end
getPlayerTeamIdentifier = function(player)
if not player then
return nil
end
local currentTime = os.clock()
local cachedAt = characterCache[player]
if playerAttributes[player] ~= nil and cachedAt and currentTime - cachedAt < cacheRefreshInterval then
return playerAttributes[player]
end
local teamIdentifier = player.Team
if not teamIdentifier then
teamIdentifier = getTeamAttributes(player)
or getTeamValueObject(player)
or (player.Character and getTeamAttributes(player.Character))
or (player.Character and getTeamValueObject(player.Character))
end
if not teamIdentifier then
local success, teamColor = pcall(function()
return player.TeamColor
end)
if success and teamColor and teamColor.Name and teamColor.Name ~= "Medium stone grey" then
teamIdentifier = "brick:" .. teamColor.Name
end
end
playerAttributes[player] = teamIdentifier
characterCache[player] = currentTime
return teamIdentifier
end
invalidatePlayerTeamCache = function(player)
playerAttributes[player] = nil
characterCache[player] = nil
end
do
local function watchPlayer(player)
invalidatePlayerTeamCache(player)
trackDrawingObject(player:GetPropertyChangedSignal("Team"):Connect(function()
invalidatePlayerTeamCache(player)
lastTargetRefresh = 0
end))
trackDrawingObject(player:GetPropertyChangedSignal("TeamColor"):Connect(function()
invalidatePlayerTeamCache(player)
lastTargetRefresh = 0
end))
trackDrawingObject(player.CharacterAdded:Connect(function()
invalidatePlayerTeamCache(player)
lastTargetRefresh = 0
end))
end
for _, player in ipairs(players:GetPlayers()) do
watchPlayer(player)
end
trackDrawingObject(players.PlayerAdded:Connect(function(player)
watchPlayer(player)
lastTargetRefresh = 0
end))
trackDrawingObject(players.PlayerRemoving:Connect(function(player)
invalidatePlayerTeamCache(player)
lastTargetRefresh = 0
end))
end
isTeammate = function(player)
if not player or player == localPlayer then
return true
end
local teamPropertiesAvailable, localTeam, targetTeam = pcall(function()
return localPlayer.Team, player.Team
end)
if teamPropertiesAvailable and localTeam and targetTeam then
return localTeam == targetTeam
end
local localTeamIdentifier = getPlayerTeamIdentifier(localPlayer)
local targetTeamIdentifier = getPlayerTeamIdentifier(player)
if localTeamIdentifier ~= nil and targetTeamIdentifier ~= nil then
return tostring(localTeamIdentifier) == tostring(targetTeamIdentifier)
end
local colorsAvailable, localTeamColor, targetTeamColor = pcall(function()
return localPlayer.TeamColor, player.TeamColor
end)
if colorsAvailable and localTeamColor and targetTeamColor then
if localTeamColor.Name ~= "Medium stone grey" and targetTeamColor.Name ~= "Medium stone grey" then
return localTeamColor.Name == targetTeamColor.Name
end
end
return false
end
isValidTarget = function(player)
return player ~= nil and player ~= localPlayer and not isTeammate(player)
end
targetPlayers = {}
lastTargetRefresh = 0
targetRefreshInterval = 0.08
refreshTargetCache = function()
local currentTime = os.clock()
if currentTime - lastTargetRefresh < targetRefreshInterval then
return targetPlayers
end
local eligiblePlayers = {}
for _, player in ipairs(players:GetPlayers()) do
local character = player.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if isValidTarget(player) and character and humanoid and humanoid.Health > 0 then
table.insert(eligiblePlayers, player)
end
end
targetPlayers = eligiblePlayers
lastTargetRefresh = currentTime
return targetPlayers
end
getMousePosition = function()
if not currentCamera then
return Vector2.new(0, 0)
end
if userInputService.MouseBehavior == Enum.MouseBehavior.LockCenter then
return currentCamera.ViewportSize / 2
end
return userInputService:GetMouseLocation()
end
worldToScreen = function(worldPosition)
if not currentCamera then
return nil, false
end
local success, screenPoint = pcall(function()
return currentCamera:WorldToScreenPoint(worldPosition)
end)
if not success or not screenPoint then
return nil, false
end
return Vector2.new(screenPoint.X, screenPoint.Y), screenPoint.Z > 0
end
do
local raycastParams = RaycastParams.new()
raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
getNextTarget = function(targetCharacter)
local excludedCharacters = {}
if localPlayer.Character then
table.insert(excludedCharacters, localPlayer.Character)
end
for _, player in ipairs(players:GetPlayers()) do
local character = player.Character
if player ~= localPlayer and character and character ~= targetCharacter then
table.insert(excludedCharacters, character)
end
end
raycastParams.FilterDescendantsInstances = excludedCharacters
return raycastParams
end
end
hasLineOfSight = function(targetPart)
local targetParent = targetPart and targetPart.Parent
if not targetParent or not currentCamera then
return false
end
local success, targetPosition = pcall(function()
return targetPart.Position
end)
if not success then
return false
end
local origin = currentCamera.CFrame.Position
local direction = targetPosition - origin
if direction.Magnitude <= 0 then
return false
end
local raycastSuccess, result = pcall(function()
return workspace:Raycast(origin, direction, getNextTarget(targetParent))
end)
if not raycastSuccess or not result or not result.Instance then
return true
end
return result.Instance:IsDescendantOf(targetParent)
end
trackDrawingObject(userInputService.JumpRequest:Connect(function()
if not settings.InfJump_Enabled then
return
end
local character = localPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end))
currentAimbotTarget = nil
findAimbotTarget = function()
local localCharacter = localPlayer.Character
local localRoot = localCharacter and localCharacter:FindFirstChild("HumanoidRootPart")
if not localRoot or not currentCamera then
return nil
end
if currentAimbotTarget then
return nil
end
local mousePosition = getMousePosition()
local bestPlayer = nil
local bestHead = nil
local bestScreenDistance = math.huge
for _, targetPlayer in ipairs(refreshTargetCache()) do
local targetCharacter = targetPlayer.Character
local targetHead = targetCharacter and targetCharacter:FindFirstChild("Head")
local humanoid = targetCharacter and targetCharacter:FindFirstChildOfClass("Humanoid")
if targetHead and humanoid and humanoid.Health > 0 then
local worldDistance = (localRoot.Position - targetHead.Position).Magnitude
if worldDistance <= settings.Triggerbot_MaxDistance then
local screenPosition, isOnScreen = worldToScreen(targetHead.Position)
if screenPosition and isOnScreen then
local screenDistance = (screenPosition - mousePosition).Magnitude
local withinFov = screenDistance <= settings.Aimbot_FOVRadius
local visible = not settings.Aimbot_WallCheck or hasLineOfSight(targetHead)
if withinFov and visible and screenDistance < bestScreenDistance then
bestPlayer = targetPlayer
bestHead = targetHead
bestScreenDistance = screenDistance
end
end
end
end
end
currentAimbotTarget = bestPlayer
return bestHead
end
aimCameraAtTarget = function(targetPart)
if not targetPart or not currentCamera then
return false
end
local localCharacter = localPlayer.Character
local localRoot = localCharacter and localCharacter:FindFirstChild("HumanoidRootPart")
if not localRoot then
return false
end
local targetPosition = targetPart.Position
currentCamera.CFrame = CFrame.lookAt(currentCamera.CFrame.Position, targetPosition, Vector3.new(0, 1, 0))
local horizontalTarget = Vector3.new(targetPosition.X, localRoot.Position.Y, targetPosition.Z)
localRoot.CFrame = CFrame.lookAt(localRoot.Position, horizontalTarget, Vector3.new(0, 1, 0))
return true
end
updateAimbotTarget = function()
local targetPlayer = currentAimbotTarget
if not settings.Aimbot_Enabled or not targetPlayer then
return
end
if not isValidTarget(targetPlayer) then
currentAimbotTarget = nil
return
end
local targetCharacter = targetPlayer.Character
local targetHead = targetCharacter and targetCharacter:FindFirstChild("Head")
local humanoid = targetCharacter and targetCharacter:FindFirstChildOfClass("Humanoid")
local localCharacter = localPlayer.Character
local localRoot = localCharacter and localCharacter:FindFirstChild("HumanoidRootPart")
if not targetHead or not humanoid or humanoid.Health <= 0 or not localRoot then
currentAimbotTarget = nil
return
end
local worldDistance = (localRoot.Position - targetHead.Position).Magnitude
if worldDistance > settings.Triggerbot_MaxDistance then
currentAimbotTarget = nil
return
end
if settings.Aimbot_WallCheck and not hasLineOfSight(targetHead) then
currentAimbotTarget = nil
return
end
aimCameraAtTarget(targetHead)
end
getTargetParts = {
"Head", "UpperTorso", "LowerTorso", "HumanoidRootPart",
"LeftUpperArm", "RightUpperArm", "LeftLowerArm", "RightLowerArm",
"LeftUpperLeg", "RightUpperLeg", "LeftLowerLeg", "RightLowerLeg",
}
getCharacterBounds = function(part)
if not currentCamera or not part or not part.Parent then
return nil
end
local success, partCFrame, halfSize = pcall(function()
return part.CFrame, part.Size * 0.5
end)
if not success or not partCFrame or not halfSize then
return nil
end
local minimumX, minimumY = math.huge, math.huge
local maximumX, maximumY = -math.huge, -math.huge
local foundVisibleCorner = false
for _, xSign in ipairs({ -1, 1 }) do
for _, ySign in ipairs({ -1, 1 }) do
for _, zSign in ipairs({ -1, 1 }) do
local corner = partCFrame * Vector3.new(
halfSize.X * xSign,
halfSize.Y * ySign,
halfSize.Z * zSign
)
local screenPoint, isOnScreen = currentCamera:WorldToScreenPoint(corner)
if isOnScreen and screenPoint.Z > 0 then
foundVisibleCorner = true
minimumX = math.min(minimumX, screenPoint.X)
minimumY = math.min(minimumY, screenPoint.Y)
maximumX = math.max(maximumX, screenPoint.X)
maximumY = math.max(maximumY, screenPoint.Y)
end
end
end
end
if not foundVisibleCorner then
return nil
end
return minimumX, minimumY, maximumX, maximumY
end
isTriggerTarget = function()
if not currentCamera or not isCombatMode() then
return false
end
if settings.Aimbot_Enabled and currentAimbotTarget and isValidTarget(currentAimbotTarget) then
local character = currentAimbotTarget.Character
local head = character and character:FindFirstChild("Head")
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if head and humanoid and humanoid.Health > 0 and hasLineOfSight(head) then
if aimCameraAtTarget(head) then
return true
end
else
currentAimbotTarget = nil
end
end
if not settings.Triggerbot_Enabled then
return false
end
local mousePosition = getMousePosition()
local cameraPosition = currentCamera.CFrame.Position
for _, targetPlayer in ipairs(refreshTargetCache()) do
local character = targetPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
local rootPart = character and character:FindFirstChild("HumanoidRootPart")
if humanoid and humanoid.Health > 0 and rootPart and rootPart.Parent then
local distance = (rootPart.Position - cameraPosition).Magnitude
if distance <= settings.Triggerbot_MaxDistance then
for _, partName in ipairs(getTargetParts) do
local targetPart = character:FindFirstChild(partName)
if targetPart and hasLineOfSight(targetPart) then
local minimumX, minimumY, maximumX, maximumY = getCharacterBounds(targetPart)
if minimumX
and mousePosition.X >= minimumX
and mousePosition.X <= maximumX
and mousePosition.Y >= minimumY
and mousePosition.Y <= maximumY then
return true
end
end
end
end
end
end
return false
end
getEspObject = function(player)
local existingLine = playerEspObjects[player]
if existingLine then
return existingLine
end
local success, drawingLine = pcall(function()
local line = Drawing.new("Line")
line.Thickness = 1.5
line.Color = Color3.fromRGB(255, 255, 255)
line.Transparency = 1
line.Visible = false
return line
end)
if not success or not drawingLine then
return nil
end
playerEspObjects[player] = drawingLine
return drawingLine
end
removeEspObject = function(player)
local drawingLine = playerEspObjects[player]
if not drawingLine then
return
end
playerEspObjects[player] = nil
pcall(function()
drawingLine.Visible = false
drawingLine:Remove()
end)
end
hideEspObjects = function()
for _, drawingLine in pairs(playerEspObjects) do
pcall(function()
drawingLine.Visible = false
end)
end
end
trackDrawingObject(players.PlayerRemoving:Connect(function(player)
removeEspObject(player)
invalidatePlayerTeamCache(player)
lastTargetRefresh = 0
end))
createEspObject = function()
if not settings.ESP_Enabled or not settings.ESP_Tracer then
hideEspObjects()
return
end
local localCharacter = localPlayer.Character
local localRoot = localCharacter and localCharacter:FindFirstChild("HumanoidRootPart")
if not localRoot or not currentCamera then
hideEspObjects()
return
end
local viewportCenter = currentCamera.ViewportSize / 2
local visiblePlayers = {}
for _, player in ipairs(refreshTargetCache()) do
local character = player.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
local rootPart = character and character:FindFirstChild("HumanoidRootPart")
if humanoid and humanoid.Health > 0 and rootPart then
local success, rootPosition = pcall(function()
return rootPart.Position
end)
if success and (rootPosition - localRoot.Position).Magnitude <= settings.ESP_MaxDistance then
local head = character:FindFirstChild("Head")
local targetPosition = head and head.Position or rootPosition
local screenPoint = currentCamera:WorldToViewportPoint(targetPosition)
if screenPoint.Z > 0 then
local tracer = getEspObject(player)
if tracer then
tracer.From = viewportCenter
tracer.To = Vector2.new(screenPoint.X, screenPoint.Y)
tracer.Visible = true
visiblePlayers[player] = true
end
end
end
end
end
for player, tracer in pairs(playerEspObjects) do
if not visiblePlayers[player] then
tracer.Visible = false
end
end
end
pcall(function()
if not Drawing then
return
end
fovCircle = Drawing.new("Circle")
fovCircle.Thickness = 2
fovCircle.Color = Color3.fromRGB(0, 200, 255)
fovCircle.Filled = false
fovCircle.Visible = false
end)
updateEsp = function()
if not fovCircle then
return
end
if settings.Aimbot_Enabled then
fovCircle.Position = getMousePosition()
fovCircle.Radius = settings.Aimbot_FOVRadius
fovCircle.Visible = true
else
fovCircle.Visible = false
end
end
isTriggerbotActive = false
refreshEsp = function(character)
if not character then
return
end
for _, objectName in ipairs({
"ESP_Highlight",
"ESP_Billboard",
"ESP_HealthBar",
"HealthBackground",
"HealthOutline",
}) do
local object = character:FindFirstChild(objectName)
if object then
object:Destroy()
end
end
end
espMaxTextWidth = 220
createEspGui = function(parent, adornee)
local billboard = Instance.new("BillboardGui")
billboard.Name = "ESP_Billboard"
billboard.Adornee = adornee
billboard.AlwaysOnTop = true
billboard.LightInfluence = 0
billboard.MaxDistance = settings.ESP_MaxDistance
billboard.Size = UDim2.fromOffset(espMaxTextWidth, espLabelHeight)
billboard.StudsOffsetWorldSpace = Vector3.new(0, 2.7, 0)
billboard.ClipsDescendants = false
billboard.Parent = parent
local healthOutline = Instance.new("Frame")
healthOutline.Name = "HealthOutline"
healthOutline.Position = UDim2.fromOffset((espMaxTextWidth - healthBarWidth) / 2 - 1, 1)
healthOutline.Size = UDim2.fromOffset(healthBarWidth + 2, healthBarHeight + 2)
healthOutline.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
healthOutline.BackgroundTransparency = 0.15
healthOutline.BorderSizePixel = 0
healthOutline.ZIndex = 5
healthOutline.Parent = billboard
createSection(healthOutline, 4)
local healthBackground = Instance.new("Frame")
healthBackground.Name = "HealthBackground"
healthBackground.Position = UDim2.fromOffset(1, 1)
healthBackground.Size = UDim2.fromOffset(healthBarWidth, healthBarHeight)
healthBackground.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
healthBackground.BorderSizePixel = 0
healthBackground.ZIndex = 6
healthBackground.Parent = healthOutline
createSection(healthBackground, 3)
local healthBar = Instance.new("Frame")
healthBar.Name = "ESP_HealthBar"
healthBar.Position = UDim2.fromOffset(0, 0)
healthBar.Size = UDim2.fromOffset(healthBarWidth, healthBarHeight)
healthBar.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
healthBar.BorderSizePixel = 0
healthBar.ZIndex = 7
healthBar.Parent = healthBackground
createSection(healthBar, 3)
local infoLabel = Instance.new("TextLabel")
infoLabel.Name = "ESP_Info"
infoLabel.Position = UDim2.fromOffset(0, 14)
infoLabel.Size = UDim2.fromOffset(espMaxTextWidth, 22)
infoLabel.BackgroundTransparency = 1
infoLabel.Font = Enum.Font.GothamBold
infoLabel.TextSize = 14
infoLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
infoLabel.TextStrokeTransparency = 0.45
infoLabel.TextXAlignment = Enum.TextXAlignment.Center
infoLabel.TextYAlignment = Enum.TextYAlignment.Center
infoLabel.Text = ""
infoLabel.ZIndex = 8
infoLabel.Parent = billboard
return billboard
end
espLabelHeight = 58;
healthBarWidth = 120;
healthBarHeight = 7;
updateEspObjects = function()
local localCharacter = localPlayer.Character
local localRoot = localCharacter and localCharacter:FindFirstChild("HumanoidRootPart")
if not settings.ESP_Enabled then
for _, player in ipairs(players:GetPlayers()) do
if player ~= localPlayer and player.Character then
refreshEsp(player.Character)
end
end
return
end
if not localRoot or not currentCamera then
return
end
for _, player in ipairs(players:GetPlayers()) do
if player ~= localPlayer then
local character = player.Character
if not character or not isValidTarget(player) then
refreshEsp(character)
else
local humanoid = character:FindFirstChildOfClass("Humanoid")
local rootPart = character:FindFirstChild("HumanoidRootPart")
local head = character:FindFirstChild("Head")
if not humanoid or humanoid.Health <= 0 or not rootPart or not head then
refreshEsp(character)
else
local distance = (rootPart.Position - localRoot.Position).Magnitude
if distance > settings.ESP_MaxDistance then
refreshEsp(character)
else
local highlight = character:FindFirstChild("ESP_Highlight")
if settings.ESP_Highlight then
if highlight and not highlight:IsA("Highlight") then
highlight:Destroy()
highlight = nil
end
if not highlight then
highlight = Instance.new("Highlight")
highlight.Name = "ESP_Highlight"
highlight.Adornee = character
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.Parent = character
end
highlight.FillColor = whiteColor
highlight.FillTransparency = settings.ESP_BoxTransparency
highlight.OutlineColor = whiteColor
highlight.OutlineTransparency = 0
highlight.Enabled = true
elseif highlight then
highlight:Destroy()
end
local billboard = character:FindFirstChild("ESP_Billboard")
if billboard and not billboard:IsA("BillboardGui") then
billboard:Destroy()
billboard = nil
end
if billboard then
local outline = billboard:FindFirstChild("HealthOutline")
local background = outline and outline:FindFirstChild("HealthBackground")
local healthBar = background and background:FindFirstChild("ESP_HealthBar")
if not outline or not background or not healthBar then
billboard:Destroy()
billboard = nil
end
end
if not billboard then
billboard = createEspGui(character, head)
end
billboard.Adornee = head
billboard.AlwaysOnTop = true
billboard.LightInfluence = 0
billboard.MaxDistance = settings.ESP_MaxDistance
billboard.Size = UDim2.fromOffset(espMaxTextWidth, espLabelHeight)
billboard.StudsOffsetWorldSpace = Vector3.new(0, 2.7, 0)
billboard.Enabled = true
local healthBackground = billboard.HealthOutline.HealthBackground
local healthBar = healthBackground.ESP_HealthBar
local healthRatio = math.clamp(humanoid.Health / math.max(humanoid.MaxHealth, 1), 0, 1)
healthBar.Size = UDim2.fromOffset(math.max(0, math.floor(healthBarWidth * healthRatio)), healthBarHeight)
if healthRatio > 0.6 then
healthBar.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
elseif healthRatio > 0.3 then
healthBar.BackgroundColor3 = Color3.fromRGB(150, 200, 255)
else
healthBar.BackgroundColor3 = Color3.fromRGB(235, 45, 45)
end
local infoLabel = billboard:FindFirstChild("ESP_Info")
if infoLabel then
local infoParts = {}
if settings.ESP_Name then
table.insert(infoParts, player.Name)
end
if settings.ESP_Studs then
table.insert(infoParts, string.format("%.1f studs", distance))
end
infoLabel.Text = table.concat(infoParts, " | ")
infoLabel.Visible = #infoParts > 0
end
end
end
end
end
end
end
task.spawn(function()
while true do
if isTriggerbotActive and not isSupportedGame() then
if not currentCamera then
currentCamera = workspace.CurrentCamera
end
if currentCamera then
local viewportSize = currentCamera.ViewportSize
local centerX = viewportSize.X / 2
local centerY = viewportSize.Y / 2
virtualInputManager:SendMouseButtonEvent(centerX, centerY, 0, true, game, 0)
virtualInputManager:SendMouseButtonEvent(centerX, centerY, 0, false, game, 0)
end
end
task.wait()
end
end)
trackDrawingObject(runService.RenderStepped:Connect(function()
if not currentCamera then
currentCamera = workspace.CurrentCamera
end
if not currentCamera or not localPlayer.Character then
return
end
updateEsp()
createEspObject()
if settings.Aimbot_Enabled then
if currentAimbotTarget then
updateAimbotTarget()
else
local targetHead = findAimbotTarget()
if targetHead then
aimCameraAtTarget(targetHead)
end
end
else
currentAimbotTarget = nil
end
if settings.Triggerbot_Enabled then
isTriggerbotActive = isTriggerTarget()
else
isTriggerbotActive = false
end
end))
task.spawn(function()
while true do
task.wait(0.15)
pcall(updateEspObjects)
end
end)
task.defer(function()
task.wait(0.1)
local contentHeight = createWindow.AbsoluteSize.Y
if contentHeight > 0 then
mainGui.Size = UDim2.new(0, 390, 0, 70 + contentHeight + 15)
end
createMainWindow()
end)
return;Script #68 Aimbot & More (v2.0)
--discord.gg/ervoila - ervoila.xyz
loadstring(game:HttpGet("https://raw.githubusercontent.com/alpizarlucio28-max/Ervoilaa/refs/heads/main/.github/workflows/loader.lua"))()Script #69 Kicka & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/skidcoded/kiciahooker/refs/heads/main/hooker.lua"))()Script #70 Silent Aim & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/noicyreal/bracehub/refs/heads/main/rivals.luau"))()Script #71 Body & More
loadstring(game:HttpGet("https://gist.githubusercontent.com/ReefHubOfficial/e7a8e6bebac4bf16b1ea2ab7016b9f52/raw/7141ef12ebb2022df97aaf85352953c4ea1a3dba/RIVALS"))()Script #72 Release Delay & More (open source Update)
local url = "https://raw.githubusercontent.com/friefire7717-ai/kiciahook-but-better/main/kiciahook%20but%20L.txt"
local ok, src = pcall(function() return game:HttpGet(url) end)
print("fetched:", ok)
print("first 100 chars:", tostring(src):sub(1, 100))
local fn, err = loadstring(src)
print("compiled:", fn ~= nil, err)
if fn then fn() endScript #73 Unlock All & More
loadstring(game:HttpGet("https://pasteblox.com/raw/2b7wegg7ny"))()Script #74 Silent Aim & More
loadstring(game:HttpGet("https://pastebin.com/raw/pBdZiafp"))()Script #75 Nexus.Gg & More
--[[ NEXUS.GG | RIVALS | dsc.gg/nexusggs ]]
script_key="PUT_YOUR_KEY_HERE"
loadstring(game:HttpGet("https://flowauth.net/v1/loaders/NEXUS-GG.lua"))(script_key)Script #76 Aimbot & More
loadstring(game:HttpGet("https://cdn.luaprotect.dev/u/4449b6/z9yITwq9WJzlocKw"))()Script #77 Jitter & More
loadstring(game:HttpGet("https://raw.githubusercontent.com/ProjectVaporScripts/Vapor/refs/heads/main/V1/Loader.lua", true))()Script #78 Hub
loadstring(game:HttpGet("https://raw.githubusercontent.com/SimoSimo200/Rivals-Hub/main/Rivals%20Hub%20Loader.lua"))()Script #79 Unnamed Enhancements Cracked & More
loadstring(game:HttpGet("https://helpful-sunshine-59d840.netlify.app"))()Script #80 Zuuahub Silent Aim & More
loadstring(game:HttpGet("https://api.jnkie.com/api/v1/luascripts/public/cdfc422235ea34c79ae24957361039f89e63b0a4bcb6f5057cb1056b31c5a075/download"))()
join discord.gg/zuuahub for keyUpdated and tested for the latest open source Update, this script automates the newest event tasks so you can keep up without the extra grind.
Updated and tested for the latest v2.0, this script automates the newest event tasks so you can keep up without the extra grind.
Updated and tested for the latest AIMBOT Update, this script automates the newest event tasks so you can keep up without the extra grind.
Updated and tested for the latest Better Version Update, this script automates the newest event tasks so you can keep up without the extra grind.
Updated and tested for the latest Mobile Supported, EMULATOR Update, this script automates the newest event tasks so you can keep up without the extra grind.
Updated and tested for the latest mobile supported Update, this script automates the newest event tasks so you can keep up without the extra grind.
Updated and tested for the latest Silent Aim, Panic Jitter & Melee Aura Update, this script automates the newest event tasks so you can keep up without the extra grind.
Copy the code above into a compatible Roblox script executor if you choose to test it.
RIVALS Script Status
Roblox and game updates can affect compatibility, so the script’s status should be treated as temporary rather than guaranteed.
What Is a RIVALS Script?
A RIVALS script is Lua code intended to run alongside the Roblox game through a third-party script executor.
Different scripts can contain different code and features. This version includes the following features:
How to Use the RIVALS Script
If you decide to test a third-party Roblox script, the general process involves a compatible executor and the Lua code provided above.
Can a RIVALS Script Get Your Roblox Account Banned?
- Only use code from a source you trust.
- Never enter your Roblox password into a script or executor.
- Test on an alternate account first.
RIVALS Script for Mobile
If you’re searching for a RIVALS script for mobile, check whether both the executor and the script support your device and current Roblox version. Mobile executor support does not guarantee that every script will work.
Frequently Asked Questions
What is a RIVALS script?
A RIVALS script is third-party Lua code intended to run alongside the Roblox game through a compatible script executor.
What features does this RIVALS script include?
Different scripts contain different code. This version includes: Auto Farm, Kill Aura, ESP, Aimbot, Silent Aim, Teleport, Speed Boost, Fly, Noclip, God Mode, Auto Collect, Item Dupe, Anti-AFK, Zuuahub Silent Aim, Unlock All.
How do you use the RIVALS script?
Pick a compatible executor such as Hydrogen, MacSploit, AWP.GG, Delta, Fluxus, Codex, launch Roblox and join the game, copy the complete Lua code from the script card above, paste it into the executor’s editor, and click Run or Execute. Compatibility changes over time, so a name here doesn’t guarantee current support.
Can a RIVALS script get your Roblox account banned?
Yes. Third-party scripts can violate Roblox rules and may put an account at risk. Only use code from a source you trust, never enter your Roblox password into a script or executor, and test on an alternate account first.
Does the RIVALS script work on mobile?
Check whether both the executor and the script support your device and the current Roblox version. Mobile executor support does not guarantee that every script will work.