leaspect489

Untitled

Jan 15th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.49 KB | None | 0 0
  1. me = game.Players.LocalPlayer
  2.  
  3. local user = me.Character
  4.  
  5. local tool = Instance.new("Tool", me.Backpack)
  6. tool.Name = "Abyssal Sword"
  7.  
  8. local handle = Instance.new("Part", tool)
  9. handle.formFactor = "Custom"
  10. handle.CanCollide = false
  11. handle.Name = "Handle"
  12. handle.TopSurface = "Smooth"
  13. handle.BottomSurface = "Smooth"
  14. handle.Size = Vector3.new(0.3, 1, 0.3)
  15. handle.Rotation = Vector3.new(90, 0, 0)
  16.  
  17. handle.Touched:connect(function(h)
  18. if not h:IsDescendantOf(me.Character) then
  19. for _, a in pairs(h.Parent:GetChildren()) do
  20. if a:IsA("Humanoid") then
  21. a.Health = a.Health - 20
  22. end
  23. end
  24. end
  25. end)
  26.  
  27. tool.GripPos = Vector3.new(0, 0, -2)
  28. tool.GripForward = Vector3.new(-1, 0, 0)
  29. tool.GripRight = Vector3.new(0, 1, 0)
  30. tool.GripUp = Vector3.new(0, 0, 1.5)
  31.  
  32. local fp = Instance.new("Part", tool)
  33. fp.FormFactor = "Custom"
  34. fp.Transparency = 1
  35. fp.Size = Vector3.new(0.25, 0.25, 0.25)
  36.  
  37. local fire = Instance.new("Fire", fp)
  38. fire.Color = Color3.new(0, 0, 0)
  39. fire.SecondaryColor = Color3.new(255, 0, 0)
  40. fire.Size = 3
  41. fire.Heat = 0
  42.  
  43. local derp = Instance.new("SpecialMesh", handle)
  44. derp.MeshId = "http://www.roblox.com/asset/?id=61357428"
  45. derp.TextureId = "http://www.roblox.com/asset/?id=61357495 "
  46. derp.Scale = Vector3.new(2, 2, 2.5)
  47.  
  48. dist = 1.5
  49. defdist = 1.5
  50. upos = 0
  51. yrot = 90
  52. mode = 1
  53. fdist = 2
  54. updist = 0
  55.  
  56. RS = me.Character.Torso["Right Shoulder"]
  57. LS = me.Character.Torso["Left Shoulder"]
  58.  
  59. RSAnim = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  60. LSAnim = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  61.  
  62. local keys = {}
  63.  
  64. coroutine.wrap(function()
  65. while true do
  66. for i = 1, 40 do
  67. dist = dist + 0.02
  68. defdist = defdist + 0.02
  69. wait()
  70. end
  71.  
  72. for i = 1, 40 do
  73. dist = dist - 0.02
  74. defdist = defdist - 0.02
  75. wait()
  76. end
  77. end
  78. end)()
  79.  
  80. for i = 1, 6 do
  81. local pr = Instance.new("Part", tool)
  82. pr.FormFactor = "Custom"
  83. pr.TopSurface = "Smooth"
  84. pr.BottomSurface = "Smooth"
  85. pr.Name = "derpp"
  86. pr.Transparency = 0
  87. pr.Anchored = true
  88. pr.CanCollide = false
  89.  
  90. pr.Touched:connect(function(h)
  91. if not h:IsDescendantOf(me.Character) then
  92. if h.Parent:FindFirstChild("Humanoid") then
  93. h.Parent.Humanoid:TakeDamage(10)
  94. end
  95. end
  96. end)
  97. if i == 1 or i == 3 or i == 5 then
  98. pr.BrickColor = BrickColor.new("Really black")
  99.  
  100. else
  101. pr.BrickColor = BrickColor.new("Dusty Rose")
  102. end
  103.  
  104. pr.CanCollide = false
  105. pr.Size = Vector3.new(0.5, 0.5, 0.5)
  106. coroutine.wrap(function()
  107. while true do
  108. for r = 1, 90 do
  109. if mode == 1 then
  110. pr.CFrame = fp.CFrame * CFrame.Angles(0, math.rad((r*4)+((360/6)*i)), math.rad((r*4)+((360/5)*i))) * CFrame.new(0, 0, dist)
  111.  
  112. elseif mode == 2 then
  113. pr.CFrame = (fp.CFrame * CFrame.new(2, 0, 0)) * CFrame.Angles(math.rad((r*4)+((360/6)*i)), 0, math.rad((r*4)+((360/5)*i))) * CFrame.new(0, 0, dist)
  114.  
  115. elseif mode == 3 then
  116. pr.CFrame = me.Character["EnergyBrick"].CFrame * CFrame.Angles(0, 0, math.rad((r*4)+((360/6)*i))) * CFrame.new(0, dist, 0)
  117. end
  118. wait()
  119. end
  120. end
  121. end)()
  122. end
  123.  
  124. tool.Equipped:connect(function(m)
  125. local w = Instance.new("Weld", handle)
  126. w.Part0 = handle
  127. w.Part1 = fp
  128. w.C0 = CFrame.new(0, 0, 0.75)
  129.  
  130. m.Button1Down:connect(function()
  131. down = true
  132. wait()
  133.  
  134. for i = 1,6 do
  135. me.Character.Torso["Right Shoulder"].C0 = me.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, math.rad(-i*4))
  136. wait()
  137. end
  138.  
  139. for i = 1, 6 do
  140. me.Character.Torso["Right Shoulder"].C0 = me.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, math.rad(i*4))
  141. wait()
  142. end
  143. end)
  144.  
  145. m.Button1Up:connect(function()
  146. down = false
  147. end)
  148.  
  149. m.Button2Down:connect(function()
  150. mode = 2
  151. fire.Size = 6
  152. wait(0.5)
  153. for _, a in pairs(tool:GetChildren()) do
  154. if a.Name == "derpp" then
  155. coroutine.wrap(function()
  156. local ray = Ray.new(a.CFrame.p, (m.Hit.p-a.CFrame.p).unit*300)
  157.  
  158. local hit, pos = game.Workspace:FindPartOnRay(ray, me.Character)
  159.  
  160. local h = hit
  161. if h then
  162. for _, a in pairs(h.Parent:GetChildren()) do
  163. if a:IsA("Humanoid") then
  164. a.Health = a.Health - 20
  165. end
  166. end
  167. end
  168.  
  169. local dis = (pos-a.CFrame.p).magnitude
  170.  
  171. local beam = Instance.new("Part", user)
  172. beam.TopSurface = "Smooth"
  173. beam.BottomSurface = "Smooth"
  174. beam.FormFactor = "Custom"
  175. beam.Size = Vector3.new(1, 1, dis)
  176. beam.Anchored = true
  177. beam.BrickColor = BrickColor.new("Really black")
  178. beam.CanCollide = false
  179. beam.Transparency = 0.3
  180. coroutine.wrap(function()
  181. for d = 1, 10 do
  182. beam.Size = beam.Size - Vector3.new(0.1, 0.1, 0)
  183. beam.CFrame = CFrame.new(pos, a.CFrame.p) * CFrame.new(0, 0, -dis/2)
  184. wait()
  185. end
  186. end)()
  187. wait(0.5)
  188. beam:Remove()
  189. end)()
  190. end
  191. end
  192.  
  193. wait(0.5)
  194. mode = 1
  195. end)
  196.  
  197. m.Button2Up:connect(function(k)
  198. fire.Size = 3
  199. end)
  200.  
  201. m.KeyDown:connect(function(key)
  202. if key:lower() == "e" then
  203. me.Character.Animate.Disabled = true
  204. wait(1)
  205. RS.C0 = RSAnim
  206. LS.C0 = LSAnim
  207. for _, a in pairs(tool:GetChildren()) do
  208. if a.Name ~= "derpp" then
  209. a.Transparency = 1
  210. end
  211. end
  212. fire.Enabled = false
  213.  
  214. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-90), 0) * CFrame.Angles(math.rad(30), 0, 0)
  215. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(30), 0, 0)
  216.  
  217. coroutine.wrap(function()
  218. for d = 1, 30 do
  219. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-90), 0) * CFrame.Angles(math.rad((30-(d))), 0, 0)
  220. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(30-(d)), 0, 0)
  221. wait()
  222. end
  223. end)()
  224.  
  225. local ball = Instance.new("Part", me.Character)
  226. ball.Name = "EnergyBrick"
  227. ball.TopSurface = "Smooth"
  228. ball.BottomSurface = "Smooth"
  229. ball.CanCollide = false
  230. ball.Transparency = 0.4
  231. ball.BrickColor = BrickColor.new("Really black")
  232. ball.Anchored = true
  233. ball.Size = Vector3.new(1, 1, 1)
  234. ball.FormFactor = "Custom"
  235. ball.CFrame = me.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0) * CFrame.new(0, 0, fdist)
  236. ball.Touched:connect(function(h)
  237. if not h:IsDescendantOf(me.Character) then
  238. if h:IsA("Part") and not h.Name:lower():find("base") then
  239. h:Destroy()
  240. end
  241. end
  242. end)
  243. local f = Instance.new("Fire", ball)
  244. f.Size = 3
  245. f.Color = Color3.new(0, 0, 0)
  246. f.SecondaryColor = Color3.new(0, 0, 255)
  247. wait()
  248. mode = 3
  249.  
  250. for d = 1, 40 do
  251. f.Size = f.Size + 0.25
  252. fdist = fdist + 0.05
  253. dist = dist + 0.05
  254. updist = updist + 0.025
  255. ball.Size = ball.Size + Vector3.new(0.1, 0.1, 0.1)
  256. ball.CFrame = me.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0) * CFrame.new(0, updist, fdist)
  257. wait()
  258. end
  259.  
  260. local scf = me.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0)
  261. me.Character.Animate.Disabled = false
  262. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  263. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  264. for _, a in pairs(tool:GetChildren()) do
  265. a.Transparency = 0
  266. end
  267. fp.Transparency = 1
  268. mode = 1
  269. dist = defdist
  270. updist = 0
  271. fire.Enabled = true
  272. for i = 1, 150 do
  273. ball.CFrame = scf * CFrame.new(0, 0, fdist+(i*2)) * CFrame.Angles(0, 0, math.rad(i*3))
  274. local b2 = ball:Clone()
  275. b2.Fire:Destroy()
  276. b2.Parent = me.Character
  277. b2.CFrame = ball.CFrame * CFrame.Angles(0, 0, math.rad(i*3))
  278. b2.Touched:connect(function(h)
  279. if not h:IsDescendantOf(me.Character) then
  280. if h:IsA("Part") and not h.Name:lower():find("base") then
  281. h:Destroy()
  282. end
  283. end
  284. end)
  285. coroutine.wrap(function()
  286. wait(1)
  287. for i = 1, 20 do
  288. b2.Transparency = b2.Transparency + 0.05
  289. wait()
  290. end
  291. b2:Destroy()
  292. end)()
  293. wait()
  294. end
  295.  
  296. ball:Destroy()
  297. fdist = 2
  298.  
  299. elseif key:lower() == "f" then
  300. me.Character.Animate.Disabled = true
  301. wait(1)
  302. RS.C0 = RSAnim
  303. LS.C0 = LSAnim
  304. for i = 1, 11 do
  305. LS.C0 = CFrame.new(-0.75, 0.5, -0.5) * CFrame.Angles(math.rad(i*8), math.rad(-90), 0) * CFrame.Angles(math.rad(i*2), 0, 0)
  306. RS.C0 = CFrame.new(0.75, 0.5, -0.5) * CFrame.Angles(math.rad(i*8), math.rad(90), 0) * CFrame.Angles(math.rad(i*2), 0, 0)
  307. wait()
  308. end
  309.  
  310. local bp = Instance.new("BodyPosition", me.Character.Torso)
  311. bp.maxForce = Vector3.new(0, 9999, 0)
  312. coroutine.wrap(function()
  313. for rs = 1, 10 do
  314. bp.position = me.Character.Head.Position + Vector3.new(0, 4, 0)
  315. wait()
  316. end
  317. end)()
  318.  
  319. for an = 1, 30 do
  320. LS.C0 = CFrame.new(-0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90+(an)), math.rad(-90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  321. RS.C0 = CFrame.new(0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90+(an)), math.rad(90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  322. wait()
  323. end
  324. wait(0.5)
  325. bp:Remove()
  326. for an = 1, 7 do
  327. LS.C0 = CFrame.new(-0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90-(an*9)), math.rad(-90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  328. RS.C0 = CFrame.new(0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90-(an*9)), math.rad(90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  329. wait()
  330. end
  331. wait(0.25)
  332. local ex = Instance.new("Part", me.Character)
  333. ex.Size = Vector3.new(1, 1, 1)
  334. ex.Transparency = 0.4
  335. ex.BrickColor = BrickColor.new("Deep orange")
  336.  
  337. local msh = Instance.new("SpecialMesh", ex)
  338. msh.MeshType = "FileMesh"
  339. msh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  340. msh.Scale = Vector3.new(0.5, 0.5, 0.5)
  341.  
  342. ex.Position = handle.Position
  343. ex.Anchored = true
  344.  
  345. for i = 1, 20 do
  346. msh.Scale = msh.Scale + Vector3.new(3, 3, 3)
  347. for _, a in pairs(game.Players:GetChildren()) do
  348. if a.Name ~= me.Name and (a.Character.Torso.Position-ex.Position).magnitude <= i*2 then
  349. for _, b in pairs(a.Character:GetChildren()) do
  350. if b:IsA("Humanoid") then
  351. b.Health = b.Health - 10
  352. end
  353. end
  354. end
  355. end
  356. wait()
  357. end
  358.  
  359. for i = 1, 12 do
  360. ex.Transparency = ex.Transparency + 0.05
  361. wait()
  362. end
  363. ex:Remove()
  364. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  365. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  366. wait()
  367. me.Character.Animate.Disabled = false
  368.  
  369. elseif key:lower() == "l" then
  370. me.Character.Animate.Disabled = true
  371. wait(1)
  372. RS.C0 = RSAnim
  373. LS.C0 = LSAnim
  374. for i = 1, 60 do
  375. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-90), 0) * CFrame.Angles(math.rad(-90), 0, -math.rad(i))
  376. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(-90), 0, math.rad(i))
  377. wait()
  378. end
  379.  
  380. local beam = Instance.new("Part", me.Character)
  381. beam.Size = Vector3.new(5, 300, 5)
  382. beam.CanCollide = false
  383. beam.CFrame = me.Character.Torso.CFrame * CFrame.new(0, (300/2)-2, 0)
  384. beam.TopSurface = "Smooth"
  385. beam.BottomSurface = "Smooth"
  386. beam.BrickColor = BrickColor.new("New Yeller")
  387. beam.Anchored = true
  388. beam.Transparency = 0.3
  389. wait(0.4)
  390. for e = 1, 14 do
  391. beam.Transparency = beam.Transparency + 0.05
  392. wait()
  393. end
  394. beam:Remove()
  395. local m = Instance.new("ForceField", me.Character)
  396. for i = 1, 40 do
  397. d1 = math.random(-200, 200)
  398. d2 = math.random(-200, 200)
  399. local ltn = Instance.new("Part", game.Workspace)
  400. ltn.Size = Vector3.new(3, 300, 3)
  401. ltn.CanCollide = false
  402. ltn.CFrame = CFrame.new(d1, 0, d2) * CFrame.new(0, 300/2, 0)
  403. ltn.TopSurface = "Smooth"
  404. ltn.BottomSurface = "Smooth"
  405. ltn.BrickColor = BrickColor.new("Deep blue")
  406. ltn.Anchored = true
  407. ltn.Transparency = 0.3
  408. local ex = Instance.new("Explosion")
  409. ex.Position = Vector3.new(d1, 0.5, d2)
  410. ex.BlastRadius = 10
  411. wait()
  412. ex.Parent = game.Workspace
  413. game.Lighting.Ambient = Color3.new(1, 1, 1)
  414. wait(0.125)
  415. ltn:Destroy()
  416. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  417. end
  418. m:Remove()
  419. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  420. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  421. wait()
  422. me.Character.Animate.Disabled = false
  423.  
  424. elseif key:lower() == "c" then
  425. me.Character.Animate.Disabled = true
  426. wait(1)
  427. RS.C0 = RSAnim
  428. LS.C0 = LSAnim
  429. for _, a in pairs(tool:GetChildren()) do
  430. a.Transparency = 1
  431. end
  432. fire.Enabled = false
  433.  
  434. local s = Instance.new("Part", me.Character)
  435. s.Transparency = 0
  436. s.Name = "StrikeSword"
  437.  
  438. local w = Instance.new("Weld", s)
  439. w.Part0 = me.Character["Right Arm"]
  440. w.Part1 = s
  441. w.C0 = CFrame.new(0, -1, -2) * CFrame.Angles(math.rad(180), 0, 0)
  442.  
  443. local derpe = Instance.new("SpecialMesh", s)
  444. derpe.MeshType = "FileMesh"
  445. derpe.MeshId = "http://www.roblox.com/asset/?id=61357428"
  446. derpe.TextureId = "http://www.roblox.com/asset/?id=61357495"
  447. derpe.Scale = Vector3.new(2, 2, 2.5)
  448. for i = 1, 35 do
  449. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(20+(i*3)), math.rad(-90), 0) * CFrame.Angles(math.rad(i+20), 0, 0)
  450. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(20+(i*3)), math.rad(90), 0) * CFrame.Angles(math.rad(i+20), 0, 0)
  451. wait()
  452. end
  453.  
  454. wait(1)
  455.  
  456. for i = 1, 30 do
  457. derpe.Scale = derpe.Scale + Vector3.new(0.2, 0.2, 0.2)
  458. w.C0 = CFrame.new(0, -1, -2-i/3) * CFrame.Angles(math.rad(180), 0, 0)
  459. wait()
  460. end
  461.  
  462. wait(0.125)
  463.  
  464. for i = 1, 17 do
  465. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(110-(i*6)), math.rad(-90), 0)
  466. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(110-(i*6)), math.rad(90), 0)
  467. wait()
  468. end
  469. wait(0.125)
  470. local ex = Instance.new("Part", me.Character)
  471. ex.Size = Vector3.new(1, 1, 1)
  472. ex.Transparency = 0.4
  473. ex.BrickColor = BrickColor.new("Deep orange")
  474.  
  475. local msh = Instance.new("SpecialMesh", ex)
  476. msh.MeshType = "FileMesh"
  477. msh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  478. msh.Scale = Vector3.new(0.5, 0.5, 0.5)
  479.  
  480. ex.Position = s.Position
  481. ex.Anchored = true
  482.  
  483. coroutine.wrap(function()
  484. s:Destroy()
  485. for _, a in pairs(tool:GetChildren()) do
  486. a.Transparency = 0
  487. end
  488. fp.Transparency = 1
  489. fire.Enabled = true
  490. me.Character.Animate.Disabled = false
  491. end)()
  492.  
  493. for i = 1, 20 do
  494. msh.Scale = msh.Scale + Vector3.new(3, 3, 3)
  495. for _, a in pairs(game.Players:GetChildren()) do
  496. if a.Name ~= me.Name and (a.Character.Torso.Position-ex.Position).magnitude <= i*2 then
  497. for _, b in pairs(a.Character:GetChildren()) do
  498. if b:IsA("Humanoid") then
  499. b.Health = b.Health - 10
  500. end
  501. end
  502. end
  503. end
  504. wait()
  505. end
  506.  
  507. for i = 1, 12 do
  508. ex.Transparency = ex.Transparency + 0.05
  509. wait()
  510. end
  511. end
  512. end)
  513.  
  514. me.Character.Humanoid.Died:connect(function()
  515. local ex = Instance.new("Explosion")
  516. ex.Position = handle.Position
  517. ex.BlastRadius = 100
  518. ex.BlastPressure = 1e6
  519. wait()
  520. ex.Parent = game.Workspace
  521. end)
  522. end)
  523.  
  524. tool.Unequipped:connect(function()
  525. end)
Add Comment
Please, Sign In to add comment