Advertisement
UtgGiver

Yeet Gui but pastebin

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