Advertisement
AimbotMan2022

Minershaven GUI

Dec 21st, 2020
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.98 KB | None | 0 0
  1.  
  2. _G.WS = "135";
  3. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  4. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  5. Humanoid.WalkSpeed = _G.WS;
  6. end)
  7. Humanoid.WalkSpeed = _G.WS;
  8.  
  9. local UserInputService = game:GetService("UserInputService")
  10. local localPlayer = game.Players.LocalPlayer
  11. local character
  12. local humanoid
  13.  
  14. local canDoubleJump = false
  15. local hasDoubleJumped = false
  16. local oldPower
  17. local TIME_BETWEEN_JUMPS = 0.2
  18. local DOUBLE_JUMP_POWER_MULTIPLIER = 2
  19.  
  20. function onJumpRequest()
  21. if not character or not humanoid or not character:IsDescendantOf(workspace) or
  22. humanoid:GetState() == Enum.HumanoidStateType.Dead then
  23. return
  24. end
  25.  
  26. if canDoubleJump and not hasDoubleJumped then
  27. hasDoubleJumped = true
  28. humanoid.JumpPower = oldPower * DOUBLE_JUMP_POWER_MULTIPLIER
  29. humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  30. end
  31. end
  32.  
  33. local function characterAdded(newCharacter)
  34. character = newCharacter
  35. humanoid = newCharacter:WaitForChild("Humanoid")
  36. hasDoubleJumped = false
  37. canDoubleJump = false
  38. oldPower = humanoid.JumpPower
  39.  
  40. humanoid.StateChanged:connect(function(old, new)
  41. if new == Enum.HumanoidStateType.Landed then
  42. canDoubleJump = false
  43. hasDoubleJumped = false
  44. humanoid.JumpPower = oldPower
  45. elseif new == Enum.HumanoidStateType.Freefall then
  46. wait(TIME_BETWEEN_JUMPS)
  47. canDoubleJump = true
  48. end
  49. end)
  50. end
  51.  
  52. if localPlayer.Character then
  53. characterAdded(localPlayer.Character)
  54. end
  55.  
  56. localPlayer.CharacterAdded:connect(characterAdded)
  57. UserInputService.JumpRequest:connect(onJumpRequest)
  58.  
  59. local jump = 120 -- Add the amount of jump power you want here!
  60.  
  61. spawn(function()
  62. while wait() do
  63. game.Players.LocalPlayer.Character.Humanoid.JumpPower = jump
  64. end
  65. end)
  66.  
  67. local ScreenGui = Instance.new("ScreenGui")
  68. local MenuFrame = Instance.new("Frame")
  69. local MenuTitlebar = Instance.new("Frame")
  70. local TitleMenu = Instance.new("TextLabel")
  71. local Utilities = Instance.new("TextButton")
  72. local AutoSetup = Instance.new("TextButton")
  73. local HideMenu = Instance.new("TextButton")
  74. local OreBoost = Instance.new("TextButton")
  75. local Util = Instance.new("Frame")
  76. local UtilitiesTitlebar = Instance.new("Frame")
  77. local BackMenuU = Instance.new("TextButton")
  78. local TextLabel = Instance.new("TextLabel")
  79. local AutoRebirth = Instance.new("TextButton")
  80. local GrabCrates = Instance.new("TextButton")
  81. local GrabMM = Instance.new("TextButton")
  82. local TTokens = Instance.new("TextButton")
  83. local CTokens = Instance.new("TextButton")
  84. local MSpeed = Instance.new("TextButton")
  85. local JPower = Instance.new("TextButton")
  86. local RemoteOn = Instance.new("TextButton")
  87. local RemoteOff = Instance.new("TextButton")
  88. local OBoost = Instance.new("Frame")
  89. local BoostTitlebar = Instance.new("Frame")
  90. local BackMenuB = Instance.new("TextButton")
  91. local AutoLayout = Instance.new("TextButton")
  92. local OreBoost_2 = Instance.new("TextButton")
  93. local TextLabel_2 = Instance.new("TextLabel")
  94. local TextBox = Instance.new("TextBox")
  95. local OpenMenu = Instance.new("TextButton")
  96. local ASetup = Instance.new("Frame")
  97. local SetupTitlebar = Instance.new("Frame")
  98. local BackMenuS = Instance.new("TextButton")
  99. local CatalyzedStar = Instance.new("TextButton")
  100. local NeutronStar = Instance.new("TextButton")
  101. local MorningStar = Instance.new("TextButton")
  102. local TextLabel_3 = Instance.new("TextLabel")
  103.  
  104. ScreenGui.Parent = game.CoreGui
  105.  
  106. MenuFrame.Name = "MenuFrame"
  107. MenuFrame.Parent = ScreenGui
  108. MenuFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  109. MenuFrame.BorderSizePixel = 0
  110. MenuFrame.Position = UDim2.new(0.85852313, 0, 0.180689663, 0)
  111. MenuFrame.Size = UDim2.new(0, 202, 0, 239)
  112. MenuFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY
  113. MenuFrame.Style = Enum.FrameStyle.RobloxSquare
  114. MenuFrame.Visible = false
  115.  
  116. MenuTitlebar.Name = "MenuTitlebar"
  117. MenuTitlebar.Parent = MenuFrame
  118. MenuTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)
  119. MenuTitlebar.Position = UDim2.new(-0.0420792066, 0, -0.0334728025, 0)
  120. MenuTitlebar.Size = UDim2.new(0, 201, 0, 51)
  121. MenuTitlebar.Style = Enum.FrameStyle.RobloxSquare
  122.  
  123. TitleMenu.Name = "TitleMenu"
  124. TitleMenu.Parent = MenuFrame
  125. TitleMenu.BackgroundColor3 = Color3.new(1, 1, 1)
  126. TitleMenu.BackgroundTransparency = 1
  127. TitleMenu.Position = UDim2.new(-0.0396039598, 0, -0.0292887036, 0)
  128. TitleMenu.Size = UDim2.new(0, 202, 0, 51)
  129. TitleMenu.Font = Enum.Font.SourceSans
  130. TitleMenu.Text = "Masters Collection Menu"
  131. TitleMenu.TextColor3 = Color3.new(1, 1, 1)
  132. TitleMenu.TextSize = 20
  133.  
  134. Utilities.Name = "Utilities"
  135. Utilities.Parent = MenuFrame
  136. Utilities.BackgroundColor3 = Color3.new(1, 1, 1)
  137. Utilities.Position = UDim2.new(0.0990099013, 0, 0.252595186, 0)
  138. Utilities.Size = UDim2.new(0, 148, 0, 37)
  139. Utilities.Style = Enum.ButtonStyle.RobloxRoundButton
  140. Utilities.Font = Enum.Font.SourceSans
  141. Utilities.Text = "Utilities"
  142. Utilities.TextSize = 14
  143. Utilities.MouseButton1Click:connect(function()
  144. MenuFrame.Visible = false
  145. Util.Visible = true
  146. end)
  147.  
  148. AutoSetup.Name = "AutoSetup"
  149. AutoSetup.Parent = MenuFrame
  150. AutoSetup.BackgroundColor3 = Color3.new(1, 1, 1)
  151. AutoSetup.Position = UDim2.new(0.0990099013, 0, 0.465043187, 0)
  152. AutoSetup.Size = UDim2.new(0, 148, 0, 37)
  153. AutoSetup.Style = Enum.ButtonStyle.RobloxRoundButton
  154. AutoSetup.Font = Enum.Font.SourceSans
  155. AutoSetup.Text = "Auto Setup"
  156. AutoSetup.TextSize = 14
  157. AutoSetup.MouseButton1Click:connect(function()
  158. MenuFrame.Visible = false
  159. ASetup.Visible = true
  160. end)
  161.  
  162. HideMenu.Name = "HideMenu"
  163. HideMenu.Parent = MenuFrame
  164. HideMenu.BackgroundColor3 = Color3.new(1, 1, 1)
  165. HideMenu.BackgroundTransparency = 1
  166. HideMenu.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)
  167. HideMenu.Size = UDim2.new(0, 69, 0, 17)
  168. HideMenu.Font = Enum.Font.SourceSans
  169. HideMenu.Text = "Hide"
  170. HideMenu.TextColor3 = Color3.new(1, 1, 1)
  171. HideMenu.TextSize = 14
  172. HideMenu.MouseButton1Click:connect(function()
  173. MenuFrame.Visible = false
  174. OpenMenu.Visible = true
  175. end)
  176.  
  177. OreBoost.Name = "OreBoost"
  178. OreBoost.Parent = MenuFrame
  179. OreBoost.BackgroundColor3 = Color3.new(1, 1, 1)
  180. OreBoost.Position = UDim2.new(0.0990099013, 0, 0.670064151, 0)
  181. OreBoost.Size = UDim2.new(0, 148, 0, 37)
  182. OreBoost.Style = Enum.ButtonStyle.RobloxRoundButton
  183. OreBoost.Font = Enum.Font.SourceSans
  184. OreBoost.Text = "Ore Booster"
  185. OreBoost.TextSize = 14
  186. OreBoost.MouseButton1Click:connect(function()
  187. MenuFrame.Visible = false
  188. OBoost.Visible = true
  189. end)
  190.  
  191. Util.Name = "Util"
  192. Util.Parent = ScreenGui
  193. Util.BackgroundColor3 = Color3.new(1, 1, 1)
  194. Util.Position = UDim2.new(0.857142806, 0, 0.183448285, 0)
  195. Util.Size = UDim2.new(0, 202, 0, 239)
  196. Util.Visible = false
  197. Util.Style = Enum.FrameStyle.RobloxSquare
  198.  
  199. UtilitiesTitlebar.Name = "UtilitiesTitlebar"
  200. UtilitiesTitlebar.Parent = Util
  201. UtilitiesTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)
  202. UtilitiesTitlebar.Position = UDim2.new(-0.0445544571, 0, -0.0376569033, 0)
  203. UtilitiesTitlebar.Size = UDim2.new(0, 201, 0, 51)
  204. UtilitiesTitlebar.Style = Enum.FrameStyle.RobloxSquare
  205.  
  206. BackMenuU.Name = "BackMenuU"
  207. BackMenuU.Parent = Util
  208. BackMenuU.BackgroundColor3 = Color3.new(1, 1, 1)
  209. BackMenuU.BackgroundTransparency = 1
  210. BackMenuU.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)
  211. BackMenuU.Size = UDim2.new(0, 69, 0, 17)
  212. BackMenuU.Font = Enum.Font.SourceSans
  213. BackMenuU.Text = "Back"
  214. BackMenuU.TextColor3 = Color3.new(1, 1, 1)
  215. BackMenuU.TextSize = 14
  216. BackMenuU.MouseButton1Click:connect(function()
  217. Util.Visible = false
  218. MenuFrame.Visible = true
  219. end)
  220.  
  221. TextLabel.Parent = Util
  222. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  223. TextLabel.BackgroundTransparency = 1
  224. TextLabel.Position = UDim2.new(-0.0396039598, 0, -0.0251046028, 0)
  225. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  226. TextLabel.Font = Enum.Font.SourceSans
  227. TextLabel.Text = "Utilities"
  228. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  229. TextLabel.TextSize = 24
  230.  
  231. AutoRebirth.Name = "AutoRebirth"
  232. AutoRebirth.Parent = Util
  233. AutoRebirth.BackgroundColor3 = Color3.new(1, 1, 1)
  234. AutoRebirth.Position = UDim2.new(0.0148514882, 0, 0.22594142, 0)
  235. AutoRebirth.Size = UDim2.new(0, 83, 0, 23)
  236. AutoRebirth.Style = Enum.ButtonStyle.RobloxRoundButton
  237. AutoRebirth.Font = Enum.Font.SourceSans
  238. AutoRebirth.Text = "Auto Rebirth"
  239. AutoRebirth.TextSize = 14
  240. AutoRebirth.MouseButton1Click:connect(function()
  241. while true do
  242. game.ReplicatedStorage.Rebirth:InvokeServer()
  243. wait(0.1)
  244. end
  245. end)
  246.  
  247. GrabCrates.Name = "GrabCrates"
  248. GrabCrates.Parent = Util
  249. GrabCrates.BackgroundColor3 = Color3.new(1, 1, 1)
  250. GrabCrates.Position = UDim2.new(0.544554472, 0, 0.22594142, 0)
  251. GrabCrates.Size = UDim2.new(0, 83, 0, 23)
  252. GrabCrates.Style = Enum.ButtonStyle.RobloxRoundButton
  253. GrabCrates.Font = Enum.Font.SourceSans
  254. GrabCrates.Text = "GrabCrates"
  255. GrabCrates.TextSize = 14
  256. GrabCrates.MouseButton1Click:connect(function()
  257. while wait() do
  258. while wait(2) do
  259. for _,v in pairs(game.Workspace:GetChildren()) do
  260. 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
  261. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)
  262. v.CanCollide = false
  263. v.Transparency = 1
  264. for _,v in pairs(game.Workspace.Shadows:GetChildren()) do
  265. if string.match(v.Name, "ShadowCrate") or string.match(v.Name, "MegaPumpkin") then
  266. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)
  267. v.CanCollide = false
  268. v.Transparency = 1
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end
  275. end)
  276.  
  277. GrabMM.Name = "GrabMM"
  278. GrabMM.Parent = Util
  279. GrabMM.BackgroundColor3 = Color3.new(1, 1, 1)
  280. GrabMM.Position = UDim2.new(0.0198019929, 0, 0.364016712, 0)
  281. GrabMM.Size = UDim2.new(0, 83, 0, 23)
  282. GrabMM.Style = Enum.ButtonStyle.RobloxRoundButton
  283. GrabMM.Font = Enum.Font.SourceSans
  284. GrabMM.Text = "Grab MM"
  285. GrabMM.TextSize = 14
  286. GrabMM.MouseButton1Click:connect(function()
  287. thing = game.Workspace.Market.Hitfox
  288. thing.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))
  289. thing.Transparency = 0
  290. thing.BrickColor = BrickColor.new(255,0,100)
  291. tell = Instance.new("SurfaceGui",thing)
  292. tell2 = Instance.new("TextLabel",tell)
  293. tell2.Size = UDim2.new(0, 800, 0, 750)
  294. tell2.TextWrapped= true
  295. tell2.TextScaled = true
  296. tell2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  297. tell2.TextColor3 = Color3.fromRGB(255, 255, 255)
  298. tell2.Text = "Click Me!"
  299. end)
  300.  
  301. TTokens.Name = "TTokens"
  302. TTokens.Parent = Util
  303. TTokens.BackgroundColor3 = Color3.new(1, 1, 1)
  304. TTokens.Position = UDim2.new(0.544554472, 0, 0.364016712, 0)
  305. TTokens.Size = UDim2.new(0, 83, 0, 23)
  306. TTokens.Style = Enum.ButtonStyle.RobloxRoundButton
  307. TTokens.Font = Enum.Font.SourceSans
  308. TTokens.Text = "Twitch Tokens"
  309. TTokens.TextSize = 14
  310. TTokens.MouseButton1Click:connect(function()
  311. while wait() do
  312. while wait(1) do
  313. game.Players.LocalPlayer.TwitchPoints.Value = game.Players.LocalPlayer.TwitchPoints.Value +50
  314. end
  315. end
  316. end)
  317.  
  318. CTokens.Name = "CTokens"
  319. CTokens.Parent = Util
  320. CTokens.BackgroundColor3 = Color3.new(1, 1, 1)
  321. CTokens.Position = UDim2.new(0.0198019929, 0, 0.497907937, 0)
  322. CTokens.Size = UDim2.new(0, 83, 0, 23)
  323. CTokens.Style = Enum.ButtonStyle.RobloxRoundButton
  324. CTokens.Font = Enum.Font.SourceSans
  325. CTokens.Text = "Clover Tokens"
  326. CTokens.TextSize = 14
  327. CTokens.MouseButton1Click:connect(function()
  328. while wait() do
  329. while wait(1) do
  330. game.Players.LocalPlayer.Clovers.Value = game.Players.LocalPlayer.Clovers.Value +100
  331. end
  332. end
  333. end)
  334.  
  335. MSpeed.Name = "MSpeed"
  336. MSpeed.Parent = Util
  337. MSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
  338. MSpeed.Position = UDim2.new(0.544554472, 0, 0.497907937, 0)
  339. MSpeed.Size = UDim2.new(0, 83, 0, 23)
  340. MSpeed.Style = Enum.ButtonStyle.RobloxRoundButton
  341. MSpeed.Font = Enum.Font.SourceSans
  342. MSpeed.Text = "Walk Speed"
  343. MSpeed.TextSize = 14
  344. MSpeed.MouseButton1Click:connect(function()
  345. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80
  346. end)
  347.  
  348. JPower.Name = "JPower"
  349. JPower.Parent = Util
  350. JPower.BackgroundColor3 = Color3.new(1, 1, 1)
  351. JPower.Position = UDim2.new(0.0198019929, 0, 0.631799161, 0)
  352. JPower.Size = UDim2.new(0, 83, 0, 23)
  353. JPower.Style = Enum.ButtonStyle.RobloxRoundButton
  354. JPower.Font = Enum.Font.SourceSans
  355. JPower.Text = "Jump Power"
  356. JPower.TextSize = 14
  357. JPower.MouseButton1Click:connect(function()
  358. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 180
  359. end)
  360.  
  361. RemoteOn.Name = "RemoteOn"
  362. RemoteOn.Parent = Util
  363. RemoteOn.BackgroundColor3 = Color3.new(1, 1, 1)
  364. RemoteOn.Position = UDim2.new(0.544554472, 0, 0.631799161, 0)
  365. RemoteOn.Size = UDim2.new(0, 83, 0, 23)
  366. RemoteOn.Style = Enum.ButtonStyle.RobloxRoundButton
  367. RemoteOn.Font = Enum.Font.SourceSans
  368. RemoteOn.Text = "Remote On"
  369. RemoteOn.TextSize = 14
  370. RemoteOn.MouseButton1Click:connect(function()
  371. x = 1;
  372. while(x>0) do
  373. wait (0.3)
  374. game.ReplicatedStorage.RemoteDrop:FireServer()
  375. end
  376. end)
  377.  
  378. RemoteOff.Name = "RemoteOff"
  379. RemoteOff.Parent = Util
  380. RemoteOff.BackgroundColor3 = Color3.new(1, 1, 1)
  381. RemoteOff.Position = UDim2.new(0.544554472, 0, 0.753138065, 0)
  382. RemoteOff.Size = UDim2.new(0, 83, 0, 23)
  383. RemoteOff.Style = Enum.ButtonStyle.RobloxRoundButton
  384. RemoteOff.Font = Enum.Font.SourceSans
  385. RemoteOff.Text = "Remote Off"
  386. RemoteOff.TextSize = 14
  387. RemoteOff.MouseButton1Click:connect(function()
  388. x = 0;
  389. end)
  390.  
  391. OBoost.Name = "OBoost"
  392. OBoost.Parent = ScreenGui
  393. OBoost.BackgroundColor3 = Color3.new(1, 1, 1)
  394. OBoost.Position = UDim2.new(0.856797814, 0, 0.180689663, 0)
  395. OBoost.Size = UDim2.new(0, 202, 0, 239)
  396. OBoost.Visible = false
  397. OBoost.Style = Enum.FrameStyle.RobloxSquare
  398.  
  399. BoostTitlebar.Name = "BoostTitlebar"
  400. BoostTitlebar.Parent = OBoost
  401. BoostTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)
  402. BoostTitlebar.Position = UDim2.new(-0.0445544571, 0, -0.0376569033, 0)
  403. BoostTitlebar.Size = UDim2.new(0, 201, 0, 51)
  404. BoostTitlebar.Style = Enum.FrameStyle.RobloxSquare
  405.  
  406. BackMenuB.Name = "BackMenuB"
  407. BackMenuB.Parent = OBoost
  408. BackMenuB.BackgroundColor3 = Color3.new(1, 1, 1)
  409. BackMenuB.BackgroundTransparency = 1
  410. BackMenuB.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)
  411. BackMenuB.Size = UDim2.new(0, 69, 0, 17)
  412. BackMenuB.Font = Enum.Font.SourceSans
  413. BackMenuB.Text = "Back"
  414. BackMenuB.TextColor3 = Color3.new(1, 1, 1)
  415. BackMenuB.TextSize = 14
  416. BackMenuB.MouseButton1Click:connect(function()
  417. OBoost.Visible = false
  418. MenuFrame.Visible = true
  419. end)
  420.  
  421. AutoLayout.Name = "AutoLayout"
  422. AutoLayout.Parent = OBoost
  423. AutoLayout.BackgroundColor3 = Color3.new(1, 1, 1)
  424. AutoLayout.Position = UDim2.new(0.103960395, 0, 0.684708416, 0)
  425. AutoLayout.Size = UDim2.new(0, 148, 0, 37)
  426. AutoLayout.Style = Enum.ButtonStyle.RobloxRoundButton
  427. AutoLayout.Font = Enum.Font.SourceSans
  428. AutoLayout.Text = "Auto Load Layout 1: OFF"
  429. AutoLayout.TextSize = 14
  430.  
  431. local autoload1 = false
  432. AutoLayout.MouseButton1Click:connect(function()
  433. if autoload1 == false then
  434. autoload1 = true
  435. AutoLayout.Text = "Auto Load Layout 1: ON"
  436. else
  437. autoload1 = false
  438. AutoLayout.Text = "Auto Load Layout 1: OFF"
  439. end
  440. end)
  441.  
  442. spawn(function()
  443. while true do
  444. wait()
  445. if autoload1 == true then
  446. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0
  447. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = false
  448. game.ReplicatedStorage.Layouts:InvokeServer("Load","Layout1")
  449. else
  450. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0.5
  451. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = true
  452. end
  453. end
  454. end)
  455.  
  456.  
  457. OreBoost_2.Name = "OreBoost"
  458. OreBoost_2.Parent = OBoost
  459. OreBoost_2.BackgroundColor3 = Color3.new(1, 1, 1)
  460. OreBoost_2.Position = UDim2.new(0.101485148, 0, 0.49318096, 0)
  461. OreBoost_2.Size = UDim2.new(0, 148, 0, 37)
  462. OreBoost_2.Style = Enum.ButtonStyle.RobloxRoundButton
  463. OreBoost_2.Font = Enum.Font.SourceSans
  464. OreBoost_2.Text = "Boost Ore: OFF"
  465. OreBoost_2.TextSize = 14
  466.  
  467. local boost = false
  468. OreBoost_2.MouseButton1Click:connect(function()
  469. if boost == false then
  470. boost = true
  471. OreBoost_2.Text = "Boost Ore: ON"
  472. else
  473. boost = false
  474. OreBoost_2.Text = "Boost Ore: OFF"
  475. end
  476. end)
  477.  
  478. spawn(function()
  479. while true do
  480. wait()
  481. if boost == true then
  482. local tyc = workspace.Tycoons:GetChildren()
  483. for i=1,#tyc do
  484. local basepart = tyc[i]:GetChildren()
  485. for i=1,#basepart do
  486. if basepart[i].ClassName == "Model" then
  487. if basepart[i].Model:findFirstChild("Upgrade") then
  488. if basepart[i].Model.Upgrade:findFirstChild("Cloned") then
  489. else
  490. local decoy = basepart[i].Model.Upgrade:Clone()
  491. decoy.Parent = basepart[i].Model
  492. decoy.Name = "UpgradeDecoy"
  493. local tag = Instance.new("StringValue",basepart[i].Model.Upgrade)
  494. tag.Name = "Cloned"
  495. local deco = basepart[i].Model.Upgrade:GetChildren()
  496. for i=1,#deco do
  497. if deco[i].ClassName == "ParticleEmitter" then
  498. deco[i]:remove()
  499. end
  500. if deco[i].Name == "Mesh" then
  501. deco[i]:remove()
  502. end
  503. if deco[i].Name == "Smoke" then
  504. deco[i]:remove()
  505. end
  506. if deco[i].Name == "Fire" then
  507. deco[i]:remove()
  508. end
  509. end
  510. if basepart[i].Model.Upgrade:findFirstChild("Error") then
  511. basepart[i].Model.Upgrade.Error.Volume = 0
  512. end
  513. basepart[i].Model.Upgrade.Transparency = 1
  514. basepart[i].Model.Upgrade.Size = Vector3.new(5,5,5)
  515. basepart[i].Model.Upgrade.CFrame = CFrame.new(workspace.Tycoons[tostring(game.Players.LocalPlayer.PlayerTycoon.Value)][TextBox.Text].Model.Drop.Position)
  516. end
  517. end
  518. end
  519. end
  520. end
  521. end
  522. end
  523. end)
  524.  
  525. TextLabel_2.Parent = OBoost
  526. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  527. TextLabel_2.BackgroundTransparency = 1
  528. TextLabel_2.Position = UDim2.new(-0.0247524753, 0, -0.0292887036, 0)
  529. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  530. TextLabel_2.Font = Enum.Font.SourceSans
  531. TextLabel_2.Text = "Ore Booster"
  532. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  533. TextLabel_2.TextSize = 24
  534.  
  535. TextBox.Parent = OBoost
  536. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  537. TextBox.Position = UDim2.new(0.103960402, 0, 0.22594142, 0)
  538. TextBox.Size = UDim2.new(0, 148, 0, 54)
  539. TextBox.Font = Enum.Font.SourceSans
  540. TextBox.Text = "Enter Mine Name, Case Sensitive: E.g. \"Basic Iron Mine\""
  541. TextBox.TextScaled = true
  542. TextBox.TextSize = 14
  543. TextBox.TextWrapped = true
  544.  
  545. OpenMenu.Name = "OpenMenu"
  546. OpenMenu.Parent = ScreenGui
  547. OpenMenu.BackgroundColor3 = Color3.new(1, 1, 1)
  548. OpenMenu.Position = UDim2.new(0.473775059, 0, 0.79724133, 0)
  549. OpenMenu.Size = UDim2.new(0, 76, 0, 31)
  550. OpenMenu.Style = Enum.ButtonStyle.RobloxRoundButton
  551. OpenMenu.Font = Enum.Font.SourceSans
  552. OpenMenu.Text = "Open"
  553. OpenMenu.TextSize = 14
  554. OpenMenu.MouseButton1Click:connect(function()
  555. MenuFrame.Visible = true
  556. OpenMenu.Visible = false
  557. end)
  558.  
  559. ASetup.Name = "ASetup"
  560. ASetup.Parent = ScreenGui
  561. ASetup.BackgroundColor3 = Color3.new(1, 1, 1)
  562. ASetup.Position = UDim2.new(0.858078897, 0, 0.182611465, 0)
  563. ASetup.Size = UDim2.new(0, 202, 0, 239)
  564. ASetup.Visible = false
  565. ASetup.Style = Enum.FrameStyle.RobloxSquare
  566.  
  567. SetupTitlebar.Name = "SetupTitlebar"
  568. SetupTitlebar.Parent = ASetup
  569. SetupTitlebar.BackgroundColor3 = Color3.new(1, 1, 1)
  570. SetupTitlebar.Position = UDim2.new(-0.0445544571, 0, -0.0376569033, 0)
  571. SetupTitlebar.Size = UDim2.new(0, 201, 0, 51)
  572. SetupTitlebar.Style = Enum.FrameStyle.RobloxSquare
  573.  
  574. BackMenuS.Name = "BackMenuS"
  575. BackMenuS.Parent = ASetup
  576. BackMenuS.BackgroundColor3 = Color3.new(1, 1, 1)
  577. BackMenuS.BackgroundTransparency = 1
  578. BackMenuS.Position = UDim2.new(0.742574275, 0, 0.927824259, 0)
  579. BackMenuS.Size = UDim2.new(0, 69, 0, 17)
  580. BackMenuS.Font = Enum.Font.SourceSans
  581. BackMenuS.Text = "Back"
  582. BackMenuS.TextColor3 = Color3.new(1, 1, 1)
  583. BackMenuS.TextSize = 14
  584. BackMenuS.MouseButton1Click:connect(function()
  585. ASetup.Visible = false
  586. MenuFrame.Visible = true
  587. end)
  588.  
  589. CatalyzedStar.Name = "CatalyzedStar"
  590. CatalyzedStar.Parent = ASetup
  591. CatalyzedStar.BackgroundColor3 = Color3.new(1, 1, 1)
  592. CatalyzedStar.Position = UDim2.new(0.0990099013, 0, 0.438787639, 0)
  593. CatalyzedStar.Size = UDim2.new(0, 148, 0, 37)
  594. CatalyzedStar.Style = Enum.ButtonStyle.RobloxRoundButton
  595. CatalyzedStar.Font = Enum.Font.SourceSans
  596. CatalyzedStar.Text = "Catalyzed Star"
  597. CatalyzedStar.TextSize = 14
  598. CatalyzedStar.MouseButton1Click:connect(function()
  599. local function A()
  600. wait(0.5)
  601.  
  602. 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))
  603. 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))
  604. 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))
  605. 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))
  606. 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))
  607. 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))
  608. 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))
  609. 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))
  610. 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))
  611. 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))
  612. 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))
  613.  
  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]["Catalyzed Star"].Hitbox
  619.  
  620. --1200 is the default amount of times this will run, feel free to change it to whatever you want!
  621. for i = 1,1000 do wait(.01)
  622. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do
  623. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)
  624. v.CFrame = p
  625. end
  626. end
  627. end
  628.  
  629. A()
  630.  
  631. spawn(function()
  632. while wait(0.1)do
  633. game:GetService'ReplicatedStorage'.RemoteDrop:FireServer()
  634. end
  635. end)
  636. spawn(function()
  637. while wait(1)do
  638. local Ea = game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()
  639. if Ea == true then
  640. wait(3)
  641. A()
  642. end
  643. end
  644. end)
  645. end)
  646.  
  647. NeutronStar.Name = "NeutronStar"
  648. NeutronStar.Parent = ASetup
  649. NeutronStar.BackgroundColor3 = Color3.new(1, 1, 1)
  650. NeutronStar.Position = UDim2.new(0.0990099013, 0, 0.634499252, 0)
  651. NeutronStar.Size = UDim2.new(0, 148, 0, 37)
  652. NeutronStar.Style = Enum.ButtonStyle.RobloxRoundButton
  653. NeutronStar.Font = Enum.Font.SourceSans
  654. NeutronStar.Text = "Neutron Star"
  655. NeutronStar.TextSize = 14
  656. NeutronStar.MouseButton1Click:connect(function()
  657. local function A()
  658. wait(0.5)
  659.  
  660. 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))
  661. 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))
  662. 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))
  663. 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))
  664. 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))
  665. 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))
  666. 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))
  667. 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))
  668. 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))
  669. 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))
  670. 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))
  671.  
  672. local player = game:GetService'Players'.LocalPlayer
  673. local factorye = player.PlayerTycoon.Value
  674. local Factory = tostring(factorye)
  675. -- if you'd like to change the upgrader this goes through, go ahead and change it below
  676. thing = game.Workspace.Tycoons[Factory]["Neutron Star"].Hitbox
  677.  
  678. --1200 is the default amount of times this will run, feel free to change it to whatever you want!
  679. for i = 1,1000 do wait(.01)
  680. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do
  681. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)
  682. v.CFrame = p
  683. end
  684. end
  685. end
  686.  
  687. A()
  688.  
  689. spawn(function()
  690. while wait(0.1)do
  691. game:GetService'ReplicatedStorage'.RemoteDrop:FireServer()
  692. end
  693. end)
  694. spawn(function()
  695. while wait(1)do
  696. local Ea = game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()
  697. if Ea == true then
  698. wait(3)
  699. A()
  700. end
  701. end
  702. end)
  703. end)
  704.  
  705. MorningStar.Name = "MorningStar"
  706. MorningStar.Parent = ASetup
  707. MorningStar.BackgroundColor3 = Color3.new(1, 1, 1)
  708. MorningStar.Position = UDim2.new(0.0965346545, 0, 0.25468725, 0)
  709. MorningStar.Size = UDim2.new(0, 148, 0, 37)
  710. MorningStar.Style = Enum.ButtonStyle.RobloxRoundButton
  711. MorningStar.Font = Enum.Font.SourceSans
  712. MorningStar.Text = "Morning Star"
  713. MorningStar.TextSize = 14
  714. MorningStar.MouseButton1Click:connect(function()
  715. local function A()
  716. wait(0.5)
  717.  
  718. 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))
  719. 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))
  720. 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))
  721. 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))
  722. 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))
  723. 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))
  724. 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))
  725. 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))
  726. 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))
  727. 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))
  728. 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))
  729.  
  730. local player = game:GetService'Players'.LocalPlayer
  731. local factorye = player.PlayerTycoon.Value
  732. local Factory = tostring(factorye)
  733. -- if you'd like to change the upgrader this goes through, go ahead and change it below
  734. thing = game.Workspace.Tycoons[Factory]["Morning Star"].Hitbox
  735.  
  736. --1200 is the default amount of times this will run, feel free to change it to whatever you want!
  737. for i = 1,1000 do wait(.01)
  738. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do
  739. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)
  740. v.CFrame = p
  741. end
  742. end
  743. end
  744.  
  745. A()
  746.  
  747. spawn(function()
  748. while wait(0.1)do
  749. game:GetService'ReplicatedStorage'.RemoteDrop:FireServer()
  750. end
  751. end)
  752. spawn(function()
  753. while wait(1)do
  754. local Ea = game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()
  755. if Ea == true then
  756. wait(3)
  757. A()
  758. end
  759. end
  760. end)
  761. end)
  762.  
  763. TextLabel_3.Parent = ASetup
  764. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  765. TextLabel_3.BackgroundTransparency = 1
  766. TextLabel_3.Position = UDim2.new(-0.0247524753, 0, -0.0292887036, 0)
  767. TextLabel_3.Size = UDim2.new(0, 200, 0, 50)
  768. TextLabel_3.Font = Enum.Font.SourceSans
  769. TextLabel_3.Text = "Auto Setup"
  770. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  771. TextLabel_3.TextSize = 24
  772.  
  773. --[[
  774. Morning Star/Neutron Star Quick loop V2a made by LuckyMMB @ v3rmillion. Discord https://discord.gg/GKzJnUC
  775.  
  776. Thanks to footwears @v3rmillion for the tp loop script which I modified and put in to setups.
  777.  
  778. SMALL SETUP
  779. You need a Symmetrium or Symmetryte Mine, 1 Nature's Grip furnace and 1 Morning Star. This will make NvD-Vgn
  780. in about 2 minutes and is extremely efficient. The quickest ever method to get an Overlord Device.
  781. MEDIUM SETUP
  782. You need a Symmetrium or Symmetryte Mine, 1 Nature's Grip furnace and 1 Neutron Star. This will make UVg-DVg
  783. in about 2 minutes and is extremely efficient. Use this if you don't have the Big Setup upgraders.
  784. BIG SETUP
  785. You need a Symmetrium or Symmetryte Mine, 1 Nature's Grip furnace, 1 Neutron Star, 1 Tesla Refuter, 3 Quantum
  786. Clockwork, 3 True Overlord Devices, 1 The Final Upgrader, 1 Saturated Catalyst, 1 Catalyst, 2 Quantum Ore Polisher,
  787. 2 Azure Spore and a Sage King Furnace. This will get NVG and takes less than 3 minutes from start to rebirth.
  788. CUSTOM SETUP
  789. This can be used in public, private or solo games as it uses the Layouts feature. Place a good dropper and
  790. a furnace and save it to Layout1 (in Base Settings, Layouts) and place a setup with 1 Morning Star OR 1
  791. Neutron Star at the start and a furnace at the end and save it to Layout2. The setup will place down Layout1
  792. for a few seconds, then buy some basic items (conveyors, pink/blue teleporters and ramps), clear the base
  793. and place Layout2. This means you can use conveyors, teleporters and ramps in Layout2 that you may not have
  794. in your inventory. The ore will then loop through the Star (automatically detected by the script which is why
  795. you can only place 1) and carry on to the furnace. If you just want to use the preset setup then go a Solo
  796. game and start the Big Setup, save it to Layout2 then you can go in any server and Layout2 will load.
  797. You can tweak the setup or make your own its completely up to you.
  798.  
  799. Sometimes the ore may overload the star and come out early so it doesn't make enough money to rebirth or it may
  800. not re-enable the ore when the setup restarts so the extra items wont buy and it will break the loop. If this
  801. happens click the setup off/on to restart it or the setup will restart automatically after waiting 4 minutes.
  802.  
  803. You can change the numbers below to fine tune the ore going in (around 50-80 is a good number) and the
  804. number of loops (1000 should be fine but you can take it up to 1200 if you really want to) to get the max
  805. value from your ore.
  806.  
  807. B key brings all the ore to your location. Good for clearing blockages or just testing a certain upgrader.
  808. N key toggles Ore Gates Open/Closed.
  809. M key Toggles all the mines ON/OFF.
  810. H key Remote Clicks the Lightningbolt Refiner Lightningbolt Predicter and Arcane Lightning Upgraders.
  811. J key toggles Remote Clicking On/OFF.
  812. K key toggles Reversible Conveyors.
  813. ]]
  814.  
  815. defaultdropper = "symmetrium" -- Mine used. Choose between symmetrium or symmetryte --
  816. oretime = "30" -- Time in seconds ore drops before it starts looping. More time equals more ore --
  817. loopnumber = "1000" -- Number of loops. About 850 is right but you can go higher --
  818. turnminesoff = true -- Turn mines off when ores go to loop. Set to true or false --
  819.  
  820. smallsetupactive = false
  821. mediumsetupactive = false
  822. bigsetupactive = false
  823. customsetupactive = false
  824. rebirthactive = false
  825. setuptimeactive = false
  826. remoteclickstarted = false
  827. remoteclickactive = false
  828. oregatetoggleactive = false
  829. upgraderclickstarted = false
  830. upgraderclickactive = false
  831.  
  832. local player = game:GetService'Players'.LocalPlayer
  833. local factorye = player.PlayerTycoon.Value
  834. local Factory = tostring(factorye)
  835.  
  836. mouse = game.Players.LocalPlayer:GetMouse()
  837.  
  838. local MainGUI = Instance.new("ScreenGui")
  839. local MainFrame = Instance.new("Frame")
  840. local CloseMH = Instance.new("TextButton")
  841. local Label = Instance.new("TextLabel")
  842. local SmallSetup = Instance.new("TextButton")
  843. local MediumSetup = Instance.new("TextButton")
  844. local BigSetup = Instance.new("TextButton")
  845. local SmallSetupText = Instance.new("TextLabel")
  846. local MediumSetupText = Instance.new("TextLabel")
  847. local BigSetupText = Instance.new("TextLabel")
  848. local CustomSetup = Instance.new("TextButton")
  849. local CustomSetupText = Instance.new("TextLabel")
  850. local LoopFrame = Instance.new("Frame")
  851. local LoopItem = Instance.new("TextBox")
  852. local TPLoopNumber = Instance.new("TextBox")
  853. local LoopButton = Instance.new("TextButton")
  854. local Rebirth = Instance.new("TextButton")
  855. local TPCrates = Instance.new("TextButton")
  856. local CountTpCrates = Instance.new("TextLabel")
  857.  
  858. MainGUI.Name = "MainGUI"
  859. MainGUI.Parent = game.CoreGui
  860. local MainCORE = game.CoreGui["MainGUI"]
  861.  
  862. MainFrame.Name = "MainFrame"
  863. MainFrame.Parent = MainGUI
  864. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  865. MainFrame.BorderColor3 = Color3.new(0, 0, 0)
  866. MainFrame.Position = UDim2.new(1, -170, 0, 0)
  867. MainFrame.Size = UDim2.new(0, 170, 0, 300)
  868. MainFrame.Selectable = true
  869. MainFrame.Active = true
  870. MainFrame.Draggable = true
  871.  
  872. CloseMH.Name = "CloseMH"
  873. CloseMH.Parent = MainFrame
  874. CloseMH.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
  875. CloseMH.BorderColor3 = Color3.new(0, 0, 0)
  876. CloseMH.Position = UDim2.new(0, 10, 0, 8)
  877. CloseMH.Size = UDim2.new(0, 19, 0, 19)
  878. CloseMH.Font = Enum.Font.SourceSans
  879. CloseMH.Text = "X"
  880. CloseMH.TextColor3 = Color3.new(1, 0, 0)
  881. CloseMH.TextScaled = true
  882. CloseMH.TextSize = 17
  883.  
  884. Label.Name = "Label"
  885. Label.Parent = MainFrame
  886. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  887. Label.BackgroundTransparency = 1
  888. Label.BorderSizePixel = 0
  889. Label.Position = UDim2.new(0, 31, 0, 4)
  890. Label.Size = UDim2.new(0, 130, 0, 24)
  891. Label.Font = Enum.Font.SourceSans
  892. Label.Text = "Star Loop GUI"
  893. Label.TextColor3 = Color3.new(0, 0, 0)
  894. Label.TextSize = 22
  895.  
  896. SmallSetup.Name = "SmallSetup"
  897. SmallSetup.Parent = MainFrame
  898. SmallSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  899. SmallSetup.Position = UDim2.new(0, 10, 0, 35)
  900. SmallSetup.Size = UDim2.new(0, 150, 0, 25)
  901. SmallSetup.Font = Enum.Font.SourceSans
  902. SmallSetup.Text = "SMALL SETUP: OFF\nMorning Star"
  903. SmallSetup.TextColor3 = Color3.new(0, 0, 0)
  904. SmallSetup.TextSize = 18
  905. SmallSetup.TextWrapped = true
  906.  
  907. SmallSetupText.Name = "SmallSetupText"
  908. SmallSetupText.Parent = MainFrame
  909. SmallSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  910. SmallSetupText.Position = UDim2.new(0, 10, 0, 70)
  911. SmallSetupText.Size = UDim2.new(0, 150, 0, 60)
  912. SmallSetupText.Font = Enum.Font.SourceSans
  913. SmallSetupText.Text = "Need Symmetrium Mine and a Morning Star. Everything is Automatic."
  914. SmallSetupText.TextColor3 = Color3.new(1, 1, 1)
  915. SmallSetupText.TextSize = 16
  916. SmallSetupText.ZIndex = 6
  917. SmallSetupText.Visible = false
  918. SmallSetupText.TextWrapped = true
  919.  
  920. MediumSetup.Name = "MediumSetup"
  921. MediumSetup.Parent = MainFrame
  922. MediumSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  923. MediumSetup.Position = UDim2.new(0, 10, 0, 70)
  924. MediumSetup.Size = UDim2.new(0, 150, 0, 25)
  925. MediumSetup.Font = Enum.Font.SourceSans
  926. MediumSetup.Text = "MEDIUM SETUP: OFF"
  927. MediumSetup.TextColor3 = Color3.new(0, 0, 0)
  928. MediumSetup.TextSize = 18
  929. MediumSetup.TextWrapped = true
  930.  
  931. MediumSetupText.Name = "MediumSetupText"
  932. MediumSetupText.Parent = MainFrame
  933. MediumSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  934. MediumSetupText.Position = UDim2.new(0, 10, 0, 105)
  935. MediumSetupText.Size = UDim2.new(0, 150, 0, 60)
  936. MediumSetupText.Font = Enum.Font.SourceSans
  937. MediumSetupText.Text = "Need Symmetrium Mine and a Neutron Star. Everything is Automatic."
  938. MediumSetupText.TextColor3 = Color3.new(1, 1, 1)
  939. MediumSetupText.TextSize = 16
  940. MediumSetupText.ZIndex = 6
  941. MediumSetupText.Visible = false
  942. MediumSetupText.TextWrapped = true
  943.  
  944. BigSetup.Name = "BigSetup"
  945. BigSetup.Parent = MainFrame
  946. BigSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  947. BigSetup.Position = UDim2.new(0, 10, 0, 105)
  948. BigSetup.Size = UDim2.new(0, 150, 0, 25)
  949. BigSetup.Font = Enum.Font.SourceSans
  950. BigSetup.Text = "BIG SETUP: OFF"
  951. BigSetup.TextColor3 = Color3.new(0, 0, 0)
  952. BigSetup.TextSize = 18
  953. BigSetup.TextWrapped = true
  954.  
  955. BigSetupText.Name = "BigSetupText"
  956. BigSetupText.Parent = MainFrame
  957. BigSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  958. BigSetupText.Position = UDim2.new(0, 10, 0, 35)
  959. BigSetupText.Size = UDim2.new(0, 150, 0, 60)
  960. BigSetupText.Font = Enum.Font.SourceSans
  961. BigSetupText.Text = "Need Symmetrium Mine Neutron Star and Reborn Items. Fully Automatic."
  962. BigSetupText.TextColor3 = Color3.new(1, 1, 1)
  963. BigSetupText.TextSize = 16
  964. BigSetupText.ZIndex = 6
  965. BigSetupText.Visible = false
  966. BigSetupText.TextWrapped = true
  967.  
  968. CustomSetup.Name = "CustomSetup"
  969. CustomSetup.Parent = MainFrame
  970. CustomSetup.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  971. CustomSetup.Position = UDim2.new(0, 10, 0, 140)
  972. CustomSetup.Size = UDim2.new(0, 150, 0, 25)
  973. CustomSetup.Font = Enum.Font.SourceSans
  974. CustomSetup.Text = "CUSTOM SETUP: OFF"
  975. CustomSetup.TextColor3 = Color3.new(0, 0, 0)
  976. CustomSetup.TextSize = 18
  977. CustomSetup.TextWrapped = true
  978.  
  979. CustomSetupText.Name = "CustomSetupText"
  980. CustomSetupText.Parent = MainFrame
  981. CustomSetupText.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  982. CustomSetupText.Position = UDim2.new(0, 10, 0, 35)
  983. CustomSetupText.Size = UDim2.new(0, 150, 0, 95)
  984. CustomSetupText.Font = Enum.Font.SourceSans
  985. CustomSetupText.Text = "Save a good dropper and furnace to Layout1 and a setup with 1 Neutron Star OR 1 Morning Star to Layout2"
  986. CustomSetupText.TextColor3 = Color3.new(1, 1, 1)
  987. CustomSetupText.TextSize = 16
  988. CustomSetupText.ZIndex = 6
  989. CustomSetupText.Visible = false
  990. CustomSetupText.TextWrapped = true
  991.  
  992. LoopFrame.Name = "LoopFrame"
  993. LoopFrame.Parent = MainFrame
  994. LoopFrame.BackgroundColor3 = Color3.new(0.3, 0.3, 0.9)
  995. LoopFrame.BorderColor3 = Color3.new(0, 0, 0)
  996. LoopFrame.Position = UDim2.new(0, 0, 0, 170)
  997. LoopFrame.Size = UDim2.new(0, 170, 0, 55)
  998.  
  999. LoopItem.Name = "LoopItem"
  1000. LoopItem.Parent = MainFrame
  1001. LoopItem.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)
  1002. LoopItem.Position = UDim2.new(0, 10, 0, 175)
  1003. LoopItem.Size = UDim2.new(0, 150, 0, 20)
  1004. LoopItem.Font = Enum.Font.SourceSans
  1005. LoopItem.Text = "TYPE LOOP ITEM"
  1006. LoopItem.TextColor3 = Color3.new(0, 0, 0)
  1007. LoopItem.TextSize = 18
  1008. LoopItem.TextWrapped = true
  1009. LoopItem.ZIndex = 7
  1010.  
  1011. TPLoopNumber.Name = "TPLoopNumber"
  1012. TPLoopNumber.Parent = MainFrame
  1013. TPLoopNumber.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)
  1014. TPLoopNumber.Position = UDim2.new(0, 10, 0, 200)
  1015. TPLoopNumber.Size = UDim2.new(0, 50, 0, 20)
  1016. TPLoopNumber.Font = Enum.Font.SourceSans
  1017. TPLoopNumber.Text = "1000"
  1018. TPLoopNumber.TextColor3 = Color3.new(0, 0, 0)
  1019. TPLoopNumber.TextSize = 18
  1020. TPLoopNumber.TextWrapped = true
  1021. TPLoopNumber.ZIndex = 7
  1022.  
  1023. LoopButton.Name = "LoopButton"
  1024. LoopButton.Parent = MainFrame
  1025. LoopButton.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)
  1026. LoopButton.Position = UDim2.new(0, 65, 0, 200)
  1027. LoopButton.Size = UDim2.new(0, 95, 0, 20)
  1028. LoopButton.Font = Enum.Font.SourceSans
  1029. LoopButton.Text = "LOOP"
  1030. LoopButton.TextColor3 = Color3.new(0, 0, 0)
  1031. LoopButton.TextSize = 18
  1032. LoopButton.TextWrapped = true
  1033. LoopButton.ZIndex = 7
  1034.  
  1035. Rebirth.Name = "Rebirth"
  1036. Rebirth.Parent = MainFrame
  1037. Rebirth.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  1038. Rebirth.Position = UDim2.new(0, 10, 0, 230)
  1039. Rebirth.Size = UDim2.new(0, 150, 0, 25)
  1040. Rebirth.Font = Enum.Font.SourceSans
  1041. Rebirth.Text = "AUTO REBIRTH: OFF"
  1042. Rebirth.TextColor3 = Color3.new(0, 0, 0)
  1043. Rebirth.TextSize = 18
  1044. Rebirth.TextWrapped = true
  1045.  
  1046. TPCrates.Name = "TPCrates"
  1047. TPCrates.Parent = MainFrame
  1048. TPCrates.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  1049. TPCrates.Position = UDim2.new(0, 10, 0, 265)
  1050. TPCrates.Size = UDim2.new(0, 130, 0, 25)
  1051. TPCrates.Font = Enum.Font.SourceSans
  1052. TPCrates.Text = "TP TO CRATES: OFF"
  1053. TPCrates.TextColor3 = Color3.new(0, 0, 0)
  1054. TPCrates.TextSize = 18
  1055. TPCrates.TextWrapped = true
  1056.  
  1057. CountTpCrates.Name = "CountTpCrates"
  1058. CountTpCrates.Parent = MainFrame
  1059. CountTpCrates.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  1060. CountTpCrates.Position = UDim2.new(0, 140, 0, 265)
  1061. CountTpCrates.Size = UDim2.new(0, 20, 0, 25)
  1062. CountTpCrates.Font = Enum.Font.SourceSans
  1063. CountTpCrates.Text = "0"
  1064. CountTpCrates.TextColor3 = Color3.new(0, 0, 0)
  1065. CountTpCrates.TextSize = 18
  1066. CountTpCrates.TextWrapped = true
  1067.  
  1068. game.Lighting.Changed:connect(function()
  1069. game.Lighting.TimeOfDay = "12:00:00"
  1070. game.Lighting.FogEnd = 9999
  1071. game.Lighting.Brightness = 1
  1072. game.Lighting.ColorCorrection.Brightness = 0
  1073. game.Lighting.ColorCorrection.Saturation = 0
  1074. game.Lighting.Bloom.Intensity = 0
  1075. end)
  1076.  
  1077. local function addtptool()
  1078. local Tele = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  1079. Tele.RequiresHandle = false
  1080. Tele.RobloxLocked = true
  1081. Tele.Name = "TP Tool"
  1082. Tele.ToolTip = "Teleport Tool"
  1083. Tele.Equipped:connect(function(Mouse)
  1084. Mouse.Button1Down:connect(function()
  1085. if Mouse.Target then
  1086. game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame = (CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z))
  1087. end
  1088. end)
  1089. end)
  1090. end
  1091. addtptool()
  1092.  
  1093. function notify(msg)
  1094. game.StarterGui:SetCore('SendNotification', {
  1095. Title = 'Miner\'s Haven';
  1096. Text = msg;
  1097. Duration = 5;
  1098. })
  1099. end
  1100.  
  1101. CloseMH.MouseButton1Down:connect(function()
  1102. MainGUI:Destroy()
  1103. end)
  1104.  
  1105. SmallSetup.MouseEnter:connect(function()
  1106. SmallSetupText.Visible = true
  1107. end)
  1108.  
  1109. SmallSetup.MouseLeave:connect(function()
  1110. SmallSetupText.Visible = false
  1111. end)
  1112.  
  1113. MediumSetup.MouseEnter:connect(function()
  1114. MediumSetupText.Visible = true
  1115. end)
  1116.  
  1117. MediumSetup.MouseLeave:connect(function()
  1118. MediumSetupText.Visible = false
  1119. end)
  1120.  
  1121. BigSetup.MouseEnter:connect(function()
  1122. BigSetupText.Visible = true
  1123. end)
  1124.  
  1125. BigSetup.MouseLeave:connect(function()
  1126. BigSetupText.Visible = false
  1127. end)
  1128.  
  1129. CustomSetup.MouseEnter:connect(function()
  1130. CustomSetupText.Visible = true
  1131. end)
  1132.  
  1133. CustomSetup.MouseLeave:connect(function()
  1134. CustomSetupText.Visible = false
  1135. end)
  1136.  
  1137. spawn (function()
  1138. while true do
  1139. wait(0.1)
  1140. if tpcratesactive == true then
  1141. local player = game:GetService'Players'.LocalPlayer
  1142. local children = game.Workspace:GetChildren()
  1143. for i =1, #children do
  1144. wait(0.1)
  1145. if children[i] ~= nil then
  1146. for x in string.gmatch(children[i].Name, "Crate") do
  1147. if children[i].Parent then
  1148. if children[i].Name ~= "GiftCrate" then
  1149. player.Character:MoveTo(children[i].Position)
  1150. wait(1)
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. local children = game.Workspace.Shadows:GetChildren()
  1157. for i =1, #children do
  1158. wait(0.1)
  1159. if children[i] ~= nil then
  1160. for x in string.gmatch(children[i].Name, "Crate") do
  1161. if children[i].Parent then
  1162. player.Character:MoveTo(children[i].Position)
  1163. wait(1)
  1164. end
  1165. end
  1166. end
  1167. end
  1168. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  1169. end
  1170. end
  1171. end)
  1172.  
  1173. TPCrates.MouseButton1Down:connect(function()
  1174. if tpcratesstarted == true then
  1175. tpcratesstarted = false
  1176. tpcratesactive = false
  1177. TPCrates.Text = "TP TO CRATES: OFF"
  1178. TPCrates.TextColor3 = Color3.new(0, 0, 0)
  1179. else
  1180. tpcratesstarted = true
  1181. tpcratesactive = true
  1182. TPCrates.Text = "TP TO CRATES: ON"
  1183. TPCrates.TextColor3 = Color3.new(1, 0, 0)
  1184. LocationX = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x
  1185. LocationY = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y
  1186. LocationZ = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z
  1187. end
  1188. end)
  1189.  
  1190. SmallSetup.MouseButton1Down:connect(function()
  1191. if smallsetupactive ~= true then
  1192. smallsetupactive = true
  1193. rebirthactive = true
  1194. bigsetupactive = false
  1195. layoutempty = false
  1196. SmallSetup.Text = "SMALL SETUP: ON"
  1197. mediumsetupactive = false
  1198. MediumSetup.Text = "MEDIUM SETUP: OFF"
  1199. MediumSetup.TextColor3 = Color3.new(0, 0, 0)
  1200. BigSetup.Text = "BIG SETUP: OFF"
  1201. SmallSetup.TextColor3 = Color3.new(1, 0, 0)
  1202. BigSetup.TextColor3 = Color3.new(0, 0, 0)
  1203. customsetupactive = false
  1204. setupinuse = false
  1205. CustomSetup.Text = "CUSTOM SETUP: OFF"
  1206. CustomSetup.TextColor3 = Color3.new(0, 0, 0)
  1207. Rebirth.Text = "AUTO REBIRTH: ON"
  1208. Rebirth.TextColor3 = Color3.new(1, 0, 0)
  1209. print("Morning Star Loop (SMALL) setup started on " ..Factory.. ", sit back and relax")
  1210.  
  1211. loopsetupstart()
  1212. else
  1213. smallsetupactive = false
  1214. rebirthactive = false
  1215. setuptimeactive = false
  1216. SmallSetup.Text = "SMALL SETUP: OFF"
  1217. SmallSetup.TextColor3 = Color3.new(0, 0, 0)
  1218. Rebirth.Text = "AUTO REBIRTH: OFF"
  1219. Rebirth.TextColor3 = Color3.new(0, 0, 0)
  1220. end
  1221. end)
  1222.  
  1223. MediumSetup.MouseButton1Down:connect(function()
  1224. if mediumsetupactive ~= true then
  1225. mediumsetupactive = true
  1226. rebirthactive = true
  1227. smallsetupactive = false
  1228. bigsetupactive = false
  1229. layoutempty = false
  1230. mediumsetupactive = true
  1231. setupinuse = false
  1232. MediumSetup.Text = "MEDIUM SETUP: ON"
  1233. MediumSetup.TextColor3 = Color3.new(1, 0, 0)
  1234. SmallSetup.Text = "SMALL SETUP: OFF"
  1235. BigSetup.Text = "BIG SETUP: OFF"
  1236. SmallSetup.TextColor3 = Color3.new(0, 0, 0)
  1237. customsetupactive = false
  1238. CustomSetup.Text = "CUSTOM SETUP: OFF"
  1239. CustomSetup.TextColor3 = Color3.new(0, 0, 0)
  1240. BigSetup.TextColor3 = Color3.new(0, 0, 0)
  1241. Rebirth.Text = "AUTO REBIRTH: ON"
  1242. Rebirth.TextColor3 = Color3.new(1, 0, 0)
  1243. print("Neutron Star Loop (MEDIUM) setup started on " ..Factory.. ", sit back and relax")
  1244.  
  1245. loopsetupstart()
  1246. else
  1247. mediumsetupactive = false
  1248. rebirthactive = false
  1249. setuptimeactive = false
  1250. MediumSetup.Text = "MEDIUM SETUP: OFF"
  1251. MediumSetup.TextColor3 = Color3.new(0, 0, 0)
  1252. Rebirth.Text = "AUTO REBIRTH: OFF"
  1253. Rebirth.TextColor3 = Color3.new(0, 0, 0)
  1254. end
  1255. end)
  1256.  
  1257. BigSetup.MouseButton1Down:connect(function()
  1258. if bigsetupactive ~= true then
  1259. bigsetupactive = true
  1260. rebirthactive = true
  1261. smallsetupactive = false
  1262. layoutempty = false
  1263. mediumsetupactive = false
  1264. setupinuse = false
  1265. MediumSetup.Text = "MEDIUM SETUP: OFF"
  1266. MediumSetup.TextColor3 = Color3.new(0, 0, 0)
  1267. SmallSetup.Text = "SMALL SETUP: OFF"
  1268. BigSetup.Text = "BIG SETUP: ON"
  1269. SmallSetup.TextColor3 = Color3.new(0, 0, 0)
  1270. BigSetup.TextColor3 = Color3.new(1, 0, 0)
  1271. customsetupactive = false
  1272. CustomSetup.Text = "CUSTOM SETUP: OFF"
  1273. CustomSetup.TextColor3 = Color3.new(0, 0, 0)
  1274. Rebirth.Text = "AUTO REBIRTH: ON"
  1275. Rebirth.TextColor3 = Color3.new(1, 0, 0)
  1276. print("Neutron Star Loop {BIG) setup started on " ..Factory.. ", sit back and relax")
  1277.  
  1278. loopsetupstart()
  1279. else
  1280. bigsetupactive = false
  1281. rebirthactive = false
  1282. setuptimeactive = false
  1283. BigSetup.Text = "BIG SETUP: OFF"
  1284. BigSetup.TextColor3 = Color3.new(0, 0, 0)
  1285. Rebirth.Text = "AUTO REBIRTH: OFF"
  1286. Rebirth.TextColor3 = Color3.new(0, 0, 0)
  1287. end
  1288. end)
  1289.  
  1290. CustomSetup.MouseButton1Down:connect(function()
  1291. if customsetupactive ~= true then
  1292. customsetupactive = true
  1293. rebirthactive = true
  1294. smallsetupactive = false
  1295. layoutempty = false
  1296. CustomSetup.Text = "CUSTOM SETUP: ON"
  1297. CustomSetup.TextColor3 = Color3.new(1, 0, 0)
  1298. mediumsetupactive = false
  1299. setupinuse = false
  1300. MediumSetup.Text = "MEDIUM SETUP: OFF"
  1301. MediumSetup.TextColor3 = Color3.new(0, 0, 0)
  1302. SmallSetup.Text = "SMALL SETUP: OFF"
  1303. BigSetup.Text = "BIG SETUP: OFF"
  1304. SmallSetup.TextColor3 = Color3.new(0, 0, 0)
  1305. BigSetup.TextColor3 = Color3.new(0, 0, 0)
  1306. Rebirth.Text = "AUTO REBIRTH: ON"
  1307. Rebirth.TextColor3 = Color3.new(1, 0, 0)
  1308. print("Custom setup started using Layouts1/2 on " ..Factory.. ", sit back and relax")
  1309.  
  1310. loopsetupstart()
  1311. else
  1312. customsetupactive = false
  1313. CustomSetup.Text = "CUSTOM SETUP: OFF"
  1314. CustomSetup.TextColor3 = Color3.new(0, 0, 0)
  1315. rebirthactive = false
  1316. setuptimeactive = false
  1317. Rebirth.Text = "AUTO REBIRTH: OFF"
  1318. Rebirth.TextColor3 = Color3.new(0, 0, 0)
  1319. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0.5
  1320. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = true
  1321. end
  1322. end)
  1323. Rebirth.MouseButton1Down:connect(function()
  1324. if rebirthactive ~= true then
  1325. rebirthactive = true
  1326. Rebirth.Text = "AUTO REBIRTH: ON"
  1327. Rebirth.TextColor3 = Color3.new(1, 0, 0)
  1328. else
  1329. rebirthactive = false
  1330. Rebirth.Text = "AUTO REBIRTH: OFF"
  1331. Rebirth.TextColor3 = Color3.new(0, 0, 0)
  1332. end
  1333. end)
  1334.  
  1335. spawn(function()
  1336. while true do
  1337. wait(0.01)
  1338. if remoteclickactive == true then
  1339. while remoteclickactive == true do
  1340. game:GetService("ReplicatedStorage").RemoteDrop:FireServer()
  1341. wait(0.2)
  1342. end
  1343. end
  1344. end
  1345. end)
  1346.  
  1347. spawn(function()
  1348. while true do
  1349. wait(0.01)
  1350. if pulseclickactive == true then
  1351. while pulseclickactive == true do
  1352. game:GetService("ReplicatedStorage").Pulse:FireServer()
  1353. wait(0.2)
  1354. end
  1355. end
  1356. end
  1357. end)
  1358.  
  1359. spawn(function()
  1360. while true do
  1361. wait(0.25)
  1362. if upgraderclickactive == true then
  1363. while upgraderclickactive == true do
  1364. local ClickEvent = game:GetService("ReplicatedStorage"):WaitForChild('Click');
  1365.  
  1366. local CheckFactory = function()
  1367. for i,v in pairs(workspace.Tycoons:GetChildren()) do
  1368. if v:FindFirstChild('Owner') then
  1369. if v.Owner.Value == game.Players.LocalPlayer.Name then
  1370. return v
  1371. end
  1372. end
  1373. end
  1374. end
  1375.  
  1376. local Factory = tostring(CheckFactory())
  1377. local basepart = workspace.Tycoons[Factory]:GetChildren()
  1378.  
  1379. for i,v in pairs(basepart) do
  1380. if v.Name ~= "Ore Gate" then
  1381. if v.Name ~= "Reversible Conveyor" then
  1382. for _,desc in pairs(v:GetDescendants()) do
  1383. if desc:IsA("ClickDetector") then
  1384. if desc.Parent:IsA('Part') then
  1385. ClickEvent:FireServer(desc.Parent)
  1386. end
  1387. end
  1388. end
  1389. end
  1390. end
  1391. end
  1392. wait(0.2)
  1393. end
  1394. end
  1395. end
  1396. end)
  1397.  
  1398. spawn(function()
  1399. while true do
  1400. wait(0.01)
  1401. if customsetupactive == true then setuptimeout = "600" else setuptimeout = "300" end
  1402. if rebirthactive == true then
  1403. rebirthcashvalue = game.Players.LocalPlayer.leaderstats.Cash.Value
  1404. rebirthcashvalue1 = tostring(rebirthcashvalue)
  1405. game:GetService'ReplicatedStorage'.Rebirth:InvokeServer()
  1406. wait(5)
  1407. if bigsetupactive == true or customsetupactive == true then wait(5) end
  1408. rebirthilfe = game.Players.LocalPlayer.leaderstats.Life.Value
  1409. rebirthilfe = tostring(rebirthilfe)
  1410.  
  1411. factoryitems = workspace.Tycoons[tostring(game.Players.LocalPlayer.PlayerTycoon.Value)]:GetChildren()
  1412. for i =1, #factoryitems do
  1413. if factoryitems[i].ClassName == "Model" then
  1414. layoutempty = false
  1415. break
  1416. end
  1417. layoutempty = true
  1418. end
  1419. --if layoutempty == true then print("base empty") else print("base not empty") end--
  1420.  
  1421. if layoutempty == true then
  1422. if game.Players.LocalPlayer.MinesActivated.Value ~= true then
  1423. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()
  1424. -- print("Turning mines back ON") --
  1425. end
  1426. if smallsetupactive == true or mediumsetupactive == true or bigsetupactive == true or customsetupactive == true then
  1427. if setupinuse == true then
  1428. print("ReBirthed to ".. rebirthilfe .. " Life at ".. rebirthcashvalue1)
  1429. wait(0.5)
  1430. loopsetupstart()
  1431. end
  1432. end
  1433. end
  1434. if setuptimeactive == true then
  1435. if smallsetupactive == true or mediumsetupactive == true then
  1436. setuptime = setuptime + 5
  1437. end
  1438. if bigsetupactive == true or customsetupactive == true then
  1439. setuptime = setuptime + 10
  1440. end
  1441. if tonumber(setuptime) >= tonumber(setuptimeout) then
  1442. print("Something went wrong with Setup or Ore. Restarting..")
  1443. if smallsetupactive == true then
  1444. smallsetupactive = false
  1445. wait(1)
  1446. smallsetupactive = true
  1447. loopsetupstart()
  1448. end
  1449. if mediumsetupactive == true then
  1450. mediumsetupactive = false
  1451. wait(1)
  1452. mediumsetupactive = true
  1453. loopsetupstart()
  1454. end
  1455. if bigsetupactive == true then
  1456. bigsetupactive = false
  1457. wait(1)
  1458. bigsetupactive = true
  1459. loopsetupstart()
  1460. end
  1461. if customsetupactive == true then
  1462. customsetupactive = false
  1463. wait(1)
  1464. customsetupactive = true
  1465. loopsetupstart()
  1466. end
  1467. end
  1468. end
  1469. end
  1470. end
  1471. end)
  1472.  
  1473. function loopsetupstart()
  1474. setupinuse = false
  1475. remoteclickactive = false
  1476. upgraderclickactive = false
  1477. setuptimeactive = true
  1478. setuptime = 0
  1479. if game.Players.LocalPlayer.MinesActivated.Value ~= true then
  1480. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()
  1481. -- print("Turning mines back ON") --
  1482. end
  1483. if layoutempty ~= true then
  1484. game:GetService("ReplicatedStorage").DestroyAll:InvokeServer()
  1485. wait(2)
  1486. end
  1487. setupinuse = true
  1488.  
  1489. if tpcratesstarted == true then
  1490. tpcratesactive = false
  1491. wait(2)
  1492. end
  1493. if customsetupactive == true then
  1494. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = false
  1495. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0
  1496. game:GetService("ReplicatedStorage").Layouts:InvokeServer("Load", "Layout1")
  1497. else
  1498. if defaultdropper == "symmetrium" then
  1499. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1500. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1501. 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
  1502. Event:InvokeServer("Symmetrium Mine", A_1)
  1503.  
  1504. layoutempty = false
  1505.  
  1506. 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
  1507. Event:InvokeServer("Nature's Grip", A_1)
  1508.  
  1509. end
  1510.  
  1511. if defaultdropper == "symmetryte" then
  1512. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1513. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1514. 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
  1515. Event:InvokeServer("Symmetryte Mine", A_1)
  1516.  
  1517. layoutempty = false
  1518.  
  1519. 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
  1520. Event:InvokeServer("Nature's Grip", A_1)
  1521.  
  1522. end
  1523. end
  1524.  
  1525. if tpcratesstarted == true then
  1526. tpcratesactive = true
  1527. end
  1528.  
  1529. wait(4)
  1530.  
  1531. game.ReplicatedStorage.BuyItem:InvokeServer('Basic Conveyor', 99)
  1532. wait(0.5)
  1533. game.ReplicatedStorage.BuyItem:InvokeServer('Raised Shielded Conveyor', 99)
  1534. wait(0.5)
  1535. game.ReplicatedStorage.BuyItem:InvokeServer('Centering Conveyor', 40)
  1536. wait(0.5)
  1537. game.ReplicatedStorage.BuyItem:InvokeServer('Conveyor Wall', 40)
  1538. wait(0.5)
  1539. game.ReplicatedStorage.BuyItem:InvokeServer('Military-Grade Conveyor', 90)
  1540. wait(0.5)
  1541. game.ReplicatedStorage.BuyItem:InvokeServer('Pink Teleporter (Receiver)', 1)
  1542. wait(0.5)
  1543. game.ReplicatedStorage.BuyItem:InvokeServer('Pink Teleporter (Sender)', 4)
  1544. wait(0.5)
  1545. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Replicator', 2)
  1546. wait(0.5)
  1547. game.ReplicatedStorage.BuyItem:InvokeServer('Shrine of Penitence', 1)
  1548. wait(0.5)
  1549.  
  1550. if customsetupactive == true then
  1551. game.ReplicatedStorage.BuyItem:InvokeServer('Raised Mini Conveyor', 99)
  1552. wait(0.5)
  1553. game.ReplicatedStorage.BuyItem:InvokeServer('Conveyor Converter', 10)
  1554. wait(0.5)
  1555. game.ReplicatedStorage.BuyItem:InvokeServer('Basic Conveyor', 99)
  1556. wait(0.5)
  1557. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Teleporter (Receiver)', 1)
  1558. wait(0.5)
  1559. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Teleporter (Sender)', 4)
  1560. wait(0.5)
  1561. game.ReplicatedStorage.BuyItem:InvokeServer('Raised Mini Conveyor', 99)
  1562. wait(0.5)
  1563. game.ReplicatedStorage.BuyItem:InvokeServer('Walled Conveyor', 99)
  1564. wait(0.5)
  1565. game.ReplicatedStorage.BuyItem:InvokeServer('Raised-ier Conveyor', 99)
  1566. wait(0.5)
  1567. game.ReplicatedStorage.BuyItem:InvokeServer('Steel Wall', 20)
  1568. wait(0.5)
  1569. game.ReplicatedStorage.BuyItem:InvokeServer('Metal Wall Segment', 30)
  1570. wait(0.5)
  1571. game.ReplicatedStorage.BuyItem:InvokeServer('Slanted Wall', 20)
  1572. wait(0.5)
  1573. game.ReplicatedStorage.BuyItem:InvokeServer('Controlled Gate', 99)
  1574. wait(0.5)
  1575. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Cannon', 2)
  1576. wait(0.5)
  1577. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Pulsar', 1)
  1578. wait(0.5)
  1579. game.ReplicatedStorage.BuyItem:InvokeServer('Satellite Beam', 1)
  1580. wait(0.5)
  1581. game.ReplicatedStorage.BuyItem:InvokeServer('Spectral Upgrader', 3)
  1582. wait(0.5)
  1583. game.ReplicatedStorage.BuyItem:InvokeServer('Flaming Ore Scanner', 3)
  1584. wait(0.5)
  1585. game.ReplicatedStorage.BuyItem:InvokeServer('Endpoint Refiner', 1)
  1586. wait(0.5)
  1587. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Elevator', 3)
  1588. wait(0.5)
  1589. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Hoister', 3)
  1590. wait(0.5)
  1591. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Winder', 3)
  1592. wait(0.5)
  1593. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Steamer', 4)
  1594. wait(0.5)
  1595. game.ReplicatedStorage.BuyItem:InvokeServer('Portable Ore Advancer', 30)
  1596. wait(0.5)
  1597. game.ReplicatedStorage.BuyItem:InvokeServer('Portable Ore Stopper', 30)
  1598. wait(0.5)
  1599. game.ReplicatedStorage.BuyItem:InvokeServer('Industrial Ore Welder', 4)
  1600. wait(0.5)
  1601. game.ReplicatedStorage.BuyItem:InvokeServer('Nuclear Conveyor', 20)
  1602. wait(0.5)
  1603. game.ReplicatedStorage.BuyItem:InvokeServer('Freon-Blast Upgrader', 2)
  1604. wait(0.5)
  1605. game.ReplicatedStorage.BuyItem:InvokeServer('Plasma Conveyor', 30)
  1606. wait(0.5)
  1607. game.ReplicatedStorage.BuyItem:InvokeServer('Tiny Conveyor', 40)
  1608. wait(0.5)
  1609. game.ReplicatedStorage.BuyItem:InvokeServer('Ladder', 99)
  1610. wait(0.5)
  1611. game.ReplicatedStorage.BuyItem:InvokeServer('Advanced Ore Scanner', 3)
  1612. wait(0.5)
  1613. game.ReplicatedStorage.BuyItem:InvokeServer('Heat Condenser', 4)
  1614. wait(0.5)
  1615. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Roaster', 3)
  1616. wait(0.5)
  1617. game.ReplicatedStorage.BuyItem:InvokeServer('Overhang Upgrader', 3)
  1618. wait(0.5)
  1619. game.ReplicatedStorage.BuyItem:InvokeServer('Overhang Upgrader', 3)
  1620. wait(0.5)
  1621. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Zapper', 3)
  1622. wait(0.5)
  1623. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Collider', 2)
  1624. wait(0.5)
  1625. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Illuminator', 1)
  1626. wait(0.5)
  1627. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Gate', 4)
  1628. wait(0.5)
  1629. game.ReplicatedStorage.BuyItem:InvokeServer('Large Conveyor Ramp', 15)
  1630. wait(0.5)
  1631. game.ReplicatedStorage.BuyItem:InvokeServer('Conveyor Ramp', 99)
  1632. wait(0.5)
  1633. game.ReplicatedStorage.BuyItem:InvokeServer('Fine-Point Upgrader', 4)
  1634. wait(0.5)
  1635. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Recliner', 5)
  1636. wait(0.5)
  1637. game.ReplicatedStorage.BuyItem:InvokeServer('Ore Zapper', 4)
  1638. wait(0.5)
  1639. game.ReplicatedStorage.BuyItem:InvokeServer('Portable Ore Stopper', 30)
  1640. wait(0.5)
  1641. game.ReplicatedStorage.BuyItem:InvokeServer('Orbitable Upgrader', 3)
  1642. wait(0.5)
  1643. game.ReplicatedStorage.BuyItem:InvokeServer('Coal Mine', 15)
  1644. wait(0.5)
  1645. game.ReplicatedStorage.BuyItem:InvokeServer('Plasma Iron Polisher', 3)
  1646. wait(0.5)
  1647. game.ReplicatedStorage.BuyItem:InvokeServer('Ion Field', 1)
  1648. wait(0.5)
  1649. game.ReplicatedStorage.BuyItem:InvokeServer('Way-Up-High Upgrader', 3)
  1650. wait(0.5)
  1651. game.ReplicatedStorage.BuyItem:InvokeServer('Precision Refiner', 1)
  1652. wait(0.5)
  1653. game.ReplicatedStorage.BuyItem:InvokeServer('Drone Upgrader', 2)
  1654. wait(0.5)
  1655. game.ReplicatedStorage.BuyItem:InvokeServer('Flaming Ore Scanner', 2)
  1656. wait(0.5)
  1657. game.ReplicatedStorage.BuyItem:InvokeServer('Half Conveyor', 6)
  1658. wait(0.5)
  1659. end
  1660.  
  1661. wait(4)
  1662. loopsetupstart2()
  1663. end
  1664.  
  1665. function loopsetupstart2()
  1666. setupinuse = false
  1667. if smallsetupactive == true or mediumsetupactive == true or bigsetupactive == true or customsetupactive == true then
  1668.  
  1669. game:GetService("ReplicatedStorage").DestroyAll:InvokeServer()
  1670. wait(2)
  1671.  
  1672. if game.Players.LocalPlayer.MinesActivated.Value ~= true then
  1673. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()
  1674. -- print("Turning mines back ON") --
  1675. end
  1676.  
  1677. if tpcratesstarted == true then
  1678. tpcratesactive = false
  1679. wait(2)
  1680. end
  1681.  
  1682. if customsetupactive == true then
  1683. game.Players.LocalPlayer.PlayerGui.GUI.Notifications.Visible = false
  1684. game.Players.LocalPlayer.PlayerGui.GUI.Menu.Menu.Sounds.Message.Volume = 0
  1685. game:GetService("ReplicatedStorage").Layouts:InvokeServer("Load", "Layout2")
  1686. starloopend()
  1687. else
  1688. if defaultdropper == "symmetrium" then
  1689. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1690. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1691. 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
  1692. Event:InvokeServer("Symmetrium Mine", A_1)
  1693.  
  1694. 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
  1695. Event:InvokeServer("Symmetrium Mine", A_1)
  1696.  
  1697. 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
  1698. Event:InvokeServer("Ore Replicator", A_1)
  1699.  
  1700. 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
  1701. Event:InvokeServer("Ore Replicator", A_1)
  1702.  
  1703. 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
  1704. Event:InvokeServer("Raised Shielded Conveyor", A_1)
  1705.  
  1706. 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
  1707. Event:InvokeServer("Raised Shielded Conveyor", A_1)
  1708.  
  1709. 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
  1710. Event:InvokeServer("Raised Shielded Conveyor", A_1)
  1711.  
  1712. 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
  1713. Event:InvokeServer("Raised Shielded Conveyor", A_1)
  1714.  
  1715. 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
  1716. Event:InvokeServer("Basic Conveyor", A_1)
  1717.  
  1718. 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
  1719. Event:InvokeServer("Basic Conveyor", A_1)
  1720.  
  1721. 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
  1722. Event:InvokeServer("Basic Conveyor", A_1)
  1723.  
  1724. 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
  1725. Event:InvokeServer("Basic Conveyor", A_1)
  1726. end
  1727. if defaultdropper == "symmetryte" then
  1728. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1729. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1730. 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
  1731. Event:InvokeServer("Symmetryte Mine", A_1)
  1732.  
  1733. 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
  1734. Event:InvokeServer("Basic Conveyor", A_1)
  1735.  
  1736. 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
  1737. Event:InvokeServer("Basic Conveyor", A_1)
  1738.  
  1739. 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
  1740. Event:InvokeServer("Basic Conveyor", A_1)
  1741.  
  1742. 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
  1743. Event:InvokeServer("Basic Conveyor", A_1)
  1744. end
  1745. if smallsetupactive == true then
  1746. morningstarloop()
  1747. end
  1748. if mediumsetupactive == true then
  1749. neutronstarloop1()
  1750. end
  1751. if bigsetupactive == true then
  1752. neutronstarloop2()
  1753. end
  1754. end
  1755. end
  1756. end
  1757.  
  1758. function morningstarloop()
  1759. tptarget = "Morning Star"
  1760.  
  1761. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1762. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1763. 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
  1764. Event:InvokeServer("Morning Star", A_1)
  1765.  
  1766. 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
  1767. Event:InvokeServer("Military-Grade Conveyor", A_1)
  1768.  
  1769. 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
  1770. Event:InvokeServer("Military-Grade Conveyor", A_1)
  1771.  
  1772. 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
  1773. Event:InvokeServer("Shrine of Penitence", A_1)
  1774.  
  1775. starloopend()
  1776. end
  1777.  
  1778. function neutronstarloop1()
  1779. tptarget = "Neutron Star"
  1780.  
  1781. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1782. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1783. 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
  1784. Event:InvokeServer("Neutron Star", A_1)
  1785.  
  1786. 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
  1787. Event:InvokeServer("Military-Grade Conveyor", A_1)
  1788.  
  1789. 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
  1790. Event:InvokeServer("Military-Grade Conveyor", A_1)
  1791.  
  1792. 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
  1793. Event:InvokeServer("Shrine of Penitence", A_1)
  1794.  
  1795. starloopend()
  1796. end
  1797.  
  1798. function neutronstarloop2()
  1799. tptarget = "Neutron Star"
  1800.  
  1801. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  1802. local Event = game:GetService("ReplicatedStorage").PlaceItem
  1803. 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
  1804. Event:InvokeServer("Neutron Star", A_1)
  1805.  
  1806. 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
  1807. Event:InvokeServer("Centering Conveyor", A_1)
  1808.  
  1809. 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
  1810. Event:InvokeServer("Centering Conveyor", A_1)
  1811.  
  1812. 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
  1813. Event:InvokeServer("Conveyor Wall", A_1)
  1814.  
  1815. 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
  1816. Event:InvokeServer("Conveyor Wall", A_1)
  1817.  
  1818. 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
  1819. Event:InvokeServer("Conveyor Wall", A_1)
  1820.  
  1821. 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
  1822. Event:InvokeServer("Conveyor Wall", A_1)
  1823.  
  1824. 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
  1825. Event:InvokeServer("Quantum Clockwork", A_1)
  1826.  
  1827. 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
  1828. Event:InvokeServer("True Overlord Device", A_1)
  1829.  
  1830. 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
  1831. Event:InvokeServer("Saturated Catalyst", A_1)
  1832.  
  1833. 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
  1834. Event:InvokeServer("Azure Spore", A_1)
  1835.  
  1836. 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
  1837. Event:InvokeServer("Quantum Ore Polisher", A_1)
  1838.  
  1839. 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
  1840. Event:InvokeServer("Tesla Refuter", A_1)
  1841.  
  1842. 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
  1843. Event:InvokeServer("Quantum Clockwork", A_1)
  1844.  
  1845. 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
  1846. Event:InvokeServer("True Overlord Device", A_1)
  1847.  
  1848. 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
  1849. Event:InvokeServer("Pink Teleporter (Sender)", A_1)
  1850.  
  1851. 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
  1852. Event:InvokeServer("Pink Teleporter (Receiver)", A_1)
  1853.  
  1854. 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
  1855. Event:InvokeServer("Basic Conveyor", A_1)
  1856.  
  1857. 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
  1858. Event:InvokeServer("Centering Conveyor", A_1)
  1859.  
  1860. 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
  1861. Event:InvokeServer("Conveyor Wall", A_1)
  1862.  
  1863. 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
  1864. Event:InvokeServer("Conveyor Wall", A_1)
  1865.  
  1866. 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
  1867. Event:InvokeServer("The Final Upgrader", A_1)
  1868.  
  1869. 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
  1870. Event:InvokeServer("Centering Conveyor", A_1)
  1871.  
  1872. 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
  1873. Event:InvokeServer("Basic Conveyor", A_1)
  1874.  
  1875. 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
  1876. Event:InvokeServer("Conveyor Wall", A_1)
  1877.  
  1878. 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
  1879. Event:InvokeServer("Conveyor Wall", A_1)
  1880.  
  1881. 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
  1882. Event:InvokeServer("True Overlord Device", A_1)
  1883.  
  1884. 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
  1885. Event:InvokeServer("Quantum Clockwork", A_1)
  1886.  
  1887. 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
  1888. Event:InvokeServer("Azure Spore", A_1)
  1889.  
  1890. 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
  1891. Event:InvokeServer("The Catalyst", A_1)
  1892.  
  1893. 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
  1894. Event:InvokeServer("Quantum Ore Polisher", A_1)
  1895.  
  1896. 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
  1897. Event:InvokeServer("Sage King", A_1)
  1898.  
  1899. starloopend()
  1900. end
  1901.  
  1902. function starloopend()
  1903. setupinuse = true
  1904. if tpcratesstarted == true then
  1905. tpcratesactive = true
  1906. end
  1907. if remoteclickstarted == true then
  1908. remoteclickactive = true
  1909. end
  1910. if upgraderclickstarted == true then
  1911. upgraderclickactive = true
  1912. end
  1913. wait(oretime)
  1914.  
  1915. if smallsetupactive == true or mediumsetupactive == true or bigsetupactive == true or customsetupactive == true then
  1916.  
  1917. if turnminesoff then
  1918. if game.Players.LocalPlayer.MinesActivated.Value == true then
  1919. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()
  1920. -- print("Turning mines OFF") --
  1921. end
  1922. end
  1923.  
  1924. if customsetupactive == true then
  1925. local player = game:GetService'Players'.LocalPlayer
  1926. local factorye = player.PlayerTycoon.Value
  1927. local Factory = tostring(factorye)
  1928. local basepart = workspace.Tycoons[Factory]:GetChildren()
  1929. for i=1,#basepart do
  1930. if basepart[i].Name == "Morning Star" then
  1931. tptarget = "Morning Star"
  1932. targeterror = false
  1933. break
  1934. end
  1935. if basepart[i].Name == "Neutron Star" then
  1936. tptarget = "Neutron Star"
  1937. targeterror = false
  1938. break
  1939. end
  1940. targeterror = true
  1941. end
  1942. if targeterror == true then
  1943. print("Error. No Morning Star or Neutron Star found on base.")
  1944. print("Restarting setup to try and fix the problem")
  1945. wait(1)
  1946. customsetupactive = false
  1947. wait(1)
  1948. customsetupactive = true
  1949. loopsetupstart()
  1950. else
  1951. -- print("Target set: " ..tptarget) --
  1952. starloopend2()
  1953. end
  1954. else
  1955. starloopend2()
  1956. end
  1957. end
  1958. end
  1959.  
  1960. function starloopend2()
  1961. local player = game:GetService'Players'.LocalPlayer
  1962. local factorye = player.PlayerTycoon.Value
  1963. local Factory = tostring(factorye)
  1964. thing = game.Workspace.Tycoons[Factory][tptarget].Model.Upgrade
  1965.  
  1966. for n = 1,loopnumber do
  1967. wait(.04)
  1968. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do
  1969. if v.Name ~= "Triple Coal Mine" then
  1970. if v.Name ~= "Coal Mine" then
  1971. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)
  1972. v.CFrame = p
  1973. end
  1974. if smallsetupactive == true then
  1975. SmallSetup.Text = "SMALL - LOOPS("..tostring(n)..")"
  1976. elseif mediumsetupactive == true then
  1977. MediumSetup.Text = "MEDIUM - LOOPS("..tostring(n)..")"
  1978. elseif bigsetupactive == true then
  1979. BigSetup.Text = "BIG - LOOPS("..tostring(n)..")"
  1980. elseif customsetupactive == true then
  1981. CustomSetup.Text = "CUSTOM - LOOPS("..tostring(n)..")"
  1982. end
  1983. end
  1984. end
  1985. end
  1986. wait(3)
  1987. if smallsetupactive == true then
  1988. SmallSetup.Text = "SMALL SETUP: ON"
  1989. elseif mediumsetupactive == true then
  1990. MediumSetup.Text = "MEDIUM SETUP: ON"
  1991. elseif bigsetupactive == true then
  1992. BigSetup.Text = "BIG SETUP: ON"
  1993. elseif customsetupactive == true then
  1994. CustomSetup.Text = "CUSTOM SETUP: ON"
  1995. end
  1996. end
  1997.  
  1998. LoopButton.MouseButton1Down:connect(function()
  1999. local player = game:GetService'Players'.LocalPlayer
  2000. local factorye = player.PlayerTycoon.Value
  2001. local Factory = tostring(factorye)
  2002. thing = game.Workspace.Tycoons[Factory][tostring(LoopItem.Text)].Model.Upgrade
  2003.  
  2004. for n = 1,tonumber(TPLoopNumber.Text) do
  2005. wait(.04)
  2006. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do
  2007. if v.Name ~= "Triple Coal Mine" then
  2008. if v.Name ~= "Coal Mine" then
  2009. local p= CFrame.new(thing.Position.x, thing.Position.y, thing.Position.z)
  2010. v.CFrame = p
  2011. end
  2012. end
  2013. end
  2014. LoopButton.Text = "LOOPS("..tostring(n)..")"
  2015. LoopButton.TextColor3 = Color3.new(1, 0, 0)
  2016. end
  2017. wait(3)
  2018. LoopButton.Text = "LOOP"
  2019. LoopButton.TextColor3 = Color3.new(0, 0, 0)
  2020. end)
  2021.  
  2022. mouse.KeyDown:connect(function(key)
  2023. if key == "b" then
  2024. local player = game:GetService'Players'.LocalPlayer
  2025. local factorynumber = player.PlayerTycoon.Value
  2026. local Factory = tostring(factorynumber)
  2027. for i,v in pairs(game.Workspace.DroppedParts[Factory]:getChildren()) do
  2028. if v.Name ~= "Triple Coal Mine" then
  2029. if v.Name ~= "Coal Mine" then
  2030. 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)
  2031. v.CFrame = p
  2032. end
  2033. end
  2034. end
  2035. end
  2036. end)
  2037.  
  2038. mouse.KeyDown:connect(function(key)
  2039. if key == "m" then
  2040. if game.Players.LocalPlayer.MinesActivated.Value == true then
  2041. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()
  2042. notify'Turning all mines OFF'
  2043. else
  2044. game:GetService("ReplicatedStorage").ToggleMines:InvokeServer()
  2045. notify'Turning all mines ON'
  2046. end
  2047. end
  2048. end)
  2049.  
  2050. mouse.KeyDown:connect(function(key)
  2051. if key == "n" then
  2052. local ClickEvent = game:GetService("ReplicatedStorage"):WaitForChild('Click');
  2053. local CheckFactory = function()
  2054. for i,v in pairs(workspace.Tycoons:GetChildren()) do
  2055. if v:FindFirstChild('Owner') then
  2056. if v.Owner.Value == game.Players.LocalPlayer.Name then
  2057. return v
  2058. end
  2059. end
  2060. end
  2061. end
  2062.  
  2063. local Factory = tostring(CheckFactory())
  2064. local basepart = workspace.Tycoons[Factory]:GetChildren()
  2065.  
  2066. if toggleoregate == true then
  2067. toggleoregate = false
  2068. notify'Closing ALL Ore Gates'
  2069. for i,v in pairs(basepart) do
  2070. if v.Name == "Ore Gate" then
  2071. for _,desc in pairs(v:GetDescendants()) do
  2072. if desc:IsA("ClickDetector") then
  2073. if desc.Parent:IsA("Part") then
  2074. ClickEvent:FireServer(desc.Parent)
  2075. break
  2076. end
  2077. end
  2078. end
  2079. end
  2080. end
  2081. else
  2082. toggleoregate = true
  2083. notify'Opening ALL Ore Gates'
  2084. for i,v in pairs(basepart) do
  2085. if v.Name == "Ore Gate" then
  2086. for _,desc in pairs(v:GetDescendants()) do
  2087. if desc:IsA("ClickDetector") then
  2088. if desc.Parent:IsA("Part") then
  2089. ClickEvent:FireServer(desc.Parent)
  2090. end
  2091. end
  2092. end
  2093. end
  2094. end
  2095. end
  2096. end
  2097. end)
  2098.  
  2099. mouse.KeyDown:connect(function(key)
  2100. if key == "k" then
  2101. local ClickEvent = game:GetService("ReplicatedStorage"):WaitForChild('Click');
  2102. local CheckFactory = function()
  2103. for i,v in pairs(workspace.Tycoons:GetChildren()) do
  2104. if v:FindFirstChild('Owner') then
  2105. if v.Owner.Value == game.Players.LocalPlayer.Name then
  2106. return v
  2107. end
  2108. end
  2109. end
  2110. end
  2111.  
  2112. local Factory = tostring(CheckFactory())
  2113. local basepart = workspace.Tycoons[Factory]:GetChildren()
  2114.  
  2115. for i,v in pairs(basepart) do
  2116. if v.Name == "Reversible Conveyor" then
  2117. for _,desc in pairs(v:GetDescendants()) do
  2118. if desc:IsA("ClickDetector") then
  2119. if desc.Parent:IsA('Part') then
  2120. ClickEvent:FireServer(desc.Parent)
  2121. end
  2122. end
  2123. end
  2124. end
  2125. end
  2126. notify'Switching ALL Reversible Conveyors'
  2127. end
  2128. end)
  2129.  
  2130. mouse.KeyDown:connect(function(key)
  2131. if key == "j" then
  2132. if remoteclickstarted == true then
  2133. remoteclickstarted = false
  2134. remoteclickactive = false
  2135. notify'Remote Clicking turned OFF'
  2136. else
  2137. remoteclickstarted = true
  2138. remoteclickactive = true
  2139. notify'Remote Clicking turned ON'
  2140. end
  2141. end
  2142. end)
  2143.  
  2144. mouse.KeyDown:connect(function(key)
  2145. if key == "h" then
  2146. if upgraderclickstarted == true then
  2147. upgraderclickstarted = false
  2148. upgraderclickactive = false
  2149. notify'Clicking Upgraders turned OFF'
  2150. else
  2151. upgraderclickstarted = true
  2152. upgraderclickactive = true
  2153. notify'Clicking Upgraders turned ON'
  2154. end
  2155. end
  2156. end)
  2157.  
  2158. function CountBricks()
  2159. local count = 0
  2160. for i,v in pairs(workspace:GetChildren()) do
  2161. for x in string.gmatch(v.Name, "Crate") do
  2162. if v.Name ~= "GiftCrate" then
  2163. wait(0.1)
  2164. count = count + 1
  2165. end
  2166. end
  2167. end
  2168. for i,v in pairs(workspace.Shadows:GetChildren()) do
  2169. for x in string.gmatch(v.Name, "Crate") do
  2170. wait(0.1)
  2171. count = count + 1
  2172. end
  2173. end
  2174. return count
  2175. end
  2176.  
  2177. spawn (function()
  2178. while true do
  2179. wait(0.1)
  2180. CountTpCrates.Text = CountBricks()
  2181. end
  2182. end)
  2183.  
  2184. wait(0.5)local ba=Instance.new("ScreenGui")
  2185. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
  2186. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
  2187. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
  2188. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
  2189. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,304,0,52)
  2190. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti Afk Kick Script"ca.TextColor3=Color3.new(0,1,1)
  2191. ca.TextSize=22;da.Parent=ca
  2192. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
  2193. da.Size=UDim2.new(0,304,0,107)_b.Parent=da
  2194. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
  2195. _b.Size=UDim2.new(0,304,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by Warn"
  2196. _b.TextColor3=Color3.new(1,1,1)_b.TextSize=20;ab.Parent=da
  2197. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377379,0)
  2198. ab.Size=UDim2.new(0,304,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Script Started"
  2199. ab.TextColor3=Color3.new(1,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
  2200. game:service'Players'.LocalPlayer.Idled:connect(function()
  2201. bb:CaptureController()bb:ClickButton2(Vector2.new())
  2202. ab.Text="You went idle and ROBLOX tried to kick you but we reflected it!"wait(2)ab.Text="Script Re-Enabled"end)
  2203.  
  2204. -- Credit to Bork for the scripts!
  2205.  
  2206.  
  2207. local MinersHavenGUI = Instance.new("ScreenGui")
  2208. local MainFrame = Instance.new("Frame")
  2209. local BodyFrame = Instance.new("Frame")
  2210. local AutoRebirth = Instance.new("TextButton")
  2211. local AutoRemote = Instance.new("TextButton")
  2212. local TPUpgraders = Instance.new("TextButton")
  2213. local Instructions = Instance.new("TextButton")
  2214. local Credits = Instance.new("TextLabel")
  2215. local Divider = Instance.new("TextLabel")
  2216. local InstructionSteps = Instance.new("Frame")
  2217. local Step1 = Instance.new("TextLabel")
  2218. local Step2 = Instance.new("TextLabel")
  2219. local Step0 = Instance.new("TextLabel")
  2220. local Step3 = Instance.new("TextLabel")
  2221. local Step4 = Instance.new("TextLabel")
  2222. local AutoLayout1 = Instance.new("TextButton")
  2223. local AutoLayout2 = Instance.new("TextButton")
  2224. local AutoLayout3 = Instance.new("TextButton")
  2225. local AutoLayout = Instance.new("TextLabel")
  2226. local Destroy = Instance.new("TextButton")
  2227. local Mini = Instance.new("TextButton")
  2228. local Name = Instance.new("TextLabel")
  2229. --Properties:
  2230. MinersHavenGUI.Name = "MinersHavenGUI"
  2231. MinersHavenGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  2232. MinersHavenGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  2233.  
  2234. MainFrame.Name = "MainFrame"
  2235. MainFrame.Parent = MinersHavenGUI
  2236. MainFrame.Active = true
  2237. MainFrame.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  2238. MainFrame.BorderSizePixel = 0
  2239. MainFrame.Position = UDim2.new(0.108695649, 0, 0.18427518, 0)
  2240. MainFrame.Selectable = true
  2241. MainFrame.Size = UDim2.new(0, 323, 0, 40)
  2242. MainFrame.Draggable = true
  2243.  
  2244. BodyFrame.Name = "BodyFrame"
  2245. BodyFrame.Parent = MainFrame
  2246. BodyFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  2247. BodyFrame.BorderSizePixel = 0
  2248. BodyFrame.Position = UDim2.new(0, 0, 1, 0)
  2249. BodyFrame.Size = UDim2.new(0, 323, 0, 162)
  2250.  
  2251. AutoRebirth.Name = "AutoRebirth"
  2252. AutoRebirth.Parent = BodyFrame
  2253. AutoRebirth.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2254. AutoRebirth.BorderSizePixel = 0
  2255. AutoRebirth.Size = UDim2.new(0, 166, 0, 43)
  2256. AutoRebirth.Font = Enum.Font.SourceSans
  2257. AutoRebirth.Text = "Auto Rebirth: OFF"
  2258. AutoRebirth.TextColor3 = Color3.new(0, 0, 0)
  2259. AutoRebirth.TextSize = 14
  2260.  
  2261. AutoRemote.Name = "AutoRemote"
  2262. AutoRemote.Parent = BodyFrame
  2263. AutoRemote.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2264. AutoRemote.BorderSizePixel = 0
  2265. AutoRemote.Position = UDim2.new(0.4860681, 0, 0, 0)
  2266. AutoRemote.Size = UDim2.new(0, 166, 0, 43)
  2267. AutoRemote.Font = Enum.Font.SourceSans
  2268. AutoRemote.Text = "Auto Remote: OFF"
  2269. AutoRemote.TextColor3 = Color3.new(0, 0, 0)
  2270. AutoRemote.TextSize = 14
  2271.  
  2272. TPUpgraders.Name = "TPUpgraders"
  2273. TPUpgraders.Parent = BodyFrame
  2274. TPUpgraders.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2275. TPUpgraders.BorderSizePixel = 0
  2276. TPUpgraders.Position = UDim2.new(0.241486058, 0, 0.415868074, 0)
  2277. TPUpgraders.Size = UDim2.new(0, 166, 0, 43)
  2278. TPUpgraders.Font = Enum.Font.SourceSans
  2279. TPUpgraders.Text = "Upgrader CFrame"
  2280. TPUpgraders.TextColor3 = Color3.new(0, 0, 0)
  2281. TPUpgraders.TextSize = 14
  2282.  
  2283. Instructions.Name = "Instructions"
  2284. Instructions.Parent = BodyFrame
  2285. Instructions.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2286. Instructions.BorderSizePixel = 0
  2287. Instructions.Position = UDim2.new(0.365325123, 0, 0.722740173, 0)
  2288. Instructions.Size = UDim2.new(0, 87, 0, 25)
  2289. Instructions.Font = Enum.Font.SourceSans
  2290. Instructions.Text = "Instructions: OFF"
  2291. Instructions.TextColor3 = Color3.new(0, 0, 0)
  2292. Instructions.TextSize = 14
  2293.  
  2294. Credits.Name = "Credits"
  2295. Credits.Parent = BodyFrame
  2296. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  2297. Credits.BackgroundTransparency = 1
  2298. Credits.BorderSizePixel = 0
  2299. Credits.Position = UDim2.new(0.662538707, 0, 0.74125874, 0)
  2300. Credits.Size = UDim2.new(0, 109, 0, 37)
  2301. Credits.Font = Enum.Font.SourceSans
  2302. Credits.Text = "by Stefanuk12"
  2303. Credits.TextColor3 = Color3.new(0, 0, 0)
  2304. Credits.TextSize = 14
  2305.  
  2306. Divider.Name = "Divider"
  2307. Divider.Parent = BodyFrame
  2308. Divider.BackgroundColor3 = Color3.new(1, 1, 1)
  2309. Divider.BorderColor3 = Color3.new(0, 0, 0)
  2310. Divider.Position = UDim2.new(0, 0, 0.263662249, 0)
  2311. Divider.Size = UDim2.new(0, 323, 0, 0)
  2312. Divider.Font = Enum.Font.SourceSans
  2313. Divider.Text = " "
  2314. Divider.TextColor3 = Color3.new(0, 0, 0)
  2315. Divider.TextSize = 14
  2316.  
  2317. InstructionSteps.Name = "InstructionSteps"
  2318. InstructionSteps.Parent = BodyFrame
  2319. InstructionSteps.BackgroundColor3 = Color3.new(1, 1, 1)
  2320. InstructionSteps.BorderSizePixel = 0
  2321. InstructionSteps.Position = UDim2.new(1, 0, 0, 0)
  2322. InstructionSteps.Size = UDim2.new(0, 323, 0, 162)
  2323. InstructionSteps.Visible = false
  2324.  
  2325. Step1.Name = "Step1"
  2326. Step1.Parent = InstructionSteps
  2327. Step1.BackgroundColor3 = Color3.new(1, 1, 1)
  2328. Step1.BorderSizePixel = 0
  2329. Step1.Position = UDim2.new(0, 0, 0.240740746, 0)
  2330. Step1.Size = UDim2.new(0, 323, 0, 29)
  2331. Step1.Font = Enum.Font.SourceSansLight
  2332. Step1.Text = "1. Make a layout - Look at thread for more info"
  2333. Step1.TextColor3 = Color3.new(0, 0, 0)
  2334. Step1.TextSize = 14
  2335.  
  2336. Step2.Name = "Step2"
  2337. Step2.Parent = InstructionSteps
  2338. Step2.BackgroundColor3 = Color3.new(1, 1, 1)
  2339. Step2.BorderSizePixel = 0
  2340. Step2.Position = UDim2.new(0, 0, 0.419753045, 0)
  2341. Step2.Size = UDim2.new(0, 323, 0, 29)
  2342. Step2.Font = Enum.Font.SourceSansLight
  2343. Step2.Text = "2. Turn AutoRebirth/Remote ON"
  2344. Step2.TextColor3 = Color3.new(0, 0, 0)
  2345. Step2.TextSize = 14
  2346.  
  2347. Step0.Name = "Step0"
  2348. Step0.Parent = InstructionSteps
  2349. Step0.BackgroundColor3 = Color3.new(1, 1, 1)
  2350. Step0.BorderSizePixel = 0
  2351. Step0.Position = UDim2.new(0, 0, 0.0679011345, 0)
  2352. Step0.Size = UDim2.new(0, 323, 0, 29)
  2353. Step0.Font = Enum.Font.SourceSansLight
  2354. Step0.Text = "0. Find a game with people that have very high rebirths"
  2355. Step0.TextColor3 = Color3.new(0, 0, 0)
  2356. Step0.TextSize = 14
  2357.  
  2358. Step3.Name = "Step3"
  2359. Step3.Parent = InstructionSteps
  2360. Step3.BackgroundColor3 = Color3.new(1, 1, 1)
  2361. Step3.BorderSizePixel = 0
  2362. Step3.Position = UDim2.new(0, 0, 0.598765433, 0)
  2363. Step3.Size = UDim2.new(0, 323, 0, 29)
  2364. Step3.Font = Enum.Font.SourceSansLight
  2365. Step3.Text = "3. Press the Upgrader CFrame button and load the layout"
  2366. Step3.TextColor3 = Color3.new(0, 0, 0)
  2367. Step3.TextSize = 14
  2368.  
  2369. Step4.Name = "Step4"
  2370. Step4.Parent = InstructionSteps
  2371. Step4.BackgroundColor3 = Color3.new(1, 1, 1)
  2372. Step4.BorderSizePixel = 0
  2373. Step4.Position = UDim2.new(0, 0, 0.746913552, 0)
  2374. Step4.Size = UDim2.new(0, 323, 0, 29)
  2375. Step4.Font = Enum.Font.SourceSansLight
  2376. Step4.Text = "4. Once you've rebirthed, Repeat from Step 3"
  2377. Step4.TextColor3 = Color3.new(0, 0, 0)
  2378. Step4.TextSize = 14
  2379.  
  2380. AutoLayout1.Name = "AutoLayout1"
  2381. AutoLayout1.Parent = BodyFrame
  2382. AutoLayout1.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2383. AutoLayout1.BorderSizePixel = 0
  2384. AutoLayout1.Position = UDim2.new(0, 0, 0.839506149, 0)
  2385. AutoLayout1.Size = UDim2.new(0, 22, 0, 26)
  2386. AutoLayout1.Font = Enum.Font.SourceSans
  2387. AutoLayout1.Text = "1"
  2388. AutoLayout1.TextColor3 = Color3.new(0, 0, 0)
  2389. AutoLayout1.TextSize = 14
  2390.  
  2391. AutoLayout2.Name = "AutoLayout2"
  2392. AutoLayout2.Parent = BodyFrame
  2393. AutoLayout2.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2394. AutoLayout2.BorderSizePixel = 0
  2395. AutoLayout2.Position = UDim2.new(0.067079477, 0, 0.839506149, 0)
  2396. AutoLayout2.Size = UDim2.new(0, 22, 0, 26)
  2397. AutoLayout2.Font = Enum.Font.SourceSans
  2398. AutoLayout2.Text = "2"
  2399. AutoLayout2.TextColor3 = Color3.new(0, 0, 0)
  2400. AutoLayout2.TextSize = 14
  2401.  
  2402. AutoLayout3.Name = "AutoLayout3"
  2403. AutoLayout3.Parent = BodyFrame
  2404. AutoLayout3.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2405. AutoLayout3.BorderSizePixel = 0
  2406. AutoLayout3.Position = UDim2.new(0.134158954, 0, 0.839506149, 0)
  2407. AutoLayout3.Size = UDim2.new(0, 22, 0, 26)
  2408. AutoLayout3.Font = Enum.Font.SourceSans
  2409. AutoLayout3.Text = "3"
  2410. AutoLayout3.TextColor3 = Color3.new(0, 0, 0)
  2411. AutoLayout3.TextSize = 14
  2412.  
  2413. AutoLayout.Name = "AutoLayout"
  2414. AutoLayout.Parent = BodyFrame
  2415. AutoLayout.BackgroundColor3 = Color3.new(1, 1, 1)
  2416. AutoLayout.BackgroundTransparency = 1
  2417. AutoLayout.BorderSizePixel = 0
  2418. AutoLayout.Position = UDim2.new(0, 0, 0.697530866, 0)
  2419. AutoLayout.Size = UDim2.new(0, 65, 0, 29)
  2420. AutoLayout.Font = Enum.Font.SourceSans
  2421. AutoLayout.Text = "Auto Layout"
  2422. AutoLayout.TextColor3 = Color3.new(0, 0, 0)
  2423. AutoLayout.TextSize = 14
  2424.  
  2425. Destroy.Name = "Destroy"
  2426. Destroy.Parent = MainFrame
  2427. Destroy.BackgroundColor3 = Color3.new(1, 1, 1)
  2428. Destroy.BackgroundTransparency = 1
  2429. Destroy.BorderSizePixel = 0
  2430. Destroy.Position = UDim2.new(0.801857591, 0, 0, 0)
  2431. Destroy.Size = UDim2.new(0, 64, 0, 40)
  2432. Destroy.Font = Enum.Font.SourceSans
  2433. Destroy.Text = "X"
  2434. Destroy.TextColor3 = Color3.new(0, 0, 0)
  2435. Destroy.TextSize = 14
  2436.  
  2437. Mini.Name = "Mini"
  2438. Mini.Parent = MainFrame
  2439. Mini.BackgroundColor3 = Color3.new(1, 1, 1)
  2440. Mini.BackgroundTransparency = 1
  2441. Mini.BorderSizePixel = 0
  2442. Mini.Position = UDim2.new(0.603715181, 0, 0, 0)
  2443. Mini.Size = UDim2.new(0, 64, 0, 40)
  2444. Mini.Font = Enum.Font.SourceSans
  2445. Mini.Text = "_"
  2446. Mini.TextColor3 = Color3.new(0, 0, 0)
  2447. Mini.TextSize = 14
  2448.  
  2449. Name.Name = "Name"
  2450. Name.Parent = MainFrame
  2451. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  2452. Name.BackgroundTransparency = 1
  2453. Name.BorderSizePixel = 0
  2454. Name.Size = UDim2.new(0, 195, 0, 40)
  2455. Name.Font = Enum.Font.SourceSansLight
  2456. Name.Text = "Rebirthing Tool - Miners Haven"
  2457. Name.TextColor3 = Color3.new(0, 0, 0)
  2458. Name.TextSize = 14
  2459.  
  2460. -- Scripts:
  2461.  
  2462. _G.AutoRebirth = false
  2463. _G.AutoRemote = false
  2464.  
  2465.  
  2466. Destroy.MouseButton1Click:connect(function() -- Destory GUI
  2467. MinersHavenGUI:Destroy()
  2468. end)
  2469.  
  2470. Mini.MouseButton1Click:connect(function() -- Minimise/Restore GUI
  2471. if BodyFrame.Visible == true then
  2472. BodyFrame.Visible = false
  2473. else BodyFrame.Visible = true
  2474. end
  2475. end)
  2476.  
  2477. Instructions.MouseButton1Click:connect(function() -- Minimise/Restore Instructions
  2478. if InstructionSteps.Visible == false then
  2479. InstructionSteps.Visible = true
  2480. Instructions.Text = "Instructions: ON"
  2481. else InstructionSteps.Visible = false
  2482. Instructions.Text = "Instructions: OFF"
  2483. end
  2484. end)
  2485.  
  2486. AutoRebirth.MouseButton1Click:connect(function() -- Toggle work for AutoRebirth
  2487. if _G.AutoRebirth == false then
  2488. _G.AutoRebirth = true
  2489. AutoRebirth.Text = "Auto Rebirth: ON"
  2490. else _G.AutoRebirth = false
  2491. AutoRebirth.Text = "Auto Rebirth: OFF"
  2492. end
  2493. while _G.AutoRebirth == true do wait()
  2494. game.ReplicatedStorage.Rebirth:InvokeServer()
  2495. end
  2496. end)
  2497.  
  2498. AutoRemote.MouseButton1Click:connect(function() -- Toggle work for AutoRemote
  2499. if _G.AutoRemote == false then
  2500. _G.AutoRemote = true
  2501. AutoRemote.Text = "Auto Remote: ON"
  2502. else _G.AutoRemote = false
  2503. AutoRemote.Text = "Auto Remote: OFF"
  2504. end
  2505. while _G.AutoRemote == true do wait()
  2506. game.ReplicatedStorage.RemoteDrop:FireServer()
  2507. end
  2508. end)
  2509.  
  2510. TPUpgraders.MouseButton1Click:connect(function() -- Teleports all of the upgraders into the conveyor
  2511. game.ReplicatedStorage.DestroyAll:InvokeServer()
  2512. local Tycoon = workspace.Tycoons:FindFirstChild(tostring(game.Players.LocalPlayer.PlayerTycoon.Value))
  2513. local PlaceItem = game.ReplicatedStorage.PlaceItem
  2514. local placehere = CFrame.new(0, 2, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) + Tycoon:FindFirstChild("Base").Position
  2515. PlaceItem:InvokeServer("Basic Conveyor", placehere)
  2516. wait(0.01)
  2517. local pt = game.Players.LocalPlayer.PlayerTycoon.Value
  2518. local cv = game.Players.LocalPlayer.PlayerTycoon.Value["Basic Conveyor"].Hitbox
  2519. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do
  2520. 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
  2521. v:Remove()
  2522. end
  2523. end
  2524. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do
  2525. if v.Name == "Upgrade" then
  2526. v.Transparency = 1
  2527. v.CFrame = cv.CFrame*CFrame.new(0,100,0)
  2528. end
  2529. end
  2530. for i,v in pairs(game.Workspace.Tycoons:GetDescendants()) do
  2531. if v.Name == "Morning Star" or v.Name == "Nova Star" then
  2532. v:Remove()
  2533. elseif v.Name == "Tesla Resetter" or v.Name == "Tesla Refuter" then
  2534. v.Model.Upgrade.CFrame = cv.CFrame*CFrame.new(0,50,0)
  2535. elseif v.Name == "The Final Upgrader" or v.Name == "The Ultimate Sacrifice" then
  2536. v.Model.Upgrade.CFrame = cv.CFrame*CFrame.new(0,75,0)
  2537. end
  2538. end
  2539. pt["Basic Conveyor"].Hitbox.Touched:connect(function(hit)
  2540. if hit:FindFirstChild("Cash") then
  2541. if hit:FindFirstChild("Bork") then
  2542. local variable = true
  2543. else
  2544. local int = Instance.new("IntValue")
  2545. int.Parent = hit
  2546. int.Name = "Bork"
  2547. hit.CFrame = cv.CFrame*CFrame.new(0,100,0)
  2548. wait(0.05)
  2549. hit.CFrame = cv.CFrame*CFrame.new(0,50,0)
  2550. wait(0.05)
  2551. hit.CFrame = cv.CFrame*CFrame.new(0,100,0)
  2552. wait(0.05)
  2553. hit.CFrame = cv.CFrame*CFrame.new(0,75,0)
  2554. wait(0.05)
  2555. hit.CFrame = cv.CFrame*CFrame.new(0,100,0)
  2556. wait(0.5)
  2557. hit.CFrame = pt["Basic Furnace"].Model.Lava.CFrame
  2558. end
  2559. end
  2560. end)
  2561. end)
  2562.  
  2563. AutoLayout2.MouseButton1Down:connect(function() -- Layout 2 gets placed after Rebirth
  2564. game.Players.LocalPlayer.leaderstats.Life.Changed:connect(function(plr)
  2565. delay(7, function()
  2566. game.ReplicatedStorage.Layouts:InvokeServer("Load", "Layout2")
  2567. end)
  2568. end)
  2569. end)
  2570.  
  2571. AutoLayout3.MouseButton1Down:connect(function() -- Layout 3 gets placed after Rebirth
  2572. game.Players.LocalPlayer.leaderstats.Life.Changed:connect(function(plr)
  2573. delay(7, function()
  2574. game.ReplicatedStorage.Layouts:InvokeServer("Load", "Layout3")
  2575. end)
  2576. end)
  2577. end)
  2578.  
  2579.  
  2580. print("Rebirthing Tool by Stefanuk12. Scripts by Bork")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement