Advertisement
gilward

Death Note

Feb 20th, 2018
1,276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.78 KB | None | 0 0
  1. --Made by Hirari_Tear, credits to expro for the GUI--
  2.  
  3. local Handle = Instance.new('Part')
  4.  
  5. local Mesh = Instance.new('SpecialMesh')
  6.  
  7. local Death = Instance.new('Tool')
  8.  
  9. Death.Name = "Death Note"
  10.  
  11. Handle.Name = "Handle"
  12.  
  13. Death.Parent = game.Players.LocalPlayer.Backpack
  14.  
  15. Death.GripForward = Vector3.new(0.331, -0.766, 0.551)
  16.  
  17. Death.GripPos = Vector3.new(-0.8, 0, -0.8)
  18.  
  19. Death.GripRight = Vector3.new(-0.943, -0.297, 0.152)
  20.  
  21. Death.GripUp = Vector3.new(-0.048, 0.57, 0.82)
  22.  
  23. Death.ToolTip = "Kill your fucking rival"
  24.  
  25. Handle.Parent = Death
  26.  
  27. Mesh.Parent = Handle
  28.  
  29. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  30.  
  31. Mesh.TextureId = "http://www.roblox.com/asset/?id=18276952"
  32.  
  33. Mesh.Scale = Vector3.new(0.55, 0.174, 0.6)
  34.  
  35. Handle.Rotation = Vector3.new(0,-90,0)
  36.  
  37. Death.Equipped:connect(function(mouse)
  38.  
  39. local Bounce = Enum.EasingStyle.Bounce
  40.  
  41. local Quad = Enum.EasingStyle.Quad
  42.  
  43. local Normal = Enum.EasingStyle.Linear
  44.  
  45.  
  46.  
  47. local ScreenGui = Instance.new("ScreenGui", game.Players["LocalPlayer"].PlayerGui)
  48.  
  49. ScreenGui.Name = "Death Note"
  50.  
  51.  
  52.  
  53. local open = Instance.new("ImageButton", ScreenGui)
  54.  
  55. open.Position = UDim2.new(1, -110, 1, 500)
  56.  
  57. open.Size = UDim2.new(0, 100,0, 150)
  58.  
  59. open.Image = "rbxassetid://18536731"
  60.  
  61. open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Bounce, 0.8, true)
  62.  
  63.  
  64.  
  65. local Note = Instance.new("Frame", ScreenGui)
  66.  
  67. Note.Active = true
  68.  
  69. Note.Position = UDim2.new(1, -321, 1, 500)
  70.  
  71. Note.Size = UDim2.new(0, 320,0, 250)
  72.  
  73. Note.Visible = false
  74.  
  75. Note.Draggable = true
  76.  
  77.  
  78.  
  79. open.MouseButton1Down:connect(function()
  80.  
  81. open:TweenPosition(UDim2.new(open.Position.X.Scale,open.Position.X.Offset, 1, 500), "Out", Normal, 0.8, true)
  82.  
  83. wait(0.30)
  84.  
  85. open.Visible = false
  86.  
  87. Note.Visible = true
  88.  
  89. Note.Position = UDim2.new(1, -321, 1, 500)
  90.  
  91. Note:TweenPosition(UDim2.new(1, -321, 1, -251), "In", Normal, 0.5, true)
  92.  
  93. end)
  94.  
  95.  
  96.  
  97. local bg = Instance.new("Frame", Note)
  98.  
  99. bg.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
  100.  
  101. bg.Size = UDim2.new(0, 160,0, 250)
  102.  
  103. bg.ZIndex = 2
  104.  
  105.  
  106.  
  107. -- Background
  108.  
  109.  
  110.  
  111. local close = Instance.new("TextButton", bg)
  112.  
  113. close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  114.  
  115. close.BackgroundTransparency = 1
  116.  
  117. close.Position = UDim2.new(0, 8,0, 10)
  118.  
  119. close.Size = UDim2.new(0, 10,0, 10)
  120.  
  121. close.ZIndex = 4
  122.  
  123. close.Font = "Cartoon"
  124.  
  125. close.Text = "X"
  126.  
  127. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  128.  
  129. close.TextSize = "17"
  130.  
  131.  
  132.  
  133. close.MouseButton1Down:connect(function()
  134.  
  135. Note:TweenPosition(UDim2.new(Note.Position.X.Scale,Note.Position.X.Offset,1, 500), "Out", Normal, 0.5, true)
  136.  
  137. wait(0.30)
  138.  
  139. Note.Visible = false
  140.  
  141. open.Visible = true
  142.  
  143. open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Normal, 0.8, true)
  144.  
  145. end)
  146.  
  147.  
  148.  
  149. local image1 = Instance.new("ImageLabel", bg)
  150.  
  151. image1.BackgroundTransparency = 1
  152.  
  153. image1.Size = UDim2.new(1, 0,1, 0)
  154.  
  155. image1.ZIndex = 3
  156.  
  157. image1.Image = "rbxassetid://18528551"
  158.  
  159.  
  160.  
  161. local title = Instance.new("TextLabel", bg)
  162.  
  163. title.BackgroundTransparency = 1
  164.  
  165. title.Position = UDim2.new(0, 0,0, 30)
  166.  
  167. title.Size = UDim2.new(1, 0,0, 30)
  168.  
  169. title.ZIndex = 4
  170.  
  171. title.Font = "Bodoni"
  172.  
  173. title.Text = "DEATH NOTE"
  174.  
  175. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  176.  
  177. title.TextSize = "18"
  178.  
  179.  
  180.  
  181. local body = Instance.new("TextLabel", bg)
  182.  
  183. body.BackgroundTransparency = 1
  184.  
  185. body.Position = UDim2.new(0, 15,0, 65)
  186.  
  187. body.Size = UDim2.new(0, 134,0, 40)
  188.  
  189. body.ZIndex = 4
  190.  
  191. body.Font = "Garamond"
  192.  
  193. body.Text = "Type in somebody's name to kill them."
  194.  
  195. body.TextColor3 = Color3.fromRGB(255, 255, 255)
  196.  
  197. body.TextSize = "19"
  198.  
  199. body.TextWrapped = true
  200.  
  201. body.TextXAlignment = "Left"
  202.  
  203. body.TextYAlignment = "Top"
  204.  
  205.  
  206.  
  207. local line = Instance.new("TextLabel", body)
  208.  
  209. line.BackgroundTransparency = 1
  210.  
  211. line.Position = UDim2.new(0, 0,0, 50)
  212.  
  213. line.Size = UDim2.new(0, 130,0, 40)
  214.  
  215. line.ZIndex = 4
  216.  
  217. line.Font = "Garamond"
  218.  
  219. line.Text = "________________"
  220.  
  221. line.TextColor3 = Color3.fromRGB(255, 255, 255)
  222.  
  223. line.TextSize = "19"
  224.  
  225. line.TextWrapped = true
  226.  
  227. line.TextXAlignment = "Left"
  228.  
  229. line.TextYAlignment = "Top"
  230.  
  231.  
  232.  
  233. local text = Instance.new("TextLabel", body)
  234.  
  235. text.BackgroundTransparency = 1
  236.  
  237. text.Position = UDim2.new(0, 0,0, 100)
  238.  
  239. text.Size = UDim2.new(0, 134,0, 40)
  240.  
  241. text.ZIndex = 4
  242.  
  243. text.Font = "Garamond"
  244.  
  245. text.Text = "This was made by RcDZ."
  246.  
  247. text.TextColor3 = Color3.fromRGB(255, 255, 255)
  248.  
  249. text.TextSize = "19"
  250.  
  251. text.TextWrapped = true
  252.  
  253. text.TextXAlignment = "Left"
  254.  
  255. text.TextYAlignment = "Top"
  256.  
  257.  
  258.  
  259. -- Page
  260.  
  261.  
  262.  
  263. local page = Instance.new("Frame", Note)
  264.  
  265. page.BackgroundColor3 = Color3.fromRGB(236, 236, 236)
  266.  
  267. page.Position = UDim2.new(0, 160,0, 0)
  268.  
  269. page.Size = UDim2.new(0, 160,0, 250)
  270.  
  271. page.ZIndex = 2
  272.  
  273.  
  274.  
  275. local list = Instance.new("TextBox", page)
  276.  
  277. list.BackgroundTransparency = 1
  278.  
  279. list.Position = UDim2.new(0, 25,0, 20)
  280.  
  281. list.Size = UDim2.new(0.8, 5,0, 230)
  282.  
  283. list.ZIndex = 4
  284.  
  285. list.Font = "Antique"
  286.  
  287. list.Text = ""
  288.  
  289. list.TextColor3 = Color3.fromRGB(0, 0, 0)
  290.  
  291. list.TextSize = "23"
  292.  
  293. list.TextWrapped = true
  294.  
  295. list.TextXAlignment = "Left"
  296.  
  297. list.TextYAlignment = "Top"
  298.  
  299.  
  300.  
  301. local image2 = Instance.new("ImageLabel", page)
  302.  
  303. image2.BackgroundTransparency = 1
  304.  
  305. image2.Size = UDim2.new(1, 0,1, 0)
  306.  
  307. image2.ZIndex = 3
  308.  
  309. image2.Image = "rbxassetid://170279713"
  310.  
  311. image2.Transparency = 0.2
  312.  
  313.  
  314.  
  315. while true do
  316.  
  317. repeat wait() until game.Workspace:FindFirstChild(list.Text)
  318.  
  319. if game.Workspace[list.Text]:FindFirstChild("Humanoid") then
  320.  
  321. game.Workspace[list.Text].Humanoid.PlatformStand = true
  322.  
  323. game.Workspace[list.Text].Humanoid.Health = 0
  324.  
  325. elseif game.Workspace[list.Text]:FindFirstChild("Zombie") then
  326.  
  327. game.Workspace[list.Text].Zombie.PlatformStand = true
  328.  
  329. game.Workspace[list.Text].Zombie.Health = 0
  330.  
  331. end
  332.  
  333. end
  334.  
  335. end)
  336.  
  337. Death.Unequipped:connect(function(mouse)
  338.  
  339. game.Players.LocalPlayer.PlayerGui["Death Note"]:remove()
  340.  
  341. end)
  342. --12333
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement