Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- LOAD GUI & LIBRARY --
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/CkyR8ePz", true))()
- local w = library:CreateWindow('Strongman Simulator')
- -- GUI SECTION
- w:Section('Created by HamstaGang, unpatched by OREZAKung')
- -- GUI Toggles
- local FarmHydra = w:Toggle('Farm Hydra', {flag = "FarmHydra"})
- local FarmStrength = w:Toggle('Farm Strength', {flag = "FarmStrength"})
- -- [[ GUI FUNCTIONS ]] --
- function FarmHydra()
- -- Local Player
- local Plr = game:GetService("Players").LocalPlayer
- local Char = Plr.Character
- local RootPart = Char.HumanoidRootPart
- local LowerTorso = Char.LowerTorso
- -- Game Stuff
- local Loader = game:GetService("Workspace").BadgeColliders.FarmBadge
- local Hydra_Item = game:GetService("Workspace").Areas["Area7_Steampunk"].DraggableItems:FindFirstChildOfClass("MeshPart")
- if Hydra_Item == nil then
- -- We need to load part of the map in.
- RootPart.CFrame = Loader.CFrame
- return true;
- end
- local Hydra = Hydra_Item:WaitForChild("InteractionPoint")
- local Proximity = Hydra:FindFirstChild("ProximityPrompt")
- -- Teleport and grab Hydra
- RootPart.CFrame = Hydra.CFrame
- wait(0.1)
- Proximity:InputHoldBegin()
- Proximity:InputHoldEnd()
- -- Teleport us to the finish (I have some nasty hard coded stuff in here.)
- for i,v in pairs(game:GetService("Workspace").PlayerDraggables[game.Players.LocalPlayer.UserId]:GetChildren()) do
- v.CFrame = game:GetService("Workspace").Areas["Area7_Steampunk"].Goal.CFrame
- end
- return true; -- Debounce
- end
- function FarmStrength()
- -- Local Player
- local Plr = game:GetService("Players").LocalPlayer
- local Char = Plr.Character
- local RootPart = Char.HumanoidRootPart
- -- Game Stuff
- local Gym = game:GetService("Workspace").Areas.Area1.Gym.TrainingEquipment.WorkoutStation.Collider
- local Proximity = Gym.ProximityPrompt
- -- Teleport to Weights
- RootPart.CFrame = Gym.CFrame
- wait(0.1)
- -- Start Workout
- Proximity:InputHoldBegin()
- wait(0.3)
- Proximity:InputHoldEnd()
- while w.flags.FarmStrength do
- wait(0.1)
- game:GetService("ReplicatedStorage")["StrongMan_UpgradeStrength"]:InvokeServer()
- end
- -- Jump to end Workout
- Char.Humanoid.Jump = true
- end
- -- [[ GUI LISTENERS ]] --
- -- Farm Hydra
- spawn(function()
- while wait() do
- if w.flags.FarmHydra then
- repeat wait() until FarmHydra() == true -- Debounce
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement