Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Spider
- local function farm()
- -- Bunker
- print("Bunker")
- if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorBunker.State.Value == false then
- repeat
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].BunkerUnderground.LeverSwitch.Trigger.CFrame
- local args = {
- [1] = "AttemptTriggerMapEvent",
- [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("BunkerUnderground"):WaitForChild("LeverSwitch"):WaitForChild("Trigger")
- }
- game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
- until game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorBunker.State.Value == true
- end
- -- Battery
- print("Battery")
- if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorShed.State.Value == false then
- repeat
- wait()
- if game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.BatteryHolder.Powered.Value == true then
- break
- end
- until game:GetService("Workspace").Items:FindFirstChild("Battery")
- repeat
- wait()
- if not game:GetService("Workspace").Items:FindFirstChild("Battery") then
- break
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Items:FindFirstChild("Battery").Hitbox.CFrame
- local args = {
- [1] = "AttemptSwapItems",
- [2] = workspace:WaitForChild("Items"):WaitForChild("Battery"):WaitForChild("Hitbox")
- }
- game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
- until game.Players.LocalPlayer.Backpack:FindFirstChild("Battery")
- repeat
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.BatteryHolder.Trigger.CFrame
- local args = {
- [1] = "AttemptTriggerMapEvent",
- [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("Shed"):WaitForChild("BatteryLever"):WaitForChild("BatteryHolder"):WaitForChild("Trigger")
- }
- game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
- until game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.BatteryHolder.Powered.Value == true
- repeat
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].Shed.BatteryLever.PoweredLeverSwitch.Trigger.CFrame
- local args = {
- [1] = "AttemptTriggerMapEvent",
- [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("Shed"):WaitForChild("BatteryLever"):WaitForChild("PoweredLeverSwitch"):WaitForChild("Trigger")
- }
- game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
- until game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.Indicators.IndicatorShed.State.Value == true
- end
- -- Purple Key
- print("Purple Key")
- if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock") then
- repeat
- wait()
- if not game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock") then
- break
- end
- until game:GetService("Workspace").Items:FindFirstChild("Purple Key")
- if game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock") then
- repeat
- wait()
- if not game:GetService("Workspace").Items:FindFirstChild("Purple Key"):FindFirstChild("Hitbox") then
- break
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Items:FindFirstChild("Purple Key").Hitbox.CFrame
- local args = {
- [1] = "AttemptSwapItems",
- [2] = workspace:WaitForChild("Items"):WaitForChild("Purple Key"):WaitForChild("Hitbox")
- }
- game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
- until game.Players.LocalPlayer.Backpack:FindFirstChild("Purple Key")
- end
- repeat
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor.HumanoidRootPart.CFrame + Vector3.new(0,-3,0)
- local args = {
- [1] = "AttemptToggleDoor",
- [2] = workspace:WaitForChild("Map01_Cabin"):WaitForChild("DockGate"):WaitForChild("DockDoorSystem"):WaitForChild("DockDoor"),
- [3] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("modules"):WaitForChild("up"):WaitForChild("Network"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
- until not game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor:FindFirstChild("Lock")
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Map01_Cabin"].DockGate.DockDoorSystem.DockDoor.HumanoidRootPart.CFrame + Vector3.new(0,-3,0)
- local start = tick()
- repeat
- wait()
- local End = tick()
- until End - start >= 3
- game:GetService("TeleportService"):Teleport(5118969548, game.Players.LocalPlayer)
- end
- local start = tick()
- repeat
- wait()
- local End = tick()
- until End - start >= 1
- local start = tick()
- repeat
- wait()
- local End = tick()
- until End - start >= 2
- if game:GetService("Players").LocalPlayer.PlayerGui.GUI.Logo.Visible == false then
- repeat wait() until game:GetService("Players").LocalPlayer.PlayerGui.GUI.Timer.Visible == true
- farm()
- else
- game:GetService("TeleportService"):Teleport(5118969548, game.Players.LocalPlayer)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement