Gold Block Grinder
Key Required

Gold Block Grinder

Build A Boat For Treasure*KeySystems*KeySystems 2.9K views 4 executesUpdated Jan 22, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•41 lines (1416 chars)
while true do
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer
local character = localPlayer.Character
local function tweenToGoldenChest(target)
    local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
    if humanoidRootPart then
        humanoidRootPart.Anchored = true
        local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
        local goal = {Position = target.Position}
        local tween = TweenService:Create(humanoidRootPart, tweenInfo, goal)

        tween.Completed:Connect(function()
            humanoidRootPart.Anchored = false
        end)

        tween:Play()
    end
end
local function findAndTweenGoldenChest(parent)
    for _, child in ipairs(parent:GetDescendants()) do
        if child:IsA("BasePart") and child.Name == "DarknessPart" then
            tweenToGoldenChest(child)
            break
        end
    end
end
findAndTweenGoldenChest(workspace.BoatStages.NormalStages.CaveStage1)
task.wait(3.4)
local function findAndTweenGoldenChest1(parent)
    for _, child in ipairs(parent:GetDescendants()) do
        if child:IsA("BasePart") and child.Name == "Trigger" then
            tweenToGoldenChest(child)
            break
        end
    end
end
findAndTweenGoldenChest1(workspace.BoatStages.NormalStages.TheEnd.GoldenChest)
task.wait(3.7)
end

Features & Information

- Open-source

Community Comments (0)

No comments yet for this script.

More Scripts for Build A Boat For Treasure