local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local camera = workspace.CurrentCamera local player = Players.LocalPlayer local aimEnabled = false local espEnabled = false local fovSize = 150 local aimPart = "Torso" local fovCircle local holdingRMB = false local function createGUI() local gui = Instance.new("ScreenGui") gui.Name = "FSB_UI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local btn = Instance.new("TextButton") btn.Size = UDim2.new(0,60,0,60) btn.Position = UDim2.new(0.5,-30,0,10) btn.Text = "FSB" btn.BackgroundTransparency = 0.5 btn.BackgroundColor3 = Color3.fromRGB(0,0,0) btn.TextColor3 = Color3.fromRGB(255,255,255) btn.Font = Enum.Font.GothamBold btn.TextScaled = true btn.Parent = gui Instance.new("UICorner", btn).CornerRadius = UDim.new(1,0) btn.AnchorPoint = Vector2.new(0.5,0) local frame = Instance.new("Frame") frame.Size = UDim2.new(0,250,0,180) frame.Position = UDim2.new(0.5,-125,0.5,-90) frame.BackgroundColor3 = Color3.fromRGB(20,20,20) frame.Visible = false frame.Parent = gui local title = Instance.new("TextLabel") title.Text = "Arsenal Script" title.Size = UDim2.new(1,0,0,30) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.TextSize = 20 title.TextColor3 = Color3.fromRGB(255,255,255) title.Parent = frame local espBtn = Instance.new("TextButton") espBtn.Size = UDim2.new(1,-20,0,40) espBtn.Position = UDim2.new(0,10,0,90) espBtn.Text = "Toggle ESP" espBtn.BackgroundColor3 = Color3.fromRGB(60,60,60) espBtn.TextColor3 = Color3.fromRGB(255,255,255) espBtn.Font = Enum.Font.Gotham espBtn.TextSize = 16 espBtn.Parent = frame Instance.new("UICorner", espBtn).CornerRadius = UDim.new(0,8) local credit = Instance.new("TextLabel") credit.Text = "Made by Fast_Skullbeats" credit.Size = UDim2.new(1,0,0,30) credit.Position = UDim2.new(0,0,1,-30) credit.BackgroundTransparency = 1 credit.Font = Enum.Font.Gotham credit.TextSize = 14 credit.TextColor3 = Color3.fromRGB(170,0,255) credit.Parent = frame btn.MouseButton1Click:Connect(function() frame.Visible = not frame.Visible end) espBtn.MouseButton1Click:Connect(function() espEnabled = not espEnabled end) end local function createFOV() fovCircle = Drawing.new("Circle") fovCircle.Visible = true fovCircle.Thickness = 2 fovCircle.Radius = fovSize fovCircle.Color = Color3.fromRGB(170,0,255) fovCircle.Filled = false end local function makeCharm(char) if char:FindFirstChild("HumanoidRootPart") and not char:FindFirstChild("FSB_ESP") then local box = Instance.new("BoxHandleAdornment") box.Name = "FSB_ESP" box.Adornee = char.HumanoidRootPart box.Size = Vector3.new(4,6,2) box.Color3 = Color3.fromRGB(170,0,255) box.AlwaysOnTop = true box.ZIndex = 5 box.Transparency = 0.4 box.Parent = char end end local function getTarget() local closest, distCheck = nil, math.huge for _,plr in pairs(Players:GetPlayers()) do if plr ~= player and plr.Character and plr.Character:FindFirstChild("Humanoid") then if plr.Character.Humanoid.Health > 0 then local part = plr.Character:FindFirstChild(aimPart) if part then local screenPos, onScreen = camera:WorldToViewportPoint(part.Position) if onScreen then local dist = (Vector2.new(screenPos.X,screenPos.Y)-camera.ViewportSize/2).Magnitude if dist < fovSize and dist < distCheck then local rayParams = RaycastParams.new() rayParams.FilterDescendantsInstances = {player.Character} rayParams.FilterType = Enum.RaycastFilterType.Blacklist local res = workspace:Raycast(camera.CFrame.Position,(part.Position-camera.CFrame.Position),rayParams) if res and res.Instance:IsDescendantOf(plr.Character) then distCheck = dist closest = part end end end end end end end return closest end createGUI() createFOV() player.CharacterAdded:Connect(function() createGUI() createFOV() end) UserInputService.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton2 then holdingRMB = true end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton2 then holdingRMB = false end end) RunService.RenderStepped:Connect(function() fovCircle.Position = camera.ViewportSize/2 if holdingRMB then local t = getTarget() if t then camera.CFrame = CFrame.new(camera.CFrame.Position,t.Position) end end if espEnabled then for _,plr in pairs(Players:GetPlayers()) do if plr ~= player and plr.Character then makeCharm(plr.Character) end end else for _,plr in pairs(Players:GetPlayers()) do if plr.Character and plr.Character:FindFirstChild("FSB_ESP") then plr.Character.FSB_ESP:Destroy() end end end end)