InfMods

fun clicker game gui exploit- test

Nov 9th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.24 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local SpeedGui = Instance.new("TextButton")
  12. local UICorner_2 = Instance.new("UICorner")
  13. local Btoolsnotfe = Instance.new("TextButton")
  14. local UICorner_3 = Instance.new("UICorner")
  15. local FlyGui = Instance.new("TextButton")
  16. local UICorner_4 = Instance.new("UICorner")
  17. local Coinfarm = Instance.new("TextButton")
  18. local UICorner_5 = Instance.new("UICorner")
  19. local ScreenGui_2 = Instance.new("ScreenGui")
  20. local Click = Instance.new("TextButton")
  21. local UICorner_6 = Instance.new("UICorner")
  22. local Reset = Instance.new("TextButton")
  23. local UICorner_7 = Instance.new("UICorner")
  24. local Counter = Instance.new("TextLabel")
  25. local ScreenGui_3 = Instance.new("ScreenGui")
  26. local Frame_2 = Instance.new("Frame")
  27. local TextButton = Instance.new("TextButton")
  28.  
  29. --Properties:
  30.  
  31. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  32. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  33.  
  34. Frame.Parent = ScreenGui
  35. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  36. Frame.Position = UDim2.new(0.0693301931, 0, 0.122969836, 0)
  37. Frame.Size = UDim2.new(0, 220, 0, 341)
  38. Frame.Visible = false
  39.  
  40. UICorner.Parent = Frame
  41.  
  42. TextLabel.Parent = Frame
  43. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. TextLabel.BackgroundTransparency = 1.000
  45. TextLabel.Size = UDim2.new(0, 220, 0, 50)
  46. TextLabel.Font = Enum.Font.Nunito
  47. TextLabel.Text = "Wolf or other Gui "
  48. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 127)
  49. TextLabel.TextScaled = true
  50. TextLabel.TextSize = 14.000
  51. TextLabel.TextWrapped = true
  52.  
  53. TextLabel_2.Parent = Frame
  54. TextLabel_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  55. TextLabel_2.BackgroundTransparency = 1.000
  56. TextLabel_2.Position = UDim2.new(0.0454545468, 0, 0.853372455, 0)
  57. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  58. TextLabel_2.Font = Enum.Font.SourceSans
  59. TextLabel_2.Text = "Created by exe_crusader"
  60. TextLabel_2.TextColor3 = Color3.fromRGB(170, 0, 0)
  61. TextLabel_2.TextScaled = true
  62. TextLabel_2.TextSize = 14.000
  63. TextLabel_2.TextWrapped = true
  64.  
  65. SpeedGui.Name = "Speed Gui"
  66. SpeedGui.Parent = Frame
  67. SpeedGui.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
  68. SpeedGui.Position = UDim2.new(0.0454545468, 0, 0.146627575, 0)
  69. SpeedGui.Size = UDim2.new(0, 200, 0, 43)
  70. SpeedGui.Font = Enum.Font.SourceSans
  71. SpeedGui.Text = "Speed Gui"
  72. SpeedGui.TextColor3 = Color3.fromRGB(0, 0, 0)
  73. SpeedGui.TextSize = 23.000
  74. SpeedGui.TextWrapped = true
  75.  
  76. UICorner_2.Parent = SpeedGui
  77.  
  78. Btoolsnotfe.Name = "Btools (not fe)"
  79. Btoolsnotfe.Parent = Frame
  80. Btoolsnotfe.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
  81. Btoolsnotfe.Position = UDim2.new(0.0454545468, 0, 0.322580636, 0)
  82. Btoolsnotfe.Size = UDim2.new(0, 200, 0, 43)
  83. Btoolsnotfe.Font = Enum.Font.SourceSans
  84. Btoolsnotfe.Text = "Btools (not fe)"
  85. Btoolsnotfe.TextColor3 = Color3.fromRGB(0, 0, 0)
  86. Btoolsnotfe.TextSize = 22.000
  87. Btoolsnotfe.TextWrapped = true
  88.  
  89. UICorner_3.Parent = Btoolsnotfe
  90.  
  91. FlyGui.Name = "Fly Gui"
  92. FlyGui.Parent = Frame
  93. FlyGui.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
  94. FlyGui.Position = UDim2.new(0.0454545468, 0, 0.501466274, 0)
  95. FlyGui.Size = UDim2.new(0, 200, 0, 43)
  96. FlyGui.Font = Enum.Font.SourceSans
  97. FlyGui.Text = "Fly Gui"
  98. FlyGui.TextColor3 = Color3.fromRGB(0, 0, 0)
  99. FlyGui.TextSize = 25.000
  100.  
  101. UICorner_4.Parent = FlyGui
  102.  
  103. Coinfarm.Name = "Coin farm"
  104. Coinfarm.Parent = Frame
  105. Coinfarm.BackgroundColor3 = Color3.fromRGB(172, 255, 134)
  106. Coinfarm.Position = UDim2.new(0.0454545468, 0, 0.680351913, 0)
  107. Coinfarm.Size = UDim2.new(0, 200, 0, 43)
  108. Coinfarm.Font = Enum.Font.SourceSans
  109. Coinfarm.Text = "Coin Farm"
  110. Coinfarm.TextColor3 = Color3.fromRGB(0, 0, 0)
  111. Coinfarm.TextSize = 25.000
  112.  
  113. UICorner_5.Parent = Coinfarm
  114.  
  115. ScreenGui_2.Parent = ScreenGui
  116. ScreenGui_2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  117.  
  118. Click.Name = "Click "
  119. Click.Parent = ScreenGui_2
  120. Click.BackgroundColor3 = Color3.fromRGB(85, 247, 255)
  121. Click.Position = UDim2.new(0.0472392738, 0, 0.452574551, 0)
  122. Click.Size = UDim2.new(0, 168, 0, 31)
  123. Click.Font = Enum.Font.PatrickHand
  124. Click.Text = "Click"
  125. Click.TextColor3 = Color3.fromRGB(0, 0, 0)
  126. Click.TextScaled = true
  127. Click.TextSize = 14.000
  128. Click.TextWrapped = true
  129.  
  130. UICorner_6.Parent = Click
  131.  
  132. Reset.Name = "Reset"
  133. Reset.Parent = ScreenGui_2
  134. Reset.BackgroundColor3 = Color3.fromRGB(255, 6, 43)
  135. Reset.BorderSizePixel = 0
  136. Reset.Position = UDim2.new(0.0466666706, 0, 0.298103034, 0)
  137. Reset.Size = UDim2.new(0, 176, 0, 27)
  138. Reset.Font = Enum.Font.RobotoCondensed
  139. Reset.Text = "Reset"
  140. Reset.TextColor3 = Color3.fromRGB(0, 0, 0)
  141. Reset.TextScaled = true
  142. Reset.TextSize = 14.000
  143. Reset.TextWrapped = true
  144.  
  145. UICorner_7.Parent = Reset
  146.  
  147. Counter.Name = "Counter"
  148. Counter.Parent = ScreenGui_2
  149. Counter.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  150. Counter.BorderSizePixel = 0
  151. Counter.Position = UDim2.new(0.388571411, 0, 0.121951237, 0)
  152. Counter.Size = UDim2.new(0, 177, 0, 30)
  153. Counter.Font = Enum.Font.Oswald
  154. Counter.Text = "0"
  155. Counter.TextColor3 = Color3.fromRGB(255, 255, 255)
  156. Counter.TextScaled = true
  157. Counter.TextSize = 14.000
  158. Counter.TextWrapped = true
  159.  
  160. ScreenGui_3.Parent = ScreenGui
  161. ScreenGui_3.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  162.  
  163. Frame_2.Parent = ScreenGui_3
  164. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  165. Frame_2.Position = UDim2.new(0.122262776, 0, 0.243902445, 0)
  166. Frame_2.Size = UDim2.new(0, 178, 0, 48)
  167. Frame_2.Visible = false
  168.  
  169. TextButton.Parent = Frame_2
  170. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  171. TextButton.Position = UDim2.new(-0.061797753, 0, 1, 0)
  172. TextButton.Size = UDim2.new(0, 200, 0, 50)
  173. TextButton.Font = Enum.Font.SourceSans
  174. TextButton.Text = "test"
  175. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  176. TextButton.TextScaled = true
  177. TextButton.TextSize = 14.000
  178. TextButton.TextWrapped = true
  179.  
  180. -- Scripts:
  181.  
  182. local function AXTUSAV_fake_script() -- Frame.Smooth GUI Dragging
  183. local script = Instance.new('LocalScript', Frame)
  184.  
  185. local UserInputService = game:GetService("UserInputService")
  186. local runService = (game:GetService("RunService"));
  187.  
  188. local gui = script.Parent
  189.  
  190. local dragging
  191. local dragInput
  192. local dragStart
  193. local startPos
  194.  
  195. function Lerp(a, b, m)
  196. return a + (b - a) * m
  197. end;
  198.  
  199. local lastMousePos
  200. local lastGoalPos
  201. local DRAG_SPEED = (8); -- // The speed of the UI darg.
  202. function Update(dt)
  203. if not (startPos) then return end;
  204. if not (dragging) and (lastGoalPos) then
  205. gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
  206. return
  207. end;
  208.  
  209. local delta = (lastMousePos - UserInputService:GetMouseLocation())
  210. local xGoal = (startPos.X.Offset - delta.X);
  211. local yGoal = (startPos.Y.Offset - delta.Y);
  212. lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
  213. gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
  214. end;
  215.  
  216. gui.InputBegan:Connect(function(input)
  217. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  218. dragging = true
  219. dragStart = input.Position
  220. startPos = gui.Position
  221. lastMousePos = UserInputService:GetMouseLocation()
  222.  
  223. input.Changed:Connect(function()
  224. if input.UserInputState == Enum.UserInputState.End then
  225. dragging = false
  226. end
  227. end)
  228. end
  229. end)
  230.  
  231. gui.InputChanged:Connect(function(input)
  232. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  233. dragInput = input
  234. end
  235. end)
  236.  
  237. runService.Heartbeat:Connect(Update)
  238. end
  239. coroutine.wrap(AXTUSAV_fake_script)()
  240. local function IDSCOAY_fake_script() -- SpeedGui.LocalScript
  241. local script = Instance.new('LocalScript', SpeedGui)
  242.  
  243.  
  244. end
  245. coroutine.wrap(IDSCOAY_fake_script)()
  246. local function EFQKWXJ_fake_script() -- Click.LocalScript
  247. local script = Instance.new('LocalScript', Click)
  248.  
  249. script.Parent.MouseButton1Click:Connect(function(plr)
  250. if script.Parent.MouseButton1Click then
  251. script.Parent.Parent.Counter.Value.Value = script.Parent.Parent.Counter.Value.Value +1
  252. plr.leaderstats.Points.Value = plr.leaderstats.Points.Value + 1 --Change points to your currency
  253. end
  254. end)
  255.  
  256. end
  257. coroutine.wrap(EFQKWXJ_fake_script)()
  258. local function ZXBYB_fake_script() -- Reset.LocalScript
  259. local script = Instance.new('LocalScript', Reset)
  260.  
  261. script.Parent.MouseButton1Click:Connect(function()
  262. script.Parent.Parent.Counter.Value.Value = 0
  263. end)
  264.  
  265. end
  266. coroutine.wrap(ZXBYB_fake_script)()
  267. local function PTIHJC_fake_script() -- Counter.LocalScript
  268. local script = Instance.new('LocalScript', Counter)
  269.  
  270. function updatevalue()
  271. script.Parent.Text = script.Parent.Value.Value
  272. end
  273.  
  274. script.Parent.Value.Changed:Connect(updatevalue)
  275. end
  276. coroutine.wrap(PTIHJC_fake_script)()
  277. local function SFCKVU_fake_script() -- TextButton.LocalScript
  278. local script = Instance.new('LocalScript', TextButton)
  279.  
  280. script.Parent.MouseButton1Click:Connect(function()
  281.  
  282. end)
  283.  
  284.  
  285.  
  286.  
  287.  
  288. end
  289. coroutine.wrap(SFCKVU_fake_script)()
  290.  
Advertisement
Add Comment
Please, Sign In to add comment