Advertisement
SlappyDappyCrappy

The Noob.

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