Pet Simulator X! 🐾
10.6k Views
82 Executions

Coin/Gem Farmer

Pet Simulator X
Logical
LogicalFirst script
5 years ago
Please login to perform these actions:

Coin/Gem Farmer is a Pet Simulator X script for Roblox, uploaded to ScriptBlox on Apr 12, 2022.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Coin/Gem farmer. Custom Radius.

Updates

  1. Script edited: Update script

  2. Script edited: Create script

View Raw
-- By Logical

-- Efficiency based on your best pets.

local pets = {}
local looping = false -- set to true to loop until rejoin

-- DO NOT CHANGE ANYTHING HERE UNLESS I HAVE MARKED IT.
workspace.__THINGS.__REMOTES:FindFirstChild("unequip all pets"):InvokeServer({})
workspace.__THINGS.__REMOTES:FindFirstChild("equip best pets"):InvokeServer({})

wait(2)

for i,v in pairs(game.Players.LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
    if v:IsA("TextButton") then
        if v.Equipped.Visible then
            table.insert(pets, v.Name)
        end
    end
end

repeat
    for i,coin in pairs(workspace.__THINGS.Coins:GetChildren()) do
        if workspace.__THINGS.Coins:FindFirstChild(coin.Name) then
            if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - coin:FindFirstChildOfClass("MeshPart").Position).magnitude <= 200 then -- to change the radius change this number next to '<='
                workspace.__THINGS.__REMOTES:FindFirstChild("join coin"):InvokeServer({coin.Name,pets})
                for i, fpet in pairs(pets) do
                    workspace.__THINGS.__REMOTES:FindFirstChild("change pet target"):FireServer({fpet,"Coin",coin.Name})
                    workspace.__THINGS.__REMOTES:FindFirstChild("farm coin"):FireServer({coin.Name,fpet})
                end
                repeat wait() until not workspace.__THINGS.Coins:FindFirstChild(coin.Name)
            end
        end
    end
    for i, orb in pairs(workspace.__THINGS.Orbs:GetChildren()) do
        local plrcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
        if workspace.__THINGS.Orbs:FindFirstChild(orb.Name) then
            repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = orb.CFrame wait(1) until not workspace.__THINGS.Orbs:FindFirstChild(orb.Name)
        end
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plrcf


Comments

1
Log in to join the conversation. Login
Dodiyaisha1990's profile picture
Dodiyaisha19905 years ago(edited)

Rklonak

1

More Pet Simulator X scripts

See all
Pet Simulator X! 🐾
1.1M
51.4k
5 years ago
Key System
Pet Simulator X! 🐾
580.7k
580
5 years ago
Key System
Pet Simulator X! 🐾
480.1k
19.9k
Bumped 9 months ago
Key System
Pet Simulator X! 🐾
310.6k
4.7k
3 years ago
Pet Simulator X! 🐾
166.0k
2.0k
4 years ago
Key System
Pet Simulator X! 🐾
165.5k
2.1k
4 years ago
Key System
Pet Simulator X! 🐾
137.9k
208
4 years ago
Key System