Created by SpicyFemboi
Features:
- The following will cause you to rapidly collect every egg on the map repeatedly,
- preventing anybody else from doing so.
- Your executor must support at least ‘fireclickdetector’
Regular Version (Requires fireclickdetector and firetouchinterest support)
local resetEggs = function()
local rootPart = game.Players.LocalPlayer.Character.PrimaryPart
firetouchinterest(rootPart,game.Workspace.Stage6.RebirthButton,0)
firetouchinterest(rootPart,game.Workspace.Stage6.RebirthButton,1)
end
for i,v in pairs (game.Workspace.Eggs:GetChildren()) do
local s,e = pcall(function()
v:GetPropertyChangedSignal("Transparency"):Connect(function()
if v.Transparency == 0 then
task.wait()
fireclickdetector(v.Mouse.ClickDetector)
resetEggs()
end
end)
fireclickdetector(v.Mouse.ClickDetector)
end)
end
Alt Edition (Only requires fireclickdetector)
game.Workspace.Stage6.RebirthButton.CanCollide = false
local resetEggs = function()
local rootPart = game.Players.LocalPlayer.Character.PrimaryPart
game.Workspace.Stage6.RebirthButton.CFrame = rootPart.CFrame
end
resetEggs()
for i,v in pairs (game.Workspace.Eggs:GetChildren()) do
local s,e = pcall(function()
v:GetPropertyChangedSignal("Transparency"):Connect(function()
if v.Transparency == 0 then
task.wait()
fireclickdetector(v.Mouse.ClickDetector)
resetEggs()
end
end)
fireclickdetector(v.Mouse.ClickDetector)
end)
end
ENJOY!