Advertisement
Cizzy

Untitled

Jul 13th, 2021
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 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")
  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. -- Get Goal
  44. local Goal = GetGoal()
  45.  
  46. -- Get Closest Draggable
  47. local Closest = false
  48. local Distance = 100
  49. for _, A_1 in next, Areas:GetDescendants() do
  50. if A_1:IsA("ProximityPrompt") and Player:DistanceFromCharacter(A_1.Parent.Position) < Distance and A_1:FindFirstAncestor("DraggableItems") then
  51. Closest = A_1
  52. Distance = Player:DistanceFromCharacter(A_1.Parent.Position)
  53. end
  54. end
  55.  
  56. -- Check Closest
  57. if Closest == false then
  58. StarterGui:SetCore(
  59. "SendNotification",
  60. {
  61. Title = "Ezpi's Trainer",
  62. Text = "No draggable found. :(",
  63. Duration = 10
  64. }
  65. )
  66. end
  67.  
  68. -- Loop
  69. Player.Character.HumanoidRootPart.Anchored = true
  70. while Closest and Goal and Library.flags.Enabled and wait() do
  71. -- Use Closest Draggable
  72. fireproximityprompt(Closest, 1)
  73.  
  74. -- Pull to end
  75. if Goal then
  76. for _, A_1 in next, Draggables:GetChildren() do
  77. firetouchinterest(Goal, A_1, 0)
  78. firetouchinterest(Goal, A_1, 1)
  79. end
  80. end
  81. end
  82. Player.Character.HumanoidRootPart.Anchored = false
  83.  
  84. -- Make sure to finish it
  85. wait(0.2)
  86. if Goal then
  87. for _, A_1 in next, Draggables:GetChildren() do
  88. firetouchinterest(Goal, A_1, 0)
  89. firetouchinterest(Goal, A_1, 1)
  90. end
  91. end
  92. end
  93. })
  94. else
  95. Window:AddLabel("Buy Synapse X\nx.synapse.to")
  96. end
  97. Library:Init()
  98.  
  99. --// Auto-Workout \\--
  100. while wait(0.1) do
  101. if Player.Character and Player.Character:FindFirstChild("Weights") then
  102. Workout:InvokeServer()
  103. end
  104. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement