Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ManFace()
- local message = "man face man"
- local recipient = "All"
- for i = 1, 3 do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, recipient)
- wait(1)
- end
- end
- local worlds = game.Workspace.Worlds
- local eggHuntLocation = worlds:FindFirstChild("Lobby") or worlds:FindFirstChild("TradingPlaza")
- if not eggHuntLocation then
- error("Neither Lobby nor TradingPlaza was found in Workspace > Worlds.")
- end
- if eggHuntLocation.Name == "TradingPlaza" then
- ManFace()
- end
- local eggHuntEggs = eggHuntLocation.EggHuntEggs
- local function fireClickDetectors(object)
- for _, child in ipairs(object:GetChildren()) do
- if child:IsA("ClickDetector") then
- fireclickdetector(child)
- end
- fireClickDetectors(child)
- end
- end
- local function fireAllClickDetectors()
- for _, item in ipairs(eggHuntEggs:GetChildren()) do
- fireClickDetectors(item)
- wait(1)
- end
- end
- fireAllClickDetectors()
- if eggHuntLocation.Name == "TradingPlaza" then
- game.StarterGui:SetCore("SendNotification", {
- Title = "Egg Hunt";
- Text = "Finished collecting all the eggs, now you only need to complete a trade to get the golden egg!";
- })
- else
- game.StarterGui:SetCore("SendNotification", {
- Title = "Egg Hunt";
- Text = "Finished grabbing all the eggs!";
- })
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement