local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local Lighting = game:GetService("Lighting") local LocalPlayer = Players.LocalPlayer local ALLOWED_PLACE_ID = 105527962898452 if game.PlaceId ~= ALLOWED_PLACE_ID then LocalPlayer:Kick("This script only works on Realistic Home Defense!") return end local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local Camera = workspace.CurrentCamera local isMobile = UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled local C = { Background = Color3.fromRGB(15, 16, 19), Panel = Color3.fromRGB(21, 22, 26), Surface = Color3.fromRGB(27, 28, 33), Hover = Color3.fromRGB(37, 38, 45), Border = Color3.fromRGB(49, 50, 58), Purple = Color3.fromRGB(157, 139, 196), Pink = Color3.fromRGB(181, 133, 166), White = Color3.fromRGB(226, 227, 232), Muted = Color3.fromRGB(137, 140, 150), Green = Color3.fromRGB(139, 190, 155), Red = Color3.fromRGB(204, 119, 128) } local Settings = { ESPEnabled = true, ESPStyle = "Highlight", ShowNames = true, ShowDistance = true, ShowHealth = true, ShowBoxes = true, ShowHealthBar = true, ESPOpacity = 75, ESPTextSize = 12, TeamFilter = false, TeamColors = true, EnemyColor = Color3.fromRGB(255, 75, 75), TeamColor = Color3.fromRGB(75, 150, 255), NightBrightness = false, AimbotEnabled = true, AimPart = "Head", FOVRadius = 75, MaxDistance = 500, Smoothness = 0.85, ShowFOV = true, SilentEnabled = false, SilentPart = "Head", SilentFOV = 120, SilentMaxDistance = 500, SilentHitChance = 100, SilentWallCheck = true, SilentPrediction = false, SilentPredictionAmount = 0.13, MenuKey = Enum.KeyCode.M } local running = true local aiming = false local menuVisible = false local connections = {} local playerObjects = {} local activeTab = "Aimbot" local selectedPlayer = nil local fpsValue = 0 local frameAccumulator = 0 local frameCount = 0 local pingValue = 0 local metricsLabel local setNightBrightness local dragging = false local dragStart local startPosition local previousMouseBehavior = UserInputService.MouseBehavior local previousMouseIcon = UserInputService.MouseIconEnabled local function connect(signal, callback) local connection = signal:Connect(callback) table.insert(connections, connection) return connection end local function destroy(object) if object then pcall(function() object:Destroy() end) end end local function round(object, radius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius or 5) corner.Parent = object return corner end local function addStroke(object, color, thickness) local s = Instance.new("UIStroke") s.Color = color or C.Border s.Thickness = thickness or 1 s.Parent = object return s end local function makeLabel(parent, text, size, position, color, font, textSize) local object = Instance.new("TextLabel") object.BackgroundTransparency = 1 object.Text = text object.Size = size object.Position = position object.TextColor3 = color or C.White object.Font = font or Enum.Font.Gotham object.TextSize = textSize or 11 object.TextXAlignment = Enum.TextXAlignment.Left object.TextYAlignment = Enum.TextYAlignment.Center object.Parent = parent return object end local function makeWrappedLabel(parent, text, size, position, color, font, textSize) local object = makeLabel(parent, text, size, position, color, font, textSize) object.TextWrapped = true object.TextYAlignment = Enum.TextYAlignment.Top object.TextTruncate = Enum.TextTruncate.None return object end local function isTeammate(player) return LocalPlayer.Team ~= nil and player.Team ~= nil and player.Team == LocalPlayer.Team end local function getPlayerColor(player) if Settings.TeamColors and isTeammate(player) then return Settings.TeamColor end return Settings.EnemyColor end local function getCharacter(player) local character = player.Character if not character then return nil end local humanoid = character:FindFirstChildOfClass("Humanoid") local root = character:FindFirstChild("HumanoidRootPart") if not humanoid or not root or humanoid.Health <= 0 then return nil end return character, humanoid, root end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "XemosScript" ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.DisplayOrder = 50 ScreenGui.Parent = PlayerGui local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = isMobile and UDim2.new(0.94, 0, 0.86, 0) or UDim2.fromOffset(740, 500) Main.Position = isMobile and UDim2.new(0.03, 0, 0.07, 0) or UDim2.new(0.5, -370, 0.5, -250) Main.BackgroundColor3 = Color3.fromRGB(20, 21, 25) Main.BorderSizePixel = 0 Main.Parent = ScreenGui Main.Visible = false round(Main, 3) addStroke(Main, Color3.fromRGB(57, 59, 67), 1) local MainScale = Instance.new("UIScale") MainScale.Scale = 0.96 MainScale.Parent = Main local MainTargetPosition = Main.Position local menuTween local ReopenButton = Instance.new("TextButton") ReopenButton.Name = "XemoReopen" ReopenButton.Size = UDim2.fromOffset(isMobile and 54 or 48, isMobile and 54 or 48) ReopenButton.Position = UDim2.new(1, isMobile and -68 or -64, 0.5, -27) ReopenButton.BackgroundColor3 = C.Panel ReopenButton.BackgroundTransparency = 0.02 ReopenButton.Text = "" ReopenButton.AutoButtonColor = false ReopenButton.Visible = false ReopenButton.ZIndex = 100 ReopenButton.Parent = ScreenGui round(ReopenButton, 24) local ReopenStroke = addStroke(ReopenButton, C.Purple, 2) local MoonDisc = Instance.new("Frame") MoonDisc.Name = "MoonDisc" MoonDisc.Size = UDim2.fromOffset(18, 18) MoonDisc.Position = UDim2.fromOffset(15, 15) MoonDisc.BackgroundColor3 = C.Purple MoonDisc.BorderSizePixel = 0 MoonDisc.ZIndex = 101 MoonDisc.Parent = ReopenButton round(MoonDisc, 9) local MoonCutout = Instance.new("Frame") MoonCutout.Name = "MoonCutout" MoonCutout.Size = UDim2.fromOffset(16, 16) MoonCutout.Position = UDim2.fromOffset(22, 11) MoonCutout.BackgroundColor3 = C.Panel MoonCutout.BorderSizePixel = 0 MoonCutout.ZIndex = 102 MoonCutout.Parent = ReopenButton round(MoonCutout, 8) local MoonSpark = Instance.new("Frame") MoonSpark.Name = "MoonSpark" MoonSpark.Size = UDim2.fromOffset(4, 4) MoonSpark.Position = UDim2.fromOffset(31, 12) MoonSpark.BackgroundColor3 = C.Purple MoonSpark.BorderSizePixel = 0 MoonSpark.ZIndex = 103 MoonSpark.Parent = ReopenButton round(MoonSpark, 2) local Top = Instance.new("Frame") Top.Size = UDim2.new(1, 0, 0, 40) Top.BackgroundColor3 = Color3.fromRGB(20, 21, 25) Top.BorderSizePixel = 0 Top.Parent = Main round(Top, 3) local TopLine = Instance.new("Frame") TopLine.Size = UDim2.new(1, -2, 0, 1) TopLine.Position = UDim2.new(0, 1, 1, -1) TopLine.BackgroundColor3 = Color3.fromRGB(67, 69, 78) TopLine.BorderSizePixel = 0 TopLine.Parent = Top local Title = makeLabel( Top, "XEMO / CLIENT", UDim2.fromOffset(190, 40), UDim2.fromOffset(16, 0), C.White, Enum.Font.GothamBold, 13 ) local Version = makeLabel( Top, "1.5", UDim2.fromOffset(45, 40), UDim2.new(1, -87, 0, 0), C.Purple, Enum.Font.GothamBold, 10 ) Version.TextXAlignment = Enum.TextXAlignment.Center local ClientStatus = makeLabel( Top, "● ACTIVE", UDim2.fromOffset(82, 40), UDim2.new(1, -166, 0, 0), C.Green, Enum.Font.Code, 9 ) ClientStatus.TextXAlignment = Enum.TextXAlignment.Right local Close = Instance.new("TextButton") Close.Size = UDim2.fromOffset(25, 24) Close.Position = UDim2.new(1, -32, 0, 8) Close.BackgroundColor3 = C.Hover Close.Text = "×" Close.TextColor3 = C.White Close.TextSize = 17 Close.Font = Enum.Font.Gotham Close.Parent = Top round(Close, 4) local TabBar = Instance.new("Frame") TabBar.Size = UDim2.new(1, -36, 0, 32) TabBar.Position = UDim2.fromOffset(18, 48) TabBar.BackgroundTransparency = 1 TabBar.Parent = Main local TabLayout = Instance.new("UIListLayout") TabLayout.FillDirection = Enum.FillDirection.Horizontal TabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center TabLayout.Padding = UDim.new(0, 4) TabLayout.Parent = TabBar local Content = Instance.new("Frame") Content.Size = UDim2.new(1, -18, 1, -98) Content.Position = UDim2.fromOffset(9, 90) Content.BackgroundTransparency = 1 Content.Parent = Main local Pages = {} local TabButtons = {} local function makePage(name) local page = Instance.new("Frame") page.Name = name page.Size = UDim2.fromScale(1, 1) page.BackgroundTransparency = 1 page.Visible = false page.Parent = Content Pages[name] = page local left = Instance.new("Frame") left.Size = UDim2.new(0.5, -4, 1, 0) left.BackgroundColor3 = Color3.fromRGB(20, 21, 25) left.Parent = page round(left, 2) addStroke(left, Color3.fromRGB(48, 50, 57), 1) local right = Instance.new("Frame") right.Size = UDim2.new(0.5, -4, 1, 0) right.Position = UDim2.new(0.5, 8, 0, 0) right.BackgroundColor3 = Color3.fromRGB(20, 21, 25) right.Parent = page round(right, 2) addStroke(right, Color3.fromRGB(48, 50, 57), 1) return left, right end local function setTab(name) activeTab = name for tabName, page in pairs(Pages) do page.Visible = tabName == name end for tabName, button in pairs(TabButtons) do local selected = tabName == name button.TextColor3 = selected and C.White or C.Muted button.BackgroundColor3 = selected and Color3.fromRGB(35, 36, 41) or Color3.fromRGB(25, 26, 30) local line = button:FindFirstChild("ActiveLine") if line then line.Visible = selected end end end local function makeTab(name) local button = Instance.new("TextButton") button.Size = UDim2.new(0, 82, 1, 0) button.BackgroundColor3 = Color3.fromRGB(25, 26, 30) button.Text = name button.TextColor3 = C.Muted button.TextSize = 9 button.Font = Enum.Font.Code button.AutoButtonColor = false button.Parent = TabBar round(button, 2) local line = Instance.new("Frame") line.Name = "ActiveLine" line.Size = UDim2.new(0.42, 0, 0, 1) line.Position = UDim2.new(0.29, 0, 1, -1) line.BackgroundColor3 = Color3.fromRGB(157, 139, 196) line.BorderSizePixel = 0 line.Visible = false line.Parent = button TabButtons[name] = button connect(button.MouseButton1Click, function() setTab(name) end) end for _, name in ipairs({ "Aimbot", "Silent", "Visual", "Players", "Performance", "Settings", "Changelog", "About" }) do makeTab(name) end local function makeSection(parent, text, y) local title = makeLabel( parent, string.upper(text), UDim2.new(1, -16, 0, 23), UDim2.fromOffset(8, y), C.White, Enum.Font.Code, 10 ) local line = Instance.new("Frame") line.Size = UDim2.new(1, -16, 0, 1) line.Position = UDim2.fromOffset(8, y + 23) line.BackgroundColor3 = Color3.fromRGB(48, 50, 57) line.BackgroundTransparency = 0 line.BorderSizePixel = 0 line.Parent = parent return title end local toggleAccentRefreshers = {} local ToggleControls = {} local function makeToggle(parent, text, y, default, callback) local row = Instance.new("Frame") row.Size = UDim2.new(1, -16, 0, 29) row.Position = UDim2.fromOffset(8, y) row.BackgroundTransparency = 1 row.Parent = parent makeLabel( row, text, UDim2.new(1, -60, 1, 0), UDim2.fromOffset(0, 0), C.White, Enum.Font.Gotham, 11 ) local button = Instance.new("TextButton") button.Size = UDim2.fromOffset(25, 13) button.Position = UDim2.new(1, -27, 0.5, -6) button.BackgroundColor3 = default and Color3.fromRGB(116, 105, 143) or Color3.fromRGB(49, 51, 58) button.Text = "" button.AutoButtonColor = false button.Parent = row round(button, 3) local knob = Instance.new("Frame") knob.Size = UDim2.fromOffset(9, 9) knob.Position = default and UDim2.fromOffset(14, 2) or UDim2.fromOffset(2, 2) knob.BackgroundColor3 = Color3.fromRGB(220, 220, 226) knob.Parent = button round(knob, 2) local enabled = default local function refreshAccent() button.BackgroundColor3 = enabled and C.Purple or Color3.fromRGB(49, 51, 58) end table.insert(toggleAccentRefreshers, refreshAccent) local function update() refreshAccent() knob.Position = enabled and UDim2.fromOffset(14, 2) or UDim2.fromOffset(2, 2) callback(enabled) end connect(button.MouseButton1Click, function() enabled = not enabled update() end) local control = { Set = function(value) enabled = value update() end, Get = function() return enabled end } ToggleControls[text] = control return control end local function makeDropdown(parent, text, y, options, default, callback) makeLabel( parent, text, UDim2.new(1, -16, 0, 20), UDim2.fromOffset(8, y), C.White, Enum.Font.Gotham, 11 ) local button = Instance.new("TextButton") button.Size = UDim2.new(1, -24, 0, 25) button.Position = UDim2.fromOffset(12, y + 20) button.BackgroundColor3 = Color3.fromRGB(27, 28, 33) button.TextColor3 = C.White button.TextSize = 10 button.Font = Enum.Font.Code button.AutoButtonColor = false button.Parent = parent round(button, 2) addStroke(button, Color3.fromRGB(48, 50, 57), 1) local index = table.find(options, default) or 1 local function update() button.Text = options[index] .. " ▾" callback(options[index]) end update() connect(button.MouseButton1Click, function() index = index % #options + 1 update() end) return { Next = function() index = index % #options + 1 update() end, Previous = function() index = (index - 2) % #options + 1 update() end } end local function makeSlider(parent, text, y, minValue, maxValue, default, callback) local title = makeLabel( parent, "", UDim2.new(1, -16, 0, 20), UDim2.fromOffset(8, y), C.White, Enum.Font.Gotham, 11 ) local bar = Instance.new("TextButton") bar.Size = UDim2.new(1, -24, 0, 5) bar.Position = UDim2.fromOffset(12, y + 29) bar.BackgroundColor3 = Color3.fromRGB(48, 50, 57) bar.Text = "" bar.AutoButtonColor = false bar.Parent = parent round(bar, 4) local fill = Instance.new("Frame") fill.Size = UDim2.new(0, 0, 1, 0) fill.BackgroundColor3 = Color3.fromRGB(157, 139, 196) fill.Parent = bar round(fill, 4) local knob = Instance.new("Frame") knob.Size = UDim2.fromOffset(11, 11) knob.AnchorPoint = Vector2.new(0.5, 0.5) knob.BackgroundColor3 = C.White knob.Parent = bar round(knob, 10) local sliding = false local function update(x) local percent = math.clamp( (x - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1 ) local value = minValue + (maxValue - minValue) * percent value = math.floor(value * 100) / 100 fill.Size = UDim2.new(percent, 0, 1, 0) knob.Position = UDim2.new(percent, 0, 0.5, 0) title.Text = text .. " " .. tostring(value) callback(value) end title.Text = text .. " " .. tostring(default) task.defer(function() if bar.AbsoluteSize.X > 0 then update( bar.AbsolutePosition.X + bar.AbsoluteSize.X * ((default - minValue) / (maxValue - minValue)) ) end end) connect(bar.InputBegan, function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then sliding = true update(input.Position.X) end end) connect(UserInputService.InputChanged, function(input) if sliding and input.UserInputType == Enum.UserInputType.MouseMovement then update(input.Position.X) end end) connect(UserInputService.InputEnded, function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then sliding = false end end) end local aimLeft, aimRight = makePage("Aimbot") local silentLeft, silentRight = makePage("Silent") local visualLeft, visualRight = makePage("Visual") local playersLeft, playersRight = makePage("Players") local settingsLeft, settingsRight = makePage("Settings") local performanceLeft, performanceRight = makePage("Performance") local changelogLeft, changelogRight = makePage("Changelog") local aboutLeft, aboutRight = makePage("About") makeSection(aimLeft, "AIM ASSIST", 5) makeToggle(aimLeft, "Enable Aim Assist", 34, true, function(value) Settings.AimbotEnabled = value end) makeToggle(aimLeft, "Show FOV Circle", 65, true, function(value) Settings.ShowFOV = value end) makeDropdown( aimLeft, "Aim Part", 105, {"Head", "HumanoidRootPart"}, Settings.AimPart, function(value) Settings.AimPart = value end ) makeSection(aimRight, "AIM SETTINGS", 5) makeSlider(aimRight, "FOV Radius", 40, 20, 400, 75, function(value) Settings.FOVRadius = value end) makeSlider(aimRight, "Max Distance", 100, 50, 1000, 500, function(value) Settings.MaxDistance = value end) makeSlider(aimRight, "Smoothness", 160, 0.01, 1, 0.85, function(value) Settings.Smoothness = value end) makeSection(silentLeft, "SILENT AIM SETTINGS", 5) makeToggle(silentLeft, "Enable Silent Aim", 34, false, function(value) Settings.SilentEnabled = value end) makeToggle(silentLeft, "Wall Check", 65, true, function(value) Settings.SilentWallCheck = value end) makeToggle(silentLeft, "Prediction", 96, false, function(value) Settings.SilentPrediction = value end) makeDropdown( silentLeft, "Target Part", 135, {"Head", "HumanoidRootPart"}, Settings.SilentPart, function(value) Settings.SilentPart = value end ) makeSection(silentRight, "TARGET SETTINGS", 5) makeSlider(silentRight, "Silent FOV", 40, 20, 400, 120, function(value) Settings.SilentFOV = value end) makeSlider(silentRight, "Max Distance", 100, 50, 1000, 500, function(value) Settings.SilentMaxDistance = value end) makeSlider(silentRight, "Hit Chance", 160, 0, 100, 100, function(value) Settings.SilentHitChance = value end) makeSlider(silentRight, "Prediction Amount", 220, 0, 0.5, 0.13, function(value) Settings.SilentPredictionAmount = value end) makeSection(visualLeft, "PLAYER ESP", 5) makeToggle(visualLeft, "Enable ESP", 34, true, function(value) Settings.ESPEnabled = value end) makeToggle(visualLeft, "Names", 65, true, function(value) Settings.ShowNames = value end) makeToggle(visualLeft, "Distance", 96, true, function(value) Settings.ShowDistance = value end) makeToggle(visualLeft, "Health Text", 127, true, function(value) Settings.ShowHealth = value end) makeToggle(visualLeft, "Health Bar", 158, true, function(value) Settings.ShowHealthBar = value end) makeToggle(visualLeft, "Team Colors", 189, true, function(value) Settings.TeamColors = value end) makeToggle(visualLeft, "Night Brightness", 220, false, function(value) setNightBrightness(value) end) makeDropdown( visualLeft, "ESP Style", 256, {"Highlight", "Boxes", "Minimal Dots", "Skeleton", "Name Only"}, Settings.ESPStyle, function(value) Settings.ESPStyle = value end ) makeSection(visualRight, "COLOR OPTIONS", 5) local function makeColorSwatch(parent, text, y, color) makeLabel( parent, text, UDim2.new(1, -60, 0, 25), UDim2.fromOffset(10, y), C.White ) local swatch = Instance.new("TextButton") swatch.Size = UDim2.fromOffset(48, 20) swatch.Position = UDim2.new(1, -60, 0, y + 2) swatch.BackgroundColor3 = color swatch.Text = "CYCLE" swatch.TextColor3 = Color3.new(1, 1, 1) swatch.TextSize = 8 swatch.Font = Enum.Font.GothamBold swatch.Parent = parent round(swatch, 3) addStroke(swatch, C.Border) local palette = { Color3.fromRGB(255, 75, 95), Color3.fromRGB(235, 120, 80), Color3.fromRGB(190, 100, 235), Color3.fromRGB(90, 170, 255), Color3.fromRGB(90, 220, 160), Color3.fromRGB(245, 195, 90) } local index = 1 connect(swatch.MouseButton1Click, function() index = index % #palette + 1 swatch.BackgroundColor3 = palette[index] if text == "Enemy Color" then Settings.EnemyColor = palette[index] else Settings.TeamColor = palette[index] end end) end makeColorSwatch(visualRight, "Enemy Color", 40, Settings.EnemyColor) makeColorSwatch(visualRight, "Team Color", 75, Settings.TeamColor) makeToggle(visualRight, "ESP Boxes", 112, true, function(value) Settings.ShowBoxes = value end) makeToggle(visualRight, "Team Filter", 143, false, function(value) Settings.TeamFilter = value end) makeSlider(visualRight, "ESP Opacity", 180, 10, 100, 75, function(value) Settings.ESPOpacity = value end) makeSlider(visualRight, "Text Size", 245, 8, 20, 12, function(value) Settings.ESPTextSize = value end) makeSection(playersLeft, "SERVER PLAYERS", 5) local playerCount = makeLabel( playersLeft, "Players in server: 0", UDim2.new(1, -16, 0, 24), UDim2.fromOffset(8, 35), C.White ) local playerList = Instance.new("ScrollingFrame") playerList.Size = UDim2.new(1, -16, 1, -75) playerList.Position = UDim2.fromOffset(8, 65) playerList.BackgroundTransparency = 1 playerList.BorderSizePixel = 0 playerList.ScrollBarThickness = 3 playerList.ScrollBarImageColor3 = C.Purple playerList.CanvasSize = UDim2.new() playerList.Parent = playersLeft local playerLayout = Instance.new("UIListLayout") playerLayout.Padding = UDim.new(0, 4) playerLayout.Parent = playerList local selectedLabel = makeLabel( playersRight, "Selected: none", UDim2.new(1, -20, 0, 25), UDim2.fromOffset(10, 40), C.White ) makeSection(playersRight, "PLAYER INFORMATION", 5) local function updateSelectedPlayer() if selectedPlayer and selectedPlayer.Parent == Players then selectedLabel.Text = "Selected: " .. selectedPlayer.DisplayName else selectedPlayer = nil selectedLabel.Text = "Selected: none" end end local function refreshPlayerList() for _, child in ipairs(playerList:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end local count = 0 for _, player in ipairs(Players:GetPlayers()) do count += 1 local entry = Instance.new("TextButton") entry.Size = UDim2.new(1, -5, 0, 27) entry.BackgroundColor3 = selectedPlayer == player and C.Hover or C.Surface entry.Text = player.DisplayName .. " @" .. player.Name entry.TextColor3 = player == LocalPlayer and C.Purple or C.White entry.TextSize = 10 entry.Font = Enum.Font.Gotham entry.TextXAlignment = Enum.TextXAlignment.Left entry.AutoButtonColor = false entry.Parent = playerList round(entry, 3) connect(entry.MouseButton1Click, function() selectedPlayer = player refreshPlayerList() updateSelectedPlayer() end) end playerCount.Text = "Players in server: " .. count playerList.CanvasSize = UDim2.fromOffset(0, count * 31) end makeSection(settingsLeft, isMobile and "TOUCH CONTROLS" or "KEYBINDS", 5) local keybinds = { Menu = Enum.KeyCode.M, ESP = Enum.KeyCode.P, FOV = Enum.KeyCode.L, Night = Enum.KeyCode.N } local waitingForBind = nil local bindButtons = {} local function refreshBindButtons() for name, button in pairs(bindButtons) do button.Text = keybinds[name].Name end end local function createBindRow(label, key, y) makeLabel(settingsLeft, label, UDim2.new(1, -105, 0, 25), UDim2.fromOffset(8, y), C.White, Enum.Font.Gotham, 11) local button = Instance.new("TextButton") button.Size = UDim2.fromOffset(88, 23) button.Position = UDim2.new(1, -96, 0, y) button.BackgroundColor3 = Color3.fromRGB(27, 28, 33) button.TextColor3 = C.White button.TextSize = 10 button.Font = Enum.Font.Code button.AutoButtonColor = false button.Parent = settingsLeft round(button, 2) addStroke(button, Color3.fromRGB(48, 50, 57), 1) bindButtons[key] = button button.Text = keybinds[key].Name connect(button.MouseButton1Click, function() waitingForBind = key button.Text = "PRESS KEY" button.TextColor3 = C.Purple end) end if not isMobile then createBindRow("Open / close menu", "Menu", 38) createBindRow("Toggle ESP", "ESP", 70) createBindRow("Toggle FOV circle", "FOV", 102) createBindRow("Toggle night lighting", "Night", 134) makeLabel(settingsLeft, "Select a bind, then press the key you want to use.", UDim2.new(1, -16, 0, 34), UDim2.fromOffset(8, 170), C.Muted, Enum.Font.Gotham, 9) else makeWrappedLabel(settingsLeft, "Keyboard shortcuts are disabled on touch devices. Use the on-screen controls instead.", UDim2.new(1, -20, 0, 58), UDim2.fromOffset(10, 42), C.Muted, Enum.Font.Gotham, 10) end makeSection(settingsRight, "APPEARANCE", 5) local accentChoices = { Lavender = Color3.fromRGB(157, 139, 196), Blue = Color3.fromRGB(119, 158, 190), Sage = Color3.fromRGB(133, 170, 145), Rose = Color3.fromRGB(181, 133, 166) } makeDropdown(settingsRight, "Accent color", 34, {"Lavender", "Blue", "Sage", "Rose"}, "Lavender", function(value) local previousPurple = C.Purple local previousPink = C.Pink local nextAccent = accentChoices[value] C.Purple = nextAccent C.Pink = nextAccent ReopenStroke.Color = nextAccent MoonDisc.BackgroundColor3 = nextAccent MoonSpark.BackgroundColor3 = nextAccent for _, object in ipairs(ScreenGui:GetDescendants()) do if object:IsA("GuiObject") then if object.BackgroundColor3 == previousPurple or object.BackgroundColor3 == previousPink then object.BackgroundColor3 = nextAccent end if object:IsA("TextLabel") or object:IsA("TextButton") then if object.TextColor3 == previousPurple or object.TextColor3 == previousPink then object.TextColor3 = nextAccent end end elseif object:IsA("UIStroke") then if object.Color == previousPurple or object.Color == previousPink then object.Color = nextAccent end end end for _, tabButton in pairs(TabButtons) do local activeLine = tabButton:FindFirstChild("ActiveLine") if activeLine then activeLine.BackgroundColor3 = nextAccent end end for _, refreshToggleAccent in ipairs(toggleAccentRefreshers) do refreshToggleAccent() end end) makeSection(settingsRight, "SCRIPT", 105) local unloadButton = Instance.new("TextButton") unloadButton.Size = UDim2.new(1, -20, 0, 34) unloadButton.Position = UDim2.fromOffset(10, 140) unloadButton.BackgroundColor3 = Color3.fromRGB(48, 35, 40) unloadButton.Text = "Unload Xemo's Script" unloadButton.TextColor3 = Color3.fromRGB(218, 170, 181) unloadButton.TextSize = 11 unloadButton.Font = Enum.Font.GothamBold unloadButton.Parent = settingsRight round(unloadButton, 4) addStroke(unloadButton, C.Border) makeLabel( settingsRight, "Xemo Client • v1.5", UDim2.new(1, -20, 0, 20), UDim2.fromOffset(10, 182), C.Muted ) local FOVCircle = Instance.new("Frame") FOVCircle.Name = "FOVCircle" FOVCircle.AnchorPoint = Vector2.new(0.5, 0.5) FOVCircle.BackgroundTransparency = 1 FOVCircle.Parent = ScreenGui round(FOVCircle, 200) addStroke(FOVCircle, C.Purple, 1.5) local MetricsOverlay = Instance.new("Frame") MetricsOverlay.Name = "XemoMetricsOverlay" MetricsOverlay.AnchorPoint = Vector2.new(1, 0) MetricsOverlay.Position = UDim2.new(1, -14, 0, 14) MetricsOverlay.Size = UDim2.fromOffset(174, 42) MetricsOverlay.BackgroundColor3 = Color3.fromRGB(20, 21, 25) MetricsOverlay.BackgroundTransparency = 0 MetricsOverlay.BorderSizePixel = 0 MetricsOverlay.Parent = ScreenGui MetricsOverlay.ZIndex = 20 round(MetricsOverlay, 3) addStroke(MetricsOverlay, Color3.fromRGB(57, 59, 67), 1) local MetricsTopLine = Instance.new("Frame") MetricsTopLine.Size = UDim2.new(1, -2, 0, 1) MetricsTopLine.Position = UDim2.fromOffset(1, 1) MetricsTopLine.BackgroundColor3 = Color3.fromRGB(67, 69, 78) MetricsTopLine.BorderSizePixel = 0 MetricsTopLine.Parent = MetricsOverlay MetricsTopLine.ZIndex = 21 local MetricsHeader = makeLabel( MetricsOverlay, "XEMO CLIENT", UDim2.new(1, -16, 0, 12), UDim2.fromOffset(9, 4), C.Muted, Enum.Font.Code, 8 ) MetricsHeader.ZIndex = 21 local MetricsDivider = Instance.new("Frame") MetricsDivider.Size = UDim2.new(1, -18, 0, 1) MetricsDivider.Position = UDim2.fromOffset(9, 19) MetricsDivider.BackgroundColor3 = Color3.fromRGB(48, 50, 57) MetricsDivider.BorderSizePixel = 0 MetricsDivider.Parent = MetricsOverlay MetricsDivider.ZIndex = 21 local fpsOverlayLabel = makeLabel( MetricsOverlay, "FPS --", UDim2.new(0.5, -10, 0, 17), UDim2.fromOffset(9, 22), C.Green, Enum.Font.Code, 11 ) fpsOverlayLabel.ZIndex = 21 local pingOverlayLabel = makeLabel( MetricsOverlay, "PING -- ms", UDim2.new(0.5, -8, 0, 17), UDim2.new(0.5, 0, 0, 22), C.White, Enum.Font.Code, 11 ) pingOverlayLabel.ZIndex = 21 local originalLighting = { Brightness = Lighting.Brightness, ExposureCompensation = Lighting.ExposureCompensation, Ambient = Lighting.Ambient, OutdoorAmbient = Lighting.OutdoorAmbient } local NightEffect = Instance.new("ColorCorrectionEffect") NightEffect.Name = "XemosScript_NightBrightness" NightEffect.Brightness = 0.22 NightEffect.Contrast = -0.04 NightEffect.Saturation = 0.04 NightEffect.TintColor = Color3.fromRGB(225, 225, 255) NightEffect.Enabled = false NightEffect.Parent = Lighting local NightBloom = Instance.new("BloomEffect") NightBloom.Name = "XemosScript_NightBloom" NightBloom.Intensity = 0.12 NightBloom.Size = 32 NightBloom.Threshold = 1 NightBloom.Enabled = false NightBloom.Parent = Lighting setNightBrightness = function(enabled) Settings.NightBrightness = enabled NightEffect.Enabled = enabled NightBloom.Enabled = enabled if enabled then Lighting.Brightness = math.max(originalLighting.Brightness, 1.5) Lighting.ExposureCompensation = math.max(originalLighting.ExposureCompensation, 0.4) Lighting.Ambient = Color3.fromRGB(125, 125, 140) Lighting.OutdoorAmbient = Color3.fromRGB(145, 145, 160) else Lighting.Brightness = originalLighting.Brightness Lighting.ExposureCompensation = originalLighting.ExposureCompensation Lighting.Ambient = originalLighting.Ambient Lighting.OutdoorAmbient = originalLighting.OutdoorAmbient end end local function clearPlayerESP(player) local objects = playerObjects[player] if not objects then return end for _, object in pairs(objects) do if typeof(object) == "Instance" then destroy(object) elseif type(object) == "table" then for _, child in pairs(object) do destroy(child) end end end playerObjects[player] = nil end local function createBillboard(character) local head = character:FindFirstChild("Head") if not head then return end local billboard = Instance.new("BillboardGui") billboard.Name = "XemoESP_Billboard" billboard.Adornee = head billboard.Size = UDim2.fromOffset(190, 48) billboard.StudsOffset = Vector3.new(0, 2.7, 0) billboard.AlwaysOnTop = true billboard.Parent = ScreenGui local text = Instance.new("TextLabel") text.Size = UDim2.new(1, 0, 0, 30) text.Position = UDim2.fromOffset(0, 0) text.BackgroundTransparency = 1 text.Font = Enum.Font.GothamBold text.TextSize = Settings.ESPTextSize text.TextStrokeTransparency = 0.3 text.Parent = billboard local healthBack = Instance.new("Frame") healthBack.Size = UDim2.new(0.72, 0, 0, 4) healthBack.Position = UDim2.new(0.14, 0, 1, -7) healthBack.BackgroundColor3 = Color3.fromRGB(35, 32, 40) healthBack.BorderSizePixel = 0 healthBack.Parent = billboard round(healthBack, 3) local healthFill = Instance.new("Frame") healthFill.Size = UDim2.fromScale(1, 1) healthFill.BackgroundColor3 = C.Green healthFill.BorderSizePixel = 0 healthFill.Parent = healthBack round(healthFill, 3) return billboard, text, healthBack, healthFill end local function createSkeleton(character) local beams = {} local pairsR15 = { {"Head", "UpperTorso"}, {"UpperTorso", "LowerTorso"}, {"UpperTorso", "LeftUpperArm"}, {"LeftUpperArm", "LeftLowerArm"}, {"LeftLowerArm", "LeftHand"}, {"UpperTorso", "RightUpperArm"}, {"RightUpperArm", "RightLowerArm"}, {"RightLowerArm", "RightHand"}, {"LowerTorso", "LeftUpperLeg"}, {"LeftUpperLeg", "LeftLowerLeg"}, {"LeftLowerLeg", "LeftFoot"}, {"LowerTorso", "RightUpperLeg"}, {"RightUpperLeg", "RightLowerLeg"}, {"RightLowerLeg", "RightFoot"} } local pairsR6 = { {"Head", "Torso"}, {"Torso", "Left Arm"}, {"Torso", "Right Arm"}, {"Torso", "Left Leg"}, {"Torso", "Right Leg"} } local function addBeam(a, b) if not a or not b then return end local a0 = Instance.new("Attachment") a0.Parent = a local a1 = Instance.new("Attachment") a1.Parent = b local beam = Instance.new("Beam") beam.Attachment0 = a0 beam.Attachment1 = a1 beam.Width0 = 0.035 beam.Width1 = 0.035 beam.FaceCamera = true beam.Enabled = false beam.Parent = a table.insert(beams, beam) table.insert(beams, a0) table.insert(beams, a1) end local rigParts = character:FindFirstChild("UpperTorso") and pairsR15 or pairsR6 for _, pair in ipairs(rigParts) do addBeam( character:FindFirstChild(pair[1]), character:FindFirstChild(pair[2]) ) end return beams end local function createPlayerESP(player) if player == LocalPlayer then return end clearPlayerESP(player) local character, humanoid, root = getCharacter(player) if not character then return end local objects = {} local color = getPlayerColor(player) local highlight = Instance.new("Highlight") highlight.Name = "XemoESP_Highlight" highlight.Adornee = character highlight.FillColor = color highlight.OutlineColor = color highlight.FillTransparency = 0.78 highlight.OutlineTransparency = 0 highlight.Enabled = false highlight.Parent = workspace objects.Highlight = highlight local box = Instance.new("BoxHandleAdornment") box.Name = "XemoESP_Box" box.Adornee = root box.AlwaysOnTop = true box.ZIndex = 5 box.Size = Vector3.new(4, 6, 2) box.Color3 = color box.Transparency = 0.35 box.Visible = false box.Parent = workspace objects.Box = box local dot = Instance.new("BillboardGui") dot.Name = "XemoESP_Dot" dot.Adornee = root dot.Size = UDim2.fromOffset(12, 12) dot.AlwaysOnTop = true dot.Enabled = false dot.Parent = ScreenGui local dotFrame = Instance.new("Frame") dotFrame.Size = UDim2.fromScale(1, 1) dotFrame.BackgroundColor3 = color dotFrame.BorderSizePixel = 0 dotFrame.Parent = dot round(dotFrame, 20) objects.Dot = dot local billboard, text, healthBack, healthFill = createBillboard(character) objects.Billboard = billboard objects.Label = text objects.HealthBack = healthBack objects.HealthFill = healthFill objects.Skeleton = createSkeleton(character) playerObjects[player] = objects end local function updatePlayerESP(player) local objects = playerObjects[player] if not objects then return end local character, humanoid, root = getCharacter(player) if not character then clearPlayerESP(player) return end local color = getPlayerColor(player) local distance = (Camera.CFrame.Position - root.Position).Magnitude local visible = Settings.ESPEnabled and distance <= Settings.MaxDistance if Settings.TeamFilter and isTeammate(player) then visible = false end local style = Settings.ESPStyle objects.Highlight.Enabled = visible and style == "Highlight" objects.Highlight.FillColor = color objects.Highlight.OutlineColor = color objects.Highlight.FillTransparency = 1 - (Settings.ESPOpacity / 100) objects.Box.Visible = visible and Settings.ShowBoxes and style == "Boxes" objects.Box.Color3 = color objects.Box.Transparency = 1 - (Settings.ESPOpacity / 100) objects.Dot.Enabled = visible and style == "Minimal Dots" if objects.Billboard and objects.Label then local showLabel = visible and ( Settings.ShowNames or Settings.ShowDistance or Settings.ShowHealth or Settings.ShowHealthBar or style == "Name Only" ) objects.Billboard.Enabled = showLabel objects.Label.TextSize = Settings.ESPTextSize objects.HealthBack.Visible = visible and Settings.ShowHealthBar local healthPercent = math.clamp(humanoid.Health / math.max(humanoid.MaxHealth, 1), 0, 1) objects.HealthFill.Size = UDim2.new(healthPercent, 0, 1, 0) objects.HealthFill.BackgroundColor3 = Color3.fromRGB(235, 90, 105):Lerp(C.Green, healthPercent) local parts = {} if Settings.ShowNames or style == "Name Only" then table.insert(parts, player.DisplayName) end if Settings.ShowDistance then table.insert(parts, math.floor(distance) .. " studs") end if Settings.ShowHealth then table.insert(parts, math.floor(humanoid.Health) .. " HP") end objects.Label.Text = table.concat(parts, " • ") objects.Label.TextColor3 = color end for _, object in ipairs(objects.Skeleton) do if object:IsA("Beam") then object.Enabled = visible and style == "Skeleton" object.Color = ColorSequence.new(color) end end end local function setupPlayer(player) if player == LocalPlayer then return end connect(player.CharacterAdded, function(character) task.spawn(function() character:WaitForChild("Humanoid", 10) character:WaitForChild("HumanoidRootPart", 10) character:WaitForChild("Head", 10) if running and player.Character == character then createPlayerESP(player) end end) end) if player.Character then task.spawn(function() local character = player.Character character:WaitForChild("Humanoid", 10) character:WaitForChild("HumanoidRootPart", 10) character:WaitForChild("Head", 10) if running and player.Character == character then createPlayerESP(player) end end) end end local function getScreenCenter() local viewport = Camera.ViewportSize return Vector2.new(viewport.X / 2, viewport.Y / 2) end local function getClosestEnemyInFOV() local closestPart local closestDistance = Settings.FOVRadius local center = getScreenCenter() for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and not isTeammate(player) then local character, humanoid, root = getCharacter(player) if character then local part = character:FindFirstChild(Settings.AimPart) if part then local worldDistance = (Camera.CFrame.Position - part.Position).Magnitude if worldDistance <= Settings.MaxDistance then local screenPosition, onScreen = Camera:WorldToViewportPoint(part.Position) if onScreen and screenPosition.Z > 0 then local screenDistance = ( Vector2.new(screenPosition.X, screenPosition.Y) - center ).Magnitude if screenDistance < closestDistance then closestDistance = screenDistance closestPart = part end end end end end end end return closestPart end local function setMenuVisible(value) if menuVisible == value and Main.Visible == value then return end menuVisible = value if menuTween then pcall(function() menuTween:Cancel() end) end ReopenButton.Visible = not value if value then Main.Visible = true Main.BackgroundTransparency = 1 Main.Position = MainTargetPosition + UDim2.fromOffset(0, 14) MainScale.Scale = 0.965 UserInputService.MouseBehavior = Enum.MouseBehavior.Default UserInputService.MouseIconEnabled = true menuTween = TweenService:Create( Main, TweenInfo.new(0.24, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Position = MainTargetPosition, BackgroundTransparency = 0} ) local scaleTween = TweenService:Create( MainScale, TweenInfo.new(0.28, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Scale = 1} ) menuTween:Play() scaleTween:Play() else UserInputService.MouseBehavior = previousMouseBehavior UserInputService.MouseIconEnabled = previousMouseIcon menuTween = TweenService:Create( Main, TweenInfo.new(0.16, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Position = MainTargetPosition + UDim2.fromOffset(0, 10), BackgroundTransparency = 1} ) local scaleTween = TweenService:Create( MainScale, TweenInfo.new(0.16, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Scale = 0.975} ) menuTween.Completed:Connect(function(state) if state == Enum.PlaybackState.Completed and not menuVisible then Main.Visible = false Main.Position = MainTargetPosition Main.BackgroundTransparency = 0 MainScale.Scale = 1 end end) menuTween:Play() scaleTween:Play() end end makeSection(changelogLeft, "RELEASE NOTES", 5) makeLabel(changelogLeft, "XEMO / VERSION 1.5", UDim2.new(1, -18, 0, 22), UDim2.fromOffset(9, 36), C.White, Enum.Font.Code, 11) makeWrappedLabel(changelogLeft, "Staff presence alerts, editable keybinds, live client status, accent themes and an in-client changelog.", UDim2.new(1, -18, 0, 78), UDim2.fromOffset(9, 64), C.Muted, Enum.Font.Gotham, 10) makeSection(changelogRight, "RECENT CHANGES", 5) makeWrappedLabel(changelogRight, "1.5 / Staff join safety prompt\n1.4 / Editable keybinds\n1.3 / Client status + uptime\n1.2 / Accent color presets\n1.1 / Changelog page\n1.0 / Xemo name + first release", UDim2.new(1, -18, 0, 150), UDim2.fromOffset(9, 38), C.Muted, Enum.Font.Code, 10) makeSection(aboutLeft, "ABOUT XEMO", 5) local XEMO_PROFILE_IMAGE = "rbxthumb://type=Asset&id=96261487318591&w=150&h=150" local XemoAvatar = Instance.new("ImageLabel") XemoAvatar.Name = "XemoAvatar" XemoAvatar.Size = UDim2.fromOffset(64, 64) XemoAvatar.Position = UDim2.new(1, -76, 0, 38) XemoAvatar.BackgroundColor3 = C.Surface XemoAvatar.BackgroundTransparency = 0 XemoAvatar.BorderSizePixel = 0 XemoAvatar.Image = XEMO_PROFILE_IMAGE XemoAvatar.ImageTransparency = 0 XemoAvatar.ScaleType = Enum.ScaleType.Crop XemoAvatar.ZIndex = 3 XemoAvatar.Parent = aboutLeft round(XemoAvatar, 32) addStroke(XemoAvatar, C.Purple, 1) makeLabel(aboutLeft, "XEMO / CLIENT", UDim2.new(1, -96, 0, 24), UDim2.fromOffset(9, 36), C.White, Enum.Font.GothamBold, 12) makeLabel(aboutLeft, "VERSION 1.5", UDim2.new(1, -96, 0, 20), UDim2.fromOffset(9, 64), C.Purple, Enum.Font.Code, 10) makeWrappedLabel(aboutLeft, "Xemo is a client-side interface project focused on a clean, compact layout, configurable controls, and a consistent desktop and mobile experience.", UDim2.new(1, -20, 0, 88), UDim2.fromOffset(10, 118), C.Muted, Enum.Font.Gotham, 10) makeSection(aboutRight, "RELEASE DETAILS", 5) makeLabel(aboutRight, "CURRENT RELEASE", UDim2.new(1, -18, 0, 20), UDim2.fromOffset(9, 36), C.White, Enum.Font.Code, 10) makeLabel(aboutRight, "1.5 / November 24, 2026", UDim2.new(1, -18, 0, 22), UDim2.fromOffset(9, 59), C.Purple, Enum.Font.Code, 10) makeWrappedLabel(aboutRight, "The Xemo name was introduced with version 1.0. This release adds the launch animation, mobile reopen control, and refreshed moon button.", UDim2.new(1, -20, 0, 65), UDim2.fromOffset(10, 91), C.Muted, Enum.Font.Gotham, 10) makeSection(aboutRight, "CREDITS", 169) makeLabel(aboutRight, "Xemo / Creator", UDim2.new(1, -18, 0, 22), UDim2.fromOffset(9, 198), C.Purple, Enum.Font.Code, 11) local STAFF_USERNAMES = { toxicophxbia = true, doxiron = true, z_ephrious = true, mybyk = true, vobbltack = true, havoc_jacey = true, ["15rifles"] = true, rhodopea = true, casfield = true, Gamerstill15 = true, Swinly_gaming = true, redfudgrf1120 = true, snacksizedevan = true, rashl1017 = true } local function disableActiveFeatures() for _, toggleName in ipairs({ "Enable Aim Assist", "Enable Silent Aim", "Enable ESP", "Show FOV Circle", "Night Brightness" }) do local control = ToggleControls[toggleName] if control then control.Set(false) end end Settings.AimbotEnabled = false Settings.SilentEnabled = false Settings.ESPEnabled = false Settings.ShowFOV = false Settings.NightBrightness = false aiming = false if setNightBrightness then setNightBrightness(false) end if FOVCircle then FOVCircle.Visible = false end for player in pairs(playerObjects) do updatePlayerESP(player) end end local staffAlreadyNotified = {} local staffScanQueued = false local function showStaffNotification(staffPlayers, totalInLobby) local multiple = totalInLobby > 1 local toast = Instance.new("Frame") toast.Name = "StaffLobbyNotification" toast.AnchorPoint = Vector2.new(1, 0) toast.Position = UDim2.new(1, -14, 0, 66) toast.Size = UDim2.fromOffset(318, 130) toast.BackgroundColor3 = Color3.fromRGB(20, 21, 25) toast.BorderSizePixel = 0 toast.Parent = ScreenGui toast.ZIndex = 40 round(toast, 3) addStroke(toast, C.Purple, 1) makeLabel(toast, "STAFF ALERT", UDim2.new(1, -20, 0, 17), UDim2.fromOffset(10, 8), C.Purple, Enum.Font.Code, 10).ZIndex = 41 local detailText if multiple then detailText = tostring(totalInLobby) .. " staff members are in this server." else detailText = staffPlayers[1].Name .. " is in this server." end local avatar = Instance.new("ImageLabel") avatar.Name = "StaffAvatar" avatar.Size = UDim2.fromOffset(36, 36) avatar.Position = UDim2.fromOffset(10, 32) avatar.BackgroundColor3 = C.Surface avatar.BorderSizePixel = 0 avatar.Image = "" avatar.ScaleType = Enum.ScaleType.Crop avatar.ZIndex = 42 avatar.Parent = toast round(avatar, 18) addStroke(avatar, C.Border, 1) local detail = makeWrappedLabel(toast, detailText, UDim2.new(1, -64, 0, 24), UDim2.fromOffset(56, 36), C.White, Enum.Font.Gotham, 11) detail.ZIndex = 41 if multiple then local hint = makeLabel(toast, "Consider turning your features off.", UDim2.new(1, -64, 0, 16), UDim2.fromOffset(56, 55), C.Muted, Enum.Font.Gotham, 9) hint.ZIndex = 41 end task.spawn(function() local ok, imageUrl = pcall(function() return Players:GetUserThumbnailAsync( staffPlayers[1].UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size100x100 ) end) if ok and avatar.Parent then avatar.Image = imageUrl end end) local disableButton = Instance.new("TextButton") disableButton.Size = UDim2.fromOffset(190, 27) disableButton.Position = UDim2.fromOffset(10, 91) disableButton.BackgroundColor3 = Color3.fromRGB(48, 35, 40) disableButton.Text = "TURN OFF FEATURES" disableButton.TextColor3 = Color3.fromRGB(218, 170, 181) disableButton.TextSize = 9 disableButton.Font = Enum.Font.Code disableButton.AutoButtonColor = true disableButton.Parent = toast disableButton.ZIndex = 41 round(disableButton, 2) local dismiss = Instance.new("TextButton") dismiss.Size = UDim2.fromOffset(88, 27) dismiss.Position = UDim2.fromOffset(210, 91) dismiss.BackgroundColor3 = Color3.fromRGB(35, 36, 41) dismiss.Text = "DISMISS" dismiss.TextColor3 = C.Muted dismiss.TextSize = 9 dismiss.Font = Enum.Font.Code dismiss.Parent = toast dismiss.ZIndex = 41 round(dismiss, 2) connect(disableButton.MouseButton1Click, function() disableActiveFeatures() toast:Destroy() end) connect(dismiss.MouseButton1Click, function() toast:Destroy() end) task.delay(12, function() if toast.Parent then toast:Destroy() end end) end local function scanLobbyForStaff() staffScanQueued = false if not running then return end local newlyDetected = {} local totalInLobby = 0 for _, player in ipairs(Players:GetPlayers()) do if STAFF_USERNAMES[string.lower(player.Name)] then totalInLobby += 1 if not staffAlreadyNotified[player.UserId] then staffAlreadyNotified[player.UserId] = true table.insert(newlyDetected, player) end end end if #newlyDetected > 0 then showStaffNotification(newlyDetected, totalInLobby) end end local function queueStaffLobbyScan() if staffScanQueued then return end staffScanQueued = true task.delay(0.8, scanLobbyForStaff) end local function unload() if not running then return end running = false aiming = false UserInputService.MouseBehavior = previousMouseBehavior UserInputService.MouseIconEnabled = previousMouseIcon RunService:UnbindFromRenderStep("XemosScript_Render") for _, connection in ipairs(connections) do pcall(function() connection:Disconnect() end) end for player in pairs(playerObjects) do clearPlayerESP(player) end if Settings.NightBrightness then setNightBrightness(false) end destroy(NightEffect) destroy(NightBloom) destroy(ScreenGui) print("[Xemo's Script] Unloaded.") end for _, player in ipairs(Players:GetPlayers()) do setupPlayer(player) end local uptimeLabel = nil local scriptStartedAt = os.clock() connect(Players.PlayerAdded, function(player) setupPlayer(player) refreshPlayerList() queueStaffLobbyScan() end) queueStaffLobbyScan() connect(RunService.Heartbeat, function() if uptimeLabel and uptimeLabel.Parent then local elapsed = math.floor(os.clock() - scriptStartedAt) local hours = math.floor(elapsed / 3600) local minutes = math.floor((elapsed % 3600) / 60) local seconds = elapsed % 60 uptimeLabel.Text = string.format("UPTIME %02d:%02d:%02d", hours, minutes, seconds) end end) connect(Players.PlayerRemoving, function(player) clearPlayerESP(player) if selectedPlayer == player then selectedPlayer = nil updateSelectedPlayer() end refreshPlayerList() end) connect(UserInputService.InputBegan, function(input, processed) if isMobile then return end if waitingForBind and input.UserInputType == Enum.UserInputType.Keyboard then keybinds[waitingForBind] = input.KeyCode if waitingForBind == "Menu" then Settings.MenuKey = input.KeyCode end refreshBindButtons() waitingForBind = nil return end if input.UserInputType == Enum.UserInputType.MouseButton2 then aiming = true end if input.KeyCode == keybinds.Menu then setMenuVisible(not menuVisible) return end if input.KeyCode == Enum.KeyCode.RightShift then unload() return end if processed then return end if input.KeyCode == keybinds.ESP then Settings.ESPEnabled = not Settings.ESPEnabled elseif input.KeyCode == keybinds.FOV then Settings.ShowFOV = not Settings.ShowFOV elseif input.KeyCode == keybinds.Night then setNightBrightness(not Settings.NightBrightness) elseif input.KeyCode == Enum.KeyCode.Z then setMenuVisible(not menuVisible) end end) connect(UserInputService.InputEnded, function(input) if isMobile then return end if input.UserInputType == Enum.UserInputType.MouseButton2 then aiming = false end end) connect(UserInputService.WindowFocusReleased, function() aiming = false end) connect(Close.MouseButton1Click, function() setMenuVisible(false) end) connect(ReopenButton.MouseButton1Click, function() setMenuVisible(true) end) connect(unloadButton.MouseButton1Click, unload) connect(Top.InputBegan, function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPosition = Main.Position end end) connect(UserInputService.InputChanged, function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart Main.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) MainTargetPosition = Main.Position end end) connect(UserInputService.InputEnded, function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) makeSection(performanceLeft, "LIVE PERFORMANCE", 5) metricsLabel = makeLabel(performanceLeft, "FPS: -- PING: --", UDim2.new(1, -16, 0, 30), UDim2.fromOffset(8, 38), C.Green, Enum.Font.GothamBold, 12) makeWrappedLabel(performanceLeft, "The top-right overlay stays visible while the menu is hidden.", UDim2.new(1, -16, 0, 42), UDim2.fromOffset(8, 72), C.Muted, Enum.Font.Gotham, 10) makeLabel(performanceRight, "CLIENT STATUS", UDim2.new(1, -16, 0, 20), UDim2.fromOffset(8, 5), C.White, Enum.Font.Code, 10) uptimeLabel = makeLabel(performanceRight, "UPTIME 00:00:00", UDim2.new(1, -16, 0, 22), UDim2.fromOffset(8, 31), C.Green, Enum.Font.Code, 11) makeSection(performanceRight, "OPTIMIZATION", 78) makeWrappedLabel(performanceRight, "ESP objects are reused per player and removed on despawn or unload. Update work is performed from the render loop.", UDim2.new(1, -24, 0, 90), UDim2.fromOffset(12, 111), C.Muted, Enum.Font.Gotham, 10) setTab("Aimbot") ClientStatus.Text = "● READY" local Splash = Instance.new("Frame") Splash.Name = "LaunchSplash" Splash.Size = UDim2.fromScale(1, 1) Splash.BackgroundColor3 = C.Background Splash.BorderSizePixel = 0 Splash.ZIndex = 200 Splash.Parent = ScreenGui local SplashTitle = Instance.new("TextLabel") SplashTitle.BackgroundTransparency = 1 SplashTitle.Size = UDim2.new(1, 0, 0, 34) SplashTitle.Position = UDim2.new(0, 0, 0.5, -34) SplashTitle.Text = "XEMO / CLIENT" SplashTitle.TextColor3 = C.White SplashTitle.TextSize = 16 SplashTitle.Font = Enum.Font.GothamBold SplashTitle.ZIndex = 201 SplashTitle.Parent = Splash local SplashSub = Instance.new("TextLabel") SplashSub.BackgroundTransparency = 1 SplashSub.Size = UDim2.new(1, 0, 0, 20) SplashSub.Position = UDim2.new(0, 0, 0.5, 2) SplashSub.Text = "INITIALIZING CLIENT" SplashSub.TextColor3 = C.Muted SplashSub.TextSize = 9 SplashSub.Font = Enum.Font.Code SplashSub.ZIndex = 201 SplashSub.Parent = Splash local SplashTrack = Instance.new("Frame") SplashTrack.Size = UDim2.fromOffset(150, 2) SplashTrack.Position = UDim2.new(0.5, -75, 0.5, 31) SplashTrack.BackgroundColor3 = C.Border SplashTrack.BorderSizePixel = 0 SplashTrack.ZIndex = 201 SplashTrack.Parent = Splash local SplashFill = Instance.new("Frame") SplashFill.Size = UDim2.fromScale(0, 1) SplashFill.BackgroundColor3 = C.Purple SplashFill.BorderSizePixel = 0 SplashFill.ZIndex = 202 SplashFill.Parent = SplashTrack task.spawn(function() TweenService:Create(SplashFill, TweenInfo.new(0.85, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = UDim2.fromScale(1, 1)}):Play() task.wait(0.95) local fadeInfo = TweenInfo.new(0.28, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) for _, object in ipairs(Splash:GetDescendants()) do if object:IsA("TextLabel") then TweenService:Create(object, fadeInfo, {TextTransparency = 1}):Play() elseif object:IsA("Frame") then TweenService:Create(object, fadeInfo, {BackgroundTransparency = 1}):Play() end end TweenService:Create(Splash, fadeInfo, {BackgroundTransparency = 1}):Play() task.wait(0.3) Splash:Destroy() setMenuVisible(true) end) refreshPlayerList() updateSelectedPlayer() RunService:BindToRenderStep( "XemosScript_Render", Enum.RenderPriority.Camera.Value + 1, function(dt) if not running then return end Camera = workspace.CurrentCamera if not Camera then return end frameCount += 1 frameAccumulator += dt if frameAccumulator >= 1 then fpsValue = frameCount / frameAccumulator frameCount = 0 frameAccumulator = 0 local ok, ping = pcall(function() return LocalPlayer:GetNetworkPing() * 1000 end) if ok then pingValue = ping end local fpsText = string.format("%d", math.floor(fpsValue + 0.5)) local pingText = string.format("%d ms", math.floor(pingValue + 0.5)) if metricsLabel then metricsLabel.Text = "FPS: " .. fpsText .. " PING: " .. pingText end if fpsOverlayLabel then fpsOverlayLabel.Text = "FPS " .. fpsText end if pingOverlayLabel then pingOverlayLabel.Text = "PING " .. pingText end end local viewport = Camera.ViewportSize FOVCircle.Position = UDim2.fromOffset( viewport.X / 2, viewport.Y / 2 ) FOVCircle.Size = UDim2.fromOffset( Settings.FOVRadius * 2, Settings.FOVRadius * 2 ) FOVCircle.Visible = Settings.ShowFOV for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer then updatePlayerESP(player) end end if Settings.AimbotEnabled and aiming then local target = getClosestEnemyInFOV() if target and target.Parent then local direction = target.Position - Camera.CFrame.Position if direction.Magnitude > 0.001 then local targetCFrame = CFrame.lookAt( Camera.CFrame.Position, target.Position ) local alpha = 1 - math.exp( -math.clamp(Settings.Smoothness, 0.01, 1) * 12 * dt ) Camera.CFrame = Camera.CFrame:Lerp(targetCFrame, alpha) end end end end ) print("[Xemo's Script] v1.5 loaded.")