Advertisement
NukeVsCity

STRONGMAN SIM HACK

Jul 5th, 2021
8,569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. --// Service \\--
  2. local Players = game:GetService("Players")
  3. local Workspace = game:GetService("Workspace")
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5. local RunService = game:GetService("RunService")
  6. local StarterGui = game:GetService("StarterGui")
  7.  
  8. --// Variables \\--
  9. local Player = Players.LocalPlayer
  10. local Draggables = Workspace:WaitForChild("PlayerDraggables"):WaitForChild(Player.UserId)
  11. local Workout = ReplicatedStorage:WaitForChild("StrongMan_UpgradeStrength")
  12.  
  13. --// Get Goal \\--
  14. local Areas = Workspace:WaitForChild("Areas")
  15. function GetGoal()
  16. for _, A_1 in next, Areas:GetChildren() do
  17. local Goal = A_1:FindFirstChild("Goal", true)
  18. if Goal and Goal:FindFirstChildOfClass("TouchTransmitter") then
  19. return Goal
  20. end
  21. end
  22. return false
  23. end
  24.  
  25. --// Exploit Fix \\--
  26. if not pcall(function() return syn.protect_gui end) then
  27. syn = {}
  28. syn.protect_gui = function(A_1)
  29. A_1.Parent = game:GetService("CoreGui")
  30. end
  31. end
  32.  
  33. --// UI Library \\--
  34. local Library = loadstring(game:HttpGetAsync('https://pastebin.com/raw/edJT9EGX'))()
  35. local Window = Library:CreateWindow("Trainer by Ezpi#0474")
  36.  
  37. --// Exploit Check \\--
  38. if fireproximityprompt and firetouchinterest then
  39. local Toggle_1 = Window:AddToggle({
  40. text = 'Auto Pull',
  41. flag = 'Enabled',
  42. callback = function()
  43. -- Anchor
  44. Player.Character.HumanoidRootPart.Anchored = Library.flags.Enabled
  45.  
  46. -- Check
  47. if not Library.flags.Enabled then
  48. return
  49. end
  50.  
  51. -- Get Goal
  52. local Goal = GetGoal()
  53.  
  54. -- Get Closest Draggable
  55. local Closest = false
  56. local Distance = 120
  57. for _, A_1 in next, Areas:GetDescendants() do
  58. if A_1:IsA("ProximityPrompt") and Player:DistanceFromCharacter(A_1.Parent.Position) < Distance and A_1:FindFirstAncestor("DraggableItems") then
  59. Closest = A_1
  60. Distance = Player:DistanceFromCharacter(A_1.Parent.Position)
  61. end
  62. end
  63.  
  64. -- Check Closest
  65. if Closest == false then
  66. StarterGui:SetCore(
  67. "SendNotification",
  68. {
  69. Title = "Ezpi's Trainer",
  70. Text = "No draggable found. :(",
  71. Duration = 10
  72. }
  73. )
  74. end
  75.  
  76. -- Loop
  77. local OldCFrame = Player.Character.HumanoidRootPart.CFrame
  78. while Closest and Goal and Library.flags.Enabled and wait() do
  79. -- Use Closest Draggable
  80. fireproximityprompt(Closest, 1)
  81.  
  82. -- Pull to end
  83. if Goal then
  84. for _, A_1 in next, Draggables:GetChildren() do
  85. firetouchinterest(Goal, A_1, 0)
  86. firetouchinterest(Goal, A_1, 1)
  87. end
  88. end
  89.  
  90. -- Stay put
  91. Player.Character.HumanoidRootPart.CFrame = OldCFrame
  92. end
  93.  
  94. -- Make sure to finish it
  95. wait(0.2)
  96. if Goal then
  97. for _, A_1 in next, Draggables:GetChildren() do
  98. firetouchinterest(Goal, A_1, 0)
  99. firetouchinterest(Goal, A_1, 1)
  100. end
  101. end
  102. end
  103. })
  104. else
  105. Window:AddLabel("Buy Synapse X\nx.synapse.to")
  106. end
  107. Library:Init()
  108.  
  109. --// Auto-Workout \\--
  110. while wait(0.2) do
  111. if Player.Character and Player.Character:FindFirstChild("Weights") then
  112. spawn(function()
  113. Workout:InvokeServer()
  114. end)
  115. end
  116. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement