SHOW:
|
|
- or go back to the newest paste.
1 | ------------------------- | |
2 | --Sugarie the Void Lord-- | |
3 | ------------------------- | |
4 | --By -- | |
5 | --CKbackup- | |
6 | ----------- | |
7 | ||
8 | player = game.Players.LocalPlayer | |
9 | chara = player.Character | |
10 | debby = game.Debris | |
11 | Mouse = player:GetMouse() | |
12 | chara.Humanoid.WalkSpeed = 0 | |
13 | atkd = false | |
14 | atkdd = false | |
15 | targetted = nil | |
16 | iaidoatk = false | |
17 | berserkmode = false | |
18 | rs = game:GetService("RunService").RenderStepped | |
19 | overcharge = 0 | |
20 | attacking = false | |
21 | ||
22 | --Outfit-- | |
23 | New = function(Object, Parent, Name, Data) | |
24 | local Object = Instance.new(Object) | |
25 | for Index, Value in pairs(Data or {}) do | |
26 | Object[Index] = Value | |
27 | end | |
28 | Object.Parent = Parent | |
29 | Object.Name = Name | |
30 | return Object | |
31 | end | |
32 | ||
33 | Swordu = New("Model",chara,"Swordu",{}) | |
34 | Handle = New("Part",Swordu,"Handle",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.199999943, 1, 0.199999973),CFrame = CFrame.new(-31.1000004, 1.70000005, -8.30000877, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
35 | KWeld = New("ManualWeld",Handle,"KWeld",{Part0 = Handle,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -0.999996185, -7.15255737e-07, -1, 0, 0, 0, 0, -1, 0, -1, 0),}) | |
36 | Mesh = New("CylinderMesh",Handle,"Mesh",{}) | |
37 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.1000004, 1.19999981, -8.30000877, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
38 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.600000024, 0.200000003),MeshId = "http://www.roblox.com/asset/?id=16659363",MeshType = Enum.MeshType.FileMesh,}) | |
39 | 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.500000238, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
40 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.399999976),CFrame = CFrame.new(-31.0999985, 2.900002, -7.9000082, 1, 0, 0, 0, 0, -1, 0, 1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
41 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
42 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0),C1 = CFrame.new(-1.90734863e-06, 1.20000196, -0.400000572, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
43 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.199999973),CFrame = CFrame.new(-31.0999985, 3.05176711, -9.43960762, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
44 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
45 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.500000238, -0.866025388, 0, 0.866025388, 0.500000238),C1 = CFrame.new(-1.90734863e-06, 1.35176706, 1.13959885, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
46 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.60176396, -8.66018009, 1, -0, 0, 0, -0.500000238, -0.866025388, 0, 0.866025388, -0.500000238),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
47 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
48 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.500000238, 0.866025388, 0, -0.866025388, -0.500000238),C1 = CFrame.new(-1.90734863e-06, 0.901763916, 0.360171318, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
49 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.399999976),CFrame = CFrame.new(-31.0999985, 4.30000162, -8.50000858, 1, 0, 0, 0, 1.00000012, 5.96046448e-08, 0, -5.96046448e-08, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
50 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
51 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, -5.96046448e-08, 0, 5.96046448e-08, 1.00000012),C1 = CFrame.new(-1.90734863e-06, 2.60000157, 0.199999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
52 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.75176597, -8.91998959, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
53 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
54 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.500000238, -0.866025388, 0, 0.866025388, 0.500000238),C1 = CFrame.new(-1.90734863e-06, 1.05176592, 0.619980812, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
55 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.20000005, -8.30000782, 0, 0, -1, 0, -1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
56 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 0.200000003),MeshId = "http://www.roblox.com/asset/?id=16659363",MeshType = Enum.MeshType.FileMesh,}) | |
57 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(-1.90734863e-06, 0.5, -9.53674316e-07, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
58 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.400002, -8.80001163, 1, 0, 0, 0, 0, 1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
59 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
60 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 0.700001955, 0.500002861, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
61 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 1.20000005, 0.199999973),CFrame = CFrame.new(-31.0999985, 5.50000048, -8.20000839, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
62 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
63 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-1.90734863e-06, 3.80000043, -0.100000381, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
64 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Magenta"),Reflectance = 0.20000000298023,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.1000004, 1.10000002, -8.30000877, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.666667, 0, 0.666667),}) | |
65 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988),MeshId = "http://www.roblox.com/asset?id=160003363",MeshType = Enum.MeshType.FileMesh,}) | |
66 | 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.600000024, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
67 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.599999964),CFrame = CFrame.new(-31.0999985, 5.70000076, -8.4000082, 1, 0, 0, 0, 1.00000012, 5.96046448e-08, 0, -5.96046448e-08, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
68 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
69 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, -5.96046448e-08, 0, 5.96046448e-08, 1.00000012),C1 = CFrame.new(-1.90734863e-06, 4.00000095, 0.0999994278, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
70 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.399999976),CFrame = CFrame.new(-31.0999985, 2.900002, -8.70000839, -1, 0, 0, 0, 0, -1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
71 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
72 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0),C1 = CFrame.new(-1.90734863e-06, 1.20000196, 0.399999619, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
73 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.400002, -7.80000782, -1, 0, 0, 0, 0, 1, 0, 1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
74 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
75 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 0.700001955, -0.500000954, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
76 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999958, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.8000021, -8.40001011, -1, 0, 0, 0, 0, 1, 0, 1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
77 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
78 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 1.10000205, 0.100001335, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
79 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.400002, -7.5000062, -1, 0, 0, 0, 0, 1, 0, 1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
80 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
81 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 0.700001955, -0.800002575, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
82 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.399999976),CFrame = CFrame.new(-31.0999985, 3.50000024, -8.10000801, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
83 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.25),MeshType = Enum.MeshType.Wedge,}) | |
84 | 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-06, 1.80000019, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
85 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.75176501, -7.68003178, -1, 0, 0, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
86 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
87 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238),C1 = CFrame.new(-1.90734863e-06, 1.05176497, -0.619976997, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
88 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.20000196, -8.10000896, -1, 0, 0, 0, 0, 1, 0, 1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
89 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
90 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 0.500001907, -0.199999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
91 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 1.20000005),CFrame = CFrame.new(-31.0999985, 5.50000191, -8.4000082, -1, 0, 0, 0, 0, -1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
92 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
93 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0),C1 = CFrame.new(-1.90734863e-06, 3.80000186, 0.0999994278, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
94 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.60176396, -7.93983698, -1, 0, -0, 0, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
95 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
96 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238),C1 = CFrame.new(-1.90734863e-06, 0.901763916, -0.360171795, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
97 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.199999973),CFrame = CFrame.new(-31.0999985, 3.05176711, -7.16041422, -1, 0, 0, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
98 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
99 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.500000238, 0.866025388, 0, 0.866025388, -0.500000238),C1 = CFrame.new(-1.90734863e-06, 1.35176706, -1.13959455, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
100 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.20000196, -8.5000124, 1, 0, 0, 0, 0, 1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
101 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
102 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 0.500001907, 0.200003624, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
103 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 2, 0.399999976),CFrame = CFrame.new(-31.0999985, 3.900002, -8.30000877, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
104 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
105 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-1.90734863e-06, 2.20000196, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
106 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.52235508, -7.98978901, -1, 0, -0, 0, -0.258818984, -0.965925872, 0, -0.965925872, 0.258818984),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
107 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
108 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.258818984, -0.965925872, 0, -0.965925872, 0.258818984),C1 = CFrame.new(-1.90734863e-06, 0.822355032, -0.310219765, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
109 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.399999976),CFrame = CFrame.new(-31.0999985, 4.30000114, -8.10000801, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
110 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.25),MeshType = Enum.MeshType.Wedge,}) | |
111 | 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-06, 2.6000011, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
112 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.599999964, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.72941208, -7.21704388, -1, 0, 0, 0, 0.258818984, 0.965925872, 0, 0.965925872, -0.258818984),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
113 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
114 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.258818984, 0.965925872, 0, 0.965925872, -0.258818984),C1 = CFrame.new(-1.90734863e-06, 1.02941203, -1.0829649, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
115 | Hitbox = New("Part",Swordu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.199999943, 3.79999995, 0.399999976),CFrame = CFrame.new(-31.0999985, 4.60000181, -8.30000782, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
116 | Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(-1.90734863e-06, 2.90000176, -9.53674316e-07, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
117 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.399999976),CFrame = CFrame.new(-31.0999985, 6.30000114, -8.20000839, -1, 0, 0, 0, 0, -1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
118 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
119 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0),C1 = CFrame.new(-1.90734863e-06, 4.60000134, -0.100000381, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
120 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.400002, -8.00000954, -1, 0, 0, 0, 0, -1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
121 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
122 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0),C1 = CFrame.new(-1.90734863e-06, 0.700001955, -0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
123 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.399999976),CFrame = CFrame.new(-31.0999985, 3.50000191, -8.50000858, 1, 0, 0, 0, 1.00000012, 5.96046448e-08, 0, -5.96046448e-08, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
124 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
125 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, -5.96046448e-08, 0, 5.96046448e-08, 1.00000012),C1 = CFrame.new(-1.90734863e-06, 1.80000186, 0.199999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
126 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.60000205, -7.70001078, -1, 0, 0, 0, 0.258818984, 0.965925872, 0, 0.965925872, -0.258818984),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
127 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
128 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.258818984, 0.965925872, 0, 0.965925872, -0.258818984),C1 = CFrame.new(-1.90734863e-06, 0.900002003, -0.599997997, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
129 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.799999952, 0.399999976),CFrame = CFrame.new(-31.0999985, 5.10000038, -8.10000801, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
130 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.25),MeshType = Enum.MeshType.Wedge,}) | |
131 | 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-06, 3.40000033, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
132 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.400002, -9.10001183, 1, 0, 0, 0, 0, 1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
133 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
134 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 0.700001955, 0.800003052, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
135 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.400002, -8.60000801, 1, 0, 0, 0, 0, -1, 0, 1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
136 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
137 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0),C1 = CFrame.new(-1.90734863e-06, 0.700001955, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
138 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999973, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.52235508, -8.61023045, 1, -0, 0, 0, -0.258818984, -0.965925872, 0, 0.965925872, -0.258818984),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
139 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
140 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.258818984, 0.965925872, 0, -0.965925872, -0.258818984),C1 = CFrame.new(-1.90734863e-06, 0.822355032, 0.310221672, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
141 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.599999964, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.72941208, -9.38297558, 1, 0, 0, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
142 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
143 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.258818984, -0.965925872, 0, 0.965925872, 0.258818984),C1 = CFrame.new(-1.90734863e-06, 1.02941203, 1.0829668, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
144 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.60000205, -8.90001011, 1, 0, 0, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
145 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),}) | |
146 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.258818984, -0.965925872, 0, 0.965925872, 0.258818984),C1 = CFrame.new(-1.90734863e-06, 0.900002003, 0.600001335, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
147 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Magenta"),Reflectance = 0.20000000298023,Size = Vector3.new(0.199999943, 0.399999976, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.4000001, -8.30000782, 0, 0, -1, 0, -1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.666667, 0, 0.666667),}) | |
148 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.5, 0.200000003),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,}) | |
149 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(-1.90734863e-06, 0.700000048, -9.53674316e-07, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
150 | Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999943, 0.199999958, 0.199999973),CFrame = CFrame.new(-31.0999985, 2.8000021, -8.20000935, 1, 0, 0, 0, 0, 1, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
151 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
152 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-1.90734863e-06, 1.10000205, -0.0999994278, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
153 | ||
154 | RightArm = New("Model",chara,"RightArm",{}) | |
155 | 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,}) | |
156 | 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),}) | |
157 | 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),}) | |
158 | Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
159 | 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),}) | |
160 | LeftArm = New("Model",chara,"LeftArm",{}) | |
161 | 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,}) | |
162 | 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),}) | |
163 | 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),}) | |
164 | Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
165 | 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),}) | |
166 | ||
167 | lach = LeftArm:GetChildren() | |
168 | rach = RightArm:GetChildren() | |
169 | ch = chara:GetChildren() | |
170 | ||
171 | HandleT = New("Part",chara,"HandleT",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(2, 0.800000012, 1),CFrame = CFrame.new(36, 17.5985985, 26.6999989, -1, 0, -0, -0, 1, -0, -0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
172 | Mesh = New("SpecialMesh",HandleT,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1043443",TextureId = "http://www.roblox.com/asset/?id=1043438",MeshType = Enum.MeshType.FileMesh,}) | |
173 | WeldT = New("ManualWeld",HandleT,"WeldT",{Part0 = HandleT,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 1, 0, -0, -0, -1),C1 = CFrame.new(0, 0.900007248, 0, -1, -0, -0, 0, 1, 0, -0, -0, -1),}) | |
174 | ||
175 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
176 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
177 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
178 | 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}) | |
179 | return TEff | |
180 | end | |
181 | ||
182 | SlashTrail = CreateTrailObj(Hitbox,"Royal purple","Royal purple",0,-.2) | |
183 | SlashTrail.LightEmission = 1 | |
184 | PunchTrail = CreateTrailObj(chara["Right Arm"],"White","White",0,0) | |
185 | Punch2Trail = CreateTrailObj(chara["Left Arm"],"White","White",0,0) | |
186 | KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0) | |
187 | BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0) | |
188 | ||
189 | local p1mit = Instance.new("ParticleEmitter",Hitbox) | |
190 | p1mit.Texture = "http://www.roblox.com/asset/?id=243344623" | |
191 | p1mit.Enabled = false | |
192 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Alder").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Alder").Color)}) | |
193 | p1mit.LightEmission = 1 | |
194 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
195 | p1mit.Lifetime = NumberRange.new(1) | |
196 | p1mit.Rate = 100000 | |
197 | p1mit.Rotation = NumberRange.new(0,359) | |
198 | p1mit.RotSpeed = NumberRange.new(100) | |
199 | p1mit.Speed = NumberRange.new(0) | |
200 | p1mit.Acceleration = Vector3.new(0,5,0) | |
201 | ||
202 | crosshair = Instance.new("BillboardGui",chara) | |
203 | crosshair.Size = UDim2.new(10,0,10,0) | |
204 | crosshair.Enabled = false | |
205 | imgl = Instance.new("ImageLabel",crosshair) | |
206 | imgl.Position = UDim2.new(0,0,0,0) | |
207 | imgl.Size = UDim2.new(1,0,1,0) | |
208 | imgl.Image = "rbxassetid://233522684" | |
209 | imgl.BackgroundTransparency = 1 | |
210 | imgl.ImageColor3 = Color3.new(1,1,1) | |
211 | ||
212 | --Sounds-- | |
213 | function LoadSnd(id,loop,vol,pit) | |
214 | local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit}) | |
215 | return snd | |
216 | end | |
217 | Music = LoadSnd(665496505,true,2,1) | |
218 | StartUpSnd = LoadSnd(153092315,false,1,.8) | |
219 | SwingSnd = LoadSnd(158037267,false,1,1) | |
220 | Swing2Snd = LoadSnd(12222208,false,1,1) | |
221 | HitSnd = LoadSnd(153092274,false,1,.7) | |
222 | HitPunchSnd = LoadSnd(153092227,false,1,.7) | |
223 | DodgeSnd = LoadSnd(232210079,false,1,1) | |
224 | ExpSnd = LoadSnd(142070127,false,1,1) | |
225 | FlySnd = LoadSnd(169445602,false,1,1) | |
226 | BExpSnd = LoadSnd(168586621,false,1,.5) | |
227 | ClawDashSnd = LoadSnd(62339698,false,1,.5) | |
228 | deathmus = LoadSnd(395580552,true,5,1) | |
229 | deathex = LoadSnd(258057783,false,5,1) | |
230 | --Grunt1Snd = LoadSnd(159882486,false,1,1.1) | |
231 | --Grunt2Snd = LoadSnd(159882466,false,1,1.1) | |
232 | --Grunt3Snd = LoadSnd(159972643,false,1,1.1) | |
233 | --Grunt4Snd = LoadSnd(159882584,false,1,1.1) | |
234 | --YouIdiotSnd = LoadSnd(160212768,false,1,1.1) | |
235 | --DieSnd = LoadSnd(159882598,false,1,1.1) | |
236 | --Laugh1Snd = LoadSnd(160212549,false,1,1.1) | |
237 | --Laugh2Snd = LoadSnd(159882561,false,1,1.1) | |
238 | --Laugh3Snd = LoadSnd(160212812,false,1,1.1) | |
239 | ChargeSnd = LoadSnd(137463716,false,1,1) | |
240 | LasSnd = LoadSnd(162246701,false,1,1) | |
241 | LasLoopSnd = LoadSnd(162246683,true,1,1) | |
242 | RStompSnd = LoadSnd(12222225,false,1,1) | |
243 | GunFlameSnd = LoadSnd(32656754,false,1,1) | |
244 | OrbSnd = LoadSnd(233091161,false,1,1) | |
245 | ElectricSnd = LoadSnd(231917975,false,1,1) | |
246 | LightsOutSnd = LoadSnd(231917794,false,1,1) | |
247 | SkyBeamSnd = LoadSnd(260433522,false,1,1) | |
248 | TargetSnd = LoadSnd(613361563,false,1,1) | |
249 | SV1Snd = LoadSnd(28144425,false,1,.265) | |
250 | SV2Snd = LoadSnd(2697431,false,1,.3) | |
251 | SVHitSnd = LoadSnd(62339698,false,1,.3) | |
252 | IceBreakSnd = LoadSnd(357568316,false,1,1) | |
253 | FreezeSnd = LoadSnd(203936153,false,1,1) | |
254 | IceBreak2Snd = LoadSnd(87015121,false,1,1) | |
255 | BlockedSnd = LoadSnd(357622136,false,1,1) | |
256 | Ult1Snd = LoadSnd(51322486,false,1,.5) | |
257 | Ult2Snd = LoadSnd(90696602,false,1,.5) | |
258 | IdVaalSnd = LoadSnd(10730819,false,1,1) | |
259 | IdVaalHitSnd = LoadSnd(46153268,false,1,.5) | |
260 | ZaWarudoSnd = LoadSnd(616576400,false,1,1) | |
261 | RodaRollaSnd = LoadSnd(616582814,false,1,1) | |
262 | WrySnd = LoadSnd(252754492,false,1,1) | |
263 | DioSnd = LoadSnd(616593932,false,1,1) | |
264 | --Music:Play() | |
265 | ||
266 | --Play Sound in Part-- | |
267 | function PlaySnd(snd,part) | |
268 | local sound = snd:Clone() | |
269 | sound.PlayOnRemove = true | |
270 | sound.Parent = part | |
271 | sound:Destroy() | |
272 | end | |
273 | ||
274 | --Target Select-- | |
275 | function TargetSelect(person) | |
276 | local dd=coroutine.wrap(function() | |
277 | if targetted ~= person then | |
278 | targetted = person | |
279 | for i = 0,30,10 do | |
280 | wait(.05) | |
281 | crosshair.Size = UDim2.new(40-i,0,40-i,0) | |
282 | end | |
283 | end | |
284 | end) | |
285 | dd() | |
286 | end | |
287 | ||
288 | --Damage Function-- | |
289 | function dealdmg(dude,damage,env,toim,kby,kbx) | |
290 | hurt = coroutine.wrap(function(dude2,damage2,env2,toim2) | |
291 | if dude ~= chara and dude:FindFirstChild("IsHit") == nil then | |
292 | TargetSelect(dude) | |
293 | finaldmg = damage + math.random(-env,env) | |
294 | if berserkmode == true then | |
295 | finaldmg = math.floor(finaldmg * 1.2) | |
296 | end | |
297 | dude.Humanoid.Health = dude.Humanoid.Health - finaldmg | |
298 | local vall = Instance.new("ObjectValue",dude) | |
299 | vall.Name = "IsHit" | |
300 | debby:AddItem(vall,toim) | |
301 | local bfos = Instance.new("BodyVelocity",dude.Head) | |
302 | bfos.P = 20000 | |
303 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
304 | bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx | |
305 | debby:AddItem(bfos,.1) | |
306 | local naeeym2 = Instance.new("BillboardGui",dude) | |
307 | naeeym2.Size = UDim2.new(0,100,0,40) | |
308 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
309 | naeeym2.Adornee = dude.Head | |
310 | naeeym2.Name = "TalkingBillBoard" | |
311 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
312 | tecks2.BackgroundTransparency = 1 | |
313 | tecks2.BorderSizePixel = 0 | |
314 | tecks2.Text = "-"..finaldmg | |
315 | tecks2.Font = "Fantasy" | |
316 | tecks2.FontSize = "Size24" | |
317 | tecks2.TextStrokeTransparency = 0 | |
318 | tecks2.TextColor3 = Color3.new(1,0.6,0) | |
319 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
320 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
321 | for i = 1, 5 do | |
322 | wait(.1) | |
323 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
324 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
325 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
326 | end | |
327 | naeeym2:Destroy() | |
328 | end | |
329 | end) | |
330 | hurt(dude,damage,env,toim) | |
331 | end | |
332 | ||
333 | --Explode Hitbox-- | |
334 | function ExHitbox(rad,pos,damage,env,toim,kby,kbx) | |
335 | local E = Instance.new("Explosion") | |
336 | E.Position = pos | |
337 | E.Parent = game.Workspace | |
338 | E.BlastRadius = rad | |
339 | E.BlastPressure = 0 | |
340 | E.Visible = false | |
341 | E.Hit:connect(function(hit) | |
342 | if hit.Parent:FindFirstChild("Humanoid")~=nil then | |
343 | dealdmg(hit.Parent,damage,env,toim,kby,kbx) | |
344 | end | |
345 | end) | |
346 | end | |
347 | ||
348 | --Chat Function-- | |
349 | function chatfunc(text) | |
350 | local chat = coroutine.wrap(function() | |
351 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
352 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
353 | end | |
354 | local naeeym2 = Instance.new("BillboardGui",chara) | |
355 | naeeym2.Size = UDim2.new(0,100,0,40) | |
356 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
357 | naeeym2.Adornee = chara.Head | |
358 | naeeym2.Name = "TalkingBillBoard" | |
359 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
360 | tecks2.BackgroundTransparency = 1 | |
361 | tecks2.BorderSizePixel = 0 | |
362 | tecks2.Text = "" | |
363 | tecks2.Font = "Fantasy" | |
364 | tecks2.FontSize = "Size24" | |
365 | tecks2.TextStrokeTransparency = 0 | |
366 | tecks2.TextColor3 = Color3.new(1,1,1) | |
367 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
368 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
369 | if berserkmode == true then | |
370 | tecks2.TextColor3 = Color3.new(1,0,0) | |
371 | tecks2.TextStrokeColor3 = Color3.new(1,1,0) | |
372 | end | |
373 | for i = 1,string.len(text),1 do | |
374 | tecks2.Text = string.sub(text,1,i) | |
375 | wait(0.01) | |
376 | end | |
377 | wait(1) | |
378 | for i = 1, 5 do | |
379 | wait(.01) | |
380 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
381 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
382 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
383 | end | |
384 | naeeym2:Destroy() | |
385 | end) | |
386 | chat() | |
387 | end | |
388 | ||
389 | function onChatted(msg) | |
390 | chatfunc(msg) | |
391 | end | |
392 | player.Chatted:connect(onChatted) | |
393 | ||
394 | --Punch Hit Effect-- | |
395 | function PunchEff(pos) | |
396 | local p = Instance.new("Part",game.Workspace) | |
397 | p.Size = Vector3.new(1,1,1) | |
398 | p.BrickColor = BrickColor.new("Alder") | |
399 | p.Material = "Neon" | |
400 | p.Anchored = true | |
401 | p.CanCollide = false | |
402 | p.CFrame = pos | |
403 | local pm = Instance.new("SpecialMesh",p) | |
404 | pm.MeshType = "Sphere" | |
405 | local disp = coroutine.wrap(function() | |
406 | for i = 1, 4 do | |
407 | wait(.01) | |
408 | p.Transparency = p.Transparency + .2 | |
409 | pm.Scale = pm.Scale + Vector3.new(.2,.2,.2) | |
410 | end | |
411 | wait(.01) | |
412 | p:Destroy() | |
413 | end) | |
414 | disp() | |
415 | for i = 1, 4 do | |
416 | local p = Instance.new("Part",game.Workspace) | |
417 | p.Size = Vector3.new(1,1,1) | |
418 | p.BrickColor = BrickColor.new("Alder") | |
419 | p.Material = "Neon" | |
420 | p.Anchored = true | |
421 | p.CanCollide = false | |
422 | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
423 | local pm = Instance.new("SpecialMesh",p) | |
424 | pm.MeshType = "Sphere" | |
425 | pm.Scale = Vector3.new(.5,.5,.5) | |
426 | local disp = coroutine.wrap(function() | |
427 | for i = 1, 4 do | |
428 | wait(.01) | |
429 | p.Transparency = p.Transparency + .2 | |
430 | pm.Scale = pm.Scale - Vector3.new(.05,.05,.05) | |
431 | pm.Offset = pm.Offset - Vector3.new(0,2,0) | |
432 | end | |
433 | wait(.01) | |
434 | p:Destroy() | |
435 | end) | |
436 | disp() | |
437 | end | |
438 | end | |
439 | ||
440 | --Blade Hit Effect-- | |
441 | function SlashEff(pos) | |
442 | for i = 1, 5 do | |
443 | local p = Instance.new("Part",game.Workspace) | |
444 | p.Size = Vector3.new(1,1,1) | |
445 | p.BrickColor = BrickColor.new("Alder") | |
446 | p.Material = "Neon" | |
447 | p.Anchored = true | |
448 | p.CanCollide = false | |
449 | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
450 | local pm = Instance.new("SpecialMesh",p) | |
451 | pm.MeshType = "Sphere" | |
452 | pm.Scale = Vector3.new(.5,0,.5) | |
453 | local disp = coroutine.wrap(function() | |
454 | for i = 1, 4 do | |
455 | wait(.01) | |
456 | p.Transparency = p.Transparency + .2 | |
457 | pm.Scale = pm.Scale + Vector3.new(0,5,0) | |
458 | end | |
459 | wait(.01) | |
460 | p:Destroy() | |
461 | end) | |
462 | disp() | |
463 | local p = Instance.new("Part",game.Workspace) | |
464 | p.Size = Vector3.new(1,1,1) | |
465 | p.BrickColor = BrickColor.new("Alder") | |
466 | p.Material = "Neon" | |
467 | p.Anchored = true | |
468 | p.CanCollide = false | |
469 | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
470 | local pm = Instance.new("SpecialMesh",p) | |
471 | pm.MeshType = "Sphere" | |
472 | pm.Scale = Vector3.new(.5,.5,.5) | |
473 | local disp = coroutine.wrap(function() | |
474 | for i = 1, 4 do | |
475 | wait(.01) | |
476 | p.Transparency = p.Transparency + .2 | |
477 | pm.Scale = pm.Scale - Vector3.new(.05,.05,.05) | |
478 | pm.Offset = pm.Offset - Vector3.new(0,2,0) | |
479 | end | |
480 | wait(.01) | |
481 | p:Destroy() | |
482 | end) | |
483 | disp() | |
484 | end | |
485 | end | |
486 | ||
487 | --Super Pause-- | |
488 | function SuperPause() | |
489 | StartUpSnd:Play() | |
490 | local p = Instance.new("Part",game.Workspace) | |
491 | p.Size = Vector3.new(1,1,1) | |
492 | p.BrickColor = BrickColor.new("White") | |
493 | p.Material = "Neon" | |
494 | p.Anchored = true | |
495 | p.CanCollide = false | |
496 | p.CFrame = chara.Torso.CFrame | |
497 | local pm = Instance.new("SpecialMesh",p) | |
498 | pm.MeshType = "Sphere" | |
499 | local disp = coroutine.wrap(function() | |
500 | for i = 1, 4 do | |
501 | wait(.01) | |
502 | p.Transparency = p.Transparency + .2 | |
503 | pm.Scale = pm.Scale + Vector3.new(5,5,5) | |
504 | end | |
505 | wait(.01) | |
506 | p:Destroy() | |
507 | end) | |
508 | disp() | |
509 | end | |
510 | ||
511 | --Punch Touch-- | |
512 | dela = .5 | |
513 | punchactive = false | |
514 | function punchhit(hit) | |
515 | if punchactive == true then | |
516 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
517 | dealdmg(hit.Parent,10,2,dela,0,5) | |
518 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
519 | PunchEff(Emit2Part.CFrame) | |
520 | end | |
521 | end | |
522 | end | |
523 | Emit2Part.Touched:connect(punchhit) | |
524 | EmitPart.Touched:connect(punchhit) | |
525 | ||
526 | --Kick Touch-- | |
527 | kickactive = false | |
528 | dkickactive = false | |
529 | skickactive = false | |
530 | didskick = false | |
531 | lkickactive = false | |
532 | function kickhit(hit) | |
533 | if kickactive == true then | |
534 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then | |
535 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
536 | PunchEff(hit.CFrame) | |
537 | if dkickactive == true then | |
538 | dealdmg(hit.Parent,13,2,dela,0,10) | |
539 | hit.Parent.Humanoid.PlatformStand = true | |
540 | 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) | |
541 | wait(3) | |
542 | hit.Parent.Humanoid.PlatformStand = false | |
543 | elseif skickactive == true then | |
544 | local bodpf = Instance.new("BodyPosition",hit.Parent.Head) | |
545 | bodpf.MaxForce = Vector3.new(10000,10000,10000) | |
546 | bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3) | |
547 | debby:AddItem(bodpf,3.5) | |
548 | dealdmg(hit.Parent,13,2,dela,50,10) | |
549 | didskick = true | |
550 | elseif lkickactive == true then | |
551 | if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then | |
552 | hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy() | |
553 | end | |
554 | dealdmg(hit.Parent,13,2,dela,30,20) | |
555 | else | |
556 | dealdmg(hit.Parent,10,2,dela,0,10) | |
557 | end | |
558 | end | |
559 | end | |
560 | end | |
561 | chara["Left Leg"].Touched:connect(kickhit) | |
562 | chara["Right Leg"].Touched:connect(kickhit) | |
563 | ||
564 | --Blade Touch-- | |
565 | dela = .5 | |
566 | bladedmg = math.huge | |
567 | bladeactive = false | |
568 | function bladehit(hit) | |
569 | if blockval == true then | |
570 | PlaySnd(BlockedSnd,chara) | |
571 | end | |
572 | if bladeactive == true then | |
573 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then | |
574 | dealdmg(hit.Parent,bladedmg,1,dela,0,10) | |
575 | PlaySnd(HitSnd,hit.Parent.Head) | |
576 | SlashEff(hit.CFrame) | |
577 | if iaidoatk == true then | |
578 | local bfos = Instance.new("BodyVelocity",hit.Parent.Head) | |
579 | bfos.P = 20000 | |
580 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
581 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 10 | |
582 | wait(1) | |
583 | for i = 1, 30 do | |
584 | wait(.0001) | |
585 | dealdmg(hit.Parent,2,1,0,0,0) | |
586 | PlaySnd(HitSnd,hit.Parent.Head) | |
587 | SlashEff(hit.CFrame) | |
588 | end | |
589 | bfos:Destroy() | |
590 | end | |
591 | end | |
592 | end | |
593 | end | |
594 | Hitbox.Touched:connect(bladehit) | |
595 | ||
596 | --Material Return-- | |
597 | gprop = {} | |
598 | function materialhit() | |
599 | local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0))) | |
600 | if part then | |
601 | gprop = {part.BrickColor,part.Material} | |
602 | end | |
603 | end | |
604 | ||
605 | --Clerp Animations-- | |
606 | TC = chara.HumanoidRootPart.RootJoint | |
607 | HC = chara.Torso.Neck | |
608 | RAC = chara.Torso["Right Shoulder"] | |
609 | LAC = chara.Torso["Left Shoulder"] | |
610 | RLC = chara.Torso["Right Hip"] | |
611 | LLC = chara.Torso["Left Hip"] | |
612 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
613 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
614 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
615 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
616 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
617 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
618 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
619 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
620 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
621 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
622 | RW = Instance.new("Weld",HC.Parent) | |
623 | RW.Part1 = HC.Parent | |
624 | RW.Part0 = chara["Right Arm"] | |
625 | RW.C0 = RWF | |
626 | LW = Instance.new("Weld",HC.Parent) | |
627 | LW.Part1 = HC.Parent | |
628 | LW.Part0 = chara["Left Arm"] | |
629 | LW.C0 = LWF | |
630 | RLW = nil | |
631 | LLW = nil | |
632 | ||
633 | function Sheath(stype) | |
634 | KWeld:Destroy() | |
635 | if stype == 1 then --Unsheathed | |
636 | 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),}) | |
637 | elseif stype == 2 then --Unsheathed, Pointing | |
638 | 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),}) | |
639 | elseif stype == 3 then --Unsheathed, Down | |
640 | 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),}) | |
641 | elseif stype == 4 then | |
642 | coroutine.resume(coroutine.create(function() | |
643 | 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),}) | |
644 | --p1mit.Enabled = true | |
645 | --wait(.5) | |
646 | local swch = Swordu:GetChildren() | |
647 | for i = 1, #swch do | |
648 | swch[i].Transparency = 0 | |
649 | end | |
650 | Hitbox.Transparency = 1 | |
651 | end)) | |
652 | SlashTrail.Enabled = true | |
653 | --p1mit.Enabled = false | |
654 | elseif stype == 5 then | |
655 | 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),}) | |
656 | --p1mit.Enabled = true | |
657 | --wait(.5) | |
658 | coroutine.resume(coroutine.create(function() | |
659 | local swch = Swordu:GetChildren() | |
660 | for i = 1, #swch do | |
661 | swch[i].Transparency = 1 | |
662 | end | |
663 | end)) | |
664 | SlashTrail.Enabled = false | |
665 | --p1mit.Enabled = false | |
666 | end | |
667 | end | |
668 | ||
669 | function AddLegWelds() | |
670 | RLW = Instance.new("Weld",chara["Right Leg"]) | |
671 | RLW.Part1 = HC.Parent | |
672 | RLW.Part0 = chara["Right Leg"] | |
673 | RLW.C0 = RLWF | |
674 | LLW = Instance.new("Weld",chara["Left Leg"]) | |
675 | LLW.Part1 = HC.Parent | |
676 | LLW.Part0 = chara["Left Leg"] | |
677 | LLW.C0 = LLWF | |
678 | end | |
679 | ||
680 | function DestroyLegWelds() | |
681 | 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),}) | |
682 | 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),}) | |
683 | RLW:Destroy() | |
684 | LLW:Destroy() | |
685 | end | |
686 | ||
687 | function clerp(a,b,c) | |
688 | return a:lerp(b,c) | |
689 | end | |
690 | ||
691 | ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{}) | |
692 | 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}) | |
693 | 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}) | |
694 | 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}) | |
695 | ||
696 | function ultcool() | |
697 | 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}) | |
698 | debby:AddItem(CoolDown,13) | |
699 | end | |
700 | ||
701 | --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
702 | --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
703 | --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
704 | --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
705 | ||
706 | TC.C0 = TCF | |
707 | HC.C0 = HCF | |
708 | RW.C0 = RWF | |
709 | LW.C0 = LWF | |
710 | ||
711 | --Idle Clerp-- | |
712 | --ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
713 | --IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
714 | --IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(10),math.rad(-2)) | |
715 | --ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
716 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
717 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
718 | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)) | |
719 | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)) | |
720 | ||
721 | function res() | |
722 | TC.C0 = ITCF | |
723 | HC.C0 = IHCF | |
724 | RW.C0 = IRWF | |
725 | LW.C0 = ILWF | |
726 | end | |
727 | res() | |
728 | ||
729 | function swordspin() | |
730 | local spin = coroutine.wrap(function() | |
731 | for i = 1, 4 do | |
732 | PlaySnd(SwingSnd,chara) | |
733 | Sheath(1) | |
734 | wait(.001) | |
735 | Sheath(2) | |
736 | wait(.001) | |
737 | Sheath(3) | |
738 | wait(.001) | |
739 | end | |
740 | end) | |
741 | spin() | |
742 | end | |
743 | ||
744 | --Intro-- | |
745 | local swch = Swordu:GetChildren() | |
746 | for i = 1, #swch do | |
747 | swch[i].Transparency = 1 | |
748 | swch[i].CanCollide = false | |
749 | end | |
750 | HandleT.Transparency = 1 | |
751 | wait(.5) | |
752 | Sheath(4) | |
753 | swordspin() | |
754 | for i = 0,.6,.1 do | |
755 | rs:wait() | |
756 | RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
757 | end | |
758 | wait(.5) | |
759 | RStompSnd:Play() | |
760 | Sheath(1) | |
761 | for i = 0,.6,.2 do | |
762 | rs:wait() | |
763 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),ITCF,.4+i) | |
764 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),IHCF,.4+i) | |
765 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),IRWF,.4+i) | |
766 | LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),ILWF,.4+i) | |
767 | end | |
768 | Sheath(5) | |
769 | res() | |
770 | ||
771 | chara.Humanoid.WalkSpeed = 16 | |
772 | ||
773 | --Overdrive-- | |
774 | function Overdrive() | |
775 | del = false | |
776 | atkd = false | |
777 | overcharge = 0 | |
778 | chara.Humanoid.WalkSpeed = 0 | |
779 | chatfunc("Skill Formula Released!") | |
780 | berserkmode = true | |
781 | local jtrace = Instance.new("Part",game.Workspace) | |
782 | jtrace.Size = Vector3.new(0,0,0) | |
783 | jtrace.Position = chara.HumanoidRootPart.Position | |
784 | jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0) | |
785 | jtrace.Anchored = true | |
786 | SuperPause() | |
787 | local tmesh = Instance.new("SpecialMesh",jtrace) | |
788 | tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
789 | tmesh.Scale = Vector3.new(1,1,1) | |
790 | tmesh.Offset = Vector3.new(0,0,-.125) | |
791 | local p1mit = Instance.new("ParticleEmitter",Hitbox) | |
792 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
793 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)}) | |
794 | p1mit.LightEmission = 1 | |
795 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
796 | p1mit.Lifetime = NumberRange.new(1) | |
797 | p1mit.Rate = 100 | |
798 | p1mit.Rotation = NumberRange.new(0,359) | |
799 | p1mit.RotSpeed = NumberRange.new(100) | |
800 | p1mit.Speed = NumberRange.new(0) | |
801 | Void = nil | |
802 | VoidParts = {} | |
803 | Equipped = false | |
804 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
805 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
806 | end | |
807 | ||
808 | Player = player | |
809 | Character = chara | |
810 | ||
811 | Humanoid = Character:FindFirstChild("Humanoid") | |
812 | Torso = Character:FindFirstChild("Torso") | |
813 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
814 | return | |
815 | end | |
816 | Equipped = true | |
817 | Void = Instance.new("Model") | |
818 | Void.Name = "Void" | |
819 | Angle = 0 | |
820 | local VoidPart = Instance.new("Part") | |
821 | VoidPart.Name = "VoidPart" | |
822 | VoidPart.Transparency = 1 | |
823 | VoidPart.BrickColor = BrickColor.new("Really black") | |
824 | VoidPart.Material = Enum.Material.Plastic | |
825 | VoidPart.Shape = Enum.PartType.Block | |
826 | VoidPart.FormFactor = Enum.FormFactor.Custom | |
827 | VoidPart.TopSurface = Enum.SurfaceType.Smooth | |
828 | VoidPart.BottomSurface = Enum.SurfaceType.Smooth | |
829 | VoidPart.Anchored = true | |
830 | VoidPart.CanCollide = false | |
831 | VoidPart.Locked = true | |
832 | VoidPart.Size = Vector3.new(10, 0.2, 10) | |
833 | local BlockMesh = Instance.new("BlockMesh") | |
834 | BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1) | |
835 | BlockMesh.Parent = VoidPart | |
836 | VoidPart.Parent = Void | |
837 | local Star = Instance.new("Decal", VoidPart) | |
838 | Star.Texture = "http://www.roblox.com/asset/?id=223123319" | |
839 | Star.Face = "Top" | |
840 | local Light = Instance.new("PointLight", VoidPart) | |
841 | Light.Brightness = 100 | |
842 | Light.Range = 10 | |
843 | table.insert(VoidParts, VoidPart) | |
844 | Spawn(function() | |
845 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do | |
846 | if Angle == 360 then | |
847 | Angle = 0 | |
848 | end | |
849 | Angle = Angle + 0.05 | |
850 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
851 | if Hit then | |
852 | if not Void.Parent then | |
853 | Void.Parent = Character | |
854 | end | |
855 | for i, v in pairs(VoidParts) do | |
856 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
857 | end | |
858 | else | |
859 | Void.Parent = nil | |
860 | end | |
861 | wait() | |
862 | end | |
863 | end) | |
864 | for i = 0,.6,.1 do | |
865 | rs:wait() | |
866 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
867 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i) | |
868 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
869 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
870 | end | |
871 | for i = 1, 10 do | |
872 | wait(.01) | |
873 | TC.C0 = TCF | |
874 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0) | |
875 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
876 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
877 | jtrace.Transparency = jtrace.Transparency + .1 | |
878 | tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2) | |
879 | end | |
880 | wait(.01) | |
881 | jtrace:Destroy() | |
882 | for i = 0,.6,.1 do | |
883 | rs:wait() | |
884 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
885 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i) | |
886 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i) | |
887 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i) | |
888 | end | |
889 | jtrace:Destroy() | |
890 | local delll = coroutine.wrap(function() | |
891 | local delval = 10 | |
892 | local naeeym2 = Instance.new("BillboardGui",chara) | |
893 | naeeym2.Size = UDim2.new(0,100,0,40) | |
894 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
895 | naeeym2.Adornee = chara.Head | |
896 | naeeym2.Name = "Counter" | |
897 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
898 | tecks2.BackgroundTransparency = 1 | |
899 | tecks2.BorderSizePixel = 0 | |
900 | tecks2.Text = "" | |
901 | tecks2.Font = "Fantasy" | |
902 | tecks2.FontSize = "Size24" | |
903 | tecks2.TextStrokeTransparency = 0 | |
904 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
905 | tecks2.TextColor3 = Color3.new(1,0,0) | |
906 | tecks2.TextStrokeColor3 = Color3.new(1,1,0) | |
907 | for i = 0, 15 do | |
908 | delval = 15 - i | |
909 | tecks2.Text = "<"..delval..">" | |
910 | wait(1) | |
911 | end | |
912 | berserkmode = false | |
913 | VoidPart:Destroy() | |
914 | p1mit:Destroy() | |
915 | for i = 1, 5 do | |
916 | wait(.01) | |
917 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
918 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
919 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
920 | end | |
921 | end) | |
922 | delll() | |
923 | chara.Humanoid.WalkSpeed = 16 | |
924 | del = false | |
925 | res() | |
926 | end | |
927 | ||
928 | --Punch-- | |
929 | pside = 0 | |
930 | function Punch() | |
931 | del = true | |
932 | atkd = true | |
933 | chara.Humanoid.WalkSpeed = 0 | |
934 | punchactive = true | |
935 | wait(.001) | |
936 | SwingSnd:Play() | |
937 | if pside == 0 then | |
938 | PunchTrail.Enabled = true | |
939 | for i = 0,.6,.2 do | |
940 | rs:wait() | |
941 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
942 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
943 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
944 | end | |
945 | for i = 0,.6,.2 do | |
946 | rs:wait() | |
947 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
948 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
949 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
950 | end | |
951 | pside = 1 | |
952 | elseif pside == 1 then | |
953 | Punch2Trail.Enabled = true | |
954 | for i = 0,.6,.2 do | |
955 | rs:wait() | |
956 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
957 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
958 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
959 | end | |
960 | for i = 0,.6,.2 do | |
961 | rs:wait() | |
962 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
963 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
964 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
965 | end | |
966 | pside = 0 | |
967 | end | |
968 | chara.Humanoid.WalkSpeed = 16 | |
969 | punchactive = false | |
970 | PunchTrail.Enabled = false | |
971 | Punch2Trail.Enabled = false | |
972 | del = false | |
973 | res() | |
974 | end | |
975 | ||
976 | --Kick Atk-- | |
977 | function KickAtk() | |
978 | del = true | |
979 | atkd = true | |
980 | chara.Humanoid.WalkSpeed = 0 | |
981 | kickactive = true | |
982 | KickTrail.Enabled = true | |
983 | AddLegWelds() | |
984 | SwingSnd:Play() | |
985 | for i = 0,.6,.2 do | |
986 | rs:wait() | |
987 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i) | |
988 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i) | |
989 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i) | |
990 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i) | |
991 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
992 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
993 | end | |
994 | for i = 0,.6,.2 do | |
995 | rs:wait() | |
996 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i) | |
997 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i) | |
998 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i) | |
999 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i) | |
1000 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i) | |
1001 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i) | |
1002 | end | |
1003 | DestroyLegWelds() | |
1004 | kickactive = false | |
1005 | KickTrail.Enabled = false | |
1006 | chara.Humanoid.WalkSpeed = 16 | |
1007 | del = false | |
1008 | res() | |
1009 | end | |
1010 | ||
1011 | --Slash Attack-- | |
1012 | function SlashAtk() | |
1013 | del = true | |
1014 | atkd = true | |
1015 | chara.Humanoid.WalkSpeed = 0 | |
1016 | bladeactive = true | |
1017 | Sheath(4) | |
1018 | wait(.001) | |
1019 | for i = 0,.6,.2 do | |
1020 | rs:wait() | |
1021 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1022 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1023 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1024 | end | |
1025 | SwingSnd:Play() | |
1026 | for i = 0,.6,.2 do | |
1027 | rs:wait() | |
1028 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1029 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1030 | end | |
1031 | wait(.1) | |
1032 | bladeactive = false | |
1033 | for i = 0,.6,.2 do | |
1034 | rs:wait() | |
1035 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1036 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1037 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1038 | end | |
1039 | Sheath(1) | |
1040 | del = false | |
1041 | Sheath(5) | |
1042 | chara.Humanoid.WalkSpeed = 16 | |
1043 | res() | |
1044 | end | |
1045 | ||
1046 | --Bandit Revolver-- | |
1047 | function BanditRevolver() | |
1048 | del = true | |
1049 | atkd = true | |
1050 | chara.Humanoid.WalkSpeed = 0 | |
1051 | kickactive = true | |
1052 | BRTrail.Enabled = true | |
1053 | dkickactive = true | |
1054 | chatfunc("Void Revolver!") | |
1055 | AddLegWelds() | |
1056 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1057 | bfos.P = 10000 | |
1058 | bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P) | |
1059 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 40 | |
1060 | for i = 0,.6,.2 do | |
1061 | rs:wait() | |
1062 | TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i) | |
1063 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i) | |
1064 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
1065 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
1066 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i) | |
1067 | end | |
1068 | for i = 1,4 do | |
1069 | SwingSnd:Play() | |
1070 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)) | |
1071 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
1072 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
1073 | for i = 0,1,.25 do | |
1074 | rs:wait() | |
1075 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i) | |
1076 | end | |
1077 | for i = 0,1,.25 do | |
1078 | rs:wait() | |
1079 | 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) | |
1080 | end | |
1081 | end | |
1082 | SwingSnd:Play() | |
1083 | for i = 0,1,.25 do | |
1084 | rs:wait() | |
1085 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i) | |
1086 | end | |
1087 | for i = 0,1,.25 do | |
1088 | rs:wait() | |
1089 | 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) | |
1090 | end | |
1091 | for i = 0,1,.25 do | |
1092 | rs:wait() | |
1093 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i) | |
1094 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i) | |
1095 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i) | |
1096 | LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i) | |
1097 | RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i) | |
1098 | end | |
1099 | DestroyLegWelds() | |
1100 | dkickactive = false | |
1101 | kickactive = false | |
1102 | BRTrail.Enabled = false | |
1103 | chara.Humanoid.WalkSpeed = 16 | |
1104 | bfos:Destroy() | |
1105 | del = false | |
1106 | res() | |
1107 | end | |
1108 | ||
1109 | --Freezer Kick-- | |
1110 | --function FlipKickEffect(pos) | |
1111 | --local p = Instance.new("Part",game.Workspace) | |
1112 | --p.Size = Vector3.new(0,0,0) | |
1113 | --p.BrickColor = BrickColor.new("Dark stone grey") | |
1114 | --p.Material = "SmoothPlastic" | |
1115 | --p.Anchored = true | |
1116 | --p.CanCollide = false | |
1117 | --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1118 | --local pm = Instance.new("BlockMesh",p) | |
1119 | --local disp = coroutine.wrap(function() | |
1120 | --for i = 1, 4 do | |
1121 | --wait(.01) | |
1122 | --p.Transparency = p.Transparency + .2 | |
1123 | --pm.Scale = pm.Scale + Vector3.new(2,2,2) | |
1124 | --end | |
1125 | --wait(.01) | |
1126 | --p:Destroy() | |
1127 | --end) | |
1128 | --disp() | |
1129 | --end | |
1130 | function FlipKick() | |
1131 | del = true | |
1132 | atkd = true | |
1133 | chatfunc("Flip Kick!") | |
1134 | AddLegWelds() | |
1135 | kickactive = true | |
1136 | lkickactive = true | |
1137 | KickTrail.Enabled = true | |
1138 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1139 | bfos.P = 10000 | |
1140 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
1141 | bfos.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector * 20 | |
1142 | SwingSnd:Play() | |
1143 | for i = 0,.6,.1 do | |
1144 | rs:wait() | |
1145 | TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),.4+i) | |
1146 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i) | |
1147 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
1148 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
1149 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i) | |
1150 | --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5) | |
1151 | end | |
1152 | for i = 0,1,.2 do | |
1153 | rs:wait() | |
1154 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),ITCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),.4+i) | |
1155 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i) | |
1156 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i) | |
1157 | LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i) | |
1158 | RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i) | |
1159 | --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5) | |
1160 | end | |
1161 | DestroyLegWelds() | |
1162 | bfos:Destroy() | |
1163 | kickactive = false | |
1164 | lkickactive = false | |
1165 | KickTrail.Enabled = false | |
1166 | del = false | |
1167 | res() | |
1168 | end | |
1169 | ||
1170 | --End Him Rightly-- | |
1171 | function EndRightly() | |
1172 | del = true | |
1173 | atkd = true | |
1174 | chatfunc("Void Summon: Blade!") | |
1175 | PunchTrail.Enabled = true | |
1176 | for i = 0,.6,.1 do | |
1177 | rs:wait() | |
1178 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1179 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1180 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1181 | end | |
1182 | PunchTrail.Enabled = false | |
1183 | local spawn1 = Instance.new("Part",chara) | |
1184 | spawn1.Size = Vector3.new(3,4,.2) | |
1185 | spawn1.Anchored = true | |
1186 | spawn1.CanCollide = false | |
1187 | spawn1.Material = "Neon" | |
1188 | spawn1.BrickColor = BrickColor.new("Royal purple") | |
1189 | spawn1.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector*6 | |
1190 | local mehh1 = Instance.new("SpecialMesh",spawn1) | |
1191 | mehh1.MeshType = "Sphere" | |
1192 | local spawn2 = Instance.new("Part",chara) | |
1193 | spawn2.Size = Vector3.new(3,4,.2) | |
1194 | spawn2.Anchored = true | |
1195 | spawn2.CanCollide = false | |
1196 | spawn2.Material = "SmoothPlastic" | |
1197 | spawn2.BrickColor = BrickColor.new("Really black") | |
1198 | spawn2.CFrame = spawn1.CFrame | |
1199 | local mehh2 = Instance.new("SpecialMesh",spawn2) | |
1200 | mehh2.MeshType = "Sphere" | |
1201 | mehh2.Scale = Vector3.new(.9,.9,1.5) | |
1202 | OrbSnd:Play() | |
1203 | local effa = Instance.new("Part",chara) | |
1204 | effa.Size = Vector3.new(3,4,.2) | |
1205 | effa.Anchored = true | |
1206 | effa.CanCollide = false | |
1207 | effa.Material = "Neon" | |
1208 | effa.BrickColor = BrickColor.new("Royal purple") | |
1209 | effa.CFrame = spawn1.CFrame | |
1210 | local effam = Instance.new("SpecialMesh",effa) | |
1211 | effam.MeshType = "Sphere" | |
1212 | effam.Scale = Vector3.new(1.1,1.1,1.6) | |
1213 | for i = 0,1,.2 do | |
1214 | wait(.001) | |
1215 | effa.Transparency = i | |
1216 | effam.Scale = Vector3.new(1.1+i,1.1+i,1.6+i) | |
1217 | end | |
1218 | effa:Destroy() | |
1219 | wait(.2) | |
1220 | ElectricSnd:Play() | |
1221 | for i = -50,50,50 do | |
1222 | local missile = Instance.new("Part",game.Workspace) | |
1223 | missile.Size = Vector3.new(0,2,6) | |
1224 | missile.Name = "Blast" | |
1225 | missile.TopSurface = 0 | |
1226 | missile.BottomSurface = 0 | |
1227 | missile.BrickColor = BrickColor.new("Alder") | |
1228 | missile.Reflectance = .2 | |
1229 | missile.Position = spawn1.Position | |
1230 | missile.CanCollide = false | |
1231 | missile.CFrame = spawn1.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(i),0) | |
1232 | missile.Velocity = spawn1.CFrame.lookVector*100 + spawn1.CFrame.rightVector*-i | |
1233 | local sus = CreateTrailObj(missile,"Royal purple","Royal purple",0,0) | |
1234 | sus.Enabled = true | |
1235 | local mesh1 = Instance.new("SpecialMesh",missile) | |
1236 | mesh1.MeshId = "http://www.roblox.com/asset/?id=146806371" | |
1237 | mesh1.Scale = Vector3.new(3,2.5,3) | |
1238 | mesh1.Offset = Vector3.new(-0.45,0,0) | |
1239 | local force = Instance.new("BodyForce") | |
1240 | force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1241 | force.Parent = missile | |
1242 | local bf = Instance.new("BodyVelocity",missile) | |
1243 | bf.P = 10000 | |
1244 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
1245 | bf.Velocity = spawn1.CFrame.lookVector*100+ spawn1.CFrame.rightVector*i | |
1246 | local chase = coroutine.wrap(function() | |
1247 | wait(.2) | |
1248 | while wait() do | |
1249 | if targetted ~= nil then | |
1250 | local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1251 | bf.Velocity = (torsy.Position - missile.Position).unit*100 | |
1252 | missile.CFrame = CFrame.new(missile.Position, targetted.Head.Position) | |
1253 | end | |
1254 | end | |
1255 | end) | |
1256 | chase() | |
1257 | missile.Touched:connect(function(hit) | |
1258 | if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and hit.Parent:FindFirstChild("Humanoid") and missile.Anchored == false) then | |
1259 | missile.Anchored = true | |
1260 | PlaySnd(HitSnd,missile) | |
1261 | p1mit.Enabled = false | |
1262 | ExHitbox(8,missile.Position,15,3,.05,0,10) | |
1263 | wait(0.1) | |
1264 | missile.Transparency = .25 | |
1265 | wait(0.1) | |
1266 | missile.Transparency = .5 | |
1267 | wait(0.1) | |
1268 | missile.Transparency = .75 | |
1269 | wait(0.1) | |
1270 | missile:Destroy() | |
1271 | end | |
1272 | end) | |
1273 | debby:AddItem(missile,10) | |
1274 | end | |
1275 | wait(.5) | |
1276 | for i = 0,1,.2 do | |
1277 | wait(.0001) | |
1278 | spawn1.Transparency = i | |
1279 | spawn2.Transparency = i | |
1280 | end | |
1281 | spawn1:Destroy() | |
1282 | spawn2:Destroy() | |
1283 | for i = 0,.6,.1 do | |
1284 | rs:wait() | |
1285 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1286 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1287 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1288 | end | |
1289 | del = false | |
1290 | res() | |
1291 | end | |
1292 | ||
1293 | --Decapitator-- | |
1294 | function Decapitator() | |
1295 | del = true | |
1296 | atkd = true | |
1297 | chatfunc("Sky Slash!") | |
1298 | chara.Humanoid.WalkSpeed = 0 | |
1299 | bladeactive = true | |
1300 | Sheath(4) | |
1301 | Sheath(2) | |
1302 | for i = 0,.6,.1 do | |
1303 | rs:wait() | |
1304 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i) | |
1305 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1306 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1307 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i) | |
1308 | end | |
1309 | local bf = Instance.new("BodyVelocity",chara.Torso) | |
1310 | bf.P = 10000 | |
1311 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
1312 | bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*100 | |
1313 | SwingSnd:Play() | |
1314 | for i = 0,1,.2 do | |
1315 | rs:wait() | |
1316 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i) | |
1317 | HC.C0 = HCF | |
1318 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1319 | end | |
1320 | for i = 0,1,.2 do | |
1321 | rs:wait() | |
1322 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i) | |
1323 | HC.C0 = HCF | |
1324 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1325 | end | |
1326 | bf:Destroy() | |
1327 | Sheath(1) | |
1328 | for i = 0,.6,.1 do | |
1329 | rs:wait() | |
1330 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i) | |
1331 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
1332 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1333 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i) | |
1334 | end | |
1335 | bladeactive = false | |
1336 | Sheath(5) | |
1337 | atkdd = true | |
1338 | chara.Humanoid.WalkSpeed = 16 | |
1339 | del = false | |
1340 | end | |
1341 | ||
1342 | --Slashes-- | |
1343 | function IaidoFrost() | |
1344 | del = true | |
1345 | atkd = true | |
1346 | chara.Humanoid.WalkSpeed = 8 | |
1347 | chatfunc("Iaido Slash!") | |
1348 | for i = 0,.6,.1 do | |
1349 | rs:wait() | |
1350 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i) | |
1351 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1352 | end | |
1353 | bladeactive = true | |
1354 | iaidoatk = true | |
1355 | Sheath(4) | |
1356 | Sheath(2) | |
1357 | Swing2Snd:Play() | |
1358 | wait(.01) | |
1359 | for i = 0,.6,.1 do | |
1360 | rs:wait() | |
1361 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i) | |
1362 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1363 | end | |
1364 | wait(1) | |
1365 | Sheath(5) | |
1366 | bladeactive = false | |
1367 | iaidoatk = false | |
1368 | for i = 0,.6,.1 do | |
1369 | rs:wait() | |
1370 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
1371 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
1372 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1373 | end | |
1374 | Sheath(1) | |
1375 | del = false | |
1376 | chara.Humanoid.WalkSpeed = 16 | |
1377 | res() | |
1378 | end | |
1379 | ||
1380 | --Stabs-- | |
1381 | function KnightStabs() | |
1382 | del = true | |
1383 | atkd = true | |
1384 | chara.Humanoid.WalkSpeed = 8 | |
1385 | for i = 0,.6,.1 do | |
1386 | rs:wait() | |
1387 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1388 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1389 | end | |
1390 | bladedmg = 3 | |
1391 | bladeactive = true | |
1392 | Sheath(4) | |
1393 | dela = 0 | |
1394 | Sheath(2) | |
1395 | wait(.01) | |
1396 | for i = 0,.6,.1 do | |
1397 | rs:wait() | |
1398 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1399 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1400 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1401 | end | |
1402 | for i = 1, 10 do | |
1403 | wait(.001) | |
1404 | PlaySnd(SwingSnd,chara) | |
1405 | RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1406 | end | |
1407 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1408 | for i = 0,.6,.1 do | |
1409 | rs:wait() | |
1410 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1411 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1412 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1413 | end | |
1414 | Sheath(1) | |
1415 | bladedmg = 13 | |
1416 | chara.Humanoid.WalkSpeed = 16 | |
1417 | bladeactive = false | |
1418 | Sheath(5) | |
1419 | dela = .5 | |
1420 | del = false | |
1421 | res() | |
1422 | end | |
1423 | ||
1424 | --Rush-- | |
1425 | function KnightRush() | |
1426 | del = true | |
1427 | atkd = true | |
1428 | chara.Humanoid.WalkSpeed = 8 | |
1429 | SuperPause() | |
1430 | chatfunc("Blade Rush!") | |
1431 | for i = 0,.6,.1 do | |
1432 | rs:wait() | |
1433 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1434 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1435 | end | |
1436 | wait(1) | |
1437 | bladedmg = 3 | |
1438 | bladeactive = true | |
1439 | Sheath(4) | |
1440 | dela = 0 | |
1441 | Sheath(2) | |
1442 | wait(.01) | |
1443 | for i = 0,.6,.1 do | |
1444 | rs:wait() | |
1445 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1446 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1447 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1448 | end | |
1449 | for i = 1, 40 do | |
1450 | wait(.001) | |
1451 | PlaySnd(SwingSnd,chara) | |
1452 | RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1453 | end | |
1454 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1455 | wait(1) | |
1456 | for i = 0,.6,.1 do | |
1457 | rs:wait() | |
1458 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1459 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1460 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1461 | end | |
1462 | Sheath(1) | |
1463 | bladedmg = 13 | |
1464 | chara.Humanoid.WalkSpeed = 16 | |
1465 | bladeactive = false | |
1466 | Sheath(5) | |
1467 | dela = .5 | |
1468 | del = false | |
1469 | res() | |
1470 | end | |
1471 | ||
1472 | --End Him Rightly-- | |
1473 | function Explosive() | |
1474 | del = true | |
1475 | atkd = true | |
1476 | chatfunc("Take this!") | |
1477 | PunchTrail.Enabled = true | |
1478 | for i = 0,.6,.1 do | |
1479 | rs:wait() | |
1480 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1481 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1482 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1483 | end | |
1484 | PunchTrail.Enabled = false | |
1485 | SwingSnd:Play() | |
1486 | local missile = Instance.new("Part",game.Workspace) | |
1487 | missile.Material = "Neon" | |
1488 | missile.Size = Vector3.new(1,1,1) | |
1489 | missile.BrickColor = BrickColor.new("Black") | |
1490 | missile.Name = "Blast" | |
1491 | missile.Shape = 0 | |
1492 | missile.TopSurface = 0 | |
1493 | missile.BottomSurface = 0 | |
1494 | missile.Position = chara["Right Arm"].Position | |
1495 | missile.CFrame = chara["Right Arm"].CFrame | |
1496 | missile.Velocity = (Mouse.Hit.p - chara.HumanoidRootPart.Position).unit*70 | |
1497 | local mesh1 = Instance.new("SpecialMesh",missile) | |
1498 | mesh1.MeshId = "rbxasset://fonts/timebomb.mesh" | |
1499 | mesh1.Scale = Vector3.new(.5,.5,.5) | |
1500 | local force = Instance.new("BodyForce") | |
1501 | force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1502 | force.Parent = missile | |
1503 | debby:AddItem(force,.1) | |
1504 | -- local bfo = Instance.new("BodyVelocity",missile) | |
1505 | -- bfo.P = 100000 | |
1506 | -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P) | |
1507 | -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i) | |
1508 | -- debby:AddItem(bfo,1) | |
1509 | local deto = coroutine.wrap(function() | |
1510 | wait(.5) | |
1511 | for i = 1, 3 do | |
1512 | PlaySnd(TargetSnd,missile) | |
1513 | missile.BrickColor = BrickColor.new("Bright red") | |
1514 | wait(.1) | |
1515 | missile.BrickColor = BrickColor.new("Black") | |
1516 | end | |
1517 | wait(.1) | |
1518 | mesh1.MeshId = "" | |
1519 | mesh1.MeshType = "Sphere" | |
1520 | mesh1.Scale = Vector3.new(1,1,1) | |
1521 | missile.Anchored = true | |
1522 | missile.BrickColor = BrickColor.new("Bright yellow") | |
1523 | missile.Material = "Neon" | |
1524 | ExpSnd:Play() | |
1525 | ExHitbox(10,missile.Position,25,3,.5,50,50) | |
1526 | for i = 1, 9 do | |
1527 | mesh1.Scale = mesh1.Scale + Vector3.new(3,3,3) | |
1528 | missile.Transparency = missile.Transparency + .1 | |
1529 | wait(.01) | |
1530 | end | |
1531 | missile:Destroy() | |
1532 | end) | |
1533 | deto() | |
1534 | wait(.5) | |
1535 | for i = 0,.6,.1 do | |
1536 | rs:wait() | |
1537 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1538 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1539 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1540 | end | |
1541 | del = false | |
1542 | res() | |
1543 | end | |
1544 | ||
1545 | --Id Vaal-- | |
1546 | idvaald = false | |
1547 | function IdVaal() | |
1548 | del = true | |
1549 | atkd = true | |
1550 | idvaald = true | |
1551 | chatfunc("Id Vaal!") | |
1552 | IdVaalSnd:Play() | |
1553 | chara.Humanoid.WalkSpeed = 0 | |
1554 | for i = 0,.6,.1 do | |
1555 | rs:wait() | |
1556 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1557 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1558 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1559 | end | |
1560 | local trace = Instance.new("Part",game.Workspace) | |
1561 | trace.BrickColor = BrickColor.new("Really black") | |
1562 | trace.CanCollide = false | |
1563 | trace.Size = Vector3.new(1,1,1) | |
1564 | trace.Anchored = true | |
1565 | trace.CFrame = (chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0)) + chara.HumanoidRootPart.CFrame.lookVector*10 | |
1566 | local trm = Instance.new("CylinderMesh",trace) | |
1567 | trm.Scale = Vector3.new(16,1.1,16) | |
1568 | local trace2 = Instance.new("Part",game.Workspace) | |
1569 | trace2.BrickColor = BrickColor.new("Royal purple") | |
1570 | trace2.Material = "Neon" | |
1571 | trace2.CanCollide = false | |
1572 | trace2.Size = Vector3.new(1,1,1) | |
1573 | trace2.Anchored = true | |
1574 | trace2.CFrame = trace.CFrame | |
1575 | local trm2 = Instance.new("CylinderMesh",trace2) | |
1576 | trm2.Scale = Vector3.new(18,1.05,18) | |
1577 | local trace3 = Instance.new("Part",game.Workspace) | |
1578 | trace3.BrickColor = BrickColor.new("Royal purple") | |
1579 | trace3.Material = "Neon" | |
1580 | trace3.CanCollide = false | |
1581 | trace3.Size = Vector3.new(1,1,1) | |
1582 | trace3.Anchored = true | |
1583 | trace3.CFrame = trace.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0) | |
1584 | local trm3 = Instance.new("SpecialMesh",trace3) | |
1585 | trm3.MeshId = "http://www.roblox.com/asset/?id=65322375" | |
1586 | trm3.Scale = Vector3.new(10,10,10) | |
1587 | trm3.Offset = Vector3.new(0,-5,0) | |
1588 | wait(.01) | |
1589 | trm3.Offset = Vector3.new(0,0,0) | |
1590 | wait(.01) | |
1591 | trm3.Offset = Vector3.new(0,5,0) | |
1592 | local E = Instance.new("Explosion") | |
1593 | E.Position = trace3.Position | |
1594 | E.Parent = game.Workspace | |
1595 | E.BlastRadius = 10 | |
1596 | E.BlastPressure = 0 | |
1597 | E.Visible = false | |
1598 | E.Hit:connect(function(hit) | |
1599 | if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent ~= chara then | |
1600 | dealdmg(hit.Parent,35,3,.5,50,50) | |
1601 | IdVaalHitSnd:Play() | |
1602 | end | |
1603 | end) | |
1604 | wait(2) | |
1605 | for i = 1,9 do | |
1606 | wait(.01) | |
1607 | trace.Transparency = trace.Transparency + .1 | |
1608 | trace2.Transparency = trace2.Transparency + .1 | |
1609 | trace3.Transparency = trace3.Transparency + .1 | |
1610 | end | |
1611 | wait(.01) | |
1612 | trace:Destroy() | |
1613 | trace2:Destroy() | |
1614 | trace3:Destroy() | |
1615 | for i = 0,.6,.1 do | |
1616 | rs:wait() | |
1617 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1618 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1619 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1620 | end | |
1621 | del = false | |
1622 | chara.Humanoid.WalkSpeed = 16 | |
1623 | end | |
1624 | ||
1625 | --Claw Dash-- | |
1626 | function ClawDash() | |
1627 | del = true | |
1628 | atkd = true | |
1629 | chara.Humanoid.WalkSpeed = 0 | |
1630 | SuperPause() | |
1631 | Sheath(4) | |
1632 | Sheath(1) | |
1633 | chatfunc("Shadow Strike..") | |
1634 | for i = 0,1,.1 do | |
1635 | rs:wait() | |
1636 | TC.C0 = clerp(ITCF,TCF,i) | |
1637 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),i) | |
1638 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),i) | |
1639 | LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10)),i) | |
1640 | end | |
1641 | swordspin() | |
1642 | wait(1) | |
1643 | ClawDashSnd:Play() | |
1644 | AddLegWelds() | |
1645 | Sheath(3) | |
1646 | chatfunc("The") | |
1647 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1648 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1649 | RW.C0 = (RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)) | |
1650 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
1651 | LLW.C0 = LLWF | |
1652 | RLW.C0 = RLWF + Vector3.new(0,-1,1) | |
1653 | for i = 1, 10 do | |
1654 | local trace = Instance.new("Part",game.Workspace) | |
1655 | trace.CanCollide = false | |
1656 | trace.Size = Vector3.new(1,1,1) | |
1657 | trace.Transparency = 1 | |
1658 | trace.BottomSurface = 0 | |
1659 | trace.TopSurface = 0 | |
1660 | trace.Anchored = true | |
1661 | trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i)) | |
1662 | debby:AddItem(trace,1) | |
1663 | ExHitbox(10,trace.Position,25,2,.1,10,0) | |
1664 | end | |
1665 | chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60 | |
1666 | wait(.2) | |
1667 | Sheath(2) | |
1668 | ClawDashSnd:Play() | |
1669 | chatfunc("End") | |
1670 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1671 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1672 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1673 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
1674 | LLW.C0 = LLWF | |
1675 | RLW.C0 = RLWF + Vector3.new(0,-1,1) | |
1676 | for i = 1, 10 do | |
1677 | local trace = Instance.new("Part",game.Workspace) | |
1678 | trace.CanCollide = false | |
1679 | trace.Size = Vector3.new(1,1,1) | |
1680 | trace.Transparency = 1 | |
1681 | trace.BottomSurface = 0 | |
1682 | trace.TopSurface = 0 | |
1683 | trace.Anchored = true | |
1684 | trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i)) | |
1685 | debby:AddItem(trace,1) | |
1686 | ExHitbox(10,trace.Position,25,2,.1,10,0) | |
1687 | end | |
1688 | local trace = Instance.new("Part",game.Workspace) | |
1689 | trace.BrickColor = BrickColor.new("Royal purple") | |
1690 | trace.CanCollide = false | |
1691 | trace.Size = Vector3.new(1,1,1) | |
1692 | trace.BottomSurface = 0 | |
1693 | trace.TopSurface = 0 | |
1694 | trace.Anchored = true | |
1695 | trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 25 | |
1696 | trace.Material = "Neon" | |
1697 | local tracem = Instance.new("SpecialMesh",trace) | |
1698 | tracem.MeshType = "Sphere" | |
1699 | tracem.Scale = Vector3.new(1,1,50) | |
1700 | local disp = coroutine.wrap(function() | |
1701 | for i = 1, 9 do | |
1702 | wait(.01) | |
1703 | trace.Transparency = trace.Transparency + .1 | |
1704 | end | |
1705 | wait(.01) | |
1706 | trace:Destroy() | |
1707 | end) | |
1708 | disp() | |
1709 | chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60 | |
1710 | wait(.2) | |
1711 | Sheath(3) | |
1712 | ClawDashSnd:Play() | |
1713 | chatfunc("of") | |
1714 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1715 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1716 | RW.C0 = (RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)) | |
1717 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
1718 | LLW.C0 = LLWF | |
1719 | RLW.C0 = RLWF + Vector3.new(0,-1,1) | |
1720 | for i = 1, 10 do | |
1721 | local trace = Instance.new("Part",game.Workspace) | |
1722 | trace.CanCollide = false | |
1723 | trace.Size = Vector3.new(1,1,1) | |
1724 | trace.Transparency = 1 | |
1725 | trace.BottomSurface = 0 | |
1726 | trace.TopSurface = 0 | |
1727 | trace.Anchored = true | |
1728 | trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i)) | |
1729 | debby:AddItem(trace,1) | |
1730 | ExHitbox(10,trace.Position,25,2,.1,10,0) | |
1731 | end | |
1732 | chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60 | |
1733 | wait(.2) | |
1734 | Sheath(2) | |
1735 | ClawDashSnd:Play() | |
1736 | chatfunc("Days!") | |
1737 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1738 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
1739 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1740 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
1741 | LLW.C0 = LLWF | |
1742 | RLW.C0 = RLWF + Vector3.new(0,-1,1) | |
1743 | for i = 1, 10 do | |
1744 | local trace = Instance.new("Part",game.Workspace) | |
1745 | trace.CanCollide = false | |
1746 | trace.Size = Vector3.new(1,1,1) | |
1747 | trace.Transparency = 1 | |
1748 | trace.BottomSurface = 0 | |
1749 | trace.TopSurface = 0 | |
1750 | trace.Anchored = true | |
1751 | trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i)) | |
1752 | debby:AddItem(trace,1) | |
1753 | ExHitbox(10,trace.Position,25,2,.1,10,0) | |
1754 | end | |
1755 | chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60 | |
1756 | wait(1) | |
1757 | swordspin() | |
1758 | wait(.5) | |
1759 | for i = 0,.6,.1 do | |
1760 | rs:wait() | |
1761 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i) | |
1762 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i) | |
1763 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1764 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i) | |
1765 | LLW.C0 = LLWF | |
1766 | RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i) | |
1767 | end | |
1768 | Sheath(5) | |
1769 | DestroyLegWelds() | |
1770 | chara.Humanoid.WalkSpeed = 16 | |
1771 | del = false | |
1772 | res() | |
1773 | end | |
1774 | ||
1775 | --Roda Rolla-- | |
1776 | function RodaRolla() | |
1777 | del = true | |
1778 | atkd = true | |
1779 | for i = 0,.6,.2 do | |
1780 | wait(.01) | |
1781 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i) | |
1782 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
1783 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
1784 | end | |
1785 | ZaWarudoSnd:Play() | |
1786 | for i = 0,.6,.1 do | |
1787 | rs:wait() | |
1788 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF,.4+i) | |
1789 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i) | |
1790 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),.4+i) | |
1791 | end | |
1792 | local jtrace = Instance.new("Part",game.Workspace) | |
1793 | jtrace.Name = "Trace" | |
1794 | jtrace.Size = Vector3.new(0,0,0) | |
1795 | jtrace.Position = chara.Torso.Position | |
1796 | jtrace.CFrame = chara.Torso.CFrame - Vector3.new(0,2,0) | |
1797 | jtrace.Anchored = true | |
1798 | jtrace.BrickColor = BrickColor.new("Royal purple") | |
1799 | FlySnd:Play() | |
1800 | local tmesh = Instance.new("SpecialMesh",jtrace) | |
1801 | tmesh.MeshId = "http://www.roblox.com/asset/?id=1125478" | |
1802 | tmesh.Scale = Vector3.new(0,0,0) | |
1803 | local origpos = chara.Torso.Position | |
1804 | local bdf = Instance.new("BodyPosition",chara.Torso) | |
1805 | bdf.MaxForce = Vector3.new(20000,20000,20000) | |
1806 | bdf.Position = origpos + Vector3.new(0,200,0) | |
1807 | for i = 1, 10 do | |
1808 | wait(.01) | |
1809 | jtrace.Transparency = jtrace.Transparency + .1 | |
1810 | tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2) | |
1811 | end | |
1812 | jtrace:Destroy() | |
1813 | wait(2) | |
1814 | chara.Humanoid.PlatformStand = true | |
1815 | RodaRollaSnd:Play() | |
1816 | local currpos = chara.Torso.Position | |
1817 | RODAROLLA = New("Model",chara,"RODAROLLA",{}) | |
1818 | MainRodaPart = New("Part",RODAROLLA,"MainRodaPart",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(13, 7.49999714, -72.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.105882, 0.164706, 0.207843),}) | |
1819 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(8, 1, 1),CFrame = CFrame.new(13, 13.4999943, -70.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1820 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, 5.99999714, 2, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1821 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(4, 10, 4),CFrame = CFrame.new(13, 5, -78, 0, -1, 0, 0, 0, 1, -1, 0, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1822 | Mesh = New("CylinderMesh",RodaPart,"Mesh",{}) | |
1823 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 1, 0),C1 = CFrame.new(0, -2.49999714, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1824 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(4, 3, 1),CFrame = CFrame.new(13, 9.49999428, -71.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.105882, 0.164706, 0.207843),}) | |
1825 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, 1.99999714, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1826 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(17.5, 10.9999943, -70.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1827 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(4.5, 3.49999714, 2, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1828 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(5, 10, 5),CFrame = CFrame.new(13, 5.5, -67.5, 0, -1, 0, 0, 0, 1, -1, 0, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1829 | Mesh = New("CylinderMesh",RodaPart,"Mesh",{}) | |
1830 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 1, 0),C1 = CFrame.new(0, -1.99999714, 5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1831 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(1, 1, 6),CFrame = CFrame.new(8.5, 13.4999943, -68, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1832 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(-4.5, 5.99999714, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1833 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(8.5, 10.9999943, -70.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1834 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(-4.5, 3.49999714, 2, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1835 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(1, 1, 6),CFrame = CFrame.new(17.5, 13.4999943, -68, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1836 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(4.5, 5.99999714, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1837 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(10, 1, 6),CFrame = CFrame.new(13, 8.49999428, -68, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.960784, 0.803922, 0.188235),}) | |
1838 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, 0.999997139, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1839 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(17.5, 10.9999943, -65.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1840 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(4.5, 3.49999714, 7, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1841 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(10, 4, 1),CFrame = CFrame.new(13, 7, -64.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.960784, 0.803922, 0.188235),}) | |
1842 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, -0.499997139, 8, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1843 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(10, 1, 1),CFrame = CFrame.new(13, 7.49999714, -70.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.960784, 0.803922, 0.188235),}) | |
1844 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, 0, 2, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1845 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(8, 1, 1),CFrame = CFrame.new(13, 13.4999943, -65.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1846 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, 5.99999714, 7, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1847 | RodaPart = New("Part",RODAROLLA,"RodaPart",{Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(8.5, 10.9999943, -65.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1848 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(-4.5, 3.49999714, 7, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1849 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(10, 1, 6),CFrame = CFrame.new(13, 7.49999714, -78, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.960784, 0.803922, 0.188235),}) | |
1850 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, 0, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1851 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(10, 2, 1),CFrame = CFrame.new(13, 6, -80.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.960784, 0.803922, 0.188235),}) | |
1852 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, -1.49999714, -8, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1853 | RodaPart = New("Part",RODAROLLA,"RodaPart",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(10, 1, 6),CFrame = CFrame.new(13, 6.50000095, -73, 1, 0, 0, 0, 1, 0, 0, 0, 1),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(0.960784, 0.803922, 0.188235),}) | |
1854 | Weld = New("ManualWeld",RodaPart,"Weld",{Part0 = RodaPart,Part1 = MainRodaPart,C1 = CFrame.new(0, -0.999996185, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1855 | RODAROLLA:MoveTo(currpos) | |
1856 | RWeldd = New("ManualWeld",MainRodaPart,"Weld",{Part0 = MainRodaPart,Part1 = chara["Right Arm"],C1 = CFrame.new(-0.5, -1.50000954, 1.00000763, 1, 0, 0, 0, 1.00000393, 0, 0, 0, 1.00000393),}) | |
1857 | for i = 0,.6,.1 do | |
1858 | rs:wait() | |
1859 | TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
1860 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) | |
1861 | RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
1862 | end | |
1863 | --DieSnd:Play() | |
1864 | bdf.Position = origpos | |
1865 | bdf.D = 100 | |
1866 | wait(2) | |
1867 | RWeldd:Destroy() | |
1868 | RODAROLLA:MoveTo(origpos) | |
1869 | for i = 1, 10 do | |
1870 | local gtrace = Instance.new("Part",game.Workspace) | |
1871 | gtrace.BrickColor = gprop[1] | |
1872 | gtrace.Material = gprop[2] | |
1873 | gtrace.Size = Vector3.new(3,3,3) | |
1874 | gtrace.Anchored = true | |
1875 | gtrace.CFrame = (CFrame.new(origpos.x,origpos.y,origpos.z) + Vector3.new(math.random(-15,15),-3,math.random(-10,10))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1876 | local gdisp = coroutine.wrap(function() | |
1877 | for i = 1, 9 do | |
1878 | wait(.1) | |
1879 | gtrace.Transparency = gtrace.Transparency + .1 | |
1880 | end | |
1881 | gtrace:Destroy() | |
1882 | end) | |
1883 | gdisp() | |
1884 | end | |
1885 | local trace = Instance.new("Part",game.Workspace) | |
1886 | trace.Size = Vector3.new(0,0,0) | |
1887 | trace.CFrame = CFrame.new(origpos.x,origpos.y,origpos.z) | |
1888 | trace.CanCollide = false | |
1889 | trace.Anchored = true | |
1890 | trace.Material = "Neon" | |
1891 | trace.BrickColor = BrickColor.new("Neon orange") | |
1892 | local tmesh2 = Instance.new("SpecialMesh",trace) | |
1893 | tmesh2.MeshType = "Sphere" | |
1894 | BExpSnd:Play() | |
1895 | ExHitbox(20,origpos,70,3,.5,50,50) | |
1896 | tracegrow = coroutine.wrap(function() | |
1897 | for i = 1, 9 do | |
1898 | wait(.01) | |
1899 | trace.Transparency = trace.Transparency + .1 | |
1900 | tmesh2.Scale = tmesh2.Scale + Vector3.new(20,20,20) | |
1901 | end | |
1902 | trace:Destroy() | |
1903 | end) | |
1904 | tracegrow() | |
1905 | RODAROLLA:BreakJoints() | |
1906 | for i = 0,.6,.1 do | |
1907 | rs:wait() | |
1908 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),ITCF,.4+i) | |
1909 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),IHCF,.4+i) | |
1910 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,.4+i) | |
1911 | end | |
1912 | wait(2) | |
1913 | RODAROLLA:Destroy() | |
1914 | chara.Humanoid.PlatformStand = false | |
1915 | bdf:Destroy() | |
1916 | WrySnd:Play() | |
1917 | del = false | |
1918 | end | |
1919 | ||
1920 | --Huge Punch-- | |
1921 | function OnePunch() | |
1922 | del = true | |
1923 | atkd = true | |
1924 | SuperPause() | |
1925 | chara.Humanoid.WalkSpeed = 0 | |
1926 | chatfunc("TYRANNICAL...") | |
1927 | PunchTrail.Enabled = true | |
1928 | Punch2Trail.Enabled = true | |
1929 | for i = 0,.6,.1 do | |
1930 | rs:wait() | |
1931 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
1932 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
1933 | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) | |
1934 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.4+i) | |
1935 | end | |
1936 | for i = 1, 5 do | |
1937 | wait(.1) | |
1938 | local p = Instance.new("Part",game.Workspace) | |
1939 | p.Size = Vector3.new(1,1,1) | |
1940 | p.BrickColor = BrickColor.new("Alder") | |
1941 | p.Material = "Neon" | |
1942 | p.Anchored = true | |
1943 | p.CanCollide = false | |
1944 | p.CFrame = Emit2Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1945 | local pm = Instance.new("SpecialMesh",p) | |
1946 | pm.MeshType = "Sphere" | |
1947 | pm.Scale = Vector3.new(.5,.5,.5) | |
1948 | pm.Offset = Vector3.new(0,10,0) | |
1949 | local disp = coroutine.wrap(function() | |
1950 | for i = 1, 4 do | |
1951 | wait(.01) | |
1952 | p.Transparency = p.Transparency + .2 | |
1953 | pm.Scale = pm.Scale + Vector3.new(.05,.05,.05) | |
1954 | pm.Offset = pm.Offset - Vector3.new(0,2,0) | |
1955 | end | |
1956 | wait(.01) | |
1957 | p:Destroy() | |
1958 | end) | |
1959 | disp() | |
1960 | end | |
1961 | ChargeSnd:Play() | |
1962 | for i = 1, 10 do | |
1963 | wait(.1) | |
1964 | local p = Instance.new("Part",game.Workspace) | |
1965 | p.Size = Vector3.new(1,1,1) | |
1966 | p.BrickColor = BrickColor.new("Alder") | |
1967 | p.Material = "Neon" | |
1968 | p.Anchored = true | |
1969 | p.CanCollide = false | |
1970 | p.CFrame = Emit2Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1971 | local pm = Instance.new("SpecialMesh",p) | |
1972 | pm.MeshType = "Sphere" | |
1973 | pm.Scale = Vector3.new(.5,.5,.5) | |
1974 | pm.Offset = Vector3.new(0,10,0) | |
1975 | local disp = coroutine.wrap(function() | |
1976 | for i = 1, 4 do | |
1977 | wait(.01) | |
1978 | p.Transparency = p.Transparency + .2 | |
1979 | pm.Scale = pm.Scale + Vector3.new(.05,.05,.05) | |
1980 | pm.Offset = pm.Offset - Vector3.new(0,2,0) | |
1981 | end | |
1982 | wait(.01) | |
1983 | p:Destroy() | |
1984 | end) | |
1985 | disp() | |
1986 | end | |
1987 | for i = 0,.6,.3 do | |
1988 | rs:wait() | |
1989 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
1990 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
1991 | RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),(RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),.4+i) | |
1992 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i) | |
1993 | end | |
1994 | chatfunc("...BANG!") | |
1995 | BExpSnd:Play() | |
1996 | local p = Instance.new("Part",game.Workspace) | |
1997 | p.Size = Vector3.new(0,0,0) | |
1998 | p.Position = chara.HumanoidRootPart.Position | |
1999 | p.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector*3) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) | |
2000 | p.Anchored = true | |
2001 | p.BrickColor = BrickColor.new("Alder") | |
2002 | local pm = Instance.new("SpecialMesh",p) | |
2003 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2004 | pm.Scale = Vector3.new(1,1,1) | |
2005 | pm.Offset = Vector3.new(0,0,-.125) | |
2006 | local disp = coroutine.wrap(function() | |
2007 | for i = 1, 9 do | |
2008 | wait(.01) | |
2009 | p.Transparency = p.Transparency + .1 | |
2010 | pm.Scale = pm.Scale + Vector3.new(5,5,5) | |
2011 | end | |
2012 | wait(.01) | |
2013 | p:Destroy() | |
2014 | end) | |
2015 | disp() | |
2016 | for i = 1, 20 do | |
2017 | local p = Instance.new("Part",game.Workspace) | |
2018 | p.Size = Vector3.new(1,1,1) | |
2019 | p.BrickColor = BrickColor.new("Alder") | |
2020 | p.Material = "Neon" | |
2021 | p.Anchored = true | |
2022 | p.CanCollide = false | |
2023 | p.CFrame = Emit2Part.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2024 | local pm = Instance.new("BlockMesh",p) | |
2025 | pm.Scale = Vector3.new(3,3,3) | |
2026 | pm.Offset = Vector3.new(0,0,0) | |
2027 | local disp = coroutine.wrap(function() | |
2028 | for i = 1, 9 do | |
2029 | wait(.01) | |
2030 | p.Transparency = p.Transparency + .1 | |
2031 | pm.Scale = pm.Scale + Vector3.new(.05,.05,.05) | |
2032 | pm.Offset = pm.Offset + Vector3.new(0,5,0) | |
2033 | end | |
2034 | wait(.01) | |
2035 | p:Destroy() | |
2036 | end) | |
2037 | disp() | |
2038 | end | |
2039 | ExHitbox(10,chara.HumanoidRootPart.Position + chara.HumanoidRootPart.CFrame.lookVector*10,40,2,.5,200,200) | |
2040 | wait(1) | |
2041 | for i = 0,.6,.1 do | |
2042 | rs:wait() | |
2043 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),IHCF,.4+i) | |
2044 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),ITCF,.4+i) | |
2045 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),IRWF,.4+i) | |
2046 | LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),ILWF,.4+i) | |
2047 | end | |
2048 | chara.Humanoid.WalkSpeed = 16 | |
2049 | del = false | |
2050 | PunchTrail.Enabled = false | |
2051 | Punch2Trail.Enabled = false | |
2052 | res() | |
2053 | end | |
2054 | ||
2055 | --Rush Attack-- | |
2056 | function RushAttack() | |
2057 | del = true | |
2058 | punchactive = true | |
2059 | PunchTrail.Enabled = true | |
2060 | Punch2Trail.Enabled = true | |
2061 | for i = 0,.6,.2 do | |
2062 | rs:wait() | |
2063 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
2064 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
2065 | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) | |
2066 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.4+i) | |
2067 | end | |
2068 | DioSnd:Play() | |
2069 | for i = 1, 30 do | |
2070 | rs:wait() | |
2071 | PlaySnd(SwingSnd,chara) | |
2072 | for i = 0,.6,.3 do | |
2073 | rs:wait() | |
2074 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
2075 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
2076 | RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),(RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),.4+i) | |
2077 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i) | |
2078 | end | |
2079 | rs:wait() | |
2080 | for i = 0,.6,.3 do | |
2081 | rs:wait() | |
2082 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i) | |
2083 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i) | |
2084 | RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),(RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),.6-i) | |
2085 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.6-i) | |
2086 | end | |
2087 | end | |
2088 | punchactive = false | |
2089 | for i = 0,.6,.1 do | |
2090 | rs:wait() | |
2091 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),IHCF,.4+i) | |
2092 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),ITCF,.4+i) | |
2093 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),IRWF,.4+i) | |
2094 | LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),ILWF,.4+i) | |
2095 | end | |
2096 | del = false | |
2097 | PunchTrail.Enabled = false | |
2098 | Punch2Trail.Enabled = false | |
2099 | res() | |
2100 | end | |
2101 | ||
2102 | --Final Attack-- | |
2103 | finalgrab = false | |
2104 | didfinal = false | |
2105 | function FinalGrab(hit) | |
2106 | 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 | |
2107 | finalgrab = false | |
2108 | didfinal = true | |
2109 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
2110 | PunchEff(hit.CFrame) | |
2111 | local stay = coroutine.wrap(function() | |
2112 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
2113 | hit.Parent.Humanoid.WalkSpeed = 0 | |
2114 | hit.Parent.Humanoid.PlatformStand = true | |
2115 | end | |
2116 | end) | |
2117 | stay() | |
2118 | local bpos = Instance.new("BodyPosition",hit.Parent.Head) | |
2119 | bpos.MaxForce = Vector3.new(10000,10000,10000) | |
2120 | bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*5 | |
2121 | wait(1) | |
2122 | Sheath(4) | |
2123 | Sheath(3) | |
2124 | SlashTrail.Enabled = true | |
2125 | chatfunc("Demon Fury!") | |
2126 | for i = 0,.6,.1 do | |
2127 | rs:wait() | |
2128 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i) | |
2129 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
2130 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
2131 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
2132 | end | |
2133 | for a = 1, 10 do | |
2134 | PlaySnd(ClawDashSnd,chara) | |
2135 | dealdmg(hit.Parent,3,1,0,0,10) | |
2136 | for i = 0,1,.25 do | |
2137 | rs:wait() | |
2138 | TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),i) | |
2139 | end | |
2140 | for i = 0,1,.25 do | |
2141 | rs:wait() | |
2142 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-360)),i) | |
2143 | end | |
2144 | local p = Instance.new("Part",game.Workspace) | |
2145 | p.Size = Vector3.new(1,1,1) | |
2146 | p.BrickColor = BrickColor.new("Royal purple") | |
2147 | p.Material = "Neon" | |
2148 | p.Anchored = true | |
2149 | p.CanCollide = false | |
2150 | 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))) | |
2151 | local pm = Instance.new("SpecialMesh",p) | |
2152 | pm.MeshType = "Sphere" | |
2153 | pm.Scale = Vector3.new(.5,.5,.5) | |
2154 | local disp = coroutine.wrap(function() | |
2155 | for i = 1, 4 do | |
2156 | wait(.01) | |
2157 | p.Transparency = p.Transparency + .2 | |
2158 | pm.Scale = pm.Scale + Vector3.new(0,10,0) | |
2159 | end | |
2160 | wait(.01) | |
2161 | p:Destroy() | |
2162 | end) | |
2163 | disp() | |
2164 | end | |
2165 | AddLegWelds() | |
2166 | chatfunc("Kyaa!") | |
2167 | KickTrail.Enabled = true | |
2168 | for i = 0,.6,.1 do | |
2169 | rs:wait() | |
2170 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i) | |
2171 | HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i) | |
2172 | 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) | |
2173 | 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) | |
2174 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
2175 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
2176 | end | |
2177 | PunchEff(hit.CFrame) | |
2178 | HitPunchSnd:Play() | |
2179 | bpos:Destroy() | |
2180 | dealdmg(hit.Parent,20,2,0,10,50) | |
2181 | wait(1) | |
2182 | for i = 0,.6,.1 do | |
2183 | rs:wait() | |
2184 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i) | |
2185 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i) | |
2186 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i) | |
2187 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i) | |
2188 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i) | |
2189 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i) | |
2190 | end | |
2191 | KickTrail.Enabled = false | |
2192 | didfinal = false | |
2193 | DestroyLegWelds() | |
2194 | del = false | |
2195 | SlashTrail.Enabled = false | |
2196 | Sheath(5) | |
2197 | chara.Humanoid.WalkSpeed = 16 | |
2198 | hit.Parent.Humanoid.WalkSpeed = 16 | |
2199 | hit.Parent.Humanoid.PlatformStand = false | |
2200 | res() | |
2201 | end | |
2202 | end | |
2203 | chara["Right Arm"].Touched:connect(FinalGrab) | |
2204 | ||
2205 | function AttemptFinal() | |
2206 | del = true | |
2207 | atkd = true | |
2208 | chara.Humanoid.WalkSpeed = 0 | |
2209 | SuperPause() | |
2210 | chatfunc("I'll show you...") | |
2211 | PunchTrail.Enabled = true | |
2212 | for i = 0,.6,.1 do | |
2213 | rs:wait() | |
2214 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-40)),.4+i) | |
2215 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i) | |
2216 | RW.C0 = clerp(IRWF,RWF,.4+i) | |
2217 | LW.C0 = ILWF | |
2218 | end | |
2219 | Swing2Snd.Pitch = .5 | |
2220 | Swing2Snd:Play() | |
2221 | finalgrab = true | |
2222 | for i = 0,.6,.1 do | |
2223 | rs:wait() | |
2224 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-40)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i) | |
2225 | RW.C0 = clerp(RWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
2226 | end | |
2227 | wait(2) | |
2228 | if didfinal == false then | |
2229 | finalgrab = false | |
2230 | for i = 0,.6,.1 do | |
2231 | rs:wait() | |
2232 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.6-i) | |
2233 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i) | |
2234 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i) | |
2235 | end | |
2236 | del = false | |
2237 | chara.Humanoid.WalkSpeed = 16 | |
2238 | res() | |
2239 | elseif didfinal == true then | |
2240 | end | |
2241 | PunchTrail.Enabled = false | |
2242 | end | |
2243 | ||
2244 | --Lock On-- | |
2245 | function LockOn() | |
2246 | if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2247 | TargetSelect(Mouse.Target.Parent) | |
2248 | TargetSnd:Play() | |
2249 | wait(.05) | |
2250 | TargetSnd:Play() | |
2251 | else end | |
2252 | end | |
2253 | ||
2254 | --Block-- | |
2255 | blockval = false | |
2256 | healthlock = 0 | |
2257 | effeff = nil | |
2258 | function ToggleBlock() | |
2259 | if blockval == false then | |
2260 | blockval = true | |
2261 | SwingSnd:Play() | |
2262 | healthlock = chara.Humanoid.Health | |
2263 | effeff = Instance.new("ForceField",chara) | |
2264 | effeff.Name = "FawsFeeld" | |
2265 | effeff.Visible = false | |
2266 | for i = 0,.6,.1 do | |
2267 | rs:wait() | |
2268 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
2269 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
2270 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(-1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(45)),.4+i) | |
2271 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(-45)),.4+i) | |
2272 | end | |
2273 | elseif blockval == true then | |
2274 | SwingSnd:Play() | |
2275 | effeff:Destroy() | |
2276 | blockval = false | |
2277 | for i = 0,.6,.1 do | |
2278 | rs:wait() | |
2279 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
2280 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
2281 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(-1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(45)),.6-i) | |
2282 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(-45)),.6-i) | |
2283 | end | |
2284 | atkdd = true | |
2285 | end | |
2286 | end | |
2287 | ||
2288 | function Stunned() | |
2289 | del = true | |
2290 | blockval = false | |
2291 | chara.Humanoid.WalkSpeed = 0 | |
2292 | local naeeym2 = Instance.new("BillboardGui",chara) | |
2293 | naeeym2.Size = UDim2.new(0,100,0,40) | |
2294 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
2295 | naeeym2.Adornee = chara.Head | |
2296 | naeeym2.Name = "Counter" | |
2297 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
2298 | tecks2.BackgroundTransparency = 1 | |
2299 | tecks2.BorderSizePixel = 0 | |
2300 | tecks2.Text = "Stunned!" | |
2301 | tecks2.Font = "Fantasy" | |
2302 | tecks2.FontSize = "Size24" | |
2303 | tecks2.TextStrokeTransparency = 0 | |
2304 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
2305 | tecks2.TextColor3 = Color3.new(1,0,0) | |
2306 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
2307 | for i = 1, 30 do | |
2308 | wait(.1) | |
2309 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0) | |
2310 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0) | |
2311 | RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0) | |
2312 | LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)) | |
2313 | end | |
2314 | for i = 1, 5 do | |
2315 | wait(.01) | |
2316 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
2317 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
2318 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
2319 | end | |
2320 | for i = 0,.6,.1 do | |
2321 | rs:wait() | |
2322 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i) | |
2323 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i) | |
2324 | RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i) | |
2325 | LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i) | |
2326 | end | |
2327 | del = false | |
2328 | chara.Humanoid.WalkSpeed = 16 | |
2329 | end | |
2330 | ||
2331 | blkpct = 100 | |
2332 | local bcount = coroutine.wrap(function() | |
2333 | while wait() do | |
2334 | if blockval == false then | |
2335 | if blkpct < 100 then | |
2336 | blkpct = blkpct + 1 | |
2337 | wait(.5) | |
2338 | else | |
2339 | end | |
2340 | end | |
2341 | player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%" | |
2342 | end | |
2343 | end) | |
2344 | bcount() | |
2345 | ||
2346 | chara.Humanoid.HealthChanged:connect(function(hth) | |
2347 | if blockval == true then | |
2348 | if math.floor(hth) < healthlock then | |
2349 | blkpct = blkpct - math.random(2,4) | |
2350 | if blkpct < 1 then | |
2351 | Stunned() | |
2352 | end | |
2353 | print("Block Value reduced to "..blkpct) | |
2354 | else | |
2355 | end | |
2356 | end | |
2357 | end) | |
2358 | ||
2359 | --Mouse Functions-- | |
2360 | orbpushactive = false | |
2361 | del = false | |
2362 | input = "" | |
2363 | letterd = 0 | |
2364 | ltoim = 0 | |
2365 | function onKeyDown(key) | |
2366 | if key == "e" and attacking == false then | |
2367 | ToggleBlock() | |
2368 | elseif del == false and blockval == false then | |
2369 | if key == "q" then | |
2370 | if input == "ad" and targetted ~= nil then | |
2371 | EndRightly() | |
2372 | elseif input == "sd" then | |
2373 | IdVaal() | |
2374 | elseif input == "dsd" then | |
2375 | RodaRolla() | |
2376 | elseif input == "asd" then | |
2377 | OnePunch() | |
2378 | elseif input == "sa" then | |
2379 | RushAttack() | |
2380 | elseif input == "adad" and berserkmode == false and overcharge == 100 then | |
2381 | Overdrive() | |
2382 | elseif input == "aad" then | |
2383 | ClawDash() | |
2384 | elseif input == "dsas" then | |
2385 | AttemptFinal() | |
2386 | else LockOn() end | |
2387 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q" | |
2388 | input = "" | |
2389 | letterd = 0 | |
2390 | ltoim = 0 | |
2391 | elseif key == "z" then | |
2392 | Punch() | |
2393 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z" | |
2394 | input = "" | |
2395 | letterd = 0 | |
2396 | ltoim = 0 | |
2397 | elseif key == "x" then | |
2398 | if input == "sa" then | |
2399 | BanditRevolver() | |
2400 | elseif input == "ss" then | |
2401 | FlipKick() | |
2402 | else KickAtk() end | |
2403 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X" | |
2404 | input = "" | |
2405 | letterd = 0 | |
2406 | ltoim = 0 | |
2407 | elseif key == "c" then | |
2408 | if input == "add" then | |
2409 | IaidoFrost() | |
2410 | elseif input == "ssad" then | |
2411 | KnightRush() | |
2412 | elseif input == "aw" then | |
2413 | Decapitator() | |
2414 | elseif input == "dsd" then | |
2415 | KnightStabs() | |
2416 | else SlashAtk() end | |
2417 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C" | |
2418 | input = "" | |
2419 | letterd = 0 | |
2420 | ltoim = 0 | |
2421 | elseif (key == "w" or key == "a" or key == "s" or key == "d") then | |
2422 | input=input..key | |
2423 | print(input) | |
2424 | letterd = letterd + 1 | |
2425 | ltoim = 10 | |
2426 | if letterd > 5 then | |
2427 | input = "" | |
2428 | letterd = 0 | |
2429 | ltoim = 0 | |
2430 | elseif key == "m" then | |
2431 | if Music.IsPlaying == true then | |
2432 | Music:Stop() | |
2433 | elseif Music.IsPlaying == false then | |
2434 | Music:Play() | |
2435 | end | |
2436 | end | |
2437 | end | |
2438 | end | |
2439 | end | |
2440 | combo = 0 | |
2441 | ||
2442 | --Mouse Activation-- | |
2443 | if Mouse then | |
2444 | Mouse.KeyDown:connect(onKeyDown) | |
2445 | end | |
2446 | ||
2447 | --Overdrive Charge-- | |
2448 | local count = coroutine.wrap(function() | |
2449 | while wait() do | |
2450 | if berserkmode == false then | |
2451 | if overcharge < 100 then | |
2452 | overcharge = overcharge + 1 | |
2453 | player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%" | |
2454 | wait(.1) | |
2455 | else | |
2456 | end | |
2457 | elseif berserkmode == true then | |
2458 | player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!" | |
2459 | end | |
2460 | end | |
2461 | end) | |
2462 | count() | |
2463 | ||
2464 | --Loop Function-- | |
2465 | walking = false | |
2466 | toim = 0 | |
2467 | while true do | |
2468 | wait() | |
2469 | toim = toim + .1 | |
2470 | ltoim = ltoim - 1 | |
2471 | if ltoim < 1 then | |
2472 | input = "" | |
2473 | end | |
2474 | materialhit() | |
2475 | if del == false then attacking = false elseif del == true then attacking = true end | |
2476 | if blockval == true and chara:FindFirstChild("HitByUlt")==nil then | |
2477 | chara.Humanoid.Health = healthlock | |
2478 | end | |
2479 | if del == false then | |
2480 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input) | |
2481 | end | |
2482 | if atkd == true then | |
2483 | TC.C0 = TCF | |
2484 | HC.C0 = HCF | |
2485 | RW.C0 = RWF | |
2486 | LW.C0 = LWF | |
2487 | atkd = false | |
2488 | end | |
2489 | if atkdd == true then | |
2490 | TC.C0 = ITCF | |
2491 | HC.C0 = IHCF | |
2492 | RW.C0 = IRWF | |
2493 | LW.C0 = ILWF | |
2494 | atkdd = false | |
2495 | end | |
2496 | torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
2497 | if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then | |
2498 | for i = 0,1,.5 do | |
2499 | rs:wait() | |
2500 | if del == false and attacking == false and blockval == false then | |
2501 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i) | |
2502 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i) | |
2503 | RW.C0 = IRWF | |
2504 | LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i) | |
2505 | end | |
2506 | end | |
2507 | walking = false | |
2508 | elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then | |
2509 | for i = 0,1,.5 do | |
2510 | rs:wait() | |
2511 | if del == false and attacking == false and blockval == false then | |
2512 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i) | |
2513 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i) | |
2514 | RW.C0 = IRWF | |
2515 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i) | |
2516 | end | |
2517 | end | |
2518 | walking = true | |
2519 | else | |
2520 | end | |
2521 | imgl.Rotation = imgl.Rotation + 3 | |
2522 | if targetted ~= nil then | |
2523 | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2524 | crosshair.Enabled = true | |
2525 | elseif targetted == nil then | |
2526 | crosshair.Adornee = nil | |
2527 | crosshair.Enabled = true | |
2528 | end | |
2529 | end |