build a boat for tresure
Key Required

build a boat for tresure

Build A Boat For TreasureRobScripterRobScripter 5.4K views 585 executesUpdated Feb 16, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•76 lines (2664 chars)
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/jensonhirst/Orion/main/source')))()

function autofarmstart()
    local tweenService = game:GetService("TweenService")
    local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Linear)
    local tweenInfoE = TweenInfo.new(2, Enum.EasingStyle.Linear)
    local AutofarmInfoS = TweenInfo.new(24, Enum.EasingStyle.Linear)

    local hrp = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")

    local Tween = tweenService:Create(hrp, tweenInfo, {CFrame = CFrame.new(-53.3258858, 61.0841904, -168.990448)})
    Tween:Play()
    Tween.Completed:Wait()

    local TweenS = tweenService:Create(hrp, AutofarmInfoS, {CFrame = CFrame.new(-60.1640434, 45.5146027, 8749.81738)})
    TweenS:Play()
    TweenS.Completed:Wait()

    local TweenE = tweenService:Create(hrp, tweenInfoE, {CFrame = CFrame.new(-54.7364044, -352.343506, 9499.69141)}) -- Hauteur ajustée
    TweenE:Play()

    wait(2)
    hrp.Anchored = true

    spawn(function()
        local startTime = tick() -- Enregistre le temps de début
        while game.Players.LocalPlayer.Character do
            wait()
            -- Positionne le joueur juste au-dessus du trésor
            hrp.CFrame = CFrame.new(-54.7364044, -351.343506, 9499.69141) -- 1m au-dessus
            firetouchinterest(hrp, game:GetService("Workspace").BoatStages.NormalStages.TheEnd.GoldenChest.Trigger, 0)
            wait(0.1)
            firetouchinterest(hrp, game:GetService("Workspace").BoatStages.NormalStages.TheEnd.GoldenChest.Trigger, 1)

            -- Vérifie si bloqué (si ça fait plus de 10 secondes sans obtenir le trésor, on reset)
            if tick() - startTime > 10 then
                game.Players.LocalPlayer.Character:BreakJoints() -- Reset le joueur
                return
            end
        end
    end)
end

local Window = OrionLib:MakeWindow({Name = "Build a Boat for Treasure", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionBuildBoat"})

local AutoFarmTab = Window:MakeTab({
    Name = "Autofarm",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

local AutofarmSection = AutoFarmTab:AddSection({
    Name = "Autofarm"
})

local autofarm = nil
game.Workspace.Gravity = 0.5

AutofarmSection:AddToggle({
    Name = "Autofarm",
    Default = false,
    Callback = function(t)
        autofarm = t
        if autofarm then
            autofarmstart()
        end
    end
})

game.Players.LocalPlayer.CharacterAdded:Connect(function()
    game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
    if not autofarm then return end
    autofarmstart()
end)

OrionLib:Init()

Features & Information

auto farm

Community Comments (3)

RobScripterRobScripterFeb 16, 2025(edited)

sorry guys

RobScripterRobScripterFeb 16, 2025(edited)

if you want see the script https://pastefy.app/vRixjhZd

On_ManOn_ManFeb 16, 2025(edited)

"If you want see the script" Obfuscated.

More Scripts for Build A Boat For Treasure