Guest User

maybe the best free arsenal script?

a guest
Feb 28th, 2025
2,098
2
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.79 KB | Gaming | 2 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "NSZ Arsenal chair",
  5. LoadingTitle = "NSZ Arsenal chair",
  6. LoadingSubtitle = "by NSZClopz",
  7. Theme = "Default",
  8.  
  9. DisableRayfieldPrompts = false,
  10. DisableBuildWarnings = false,
  11.  
  12. ConfigurationSaving = {
  13. Enabled = true,
  14. FolderName = nil,
  15. FileName = "Big Hub"
  16. },
  17.  
  18. Discord = {
  19. Enabled = false,
  20. Invite = "noinvitelink",
  21. RememberJoins = true
  22. },
  23.  
  24. KeySystem = false,
  25. KeySettings = {
  26. Title = "Untitled",
  27. Subtitle = "Key System",
  28. Note = "No method of obtaining the key is provided",
  29. FileName = "Key",
  30. SaveKey = true,
  31. GrabKeyFromSite = false,
  32. Key = {"Hello"}
  33. }
  34. })
  35.  
  36. Rayfield:Notify({
  37. Title = "Cheat successfully executed!",
  38. Content = "Have fun!",
  39. Duration = 3.5,
  40. Image = 4483362458,
  41. })
  42.  
  43. local VisualsTab = Window:CreateTab("Visuals", 4483362458)
  44. local VisualsSection = VisualsTab:CreateSection("ESP")
  45.  
  46. -- Services
  47. local Players = game:GetService("Players")
  48. local RunService = game:GetService("RunService")
  49. local LocalPlayer = Players.LocalPlayer
  50. local Camera = workspace.CurrentCamera
  51.  
  52. -- Variables for ESP
  53. local espEnabled = false -- Tracks the ESP state
  54. local espConnection -- Stores the RenderStepped connection for ESP updates
  55.  
  56. -- Variables for Tracers
  57. local drawLinesEnabled = false
  58. local lines = {} -- Store all the lines
  59. local tracerConnection -- Stores the RenderStepped connection for tracers
  60.  
  61. -- Function to create a hollow rectangle with thicker borders (ESP box)
  62. local function createHollowBox()
  63. local box = Instance.new("BillboardGui")
  64. box.Size = UDim2.new(4, 0, 5, 0)
  65. box.AlwaysOnTop = true
  66. box.Adornee = nil
  67. box.Name = "PlayerBox"
  68.  
  69. local borderThickness = 0.05 -- Increased from 0.03 to make borders thicker
  70.  
  71. local top = Instance.new("Frame")
  72. top.Size = UDim2.new(1, 0, borderThickness, 0)
  73. top.Position = UDim2.new(0, 0, 0, 0)
  74. top.BackgroundColor3 = Color3.new(1, 0, 0)
  75. top.BorderSizePixel = 0
  76. top.Parent = box
  77.  
  78. local bottom = Instance.new("Frame")
  79. bottom.Size = UDim2.new(1, 0, borderThickness, 0)
  80. bottom.Position = UDim2.new(0, 0, 1 - borderThickness, 0)
  81. bottom.BackgroundColor3 = Color3.new(1, 0, 0)
  82. bottom.BorderSizePixel = 0
  83. bottom.Parent = box
  84.  
  85. local left = Instance.new("Frame")
  86. left.Size = UDim2.new(borderThickness, 0, 1, 0)
  87. left.Position = UDim2.new(0, 0, 0, 0)
  88. left.BackgroundColor3 = Color3.new(1, 0, 0)
  89. left.BorderSizePixel = 0
  90. left.Parent = box
  91.  
  92. local right = Instance.new("Frame")
  93. right.Size = UDim2.new(borderThickness, 0, 1, 0)
  94. right.Position = UDim2.new(1 - borderThickness, 0, 0, 0)
  95. right.BackgroundColor3 = Color3.new(1, 0, 0)
  96. right.BorderSizePixel = 0
  97. right.Parent = box
  98.  
  99. return box
  100. end
  101.  
  102. -- Function to check if a player is on the enemy team
  103. local function isEnemyTeam(player)
  104. return player.Team ~= LocalPlayer.Team
  105. end
  106.  
  107. -- Function to highlight all enemy players (ESP)
  108. local function highlightAllPlayers()
  109. for _, player in pairs(Players:GetPlayers()) do
  110. if player ~= LocalPlayer and isEnemyTeam(player) then
  111. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  112. if not player.Character:FindFirstChild("PlayerBox") then
  113. local box = createHollowBox()
  114. box.Adornee = player.Character:FindFirstChild("HumanoidRootPart")
  115. box.Parent = player.Character
  116. end
  117. end
  118. else
  119. if player.Character and player.Character:FindFirstChild("PlayerBox") then
  120. player.Character.PlayerBox:Destroy()
  121. end
  122. end
  123. end
  124. end
  125.  
  126. -- Clean up highlights when players leave
  127. local function onPlayerRemoving(player)
  128. if player.Character and player.Character:FindFirstChild("PlayerBox") then
  129. player.Character.PlayerBox:Destroy()
  130. end
  131. end
  132.  
  133. -- Enable or disable ESP
  134. local function toggleESP(state)
  135. if state then
  136. espConnection = RunService.RenderStepped:Connect(highlightAllPlayers)
  137. Players.PlayerRemoving:Connect(onPlayerRemoving)
  138. else
  139. if espConnection then
  140. espConnection:Disconnect()
  141. espConnection = nil
  142. end
  143. for _, player in pairs(Players:GetPlayers()) do
  144. if player.Character and player.Character:FindFirstChild("PlayerBox") then
  145. player.Character.PlayerBox:Destroy()
  146. end
  147. end
  148. end
  149. end
  150.  
  151. -- Function to create and update tracers (lines)
  152. local function createLine()
  153. local line = Drawing.new("Line")
  154. line.Visible = true
  155. line.Thickness = 3 -- Increased from 1 to make lines thicker
  156. line.Color = Color3.new(1, 0, 0)
  157. return line
  158. end
  159.  
  160. local function updateLines()
  161. -- Hide all lines first
  162. for _, line in ipairs(lines) do
  163. line.Visible = false
  164. end
  165.  
  166. local screenCenter = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  167. local index = 1
  168. for _, player in ipairs(Players:GetPlayers()) do
  169. -- Only draw lines to enemy team players
  170. if player ~= LocalPlayer and isEnemyTeam(player) and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  171. local character = player.Character
  172. local rootPart = character.HumanoidRootPart
  173. local worldPosition = rootPart.Position
  174. local screenPosition, onScreen = Camera:WorldToViewportPoint(worldPosition)
  175.  
  176. if onScreen then
  177. local line = lines[index] or createLine()
  178. line.From = screenCenter
  179. line.To = Vector2.new(screenPosition.X, screenPosition.Y)
  180. line.Visible = true
  181.  
  182. lines[index] = line
  183. index = index + 1
  184. end
  185. end
  186. end
  187.  
  188. -- Hide remaining lines if there are no players to connect to
  189. for i = index, #lines do
  190. lines[i].Visible = false
  191. end
  192. end
  193.  
  194. local function cleanupLines()
  195. -- Clean up the lines by making them invisible and removing them
  196. for _, line in ipairs(lines) do
  197. line.Visible = false
  198. line:Remove()
  199. end
  200. lines = {}
  201. end
  202.  
  203. -- Toggle for tracers (line drawing)
  204. local function toggleLineDrawing(state)
  205. if state then
  206. tracerConnection = RunService.RenderStepped:Connect(updateLines)
  207. else
  208. if tracerConnection then
  209. tracerConnection:Disconnect()
  210. tracerConnection = nil
  211. end
  212. cleanupLines()
  213. end
  214. end
  215.  
  216. -- Rayfield UI Toggles
  217.  
  218. -- ESP Toggle
  219. VisualsTab:CreateToggle({
  220. Name = "Enemy Boxes",
  221. CurrentValue = false,
  222. Flag = "BOX1",
  223. Callback = function(Value)
  224. espEnabled = Value
  225. toggleESP(Value)
  226. end,
  227. })
  228.  
  229. -- Tracers Toggle
  230. VisualsTab:CreateToggle({
  231. Name = "Enemy Tracers",
  232. CurrentValue = false,
  233. Flag = "Tracer1",
  234. Callback = function(Value)
  235. drawLinesEnabled = Value
  236. toggleLineDrawing(Value)
  237. end,
  238. })
  239.  
  240.  
  241. local MoveTab = Window:CreateTab("Misc", 4483362458) -- Title, Image
  242. local MoveSection = MoveTab:CreateSection("Awesome Sauce")
  243.  
  244. local Toggle = MoveTab:CreateButton({
  245. Name = "Strafe/bhop",
  246. Callback = function(Value)
  247. -- Movement settings
  248. local STRAFE_SPEED = 30
  249. local AIR_MULTIPLIER = 1.5
  250. local BHOP_POWER = 40
  251.  
  252. -- Services
  253. local Players = game:GetService("Players")
  254. local UserInputService = game:GetService("UserInputService")
  255. local RunService = game:GetService("RunService")
  256.  
  257. -- Local player setup
  258. local player = Players.LocalPlayer
  259. local mouse = player:GetMouse()
  260.  
  261. -- Variables
  262. local moveKeys = {
  263. W = false,
  264. A = false,
  265. S = false,
  266. D = false,
  267. Space = false
  268. }
  269.  
  270. -- Functions to handle character access safely
  271. local function getChar()
  272. return player.Character or player.CharacterAdded:Wait()
  273. end
  274.  
  275. local function getRoot()
  276. local char = getChar()
  277. return char:FindFirstChild("HumanoidRootPart")
  278. end
  279.  
  280. local function getHumanoid()
  281. local char = getChar()
  282. return char:FindFirstChild("Humanoid")
  283. end
  284.  
  285. -- Movement function
  286. local function calculateMoveDirection()
  287. local dir = Vector3.new(0, 0, 0)
  288. local char = getChar()
  289. if not char then return dir end
  290.  
  291. local cf = workspace.CurrentCamera.CFrame
  292.  
  293. if moveKeys.W then
  294. dir = dir + cf.LookVector
  295. end
  296. if moveKeys.S then
  297. dir = dir - cf.LookVector
  298. end
  299. if moveKeys.A then
  300. dir = dir - cf.RightVector
  301. end
  302. if moveKeys.D then
  303. dir = dir + cf.RightVector
  304. end
  305.  
  306. dir = Vector3.new(dir.X, 0, dir.Z).Unit
  307. return dir
  308. end
  309.  
  310. -- Key handling
  311. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  312. if gameProcessed then return end
  313.  
  314. if input.KeyCode == Enum.KeyCode.W then
  315. moveKeys.W = true
  316. elseif input.KeyCode == Enum.KeyCode.A then
  317. moveKeys.A = true
  318. elseif input.KeyCode == Enum.KeyCode.S then
  319. moveKeys.S = true
  320. elseif input.KeyCode == Enum.KeyCode.D then
  321. moveKeys.D = true
  322. elseif input.KeyCode == Enum.KeyCode.Space then
  323. moveKeys.Space = true
  324. end
  325. end)
  326.  
  327. UserInputService.InputEnded:Connect(function(input, gameProcessed)
  328. if input.KeyCode == Enum.KeyCode.W then
  329. moveKeys.W = false
  330. elseif input.KeyCode == Enum.KeyCode.A then
  331. moveKeys.A = false
  332. elseif input.KeyCode == Enum.KeyCode.S then
  333. moveKeys.S = false
  334. elseif input.KeyCode == Enum.KeyCode.D then
  335. moveKeys.D = false
  336. elseif input.KeyCode == Enum.KeyCode.Space then
  337. moveKeys.Space = false
  338. end
  339. end)
  340.  
  341. -- Main movement loop
  342. RunService.Heartbeat:Connect(function()
  343. local char = getChar()
  344. local root = getRoot()
  345. local humanoid = getHumanoid()
  346.  
  347. if not char or not root or not humanoid then return end
  348.  
  349. -- Calculate movement
  350. local moveDir = calculateMoveDirection()
  351. local isInAir = humanoid:GetState() == Enum.HumanoidStateType.Jumping or
  352. humanoid:GetState() == Enum.HumanoidStateType.Freefall
  353.  
  354. -- Apply movement
  355. if moveDir.Magnitude > 0 then
  356. local speed = STRAFE_SPEED
  357. if isInAir then
  358. speed = speed * AIR_MULTIPLIER
  359. end
  360.  
  361. -- Set velocity
  362. local newVel = moveDir * speed
  363. root.Velocity = Vector3.new(
  364. newVel.X,
  365. root.Velocity.Y, -- Preserve vertical velocity
  366. newVel.Z
  367. )
  368.  
  369. -- Bunny hop
  370. if moveKeys.Space and root.Velocity.Y < 1 then
  371. root.Velocity = Vector3.new(
  372. root.Velocity.X,
  373. BHOP_POWER,
  374. root.Velocity.Z
  375. )
  376. end
  377. end
  378. end)
  379.  
  380. -- Notification
  381. game:GetService("StarterGui"):SetCore("SendNotification", {
  382. Title = "Movement Script Loaded",
  383. Text = "Controls: WASD to move, Space to jump",
  384. Duration = 5
  385. })
  386. end,
  387. })
  388.  
  389. local Button = MoveTab:CreateButton({
  390. Name = "Infinite Yield",
  391. Callback = function()
  392. loadstring(game:HttpGet("https://cdn.wearedevs.net/scripts/Infinite%20Yield.txt"))()
  393. end,
  394. })
  395.  
  396. local Button = MoveTab:CreateButton({
  397. Name = "NoClip(N)",
  398. Callback = function()
  399. -- Local Script (Place in StarterPlayerScripts for local player functionality)
  400.  
  401. local player = game.Players.LocalPlayer
  402. local character = player.Character or player.CharacterAdded:Wait()
  403. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  404. local noclip = false -- Initial state of noclip
  405. local UIS = game:GetService("UserInputService")
  406.  
  407. -- Function to toggle noclip
  408. local function toggleNoclip()
  409. noclip = not noclip
  410. if noclip then
  411. print("Noclip enabled")
  412. else
  413. print("Noclip disabled")
  414. end
  415. end
  416.  
  417. -- Detecting player input to toggle noclip (e.g., pressing "N")
  418. UIS.InputBegan:Connect(function(input, gameProcessed)
  419. if not gameProcessed and input.KeyCode == Enum.KeyCode.N then
  420. toggleNoclip()
  421. end
  422. end)
  423.  
  424. -- Continuously update character collisions
  425. game:GetService("RunService").Stepped:Connect(function()
  426. if noclip then
  427. for _, part in pairs(character:GetDescendants()) do
  428. if part:IsA("BasePart") and part.CanCollide then
  429. part.CanCollide = false
  430. end
  431. end
  432. else
  433. for _, part in pairs(character:GetDescendants()) do
  434. if part:IsA("BasePart") and not part.CanCollide then
  435. part.CanCollide = true
  436. end
  437. end
  438. end
  439. end)
  440.  
  441. end,
  442. })
  443.  
  444. local AimTab = Window:CreateTab("Aimbot", 4483362458) -- Title, Image
  445. local AimbotSection = AimTab:CreateSection("Aimbot")
  446.  
  447. local UserInputService = game:GetService("UserInputService")
  448. local Players = game:GetService("Players")
  449. local RunService = game:GetService("RunService")
  450. local Camera = workspace.CurrentCamera
  451. local LocalPlayer = Players.LocalPlayer
  452.  
  453. local LockedPlayer = nil
  454. local LastKnownPosition = nil
  455. local FieldOfView = 40 -- Set the field of view to 40 degrees
  456. local CenterPrioritizationFactor = 0.5 -- Decrease this value to shrink the priority "circle"
  457. local AimbotEnabled = false -- Track whether the aimbot is enabled or not
  458.  
  459. -- Function to check if a player is on the enemy team
  460. local function isEnemyTeam(player)
  461. -- If the local player has no team, or the target player has no team, return false
  462. if not LocalPlayer.Team or not player.Team then
  463. return false
  464. end
  465.  
  466. -- Return true if the teams are different
  467. return LocalPlayer.Team ~= player.Team
  468. end
  469.  
  470. -- Function to get the body part based on weighted probabilities
  471. local function getTargetBodyPart()
  472. local randomValue = math.random()
  473. if randomValue <= 0.7 then
  474. return "UpperTorso" -- 70% chance
  475. else
  476. return "Head" -- 30% chance
  477. end
  478. end
  479.  
  480. -- Function to get the closest enemy player to the crosshair, prioritizing players near the center of the screen and closest to the player
  481. local function getClosestEnemyPlayerToCrosshair()
  482. local mousePosition = UserInputService:GetMouseLocation()
  483. local closestPlayer = nil
  484. local closestDistance = math.huge
  485. local cameraPosition = Camera.CFrame.Position
  486. local cameraForward = Camera.CFrame.LookVector
  487. local centerOfScreen = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  488.  
  489. for _, player in pairs(Players:GetPlayers()) do
  490. -- Only target players who are on the enemy team
  491. if player ~= LocalPlayer and player.Character and isEnemyTeam(player) then
  492. -- Choose body part based on weighted probability
  493. local targetBodyPartName = getTargetBodyPart()
  494. local bodyPart = player.Character:FindFirstChild(targetBodyPartName)
  495.  
  496. if bodyPart then
  497. local screenPosition, onScreen = Camera:WorldToViewportPoint(bodyPart.Position)
  498.  
  499. if onScreen then
  500. local playerPosition = bodyPart.Position - cameraPosition
  501. local angle = math.acos(cameraForward:Dot(playerPosition.Unit)) * (180 / math.pi)
  502.  
  503. -- Check if the player is within the FOV
  504. if angle <= FieldOfView / 2 then
  505. -- Calculate screen distance (distance between mouse and player)
  506. local screenDist = (Vector2.new(screenPosition.X, screenPosition.Y) - mousePosition).Magnitude
  507. -- Calculate distance from the center of the screen, but apply the CenterPrioritizationFactor to shrink the circle
  508. local distanceFromCenter = (Vector2.new(screenPosition.X, screenPosition.Y) - centerOfScreen).Magnitude * CenterPrioritizationFactor
  509. -- Calculate the distance from the local player to the target player
  510. local distanceToPlayer = (LocalPlayer.Character.Head.Position - bodyPart.Position).Magnitude
  511.  
  512. -- Combine these factors:
  513. -- Prioritize players close to the center and those closer to the local player
  514. local weightedScore = screenDist + distanceFromCenter + distanceToPlayer
  515.  
  516. -- Find the closest player based on the combined score
  517. if weightedScore < closestDistance then
  518. closestDistance = weightedScore
  519. closestPlayer = {player = player, bodyPart = targetBodyPartName}
  520. end
  521. end
  522. end
  523. end
  524. end
  525. end
  526.  
  527. return closestPlayer
  528. end
  529.  
  530. -- Function to lock the camera onto the target player's body part
  531. local function lockCameraOnPlayer(targetData)
  532. if targetData and targetData.player.Character then
  533. local bodyPart = targetData.player.Character:FindFirstChild(targetData.bodyPart)
  534.  
  535. if bodyPart then
  536. LockedPlayer = targetData.player
  537. LastKnownPosition = bodyPart.Position
  538.  
  539. RunService:BindToRenderStep("LockCamera", Enum.RenderPriority.Camera.Value, function()
  540. if LockedPlayer and LockedPlayer.Character and isEnemyTeam(LockedPlayer) then
  541. local currentBodyPart = LockedPlayer.Character:FindFirstChild(targetData.bodyPart)
  542.  
  543. if currentBodyPart then
  544. local targetPosition = currentBodyPart.Position
  545.  
  546. -- Check if the player has moved more than 5 meters
  547. if (targetPosition - LastKnownPosition).Magnitude > 5 then
  548. -- Stop tracking if the player has teleported more than 5 meters
  549. RunService:UnbindFromRenderStep("LockCamera")
  550. LockedPlayer = nil
  551. LastKnownPosition = nil
  552. return
  553. end
  554.  
  555. -- Update the last known position
  556. LastKnownPosition = targetPosition
  557.  
  558. -- Lock the camera onto the player's body part
  559. Camera.CFrame = CFrame.new(Camera.CFrame.Position, targetPosition)
  560. else
  561. RunService:UnbindFromRenderStep("LockCamera")
  562. LockedPlayer = nil
  563. LastKnownPosition = nil
  564. end
  565. else
  566. RunService:UnbindFromRenderStep("LockCamera")
  567. LockedPlayer = nil
  568. LastKnownPosition = nil
  569. end
  570. end)
  571. end
  572. end
  573. end
  574.  
  575. -- Rayfield UI Toggle for Aimbot
  576. local Toggle = AimTab:CreateToggle({
  577. Name = "Aimbot (RCLICK)",
  578. CurrentValue = false,
  579. Flag = "AIM1", -- A flag is the identifier for the configuration file
  580. Callback = function(Value)
  581. -- The function that takes place when the toggle is pressed
  582. AimbotEnabled = Value
  583. if not AimbotEnabled then
  584. -- Stop tracking if the aimbot is disabled
  585. RunService:UnbindFromRenderStep("LockCamera")
  586. LockedPlayer = nil
  587. LastKnownPosition = nil
  588. end
  589. end,
  590. })
  591.  
  592. -- Detect right-click and lock onto the closest enemy player within FOV, only if Aimbot is enabled
  593. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  594. if not gameProcessed and input.UserInputType == Enum.UserInputType.MouseButton2 and AimbotEnabled then
  595. local closestPlayer = getClosestEnemyPlayerToCrosshair()
  596. lockCameraOnPlayer(closestPlayer)
  597. end
  598. end)
  599.  
  600. -- Stop locking the camera when right-click is released
  601. UserInputService.InputEnded:Connect(function(input, gameProcessed)
  602. if input.UserInputType == Enum.UserInputType.MouseButton2 then
  603. RunService:UnbindFromRenderStep("LockCamera")
  604. LockedPlayer = nil
  605. LastKnownPosition = nil
  606. end
  607. end)
  608.  
  609. -- This next part is for silent aim, you can modify the vectors to change how good the silent aim is
  610. -- Function to get the Players service name dynamically
  611. local function getPlayersName()
  612. for i, v in pairs(game:GetChildren()) do
  613. if v.ClassName == "Players" then
  614. return v.Name
  615. end
  616. end
  617. end
  618.  
  619. local playersService = getPlayersName()
  620. local localPlayer = game[playersService].LocalPlayer
  621.  
  622. -- Global variables to control the script
  623. local isModificationEnabled = false
  624. local modificationCoroutine = nil
  625.  
  626. -- Function to modify player character parts
  627. local function modifyPlayerParts()
  628. while isModificationEnabled do
  629. for _, v in pairs(game[playersService]:GetPlayers()) do
  630. if v.Name ~= localPlayer.Name and v.Character then
  631. local parts = {
  632. "RightUpperLeg",
  633. "LeftUpperLeg",
  634. "HeadHB",
  635. "HumanoidRootPart"
  636. }
  637.  
  638. for _, partName in ipairs(parts) do
  639. local part = v.Character:FindFirstChild(partName)
  640. if part then
  641. part.CanCollide = false
  642. part.Transparency = 10
  643. part.Size = Vector3.new(10, 10, 10)
  644. end
  645. end
  646. end
  647. end
  648. wait(1) -- Wait for 1 second before next iteration
  649. end
  650.  
  651. -- Reset parts when modification is disabled
  652. for _, v in pairs(game[playersService]:GetPlayers()) do
  653. if v.Name ~= localPlayer.Name and v.Character then
  654. local parts = {
  655. "RightUpperLeg",
  656. "LeftUpperLeg",
  657. "HeadHB",
  658. "HumanoidRootPart"
  659. }
  660.  
  661. for _, partName in ipairs(parts) do
  662. local part = v.Character:FindFirstChild(partName)
  663. if part then
  664. part.CanCollide = true
  665. part.Transparency = 0
  666. part.Size = Vector3.new(1, 1, 1)
  667. end
  668. end
  669. end
  670. end
  671. end
  672.  
  673. -- Create Toggle for Player Part Modification
  674. local Toggle = AimTab:CreateToggle({
  675. Name = "silent aim",
  676. CurrentValue = false,
  677. Flag = "PlayerPartModification",
  678. Callback = function(Value)
  679. isModificationEnabled = Value
  680.  
  681. if Value then
  682. -- Start the modification coroutine
  683. modificationCoroutine = coroutine.create(modifyPlayerParts)
  684. coroutine.resume(modificationCoroutine)
  685. else
  686. -- If the coroutine is running, it will exit due to isModificationEnabled being false
  687. modificationCoroutine = nil
  688. end
  689. end,
  690. })
  691.  
  692.  
  693. local Toggle = AimTab:CreateToggle({
  694. Name = "TriggerBot",
  695. CurrentValue = false,
  696. Flag = "EnemyAutoClickToggle",
  697. Callback = function(Value)
  698. if Value then
  699. -- Activate auto-click
  700. getgenv().AutoClickConnection = game:GetService("RunService").RenderStepped:Connect(function()
  701. local Players = game:GetService("Players")
  702. local LocalPlayer = Players.LocalPlayer
  703. local Mouse = LocalPlayer:GetMouse()
  704.  
  705. if Mouse.Target and Mouse.Target.Parent then
  706. local TargetPlayer = Players:GetPlayerFromCharacter(Mouse.Target.Parent)
  707.  
  708. if TargetPlayer and TargetPlayer ~= LocalPlayer then
  709. if not TargetPlayer.Team or TargetPlayer.Team ~= LocalPlayer.Team then
  710. mouse1press()
  711. wait()
  712. mouse1release()
  713. end
  714. end
  715. end
  716. end)
  717. else
  718. -- Deactivate auto-click
  719. if getgenv().AutoClickConnection then
  720. getgenv().AutoClickConnection:Disconnect()
  721. end
  722. end
  723. end
  724. })
  725.  
  726. local ModsTab = Window:CreateTab("Gun Mods", 4483362458) -- Title, Image
  727. local ModsSection = ModsTab:CreateSection("Gun Mods")
  728.  
  729. local Toggle = ModsTab:CreateButton({
  730. Name = "Infinite ammo (arsenal)",
  731. Callback = function(Value)
  732. for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
  733. for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
  734. for i,x in next, getconnections(c.Changed) do
  735. x:Disable() -- probably not needed
  736. end
  737. if c.Name == "Ammo" or c.Name == "StoredAmmo" then
  738. c.Value = 300 -- don't set this above 300 or else your guns wont work
  739. end
  740. end
  741. end
  742. end,
  743. })
  744.  
  745. local Toggle = ModsTab:CreateButton({
  746. Name = "Infinite range (arsenal)",
  747. Callback = function(Value)
  748. for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
  749. for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
  750. for i,x in next, getconnections(c.Changed) do
  751. x:Disable() -- probably not needed
  752. end
  753. if c.Name == "Range" then
  754. c.Value = 9e9
  755. end
  756. end
  757. end
  758. end,
  759. })
  760.  
  761.  
  762. local Toggle = ModsTab:CreateButton({
  763. Name = "100% accuracy (arsenal)",
  764. Callback = function(Value)
  765. for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
  766. for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
  767. for i,x in next, getconnections(c.Changed) do
  768. x:Disable() -- probably not needed
  769. end
  770. if c.Name == "AReload" or c.Name == "RecoilControl" or c.Name == "EReload" or c.Name == "SReload" or c.Name == "ReloadTime" or c.Name == "EquipTime" or c.Name == "Spread" or c.Name == "MaxSpread" then
  771. c.Value = 0
  772. end
  773. end
  774. end
  775. end,
  776. })
  777.  
  778. local Toggle = ModsTab:CreateButton({
  779. Name = "fire rate (arsenal)",
  780. Callback = function(Value)
  781. for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
  782. for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
  783. for i,x in next, getconnections(c.Changed) do
  784. x:Disable() -- probably not needed
  785. end
  786. if c.Name == "FireRate" or c.Name == "BFireRate" then
  787. c.Value = 0.02 -- don't set this lower than 0.02 or else your game will crash
  788. end
  789. end
  790. end
  791. end,
  792. })
  793.  
  794.  
  795. local Toggle = ModsTab:CreateButton({
  796. Name = "all weapons automatic (arsenal)",
  797. Callback = function(Value)
  798. for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
  799. for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
  800. for i,x in next, getconnections(c.Changed) do
  801. x:Disable() -- probably not needed
  802. end
  803. if c.Name == "Auto" then
  804. c.Value = true
  805. end
  806. end
  807. end
  808. end,
  809. })
Tags: arsenal Script
Advertisement
Comments
Add Comment
Please, Sign In to add comment