Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. -- MADE BY BennyFTW#0001
  2. local FEKillGui = Instance.new("ScreenGui")
  3. local KillGuiGrame = Instance.new("Frame")
  4. local KillClose = Instance.new("TextButton")
  5. local PlayerNameToKill = Instance.new("TextBox")
  6. local KillPlayer = Instance.new("TextButton")
  7. local KillTitle = Instance.new("TextLabel")
  8. --Properties:
  9. FEKillGui.Name = "FE Kill Gui"
  10. FEKillGui.Parent = game.CoreGui
  11. FEKillGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. KillGuiGrame.Name = "KillGuiGrame"
  14. KillGuiGrame.Parent = FEKillGui
  15. KillGuiGrame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  16. KillGuiGrame.BorderColor3 = Color3.new(0.333333, 0, 0)
  17. KillGuiGrame.BorderSizePixel = 4
  18. KillGuiGrame.Position = UDim2.new(0.15769805, 0, 0.38861087, 0)
  19. KillGuiGrame.Size = UDim2.new(0, 289, 0, 120)
  20. KillGuiGrame.Active = true
  21. KillGuiGrame.Draggable = true
  22.  
  23. KillClose.Name = "KillClose"
  24. KillClose.Parent = KillGuiGrame
  25. KillClose.BackgroundColor3 = Color3.new(1, 1, 1)
  26. KillClose.BackgroundTransparency = 1
  27. KillClose.Position = UDim2.new(0.929345667, 0, -0.0066532325, 0)
  28. KillClose.Size = UDim2.new(0, 20, 0, 25)
  29. KillClose.ZIndex = 2
  30. KillClose.Font = Enum.Font.SourceSans
  31. KillClose.Text = "X"
  32. KillClose.TextColor3 = Color3.new(1, 0, 0)
  33. KillClose.TextScaled = true
  34. KillClose.TextSize = 14
  35. KillClose.TextWrapped = true
  36.  
  37. PlayerNameToKill.Name = "PlayerNameToKill"
  38. PlayerNameToKill.Parent = KillGuiGrame
  39. PlayerNameToKill.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  40. PlayerNameToKill.BorderColor3 = Color3.new(0.333333, 0, 0)
  41. PlayerNameToKill.BorderSizePixel = 2
  42. PlayerNameToKill.Position = UDim2.new(0.223579064, 0, 0.376822263, 0)
  43. PlayerNameToKill.Size = UDim2.new(0, 159, 0, 29)
  44. PlayerNameToKill.Font = Enum.Font.SourceSans
  45. PlayerNameToKill.PlaceholderText = "Person You Want Dead"
  46. PlayerNameToKill.Text = ""
  47. PlayerNameToKill.TextColor3 = Color3.new(0.333333, 0, 0)
  48. PlayerNameToKill.TextScaled = true
  49. PlayerNameToKill.TextSize = 14
  50. PlayerNameToKill.TextStrokeColor3 = Color3.new(0.333333, 0, 0)
  51. PlayerNameToKill.TextWrapped = true
  52.  
  53. KillPlayer.Name = "KillPlayer"
  54. KillPlayer.Parent = KillGuiGrame
  55. KillPlayer.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  56. KillPlayer.BorderColor3 = Color3.new(0.333333, 0, 0)
  57. KillPlayer.BorderSizePixel = 2
  58. KillPlayer.Position = UDim2.new(0.293890059, 0, 0.710050285, 0)
  59. KillPlayer.Size = UDim2.new(0, 118, 0, 22)
  60. KillPlayer.Font = Enum.Font.GothamBlack
  61. KillPlayer.Text = "KILL"
  62. KillPlayer.TextColor3 = Color3.new(1, 0, 0)
  63. KillPlayer.TextScaled = true
  64. KillPlayer.TextSize = 14
  65. KillPlayer.TextWrapped = true
  66.  
  67. KillTitle.Name = "KillTitle"
  68. KillTitle.Parent = KillGuiGrame
  69. KillTitle.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  70. KillTitle.BorderColor3 = Color3.new(0.333333, 0, 0)
  71. KillTitle.BorderSizePixel = 4
  72. KillTitle.Position = UDim2.new(-0.00147150457, 0, -0.00346031785, 0)
  73. KillTitle.Size = UDim2.new(0, 289, 0, 36)
  74. KillTitle.Font = Enum.Font.Fantasy
  75. KillTitle.Text = "FE Kill"
  76. KillTitle.TextColor3 = Color3.new(0.333333, 0, 0)
  77. KillTitle.TextScaled = true
  78. KillTitle.TextSize = 14
  79. KillTitle.TextWrapped = true
  80. KillTitle.Active = true
  81. -- Scripts:
  82. KillClose.MouseButton1Click:Connect(function()
  83. KillGuiGrame:Destroy()
  84. end)
  85.  
  86. local Players = game:GetService("Players")
  87. local LocalPlayer = Players.LocalPlayer
  88. local function RemoveSpaces(String)
  89. return String:gsub("%s+", "") or String
  90. end
  91.  
  92. local function FindPlayer(String)
  93. String = RemoveSpaces(String)
  94. for _, _Player in pairs(Players:GetPlayers()) do
  95. if _Player.Name:lower():match('^'.. String:lower()) then
  96. return _Player
  97. end
  98. end
  99. return nil
  100. end
  101.  
  102. KillPlayer.MouseButton1Click:Connect(function()
  103. local Target = FindPlayer(PlayerNameToKill.Text)
  104. if Target and Target.Character then
  105. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  106. local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  107.  
  108. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  109. Torso.Anchored = true
  110. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  111. local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  112. local hathandle = hat.Handle
  113. hathandle.Parent = tool
  114. hathandle.Massless = true
  115. tool.GripPos = Vector3.new(0, 9e99, 0)
  116. tool.Parent = LocalPlayer.Character
  117. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  118. tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  119. Torso.Anchored = false
  120. repeat LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame wait()
  121. 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)
  122. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  123. hathandle.Parent = hat
  124. hathandle.Massless = false
  125. tool:Destroy()
  126. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  127. else
  128. warn'no player found named like that or he has no char'
  129. end
  130. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement