Advertisement
DiveGamerV2

Strongman Simulator Script Op Auto Farm

Aug 6th, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. -- LOAD GUI & LIBRARY --
  2. local library = loadstring(game:HttpGet("https://pastebin.com/raw/CkyR8ePz", true))()
  3. local w = library:CreateWindow('Strongman Simulator')
  4.  
  5. -- GUI SECTION
  6. w:Section('Created by HamstaGang, unpatched by OREZAKung')
  7.  
  8. -- GUI Toggles
  9. local FarmHydra = w:Toggle('Farm Hydra', {flag = "FarmHydra"})
  10. local FarmStrength = w:Toggle('Farm Strength', {flag = "FarmStrength"})
  11.  
  12. -- [[ GUI FUNCTIONS ]] --
  13.  
  14. function FarmHydra()
  15.  
  16. -- Local Player
  17. local Plr = game:GetService("Players").LocalPlayer
  18. local Char = Plr.Character
  19. local RootPart = Char.HumanoidRootPart
  20. local LowerTorso = Char.LowerTorso
  21.  
  22. -- Game Stuff
  23. local Loader = game:GetService("Workspace").BadgeColliders.FarmBadge
  24. local Hydra_Item = game:GetService("Workspace").Areas["Area7_Steampunk"].DraggableItems:FindFirstChildOfClass("MeshPart")
  25.  
  26. if Hydra_Item == nil then
  27. -- We need to load part of the map in.
  28. RootPart.CFrame = Loader.CFrame
  29. return true;
  30. end
  31.  
  32. local Hydra = Hydra_Item:WaitForChild("InteractionPoint")
  33. local Proximity = Hydra:FindFirstChild("ProximityPrompt")
  34.  
  35. -- Teleport and grab Hydra
  36. RootPart.CFrame = Hydra.CFrame
  37. wait(0.1)
  38. Proximity:InputHoldBegin()
  39. Proximity:InputHoldEnd()
  40.  
  41. -- Teleport us to the finish (I have some nasty hard coded stuff in here.)
  42. for i,v in pairs(game:GetService("Workspace").PlayerDraggables[game.Players.LocalPlayer.UserId]:GetChildren()) do
  43. v.CFrame = game:GetService("Workspace").Areas["Area7_Steampunk"].Goal.CFrame
  44. end
  45.  
  46. return true; -- Debounce
  47. end
  48.  
  49. function FarmStrength()
  50.  
  51. -- Local Player
  52. local Plr = game:GetService("Players").LocalPlayer
  53. local Char = Plr.Character
  54. local RootPart = Char.HumanoidRootPart
  55.  
  56. -- Game Stuff
  57. local Gym = game:GetService("Workspace").Areas.Area1.Gym.TrainingEquipment.WorkoutStation.Collider
  58. local Proximity = Gym.ProximityPrompt
  59.  
  60. -- Teleport to Weights
  61. RootPart.CFrame = Gym.CFrame
  62. wait(0.1)
  63.  
  64. -- Start Workout
  65. Proximity:InputHoldBegin()
  66. wait(0.3)
  67. Proximity:InputHoldEnd()
  68.  
  69. while w.flags.FarmStrength do
  70. wait(0.1)
  71. game:GetService("ReplicatedStorage")["StrongMan_UpgradeStrength"]:InvokeServer()
  72. end
  73.  
  74. -- Jump to end Workout
  75. Char.Humanoid.Jump = true
  76. end
  77.  
  78.  
  79. -- [[ GUI LISTENERS ]] --
  80.  
  81. -- Farm Hydra
  82. spawn(function()
  83. while wait() do
  84. if w.flags.FarmHydra then
  85. repeat wait() until FarmHydra() == true -- Debounce
  86. end
  87. end
  88. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement