Advertisement
Dark_EccentricYT

Untitled

Jun 20th, 2018
966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.77 KB | None | 0 0
  1. -------------------------------------------Made by chc4-----------------------------------------------------
  2. Name="Dark_Eccentric"
  3. player=game.Players[Name]
  4. char=player.Character
  5. Color=BrickColor.new("Grey")
  6. Color2=BrickColor:Black()
  7. d=0
  8. Debounce=true
  9.  
  10. --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem
  11. function Add(object,delay)
  12. coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end))
  13. end
  14.  
  15. if script.Parent.className~="HopperBin" then
  16. Sword = Instance.new("HopperBin")
  17. Sword.Parent = game.Players[Name].Backpack
  18. Sword.Name="DarkSoul"
  19. script.Parent=Sword
  20. end
  21.  
  22. Sword=script.Parent
  23.  
  24. Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  25.  
  26. function hint(msg,de)
  27. local h=Instance.new("Hint")
  28. h.Text=tostring(msg)
  29. h.Parent=player
  30. Delay(tonumber(de),function() h:remove() end)
  31. end
  32.  
  33. function makeSword()
  34. local Sword=char
  35. wait(0.1)
  36. Handle=Instance.new("Part")
  37. Handle.Size=Vector3.new(1,1,1)
  38. Handle.Parent=Sword
  39. Handle.BrickColor=Color2
  40. Handle.Name="Handle"
  41. Mesh=Instance.new("SpecialMesh")
  42. Mesh.MeshType=0
  43. Mesh.Parent=Handle
  44. Mesh.Scale=Vector3.new(0.4,0.75,0.4)
  45. HenWeld=Instance.new("Weld")
  46. HenWeld.Parent=char["Right Arm"]
  47. HenWeld.Part1=HenWeld.Parent
  48. HenWeld.Part0=Handle
  49. HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(30),0)
  50. Hy=HenWeld.C0
  51. GripTop=Instance.new("Part")
  52. GripTop.BrickColor=BrickColor.new(27)
  53. GripTop.Size=Vector3.new(1,1,1)
  54. GripTop.Parent=Sword
  55. GripTop.Name="GripTop"
  56. Mesh=Instance.new("SpecialMesh")
  57. Mesh.MeshType=0
  58. Mesh.Parent=GripTop
  59. Mesh.Scale=Vector3.new(0.57,0.15,.57)
  60. Weld=Instance.new("Weld")
  61. Weld.Parent=Handle
  62. Weld.Part1=Weld.Parent
  63. Weld.Part0=GripTop
  64. Weld.C0=CFrame.new(0,-0.35,0)
  65. for i=1,5 do
  66. GripTop=Instance.new("Part")
  67. GripTop.BrickColor=BrickColor.new("Dark Stone Grey")
  68. GripTop.Size=Vector3.new(1,1,1)
  69. GripTop.Parent=Sword
  70. GripTop.Name="Grip"..i
  71. Mesh=Instance.new("SpecialMesh")
  72. Mesh.MeshType=0
  73. Mesh.Parent=GripTop
  74. Mesh.Scale=Vector3.new(0.41,0.15,.41)
  75. Weld=Instance.new("Weld")
  76. Weld.Parent=Handle
  77. Weld.Part1=Weld.Parent
  78. Weld.Part0=GripTop
  79. Weld.C0=CFrame.new(0,0.365-i/9,0)
  80. end
  81. Blade1=Instance.new("Part")
  82. Blade1.BrickColor=Color
  83. Blade1.Size=Vector3.new(1,4,1)
  84. Blade1.Parent=Sword
  85. Blade1.Name="Blade1"
  86. Blade1.Reflectance=0.11
  87. Mesh=Instance.new("SpecialMesh")
  88. Mesh.Parent=Blade1
  89. Mesh.MeshType=0
  90. Mesh.Scale=Vector3.new(0.3,0.9,0.3)
  91. Weld=Instance.new("Weld")
  92. Weld.Parent=Handle
  93. Weld.Part1=Weld.Parent
  94. Weld.Part0=Blade1
  95. Weld.C0=CFrame.new(0,-1.7,0)
  96. Pi=Blade1.Touched:connect(Hit)
  97. end
  98.  
  99.  
  100.  
  101. function Button(mouse)
  102. for i=0,0.6,0.05 do
  103. wait()
  104. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-90/5)/2),0.1/2,0.05/2)
  105. end
  106. wait()
  107. for i=0.95,0,-.05 do
  108. wait()
  109. w2.C0=w2.C0*CFrame.new(0,0.1/2,-.1/2)*CFrame.Angles(math.rad((90/5)/2),-.1/2,-0.05/2)
  110. end
  111. wait()
  112. for i=0,0.35,0.05 do
  113. wait()
  114. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-90/5)/2),0.1/2,0)
  115. end
  116. w.C0=We
  117. w2.C0=Wr
  118. end
  119.  
  120.  
  121. function Button2(mouse)
  122. for i=0,0.3,0.05 do
  123. wait()
  124. w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-90/5)/2),0.1/2,0.05/2)
  125. end
  126. wait()
  127. for i=1,20 do
  128. char.Torso.CFrame=char.Torso.CFrame+Vector3.new(0,2,0)
  129. char.Torso.Velocity=Vector3.new(0,0,0)
  130. wait()
  131. end
  132. wait()
  133. bp=Instance.new("BodyPosition")
  134. bp.maxForce=Vector3.new(9999999,999999999,99999999)
  135. bp.position=char.Torso.Position
  136. bp.Parent=char.Torso
  137. wait(0.5)
  138. for i=1.1,0,-.05 do
  139. wait()
  140. w2.C0=w2.C0*CFrame.new(0,0.1/2,0)*CFrame.Angles(math.rad((90/5)/2),-.1/2,-0.05/2)
  141. HenWeld.C0=HenWeld.C0*CFrame.Angles(math.rad(20),0,0)
  142. end
  143. bp:remove()
  144. con=char["Left Leg"].Touched:connect(function(hit)
  145. con:disconnect()
  146. local list={}
  147. function sar(v)
  148. for _,v in pairs(v:children()) do
  149. if v:IsA("Part") and v.Parent.Name~=Name and v.Parent.Parent.Name~=Name then
  150. table.insert(list,v)
  151. elseif v.Name~=Name then
  152. sar(v)
  153. end
  154. end
  155. end
  156. sar(workspace)
  157. local l=Instance.new("Part")
  158. l.BrickColor=BrickColor:Black()
  159. l.Size=Vector3.new(1,1,1)
  160. l.Parent=char
  161. l.Transparency=0.3
  162. l.Shape="Ball"
  163. l.TopSurface="Smooth"
  164. l.BottomSurface="Smooth"
  165. l.Anchored=true
  166. l.CFrame=char.Torso.CFrame
  167. local m=Instance.new("SpecialMesh")
  168. m.MeshType="Sphere"
  169. m.Parent=l
  170. local num=0
  171. for i=1,35,0.5 do
  172. wait()
  173. m.Scale=m.Scale+Vector3.new(0.75,0.75,0.75)
  174. if num~=4 then
  175. num=num+1
  176. else
  177. num=0
  178. for _,v in pairs(list) do
  179. if v.Parent~=nil and v.Name~="Base" and v.Parent.Name~=Name and (v.Position-l.Position).magnitude<m.Scale.y/2 and v.Name~="Eaten" then
  180. Delay(0,function()
  181. v.Name="Eaten"
  182. v.BrickColor=BrickColor:Black()
  183. for i=1,10 do
  184. wait()
  185. v.Transparency=i/10
  186. end
  187. pcall(function() v:remove() end)
  188. end)
  189. end
  190. end
  191. end
  192. end
  193. for i=1,30 do
  194. wait()
  195. l.Transparency=i/30
  196. end
  197. l:remove()
  198. end)
  199. w2.C0=Wr
  200. HenWeld.C0=Hy
  201. end
  202.  
  203. function Shock(mouse)
  204. local list={}
  205. function sar(v)
  206. for _,v in pairs(v:children()) do
  207. if v:IsA("Part") and v.Parent.Name~=Name and v.Parent.Parent.Name~=Name then
  208. table.insert(list,v)
  209. elseif v.Name~=Name then
  210. sar(v)
  211. end
  212. end
  213. end
  214. sar(workspace)
  215. function checkMag(part)
  216. local part=part
  217. for _,v in pairs(list) do
  218. if v.Parent~=nil and (v.Position-part.Position).magnitude<part.Mesh.Scale.y/2 then
  219. Hit(v)
  220. end
  221. end
  222. end
  223. for i=0.4,0,-.05/2 do
  224. HenWeld.C0=HenWeld.C0*CFrame.Angles(math.rad(i*32/2),0,0)
  225. wait()
  226. w2.C0=w2.C0*CFrame.Angles(math.rad(4/2),0,0)
  227. end
  228. wait(0.25)
  229. for i=1,15 do
  230. wait()
  231. local P=Instance.new("Part")
  232. P.Anchored=true
  233. P.CanCollide=false
  234. P.Size=Vector3.new(4,4,4)
  235. local M=Instance.new("SpecialMesh")
  236. M.Name="Mesh"
  237. M.MeshType="Sphere"
  238. M.Scale=Vector3.new(1.5,1.5,1.5)
  239. M.Parent=P
  240. P.CFrame=char.Torso.CFrame
  241. P.CFrame=P.CFrame*CFrame.new(0,(-P.CFrame.y)+char.Torso.CFrame.y-4,-i*5)*CFrame.Angles(0,0,math.random()-math.random())
  242. P.BrickColor=BrickColor:Black()
  243. P.Reflectance=0.3
  244. P.Parent=workspace
  245. coroutine.resume(coroutine.create(function() for i=1,13,0.5 do P.CFrame=P.CFrame+Vector3.new(0,0.1,0) wait() checkMag(P) end wait(0.7) pcall(function() P:remove() end) end))
  246. end
  247. for i=0.4,0,-.05/2 do
  248. HenWeld.C0=HenWeld.C0*CFrame.Angles(math.rad(-i*30/2),0,0)
  249. wait()
  250. w2.C0=w2.C0*CFrame.Angles(math.rad(-7/2),0,0)
  251. end
  252. w2.C0=Wr
  253. HenWeld.C0=Hy
  254. collectgarbage("collect")
  255. end
  256.  
  257.  
  258.  
  259. fire={Shock}
  260. name={"Shockwave Stab"}
  261. klick={"z"}
  262.  
  263. function Kay(ke)
  264. for _,v in pairs(klick) do
  265. if v==ke then
  266. return _
  267. end
  268. end
  269. return false
  270. end
  271.  
  272. f=Sword.Selected:connect(function(mouse)
  273. pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here.
  274. if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then
  275. d=1
  276. De=0
  277. f:disconnect()
  278. pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
  279. Debou=true
  280. Numb=Instance.new("NumberValue")
  281. Numb.Value=0
  282. Numb.Parent=Sword
  283. Numb.Changed:connect(function()
  284. if Debou then
  285. Debou=false
  286. wait(0.2)
  287. ghk:disconnect()
  288. if Numb.Value>1 then
  289. Numb.Value=0
  290. Button2()
  291. else Numb.Value=0
  292. Button()
  293. end
  294. ghk=mouse.Button1Down:connect(function()
  295. Delay(0,function()
  296. if Debounce then
  297. Debounce=false
  298. Numb.Value=Numb.Value+1
  299. wait()
  300. Debounce=true
  301. end
  302. end)
  303. end)
  304. Debou=true
  305. end
  306. end)
  307.  
  308. Arms[1].Parent=nil
  309. w = Instance.new("Weld")
  310. w.Name="Left Shouldr"
  311. w.Parent = char.Torso
  312. w.Part0 = char["Left Arm"]
  313. w.Part1 = w.Parent
  314.  
  315. Arms[2].Parent=nil
  316. w2 = Instance.new("Weld")
  317. w2.Name="Right Shouldr"
  318. w2.Parent = char.Torso
  319. w2.Part0 = char["Right Arm"]
  320. w2.Part1 = w2.Parent
  321. makeSword()
  322. ---Animation Start---
  323. for i=0,1,0.05 do
  324. w.C0 = CFrame.new(1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(75*-i),math.rad(i*45),math.rad(i*20))
  325. wait()
  326. w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(75*-i),math.rad(-i*45),math.rad(-i*20))
  327. end
  328. ----Animation End----
  329. We=w.C0
  330. Wr=w2.C0
  331. wait()
  332. ghk=mouse.Button1Down:connect(function()
  333. Delay(0,function()
  334. if Debounce then
  335. Debounce=false
  336. Numb.Value=Numb.Value+1
  337. wait()
  338. Debounce=true
  339. end
  340. end)
  341. end)
  342. mouse.KeyDown:connect(function(key)
  343. if Kay(tostring(key))~=false then
  344. hint(tostring(name[Kay(tostring(key))]).."!",2)
  345. wait()
  346. fire[Kay(tostring(key))](mouse)
  347. end
  348. end)
  349. end
  350. end)
  351.  
  352.  
  353. local cr=Instance.new("ObjectValue")
  354. cr.Value=player
  355. cr.Name="creator"
  356.  
  357. function Hit(h)
  358. if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil then
  359. pcall(function() cr:clone().Parent=h.Parent.Humanoid h.Parent.Shirt:remove() h.Parent.Pants:remove() end)
  360. for _,v in pairs(h.Parent:children()) do
  361. if v:IsA("Part") then
  362. wait()
  363. b=Instance.new("BodyVelocity")
  364. b.Parent=v
  365. v:BreakJoints()
  366. b.velocity=(v.Position-Vector3.new(math.random(-100,100),v.Position.y,math.random(-100,100))).unit*50
  367. end
  368. end
  369. wait()
  370. pcall(function() h.Parent.Humanoid.creator:remove() end)
  371. for i=1,17 do
  372. wait()
  373. for _,v in pairs(h.Parent:children()) do
  374. if v:IsA("Part") then
  375. v.BrickColor=BrickColor:Black()
  376. v:BreakJoints()
  377. v.Reflectance=0
  378. wait()
  379. v.Reflectance=0.7
  380. end
  381. end
  382. end
  383. end
  384. end
  385. --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement