local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Choose A Song", LoadingTitle = "Loading Script...", LoadingSubtitle = "Auto Attack Tool", ConfigurationSaving = { Enabled = true, FolderName = "SongAttackConfig", FileName = "Settings" }, }) local MainTab = Window:CreateTab("Main", 4483362458) local AutoAttackToggle = MainTab:CreateToggle({ Name = "🔥 Auto Attack All Players", CurrentValue = false, Flag = "AutoAttackFlag", Callback = function(Value) if Value then getgenv().AutoAttackAll = true print("Auto Attack ON - Attacking all players instantly") task.spawn(function() while getgenv().AutoAttackAll do local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local AttackRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Attack") for _, player in ipairs(Players:GetPlayers()) do if player.Character then AttackRemote:FireServer(player.Character, "Baseball Bat") end end task.wait(0.05) end end) else getgenv().AutoAttackAll = false print("Auto Attack OFF") end end, }) MainTab:CreateButton({ Name = "Attack All Players Once", Callback = function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local AttackRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Attack") for _, player in ipairs(Players:GetPlayers()) do if player.Character then AttackRemote:FireServer(player.Character, "Baseball Bat") end end Rayfield:Notify({ Title = "Manual Attack", Content = "Successfully attacked all players!", Duration = 3, Image = 4483362458, }) end, }) Rayfield:Notify({ Title = "Choose A Song", Content = "Script loaded successfully! Use the toggle to start auto attacking.", Duration = 5, })