Advertisement
xennyYT

FE Kill GUI

Apr 4th, 2020
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.65 KB | None | 0 0
  1. local KillGUI = Instance.new("ScreenGui")
  2. local Frame = Instance.new("ImageLabel")
  3. local Frame_2 = Instance.new("ImageLabel")
  4. local TextLabel = Instance.new("TextLabel")
  5. local TextLabel_2 = Instance.new("TextLabel")
  6. local Kill = Instance.new("TextButton")
  7. local Reset = Instance.new("TextButton")
  8. local TextButton_Roundify_12px = Instance.new("ImageLabel")
  9. local Target = Instance.new("TextBox")
  10. local TextBox_Roundify_12px = Instance.new("ImageLabel")
  11. local Exit = Instance.new("TextButton")
  12. local Time = Instance.new("TextBox")
  13. local TextBox_Roundify_12px_2 = Instance.new("ImageLabel")
  14. local TextLabel_3 = Instance.new("TextLabel")
  15. --Properties:
  16. KillGUI.Name = "KillGUI"
  17. KillGUI.Parent = game.CoreGui
  18.  
  19. Frame.Name = "Frame"
  20. Frame.Parent = KillGUI
  21. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  22. Frame.BackgroundTransparency = 1
  23. Frame.Position = UDim2.new(0.0383211672, 0, 0.308764935, 0)
  24. Frame.Size = UDim2.new(0, 180, 0, 219)
  25. Frame.Image = "rbxassetid://2260429633"
  26. Frame.ImageColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  27. Frame.ScaleType = Enum.ScaleType.Slice
  28. Frame.SliceCenter = Rect.new(12, 12, 13, 13)
  29. Frame.Selectable = true
  30. Frame.Active = true
  31. Frame.Draggable = true
  32.  
  33. Frame_2.Name = "Frame"
  34. Frame_2.Parent = Frame
  35. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  36. Frame_2.BackgroundTransparency = 1
  37. Frame_2.Position = UDim2.new(0, 0, -0.041420117, 0)
  38. Frame_2.Size = UDim2.new(0, 180, 0, 36)
  39. Frame_2.Image = "rbxassetid://2260429633"
  40. Frame_2.ImageColor3 = Color3.new(0.8, 0.8, 0.8)
  41. Frame_2.ScaleType = Enum.ScaleType.Slice
  42. Frame_2.SliceCenter = Rect.new(12, 12, 13, 13)
  43.  
  44. TextLabel.Parent = Frame_2
  45. TextLabel.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  46. TextLabel.BorderSizePixel = 0
  47. TextLabel.Position = UDim2.new(0, 0, 0.68350327, 0)
  48. TextLabel.Size = UDim2.new(0, 180, 0, 16)
  49. TextLabel.Font = Enum.Font.SourceSans
  50. TextLabel.Text = ""
  51. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  52. TextLabel.TextSize = 14
  53.  
  54. TextLabel_2.Parent = Frame_2
  55. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  56. TextLabel_2.BackgroundTransparency = 1
  57. TextLabel_2.Position = UDim2.new(0, 0, 0.111111112, 0)
  58. TextLabel_2.Size = UDim2.new(0, 147, 0, 36)
  59. TextLabel_2.Font = Enum.Font.SciFi
  60. TextLabel_2.Text = "Kill GUI updated by dogerki"
  61. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  62. TextLabel_2.TextSize = 12
  63. TextLabel_2.TextWrapped = true
  64.  
  65. Kill.Name = "Kill"
  66. Kill.Parent = Frame
  67. Kill.BackgroundColor3 = Color3.new(1, 1, 1)
  68. Kill.BackgroundTransparency = 1
  69. Kill.BorderSizePixel = 0
  70. Kill.Position = UDim2.new(0.13333334, 0, 0.231177166, 0)
  71. Kill.Size = UDim2.new(0, 132, 0, 32)
  72. Kill.ZIndex = 2
  73. Kill.Font = Enum.Font.SciFi
  74. Kill.Text = "Kill"
  75. Kill.TextColor3 = Color3.new(1, 1, 1)
  76. Kill.TextSize = 14
  77.  
  78.  
  79. TextButton_Roundify_12px.Name = "TextButton_Roundify_12px"
  80. TextButton_Roundify_12px.Parent = Kill
  81. TextButton_Roundify_12px.BackgroundColor3 = Color3.new(1, 1, 1)
  82. TextButton_Roundify_12px.BackgroundTransparency = 1
  83. TextButton_Roundify_12px.Size = UDim2.new(1, 0, 1.00000024, 0)
  84. TextButton_Roundify_12px.Image = "rbxassetid://2260429633"
  85. TextButton_Roundify_12px.ImageColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  86. TextButton_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  87. TextButton_Roundify_12px.SliceCenter = Rect.new(12, 12, 13, 13)
  88.  
  89. Target.Name = "Target"
  90. Target.Parent = Frame
  91. Target.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Target.BackgroundTransparency = 1
  93. Target.BorderSizePixel = 0
  94. Target.Position = UDim2.new(0.13333334, 0, 0.719581962, 0)
  95. Target.Size = UDim2.new(0, 132, 0, 44)
  96. Target.ZIndex = 3
  97. Target.Font = Enum.Font.SciFi
  98. Target.Text = "Target"
  99. Target.TextColor3 = Color3.new(1, 1, 1)
  100. Target.TextSize = 14
  101.  
  102. TextBox_Roundify_12px.Name = "TextBox_Roundify_12px"
  103. TextBox_Roundify_12px.Parent = Target
  104. TextBox_Roundify_12px.BackgroundColor3 = Color3.new(1, 1, 1)
  105. TextBox_Roundify_12px.BackgroundTransparency = 1
  106. TextBox_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
  107. TextBox_Roundify_12px.Image = "rbxassetid://2260429633"
  108. TextBox_Roundify_12px.ImageColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  109. TextBox_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  110. TextBox_Roundify_12px.SliceCenter = Rect.new(12, 12, 13, 13)
  111.  
  112. Exit.Name = "Exit"
  113. Exit.Parent = Frame
  114. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  115. Exit.BackgroundTransparency = 1
  116. Exit.Position = UDim2.new(0.766666651, 0, -0.041420117, 0)
  117. Exit.Size = UDim2.new(0, 42, 0, 40)
  118. Exit.Font = Enum.Font.SciFi
  119. Exit.Text = "X"
  120. Exit.TextColor3 = Color3.new(0, 0, 0)
  121. Exit.TextSize = 20
  122. Exit.TextWrapped = true
  123.  
  124. Time.Name = "Time"
  125. Time.Parent = Frame
  126. Time.BackgroundColor3 = Color3.new(1, 1, 1)
  127. Time.BackgroundTransparency = 1
  128. Time.BorderSizePixel = 0
  129. Time.Position = UDim2.new(0.172222227, 0, 0.431910694, 0)
  130. Time.Size = UDim2.new(0, 116, 0, 31)
  131.  
  132.  
  133. Reset.Name = "Reset"
  134. Reset.Parent = Frame
  135. Reset.BackgroundColor3 = Color3.new(1, 1, 1)
  136. Reset.BackgroundTransparency = 1
  137. Reset.BorderSizePixel = 0
  138. Reset.Position = UDim2.new(0.13333334, 0, 0.431910694, 0)
  139. Reset.Size = UDim2.new(0, 132, 0, 32)
  140. Reset.ZIndex = 2
  141. Reset.Font = Enum.Font.SciFi
  142. Reset.Text = "Reset"
  143. Reset.TextColor3 = Color3.new(1, 1, 1)
  144. Reset.TextSize = 14
  145.  
  146.  
  147. TextBox_Roundify_12px_2.Name = "TextBox_Roundify_12px"
  148. TextBox_Roundify_12px_2.Parent = Time
  149. TextBox_Roundify_12px_2.BackgroundColor3 = Color3.new(1, 1, 1)
  150. TextBox_Roundify_12px_2.BackgroundTransparency = 1
  151. TextBox_Roundify_12px_2.Position = UDim2.new(0, 0, 1.1920929e-07, 0)
  152. TextBox_Roundify_12px_2.Size = UDim2.new(1, 0, 1, 0)
  153. TextBox_Roundify_12px_2.Image = "rbxassetid://2260429633"
  154. TextBox_Roundify_12px_2.ImageColor3 = Color3.new(0.0823529, 0.0823529, 0.0823529)
  155. TextBox_Roundify_12px_2.ScaleType = Enum.ScaleType.Slice
  156. TextBox_Roundify_12px_2.SliceCenter = Rect.new(12, 12, 13, 13)
  157.  
  158. TextLabel_3.Parent = Time
  159. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  160. TextLabel_3.BackgroundTransparency = 1
  161. TextLabel_3.Position = UDim2.new(-0.146551728, 0, 1, 0)
  162. TextLabel_3.Size = UDim2.new(0, 152, 0, 26)
  163. TextLabel_3.Font = Enum.Font.SciFi
  164. TextLabel_3.Text = "Reset if glitched"
  165. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  166. TextLabel_3.TextSize = 14
  167. --------------------------------------------------------- Scripts:
  168. local LocalPlayer = game:GetService("Players").LocalPlayer
  169. local torsoname = "Torso"
  170. if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  171. torsoname = "UpperTorso"
  172. end
  173. Exit.MouseButton1Click:connect(function()
  174. KillGUI:Destroy()
  175. end)
  176.  
  177. Reset.MouseButton1Click:connect(function()
  178. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  179. end)
  180.  
  181.  
  182. function GetPlayer(String)
  183. local Found = {}
  184. local strl = String:lower()
  185. if strl == "all" then
  186. for i,v in pairs(game.Players:GetPlayers()) do
  187. table.insert(Found,v)
  188. end
  189. elseif strl == "others" then
  190. for i,v in pairs(game.Players:GetPlayers()) do
  191. if v.Name ~= game.Players.LocalPlayer.Name then
  192. table.insert(Found,v)
  193. end
  194. end
  195. else
  196. for i,v in pairs(game.Players:GetPlayers()) do
  197. if v.Name:lower():sub(1, #String) == String:lower() then
  198. table.insert(Found,v)
  199. end
  200. end
  201. end
  202. return Found
  203. end
  204.  
  205. Kill.MouseButton1Click:connect(function()
  206. for i,v in pairs(GetPlayer(Target.Text)) do
  207. local Target = game.Players:FindFirstChild("Predecoris")
  208. local Torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  209. local SavedPos = Torso.CFrame
  210. local Active = true
  211. local TimeDelay = Time.Text
  212. local POWER = 9e5
  213.  
  214. game:GetService('RunService').Stepped:connect(function()
  215. if Active == true then
  216. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  217. game.Players.LocalPlayer.Character.Head.CanCollide = false
  218. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  219. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  220. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  221. POWER = 9e5
  222. else
  223. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  224. game.Players.LocalPlayer.Character.Head.CanCollide = false
  225. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  226. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  227. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  228. POWER = 9e4
  229. end
  230. end
  231. end
  232. end)
  233.  
  234.  
  235. if v.Character ~= nil then
  236. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  237. game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
  238. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  239. local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  240. local hathandle = hat.Handle
  241. hathandle.Parent = tool
  242. hathandle.Massless = true
  243. tool.GripPos = Vector3.new(0, 9e99, 0)
  244. tool.Parent = LocalPlayer.Character
  245. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  246. tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  247. game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
  248. repeat
  249. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = v.Character:FindFirstChild("HumanoidRootPart").CFrame
  250. wait()
  251. until v.Character:FindFirstChild("Humanoid").Health <= 0 or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
  252. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  253. hathandle.Parent = hat
  254. hathandle.Massless = false
  255. tool:Destroy()
  256. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  257. end
  258.  
  259.  
  260.  
  261. game:GetService('RunService').Stepped:connect(function()
  262. if Active == true then
  263. Torso.CFrame = game.Players:FindFirstChild(v.Name).Character.HumanoidRootPart.CFrame
  264. end
  265. end)
  266. wait(TimeDelay)
  267. Active = false
  268. for i,v in pairs(Torso:GetChildren()) do
  269. if v:IsA("BodyThrust") then
  270. v:Destroy()
  271. wait()
  272. else
  273. if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
  274. wait()
  275. v:Destroy()
  276. end
  277. end
  278. end
  279. end
  280. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement