Fling GUI v1.0.4 - Pastebin.com (2024)

  1. --[[Fling GUI]]--

  2. --[[Made by topit for the Jeff GUI]]--

  3. --[[v1.0.4 HOTFIX 4/21/2021]]--

  4. --Fixed the close button color being wrong

  5. --Added smooth dragging

  6. --Removed unused variables

  7. --[[v1.0.3 UPDATE 4/19/2021]]--

  8. --Updated themes to be blockify's themes

  9. --Removed unused / deprecated features such as qfling, theme box, etc.

  10. --Made fix character compatible with both rig types (it had two different versions for each type)

  11. --Added velocity breaking after fixing character and stopping fling

  12. --Added novertgain module that might help

  13. --Made number grabbing in the speedbox better

  14. --Probably some performance improvements

  15. --[[v1.0.2.3 HOTFIX 3/13/2021]]--

  16. --Updated fix player so the teleportation works outside of your client

  17. --Updated fix player to have a platform incase anchoring does not work

  18. --Added a suggestion for Survive the disasters

  19. --[[v1.0.2.2 HOTFIX 3/11/2021]]--

  20. --Fixed R15 not being compatible with fix player

  21. --Updated fix player to hopefully work every time + send you to a safe location while fixing

  22. --Added a suggestion for Build a Boat for Treasure

  23. --[[v1.0.2.1 HOTFIX 2/25/2021]]--

  24. --Fixed a variable issue

  25. --Added a few more suggestions for games

  26. --[[v1.0.2 UPDATE 2/22/2021]]--

  27. --Updated the themes to make them look better

  28. --Updated FixPlayer to work more often

  29. --Fixed the textlabels having a visible box when not using the jeff standard theme

  30. --Fixed ServerKek to not break

  31. --Fixed ServerKek enable text appearing after the disable text

  32. --Fixed the suggestiontext not displaying properly if you arent playing on a supported game

  33. --[[variables:]]--

  34. local PlayerService = game:GetService("Players")--:GetPlayers()

  35. local TweenService = game:GetService("TweenService")

  36. local RunService = game:GetService("RunService")

  37. local UserInputService = game:GetService("UserInputService")

  38. local plr = PlayerService.LocalPlayer

  39. local mouse = plr:GetMouse()

  40. local BodyThrust = nil

  41. local Dragging = {}

  42. local Suggestions = {

  43. 2298830673, 300, 365, --gamier (test game)

  44. 1537690962, 250, 350, --bee swarm sim

  45. 5580097107, 300, 400, --frappe

  46. 2202352383, 275, 350, --super power training sim

  47. 142823291, 350, 425, --murder mystery 2

  48. 155615604, 273, 462, --prison life

  49. 1990228024, 200, 235, --bloxton hotels

  50. 189707, 250, 325, --natural disaster survival

  51. 230362888, 265, 415, --the normal elevator (may not work)

  52. 5293755937, 335, 435, --speedrun sim

  53. 537413528, 300, 350, --build a boat (may not work)

  54. 18540115, 300, 425, --survive the disasters

  55. 2041312716, 350, 465 --Ragdoll engine

  56. }

  57. local version = "v1.0.4"

  58. local font = Enum.Font.FredokaOne

  59. local AxisPositionX = {

  60. 0.05,

  61. 0.35,

  62. 0.65

  63. }

  64. local AxisPositionY = {

  65. 40, --edit fling speed

  66. 90, --toggle fling types (normal, qfling, serverkek)

  67. 140, --extra (respawn)

  68. 190, --edit gui settings (hotkey, theme)

  69. 240

  70. }

  71. local Fling = {

  72. false, --toggle

  73. "", --hotkey

  74. 300, --speed

  75. false, --server

  76. false --stop vertfling

  77. }

  78. --[[themes:]]--

  79. local Theme_JeffStandard = {

  80. Color3.fromRGB(15, 25, 35),

  81. Color3.fromRGB(10, 20, 30),

  82. Color3.fromRGB(27, 42, 53),

  83. Color3.fromRGB(25, 35, 45),

  84. Color3.fromRGB(20, 30, 40),

  85. Color3.fromRGB(25, 65, 45),

  86. Color3.fromRGB(255, 255, 255),

  87. Color3.fromRGB(245, 245, 255),

  88. Color3.fromRGB(155, 155, 255)

  89. }

  90. local Theme_Dark = {

  91. Color3.fromRGB(25, 25, 25), --Top bar

  92. Color3.fromRGB(10, 10, 10), --Background

  93. Color3.fromRGB(40, 40, 40), --Border color

  94. Color3.fromRGB(35, 35, 35), --Button background

  95. Color3.fromRGB(20, 20, 20), --Unused

  96. Color3.fromRGB(25, 100, 45), --Button highlight

  97. Color3.fromRGB(255, 255, 255),--Text title

  98. Color3.fromRGB(245, 245, 255),--Text generic

  99. Color3.fromRGB(155, 155, 255) --Text highlight

  100. }

  101. local Theme_Steel = {

  102. Color3.fromRGB(25, 25, 35), --Top bar

  103. Color3.fromRGB(10, 10, 20), --Background

  104. Color3.fromRGB(40, 40, 50), --Border color

  105. Color3.fromRGB(35, 35, 45), --Button background

  106. Color3.fromRGB(20, 20, 25), --Unused

  107. Color3.fromRGB(25, 100, 55), --Button highlight

  108. Color3.fromRGB(255, 255, 255),--Text title

  109. Color3.fromRGB(245, 245, 255),--Text generic

  110. Color3.fromRGB(155, 155, 255) --Text highlight

  111. }

  112. local Theme_Rust = {

  113. Color3.fromRGB(45, 25, 25),

  114. Color3.fromRGB(30, 10, 10),

  115. Color3.fromRGB(60, 40, 40),

  116. Color3.fromRGB(55, 35, 35),

  117. Color3.fromRGB(40, 20, 20),

  118. Color3.fromRGB(45, 100, 45),

  119. Color3.fromRGB(255, 255, 255),

  120. Color3.fromRGB(255, 245, 255),

  121. Color3.fromRGB(175, 155, 255)

  122. }

  123. local Theme_Violet = {

  124. Color3.fromRGB(35, 25, 45), --Top bar

  125. Color3.fromRGB(20, 10, 30), --Background

  126. Color3.fromRGB(50, 40, 60), --Border color

  127. Color3.fromRGB(45, 35, 55), --Button background

  128. Color3.fromRGB(30, 20, 40), --Unused

  129. Color3.fromRGB(35, 100, 65), --Button highlight

  130. Color3.fromRGB(255, 255, 255),--Text title

  131. Color3.fromRGB(245, 245, 255),--Text generic

  132. Color3.fromRGB(155, 155, 255) --Text highlight

  133. }

  134. local Theme_Space = {

  135. Color3.fromRGB(10, 10, 10), --Top bar

  136. Color3.fromRGB(0, 0, 0), --Background

  137. Color3.fromRGB(20, 20, 20), --Border color

  138. Color3.fromRGB(15, 15, 15), --Button background

  139. Color3.fromRGB(5, 5, 5), --Unused

  140. Color3.fromRGB(20, 25, 50), --Button highlight

  141. Color3.fromRGB(255, 255, 255),--Text title

  142. Color3.fromRGB(245, 245, 255),--Text generic

  143. Color3.fromRGB(155, 155, 255) --Text highlight

  144. }

  145. local Theme_SynX = {

  146. Color3.fromRGB(75, 75, 75), --Top bar

  147. Color3.fromRGB(45, 45, 45), --Background

  148. Color3.fromRGB(45, 45, 45), --Border color

  149. Color3.fromRGB(75, 75, 75), --Button background

  150. Color3.fromRGB(0, 0, 5), --Unused

  151. Color3.fromRGB(150, 75, 20), --Button highlight

  152. Color3.fromRGB(255, 255, 255),--Text title

  153. Color3.fromRGB(245, 245, 255),--Text generic

  154. Color3.fromRGB(155, 155, 255) --Text highlight

  155. }

  156. local SelectedTheme = math.random(1,6)

  157. if SelectedTheme == 1 then

  158. SelectedTheme = Theme_Steel

  159. elseif SelectedTheme == 2 then

  160. SelectedTheme = Theme_Dark

  161. elseif SelectedTheme == 3 then

  162. SelectedTheme = Theme_Rust

  163. elseif SelectedTheme == 4 then

  164. SelectedTheme = Theme_Violet

  165. elseif SelectedTheme == 5 then

  166. SelectedTheme = Theme_Space

  167. elseif SelectedTheme == 6 then

  168. if syn then

  169. SelectedTheme = Theme_SynX

  170. else

  171. SelectedTheme = Theme_JeffStandard

  172. end

  173. end

  174. --[[instances:]]--

  175. local ScreenGui = Instance.new("ScreenGui")

  176. local TitleBar = Instance.new("Frame")

  177. local Shadow = Instance.new("Frame")

  178. local Menu = Instance.new("ScrollingFrame")

  179. local TitleText = Instance.new("TextLabel")

  180. local TitleTextShadow = Instance.new("TextLabel")

  181. local CreditText = Instance.new("TextLabel")

  182. local SuggestionText = Instance.new("TextLabel")

  183. local SpeedBox = Instance.new("TextBox")

  184. local Hotkey = Instance.new("TextBox")

  185. local SpeedUp = Instance.new("TextButton")

  186. local SpeedDown = Instance.new("TextButton")

  187. local ToggleFling = Instance.new("TextButton")

  188. local ToggleServerKill = Instance.new("TextButton")

  189. local NoVertGain = Instance.new("TextButton")

  190. local Respawn = Instance.new("TextButton")

  191. local CloseButton = Instance.new("TextButton")

  192. --local BodyThrust = Instance.new("BodyThrust")

  193. ScreenGui.Name = "JeffFling"

  194. ScreenGui.Parent = game.CoreGui

  195. ScreenGui.Enabled = true

  196. TitleBar.Name = "Title Bar"

  197. TitleBar.Parent = ScreenGui

  198. TitleBar.BackgroundColor3 = SelectedTheme[1]

  199. TitleBar.BorderColor3 = SelectedTheme[3]

  200. TitleBar.Position = UDim2.new(-0.3, 0, 0.7, 0)

  201. TitleBar.Size = UDim2.new(0, 400, 0, 250)

  202. TitleBar.Draggable = true

  203. TitleBar.Active = true

  204. TitleBar.Selectable = true

  205. TitleBar.ZIndex = 100

  206. Shadow.Name = "Shadow"

  207. Shadow.Parent = TitleBar

  208. Shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)

  209. Shadow.BackgroundTransparency = 0.5

  210. Shadow.BorderSizePixel = 0

  211. Shadow.Position = UDim2.new(0, 5, 0, 5)

  212. Shadow.Size = TitleBar.Size

  213. Shadow.ZIndex = 50

  214. Menu.Name = "Menu"

  215. Menu.Parent = TitleBar

  216. Menu.BackgroundColor3 = SelectedTheme[2]

  217. Menu.BorderColor3 = SelectedTheme[3]

  218. Menu.AnchorPoint = Vector2.new(0,0)

  219. Menu.Position = UDim2.new(0, 0, 0, 50)

  220. Menu.Size = UDim2.new(0, 400, 0, 200)

  221. Menu.CanvasSize = UDim2.new(0, TitleBar.Size.X, 0, 325)

  222. Menu.ScrollBarImageTransparency = 0.5

  223. Menu.ZIndex = 200

  224. TitleText.Name = "Title Text"

  225. TitleText.Parent = TitleBar

  226. TitleText.AnchorPoint = Vector2.new(0, 0)

  227. TitleText.Position = UDim2.new(0, 100, 0, 25)

  228. TitleText.Font = font

  229. TitleText.Text = "Fling GUI "..version

  230. TitleText.TextColor3 = SelectedTheme[8]

  231. TitleText.TextSize = 28

  232. TitleText.ZIndex = 300

  233. TitleText.BackgroundTransparency = 1

  234. TitleTextShadow.Name = "Shadow"

  235. TitleTextShadow.Parent = TitleText

  236. TitleTextShadow.Font = font

  237. TitleTextShadow.Text = "Fling GUI "..version

  238. TitleTextShadow.TextSize = 28

  239. TitleTextShadow.TextColor3 = Color3.fromRGB(0, 0, 0)

  240. TitleTextShadow.TextTransparency = 0.5

  241. TitleTextShadow.Position = UDim2.new(0, 5, 0, 5)

  242. TitleTextShadow.ZIndex = 250

  243. TitleTextShadow.BackgroundTransparency = 1

  244. SuggestionText.Name = "Suggestion Text"

  245. SuggestionText.Parent = Menu

  246. SuggestionText.Position = UDim2.new(0, 20, 0, 250)

  247. SuggestionText.Font = font

  248. SuggestionText.Text = "e"

  249. SuggestionText.TextColor3 = SelectedTheme[7]

  250. SuggestionText.TextSize = 24

  251. SuggestionText.TextXAlignment = Enum.TextXAlignment.Left

  252. SuggestionText.ZIndex = 300

  253. SuggestionText.BackgroundTransparency = 1

  254. CreditText.Name = "Credit Text"

  255. CreditText.Parent = Menu

  256. CreditText.Position = UDim2.new(0, 20, 0, 300)

  257. CreditText.Font = font

  258. CreditText.Text = "Made by topit"

  259. CreditText.TextColor3 = SelectedTheme[7]

  260. CreditText.TextSize = 20

  261. CreditText.TextXAlignment = Enum.TextXAlignment.Left

  262. CreditText.ZIndex = 300

  263. CreditText.BackgroundTransparency = 1

  264. SpeedBox.Name = "Speed setting"

  265. SpeedBox.Parent = Menu

  266. SpeedBox.BackgroundColor3 = SelectedTheme[4]

  267. SpeedBox.BorderColor3 = SelectedTheme[3]

  268. SpeedBox.TextColor3 = SelectedTheme[7]

  269. SpeedBox.Position = UDim2.new(AxisPositionX[1], 0, 0, AxisPositionY[1])

  270. SpeedBox.Size = UDim2.new(0, 100, 0, 25)

  271. SpeedBox.Font = Enum.Font.FredokaOne

  272. SpeedBox.Text = "Speed: "..Fling[3]

  273. SpeedBox.PlaceholderText = "Enter custom speed"

  274. SpeedBox.TextScaled = true

  275. SpeedBox.ZIndex = 300

  276. Hotkey.Name = "Custom Hotkey"

  277. Hotkey.Parent = Menu

  278. Hotkey.BackgroundColor3 = SelectedTheme[4]

  279. Hotkey.BorderColor3 = SelectedTheme[3]

  280. Hotkey.TextColor3 = SelectedTheme[7]

  281. Hotkey.Position = UDim2.new(AxisPositionX[2], 0, 0, AxisPositionY[3])

  282. Hotkey.Size = UDim2.new(0, 100, 0, 25)

  283. Hotkey.Font = Enum.Font.FredokaOne

  284. Hotkey.Text = "Enter new hotkey"

  285. Hotkey.PlaceholderText = "Enter new hotkey"

  286. Hotkey.TextScaled = true

  287. Hotkey.ZIndex = 300

  288. SpeedUp.Name = "Speed Up"

  289. SpeedUp.Parent = Menu

  290. SpeedUp.BackgroundColor3 = SelectedTheme[4]

  291. SpeedUp.BorderColor3 = SelectedTheme[3]

  292. SpeedUp.TextColor3 = SelectedTheme[7]

  293. SpeedUp.Position = UDim2.new((AxisPositionX[2]), 0, 0, (AxisPositionY[1]))

  294. SpeedUp.Size = UDim2.new(0, 100, 0, 25)

  295. SpeedUp.Font = Enum.Font.FredokaOne

  296. SpeedUp.Text = "↑"

  297. SpeedUp.TextScaled = true

  298. SpeedUp.ZIndex = 300

  299. SpeedDown.Name = "Speed Down"

  300. SpeedDown.Parent = Menu

  301. SpeedDown.BackgroundColor3 = SelectedTheme[4]

  302. SpeedDown.BorderColor3 = SelectedTheme[3]

  303. SpeedDown.TextColor3 = SelectedTheme[7]

  304. SpeedDown.Position = UDim2.new((AxisPositionX[3]), 0, 0, (AxisPositionY[1]))

  305. SpeedDown.Size = UDim2.new(0, 100, 0, 25)

  306. SpeedDown.Font = Enum.Font.FredokaOne

  307. SpeedDown.Text = "↓"

  308. SpeedDown.TextScaled = true

  309. SpeedDown.ZIndex = 300

  310. ToggleFling.Name = "Fling toggle"

  311. ToggleFling.Parent = Menu

  312. ToggleFling.BackgroundColor3 = SelectedTheme[4]

  313. ToggleFling.BorderColor3 = SelectedTheme[3]

  314. ToggleFling.TextColor3 = SelectedTheme[7]

  315. ToggleFling.Position = UDim2.new((AxisPositionX[1]), 0, 0, (AxisPositionY[2]))

  316. ToggleFling.Size = UDim2.new(0, 100, 0, 25)

  317. ToggleFling.Font = Enum.Font.FredokaOne

  318. ToggleFling.Text = "Toggle fling"

  319. ToggleFling.TextScaled = true

  320. ToggleFling.ZIndex = 300

  321. Respawn.Name = "Respawn"

  322. Respawn.Parent = Menu

  323. Respawn.BackgroundColor3 = SelectedTheme[4]

  324. Respawn.BorderColor3 = SelectedTheme[3]

  325. Respawn.TextColor3 = SelectedTheme[7]

  326. Respawn.Position = UDim2.new((AxisPositionX[1]), 0, 0, (AxisPositionY[3]))

  327. Respawn.Size = UDim2.new(0, 100, 0, 25)

  328. Respawn.Font = Enum.Font.FredokaOne

  329. Respawn.Text = "Fix player"

  330. Respawn.TextScaled = true

  331. Respawn.ZIndex = 300

  332. NoVertGain.Name = "NoVertGain"

  333. NoVertGain.Parent = Menu

  334. NoVertGain.BackgroundColor3 = SelectedTheme[4]

  335. NoVertGain.BorderColor3 = SelectedTheme[3]

  336. NoVertGain.TextColor3 = SelectedTheme[7]

  337. NoVertGain.Position = UDim2.new((AxisPositionX[2]), 0, 0, (AxisPositionY[2]))

  338. NoVertGain.Size = UDim2.new(0, 100, 0, 25)

  339. NoVertGain.Font = Enum.Font.FredokaOne

  340. NoVertGain.Text = "Soften vertical fling"

  341. NoVertGain.TextScaled = true

  342. NoVertGain.ZIndex = 300

  343. ToggleServerKill.Name = ""

  344. ToggleServerKill.Parent = Menu

  345. ToggleServerKill.BackgroundColor3 = SelectedTheme[4]

  346. ToggleServerKill.BorderColor3 = SelectedTheme[3]

  347. ToggleServerKill.TextColor3 = SelectedTheme[7]

  348. ToggleServerKill.Position = UDim2.new((AxisPositionX[3]), 0, 0, (AxisPositionY[2]))

  349. ToggleServerKill.Size = UDim2.new(0, 100, 0, 25)

  350. ToggleServerKill.Font = Enum.Font.FredokaOne

  351. ToggleServerKill.Text = "Kek server"

  352. ToggleServerKill.TextScaled = true

  353. ToggleServerKill.ZIndex = 300

  354. CloseButton.Name = "Close Button"

  355. CloseButton.AnchorPoint = Vector2.new(1, 0)

  356. CloseButton.Parent = TitleBar

  357. CloseButton.BackgroundColor3 = SelectedTheme[4]

  358. CloseButton.BorderColor3 = SelectedTheme[3]

  359. CloseButton.TextColor3 = SelectedTheme[7]

  360. CloseButton.Position = UDim2.new(1, 0, 0, 0)

  361. CloseButton.Size = UDim2.new(0, 25, 0, 25)

  362. CloseButton.Font = Enum.Font.FredokaOne

  363. CloseButton.Text = "X"

  364. CloseButton.ZIndex = 300

  365. CloseButton.TextSize = 14

  366. --BodyThrust.Name = "Power"

  367. --BodyThrust.Parent = plr.Character.Torso

  368. --BodyThrust.Force = Vector3.new(0, 0, 0)

  369. --BodyThrust.Location = Vector3.new(0, 0, 0)

  370. --[[functions:]]--

  371. local function DisplayText(title, text, duration)

  372. duration = duration or 1

  373. game.StarterGui:SetCore("SendNotification",

  374. {

  375. Title = title;

  376. Text = text;

  377. Icon = "";

  378. Duration = duration;

  379. }

  380. )

  381. end

  382. local function DisplaySuggestion()

  383. for i,v in pairs(Suggestions) do

  384. if v >= 9999 and v == game.PlaceId then

  385. DisplayText("Detected current game!","Suggested speed: "..Suggestions[i+1].." - "..Suggestions[i+2])

  386. SuggestionText.Text = "Suggested speed: "..Suggestions[i+1].." - "..Suggestions[i+2]

  387. end

  388. end

  389. if SuggestionText.Text == "e" then

  390. SuggestionText.Text = "No suggestion for this game"

  391. end

  392. end

  393. local function GetRigType()

  394. if plr.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then

  395. return Enum.HumanoidRigType.R15

  396. elseif plr.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then

  397. return Enum.HumanoidRigType.R6

  398. else

  399. return nil

  400. end

  401. end

  402. local function GetDeadState(player)

  403. if player.Character.Humanoid:GetState() == Enum.HumanoidStateType.Dead then

  404. return true

  405. else

  406. return false

  407. end

  408. end

  409. local function EnableNoClip()

  410. if GetDeadState(plr) == false then

  411. if GetRigType() == Enum.HumanoidRigType.R6 then

  412. plr.Character:FindFirstChild("Torso").CanCollide = false

  413. plr.Character:FindFirstChild("Head").CanCollide = false

  414. plr.Character:FindFirstChild("HumanoidRootPart").CanCollide = false

  415. elseif GetRigType() == Enum.HumanoidRigType.R15 then

  416. plr.Character:FindFirstChild("UpperTorso").CanCollide = false

  417. plr.Character:FindFirstChild("LowerTorso").CanCollide = false

  418. plr.Character:FindFirstChild("Head").CanCollide = false

  419. plr.Character:FindFirstChild("HumanoidRootPart").CanCollide = false

  420. end

  421. end

  422. end

  423. local function DisableNoClip()

  424. if GetDeadState(plr) == false then

  425. if GetRigType() == Enum.HumanoidRigType.R6 then

  426. plr.Character:FindFirstChild("Torso").CanCollide = true

  427. plr.Character:FindFirstChild("Head").CanCollide = true

  428. plr.Character:FindFirstChild("HumanoidRootPart").CanCollide = true

  429. elseif GetRigType() == Enum.HumanoidRigType.R15 then

  430. plr.Character:FindFirstChild("UpperTorso").CanCollide = true

  431. plr.Character:FindFirstChild("LowerTorso").CanCollide = true

  432. plr.Character:FindFirstChild("Head").CanCollide = true

  433. plr.Character:FindFirstChild("HumanoidRootPart").CanCollide = true

  434. end

  435. end

  436. end

  437. local function OpenObject(object)

  438. local OpenAnim = TweenService:Create(

  439. object,

  440. TweenInfo.new(0.25, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), --Enum.EasingStyle.Linear, Enum.EasingDirection.In

  441. {Size = UDim2.new(0, 110, 0, 35), BackgroundColor3 = SelectedTheme[6] }

  442. )

  443. OpenAnim:Play()

  444. end

  445. local function CloseObject(object)

  446. local CloseAnim = TweenService:Create(

  447. object,

  448. TweenInfo.new(0.25, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out),

  449. {Size = UDim2.new(0, 100, 0, 25), BackgroundColor3 = SelectedTheme[4] }

  450. )

  451. CloseAnim:Play()

  452. end

  453. local function TToggleFling()

  454. Fling[1] = not Fling[1]

  455. if Fling[1] then

  456. OpenObject(ToggleFling)

  457. BodyThrust = Instance.new("BodyThrust")

  458. if GetRigType() == Enum.HumanoidRigType.R6 then

  459. BodyThrust.Parent = plr.Character.Torso

  460. elseif GetRigType() == Enum.HumanoidRigType.R15 then

  461. BodyThrust.Parent = plr.Character.UpperTorso

  462. end

  463. EnableNoClip()

  464. BodyThrust.Force = Vector3.new(Fling[3], 0, 0)

  465. BodyThrust.Location = Vector3.new(0, 0, Fling[3])

  466. print("Enabled fling")

  467. else

  468. CloseObject(ToggleFling)

  469. DisableNoClip()

  470. for i, v in pairs(plr.Character:GetDescendants()) do

  471. if v:IsA("BasePart") then

  472. v.Velocity, v.RotVelocity = Vector3.new(0, 0, 0), Vector3.new(0, 0, 0)

  473. end

  474. end

  475. BodyThrust:Destroy()

  476. print("Disabled fling")

  477. end

  478. end

  479. local function GetIfPlayerInGame(PlayerToFind)

  480. if PlayerService:FindFirstChild(PlayerToFind) then

  481. return true

  482. else

  483. return false

  484. end

  485. end

  486. local function ServerKek()

  487. local TargetList = {}

  488. local index = 1

  489. local playercount = 0

  490. if Fling[1] == true then

  491. TToggleFling()

  492. end

  493. for i,v in pairs(PlayerService:GetPlayers()) do

  494. if v ~= plr then

  495. playercount = playercount + 1

  496. table.insert(TargetList, v)

  497. end

  498. end

  499. for i,v in pairs(TargetList) do

  500. print(i,v.Name)

  501. end

  502. while Fling[4] do

  503. if index > playercount then

  504. CloseObject(ToggleServerKill)

  505. DisplayText("Disabled ServerKek","Finished")

  506. Fling[4] = false

  507. break

  508. else

  509. local InGame = GetIfPlayerInGame(TargetList[index].Name)

  510. local Dead = GetDeadState(TargetList[index])

  511. if InGame == true and Dead == false then

  512. plr.Character.HumanoidRootPart.CFrame = TargetList[index].Character.HumanoidRootPart.CFrame --tp to them

  513. TToggleFling() --enable fling

  514. for i = 0,2,1 do

  515. plr.Character.HumanoidRootPart.CFrame = TargetList[index].Character.HumanoidRootPart.CFrame

  516. wait(0.15)

  517. end

  518. TToggleFling() --disable fling

  519. wait(0.1) --wait until disabled

  520. if plr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Seated then --check if seated

  521. plr.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Running) --get out if you are

  522. end

  523. index = index + 1 --go to next victim

  524. if Fling[4] == false then

  525. break

  526. end

  527. else

  528. index = index + 1

  529. end

  530. end

  531. end

  532. end

  533. --[[events:]]--

  534. CloseButton.MouseButton1Down:Connect(function()

  535. TitleBar:TweenPosition(UDim2.new(-0.3, 0, 0.7, 0), Enum.EasingDirection.In, Enum.EasingStyle.Back, 0.75)

  536. DisplayText("Goodbye!","")

  537. wait(0.8)

  538. ScreenGui.Enabled = false

  539. ScreenGui:Destroy()

  540. script:Destroy()

  541. end)

  542. SpeedUp.MouseButton1Down:Connect(function()

  543. Fling[3] = Fling[3] + 50

  544. SpeedBox.Text = "Speed: "..Fling[3]

  545. if Fling[1] then

  546. BodyThrust.Force = Vector3.new(Fling[3], 0, 0)

  547. BodyThrust.Location = Vector3.new(0, 0, Fling[3])

  548. end

  549. end)

  550. SpeedDown.MouseButton1Down:Connect(function()

  551. Fling[3] = Fling[3] - 50

  552. SpeedBox.Text = "Speed: "..Fling[3]

  553. if Fling[1] then

  554. BodyThrust.Force = Vector3.new(Fling[3], 0, 0)

  555. BodyThrust.Location = Vector3.new(0, 0, Fling[3])

  556. end

  557. end)

  558. SpeedBox.FocusLost:Connect(function()

  559. Fling[3] = SpeedBox.Text:gsub("%D",""):sub(0,5)

  560. if Fling[3] ~= nil then

  561. SpeedBox.Text = "Speed: "..Fling[3]

  562. if Fling[1] then

  563. BodyThrust.Force = Vector3.new(Fling[3], 0, 0)

  564. BodyThrust.Location = Vector3.new(0, 0, Fling[3])

  565. end

  566. end

  567. end)

  568. Hotkey.FocusLost:Connect(function()

  569. Fling[2] = Hotkey.Text:split(" ")[1]:sub(1,1)

  570. if Fling[2] ~= nil then

  571. Hotkey.Text = "Hotkey: "..Fling[2]

  572. end

  573. end)

  574. ToggleFling.MouseButton1Down:Connect(function()

  575. TToggleFling()

  576. end)

  577. Respawn.MouseButton1Down:Connect(function()

  578. if Fling[1] then --disable fling if its enabled

  579. TToggleFling()

  580. end

  581. wait(0.4) --wait for fling to stop

  582. for i=0,10,1 do

  583. plr.Character.Humanoid:ChangeState(2) --make player recover from falling

  584. end

  585. for i, v in pairs(plr.Character:GetDescendants()) do

  586. if v:IsA("BasePart") then

  587. v.Velocity, v.RotVelocity = Vector3.new(0, 0, 0), Vector3.new(0, 0, 0)

  588. end

  589. end

  590. end)

  591. ToggleServerKill.MouseButton1Down:Connect(function()

  592. Fling[4] = not Fling[4]

  593. if Fling[4] then

  594. OpenObject(ToggleServerKill)

  595. DisplayText("Enabled ServerKek","")

  596. ServerKek()

  597. else

  598. CloseObject(ToggleServerKill)

  599. DisplayText("Disabled ServerKek","There might be a delay!")

  600. end

  601. end)

  602. NoVertGain.MouseButton1Down:Connect(function()

  603. Fling[5] = not Fling[5]

  604. if Fling[5] then

  605. OpenObject(NoVertGain)

  606. else

  607. CloseObject(NoVertGain)

  608. end

  609. end)

  610. RunService.Stepped:Connect(function()

  611. if Fling[1] then

  612. EnableNoClip()

  613. elseif Fling[5] then

  614. for i, v in pairs(plr.Character:GetDescendants()) do

  615. if v:IsA("BasePart") then

  616. v.Velocity, v.RotVelocity = Vector3.new(0, 0, 0), Vector3.new(0, 0, 0)

  617. end

  618. end

  619. end

  620. end)

  621. TitleBar.InputBegan:Connect(function(input)

  622. if input.UserInputType == Enum.UserInputType.MouseButton1 then

  623. Dragging[1] = true

  624. Dragging[2] = input.Position

  625. Dragging[3] = TitleBar.Position

  626. end

  627. end)

  628. TitleBar.InputEnded:Connect(function(input)

  629. if input.UserInputType == Enum.UserInputType.MouseButton1 then

  630. Dragging[1] = false

  631. end

  632. end)

  633. UserInputService.InputChanged:Connect(function(input)

  634. if input.UserInputType == Enum.UserInputType.MouseMovement then

  635. if Dragging[1] then

  636. local delta = input.Position - Dragging[2]

  637. TitleBar:TweenPosition(UDim2.new(Dragging[3].X.Scale, Dragging[3].X.Offset + delta.X, Dragging[3].Y.Scale, Dragging[3].Y.Offset + delta.Y), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 0.035)

  638. wait()

  639. end

  640. end

  641. end)

  642. mouse.KeyDown:Connect(function(key)

  643. if key == Fling[2] then

  644. TToggleFling()

  645. end

  646. end)

  647. DisplaySuggestion()

  648. TitleBar:TweenPosition(UDim2.new(0.25, 0, 0.7, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Back, 0.75)

  649. DisplayText("Loaded Fling GUI "..version, "Made by topit", 3)

  650. return nil

Fling GUI v1.0.4 - Pastebin.com (2024)

References

Top Articles
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 6321

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.