Advertisement
DustyThomas

Chara Knife

May 10th, 2017
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.58 KB | None | 0 0
  1. player = game:service("Players").LocalPlayer
  2. char = player.Character
  3. local beat = true
  4. local beattime = 0.6
  5. suit = Instance.new("Model", char)
  6. suit.Name = "Determination"
  7. local vDebounce = false
  8. Torso = char.Torso
  9. cf = CFrame.new
  10. euler = CFrame.fromEulerAnglesXYZ
  11. slashvalue = 1
  12. beamvalue = 1
  13. onehitkill = true
  14. onehitkilltwo = true
  15. specialattack = false
  16. for _, v in pairs(char.Head:GetChildren()) do
  17. if v.ClassName == "Decal" then
  18. v:remove()
  19. end
  20. end
  21. for _, v in pairs(char:GetChildren()) do
  22. if v.ClassName == "Hat" then
  23. v:remove()
  24. end
  25. end
  26. face = Instance.new("Decal", char.Head)
  27. face.Texture = "http://www.roblox.com/asset/?id=381193198"
  28. local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
  29. Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
  30. Hat.Name = "Hat_F"
  31. local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
  32. if Handle.Name ~= "Handle" then
  33. Handle.Size = Vector3.new(1, 1, 1)
  34. end
  35. Handle.BottomSurface = 0
  36. Handle.Name = "Handle"
  37. Handle.TopSurface = 0
  38. Handle.Locked = 1
  39. local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
  40. Mesh.TextureId = "http://www.roblox.com/asset/?id=75975464"
  41. Mesh.MeshId = "http://www.roblox.com/asset/?id=250264520 "
  42. Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  43. Hat.Parent = char
  44. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  45. RW.Name = "Right Shoulder"
  46. LW.Name = "Left Shoulder"
  47. RSH, LSH = nil, nil
  48. LS = Torso["Left Shoulder"]
  49. LH = Torso["Left Hip"]
  50. RS = Torso["Right Shoulder"]
  51. RH = Torso["Right Hip"]
  52. RSH = char.Torso["Right Shoulder"]
  53. LSH = char.Torso["Left Shoulder"]
  54. local LSounds = {
  55. MegaloStrikesBack = Instance.new("Sound")
  56. }
  57. LSounds.MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=480746068"
  58. LSounds.MegaloStrikesBack.Volume = 1
  59. function PlayLoopedSound(soundname, pitch)
  60. LSounds[soundname].Parent = char.Torso
  61. LSounds[soundname].Pitch = pitch
  62. LSounds[soundname]:Play()
  63. LSounds[soundname].Looped = true
  64. oldloopedsound = LSounds[soundname]
  65. LSounds[soundname] = LSounds[soundname]:clone()
  66. end
  67. local Sounds = {
  68. Hurt = Instance.new("Sound"),
  69. Slash = Instance.new("Sound"),
  70. Explode = Instance.new("Sound"),
  71. Sans = Instance.new("Sound")
  72. }
  73. Sounds.Slash.SoundId = "http://www.roblox.com/asset?id=394934205"
  74. Sounds.Slash.Volume = 1
  75. Sounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  76. Sounds.Hurt.Volume = 1
  77. Sounds.Sans.SoundId = "http://www.roblox.com/asset?id=360449521"
  78. Sounds.Sans.Volume = 1
  79. Sounds.Explode.SoundId = "rbxasset://sounds/collide.wav"
  80. Sounds.Explode.Volume = 1
  81. function PlaySound(soundname, pitch)
  82. Sounds[soundname].Parent = Torso
  83. Sounds[soundname].Pitch = pitch
  84. Sounds[soundname]:Play()
  85. local oldsound = Sounds[soundname]
  86. coroutine.resume(coroutine.create(function()
  87. wait(4)
  88. oldsound:Destroy()
  89. end))
  90. Sounds[soundname] = Sounds[soundname]:clone()
  91. end
  92. --char.Humanoid.MaxHealth = 99999999999999999999999999
  93. --char.Humanoid.Health = 9999999999999999999999999999
  94. function CharaTalks()
  95. local m = Instance.new("Model", char.Head)
  96. m.Name = "* W"
  97. local chat = Instance.new("Part", m)
  98. chat.TopSurface = "Smooth"
  99. chat.BottomSurface = "Smooth"
  100. chat.Name = "Head"
  101. chat.FormFactor = "Custom"
  102. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  103. chat.Transparency = 0.9
  104. chat.CanCollide = false
  105. chat.Anchored = true
  106. chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  107. local h = Instance.new("Humanoid", m)
  108. h.MaxHealth = 0
  109. m.Name = "* Gr"
  110. wait()
  111. m.Name = "* Gre"
  112. wait()
  113. m.Name = "* Gree"
  114. wait()
  115. m.Name = "* Greeti"
  116. wait()
  117. m.Name = "* Greeting"
  118. wait()
  119. m.Name = "* Greetings"
  120. wait()
  121. m.Name = "* Greetings. "
  122. wait()
  123. m.Name = "* Greetings. I"
  124. wait()
  125. m.Name = "* Greetings. I "
  126. wait()
  127. m.Name = "* Greetings. I a"
  128. wait()
  129. m.Name = "* Greetings. I am"
  130. wait()
  131. m.Name = "* Greetings. I am C"
  132. wait()
  133. m.Name = "* Greetings. I am Ch"
  134. wait()
  135. m.Name = "* Greetings. I am Cha"
  136. wait()
  137. m.Name = "* Greetings. I am Char"
  138. wait()
  139. m.Name = "* Greetings. I am Chara"
  140. wait()
  141. m.Name = "* Greetings. I am Chara."
  142. m:remove()
  143. end
  144. function GETDUNKED()
  145. coroutine.resume(coroutine.create(function()
  146. local m = Instance.new("Model", char.Head)
  147. m.Name = "* G"
  148. local chat = Instance.new("Part", m)
  149. chat.TopSurface = "Smooth"
  150. chat.BottomSurface = "Smooth"
  151. chat.Name = "Head"
  152. chat.FormFactor = "Custom"
  153. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  154. chat.Transparency = 0.9
  155. chat.CanCollide = false
  156. chat.Anchored = true
  157. chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  158. local h = Instance.new("Humanoid", m)
  159. h.MaxHealth = 0
  160. PlaySound("Sans", 1)
  161. m.Name = "* St"
  162. wait(0.1)
  163. PlaySound("Sans", 1)
  164. m.Name = "* Sto"
  165. wait(0.1)
  166. PlaySound("Sans", 1)
  167. m.Name = "* Stop"
  168. wait(0.1)
  169. PlaySound("Sans", 1)
  170. m.Name = "* Stop "
  171. wait(0.1)
  172. PlaySound("Sans", 1)
  173. m.Name = "* Stop s"
  174. wait(0.1)
  175. PlaySound("Sans", 1)
  176. m.Name = "* Stop su"
  177. wait(0.3)
  178. PlaySound("Sans", 1)
  179. m.Name = "* Stop suc"
  180. wait(0.1)
  181. PlaySound("Sans", 1)
  182. m.Name = "* Stop such"
  183. wait(0.1)
  184. PlaySound("Sans", 1)
  185. m.Name = "* Stop such "
  186. wait(0.1)
  187. PlaySound("Sans", 1)
  188. m.Name = "* Stop such f"
  189. wait(0.1)
  190. PlaySound("Sans", 1)
  191. m.Name = "* Stop such fo"
  192. wait(0.1)
  193. PlaySound("Sans", 1)
  194. m.Name = "* Stop such foo"
  195. wait(0.3)
  196. PlaySound("Sans", 1)
  197. m.Name = "* Stop such fool"
  198. wait(0.1)
  199. PlaySound("Sans", 1)
  200. m.Name = "* Stop such fooli"
  201. wait(0.1)
  202. PlaySound("Sans", 1)
  203. m.Name = "* Stop such foolis"
  204. wait(0.1)
  205. PlaySound("Sans", 1)
  206. m.Name = "* Stop such foolish"
  207. wait(0.1)
  208. PlaySound("Sans", 1)
  209. m.Name = "* Stop such foolishn"
  210. wait(0.1)
  211. PlaySound("Sans", 1)
  212. m.Name = "* Stop such foolishne"
  213. wait(0.1)
  214. PlaySound("Sans", 1)
  215. m.Name = "* Stop such foolishnes"
  216. wait(0.1)
  217. PlaySound("Sans", 1)
  218. m.Name = "* Stop such foolishness"
  219. wait(0.1)
  220. PlaySound("Sans", 1)
  221. m.Name = "* Stop such foolishness."
  222. m:remove()
  223. end))
  224. end
  225. function startup()
  226. coroutine.resume(coroutine.create(function()
  227. local m = Instance.new("Model", char)
  228. m.Name = "* C"
  229. local chat = Instance.new("Part", m)
  230. chat.TopSurface = "Smooth"
  231. chat.BottomSurface = "Smooth"
  232. chat.Name = "Head"
  233. chat.FormFactor = "Custom"
  234. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  235. chat.Transparency = 0.9
  236. chat.CanCollide = false
  237. local Weld7 = Instance.new("Weld", char)
  238. Weld7.Part0 = char.Head
  239. Weld7.Part1 = chat
  240. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  241. local cy7 = Instance.new("BlockMesh", chat)
  242. local h = Instance.new("Humanoid", m)
  243. h.MaxHealth = 0
  244. m.Name = "* Ch"
  245. wait(0.2)
  246. m.Name = "* Cha"
  247. wait(0.2)
  248. m.Name = "* Char"
  249. wait(0.2)
  250. m.Name = "* Chara"
  251. wait(0.2)
  252. m.Name = "* Chara."
  253. wait(0.5)
  254. m.Name = "* Chara.."
  255. wait(0.5)
  256. m.Name = "* Chara..."
  257. wait(0.5)
  258. wait(5)
  259. m:remove()
  260. end))
  261. end
  262. startup()
  263. PlayLoopedSound("MegaloStrikesBack", 1)
  264. Tool = Instance.new("HopperBin", player.Backpack)
  265. Tool.Name = "Charas Megalovania Knife"
  266. Tool.Selected:connect(function(mouse)
  267. RW.Part0 = char.Torso
  268. RW.C0 = CFrame.new(1.5, 0.5, 0)
  269. RW.C1 = CFrame.new(0, 0.5, 0)
  270. RW.Part1 = char["Right Arm"]
  271. RW.Parent = char.Torso
  272. handle = Instance.new("Part", suit)
  273. handle.TopSurface = "Smooth"
  274. handle.BottomSurface = "Smooth"
  275. handle.Size = Vector3.new(0.2, 0.5, 0.5)
  276. handle.CanCollide = false
  277. handle.BrickColor = BrickColor.new("Dark stone grey")
  278. handle.FormFactor = "Custom"
  279. local Weldb = Instance.new("Weld", char)
  280. Weldb.Part0 = char["Right Arm"]
  281. Weldb.Part1 = handle
  282. Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
  283. local KnifeMesh = Instance.new("SpecialMesh", handle)
  284. KnifeMesh.MeshType = "FileMesh"
  285. KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
  286. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
  287. function touch(hit)
  288. if vDebounce == true and hit.Parent:findFirstChild("Humanoid") ~= nil then
  289. if hit.Parent.Name == char.Name then
  290. return
  291. end
  292. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000
  293. do
  294. local HitSounds = {
  295. Hurt = Instance.new("Sound")
  296. }
  297. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  298. HitSounds.Hurt.Volume = 1
  299. function PlayHitSound(soundname, pitch)
  300. HitSounds[soundname].Parent = hit.Parent.Torso
  301. HitSounds[soundname].Pitch = pitch
  302. HitSounds[soundname]:Play()
  303. local oldsound = HitSounds[soundname]
  304. coroutine.resume(coroutine.create(function()
  305. wait(4)
  306. oldsound:Destroy()
  307. end))
  308. HitSounds[soundname] = HitSounds[soundname]:clone()
  309. end
  310. PlayHitSound("Hurt", 1)
  311. end
  312. end
  313. end
  314. handle.Touched:connect(touch)
  315. function teleportPlayer(pos)
  316. if player == nil or player.Character == nil then
  317. return
  318. end
  319. Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
  320. end
  321. function slash1()
  322. if not vDebounce then
  323. vDebounce = true
  324. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  325. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  326. wait(0.1)
  327. PlaySound("Slash", 1)
  328. coroutine.resume(coroutine.create(function()
  329. for i = 1, 10 do
  330. wait()
  331. local RedSlash = Instance.new("Part", suit)
  332. RedSlash.FormFactor = "Custom"
  333. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  334. RedSlash.Transparency = 0.5
  335. local selectionBox = Instance.new("SelectionBox", RedSlash)
  336. selectionBox.Adornee = RedSlash
  337. selectionBox.Color = BrickColor.new("Really red")
  338. selectionBox.LineThickness = 0.005
  339. RedSlash.TopSurface = 0
  340. RedSlash.BottomSurface = 0
  341. local colorc = {"Persimmon"}
  342. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  343. RedSlash.BrickColor = Fire
  344. RedSlash.CanCollide = false
  345. RedSlash.Anchored = true
  346. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  347. game.Debris:AddItem(RedSlash, 0.1)
  348. end
  349. end))
  350. for i = 1, 3 do
  351. wait()
  352. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  353. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  354. end
  355. wait(0.3)
  356. RW.C0 = CFrame.new(1.5, 0.5, 0)
  357. RW.C1 = CFrame.new(0, 0.5, 0)
  358. slashvalue = slashvalue + 1
  359. vDebounce = false
  360. end
  361. end
  362. function slash2()
  363. if not vDebounce then
  364. vDebounce = true
  365. coroutine.resume(coroutine.create(function()
  366. for i = 1, 20 do
  367. wait()
  368. local RedSlash2 = Instance.new("Part", suit)
  369. RedSlash2.FormFactor = "Custom"
  370. RedSlash2.Size = Vector3.new(0.5, 2, 0.5)
  371. RedSlash2.Transparency = 0.5
  372. local selectionBox = Instance.new("SelectionBox", RedSlash2)
  373. selectionBox.Adornee = RedSlash2
  374. selectionBox.Color = BrickColor.new("Really red")
  375. selectionBox.LineThickness = 0.005
  376. RedSlash2.TopSurface = 0
  377. RedSlash2.BottomSurface = 0
  378. local colorc = {"Persimmon"}
  379. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  380. RedSlash2.BrickColor = Fire
  381. RedSlash2.CanCollide = false
  382. RedSlash2.Anchored = true
  383. RedSlash2.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  384. game.Debris:AddItem(RedSlash2, 0.2)
  385. end
  386. end))
  387. for i = 1, 10 do
  388. wait()
  389. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  390. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  391. end
  392. PlaySound("Slash", 1)
  393. for i = 1, 3 do
  394. wait()
  395. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  396. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  397. end
  398. wait(0.3)
  399. RW.C0 = CFrame.new(1.5, 0.5, 0)
  400. RW.C1 = CFrame.new(0, 0.5, 0)
  401. slashvalue = slashvalue + 1
  402. vDebounce = false
  403. end
  404. end
  405. function slash3()
  406. if not vDebounce then
  407. vDebounce = true
  408. PlaySound("Slash", 1)
  409. coroutine.resume(coroutine.create(function()
  410. for i = 1, 20 do
  411. wait()
  412. local RedSlash3 = Instance.new("Part", suit)
  413. RedSlash3.FormFactor = "Custom"
  414. RedSlash3.Size = Vector3.new(0.5, 2, 0.5)
  415. RedSlash3.Transparency = 0.5
  416. local selectionBox = Instance.new("SelectionBox", RedSlash3)
  417. selectionBox.Adornee = RedSlash3
  418. selectionBox.Color = BrickColor.new("Really red")
  419. selectionBox.LineThickness = 0.005
  420. RedSlash3.TopSurface = 0
  421. RedSlash3.BottomSurface = 0
  422. local colorc = {"Persimmon"}
  423. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  424. RedSlash3.BrickColor = Fire
  425. RedSlash3.CanCollide = false
  426. RedSlash3.Anchored = true
  427. RedSlash3.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  428. game.Debris:AddItem(RedSlash3, 0.3)
  429. end
  430. end))
  431. for i = 1, 3 do
  432. wait()
  433. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  434. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  435. end
  436. wait(0.3)
  437. PlaySound("Slash", 1)
  438. for i = 1, 3 do
  439. wait()
  440. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  441. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  442. end
  443. wait(0.3)
  444. RW.C0 = CFrame.new(1.5, 0.5, 0)
  445. RW.C1 = CFrame.new(0, 0.5, 0)
  446. slashvalue = slashvalue - 2
  447. vDebounce = false
  448. end
  449. end
  450. function KnifeBeam1()
  451. if not vDebounce then
  452. vDebounce = true
  453. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  454. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  455. wait(0.1)
  456. PlaySound("Slash", 1)
  457. coroutine.resume(coroutine.create(function()
  458. for i = 1, 10 do
  459. wait()
  460. local p = Instance.new("Part", handle)
  461. p.FormFactor = "Custom"
  462. p.Size = Vector3.new(1, 0.5, 1)
  463. p.Transparency = 0.5
  464. local selectionBox = Instance.new("SelectionBox", p)
  465. selectionBox.Adornee = p
  466. selectionBox.Color = BrickColor.new("Really red")
  467. selectionBox.LineThickness = 0.005
  468. p.Material = "Neon"
  469. p.TopSurface = 0
  470. p.BottomSurface = 0
  471. local colorc = {"Persimmon"}
  472. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  473. p.BrickColor = Fire
  474. p.CanCollide = false
  475. p.Anchored = true
  476. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  477. game.Debris:AddItem(p, 0.1)
  478. end
  479. end))
  480. for i = 1, 3 do
  481. wait()
  482. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  483. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  484. end
  485. coroutine.resume(coroutine.create(function()
  486. local ps = Instance.new("Part", suit)
  487. ps.Name = "MagicPart"
  488. ps.TopSurface = "Smooth"
  489. ps.BottomSurface = "Smooth"
  490. ps.BrickColor = BrickColor.new("Bright red")
  491. ps.Material = "Neon"
  492. ps.FormFactor = "Custom"
  493. ps.Size = Vector3.new(5, 1, 1)
  494. ps.Anchored = true
  495. ps.Transparency = 0.5
  496. ps.CanCollide = false
  497. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  498. local selectionBox = Instance.new("SelectionBox", ps)
  499. selectionBox.Adornee = ps
  500. selectionBox.Color = BrickColor.new("Persimmon")
  501. selectionBox.LineThickness = 0.2
  502. selectionBox.Transparency = 0.5
  503. function touch(hit)
  504. if hit.Parent.Name == char.Name then
  505. return
  506. end
  507. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  508. ps:remove()
  509. if hit.Parent.Name == char.Name then
  510. return
  511. end
  512. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000000000000000000000000000
  513. do
  514. local HitSounds = {
  515. Hurt = Instance.new("Sound")
  516. }
  517. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  518. HitSounds.Hurt.Volume = 1
  519. function PlayHitSound(soundname, pitch)
  520. HitSounds[soundname].Parent = hit.Parent.Torso
  521. HitSounds[soundname].Pitch = pitch
  522. HitSounds[soundname]:Play()
  523. local oldsound = HitSounds[soundname]
  524. coroutine.resume(coroutine.create(function()
  525. wait(4)
  526. oldsound:Destroy()
  527. end))
  528. HitSounds[soundname] = HitSounds[soundname]:clone()
  529. end
  530. PlayHitSound("Hurt", 1)
  531. end
  532. end
  533. end
  534. ps.Touched:connect(touch)
  535. coroutine.resume(coroutine.create(function()
  536. for i = 1, 50 do
  537. wait()
  538. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  539. end
  540. ps.Transparency = ps.Transparency + 1
  541. wait()
  542. ps.Transparency = ps.Transparency + 1
  543. wait()
  544. ps.Transparency = ps.Transparency + 1
  545. wait()
  546. ps.Transparency = ps.Transparency + 1
  547. wait()
  548. ps.Transparency = ps.Transparency + 1
  549. wait()
  550. ps:remove()
  551. end))
  552. end))
  553. wait(0.3)
  554. RW.C0 = CFrame.new(1.5, 0.5, 0)
  555. RW.C1 = CFrame.new(0, 0.5, 0)
  556. beamvalue = beamvalue + 1
  557. vDebounce = false
  558. end
  559. end
  560. function KnifeBeam2()
  561. if not vDebounce then
  562. vDebounce = true
  563. coroutine.resume(coroutine.create(function()
  564. for i = 1, 20 do
  565. wait()
  566. local p = Instance.new("Part", handle)
  567. p.FormFactor = "Custom"
  568. p.Size = Vector3.new(1, 0.5, 1)
  569. p.Transparency = 0.5
  570. local selectionBox = Instance.new("SelectionBox", p)
  571. selectionBox.Adornee = p
  572. selectionBox.Color = BrickColor.new("Really red")
  573. selectionBox.LineThickness = 0.005
  574. p.TopSurface = 0
  575. p.BottomSurface = 0
  576. local colorc = {"Persimmon"}
  577. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  578. p.BrickColor = Fire
  579. p.CanCollide = false
  580. p.Anchored = true
  581. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  582. game.Debris:AddItem(p, 0.2)
  583. end
  584. end))
  585. for i = 1, 10 do
  586. wait()
  587. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  588. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  589. end
  590. PlaySound("Slash", 1)
  591. for i = 1, 3 do
  592. wait()
  593. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  594. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  595. end
  596. coroutine.resume(coroutine.create(function()
  597. local ps = Instance.new("Part", suit)
  598. ps.Name = "MagicPart"
  599. ps.TopSurface = "Smooth"
  600. ps.BottomSurface = "Smooth"
  601. ps.BrickColor = BrickColor.new("Bright red")
  602. ps.Material = "Neon"
  603. ps.FormFactor = "Custom"
  604. ps.Size = Vector3.new(1, 5, 1)
  605. ps.Anchored = true
  606. ps.Transparency = 0.5
  607. ps.CanCollide = false
  608. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(-10, 0, 0)
  609. local selectionBox = Instance.new("SelectionBox", ps)
  610. selectionBox.Adornee = ps
  611. selectionBox.Color = BrickColor.new("Persimmon")
  612. selectionBox.LineThickness = 0.2
  613. selectionBox.Transparency = 0.5
  614. function touch(hit)
  615. if hit.Parent.Name == char.Name then
  616. return
  617. end
  618. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  619. ps:remove()
  620. if hit.Parent.Name == char.Name then
  621. return
  622. end
  623. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10000000000000000000000000000000000000000000000000
  624. do
  625. local HitSounds = {
  626. Hurt = Instance.new("Sound")
  627. }
  628. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  629. HitSounds.Hurt.Volume = 1
  630. function PlayHitSound(soundname, pitch)
  631. HitSounds[soundname].Parent = hit.Parent.Torso
  632. HitSounds[soundname].Pitch = pitch
  633. HitSounds[soundname]:Play()
  634. local oldsound = HitSounds[soundname]
  635. coroutine.resume(coroutine.create(function()
  636. wait(4)
  637. oldsound:Destroy()
  638. end))
  639. HitSounds[soundname] = HitSounds[soundname]:clone()
  640. end
  641. PlayHitSound("Hurt", 1)
  642. end
  643. end
  644. end
  645. ps.Touched:connect(touch)
  646. coroutine.resume(coroutine.create(function()
  647. for i = 1, 50 do
  648. wait()
  649. ps.CFrame = ps.CFrame * CFrame.new(0, -1.9, 3)
  650. end
  651. ps.Transparency = ps.Transparency + 1
  652. wait()
  653. ps.Transparency = ps.Transparency + 1
  654. wait()
  655. ps.Transparency = ps.Transparency + 1
  656. wait()
  657. ps.Transparency = ps.Transparency + 1
  658. wait()
  659. ps.Transparency = ps.Transparency + 1
  660. wait()
  661. ps:remove()
  662. end))
  663. end))
  664. wait(0.3)
  665. RW.C0 = CFrame.new(1.5, 0.5, 0)
  666. RW.C1 = CFrame.new(0, 0.5, 0)
  667. beamvalue = beamvalue + 1
  668. vDebounce = false
  669. end
  670. end
  671. function KnifeBeam3()
  672. if not vDebounce then
  673. vDebounce = true
  674. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  675. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  676. wait(0.1)
  677. PlaySound("Slash", 1)
  678. coroutine.resume(coroutine.create(function()
  679. for i = 1, 10 do
  680. wait()
  681. local p = Instance.new("Part", handle)
  682. p.FormFactor = "Custom"
  683. p.Size = Vector3.new(1, 0.5, 1)
  684. p.Transparency = 0.5
  685. local selectionBox = Instance.new("SelectionBox", p)
  686. selectionBox.Adornee = p
  687. selectionBox.Color = BrickColor.new("Really red")
  688. selectionBox.LineThickness = 0.005
  689. p.Material = "Neon"
  690. p.TopSurface = 0
  691. p.BottomSurface = 0
  692. local colorc = {"Persimmon"}
  693. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  694. p.BrickColor = Fire
  695. p.CanCollide = false
  696. p.Anchored = true
  697. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  698. game.Debris:AddItem(p, 0.1)
  699. end
  700. end))
  701. for i = 1, 3 do
  702. wait()
  703. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  704. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  705. end
  706. coroutine.resume(coroutine.create(function()
  707. local ps = Instance.new("Part", suit)
  708. ps.Name = "MagicPart"
  709. ps.TopSurface = "Smooth"
  710. ps.BottomSurface = "Smooth"
  711. ps.BrickColor = BrickColor.new("Bright red")
  712. ps.Material = "Neon"
  713. ps.FormFactor = "Custom"
  714. ps.Size = Vector3.new(10, 10, 1)
  715. ps.Anchored = true
  716. ps.Transparency = 0.5
  717. ps.CanCollide = false
  718. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  719. local selectionBox = Instance.new("SelectionBox", ps)
  720. selectionBox.Adornee = ps
  721. selectionBox.Color = BrickColor.new("Persimmon")
  722. selectionBox.LineThickness = 0.2
  723. selectionBox.Transparency = 0.5
  724. function touch(hit)
  725. if hit.Parent.Name == char.Name then
  726. return
  727. end
  728. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  729. ps:remove()
  730. if hit.Parent.Name == char.Name then
  731. return
  732. end
  733. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000
  734. do
  735. local HitSounds = {
  736. Hurt = Instance.new("Sound")
  737. }
  738. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  739. HitSounds.Hurt.Volume = 1
  740. function PlayHitSound(soundname, pitch)
  741. HitSounds[soundname].Parent = hit.Parent.Torso
  742. HitSounds[soundname].Pitch = pitch
  743. HitSounds[soundname]:Play()
  744. local oldsound = HitSounds[soundname]
  745. coroutine.resume(coroutine.create(function()
  746. wait(4)
  747. oldsound:Destroy()
  748. end))
  749. HitSounds[soundname] = HitSounds[soundname]:clone()
  750. end
  751. PlayHitSound("Hurt", 1)
  752. end
  753. end
  754. end
  755. ps.Touched:connect(touch)
  756. coroutine.resume(coroutine.create(function()
  757. for i = 1, 50 do
  758. wait()
  759. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -5)
  760. end
  761. ps.Transparency = ps.Transparency + 1
  762. wait()
  763. ps.Transparency = ps.Transparency + 1
  764. wait()
  765. ps.Transparency = ps.Transparency + 1
  766. wait()
  767. ps.Transparency = ps.Transparency + 1
  768. wait()
  769. ps.Transparency = ps.Transparency + 1
  770. wait()
  771. ps:remove()
  772. end))
  773. end))
  774. wait(0.3)
  775. RW.C0 = CFrame.new(1.5, 0.5, 0)
  776. RW.C1 = CFrame.new(0, 0.5, 0)
  777. beamvalue = beamvalue - 2
  778. vDebounce = false
  779. end
  780. end
  781. function drawded()
  782. if onehitkill == true then
  783. onehitkill = false
  784. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  785. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  786. wait(0.1)
  787. PlaySound("Slash", 1)
  788. coroutine.resume(coroutine.create(function()
  789. for i = 1, 10 do
  790. wait()
  791. local p = Instance.new("Part", handle)
  792. p.FormFactor = "Custom"
  793. p.Size = Vector3.new(1, 1, 1)
  794. p.Transparency = 0.5
  795. local selectionBox = Instance.new("SelectionBox", p)
  796. selectionBox.Adornee = p
  797. selectionBox.Color = BrickColor.new("Really red")
  798. selectionBox.LineThickness = 0.001
  799. p.TopSurface = 0
  800. p.BottomSurface = 0
  801. local colorc = {
  802. "Really red"
  803. }
  804. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  805. p.BrickColor = Fire
  806. p.CanCollide = false
  807. p.Anchored = true
  808. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  809. game.Debris:AddItem(p, 0.1)
  810. end
  811. end))
  812. for i = 1, 3 do
  813. wait()
  814. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  815. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  816. end
  817. coroutine.resume(coroutine.create(function()
  818. ultra = Instance.new("Part", suit)
  819. ultra.Name = "MagicPart"
  820. ultra.TopSurface = "Smooth"
  821. ultra.BottomSurface = "Smooth"
  822. ultra.BrickColor = BrickColor.new("Really red")
  823. ultra.Material = "Neon"
  824. ultra.FormFactor = "Custom"
  825. ultra.Size = Vector3.new(5, 1, 1)
  826. ultra.Anchored = true
  827. ultra.CanCollide = false
  828. ultra.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  829. local selectionBox = Instance.new("SelectionBox", ultra)
  830. selectionBox.Adornee = ultra
  831. selectionBox.Color = BrickColor.new("Really red")
  832. selectionBox.LineThickness = 0.01
  833. selectionBox.Transparency = 0
  834. end))
  835. wait(0.3)
  836. RW.C0 = CFrame.new(1.5, 0.5, 0)
  837. RW.C1 = CFrame.new(0, 0.5, 0)
  838. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  839. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  840. wait(0.1)
  841. PlaySound("Slash", 1)
  842. coroutine.resume(coroutine.create(function()
  843. for i = 1, 10 do
  844. wait()
  845. local p = Instance.new("Part", handle)
  846. p.FormFactor = "Custom"
  847. p.Size = Vector3.new(1, 0.5, 1)
  848. p.Transparency = 0.5
  849. local selectionBox = Instance.new("SelectionBox", p)
  850. selectionBox.Adornee = p
  851. selectionBox.Color = BrickColor.new("Really red")
  852. selectionBox.LineThickness = 0.001
  853. p.TopSurface = 0
  854. p.BottomSurface = 0
  855. local colorc = {
  856. "Really red"
  857. }
  858. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  859. p.BrickColor = Fire
  860. p.CanCollide = false
  861. p.Anchored = true
  862. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  863. game.Debris:AddItem(p, 0.1)
  864. end
  865. end))
  866. for i = 1, 3 do
  867. wait()
  868. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  869. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  870. end
  871. coroutine.resume(coroutine.create(function()
  872. ultra2 = Instance.new("Part", suit)
  873. ultra2.Name = "MagicPart"
  874. ultra2.TopSurface = "Smooth"
  875. ultra2.BottomSurface = "Smooth"
  876. ultra2.BrickColor = BrickColor.new("Really red")
  877. ultra2.Material = "Neon"
  878. ultra2.FormFactor = "Custom"
  879. ultra2.Size = Vector3.new(5, 1, 1)
  880. ultra2.Anchored = true
  881. ultra2.CanCollide = false
  882. ultra2.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  883. local selectionBox = Instance.new("SelectionBox", ultra2)
  884. selectionBox.Adornee = ultra2
  885. selectionBox.Color = BrickColor.new("Really red")
  886. selectionBox.LineThickness = 0.01
  887. selectionBox.Transparency = 0
  888. end))
  889. wait(0.3)
  890. RW.C0 = CFrame.new(1.5, 0.5, 0)
  891. RW.C1 = CFrame.new(0, 0.5, 0)
  892. PlaySound("Slash", 1)
  893. coroutine.resume(coroutine.create(function()
  894. ultra3 = Instance.new("Part", suit)
  895. ultra3.Name = "MagicPart"
  896. ultra3.TopSurface = "Smooth"
  897. ultra3.BottomSurface = "Smooth"
  898. ultra3.BrickColor = BrickColor.new("Really red")
  899. ultra3.Material = "Neon"
  900. ultra3.FormFactor = "Custom"
  901. ultra3.Size = Vector3.new(1, 5, 1)
  902. ultra3.Anchored = true
  903. ultra3.CanCollide = false
  904. ultra3.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  905. local selectionBox = Instance.new("SelectionBox", ultra3)
  906. selectionBox.Adornee = ultra3
  907. selectionBox.Color = BrickColor.new("Really red")
  908. selectionBox.LineThickness = 0.01
  909. selectionBox.Transparency = 0
  910. end))
  911. coroutine.resume(coroutine.create(function()
  912. for i = 1, 10 do
  913. wait()
  914. local p = Instance.new("Part", handle)
  915. p.FormFactor = "Custom"
  916. p.Size = Vector3.new(1, 0.5, 1)
  917. p.Transparency = 0.5
  918. local selectionBox = Instance.new("SelectionBox", p)
  919. selectionBox.Adornee = p
  920. selectionBox.Color = BrickColor.new("Really red")
  921. selectionBox.LineThickness = 0.001
  922. p.TopSurface = 0
  923. p.BottomSurface = 0
  924. local colorc = {
  925. "Really red"
  926. }
  927. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  928. p.BrickColor = Fire
  929. p.CanCollide = false
  930. p.Anchored = true
  931. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  932. game.Debris:AddItem(p, 0.1)
  933. end
  934. end))
  935. coroutine.resume(coroutine.create(function()
  936. for i = 1, 20 do
  937. wait()
  938. local p = Instance.new("Part", handle)
  939. p.FormFactor = "Custom"
  940. p.Size = Vector3.new(1, 0.5, 1)
  941. p.Transparency = 0.5
  942. local selectionBox = Instance.new("SelectionBox", p)
  943. selectionBox.Adornee = p
  944. selectionBox.Color = BrickColor.new("Really red")
  945. selectionBox.LineThickness = 0.005
  946. p.TopSurface = 0
  947. p.BottomSurface = 0
  948. local colorc = {"Persimmon"}
  949. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  950. p.BrickColor = Fire
  951. p.CanCollide = false
  952. p.Anchored = true
  953. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  954. game.Debris:AddItem(p, 0.3)
  955. end
  956. end))
  957. for i = 1, 3 do
  958. wait()
  959. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  960. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  961. end
  962. wait(0.3)
  963. PlaySound("Slash", 1)
  964. coroutine.resume(coroutine.create(function()
  965. ultra4 = Instance.new("Part", suit)
  966. ultra4.Name = "MagicPart"
  967. ultra4.TopSurface = "Smooth"
  968. ultra4.BottomSurface = "Smooth"
  969. ultra4.BrickColor = BrickColor.new("Really red")
  970. ultra4.Material = "Neon"
  971. ultra4.FormFactor = "Custom"
  972. ultra4.Size = Vector3.new(1, 5, 1)
  973. ultra4.Anchored = true
  974. ultra4.CanCollide = false
  975. ultra4.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  976. local selectionBox = Instance.new("SelectionBox", ultra3)
  977. selectionBox.Adornee = ultra4
  978. selectionBox.Color = BrickColor.new("Really red")
  979. selectionBox.LineThickness = 0.01
  980. selectionBox.Transparency = 0
  981. end))
  982. for i = 1, 3 do
  983. wait()
  984. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  985. RW.C1 = cf(0, 0.5, 0) * euler(0.3 * i, 0, 0)
  986. end
  987. wait(0.3)
  988. RW.C0 = CFrame.new(1.5, 0.5, 0)
  989. RW.C1 = CFrame.new(0, 0.5, 0)
  990. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  991. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  992. wait(0.1)
  993. PlaySound("Slash", 1)
  994. coroutine.resume(coroutine.create(function()
  995. for i = 1, 10 do
  996. wait()
  997. local p = Instance.new("Part", handle)
  998. p.FormFactor = "Custom"
  999. p.Size = Vector3.new(1, 0.5, 1)
  1000. p.Transparency = 0.5
  1001. local selectionBox = Instance.new("SelectionBox", p)
  1002. selectionBox.Adornee = p
  1003. selectionBox.Color = BrickColor.new("Really red")
  1004. selectionBox.LineThickness = 0.001
  1005. p.TopSurface = 0
  1006. p.BottomSurface = 0
  1007. local colorc = {
  1008. "Really red"
  1009. }
  1010. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1011. p.BrickColor = Fire
  1012. p.CanCollide = false
  1013. p.Anchored = true
  1014. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1015. game.Debris:AddItem(p, 0.1)
  1016. end
  1017. end))
  1018. for i = 1, 3 do
  1019. wait()
  1020. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1021. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1022. end
  1023. coroutine.resume(coroutine.create(function()
  1024. ultra5 = Instance.new("Part", suit)
  1025. ultra5.Name = "MagicPart"
  1026. ultra5.TopSurface = "Smooth"
  1027. ultra5.BottomSurface = "Smooth"
  1028. ultra5.BrickColor = BrickColor.new("Really red")
  1029. ultra5.Material = "Neon"
  1030. ultra5.FormFactor = "Custom"
  1031. ultra5.Size = Vector3.new(5, 1, 1)
  1032. ultra5.Anchored = true
  1033. ultra5.CanCollide = false
  1034. ultra5.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1035. local selectionBox = Instance.new("SelectionBox", ultra2)
  1036. selectionBox.Adornee = ultra5
  1037. selectionBox.Color = BrickColor.new("Really red")
  1038. selectionBox.LineThickness = 0.01
  1039. selectionBox.Transparency = 0
  1040. end))
  1041. wait()
  1042. local p = Instance.new("Part", handle)
  1043. p.FormFactor = "Custom"
  1044. p.Material = "Neon"
  1045. p.Size = Vector3.new(1, 2, 1)
  1046. p.Transparency = 0
  1047. local selectionBox = Instance.new("SelectionBox", p)
  1048. selectionBox.Adornee = p
  1049. selectionBox.Color = BrickColor.new("Really red")
  1050. selectionBox.LineThickness = 0.001
  1051. p.TopSurface = 0
  1052. p.BottomSurface = 0
  1053. local colorc = {
  1054. "Really red"
  1055. }
  1056. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1057. p.BrickColor = Fire
  1058. p.CanCollide = false
  1059. p.Anchored = true
  1060. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1061. local light1 = Instance.new("SpotLight", p)
  1062. light1.Brightness = 164
  1063. light1.Color = Color3.new(255, 0, 0)
  1064. light1.Range = 7
  1065. for i = 1, 13 do
  1066. p.Transparency = p.Transparency + 0.1
  1067. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1068. wait()
  1069. end
  1070. game.Debris:AddItem(p, 0.1)
  1071. coroutine.resume(coroutine.create(function()
  1072. coroutine.resume(coroutine.create(function()
  1073. for i = 1, 100 do
  1074. wait()
  1075. ultra.CFrame = ultra.CFrame * CFrame.new(0, 0, -4)
  1076. end
  1077. end))
  1078. coroutine.resume(coroutine.create(function()
  1079. for i = 1, 100 do
  1080. wait()
  1081. ultra2.CFrame = ultra2.CFrame * CFrame.new(0, 0, -4)
  1082. end
  1083. end))
  1084. coroutine.resume(coroutine.create(function()
  1085. for i = 1, 100 do
  1086. wait()
  1087. ultra3.CFrame = ultra3.CFrame * CFrame.new(0, 0, -4)
  1088. end
  1089. end))
  1090. coroutine.resume(coroutine.create(function()
  1091. for i = 1, 100 do
  1092. wait()
  1093. ultra4.CFrame = ultra4.CFrame * CFrame.new(0, 0, -4)
  1094. end
  1095. end))
  1096. coroutine.resume(coroutine.create(function()
  1097. for i = 1, 100 do
  1098. wait()
  1099. ultra5.CFrame = ultra5.CFrame * CFrame.new(0, 0, -4)
  1100. end
  1101. end))
  1102. wait(3)
  1103. ultra.Transparency = ultra.Transparency + 1
  1104. ultra2.Transparency = ultra2.Transparency + 1
  1105. ultra3.Transparency = ultra3.Transparency + 1
  1106. ultra4.Transparency = ultra4.Transparency + 1
  1107. ultra5.Transparency = ultra5.Transparency + 1
  1108. wait()
  1109. ultra.Transparency = ultra.Transparency + 1
  1110. ultra2.Transparency = ultra2.Transparency + 1
  1111. ultra3.Transparency = ultra3.Transparency + 1
  1112. ultra4.Transparency = ultra4.Transparency + 1
  1113. ultra5.Transparency = ultra5.Transparency + 1
  1114. wait()
  1115. ultra.Transparency = ultra.Transparency + 1
  1116. ultra2.Transparency = ultra2.Transparency + 1
  1117. ultra3.Transparency = ultra3.Transparency + 1
  1118. ultra4.Transparency = ultra4.Transparency + 1
  1119. ultra5.Transparency = ultra5.Transparency + 1
  1120. wait()
  1121. ultra.Transparency = ultra.Transparency + 1
  1122. ultra2.Transparency = ultra2.Transparency + 1
  1123. ultra3.Transparency = ultra3.Transparency + 1
  1124. ultra4.Transparency = ultra4.Transparency + 1
  1125. ultra5.Transparency = ultra5.Transparency + 1
  1126. wait()
  1127. ultra.Transparency = ultra.Transparency + 1
  1128. ultra2.Transparency = ultra2.Transparency + 1
  1129. ultra3.Transparency = ultra3.Transparency + 1
  1130. ultra4.Transparency = ultra4.Transparency + 1
  1131. ultra5.Transparency = ultra5.Transparency + 1
  1132. wait()
  1133. ultra:remove()
  1134. ultra2:remove()
  1135. ultra3:remove()
  1136. ultra4:remove()
  1137. ultra5:remove()
  1138. end))
  1139. function touch(hit)
  1140. if hit.Parent.Name == char.Name then
  1141. return
  1142. end
  1143. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1144. if hit.Parent.Name == char.Name then
  1145. return
  1146. end
  1147. hit.Parent:BreakJoints()
  1148. ultra:remove()
  1149. do
  1150. local HitSounds = {
  1151. Hurt = Instance.new("Sound")
  1152. }
  1153. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1154. HitSounds.Hurt.Volume = 1
  1155. function PlayHitSound(soundname, pitch)
  1156. HitSounds[soundname].Parent = hit.Parent.Torso
  1157. HitSounds[soundname].Pitch = pitch
  1158. HitSounds[soundname]:Play()
  1159. local oldsound = HitSounds[soundname]
  1160. coroutine.resume(coroutine.create(function()
  1161. wait(4)
  1162. oldsound:Destroy()
  1163. end))
  1164. HitSounds[soundname] = HitSounds[soundname]:clone()
  1165. end
  1166. PlayHitSound("Hurt", 1)
  1167. end
  1168. end
  1169. end
  1170. ultra.Touched:connect(touch)
  1171. function touch(hit)
  1172. if hit.Parent.Name == char.Name then
  1173. return
  1174. end
  1175. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1176. if hit.Parent.Name == char.Name then
  1177. return
  1178. end
  1179. hit.Parent:BreakJoints()
  1180. ultra2:remove()
  1181. do
  1182. local HitSounds = {
  1183. Hurt = Instance.new("Sound")
  1184. }
  1185. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1186. HitSounds.Hurt.Volume = 1
  1187. function PlayHitSound(soundname, pitch)
  1188. HitSounds[soundname].Parent = hit.Parent.Torso
  1189. HitSounds[soundname].Pitch = pitch
  1190. HitSounds[soundname]:Play()
  1191. local oldsound = HitSounds[soundname]
  1192. coroutine.resume(coroutine.create(function()
  1193. wait(4)
  1194. oldsound:Destroy()
  1195. end))
  1196. HitSounds[soundname] = HitSounds[soundname]:clone()
  1197. end
  1198. PlayHitSound("Hurt", 1)
  1199. end
  1200. end
  1201. end
  1202. ultra2.Touched:connect(touch)
  1203. function touch(hit)
  1204. if hit.Parent.Name == char.Name then
  1205. return
  1206. end
  1207. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1208. if hit.Parent.Name == char.Name then
  1209. return
  1210. end
  1211. hit.Parent:BreakJoints()
  1212. ultra2:remove()
  1213. do
  1214. local HitSounds = {
  1215. Hurt = Instance.new("Sound")
  1216. }
  1217. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1218. HitSounds.Hurt.Volume = 1
  1219. function PlayHitSound(soundname, pitch)
  1220. HitSounds[soundname].Parent = hit.Parent.Torso
  1221. HitSounds[soundname].Pitch = pitch
  1222. HitSounds[soundname]:Play()
  1223. local oldsound = HitSounds[soundname]
  1224. coroutine.resume(coroutine.create(function()
  1225. wait(4)
  1226. oldsound:Destroy()
  1227. end))
  1228. HitSounds[soundname] = HitSounds[soundname]:clone()
  1229. end
  1230. PlayHitSound("Hurt", 1)
  1231. end
  1232. end
  1233. end
  1234. ultra2.Touched:connect(touch)
  1235. function touch(hit)
  1236. if hit.Parent.Name == char.Name then
  1237. return
  1238. end
  1239. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1240. if hit.Parent.Name == char.Name then
  1241. return
  1242. end
  1243. hit.Parent:BreakJoints()
  1244. ultra3:remove()
  1245. do
  1246. local HitSounds = {
  1247. Hurt = Instance.new("Sound")
  1248. }
  1249. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1250. HitSounds.Hurt.Volume = 1
  1251. function PlayHitSound(soundname, pitch)
  1252. HitSounds[soundname].Parent = hit.Parent.Torso
  1253. HitSounds[soundname].Pitch = pitch
  1254. HitSounds[soundname]:Play()
  1255. local oldsound = HitSounds[soundname]
  1256. coroutine.resume(coroutine.create(function()
  1257. wait(4)
  1258. oldsound:Destroy()
  1259. end))
  1260. HitSounds[soundname] = HitSounds[soundname]:clone()
  1261. end
  1262. PlayHitSound("Hurt", 1)
  1263. end
  1264. end
  1265. end
  1266. ultra3.Touched:connect(touch)
  1267. function touch(hit)
  1268. if hit.Parent.Name == char.Name then
  1269. return
  1270. end
  1271. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1272. if hit.Parent.Name == char.Name then
  1273. return
  1274. end
  1275. hit.Parent:BreakJoints()
  1276. ultra4:remove()
  1277. do
  1278. local HitSounds = {
  1279. Hurt = Instance.new("Sound")
  1280. }
  1281. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1282. HitSounds.Hurt.Volume = 1
  1283. function PlayHitSound(soundname, pitch)
  1284. HitSounds[soundname].Parent = hit.Parent.Torso
  1285. HitSounds[soundname].Pitch = pitch
  1286. HitSounds[soundname]:Play()
  1287. local oldsound = HitSounds[soundname]
  1288. coroutine.resume(coroutine.create(function()
  1289. wait(4)
  1290. oldsound:Destroy()
  1291. end))
  1292. HitSounds[soundname] = HitSounds[soundname]:clone()
  1293. end
  1294. PlayHitSound("Hurt", 1)
  1295. end
  1296. end
  1297. end
  1298. ultra4.Touched:connect(touch)
  1299. function touch(hit)
  1300. if hit.Parent.Name == char.Name then
  1301. return
  1302. end
  1303. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1304. if hit.Parent.Name == char.Name then
  1305. return
  1306. end
  1307. hit.Parent:BreakJoints()
  1308. ultra5:remove()
  1309. do
  1310. local HitSounds = {
  1311. Hurt = Instance.new("Sound")
  1312. }
  1313. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1314. HitSounds.Hurt.Volume = 1
  1315. function PlayHitSound(soundname, pitch)
  1316. HitSounds[soundname].Parent = hit.Parent.Torso
  1317. HitSounds[soundname].Pitch = pitch
  1318. HitSounds[soundname]:Play()
  1319. local oldsound = HitSounds[soundname]
  1320. coroutine.resume(coroutine.create(function()
  1321. wait(4)
  1322. oldsound:Destroy()
  1323. end))
  1324. HitSounds[soundname] = HitSounds[soundname]:clone()
  1325. end
  1326. PlayHitSound("Hurt", 1)
  1327. end
  1328. end
  1329. end
  1330. ultra5.Touched:connect(touch)
  1331. wait()
  1332. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1333. RW.C1 = CFrame.new(0, 0.5, 0)
  1334. local Dialogconnect = Instance.new("Part", suit)
  1335. Dialogconnect.TopSurface = "Smooth"
  1336. Dialogconnect.BottomSurface = "Smooth"
  1337. Dialogconnect.Material = "Neon"
  1338. Dialogconnect.FormFactor = "Custom"
  1339. Dialogconnect.Size = Vector3.new(1, 1, 1)
  1340. Dialogconnect.Transparency = 1
  1341. Dialogconnect.CanCollide = false
  1342. Dialogconnect.BrickColor = BrickColor.new("Persimmon")
  1343. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  1344. selectionBox1.Adornee = Dialogconnect
  1345. selectionBox1.Color = BrickColor.new("Really red")
  1346. selectionBox1.LineThickness = 0.01
  1347. selectionBox1.Transparency = 1
  1348. local Weld = Instance.new("Weld", char)
  1349. Weld.Part0 = char.Torso
  1350. Weld.Part1 = Dialogconnect
  1351. Weld.C1 = CFrame.new(0, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1352. Dialogconnect.Transparency = 1
  1353. selectionBox1.Transparency = 1
  1354. wait()
  1355. Dialogconnect.Transparency = 0
  1356. selectionBox1.Transparency = 0
  1357. wait()
  1358. Dialogconnect.Transparency = 1
  1359. selectionBox1.Transparency = 1
  1360. wait()
  1361. Dialogconnect.Transparency = 0
  1362. selectionBox1.Transparency = 0
  1363. wait()
  1364. Dialogconnect.Transparency = 1
  1365. selectionBox1.Transparency = 1
  1366. wait()
  1367. Dialogconnect.Transparency = 0
  1368. selectionBox1.Transparency = 0
  1369. wait()
  1370. Dialogconnect.Transparency = 1
  1371. selectionBox1.Transparency = 1
  1372. wait()
  1373. Dialogconnect.Transparency = 0
  1374. selectionBox1.Transparency = 0
  1375. wait()
  1376. Dialogconnect.Transparency = 1
  1377. selectionBox1.Transparency = 1
  1378. wait()
  1379. Dialogconnect.Transparency = 0
  1380. selectionBox1.Transparency = 0
  1381. wait()
  1382. Dialogconnect.Transparency = 1
  1383. selectionBox1.Transparency = 1
  1384. wait()
  1385. Dialogconnect.Transparency = 0
  1386. selectionBox1.Transparency = 0
  1387. wait()
  1388. Dialogconnect.Transparency = 1
  1389. selectionBox1.Transparency = 1
  1390. wait()
  1391. Dialogconnect.Transparency = 0
  1392. selectionBox1.Transparency = 0
  1393. wait()
  1394. Dialogconnect.Transparency = 1
  1395. selectionBox1.Transparency = 1
  1396. wait()
  1397. Dialogconnect.Transparency = 0
  1398. selectionBox1.Transparency = 0
  1399. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  1400. wait()
  1401. Dialogconnect.Transparency = 1
  1402. selectionBox1.Transparency = 1
  1403. wait()
  1404. Dialogconnect.Transparency = 0
  1405. selectionBox1.Transparency = 0
  1406. wait()
  1407. Dialogconnect.Transparency = 1
  1408. selectionBox1.Transparency = 1
  1409. wait()
  1410. Dialogconnect.Transparency = 0
  1411. selectionBox1.Transparency = 0
  1412. wait()
  1413. Dialogconnect.Transparency = 1
  1414. selectionBox1.Transparency = 1
  1415. wait()
  1416. Dialogconnect.Transparency = 0
  1417. selectionBox1.Transparency = 0
  1418. wait()
  1419. Dialogconnect.Transparency = 1
  1420. selectionBox1.Transparency = 1
  1421. wait()
  1422. Dialogconnect.Transparency = 0
  1423. selectionBox1.Transparency = 0
  1424. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  1425. wait()
  1426. Dialogconnect.Transparency = 1
  1427. selectionBox1.Transparency = 1
  1428. wait()
  1429. Dialogconnect.Transparency = 0
  1430. selectionBox1.Transparency = 0
  1431. wait()
  1432. Dialogconnect.Transparency = 1
  1433. selectionBox1.Transparency = 1
  1434. wait()
  1435. Dialogconnect.Transparency = 0
  1436. selectionBox1.Transparency = 0
  1437. wait()
  1438. Dialogconnect.Transparency = 1
  1439. selectionBox1.Transparency = 1
  1440. wait()
  1441. Dialogconnect.Transparency = 0
  1442. selectionBox1.Transparency = 0
  1443. wait()
  1444. Dialogconnect.Transparency = 1
  1445. selectionBox1.Transparency = 1
  1446. wait()
  1447. Dialogconnect.Transparency = 0
  1448. selectionBox1.Transparency = 0
  1449. wait()
  1450. Dialogconnect.Transparency = 0
  1451. wait()
  1452. Dialogconnect.Transparency = 1
  1453. selectionBox1.Transparency = 1
  1454. wait()
  1455. Dialogconnect.Transparency = 0
  1456. selectionBox1.Transparency = 0
  1457. wait()
  1458. Dialogconnect.Transparency = 1
  1459. selectionBox1.Transparency = 1
  1460. wait()
  1461. Dialogconnect.Transparency = 0
  1462. selectionBox1.Transparency = 0
  1463. wait()
  1464. Dialogconnect.Transparency = 1
  1465. selectionBox1.Transparency = 1
  1466. wait()
  1467. Dialogconnect.Transparency = 0
  1468. selectionBox1.Transparency = 0
  1469. wait()
  1470. Dialogconnect.Transparency = 1
  1471. selectionBox1.Transparency = 1
  1472. wait()
  1473. Dialogconnect.Transparency = 0
  1474. selectionBox1.Transparency = 0
  1475. Dialogconnect:remove()
  1476. onehitkill = true
  1477. end
  1478. end
  1479. function Stuckhit()
  1480. if not vDebounce then
  1481. vDebounce = true
  1482. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1483. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1484. wait(0.1)
  1485. PlaySound("Slash", 1)
  1486. coroutine.resume(coroutine.create(function()
  1487. for i = 1, 10 do
  1488. wait()
  1489. local RedSlash = Instance.new("Part", handle)
  1490. RedSlash.FormFactor = "Custom"
  1491. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1492. RedSlash.Transparency = 0.5
  1493. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1494. selectionBox.Adornee = RedSlash
  1495. selectionBox.Color = BrickColor.new("Really red")
  1496. selectionBox.LineThickness = 0.005
  1497. RedSlash.TopSurface = 0
  1498. RedSlash.BottomSurface = 0
  1499. local colorc = {"Persimmon"}
  1500. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1501. RedSlash.BrickColor = Fire
  1502. RedSlash.CanCollide = false
  1503. RedSlash.Anchored = true
  1504. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1505. game.Debris:AddItem(RedSlash, 0.1)
  1506. end
  1507. end))
  1508. for i = 1, 3 do
  1509. wait()
  1510. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1511. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1512. end
  1513. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 1000)
  1514. local hit, position = game.Workspace:FindPartOnRay(ray, player)
  1515. wait(0.1)
  1516. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 300)
  1517. local position = mouse.Hit.p
  1518. local distance = (position - Handle.CFrame.p).magnitude
  1519. local rp = Instance.new("Part", workspace)
  1520. rp.Anchored = true
  1521. rp.TopSurface = "Smooth"
  1522. rp.BottomSurface = "Smooth"
  1523. rp.Transparency = 1
  1524. rp.BrickColor = BrickColor.new("Deep orange")
  1525. rp.FormFactor = "Custom"
  1526. rp.CanCollide = false
  1527. rp.Size = Vector3.new(0.6, 0.6, distance)
  1528. rp.Material = "Neon"
  1529. rp.CFrame = CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance / 2)
  1530. local cy = Instance.new("BlockMesh", rp)
  1531. for i = 1, 10 do
  1532. wait()
  1533. cy.Scale = cy.Scale - Vector3.new(0.1, 0.1, 0)
  1534. end
  1535. rp:Destroy()
  1536. local ps = Instance.new("Part", suit)
  1537. ps.Name = "MagicPart"
  1538. ps.TopSurface = "Smooth"
  1539. ps.BottomSurface = "Smooth"
  1540. ps.BrickColor = BrickColor.new("Persimmon")
  1541. ps.FormFactor = "Custom"
  1542. ps.Transparency = 0.9
  1543. ps.Size = Vector3.new(5, 250, 5)
  1544. ps.Anchored = true
  1545. ps.CanCollide = false
  1546. ps.CFrame = CFrame.new(position)
  1547. local cy = Instance.new("BlockMesh", ps)
  1548. function touch(hit)
  1549. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1550. if hit.Parent.Name == char.Name then
  1551. return
  1552. end
  1553. hit.Parent.Torso.Anchored = true
  1554. do
  1555. local HitSounds = {
  1556. Hurt = Instance.new("Sound")
  1557. }
  1558. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1559. HitSounds.Hurt.Volume = 1
  1560. function PlayHitSound(soundname, pitch)
  1561. HitSounds[soundname].Parent = hit.Parent.Torso
  1562. HitSounds[soundname].Pitch = pitch
  1563. HitSounds[soundname]:Play()
  1564. local oldsound = HitSounds[soundname]
  1565. coroutine.resume(coroutine.create(function()
  1566. wait(4)
  1567. oldsound:Destroy()
  1568. end))
  1569. HitSounds[soundname] = HitSounds[soundname]:clone()
  1570. end
  1571. PlayHitSound("Hurt", 1)
  1572. local p = Instance.new("Part", handle)
  1573. p.FormFactor = "Custom"
  1574. p.Material = "Neon"
  1575. p.Size = Vector3.new(1, 2, 1)
  1576. p.Transparency = 0
  1577. local selectionBox = Instance.new("SelectionBox", p)
  1578. selectionBox.Adornee = p
  1579. selectionBox.Color = BrickColor.new("Really red")
  1580. selectionBox.LineThickness = 0.001
  1581. p.TopSurface = 0
  1582. p.BottomSurface = 0
  1583. local colorc = {"Persimmon"}
  1584. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1585. p.BrickColor = Fire
  1586. p.CanCollide = false
  1587. p.Anchored = true
  1588. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1589. coroutine.resume(coroutine.create(function()
  1590. for i = 1, 100 do
  1591. wait()
  1592. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1593. end
  1594. end))
  1595. local light1 = Instance.new("SpotLight", p)
  1596. light1.Brightness = 164
  1597. light1.Color = Color3.new(255, 0, 0)
  1598. light1.Range = 7
  1599. for i = 1, 13 do
  1600. p.Transparency = p.Transparency + 0.1
  1601. wait(0.4)
  1602. end
  1603. game.Debris:AddItem(p, 0.1)
  1604. PlaySound("Slash", 1)
  1605. coroutine.resume(coroutine.create(function()
  1606. for i = 1, 10 do
  1607. wait()
  1608. local RedSlash = Instance.new("Part", handle)
  1609. RedSlash.FormFactor = "Custom"
  1610. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1611. RedSlash.Transparency = 0.5
  1612. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1613. selectionBox.Adornee = RedSlash
  1614. selectionBox.Color = BrickColor.new("Really red")
  1615. selectionBox.LineThickness = 0.005
  1616. RedSlash.TopSurface = 0
  1617. RedSlash.BottomSurface = 0
  1618. local colorc = {"Persimmon"}
  1619. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1620. RedSlash.BrickColor = Fire
  1621. RedSlash.CanCollide = false
  1622. RedSlash.Anchored = true
  1623. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1624. game.Debris:AddItem(RedSlash, 0.1)
  1625. end
  1626. end))
  1627. for i = 1, 3 do
  1628. wait()
  1629. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  1630. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  1631. end
  1632. hit.Parent.Torso.Anchored = false
  1633. hit.Parent.Torso:BreakJoints()
  1634. end
  1635. end
  1636. end
  1637. ps.Touched:connect(touch)
  1638. for i = 1, 8 do
  1639. wait(0.5)
  1640. ps.Transparency = ps.Transparency - 0.1
  1641. end
  1642. wait(2)
  1643. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1644. RW.C1 = CFrame.new(0, 0.5, 0)
  1645. ps:remove()
  1646. end
  1647. vDebounce = false
  1648. end
  1649. mouse.Button1Down:connect(function()
  1650. if slashvalue == 1 then
  1651. slash1()
  1652. elseif slashvalue == 3 then
  1653. slash3()
  1654. elseif slashvalue == 2 then
  1655. slash2()
  1656. end
  1657. end)
  1658. function WelcomeToMySpecialAttack()
  1659. CharaTalks()
  1660. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1661. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1662. wait(0.1)
  1663. PlaySound("Slash", 1)
  1664. coroutine.resume(coroutine.create(function()
  1665. for i = 1, 10 do
  1666. wait()
  1667. local RedSlash = Instance.new("Part", handle)
  1668. RedSlash.FormFactor = "Custom"
  1669. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1670. RedSlash.Transparency = 0.5
  1671. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1672. selectionBox.Adornee = RedSlash
  1673. selectionBox.Color = BrickColor.new("Really red")
  1674. selectionBox.LineThickness = 0.005
  1675. RedSlash.TopSurface = 0
  1676. RedSlash.BottomSurface = 0
  1677. local colorc = {"Persimmon"}
  1678. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1679. RedSlash.BrickColor = Fire
  1680. RedSlash.CanCollide = false
  1681. RedSlash.Anchored = true
  1682. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1683. game.Debris:AddItem(RedSlash, 0.1)
  1684. end
  1685. end))
  1686. for i = 1, 3 do
  1687. wait()
  1688. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1689. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1690. end
  1691. PlaySound("Explode", 1)
  1692. coroutine.resume(coroutine.create(function()
  1693. local ps = Instance.new("Part", suit)
  1694. ps.Name = "MagicPart"
  1695. ps.TopSurface = "Smooth"
  1696. ps.BottomSurface = "Smooth"
  1697. ps.BrickColor = BrickColor.new("Persimmon")
  1698. ps.Material = "Neon"
  1699. ps.FormFactor = "Custom"
  1700. ps.Size = Vector3.new(1500, 1500, 1000)
  1701. ps.Anchored = true
  1702. ps.Transparency = 0
  1703. ps.CanCollide = false
  1704. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -55) * CFrame.Angles(0, 0, 0)
  1705. local selectionBox = Instance.new("SelectionBox", ps)
  1706. selectionBox.Adornee = ps
  1707. selectionBox.Color = BrickColor.new("Persimmon")
  1708. selectionBox.LineThickness = 0.2
  1709. selectionBox.Transparency = 0.5
  1710. function touch(hit)
  1711. if hit.Parent.Name == char.Name then
  1712. return
  1713. end
  1714. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1715. if hit.Parent.Name == char.Name then
  1716. return
  1717. end
  1718. hit.Parent:BreakJoints()
  1719. do
  1720. local HitSounds = {
  1721. Hurt = Instance.new("Sound")
  1722. }
  1723. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1724. HitSounds.Hurt.Volume = 1
  1725. function PlayHitSound(soundname, pitch)
  1726. HitSounds[soundname].Parent = hit.Parent.Torso
  1727. HitSounds[soundname].Pitch = pitch
  1728. HitSounds[soundname]:Play()
  1729. local oldsound = HitSounds[soundname]
  1730. coroutine.resume(coroutine.create(function()
  1731. wait(4)
  1732. oldsound:Destroy()
  1733. end))
  1734. HitSounds[soundname] = HitSounds[soundname]:clone()
  1735. end
  1736. PlayHitSound("Hurt", 1)
  1737. end
  1738. end
  1739. end
  1740. ps.Touched:connect(touch)
  1741. coroutine.resume(coroutine.create(function()
  1742. for i = 1, 500 do
  1743. wait()
  1744. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  1745. end
  1746. ps.Transparency = ps.Transparency + 0.2
  1747. wait()
  1748. ps.Transparency = ps.Transparency + 0.2
  1749. wait()
  1750. ps.Transparency = ps.Transparency + 0.2
  1751. wait()
  1752. ps.Transparency = ps.Transparency + 0.2
  1753. wait()
  1754. ps.Transparency = ps.Transparency + 0.2
  1755. ps:remove()
  1756. end))
  1757. end))
  1758. wait(2)
  1759. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1760. RW.C1 = CFrame.new(0, 0.5, 0)
  1761. end
  1762. mouse.KeyDown:connect(function(key)
  1763. if key == "r" and specialattack == false then
  1764. specialattack = true
  1765. WelcomeToMySpecialAttack()
  1766. local Dialogconnect = Instance.new("Part", suit)
  1767. Dialogconnect.TopSurface = "Smooth"
  1768. Dialogconnect.BottomSurface = "Smooth"
  1769. Dialogconnect.Material = "Neon"
  1770. Dialogconnect.FormFactor = "Custom"
  1771. Dialogconnect.Size = Vector3.new(1, 1, 1)
  1772. Dialogconnect.Transparency = 1
  1773. Dialogconnect.CanCollide = false
  1774. Dialogconnect.BrickColor = BrickColor.new("Persimmon")
  1775. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  1776. selectionBox1.Adornee = Dialogconnect
  1777. selectionBox1.Color = BrickColor.new("Really red")
  1778. selectionBox1.LineThickness = 0.01
  1779. selectionBox1.Transparency = 1
  1780. local Weld = Instance.new("Weld", char)
  1781. Weld.Part0 = char.Torso
  1782. Weld.Part1 = Dialogconnect
  1783. Weld.C1 = CFrame.new(-3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1784. Dialogconnect.Transparency = 1
  1785. selectionBox1.Transparency = 1
  1786. wait()
  1787. Dialogconnect.Transparency = 0
  1788. selectionBox1.Transparency = 0
  1789. wait()
  1790. Dialogconnect.Transparency = 1
  1791. selectionBox1.Transparency = 1
  1792. wait()
  1793. Dialogconnect.Transparency = 0
  1794. selectionBox1.Transparency = 0
  1795. wait()
  1796. Dialogconnect.Transparency = 1
  1797. selectionBox1.Transparency = 1
  1798. wait()
  1799. Dialogconnect.Transparency = 0
  1800. selectionBox1.Transparency = 0
  1801. wait()
  1802. Dialogconnect.Transparency = 1
  1803. selectionBox1.Transparency = 1
  1804. wait()
  1805. Dialogconnect.Transparency = 0
  1806. selectionBox1.Transparency = 0
  1807. wait()
  1808. Dialogconnect.Transparency = 1
  1809. selectionBox1.Transparency = 1
  1810. wait()
  1811. Dialogconnect.Transparency = 0
  1812. selectionBox1.Transparency = 0
  1813. wait()
  1814. Dialogconnect.Transparency = 1
  1815. selectionBox1.Transparency = 1
  1816. wait()
  1817. Dialogconnect.Transparency = 0
  1818. selectionBox1.Transparency = 0
  1819. wait()
  1820. Dialogconnect.Transparency = 1
  1821. selectionBox1.Transparency = 1
  1822. wait()
  1823. Dialogconnect.Transparency = 0
  1824. selectionBox1.Transparency = 0
  1825. wait()
  1826. Dialogconnect.Transparency = 1
  1827. selectionBox1.Transparency = 1
  1828. wait()
  1829. Dialogconnect.Transparency = 0
  1830. selectionBox1.Transparency = 0
  1831. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  1832. wait()
  1833. Dialogconnect.Transparency = 1
  1834. selectionBox1.Transparency = 1
  1835. wait()
  1836. Dialogconnect.Transparency = 0
  1837. selectionBox1.Transparency = 0
  1838. wait()
  1839. Dialogconnect.Transparency = 1
  1840. selectionBox1.Transparency = 1
  1841. wait()
  1842. Dialogconnect.Transparency = 0
  1843. selectionBox1.Transparency = 0
  1844. wait()
  1845. Dialogconnect.Transparency = 1
  1846. selectionBox1.Transparency = 1
  1847. wait()
  1848. Dialogconnect.Transparency = 0
  1849. selectionBox1.Transparency = 0
  1850. wait()
  1851. Dialogconnect.Transparency = 1
  1852. selectionBox1.Transparency = 1
  1853. wait()
  1854. Dialogconnect.Transparency = 0
  1855. selectionBox1.Transparency = 0
  1856. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  1857. wait()
  1858. Dialogconnect.Transparency = 1
  1859. selectionBox1.Transparency = 1
  1860. wait()
  1861. Dialogconnect.Transparency = 0
  1862. selectionBox1.Transparency = 0
  1863. wait()
  1864. Dialogconnect.Transparency = 1
  1865. selectionBox1.Transparency = 1
  1866. wait()
  1867. Dialogconnect.Transparency = 0
  1868. selectionBox1.Transparency = 0
  1869. wait()
  1870. Dialogconnect.Transparency = 1
  1871. selectionBox1.Transparency = 1
  1872. wait()
  1873. Dialogconnect.Transparency = 0
  1874. selectionBox1.Transparency = 0
  1875. wait()
  1876. Dialogconnect.Transparency = 1
  1877. selectionBox1.Transparency = 1
  1878. wait()
  1879. Dialogconnect.Transparency = 0
  1880. selectionBox1.Transparency = 0
  1881. wait()
  1882. Dialogconnect.Transparency = 0
  1883. wait()
  1884. Dialogconnect.Transparency = 1
  1885. selectionBox1.Transparency = 1
  1886. wait()
  1887. Dialogconnect.Transparency = 0
  1888. selectionBox1.Transparency = 0
  1889. wait()
  1890. Dialogconnect.Transparency = 1
  1891. selectionBox1.Transparency = 1
  1892. wait()
  1893. Dialogconnect.Transparency = 0
  1894. selectionBox1.Transparency = 0
  1895. wait()
  1896. Dialogconnect.Transparency = 1
  1897. selectionBox1.Transparency = 1
  1898. wait()
  1899. Dialogconnect.Transparency = 0
  1900. selectionBox1.Transparency = 0
  1901. wait()
  1902. Dialogconnect.Transparency = 1
  1903. selectionBox1.Transparency = 1
  1904. wait()
  1905. Dialogconnect.Transparency = 0
  1906. selectionBox1.Transparency = 0
  1907. Dialogconnect:remove()
  1908. specialattack = false
  1909. end
  1910. if key == "q" then
  1911. if beamvalue == 1 then
  1912. KnifeBeam1()
  1913. elseif beamvalue == 2 then
  1914. KnifeBeam2()
  1915. elseif beamvalue == 3 then
  1916. KnifeBeam3()
  1917. end
  1918. end
  1919. if key == "x" and not vDebounce then
  1920. vDebounce = true
  1921. for i = 1, 5 do
  1922. wait()
  1923. Torso.Transparency = 0.5
  1924. char["Left Arm"].Transparency = 0.5
  1925. char["Left Leg"].Transparency = 0.5
  1926. char["Right Arm"].Transparency = 0.5
  1927. char["Right Leg"].Transparency = 0.5
  1928. char.Head.Transparency = 0.5
  1929. wait()
  1930. Torso.Transparency = 0
  1931. char["Left Arm"].Transparency = 0
  1932. char["Left Leg"].Transparency = 0
  1933. char["Right Arm"].Transparency = 0
  1934. char["Right Leg"].Transparency = 0
  1935. char.Head.Transparency = 0
  1936. end
  1937. teleportPlayer(mouse.hit.p)
  1938. vDebounce = false
  1939. end
  1940. if key == "z" and onehitkilltwo == true then
  1941. onehitkilltwo = false
  1942. Stuckhit()
  1943. local Dialogconnect = Instance.new("Part", suit)
  1944. Dialogconnect.TopSurface = "Smooth"
  1945. Dialogconnect.BottomSurface = "Smooth"
  1946. Dialogconnect.Material = "Neon"
  1947. Dialogconnect.FormFactor = "Custom"
  1948. Dialogconnect.Size = Vector3.new(1, 1, 1)
  1949. Dialogconnect.Transparency = 1
  1950. Dialogconnect.CanCollide = false
  1951. Dialogconnect.BrickColor = BrickColor.new("Persimmon")
  1952. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  1953. selectionBox1.Adornee = Dialogconnect
  1954. selectionBox1.Color = BrickColor.new("Really red")
  1955. selectionBox1.LineThickness = 0.01
  1956. selectionBox1.Transparency = 1
  1957. local Weld = Instance.new("Weld", char)
  1958. Weld.Part0 = char.Torso
  1959. Weld.Part1 = Dialogconnect
  1960. Weld.C1 = CFrame.new(3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1961. Dialogconnect.Transparency = 1
  1962. selectionBox1.Transparency = 1
  1963. wait()
  1964. Dialogconnect.Transparency = 0
  1965. selectionBox1.Transparency = 0
  1966. wait()
  1967. Dialogconnect.Transparency = 1
  1968. selectionBox1.Transparency = 1
  1969. wait()
  1970. Dialogconnect.Transparency = 0
  1971. selectionBox1.Transparency = 0
  1972. wait()
  1973. Dialogconnect.Transparency = 1
  1974. selectionBox1.Transparency = 1
  1975. wait()
  1976. Dialogconnect.Transparency = 0
  1977. selectionBox1.Transparency = 0
  1978. wait()
  1979. Dialogconnect.Transparency = 1
  1980. selectionBox1.Transparency = 1
  1981. wait()
  1982. Dialogconnect.Transparency = 0
  1983. selectionBox1.Transparency = 0
  1984. wait()
  1985. Dialogconnect.Transparency = 1
  1986. selectionBox1.Transparency = 1
  1987. wait()
  1988. Dialogconnect.Transparency = 0
  1989. selectionBox1.Transparency = 0
  1990. wait()
  1991. Dialogconnect.Transparency = 1
  1992. selectionBox1.Transparency = 1
  1993. wait()
  1994. Dialogconnect.Transparency = 0
  1995. selectionBox1.Transparency = 0
  1996. wait()
  1997. Dialogconnect.Transparency = 1
  1998. selectionBox1.Transparency = 1
  1999. wait()
  2000. Dialogconnect.Transparency = 0
  2001. selectionBox1.Transparency = 0
  2002. wait()
  2003. Dialogconnect.Transparency = 1
  2004. selectionBox1.Transparency = 1
  2005. wait()
  2006. Dialogconnect.Transparency = 0
  2007. selectionBox1.Transparency = 0
  2008. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2009. wait()
  2010. Dialogconnect.Transparency = 1
  2011. selectionBox1.Transparency = 1
  2012. wait()
  2013. Dialogconnect.Transparency = 0
  2014. selectionBox1.Transparency = 0
  2015. wait()
  2016. Dialogconnect.Transparency = 1
  2017. selectionBox1.Transparency = 1
  2018. wait()
  2019. Dialogconnect.Transparency = 0
  2020. selectionBox1.Transparency = 0
  2021. wait()
  2022. Dialogconnect.Transparency = 1
  2023. selectionBox1.Transparency = 1
  2024. wait()
  2025. Dialogconnect.Transparency = 0
  2026. selectionBox1.Transparency = 0
  2027. wait()
  2028. Dialogconnect.Transparency = 1
  2029. selectionBox1.Transparency = 1
  2030. wait()
  2031. Dialogconnect.Transparency = 0
  2032. selectionBox1.Transparency = 0
  2033. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2034. wait()
  2035. Dialogconnect.Transparency = 1
  2036. selectionBox1.Transparency = 1
  2037. wait()
  2038. Dialogconnect.Transparency = 0
  2039. selectionBox1.Transparency = 0
  2040. wait()
  2041. Dialogconnect.Transparency = 1
  2042. selectionBox1.Transparency = 1
  2043. wait()
  2044. Dialogconnect.Transparency = 0
  2045. selectionBox1.Transparency = 0
  2046. wait()
  2047. Dialogconnect.Transparency = 1
  2048. selectionBox1.Transparency = 1
  2049. wait()
  2050. Dialogconnect.Transparency = 0
  2051. selectionBox1.Transparency = 0
  2052. wait()
  2053. Dialogconnect.Transparency = 1
  2054. selectionBox1.Transparency = 1
  2055. wait()
  2056. Dialogconnect.Transparency = 0
  2057. selectionBox1.Transparency = 0
  2058. wait()
  2059. Dialogconnect.Transparency = 0
  2060. wait()
  2061. Dialogconnect.Transparency = 1
  2062. selectionBox1.Transparency = 1
  2063. wait()
  2064. Dialogconnect.Transparency = 0
  2065. selectionBox1.Transparency = 0
  2066. wait()
  2067. Dialogconnect.Transparency = 1
  2068. selectionBox1.Transparency = 1
  2069. wait()
  2070. Dialogconnect.Transparency = 0
  2071. selectionBox1.Transparency = 0
  2072. wait()
  2073. Dialogconnect.Transparency = 1
  2074. selectionBox1.Transparency = 1
  2075. wait()
  2076. Dialogconnect.Transparency = 0
  2077. selectionBox1.Transparency = 0
  2078. wait()
  2079. Dialogconnect.Transparency = 1
  2080. selectionBox1.Transparency = 1
  2081. wait()
  2082. Dialogconnect.Transparency = 0
  2083. selectionBox1.Transparency = 0
  2084. Dialogconnect:remove()
  2085. onehitkilltwo = true
  2086. end
  2087. if key == "e" then
  2088. drawded()
  2089. end
  2090. end)
  2091. Tool.Deselected:connect(function(mouse)
  2092. RW.Parent = nil
  2093. LW.Parent = nil
  2094. handle:remove()
  2095. RSH.Parent = player.Character.Torso
  2096. LSH.Parent = player.Character.Torso
  2097. end)
  2098. end)
  2099. function OnDeath()
  2100. GETDUNKED()
  2101. oldloopedsound:remove()
  2102. end
  2103. char.Humanoid.Died:connect(OnDeath)
  2104. print("Made By Jose Likes And Enjoys Roblox for Josemmoya")
  2105. wait(5)
  2106. print("Based on the animation Determination by Jigsaw Rules.")
  2107. wait(5)
  2108. print("Special attacks are on q,e,z,x,and m(Megalomaniac).")
  2109. print("fixed by ROBLOX")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement