tristanlol123

【⚡】Speed Simulator Autofarm Script

Jan 17th, 2022 (edited)
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.07 KB | None | 0 0
  1. local a = false
  2. function autofarmzone1()
  3.  
  4. if a == false then
  5. a = true
  6.  
  7.      
  8. for i,v in pairs(game:GetService("Workspace").ballsFolder.Zone1:GetChildren()) do
  9.     firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Outer,0)
  10.   wait()
  11. end
  12. a = false
  13.  
  14. end
  15. end
  16.  
  17.  
  18. local b = false
  19. function autofarmzone2()
  20.  
  21. if b == false then
  22. b = true
  23.  
  24.        
  25. for i,v in pairs(game:GetService("Workspace").ballsFolder.Zone2:GetChildren()) do
  26.     firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Outer,0)
  27.      wait()
  28. end
  29. b = false
  30.  
  31. end
  32. end
  33.  
  34. c = false
  35. function autofarmzone3()
  36.  
  37. if c == false then
  38. c = true
  39.  
  40.        
  41. for i,v in pairs(game:GetService("Workspace").ballsFolder.Zone3:GetChildren()) do
  42.     firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Outer,0)
  43.  wait()
  44. end
  45. c = false
  46.  
  47. end
  48. end
  49.  
  50. d = false
  51. function autofarmspacecity()
  52.  
  53. if d == false then
  54. d = true
  55.  
  56. for i,v in pairs(game:GetService("Workspace").ballsFolder.SpaceCity:GetChildren()) do
  57.     firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Outer,0)
  58.      wait()
  59. end
  60. d = false
  61.  
  62. end
  63. end
  64.  
  65. e = false
  66. function autofarmspeeddesert()
  67.  
  68. if e == false then
  69. e = true
  70.  
  71.         wait()
  72. for i,v in pairs(game:GetService("Workspace").ballsFolder.SpeedDesert:GetChildren()) do
  73.     firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Outer,0)
  74.  wait()
  75. end
  76. e = false
  77.  
  78. end
  79. end
  80.  
  81. f = false
  82. function autofarmSpeedHighway()
  83.  
  84. if f == false then
  85. f = true
  86.  
  87. for i,v in pairs(game:GetService("Workspace").ballsFolder.SpeedHighway:GetChildren()) do
  88.     firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Outer,0)
  89.     wait()
  90. end
  91. f = false
  92.  
  93. end
  94. end
  95.  
  96.  
  97. while wait() do
  98.     coroutine.wrap(autofarmzone1)()
  99.     coroutine.wrap(autofarmzone2)()
  100.     coroutine.wrap(autofarmzone3)()
  101.     coroutine.wrap(autofarmSpeedHighway)()
  102.     coroutine.wrap(autofarmspeeddesert)()
  103.     coroutine.wrap(autofarmspacecity)()
  104.     game:GetService("ReplicatedStorage").Networking.Rebirth:FireServer()
  105. end
Add Comment
Please, Sign In to add comment