Miners Haven Script - Pastebin.com (2024)

  1. _G.WS = "135";

  2. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;

  3. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()

  4. Humanoid.WalkSpeed = _G.WS;

  5. end)

  6. Humanoid.WalkSpeed = _G.WS;

  7. local UserInputService = game:GetService("UserInputService")

  8. local localPlayer = game.Players.LocalPlayer

  9. local character

  10. local humanoid

  11. local canDoubleJump = false

  12. local hasDoubleJumped = false

  13. local oldPower

  14. local TIME_BETWEEN_JUMPS = 0.2

  15. local DOUBLE_JUMP_POWER_MULTIPLIER = 2

  16. function onJumpRequest()

  17. if not character or not humanoid or not character:IsDescendantOf(workspace) or

  18. humanoid:GetState() == Enum.HumanoidStateType.Dead then

  19. return

  20. end

  21. if canDoubleJump and not hasDoubleJumped then

  22. hasDoubleJumped = true

  23. humanoid.JumpPower = oldPower * DOUBLE_JUMP_POWER_MULTIPLIER

  24. humanoid:ChangeState(Enum.HumanoidStateType.Jumping)

  25. end

  26. end

  27. local function characterAdded(newCharacter)

  28. character = newCharacter

  29. humanoid = newCharacter:WaitForChild("Humanoid")

  30. hasDoubleJumped = false

  31. canDoubleJump = false

  32. oldPower = humanoid.JumpPower

  33. humanoid.StateChanged:connect(function(old, new)

  34. if new == Enum.HumanoidStateType.Landed then

  35. canDoubleJump = false

  36. hasDoubleJumped = false

  37. humanoid.JumpPower = oldPower

  38. elseif new == Enum.HumanoidStateType.Freefall then

  39. wait(TIME_BETWEEN_JUMPS)

  40. canDoubleJump = true

  41. end

  42. end)

  43. end

  44. if localPlayer.Character then

  45. characterAdded(localPlayer.Character)

  46. end

  47. localPlayer.CharacterAdded:connect(characterAdded)

  48. UserInputService.JumpRequest:connect(onJumpRequest)

  49. local jump = 120 -- Add the amount of jump power you want here!

  50. spawn(function()

  51. while wait() do

  52. game.Players.LocalPlayer.Character.Humanoid.JumpPower = jump

  53. end

  54. end)

  55. local ScreenGui = Instance.new("ScreenGui")

  56. local MenuFrame = Instance.new("Frame")

  57. local MenuTitlebar = Instance.new("Frame")

  58. local TitleMenu = Instance.new("TextLabel")

  59. local Utilities = Instance.new("TextButton")

  60. local AutoSetup = Instance.new("TextButton")

  61. local HideMenu = Instance.new("TextButton")

  62. local OreBoost = Instance.new("TextButton")

  63. local Util = Instance.new("Frame")

  64. local UtilitiesTitlebar = Instance.new("Frame")

  65. local BackMenuU = Instance.new("TextButton")

  66. local TextLabel = Instance.new("TextLabel")

  67. local AutoRebirth = Instance.new("TextButton")

  68. local GrabCrates = Instance.new("TextButton")

  69. local GrabMM = Instance.new("TextButton")

  70. local TTokens = Instance.new("TextButton")

  71. local CTokens = Instance.new("TextButton")

  72. local MSpeed = Instance.new("TextButton")

  73. local JPower = Instance.new("TextButton")

  74. local RemoteOn = Instance.new("TextButton")

  75. local RemoteOff = Instance.new("TextButton")

  76. local OBoost = Instance.new("Frame")

  77. local BoostTitlebar = Instance.new("Frame")

  78. local BackMenuB = Instance.new("TextButton")

  79. local AutoLayout = Instance.new("TextButton")

  80. local OreBoost_2 = Instance.new("TextButton")

  81. local TextLabel_2 = Instance.new("TextLabel")

  82. local TextBox = Instance.new("TextBox")

  83. local OpenMenu = Instance.new("TextButton")

  84. local ASetup = Instance.new("Frame")

  85. local SetupTitlebar = Instance.new("Frame")

  86. local BackMenuS = Instance.new("TextButton")

  87. local CatalyzedStar = Instance.new("TextButton")

  88. local NeutronStar = Instance.new("TextButton")

  89. local MorningStar = Instance.new("TextButton")

  90. local TextLabel_3 = Instance.new("TextLabel")

  91. ScreenGui.Parent = game.CoreGui

  92. MenuFrame.Name = "MenuFrame"

  93. MenuFrame.Parent = ScreenGui

  94. MenuFrame.BackgroundColor3 = Color3.new(1, 1, 1)

  95. MenuFrame.BorderSizePixel = 0

  96. MenuFrame.Position = UDim2.new(0.85852313, 0, 0.180689663, 0)

  97. MenuFrame.Size = UDim2.new(0, 202, 0, 239)

  98. MenuFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY

  99. MenuFrame.Style = Enum.FrameStyle.RobloxSquare

  100. MenuFrame.Visible = false

  101. MenuTitlebar.Name = "MenuTitlebar"

  102. MenuTitlebar.Parent = MenuFrame

  103. MenuTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)

  104. MenuTitlebar.Position = UDim2.new(-0.0420792066, 0, -0.0334728025, 0)

  105. MenuTitlebar.Size = UDim2.new(0, 201, 0, 51)

  106. MenuTitlebar.Style = Enum.FrameStyle.RobloxSquare

  107. TitleMenu.Name = "TitleMenu"

  108. TitleMenu.Parent = MenuFrame

  109. TitleMenu.BackgroundColor3 = Color3.new(1, 1, 1)

  110. TitleMenu.BackgroundTransparency = 1

  111. TitleMenu.Position = UDim2.new(-0.0396039598, 0, -0.0292887036, 0)

  112. TitleMenu.Size = UDim2.new(0, 202, 0, 51)

  113. TitleMenu.Font = Enum.Font.SourceSans

  114. TitleMenu.Text = "Masters Collection Menu"

  115. TitleMenu.TextColor3 = Color3.new(1, 1, 1)

  116. TitleMenu.TextSize = 20

  117. Utilities.Name = "Utilities"

  118. Utilities.Parent = MenuFrame

  119. Utilities.BackgroundColor3 = Color3.new(1, 1, 1)

  120. Utilities.Position = UDim2.new(0.0990099013, 0, 0.252595186, 0)

  121. Utilities.Size = UDim2.new(0, 148, 0, 37)

  122. Utilities.Style = Enum.ButtonStyle.RobloxRoundButton

  123. Utilities.Font = Enum.Font.SourceSans

  124. Utilities.Text = "Utilities"

  125. Utilities.TextSize = 14

  126. Utilities.MouseButton1Click:connect(function()

  127. MenuFrame.Visible = false

  128. Util.Visible = true

  129. end)

  130. AutoSetup.Name = "AutoSetup"

  131. AutoSetup.Parent = MenuFrame

  132. AutoSetup.BackgroundColor3 = Color3.new(1, 1, 1)

  133. AutoSetup.Position = UDim2.new(0.0990099013, 0, 0.465043187, 0)

  134. AutoSetup.Size = UDim2.new(0, 148, 0, 37)

  135. AutoSetup.Style = Enum.ButtonStyle.RobloxRoundButton

  136. AutoSetup.Font = Enum.Font.SourceSans

  137. AutoSetup.Text = "Auto Setup"

  138. AutoSetup.TextSize = 14

  139. AutoSetup.MouseButton1Click:connect(function()

  140. MenuFrame.Visible = false

  141. ASetup.Visible = true

  142. end)

  143. HideMenu.Name = "HideMenu"

  144. HideMenu.Parent = MenuFrame

  145. HideMenu.BackgroundColor3 = Color3.new(1, 1, 1)

  146. HideMenu.BackgroundTransparency = 1

  147. HideMenu.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)

  148. HideMenu.Size = UDim2.new(0, 69, 0, 17)

  149. HideMenu.Font = Enum.Font.SourceSans

  150. HideMenu.Text = "Hide"

  151. HideMenu.TextColor3 = Color3.new(1, 1, 1)

  152. HideMenu.TextSize = 14

  153. HideMenu.MouseButton1Click:connect(function()

  154. MenuFrame.Visible = false

  155. OpenMenu.Visible = true

  156. end)

  157. OreBoost.Name = "OreBoost"

  158. OreBoost.Parent = MenuFrame

  159. OreBoost.BackgroundColor3 = Color3.new(1, 1, 1)

  160. OreBoost.Position = UDim2.new(0.0990099013, 0, 0.670064151, 0)

  161. OreBoost.Size = UDim2.new(0, 148, 0, 37)

  162. OreBoost.Style = Enum.ButtonStyle.RobloxRoundButton

  163. OreBoost.Font = Enum.Font.SourceSans

  164. OreBoost.Text = "Ore Booster"

  165. OreBoost.TextSize = 14

  166. OreBoost.MouseButton1Click:connect(function()

  167. MenuFrame.Visible = false

  168. OBoost.Visible = true

  169. end)

  170. Util.Name = "Util"

  171. Util.Parent = ScreenGui

  172. Util.BackgroundColor3 = Color3.new(1, 1, 1)

  173. Util.Position = UDim2.new(0.857142806, 0, 0.183448285, 0)

  174. Util.Size = UDim2.new(0, 202, 0, 239)

  175. Util.Visible = false

  176. Util.Style = Enum.FrameStyle.RobloxSquare

  177. UtilitiesTitlebar.Name = "UtilitiesTitlebar"

  178. UtilitiesTitlebar.Parent = Util

  179. UtilitiesTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)

  180. UtilitiesTitlebar.Position = UDim2.new(-0.0445544571, 0, -0.0376569033, 0)

  181. UtilitiesTitlebar.Size = UDim2.new(0, 201, 0, 51)

  182. UtilitiesTitlebar.Style = Enum.FrameStyle.RobloxSquare

  183. BackMenuU.Name = "BackMenuU"

  184. BackMenuU.Parent = Util

  185. BackMenuU.BackgroundColor3 = Color3.new(1, 1, 1)

  186. BackMenuU.BackgroundTransparency = 1

  187. BackMenuU.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)

  188. BackMenuU.Size = UDim2.new(0, 69, 0, 17)

  189. BackMenuU.Font = Enum.Font.SourceSans

  190. BackMenuU.Text = "Back"

  191. BackMenuU.TextColor3 = Color3.new(1, 1, 1)

  192. BackMenuU.TextSize = 14

  193. BackMenuU.MouseButton1Click:connect(function()

  194. Util.Visible = false

  195. MenuFrame.Visible = true

  196. end)

  197. TextLabel.Parent = Util

  198. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)

  199. TextLabel.BackgroundTransparency = 1

  200. TextLabel.Position = UDim2.new(-0.0396039598, 0, -0.0251046028, 0)

  201. TextLabel.Size = UDim2.new(0, 200, 0, 50)

  202. TextLabel.Font = Enum.Font.SourceSans

  203. TextLabel.Text = "Utilities"

  204. TextLabel.TextColor3 = Color3.new(1, 1, 1)

  205. TextLabel.TextSize = 24

  206. AutoRebirth.Name = "AutoRebirth"

  207. AutoRebirth.Parent = Util

  208. AutoRebirth.BackgroundColor3 = Color3.new(1, 1, 1)

  209. AutoRebirth.Position = UDim2.new(0.0148514882, 0, 0.22594142, 0)

  210. AutoRebirth.Size = UDim2.new(0, 83, 0, 23)

  211. AutoRebirth.Style = Enum.ButtonStyle.RobloxRoundButton

  212. AutoRebirth.Font = Enum.Font.SourceSans

  213. AutoRebirth.Text = "Auto Rebirth"

  214. AutoRebirth.TextSize = 14

  215. AutoRebirth.MouseButton1Click:connect(function()

  216. while true do

  217. game.ReplicatedStorage.Rebirth:InvokeServer()

  218. wait(0.1)

  219. end

  220. end)

  221. GrabCrates.Name = "GrabCrates"

  222. GrabCrates.Parent = Util

  223. GrabCrates.BackgroundColor3 = Color3.new(1, 1, 1)

  224. GrabCrates.Position = UDim2.new(0.544554472, 0, 0.22594142, 0)

  225. GrabCrates.Size = UDim2.new(0, 83, 0, 23)

  226. GrabCrates.Style = Enum.ButtonStyle.RobloxRoundButton

  227. GrabCrates.Font = Enum.Font.SourceSans

  228. GrabCrates.Text = "GrabCrates"

  229. GrabCrates.TextSize = 14

  230. GrabCrates.MouseButton1Click:connect(function()

  231. while wait() do

  232. while wait(2) do

  233. for _,v in pairs(game.Workspace:GetChildren()) do

  234. if string.match(v.Name, "DiamondCrate") or string.match(v.Name, "ResearchCrate") or string.match(v.Name, "GoldenCrate") or string.match(v.Name, "CrystalCrate") or string.match(v.Name, "Pumpkin") or string.match(v.Name, "MegaPumpkin") or string.match(v.Name, "Pumpkin") or string.match(v.Name, "LuckyCrate") or string.match(v.Name, "ExecutiveCrate") or string.match(v.Name, "GiftCrate") or string.match(v.Name, "ShadowCrate")then

  235. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)

  236. v.CanCollide = false

  237. v.Transparency = 1

  238. for _,v in pairs(game.Workspace.Shadows:GetChildren()) do

  239. if string.match(v.Name, "ShadowCrate") or string.match(v.Name, "MegaPumpkin") then

  240. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)

  241. v.CanCollide = false

  242. v.Transparency = 1

  243. end

  244. end

  245. end

  246. end

  247. end

  248. end

  249. end)

  250. GrabMM.Name = "GrabMM"

  251. GrabMM.Parent = Util

  252. GrabMM.BackgroundColor3 = Color3.new(1, 1, 1)

  253. GrabMM.Position = UDim2.new(0.0198019929, 0, 0.364016712, 0)

  254. GrabMM.Size = UDim2.new(0, 83, 0, 23)

  255. GrabMM.Style = Enum.ButtonStyle.RobloxRoundButton

  256. GrabMM.Font = Enum.Font.SourceSans

  257. GrabMM.Text = "Grab MM"

  258. GrabMM.TextSize = 14

  259. GrabMM.MouseButton1Click:connect(function()

  260. thing = game.Workspace.Market.Hitfox

  261. thing.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))

  262. thing.Transparency = 0

  263. thing.BrickColor = BrickColor.new(255,0,100)

  264. tell = Instance.new("SurfaceGui",thing)

  265. tell2 = Instance.new("TextLabel",tell)

  266. tell2.Size = UDim2.new(0, 800, 0, 750)

  267. tell2.TextWrapped= true

  268. tell2.TextScaled = true

  269. tell2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)

  270. tell2.TextColor3 = Color3.fromRGB(255, 255, 255)

  271. tell2.Text = "Click Me!"

  272. end)

  273. TTokens.Name = "TTokens"

  274. TTokens.Parent = Util

  275. TTokens.BackgroundColor3 = Color3.new(1, 1, 1)

  276. TTokens.Position = UDim2.new(0.544554472, 0, 0.364016712, 0)

  277. TTokens.Size = UDim2.new(0, 83, 0, 23)

  278. TTokens.Style = Enum.ButtonStyle.RobloxRoundButton

  279. TTokens.Font = Enum.Font.SourceSans

  280. TTokens.Text = "Twitch Tokens"

  281. TTokens.TextSize = 14

  282. TTokens.MouseButton1Click:connect(function()

  283. while wait() do

  284. while wait(1) do

  285. game.Players.LocalPlayer.TwitchPoints.Value = game.Players.LocalPlayer.TwitchPoints.Value +50

  286. end

  287. end

  288. end)

  289. CTokens.Name = "CTokens"

  290. CTokens.Parent = Util

  291. CTokens.BackgroundColor3 = Color3.new(1, 1, 1)

  292. CTokens.Position = UDim2.new(0.0198019929, 0, 0.497907937, 0)

  293. CTokens.Size = UDim2.new(0, 83, 0, 23)

  294. CTokens.Style = Enum.ButtonStyle.RobloxRoundButton

  295. CTokens.Font = Enum.Font.SourceSans

  296. CTokens.Text = "Clover Tokens"

  297. CTokens.TextSize = 14

  298. CTokens.MouseButton1Click:connect(function()

  299. while wait() do

  300. while wait(1) do

  301. game.Players.LocalPlayer.Clovers.Value = game.Players.LocalPlayer.Clovers.Value +100

  302. end

  303. end

  304. end)

  305. MSpeed.Name = "MSpeed"

  306. MSpeed.Parent = Util

  307. MSpeed.BackgroundColor3 = Color3.new(1, 1, 1)

  308. MSpeed.Position = UDim2.new(0.544554472, 0, 0.497907937, 0)

  309. MSpeed.Size = UDim2.new(0, 83, 0, 23)

  310. MSpeed.Style = Enum.ButtonStyle.RobloxRoundButton

  311. MSpeed.Font = Enum.Font.SourceSans

  312. MSpeed.Text = "Walk Speed"

  313. MSpeed.TextSize = 14

  314. MSpeed.MouseButton1Click:connect(function()

  315. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80

  316. end)

  317. JPower.Name = "JPower"

  318. JPower.Parent = Util

  319. JPower.BackgroundColor3 = Color3.new(1, 1, 1)

  320. JPower.Position = UDim2.new(0.0198019929, 0, 0.631799161, 0)

  321. JPower.Size = UDim2.new(0, 83, 0, 23)

  322. JPower.Style = Enum.ButtonStyle.RobloxRoundButton

  323. JPower.Font = Enum.Font.SourceSans

  324. JPower.Text = "Jump Power"

  325. JPower.TextSize = 14

  326. JPower.MouseButton1Click:connect(function()

  327. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 180

  328. end)

  329. RemoteOn.Name = "RemoteOn"

  330. RemoteOn.Parent = Util

  331. RemoteOn.BackgroundColor3 = Color3.new(1, 1, 1)

  332. RemoteOn.Position = UDim2.new(0.544554472, 0, 0.631799161, 0)

  333. RemoteOn.Size = UDim2.new(0, 83, 0, 23)

  334. RemoteOn.Style = Enum.ButtonStyle.RobloxRoundButton

  335. RemoteOn.Font = Enum.Font.SourceSans

  336. RemoteOn.Text = "Remote On"

  337. RemoteOn.TextSize = 14

  338. RemoteOn.MouseButton1Click:connect(function()

  339. x = 1;

  340. while(x>0) do

  341. wait (0.3)

  342. game.ReplicatedStorage.RemoteDrop:FireServer()

  343. end

  344. end)

  345. RemoteOff.Name = "RemoteOff"

  346. RemoteOff.Parent = Util

  347. RemoteOff.BackgroundColor3 = Color3.new(1, 1, 1)

  348. RemoteOff.Position = UDim2.new(0.544554472, 0, 0.753138065, 0)

  349. RemoteOff.Size = UDim2.new(0, 83, 0, 23)

  350. RemoteOff.Style = Enum.ButtonStyle.RobloxRoundButton

  351. RemoteOff.Font = Enum.Font.SourceSans

  352. RemoteOff.Text = "Remote Off"

  353. RemoteOff.TextSize = 14

  354. RemoteOff.MouseButton1Click:connect(function()

  355. x = 0;

  356. end)

  357. OBoost.Name = "OBoost"

  358. OBoost.Parent = ScreenGui

  359. OBoost.BackgroundColor3 = Color3.new(1, 1, 1)

  360. OBoost.Position = UDim2.new(0.856797814, 0, 0.180689663, 0)

  361. OBoost.Size = UDim2.new(0, 202, 0, 239)

  362. OBoost.Visible = false

  363. OBoost.Style = Enum.FrameStyle.RobloxSquare

  364. BoostTitlebar.Name = "BoostTitlebar"

  365. BoostTitlebar.Parent = OBoost

  366. BoostTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)

  367. BoostTitlebar.Position = UDim2.new(-0.0445544571, 0, -0.0376569033, 0)

  368. BoostTitlebar.Size = UDim2.new(0, 201, 0, 51)

  369. BoostTitlebar.Style = Enum.FrameStyle.RobloxSquare

  370. BackMenuB.Name = "BackMenuB"

  371. BackMenuB.Parent = OBoost

  372. BackMenuB.BackgroundColor3 = Color3.new(1, 1, 1)

  373. BackMenuB.BackgroundTransparency = 1

  374. BackMenuB.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)

  375. BackMenuB.Size = UDim2.new(0, 69, 0, 17)

  376. BackMenuB.Font = Enum.Font.SourceSans

  377. BackMenuB.Text = "Back"

  378. BackMenuB.TextColor3 = Color3.new(1, 1, 1)

  379. BackMenuB.TextSize = 14

  380. BackMenuB.MouseButton1Click:connect(function()

  381. OBoost.Visible = false

  382. MenuFrame.Visible = true

  383. end)

  384. AutoLayout.Name = "AutoLayout"

  385. AutoLayout.Parent = OBoost

  386. AutoLayout.BackgroundColor3 = Color3.new(1, 1, 1)

  387. AutoLayout.Position = UDim2.new(0.103960395, 0, 0.684708416, 0)

  388. AutoLayout.Size = UDim2.new(0, 148, 0, 37)

  389. AutoLayout.Style = Enum.ButtonStyle.RobloxRoundButton

  390. AutoLayout.Font = Enum.Font.SourceSans

  391. AutoLayout.Text = "Auto Load Layout 1: OFF"

  392. AutoLayout.TextSize = 14

  393. local autoload1 = false

  394. AutoLayout.MouseButton1Click:connect(function()

  395. if autoload1 == false then

  396. autoload1 = true

  397. AutoLayout.Text = "Auto Load Layout 1: ON"

  398. else

  399. autoload1 = false

  400. AutoLayout.Text = "Auto Load Layout 1: OFF"

  401. end

  402. end)

  403. spawn(function()

  404. while true do

  405. wait()

  406. if autoload1 == true then

  407. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0

  408. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = false

  409. game.ReplicatedStorage.Layouts:InvokeServer("Load","Layout1")

  410. else

  411. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0.5

  412. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = true

  413. end

  414. end

  415. end)

  416. OreBoost_2.Name = "OreBoost"

  417. OreBoost_2.Parent = OBoost

  418. OreBoost_2.BackgroundColor3 = Color3.new(1, 1, 1)

  419. OreBoost_2.Position = UDim2.new(0.101485148, 0, 0.49318096, 0)

  420. OreBoost_2.Size = UDim2.new(0, 148, 0, 37)

  421. OreBoost_2.Style = Enum.ButtonStyle.RobloxRoundButton

  422. OreBoost_2.Font = Enum.Font.SourceSans

  423. OreBoost_2.Text = "Boost Ore: OFF"

  424. OreBoost_2.TextSize = 14

  425. local boost = false

  426. OreBoost_2.MouseButton1Click:connect(function()

  427. if boost == false then

  428. boost = true

  429. OreBoost_2.Text = "Boost Ore: ON"

  430. else

  431. boost = false

  432. OreBoost_2.Text = "Boost Ore: OFF"

  433. end

  434. end)

  435. spawn(function()

  436. while true do

  437. wait()

  438. if boost == true then

  439. local tyc = workspace.Tycoons:GetChildren()

  440. for i=1,#tyc do

  441. local basepart = tyc[i]:GetChildren()

  442. for i=1,#basepart do

  443. if basepart[i].ClassName == "Model" then

  444. if basepart[i].Model:findFirstChild("Upgrade") then

  445. if basepart[i].Model.Upgrade:findFirstChild("Cloned") then

  446. else

  447. local decoy = basepart[i].Model.Upgrade:Clone()

  448. decoy.Parent = basepart[i].Model

  449. decoy.Name = "UpgradeDecoy"

  450. local tag = Instance.new("StringValue",basepart[i].Model.Upgrade)

  451. tag.Name = "Cloned"

  452. local deco = basepart[i].Model.Upgrade:GetChildren()

  453. for i=1,#deco do

  454. if deco[i].ClassName == "ParticleEmitter" then

  455. deco[i]:remove()

  456. end

  457. if deco[i].Name == "Mesh" then

  458. deco[i]:remove()

  459. end

  460. if deco[i].Name == "Smoke" then

  461. deco[i]:remove()

  462. end

  463. if deco[i].Name == "Fire" then

  464. deco[i]:remove()

  465. end

  466. end

  467. if basepart[i].Model.Upgrade:findFirstChild("Error") then

  468. basepart[i].Model.Upgrade.Error.Volume = 0

  469. end

  470. basepart[i].Model.Upgrade.Transparency = 1

  471. basepart[i].Model.Upgrade.Size = Vector3.new(5,5,5)

  472. basepart[i].Model.Upgrade.CFrame = CFrame.new(workspace.Tycoons[tostring(game.Players.LocalPlayer.PlayerTycoon.Value)][TextBox.Text].Model.Drop.Position)

  473. end

  474. end

  475. end

  476. end

  477. end

  478. end

  479. end

  480. end)

  481. TextLabel_2.Parent = OBoost

  482. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)

  483. TextLabel_2.BackgroundTransparency = 1

  484. TextLabel_2.Position = UDim2.new(-0.0247524753, 0, -0.0292887036, 0)

  485. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)

  486. TextLabel_2.Font = Enum.Font.SourceSans

  487. TextLabel_2.Text = "Ore Booster"

  488. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)

  489. TextLabel_2.TextSize = 24

  490. TextBox.Parent = OBoost

  491. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)

  492. TextBox.Position = UDim2.new(0.103960402, 0, 0.22594142, 0)

  493. TextBox.Size = UDim2.new(0, 148, 0, 54)

  494. TextBox.Font = Enum.Font.SourceSans

  495. TextBox.Text = "Enter Mine Name, Case Sensitive: E.g. \"Basic Iron Mine\""

  496. TextBox.TextScaled = true

  497. TextBox.TextSize = 14

  498. TextBox.TextWrapped = true

  499. OpenMenu.Name = "OpenMenu"

  500. OpenMenu.Parent = ScreenGui

  501. OpenMenu.BackgroundColor3 = Color3.new(1, 1, 1)

  502. OpenMenu.Position = UDim2.new(0.473775059, 0, 0.79724133, 0)

  503. OpenMenu.Size = UDim2.new(0, 76, 0, 31)

  504. OpenMenu.Style = Enum.ButtonStyle.RobloxRoundButton

  505. OpenMenu.Font = Enum.Font.SourceSans

  506. OpenMenu.Text = "Open"

  507. OpenMenu.TextSize = 14

  508. OpenMenu.MouseButton1Click:connect(function()

  509. MenuFrame.Visible = true

  510. OpenMenu.Visible = false

  511. end)

  512. ASetup.Name = "ASetup"

  513. ASetup.Parent = ScreenGui

  514. ASetup.BackgroundColor3 = Color3.new(1, 1, 1)

  515. ASetup.Position = UDim2.new(0.858078897, 0, 0.182611465, 0)

  516. ASetup.Size = UDim2.new(0, 202, 0, 239)

  517. ASetup.Visible = false

  518. ASetup.Style = Enum.FrameStyle.RobloxSquare

  519. SetupTitlebar.Name = "SetupTitlebar"

  520. SetupTitlebar.Parent = ASetup

  521. SetupTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)

  522. SetupTitlebar.Position = UDim2.new(-0.0445544571, 0, -0.0376569033, 0)

  523. SetupTitlebar.Size = UDim2.new(0, 201, 0, 51)

  524. SetupTitlebar.Style = Enum.FrameStyle.RobloxSquare

  525. BackMenuS.Name = "BackMenuS"

  526. BackMenuS.Parent = ASetup

  527. BackMenuS.BackgroundColor3 = Color3.new(1, 1, 1)

  528. BackMenuS.BackgroundTransparency = 1

  529. BackMenuS.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)

  530. BackMenuS.Size = UDim2.new(0, 69, 0, 17)

  531. BackMenuS.Font = Enum.Font.SourceSans

  532. BackMenuS.Text = "Back"

  533. BackMenuS.TextColor3 = Color3.new(1, 1, 1)

  534. BackMenuS.TextSize = 14

  535. BackMenuS.MouseButton1Click:connect(function()

  536. ASetup.Visible = false

  537. MenuFrame.Visible = true

  538. end)

  539. CatalyzedStar.Name = "CatalyzedStar"

  540. CatalyzedStar.Parent = ASetup

  541. CatalyzedStar.BackgroundColor3 = Color3.new(1, 1, 1)

  542. CatalyzedStar.Position = UDim2.new(0.0990099013, 0, 0.438787639, 0)

  543. CatalyzedStar.Size = UDim2.new(0, 148, 0, 37)

  544. CatalyzedStar.Style = Enum.ButtonStyle.RobloxRoundButton

  545. CatalyzedStar.Font = Enum.Font.SourceSans

  546. CatalyzedStar.Text = "Catalyzed Star"

  547. CatalyzedStar.TextSize = 14

  548. CatalyzedStar.MouseButton1Click:connect(function()

  549. local function A()

  550. wait(0.5)

  551. game.ReplicatedStorage.PlaceItem:InvokeServer("Symmetryte Mine", CFrame.new(-97.5, 206.799988, 194, -2.90066708e-07, 0, -1, 0, 1, 0, 1, 0, -2.90066708e-07))

  552. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-97.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  553. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-91.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  554. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-85.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  555. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-79.5, 202.299988, 209, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  556. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-79.5, 202.299988, 215, 1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07))

  557. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-73.5, 202.299988, 215, -1, 0, -2.38497613e-08, 0, 1, 0, 2.38497613e-08, 0, -1))

  558. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-73.5, 202.299988, 209, -2.90066708e-07, 0, -1, 0, 1, 0, 1, 0, -2.90066708e-07))

  559. game.ReplicatedStorage.PlaceItem:InvokeServer("Catalyzed Star", CFrame.new(-43.5, 205.299988, 179, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  560. game.ReplicatedStorage.PlaceItem:InvokeServer("The Final Upgrader", CFrame.new(-45, 205.299988, 198.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  561. game.ReplicatedStorage.PlaceItem:InvokeServer("Sakura Garden", CFrame.new(-43.5, 206.799988, 219.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  562. local player = game:GetService'Players'.LocalPlayer

  563. local factorye = player.PlayerTycoon.Value

  564. local Factory = tostring(factorye)

  565. -- if you'd like to change the upgrader this goes through, go ahead and change it below

  566. thing = game.Workspace.Tycoons[Factory]["Catalyzed Star"].Hitbox

  567. --1200 is the default amount of times this will run, feel free to change it to whatever you want!

  568. for i = 1,1000 do wait(.01)

  569. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do

  570. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)

  571. v.CFrame = p

  572. end

  573. end

  574. end

  575. A()

  576. spawn(function()

  577. while wait(0.1)do

  578. game:GetService'ReplicatedStorage'.RemoteDrop:FireServer()

  579. end

  580. end)

  581. spawn(function()

  582. while wait(1)do

  583. local Ea = game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()

  584. if Ea == true then

  585. wait(3)

  586. A()

  587. end

  588. end

  589. end)

  590. end)

  591. NeutronStar.Name = "NeutronStar"

  592. NeutronStar.Parent = ASetup

  593. NeutronStar.BackgroundColor3 = Color3.new(1, 1, 1)

  594. NeutronStar.Position = UDim2.new(0.0990099013, 0, 0.634499252, 0)

  595. NeutronStar.Size = UDim2.new(0, 148, 0, 37)

  596. NeutronStar.Style = Enum.ButtonStyle.RobloxRoundButton

  597. NeutronStar.Font = Enum.Font.SourceSans

  598. NeutronStar.Text = "Neutron Star"

  599. NeutronStar.TextSize = 14

  600. NeutronStar.MouseButton1Click:connect(function()

  601. local function A()

  602. wait(0.5)

  603. game.ReplicatedStorage.PlaceItem:InvokeServer("Symmetryte Mine", CFrame.new(-97.5, 206.799988, 194, -2.90066708e-07, 0, -1, 0, 1, 0, 1, 0, -2.90066708e-07))

  604. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-97.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  605. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-91.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  606. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-85.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  607. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-79.5, 202.299988, 209, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  608. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-79.5, 202.299988, 215, 1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07))

  609. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-73.5, 202.299988, 215, -1, 0, -2.38497613e-08, 0, 1, 0, 2.38497613e-08, 0, -1))

  610. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-73.5, 202.299988, 209, -2.90066708e-07, 0, -1, 0, 1, 0, 1, 0, -2.90066708e-07))

  611. game.ReplicatedStorage.PlaceItem:InvokeServer("Neutron Star", CFrame.new(-43.5, 206.799988, 182, -1, 0, -2.38497613e-08, 0, 1, 0, 2.38497613e-08, 0, -1))

  612. game.ReplicatedStorage.PlaceItem:InvokeServer("The Final Upgrader", CFrame.new(-45, 205.299988, 198.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  613. game.ReplicatedStorage.PlaceItem:InvokeServer("Sakura Garden", CFrame.new(-43.5, 206.799988, 219.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  614. local player = game:GetService'Players'.LocalPlayer

  615. local factorye = player.PlayerTycoon.Value

  616. local Factory = tostring(factorye)

  617. -- if you'd like to change the upgrader this goes through, go ahead and change it below

  618. thing = game.Workspace.Tycoons[Factory]["Neutron Star"].Hitbox

  619. --1200 is the default amount of times this will run, feel free to change it to whatever you want!

  620. for i = 1,1000 do wait(.01)

  621. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do

  622. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)

  623. v.CFrame = p

  624. end

  625. end

  626. end

  627. A()

  628. spawn(function()

  629. while wait(0.1)do

  630. game:GetService'ReplicatedStorage'.RemoteDrop:FireServer()

  631. end

  632. end)

  633. spawn(function()

  634. while wait(1)do

  635. local Ea = game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()

  636. if Ea == true then

  637. wait(3)

  638. A()

  639. end

  640. end

  641. end)

  642. end)

  643. MorningStar.Name = "MorningStar"

  644. MorningStar.Parent = ASetup

  645. MorningStar.BackgroundColor3 = Color3.new(1, 1, 1)

  646. MorningStar.Position = UDim2.new(0.0965346545, 0, 0.25468725, 0)

  647. MorningStar.Size = UDim2.new(0, 148, 0, 37)

  648. MorningStar.Style = Enum.ButtonStyle.RobloxRoundButton

  649. MorningStar.Font = Enum.Font.SourceSans

  650. MorningStar.Text = "Morning Star"

  651. MorningStar.TextSize = 14

  652. MorningStar.MouseButton1Click:connect(function()

  653. local function A()

  654. wait(0.5)

  655. game.ReplicatedStorage.PlaceItem:InvokeServer("Symmetryte Mine", CFrame.new(-97.5, 206.799988, 194, -2.90066708e-07, 0, -1, 0, 1, 0, 1, 0, -2.90066708e-07))

  656. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-97.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  657. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-91.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  658. game.ReplicatedStorage.PlaceItem:InvokeServer("Discord Conveyor", CFrame.new(-85.5, 202.299988, 209, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08))

  659. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-79.5, 202.299988, 209, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  660. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-79.5, 202.299988, 215, 1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07))

  661. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-73.5, 202.299988, 215, -1, 0, -2.38497613e-08, 0, 1, 0, 2.38497613e-08, 0, -1))

  662. game.ReplicatedStorage.PlaceItem:InvokeServer("Basic Conveyor", CFrame.new(-73.5, 202.299988, 209, -2.90066708e-07, 0, -1, 0, 1, 0, 1, 0, -2.90066708e-07))

  663. game.ReplicatedStorage.PlaceItem:InvokeServer("Morning Star", CFrame.new(-43.5, 206.799988, 182, -1, 0, -2.38497613e-08, 0, 1, 0, 2.38497613e-08, 0, -1))

  664. game.ReplicatedStorage.PlaceItem:InvokeServer("The Final Upgrader", CFrame.new(-45, 205.299988, 198.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  665. game.ReplicatedStorage.PlaceItem:InvokeServer("Sakura Garden", CFrame.new(-43.5, 206.799988, 219.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1))

  666. local player = game:GetService'Players'.LocalPlayer

  667. local factorye = player.PlayerTycoon.Value

  668. local Factory = tostring(factorye)

  669. -- if you'd like to change the upgrader this goes through, go ahead and change it below

  670. thing = game.Workspace.Tycoons[Factory]["Morning Star"].Hitbox

  671. --1200 is the default amount of times this will run, feel free to change it to whatever you want!

  672. for i = 1,1000 do wait(.01)

  673. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do

  674. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)

  675. v.CFrame = p

  676. end

  677. end

  678. end

  679. A()

  680. spawn(function()

  681. while wait(0.1)do

  682. game:GetService'ReplicatedStorage'.RemoteDrop:FireServer()

  683. end

  684. end)

  685. spawn(function()

  686. while wait(1)do

  687. local Ea = game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()

  688. if Ea == true then

  689. wait(3)

  690. A()

  691. end

  692. end

  693. end)

  694. end)

  695. TextLabel_3.Parent = ASetup

  696. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)

  697. TextLabel_3.BackgroundTransparency = 1

  698. TextLabel_3.Position = UDim2.new(-0.0247524753, 0, -0.0292887036, 0)

  699. TextLabel_3.Size = UDim2.new(0, 200, 0, 50)

  700. TextLabel_3.Font = Enum.Font.SourceSans

  701. TextLabel_3.Text = "Auto Setup"

  702. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)

  703. TextLabel_3.TextSize = 24

  704. --[[

  705. Morning Star/Neutron Star Quick loop V2a made by LuckyMMB @ v3rmillion. Discord https://discord.gg/GKzJnUC

  706. Thanks to footwears @v3rmillion for the tp loop script which I modified and put in to setups.

  707. SMALL SETUP

  708. You need a Symmetrium or Symmetryte Mine, 1 Nature's Grip furnace and 1 Morning Star. This will make NvD-Vgn

  709. in about 2 minutes and is extremely efficient. The quickest ever method to get an Overlord Device.

  710. MEDIUM SETUP

  711. You need a Symmetrium or Symmetryte Mine, 1 Nature's Grip furnace and 1 Neutron Star. This will make UVg-DVg

  712. in about 2 minutes and is extremely efficient. Use this if you don't have the Big Setup upgraders.

  713. BIG SETUP

  714. You need a Symmetrium or Symmetryte Mine, 1 Nature's Grip furnace, 1 Neutron Star, 1 Tesla Refuter, 3 Quantum

  715. Clockwork, 3 True Overlord Devices, 1 The Final Upgrader, 1 Saturated Catalyst, 1 Catalyst, 2 Quantum Ore Polisher,

  716. 2 Azure Spore and a Sage King Furnace. This will get NVG and takes less than 3 minutes from start to rebirth.

  717. CUSTOM SETUP

  718. This can be used in public, private or solo games as it uses the Layouts feature. Place a good dropper and

  719. a furnace and save it to Layout1 (in Base Settings, Layouts) and place a setup with 1 Morning Star OR 1

  720. Neutron Star at the start and a furnace at the end and save it to Layout2. The setup will place down Layout1

  721. for a few seconds, then buy some basic items (conveyors, pink/blue teleporters and ramps), clear the base

  722. and place Layout2. This means you can use conveyors, teleporters and ramps in Layout2 that you may not have

  723. in your inventory. The ore will then loop through the Star (automatically detected by the script which is why

  724. you can only place 1) and carry on to the furnace. If you just want to use the preset setup then go a Solo

  725. game and start the Big Setup, save it to Layout2 then you can go in any server and Layout2 will load.

  726. You can tweak the setup or make your own its completely up to you.

  727. Sometimes the ore may overload the star and come out early so it doesn't make enough money to rebirth or it may

  728. not re-enable the ore when the setup restarts so the extra items wont buy and it will break the loop. If this

  729. happens click the setup off/on to restart it or the setup will restart automatically after waiting 4 minutes.

  730. You can change the numbers below to fine tune the ore going in (around 50-80 is a good number) and the

  731. number of loops (1000 should be fine but you can take it up to 1200 if you really want to) to get the max

  732. value from your ore.

  733. B key brings all the ore to your location. Good for clearing blockages or just testing a certain upgrader.

  734. N key toggles Ore Gates Open/Closed.

  735. M key Toggles all the mines ON/OFF.

  736. H key Remote Clicks the Lightningbolt Refiner Lightningbolt Predicter and Arcane Lightning Upgraders.

  737. J key toggles Remote Clicking On/OFF.

  738. K key toggles Reversible Conveyors.

  739. ]]

  740. defaultdropper = "symmetrium" -- Mine used. Choose between symmetrium or symmetryte --

  741. oretime = "30" -- Time in seconds ore drops before it starts looping. More time equals more ore --

  742. loopnumber = "1000" -- Number of loops. About 850 is right but you can go higher --

  743. turnminesoff = true -- Turn mines off when ores go to loop. Set to true or false --

  744. smallsetupactive = false

  745. mediumsetupactive = false

  746. bigsetupactive = false

  747. customsetupactive = false

  748. rebirthactive = false

  749. setuptimeactive = false

  750. remoteclickstarted = false

  751. remoteclickactive = false

  752. oregatetoggleactive = false

  753. upgraderclickstarted = false

  754. upgraderclickactive = false

  755. local player = game:GetService'Players'.LocalPlayer

  756. local factorye = player.PlayerTycoon.Value

  757. local Factory = tostring(factorye)

  758. mouse = game.Players.LocalPlayer:GetMouse()

  759. local MainGUI = Instance.new("ScreenGui")

  760. local MainFrame = Instance.new("Frame")

  761. local CloseMH = Instance.new("TextButton")

  762. local Label = Instance.new("TextLabel")

  763. local SmallSetup = Instance.new("TextButton")

  764. local MediumSetup = Instance.new("TextButton")

  765. local BigSetup = Instance.new("TextButton")

  766. local SmallSetupText = Instance.new("TextLabel")

  767. local MediumSetupText = Instance.new("TextLabel")

  768. local BigSetupText = Instance.new("TextLabel")

  769. local CustomSetup = Instance.new("TextButton")

  770. local CustomSetupText = Instance.new("TextLabel")

  771. local LoopFrame = Instance.new("Frame")

  772. local LoopItem = Instance.new("TextBox")

  773. local TPLoopNumber = Instance.new("TextBox")

  774. local LoopButton = Instance.new("TextButton")

  775. local Rebirth = Instance.new("TextButton")

  776. local TPCrates = Instance.new("TextButton")

  777. local CountTpCrates = Instance.new("TextLabel")

  778. MainGUI.Name = "MainGUI"

  779. MainGUI.Parent = game.CoreGui

  780. local MainCORE = game.CoreGui["MainGUI"]

  781. MainFrame.Name = "MainFrame"

  782. MainFrame.Parent = MainGUI

  783. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)

  784. MainFrame.BorderColor3 = Color3.new(0, 0, 0)

  785. MainFrame.Position = UDim2.new(1, -170, 0, 0)

  786. MainFrame.Size = UDim2.new(0, 170, 0, 300)

  787. MainFrame.Selectable = true

  788. MainFrame.Active = true

  789. MainFrame.Draggable = true

  790. CloseMH.Name = "CloseMH"

  791. CloseMH.Parent = MainFrame

  792. CloseMH.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)

  793. CloseMH.BorderColor3 = Color3.new(0, 0, 0)

  794. CloseMH.Position = UDim2.new(0, 10, 0, 8)

  795. CloseMH.Size = UDim2.new(0, 19, 0, 19)

  796. CloseMH.Font = Enum.Font.SourceSans

  797. CloseMH.Text = "X"

  798. CloseMH.TextColor3 = Color3.new(1, 0, 0)

  799. CloseMH.TextScaled = true

  800. CloseMH.TextSize = 17

  801. Label.Name = "Label"

  802. Label.Parent = MainFrame

  803. Label.BackgroundColor3 = Color3.new(1, 1, 1)

  804. Label.BackgroundTransparency = 1

  805. Label.BorderSizePixel = 0

  806. Label.Position = UDim2.new(0, 31, 0, 4)

  807. Label.Size = UDim2.new(0, 130, 0, 24)

  808. Label.Font = Enum.Font.SourceSans

  809. Label.Text = "Star Loop GUI"

  810. Label.TextColor3 = Color3.new(0, 0, 0)

  811. Label.TextSize = 22

  812. SmallSetup.Name = "SmallSetup"

  813. SmallSetup.Parent = MainFrame

  814. SmallSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  815. SmallSetup.Position = UDim2.new(0, 10, 0, 35)

  816. SmallSetup.Size = UDim2.new(0, 150, 0, 25)

  817. SmallSetup.Font = Enum.Font.SourceSans

  818. SmallSetup.Text = "SMALL SETUP: OFF\nMorning Star"

  819. SmallSetup.TextColor3 = Color3.new(0, 0, 0)

  820. SmallSetup.TextSize = 18

  821. SmallSetup.TextWrapped = true

  822. SmallSetupText.Name = "SmallSetupText"

  823. SmallSetupText.Parent = MainFrame

  824. SmallSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)

  825. SmallSetupText.Position = UDim2.new(0, 10, 0, 70)

  826. SmallSetupText.Size = UDim2.new(0, 150, 0, 60)

  827. SmallSetupText.Font = Enum.Font.SourceSans

  828. SmallSetupText.Text = "Need Symmetrium Mine and a Morning Star. Everything is Automatic."

  829. SmallSetupText.TextColor3 = Color3.new(1, 1, 1)

  830. SmallSetupText.TextSize = 16

  831. SmallSetupText.ZIndex = 6

  832. SmallSetupText.Visible = false

  833. SmallSetupText.TextWrapped = true

  834. MediumSetup.Name = "MediumSetup"

  835. MediumSetup.Parent = MainFrame

  836. MediumSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  837. MediumSetup.Position = UDim2.new(0, 10, 0, 70)

  838. MediumSetup.Size = UDim2.new(0, 150, 0, 25)

  839. MediumSetup.Font = Enum.Font.SourceSans

  840. MediumSetup.Text = "MEDIUM SETUP: OFF"

  841. MediumSetup.TextColor3 = Color3.new(0, 0, 0)

  842. MediumSetup.TextSize = 18

  843. MediumSetup.TextWrapped = true

  844. MediumSetupText.Name = "MediumSetupText"

  845. MediumSetupText.Parent = MainFrame

  846. MediumSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)

  847. MediumSetupText.Position = UDim2.new(0, 10, 0, 105)

  848. MediumSetupText.Size = UDim2.new(0, 150, 0, 60)

  849. MediumSetupText.Font = Enum.Font.SourceSans

  850. MediumSetupText.Text = "Need Symmetrium Mine and a Neutron Star. Everything is Automatic."

  851. MediumSetupText.TextColor3 = Color3.new(1, 1, 1)

  852. MediumSetupText.TextSize = 16

  853. MediumSetupText.ZIndex = 6

  854. MediumSetupText.Visible = false

  855. MediumSetupText.TextWrapped = true

  856. BigSetup.Name = "BigSetup"

  857. BigSetup.Parent = MainFrame

  858. BigSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  859. BigSetup.Position = UDim2.new(0, 10, 0, 105)

  860. BigSetup.Size = UDim2.new(0, 150, 0, 25)

  861. BigSetup.Font = Enum.Font.SourceSans

  862. BigSetup.Text = "BIG SETUP: OFF"

  863. BigSetup.TextColor3 = Color3.new(0, 0, 0)

  864. BigSetup.TextSize = 18

  865. BigSetup.TextWrapped = true

  866. BigSetupText.Name = "BigSetupText"

  867. BigSetupText.Parent = MainFrame

  868. BigSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)

  869. BigSetupText.Position = UDim2.new(0, 10, 0, 35)

  870. BigSetupText.Size = UDim2.new(0, 150, 0, 60)

  871. BigSetupText.Font = Enum.Font.SourceSans

  872. BigSetupText.Text = "Need Symmetrium Mine Neutron Star and Reborn Items. Fully Automatic."

  873. BigSetupText.TextColor3 = Color3.new(1, 1, 1)

  874. BigSetupText.TextSize = 16

  875. BigSetupText.ZIndex = 6

  876. BigSetupText.Visible = false

  877. BigSetupText.TextWrapped = true

  878. CustomSetup.Name = "CustomSetup"

  879. CustomSetup.Parent = MainFrame

  880. CustomSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  881. CustomSetup.Position = UDim2.new(0, 10, 0, 140)

  882. CustomSetup.Size = UDim2.new(0, 150, 0, 25)

  883. CustomSetup.Font = Enum.Font.SourceSans

  884. CustomSetup.Text = "CUSTOM SETUP: OFF"

  885. CustomSetup.TextColor3 = Color3.new(0, 0, 0)

  886. CustomSetup.TextSize = 18

  887. CustomSetup.TextWrapped = true

  888. CustomSetupText.Name = "CustomSetupText"

  889. CustomSetupText.Parent = MainFrame

  890. CustomSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)

  891. CustomSetupText.Position = UDim2.new(0, 10, 0, 35)

  892. CustomSetupText.Size = UDim2.new(0, 150, 0, 95)

  893. CustomSetupText.Font = Enum.Font.SourceSans

  894. CustomSetupText.Text = "Save a good dropper and furnace to Layout1 and a setup with 1 Neutron Star OR 1 Morning Star to Layout2"

  895. CustomSetupText.TextColor3 = Color3.new(1, 1, 1)

  896. CustomSetupText.TextSize = 16

  897. CustomSetupText.ZIndex = 6

  898. CustomSetupText.Visible = false

  899. CustomSetupText.TextWrapped = true

  900. LoopFrame.Name = "LoopFrame"

  901. LoopFrame.Parent = MainFrame

  902. LoopFrame.BackgroundColor3 = Color3.new(0.3, 0.3, 0.9)

  903. LoopFrame.BorderColor3 = Color3.new(0, 0, 0)

  904. LoopFrame.Position = UDim2.new(0, 0, 0, 170)

  905. LoopFrame.Size = UDim2.new(0, 170, 0, 55)

  906. LoopItem.Name = "LoopItem"

  907. LoopItem.Parent = MainFrame

  908. LoopItem.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)

  909. LoopItem.Position = UDim2.new(0, 10, 0, 175)

  910. LoopItem.Size = UDim2.new(0, 150, 0, 20)

  911. LoopItem.Font = Enum.Font.SourceSans

  912. LoopItem.Text = "TYPE LOOP ITEM"

  913. LoopItem.TextColor3 = Color3.new(0, 0, 0)

  914. LoopItem.TextSize = 18

  915. LoopItem.TextWrapped = true

  916. LoopItem.ZIndex = 7

  917. TPLoopNumber.Name = "TPLoopNumber"

  918. TPLoopNumber.Parent = MainFrame

  919. TPLoopNumber.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)

  920. TPLoopNumber.Position = UDim2.new(0, 10, 0, 200)

  921. TPLoopNumber.Size = UDim2.new(0, 50, 0, 20)

  922. TPLoopNumber.Font = Enum.Font.SourceSans

  923. TPLoopNumber.Text = "1000"

  924. TPLoopNumber.TextColor3 = Color3.new(0, 0, 0)

  925. TPLoopNumber.TextSize = 18

  926. TPLoopNumber.TextWrapped = true

  927. TPLoopNumber.ZIndex = 7

  928. LoopButton.Name = "LoopButton"

  929. LoopButton.Parent = MainFrame

  930. LoopButton.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)

  931. LoopButton.Position = UDim2.new(0, 65, 0, 200)

  932. LoopButton.Size = UDim2.new(0, 95, 0, 20)

  933. LoopButton.Font = Enum.Font.SourceSans

  934. LoopButton.Text = "LOOP"

  935. LoopButton.TextColor3 = Color3.new(0, 0, 0)

  936. LoopButton.TextSize = 18

  937. LoopButton.TextWrapped = true

  938. LoopButton.ZIndex = 7

  939. Rebirth.Name = "Rebirth"

  940. Rebirth.Parent = MainFrame

  941. Rebirth.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  942. Rebirth.Position = UDim2.new(0, 10, 0, 230)

  943. Rebirth.Size = UDim2.new(0, 150, 0, 25)

  944. Rebirth.Font = Enum.Font.SourceSans

  945. Rebirth.Text = "AUTO REBIRTH: OFF"

  946. Rebirth.TextColor3 = Color3.new(0, 0, 0)

  947. Rebirth.TextSize = 18

  948. Rebirth.TextWrapped = true

  949. TPCrates.Name = "TPCrates"

  950. TPCrates.Parent = MainFrame

  951. TPCrates.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  952. TPCrates.Position = UDim2.new(0, 10, 0, 265)

  953. TPCrates.Size = UDim2.new(0, 130, 0, 25)

  954. TPCrates.Font = Enum.Font.SourceSans

  955. TPCrates.Text = "TP TO CRATES: OFF"

  956. TPCrates.TextColor3 = Color3.new(0, 0, 0)

  957. TPCrates.TextSize = 18

  958. TPCrates.TextWrapped = true

  959. CountTpCrates.Name = "CountTpCrates"

  960. CountTpCrates.Parent = MainFrame

  961. CountTpCrates.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)

  962. CountTpCrates.Position = UDim2.new(0, 140, 0, 265)

  963. CountTpCrates.Size = UDim2.new(0, 20, 0, 25)

  964. CountTpCrates.Font = Enum.Font.SourceSans

  965. CountTpCrates.Text = "0"

  966. CountTpCrates.TextColor3 = Color3.new(0, 0, 0)

  967. CountTpCrates.TextSize = 18

  968. CountTpCrates.TextWrapped = true

  969. game.Lighting.Changed:connect(function()

  970. game.Lighting.TimeOfDay = "12:00:00"

  971. game.Lighting.FogEnd = 9999

  972. game.Lighting.Brightness = 1

  973. game.Lighting.ColorCorrection.Brightness = 0

  974. game.Lighting.ColorCorrection.Saturation = 0

  975. game.Lighting.Bloom.Intensity = 0

  976. end)

  977. local function addtptool()

  978. local Tele = Instance.new("Tool", game.Players.LocalPlayer.Backpack)

  979. Tele.RequiresHandle = false

  980. Tele.RobloxLocked = true

  981. Tele.Name = "TP Tool"

  982. Tele.ToolTip = "Teleport Tool"

  983. Tele.Equipped:connect(function(Mouse)

  984. Mouse.Button1Down:connect(function()

  985. if Mouse.Target then

  986. game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame = (CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z))

  987. end

  988. end)

  989. end)

  990. end

  991. addtptool()

  992. function notify(msg)

  993. game.StarterGui:SetCore('SendNotification', {

  994. Title = 'Miner\'s Haven';

  995. Text = msg;

  996. Duration = 5;

  997. })

  998. end

  999. CloseMH.MouseButton1Down:connect(function()

  1000. MainGUI:Destroy()

  1001. end)

  1002. SmallSetup.MouseEnter:connect(function()

  1003. SmallSetupText.Visible = true

  1004. end)

  1005. SmallSetup.MouseLeave:connect(function()

  1006. SmallSetupText.Visible = false

  1007. end)

  1008. MediumSetup.MouseEnter:connect(function()

  1009. MediumSetupText.Visible = true

  1010. end)

  1011. MediumSetup.MouseLeave:connect(function()

  1012. MediumSetupText.Visible = false

  1013. end)

  1014. BigSetup.MouseEnter:connect(function()

  1015. BigSetupText.Visible = true

  1016. end)

  1017. BigSetup.MouseLeave:connect(function()

  1018. BigSetupText.Visible = false

  1019. end)

  1020. CustomSetup.MouseEnter:connect(function()

  1021. CustomSetupText.Visible = true

  1022. end)

  1023. CustomSetup.MouseLeave:connect(function()

  1024. CustomSetupText.Visible = false

  1025. end)

  1026. spawn (function()

  1027. while true do

  1028. wait(0.1)

  1029. if tpcratesactive == true then

  1030. local player = game:GetService'Players'.LocalPlayer

  1031. local children = game.Workspace:GetChildren()

  1032. for i =1, #children do

  1033. wait(0.1)

  1034. if children[i] ~= nil then

  1035. for x in string.gmatch(children[i].Name, "Crate") do

  1036. if children[i].Parent then

  1037. if children[i].Name ~= "GiftCrate" then

  1038. player.Character:MoveTo(children[i].Position)

  1039. wait(1)

  1040. end

  1041. end

  1042. end

  1043. end

  1044. end

  1045. local children = game.Workspace.Shadows:GetChildren()

  1046. for i =1, #children do

  1047. wait(0.1)

  1048. if children[i] ~= nil then

  1049. for x in string.gmatch(children[i].Name, "Crate") do

  1050. if children[i].Parent then

  1051. player.Character:MoveTo(children[i].Position)

  1052. wait(1)

  1053. end

  1054. end

  1055. end

  1056. end

  1057. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)

  1058. end

  1059. end

  1060. end)

  1061. TPCrates.MouseButton1Down:connect(function()

  1062. if tpcratesstarted == true then

  1063. tpcratesstarted = false

  1064. tpcratesactive = false

  1065. TPCrates.Text = "TP TO CRATES: OFF"

  1066. TPCrates.TextColor3 = Color3.new(0, 0, 0)

  1067. else

  1068. tpcratesstarted = true

  1069. tpcratesactive = true

  1070. TPCrates.Text = "TP TO CRATES: ON"

  1071. TPCrates.TextColor3 = Color3.new(1, 0, 0)

  1072. LocationX = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x

  1073. LocationY = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y

  1074. LocationZ = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z

  1075. end

  1076. end)

  1077. SmallSetup.MouseButton1Down:connect(function()

  1078. if smallsetupactive ~= true then

  1079. smallsetupactive = true

  1080. rebirthactive = true

  1081. bigsetupactive = false

  1082. layoutempty = false

  1083. SmallSetup.Text = "SMALL SETUP: ON"

  1084. mediumsetupactive = false

  1085. MediumSetup.Text = "MEDIUM SETUP: OFF"

  1086. MediumSetup.TextColor3 = Color3.new(0, 0, 0)

  1087. BigSetup.Text = "BIG SETUP: OFF"

  1088. SmallSetup.TextColor3 = Color3.new(1, 0, 0)

  1089. BigSetup.TextColor3 = Color3.new(0, 0, 0)

  1090. customsetupactive = false

  1091. setupinuse = false

  1092. CustomSetup.Text = "CUSTOM SETUP: OFF"

  1093. CustomSetup.TextColor3 = Color3.new(0, 0, 0)

  1094. Rebirth.Text = "AUTO REBIRTH: ON"

  1095. Rebirth.TextColor3 = Color3.new(1, 0, 0)

  1096. print("Morning Star Loop (SMALL) setup started on " ..Factory.. ", sit back and relax")

  1097. loopsetupstart()

  1098. else

  1099. smallsetupactive = false

  1100. rebirthactive = false

  1101. setuptimeactive = false

  1102. SmallSetup.Text = "SMALL SETUP: OFF"

  1103. SmallSetup.TextColor3 = Color3.new(0, 0, 0)

  1104. Rebirth.Text = "AUTO REBIRTH: OFF"

  1105. Rebirth.TextColor3 = Color3.new(0, 0, 0)

  1106. end

  1107. end)

  1108. MediumSetup.MouseButton1Down:connect(function()

  1109. if mediumsetupactive ~= true then

  1110. mediumsetupactive = true

  1111. rebirthactive = true

  1112. smallsetupactive = false

  1113. bigsetupactive = false

  1114. layoutempty = false

  1115. mediumsetupactive = true

  1116. setupinuse = false

  1117. MediumSetup.Text = "MEDIUM SETUP: ON"

  1118. MediumSetup.TextColor3 = Color3.new(1, 0, 0)

  1119. SmallSetup.Text = "SMALL SETUP: OFF"

  1120. BigSetup.Text = "BIG SETUP: OFF"

  1121. SmallSetup.TextColor3 = Color3.new(0, 0, 0)

  1122. customsetupactive = false

  1123. CustomSetup.Text = "CUSTOM SETUP: OFF"

  1124. CustomSetup.TextColor3 = Color3.new(0, 0, 0)

  1125. BigSetup.TextColor3 = Color3.new(0, 0, 0)

  1126. Rebirth.Text = "AUTO REBIRTH: ON"

  1127. Rebirth.TextColor3 = Color3.new(1, 0, 0)

  1128. print("Neutron Star Loop (MEDIUM) setup started on " ..Factory.. ", sit back and relax")

  1129. loopsetupstart()

  1130. else

  1131. mediumsetupactive = false

  1132. rebirthactive = false

  1133. setuptimeactive = false

  1134. MediumSetup.Text = "MEDIUM SETUP: OFF"

  1135. MediumSetup.TextColor3 = Color3.new(0, 0, 0)

  1136. Rebirth.Text = "AUTO REBIRTH: OFF"

  1137. Rebirth.TextColor3 = Color3.new(0, 0, 0)

  1138. end

  1139. end)

  1140. BigSetup.MouseButton1Down:connect(function()

  1141. if bigsetupactive ~= true then

  1142. bigsetupactive = true

  1143. rebirthactive = true

  1144. smallsetupactive = false

  1145. layoutempty = false

  1146. mediumsetupactive = false

  1147. setupinuse = false

  1148. MediumSetup.Text = "MEDIUM SETUP: OFF"

  1149. MediumSetup.TextColor3 = Color3.new(0, 0, 0)

  1150. SmallSetup.Text = "SMALL SETUP: OFF"

  1151. BigSetup.Text = "BIG SETUP: ON"

  1152. SmallSetup.TextColor3 = Color3.new(0, 0, 0)

  1153. BigSetup.TextColor3 = Color3.new(1, 0, 0)

  1154. customsetupactive = false

  1155. CustomSetup.Text = "CUSTOM SETUP: OFF"

  1156. CustomSetup.TextColor3 = Color3.new(0, 0, 0)

  1157. Rebirth.Text = "AUTO REBIRTH: ON"

  1158. Rebirth.TextColor3 = Color3.new(1, 0, 0)

  1159. print("Neutron Star Loop {BIG) setup started on " ..Factory.. ", sit back and relax")

  1160. loopsetupstart()

  1161. else

  1162. bigsetupactive = false

  1163. rebirthactive = false

  1164. setuptimeactive = false

  1165. BigSetup.Text = "BIG SETUP: OFF"

  1166. BigSetup.TextColor3 = Color3.new(0, 0, 0)

  1167. Rebirth.Text = "AUTO REBIRTH: OFF"

  1168. Rebirth.TextColor3 = Color3.new(0, 0, 0)

  1169. end

  1170. end)

  1171. CustomSetup.MouseButton1Down:connect(function()

  1172. if customsetupactive ~= true then

  1173. customsetupactive = true

  1174. rebirthactive = true

  1175. smallsetupactive = false

  1176. layoutempty = false

  1177. CustomSetup.Text = "CUSTOM SETUP: ON"

  1178. CustomSetup.TextColor3 = Color3.new(1, 0, 0)

  1179. mediumsetupactive = false

  1180. setupinuse = false

  1181. MediumSetup.Text = "MEDIUM SETUP: OFF"

  1182. MediumSetup.TextColor3 = Color3.new(0, 0, 0)

  1183. SmallSetup.Text = "SMALL SETUP: OFF"

  1184. BigSetup.Text = "BIG SETUP: OFF"

  1185. SmallSetup.TextColor3 = Color3.new(0, 0, 0)

  1186. BigSetup.TextColor3 = Color3.new(0, 0, 0)

  1187. Rebirth.Text = "AUTO REBIRTH: ON"

  1188. Rebirth.TextColor3 = Color3.new(1, 0, 0)

  1189. print("Custom setup started using Layouts1/2 on " ..Factory.. ", sit back and relax")

  1190. loopsetupstart()

  1191. else

  1192. customsetupactive = false

  1193. CustomSetup.Text = "CUSTOM SETUP: OFF"

  1194. CustomSetup.TextColor3 = Color3.new(0, 0, 0)

  1195. rebirthactive = false

  1196. setuptimeactive = false

  1197. Rebirth.Text = "AUTO REBIRTH: OFF"

  1198. Rebirth.TextColor3 = Color3.new(0, 0, 0)

  1199. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0.5

  1200. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = true

  1201. end

  1202. end)

  1203. Rebirth.MouseButton1Down:connect(function()

  1204. if rebirthactive ~= true then

  1205. rebirthactive = true

  1206. Rebirth.Text = "AUTO REBIRTH: ON"

  1207. Rebirth.TextColor3 = Color3.new(1, 0, 0)

  1208. else

  1209. rebirthactive = false

  1210. Rebirth.Text = "AUTO REBIRTH: OFF"

  1211. Rebirth.TextColor3 = Color3.new(0, 0, 0)

  1212. end

  1213. end)

  1214. spawn(function()

  1215. while true do

  1216. wait(0.01)

  1217. if remoteclickactive == true then

  1218. while remoteclickactive == true do

  1219. game:GetService("ReplicatedStorage").RemoteDrop:FireServer()

  1220. wait(0.2)

  1221. end

  1222. end

  1223. end

  1224. end)

  1225. spawn(function()

  1226. while true do

  1227. wait(0.01)

  1228. if pulseclickactive == true then

  1229. while pulseclickactive == true do

  1230. game:GetService("ReplicatedStorage").Pulse:FireServer()

  1231. wait(0.2)

  1232. end

  1233. end

  1234. end

  1235. end)

  1236. spawn(function()

  1237. while true do

  1238. wait(0.25)

  1239. if upgraderclickactive == true then

  1240. while upgraderclickactive == true do

  1241. local ClickEvent = game:GetService("ReplicatedStorage"):WaitForChild('Click');

  1242. local CheckFactory = function()

  1243. for i,v in pairs(workspace.Tycoons:GetChildren()) do

  1244. if v:FindFirstChild('Owner') then

  1245. if v.Owner.Value == game.Players.LocalPlayer.Name then

  1246. return v

  1247. end

  1248. end

  1249. end

  1250. end

  1251. local Factory = tostring(CheckFactory())

  1252. local basepart = workspace.Tycoons[Factory]:GetChildren()

  1253. for i,v in pairs(basepart) do

  1254. if v.Name ~= "Ore Gate" then

  1255. if v.Name ~= "Reversible Conveyor" then

  1256. for _,desc in pairs(v:GetDescendants()) do

  1257. if desc:IsA("ClickDetector") then

  1258. if desc.Parent:IsA('Part') then

  1259. ClickEvent:FireServer(desc.Parent)

  1260. end

  1261. end

  1262. end

  1263. end

  1264. end

  1265. end

  1266. wait(0.2)

  1267. end

  1268. end

  1269. end

  1270. end)

  1271. spawn(function()

  1272. while true do

  1273. wait(0.01)

  1274. if customsetupactive == true then setuptimeout = "600" else setuptimeout = "300" end

  1275. if rebirthactive == true then

  1276. rebirthcashvalue = game.Players.LocalPlayer.leaderstats.Cash.Value

  1277. rebirthcashvalue1 = tostring(rebirthcashvalue)

  1278. game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()

  1279. wait(5)

  1280. if bigsetupactive == true or customsetupactive == true then wait(5) end

  1281. rebirthilfe = game.Players.LocalPlayer.leaderstats.Life.Value

  1282. rebirthilfe = tostring(rebirthilfe)

  1283. factoryitems = workspace.Tycoons[tostring(game.Players.LocalPlayer.PlayerTycoon.Value)]:GetChildren()

  1284. for i =1, #factoryitems do

  1285. if factoryitems[i].ClassName == "Model" then

  1286. layoutempty = false

  1287. break

  1288. end

  1289. layoutempty = true

  1290. end

  1291. --if layoutempty == true then print("base empty") else print("base not empty") end--

  1292. if layoutempty == true then

  1293. if game.Players.LocalPlayer.MinesActivated.Value ~= true then

  1294. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()

  1295. -- print("Turning mines back ON") --

  1296. end

  1297. if smallsetupactive == true or mediumsetupactive == true or bigsetupactive == true or customsetupactive == true then

  1298. if setupinuse == true then

  1299. print("ReBirthed to ".. rebirthilfe .. " Life at ".. rebirthcashvalue1)

  1300. wait(0.5)

  1301. loopsetupstart()

  1302. end

  1303. end

  1304. end

  1305. if setuptimeactive == true then

  1306. if smallsetupactive == true or mediumsetupactive == true then

  1307. setuptime = setuptime + 5

  1308. end

  1309. if bigsetupactive == true or customsetupactive == true then

  1310. setuptime = setuptime + 10

  1311. end

  1312. if tonumber(setuptime) >= tonumber(setuptimeout) then

  1313. print("Something went wrong with Setup or Ore. Restarting..")

  1314. if smallsetupactive == true then

  1315. smallsetupactive = false

  1316. wait(1)

  1317. smallsetupactive = true

  1318. loopsetupstart()

  1319. end

  1320. if mediumsetupactive == true then

  1321. mediumsetupactive = false

  1322. wait(1)

  1323. mediumsetupactive = true

  1324. loopsetupstart()

  1325. end

  1326. if bigsetupactive == true then

  1327. bigsetupactive = false

  1328. wait(1)

  1329. bigsetupactive = true

  1330. loopsetupstart()

  1331. end

  1332. if customsetupactive == true then

  1333. customsetupactive = false

  1334. wait(1)

  1335. customsetupactive = true

  1336. loopsetupstart()

  1337. end

  1338. end

  1339. end

  1340. end

  1341. end

  1342. end)

  1343. function loopsetupstart()

  1344. setupinuse = false

  1345. remoteclickactive = false

  1346. upgraderclickactive = false

  1347. setuptimeactive = true

  1348. setuptime = 0

  1349. if game.Players.LocalPlayer.MinesActivated.Value ~= true then

  1350. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()

  1351. -- print("Turning mines back ON") --

  1352. end

  1353. if layoutempty ~= true then

  1354. game:GetService("ReplicatedStorage").DestroyAll:InvokeServer()

  1355. wait(2)

  1356. end

  1357. setupinuse = true

  1358. if tpcratesstarted == true then

  1359. tpcratesactive = false

  1360. wait(2)

  1361. end

  1362. if customsetupactive == true then

  1363. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = false

  1364. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0

  1365. game:GetService("ReplicatedStorage").Layouts:InvokeServer("Load", "Layout1")

  1366. else

  1367. if defaultdropper == "symmetrium" then

  1368. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1369. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1370. local A_1 = CFrame.new(-15, 6.5, 67.4999847, 0.000140138043, 1.86660731e-09, 1, -4.3159529e-05, 1, 4.18168433e-09, -1, -4.3159529e-05, 0.000140138043) + Tycoon:FindFirstChild("Base").Position

  1371. Event:InvokeServer("Symmetrium Mine", A_1)

  1372. layoutempty = false

  1373. local A_1 = CFrame.new(-18, 5, 53.9999847, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1374. Event:InvokeServer("Nature's Grip", A_1)

  1375. end

  1376. if defaultdropper == "symmetryte" then

  1377. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1378. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1379. local A_1 = CFrame.new(-15, 6.5, 69, 5.34659193e-05, 9.31346444e-10, 1, -4.31585977e-05, 1, 1.37616774e-09, -1, -4.31585977e-05, 5.34659193e-05) + Tycoon:FindFirstChild("Base").Position

  1380. Event:InvokeServer("Symmetryte Mine", A_1)

  1381. layoutempty = false

  1382. local A_1 = CFrame.new(-18, 5, 50.9999847, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1383. Event:InvokeServer("Nature's Grip", A_1)

  1384. end

  1385. end

  1386. if tpcratesstarted == true then

  1387. tpcratesactive = true

  1388. end

  1389. wait(4)

  1390. game.ReplicatedStorage.BuyItem:InvokeServer('Basic Conveyor', 99)

  1391. wait(0.5)

  1392. game.ReplicatedStorage.BuyItem:InvokeServer('Raised Shielded Conveyor', 99)

  1393. wait(0.5)

  1394. game.ReplicatedStorage.BuyItem:InvokeServer('Centering Conveyor', 40)

  1395. wait(0.5)

  1396. game.ReplicatedStorage.BuyItem:InvokeServer('Conveyor Wall', 40)

  1397. wait(0.5)

  1398. game.ReplicatedStorage.BuyItem:InvokeServer('Military-Grade Conveyor', 90)

  1399. wait(0.5)

  1400. game.ReplicatedStorage.BuyItem:InvokeServer('Pink Teleporter (Receiver)', 1)

  1401. wait(0.5)

  1402. game.ReplicatedStorage.BuyItem:InvokeServer('Pink Teleporter (Sender)', 4)

  1403. wait(0.5)

  1404. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Replicator', 2)

  1405. wait(0.5)

  1406. game.ReplicatedStorage.BuyItem:InvokeServer('Shrine of Penitence', 1)

  1407. wait(0.5)

  1408. if customsetupactive == true then

  1409. game.ReplicatedStorage.BuyItem:InvokeServer('Raised Mini Conveyor', 99)

  1410. wait(0.5)

  1411. game.ReplicatedStorage.BuyItem:InvokeServer('Conveyor Converter', 10)

  1412. wait(0.5)

  1413. game.ReplicatedStorage.BuyItem:InvokeServer('Basic Conveyor', 99)

  1414. wait(0.5)

  1415. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Teleporter (Receiver)', 1)

  1416. wait(0.5)

  1417. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Teleporter (Sender)', 4)

  1418. wait(0.5)

  1419. game.ReplicatedStorage.BuyItem:InvokeServer('Raised Mini Conveyor', 99)

  1420. wait(0.5)

  1421. game.ReplicatedStorage.BuyItem:InvokeServer('Walled Conveyor', 99)

  1422. wait(0.5)

  1423. game.ReplicatedStorage.BuyItem:InvokeServer('Raised-ier Conveyor', 99)

  1424. wait(0.5)

  1425. game.ReplicatedStorage.BuyItem:InvokeServer('Steel Wall', 20)

  1426. wait(0.5)

  1427. game.ReplicatedStorage.BuyItem:InvokeServer('Metal Wall Segment', 30)

  1428. wait(0.5)

  1429. game.ReplicatedStorage.BuyItem:InvokeServer('Slanted Wall', 20)

  1430. wait(0.5)

  1431. game.ReplicatedStorage.BuyItem:InvokeServer('Controlled Gate', 99)

  1432. wait(0.5)

  1433. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Cannon', 2)

  1434. wait(0.5)

  1435. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Pulsar', 1)

  1436. wait(0.5)

  1437. game.ReplicatedStorage.BuyItem:InvokeServer('Satellite Beam', 1)

  1438. wait(0.5)

  1439. game.ReplicatedStorage.BuyItem:InvokeServer('Spectral Upgrader', 3)

  1440. wait(0.5)

  1441. game.ReplicatedStorage.BuyItem:InvokeServer('Flaming Ore Scanner', 3)

  1442. wait(0.5)

  1443. game.ReplicatedStorage.BuyItem:InvokeServer('Endpoint Refiner', 1)

  1444. wait(0.5)

  1445. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Elevator', 3)

  1446. wait(0.5)

  1447. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Hoister', 3)

  1448. wait(0.5)

  1449. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Winder', 3)

  1450. wait(0.5)

  1451. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Steamer', 4)

  1452. wait(0.5)

  1453. game.ReplicatedStorage.BuyItem:InvokeServer('Portable Ore Advancer', 30)

  1454. wait(0.5)

  1455. game.ReplicatedStorage.BuyItem:InvokeServer('Portable Ore Stopper', 30)

  1456. wait(0.5)

  1457. game.ReplicatedStorage.BuyItem:InvokeServer('Industrial Ore Welder', 4)

  1458. wait(0.5)

  1459. game.ReplicatedStorage.BuyItem:InvokeServer('Nuclear Conveyor', 20)

  1460. wait(0.5)

  1461. game.ReplicatedStorage.BuyItem:InvokeServer('Freon-Blast Upgrader', 2)

  1462. wait(0.5)

  1463. game.ReplicatedStorage.BuyItem:InvokeServer('Plasma Conveyor', 30)

  1464. wait(0.5)

  1465. game.ReplicatedStorage.BuyItem:InvokeServer('Tiny Conveyor', 40)

  1466. wait(0.5)

  1467. game.ReplicatedStorage.BuyItem:InvokeServer('Ladder', 99)

  1468. wait(0.5)

  1469. game.ReplicatedStorage.BuyItem:InvokeServer('Advanced Ore Scanner', 3)

  1470. wait(0.5)

  1471. game.ReplicatedStorage.BuyItem:InvokeServer('Heat Condenser', 4)

  1472. wait(0.5)

  1473. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Roaster', 3)

  1474. wait(0.5)

  1475. game.ReplicatedStorage.BuyItem:InvokeServer('Overhang Upgrader', 3)

  1476. wait(0.5)

  1477. game.ReplicatedStorage.BuyItem:InvokeServer('Overhang Upgrader', 3)

  1478. wait(0.5)

  1479. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Zapper', 3)

  1480. wait(0.5)

  1481. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Collider', 2)

  1482. wait(0.5)

  1483. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Illuminator', 1)

  1484. wait(0.5)

  1485. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Gate', 4)

  1486. wait(0.5)

  1487. game.ReplicatedStorage.BuyItem:InvokeServer('Large Conveyor Ramp', 15)

  1488. wait(0.5)

  1489. game.ReplicatedStorage.BuyItem:InvokeServer('Conveyor Ramp', 99)

  1490. wait(0.5)

  1491. game.ReplicatedStorage.BuyItem:InvokeServer('Fine-Point Upgrader', 4)

  1492. wait(0.5)

  1493. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Recliner', 5)

  1494. wait(0.5)

  1495. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Zapper', 4)

  1496. wait(0.5)

  1497. game.ReplicatedStorage.BuyItem:InvokeServer('Portable Ore Stopper', 30)

  1498. wait(0.5)

  1499. game.ReplicatedStorage.BuyItem:InvokeServer('Orbitable Upgrader', 3)

  1500. wait(0.5)

  1501. game.ReplicatedStorage.BuyItem:InvokeServer('Coal Mine', 15)

  1502. wait(0.5)

  1503. game.ReplicatedStorage.BuyItem:InvokeServer('Plasma Iron Polisher', 3)

  1504. wait(0.5)

  1505. game.ReplicatedStorage.BuyItem:InvokeServer('Ion Field', 1)

  1506. wait(0.5)

  1507. game.ReplicatedStorage.BuyItem:InvokeServer('Way-Up-High Upgrader', 3)

  1508. wait(0.5)

  1509. game.ReplicatedStorage.BuyItem:InvokeServer('Precision Refiner', 1)

  1510. wait(0.5)

  1511. game.ReplicatedStorage.BuyItem:InvokeServer('Drone Upgrader', 2)

  1512. wait(0.5)

  1513. game.ReplicatedStorage.BuyItem:InvokeServer('Flaming Ore Scanner', 2)

  1514. wait(0.5)

  1515. game.ReplicatedStorage.BuyItem:InvokeServer('Half Conveyor', 6)

  1516. wait(0.5)

  1517. end

  1518. wait(4)

  1519. loopsetupstart2()

  1520. end

  1521. function loopsetupstart2()

  1522. setupinuse = false

  1523. if smallsetupactive == true or mediumsetupactive == true or bigsetupactive == true or customsetupactive == true then

  1524. game:GetService("ReplicatedStorage").DestroyAll:InvokeServer()

  1525. wait(2)

  1526. if game.Players.LocalPlayer.MinesActivated.Value ~= true then

  1527. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()

  1528. -- print("Turning mines back ON") --

  1529. end

  1530. if tpcratesstarted == true then

  1531. tpcratesactive = false

  1532. wait(2)

  1533. end

  1534. if customsetupactive == true then

  1535. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = false

  1536. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0

  1537. game:GetService("ReplicatedStorage").Layouts:InvokeServer("Load", "Layout2")

  1538. starloopend()

  1539. else

  1540. if defaultdropper == "symmetrium" then

  1541. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1542. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1543. local A_1 = CFrame.new(78, 6.5, 76.5, 0.000140138043, 1.86660731e-09, 1, -4.3159529e-05, 1, 4.18168433e-09, -1, -4.3159529e-05, 0.000140138043) + Tycoon:FindFirstChild("Base").Position

  1544. Event:InvokeServer("Symmetrium Mine", A_1)

  1545. local A_1 = CFrame.new(66, 6.5, 76.5, 0.000140138043, 1.86660731e-09, 1, -4.3159529e-05, 1, 4.18168433e-09, -1, -4.3159529e-05, 0.000140138043) + Tycoon:FindFirstChild("Base").Position

  1546. Event:InvokeServer("Symmetrium Mine", A_1)

  1547. local A_1 = CFrame.new(79.5, 5, 55.5, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1548. Event:InvokeServer("Ore Replicator", A_1)

  1549. local A_1 = CFrame.new(67.5, 5, 55.5, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1550. Event:InvokeServer("Ore Replicator", A_1)

  1551. local A_1 = CFrame.new(81, 2, 61.5, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1552. Event:InvokeServer("Raised Shielded Conveyor", A_1)

  1553. local A_1 = CFrame.new(75, 2, 61.5, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1554. Event:InvokeServer("Raised Shielded Conveyor", A_1)

  1555. local A_1 = CFrame.new(69, 2, 61.5, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1556. Event:InvokeServer("Raised Shielded Conveyor", A_1)

  1557. local A_1 = CFrame.new(63, 2, 61.5, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1558. Event:InvokeServer("Raised Shielded Conveyor", A_1)

  1559. local A_1 = CFrame.new(57, 2, 60, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1560. Event:InvokeServer("Basic Conveyor", A_1)

  1561. local A_1 = CFrame.new(51, 2, 60, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1562. Event:InvokeServer("Basic Conveyor", A_1)

  1563. local A_1 = CFrame.new(51, 2, 66, 0.000140138043, 1.86660731e-09, 1, -4.3159529e-05, 1, 4.18168433e-09, -1, -4.3159529e-05, 0.000140138043) + Tycoon:FindFirstChild("Base").Position

  1564. Event:InvokeServer("Basic Conveyor", A_1)

  1565. local A_1 = CFrame.new(57, 2, 66, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1566. Event:InvokeServer("Basic Conveyor", A_1)

  1567. end

  1568. if defaultdropper == "symmetryte" then

  1569. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1570. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1571. local A_1 = CFrame.new(75, 6.5, 72, 5.34659193e-05, 9.31346444e-10, 1, -4.31585977e-05, 1, 1.37616774e-09, -1, -4.31585977e-05, 5.34659193e-05) + Tycoon:FindFirstChild("Base").Position

  1572. Event:InvokeServer("Symmetryte Mine", A_1)

  1573. local A_1 = CFrame.new(78, 2, 57, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1574. Event:InvokeServer("Basic Conveyor", A_1)

  1575. local A_1 = CFrame.new(78, 2, 51, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05) + Tycoon:FindFirstChild("Base").Position

  1576. Event:InvokeServer("Basic Conveyor", A_1)

  1577. local A_1 = CFrame.new(72, 2, 51, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1578. Event:InvokeServer("Basic Conveyor", A_1)

  1579. local A_1 = CFrame.new(72, 2, 57, 0.000140138043, 1.86660731e-09, 1, -4.3159529e-05, 1, 4.18168433e-09, -1, -4.3159529e-05, 0.000140138043) + Tycoon:FindFirstChild("Base").Position

  1580. Event:InvokeServer("Basic Conveyor", A_1)

  1581. end

  1582. if smallsetupactive == true then

  1583. morningstarloop()

  1584. end

  1585. if mediumsetupactive == true then

  1586. neutronstarloop1()

  1587. end

  1588. if bigsetupactive == true then

  1589. neutronstarloop2()

  1590. end

  1591. end

  1592. end

  1593. end

  1594. function morningstarloop()

  1595. tptarget = "Morning Star"

  1596. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1597. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1598. local A_1 = CFrame.new(27, 6.5, 62.9999847, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1599. Event:InvokeServer("Morning Star", A_1)

  1600. local A_1 = CFrame.new(27, 2, 54, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1601. Event:InvokeServer("Military-Grade Conveyor", A_1)

  1602. local A_1 = CFrame.new(27, 2, 48, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1603. Event:InvokeServer("Military-Grade Conveyor", A_1)

  1604. local A_1 = CFrame.new(27, 5, 39, 5.34659193e-05, 9.31346444e-10, 1, -4.31585977e-05, 1, 1.37616774e-09, -1, -4.31585977e-05, 5.34659193e-05) + Tycoon:FindFirstChild("Base").Position

  1605. Event:InvokeServer("Shrine of Penitence", A_1)

  1606. starloopend()

  1607. end

  1608. function neutronstarloop1()

  1609. tptarget = "Neutron Star"

  1610. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1611. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1612. local A_1 = CFrame.new(21, 6.5, 78, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1613. Event:InvokeServer("Neutron Star", A_1)

  1614. local A_1 = CFrame.new(21, 2, 69, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1615. Event:InvokeServer("Military-Grade Conveyor", A_1)

  1616. local A_1 = CFrame.new(21, 2, 63, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1617. Event:InvokeServer("Military-Grade Conveyor", A_1)

  1618. local A_1 = CFrame.new(21, 5, 54, 5.34659193e-05, 9.31346444e-10, 1, -4.31585977e-05, 1, 1.37616774e-09, -1, -4.31585977e-05, 5.34659193e-05) + Tycoon:FindFirstChild("Base").Position

  1619. Event:InvokeServer("Shrine of Penitence", A_1)

  1620. starloopend()

  1621. end

  1622. function neutronstarloop2()

  1623. tptarget = "Neutron Star"

  1624. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  1625. local Event = game:GetService("ReplicatedStorage").PlaceItem

  1626. local A_1 = CFrame.new(21, 6.5, 78, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1627. Event:InvokeServer("Neutron Star", A_1)

  1628. local A_1 = CFrame.new(20.999939, 2, 69, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1629. Event:InvokeServer("Centering Conveyor", A_1)

  1630. local A_1 = CFrame.new(21, 2, 63, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1631. Event:InvokeServer("Centering Conveyor", A_1)

  1632. local A_1 = CFrame.new(25.500061, 1.89996338, 69, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1633. Event:InvokeServer("Conveyor Wall", A_1)

  1634. local A_1 = CFrame.new(16.499939, 1.89996338, 69, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1635. Event:InvokeServer("Conveyor Wall", A_1)

  1636. local A_1 = CFrame.new(25.500061, 1.89996338, 63, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1637. Event:InvokeServer("Conveyor Wall", A_1)

  1638. local A_1 = CFrame.new(16.499939, 1.89996338, 63, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1639. Event:InvokeServer("Conveyor Wall", A_1)

  1640. local A_1 = CFrame.new(21, 3.5, 54, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1641. Event:InvokeServer("Quantum Clockwork", A_1)

  1642. local A_1 = CFrame.new(21, 5, 39, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1643. Event:InvokeServer("True Overlord Device", A_1)

  1644. local A_1 = CFrame.new(20.9999695, 8, 19.5, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1645. Event:InvokeServer("Saturated Catalyst", A_1)

  1646. local A_1 = CFrame.new(21, 8, -6.10351563e-05, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1647. Event:InvokeServer("Azure Spore", A_1)

  1648. local A_1 = CFrame.new(21.0000305, 3.5, -16.5, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1649. Event:InvokeServer("Quantum Ore Polisher", A_1)

  1650. local A_1 = CFrame.new(21, 5, -31.5, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1651. Event:InvokeServer("Tesla Refuter", A_1)

  1652. local A_1 = CFrame.new(21, 3.5, -45, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1653. Event:InvokeServer("Quantum Clockwork", A_1)

  1654. local A_1 = CFrame.new(21, 5, -59.9999695, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1655. Event:InvokeServer("True Overlord Device", A_1)

  1656. local A_1 = CFrame.new(21, 3.5, -72, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1657. Event:InvokeServer("Pink Teleporter (Sender)", A_1)

  1658. local A_1 = CFrame.new(-19.5, 3.5, -75, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1659. Event:InvokeServer("Pink Teleporter (Receiver)", A_1)

  1660. local A_1 = CFrame.new(-21, 2.00006104, -66, 0.000226440417, 4.66035299e-09, 1, -4.31585977e-05, 1, 5.11249842e-09, -1, -4.31585977e-05, 0.000226440417) + Tycoon:FindFirstChild("Base").Position

  1661. Event:InvokeServer("Basic Conveyor", A_1)

  1662. local A_1 = CFrame.new(-15, 2, -66, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1663. Event:InvokeServer("Centering Conveyor", A_1)

  1664. local A_1 = CFrame.new(-10.5, 1.90002441, -66, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1665. Event:InvokeServer("Conveyor Wall", A_1)

  1666. local A_1 = CFrame.new(-25.5, 1.89996338, -66, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1667. Event:InvokeServer("Conveyor Wall", A_1)

  1668. local A_1 = CFrame.new(-16.5, 5, -52.5, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1669. Event:InvokeServer("The Final Upgrader", A_1)

  1670. local A_1 = CFrame.new(-15, 2, -39, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1671. Event:InvokeServer("Centering Conveyor", A_1)

  1672. local A_1 = CFrame.new(-21, 2.00006104, -39, 0.000140138043, 1.86660731e-09, 1, -4.3159529e-05, 1, 4.18168433e-09, -1, -4.3159529e-05, 0.000140138043) + Tycoon:FindFirstChild("Base").Position

  1673. Event:InvokeServer("Basic Conveyor", A_1)

  1674. local A_1 = CFrame.new(-25.5, 1.90002441, -39, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1) + Tycoon:FindFirstChild("Base").Position

  1675. Event:InvokeServer("Conveyor Wall", A_1)

  1676. local A_1 = CFrame.new(-10.5, 1.90002441, -39, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1677. Event:InvokeServer("Conveyor Wall", A_1)

  1678. local A_1 = CFrame.new(-15, 5, -27, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1679. Event:InvokeServer("True Overlord Device", A_1)

  1680. local A_1 = CFrame.new(-15, 3.5, -12, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1681. Event:InvokeServer("Quantum Clockwork", A_1)

  1682. local A_1 = CFrame.new(-15, 8, 3, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1683. Event:InvokeServer("Azure Spore", A_1)

  1684. local A_1 = CFrame.new(-15, 7.99993896, 21, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1685. Event:InvokeServer("The Catalyst", A_1)

  1686. local A_1 = CFrame.new(-15, 3.5, 37.5, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1) + Tycoon:FindFirstChild("Base").Position

  1687. Event:InvokeServer("Quantum Ore Polisher", A_1)

  1688. local A_1 = CFrame.new(-15, 12.5700073, 60, 0.000226440417, 4.66035299e-09, 1, -4.31585977e-05, 1, 5.11249842e-09, -1, -4.31585977e-05, 0.000226440417) + Tycoon:FindFirstChild("Base").Position

  1689. Event:InvokeServer("Sage King", A_1)

  1690. starloopend()

  1691. end

  1692. function starloopend()

  1693. setupinuse = true

  1694. if tpcratesstarted == true then

  1695. tpcratesactive = true

  1696. end

  1697. if remoteclickstarted == true then

  1698. remoteclickactive = true

  1699. end

  1700. if upgraderclickstarted == true then

  1701. upgraderclickactive = true

  1702. end

  1703. wait(oretime)

  1704. if smallsetupactive == true or mediumsetupactive == true or bigsetupactive == true or customsetupactive == true then

  1705. if turnminesoff then

  1706. if game.Players.LocalPlayer.MinesActivated.Value == true then

  1707. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()

  1708. -- print("Turning mines OFF") --

  1709. end

  1710. end

  1711. if customsetupactive == true then

  1712. local player = game:GetService'Players'.LocalPlayer

  1713. local factorye = player.PlayerTycoon.Value

  1714. local Factory = tostring(factorye)

  1715. local basepart = workspace.Tycoons[Factory]:GetChildren()

  1716. for i=1,#basepart do

  1717. if basepart[i].Name == "Morning Star" then

  1718. tptarget = "Morning Star"

  1719. targeterror = false

  1720. break

  1721. end

  1722. if basepart[i].Name == "Neutron Star" then

  1723. tptarget = "Neutron Star"

  1724. targeterror = false

  1725. break

  1726. end

  1727. targeterror = true

  1728. end

  1729. if targeterror == true then

  1730. print("Error. No Morning Star or Neutron Star found on base.")

  1731. print("Restarting setup to try and fix the problem")

  1732. wait(1)

  1733. customsetupactive = false

  1734. wait(1)

  1735. customsetupactive = true

  1736. loopsetupstart()

  1737. else

  1738. -- print("Target set: " ..tptarget) --

  1739. starloopend2()

  1740. end

  1741. else

  1742. starloopend2()

  1743. end

  1744. end

  1745. end

  1746. function starloopend2()

  1747. local player = game:GetService'Players'.LocalPlayer

  1748. local factorye = player.PlayerTycoon.Value

  1749. local Factory = tostring(factorye)

  1750. thing = game.Workspace.Tycoons[Factory][tptarget].Model.Upgrade

  1751. for n = 1,loopnumber do

  1752. wait(.04)

  1753. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do

  1754. if v.Name ~= "Triple Coal Mine" then

  1755. if v.Name ~= "Coal Mine" then

  1756. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)

  1757. v.CFrame = p

  1758. end

  1759. if smallsetupactive == true then

  1760. SmallSetup.Text = "SMALL - LOOPS("..tostring(n)..")"

  1761. elseif mediumsetupactive == true then

  1762. MediumSetup.Text = "MEDIUM - LOOPS("..tostring(n)..")"

  1763. elseif bigsetupactive == true then

  1764. BigSetup.Text = "BIG - LOOPS("..tostring(n)..")"

  1765. elseif customsetupactive == true then

  1766. CustomSetup.Text = "CUSTOM - LOOPS("..tostring(n)..")"

  1767. end

  1768. end

  1769. end

  1770. end

  1771. wait(3)

  1772. if smallsetupactive == true then

  1773. SmallSetup.Text = "SMALL SETUP: ON"

  1774. elseif mediumsetupactive == true then

  1775. MediumSetup.Text = "MEDIUM SETUP: ON"

  1776. elseif bigsetupactive == true then

  1777. BigSetup.Text = "BIG SETUP: ON"

  1778. elseif customsetupactive == true then

  1779. CustomSetup.Text = "CUSTOM SETUP: ON"

  1780. end

  1781. end

  1782. LoopButton.MouseButton1Down:connect(function()

  1783. local player = game:GetService'Players'.LocalPlayer

  1784. local factorye = player.PlayerTycoon.Value

  1785. local Factory = tostring(factorye)

  1786. thing = game.Workspace.Tycoons[Factory][tostring(LoopItem.Text)].Model.Upgrade

  1787. for n = 1,tonumber(TPLoopNumber.Text) do

  1788. wait(.04)

  1789. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do

  1790. if v.Name ~= "Triple Coal Mine" then

  1791. if v.Name ~= "Coal Mine" then

  1792. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)

  1793. v.CFrame = p

  1794. end

  1795. end

  1796. end

  1797. LoopButton.Text = "LOOPS("..tostring(n)..")"

  1798. LoopButton.TextColor3 = Color3.new(1, 0, 0)

  1799. end

  1800. wait(3)

  1801. LoopButton.Text = "LOOP"

  1802. LoopButton.TextColor3 = Color3.new(0, 0, 0)

  1803. end)

  1804. mouse.KeyDown:connect(function(key)

  1805. if key == "b" then

  1806. local player = game:GetService'Players'.LocalPlayer

  1807. local factorynumber = player.PlayerTycoon.Value

  1808. local Factory = tostring(factorynumber)

  1809. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do

  1810. if v.Name ~= "Triple Coal Mine" then

  1811. if v.Name ~= "Coal Mine" then

  1812. local p= CFrame.new(game.Players.LocalPlayer.Character.Head.Position.x, game.Players.LocalPlayer.Character.Head.Position.y -1, game.Players.LocalPlayer.Character.Head.Position.z -1)

  1813. v.CFrame = p

  1814. end

  1815. end

  1816. end

  1817. end

  1818. end)

  1819. mouse.KeyDown:connect(function(key)

  1820. if key == "m" then

  1821. if game.Players.LocalPlayer.MinesActivated.Value == true then

  1822. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()

  1823. notify'Turning all mines OFF'

  1824. else

  1825. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()

  1826. notify'Turning all mines ON'

  1827. end

  1828. end

  1829. end)

  1830. mouse.KeyDown:connect(function(key)

  1831. if key == "n" then

  1832. local ClickEvent = game:GetService("ReplicatedStorage"):WaitForChild('Click');

  1833. local CheckFactory = function()

  1834. for i,v in pairs(workspace.Tycoons:GetChildren()) do

  1835. if v:FindFirstChild('Owner') then

  1836. if v.Owner.Value == game.Players.LocalPlayer.Name then

  1837. return v

  1838. end

  1839. end

  1840. end

  1841. end

  1842. local Factory = tostring(CheckFactory())

  1843. local basepart = workspace.Tycoons[Factory]:GetChildren()

  1844. if toggleoregate == true then

  1845. toggleoregate = false

  1846. notify'Closing ALL Ore Gates'

  1847. for i,v in pairs(basepart) do

  1848. if v.Name == "Ore Gate" then

  1849. for _,desc in pairs(v:GetDescendants()) do

  1850. if desc:IsA("ClickDetector") then

  1851. if desc.Parent:IsA("Part") then

  1852. ClickEvent:FireServer(desc.Parent)

  1853. break

  1854. end

  1855. end

  1856. end

  1857. end

  1858. end

  1859. else

  1860. toggleoregate = true

  1861. notify'Opening ALL Ore Gates'

  1862. for i,v in pairs(basepart) do

  1863. if v.Name == "Ore Gate" then

  1864. for _,desc in pairs(v:GetDescendants()) do

  1865. if desc:IsA("ClickDetector") then

  1866. if desc.Parent:IsA("Part") then

  1867. ClickEvent:FireServer(desc.Parent)

  1868. end

  1869. end

  1870. end

  1871. end

  1872. end

  1873. end

  1874. end

  1875. end)

  1876. mouse.KeyDown:connect(function(key)

  1877. if key == "k" then

  1878. local ClickEvent = game:GetService("ReplicatedStorage"):WaitForChild('Click');

  1879. local CheckFactory = function()

  1880. for i,v in pairs(workspace.Tycoons:GetChildren()) do

  1881. if v:FindFirstChild('Owner') then

  1882. if v.Owner.Value == game.Players.LocalPlayer.Name then

  1883. return v

  1884. end

  1885. end

  1886. end

  1887. end

  1888. local Factory = tostring(CheckFactory())

  1889. local basepart = workspace.Tycoons[Factory]:GetChildren()

  1890. for i,v in pairs(basepart) do

  1891. if v.Name == "Reversible Conveyor" then

  1892. for _,desc in pairs(v:GetDescendants()) do

  1893. if desc:IsA("ClickDetector") then

  1894. if desc.Parent:IsA('Part') then

  1895. ClickEvent:FireServer(desc.Parent)

  1896. end

  1897. end

  1898. end

  1899. end

  1900. end

  1901. notify'Switching ALL Reversible Conveyors'

  1902. end

  1903. end)

  1904. mouse.KeyDown:connect(function(key)

  1905. if key == "j" then

  1906. if remoteclickstarted == true then

  1907. remoteclickstarted = false

  1908. remoteclickactive = false

  1909. notify'Remote Clicking turned OFF'

  1910. else

  1911. remoteclickstarted = true

  1912. remoteclickactive = true

  1913. notify'Remote Clicking turned ON'

  1914. end

  1915. end

  1916. end)

  1917. mouse.KeyDown:connect(function(key)

  1918. if key == "h" then

  1919. if upgraderclickstarted == true then

  1920. upgraderclickstarted = false

  1921. upgraderclickactive = false

  1922. notify'Clicking Upgraders turned OFF'

  1923. else

  1924. upgraderclickstarted = true

  1925. upgraderclickactive = true

  1926. notify'Clicking Upgraders turned ON'

  1927. end

  1928. end

  1929. end)

  1930. function CountBricks()

  1931. local count = 0

  1932. for i,v in pairs(workspace:GetChildren()) do

  1933. for x in string.gmatch(v.Name, "Crate") do

  1934. if v.Name ~= "GiftCrate" then

  1935. wait(0.1)

  1936. count = count + 1

  1937. end

  1938. end

  1939. end

  1940. for i,v in pairs(workspace.Shadows:GetChildren()) do

  1941. for x in string.gmatch(v.Name, "Crate") do

  1942. wait(0.1)

  1943. count = count + 1

  1944. end

  1945. end

  1946. return count

  1947. end

  1948. spawn (function()

  1949. while true do

  1950. wait(0.1)

  1951. CountTpCrates.Text = CountBricks()

  1952. end

  1953. end)

  1954. wait(0.5)local ba=Instance.new("ScreenGui")

  1955. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")

  1956. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui

  1957. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true

  1958. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true

  1959. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,304,0,52)

  1960. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti Afk Kick Script"ca.TextColor3=Color3.new(0,1,1)

  1961. ca.TextSize=22;da.Parent=ca

  1962. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)

  1963. da.Size=UDim2.new(0,304,0,107)_b.Parent=da

  1964. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)

  1965. _b.Size=UDim2.new(0,304,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by Warn"

  1966. _b.TextColor3=Color3.new(1,1,1)_b.TextSize=20;ab.Parent=da

  1967. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377379,0)

  1968. ab.Size=UDim2.new(0,304,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Script Started"

  1969. ab.TextColor3=Color3.new(1,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'

  1970. game:service'Players'.LocalPlayer.Idled:connect(function()

  1971. bb:CaptureController()bb:ClickButton2(Vector2.new())

  1972. ab.Text="You went idle and ROBLOX tried to kick you but we reflected it!"wait(2)ab.Text="Script Re-Enabled"end)

  1973. -- Credit to Bork for the scripts!

  1974. local MinersHavenGUI = Instance.new("ScreenGui")

  1975. local MainFrame = Instance.new("Frame")

  1976. local BodyFrame = Instance.new("Frame")

  1977. local AutoRebirth = Instance.new("TextButton")

  1978. local AutoRemote = Instance.new("TextButton")

  1979. local TPUpgraders = Instance.new("TextButton")

  1980. local Instructions = Instance.new("TextButton")

  1981. local Credits = Instance.new("TextLabel")

  1982. local Divider = Instance.new("TextLabel")

  1983. local InstructionSteps = Instance.new("Frame")

  1984. local Step1 = Instance.new("TextLabel")

  1985. local Step2 = Instance.new("TextLabel")

  1986. local Step0 = Instance.new("TextLabel")

  1987. local Step3 = Instance.new("TextLabel")

  1988. local Step4 = Instance.new("TextLabel")

  1989. local AutoLayout1 = Instance.new("TextButton")

  1990. local AutoLayout2 = Instance.new("TextButton")

  1991. local AutoLayout3 = Instance.new("TextButton")

  1992. local AutoLayout = Instance.new("TextLabel")

  1993. local Destroy = Instance.new("TextButton")

  1994. local Mini = Instance.new("TextButton")

  1995. local Name = Instance.new("TextLabel")

  1996. --Properties:

  1997. MinersHavenGUI.Name = "MinersHavenGUI"

  1998. MinersHavenGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

  1999. MinersHavenGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

  2000. MainFrame.Name = "MainFrame"

  2001. MainFrame.Parent = MinersHavenGUI

  2002. MainFrame.Active = true

  2003. MainFrame.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)

  2004. MainFrame.BorderSizePixel = 0

  2005. MainFrame.Position = UDim2.new(0.108695649, 0, 0.18427518, 0)

  2006. MainFrame.Selectable = true

  2007. MainFrame.Size = UDim2.new(0, 323, 0, 40)

  2008. MainFrame.Draggable = true

  2009. BodyFrame.Name = "BodyFrame"

  2010. BodyFrame.Parent = MainFrame

  2011. BodyFrame.BackgroundColor3 = Color3.new(1, 1, 1)

  2012. BodyFrame.BorderSizePixel = 0

  2013. BodyFrame.Position = UDim2.new(0, 0, 1, 0)

  2014. BodyFrame.Size = UDim2.new(0, 323, 0, 162)

  2015. AutoRebirth.Name = "AutoRebirth"

  2016. AutoRebirth.Parent = BodyFrame

  2017. AutoRebirth.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2018. AutoRebirth.BorderSizePixel = 0

  2019. AutoRebirth.Size = UDim2.new(0, 166, 0, 43)

  2020. AutoRebirth.Font = Enum.Font.SourceSans

  2021. AutoRebirth.Text = "Auto Rebirth: OFF"

  2022. AutoRebirth.TextColor3 = Color3.new(0, 0, 0)

  2023. AutoRebirth.TextSize = 14

  2024. AutoRemote.Name = "AutoRemote"

  2025. AutoRemote.Parent = BodyFrame

  2026. AutoRemote.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2027. AutoRemote.BorderSizePixel = 0

  2028. AutoRemote.Position = UDim2.new(0.4860681, 0, 0, 0)

  2029. AutoRemote.Size = UDim2.new(0, 166, 0, 43)

  2030. AutoRemote.Font = Enum.Font.SourceSans

  2031. AutoRemote.Text = "Auto Remote: OFF"

  2032. AutoRemote.TextColor3 = Color3.new(0, 0, 0)

  2033. AutoRemote.TextSize = 14

  2034. TPUpgraders.Name = "TPUpgraders"

  2035. TPUpgraders.Parent = BodyFrame

  2036. TPUpgraders.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2037. TPUpgraders.BorderSizePixel = 0

  2038. TPUpgraders.Position = UDim2.new(0.241486058, 0, 0.415868074, 0)

  2039. TPUpgraders.Size = UDim2.new(0, 166, 0, 43)

  2040. TPUpgraders.Font = Enum.Font.SourceSans

  2041. TPUpgraders.Text = "Upgrader CFrame"

  2042. TPUpgraders.TextColor3 = Color3.new(0, 0, 0)

  2043. TPUpgraders.TextSize = 14

  2044. Instructions.Name = "Instructions"

  2045. Instructions.Parent = BodyFrame

  2046. Instructions.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2047. Instructions.BorderSizePixel = 0

  2048. Instructions.Position = UDim2.new(0.365325123, 0, 0.722740173, 0)

  2049. Instructions.Size = UDim2.new(0, 87, 0, 25)

  2050. Instructions.Font = Enum.Font.SourceSans

  2051. Instructions.Text = "Instructions: OFF"

  2052. Instructions.TextColor3 = Color3.new(0, 0, 0)

  2053. Instructions.TextSize = 14

  2054. Credits.Name = "Credits"

  2055. Credits.Parent = BodyFrame

  2056. Credits.BackgroundColor3 = Color3.new(1, 1, 1)

  2057. Credits.BackgroundTransparency = 1

  2058. Credits.BorderSizePixel = 0

  2059. Credits.Position = UDim2.new(0.662538707, 0, 0.74125874, 0)

  2060. Credits.Size = UDim2.new(0, 109, 0, 37)

  2061. Credits.Font = Enum.Font.SourceSans

  2062. Credits.Text = "by Stefanuk12"

  2063. Credits.TextColor3 = Color3.new(0, 0, 0)

  2064. Credits.TextSize = 14

  2065. Divider.Name = "Divider"

  2066. Divider.Parent = BodyFrame

  2067. Divider.BackgroundColor3 = Color3.new(1, 1, 1)

  2068. Divider.BorderColor3 = Color3.new(0, 0, 0)

  2069. Divider.Position = UDim2.new(0, 0, 0.263662249, 0)

  2070. Divider.Size = UDim2.new(0, 323, 0, 0)

  2071. Divider.Font = Enum.Font.SourceSans

  2072. Divider.Text = " "

  2073. Divider.TextColor3 = Color3.new(0, 0, 0)

  2074. Divider.TextSize = 14

  2075. InstructionSteps.Name = "InstructionSteps"

  2076. InstructionSteps.Parent = BodyFrame

  2077. InstructionSteps.BackgroundColor3 = Color3.new(1, 1, 1)

  2078. InstructionSteps.BorderSizePixel = 0

  2079. InstructionSteps.Position = UDim2.new(1, 0, 0, 0)

  2080. InstructionSteps.Size = UDim2.new(0, 323, 0, 162)

  2081. InstructionSteps.Visible = false

  2082. Step1.Name = "Step1"

  2083. Step1.Parent = InstructionSteps

  2084. Step1.BackgroundColor3 = Color3.new(1, 1, 1)

  2085. Step1.BorderSizePixel = 0

  2086. Step1.Position = UDim2.new(0, 0, 0.240740746, 0)

  2087. Step1.Size = UDim2.new(0, 323, 0, 29)

  2088. Step1.Font = Enum.Font.SourceSansLight

  2089. Step1.Text = "1. Make a layout - Look at thread for more info"

  2090. Step1.TextColor3 = Color3.new(0, 0, 0)

  2091. Step1.TextSize = 14

  2092. Step2.Name = "Step2"

  2093. Step2.Parent = InstructionSteps

  2094. Step2.BackgroundColor3 = Color3.new(1, 1, 1)

  2095. Step2.BorderSizePixel = 0

  2096. Step2.Position = UDim2.new(0, 0, 0.419753045, 0)

  2097. Step2.Size = UDim2.new(0, 323, 0, 29)

  2098. Step2.Font = Enum.Font.SourceSansLight

  2099. Step2.Text = "2. Turn AutoRebirth/Remote ON"

  2100. Step2.TextColor3 = Color3.new(0, 0, 0)

  2101. Step2.TextSize = 14

  2102. Step0.Name = "Step0"

  2103. Step0.Parent = InstructionSteps

  2104. Step0.BackgroundColor3 = Color3.new(1, 1, 1)

  2105. Step0.BorderSizePixel = 0

  2106. Step0.Position = UDim2.new(0, 0, 0.0679011345, 0)

  2107. Step0.Size = UDim2.new(0, 323, 0, 29)

  2108. Step0.Font = Enum.Font.SourceSansLight

  2109. Step0.Text = "0. Find a game with people that have very high rebirths"

  2110. Step0.TextColor3 = Color3.new(0, 0, 0)

  2111. Step0.TextSize = 14

  2112. Step3.Name = "Step3"

  2113. Step3.Parent = InstructionSteps

  2114. Step3.BackgroundColor3 = Color3.new(1, 1, 1)

  2115. Step3.BorderSizePixel = 0

  2116. Step3.Position = UDim2.new(0, 0, 0.598765433, 0)

  2117. Step3.Size = UDim2.new(0, 323, 0, 29)

  2118. Step3.Font = Enum.Font.SourceSansLight

  2119. Step3.Text = "3. Press the Upgrader CFrame button and load the layout"

  2120. Step3.TextColor3 = Color3.new(0, 0, 0)

  2121. Step3.TextSize = 14

  2122. Step4.Name = "Step4"

  2123. Step4.Parent = InstructionSteps

  2124. Step4.BackgroundColor3 = Color3.new(1, 1, 1)

  2125. Step4.BorderSizePixel = 0

  2126. Step4.Position = UDim2.new(0, 0, 0.746913552, 0)

  2127. Step4.Size = UDim2.new(0, 323, 0, 29)

  2128. Step4.Font = Enum.Font.SourceSansLight

  2129. Step4.Text = "4. Once you've rebirthed, Repeat from Step 3"

  2130. Step4.TextColor3 = Color3.new(0, 0, 0)

  2131. Step4.TextSize = 14

  2132. AutoLayout1.Name = "AutoLayout1"

  2133. AutoLayout1.Parent = BodyFrame

  2134. AutoLayout1.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2135. AutoLayout1.BorderSizePixel = 0

  2136. AutoLayout1.Position = UDim2.new(0, 0, 0.839506149, 0)

  2137. AutoLayout1.Size = UDim2.new(0, 22, 0, 26)

  2138. AutoLayout1.Font = Enum.Font.SourceSans

  2139. AutoLayout1.Text = "1"

  2140. AutoLayout1.TextColor3 = Color3.new(0, 0, 0)

  2141. AutoLayout1.TextSize = 14

  2142. AutoLayout2.Name = "AutoLayout2"

  2143. AutoLayout2.Parent = BodyFrame

  2144. AutoLayout2.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2145. AutoLayout2.BorderSizePixel = 0

  2146. AutoLayout2.Position = UDim2.new(0.067079477, 0, 0.839506149, 0)

  2147. AutoLayout2.Size = UDim2.new(0, 22, 0, 26)

  2148. AutoLayout2.Font = Enum.Font.SourceSans

  2149. AutoLayout2.Text = "2"

  2150. AutoLayout2.TextColor3 = Color3.new(0, 0, 0)

  2151. AutoLayout2.TextSize = 14

  2152. AutoLayout3.Name = "AutoLayout3"

  2153. AutoLayout3.Parent = BodyFrame

  2154. AutoLayout3.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)

  2155. AutoLayout3.BorderSizePixel = 0

  2156. AutoLayout3.Position = UDim2.new(0.134158954, 0, 0.839506149, 0)

  2157. AutoLayout3.Size = UDim2.new(0, 22, 0, 26)

  2158. AutoLayout3.Font = Enum.Font.SourceSans

  2159. AutoLayout3.Text = "3"

  2160. AutoLayout3.TextColor3 = Color3.new(0, 0, 0)

  2161. AutoLayout3.TextSize = 14

  2162. AutoLayout.Name = "AutoLayout"

  2163. AutoLayout.Parent = BodyFrame

  2164. AutoLayout.BackgroundColor3 = Color3.new(1, 1, 1)

  2165. AutoLayout.BackgroundTransparency = 1

  2166. AutoLayout.BorderSizePixel = 0

  2167. AutoLayout.Position = UDim2.new(0, 0, 0.697530866, 0)

  2168. AutoLayout.Size = UDim2.new(0, 65, 0, 29)

  2169. AutoLayout.Font = Enum.Font.SourceSans

  2170. AutoLayout.Text = "Auto Layout"

  2171. AutoLayout.TextColor3 = Color3.new(0, 0, 0)

  2172. AutoLayout.TextSize = 14

  2173. Destroy.Name = "Destroy"

  2174. Destroy.Parent = MainFrame

  2175. Destroy.BackgroundColor3 = Color3.new(1, 1, 1)

  2176. Destroy.BackgroundTransparency = 1

  2177. Destroy.BorderSizePixel = 0

  2178. Destroy.Position = UDim2.new(0.801857591, 0, 0, 0)

  2179. Destroy.Size = UDim2.new(0, 64, 0, 40)

  2180. Destroy.Font = Enum.Font.SourceSans

  2181. Destroy.Text = "X"

  2182. Destroy.TextColor3 = Color3.new(0, 0, 0)

  2183. Destroy.TextSize = 14

  2184. Mini.Name = "Mini"

  2185. Mini.Parent = MainFrame

  2186. Mini.BackgroundColor3 = Color3.new(1, 1, 1)

  2187. Mini.BackgroundTransparency = 1

  2188. Mini.BorderSizePixel = 0

  2189. Mini.Position = UDim2.new(0.603715181, 0, 0, 0)

  2190. Mini.Size = UDim2.new(0, 64, 0, 40)

  2191. Mini.Font = Enum.Font.SourceSans

  2192. Mini.Text = "_"

  2193. Mini.TextColor3 = Color3.new(0, 0, 0)

  2194. Mini.TextSize = 14

  2195. Name.Name = "Name"

  2196. Name.Parent = MainFrame

  2197. Name.BackgroundColor3 = Color3.new(1, 1, 1)

  2198. Name.BackgroundTransparency = 1

  2199. Name.BorderSizePixel = 0

  2200. Name.Size = UDim2.new(0, 195, 0, 40)

  2201. Name.Font = Enum.Font.SourceSansLight

  2202. Name.Text = "Rebirthing Tool - Miners Haven"

  2203. Name.TextColor3 = Color3.new(0, 0, 0)

  2204. Name.TextSize = 14

  2205. -- Scripts:

  2206. _G.AutoRebirth = false

  2207. _G.AutoRemote = false

  2208. Destroy.MouseButton1Click:connect(function() -- Destory GUI

  2209. MinersHavenGUI:Destroy()

  2210. end)

  2211. Mini.MouseButton1Click:connect(function() -- Minimise/Restore GUI

  2212. if BodyFrame.Visible == true then

  2213. BodyFrame.Visible = false

  2214. else BodyFrame.Visible = true

  2215. end

  2216. end)

  2217. Instructions.MouseButton1Click:connect(function() -- Minimise/Restore Instructions

  2218. if InstructionSteps.Visible == false then

  2219. InstructionSteps.Visible = true

  2220. Instructions.Text = "Instructions: ON"

  2221. else InstructionSteps.Visible = false

  2222. Instructions.Text = "Instructions: OFF"

  2223. end

  2224. end)

  2225. AutoRebirth.MouseButton1Click:connect(function() -- Toggle work for AutoRebirth

  2226. if _G.AutoRebirth == false then

  2227. _G.AutoRebirth = true

  2228. AutoRebirth.Text = "Auto Rebirth: ON"

  2229. else _G.AutoRebirth = false

  2230. AutoRebirth.Text = "Auto Rebirth: OFF"

  2231. end

  2232. while _G.AutoRebirth == true do wait()

  2233. game.ReplicatedStorage.Rebirth:InvokeServer()

  2234. end

  2235. end)

  2236. AutoRemote.MouseButton1Click:connect(function() -- Toggle work for AutoRemote

  2237. if _G.AutoRemote == false then

  2238. _G.AutoRemote = true

  2239. AutoRemote.Text = "Auto Remote: ON"

  2240. else _G.AutoRemote = false

  2241. AutoRemote.Text = "Auto Remote: OFF"

  2242. end

  2243. while _G.AutoRemote == true do wait()

  2244. game.ReplicatedStorage.RemoteDrop:FireServer()

  2245. end

  2246. end)

  2247. TPUpgraders.MouseButton1Click:connect(function() -- Teleports all of the upgraders into the conveyor

  2248. game.ReplicatedStorage.DestroyAll:InvokeServer()

  2249. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))

  2250. local PlaceItem = game.ReplicatedStorage.PlaceItem

  2251. local placehere = CFrame.new(0, 2, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) + Tycoon:FindFirstChild("Base").Position

  2252. PlaceItem:InvokeServer("Basic Conveyor", placehere)

  2253. wait(0.01)

  2254. local pt = game.Players.LocalPlayer.PlayerTycoon.Value

  2255. local cv = game.Players.LocalPlayer.PlayerTycoon.Value["Basic Conveyor"].Hitbox

  2256. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do

  2257. if v.Name == "Big Bad Blaster" or v.Name == "Flaming Schrodinger" or v.Name == "Schrodinger Evaluator" or v.Name == "Super Schrodinger" or v.Name == "Ore Illuminator" or v.Name == "Ore Crane" or v.Name == "Portable Flamethrower" or v.Name == "Flaming Ore Scanner" or v.Name == "Chemical Refiner" or v.Name == "Pirate Cove" or v.Name == "Dragonglass Blaster" or v.Name == "Dragon Blaster" or v.Name == "Clover Blaster" or v.Name == "Hydra Blaster" or v.Name == "Aether Schrodinger" or v.Name == "Ore Indoctrinator" or v.Name == "Arcane Lightning" then

  2258. v:Remove()

  2259. end

  2260. end

  2261. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do

  2262. if v.Name == "Upgrade" then

  2263. v.Transparency = 1

  2264. v.CFrame = cv.CFrame*CFrame.new(0,100,0)

  2265. end

  2266. end

  2267. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do

  2268. if v.Name == "Morning Star" or v.Name == "Nova Star" then

  2269. v:Remove()

  2270. elseif v.Name == "Tesla Resetter" or v.Name == "Tesla Refuter" then

  2271. v.Model.Upgrade.CFrame = cv.CFrame*CFrame.new(0,50,0)

  2272. elseif v.Name == "The Final Upgrader" or v.Name == "The Ultimate Sacrifice" then

  2273. v.Model.Upgrade.CFrame = cv.CFrame*CFrame.new(0,75,0)

  2274. end

  2275. end

  2276. pt["Basic Conveyor"].Hitbox.Touched:connect(function(hit)

  2277. if hit:FindFirstChild("Cash") then

  2278. if hit:FindFirstChild("Bork") then

  2279. local variable = true

  2280. else

  2281. local int = Instance.new("IntValue")

  2282. int.Parent = hit

  2283. int.Name = "Bork"

  2284. hit.CFrame = cv.CFrame*CFrame.new(0,100,0)

  2285. wait(0.05)

  2286. hit.CFrame = cv.CFrame*CFrame.new(0,50,0)

  2287. wait(0.05)

  2288. hit.CFrame = cv.CFrame*CFrame.new(0,100,0)

  2289. wait(0.05)

  2290. hit.CFrame = cv.CFrame*CFrame.new(0,75,0)

  2291. wait(0.05)

  2292. hit.CFrame = cv.CFrame*CFrame.new(0,100,0)

  2293. wait(0.5)

  2294. hit.CFrame = pt["Basic Furnace"].Model.Lava.CFrame

  2295. end

  2296. end

  2297. end)

  2298. end)

  2299. AutoLayout2.MouseButton1Down:connect(function() -- Layout 2 gets placed after Rebirth

  2300. game.Players.LocalPlayer.leaderstats.Life.Changed:connect(function(plr)

  2301. delay(7, function()

  2302. game.ReplicatedStorage.Layouts:InvokeServer("Load", "Layout2")

  2303. end)

  2304. end)

  2305. end)

  2306. AutoLayout3.MouseButton1Down:connect(function() -- Layout 3 gets placed after Rebirth

  2307. game.Players.LocalPlayer.leaderstats.Life.Changed:connect(function(plr)

  2308. delay(7, function()

  2309. game.ReplicatedStorage.Layouts:InvokeServer("Load", "Layout3")

  2310. end)

  2311. end)

  2312. end)

  2313. print("Rebirthing Tool by Stefanuk12. Scripts by Bork")

Miners Haven Script - Pastebin.com (2024)
Top Articles
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5657

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.