-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- SWANHUB Arsenal | Rayfield UI | Anti-Kick Safe Aimbot local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "SWANHUB | Arsenal", LoadingTitle = "SWANHUB Loading", LoadingSubtitle = "Arsenal", ConfigurationSaving = { Enabled = true, FolderName = "SWANHUB", FileName = "SwanConfig" }, KeySystem = false }) local Tabs = { Visual = Window:CreateTab("Visuals", 4483362458), Aim = Window:CreateTab("Aimbot", 4483362458), Player = Window:CreateTab("Player", 4483362458), Misc = Window:CreateTab("Misc", 4483362458), Settings = Window:CreateTab("Settings", 4483362458) } local Config = { ESP = {Enabled = false, Box = false, Name = false, Distance = false, Tracer = false, Fill = false, TeamCheck = true, MaxDist = 1000}, Aim = {Enabled = false, Keybind = Enum.UserInputType.MouseButton2, FOV = 100, Smoothness = 10, TargetPart = "Head", ShowFOV = true, TeamCheck = true, Prediction = false, MaxAimDist = 250}, Player = {WalkSpeed = 16, JumpPower = 50, AntiAFK = false} } -- UI SETUP local VisualSection = Tabs.Visual:CreateSection("ESP") Tabs.Visual:CreateToggle({Name = "Enable ESP", CurrentValue = false, Flag = "ESPEnabled", Callback = function(v) Config.ESP.Enabled = v end}) Tabs.Visual:CreateToggle({Name = "Box ESP", CurrentValue = false, Flag = "ESPBox", Callback = function(v) Config.ESP.Box = v end}) Tabs.Visual:CreateToggle({Name = "Name ESP", CurrentValue = false, Flag = "ESPName", Callback = function(v) Config.ESP.Name = v end}) Tabs.Visual:CreateToggle({Name = "Distance", CurrentValue = false, Flag = "ESPDist", Callback = function(v) Config.ESP.Distance = v end}) Tabs.Visual:CreateToggle({Name = "Tracers", CurrentValue = false, Flag = "ESPTracer", Callback = function(v) Config.ESP.Tracer = v end}) Tabs.Visual:CreateSlider({Name = "Max Distance", Range = {100, 5000}, Increment = 100, Suffix = " studs", CurrentValue = 1000, Flag = "ESPMaxDist", Callback = function(v) Config.ESP.MaxDist = v end}) local AimSection = Tabs.Aim:CreateSection("Aimbot (Legit)") Tabs.Aim:CreateToggle({Name = "Enable Aimbot", CurrentValue = false, Flag = "AimEnabled", Callback = function(v) Config.Aim.Enabled = v end}) Tabs.Aim:CreateToggle({Name = "Show FOV", CurrentValue = true, Flag = "ShowFOV", Callback = function(v) Config.Aim.ShowFOV = v end}) Tabs.Aim:CreateSlider({Name = "FOV Radius", Range = {10, 150}, Increment = 10, Suffix = " px", CurrentValue = 100, Flag = "AimFOV", Callback = function(v) Config.Aim.FOV = v end}) Tabs.Aim:CreateSlider({Name = "Smoothness", Range = {1, 20}, Increment = 1, Suffix = "", CurrentValue = 10, Flag = "Smooth", Callback = function(v) Config.Aim.Smoothness = v end}) Tabs.Aim:CreateSlider({Name = "Max Aim Dist", Range = {50, 500}, Increment = 50, Suffix = " studs", CurrentValue = 250, Flag = "MaxAimDist", Callback = function(v) Config.Aim.MaxAimDist = v end}) Tabs.Aim:CreateDropdown({Name = "Target Part", Options = {"Head", "HumanoidRootPart", "UpperTorso"}, CurrentOption = {"Head"}, Flag = "TargetPart", Callback = function(option) Config.Aim.TargetPart = option[1] end}) Tabs.Aim:CreateKeybind({Name = "Aim Keybind", CurrentKeybind = "MouseButton2", HoldToInteract = true, Flag = "AimKey", Callback = function(key) if typeof(key) == "string" then local success, enum = pcall(function() return Enum.UserInputType[key] end) if success then Config.Aim.Keybind = enum else local success2, enum2 = pcall(function() return Enum.KeyCode[key] end) if success2 then Config.Aim.Keybind = enum2 end end else Config.Aim.Keybind = key end end}) local MoveSection = Tabs.Player:CreateSection("Movement (Safe)") Tabs.Player:CreateSlider({Name = "WalkSpeed (Max 24)", Range = {16, 24}, Increment = 1, Suffix = " spd", CurrentValue = 16, Flag = "WS", Callback = function(v) Config.Player.WalkSpeed = v end}) local MiscSection = Tabs.Misc:CreateSection("Utility") Tabs.Misc:CreateToggle({Name = "Anti AFK", CurrentValue = true, Flag = "AntiAFK", Callback = function(v) Config.Player.AntiAFK = v end}) local ConfigSection = Tabs.Settings:CreateSection("Configuration") Tabs.Settings:CreateButton({Name = "Exit Hub", Callback = function() Rayfield:Destroy() end}) -- SERVICES & LOGIC local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local CurrentTarget = nil local Drawings = {} local FOVCircle = Drawing.new("Circle") local RaycastParams = RaycastParams.new() RaycastParams.FilterType = Enum.RaycastFilterType.Exclude local function GetCharacter(player) if player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 then return player.Character end return nil end local function IsTeammate(player) if player.Team and LocalPlayer.Team then return player.Team == LocalPlayer.Team end if player.TeamColor and LocalPlayer.TeamColor then return player.TeamColor == LocalPlayer.TeamColor end return false end local function CreateESP(player) Drawings[player.Name] = { Box = Drawing.new("Square"), Name = Drawing.new("Text"), Distance = Drawing.new("Text"), Tracer = Drawing.new("Line") } end local function RemoveESP(player) if Drawings[player.Name] then for _, obj in pairs(Drawings[player.Name]) do obj:Remove() end Drawings[player.Name] = nil end end local function IsAimKeyDown() local key = Config.Aim.Keybind if not key then return false end if typeof(key) == "EnumItem" then if key.EnumType == Enum.UserInputType then return UserInputService:IsMouseButtonPressed(key) elseif key.EnumType == Enum.KeyCode then return UserInputService:IsKeyDown(key) end end return false end -- ESP Loop RunService.RenderStepped:Connect(function() if Config.Aim.ShowFOV and Config.Aim.Enabled then FOVCircle.Position = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) FOVCircle.Radius = Config.Aim.FOV FOVCircle.Visible = true FOVCircle.Thickness = 1 FOVCircle.Color = Color3.fromRGB(255, 255, 255) else FOVCircle.Visible = false end for _, player in pairs(Players:GetPlayers()) do if player == LocalPlayer then continue end local char = GetCharacter(player) if not Drawings[player.Name] and Config.ESP.Enabled then CreateESP(player) end if not Config.ESP.Enabled and Drawings[player.Name] then RemoveESP(player) end if char and Drawings[player.Name] then if Config.ESP.TeamCheck and IsTeammate(player) then for _, obj in pairs(Drawings[player.Name]) do obj.Visible = false end continue end local cf, size = char:GetBoundingBox() local topPos, bottomPos = cf.Position + Vector3.new(0, size.Y / 2, 0), cf.Position - Vector3.new(0, size.Y / 2, 0) local topScreen, onScreenTop = Camera:WorldToViewportPoint(topPos) local bottomScreen, onScreenBottom = Camera:WorldToViewportPoint(bottomPos) local hrpPos = char.HumanoidRootPart.Position local dist = (LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and (LocalPlayer.Character.HumanoidRootPart.Position - hrpPos).Magnitude or 0) if onScreenTop and onScreenBottom and topScreen.Z > 0 and bottomScreen.Z > 0 and dist <= Config.ESP.MaxDist then local height = math.abs(topScreen.Y - bottomScreen.Y) local width = height / 2 local x, y = topScreen.X - (width / 2), topScreen.Y local espColor = Color3.fromRGB(255, 0, 0) Drawings[player.Name].Box.Size = Vector2.new(width, height) Drawings[player.Name].Box.Position = Vector2.new(x, y) Drawings[player.Name].Box.Color = espColor Drawings[player.Name].Box.Visible = Config.ESP.Box Drawings[player.Name].Box.Thickness = 1 Drawings[player.Name].Box.Filled = Config.ESP.Fill Drawings[player.Name].Name.Text = player.Name Drawings[player.Name].Name.Position = Vector2.new(topScreen.X, y - 14) Drawings[player.Name].Name.Size = 12 Drawings[player.Name].Name.Center = true Drawings[player.Name].Name.Outline = true Drawings[player.Name].Name.Color = espColor Drawings[player.Name].Name.Visible = Config.ESP.Name Drawings[player.Name].Distance.Text = math.floor(dist) .. "m" Drawings[player.Name].Distance.Position = Vector2.new(topScreen.X, y + height + 2) Drawings[player.Name].Distance.Size = 11 Drawings[player.Name].Distance.Center = true Drawings[player.Name].Distance.Outline = true Drawings[player.Name].Distance.Color = espColor Drawings[player.Name].Distance.Visible = Config.ESP.Distance Drawings[player.Name].Tracer.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y) Drawings[player.Name].Tracer.To = Vector2.new(topScreen.X, y + height) Drawings[player.Name].Tracer.Color = espColor Drawings[player.Name].Tracer.Thickness = 1 Drawings[player.Name].Tracer.Visible = Config.ESP.Tracer else for _, obj in pairs(Drawings[player.Name]) do obj.Visible = false end end end end end) -- Aimbot Target Logic local function GetClosestTarget() local closest, shortestDist = nil, Config.Aim.FOV local screenCenter = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer then if Config.Aim.TeamCheck and IsTeammate(p) then continue end local c = GetCharacter(p) if c then local targetPart = c:FindFirstChild(Config.Aim.TargetPart) or c:FindFirstChild("HumanoidRootPart") if targetPart then local distToChar = (LocalPlayer.Character.HumanoidRootPart.Position - c.HumanoidRootPart.Position).Magnitude if distToChar <= Config.Aim.MaxAimDist then -- Wall Check RaycastParams.FilterDescendantsInstances = {LocalPlayer.Character, c} local rayResult = Workspace:Raycast(Camera.CFrame.Position, targetPart.Position - Camera.CFrame.Position, RaycastParams) if not rayResult then -- Line of sight is clear local screenPos, onScreen = Camera:WorldToViewportPoint(targetPart.Position) if onScreen then local dist = (screenCenter - Vector2.new(screenPos.X, screenPos.Y)).Magnitude if dist < shortestDist then shortestDist = dist closest = targetPart end end end end end end end end return closest end -- Camera Aimbot (Heavily Softened) RunService:BindToRenderStep("SwanAim", Enum.RenderPriority.Camera.Value + 1, function() if not Config.Aim.Enabled or not LocalPlayer.Character then return end CurrentTarget = GetClosestTarget() if CurrentTarget and IsAimKeyDown() then local targetCFrame = CFrame.lookAt(Camera.CFrame.Position, CurrentTarget.Position) -- Lowered aimbot: Divisor changed to /100 for a max alpha of 0.20 -- Forces a smooth, human-like tracking delay local alpha = math.clamp(Config.Aim.Smoothness / 100, 0.01, 0.20) Camera.CFrame = Camera.CFrame:Lerp(targetCFrame, alpha) end end) -- Movement Loop RunService.Heartbeat:Connect(function() if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then local hum = LocalPlayer.Character.Humanoid if Config.Player.WalkSpeed > 0 and hum.WalkSpeed ~= Config.Player.WalkSpeed then hum.WalkSpeed = Config.Player.WalkSpeed end end end) -- Anti-AFK task.spawn(function() while task.wait(60) do if Config.Player.AntiAFK then local VirtualUser = game:GetService("VirtualUser") VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end end end) Players.PlayerRemoving:Connect(function(player) RemoveESP(player) end)