Advertisement
d3cryptionalization

Pet Empire script

Jun 29th, 2024
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | Gaming | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("goofy little game script", "Ocean")
  3.  
  4. local startergui = game:GetService("StarterGui")
  5.  
  6. -- Main
  7.  
  8. local Main = Window:NewTab("Main")
  9. local MainSection = Main:NewSection("you cant turn it off btw")
  10. local MainSection = Main:NewSection("script made by d3cryptt!")
  11.  
  12.  
  13. MainSection:NewToggle("auto click/spawn pets", "spawns pets for you", function(state)
  14. if state then
  15. while true do
  16. wait(0.1)
  17. local args = {
  18. [1] = true
  19. }
  20.  
  21. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Gameplay"):WaitForChild("Click"):FireServer(unpack(args))
  22. end
  23. else
  24. print("Toggle Off")
  25. end
  26. end)
  27.  
  28. MainSection:NewToggle("auto grab food & drop food", "puts food down for your pets", function(state)
  29. if state then
  30. while true do
  31. wait(0.2)
  32. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Gameplay"):WaitForChild("TakeFood"):FireServer()
  33. wait(0.2)
  34. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Gameplay"):WaitForChild("DropFood"):InvokeServer()
  35. end
  36. else
  37. print("Toggle Off")
  38. end
  39. end)
  40.  
  41. MainSection:NewToggle("auto take & put down fertilizer", "puts down fertilizer", function(state)
  42. if state then
  43. while true do
  44. wait(0.2)
  45. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Gameplay"):WaitForChild("TakeFertilizer"):InvokeServer()
  46. wait (0.3)
  47. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Gameplay"):WaitForChild("DropFertilizer"):FireServer()
  48. end
  49. else
  50. print("Toggle Off")
  51. end
  52. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement