Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --#### Variables ####--
- local Player = game.Players.LocalPlayer;
- local Character = Player.Character or Player.CharacterAdded:Wait();
- local ChestFolder = game.Workspace.Chests;
- --#### Services ####--
- local TeleportService = game:GetService("TeleportService");
- local VIM = game:GetService("VirtualInputManager");
- --#### LOAD ####--
- syn.queue_on_teleport([[
- --### CODE ###--
- repeat task.wait() until game:IsLoaded();
- local Player = game.Players.LocalPlayer;
- local Character = Player.Character or Player.CharacterAdded:Wait();
- repeat task.wait() until Player and Player.Character;
- task.wait(7);
- loadstring(game:HttpGet("https://pastebin.com/raw/K07vcS8e"))()
- ]])
- --#### Farm ####--
- function Farm()
- --#### Press Key ####--
- task.spawn(function()
- VIM:SendKeyEvent(true, "Z", false, game);
- task.wait(1);
- VIM:SendKeyEvent(false, "Z", false, game);
- end)
- --#### Auto Chest ####--
- for _, Chest in pairs(ChestFolder:GetDescendants()) do
- if Chest:IsA("ClickDetector") and Chest.Parent.Parent.Active.Value == true and not Chest.Parent.Parent:FindFirstChild("DirtPileChest") then
- Character.HumanoidRootPart.CFrame = Chest.Parent.CFrame;
- task.wait(0.47);
- fireclickdetector(Chest);
- end
- end
- Player:Kick("Hopping Server...");
- end
- task.spawn(function()
- Farm(); -- Call function to start it
- end)
- --#### Rejoin ####--
- game:GetService("CoreGui").RobloxPromptGui.promptOverlay.DescendantAdded:Connect(function(Child)
- if Child.Name == "ErrorPrompt" then
- TeleportService:Teleport(game.PlaceId, Player);
- print("Teleporting...");
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement