Advertisement
ExecutorForALLdomain

Breaker

Jul 11th, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.01 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local breaker = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local Heal = Instance.new("TextButton")
  10. local truefalse = Instance.new("TextButton")
  11. local TextLabel_2 = Instance.new("TextLabel")
  12. local Damage = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. breaker.Name = "breaker"
  17. breaker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18.  
  19. Frame.Parent = breaker
  20. Frame.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  21. Frame.BorderColor3 = Color3.fromRGB(47, 47, 47)
  22. Frame.BorderSizePixel = 0
  23. Frame.Position = UDim2.new(0.282904685, 0, 0.208333328, 0)
  24. Frame.Size = UDim2.new(0, 318, 0, 331)
  25.  
  26. TextLabel.Parent = Frame
  27. TextLabel.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  28. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  29. TextLabel.BorderSizePixel = 0
  30. TextLabel.Size = UDim2.new(0, 318, 0, 32)
  31. TextLabel.Font = Enum.Font.SourceSans
  32. TextLabel.Text = "Gear Value Breaker"
  33. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  34. TextLabel.TextSize = 28.000
  35.  
  36. Heal.Name = "Heal"
  37. Heal.Parent = Frame
  38. Heal.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  39. Heal.BorderColor3 = Color3.fromRGB(0, 0, 0)
  40. Heal.BorderSizePixel = 0
  41. Heal.Position = UDim2.new(0.150943398, 0, 0.549848914, 0)
  42. Heal.Size = UDim2.new(0, 222, 0, 102)
  43. Heal.Font = Enum.Font.SourceSans
  44. Heal.Text = "Healing Braker"
  45. Heal.TextColor3 = Color3.fromRGB(255, 255, 255)
  46. Heal.TextSize = 33.000
  47. Heal.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  48. Heal.TextWrapped = true
  49.  
  50. truefalse.Name = "truefalse"
  51. truefalse.Parent = Frame
  52. truefalse.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  53. truefalse.BorderColor3 = Color3.fromRGB(0, 0, 0)
  54. truefalse.BorderSizePixel = 0
  55. truefalse.Position = UDim2.new(0.82704401, 0, 0.912386715, 0)
  56. truefalse.Size = UDim2.new(0, 48, 0, 22)
  57. truefalse.Font = Enum.Font.Code
  58. truefalse.Text = "false"
  59. truefalse.TextColor3 = Color3.fromRGB(0, 0, 0)
  60. truefalse.TextSize = 14.000
  61.  
  62. TextLabel_2.Parent = Frame
  63. TextLabel_2.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  64. TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  65. TextLabel_2.BorderSizePixel = 0
  66. TextLabel_2.Position = UDim2.new(0.185534596, 0, 0.915407836, 0)
  67. TextLabel_2.Size = UDim2.new(0, 200, 0, 19)
  68. TextLabel_2.Font = Enum.Font.SourceSans
  69. TextLabel_2.Text = "Allowed Featured gear to break"
  70. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  71. TextLabel_2.TextSize = 14.000
  72.  
  73. Damage.Name = "Damage"
  74. Damage.Parent = Frame
  75. Damage.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  76. Damage.BorderColor3 = Color3.fromRGB(0, 0, 0)
  77. Damage.BorderSizePixel = 0
  78. Damage.Position = UDim2.new(0.150943398, 0, 0.187311172, 0)
  79. Damage.Size = UDim2.new(0, 222, 0, 97)
  80. Damage.Font = Enum.Font.SourceSans
  81. Damage.Text = "Damage Braker"
  82. Damage.TextColor3 = Color3.fromRGB(255, 255, 255)
  83. Damage.TextSize = 33.000
  84. Damage.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  85. Damage.TextWrapped = true
  86.  
  87. -- Scripts:
  88.  
  89. local function AQVKIZM_fake_script() -- Frame.LocalScript
  90. local script = Instance.new('LocalScript', Frame)
  91.  
  92. local UserInputService = game:GetService("UserInputService")
  93.  
  94. local gui = script.Parent
  95.  
  96. local dragging
  97. local dragInput
  98. local dragStart
  99. local startPos
  100.  
  101. local function update(input)
  102. local delta = input.Position - dragStart
  103. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  104. end
  105.  
  106. gui.InputBegan:Connect(function(input)
  107. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  108. dragging = true
  109. dragStart = input.Position
  110. startPos = gui.Position
  111.  
  112. input.Changed:Connect(function()
  113. if input.UserInputState == Enum.UserInputState.End then
  114. dragging = false
  115. end
  116. end)
  117. end
  118. end)
  119.  
  120. gui.InputChanged:Connect(function(input)
  121. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  122. dragInput = input
  123. end
  124. end)
  125.  
  126. UserInputService.InputChanged:Connect(function(input)
  127. if input == dragInput and dragging then
  128. update(input)
  129. end
  130. end)
  131. end
  132. coroutine.wrap(AQVKIZM_fake_script)()
  133. local function ZYQUM_fake_script() -- Heal.Heal
  134. local script = Instance.new('LocalScript', Heal)
  135.  
  136. local featuredcheck = script.Parent.Parent:WaitForChild("truefalse")
  137. local numberblacklistheal = {1,2,3,4,5,7,9}
  138.  
  139.  
  140. local function Click()
  141. if featuredcheck.Text == "false" then
  142. for i,v in pairs(workspace.Obbies:GetDescendants()) do
  143. if v.Name == "Gear Part" then
  144. if v.Gn.Value == numberblacklistheal then
  145. local args = {
  146. [1] = {
  147. [1] = v
  148. },
  149. [2] = "DefaultNumberValue",
  150. [3] = 0,
  151. [4] = "Damage"
  152. }
  153.  
  154. game:GetService("ReplicatedStorage").Events.BehaviourObject:InvokeServer(unpack(args))
  155. end
  156. end
  157. end
  158. else
  159. for i,v in pairs(workspace:GetDescendants()) do
  160. if v.Name == "Gear Part" then
  161. if v.Gn.Value == numberblacklistheal then
  162. local args = {
  163. [1] = {
  164. [1] = v
  165. },
  166. [2] = "DefaultNumberValue",
  167. [3] = 0,
  168. [4] = "Damage"
  169. }
  170.  
  171. game:GetService("ReplicatedStorage").Events.BehaviourObject:InvokeServer(unpack(args))
  172. end
  173. end
  174. end
  175. end
  176. end
  177. b = script.Parent
  178. b.MouseButton1Click:Connect(Click)
  179. end
  180. coroutine.wrap(ZYQUM_fake_script)()
  181. local function NIZDQG_fake_script() -- truefalse.LocalScript
  182. local script = Instance.new('LocalScript', truefalse)
  183.  
  184. b = script.Parent
  185.  
  186. local click = false
  187. local function Click()
  188. click = not click
  189. if click then
  190. click = true
  191. b.BackgroundColor3 = Color3.new(0, 255, 0)
  192. b.Text = "true"
  193. else
  194. click = false
  195. b.BackgroundColor3 = Color3.new(255, 0, 0)
  196. b.Text = "false"
  197. end
  198. end
  199. b.MouseButton1Click:Connect(Click)
  200. end
  201. coroutine.wrap(NIZDQG_fake_script)()
  202. local function XHNUMU_fake_script() -- Damage.Damage
  203. local script = Instance.new('LocalScript', Damage)
  204.  
  205. local featuredcheck = script.Parent.Parent:WaitForChild("truefalse")
  206. local numberblacklistdamage = {8,9}
  207.  
  208. local function Click()
  209. if featuredcheck.Text == "false" then
  210. for i,v in pairs(workspace.Obbies:GetDescendants()) do
  211. if v.Name == "Gear Part" then
  212. if v.Gn.Value == numberblacklistdamage then
  213. local args = {
  214. [1] = {
  215. [1] = v
  216. },
  217. [2] = "DefaultNumberValue",
  218. [3] = 0,
  219. [4] = "Damage"
  220. }
  221.  
  222. game:GetService("ReplicatedStorage").Events.BehaviourObject:InvokeServer(unpack(args))
  223. end
  224. end
  225. end
  226. else
  227. for i,v in pairs(workspace:GetDescendants()) do
  228. if v.Name == "Gear Part" then
  229. if v.Gn.Value == numberblacklistdamage then
  230. local args = {
  231. [1] = {
  232. [1] = v
  233. },
  234. [2] = "DefaultNumberValue",
  235. [3] = 0,
  236. [4] = "Damage"
  237. }
  238.  
  239. game:GetService("ReplicatedStorage").Events.BehaviourObject:InvokeServer(unpack(args))
  240. end
  241. end
  242. end
  243. end
  244. end
  245. b = script.Parent
  246. b.MouseButton1Click:Connect(Click)
  247. end
  248. coroutine.wrap(XHNUMU_fake_script)()
  249.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement