- game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(prompt)
- prompt.HoldDuration = 0
- end)
- local player = game.Players.LocalPlayer
- local humanoid = player.Character:WaitForChild("Humanoid")
- local rootPart = player.Character:WaitForChild("HumanoidRootPart")
- local coems = game:GetService("VirtualInputManager")
- game.StarterGui:SetCore("SendNotification", {
- Title = "Made your mom pregnant by";
- Text = "sadawrf#3405";
- Duration = 5;
- })
-
- while true do
- local closestPart = nil
- local closestDistance = math.huge
-
- for _, part in pairs(game:GetService("Workspace").Easter.Eggs:GetDescendants()) do
- if part:IsA("MeshPart") and part:FindFirstChild("CollectEgg") then
- local distance = (part.Position - rootPart.Position).magnitude
- if distance < closestDistance then
- closestPart = part
- closestDistance = distance
- end
- end
- end
-
- if closestPart then
- local tweenInfo = TweenInfo.new(closestDistance / math.huge, Enum.EasingStyle.Linear)
- local tween = game:GetService("TweenService"):Create(rootPart, tweenInfo, {CFrame = closestPart.CFrame})
- tween:Play()
- tween.Completed:Wait()
- coems:SendKeyEvent(true, "E", false, nil)
- task.wait()
- coems:SendKeyEvent(false, "E", false, nil)
- else
- task.wait()
- end
- end