Advertisement
Guest User

Untitled

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