CCCPaste

Obby But You’re On a Bike: Auto-Complete

--[[
    Obby But You’re On a Bike: Auto-Complete
    by darraghd493
]]

repeat task.wait() until game:IsLoaded()

local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace") 
local Players = game:GetService("Players")

local LocalPlayer = Players.LocalPlayer

while getgenv().ACTIVE do
    local checkpoints = Workspace:WaitForChild("WorldMap"):WaitForChild("Checkpoints")
    local endCheckpoint = checkpoints[#checkpoints:GetChildren()]

    -- be safe, this is an autofarm after all xD
    local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
    local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

    repeat RunService.Heartbeat:Wait() until endCheckpoint:FindFirstChild("Hitbox")
    repeat RunService.Heartbeat:Wait() until endCheckpoint.Hitbox:FindFirstChild("TouchInterest")

    firetouchinterest(endCheckpoint.Hitbox, humanoidRootPart, true)
    firetouchinterest(endCheckpoint.Hitbox, humanoidRootPart, false)
    
    RunService.Heartbeat:Wait()
end