Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Full Roblox Arsenal Silent Aim Script with Visible FOV Circle--
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Aimbot = {
- Enabled = true,
- FOV = 100,
- Target = nil
- }
- -- Aimbot Function
- local function AimbotFunction()
- if Aimbot.Enabled == false then return end
- if Aimbot.Target == nil then
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= Player and v.Character ~= nil and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 then
- local ScreenPoint = game.Workspace.CurrentCamera:WorldToScreenPoint(v.Character.Head.Position)
- if ScreenPoint.X >= 0 and ScreenPoint.X <= game.Workspace.CurrentCamera.ViewportSize.X and ScreenPoint.Y >= 0 and ScreenPoint.Y <= game.Workspace.CurrentCamera.ViewportSize.Y then
- local Angle = (Player.Character.Head.Position - v.Character.Head.Position).unit
- local AimingAngle = math.deg(math.atan2(Angle.X, Angle.Z))
- if math.abs(AimingAngle - Humanoid.CameraOffset.y) < Aimbot.FOV then
- Aimbot.Target = v
- return
- end
- end
- end
- end
- else
- local CFrame = CFrame.new(Player.Character.Head.Position, Aimbot.Target.Character.Head.Position)
- Humanoid.CameraOffset = Vector3.new(0, CFrame.y, 0)
- end
- end
- -- Visible FOV Circle
- local FOVCircle = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- FOVCircle.Name = "FOV Circle"
- local Circle = Instance.new("ImageLabel", FOVCircle)
- Circle.Name = "Circle"
- Circle.Image = "rbxassetid://1720361413"
- Circle.BackgroundTransparency = 1
- Circle.ImageColor3 = Color3.new(1, 0, 0)
- Circle.Size = UDim2.new(0, Aimbot.FOV * 3, 0, Aimbot.FOV * 3)
- Circle.Position = UDim2.new(0.5, -Aimbot.FOV * 1.5, 0.5, -Aimbot.FOV * 1.5)
- -- Main Loop
- while true do
- AimbotFunction()
- wait(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement