Run it
Copy the script and paste it into your executor.
local players = game:GetService("Players")
local player = players.LocalPlayer
local visitedPumpkins = {}
local function getRootPart()
local character = player.Character or player.CharacterAdded:Wait()
return character:WaitForChild("HumanoidRootPart", 5)
end
local function findNextPumpkin(currentPos)
local nearestPumpkin = nil
local shortestDistance = math.huge
for _, obj in ipairs(workspace:GetDescendants()) do
if not visitedPumpkins[obj] and (obj:IsA() obj:())
obj.Name:():()
targetPart = obj:() (obj.PrimaryPart obj:()) obj
targetPart
distance = (currentPos - targetPart.Position).Magnitude
distance < shortestDistance
shortestDistance = distance
nearestPumpkin = {object = obj, part = targetPart}
nearestPumpkin
.(()
rootPart = ()
rootPart
nextPumpkin = (rootPart.Position)
nextPumpkin
visitedPumpkins[nextPumpkin.object] =
rootPart.CFrame = nextPumpkin.part.CFrame + .(, , )
.()
.()
.()
)for the new quest *mods pls review this quickly*

Universal