Advertisement
Totalxterror

Egg Farm

Nov 30th, 2019 (edited)
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 23.73 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  2.  
  3. local w = library:CreateWindow("Egg Farm Simulator") -- Creates the window
  4.  
  5. -------------------------------------------------------------------------------------------------------------------
  6.  
  7. -- Row 1 Start
  8. local b = w:CreateFolder("1K Row Levels") -- Creates the folder(U will put here your buttons,etc)
  9.  
  10. b:Toggle("Row 1 Entire 1k",function(bool1k)
  11.     shared.toggle1k = bool1k
  12. end)
  13.  
  14. spawn(function()
  15.     while wait() do
  16.         if shared.toggle1k then
  17.             local oh1 = "Train"
  18.             local oh2 = "1"
  19.             local oh4 = 1000
  20.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  21.         end
  22.     end
  23. end)
  24.  
  25. spawn(function()
  26.     while wait() do
  27.         if shared.toggle1k then
  28.             local oh1 = "Train"
  29.             local oh2 = "2"
  30.             local oh4 = 25
  31.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  32.         end
  33.     end
  34. end)
  35.  
  36. spawn(function()
  37.     while wait() do
  38.         if shared.toggle1k then
  39.             local oh1 = "Train"
  40.             local oh2 = "3"
  41.             local oh4 = 1000
  42.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  43.         end
  44.     end
  45. end)
  46.  
  47. spawn(function()
  48.     while wait() do
  49.         if shared.toggle1k then
  50.             local oh1 = "Train"
  51.             local oh2 = "4"
  52.             local oh4 = 1000
  53.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  54.         end
  55.     end
  56. end)
  57.  
  58. spawn(function()
  59.     while wait() do
  60.         if shared.toggle1k then
  61.             local oh1 = "Train"
  62.             local oh2 = "5"
  63.             local oh4 = 1000
  64.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  65.         end
  66.     end
  67. end)
  68.  
  69. spawn(function()
  70.     while wait() do
  71.         if shared.toggle1k then
  72.             local oh1 = "Train"
  73.             local oh2 = "6"
  74.             local oh4 = 1000
  75.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  76.         end
  77.     end
  78. end)
  79.  
  80. -- Row 1 End
  81.  
  82. ----------------------------------------------------------------
  83.  
  84. -- Row 2 Start
  85.  
  86. b:Toggle("Row 2 Entire 1K",function(bool2k)
  87.     shared.toggle2k = bool2k
  88. end)
  89.  
  90. spawn(function()
  91.     while wait() do
  92.         if shared.toggle2k then
  93.             local oh1 = "Train"
  94.             local oh2 = "7"
  95.             local oh4 = 1000
  96.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  97.         end
  98.     end
  99. end)
  100.  
  101. spawn(function()
  102.     while wait() do
  103.         if shared.toggle2k then
  104.             local oh1 = "Train"
  105.             local oh2 = "8"
  106.             local oh4 = 1000
  107.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  108.         end
  109.     end
  110. end)
  111.  
  112. spawn(function()
  113.     while wait() do
  114.         if shared.toggle2k then
  115.             local oh1 = "Train"
  116.             local oh2 = "9"
  117.             local oh4 = 1000
  118.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  119.         end
  120.     end
  121. end)
  122.  
  123. spawn(function()
  124.     while wait() do
  125.         if shared.toggle2k then
  126.             local oh1 = "Train"
  127.             local oh2 = "10"
  128.             local oh4 = 1000
  129.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  130.         end
  131.     end
  132. end)
  133.  
  134. spawn(function()
  135.     while wait() do
  136.         if shared.toggle2k then
  137.             local oh1 = "Train"
  138.             local oh2 = "11"
  139.             local oh4 = 1000
  140.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  141.         end
  142.     end
  143. end)
  144.  
  145. spawn(function()
  146.     while wait() do
  147.         if shared.toggle2k then
  148.             local oh1 = "Train"
  149.             local oh2 = "12"
  150.             local oh4 = 1000
  151.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  152.         end
  153.     end
  154. end)
  155.  
  156. spawn(function()
  157.     while wait() do
  158.         if shared.toggle2k then
  159.             local oh1 = "Train"
  160.             local oh2 = "13"
  161.             local oh4 = 1000
  162.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  163.         end
  164.     end
  165. end)
  166.  
  167. spawn(function()
  168.     while wait() do
  169.         if shared.toggle2k then
  170.             local oh1 = "Train"
  171.             local oh2 = "14"
  172.             local oh4 = 1000
  173.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  174.         end
  175.     end
  176. end)
  177.  
  178. spawn(function()
  179.     while wait() do
  180.         if shared.toggle2k then
  181.             local oh1 = "Train"
  182.             local oh2 = "15"
  183.             local oh4 = 1000
  184.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  185.         end
  186.     end
  187. end)
  188.  
  189. spawn(function()
  190.     while wait() do
  191.         if shared.toggle2k then
  192.             local oh1 = "Train"
  193.             local oh2 = "16"
  194.             local oh4 = 1000
  195.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  196.         end
  197.     end
  198. end)
  199.  
  200. -- Row 2 End
  201.  
  202. ----------------------------------------------------------------------------------------------------------
  203.  
  204. -- Row 3 Start
  205.  
  206. b:Toggle("Row 3 Entire 1K",function(bool3K)
  207.     shared.toggle3K = bool3K
  208. end)
  209.  
  210. spawn(function()
  211.     while wait() do
  212.         if shared.toggle3K then
  213.             local oh1 = "Train"
  214.             local oh2 = "17"
  215.             local oh4 = 1000
  216.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  217.         end
  218.     end
  219. end)
  220.  
  221. spawn(function()
  222.     while wait() do
  223.         if shared.toggle3K then
  224.             local oh1 = "Train"
  225.             local oh2 = "18"
  226.             local oh4 = 1000
  227.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  228.         end
  229.     end
  230. end)
  231.  
  232. spawn(function()
  233.     while wait() do
  234.         if shared.toggle3K then
  235.             local oh1 = "Train"
  236.             local oh2 = "19"
  237.             local oh4 = 1000
  238.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  239.         end
  240.     end
  241. end)
  242.  
  243. spawn(function()
  244.     while wait() do
  245.         if shared.toggle3K then
  246.             local oh1 = "Train"
  247.             local oh2 = "20"
  248.             local oh4 = 1000
  249.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  250.         end
  251.     end
  252. end)
  253.  
  254. spawn(function()
  255.     while wait() do
  256.         if shared.toggle3K then
  257.             local oh1 = "Train"
  258.             local oh2 = "21"
  259.             local oh4 = 1000
  260.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  261.         end
  262.     end
  263. end)
  264.  
  265. spawn(function()
  266.     while wait() do
  267.         if shared.toggle3K then
  268.             local oh1 = "Train"
  269.             local oh2 = "22"
  270.             local oh4 = 1000
  271.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  272.         end
  273.     end
  274. end)
  275.  
  276. spawn(function()
  277.     while wait() do
  278.         if shared.toggle3K then
  279.             local oh1 = "Train"
  280.             local oh2 = "23"
  281.             local oh4 = 1000
  282.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  283.         end
  284.     end
  285. end)
  286.  
  287. spawn(function()
  288.     while wait() do
  289.         if shared.toggle3K then
  290.             local oh1 = "Train"
  291.             local oh2 = "24"
  292.             local oh4 = 1000
  293.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  294.         end
  295.     end
  296. end)
  297.  
  298. spawn(function()
  299.     while wait() do
  300.         if shared.toggle3K then
  301.             local oh1 = "Train"
  302.             local oh2 = "25"
  303.             local oh4 = 1000
  304.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  305.         end
  306.     end
  307. end)
  308.  
  309. spawn(function()
  310.     while wait() do
  311.         if shared.toggle3K then
  312.             local oh1 = "Train"
  313.             local oh2 = "26"
  314.             local oh4 = 1000
  315.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  316.         end
  317.     end
  318. end)
  319.  
  320. -- Row 3 End
  321.  
  322. -----------------------------------------------------------------------------------------------------------
  323.  
  324. -- Row 4 Start
  325.  
  326. b:Toggle("Row 4 Entire 1K",function(bool4K)
  327.     shared.toggle4K = bool4K
  328. end)
  329.  
  330. spawn(function()
  331.     while wait() do
  332.         if shared.toggle4K then
  333.             local oh1 = "Train"
  334.             local oh2 = "27"
  335.             local oh4 = 1000
  336.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  337.         end
  338.     end
  339. end)
  340.  
  341. spawn(function()
  342.     while wait() do
  343.         if shared.toggle4K then
  344.             local oh1 = "Train"
  345.             local oh2 = "28"
  346.             local oh4 = 1000
  347.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  348.         end
  349.     end
  350. end)
  351.  
  352. spawn(function()
  353.     while wait() do
  354.         if shared.toggle4K then
  355.             local oh1 = "Train"
  356.             local oh2 = "29"
  357.             local oh4 = 1000
  358.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  359.         end
  360.     end
  361. end)
  362.  
  363. spawn(function()
  364.     while wait() do
  365.         if shared.toggle4K then
  366.             local oh1 = "Train"
  367.             local oh2 = "30"
  368.             local oh4 = 25
  369.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  370.         end
  371.     end
  372. end)
  373.  
  374. spawn(function()
  375.     while wait() do
  376.         if shared.toggle4K then
  377.             local oh1 = "Train"
  378.             local oh2 = "31"
  379.             local oh4 = 1000
  380.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  381.         end
  382.     end
  383. end)
  384.  
  385. spawn(function()
  386.     while wait() do
  387.         if shared.toggle4K then
  388.             local oh1 = "Train"
  389.             local oh2 = "32"
  390.             local oh4 = 1000
  391.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  392.         end
  393.     end
  394. end)
  395.  
  396. spawn(function()
  397.     while wait() do
  398.         if shared.toggle4K then
  399.             local oh1 = "Train"
  400.             local oh2 = "33"
  401.             local oh4 = 1000
  402.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  403.         end
  404.     end
  405. end)
  406.  
  407. spawn(function()
  408.     while wait() do
  409.         if shared.toggle4K then
  410.             local oh1 = "Train"
  411.             local oh2 = "34"
  412.             local oh4 = 1000
  413.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  414.         end
  415.     end
  416. end)
  417.  
  418. spawn(function()
  419.     while wait() do
  420.         if shared.toggle4K then
  421.             local oh1 = "Train"
  422.             local oh2 = "35"
  423.             local oh4 = 1000
  424.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  425.         end
  426.     end
  427. end)
  428.  
  429. spawn(function()
  430.     while wait() do
  431.         if shared.toggle4K then
  432.             local oh1 = "Train"
  433.             local oh2 = "36"
  434.             local oh4 = 1000
  435.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  436.         end
  437.     end
  438. end)
  439.  
  440. spawn(function()
  441.     while wait() do
  442.         if shared.toggle4K then
  443.             local oh1 = "Train"
  444.             local oh2 = "37"
  445.             local oh4 = 1000
  446.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  447.         end
  448.     end
  449. end)
  450.  
  451. -- Row 4 End
  452. -----------------------------------------------------------------------------------------------------------
  453.  
  454. -- Row 5 Start
  455.  
  456. b:Toggle("Row 5 Entire 1K",function(bool5K)
  457.     shared.toggle5K = bool5K
  458. end)
  459.  
  460. spawn(function()
  461.     while wait() do
  462.         if shared.toggle5K then
  463.             local oh1 = "Train"
  464.             local oh2 = "37"
  465.             local oh4 = 1000
  466.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  467.         end
  468.     end
  469. end)
  470.  
  471. spawn(function()
  472.     while wait() do
  473.         if shared.toggle5K then
  474.             local oh1 = "Train"
  475.             local oh2 = "38"
  476.             local oh4 = 1000
  477.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  478.         end
  479.     end
  480. end)
  481.  
  482. spawn(function()
  483.     while wait() do
  484.         if shared.toggle5K then
  485.             local oh1 = "Train"
  486.             local oh2 = "39"
  487.             local oh4 = 1000
  488.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  489.         end
  490.     end
  491. end)
  492.  
  493. spawn(function()
  494.     while wait() do
  495.         if shared.toggle5K then
  496.             local oh1 = "Train"
  497.             local oh2 = "40"
  498.             local oh4 = 25
  499.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  500.         end
  501.     end
  502. end)
  503.  
  504. spawn(function()
  505.     while wait() do
  506.         if shared.toggle5K then
  507.             local oh1 = "Train"
  508.             local oh2 = "41"
  509.             local oh4 = 25
  510.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  511.         end
  512.     end
  513. end)
  514.  
  515. -- Row 5 End
  516.  
  517. -----------------------------------------------------------------------------------------------------------
  518.  
  519. -- Everything Level 1K Start
  520.  
  521. local b = w:CreateFolder("Everything 1K") -- Creates the folder(U will put here your buttons,etc)
  522.  
  523. b:Toggle("All Rows 1k",function(boolE1K)
  524.     shared.toggleE1K = boolE1K
  525. end)
  526.  
  527. spawn(function()
  528.     while wait() do
  529.         if shared.toggleE1K then
  530.             local oh1 = "Train"
  531.             local oh2 = "1"
  532.             local oh4 = 1000
  533.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  534.         end
  535.     end
  536. end)
  537.  
  538. spawn(function()
  539.     while wait() do
  540.         if shared.toggleE1K then
  541.             local oh1 = "Train"
  542.             local oh2 = "2"
  543.             local oh4 = 25
  544.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  545.         end
  546.     end
  547. end)
  548.  
  549. spawn(function()
  550.     while wait() do
  551.         if shared.toggleE1K then
  552.             local oh1 = "Train"
  553.             local oh2 = "3"
  554.             local oh4 = 1000
  555.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  556.         end
  557.     end
  558. end)
  559.  
  560. spawn(function()
  561.     while wait() do
  562.         if shared.toggleE1K then
  563.             local oh1 = "Train"
  564.             local oh2 = "4"
  565.             local oh4 = 1000
  566.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  567.         end
  568.     end
  569. end)
  570.  
  571. spawn(function()
  572.     while wait() do
  573.         if shared.toggleE1K then
  574.             local oh1 = "Train"
  575.             local oh2 = "5"
  576.             local oh4 = 1000
  577.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  578.         end
  579.     end
  580. end)
  581.  
  582. spawn(function()
  583.     while wait() do
  584.         if shared.toggleE1K then
  585.             local oh1 = "Train"
  586.             local oh2 = "6"
  587.             local oh4 = 1000
  588.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  589.         end
  590.     end
  591. end)
  592.  
  593. spawn(function()
  594.     while wait() do
  595.         if shared.toggleE1K then
  596.             local oh1 = "Train"
  597.             local oh2 = "7"
  598.             local oh4 = 1000
  599.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  600.         end
  601.     end
  602. end)
  603.  
  604. spawn(function()
  605.     while wait() do
  606.         if shared.toggleE1K then
  607.             local oh1 = "Train"
  608.             local oh2 = "8"
  609.             local oh4 = 1000
  610.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  611.         end
  612.     end
  613. end)
  614.  
  615. spawn(function()
  616.     while wait() do
  617.         if shared.toggleE1K then
  618.             local oh1 = "Train"
  619.             local oh2 = "9"
  620.             local oh4 = 1000
  621.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  622.         end
  623.     end
  624. end)
  625.  
  626. spawn(function()
  627.     while wait() do
  628.         if shared.toggleE1K then
  629.             local oh1 = "Train"
  630.             local oh2 = "10"
  631.             local oh4 = 1000
  632.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  633.         end
  634.     end
  635. end)
  636.  
  637. spawn(function()
  638.     while wait() do
  639.         if shared.toggleE1K then
  640.             local oh1 = "Train"
  641.             local oh2 = "11"
  642.             local oh4 = 1000
  643.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  644.         end
  645.     end
  646. end)
  647.  
  648. spawn(function()
  649.     while wait() do
  650.         if shared.toggleE1K then
  651.             local oh1 = "Train"
  652.             local oh2 = "12"
  653.             local oh4 = 1000
  654.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  655.         end
  656.     end
  657. end)
  658.  
  659. spawn(function()
  660.     while wait() do
  661.         if shared.toggleE1K then
  662.             local oh1 = "Train"
  663.             local oh2 = "13"
  664.             local oh4 = 1000
  665.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  666.         end
  667.     end
  668. end)
  669.  
  670. spawn(function()
  671.     while wait() do
  672.         if shared.toggleE1K then
  673.             local oh1 = "Train"
  674.             local oh2 = "14"
  675.             local oh4 = 1000
  676.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  677.         end
  678.     end
  679. end)
  680.  
  681. spawn(function()
  682.     while wait() do
  683.         if shared.toggleE1K then
  684.             local oh1 = "Train"
  685.             local oh2 = "15"
  686.             local oh4 = 1000
  687.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  688.         end
  689.     end
  690. end)
  691.  
  692. spawn(function()
  693.     while wait() do
  694.         if shared.toggleE1K then
  695.             local oh1 = "Train"
  696.             local oh2 = "16"
  697.             local oh4 = 1000
  698.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  699.         end
  700.     end
  701. end)
  702.  
  703. spawn(function()
  704.     while wait() do
  705.         if shared.toggleE1K then
  706.             local oh1 = "Train"
  707.             local oh2 = "17"
  708.             local oh4 = 1000
  709.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  710.         end
  711.     end
  712. end)
  713.  
  714. spawn(function()
  715.     while wait() do
  716.         if shared.toggleE1K then
  717.             local oh1 = "Train"
  718.             local oh2 = "18"
  719.             local oh4 = 1000
  720.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  721.         end
  722.     end
  723. end)
  724.  
  725. spawn(function()
  726.     while wait() do
  727.         if shared.toggleE1K then
  728.             local oh1 = "Train"
  729.             local oh2 = "19"
  730.             local oh4 = 1000
  731.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  732.         end
  733.     end
  734. end)
  735.  
  736. spawn(function()
  737.     while wait() do
  738.         if shared.toggleE1K then
  739.             local oh1 = "Train"
  740.             local oh2 = "20"
  741.             local oh4 = 1000
  742.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  743.         end
  744.     end
  745. end)
  746.  
  747. spawn(function()
  748.     while wait() do
  749.         if shared.toggleE1K then
  750.             local oh1 = "Train"
  751.             local oh2 = "21"
  752.             local oh4 = 1000
  753.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  754.         end
  755.     end
  756. end)
  757.  
  758. spawn(function()
  759.     while wait() do
  760.         if shared.toggleE1K then
  761.             local oh1 = "Train"
  762.             local oh2 = "22"
  763.             local oh4 = 1000
  764.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  765.         end
  766.     end
  767. end)
  768.  
  769. spawn(function()
  770.     while wait() do
  771.         if shared.toggleE1K then
  772.             local oh1 = "Train"
  773.             local oh2 = "23"
  774.             local oh4 = 1000
  775.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  776.         end
  777.     end
  778. end)
  779.  
  780. spawn(function()
  781.     while wait() do
  782.         if shared.toggleE1K then
  783.             local oh1 = "Train"
  784.             local oh2 = "24"
  785.             local oh4 = 1000
  786.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  787.         end
  788.     end
  789. end)
  790.  
  791. spawn(function()
  792.     while wait() do
  793.         if shared.toggleE1K then
  794.             local oh1 = "Train"
  795.             local oh2 = "25"
  796.             local oh4 = 1000
  797.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  798.         end
  799.     end
  800. end)
  801.  
  802. spawn(function()
  803.     while wait() do
  804.         if shared.toggleE1K then
  805.             local oh1 = "Train"
  806.             local oh2 = "26"
  807.             local oh4 = 1000
  808.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  809.         end
  810.     end
  811. end)
  812.  
  813. spawn(function()
  814.     while wait() do
  815.         if shared.toggleE1K then
  816.             local oh1 = "Train"
  817.             local oh2 = "27"
  818.             local oh4 = 1000
  819.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  820.         end
  821.     end
  822. end)
  823.  
  824. spawn(function()
  825.     while wait() do
  826.         if shared.toggleE1K then
  827.             local oh1 = "Train"
  828.             local oh2 = "28"
  829.             local oh4 = 1000
  830.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  831.         end
  832.     end
  833. end)
  834.  
  835. spawn(function()
  836.     while wait() do
  837.         if shared.toggleE1K then
  838.             local oh1 = "Train"
  839.             local oh2 = "29"
  840.             local oh4 = 1000
  841.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  842.         end
  843.     end
  844. end)
  845.  
  846. spawn(function()
  847.     while wait() do
  848.         if shared.toggleE1K then
  849.             local oh1 = "Train"
  850.             local oh2 = "30"
  851.             local oh4 = 25
  852.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  853.         end
  854.     end
  855. end)
  856.  
  857. spawn(function()
  858.     while wait() do
  859.         if shared.toggleE1K then
  860.             local oh1 = "Train"
  861.             local oh2 = "31"
  862.             local oh4 = 1000
  863.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  864.         end
  865.     end
  866. end)
  867.  
  868. spawn(function()
  869.     while wait() do
  870.         if shared.toggleE1K then
  871.             local oh1 = "Train"
  872.             local oh2 = "32"
  873.             local oh4 = 1000
  874.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  875.         end
  876.     end
  877. end)
  878.  
  879. spawn(function()
  880.     while wait() do
  881.         if shared.toggleE1K then
  882.             local oh1 = "Train"
  883.             local oh2 = "33"
  884.             local oh4 = 1000
  885.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  886.         end
  887.     end
  888. end)
  889.  
  890. spawn(function()
  891.     while wait() do
  892.         if shared.toggleE1K then
  893.             local oh1 = "Train"
  894.             local oh2 = "34"
  895.             local oh4 = 1000
  896.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  897.         end
  898.     end
  899. end)
  900.  
  901. spawn(function()
  902.     while wait() do
  903.         if shared.toggleE1K then
  904.             local oh1 = "Train"
  905.             local oh2 = "35"
  906.             local oh4 = 1000
  907.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  908.         end
  909.     end
  910. end)
  911.  
  912. spawn(function()
  913.     while wait() do
  914.         if shared.toggleE1K then
  915.             local oh1 = "Train"
  916.             local oh2 = "36"
  917.             local oh4 = 1000
  918.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  919.         end
  920.     end
  921. end)
  922.  
  923. spawn(function()
  924.     while wait() do
  925.         if shared.toggleE1K then
  926.             local oh1 = "Train"
  927.             local oh2 = "37"
  928.             local oh4 = 1000
  929.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  930.         end
  931.     end
  932. end)
  933.  
  934. spawn(function()
  935.     while wait() do
  936.         if shared.toggleE1K then
  937.             local oh1 = "Train"
  938.             local oh2 = "37"
  939.             local oh4 = 1000
  940.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  941.         end
  942.     end
  943. end)
  944.  
  945. spawn(function()
  946.     while wait() do
  947.         if shared.toggleE1K then
  948.             local oh1 = "Train"
  949.             local oh2 = "38"
  950.             local oh4 = 1000
  951.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  952.         end
  953.     end
  954. end)
  955.  
  956. spawn(function()
  957.     while wait() do
  958.         if shared.toggleE1K then
  959.             local oh1 = "Train"
  960.             local oh2 = "39"
  961.             local oh4 = 1000
  962.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  963.         end
  964.     end
  965. end)
  966.  
  967. spawn(function()
  968.     while wait() do
  969.         if shared.toggleE1K then
  970.             local oh1 = "Train"
  971.             local oh2 = "40"
  972.             local oh4 = 25
  973.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  974.         end
  975.     end
  976. end)
  977.  
  978. spawn(function()
  979.     while wait() do
  980.         if shared.toggleE1K then
  981.             local oh1 = "Train"
  982.             local oh2 = "41"
  983.             local oh4 = 25
  984.             game:GetService("ReplicatedStorage").Events.Heroes:FireServer(oh1, oh2, oh3, oh4)
  985.         end
  986.     end
  987. end)
  988.  
  989. -- Everything 1K End
  990.  
  991. --------------------------------------------------------------------------------------------------------
  992.  
  993. -- Credits Below
  994.  
  995. local b = w:CreateFolder("Credits") -- Creates the folder(U will put here your buttons,etc)
  996. b:Toggle("Scripts: Total",function(boolCred1)
  997.     shared.toggleCred1 = boolCred1
  998. end)
  999.  
  1000. spawn(function()
  1001.     while wait() do
  1002.         if shared.toggleCred1 then
  1003.             print("Nub")
  1004.         end
  1005.     end
  1006. end)
  1007.  
  1008. -- Credits End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement