SheeityArtist

Yukio Updated

Jun 13th, 2017
1,051
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.25 KB | None | 0 0
  1. ----------------
  2. --Yukio Katana--
  3. ----------------
  4. --By --
  5. --CKbackup-
  6. -----------
  7.  
  8. player = game.Players.LocalPlayer
  9. chara = player.Character
  10. debby = game.Debris
  11. Mouse = player:GetMouse()
  12. chara.Humanoid.WalkSpeed = 0
  13. atkd = false
  14. berserkmode = false
  15. targetted = nil
  16. freezeatk = false
  17. iaidoatk = false
  18. dfreatk = false
  19. rs = game:GetService("RunService").RenderStepped
  20. overcharge = 0
  21. attacking = false
  22.  
  23. --Outfit--
  24. New = function(Object, Parent, Name, Data)
  25. local Object = Instance.new(Object)
  26. for Index, Value in pairs(Data or {}) do
  27. Object[Index] = Value
  28. end
  29. Object.Parent = Parent
  30. Object.Name = Name
  31. return Object
  32. end
  33.  
  34. Sheath = New("Model",chara,"Sheath",{})
  35. Handle2 = New("Part",Sheath,"Handle2",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 1.39999938, 0.399999976),CFrame = CFrame.new(-16.8999863, 5.10000372, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  36. Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(1.29999995, 1, 2),})
  37. Weld = New("ManualWeld",Handle2,"Weld",{Part0 = Handle2,Part1 = chara["Left Arm"],C1 = CFrame.new(0, -1, 0, -1, 0, -0, 0, 0, -1, 0, -1, -0),})
  38. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.400000006, 2.60000014, 0.200000003),CFrame = CFrame.new(-16.8999863, 1.5000031, -7, 0, 0, 1, 0, -1, 0, 1, 0, 0),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  39. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, 0.119999997),Scale = Vector3.new(0.300000012, 2, 0.00999999978),MeshId = "http://www.roblox.com/asset/?id=1051557",MeshType = Enum.MeshType.FileMesh,})
  40. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, -0),C1 = CFrame.new(0, -3.60000062, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  41. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 5.10000372, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  42. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  43. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,})
  44. SheathHitbox = New("Part",Sheath,"SheathHitbox",{BrickColor = BrickColor.new("Deep blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 5.79999971, 0.399999976),CFrame = CFrame.new(-16.8999863, 3.10000277, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.129412, 0.329412, 0.72549),})
  45. Mesh = New("BlockMesh",SheathHitbox,"Mesh",{Scale = Vector3.new(1.10000002, 1, 1.79999995),})
  46. Weld = New("ManualWeld",SheathHitbox,"Weld",{Part0 = SheathHitbox,Part1 = Handle2,C1 = CFrame.new(0, -2.00000095, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  47. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.400000006, 2.60000014, 0.200000003),CFrame = CFrame.new(-16.8999863, 4.70000315, -7, 0, 0, 1, 0, 1, 0, -1, 0, 0),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  48. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, 0.119999997),Scale = Vector3.new(0.300000012, 2, 0.00999999978),MeshId = "http://www.roblox.com/asset/?id=1051557",MeshType = Enum.MeshType.FileMesh,})
  49. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0, -0.400000572, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  50. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.5, 0.400000006),CFrame = CFrame.new(-16.8999863, 3.10000277, -7, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  51. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.100000001, 0.5, 0.5),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  52. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, -2.00000095, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  53. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.400000006, 2.60000014, 0.200000003),CFrame = CFrame.new(-16.8999863, 4.70000315, -7, 0, 0, -1, 0, 1, 0, 1, 0, 0),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  54. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, 0.119999997),Scale = Vector3.new(0.300000012, 2, 0.00999999978),MeshId = "http://www.roblox.com/asset/?id=1051557",MeshType = Enum.MeshType.FileMesh,})
  55. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0, -0.400000572, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  56. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.5, 0.400000006),CFrame = CFrame.new(-16.8999863, 3.10000277, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  57. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.100000001, 0.5, 0.5),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  58. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, -2.00000095, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  59. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.400000006, 2.60000014, 0.200000003),CFrame = CFrame.new(-16.8999863, 1.5000031, -7, 0, 0, -1, 0, -1, 0, -1, 0, 0),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  60. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, 0.119999997),Scale = Vector3.new(0.300000012, 2, 0.00999999978),MeshId = "http://www.roblox.com/asset/?id=1051557",MeshType = Enum.MeshType.FileMesh,})
  61. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, -0, -1, 0, -0),C1 = CFrame.new(0, -3.60000062, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  62. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 0.100002766, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  63. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 2),})
  64. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, -5.00000095, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  65. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 4.7000041, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  66. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  67. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, -0.399999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  68. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 5.70000362, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  69. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  70. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.599999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  71. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 5.50000334, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  72. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  73. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.399999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  74. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 4.90000391, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  75. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  76. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  77. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999882, 6.099998, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  78. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.60000002, 1, 2.0999999),})
  79. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-1.90734863e-006, 0.999994278, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  80. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 4.50000429, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  81. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  82. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, -0.599999428, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  83. Part = New("Part",Sheath,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-16.8999863, 5.30000353, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  84. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
  85. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  86.  
  87. Yukio = New("Model",chara,"Yukio",{})
  88. Handle = New("Part",Yukio,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.99999994, 0.399999976),CFrame = CFrame.new(-18.6999989, 8.29999733, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  89. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-3.81469727e-006, 1.79999161, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  90. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999989, 8.89999771, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  91. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -0.599999905, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  92. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 5.19999981, 0.399999976),CFrame = CFrame.new(-18.6999989, 4.99999762, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  93. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
  94. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 3.29999971, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  95. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.799999714, 0.399999976),CFrame = CFrame.new(-18.6999989, 1.99999809, -2.20000005, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  96. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  97. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 6.29999924, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  98. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999989, 7.69999743, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  99. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 2),})
  100. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.599999905, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  101. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 5.19999981, 0.200000003),CFrame = CFrame.new(-18.6999989, 4.99999809, -2.29999995, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  102. Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, 0.0500000007),Scale = Vector3.new(1, 1, 1.54999995),})
  103. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 3.29999924, -0.0999999046, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  104. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.599999726, 0.200000003),CFrame = CFrame.new(-18.6999989, 2.09999752, -2.29999995, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  105. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(1, 1, 1.54999995),MeshType = Enum.MeshType.Wedge,})
  106. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 6.19999981, -0.0999999046, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  107. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.400000006, 0.399999976),CFrame = CFrame.new(-18.6999989, 7.59999752, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  108. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.10000002, 0.5, 1.10000002),})
  109. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.699999809, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  110. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 7.89999819, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  111. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  112. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-1.90734863e-006, 0.399999142, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  113. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.29999733, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  114. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  115. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-1.90734863e-006, -4.76837158e-007, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  116. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.69999695, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  117. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  118. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-1.90734863e-006, -0.400000095, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  119. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.49999809, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  120. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  121. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-1.90734863e-006, -0.20000124, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  122. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.09999847, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  123. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  124. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-1.90734863e-006, 0.199998379, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  125. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 7.89999819, -2.20000005, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  126. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  127. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-1.90734863e-006, 0.399999142, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  128. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.29999924, -2.20000005, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  129. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  130. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-1.90734863e-006, -1.43051147e-006, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  131. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.69999886, -2.20000005, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  132. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  133. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-1.90734863e-006, -0.400001049, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  134. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.49999809, -2.20000005, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  135. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  136. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-1.90734863e-006, -0.200000286, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  137. Part = New("Part",Yukio,"Part",{BrickColor = BrickColor.new("Pastel blue-green"),Material = Enum.Material.Ice,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(-18.6999969, 8.09999847, -2.20000005, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.623529, 0.952941, 0.913726),})
  138. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0.100000001, 0, 0),Scale = Vector3.new(0.0500000007, 0.100000001, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  139. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-1.90734863e-006, 0.199999332, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  140. Hitbox = New("Part",Yukio,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 6, 0.399999976),CFrame = CFrame.new(-18.6999989, 4.59999752, -2.20000005, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,})
  141. Mesh = New("BlockMesh",Hitbox,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
  142. Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 3.69999957, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),})
  143.  
  144. RightArm = New("Model",chara,"RightArm",{})
  145. MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  146. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  147. Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
  148. Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  149. Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  150. LeftArm = New("Model",chara,"LeftArm",{})
  151. MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  152. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  153. EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
  154. Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  155. Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  156.  
  157. lach = LeftArm:GetChildren()
  158. rach = RightArm:GetChildren()
  159. ch = chara:GetChildren()
  160.  
  161. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  162. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  163. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  164. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
  165. return TEff
  166. end
  167. SlashTrail = CreateTrailObj(Hitbox,"White","White",0,-(Hitbox.Size.Z/2))
  168. PunchTrail = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
  169. KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
  170. FreezeKickTrail = CreateTrailObj(chara["Left Leg"],"Toothpaste","Toothpaste",0,0)
  171. BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
  172.  
  173. local p1mit = Instance.new("ParticleEmitter",Hitbox)
  174. p1mit.Texture = "http://www.roblox.com/asset/?id=68072538"
  175. p1mit.LightEmission = 1
  176. p1mit.Enabled = false
  177. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  178. p1mit.Lifetime = NumberRange.new(1)
  179. p1mit.Rate = 10000
  180. p1mit.Rotation = NumberRange.new(0,359)
  181. p1mit.RotSpeed = NumberRange.new(100)
  182. p1mit.Speed = NumberRange.new(0)
  183.  
  184. crosshair = Instance.new("BillboardGui",chara)
  185. crosshair.Size = UDim2.new(10,0,10,0)
  186. crosshair.Enabled = false
  187. imgl = Instance.new("ImageLabel",crosshair)
  188. imgl.Position = UDim2.new(0,0,0,0)
  189. imgl.Size = UDim2.new(1,0,1,0)
  190. imgl.Image = "rbxassetid://233522684"
  191. imgl.BackgroundTransparency = 1
  192. imgl.ImageColor3 = Color3.new(0,1,1)
  193.  
  194. --Sounds--
  195. function LoadSnd(id,loop,vol,pit)
  196. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  197. return snd
  198. end
  199. StartUpSnd = LoadSnd(153092315,false,1,.8)
  200. SwingSnd = LoadSnd(62339698,false,1,.8)
  201. Swing2Snd = LoadSnd(12222208,false,1,1)
  202. HitSnd = LoadSnd(153092274,false,1,1)
  203. HitPunchSnd = LoadSnd(153092227,false,1,1)
  204. DodgeSnd = LoadSnd(232210079,false,1,1)
  205. ExpSnd = LoadSnd(142070127,false,1,1)
  206. FlySnd = LoadSnd(169445602,false,1,1)
  207. BExpSnd = LoadSnd(258057783,false,5,1)
  208. ClawDashSnd = LoadSnd(62339698,false,1,.5)
  209. deathmus = LoadSnd(395580552,true,5,1)
  210. deathex = LoadSnd(258057783,false,5,1)
  211. ChargeSnd = LoadSnd(137463716,false,1,1)
  212. LasSnd = LoadSnd(162246701,false,1,1)
  213. LasLoopSnd = LoadSnd(162246683,true,1,1)
  214. ChatSnd = LoadSnd(565939471,false,1,1)
  215. RStompSnd = LoadSnd(2760979,false,1,1)
  216. SuperSnd = LoadSnd(153092315,false,1,.8)
  217. GunFlameSnd = LoadSnd(32656754,false,1,1)
  218. OrbSnd = LoadSnd(233091161,false,1,1)
  219. ElectricSnd = LoadSnd(231917975,false,1,1)
  220. LightsOutSnd = LoadSnd(231917794,false,1,1)
  221. SkyKickSnd = LoadSnd(12222208,false,1,.5)
  222. SkyBeamSnd = LoadSnd(260433522,false,1,1)
  223. TargetSnd = LoadSnd(613361563,false,1,1)
  224. SV1Snd = LoadSnd(28144425,false,1,.265)
  225. SV2Snd = LoadSnd(2697431,false,1,.3)
  226. SVHitSnd = LoadSnd(62339698,false,1,.3)
  227. IceBreakSnd = LoadSnd(357568316,false,1,1)
  228. FreezeSnd = LoadSnd(203936153,false,1,1)
  229. IceBreak2Snd = LoadSnd(87015121,false,1,1)
  230. BlockedSnd = LoadSnd(357622136,false,1,1)
  231. SwooshSnd = LoadSnd(158037267,false,1,1)
  232.  
  233. --Play Sound in Part--
  234. function PlaySnd(snd,part)
  235. local sound = snd:Clone()
  236. sound.PlayOnRemove = true
  237. sound.Parent = part
  238. sound:Destroy()
  239. end
  240.  
  241. --Target Select--
  242. function TargetSelect(person)
  243. local dd=coroutine.wrap(function()
  244. if targetted ~= person then
  245. targetted = person
  246. for i = 0,30,10 do
  247. wait(.05)
  248. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  249. end
  250. end
  251. end)
  252. dd()
  253. end
  254.  
  255. --Damage Function--
  256. function dealdmg(dude,damage,env,toim,kby,kbx)
  257. hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
  258. if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
  259. TargetSelect(dude)
  260. finaldmg = damage + math.random(-env,env)
  261. if berserkmode == true then
  262. finaldmg = math.floor(finaldmg * 1.1)
  263. end
  264. dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
  265. local vall = Instance.new("ObjectValue",dude)
  266. vall.Name = "IsHit"
  267. debby:AddItem(vall,toim)
  268. local bfos = Instance.new("BodyVelocity",dude.Head)
  269. bfos.P = 20000
  270. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  271. bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
  272. debby:AddItem(bfos,.1)
  273. local naeeym2 = Instance.new("BillboardGui",dude)
  274. naeeym2.Size = UDim2.new(0,100,0,40)
  275. naeeym2.StudsOffset = Vector3.new(0,3,0)
  276. naeeym2.Adornee = dude.Head
  277. naeeym2.Name = "TalkingBillBoard"
  278. local tecks2 = Instance.new("TextLabel",naeeym2)
  279. tecks2.BackgroundTransparency = 1
  280. tecks2.BorderSizePixel = 0
  281. tecks2.Text = "-"..finaldmg
  282. tecks2.Font = "Fantasy"
  283. tecks2.FontSize = "Size24"
  284. tecks2.TextStrokeTransparency = 0
  285. tecks2.TextColor3 = Color3.new(1,0.6,0)
  286. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  287. tecks2.Size = UDim2.new(1,0,0.5,0)
  288. if freezeatk == true and dude:FindFirstChild("IsFrozen")==nil and berserkmode == true then
  289. local fre = coroutine.wrap(function()
  290. local v = Instance.new("BoolValue",dude)
  291. v.Name = "IsFrozen"
  292. debby:AddItem(v,4)
  293. local p = Instance.new("Part",dude)
  294. p.Transparency = .5
  295. p.Anchored = 1
  296. p.BrickColor = BrickColor.new("Pastel blue-green")
  297. p.Material = "Ice"
  298. p.Size = Vector3.new(5,7,5)
  299. p.CFrame = dude.Head.CFrame - Vector3.new(0,1.5,0)
  300. local w = Instance.new("Weld",p)
  301. w.Part0 = dude.Head
  302. w.Part1 = p
  303. wait(2)
  304. for i = 1,4 do
  305. p.Transparency = p.Transparency + .1
  306. wait(.01)
  307. end
  308. p:Destroy()
  309. end)
  310. fre()
  311. end
  312. for i = 1, 5 do
  313. wait(.1)
  314. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  315. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  316. tecks2.TextTransparency = tecks2.TextTransparency + .2
  317. end
  318. naeeym2:Destroy()
  319. end
  320. end)
  321. hurt(dude,damage,env,toim)
  322. end
  323.  
  324. --Explode Hitbox--
  325. function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
  326. local E = Instance.new("Explosion")
  327. E.Position = pos
  328. E.Parent = game.Workspace
  329. E.BlastRadius = rad
  330. E.BlastPressure = 0
  331. E.Visible = false
  332. E.Hit:connect(function(hit)
  333. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  334. dealdmg(hit.Parent,damage,env,toim,kby,kbx)
  335. end
  336. end)
  337. end
  338.  
  339. --Chat Function--
  340. function chatfunc(text)
  341. local chat = coroutine.wrap(function()
  342. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  343. chara:FindFirstChild("TalkingBillBoard"):destroy()
  344. end
  345. local naeeym2 = Instance.new("BillboardGui",chara)
  346. naeeym2.Size = UDim2.new(0,100,0,40)
  347. naeeym2.StudsOffset = Vector3.new(0,3,0)
  348. naeeym2.Adornee = chara.Head
  349. naeeym2.Name = "TalkingBillBoard"
  350. local tecks2 = Instance.new("TextLabel",naeeym2)
  351. tecks2.BackgroundTransparency = 1
  352. tecks2.BorderSizePixel = 0
  353. tecks2.Text = ""
  354. tecks2.Font = "Fantasy"
  355. tecks2.FontSize = "Size24"
  356. tecks2.TextStrokeTransparency = 0
  357. tecks2.TextColor3 = Color3.new(1,1,1)
  358. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  359. tecks2.Size = UDim2.new(1,0,0.5,0)
  360. for i = 1,string.len(text),1 do
  361. tecks2.Text = string.sub(text,1,i)
  362. wait(0.01)
  363. end
  364. wait(1)
  365. for i = 1, 5 do
  366. wait(.01)
  367. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  368. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  369. tecks2.TextTransparency = tecks2.TextTransparency + .2
  370. end
  371. naeeym2:Destroy()
  372. end)
  373. chat()
  374. end
  375.  
  376. function onChatted(msg)
  377. chatfunc(msg)
  378. end
  379. player.Chatted:connect(onChatted)
  380.  
  381. --Punch Hit Effect--
  382. function PunchEff(pos)
  383. local p = Instance.new("Part",game.Workspace)
  384. p.Size = Vector3.new(1,1,1)
  385. p.BrickColor = BrickColor.new("White")
  386. p.Material = "Neon"
  387. p.Anchored = true
  388. p.CanCollide = false
  389. p.CFrame = pos
  390. local pm = Instance.new("SpecialMesh",p)
  391. pm.MeshType = "Sphere"
  392. local disp = coroutine.wrap(function()
  393. for i = 1, 4 do
  394. wait(.01)
  395. p.Transparency = p.Transparency + .2
  396. pm.Scale = pm.Scale + Vector3.new(.2,.2,.2)
  397. end
  398. wait(.01)
  399. p:Destroy()
  400. end)
  401. disp()
  402. end
  403.  
  404. --Blade Hit Effect--
  405. function SlashEff(pos)
  406. local p = Instance.new("Part",game.Workspace)
  407. p.Size = Vector3.new(1,1,1)
  408. p.BrickColor = BrickColor.new("White")
  409. p.Material = "Neon"
  410. p.Anchored = true
  411. p.CanCollide = false
  412. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  413. local pm = Instance.new("SpecialMesh",p)
  414. pm.MeshType = "Sphere"
  415. pm.Scale = Vector3.new(.5,0,.5)
  416. local disp = coroutine.wrap(function()
  417. for i = 1, 4 do
  418. wait(.01)
  419. p.Transparency = p.Transparency + .2
  420. pm.Scale = pm.Scale + Vector3.new(0,5,0)
  421. end
  422. wait(.01)
  423. p:Destroy()
  424. end)
  425. disp()
  426. end
  427.  
  428. --Super Pause--
  429. function SuperPause()
  430. StartUpSnd:Play()
  431. local p = Instance.new("Part",game.Workspace)
  432. p.Size = Vector3.new(1,1,1)
  433. p.BrickColor = BrickColor.new("White")
  434. p.Material = "Neon"
  435. p.Anchored = true
  436. p.CanCollide = false
  437. p.CFrame = chara.Torso.CFrame
  438. local pm = Instance.new("SpecialMesh",p)
  439. pm.MeshType = "Sphere"
  440. local disp = coroutine.wrap(function()
  441. for i = 1, 4 do
  442. wait(.01)
  443. p.Transparency = p.Transparency + .2
  444. pm.Scale = pm.Scale + Vector3.new(5,5,5)
  445. end
  446. wait(.01)
  447. p:Destroy()
  448. end)
  449. disp()
  450. end
  451.  
  452. --Punch Touch--
  453. dela = .5
  454. punchactive = false
  455. function punchhit(hit)
  456. if punchactive == true then
  457. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  458. dealdmg(hit.Parent,10,2,dela,0,5)
  459. PlaySnd(HitPunchSnd,hit.Parent.Head)
  460. PunchEff(Emit2Part.CFrame)
  461. end
  462. end
  463. end
  464. Emit2Part.Touched:connect(punchhit)
  465. EmitPart.Touched:connect(punchhit)
  466.  
  467. --Kick Touch--
  468. kickactive = false
  469. dkickactive = false
  470. skickactive = false
  471. didskick = false
  472. lkickactive = false
  473. function kickhit(hit)
  474. if kickactive == true then
  475. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  476. PlaySnd(HitPunchSnd,hit.Parent.Head)
  477. PunchEff(hit.CFrame)
  478. if dkickactive == true then
  479. dealdmg(hit.Parent,13,2,dela,0,10)
  480. hit.Parent.Humanoid.PlatformStand = true
  481. hit.Parent.Head.CFrame = CFrame.new(hit.Parent.Head.Position.x,hit.Parent.Head.Position.y,hit.Parent.Head.Position.z) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  482. wait(3)
  483. hit.Parent.Humanoid.PlatformStand = false
  484. elseif skickactive == true then
  485. local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
  486. bodpf.MaxForce = Vector3.new(10000,10000,10000)
  487. bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
  488. debby:AddItem(bodpf,3.5)
  489. dealdmg(hit.Parent,13,2,dela,50,10)
  490. didskick = true
  491. elseif lkickactive == true then
  492. if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
  493. hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
  494. end
  495. dealdmg(hit.Parent,13,2,dela,50,50)
  496. else
  497. dealdmg(hit.Parent,10,2,dela,0,10)
  498. end
  499. end
  500. end
  501. end
  502. chara["Left Leg"].Touched:connect(kickhit)
  503. chara["Right Leg"].Touched:connect(kickhit)
  504.  
  505. --Blade Touch--
  506. dela = .5
  507. bladedmg = 16
  508. bladeactive = false
  509. function bladehit(hit)
  510. if blockval == true then
  511. PlaySnd(BlockedSnd,chara)
  512. end
  513. if bladeactive == true then
  514. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  515. dealdmg(hit.Parent,bladedmg,2,dela,0,10)
  516. PlaySnd(HitSnd,hit.Parent.Head)
  517. SlashEff(hit.CFrame)
  518. if iaidoatk == true then
  519. local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
  520. bfos.P = 20000
  521. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  522. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 10
  523. wait(1)
  524. for i = 1, 30 do
  525. wait(.0001)
  526. dealdmg(hit.Parent,2,1,0,0,0)
  527. PlaySnd(HitSnd,hit.Parent.Head)
  528. SlashEff(hit.CFrame)
  529. end
  530. bfos:Destroy()
  531. end
  532. if dfreatk == true then
  533. hit.Parent.Humanoid.Health = 0
  534. hit.Parent.Humanoid:Destroy()
  535. PlaySnd(FreezeSnd,hit.Parent.Head)
  536. local cc = hit.Parent:GetChildren()
  537. for i = 1, #cc do
  538. if cc[i].ClassName == "Part" or cc[i].ClassName == "MeshPart" then
  539. cc[i].Anchored = true
  540. cc[i].BrickColor = BrickColor.new("Pastel blue-green")
  541. cc[i].Material = "Ice"
  542. end
  543. end
  544. wait(2)
  545. PlaySnd(IceBreak2Snd,hit.Parent.Head)
  546. for i = 1, #cc do
  547. if cc[i].ClassName == "Part" or cc[i].ClassName == "MeshPart" then
  548. for i = 1, 6 do
  549. local ice = Instance.new("Part",game.Workspace)
  550. ice.Size = Vector3.new(.4,.4,.4)
  551. ice.Material = "Ice"
  552. ice.BrickColor = BrickColor.new("Pastel blue-green")
  553. ice.Position = cc[i].Position
  554. ice.CFrame = cc[i].CFrame
  555. debby:AddItem(ice,5)
  556. end
  557. cc[i]:Destroy()
  558. end
  559. end
  560. end
  561. end
  562. end
  563. end
  564. Hitbox.Touched:connect(bladehit)
  565.  
  566. --Material Return--
  567. gprop = {}
  568. function materialhit()
  569. local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0)))
  570. if part then
  571. gprop = {part.BrickColor,part.Material}
  572. end
  573. end
  574.  
  575. --Clerp Animations--
  576. TC = chara.HumanoidRootPart.RootJoint
  577. HC = chara.Torso.Neck
  578. RAC = chara.Torso["Right Shoulder"]
  579. LAC = chara.Torso["Left Shoulder"]
  580. RLC = chara.Torso["Right Hip"]
  581. LLC = chara.Torso["Left Hip"]
  582. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  583. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  584. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  585. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  586. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  587. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  588. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  589. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  590. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  591. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  592. RW = Instance.new("Weld",HC.Parent)
  593. RW.Part1 = HC.Parent
  594. RW.Part0 = chara["Right Arm"]
  595. RW.C0 = RWF
  596. LW = Instance.new("Weld",HC.Parent)
  597. LW.Part1 = HC.Parent
  598. LW.Part0 = chara["Left Arm"]
  599. LW.C0 = LWF
  600. RLW = nil
  601. LLW = nil
  602.  
  603. function Sheath(stype)
  604. KWeld:Destroy()
  605. if stype == 1 then --Sheathed
  606. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-3.81469727e-006, 1.79999161, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  607. elseif stype == 2 then --Unsheathed
  608. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -1, -4.76837158e-007, 1, 0, 0, 0, 0, -1, 0, 1, 0),})
  609. elseif stype == 3 then --Unsheathed, Pointing
  610. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -0.500001907, -0.0999999046, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  611. elseif stype == 4 then --Unsheathed, Down
  612. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -1, 4.76837158e-007, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
  613. end
  614. end
  615.  
  616. function AddLegWelds()
  617. RLW = Instance.new("Weld",chara["Right Leg"])
  618. RLW.Part1 = HC.Parent
  619. RLW.Part0 = chara["Right Leg"]
  620. RLW.C0 = RLWF
  621. LLW = Instance.new("Weld",chara["Left Leg"])
  622. LLW.Part1 = HC.Parent
  623. LLW.Part0 = chara["Left Leg"]
  624. LLW.C0 = LLWF
  625. end
  626.  
  627. function DestroyLegWelds()
  628. RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
  629. LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  630. RLW:Destroy()
  631. LLW:Destroy()
  632. end
  633.  
  634. function clerp(a,b,c)
  635. return a:lerp(b,c)
  636. end
  637.  
  638. ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{})
  639. sus = New("TextBox",player.PlayerGui.InfoScreen,"OverdriveTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,325),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  640. sus = New("TextBox",player.PlayerGui.InfoScreen,"KeystrokeTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,350),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  641. sus = New("TextBox",player.PlayerGui.InfoScreen,"BlockTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,375),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  642.  
  643. function ultcool()
  644. local CoolDown = New("TextBox",player.PlayerGui.InfoScreen,"UltCoolDown",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,300),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "Ult. Cooldown",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  645. debby:AddItem(CoolDown,13)
  646. end
  647.  
  648. --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  649. --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  650. --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  651. --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  652.  
  653. TC.C0 = TCF
  654. HC.C0 = HCF
  655. RW.C0 = RWF
  656. LW.C0 = LWF
  657.  
  658. --Idle Clerp--
  659. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  660. IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  661. IRWF = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
  662. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  663.  
  664. function res()
  665. TC.C0 = ITCF
  666. HC.C0 = IHCF
  667. RW.C0 = IRWF
  668. LW.C0 = ILWF
  669. end
  670. res()
  671.  
  672. --Intro--
  673. RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  674. local kch = Yukio:GetChildren()
  675. local sch = chara.Sheath:GetChildren()
  676. for i = 1, #kch do
  677. if kch[i] ~= "Hitbox" then
  678. kch[i].Transparency = 1
  679. end
  680. end
  681. for i = 1, #sch do
  682. sch[i].Transparency = 1
  683. end
  684. wait(.5)
  685. p1mit.Enabled = true
  686. for i = 0,.6,.1 do
  687. rs:wait()
  688. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  689. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  690. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  691. end
  692. GunFlameSnd:Play()
  693. wait(.5)
  694. for i = 1, #kch do
  695. if kch[i] ~= "Hitbox" then
  696. kch[i].Transparency = 0
  697. end
  698. end
  699. Hitbox.Transparency = 1
  700. for i = 1, #sch do
  701. sch[i].Transparency = 0
  702. end
  703. wait(.5)
  704. p1mit.Enabled = false
  705. wait(1)
  706. for i = 0,.6,.1 do
  707. rs:wait()
  708. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2)),.6-i)
  709. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  710. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  711. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  712. end
  713.  
  714. chara.Humanoid.WalkSpeed = 16
  715.  
  716. --Overdrive--
  717. function Overdrive()
  718. del = false
  719. atkd = false
  720. overcharge = 0
  721. chara.Humanoid.WalkSpeed = 0
  722. chatfunc("Unleashing Armagus!")
  723. berserkmode = true
  724. local jtrace = Instance.new("Part",game.Workspace)
  725. jtrace.Size = Vector3.new(0,0,0)
  726. jtrace.Position = chara.HumanoidRootPart.Position
  727. jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0)
  728. jtrace.Anchored = true
  729. SuperPause()
  730. local tmesh = Instance.new("SpecialMesh",jtrace)
  731. tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  732. tmesh.Scale = Vector3.new(1,1,1)
  733. tmesh.Offset = Vector3.new(0,0,-.125)
  734. Void = nil
  735. VoidParts = {}
  736. Equipped = false
  737. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  738. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  739. end
  740.  
  741. Player = player
  742. Character = chara
  743.  
  744. Humanoid = Character:FindFirstChild("Humanoid")
  745. Torso = Character:FindFirstChild("Torso")
  746. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  747. return
  748. end
  749. Equipped = true
  750. Void = Instance.new("Model")
  751. Void.Name = "Void"
  752. Angle = 0
  753. local VoidPart = Instance.new("Part")
  754. VoidPart.Name = "VoidPart"
  755. VoidPart.Transparency = 1
  756. VoidPart.BrickColor = BrickColor.new("Really black")
  757. VoidPart.Material = Enum.Material.Plastic
  758. VoidPart.Shape = Enum.PartType.Block
  759. VoidPart.FormFactor = Enum.FormFactor.Custom
  760. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  761. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  762. VoidPart.Anchored = true
  763. VoidPart.CanCollide = false
  764. VoidPart.Locked = true
  765. VoidPart.Size = Vector3.new(10, 0.2, 10)
  766. local BlockMesh = Instance.new("BlockMesh")
  767. BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1)
  768. BlockMesh.Parent = VoidPart
  769. VoidPart.Parent = Void
  770. local Star = Instance.new("Decal", VoidPart)
  771. Star.Texture = "http://www.roblox.com/asset/?id=342201299"
  772. Star.Face = "Top"
  773. local Light = Instance.new("PointLight", VoidPart)
  774. Light.Color = Color3.new(0,0,1)
  775. Light.Brightness = 100
  776. Light.Range = 10
  777. table.insert(VoidParts, VoidPart)
  778. Spawn(function()
  779. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do
  780. if Angle == 360 then
  781. Angle = 0
  782. end
  783. Angle = Angle + 0.05
  784. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  785. if Hit then
  786. if not Void.Parent then
  787. Void.Parent = Character
  788. end
  789. for i, v in pairs(VoidParts) do
  790. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  791. end
  792. else
  793. Void.Parent = nil
  794. end
  795. wait()
  796. end
  797. end)
  798. for i = 0,.6,.1 do
  799. rs:wait()
  800. TC.C0 = clerp(ITCF,TCF,.4+i)
  801. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
  802. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  803. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  804. end
  805. for i = 1, 10 do
  806. wait(.01)
  807. TC.C0 = TCF
  808. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0)
  809. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  810. LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  811. jtrace.Transparency = jtrace.Transparency + .1
  812. tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2)
  813. end
  814. wait(.01)
  815. jtrace:Destroy()
  816. for i = 0,.6,.1 do
  817. rs:wait()
  818. TC.C0 = clerp(ITCF,TCF,.6-i)
  819. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
  820. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  821. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  822. end
  823. jtrace:Destroy()
  824. local delll = coroutine.wrap(function()
  825. local delval = 10
  826. local naeeym2 = Instance.new("BillboardGui",chara)
  827. naeeym2.Size = UDim2.new(0,100,0,40)
  828. naeeym2.StudsOffset = Vector3.new(0,5,0)
  829. naeeym2.Adornee = chara.Head
  830. naeeym2.Name = "Counter"
  831. local tecks2 = Instance.new("TextLabel",naeeym2)
  832. tecks2.BackgroundTransparency = 1
  833. tecks2.BorderSizePixel = 0
  834. tecks2.Text = ""
  835. tecks2.Font = "Fantasy"
  836. tecks2.FontSize = "Size24"
  837. tecks2.TextStrokeTransparency = 0
  838. tecks2.Size = UDim2.new(1,0,0.5,0)
  839. tecks2.TextColor3 = Color3.new(1,0,1)
  840. tecks2.TextStrokeColor3 = Color3.new(0,0,1)
  841. for i = 0, 30 do
  842. delval = 30 - i
  843. tecks2.Text = "<"..delval..">"
  844. wait(1)
  845. end
  846. berserkmode = false
  847. p1mit:Destroy()
  848. VoidPart:Destroy()
  849. for i = 1, 5 do
  850. wait(.01)
  851. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  852. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  853. tecks2.TextTransparency = tecks2.TextTransparency + .2
  854. end
  855. end)
  856. delll()
  857. chara.Humanoid.WalkSpeed = 16
  858. del = false
  859. res()
  860. end
  861.  
  862.  
  863. --Punch--
  864. function Punch()
  865. del = true
  866. atkd = true
  867. chara.Humanoid.WalkSpeed = 0
  868. punchactive = true
  869. PunchTrail.Enabled = true
  870. wait(.01)
  871. SwooshSnd:Play()
  872. for i = 0,.6,.1 do
  873. rs:wait()
  874. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  875. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  876. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  877. end
  878. for i = 0,.6,.1 do
  879. rs:wait()
  880. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  881. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  882. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  883. end
  884. chara.Humanoid.WalkSpeed = 16
  885. punchactive = false
  886. PunchTrail.Enabled = false
  887. del = false
  888. res()
  889. end
  890.  
  891. --Kick Atk--
  892. function KickAtk()
  893. del = true
  894. atkd = true
  895. chara.Humanoid.WalkSpeed = 0
  896. kickactive = true
  897. KickTrail.Enabled = true
  898. AddLegWelds()
  899. SwooshSnd:Play()
  900. for i = 0,.6,.1 do
  901. rs:wait()
  902. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
  903. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
  904. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
  905. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  906. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
  907. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
  908. end
  909. for i = 0,.6,.1 do
  910. rs:wait()
  911. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
  912. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
  913. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
  914. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  915. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
  916. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
  917. end
  918. DestroyLegWelds()
  919. kickactive = false
  920. KickTrail.Enabled = false
  921. chara.Humanoid.WalkSpeed = 16
  922. del = false
  923. res()
  924. end
  925.  
  926. --Slash Attack--
  927. function SlashAtk()
  928. del = true
  929. atkd = true
  930. chara.Humanoid.WalkSpeed = 0
  931. bladedmg = 10
  932. bladeactive = true
  933. SlashTrail.Enabled = true
  934. Sheath(2)
  935. SwingSnd:Play()
  936. wait(.01)
  937. for i = 0,.6,.1 do
  938. rs:wait()
  939. TC.C0 = clerp(ITCF,TCF,.4+i)
  940. HC.C0 = clerp(IHCF,HCF,.4+i)
  941. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  942. end
  943. wait(.5)
  944. Sheath(3)
  945. bladeactive = false
  946. SlashTrail.Enabled = false
  947. for i = 0,.6,.1 do
  948. rs:wait()
  949. TC.C0 = clerp(ITCF,TCF,.6-i)
  950. HC.C0 = clerp(IHCF,HCF,.6-i)
  951. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  952. end
  953. Sheath(1)
  954. del = false
  955. bladedmg = 16
  956. chara.Humanoid.WalkSpeed = 16
  957. res()
  958. end
  959.  
  960. --Bandit Revolver--
  961. function BanditRevolver()
  962. del = true
  963. atkd = true
  964. chara.Humanoid.WalkSpeed = 0
  965. kickactive = true
  966. dkickactive = true
  967. BRTrail.Enabled = true
  968. chatfunc("Bandit Revolver!")
  969. AddLegWelds()
  970. local bfos = Instance.new("BodyVelocity",chara.Torso)
  971. bfos.P = 10000
  972. bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
  973. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 50
  974. for i = 0,.6,.1 do
  975. rs:wait()
  976. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
  977. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
  978. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  979. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  980. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  981. end
  982. for i = 0,1,.1 do
  983. rs:wait()
  984. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  985. end
  986. SwooshSnd:Play()
  987. for i = 0,1,.1 do
  988. rs:wait()
  989. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
  990. end
  991. SwooshSnd:Play()
  992. for i = 0,1,.1 do
  993. rs:wait()
  994. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
  995. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
  996. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
  997. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
  998. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
  999. end
  1000. DestroyLegWelds()
  1001. dkickactive = false
  1002. kickactive = false
  1003. BRTrail.Enabled = false
  1004. chara.Humanoid.WalkSpeed = 16
  1005. bfos:Destroy()
  1006. del = false
  1007. res()
  1008. end
  1009.  
  1010. --Freezer Kick--
  1011. --function FlipKickEffect(pos)
  1012. --local p = Instance.new("Part",game.Workspace)
  1013. --p.Size = Vector3.new(0,0,0)
  1014. --p.BrickColor = BrickColor.new("Pastel blue-green")
  1015. --p.Material = "Ice"
  1016. --p.Anchored = true
  1017. --p.CanCollide = false
  1018. --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1019. --local pm = Instance.new("BlockMesh",p)
  1020. --local disp = coroutine.wrap(function()
  1021. --for i = 1, 4 do
  1022. --wait(.01)
  1023. --p.Transparency = p.Transparency + .2
  1024. --pm.Scale = pm.Scale + Vector3.new(2,2,2)
  1025. --end
  1026. --wait(.01)
  1027. --p:Destroy()
  1028. --end)
  1029. --disp()
  1030. --end
  1031. function FlipKick()
  1032. del = true
  1033. atkd = true
  1034. chatfunc("Freezer Kick!")
  1035. SkyKickSnd.Pitch = 1.5
  1036. AddLegWelds()
  1037. kickactive = true
  1038. lkickactive = true
  1039. local bfos = Instance.new("BodyVelocity",chara.Torso)
  1040. bfos.P = 10000
  1041. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  1042. bfos.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector * 20
  1043. SkyKickSnd:Play()
  1044. FreezeKickTrail.Enabled = true
  1045. for i = 0,.6,.1 do
  1046. rs:wait()
  1047. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  1048. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
  1049. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  1050. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  1051. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  1052. --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
  1053. end
  1054. bfos:Destroy()
  1055. kickactive = false
  1056. lkickactive = false
  1057. FreezeKickTrail.Enabled = false
  1058. wait(.1)
  1059. for i = 0,1,.1 do
  1060. rs:wait()
  1061. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),ITCF,.4+i)
  1062. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
  1063. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
  1064. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
  1065. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
  1066. end
  1067. DestroyLegWelds()
  1068. del = false
  1069. res()
  1070. end
  1071.  
  1072. --Tundra Spike--
  1073. function TundraSpike()
  1074. del = true
  1075. atkd = true
  1076. freezeatk = true
  1077. --Grunt2Snd:Play()
  1078. chara.Humanoid.WalkSpeed = 0
  1079. chatfunc("Tundra Spike!")
  1080. SlashTrail.Enabled = true
  1081. Sheath(4)
  1082. AddLegWelds()
  1083. for i = 0,.6,.1 do
  1084. rs:wait()
  1085. TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1086. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1087. RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-90)),.4+i)
  1088. LLW.C0 = clerp(LLWF,LLWF + Vector3.new(0,-1,.5),.4+i)
  1089. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.4+i)
  1090. end
  1091. local num = 10
  1092. local oopos = chara.HumanoidRootPart.CFrame-Vector3.new(0,2,0)
  1093. for i = 1,4 do
  1094. local cpos = oopos+(oopos.lookVector*num)
  1095. wait(.1)
  1096. local beam = Instance.new("Part",game.Workspace)
  1097. beam.Size = Vector3.new(0,0,0)
  1098. beam.CFrame = CFrame.new(cpos.x,cpos.y,cpos.z)
  1099. beam.CanCollide = false
  1100. beam.Anchored = true
  1101. beam.BrickColor = BrickColor.new("Pastel blue-green")
  1102. beam.Reflectance = .2
  1103. local mehs = Instance.new("SpecialMesh",beam)
  1104. mehs.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1105. mehs.Offset = Vector3.new(0,-3,0)
  1106. mehs.Scale = Vector3.new(2,20,2)
  1107. local trace = Instance.new("Part",game.Workspace)
  1108. trace.Size = Vector3.new(0,0,0)
  1109. trace.CFrame = CFrame.new(cpos.x,cpos.y,cpos.z)
  1110. trace.CanCollide = false
  1111. trace.Anchored = true
  1112. trace.BrickColor = BrickColor.new("Pastel blue-green")
  1113. trace.Reflectance = .2
  1114. local tmesh2 = Instance.new("SpecialMesh",trace)
  1115. tmesh2.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1116. tmesh2.Scale = Vector3.new(6,1,6)
  1117. PlaySnd(GunFlameSnd,beam)
  1118. ExHitbox(6,beam.Position,30,2,.5,0,0)
  1119. tracegrow = coroutine.wrap(function()
  1120. for i = -6,6,2 do
  1121. wait(.01)
  1122. mehs.Offset = Vector3.new(0,i,0)
  1123. end
  1124. wait(1)
  1125. for i = 1, 9 do
  1126. wait(.01)
  1127. beam.Transparency = beam.Transparency + .1
  1128. trace.Transparency = trace.Transparency + .1
  1129. end
  1130. beam:Destroy()
  1131. trace:Destroy()
  1132. end)
  1133. tracegrow()
  1134. num = num + 10
  1135. end
  1136. wait(.1)
  1137. for i = 0,.6,.1 do
  1138. rs:wait()
  1139. TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1140. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1141. RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-90)),.6-i)
  1142. LLW.C0 = clerp(LLWF,LLWF + Vector3.new(0,-1,.5),.6-i)
  1143. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.6-i)
  1144. end
  1145. DestroyLegWelds()
  1146. Sheath(1)
  1147. freezeatk = false
  1148. SlashTrail.Enabled = false
  1149. del = false
  1150. chara.Humanoid.WalkSpeed = 16
  1151. res()
  1152. end
  1153.  
  1154. --Claw Dash--
  1155. function ClawDash()
  1156. del = true
  1157. atkd = true
  1158. chara.Humanoid.WalkSpeed = 0
  1159. chatfunc("Without a trace...")
  1160. for i = 0,.6,.1 do
  1161. rs:wait()
  1162. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1163. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1164. RW.C0 = clerp(IRWF,RWF,.4+i)
  1165. end
  1166. local hittpart = Instance.new("Part",chara)
  1167. hittpart.Anchored = true
  1168. hittpart.Size = Vector3.new(5,5,1)
  1169. hittpart.Transparency = 1
  1170. hittpart.CFrame = chara.HumanoidRootPart.CFrame + (chara.HumanoidRootPart.CFrame.lookVector * 3)
  1171. local sawlookv = hittpart.CFrame.lookVector
  1172. local hitm = Instance.new("BlockMesh",hittpart)
  1173. hitm.Scale = Vector3.new(0,0,0)
  1174. local trpart = Instance.new("Part",chara)
  1175. trpart.Anchored = true
  1176. trpart.Size = Vector3.new(0,0,0)
  1177. trpart.CFrame = hittpart.CFrame
  1178. trpart.BrickColor = BrickColor.new("Really black")
  1179. local trmesh = Instance.new("FileMesh",trpart)
  1180. trmesh.Scale = Vector3.new(0,0,0)
  1181. trmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1182. local hdec1 = Instance.new("Decal",hittpart)
  1183. hdec1.Texture = "http://www.roblox.com/asset/?id=362691215"
  1184. hdec1.Face = "Front"
  1185. local hdec2 = hdec1:Clone()
  1186. hdec2.Parent = hittpart
  1187. hdec2.Face = "Back"
  1188. OrbSnd:Play()
  1189. ElectricSnd:Play()
  1190. for i = 1, 5 do
  1191. hitm.Scale = hitm.Scale + Vector3.new(.2,.2,0)
  1192. trmesh.Scale = trmesh.Scale + Vector3.new(1,1,.1)
  1193. wait(.01)
  1194. end
  1195. hittpart.Touched:connect(function(hit)
  1196. if hit.Parent ~= chara then
  1197. ClawDashSnd:Play()
  1198. hittpart:Destroy()
  1199. trpart:Destroy()
  1200. AddLegWelds()
  1201. SlashTrail.Enabled = true
  1202. freezeatk = true
  1203. chatfunc("Winter's Riposte!")
  1204. Sheath(4)
  1205. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
  1206. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
  1207. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  1208. LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  1209. LLW.C0 = LLWF
  1210. RLW.C0 = RLWF + Vector3.new(0,-1,1)
  1211. for i = 1, 10 do
  1212. local trace = Instance.new("Part",game.Workspace)
  1213. trace.CanCollide = false
  1214. trace.Size = Vector3.new(1,1,1)
  1215. trace.Transparency = 1
  1216. trace.BottomSurface = 0
  1217. trace.TopSurface = 0
  1218. trace.Anchored = true
  1219. trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i))
  1220. debby:AddItem(trace,1)
  1221. ExHitbox(10,trace.Position,20,2,.1,0,0)
  1222. end
  1223. local trace = Instance.new("Part",game.Workspace)
  1224. trace.BrickColor = BrickColor.new("Toothpaste")
  1225. trace.CanCollide = false
  1226. trace.Size = Vector3.new(1,1,1)
  1227. trace.BottomSurface = 0
  1228. trace.TopSurface = 0
  1229. trace.Anchored = true
  1230. trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 25
  1231. trace.Material = "Neon"
  1232. local tracem = Instance.new("SpecialMesh",trace)
  1233. tracem.MeshType = "Sphere"
  1234. tracem.Scale = Vector3.new(1,1,50)
  1235. local disp = coroutine.wrap(function()
  1236. for i = 1, 9 do
  1237. wait(.01)
  1238. trace.Transparency = trace.Transparency + .1
  1239. end
  1240. wait(.01)
  1241. trace:Destroy()
  1242. end)
  1243. disp()
  1244. chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60
  1245. wait(1)
  1246. SlashTrail.Enabled = false
  1247. Sheath(3)
  1248. for i = 0,.6,.1 do
  1249. rs:wait()
  1250. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  1251. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  1252. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  1253. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  1254. LLW.C0 = LLWF
  1255. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i)
  1256. end
  1257. Sheath(1)
  1258. freezeatk = false
  1259. del = false
  1260. DestroyLegWelds()
  1261. chara.Humanoid.WalkSpeed = 16
  1262. res()
  1263. end
  1264. end)
  1265. for i = 1, 60 do
  1266. wait(.01)
  1267. hittpart.CFrame=hittpart.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi/64)
  1268. end
  1269. if hittpart ~= nil then
  1270. for i = 1, 5 do
  1271. hitm.Scale = hitm.Scale - Vector3.new(.2,.2,0)
  1272. trmesh.Scale = trmesh.Scale - Vector3.new(1,1,.1)
  1273. wait(.01)
  1274. end
  1275. hittpart:Destroy()
  1276. trpart:Destroy()
  1277. for i = 0,.6,.2 do
  1278. wait(.01)
  1279. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1280. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1281. RW.C0 = clerp(IRWF,RWF,.6-i)
  1282. end
  1283. del = false
  1284. chara.Humanoid.WalkSpeed = 16
  1285. res()
  1286. end
  1287. end
  1288.  
  1289. --Blast--
  1290. function PsychoBlast()
  1291. del = true
  1292. atkd = true
  1293. freezeatk = true
  1294. PunchTrail.Enabled = true
  1295. chatfunc("Icy Storm!")
  1296. for i = 0,.6,.1 do
  1297. rs:wait()
  1298. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1299. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1300. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1301. end
  1302. PunchTrail.Enabled = false
  1303. for i = 1,3 do
  1304. wait(.1)
  1305. SkyBeamSnd:Play()
  1306. local target = Mouse.Hit.p
  1307. local dir = (target - (chara.HumanoidRootPart.Position + Vector3.new(0,30,0))).unit
  1308. local pos = (chara.HumanoidRootPart.Position + Vector3.new(0,30,0)) + (dir*1)
  1309. local missile = Instance.new("Part",game.Workspace)
  1310. missile.Material = "Neon"
  1311. missile.Size = Vector3.new(1,1,3)
  1312. missile.BrickColor = BrickColor.new("Pastel blue-green")
  1313. missile.Reflectance = .2
  1314. missile.Name = "Blast"
  1315. missile.CanCollide = false
  1316. missile.TopSurface = 0
  1317. missile.BottomSurface = 0
  1318. missile.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0)
  1319. missile.CFrame = CFrame.new(pos,pos+dir)
  1320. missile.Velocity = (target - (chara.HumanoidRootPart.Position + Vector3.new(0,30,0))).unit*150
  1321. -- local p1mit = Instance.new("ParticleEmitter",missile)
  1322. -- p1mit.Texture = "rbxasset://textures/particles/fire_main.dds"
  1323. -- p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
  1324. -- p1mit.LightEmission = 1
  1325. -- p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1326. -- p1mit.Lifetime = NumberRange.new(1)
  1327. -- p1mit.Rate = 100
  1328. -- p1mit.Rotation = NumberRange.new(0,359)
  1329. -- p1mit.RotSpeed = NumberRange.new(100)
  1330. -- p1mit.Speed = NumberRange.new(0)
  1331. local mesh1 = Instance.new("SpecialMesh",missile)
  1332. mesh1.MeshId = "http://www.roblox.com/asset/?id=20518365"
  1333. local force = Instance.new("BodyForce")
  1334. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1335. force.Parent = missile
  1336. -- local bfo = Instance.new("BodyVelocity",missile)
  1337. -- bfo.P = 100000
  1338. -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
  1339. -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
  1340. -- debby:AddItem(bfo,1)
  1341. missile.Touched:connect(function(hit)
  1342. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile.Anchored == false) then
  1343. missile.Anchored = true
  1344. ExHitbox(3,missile.Position,15,1,.1,0,0)
  1345. PlaySnd(IceBreakSnd,missile)
  1346. for i = 1, 6 do
  1347. local ice = Instance.new("Part",game.Workspace)
  1348. ice.Size = Vector3.new(.4,.4,.4)
  1349. ice.Material = "Ice"
  1350. ice.BrickColor = BrickColor.new("Pastel blue-green")
  1351. ice.Position = missile.Position
  1352. ice.CFrame = missile.CFrame
  1353. debby:AddItem(ice,5)
  1354. end
  1355. missile:Destroy()
  1356. end
  1357. end)
  1358. debby:AddItem(missile,10)
  1359. end
  1360. for i = 0,.6,.1 do
  1361. rs:wait()
  1362. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1363. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1364. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1365. end
  1366. freezeatk = false
  1367. del = false
  1368. res()
  1369. end
  1370.  
  1371. --Cold Wind--
  1372. function ColdWind()
  1373. del = true
  1374. atkd = true
  1375. chara.Humanoid.WalkSpeed = 0
  1376. bladeactive = true
  1377. freezeatk = true
  1378. SlashTrail.Enabled = true
  1379. chatfunc("Cold Wind!")
  1380. Sheath(2)
  1381. GunFlameSnd:Play()
  1382. SwingSnd:Play()
  1383. p1mit.Enabled = true
  1384. wait(.01)
  1385. for i = 0,.6,.1 do
  1386. rs:wait()
  1387. TC.C0 = clerp(ITCF,TCF,.4+i)
  1388. HC.C0 = clerp(IHCF,HCF,.4+i)
  1389. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1390. end
  1391. wait(.5)
  1392. Sheath(3)
  1393. p1mit.Enabled = false
  1394. bladeactive = false
  1395. freezeatk = false
  1396. SlashTrail.Enabled = false
  1397. for i = 0,.6,.1 do
  1398. rs:wait()
  1399. TC.C0 = clerp(ITCF,TCF,.6-i)
  1400. HC.C0 = clerp(IHCF,HCF,.6-i)
  1401. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1402. end
  1403. Sheath(1)
  1404. del = false
  1405. chara.Humanoid.WalkSpeed = 16
  1406. res()
  1407. end
  1408.  
  1409. --Cutting Hailstone--
  1410. function CHailstone()
  1411. del = true
  1412. atkd = true
  1413. local bpo = Instance.new("BodyPosition",chara.Torso)
  1414. bpo.MaxForce = Vector3.new(0,10000,0)
  1415. bpo.Position = chara.Torso.Position + Vector3.new(0,50,0)
  1416. AddLegWelds()
  1417. for i = 0,.6,.1 do
  1418. rs:wait()
  1419. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.4+i)
  1420. end
  1421. wait(.5)
  1422. bpo.D = 100
  1423. chatfunc("Cutting Hailstone!")
  1424. p1mit.Enabled = true
  1425. chara.Humanoid.WalkSpeed = 8
  1426. Sheath(4)
  1427. Swing2Snd:Play()
  1428. wait(.01)
  1429. for i = 0,.6,.1 do
  1430. rs:wait()
  1431. TC.C0 = clerp(ITCF,TCF,.4+i)
  1432. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
  1433. RW.C0 = IRWF
  1434. end
  1435. bladeactive = true
  1436. freezeatk = true
  1437. SlashTrail.Enabled = true
  1438. bpo.Position = chara.Torso.Position - Vector3.new(0,50,0)
  1439. wait(1)
  1440. for i = 0,.6,.1 do
  1441. rs:wait()
  1442. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.6-i)
  1443. end
  1444. DestroyLegWelds()
  1445. bpo:Destroy()
  1446. Sheath(3)
  1447. p1mit.Enabled = false
  1448. bladeactive = false
  1449. freezeatk = false
  1450. SlashTrail.Enabled = false
  1451. for i = 0,.6,.1 do
  1452. rs:wait()
  1453. TC.C0 = clerp(ITCF,TCF,.6-i)
  1454. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
  1455. RW.C0 = IRWF
  1456. end
  1457. Sheath(1)
  1458. del = false
  1459. chara.Humanoid.WalkSpeed = 16
  1460. res()
  1461. end
  1462.  
  1463. --Iaido Frost--
  1464. function IaidoFrost()
  1465. del = true
  1466. atkd = true
  1467. chara.Humanoid.WalkSpeed = 8
  1468. SuperPause()
  1469. chatfunc("Iaido Frost!")
  1470. for i = 0,.6,.1 do
  1471. rs:wait()
  1472. TC.C0 = clerp(ITCF,TCF,.4+i)
  1473. HC.C0 = clerp(IHCF,HCF,.4+i)
  1474. end
  1475. wait(1)
  1476. bladeactive = true
  1477. iaidoatk = true
  1478. SlashTrail.Enabled = true
  1479. Sheath(2)
  1480. GunFlameSnd:Play()
  1481. Swing2Snd:Play()
  1482. p1mit.Enabled = true
  1483. wait(.01)
  1484. for i = 0,.6,.1 do
  1485. rs:wait()
  1486. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1487. end
  1488. wait(1)
  1489. Sheath(3)
  1490. p1mit.Enabled = false
  1491. bladeactive = false
  1492. iaidoatk = false
  1493. SlashTrail.Enabled = false
  1494. for i = 0,.6,.1 do
  1495. rs:wait()
  1496. TC.C0 = clerp(ITCF,TCF,.6-i)
  1497. HC.C0 = clerp(IHCF,HCF,.6-i)
  1498. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1499. end
  1500. Sheath(1)
  1501. del = false
  1502. chara.Humanoid.WalkSpeed = 16
  1503. res()
  1504. end
  1505.  
  1506. --Coldheart--
  1507. function Coldheart()
  1508. del = true
  1509. atkd = true
  1510. chara.Humanoid.WalkSpeed = 2
  1511. SuperPause()
  1512. chatfunc("Cold Heart...")
  1513. for i = 0,.6,.1 do
  1514. rs:wait()
  1515. TC.C0 = clerp(ITCF,TCF,.4+i)
  1516. HC.C0 = clerp(IHCF,HCF,.4+i)
  1517. end
  1518. for i = 1, 30 do
  1519. local jtrace = Instance.new("Part",game.Workspace)
  1520. jtrace.BrickColor = BrickColor.new("Teal")
  1521. jtrace.Size = Vector3.new(0,0,0)
  1522. jtrace.Position = chara.HumanoidRootPart.Position - Vector3.new(0,2,0)
  1523. jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2,0)
  1524. jtrace.Anchored = true
  1525. local tmesh = Instance.new("SpecialMesh",jtrace)
  1526. tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1527. tmesh.Scale = Vector3.new(1,1,1)
  1528. tmesh.Offset = Vector3.new(0,0,-.125)
  1529. local coro = coroutine.wrap(function()
  1530. for i = 1, 10 do
  1531. wait(.01)
  1532. jtrace.Transparency = jtrace.Transparency + .1
  1533. tmesh.Scale = tmesh.Scale + Vector3.new(1,-.1,1)
  1534. end
  1535. end)
  1536. coro()
  1537. wait(.1)
  1538. end
  1539. chara.Humanoid.WalkSpeed = 0
  1540. bladeactive = true
  1541. dfreatk = true
  1542. GunFlameSnd:Play()
  1543. SwingSnd:Play()
  1544. p1mit.Enabled = true
  1545. Sheath(3)
  1546. wait(.01)
  1547. for i = 0,.6,.1 do
  1548. rs:wait()
  1549. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1550. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1551. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1552. end
  1553. wait(1)
  1554. for i = 0,.6,.1 do
  1555. rs:wait()
  1556. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1557. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1558. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1559. end
  1560. Sheath(1)
  1561. chara.Humanoid.WalkSpeed = 16
  1562. bladeactive = false
  1563. dfreatk = false
  1564. p1mit.Enabled = false
  1565. del = false
  1566. res()
  1567. end
  1568.  
  1569. --Harbinger of Winter--
  1570. function HarbingerW()
  1571. del = true
  1572. atkd = true
  1573. chara.Humanoid.WalkSpeed = 8
  1574. SuperPause()
  1575. chatfunc("Harbinger of Winter!")
  1576. for i = 0,.6,.1 do
  1577. rs:wait()
  1578. TC.C0 = clerp(ITCF,TCF,.4+i)
  1579. HC.C0 = clerp(IHCF,HCF,.4+i)
  1580. end
  1581. wait(1)
  1582. chara.Humanoid.WalkSpeed = 0
  1583. bladeactive = true
  1584. SlashTrail.Enabled = true
  1585. dela = 0
  1586. Sheath(3)
  1587. wait(.01)
  1588. for i = 0,.6,.1 do
  1589. rs:wait()
  1590. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1591. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1592. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1593. end
  1594. for i = 1, 40 do
  1595. wait(.001)
  1596. PlaySnd(Swing2Snd,chara)
  1597. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1598. end
  1599. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1600. wait(1)
  1601. for i = 0,.6,.1 do
  1602. rs:wait()
  1603. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1604. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1605. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1606. end
  1607. Sheath(1)
  1608. chara.Humanoid.WalkSpeed = 16
  1609. bladeactive = false
  1610. SlashTrail.Enabled = false
  1611. dela = .5
  1612. del = false
  1613. res()
  1614. end
  1615.  
  1616. --Final Attack--
  1617. finalgrab = false
  1618. didfinal = false
  1619. function FinalGrab(hit)
  1620. if finalgrab == true and hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent.Parent.Name ~= "Boss" then
  1621. finalgrab = false
  1622. didfinal = true
  1623. chatfunc("Now die!")
  1624. PlaySnd(HitPunchSnd,hit.Parent.Head)
  1625. PunchEff(hit.CFrame)
  1626. local stay = coroutine.wrap(function()
  1627. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1628. hit.Parent.Humanoid.WalkSpeed = 0
  1629. hit.Parent.Humanoid.PlatformStand = true
  1630. end
  1631. end)
  1632. stay()
  1633. local valll = Instance.new("ObjectValue",hit.Parent)
  1634. valll.Name = "HitByUlt"
  1635. local bpos = Instance.new("BodyPosition",hit.Parent.Head)
  1636. bpos.MaxForce = Vector3.new(10000,10000,10000)
  1637. bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*5
  1638. KickTrail.Enabled = true
  1639. AddLegWelds()
  1640. for i = 0,.6,.1 do
  1641. rs:wait()
  1642. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
  1643. HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
  1644. RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
  1645. LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  1646. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
  1647. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
  1648. end
  1649. PunchEff(hit.CFrame)
  1650. HitPunchSnd:Play()
  1651. bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*30
  1652. wait(1)
  1653. for i = 0,.6,.1 do
  1654. rs:wait()
  1655. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
  1656. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
  1657. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
  1658. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  1659. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
  1660. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
  1661. end
  1662. KickTrail.Enabled = false
  1663. Sheath(3)
  1664. SlashTrail.Enabled = true
  1665. p1mit.Enabled = true
  1666. for i = 0,.6,.1 do
  1667. rs:wait()
  1668. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1669. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1670. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1671. end
  1672. DestroyLegWelds()
  1673. for i = 1, 10 do
  1674. wait(.001)
  1675. PlaySnd(Swing2Snd,chara)
  1676. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1677. local p = Instance.new("Part",game.Workspace)
  1678. p.Size = Vector3.new(1,1,1)
  1679. p.BrickColor = BrickColor.new("Toothpaste")
  1680. p.Material = "Neon"
  1681. p.Anchored = true
  1682. p.CanCollide = false
  1683. p.CFrame = hit.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1684. local pm = Instance.new("SpecialMesh",p)
  1685. pm.MeshType = "Sphere"
  1686. pm.Scale = Vector3.new(.5,0,.5)
  1687. local disp = coroutine.wrap(function()
  1688. for i = 1, 4 do
  1689. wait(.01)
  1690. p.Transparency = p.Transparency + .2
  1691. pm.Scale = pm.Scale + Vector3.new(.5,5,.5)
  1692. end
  1693. wait(.01)
  1694. p:Destroy()
  1695. end)
  1696. disp()
  1697. PlaySnd(HitSnd,chara)
  1698. end
  1699. for i = 0,.6,.1 do
  1700. rs:wait()
  1701. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1702. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1703. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1704. end
  1705. Sheath(1)
  1706. for i = 0,1,.25 do
  1707. rs:wait()
  1708. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  1709. end
  1710. for i = 0,1,.25 do
  1711. rs:wait()
  1712. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(181)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
  1713. end
  1714. Sheath(3)
  1715. for i = 0,.6,.1 do
  1716. rs:wait()
  1717. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1718. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1719. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1720. end
  1721. for i = 1, 10 do
  1722. wait(.001)
  1723. PlaySnd(Swing2Snd,chara)
  1724. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1725. local p = Instance.new("Part",game.Workspace)
  1726. p.Size = Vector3.new(1,1,1)
  1727. p.BrickColor = BrickColor.new("Toothpaste")
  1728. p.Material = "Neon"
  1729. p.Anchored = true
  1730. p.CanCollide = false
  1731. p.CFrame = hit.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1732. local pm = Instance.new("SpecialMesh",p)
  1733. pm.MeshType = "Sphere"
  1734. pm.Scale = Vector3.new(.5,0,.5)
  1735. local disp = coroutine.wrap(function()
  1736. for i = 1, 4 do
  1737. wait(.01)
  1738. p.Transparency = p.Transparency + .2
  1739. pm.Scale = pm.Scale + Vector3.new(.5,5,.5)
  1740. end
  1741. wait(.01)
  1742. p:Destroy()
  1743. end)
  1744. disp()
  1745. PlaySnd(HitSnd,chara)
  1746. end
  1747. for i = 0,.6,.1 do
  1748. rs:wait()
  1749. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1750. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1751. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1752. end
  1753. Sheath(1)
  1754. for i = 0,1,.25 do
  1755. rs:wait()
  1756. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),i)
  1757. end
  1758. for i = 0,1,.25 do
  1759. rs:wait()
  1760. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-181)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-360)),i)
  1761. end
  1762. Sheath(3)
  1763. for i = 0,.6,.1 do
  1764. rs:wait()
  1765. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1766. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1767. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1768. end
  1769. for i = 1, 25 do
  1770. wait(.001)
  1771. PlaySnd(Swing2Snd,chara)
  1772. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1773. local p = Instance.new("Part",game.Workspace)
  1774. p.Size = Vector3.new(1,1,1)
  1775. p.BrickColor = BrickColor.new("Toothpaste")
  1776. p.Material = "Neon"
  1777. p.Anchored = true
  1778. p.CanCollide = false
  1779. p.CFrame = hit.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1780. local pm = Instance.new("SpecialMesh",p)
  1781. pm.MeshType = "Sphere"
  1782. pm.Scale = Vector3.new(.5,0,.5)
  1783. local disp = coroutine.wrap(function()
  1784. for i = 1, 4 do
  1785. wait(.01)
  1786. p.Transparency = p.Transparency + .2
  1787. pm.Scale = pm.Scale + Vector3.new(.5,5,.5)
  1788. end
  1789. wait(.01)
  1790. p:Destroy()
  1791. end)
  1792. disp()
  1793. PlaySnd(HitSnd,chara)
  1794. end
  1795. for i = 0,.6,.1 do
  1796. rs:wait()
  1797. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1798. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1799. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1800. end
  1801. Sheath(1)
  1802. SuperPause()
  1803. chatfunc("Time to end it.")
  1804. wait(1)
  1805. chatfunc("Cold Heart!")
  1806. AddLegWelds()
  1807. GunFlameSnd:Play()
  1808. SwingSnd:Play()
  1809. Sheath(4)
  1810. for i = 0,.6,.2 do
  1811. rs:wait()
  1812. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
  1813. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
  1814. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  1815. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  1816. LLW.C0 = LLWF
  1817. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.4+i)
  1818. end
  1819. chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector*15
  1820. for i = 1, 10 do
  1821. local p = Instance.new("Part",game.Workspace)
  1822. p.Size = Vector3.new(1,1,1)
  1823. p.BrickColor = BrickColor.new("Toothpaste")
  1824. p.Material = "Neon"
  1825. p.Anchored = true
  1826. p.CanCollide = false
  1827. p.CFrame = hit.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1828. local pm = Instance.new("SpecialMesh",p)
  1829. pm.MeshType = "Sphere"
  1830. pm.Scale = Vector3.new(.5,0,.5)
  1831. local disp = coroutine.wrap(function()
  1832. for i = 1, 4 do
  1833. wait(.01)
  1834. p.Transparency = p.Transparency + .2
  1835. pm.Scale = pm.Scale + Vector3.new(.5,10,.5)
  1836. end
  1837. wait(.01)
  1838. p:Destroy()
  1839. end)
  1840. disp()
  1841. end
  1842. targetted = nil
  1843. hit.Parent.Humanoid.Health = 0
  1844. hit.Parent.Humanoid:Destroy()
  1845. FreezeSnd:Play()
  1846. local cc = hit.Parent:GetChildren()
  1847. for i = 1, #cc do
  1848. if cc[i].ClassName == "Part" or cc[i].ClassName == "MeshPart" then
  1849. cc[i].Anchored = true
  1850. cc[i].BrickColor = BrickColor.new("Pastel blue-green")
  1851. cc[i].Material = "Ice"
  1852. end
  1853. end
  1854. wait(2)
  1855. PlaySnd(IceBreak2Snd,hit.Parent.Head)
  1856. for i = 1, #cc do
  1857. if cc[i].ClassName == "Part" then
  1858. for i = 1, 6 do
  1859. local ice = Instance.new("Part",workspace)
  1860. ice.Size = Vector3.new(.4,.4,.4)
  1861. ice.Material = "Ice"
  1862. ice.BrickColor = BrickColor.new("Pastel blue-green")
  1863. ice.Position = cc[i].Position
  1864. ice.CFrame = cc[i].CFrame
  1865. debby:AddItem(ice,5)
  1866. end
  1867. end
  1868. end
  1869. hit.Parent:Destroy()
  1870. wait(2)
  1871. Sheath(3)
  1872. for i = 0,.6,.1 do
  1873. rs:wait()
  1874. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  1875. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  1876. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  1877. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  1878. LLW.C0 = LLWF
  1879. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i)
  1880. end
  1881. Sheath(1)
  1882. p1mit.Enabled = false
  1883. SlashTrail.Enabled = false
  1884. chatfunc("What a pain..")
  1885. DestroyLegWelds()
  1886. del = false
  1887. chara.Humanoid.WalkSpeed = 16
  1888. res()
  1889. end
  1890. end
  1891. SheathHitbox.Touched:connect(FinalGrab)
  1892.  
  1893. function AttemptFinal()
  1894. del = true
  1895. atkd = true
  1896. finalgrab = true
  1897. chara.Humanoid.WalkSpeed = 0
  1898. SuperPause()
  1899. chatfunc("Retribution...")
  1900. for i = 0,.6,.1 do
  1901. rs:wait()
  1902. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1903. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1904. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1905. end
  1906. wait(3)
  1907. if didfinal == false then
  1908. finalgrab = false
  1909. for i = 0,.6,.1 do
  1910. rs:wait()
  1911. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1912. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1913. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1914. end
  1915. del = false
  1916. chara.Humanoid.WalkSpeed = 16
  1917. res()
  1918. elseif didfinal == true then
  1919. end
  1920. end
  1921.  
  1922. --Lock On--
  1923. function LockOn()
  1924. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1925. TargetSelect(Mouse.Target.Parent)
  1926. TargetSnd:Play()
  1927. wait(.05)
  1928. TargetSnd:Play()
  1929. else end
  1930. end
  1931.  
  1932. --Block--
  1933. blockval = false
  1934. healthlock = 0
  1935. effeff = nil
  1936. function ToggleBlock()
  1937. if blockval == false then
  1938. blockval = true
  1939. SwooshSnd:Play()
  1940. healthlock = chara.Humanoid.Health
  1941. effeff = Instance.new("ForceField",chara)
  1942. effeff.Name = "FawsFeeld"
  1943. effeff.Visible = false
  1944. Sheath(4)
  1945. for i = 0,.6,.1 do
  1946. rs:wait()
  1947. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(110)),.4+i)
  1948. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-110)),.4+i)
  1949. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1950. end
  1951. elseif blockval == true then
  1952. SwooshSnd:Play()
  1953. effeff:Destroy()
  1954. blockval = false
  1955. Sheath(3)
  1956. for i = 0,.6,.1 do
  1957. rs:wait()
  1958. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(110)),.6-i)
  1959. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-110)),.6-i)
  1960. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1961. end
  1962. Sheath(1)
  1963. res()
  1964. end
  1965. end
  1966.  
  1967. function Stunned()
  1968. del = true
  1969. blockval = false
  1970. Sheath(1)
  1971. chara.Humanoid.WalkSpeed = 0
  1972. local naeeym2 = Instance.new("BillboardGui",chara)
  1973. naeeym2.Size = UDim2.new(0,100,0,40)
  1974. naeeym2.StudsOffset = Vector3.new(0,5,0)
  1975. naeeym2.Adornee = chara.Head
  1976. naeeym2.Name = "Counter"
  1977. local tecks2 = Instance.new("TextLabel",naeeym2)
  1978. tecks2.BackgroundTransparency = 1
  1979. tecks2.BorderSizePixel = 0
  1980. tecks2.Text = "Stunned!"
  1981. tecks2.Font = "Fantasy"
  1982. tecks2.FontSize = "Size24"
  1983. tecks2.TextStrokeTransparency = 0
  1984. tecks2.Size = UDim2.new(1,0,0.5,0)
  1985. tecks2.TextColor3 = Color3.new(1,0,0)
  1986. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1987. for i = 1, 30 do
  1988. wait(.1)
  1989. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0)
  1990. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0)
  1991. RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
  1992. LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20))
  1993. end
  1994. for i = 1, 5 do
  1995. wait(.01)
  1996. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1997. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1998. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1999. end
  2000. for i = 0,.6,.1 do
  2001. rs:wait()
  2002. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i)
  2003. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i)
  2004. RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i)
  2005. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i)
  2006. end
  2007. del = false
  2008. chara.Humanoid.WalkSpeed = 16
  2009. end
  2010.  
  2011. blkpct = 100
  2012. local bcount = coroutine.wrap(function()
  2013. while wait() do
  2014. if blockval == false then
  2015. if blkpct < 100 then
  2016. blkpct = blkpct + 1
  2017. wait(.5)
  2018. else
  2019. end
  2020. end
  2021. player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%"
  2022. end
  2023. end)
  2024. bcount()
  2025.  
  2026. chara.Humanoid.HealthChanged:connect(function(hth)
  2027. if blockval == true then
  2028. if math.floor(hth) < healthlock then
  2029. blkpct = blkpct - math.random(2,4)
  2030. if blkpct < 1 then
  2031. Stunned()
  2032. end
  2033. print("Block Value reduced to "..blkpct)
  2034. else
  2035. end
  2036. end
  2037. end)
  2038.  
  2039. --Mouse Functions--
  2040. orbpushactive = false
  2041. del = false
  2042. input = ""
  2043. letterd = 0
  2044. ltoim = 0
  2045. function onKeyDown(key)
  2046. if key == "e" and attacking == false then
  2047. ToggleBlock()
  2048. elseif del == false and blockval == false then
  2049. if key == "q" then
  2050. if input == "das" then
  2051. TundraSpike()
  2052. elseif input == "ad" then
  2053. PsychoBlast()
  2054. elseif input == "aad" and berserkmode == true then
  2055. ClawDash()
  2056. elseif input == "asdww" and berserkmode == true and player.PlayerGui.InfoScreen:FindFirstChild("UltCoolDown")==nil then
  2057. AttemptFinal()
  2058. elseif input == "adad" and berserkmode == false and overcharge == 100 then
  2059. Overdrive()
  2060. else LockOn() end
  2061. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q"
  2062. input = ""
  2063. letterd = 0
  2064. ltoim = 0
  2065. elseif key == "z" then
  2066. if input == "ss" then
  2067. FlipKick()
  2068. else Punch() end
  2069. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z"
  2070. input = ""
  2071. letterd = 0
  2072. ltoim = 0
  2073. elseif key == "x" then
  2074. if input == "sa" then
  2075. BanditRevolver()
  2076. else KickAtk() end
  2077. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X"
  2078. input = ""
  2079. letterd = 0
  2080. ltoim = 0
  2081. elseif key == "c" then
  2082. if input == "aw" then
  2083. CHailstone()
  2084. elseif input == "as" then
  2085. ColdWind()
  2086. elseif input == "dsas" and berserkmode == true then
  2087. IaidoFrost()
  2088. elseif input == "ssad" and berserkmode == true then
  2089. HarbingerW()
  2090. else SlashAtk() end
  2091. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C"
  2092. input = ""
  2093. letterd = 0
  2094. ltoim = 0
  2095. elseif (key == "w" or key == "a" or key == "s" or key == "d") then
  2096. input=input..key
  2097. print(input)
  2098. letterd = letterd + 1
  2099. ltoim = 10
  2100. if letterd > 5 then
  2101. input = ""
  2102. letterd = 0
  2103. ltoim = 0
  2104. end
  2105. end
  2106. end
  2107. end
  2108. combo = 0
  2109.  
  2110. --Mouse Activation--
  2111. if Mouse then
  2112. Mouse.KeyDown:connect(onKeyDown)
  2113. end
  2114.  
  2115. --Overdrive Charge--
  2116. local count = coroutine.wrap(function()
  2117. while wait() do
  2118. if berserkmode == false then
  2119. if overcharge < 100 then
  2120. overcharge = overcharge + 1
  2121. player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%"
  2122. wait(.1)
  2123. else
  2124. end
  2125. elseif berserkmode == true then
  2126. player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!"
  2127. end
  2128. end
  2129. end)
  2130. count()
  2131.  
  2132. --Loop Function--
  2133. walking = false
  2134. toim = 0
  2135. while true do
  2136. wait()
  2137. toim = toim + .1
  2138. ltoim = ltoim - 1
  2139. if ltoim < 1 then
  2140. input = ""
  2141. end
  2142. if del == false then attacking = false elseif del == true then attacking = true end
  2143. if blockval == true and chara:FindFirstChild("HitByUlt")==nil then
  2144. chara.Humanoid.Health = healthlock
  2145. end
  2146. if del == false then
  2147. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input)
  2148. end
  2149. if atkd == true then
  2150. TC.C0 = TCF
  2151. HC.C0 = HCF
  2152. RW.C0 = RWF
  2153. LW.C0 = LWF
  2154. atkd = false
  2155. end
  2156. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2157. if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then
  2158. for i = 0,1,.5 do
  2159. rs:wait()
  2160. if del == false and attacking == false and blockval == false then
  2161. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
  2162. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
  2163. RW.C0 = IRWF
  2164. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
  2165. end
  2166. end
  2167. walking = false
  2168. elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then
  2169. for i = 0,1,.5 do
  2170. rs:wait()
  2171. if del == false and attacking == false and blockval == false then
  2172. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
  2173. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
  2174. RW.C0 = IRWF
  2175. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
  2176. end
  2177. end
  2178. walking = true
  2179. else
  2180. end
  2181. imgl.Rotation = imgl.Rotation + 3
  2182. if targetted ~= nil then
  2183. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2184. crosshair.Enabled = true
  2185. elseif targetted == nil then
  2186. crosshair.Adornee = nil
  2187. crosshair.Enabled = false
  2188. end
  2189. end
Add Comment
Please, Sign In to add comment