OS/OLENSOURCE AUTO TP PUMPKIN
Keyless

OS/OLENSOURCE AUTO TP PUMPKIN

Drive A Kukirin!SakuraguysSakuraguys 1.8K views 2.4K executesUpdated Oct 10, 2026
5.0/ 5(2 votes)
20100% Positive
Lua Script•59 lines (1419 chars)
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("BasePart") or obj:IsA("Model")) then
			if obj.Name:lower():find("pumpkin") then
				local targetPart = obj:IsA("Model") and (obj.PrimaryPart or obj:FindFirstChildWhichIsA("BasePart")) or obj
				
				if targetPart then
					local distance = (currentPos - targetPart.Position).Magnitude
					if distance < shortestDistance then
						shortestDistance = distance
						nearestPumpkin = {object = obj, part = targetPart}
					end
				end
			end
		end
	end
	
	return nearestPumpkin
end


task.spawn(function()
	while true do
		local rootPart = getRootPart()
		if rootPart then
			local nextPumpkin = findNextPumpkin(rootPart.Position)
			
			if nextPumpkin then
				
				visitedPumpkins[nextPumpkin.object] = true
				
				
				rootPart.CFrame = nextPumpkin.part.CFrame + Vector3.new(0, 3, 0)
				
				
				task.wait(1)
			else
				-- If you see this say hi and thnaks for using my script
				task.wait(2)
			end
		else
			task.wait(1)
		end
	end
end)

Features & Information

for the new quest *mods pls review this quickly*

Community Comments (4)

QTENQTENOct 16, 2026

经验经验经验经验

Replying to @QTEN
SakuraguysSakuraguysOct 16, 2026

@QTEN uhh yes

odeyiscatodeyiscatOct 17, 2026

this works only during the halloween night is on no menu

Replying to @odeyiscat
SakuraguysSakuraguysOct 18, 2026

@odeyiscat yes ofc it only works during the night thats where the event is we cant just spawn the event but thanks for using my script 👍

More Scripts for Drive A Kukirin!