MaxproGlitcher

Projet_Fling_Deluxe_It's Back Up

Jul 28th, 2026 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.53 KB | None | 0 0
  1. --[[By MaxproGlitcher Discord:maxproglitcher
  2.  
  3. -- This is the real Back Up One from Fling_Deluxe
  4.  
  5. -- Site Web official: https://github.com/MaxproGlitcher/Fling_Deluxe_Back_Up_
  6.  
  7. -- Fling_Deluxe is original Script software created and developed by MaxproGlitcher.
  8.  
  9. -- Copying, modifying, redistributing, reselling, republishing, or any other use of all or part of this project without prior written
  10.  
  11. -- permission is strictly prohibited.
  12.  
  13. -- This software is protected by applicable copyright laws. Any unauthorized use may result in the removal of the affected content as
  14.  
  15. -- well as appropriate legal action.
  16.  
  17. -- Fling_Deluxe® – Developed by MaxproGlitcher.
  18.  
  19. -- © 2026 MaxproGlitcher. All rights reserved.
  20.  
  21. -- Official version Back Up only.
  22.  
  23. --------------------------------------------------------------------------------------------------------------------
  24. _____ ________.__ .__ __ .__
  25. / \ _____ ___ ________________ ____ / _____/| | |__|/ |_ ____ | |__ ___________
  26. / \ / \\__ \ \ \/ /\____ \_ __ \/ _ \/ \ ___| | | \ __\/ ___\| | \_/ __ \_ __ \
  27. / Y \/ __ \_> < | |_> > | \( <_> ) \_\ \ |_| || | \ \___| Y \ ___/| | \/
  28. \____|__ (____ /__/\_ \| __/|__| \____/ \______ /____/__||__| \___ >___| /\___ >__|
  29. \/ \/ \/|__| \/ \/ \/ \/
  30.  
  31.  
  32. --------------------------------------------------------------------------------------------------------------------
  33.  
  34. _________ ____ __
  35. / ____/ (_)___ ____ _ / __ \___ / /_ ___ _____
  36. / /_ / / / __ \/ __ `/_____/ / / / _ \/ / / / / |/_/ _ \
  37. / __/ / / / / / / /_/ /_____/ /_/ / __/ / /_/ /> </ __/
  38. /_/ /_/_/_/ /_/\__, / /_____/\___/_/\__,_/_/|_|\___/
  39. /____/
  40. --------------------------------------------------------------------------------------------------------------------
  41. ]]
  42.  
  43. if not game:IsLoaded() then
  44. game.Loaded:Wait()
  45. end
  46.  
  47.  
  48. local Players = game:GetService("Players")
  49. local TweenService = game:GetService("TweenService")
  50. local UserInputService = game:GetService("UserInputService")
  51. local RunService = game:GetService("RunService")
  52. local player = Players.LocalPlayer
  53. local InstanceNew = Instance.new
  54. local Wait = task.wait
  55.  
  56. local NaProtectUI = NaProtectUI or function(gui) gui.Parent = player:GetService("PlayerGui") end
  57. local NAgui = NAgui or { draggerV2 = function(...) end }
  58. local MouseButtonFix = MouseButtonFix or function(btn, callback) btn.MouseButton1Click:Connect(callback) end
  59. local NAlib = NAlib or { disconnect = function(...) end, connect = function(...) end }
  60. local Lower = Lower or string.lower
  61. local Sub = Sub or string.sub
  62. local Discover = Discover or function(t, v) return table.find(t, v) end
  63. local getPlrHum = getPlrHum or function(char) return char and char:FindFirstChildOfClass("Humanoid") end
  64. local getHead = getHead or function(char) return char and (char:FindFirstChild("Head") or char:FindFirstChild("UpperTorso")) end
  65. local getRoot = function(char) return char and (char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")) end
  66. local flingManager = flingManager or {}
  67.  
  68. if clickflingUI then clickflingUI:Destroy() end
  69. NAlib.disconnect("clickfling_mouse")
  70. walkflinging = false
  71. loopTargeting = false
  72. tumbleMode = false
  73.  
  74. local screenGui = Instance.new("ScreenGui")
  75. screenGui.Name = "ClickFlingModernGUI"
  76. clickflingUI = screenGui
  77.  
  78. pcall(function()
  79. if gethui then
  80. screenGui.Parent = gethui()
  81. elseif syn and syn.protect_gui then
  82. syn.protect_gui(screenGui)
  83. screenGui.Parent = game:GetService("CoreGui")
  84. else
  85. screenGui.Parent = game:GetService("CoreGui")
  86. end
  87. end)
  88.  
  89. if not screenGui.Parent then
  90. screenGui.Parent = player:WaitForChild("PlayerGui")
  91. end
  92.  
  93.  
  94. local mainFrame = Instance.new("Frame", screenGui)
  95. mainFrame.Name = "Projet_Fling_Deluxe" .. tostring(math.random(100, 999))
  96. mainFrame.Size = UDim2.new(0, 350, 0, 470)
  97. mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  98. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  99. mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  100. mainFrame.BorderSizePixel = 0
  101.  
  102. local mainCorner = Instance.new("UICorner", mainFrame)
  103. mainCorner.CornerRadius = UDim.new(0, 10)
  104.  
  105. local UIStroke = Instance.new("UIStroke")
  106. UIStroke.Color = Color3.fromRGB(50, 50, 50)
  107. UIStroke.Thickness = 1
  108. UIStroke.Parent = mainFrame
  109.  
  110. local CloseButton = Instance.new("TextButton", mainFrame)
  111. CloseButton.Name = "CloseButton"
  112. CloseButton.Size = UDim2.new(0, 28, 0, 28)
  113. CloseButton.Position = UDim2.new(1, -34, 0, 8)
  114. CloseButton.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  115. CloseButton.Text = "X"
  116. CloseButton.TextColor3 = Color3.fromRGB(180, 180, 180)
  117. CloseButton.TextSize = 12
  118. CloseButton.Font = Enum.Font.GothamBold
  119. CloseButton.BorderSizePixel = 0
  120. CloseButton.ZIndex = 10
  121.  
  122. local closeCorner = Instance.new("UICorner", CloseButton)
  123. closeCorner.CornerRadius = UDim.new(0, 6)
  124.  
  125. CloseButton.MouseEnter:Connect(function()
  126. pcall(function()
  127. CloseButton.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  128. CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  129. end)
  130. end)
  131.  
  132. CloseButton.MouseLeave:Connect(function()
  133. pcall(function()
  134. CloseButton.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  135. CloseButton.TextColor3 = Color3.fromRGB(180, 180, 180)
  136. end)
  137. end)
  138.  
  139. CloseButton.MouseButton1Click:Connect(function()
  140. pcall(function()
  141. if screenGui and screenGui.Parent then
  142. screenGui:Destroy()
  143. end
  144. end)
  145. end)
  146.  
  147. local MainTitle = Instance.new("TextLabel", mainFrame)
  148. MainTitle.Size = UDim2.new(1, -50, 0, 35)
  149. MainTitle.Position = UDim2.new(0, 12, 0, 4)
  150. MainTitle.BackgroundTransparency = 1
  151. MainTitle.Text = "FLING DELUXE 2.1"
  152. MainTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  153. MainTitle.TextSize = 13
  154. MainTitle.Font = Enum.Font.GothamBold
  155. MainTitle.TextXAlignment = Enum.TextXAlignment.Left
  156.  
  157. local DiscordCredits = Instance.new("TextLabel", mainFrame)
  158. DiscordCredits.Size = UDim2.new(0, 200, 0, 15)
  159. DiscordCredits.Position = UDim2.new(1, -210, 1, -27)
  160. DiscordCredits.BackgroundTransparency = 1
  161. DiscordCredits.Text = "Discord : maxproglitcher"
  162. DiscordCredits.TextColor3 = Color3.fromRGB(140, 140, 140)
  163. DiscordCredits.TextSize = 10
  164. DiscordCredits.Font = Enum.Font.GothamMedium
  165. DiscordCredits.TextXAlignment = Enum.TextXAlignment.Right
  166.  
  167. local CreatorCredits = Instance.new("TextLabel", mainFrame)
  168. CreatorCredits.Size = UDim2.new(0, 200, 0, 15)
  169. CreatorCredits.Position = UDim2.new(1, -210, 1, -15)
  170. CreatorCredits.BackgroundTransparency = 1
  171. CreatorCredits.Text = "by MaxproGlitcher"
  172. CreatorCredits.TextColor3 = Color3.fromRGB(140, 140, 140)
  173. CreatorCredits.TextSize = 10
  174. CreatorCredits.Font = Enum.Font.GothamBold
  175. CreatorCredits.TextXAlignment = Enum.TextXAlignment.Right
  176.  
  177.  
  178. local dragging, dragInput, dragStart, startPos
  179. local function updateDrag(input)
  180. local delta = input.Position - dragStart
  181. local pos = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  182. TweenService:Create(mainFrame, TweenInfo.new(0.15), {Position = pos}):Play()
  183. end
  184.  
  185. mainFrame.InputBegan:Connect(function(input)
  186. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  187. dragging = true
  188. dragStart = input.Position
  189. startPos = mainFrame.Position
  190. input.Changed:Connect(function()
  191. if input.UserInputState == Enum.UserInputState.End then dragging = false end
  192. end)
  193. end
  194. end)
  195.  
  196. mainFrame.InputChanged:Connect(function(input)
  197. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  198. dragInput = input
  199. end
  200. end)
  201.  
  202. UserInputService.InputChanged:Connect(function(input)
  203. if dragging and input == dragInput then updateDrag(input) end
  204. end)
  205.  
  206. local scrollFrame = Instance.new("ScrollingFrame", mainFrame)
  207. scrollFrame.Size = UDim2.new(1, -16, 1, -85)
  208. scrollFrame.Position = UDim2.new(0, 8, 0, 42)
  209. scrollFrame.BackgroundTransparency = 1
  210. scrollFrame.ClipsDescendants = true
  211. scrollFrame.ScrollBarThickness = 4
  212. scrollFrame.ScrollBarImageColor3 = Color3.fromRGB(80, 80, 80)
  213. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  214. scrollFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
  215.  
  216. local layout = Instance.new("UIListLayout", scrollFrame)
  217. layout.SortOrder = Enum.SortOrder.LayoutOrder
  218. layout.Padding = UDim.new(0, 10)
  219. layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  220.  
  221. scrollFrame.InputBegan:Connect(function(input)
  222. if input.UserInputType == Enum.UserInputType.MouseWheel or input.UserInputType == Enum.UserInputType.Touch then
  223. isScrolling = true
  224. mainFrame.Active = false
  225. end
  226. end)
  227.  
  228. scrollFrame.InputEnded:Connect(function(input)
  229. if input.UserInputType == Enum.UserInputType.MouseWheel or input.UserInputType == Enum.UserInputType.Touch then
  230. task.delay(0.1, function()
  231. isScrolling = false
  232. mainFrame.Active = true
  233. end)
  234. end
  235. end)
  236.  
  237. local function addCorner(parent, radius)
  238. local c = Instance.new("UICorner")
  239. c.CornerRadius = UDim.new(0, radius or 6)
  240. c.Parent = parent
  241. return c
  242. end
  243.  
  244.  
  245. local LeftModuleFrame = Instance.new("Frame", scrollFrame)
  246. LeftModuleFrame.Size = UDim2.new(1, -4, 0, 110)
  247. LeftModuleFrame.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  248. LeftModuleFrame.BorderSizePixel = 0
  249. addCorner(LeftModuleFrame, 8)
  250.  
  251. local LeftTitle = InstanceNew("TextLabel", LeftModuleFrame)
  252. LeftTitle.Size = UDim2.new(1, -20, 0, 25)
  253. LeftTitle.Position = UDim2.new(0, 10, 0, 2)
  254. LeftTitle.BackgroundTransparency = 1
  255. LeftTitle.Text = "CLICK FLING MODES & POWER"
  256. LeftTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  257. LeftTitle.TextSize = 11
  258. LeftTitle.Font = Enum.Font.GothamBold
  259. LeftTitle.TextXAlignment = Enum.TextXAlignment.Left
  260.  
  261.  
  262. local toggleButtonInstant = InstanceNew("TextButton", LeftModuleFrame)
  263. toggleButtonInstant.Size = UDim2.new(1, -90, 0, 28)
  264. toggleButtonInstant.Position = UDim2.new(0, 10, 0, 30)
  265. toggleButtonInstant.Text = "Instant Click Fling: ON"
  266. toggleButtonInstant.TextSize = 10
  267. toggleButtonInstant.TextColor3 = Color3.fromRGB(255, 255, 255)
  268. toggleButtonInstant.Font = Enum.Font.GothamMedium
  269. toggleButtonInstant.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  270. toggleButtonInstant.BorderSizePixel = 0
  271. addCorner(toggleButtonInstant, 6)
  272.  
  273. local instantValueBox = Instance.new("TextBox", LeftModuleFrame)
  274. instantValueBox.Size = UDim2.new(0, 65, 0, 28)
  275. instantValueBox.Position = UDim2.new(1, -75, 0, 30)
  276. instantValueBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  277. instantValueBox.Text = "90000000"
  278. instantValueBox.PlaceholderText = "Force"
  279. instantValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  280. instantValueBox.TextSize = 10
  281. instantValueBox.Font = Enum.Font.GothamMedium
  282. instantValueBox.BorderSizePixel = 0
  283. addCorner(instantValueBox, 6)
  284.  
  285.  
  286. local toggleButtonTween = InstanceNew("TextButton", LeftModuleFrame)
  287. toggleButtonTween.Size = UDim2.new(1, -90, 0, 28)
  288. toggleButtonTween.Position = UDim2.new(0, 10, 0, 66)
  289. toggleButtonTween.Text = "Tween Click Fling: OFF"
  290. toggleButtonTween.TextSize = 10
  291. toggleButtonTween.TextColor3 = Color3.fromRGB(255, 255, 255)
  292. toggleButtonTween.Font = Enum.Font.GothamMedium
  293. toggleButtonTween.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  294. toggleButtonTween.BorderSizePixel = 0
  295. addCorner(toggleButtonTween, 6)
  296.  
  297. local tweenValueBox = Instance.new("TextBox", LeftModuleFrame)
  298. tweenValueBox.Size = UDim2.new(0, 65, 0, 28)
  299. tweenValueBox.Position = UDim2.new(1, -75, 0, 66)
  300. tweenValueBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  301. tweenValueBox.Text = "90000000"
  302. tweenValueBox.PlaceholderText = "Force"
  303. tweenValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  304. tweenValueBox.TextSize = 10
  305. tweenValueBox.Font = Enum.Font.GothamMedium
  306. tweenValueBox.BorderSizePixel = 0
  307. addCorner(tweenValueBox, 6)
  308.  
  309.  
  310. local RightModuleFrame = Instance.new("Frame", scrollFrame)
  311. RightModuleFrame.Size = UDim2.new(1, -4, 0, 75)
  312. RightModuleFrame.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  313. RightModuleFrame.BorderSizePixel = 0
  314. addCorner(RightModuleFrame, 8)
  315.  
  316. local RightTitle = InstanceNew("TextLabel", RightModuleFrame)
  317. RightTitle.Size = UDim2.new(1, -20, 0, 25)
  318. RightTitle.Position = UDim2.new(0, 10, 0, 2)
  319. RightTitle.BackgroundTransparency = 1
  320. RightTitle.Text = "WALK FLING POWER"
  321. RightTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  322. RightTitle.TextSize = 11
  323. RightTitle.Font = Enum.Font.GothamBold
  324. RightTitle.TextXAlignment = Enum.TextXAlignment.Left
  325.  
  326. local toggleButtonRight = InstanceNew("TextButton", RightModuleFrame)
  327. toggleButtonRight.Size = UDim2.new(1, -90, 0, 28)
  328. toggleButtonRight.Position = UDim2.new(0, 10, 0, 32)
  329. toggleButtonRight.Text = "Walk Fling: OFF"
  330. toggleButtonRight.TextSize = 10
  331. toggleButtonRight.TextColor3 = Color3.fromRGB(255, 255, 255)
  332. toggleButtonRight.Font = Enum.Font.GothamMedium
  333. toggleButtonRight.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  334. toggleButtonRight.BorderSizePixel = 0
  335. addCorner(toggleButtonRight, 6)
  336.  
  337. local walkValueBox = Instance.new("TextBox", RightModuleFrame)
  338. walkValueBox.Size = UDim2.new(0, 65, 0, 28)
  339. walkValueBox.Position = UDim2.new(1, -75, 0, 32)
  340. walkValueBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  341. walkValueBox.Text = "90000000"
  342. walkValueBox.PlaceholderText = "Mult"
  343. walkValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  344. walkValueBox.TextSize = 10
  345. walkValueBox.Font = Enum.Font.GothamMedium
  346. walkValueBox.BorderSizePixel = 0
  347. addCorner(walkValueBox, 6)
  348.  
  349.  
  350. local TargetModuleFrame = Instance.new("Frame", scrollFrame)
  351. TargetModuleFrame.Size = UDim2.new(1, -4, 0, 145)
  352. TargetModuleFrame.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
  353. TargetModuleFrame.BorderSizePixel = 0
  354. addCorner(TargetModuleFrame, 8)
  355.  
  356. local TargetTitle = InstanceNew("TextLabel", TargetModuleFrame)
  357. TargetTitle.Size = UDim2.new(1, -20, 0, 25)
  358. TargetTitle.Position = UDim2.new(0, 10, 0, 2)
  359. TargetTitle.BackgroundTransparency = 1
  360. TargetTitle.Text = "LOOP TARGET FLING"
  361. TargetTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  362. TargetTitle.TextSize = 11
  363. TargetTitle.Font = Enum.Font.GothamBold
  364. TargetTitle.TextXAlignment = Enum.TextXAlignment.Left
  365.  
  366. local targetTextBox = Instance.new("TextBox", TargetModuleFrame)
  367. targetTextBox.Size = UDim2.new(1, -20, 0, 28)
  368. targetTextBox.Position = UDim2.new(0, 10, 0, 30)
  369. targetTextBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  370. targetTextBox.Text = ""
  371. targetTextBox.PlaceholderText = "Target Username..."
  372. targetTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  373. targetTextBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 120)
  374. targetTextBox.TextSize = 10
  375. targetTextBox.Font = Enum.Font.GothamMedium
  376. targetTextBox.ClearTextOnFocus = false
  377. targetTextBox.BorderSizePixel = 0
  378. addCorner(targetTextBox, 6)
  379.  
  380. local toggleButtonLoop = InstanceNew("TextButton", TargetModuleFrame)
  381. toggleButtonLoop.Size = UDim2.new(1, -90, 0, 28)
  382. toggleButtonLoop.Position = UDim2.new(0, 10, 0, 66)
  383. toggleButtonLoop.Text = "Loop Target: OFF"
  384. toggleButtonLoop.TextSize = 10
  385. toggleButtonLoop.TextColor3 = Color3.fromRGB(255, 255, 255)
  386. toggleButtonLoop.Font = Enum.Font.GothamMedium
  387. toggleButtonLoop.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  388. toggleButtonLoop.BorderSizePixel = 0
  389. addCorner(toggleButtonLoop, 6)
  390.  
  391. local loopValueBox = Instance.new("TextBox", TargetModuleFrame)
  392. loopValueBox.Size = UDim2.new(0, 65, 0, 28)
  393. loopValueBox.Position = UDim2.new(1, -75, 0, 66)
  394. loopValueBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  395. loopValueBox.Text = "90000000"
  396. loopValueBox.PlaceholderText = "Force"
  397. loopValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  398. loopValueBox.TextSize = 10
  399. loopValueBox.Font = Enum.Font.GothamMedium
  400. loopValueBox.BorderSizePixel = 0
  401. addCorner(loopValueBox, 6)
  402.  
  403. local toggleButtonLoopAll = InstanceNew("TextButton", TargetModuleFrame)
  404. toggleButtonLoopAll.Size = UDim2.new(1, -90, 0, 28)
  405. toggleButtonLoopAll.Position = UDim2.new(0, 10, 0, 102)
  406. toggleButtonLoopAll.Text = "Loop Target All: OFF"
  407. toggleButtonLoopAll.TextSize = 10
  408. toggleButtonLoopAll.TextColor3 = Color3.fromRGB(255, 255, 255)
  409. toggleButtonLoopAll.Font = Enum.Font.GothamMedium
  410. toggleButtonLoopAll.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  411. toggleButtonLoopAll.BorderSizePixel = 0
  412. addCorner(toggleButtonLoopAll, 6)
  413.  
  414. local loopAllValueBox = Instance.new("TextBox", TargetModuleFrame)
  415. loopAllValueBox.Size = UDim2.new(0, 65, 0, 28)
  416. loopAllValueBox.Position = UDim2.new(1, -75, 0, 102)
  417. loopAllValueBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  418. loopAllValueBox.Text = "90000000"
  419. loopAllValueBox.PlaceholderText = "Force"
  420. loopAllValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  421. loopAllValueBox.TextSize = 10
  422. loopAllValueBox.Font = Enum.Font.GothamMedium
  423. loopAllValueBox.BorderSizePixel = 0
  424. addCorner(loopAllValueBox, 6)
  425.  
  426.  
  427. local searchScroll = Instance.new("ScrollingFrame", screenGui)
  428. searchScroll.Size = UDim2.new(0, 310, 0, 120)
  429. searchScroll.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  430. searchScroll.BorderSizePixel = 0
  431. searchScroll.Visible = false
  432. searchScroll.ZIndex = 10
  433. searchScroll.ScrollBarThickness = 3
  434. searchScroll.ScrollBarImageColor3 = Color3.fromRGB(80, 80, 80)
  435. searchScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  436. searchScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
  437. addCorner(searchScroll, 6)
  438.  
  439. local success, errorMessage = pcall(function()
  440. local searchLayout = Instance.new("UIListLayout", searchScroll)
  441. searchLayout.SortOrder = Enum.SortOrder.LayoutOrder
  442.  
  443. local function updateSearchPosition()
  444. pcall(function()
  445. searchScroll.Position = UDim2.new(0, targetTextBox.AbsolutePosition.X, 0, targetTextBox.AbsolutePosition.Y + targetTextBox.AbsoluteSize.Y + 4)
  446. end)
  447. end
  448.  
  449. targetTextBox:GetPropertyChangedSignal("AbsolutePosition"):Connect(updateSearchPosition)
  450.  
  451. local function updateSearchList()
  452. pcall(function()
  453. for _, item in ipairs(searchScroll:GetChildren()) do
  454. if item:IsA("TextButton") then
  455. pcall(function() item:Destroy() end)
  456. end
  457. end
  458.  
  459. local text = targetTextBox.Text:lower():gsub("%s+", "")
  460. local matches = {}
  461.  
  462. table.insert(matches, "None")
  463.  
  464. for _, p in ipairs(Players:GetPlayers()) do
  465. if p ~= player then
  466. local name = p.Name:lower():gsub("%s+", "")
  467. local dname = p.DisplayName:lower():gsub("%s+", "")
  468. if text == "" or name:find(text, 1, true) or dname:find(text, 1, true) then
  469. table.insert(matches, p.Name)
  470. end
  471. end
  472. end
  473.  
  474. for _, name in ipairs(matches) do
  475. local btn = Instance.new("TextButton", searchScroll)
  476. btn.Size = UDim2.new(1, 0, 0, 24)
  477. btn.BackgroundTransparency = 1
  478. btn.Text = " " .. name
  479. btn.TextColor3 = name == "None" and Color3.fromRGB(200, 70, 70) or Color3.fromRGB(220, 220, 220)
  480. btn.TextXAlignment = Enum.TextXAlignment.Left
  481. btn.TextSize = 10
  482. btn.Font = Enum.Font.GothamMedium
  483. btn.ZIndex = 11
  484.  
  485. btn.MouseEnter:Connect(function()
  486. pcall(function()
  487. btn.BackgroundTransparency = 0.9
  488. btn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  489. end)
  490. end)
  491. btn.MouseLeave:Connect(function()
  492. pcall(function()
  493. btn.BackgroundTransparency = 1
  494. end)
  495. end)
  496.  
  497. btn.MouseButton1Click:Connect(function()
  498. pcall(function()
  499. if name == "None" then
  500. targetTextBox.Text = ""
  501. if loopTargeting then
  502. loopTargeting = false
  503. toggleButtonLoop.Text = "Loop Target: OFF"
  504. toggleButtonLoop.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  505. if LOOPPROTECT then
  506. pcall(function() LOOPPROTECT:Destroy() end)
  507. LOOPPROTECT = nil
  508. end
  509. end
  510. else
  511. targetTextBox.Text = name
  512. end
  513.  
  514. searchScroll.Visible = false
  515. targetTextBox:ReleaseFocus()
  516. updateSearchList()
  517. end)
  518. end)
  519. end
  520. end)
  521. end
  522.  
  523. targetTextBox:GetPropertyChangedSignal("Text"):Connect(function()
  524. updateSearchList()
  525. end)
  526.  
  527. targetTextBox.Focused:Connect(function()
  528. updateSearchPosition()
  529. updateSearchList()
  530. searchScroll.Visible = true
  531. end)
  532.  
  533. Players.PlayerAdded:Connect(function(newPlayer)
  534. if searchScroll.Visible then
  535. updateSearchList()
  536. end
  537. end)
  538.  
  539. Players.PlayerRemoving:Connect(function(leftPlayer)
  540. pcall(function()
  541. if targetTextBox.Text:lower() == leftPlayer.Name:lower() then
  542. targetTextBox.Text = ""
  543. if loopTargeting then
  544. loopTargeting = false
  545. toggleButtonLoop.Text = "Loop Target: OFF"
  546. toggleButtonLoop.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  547. if LOOPPROTECT then
  548. pcall(function() LOOPPROTECT:Destroy() end)
  549. LOOPPROTECT = nil
  550. end
  551. end
  552. end
  553.  
  554. if searchScroll.Visible then
  555. updateSearchList()
  556. end
  557. end)
  558. end)
  559.  
  560. UserInputService.InputBegan:Connect(function(input, gpe)
  561. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  562. task.wait(0.05)
  563. pcall(function()
  564. if not targetTextBox:IsFocused() and searchScroll.Visible then
  565. searchScroll.Visible = false
  566. end
  567. end)
  568. end
  569. end)
  570.  
  571. local clickFlingMode = "Instant"
  572.  
  573. MouseButtonFix(toggleButtonInstant, function()
  574. pcall(function()
  575. if clickFlingMode == "Instant" then
  576. clickFlingMode = "None"
  577. toggleButtonInstant.Text = "Instant Click Fling: OFF"
  578. toggleButtonInstant.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  579. else
  580. clickFlingMode = "Instant"
  581. toggleButtonInstant.Text = "Instant Click Fling: ON"
  582. toggleButtonInstant.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  583.  
  584. toggleButtonTween.Text = "Tween Click Fling: OFF"
  585. toggleButtonTween.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  586. end
  587. end)
  588. end)
  589.  
  590. MouseButtonFix(toggleButtonTween, function()
  591. pcall(function()
  592. if clickFlingMode == "Tween" then
  593. clickFlingMode = "None"
  594. toggleButtonTween.Text = "Tween Click Fling: OFF"
  595. toggleButtonTween.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  596. else
  597. clickFlingMode = "Tween"
  598. toggleButtonTween.Text = "Tween Click Fling: ON"
  599. toggleButtonTween.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  600.  
  601. toggleButtonInstant.Text = "Instant Click Fling: OFF"
  602. toggleButtonInstant.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  603. end
  604. end)
  605. end)
  606.  
  607. local function startWalkFlingLoop()
  608. pcall(function()
  609. local char = player.Character
  610. local hum = getPlrHum(char)
  611. if hum then
  612. local deathConn
  613. deathConn = hum.Died:Connect(function()
  614. pcall(function()
  615. walkflinging = false
  616. toggleButtonRight.Text = "Walk Fling: OFF"
  617. toggleButtonRight.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  618. if deathConn then deathConn:Disconnect() end
  619. end)
  620. end)
  621. end
  622.  
  623. task.spawn(function()
  624. local movel = 0.1
  625. while walkflinging do
  626. RunService.Heartbeat:Wait()
  627.  
  628. pcall(function()
  629. local character = player.Character
  630. local root = getRoot(character)
  631. local mult = tonumber(walkValueBox.Text) or 90000000
  632.  
  633. if character and character.Parent and root and root.Parent then
  634. local vel = root.Velocity
  635. root.Velocity = vel * mult + Vector3.new(0, mult, 0)
  636.  
  637. RunService.RenderStepped:Wait()
  638. if character and character.Parent and root and root.Parent then
  639. root.Velocity = vel
  640. end
  641.  
  642. RunService.Stepped:Wait()
  643. if character and character.Parent and root and root.Parent then
  644. root.Velocity = vel + Vector3.new(0, movel, 0)
  645. movel = movel * -1
  646. end
  647. end
  648. end)
  649. end
  650. end)
  651. end)
  652. end
  653.  
  654. MouseButtonFix(toggleButtonRight, function()
  655. pcall(function()
  656. walkflinging = not walkflinging
  657. if walkflinging then
  658. toggleButtonRight.Text = "Walk Fling: ON"
  659. toggleButtonRight.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  660. startWalkFlingLoop()
  661. else
  662. toggleButtonRight.Text = "Walk Fling: OFF"
  663. toggleButtonRight.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  664. end
  665. end)
  666. end)
  667. end)
  668.  
  669. if not success then
  670. warn("Error initializing the UI module Walk Fling or Clik Fling or Tween Fling :", errorMessage)
  671. end
  672.  
  673. local success, errorMessage = pcall(function()
  674. local loopTargeting = false
  675. local loopTargetingAll = false
  676.  
  677. local function startLoopTargetAction(isModeAll)
  678. task.spawn(function()
  679. while (isModeAll and loopTargetingAll) or (not isModeAll and loopTargeting) do
  680. local successLoop, errLoop = pcall(function()
  681. local targetName = targetTextBox.Text:lower():gsub("%s+", "")
  682.  
  683. if not isModeAll and targetName == "" then
  684. task.wait(0.1)
  685. return
  686. end
  687.  
  688. local isAll = isModeAll or (targetName == "all" or targetName == "others")
  689.  
  690. local GetPlayer = function(Name)
  691. if Name == "random" then
  692. local GetPlayers = Players:GetPlayers()
  693. local myIndex = Discover(GetPlayers, player)
  694. if myIndex then
  695. table.remove(GetPlayers, myIndex)
  696. end
  697. if #GetPlayers > 0 then
  698. return GetPlayers[math.random(#GetPlayers)]
  699. end
  700. else
  701. for _, x in next, Players:GetPlayers() do
  702. if x ~= player then
  703. local n = x.Name:lower():gsub("%s+", "")
  704. local d = x.DisplayName:lower():gsub("%s+", "")
  705. if n:match("^"..Name) or d:match("^"..Name) then
  706. return x
  707. end
  708. end
  709. end
  710. end
  711. return nil
  712. end
  713.  
  714. local FlingDeluxePro = function(TargetPlayer)
  715. local successFling, errFling = pcall(function()
  716. local isStillActive = isModeAll and loopTargetingAll or loopTargeting
  717. if not isStillActive or not TargetPlayer or not TargetPlayer.Parent or TargetPlayer == player then return end
  718.  
  719. if LOOPPROTECT then pcall(function() LOOPPROTECT:Destroy() end) LOOPPROTECT = nil end
  720.  
  721. local Character = player.Character
  722. if not Character or not Character.Parent or not Character:FindFirstChild("Humanoid") then
  723. Character = player.CharacterAdded:Wait()
  724. end
  725.  
  726. local Humanoid = getPlrHum(Character)
  727. local HRP = Character:WaitForChild("HumanoidRootPart", 2) or (Humanoid and Humanoid.RootPart)
  728. local camera = workspace.CurrentCamera
  729.  
  730. if not Humanoid or Humanoid.Health <= 0 or not HRP then return end
  731.  
  732. local TCharacter = TargetPlayer.Character
  733. if not TCharacter or not TCharacter.Parent then return end
  734.  
  735. local THumanoid = getPlrHum(TCharacter)
  736. if not THumanoid or THumanoid.Health <= 0 then return end
  737.  
  738. LOOPPROTECT = InstanceNew("Part")
  739. LOOPPROTECT.Size = Vector3.new(1, 1, 1)
  740. LOOPPROTECT.Transparency = 1
  741. LOOPPROTECT.CanCollide = false
  742. LOOPPROTECT.Anchored = false
  743. LOOPPROTECT.Parent = camera
  744.  
  745. local weld = InstanceNew("WeldConstraint")
  746. weld.Part0 = HRP
  747. weld.Part1 = LOOPPROTECT
  748. weld.Parent = LOOPPROTECT
  749.  
  750. local bodyGyro = InstanceNew("BodyGyro")
  751. bodyGyro.MaxTorque = Vector3.new(400000, 400000, 400000)
  752. bodyGyro.D = 1000
  753. bodyGyro.P = 2000
  754. bodyGyro.Parent = LOOPPROTECT
  755.  
  756. local RootPart = HRP
  757. local TRootPart = THumanoid.RootPart
  758. local THead = getHead(TCharacter)
  759. local Accessory = TCharacter:FindFirstChildOfClass("Accessory")
  760. local Handle = Accessory and Accessory:FindFirstChild("Handle")
  761.  
  762. if not flingManager.lFlingOldPos or RootPart.Velocity.Magnitude < 50 then
  763. flingManager.lFlingOldPos = RootPart.CFrame
  764. end
  765.  
  766. if TCharacter:FindFirstChildWhichIsA("BasePart") then
  767. if THead then
  768. camera.CameraSubject = THead
  769. elseif Handle then
  770. camera.CameraSubject = Handle
  771. elseif THumanoid then
  772. camera.CameraSubject = THumanoid
  773. end
  774.  
  775. local customForce = isAll and (tonumber(loopAllValueBox.Text) or 90000000) or (tonumber(loopValueBox.Text) or 90000000)
  776.  
  777. local FPos = function(BasePart, Pos, Ang)
  778. if not RootPart or not Character or not Character.Parent or Humanoid.Health <= 0 then return end
  779. RootPart.CFrame = CFrame.new(BasePart.Position) * Pos * Ang
  780. Character:SetPrimaryPartCFrame(CFrame.new(BasePart.Position) * Pos * Ang)
  781. RootPart.Velocity = Vector3.new(customForce, customForce * 10, customForce)
  782. RootPart.RotVelocity = Vector3.new(customForce * 10, customForce * 10, customForce * 10)
  783. end
  784.  
  785. local SFBasePart = function(BasePart)
  786. local TimeToWait = 2
  787. local Time = tick()
  788. local Angle = 0
  789. repeat
  790. if RootPart and Character.Parent and Humanoid.Health > 0 and THumanoid and TCharacter and TCharacter.Parent and THumanoid.Health > 0 then
  791. if BasePart.Velocity.Magnitude < 50 then
  792. Angle = Angle + 100
  793. FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0)) task.wait()
  794. FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0)) task.wait()
  795. FPos(BasePart, CFrame.new(2.25, 1.5, -2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0)) task.wait()
  796. FPos(BasePart, CFrame.new(-2.25, -1.5, 2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0)) task.wait()
  797. FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection, CFrame.Angles(math.rad(Angle), 0, 0)) task.wait()
  798. FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection, CFrame.Angles(math.rad(Angle), 0, 0)) task.wait()
  799. else
  800. FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0)) task.wait()
  801. FPos(BasePart, CFrame.new(0, -1.5, -THumanoid.WalkSpeed), CFrame.Angles(0, 0, 0)) task.wait()
  802. FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0)) task.wait()
  803. FPos(BasePart, CFrame.new(0, 1.5, TRootPart and TRootPart.Velocity.Magnitude / 1.25 or 0), CFrame.Angles(math.rad(90), 0, 0)) task.wait()
  804. FPos(BasePart, CFrame.new(0, -1.5, -(TRootPart and TRootPart.Velocity.Magnitude / 1.25 or 0)), CFrame.Angles(0, 0, 0)) task.wait()
  805. FPos(BasePart, CFrame.new(0, 1.5, TRootPart and TRootPart.Velocity.Magnitude / 1.25 or 0), CFrame.Angles(math.rad(90), 0, 0)) task.wait()
  806. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(90), 0, 0)) task.wait()
  807. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0)) task.wait()
  808. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(-90), 0, 0)) task.wait()
  809. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0)) task.wait()
  810. end
  811. else
  812. break
  813. end
  814. until not (isModeAll and loopTargetingAll or loopTargeting) or not BasePart or not BasePart.Parent or BasePart.Velocity.Magnitude > 500 or BasePart.Parent ~= TargetPlayer.Character or TargetPlayer.Parent ~= Players or TargetPlayer.Character ~= TCharacter or Humanoid.Health <= 0 or THumanoid.Health <= 0 or tick() > Time + TimeToWait
  815. end
  816.  
  817. local OrgDestroyHeight = workspace.FallenPartsDestroyHeight
  818. workspace.FallenPartsDestroyHeight = 0/0
  819.  
  820. local BV = InstanceNew("BodyVelocity")
  821. BV.Parent = RootPart
  822. BV.Velocity = Vector3.new(customForce, customForce, customForce)
  823. BV.MaxForce = Vector3.new(1/0, 1/0, 1/0)
  824.  
  825. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  826.  
  827. if TRootPart and THead then
  828. if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then SFBasePart(THead) else SFBasePart(TRootPart) end
  829. elseif TRootPart then
  830. SFBasePart(TRootPart)
  831. elseif THead then
  832. SFBasePart(THead)
  833. elseif Accessory and Handle then
  834. SFBasePart(Handle)
  835. end
  836.  
  837. if BV then BV:Destroy() end
  838. if Humanoid and Humanoid.Parent then
  839. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, true)
  840. camera.CameraSubject = Humanoid
  841. end
  842.  
  843. local resetTimeout = tick() + 1
  844. repeat
  845. if RootPart and flingManager.lFlingOldPos and Humanoid.Health > 0 then
  846. RootPart.CFrame = flingManager.lFlingOldPos * CFrame.new(0, 0.5, 0)
  847. Character:SetPrimaryPartCFrame(flingManager.lFlingOldPos * CFrame.new(0, 0.5, 0))
  848. Humanoid:ChangeState("GettingUp")
  849. for _, x in next, Character:GetChildren() do
  850. if x:IsA("BasePart") then
  851. x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
  852. end
  853. end
  854. end
  855. task.wait()
  856. until not (isModeAll and loopTargetingAll or loopTargeting) or not RootPart or Humanoid.Health <= 0 or (RootPart.Position - flingManager.lFlingOldPos.p).Magnitude < 25 or tick() > resetTimeout
  857.  
  858. workspace.FallenPartsDestroyHeight = OrgDestroyHeight
  859. end
  860. end)
  861.  
  862. if LOOPPROTECT then pcall(function() LOOPPROTECT:Destroy() end) LOOPPROTECT = nil end
  863. end
  864.  
  865. local char = player.Character
  866. local hum = char and char:FindFirstChildOfClass("Humanoid")
  867. if not char or not hum or hum.Health <= 0 then
  868. task.wait(1)
  869. return
  870. end
  871.  
  872. if isAll then
  873. for _, x in next, Players:GetPlayers() do
  874. local activeCheck = isModeAll and loopTargetingAll or loopTargeting
  875. if not activeCheck then break end
  876. if x ~= player and x.UserId ~= 1414978355 then
  877. FlingDeluxePro(x)
  878. task.wait(0.1)
  879. end
  880. end
  881. else
  882. local TP = GetPlayer(targetName)
  883. if TP and TP ~= player and TP.UserId ~= 1414978355 then
  884. FlingDeluxePro(TP)
  885. end
  886. end
  887. end)
  888.  
  889. if not successLoop then
  890. task.wait(0.2)
  891. end
  892. task.wait(0.1)
  893. end
  894. end)
  895. end
  896.  
  897. MouseButtonFix(toggleButtonLoop, function()
  898. loopTargeting = not loopTargeting
  899. if loopTargeting then
  900. loopTargetingAll = false
  901. toggleButtonLoopAll.Text = "Loop Target All: OFF"
  902. toggleButtonLoopAll.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  903.  
  904. toggleButtonLoop.Text = "Loop Target: ON"
  905. toggleButtonLoop.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  906. startLoopTargetAction(false)
  907. else
  908. toggleButtonLoop.Text = "Loop Target: OFF"
  909. toggleButtonLoop.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  910. if LOOPPROTECT then pcall(function() LOOPPROTECT:Destroy() end) LOOPPROTECT = nil end
  911. end
  912. end)
  913.  
  914. MouseButtonFix(toggleButtonLoopAll, function()
  915. loopTargetingAll = not loopTargetingAll
  916. if loopTargetingAll then
  917. loopTargeting = false
  918. toggleButtonLoop.Text = "Loop Target: OFF"
  919. toggleButtonLoop.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  920.  
  921. toggleButtonLoopAll.Text = "Loop Target All: ON"
  922. toggleButtonLoopAll.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  923. startLoopTargetAction(true)
  924. else
  925. toggleButtonLoopAll.Text = "Loop Target All: OFF"
  926. toggleButtonLoopAll.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  927. if LOOPPROTECT then pcall(function() LOOPPROTECT:Destroy() end) LOOPPROTECT = nil end
  928. end
  929. end)
  930. end)
  931.  
  932. if not success then
  933. warn("Error while running Loop Target or Loop Target All... :", errorMessage)
  934. end
  935.  
  936. local GuiService = game:GetService("GuiService")
  937. local UserInputService = game:GetService("UserInputService")
  938.  
  939. pcall(function() GuiService:SetInspectMenuEnabled(false) end)
  940.  
  941. local mouse = player:GetMouse()
  942. local isFlinging = false
  943.  
  944. mouse.Button1Down:Connect(function()
  945. if clickFlingMode == "None" or isFlinging then return end
  946.  
  947.  
  948. local camera = workspace.CurrentCamera
  949. local mousePos = UserInputService:GetMouseLocation()
  950. local ray = camera:ViewportPointToRay(mousePos.X, mousePos.Y)
  951.  
  952. local raycastParams = RaycastParams.new()
  953. raycastParams.FilterType = Enum.RaycastFilterType.Exclude
  954. if player.Character then
  955. raycastParams.FilterDescendantsInstances = {player.Character}
  956. end
  957.  
  958. local result = workspace:Raycast(ray.Origin, ray.Direction * 1000, raycastParams)
  959. local target = result and result.Instance or mouse.Target
  960. if not target then return end
  961.  
  962.  
  963. local targetChar = target:FindFirstAncestorWhichIsA("Model")
  964. local targetPlayer = Players:GetPlayerFromCharacter(targetChar) or Players:GetPlayerFromCharacter(target.Parent)
  965.  
  966. if not targetPlayer or targetPlayer == player or targetPlayer.UserId == 1414978355 then return end
  967. targetChar = targetPlayer.Character
  968.  
  969. local myChar = player.Character
  970. local myRoot = getRoot(myChar)
  971. local myHum = getPlrHum(myChar)
  972. local targetRoot = targetChar and getRoot(targetChar)
  973.  
  974. if not myRoot or not myHum or not targetRoot or myHum.Health <= 0 then return end
  975.  
  976. isFlinging = true
  977. local oldCFrame = myRoot.CFrame
  978.  
  979. pcall(function()
  980. if clickFlingMode == "Instant" then
  981.  
  982. local forceVal = tonumber(instantValueBox.Text) or 90000000
  983. myRoot.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 1)
  984.  
  985. local startTime = tick()
  986. while tick() - startTime < 0.3 do
  987. RunService.Heartbeat:Wait()
  988. if myRoot and targetRoot then
  989. myRoot.CFrame = targetRoot.CFrame
  990. myRoot.Velocity = Vector3.new(forceVal, forceVal * 10, forceVal)
  991. myRoot.RotVelocity = Vector3.new(forceVal * 10, forceVal * 10, forceVal * 10)
  992. end
  993. end
  994.  
  995. myRoot.Velocity = Vector3.zero
  996. myRoot.RotVelocity = Vector3.zero
  997. myRoot.CFrame = oldCFrame
  998.  
  999. elseif clickFlingMode == "Tween" then
  1000.  
  1001. local forceVal = tonumber(tweenValueBox.Text) or 90000000
  1002. local distance = (targetRoot.Position - myRoot.Position).Magnitude
  1003. local tweenInfo = TweenInfo.new(distance / 100, Enum.EasingStyle.Linear)
  1004. local tween = TweenService:Create(myRoot, tweenInfo, {CFrame = targetRoot.CFrame})
  1005.  
  1006. tween:Play()
  1007. tween.Completed:Wait()
  1008.  
  1009. local startTime = tick()
  1010. while tick() - startTime < 0.3 do
  1011. RunService.Heartbeat:Wait()
  1012. if myRoot and targetRoot then
  1013. myRoot.CFrame = targetRoot.CFrame
  1014. myRoot.Velocity = Vector3.new(forceVal, forceVal * 10, forceVal)
  1015. myRoot.RotVelocity = Vector3.new(forceVal * 10, forceVal * 10, forceVal * 10)
  1016. end
  1017. end
  1018.  
  1019. myRoot.Velocity = Vector3.zero
  1020. myRoot.RotVelocity = Vector3.zero
  1021. myRoot.CFrame = oldCFrame
  1022. end
  1023. end)
  1024.  
  1025. isFlinging = false
  1026. end)
  1027.  
  1028. local AntiFlingFrame = Instance.new("Frame", scrollFrame)
  1029. AntiFlingFrame.Size = UDim2.new(1, -4, 0, 80)
  1030. AntiFlingFrame.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  1031. Instance.new("UICorner", AntiFlingFrame).CornerRadius = UDim.new(0, 6)
  1032.  
  1033. local AntiFlingTitle = Instance.new("TextLabel", AntiFlingFrame)
  1034. AntiFlingTitle.Size = UDim2.new(1, 0, 0, 25)
  1035. AntiFlingTitle.BackgroundTransparency = 1
  1036. AntiFlingTitle.Text = "ANTI-FLING"
  1037. AntiFlingTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  1038. AntiFlingTitle.TextSize = 10
  1039. AntiFlingTitle.Font = Enum.Font.GothamBold
  1040.  
  1041. local AntiFlingButton = Instance.new("TextButton", AntiFlingFrame)
  1042. AntiFlingButton.Size = UDim2.new(0, 180, 0, 28)
  1043. AntiFlingButton.Position = UDim2.new(0.5, -90, 0, 38)
  1044. AntiFlingButton.Text = "Status: OFF"
  1045. AntiFlingButton.TextSize = 11
  1046. AntiFlingButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  1047. AntiFlingButton.Font = Enum.Font.GothamMedium
  1048. AntiFlingButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1049. Instance.new("UICorner", AntiFlingButton).CornerRadius = UDim.new(0, 4)
  1050.  
  1051. local antifling = nil
  1052.  
  1053. local function startAntiFling()
  1054. pcall(function()
  1055. if antifling then antifling:Disconnect() end
  1056. antifling = RunService.Stepped:Connect(function()
  1057. pcall(function()
  1058. for _, plr in pairs(Players:GetPlayers()) do
  1059. if plr ~= player and plr.Character then
  1060. for _, part in pairs(plr.Character:GetDescendants()) do
  1061. if part:IsA("BasePart") then
  1062. part.CanCollide = false
  1063. end
  1064. end
  1065. end
  1066. end
  1067. end)
  1068. end)
  1069. end)
  1070. end
  1071.  
  1072. local function stopAntiFling()
  1073. pcall(function()
  1074. if antifling then
  1075. antifling:Disconnect()
  1076. antifling = nil
  1077. end
  1078. end)
  1079. end
  1080.  
  1081. MouseButtonFix(AntiFlingButton, function()
  1082. pcall(function()
  1083. if antifling then
  1084. stopAntiFling()
  1085. AntiFlingButton.Text = "Status: OFF"
  1086. AntiFlingButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  1087. else
  1088. startAntiFling()
  1089. AntiFlingButton.Text = "Status: ON"
  1090. AntiFlingButton.BackgroundColor3 = Color3.fromRGB(220, 40, 40)
  1091. end
  1092. end)
  1093. end)
Add Comment
Please, Sign In to add comment