Auto Collect Christmas Gifts
Key Required

Auto Collect Christmas Gifts

⛏️ [MINE] Pet Simulator 99! 🚀ZyraZyra 64.8K views 136 executesUpdated Dec 17, 2023
Unrated
00
Lua Script•65 lines (1833 chars)
_G.stopTeleporting = false -- turn this to true and execute again if u want it to stop !!!

local function findClosestChild(children, player)
    if not children or #children == 0 then
        return
    end

    local closestChild = nil
    local shortestDistance = math.huge

    for _, v in ipairs(children) do
        if v.Name == "Highlight" or v.Transparency == 0.75 then
            continue
        end

        local distance = (v.Position - player.Character.HumanoidRootPart.Position).Magnitude

        if distance < shortestDistance then
            shortestDistance = distance
            closestChild = v
        end
    end

    return closestChild
end

local children = game:GetService("Workspace")["__THINGS"].Presents:GetChildren()
local player = game.Players.LocalPlayer
local lastTeleportedChild = nil

while not _G.stopTeleporting do
    local closestChild = findClosestChild(children, player)
    if not closestChild then
        print("No closest child found.")
        break
    end

    if lastTeleportedChild == closestChild then
        print("Already teleported to this child.")
        continue
    end

    lastTeleportedChild = closestChild
    local startTime = os.time()
    while os.difftime(os.time(), startTime) < 5 do
        if not player.Character or not player.Character.HumanoidRootPart then
            print("Player or HumanoidRootPart not found.")
            break
        end
        player.Character.HumanoidRootPart.CFrame = CFrame.new(closestChild.Position)
        task.wait()
    end

    local childFound = false
    for i, child in ipairs(children) do
        if child == closestChild then
            table.remove(children, i)
            childFound = true
            break
        end
    end
    if not childFound then
        print("Child not found in the list.")
    end
end

Features & Information

PLEASE READ! Best pet simulator 99 script out there: https://discord.gg/nhYUyuMF Some gifts are in minigames. Go trough each minigame and activate the script to find it, then stop it and continue going trough all minigames, because if u are not in minigame and script teleport to it, u wont be able collect it!!! To stop the teleporting just turn this _G.stopTeleporting = false to _G.stopTeleporting = true Would've made it auto go trough minigames but on mobile is very shit to exploit, please a web exploit go release!!! UPDATE!!! It will teleport each gift and wait 5 seconds, if it was not collect it will move to the next one, to ensure u can collect all gifts that can be collected without being in minigames, u can collect the minigames one later!

Community Comments (0)

No comments yet for this script.

More Scripts for ⛏️ [MINE] Pet Simulator 99! 🚀