Advertisement
HansCSia320

Gaeeee

May 27th, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.66 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local ui = Instance.new("Frame")
  3. local title = Instance.new("TextLabel")
  4. local Frame = Instance.new("Frame")
  5. local Username = Instance.new("TextBox")
  6. local Kill = Instance.new("TextButton")
  7. local cred = Instance.new("TextLabel")
  8. --Properties:
  9. ScreenGui.Parent = game:GetService("CoreGui")
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. ui.Name = "ui"
  13. ui.Parent = ScreenGui
  14. ui.Active = true
  15. ui.BackgroundColor3 = Color3.new(1, 1, 1)
  16. ui.BackgroundTransparency = 0.20000000298023
  17. ui.BorderSizePixel = 3
  18. ui.Position = UDim2.new(0.254972845, 0, 0.419703096, 0)
  19. ui.Size = UDim2.new(0, 335, 0, 283)
  20.  
  21. title.Name = "title"
  22. title.Parent = ui
  23. title.BackgroundColor3 = Color3.new(1, 1, 1)
  24. title.BackgroundTransparency = 1
  25. title.BorderSizePixel = 2
  26. title.Position = UDim2.new(0, 0, 0.0199999996, 0)
  27. title.Size = UDim2.new(1, 0, 0, 50)
  28. title.Font = Enum.Font.SourceSans
  29. title.Text = "FE KILL"
  30. title.TextColor3 = Color3.new(0, 0, 0)
  31. title.TextScaled = true
  32. title.TextSize = 14
  33. title.TextWrapped = true
  34.  
  35. Frame.Parent = title
  36. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  37. Frame.BorderSizePixel = 0
  38. Frame.Position = UDim2.new(0.25, 0, 0.860000014, 0)
  39. Frame.Size = UDim2.new(0.5, 0, 0, 3)
  40.  
  41. Username.Name = "Username"
  42. Username.Parent = ui
  43. Username.BackgroundColor3 = Color3.new(1, 1, 1)
  44. Username.BorderSizePixel = 0
  45. Username.Position = UDim2.new(0.100000001, 0, 0.300000012, 0)
  46. Username.Size = UDim2.new(0.800000012, 0, 0, 50)
  47. Username.Font = Enum.Font.SourceSans
  48. Username.PlaceholderText = "Name"
  49. Username.Text = ""
  50. Username.TextColor3 = Color3.new(0, 0, 0)
  51. Username.TextScaled = true
  52. Username.TextSize = 14
  53. Username.TextWrapped = true
  54.  
  55. Kill.Name = "Kill"
  56. Kill.Parent = ui
  57. Kill.BackgroundColor3 = Color3.new(1, 1, 1)
  58. Kill.BackgroundTransparency = 0.20000000298023
  59. Kill.BorderSizePixel = 2
  60. Kill.Position = UDim2.new(0.25, 0, 0.529999971, 0)
  61. Kill.Size = UDim2.new(0.5, 0, 0, 50)
  62. Kill.Font = Enum.Font.Gotham
  63. Kill.Text = "KILL"
  64. Kill.TextColor3 = Color3.new(0, 0, 0)
  65. Kill.TextScaled = true
  66. Kill.TextSize = 14
  67. Kill.TextWrapped = true
  68.  
  69. cred.Name = "cred"
  70. cred.Parent = ui
  71. cred.BackgroundColor3 = Color3.new(1, 1, 1)
  72. cred.BackgroundTransparency = 1
  73. cred.BorderSizePixel = 2
  74. cred.Position = UDim2.new(0.0500000007, 0, 0.769999981, 0)
  75. cred.Size = UDim2.new(0.899999976, 0, 0, 50)
  76. cred.Font = Enum.Font.SourceSans
  77. cred.Text = "Credits to Cyclically, Thunder Mods"
  78. cred.TextColor3 = Color3.new(0, 0, 0)
  79. cred.TextScaled = true
  80. cred.TextSize = 14
  81. cred.TextWrapped = true
  82. ui.Draggable = true
  83.  
  84. -- creds to Hamiii for the plr finder
  85. local Players = game:GetService("Players")
  86. local LocalPlayer = Players.LocalPlayer
  87. local function RemoveSpaces(String)
  88.     return String:gsub("%s+", "") or String
  89. end
  90.  
  91. local function FindPlayer(String)
  92.     String = RemoveSpaces(String)
  93.     for _, _Player in pairs(Players:GetPlayers()) do
  94.         if _Player.Name:lower():match('^'.. String:lower()) then
  95.             return _Player
  96.         end
  97.     end
  98.     return nil
  99. end
  100.  
  101. Kill.MouseButton1Click:Connect(function()
  102.     local Target = FindPlayer(Username.Text)
  103.     if Target and Target.Character then
  104.         local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  105.         local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  106.        
  107.         local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  108.         Torso.Anchored = true
  109.         local tool = Instance.new("Tool", LocalPlayer.Backpack)
  110.         local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  111.         local hathandle = hat.Handle
  112.         hathandle.Parent = tool
  113.         hathandle.Massless = true
  114.         tool.GripPos = Vector3.new(0, 9e99, 0)
  115.         tool.Parent = LocalPlayer.Character
  116.         repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  117.         tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  118.         Torso.Anchored = false
  119.         repeat LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame wait()
  120.         until Target.Character == nil or Target.Character:FindFirstChild("Humanoid").Health <= 0 or LocalPlayer.Character == nil or LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or (Target.Character:FindFirstChild("HumanoidRootPart").Velocity.magnitude - Target.Character:FindFirstChild("Humanoid").WalkSpeed) > (Target.Character:FindFirstChild("Humanoid").WalkSpeed + 20)
  121.         LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  122.         hathandle.Parent = hat
  123.         hathandle.Massless = false
  124.         tool:Destroy()
  125.         LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  126.     else
  127.         warn'no player found named like that or he has no char'
  128.     end
  129. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement