--[[ ██╗ ██╗ ██╗██╗ ██╗███████╗██╗ ██╗██╗ ████████╗██████╗ █████╗ ██║ ██║ ██║╚██╗██╔╝██╔════╝██║ ██║██║ ╚══██╔══╝██╔══██╗██╔══██╗ ██║ ██║ ██║ ╚███╔╝ █████╗ ██║ ██║██║ ██║ ██████╔╝███████║ ██║ ██║ ██║ ██╔██╗ ██╔══╝ ██║ ██║██║ ██║ ██╔══██╗██╔══██║ ███████╗╚██████╔╝██╔╝ ██╗███████╗╚██████╔╝███████╗██║ ██║ ██║██║ ██║ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ┌─────────────────────────────────────────────────────────────────┐ │ │ │ Script : RapidFire │ │ Author : LuxeUltra │ │ License : Private │ │ Discord : https://discord.gg/4zupNafqDN │ │ │ └─────────────────────────────────────────────────────────────────┘ ]] local RunService = game:GetService('RunService') local Players = game:GetService('Players') local UserInputService = game:GetService("UserInputService") local Client = Players.LocalPlayer local isMouseDown = false UserInputService.InputBegan:Connect(function(input, gameProcessed) if input.UserInputType == Enum.UserInputType.MouseButton1 and not gameProcessed then isMouseDown = true while isMouseDown do local tool = Client.Character:FindFirstChildOfClass("Tool") if tool then if tool:FindFirstChild("AMMO") and tool.AMMO.Value > 0 then print("shoot") tool:Activate() end end task.wait(0.020) end end end) UserInputService.InputEnded:Connect(function(input, gameProcessed) if input.UserInputType == Enum.UserInputType.MouseButton1 and not gameProcessed then isMouseDown = false end end)