local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local remotes = ReplicatedStorage:WaitForChild("Remotes") -- GUI Setup local gui = Instance.new("ScreenGui", game.CoreGui) gui.Name = "BossFightingSimulatorGUI" gui.ResetOnSpawn = false local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 300) frame.Position = UDim2.new(0, 50, 0, 50) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = gui -- Mobile Drag Support local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) -- Title local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1, 0, 0, 30) title.Text = "Boss Fighting Simulator" title.BackgroundTransparency = 1 title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.SourceSansBold title.TextSize = 20 -- Toggle Generator local toggles = {} local y = 40 local function createToggle(name, callback) local toggle = { active = false, connection = nil } local button = Instance.new("TextButton", frame) button.Size = UDim2.new(0.8, 0, 0, 40) button.Position = UDim2.new(0.1, 0, 0, y) button.BackgroundColor3 = Color3.fromRGB(50, 120, 180) button.Text = name .. ": OFF" button.TextColor3 = Color3.new(1, 1, 1) button.Font = Enum.Font.SourceSansBold button.TextSize = 18 button.Parent = frame y += 50 button.MouseButton1Click:Connect(function() toggle.active = not toggle.active button.Text = name .. ": " .. (toggle.active and "ON" or "OFF") if toggle.active then toggle.connection = RunService.Heartbeat:Connect(callback) else if toggle.connection then toggle.connection:Disconnect() toggle.connection = nil end end end) toggles[name] = toggle end -- 1. Power All Swords createToggle("Power All Swords", function() local char = player.Character if char then for _, tool in ipairs(char:GetChildren()) do if tool:IsA("Tool") then remotes.Power:FireServer(tool) end end end end) -- 2. Auto Sell createToggle("Auto Sell", function() remotes.SellPower:InvokeServer() end) -- 3. Boss Kill Aura local bossParents = { "Noob", "Knight", "Orc", "Wizard", "Pirate", "Ninja", "Undead", "Ice King", "Zeus", "Black Knight", "Grim Reaper", "Crystal Warlord", "Boss" } local bossSet = {} for _, name in ipairs(bossParents) do bossSet[name] = true end createToggle("Boss Kill Aura", function() local char = player.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end local hrp = char.HumanoidRootPart for _, obj in ipairs(Workspace:GetDescendants()) do if obj:IsA("BasePart") and obj.Parent and bossSet[obj.Parent.Name] then if (obj.Position - hrp.Position).Magnitude <= 18 then remotes.Attack:FireServer(obj) end end end end) -- 4. Player Kill Aura createToggle("Player Kill Aura", function() local char = player.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end local hrp = char.HumanoidRootPart for _, otherPlayer in ipairs(Players:GetPlayers()) do if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then local targetHRP = otherPlayer.Character.HumanoidRootPart local dist = (targetHRP.Position - hrp.Position).Magnitude if dist <= 18 then remotes.Attack:FireServer(targetHRP) end end end end)