Advertisement
Guest User

Bubble gum simulator script GUI!

a guest
May 22nd, 2021
10,680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 187.63 KB | None | 0 0
  1. _G.DiscordKey = "Subscribe to Dorsploits"
  2.  
  3. local newEvent = {["Name"] = "Halloween Event", ["Currency"] = "Treats", ["Image"] = "rbxassetid://5758711371", ["Color"] = Color3.fromRGB(235, 200, 50)}
  4. --local newEvent = {}
  5. local oldCurrency = {"Rainbows", "Tickets", "Presents", "CandyCorn", "CandyCanes", "Flowers"}
  6. local latestExcludeNames = "IIIIIlIlllIIIllllllI,Ocelot"
  7. _G.BubbleAlert = false
  8. _G.EggsAlert = false
  9. _G.CoinAlert = false
  10. _G.GemAlert = false
  11. _G.CandyAlert = false
  12. _G.BlocksAlert = false
  13. _G.ShellsAlert = false
  14. _G.PearlsAlert = false
  15. _G.StarsAlert = false
  16. _G.MagmaAlert = false
  17. _G.CrystalAlert = false
  18. _G.EventCurrAlert = false
  19.  
  20. local LatestSupportedVersion = 1855
  21.  
  22.  
  23. function scr()
  24. game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("ScreenGui")
  25. local vu = game:GetService("VirtualUser")
  26. game:GetService("Players").LocalPlayer.Idled:connect(function()
  27. wait(900)
  28. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  29. wait(1)
  30. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  31. end)
  32.  
  33. -- Gui to Lua
  34. -- Version: 3.2
  35.  
  36. -- Instances:
  37.  
  38. local InfoPanel = Instance.new("ScreenGui")
  39. local MainInfoFrame = Instance.new("Frame")
  40. local UnderLine = Instance.new("Frame")
  41. local WindowLabel = Instance.new("TextLabel")
  42. local expandButton = Instance.new("TextButton")
  43. local StatFrame = Instance.new("Frame")
  44. local Shells = Instance.new("TextLabel")
  45. local Stars = Instance.new("TextLabel")
  46. local Pearls = Instance.new("TextLabel")
  47. local Magma = Instance.new("TextLabel")
  48. local Gems = Instance.new("TextLabel")
  49. local Crystals = Instance.new("TextLabel")
  50. local Coins = Instance.new("TextLabel")
  51. local Candy = Instance.new("TextLabel")
  52. local BlocksPerHour = Instance.new("TextLabel")
  53. local CoinAlertimage = Instance.new("ImageLabel")
  54. local CoinAlertButton = Instance.new("TextButton")
  55. local BubbleAlertimage = Instance.new("ImageLabel")
  56. local BubbleAlertButton = Instance.new("TextButton")
  57. local EventCurrency = Instance.new("TextLabel")
  58. local SaveSettingsimage = Instance.new("ImageLabel")
  59. local SaveButton = Instance.new("TextButton")
  60. local PearlsAlertimage = Instance.new("ImageLabel")
  61. local PearlsAlertButton = Instance.new("TextButton")
  62. local MagmaAlertimage = Instance.new("ImageLabel")
  63. local MagmaAlertButton = Instance.new("TextButton")
  64. local ShellsAlertimage = Instance.new("ImageLabel")
  65. local ShellsAlertButton = Instance.new("TextButton")
  66. local BlocksAlertimage = Instance.new("ImageLabel")
  67. local BlocksAlertButton = Instance.new("TextButton")
  68. local EggsAlertimage = Instance.new("ImageLabel")
  69. local EggsAlertButton = Instance.new("TextButton")
  70. local StarsAlertimage = Instance.new("ImageLabel")
  71. local StarsAlertButton = Instance.new("TextButton")
  72. local Eggs = Instance.new("TextLabel")
  73. local DiscordKeyBox = Instance.new("TextBox")
  74. local Discordimage = Instance.new("ImageLabel")
  75. local DiscordButton = Instance.new("TextButton")
  76. local BubblesPerHour = Instance.new("TextLabel")
  77. local PetAlertimage = Instance.new("ImageLabel")
  78. local PetAlertButton = Instance.new("TextButton")
  79. local ExcludedAlerts = Instance.new("TextBox")
  80. local LoadSettingsimage = Instance.new("ImageLabel")
  81. local LoadButton = Instance.new("TextButton")
  82. local EventAlertimage = Instance.new("ImageLabel")
  83. local EventAlertButton = Instance.new("TextButton")
  84. local GemAlertimage = Instance.new("ImageLabel")
  85. local GemAlertButton = Instance.new("TextButton")
  86. local CandyAlertimage = Instance.new("ImageLabel")
  87. local CandyAlertButton = Instance.new("TextButton")
  88. local CrystalAlertimage = Instance.new("ImageLabel")
  89. local CrystalAlertButton = Instance.new("TextButton")
  90. local BlocksImage = Instance.new("ImageLabel")
  91. local CandyImage = Instance.new("ImageLabel")
  92. local BubbleImage = Instance.new("ImageLabel")
  93. local CoinImage = Instance.new("ImageLabel")
  94. local EggImage = Instance.new("ImageLabel")
  95. local CrystalsImage = Instance.new("ImageLabel")
  96. local EventImage = Instance.new("ImageLabel")
  97. local GemImage = Instance.new("ImageLabel")
  98. local MagmaImage = Instance.new("ImageLabel")
  99. local PearlsImage = Instance.new("ImageLabel")
  100. local ShellsImage = Instance.new("ImageLabel")
  101. local StarsImage = Instance.new("ImageLabel")
  102. local EggsPerMin = Instance.new("TextLabel")
  103. local EggsPerHour = Instance.new("TextLabel")
  104. local BubblesPerMin = Instance.new("TextLabel")
  105. local Bubbles = Instance.new("TextLabel")
  106. local BlocksPerMin = Instance.new("TextLabel")
  107. local Blocks = Instance.new("TextLabel")
  108. local CandyPerMin = Instance.new("TextLabel")
  109. local CandyPerHour = Instance.new("TextLabel")
  110. local CoinsPerMin = Instance.new("TextLabel")
  111. local CoinsPerHour = Instance.new("TextLabel")
  112. local CrystalsPerMin = Instance.new("TextLabel")
  113. local CrystalsPerHour = Instance.new("TextLabel")
  114. local EventCurrencyPerMin = Instance.new("TextLabel")
  115. local EventCurrencyPerHour = Instance.new("TextLabel")
  116. local GemsPerMin = Instance.new("TextLabel")
  117. local GemsPerHour = Instance.new("TextLabel")
  118. local MagmaPerMin = Instance.new("TextLabel")
  119. local MagmaPerHour = Instance.new("TextLabel")
  120. local PearlsPerMin = Instance.new("TextLabel")
  121. local PearlsPerHour = Instance.new("TextLabel")
  122. local ShellsPerMin = Instance.new("TextLabel")
  123. local ShellsPerHour = Instance.new("TextLabel")
  124. local StarsPerMin = Instance.new("TextLabel")
  125. local StarsPerHour = Instance.new("TextLabel")
  126.  
  127. --Properties:
  128.  
  129. InfoPanel.Name = "InfoPanel"
  130. --InfoPanel.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  131. InfoPanel.Parent = game.CoreGui
  132. InfoPanel.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  133.  
  134. MainInfoFrame.Name = "MainInfoFrame"
  135. MainInfoFrame.Parent = InfoPanel
  136. MainInfoFrame.Active = true
  137. MainInfoFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  138. MainInfoFrame.BorderSizePixel = 0
  139. MainInfoFrame.Draggable = true
  140. MainInfoFrame.Position = UDim2.new(0, 35, 0, -20)
  141. MainInfoFrame.Size = UDim2.new(0, 476, 0, 32)
  142.  
  143. UnderLine.Name = "UnderLine"
  144. UnderLine.Parent = MainInfoFrame
  145. UnderLine.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  146. UnderLine.BorderColor3 = Color3.fromRGB(50, 50, 50)
  147. UnderLine.BorderSizePixel = 0
  148. UnderLine.Position = UDim2.new(0, 0, 0, 31)
  149. UnderLine.Size = UDim2.new(0, 475, 0, 2)
  150.  
  151. WindowLabel.Name = "WindowLabel"
  152. WindowLabel.Parent = MainInfoFrame
  153. WindowLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  154. WindowLabel.BackgroundTransparency = 1.000
  155. WindowLabel.Size = UDim2.new(0, 476, 0, 32)
  156. WindowLabel.Font = Enum.Font.SourceSans
  157. WindowLabel.Text = "Strelezia BGS Info Panel v1.0"
  158. WindowLabel.TextColor3 = Color3.fromRGB(150, 150, 150)
  159. WindowLabel.TextScaled = true
  160. WindowLabel.TextSize = 20.000
  161. WindowLabel.TextStrokeTransparency = 100.000
  162. WindowLabel.TextWrapped = true
  163.  
  164. expandButton.Name = "expandButton"
  165. expandButton.Parent = MainInfoFrame
  166. expandButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  167. expandButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  168. expandButton.Position = UDim2.new(0.926579833, 0, 0.09375, 0)
  169. expandButton.Size = UDim2.new(0, 26, 0, 25)
  170. expandButton.Font = Enum.Font.SourceSans
  171. expandButton.Text = "+"
  172. expandButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  173. expandButton.TextSize = 14.000
  174.  
  175. StatFrame.Name = "StatFrame"
  176. StatFrame.Parent = MainInfoFrame
  177. StatFrame.Active = true
  178. StatFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  179. StatFrame.Position = UDim2.new(0, 1, 0, 33)
  180. StatFrame.Size = UDim2.new(0, 474, 0, 422)
  181. StatFrame.Visible = false
  182.  
  183. Shells.Name = "Shells"
  184. Shells.Parent = StatFrame
  185. Shells.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  186. Shells.BorderSizePixel = 0
  187. Shells.Position = UDim2.new(0, 42, 0, 270)
  188. Shells.Size = UDim2.new(0, 210, 0, 24)
  189. Shells.Font = Enum.Font.Cartoon
  190. Shells.Text = "0"
  191. Shells.TextColor3 = Color3.fromRGB(255, 170, 0)
  192. Shells.TextSize = 23.000
  193. Shells.TextStrokeTransparency = 0.650
  194. Shells.TextXAlignment = Enum.TextXAlignment.Right
  195.  
  196. Stars.Name = "Stars"
  197. Stars.Parent = StatFrame
  198. Stars.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  199. Stars.BorderSizePixel = 0
  200. Stars.Position = UDim2.new(0, 42, 0, 330)
  201. Stars.Size = UDim2.new(0, 210, 0, 24)
  202. Stars.Font = Enum.Font.Cartoon
  203. Stars.Text = "0"
  204. Stars.TextColor3 = Color3.fromRGB(255, 255, 0)
  205. Stars.TextSize = 23.000
  206. Stars.TextStrokeTransparency = 0.650
  207. Stars.TextXAlignment = Enum.TextXAlignment.Right
  208.  
  209. Pearls.Name = "Pearls"
  210. Pearls.Parent = StatFrame
  211. Pearls.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  212. Pearls.BorderSizePixel = 0
  213. Pearls.Position = UDim2.new(0, 42, 0, 300)
  214. Pearls.Size = UDim2.new(0, 210, 0, 24)
  215. Pearls.Font = Enum.Font.Cartoon
  216. Pearls.Text = "0"
  217. Pearls.TextColor3 = Color3.fromRGB(221, 255, 255)
  218. Pearls.TextSize = 23.000
  219. Pearls.TextStrokeTransparency = 0.650
  220. Pearls.TextXAlignment = Enum.TextXAlignment.Right
  221.  
  222. Magma.Name = "Magma"
  223. Magma.Parent = StatFrame
  224. Magma.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  225. Magma.BorderSizePixel = 0
  226. Magma.Position = UDim2.new(0, 42, 0, 360)
  227. Magma.Size = UDim2.new(0, 210, 0, 24)
  228. Magma.Font = Enum.Font.Cartoon
  229. Magma.Text = "0"
  230. Magma.TextColor3 = Color3.fromRGB(211, 71, 6)
  231. Magma.TextSize = 23.000
  232. Magma.TextStrokeTransparency = 0.650
  233. Magma.TextXAlignment = Enum.TextXAlignment.Right
  234.  
  235. Gems.Name = "Gems"
  236. Gems.Parent = StatFrame
  237. Gems.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  238. Gems.BorderSizePixel = 0
  239. Gems.Position = UDim2.new(0, 42, 0, 180)
  240. Gems.Size = UDim2.new(0, 210, 0, 24)
  241. Gems.Font = Enum.Font.Cartoon
  242. Gems.Text = "0"
  243. Gems.TextColor3 = Color3.fromRGB(170, 0, 255)
  244. Gems.TextSize = 23.000
  245. Gems.TextStrokeTransparency = 0.650
  246. Gems.TextXAlignment = Enum.TextXAlignment.Right
  247.  
  248. Crystals.Name = "Crystals"
  249. Crystals.Parent = StatFrame
  250. Crystals.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  251. Crystals.BorderSizePixel = 0
  252. Crystals.Position = UDim2.new(0, 42, 0, 390)
  253. Crystals.Size = UDim2.new(0, 210, 0, 24)
  254. Crystals.Font = Enum.Font.Cartoon
  255. Crystals.Text = "0"
  256. Crystals.TextColor3 = Color3.fromRGB(255, 0, 255)
  257. Crystals.TextSize = 23.000
  258. Crystals.TextStrokeTransparency = 0.650
  259. Crystals.TextXAlignment = Enum.TextXAlignment.Right
  260.  
  261. Coins.Name = "Coins"
  262. Coins.Parent = StatFrame
  263. Coins.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  264. Coins.BorderSizePixel = 0
  265. Coins.Position = UDim2.new(0, 42, 0, 150)
  266. Coins.Size = UDim2.new(0, 210, 0, 24)
  267. Coins.Font = Enum.Font.Cartoon
  268. Coins.Text = "0"
  269. Coins.TextColor3 = Color3.fromRGB(255, 215, 11)
  270. Coins.TextSize = 23.000
  271. Coins.TextStrokeTransparency = 0.650
  272. Coins.TextXAlignment = Enum.TextXAlignment.Right
  273.  
  274. Candy.Name = "Candy"
  275. Candy.Parent = StatFrame
  276. Candy.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  277. Candy.BorderSizePixel = 0
  278. Candy.Position = UDim2.new(0, 42, 0, 210)
  279. Candy.Size = UDim2.new(0, 210, 0, 24)
  280. Candy.Font = Enum.Font.Cartoon
  281. Candy.Text = "0"
  282. Candy.TextColor3 = Color3.fromRGB(255, 85, 255)
  283. Candy.TextSize = 23.000
  284. Candy.TextStrokeTransparency = 0.650
  285. Candy.TextXAlignment = Enum.TextXAlignment.Right
  286.  
  287. BlocksPerHour.Name = "BlocksPerHour"
  288. BlocksPerHour.Parent = StatFrame
  289. BlocksPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  290. BlocksPerHour.BorderSizePixel = 0
  291. BlocksPerHour.Position = UDim2.new(0, 340, 0, 240)
  292. BlocksPerHour.Size = UDim2.new(0, 88, 0, 24)
  293. BlocksPerHour.Font = Enum.Font.Cartoon
  294. BlocksPerHour.Text = "0/hr"
  295. BlocksPerHour.TextColor3 = Color3.fromRGB(255, 0, 0)
  296. BlocksPerHour.TextSize = 18.000
  297. BlocksPerHour.TextStrokeTransparency = 0.650
  298. BlocksPerHour.TextXAlignment = Enum.TextXAlignment.Right
  299.  
  300. CoinAlertimage.Name = "CoinAlertimage"
  301. CoinAlertimage.Parent = StatFrame
  302. CoinAlertimage.Active = true
  303. CoinAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  304. CoinAlertimage.BackgroundTransparency = 1.000
  305. CoinAlertimage.Position = UDim2.new(0, 432, 0, 150)
  306. CoinAlertimage.Size = UDim2.new(0, 34, 0, 24)
  307. CoinAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  308. CoinAlertimage.Image = "rbxassetid://3570695787"
  309. CoinAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  310. CoinAlertimage.ImageTransparency = 0.600
  311. CoinAlertimage.ScaleType = Enum.ScaleType.Slice
  312. CoinAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  313. CoinAlertimage.SliceScale = 0.060
  314.  
  315. CoinAlertButton.Name = "CoinAlertButton"
  316. CoinAlertButton.Parent = CoinAlertimage
  317. CoinAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  318. CoinAlertButton.BackgroundTransparency = 1.000
  319. CoinAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  320. CoinAlertButton.BorderSizePixel = 0
  321. CoinAlertButton.Size = UDim2.new(0, 34, 0, 24)
  322. CoinAlertButton.Font = Enum.Font.SourceSans
  323. CoinAlertButton.Text = "Alert"
  324. CoinAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  325. CoinAlertButton.TextSize = 14.000
  326. CoinAlertButton.TextWrapped = true
  327.  
  328. BubbleAlertimage.Name = "BubbleAlertimage"
  329. BubbleAlertimage.Parent = StatFrame
  330. BubbleAlertimage.Active = true
  331. BubbleAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  332. BubbleAlertimage.BackgroundTransparency = 1.000
  333. BubbleAlertimage.Position = UDim2.new(0, 432, 0, 120)
  334. BubbleAlertimage.Size = UDim2.new(0, 34, 0, 24)
  335. BubbleAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  336. BubbleAlertimage.Image = "rbxassetid://3570695787"
  337. BubbleAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  338. BubbleAlertimage.ImageTransparency = 0.600
  339. BubbleAlertimage.ScaleType = Enum.ScaleType.Slice
  340. BubbleAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  341. BubbleAlertimage.SliceScale = 0.060
  342.  
  343. BubbleAlertButton.Name = "BubbleAlertButton"
  344. BubbleAlertButton.Parent = BubbleAlertimage
  345. BubbleAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  346. BubbleAlertButton.BackgroundTransparency = 1.000
  347. BubbleAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  348. BubbleAlertButton.BorderSizePixel = 0
  349. BubbleAlertButton.Size = UDim2.new(0, 34, 0, 24)
  350. BubbleAlertButton.Font = Enum.Font.SourceSans
  351. BubbleAlertButton.Text = "Alert"
  352. BubbleAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  353. BubbleAlertButton.TextSize = 14.000
  354. BubbleAlertButton.TextWrapped = true
  355.  
  356. EventCurrency.Name = "EventCurrency"
  357. EventCurrency.Parent = StatFrame
  358. EventCurrency.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  359. EventCurrency.BorderSizePixel = 0
  360. EventCurrency.Position = UDim2.new(0, 42, 0, 420)
  361. EventCurrency.Size = UDim2.new(0, 210, 0, 24)
  362. EventCurrency.Font = Enum.Font.Cartoon
  363. EventCurrency.Text = "0"
  364. EventCurrency.TextColor3 = Color3.fromRGB(0, 0, 0)
  365. EventCurrency.TextSize = 23.000
  366. EventCurrency.TextStrokeTransparency = 0.650
  367. EventCurrency.TextXAlignment = Enum.TextXAlignment.Right
  368. EventCurrency.Visible = false
  369.  
  370. SaveSettingsimage.Name = "SaveSettingsimage"
  371. SaveSettingsimage.Parent = StatFrame
  372. SaveSettingsimage.Active = true
  373. SaveSettingsimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  374. SaveSettingsimage.BackgroundTransparency = 1.000
  375. SaveSettingsimage.Position = UDim2.new(0.532999992, 0, 0.910000026, 0)
  376. SaveSettingsimage.Selectable = true
  377. SaveSettingsimage.Size = UDim2.new(0.243556589, 0, 0.0648600087, 0)
  378. SaveSettingsimage.Visible = false
  379. SaveSettingsimage.Image = "rbxassetid://3570695787"
  380. SaveSettingsimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  381. SaveSettingsimage.ImageTransparency = 0.600
  382. SaveSettingsimage.ScaleType = Enum.ScaleType.Slice
  383. SaveSettingsimage.SliceCenter = Rect.new(100, 100, 100, 100)
  384. SaveSettingsimage.SliceScale = 0.040
  385.  
  386. SaveButton.Name = "SaveButton"
  387. SaveButton.Parent = SaveSettingsimage
  388. SaveButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  389. SaveButton.BackgroundTransparency = 1.000
  390. SaveButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  391. SaveButton.BorderSizePixel = 0
  392. SaveButton.Size = UDim2.new(0.686098874, 25, 1.00000012, 0)
  393. SaveButton.Font = Enum.Font.SourceSans
  394. SaveButton.Text = "Save Settings"
  395. SaveButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  396. SaveButton.TextSize = 14.000
  397. SaveButton.TextWrapped = true
  398.  
  399. PearlsAlertimage.Name = "PearlsAlertimage"
  400. PearlsAlertimage.Parent = StatFrame
  401. PearlsAlertimage.Active = true
  402. PearlsAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  403. PearlsAlertimage.BackgroundTransparency = 1.000
  404. PearlsAlertimage.Position = UDim2.new(0, 432, 0, 300)
  405. PearlsAlertimage.Selectable = true
  406. PearlsAlertimage.Size = UDim2.new(0, 34, 0, 24)
  407. PearlsAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  408. PearlsAlertimage.Image = "rbxassetid://3570695787"
  409. PearlsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  410. PearlsAlertimage.ImageTransparency = 0.600
  411. PearlsAlertimage.ScaleType = Enum.ScaleType.Slice
  412. PearlsAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  413. PearlsAlertimage.SliceScale = 0.060
  414.  
  415. PearlsAlertButton.Name = "PearlsAlertButton"
  416. PearlsAlertButton.Parent = PearlsAlertimage
  417. PearlsAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  418. PearlsAlertButton.BackgroundTransparency = 1.000
  419. PearlsAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  420. PearlsAlertButton.BorderSizePixel = 0
  421. PearlsAlertButton.Size = UDim2.new(0, 34, 0, 24)
  422. PearlsAlertButton.Font = Enum.Font.SourceSans
  423. PearlsAlertButton.Text = "Alert"
  424. PearlsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  425. PearlsAlertButton.TextSize = 14.000
  426. PearlsAlertButton.TextWrapped = true
  427.  
  428. MagmaAlertimage.Name = "MagmaAlertimage"
  429. MagmaAlertimage.Parent = StatFrame
  430. MagmaAlertimage.Active = true
  431. MagmaAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  432. MagmaAlertimage.BackgroundTransparency = 1.000
  433. MagmaAlertimage.Position = UDim2.new(0, 432, 0, 360)
  434. MagmaAlertimage.Selectable = true
  435. MagmaAlertimage.Size = UDim2.new(0, 34, 0, 24)
  436. MagmaAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  437. MagmaAlertimage.Image = "rbxassetid://3570695787"
  438. MagmaAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  439. MagmaAlertimage.ImageTransparency = 0.600
  440. MagmaAlertimage.ScaleType = Enum.ScaleType.Slice
  441. MagmaAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  442. MagmaAlertimage.SliceScale = 0.060
  443.  
  444. MagmaAlertButton.Name = "MagmaAlertButton"
  445. MagmaAlertButton.Parent = MagmaAlertimage
  446. MagmaAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  447. MagmaAlertButton.BackgroundTransparency = 1.000
  448. MagmaAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  449. MagmaAlertButton.BorderSizePixel = 0
  450. MagmaAlertButton.Size = UDim2.new(0, 34, 0, 24)
  451. MagmaAlertButton.Font = Enum.Font.SourceSans
  452. MagmaAlertButton.Text = "Alert"
  453. MagmaAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  454. MagmaAlertButton.TextSize = 14.000
  455. MagmaAlertButton.TextWrapped = true
  456.  
  457. ShellsAlertimage.Name = "ShellsAlertimage"
  458. ShellsAlertimage.Parent = StatFrame
  459. ShellsAlertimage.Active = true
  460. ShellsAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  461. ShellsAlertimage.BackgroundTransparency = 1.000
  462. ShellsAlertimage.Position = UDim2.new(0, 432, 0, 270)
  463. ShellsAlertimage.Selectable = true
  464. ShellsAlertimage.Size = UDim2.new(0, 34, 0, 24)
  465. ShellsAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  466. ShellsAlertimage.Image = "rbxassetid://3570695787"
  467. ShellsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  468. ShellsAlertimage.ImageTransparency = 0.600
  469. ShellsAlertimage.ScaleType = Enum.ScaleType.Slice
  470. ShellsAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  471. ShellsAlertimage.SliceScale = 0.060
  472.  
  473. ShellsAlertButton.Name = "ShellsAlertButton"
  474. ShellsAlertButton.Parent = ShellsAlertimage
  475. ShellsAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  476. ShellsAlertButton.BackgroundTransparency = 1.000
  477. ShellsAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  478. ShellsAlertButton.BorderSizePixel = 0
  479. ShellsAlertButton.Size = UDim2.new(0, 34, 0, 24)
  480. ShellsAlertButton.Font = Enum.Font.SourceSans
  481. ShellsAlertButton.Text = "Alert"
  482. ShellsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  483. ShellsAlertButton.TextSize = 14.000
  484. ShellsAlertButton.TextWrapped = true
  485.  
  486. BlocksAlertimage.Name = "BlocksAlertimage"
  487. BlocksAlertimage.Parent = StatFrame
  488. BlocksAlertimage.Active = true
  489. BlocksAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  490. BlocksAlertimage.BackgroundTransparency = 1.000
  491. BlocksAlertimage.Position = UDim2.new(0, 432, 0, 240)
  492. BlocksAlertimage.Selectable = true
  493. BlocksAlertimage.Size = UDim2.new(0, 34, 0, 24)
  494. BlocksAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  495. BlocksAlertimage.Image = "rbxassetid://3570695787"
  496. BlocksAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  497. BlocksAlertimage.ImageTransparency = 0.600
  498. BlocksAlertimage.ScaleType = Enum.ScaleType.Slice
  499. BlocksAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  500. BlocksAlertimage.SliceScale = 0.060
  501.  
  502. BlocksAlertButton.Name = "BlocksAlertButton"
  503. BlocksAlertButton.Parent = BlocksAlertimage
  504. BlocksAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  505. BlocksAlertButton.BackgroundTransparency = 1.000
  506. BlocksAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  507. BlocksAlertButton.BorderSizePixel = 0
  508. BlocksAlertButton.Size = UDim2.new(0, 34, 0, 24)
  509. BlocksAlertButton.Font = Enum.Font.SourceSans
  510. BlocksAlertButton.Text = "Alert"
  511. BlocksAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  512. BlocksAlertButton.TextSize = 14.000
  513. BlocksAlertButton.TextWrapped = true
  514.  
  515. EggsAlertimage.Name = "EggsAlertimage"
  516. EggsAlertimage.Parent = StatFrame
  517. EggsAlertimage.Active = true
  518. EggsAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  519. EggsAlertimage.BackgroundTransparency = 1.000
  520. EggsAlertimage.Position = UDim2.new(0, 432, 0, 90)
  521. EggsAlertimage.Size = UDim2.new(0, 34, 0, 24)
  522. EggsAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  523. EggsAlertimage.Image = "rbxassetid://3570695787"
  524. EggsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  525. EggsAlertimage.ImageTransparency = 0.600
  526. EggsAlertimage.ScaleType = Enum.ScaleType.Slice
  527. EggsAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  528. EggsAlertimage.SliceScale = 0.060
  529.  
  530. EggsAlertButton.Name = "EggsAlertButton"
  531. EggsAlertButton.Parent = EggsAlertimage
  532. EggsAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  533. EggsAlertButton.BackgroundTransparency = 1.000
  534. EggsAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  535. EggsAlertButton.BorderSizePixel = 0
  536. EggsAlertButton.Size = UDim2.new(0, 34, 0, 24)
  537. EggsAlertButton.Font = Enum.Font.SourceSans
  538. EggsAlertButton.Text = "Alert"
  539. EggsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  540. EggsAlertButton.TextSize = 14.000
  541. EggsAlertButton.TextWrapped = true
  542.  
  543. StarsAlertimage.Name = "StarsAlertimage"
  544. StarsAlertimage.Parent = StatFrame
  545. StarsAlertimage.Active = true
  546. StarsAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  547. StarsAlertimage.BackgroundTransparency = 1.000
  548. StarsAlertimage.Position = UDim2.new(0, 432, 0, 330)
  549. StarsAlertimage.Selectable = true
  550. StarsAlertimage.Size = UDim2.new(0, 34, 0, 24)
  551. StarsAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  552. StarsAlertimage.Image = "rbxassetid://3570695787"
  553. StarsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  554. StarsAlertimage.ImageTransparency = 0.600
  555. StarsAlertimage.ScaleType = Enum.ScaleType.Slice
  556. StarsAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  557. StarsAlertimage.SliceScale = 0.060
  558.  
  559. StarsAlertButton.Name = "StarsAlertButton"
  560. StarsAlertButton.Parent = StarsAlertimage
  561. StarsAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  562. StarsAlertButton.BackgroundTransparency = 1.000
  563. StarsAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  564. StarsAlertButton.BorderSizePixel = 0
  565. StarsAlertButton.Size = UDim2.new(0, 34, 0, 24)
  566. StarsAlertButton.Font = Enum.Font.SourceSans
  567. StarsAlertButton.Text = "Alert"
  568. StarsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  569. StarsAlertButton.TextSize = 14.000
  570. StarsAlertButton.TextWrapped = true
  571.  
  572. Eggs.Name = "Eggs"
  573. Eggs.Parent = StatFrame
  574. Eggs.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  575. Eggs.BorderSizePixel = 0
  576. Eggs.Position = UDim2.new(0, 42, 0, 90)
  577. Eggs.Size = UDim2.new(0, 210, 0, 24)
  578. Eggs.Font = Enum.Font.Cartoon
  579. Eggs.Text = "0"
  580. Eggs.TextColor3 = Color3.fromRGB(255, 238, 198)
  581. Eggs.TextSize = 23.000
  582. Eggs.TextStrokeTransparency = 0.650
  583. Eggs.TextXAlignment = Enum.TextXAlignment.Right
  584.  
  585. DiscordKeyBox.Name = "DiscordKeyBox"
  586. DiscordKeyBox.Parent = StatFrame
  587. DiscordKeyBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  588. DiscordKeyBox.Position = UDim2.new(0, 98, 0, 49)
  589. DiscordKeyBox.Size = UDim2.new(0, 368, 0, 33)
  590. DiscordKeyBox.ClearTextOnFocus = false
  591. DiscordKeyBox.Font = Enum.Font.SourceSans
  592. DiscordKeyBox.Text = "Discord Key"
  593. DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  594. DiscordKeyBox.TextScaled = true
  595. DiscordKeyBox.TextWrapped = true
  596.  
  597. Discordimage.Name = "Discordimage"
  598. Discordimage.Parent = StatFrame
  599. Discordimage.Active = true
  600. Discordimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  601. Discordimage.BackgroundTransparency = 1.000
  602. Discordimage.Position = UDim2.new(0, 10, 0, 48)
  603. Discordimage.Selectable = true
  604. Discordimage.Size = UDim2.new(0, 80, 0, 34)
  605. Discordimage.Image = "rbxassetid://3570695787"
  606. Discordimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  607. Discordimage.ImageTransparency = 0.600
  608. Discordimage.ScaleType = Enum.ScaleType.Slice
  609. Discordimage.SliceCenter = Rect.new(100, 100, 100, 100)
  610. Discordimage.SliceScale = 0.040
  611.  
  612. DiscordButton.Name = "DiscordButton"
  613. DiscordButton.Parent = Discordimage
  614. DiscordButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  615. DiscordButton.BackgroundTransparency = 1.000
  616. DiscordButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  617. DiscordButton.BorderSizePixel = 0
  618. DiscordButton.Position = UDim2.new(-5.96046448e-08, 0, -1.1920929e-07, 0)
  619. DiscordButton.Size = UDim2.new(0.686098874, 25, 1.00000012, 0)
  620. DiscordButton.Font = Enum.Font.SourceSans
  621. DiscordButton.Text = "Discord\nAlerts"
  622. DiscordButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  623. DiscordButton.TextSize = 14.000
  624. DiscordButton.TextWrapped = true
  625.  
  626. BubblesPerHour.Name = "BubblesPerHour"
  627. BubblesPerHour.Parent = StatFrame
  628. BubblesPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  629. BubblesPerHour.BorderSizePixel = 0
  630. BubblesPerHour.Position = UDim2.new(0, 340, 0, 120)
  631. BubblesPerHour.Size = UDim2.new(0, 88, 0, 24)
  632. BubblesPerHour.Font = Enum.Font.Cartoon
  633. BubblesPerHour.Text = "0/hr"
  634. BubblesPerHour.TextColor3 = Color3.fromRGB(255, 170, 255)
  635. BubblesPerHour.TextSize = 18.000
  636. BubblesPerHour.TextStrokeTransparency = 0.650
  637. BubblesPerHour.TextXAlignment = Enum.TextXAlignment.Right
  638.  
  639. PetAlertimage.Name = "PetAlertimage"
  640. PetAlertimage.Parent = StatFrame
  641. PetAlertimage.Active = true
  642. PetAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  643. PetAlertimage.BackgroundTransparency = 1.000
  644. PetAlertimage.Position = UDim2.new(0, 10, 0, 6)
  645. PetAlertimage.Selectable = true
  646. PetAlertimage.Size = UDim2.new(0, 80, 0, 34)
  647. PetAlertimage.Image = "rbxassetid://3570695787"
  648. PetAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  649. PetAlertimage.ImageTransparency = 0.600
  650. PetAlertimage.ScaleType = Enum.ScaleType.Slice
  651. PetAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  652. PetAlertimage.SliceScale = 0.040
  653.  
  654. PetAlertButton.Name = "PetAlertButton"
  655. PetAlertButton.Parent = PetAlertimage
  656. PetAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  657. PetAlertButton.BackgroundTransparency = 1.000
  658. PetAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  659. PetAlertButton.BorderSizePixel = 0
  660. PetAlertButton.Position = UDim2.new(0, 0, -0.0288723707, 0)
  661. PetAlertButton.Size = UDim2.new(0.686098874, 25, 1.00000012, 0)
  662. PetAlertButton.Font = Enum.Font.SourceSans
  663. PetAlertButton.Text = "In-Game\nAlerts"
  664. PetAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  665. PetAlertButton.TextSize = 14.000
  666. PetAlertButton.TextWrapped = true
  667.  
  668. ExcludedAlerts.Name = "ExcludedAlerts"
  669. ExcludedAlerts.Parent = StatFrame
  670. ExcludedAlerts.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  671. ExcludedAlerts.Position = UDim2.new(0, 98, 0, 7)
  672. ExcludedAlerts.Size = UDim2.new(0, 368, 0, 33)
  673. ExcludedAlerts.ClearTextOnFocus = false
  674. ExcludedAlerts.Font = Enum.Font.SourceSans
  675. if latestExcludeName ~= "" then
  676. ExcludedAlerts.Text = latestExcludeNames
  677. else
  678. ExcludedAlerts.Text = "Pets to Exclude: i.e.(Pet #1,Pet #2,Pet #3)"
  679. end
  680. ExcludedAlerts.TextColor3 = Color3.fromRGB(255, 255, 255)
  681. ExcludedAlerts.TextScaled = true
  682. ExcludedAlerts.TextSize = 20.000
  683. ExcludedAlerts.TextWrapped = true
  684.  
  685. LoadSettingsimage.Name = "LoadSettingsimage"
  686. LoadSettingsimage.Parent = StatFrame
  687. LoadSettingsimage.Active = true
  688. LoadSettingsimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  689. LoadSettingsimage.BackgroundTransparency = 1.000
  690. LoadSettingsimage.Position = UDim2.new(0.232999995, 0, 0.910000026, 0)
  691. LoadSettingsimage.Selectable = true
  692. LoadSettingsimage.Size = UDim2.new(0.243556589, 0, 0.0648600087, 0)
  693. LoadSettingsimage.Visible = false
  694. LoadSettingsimage.Image = "rbxassetid://3570695787"
  695. LoadSettingsimage.ImageColor3 = Color3.fromRGB(0, 255, 0)
  696. LoadSettingsimage.ImageTransparency = 0.750
  697. LoadSettingsimage.ScaleType = Enum.ScaleType.Slice
  698. LoadSettingsimage.SliceCenter = Rect.new(100, 100, 100, 100)
  699. LoadSettingsimage.SliceScale = 0.040
  700.  
  701. LoadButton.Name = "LoadButton"
  702. LoadButton.Parent = LoadSettingsimage
  703. LoadButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  704. LoadButton.BackgroundTransparency = 1.000
  705. LoadButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  706. LoadButton.BorderSizePixel = 0
  707. LoadButton.Size = UDim2.new(0.686098874, 25, 1.00000012, 0)
  708. LoadButton.Font = Enum.Font.SourceSans
  709. LoadButton.Text = "Load Settings"
  710. LoadButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  711. LoadButton.TextSize = 14.000
  712. LoadButton.TextWrapped = true
  713.  
  714. EventAlertimage.Name = "EventAlertimage"
  715. EventAlertimage.Parent = StatFrame
  716. EventAlertimage.Active = true
  717. EventAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  718. EventAlertimage.BackgroundTransparency = 1.000
  719. EventAlertimage.Position = UDim2.new(0, 432, 0, 420)
  720. EventAlertimage.Selectable = true
  721. EventAlertimage.Size = UDim2.new(0, 34, 0, 24)
  722. EventAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  723. EventAlertimage.Image = "rbxassetid://3570695787"
  724. EventAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  725. EventAlertimage.ImageTransparency = 0.600
  726. EventAlertimage.ScaleType = Enum.ScaleType.Slice
  727. EventAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  728. EventAlertimage.SliceScale = 0.060
  729. EventAlertimage.Visible = false
  730.  
  731. EventAlertButton.Name = "EventAlertButton"
  732. EventAlertButton.Parent = EventAlertimage
  733. EventAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  734. EventAlertButton.BackgroundTransparency = 1.000
  735. EventAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  736. EventAlertButton.BorderSizePixel = 0
  737. EventAlertButton.Size = UDim2.new(0, 34, 0, 24)
  738. EventAlertButton.Font = Enum.Font.SourceSans
  739. EventAlertButton.Text = "Alert"
  740. EventAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  741. EventAlertButton.TextSize = 14.000
  742. EventAlertButton.TextWrapped = true
  743. EventAlertButton.Visible = false
  744.  
  745. GemAlertimage.Name = "GemAlertimage"
  746. GemAlertimage.Parent = StatFrame
  747. GemAlertimage.Active = true
  748. GemAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  749. GemAlertimage.BackgroundTransparency = 1.000
  750. GemAlertimage.Position = UDim2.new(0, 432, 0, 180)
  751. GemAlertimage.Selectable = true
  752. GemAlertimage.Size = UDim2.new(0, 34, 0, 24)
  753. GemAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  754. GemAlertimage.Image = "rbxassetid://3570695787"
  755. GemAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  756. GemAlertimage.ImageTransparency = 0.600
  757. GemAlertimage.ScaleType = Enum.ScaleType.Slice
  758. GemAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  759. GemAlertimage.SliceScale = 0.060
  760.  
  761. GemAlertButton.Name = "GemAlertButton"
  762. GemAlertButton.Parent = GemAlertimage
  763. GemAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  764. GemAlertButton.BackgroundTransparency = 1.000
  765. GemAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  766. GemAlertButton.BorderSizePixel = 0
  767. GemAlertButton.Size = UDim2.new(0, 34, 0, 24)
  768. GemAlertButton.Font = Enum.Font.SourceSans
  769. GemAlertButton.Text = "Alert"
  770. GemAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  771. GemAlertButton.TextSize = 14.000
  772. GemAlertButton.TextWrapped = true
  773.  
  774. CandyAlertimage.Name = "CandyAlertimage"
  775. CandyAlertimage.Parent = StatFrame
  776. CandyAlertimage.Active = true
  777. CandyAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  778. CandyAlertimage.BackgroundTransparency = 1.000
  779. CandyAlertimage.Position = UDim2.new(0, 432, 0, 210)
  780. CandyAlertimage.Selectable = true
  781. CandyAlertimage.Size = UDim2.new(0, 34, 0, 24)
  782. CandyAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  783. CandyAlertimage.Image = "rbxassetid://3570695787"
  784. CandyAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  785. CandyAlertimage.ImageTransparency = 0.600
  786. CandyAlertimage.ScaleType = Enum.ScaleType.Slice
  787. CandyAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  788. CandyAlertimage.SliceScale = 0.060
  789.  
  790. CandyAlertButton.Name = "CandyAlertButton"
  791. CandyAlertButton.Parent = CandyAlertimage
  792. CandyAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  793. CandyAlertButton.BackgroundTransparency = 1.000
  794. CandyAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  795. CandyAlertButton.BorderSizePixel = 0
  796. CandyAlertButton.Size = UDim2.new(0, 34, 0, 24)
  797. CandyAlertButton.Font = Enum.Font.SourceSans
  798. CandyAlertButton.Text = "Alert"
  799. CandyAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  800. CandyAlertButton.TextSize = 14.000
  801. CandyAlertButton.TextWrapped = true
  802.  
  803. CrystalAlertimage.Name = "CrystalAlertimage"
  804. CrystalAlertimage.Parent = StatFrame
  805. CrystalAlertimage.Active = true
  806. CrystalAlertimage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  807. CrystalAlertimage.BackgroundTransparency = 1.000
  808. CrystalAlertimage.Position = UDim2.new(0, 432, 0, 390)
  809. CrystalAlertimage.Selectable = true
  810. CrystalAlertimage.Size = UDim2.new(0, 34, 0, 24)
  811. CrystalAlertimage.SizeConstraint = Enum.SizeConstraint.RelativeXX
  812. CrystalAlertimage.Image = "rbxassetid://3570695787"
  813. CrystalAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  814. CrystalAlertimage.ImageTransparency = 0.600
  815. CrystalAlertimage.ScaleType = Enum.ScaleType.Slice
  816. CrystalAlertimage.SliceCenter = Rect.new(100, 100, 100, 100)
  817. CrystalAlertimage.SliceScale = 0.060
  818.  
  819. CrystalAlertButton.Name = "CrystalAlertButton"
  820. CrystalAlertButton.Parent = CrystalAlertimage
  821. CrystalAlertButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  822. CrystalAlertButton.BackgroundTransparency = 1.000
  823. CrystalAlertButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
  824. CrystalAlertButton.BorderSizePixel = 0
  825. CrystalAlertButton.Size = UDim2.new(0, 34, 0, 24)
  826. CrystalAlertButton.Font = Enum.Font.SourceSans
  827. CrystalAlertButton.Text = "Alert"
  828. CrystalAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  829. CrystalAlertButton.TextSize = 14.000
  830. CrystalAlertButton.TextWrapped = true
  831.  
  832. BlocksImage.Name = "BlocksImage"
  833. BlocksImage.Parent = StatFrame
  834. BlocksImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  835. BlocksImage.BackgroundTransparency = 1.000
  836. BlocksImage.Position = UDim2.new(0, 10, 0, 240)
  837. BlocksImage.Size = UDim2.new(0, 24, 0, 24)
  838. BlocksImage.Image = "rbxassetid://2804817391"
  839.  
  840. CandyImage.Name = "CandyImage"
  841. CandyImage.Parent = StatFrame
  842. CandyImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  843. CandyImage.BackgroundTransparency = 1.000
  844. CandyImage.Position = UDim2.new(0, 10, 0, 210)
  845. CandyImage.Size = UDim2.new(0, 24, 0, 24)
  846. CandyImage.Image = "rbxassetid://2695038333"
  847.  
  848. BubbleImage.Name = "BubbleImage"
  849. BubbleImage.Parent = StatFrame
  850. BubbleImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  851. BubbleImage.BackgroundTransparency = 1.000
  852. BubbleImage.Position = UDim2.new(0, 10, 0, 120)
  853. BubbleImage.Size = UDim2.new(0, 24, 0, 24)
  854. BubbleImage.Image = "rbxassetid://2512650517"
  855.  
  856. CoinImage.Name = "CoinImage"
  857. CoinImage.Parent = StatFrame
  858. CoinImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  859. CoinImage.BackgroundTransparency = 1.000
  860. CoinImage.Position = UDim2.new(0, 10, 0, 150)
  861. CoinImage.Size = UDim2.new(0, 24, 0, 24)
  862. CoinImage.Image = "rbxassetid://2512650607"
  863.  
  864. EggImage.Name = "EggImage"
  865. EggImage.Parent = StatFrame
  866. EggImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  867. EggImage.BackgroundTransparency = 1.000
  868. EggImage.Position = UDim2.new(0, 8, 0, 88)
  869. EggImage.Size = UDim2.new(0, 28, 0, 28)
  870. EggImage.Image = "rbxassetid://3098693333"
  871. EggImage.ImageColor3 = Color3.fromRGB(255, 244, 220)
  872.  
  873. CrystalsImage.Name = "CrystalsImage"
  874. CrystalsImage.Parent = StatFrame
  875. CrystalsImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  876. CrystalsImage.BackgroundTransparency = 1.000
  877. CrystalsImage.Position = UDim2.new(0, 10, 0, 390)
  878. CrystalsImage.Size = UDim2.new(0, 24, 0, 24)
  879. CrystalsImage.Image = "rbxassetid://4826258329"
  880.  
  881. EventImage.Name = "EventImage"
  882. EventImage.Parent = StatFrame
  883. EventImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  884. EventImage.BackgroundTransparency = 1.000
  885. EventImage.Position = UDim2.new(0, 10, 0, 420)
  886. EventImage.Size = UDim2.new(0, 24, 0, 24)
  887. EventImage.Image = "rbxassetid://284402752"
  888. EventImage.Visible = false
  889.  
  890. GemImage.Name = "GemImage"
  891. GemImage.Parent = StatFrame
  892. GemImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  893. GemImage.BackgroundTransparency = 1.000
  894. GemImage.Position = UDim2.new(0, 10, 0, 180)
  895. GemImage.Size = UDim2.new(0, 24, 0, 24)
  896. GemImage.Image = "rbxassetid://2513306682"
  897.  
  898. MagmaImage.Name = "MagmaImage"
  899. MagmaImage.Parent = StatFrame
  900. MagmaImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  901. MagmaImage.BackgroundTransparency = 1.000
  902. MagmaImage.Position = UDim2.new(0, 10, 0, 360)
  903. MagmaImage.Size = UDim2.new(0, 24, 0, 24)
  904. MagmaImage.Image = "rbxassetid://3978266141"
  905.  
  906. PearlsImage.Name = "PearlsImage"
  907. PearlsImage.Parent = StatFrame
  908. PearlsImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  909. PearlsImage.BackgroundTransparency = 1.000
  910. PearlsImage.Position = UDim2.new(0, 10, 0, 300)
  911. PearlsImage.Size = UDim2.new(0, 24, 0, 24)
  912. PearlsImage.Image = "rbxassetid://3064533581"
  913.  
  914. ShellsImage.Name = "ShellsImage"
  915. ShellsImage.Parent = StatFrame
  916. ShellsImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  917. ShellsImage.BackgroundTransparency = 1.000
  918. ShellsImage.Position = UDim2.new(0, 10, 0, 270)
  919. ShellsImage.Size = UDim2.new(0, 24, 0, 24)
  920. ShellsImage.Image = "rbxassetid://2906670902"
  921.  
  922. StarsImage.Name = "StarsImage"
  923. StarsImage.Parent = StatFrame
  924. StarsImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  925. StarsImage.BackgroundTransparency = 1.000
  926. StarsImage.Position = UDim2.new(0, 10, 0, 330)
  927. StarsImage.Size = UDim2.new(0, 24, 0, 24)
  928. StarsImage.Image = "rbxassetid://3344238599"
  929.  
  930. EggsPerMin.Name = "EggsPerMin"
  931. EggsPerMin.Parent = StatFrame
  932. EggsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  933. EggsPerMin.BorderSizePixel = 0
  934. EggsPerMin.Position = UDim2.new(0, 252, 0, 90)
  935. EggsPerMin.Size = UDim2.new(0, 88, 0, 24)
  936. EggsPerMin.Font = Enum.Font.Cartoon
  937. EggsPerMin.Text = "0/min"
  938. EggsPerMin.TextColor3 = Color3.fromRGB(255, 238, 198)
  939. EggsPerMin.TextSize = 18.000
  940. EggsPerMin.TextStrokeTransparency = 0.650
  941. EggsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  942.  
  943. EggsPerHour.Name = "EggsPerHour"
  944. EggsPerHour.Parent = StatFrame
  945. EggsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  946. EggsPerHour.BorderSizePixel = 0
  947. EggsPerHour.Position = UDim2.new(0, 340, 0, 90)
  948. EggsPerHour.Size = UDim2.new(0, 88, 0, 24)
  949. EggsPerHour.Font = Enum.Font.Cartoon
  950. EggsPerHour.Text = "0/hr"
  951. EggsPerHour.TextColor3 = Color3.fromRGB(255, 238, 198)
  952. EggsPerHour.TextSize = 18.000
  953. EggsPerHour.TextStrokeTransparency = 0.650
  954. EggsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  955.  
  956. BubblesPerMin.Name = "BubblesPerMin"
  957. BubblesPerMin.Parent = StatFrame
  958. BubblesPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  959. BubblesPerMin.BorderSizePixel = 0
  960. BubblesPerMin.Position = UDim2.new(0, 252, 0, 120)
  961. BubblesPerMin.Size = UDim2.new(0, 88, 0, 24)
  962. BubblesPerMin.Font = Enum.Font.Cartoon
  963. BubblesPerMin.Text = "0/min"
  964. BubblesPerMin.TextColor3 = Color3.fromRGB(255, 170, 255)
  965. BubblesPerMin.TextSize = 18.000
  966. BubblesPerMin.TextStrokeTransparency = 0.650
  967. BubblesPerMin.TextXAlignment = Enum.TextXAlignment.Right
  968.  
  969. Bubbles.Name = "Bubbles"
  970. Bubbles.Parent = StatFrame
  971. Bubbles.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  972. Bubbles.BorderSizePixel = 0
  973. Bubbles.Position = UDim2.new(0, 42, 0, 120)
  974. Bubbles.Size = UDim2.new(0, 210, 0, 24)
  975. Bubbles.Font = Enum.Font.Cartoon
  976. Bubbles.Text = "0"
  977. Bubbles.TextColor3 = Color3.fromRGB(255, 170, 255)
  978. Bubbles.TextSize = 23.000
  979. Bubbles.TextStrokeTransparency = 0.650
  980. Bubbles.TextXAlignment = Enum.TextXAlignment.Right
  981.  
  982. BlocksPerMin.Name = "BlocksPerMin"
  983. BlocksPerMin.Parent = StatFrame
  984. BlocksPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  985. BlocksPerMin.BorderSizePixel = 0
  986. BlocksPerMin.Position = UDim2.new(0, 252, 0, 240)
  987. BlocksPerMin.Size = UDim2.new(0, 88, 0, 24)
  988. BlocksPerMin.Font = Enum.Font.Cartoon
  989. BlocksPerMin.Text = "0/min"
  990. BlocksPerMin.TextColor3 = Color3.fromRGB(255, 0, 0)
  991. BlocksPerMin.TextSize = 18.000
  992. BlocksPerMin.TextStrokeTransparency = 0.650
  993. BlocksPerMin.TextXAlignment = Enum.TextXAlignment.Right
  994.  
  995. Blocks.Name = "Blocks"
  996. Blocks.Parent = StatFrame
  997. Blocks.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  998. Blocks.BorderSizePixel = 0
  999. Blocks.Position = UDim2.new(0, 42, 0, 240)
  1000. Blocks.Size = UDim2.new(0, 210, 0, 24)
  1001. Blocks.Font = Enum.Font.Cartoon
  1002. Blocks.Text = "0"
  1003. Blocks.TextColor3 = Color3.fromRGB(255, 0, 0)
  1004. Blocks.TextSize = 23.000
  1005. Blocks.TextStrokeTransparency = 0.650
  1006. Blocks.TextXAlignment = Enum.TextXAlignment.Right
  1007.  
  1008. CandyPerMin.Name = "CandyPerMin"
  1009. CandyPerMin.Parent = StatFrame
  1010. CandyPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1011. CandyPerMin.BorderSizePixel = 0
  1012. CandyPerMin.Position = UDim2.new(0, 252, 0, 210)
  1013. CandyPerMin.Size = UDim2.new(0, 88, 0, 24)
  1014. CandyPerMin.Font = Enum.Font.Cartoon
  1015. CandyPerMin.Text = "0/min"
  1016. CandyPerMin.TextColor3 = Color3.fromRGB(255, 85, 255)
  1017. CandyPerMin.TextSize = 18.000
  1018. CandyPerMin.TextStrokeTransparency = 0.650
  1019. CandyPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1020.  
  1021. CandyPerHour.Name = "CandyPerHour"
  1022. CandyPerHour.Parent = StatFrame
  1023. CandyPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1024. CandyPerHour.BorderSizePixel = 0
  1025. CandyPerHour.Position = UDim2.new(0, 340, 0, 210)
  1026. CandyPerHour.Size = UDim2.new(0, 88, 0, 24)
  1027. CandyPerHour.Font = Enum.Font.Cartoon
  1028. CandyPerHour.Text = "0/hr"
  1029. CandyPerHour.TextColor3 = Color3.fromRGB(255, 85, 255)
  1030. CandyPerHour.TextSize = 18.000
  1031. CandyPerHour.TextStrokeTransparency = 0.650
  1032. CandyPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1033.  
  1034. CoinsPerMin.Name = "CoinsPerMin"
  1035. CoinsPerMin.Parent = StatFrame
  1036. CoinsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1037. CoinsPerMin.BorderSizePixel = 0
  1038. CoinsPerMin.Position = UDim2.new(0, 252, 0, 150)
  1039. CoinsPerMin.Size = UDim2.new(0, 88, 0, 24)
  1040. CoinsPerMin.Font = Enum.Font.Cartoon
  1041. CoinsPerMin.Text = "0/min"
  1042. CoinsPerMin.TextColor3 = Color3.fromRGB(255, 215, 11)
  1043. CoinsPerMin.TextSize = 18.000
  1044. CoinsPerMin.TextStrokeTransparency = 0.650
  1045. CoinsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1046.  
  1047. CoinsPerHour.Name = "CoinsPerHour"
  1048. CoinsPerHour.Parent = StatFrame
  1049. CoinsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1050. CoinsPerHour.BorderSizePixel = 0
  1051. CoinsPerHour.Position = UDim2.new(0, 340, 0, 150)
  1052. CoinsPerHour.Size = UDim2.new(0, 88, 0, 24)
  1053. CoinsPerHour.Font = Enum.Font.Cartoon
  1054. CoinsPerHour.Text = "0/hr"
  1055. CoinsPerHour.TextColor3 = Color3.fromRGB(255, 215, 11)
  1056. CoinsPerHour.TextSize = 18.000
  1057. CoinsPerHour.TextStrokeTransparency = 0.650
  1058. CoinsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1059.  
  1060. CrystalsPerMin.Name = "CrystalsPerMin"
  1061. CrystalsPerMin.Parent = StatFrame
  1062. CrystalsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1063. CrystalsPerMin.BorderSizePixel = 0
  1064. CrystalsPerMin.Position = UDim2.new(0, 252, 0, 390)
  1065. CrystalsPerMin.Size = UDim2.new(0, 88, 0, 24)
  1066. CrystalsPerMin.Font = Enum.Font.Cartoon
  1067. CrystalsPerMin.Text = "0/min"
  1068. CrystalsPerMin.TextColor3 = Color3.fromRGB(255, 0, 255)
  1069. CrystalsPerMin.TextSize = 18.000
  1070. CrystalsPerMin.TextStrokeTransparency = 0.650
  1071. CrystalsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1072.  
  1073. CrystalsPerHour.Name = "CrystalsPerHour"
  1074. CrystalsPerHour.Parent = StatFrame
  1075. CrystalsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1076. CrystalsPerHour.BorderSizePixel = 0
  1077. CrystalsPerHour.Position = UDim2.new(0, 340, 0, 390)
  1078. CrystalsPerHour.Size = UDim2.new(0, 88, 0, 24)
  1079. CrystalsPerHour.Font = Enum.Font.Cartoon
  1080. CrystalsPerHour.Text = "0/hr"
  1081. CrystalsPerHour.TextColor3 = Color3.fromRGB(255, 0, 255)
  1082. CrystalsPerHour.TextSize = 18.000
  1083. CrystalsPerHour.TextStrokeTransparency = 0.650
  1084. CrystalsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1085.  
  1086. EventCurrencyPerMin.Name = "EventCurrencyPerMin"
  1087. EventCurrencyPerMin.Parent = StatFrame
  1088. EventCurrencyPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1089. EventCurrencyPerMin.BorderSizePixel = 0
  1090. EventCurrencyPerMin.Position = UDim2.new(0, 252, 0, 420)
  1091. EventCurrencyPerMin.Size = UDim2.new(0, 88, 0, 24)
  1092. EventCurrencyPerMin.Font = Enum.Font.Cartoon
  1093. EventCurrencyPerMin.Text = "0/min"
  1094. EventCurrencyPerMin.TextColor3 = Color3.fromRGB(0, 0, 0)
  1095. EventCurrencyPerMin.TextSize = 18.000
  1096. EventCurrencyPerMin.TextStrokeTransparency = 0.650
  1097. EventCurrencyPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1098. EventCurrencyPerMin.Visible = false
  1099.  
  1100. EventCurrencyPerHour.Name = "EventCurrencyPerHour"
  1101. EventCurrencyPerHour.Parent = StatFrame
  1102. EventCurrencyPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1103. EventCurrencyPerHour.BorderSizePixel = 0
  1104. EventCurrencyPerHour.Position = UDim2.new(0, 340, 0, 420)
  1105. EventCurrencyPerHour.Size = UDim2.new(0, 88, 0, 24)
  1106. EventCurrencyPerHour.Font = Enum.Font.Cartoon
  1107. EventCurrencyPerHour.Text = "0/hr"
  1108. EventCurrencyPerHour.TextColor3 = Color3.fromRGB(0, 0, 0)
  1109. EventCurrencyPerHour.TextSize = 18.000
  1110. EventCurrencyPerHour.TextStrokeTransparency = 0.650
  1111. EventCurrencyPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1112. EventCurrencyPerHour.Visible = false
  1113.  
  1114. GemsPerMin.Name = "GemsPerMin"
  1115. GemsPerMin.Parent = StatFrame
  1116. GemsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1117. GemsPerMin.BorderSizePixel = 0
  1118. GemsPerMin.Position = UDim2.new(0, 252, 0, 180)
  1119. GemsPerMin.Size = UDim2.new(0, 88, 0, 24)
  1120. GemsPerMin.Font = Enum.Font.Cartoon
  1121. GemsPerMin.Text = "0/min"
  1122. GemsPerMin.TextColor3 = Color3.fromRGB(170, 0, 255)
  1123. GemsPerMin.TextSize = 18.000
  1124. GemsPerMin.TextStrokeTransparency = 0.650
  1125. GemsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1126.  
  1127. GemsPerHour.Name = "GemsPerHour"
  1128. GemsPerHour.Parent = StatFrame
  1129. GemsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1130. GemsPerHour.BorderSizePixel = 0
  1131. GemsPerHour.Position = UDim2.new(0, 340, 0, 180)
  1132. GemsPerHour.Size = UDim2.new(0, 88, 0, 24)
  1133. GemsPerHour.Font = Enum.Font.Cartoon
  1134. GemsPerHour.Text = "0/hr"
  1135. GemsPerHour.TextColor3 = Color3.fromRGB(170, 0, 255)
  1136. GemsPerHour.TextSize = 18.000
  1137. GemsPerHour.TextStrokeTransparency = 0.650
  1138. GemsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1139.  
  1140. MagmaPerMin.Name = "MagmaPerMin"
  1141. MagmaPerMin.Parent = StatFrame
  1142. MagmaPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1143. MagmaPerMin.BorderSizePixel = 0
  1144. MagmaPerMin.Position = UDim2.new(0, 252, 0, 360)
  1145. MagmaPerMin.Size = UDim2.new(0, 88, 0, 24)
  1146. MagmaPerMin.Font = Enum.Font.Cartoon
  1147. MagmaPerMin.Text = "0/min"
  1148. MagmaPerMin.TextColor3 = Color3.fromRGB(211, 71, 6)
  1149. MagmaPerMin.TextSize = 18.000
  1150. MagmaPerMin.TextStrokeTransparency = 0.650
  1151. MagmaPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1152.  
  1153. MagmaPerHour.Name = "MagmaPerHour"
  1154. MagmaPerHour.Parent = StatFrame
  1155. MagmaPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1156. MagmaPerHour.BorderSizePixel = 0
  1157. MagmaPerHour.Position = UDim2.new(0, 340, 0, 360)
  1158. MagmaPerHour.Size = UDim2.new(0, 88, 0, 24)
  1159. MagmaPerHour.Font = Enum.Font.Cartoon
  1160. MagmaPerHour.Text = "0/hr"
  1161. MagmaPerHour.TextColor3 = Color3.fromRGB(211, 71, 6)
  1162. MagmaPerHour.TextSize = 18.000
  1163. MagmaPerHour.TextStrokeTransparency = 0.650
  1164. MagmaPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1165.  
  1166. PearlsPerMin.Name = "PearlsPerMin"
  1167. PearlsPerMin.Parent = StatFrame
  1168. PearlsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1169. PearlsPerMin.BorderSizePixel = 0
  1170. PearlsPerMin.Position = UDim2.new(0, 252, 0, 300)
  1171. PearlsPerMin.Size = UDim2.new(0, 88, 0, 24)
  1172. PearlsPerMin.Font = Enum.Font.Cartoon
  1173. PearlsPerMin.Text = "0/min"
  1174. PearlsPerMin.TextColor3 = Color3.fromRGB(221, 255, 255)
  1175. PearlsPerMin.TextSize = 18.000
  1176. PearlsPerMin.TextStrokeTransparency = 0.650
  1177. PearlsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1178.  
  1179. PearlsPerHour.Name = "PearlsPerHour"
  1180. PearlsPerHour.Parent = StatFrame
  1181. PearlsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1182. PearlsPerHour.BorderSizePixel = 0
  1183. PearlsPerHour.Position = UDim2.new(0, 340, 0, 300)
  1184. PearlsPerHour.Size = UDim2.new(0, 88, 0, 24)
  1185. PearlsPerHour.Font = Enum.Font.Cartoon
  1186. PearlsPerHour.Text = "0/hr"
  1187. PearlsPerHour.TextColor3 = Color3.fromRGB(221, 255, 255)
  1188. PearlsPerHour.TextSize = 18.000
  1189. PearlsPerHour.TextStrokeTransparency = 0.650
  1190. PearlsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1191.  
  1192. ShellsPerMin.Name = "ShellsPerMin"
  1193. ShellsPerMin.Parent = StatFrame
  1194. ShellsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1195. ShellsPerMin.BorderSizePixel = 0
  1196. ShellsPerMin.Position = UDim2.new(0, 252, 0, 270)
  1197. ShellsPerMin.Size = UDim2.new(0, 88, 0, 24)
  1198. ShellsPerMin.Font = Enum.Font.Cartoon
  1199. ShellsPerMin.Text = "0/min"
  1200. ShellsPerMin.TextColor3 = Color3.fromRGB(255, 170, 0)
  1201. ShellsPerMin.TextSize = 18.000
  1202. ShellsPerMin.TextStrokeTransparency = 0.650
  1203. ShellsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1204.  
  1205. ShellsPerHour.Name = "ShellsPerHour"
  1206. ShellsPerHour.Parent = StatFrame
  1207. ShellsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1208. ShellsPerHour.BorderSizePixel = 0
  1209. ShellsPerHour.Position = UDim2.new(0, 340, 0, 270)
  1210. ShellsPerHour.Size = UDim2.new(0, 88, 0, 24)
  1211. ShellsPerHour.Font = Enum.Font.Cartoon
  1212. ShellsPerHour.Text = "0/hr"
  1213. ShellsPerHour.TextColor3 = Color3.fromRGB(255, 170, 0)
  1214. ShellsPerHour.TextSize = 18.000
  1215. ShellsPerHour.TextStrokeTransparency = 0.650
  1216. ShellsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1217.  
  1218. StarsPerMin.Name = "StarsPerMin"
  1219. StarsPerMin.Parent = StatFrame
  1220. StarsPerMin.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1221. StarsPerMin.BorderSizePixel = 0
  1222. StarsPerMin.Position = UDim2.new(0, 252, 0, 330)
  1223. StarsPerMin.Size = UDim2.new(0, 88, 0, 24)
  1224. StarsPerMin.Font = Enum.Font.Cartoon
  1225. StarsPerMin.Text = "0/min"
  1226. StarsPerMin.TextColor3 = Color3.fromRGB(255, 255, 0)
  1227. StarsPerMin.TextSize = 18.000
  1228. StarsPerMin.TextStrokeTransparency = 0.650
  1229. StarsPerMin.TextXAlignment = Enum.TextXAlignment.Right
  1230.  
  1231. StarsPerHour.Name = "StarsPerHour"
  1232. StarsPerHour.Parent = StatFrame
  1233. StarsPerHour.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1234. StarsPerHour.BorderSizePixel = 0
  1235. StarsPerHour.Position = UDim2.new(0, 340, 0, 330)
  1236. StarsPerHour.Size = UDim2.new(0, 88, 0, 24)
  1237. StarsPerHour.Font = Enum.Font.Cartoon
  1238. StarsPerHour.Text = "0/hr"
  1239. StarsPerHour.TextColor3 = Color3.fromRGB(255, 255, 0)
  1240. StarsPerHour.TextSize = 18.000
  1241. StarsPerHour.TextStrokeTransparency = 0.650
  1242. StarsPerHour.TextXAlignment = Enum.TextXAlignment.Right
  1243. if newEvent["Name"] ~= nil then
  1244. StatFrame.Size = UDim2.new(0, 474, 0, 454)
  1245. EventAlertButton.Visible = true
  1246. EventAlertimage.Visible = true
  1247. EventCurrency.Visible = true
  1248. EventImage.Image = newEvent.Image
  1249. EventImage.Visible = true
  1250. EventCurrencyPerMin.Visible = true
  1251. EventCurrencyPerHour.Visible = true
  1252. EventCurrency.TextColor3 = newEvent.Color
  1253. EventCurrencyPerMin.TextColor3 = newEvent.Color
  1254. EventCurrencyPerHour.TextColor3 = newEvent.Color
  1255. end
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262. _G.PetAlerts = false
  1263. _G.ExcludeAlerts = ""
  1264. _G.DiscordAlerts = false
  1265. _G.DiscordMessage = ""
  1266. _G.MessageSent = 0
  1267. _G.MessageWait = 300
  1268. function sma(period)
  1269. local t = {}
  1270. function sum(a, ...)
  1271. if a then return a+sum(...) else return 0 end
  1272. end
  1273. function average(n)
  1274. if #t == period then table.remove(t, 1) end
  1275. t[#t + 1] = n
  1276. return sum(unpack(t)) / #t
  1277. end
  1278. return average
  1279. end
  1280.  
  1281. function formatCommaNumber(formatted)
  1282. while true do
  1283. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  1284. if (k==0) then
  1285. return formatted
  1286. end
  1287. end
  1288. return formatted
  1289. end
  1290.  
  1291. _G.currAlertWait = 5
  1292. _G.currAlertMsgWaitMins = 15
  1293. local smaPeriodMin = 60 / _G.currAlertWait
  1294. local smaPeriodHour = smaPeriodMin * 60
  1295. --_G.coinssma = sma(smaPeriodSecs)
  1296. --_G.crystalsma = sma(smaPeriodSecs)
  1297. --_G.coinLastVal = 0
  1298. --_G.coinLastTime = 0
  1299. --_G.crystalLastVal = 0
  1300.  
  1301. if _G.DiscordKey ~= "" and DiscordKeyBox.Text == "Discord Key" then
  1302. DiscordKeyBox.Text = _G.DiscordKey
  1303. end
  1304.  
  1305. function sendmessage(key, message)
  1306. local url = "http://zerotwo.ga:6969/"
  1307. local HttpService = game:GetService("HttpService")
  1308. local response, data = pcall(function() return game:HttpGet(url .. "?key="..key.."&message="..HttpService:UrlEncode(message)) end)
  1309. if response then
  1310. return HttpService:JSONDecode(data)
  1311. else
  1312. return {['error'] = "URL not found, Try Again Later"}
  1313. end
  1314. end
  1315.  
  1316. -- Scripts:
  1317.  
  1318. local function RYPDO_fake_script() -- PetAlertButton.LocalScript
  1319. local script = Instance.new('LocalScript', PetAlertButton)
  1320. local button = script.Parent
  1321. local image = button.Parent
  1322. local frame = image.Parent
  1323.  
  1324. button.MouseButton1Click:connect(function()
  1325. if not _G.PetAlerts then
  1326. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1327. button.Text = "In-Game Alerts\nOn"
  1328. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1329. _G.PetAlerts = true
  1330. else
  1331. _G.PetAlerts = false
  1332. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1333. button.Text = "In-Game\nAlerts"
  1334. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1335. _G.petalertcounter = 0
  1336. _G.counttoten = 0
  1337. _G.hatchalertposx = 195
  1338. _G.hatchalertposy = 100
  1339. for i,d in pairs(InfoPanel:GetChildren()) do
  1340. if d.Name == "HatchAlert" then
  1341. d:Destroy()
  1342. end
  1343. end
  1344. end
  1345. end)
  1346. end
  1347. coroutine.wrap(RYPDO_fake_script)()
  1348.  
  1349. local function MJNOA_fake_script() -- BubbleAlertButton.LocalScript
  1350. local script = Instance.new('LocalScript', BubbleAlertButton)
  1351. local button = script.Parent
  1352. local image = button.Parent
  1353. local frame = image.Parent
  1354.  
  1355. button.MouseButton1Click:connect(function()
  1356. if not _G.BubbleAlert and _G.DiscordAlerts then
  1357. button.Text = "On"
  1358. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1359. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1360. --_G.coinsma = sma(smaPeriodMin)
  1361. --_G.coinsmahour = sma(smaPeriodHour)
  1362. --_G.coinLastVal = 0
  1363. --_G.coinLastTime = 0
  1364. _G.BubbleAlert = true
  1365. _G.BubbleAlertLast = 0
  1366. elseif _G.BubbleAlert and _G.DiscordAlerts then
  1367. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1368. button.Text = "Alert"
  1369. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1370. _G.BubbleAlert = false
  1371. else
  1372. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1373. button.Text = "Alert"
  1374. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1375. _G.BubbleAlert = false
  1376. end
  1377. end)
  1378. end
  1379. coroutine.wrap(MJNOA_fake_script)()
  1380.  
  1381. local function VGHTS_fake_script() -- EggsAlertButton.LocalScript
  1382. local script = Instance.new('LocalScript', EggsAlertButton)
  1383. local button = script.Parent
  1384. local image = button.Parent
  1385. local frame = image.Parent
  1386.  
  1387. button.MouseButton1Click:connect(function()
  1388. if not _G.EggsAlert and _G.DiscordAlerts then
  1389. button.Text = "On"
  1390. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1391. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1392. --_G.coinsma = sma(smaPeriodMin)
  1393. --_G.coinsmahour = sma(smaPeriodHour)
  1394. --_G.coinLastVal = 0
  1395. --_G.coinLastTime = 0
  1396. _G.EggsAlert = true
  1397. _G.EggsAlertLast = 0
  1398. elseif _G.EggsAlert and _G.DiscordAlerts then
  1399. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1400. button.Text = "Alert"
  1401. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1402. _G.EggsAlert = false
  1403. else
  1404. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1405. button.Text = "Alert"
  1406. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1407. _G.EggsAlert = false
  1408. end
  1409. end)
  1410. end
  1411. coroutine.wrap(VGHTS_fake_script)()
  1412.  
  1413. local function KNLOS_fake_script() -- CoinAlertButton.LocalScript
  1414. local script = Instance.new('LocalScript', CoinAlertButton)
  1415. local button = script.Parent
  1416. local image = button.Parent
  1417. local frame = image.Parent
  1418.  
  1419. button.MouseButton1Click:connect(function()
  1420. if not _G.CoinAlert and _G.DiscordAlerts then
  1421. button.Text = "On"
  1422. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1423. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1424. --_G.coinsma = sma(smaPeriodMin)
  1425. --_G.coinsmahour = sma(smaPeriodHour)
  1426. --_G.coinLastVal = 0
  1427. --_G.coinLastTime = 0
  1428. _G.CoinAlert = true
  1429. _G.CoinAlertLast = 0
  1430. elseif _G.CoinAlert and _G.DiscordAlerts then
  1431. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1432. button.Text = "Alert"
  1433. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1434. _G.CoinAlert = false
  1435. else
  1436. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1437. button.Text = "Alert"
  1438. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1439. _G.CoinAlert = false
  1440. end
  1441. end)
  1442. end
  1443. coroutine.wrap(KNLOS_fake_script)()
  1444.  
  1445. local function GDIAS_fake_script() -- GemAlertButton.LocalScript
  1446. local script = Instance.new('LocalScript', GemAlertButton)
  1447. local button = script.Parent
  1448. local image = button.Parent
  1449. local frame = image.Parent
  1450.  
  1451. button.MouseButton1Click:connect(function()
  1452. if not _G.GemAlert and _G.DiscordAlerts then
  1453. button.Text = "On"
  1454. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1455. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1456. --_G.gemsma = sma(smaPeriodMin)
  1457. --_G.gemsmahour = sma(smaPeriodHour)
  1458. --_G.gemLastVal = 0
  1459. --_G.gemLastTime = 0
  1460. _G.GemAlert = true
  1461. _G.GemAlertLast = 0
  1462. elseif _G.GemAlert and _G.DiscordAlerts then
  1463. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1464. button.Text = "Alert"
  1465. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1466. _G.GemAlert = false
  1467. else
  1468. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1469. button.Text = "Alert"
  1470. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1471. _G.GemAlert = false
  1472. end
  1473. end)
  1474. end
  1475. coroutine.wrap(GDIAS_fake_script)()
  1476.  
  1477. local function ESKSP_fake_script() -- CandyAlertButton.LocalScript
  1478. local script = Instance.new('LocalScript', CandyAlertButton)
  1479. local button = script.Parent
  1480. local image = button.Parent
  1481. local frame = image.Parent
  1482.  
  1483. button.MouseButton1Click:connect(function()
  1484. if not _G.CandyAlert and _G.DiscordAlerts then
  1485. button.Text = "On"
  1486. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1487. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1488. --_G.candysma = sma(smaPeriodMin)
  1489. --_G.candysmahour = sma(smaPeriodHour)
  1490. --_G.candyLastVal = 0
  1491. --_G.candyLastTime = 0
  1492. _G.CandyAlert = true
  1493. _G.CandyAlertLast = 0
  1494. elseif _G.CandyAlert and _G.DiscordAlerts then
  1495. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1496. button.Text = "Alert"
  1497. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1498. _G.CandyAlert = false
  1499. else
  1500. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1501. button.Text = "Alert"
  1502. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1503. _G.CandyAlert = false
  1504. end
  1505. end)
  1506. end
  1507. coroutine.wrap(ESKSP_fake_script)()
  1508.  
  1509. local function BJUIS_fake_script() -- BlocksAlertButton.LocalScript
  1510. local script = Instance.new('LocalScript', BlocksAlertButton)
  1511. local button = script.Parent
  1512. local image = button.Parent
  1513. local frame = image.Parent
  1514.  
  1515. button.MouseButton1Click:connect(function()
  1516. if not _G.BlocksAlert and _G.DiscordAlerts then
  1517. button.Text = "On"
  1518. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1519. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1520. --_G.blockssma = sma(smaPeriodMin)
  1521. --_G.blockssmahour = sma(smaPeriodHour)
  1522. --_G.blocksLastVal = 0
  1523. --_G.blocksLastTime = 0
  1524. _G.BlocksAlert = true
  1525. _G.BlocksAlertLast = 0
  1526. elseif _G.BlocksAlert and _G.DiscordAlerts then
  1527. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1528. button.Text = "Alert"
  1529. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1530. _G.BlocksAlert = false
  1531. else
  1532. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1533. button.Text = "Alert"
  1534. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1535. _G.BlocksAlert = false
  1536. end
  1537. end)
  1538. end
  1539. coroutine.wrap(BJUIS_fake_script)()
  1540.  
  1541. local function KOSUV_fake_script() -- ShellsAlertButton.LocalScript
  1542. local script = Instance.new('LocalScript', ShellsAlertButton)
  1543. local button = script.Parent
  1544. local image = button.Parent
  1545. local frame = image.Parent
  1546.  
  1547. button.MouseButton1Click:connect(function()
  1548. if not _G.ShellsAlert and _G.DiscordAlerts then
  1549. button.Text = "On"
  1550. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1551. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1552. --_G.shellssma = sma(smaPeriodMin)
  1553. --_G.shellssmahour = sma(smaPeriodHour)
  1554. --_G.shellsLastVal = 0
  1555. --_G.shellsLastTime = 0
  1556. _G.ShellsAlert = true
  1557. _G.ShellsAlertLast = 0
  1558. elseif _G.ShellsAlert and _G.DiscordAlerts then
  1559. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1560. button.Text = "Alert"
  1561. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1562. _G.ShellsAlert = false
  1563. else
  1564. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1565. button.Text = "Alert"
  1566. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1567. _G.ShellsAlert = false
  1568. end
  1569. end)
  1570. end
  1571. coroutine.wrap(KOSUV_fake_script)()
  1572.  
  1573. local function XJSUT_fake_script() -- PearlsAlertButton.LocalScript
  1574. local script = Instance.new('LocalScript', PearlsAlertButton)
  1575. local button = script.Parent
  1576. local image = button.Parent
  1577. local frame = image.Parent
  1578.  
  1579. button.MouseButton1Click:connect(function()
  1580. if not _G.PearlsAlert and _G.DiscordAlerts then
  1581. button.Text = "On"
  1582. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1583. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1584. --_G.pearlssma = sma(smaPeriodMin)
  1585. --_G.pearlssmahour = sma(smaPeriodHour)
  1586. --_G.pearlsLastVal = 0
  1587. --_G.pearlsLastTime = 0
  1588. _G.PearlsAlert = true
  1589. _G.PearlsAlertLast = 0
  1590. elseif _G.PearlsAlert and _G.DiscordAlerts then
  1591. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1592. button.Text = "Alert"
  1593. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1594. _G.PearlsAlert = false
  1595. else
  1596. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1597. button.Text = "Alert"
  1598. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1599. _G.PearlsAlert = false
  1600. end
  1601. end)
  1602. end
  1603. coroutine.wrap(XJSUT_fake_script)()
  1604.  
  1605. local function MSTWK_fake_script() -- StarsAlertButton.LocalScript
  1606. local script = Instance.new('LocalScript', StarsAlertButton)
  1607. local button = script.Parent
  1608. local image = button.Parent
  1609. local frame = image.Parent
  1610.  
  1611. button.MouseButton1Click:connect(function()
  1612. if not _G.StarsAlert and _G.DiscordAlerts then
  1613. button.Text = "On"
  1614. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1615. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1616. --_G.starssma = sma(smaPeriodMin)
  1617. --_G.starssmahour = sma(smaPeriodHour)
  1618. --_G.starsLastVal = 0
  1619. --_G.starsLastTime = 0
  1620. _G.StarsAlert = true
  1621. _G.StarsAlertLast = 0
  1622. elseif _G.StarsAlert and _G.DiscordAlerts then
  1623. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1624. button.Text = "Alert"
  1625. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1626. _G.StarsAlert = false
  1627. else
  1628. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1629. button.Text = "Alert"
  1630. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1631. _G.StarsAlert = false
  1632. end
  1633. end)
  1634. end
  1635. coroutine.wrap(MSTWK_fake_script)()
  1636.  
  1637. local function CHSIT_fake_script() -- MagmaAlertButton.LocalScript
  1638. local script = Instance.new('LocalScript', MagmaAlertButton)
  1639. local button = script.Parent
  1640. local image = button.Parent
  1641. local frame = image.Parent
  1642.  
  1643. button.MouseButton1Click:connect(function()
  1644. if not _G.MagmaAlert and _G.DiscordAlerts then
  1645. button.Text = "On"
  1646. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1647. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1648. --_G.magmasma = sma(smaPeriodMin)
  1649. --_G.magmasmahour = sma(smaPeriodHour)
  1650. --_G.magmaLastVal = 0
  1651. --_G.magmaLastTime = 0
  1652. _G.MagmaAlert = true
  1653. _G.MagmaAlertLast = 0
  1654. elseif _G.MagmaAlert and _G.DiscordAlerts then
  1655. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1656. button.Text = "Alert"
  1657. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1658. _G.MagmaAlert = false
  1659. else
  1660. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1661. button.Text = "Alert"
  1662. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1663. _G.MagmaAlert = false
  1664. end
  1665. end)
  1666. end
  1667. coroutine.wrap(CHSIT_fake_script)()
  1668.  
  1669. local function KJHSR_fake_script() -- CrystalAlertButton.LocalScript
  1670. local script = Instance.new('LocalScript', CrystalAlertButton)
  1671. local button = script.Parent
  1672. local image = button.Parent
  1673. local frame = image.Parent
  1674.  
  1675. button.MouseButton1Click:connect(function()
  1676. if not _G.CrystalsAlert and _G.DiscordAlerts then
  1677. button.Text = "On"
  1678. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1679. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1680. --_G.crystalssma = sma(smaPeriodMin)
  1681. --_G.crystalssmahour = sma(smaPeriodHour)
  1682. --_G.crystalsLastVal = 0
  1683. --_G.crystalsLastTime = 0
  1684. _G.CrystalsAlert = true
  1685. _G.CrystalsAlertLast = 0
  1686. elseif _G.CrystalsAlert and _G.DiscordAlerts then
  1687. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1688. button.Text = "Alert"
  1689. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1690. _G.CrystalsAlert = false
  1691. else
  1692. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1693. button.Text = "Alert"
  1694. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1695. _G.CrystalsAlert = false
  1696. end
  1697. end)
  1698. end
  1699. coroutine.wrap(KJHSR_fake_script)()
  1700.  
  1701. local function MKFUS_fake_script() -- EventAlertButton.LocalScript
  1702. local script = Instance.new('LocalScript', EventAlertButton)
  1703. local button = script.Parent
  1704. local image = button.Parent
  1705. local frame = image.Parent
  1706.  
  1707. button.MouseButton1Click:connect(function()
  1708. if not _G.EventCurrAlert and _G.DiscordAlerts then
  1709. button.Text = "On"
  1710. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1711. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1712. --_G.eventcurrsma = sma(smaPeriodMin)
  1713. --_G.eventcurrsmahour = sma(smaPeriodHour)
  1714. --_G.eventcurrLastVal = 0
  1715. --_G.eventcurrLastTime = 0
  1716. _G.EventCurrAlert = true
  1717. _G.EventCurrAlertLast = 0
  1718. elseif _G.EventCurrAlert and _G.DiscordAlerts then
  1719. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1720. button.Text = "Alert"
  1721. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1722. _G.EventCurrAlert = false
  1723. else
  1724. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1725. button.Text = "Alert"
  1726. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1727. _G.EventCurrAlert = false
  1728. end
  1729. end)
  1730. end
  1731. coroutine.wrap(MKFUS_fake_script)()
  1732.  
  1733.  
  1734. local function ZZQDMRR_fake_script() -- DiscordButton.LocalScript
  1735. local script = Instance.new('LocalScript', DiscordButton)
  1736. local button = script.Parent
  1737. local image = button.Parent
  1738. local frame = image.Parent
  1739.  
  1740.  
  1741. button.MouseButton1Click:connect(function()
  1742. local newkey = frame.DiscordKeyBox.Text
  1743. if not _G.DiscordAlerts then
  1744. local request = sendmessage(newkey, "Sending Strelezia Alerts from __" .. game:GetService("Players").LocalPlayer.Name .. "__")
  1745. _G.MessageSent = os.time()
  1746. if request.success then
  1747. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1748. button.Text = "Discord Alerts\nOn"
  1749. image.ImageColor3 = Color3.fromRGB(50, 255, 50)
  1750. frame.DiscordKeyBox.TextColor3 = Color3.fromRGB(50, 255, 50)
  1751. _G.DiscordKey = newkey
  1752. _G.DiscordAlerts = true
  1753. _G.DiscordMessage = ""
  1754. _G.PetQueueing = false
  1755. _G.MessageSending = false
  1756. _G.BubbleAlertLast = 0
  1757. BubbleAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1758. _G.EggsAlertLast = 0
  1759. EggsAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1760. _G.CoinAlertLast = 0
  1761. CoinAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1762. _G.GemAlertLast = 0
  1763. GemAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1764. _G.CandyAlertLast = 0
  1765. CandyAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1766. _G.BlocksAlertLast = 0
  1767. BlocksAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1768. _G.ShellsAlertLast = 0
  1769. ShellsAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1770. _G.PearlsAlertLast = 0
  1771. PearlsAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1772. _G.StarsAlertLast = 0
  1773. StarsAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1774. _G.MagmaAlertLast = 0
  1775. MagmaAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1776. _G.CrystalsAlertLast = 0
  1777. CrystalAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1778. _G.EventCurrAlertLast = 0
  1779. EventAlertButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1780.  
  1781. else
  1782. button.TextColor3 = Color3.fromRGB(55, 55, 55)
  1783. button.Text = "Discord\nAlerts"
  1784. frame.DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 50, 50)
  1785. local oldText = frame.DiscordKeyBox.Text
  1786. frame.DiscordKeyBox.Text = request.error
  1787. wait(5)
  1788. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1789. frame.DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  1790. frame.DiscordKeyBox.Text = oldText
  1791. _G.DiscordMessage = ""
  1792. _G.PetQueueing = false
  1793. _G.MessageSending = false
  1794. _G.BubbleAlert = false
  1795. BubbleAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1796. BubbleAlertButton.Text = "Alert"
  1797. BubbleAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1798. _G.EggsAlert = false
  1799. EggsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1800. EggsAlertButton.Text = "Alert"
  1801. EggsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1802. _G.CoinAlert = false
  1803. CoinAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1804. CoinAlertButton.Text = "Alert"
  1805. CoinAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1806. _G.GemAlert = false
  1807. GemAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1808. GemAlertButton.Text = "Alert"
  1809. GemAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1810. _G.CandyAlert = false
  1811. CandyAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1812. CandyAlertButton.Text = "Alert"
  1813. CandyAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1814. _G.BlocksAlert = false
  1815. BlocksAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1816. BlocksAlertButton.Text = "Alert"
  1817. BlocksAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1818. _G.ShellsAlert = false
  1819. ShellsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1820. ShellsAlertButton.Text = "Alert"
  1821. ShellsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1822. _G.PearlsAlert = false
  1823. PearlsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1824. PearlsAlertButton.Text = "Alert"
  1825. PearlsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1826. _G.StarsAlert = false
  1827. StarsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1828. StarsAlertButton.Text = "Alert"
  1829. StarsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1830. _G.MagmaAlert = false
  1831. MagmaAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1832. MagmaAlertButton.Text = "Alert"
  1833. MagmaAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1834. _G.CrystalsAlert = false
  1835. CrystalAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1836. CrystalAlertButton.Text = "Alert"
  1837. CrystalAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1838. _G.EventCurrAlert = false
  1839. EventAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1840. EventAlertButton.Text = "Alert"
  1841. EventAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1842.  
  1843. end
  1844. else
  1845. _G.DiscordAlerts = false
  1846. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1847. button.Text = "Discord\nAlerts"
  1848. image.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1849. frame.DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  1850. frame.DiscordKeyBox.Text = _G.DiscordKey
  1851. _G.DiscordMessage = ""
  1852. _G.PetQueueing = false
  1853. _G.MessageSending = false
  1854. _G.BubbleAlert = false
  1855. BubbleAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1856. BubbleAlertButton.Text = "Alert"
  1857. BubbleAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1858. _G.EggsAlert = false
  1859. EggsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1860. EggsAlertButton.Text = "Alert"
  1861. EggsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1862. _G.CoinAlert = false
  1863. CoinAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1864. CoinAlertButton.Text = "Alert"
  1865. CoinAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1866. _G.GemAlert = false
  1867. GemAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1868. GemAlertButton.Text = "Alert"
  1869. GemAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1870. _G.CandyAlert = false
  1871. CandyAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1872. CandyAlertButton.Text = "Alert"
  1873. CandyAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1874. _G.BlocksAlert = false
  1875. BlocksAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1876. BlocksAlertButton.Text = "Alert"
  1877. BlocksAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1878. _G.ShellsAlert = false
  1879. ShellsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1880. ShellsAlertButton.Text = "Alert"
  1881. ShellsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1882. _G.PearlsAlert = false
  1883. PearlsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1884. PearlsAlertButton.Text = "Alert"
  1885. PearlsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1886. _G.StarsAlert = false
  1887. StarsAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1888. StarsAlertButton.Text = "Alert"
  1889. StarsAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1890. _G.MagmaAlert = false
  1891. MagmaAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1892. MagmaAlertButton.Text = "Alert"
  1893. MagmaAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1894. _G.CrystalsAlert = false
  1895. CrystalAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1896. CrystalAlertButton.Text = "Alert"
  1897. CrystalAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1898. _G.EventCurrAlert = false
  1899. EventAlertButton.TextColor3 = Color3.fromRGB(55, 55, 55)
  1900. EventAlertButton.Text = "Alert"
  1901. EventAlertimage.ImageColor3 = Color3.fromRGB(255, 50, 50)
  1902. end
  1903.  
  1904. end)
  1905.  
  1906. end
  1907. coroutine.wrap(ZZQDMRR_fake_script)()
  1908.  
  1909.  
  1910.  
  1911.  
  1912. local function JJYRF_fake_script() -- expandButton.LocalScript
  1913. local script = Instance.new('LocalScript', expandButton)
  1914.  
  1915. local button = script.Parent
  1916. local statframe = script.Parent.Parent.StatFrame
  1917.  
  1918. button.MouseButton1Click:connect(function()
  1919. if button.Text == "-" then
  1920. button.Text = "+"
  1921. statframe.Visible = false
  1922. else
  1923. button.Text = "-"
  1924. statframe.Visible = true
  1925. end
  1926. end)
  1927.  
  1928.  
  1929.  
  1930. end
  1931. coroutine.wrap(JJYRF_fake_script)()
  1932.  
  1933.  
  1934.  
  1935. local function ZHHDKPU_fake_script() -- MainInfoFrame.LocalScript
  1936. local script = Instance.new('LocalScript', MainInfoFrame)
  1937.  
  1938. local mouse = game:GetService("Players").LocalPlayer:GetMouse();
  1939. local inputService = game:GetService('UserInputService');
  1940. local heartbeat = game:GetService("RunService").Heartbeat;
  1941. local frame = script.Parent
  1942. -- // credits to Ririchi / Inori for this cute drag function :)
  1943.  
  1944. local s, event = pcall(function()
  1945. return frame.MouseEnter
  1946. end)
  1947.  
  1948. if s then
  1949. frame.Active = true
  1950. frame.Draggable = true
  1951.  
  1952. event:connect(function()
  1953. local input = frame.InputBegan:connect(function(key)
  1954. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  1955. local objectPosition = Vector2.new(mouse.X - frame.AbsolutePosition.X, mouse.Y - frame.AbsolutePosition.Y);
  1956. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  1957. frame:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (frame.Size.X.Offset * frame.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (frame.Size.Y.Offset * frame.AnchorPoint.Y)), 'Out', 'Quad', 0.1, true);
  1958. end
  1959. end
  1960. end)
  1961.  
  1962. local leave;
  1963. leave = frame.MouseLeave:connect(function()
  1964. input:disconnect();
  1965. leave:disconnect();
  1966. end)
  1967. end)
  1968. end
  1969. end
  1970. coroutine.wrap(ZHHDKPU_fake_script)()
  1971.  
  1972. local function PMXUFEP_fake_script() -- StatFrame.LocalScript
  1973. local script = Instance.new('LocalScript', StatFrame)
  1974.  
  1975. local mouse = game:GetService("Players").LocalPlayer:GetMouse();
  1976. local inputService = game:GetService('UserInputService');
  1977. local heartbeat = game:GetService("RunService").Heartbeat;
  1978. local mainframe = script.Parent.Parent
  1979. local thisframe = script.Parent
  1980. -- // credits to Ririchi / Inori for this cute drag function :)
  1981.  
  1982. local s, event = pcall(function()
  1983. return thisframe.MouseEnter
  1984. end)
  1985.  
  1986. if s then
  1987. thisframe.Active = true
  1988. mainframe.Draggable = true
  1989.  
  1990. event:connect(function()
  1991. local input = thisframe.InputBegan:connect(function(key)
  1992. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  1993. local objectPosition = Vector2.new(mouse.X - mainframe.AbsolutePosition.X, mouse.Y - mainframe.AbsolutePosition.Y);
  1994. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  1995. mainframe:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (mainframe.Size.X.Offset * mainframe.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (mainframe.Size.Y.Offset * mainframe.AnchorPoint.Y)), 'Out', 'Quad', 0.1, true);
  1996. end
  1997. end
  1998. end)
  1999.  
  2000. local leave;
  2001. leave = thisframe.MouseLeave:connect(function()
  2002. input:disconnect();
  2003. leave:disconnect();
  2004. end)
  2005. end)
  2006. end
  2007.  
  2008.  
  2009. end
  2010. coroutine.wrap(PMXUFEP_fake_script)()
  2011.  
  2012.  
  2013. local library = loadstring(game:HttpGet(("http://roguefamily.com/script/wally"),true))()
  2014.  
  2015. local f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  2016. repeat
  2017. wait(.1)
  2018. f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  2019. until f ~= nil
  2020. local Module = game:GetService("ReplicatedStorage").Assets.Modules.ImageService
  2021. local guiserv = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService)
  2022.  
  2023. local pets = debug.getupvalues(require(Module))[1]
  2024.  
  2025. local farm = library:CreateWindow('Auto Farm')
  2026.  
  2027. local petlist = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.PetModule)
  2028. local hatlist = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.HatModule)
  2029. local raritys = {}
  2030. local moneyz = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService)
  2031.  
  2032. _G.petalertcounter = 0
  2033. _G.counttoten = 0
  2034. _G.hatchalertposx = 195
  2035. _G.hatchalertposy = 100
  2036. _G.PetQueueing = false
  2037. _G.MessageSending = false
  2038. --_G.CoinAlertLast = 0
  2039. --_G.CrystalAlertLast = 0
  2040. --_G.EventCurrAlertLast = 0
  2041.  
  2042. local function formattedTimeStamp()
  2043. local date = os.date("*t")
  2044. return ("%02d:%02d:%02d%s"):format(((date.hour % 24) - 1) % 12 + 1, date.min, date.sec, date.hour > 11 and "PM" or "AM")
  2045. end
  2046.  
  2047. local function inventoryAlert(itemname, rarity, shiny, color)
  2048.  
  2049. if _G.DiscordAlerts then
  2050. if _G.MessageSent == 0 then
  2051. _G.MessageSent = os.time()
  2052. end
  2053.  
  2054. while (_G.MessageSending == true) do
  2055. wait(1)
  2056. end
  2057.  
  2058.  
  2059. --if _G.DiscordMessage == "" then
  2060. --_G.DiscordMessage = "```css\n"-- .. "Roblox Name:\t" .. game:GetService("Players").LocalPlayer.Name .. "\n\n"
  2061. --end
  2062. if color == "orange" then --and (_G.CurrAlertLast == 0 or os.time() >= (_G.CurrAlertLast + (smaPeriodSecs * _G.currAlertWait))) then
  2063. _G.DiscordMessage = _G.DiscordMessage .. "```cs\n# "
  2064. _G.DiscordMessage = _G.DiscordMessage .. formattedTimeStamp() .. " - " .. game:GetService("Players").LocalPlayer.Name
  2065. _G.DiscordMessage = _G.DiscordMessage .. " - " .. rarity .. " Alert #\n"
  2066. _G.DiscordMessage = _G.DiscordMessage .. "# " .. itemname
  2067. _G.DiscordMessage = _G.DiscordMessage .. " #\n```"
  2068. DiscordKeyBox.Text = formattedTimeStamp()
  2069. DiscordKeyBox.Text = DiscordKeyBox.Text .. rarity .. "Alert Queued!\nMessage Cooldown expires in " .. math.floor((_G.MessageSent + _G.MessageWait) - os.time()) .. " sec."
  2070. DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 255, 55)
  2071. else
  2072. _G.PetQueueing = true
  2073. if rarity == "SECRET" then
  2074. _G.DiscordMessage = _G.DiscordMessage .. "```diff\n- "
  2075. elseif itemname:find("Mythic") then
  2076. _G.DiscordMessage = _G.DiscordMessage .. "```tex\n$ "
  2077. elseif shiny and (color == "blue" or color == "green") then
  2078. _G.DiscordMessage = _G.DiscordMessage .. "```asciidoc\n= "
  2079. elseif color == "green" then
  2080. _G.DiscordMessage = _G.DiscordMessage .. "```diff\n+ "
  2081. elseif color == "blue" then
  2082. _G.DiscordMessage = _G.DiscordMessage .. "```yaml\n< "
  2083. elseif shiny then
  2084. _G.DiscordMessage = _G.DiscordMessage .. "```fix\n^ "
  2085. else
  2086. _G.DiscordMessage = _G.DiscordMessage .. "```\n~ "
  2087. end
  2088.  
  2089. _G.DiscordMessage = _G.DiscordMessage .. formattedTimeStamp() .. " - " .. game:GetService("Players").LocalPlayer.Name .. " - "
  2090.  
  2091. if rarity == "SECRET" then
  2092. _G.DiscordMessage = _G.DiscordMessage .. "SECRET "
  2093. else
  2094. _G.DiscordMessage = _G.DiscordMessage .. rarity .. " "
  2095. end
  2096.  
  2097. _G.DiscordMessage = _G.DiscordMessage .. itemname
  2098.  
  2099. if shiny then
  2100. _G.DiscordMessage = _G.DiscordMessage .. " (SHINY)"
  2101. end
  2102. if rarity == "SECRET" then
  2103. _G.DiscordMessage = _G.DiscordMessage .. " -\n```"
  2104. elseif itemname:find("Mythic") then
  2105. _G.DiscordMessage = _G.DiscordMessage .. " $\n```"
  2106. elseif shiny and (color == "blue" or color == "green") then
  2107. _G.DiscordMessage = _G.DiscordMessage .. " =\n```"
  2108. elseif color == "green" then
  2109. _G.DiscordMessage = _G.DiscordMessage .. " +\n```"
  2110. elseif color == "blue" then
  2111. _G.DiscordMessage = _G.DiscordMessage .. " >\n```"
  2112. elseif shiny then
  2113. _G.DiscordMessage = _G.DiscordMessage .. " ^\n```"
  2114. else
  2115. _G.DiscordMessage = _G.DiscordMessage .. " ~\n```"
  2116. end
  2117.  
  2118. DiscordKeyBox.Text = formattedTimeStamp()
  2119. if shiny then
  2120. DiscordKeyBox.Text = DiscordKeyBox.Text .. " - SHINY "
  2121. else
  2122. DiscordKeyBox.Text = DiscordKeyBox.Text .. " - "
  2123. end
  2124. DiscordKeyBox.Text = DiscordKeyBox.Text .. itemname .. " Queued!\nMessage Cooldown expires in " .. math.floor((_G.MessageSent + _G.MessageWait) - os.time()) .. " sec."
  2125. DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 255, 55)
  2126. _G.PetQueueing = false
  2127. end
  2128. end
  2129.  
  2130. if _G.PetAlerts then
  2131. _G.petalertcounter = _G.petalertcounter + 1
  2132. _G.counttoten = _G.counttoten + 1
  2133.  
  2134. if _G.counttoten == 12 then
  2135. _G.hatchalertposx = 195 - (30 * _G.petalertcounter / 12)
  2136. _G.hatchalertposy = 100 + (0 * _G.petalertcounter / 12)
  2137. _G.counttoten = 1
  2138. end
  2139.  
  2140.  
  2141. -- Gui to Lua
  2142. -- Version: 3.2
  2143.  
  2144. -- Instances:
  2145.  
  2146. local HatchAlert = Instance.new("Frame")
  2147. local HatchAnnouncement = Instance.new("TextLabel")
  2148. local HatchedPetImage = Instance.new("ImageLabel")
  2149. local Closepetimagebutton = Instance.new("TextButton")
  2150. local ShinyLabel = Instance.new("TextLabel")
  2151.  
  2152. --Properties:
  2153.  
  2154.  
  2155. HatchAlert.Name = "HatchAlert"
  2156. HatchAlert.Parent = InfoPanel
  2157. HatchAlert.Active = true
  2158. HatchAlert.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  2159. if rarity == "SECRET" then
  2160. HatchAlert.Position = UDim2.new(0.298314333, 0, 0.17678453, 0)
  2161. HatchAlert.Size = UDim2.new(0, 513, 0, 111)
  2162. else
  2163. HatchAlert.Position = UDim2.new(0,_G.hatchalertposx + ((_G.counttoten - 1) * 25),0,_G.hatchalertposy + ((_G.counttoten - 1) * 25))
  2164. HatchAlert.Size = UDim2.new(0, 303, 0, 65)
  2165. end
  2166. HatchAnnouncement.Name = "HatchAnnouncement"
  2167. HatchAnnouncement.Parent = HatchAlert
  2168. HatchAnnouncement.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  2169. HatchAnnouncement.BackgroundTransparency = 1.000
  2170. HatchAnnouncement.BorderColor3 = Color3.fromRGB(27, 42, 53)
  2171. HatchAnnouncement.BorderSizePixel = 0
  2172. if rarity == "SECRET" then
  2173. HatchAnnouncement.Position = UDim2.new(0.0645755529, 0, 0.150764391, 0)
  2174. HatchAnnouncement.Size = UDim2.new(0, 435, 0, 76)
  2175. else
  2176. HatchAnnouncement.Position = UDim2.new(0.0645755976, 0, 0.150764331, 0)
  2177. HatchAnnouncement.Size = UDim2.new(0, 263, 0, 45)
  2178. end
  2179.  
  2180. if rarity == "SECRET" then
  2181. HatchAnnouncement.TextColor3 = Color3.fromRGB(239, 31, 107)
  2182. elseif itemname:find("Mythic") then
  2183. HatchAnnouncement.TextColor3 = Color3.fromRGB(96, 16, 166)
  2184. elseif shiny and (color == "blue" or color == "green") then
  2185. HatchAnnouncement.TextColor3 = Color3.fromRGB(31, 107, 239)
  2186. elseif color == "green" then
  2187. HatchAnnouncement.TextColor3 = Color3.fromRGB(20, 193, 32)
  2188. elseif color == "blue" then
  2189. HatchAnnouncement.TextColor3 = Color3.fromRGB(30, 231, 238)
  2190. elseif shiny then
  2191. HatchAnnouncement.TextColor3 = Color3.fromRGB(241, 247, 47)
  2192. elseif rarity == "Epic" then
  2193. HatchAnnouncement.TextColor3 = Color3.fromRGB(161, 112, 182)
  2194. elseif rarity == "Rare" then
  2195. HatchAnnouncement.TextColor3 = Color3.fromRGB(238, 62, 62)
  2196. elseif rarity == "Unique" then
  2197. HatchAnnouncement.TextColor3 = Color3.fromRGB(230, 173, 108)
  2198. else
  2199. HatchAnnouncement.TextColor3 = Color3.fromRGB(255, 255, 255)
  2200. end
  2201.  
  2202.  
  2203.  
  2204. HatchAnnouncement.Font = Enum.Font.SourceSans
  2205. if shiny then
  2206. HatchAnnouncement.Text = "#" .. _G.petalertcounter .. " - SHINY " .. rarity .. " " .. itemname
  2207. else
  2208. HatchAnnouncement.Text = "#" .. _G.petalertcounter .. " - " .. rarity .. " " .. itemname
  2209. end
  2210. HatchAnnouncement.TextScaled = true
  2211. HatchAnnouncement.TextSize = 20.000
  2212. HatchAnnouncement.TextWrapped = true
  2213. HatchedPetImage.Name = "HatchedPetImage"
  2214. HatchedPetImage.Parent = HatchAlert
  2215. HatchedPetImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2216. HatchedPetImage.BackgroundTransparency = 1.000
  2217. if rarity == "SECRET" then
  2218. HatchedPetImage.Position = UDim2.new(0.114404142, 0, 1.1953187, 0)
  2219. HatchedPetImage.Size = UDim2.new(0, 395, 0, 396)
  2220. else
  2221. HatchedPetImage.Position = UDim2.new(0.161716178, 0, 1.19279087, 0)
  2222. HatchedPetImage.Size = UDim2.new(0, 206, 0, 206)
  2223. end
  2224. for i,d in pairs(pets) do
  2225. if i == itemname then
  2226. HatchedPetImage.Image = d
  2227. end
  2228. end
  2229. Closepetimagebutton.Name = "Close pet image button"
  2230. Closepetimagebutton.Parent = HatchAlert
  2231. Closepetimagebutton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  2232. Closepetimagebutton.BorderSizePixel = 0
  2233. if rarity == "SECRET" then
  2234. Closepetimagebutton.Position = UDim2.new(0.929351032, 0, -0.16060631, 0)
  2235. Closepetimagebutton.Size = UDim2.new(0, 54, 0, 45)
  2236. else
  2237. Closepetimagebutton.Position = UDim2.new(0.939226687, 0, -0.16060628, 0)
  2238. Closepetimagebutton.Size = UDim2.new(0, 32, 0, 28)
  2239. end
  2240. Closepetimagebutton.ZIndex = 2
  2241. Closepetimagebutton.Font = Enum.Font.SourceSans
  2242. Closepetimagebutton.Text = "X"
  2243. Closepetimagebutton.TextColor3 = Color3.fromRGB(255, 255, 255)
  2244. Closepetimagebutton.TextScaled = true
  2245. Closepetimagebutton.TextSize = 14.000
  2246. Closepetimagebutton.TextWrapped = true
  2247.  
  2248. if shiny then
  2249. ShinyLabel.Name = "ShinyLabel"
  2250. ShinyLabel.Parent = HatchAlert
  2251. ShinyLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2252. ShinyLabel.BackgroundTransparency = 1.000
  2253. if rarity == "SECRET" then
  2254. ShinyLabel.Position = UDim2.new(0.482649714, 0, 3.84018683, 0)
  2255. ShinyLabel.Size = UDim2.new(0, 185, 0, 93)
  2256. else
  2257. ShinyLabel.Position = UDim2.new(0.446203232, 0, 3.67802453, 0)
  2258. ShinyLabel.Size = UDim2.new(0, 119, 0, 38)
  2259. end
  2260. ShinyLabel.Font = Enum.Font.SourceSans
  2261. ShinyLabel.Text = "(SHINY)"
  2262. ShinyLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  2263. ShinyLabel.TextScaled = true
  2264. ShinyLabel.TextSize = 14.000
  2265. ShinyLabel.TextStrokeTransparency = 0.000
  2266. ShinyLabel.TextWrapped = true
  2267. end
  2268.  
  2269.  
  2270.  
  2271. -- Scripts:
  2272.  
  2273. --local function JLJBES_fake_script() -- HatchAnnouncement.LocalScript
  2274. --local script = Instance.new('LocalScript', HatchAnnouncement)
  2275.  
  2276.  
  2277. --function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  2278.  
  2279. --counter = 0
  2280.  
  2281. --while wait(0.2) do
  2282. --script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  2283.  
  2284. --counter = counter + 0.01
  2285. --end
  2286.  
  2287.  
  2288. --end
  2289. --coroutine.wrap(JLJBES_fake_script)()
  2290. local function NHUNXNF_fake_script() -- HatchedPetImage.LocalScript
  2291. local script = Instance.new('LocalScript', HatchedPetImage)
  2292.  
  2293. local thisitem = script.Parent
  2294. local alertframe = script.Parent.Parent
  2295. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  2296. local inputService = game:GetService('UserInputService')
  2297. local heartbeat = game:GetService("RunService").Heartbeat
  2298.  
  2299. local s, event = pcall(function() return thisitem.MouseEnter end)
  2300.  
  2301. if s then
  2302. thisitem.Active = true
  2303. alertframe.Draggable = true
  2304.  
  2305. event:connect(function()
  2306. local input = thisitem.InputBegan:connect(function(key)
  2307. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  2308. local objectPosition = Vector2.new(mouse.X - alertframe.AbsolutePosition.X, mouse.Y - alertframe.AbsolutePosition.Y)
  2309. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  2310. pcall(function()
  2311. alertframe:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (alertframe.Size.X.Offset * alertframe.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (alertframe.Size.Y.Offset * alertframe.AnchorPoint.Y)), 'Out', 'Linear', 0.1, true)
  2312. end)
  2313. end
  2314. end
  2315. end)
  2316.  
  2317. local leave
  2318. leave = thisitem.MouseLeave:connect(function()
  2319. input:disconnect()
  2320. leave:disconnect()
  2321. end)
  2322. end)
  2323. end
  2324.  
  2325. end
  2326. coroutine.wrap(NHUNXNF_fake_script)()
  2327. local function HIUPK_fake_script() -- Closepetimagebutton.LocalScript
  2328. local script = Instance.new('LocalScript', Closepetimagebutton)
  2329.  
  2330. local button = script.Parent
  2331. button.Activated:Connect(function() button.Parent:Destroy() end)
  2332. end
  2333. coroutine.wrap(HIUPK_fake_script)()
  2334. local function PLPYXR_fake_script() -- HatchAlert.LocalScript
  2335. local script = Instance.new('LocalScript', HatchAlert)
  2336.  
  2337. local thisitem = script.Parent
  2338. local alertframe = script.Parent
  2339. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  2340. local inputService = game:GetService('UserInputService')
  2341. local heartbeat = game:GetService("RunService").Heartbeat
  2342.  
  2343. local s, event = pcall(function() return thisitem.MouseEnter end)
  2344.  
  2345. if s then
  2346. thisitem.Active = true
  2347. alertframe.Draggable = true
  2348.  
  2349. event:connect(function()
  2350. local input = thisitem.InputBegan:connect(function(key)
  2351. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  2352. local objectPosition = Vector2.new(mouse.X - alertframe.AbsolutePosition.X, mouse.Y - alertframe.AbsolutePosition.Y)
  2353. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  2354. pcall(function()
  2355. alertframe:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (alertframe.Size.X.Offset * alertframe.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (alertframe.Size.Y.Offset * alertframe.AnchorPoint.Y)), 'Out', 'Linear', 0.1, true)
  2356. end)
  2357. end
  2358. end
  2359. end)
  2360.  
  2361. local leave
  2362. leave = thisitem.MouseLeave:connect(function()
  2363. input:disconnect()
  2364. leave:disconnect()
  2365. end)
  2366. end)
  2367. end
  2368.  
  2369. end
  2370. coroutine.wrap(PLPYXR_fake_script)()
  2371.  
  2372. end
  2373. end
  2374.  
  2375. spawn(function()
  2376. while wait(1) do
  2377. if _G.DiscordAlerts then
  2378. if _G.MessageSent == 0 then
  2379. _G.MessageSent = os.time()
  2380. end
  2381. if (os.time() >= (_G.MessageSent + _G.MessageWait)) and _G.DiscordMessage ~= "" then
  2382. _G.MessageSending = true
  2383. local request = sendmessage(_G.DiscordKey, _G.DiscordMessage)
  2384. DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 255, 55)
  2385. DiscordKeyBox.Text = "Attempting To Send Message..."
  2386.  
  2387. --while not request.success do
  2388. --DiscordKeyBox.Text = DiscordKeyBox.Text .. "..." .. math.floor((_G.MessageSent + waittime) - os.time())
  2389. --wait(1)
  2390. --if os.time() >= (now + waittime) then
  2391. --break
  2392. --end
  2393. --end
  2394. wait(2)
  2395. if request.success then
  2396. DiscordKeyBox.TextColor3 = Color3.fromRGB(55, 255, 55)
  2397. DiscordKeyBox.Text = formattedTimeStamp() .. " - Successfully Sent Message!"
  2398. _G.DiscordMessage = ""
  2399. _G.MessageSent = os.time()
  2400. else
  2401. DiscordKeyBox.TextColor3 = Color3.fromRGB(255, 55, 55)
  2402. DiscordKeyBox.Text = request.error
  2403. wait(5)
  2404. DiscordKeyBox.Text = "Retrying in " .. _G.MessageWait .. " seconds"
  2405. _G.MessageSent = os.time()
  2406. end
  2407. wait(2)
  2408. _G.MessageSending = false
  2409. end
  2410. end
  2411. end
  2412. end)
  2413.  
  2414. local currencys = {}
  2415. local currencylist = {}
  2416. table.insert(currencylist,"Bubbles")
  2417. table.insert(currencylist,"Coins")
  2418. _G.canafford = false
  2419. _G.canaffordchange = false
  2420. for i,d in pairs(moneyz) do
  2421. if string.find(i,"Changed") ~= nil then
  2422. local currName = i:sub(1, #i-7)
  2423. local skipCurr = false
  2424. for i,d in pairs(oldCurrency) do
  2425. if d == currName then
  2426. skipCurr = true
  2427. end
  2428. end
  2429. if not skipCurr then
  2430. currencys[currName] = debug.getupvalues(d)[3]
  2431. table.insert(currencylist,currName)
  2432. end
  2433. end
  2434. end
  2435.  
  2436.  
  2437.  
  2438. function getCurrRate(currAverage, lastTime, period)
  2439. local currAvg = currAverage
  2440. local currRate = 0
  2441. if period == "mins" then
  2442. currRate = math.floor(currAvg * smaPeriodMin) -- / (os.time() - lastTime))
  2443. elseif period == "hours" then
  2444. currRate = math.floor(currAvg * smaPeriodHour) -- / (os.time() - lastTime))
  2445. end
  2446. local isNeg = false
  2447. if currRate < 0 then
  2448. isNeg = true
  2449. currRate = -currRate
  2450. end
  2451. local currTril = currRate / 1000000000000
  2452. local currBil = currRate / 1000000000
  2453. local currMil = currRate / 1000000
  2454. local currThou = currRate / 1000
  2455. currRate = math.floor(currRate)
  2456. if currTril >= 1 then
  2457. currFormatted = string.format("%.1fT", currTril)
  2458. elseif currBil >= 1 then
  2459. currFormatted = string.format("%.1fB", currBil)
  2460. elseif currMil >= 1 then
  2461. currFormatted = string.format("%.1fM", currMil)
  2462. elseif currThou >= 1 then
  2463. currFormatted = string.format("%.1fK", currThou)
  2464. else
  2465. currFormatted = currRate
  2466. end
  2467. if isNeg then
  2468. currFormatted = "-" .. currFormatted
  2469. end
  2470. return currFormatted
  2471. end
  2472.  
  2473.  
  2474.  
  2475. _G.bubblesma = sma(smaPeriodMin)
  2476. _G.bubblesmahour = sma(smaPeriodHour)
  2477. _G.bubbleFirstVal = 0
  2478. _G.bubbleLastVal = 0
  2479. _G.bubbleLastTime = 0
  2480. _G.eggssma = sma(smaPeriodMin)
  2481. _G.eggssmahour = sma(smaPeriodHour)
  2482. _G.eggsFirstVal = 0
  2483. _G.eggsLastVal = 0
  2484. _G.eggsLastTime = 0
  2485. _G.coinsma = sma(smaPeriodMin)
  2486. _G.coinsmahour = sma(smaPeriodHour)
  2487. _G.coinFirstVal = 0
  2488. _G.coinLastVal = 0
  2489. _G.coinLastTime = 0
  2490. _G.gemsma = sma(smaPeriodMin)
  2491. _G.gemsmahour = sma(smaPeriodHour)
  2492. _G.gemFirstVal = 0
  2493. _G.gemLastVal = 0
  2494. _G.gemLastTime = 0
  2495. _G.candysma = sma(smaPeriodMin)
  2496. _G.candysmahour = sma(smaPeriodHour)
  2497. _G.candyFirstVal = 0
  2498. _G.candyLastVal = 0
  2499. _G.candyLastTime = 0
  2500. _G.blockssma = sma(smaPeriodMin)
  2501. _G.blockssmahour = sma(smaPeriodHour)
  2502. _G.blocksFirstVal = 0
  2503. _G.blocksLastVal = 0
  2504. _G.blocksLastTime = 0
  2505. _G.shellssma = sma(smaPeriodMin)
  2506. _G.shellssmahour = sma(smaPeriodHour)
  2507. _G.shellsFirstVal = 0
  2508. _G.shellsLastVal = 0
  2509. _G.shellsLastTime = 0
  2510. _G.pearlssma = sma(smaPeriodMin)
  2511. _G.pearlssmahour = sma(smaPeriodHour)
  2512. _G.pearlsFirstVal = 0
  2513. _G.pearlsLastVal = 0
  2514. _G.pearlsLastTime = 0
  2515. _G.starssma = sma(smaPeriodMin)
  2516. _G.starssmahour = sma(smaPeriodHour)
  2517. _G.starsFirstVal = 0
  2518. _G.starsLastVal = 0
  2519. _G.starsLastTime = 0
  2520. _G.magmasma = sma(smaPeriodMin)
  2521. _G.magmasmahour = sma(smaPeriodHour)
  2522. _G.magmaFirstVal = 0
  2523. _G.magmaLastVal = 0
  2524. _G.magmaLastTime = 0
  2525. _G.crystalssma = sma(smaPeriodMin)
  2526. _G.crystalssmahour = sma(smaPeriodHour)
  2527. _G.crystalsFirstVal = 0
  2528. _G.crystalsLastVal = 0
  2529. _G.crystalsLastTime = 0
  2530. _G.eventcurrsma = sma(smaPeriodMin)
  2531. _G.eventcurrsmahour = sma(smaPeriodHour)
  2532. _G.eventcurrFirstVal = 0
  2533. _G.eventcurrLastVal = 0
  2534. _G.eventcurrLastTime = 0
  2535.  
  2536.  
  2537. spawn(function()
  2538. while wait(.1) do
  2539. local playerData = f:InvokeServer("GetPlayerData")
  2540. local eggsOpenedindex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["EGGS_OPENED"]
  2541. local bubblesBlownindex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["BUBBLES_BLOWN"]
  2542. local shardindex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["SHARDS"]
  2543. formatted = playerData[eggsOpenedindex]
  2544. while true do
  2545. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2546. if (k==0) then
  2547. break
  2548. end
  2549. end
  2550. Eggs.Text = formatted
  2551. if _G.eggsLastTime ~= 0 then
  2552. if os.time() >= (_G.eggsLastTime + _G.currAlertWait) then
  2553. local ratemins = getCurrRate(_G.eggssma(playerData[eggsOpenedindex] - _G.eggsLastVal), _G.eggsLastTime, "mins")
  2554. local ratehours = getCurrRate(_G.eggssmahour(playerData[eggsOpenedindex] - _G.eggsLastVal), _G.eggsLastTime, "hours")
  2555. EggsPerMin.Text = ratemins .. "/m"
  2556. EggsPerHour.Text = ratehours .. "/h"
  2557. _G.eggsLastVal = playerData[eggsOpenedindex]
  2558. _G.eggsLastTime = os.time()
  2559.  
  2560. if _G.EggsAlert and _G.DiscordAlerts and (_G.EggsAlertLast == 0 or os.time() >= (_G.EggsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2561. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", "Eggs", false, "orange")
  2562. _G.EggsAlertLast = os.time()
  2563. elseif _G.EggsAlert and _G.DiscordAlerts then
  2564. local minutesLeft = 0
  2565. local secondsLeft = (_G.EggsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2566. if secondsLeft >= 60 then
  2567. minutesLeft = math.floor(secondsLeft / 60)
  2568. secondsLeft = secondsLeft - (minutesLeft * 60)
  2569. end
  2570. EggsAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2571. end
  2572.  
  2573. end
  2574. elseif _G.eggsLastTime == 0 then
  2575. _G.eggsFirstVal = playerData[eggsOpenedindex]
  2576. _G.eggsLastVal = playerData[eggsOpenedindex]
  2577. _G.eggsLastTime = os.time()
  2578. end
  2579. formatted = playerData[bubblesBlownindex]
  2580. while true do
  2581. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2582. if (k==0) then
  2583. break
  2584. end
  2585. end
  2586. Bubbles.Text = formatted
  2587. if _G.bubbleLastTime ~= 0 then
  2588. if os.time() >= (_G.bubbleLastTime + _G.currAlertWait) then
  2589. local ratemins = getCurrRate(_G.bubblesma(playerData[bubblesBlownindex] - _G.bubbleLastVal), _G.bubbleLastTime, "mins")
  2590. local ratehours = getCurrRate(_G.bubblesmahour(playerData[bubblesBlownindex] - _G.bubbleLastVal), _G.bubbleLastTime, "hours")
  2591. BubblesPerMin.Text = ratemins .. "/m"
  2592. BubblesPerHour.Text = ratehours .. "/h"
  2593. _G.bubbleLastVal = playerData[bubblesBlownindex]
  2594. _G.bubbleLastTime = os.time()
  2595.  
  2596. if _G.BubbleAlert and _G.DiscordAlerts and (_G.BubbleAlertLast == 0 or os.time() >= (_G.BubbleAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2597. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", "Bubbles", false, "orange")
  2598. _G.BubbleAlertLast = os.time()
  2599. elseif _G.BubbleAlert and _G.DiscordAlerts then
  2600. local minutesLeft = 0
  2601. local secondsLeft = (_G.BubbleAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2602. if secondsLeft >= 60 then
  2603. minutesLeft = math.floor(secondsLeft / 60)
  2604. secondsLeft = secondsLeft - (minutesLeft * 60)
  2605. end
  2606. BubbleAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2607. end
  2608.  
  2609. end
  2610. elseif _G.bubbleLastTime == 0 then
  2611. _G.bubbleFirstVal = playerData[bubblesBlownindex]
  2612. _G.bubbleLastVal = playerData[bubblesBlownindex]
  2613. _G.bubbleLastTime = os.time()
  2614. end
  2615.  
  2616. for i,d in pairs(currencys) do
  2617. if i == "Coins" then
  2618. formatted = math.ceil(d.Value)
  2619. while true do
  2620. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2621. if (k==0) then
  2622. break
  2623. end
  2624. end
  2625. Coins.Text = formatted
  2626. if _G.coinLastTime ~= 0 then
  2627. if os.time() >= (_G.coinLastTime + _G.currAlertWait) then
  2628. local ratemins = getCurrRate(_G.coinsma(d.Value - _G.coinLastVal), _G.coinLastTime, "mins")
  2629. local ratehours = getCurrRate(_G.coinsmahour(d.Value - _G.coinLastVal), _G.coinLastTime, "hours")
  2630. CoinsPerMin.Text = ratemins .. "/m"
  2631. CoinsPerHour.Text = ratehours .. "/h"
  2632. _G.coinLastVal = d.Value
  2633. _G.coinLastTime = os.time()
  2634.  
  2635. if _G.CoinAlert and _G.DiscordAlerts and (_G.CoinAlertLast == 0 or os.time() >= (_G.CoinAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2636. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2637. _G.CoinAlertLast = os.time()
  2638. elseif _G.CoinAlert and _G.DiscordAlerts then
  2639. local minutesLeft = 0
  2640. local secondsLeft = (_G.CoinAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2641. if secondsLeft >= 60 then
  2642. minutesLeft = math.floor(secondsLeft / 60)
  2643. secondsLeft = secondsLeft - (minutesLeft * 60)
  2644. end
  2645. CoinAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2646. end
  2647.  
  2648. end
  2649. elseif _G.coinLastTime == 0 then
  2650. _G.coinFirstVal = d.Value
  2651. _G.coinLastVal = d.Value
  2652. _G.coinLastTime = os.time()
  2653. end
  2654. elseif i == "Gems" then
  2655. formatted = math.ceil(d.Value)
  2656. while true do
  2657. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2658. if (k==0) then
  2659. break
  2660. end
  2661. end
  2662. Gems.Text = formatted
  2663. if _G.gemLastTime ~= 0 then
  2664. if os.time() >= (_G.gemLastTime + _G.currAlertWait) then
  2665. local ratemins = getCurrRate(_G.gemsma(d.Value - _G.gemLastVal), _G.gemLastTime, "mins")
  2666. local ratehours = getCurrRate(_G.gemsmahour(d.Value - _G.gemLastVal), _G.gemLastTime, "hours")
  2667. GemsPerMin.Text = ratemins .. "/m"
  2668. GemsPerHour.Text = ratehours .. "/h"
  2669. _G.gemLastVal = d.Value
  2670. _G.gemLastTime = os.time()
  2671.  
  2672. if _G.GemAlert and _G.DiscordAlerts and (_G.GemAlertLast == 0 or os.time() >= (_G.GemAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2673. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2674. _G.GemAlertLast = os.time()
  2675. elseif _G.GemAlert and _G.DiscordAlerts then
  2676. local minutesLeft = 0
  2677. local secondsLeft = (_G.GemAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2678. if secondsLeft >= 60 then
  2679. minutesLeft = math.floor(secondsLeft / 60)
  2680. secondsLeft = secondsLeft - (minutesLeft * 60)
  2681. end
  2682. GemAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2683. end
  2684.  
  2685. end
  2686. elseif _G.gemLastTime == 0 then
  2687. _G.gemFirstVal = d.Value
  2688. _G.gemLastVal = d.Value
  2689. _G.gemLastTime = os.time()
  2690. end
  2691. elseif i == "Crystals" then
  2692. formatted = math.ceil(d.Value)
  2693. while true do
  2694. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2695. if (k==0) then
  2696. break
  2697. end
  2698. end
  2699. Crystals.Text = formatted
  2700. if _G.crystalsLastTime ~= 0 then
  2701. if os.time() >= (_G.crystalsLastTime + _G.currAlertWait) then
  2702. local ratemins = getCurrRate(_G.crystalssma(d.Value - _G.crystalsLastVal), _G.crystalsLastTime, "mins")
  2703. local ratehours = getCurrRate(_G.crystalssmahour(d.Value - _G.crystalsLastVal), _G.crystalsLastTime, "hours")
  2704. CrystalsPerMin.Text = ratemins .. "/m"
  2705. CrystalsPerHour.Text = ratehours .. "/h"
  2706. _G.crystalsLastVal = d.Value
  2707. _G.crystalsLastTime = os.time()
  2708.  
  2709. if _G.CrystalsAlert and _G.DiscordAlerts and (_G.CrystalsAlertLast == 0 or os.time() >= (_G.CrystalsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2710. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2711. _G.CrystalsAlertLast = os.time()
  2712. elseif _G.CrystalsAlert and _G.DiscordAlerts then
  2713. local minutesLeft = 0
  2714. local secondsLeft = (_G.CrystalsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2715. if secondsLeft >= 60 then
  2716. minutesLeft = math.floor(secondsLeft / 60)
  2717. secondsLeft = secondsLeft - (minutesLeft * 60)
  2718. end
  2719. CrystalAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2720. end
  2721.  
  2722. end
  2723. elseif _G.crystalsLastTime == 0 then
  2724. _G.crystalsFirstVal = d.Value
  2725. _G.crystalsLastVal = d.Value
  2726. _G.crystalsLastTime = os.time()
  2727. end
  2728. elseif i == "Candy" then
  2729. formatted = math.ceil(d.Value)
  2730. while true do
  2731. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2732. if (k==0) then
  2733. break
  2734. end
  2735. end
  2736. Candy.Text = formatted
  2737. if _G.candyLastTime ~= 0 then
  2738. if os.time() >= (_G.candyLastTime + _G.currAlertWait) then
  2739. local ratemins = getCurrRate(_G.candysma(d.Value - _G.candyLastVal), _G.candyLastTime, "mins")
  2740. local ratehours = getCurrRate(_G.candysmahour(d.Value - _G.candyLastVal), _G.candyLastTime, "hours")
  2741. CandyPerMin.Text = ratemins .. "/m"
  2742. CandyPerHour.Text = ratehours .. "/h"
  2743. _G.candyLastVal = d.Value
  2744. _G.candyLastTime = os.time()
  2745.  
  2746. if _G.CandyAlert and _G.DiscordAlerts and (_G.CandyAlertLast == 0 or os.time() >= (_G.CandyAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2747. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2748. _G.CandyAlertLast = os.time()
  2749. elseif _G.CandyAlert and _G.DiscordAlerts then
  2750. local minutesLeft = 0
  2751. local secondsLeft = (_G.CandyAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2752. if secondsLeft >= 60 then
  2753. minutesLeft = math.floor(secondsLeft / 60)
  2754. secondsLeft = secondsLeft - (minutesLeft * 60)
  2755. end
  2756. CandyAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2757. end
  2758.  
  2759. end
  2760. elseif _G.candyLastTime == 0 then
  2761. _G.candyFirstVal = d.Value
  2762. _G.candyLastVal = d.Value
  2763. _G.candyLastTime = os.time()
  2764. end
  2765. elseif i == "Blocks" then
  2766. formatted = math.ceil(d.Value)
  2767. while true do
  2768. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2769. if (k==0) then
  2770. break
  2771. end
  2772. end
  2773. Blocks.Text = formatted
  2774. if _G.blocksLastTime ~= 0 then
  2775. if os.time() >= (_G.blocksLastTime + _G.currAlertWait) then
  2776. local ratemins = getCurrRate(_G.blockssma(d.Value - _G.blocksLastVal), _G.blocksLastTime, "mins")
  2777. local ratehours = getCurrRate(_G.blockssmahour(d.Value - _G.blocksLastVal), _G.blocksLastTime, "hours")
  2778. BlocksPerMin.Text = ratemins .. "/m"
  2779. BlocksPerHour.Text = ratehours .. "/h"
  2780. _G.blocksLastVal = d.Value
  2781. _G.blocksLastTime = os.time()
  2782.  
  2783. if _G.BlocksAlert and _G.DiscordAlerts and (_G.BlocksAlertLast == 0 or os.time() >= (_G.BlocksAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2784. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2785. _G.BlocksAlertLast = os.time()
  2786. elseif _G.BlocksAlert and _G.DiscordAlerts then
  2787. local minutesLeft = 0
  2788. local secondsLeft = (_G.BlocksAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2789. if secondsLeft >= 60 then
  2790. minutesLeft = math.floor(secondsLeft / 60)
  2791. secondsLeft = secondsLeft - (minutesLeft * 60)
  2792. end
  2793. BlocksAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2794. end
  2795.  
  2796. end
  2797. elseif _G.blocksLastTime == 0 then
  2798. _G.blocksFirstVal = d.Value
  2799. _G.blocksLastVal = d.Value
  2800. _G.blocksLastTime = os.time()
  2801. end
  2802. elseif i == "Shells" then
  2803. formatted = math.ceil(d.Value)
  2804. while true do
  2805. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2806. if (k==0) then
  2807. break
  2808. end
  2809. end
  2810. Shells.Text = formatted
  2811. if _G.shellsLastTime ~= 0 then
  2812. if os.time() >= (_G.shellsLastTime + _G.currAlertWait) then
  2813. local ratemins = getCurrRate(_G.shellssma(d.Value - _G.shellsLastVal), _G.shellsLastTime, "mins")
  2814. local ratehours = getCurrRate(_G.shellssmahour(d.Value - _G.shellsLastVal), _G.shellsLastTime, "hours")
  2815. ShellsPerMin.Text = ratemins .. "/m"
  2816. ShellsPerHour.Text = ratehours .. "/h"
  2817. _G.shellsLastVal = d.Value
  2818. _G.shellsLastTime = os.time()
  2819.  
  2820. if _G.ShellsAlert and _G.DiscordAlerts and (_G.ShellsAlertLast == 0 or os.time() >= (_G.ShellsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2821. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2822. _G.ShellsAlertLast = os.time()
  2823. elseif _G.ShellsAlert and _G.DiscordAlerts then
  2824. local minutesLeft = 0
  2825. local secondsLeft = (_G.ShellsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2826. if secondsLeft >= 60 then
  2827. minutesLeft = math.floor(secondsLeft / 60)
  2828. secondsLeft = secondsLeft - (minutesLeft * 60)
  2829. end
  2830. ShellsAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2831. end
  2832.  
  2833. end
  2834. elseif _G.shellsLastTime == 0 then
  2835. _G.shellsFirstVal = d.Value
  2836. _G.shellsLastVal = d.Value
  2837. _G.shellsLastTime = os.time()
  2838. end
  2839. elseif i == "Pearls" then
  2840. formatted = math.ceil(d.Value)
  2841. while true do
  2842. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2843. if (k==0) then
  2844. break
  2845. end
  2846. end
  2847. Pearls.Text = formatted
  2848. if _G.pearlsLastTime ~= 0 then
  2849. if os.time() >= (_G.pearlsLastTime + _G.currAlertWait) then
  2850. local ratemins = getCurrRate(_G.pearlssma(d.Value - _G.pearlsLastVal), _G.pearlsLastTime, "mins")
  2851. local ratehours = getCurrRate(_G.pearlssmahour(d.Value - _G.pearlsLastVal), _G.pearlsLastTime, "hours")
  2852. PearlsPerMin.Text = ratemins .. "/m"
  2853. PearlsPerHour.Text = ratehours .. "/h"
  2854. _G.pearlsLastVal = d.Value
  2855. _G.pearlsLastTime = os.time()
  2856.  
  2857. if _G.PearlsAlert and _G.DiscordAlerts and (_G.PearlsAlertLast == 0 or os.time() >= (_G.PearlsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2858. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2859. _G.PearlsAlertLast = os.time()
  2860. elseif _G.PearlsAlert and _G.DiscordAlerts then
  2861. local minutesLeft = 0
  2862. local secondsLeft = (_G.PearlsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2863. if secondsLeft >= 60 then
  2864. minutesLeft = math.floor(secondsLeft / 60)
  2865. secondsLeft = secondsLeft - (minutesLeft * 60)
  2866. end
  2867. PearlsAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2868. end
  2869.  
  2870. end
  2871. elseif _G.pearlsLastTime == 0 then
  2872. _G.pearlsFirstVal = d.Value
  2873. _G.pearlsLastVal = d.Value
  2874. _G.pearlsLastTime = os.time()
  2875. end
  2876. elseif i == "Stars" then
  2877. formatted = math.ceil(d.Value)
  2878. while true do
  2879. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2880. if (k==0) then
  2881. break
  2882. end
  2883. end
  2884. Stars.Text = formatted
  2885. if _G.starsLastTime ~= 0 then
  2886. if os.time() >= (_G.starsLastTime + _G.currAlertWait) then
  2887. local ratemins = getCurrRate(_G.starssma(d.Value - _G.starsLastVal), _G.starsLastTime, "mins")
  2888. local ratehours = getCurrRate(_G.starssmahour(d.Value - _G.starsLastVal), _G.starsLastTime, "hours")
  2889. StarsPerMin.Text = ratemins .. "/m"
  2890. StarsPerHour.Text = ratehours .. "/h"
  2891. _G.starsLastVal = d.Value
  2892. _G.starsLastTime = os.time()
  2893.  
  2894. if _G.StarsAlert and _G.DiscordAlerts and (_G.StarsAlertLast == 0 or os.time() >= (_G.StarsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2895. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2896. _G.StarsAlertLast = os.time()
  2897. elseif _G.StarsAlert and _G.DiscordAlerts then
  2898. local minutesLeft = 0
  2899. local secondsLeft = (_G.StarsAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2900. if secondsLeft >= 60 then
  2901. minutesLeft = math.floor(secondsLeft / 60)
  2902. secondsLeft = secondsLeft - (minutesLeft * 60)
  2903. end
  2904. StarsAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2905. end
  2906.  
  2907. end
  2908. elseif _G.starsLastTime == 0 then
  2909. _G.starsFirstVal = d.Value
  2910. _G.starsLastVal = d.Value
  2911. _G.starsLastTime = os.time()
  2912. end
  2913. elseif i == "Magma" then
  2914. formatted = math.ceil(d.Value)
  2915. while true do
  2916. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2917. if (k==0) then
  2918. break
  2919. end
  2920. end
  2921. Magma.Text = formatted
  2922. if _G.magmaLastTime ~= 0 then
  2923. if os.time() >= (_G.magmaLastTime + _G.currAlertWait) then
  2924. local ratemins = getCurrRate(_G.magmasma(d.Value - _G.magmaLastVal), _G.magmaLastTime, "mins")
  2925. local ratehours = getCurrRate(_G.magmasmahour(d.Value - _G.magmaLastVal), _G.magmaLastTime, "hours")
  2926. MagmaPerMin.Text = ratemins .. "/m"
  2927. MagmaPerHour.Text = ratehours .. "/h"
  2928. _G.magmaLastVal = d.Value
  2929. _G.magmaLastTime = os.time()
  2930.  
  2931. if _G.MagmaAlert and _G.DiscordAlerts and (_G.MagmaAlertLast == 0 or os.time() >= (_G.MagmaAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2932. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2933. _G.MagmaAlertLast = os.time()
  2934. elseif _G.MagmaAlert and _G.DiscordAlerts then
  2935. local minutesLeft = 0
  2936. local secondsLeft = (_G.MagmaAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2937. if secondsLeft >= 60 then
  2938. minutesLeft = math.floor(secondsLeft / 60)
  2939. secondsLeft = secondsLeft - (minutesLeft * 60)
  2940. end
  2941. MagmaAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2942. end
  2943.  
  2944. end
  2945. elseif _G.magmaLastTime == 0 then
  2946. _G.magmaFirstVal = d.Value
  2947. _G.magmaLastVal = d.Value
  2948. _G.magmaLastTime = os.time()
  2949. end
  2950. elseif newEvent["Currency"] ~= nil and i == newEvent.Currency then
  2951. local currencyVal = d.Value
  2952. formatted = math.ceil(d.Value)
  2953. while true do
  2954. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2955. if (k==0) then
  2956. break
  2957. end
  2958. end
  2959. EventCurrency.Text = formatted
  2960. if _G.eventcurrLastTime ~= 0 then
  2961. if os.time() >= (_G.eventcurrLastTime + _G.currAlertWait) then
  2962. local ratemins = getCurrRate(_G.eventcurrsma(currencyVal - _G.eventcurrLastVal), _G.eventcurrLastTime, "mins")
  2963. local ratehours = getCurrRate(_G.eventcurrsmahour(currencyVal - _G.eventcurrLastVal), _G.eventcurrLastTime, "hours")
  2964. EventCurrencyPerMin.Text = ratemins .. "/m"
  2965. EventCurrencyPerHour.Text = ratehours .. "/h"
  2966. _G.eventcurrLastVal = currencyVal
  2967. _G.eventcurrLastTime = os.time()
  2968.  
  2969. if _G.EventCurrAlert and _G.DiscordAlerts and (_G.EventCurrAlertLast == 0 or os.time() >= (_G.EventCurrAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins))) then
  2970. inventoryAlert("Total: " .. formatted .. " #\n# Current Rates:\t" .. ratemins .. "/m & " .. ratehours .. "/h", i, false, "orange")
  2971. _G.EventCurrAlertLast = os.time()
  2972. elseif _G.EventCurrAlert and _G.DiscordAlerts then
  2973. local minutesLeft = 0
  2974. local secondsLeft = (_G.EventCurrAlertLast + (smaPeriodMin * _G.currAlertWait * _G.currAlertMsgWaitMins)) - os.time()
  2975. if secondsLeft >= 60 then
  2976. minutesLeft = math.floor(secondsLeft / 60)
  2977. secondsLeft = secondsLeft - (minutesLeft * 60)
  2978. end
  2979. EventAlertButton.Text = string.format("%02d:%02d", minutesLeft, secondsLeft)
  2980. end
  2981.  
  2982. end
  2983. elseif _G.eventcurrLastTime == 0 then
  2984. _G.eventcurrFirstVal = currencyVal
  2985. _G.eventcurrLastVal = currencyVal
  2986. _G.eventcurrLastTime = os.time()
  2987. end
  2988. end
  2989. end
  2990. end
  2991. end)
  2992.  
  2993.  
  2994. for i,d in pairs(petlist) do
  2995. if d["Rarity"] ~= "Legendary" then
  2996. raritys[d["Rarity"]] = true
  2997. end
  2998. end
  2999. local function ownsgamepass(userid,gamepassid)
  3000. local mar = game:GetService"MarketplaceService"
  3001. local s,res = pcall(mar.UserOwnsGamePassAsync,mar,userid,gamepassid)
  3002. if not s then
  3003. res = false
  3004. end
  3005. return res
  3006. end
  3007.  
  3008. local triple = ownsgamepass(game.Players.LocalPlayer.UserId, 5502695)
  3009. local plusFive = ownsgamepass(game.Players.LocalPlayer.UserId, 5364330)
  3010. local vip = ownsgamepass(game.Players.LocalPlayer.UserId, 5361608)
  3011.  
  3012. local eggs = library:CreateWindow('Auto Egg')
  3013. --local hats = library:CreateWindow("Hats")
  3014. local misc = library:CreateWindow('Misc')
  3015. misc:Section("Swap")
  3016. local worlds = {}
  3017. local loadworlds = false
  3018. repeat wait(0.1)
  3019. local modul = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.WorldService).SetWorld
  3020. for i,d in pairs(debug.getupvalue(modul,3)) do
  3021. loadworlds = true
  3022. end
  3023. until loadworlds
  3024. local tpyes = require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.WorldService)
  3025. table.insert(worlds,"Overworld")
  3026.  
  3027. if newEvent["Name"] ~= nil then
  3028. table.insert(worlds,newEvent["Name"])
  3029. end
  3030.  
  3031. table.insert(worlds,"Shard Area")
  3032.  
  3033.  
  3034. for i,d in pairs(debug.getupvalue(tpyes.SetWorld,3)) do
  3035. if i ~= "Overworld" then
  3036. table.insert(worlds,i)
  3037. end
  3038. end
  3039.  
  3040. _G.currentWorld = "Overworld"
  3041. _G.currentBuff = "Bubbles"
  3042. _G.buffChange = true
  3043. --_G.startgame = true
  3044.  
  3045. local function changeBuff(oldBuff,newBuff)
  3046. if oldBuff ~= newBuff then
  3047. --print("Currency changed from",_G.currentBuff,"to",newBuff)
  3048. _G.currentBuff = newBuff
  3049. _G.buffChange = true
  3050. else
  3051. _G.buffChange = false
  3052. end
  3053. end
  3054.  
  3055.  
  3056.  
  3057. local function tptoDrops(oldworld,newworld)
  3058. if oldworld ~= newworld then
  3059. if oldworld == "Event" then
  3060. tpyes.SetWorld(tpyes,"Overworld")
  3061. f["FireServer"](f, "Teleport", "EventLeave")
  3062. elseif oldworld == "Shard Area" then
  3063. tpyes.SetWorld(tpyes,"Overworld")
  3064. f["FireServer"](f, "Teleport", "ShardLeave")
  3065. end
  3066. if (newEvent["Name"] ~= nil and newworld == newEvent.Name) or newworld == "Event" then
  3067. tpyes.SetWorld(tpyes,"Overworld")
  3068. f["FireServer"](f, "Teleport", "EventSpawn")
  3069. _G.currentWorld = "Event"
  3070. elseif newworld == "Overworld" then
  3071. tpyes.SetWorld(tpyes,newworld)
  3072. f["FireServer"](f, "Teleport", "EventLeave")
  3073. _G.currentWorld = newworld
  3074. elseif newworld == "Shard Area" then
  3075. tpyes.SetWorld(tpyes,"Overworld")
  3076. f["FireServer"](f, "Teleport", "ShardArea")
  3077. _G.currentWorld = newworld
  3078. else
  3079. tpyes.SetWorld(tpyes,newworld)
  3080. _G.currentWorld = newworld
  3081. end
  3082.  
  3083. end
  3084. --if misc.flags.tptoevent then
  3085. --f["FireServer"](f, "Teleport", "EventSpawn")
  3086. --_G.world = "Overworld"
  3087. --wait(1)
  3088. --end
  3089.  
  3090. end
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096. misc:Dropdown("World", {
  3097. location = _G,
  3098. flag = "world",
  3099. list = worlds},
  3100. function(new) tptoDrops(_G.currentWorld,new) end
  3101. )
  3102.  
  3103. --_G.world = "Overworld"
  3104. --_G.OverWorldSpawn = "OverworldSpawn" --"EventSpawn"--"EventLeave" --
  3105.  
  3106. -- misc:Button('Swap World', function()
  3107. -- if _G.world ~= nil then
  3108. --tptoDrops(_G.currentWorld,_G.world)
  3109. --if-- _G.world == "Overworld" then
  3110. --f["FireServer"](f, "Teleport", _G.OverWorldSpawn)
  3111. --else
  3112. --tpyes.SetWorld(tpyes,_G.world)
  3113. --end
  3114. --end
  3115. -- end)
  3116. misc:Section("Unlock")
  3117. misc:Button('Unlock Islands', function()
  3118. for i , v in pairs(game:GetService("Workspace").FloatingIslands:GetChildren()) do
  3119. if #v:GetChildren() > 0 then
  3120. for i ,v in pairs(v:GetChildren()) do
  3121. game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = v.Collision.CFrame
  3122. wait(.25)
  3123. end
  3124. end
  3125. end
  3126. end)
  3127.  
  3128. _G.giantchestsec = 7200
  3129. _G.giantchestcollected = 0
  3130. _G.mediumchestsec = 5400
  3131. _G.mediumchestcollected = 0
  3132. _G.smallchestsec = 2700
  3133. _G.smallchestcollected = 0
  3134. _G.coinchestsec = 900
  3135. _G.coinchestcollected = 0
  3136. _G.islandchests = {["GiantChests"] = {"Sweet Island",
  3137. "Treasure Isle",
  3138. "Sea Shell Isle",
  3139. "Sandy Island",
  3140. "Purple Island",
  3141. "Molten Island",
  3142. "Magic Island" --,
  3143. --"XP Island"
  3144. },
  3145.  
  3146. ["MediumChests"] = {"The Void",
  3147. "Candy Island",
  3148. "Teddy Island",
  3149. "Oceanic Island",
  3150. "Treasure Island",
  3151. "Blue Island",
  3152. "Inferno Island",
  3153. "Spirit Island"},
  3154.  
  3155. ["SmallChests"] = {"The Skylands",
  3156. "Gumdrop Island",
  3157. "Block Island",
  3158. "Sea Island",
  3159. "Water Island",
  3160. "Red Island",
  3161. "Fire Island",
  3162. "Crystal Island"},
  3163.  
  3164. ["CoinChest"] = {"The Floating Island"}--,
  3165. --["XP Chest"] = {"XP Island"}
  3166. }
  3167.  
  3168.  
  3169. if vip then
  3170. _G.giantchestsec = _G.giantchestsec * .7
  3171. _G.mediumchestsec = _G.mediumchestsec * .7
  3172. _G.smallchestsec = _G.smallchestsec * .7
  3173. _G.coinchestsec = _G.coinchestsec * .7
  3174. end
  3175.  
  3176. misc:Section("Collect")
  3177. misc:Button("Collect chests", function()
  3178. if not _G.autoguessing and not _G.sell and not _G.collectingchests then
  3179. _G.collectingchests = true
  3180. for i,v in pairs(game:GetService("Workspace").FloatingIslands:GetDescendants()) do
  3181. if v.Name == "Chest" and v.ClassName == "Model" and not v.Regen.Enabled then
  3182. f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  3183. wait(0.25)
  3184. repeat
  3185. f["FireServer"](f, "CollectChestReward", v.Parent.Name)
  3186. wait()
  3187. until v.Regen.Enabled == true
  3188. wait(0.25)
  3189. print("Grabbed chest on " .. v.Parent.Name .. " in " .. _G.currentWorld)
  3190. end
  3191. if v.Name == "Chest" and v.ClassName == "Model" then
  3192. for x,y in pairs(_G.islandchests) do
  3193. for w,z in pairs(y) do
  3194. if z == v.Parent.Name then
  3195. local chesttime = v.Regen.Info.Text
  3196. local chesthour = tonumber(string.sub(chesttime, 16, 17))
  3197. local chestminute = tonumber(string.sub(chesttime, 19, 20))
  3198. local chestseconds = tonumber(string.sub(chesttime, 22, 23))
  3199. if x == "CoinChest" then
  3200. _G.coinchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.coinchestsec
  3201. elseif x == "SmallChests" then
  3202. _G.smallchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.smallchestsec
  3203. elseif x == "MediumChests" then
  3204. _G.mediumchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.mediumchestsec
  3205. elseif x == "GiantChests" then
  3206. _G.giantchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.giantchestsec
  3207. end
  3208. end
  3209. end
  3210. end
  3211. end
  3212. end
  3213. _G.collectingchests = false
  3214. end
  3215. end)
  3216.  
  3217. misc:Dropdown("Auto Chests", {location = _G, flag = "autochest", list = {"Auto Chest Off", "All Worlds", "Current World Only"}}, function() _G.giantchestcollected = 0
  3218. _G.mediumchestcollected = 0
  3219. _G.smallchestcollected = 0
  3220. _G.coinchestcollected = 0 end)
  3221. --misc:Toggle("TP to Event After", {flag = "tptoevent"})
  3222. misc:Section("Misc")
  3223.  
  3224. misc:Section("AutoEquip Per Currency")
  3225. misc:Toggle("Enabled", {flag = 'AutoEquip'})
  3226. --misc:Box('Num. Pets', {
  3227. --flag = "numPets",
  3228. --type = 'number'
  3229. --})
  3230. misc:Dropdown("Currency", {
  3231. location = _G,
  3232. flag = "buffCurrency",
  3233. list = currencylist},
  3234. function(new) changeBuff(_G.currentBuff,new) end
  3235. )
  3236. misc:Toggle("AutoChest Override", {flag = 'ChestOver'})
  3237.  
  3238.  
  3239. _G.collectingchests = false
  3240. _G.chestscollected = 0
  3241.  
  3242. local function collectChests(size)
  3243. local oldBuff = _G.currentBuff
  3244. local oldWorld = _G.currentWorld
  3245. --local currentWorld = _G.world
  3246. if size == "CoinChest" and (_G.autochest == "All Worlds" or (_G.autochest == "Current World Only" and _G.currentWorld == "Overworld")) then
  3247. if not misc.flags.ChestOver then
  3248. changeBuff(_G.currentBuff,"Coins")
  3249. end
  3250. --_G.world = "Overworld"
  3251. --tpyes.SetWorld(tpyes,_G.world)
  3252. --f["FireServer"](f, "Teleport", _G.OverWorldSpawn)
  3253. tptoDrops(_G.currentWorld,"Overworld")
  3254. wait(2)
  3255. for k,d in pairs(_G.islandchests[size]) do
  3256. for i,v in pairs(game:GetService("Workspace").FloatingIslands:GetDescendants()) do
  3257. if v.Name == "Chest" and v.ClassName == "Model" and v.Parent.Name == d and not v.Regen.Enabled then
  3258. --game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = v.Parent.Collision.CFrame
  3259. f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  3260. wait(0.25)
  3261. repeat
  3262. f["FireServer"](f, "CollectChestReward", v.Parent.Name)
  3263. wait()
  3264. until v.Regen.Enabled == true
  3265. wait(0.25)
  3266. print("Grabbed Coin Chest on " .. v.Parent.Name)
  3267. end
  3268. if v.Name == "Chest" and v.ClassName == "Model" and v.Parent.Name == d then
  3269. local chesttime = v.Regen.Info.Text
  3270. local chesthour = tonumber(string.sub(chesttime, 16, 17))
  3271. local chestminute = tonumber(string.sub(chesttime, 19, 20))
  3272. local chestseconds = tonumber(string.sub(chesttime, 22, 23))
  3273. _G.coinchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.coinchestsec
  3274. end
  3275. end
  3276. end
  3277. changeBuff(_G.currentBuff,oldBuff)
  3278. tptoDrops(_G.currentWorld,oldWorld)
  3279. wait(2)
  3280. else
  3281. for k,d in pairs(worlds) do
  3282. if not misc.flags.ChestOver then
  3283. if d == "Underworld" then
  3284. changeBuff(_G.currentBuff,"Magma")
  3285. elseif d == "Rainbow Land" then
  3286. changeBuff(_G.currentBuff,"Stars")
  3287. elseif d == "Mystic Forest" then
  3288. changeBuff(_G.currentBuff,"Crystals")
  3289. elseif d == "Candy Land" then
  3290. changeBuff(_G.currentBuff,"Candy")
  3291. elseif d == "Atlantis" then
  3292. changeBuff(_G.currentBuff,"Pearls")
  3293. elseif d == "Toy Land" then
  3294. changeBuff(_G.currentBuff,"Blocks")
  3295. elseif d == "Beach World" then
  3296. changeBuff(_G.currentBuff,"Shells")
  3297. end
  3298. end
  3299.  
  3300. if d ~= "Event" and (_G.autochest == "All Worlds" or (_G.autochest == "Current World Only" and _G.currentWorld == d)) then
  3301. tptoDrops(_G.currentWorld,d)
  3302. wait(2)
  3303. for i,v in pairs(game:GetService("Workspace").FloatingIslands:GetDescendants()) do
  3304. if size == "All" then
  3305. if v.Name == "Chest" and v.ClassName == "Model" and not v.Regen.Enabled then
  3306. if not misc.flags.ChestOver then
  3307. if d == "Overworld" then
  3308. if v.Parent.Name == "The Floating Island" then
  3309. changeBuff(_G.currentBuff,"Coins")
  3310. wait(1)
  3311. else
  3312. changeBuff(_G.currentBuff,"Gems")
  3313. wait(1)
  3314. end
  3315. end
  3316. end
  3317. --game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = v.Parent.Collision.CFrame
  3318. f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  3319. wait(0.25)
  3320. repeat
  3321. f["FireServer"](f, "CollectChestReward", v.Parent.Name)
  3322. wait()
  3323. until v.Regen.Enabled == true
  3324. wait(0.25)
  3325. print("Grabbed chest on " .. v.Parent.Name .. " in " .. d)
  3326. end
  3327. if v.Name == "Chest" and v.ClassName == "Model" then
  3328. for x,y in pairs(_G.islandchests) do
  3329. for w,z in pairs(y) do
  3330. if z == v.Parent.Name then
  3331. local chesttime = v.Regen.Info.Text
  3332. local chesthour = tonumber(string.sub(chesttime, 16, 17))
  3333. local chestminute = tonumber(string.sub(chesttime, 19, 20))
  3334. local chestseconds = tonumber(string.sub(chesttime, 22, 23))
  3335. if x == "SmallChests" then
  3336. _G.smallchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.smallchestsec
  3337. elseif x == "MediumChests" then
  3338. _G.mediumchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.mediumchestsec
  3339. elseif x == "GiantChests" and v.Parent.Name ~= "XP Island" then
  3340. _G.giantchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.giantchestsec
  3341. elseif x == "CoinChest" then
  3342. _G.coinchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.coinchestsec
  3343. end
  3344. end
  3345. end
  3346. end
  3347. end
  3348. else
  3349. for k,d in pairs(_G.islandchests[size]) do
  3350. if v.Name == "Chest" and v.ClassName == "Model" and v.Parent.Name == d and not v.Regen.Enabled then
  3351. --game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = v.Parent.Collision.CFrame
  3352. f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  3353. wait(0.25)
  3354. repeat
  3355. f["FireServer"](f, "CollectChestReward", v.Parent.Name)
  3356. wait()
  3357. until v.Regen.Enabled == true
  3358. wait(0.25)
  3359. print("Grabbed " .. size .. " chest on " .. v.Parent.Name .. " in " .. d)
  3360. end
  3361. if v.Name == "Chest" and v.ClassName == "Model" and v.Parent.Name == d then
  3362. local chesttime = v.Regen.Info.Text
  3363. local chesthour = tonumber(string.sub(chesttime, 16, 17))
  3364. local chestminute = tonumber(string.sub(chesttime, 19, 20))
  3365. local chestseconds = tonumber(string.sub(chesttime, 22, 23))
  3366. if size == "SmallChests" then
  3367. _G.smallchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.smallchestsec
  3368. elseif size == "MediumChests" then
  3369. _G.mediumchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.mediumchestsec
  3370. elseif size == "GiantChests" and v.Parent.Name ~= "XP Island" then
  3371. _G.giantchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.giantchestsec
  3372. elseif size == "CoinChest" then
  3373. _G.coinchestcollected = os.time() + (chesthour * 60 * 60) + (chestminute * 60) + chestseconds - _G.coinchestsec
  3374. end
  3375. end
  3376. end
  3377. end
  3378. end
  3379. end
  3380. end
  3381. changeBuff(_G.currentBuff,oldBuff)
  3382. tptoDrops(_G.currentWorld,oldWorld)
  3383. wait(2)
  3384. end
  3385. end
  3386.  
  3387.  
  3388.  
  3389. spawn(function ()
  3390. while wait(.3) do
  3391. if not _G.autoguessing and not _G.sell and not _G.collectingchests then
  3392. --if tonumber(_G.giantche) ~= nil and tonumber(misc.flags.chestmins) >= 10 then
  3393. --local chesttimer = tonumber(misc.flags.chestmins)*60
  3394. if _G.autochest == "All Worlds" and os.time() >= _G.giantchestcollected + _G.giantchestsec
  3395. and os.time() >= _G.mediumchestcollected + _G.mediumchestsec
  3396. and os.time() >= _G.smallchestcollected + _G.smallchestsec
  3397. and os.time() >= _G.coinchestcollected + _G.coinchestsec
  3398. and misc.flags.AutoEquip then
  3399. _G.collectingchests = true
  3400. collectChests("All")
  3401. --_G.giantchestcollected = os.time() + 60
  3402. --_G.mediumchestcollected = os.time() + 60
  3403. --_G.smallchestcollected = os.time() + 60
  3404. --_G.coinchestcollected = os.time() + 60
  3405. elseif (_G.autochest == "Current World Only" and _G.currentWorld == "Overworld") or _G.autochest == "All Worlds" and os.time() >= _G.coinchestcollected + _G.coinchestsec then
  3406. _G.collectingchests = true
  3407. collectChests("CoinChest")
  3408. --_G.coinchestcollected = os.time() + 15
  3409. elseif _G.autochest ~= "Auto Chest Off" and os.time() >= _G.smallchestcollected + _G.smallchestsec then
  3410. _G.collectingchests = true
  3411. collectChests("SmallChests")
  3412. --_G.smallchestcollected = os.time() + 30
  3413. elseif _G.autochest ~= "Auto Chest Off" and os.time() >= _G.mediumchestcollected + _G.mediumchestsec then
  3414. _G.collectingchests = true
  3415. collectChests("MediumChests")
  3416. --_G.mediumchestcollected = os.time() + 30
  3417. elseif (_G.autochest == "Current World Only" and _G.currentWorld ~= "Overworld") or _G.autochest == "All Worlds" and os.time() >= _G.giantchestcollected + _G.giantchestsec then
  3418. _G.collectingchests = true
  3419. collectChests("GiantChests")
  3420. --_G.giantchestcollected = os.time() + 30
  3421. --else
  3422. --print((_G.giantchestcollected + _G.giantchestsec - os.time()) / 60 .. " minutes until Giant chests collect again")
  3423. --print((_G.mediumchestcollected + _G.mediumchestsec - os.time()) / 60 .. " minutes until Medium chests collect again")
  3424. --print((_G.smallchestcollected + _G.smallchestsec - os.time()) / 60 .. " minutes until Small chests collect again")
  3425. --print((_G.coinchestcollected + _G.coinchestsec - os.time()) / 60 .. " minutes until Coin chests collect again")
  3426. --wait(60)
  3427. end
  3428.  
  3429. _G.collectingchests = false
  3430. end
  3431. end
  3432. end)
  3433.  
  3434.  
  3435. misc:Section("Items/Prizes/Rewards")
  3436. misc:Toggle("Bubbles", {flag = 'AutoClaimBubbles'})
  3437. misc:Toggle("Eggs", {flag = 'AutoClaimEggs'})
  3438. misc:Toggle("World Pet Rewards", {flag = 'AutoWorldRewards'})
  3439.  
  3440. local rewardsIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["REWARDS"]
  3441. local rewardsModule = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.RewardsModule)
  3442.  
  3443. spawn(function()
  3444. while wait(1) do
  3445. if misc.flags.AutoWorldRewards then
  3446. for i,v in pairs(rewardsModule.Worlds) do
  3447. local playerData = f:InvokeServer("GetPlayerData")
  3448. local reward = playerData[rewardsIndex][i] + 1
  3449. local currency = v.Currency
  3450. for x = reward, v.MaxLevel do
  3451. if rewardsModule:GetCost(i, x) <= currencys[currency].Value then
  3452. print("Collecting "..i.." Reward #"..x)
  3453. f:FireServer("CollectReward",i,x)
  3454. wait(1)
  3455. end
  3456. end
  3457. end
  3458. end
  3459. end
  3460. end)
  3461.  
  3462. misc:Toggle("Auto Buy Shop Items", {flag = 'AutoShop'})
  3463.  
  3464. spawn(function()
  3465. while wait(.6) do
  3466. local f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3467. repeat
  3468. wait(.1)
  3469. f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3470. until f ~= nil
  3471. local shop = game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.ShopModule
  3472.  
  3473. if misc.flags.AutoShop then
  3474. for k,v in pairs(shop:GetChildren()) do
  3475. for i,d in pairs(require(v)) do
  3476. if type(i) == "number" and type(d) == "table" then
  3477. for x,y in pairs(d) do
  3478. if x == "Name" then
  3479. if string.match(v.Name, "Gum") then
  3480. f:FireServer("BuyShopItem",v.Name,"Gum",y)
  3481. wait(5)
  3482. end
  3483. if string.match(v.Name, "Flavors") then
  3484. f:FireServer("BuyShopItem",v.Name,"Flavors",y)
  3485. wait(5)
  3486. end
  3487. if string.match(v.Name, "Faces") then
  3488. f:FireServer("BuyShopItem",v.Name,"Faces",y)
  3489. wait(5)
  3490. end
  3491. end
  3492. end
  3493. end
  3494. end
  3495. end
  3496. end
  3497. end
  3498. end)
  3499.  
  3500. local eggtps = {}
  3501. local eggsnames = {}
  3502. local egginfo = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.EggModule)
  3503. local crateinfo = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.CrateModule)
  3504. for i,d in pairs(require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.EggModule)) do
  3505. if game.Workspace.Eggs:FindFirstChild(i) then
  3506. eggtps[i] = game.Workspace.Eggs[i].Hotkey
  3507. end
  3508. table.insert(eggsnames, i)
  3509. end
  3510. for i,d in pairs(require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.CrateModule)) do
  3511. if game.Workspace.Eggs:FindFirstChild(i) then
  3512. eggtps[i] = game.Workspace.Eggs[i].Hotkey
  3513. end
  3514. table.insert(eggsnames, i)
  3515. end
  3516.  
  3517. eggs:Section("Open Eggs / Crates")
  3518. eggs:SearchBox("Egg", {
  3519. location = eggs.flags,
  3520. flag = "egg",
  3521. list = eggsnames
  3522. }, function()end)
  3523.  
  3524. eggs:Toggle('Buy Eggs', {flag = "eggs"})
  3525. if triple then
  3526. eggs:Toggle('Buy Eggs (3x)', {flag = "three"})
  3527. end
  3528. local cccc = require(game:GetService("ReplicatedStorage").Assets.Modules.EggService)
  3529. repeat
  3530. wait()
  3531. cccc = require(game:GetService("ReplicatedStorage").Assets.Modules.EggService)
  3532. until cccc ~= nil
  3533. local hat1 = cccc.HatchEgg
  3534. --local hat3 = cccc.MultiHatchEgg
  3535. eggs:Toggle('Skip Animation', {flag = "soa"},function(gh)
  3536. cccc.HatchEgg = (gh == true and function()end or hat1)
  3537. --cccc.MultiHatchEgg = (gh == true and function()end or hat3)
  3538. end)
  3539. eggs:Dropdown("Manage Inventory", {location = _G, flag = "AutoInv", list = {"Delete Pets", "Delete Hats", "Auto Delete Off"}}, function() _G.itemInv = {} end)
  3540. for i,d in pairs(raritys) do
  3541. eggs:Toggle('Delete '..i, {flag = tostring(i)})
  3542. end
  3543. -- hats:Section("Delete Hats")
  3544. --for i,d in pairs(raritys) do
  3545. -- hats:Toggle('Delete '..i, {flag = tostring(i)})
  3546. -- end
  3547. -- hats:Toggle('Delete Easy Legendary',{flag = 'easyleg'})
  3548. eggs:Toggle('Delete Easy Legendary',{flag = 'easyleg'})
  3549.  
  3550. eggs:Toggle('Custom Delete',{flag = 'customdelete'})
  3551. eggs:Box('Name', {
  3552. flag = "DeleteName",
  3553. type = 'text'
  3554. })
  3555.  
  3556. eggs:Toggle('Make Pets Shiny', {flag = "shiny"})
  3557. --eggs:Toggle('Show Alert(s)', {flag = "alerts"})
  3558. eggs:Section("Upgrade Pets")
  3559.  
  3560.  
  3561. -- eggs:Toggle('Enchant Pets', {flag = "upgrade"})
  3562.  
  3563. eggs:Box('Enchant Shiny(s)', {flag = 'enchantshinypetname', type="text"})
  3564. eggs:Box('Enchant Normal(s)', {flag = "enchantnormalpetname", type = 'text'})
  3565.  
  3566. eggs:Button('Use +1s on Pet', function()
  3567. local maxEnchant = 40
  3568. local maxLevel = 25
  3569. local f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3570. repeat
  3571. wait(.1)
  3572. f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3573. until f ~= nil
  3574. local playerData = f:InvokeServer("GetPlayerData")
  3575. local potionIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["POTIONS"]
  3576. local petIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["PETS"]
  3577. for i,d in pairs(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.PetsFrame.Pets.Container.Frame:GetChildren()) do
  3578. if d.Name ~= "UIGridLayout" then
  3579. if d.ImageColor3 == Color3.new(0, 1, 0) then
  3580. local petID = d.GUID.Value
  3581. for x,y in pairs(playerData[petIndex]) do
  3582. if y[1] == petID then
  3583. local petLevel = y[4]
  3584. local petEnchant = y[9]
  3585. for k,v in pairs(playerData[potionIndex]) do
  3586. if v[2] == "Level1" and petLevel < maxLevel then
  3587. f:FireServer("UsePotionOnPet",v[1],petID)
  3588. petLevel = petLevel + 1
  3589. end
  3590. if v[2] == "Enchant1" then
  3591. if y[8] and petEnchant < maxEnchant then
  3592. f:FireServer("UsePotionOnPet",v[1],petID)
  3593. petEnchant = petEnchant + 1
  3594. elseif not y[8] and y[4] == maxLevel and petEnchant < maxEnchant then
  3595. f:FireServer("UsePotionOnPet",v[1],petID)
  3596. petEnchant = petEnchant + 1
  3597. end
  3598. end
  3599. print(petLevel,petEnchant)
  3600. end
  3601. end
  3602. end
  3603. end
  3604. end
  3605. end
  3606. end)
  3607. eggs:Button('Max Lvl/Ench Selected', function()
  3608. local maxEnchant = 40
  3609. local maxLevel = 25
  3610. local f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3611. repeat
  3612. wait(.1)
  3613. f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3614. until f ~= nil
  3615. local playerData = f:InvokeServer("GetPlayerData")
  3616. local potionIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["POTIONS"]
  3617. local petIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["PETS"]
  3618. for i,d in pairs(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.PetsFrame.Pets.Container.Frame:GetChildren()) do
  3619. if d.Name ~= "UIGridLayout" then
  3620. if d.ImageColor3 == Color3.new(0, 1, 0) then
  3621. local usedLevel = false
  3622. local usedEnchant = false
  3623. local petID = d.GUID.Value
  3624. for k,v in pairs(playerData[potionIndex]) do
  3625. for x,y in pairs(playerData[petIndex]) do
  3626. if y[1] == petID then
  3627. if v[2] == "LevelMax" and not usedLevel and y[4] < maxLevel then
  3628. f:FireServer("UsePotionOnPet",v[1],petID)
  3629. usedLevel = true
  3630. end
  3631. if v[2] == "EnchantMax" and not usedEnchant then
  3632. if y[8] and y[9] < maxEnchant then
  3633. f:FireServer("UsePotionOnPet",v[1],petID)
  3634. usedEnchant = true
  3635. elseif not y[8] and y[4] == maxLevel and y[9] < maxEnchant then
  3636. f:FireServer("UsePotionOnPet",v[1],petID)
  3637. usedEnchant = true
  3638. elseif not y[8] and usedLevel and y[9] < maxEnchant then
  3639. f:FireServer("UsePotionOnPet",v[1],petID)
  3640. usedEnchant = true
  3641. end
  3642. end
  3643. end
  3644. end
  3645. end
  3646. end
  3647. end
  3648. end
  3649. end)
  3650. eggs:Toggle('Use Max Potion(s)', {flag = 'automaxpotion'})
  3651. eggs:Box('Shiny Pet(s)', {flag = 'usepotionshinypetname', type="text"})
  3652. eggs:Box('Normal Pet(s)', {flag = "usepotionnormalpetname", type = 'text'})
  3653.  
  3654.  
  3655. _G.sell = false
  3656. local range = 100
  3657.  
  3658. local plr = game.Players.LocalPlayer
  3659. local char = plr.Character
  3660. local root = char.HumanoidRootPart
  3661.  
  3662. function toTarget(pos, targetPos, targetCFrame)
  3663. local tween_s = game:service"TweenService"
  3664. local info = TweenInfo.new((targetPos - pos).Magnitude/80, Enum.EasingStyle.Quad)
  3665. -- local tic_k = tick()
  3666. local tween, err = pcall(function()
  3667. local tween = tween_s:Create(plr.Character["HumanoidRootPart"], info, {CFrame = targetCFrame})
  3668. tween:Play()
  3669. end)
  3670. if not tween then return err end
  3671. end
  3672.  
  3673. --function toTarget(pos, targetPos, targetCFrame)
  3674. --local tween, err = pcall(function()local tween = game:service"TweenService":Create(plr.Character["HumanoidRootPart"], TweenInfo.new((targetPos - pos).Magnitude/50, Enum.EasingStyle.Quad), {CFrame = targetCFrame})tween:Play()end)
  3675. --if not tween then return err end
  3676. --end
  3677.  
  3678. local skiptargets = {}
  3679.  
  3680. spawn(function()
  3681. while wait() do
  3682. if not _G.collectingchests and not _G.sell and farm.flags.tot == true and not ((eggs.flags.eggs == true or eggs.flags.three == true) and _G.canafford) then
  3683. local distance = math.huge
  3684. local target
  3685. for i,v in pairs(game:GetService("Workspace").Houses:GetChildren()) do
  3686. if v:WaitForChild("Activation"):WaitForChild("Tag"):WaitForChild("BillboardGui"):WaitForChild("Tag").Text == "Trick Or Treat!" and v:WaitForChild("Activation"):WaitForChild("Active").Value and (root.Position - v.Activation.Root.Position).Magnitude < distance and v ~= skiptargets[1] and v ~= skiptargets[2] and v ~= skiptargets[3] then
  3687. distance = (root.Position - v.Activation.Root.Position).Magnitude
  3688. target = v.Activation.Root
  3689. if #skiptargets == 3 then
  3690. table.remove(skiptargets, 1)
  3691. end
  3692. end
  3693. end
  3694. if not farm.flags.walk and target ~= nil and target.Parent.Active.Value and target.Parent.Tag.BillboardGui.Tag.Text == "Trick Or Treat!" then
  3695. toTarget(root.Position,target.Position + Vector3.new(0,2,0),target.CFrame + Vector3.new(0,2,0))
  3696. end
  3697. local starttime = os.time()
  3698. local connection
  3699. if farm.flags.walk and target ~= nil and target.Parent.Active.Value and target.Parent.Tag.BillboardGui.Tag.Text == "Trick Or Treat!" then
  3700. game:GetService("Players").LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(2486.85, 55.0488, -294.33))
  3701. connection = game:GetService("Players").LocalPlayer.Character.Humanoid.MoveToFinished:Connect(function()
  3702. game:GetService("Players").LocalPlayer.Character.Humanoid:MoveTo(target.Position, target)
  3703. connection:Disconnect()
  3704. connection = nil
  3705. end)
  3706. end
  3707. repeat
  3708. wait()
  3709. until target == nil or not target.Parent.Active.Value or target.Parent.Tag.BillboardGui.Tag.Text ~= "Trick Or Treat!" or os.time() > starttime + 10
  3710. if target and target.Parent.Active.Value and farm.flags.walk then
  3711. table.insert(skiptargets, target.Parent.Parent)
  3712. print("Skipping target")
  3713. end
  3714. end
  3715. end
  3716. end)
  3717.  
  3718.  
  3719. spawn(function()
  3720. while wait() do
  3721.  
  3722. local canaffordold = _G.canafford
  3723. if not _G.sell and not _G.collectingchests and not _G.autoguessing and (eggs.flags.eggs == true or eggs.flags.three == true) then
  3724. --local currentWorld = _G.world
  3725. if eggs.flags.egg ~= nil then
  3726. if (egginfo[eggs.flags.egg] or crateinfo[eggs.flags.egg]) then
  3727. local cost = (egginfo[eggs.flags.egg] or crateinfo[eggs.flags.egg]).Cost
  3728. local e = 0
  3729. e = cost[2]
  3730. if eggs.flags.three then
  3731. e = e * 3
  3732. end
  3733. if currencys[cost[1]] and _G.sell ~= true then
  3734. if currencys[cost[1]].Value >= e then
  3735. _G.canafford = true
  3736. if eggtps[eggs.flags.egg] then
  3737. if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  3738. if (eggtps[eggs.flags.egg].Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude > 10 then
  3739. if not farm.flags.walk then
  3740. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X,eggtps[eggs.flags.egg].Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z)
  3741. toTarget(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,eggtps[eggs.flags.egg].Position,eggtps[eggs.flags.egg].CFrame)
  3742. else
  3743. game:GetService("Players").LocalPlayer.Character.Humanoid:MoveTo(eggtps[eggs.flags.egg].Position, eggtps[eggs.flags.egg])
  3744. end
  3745. end
  3746.  
  3747. --while (eggtps[eggs.flags.egg].Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude > 10 do
  3748. --wait(.25)
  3749. --end
  3750.  
  3751. if eggs.flags.three == true then
  3752. f["FireServer"](f, "PurchaseEgg",eggs.flags.egg, 'Multi')
  3753. else
  3754. f["FireServer"](f, "PurchaseEgg",eggs.flags.egg)
  3755. end
  3756.  
  3757. end
  3758. end
  3759. else
  3760. _G.canafford = false
  3761. end
  3762. else
  3763. _G.canafford = false
  3764. end
  3765. else
  3766. _G.canafford = false
  3767. end
  3768. else
  3769. _G.canafford = false
  3770. end
  3771. else
  3772. _G.canafford = false
  3773. end
  3774.  
  3775. if canaffordold ~= _G.canafford then
  3776. _G.canaffordchange = true
  3777. end
  3778. --if canaffordold ~= _G.canaffordchange and not _G.canaffordchange and not _G.collectingchests and (eggs.flags.eggs == true or eggs.flags.three == true) and farm.flags.Drops then
  3779. if not _G.canafford and not _G.collectingchests and not _G.autoguessing and not _G.sell and (eggs.flags.eggs == true or eggs.flags.three == true) and _G.canaffordchange == true and farm.flags.Drops == true and not (_G.currentWorld == "Event" or _G.currentWorld == "Overworld" or _G.currentWorld == "Mystic Forest") then
  3780. _G.canaffordchange = false
  3781. for k,d in pairs(_G.islandchests["GiantChests"]) do
  3782. for i,v in pairs(game:GetService("Workspace").FloatingIslands:GetDescendants()) do
  3783. if v.Name == "Chest" and v.ClassName == "Model" and v.Parent.Name == d then
  3784. --game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = v.Parent.Collision.CFrame
  3785. f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  3786. --wait(1)
  3787. end
  3788. end
  3789. end
  3790. end
  3791.  
  3792.  
  3793.  
  3794. end
  3795. end)
  3796. farm:Section("Farm")
  3797. farm:Toggle('Auto-Bubble Blow', {flag = 'Bubble'})
  3798.  
  3799.  
  3800. --farm:Section("Auto-Sell Bubbles")
  3801. farm:Dropdown("Sell World", {location = _G, flag = "SellWorld", list = {"Sell Bubbles Off", "Overworld", "Candy Land", "Beach World", "Atlantis", "Underworld", "Mystic Forest"}})
  3802. farm:Toggle('Trick Or Treat', {flag = 'tot'})
  3803.  
  3804. farm:Toggle("Farm Drops", {flag = 'Drops'})
  3805.  
  3806. farm:Box('Radius', {
  3807. flag = "Rad",
  3808. type = 'number'
  3809. })
  3810. farm:Toggle('Walk (No TP)', {flag = 'walk'})
  3811.  
  3812.  
  3813. farm:Section("Acquire Buffs")
  3814. farm:Toggle('Daily Challenge', {flag = 'dailyChal'})
  3815. farm:Toggle('Group Benefits', {flag = 'groupBene'})
  3816. --farm:Toggle('Buy Merchant Pet', {flag = 'merchItems'})
  3817. --farm:Toggle('BubblePass Rewards', {flag = 'seasonChal'})
  3818. farm:Toggle('Redeem Shard Chal', {flag = 'shardChal'})
  3819. farm:Toggle('Redeem Halloween XP', {flag = 'halloweenChal'})
  3820.  
  3821. -- loadstring(game:HttpGet(("http://roguefamily.com/script/twittercodes"),true))()
  3822. --local twitterCodeGUI = library:CreateWindow('Redeem Twitter Codes')
  3823. --local twitterCodeFrame = game:GetService("CoreGui").ScreenGui.Container["Redeem Twitter Codes"]
  3824. --twitterCodeFrame.Visible = false
  3825. --twitterCodeFrame.Size = UDim2.new(0, 450,0 ,550)
  3826. --twitterCodeFrame.TextLabel.Position = UDim2.new(0, 5,0, -260)
  3827. --twitterCodeFrame.Position = UDim2.new(0, 0,1, -520)
  3828. --twitterCodeFrame.window_toggle:Destroy()
  3829.  
  3830. farm:Section("MiniGames")
  3831. farm:Toggle('Spin To Win', {flag = 'spt'})
  3832. farm:Toggle('Spooky Spin', {flag = 'sspt'})
  3833.  
  3834. farm:Toggle('Doggy Jump', {flag = 'doggyJump'})
  3835. --farm:Toggle('Match Pets', {flag = 'matchpets'})
  3836. --farm:Toggle('AutoGuess Pet', {flag = 'Guess'})
  3837. -- farm:Toggle('Friendly AutoGuess', {flag = 'Friendly'})
  3838. --farm:Section("Auto Guess")
  3839. farm:Dropdown("Autoguess", {location = _G, flag = "autoguess", list = {"Auto Guess Off", "Old Auto Guess", "Auto Guess TP"}})
  3840. --farm:Box('X Offset', {flag = "XOff", type = 'number'})
  3841. --farm:Box('Z Offset', {flag = "ZOff", type = 'number'})
  3842. farm:Section("Potions")
  3843. farm:Toggle('Delete +1s', {flag = 'delpotion1s'})
  3844.  
  3845. local function matchPets()
  3846. local complete = false
  3847. local matchGame = {}
  3848. local startTime
  3849. local startTime2
  3850. local NetworkRemoteFunction = game:GetService("ReplicatedStorage").NetworkRemoteFunction
  3851.  
  3852. for i = 1, 18, 1 do
  3853. startTime = os.time()
  3854. --print(startTime)
  3855. local pet1, status1
  3856. repeat
  3857. pet1, status1 = NetworkRemoteFunction:InvokeServer("MatchThePet", i)
  3858. until status1 ~= nil or os.time() >= startTime + 2
  3859. --print(i, pet1, status1)
  3860. if status1 ~= nil then
  3861. matchGame[i] = pet1
  3862. elseif status1 == "match" then
  3863. matchGame[i] = "matched"
  3864. elseif status1 == "complete" then
  3865. complete = true
  3866. break
  3867. end
  3868. end
  3869. if not complete then
  3870. for i,d in pairs(matchGame) do
  3871. for x,y in pairs(matchGame) do
  3872. if i ~= x and y ~= "matched" and d == y then
  3873. local pet1, status1
  3874. startTime = os.time()
  3875. repeat
  3876. pet1, status1 = NetworkRemoteFunction:InvokeServer("MatchThePet", i)
  3877. until status1 == "first" or os.time() >= startTime + 2
  3878. if status1 == "first" then
  3879. local pet2, status2
  3880. startTime2 = os.time()
  3881. repeat
  3882. pet2, status2 = NetworkRemoteFunction:InvokeServer("MatchThePet", x)
  3883. until status2 == "match" or os.time() >= startTime2 + 2
  3884. if status2 == "match" then
  3885. matchGame[i] = "matched"
  3886. matchGame[x] = "matched"
  3887. print("Matched: " .. pet1, status1, pet2, status2)
  3888. end
  3889. end
  3890. end
  3891. end
  3892. end
  3893. end
  3894. end
  3895.  
  3896. local spinModule = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.SpinToWinModule)
  3897. local spinindex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["SPIN_TO_WIN"]
  3898. local spookyspinModule = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.SpinToWinSpookyModule)
  3899. local spookyspinindex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["SPIN_TO_WIN_SPOOKY"]
  3900. local halloweenpassIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["HALLOWEENPASS"]
  3901. local halloweenpassModule = require(game:GetService("ReplicatedStorage").Assets.Modules.HalloweenPassService)
  3902. local potionIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["POTIONS"]
  3903.  
  3904. spawn(function()
  3905. while wait(1) do
  3906. local playerData = f:InvokeServer("GetPlayerData")
  3907.  
  3908. if farm.flags.delpotion1s then
  3909. for k,v in pairs(playerData[potionIndex]) do
  3910. if v[2] == "Enchant1" or v[2] == "Level1" then
  3911. f:FireServer("DeletePotion",v[1])
  3912. wait(.5)
  3913. end
  3914. end
  3915. end
  3916. if farm.flags.spt and playerData[spinindex] < spinModule:GetHalfDay() then
  3917. print("Spinning Wheel")
  3918. f['FireServer'](f,'SpinToWin')
  3919. wait(10)
  3920. guiserv:DisplayFrame("")
  3921.  
  3922. end
  3923. if farm.flags.sspt and playerData[spookyspinindex] < spookyspinModule.GetHalfDay() then
  3924. print("Spinning Spooky Wheel")
  3925. f['FireServer'](f,'SpinToWinSpooky')
  3926. wait(10)
  3927. guiserv:DisplayFrame("")
  3928. end
  3929. if farm.flags.doggyJump then
  3930. for i=1, 4 do
  3931. f['FireServer'](f,'DoggyJumpWin',i)
  3932. wait(1)
  3933. end
  3934. end
  3935. if farm.flags.groupBene then
  3936. f['InvokeServer'](f, 'CollectGroupReward')
  3937. wait(1)
  3938. end
  3939. if farm.flags.dailyChal then
  3940. f['FireServer'](f, 'ClaimDailyReward')
  3941. wait(1)
  3942. end
  3943. --if farm.flags.merchItems then
  3944. --for i = 1, 2 do
  3945. --f['FireServer'](f, 'BuyMerchantItem', 3)
  3946. --wait(.25)
  3947. --end
  3948. --end
  3949. --if farm.flags.seasonChal then
  3950. --for i = 1, 18 do
  3951. --f['FireServer'](f, 'ClaimChallengeReward', i, true)
  3952. --wait(.25)
  3953. --f['FireServer'](f, 'ClaimChallengeReward', i, false)
  3954. --wait(.25)
  3955. --end
  3956. --end
  3957. if farm.flags.shardChal then
  3958. f['FireServer'](f, 'GetShardQuest', 'Hard')
  3959. wait(1)
  3960. f['FireServer'](f, 'ClaimShardQuestReward')
  3961. wait(1)
  3962. end
  3963. if farm.flags.halloweenChal then
  3964. for v1330, v1331 in ipairs({ "Easy", "Medium", "Hard" }) do
  3965. local v1332, v1333 = unpack(playerData[halloweenpassIndex].Challenges[v1331])
  3966. local v1334 = halloweenpassModule:GetChallengeData(v1331, v1332)
  3967. local v1336 = v1334[2]
  3968. local v1337 = math.clamp(v1333, 0, v1336)
  3969. if v1336 <= v1337 then
  3970. print("Redeeming Halloween Pass "..v1331.." XP")
  3971. f:FireServer("CompleteHalloweenChallenge",v1331)
  3972. wait(.5)
  3973. end
  3974. end
  3975. end
  3976. --if farm.flags.matchpets then
  3977. --matchPets()
  3978. --end
  3979. end
  3980. end)
  3981.  
  3982. spawn(function()
  3983. while wait() do
  3984. if farm.flags.Bubble then
  3985. if f then
  3986. f['FireServer'](f,'BlowBubble')
  3987. else
  3988. f = debug.getupvalues(require(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.InputService).UpdateClickDelay)[1]
  3989. end
  3990. end
  3991. end
  3992. end)
  3993.  
  3994.  
  3995. spawn(function()
  3996. while wait(.3) do
  3997. if _G.SellWorld ~= "Sell Bubbles Off" and not _G.collectingchests and not _G.autoguessing then
  3998. local counter = 0
  3999. local leftside = ''
  4000. local rightside = ''
  4001. local a = {'', ''}
  4002. local statFrame = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:FindFirstChild("StatsFrame")
  4003. repeat
  4004. local statFrame = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:FindFirstChild("StatsFrame")
  4005. until statFrame ~= nil
  4006.  
  4007. a = string.split(statFrame.Bubble.Amount.Text,'/')
  4008. --for k,v in ipairs(a) do
  4009. --if k == 1 then leftside = tonumber(v)
  4010. --elseif k == 2 then rightside = tonumber(v)
  4011. --end
  4012. --end
  4013. if string.find(a[1],',') ~= nil then
  4014. leftside = a[1]:gsub(',','')
  4015. else
  4016. leftside = a[1]
  4017. end
  4018. if string.find(a[2],',') ~= nil then
  4019. rightside = a[2]:gsub(',','')
  4020. else
  4021. rightside = a[2]
  4022. end
  4023.  
  4024. if leftside ~= '' then
  4025. leftside = tonumber(leftside)
  4026. else
  4027. leftside = 0
  4028. end
  4029. if rightside ~= '' then
  4030. rightside = tonumber(rightside)
  4031. else
  4032. rightside = 0
  4033. end
  4034. --local leftside = 0
  4035. --local rightside = 0
  4036. --print("1: " .. leftside .. " / " .. rightside)
  4037. --if a[1] ~= nil then
  4038. --leftside = tonumber(a[1])
  4039. --end
  4040. --if a[2] ~= nil then
  4041. --rightside = tonumber(a[2])
  4042. --end
  4043. --print("2:" .. leftside .. " / " .. rightside)
  4044. --print(leftside,rightside)
  4045. --print(tonumber(a[1]) .. " " .. tonumber(a[2]))
  4046. if leftside > 0 and leftside >= rightside then
  4047. _G.sell = true
  4048. guiserv:DisplayFrame("")
  4049.  
  4050. wait(.1)
  4051. local oldWorld = _G.currentWorld
  4052. local oldBuff = _G.currentBuff
  4053. --changeBuff(_G.currentBuff,"Bubbles")
  4054. tptoDrops(_G.currentWorld,_G.SellWorld)
  4055. --wait(2)
  4056. repeat
  4057. f['FireServer'](f,"Teleport","Sell")
  4058. wait(.25)
  4059. f['FireServer'](f,'Sell')
  4060. wait(.25)
  4061. until string.split(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:WaitForChild("StatsFrame").Bubble.Amount.Text,'/')[1] ~= leftside
  4062. --changeBuff(_G.currentBuff,oldBuff)
  4063. tptoDrops(_G.SellWorld,oldWorld)
  4064. --wait(2)
  4065. if farm.flags.Drops then
  4066. for k,d in pairs(_G.islandchests["GiantChests"]) do
  4067. for i,v in pairs(game:GetService("Workspace").FloatingIslands:GetDescendants()) do
  4068. if v.Name == "Chest" and v.ClassName == "Model" and v.Parent.Name == d then
  4069. --game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = v.Parent.Collision.CFrame
  4070. f["FireServer"](f, "TeleportToCheckpoint", v.Parent.Name)
  4071. --wait(2)
  4072. end
  4073. end
  4074. end
  4075. end
  4076. _G.sell = false
  4077. else
  4078. _G.sell = false
  4079. end
  4080. end
  4081. end
  4082. end)
  4083.  
  4084. _G.autoguessing = false
  4085. --_G.autoguessstarttime = 0
  4086. --guessboard.SurfaceGui.Frame.Intro.Changed:Connect(function() if guessboard.SurfaceGui.Frame.Intro.Visible then _G.autoguessstarttime = os.time() + 2 end end)
  4087. game:GetService("Workspace").GuessThatPet.GuessThatPetBoard.SurfaceGui.Frame.Main.Pet.Changed:Connect(function()
  4088. if not _G.collectingchests and not _G.sell and _G.autoguess == "Auto Guess TP" then
  4089. _G.autoguessing = true
  4090. local oldWorld = _G.currentWorld
  4091. local oldBuff = _G.currentBuff
  4092. local guessboard = game:GetService("Workspace").GuessThatPet.GuessThatPetBoard
  4093. --local sentguess = false
  4094. --changeBuff(_G.currentBuff,"Gems")
  4095. tptoDrops(_G.currentWorld,"Overworld")
  4096. --f["FireServer"](f, "Teleport", "EventLeave")
  4097. --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame,guessboard.CFrame.Y - 2,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z)
  4098. --toTarget(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,guessboard.Position + Vector3.new(0,-2,0),guessboard.CFrame + Vector3.new(0,-2, 0))
  4099. --repeat
  4100. --wait(.1)
  4101. --if not sentguess and guessboard.Position.X - game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X <= farm.flags.XOff and guessboard.Position.Z - game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z <= farm.flags.ZOff then
  4102. --for i,d in pairs(pets) do
  4103. --if d == game:GetService("Workspace").GuessThatPet.GuessThatPetBoard.SurfaceGui.Frame.Main.Pet.Image then
  4104. --game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(i, "All")
  4105. --sentguess = true
  4106. --end
  4107. --end
  4108. --end
  4109. --until sentguess
  4110. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame,guessboard.CFrame.Y - 2,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z)
  4111. toTarget(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,guessboard.Position + Vector3.new(0,-2,0),guessboard.CFrame + Vector3.new(0,-2, 0))
  4112. for i,d in pairs(pets) do
  4113. if d == game:GetService("Workspace").GuessThatPet.GuessThatPetBoard.SurfaceGui.Frame.Main.Pet.Image then
  4114. for x = 1 , 10 , 1 do
  4115. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(i, "All")
  4116. wait(1)
  4117. end
  4118. end
  4119. end
  4120. wait(10)
  4121. tptoDrops(_G.currentWorld,oldWorld)
  4122. _G.autoguessing = false
  4123. elseif _G.autoguess == "Old Auto Guess" then
  4124. for i,d in pairs(pets) do
  4125. if d == game:GetService("Workspace").GuessThatPet.GuessThatPetBoard.SurfaceGui.Frame.Main.Pet.Image then
  4126. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(i, "All")
  4127. end
  4128. end
  4129. end
  4130. end)
  4131. --guessboard.SurfaceGui.Frame.Results.Title.Changed:Connect(function() if guessboard.SurfaceGui.Frame.Results.Title.Text:find("FINAL") ~= nil then _G.autoguessstarttime = os.time() + 9 end end)
  4132.  
  4133. --spawn(function ()
  4134. --while wait(.1) do
  4135. --print(_G.autoguessstarttime - os.time())
  4136. --if farm.flags.Guess and (os.time() - 1) >= _G.autoguessstarttime then
  4137.  
  4138. --end
  4139. --end
  4140. --end)
  4141.  
  4142.  
  4143.  
  4144.  
  4145. --game:GetService('RunService').Stepped:connect(function()
  4146. -- if farm.flags.Drops and not farm.flags.walk then
  4147. -- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  4148. -- end
  4149. --end)
  4150. local target = nil
  4151. spawn(function ()
  4152. while wait() do
  4153. if not _G.sell and ((farm.flags.Drops or target) and not farm.flags.walk) then
  4154. game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):ChangeState(11)
  4155. end
  4156. end
  4157. end)
  4158.  
  4159. spawn(function()
  4160. while wait(.1) do
  4161. if not _G.collectingchests and not _G.sell and farm.flags.Drops == true and not farm.flags.tot and not ((eggs.flags.eggs == true or eggs.flags.three == true) and _G.canafford) then
  4162. local closest = nil
  4163. local dis = math.huge
  4164. for i , v in ipairs(game.Workspace.Pickups:GetChildren()) do
  4165. range = farm.flags.Rad
  4166. if tonumber(range) ~= nil then
  4167. if v:FindFirstChild('TouchInterest') and (root.Position-v.Position).magnitude <= tonumber(range) and (root.Position-v.Position).magnitude < dis then --and farm.flags.Drops == true and _G.sell ~= true then
  4168. --root.CFrame = CFrame.new(root.CFrame.X,v.CFrame.Y,root.CFrame.Z)
  4169. closest = v
  4170. dis = (root.Position-v.Position).magnitude
  4171. end
  4172. end
  4173. end
  4174. if closest ~= nil and (target == nil or target.Parent == nil) then
  4175. local dis = closest.CFrame.Y - root.CFrame.Y
  4176. if dis < (closest.Size.Y * -1) or dis > closest.Size.Y then
  4177. root.CFrame = CFrame.new(root.CFrame.X,closest.CFrame.Y + 2,root.CFrame.Z)
  4178. end
  4179. if farm.flags.walk then
  4180. game:GetService("Players").LocalPlayer.Character.Humanoid:MoveTo(closest.Position, closest)
  4181. else
  4182. toTarget(root.Position,closest.Position + Vector3.new(0,2,0),closest.CFrame + Vector3.new(0,2,0))
  4183. end
  4184. end
  4185. end
  4186. end
  4187. end)
  4188.  
  4189. spawn(function()
  4190. local prize = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.PrizeModule)
  4191. while wait(.1) do
  4192. if misc.flags.AutoClaimBubbles then
  4193. for i,d in ipairs(prize["Bubbles"]) do
  4194. f:InvokeServer("CollectPrize","Bubbles",i)
  4195. wait(3)
  4196. end
  4197. end
  4198.  
  4199. if misc.flags.AutoClaimEggs then
  4200. for k,v in ipairs(prize["Eggs"]) do
  4201. f:InvokeServer("CollectPrize","Eggs",k)
  4202. wait(3)
  4203. end
  4204. end
  4205. end
  4206. end)
  4207.  
  4208. local Module = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService-- your module here
  4209. local gg = require(Module)
  4210.  
  4211.  
  4212.  
  4213.  
  4214. local function GetRarity(name)
  4215. local entry = petlist[name]
  4216. if entry ~= nil then
  4217. return petlist[name]['Rarity']
  4218. else
  4219. return "error"
  4220. end
  4221. end
  4222.  
  4223. local function HGetRarity(name)
  4224. local entry = hatlist[name]
  4225. if entry ~= nil then
  4226. return hatlist[name]['Rarity']
  4227. else
  4228. return "error"
  4229. end
  4230. end
  4231.  
  4232.  
  4233. local function Delete(Id)
  4234. f['FireServer'](f,'DeletePet',Id)
  4235. end
  4236. local function HDelete(Id)
  4237. f['FireServer'](f,'DeleteHat',Id)
  4238. end
  4239. repeat wait() until typeof(gg.TryShowPetsFrame) == "function"
  4240. --local get = debug.getupvalues(require(Module).TryShowPetsFrame)[4]["PetsFrame"]
  4241. --spawn(function()
  4242. --while wait(30) do
  4243.  
  4244. --end
  4245. --end)
  4246. local Eggs = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.EggModule)
  4247. local Crates = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.CrateModule)
  4248. local EasyLeg = {}
  4249. local BlueLeg = {}
  4250. local GreenLeg = {}
  4251. for i , v in pairs(Eggs) do
  4252. for i , v in pairs(v.Rarities) do
  4253. if GetRarity(v[1]) == 'Legendary' and v[2] >= 0.04 then
  4254. table.insert(EasyLeg,v[1])
  4255. end
  4256.  
  4257. if GetRarity(v[1]) == 'Legendary' and v[2] >= 0.005 and v[2] <= 1.0 then
  4258. table.insert(BlueLeg,v[1])
  4259. elseif GetRarity(v[1]) == 'Legendary' and v[2] >= 0.0005 and v[2] <= 0.004 then
  4260. table.insert(GreenLeg,v[1])
  4261. end
  4262. end
  4263. end
  4264. local HEasyLeg = {}
  4265. local HBlueLeg = {}
  4266. local HGreenLeg = {}
  4267. for i , v in pairs(Crates) do
  4268. for i , v in pairs(v.Rarities) do
  4269. if GetRarity(v[1]) == 'Legendary' and v[2] >= 0.04 then
  4270. table.insert(HEasyLeg,v[1])
  4271. end
  4272.  
  4273. if GetRarity(v[1]) == 'Legendary' and v[2] >= 0.005 and v[2] <= 1.0 then
  4274. table.insert(HBlueLeg,v[1])
  4275. elseif GetRarity(v[1]) == 'Legendary' and v[2] >= 0.0005 and v[2] <= 0.004 then
  4276. table.insert(HGreenLeg,v[1])
  4277. end
  4278. end
  4279. end
  4280.  
  4281. local pn = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["PETS"]
  4282. local hn = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["HATS"]
  4283. local prizeModule = require(game:GetService("ReplicatedStorage").Assets.Modules.ItemDataService.PrizeModule)
  4284. local claimedHatchRewardIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["CLAIMED_HATCH_REWARDS"]
  4285. local redeemedCodes = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["REDEEMED_CODES"]
  4286. local potionIndex = require(game:GetService("ReplicatedStorage").Assets.Modules.Library.index)["POTIONS"]
  4287. local playerData = f:InvokeServer("GetPlayerData")
  4288.  
  4289. --_G.buffType = "Bubbles"
  4290. maxPetsEquip = 5
  4291. --_G.buffCur = "Bubbles"
  4292. _G.equippedPets = {}
  4293. --local equipChange = true
  4294.  
  4295. _G.newInv = {}
  4296.  
  4297. for i,d in pairs(playerData[claimedHatchRewardIndex]) do
  4298. for k,v in pairs(prizeModule["Eggs"]) do
  4299. if k == d then
  4300. if v.Unlock == "+1 Pet Equipped" then
  4301. maxPetsEquip = maxPetsEquip+1
  4302. end
  4303. end
  4304. end
  4305. end
  4306.  
  4307. if plusFive then
  4308. maxPetsEquip = maxPetsEquip+5
  4309. end
  4310.  
  4311. local function GetBuff(name, curr)
  4312. local entry = petlist[name]
  4313. local val = 0
  4314. if entry ~= nil then
  4315. for x,y in pairs(entry['Buffs']) do
  4316. if x == curr then
  4317. val = y
  4318. return val
  4319. end
  4320. end
  4321. end
  4322. end
  4323.  
  4324. local function spairs(t, order)
  4325. local keys = {}
  4326. for k in pairs(t) do keys[#keys+1] = k end
  4327.  
  4328. if order then
  4329. table.sort(keys, function(a,b) return order(t, a, b) end)
  4330. else
  4331. table.sort(keys)
  4332. end
  4333.  
  4334. local i = 0
  4335. return function()
  4336. i = i + 1
  4337. if keys[i] then
  4338. return keys[i], t[keys[i]]
  4339. end
  4340. end
  4341. end
  4342.  
  4343. _G.itemInv = {}
  4344. _G.tradeList = {}
  4345. --_G.tradeNames = "" --"Paragon,Mythic Paragon,Sakuralord,Mythic Sakuralord,Shard"
  4346. --_G.tradeShiny = false
  4347. --_G.tradeTo = "" --"MotorboatFloater" --"PremiumSeating" -- "MoarCowball"
  4348. _G.tradeTo = ""
  4349. _G.tradeNames = "All"
  4350. _G.tradeShiny = true
  4351. _G.tradeReqSent = false
  4352. _G.tradeWait = 30 -- 360
  4353. _G.acceptTrades = false
  4354. _G.lastTrade = os.time() - 25
  4355. _G.tradeAccepted = false
  4356.  
  4357. local tradeFrame = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:WaitForChild("TradeFrame")
  4358. tradeFrame:GetPropertyChangedSignal("Visible"):Connect(function()
  4359. if _G.acceptTrades and _G.tradeAccepted then --not _G.tradeReqSent then
  4360. if tradeFrame.Visible then
  4361. --local tradeTo = _G.tradeTo
  4362. --_G.tradeTo = ""
  4363. while tradeFrame.Visible do
  4364. wait(.5)
  4365. f:FireServer("TradeReady")
  4366. wait(.5)
  4367. f:FireServer("TradeConfirm")
  4368. end
  4369.  
  4370. _G.tradeAccepted = false
  4371. --wait(10)
  4372. --_G.tradeTo = tradeTo
  4373. end
  4374. end
  4375. end)
  4376.  
  4377. local function doTrade()
  4378. for i,d in pairs(_G.tradeList) do
  4379. print(d)
  4380. wait(.5)
  4381. f:FireServer("TradeAddItem", d)
  4382. end
  4383. local tradeFinished = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:FindFirstChild("TradeFinished")
  4384. local startTrade = os.time()
  4385. repeat
  4386. wait(.5)
  4387. f:FireServer("TradeReady")
  4388. wait(.5)
  4389. f:FireServer("TradeConfirm")
  4390. tradeFinished = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:FindFirstChild("TradeFinished")
  4391. until tradeFinished ~= nil or os.time() >= startTrade + 30
  4392. _G.tradeList = {}
  4393. _G.lastTrade = os.time()
  4394. _G.tradeReqSent = false
  4395. end
  4396.  
  4397. spawn(function()
  4398. while wait(.1) do
  4399. if _G.acceptTrades and not _G.tradeAccepted then
  4400. local tradeWindow = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:FindFirstChild("TradeRequestNotification")
  4401. repeat
  4402. wait(.1)
  4403. tradeWindow = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui:FindFirstChild("TradeRequestNotification")
  4404. until tradeWindow ~= nil
  4405. if tradeWindow ~= nil then
  4406. _G.tradeAccepted = true
  4407. local tradePlayer = string.sub(tradeWindow.Desc.Text, 1, string.find(tradeWindow.Desc.Text, " ") - 1)
  4408. print("Accepting trade from " .. tradePlayer)
  4409. Players = game:GetService("Players")
  4410. for i, player in pairs(Players:GetPlayers()) do
  4411. if player.name == tradePlayer then
  4412. f:FireServer("TradeAcceptRequest", player)
  4413. end
  4414. end
  4415. --tradeWindow:Destroy()
  4416. end
  4417. end
  4418. end
  4419. end)
  4420.  
  4421. spawn(function()
  4422. while wait(.1) do
  4423. if not tradeReqSent and _G.tradeList[1] ~= nil and _G.tradeTo ~= "" then
  4424. local tradePlayer = _G.tradeTo
  4425. Players = game:GetService("Players")
  4426. for i, player in pairs(Players:GetPlayers()) do
  4427. if player.name == tradePlayer then
  4428. f:FireServer("TradeSendRequest", player)
  4429. wait(10)
  4430. if tradeFrame.Visible then
  4431. _G.tradeReqSent = true
  4432. doTrade()
  4433. end
  4434. end
  4435. end
  4436. end
  4437. --print(os.time(), tradeFrame.Visible, _G.tradeList, _G.tradeTo)
  4438. end
  4439. end)
  4440.  
  4441. spawn(function()
  4442. while wait(.1) do
  4443. local cp = {}
  4444. local dfg = {}
  4445. _G.newInv = {}
  4446. --local massDelete = {}
  4447. local numEquipped = 0
  4448. _G.equippedPets = {}
  4449. local equipBuff = 0
  4450. local newBuff = 0
  4451. local petBuffs = {}
  4452. local sortedPetBuffs = {}
  4453. local maxEnchant = 40
  4454. local maxLevel = 25
  4455. local a = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.ClientScript.Modules.GuiService
  4456. local e = f:InvokeServer("GetPlayerData")
  4457.  
  4458. for i,d in pairs(e[pn]) do
  4459. local id = d[1]
  4460. local name = d[2]
  4461. local isShiny = d[8]
  4462. local rarity = GetRarity(name)
  4463. local petBuff = GetBuff(name,_G.currentBuff)
  4464. local deleted = false
  4465. local traded = false
  4466. local easyLegend = false
  4467. local legendColor = ""
  4468. local delNames = eggs.flags.DeleteName
  4469. local potionShinyNames = eggs.flags.usepotionshinypetname
  4470. local potionNormalNames = eggs.flags.usepotionnormalpetname
  4471. local enchantShinyNames = eggs.flags.enchantshinypetname
  4472. local enchantNormalNames = eggs.flags.enchantnormalpetname
  4473.  
  4474.  
  4475. if petBuff ~= nil and petBuff > 0 then
  4476. basePetBuff = petBuff
  4477. petBuff = petBuff + ((d[4]-1)*(1/24)*basePetBuff)
  4478. petBuff = petBuff + (d[9]*.025*basePetBuff)
  4479. if d[8] == true then
  4480. petBuff = petBuff*2
  4481. end
  4482. petBuffs[id] = petBuff
  4483. else petBuff = 0
  4484. end
  4485.  
  4486. if d[6] then
  4487. table.insert(_G.equippedPets,d[1])
  4488. equipBuff = equipBuff + petBuff
  4489. numEquipped = numEquipped + 1
  4490. end
  4491.  
  4492.  
  4493. --if inList and i ~= nil then
  4494. --print(d[1],"in Equip Slot",i)
  4495. --elseif ~= inList
  4496.  
  4497. -- table.insert(equippedPets, d[1])
  4498. -- print(d[1],"added to Equipped List")
  4499. --end
  4500. for i , v in pairs(EasyLeg) do
  4501. if v == name then
  4502. easyLegend = true
  4503. end
  4504. end
  4505.  
  4506. for i , v in pairs(GreenLeg) do
  4507. if v == name then
  4508. legendColor = "green"
  4509. end
  4510. end
  4511.  
  4512.  
  4513. for i , v in pairs(BlueLeg) do
  4514. if v == name then
  4515. legendColor = "blue"
  4516. end
  4517. end
  4518.  
  4519.  
  4520. if _G.AutoInv == "Delete Pets" and not d[7] then
  4521. if eggs.flags[rarity] == true then
  4522. Delete(id)
  4523. deleted = true
  4524. elseif eggs.flags.easyleg and easyLegend then
  4525. Delete(id)
  4526. deleted = true
  4527. elseif eggs.flags.customdelete then
  4528. if tostring(delNames) ~= nil then
  4529. for i in string.gmatch(delNames, '([^,]+)') do
  4530. if name == i then
  4531. Delete(id)
  4532. --table.insert(massDelete,d[1])
  4533. deleted = true
  4534. end
  4535. end
  4536. end
  4537. end
  4538. end
  4539.  
  4540.  
  4541. if tostring(_G.tradeNames) ~= nil and _G.tradeTo ~= "" and deleted == false and not d[7] and not _G.tradeReqSent then
  4542. local inList = false
  4543. local listCount = 0
  4544. local addToList = false
  4545. for i in string.gmatch(_G.tradeNames, '([^,]+)') do
  4546. if name == i or i == "All" then
  4547. if (isShiny and _G.tradeShiny) or not isShiny then
  4548. addToList = true
  4549. end
  4550. end
  4551. end
  4552. if addToList and _G.tradeList[8] == nil then
  4553. if _G.tradeList[1] ~= nil then
  4554. for i,d in pairs(_G.tradeList) do
  4555. listCount = listCount + 1
  4556. if d == id then
  4557. inList = true
  4558. end
  4559. end
  4560. end
  4561. if not inList then
  4562. table.insert(_G.tradeList, id)
  4563. print(id, name)
  4564. end
  4565. traded = true
  4566. end
  4567. end
  4568.  
  4569. if deleted == false then
  4570. table.insert(_G.newInv, {d[1], d[2], rarity, d[8], legendColor})
  4571. end
  4572.  
  4573.  
  4574. if eggs.flags.shiny and deleted == false and traded == false and not d[7] then
  4575. if d[8] == false and not d[7] then
  4576. cp[name] = (cp[name] or 0) + 1
  4577. if cp[name] >= 10 then
  4578. cp[name] = 0
  4579. f:FireServer("MakePetShiny", id)
  4580. end
  4581. end
  4582. end
  4583.  
  4584. local enchantPet = false
  4585. if tostring(enchantShinyNames) ~= nil then
  4586. for i in string.gmatch(enchantShinyNames, '([^,]+)') do
  4587. if (i == "All" or name == i) and d[8] then
  4588. enchantPet = true
  4589. end
  4590. end
  4591. end
  4592. if tostring(enchantNormalNames) ~= nil then
  4593. for i in string.gmatch(enchantNormalNames, '([^,]+)') do
  4594. if i == "All" or name == i then
  4595. enchantPet = true
  4596. end
  4597. end
  4598. end
  4599. if enchantPet and (d[8] or d[4]==maxLevel) and d[9] < maxEnchant and deleted == false and traded == false then
  4600. f["FireServer"](f, "EnchantPet", id)
  4601. end
  4602.  
  4603. if eggs.flags.automaxpotion then
  4604. local shinyPet = false
  4605. if tostring(potionShinyNames) ~= nil then
  4606. for i in string.gmatch(potionShinyNames, '([^,]+)') do
  4607. if name == i and d[8] then
  4608. shinyPet = true
  4609. end
  4610. end
  4611. end
  4612. if tostring(potionNormalNames) ~= nil then
  4613. for i in string.gmatch(potionNormalNames, '([^,]+)') do
  4614. if name == i then
  4615. shinyPet = true
  4616. end
  4617. end
  4618. end
  4619. if shinyPet and deleted == false and traded == false then
  4620. local usedLevel = false
  4621. local usedEnchant = false
  4622. for k,v in pairs(e[potionIndex]) do
  4623. if v[2] == "LevelMax" and not usedLevel and d[4] < maxLevel then
  4624. f:FireServer("UsePotionOnPet",v[1],id)
  4625. usedLevel = true
  4626. end
  4627. if v[2] == "EnchantMax" and not usedEnchant then
  4628. if d[8] and d[9] < maxEnchant then
  4629. f:FireServer("UsePotionOnPet",v[1],id)
  4630. usedEnchant = true
  4631. elseif not d[8] and d[4] == maxLevel and d[9] < maxEnchant then
  4632. f:FireServer("UsePotionOnPet",v[1],id)
  4633. usedEnchant = true
  4634. elseif not d[8] and usedLevel and d[9] < maxEnchant then
  4635. f:FireServer("UsePotionOnPet",v[1],id)
  4636. usedEnchant = true
  4637. end
  4638. end
  4639. end
  4640. end
  4641. end
  4642. end
  4643.  
  4644. if _G.AutoInv == "Delete Hats" then
  4645. for i,d in pairs(e[hn]) do
  4646. local delNames = eggs.flags.DeleteName
  4647. local deleted = false
  4648. local id = d[1]
  4649. local name = d[2]
  4650. local rarity = HGetRarity(name)
  4651. local easyLegend = false
  4652. local legendColor = ""
  4653. for i , v in pairs(HEasyLeg) do
  4654. if v == name then
  4655. easyLegend = true
  4656. end
  4657. end
  4658. for i , v in pairs(HBlueLeg) do
  4659. if v == name then
  4660. legendColor = "blue"
  4661. end
  4662. end
  4663. for i , v in pairs(HGreenLeg) do
  4664. if v == name then
  4665. legendColor = "green"
  4666. end
  4667. end
  4668. if not d[4] then
  4669. if eggs.flags[rarity] == true then
  4670. HDelete(id)
  4671. deleted = true
  4672. elseif eggs.flags.easyleg and easyLegend then
  4673. HDelete(id)
  4674. deleted = true
  4675. elseif eggs.flags.customdelete then
  4676. if tostring(delNames) ~= nil then
  4677. for i in string.gmatch(delNames, '([^,]+)') do
  4678. if name == i then
  4679. HDelete(id)
  4680. --table.insert(massDelete,d[1])
  4681. deleted = true
  4682. end
  4683. end
  4684. end
  4685. end
  4686. end
  4687. if deleted == false then
  4688. table.insert(_G.newInv, {d[1], d[2], rarity, false, legendColor})
  4689. end
  4690. end
  4691. end
  4692.  
  4693. if _G.newInv[1] ~= nil then
  4694. for i,d in ipairs(_G.newInv) do
  4695. if _G.itemInv[1] ~= nil then
  4696. local itemFound = false
  4697. local skipAlert = false
  4698. for k,v in ipairs(_G.itemInv) do
  4699. if v[1] == d[1] then
  4700. itemFound = true
  4701. end
  4702. end
  4703.  
  4704. _G.ExcludeAlerts = ExcludedAlerts.Text
  4705.  
  4706. if tostring(_G.ExcludeAlerts) ~= nil then
  4707. for i in string.gmatch(_G.ExcludeAlerts, '([^,]+)') do
  4708. if d[2] == i then
  4709. skipAlert = true
  4710. end
  4711. end
  4712. end
  4713.  
  4714.  
  4715. if not itemFound and not skipAlert then
  4716. if cccc:IsSecretItem(d[2]) then
  4717. inventoryAlert(d[2], "SECRET", d[4], d[5])
  4718. else
  4719. inventoryAlert(d[2], d[3], d[4], d[5])
  4720. end
  4721. --print("New " .. d[3] .. " Item " .. d[1] .. " " .. d[2])
  4722. end
  4723. end
  4724. end
  4725. end
  4726.  
  4727. _G.itemInv = {}
  4728.  
  4729. if _G.newInv[1] ~= nil then
  4730. for i,d in ipairs(_G.newInv) do
  4731. table.insert(_G.itemInv, {d[1], d[2], d[3], d[4], d[5]})
  4732. end
  4733. end
  4734.  
  4735.  
  4736.  
  4737. for k,v in spairs(petBuffs, function(t,a,b) return t[b] < t[a] end) do
  4738. table.insert(sortedPetBuffs,{k,v})
  4739. end
  4740.  
  4741. for i=1,maxPetsEquip do
  4742. if sortedPetBuffs[i] ~= nil then
  4743. newBuff = newBuff + sortedPetBuffs[i][2]
  4744. end
  4745. end
  4746.  
  4747. if misc.flags.AutoEquip and sortedPetBuffs[1] ~= nil then
  4748. if (math.ceil(newBuff) > math.ceil(equipBuff)) or _G.buffChange then
  4749. if numEquipped ~= nil and numEquipped >= maxPetsEquip then
  4750. for i,d in pairs(_G.equippedPets) do
  4751. f:FireServer("UnequipPet", _G.equippedPets[i])
  4752. end
  4753. _G.equippedPets = {}
  4754. end
  4755. for i=1,maxPetsEquip do
  4756. if sortedPetBuffs[i] ~= nil then
  4757. f:FireServer("EquipPet", sortedPetBuffs[i][1])
  4758. end
  4759. end
  4760. end
  4761. _G.buffChange = false
  4762. end
  4763. end
  4764. end)
  4765. end
  4766.  
  4767. local this = 1
  4768. local that = 1
  4769.  
  4770. --if game.PlaceVersion > LatestSupportedVersion then
  4771. if this ~= that then
  4772.  
  4773. function RandomVariable(length)
  4774. local res = ""
  4775. for i = 1, length do
  4776. res = res .. string.char(math.random(97, 122))
  4777. end
  4778. return res
  4779. end
  4780.  
  4781. local ScreenGui = Instance.new("ScreenGui")
  4782. local Frame = Instance.new("Frame")
  4783. local TextLabel = Instance.new("TextLabel")
  4784. local TextLabel_2 = Instance.new("TextLabel")
  4785. local TextLabel_3 = Instance.new("TextLabel")
  4786. local Yes = Instance.new("TextButton")
  4787. local No = Instance.new("TextButton")
  4788.  
  4789. ScreenGui.Parent = game.CoreGui
  4790. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  4791. ScreenGui.Name = RandomVariable(math.random(3,20))
  4792.  
  4793. Frame.Parent = ScreenGui
  4794. Frame.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
  4795. Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  4796. Frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  4797. Frame.Size = UDim2.new(0, 400, 0, 250)
  4798. Frame.AnchorPoint = Vector2.new(0.5,0.5)
  4799. Frame.Name = RandomVariable(math.random(3,20))
  4800.  
  4801. TextLabel.Parent = Frame
  4802. TextLabel.BackgroundColor3 = Color3.fromRGB(48, 75, 94)
  4803. TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  4804. TextLabel.Position = UDim2.new(0, 0, 0.0480000004, 0)
  4805. TextLabel.Size = UDim2.new(1, 0, 0, 50)
  4806. TextLabel.Font = Enum.Font.SourceSans
  4807. TextLabel.Text = "Warning!"
  4808. TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  4809. TextLabel.TextScaled = true
  4810. TextLabel.TextSize = 14.000
  4811. TextLabel.TextWrapped = true
  4812. TextLabel.Name = RandomVariable(math.random(3,20))
  4813.  
  4814. TextLabel_2.Parent = Frame
  4815. TextLabel_2.BackgroundColor3 = Color3.fromRGB(48, 75, 94)
  4816. TextLabel_2.BackgroundTransparency = 1.000
  4817. TextLabel_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  4818. TextLabel_2.Position = UDim2.new(0, 0, 0.280000001, 0)
  4819. TextLabel_2.Size = UDim2.new(1, 0, 0.159999996, 50)
  4820. TextLabel_2.Font = Enum.Font.SourceSans
  4821. TextLabel_2.Text = "The script detected that the game has been updated and it wasnt tested on the newest version, you can still execute it on you own risk which can cause your account in getting banned if the anticheat was updated!"
  4822. TextLabel_2.TextColor3 = Color3.fromRGB(255, 0, 0)
  4823. TextLabel_2.TextSize = 20.000
  4824. TextLabel_2.TextWrapped = true
  4825. TextLabel_2.Name = RandomVariable(math.random(3,20))
  4826.  
  4827. TextLabel_3.Parent = Frame
  4828. TextLabel_3.BackgroundColor3 = Color3.fromRGB(48, 75, 94)
  4829. TextLabel_3.BorderColor3 = Color3.fromRGB(27, 42, 53)
  4830. TextLabel_3.Position = UDim2.new(0, 0, 0.700000048, 0)
  4831. TextLabel_3.Size = UDim2.new(1, 0, -0.0879999995, 50)
  4832. TextLabel_3.Font = Enum.Font.SourceSans
  4833. TextLabel_3.Text = "Execute?"
  4834. TextLabel_3.TextColor3 = Color3.fromRGB(255, 0, 0)
  4835. TextLabel_3.TextSize = 28.000
  4836. TextLabel_3.TextWrapped = true
  4837. TextLabel_3.Name = RandomVariable(math.random(3,20))
  4838.  
  4839. Yes.Name = RandomVariable(math.random(3,20))
  4840. Yes.Parent = Frame
  4841. Yes.BackgroundColor3 = Color3.fromRGB(68, 107, 134)
  4842. Yes.BorderColor3 = Color3.fromRGB(27, 42, 53)
  4843. Yes.Position = UDim2.new(0.100000001, 0, 0.864000022, 0)
  4844. Yes.Size = UDim2.new(0, 140, 0, 25)
  4845. Yes.Font = Enum.Font.SourceSansBold
  4846. Yes.Text = "Yes"
  4847. Yes.TextColor3 = Color3.fromRGB(255, 0, 4)
  4848. Yes.TextScaled = true
  4849. Yes.TextSize = 14.000
  4850. Yes.TextWrapped = true
  4851.  
  4852. No.Name = RandomVariable(math.random(3,20))
  4853. No.Parent = Frame
  4854. No.BackgroundColor3 = Color3.fromRGB(68, 107, 134)
  4855. No.BorderColor3 = Color3.fromRGB(27, 42, 53)
  4856. No.Position = UDim2.new(0.550000012, 0, 0.864000022, 0)
  4857. No.Size = UDim2.new(0, 140, 0, 25)
  4858. No.Font = Enum.Font.SourceSansBold
  4859. No.Text = "No"
  4860. No.TextColor3 = Color3.fromRGB(17, 255, 0)
  4861. No.TextScaled = true
  4862. No.TextSize = 14.000
  4863. No.TextWrapped = true
  4864.  
  4865. No.MouseButton1Click:Connect(function()
  4866. ScreenGui:Destroy()
  4867. end)
  4868.  
  4869. Yes.MouseButton1Click:Connect(function()
  4870. ScreenGui:Destroy()
  4871. scr()
  4872. end)
  4873. else
  4874. scr()
  4875. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement