Advertisement
rahuliscool

Deathnote

Dec 25th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.46 KB | None | 0 0
  1. --Made by Hirari_Tear, credits to expro for the GUI--
  2. plr = game.Players.LocalPlayer
  3. mse = plr:GetMouse()
  4. sound = Instance.new("Sound", game.Workspace)
  5. sound.SoundId = "https://www.roblox.com/asset/?id=615678808"
  6. sound.Volume = 10
  7. canworld = true
  8. mse.KeyDown:connect(function(key)
  9. key = key:lower()
  10. if key == "z" then
  11. if canworld == false then return end
  12. if canworld then
  13. canworld = false
  14. sound:Play()
  15. local function spawnpart()
  16. sphere = Instance.new("Part")
  17. --game.Debris:AddItem(sphere,3)
  18. local sm = Instance.new("SpecialMesh", sphere)
  19. sm.MeshType = "Sphere"
  20. sphere.Transparency = 0.5
  21. sphere.Anchored = true
  22. sphere.CanCollide = false
  23. sphere.Material = "Neon"
  24. sphere.BrickColor = BrickColor.new("Lapis")
  25. end
  26.  
  27. local function weld(lol)
  28. local weld = Instance.new("Weld", plr.Character.Torso)
  29. weld.Part0 = plr.Character.Torso
  30. weld.Part1 = lol
  31. weld.C0 = plr.Character.Torso.CFrame:inverse()
  32. weld.C1 = lol.CFrame:inverse()
  33. end
  34. wait(1.4)
  35. spawnpart()
  36. for i, v in pairs(game.Players:GetChildren()) do
  37. t = v.Character:FindFirstChild("Torso")
  38. if t then
  39. t.Anchored = true
  40. plr.Character:FindFirstChild("Torso").Anchored = false
  41. end
  42. RA = v.Character:FindFirstChild("Right Arm")
  43. if RA then
  44. RA.Anchored = true
  45. plr.Character:FindFirstChild("Right Arm").Anchored = false
  46. end
  47. LA = v.Character:FindFirstChild("Left Arm")
  48. if LA then
  49. LA.Anchored = true
  50. plr.Character:FindFirstChild("Left Arm").Anchored = false
  51. end
  52. RL = v.Character:FindFirstChild("Right Leg")
  53. if RL then
  54. RL.Anchored = true
  55. plr.Character:FindFirstChild("Right Leg").Anchored = false
  56. end
  57. LL = v.Character:FindFirstChild("Left Leg")
  58. if LL then
  59. LL.Anchored = true
  60. plr.Character:FindFirstChild("Left Leg").Anchored = false
  61. end
  62. end
  63. weld(sphere)
  64. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  65. cce.Saturation = -2
  66. --game.Debris:AddItem(cce, 5)
  67. sphere.Parent = game.Workspace
  68. for i = 1,10 do
  69. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  70. wait()
  71. end
  72. --wait(5)
  73.  
  74. end
  75. end
  76. end
  77. )
  78.  
  79. mse.KeyDown:connect(function(key)
  80. key = key:lower()
  81. if key == "x" then
  82. canworld = true
  83. for i, v in pairs(game.Players:GetChildren()) do
  84. t = v.Character:FindFirstChild("Torso")
  85. if t then
  86. t.Anchored = false
  87. end
  88. RA = v.Character:FindFirstChild("Right Arm")
  89. if RA then
  90. RA.Anchored = false
  91. end
  92. LA = v.Character:FindFirstChild("Left Arm")
  93. if LA then
  94. LA.Anchored = false
  95. end
  96. RL = v.Character:FindFirstChild("Right Leg")
  97. if RL then
  98. RL.Anchored = false
  99. end
  100. LL = v.Character:FindFirstChild("Left Leg")
  101. if LL then
  102. LL.Anchored = false
  103. end
  104. end
  105. cce.Saturation = 0
  106. sphere:Destroy()
  107. end
  108. end)
  109. local s = Instance.new("Sound",char)
  110. s.Name = "BGMusic"
  111. s.SoundId = "http://www.roblox.com/asset/?id=575495113"
  112. s.Pitch = 0.72
  113. s.Volume = 1
  114. s.Looped = true
  115. s.archivable = false
  116. s.Parent = game.Workspace
  117. wait(0.1)
  118. s:play()
  119.  
  120. p = game.Players.LocalPlayer
  121. char = p.Character
  122. torso = char.Torso
  123. neck = char.Torso.Neck
  124. hum = char.Humanoid
  125. hum.MaxHealth = 52500
  126. wait()
  127. hum.Health =hum.MaxHealth
  128. char.Head.face.Texture = "rbxassetid://416589371"
  129.  
  130. for i,v in pairs(char:children()) do
  131. if v:IsA("Hat") then
  132. v:Destroy()
  133. end
  134. end
  135.  
  136. ypcall(function()
  137. char.Shirt:Destroy()
  138. char.Pants:Destroy()
  139. shirt = Instance.new("Shirt", char)
  140. shirt.Name = "Shirt"
  141. pants = Instance.new("Pants", char)
  142. pants.Name = "Pants"
  143. char.Shirt.ShirtTemplate = "rbxassetid://337059031"
  144. char.Pants.PantsTemplate = "rbxassetid://337059100"
  145. end)
  146.  
  147. CV="Maroon"
  148.  
  149. local txt = Instance.new("BillboardGui", char)
  150. txt.Adornee = char .Head
  151. txt.Name = "_status"
  152. txt.Size = UDim2.new(2, 0, 1.2, 0)
  153. txt.StudsOffset = Vector3.new(-9, 8, 0)
  154. local text = Instance.new("TextLabel", txt)
  155. text.Size = UDim2.new(10, 0, 7, 0)
  156. text.FontSize = "Size24"
  157. text.TextScaled = true
  158. text.TextTransparency = 0
  159. text.BackgroundTransparency = 1
  160. text.TextTransparency = 0
  161. text.TextStrokeTransparency = 0
  162. text.Font = "Bodoni"
  163. text.TextStrokeColor3 = Color3.new(0,0,0)
  164.  
  165. v=Instance.new("Part")
  166. v.Name = "ColorBrick"
  167. v.Parent=p.Character
  168. v.FormFactor="Symmetric"
  169. v.Anchored=true
  170. v.CanCollide=false
  171. v.BottomSurface="Smooth"
  172. v.TopSurface="Smooth"
  173. v.Size=Vector3.new(10,5,3)
  174. v.Transparency=1
  175. v.CFrame=char.Torso.CFrame
  176. v.BrickColor=BrickColor.new(CV)
  177. v.Transparency=1
  178. text.TextColor3 = Color3.new(255,0,0)
  179. v.Shape="Block"
  180. text.Text = "Kira"
  181.  
  182. Player = game:GetService("Players").LocalPlayer
  183. Character = Player.Character
  184. PlayerGui = Player.PlayerGui
  185. Backpack = Player.Backpack
  186. Torso = Character.Torso
  187. Head = Character.Head
  188. Humanoid = Character.Humanoid
  189. Face = Head.face
  190.  
  191. local Handle = Instance.new('Part')
  192.  
  193. local Mesh = Instance.new('SpecialMesh')
  194.  
  195. local Death = Instance.new('Tool')
  196.  
  197. Death.Name = "Death Note"
  198.  
  199. Handle.Name = "Handle"
  200.  
  201. Death.Parent = game.Players.LocalPlayer.Backpack
  202.  
  203. Death.GripForward = Vector3.new(0.331, -0.766, 0.551)
  204.  
  205. Death.GripPos = Vector3.new(-0.8, 0, -0.8)
  206.  
  207. Death.GripRight = Vector3.new(-0.943, -0.297, 0.152)
  208.  
  209. Death.GripUp = Vector3.new(-0.048, 0.57, 0.82)
  210.  
  211. Death.ToolTip = "Kill your fucking rival"
  212.  
  213. Handle.Parent = Death
  214.  
  215. Mesh.Parent = Handle
  216.  
  217. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  218.  
  219. Mesh.TextureId = "http://www.roblox.com/asset/?id=18276952"
  220.  
  221. Mesh.Scale = Vector3.new(0.55, 0.174, 0.6)
  222.  
  223. Handle.Rotation = Vector3.new(0,-90,0)
  224.  
  225. Death.Equipped:connect(function(mouse)
  226.  
  227. local Bounce = Enum.EasingStyle.Bounce
  228.  
  229. local Quad = Enum.EasingStyle.Quad
  230.  
  231. local Normal = Enum.EasingStyle.Linear
  232.  
  233.  
  234.  
  235. local ScreenGui = Instance.new("ScreenGui", game.Players["LocalPlayer"].PlayerGui)
  236.  
  237. ScreenGui.Name = "Death Note"
  238.  
  239.  
  240.  
  241. local open = Instance.new("ImageButton", ScreenGui)
  242.  
  243. open.Position = UDim2.new(1, -110, 1, 500)
  244.  
  245. open.Size = UDim2.new(0, 100,0, 150)
  246.  
  247. open.Image = "rbxassetid://18536731"
  248.  
  249. open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Bounce, 0.8, true)
  250.  
  251.  
  252.  
  253. local Note = Instance.new("Frame", ScreenGui)
  254.  
  255. Note.Active = true
  256.  
  257. Note.Position = UDim2.new(1, -321, 1, 500)
  258.  
  259. Note.Size = UDim2.new(0, 320,0, 250)
  260.  
  261. Note.Visible = false
  262.  
  263. Note.Draggable = true
  264.  
  265.  
  266.  
  267. open.MouseButton1Down:connect(function()
  268.  
  269. open:TweenPosition(UDim2.new(open.Position.X.Scale,open.Position.X.Offset, 1, 500), "Out", Normal, 0.8, true)
  270.  
  271. wait(0.30)
  272.  
  273. open.Visible = false
  274.  
  275. Note.Visible = true
  276.  
  277. Note.Position = UDim2.new(1, -321, 1, 500)
  278.  
  279. Note:TweenPosition(UDim2.new(1, -321, 1, -251), "In", Normal, 0.5, true)
  280.  
  281. end)
  282.  
  283.  
  284.  
  285. local bg = Instance.new("Frame", Note)
  286.  
  287. bg.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
  288.  
  289. bg.Size = UDim2.new(0, 160,0, 250)
  290.  
  291. bg.ZIndex = 2
  292.  
  293.  
  294.  
  295. -- Background
  296.  
  297.  
  298.  
  299. local close = Instance.new("TextButton", bg)
  300.  
  301. close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  302.  
  303. close.BackgroundTransparency = 1
  304.  
  305. close.Position = UDim2.new(0, 8,0, 10)
  306.  
  307. close.Size = UDim2.new(0, 10,0, 10)
  308.  
  309. close.ZIndex = 4
  310.  
  311. close.Font = "Cartoon"
  312.  
  313. close.Text = "X"
  314.  
  315. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  316.  
  317. close.TextSize = "17"
  318.  
  319.  
  320.  
  321. close.MouseButton1Down:connect(function()
  322.  
  323. Note:TweenPosition(UDim2.new(Note.Position.X.Scale,Note.Position.X.Offset,1, 500), "Out", Normal, 0.5, true)
  324.  
  325. wait(0.30)
  326.  
  327. Note.Visible = false
  328.  
  329. open.Visible = true
  330.  
  331. open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Normal, 0.8, true)
  332.  
  333. end)
  334.  
  335.  
  336.  
  337. local image1 = Instance.new("ImageLabel", bg)
  338.  
  339. image1.BackgroundTransparency = 1
  340.  
  341. image1.Size = UDim2.new(1, 0,1, 0)
  342.  
  343. image1.ZIndex = 3
  344.  
  345. image1.Image = "rbxassetid://18528551"
  346.  
  347.  
  348.  
  349. local title = Instance.new("TextLabel", bg)
  350.  
  351. title.BackgroundTransparency = 1
  352.  
  353. title.Position = UDim2.new(0, 0,0, 30)
  354.  
  355. title.Size = UDim2.new(1, 0,0, 30)
  356.  
  357. title.ZIndex = 4
  358.  
  359. title.Font = "Bodoni"
  360.  
  361. title.Text = "DEATH NOTE"
  362.  
  363. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  364.  
  365. title.TextSize = "18"
  366.  
  367.  
  368.  
  369. local body = Instance.new("TextLabel", bg)
  370.  
  371. body.BackgroundTransparency = 1
  372.  
  373. body.Position = UDim2.new(0, 15,0, 65)
  374.  
  375. body.Size = UDim2.new(0, 134,0, 40)
  376.  
  377. body.ZIndex = 4
  378.  
  379. body.Font = "Garamond"
  380.  
  381. body.Text = "Type in somebody's name to kill them."
  382.  
  383. body.TextColor3 = Color3.fromRGB(255, 255, 255)
  384.  
  385. body.TextSize = "19"
  386.  
  387. body.TextWrapped = true
  388.  
  389. body.TextXAlignment = "Left"
  390.  
  391. body.TextYAlignment = "Top"
  392.  
  393.  
  394.  
  395. local line = Instance.new("TextLabel", body)
  396.  
  397. line.BackgroundTransparency = 1
  398.  
  399. line.Position = UDim2.new(0, 0,0, 50)
  400.  
  401. line.Size = UDim2.new(0, 130,0, 40)
  402.  
  403. line.ZIndex = 4
  404.  
  405. line.Font = "Garamond"
  406.  
  407. line.Text = "________________"
  408.  
  409. line.TextColor3 = Color3.fromRGB(255, 255, 255)
  410.  
  411. line.TextSize = "19"
  412.  
  413. line.TextWrapped = true
  414.  
  415. line.TextXAlignment = "Left"
  416.  
  417. line.TextYAlignment = "Top"
  418.  
  419.  
  420.  
  421. local text = Instance.new("TextLabel", body)
  422.  
  423. text.BackgroundTransparency = 1
  424.  
  425. text.Position = UDim2.new(0, 0,0, 100)
  426.  
  427. text.Size = UDim2.new(0, 134,0, 40)
  428.  
  429. text.ZIndex = 4
  430.  
  431. text.Font = "Garamond"
  432.  
  433. text.Text = "This was made by RcDZ."
  434.  
  435. text.TextColor3 = Color3.fromRGB(255, 255, 255)
  436.  
  437. text.TextSize = "19"
  438.  
  439. text.TextWrapped = true
  440.  
  441. text.TextXAlignment = "Left"
  442.  
  443. text.TextYAlignment = "Top"
  444.  
  445.  
  446.  
  447. -- Page
  448.  
  449.  
  450.  
  451. local page = Instance.new("Frame", Note)
  452.  
  453. page.BackgroundColor3 = Color3.fromRGB(236, 236, 236)
  454.  
  455. page.Position = UDim2.new(0, 160,0, 0)
  456.  
  457. page.Size = UDim2.new(0, 160,0, 250)
  458.  
  459. page.ZIndex = 2
  460.  
  461.  
  462.  
  463. local list = Instance.new("TextBox", page)
  464.  
  465. list.BackgroundTransparency = 1
  466.  
  467. list.Position = UDim2.new(0, 25,0, 20)
  468.  
  469. list.Size = UDim2.new(0.8, 5,0, 230)
  470.  
  471. list.ZIndex = 4
  472.  
  473. list.Font = "Antique"
  474.  
  475. list.Text = ""
  476.  
  477. list.TextColor3 = Color3.fromRGB(0, 0, 0)
  478.  
  479. list.TextSize = "23"
  480.  
  481. list.TextWrapped = true
  482.  
  483. list.TextXAlignment = "Left"
  484.  
  485. list.TextYAlignment = "Top"
  486.  
  487.  
  488.  
  489. local image2 = Instance.new("ImageLabel", page)
  490.  
  491. image2.BackgroundTransparency = 1
  492.  
  493. image2.Size = UDim2.new(1, 0,1, 0)
  494.  
  495. image2.ZIndex = 3
  496.  
  497. image2.Image = "rbxassetid://170279713"
  498.  
  499. image2.Transparency = 0.2
  500.  
  501.  
  502.  
  503. while true do
  504.  
  505. repeat wait() until game.Workspace:FindFirstChild(list.Text)
  506.  
  507. if game.Workspace[list.Text]:FindFirstChild("Humanoid") then
  508.  
  509. game.Workspace[list.Text].Humanoid.PlatformStand = true
  510.  
  511. game.Workspace[list.Text].Humanoid.Health = 0
  512.  
  513. elseif game.Workspace[list.Text]:FindFirstChild("Zombie") then
  514.  
  515. game.Workspace[list.Text].Zombie.PlatformStand = true
  516.  
  517. game.Workspace[list.Text].Zombie.Health = 0
  518.  
  519. end
  520.  
  521. end
  522.  
  523. end)
  524.  
  525. Death.Unequipped:connect(function(mouse)
  526.  
  527. game.Players.LocalPlayer.PlayerGui["Death Note"]:remove()
  528.  
  529. end)
  530. --12333
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement