AugusTH

Fe yeet script *fix by me*

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