Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().AutoFarm = true
- local LocalPlayer = game:GetService("Players").LocalPlayer
- while getgenv().AutoFarm do
- pcall(function()
- for _, v in pairs(workspace.Hoops:GetDescendants()) do -- > Hoops folder
- if v:IsA("TouchTransmitter") then
- firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v.Parent, 0) -- > Makes the LocalPlayer's HumanoidRootPart fire the TouchTransmitter's Parent with the "0" argument.
- wait()
- firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v.Parent, 1) -- > Makes the LocalPlayer's HumanoidRootPart un-fire the TouchTransmitter's Parent with the "1" argument.
- end
- end
- for _, v in pairs(workspace.orbFolder:GetDescendants()) do -- > Orbs + Gems folder
- if (v.Name == "outerOrb" or v.Name == "outerGem") then
- firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v, 0) -- > Makes the LocalPlayer's HumanoidRootPart fire the 's Orb/Gem with the "0" argument.
- wait()
- firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v, 1) -- > Makes the LocalPlayer's HumanoidRootPart un-fire the 's Orb/Gem with the "1" argument.
- end
- end
- wait()
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment