--[[ this s cript will not work on solara or xeno ]] if getgenv().xyzevade_unload then pcall(getgenv().xyzevade_unload) end local repo = "https://raw.githubusercontent.com/deividcomsono/Obsidian/main/" local library = loadstring(game:HttpGet(repo .. "Library.lua"))() local theme_manager = loadstring(game:HttpGet(repo .. "addons/ThemeManager.lua"))() local save_manager = loadstring(game:HttpGet(repo .. "addons/SaveManager.lua"))() local players = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local run_service = game:GetService("RunService") local uis = game:GetService("UserInputService") local lighting = game:GetService("Lighting") local tween_service = game:GetService("TweenService") local sound_service = game:GetService("SoundService") local core_gui = game:GetService("CoreGui") local ws = game:GetService("Workspace") local lp = players.LocalPlayer local options = library.Options local toggles = library.Toggles local alive = true local conns = {} local cfg = {} local function track(c) conns[#conns + 1] = c return c end local function wait_path(root, ...) local o = root for _, n in ipairs({ ... }) do o = o and o:WaitForChild(n, 10) end return o end local function try_require(inst) if not inst then return nil end local ok, res = pcall(require, inst) if ok and type(res) == "table" then return res end return nil end local asset_svc = wait_path(rs, "Services", "Asset") local char_svc = try_require(asset_svc and asset_svc:WaitForChild("CharacterService", 10)) local col_svc = try_require(asset_svc and asset_svc:WaitForChild("CollectablesService", 10)) local interact_remote = wait_path(rs, "Remotes", "Character", "Interact") local function notify(text, time_) pcall(function() library:Notify({ Title = "xyzevade", Description = text, Time = time_ or 4 }) end) end local function ui_toggle(box, key, text, default, tip, cb) cfg[key] = default return box:AddToggle(key, { Text = text, Default = default, Tooltip = tip, Callback = function(v) cfg[key] = v if cb then cb(v) end end, }) end local function ui_slider(box, key, text, default, min, max, rounding, suffix, cb) cfg[key] = default box:AddSlider(key, { Text = text, Default = default, Min = min, Max = max, Rounding = rounding or 0, Suffix = suffix or "", Callback = function(v) cfg[key] = v if cb then cb(v) end end, }) end local function ui_drop(box, key, text, values, default_index, tip, cb) cfg[key] = values[default_index] box:AddDropdown(key, { Text = text, Values = values, Default = default_index, Multi = false, Searchable = #values > 10, Tooltip = tip, Callback = function(v) cfg[key] = v if cb then cb(v) end end, }) end local function ui_color(host, key, default, title) cfg[key] = default host:AddColorPicker(key, { Default = default, Title = title, Callback = function(v) cfg[key] = v end, }) end local function get_root() local c = lp.Character return c and (c.PrimaryPart or c:FindFirstChild("HumanoidRootPart")) end local function my_state() if not char_svc then return nil end local ok, st = pcall(function() local lc = char_svc:GetLocalCharacter() return lc and lc.DataRegistry:Get("State") end) return ok and st or nil end local function am_alive() local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if not h or h.Health <= 0 then return false end local st = my_state() return st ~= nil and st ~= "Downed" and st ~= "Dead" end local function players_folder() return ws:FindFirstChild("Players") end local function nextbot_models() local out = {} local f = players_folder() if not f then return out end for _, m in ipairs(f:GetChildren()) do if m:IsA("Model") and not players:FindFirstChild(m.Name) then out[#out + 1] = m end end return out end local function nextbot_near(pos, radius) if radius <= 0 then return false end for _, m in ipairs(nextbot_models()) do local r = m.PrimaryPart or m:FindFirstChild("HumanoidRootPart") if r and (r.Position - pos).Magnitude <= radius then return true end end return false end local function nearest_player_root(from) local best, best_d = nil, math.huge for _, p in ipairs(players:GetPlayers()) do local c = p ~= lp and p.Character if c then local r = c.PrimaryPart or c:FindFirstChild("HumanoidRootPart") local h = c:FindFirstChildOfClass("Humanoid") if r and h and h.Health > 0 then local d = (r.Position - from).Magnitude if d < best_d then best_d = d best = r end end end end return best end local function hold(seconds, stick, abort) local t0 = os.clock() repeat if abort and abort() then return true end stick() run_service.Heartbeat:Wait() until os.clock() - t0 >= seconds or not alive return false end local function char_from_tag(tag) if not char_svc then return nil end local ok, ch = pcall(function() return char_svc:GetCharacterFromTag(tag) end) return ok and ch or nil end local function rig_of(model) local rigs = ws:FindFirstChild("Rigs") return (rigs and rigs:FindFirstChild(model.Name)) or model end local D = { on = false, pos = Vector3.zero, near_t = nil, near_at = 0, busy = 0, spam_last = nil, spam_at = 0, farm_cf = nil, clear_t = 0, } function D.park_cf() if cfg.immortal_method == "near player" then local now = os.clock() if not D.near_t or not D.near_t.Parent or now - D.near_at > 1 then D.near_t = nearest_player_root(D.pos) D.near_at = now end if D.near_t and D.near_t.Parent then return D.near_t.CFrame * CFrame.new(cfg.near_x, cfg.near_y, cfg.near_z) end end local max_h = math.max(100, ws.StreamingTargetRadius - 150) return CFrame.new(D.pos.X, D.pos.Y + math.min(cfg.park_height, max_h), D.pos.Z) end function D.spam_cf() local now = os.clock() if D.spam_last and (now - D.spam_at) * 1000 < cfg.spam_interval then return D.spam_last end D.spam_at = now local r, h = cfg.spam_range, cfg.spam_height D.spam_last = CFrame.new((math.random() * 2 - 1) * r, (math.random() * 2 - 1) * h, (math.random() * 2 - 1) * r) return D.spam_last end function D.method_cf() if cfg.immortal_method == "spam" then return D.spam_cf() end return D.park_cf() end -- nothing moves your character any more: engaging only tells the desync to show the -- server a different position, you keep playing normally on your own screen function D.disengage() if not D.on then return end D.on = false D.near_t = nil end function D.engage() if D.on then return true end local root = get_root() if not root then return false end D.pos = root.Position D.on = true D.clear_t = 0 return true end function D.wanted() if not (cfg.immortal or cfg.autowin) then return false end if cfg.autowin or cfg.immortal_trigger == "always" then return true end local r = get_root() local pos = D.on and D.pos or (r and r.Position) if not pos then return false end return nextbot_near(pos, cfg.immortal_radius + (D.on and 60 or 0)) end function D.controller(dt) if D.wanted() then D.clear_t = 0 if not D.on and am_alive() then D.engage() end elseif D.on then D.clear_t += dt if D.clear_t > 0.9 then D.disengage() end end if D.on and my_state() == "Downed" then D.disengage() end end function D.ref_pos() if D.on then return D.pos end local r = get_root() return r and r.Position or Vector3.zero end local F = { cool = {}, attempts = setmetatable({}, { __mode = "k" }), } function F.want_collect() return cfg.collect or cfg.autowin end function F.want_revive() return cfg.revive or cfg.autowin end function F.borrow() local root = get_root() if not root then return nil end D.busy += 1 local released = false if cfg.farm_method == "teleport" then local saved_cf, saved_vel = root.CFrame, root.AssemblyLinearVelocity local function release() if released then return end released = true D.busy = math.max(0, D.busy - 1) if root.Parent then root.AssemblyAngularVelocity = Vector3.zero root.CFrame = saved_cf root.AssemblyLinearVelocity = saved_vel end end return root, release end -- desync: every position the farm asks for is only shown to the server, the real -- character stays where it is, so you can keep playing while it farms local proxy = setmetatable({}, { __index = function(_, k) if k == "CFrame" then return D.farm_cf or root.CFrame end return root[k] end, __newindex = function(_, k, v) if k == "CFrame" then D.farm_cf = v end end, }) local function release() if released then return end released = true D.busy = math.max(0, D.busy - 1) if D.busy == 0 then D.farm_cf = nil end end return proxy, release end function F.is_downed_tag(tag) local ch = char_from_tag(tag) if not ch then return false end local ok, st = pcall(function() return ch.DataRegistry:Get("State") end) return ok and st == "Downed" end function F.list_downed() local out = {} local folder = players_folder() local my_char = lp.Character local my_tag = my_char and my_char:GetAttribute("Tag") if not folder or not char_svc then return out end for _, m in ipairs(folder:GetChildren()) do if m ~= my_char and players:FindFirstChild(m.Name) then local tag = m:GetAttribute("Tag") local root = m.PrimaryPart local ch = tag and root and char_from_tag(tag) if ch and not ch.Local then local ok, res = pcall(function() local reg = ch.DataRegistry if reg:Get("State") ~= "Downed" then return false end local q = reg:Get("ReviveQueue") local someone_else = type(q) == "table" and q[1] ~= nil and q[1] ~= my_tag local carried = (reg:Get("Carried") or 0) ~= 0 local rag = reg:Get("Ragdolling") == true return not (someone_else or carried or rag) end) if ok and res then out[#out + 1] = { model = m, tag = tag, root = root } end end end end return out end function F.revive_length() if not char_svc then return 1.5 end local ok, v = pcall(function() return char_svc:GetLocalCharacter().DataRegistry:Get("ReviveLength") end) return (ok and type(v) == "number") and v or 1.5 end function F.revive_once() if not interact_remote or not am_alive() then return false end local list = F.list_downed() if #list == 0 then return false end local ref = D.ref_pos() table.sort(list, function(a, b) return (a.root.Position - ref).Magnitude < (b.root.Position - ref).Magnitude end) local target for _, t in ipairs(list) do local d = (t.root.Position - ref).Magnitude if (cfg.revive_dist <= 0 or d <= cfg.revive_dist) and os.clock() - (F.cool[t.tag] or 0) > 3 and not nextbot_near(t.root.Position, cfg.safe_radius) then target = t break end end if not target then return false end F.cool[target.tag] = os.clock() local root, release = F.borrow() if not root then return false end pcall(function() local function stick() if target.root and target.root.Parent then root.CFrame = target.root.CFrame * CFrame.new(0, 1, 2.5) root.AssemblyLinearVelocity = Vector3.zero end end local function gone() return not alive or not F.is_downed_tag(target.tag) or not am_alive() end stick() if hold(0.15, stick, gone) then return end interact_remote:FireServer("Revive", target.tag, true) if hold(F.revive_length() + 0.12, stick, gone) then return end interact_remote:FireServer("Revive", target.tag) hold(0.25, stick) end) release() return true end function F.is_collected(c) if c.Collected then return true end local s = c.CollectableScript local p = s and s.CollectedProperty return p ~= nil and p.Value == true end function F.targets() local list = {} if not col_svc then return list end for _, ctx in ipairs(col_svc.Contexts) do for _, c in pairs(ctx.CollectableIDs) do if c.Ready and not F.is_collected(c) then local ok_m, model = pcall(c.GetCollectableModel, c) if ok_m and model and model.Parent then local tp = c.Properties and c.Properties.Type local is_wisp = tp and tp.Value == "Ticket" if (is_wisp and cfg.collect_wisps) or (not is_wisp and cfg.collect_drops) then local cm = c.Behavior and c.Behavior.CollectionMethod list[#list + 1] = { c = c, model = model, pos = model:GetPivot().Position, method = cm and cm.Method or "Distance", } end end end end end return list end function F.collect_batch() if not am_alive() then return false end local candidates = {} for _, t in ipairs(F.targets()) do local a = F.attempts[t.c] if (not a or (a.n < 4 and os.clock() - a.t > 1.5)) and not nextbot_near(t.pos, cfg.safe_radius) then candidates[#candidates + 1] = t end end if #candidates == 0 then return false end local route, cur = {}, D.ref_pos() while #candidates > 0 and #route < 8 do local bi, bd = 1, math.huge for i, t in ipairs(candidates) do local d = (t.pos - cur).Magnitude if d < bd then bd = d bi = i end end local t = table.remove(candidates, bi) route[#route + 1] = t cur = t.pos end local root, release = F.borrow() if not root then return false end pcall(function() for _, t in ipairs(route) do if not alive or not F.want_collect() or not am_alive() then break end if F.want_revive() and #F.list_downed() > 0 then break end local a = F.attempts[t.c] or { n = 0, t = 0 } a.n += 1 a.t = os.clock() F.attempts[t.c] = a local function stick() root.CFrame = CFrame.new(t.pos) root.AssemblyLinearVelocity = Vector3.zero end local function done() return F.is_collected(t.c) or not t.model.Parent end stick() hold(0.12, stick, done) if t.method ~= "Distance" and not done() then task.spawn(function() pcall(t.c.TryCollect, t.c) end) end if not hold(cfg.collect_dwell, stick, done) and not done() then task.spawn(function() pcall(t.c.TryCollect, t.c) end) hold(0.2, stick, done) end end end) release() return true end function F.count() local wisps, drops = 0, 0 if col_svc then for _, ctx in ipairs(col_svc.Contexts) do for _, c in pairs(ctx.CollectableIDs) do if c.Ready and not F.is_collected(c) then local tp = c.Properties and c.Properties.Type if tp and tp.Value == "Ticket" then wisps += 1 else drops += 1 end end end end end return wisps, drops end function F.worker() while alive do local did = false local ok = pcall(function() if F.want_revive() then did = F.revive_once() end if F.want_collect() and not did then did = F.collect_batch() end end) if not ok then task.wait(1) end task.wait(did and 0.05 or 0.25) end end local E = { items = {}, lines = {}, cache = {}, folder = nil, } local function gui_parent() local ok, h = pcall(function() return gethui and gethui() end) if ok and h then return h end return core_gui end function E.init() E.folder = Instance.new("Folder") E.folder.Name = "xyz_esp" E.folder.Parent = gui_parent() end function E.make() local item = {} local hl = Instance.new("Highlight") hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop hl.FillTransparency = 0.75 hl.OutlineTransparency = 0 hl.Enabled = false hl.Parent = E.folder local bb = Instance.new("BillboardGui") bb.AlwaysOnTop = true bb.Size = UDim2.fromOffset(170, 26) bb.StudsOffset = Vector3.new(0, 3.2, 0) bb.ResetOnSpawn = false local label = Instance.new("TextLabel") label.BackgroundTransparency = 1 label.Size = UDim2.fromScale(1, 1) label.Font = Enum.Font.GothamBold label.TextSize = 13 label.TextStrokeTransparency = 0.35 label.Parent = bb bb.Parent = E.folder item.hl = hl item.bb = bb item.label = label item.sprite = nil item.sprite_src = nil return item end function E.sync_sprite(item, src, part, color) if not item.sprite or not item.sprite.Parent or item.sprite_src ~= src then if item.sprite then pcall(function() item.sprite:Destroy() end) end local clone = src:Clone() clone.Name = "xyz_cham" clone.AlwaysOnTop = true clone.LightInfluence = 0 clone.MaxDistance = math.huge clone.ResetOnSpawn = false clone.Parent = E.folder item.sprite = clone item.sprite_src = src end local sprite = item.sprite sprite.Adornee = part sprite.Enabled = src.Enabled sprite.Size = src.Size sprite.StudsOffset = src.StudsOffset sprite.ExtentsOffset = src.ExtentsOffset for _, d in ipairs(sprite:GetDescendants()) do if d:IsA("ImageLabel") then local o = src:FindFirstChild(d.Name, true) if o and o:IsA("ImageLabel") then d.Image = o.Image d.ImageRectOffset = o.ImageRectOffset d.ImageRectSize = o.ImageRectSize d.Visible = o.Visible end d.ImageColor3 = color d.ImageTransparency = 0.25 end end end function E.destroy_item(item) pcall(function() item.hl:Destroy() item.bb:Destroy() if item.sprite then item.sprite:Destroy() end end) end function E.clear_all() for key, item in pairs(E.items) do E.destroy_item(item) E.items[key] = nil end for key, line in pairs(E.lines) do pcall(function() line:Remove() end) E.lines[key] = nil end E.cache = {} end function E.collect_wants(ref) local want = {} local function add(key, part, cham_target, text, color, model) local dist = (part.Position - ref).Magnitude if dist > cfg.esp_dist then return end want[key] = { part = part, cham = cham_target, text = text, dist = dist, color = color, model = model } end if cfg.esp_nextbots then for _, m in ipairs(nextbot_models()) do local part = m.PrimaryPart or m:FindFirstChild("HumanoidRootPart") if part then add("bot:" .. m.Name, part, rig_of(m), m.Name, cfg.esp_nextbot_color, m) end end end if cfg.esp_players or cfg.esp_downed then local f = players_folder() if f then for _, m in ipairs(f:GetChildren()) do if m ~= lp.Character and players:FindFirstChild(m.Name) then local part = m.PrimaryPart if part then local tag = m:GetAttribute("Tag") local down = tag and F.is_downed_tag(tag) or false if down and cfg.esp_downed then add("dn:" .. m.Name, part, rig_of(m), m.Name .. " [downed]", cfg.esp_downed_color) elseif not down and cfg.esp_players then add("pl:" .. m.Name, part, rig_of(m), m.Name, cfg.esp_player_color) end end end end end end if (cfg.esp_wisps or cfg.esp_drops) and col_svc then for ci, ctx in ipairs(col_svc.Contexts) do for id, c in pairs(ctx.CollectableIDs) do if c.Ready and not F.is_collected(c) then local tp = c.Properties and c.Properties.Type local is_wisp = tp and tp.Value == "Ticket" if (is_wisp and cfg.esp_wisps) or (not is_wisp and cfg.esp_drops) then local ok_m, model = pcall(c.GetCollectableModel, c) if ok_m and model and model.Parent then local part = model.PrimaryPart or model:FindFirstChildWhichIsA("BasePart", true) if part then local name = is_wisp and "wisp" or string.lower(tostring(tp and tp.Value or "drop")) add( "col:" .. ci .. ":" .. tostring(id), part, nil, name, is_wisp and cfg.esp_wisp_color or cfg.esp_drop_color ) end end end end end end end return want end function E.refresh() local ref = D.ref_pos() local want = E.collect_wants(ref) for key, item in pairs(E.items) do if not want[key] then E.destroy_item(item) E.items[key] = nil end end local chams = 0 for key, w in pairs(want) do local item = E.items[key] if not item then item = E.make() E.items[key] = item end item.bb.Adornee = w.part item.bb.Enabled = cfg.esp_names local text = w.text if cfg.esp_distance then text = text .. " [" .. math.floor(w.dist) .. "m]" end item.label.Text = text item.label.TextColor3 = w.color local used_sprite = false if w.model and cfg.esp_chams and chams < 28 then local src = w.model:FindFirstChildWhichIsA("BillboardGui", true) if src then chams += 1 used_sprite = true E.sync_sprite(item, src, w.part, w.color) end end if item.sprite and not used_sprite then item.sprite.Enabled = false end if used_sprite then item.hl.Enabled = false elseif w.cham and cfg.esp_chams and chams < 28 then chams += 1 item.hl.Adornee = w.cham item.hl.FillColor = w.color item.hl.OutlineColor = w.color item.hl.Enabled = true else item.hl.Enabled = false end end E.cache = want end function E.render_lines() local draw = getgenv().Drawing local cam = ws.CurrentCamera if not draw or not cam or not cfg.esp_tracers then for key, line in pairs(E.lines) do pcall(function() line:Remove() end) E.lines[key] = nil end return end local vp = cam.ViewportSize local origin = Vector2.new(vp.X / 2, vp.Y) for key, w in pairs(E.cache) do local line = E.lines[key] if not line then local ok, l = pcall(function() return draw.new("Line") end) if ok then line = l line.Thickness = 1 E.lines[key] = line end end if line then local sp, on_screen = cam:WorldToViewportPoint(w.part.Position) line.Visible = on_screen line.Color = w.color line.From = origin line.To = Vector2.new(sp.X, sp.Y) end end for key, line in pairs(E.lines) do if not E.cache[key] then pcall(function() line:Remove() end) E.lines[key] = nil end end end local sky_presets = { ["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, MoonTextureId = "rbxassetid://6444320592", }, ["aesthetic 2"] = { SkyboxBk = "rbxassetid://600830446", SkyboxDn = "rbxassetid://600831635", SkyboxFt = "rbxassetid://600832720", SkyboxLf = "rbxassetid://600886090", SkyboxRt = "rbxassetid://600833862", SkyboxUp = "rbxassetid://600835177", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["aesthetic 3"] = { SkyboxBk = "rbxassetid://151165214", SkyboxDn = "rbxassetid://151165197", SkyboxFt = "rbxassetid://151165224", SkyboxLf = "rbxassetid://151165191", SkyboxRt = "rbxassetid://151165206", SkyboxUp = "rbxassetid://151165227", StarCount = 500, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["aesthetic mountains"] = { SkyboxBk = "rbxassetid://15470198023", SkyboxDn = "rbxassetid://15470151245", SkyboxFt = "rbxassetid://15470200128", SkyboxLf = "rbxassetid://15470202648", SkyboxRt = "rbxassetid://15470204862", SkyboxUp = "rbxassetid://15470207755", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 11, 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, 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, MoonTextureId = "rbxassetid://6444320592", }, ["antartica"] = { SkyboxBk = "rbxassetid://2118763079", SkyboxDn = "rbxassetid://2118766919", SkyboxFt = "rbxassetid://2118765204", SkyboxLf = "rbxassetid://2118764070", SkyboxRt = "rbxassetid://2118761853", SkyboxUp = "rbxassetid://2118766003", StarCount = 3000, SunAngularSize = 21, }, ["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, 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, MoonTextureId = "rbxassetid://6444320592", }, ["better night"] = { SkyboxBk = "rbxassetid://15470289121", SkyboxDn = "rbxassetid://15470291746", SkyboxFt = "rbxassetid://15470294431", SkyboxLf = "rbxassetid://15470297162", SkyboxRt = "rbxassetid://15470299887", SkyboxUp = "rbxassetid://15470303050", StarCount = 3000, }, ["better night 2"] = { 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, MoonTextureId = "rbxassetid://6444320592", }, ["better night 3"] = { 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, MoonTextureId = "rbxassetid://1075087760", }, ["better sky"] = { SkyboxBk = "rbxassetid://591058823", SkyboxDn = "rbxassetid://591059876", SkyboxFt = "rbxassetid://591058104", SkyboxLf = "rbxassetid://591057861", SkyboxRt = "rbxassetid://591057625", SkyboxUp = "rbxassetid://591059642", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, 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, MoonTextureId = "rbxassetid://6444320592", }, ["blue clouds"] = { SkyboxBk = "rbxassetid://591058823", SkyboxDn = "rbxassetid://591059876", SkyboxFt = "rbxassetid://591058104", SkyboxLf = "rbxassetid://591057861", SkyboxRt = "rbxassetid://591057625", SkyboxUp = "rbxassetid://591059642", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["blue planet"] = { SkyboxBk = "rbxassetid://16888989874", SkyboxDn = "rbxassetid://16888991855", SkyboxFt = "rbxassetid://16888995219", SkyboxLf = "rbxassetid://16888998994", SkyboxRt = "rbxassetid://16889000916", SkyboxUp = "rbxassetid://16889004122", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["blue space"] = { SkyboxBk = "rbxassetid://16876541778", SkyboxDn = "rbxassetid://16876543880", SkyboxFt = "rbxassetid://16876546384", SkyboxLf = "rbxassetid://16876548320", SkyboxRt = "rbxassetid://16876550345", SkyboxUp = "rbxassetid://16876552681", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["cloudy"] = { SkyboxBk = "rbxassetid://4495864450", SkyboxDn = "rbxassetid://4495864887", SkyboxFt = "rbxassetid://4495865458", SkyboxLf = "rbxassetid://4495866035", SkyboxRt = "rbxassetid://4495866584", SkyboxUp = "rbxassetid://4495867486", StarCount = 3000, }, ["dark clouds"] = { 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, MoonTextureId = "rbxassetid://6444320592", }, ["dark mountains"] = { SkyboxBk = "rbxassetid://5098814730", SkyboxDn = "rbxassetid://5098815227", SkyboxFt = "rbxassetid://5098815653", SkyboxLf = "rbxassetid://5098816155", SkyboxRt = "rbxassetid://5098820352", SkyboxUp = "rbxassetid://5098819127", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["darkish pink"] = { SkyboxBk = "rbxassetid://570555736", SkyboxDn = "rbxassetid://570555964", SkyboxFt = "rbxassetid://570555800", SkyboxLf = "rbxassetid://570555840", SkyboxRt = "rbxassetid://570555882", SkyboxUp = "rbxassetid://570555929", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 11, 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, }, ["fake clouds"] = { SkyboxBk = "rbxassetid://8496892810", SkyboxDn = "rbxassetid://8496896250", SkyboxFt = "rbxassetid://8496892810", SkyboxLf = "rbxassetid://8496892810", SkyboxRt = "rbxassetid://8496892810", SkyboxUp = "rbxassetid://8496897504", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, 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, MoonTextureId = "rbxassetid://6444320592", }, ["flaming sunset"] = { SkyboxBk = "rbxassetid://415688378", SkyboxDn = "rbxassetid://415688193", SkyboxFt = "rbxassetid://415688242", SkyboxLf = "rbxassetid://415688310", SkyboxRt = "rbxassetid://415688274", SkyboxUp = "rbxassetid://415688354", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["fps boost"] = { SkyboxBk = "rbxassetid://11457548274", SkyboxDn = "rbxassetid://11457548274", SkyboxFt = "rbxassetid://11457548274", SkyboxLf = "rbxassetid://11457548274", SkyboxRt = "rbxassetid://11457548274", SkyboxUp = "rbxassetid://11457548274", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["funny storm"] = { SkyboxBk = "rbxassetid://6280934001", SkyboxDn = "rbxassetid://6280935347", SkyboxFt = "rbxassetid://6280936575", SkyboxLf = "rbxassetid://6280938749", SkyboxRt = "rbxassetid://6280940989", SkyboxUp = "rbxassetid://6280942402", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, 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, MoonTextureId = "rbxassetid://6444320592", }, ["galaxy 2"] = { SkyboxBk = "rbxassetid://14164368678", SkyboxDn = "rbxassetid://14164386126", SkyboxFt = "rbxassetid://14164389230", SkyboxLf = "rbxassetid://14164398493", SkyboxRt = "rbxassetid://14164402782", SkyboxUp = "rbxassetid://14164405298", StarCount = 500, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["galaxy 3"] = { SkyboxBk = "rbxassetid://14543264135", SkyboxDn = "rbxassetid://14543358958", SkyboxFt = "rbxassetid://14543257810", SkyboxLf = "rbxassetid://14543275895", SkyboxRt = "rbxassetid://14543280890", SkyboxUp = "rbxassetid://14543371676", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["green haze"] = { SkyboxBk = "rbxassetid://160193404", SkyboxDn = "rbxassetid://160193466", SkyboxFt = "rbxassetid://160193461", SkyboxLf = "rbxassetid://160193469", SkyboxRt = "rbxassetid://160193463", SkyboxUp = "rbxassetid://160193458", SunAngularSize = 0, }, ["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, 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, }, ["lunar night"] = { SkyboxBk = "rbxassetid://187713366", SkyboxDn = "rbxassetid://187712428", SkyboxFt = "rbxassetid://187712836", SkyboxLf = "rbxassetid://187713755", SkyboxRt = "rbxassetid://187714525", SkyboxUp = "rbxassetid://187712111", StarCount = 0, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["lunar night 2"] = { SkyboxBk = "rbxassetid://14365026085", SkyboxDn = "rbxassetid://14365026242", SkyboxFt = "rbxassetid://14365025735", SkyboxLf = "rbxassetid://14365025904", SkyboxRt = "rbxassetid://14365025444", SkyboxUp = "rbxassetid://14365026442", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["magenta orange"] = { SkyboxBk = "rbxassetid://566616113", SkyboxDn = "rbxassetid://566616232", SkyboxFt = "rbxassetid://566616141", SkyboxLf = "rbxassetid://566616044", SkyboxRt = "rbxassetid://566616082", SkyboxUp = "rbxassetid://566616187", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["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, }, ["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, MoonTextureId = "rbxassetid://6444320592", }, ["moon"] = { SkyboxBk = "rbxassetid://17489386489", SkyboxDn = "rbxassetid://17489387417", SkyboxFt = "rbxassetid://17489388310", SkyboxLf = "rbxassetid://17489389632", SkyboxRt = "rbxassetid://17489391101", SkyboxUp = "rbxassetid://17489393055", StarCount = 3000, SunAngularSize = 21, }, ["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, 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, MoonTextureId = "rbxassetid://6444320592", }, ["nebula 2"] = { SkyboxBk = "rbxassetid://16932794531", SkyboxDn = "rbxassetid://16932797813", SkyboxFt = "rbxassetid://16932800523", SkyboxLf = "rbxassetid://16932803722", SkyboxRt = "rbxassetid://16932806825", SkyboxUp = "rbxassetid://16932810138", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["nebula 3"] = { SkyboxBk = "rbxassetid://17839210699", SkyboxDn = "rbxassetid://17839215896", SkyboxFt = "rbxassetid://17839218166", SkyboxLf = "rbxassetid://17839220800", SkyboxRt = "rbxassetid://17839223605", SkyboxUp = "rbxassetid://17839226876", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["nebula 4"] = { SkyboxBk = "rbxassetid://17103618635", SkyboxDn = "rbxassetid://17103622190", SkyboxFt = "rbxassetid://17103624898", SkyboxLf = "rbxassetid://17103628153", SkyboxRt = "rbxassetid://17103636666", SkyboxUp = "rbxassetid://17103639457", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["nebula 5"] = { SkyboxBk = "rbxassetid://17124357467", SkyboxDn = "rbxassetid://17124359797", SkyboxFt = "rbxassetid://17124362093", SkyboxLf = "rbxassetid://17124365127", SkyboxRt = "rbxassetid://17124367200", SkyboxUp = "rbxassetid://17124369657", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["nebula 6"] = { SkyboxBk = "rbxassetid://16694187412", SkyboxDn = "rbxassetid://16694190947", SkyboxFt = "rbxassetid://16694194795", SkyboxLf = "rbxassetid://16694197080", SkyboxRt = "rbxassetid://16694200892", SkyboxUp = "rbxassetid://16694204069", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 11, MoonTextureId = "rbxassetid://6444320592", }, ["nether world"] = { SkyboxBk = "rbxassetid://14365019002", SkyboxDn = "rbxassetid://14365023350", SkyboxFt = "rbxassetid://14365018399", SkyboxLf = "rbxassetid://14365018705", SkyboxRt = "rbxassetid://14365018143", SkyboxUp = "rbxassetid://14365019327", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["new york"] = { SkyboxBk = "rbxassetid://11333973069", SkyboxDn = "rbxassetid://11333969768", SkyboxFt = "rbxassetid://11333964303", SkyboxLf = "rbxassetid://11333971332", SkyboxRt = "rbxassetid://11333982864", SkyboxUp = "rbxassetid://11333967970", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["night mountains"] = { SkyboxBk = "rbxassetid://264908339", SkyboxDn = "rbxassetid://264907909", SkyboxFt = "rbxassetid://264909420", SkyboxLf = "rbxassetid://264909758", SkyboxRt = "rbxassetid://264908886", SkyboxUp = "rbxassetid://264907379", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 11, }, ["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, MoonTextureId = "rbxassetid://6444320592", }, ["over planet"] = { SkyboxBk = "rbxassetid://165052268", SkyboxDn = "rbxassetid://165052286", SkyboxFt = "rbxassetid://165052328", SkyboxLf = "rbxassetid://165052365", SkyboxRt = "rbxassetid://165052306", SkyboxUp = "rbxassetid://165052345", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 11, 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, 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, MoonTextureId = "rbxassetid://6444320592", }, ["pink art"] = { SkyboxBk = "rbxassetid://71607054149497", SkyboxDn = "rbxassetid://78865378050055", SkyboxFt = "rbxassetid://104560113223878", SkyboxLf = "rbxassetid://80395333901607", SkyboxRt = "rbxassetid://87570388049514", SkyboxUp = "rbxassetid://79190209626172", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, }, ["pink mountains"] = { SkyboxBk = "rbxassetid://160188495", SkyboxDn = "rbxassetid://160188614", SkyboxFt = "rbxassetid://160188609", SkyboxLf = "rbxassetid://160188589", SkyboxRt = "rbxassetid://160188597", SkyboxUp = "rbxassetid://160188588", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, }, ["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, 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, MoonTextureId = "rbxassetid://6444320592", }, ["purple 2"] = { SkyboxBk = "rbxassetid://8107841671", SkyboxDn = "rbxassetid://6444884785", SkyboxFt = "rbxassetid://8107841671", SkyboxLf = "rbxassetid://8107841671", SkyboxRt = "rbxassetid://8107841671", SkyboxUp = "rbxassetid://8107849791", StarCount = 3000, SunAngularSize = 11, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["purple 3"] = { SkyboxBk = "rbxassetid://433274085", SkyboxDn = "rbxassetid://433274194", SkyboxFt = "rbxassetid://433274131", SkyboxLf = "rbxassetid://433274370", SkyboxRt = "rbxassetid://433274429", SkyboxUp = "rbxassetid://433274285", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["purple clouds"] = { SkyboxBk = "rbxassetid://570557514", SkyboxDn = "rbxassetid://570557775", SkyboxFt = "rbxassetid://570557559", SkyboxLf = "rbxassetid://570557620", SkyboxRt = "rbxassetid://570557672", SkyboxUp = "rbxassetid://570557727", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["purple mountains"] = { SkyboxBk = "rbxassetid://17901353811", SkyboxDn = "rbxassetid://17901366771", SkyboxFt = "rbxassetid://17901356262", SkyboxLf = "rbxassetid://17901359687", SkyboxRt = "rbxassetid://17901362326", SkyboxUp = "rbxassetid://17901365106", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["purple night"] = { SkyboxBk = "rbxassetid://5260808177", SkyboxDn = "rbxassetid://5260653793", SkyboxFt = "rbxassetid://5260817288", SkyboxLf = "rbxassetid://5260800833", SkyboxRt = "rbxassetid://5260800833", SkyboxUp = "rbxassetid://5084576400", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["purple planet"] = { SkyboxBk = "rbxassetid://16262356578", SkyboxDn = "rbxassetid://16262358026", SkyboxFt = "rbxassetid://16262360469", SkyboxLf = "rbxassetid://16262362003", SkyboxRt = "rbxassetid://16262363873", SkyboxUp = "rbxassetid://16262366016", StarCount = 3000, SunAngularSize = 21, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["purple space"] = { SkyboxBk = "rbxassetid://15983968922", SkyboxDn = "rbxassetid://15983966825", SkyboxFt = "rbxassetid://5260817288", SkyboxLf = "rbxassetid://15983967420", SkyboxRt = "rbxassetid://15983966246", SkyboxUp = "rbxassetid://15983964246", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["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, }, ["red night"] = { SkyboxBk = "rbxassetid://401664839", SkyboxDn = "rbxassetid://401664862", SkyboxFt = "rbxassetid://401664960", SkyboxLf = "rbxassetid://401664881", SkyboxRt = "rbxassetid://401664901", SkyboxUp = "rbxassetid://401664936", StarCount = 3000, SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://6444320592", }, ["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, }, ["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, MoonTextureId = "rbxassetid://6444320592", }, ["space 2"] = { 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", }, ["storm"] = { SkyboxBk = "rbxassetid://1618912481", SkyboxDn = "rbxassetid://1618913943", SkyboxFt = "rbxassetid://1618913244", SkyboxLf = "rbxassetid://1618912849", SkyboxRt = "rbxassetid://1618911568", SkyboxUp = "rbxassetid://1618913654", SunAngularSize = 0, MoonAngularSize = 0, MoonTextureId = "rbxassetid://1075087760", }, ["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, }, ["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, MoonTextureId = "rbxassetid://6444320592", }, } local sky_names = { "aesthetic", "aesthetic 2", "aesthetic 3", "aesthetic mountains", "alien", "ame", "antartica", "art", "beach", "better night", "better night 2", "better night 3", "better sky", "blizzard", "blue clouds", "blue planet", "blue space", "cloudy", "dark clouds", "dark mountains", "darkish pink", "dawn", "fake clouds", "flame", "flaming sunset", "fps boost", "funny storm", "galaxy", "galaxy 2", "galaxy 3", "green haze", "hell", "lunar", "lunar night", "lunar night 2", "magenta orange", "midnight", "milkyway", "moon", "mountains", "nebula", "nebula 2", "nebula 3", "nebula 4", "nebula 5", "nebula 6", "nether world", "new york", "night mountains", "orange", "over planet", "pastel", "pink", "pink art", "pink mountains", "pinkie", "purple", "purple 2", "purple 3", "purple clouds", "purple mountains", "purple night", "purple planet", "purple space", "realistic", "red night", "retro", "space", "space 2", "storm", "valentines", "winter", } local V = { lorig = {}, stores = {}, flash = 0, weather_part = nil, weather_emitter = nil, weather_t = 0, bolts = nil, sky_cache = {}, } function V.lset(prop, enabled, value) pcall(function() if enabled then if V.lorig[prop] == nil then V.lorig[prop] = lighting[prop] end if lighting[prop] ~= value then lighting[prop] = value end elseif V.lorig[prop] ~= nil then lighting[prop] = V.lorig[prop] V.lorig[prop] = nil end end) end function V.managed(key, class, own, enabled, props) local store = V.stores[key] if not store then store = { orig = {} } V.stores[key] = store end if enabled then if not store.inst or not store.inst.Parent then local inst = (not own) and lighting:FindFirstChildOfClass(class) or nil store.created = false store.orig = {} if not inst then inst = Instance.new(class) inst.Name = "xyz_" .. key inst.Parent = lighting store.created = true end store.inst = inst end local inst = store.inst for k, v in pairs(props) do pcall(function() if not store.created and store.orig[k] == nil then store.orig[k] = inst[k] end if inst[k] ~= v then inst[k] = v end end) end elseif store.inst then if store.created then store.inst:Destroy() elseif store.inst.Parent then for k, v in pairs(store.orig) do pcall(function() store.inst[k] = v end) end end store.inst = nil store.orig = {} end end local weather_presets = { snow = { color = Color3.fromRGB(255, 255, 255), speed = 14, size = 0.3, rate = 260, accel = Vector3.new(0, -1, 0), texture = "rbxasset://textures/particles/sparkles_main.dds", orient = Enum.ParticleOrientation.FacingCamera, down = true, squash = 0, }, rain = { color = Color3.fromRGB(170, 200, 255), speed = 130, size = 0.16, rate = 520, accel = Vector3.new(0, -20, 0), texture = "rbxasset://textures/particles/sparkles_main.dds", orient = Enum.ParticleOrientation.VelocityParallel, down = true, squash = -4, }, ash = { color = Color3.fromRGB(150, 150, 150), speed = 6, size = 0.35, rate = 180, accel = Vector3.new(0, -0.5, 0), texture = "rbxasset://textures/particles/smoke_main.dds", orient = Enum.ParticleOrientation.FacingCamera, down = true, squash = 0, }, embers = { color = Color3.fromRGB(255, 120, 30), speed = 9, size = 0.25, rate = 150, accel = Vector3.new(0, 4, 0), texture = "rbxasset://textures/particles/sparkles_main.dds", orient = Enum.ParticleOrientation.FacingCamera, down = false, squash = 0, }, ["blood rain"] = { color = Color3.fromRGB(190, 15, 15), speed = 120, size = 0.18, rate = 460, accel = Vector3.new(0, -20, 0), texture = "rbxasset://textures/particles/sparkles_main.dds", orient = Enum.ParticleOrientation.VelocityParallel, down = true, squash = -4, }, } V.weather_names = { "snow", "rain", "ash", "embers", "blood rain" } function V.weather_apply() local preset = weather_presets[cfg.w_preset] or weather_presets.snow if not V.weather_part or not V.weather_part.Parent then local part = Instance.new("Part") part.Name = "xyz_weather" part.Anchored = true part.CanCollide = false part.CanQuery = false part.CanTouch = false part.Transparency = 1 part.Parent = ws local em = Instance.new("ParticleEmitter") em.Parent = part V.weather_part = part V.weather_emitter = em end local em = V.weather_emitter local speed = preset.speed * cfg.w_speed local color = cfg.w_color_on and cfg.w_color or preset.color V.weather_part.Size = Vector3.new(cfg.w_spread * 2, 0.5, cfg.w_spread * 2) local wind = Vector3.new(math.cos(math.rad(cfg.w_wind_angle)), 0, math.sin(math.rad(cfg.w_wind_angle))) * cfg.w_wind em.Texture = preset.texture em.Orientation = preset.orient em.Rate = preset.rate * cfg.w_rate em.Speed = NumberRange.new(speed) em.Lifetime = NumberRange.new(math.clamp((cfg.w_height + 15) / math.max(speed, 1), 1, 25)) em.Size = NumberSequence.new(preset.size * cfg.w_size) em.Squash = NumberSequence.new(preset.squash) em.Color = ColorSequence.new(color) em.LightEmission = cfg.w_glow em.Acceleration = preset.accel + wind em.EmissionDirection = preset.down and Enum.NormalId.Bottom or Enum.NormalId.Top em.SpreadAngle = Vector2.new(4, 4) em.LockedToPart = false em.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.08, 0.15), NumberSequenceKeypoint.new(0.92, 0.15), NumberSequenceKeypoint.new(1, 1), }) em.Enabled = true end function V.weather_remove() if V.weather_part then V.weather_part:Destroy() V.weather_part = nil V.weather_emitter = nil end end function V.ground_hit(origin) local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude local skip = {} if ws.CurrentCamera then skip[#skip + 1] = ws.CurrentCamera end for _, name in ipairs({ "Players", "Rigs", "Effects" }) do local f = ws:FindFirstChild(name) if f then skip[#skip + 1] = f end end if V.bolts then skip[#skip + 1] = V.bolts end params.FilterDescendantsInstances = skip local from = origin for _ = 1, 20 do local hit = ws:Raycast(from, Vector3.new(0, -4000, 0), params) if not hit then return nil end local inst = hit.Instance if inst:IsA("Terrain") or inst.Transparency < 0.9 then return hit end skip[#skip + 1] = inst params.FilterDescendantsInstances = skip from = hit.Position - Vector3.new(0, 0.05, 0) end return nil end function V.strike() local cam = ws.CurrentCamera if not cam then return end local ang = math.random() * math.pi * 2 local dist = cfg.lg_dist * (0.5 + math.random() * 0.8) local base = cam.CFrame.Position + Vector3.new(math.cos(ang) * dist, 0, math.sin(ang) * dist) local ground = V.ground_hit(base + Vector3.new(0, 600, 0)) local gy = ground and ground.Position.Y or base.Y local top = Vector3.new(base.X, gy + cfg.lg_height, base.Z) local bottom = Vector3.new(base.X, gy, base.Z) if not V.bolts or not V.bolts.Parent then V.bolts = Instance.new("Folder") V.bolts.Name = "xyz_lightning" V.bolts.Parent = ws end local function bolt(a_pos, b_pos, segs, thick) local pts = { a_pos } for i = 1, segs - 1 do local p = a_pos:Lerp(b_pos, i / segs) pts[#pts + 1] = p + Vector3.new((math.random() - 0.5) * cfg.lg_jag * 2, 0, (math.random() - 0.5) * cfg.lg_jag * 2) end pts[#pts + 1] = b_pos for i = 1, #pts - 1 do local a, b = pts[i], pts[i + 1] local len = (b - a).Magnitude local seg = Instance.new("Part") seg.Anchored = true seg.CanCollide = false seg.CanQuery = false seg.CanTouch = false seg.CastShadow = false seg.Material = Enum.Material.Neon seg.Color = cfg.lg_color seg.Size = Vector3.new(thick, thick, len) seg.CFrame = CFrame.lookAt((a + b) / 2, b) seg.Parent = V.bolts tween_service:Create(seg, TweenInfo.new(0.35), { Transparency = 1 }):Play() task.delay(0.4, function() seg:Destroy() end) end return pts end local pts = bolt(top, bottom, 16, cfg.lg_thick * 0.2) for _ = 1, 3 do local from = pts[math.random(3, #pts - 3)] local to = from + Vector3.new((math.random() - 0.5) * 60, -math.random(20, 60), (math.random() - 0.5) * 60) bolt(from, to, 6, cfg.lg_thick * 0.1) end V.flash = math.max(V.flash, cfg.lg_flash / 20) local id = tonumber(cfg.lg_sound) if id then task.delay(math.clamp(dist / 340, 0.1, 3), function() local s = Instance.new("Sound") s.SoundId = "rbxassetid://" .. id s.Volume = 1 s.Parent = sound_service s:Play() s.Ended:Once(function() s:Destroy() end) end) end end function V.sky_props() local p = sky_presets[cfg.sky_preset] return p or {} end function V.step() V.lset("ClockTime", cfg.l_time, cfg.l_time_v) V.lset("Brightness", cfg.l_bright, cfg.l_bright_v) V.lset("ExposureCompensation", cfg.l_expo, cfg.l_expo_v) V.lset("GeographicLatitude", cfg.l_lat, cfg.l_lat_v) V.lset("Ambient", cfg.l_amb, cfg.l_amb_in) V.lset("OutdoorAmbient", cfg.l_amb, cfg.l_amb_out) V.lset("ColorShift_Top", cfg.l_shift, cfg.l_shift_top) V.lset("ColorShift_Bottom", cfg.l_shift, cfg.l_shift_bot) V.lset("EnvironmentDiffuseScale", cfg.l_diffuse, cfg.l_diffuse_v) V.lset("EnvironmentSpecularScale", cfg.l_spec, cfg.l_spec_v) V.lset("GlobalShadows", cfg.l_noshadows, false) V.lset("ShadowSoftness", cfg.l_soft, cfg.l_soft_v) V.lset("LightingStyle", cfg.l_style, cfg.l_style_v == "soft" and Enum.LightingStyle.Soft or Enum.LightingStyle.Realistic) V.lset("FogColor", cfg.f_on, cfg.f_color) V.lset("FogStart", cfg.f_on, cfg.f_start) V.lset("FogEnd", cfg.f_on, cfg.f_end) V.managed("atmo", "Atmosphere", false, cfg.a_on, { Color = cfg.a_color, Decay = cfg.a_decay, Density = cfg.a_density, Offset = cfg.a_offset, Glare = cfg.a_glare, Haze = cfg.a_haze, }) V.managed("bloom", "BloomEffect", true, cfg.bl_on, { Intensity = cfg.bl_int, Size = cfg.bl_size, Threshold = cfg.bl_thr, }) V.managed("cc", "ColorCorrectionEffect", true, cfg.cc_on, { TintColor = cfg.cc_tint, Saturation = cfg.cc_sat, Brightness = cfg.cc_bri, Contrast = cfg.cc_con, }) V.managed("dof", "DepthOfFieldEffect", true, cfg.dof_on, { FarIntensity = cfg.dof_far, FocusDistance = cfg.dof_focus, InFocusRadius = cfg.dof_radius, NearIntensity = cfg.dof_near, }) V.managed("sunrays", "SunRaysEffect", true, cfg.sr_on, { Intensity = cfg.sr_int, Spread = cfg.sr_spread }) V.managed("grading", "ColorGradingEffect", true, cfg.tm_retro, { TonemapperPreset = Enum.TonemapperPreset.Retro }) V.managed("sky", "Sky", false, cfg.sky_on, V.sky_props()) V.flash = V.flash * 0.88 V.managed("flash", "ColorCorrectionEffect", true, V.flash > 0.01, { Brightness = V.flash }) if cfg.w_on then local cam = ws.CurrentCamera V.weather_t += 1 if V.weather_t % 12 == 1 or not V.weather_part or not V.weather_part.Parent then pcall(V.weather_apply) end if cam and V.weather_part then V.weather_part.CFrame = CFrame.new(cam.CFrame.Position + Vector3.new(0, cfg.w_height, 0)) end else V.weather_remove() end end function V.lightning_loop() local wait_s = 2 while alive do task.wait(0.1) if cfg.lg_on then wait_s -= 0.1 if wait_s <= 0 then pcall(V.strike) wait_s = cfg.lg_interval * (0.6 + math.random() * 0.8) end end end end V.walls = { set = setmetatable({}, { __mode = "k" }), conn = nil, running = false } local WALL_VISUALS = { "Decal", "Texture", "SurfaceAppearance", "SurfaceGui", "BillboardGui", "ParticleEmitter", "Beam", "Trail", "Fire", "Smoke", "Sparkles", "PointLight", "SpotLight", "SurfaceLight", "Highlight", } function V.wall_skip(p) local top = p while top.Parent and top.Parent ~= ws do top = top.Parent end if top == ws.CurrentCamera or top.Name == "Players" or top.Name == "Rigs" or top.Name == "Effects" then return true end return string.sub(top.Name, 1, 4) == "xyz_" or top == (E and E.folder) end function V.wall_check(p, floor_y) if not p:IsA("BasePart") or p:IsA("Terrain") or V.walls.set[p] then return end if p.Transparency < 0.95 or not p.CanCollide or V.wall_skip(p) then return end for _, c in ipairs(p:GetChildren()) do for _, cls in ipairs(WALL_VISUALS) do if c:IsA(cls) then return end end end -- thin flat slabs below you are floors, leave those so you do not fall out of the map local sz = p.Size local flat = p.CFrame.UpVector.Y > 0.7 and sz.Y <= 4 and sz.X >= 8 and sz.Z >= 8 if flat and floor_y and p.Position.Y <= floor_y + 3 then return end V.walls.set[p] = { cc = p.CanCollide, cq = p.CanQuery } p.CanCollide = false p.CanQuery = false end function V.walls_scan() if V.walls.running then return end V.walls.running = true task.spawn(function() local root = get_root() local floor_y = root and root.Position.Y local n = 0 for _, d in ipairs(ws:GetDescendants()) do if not alive or not cfg.walls_on then break end pcall(V.wall_check, d, floor_y) n += 1 if n % 400 == 0 then task.wait() end end V.walls.running = false end) end function V.walls_set(on) local w = V.walls if on then if not w.conn then w.conn = ws.DescendantAdded:Connect(function(d) if cfg.walls_on and d:IsA("BasePart") then task.defer(function() local root = get_root() pcall(V.wall_check, d, root and root.Position.Y) end) end end) end V.walls_scan() else if w.conn then w.conn:Disconnect() w.conn = nil end for p, o in pairs(w.set) do if p.Parent then pcall(function() p.CanCollide = o.cc p.CanQuery = o.cq end) end end w.set = setmetatable({}, { __mode = "k" }) end end function V.cleanup() V.walls_set(false) for prop, value in pairs(V.lorig) do pcall(function() lighting[prop] = value end) end V.lorig = {} for key in pairs(V.stores) do V.managed(key, "", true, false, {}) end V.weather_remove() if V.bolts then V.bolts:Destroy() V.bolts = nil end end local M = { aj_conn = nil, fe = { installed = false }, } function M.aj_stop() if M.aj_conn then M.aj_conn:Disconnect() M.aj_conn = nil end end function M.aj_start() if M.aj_conn then return end local rng = Random.new() local decel = 80 local turn_min, turn_max = 2, 45 local roll_chance = 0.35 local roll_every = { 0.12, 0.3 } local gain = { 0.2, 0.7 } local gain_rate = 4 local function roll_cap() local lo = math.min(cfg.aj_cap_min, cfg.aj_cap_max) local hi = math.max(cfg.aj_cap_min, cfg.aj_cap_max) return rng:NextNumber(lo, hi) end local cap = roll_cap() local pending, next_roll, turn_rate = 0, 0, 0 local last_look, jump_at, mover = nil, nil, nil local was_airborne = false local function get_mover(character) if mover and mover.Parent and mover.Enabled then return mover end mover = nil local hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return nil end for _, v in ipairs(hrp:GetChildren()) do if v:IsA("LinearVelocity") and v.Enabled and v.VelocityConstraintMode == Enum.VelocityConstraintMode.Plane then mover = v return v end end return nil end M.aj_conn = run_service.Stepped:Connect(function(_, dt) if dt <= 0 then return end local character = lp.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") local hrp = character and character:FindFirstChild("HumanoidRootPart") if not humanoid or not hrp or humanoid.Health <= 0 then return end local camera = ws.CurrentCamera local look = camera.CFrame.LookVector * Vector3.new(1, 0, 1) if look.Magnitude > 0.001 then look = look.Unit if last_look then local raw = math.abs(math.deg(math.atan2(last_look:Cross(look).Y, last_look:Dot(look)))) / dt turn_rate = turn_rate * 0.8 + raw * 0.2 end last_look = look end local state = humanoid:GetState() local on_ground = state == Enum.HumanoidStateType.Running or state == Enum.HumanoidStateType.Landed local airborne = state == Enum.HumanoidStateType.Freefall or state == Enum.HumanoidStateType.Jumping if airborne and not was_airborne then cap = roll_cap() end was_airborne = airborne local space_held = uis:IsKeyDown(Enum.KeyCode.Space) and not uis:GetFocusedTextBox() if space_held and on_ground then if cfg.aj_humanly then if not jump_at then local lo = math.min(cfg.aj_delay_min, cfg.aj_delay_max) local hi = math.max(cfg.aj_delay_min, cfg.aj_delay_max) jump_at = os.clock() + rng:NextNumber(lo, hi) / 1000 end if os.clock() >= jump_at then humanoid.Jump = true humanoid:ChangeState(Enum.HumanoidStateType.Jumping) jump_at = nil end else humanoid.Jump = true humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end else jump_at = nil if space_held and airborne then humanoid.Jump = true end end local m = get_mover(character) if space_held and airborne then next_roll -= dt if next_roll <= 0 then next_roll = rng:NextNumber(roll_every[1], roll_every[2]) if turn_rate >= turn_min and turn_rate <= turn_max and rng:NextNumber() < roll_chance then pending += rng:NextNumber(gain[1], gain[2]) end end if pending > 0 and m then local v = m.PlaneVelocity local mag = v.Magnitude if mag > 1 and mag < cap then local step = math.min(pending, gain_rate * dt, cap - mag) m.PlaneVelocity = v.Unit * (mag + step) pending -= step else pending = 0 end end else pending = 0 end if m then local v = m.PlaneVelocity local mag = v.Magnitude if mag > cap then m.PlaneVelocity = v.Unit * math.max(cap, mag - decel * dt) end end local av = hrp.AssemblyLinearVelocity local hv = Vector3.new(av.X, 0, av.Z) if hv.Magnitude > cap + 2 then local nh = hv.Unit * math.max(cap, hv.Magnitude - decel * dt) hrp.AssemblyLinearVelocity = Vector3.new(nh.X, av.Y, nh.Z) end end) end function M.fe_remove() local fe = M.fe if not fe.installed then return end pcall(function() fe.helpers.Accelerate = fe.orig_accel end) pcall(function() fe.functions.Air = fe.orig_air fe.functions.Slide = fe.orig_slide end) fe.installed = false end function M.fe_install() local fe = M.fe if fe.installed then return true end local ok = pcall(function() local fn_folder = rs.Objects.Game.Character.Client.Movement.MoveFunction fe.functions = require(fn_folder.Functions) fe.helpers = require(fn_folder.Functions.Helpers) end) if not ok or not fe.functions or not fe.helpers then return false end local max_steps = 10 local orig_accel = fe.helpers.Accelerate local orig_air, orig_slide = fe.functions.Air, fe.functions.Slide fe.orig_accel, fe.orig_air, fe.orig_slide = orig_accel, orig_air, orig_slide local local_call = false local last_yaw, last_yaw_t = nil, 0 local function rot_y(v, a) return CFrame.Angles(0, a, 0):VectorToWorldSpace(v) end local function patched(self, vel, wishdir, wishspeed, accel, dt, swim) if not local_call or swim == true or type(dt) ~= "number" or dt <= 0 or wishspeed ~= accel then return orig_accel(self, vel, wishdir, wishspeed, accel, dt, swim) end local n = math.clamp(math.floor(dt * cfg.fe_target + 0.5), 1, max_steps) if n <= 1 then return orig_accel(self, vel, wishdir, wishspeed, accel, dt, swim) end local look = ws.CurrentCamera.CFrame.LookVector local yaw = math.atan2(-look.X, -look.Z) local now = os.clock() local delta = 0 if last_yaw and now - last_yaw_t < 0.1 then delta = (yaw - last_yaw + math.pi) % (2 * math.pi) - math.pi if math.abs(delta) > 1.5 then delta = 0 end end last_yaw, last_yaw_t = yaw, now local sub = dt / n for i = 1, n do local ang = -delta * (n - i) / n local dir = ang == 0 and wishdir or rot_y(wishdir, ang) vel = orig_accel(self, vel, dir, wishspeed, accel, sub, swim) end return vel end local function wrap(orig) return function(...) local prev = local_call local_call = (select(4, ...) == lp.Character) local r = table.pack(pcall(orig, ...)) local_call = prev if not r[1] then error(r[2], 0) end return table.unpack(r, 2, r.n) end end local ok_a = pcall(function() fe.helpers.Accelerate = patched end) local ok_b = pcall(function() fe.functions.Air = wrap(orig_air) fe.functions.Slide = wrap(orig_slide) end) fe.installed = ok_a and ok_b return fe.installed end local function build_unlock_all() local http = game:GetService("HttpService") if getgenv().UnlockAllStop then pcall(getgenv().UnlockAllStop) end local instance = {} getgenv().UnlockAllInstance = instance local enabled = false local running = true local function on() return enabled and running and getgenv().UnlockAllInstance == instance end local Registry = require(rs.Items.Registry) local Skins = require(rs.Items.Skins) local Inv = require(rs.Client.Services.UserData.Inventory) local CharacterService = require(rs.Services.Asset.CharacterService) local CharRegistry = require(rs.Objects.Game.Character.DataRegistry) local Remotes = rs.Shared.UserData.Remotes local EquipRemote, SwapRemote, SetSkinRemote = Remotes.Equip, Remotes.SwapSlots, Remotes.SetSkin local TaskRemote = rs.Remotes.Character.CharacterTask local origSetTerm local fakeEmote = nil local SAVE_FOLDER, SAVE_FILE = "xyzevade", "xyzevade/unlock_all.json" local COSMETIC_SLOT = { Cosmetic = true, Unusual = true, Character = true, Emote = true, CarryAnimation = true, Nametag = true, } local cache, allCosmetics = {}, {} local function isCosmetic(id) local c = cache[id] if c ~= nil then return c end local ok, conf = pcall(Registry.GetConfig, id) local r = false if ok and type(conf) == "table" then local st = conf.EquipInfo and conf.EquipInfo.SlotType r = (st ~= nil and COSMETIC_SLOT[st] == true) or conf.CosmeticInfo ~= nil or conf.EmoteInfo ~= nil end cache[id] = r return r end local skinCache = {} local function isSkinId(id) local c = skinCache[id] if c ~= nil then return c end local ok, r = pcall(Skins.IsSkin, id) c = ok and r == true skinCache[id] = c return c end local function slotTypeOf(id) local ok, conf = pcall(Registry.GetConfig, id) return ok and type(conf) == "table" and conf.EquipInfo and conf.EquipInfo.SlotType or nil end for id = 1, Registry.GetCount() + 2000 do if isCosmetic(id) then allCosmetics[#allCosmetics + 1] = id end end local slotOverlay, skinOverlay = {}, {} local slotObs, skinObs, loadoutObs = {}, {}, {} local blocked = 0 local function save() pcall(function() if not isfolder(SAVE_FOLDER) then makefolder(SAVE_FOLDER) end local skins = {} for k, v in pairs(skinOverlay) do skins[tostring(k)] = v end writefile(SAVE_FILE, http:JSONEncode({ slots = slotOverlay, skins = skins })) end) end local function load_state() table.clear(slotOverlay) table.clear(skinOverlay) pcall(function() if isfile(SAVE_FILE) then local d = http:JSONDecode(readfile(SAVE_FILE)) for k, v in pairs(d.slots or {}) do slotOverlay[k] = v end for k, v in pairs(d.skins or {}) do skinOverlay[tonumber(k)] = v end end end) end local orig = {} local function hook(name, fn, optional) if type(Inv[name]) ~= "function" then if optional then return end error("inventory function missing: " .. name) end orig[name] = hookfunction(Inv[name], fn) end local function effective(slot) local o = slotOverlay[slot] if o == nil then return orig.GetEquipped(slot) end if o == false then return nil end return o end local function effectiveSkin(base) local o = skinOverlay[base] if o == nil then return orig.GetSkin(base) end if o == false then return nil end return o end local refreshLocal local function fireAll() for _, o in ipairs(slotObs) do pcall(o.push) end for _, o in ipairs(skinObs) do pcall(o.push) end for _, cb in ipairs(loadoutObs) do pcall(cb) end if refreshLocal then pcall(refreshLocal) end end hook("Owns", function(id) if on() and (isCosmetic(id) or isSkinId(id)) then return true end return orig.Owns(id) end) hook("IsUnlocked", function(id) if on() and isCosmetic(id) then return true end return orig.IsUnlocked(id) end) hook("OwnedIds", function() local list = orig.OwnedIds() if not on() then return list end local have = {} for _, id in ipairs(list) do have[id] = true end for _, id in ipairs(allCosmetics) do if not have[id] then list[#list + 1] = id end end table.sort(list) return list end) hook("GetOwnedBySlotType", function(slotType) local list = orig.GetOwnedBySlotType(slotType) if not on() or not COSMETIC_SLOT[slotType] then return list end local have = {} for _, id in ipairs(list) do have[id] = true end for _, id in ipairs(allCosmetics) do if not have[id] and slotTypeOf(id) == slotType then list[#list + 1] = id end end return list end) hook("IsSlotAvailable", function(slot) if on() and COSMETIC_SLOT[Inv.GetSlotType(slot)] then return true end return orig.IsSlotAvailable(slot) end) hook("GetEquipped", function(slot) if not on() then return orig.GetEquipped(slot) end return effective(slot) end) hook("GetLoadout", function() local r = orig.GetLoadout() if not on() then return r end for slot, v in pairs(slotOverlay) do r[slot] = v or nil end return r end) hook("IsEquipped", function(id) if not on() then return orig.IsEquipped(id) end for slot in pairs(Inv.GetSlots()) do if effective(slot) == id then return true, slot end end return false, nil end) hook("ObserveSlot", function(slot, cb) local entry = { push = function() cb(on() and effective(slot) or orig.GetEquipped(slot)) end, } local disc = orig.ObserveSlot(slot, function() entry.push() end) slotObs[#slotObs + 1] = entry return function() pcall(disc) local i = table.find(slotObs, entry) if i then table.remove(slotObs, i) end end end) hook("ObserveLoadout", function(cb) local disc = orig.ObserveLoadout(cb) loadoutObs[#loadoutObs + 1] = cb return function() pcall(disc) local i = table.find(loadoutObs, cb) if i then table.remove(loadoutObs, i) end end end) hook("GetSkin", function(base) if not on() then return orig.GetSkin(base) end return effectiveSkin(base) end) hook("GetWornSkin", function(base) if not on() then return orig.GetWornSkin(base) end local o = skinOverlay[base] if o == nil then return orig.GetWornSkin(base) end if o == false then return nil end return o end, true) hook("ObserveSkin", function(base, cb) local entry = { push = function() cb(on() and effectiveSkin(base) or orig.GetSkin(base)) end, } local disc = orig.ObserveSkin(base, function() entry.push() end) skinObs[#skinObs + 1] = entry return function() pcall(disc) local i = table.find(skinObs, entry) if i then table.remove(skinObs, i) end end end) local function handleEquip(slot, id) if type(slot) ~= "string" or not COSMETIC_SLOT[Inv.GetSlotType(slot)] then return false end if id == nil then if slotOverlay[slot] ~= nil then slotOverlay[slot] = nil save() fireAll() return true end return false end local fake = isCosmetic(id) and not orig.Owns(id) local locked = not orig.IsSlotAvailable(slot) if fake or locked then slotOverlay[slot] = id save() fireAll() return true end if slotOverlay[slot] ~= nil then slotOverlay[slot] = nil save() fireAll() end return false end local function handleSwap(a, b) if slotOverlay[a] == nil and slotOverlay[b] == nil then return false end local ea, eb = effective(a), effective(b) slotOverlay[a] = eb == nil and false or eb slotOverlay[b] = ea == nil and false or ea save() fireAll() return true end local function handleSkin(base, skin) if skin == nil then if skinOverlay[base] ~= nil then skinOverlay[base] = false save() fireAll() return true end return false end if (isCosmetic(skin) or isSkinId(skin)) and not orig.Owns(skin) then skinOverlay[base] = skin save() fireAll() return true end if skinOverlay[base] ~= nil then skinOverlay[base] = nil save() fireAll() end return false end local function setLocalEmote(id) local lc = CharacterService:GetLocalCharacter() if lc and lc.DataRegistry and origSetTerm then origSetTerm(lc.DataRegistry, "Emote", id) end end local function handleEmoteTask(kind, id) if kind ~= "Emote" then return false end if id == nil or id == 0 then if fakeEmote then fakeEmote = nil setLocalEmote(0) return true end return false end if type(id) == "number" and isCosmetic(id) and not orig.Owns(id) then fakeEmote = id setLocalEmote(id) return true end return false end local oldNamecall oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(self, ...) if on() and getnamecallmethod() == "FireServer" then local method = getnamecallmethod() local handled = false if self == EquipRemote then handled = handleEquip(...) elseif self == SwapRemote then handled = handleSwap(...) elseif self == SetSkinRemote then handled = handleSkin(...) elseif self == TaskRemote then handled = handleEmoteTask(...) end if handled then blocked += 1 return end if setnamecallmethod then setnamecallmethod(method) end end return oldNamecall(self, ...) end)) local deploySwaps = 0 do local ok, DeployableService = pcall(require, rs.Services.Items.DeployableService) if ok and type(DeployableService) == "table" and DeployableService.Build then local myName = lp.Name local origBuild origBuild = hookfunction(DeployableService.Build, function(self, model, itemId, skinId, upgrades, owner, ...) if on() and owner == myName then local o = skinOverlay[itemId] if o ~= nil then skinId = o or nil deploySwaps += 1 end end return origBuild(self, model, itemId, skinId, upgrades, owner, ...) end) end end local WORN_SLOTS = { "CosmeticSlot_1", "CosmeticSlot_2", "UnusualSlot", "CharacterSlot" } local OVERRIDE_TERMS = { "Cosmetics", "Nametag", "Emotes", "CarryItem", "ToolSkins" } local IS_OVERRIDDEN = { Cosmetics = true, Nametag = true, Emotes = true, CarryItem = true, ToolSkins = true } local serverVal = setmetatable({}, { __mode = "k" }) local function hasWornOverlay() for _, s in ipairs(WORN_SLOTS) do if slotOverlay[s] ~= nil then return true end end return false end local function wornList() local list = {} for _, s in ipairs(WORN_SLOTS) do local id = effective(s) if id then list[#list + 1] = id end end return list end local function hasEmoteOverlay() for i = 1, 12 do if slotOverlay["EmoteSlot_" .. i] ~= nil then return true end end return false end local function emoteList() local list = {} for i = 1, 12 do local id = effective("EmoteSlot_" .. i) if id then list[#list + 1] = { i, id } end end return list end local function toolSkinList(server) local list = {} if type(server) == "table" then for _, id in ipairs(server) do local ok, base = pcall(Skins.BaseOf, id) if not (ok and base ~= nil and skinOverlay[base] ~= nil) then list[#list + 1] = id end end end for base, skin in pairs(skinOverlay) do if type(skin) == "number" and skin ~= base then list[#list + 1] = skin end end table.sort(list) return list end local function desired(term, serverValue) if not on() then return serverValue end if term == "ToolSkins" and next(skinOverlay) ~= nil then return toolSkinList(serverValue) end if term == "Cosmetics" and hasWornOverlay() then return wornList() end if term == "Emotes" and hasEmoteOverlay() then return emoteList() end if term == "Nametag" and slotOverlay.NametagSlot ~= nil then return effective("NametagSlot") end if term == "CarryItem" and slotOverlay.CarryAnimationSlot ~= nil then return effective("CarryAnimationSlot") or 0 end return serverValue end local function sameValue(a, b) if type(a) == "table" and type(b) == "table" then if #a ~= #b then return false end for i = 1, #a do if not sameValue(a[i], b[i]) then return false end end return true end return a == b end origSetTerm = hookfunction(CharRegistry.SetTerm, function(self, term, value) if term == "Emote" and fakeEmote and value ~= fakeEmote then local p = rawget(self, "Parent") if type(p) == "table" and p.Local then fakeEmote = nil end end if term == "Carried" and type(value) == "string" and on() and slotOverlay.CarryAnimationSlot ~= nil then local carrier = string.split(value, ":")[1] local lc = CharacterService:GetLocalCharacter() local my_tag = lc and lc.Tag if my_tag ~= nil and tonumber(carrier) == tonumber(my_tag) then value = carrier .. ":" .. tostring(effective("CarryAnimationSlot") or 0) end end if IS_OVERRIDDEN[term] then local p = rawget(self, "Parent") if type(p) == "table" and p.Local then local sv = serverVal[self] if not sv then sv = { seeded = true } serverVal[self] = sv end sv[term] = value value = desired(term, value) end end return origSetTerm(self, term, value) end) refreshLocal = function() for _, c in CharacterService:GetCharacters() do local reg = c.Local and c.DataRegistry if reg then local sv = serverVal[reg] if not sv then sv = { seeded = true, Cosmetics = reg.Data.Cosmetics, Nametag = reg.Data.Nametag, Emotes = reg.Data.Emotes, CarryItem = reg.Data.CarryItem, ToolSkins = reg.Data.ToolSkins, } serverVal[reg] = sv end for _, term in ipairs(OVERRIDE_TERMS) do local want = desired(term, sv[term]) if not (sv[term] == nil and want == nil) and not sameValue(want, reg.Data[term]) then origSetTerm(reg, term, want) end end end end end task.spawn(function() while running do pcall(refreshLocal) task.wait(0.5) end end) local api = {} function api.set(v) v = v and true or false if v == enabled then return end enabled = v if v then load_state() else table.clear(slotOverlay) table.clear(skinOverlay) if fakeEmote then fakeEmote = nil pcall(setLocalEmote, 0) end end pcall(fireAll) end function api.stop() api.set(false) running = false if getgenv().UnlockAllInstance == instance then getgenv().UnlockAllInstance = nil end end function api.debug() return { enabled = enabled, blocked = blocked, slots = slotOverlay, skins = skinOverlay, cosmetics = #allCosmetics, deploy_swaps = deploySwaps, } end return api end local ua = nil local function ua_set(v) if v then if not ua then local ok, res = pcall(build_unlock_all) if not ok or not res then notify("unlock all failed to load, the game may have updated", 6) return end ua = res end ua.set(true) elseif ua then ua.set(false) end end local window = library:CreateWindow({ Title = "xyzevade", Footer = "made with love", Center = true, AutoShow = true, NotifyOnError = true, }) local tabs = { farm = window:AddTab("farm", "wheat"), evasion = window:AddTab("evasion", "ghost"), esp = window:AddTab("esp", "eye"), visuals = window:AddTab("visuals", "sun"), weather = window:AddTab("weather", "cloud-lightning"), movement = window:AddTab("movement", "footprints"), misc = window:AddTab("misc", "sparkles"), settings = window:AddTab("settings", "settings"), } local g_farm = tabs.farm:AddLeftGroupbox("autofarm", "wheat") ui_toggle(g_farm, "collect", "auto collect", false, "shows the server your position at each pickup, your own character does not move") ui_toggle(g_farm, "collect_wisps", "wisps (candy)", true) ui_toggle(g_farm, "collect_drops", "drops (tokens, xp, points)", false, "untested, so it is off by default") ui_slider(g_farm, "collect_dwell", "hold time per pickup", 0.4, 0.1, 1.5, 2, "s") g_farm:AddDivider() ui_toggle(g_farm, "revive", "auto revive", false, "shows the server you next to the nearest downed player while it holds revive") ui_slider(g_farm, "revive_dist", "max revive distance (0 = any)", 600, 0, 2000, 0, " studs") g_farm:AddDivider() ui_slider(g_farm, "safe_radius", "skip targets near nextbots", 45, 0, 200, 0, " studs") ui_drop(g_farm, "farm_method", "movement method", { "desync", "teleport" }, 1, "desync only moves what the server sees, teleport is the old way that moves your real character") local g_win = tabs.farm:AddRightGroupbox("autowin", "trophy") ui_toggle(g_win, "autowin", "autowin", false, "immortality, auto collect and auto revive all at once") g_win:AddLabel("stays safe from nextbots the whole round while it collects wisps and revives teammates", true) g_win:AddDivider() local status_label = g_win:AddLabel("...", true) local g_imm = tabs.evasion:AddLeftGroupbox("nextbot immortality", "ghost") ui_toggle(g_imm, "immortal", "nextbot immortality", false, "the server sees you somewhere else while you keep playing normally on your screen") ui_drop(g_imm, "immortal_trigger", "when", { "when nextbot near", "always" }, 1, "when nextbot near only engages while a bot is close") ui_drop(g_imm, "immortal_method", "method", { "park", "near player", "spam" }, 1, "park shows the server a spot above you, near player puts it next to someone else, spam jumps it around the map") ui_slider(g_imm, "immortal_radius", "trigger distance", 200, 50, 600, 0, " studs") g_imm:AddDivider() g_imm:AddLabel("nothing moves your character, only the server copy of you moves. it turns off by itself if you get downed", true) local g_spam = tabs.evasion:AddRightGroupbox("spam method", "shuffle") ui_slider(g_spam, "spam_range", "range x / z", 6000, 500, 20000, 0, " studs") ui_slider(g_spam, "spam_height", "range y", 2500, 200, 10000, 0, " studs") ui_slider(g_spam, "spam_interval", "interval (0 = every frame)", 0, 0, 250, 0, "ms") local g_park = tabs.evasion:AddRightGroupbox("park / near player", "map-pin") ui_slider(g_park, "park_height", "park height above you", 350, 20, math.max(200, math.floor(ws.StreamingTargetRadius - 150)), 0, " studs") g_park:AddDivider() g_park:AddLabel("near player offsets") ui_slider(g_park, "near_x", "offset x", 2, -50, 50, 1) ui_slider(g_park, "near_y", "offset y", 0, -50, 50, 1) ui_slider(g_park, "near_z", "offset z", 0, -50, 50, 1) local g_targets = tabs.esp:AddLeftGroupbox("targets", "crosshair") ui_color(ui_toggle(g_targets, "esp_nextbots", "nextbots", false), "esp_nextbot_color", Color3.fromRGB(255, 60, 60), "nextbots") ui_color(ui_toggle(g_targets, "esp_players", "players", false), "esp_player_color", Color3.fromRGB(90, 170, 255), "players") ui_color(ui_toggle(g_targets, "esp_downed", "downed players", false), "esp_downed_color", Color3.fromRGB(255, 170, 40), "downed players") ui_color(ui_toggle(g_targets, "esp_wisps", "wisps (candy)", false), "esp_wisp_color", Color3.fromRGB(190, 120, 255), "wisps") ui_color(ui_toggle(g_targets, "esp_drops", "drops (tokens, xp, points)", false), "esp_drop_color", Color3.fromRGB(255, 230, 80), "drops") local g_style = tabs.esp:AddRightGroupbox("style", "palette") ui_toggle(g_style, "esp_chams", "chams", true) ui_toggle(g_style, "esp_names", "names", true) ui_toggle(g_style, "esp_distance", "distance", true) ui_toggle(g_style, "esp_tracers", "tracers", false, "needs drawing api support from your executor") ui_slider(g_style, "esp_dist", "max distance", 2000, 100, 5000, 0, " studs") local g_light = tabs.visuals:AddLeftGroupbox("lighting", "sun") ui_toggle(g_light, "l_time", "clock time", false) ui_slider(g_light, "l_time_v", "time", 12, 0, 24, 2) ui_toggle(g_light, "l_bright", "brightness", false) ui_slider(g_light, "l_bright_v", "brightness", 2, 0, 10, 2) ui_toggle(g_light, "l_expo", "exposure", false) ui_slider(g_light, "l_expo_v", "exposure", 0, -5, 5, 2) ui_toggle(g_light, "l_lat", "geographic latitude", false) ui_slider(g_light, "l_lat_v", "latitude", 41.7, -90, 90, 1) local t_amb = ui_toggle(g_light, "l_amb", "ambient colors", false) ui_color(t_amb, "l_amb_in", Color3.fromRGB(59, 203, 255), "indoor ambient") ui_color(t_amb, "l_amb_out", Color3.fromRGB(1, 102, 139), "outdoor ambient") local t_shift = ui_toggle(g_light, "l_shift", "color shift", false) ui_color(t_shift, "l_shift_top", Color3.fromRGB(100, 160, 255), "shift top") ui_color(t_shift, "l_shift_bot", Color3.fromRGB(20, 40, 90), "shift bottom") ui_toggle(g_light, "l_diffuse", "environment diffuse scale", false) ui_slider(g_light, "l_diffuse_v", "diffuse scale", 0, 0, 1, 2) ui_toggle(g_light, "l_spec", "environment specular scale", false) ui_slider(g_light, "l_spec_v", "specular scale", 0, 0, 1, 2) ui_toggle(g_light, "l_noshadows", "disable global shadows", false) ui_toggle(g_light, "l_soft", "shadow softness", false) ui_slider(g_light, "l_soft_v", "softness", 0.5, 0, 1, 2) ui_toggle(g_light, "l_style", "lighting style", false) ui_drop(g_light, "l_style_v", "style", { "realistic", "soft" }, 1) local g_fog = tabs.visuals:AddRightGroupbox("fog and atmosphere", "cloud-fog") ui_color(ui_toggle(g_fog, "f_on", "fog", false), "f_color", Color3.fromRGB(192, 192, 192), "fog color") ui_slider(g_fog, "f_start", "fog start", 0, 0, 10000, 0) ui_slider(g_fog, "f_end", "fog end", 1000, 0, 10000, 0) g_fog:AddDivider() local t_atmo = ui_toggle(g_fog, "a_on", "atmosphere", false) ui_color(t_atmo, "a_color", Color3.fromRGB(200, 170, 108), "atmosphere color") ui_color(t_atmo, "a_decay", Color3.fromRGB(92, 60, 14), "atmosphere decay") ui_slider(g_fog, "a_density", "density", 0.395, 0, 1, 2) ui_slider(g_fog, "a_offset", "offset", 0, 0, 1, 2) ui_slider(g_fog, "a_glare", "glare", 0, 0, 1, 2) ui_slider(g_fog, "a_haze", "haze", 0, 0, 1, 2) local g_post = tabs.visuals:AddRightGroupbox("post processing", "sparkles") ui_toggle(g_post, "bl_on", "bloom", false) ui_slider(g_post, "bl_int", "intensity", 0.4, 0, 3, 2) ui_slider(g_post, "bl_size", "size", 24, 0, 56, 0) ui_slider(g_post, "bl_thr", "threshold", 0.95, 0, 4, 2) g_post:AddDivider() ui_color(ui_toggle(g_post, "cc_on", "color correction", false), "cc_tint", Color3.fromRGB(255, 255, 255), "tint") ui_slider(g_post, "cc_sat", "saturation", 0, -1, 1, 2) ui_slider(g_post, "cc_bri", "brightness", 0, -1, 1, 2) ui_slider(g_post, "cc_con", "contrast", 0, -1, 1, 2) g_post:AddDivider() ui_toggle(g_post, "dof_on", "depth of field", false) ui_slider(g_post, "dof_far", "far intensity", 0.75, 0, 1, 2) ui_slider(g_post, "dof_focus", "focus distance", 50, 0, 500, 0) ui_slider(g_post, "dof_radius", "in focus radius", 10, 0, 500, 0) ui_slider(g_post, "dof_near", "near intensity", 0.75, 0, 1, 2) g_post:AddDivider() ui_toggle(g_post, "sr_on", "sun rays", false) ui_slider(g_post, "sr_int", "intensity", 0.25, 0, 1, 2) ui_slider(g_post, "sr_spread", "spread", 1, 0, 1, 2) g_post:AddDivider() ui_toggle(g_post, "tm_retro", "retro tonemapper", false) local g_sky = tabs.visuals:AddLeftGroupbox("skybox", "moon") ui_toggle(g_sky, "sky_on", "custom skybox", false) ui_drop(g_sky, "sky_preset", "preset", sky_names, 1, "pick a skybox preset, turn on custom skybox to apply it") local g_weather = tabs.weather:AddLeftGroupbox("weather", "cloud-snow") ui_toggle(g_weather, "w_on", "weather", false) ui_drop(g_weather, "w_preset", "preset", V.weather_names, 1) ui_slider(g_weather, "w_rate", "amount", 1, 0.1, 4, 2) ui_slider(g_weather, "w_speed", "speed", 1, 0.2, 3, 2) ui_slider(g_weather, "w_size", "particle size", 1, 0.3, 4, 2) ui_slider(g_weather, "w_height", "height", 45, 10, 150, 0) ui_slider(g_weather, "w_spread", "area", 60, 15, 200, 0) ui_slider(g_weather, "w_glow", "glow", 0.4, 0, 1, 2) ui_slider(g_weather, "w_wind", "wind", 0, 0, 40, 1) ui_slider(g_weather, "w_wind_angle", "wind angle", 0, 0, 360, 0) ui_color(ui_toggle(g_weather, "w_color_on", "custom color", false), "w_color", Color3.fromRGB(255, 255, 255), "weather color") local g_lightning = tabs.weather:AddRightGroupbox("lightning", "zap") ui_color(ui_toggle(g_lightning, "lg_on", "lightning", false), "lg_color", Color3.fromRGB(214, 230, 255), "bolt color") ui_slider(g_lightning, "lg_interval", "interval", 4, 0.5, 30, 1, "s") ui_slider(g_lightning, "lg_dist", "distance", 120, 30, 400, 0, " studs") ui_slider(g_lightning, "lg_height", "height", 220, 60, 500, 0, " studs") ui_slider(g_lightning, "lg_thick", "thickness", 4, 1, 12, 1) ui_slider(g_lightning, "lg_jag", "jaggedness", 7, 1, 20, 1) ui_slider(g_lightning, "lg_flash", "flash", 8, 0, 20, 1) cfg.lg_sound = "" g_lightning:AddInput("lg_sound", { Text = "thunder sound id", Default = "", Numeric = true, Finished = true, Placeholder = "optional asset id", Callback = function(v) cfg.lg_sound = v end, }) g_lightning:AddButton({ Text = "strike now", Func = function() pcall(V.strike) end, }) M.mv = { parts = {}, movers = {}, gravity = nil } M.ds = {} M.gm = {} M.nc = {} function M.mv_restore_collision() for part in pairs(M.mv.parts) do pcall(function() part.CanCollide = true end) end M.mv.parts = {} end function M.mv_restore_fly() local mv = M.mv for mover in pairs(mv.movers) do pcall(function() mover.Enabled = true end) end mv.movers = {} if mv.gravity ~= nil then pcall(function() ws.Gravity = mv.gravity end) mv.gravity = nil end end function M.ds_active() return D.farm_cf ~= nil or D.on or cfg.ds_on end -- PreSimulation: your real position is in place here function M.ds_apply() local ds = M.ds local root = get_root() if D.on and root then D.pos = root.Position end local now = os.clock() if M.ds_active() then ds.last_active = now if ds.orig == nil then local ok, cur = pcall(getfflag, "S2PhysicsSenderRate") ds.orig = (ok and cur ~= nil and cur ~= "") and tostring(cur) or "15" local ok2 = pcall(setfflag, "S2PhysicsSenderRate", "120") if not ok2 and not ds.warned then ds.warned = true notify("desync could not raise the send rate, your executor may not have setfflag", 6) end end if root and now - (ds.stream_at or 0) > 0.25 then ds.stream_at = now local pos = root.Position task.spawn(function() pcall(function() lp:RequestStreamAroundAsync(pos, 0.6) end) end) end elseif ds.orig ~= nil and now - (ds.last_active or 0) > 2 then pcall(setfflag, "S2PhysicsSenderRate", ds.orig) ds.orig, ds.anchor, ds.mode = nil, nil, nil end end function M.ds_ghost_set(cf) local ds = M.ds if cf and cfg.ds_ghost then if not ds.ghost or not ds.ghost.Parent then local p = Instance.new("Part") p.Name = "xyz_ghost" p.Anchored = true p.CanCollide = false p.CanQuery = false p.CanTouch = false p.CastShadow = false p.Size = Vector3.new(2, 4, 2) p.Material = Enum.Material.ForceField p.Color = Color3.fromRGB(255, 80, 80) p.Transparency = 0.2 p.Parent = ws.CurrentCamera ds.ghost = p end ds.ghost.CFrame = cf elseif ds.ghost then pcall(function() ds.ghost:Destroy() end) ds.ghost = nil end end -- picks where the server should see you, the farm wins over evasion, evasion over the manual desync function M.ds_pick(real) local ds = M.ds if D.farm_cf then return D.farm_cf end if D.on then return D.method_cf() end if cfg.ds_on then if ds.mode ~= cfg.ds_mode then ds.mode = cfg.ds_mode ds.anchor = nil end if cfg.ds_mode == "freeze" then ds.anchor = ds.anchor or real return ds.anchor end return real + Vector3.new(cfg.ds_x, cfg.ds_y, cfg.ds_z) end return nil end -- heartbeat, after physics: puts the root where the server should see it function M.ds_heartbeat() local ds = M.ds if ds.old ~= nil then return end local character = lp.Character local root = get_root() local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not root or not humanoid or humanoid.Health <= 0 then M.ds_ghost_set(nil) return end local real = root.CFrame local fake = M.ds_pick(real) if not fake then M.ds_ghost_set(nil) return end ds.old = real root.CFrame = fake M.ds_ghost_set(fake) end -- first thing on render, before the camera and the game's movement: puts the root back function M.ds_render() local ds = M.ds if ds.old == nil then return end local root = get_root() if root then root.CFrame = ds.old end ds.old = nil end function M.ws_apply() local mv = M.mv if not mv.cs then local ok, mod = pcall(function() return require(rs.Services.Asset.CharacterService) end) if not ok then return end mv.cs = mod end local ok, lc = pcall(function() return mv.cs:GetLocalCharacter() end) local ms = ok and lc and lc.Movement and lc.Movement.MoveStats if not ms or not ms.MoveStats then return end if cfg.ws_on then local base = ms.MoveStats.BaseSpeed or 1500 ms:SpeedChange("xyz_walkspeed", cfg.ws_v / (base / 90)) mv.ws_ms = ms elseif mv.ws_ms then pcall(mv.ws_ms.SpeedChange, mv.ws_ms, "xyz_walkspeed", nil) pcall(ms.SpeedChange, ms, "xyz_walkspeed", nil) mv.ws_ms = nil end end function M.gm_install() local gm = M.gm if gm.installed or gm.failed then return gm.installed end local ok = pcall(function() gm.mod = require(rs.Objects.Game.Character.Client.Movement.MoveFunction) end) if not ok or type(gm.mod) ~= "table" or type(gm.mod.Move) ~= "function" then gm.failed = true notify("velocity gain could not load, the game may have updated", 6) return false end local orig = gm.mod.Move gm.orig = orig gm.mod.Move = function(self, dt, state, stats) local movers, terms = orig(self, dt, state, stats) if not cfg.gm_on or type(movers) ~= "table" or type(terms) ~= "table" then return movers, terms end pcall(function() if self.Character ~= lp.Character then return end local base = movers.BaseMover local new = terms.Velocity local old = self.DataRegistry:Get("Velocity") if not base or typeof(new) ~= "Vector3" or typeof(old) ~= "Vector3" then return end local old_h = Vector3.new(old.X, 0, old.Z).Magnitude local new_h = Vector3.new(new.X, 0, new.Z).Magnitude if new_h <= old_h or new_h < 0.01 then return end local mag = math.min(old_h + (new_h - old_h) * cfg.gm_mult, math.max(cfg.gm_cap * 90, new_h)) local k = mag / new_h local v = Vector3.new(new.X * k, new.Y, new.Z * k) terms.Velocity = v base.PlaneVelocity = Vector2.new(v.X, v.Z) end) return movers, terms end gm.installed = true return true end function M.nc_install() local nc = M.nc if nc.installed or nc.failed then return end local ok = pcall(function() nc.helpers = require(rs.Objects.Game.Character.Client.Movement.MoveFunction.Functions.Helpers) end) if not ok or type(nc.helpers) ~= "table" or type(nc.helpers.WallImpact) ~= "function" then nc.failed = true notify("noclip could not hook the game's wall check, the game may have updated", 6) return end local orig = nc.helpers.WallImpact nc.orig = orig nc.helpers.WallImpact = function(self, dt, mvt, reg, char, stats, vel) if cfg.nc_on and char == lp.Character and typeof(vel) == "Vector3" then return vel end return orig(self, dt, mvt, reg, char, stats, vel) end nc.installed = true end function M.mv_step() M.ds_apply() if cfg.nc_on and not M.nc.installed then M.nc_install() end if cfg.gm_on and not M.gm.installed then M.gm_install() end M.ws_apply() local character = lp.Character local hrp = character and character:FindFirstChild("HumanoidRootPart") local humanoid = character and character:FindFirstChildOfClass("Humanoid") local mv = M.mv if not hrp or not humanoid or humanoid.Health <= 0 then return end if cfg.nc_on then for _, p in ipairs(character:GetDescendants()) do if p:IsA("BasePart") and p.CanCollide then mv.parts[p] = true p.CanCollide = false end end elseif next(mv.parts) then M.mv_restore_collision() end if cfg.fly_on then if mv.gravity == nil then mv.gravity = ws.Gravity end ws.Gravity = 0 for _, v in ipairs(hrp:GetChildren()) do if v:IsA("LinearVelocity") and v.Enabled then mv.movers[v] = true v.Enabled = false end end local cam = ws.CurrentCamera local dir = Vector3.zero if not uis:GetFocusedTextBox() then if uis:IsKeyDown(Enum.KeyCode.W) then dir += cam.CFrame.LookVector end if uis:IsKeyDown(Enum.KeyCode.S) then dir -= cam.CFrame.LookVector end if uis:IsKeyDown(Enum.KeyCode.D) then dir += cam.CFrame.RightVector end if uis:IsKeyDown(Enum.KeyCode.A) then dir -= cam.CFrame.RightVector end if uis:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.yAxis end if uis:IsKeyDown(Enum.KeyCode.LeftControl) or uis:IsKeyDown(Enum.KeyCode.LeftShift) then dir -= Vector3.yAxis end end hrp.AssemblyLinearVelocity = dir.Magnitude > 0.01 and dir.Unit * cfg.fly_speed or Vector3.zero elseif mv.gravity ~= nil or next(mv.movers) then M.mv_restore_fly() end end function M.mv_cleanup() M.mv_restore_collision() M.mv_restore_fly() cfg.ds_on, cfg.ws_on = false, false D.farm_cf = nil M.ds_render() M.ds_ghost_set(nil) M.ds.last_active = -math.huge M.ds_apply() M.ws_apply() pcall(function() run_service:UnbindFromRenderStep("xyz_desync") end) local nc = M.nc if nc.installed and nc.helpers then pcall(function() nc.helpers.WallImpact = nc.orig end) nc.installed = false end local gm = M.gm if gm.installed and gm.mod and gm.mod.Move ~= gm.orig then pcall(function() gm.mod.Move = gm.orig end) gm.installed = false end end local g_aj = tabs.movement:AddLeftGroupbox("auto jump", "chevrons-up") local t_aj = ui_toggle(g_aj, "aj_on", "auto jump", false, "hold space and it jumps and gains speed for you", function(v) if v then M.aj_start() else M.aj_stop() end end) t_aj:AddKeyPicker("aj_key", { Default = "RightControl", SyncToggleState = true, Mode = "Toggle", Text = "auto jump", NoUI = false, }) ui_toggle(g_aj, "aj_humanly", "humanly delay", true) ui_slider(g_aj, "aj_delay_min", "delay min", 10, 0, 100, 0, "ms") ui_slider(g_aj, "aj_delay_max", "delay max", 35, 0, 100, 0, "ms") ui_slider(g_aj, "aj_cap_min", "speed cap min", 55.5, 30, 90, 1) ui_slider(g_aj, "aj_cap_max", "speed cap max", 60.6, 30, 90, 1) local g_fe = tabs.movement:AddRightGroupbox("fps equalizer", "gauge") ui_toggle(g_fe, "fe_on", "fps equalizer", false, "runs the strafe step in smaller substeps so low fps gets high fps gains", function(v) if v then if not M.fe_install() then notify("fps equalizer could not load", 5) task.defer(function() if toggles.fe_on then toggles.fe_on:SetValue(false) end end) end else M.fe_remove() end end) ui_slider(g_fe, "fe_target", "target fps", 240, 60, 360, 0) do local g_fly = tabs.movement:AddLeftGroupbox("fly and noclip", "plane") local t_fly = ui_toggle(g_fly, "fly_on", "fly", false, "wasd moves where you look, space goes up, shift or ctrl goes down") t_fly:AddKeyPicker("fly_key", { Default = "None", SyncToggleState = true, Mode = "Toggle", Text = "fly", NoUI = false }) ui_slider(g_fly, "fly_speed", "fly speed", 60, 10, 300, 0) local t_nc = ui_toggle(g_fly, "nc_on", "noclip", false, "walk through walls, it also turns off the game's own wall pushback") t_nc:AddKeyPicker("nc_key", { Default = "None", SyncToggleState = true, Mode = "Toggle", Text = "noclip", NoUI = false }) local g_spd = tabs.movement:AddRightGroupbox("speed and jump", "zap") ui_toggle(g_spd, "ws_on", "walk speed", false, "sets your base speed using the game's own speed system, perks and slows still stack on top") ui_slider(g_spd, "ws_v", "walk speed", 17, 10, 100, 0) ui_toggle(g_spd, "gm_on", "velocity gain", false, "multiplies how fast you gain speed while moving or strafing, never slows you down") ui_slider(g_spd, "gm_mult", "gain multiplier", 2, 1, 6, 1) ui_slider(g_spd, "gm_cap", "gain speed cap", 100, 20, 300, 0) ui_toggle(g_spd, "ij_on", "infinite jump", false, "jump again in mid air") local g_world = tabs.movement:AddRightGroupbox("world", "map") ui_toggle(g_world, "walls_on", "remove invisible walls", false, "turns off every invisible wall and ceiling, tall or flat, flat ones below your feet stay so you do not fall out", function(v) V.walls_set(v) end) g_world:AddButton({ Text = "scan again now", Func = function() if cfg.walls_on then V.walls_scan() end end, }) local g_ds = tabs.movement:AddLeftGroupbox("desync", "unlink") local t_ds = ui_toggle(g_ds, "ds_on", "desync", false, "the server sees your character somewhere else while you move normally on your screen") t_ds:AddKeyPicker("ds_key", { Default = "None", SyncToggleState = true, Mode = "Toggle", Text = "desync", NoUI = false }) ui_drop(g_ds, "ds_mode", "mode", { "offset", "freeze" }, 1, "offset keeps the server copy at a fixed distance from you, freeze leaves it where you turned this on") ui_slider(g_ds, "ds_x", "offset x", 0, -80, 80, 0, " studs") ui_slider(g_ds, "ds_y", "offset y", 40, -20, 80, 0, " studs") ui_slider(g_ds, "ds_z", "offset z", 0, -80, 80, 0, " studs") ui_toggle(g_ds, "ds_ghost", "show server position", false, "a red box where the server thinks you are, works for farm and evasion too") g_ds:AddButton({ Text = "set freeze point here", Func = function() M.ds.anchor = nil end, }) end local g_unlock = tabs.visuals:AddRightGroupbox("unlock all", "unlock") ui_toggle(g_unlock, "unlock_all", "unlock all cosmetics", true, "client side unlock of cosmetics, emotes, skins and nametags", ua_set) g_unlock:AddLabel("equip things from your normal inventory menu and they stay saved", true) do local g_qol = tabs.misc:AddLeftGroupbox("quality of life", "sparkles") ui_toggle(g_qol, "afk_on", "anti afk", true, "stops the game kicking you for sitting idle") local vu = game:GetService("VirtualUser") track(lp.Idled:Connect(function() if cfg.afk_on then pcall(function() vu:CaptureController() vu:ClickButton2(Vector2.new()) end) end end)) local zoom_orig = lp.CameraMaxZoomDistance ui_toggle(g_qol, "fov_on", "custom fov", false) ui_slider(g_qol, "fov_v", "fov", 90, 40, 120, 0) ui_toggle(g_qol, "zoom_on", "far zoom", false, "lets you pull the camera out much further", function(v) if not v then pcall(function() lp.CameraMaxZoomDistance = zoom_orig end) end end) ui_slider(g_qol, "zoom_v", "max zoom", 200, 20, 1000, 0, " studs") pcall(function() run_service:UnbindFromRenderStep("xyz_camera") end) run_service:BindToRenderStep("xyz_camera", Enum.RenderPriority.Camera.Value + 1, function() local cam = ws.CurrentCamera if cfg.fov_on and cam then cam.FieldOfView = cfg.fov_v end if cfg.zoom_on then lp.CameraMaxZoomDistance = cfg.zoom_v end end) local fps_orig = 60 if typeof(getfpscap) == "function" then local ok, v = pcall(getfpscap) if ok and type(v) == "number" and v > 0 then fps_orig = v end end local function apply_fps() if typeof(setfpscap) == "function" then pcall(setfpscap, cfg.fps_on and cfg.fps_v or fps_orig) end end ui_toggle(g_qol, "fps_on", "fps cap", false, "needs setfpscap from your executor", apply_fps) ui_slider(g_qol, "fps_v", "cap", 144, 30, 360, 0, nil, apply_fps) local g_alert = tabs.misc:AddRightGroupbox("nextbot alert", "siren") ui_toggle(g_alert, "alert_on", "alert", false, "pops up a message when a nextbot gets close") ui_slider(g_alert, "alert_dist", "alert distance", 120, 30, 400, 0, " studs") task.spawn(function() local last = {} while alive do task.wait(0.3) if cfg.alert_on then pcall(function() local root = get_root() if not root then return end for _, m in ipairs(nextbot_models()) do local part = m.PrimaryPart or m:FindFirstChild("HumanoidRootPart") if part then local d = (part.Position - root.Position).Magnitude if d <= cfg.alert_dist and os.clock() - (last[m.Name] or 0) > 4 then last[m.Name] = os.clock() notify(m.Name .. " is " .. math.floor(d) .. " studs away", 2) end end end end) end end end) local g_srv = tabs.misc:AddRightGroupbox("server", "server") g_srv:AddButton({ Text = "rejoin this server", Func = function() pcall(function() game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, lp) end) end, }) g_srv:AddButton({ Text = "join a new server", Func = function() pcall(function() game:GetService("TeleportService"):Teleport(game.PlaceId, lp) end) end, }) M.misc_cleanup = function() pcall(function() run_service:UnbindFromRenderStep("xyz_camera") end) pcall(function() lp.CameraMaxZoomDistance = zoom_orig end) if typeof(setfpscap) == "function" then pcall(setfpscap, fps_orig) end end end local g_menu = tabs.settings:AddLeftGroupbox("menu", "settings") g_menu:AddButton({ Text = "unload", Func = function() library:Unload() end, }) g_menu:AddLabel("menu keybind"):AddKeyPicker("menu_keybind", { Default = "RightShift", NoUI = true, Text = "menu keybind", }) library.ToggleKeybind = options.menu_keybind theme_manager:SetLibrary(library) save_manager:SetLibrary(library) save_manager:IgnoreThemeSettings() save_manager:SetIgnoreIndexes({ "menu_keybind" }) theme_manager:SetFolder("xyzevade") save_manager:SetFolder("xyzevade/evade") save_manager:BuildConfigSection(tabs.settings) theme_manager:ApplyToTab(tabs.settings) save_manager:LoadAutoloadConfig() if cfg.unlock_all then task.spawn(ua_set, true) end E.init() track(run_service.RenderStepped:Connect(function() pcall(V.step) pcall(E.render_lines) end)) track(run_service.PreSimulation:Connect(function() pcall(M.mv_step) end)) track(run_service.Heartbeat:Connect(function() pcall(M.ds_heartbeat) end)) pcall(function() run_service:UnbindFromRenderStep("xyz_desync") end) run_service:BindToRenderStep("xyz_desync", Enum.RenderPriority.First.Value, function() pcall(M.ds_render) end) track(uis.JumpRequest:Connect(function() if cfg.ij_on and not cfg.fly_on then local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h and h.Health > 0 then h:ChangeState(Enum.HumanoidStateType.Jumping) end end end)) track(lp:GetPropertyChangedSignal("Character"):Connect(function() if D.on then D.disengage(true) end end)) task.spawn(F.worker) task.spawn(V.lightning_loop) task.spawn(function() while alive do pcall(D.controller, 0.15) task.wait(0.15) end end) task.spawn(function() while alive do pcall(E.refresh) task.wait(0.15) end end) task.spawn(function() while alive do local ok, text = pcall(function() local wisps, drops = F.count() local downed = #F.list_downed() local imm = "off" if D.on then imm = "on (" .. cfg.immortal_method .. ")" end return string.format("wisps: %d | drops: %d | downed: %d\nimmortality: %s", wisps, drops, downed, imm) end) if ok then pcall(function() status_label:SetText(text) end) end task.wait(0.4) end end) library:OnUnload(function() alive = false cfg.autowin = false cfg.collect = false cfg.revive = false cfg.immortal = false D.disengage() M.aj_stop() M.fe_remove() M.mv_cleanup() if M.misc_cleanup then M.misc_cleanup() end if ua then ua.stop() end E.clear_all() if E.folder then E.folder:Destroy() end V.cleanup() for _, c in ipairs(conns) do pcall(function() c:Disconnect() end) end getgenv().xyzevade_unload = nil end) getgenv().xyzevade_unload = function() library:Unload() end if not char_svc or not col_svc or not interact_remote then notify("some game modules were not found, the game may have updated", 8) end