local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Combat Suite", LoadingTitle = "Loading Systems...", LoadingSubtitle = "ISOXTERIA", ConfigurationSaving = { Enabled = true, FolderName = "AIMBOT", FileName = "MainConfig" } }) -- --- SERVICES & VARIABLES --- local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera local UserInputService = game:GetService("UserInputService") local AimbotEnabled = false local TurnBotEnabled = false local ESPEnabled = false local TeamCheck = true local Smoothness = 0.2 local FOVRadius = 150 local ShowFOV = true -- --- FOV CIRCLE DRAWING --- local FOVCircle = Drawing.new("Circle") FOVCircle.Thickness = 1 FOVCircle.Color = Color3.fromRGB(255, 255, 255) FOVCircle.Transparency = 0.7 FOVCircle.Visible = false -- --- UTILITIES --- local function isEnemy(player) if not TeamCheck then return true end if not player.Team or not LocalPlayer.Team then return true end return player.Team ~= LocalPlayer.Team end local function isVisible(targetPart) local raycastParams = RaycastParams.new() raycastParams.FilterDescendantsInstances = {LocalPlayer.Character, targetPart.Parent} raycastParams.FilterType = Enum.RaycastFilterType.Exclude local result = workspace:Raycast(Camera.CFrame.Position, (targetPart.Position - Camera.CFrame.Position), raycastParams) return result == nil end -- --- UI TABS --- local MainTab = Window:CreateTab("Main", 4483362458) MainTab:CreateSection("Aimbot & TurnBot") MainTab:CreateToggle({ Name = "Enable Head-Lock", CurrentValue = false, Callback = function(Value) AimbotEnabled = Value end, }) MainTab:CreateToggle({ Name = "Enable Smart TurnBot", CurrentValue = false, Info = "Only turns if an enemy behind you is NOT in cover", Callback = function(Value) TurnBotEnabled = Value end, }) MainTab:CreateSlider({ Name = "FOV Size", Range = {50, 800}, Increment = 10, CurrentValue = 150, Callback = function(Value) FOVRadius = Value end, }) MainTab:CreateSlider({ Name = "Smoothness", Range = {0.1, 1}, Increment = 0.1, CurrentValue = 0.2, Callback = function(Value) Smoothness = Value end, }) MainTab:CreateSection("Visuals") MainTab:CreateToggle({ Name = "Show FOV Circle", CurrentValue = true, Callback = function(Value) ShowFOV = Value end, }) MainTab:CreateToggle({ Name = "Enable ESP", CurrentValue = false, Callback = function(Value) ESPEnabled = Value end, }) MainTab:CreateToggle({ Name = "Team Check", CurrentValue = true, Callback = function(Value) TeamCheck = Value end, }) -- --- ESP LOGIC --- local function applyESP(player) player.CharacterAdded:Connect(function(char) local head = char:WaitForChild("Head", 5) if not head then return end local billboard = Instance.new("BillboardGui", head) billboard.AlwaysOnTop = true billboard.Size = UDim2.new(0, 100, 0, 50) billboard.StudsOffset = Vector3.new(0, 2, 0) local label = Instance.new("TextLabel", billboard) label.BackgroundTransparency = 1 label.Size = UDim2.new(1, 0, 1, 0) label.TextColor3 = Color3.fromRGB(255, 50, 50) label.Font = Enum.Font.Code label.TextStrokeTransparency = 0 RunService.RenderStepped:Connect(function() if not char:IsDescendantOf(workspace) then billboard:Destroy() return end billboard.Enabled = ESPEnabled and isEnemy(player) if billboard.Enabled then local dist = math.floor((head.Position - Camera.CFrame.Position).Magnitude) label.Text = string.format("%s\n[%dm]", player.Name, dist) end end) end) end for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer then applyESP(p) end end Players.PlayerAdded:Connect(applyESP) -- --- MAIN RENDER LOOP --- RunService.RenderStepped:Connect(function() FOVCircle.Position = UserInputService:GetMouseLocation() FOVCircle.Radius = FOVRadius FOVCircle.Visible = ShowFOV and AimbotEnabled if not (AimbotEnabled or TurnBotEnabled) then return end local bestTarget = nil local targetIsBehind = false for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and isEnemy(player) and player.Character then local head = player.Character:FindFirstChild("Head") local hum = player.Character:FindFirstChild("Humanoid") if head and hum and hum.Health > 0 then local screenPos, onScreen = Camera:WorldToViewportPoint(head.Position) local relativeVector = (head.Position - Camera.CFrame.Position) local isBehind = Camera.CFrame.LookVector:Dot(relativeVector.unit) < 0 -- SMART CHECK: Only proceed if they aren't behind cover if isVisible(head) then -- Priority 1: Aimbot (On Screen) if AimbotEnabled and onScreen then local mouse = UserInputService:GetMouseLocation() local dist = (Vector2.new(screenPos.X, screenPos.Y) - mouse).Magnitude if dist < FOVRadius then bestTarget = head targetIsBehind = false break -- Found visible front target, stop looking end end -- Priority 2: TurnBot (Behind and Visible) if TurnBotEnabled and isBehind and not bestTarget then bestTarget = head targetIsBehind = true end end end end end if bestTarget then local targetCF = CFrame.new(Camera.CFrame.Position, bestTarget.Position) -- Applies smoothness to both Aimbot and TurnBot for a 'Smart' feel Camera.CFrame = Camera.CFrame:Lerp(targetCF, Smoothness) end end) Rayfield:LoadConfiguration()