www.roblox-scripter.com

Сontent continues after AD

Script – ZO ぞ SAMURAI

Thank you for using our website
Your script:

				
					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
   task.wait()
   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 / 20, 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)
       wait(5)
       coems:SendKeyEvent(false, "E", false, nil)
   else
       task.wait()
   end
end
				
			

How about trying out new scripts?