Advertisement
Guest User

Roblox fling script

a guest
Jul 31st, 2024
20,267
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | Gaming | 0 1
  1. --// roblox fling script don't change script below
  2.  
  3. local lp = game:FindService("Players").LocalPlayer
  4.  
  5. local function gplr(String)
  6. local Found = {}
  7. local strl = String:lower()
  8. if strl == "all" then
  9. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  10. table.insert(Found,v)
  11. end
  12. elseif strl == "others" then
  13. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  14. if v.Name ~= lp.Name then
  15. table.insert(Found,v)
  16. end
  17. end
  18. elseif strl == "me" then
  19. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  20. if v.Name == lp.Name then
  21. table.insert(Found,v)
  22. end
  23. end
  24. else
  25. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  26. if v.Name:lower():sub(1, #String) == String:lower() then
  27. table.insert(Found,v)
  28. end
  29. end
  30. end
  31. return Found
  32. end
  33.  
  34. local function notif(str,dur)
  35. game:FindService("StarterGui"):SetCore("SendNotification", {
  36. Title = "yeet gui",
  37. Text = str,
  38. Icon = "rbxassetid://2005276185",
  39. Duration = dur or 3
  40. })
  41. end
  42.  
  43. --// sds
  44.  
  45. local h = Instance.new("ScreenGui")
  46. local Main = Instance.new("ImageLabel")
  47. local Top = Instance.new("Frame")
  48. local Title = Instance.new("TextLabel")
  49. local TextBox = Instance.new("TextBox")
  50. local TextButton = Instance.new("TextButton")
  51.  
  52. h.Name = "h"
  53. h.Parent = game:GetService("CoreGui")
  54. h.ResetOnSpawn = false
  55.  
  56. Main.Name = "Main"
  57. Main.Parent = h
  58. Main.Active = true
  59. Main.Draggable = true
  60. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  61. Main.BorderSizePixel = 0
  62. Main.Position = UDim2.new(0.174545452, 0, 0.459574461, 0)
  63. Main.Size = UDim2.new(0, 454, 0, 218)
  64. Main.Image = "rbxassetid://2005276185"
  65.  
  66. Top.Name = "Top"
  67. Top.Parent = Main
  68. Top.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  69. Top.BorderSizePixel = 0
  70. Top.Size = UDim2.new(0, 454, 0, 44)
  71.  
  72. Title.Name = "Title"
  73. Title.Parent = Top
  74. Title.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  75. Title.BorderSizePixel = 0
  76. Title.Position = UDim2.new(0, 0, 0.295454562, 0)
  77. Title.Size = UDim2.new(0, 454, 0, 30)
  78. Title.Font = Enum.Font.SourceSans
  79. Title.Text = "FE Yeet Gui (trollface edition)"
  80. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  81. Title.TextScaled = true
  82. Title.TextSize = 14.000
  83. Title.TextWrapped = true
  84.  
  85. TextBox.Parent = Main
  86. TextBox.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  87. TextBox.BorderSizePixel = 0
  88. TextBox.Position = UDim2.new(0.0704845786, 0, 0.270642221, 0)
  89. TextBox.Size = UDim2.new(0, 388, 0, 62)
  90. TextBox.Font = Enum.Font.SourceSans
  91. TextBox.PlaceholderText = "Who do i destroy(can be shortened)"
  92. TextBox.Text = ""
  93. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  94. TextBox.TextScaled = true
  95. TextBox.TextSize = 14.000
  96. TextBox.TextWrapped = true
  97.  
  98. TextButton.Parent = Main
  99. TextButton.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  100. TextButton.BorderSizePixel = 0
  101. TextButton.Position = UDim2.new(0.10352423, 0, 0.596330225, 0)
  102. TextButton.Size = UDim2.new(0, 359, 0, 50)
  103. TextButton.Font = Enum.Font.SourceSans
  104. TextButton.Text = "Cheese em'"
  105. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  106. TextButton.TextScaled = true
  107. TextButton.TextSize = 14.000
  108. TextButton.TextWrapped = true
  109.  
  110. TextButton.MouseButton1Click:Connect(function()
  111. local Target = gplr(TextBox.Text)
  112. if Target[1] then
  113. Target = Target[1]
  114.  
  115. local Thrust = Instance.new('BodyThrust', lp.Character.HumanoidRootPart)
  116. Thrust.Force = Vector3.new(9999,9999,9999)
  117. Thrust.Name = "YeetForce"
  118. repeat
  119. lp.Character.HumanoidRootPart.CFrame = Target.Character.HumanoidRootPart.CFrame
  120. Thrust.Location = Target.Character.HumanoidRootPart.Position
  121. game:FindService("RunService").Heartbeat:wait()
  122. until not Target.Character:FindFirstChild("Head")
  123. else
  124. notif("Invalid player")
  125. end
  126. end)
  127.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement