local runningRodSwitch = false
local runningTradeLoop = false
local player = game.Players.LocalPlayer
local function sendNotification(title, text, duration)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = title,
Text = text,
Duration = duration,
})
end
local function toggleRodSwitching()
if runningRodSwitch then
runningRodSwitch = false
sendNotification("❌ Rod Switching Stopped", "Rod switching has been
disabled.", 3)
else
runningRodSwitch = true
sendNotification("✅ Rod Switching Started", "Rod switching is enabled.", 3)
end
end
local function toggleTradeLoop()
if runningTradeLoop then
runningTradeLoop = false
sendNotification("❌ Trade Loop Stopped", "Trade loop has been disabled.",
3)
else
runningTradeLoop = true
sendNotification("✅ Trade Loop Started", "Trade loop is enabled.", 3)
end
end
game:GetService("UserInputService").InputBegan:Connect(function(input, isProcessed)
if not isProcessed then
if input.KeyCode == Enum.KeyCode.Q then
toggleRodSwitching()
elseif input.KeyCode == Enum.KeyCode.R then
toggleTradeLoop()
end
end
end)
task.spawn(function()
while true do
if runningRodSwitch then
local args1 = {[1] = "Rod Of The Depths"}
game:GetService("ReplicatedStorage").events.equiprod:FireServer(unpack(args1))
local args2 = {[1] = "Flimsy Rod"}
game:GetService("ReplicatedStorage").events.equiprod:FireServer(unpack(args2))
end
task.wait(0.1)
end
end)
local function equipAndSendOffer(item)
item.Parent = player.Character
local offerEvent = item:FindFirstChild("offer")
if offerEvent then
local args = {
[1] = game.Players.LocalPlayer
}
local success, result = pcall(function()
offerEvent:FireServer(unpack(args))
end)
if success then
print("Offer for " .. item.Name .. " sent successfully.")
else
print("Error sending offer for " .. item.Name .. ": " .. result)
end
else
print("No offer event found for " .. item.Name)
end
item.Parent = player.Backpack
end
task.spawn(function()
while true do
if runningTradeLoop then
for _, item in ipairs(player.Backpack:GetChildren()) do
if item:IsA("Tool") then
equipAndSendOffer(item)
wait(0.005)
end
end
end
task.wait(0.1)
end
end)
task.spawn(function()
while true do
local hud = player.PlayerGui:FindFirstChild("hud")
if hud then
local safezone = hud:FindFirstChild("safezone")
if safezone then
local bodyAnnouncements =
safezone:FindFirstChild("bodyannouncements")
if bodyAnnouncements then
local offerFrame = bodyAnnouncements:FindFirstChild("offer")
if offerFrame and offerFrame:FindFirstChild("confirm") then
firesignal(offerFrame.confirm.MouseButton1Click)
print("Auto-accepted a trade offer.")
end
end
end
end
task.wait(0.5)
end
end)