Advertisement
SirMeme

PET SIM

Aug 5th, 2018
35,288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. local id = Instance.new("NumberValue")
  2. local pet = workspace["__DEBRIS"].Pets[game.Players.LocalPlayer.Name]:GetChildren()
  3. for i=1,#pet do
  4. if pet[i].ClassName == "Model" then
  5. id.Value = pet[i].Name
  6. end
  7. end
  8.  
  9. print(id)
  10. wait(1)
  11.  
  12. local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
  13. for _,v in next, workspace["__THINGS"].Coins:GetChildren() do
  14. wait(0.1)
  15. coins:FireServer("Mine",v.Name, 100000, id.Value)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement