Hydasi

Simple Kill GUI

Jan 31st, 2023
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.91 KB | None | 0 0
  1. local lp = game:GetService("Players").LocalPlayer
  2.  
  3. local function gplr(String)
  4. local Found = {}
  5. local strl = String:lower()
  6. if strl == "all" then
  7. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  8. table.insert(Found,v)
  9. end
  10. elseif strl == "others" then
  11. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  12. if v.Name ~= lp.Name then
  13. table.insert(Found,v)
  14. end
  15. end
  16. elseif strl == "me" then
  17. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  18. if v.Name == lp.Name then
  19. table.insert(Found,v)
  20. end
  21. end
  22. else
  23. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  24. if v.Name:lower():sub(1, #String) == String:lower() then
  25. table.insert(Found,v)
  26. end
  27. end
  28. end
  29. return Found
  30. end
  31.  
  32. local ScreenGui = Instance.new("ScreenGui")
  33. local ui = Instance.new("Frame")
  34. local title = Instance.new("TextLabel")
  35. local Frame = Instance.new("Frame")
  36. local Username = Instance.new("TextBox")
  37. local Kill = Instance.new("TextButton")
  38. local ced = Instance.new("TextLabel")
  39.  
  40. ScreenGui.Parent = game:GetService("CoreGui")
  41. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  42.  
  43. ui.Name = "ui"
  44. ui.Parent = ScreenGui
  45. ui.Active = true
  46. ui.BackgroundColor3 = Color3.new(0, 0, 0)
  47. ui.BackgroundTransparency = 0
  48. ui.BorderSizePixel = 3
  49. ui.Position = UDim2.new(0.254972845, 0, 0.419703096, 0)
  50. ui.Size = UDim2.new(0, 278, 0, 278)
  51.  
  52. title.Name = "title"
  53. title.Parent = ui
  54. title.BackgroundColor3 = Color3.new(68, 68, 68)
  55. title.BackgroundTransparency = 1
  56. title.BorderSizePixel = 2
  57. title.Position = UDim2.new(0, 0, 0.0199999996, 0)
  58. title.Size = UDim2.new(1, 0, 0, 50)
  59. title.Font = Enum.Font.SourceSans
  60. title.Text = "INSTAKILL GUI"
  61. title.TextColor3 = Color3.new(1, 1, 1)
  62. title.TextScaled = true
  63. title.TextSize = 14
  64. title.TextWrapped = true
  65.  
  66. Frame.Parent = title
  67. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  68. Frame.BorderSizePixel = 0
  69. Frame.Position = UDim2.new(0.07, 0, 0.860000014, 0)
  70. Frame.Size = UDim2.new(0.85, 0, 0, 6)
  71.  
  72. Username.Name = "Username"
  73. Username.Parent = ui
  74. Username.BackgroundColor3 = Color3.new(1, 1, 1)
  75. Username.BorderSizePixel = 0
  76. Username.Position = UDim2.new(0.100000001, 0, 0.300000012, 0)
  77. Username.Size = UDim2.new(0.800000012, 0, 0, 50)
  78. Username.Font = Enum.Font.SourceSans
  79. Username.PlaceholderText = "TARGET"
  80. Username.Text = "TARGET"
  81. Username.TextColor3 = Color3.new(0, 0, 0)
  82. Username.TextScaled = true
  83. Username.TextSize = 14
  84. Username.TextWrapped = true
  85.  
  86. Kill.Name = "Stick"
  87. Kill.Parent = ui
  88. Kill.BackgroundColor3 = Color3.new(0.25, 0.25, 0.25)
  89. Kill.BackgroundTransparency = 0
  90. Kill.BorderSizePixel = 2
  91. Kill.Position = UDim2.new(0.25, 0, 0.629999971, 0)
  92. Kill.Size = UDim2.new(0.5, 0, 0, 45)
  93. Kill.Font = Enum.Font.Gotham
  94. Kill.Text = "KILL"
  95. Kill.TextColor3 = Color3.new(0, 0, 0)
  96. Kill.TextScaled = true
  97. Kill.TextSize = 10
  98. Kill.TextWrapped = true
  99. ui.Draggable = true
  100.  
  101. ced.Name = "made"
  102. ced.Parent = ui
  103. ced.BackgroundColor3 = Color3.new(68, 68, 68)
  104. ced.BackgroundTransparency = 1
  105. ced.BorderSizePixel = 2
  106. ced.Position = UDim2.new(0, 0, 0.769999981, 0)
  107. ced.Size = UDim2.new(1, 0, 0, 50)
  108. ced.Font = Enum.Font.SourceSans
  109. ced.Text = "MADE BY: Whalix#0265"
  110. ced.TextColor3 = Color3.new(1, 1, 1)
  111. ced.TextScaled = true
  112. ced.TextSize = 14
  113. ced.TextWrapped = true
  114.  
  115. local function notif(str,dur)
  116. game:GetService("StarterGui"):SetCore("SendNotification", {
  117. Title = "INSTAKILL GUI";
  118. Text = str;})
  119. Duration = dur or 3;
  120. end
  121.  
  122. Kill.MouseButton1Click:Connect(function()
  123. local Player = gplr(Username.Text)
  124. if Player[1] then
  125. Player = Player[1]
  126. LocalPlayer = game.Players.LocalPlayer
  127.  
  128. if LocalPlayer.Character.PrimaryPart ~= nil then
  129. local Character = LocalPlayer.Character
  130. local previous = LocalPlayer.Character.PrimaryPart.CFrame
  131.  
  132. Character.Archivable = true
  133. local Clone = Character:Clone()
  134. LocalPlayer.Character = Clone
  135. wait(0.5)
  136. LocalPlayer.Character = Character
  137. wait(0.2)
  138.  
  139. if LocalPlayer.Character and Player.Character and Player.Character.PrimaryPart ~= nil then
  140. if LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  141. LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):Destroy()
  142. end
  143.  
  144. local Humanoid = Instance.new("Humanoid")
  145. Humanoid.Parent = LocalPlayer.Character
  146.  
  147. local Tool = nil
  148.  
  149. if LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  150. Tool = LocalPlayer.Character:FindFirstChildOfClass("Tool")
  151. elseif LocalPlayer.Backpack and LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  152. Tool = LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  153. end
  154. print(Tool)
  155.  
  156. if Tool ~= nil then
  157. Tool.Parent = LocalPlayer.Backpack
  158.  
  159. Player.Character.HumanoidRootPart.Anchored = true
  160.  
  161. local Arm = game.Players.LocalPlayer.Character['Right Arm'].CFrame * CFrame.new(0, -1, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  162. Tool.Grip = Arm:ToObjectSpace(Player.Character.PrimaryPart.CFrame):Inverse()
  163.  
  164. Tool.Parent = LocalPlayer.Character
  165. Workspace.CurrentCamera.CameraSubject = Tool.Handle
  166.  
  167. repeat
  168. wait()
  169. until not Tool or Tool and (Tool.Parent == Workspace or Tool.Parent == Player.Character)
  170. Player.Character.HumanoidRootPart.Anchored = false
  171. wait(0.1)
  172. Humanoid.Health = 0
  173. LocalPlayer.Character = nil
  174. end
  175. end
  176.  
  177. spawn(function()
  178. LocalPlayer.CharacterAdded:Wait()
  179. Player.Character.HumanoidRootPart.Anchored = false
  180. if Player.Character.Humanoid.Health <= 15 then
  181. notif("The requested user has been killed!")
  182. repeat wait() until LocalPlayer.Character.PrimaryPart ~= nil
  183. wait(0.4)
  184. LocalPlayer.Character:SetPrimaryPartCFrame(previous)
  185. end
  186. end)
  187. end
  188. end
  189. end)
  190.  
  191. local function MOQC_fake_script() -- HackFrame.RGB_Script
  192. local script = Instance.new('LocalScript', Kill)
  193.  
  194. while wait() do
  195. script.Parent.BackgroundColor3 = Color3.new(255/255,0/255,0/255)
  196. for i = 0,255,10 do
  197. wait()
  198. script.Parent.BackgroundColor3 = Color3.new(255/255,i/255,0/255)
  199. end
  200. for i = 255,0,-10 do
  201. wait()
  202. script.Parent.BackgroundColor3 = Color3.new(i/255,255/255,0/255)
  203. end
  204. for i = 0,255,10 do
  205. wait()
  206. script.Parent.BackgroundColor3 = Color3.new(0/255,255/255,i/255)
  207. end
  208. for i = 255,0,-10 do
  209. wait()
  210. script.Parent.BackgroundColor3 = Color3.new(0/255,i/255,255/255)
  211. end
  212. for i = 0,255,10 do
  213. wait()
  214. script.Parent.BackgroundColor3 = Color3.new(i/255,0/255,255/255)
  215. end
  216. for i = 255,0,-10 do
  217. wait()
  218. script.Parent.BackgroundColor3 = Color3.new(255/255,0/255,i/255)
  219. end
  220. end
  221. end
  222. coroutine.wrap(MOQC_fake_script)()
  223. local function MOQC_fake_script() -- HackFrame.RGB_Script
  224. local script2 = Instance.new('LocalScript', title)
  225.  
  226. while wait() do
  227. script2.Parent.TextColor3 = Color3.new(255/255,0/255,0/255)
  228. for i = 0,255,10 do
  229. wait()
  230. script2.Parent.TextColor3 = Color3.new(255/255,i/255,0/255)
  231. end
  232. for i = 255,0,-10 do
  233. wait()
  234. script2.Parent.TextColor3 = Color3.new(i/255,255/255,0/255)
  235. end
  236. for i = 0,255,10 do
  237. wait()
  238. script2.Parent.TextColor3 = Color3.new(0/255,255/255,i/255)
  239. end
  240. for i = 255,0,-10 do
  241. wait()
  242. script2.Parent.TextColor3 = Color3.new(0/255,i/255,255/255)
  243. end
  244. for i = 0,255,10 do
  245. wait()
  246. script2.Parent.TextColor3 = Color3.new(i/255,0/255,255/255)
  247. end
  248. for i = 255,0,-10 do
  249. wait()
  250. script2.Parent.TextColor3 = Color3.new(255/255,0/255,i/255)
  251. end
  252. end
  253. end
  254. coroutine.wrap(MOQC_fake_script)()
  255. local function MOQC_fake_script() -- HackFrame.RGB_Script
  256. local script3 = Instance.new('LocalScript', Frame)
  257.  
  258. while wait() do
  259. script3.Parent.BackgroundColor3 = Color3.new(255/255,0/255,0/255)
  260. for i = 0,255,10 do
  261. wait()
  262. script3.Parent.BackgroundColor3 = Color3.new(255/255,i/255,0/255)
  263. end
  264. for i = 255,0,-10 do
  265. wait()
  266. script3.Parent.BackgroundColor3 = Color3.new(i/255,255/255,0/255)
  267. end
  268. for i = 0,255,10 do
  269. wait()
  270. script3.Parent.BackgroundColor3 = Color3.new(0/255,255/255,i/255)
  271. end
  272. for i = 255,0,-10 do
  273. wait()
  274. script3.Parent.BackgroundColor3 = Color3.new(0/255,i/255,255/255)
  275. end
  276. for i = 0,255,10 do
  277. wait()
  278. script3.Parent.BackgroundColor3 = Color3.new(i/255,0/255,255/255)
  279. end
  280. for i = 255,0,-10 do
  281. wait()
  282. script3.Parent.BackgroundColor3 = Color3.new(255/255,0/255,i/255)
  283. end
  284. end
  285. end
  286. coroutine.wrap(MOQC_fake_script)()
  287. local function MOQC_fake_script() -- HackFrame.RGB_Script
  288. local script4 = Instance.new('LocalScript', Frame)
  289.  
  290. while wait() do
  291. script4.Parent.BackgroundColor3 = Color3.new(255/255,0/255,0/255)
  292. for i = 0,255,10 do
  293. wait()
  294. script4.Parent.BackgroundColor3 = Color3.new(255/255,i/255,0/255)
  295. end
  296. for i = 255,0,-10 do
  297. wait()
  298. script4.Parent.BackgroundColor3 = Color3.new(i/255,255/255,0/255)
  299. end
  300. for i = 0,255,10 do
  301. wait()
  302. script4.Parent.BackgroundColor3 = Color3.new(0/255,255/255,i/255)
  303. end
  304. for i = 255,0,-10 do
  305. wait()
  306. script4.Parent.BackgroundColor3 = Color3.new(0/255,i/255,255/255)
  307. end
  308. for i = 0,255,10 do
  309. wait()
  310. script4.Parent.BackgroundColor3 = Color3.new(i/255,0/255,255/255)
  311. end
  312. for i = 255,0,-10 do
  313. wait()
  314. script4.Parent.BackgroundColor3 = Color3.new(255/255,0/255,i/255)
  315. end
  316. end
  317. end
  318. coroutine.wrap(MOQC_fake_script)()
  319. local function MOQC_fake_script() -- HackFrame.RGB_Script
  320. local script5 = Instance.new('LocalScript', ced)
  321.  
  322. while wait() do
  323. script5.Parent.TextColor3 = Color3.new(255/255,0/255,0/255)
  324. for i = 0,255,10 do
  325. wait()
  326. script5.Parent.TextColor3 = Color3.new(255/255,i/255,0/255)
  327. end
  328. for i = 255,0,-10 do
  329. wait()
  330. script5.Parent.TextColor3 = Color3.new(i/255,255/255,0/255)
  331. end
  332. for i = 0,255,10 do
  333. wait()
  334. script5.Parent.TextColor3 = Color3.new(0/255,255/255,i/255)
  335. end
  336. for i = 255,0,-10 do
  337. wait()
  338. script5.Parent.TextColor3 = Color3.new(0/255,i/255,255/255)
  339. end
  340. for i = 0,255,10 do
  341. wait()
  342. script5.Parent.TextColor3 = Color3.new(i/255,0/255,255/255)
  343. end
  344. for i = 255,0,-10 do
  345. wait()
  346. script5.Parent.TextColor3 = Color3.new(255/255,0/255,i/255)
  347. end
  348. end
  349. end
  350. coroutine.wrap(MOQC_fake_script)()
Add Comment
Please, Sign In to add comment