Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1.  
  2.  
  3.  
  4. me = game.Players.liyon13
  5. if script.Parent.className ~= "HopperBin" then
  6. h = Instance.new("HopperBin",me.Backpack)
  7. h.Name = "LAZOR"
  8. script.Parent = h
  9. end
  10. bin = script.Parent
  11. function prop(part, parent, collide, tran, ref, x, y, z, color)
  12. part.Parent = parent
  13. part.formFactor = 0
  14. part.CanCollide = collide
  15. part.Transparency = tran
  16. part.Reflectance = ref
  17. part.Size = Vector3.new(x,y,z)
  18. part.BrickColor = BrickColor.new(color)
  19. part.TopSurface = 0
  20. part.BottomSurface = 0
  21. part:BreakJoints()
  22. end
  23. function weld(w, p, p0, p1, a, b, c, x, y, z)
  24. w.Parent = p
  25. w.Part0 = p0
  26. w.Part1 = p1
  27. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  28. end
  29. function mesh(mesh, parent, x, y, z, type)
  30. mesh.Parent = parent
  31. mesh.Scale = Vector3.new(x, y, z)
  32. mesh.MeshType = type
  33. end
  34. using = false
  35. sound = Instance.new("Sound",me.Character.Head)
  36. sound.Volume = 0.6
  37. sound.Pitch = 1
  38. sound.SoundId = "rbxasset://sounds/uuhhh.wav"
  39. bin.Selected:connect(function(mouse)
  40. mouse.Button1Down:connect(function()
  41. if using then return end
  42. using = true
  43. local blagh = Instance.new("Model",me.Character)
  44. blagh.Name = "LAZOR"
  45. local paw = mouse.Hit.p
  46. local pa1 = Instance.new("Part")
  47. prop(pa1,blagh,false,0,0,1,1,1,"Really black")
  48. local m1 = Instance.new("SpecialMesh")
  49. mesh(m1, pa1, 1.07,1,0.3,"Brick")
  50. local w1 = Instance.new("Weld")
  51. weld(w1, me.Character.Head, me.Character.Head, pa1, 0.4, 0, 0, 0, -0.4, 0.9)
  52. local pa2 = pa1:clone()
  53. prop(pa2,blagh,false,0,0,1,1,1,"Really black")
  54. local w2 = Instance.new("Weld")
  55. weld(w2, me.Character.Head, me.Character.Head, pa2, -0.4, 0, 0, 0, 0.4, 0.9)
  56. local pa3 = Instance.new("Part")
  57. prop(pa3,blagh,false,0,0,1,1,1,"Really red")
  58. local m3 = Instance.new("SpecialMesh")
  59. mesh(m3,pa3,1.3,1.23,0.29,"Brick")
  60. local w3 = Instance.new("Weld")
  61. weld(w3, me.Character.Head, me.Character.Head, pa3, 0.4, 0, 0, 0, -0.4, 0.9)
  62. local pa4 = pa3:clone()
  63. prop(pa4,blagh,false,0,0,1,1,1,"Really red")
  64. local w4 = Instance.new("Weld")
  65. weld(w4, me.Character.Head, me.Character.Head, pa4, -0.4, 0, 0, 0, 0.4, 0.9)
  66. local eye1a = Instance.new("Part")
  67. prop(eye1a,blagh,false,0,0,1,1,1,"Institutional white")
  68. eye1a.Shape = "Ball"
  69. local emesh1 = Instance.new("SpecialMesh")
  70. mesh(emesh1,eye1a,0.75,0.75,0.75,"Sphere")
  71. local ew = Instance.new("Weld")
  72. weld(ew, me.Character.Head, me.Character.Head, eye1a, 0, 0, 0, 0.45, -1.3, 1.1)
  73. local eye1b = Instance.new("Part")
  74. prop(eye1b,blagh,false,0,0,1,1,1,"Really black")
  75. eye1b.Shape = "Ball"
  76. local emesh1b = Instance.new("SpecialMesh")
  77. mesh(emesh1b,eye1b,0.4,0.4,0.4,"Sphere")
  78. local ew2 = Instance.new("Weld")
  79. weld(ew2, eye1a, eye1a, eye1b, 0, 0, 0, 0.09, -0.04, 0.2)
  80. local eye2a = eye1a:clone()
  81. prop(eye2a,blagh,false,0,0,1,1,1,"Institutional white")
  82. local ew3 = Instance.new("Weld")
  83. weld(ew3, me.Character.Head, me.Character.Head, eye2a, 0, 0, 0, -0.45, -1.3, 1.1)
  84. local eye2b = eye1b:clone()
  85. prop(eye2b,blagh,false,0,0,1,1,1,"Really black")
  86. local ew5 = Instance.new("Weld")
  87. weld(ew5, eye2a, eye2a, eye2b, 0, 0, 0, -0.05, 0.07, 0.2)
  88. local bill = Instance.new("BillboardGui",pa1)
  89. bill.Adornee = bill.Parent
  90. bill.Size = UDim2.new(0,150,0,80)
  91. local txt = Instance.new("TextLabel",bill)
  92. txt.Size = UDim2.new(0,0,0,0)
  93. txt.Position = UDim2.new(0,100,0,-20)
  94. txt.Text = "IMA FIRIN' MAH LAZORR!!"
  95. txt.FontSize = "Size24"
  96. txt.TextColor3 = Color3.new(0,0,0)
  97. sound.Volume = 0.6
  98. for i=1, 5 do
  99. sound.Pitch = math.random(400,900)/1000
  100. sound:play()
  101. wait(0.1)
  102. end
  103. local bg = Instance.new("BodyGyro",me.Character.Torso)
  104. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  105. bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
  106. for i=1, 5 do
  107. sound.Pitch = math.random(400,900)/1000
  108. sound:play()
  109. wait(0.2)
  110. end
  111. txt.Text = "BLAARGHH!!!!!!"
  112. sound.Volume = 0.85
  113. for i=1, 60 do
  114. local dist = (me.Character.Head.Position - paw).magnitude
  115. if dist >= 600 then
  116. dist = 600
  117. end
  118. bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
  119. sound.Pitch = math.random(550,750)/1000
  120. sound:play()
  121. local bewm = Instance.new("Part")
  122. prop(bewm, blagh, false, 0.4, 0.25, 1, 1, dist, "Cyan")
  123. bewm.Anchored = true
  124. local mes = Instance.new("SpecialMesh")
  125. mesh(mes,bewm,1.2,1.2,1,"Brick")
  126. bewm.CFrame = CFrame.new(me.Character.Head.Position, paw) * CFrame.new(0,0,-bewm.Size.Z/2) * CFrame.new(0,0,-1)
  127. local luck = math.random(1,3)
  128. if luck == 1 then
  129. local cfr = Instance.new("Part",blagh)
  130. cfr.Size = Vector3.new(1,1,1)
  131. cfr.Transparency = 1
  132. cfr.Anchored = true
  133. cfr.CFrame = bewm.CFrame * CFrame.new(0,0,-bewm.Size.Z/2)
  134. local ex = Instance.new("Explosion")
  135. ex.Parent = blagh
  136. ex.Position = cfr.Position
  137. ex.BlastRadius = 9
  138. ex.BlastPressure = 400000
  139. ex.Hit:connect(function(part)
  140. if part:GetMass() < 240 then
  141. part.Anchored = false
  142. part:BreakJoints()
  143. end
  144. end)
  145. end
  146. wait()
  147. bewm:remove()
  148. end
  149. blagh:remove()
  150. bg:remove()
  151. using = false
  152. end)
  153. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement