Advertisement
Guest User

Racist Dolphins MS GUI - Skidded by NEX#1337

a guest
May 26th, 2018
1,847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.80 KB | None | 0 0
  1. -- Synapse Only
  2. -- Made by: Racist Dolphin#5199
  3.  
  4. -- Please don't leak the loadstring, I put a lot of work and time into this gui. I'm sure you wouldn't want your script leaked so don't do it to others :)
  5.  
  6. -- If only LuaSecure didn't break this script :(
  7.  
  8. local ps = game:GetService("Players")
  9. local i = game:GetService("UserInputService")
  10. local r = game:GetService("RunService")
  11. local cg = game:GetService("CoreGui")
  12. local sg = game:GetService("StarterGui")
  13. local p = ps.LocalPlayer
  14. local c = p.Character
  15. local mo = p:GetMouse()
  16. local b = p:FindFirstChild("Backpack") or p:WaitForChild("Backpack")
  17. local g = p:FindFirstChild("PlayerGui") or p:WaitForChild("PlayerGui")
  18.  
  19. p.CharacterAdded:connect(function(char)
  20. c = char
  21. end)
  22.  
  23. local m = getrawmetatable(game)
  24. make_writeable(m)
  25.  
  26. local oldindex = m.__index
  27. local oldnamecall = m.__namecall
  28.  
  29. local InstantMine = false
  30. local MineAnyBlock = false
  31. local AutoSell = false
  32. local SavedPosition = nil
  33. local SellInventory = false
  34. local FreeSKip = false
  35. local AutoRebirth = false
  36. local AutoEquipEgg = false
  37. local AutoClick = false
  38. local AutoSellAmount = 100000
  39. local NewInstantMine = true
  40.  
  41. local coins, inventory, equipped, ownedItems, offer, rebirths, skins, skinEquipped, pets, crates, favorites, hatInventory, wearing, visibleHats, eggHuntStuff, eggPackBought, quests = game.Workspace.RemoteFunction:InvokeServer("GetStats")
  42. local GetStatsTick = tick()
  43. local GetPetInventoryTick = tick()
  44. local ResetAutoClick = tick()
  45.  
  46. local SpinningCrates = false
  47.  
  48. local CurMap = workspace:FindFirstChild("Map") or workspace:FindFirstChild("SpaceMap") or workspace:FindFirstChild("Candyland") or workspace:FindFirstChild("Toyland") or workspace:FindFirstChild("FoodLand") or workspace:FindFirstChild("Dinoland")
  49. local Maps = { [tostring(CurMap)] = CurMap }
  50.  
  51.  
  52. function SetCurFrame(Frame)
  53. for i, v in next, getreg() do
  54. if type(v) == "function" then
  55. for i2, v2 in next, debug.getupvalues(v) do
  56. if i2 == "currentFrame" then
  57. debug.setupvalue(v, "currentFrame", Frame)
  58. end
  59. end
  60. end
  61. end
  62. end
  63.  
  64.  
  65. function BackpackFull()
  66. local Backpack = c:FindFirstChild("Backpack")
  67. if Backpack then
  68. local Txt = Backpack:FindFirstChild("Decore")
  69. if Txt then
  70. Txt = Txt:FindFirstChild("Count")
  71. if Txt then
  72. Txt = Txt:FindFirstChild("SurfaceGui")
  73. if Txt then
  74. Txt = Txt:FindFirstChild("Amount")
  75. end
  76. end
  77. end
  78. if Txt then
  79. local Cur, Max = string.match(Txt.Text, "(%d+)/(%w+)")
  80. if string.find(Max, "inf") then
  81. Max = AutoSellAmount
  82. end
  83. Cur, Max = tonumber(Cur), tonumber(Max)
  84.  
  85. if Cur >= Max then
  86. return true
  87. else
  88. return false
  89. end
  90. end
  91. end
  92.  
  93. return false
  94. end
  95.  
  96. function EggEquipped()
  97. local FindPet = c:FindFirstChild("Pet")
  98. if FindPet then
  99. FindPet = FindPet:FindFirstChild("Fake")
  100. end
  101.  
  102. if FindPet then
  103. if string.find(string.lower(FindPet.Value), "egg") then
  104. return true
  105. end
  106. end
  107.  
  108. return false
  109. end
  110.  
  111.  
  112. function EquipEgg()
  113. if (tick() - GetPetInventoryTick) > 2.5 then
  114. GetPetInventoryTick = tick()
  115. local MyPets = game.Workspace.RemoteFunction:InvokeServer("getPD")[12]
  116. for i, v in next, MyPets do
  117. local Pet = MyPets[i][1]
  118. if string.find(string.lower(Pet), "egg") then
  119. for i2 = 0, 5 do
  120. game.Workspace.RemoteEvent:FireServer("equipPet", MyPets[i])
  121. wait(0.1)
  122. end
  123. break
  124. end
  125. end
  126. end
  127. end
  128.  
  129. function GetMaps()
  130. for i, v in next, getnilinstances() do
  131. local Str = tostring(v)
  132. if Str == "Map" or Str == "SpaceMap" or Str == "Candyland" or Str == "Toyland" or Str == "FoodLand" or Str == "Dinoland" then
  133. Maps[Str] = v
  134. end
  135. end
  136. end
  137.  
  138. function PrintTables(T)
  139. for i, v in next, T do
  140. if type(v) == "table" then
  141. print("TABLE: " .. tostring(i))
  142. PrintTables(v)
  143. end
  144. warn(i, v)
  145. end
  146. end
  147.  
  148. function spairs(t, order)
  149. -- collect the keys
  150. local keys = {}
  151. for k in pairs(t) do keys[#keys+1] = k end
  152.  
  153. -- if order function given, sort by it by passing the table and keys a, b,
  154. -- otherwise just sort the keys
  155. if order then
  156. table.sort(keys, function(a,b) return order(t, a, b) end)
  157. else
  158. table.sort(keys)
  159. end
  160.  
  161. -- return the iterator function
  162. local i = 0
  163. return function()
  164. i = i + 1
  165. if keys[i] then
  166. return keys[i], t[keys[i]]
  167. end
  168. end
  169. end
  170.  
  171.  
  172. function InitGui()
  173. repeat wait() until g:FindFirstChild("Chat")
  174.  
  175. -- Objects
  176.  
  177. local Mining_Simulator = Instance.new("ScreenGui")
  178. local MainFrame = Instance.new("Frame")
  179. local Title = Instance.new("TextLabel")
  180. local design = Instance.new("Frame")
  181. local buttons = Instance.new("Frame")
  182. local InstantMineToggle = Instance.new("TextButton")
  183. local MineAnyBlockToggle = Instance.new("TextButton")
  184. local SavePosition = Instance.new("TextButton")
  185. local LoadPosition = Instance.new("TextButton")
  186. local CurrentPosition = Instance.new("TextLabel")
  187. local AutoSellAdjust = Instance.new("TextButton")
  188. local FreeSkipToggle = Instance.new("TextButton")
  189. local AutoClickToggle = Instance.new("TextButton")
  190. local OpenShop = Instance.new("TextButton")
  191. local SellInventoryButton = Instance.new("TextButton")
  192. local SpinAllCratesButton = Instance.new("TextButton")
  193. local AutoRebirthToggle = Instance.new("TextButton")
  194. local SellNonLegendaryHats = Instance.new("TextButton")
  195. local BuyEpicCrateButton = Instance.new("TextButton")
  196. local AutoSellToggle = Instance.new("TextButton")
  197. local BuyEpicEggsButton = Instance.new("TextButton")
  198. local SellNonLegendarySkins = Instance.new("TextButton")
  199. local BuyEpicHatCrateButton = Instance.new("TextButton")
  200. local SellNonLegendaryPets = Instance.new("TextButton")
  201. local CopyHatData = Instance.new("TextButton")
  202. local NewInstantMineToggle = Instance.new("TextButton")
  203. local AutoEquipEggs = Instance.new("TextButton")
  204. local CopySkinData = Instance.new("TextButton")
  205. local CopyPetData = Instance.new("TextButton")
  206. local TeleportToEarth = Instance.new("TextButton")
  207. local TeleportToSpace = Instance.new("TextButton")
  208. local TeleportToCandy = Instance.new("TextButton")
  209. local TeleportToToy = Instance.new("TextButton")
  210. local TeleportToFood = Instance.new("TextButton")
  211. local TeleportToDino = Instance.new("TextButton")
  212.  
  213. -- Properties
  214.  
  215. Mining_Simulator.Name = "Mining_Simulator"
  216. Mining_Simulator.Parent = cg
  217. Mining_Simulator.ResetOnSpawn = false
  218.  
  219. MainFrame.Name = "MainFrame"
  220. MainFrame.Parent = Mining_Simulator
  221. MainFrame.Active = true
  222. MainFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  223. MainFrame.BorderSizePixel = 0
  224. MainFrame.Draggable = true
  225. MainFrame.Position = UDim2.new(0.5, -175, 0.5, -350)
  226. MainFrame.Size = UDim2.new(0, 350, 0, 700)
  227.  
  228. Title.Name = "Title"
  229. Title.Parent = MainFrame
  230. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  231. Title.BackgroundTransparency = 1
  232. Title.Size = UDim2.new(1, 0, 0, 50)
  233. Title.Font = Enum.Font.SourceSansBold
  234. Title.Text = "Mining Simulator GUI\nSkidded by: NEX#1337\nVersion: 1.26"
  235. Title.TextColor3 = Color3.new(1, 1, 1)
  236. Title.TextSize = 18
  237. Title.TextTransparency = 0.5
  238.  
  239. design.Name = "design"
  240. design.Parent = MainFrame
  241. design.BackgroundColor3 = Color3.new(1, 1, 1)
  242. design.BackgroundTransparency = 0.5
  243. design.BorderSizePixel = 0
  244. design.Position = UDim2.new(0.0500000007, 0, 0, 50)
  245. design.Size = UDim2.new(0.899999976, 0, 0, 2)
  246.  
  247. buttons.Name = "buttons"
  248. buttons.Parent = MainFrame
  249. buttons.BackgroundColor3 = Color3.new(1, 1, 1)
  250. buttons.BackgroundTransparency = 1
  251. buttons.Position = UDim2.new(0, 20, 0, 70)
  252. buttons.Size = UDim2.new(1, -40, 1, -80)
  253.  
  254. InstantMineToggle.Name = "InstantMineToggle"
  255. InstantMineToggle.Parent = buttons
  256. InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  257. InstantMineToggle.BackgroundTransparency = 0.5
  258. InstantMineToggle.BorderSizePixel = 0
  259. InstantMineToggle.Size = UDim2.new(0, 150, 0, 30)
  260. InstantMineToggle.Font = Enum.Font.SourceSansBold
  261. InstantMineToggle.Text = "Instant Mine"
  262. InstantMineToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  263. InstantMineToggle.TextSize = 14
  264. InstantMineToggle.TextWrapped = true
  265.  
  266. MineAnyBlockToggle.Name = "MineAnyBlockToggle"
  267. MineAnyBlockToggle.Parent = buttons
  268. MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  269. MineAnyBlockToggle.BackgroundTransparency = 0.5
  270. MineAnyBlockToggle.BorderSizePixel = 0
  271. MineAnyBlockToggle.Position = UDim2.new(1, -150, 0, 0)
  272. MineAnyBlockToggle.Size = UDim2.new(0, 150, 0, 30)
  273. MineAnyBlockToggle.Font = Enum.Font.SourceSansBold
  274. MineAnyBlockToggle.Text = "Mine Any Block"
  275. MineAnyBlockToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  276. MineAnyBlockToggle.TextSize = 14
  277. MineAnyBlockToggle.TextWrapped = true
  278.  
  279. SavePosition.Name = "SavePosition"
  280. SavePosition.Parent = buttons
  281. SavePosition.BackgroundColor3 = Color3.new(1, 1, 1)
  282. SavePosition.BackgroundTransparency = 0.5
  283. SavePosition.BorderSizePixel = 0
  284. SavePosition.Position = UDim2.new(0, 0, 0, 520)
  285. SavePosition.Size = UDim2.new(0, 150, 0, 30)
  286. SavePosition.Font = Enum.Font.SourceSansBold
  287. SavePosition.Text = "Save Position"
  288. SavePosition.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  289. SavePosition.TextSize = 14
  290. SavePosition.TextWrapped = true
  291.  
  292. LoadPosition.Name = "LoadPosition"
  293. LoadPosition.Parent = buttons
  294. LoadPosition.BackgroundColor3 = Color3.new(1, 1, 1)
  295. LoadPosition.BackgroundTransparency = 0.5
  296. LoadPosition.BorderSizePixel = 0
  297. LoadPosition.Position = UDim2.new(1, -150, 0, 520)
  298. LoadPosition.Size = UDim2.new(0, 150, 0, 30)
  299. LoadPosition.Font = Enum.Font.SourceSansBold
  300. LoadPosition.Text = "Load Position"
  301. LoadPosition.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  302. LoadPosition.TextSize = 14
  303. LoadPosition.TextWrapped = true
  304.  
  305. CurrentPosition.Name = "CurrentPosition"
  306. CurrentPosition.Parent = buttons
  307. CurrentPosition.BackgroundColor3 = Color3.new(1, 1, 1)
  308. CurrentPosition.BackgroundTransparency = 1
  309. CurrentPosition.Position = UDim2.new(0, 0, 0, 600)
  310. CurrentPosition.Size = UDim2.new(1, 0, 0, 15)
  311. CurrentPosition.Font = Enum.Font.SourceSansBold
  312. CurrentPosition.Text = "TESTING"
  313. CurrentPosition.TextColor3 = Color3.new(1, 1, 1)
  314. CurrentPosition.TextSize = 18
  315. CurrentPosition.TextTransparency = 0.5
  316.  
  317. AutoSellAdjust.Name = "AutoSellAdjust"
  318. AutoSellAdjust.Parent = buttons
  319. AutoSellAdjust.BackgroundColor3 = Color3.new(1, 1, 1)
  320. AutoSellAdjust.BackgroundTransparency = 0.5
  321. AutoSellAdjust.BorderSizePixel = 0
  322. AutoSellAdjust.Position = UDim2.new(0, 85, 0, 40)
  323. AutoSellAdjust.Size = UDim2.new(0, 65, 0, 30)
  324. AutoSellAdjust.Font = Enum.Font.SourceSansBold
  325. AutoSellAdjust.Text = "< Adjust"
  326. AutoSellAdjust.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  327. AutoSellAdjust.TextSize = 14
  328. AutoSellAdjust.TextWrapped = true
  329.  
  330. FreeSkipToggle.Name = "FreeSkipToggle"
  331. FreeSkipToggle.Parent = buttons
  332. FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  333. FreeSkipToggle.BackgroundTransparency = 0.5
  334. FreeSkipToggle.BorderSizePixel = 0
  335. FreeSkipToggle.Position = UDim2.new(1, -150, 0, 40)
  336. FreeSkipToggle.Size = UDim2.new(0, 150, 0, 30)
  337. FreeSkipToggle.Font = Enum.Font.SourceSansBold
  338. FreeSkipToggle.Text = "Free Crate Skips"
  339. FreeSkipToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  340. FreeSkipToggle.TextSize = 14
  341. FreeSkipToggle.TextWrapped = true
  342.  
  343. AutoClickToggle.Name = "AutoClickToggle"
  344. AutoClickToggle.Parent = buttons
  345. AutoClickToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  346. AutoClickToggle.BackgroundTransparency = 0.5
  347. AutoClickToggle.BorderSizePixel = 0
  348. AutoClickToggle.Position = UDim2.new(1, -150, 0, 80)
  349. AutoClickToggle.Size = UDim2.new(0, 150, 0, 30)
  350. AutoClickToggle.Font = Enum.Font.SourceSansBold
  351. AutoClickToggle.Text = "Auto Click (Hotkey: C)"
  352. AutoClickToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  353. AutoClickToggle.TextSize = 14
  354. AutoClickToggle.TextWrapped = true
  355.  
  356. OpenShop.Name = "OpenShop"
  357. OpenShop.Parent = buttons
  358. OpenShop.BackgroundColor3 = Color3.new(1, 1, 1)
  359. OpenShop.BackgroundTransparency = 0.5
  360. OpenShop.BorderSizePixel = 0
  361. OpenShop.Position = UDim2.new(0, 0, 0, 80)
  362. OpenShop.Size = UDim2.new(0, 150, 0, 30)
  363. OpenShop.Font = Enum.Font.SourceSansBold
  364. OpenShop.Text = "Open Shop"
  365. OpenShop.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  366. OpenShop.TextSize = 14
  367. OpenShop.TextWrapped = true
  368.  
  369. SellInventoryButton.Name = "SellInventoryButton"
  370. SellInventoryButton.Parent = buttons
  371. SellInventoryButton.BackgroundColor3 = Color3.new(1, 1, 1)
  372. SellInventoryButton.BackgroundTransparency = 0.5
  373. SellInventoryButton.BorderSizePixel = 0
  374. SellInventoryButton.Position = UDim2.new(0, 0, 0, 120)
  375. SellInventoryButton.Size = UDim2.new(0, 150, 0, 30)
  376. SellInventoryButton.Font = Enum.Font.SourceSansBold
  377. SellInventoryButton.Text = "Sell Inventory"
  378. SellInventoryButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  379. SellInventoryButton.TextSize = 14
  380. SellInventoryButton.TextWrapped = true
  381.  
  382. SpinAllCratesButton.Name = "SpinAllCratesButton"
  383. SpinAllCratesButton.Parent = buttons
  384. SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 1, 1)
  385. SpinAllCratesButton.BackgroundTransparency = 0.5
  386. SpinAllCratesButton.BorderSizePixel = 0
  387. SpinAllCratesButton.Position = UDim2.new(1, -150, 0, 120)
  388. SpinAllCratesButton.Size = UDim2.new(0, 150, 0, 30)
  389. SpinAllCratesButton.Font = Enum.Font.SourceSansBold
  390. SpinAllCratesButton.Text = "Spin All Crates"
  391. SpinAllCratesButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  392. SpinAllCratesButton.TextSize = 14
  393. SpinAllCratesButton.TextWrapped = true
  394.  
  395. AutoRebirthToggle.Name = "AutoRebirthToggle"
  396. AutoRebirthToggle.Parent = buttons
  397. AutoRebirthToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  398. AutoRebirthToggle.BackgroundTransparency = 0.5
  399. AutoRebirthToggle.BorderSizePixel = 0
  400. AutoRebirthToggle.Position = UDim2.new(1, -150, 0, 280)
  401. AutoRebirthToggle.Size = UDim2.new(0, 150, 0, 30)
  402. AutoRebirthToggle.Font = Enum.Font.SourceSansBold
  403. AutoRebirthToggle.Text = "Auto Rebirth"
  404. AutoRebirthToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  405. AutoRebirthToggle.TextSize = 14
  406. AutoRebirthToggle.TextWrapped = true
  407.  
  408. SellNonLegendaryHats.Name = "SellNonLegendaryHats"
  409. SellNonLegendaryHats.Parent = buttons
  410. SellNonLegendaryHats.BackgroundColor3 = Color3.new(1, 1, 1)
  411. SellNonLegendaryHats.BackgroundTransparency = 0.5
  412. SellNonLegendaryHats.BorderSizePixel = 0
  413. SellNonLegendaryHats.Position = UDim2.new(1, -150, 0, 200)
  414. SellNonLegendaryHats.Size = UDim2.new(0, 150, 0, 30)
  415. SellNonLegendaryHats.Font = Enum.Font.SourceSansBold
  416. SellNonLegendaryHats.Text = "Sell NON Legendary Hats"
  417. SellNonLegendaryHats.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  418. SellNonLegendaryHats.TextSize = 14
  419. SellNonLegendaryHats.TextWrapped = true
  420.  
  421. BuyEpicCrateButton.Name = "BuyEpicCrateButton"
  422. BuyEpicCrateButton.Parent = buttons
  423. BuyEpicCrateButton.BackgroundColor3 = Color3.new(1, 1, 1)
  424. BuyEpicCrateButton.BackgroundTransparency = 0.5
  425. BuyEpicCrateButton.BorderSizePixel = 0
  426. BuyEpicCrateButton.Position = UDim2.new(1, -150, 0, 160)
  427. BuyEpicCrateButton.Size = UDim2.new(0, 150, 0, 30)
  428. BuyEpicCrateButton.Font = Enum.Font.SourceSansBold
  429. BuyEpicCrateButton.Text = "Buy 1000 Epic Crates"
  430. BuyEpicCrateButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  431. BuyEpicCrateButton.TextSize = 14
  432. BuyEpicCrateButton.TextWrapped = true
  433.  
  434. AutoSellToggle.Name = "AutoSellToggle"
  435. AutoSellToggle.Parent = buttons
  436. AutoSellToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  437. AutoSellToggle.BackgroundTransparency = 0.5
  438. AutoSellToggle.BorderSizePixel = 0
  439. AutoSellToggle.Position = UDim2.new(0, 0, 0, 40)
  440. AutoSellToggle.Size = UDim2.new(0, 65, 0, 30)
  441. AutoSellToggle.Font = Enum.Font.SourceSansBold
  442. AutoSellToggle.Text = "Auto Sell"
  443. AutoSellToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  444. AutoSellToggle.TextSize = 14
  445. AutoSellToggle.TextWrapped = true
  446.  
  447. BuyEpicEggsButton.Name = "BuyEpicEggsButton"
  448. BuyEpicEggsButton.Parent = buttons
  449. BuyEpicEggsButton.BackgroundColor3 = Color3.new(1, 1, 1)
  450. BuyEpicEggsButton.BackgroundTransparency = 0.5
  451. BuyEpicEggsButton.BorderSizePixel = 0
  452. BuyEpicEggsButton.Position = UDim2.new(0, 0, 0, 200)
  453. BuyEpicEggsButton.Size = UDim2.new(0, 150, 0, 30)
  454. BuyEpicEggsButton.Font = Enum.Font.SourceSansBold
  455. BuyEpicEggsButton.Text = "Buy 50 Epic Eggs"
  456. BuyEpicEggsButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  457. BuyEpicEggsButton.TextSize = 14
  458. BuyEpicEggsButton.TextWrapped = true
  459.  
  460. SellNonLegendarySkins.Name = "SellNonLegendarySkins"
  461. SellNonLegendarySkins.Parent = buttons
  462. SellNonLegendarySkins.BackgroundColor3 = Color3.new(1, 1, 1)
  463. SellNonLegendarySkins.BackgroundTransparency = 0.5
  464. SellNonLegendarySkins.BorderSizePixel = 0
  465. SellNonLegendarySkins.Position = UDim2.new(0, 0, 0, 240)
  466. SellNonLegendarySkins.Size = UDim2.new(0, 150, 0, 30)
  467. SellNonLegendarySkins.Font = Enum.Font.SourceSansBold
  468. SellNonLegendarySkins.Text = "Sell NON Legendary Skins"
  469. SellNonLegendarySkins.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  470. SellNonLegendarySkins.TextSize = 14
  471. SellNonLegendarySkins.TextWrapped = true
  472.  
  473. BuyEpicHatCrateButton.Name = "BuyEpicHatCrateButton"
  474. BuyEpicHatCrateButton.Parent = buttons
  475. BuyEpicHatCrateButton.BackgroundColor3 = Color3.new(1, 1, 1)
  476. BuyEpicHatCrateButton.BackgroundTransparency = 0.5
  477. BuyEpicHatCrateButton.BorderSizePixel = 0
  478. BuyEpicHatCrateButton.Position = UDim2.new(0, 0, 0, 160)
  479. BuyEpicHatCrateButton.Size = UDim2.new(0, 150, 0, 30)
  480. BuyEpicHatCrateButton.Font = Enum.Font.SourceSansBold
  481. BuyEpicHatCrateButton.Text = "Buy 1000 Epic Hat Crates"
  482. BuyEpicHatCrateButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  483. BuyEpicHatCrateButton.TextSize = 14
  484. BuyEpicHatCrateButton.TextWrapped = true
  485.  
  486. SellNonLegendaryPets.Name = "SellNonLegendaryPets"
  487. SellNonLegendaryPets.Parent = buttons
  488. SellNonLegendaryPets.BackgroundColor3 = Color3.new(1, 1, 1)
  489. SellNonLegendaryPets.BackgroundTransparency = 0.5
  490. SellNonLegendaryPets.BorderSizePixel = 0
  491. SellNonLegendaryPets.Position = UDim2.new(1, -150, 0, 240)
  492. SellNonLegendaryPets.Size = UDim2.new(0, 150, 0, 30)
  493. SellNonLegendaryPets.Font = Enum.Font.SourceSansBold
  494. SellNonLegendaryPets.Text = "Sell NON Legendary Pets"
  495. SellNonLegendaryPets.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  496. SellNonLegendaryPets.TextSize = 14
  497. SellNonLegendaryPets.TextWrapped = true
  498.  
  499. CopyHatData.Name = "CopyHatData"
  500. CopyHatData.Parent = buttons
  501. CopyHatData.BackgroundColor3 = Color3.new(1, 1, 1)
  502. CopyHatData.BackgroundTransparency = 0.5
  503. CopyHatData.BorderSizePixel = 0
  504. CopyHatData.Position = UDim2.new(0, 0, 0, 320)
  505. CopyHatData.Size = UDim2.new(0, 150, 0, 30)
  506. CopyHatData.Font = Enum.Font.SourceSansBold
  507. CopyHatData.Text = "Copy Hat Data to Clipboard"
  508. CopyHatData.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  509. CopyHatData.TextSize = 14
  510. CopyHatData.TextWrapped = true
  511.  
  512. NewInstantMineToggle.Name = "NewInstantMineToggle"
  513. NewInstantMineToggle.Parent = buttons
  514. NewInstantMineToggle.BackgroundColor3 = Color3.new(0, 0.670588, 0.0431373)
  515. NewInstantMineToggle.BackgroundTransparency = 0.5
  516. NewInstantMineToggle.BorderSizePixel = 0
  517. NewInstantMineToggle.Position = UDim2.new(0, 0, 0, 560)
  518. NewInstantMineToggle.Size = UDim2.new(1, 0, 0, 30)
  519. NewInstantMineToggle.Font = Enum.Font.SourceSansBold
  520. NewInstantMineToggle.Text = "Use New Instant Mine Method"
  521. NewInstantMineToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  522. NewInstantMineToggle.TextSize = 14
  523. NewInstantMineToggle.TextWrapped = true
  524.  
  525. AutoEquipEggs.Name = "AutoEquipEggs"
  526. AutoEquipEggs.Parent = buttons
  527. AutoEquipEggs.BackgroundColor3 = Color3.new(1, 1, 1)
  528. AutoEquipEggs.BackgroundTransparency = 0.5
  529. AutoEquipEggs.BorderSizePixel = 0
  530. AutoEquipEggs.Position = UDim2.new(0, 0, 0, 280)
  531. AutoEquipEggs.Size = UDim2.new(0, 150, 0, 30)
  532. AutoEquipEggs.Font = Enum.Font.SourceSansBold
  533. AutoEquipEggs.Text = "Auto Equip Eggs"
  534. AutoEquipEggs.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  535. AutoEquipEggs.TextSize = 14
  536. AutoEquipEggs.TextWrapped = true
  537.  
  538. CopySkinData.Name = "CopySkinData"
  539. CopySkinData.Parent = buttons
  540. CopySkinData.BackgroundColor3 = Color3.new(1, 1, 1)
  541. CopySkinData.BackgroundTransparency = 0.5
  542. CopySkinData.BorderSizePixel = 0
  543. CopySkinData.Position = UDim2.new(1, -150, 0, 320)
  544. CopySkinData.Size = UDim2.new(0, 150, 0, 30)
  545. CopySkinData.Font = Enum.Font.SourceSansBold
  546. CopySkinData.Text = "Copy Skin Data to Clipboard"
  547. CopySkinData.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  548. CopySkinData.TextSize = 14
  549. CopySkinData.TextWrapped = true
  550.  
  551. CopyPetData.Name = "CopyPetData"
  552. CopyPetData.Parent = buttons
  553. CopyPetData.BackgroundColor3 = Color3.new(1, 1, 1)
  554. CopyPetData.BackgroundTransparency = 0.5
  555. CopyPetData.BorderSizePixel = 0
  556. CopyPetData.Position = UDim2.new(0, 0, 0, 360)
  557. CopyPetData.Size = UDim2.new(1, 0, 0, 30)
  558. CopyPetData.Font = Enum.Font.SourceSansBold
  559. CopyPetData.Text = "Copy Pet Data to Clipboard"
  560. CopyPetData.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  561. CopyPetData.TextSize = 14
  562. CopyPetData.TextWrapped = true
  563.  
  564. TeleportToEarth.Name = "TeleportToEarth"
  565. TeleportToEarth.Parent = buttons
  566. TeleportToEarth.BackgroundColor3 = Color3.new(1, 1, 1)
  567. TeleportToEarth.BackgroundTransparency = 0.5
  568. TeleportToEarth.BorderSizePixel = 0
  569. TeleportToEarth.Position = UDim2.new(0, 0, 0, 400)
  570. TeleportToEarth.Size = UDim2.new(0, 150, 0, 30)
  571. TeleportToEarth.Font = Enum.Font.SourceSansBold
  572. TeleportToEarth.Text = "Teleport to Earth"
  573. TeleportToEarth.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  574. TeleportToEarth.TextSize = 14
  575. TeleportToEarth.TextWrapped = true
  576.  
  577. TeleportToSpace.Name = "TeleportToSpace"
  578. TeleportToSpace.Parent = buttons
  579. TeleportToSpace.BackgroundColor3 = Color3.new(1, 1, 1)
  580. TeleportToSpace.BackgroundTransparency = 0.5
  581. TeleportToSpace.BorderSizePixel = 0
  582. TeleportToSpace.Position = UDim2.new(1, -150, 0, 400)
  583. TeleportToSpace.Size = UDim2.new(0, 150, 0, 30)
  584. TeleportToSpace.Font = Enum.Font.SourceSansBold
  585. TeleportToSpace.Text = "Teleport to Space"
  586. TeleportToSpace.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  587. TeleportToSpace.TextSize = 14
  588. TeleportToSpace.TextWrapped = true
  589.  
  590. TeleportToCandy.Name = "TeleportToCandy"
  591. TeleportToCandy.Parent = buttons
  592. TeleportToCandy.BackgroundColor3 = Color3.new(1, 1, 1)
  593. TeleportToCandy.BackgroundTransparency = 0.5
  594. TeleportToCandy.BorderSizePixel = 0
  595. TeleportToCandy.Position = UDim2.new(0, 0, 0, 440)
  596. TeleportToCandy.Size = UDim2.new(0, 150, 0, 30)
  597. TeleportToCandy.Font = Enum.Font.SourceSansBold
  598. TeleportToCandy.Text = "Teleport to Candyland"
  599. TeleportToCandy.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  600. TeleportToCandy.TextSize = 14
  601. TeleportToCandy.TextWrapped = true
  602.  
  603. TeleportToToy.Name = "TeleportToToy"
  604. TeleportToToy.Parent = buttons
  605. TeleportToToy.BackgroundColor3 = Color3.new(1, 1, 1)
  606. TeleportToToy.BackgroundTransparency = 0.5
  607. TeleportToToy.BorderSizePixel = 0
  608. TeleportToToy.Position = UDim2.new(1, -150, 0, 440)
  609. TeleportToToy.Size = UDim2.new(0, 150, 0, 30)
  610. TeleportToToy.Font = Enum.Font.SourceSansBold
  611. TeleportToToy.Text = "Teleport to Toyland"
  612. TeleportToToy.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  613. TeleportToToy.TextSize = 14
  614. TeleportToToy.TextWrapped = true
  615.  
  616. TeleportToFood.Name = "TeleportToFood"
  617. TeleportToFood.Parent = buttons
  618. TeleportToFood.BackgroundColor3 = Color3.new(1, 1, 1)
  619. TeleportToFood.BackgroundTransparency = 0.5
  620. TeleportToFood.BorderSizePixel = 0
  621. TeleportToFood.Position = UDim2.new(0, 0, 0, 480)
  622. TeleportToFood.Size = UDim2.new(0, 150, 0, 30)
  623. TeleportToFood.Font = Enum.Font.SourceSansBold
  624. TeleportToFood.Text = "Teleport to Foodland"
  625. TeleportToFood.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  626. TeleportToFood.TextSize = 14
  627. TeleportToFood.TextWrapped = true
  628.  
  629. TeleportToDino.Name = "TeleportToDino"
  630. TeleportToDino.Parent = buttons
  631. TeleportToDino.BackgroundColor3 = Color3.new(1, 1, 1)
  632. TeleportToDino.BackgroundTransparency = 0.5
  633. TeleportToDino.BorderSizePixel = 0
  634. TeleportToDino.Position = UDim2.new(1, -150, 0, 480)
  635. TeleportToDino.Size = UDim2.new(0, 150, 0, 30)
  636. TeleportToDino.Font = Enum.Font.SourceSansBold
  637. TeleportToDino.Text = "Teleport to Dinoland"
  638. TeleportToDino.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  639. TeleportToDino.TextSize = 14
  640. TeleportToDino.TextWrapped = true
  641.  
  642. local SpinDebounce = false
  643. local CancelSpin = false
  644.  
  645. InstantMineToggle.MouseButton1Click:connect(function()
  646. if SpinDebounce == false then
  647. InstantMine = not InstantMine
  648. if InstantMine then
  649. InstantMineToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  650. else
  651. InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  652. r:UnbindFromRenderStep("InstantMine")
  653. InstantBindSet = false
  654. end
  655. end
  656. end)
  657.  
  658. MineAnyBlockToggle.MouseButton1Click:connect(function()
  659. if SpinDebounce == false then
  660. MineAnyBlock = not MineAnyBlock
  661. if MineAnyBlock then
  662. MineAnyBlockToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  663. else
  664. MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  665. end
  666. end
  667. end)
  668.  
  669. SavePosition.MouseButton1Click:connect(function()
  670. local tor = c:FindFirstChild("HumanoidRootPart")
  671. if tor then
  672. SavedPosition = tor.Position
  673. end
  674. end)
  675.  
  676. LoadPosition.MouseButton1Click:connect(function()
  677. local tor = c:FindFirstChild("HumanoidRootPart")
  678. if tor and SavedPosition ~= nil then
  679. tor.CFrame = CFrame.new(SavedPosition)
  680. end
  681. end)
  682.  
  683. AutoSellToggle.MouseButton1Click:connect(function()
  684. AutoSell = not AutoSell
  685. if AutoSell then
  686. AutoSellToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  687. else
  688. AutoSellToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  689. end
  690. end)
  691.  
  692. AutoSellAdjust.MouseButton1Click:connect(function()
  693. local Hint = Instance.new("Hint", cg)
  694. Hint.Text = "Auto Sell: 100,000"
  695. AutoSellAmount = AutoSellAmount + 25000
  696. if AutoSellAmount > 1000000 then
  697. AutoSellAmount = 100000
  698. end
  699. Hint.Text = "Auto Sell Amount Set to: " .. tostring(AutoSellAmount)
  700. wait(5)
  701. Hint:Destroy()
  702. end)
  703.  
  704. FreeSkipToggle.MouseButton1Click:connect(function()
  705. if SpinDebounce == false then
  706. FreeSKip = not FreeSKip
  707. if FreeSKip then
  708. FreeSkipToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  709. else
  710. FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  711. end
  712. end
  713. end)
  714.  
  715. OpenShop.MouseButton1Click:connect(function()
  716. local curFrame = SetCurFrame("OpenShop")
  717. getsenv(g.ScreenGui.ClientScript).displayCurrent()
  718. end)
  719.  
  720. SellInventoryButton.MouseButton1Click:connect(function()
  721. SellInventory = true
  722. end)
  723.  
  724. SpinAllCratesButton.MouseButton1Click:connect(function()
  725. if SpinDebounce == false then
  726. SpinDebounce = true
  727. InstantMine = false
  728. MineAnyBlock = false
  729. FreeSKip = false
  730. SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 0, 0)
  731. InstantMineToggle.BackgroundColor3 = Color3.new(1, 0, 0)
  732. MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 0, 0)
  733. FreeSkipToggle.BackgroundColor3 = Color3.new(1, 0, 0)
  734. SpinAllCratesButton.Text = "Cancel Spining Crates"
  735.  
  736.  
  737. local data = workspace.RemoteFunction:InvokeServer("getPD")
  738. data = data[13]
  739. local function SpinCrates()
  740. local backup = getsenv(g.ScreenGui.ClientScript).displayCurrent
  741. local backup2 = getsenv(g.ScreenGui.ClientScript).updateInventoryLol
  742. local backup3 = getsenv(g.ScreenGui.ClientScript).updateInventory
  743. local backup4 = getsenv(g.ScreenGui.ClientScript).spinCrate
  744. local Message = Instance.new("Hint", cg)
  745. Message.Name = "CrateNumber"
  746. Message.Text = "Crate 0/0"
  747.  
  748. local event = g.ScreenGui.ChildAdded:Connect(function(obj)
  749. if obj.Name == "CrateSystem" then
  750. r.Heartbeat:wait()
  751. obj:Destroy()
  752. end
  753. end)
  754.  
  755. if data[1] ~= nil then
  756. getsenv(g.ScreenGui.ClientScript).displayCurrent = function() return end
  757. getsenv(g.ScreenGui.ClientScript).updateInventoryLol = function() return end
  758. getsenv(g.ScreenGui.ClientScript).updateInventory = function() return end
  759. getsenv(g.ScreenGui.ClientScript).spinCrate = function() return end
  760. SpinningCrates = true
  761. for i = 1, data[1][2] do
  762. if CancelSpin then
  763. event:Disconnect()
  764. break
  765. end
  766. local SecondsTime = 0.15 * (data[1][2] - i)
  767. local Hours = string.format("%02.f", math.floor(SecondsTime / 3600))
  768. local Minutes = string.format("%02.f", math.floor(SecondsTime / 60 - (Hours * 60)))
  769. local Seconds = string.format("%02.f", math.floor(SecondsTime - Hours * 3600 - Minutes * 60))
  770. Message.Text = "Opening crate " .. i .. "/" .. data[1][2] .. ". Estimated time: " .. Hours .. ":" .. Minutes .. ":" .. Seconds
  771. game.Workspace.RemoteEvent:FireServer("SpinCrate", data[1][1])
  772. wait(0.15)
  773. end
  774. end
  775. getsenv(g.ScreenGui.ClientScript).displayCurrent = backup
  776. getsenv(g.ScreenGui.ClientScript).updateInventoryLol = backup2
  777. getsenv(g.ScreenGui.ClientScript).updateInventory = backup3
  778. getsenv(g.ScreenGui.ClientScript).spinCrate = backup4
  779. event:Disconnect()
  780. SpinningCrates = false
  781. CancelSpin = false
  782. Message:Destroy()
  783. end
  784.  
  785. SpinCrates()
  786.  
  787. for i, v in next, g.ScreenGui:GetChildren() do
  788. if v.Name == "CrateSystem" then
  789. v:Destroy()
  790. end
  791. end
  792.  
  793. InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  794. MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  795. FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  796. SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 1, 1)
  797. SpinAllCratesButton.Text = "Spin All Crates"
  798. SpinDebounce = false
  799. else
  800. CancelSpin = true
  801. InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  802. MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  803. FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  804. SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 1, 1)
  805. SpinAllCratesButton.Text = "Spin All Crates"
  806. end
  807. end)
  808.  
  809. AutoRebirthToggle.MouseButton1Click:connect(function()
  810. AutoRebirth = not AutoRebirth
  811. if AutoRebirth then
  812. AutoRebirthToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  813. else
  814. AutoRebirthToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  815. end
  816. end)
  817.  
  818. BuyEpicHatCrateButton.MouseButton1Click:connect(function()
  819. game.Workspace.RemoteEvent:FireServer("OpenCrate", "Epic Hat Crate", 1000)
  820. end)
  821.  
  822. BuyEpicCrateButton.MouseButton1Click:connect(function()
  823. game.Workspace.RemoteEvent:FireServer("OpenCrate", "Epic", 1000)
  824. end)
  825.  
  826. BuyEpicEggsButton.MouseButton1Click:connect(function()
  827. game.Workspace.RemoteEvent:FireServer("BuyPet", "Epic Egg", 50)
  828. end)
  829.  
  830. SellNonLegendaryHats.MouseButton1Click:connect(function()
  831. MainFrame.Visible = false
  832. local BindableEvent = Instance.new("BindableFunction")
  833.  
  834. local function SellHats(Response)
  835. MainFrame.Visible = true
  836. if Response == "Yes" then
  837. local MyHats = game.Workspace.RemoteFunction:InvokeServer("getPD")[16]
  838. local HatModule = require(game.Lighting.Assets.Modules.HatModule)
  839. local Hint = Instance.new("Hint", cg)
  840. Hint.Text = "Sold hat: nil"
  841.  
  842. for i, v in next, MyHats do
  843. local Hat = MyHats[i][1]
  844. if HatModule[Hat].rarity ~= nil then
  845. if HatModule[Hat].rarity ~= "Legendary" then
  846. game.Workspace.RemoteEvent:FireServer("SellHat", MyHats[i][1], true)
  847. Hint.Text = "Sold hat: " .. Hat
  848. wait(0.15)
  849. end
  850. end
  851. end
  852.  
  853. Hint:Destroy()
  854. BindableEvent:Destroy()
  855. else
  856. BindableEvent:Destroy()
  857. return
  858. end
  859. end
  860.  
  861. BindableEvent.OnInvoke = SellHats
  862.  
  863. sg:SetCore("SendNotification", {
  864. Title = "DANGER! THINK ABOUT THIS.",
  865. Text = "THIS ACTION CANNOT BE UN-DONE! This will sell ALL NON - Legendary Hats in your inventory! You should NEVER run this after a game update!",
  866. Duration = 60,
  867. Callback = BindableEvent,
  868. Button1 = "Yes",
  869. Button2 = "No Fuck That"
  870. })
  871. end)
  872.  
  873. SellNonLegendarySkins.MouseButton1Click:connect(function()
  874. MainFrame.Visible = false
  875. local BindableEvent = Instance.new("BindableFunction")
  876.  
  877. local function SellSkins(Response)
  878. MainFrame.Visible = true
  879. if Response == "Yes" then
  880. local MySkins = game.Workspace.RemoteFunction:InvokeServer("getPD")[10]
  881. local SkinsModule = require(game.Lighting.Assets.Modules.TextureModule)
  882. local Hint = Instance.new("Hint", cg)
  883. Hint.Text = "Sold skin: nil"
  884.  
  885. for i, v in next, MySkins do
  886. local Skin = MySkins[i][1]
  887. if SkinsModule[Skin] ~= "Legendary" and Skin ~= "Default" then
  888. game.Workspace.RemoteEvent:FireServer("SellSkin", Skin, true)
  889. Hint.Text = "Sold skin: " .. Skin
  890. wait(0.15)
  891. end
  892. end
  893.  
  894. Hint:Destroy()
  895. BindableEvent:Destroy()
  896. else
  897. BindableEvent:Destroy()
  898. return
  899. end
  900. end
  901.  
  902. BindableEvent.OnInvoke = SellSkins
  903.  
  904. sg:SetCore("SendNotification", {
  905. Title = "DANGER! THINK ABOUT THIS.",
  906. Text = "THIS ACTION CANNOT BE UN-DONE! This will sell ALL NON - Legendary Skins in your inventory! You should NEVER run this after a game update!",
  907. Duration = 60,
  908. Callback = BindableEvent,
  909. Button1 = "Yes",
  910. Button2 = "No Fuck That"
  911. })
  912. end)
  913.  
  914. SellNonLegendaryPets.MouseButton1Click:connect(function()
  915. MainFrame.Visible = false
  916. local BindableEvent = Instance.new("BindableFunction")
  917.  
  918. local function SellPets(Response)
  919. MainFrame.Visible = true
  920. if Response == "Yes" then
  921. local MyPets = game.Workspace.RemoteFunction:InvokeServer("getPD")[12]
  922. local PetsModule = require(game.Lighting.Assets.Modules.PetModule)
  923. local Hint = Instance.new("Hint", cg)
  924. Hint.Text = "Sold pet: nil"
  925.  
  926. for i, v in next, MyPets do
  927. local Pet = MyPets[i][1]
  928. for i2, _ in next, PetsModule do
  929. if string.find(Pet, i2) then
  930. Pet = i2
  931. break
  932. end
  933. end
  934. if PetsModule[Pet].rarity ~= "Legendary" and not string.find(string.lower(Pet), "egg") then
  935. game.Workspace.RemoteEvent:FireServer("sellPet", MyPets[i])
  936. Hint.Text = "Sold pet: " .. tostring(MyPets[i][1])
  937. wait(0.15)
  938. end
  939. end
  940.  
  941. Hint:Destroy()
  942. BindableEvent:Destroy()
  943. else
  944. BindableEvent:Destroy()
  945. return
  946. end
  947. end
  948.  
  949. BindableEvent.OnInvoke = SellPets
  950.  
  951. sg:SetCore("SendNotification", {
  952. Title = "DANGER! THINK ABOUT THIS.",
  953. Text = "THIS ACTION CANNOT BE UN-DONE! This will sell ALL NON - Legendary Pets in your inventory! You should NEVER run this after a game update!",
  954. Duration = 60,
  955. Callback = BindableEvent,
  956. Button1 = "Yes",
  957. Button2 = "No Fuck That"
  958. })
  959. end)
  960.  
  961. AutoEquipEggs.MouseButton1Click:connect(function()
  962. AutoEquipEgg = not AutoEquipEgg
  963. if AutoEquipEgg then
  964. AutoEquipEggs.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  965. else
  966. AutoEquipEggs.BackgroundColor3 = Color3.new(1, 1, 1)
  967. end
  968. end)
  969.  
  970. NewInstantMineToggle.MouseButton1Click:connect(function()
  971. NewInstantMine = not NewInstantMine
  972. if NewInstantMine then
  973. NewInstantMineToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  974. else
  975. NewInstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  976. end
  977. end)
  978.  
  979. CopyHatData.MouseButton1Click:connect(function()
  980. local MyHats = game.Workspace.RemoteFunction:InvokeServer("getPD")[16]
  981. local HatsModule = require(game.Lighting.Assets.Modules.HatModule)
  982.  
  983. local HatData = { }
  984. local Sorted = { }
  985. local String = "\nMining Simulator Hats:\n"
  986.  
  987. for i, v in next, HatsModule do
  988. local Hat = i
  989. if HatsModule[i].rarity ~= nil then
  990. if HatsModule[i].rarity == "Legendary" then
  991. for i2, v2 in next, MyHats do
  992. if v2[1] == Hat then
  993. HatData[Hat] = v2[2]
  994. end
  995. end
  996. end
  997. end
  998. end
  999.  
  1000. table.sort(HatData, function(a, b) return a > b end)
  1001.  
  1002. for i, v in spairs(HatData, function(t,a,b) return t[b] < t[a] end) do
  1003. Sorted[i] = v
  1004. String = String .. i .. ": x" .. v .. "\n"
  1005. end
  1006.  
  1007. Synapse:CopyString(String)
  1008. end)
  1009.  
  1010. CopySkinData.MouseButton1Click:connect(function()
  1011. local MySkins = game.Workspace.RemoteFunction:InvokeServer("getPD")[10]
  1012. local SkinsModule = require(game.Lighting.Assets.Modules.TextureModule)
  1013.  
  1014. local SkinData = { }
  1015. local Sorted = { }
  1016. local String = "\nMining Simulator Skins:\n"
  1017.  
  1018. for i, v in next, SkinsModule do
  1019. local Skin = i
  1020. if SkinsModule[Skin] == "Legendary" then
  1021. for i2, v2 in next, MySkins do
  1022. if v2[1] == Skin then
  1023. SkinData[Skin] = v2[2]
  1024. end
  1025. end
  1026. end
  1027. end
  1028.  
  1029. table.sort(SkinData, function(a, b) return a > b end)
  1030.  
  1031. for i, v in spairs(SkinData, function(t,a,b) return t[b] < t[a] end) do
  1032. Sorted[i] = v
  1033. String = String .. i .. ": x" .. v .. "\n"
  1034. end
  1035.  
  1036. Synapse:CopyString(String)
  1037. end)
  1038.  
  1039. CopyPetData.MouseButton1Click:connect(function()
  1040. local MyPets = game.Workspace.RemoteFunction:InvokeServer("getPD")[12]
  1041. local PetsModule = require(game.Lighting.Assets.Modules.PetModule)
  1042.  
  1043. local Pets = { }
  1044. local Sorted = { }
  1045. local String = "\nMining Simulator Pets:\n"
  1046.  
  1047. for i, v in next, PetsModule do
  1048. local Pet = i
  1049. if PetsModule[Pet].rarity ~= nil then
  1050. if PetsModule[Pet].rarity == "Legendary" then
  1051. for i2, v2 in next, MyPets do
  1052. if string.find(v2[1], Pet) then
  1053. if Pets[v2[1]] == nil then
  1054. Pets[v2[1]] = 1
  1055. else
  1056. Pets[v2[1]] = Pets[v2[1]] + 1
  1057. end
  1058. end
  1059. end
  1060. end
  1061. end
  1062. end
  1063.  
  1064. table.sort(Pets, function(a, b) return a > b end)
  1065.  
  1066. for i, v in spairs(Pets, function(t,a,b) return t[b] < t[a] end) do
  1067. Sorted[i] = v
  1068. String = String .. i .. ": x" .. v .. "\n"
  1069. end
  1070.  
  1071. Synapse:CopyString(String)
  1072. end)
  1073.  
  1074. TeleportToEarth.MouseButton1Click:connect(function()
  1075. local tor = c:FindFirstChild("HumanoidRootPart")
  1076. if tor and tostring(CurMap) ~= "Map" then
  1077. tor.Anchored = true
  1078. CurMap.Parent = nil
  1079. Maps["Map"].Parent = workspace
  1080. CurMap = Maps["Map"]
  1081. tor.CFrame = CFrame.new(Vector3.new(-47.539, 13.565, -1.646))
  1082. tor.Anchored = false
  1083. end
  1084. end)
  1085.  
  1086. TeleportToSpace.MouseButton1Click:connect(function()
  1087. local tor = c:FindFirstChild("HumanoidRootPart")
  1088. if tor and tostring(CurMap) ~= "SpaceMap" then
  1089. tor.Anchored = true
  1090. CurMap.Parent = nil
  1091. Maps["SpaceMap"].Parent = workspace
  1092. CurMap = Maps["SpaceMap"]
  1093. tor.CFrame = CFrame.new(Vector3.new(-80.800, 14.166, 1569.200))
  1094. tor.Anchored = false
  1095. end
  1096. end)
  1097.  
  1098. TeleportToCandy.MouseButton1Click:connect(function()
  1099. local tor = c:FindFirstChild("HumanoidRootPart")
  1100. if tor and tostring(CurMap) ~= "Candyland" then
  1101. tor.Anchored = true
  1102. CurMap.Parent = nil
  1103. Maps["Candyland"].Parent = workspace
  1104. CurMap = Maps["Candyland"]
  1105. tor.CFrame = CFrame.new(Vector3.new(-26.600, 13.677, 3010.601))
  1106. tor.Anchored = false
  1107. end
  1108. end)
  1109.  
  1110. TeleportToToy.MouseButton1Click:connect(function()
  1111. local tor = c:FindFirstChild("HumanoidRootPart")
  1112. if tor and tostring(CurMap) ~= "Toyland" then
  1113. tor.Anchored = true
  1114. CurMap.Parent = nil
  1115. Maps["Toyland"].Parent = workspace
  1116. CurMap = Maps["Toyland"]
  1117. tor.CFrame = CFrame.new(Vector3.new(9.800, 13.856, 5718.596))
  1118. tor.Anchored = false
  1119. end
  1120. end)
  1121.  
  1122. TeleportToFood.MouseButton1Click:connect(function()
  1123. local tor = c:FindFirstChild("HumanoidRootPart")
  1124. if tor and tostring(CurMap) ~= "FoodLand" then
  1125. tor.Anchored = true
  1126. CurMap.Parent = nil
  1127. Maps["FoodLand"].Parent = workspace
  1128. CurMap = Maps["FoodLand"]
  1129. tor.CFrame = CFrame.new(Vector3.new(60.800, 13.667, 8675.194))
  1130. tor.Anchored = false
  1131. end
  1132. end)
  1133.  
  1134. TeleportToDino.MouseButton1Click:connect(function()
  1135. local tor = c:FindFirstChild("HumanoidRootPart")
  1136. if tor and tostring(CurMap) ~= "Dinoland" then
  1137. tor.Anchored = true
  1138. CurMap.Parent = nil
  1139. Maps["Dinoland"].Parent = workspace
  1140. CurMap = Maps["Dinoland"]
  1141. tor.CFrame = CFrame.new(Vector3.new(11.600, 13.688, 10581.403))
  1142. tor.Anchored = false
  1143. end
  1144. end)
  1145.  
  1146. local db = false
  1147. AutoClickToggle.MouseButton1Click:connect(function()
  1148. if not db then
  1149. db = true
  1150. AutoClick = true
  1151. AutoClickToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1152. AutoClickToggle.Text = "Press C Key to Disable"
  1153. end
  1154. end)
  1155.  
  1156. i.InputBegan:connect(function(input, ingui)
  1157. if not ingui then
  1158. if input.UserInputType == Enum.UserInputType.Keyboard then
  1159. if input.KeyCode == Enum.KeyCode.C then
  1160. if AutoClick then
  1161. AutoClick = false
  1162. AutoClickToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  1163. AutoClickToggle.Text = "Auto Click (Hotkey: C)"
  1164. mouse1click()
  1165. else
  1166. db = true
  1167. AutoClick = true
  1168. AutoClickToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1169. AutoClickToggle.Text = "Press C Key to Disable"
  1170. end
  1171. end
  1172.  
  1173. if input.KeyCode == Enum.KeyCode.P then
  1174. MainFrame.Visible = not MainFrame.Visible
  1175. end
  1176. end
  1177. end
  1178. end)
  1179.  
  1180. local tck = tick()
  1181.  
  1182. r:BindToRenderStep("HAX", 0, function()
  1183. local tor = c:FindFirstChild("HumanoidRootPart")
  1184. if tor then
  1185. local pos = tor.Position
  1186. local x = pos.x
  1187. local y = pos.y
  1188. local z = pos.z
  1189. CurrentPosition.Text = ("X: " .. string.format("%.3f", x) .. ", Y: " .. string.format("%.3f", y) .. ", Z: " .. string.format("%.3f", z))
  1190. end
  1191.  
  1192. if workspace.Collapsed.Value == true then
  1193. SavedPosition = nil
  1194. end
  1195. if (tick() - GetStatsTick) >= 1.0 then
  1196. coins, inventory, equipped, ownedItems, offer, rebirths, skins, skinEquipped, pets, crates, favorites, hatInventory, wearing, visibleHats, eggHuntStuff, eggPackBought, quests = game.Workspace.RemoteFunction:InvokeServer("GetStats")
  1197. GetStatsTick = tick()
  1198. end
  1199.  
  1200. if AutoBuy then
  1201. BuyAndEquipBestBackpack()
  1202. end
  1203.  
  1204. --BuyEpicHatCrateButton.Text = BuyEpicHatCrateButton.Text .. "\n COST: " .. tostring()
  1205.  
  1206. if AutoSell then
  1207. if BackpackFull() then
  1208. if g.ScreenGui:FindFirstChild("BackpackFull") then
  1209. g.ScreenGui:FindFirstChild("BackpackFull").Visible = false
  1210. end
  1211. SellInventory = true
  1212. end
  1213. end
  1214.  
  1215. if AutoRebirth then
  1216. if (coins - 10000000 * (rebirths + 1)) >= 0 then
  1217. game.Workspace.RemoteEvent:FireServer("Rebirth")
  1218. end
  1219. end
  1220.  
  1221. if AutoEquipEgg then
  1222. if not EggEquipped() then
  1223. EquipEgg()
  1224. end
  1225.  
  1226. if g.ScreenGui:FindFirstChild("HatchedInfo") then
  1227. g.ScreenGui.HatchedInfo:Destroy()
  1228. end
  1229. end
  1230.  
  1231. if AutoClick and (tick() - tck) >= 0.2 then
  1232. mouse1press()
  1233. tck = tick()
  1234. end
  1235.  
  1236. if AutoClick and (tick() - ResetAutoClick) >= 300 then
  1237. AutoClick = false
  1238. mouse1release()
  1239. keypress(0x20)
  1240. keyrelease(0x20)
  1241. ResetAutoClick = tick()
  1242. wait(3)
  1243. AutoClick = true
  1244. elseif not AutoClick then
  1245. ResetAutoClick = tick()
  1246. end
  1247. end)
  1248.  
  1249. workspace.Collapsed.Changed:connect(function()
  1250. if workspace.Collapsed.Value == false then
  1251. local tor = c:FindFirstChild("HumanoidRootPart")
  1252. if tor then
  1253. if tor.Position.Z > workspace.DinoPosition.Value.Z then
  1254. tor.CFrame = CFrame.new(Vector3.new(5.601, 11.468, 10546.147))
  1255. elseif tor.Position.Z > workspace.FoodPosition.Value.Z then
  1256. tor.CFrame = CFrame.new(Vector3.new(60.400, 11.467, 8725.875))
  1257. elseif tor.Position.Z > workspace.ToyPosition.Value.Z then
  1258. tor.CFrame = CFrame.new(Vector3.new(5.763, 11.467, 5692.938))
  1259. elseif tor.Position.Z > workspace.CandyPosition.Value.Z then
  1260. tor.CFrame = CFrame.new(Vector3.new(6.561, 11.467, 3005.799))
  1261. elseif tor.Position.Z > workspace.SpacePosition.Value.Z then
  1262. tor.CFrame = CFrame.new(Vector3.new(-24.733, 11.468, 1547.604))
  1263. else
  1264. tor.CFrame = CFrame.new(Vector3.new(-22.669, 11.468, -23.864))
  1265. end
  1266. end
  1267. else
  1268. local image = g.ScreenGui:FindFirstChild("CollapsedCave") or g.ScreenGui:WaitForChild("CollapsedCave")
  1269. if image then
  1270. image:Destroy()
  1271. end
  1272. end
  1273. end)
  1274.  
  1275. coroutine.resume(coroutine.create(function()
  1276. local BackupPosition = nil
  1277. while true do
  1278. if SellInventory then
  1279. local tor = c:FindFirstChild("HumanoidRootPart")
  1280. if tor then
  1281. BackupPosition = tor.Position
  1282. repeat
  1283. if g.ScreenGui:FindFirstChild("BackpackFull") then
  1284. g.ScreenGui:FindFirstChild("BackpackFull").Visible = false
  1285. end
  1286.  
  1287. if tor.Position.Z > workspace.DinoPosition.Value.Z then
  1288. game.Workspace.RemoteEvent:FireServer("MoveTo", "DinoSell")
  1289. wait(1)
  1290. tor.Anchored = true
  1291. elseif tor.Position.Z > workspace.FoodPosition.Value.Z then
  1292. game.Workspace.RemoteEvent:FireServer("MoveTo", "FoodSell")
  1293. wait(1)
  1294. tor.Anchored = true
  1295. elseif tor.Position.Z > workspace.ToyPosition.Value.Z then
  1296. game.Workspace.RemoteEvent:FireServer("MoveTo", "ToySell")
  1297. wait(1)
  1298. tor.Anchored = true
  1299. elseif tor.Position.Z > workspace.CandyPosition.Value.Z then
  1300. game.Workspace.RemoteEvent:FireServer("MoveTo", "CandySell")
  1301. wait(1)
  1302. tor.Anchored = true
  1303. elseif tor.Position.Z > workspace.SpacePosition.Value.Z then
  1304. game.Workspace.RemoteEvent:FireServer("MoveTo", "SpaceSell")
  1305. wait(1)
  1306. tor.Anchored = true
  1307. else
  1308. game.Workspace.RemoteEvent:FireServer("MoveTo", "SellSpawn")
  1309. wait(1)
  1310. tor.Anchored = true
  1311. end
  1312.  
  1313. wait()
  1314. until getsenv(g.ScreenGui.ClientScript).inventoryContents() <= 0
  1315. if g.ScreenGui:FindFirstChild("BackpackFull") then
  1316. g.ScreenGui.BackpackFull.Visible = false
  1317. end
  1318. tor.Anchored = false
  1319. SellInventory = false
  1320. for i = 0, 3 do
  1321. if workspace.Collapsed.Value == false then
  1322. tor.CFrame = CFrame.new(BackupPosition)
  1323. wait(0.2)
  1324. end
  1325. end
  1326. end
  1327. end
  1328.  
  1329. r.RenderStepped:wait()
  1330. end
  1331. end))
  1332.  
  1333. sg:SetCore("ChatMakeSystemMessage", {
  1334. Text = "Mining Simulator GUI successfully loaded!",
  1335. Color = Color3.new(math.random(1, 255) / 255, math.random(1, 255) / 255, math.random(1, 255) / 255),
  1336. FontSize = Enum.FontSize.Size24,
  1337. })
  1338.  
  1339. sg:SetCore("ChatMakeSystemMessage", {
  1340. Text = "Hey there NEX, or one of his friends, If you'd like to open the GUI hit\"P\"!",
  1341. Color = Color3.new(math.random(1, 255) / 255, math.random(1, 255) / 255, math.random(1, 255) / 255),
  1342. FontSize = Enum.FontSize.Size24,
  1343. })
  1344.  
  1345. sg:SetCore("ChatMakeSystemMessage", {
  1346. Text = "Updated for latest game update.",
  1347. Color = Color3.new(math.random(1, 255) / 255, math.random(1, 255) / 255, math.random(1, 255) / 255),
  1348. FontSize = Enum.FontSize.Size24,
  1349. })
  1350.  
  1351. sg:SetCore("ChatMakeSystemMessage", {
  1352. Text = "MOTD: This text thing is cool right, hehe lol",
  1353. Color = Color3.new(math.random(1, 255) / 255, math.random(1, 255) / 255, math.random(1, 255) / 255),
  1354. FontSize = Enum.FontSize.Size24,
  1355. })
  1356.  
  1357.  
  1358. for i, v in next, g.Chat:GetDescendants() do
  1359. if v:IsA("TextLabel") and v.Text == "Mining Simulator GUI successfully loaded!" then
  1360. spawn(function()
  1361. local num = 0
  1362. while true do
  1363. if num > 1 then
  1364. num = 0
  1365. end
  1366. num = num + 0.01
  1367. v.TextColor3 = Color3.fromHSV(num, 0.4, 1)
  1368.  
  1369. if v.Text ~= "Mining Simulator GUI successfully loaded!" then
  1370. v.TextColor3 = Color3.new(1, 1, 1)
  1371. break
  1372. end
  1373.  
  1374. r.RenderStepped:wait()
  1375. end
  1376. end)
  1377. break
  1378. end
  1379. end
  1380. end
  1381.  
  1382.  
  1383. GetMaps()
  1384. InitGui()
  1385.  
  1386.  
  1387. -- Don't copy cunt
  1388. local backup = nil
  1389. m.__namecall = function(...)
  1390. local t = {...}
  1391. local method = t[#t]
  1392.  
  1393. if method == "FindFirstChild" then
  1394. if (NewInstantMine and tostring(t[2]) == "Pickaxe") or (not NewInstantMine and tostring(t[2]) == "Stats") then
  1395. local env = getfenv(2)
  1396. if env.script then
  1397. if env.script.Parent ~= nil then
  1398. if tostring(env.script.Parent) == "ScreenGui" then
  1399. local start = debug.getlocal(2, "start") or debug.getupvalue(2, "mining")
  1400. if start ~= nil then
  1401. if backup == nil then
  1402. backup = debug.getupvalue(2, "toolModule")
  1403. end
  1404.  
  1405. if InstantMine then
  1406. debug.setupvalue(2, "mining", 0)
  1407. debug.setlocal(2, "startTick", tick() + 999)
  1408. debug.setlocal(2, "start", tick() - 999)
  1409. debug.setlocal(2, "broke", true)
  1410. debug.setlocal(2, "del", 0)
  1411. debug.setlocal(2, "mineTime", 0)
  1412. --debug.setlocal(2, "myClickCount", debug.getupvalue(2, "clickCount"))
  1413. end
  1414.  
  1415. if MineAnyBlock then
  1416. local toolmod = debug.getupvalue(2, "toolModule")
  1417. local pickaxe = debug.getlocal(2, "pickaxe")
  1418. if toolmod and pickaxe then
  1419. toolmod[pickaxe.Type.Value][1] = math.huge
  1420. debug.setupvalue(2, "toolModule", toolmod)
  1421. end
  1422. else
  1423. if toolmod and pickaxe then
  1424. debug.setupvalue(2, "toolModule", backup)
  1425. end
  1426. end
  1427.  
  1428. --[[local upv = debug.getupvalues(2)
  1429. local locals = debug.getlocals(2)
  1430.  
  1431. for i = 0, 25 do
  1432. print(" ")
  1433. end
  1434.  
  1435. print("UP VALUES:")
  1436. for i, v in next, upv do
  1437. warn(i, v)
  1438. end
  1439. print("LOCALS:")
  1440. for i, v in next, locals do
  1441. warn(i, v)
  1442. end]]
  1443. end
  1444. end
  1445. end
  1446. end
  1447. end
  1448. end
  1449.  
  1450. if method == "PlayerOwnsAsset" then
  1451. if FreeSKip and tostring(t[3]) == "1537206320" then
  1452. return true
  1453. end
  1454. end
  1455.  
  1456. if method == "FireServer" then
  1457. if SpinningCrates or SellInventory then
  1458. if tostring(t[2]) == "MineBlock" then
  1459. return
  1460. end
  1461. end
  1462. end
  1463.  
  1464. return oldnamecall(...)
  1465. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement