Advertisement
Elvisfofo_rblx

Fling

Jun 24th, 2025
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1.  
  2. -- Ultimate Fling + Noclip + Player Selector GUI | Elvis
  3.  
  4. local Players = game:GetService("Players")
  5. local RunService = game:GetService("RunService")
  6. local UIS = game:GetService("UserInputService")
  7. local plr = Players.LocalPlayer
  8.  
  9. local gui = Instance.new("ScreenGui", game.CoreGui)
  10. gui.Name = "SyntFlingGUI"
  11.  
  12. local frame = Instance.new("Frame", gui)
  13. frame.Size = UDim2.new(0, 320, 0, 230)
  14. frame.Position = UDim2.new(0.3, 0, 0.3, 0)
  15. frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  16. frame.Active = true
  17. frame.Draggable = true
  18. Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)
  19.  
  20. -- Title
  21. local title = Instance.new("TextLabel", frame)
  22. title.Size = UDim2.new(1, 0, 0, 35)
  23. title.BackgroundTransparency = 1
  24. title.Font = Enum.Font.GothamBold
  25. title.TextSize = 18
  26. title.Text = "🧲 Elvis's Fling Panel"
  27. title.TextColor3 = Color3.fromHSV(0,0,1)
  28. -- Rainbow effect
  29. spawn(function()
  30. while true do
  31. title.TextColor3 = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  32. task.wait(0.1)
  33. end
  34. end)
  35.  
  36. -- Player name textbox
  37. local nameBox = Instance.new("TextBox", frame)
  38. nameBox.Size = UDim2.new(0.62, 0, 0, 28)
  39. nameBox.Position = UDim2.new(0.05, 0, 0, 50)
  40. nameBox.PlaceholderText = "Type player name (full or partial)"
  41. nameBox.ClearTextOnFocus = false
  42. nameBox.Font = Enum.Font.Gotham
  43. nameBox.TextSize = 15
  44. nameBox.TextColor3 = Color3.new(1,1,1)
  45. nameBox.BackgroundColor3 = Color3.fromRGB(40,40,40)
  46. Instance.new("UICorner", nameBox).CornerRadius = UDim.new(0, 8)
  47.  
  48. -- Dropdown button
  49. local dropdownBtn = Instance.new("TextButton", frame)
  50. dropdownBtn.Size = UDim2.new(0.28, 0, 0, 28)
  51. dropdownBtn.Position = UDim2.new(0.69, 0, 0, 50)
  52. dropdownBtn.Text = "Select ▼"
  53. dropdownBtn.Font = Enum.Font.Gotham
  54. dropdownBtn.TextSize = 15
  55. dropdownBtn.TextColor3 = Color3.new(1,1,1)
  56. dropdownBtn.BackgroundColor3 = Color3.fromRGB(50,50,50)
  57. Instance.new("UICorner", dropdownBtn).CornerRadius = UDim.new(0, 8)
  58.  
  59. -- Dropdown container (initially hidden)
  60. local dropdownContainer = Instance.new("ScrollingFrame", frame)
  61. dropdownContainer.Size = UDim2.new(0.92, 0, 0, 100)
  62. dropdownContainer.Position = UDim2.new(0.04, 0, 0, 80)
  63. dropdownContainer.BackgroundColor3 = Color3.fromRGB(30,30,30)
  64. dropdownContainer.BorderSizePixel = 0
  65. dropdownContainer.CanvasSize = UDim2.new(0, 0, 0, 0)
  66. dropdownContainer.ScrollBarThickness = 6
  67. dropdownContainer.Visible = false
  68. Instance.new("UICorner", dropdownContainer).CornerRadius = UDim.new(0, 8)
  69.  
  70. -- Buttons inside dropdown
  71. local dropdownButtons = {}
  72.  
  73. -- Update dropdown list every 5 seconds
  74. local function updateDropdown()
  75. for _, btn in pairs(dropdownButtons) do btn:Destroy() end
  76. dropdownButtons = {}
  77. local yPos = 0
  78. local players = Players:GetPlayers()
  79. for i, p in ipairs(players) do
  80. local btn = Instance.new("TextButton", dropdownContainer)
  81. btn.Size = UDim2.new(1, -10, 0, 25)
  82. btn.Position = UDim2.new(0, 5, 0, yPos)
  83. btn.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  84. btn.Font = Enum.Font.Gotham
  85. btn.TextSize = 14
  86. btn.Text = p.Name
  87. btn.TextColor3 = Color3.new(1,1,1)
  88. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
  89. btn.AutoButtonColor = true
  90.  
  91. btn.MouseButton1Click:Connect(function()
  92. nameBox.Text = p.Name
  93. dropdownContainer.Visible = false
  94. end)
  95.  
  96. yPos = yPos + 30
  97. table.insert(dropdownButtons, btn)
  98. end
  99. dropdownContainer.CanvasSize = UDim2.new(0, 0, 0, yPos)
  100. end
  101.  
  102. spawn(function()
  103. while true do
  104. updateDropdown()
  105. task.wait(5)
  106. end
  107. end)
  108.  
  109. dropdownBtn.MouseButton1Click:Connect(function()
  110. dropdownContainer.Visible = not dropdownContainer.Visible
  111. end)
  112.  
  113. -- Fling angular velocity (reused for fling)
  114. local flingSpin
  115.  
  116. local function startFling()
  117. if flingSpin then flingSpin:Destroy() end
  118. local character = plr.Character
  119. if not character then return end
  120. local hrp = character:FindFirstChild("HumanoidRootPart")
  121. if not hrp then return end
  122.  
  123. flingSpin = Instance.new("BodyAngularVelocity")
  124. flingSpin.AngularVelocity = Vector3.new(0, 999999, 0)
  125. flingSpin.MaxTorque = Vector3.new(999999, 999999, 999999)
  126. flingSpin.P = 10000
  127. flingSpin.Parent = hrp
  128. end
  129.  
  130. local function stopFling()
  131. if flingSpin then
  132. flingSpin:Destroy()
  133. flingSpin = nil
  134. end
  135. end
  136.  
  137. -- One-time fling button
  138. local flingBtn = Instance.new("TextButton", frame)
  139. flingBtn.Size = UDim2.new(0.92, 0, 0, 35)
  140. flingBtn.Position = UDim2.new(0.04, 0, 0, 190)
  141. flingBtn.Text = "▶️ Fling Once"
  142. flingBtn.Font = Enum.Font.GothamBold
  143. flingBtn.TextSize = 16
  144. flingBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  145. flingBtn.TextColor3 = Color3.new(1,1,1)
  146. Instance.new("UICorner", flingBtn).CornerRadius = UDim.new(0, 10)
  147.  
  148. -- Loop fling toggle button
  149. local loopToggleBtn = Instance.new("TextButton", frame)
  150. loopToggleBtn.Size = UDim2.new(0.4, 0, 0, 35)
  151. loopToggleBtn.Position = UDim2.new(0.05, 0, 0, 145)
  152. loopToggleBtn.Text = "🔁 Loop Fling: OFF"
  153. loopToggleBtn.Font = Enum.Font.GothamBold
  154. loopToggleBtn.TextSize = 14
  155. loopToggleBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  156. loopToggleBtn.TextColor3 = Color3.new(1,1,1)
  157. Instance.new("UICorner", loopToggleBtn).CornerRadius = UDim.new(0, 10)
  158.  
  159. local looping = false
  160.  
  161. loopToggleBtn.MouseButton1Click:Connect(function()
  162. looping = not looping
  163. loopToggleBtn.Text = looping and "🔁 Loop Fling: ON" or "🔁 Loop Fling: OFF"
  164. if not looping then stopFling() end
  165. end)
  166.  
  167. -- Destroy GUI button
  168. local destroyBtn = Instance.new("TextButton", frame)
  169. destroyBtn.Size = UDim2.new(0.4, 0, 0, 35)
  170. destroyBtn.Position = UDim2.new(0.55, 0, 0, 145)
  171. destroyBtn.Text = "❌ Destroy GUI"
  172. destroyBtn.Font = Enum.Font.GothamBold
  173. destroyBtn.TextSize = 14
  174. destroyBtn.BackgroundColor3 = Color3.fromRGB(120, 40, 40)
  175. destroyBtn.TextColor3 = Color3.new(1,1,1)
  176. Instance.new("UICorner", destroyBtn).CornerRadius = UDim.new(0, 10)
  177.  
  178. destroyBtn.MouseButton1Click:Connect(function()
  179. gui:Destroy()
  180. end)
  181.  
  182. -- Function to get matching player by name or partial
  183. local function findTarget(name)
  184. local nameLower = name:lower()
  185. for _, p in pairs(Players:GetPlayers()) do
  186. if p ~= plr and p.Name:lower():sub(1, #nameLower) == nameLower then
  187. return p
  188. end
  189. end
  190. return nil
  191. end
  192.  
  193. -- Function to teleport + fling target once
  194. local function teleportAndFlingOnce(target)
  195. if not target or not target.Character or not target.Character:FindFirstChild("HumanoidRootPart") then return end
  196. local hrp = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
  197. if not hrp then return end
  198.  
  199. -- Teleport player near target
  200. hrp.CFrame = target.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  201. startFling()
  202. end
  203.  
  204. -- One-time fling button action
  205. flingBtn.MouseButton1Click:Connect(function()
  206. local target = findTarget(nameBox.Text)
  207. if target then
  208. teleportAndFlingOnce(target)
  209. else
  210. print("Player not found")
  211. end
  212. end)
  213.  
  214. -- Loop fling logic
  215. RunService.Heartbeat:Connect(function()
  216. if looping then
  217. local target = findTarget(nameBox.Text)
  218. if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
  219. local hrp = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
  220. if hrp then
  221. hrp.CFrame = target.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  222. startFling()
  223. end
  224. else
  225. stopFling()
  226. end
  227. end
  228. end)
  229.  
  230. -- Noclip toggle setup (press E)
  231. local noclipEnabled = false
  232.  
  233. RunService.Stepped:Connect(function()
  234. if noclipEnabled then
  235. local character = plr.Character
  236. if character then
  237. for _, part in pairs(character:GetDescendants()) do
  238. if part:IsA("BasePart") and part.CanCollide == true then
  239. part.CanCollide = false
  240. end
  241. end
  242. end
  243. end
  244. end)
  245.  
  246. UIS.InputBegan:Connect(function(input, gpe)
  247. if gpe then return end
  248. if input.KeyCode == Enum.KeyCode.E then
  249. noclipEnabled = not noclipEnabled
  250. game.StarterGui:SetCore("SendNotification", {
  251. Title = "Noclip";
  252. Text = noclipEnabled and "Enabled" or "Disabled";
  253. Duration = 2;
  254. })
  255. end
  256. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement