Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Get items in Feed Your Pets, created by TheMagicZeus (https://v3rmillion.net/member.php?action=profile&uid=807550)
- --Some credits goes to bloxy because he/she made the script and I just changed it a little bit
- for _,v in pairs (game:children()) do
- if v.Name == ("ReplicatedStorage") then
- for _,a in pairs(v:GetDescendants()) do
- if a.ClassName == ("Model") then
- if a.Name:match("PUT HERE THE NAME OF THE ITEM, FOR EXAMPLE: SEAWEED") then
- local remote = game:GetService("ReplicatedStorage").remotes.entity.claimEgg
- remote:FireServer(a.Name)
- end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment