Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------
- --Yukio Katana--
- ----------------
- --By --
- --CKbackup-
- -----------
- player = game.Players.LocalPlayer
- chara = player.Character
- debby = game.Debris
- Mouse = player:GetMouse()
- chara.Humanoid.WalkSpeed = 0
- atkd = false
- berserkmode = false
- targetted = nil
- freezeatk = false
- iaidoatk = false
- dfreatk = false
- rs = game:GetService("RunService").RenderStepped
- overcharge = 0
- attacking = false
- --Outfit--
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Sheath = New("Model",chara,"Sheath",{})
- 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),})
- Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(1.29999995, 1, 2),})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,})
- 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),})
- Mesh = New("BlockMesh",SheathHitbox,"Mesh",{Scale = Vector3.new(1.10000002, 1, 1.79999995),})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 2),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.60000002, 1, 2.0999999),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.39999998, 0.800000012, 2.0999999),})
- 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),})
- Yukio = New("Model",chara,"Yukio",{})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
- 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),})
- 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),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1, 2),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, 0.0500000007),Scale = Vector3.new(1, 1, 1.54999995),})
- 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),})
- 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),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(1, 1, 1.54999995),MeshType = Enum.MeshType.Wedge,})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.10000002, 0.5, 1.10000002),})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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,})
- 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),})
- 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,})
- Mesh = New("BlockMesh",Hitbox,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
- 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),})
- RightArm = New("Model",chara,"RightArm",{})
- 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,})
- 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),})
- 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),})
- Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
- 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),})
- LeftArm = New("Model",chara,"LeftArm",{})
- 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,})
- 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),})
- 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),})
- Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
- 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),})
- lach = LeftArm:GetChildren()
- rach = RightArm:GetChildren()
- ch = chara:GetChildren()
- function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
- local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
- local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
- 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})
- return TEff
- end
- SlashTrail = CreateTrailObj(Hitbox,"White","White",0,-(Hitbox.Size.Z/2))
- PunchTrail = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
- KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
- FreezeKickTrail = CreateTrailObj(chara["Left Leg"],"Toothpaste","Toothpaste",0,0)
- BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
- local p1mit = Instance.new("ParticleEmitter",Hitbox)
- p1mit.Texture = "http://www.roblox.com/asset/?id=68072538"
- p1mit.LightEmission = 1
- p1mit.Enabled = false
- p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- p1mit.Lifetime = NumberRange.new(1)
- p1mit.Rate = 10000
- p1mit.Rotation = NumberRange.new(0,359)
- p1mit.RotSpeed = NumberRange.new(100)
- p1mit.Speed = NumberRange.new(0)
- crosshair = Instance.new("BillboardGui",chara)
- crosshair.Size = UDim2.new(10,0,10,0)
- crosshair.Enabled = false
- imgl = Instance.new("ImageLabel",crosshair)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://233522684"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(0,1,1)
- --Sounds--
- function LoadSnd(id,loop,vol,pit)
- local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
- return snd
- end
- StartUpSnd = LoadSnd(153092315,false,1,.8)
- SwingSnd = LoadSnd(62339698,false,1,.8)
- Swing2Snd = LoadSnd(12222208,false,1,1)
- HitSnd = LoadSnd(153092274,false,1,1)
- HitPunchSnd = LoadSnd(153092227,false,1,1)
- DodgeSnd = LoadSnd(232210079,false,1,1)
- ExpSnd = LoadSnd(142070127,false,1,1)
- FlySnd = LoadSnd(169445602,false,1,1)
- BExpSnd = LoadSnd(258057783,false,5,1)
- ClawDashSnd = LoadSnd(62339698,false,1,.5)
- deathmus = LoadSnd(395580552,true,5,1)
- deathex = LoadSnd(258057783,false,5,1)
- ChargeSnd = LoadSnd(137463716,false,1,1)
- LasSnd = LoadSnd(162246701,false,1,1)
- LasLoopSnd = LoadSnd(162246683,true,1,1)
- ChatSnd = LoadSnd(565939471,false,1,1)
- RStompSnd = LoadSnd(2760979,false,1,1)
- SuperSnd = LoadSnd(153092315,false,1,.8)
- GunFlameSnd = LoadSnd(32656754,false,1,1)
- OrbSnd = LoadSnd(233091161,false,1,1)
- ElectricSnd = LoadSnd(231917975,false,1,1)
- LightsOutSnd = LoadSnd(231917794,false,1,1)
- SkyKickSnd = LoadSnd(12222208,false,1,.5)
- SkyBeamSnd = LoadSnd(260433522,false,1,1)
- TargetSnd = LoadSnd(613361563,false,1,1)
- SV1Snd = LoadSnd(28144425,false,1,.265)
- SV2Snd = LoadSnd(2697431,false,1,.3)
- SVHitSnd = LoadSnd(62339698,false,1,.3)
- IceBreakSnd = LoadSnd(357568316,false,1,1)
- FreezeSnd = LoadSnd(203936153,false,1,1)
- IceBreak2Snd = LoadSnd(87015121,false,1,1)
- BlockedSnd = LoadSnd(357622136,false,1,1)
- SwooshSnd = LoadSnd(158037267,false,1,1)
- --Play Sound in Part--
- function PlaySnd(snd,part)
- local sound = snd:Clone()
- sound.PlayOnRemove = true
- sound.Parent = part
- sound:Destroy()
- end
- --Target Select--
- function TargetSelect(person)
- local dd=coroutine.wrap(function()
- if targetted ~= person then
- targetted = person
- for i = 0,30,10 do
- wait(.05)
- crosshair.Size = UDim2.new(40-i,0,40-i,0)
- end
- end
- end)
- dd()
- end
- --Damage Function--
- function dealdmg(dude,damage,env,toim,kby,kbx)
- hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
- if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
- TargetSelect(dude)
- finaldmg = damage + math.random(-env,env)
- if berserkmode == true then
- finaldmg = math.floor(finaldmg * 1.1)
- end
- dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
- local vall = Instance.new("ObjectValue",dude)
- vall.Name = "IsHit"
- debby:AddItem(vall,toim)
- local bfos = Instance.new("BodyVelocity",dude.Head)
- bfos.P = 20000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
- debby:AddItem(bfos,.1)
- local naeeym2 = Instance.new("BillboardGui",dude)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = dude.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = "-"..finaldmg
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,0.6,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- if freezeatk == true and dude:FindFirstChild("IsFrozen")==nil and berserkmode == true then
- local fre = coroutine.wrap(function()
- local v = Instance.new("BoolValue",dude)
- v.Name = "IsFrozen"
- debby:AddItem(v,4)
- local p = Instance.new("Part",dude)
- p.Transparency = .5
- p.Anchored = 1
- p.BrickColor = BrickColor.new("Pastel blue-green")
- p.Material = "Ice"
- p.Size = Vector3.new(5,7,5)
- p.CFrame = dude.Head.CFrame - Vector3.new(0,1.5,0)
- local w = Instance.new("Weld",p)
- w.Part0 = dude.Head
- w.Part1 = p
- wait(2)
- for i = 1,4 do
- p.Transparency = p.Transparency + .1
- wait(.01)
- end
- p:Destroy()
- end)
- fre()
- end
- for i = 1, 5 do
- wait(.1)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end
- end)
- hurt(dude,damage,env,toim)
- end
- --Explode Hitbox--
- function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
- local E = Instance.new("Explosion")
- E.Position = pos
- E.Parent = game.Workspace
- E.BlastRadius = rad
- E.BlastPressure = 0
- E.Visible = false
- E.Hit:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")~=nil then
- dealdmg(hit.Parent,damage,env,toim,kby,kbx)
- end
- end)
- end
- --Chat Function--
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if chara:FindFirstChild("TalkingBillBoard")~= nil then
- chara:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(1)
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- player.Chatted:connect(onChatted)
- --Punch Hit Effect--
- function PunchEff(pos)
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = pos
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(.2,.2,.2)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Blade Hit Effect--
- function SlashEff(pos)
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(.5,0,.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(0,5,0)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Super Pause--
- function SuperPause()
- StartUpSnd:Play()
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = chara.Torso.CFrame
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(5,5,5)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Punch Touch--
- dela = .5
- punchactive = false
- function punchhit(hit)
- if punchactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- dealdmg(hit.Parent,10,2,dela,0,5)
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(Emit2Part.CFrame)
- end
- end
- end
- Emit2Part.Touched:connect(punchhit)
- EmitPart.Touched:connect(punchhit)
- --Kick Touch--
- kickactive = false
- dkickactive = false
- skickactive = false
- didskick = false
- lkickactive = false
- function kickhit(hit)
- if kickactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(hit.CFrame)
- if dkickactive == true then
- dealdmg(hit.Parent,13,2,dela,0,10)
- hit.Parent.Humanoid.PlatformStand = true
- 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)
- wait(3)
- hit.Parent.Humanoid.PlatformStand = false
- elseif skickactive == true then
- local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
- bodpf.MaxForce = Vector3.new(10000,10000,10000)
- bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
- debby:AddItem(bodpf,3.5)
- dealdmg(hit.Parent,13,2,dela,50,10)
- didskick = true
- elseif lkickactive == true then
- if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
- hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
- end
- dealdmg(hit.Parent,13,2,dela,50,50)
- else
- dealdmg(hit.Parent,10,2,dela,0,10)
- end
- end
- end
- end
- chara["Left Leg"].Touched:connect(kickhit)
- chara["Right Leg"].Touched:connect(kickhit)
- --Blade Touch--
- dela = .5
- bladedmg = 16
- bladeactive = false
- function bladehit(hit)
- if blockval == true then
- PlaySnd(BlockedSnd,chara)
- end
- if bladeactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- dealdmg(hit.Parent,bladedmg,2,dela,0,10)
- PlaySnd(HitSnd,hit.Parent.Head)
- SlashEff(hit.CFrame)
- if iaidoatk == true then
- local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
- bfos.P = 20000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 10
- wait(1)
- for i = 1, 30 do
- wait(.0001)
- dealdmg(hit.Parent,2,1,0,0,0)
- PlaySnd(HitSnd,hit.Parent.Head)
- SlashEff(hit.CFrame)
- end
- bfos:Destroy()
- end
- if dfreatk == true then
- hit.Parent.Humanoid.Health = 0
- hit.Parent.Humanoid:Destroy()
- PlaySnd(FreezeSnd,hit.Parent.Head)
- local cc = hit.Parent:GetChildren()
- for i = 1, #cc do
- if cc[i].ClassName == "Part" or cc[i].ClassName == "MeshPart" then
- cc[i].Anchored = true
- cc[i].BrickColor = BrickColor.new("Pastel blue-green")
- cc[i].Material = "Ice"
- end
- end
- wait(2)
- PlaySnd(IceBreak2Snd,hit.Parent.Head)
- for i = 1, #cc do
- if cc[i].ClassName == "Part" or cc[i].ClassName == "MeshPart" then
- for i = 1, 6 do
- local ice = Instance.new("Part",game.Workspace)
- ice.Size = Vector3.new(.4,.4,.4)
- ice.Material = "Ice"
- ice.BrickColor = BrickColor.new("Pastel blue-green")
- ice.Position = cc[i].Position
- ice.CFrame = cc[i].CFrame
- debby:AddItem(ice,5)
- end
- cc[i]:Destroy()
- end
- end
- end
- end
- end
- end
- Hitbox.Touched:connect(bladehit)
- --Material Return--
- gprop = {}
- function materialhit()
- local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0)))
- if part then
- gprop = {part.BrickColor,part.Material}
- end
- end
- --Clerp Animations--
- TC = chara.HumanoidRootPart.RootJoint
- HC = chara.Torso.Neck
- RAC = chara.Torso["Right Shoulder"]
- LAC = chara.Torso["Left Shoulder"]
- RLC = chara.Torso["Right Hip"]
- LLC = chara.Torso["Left Hip"]
- TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW = Instance.new("Weld",HC.Parent)
- RW.Part1 = HC.Parent
- RW.Part0 = chara["Right Arm"]
- RW.C0 = RWF
- LW = Instance.new("Weld",HC.Parent)
- LW.Part1 = HC.Parent
- LW.Part0 = chara["Left Arm"]
- LW.C0 = LWF
- RLW = nil
- LLW = nil
- function Sheath(stype)
- KWeld:Destroy()
- if stype == 1 then --Sheathed
- 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),})
- elseif stype == 2 then --Unsheathed
- 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),})
- elseif stype == 3 then --Unsheathed, Pointing
- 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),})
- elseif stype == 4 then --Unsheathed, Down
- 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),})
- end
- end
- function AddLegWelds()
- RLW = Instance.new("Weld",chara["Right Leg"])
- RLW.Part1 = HC.Parent
- RLW.Part0 = chara["Right Leg"]
- RLW.C0 = RLWF
- LLW = Instance.new("Weld",chara["Left Leg"])
- LLW.Part1 = HC.Parent
- LLW.Part0 = chara["Left Leg"]
- LLW.C0 = LLWF
- end
- function DestroyLegWelds()
- 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),})
- 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),})
- RLW:Destroy()
- LLW:Destroy()
- end
- function clerp(a,b,c)
- return a:lerp(b,c)
- end
- ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{})
- 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})
- 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})
- 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})
- function ultcool()
- 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})
- debby:AddItem(CoolDown,13)
- end
- --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- --Idle Clerp--
- ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- IRWF = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
- ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- function res()
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- end
- res()
- --Intro--
- RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
- local kch = Yukio:GetChildren()
- local sch = chara.Sheath:GetChildren()
- for i = 1, #kch do
- if kch[i] ~= "Hitbox" then
- kch[i].Transparency = 1
- end
- end
- for i = 1, #sch do
- sch[i].Transparency = 1
- end
- wait(.5)
- p1mit.Enabled = true
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- end
- GunFlameSnd:Play()
- wait(.5)
- for i = 1, #kch do
- if kch[i] ~= "Hitbox" then
- kch[i].Transparency = 0
- end
- end
- Hitbox.Transparency = 1
- for i = 1, #sch do
- sch[i].Transparency = 0
- end
- wait(.5)
- p1mit.Enabled = false
- wait(1)
- for i = 0,.6,.1 do
- rs:wait()
- RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2)),.6-i)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- end
- chara.Humanoid.WalkSpeed = 16
- --Overdrive--
- function Overdrive()
- del = false
- atkd = false
- overcharge = 0
- chara.Humanoid.WalkSpeed = 0
- chatfunc("Unleashing Armagus!")
- berserkmode = true
- local jtrace = Instance.new("Part",game.Workspace)
- jtrace.Size = Vector3.new(0,0,0)
- jtrace.Position = chara.HumanoidRootPart.Position
- jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0)
- jtrace.Anchored = true
- SuperPause()
- local tmesh = Instance.new("SpecialMesh",jtrace)
- tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- tmesh.Scale = Vector3.new(1,1,1)
- tmesh.Offset = Vector3.new(0,0,-.125)
- Void = nil
- VoidParts = {}
- Equipped = false
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- Player = player
- Character = chara
- Humanoid = Character:FindFirstChild("Humanoid")
- Torso = Character:FindFirstChild("Torso")
- if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
- return
- end
- Equipped = true
- Void = Instance.new("Model")
- Void.Name = "Void"
- Angle = 0
- local VoidPart = Instance.new("Part")
- VoidPart.Name = "VoidPart"
- VoidPart.Transparency = 1
- VoidPart.BrickColor = BrickColor.new("Really black")
- VoidPart.Material = Enum.Material.Plastic
- VoidPart.Shape = Enum.PartType.Block
- VoidPart.FormFactor = Enum.FormFactor.Custom
- VoidPart.TopSurface = Enum.SurfaceType.Smooth
- VoidPart.BottomSurface = Enum.SurfaceType.Smooth
- VoidPart.Anchored = true
- VoidPart.CanCollide = false
- VoidPart.Locked = true
- VoidPart.Size = Vector3.new(10, 0.2, 10)
- local BlockMesh = Instance.new("BlockMesh")
- BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1)
- BlockMesh.Parent = VoidPart
- VoidPart.Parent = Void
- local Star = Instance.new("Decal", VoidPart)
- Star.Texture = "http://www.roblox.com/asset/?id=342201299"
- Star.Face = "Top"
- local Light = Instance.new("PointLight", VoidPart)
- Light.Color = Color3.new(0,0,1)
- Light.Brightness = 100
- Light.Range = 10
- table.insert(VoidParts, VoidPart)
- Spawn(function()
- while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do
- if Angle == 360 then
- Angle = 0
- end
- Angle = Angle + 0.05
- local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
- if Hit then
- if not Void.Parent then
- Void.Parent = Character
- end
- for i, v in pairs(VoidParts) do
- v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
- end
- else
- Void.Parent = nil
- end
- wait()
- end
- end)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- end
- for i = 1, 10 do
- wait(.01)
- TC.C0 = TCF
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0)
- RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- jtrace.Transparency = jtrace.Transparency + .1
- tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2)
- end
- wait(.01)
- jtrace:Destroy()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- end
- jtrace:Destroy()
- local delll = coroutine.wrap(function()
- local delval = 10
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,5,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "Counter"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.TextColor3 = Color3.new(1,0,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,1)
- for i = 0, 30 do
- delval = 30 - i
- tecks2.Text = "<"..delval..">"
- wait(1)
- end
- berserkmode = false
- p1mit:Destroy()
- VoidPart:Destroy()
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- end)
- delll()
- chara.Humanoid.WalkSpeed = 16
- del = false
- res()
- end
- --Punch--
- function Punch()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- punchactive = true
- PunchTrail.Enabled = true
- wait(.01)
- SwooshSnd:Play()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- chara.Humanoid.WalkSpeed = 16
- punchactive = false
- PunchTrail.Enabled = false
- del = false
- res()
- end
- --Kick Atk--
- function KickAtk()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- kickactive = true
- KickTrail.Enabled = true
- AddLegWelds()
- SwooshSnd:Play()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
- end
- DestroyLegWelds()
- kickactive = false
- KickTrail.Enabled = false
- chara.Humanoid.WalkSpeed = 16
- del = false
- res()
- end
- --Slash Attack--
- function SlashAtk()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- bladedmg = 10
- bladeactive = true
- SlashTrail.Enabled = true
- Sheath(2)
- SwingSnd:Play()
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(.5)
- Sheath(3)
- bladeactive = false
- SlashTrail.Enabled = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- del = false
- bladedmg = 16
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Bandit Revolver--
- function BanditRevolver()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- kickactive = true
- dkickactive = true
- BRTrail.Enabled = true
- chatfunc("Bandit Revolver!")
- AddLegWelds()
- local bfos = Instance.new("BodyVelocity",chara.Torso)
- bfos.P = 10000
- bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
- bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 50
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
- end
- for i = 0,1,.1 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
- end
- SwooshSnd:Play()
- for i = 0,1,.1 do
- rs:wait()
- 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)
- end
- SwooshSnd:Play()
- for i = 0,1,.1 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
- RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
- LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
- RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
- end
- DestroyLegWelds()
- dkickactive = false
- kickactive = false
- BRTrail.Enabled = false
- chara.Humanoid.WalkSpeed = 16
- bfos:Destroy()
- del = false
- res()
- end
- --Freezer Kick--
- --function FlipKickEffect(pos)
- --local p = Instance.new("Part",game.Workspace)
- --p.Size = Vector3.new(0,0,0)
- --p.BrickColor = BrickColor.new("Pastel blue-green")
- --p.Material = "Ice"
- --p.Anchored = true
- --p.CanCollide = false
- --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- --local pm = Instance.new("BlockMesh",p)
- --local disp = coroutine.wrap(function()
- --for i = 1, 4 do
- --wait(.01)
- --p.Transparency = p.Transparency + .2
- --pm.Scale = pm.Scale + Vector3.new(2,2,2)
- --end
- --wait(.01)
- --p:Destroy()
- --end)
- --disp()
- --end
- function FlipKick()
- del = true
- atkd = true
- chatfunc("Freezer Kick!")
- SkyKickSnd.Pitch = 1.5
- AddLegWelds()
- kickactive = true
- lkickactive = true
- local bfos = Instance.new("BodyVelocity",chara.Torso)
- bfos.P = 10000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector * 20
- SkyKickSnd:Play()
- FreezeKickTrail.Enabled = true
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
- --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
- end
- bfos:Destroy()
- kickactive = false
- lkickactive = false
- FreezeKickTrail.Enabled = false
- wait(.1)
- for i = 0,1,.1 do
- rs:wait()
- TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),ITCF,.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
- RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
- LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
- RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
- end
- DestroyLegWelds()
- del = false
- res()
- end
- --Tundra Spike--
- function TundraSpike()
- del = true
- atkd = true
- freezeatk = true
- --Grunt2Snd:Play()
- chara.Humanoid.WalkSpeed = 0
- chatfunc("Tundra Spike!")
- SlashTrail.Enabled = true
- Sheath(4)
- AddLegWelds()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-90)),.4+i)
- LLW.C0 = clerp(LLWF,LLWF + Vector3.new(0,-1,.5),.4+i)
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.4+i)
- end
- local num = 10
- local oopos = chara.HumanoidRootPart.CFrame-Vector3.new(0,2,0)
- for i = 1,4 do
- local cpos = oopos+(oopos.lookVector*num)
- wait(.1)
- local beam = Instance.new("Part",game.Workspace)
- beam.Size = Vector3.new(0,0,0)
- beam.CFrame = CFrame.new(cpos.x,cpos.y,cpos.z)
- beam.CanCollide = false
- beam.Anchored = true
- beam.BrickColor = BrickColor.new("Pastel blue-green")
- beam.Reflectance = .2
- local mehs = Instance.new("SpecialMesh",beam)
- mehs.MeshId = "http://www.roblox.com/asset/?id=1033714"
- mehs.Offset = Vector3.new(0,-3,0)
- mehs.Scale = Vector3.new(2,20,2)
- local trace = Instance.new("Part",game.Workspace)
- trace.Size = Vector3.new(0,0,0)
- trace.CFrame = CFrame.new(cpos.x,cpos.y,cpos.z)
- trace.CanCollide = false
- trace.Anchored = true
- trace.BrickColor = BrickColor.new("Pastel blue-green")
- trace.Reflectance = .2
- local tmesh2 = Instance.new("SpecialMesh",trace)
- tmesh2.MeshId = "http://www.roblox.com/asset/?id=1323306"
- tmesh2.Scale = Vector3.new(6,1,6)
- PlaySnd(GunFlameSnd,beam)
- ExHitbox(6,beam.Position,30,2,.5,0,0)
- tracegrow = coroutine.wrap(function()
- for i = -6,6,2 do
- wait(.01)
- mehs.Offset = Vector3.new(0,i,0)
- end
- wait(1)
- for i = 1, 9 do
- wait(.01)
- beam.Transparency = beam.Transparency + .1
- trace.Transparency = trace.Transparency + .1
- end
- beam:Destroy()
- trace:Destroy()
- end)
- tracegrow()
- num = num + 10
- end
- wait(.1)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-90)),.6-i)
- LLW.C0 = clerp(LLWF,LLWF + Vector3.new(0,-1,.5),.6-i)
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.6-i)
- end
- DestroyLegWelds()
- Sheath(1)
- freezeatk = false
- SlashTrail.Enabled = false
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Claw Dash--
- function ClawDash()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- chatfunc("Without a trace...")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,RWF,.4+i)
- end
- local hittpart = Instance.new("Part",chara)
- hittpart.Anchored = true
- hittpart.Size = Vector3.new(5,5,1)
- hittpart.Transparency = 1
- hittpart.CFrame = chara.HumanoidRootPart.CFrame + (chara.HumanoidRootPart.CFrame.lookVector * 3)
- local sawlookv = hittpart.CFrame.lookVector
- local hitm = Instance.new("BlockMesh",hittpart)
- hitm.Scale = Vector3.new(0,0,0)
- local trpart = Instance.new("Part",chara)
- trpart.Anchored = true
- trpart.Size = Vector3.new(0,0,0)
- trpart.CFrame = hittpart.CFrame
- trpart.BrickColor = BrickColor.new("Really black")
- local trmesh = Instance.new("FileMesh",trpart)
- trmesh.Scale = Vector3.new(0,0,0)
- trmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local hdec1 = Instance.new("Decal",hittpart)
- hdec1.Texture = "http://www.roblox.com/asset/?id=362691215"
- hdec1.Face = "Front"
- local hdec2 = hdec1:Clone()
- hdec2.Parent = hittpart
- hdec2.Face = "Back"
- OrbSnd:Play()
- ElectricSnd:Play()
- for i = 1, 5 do
- hitm.Scale = hitm.Scale + Vector3.new(.2,.2,0)
- trmesh.Scale = trmesh.Scale + Vector3.new(1,1,.1)
- wait(.01)
- end
- hittpart.Touched:connect(function(hit)
- if hit.Parent ~= chara then
- ClawDashSnd:Play()
- hittpart:Destroy()
- trpart:Destroy()
- AddLegWelds()
- SlashTrail.Enabled = true
- freezeatk = true
- chatfunc("Winter's Riposte!")
- Sheath(4)
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
- RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- LLW.C0 = LLWF
- RLW.C0 = RLWF + Vector3.new(0,-1,1)
- for i = 1, 10 do
- local trace = Instance.new("Part",game.Workspace)
- trace.CanCollide = false
- trace.Size = Vector3.new(1,1,1)
- trace.Transparency = 1
- trace.BottomSurface = 0
- trace.TopSurface = 0
- trace.Anchored = true
- trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i))
- debby:AddItem(trace,1)
- ExHitbox(10,trace.Position,20,2,.1,0,0)
- end
- local trace = Instance.new("Part",game.Workspace)
- trace.BrickColor = BrickColor.new("Toothpaste")
- trace.CanCollide = false
- trace.Size = Vector3.new(1,1,1)
- trace.BottomSurface = 0
- trace.TopSurface = 0
- trace.Anchored = true
- trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 25
- trace.Material = "Neon"
- local tracem = Instance.new("SpecialMesh",trace)
- tracem.MeshType = "Sphere"
- tracem.Scale = Vector3.new(1,1,50)
- local disp = coroutine.wrap(function()
- for i = 1, 9 do
- wait(.01)
- trace.Transparency = trace.Transparency + .1
- end
- wait(.01)
- trace:Destroy()
- end)
- disp()
- chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60
- wait(1)
- SlashTrail.Enabled = false
- Sheath(3)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- LLW.C0 = LLWF
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i)
- end
- Sheath(1)
- freezeatk = false
- del = false
- DestroyLegWelds()
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- end)
- for i = 1, 60 do
- wait(.01)
- hittpart.CFrame=hittpart.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi/64)
- end
- if hittpart ~= nil then
- for i = 1, 5 do
- hitm.Scale = hitm.Scale - Vector3.new(.2,.2,0)
- trmesh.Scale = trmesh.Scale - Vector3.new(1,1,.1)
- wait(.01)
- end
- hittpart:Destroy()
- trpart:Destroy()
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,RWF,.6-i)
- end
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- end
- --Blast--
- function PsychoBlast()
- del = true
- atkd = true
- freezeatk = true
- PunchTrail.Enabled = true
- chatfunc("Icy Storm!")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- PunchTrail.Enabled = false
- for i = 1,3 do
- wait(.1)
- SkyBeamSnd:Play()
- local target = Mouse.Hit.p
- local dir = (target - (chara.HumanoidRootPart.Position + Vector3.new(0,30,0))).unit
- local pos = (chara.HumanoidRootPart.Position + Vector3.new(0,30,0)) + (dir*1)
- local missile = Instance.new("Part",game.Workspace)
- missile.Material = "Neon"
- missile.Size = Vector3.new(1,1,3)
- missile.BrickColor = BrickColor.new("Pastel blue-green")
- missile.Reflectance = .2
- missile.Name = "Blast"
- missile.CanCollide = false
- missile.TopSurface = 0
- missile.BottomSurface = 0
- missile.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0)
- missile.CFrame = CFrame.new(pos,pos+dir)
- missile.Velocity = (target - (chara.HumanoidRootPart.Position + Vector3.new(0,30,0))).unit*150
- -- local p1mit = Instance.new("ParticleEmitter",missile)
- -- p1mit.Texture = "rbxasset://textures/particles/fire_main.dds"
- -- p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
- -- p1mit.LightEmission = 1
- -- p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- -- p1mit.Lifetime = NumberRange.new(1)
- -- p1mit.Rate = 100
- -- p1mit.Rotation = NumberRange.new(0,359)
- -- p1mit.RotSpeed = NumberRange.new(100)
- -- p1mit.Speed = NumberRange.new(0)
- local mesh1 = Instance.new("SpecialMesh",missile)
- mesh1.MeshId = "http://www.roblox.com/asset/?id=20518365"
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
- force.Parent = missile
- -- local bfo = Instance.new("BodyVelocity",missile)
- -- bfo.P = 100000
- -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
- -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
- -- debby:AddItem(bfo,1)
- missile.Touched:connect(function(hit)
- if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile.Anchored == false) then
- missile.Anchored = true
- ExHitbox(3,missile.Position,15,1,.1,0,0)
- PlaySnd(IceBreakSnd,missile)
- for i = 1, 6 do
- local ice = Instance.new("Part",game.Workspace)
- ice.Size = Vector3.new(.4,.4,.4)
- ice.Material = "Ice"
- ice.BrickColor = BrickColor.new("Pastel blue-green")
- ice.Position = missile.Position
- ice.CFrame = missile.CFrame
- debby:AddItem(ice,5)
- end
- missile:Destroy()
- end
- end)
- debby:AddItem(missile,10)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- freezeatk = false
- del = false
- res()
- end
- --Cold Wind--
- function ColdWind()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- freezeatk = true
- SlashTrail.Enabled = true
- chatfunc("Cold Wind!")
- Sheath(2)
- GunFlameSnd:Play()
- SwingSnd:Play()
- p1mit.Enabled = true
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(.5)
- Sheath(3)
- p1mit.Enabled = false
- bladeactive = false
- freezeatk = false
- SlashTrail.Enabled = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Cutting Hailstone--
- function CHailstone()
- del = true
- atkd = true
- local bpo = Instance.new("BodyPosition",chara.Torso)
- bpo.MaxForce = Vector3.new(0,10000,0)
- bpo.Position = chara.Torso.Position + Vector3.new(0,50,0)
- AddLegWelds()
- for i = 0,.6,.1 do
- rs:wait()
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.4+i)
- end
- wait(.5)
- bpo.D = 100
- chatfunc("Cutting Hailstone!")
- p1mit.Enabled = true
- chara.Humanoid.WalkSpeed = 8
- Sheath(4)
- Swing2Snd:Play()
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
- RW.C0 = IRWF
- end
- bladeactive = true
- freezeatk = true
- SlashTrail.Enabled = true
- bpo.Position = chara.Torso.Position - Vector3.new(0,50,0)
- wait(1)
- for i = 0,.6,.1 do
- rs:wait()
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.6-i)
- end
- DestroyLegWelds()
- bpo:Destroy()
- Sheath(3)
- p1mit.Enabled = false
- bladeactive = false
- freezeatk = false
- SlashTrail.Enabled = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
- RW.C0 = IRWF
- end
- Sheath(1)
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Iaido Frost--
- function IaidoFrost()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 8
- SuperPause()
- chatfunc("Iaido Frost!")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- end
- wait(1)
- bladeactive = true
- iaidoatk = true
- SlashTrail.Enabled = true
- Sheath(2)
- GunFlameSnd:Play()
- Swing2Snd:Play()
- p1mit.Enabled = true
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(1)
- Sheath(3)
- p1mit.Enabled = false
- bladeactive = false
- iaidoatk = false
- SlashTrail.Enabled = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- --Coldheart--
- function Coldheart()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 2
- SuperPause()
- chatfunc("Cold Heart...")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- end
- for i = 1, 30 do
- local jtrace = Instance.new("Part",game.Workspace)
- jtrace.BrickColor = BrickColor.new("Teal")
- jtrace.Size = Vector3.new(0,0,0)
- jtrace.Position = chara.HumanoidRootPart.Position - Vector3.new(0,2,0)
- jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2,0)
- jtrace.Anchored = true
- local tmesh = Instance.new("SpecialMesh",jtrace)
- tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- tmesh.Scale = Vector3.new(1,1,1)
- tmesh.Offset = Vector3.new(0,0,-.125)
- local coro = coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- jtrace.Transparency = jtrace.Transparency + .1
- tmesh.Scale = tmesh.Scale + Vector3.new(1,-.1,1)
- end
- end)
- coro()
- wait(.1)
- end
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- dfreatk = true
- GunFlameSnd:Play()
- SwingSnd:Play()
- p1mit.Enabled = true
- Sheath(3)
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(1)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- chara.Humanoid.WalkSpeed = 16
- bladeactive = false
- dfreatk = false
- p1mit.Enabled = false
- del = false
- res()
- end
- --Harbinger of Winter--
- function HarbingerW()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 8
- SuperPause()
- chatfunc("Harbinger of Winter!")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- end
- wait(1)
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- SlashTrail.Enabled = true
- dela = 0
- Sheath(3)
- wait(.01)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 1, 40 do
- wait(.001)
- PlaySnd(Swing2Snd,chara)
- RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- end
- RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- wait(1)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- chara.Humanoid.WalkSpeed = 16
- bladeactive = false
- SlashTrail.Enabled = false
- dela = .5
- del = false
- res()
- end
- --Final Attack--
- finalgrab = false
- didfinal = false
- function FinalGrab(hit)
- 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
- finalgrab = false
- didfinal = true
- chatfunc("Now die!")
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(hit.CFrame)
- local stay = coroutine.wrap(function()
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hit.Parent.Humanoid.WalkSpeed = 0
- hit.Parent.Humanoid.PlatformStand = true
- end
- end)
- stay()
- local valll = Instance.new("ObjectValue",hit.Parent)
- valll.Name = "HitByUlt"
- local bpos = Instance.new("BodyPosition",hit.Parent.Head)
- bpos.MaxForce = Vector3.new(10000,10000,10000)
- bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*5
- KickTrail.Enabled = true
- AddLegWelds()
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
- HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
- 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)
- 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)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
- end
- PunchEff(hit.CFrame)
- HitPunchSnd:Play()
- bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*30
- wait(1)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
- end
- KickTrail.Enabled = false
- Sheath(3)
- SlashTrail.Enabled = true
- p1mit.Enabled = true
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- DestroyLegWelds()
- for i = 1, 10 do
- wait(.001)
- PlaySnd(Swing2Snd,chara)
- RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Toothpaste")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- 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)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(.5,0,.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(.5,5,.5)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- PlaySnd(HitSnd,chara)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- for i = 0,1,.25 do
- rs:wait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
- end
- for i = 0,1,.25 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(181)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
- end
- Sheath(3)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 1, 10 do
- wait(.001)
- PlaySnd(Swing2Snd,chara)
- RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Toothpaste")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- 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)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(.5,0,.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(.5,5,.5)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- PlaySnd(HitSnd,chara)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- for i = 0,1,.25 do
- rs:wait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),i)
- end
- for i = 0,1,.25 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-181)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-360)),i)
- end
- Sheath(3)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- for i = 1, 25 do
- wait(.001)
- PlaySnd(Swing2Snd,chara)
- RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Toothpaste")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- 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)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(.5,0,.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(.5,5,.5)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- PlaySnd(HitSnd,chara)
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- SuperPause()
- chatfunc("Time to end it.")
- wait(1)
- chatfunc("Cold Heart!")
- AddLegWelds()
- GunFlameSnd:Play()
- SwingSnd:Play()
- Sheath(4)
- for i = 0,.6,.2 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
- LLW.C0 = LLWF
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.4+i)
- end
- chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector*15
- for i = 1, 10 do
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Toothpaste")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- 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)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(.5,0,.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(.5,10,.5)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- targetted = nil
- hit.Parent.Humanoid.Health = 0
- hit.Parent.Humanoid:Destroy()
- FreezeSnd:Play()
- local cc = hit.Parent:GetChildren()
- for i = 1, #cc do
- if cc[i].ClassName == "Part" or cc[i].ClassName == "MeshPart" then
- cc[i].Anchored = true
- cc[i].BrickColor = BrickColor.new("Pastel blue-green")
- cc[i].Material = "Ice"
- end
- end
- wait(2)
- PlaySnd(IceBreak2Snd,hit.Parent.Head)
- for i = 1, #cc do
- if cc[i].ClassName == "Part" then
- for i = 1, 6 do
- local ice = Instance.new("Part",workspace)
- ice.Size = Vector3.new(.4,.4,.4)
- ice.Material = "Ice"
- ice.BrickColor = BrickColor.new("Pastel blue-green")
- ice.Position = cc[i].Position
- ice.CFrame = cc[i].CFrame
- debby:AddItem(ice,5)
- end
- end
- end
- hit.Parent:Destroy()
- wait(2)
- Sheath(3)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- LLW.C0 = LLWF
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i)
- end
- Sheath(1)
- p1mit.Enabled = false
- SlashTrail.Enabled = false
- chatfunc("What a pain..")
- DestroyLegWelds()
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- end
- end
- SheathHitbox.Touched:connect(FinalGrab)
- function AttemptFinal()
- del = true
- atkd = true
- finalgrab = true
- chara.Humanoid.WalkSpeed = 0
- SuperPause()
- chatfunc("Retribution...")
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- end
- wait(3)
- if didfinal == false then
- finalgrab = false
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- end
- del = false
- chara.Humanoid.WalkSpeed = 16
- res()
- elseif didfinal == true then
- end
- end
- --Lock On--
- function LockOn()
- if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
- TargetSelect(Mouse.Target.Parent)
- TargetSnd:Play()
- wait(.05)
- TargetSnd:Play()
- else end
- end
- --Block--
- blockval = false
- healthlock = 0
- effeff = nil
- function ToggleBlock()
- if blockval == false then
- blockval = true
- SwooshSnd:Play()
- healthlock = chara.Humanoid.Health
- effeff = Instance.new("ForceField",chara)
- effeff.Name = "FawsFeeld"
- effeff.Visible = false
- Sheath(4)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(110)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-110)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- elseif blockval == true then
- SwooshSnd:Play()
- effeff:Destroy()
- blockval = false
- Sheath(3)
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(110)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-110)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- Sheath(1)
- res()
- end
- end
- function Stunned()
- del = true
- blockval = false
- Sheath(1)
- chara.Humanoid.WalkSpeed = 0
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,5,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "Counter"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Stunned!"
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.TextColor3 = Color3.new(1,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- for i = 1, 30 do
- wait(.1)
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0)
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0)
- RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
- LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20))
- end
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- for i = 0,.6,.1 do
- rs:wait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i)
- RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i)
- LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i)
- end
- del = false
- chara.Humanoid.WalkSpeed = 16
- end
- blkpct = 100
- local bcount = coroutine.wrap(function()
- while wait() do
- if blockval == false then
- if blkpct < 100 then
- blkpct = blkpct + 1
- wait(.5)
- else
- end
- end
- player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%"
- end
- end)
- bcount()
- chara.Humanoid.HealthChanged:connect(function(hth)
- if blockval == true then
- if math.floor(hth) < healthlock then
- blkpct = blkpct - math.random(2,4)
- if blkpct < 1 then
- Stunned()
- end
- print("Block Value reduced to "..blkpct)
- else
- end
- end
- end)
- --Mouse Functions--
- orbpushactive = false
- del = false
- input = ""
- letterd = 0
- ltoim = 0
- function onKeyDown(key)
- if key == "e" and attacking == false then
- ToggleBlock()
- elseif del == false and blockval == false then
- if key == "q" then
- if input == "das" then
- TundraSpike()
- elseif input == "ad" then
- PsychoBlast()
- elseif input == "aad" and berserkmode == true then
- ClawDash()
- elseif input == "asdww" and berserkmode == true and player.PlayerGui.InfoScreen:FindFirstChild("UltCoolDown")==nil then
- AttemptFinal()
- elseif input == "adad" and berserkmode == false and overcharge == 100 then
- Overdrive()
- else LockOn() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q"
- input = ""
- letterd = 0
- ltoim = 0
- elseif key == "z" then
- if input == "ss" then
- FlipKick()
- else Punch() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z"
- input = ""
- letterd = 0
- ltoim = 0
- elseif key == "x" then
- if input == "sa" then
- BanditRevolver()
- else KickAtk() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X"
- input = ""
- letterd = 0
- ltoim = 0
- elseif key == "c" then
- if input == "aw" then
- CHailstone()
- elseif input == "as" then
- ColdWind()
- elseif input == "dsas" and berserkmode == true then
- IaidoFrost()
- elseif input == "ssad" and berserkmode == true then
- HarbingerW()
- else SlashAtk() end
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C"
- input = ""
- letterd = 0
- ltoim = 0
- elseif (key == "w" or key == "a" or key == "s" or key == "d") then
- input=input..key
- print(input)
- letterd = letterd + 1
- ltoim = 10
- if letterd > 5 then
- input = ""
- letterd = 0
- ltoim = 0
- end
- end
- end
- end
- combo = 0
- --Mouse Activation--
- if Mouse then
- Mouse.KeyDown:connect(onKeyDown)
- end
- --Overdrive Charge--
- local count = coroutine.wrap(function()
- while wait() do
- if berserkmode == false then
- if overcharge < 100 then
- overcharge = overcharge + 1
- player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%"
- wait(.1)
- else
- end
- elseif berserkmode == true then
- player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!"
- end
- end
- end)
- count()
- --Loop Function--
- walking = false
- toim = 0
- while true do
- wait()
- toim = toim + .1
- ltoim = ltoim - 1
- if ltoim < 1 then
- input = ""
- end
- if del == false then attacking = false elseif del == true then attacking = true end
- if blockval == true and chara:FindFirstChild("HitByUlt")==nil then
- chara.Humanoid.Health = healthlock
- end
- if del == false then
- player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input)
- end
- if atkd == true then
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- atkd = false
- end
- torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
- if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then
- for i = 0,1,.5 do
- rs:wait()
- if del == false and attacking == false and blockval == false then
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
- RW.C0 = IRWF
- LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
- end
- end
- walking = false
- elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then
- for i = 0,1,.5 do
- rs:wait()
- if del == false and attacking == false and blockval == false then
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
- RW.C0 = IRWF
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
- end
- end
- walking = true
- else
- end
- imgl.Rotation = imgl.Rotation + 3
- if targetted ~= nil then
- crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
- crosshair.Enabled = true
- elseif targetted == nil then
- crosshair.Adornee = nil
- crosshair.Enabled = false
- end
- end
Add Comment
Please, Sign In to add comment