1. -- f5 to toggle afk farm
  2. -- f6 to collect all grammy things
  3. -- f7 to roll for a plane without having to wait
  4. local rem,ogcf,roll,effect
  5. for _,v in pairs(game.ReplicatedStorage.Packages:GetDescendants()) do
  6. if v.Name == "ChangeVehicle" then
  7. rem = v
  8. elseif v.Name == "PurchaseRoll" then
  9. roll = v
  10. end
  11. if rem and roll and effect then
  12. break
  13. end
  14. end
  15. local on = false
  16. local n,n2 = 1,1
  17. game:GetService("UserInputService").InputBegan:Connect(function(k)
  18. if k.KeyCode == Enum.KeyCode.F5 then
  19. if on then
  20. on = false
  21. rem:FireServer()
  22. wait(.1)
  23. game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(ogcf)
  24. else
  25. ogcf = game.Players.LocalPlayer.Character.Head.CFrame
  26. rem:FireServer("Plane")
  27. wait(.1)
  28. on = true
  29. end
  30. elseif k.KeyCode == Enum.KeyCode.F6 then
  31. local co = workspace.Collectables:GetChildren()
  32. for _,v in pairs(co) do
  33. game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(v.CFrame)
  34. wait()
  35. end
  36. elseif k.KeyCode == Enum.KeyCode.F7 then
  37. spawn(function()
  38. roll:InvokeServer(n)
  39. end)
  40. n += 1
  41. if n > 14 then
  42. n = 1
  43. end
  44. end
  45. end)
  46. while wait() do
  47. local v = workspace["Air Race"].Airport:GetChildren()
  48. for _,v in pairs(v) do
  49. if on then
  50. rem:FireServer("Plane")
  51. wait(.1)
  52. v = v.Ring.TouchPart
  53. game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(v.CFrame)
  54. firetouchinterest(v,game.Players.LocalPlayer.Character.Head,0)
  55. rem:FireServer()
  56. wait(.1)
  57. end
  58. end
  59. end
  60. game.Players.LocalPlayer.Character.Head.Anchored = false