Advertisement
DustyThomas

Chara Knife [LITE]

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