Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local maxhp = 9e+18
- local minhp = 100
- local oh1 = "a"
- local oh2 = "take drop"
- game:GetService("Workspace")["__THINGS"]["__REMOTES"].MAIN:FireServer(oh1, oh2)
- local oh1 = "b"
- local oh2 = "join coin"
- game:GetService("Workspace")["__THINGS"]["__REMOTES"].MAIN:FireServer(oh1, oh2)
- local oh1 = "a"
- local oh2 = "farm coin"
- game:GetService("Workspace")["__THINGS"]["__REMOTES"].MAIN:FireServer(oh1, oh2)
- game.Workspace['__THINGS'].Drops.ChildAdded:Connect(function()
- for i , v in pairs(game.Workspace['__THINGS'].Drops:GetChildren()) do
- for r = 0 , 8 , 1 do
- local oh1 = "a"
- local oh2 = "take drop"
- game:GetService("Workspace")["__THINGS"]["__REMOTES"].MAIN:FireServer(oh1, oh2)
- local oh1 = { {v.Name, "id"..r }, { false, false } }
- game:GetService("Workspace")["__THINGS"]["__REMOTES"]["take drop"]:FireServer(oh1)
- end
- end
- end)
- local RunService = game:GetService("RunService")
- while true do
- RunService.Heartbeat:wait()
- for num,coin in pairs(game.workspace['__THINGS'].Coins:GetChildren()) do
- if coin:FindFirstChild("Settings") ~= nil and coin.Settings.Health.Value <= maxhp and coin.Settings.Health.Value >= minhp then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+2,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- for i , c in pairs(game.Players.LocalPlayer.PlayerGui.Inventory.Frame.Container.Holder.Pets:GetChildren()) do
- if c:FindFirstChild("Equipped") ~= nil and c.Equipped.Visible == true then
- local oh1 = "b"
- local oh2 = "join coin"
- game:GetService("Workspace")["__THINGS"]["__REMOTES"].MAIN:FireServer(oh1, oh2)
- workspace.__THINGS.__REMOTES:FindFirstChild"join coin":InvokeServer({{coin.Name,c.Name},{false,false}})
- workspace.__THINGS.__REMOTES:FindFirstChild"change pet target":FireServer({{c.Name,"Coin",coin.Name},{false,false,false}})
- for i = 0 , 50 , 1 do
- local oh1 = "a"
- local oh2 = "farm coin"
- game:GetService("Workspace")["__THINGS"]["__REMOTES"].MAIN:FireServer(oh1, oh2)
- workspace.__THINGS.__REMOTES:FindFirstChild"farm coin":FireServer({{coin.Name,c.Name},{false,false}})
- end
- end
- end
- repeat
- pcall(function ()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+2,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- end)
- RunService.Heartbeat:wait()
- until game.workspace['__THINGS'].Coins:FindFirstChild(coin.Name) == nil or game.workspace['__THINGS'].Coins:FindFirstChild(coin.Name):FindFirstChild("POS") == nil or game.Players.LocalPlayer.Character == nil or coin == nil
- end
- end
- end
Add Comment
Please, Sign In to add comment