Advertisement
Guest User

arsenal silent aim

a guest
Mar 3rd, 2023
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. --Full Roblox Arsenal Silent Aim Script with Visible FOV Circle--
  2.  
  3. local Player = game.Players.LocalPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6.  
  7. local Aimbot = {
  8. Enabled = true,
  9. FOV = 100,
  10. Target = nil
  11. }
  12.  
  13. -- Aimbot Function
  14. local function AimbotFunction()
  15. if Aimbot.Enabled == false then return end
  16. if Aimbot.Target == nil then
  17. for i, v in pairs(game.Players:GetPlayers()) do
  18. if v ~= Player and v.Character ~= nil and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 then
  19. local ScreenPoint = game.Workspace.CurrentCamera:WorldToScreenPoint(v.Character.Head.Position)
  20. 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
  21. local Angle = (Player.Character.Head.Position - v.Character.Head.Position).unit
  22. local AimingAngle = math.deg(math.atan2(Angle.X, Angle.Z))
  23. if math.abs(AimingAngle - Humanoid.CameraOffset.y) < Aimbot.FOV then
  24. Aimbot.Target = v
  25. return
  26. end
  27. end
  28. end
  29. end
  30. else
  31. local CFrame = CFrame.new(Player.Character.Head.Position, Aimbot.Target.Character.Head.Position)
  32. Humanoid.CameraOffset = Vector3.new(0, CFrame.y, 0)
  33. end
  34. end
  35.  
  36. -- Visible FOV Circle
  37. local FOVCircle = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  38. FOVCircle.Name = "FOV Circle"
  39.  
  40. local Circle = Instance.new("ImageLabel", FOVCircle)
  41. Circle.Name = "Circle"
  42. Circle.Image = "rbxassetid://1720361413"
  43. Circle.BackgroundTransparency = 1
  44. Circle.ImageColor3 = Color3.new(1, 0, 0)
  45. Circle.Size = UDim2.new(0, Aimbot.FOV * 3, 0, Aimbot.FOV * 3)
  46. Circle.Position = UDim2.new(0.5, -Aimbot.FOV * 1.5, 0.5, -Aimbot.FOV * 1.5)
  47.  
  48. -- Main Loop
  49. while true do
  50. AimbotFunction()
  51. wait(0.1)
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement