cortesjoren

Feed Your Pets NEW Script New Reply

Jan 17th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. --Get items in Feed Your Pets, created by TheMagicZeus (https://v3rmillion.net/member.php?action=profile&uid=807550)
  2. --Some credits goes to bloxy because he/she made the script and I just changed it a little bit
  3.  
  4. for _,v in pairs (game:children()) do
  5. if v.Name == ("ReplicatedStorage") then
  6. for _,a in pairs(v:GetDescendants()) do
  7. if a.ClassName == ("Model") then
  8. if a.Name:match("PUT HERE THE NAME OF THE ITEM, FOR EXAMPLE: SEAWEED") then
  9. local remote = game:GetService("ReplicatedStorage").remotes.entity.claimEgg
  10. remote:FireServer(a.Name)
  11. end
  12. end
  13. end
  14. end
  15. end
Add Comment
Please, Sign In to add comment