proff001

FUCK MY LIFE

Apr 19th, 2017
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Name=game.Players.LocalPlayer.Name
  2. local player=game.Players[Name]
  3. local char=player.Character
  4. local Tag=Instance.new("ObjectValue")
  5. Tag.Name="creator"
  6. Tag.Value=player
  7. Welds={}
  8. if script.Parent.className~="HopperBin" then
  9. local h=Instance.new("HopperBin")
  10. h.Name="Shadowblade"
  11. h.Parent=player.Backpack
  12. script.Parent=h
  13. end
  14. pcall(function() char.Sword:remove() char.Sheath:remove() end)
  15. local m=Instance.new("Model")
  16. m.Name="Sword"
  17. m.Parent=char
  18. local s = Instance.new("Model",char);
  19. s.Name="Sheath";
  20. local p=Instance.new("Part")
  21. p.Size=Vector3.new(1,3,1)
  22. p.BrickColor=BrickColor:Black()
  23. p.Reflectance=0.4
  24. p.CanCollide=false
  25. p.Parent=m
  26. local mes=Instance.new("BlockMesh")
  27. mes.Parent=p
  28. mes.Scale=Vector3.new(0.4,1.2,0.2)
  29. local w=Instance.new("Weld")
  30. w.Parent=p
  31. w.Part1=p
  32. w.Part0=char.Torso
  33. w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
  34. w.C1=CFrame.new(0,0.25,0)
  35. local HoldWeld=w
  36. local Blade=p
  37. Welds["MAIN"]=HoldWeld
  38. local p=Instance.new("Part")
  39. p.Size=Vector3.new(1,1,1)
  40. p.Reflectance=0.2
  41. p.BrickColor=BrickColor.new("Grey")
  42. p.Parent=m
  43. local mes=Instance.new("CylinderMesh")
  44. mes.Parent=p
  45. mes.Scale=Vector3.new(.2,1.25,.2)
  46. local w=Instance.new("Weld")
  47. w.Parent=p
  48. w.Part1=p
  49. w.Part0=Blade
  50. w.C0=CFrame.new(0,-2,0)
  51. for i=1,10 do
  52. local p=Instance.new("Part")
  53. p.Size=Vector3.new(1,1,1)
  54. p.BrickColor=BrickColor:Black()
  55. p.Parent=m
  56. local mes=Instance.new("CylinderMesh")
  57. mes.Parent=p
  58. mes.Scale=Vector3.new(.21,.05,.21)
  59. local w=Instance.new("Weld")
  60. w.Parent=p
  61. w.Part1=p
  62. w.Part0=Blade
  63. w.C0=CFrame.new(0,-2.7+.9*(i/9),0)
  64. end
  65. local p=Instance.new("Part")
  66. p.Size=Vector3.new(1,1,1)
  67. p.BrickColor=BrickColor.new("White")
  68. p.Parent=m
  69. p.Reflectance=0.4
  70. local mes=Instance.new("BlockMesh")
  71. mes.Parent=p
  72. mes.Scale=Vector3.new(0.6,.2,.305)
  73. local w=Instance.new("Weld")
  74. w.Parent=p
  75. w.Part1=p
  76. w.Part0=Blade
  77. w.C0=CFrame.new(0,-1.45,0)
  78. local p=Instance.new("Part")
  79. p.Size=Vector3.new(1,1,1)
  80. p.BrickColor=BrickColor:White()
  81. p.Parent=m
  82. p.Reflectance=0.4
  83. local mes=Instance.new("BlockMesh")
  84. mes.Parent=p
  85. mes.Scale=Vector3.new(.28,.24,.32)
  86. local w=Instance.new("Weld")
  87. w.Parent=p
  88. w.Part1=p
  89. w.Part0=Blade
  90. w.C0=CFrame.new(0,-1.45,0)*CFrame.Angles(0,0,math.rad(-45))
  91. local p=Instance.new("Part")
  92. p.Size=Vector3.new(1,1,1)
  93. p.BrickColor=BrickColor:Red()
  94. p.Parent=m
  95. p.Reflectance=0.4
  96. local mes=Instance.new("BlockMesh")
  97. mes.Parent=p
  98. mes.Scale=Vector3.new(.14,.12,.325)
  99. local w=Instance.new("Weld")
  100. w.Parent=p
  101. w.Part1=p
  102. w.Part0=Blade
  103. w.C0=CFrame.new(0,-1.45,0)*CFrame.Angles(0,0,math.rad(-45))
  104. local p=Instance.new("Part")
  105. p.Size=Vector3.new(1,1,1)
  106. p.BrickColor=BrickColor.new("White")
  107. p.Parent=m
  108. p.Reflectance=0.4
  109. local mes=Instance.new("BlockMesh")
  110. mes.Parent=p
  111. mes.Scale=Vector3.new(0.4,.2,.3)
  112. local w=Instance.new("Weld")
  113. w.Parent=p
  114. w.Part1=p
  115. w.Part0=Blade
  116. w.C0=CFrame.new(0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(30))
  117. local p=Instance.new("Part")
  118. p.Size=Vector3.new(1,1,1)
  119. p.BrickColor=BrickColor.new("White")
  120. p.Parent=m
  121. p.Reflectance=0.4
  122. local mes=Instance.new("BlockMesh")
  123. mes.Parent=p
  124. mes.Scale=Vector3.new(0.4,.2,.3)
  125. local w=Instance.new("Weld")
  126. w.Parent=p
  127. w.Part1=p
  128. w.Part0=Blade
  129. w.C0=CFrame.new(-0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(-30))
  130. local p=Instance.new("Part")
  131. p.Size=Vector3.new(1,1,1)
  132. p.BrickColor=BrickColor:Black()
  133. p.Parent=m
  134. p.Reflectance=0.4
  135. local mes=Instance.new("BlockMesh")
  136. mes.Parent=p
  137. mes.Scale=Vector3.new(.49,.42,.205)
  138. local w=Instance.new("Weld")
  139. w.Parent=p
  140. w.Part1=p
  141. w.Part0=Blade
  142. w.C0=CFrame.new(0,1.55,0)*CFrame.Angles(0,0,math.rad(-45))
  143. Tip=p
  144. local p=Instance.new("Part")
  145. p.Size=Vector3.new(1,1,1)
  146. p.BrickColor=BrickColor.new("White")
  147. p.Parent=m
  148. p.Reflectance=0.2
  149. local mes=Instance.new("BlockMesh")
  150. mes.Parent=p
  151. mes.Scale=Vector3.new(0.05,2.4,.1)
  152. local w=Instance.new("Weld")
  153. w.Parent=p
  154. w.Part1=p
  155. w.Part0=Blade
  156. w.C0=CFrame.new(0.3,0.1,0)
  157. local p=Instance.new("Part")
  158. p.Size=Vector3.new(1,1,1)
  159. p.BrickColor=BrickColor.new("White")
  160. p.Parent=m
  161. p.Reflectance=0.2
  162. local mes=Instance.new("BlockMesh")
  163. mes.Parent=p
  164. mes.Scale=Vector3.new(0.05,2.4,.1)
  165. local w=Instance.new("Weld")
  166. w.Parent=p
  167. w.Part1=p
  168. w.Part0=Blade
  169. w.C0=CFrame.new(-0.3,0.1,0)
  170. local p=Instance.new("Part")
  171. p.Size=Vector3.new(1,3,1)
  172. p.BrickColor=BrickColor:Black()
  173. p.Parent=m
  174. local mes=Instance.new("BlockMesh")
  175. mes.Parent=p
  176. mes.Scale=Vector3.new(0.02,1.2,0.21)
  177. local w=Instance.new("Weld")
  178. w.Parent=p
  179. w.Part1=p
  180. w.Part0=Blade
  181. w.C0=CFrame.new(0,.1,0)
  182. -----------------------------------------------------------------
  183. local p=Instance.new("Part")
  184. p.Size=Vector3.new(1,3,1)
  185. p.Color=Color3.new(0.1,0.1,0.1)
  186. p.Reflectance=0.05;
  187. p.Parent=s
  188. local mes=Instance.new("BlockMesh")
  189. mes.Parent=p
  190. mes.Scale=Vector3.new(.7,1.3,.3)
  191. local w=Instance.new("Weld")
  192. w.Parent=p
  193. w.Part1=p
  194. w.Part0=char.Torso
  195. w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
  196. w.C1=CFrame.new(0,-0.15,0)
  197. Sheath=p;
  198. local p=Instance.new("Part")
  199. p.Size=Vector3.new(1,1,1)
  200. p.BrickColor=BrickColor:Red()
  201. p.Parent=s
  202. p.Reflectance=0.4
  203. local mes=Instance.new("BlockMesh")
  204. mes.Parent=p
  205. mes.Scale=Vector3.new(.14*2,.12*2,.325*1.2)
  206. local w=Instance.new("Weld")
  207. w.Parent=p
  208. w.Part1=p
  209. w.Part0=Sheath
  210. w.C0=CFrame.new(0,-.5,0)*CFrame.Angles(0,0,math.rad(-45))
  211. for i=-1,1,2 do
  212. local p=Instance.new("Part")
  213. p.Size=Vector3.new(1,3,1)
  214. p.BrickColor=BrickColor:White()
  215. p.Parent=s
  216. p.Reflectance=0.4
  217. local mes=Instance.new("BlockMesh")
  218. mes.Parent=p
  219. mes.Scale=Vector3.new(0.05,1.2,.325*1.2)
  220. local w=Instance.new("Weld")
  221. w.Parent=p
  222. w.Part1=p
  223. w.Part0=Sheath
  224. w.C0=CFrame.new(0.3*i,.11,0)
  225. end
  226. local p=Instance.new("Part")
  227. p.Size=Vector3.new(1,3,1)
  228. p.BrickColor=BrickColor:Red()
  229. p.Parent=s
  230. p.Reflectance=0.4
  231. local mes=Instance.new("BlockMesh")
  232. mes.Parent=p
  233. mes.Scale=Vector3.new(.71,.11,.325*1.2)
  234. local w=Instance.new("Weld")
  235. w.Parent=p
  236. w.Part1=p
  237. w.Part0=Sheath
  238. w.C0=CFrame.new(0,-1.45,0)
  239. local p=Instance.new("Part")
  240. p.Size=Vector3.new(1,3,1)
  241. p.Color=Color3.new(0.1,0.1,0.1)
  242. p.Parent=s
  243. local mes=Instance.new("BlockMesh")
  244. mes.Parent=p
  245. mes.Scale=Vector3.new(.6,1.3,.25)
  246. local w=Instance.new("Weld")
  247. w.Parent=p
  248. w.Part1=p
  249. w.Part0=Sheath
  250. w.C0=CFrame.new(0,-0.04,0)
  251. -----------------------------------------------------------------
  252. b=Instance.new("IntValue")
  253. b.Value=0
  254. b.Parent=char.Sword
  255. function Click()
  256. if b.Value~=0 then
  257. pcall(function() DCLICK:disconnect() end)
  258. wait(0.25)
  259. Button()
  260. wait()
  261. DCLICK=b.Changed:connect(Click)
  262. end
  263. end
  264. DCLICK=b.Changed:connect(Click)
  265. Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  266. function Button(mouse)
  267. if b.Value==1 then
  268. local rw=Welds["rw"]
  269. for i=0,0.7,0.1 do
  270. wait()
  271. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(-6),0)
  272. rw.C0 = CFrame.new(0, 0.5, 0)
  273. end
  274. wait()
  275. for i=0,0.4,0.1 do
  276. wait()
  277. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
  278. rw.C0 = rw.C0*CFrame.new(0, 0.1, 0)
  279. end
  280. wait()
  281. for i=0,0.4,0.1 do
  282. wait()
  283. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
  284. rw.C0 = rw.C0*CFrame.new(0, -0.1, 0)
  285. end
  286. for i=0,0.9,0.1 do
  287. wait()
  288. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-4.5), math.rad(6),0)
  289. rw.C0 = CFrame.new(0, 0.5, 0)
  290. end
  291. rw.C0=OrgR0
  292. rw.C1=OrgR1
  293. b.Value=0
  294. else
  295. local rw=Welds["rw"]
  296. for i=0,0.3,0.1 do
  297. wait()
  298. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  299. rw.C0 = CFrame.new(0, 0.5, 0)
  300. end
  301. wait()
  302. for i=0,1,0.5 do
  303. wait()
  304. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
  305. rw.C0 = CFrame.new(0, 0.5, 0)
  306. end
  307. for i=0,1,0.1 do
  308. wait()
  309. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10), 0,0)
  310. rw.C0 = CFrame.new(0, 0.5, 0)
  311. end
  312. for i=0,0.3,0.1 do
  313. wait()
  314. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10), 0,0)
  315. rw.C0 = CFrame.new(0, 0.5, 0)
  316. end
  317. wait()
  318. for i=0,0.3,0.1 do
  319. wait()
  320. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  321. rw.C0 = CFrame.new(0, 0.5, 0)
  322. end
  323. rw.C0=OrgR0
  324. rw.C1=OrgR1
  325. b.Value=0
  326. end
  327. end
  328. function Key(key,mouse)
  329. if key:lower()=="q" and Attack==false then
  330. Attack=true
  331. local rw=Welds["rw"]
  332. for i=0,1.2,0.1 do
  333. wait()
  334. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(6),math.rad(2))
  335. rw.C0 = CFrame.new(0, 0.5, 0)
  336. end
  337. wait()
  338. for i=0,0.7,0.1 do
  339. wait()
  340. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
  341. rw.C0 = rw.C0*CFrame.new(0, 0, 0)
  342. end
  343. wait()
  344. local bav = Instance.new("BodyAngularVelocity")
  345. bav.maxTorque = Vector3.new(1e+0509, 1e+0059, 1e+509)
  346. bav.angularvelocity = Vector3.new(0,-20,0)
  347. bav.Parent = Blade
  348. wait(1.5)
  349. bav:remove()
  350. for i=0,0.7,0.1 do
  351. wait()
  352. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
  353. rw.C0 = rw.C0*CFrame.new(0, 0, 0)
  354. end
  355. wait()
  356. for i=0,1.2,0.1 do
  357. wait()
  358. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
  359. rw.C0 = CFrame.new(0, 0.5, 0)
  360. end
  361. rw.C0=OrgR0
  362. rw.C1=OrgR1
  363. Attack=false
  364. elseif key:lower()=="e" and Attack==false then
  365. Attack=true
  366. local rw=Welds["rw"]
  367. for i=0,0.3,0.1 do
  368. wait(0.06)
  369. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  370. rw.C0 = CFrame.new(0, 0.5, 0)
  371. end
  372. wait()
  373. for i=0,2,0.5 do
  374. wait(0.06)
  375. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
  376. rw.C0 = CFrame.new(0, 0.5, 0)
  377. end
  378. wait()
  379. local b=Instance.new("BodyPosition")
  380. b.position=char.Torso.Position+Vector3.new(0,30,0)
  381. b.maxForce=Vector3.new(200,999999999,200)
  382. b.Parent=char.Torso
  383. wait(0.75)
  384. for i=0,2,0.5 do
  385. wait(0.05)
  386. local p=Blade:Clone()
  387. p.Transparency=0.5
  388. p.Reflectance=0
  389. p.BrickColor=BrickColor:Black()
  390. p.Anchored=true
  391. p.CanCollide=false
  392. p.Parent=char
  393. Delay(0.75,function() p:remove() end)
  394. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0)
  395. rw.C0 = CFrame.new(0, 0.5, 0)
  396. end
  397. b:remove()
  398. function Check(d)
  399. for _,v in pairs(game.Players:getPlayers()) do
  400. if v.Name~=Name and v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Star.Position).magnitude<d then
  401. v.Character.Humanoid:TakeDamage(2)
  402. v.Character.Humanoid.PlatformStand=true
  403. v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
  404. end
  405. end
  406. end
  407. wait(0.5)
  408. Tor=Instance.new("Part")
  409. Tor.Size=Vector3.new(1,1,1)
  410. Tor.BrickColor=BrickColor:Black()
  411. Tor.Reflectance=0
  412. Tor.Anchored=true
  413. Tor.Transparency=1
  414. Tor.CanCollide=false
  415. Tor.Parent=char
  416. Tor.TopSurface="Weld"
  417. Star=Tor
  418. Mesh=Instance.new("CylinderMesh")
  419. Mesh.Parent=Tor
  420. Mesh.Scale=Vector3.new(3,1.2,3)
  421. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  422. Delay(0.1,function()
  423. for i=1,40 do
  424. wait()
  425. Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
  426. Star.Transparency=i/50
  427. Dist=Mesh.Scale.x/2
  428. Check(Dist)
  429. end
  430. Tor:remove()
  431. end)
  432. for i=0,0.3,0.1 do
  433. wait(0.06)
  434. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  435. rw.C0 = CFrame.new(0, 0.5, 0)
  436. end
  437. rw.C0=OrgR0
  438. rw.C1=OrgR1
  439. Attack=false
  440. elseif key:lower()=="r" and Attack==false then
  441. Attack=true
  442. local rw=Welds["rw"]
  443. for i=0,0.3,0.1 do
  444. wait(0.06)
  445. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  446. rw.C0 = CFrame.new(0, 0.5, 0)
  447. end
  448. wait()
  449. for i=0,1,0.5 do
  450. wait(0.06)
  451. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
  452. rw.C0 = CFrame.new(0, 0.5, 0)
  453. end
  454. local Blade2=Instance.new("Part")
  455. Blade2.BrickColor=BrickColor:Black()
  456. Blade2.Size=Vector3.new(1,1,1)
  457. Blade2.Parent=char
  458. Blade2.Name="Blade2"
  459. Blade2.Reflectance=0
  460. Blade2.Transparency=0.3
  461. local Mesh=Instance.new("SpecialMesh")
  462. Mesh.MeshType="Sphere"
  463. Mesh.Parent=Blade2
  464. Mesh.Scale=Vector3.new(0.1,0.08,0.1)
  465. local Weld=Instance.new("Weld")
  466. Weld.Parent=Tip
  467. Weld.Part1=Weld.Parent
  468. Weld.Part0=Blade2
  469. for i=1,20 do
  470. Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1)
  471. wait()
  472. end
  473. local Laz=Instance.new("Part")
  474. Laz.Anchored=true
  475. Laz.BrickColor=BrickColor:Black()
  476. Laz.TopSurface="Smooth"
  477. Laz.Name="Lazer"
  478. Laz.BottomSurface="Smooth"
  479. Laz.CanCollide=false
  480. Laz.Size=Vector3.new(1,1,2)
  481. Laz.CFrame=CFrame.new((mouse.Hit.p+Blade2.Position)/2,Blade2.Position)
  482. Laz.Parent=char
  483. Laz.Transparency=0.5
  484. Laz.Reflectance=0.1
  485. local Me=Instance.new("BlockMesh")
  486. Me.Parent=Laz
  487. Me.Scale = Vector3.new(0.75,0.75,(mouse.Hit.p - Blade2.Position).magnitude/2)
  488. local e=Instance.new("Explosion")
  489. e.Position=mouse.Hit.p
  490. e.BlastPressure=0
  491. e.Hit:connect(function(h)
  492. if h.Parent.Name~=Name then
  493. pcall(function() h.Parent.Humanoid:TakeDamage(10) end)
  494. h.Velocity=(h.Position-e.Position).unit*120
  495. end
  496. end)
  497. e.Parent=workspace
  498. wait(1)
  499. Laz:remove()
  500. for i=1,20 do
  501. Mesh.Scale=Mesh.Scale+Vector3.new(-0.1,-0.08,-0.1)
  502. wait()
  503. end
  504. for i=0,0.3,0.15 do
  505. wait(0.05)
  506. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0)
  507. rw.C0 = CFrame.new(0, 0.5, 0)
  508. end
  509. for i=0,0.3,0.1 do
  510. wait(0.06)
  511. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  512. rw.C0 = CFrame.new(0, 0.5, 0)
  513. end
  514. rw.C0=OrgR0
  515. rw.C1=OrgR1
  516. Attack=false
  517. elseif key:lower()=="t" and Attack==false then
  518. Attack=true
  519. wait()
  520. local rw=Welds["rw"]
  521. for i=0,0.3,0.1 do
  522. wait(0.06)
  523. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  524. rw.C0 = CFrame.new(0, 0.5, 0)
  525. end
  526. wait()
  527. for i=0,2,0.5 do
  528. wait(0.06)
  529. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
  530. rw.C0 = CFrame.new(0, 0.5, 0)
  531. end
  532. wait()
  533. local bv=Instance.new("BodyVelocity")
  534. bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  535. bv.velocity=char.Torso.CFrame.lookVector*70
  536. bv.Parent=char.Torso
  537. local cont={};
  538. local corro = coroutine.create(function()
  539. while wait() do
  540. for _,v in next,cont do
  541. v.Transparency=v.Transparency+0.15
  542. if v.Name=="Pillar" then
  543. v.CFrame=v.CFrame*CFrame.new(0,1,0);
  544. end
  545. if v.Transparency>0.9 then
  546. v:remove()
  547. cont[_]=nil
  548. end
  549. end
  550. end
  551. end)
  552. coroutine.resume(corro)
  553. for i=1,7 do
  554. wait(0.1)
  555. bv.velocity=char.Torso.CFrame.lookVector*80
  556. for i=1,3 do
  557. local g = Instance.new("Part")
  558. g.Size=Vector3.new(3,5,3)
  559. g.BrickColor=BrickColor:Black()
  560. g.CanCollide=false
  561. g.Anchored=true
  562. g.Name="Pillar"
  563. g.Transparency=0.6
  564. g.CFrame=char.Torso.CFrame*CFrame.new(math.random(-4,4),-4.5,math.random(-4,4))*CFrame.Angles(math.rad(math.random(-45,45)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45)))
  565. g.Parent=char
  566. local b = Instance.new("BlockMesh")
  567. b.Scale=Vector3.new(1.5,1,1.5)
  568. b.Parent=g
  569. g.Touched:connect(function(h) pcall(function() if h.Parent.Name~=Name then h.Parent.Humanoid:TakeDamage(20) end end) end)
  570. table.insert(cont,g)
  571. end
  572. for _,v in next,char:children() do
  573. if v.className=="Part" then
  574. local p = v:clone()
  575. p.Anchored=true
  576. p.BrickColor=BrickColor:Black()
  577. p.CanCollide=false
  578. p.Transparency=0.5
  579. p.Parent=char
  580. table.insert(cont,p)
  581. end
  582. end
  583. end
  584. bv:remove()
  585. for i=0,0.3,0.15 do
  586. wait(0.05)
  587. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0)
  588. rw.C0 = CFrame.new(0, 0.5, 0)
  589. end
  590. for i=0,0.3,0.1 do
  591. wait(0.06)
  592. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  593. rw.C0 = CFrame.new(0, 0.5, 0)
  594. end
  595. rw.C0=OrgR0
  596. rw.C1=OrgR1
  597. coroutine.yield(corro)
  598. Attack=false
  599. end
  600. end
  601. De=0
  602. Equip=false
  603. function EQUIP(mouse)
  604. if De==0 then
  605. Equip=true
  606. De=1
  607. rs=char.Torso["Right Shoulder"]
  608. p1=rs.Part1
  609. p0=rs.Part0
  610. rs.Part0=nil
  611. rw=Instance.new("Weld")
  612. rw.Parent=char
  613. rw.Part1=char.Torso
  614. rw.Part0=char["Right Arm"]
  615. rw.C1=CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0)
  616. R1=rw.C1
  617. R0=rw.C0
  618. Arms["rw"]=rw
  619. Welds["rw"]=rw
  620. Weld=Welds["MAIN"]
  621. Delay(0,function()
  622. for i=1,math.huge do
  623. if rs.Part0~=nil then
  624. break
  625. end
  626. local p=Instance.new("Part")
  627. p.Size=Vector3.new(1,1,1)
  628. p.Reflectance=0.3
  629. p.BrickColor=BrickColor:Black()
  630. p.Anchored=true
  631. p.CanCollide=false
  632. p.Parent=char
  633. p.CFrame=Blade.CFrame*CFrame.new(math.sin(-i)*0.45,math.sin(i/5)*1.2,math.cos(i)*0.45)*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  634. local m=Instance.new("BlockMesh")
  635. m.Scale=Vector3.new(0.15,0.15,0.15)
  636. m.Parent=p
  637. Delay(0,function()
  638. local p=p
  639. for i=1,3 do
  640. wait(0.05)
  641. p.Transparency=i/3
  642. end
  643. p:remove()
  644. end)
  645. wait(0.075)
  646. end
  647. end)
  648. for i=0,1,0.1 do
  649. wait(0.05)
  650. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(270)*i, i,-i)
  651. rw.C0 = CFrame.new(0, 0.5, 0)
  652. end
  653. pcall(function() Weld.Part0=char["Right Arm"]
  654. Weld.C0=CFrame.new(0,-1.1,-2.35)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180))
  655. P=Blade.Touched:connect(function(h) if h.Parent.Name~=Name then pcall(function() h.Parent.Humanoid:takeDamage(7) end) end end)
  656. end)
  657. for i=0,1,0.5 do
  658. wait(0.05)
  659. rw.C1 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i))
  660. rw.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  661. end
  662. wait()
  663. for i=0,1,0.25 do
  664. rw.C1=rw.C1*CFrame.Angles(math.rad(-3.5),math.rad(-2),math.rad(-6))
  665. wait(0.05)
  666. end
  667. OrgR0=rw.C0
  668. OrgR1=rw.C1
  669. local rw=rw
  670. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  671. mouse.Button1Down:connect(function() b.Value=b.Value+1 end)
  672. mouse.KeyDown:connect(function(key) Key(key,mouse) end)
  673. Attack=false
  674. wait()
  675. De=0
  676. end
  677. end
  678. --setfenv(EQUIP,getfenv(0))
  679. script.Parent.Selected:connect(function(mouse)
  680. EQUIP(mouse)
  681. end)
  682. script.Parent.Deselected:connect(function()
  683. Equip=false
  684. pcall(function() P:disconnect() end)
  685. for i=0,1,0.1 do
  686. rw.C1=rw.C1*CFrame.Angles(math.rad(17),math.rad(8),math.rad(4))
  687. wait(0.04)
  688. end
  689. Welds["MAIN"].Part0=char.Torso
  690. Welds["MAIN"].C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
  691. Welds["MAIN"].C1=CFrame.new(0,0.25,0)
  692. for i=0,1,0.1 do
  693. rw.C1=rw.C1*CFrame.Angles(math.rad(-19),math.rad(-3),math.rad(-6))
  694. wait()
  695. end
  696. pcall(function()
  697. rs.Part0=p0
  698. rs.Part1=p1
  699. rs.Parent=char.Torso
  700. rw:remove()
  701. end)
  702. end)
RAW Paste Data