Back to Scripts
Auto Complete

Auto Complete

ScriptBlox
Verified Free

Game: Mega Fun Obby 🌈 2895 Stages

1,719,508 Views
14 Likes
2 Dislikes
Tomato

Tomato

offline

Features

It does the obby as quick as it can.

Tags

auto complete stage fast free

Script Code

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character
local RootPart = Character.HumanoidRootPart

local stages = workspace.stages
local currentstage = LocalPlayer.leaderstats.Stage

local function FindNextPortal()
	for i,v in pairs(workspace:GetChildren()) do
		if v.Name == "Stage Teleport" and #v:GetChildren() == 4 then
			local enter = v:FindFirstChild("enter")
			if enter ~= nil then
				return enter
			end
		end
	end
end

local function Touch(Part)
	firetouchinterest(RootPart, Part, 0)
	firetouchinterest(RootPart, Part, 1)
end
while task.wait() do
	local CurrentStage = stages:FindFirstChild(tostring(currentstage.Value))
	local NextStage = stages:FindFirstChild(tostring(currentstage.Value + 1))
	local NextNextStage = stages:FindFirstChild(tostring(currentstage.Value + 1))
	RootPart.CFrame = CurrentStage.CFrame * CFrame.new(0,3,0)
	if NextStage then
		Touch(NextStage)
		--Potential Speed Gain?
		if NextNextStage then
			Touch(NextNextStage)
		end
	else
		local NextPortal = FindNextPortal()
		if NextPortal then
			RootPart.CFrame = NextPortal.CFrame
		else
			RootPart.CFrame = CurrentStage.CFrame
		end
		task.wait(1)
	end
end
for i,v in pairs(workspace.badges:GetChildren()) do
	if v.Name == "Platform" then
		Touch(v)
	end
end

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...