Advertisement
Migas3456

fe fling hax

Mar 13th, 2018
1,139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. -- Objects
  2.  
  3. local flingn00b = Instance.new("ScreenGui")
  4. local fraem = Instance.new("Frame")
  5. local user = Instance.new("TextBox")
  6. local button = Instance.new("TextButton")
  7.  
  8. -- Properties
  9.  
  10. flingn00b.Name = "fling n00b"
  11. if game.PlaceId == "843495510,843468296" then
  12. flingn00b.Parent = game.Players.LocalPlayer.PlayerGui
  13. flingn00b.ResetOnSpawn = false
  14. else
  15. flingn00b.Parent = game.CoreGui
  16. end
  17.  
  18. function GetPlayer(String) -- Credit to Timeless/xFunnieuss
  19. local Found = {}
  20. local strl = String:lower()
  21. if strl == "all" then
  22. for i,v in pairs(game.Players:GetPlayers()) do
  23. table.insert(Found,v)
  24. end
  25. elseif strl == "others" then
  26. for i,v in pairs(game.Players:GetPlayers()) do
  27. if v.Name ~= game.Players.LocalPlayer.Name then
  28. table.insert(Found,v)
  29. end
  30. end
  31. else
  32. for i,v in pairs(game.Players:GetPlayers()) do
  33. if v.Name:lower():sub(1, #String) == String:lower() then
  34. table.insert(Found,v)
  35. end
  36. end
  37. end
  38. return Found
  39. end
  40.  
  41. fraem.Name = "fraem"
  42. fraem.Parent = flingn00b
  43. fraem.BackgroundColor3 = Color3.new(1, 1, 1)
  44. fraem.BorderColor3 = Color3.new(1, 0, 0)
  45. fraem.Position = UDim2.new(0, 0, 0, 450)
  46. fraem.Size = UDim2.new(0, 198, 0, 43)
  47.  
  48. user.Name = "user"
  49. user.Parent = fraem
  50. user.BackgroundColor3 = Color3.new(0, 0, 0)
  51. user.BorderColor3 = Color3.new(1, 0, 0)
  52. user.Size = UDim2.new(0, 200, 0, 22)
  53. user.Font = Enum.Font.SourceSans
  54. user.Text = "Username"
  55. user.TextColor3 = Color3.new(1, 0, 0)
  56. user.TextScaled = true
  57. user.TextSize = 14
  58. user.TextWrapped = true
  59.  
  60. button.Name = "button"
  61. button.Parent = fraem
  62. button.BackgroundColor3 = Color3.new(0, 0, 0)
  63. button.BorderColor3 = Color3.new(1, 0, 0)
  64. button.Position = UDim2.new(0, 0, 0, 22)
  65. button.Size = UDim2.new(0, 200, 0, 21)
  66. button.Font = Enum.Font.SourceSans
  67. button.Text = "Fling"
  68. button.TextColor3 = Color3.new(1, 0, 0)
  69. button.TextSize = 20
  70. button.MouseButton1Down:connect(function()
  71. for i,v in pairs(GetPlayer(user.Text))do
  72. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v.Name].Character.HumanoidRootPart.CFrame
  73. wait( )
  74. game:GetService('RunService').Stepped:connect(function()
  75. game.Players.LocalPlayer.Character.Head.CanCollide = false
  76. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  77. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  78. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  79. end)
  80. b = Instance.new("RocketPropulsion")
  81. b.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  82. b.Target = game.Players[v.Name].Character.HumanoidRootPart
  83. b.TurnP = 20000
  84. b.MaxThrust = 20000
  85. b.MaxSpeed = 1000
  86. b.ThrustP = 13000
  87. b:Fire()
  88. end
  89. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement