Advertisement
Trollholder

Oiiwjejjall1

Mar 4th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. -- I OWN THIS SCRIPT
  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 = "Trollol Fling 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 (Troll Gui)"
  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.SourceSansBold
  91. TextBox.PlaceholderText = "Who do i destroy(can be shortened)"
  92. TextBox.Text = ""
  93. TextBox.ClearTextOnFocus = false
  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.SourceSansBold
  105. TextButton.Text = "Cheese em'"
  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.  
  129. --//fsddfsdf
  130. notif("Loaded successfully! Created by Troll Gui", 5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement