Advertisement
ROBLOX_SCRIPT_SHARE

KILL SCRIPT

Feb 22nd, 2022
1,771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. if game:GetService("CoreGui"):FindFirstChild("KAIOD") then
  2. game:GetService("CoreGui"):FindFirstChild("KAIOD"):Destroy()
  3. _G.loopkill = false
  4. end
  5. local KAIOD = Instance.new("ScreenGui")
  6. local Frame = Instance.new("ImageLabel")
  7. local UIGradient = Instance.new("UIGradient")
  8. local Kill = Instance.new("TextButton")
  9. local Target = Instance.new("TextBox")
  10. local Loop = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12. local ImageLabel = Instance.new("ImageLabel")
  13. local plr = game:GetService("Players").LocalPlayer
  14. KAIOD.Name = "KAIOD"
  15. KAIOD.Parent = game:GetService("CoreGui")
  16. Frame.Name = "Frame"
  17. Frame.Parent = KAIOD
  18. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  19. Frame.BackgroundTransparency = 1.000
  20. Frame.Position = UDim2.new(0.0630208328, 0, 0.196662694, 0)
  21. Frame.Size = UDim2.new(0, 237, 0, 352)
  22. Frame.Image = "rbxassetid://3570695787"
  23. Frame.ScaleType = Enum.ScaleType.Slice
  24. Frame.SliceCenter = Rect.new(100, 100, 100, 100)
  25. Frame.SliceScale = 0.120
  26. Frame.Active = true
  27. Frame.Draggable = true
  28. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(0.51, Color3.fromRGB(20, 20, 20)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(25, 25, 25))}
  29. UIGradient.Parent = Frame
  30. Kill.Name = "Kill"
  31. Kill.Parent = Frame
  32. Kill.BackgroundColor3 = Color3.fromRGB(152, 0, 2)
  33. Kill.Position = UDim2.new(0.278481007, 0, 0.529105186, 0)
  34. Kill.Size = UDim2.new(0, 104, 0, 27)
  35. Kill.Text = "Kill"
  36. Kill.TextColor3 = Color3.fromRGB(161, 161, 161)
  37. Kill.TextScaled = true
  38. Kill.TextSize = 14.000
  39. Kill.TextWrapped = true
  40. Target.Name = "Target"
  41. Target.Parent = Frame
  42. Target.BackgroundColor3 = Color3.fromRGB(39, 39, 39)
  43. Target.Position = UDim2.new(0.0759493634, 0, 0.355113626, 0)
  44. Target.Size = UDim2.new(0, 200, 0, 45)
  45. Target.Font = Enum.Font.SourceSans
  46. Target.PlaceholderColor3 = Color3.fromRGB(218, 218, 218)
  47. Target.PlaceholderText = "Target Name|DisplayName"
  48. Target.Text = ""
  49. Target.TextColor3 = Color3.fromRGB(218, 218, 218)
  50. Target.TextSize = 19.000
  51. Loop.Name = "Loop"
  52. Loop.Parent = Frame
  53. Loop.BackgroundColor3 = Color3.fromRGB(152, 0, 2)
  54. Loop.Position = UDim2.new(0.278481007, 0, 0.662157595, 0)
  55. Loop.Size = UDim2.new(0, 104, 0, 27)
  56. Loop.Text = "Loop"
  57. Loop.TextColor3 = Color3.fromRGB(161, 161, 161)
  58. Loop.TextScaled = true
  59. Loop.TextSize = 14.000
  60. Loop.TextWrapped = true
  61. TextLabel.Parent = Frame
  62. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. TextLabel.BackgroundTransparency = 1.000
  64. TextLabel.Position = UDim2.new(0.0759493634, 0, 0.838068187, 0)
  65. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  66. TextLabel.Font = Enum.Font.SourceSans
  67. TextLabel.Text = "Note: Can do random\nor single"
  68. TextLabel.TextColor3 = Color3.fromRGB(121, 121, 121)
  69. TextLabel.TextSize = 21.000
  70. TextLabel.TextWrapped = true
  71. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  72. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  73. ImageLabel.Parent = Frame
  74. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75. ImageLabel.BackgroundTransparency = 0.800
  76. ImageLabel.Position = UDim2.new(0.295358658, 0, 0.0454545468, 0)
  77. ImageLabel.Size = UDim2.new(0, 96, 0, 96)
  78. ImageLabel.Image = ""
  79.  
  80. local Player = function(Ev)
  81. if Ev == "" then
  82. return nil
  83. elseif Ev == "random" then
  84. return game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
  85. else
  86. for _, v in pairs(game:GetService("Players"):GetPlayers()) do
  87. if v.Name:lower():sub(1, #Ev) == Ev:lower() or v.DisplayName:lower():sub(1, #Ev) == Ev then
  88. return v
  89. end
  90. end
  91. end
  92. end
  93.  
  94. Target.Focused:Connect(function()
  95. while Target:IsFocused() and wait() do
  96. local User = Player(Target.Text)
  97. if User ~= nil then
  98. ImageLabel.Image = game:GetService("Players"):GetUserThumbnailAsync(User.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
  99. end
  100. end
  101. end)
  102.  
  103. Target.FocusLost:Connect(function()
  104. while wait() do
  105. if Target:IsFocused() then break end
  106. if Target.Text ~= "random" then break end
  107. ImageLabel.Image = game:GetService("Players"):GetUserThumbnailAsync(Player(Target.Text).UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
  108. end
  109. end)
  110.  
  111. Kill.MouseButton1Click:Connect(function()
  112. plr.Character.Humanoid:UnequipTools()
  113. local Humanoid = plr.Character.Humanoid:Clone()
  114. local Target = Player(Target.Text)
  115. local Tool = plr.Backpack:FindFirstChildOfClass("Tool")
  116.  
  117. plr.Character.Animate.Disabled = true
  118. plr.Character.Humanoid:Destroy()
  119. Humanoid.Parent = plr.Character
  120. Tool.Parent = plr.Character
  121. game.Players.LocalPlayer.Character.Humanoid:ChangeState(15)
  122. firetouchinterest(Target.Character.HumanoidRootPart, Tool.Handle, 0);
  123. end)
  124.  
  125. Loop.MouseButton1Click:Connect(function()
  126. if _G.loopkill then
  127. _G.loopkill = false
  128. Loop.Text = "Loop"
  129. else
  130. _G.loopkill = true
  131. Loop.Text = "Unloop"
  132. local Target = Player(Target.Text)
  133.  
  134. repeat
  135. if not game:GetService("Players"):FindFirstChild(Target.Name) then
  136. _G.loopkill = false
  137. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Notification", Text = Target.Name .. " has left the game"})
  138. end
  139.  
  140. pcall(function()
  141. plr.Character.Humanoid:UnequipTools()
  142. local Humanoid = plr.Character.Humanoid:Clone()
  143. local Tool = plr.Backpack:FindFirstChildOfClass("Tool")
  144.  
  145. plr.Character.Animate.Disabled = true
  146. plr.Character.Humanoid:Destroy()
  147. Humanoid.Parent = plr.Character
  148. Tool.Parent = plr.Character
  149. firetouchinterest(Target.Character.HumanoidRootPart, Tool.Handle, 0); wait(0.1)
  150. plr.Character.Humanoid.Health = 0
  151. plr.Character = nil
  152. end)
  153.  
  154. plr.CharacterAdded:Wait()
  155. plr.Character:WaitForChild("Humanoid")
  156. until not _G.loopkill
  157. end
  158. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement