dats-scythe

drill digging simulator

Jan 24th, 2026
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.72 KB | None | 0 0
  1. -- drill digging simulator
  2. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  3.  
  4. -- Function to get all egg names from workspace.KPets.Eggs
  5. local function getAllEggs()
  6. local eggs = {}
  7. local eggsFolder = workspace:FindFirstChild("KPets") and workspace.KPets:FindFirstChild("Eggs")
  8. if eggsFolder then
  9. for _, egg in ipairs(eggsFolder:GetChildren()) do
  10. table.insert(eggs, egg.Name)
  11. end
  12. end
  13. if #eggs == 0 then
  14. -- Fallback if no eggs found
  15. eggs = {"Inferno Egg", "Summer Egg"}
  16. end
  17. return eggs
  18. end
  19.  
  20. local allEggs = getAllEggs()
  21.  
  22. local Window = Rayfield:CreateWindow({
  23. Name = "Egg Hatcher & Teleporter",
  24. LoadingTitle = "Loading...",
  25. LoadingSubtitle = "by Grok",
  26. ConfigurationSaving = {
  27. Enabled = true,
  28. FolderName = "RayfieldConfig",
  29. FileName = "EggHatcherTeleporter"
  30. },
  31. Discord = {
  32. Enabled = false,
  33. Invite = "",
  34. RememberJoins = true
  35. },
  36. KeySystem = false,
  37. KeySettings = {
  38. Title = "",
  39. Subtitle = "",
  40. Note = "",
  41. FileName = "",
  42. SaveKey = true,
  43. GrabKeyFromSite = false,
  44. Key = ""
  45. }
  46. })
  47.  
  48. local HatchTab = Window:CreateTab("Hatch Eggs", 4483362458)
  49.  
  50. local EggDropdown = HatchTab:CreateDropdown({
  51. Name = "Egg Type",
  52. Options = allEggs,
  53. CurrentOption = {allEggs[1]},
  54. MultipleOptions = false,
  55. Flag = "EggType",
  56. Callback = function(Option)
  57. _G.EggName = Option[1]
  58. end,
  59. })
  60.  
  61. local QuantityInput = HatchTab:CreateInput({
  62. Name = "Quantity per Hatch",
  63. PlaceholderText = "e.g., 1",
  64. RemoveTextAfterFocusLost = false,
  65. Callback = function(Text)
  66. local num = tonumber(Text)
  67. if num and num > 0 then
  68. _G.Quantity = num
  69. else
  70. Rayfield:Notify({
  71. Title = "Invalid Quantity",
  72. Content = "Please enter a positive number.",
  73. Duration = 5,
  74. Image = 4483362458,
  75. Actions = {}
  76. })
  77. end
  78. end,
  79. })
  80.  
  81. local DelayInput = HatchTab:CreateInput({
  82. Name = "Delay Between Hatches (seconds)",
  83. PlaceholderText = "e.g., 1",
  84. RemoveTextAfterFocusLost = false,
  85. Callback = function(Text)
  86. local num = tonumber(Text)
  87. if num and num >= 0 then
  88. _G.Delay = num
  89. else
  90. Rayfield:Notify({
  91. Title = "Invalid Delay",
  92. Content = "Please enter a non-negative number.",
  93. Duration = 5,
  94. Image = 4483362458,
  95. Actions = {}
  96. })
  97. end
  98. end,
  99. })
  100.  
  101. local AutoHatchToggle = HatchTab:CreateToggle({
  102. Name = "Auto Hatch",
  103. CurrentValue = false,
  104. Flag = "AutoHatch",
  105. Callback = function(Value)
  106. _G.AutoHatch = Value
  107. if Value then
  108. -- Start auto hatching
  109. task.spawn(function()
  110. while _G.AutoHatch do
  111. if _G.EggName and _G.Quantity then
  112. local args = {
  113. _G.EggName,
  114. _G.Quantity
  115. }
  116. game:GetService("ReplicatedStorage"):WaitForChild("KPets"):WaitForChild("Events"):WaitForChild("Hatch"):FireServer(unpack(args))
  117. end
  118. task.wait(_G.Delay or 1)
  119. end
  120. end)
  121. end
  122. end,
  123. })
  124.  
  125. HatchTab:CreateButton({
  126. Name = "Manual Hatch",
  127. Callback = function()
  128. if _G.EggName and _G.Quantity then
  129. local args = {
  130. _G.EggName,
  131. _G.Quantity
  132. }
  133. game:GetService("ReplicatedStorage"):WaitForChild("KPets"):WaitForChild("Events"):WaitForChild("Hatch"):FireServer(unpack(args))
  134. Rayfield:Notify({
  135. Title = "Hatched!",
  136. Content = "Hatched " .. _G.Quantity .. " " .. _G.EggName .. "(s).",
  137. Duration = 5,
  138. Image = 4483362458,
  139. Actions = {}
  140. })
  141. else
  142. Rayfield:Notify({
  143. Title = "Missing Info",
  144. Content = "Please select an egg type and enter quantity.",
  145. Duration = 5,
  146. Image = 4483362458,
  147. Actions = {}
  148. })
  149. end
  150. end,
  151. })
  152.  
  153. local InstantWinTab = Window:CreateTab("Instant Win", 4483362458)
  154.  
  155. local WorldDropdown = InstantWinTab:CreateDropdown({
  156. Name = "Select World",
  157. Options = {"Ancient Greek", "Astral", "Crystal", "Dinosaur", "Dragon", "Frozen", "Jungle", "Magic", "Main"},
  158. CurrentOption = {"Main"},
  159. MultipleOptions = false,
  160. Flag = "SelectedWorld",
  161. Callback = function(Option)
  162. _G.SelectedWorld = Option[1]
  163. end,
  164. })
  165.  
  166. InstantWinTab:CreateButton({
  167. Name = "Teleport to World",
  168. Callback = function()
  169. if _G.SelectedWorld then
  170. local world = workspace.Worlds:FindFirstChild(_G.SelectedWorld)
  171. if world and world:FindFirstChild("AlwaysRender") and world.AlwaysRender:FindFirstChild("SpawnPoint") then
  172. local spawnPoint = world.AlwaysRender.SpawnPoint
  173. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = spawnPoint.CFrame
  174. Rayfield:Notify({
  175. Title = "Teleported!",
  176. Content = "Teleported to " .. _G.SelectedWorld .. ".",
  177. Duration = 5,
  178. Image = 4483362458,
  179. Actions = {}
  180. })
  181. else
  182. Rayfield:Notify({
  183. Title = "Teleport Failed",
  184. Content = "Could not find SpawnPoint in " .. _G.SelectedWorld .. ".",
  185. Duration = 5,
  186. Image = 4483362458,
  187. Actions = {}
  188. })
  189. end
  190. else
  191. Rayfield:Notify({
  192. Title = "No World Selected",
  193. Content = "Please select a world first.",
  194. Duration = 5,
  195. Image = 4483362458,
  196. Actions = {}
  197. })
  198. end
  199. end,
  200. })
  201.  
  202. local AutoTeleportToggle = InstantWinTab:CreateToggle({
  203. Name = "Auto Win",
  204. CurrentValue = false,
  205. Flag = "AutoTeleport",
  206. Callback = function(Value)
  207. _G.AutoTeleport = Value
  208. if Value then
  209. task.spawn(function()
  210. while _G.AutoTeleport do
  211. local worlds = workspace:FindFirstChild("Worlds")
  212. if worlds then
  213. local allowedWorlds = {"Ancient Greek", "Astral", "Crystal", "Dinosaur", "Dragon", "Frozen", "Jungle", "Magic", "Main"}
  214. local parts = {}
  215. for _, world in ipairs(worlds:GetChildren()) do
  216. if table.find(allowedWorlds, world.Name) then
  217. local part = world:FindFirstChild("EndZone") and world.EndZone:FindFirstChild("EndCircle") and world.EndZone.EndCircle:FindFirstChild("Part")
  218. if part then
  219. table.insert(parts, {part = part, originalCFrame = part.CFrame, originalCanCollide = part.CanCollide})
  220. end
  221. end
  222. end
  223. -- Teleport all at the same time
  224. for _, data in ipairs(parts) do
  225. data.part.CanCollide = false
  226. data.part.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  227. end
  228. task.wait(1) -- Time the parts stay at character
  229. -- Return all at the same time
  230. for _, data in ipairs(parts) do
  231. data.part.CFrame = data.originalCFrame
  232. data.part.CanCollide = data.originalCanCollide
  233. end
  234. task.wait(1) -- Delay before next cycle
  235. else
  236. Rayfield:Notify({
  237. Title = "Teleport Failed",
  238. Content = "Could not find Worlds folder.",
  239. Duration = 5,
  240. Image = 4483362458,
  241. Actions = {}
  242. })
  243. _G.AutoTeleport = false
  244. end
  245. end
  246. end)
  247. end
  248. end,
  249. })
  250.  
  251. local AutoMoneyTab = Window:CreateTab("Auto Money", 4483362458)
  252.  
  253. local player = game.Players.LocalPlayer
  254. local character = player.Character or player.CharacterAdded:Wait()
  255. local backpack = player.Backpack
  256.  
  257. local AutoMoneyX1Toggle = AutoMoneyTab:CreateToggle({
  258. Name = "Auto Money x1",
  259. CurrentValue = false,
  260. Flag = "AutoMoneyX1",
  261. Callback = function(Value)
  262. _G.AutoMoneyX1 = Value
  263. if Value then
  264. task.spawn(function()
  265. while _G.AutoMoneyX1 do
  266. for _, tool in ipairs(character:GetChildren()) do
  267. if tool:IsA("Tool") then
  268. local args = {tool}
  269. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  270. end
  271. end
  272. for _, tool in ipairs(backpack:GetChildren()) do
  273. if tool:IsA("Tool") then
  274. local args = {tool}
  275. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  276. end
  277. end
  278. task.wait(0.01) -- Super fast delay
  279. end
  280. end)
  281. end
  282. end,
  283. })
  284.  
  285. local AutoMoneyX2Toggle = AutoMoneyTab:CreateToggle({
  286. Name = "Auto Money x2",
  287. CurrentValue = false,
  288. Flag = "AutoMoneyX2",
  289. Callback = function(Value)
  290. _G.AutoMoneyX2 = Value
  291. if Value then
  292. task.spawn(function()
  293. while _G.AutoMoneyX2 do
  294. for _, tool in ipairs(character:GetChildren()) do
  295. if tool:IsA("Tool") then
  296. for i = 1, 2 do
  297. local args = {tool}
  298. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  299. end
  300. end
  301. end
  302. for _, tool in ipairs(backpack:GetChildren()) do
  303. if tool:IsA("Tool") then
  304. for i = 1, 2 do
  305. local args = {tool}
  306. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  307. end
  308. end
  309. end
  310. task.wait(0.01) -- Super fast delay
  311. end
  312. end)
  313. end
  314. end,
  315. })
  316.  
  317. local AutoMoneyX3Toggle = AutoMoneyTab:CreateToggle({
  318. Name = "Auto Money x3",
  319. CurrentValue = false,
  320. Flag = "AutoMoneyX3",
  321. Callback = function(Value)
  322. _G.AutoMoneyX3 = Value
  323. if Value then
  324. task.spawn(function()
  325. while _G.AutoMoneyX3 do
  326. for _, tool in ipairs(character:GetChildren()) do
  327. if tool:IsA("Tool") then
  328. for i = 1, 5 do
  329. local args = {tool}
  330. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  331. end
  332. end
  333. end
  334. for _, tool in ipairs(backpack:GetChildren()) do
  335. if tool:IsA("Tool") then
  336. for i = 1, 5 do
  337. local args = {tool}
  338. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  339. end
  340. end
  341. end
  342. task.wait(0.01) -- Super fast delay
  343. end
  344. end)
  345. end
  346. end,
  347. })
  348.  
  349. local AutoMoneyX4Toggle = AutoMoneyTab:CreateToggle({
  350. Name = "Auto Money x4",
  351. CurrentValue = false,
  352. Flag = "AutoMoneyX4",
  353. Callback = function(Value)
  354. _G.AutoMoneyX4 = Value
  355. if Value then
  356. task.spawn(function()
  357. while _G.AutoMoneyX4 do
  358. for _, tool in ipairs(character:GetChildren()) do
  359. if tool:IsA("Tool") then
  360. for i = 1, 10 do
  361. local args = {tool}
  362. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  363. end
  364. end
  365. end
  366. for _, tool in ipairs(backpack:GetChildren()) do
  367. if tool:IsA("Tool") then
  368. for i = 1, 10 do
  369. local args = {tool}
  370. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  371. end
  372. end
  373. end
  374. task.wait(0.01) -- Super fast delay
  375. end
  376. end)
  377. end
  378. end,
  379. })
  380.  
  381. local AutoMoneyX5Toggle = AutoMoneyTab:CreateToggle({
  382. Name = "Auto Money x5",
  383. CurrentValue = false,
  384. Flag = "AutoMoneyX5",
  385. Callback = function(Value)
  386. _G.AutoMoneyX5 = Value
  387. if Value then
  388. task.spawn(function()
  389. while _G.AutoMoneyX5 do
  390. for _, tool in ipairs(character:GetChildren()) do
  391. if tool:IsA("Tool") then
  392. for i = 1, 50 do
  393. local args = {tool}
  394. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  395. end
  396. end
  397. end
  398. for _, tool in ipairs(backpack:GetChildren()) do
  399. if tool:IsA("Tool") then
  400. for i = 1, 50 do
  401. local args = {tool}
  402. game:GetService("ReplicatedStorage"):WaitForChild("GiveCash"):FireServer(unpack(args))
  403. end
  404. end
  405. end
  406. task.wait(0.01) -- Super fast delay
  407. end
  408. end)
  409. end
  410. end,
  411. })
  412.  
  413. local AutoCraftTab = Window:CreateTab("Auto Craft", 4483362458)
  414.  
  415. local AutoCraftToggle = AutoCraftTab:CreateToggle({
  416. Name = "Auto Craft Pets (4 of same type to Gold, 5 of same type to Rainbow)",
  417. CurrentValue = false,
  418. Flag = "AutoCraft",
  419. Callback = function(Value)
  420. _G.AutoCraft = Value
  421. if Value then
  422. task.spawn(function()
  423. while _G.AutoCraft do
  424. local player = game.Players.LocalPlayer
  425. local petsFolder = player:WaitForChild("Data"):WaitForChild("Pets")
  426.  
  427. -- Collect all pet data
  428. local petData = {}
  429. for _, pet in ipairs(petsFolder:GetChildren()) do
  430. if pet:IsA("Folder") then
  431. local data = {
  432. Egg = pet:FindFirstChild("Egg") and pet.Egg.Value or "",
  433. Type = pet:FindFirstChild("Type") and pet.Type.Value or "Normal",
  434. Name = pet:FindFirstChild("Name") and pet.Name.Value or pet.Name,
  435. Multiplier2 = pet:FindFirstChild("Multiplier2") and pet.Multiplier2.Value or 0,
  436. Equipped = pet:FindFirstChild("Equipped") and pet.Equipped.Value or false,
  437. Multiplier = pet:FindFirstChild("Multiplier") and pet.Multiplier.Value or 0,
  438. Autodeleted = pet:FindFirstChild("Autodeleted") and pet.Autodeleted.Value or false
  439. }
  440. petData[pet.Name] = data -- pet.Name is the ID
  441. end
  442. end
  443.  
  444. -- Group by pet name
  445. local groups = {} -- {petName = {ids = {}, data = {}}}
  446. for id, data in pairs(petData) do
  447. local name = data.Name
  448. if not groups[name] then
  449. groups[name] = {ids = {}, data = {}}
  450. end
  451. table.insert(groups[name].ids, id)
  452. groups[name].data[id] = data
  453. end
  454.  
  455. -- Craft for each group
  456. for petName, group in pairs(groups) do
  457. -- Craft to Gold if 4 or more
  458. while #group.ids >= 4 do
  459. local idsToCraft = {}
  460. for i = 1, 4 do
  461. local id = table.remove(group.ids, 1)
  462. idsToCraft[id] = group.data[id]
  463. end
  464. local args = {idsToCraft, "Golden"}
  465. game:GetService("ReplicatedStorage"):WaitForChild("KPets"):WaitForChild("Events"):WaitForChild("Craft"):FireServer(unpack(args))
  466. Rayfield:Notify({
  467. Title = "Crafted to Gold",
  468. Content = "Crafted 4 " .. petName .. " to Golden.",
  469. Duration = 3,
  470. Image = 4483362458,
  471. Actions = {}
  472. })
  473. end
  474.  
  475. -- Craft to Rainbow if 5 or more
  476. while #group.ids >= 5 do
  477. local idsToCraft = {}
  478. for i = 1, 5 do
  479. local id = table.remove(group.ids, 1)
  480. idsToCraft[id] = group.data[id]
  481. end
  482. local args = {idsToCraft, "Rainbow"}
  483. game:GetService("ReplicatedStorage"):WaitForChild("KPets"):WaitForChild("Events"):WaitForChild("Craft"):FireServer(unpack(args))
  484. Rayfield:Notify({
  485. Title = "Crafted to Rainbow",
  486. Content = "Crafted 5 " .. petName .. " to Rainbow.",
  487. Duration = 3,
  488. Image = 4483362458,
  489. Actions = {}
  490. })
  491. end
  492. end
  493.  
  494. task.wait(5) -- Delay between checks
  495. end
  496. end)
  497. end
  498. end,
  499. })
  500.  
  501. -- Set defaults
  502. _G.EggName = allEggs[1] or "Inferno Egg"
  503. _G.Quantity = 1
  504. _G.Delay = 1
  505. _G.AutoHatch = false
  506. _G.AutoTeleport = false
  507. _G.AutoMoneyX1 = false
  508. _G.AutoMoneyX2 = false
  509. _G.AutoMoneyX3 = false
  510. _G.AutoMoneyX4 = false
  511. _G.AutoMoneyX5 = false
  512. _G.AutoCraft = false
  513. _G.SelectedWorld = "Main"
  514. QuantityInput:Set(tostring(_G.Quantity))
  515. DelayInput:Set(tostring(_G.Delay))
Advertisement
Add Comment
Please, Sign In to add comment