Advertisement
Potato228

Script Fling Yeet*

Oct 4th, 2022
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.38 KB | None | 0 0
  1. local lplayer = game:GetService('Players').LocalPlayer
  2.  
  3. local yeeting = false
  4. function GetPlayer(String)
  5. local Found = {}
  6. local strl = String:lower()
  7. if strl == "all" then
  8. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  9. table.insert(Found,v)
  10. end
  11. elseif strl == "others" then
  12. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  13. if v.Name ~= lplayer.Name then
  14. table.insert(Found,v)
  15. end
  16. end
  17. elseif strl == "me" then
  18. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  19. if v.Name == lplayer.Name then
  20. table.insert(Found,v)
  21. end
  22. end
  23. else
  24. for i,v in pairs(game:GetService("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 yeetguiv4 = Instance.new("ScreenGui")
  34. local onetwoseventhree = Instance.new("Frame")
  35. local TextLabel = Instance.new("TextLabel")
  36. local player = Instance.new("TextBox")
  37. local yeet = Instance.new("TextButton")
  38. local ultrayeet = Instance.new("TextButton")
  39. local supernovayeet = Instance.new("TextButton")
  40. local stop = Instance.new("TextButton")
  41. local ImageLabel = Instance.new("ImageLabel")
  42. yeetguiv4.Name = "yeetguiv4"
  43. yeetguiv4.Parent = game:GetService('CoreGui')
  44. yeetguiv4.ResetOnSpawn = false
  45. onetwoseventhree.Name = "onetwoseventhree"
  46. onetwoseventhree.Parent = yeetguiv4
  47. onetwoseventhree.Active = true
  48. onetwoseventhree.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  49. onetwoseventhree.BorderSizePixel = 0
  50. onetwoseventhree.Position = UDim2.new(0.112530395, 0, 0.565217376, 0)
  51. onetwoseventhree.Size = UDim2.new(0.239294425, 0, 0.260869563, 0)
  52. TextLabel.Parent = onetwoseventhree
  53. TextLabel.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  54. TextLabel.BorderSizePixel = 0
  55. TextLabel.Position = UDim2.new(3.87869541e-08, 0, 0, 0)
  56. TextLabel.Size = UDim2.new(1.00000048, 0, 0.190522879, 0)
  57. TextLabel.Font = Enum.Font.SourceSans
  58. TextLabel.Text = "ZAEBAL SCRIPT PROSIT NAHUI, MISHA"
  59. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  60. TextLabel.TextSize = 18
  61. player.Name = "player"
  62. player.Parent = onetwoseventhree
  63. player.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  64. player.BorderSizePixel = 0
  65. player.Position = UDim2.new(0.162684351, 0, 0.266666681, 0)
  66. player.Size = UDim2.new(0.674478829, 0, 0.194444448, 0)
  67. player.Font = Enum.Font.SourceSans
  68. player.PlaceholderText = "player name"
  69. player.Text = ""
  70. player.TextColor3 = Color3.new(1, 1, 1)
  71. player.TextSize = 14
  72. yeet.Name = "yeet"
  73. yeet.Parent = onetwoseventhree
  74. yeet.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  75. yeet.BorderSizePixel = 0
  76. yeet.Position = UDim2.new(0.0381292067, 0, 0.51111114, 0)
  77. yeet.Size = UDim2.new(0.453329861, 0, 0.177777782, 0)
  78. yeet.Font = Enum.Font.SourceSans
  79. yeet.Text = "Yeet Player"
  80. yeet.TextColor3 = Color3.new(1, 1, 1)
  81. yeet.TextSize = 18
  82. ultrayeet.Name = "ultrayeet"
  83. ultrayeet.Parent = onetwoseventhree
  84. ultrayeet.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  85. ultrayeet.BorderSizePixel = 0
  86. ultrayeet.Position = UDim2.new(0.513472319, 0, 0.51111114, 0)
  87. ultrayeet.Size = UDim2.new(0.453329861, 0, 0.177777782, 0)
  88. ultrayeet.Font = Enum.Font.SourceSans
  89. ultrayeet.Text = "Ultra Yeet Player"
  90. ultrayeet.TextColor3 = Color3.new(1, 1, 1)
  91. ultrayeet.TextSize = 18
  92. supernovayeet.Name = "supernovayeet"
  93. supernovayeet.Parent = onetwoseventhree
  94. supernovayeet.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  95. supernovayeet.BorderSizePixel = 0
  96. supernovayeet.Position = UDim2.new(0.0381291807, 0, 0.722222269, 0)
  97. supernovayeet.Size = UDim2.new(0.453329861, 0, 0.177777782, 0)
  98. supernovayeet.Font = Enum.Font.SourceSans
  99. supernovayeet.Text = "Supernova Yeet Player"
  100. supernovayeet.TextColor3 = Color3.new(1, 1, 1)
  101. supernovayeet.TextSize = 18
  102. stop.Name = "stop"
  103. stop.Parent = onetwoseventhree
  104. stop.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  105. stop.BorderSizePixel = 0
  106. stop.Position = UDim2.new(0.513472319, 0, 0.722222269, 0)
  107. stop.Size = UDim2.new(0.453329861, 0, 0.177777782, 0)
  108. stop.Font = Enum.Font.SourceSans
  109. stop.Text = "Stop Yeeting"
  110. stop.TextColor3 = Color3.new(1, 1, 1)
  111. stop.TextSize = 18
  112. ImageLabel.Parent = onetwoseventhree
  113. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  114. ImageLabel.BackgroundTransparency = 1
  115. ImageLabel.BorderSizePixel = 0
  116. ImageLabel.Position = UDim2.new(0.0228774771, 0, 0, 0)
  117. ImageLabel.Size = UDim2.new(0.104219697, 0, 0.190522939, 0)
  118. ImageLabel.Image = "rbxassetid://9251448658"
  119. yeet.MouseButton1Click:Connect(function()
  120.     local target = unpack(GetPlayer(player.Text)).Character
  121.  
  122.     lplayer.Character.Humanoid.PlatformStand = true
  123.     yeeting = true
  124.     local coin = Instance.new('BodyThrust',lplayer.Character.HumanoidRootPart)
  125.     coin.Force = Vector3.new(2590,2590,2590)
  126.     coin.Name = "yeetforce"
  127.     repeat lplayer.Character.HumanoidRootPart.CFrame = target.Head.CFrame;coin.Location = target.Head.Position game:GetService('RunService').Heartbeat:wait() until not target.Head or yeeting == false
  128. end)
  129. ultrayeet.MouseButton1Click:Connect(function()
  130.     local target = unpack(GetPlayer(player.Text)).Character
  131.  
  132.     lplayer.Character.Humanoid.PlatformStand = true
  133.     yeeting = true
  134.     local coin = Instance.new('BodyThrust',lplayer.Character.HumanoidRootPart)
  135.     coin.Force = Vector3.new(9999,9999,9999)
  136.     coin.Name = "yeetforce"
  137.     repeat lplayer.Character.HumanoidRootPart.CFrame = target.Head.CFrame;coin.Location = target.Head.Position game:GetService('RunService').Heartbeat:wait() until not target.Head or yeeting == false
  138. end)
  139. supernovayeet.MouseButton1Click:Connect(function()
  140.     local target = unpack(GetPlayer(player.Text)).Character
  141.  
  142.     lplayer.Character.Humanoid.PlatformStand = true
  143.     yeeting = true
  144.     local coin = Instance.new('BodyThrust',lplayer.Character.HumanoidRootPart)
  145.     coin.Force = Vector3.new(18000,18000,18000)
  146.     coin.Name = "yeetforce"
  147.     repeat lplayer.Character.HumanoidRootPart.CFrame = target.Head.CFrame;coin.Location = target.Head.Position game:GetService('RunService').Heartbeat:wait() until not target.Head or yeeting == false
  148. end)
  149.  
  150. local UIS = game:GetService("UserInputService")
  151. function dragify(Frame)
  152.     dragToggle = nil
  153.     dragSpeed = 1
  154.     dragInput = nil
  155.     dragStart = nil
  156.     dragPos = nil
  157.     function updateInput(input)
  158.         Delta = input.Position - dragStart
  159.         Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  160.         game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
  161.     end
  162.     Frame.InputBegan:Connect(function(input)
  163.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  164.         if UIS:GetFocusedTextBox() == nil then
  165.             dragToggle = true
  166.             dragStart = input.Position
  167.             startPos = Frame.Position
  168.             input.Changed:Connect(function()
  169.                 if input.UserInputState == Enum.UserInputState.End then
  170.                     dragToggle = false
  171.                 end
  172.             end)
  173.                 end
  174.         end
  175.     end)
  176.     Frame.InputChanged:Connect(function(input)
  177.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  178.             dragInput = input
  179.         end
  180.     end)
  181.     game:GetService("UserInputService").InputChanged:Connect(function(input)
  182.         if input == dragInput and dragToggle then
  183.             updateInput(input)
  184.         end
  185.     end)
  186. end
  187. dragify(onetwoseventhree)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement