The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Mastery Farm script pastebin roblox
By Mastery Farm on 2024-09-23 08:00 am | Syntax: LUA | Views: 8



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. _G.Enabled = true --// set to "false" to disable the script
  2. local useGolden = true --// Set to "false" if you don't want to open golden eggs
  3. --// DON'T EDIT BELOW IF YOU DONT KNOW WHAT YOU'RE DOING
  4. local event = workspace.__THINGS.__REMOTES:FindFirstChild("buy egg")
  5. local rprint
  6. local Normal_Eggs = {}
  7. local Golden_Eggs = {}
  8. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  9. local Eggs = ReplicatedStorage:WaitForChild("Game").Eggs
  10. if rconsolewarn then
  11. rconsoleclear()
  12. rprint = rconsolewarn
  13. else
  14. rprint = print
  15. end
  16. function Time(Tick) -- Not By me
  17. if typeof(Tick) ~= "number" then
  18. return warn('Integer expected, got', typeof(Tick))
  19. end
  20. local Tick = tick() - Tick
  21. local Weeks = math.floor(math.floor(math.floor(math.floor(Tick / 60) / 60) / 24) / 7)
  22. local Days =  math.floor(math.floor(math.floor(Tick / 60) / 60) / 24)
  23. local Hours = math.floor(math.floor(Tick / 60) / 60)
  24. local Minutes = math.floor(Tick / 60)
  25. local Seconds = math.floor(Tick)
  26. local MilliSeconds = (Tick * 1000)
  27. local Format = ""
  28. if Weeks > 0 then
  29. Format = Format .. string.format("%d Week/s, ", Weeks)
  30. end
  31. if Days > 0 then
  32. Format = Format .. string.format("%d Day/s, ", Days % 7)
  33. end
  34. if Hours > 0 then
  35. Format = Format .. string.format("%d Hour/s, ", Hours % 24)
  36. end
  37. if Minutes > 0 then
  38. Format = Format .. string.format("%d Minute/s, ", Minutes % 60)
  39. end
  40. if Seconds > 0 then
  41. Format = Format .. string.format("%d Second/s, ", Seconds % 60)
  42. end
  43. if MilliSeconds > 0 then
  44. Format = Format .. string.format("%d Ms", MilliSeconds % 1000)
  45. end
  46. return Format
  47. end
  48. local startTick = tick()
  49. for _,eggFolder in pairs(Eggs:GetChildren()) do
  50. for _,eggName in pairs(eggFolder:GetChildren()) do
  51. if string.find(eggName.Name, "Golden") then
  52. table.insert(Golden_Eggs, eggName.Name)
  53. else
  54. table.insert(Normal_Eggs, eggName.Name)
  55. end
  56. end
  57. task.wait()
  58. end
  59. rprint("Added all eggs to database. Took "..tostring(Time(startTick)))
  60. while _G.Enabled == true and wait(0.05) do
  61. local args = {}
  62. local normalegg = Normal_Eggs[math.random(1, #Normal_Eggs)]
  63. local goldenegg = Golden_Eggs[math.random(1, #Golden_Eggs)]
  64. if useGolden == true then
  65. if math.random(1,2) == 1 then
  66. args = {normalegg, false}
  67. rprint("[Mastery Farm] Buying: "..normalegg)
  68. else
  69. args = {goldenegg, false}
  70. rprint("[Mastery Farm] Buying: "..goldenegg)
  71. end
  72. else
  73. args = {normalegg, false}
  74. rprint("[Mastery Farm] Buying: "..normalegg)
  75. end
  76. local e = event:InvokeServer(args)
  77. repeat wait() until e ~= nil
  78. rprint("Running Time: "..tostring(Time(startTick)))
  79. end



  • Recent Roblox Scripts