Pet Simulator Model Roblox
Welcome, wiki user! Pet Simulator is a game made by BIG Games Simulators.A player starts the game with a cat, dog, or bunny pet. After choosing their pet, players collect coins and chests throughout the map to buy new areas to venture or buy new eggs to get more pets for trading or collecting. Best place to get scripts. LINK::: https://discord.gg/v88MSP.
Dec 3rd, 2019
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
RAW Paste Data