Advertisement
kipr987

Auto Farm Spider

Jul 28th, 2023 (edited)
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.61 KB | None | 0 0
  1. -- Spider
  2. local function farm()
  3. -- Bunker
  4. print("Bunker")
  5. if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorBunker.State.Value == false then
  6. repeat
  7. wait()
  8. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].BunkerUnderground.LeverSwitch.Trigger.CFrame
  9. local args = {
  10.     [1] = "AttemptTriggerMapEvent",
  11.     [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("BunkerUnderground"):WaitForChild("LeverSwitch"):WaitForChild("Trigger")
  12. }
  13.  
  14. game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
  15.  
  16. until game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorBunker.State.Value == true
  17. end
  18.  
  19. -- Battery
  20. print("Battery")
  21. if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorShed.State.Value == false then
  22. repeat
  23. wait()
  24. if game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.BatteryHolder.Powered.Value == true then
  25. break
  26. end
  27. until game:GetService("Workspace").Items:FindFirstChild("Battery")
  28. repeat
  29. wait()
  30. if not game:GetService("Workspace").Items:FindFirstChild("Battery") then
  31. break
  32. end
  33. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Items:FindFirstChild("Battery").Hitbox.CFrame
  34. local args = {
  35.     [1] = "AttemptSwapItems",
  36.     [2] = workspace:WaitForChild("Items"):WaitForChild("Battery"):WaitForChild("Hitbox")
  37. }
  38.  
  39. game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
  40.  
  41. until game.Players.LocalPlayer.Backpack:FindFirstChild("Battery")
  42. repeat
  43. wait()
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.BatteryHolder.Trigger.CFrame
  45. local args = {
  46.     [1] = "AttemptTriggerMapEvent",
  47.     [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("Shed"):WaitForChild("BatteryLever"):WaitForChild("BatteryHolder"):WaitForChild("Trigger")
  48. }
  49.  
  50. game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
  51.  
  52. until game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.BatteryHolder.Powered.Value == true
  53. repeat
  54. wait()
  55. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.PoweredLeverSwitch.Trigger.CFrame
  56. local args = {
  57.     [1] = "AttemptTriggerMapEvent",
  58.     [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("Shed"):WaitForChild("BatteryLever"):WaitForChild("PoweredLeverSwitch"):WaitForChild("Trigger")
  59. }
  60.  
  61. game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
  62.  
  63. until game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorShed.State.Value == true
  64. end
  65.  
  66. -- Purple Key
  67. print("Purple Key")
  68. if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock") then
  69. repeat
  70. wait()
  71. if not game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock") then
  72. break
  73. end
  74. until game:GetService("Workspace").Items:FindFirstChild("Purple Key")
  75. if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock") then
  76. repeat
  77. wait()
  78. if not game:GetService("Workspace").Items:FindFirstChild("Purple Key"):FindFirstChild("Hitbox") then
  79. break
  80. end
  81. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Items:FindFirstChild("Purple Key").Hitbox.CFrame
  82. local args = {
  83.     [1] = "AttemptSwapItems",
  84.     [2] = workspace:WaitForChild("Items"):WaitForChild("Purple Key"):WaitForChild("Hitbox")
  85. }
  86.  
  87. game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
  88.  
  89. until game.Players.LocalPlayer.Backpack:FindFirstChild("Purple Key")
  90. end
  91. repeat
  92. wait()
  93. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor.HumanoidRootPart.CFrame + Vector3.new(0,-3,0)
  94. local args = {
  95.     [1] = "AttemptToggleDoor",
  96.     [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("DockGate"):WaitForChild("DockDoorSystem"):WaitForChild("DockDoor"),
  97.     [3] = false
  98. }
  99.  
  100. game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
  101.  
  102. until not game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock")
  103. end
  104. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor.HumanoidRootPart.CFrame + Vector3.new(0,-3,0)
  105. local start = tick()
  106. repeat
  107. wait()
  108. local End = tick()
  109. until End - start >= 3
  110. game:GetService("TeleportService"):Teleport(5118969548, game.Players.LocalPlayer)
  111. end
  112.  
  113.  
  114. local start = tick()
  115. repeat
  116. wait()
  117. local End = tick()
  118. until End - start >= 1
  119. local start = tick()
  120. repeat
  121. wait()
  122. local End = tick()
  123. until End - start >= 2
  124. if game:GetService("Players").LocalPlayer.PlayerGui.GUI.Logo.Visible == false then
  125. repeat wait() until game:GetService("Players").LocalPlayer.PlayerGui.GUI.Timer.Visible == true
  126. farm()
  127. else
  128. game:GetService("TeleportService"):Teleport(5118969548, game.Players.LocalPlayer)
  129. end
Tags: Auto farm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement