-- discord.gg/returnhub
_G.Auto = true -- set to true to start, and false to stop
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Event = ReplicatedStorage.RemoteEvents.CarnivalCompleteShootingGallery
local function findTargets(parent, depth)
if depth > 3 then return {} end
local targets = {}
for _, child in ipairs(parent:GetChildren()) do
if child:IsA("BasePart") then
table.insert(targets, child)
end
for _, subTarget in ipairs(findTargets(child, depth + 1)) do
table.insert(targets, subTarget)
end
end
return targets
end
spawn(function()
while task.wait(3) do
local targets = {}
local areas = {
workspace.Map,
workspace.Items,
workspace.Characters
}
for _, area in ipairs(areas) do
for _, target in ipairs(findTargets(area, 0)) do
table.insert(targets, target)
end
end
for index, target in ipairs(targets) do
if not _G.Auto then break end
local success = pcall(function()
Event:FireServer(target)
end)
task.wait(0.05)
end
end
end)
Comments
Dont work anymore
hioa, looks like you're removing your old uploads and making new ones, if you're doing this then please stop because this is a violation of our ToS and next time this will lead into a ban.
Nice script buddy