Guest User

script

a guest
Dec 21st, 2019
1,436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. --[[ Miners Haven Ore Booster
  2. only works on vip server (takes tycoon1 upgraders)
  3. setup required: fireproof ore leading to a basic conveyor, then stars and upgraders anywhere on the base. furnace anywhere on the base.
  4. edits required: name of furnace and cap of your star loop (https://minershaven.fandom.com/wiki/Cash_Suffixes)
  5. edit it below
  6. ]]
  7.  
  8. local furnace = "Dreamer's Terror"
  9. local starmax = 1e+90
  10.  
  11.  
  12. --[[no need to edit below]]
  13. -- when the ore hits conveyor
  14. game.Players.LocalPlayer.PlayerTycoon.Value["Basic Conveyor"].Hitbox.Touched:connect(function(hit)
  15. if hit:FindFirstChild("Cash") then
  16.  
  17. --star loop
  18. while hit.Cash.Value < starmax do
  19. for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
  20. if v.Name == "Morning Star" or v.Name == "Blue Supergiant" or v.Name == "Nova Star" or v.Name == "Catalyzed Star" or v.Name == "Red Giant" then
  21. hit.CFrame = v.Model.Upgrade.CFrame
  22. hit.Velocity = Vector3.new(0,0,0)
  23. wait()
  24. wait()
  25. end
  26. if v.Name == "Neutron Star" then
  27. hit.CFrame = v.Model.Upgrade2.CFrame
  28. hit.Velocity = Vector3.new(0,0,0)
  29. wait()
  30. hit.CFrame = v.Model.Upgrade.CFrame
  31. hit.Velocity = Vector3.new(0,0,0)
  32. wait()
  33. end
  34. end
  35. wait()
  36. end
  37.  
  38. --upgraders
  39. for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
  40. if v.Name == "Upgrade" and v.Parent.Parent.Name ~= "Tesla Refuter" and v.Parent.Parent.Name ~= "Tesla Resetter" and v.Parent.Parent.Name ~= "The Final Upgrader" and v.Parent.Parent.Name ~= "The Ultimate Sacrifice" then
  41. hit.CFrame = v.CFrame
  42. hit.Velocity = Vector3.new(0,0,0)
  43. wait(0.25)
  44. end
  45. end
  46.  
  47. -- tesla
  48. for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
  49. if v.Name == "Tesla Resetter" or v.Name == "Tesla Refuter" then
  50. hit.CFrame = v.Model.Upgrade.CFrame
  51. hit.Velocity = Vector3.new(0,0,0)
  52. wait(0.25)
  53. end
  54. end
  55.  
  56. -- upgraders
  57. for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
  58. if v.Name == "Upgrade" and v.Parent.Parent.Name ~= "Tesla Refuter" and v.Parent.Parent.Name ~= "Tesla Resetter" and v.Parent.Parent.Name ~= "The Final Upgrader" and v.Parent.Parent.Name ~= "The Ultimate Sacrifice" then
  59. hit.CFrame = v.CFrame
  60. hit.Velocity = Vector3.new(0,0,0)
  61. wait(0.25)
  62. end
  63. end
  64.  
  65. -- final upgraders
  66. for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
  67. if v.Name == "The Final Upgrader" or v.Name == "The Ultimate Sacrifice" then
  68. hit.CFrame = v.Model.Upgrade.CFrame
  69. hit.Velocity = Vector3.new(0,0,0)
  70. wait(0.25)
  71. end
  72. end
  73.  
  74. -- upgraders
  75. for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
  76. if v.Name == "Upgrade" and v.Parent.Parent.Name ~= "Tesla Refuter" and v.Parent.Parent.Name ~= "Tesla Resetter" and v.Parent.Parent.Name ~= "The Final Upgrader" and v.Parent.Parent.Name ~= "The Ultimate Sacrifice" then
  77. hit.CFrame = v.CFrame
  78. hit.Velocity = Vector3.new(0,0,0)
  79. wait(0.25)
  80. end
  81. end
  82.  
  83. -- furnace
  84. hit.CFrame = game.Players.LocalPlayer.PlayerTycoon.Value[furnace].Model.Lava.CFrame
  85. wait(0.25)
  86. end
  87. end)
Advertisement
Add Comment
Please, Sign In to add comment