Advertisement
Guest User

Untitled

a guest
Mar 31st, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.67 KB | None | 0 0
  1. local SCREENGUI = Instance.new("ScreenGui")
  2. local Gui = Instance.new("Frame")
  3. local KILLGUI = Instance.new("TextLabel")
  4. local NAME = Instance.new("TextBox")
  5. local KILL = Instance.new("TextButton")
  6. local X = Instance.new("TextButton")
  7. local OPENGUI = Instance.new("Frame")
  8. local OPEN = Instance.new("TextButton")
  9. local LoginFrame = Instance.new("Frame")
  10. local TextLabel = Instance.new("TextLabel")
  11. local Sumbit = Instance.new("TextButton")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local TextLabel_3 = Instance.new("TextLabel")
  14. local UserBox = Instance.new("TextBox")
  15. local PassBox = Instance.new("TextBox")
  16. --Properties:
  17. SCREENGUI.Name = "SCREENGUI"
  18. SCREENGUI.Parent = game.CoreGui
  19. SCREENGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. Gui.Active = true
  22. Gui.Draggable = true
  23.  
  24. Gui.Name = "Gui"
  25. Gui.Parent = SCREENGUI
  26. Gui.BackgroundColor3 = Color3.new(0, 0, 0)
  27. Gui.Position = UDim2.new(0.4539873, 0, 0.154051423, 0)
  28. Gui.Size = UDim2.new(0, 422, 0, 202)
  29. Gui.Visible = false
  30.  
  31. KILLGUI.Name = "KILL GUI"
  32. KILLGUI.Parent = Gui
  33. KILLGUI.BackgroundColor3 = Color3.new(0, 0, 1)
  34. KILLGUI.Position = UDim2.new(-0.00236966833, 0, 0, 0)
  35. KILLGUI.Size = UDim2.new(0, 422, 0, 50)
  36. KILLGUI.Font = Enum.Font.GothamBlack
  37. KILLGUI.Text = "KILL GUI"
  38. KILLGUI.TextColor3 = Color3.new(0, 0, 0)
  39. KILLGUI.TextScaled = true
  40. KILLGUI.TextSize = 14
  41. KILLGUI.TextWrapped = true
  42.  
  43. NAME.Name = "NAME"
  44. NAME.Parent = Gui
  45. NAME.BackgroundColor3 = Color3.new(0, 0, 0)
  46. NAME.Position = UDim2.new(0.116919637, 0, 0.358879238, 0)
  47. NAME.Size = UDim2.new(0, 323, 0, 56)
  48. NAME.Font = Enum.Font.SourceSans
  49. NAME.PlaceholderColor3 = Color3.new(0, 0, 1)
  50. NAME.Text = ""
  51. NAME.TextColor3 = Color3.new(1, 1, 1)
  52. NAME.TextScaled = true
  53. NAME.TextSize = 14
  54. NAME.TextWrapped = true
  55.  
  56. KILL.Name = "KILL"
  57. KILL.Parent = Gui
  58. KILL.BackgroundColor3 = Color3.new(0, 0, 0)
  59. KILL.Position = UDim2.new(0.142985985, 0, 0.735116899, 0)
  60. KILL.Size = UDim2.new(0, 287, 0, 45)
  61. KILL.Font = Enum.Font.GothamBlack
  62. KILL.Text = "KILL"
  63. KILL.TextColor3 = Color3.new(0, 0, 1)
  64. KILL.TextScaled = true
  65. KILL.TextSize = 14
  66. KILL.TextWrapped = true
  67. local Players = game:GetService("Players")
  68. local LocalPlayer = Players.LocalPlayer
  69. local function RemoveSpaces(String)
  70. return String:gsub("%s+", "") or String
  71. end
  72. local function FindPlayer(String)
  73. String = RemoveSpaces(String)
  74. for _, _Player in pairs(Players:GetPlayers()) do
  75. if _Player.Name:lower():match('^'.. String:lower()) then
  76. return _Player
  77. end
  78. end
  79. return nil
  80. end
  81. KILL.MouseButton1Click:Connect(function()
  82. local Target = FindPlayer(NAME.Text)
  83. if Target and Target.Character then
  84. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  85. local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  86.  
  87. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  88. Torso.Anchored = true
  89. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  90. local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  91. local hathandle = hat.Handle
  92. hathandle.Parent = tool
  93. hathandle.Massless = true
  94. tool.GripPos = Vector3.new(0, 9e99, 0)
  95. tool.Parent = LocalPlayer.Character
  96. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  97. tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  98. Torso.Anchored = false
  99. repeat LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame wait()
  100. 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)
  101. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  102. hathandle.Parent = hat
  103. hathandle.Massless = false
  104. tool:Destroy()
  105. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  106. else
  107. warn'no player found named like that or he has no char'
  108. end
  109. end)
  110.  
  111. X.Name = "X"
  112. X.Parent = Gui
  113. X.BackgroundColor3 = Color3.new(1, 0, 0)
  114. X.Position = UDim2.new(0.945497632, 0, 0, 0)
  115. X.Size = UDim2.new(0, 21, 0, 19)
  116. X.Font = Enum.Font.SourceSans
  117. X.Text = "X"
  118. X.TextColor3 = Color3.new(0, 0, 0)
  119. X.TextScaled = true
  120. X.TextSize = 14
  121. X.TextWrapped = true
  122. X.MouseButton1Click:connect(function()
  123. Gui.Visible = false
  124. OPENGUI.Visible = true
  125. end)
  126.  
  127. OPENGUI.Name = "OPENGUI"
  128. OPENGUI.Parent = SCREENGUI
  129. OPENGUI.BackgroundColor3 = Color3.new(0, 0, 1)
  130. OPENGUI.Position = UDim2.new(0.0151306745, 0, 0.828148186, 0)
  131. OPENGUI.Size = UDim2.new(0, 65, 0, 44)
  132. OPENGUI.Visible = false
  133.  
  134. OPEN.Name = "OPEN"
  135. OPEN.Parent = OPENGUI
  136. OPEN.BackgroundColor3 = Color3.new(0, 0, 0)
  137. OPEN.Position = UDim2.new(0.123076923, 0, 0.13636364, 0)
  138. OPEN.Size = UDim2.new(0, 50, 0, 32)
  139. OPEN.Font = Enum.Font.GothamBold
  140. OPEN.Text = "OPEN"
  141. OPEN.TextColor3 = Color3.new(0, 0, 1)
  142. OPEN.TextScaled = true
  143. OPEN.TextSize = 14
  144. OPEN.TextWrapped = true
  145. OPEN.MouseButton1Click:connect(function()
  146. Gui.Visible = true
  147. OPENGUI.Visible = false
  148. end)
  149.  
  150. LoginFrame.Name = "LoginFrame"
  151. LoginFrame.Parent = SCREENGUI
  152. LoginFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  153. LoginFrame.Position = UDim2.new(0, 0, 0.316278398, 0)
  154. LoginFrame.Size = UDim2.new(0, 132, 0, 226)
  155.  
  156. TextLabel.Parent = LoginFrame
  157. TextLabel.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  158. TextLabel.BorderSizePixel = 0
  159. TextLabel.Size = UDim2.new(0, 132, 0, 32)
  160. TextLabel.Font = Enum.Font.GothamBlack
  161. TextLabel.Text = "Kill GUI - Login"
  162. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  163. TextLabel.TextScaled = true
  164. TextLabel.TextSize = 14
  165. TextLabel.TextWrapped = true
  166.  
  167. Sumbit.Name = "Sumbit"
  168. Sumbit.Parent = LoginFrame
  169. Sumbit.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  170. Sumbit.BorderSizePixel = 0
  171. Sumbit.Position = UDim2.new(0.29838711, 0, 0.85840708, 0)
  172. Sumbit.Size = UDim2.new(0, 50, 0, 21)
  173. Sumbit.Font = Enum.Font.GothamBlack
  174. Sumbit.Text = "Login"
  175. Sumbit.TextColor3 = Color3.new(1, 1, 1)
  176. Sumbit.TextScaled = true
  177. Sumbit.TextSize = 14
  178. Sumbit.TextWrapped = true
  179. Sumbit.MouseButton1Click:connect(function()
  180. if UserBox.Text == "Lego" and PassBox.Text == "Bloxy89" then
  181. Gui.Visible = true
  182. LoginFrame.Visible = false
  183. end
  184. end)
  185.  
  186. TextLabel_2.Parent = LoginFrame
  187. TextLabel_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  188. TextLabel_2.BorderSizePixel = 0
  189. TextLabel_2.Position = UDim2.new(0, 0, 0.190265492, 0)
  190. TextLabel_2.Size = UDim2.new(0, 46, 0, 28)
  191. TextLabel_2.Font = Enum.Font.GothamBlack
  192. TextLabel_2.Text = "Username:"
  193. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  194. TextLabel_2.TextScaled = true
  195. TextLabel_2.TextSize = 14
  196. TextLabel_2.TextWrapped = true
  197.  
  198. TextLabel_3.Parent = LoginFrame
  199. TextLabel_3.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  200. TextLabel_3.BorderSizePixel = 0
  201. TextLabel_3.Position = UDim2.new(0, 0, 0.362831861, 0)
  202. TextLabel_3.Size = UDim2.new(0, 46, 0, 28)
  203. TextLabel_3.Font = Enum.Font.GothamBlack
  204. TextLabel_3.Text = "Password:"
  205. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  206. TextLabel_3.TextScaled = true
  207. TextLabel_3.TextSize = 14
  208. TextLabel_3.TextWrapped = true
  209.  
  210. UserBox.Name = "UserBox"
  211. UserBox.Parent = LoginFrame
  212. UserBox.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  213. UserBox.BorderColor3 = Color3.new(0, 0, 0)
  214. UserBox.Position = UDim2.new(0.439393938, 0, 0.21238938, 0)
  215. UserBox.Size = UDim2.new(0, 63, 0, 17)
  216. UserBox.Font = Enum.Font.SourceSans
  217. UserBox.Text = ""
  218. UserBox.TextColor3 = Color3.new(0, 0, 0)
  219. UserBox.TextSize = 14
  220.  
  221. PassBox.Name = "PassBox"
  222. PassBox.Parent = LoginFrame
  223. PassBox.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  224. PassBox.BorderColor3 = Color3.new(0, 0, 0)
  225. PassBox.Position = UDim2.new(0.439393938, 0, 0.389380515, 0)
  226. PassBox.Size = UDim2.new(0, 63, 0, 17)
  227. PassBox.Font = Enum.Font.SourceSans
  228. PassBox.Text = ""
  229. PassBox.TextColor3 = Color3.new(0, 0, 0)
  230. PassBox.TextSize = 14
  231. -- Scripts:
  232. function SCRIPT_OXIG71_FAKESCRIPT() -- KILLGUI.LocalScript
  233. local script = Instance.new('LocalScript')
  234. script.Parent = KILLGUI
  235. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  236.  
  237. counter = 0
  238.  
  239. while wait(0.1)do
  240. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  241.  
  242. counter = counter + 0.01
  243. end
  244.  
  245. end
  246. coroutine.resume(coroutine.create(SCRIPT_OXIG71_FAKESCRIPT))
  247. function SCRIPT_NKNC69_FAKESCRIPT() -- KILL.LocalScript
  248. local script = Instance.new('LocalScript')
  249. script.Parent = KILL
  250. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  251.  
  252. counter = 0
  253.  
  254. while wait(0.1)do
  255. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  256.  
  257. counter = counter + 0.01
  258. end
  259.  
  260. end
  261. coroutine.resume(coroutine.create(SCRIPT_NKNC69_FAKESCRIPT))
  262. function SCRIPT_LVYR88_FAKESCRIPT() -- Gui.LocalScript
  263. local script = Instance.new('LocalScript')
  264. script.Parent = Gui
  265. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  266.  
  267. counter = 0
  268.  
  269. while wait(0.1)do
  270. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  271.  
  272. counter = counter + 0.01
  273. end
  274.  
  275. end
  276. coroutine.resume(coroutine.create(SCRIPT_LVYR88_FAKESCRIPT))
  277. function SCRIPT_GKXX81_FAKESCRIPT() -- OPENGUI.LocalScript
  278. local script = Instance.new('LocalScript')
  279. script.Parent = OPENGUI
  280. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  281.  
  282. counter = 0
  283.  
  284. while wait(0.1)do
  285. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  286.  
  287. counter = counter + 0.01
  288. end
  289.  
  290. end
  291. coroutine.resume(coroutine.create(SCRIPT_GKXX81_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement