Dec 3rd, 2019
Roblox Pet Ranch Simulator Script. Not a member of Pastebin yet? Raw download clone embed print report.
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- ['Coin Farm']={
- ['MinHP']=10000;-- Min hp of the coins
- }
- game.Workspace['__THINGS'].Drops.ChildAdded:Connect(function()
- for i , v inpairs(game.Workspace['__THINGS'].Drops:GetChildren())do
- local oh1 ={{v.Name,'id'..r },{false,false}}
- game:GetService('Workspace')['__THINGS']['__REMOTES']['take drop']:FireServer(oh1)
- end
- whiletruedo
- for num,coin inpairs(game.workspace['__THINGS'].Coins:GetChildren())do
- if coin:FindFirstChild('Settings')~=niland coin.Settings.Health.Value <= settings['Coin Farm']['MaxHP']and coin.Settings.Health.Value >= settings['Coin Farm']['MinHP']then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+4,0)
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- for i , c inpairs(game.Players.LocalPlayer.PlayerGui.Inventory.Frame.Container.Holder.Pets:GetChildren())do
- if c:FindFirstChild('Equipped')~=niland c.Equipped.Visible truethen
- 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}})
- workspace.__THINGS.__REMOTES:FindFirstChild'farm coin':FireServer({{coin.Name,c.Name},{false,false}})
- end
- wait()
- workspace.__THINGS.__REMOTES:FindFirstChild'farm coin':FireServer({{coin.Name,c},{false,false}})
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- until game.workspace['__THINGS'].Coins:FindFirstChild(coin.Name)nilor game.Players.LocalPlayer.Character nilor coin nil
- end
Roblox Pet Simulator Lua Script Generator
RAW Paste Data