Advertisement
DustyThomas

Geno-Frisk Knife

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