SHOW:
|
|
- or go back to the newest paste.
1 | - | -------------- |
1 | + | Character = game.Players.LocalPlayer.Character |
2 | - | --Psychopath-- |
2 | + | Player = game.Players.LocalPlayer |
3 | - | -------------- |
3 | + | char = Character |
4 | - | --By -- |
4 | + | hum = Character.Humanoid |
5 | - | --CKbackup- |
5 | + | Torso = Character.Torso |
6 | - | ----------- |
6 | + | Head = Character.Head |
7 | ||
8 | - | ------------- |
8 | + | char.Shirt.ShirtTemplate = "rbxassetid://180697043" |
9 | - | --Move List-- |
9 | + | char.Pants.PantsTemplate = "rbxassetid://180697043" |
10 | - | ------------- |
10 | + | |
11 | - | --Q - Target |
11 | + | |
12 | - | --AWC - Kill |
12 | + | local BC = char["Body Colors"] |
13 | - | --ASC - End |
13 | + | BC.HeadColor = BrickColor.new("Gray") |
14 | - | --DSC - Murder |
14 | + | BC.LeftArmColor = BrickColor.new("Gray") |
15 | - | --WWC - Execute |
15 | + | BC.LeftLegColor = BrickColor.new("Gray") |
16 | - | --ADQ - Appear (Target First) |
16 | + | BC.RightArmColor = BrickColor.new("Gray") |
17 | - | --ASQ - Expunge (Target First) |
17 | + | BC.RightLegColor = BrickColor.new("Gray") |
18 | - | --ADC - Reap (Target First) |
18 | + | BC.TorsoColor = BrickColor.new("Black") |
19 | - | --SSC - Hunt (Target First) |
19 | + | |
20 | - | --WWSQ - Annihilation |
20 | + | char.Head.face.Texture = "rbxassetid://701379058" |
21 | - | --SSADQ - Your World |
21 | + | |
22 | - | ------------- |
22 | + | hum.MaxHealth = math.huge |
23 | ||
24 | - | player = game.Players.LocalPlayer |
24 | + | CV="Maroon" |
25 | - | chara = player.Character |
25 | + | p = game.Players.LocalPlayer |
26 | - | debby = game.Debris |
26 | + | char = p.Character |
27 | - | Mouse = player:GetMouse() |
27 | + | local txt = Instance.new("BillboardGui", char) |
28 | - | chara.Humanoid.WalkSpeed = 8 |
28 | + | txt.Adornee = char .Head |
29 | - | atkd = false |
29 | + | txt.Name = "_status" |
30 | - | targetted = nil |
30 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
31 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
32 | - | --Outfit-- |
32 | + | local text = Instance.new("TextLabel", txt) |
33 | - | New = function(Object, Parent, Name, Data) |
33 | + | text.Size = UDim2.new(10, 0, 7, 0) |
34 | - | local Object = Instance.new(Object) |
34 | + | text.FontSize = "Size24" |
35 | - | for Index, Value in pairs(Data or {}) do |
35 | + | text.TextScaled = true |
36 | - | Object[Index] = Value |
36 | + | text.TextTransparency = 0 |
37 | text.BackgroundTransparency = 1 | |
38 | - | Object.Parent = Parent |
38 | + | text.TextTransparency = 0 |
39 | - | Object.Name = Name |
39 | + | text.TextStrokeTransparency = 0 |
40 | - | return Object |
40 | + | text.Font = "Bodoni" |
41 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
42 | ||
43 | - | ShadowHead = New("Part",chara,"ShadowHead",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
43 | + | v=Instance.new("Part") |
44 | - | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) |
44 | + | v.Name = "ColorBrick" |
45 | - | Weld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
45 | + | v.Parent=p.Character |
46 | v.FormFactor="Symmetric" | |
47 | - | Knifu = New("Model",chara,"Knifu",{}) |
47 | + | v.Anchored=true |
48 | - | Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
48 | + | v.CanCollide=false |
49 | - | Mesh = New("CylinderMesh",Handle,"Mesh",{}) |
49 | + | v.BottomSurface="Smooth" |
50 | - | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
50 | + | v.TopSurface="Smooth" |
51 | - | Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 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,}) |
51 | + | v.Size=Vector3.new(10,5,3) |
52 | - | Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
52 | + | v.Transparency=1 |
53 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
53 | + | v.CFrame=char.Torso.CFrame |
54 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) |
54 | + | v.BrickColor=BrickColor.new(CV) |
55 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
55 | + | v.Transparency=1 |
56 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
56 | + | text.TextColor3 = Color3.new(0,0,0) |
57 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) |
57 | + | v.Shape="Block" |
58 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
58 | + | text.Text = "The Grim Reaper" |
59 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
59 | + | |
60 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) |
60 | + | local dio = Instance.new("ColorCorrectionEffect", game.Lighting) |
61 | - | 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.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
61 | + | |
62 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
62 | + | --691666497 real music |
63 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) |
63 | + | --670607453 bendy and the ink machine |
64 | - | 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.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
64 | + | --535846047 marshmello alone |
65 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 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,}) |
65 | + | --510432947 troll |
66 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) |
66 | + | |
67 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
67 | + | |
68 | - | BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.592157, 0, 0),}) |
68 | + | for i,v in pairs(char:children()) do |
69 | - | Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) |
69 | + | if v:IsA("Hat") then |
70 | - | Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
70 | + | v:Destroy() |
71 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 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,}) |
71 | + | end |
72 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) |
72 | + | |
73 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
73 | + | for i,v in pairs(char:children()) do |
74 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
74 | + | if v:IsA("Accessory") then |
75 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
75 | + | v:Destroy() |
76 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
76 | + | end |
77 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
77 | + | |
78 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
78 | + | for i,v in pairs(char:children()) do |
79 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
79 | + | if v:IsA("Hair") then |
80 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
80 | + | v:Destroy() |
81 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
81 | + | end |
82 | - | 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.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
82 | + | |
83 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
83 | + | --21057378 |
84 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
84 | + | Reaper = Instance.new("Model") |
85 | - | 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.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
85 | + | Reaper.Parent = Player.Character |
86 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
86 | + | Reaper.Name = "Reaper" |
87 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
87 | + | rh = Instance.new("Part") |
88 | - | 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, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
88 | + | rh.Parent = Reaper |
89 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
89 | + | rh.BrickColor = BrickColor.new("Really red") |
90 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
90 | + | rh.Locked = true |
91 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
91 | + | rh.CanCollide = false |
92 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
92 | + | mesh = Instance.new("SpecialMesh") |
93 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
93 | + | rh.formFactor = "Symmetric" |
94 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
94 | + | mesh.MeshType = "FileMesh" |
95 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 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,}) |
95 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=187941748" |
96 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
96 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=187941774" |
97 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
97 | + | mesh.Parent = rh |
98 | - | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 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,}) |
98 | + | local weld = Instance.new("Weld") |
99 | - | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) |
99 | + | weld.Parent = rh |
100 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
100 | + | rh.Transparency = 0 |
101 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
101 | + | weld.Part0 = rh |
102 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) |
102 | + | weld.Part1 = Player.Character.Head |
103 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
103 | + | weld.C0 = CFrame.new(-0, -0.05, -0)*CFrame.Angles(0, 0, 0) |
104 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
104 | + | |
105 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) |
105 | + | local s = Instance.new("Sound",char) |
106 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
106 | + | s.SoundId = "http://www.roblox.com/asset/?id=150674644" |
107 | - | Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 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,Color = Color3.new(0.592157, 0, 0),}) |
107 | + | s.Pitch = 1 |
108 | - | Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) |
108 | + | s.Volume = 2 |
109 | - | Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
109 | + | s.Looped = true |
110 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 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,Color = Color3.new(0.592157, 0, 0),}) |
110 | + | |
111 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) |
111 | + | s:play() |
112 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
112 | + | |
113 | - | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 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,Color = Color3.new(0.592157, 0, 0),}) |
113 | + | |
114 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) |
114 | + | Reaper2 = Instance.new("Model") |
115 | - | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
115 | + | Reaper2.Parent = Player.Character |
116 | Reaper2.Name = "Reaper2" | |
117 | - | local p1mit = Instance.new("ParticleEmitter",Hitbox) |
117 | + | rh2 = Instance.new("Part") |
118 | - | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" |
118 | + | rh2.Parent = Reaper2 |
119 | - | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) |
119 | + | rh2.BrickColor = BrickColor.new("Really red") |
120 | - | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) |
120 | + | rh2.Locked = true |
121 | - | p1mit.Lifetime = NumberRange.new(2) |
121 | + | rh2.CanCollide = false |
122 | - | p1mit.Rate = 100 |
122 | + | mesh2 = Instance.new("SpecialMesh") |
123 | - | p1mit.Enabled = false |
123 | + | rh2.formFactor = "Symmetric" |
124 | - | p1mit.Acceleration = Vector3.new(0,-5,0) |
124 | + | mesh2.MeshType = "FileMesh" |
125 | - | p1mit.Rotation = NumberRange.new(0,359) |
125 | + | mesh2.MeshId = "http://www.roblox.com/asset/?id=16150814" |
126 | - | p1mit.Speed = NumberRange.new(0) |
126 | + | mesh2.TextureId = "http://www.roblox.com/asset/?id=16150799" |
127 | - | local p2mit = Instance.new("ParticleEmitter",BloodPart) |
127 | + | mesh2.Parent = rh2 |
128 | - | p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" |
128 | + | local weld2 = Instance.new("Weld") |
129 | - | p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) |
129 | + | weld2.Parent = rh2 |
130 | - | p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)}) |
130 | + | rh2.Transparency = 0 |
131 | - | p2mit.Lifetime = NumberRange.new(1) |
131 | + | weld2.Part0 = rh2 |
132 | - | p2mit.Rate = 10 |
132 | + | weld2.Part1 = Player.Character.Head |
133 | - | p2mit.Acceleration = Vector3.new(0,-10,0) |
133 | + | weld2.C0 = CFrame.new(-0, -0.05, -0)*CFrame.Angles(0, 0, 0) |
134 | - | p2mit.Speed = NumberRange.new(0) |
134 | + | |
135 | - | local p3mit = p2mit:Clone() |
135 | + | Reaper3 = Instance.new("Model") |
136 | - | p3mit.Parent = Blood2Part |
136 | + | Reaper3.Parent = Player.Character |
137 | Reaper3.Name = "Reaper3" | |
138 | - | crosshair = Instance.new("BillboardGui",chara) |
138 | + | rh3 = Instance.new("Part") |
139 | - | crosshair.Size = UDim2.new(10,0,10,0) |
139 | + | rh3.Parent = Reaper3 |
140 | - | crosshair.Enabled = false |
140 | + | rh3.BrickColor = BrickColor.new("Really red") |
141 | - | imgl = Instance.new("ImageLabel",crosshair) |
141 | + | rh3.Locked = true |
142 | - | imgl.Position = UDim2.new(0,0,0,0) |
142 | + | rh3.CanCollide = false |
143 | - | imgl.Size = UDim2.new(1,0,1,0) |
143 | + | mesh3 = Instance.new("SpecialMesh") |
144 | - | imgl.Image = "rbxassetid://233522684" |
144 | + | rh3.formFactor = "Symmetric" |
145 | - | imgl.BackgroundTransparency = 1 |
145 | + | mesh3.MeshType = "FileMesh" |
146 | - | imgl.ImageColor3 = Color3.new(.6,0,0) |
146 | + | mesh3.MeshId = "http://www.roblox.com/asset/?id=696339842" |
147 | mesh3.TextureId = "http://www.roblox.com/asset/?id=696339520" | |
148 | - | --Sounds-- |
148 | + | mesh3.Parent = rh3 |
149 | - | function LoadSnd(id,loop,vol,pit) |
149 | + | local weld3 = Instance.new("Weld") |
150 | - | local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit}) |
150 | + | weld3.Parent = rh3 |
151 | - | return snd |
151 | + | rh3.Transparency = 0 |
152 | weld3.Part0 = rh3 | |
153 | - | Music = LoadSnd(150674644,true,1,1) |
153 | + | weld3.Part1 = Player.Character.Torso |
154 | - | SwingSnd = LoadSnd(12222208,false,1,.5) |
154 | + | weld3.C0 = CFrame.new(-0, -1, -0)*CFrame.Angles(0, 0, 0) |
155 | - | HitSnd = LoadSnd(429400881,false,1,1) |
155 | + | |
156 | - | ChatSnd = LoadSnd(565939471,false,1,.4) |
156 | + | |
157 | - | ThrowSnd = LoadSnd(743521497,false,1,1) |
157 | + | |
158 | - | TargetSnd = LoadSnd(743521450,false,1,1) |
158 | + | Player = game:GetService("Players").LocalPlayer |
159 | - | TeleSnd = LoadSnd(743521656,false,1,1) |
159 | + | Character = Player.Character |
160 | - | ClawDashSnd = LoadSnd(62339698,false,1,.3) |
160 | + | PlayerGui = Player.PlayerGui |
161 | - | Music:Play() |
161 | + | Backpack = Player.Backpack |
162 | Torso = Character.Torso | |
163 | - | --Play Sound in Part-- |
163 | + | Head = Character.Head |
164 | - | function PlaySnd(snd,part) |
164 | + | Humanoid = Character.Humanoid |
165 | - | local sound = snd:Clone() |
165 | + | sanic = Humanoid.WalkSpeed |
166 | - | sound.PlayOnRemove = true |
166 | + | Face = Head.face |
167 | - | sound.Parent = part |
167 | + | LeftArm = Character["Left Arm"] |
168 | - | sound:Destroy() |
168 | + | LeftLeg = Character["Left Leg"] |
169 | RightArm = Character["Right Arm"] | |
170 | RightLeg = Character["Right Leg"] | |
171 | - | --Target Select-- |
171 | + | LS = Torso["Left Shoulder"] |
172 | - | function TargetSelect(person) |
172 | + | LH = Torso["Left Hip"] |
173 | - | local dd=coroutine.wrap(function() |
173 | + | RS = Torso["Right Shoulder"] |
174 | - | if targetted ~= person then |
174 | + | RH = Torso["Right Hip"] |
175 | - | targetted = person |
175 | + | Neck = Torso.Neck |
176 | - | for i = 0,30,10 do |
176 | + | neck = Torso.Neck |
177 | - | wait(.05) |
177 | + | it = Instance.new |
178 | - | crosshair.Size = UDim2.new(40-i,0,40-i,0) |
178 | + | vt = Vector3.new |
179 | cf = CFrame.new | |
180 | euler = CFrame.fromEulerAnglesXYZ | |
181 | angles = CFrame.Angles | |
182 | - | dd() |
182 | + | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
183 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
184 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
185 | - | --Damage Function-- |
185 | + | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
186 | - | function dealdmg(dude) |
186 | + | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
187 | - | if dude.Name ~= "CKbackup" then |
187 | + | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
188 | - | dude.Humanoid.PlatformStand = true |
188 | + | RootPart = Character.HumanoidRootPart |
189 | - | local bgf = Instance.new("BodyGyro",dude.Head) |
189 | + | RootJoint = RootPart.RootJoint |
190 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
190 | + | RootCF = euler(-1.57, 0, 3.14) |
191 | - | local val = Instance.new("BoolValue",dude) |
191 | + | attack = false |
192 | - | val.Name = "IsHit" |
192 | + | attackdebounce = false |
193 | MMouse = nil | |
194 | - | local blo = Instance.new("Part",game.Workspace) |
194 | + | |
195 | - | blo.Size = Vector3.new(.6,.2,.6) |
195 | + | local hitfloor, posfloor = nil, nil |
196 | - | blo.Material = "SmoothPlastic" |
196 | + | local idle = 0 |
197 | - | blo.BrickColor = BrickColor.new("Crimson") |
197 | + | local Anim = "Idle" |
198 | - | blo.Position = dude.Head.Position |
198 | + | local Effects = {} |
199 | - | blo.CFrame = dude.Head.CFrame |
199 | + | local Weapon = {} |
200 | - | debby:AddItem(blo,30) |
200 | + | local Welds = {} |
201 | local invisible = false | |
202 | - | local ds = coroutine.wrap(function() |
202 | + | local doing2 = false |
203 | local doing4 = false | |
204 | - | dude.Humanoid.Health = 0 |
204 | + | local Marked = {} |
205 | local MarkedGUI = {} | |
206 | - | ds() |
206 | + | local decreaseatk = 0 |
207 | local decreasedef = 0 | |
208 | local decreasemvmt = 0 | |
209 | local pursuitnum = 0 | |
210 | - | --Explode Hitbox-- |
210 | + | local arcorb = false |
211 | - | function ExHitbox(rad,pos,damage,env,toim) |
211 | + | local move1 = "(Q)\nGround Shaker" |
212 | - | local E = Instance.new("Explosion") |
212 | + | local move2 = "(E)\nAstral Sphere" |
213 | - | E.Position = pos |
213 | + | local move3 = "(R)\nAstral Beam" |
214 | - | E.Parent = game.Workspace |
214 | + | local move4 = "(F)\nForbidden Hand" |
215 | - | E.BlastRadius = rad |
215 | + | local cooldowns = {} |
216 | - | E.BlastPressure = 0 |
216 | + | local cooldown1 = 0 |
217 | - | E.Visible = false |
217 | + | table.insert(cooldowns, cooldown1) |
218 | - | E.Hit:connect(function(hit) |
218 | + | local cooldown2 = 0 |
219 | - | if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then |
219 | + | table.insert(cooldowns, cooldown2) |
220 | - | local ch = hit.Parent:GetChildren() |
220 | + | local cooldown3 = 0 |
221 | - | for i = 1, #ch do |
221 | + | table.insert(cooldowns, cooldown3) |
222 | - | if ch[i].ClassName == "Part" or ch[i].ClassName == "MeshPart" then |
222 | + | local cooldown4 = 0 |
223 | - | local efff = p1mit:Clone() |
223 | + | table.insert(cooldowns, cooldown4) |
224 | - | efff.Enabled = true |
224 | + | local cooldownsadd = {} |
225 | - | efff.Parent = ch[i] |
225 | + | local cooldownadd1 = 100 |
226 | table.insert(cooldownsadd, cooldownadd1) | |
227 | local cooldownadd2 = 100 | |
228 | - | hit.Parent:BreakJoints() |
228 | + | table.insert(cooldownsadd, cooldownadd2) |
229 | - | dealdmg(hit.Parent,damage,env,toim) |
229 | + | local cooldownadd3 = 100 |
230 | table.insert(cooldownsadd, cooldownadd3) | |
231 | local cooldownadd4 = 100 | |
232 | table.insert(cooldownsadd, cooldownadd4) | |
233 | local cooldownmax = 100 | |
234 | - | --Chat Function-- |
234 | + | player = nil |
235 | - | function chatfunc(text) |
235 | + | RSH = nil |
236 | - | local chat = coroutine.wrap(function() |
236 | + | RW = Instance.new("Motor") |
237 | - | if chara:FindFirstChild("TalkingBillBoard")~= nil then |
237 | + | LW = Instance.new("Motor") |
238 | - | chara:FindFirstChild("TalkingBillBoard"):destroy() |
238 | + | RW.Name = "Right Shoulder" |
239 | LW.Name = "Left Shoulder" | |
240 | - | local naeeym2 = Instance.new("BillboardGui",chara) |
240 | + | LH = Torso["Left Hip"] |
241 | - | naeeym2.Size = UDim2.new(0,100,0,40) |
241 | + | RH = Torso["Right Hip"] |
242 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
242 | + | TorsoColor = Torso.BrickColor |
243 | - | naeeym2.Adornee = chara.Head |
243 | + | TorsoRed = TorsoColor.Color.r |
244 | - | naeeym2.Name = "TalkingBillBoard" |
244 | + | TorsoGreen = TorsoColor.Color.g |
245 | - | local tecks2 = Instance.new("TextLabel",naeeym2) |
245 | + | TorsoBlue = TorsoColor.Color.b |
246 | - | tecks2.BackgroundTransparency = 1 |
246 | + | NewCol = BrickColor.new("Really red").Color |
247 | - | tecks2.BorderSizePixel = 0 |
247 | + | NewCol2 = BrickColor.new("Black").Color |
248 | - | tecks2.Text = "" |
248 | + | if Player:findFirstChild("Color1") ~= nil then |
249 | - | tecks2.Font = "Fantasy" |
249 | + | NewCol = Player.Color1.Value |
250 | - | tecks2.FontSize = "Size24" |
250 | + | |
251 | - | tecks2.TextStrokeTransparency = 0 |
251 | + | if Player:findFirstChild("Color2") ~= nil then |
252 | - | tecks2.TextColor3 = Color3.new(.6,0,0) |
252 | + | NewCol2 = Player.Color2.Value |
253 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
253 | + | |
254 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
254 | + | print(BrickColor.new(NewCol)) |
255 | - | local shk = coroutine.wrap(function() |
255 | + | local mdec = Instance.new("NumberValue", Decrease) |
256 | - | while tecks2 ~= nil do |
256 | + | mdec.Name = "DecreaseDef" |
257 | - | wait(.05) |
257 | + | mdec.Value = 0.4 |
258 | - | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) |
258 | + | local mdec2 = Instance.new("NumberValue", Decrease) |
259 | mdec2.Name = "DecreaseMvmt" | |
260 | mdec2.Value = 0.1 | |
261 | - | shk() |
261 | + | if Character:findFirstChild("Effects", true) ~= nil then |
262 | - | for i = 1,string.len(text),1 do |
262 | + | Character:findFirstChild("Effects", true).Parent = nil |
263 | - | tecks2.Text = string.sub(text,1,i) |
263 | + | |
264 | - | wait(0.01) |
264 | + | local effects = it("Model", Character) |
265 | effects.Name = "Effects" | |
266 | local Animate = Humanoid.Animator | |
267 | - | for i = 1, 5 do |
267 | + | local canjump = true |
268 | - | wait(.01) |
268 | + | removeControl = function() |
269 | - | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) |
269 | + | canjump = false |
270 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 |
270 | + | |
271 | - | tecks2.TextTransparency = tecks2.TextTransparency + .2 |
271 | + | resumeControl = function() |
272 | canjump = true | |
273 | - | naeeym2:Destroy() |
273 | + | |
274 | Player.Character.Humanoid.Changed:connect(function() | |
275 | - | chat() |
275 | + | if canjump == false then |
276 | Player.Character.Humanoid.Jump = false | |
277 | end | |
278 | - | function onChatted(msg) |
278 | + | |
279 | - | chatfunc(msg) |
279 | + | ArtificialHB = Instance.new("BindableEvent", script) |
280 | ArtificialHB.Name = "Heartbeat" | |
281 | - | player.Chatted:connect(onChatted) |
281 | + | |
282 | script:WaitForChild("Heartbeat") | |
283 | - | --Blade Hit Effect-- |
283 | + | |
284 | - | function SlashEff(pos) |
284 | + | frame = 1 / 30 |
285 | - | local p = Instance.new("Part",game.Workspace) |
285 | + | tf = 0 |
286 | - | p.Size = Vector3.new(0,0,0) |
286 | + | allowframeloss = true |
287 | - | p.BrickColor = BrickColor.new("White") |
287 | + | tossremainder = false |
288 | - | p.Material = "Neon" |
288 | + | lastframe = tick() |
289 | - | p.Anchored = true |
289 | + | script.Heartbeat:Fire() |
290 | - | p.CanCollide = false |
290 | + | |
291 | - | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) |
291 | + | game:GetService("RunService").Heartbeat:connect(function(s, p) |
292 | - | local pm = Instance.new("SpecialMesh",p) |
292 | + | tf = tf + s |
293 | - | pm.MeshType = "Sphere" |
293 | + | if tf >= frame then |
294 | - | pm.Scale = Vector3.new(2.5,0,2.5) |
294 | + | if allowframeloss then |
295 | - | local disp = coroutine.wrap(function() |
295 | + | script.Heartbeat:Fire() |
296 | - | for i = 1, 4 do |
296 | + | lastframe = tick() |
297 | - | wait(.01) |
297 | + | else |
298 | - | p.Transparency = p.Transparency + .2 |
298 | + | for i = 1, math.floor(tf / frame) do |
299 | - | pm.Scale = pm.Scale + Vector3.new(0,30,0) |
299 | + | script.Heartbeat:Fire() |
300 | end | |
301 | - | wait(.01) |
301 | + | lastframe = tick() |
302 | - | p:Destroy() |
302 | + | end |
303 | if tossremainder then | |
304 | - | disp() |
304 | + | tf = 0 |
305 | else | |
306 | tf = tf - frame * math.floor(tf / frame) | |
307 | - | --Super Pause-- |
307 | + | end |
308 | - | function SuperPause() |
308 | + | end |
309 | - | SuperSnd:Play() |
309 | + | |
310 | - | local p = Instance.new("Part",game.Workspace) |
310 | + | |
311 | - | p.Size = Vector3.new(0,0,0) |
311 | + | function swait(num) |
312 | - | p.BrickColor = BrickColor.new("White") |
312 | + | if num == 0 or num == nil then |
313 | - | p.Material = "Neon" |
313 | + | ArtificialHB.Event:wait() |
314 | - | p.Anchored = true |
314 | + | else |
315 | - | p.CanCollide = false |
315 | + | for i = 0, num do |
316 | - | p.CFrame = chara.Torso.CFrame |
316 | + | ArtificialHB.Event:wait() |
317 | - | local pm = Instance.new("SpecialMesh",p) |
317 | + | end |
318 | - | pm.MeshType = "Sphere" |
318 | + | end |
319 | - | local disp = coroutine.wrap(function() |
319 | + | |
320 | - | for i = 1, 4 do |
320 | + | if Character:findFirstChild("Carnufico", true) ~= nil then |
321 | - | wait(.01) |
321 | + | Character:findFirstChild("Carnufico", true).Parent = nil |
322 | - | p.Transparency = p.Transparency + .2 |
322 | + | |
323 | - | pm.Scale = pm.Scale + Vector3.new(20,20,20) |
323 | + | if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then |
324 | Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil | |
325 | - | wait(.01) |
325 | + | |
326 | - | p:Destroy() |
326 | + | if Character:findFirstChild("Stats", true) ~= nil then |
327 | Character:findFirstChild("Stats", true).Parent = nil | |
328 | - | disp() |
328 | + | |
329 | local Stats = Instance.new("BoolValue") | |
330 | Stats.Name = "Stats" | |
331 | - | --Blade Touch-- |
331 | + | Stats.Parent = Character |
332 | - | dela = .5 |
332 | + | local Atk = Instance.new("NumberValue") |
333 | - | bladeactive = false |
333 | + | Atk.Name = "Damage" |
334 | - | stormvipactive = false |
334 | + | Atk.Parent = Stats |
335 | - | executeactive = false |
335 | + | Atk.Value = 1 |
336 | - | function bladehit(hit) |
336 | + | local Def = Instance.new("NumberValue") |
337 | - | if bladeactive == true then |
337 | + | Def.Name = "Defense" |
338 | - | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then |
338 | + | Def.Parent = Stats |
339 | - | p1mit.Enabled = true |
339 | + | Def.Value = 1 |
340 | - | PlaySnd(HitSnd,hit.Parent.Head) |
340 | + | local Mvmt = Instance.new("NumberValue") |
341 | - | dealdmg(hit.Parent) |
341 | + | Mvmt.Name = "Movement" |
342 | - | if stormvipactive == true then |
342 | + | Mvmt.Parent = Stats |
343 | - | local bf = Instance.new("BodyVelocity",hit.Parent.Head) |
343 | + | Mvmt.Value = 1 |
344 | - | bf.P = 10000 |
344 | + | local Block = Instance.new("BoolValue") |
345 | - | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) |
345 | + | Block.Name = "Block" |
346 | - | bf.Velocity = Vector3.new(0,100,0) |
346 | + | Block.Parent = Stats |
347 | - | debby:AddItem(bf,.2) |
347 | + | Block.Value = false |
348 | local Stun = Instance.new("NumberValue") | |
349 | - | if executeactive == true then |
349 | + | Stun.Name = "Stun" |
350 | - | local we = Instance.new("Weld",Hitbox) |
350 | + | Stun.Parent = Stats |
351 | - | we.Name = "HitWeld" |
351 | + | Stun.Value = 0 |
352 | - | we.Part0 = hit.Parent.Head |
352 | + | local StunT = Instance.new("NumberValue") |
353 | - | we.Part1 = Hitbox |
353 | + | StunT.Name = "StunThreshold" |
354 | - | we.C0 = we.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) |
354 | + | StunT.Parent = Stats |
355 | StunT.Value = 100 | |
356 | - | wait(.5) |
356 | + | local Rooted = Instance.new("BoolValue") |
357 | - | p1mit.Enabled = false |
357 | + | Rooted.Name = "Rooted" |
358 | Rooted.Parent = Stats | |
359 | Rooted.Value = false | |
360 | local Stunned = Instance.new("BoolValue") | |
361 | - | Hitbox.Touched:connect(bladehit) |
361 | + | Stunned.Name = "Stunned" |
362 | Stunned.Parent = Stats | |
363 | - | --Material Return-- |
363 | + | Stunned.Value = false |
364 | - | gprop = {} |
364 | + | local Stagger = Instance.new("BoolValue") |
365 | - | function materialhit(hit) |
365 | + | Stagger.Name = "Stagger" |
366 | - | if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then |
366 | + | Stagger.Parent = Stats |
367 | - | gprop = {hit.BrickColor,hit.Material} |
367 | + | Stagger.Value = false |
368 | local StaggerHit = Instance.new("BoolValue") | |
369 | StaggerHit.Name = "StaggerHit" | |
370 | - | chara["Left Leg"].Touched:connect(materialhit) |
370 | + | StaggerHit.Parent = Stats |
371 | - | chara["Right Leg"].Touched:connect(materialhit) |
371 | + | StaggerHit.Value = false |
372 | local RecentEnemy = Instance.new("ObjectValue") | |
373 | - | --Clerp Animations-- |
373 | + | RecentEnemy.Name = "RecentEnemy" |
374 | - | TC = chara.HumanoidRootPart.RootJoint |
374 | + | RecentEnemy.Parent = Stats |
375 | - | HC = chara.Torso.Neck |
375 | + | RecentEnemy.Value = nil |
376 | - | RAC = chara.Torso["Right Shoulder"] |
376 | + | local Decrease = Instance.new("BoolValue") |
377 | - | LAC = chara.Torso["Left Shoulder"] |
377 | + | Decrease.Name = "Decrease" |
378 | - | RLC = chara.Torso["Right Hip"] |
378 | + | Decrease.Parent = Stats |
379 | - | LLC = chara.Torso["Left Hip"] |
379 | + | Decrease.Value = false |
380 | - | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
380 | + | local mana = Instance.new("NumberValue") |
381 | - | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
381 | + | mana.Name = "Mana" |
382 | - | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
382 | + | mana.Parent = Stats |
383 | - | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
383 | + | mana.Value = 0 |
384 | - | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
384 | + | local invisnum = Instance.new("NumberValue") |
385 | - | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
385 | + | invisnum.Name = "Pursuit" |
386 | - | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
386 | + | invisnum.Parent = Stats |
387 | - | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
387 | + | invisnum.Value = 0 |
388 | - | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
388 | + | local isinvis = Instance.new("BoolValue") |
389 | - | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) |
389 | + | isinvis.Name = "IsInvisible" |
390 | - | RW = Instance.new("Weld",HC.Parent) |
390 | + | isinvis.Parent = Stats |
391 | - | RW.Part1 = HC.Parent |
391 | + | isinvis.Value = false |
392 | - | RW.Part0 = chara["Right Arm"] |
392 | + | local passive = Instance.new("NumberValue", Decrease) |
393 | - | RW.C0 = RWF |
393 | + | passive.Name = "DecreaseAtk" |
394 | - | LW = Instance.new("Weld",HC.Parent) |
394 | + | passive.Value = 0 |
395 | - | LW.Part1 = HC.Parent |
395 | + | local passive2 = Instance.new("NumberValue", nil) |
396 | - | LW.Part0 = chara["Left Arm"] |
396 | + | passive2.Name = "DecreaseDef" |
397 | - | LW.C0 = LWF |
397 | + | passive2.Value = 0.2 |
398 | - | RLW = nil |
398 | + | local passive3 = Instance.new("NumberValue", nil) |
399 | - | LLW = nil |
399 | + | passive3.Name = "DecreaseMvmt" |
400 | passive3.Value = -0.2 | |
401 | - | function Sheath(stype) |
401 | + | NoOutline = function(Part) |
402 | - | KWeld:Destroy() |
402 | + | Part.TopSurface = 10 |
403 | - | if stype == 1 then --Sheathed |
403 | + | |
404 | - | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
404 | + | part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size) |
405 | - | elseif stype == 2 then --Unsheathed |
405 | + | local fp = it("Part") |
406 | - | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1.00000525, 4.17232513e-07, 0, 4.17232513e-07, 1.00000525),C1 = CFrame.new(0, -0.600002885, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
406 | + | fp.formFactor = formfactor |
407 | fp.Parent = parent | |
408 | fp.Reflectance = reflectance | |
409 | fp.Transparency = transparency | |
410 | - | function AddLegWelds() |
410 | + | fp.CanCollide = false |
411 | - | RLW = Instance.new("Weld",chara["Right Leg"]) |
411 | + | fp.Locked = true |
412 | - | RLW.Part1 = HC.Parent |
412 | + | fp.BrickColor = brickcolor |
413 | - | RLW.Part0 = chara["Right Leg"] |
413 | + | fp.Name = name |
414 | - | RLW.C0 = RLWF |
414 | + | fp.Size = size |
415 | - | LLW = Instance.new("Weld",chara["Left Leg"]) |
415 | + | fp.Position = Torso.Position |
416 | - | LLW.Part1 = HC.Parent |
416 | + | NoOutline(fp) |
417 | - | LLW.Part0 = chara["Left Leg"] |
417 | + | fp.Material = "Neon" |
418 | - | LLW.C0 = LLWF |
418 | + | fp:BreakJoints() |
419 | return fp | |
420 | end | |
421 | - | function DestroyLegWelds() |
421 | + | mesh = function(Mesh, part, meshtype, meshid, offset, scale) |
422 | - | 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),}) |
422 | + | local mesh = it(Mesh) |
423 | - | 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),}) |
423 | + | mesh.Parent = part |
424 | - | RLW:Destroy() |
424 | + | if Mesh == "SpecialMesh" then |
425 | - | LLW:Destroy() |
425 | + | mesh.MeshType = meshtype |
426 | if meshid ~= "nil" then | |
427 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
428 | - | function clerp(a,b,c) |
428 | + | end |
429 | - | return a:lerp(b,c) |
429 | + | end |
430 | mesh.Offset = offset | |
431 | mesh.Scale = scale | |
432 | - | --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) |
432 | + | return mesh |
433 | - | --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) |
433 | + | |
434 | - | --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) |
434 | + | weld = function(parent, part0, part1, c0) |
435 | - | --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) |
435 | + | local weld = it("Motor") |
436 | weld.Parent = parent | |
437 | - | TC.C0 = TCF |
437 | + | weld.Part0 = part0 |
438 | - | HC.C0 = HCF |
438 | + | weld.Part1 = part1 |
439 | - | RW.C0 = RWF |
439 | + | weld.C0 = c0 |
440 | - | LW.C0 = LWF |
440 | + | return weld |
441 | end | |
442 | - | --Idle Clerp-- |
442 | + | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
443 | - | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10)) |
443 | + | local gui = it(GuiType) |
444 | - | IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10)) |
444 | + | gui.Parent = parent |
445 | - | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2)) |
445 | + | gui.Text = text |
446 | - | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) |
446 | + | gui.BackgroundTransparency = backtrans |
447 | gui.BackgroundColor3 = backcol | |
448 | - | TC.C0 = ITCF |
448 | + | gui.SizeConstraint = "RelativeXY" |
449 | - | HC.C0 = IHCF |
449 | + | gui.TextXAlignment = "Center" |
450 | - | RW.C0 = IRWF |
450 | + | gui.TextYAlignment = "Center" |
451 | - | LW.C0 = ILWF |
451 | + | gui.Position = pos |
452 | gui.Size = size | |
453 | - | --Kill-- |
453 | + | gui.Font = "SourceSansBold" |
454 | - | function KillThem() |
454 | + | gui.FontSize = "Size14" |
455 | - | del = true |
455 | + | gui.TextWrapped = false |
456 | - | atkd = true |
456 | + | gui.TextStrokeTransparency = 0 |
457 | - | chara.Humanoid.WalkSpeed = 0 |
457 | + | gui.TextColor = BrickColor.new("White") |
458 | - | bladeactive = true |
458 | + | return gui |
459 | - | SwingSnd:Play() |
459 | + | |
460 | - | Sheath(2) |
460 | + | local Color1 = Torso.BrickColor |
461 | - | wait(.01) |
461 | + | local fengui = it("GuiMain") |
462 | - | for i = 0,.75,.22 do |
462 | + | fengui.Parent = Player.PlayerGui |
463 | - | wait(.01) |
463 | + | fengui.Name = "WeaponGUI" |
464 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) |
464 | + | local fenframe = it("Frame") |
465 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i) |
465 | + | fenframe.Parent = fengui |
466 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) |
466 | + | fenframe.BackgroundColor3 = Color3.new(255, 255, 255) |
467 | fenframe.BackgroundTransparency = 1 | |
468 | fenframe.BorderColor3 = Color3.new(17, 17, 17) | |
469 | - | Sheath(1) |
469 | + | fenframe.Size = UDim2.new(0.1, 0, 0.1, 0) |
470 | - | bladeactive = false |
470 | + | fenframe.Position = UDim2.new(0.95, 0, 0.7, 0) |
471 | - | for i = 0,.6,.2 do |
471 | + | local fenframe2 = it("Frame") |
472 | - | wait(.01) |
472 | + | fenframe2.Parent = fengui |
473 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) |
473 | + | fenframe2.BackgroundColor3 = Color3.new(255, 255, 255) |
474 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i) |
474 | + | fenframe2.BackgroundTransparency = 1 |
475 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) |
475 | + | fenframe2.BorderColor3 = Color3.new(17, 17, 17) |
476 | fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0) | |
477 | - | TC.C0 = ITCF |
477 | + | fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0) |
478 | - | HC.C0 = IHCF |
478 | + | local fenframe3 = it("Frame") |
479 | - | RW.C0 = IRWF |
479 | + | fenframe3.Parent = fengui |
480 | - | LW.C0 = ILWF |
480 | + | fenframe3.BackgroundColor3 = Color3.new(255, 255, 255) |
481 | - | chara.Humanoid.WalkSpeed = 8 |
481 | + | fenframe3.BackgroundTransparency = 1 |
482 | - | del = false |
482 | + | fenframe3.BorderColor3 = Color3.new(17, 17, 17) |
483 | fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0) | |
484 | fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0) | |
485 | - | --End-- |
485 | + | fenframe3.Name = "MoveFrame" |
486 | - | function EndThem() |
486 | + | local fenframe4 = it("Frame") |
487 | - | del = true |
487 | + | fenframe4.Parent = fengui |
488 | - | atkd = true |
488 | + | fenframe4.BackgroundColor3 = Color3.new(255, 255, 255) |
489 | - | chara.Humanoid.WalkSpeed = 0 |
489 | + | fenframe4.BackgroundTransparency = 1 |
490 | - | bladeactive = true |
490 | + | fenframe4.BorderColor3 = Color3.new(17, 17, 17) |
491 | - | SwingSnd:Play() |
491 | + | fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0) |
492 | - | wait(.01) |
492 | + | fenframe4.Position = UDim2.new(0, 0, 0.7, 0) |
493 | - | for i = 0,.75,.25 do |
493 | + | local pressedf = false |
494 | - | wait(.01) |
494 | + | local fenframe5 = it("Frame") |
495 | - | TC.C0 = clerp(ITCF,TCF,.4+i) |
495 | + | fenframe5.Parent = fengui |
496 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i) |
496 | + | fenframe5.BackgroundColor3 = Color3.new(0, 0, 0) |
497 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.4+i) |
497 | + | fenframe5.BackgroundTransparency = 1 |
498 | fenframe5.BorderColor3 = Color3.new(0, 0, 0) | |
499 | - | wait(.5) |
499 | + | fenframe5.Size = UDim2.new(1, 0, 1, 0) |
500 | - | bladeactive = false |
500 | + | fenframe5.Position = UDim2.new(0, 0, 0, 0) |
501 | - | for i = 0,.6,.2 do |
501 | + | fenframe5.ZIndex = 2 |
502 | - | wait(.01) |
502 | + | local tellbar = gui("TextLabel", fenframe5, "Z to go on a rampage.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0)) |
503 | - | TC.C0 = clerp(ITCF,TCF,.6-i) |
503 | + | tellbar.Font = "SourceSansBold" |
504 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i) |
504 | + | tellbar.TextScaled = true |
505 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.6-i) |
505 | + | tellbar.TextTransparency = 1 |
506 | tellbar.TextStrokeTransparency = 1 | |
507 | - | TC.C0 = ITCF |
507 | + | tellbar.ZIndex = 2 |
508 | - | HC.C0 = IHCF |
508 | + | local fnumb = 0 |
509 | - | RW.C0 = IRWF |
509 | + | local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0)) |
510 | - | LW.C0 = ILWF |
510 | + | local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0)) |
511 | - | chara.Humanoid.WalkSpeed = 8 |
511 | + | local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0)) |
512 | - | del = false |
512 | + | local fenbarblock1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.7, 0, 0, 0), UDim2.new(0.4, 0, -4, 0)) |
513 | local fenbarblock2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(-0.7, 0, 0, 0), UDim2.new(0.4, 0, 0, 0)) | |
514 | local fenbarblock3 = gui("TextLabel", fenframe, "Pursuit(" .. invisnum.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(-0.7, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0)) | |
515 | - | --Murder-- |
515 | + | local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0)) |
516 | - | function MurderThem() |
516 | + | local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0)) |
517 | - | del = true |
517 | + | local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0)) |
518 | - | atkd = true |
518 | + | local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0)) |
519 | - | chara.Humanoid.WalkSpeed = 0 |
519 | + | local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0)) |
520 | - | for i = 0,.6,.2 do |
520 | + | local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0)) |
521 | - | wait(.01) |
521 | + | local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0)) |
522 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.4+i) |
522 | + | local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0)) |
523 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.4+i) |
523 | + | local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0)) |
524 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.4+i) |
524 | + | local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0)) |
525 | - | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.4+i) |
525 | + | fenbarmove1.ZIndex = 2 |
526 | local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0)) | |
527 | - | local bf = Instance.new("BodyVelocity",chara.Torso) |
527 | + | local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0)) |
528 | - | bf.P = 10000 |
528 | + | fenbarmove2.ZIndex = 2 |
529 | - | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) |
529 | + | local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0)) |
530 | - | bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5 |
530 | + | local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0)) |
531 | - | SwingSnd:Play() |
531 | + | fenbarmove3.ZIndex = 2 |
532 | - | stormvipactive = true |
532 | + | local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0)) |
533 | - | bladeactive = true |
533 | + | local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0)) |
534 | - | wait(.2) |
534 | + | fenbarmove4.ZIndex = 2 |
535 | - | stormvipactive = false |
535 | + | local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0)) |
536 | - | bladeactive = false |
536 | + | local testpart = part(3, effects, 0, 1, BrickColor.new("Black"), "Handle", vt()) |
537 | - | bf:Destroy() |
537 | + | testpart.Anchored = true |
538 | - | for i = 0,.6,.2 do |
538 | + | local scarfp2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Handle", vt()) |
539 | - | wait(.01) |
539 | + | scarfp2.Anchored = true |
540 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.6-i) |
540 | + | local modelzorz = Instance.new("Model") |
541 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.6-i) |
541 | + | modelzorz.Parent = Character |
542 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.6-i) |
542 | + | modelzorz.Name = "Carnufico" |
543 | - | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.6-i) |
543 | + | local handle = part(3, modelzorz, 0, 0.5, BrickColor.new(NewCol), "Handle", vt()) |
544 | local prt1 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Part01", vt()) | |
545 | - | TC.C0 = ITCF |
545 | + | local prt2 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part02", vt()) |
546 | - | HC.C0 = IHCF |
546 | + | local prt3 = part(3, modelzorz, 0, 0, BrickColor.new("Medium stone grey"), "Part03", vt()) |
547 | - | RW.C0 = IRWF |
547 | + | local prt4 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part04", vt()) |
548 | - | LW.C0 = ILWF |
548 | + | local prt5 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part05", vt()) |
549 | - | chara.Humanoid.WalkSpeed = 8 |
549 | + | local prt6 = part(3, modelzorz, 0, 0, BrickColor.new("Dark stone grey"), "Part06", vt()) |
550 | - | del = false |
550 | + | local prt7 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part07", vt()) |
551 | local prt8 = part(3, modelzorz, 0.5, 0, BrickColor.new(NewCol), "Part07", vt()) | |
552 | local prt9 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part09", vt()) | |
553 | - | --Execute-- |
553 | + | local prt10 = part(3, modelzorz, 0.5, 0, BrickColor.new(NewCol), "Part10", vt()) |
554 | - | function ExecuteThem() |
554 | + | msh1 = mesh("CylinderMesh", prt1, "", "", vt(0, 0, 0), vt(2, 30, 2)) |
555 | - | del = true |
555 | + | msh2 = mesh("SpecialMesh", prt2, "FileMesh", "4770583", vt(0, 0, 0), vt(1, 1, 1)) |
556 | - | atkd = true |
556 | + | msh3 = mesh("CylinderMesh", prt3, "", "", vt(0, 0, 0), vt(3, 3, 3)) |
557 | - | for i = 0,.6,.2 do |
557 | + | msh4 = mesh("SpecialMesh", prt4, "FileMesh", "14028428", vt(0, 0, 0), vt(1, 1, 1)) |
558 | - | wait(.01) |
558 | + | msh5 = mesh("SpecialMesh", prt5, "FileMesh", "14028428", vt(0, 0, 0), vt(1, 1, 1)) |
559 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) |
559 | + | msh6 = mesh("SpecialMesh", prt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.8, 1, 0.5)) |
560 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) |
560 | + | msh7 = mesh("BlockMesh", prt7, "", "", vt(0, 0, 0), vt(1, 2, 2)) |
561 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) |
561 | + | msh8 = mesh("BlockMesh", prt8, "", "", vt(0, 0, 0), vt(1, 1, 2)) |
562 | msh9 = mesh("SpecialMesh", prt9, "Wedge", "nil", vt(0, 0, 0), vt(1, 2, 4)) | |
563 | - | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) |
563 | + | msh10 = mesh("SpecialMesh", prt10, "Wedge", "nil", vt(0, 0, 0), vt(1, 2, 4)) |
564 | - | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0) |
564 | + | local handlewld = weld(handle, handle, Torso, euler(-2, 1.57, 0) * cf(-1, -0.5, -0.6)) |
565 | - | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) |
565 | + | local wld1 = weld(prt1, prt1, handle, euler(0, 0, 0) * cf(0, 0, 0)) |
566 | - | local bf = Instance.new("BodyVelocity",chara.Torso) |
566 | + | local wld2 = weld(prt1, prt2, prt1, euler(3.14, 0, 0) * cf(0, 3, 0)) |
567 | - | bf.P = 10000 |
567 | + | local wld3 = weld(prt1, prt3, prt1, euler(0, 0, 0) * cf(0, -3.2, 0)) |
568 | - | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) |
568 | + | local wld4 = weld(prt1, prt4, prt3, euler(-1.57, 0, 1.57) * euler(0, -0.7, 0) * cf(-0.16, -0.2, -0.1)) |
569 | - | bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5 |
569 | + | local wld5 = weld(prt1, prt5, prt3, euler(-1.57, 0, -1.57) * euler(0, 0.7, 0) * cf(0.16, -0.2, -0.1)) |
570 | - | Sheath(2) |
570 | + | local wld6 = weld(prt1, prt6, prt3, euler(0, 0, 0) * cf(0, -0.2, 0.1)) |
571 | - | SwingSnd:Play() |
571 | + | local wld7 = weld(prt1, prt7, prt6, euler(0, 0, 0) * cf(0, 0.2, 0.2)) |
572 | - | executeactive = true |
572 | + | local wld8 = weld(prt1, prt8, prt6, euler(0, 0, 0) * cf(0, -0.1, 0.2)) |
573 | - | bladeactive = true |
573 | + | local wld9 = weld(prt1, prt9, prt7, euler(0, 0, 0) * cf(0, 0, 0.7)) |
574 | - | wait(.2) |
574 | + | local wld10 = weld(prt1, prt10, prt8, euler(0, 0, 0) * cf(0, -0.1, 0.7)) |
575 | - | bf:Destroy() |
575 | + | for i = 0, 2.355, 0.785 do |
576 | - | wait(.5) |
576 | + | local prt4 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part04", vt()) |
577 | - | if Hitbox:FindFirstChild("HitWeld")~=nil then |
577 | + | msh4 = mesh("SpecialMesh", prt4, "FileMesh", "14028428", vt(0, 0, 0), vt(1, 0.2, 0.2)) |
578 | - | Hitbox:FindFirstChild("HitWeld"):Destroy() |
578 | + | local wld4 = weld(prt1, prt4, prt3, euler(0, i, 0) * cf(0, 0.6, 0)) |
579 | end | |
580 | - | Sheath(1) |
580 | + | oldprt = prt9 |
581 | - | executeactive = false |
581 | + | oldprt2 = prt10 |
582 | - | bladeactive = false |
582 | + | cff = 0.1 |
583 | - | for i = 0,.6,.2 do |
583 | + | eul = 0.02 |
584 | - | wait(.01) |
584 | + | siz = 0.99 |
585 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i) |
585 | + | |
586 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.6-i) |
586 | + | local prt11 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part11", vt()) |
587 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i) |
587 | + | msh11 = mesh("SpecialMesh", prt11, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6)) |
588 | local wld11 = weld(prt1, prt11, oldprt, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0)) | |
589 | - | TC.C0 = ITCF |
589 | + | if i < 4 then |
590 | - | HC.C0 = IHCF |
590 | + | num = 6 |
591 | - | RW.C0 = IRWF |
591 | + | if i == 3 then |
592 | - | LW.C0 = ILWF |
592 | + | num = 6.8 |
593 | - | del = false |
593 | + | end |
594 | local prt12 = part(3, modelzorz, 0.5, 0, BrickColor.new("Black"), "Part12", vt()) | |
595 | msh12 = mesh("BlockMesh", prt12, "", "", vt(0, 0, 0), vt(siz / 2, 2, num)) | |
596 | - | --Expunge-- |
596 | + | local wld12 = weld(prt1, prt12, prt11, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0)) |
597 | - | function ExpungeThem() |
597 | + | end |
598 | - | del = true |
598 | + | do |
599 | - | atkd = true |
599 | + | do |
600 | - | chara.Humanoid.WalkSpeed = 0 |
600 | + | oldprt = prt11 |
601 | - | for i = 0,1,.5 do |
601 | + | cff = 0.6 |
602 | - | wait(.01) |
602 | + | eul = 0.15 |
603 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) |
603 | + | siz = siz - 0.1 |
604 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i) |
604 | + | -- DECOMPILER ERROR at PC2070: LeaveBlock: unexpected jumping out DO_STMT |
605 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) |
605 | + | |
606 | end | |
607 | - | ThrowSnd:Play() |
607 | + | end |
608 | - | local knc = Knifu:GetChildren() |
608 | + | |
609 | - | for i = 1, #knc do |
609 | + | oldprt2 = prt10 |
610 | - | knc[i].Transparency = 1 |
610 | + | cff = 0.1 |
611 | eul = 0.02 | |
612 | - | wait(.2) |
612 | + | siz = 0.99 |
613 | - | KnifuHit = New("Model",game.Workspace,"KnifuHit",{}) |
613 | + | for i = 1, 7 do |
614 | - | debby:AddItem(KnifuHit,5) |
614 | + | local prt13 = part(3, modelzorz, 0.5, 0, BrickColor.new(NewCol), "Part13", vt()) |
615 | - | HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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),}) |
615 | + | msh13 = mesh("SpecialMesh", prt13, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6)) |
616 | - | Mesh = New("CylinderMesh",HWeldPart,"Mesh",{}) |
616 | + | local wld13 = weld(prt1, prt13, oldprt2, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0)) |
617 | - | Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = targetted.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
617 | + | oldprt2 = prt13 |
618 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),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.592157, 0, 0),}) |
618 | + | cff = 0.6 |
619 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) |
619 | + | eul = 0.14 |
620 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
620 | + | siz = siz - 0.1 |
621 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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),}) |
621 | + | |
622 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) |
622 | + | for _,c in pairs(modelzorz:children()) do |
623 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
623 | + | table.insert(Weapon, c) |
624 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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),}) |
624 | + | |
625 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) |
625 | + | for _,c in pairs(prt1:children()) do |
626 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
626 | + | if c.className == "Motor" then |
627 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),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),}) |
627 | + | table.insert(Welds, c) |
628 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) |
628 | + | end |
629 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
629 | + | |
630 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536),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),}) |
630 | + | local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt()) |
631 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) |
631 | + | hitbox.Anchored = false |
632 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
632 | + | local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0)) |
633 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
633 | + | local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1)) |
634 | - | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) |
634 | + | hitbox2.Anchored = true |
635 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
635 | + | local hitboxCF = cf(0, 0, 0) |
636 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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.592157, 0, 0),}) |
636 | + | hboxpos = Instance.new("BodyPosition", nil) |
637 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) |
637 | + | hboxpos.P = 2000 |
638 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
638 | + | hboxpos.D = 100 |
639 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
639 | + | hboxpos.maxForce = Vector3.new(545000, 545000, 545000) |
640 | - | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) |
640 | + | hitboxweld = function() |
641 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
641 | + | hbwld.Parent = modelzorz |
642 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
642 | + | hbwld.Part0 = hitbox |
643 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
643 | + | hbwld.Part1 = prt6 |
644 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
644 | + | |
645 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
645 | + | modelzorz.Name = "Chakra Gauntlets" |
646 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
646 | + | local rprt1 = part(3, modelzorz, 0, 1, BrickColor.new("Royal purple"), "Right Part01", vt()) |
647 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
647 | + | local rprt2 = part(3, modelzorz, 0, 1, BrickColor.new("Royal purple"), "Right Part02", vt()) |
648 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
648 | + | local rprt3 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Right Part03", vt()) |
649 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
649 | + | local rprt4 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Right Part04", vt()) |
650 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
650 | + | local rprt5 = part(3, modelzorz, 0, 1, BrickColor.new("Royal purple"), "Right Part05", vt()) |
651 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
651 | + | local rprt6 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Right Part06", vt()) |
652 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
652 | + | local lprt1 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Left Part01", vt()) |
653 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
653 | + | local lprt2 = part(3, modelzorz, 0, 1, BrickColor.new("Royal purple"), "Left Part02", vt()) |
654 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
654 | + | local lprt3 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Left Part03", vt()) |
655 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
655 | + | local lprt4 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Left Part04", vt()) |
656 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
656 | + | local lprt5 = part(3, modelzorz, 0, 1, BrickColor.new("Royal purple"), "Left Part05", vt()) |
657 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
657 | + | local lprt6 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Left Part06", vt()) |
658 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
658 | + | local rmsh1 = mesh("SpecialMesh", rprt1, "FileMesh", "14028428", vt(0, 0, 0), vt(1.2, 1.2, 2)) |
659 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
659 | + | local rmsh2 = mesh("CylinderMesh", rprt2, "", "", vt(0, 0, 0), vt(5, 2, 5)) |
660 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
660 | + | local rmsh3 = mesh("SpecialMesh", rprt3, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 3, 6)) |
661 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
661 | + | local rmsh4 = mesh("SpecialMesh", rprt4, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 1.5, 3)) |
662 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
662 | + | local rmsh5 = mesh("CylinderMesh", rprt5, "", "", vt(0, 0, 0), vt(4, 2.1, 4)) |
663 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
663 | + | local rmsh6 = mesh("SpecialMesh", rprt6, "FileMesh", "14028428", vt(0, 0, 0), vt(0.5, 0.5, 0.5)) |
664 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) |
664 | + | local lmsh1 = mesh("SpecialMesh", lprt1, "FileMesh", "14028428", vt(0, 0, 0), vt(1.2, 1.2, 2)) |
665 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
665 | + | local lmsh2 = mesh("CylinderMesh", lprt2, "", "", vt(0, 0, 0), vt(5, 2, 5)) |
666 | - | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
666 | + | local lmsh3 = mesh("SpecialMesh", lprt3, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 3, 6)) |
667 | - | Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) |
667 | + | local lmsh4 = mesh("SpecialMesh", lprt4, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 1.5, 3)) |
668 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
668 | + | local lmsh5 = mesh("CylinderMesh", lprt5, "", "", vt(0, 0, 0), vt(4, 2.1, 4)) |
669 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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),}) |
669 | + | local lmsh6 = mesh("SpecialMesh", lprt6, "FileMesh", "14028428", vt(0, 0, 0), vt(0.5, 0.5, 0.5)) |
670 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) |
670 | + | local rwld1 = weld(lprt1, rprt1, RightArm, euler(1.57, 0, 0) * cf(0, 0.3, 0)) |
671 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
671 | + | local rwld2 = weld(rprt1, rprt2, rprt1, euler(0, 0, 1.57) * cf(-0.6, 0, 0)) |
672 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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),}) |
672 | + | local rwld3 = weld(rprt1, rprt3, rprt2, euler(-0.2, 3.14, 1.57) * cf(-0.7, 0, -0.4)) |
673 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) |
673 | + | local rwld4 = weld(rprt1, rprt4, rprt2, euler(-0.4, 3.14, -1.57) * cf(0.6, 0, -0.2)) |
674 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
674 | + | local rwld5 = weld(rprt1, rprt5, rprt2, euler(0, 0, 0) * cf(0, 0, 0)) |
675 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),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.592157, 0, 0),}) |
675 | + | local rwld6 = weld(rprt1, rprt6, rprt2, euler(0, 0, 0.785) * cf(0, 0, 0.45)) |
676 | - | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) |
676 | + | local lwld1 = weld(lprt1, lprt1, LeftArm, euler(1.57, 0, 0) * cf(0, 0.3, 0)) |
677 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
677 | + | local lwld2 = weld(rprt1, lprt2, lprt1, euler(0, 0, 1.57) * cf(0.6, 0, 0)) |
678 | - | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),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.592157, 0, 0),}) |
678 | + | local lwld3 = weld(rprt1, lprt3, lprt2, euler(-0.2, 3.14, 1.57) * cf(-0.7, 0, -0.4)) |
679 | - | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) |
679 | + | local lwld4 = weld(rprt1, lprt4, lprt2, euler(-0.4, 3.14, -1.57) * cf(0.6, 0, -0.2)) |
680 | - | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
680 | + | local lwld5 = weld(rprt1, lprt5, lprt2, euler(0, 0, 0) * cf(0, 0, 0)) |
681 | - | dealdmg(targetted) |
681 | + | local lwld6 = weld(rprt1, lprt6, lprt2, euler(0, 0, 0.785) * cf(0, 0, 0.45)) |
682 | - | PlaySnd(HitSnd,targetted.Head) |
682 | + | for _,c in pairs(modelzorz:children()) do |
683 | table.insert(Weapon, c) | |
684 | - | for i = 0,1,.1 do |
684 | + | |
685 | - | wait(.01) |
685 | + | for _,c in pairs(rprt1:children()) do |
686 | - | for i = 1, #knc do |
686 | + | if c.className == "Motor" then |
687 | - | if knc[i] ~= Hitbox then |
687 | + | table.insert(Welds, c) |
688 | - | knc[i].Transparency = 1-i |
688 | + | end |
689 | end | |
690 | oldprt2 = prt10 | |
691 | cff = 0.1 | |
692 | - | for i = 0,.6,.2 do |
692 | + | eul = 0.02 |
693 | - | wait(.01) |
693 | + | siz = 0.99 |
694 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) |
694 | + | for i = 1, 7 do |
695 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i) |
695 | + | local prt13 = part(3, modelzorz, 0.5, 1, BrickColor.new(NewCol), "Part13", vt()) |
696 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) |
696 | + | msh13 = mesh("SpecialMesh", prt13, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6)) |
697 | local wld13 = weld(prt1, prt13, oldprt2, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0)) | |
698 | - | TC.C0 = ITCF |
698 | + | oldprt2 = prt13 |
699 | - | HC.C0 = IHCF |
699 | + | cff = 0.6 |
700 | - | RW.C0 = IRWF |
700 | + | eul = 0.14 |
701 | - | LW.C0 = ILWF |
701 | + | siz = siz - 0.1 |
702 | - | chara.Humanoid.WalkSpeed = 8 |
702 | + | |
703 | - | del = false |
703 | + | for _,c in pairs(modelzorz:children()) do |
704 | table.insert(Weapon, c) | |
705 | end | |
706 | - | --Reap-- |
706 | + | for _,c in pairs(prt1:children()) do |
707 | - | function ReapThem() |
707 | + | if c.className == "Motor" then |
708 | - | del = true |
708 | + | table.insert(Welds, c) |
709 | - | atkd = true |
709 | + | end |
710 | - | TeleSnd:Play() |
710 | + | |
711 | - | chara.Torso.CFrame = (targetted.Head.CFrame - Vector3.new(0,1.5,0)) - targetted.Head.CFrame.lookVector*2 |
711 | + | local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt()) |
712 | - | local w = Instance.new("Weld",chara.Head) |
712 | + | hitbox.Anchored = false |
713 | - | w.Part0 = chara.Head |
713 | + | local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0)) |
714 | - | w.Part1 = targetted.Head |
714 | + | local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1)) |
715 | - | w.C0 = CFrame.new(0,0,-2) |
715 | + | hitbox2.Anchored = true |
716 | - | targetted.Head.Anchored = true |
716 | + | local hitboxCF = cf(0, 0, 0) |
717 | - | Sheath(2) |
717 | + | hboxpos = Instance.new("BodyPosition", nil) |
718 | - | for i = 0,.6,.3 do |
718 | + | hboxpos.P = 2000 |
719 | - | wait(.01) |
719 | + | hboxpos.D = 100 |
720 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) |
720 | + | hboxpos.maxForce = Vector3.new(545000, 545000, 545000) |
721 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) |
721 | + | hitboxweld = function() |
722 | - | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) |
722 | + | hbwld.Parent = modelzorz |
723 | - | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.4+i) |
723 | + | hbwld.Part0 = hitbox |
724 | hbwld.Part1 = prt6 | |
725 | end | |
726 | - | SwingSnd:Play() |
726 | + | if script.Parent.className ~= "HopperBin" then |
727 | - | for i = 0,.6,.3 do |
727 | + | Tool = Instance.new("HopperBin") |
728 | - | wait(.01) |
728 | + | Tool.Parent = Backpack |
729 | - | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) |
729 | + | Tool.Name = "Rampage" |
730 | - | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) |
730 | + | script.Parent = Tool |
731 | - | 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) |
731 | + | |
732 | - | 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) |
732 | + | Bin = script.Parent |
733 | if Bin.Name == "Galactic Magic" then | |
734 | - | HitSnd:Play() |
734 | + | Bin.Name = "Galactic Magic" |
735 | - | dealdmg(targetted) |
735 | + | |
736 | - | wait(.5) |
736 | + | local bodvel = Instance.new("BodyVelocity") |
737 | - | targetted.Head.Anchored = false |
737 | + | local bg = Instance.new("BodyGyro") |
738 | - | Sheath(1) |
738 | + | so = function(id, par, vol, pit) |
739 | - | w:Destroy() |
739 | + | local sou = Instance.new("Sound", par or workspace) |
740 | - | for i = 0,.6,.2 do |
740 | + | sou.Volume = vol |
741 | - | wait(.01) |
741 | + | sou.Pitch = pit or 1 |
742 | - | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),IHCF,.4+i) |
742 | + | sou.SoundId = "http://www.roblox.com/asset/?id=" .. id |
743 | - | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),ITCF,.4+i) |
743 | + | coroutine.resume(coroutine.create(function(Sound) |
744 | - | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),IRWF,.4+i) |
744 | + | swait() |
745 | - | LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),ILWF,.4+i) |
745 | + | Sound:play() |
746 | end), sou) | |
747 | - | TC.C0 = ITCF |
747 | + | game:GetService("Debris"):AddItem(sou, 6) |
748 | - | HC.C0 = IHCF |
748 | + | |
749 | - | RW.C0 = IRWF |
749 | + | function clerp(a,b,t) |
750 | - | LW.C0 = ILWF |
750 | + | local qa = {QuaternionFromCFrame(a)} |
751 | - | del = false |
751 | + | local qb = {QuaternionFromCFrame(b)} |
752 | local ax, ay, az = a.x, a.y, a.z | |
753 | local bx, by, bz = b.x, b.y, b.z | |
754 | - | --Hunt-- |
754 | + | local _t = 1-t |
755 | - | function HuntThem() |
755 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
756 | - | del = true |
756 | + | end |
757 | - | atkd = true |
757 | + | |
758 | - | TeleSnd:Play() |
758 | + | function QuaternionFromCFrame(cf) |
759 | - | chara.Humanoid.PlatformStand = true |
759 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
760 | - | chara.Torso.CFrame = ((targetted.Head.CFrame - Vector3.new(0,1.5,0)) + targetted.Head.CFrame.lookVector*2) * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0) |
760 | + | local trace = m00 + m11 + m22 |
761 | - | targetted.Humanoid.PlatformStand = true |
761 | + | if trace > 0 then |
762 | - | local bgf = Instance.new("BodyGyro",targetted.Head) |
762 | + | local s = math.sqrt(1 + trace) |
763 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
763 | + | local recip = 0.5/s |
764 | - | local w = Instance.new("Weld",chara.Head) |
764 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
765 | - | w.Part0 = chara.Head |
765 | + | else |
766 | - | w.Part1 = targetted.Head |
766 | + | local i = 0 |
767 | - | w.C0 = CFrame.new(0,0,-3) * CFrame.fromEulerAnglesXYZ(math.rad(-45),math.rad(180),0) |
767 | + | if m11 > m00 then |
768 | - | targetted.Head.CFrame = targetted.Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) |
768 | + | i = 1 |
769 | - | Sheath(2) |
769 | + | |
770 | - | for i = 0,.6,.3 do |
770 | + | if m22 > (i == 0 and m00 or m11) then |
771 | - | wait(.01) |
771 | + | i = 2 |
772 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) |
772 | + | end |
773 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) |
773 | + | if i == 0 then |
774 | - | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) |
774 | + | local s = math.sqrt(m00-m11-m22+1) |
775 | - | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.4+i) |
775 | + | local recip = 0.5/s |
776 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
777 | elseif i == 1 then | |
778 | - | for i = 1, 5 do |
778 | + | local s = math.sqrt(m11-m22-m00+1) |
779 | - | wait(.1) |
779 | + | local recip = 0.5/s |
780 | - | SwingSnd:Play() |
780 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
781 | - | for i = 0,.6,.3 do |
781 | + | elseif i == 2 then |
782 | - | wait(.01) |
782 | + | local s = math.sqrt(m22-m00-m11+1) |
783 | - | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) |
783 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
784 | - | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) |
784 | + | end |
785 | - | 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) |
785 | + | end |
786 | - | 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) |
786 | + | |
787 | ||
788 | - | HitSnd:Play() |
788 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
789 | local xs, ys, zs = x + x, y + y, z + z | |
790 | - | dealdmg(targetted) |
790 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
791 | - | wait(.5) |
791 | + | local xx = x*xs |
792 | - | chara.Humanoid.PlatformStand = false |
792 | + | local xy = x*ys |
793 | - | Sheath(1) |
793 | + | local xz = x*zs |
794 | - | w:Destroy() |
794 | + | local yy = y*ys |
795 | - | for i = 0,.6,.2 do |
795 | + | local yz = y*zs |
796 | - | wait(.01) |
796 | + | local zz = z*zs |
797 | - | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),IHCF,.4+i) |
797 | + | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
798 | - | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),ITCF,.4+i) |
798 | + | |
799 | - | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(-90)),IRWF,.4+i) |
799 | + | |
800 | - | LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),ILWF,.4+i) |
800 | + | function QuaternionSlerp(a, b, t) |
801 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
802 | - | TC.C0 = ITCF |
802 | + | local startInterp, finishInterp; |
803 | - | HC.C0 = IHCF |
803 | + | if cosTheta >= 0.0001 then |
804 | - | RW.C0 = IRWF |
804 | + | if (1 - cosTheta) > 0.0001 then |
805 | - | LW.C0 = ILWF |
805 | + | local theta = math.acos(cosTheta) |
806 | - | del = false |
806 | + | local invSinTheta = 1/math.sin(theta) |
807 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
808 | finishInterp = math.sin(t*theta)*invSinTheta | |
809 | - | --Obliteration-- |
809 | + | else |
810 | - | function Obliteration() |
810 | + | startInterp = 1-t |
811 | - | del = true |
811 | + | finishInterp = t |
812 | - | atkd = true |
812 | + | end |
813 | - | chara.Humanoid.WalkSpeed = 0 |
813 | + | else |
814 | if (1+cosTheta) > 0.0001 then | |
815 | local theta = math.acos(-cosTheta) | |
816 | - | --Annihilation-- |
816 | + | local invSinTheta = 1/math.sin(theta) |
817 | - | function Annihilation() |
817 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
818 | - | del = true |
818 | + | finishInterp = math.sin(t*theta)*invSinTheta |
819 | - | atkd = true |
819 | + | else |
820 | - | chara.Humanoid.WalkSpeed = 0 |
820 | + | startInterp = t-1 |
821 | - | for i = 1, 10 do |
821 | + | finishInterp = t |
822 | - | wait(.1) |
822 | + | end |
823 | - | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) |
823 | + | end |
824 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
825 | - | AddLegWelds() |
825 | + | |
826 | - | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) |
826 | + | hideanim = function() |
827 | - | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) |
827 | + | equipped = false |
828 | - | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) |
828 | + | for i = 0, 1, 0.5 do |
829 | - | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) |
829 | + | swait() |
830 | - | LLW.C0 = LLWF |
830 | + | handlewld.C0 = clerp(handlewld.C0, euler(0, -1.57, 0) * cf(0, 1, 0), 0.4) |
831 | - | RLW.C0 = RLWF + Vector3.new(0,-1,1) |
831 | + | wld1.C0 = clerp(wld1.C0, cf(0, -1.5, 0) * euler(0.2, 0, 0.4), 0.4) |
832 | - | SwingSnd:Play() |
832 | + | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4) |
833 | - | ClawDashSnd:Play() |
833 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4) |
834 | - | for i = 1, 5 do |
834 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3, 0, 1), 0.4) |
835 | - | local trace = Instance.new("Part",game.Workspace) |
835 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
836 | - | trace.CanCollide = false |
836 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4) |
837 | - | trace.Size = Vector3.new(1,1,1) |
837 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
838 | - | trace.Transparency = 1 |
838 | + | end |
839 | - | trace.BottomSurface = 0 |
839 | + | for i = 0, 1, 0.2 do |
840 | - | trace.TopSurface = 0 |
840 | + | swait() |
841 | - | trace.Anchored = true |
841 | + | handlewld.C0 = clerp(handlewld.C0, euler(0, -1.57, 0) * cf(0, 1, 0), 0.4) |
842 | - | trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i)) |
842 | + | wld1.C0 = clerp(wld1.C0, cf(0, -1.5, 0) * euler(0.2, 0, 0.4), 0.4) |
843 | - | debby:AddItem(trace,1) |
843 | + | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4) |
844 | - | ExHitbox(5,trace.Position,40,2,.1) |
844 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4) |
845 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(4, 0, 1), 0.4) | |
846 | - | local trace = Instance.new("Part",game.Workspace) |
846 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
847 | - | trace.BrickColor = BrickColor.new("Really red") |
847 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4) |
848 | - | trace.CanCollide = false |
848 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
849 | - | trace.Size = Vector3.new(1,1,1) |
849 | + | RH.C0 = clerp(RH.C0, RHC0, 0.4) |
850 | - | trace.BottomSurface = 0 |
850 | + | LH.C0 = clerp(LH.C0, LHC0, 0.4) |
851 | - | trace.TopSurface = 0 |
851 | + | end |
852 | - | trace.Anchored = true |
852 | + | mdec2.Parent = nil |
853 | - | trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 12.5 |
853 | + | handlewld.Part1 = Torso |
854 | - | trace.Material = "Neon" |
854 | + | handlewld.C0 = euler(-2, 1.57, 0) * cf(-1, -0.5, -0.6) |
855 | - | local tracem = Instance.new("SpecialMesh",trace) |
855 | + | wld1.C0 = euler(0, 0, 0) * cf(0, 0, 0) |
856 | - | tracem.MeshType = "Sphere" |
856 | + | for i = 0, 1, 0.3 do |
857 | - | tracem.Scale = Vector3.new(1,1,50) |
857 | + | swait() |
858 | - | local disp = coroutine.wrap(function() |
858 | + | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4) |
859 | - | for i = 1, 9 do |
859 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4) |
860 | - | wait(.01) |
860 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4) |
861 | - | trace.Transparency = trace.Transparency + .1 |
861 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
862 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4) | |
863 | - | wait(.01) |
863 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
864 | - | trace:Destroy() |
864 | + | end |
865 | mdec.Parent = Decrease | |
866 | - | disp() |
866 | + | |
867 | - | chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 35 |
867 | + | mdec.Parent = Decrease |
868 | equipanim = function() | |
869 | - | for i = 0,.6,.2 do |
869 | + | equipped = true |
870 | - | wait(.05) |
870 | + | mdec.Parent = nil |
871 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i) |
871 | + | for i = 0, 1, 0.5 do |
872 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i) |
872 | + | swait() |
873 | - | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i) |
873 | + | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4) |
874 | - | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i) |
874 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4) |
875 | - | LLW.C0 = LLWF |
875 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 0.2), 0.4) |
876 | - | RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i) |
876 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
877 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4) | |
878 | - | Sheath(1) |
878 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
879 | - | del = false |
879 | + | end |
880 | - | DestroyLegWelds() |
880 | + | for i = 0, 1, 0.2 do |
881 | - | chara.Humanoid.WalkSpeed = 8 |
881 | + | swait() |
882 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4) | |
883 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4) | |
884 | - | --Stop Time-- |
884 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(4, 0, 1), 0.4) |
885 | - | timestop = false |
885 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
886 | - | function StopTime() |
886 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4) |
887 | - | del = true |
887 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
888 | - | atkd = true |
888 | + | end |
889 | - | chara.Humanoid.WalkSpeed = 0 |
889 | + | mdec2.Parent = Decrease |
890 | - | TeleSnd:Play() |
890 | + | handlewld.Part1 = RightArm |
891 | - | timestop = true |
891 | + | handlewld.C0 = euler(0, -1.57, 0) * cf(0, 1, 0) |
892 | - | Music:Stop() |
892 | + | wld1.C0 = cf(0, -1.5, 0) * euler(0.2, 0, 0.4) |
893 | - | for i = 1, 10 do |
893 | + | |
894 | - | wait(.2) |
894 | + | StaggerAnim = function() |
895 | - | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) |
895 | + | attack = true |
896 | removeControl() | |
897 | - | chatfunc("My World.") |
897 | + | if invisible == true then |
898 | Clone(0.1) | |
899 | - | chatfunc("Time has stopped.") |
899 | + | end |
900 | - | chara.Humanoid.WalkSpeed = 8 |
900 | + | for i = 1, math.random(2, 4) do |
901 | - | del = false |
901 | + | ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000) |
902 | - | wait(10) |
902 | + | end |
903 | - | chatfunc("Let time flow once again.") |
903 | + | for i = 0, 1, 0.35 do |
904 | - | wait(2) |
904 | + | swait() |
905 | - | Music:Play() |
905 | + | if Rooted.Value == false then |
906 | - | timestop = false |
906 | + | Torso.Velocity = RootPart.CFrame.lookVector * -40 |
907 | - | if game.Lighting:FindFirstChild("TimeCorr")~=nil then |
907 | + | end |
908 | - | game.Lighting:FindFirstChild("TimeCorr"):Destroy() |
908 | + | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3) |
909 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3) | |
910 | - | local wd = game.Workspace:GetChildren() |
910 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3) |
911 | - | for i = 1, #wd do |
911 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
912 | - | if wd[i].ClassName == "Model" and wd[i]:FindFirstChild("Humanoid")~=nil and wd[i] ~= chara then |
912 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3) |
913 | - | local cd = wd[i]:GetChildren() |
913 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
914 | - | for i = 1, #cd do |
914 | + | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3) |
915 | - | if cd[i].ClassName == "Part" or cd[i].ClassName == "MeshPart" then |
915 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3) |
916 | - | cd[i].Anchored = false |
916 | + | end |
917 | for i = 0, 1, 0.2 do | |
918 | swait() | |
919 | if Rooted.Value == false then | |
920 | Torso.Velocity = RootPart.CFrame.lookVector * -40 | |
921 | end | |
922 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4) | |
923 | - | --Teleport-- |
923 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4) |
924 | - | function Teleport() |
924 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4) |
925 | - | del = true |
925 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
926 | - | atkd = true |
926 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4) |
927 | - | TeleSnd:Play() |
927 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
928 | - | chara.Torso.CFrame = (targetted.Head.CFrame - Vector3.new(0,1.5,0)) - targetted.Head.CFrame.lookVector*5 |
928 | + | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4) |
929 | - | del = false |
929 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4) |
930 | end | |
931 | for i = 0, 1, 0.1 do | |
932 | - | --Lock On-- |
932 | + | swait() |
933 | - | function LockOn() |
933 | + | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3) |
934 | - | if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then |
934 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3) |
935 | - | TargetSelect(Mouse.Target.Parent) |
935 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3) |
936 | - | TargetSnd:Play() |
936 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
937 | - | else end |
937 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3) |
938 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
939 | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3) | |
940 | - | --Mouse Functions-- |
940 | + | LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3) |
941 | - | orbpushactive = false |
941 | + | end |
942 | - | del = false |
942 | + | for i = 1, 50 do |
943 | - | input = "" |
943 | + | swait() |
944 | - | letterd = 0 |
944 | + | if StunT.Value <= Stun.Value then |
945 | - | ltoim = 0 |
945 | + | break |
946 | - | function onKeyDown(key) |
946 | + | end |
947 | - | if del == false then |
947 | + | end |
948 | - | if key == "q" then |
948 | + | do |
949 | - | if input == "as" and targetted ~= nil then |
949 | + | resumeControl() |
950 | - | ExpungeThem() |
950 | + | combo = 0 |
951 | - | elseif input == "ad" and targetted ~= nil then |
951 | + | attack = false |
952 | - | Teleport() |
952 | + | end |
953 | - | elseif input == "wws" then |
953 | + | |
954 | - | Annihilation() |
954 | + | StaggerHitt = function() |
955 | - | elseif input == "ssad" and timestop == false then |
955 | + | attack = true |
956 | - | StopTime() |
956 | + | if invisible == true then |
957 | - | else LockOn() end |
957 | + | Clone(0.1) |
958 | - | input = "" |
958 | + | end |
959 | - | letterd = 0 |
959 | + | for i = 1, math.random(2, 4) do |
960 | - | ltoim = 0 |
960 | + | ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000) |
961 | - | elseif key == "z" then |
961 | + | end |
962 | - | input = "" |
962 | + | for i = 0, 1, 0.1 do |
963 | - | letterd = 0 |
963 | + | swait() |
964 | - | ltoim = 0 |
964 | + | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3) |
965 | - | elseif key == "x" then |
965 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3) |
966 | - | input = "" |
966 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3) |
967 | - | letterd = 0 |
967 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
968 | - | ltoim = 0 |
968 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3) |
969 | - | elseif key == "c" then |
969 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
970 | - | if input == "aw" then |
970 | + | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3) |
971 | - | KillThem() |
971 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3) |
972 | - | elseif input == "as" then |
972 | + | end |
973 | - | EndThem() |
973 | + | attack = false |
974 | - | elseif input == "ad" and targetted ~= nil then |
974 | + | |
975 | - | ReapThem() |
975 | + | StunAnim = function() |
976 | - | elseif input == "ds" then |
976 | + | attack = true |
977 | - | MurderThem() |
977 | + | removeControl() |
978 | - | elseif input == "ww" then |
978 | + | Stunned.Value = true |
979 | - | ExecuteThem() |
979 | + | showDamage(Character, "Stunned", "Interrupt") |
980 | - | elseif input == "ss" and targetted ~= nil then |
980 | + | local dec = Instance.new("NumberValue", Decrease) |
981 | - | HuntThem() |
981 | + | dec.Name = "DecreaseMvmt" |
982 | - | else end |
982 | + | dec.Value = 10 |
983 | - | input = "" |
983 | + | for i = 0, 1, 0.3 do |
984 | - | letterd = 0 |
984 | + | swait() |
985 | - | ltoim = 0 |
985 | + | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3) |
986 | - | elseif (key == "w" or key == "a" or key == "s" or key == "d") then |
986 | + | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3) |
987 | - | input=input..key |
987 | + | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2) |
988 | - | print(input) |
988 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2) |
989 | - | letterd = letterd + 1 |
989 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2) |
990 | - | ltoim = ltoim + 10 |
990 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) |
991 | - | if letterd > 5 then |
991 | + | LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2) |
992 | - | input = "" |
992 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) |
993 | - | letterd = 0 |
993 | + | RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25) |
994 | - | ltoim = 0 |
994 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25) |
995 | end | |
996 | - | elseif key == "m" then |
996 | + | for i = 0, 1, 0.3 do |
997 | - | if Music.IsPlaying == true then |
997 | + | swait() |
998 | - | Music:Stop() |
998 | + | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3) |
999 | - | elseif Music.IsPlaying == false then |
999 | + | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3) |
1000 | - | Music:Play() |
1000 | + | Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2) |
1001 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2) | |
1002 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2) | |
1003 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
1004 | LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2) | |
1005 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
1006 | RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25) | |
1007 | - | --Mouse Activation-- |
1007 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25) |
1008 | - | if Mouse then |
1008 | + | end |
1009 | - | Mouse.KeyDown:connect(onKeyDown) |
1009 | + | for i = 0, 1, 0.3 do |
1010 | swait() | |
1011 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2) | |
1012 | - | --Loop Function-- |
1012 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2) |
1013 | - | walking = false |
1013 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2) |
1014 | - | toim = 0 |
1014 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) |
1015 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2) | |
1016 | - | wait() |
1016 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) |
1017 | - | toim = toim + .1 |
1017 | + | RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25) |
1018 | - | ltoim = ltoim - 1 |
1018 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25) |
1019 | - | if ltoim < 1 then |
1019 | + | end |
1020 | - | input = "" |
1020 | + | local gairost = Instance.new("BodyGyro") |
1021 | gairost.Parent = RootPart | |
1022 | - | chara.Humanoid.MaxHealth = math.huge |
1022 | + | gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge |
1023 | - | chara.Humanoid.Health = math.huge |
1023 | + | gairost.P = 20000 |
1024 | - | if atkd == true then |
1024 | + | gairost.cframe = cf(0, 0, 0) |
1025 | - | TC.C0 = TCF |
1025 | + | for i = 0, 1, 0.1 do |
1026 | - | HC.C0 = HCF |
1026 | + | swait() |
1027 | - | RW.C0 = RWF |
1027 | + | if hitfloor ~= nil then |
1028 | - | LW.C0 = LWF |
1028 | + | Torso.Velocity = vt(0, 0, 0) |
1029 | - | atkd = false |
1029 | + | end |
1030 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3) | |
1031 | - | torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude |
1031 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3) |
1032 | - | if torvel < 1 and walking == true and del == false and atkd == false then |
1032 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3) |
1033 | - | for i = 0,1,.5 do |
1033 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
1034 | - | wait(.001) |
1034 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3) |
1035 | - | if del == false then |
1035 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
1036 | - | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),ITCF,i) |
1036 | + | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3) |
1037 | - | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),IHCF,i) |
1037 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3) |
1038 | - | RW.C0 = IRWF |
1038 | + | end |
1039 | - | LW.C0 = ILWF |
1039 | + | for i = 1, 70 do |
1040 | swait() | |
1041 | gairost.cframe = RootPart.CFrame | |
1042 | - | walking = false |
1042 | + | if hitfloor ~= nil then |
1043 | - | elseif torvel > 1 and walking == false and del == false and atkd == false then |
1043 | + | Torso.Velocity = vt(0, 0, 0) |
1044 | - | for i = 0,1,.5 do |
1044 | + | end |
1045 | - | wait(.001) |
1045 | + | end |
1046 | - | if del == false then |
1046 | + | for i = 0, 1, 0.2 do |
1047 | - | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i) |
1047 | + | swait() |
1048 | - | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i) |
1048 | + | Stun.Value = 0 |
1049 | - | RW.C0 = IRWF |
1049 | + | gairost.cframe = RootPart.CFrame |
1050 | - | LW.C0 = ILWF |
1050 | + | Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3) |
1051 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3) | |
1052 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3) | |
1053 | - | walking = true |
1053 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) |
1054 | - | else |
1054 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3) |
1055 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1056 | - | imgl.Rotation = imgl.Rotation + 3 |
1056 | + | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3) |
1057 | - | game.Lighting.TimeOfDay = "00:00:00" |
1057 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3) |
1058 | - | --Time Stop-- |
1058 | + | end |
1059 | - | if timestop == true then |
1059 | + | resumeControl() |
1060 | - | if game.Lighting:FindFirstChild("TimeCorr")==nil then |
1060 | + | gairost.Parent = nil |
1061 | - | local tcr = Instance.new("ColorCorrectionEffect",game.Lighting) |
1061 | + | dec.Parent = nil |
1062 | - | tcr.Saturation = -1 |
1062 | + | Stun.Value = 0 |
1063 | - | tcr.Name = "TimeCorr" |
1063 | + | combo = 0 |
1064 | Stunned.Value = false | |
1065 | - | local wd = game.Workspace:GetChildren() |
1065 | + | attack = false |
1066 | - | for i = 1, #wd do |
1066 | + | for i = 1, 10 do |
1067 | - | if wd[i].ClassName == "Model" and wd[i]:FindFirstChild("Humanoid")~=nil and wd[i] ~= chara then |
1067 | + | swait() |
1068 | - | local cd = wd[i]:GetChildren() |
1068 | + | Stun.Value = 0 |
1069 | - | for i = 1, #cd do |
1069 | + | end |
1070 | - | if cd[i].ClassName == "Part" or cd[i].ClassName == "MeshPart" then |
1070 | + | |
1071 | - | cd[i].Anchored = true |
1071 | + | attackone = function() |
1072 | attack = true | |
1073 | for i = 0, 1, 0.15 do | |
1074 | swait() | |
1075 | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.4) | |
1076 | wld1.C0 = clerp(wld1.C0, euler(0, -0.4, 0) * cf(0, -2, 0) * euler(1.8, 0, 0), 0.4) | |
1077 | - | ------------- |
1077 | + | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.4, 0, 0), 0.4) |
1078 | - | if targetted ~= nil then |
1078 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.4), 0.4) |
1079 | - | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") |
1079 | + | RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -0.5) * euler(0, 1.8, 0), 0.4) |
1080 | - | crosshair.Enabled = true |
1080 | + | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
1081 | - | elseif targetted == nil then |
1081 | + | LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(0.9, 0, -0.3) * euler(0, 1.57, 0), 0.4) |
1082 | - | crosshair.Adornee = nil |
1082 | + | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) |
1083 | - | crosshair.Enabled = false |
1083 | + | RH.C0 = clerp(RH.C0, cf(0.6, -1, 0.5) * euler(0, 1.57, 0) * euler(0, -1.4, -0.1), 0.4) |
1084 | LH.C0 = clerp(LH.C0, cf(-0.6, -1, -0.5) * euler(0, -1.57, 0) * euler(0, -1.4, 0.3), 0.4) | |
1085 | - | local chs = chara:GetChildren() |
1085 | + | if Stagger.Value ~= true and StunT.Value > Stun.Value then |
1086 | - | for i = 1, #chs do |
1086 | + | do |
1087 | - | if chs[i].ClassName == "Part" then |
1087 | + | if StaggerHit.Value == true then |
1088 | - | chs[i].Anchored = false |
1088 | + | break |
1089 | end | |
1090 | end | |
1091 | - | local knch = Knifu:GetChildren() |
1091 | + | end |
1092 | - | for i = 1, #knch do |
1092 | + | end |
1093 | - | knch[i].Anchored = false |
1093 | + | so("92597369", prt6, 1, 0.6) |
1094 | hbwld.Parent = nil | |
1095 | hboxpos.Parent = hitbox | |
1096 | hitbox.Parent = modelzorz | |
1097 | hitbox.Size = vt(3, 2, 7) | |
1098 | hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2) | |
1099 | hitbox.CFrame = hitboxCF | |
1100 | for i = 0, 1, 0.08 do | |
1101 | swait() | |
1102 | hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2) | |
1103 | hitbox.CFrame = hitboxCF | |
1104 | if i == 0.16 then | |
1105 | MagniDamage(hitbox, 4, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true) | |
1106 | end | |
1107 | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.25) | |
1108 | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, -2, 0) * euler(2.5, 0, 0), 0.25) | |
1109 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.25) | |
1110 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.25) | |
1111 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.4) * euler(0, 1.8, 0), 0.25) | |
1112 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1113 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1), 0.25) | |
1114 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1115 | RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.3), 0.25) | |
1116 | LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.25) | |
1117 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1118 | do | |
1119 | if StaggerHit.Value == true then | |
1120 | break | |
1121 | end | |
1122 | end | |
1123 | end | |
1124 | end | |
1125 | hitbox.Parent = modelzorz | |
1126 | hitbox.Size = vt() | |
1127 | hitboxweld() | |
1128 | hboxpos.Parent = nil | |
1129 | attack = false | |
1130 | end | |
1131 | attacktwo = function() | |
1132 | attack = true | |
1133 | for i = 0, 1, 0.2 do | |
1134 | swait() | |
1135 | wld1.C0 = clerp(wld1.C0, euler(1.5, 0, 3.14) * cf(0, 1, 0), 0.4) | |
1136 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.2, 0, 0), 0.4) | |
1137 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.7), 0.4) | |
1138 | RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1) * euler(0, 1.2, 0), 0.4) | |
1139 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1140 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4), 0.4) | |
1141 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1142 | RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -0.7, 0), 0.4) | |
1143 | LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.2) * euler(0, -1.57, 0) * euler(0, -0.7, 0), 0.4) | |
1144 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1145 | do | |
1146 | if StaggerHit.Value == true then | |
1147 | break | |
1148 | end | |
1149 | -- DECOMPILER ERROR at PC201: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1150 | ||
1151 | -- DECOMPILER ERROR at PC201: LeaveBlock: unexpected jumping out IF_STMT | |
1152 | ||
1153 | end | |
1154 | end | |
1155 | end | |
1156 | so("199146359", prt9, 1, 1) | |
1157 | hbwld.Parent = nil | |
1158 | hboxpos.Parent = hitbox | |
1159 | hitbox.Parent = modelzorz | |
1160 | hitbox.Size = vt(0.5, 7, 1) | |
1161 | hitboxCF = prt9.CFrame * cf(0, -1, 0.4) | |
1162 | hitbox.CFrame = hitboxCF | |
1163 | blcf = nil | |
1164 | scfr = nil | |
1165 | for i = 0, 1, 0.3 do | |
1166 | swait() | |
1167 | hitboxCF = prt9.CFrame * cf(0, -1, 0.4) | |
1168 | hitbox.CFrame = hitboxCF | |
1169 | MagniDamage(hitbox, 6, 5, 10, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 8)), nil, true) | |
1170 | wld1.C0 = clerp(wld1.C0, euler(0.5, 0, 3.14) * cf(0, 1, 0.2), 0.4) | |
1171 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0, 0, 0), 0.4) | |
1172 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4) | |
1173 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, 1) * euler(0, 1.6, 0), 0.4) | |
1174 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1175 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4) | |
1176 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1177 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4) | |
1178 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4) | |
1179 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1180 | do | |
1181 | if StaggerHit.Value == true then | |
1182 | break | |
1183 | end | |
1184 | -- DECOMPILER ERROR at PC472: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1185 | ||
1186 | -- DECOMPILER ERROR at PC472: LeaveBlock: unexpected jumping out IF_STMT | |
1187 | ||
1188 | end | |
1189 | end | |
1190 | end | |
1191 | ||
1192 | do | |
1193 | for i = 0, 1, 0.2 do | |
1194 | swait() | |
1195 | hitboxCF = prt9.CFrame * cf(0, -1, 0.4) | |
1196 | hitbox.CFrame = hitboxCF | |
1197 | MagniDamage(hitbox, 6, 4, 6, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 8)), nil, true) | |
1198 | wld1.C0 = clerp(wld1.C0, euler(0.3, 0, 3.14) * cf(0, 1, 0.2), 0.4) | |
1199 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4) | |
1200 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4) | |
1201 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.8) * euler(0, 1.3, 0), 0.4) | |
1202 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1203 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4) | |
1204 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1205 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4) | |
1206 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4) | |
1207 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1208 | do | |
1209 | if StaggerHit.Value == true then | |
1210 | break | |
1211 | end | |
1212 | -- DECOMPILER ERROR at PC842: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1213 | ||
1214 | -- DECOMPILER ERROR at PC842: LeaveBlock: unexpected jumping out IF_STMT | |
1215 | ||
1216 | end | |
1217 | end | |
1218 | end | |
1219 | hitbox.Parent = modelzorz | |
1220 | hitbox.Size = vt() | |
1221 | hitboxweld() | |
1222 | hboxpos.Parent = nil | |
1223 | attack = false | |
1224 | end | |
1225 | end | |
1226 | attackthree = function() | |
1227 | attack = true | |
1228 | hboxpos.Parent = hitbox | |
1229 | hitbox.Parent = modelzorz | |
1230 | hitbox.Size = vt(3, 3, 0.5) | |
1231 | hitboxCF = prt1.CFrame * cf(0, -3.5, 0) | |
1232 | hitbox.CFrame = hitboxCF | |
1233 | doul = 0 | |
1234 | dosou = 4 | |
1235 | for i = 0, 1, 0.1 do | |
1236 | swait() | |
1237 | hitboxCF = prt1.CFrame * cf(0, -3.5, 0) | |
1238 | hitbox.CFrame = hitboxCF | |
1239 | MagniDamage(hitbox, 3, 3, 4, 0, "Normal", RootPart, 0.2, 1, (math.random(2, 3)), nil, nil, false) | |
1240 | hitboxCF = prt1.CFrame * cf(0, 3.5, 0) | |
1241 | hitbox.CFrame = hitboxCF | |
1242 | MagniDamage(hitbox, 3, 3, 4, 0, "Normal", RootPart, 0.2, 1, (math.random(2, 3)), nil, nil, false) | |
1243 | doul = doul + 1 | |
1244 | if dosou >= 4 then | |
1245 | dosou = 0 | |
1246 | so("199145146", handle, 1, 1.6) | |
1247 | end | |
1248 | dosou = dosou + 1 | |
1249 | wld1.C1 = euler(0, doul, 0) | |
1250 | handlewld.C0 = clerp(handlewld.C0, euler(-0.8, 0, 0) * cf(0, 1, 0), 0.4) | |
1251 | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 1.57, 1.57), 0.4) | |
1252 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2) * euler(-0.05, 0, 0), 0.4) | |
1253 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0.1, 0, 0) * euler(0, 0, 1), 0.4) | |
1254 | RW.C0 = clerp(RW.C0, cf(0.5, 0.4, -0.5) * euler(1.8, 0, -1.2) * euler(0, -1.2, 0), 0.4) | |
1255 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1256 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.4, 0.3) * euler(1.7, 0, 0.6) * euler(0, 0, 0), 0.4) | |
1257 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1258 | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.4) * euler(0, 1.57, 0) * euler(0, -1, 0.2), 0.4) | |
1259 | LH.C0 = clerp(LH.C0, cf(-0.7, -0.9, -0.6) * euler(0, -1.57, 0) * euler(0, -1, 0.4), 0.4) | |
1260 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1261 | do | |
1262 | if StaggerHit.Value == true then | |
1263 | break | |
1264 | end | |
1265 | -- DECOMPILER ERROR at PC356: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1266 | ||
1267 | -- DECOMPILER ERROR at PC356: LeaveBlock: unexpected jumping out IF_STMT | |
1268 | ||
1269 | end | |
1270 | end | |
1271 | end | |
1272 | so("199145146", handle, 1, 1.2) | |
1273 | for i = 0, 1, 0.1 do | |
1274 | swait() | |
1275 | hitboxCF = prt1.CFrame * cf(0, -3.5, 0) | |
1276 | hitbox.CFrame = hitboxCF | |
1277 | MagniDamage(hitbox, 3, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(4, 6)), nil, true, false) | |
1278 | handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4) | |
1279 | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 1.57, 0.5), 0.4) | |
1280 | wld1.C1 = clerp(wld1.C1, euler(0, 0, 0), 0.4) | |
1281 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.2) * euler(-0.05, 0, 0), 0.4) | |
1282 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.7) * euler(0.3, 0, 0) * euler(0, 0, 1.2), 0.4) | |
1283 | RW.C0 = clerp(RW.C0, cf(1.5, 0.4, 0) * euler(2, 0, 0.8) * euler(0, -1.2, 0), 0.4) | |
1284 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1285 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.4, 0) * euler(0, 0, -0.6) * euler(0, 0, 0), 0.4) | |
1286 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1287 | RH.C0 = clerp(RH.C0, cf(1, -0.2, 0.2) * euler(0, 1.57, 0) * euler(0, -1.2, 0.1), 0.4) | |
1288 | LH.C0 = clerp(LH.C0, cf(-0.5, -0.9, -0.6) * euler(0, -1.57, 0) * euler(0, -1.2, 0.6), 0.4) | |
1289 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1290 | do | |
1291 | if StaggerHit.Value == true then | |
1292 | break | |
1293 | end | |
1294 | -- DECOMPILER ERROR at PC651: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1295 | ||
1296 | -- DECOMPILER ERROR at PC651: LeaveBlock: unexpected jumping out IF_STMT | |
1297 | ||
1298 | end | |
1299 | end | |
1300 | end | |
1301 | wld1.C1 = euler(0, 0, 0) | |
1302 | hitbox.Parent = modelzorz | |
1303 | hitbox.Size = vt() | |
1304 | hitboxweld() | |
1305 | hboxpos.Parent = nil | |
1306 | attack = false | |
1307 | end | |
1308 | attackfour = function() | |
1309 | attack = true | |
1310 | handlewld.Part1 = Torso | |
1311 | handlewld.C0 = euler(1.57, 0, 1.57) * cf(-3, 1, 0) | |
1312 | wld1.C1 = euler(0, 0, 0) | |
1313 | for i = 0, 1, 0.15 do | |
1314 | swait() | |
1315 | handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 1.57) * cf(0, -1, 0), 0.3) | |
1316 | wld1.C0 = clerp(wld1.C0, euler(1, 0, 0) * cf(0, -7, 0) * euler(1, 0, 0), 0.3) | |
1317 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.4) * euler(0, 0, 0), 0.3) | |
1318 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.4), 0.3) | |
1319 | RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1) * euler(0, 1.4, 0), 0.3) | |
1320 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1321 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.3) | |
1322 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1323 | RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1, -0.1), 0.2) | |
1324 | LH.C0 = clerp(LH.C0, cf(-0.8, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1, 0), 0.2) | |
1325 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1326 | do | |
1327 | if StaggerHit.Value == true then | |
1328 | break | |
1329 | end | |
1330 | -- DECOMPILER ERROR at PC248: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1331 | ||
1332 | -- DECOMPILER ERROR at PC248: LeaveBlock: unexpected jumping out IF_STMT | |
1333 | ||
1334 | end | |
1335 | end | |
1336 | end | |
1337 | so("199145841", prt12, 1, 0.8) | |
1338 | hbwld.Parent = nil | |
1339 | hboxpos.Parent = hitbox | |
1340 | hitbox.Parent = modelzorz | |
1341 | hitbox.Size = vt(1, 7, 0.5) | |
1342 | hitboxCF = prt12.CFrame | |
1343 | hitbox.CFrame = hitboxCF | |
1344 | blcf = nil | |
1345 | scfr = nil | |
1346 | num = 0 | |
1347 | for i = 0, 1, 0.1 do | |
1348 | swait() | |
1349 | num = num + 0.6 | |
1350 | hitboxCF = prt12.CFrame | |
1351 | hitbox.CFrame = hitboxCF | |
1352 | MagniDamage(hitbox, 6, 4, 8, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(3, 6)), nil, true) | |
1353 | handlewld.C0 = clerp(handlewld.C0, euler(1.57, 0, 1.57) * cf(0, -1, 0), 0.3) | |
1354 | wld1.C0 = euler(1, 0, 0) * cf(0, -4, 0) * euler(1 - num, 0, 0) | |
1355 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.2, 0, 0), 0.4) | |
1356 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -1.2), 0.4) | |
1357 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.2) * euler(0, 1.7, 0), 0.4) | |
1358 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1359 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -1.3), 0.4) | |
1360 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1361 | RH.C0 = clerp(RH.C0, cf(0.7, -1, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 1.2, 0), 0.4) | |
1362 | LH.C0 = clerp(LH.C0, cf(-0.7, -1, 0.5) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.4) | |
1363 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1364 | do | |
1365 | if StaggerHit.Value == true then | |
1366 | break | |
1367 | end | |
1368 | -- DECOMPILER ERROR at PC532: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1369 | ||
1370 | -- DECOMPILER ERROR at PC532: LeaveBlock: unexpected jumping out IF_STMT | |
1371 | ||
1372 | end | |
1373 | end | |
1374 | end | |
1375 | hitbox.Parent = modelzorz | |
1376 | hitbox.Size = vt() | |
1377 | hitboxweld() | |
1378 | hboxpos.Parent = nil | |
1379 | handlewld.Part1 = RightArm | |
1380 | handlewld.C0 = euler(1.57, 0, 1.57) * cf(0, -1, 0) | |
1381 | wld1.C0 = euler(-1, 1.57, 0) * cf(0, -4, 0) * euler(0, 0, 0) | |
1382 | attack = false | |
1383 | end | |
1384 | ||
1385 | Invisibility = function() | |
1386 | if invisible == false then | |
1387 | so("2767090", Torso, 1, 1) | |
1388 | MagicWave(BrickColor.new(NewCol), scarfp2.CFrame * euler(math.rad(180), 0, 0), 1, 1, 1, 0.5, 1.5, 0.5, 0.1) | |
1389 | MagicWave(BrickColor.new(NewCol), scarfp2.CFrame * euler(math.rad(180), 0, 0), 1, 1, 1, 1, 0.5, 1, 0.1) | |
1390 | MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 10, 10, 10, 0.05) | |
1391 | MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 5, 5, 5, 0.05) | |
1392 | invisnum.Value = invisnum.Value - 10 | |
1393 | for _,c in pairs(Decrease:children()) do | |
1394 | if c.Name == "DecreaseMvmt" and c:findFirstChild("Renegade") ~= nil then | |
1395 | c.Parent = nil | |
1396 | end | |
1397 | end | |
1398 | d = Instance.new("NumberValue", Decrease) | |
1399 | d.Name = "DecreaseAtk" | |
1400 | d.Value = -2999 | |
1401 | dur = Instance.new("NumberValue", d) | |
1402 | dur.Name = "Duration" | |
1403 | dur.Value = 1000 | |
1404 | display = "+Damage" | |
1405 | showDamage(Character, display, "Debuff") | |
1406 | da = Instance.new("BoolValue", d) | |
1407 | da.Name = "Renegade" | |
1408 | DecreaseStat(Character, "Defense", 0.1, 80) | |
1409 | invisible = true | |
1410 | isinvis.Value = true | |
1411 | passive3.Parent = Decrease | |
1412 | else | |
1413 | invisible = false | |
1414 | isinvis.Value = false | |
1415 | passive3.Parent = nil | |
1416 | end | |
1417 | end | |
1418 | ||
1419 | Runes = {"rbxassetid://0"} | |
1420 | ContentProvider = game:GetService("ContentProvider") | |
1421 | for _,v in pairs(Runes) do | |
1422 | ContentProvider:Preload(v) | |
1423 | end | |
1424 | do2 = function() | |
1425 | local ChatService = game:GetService("Chat") | |
1426 | ||
1427 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1428 | ChatService:Chat(Head, "...", "Red") | |
1429 | wait(0) | |
1430 | if attack == true then | |
1431 | return | |
1432 | end | |
1433 | if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then | |
1434 | return | |
1435 | end | |
1436 | if cooldownmax <= cooldowns[1] and mana.Value >= 0 then | |
1437 | deb = 0.2 | |
1438 | attack = true | |
1439 | cooldowns[1] = 100 | |
1440 | mana.Value = mana.Value - 20 | |
1441 | local orb = part(3, modelzorz, 0, 0.5, BrickColor.new(NewCol), "Effect", vt()) | |
1442 | do | |
1443 | swait() | |
1444 | local dec = Instance.new("NumberValue", Decrease) | |
1445 | dec.Name = "DecreaseMvmt" | |
1446 | dec.Value = 0.2 | |
1447 | for i = 0, 1, 0.2 do | |
1448 | swait() | |
1449 | handlewld.C0 = clerp(handlewld.C0, euler(0.2, 0, -0.2) * cf(0, 1, 0.2), 0.3) | |
1450 | wld1.C0 = clerp(wld1.C0, euler(0, 1.57, 0) * cf(0, -1.4, 0), 0.3) | |
1451 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2) * euler(0.2, 0, 0), 0.3) | |
1452 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.6), 0.3) | |
1453 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.2, 0, 0.8), 0.3) | |
1454 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1455 | LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(2.8, 0, 0.8), 0.3) | |
1456 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1457 | RH.C0 = clerp(RH.C0, cf(0.9, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 0.6, -0.3), 0.3) | |
1458 | LH.C0 = clerp(LH.C0, cf(-0.9, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 0.6, -0.1), 0.3) | |
1459 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1460 | do | |
1461 | if StaggerHit.Value == true then | |
1462 | break | |
1463 | end | |
1464 | end | |
1465 | end | |
1466 | end | |
1467 | if Stagger.Value ~= true then --and StunT.Value > Stun.Value then | |
1468 | if StaggerHit.Value ~= true then | |
1469 | swait() | |
1470 | arcorb = true | |
1471 | orb.Anchored = true | |
1472 | orb.CFrame = RootPart.CFrame * cf(0, 0.5, -3) | |
1473 | so("200633529", orb, 1, 0.6) | |
1474 | do | |
1475 | local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(10, 10, 10)) | |
1476 | ogui = Instance.new("BillboardGui") | |
1477 | ogui.Parent = orb | |
1478 | ogui.Size = UDim2.new(5, 0, 5, 0) | |
1479 | oimg = Instance.new("ImageLabel") | |
1480 | oimg.Parent = ogui | |
1481 | oimg.BackgroundTransparency = 1 | |
1482 | oimg.Size = UDim2.new(1, 0, 1, 0) | |
1483 | oimg.Image = Runes[math.random(1, #Runes)] | |
1484 | oimg.ImageColor3 = BrickColor.new(NewCol).Color | |
1485 | orbnum = 100 | |
1486 | while arcorb==true do | |
1487 | if arcorb == true then | |
1488 | swait() | |
1489 | end | |
1490 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1491 | if StaggerHit.Value == true then | |
1492 | break | |
1493 | end | |
1494 | orb.CFrame = RootPart.CFrame * cf(0, 0.5, -3) | |
1495 | MagicBlock(BrickColor.new(NewCol), cf(orb.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 2) | |
1496 | MagicCircle(BrickColor.new(NewCol), cf(orb.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05) | |
1497 | MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, -1, -1, 0, 0.1) | |
1498 | if orbnum < 0 or MMouse == nil then | |
1499 | arcorb = false | |
1500 | end | |
1501 | swait() | |
1502 | orbnum = orbnum - 1 | |
1503 | if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then | |
1504 | arcorb = false | |
1505 | break | |
1506 | end | |
1507 | end | |
1508 | end | |
1509 | if MMouse.Hit.p ~= nil then | |
1510 | swait() | |
1511 | local MainPos = orb.Position | |
1512 | local MainPos2 = MMouse.Hit.p | |
1513 | local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2) | |
1514 | so("200633492", orb, 1, 0.75) | |
1515 | coroutine.resume(coroutine.create(function(Pos1, Pos2, Look) | |
1516 | local num = 50 | |
1517 | repeat | |
1518 | swait() | |
1519 | local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character) | |
1520 | orb.CFrame = CFrame.new((Pos1 + opos) / 2, opos) | |
1521 | MagicBlock(BrickColor.new(NewCol), cf(orb.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 2) | |
1522 | MagicCircle(BrickColor.new(NewCol), cf(orb.Position), 150, 150, 150, -8, -8, -8, 0.05) | |
1523 | MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 1, 10, 10, 0, 0.075) | |
1524 | Pos1 = Pos1 + Look.lookVector * 5 | |
1525 | orb.CFrame = CFrame.new(orb.Position, MMouse.Hit.p) | |
1526 | if ohit ~= nil then | |
1527 | num = 0 | |
1528 | end | |
1529 | num = num - 1 | |
1530 | until num <= 0 | |
1531 | local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt()) | |
1532 | ref.Anchored = true | |
1533 | ref.CFrame = cf(orb.Position) | |
1534 | so("165970126", ref, 10, 0.5) | |
1535 | so("153832545", ref, 5, 1) | |
1536 | game:GetService("Debris"):AddItem(ref, 0.5) | |
1537 | MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 160, 160, 160, 120, 120, 120, 0.065) | |
1538 | MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 80, 80, 80, 80, 80, 80, 0.065) | |
1539 | MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 0, 1, 0, 80, 0, 80, 0.025) | |
1540 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 20, 20, 20, 0, 0.025) | |
1541 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 40, 40, 40, 0, 0.025) | |
1542 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 60, 60, 60, 0, 0.025) | |
1543 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 20, 20, 20, 0, 0.025) | |
1544 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 40, 40, 40, 0, 0.025) | |
1545 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 60, 60, 60, 0, 0.025) | |
1546 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 20, 20, 20, 0, 0.025) | |
1547 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 40, 40, 40, 0, 0.025) | |
1548 | MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 60, 60, 60, 0, 0.025) | |
1549 | MagicWave(BrickColor.new(NewCol), cf(ref.Position), 0, 10, 0, 25, 0, 25, 0.05) | |
1550 | for i = 1, 4 do | |
1551 | MagicBlock(BrickColor.new(NewCol), cf(ref.Position) * cf(math.random(-500, 500) / 100, math.random(-500, 500) / 100, math.random(-500, 500) / 100), 0, 0, 0, 25, 25, 25, 0.05) | |
1552 | end | |
1553 | MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 70, 70, 70, 40, 40, 40, 0.065) | |
1554 | MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 1000, 1000, 1000, -50, -50, -50, 0.065) | |
1555 | MagniDamage(ref, 150, 10, 17, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true) | |
1556 | if isjugg == false then | |
1557 | end | |
1558 | orb.Parent = nil | |
1559 | end | |
1560 | ), MainPos, MainPos2, MouseLook) | |
1561 | end | |
1562 | do | |
1563 | dec.Parent = nil | |
1564 | swait() | |
1565 | attack = false | |
1566 | end | |
1567 | end | |
1568 | end | |
1569 | end | |
1570 | end | |
1571 | end | |
1572 | end | |
1573 | do1 = function() | |
1574 | local ChatService = game:GetService("Chat") | |
1575 | ||
1576 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1577 | ChatService:Chat(Head, "...", "Red") | |
1578 | if attack == true then | |
1579 | return | |
1580 | end | |
1581 | if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then | |
1582 | return | |
1583 | end | |
1584 | if cooldownmax <= cooldowns[1] and mana.Value >= 20 then | |
1585 | attack = true | |
1586 | cooldowns[3] = 0 | |
1587 | local dec = Instance.new("NumberValue", Decrease) | |
1588 | dec.Name = "DecreaseMvmt" | |
1589 | dec.Value = 10 | |
1590 | for i = 0, 1, 0.1 do | |
1591 | swait() | |
1592 | Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3) | |
1593 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0), 0.3) | |
1594 | RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(2, 0, -1.2), 0.3) | |
1595 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1596 | LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.3, 0, 1), 0.3) | |
1597 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1598 | RH.C0 = clerp(RH.C0, cf(1.1, -1, 0) * euler(0, 1.57, -0.1), 0.2) | |
1599 | LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0.1), 0.2) | |
1600 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1601 | do | |
1602 | if StaggerHit.Value == true then | |
1603 | break | |
1604 | end | |
1605 | -- DECOMPILER ERROR at PC202: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1606 | ||
1607 | -- DECOMPILER ERROR at PC202: LeaveBlock: unexpected jumping out IF_STMT | |
1608 | ||
1609 | end | |
1610 | end | |
1611 | end | |
1612 | for i = 0, 1, 0.05 do | |
1613 | swait() | |
1614 | Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.2) | |
1615 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.2, 0, 0), 0.2) | |
1616 | RW.C0 = clerp(RW.C0, cf(1.2, 0.8, 0) * euler(2.5, 0, -0.3), 0.2) | |
1617 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
1618 | LW.C0 = clerp(LW.C0, cf(-1.2, 0.8, 0) * euler(2.4, 0, 0.4), 0.2) | |
1619 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
1620 | RH.C0 = clerp(RH.C0, cf(1.1, -0.8, 0.2) * euler(0, 1.57, -0.2), 0.2) | |
1621 | LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * euler(0, -1.57, 0.3), 0.2) | |
1622 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1623 | do | |
1624 | if StaggerHit.Value == true then | |
1625 | break | |
1626 | end | |
1627 | -- DECOMPILER ERROR at PC366: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1628 | ||
1629 | -- DECOMPILER ERROR at PC366: LeaveBlock: unexpected jumping out IF_STMT | |
1630 | ||
1631 | end | |
1632 | end | |
1633 | end | |
1634 | so("200632136", lprt7, 1, 0.6) | |
1635 | for i = 0, 1, 0.2 do | |
1636 | swait() | |
1637 | Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.4) | |
1638 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.2, 0, 0), 0.4) | |
1639 | RW.C0 = clerp(RW.C0, cf(1.2, 0.3, 0) * euler(0.8, 0, -0.4), 0.4) | |
1640 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1641 | LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, 0) * euler(0.8, 0, 0.4), 0.4) | |
1642 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1643 | RH.C0 = clerp(RH.C0, cf(1, -0.6, -0.4) * euler(0, 1.57, -0.6) * euler(-0.2, 0, 0), 0.4) | |
1644 | LH.C0 = clerp(LH.C0, cf(-1, -0.4, -0.5) * euler(0, -1.57, 0.2), 0.4) | |
1645 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1646 | do | |
1647 | if StaggerHit.Value == true then | |
1648 | break | |
1649 | end | |
1650 | -- DECOMPILER ERROR at PC542: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1651 | ||
1652 | -- DECOMPILER ERROR at PC542: LeaveBlock: unexpected jumping out IF_STMT | |
1653 | ||
1654 | end | |
1655 | end | |
1656 | end | |
1657 | mana.Value = mana.Value - 20 | |
1658 | while hitfloor == nil do | |
1659 | if hitfloor == nil then | |
1660 | swait() | |
1661 | end | |
1662 | if Stagger.Value ~= true and StunT.Value > Stun.Value and StaggerHit.Value == true then | |
1663 | break | |
1664 | end | |
1665 | end | |
1666 | DecreaseStat(Character, "Defense", -0.4, 500) | |
1667 | so("200632561", Torso, 1, 0.6) | |
1668 | so("200632561", Torso, 1, 0.4) | |
1669 | for i = 1, 3 do | |
1670 | local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
1671 | ref.Anchored = true | |
1672 | ref.CFrame = RootPart.CFrame * cf(0, -2, -1.5) | |
1673 | game:GetService("Debris"):AddItem(ref, 1) | |
1674 | if i == 1 then | |
1675 | MagicCircle(BrickColor.new("Bright green"), cf(ref.Position) * cf(0, -1, 0), 1, 1, 1, 6, 6, 6, 0.1) | |
1676 | MagicRing(BrickColor.new("Bright green"), cf(ref.Position) * cf(0, -1, 0) * euler(1.57, 0, 0), 1, 1, 1, 3, 3, 1, 0.05) | |
1677 | end | |
1678 | local ref2 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
1679 | ref2.Anchored = true | |
1680 | ref2.CFrame = cf(ref.Position) | |
1681 | game:GetService("Debris"):AddItem(ref2, 1) | |
1682 | for d = 1, 10 do | |
1683 | ref2.CFrame = cf(ref.Position) * euler(0, math.random(-50, 50), 0) * cf(math.random(-200, 200) / 100, 20, 7 * (i * 2) + math.random(-200, 200) / 100) | |
1684 | hitfloor2 = rayCast(ref2.Position, CFrame.new(ref2.Position, ref2.Position - Vector3.new(0, 1, 0)).lookVector, 70, Character) | |
1685 | if hitfloor2 ~= nil then | |
1686 | size = math.random(-200, 200) / 100 | |
1687 | local groundpart = part(3, workspace, 0, 0, hitfloor2.BrickColor, "Ground", vt(size, size, size)) | |
1688 | groundpart.Anchored = false | |
1689 | groundpart.Material = hitfloor2.Material | |
1690 | groundpart.CanCollide = true | |
1691 | groundpart.Velocity = vt(math.random(-20, 20), math.random(20, 80), math.random(-20, 20)) | |
1692 | groundpart.CFrame = cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1693 | game:GetService("Debris"):AddItem(groundpart, 5) | |
1694 | end | |
1695 | end | |
1696 | MagicRing(BrickColor.new("Bright green"), cf(ref.Position) * cf(0, -1, 0) * euler(1.57, 0, 0), 20 * i, 20 * i, 1, 1, 1, 1 * i, 0.05) | |
1697 | MagniDamage(ref, 15 * i, 13, 17, math.random(30, 60), "Normal", ref, 0, 1, (math.random(15, 20)), nil, nil, true) | |
1698 | swait(10) | |
1699 | end | |
1700 | do | |
1701 | for i = 0, 1, 0.2 do | |
1702 | swait() | |
1703 | Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 0), 0.4) | |
1704 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.2, 0, 0), 0.4) | |
1705 | RW.C0 = clerp(RW.C0, cf(1.2, 0.3, 0) * euler(0.8, 0, -0.4), 0.4) | |
1706 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1707 | LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, 0) * euler(0.8, 0, 0.4), 0.4) | |
1708 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1709 | RH.C0 = clerp(RH.C0, cf(1, -0.6, -0.4) * euler(0, 1.57, -0.6) * euler(-0.2, 0, 0), 0.4) | |
1710 | LH.C0 = clerp(LH.C0, cf(-1, -0.4, -0.5) * euler(0, -1.57, 0.2), 0.4) | |
1711 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1712 | do | |
1713 | if StaggerHit.Value == true then | |
1714 | break | |
1715 | end | |
1716 | -- DECOMPILER ERROR at PC1073: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1717 | ||
1718 | -- DECOMPILER ERROR at PC1073: LeaveBlock: unexpected jumping out IF_STMT | |
1719 | ||
1720 | end | |
1721 | end | |
1722 | end | |
1723 | dec.Parent = nil | |
1724 | attack = false | |
1725 | end | |
1726 | end | |
1727 | end | |
1728 | do3 = function() | |
1729 | local ChatService = game:GetService("Chat") | |
1730 | ||
1731 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1732 | ChatService:Chat(Head, "...", "Red") | |
1733 | if attack == true then | |
1734 | return | |
1735 | end | |
1736 | if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then | |
1737 | return | |
1738 | end | |
1739 | if cooldownmax <= cooldowns[3] and mana.Value >= 30 then | |
1740 | attack = true | |
1741 | cooldowns[3] = 0 | |
1742 | local doinvisatk = false | |
1743 | for i = 0, 1, 0.1 do | |
1744 | swait() | |
1745 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4) | |
1746 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4) | |
1747 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4) | |
1748 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1749 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4) | |
1750 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1751 | RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4) | |
1752 | LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4) | |
1753 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1754 | do | |
1755 | if StaggerHit.Value == true then | |
1756 | break | |
1757 | end | |
1758 | end | |
1759 | end | |
1760 | end | |
1761 | so("92597369", prt6, 0.6, 1) | |
1762 | blcf = nil | |
1763 | scfr = nil | |
1764 | for i = 0, 1, 0.1 do | |
1765 | swait() | |
1766 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4) | |
1767 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4) | |
1768 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4) | |
1769 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1770 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4) | |
1771 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1772 | RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4) | |
1773 | LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4) | |
1774 | if Stagger.Value ~= true and StunT.Value > Stun.Value then | |
1775 | do | |
1776 | if StaggerHit.Value == true then | |
1777 | break | |
1778 | end | |
1779 | end | |
1780 | end | |
1781 | end | |
1782 | attack = false | |
1783 | CF = RootPart.CFrame * cf(0, 0, -30) | |
1784 | ref2 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
1785 | ref2.Anchored = true | |
1786 | ref2.CFrame = CF | |
1787 | game:GetService("Debris"):AddItem(ref2, 5) | |
1788 | so("2101137", ref2, 5, 1) | |
1789 | so("167115397", ref2, 5, 1) | |
1790 | hitfloor2, posfloor2 = rayCast(ref2.Position, CFrame.new(ref2.Position, ref2.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character) | |
1791 | if hitfloor2 ~= nil then | |
1792 | mana.Value = mana.Value - 30 | |
1793 | ref2.CFrame = cf(posfloor2) | |
1794 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 5, 800, 0, 0, 0, 0.05) | |
1795 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 10, 800, -40, 0, -40, 0.025) | |
1796 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 10, 800, -42, 1000, -42, 0.05) | |
1797 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 1000, 10, 1000, -62, 1200, -62, 0.05) | |
1798 | for i = 0, 1, 0.05 do | |
1799 | swait() | |
1800 | MagicBlock(BrickColor.new("White"), cf(posfloor2) * cf(math.random(-2000, 2000) / 100, math.random(0, 300) / 100, math.random(-2000, 2000) / 100), 15, 15, 15, -3, -3, -3, 0.1, 1) | |
1801 | MagicBlock(BrickColor.new("White"), cf(posfloor2) * cf(math.random(-2000, 2000) / 100, math.random(0, 300) / 100, math.random(-2000, 2000) / 100), 3, 3, 3, 1, 1, 1, 0.1, 3) | |
1802 | end | |
1803 | so("165969964", ref2, 10, 0.9) | |
1804 | so("167115397", ref2, 10, 1) | |
1805 | so("134854740", ref2, 5, 0.75) | |
1806 | so("138186576", ref2, 8, 0.75) | |
1807 | so("87767777", ref2, 10, 1) | |
1808 | MagniDamage(ref2, 250, 12, 24, math.random(-50, -30), "Knockdown2", RootPart, 0, 1, (math.random(5, 10)), nil, nil, true) | |
1809 | MagicBlock(BrickColor.new("White"), cf(posfloor2), 2000, 2000, 2000, -100, -100, -100, 0.05, 1) | |
1810 | MagicBlock(BrickColor.new("White"), cf(posfloor2), 2500, 2500, 2500, -150, -150, -150, 0.05, 1) | |
1811 | MagicBlock(BrickColor.new("White"), cf(posfloor2), 3000, 3000, 3000, -200, -200, -200, 0.05, 1) | |
1812 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 2, 800, 150, 2, 150, 0.05) | |
1813 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 2, 800, 100, 4, 100, 0.05) | |
1814 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 2, 800, 50, 6, 50, 0.05) | |
1815 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 0, 0, 0, 100, 100, 100, 0.05) | |
1816 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 0, 0, 0, 200, 200, 200, 0.05) | |
1817 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 0, 0, 0, 300, 300, 300, 0.05) | |
1818 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 0, 0, 0, 400, 400, 400, 0.05) | |
1819 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 800, 2, 800, 4, 350, 4, 0.005) | |
1820 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 600, 2, 600, 4, 300, 4, 0.005) | |
1821 | MagicCircle(BrickColor.new("White"), cf(posfloor2), 400, 2, 400, 4, 250, 4, 0.005) | |
1822 | end | |
1823 | end | |
1824 | end | |
1825 | do4 = function() | |
1826 | local ChatService = game:GetService("Chat") | |
1827 | ||
1828 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1829 | ChatService:Chat(Head, "...", "Red") | |
1830 | if attack == true then | |
1831 | return | |
1832 | end | |
1833 | if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then | |
1834 | return | |
1835 | end | |
1836 | if cooldownmax <= cooldowns[4] then | |
1837 | doing4 = true | |
1838 | attack = true | |
1839 | for i = 0, 1, 0.1 do | |
1840 | swait() | |
1841 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.2) * euler(0.2, 0, 0), 0.3) | |
1842 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 1.2), 0.45) | |
1843 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.2, 0, 1) * euler(0, 0, 0), 0.3) | |
1844 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1845 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -1.5) * euler(0, 0, 0), 0.3) | |
1846 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3) | |
1847 | RH.C0 = clerp(RH.C0, cf(0.9, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1.2, -0.1), 0.4) | |
1848 | LH.C0 = clerp(LH.C0, cf(-0.9, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1.2, 0.1), 0.4) | |
1849 | end | |
1850 | local dec = Instance.new("NumberValue", Decrease) | |
1851 | dec.Name = "DecreaseMvmt" | |
1852 | dec.Value = 0 | |
1853 | local dec2 = Instance.new("NumberValue") | |
1854 | hbwld.Parent = nil | |
1855 | hboxpos.Parent = hitbox | |
1856 | hitbox.Parent = modelzorz | |
1857 | hitbox.Size = vt(3, 5, 3) | |
1858 | hitboxCF = LeftArm.CFrame | |
1859 | hitbox.CFrame = hitboxCF | |
1860 | for i = 0, 1, 0.05 do | |
1861 | swait() | |
1862 | hitboxCF = LeftArm.CFrame | |
1863 | hitbox.CFrame = hitboxCF | |
1864 | MagniDamage(hitbox, 5, 5, 10, 1, "Normal", RootPart, 0, 2, (math.random(5, 10)), nil, true, false, nil, nil, nil) | |
1865 | Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, 1.2) * euler(0.2, 0, 0), 0.4) | |
1866 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.4) | |
1867 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.6, 0, 0.2) * euler(0, 0, 0), 0.4) | |
1868 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1869 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.2) * euler(0, -1, 0), 0.4) | |
1870 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1871 | RH.C0 = clerp(RH.C0, cf(0.6, -1, -0.4) * euler(0, 1.57, 0) * euler(0, 1.2, -0.1), 0.3) | |
1872 | LH.C0 = clerp(LH.C0, cf(-0.6, -0.9, 0.4) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.3) | |
1873 | if HitTarget ~= nil then | |
1874 | break | |
1875 | end | |
1876 | end | |
1877 | do | |
1878 | hitbox.Parent = modelzorz | |
1879 | hitbox.Size = vt() | |
1880 | hitboxweld() | |
1881 | hboxpos.Parent = nil | |
1882 | if HitTarget ~= nil then | |
1883 | dec.Value = 10 | |
1884 | if HitTarget:findFirstChild("Stats") ~= nil then | |
1885 | dec2.Parent = HitTarget.Stats.Decrease | |
1886 | dec2.Name = "DecreaseMvmt" | |
1887 | dec2.Value = 10 | |
1888 | end | |
1889 | for i = 0, 1, 0.1 do | |
1890 | swait() | |
1891 | if HitTarget ~= nil then | |
1892 | RootPart.CFrame = cf(RootPart.Position, HitTarget.HumanoidRootPart.Position) | |
1893 | end | |
1894 | Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, 0), 0.4) | |
1895 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.1, 0, 0), 0.4) | |
1896 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1) * euler(0, 0, 0), 0.4) | |
1897 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1898 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1) * euler(0, 0, 0), 0.4) | |
1899 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1900 | RH.C0 = clerp(RH.C0, cf(1, -0.6, -0.4) * euler(0, 1.57, 0) * euler(0, 0, 0.2), 0.3) | |
1901 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.5), 0.3) | |
1902 | end | |
1903 | for i = 0, 1, 0.3 do | |
1904 | swait() | |
1905 | if HitTarget ~= nil then | |
1906 | RootPart.CFrame = cf(RootPart.Position, HitTarget.HumanoidRootPart.Position) | |
1907 | end | |
1908 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0) * euler(0, 0, 0), 0.5) | |
1909 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -2, 0) * euler(-1.57, 0, 0), 0.5) | |
1910 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1.57) * euler(0, 0, 0), 0.5) | |
1911 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5) | |
1912 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1.57) * euler(0, 0, 0), 0.5) | |
1913 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5) | |
1914 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.5) | |
1915 | LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0, 1), 0.5) | |
1916 | end | |
1917 | cooldowns[4] = 0 | |
1918 | mana.Value = mana.Value - 40 | |
1919 | dam = (Humanoid.MaxHealth - Humanoid.Health) / 5 + blood / 3 | |
1920 | dam2 = dam / 1.5 | |
1921 | print(dam2) | |
1922 | print(dam) | |
1923 | Damagefunc(HitTarget.Torso, dam2, dam, 50, "Knockdown2", RootPart, 1, 2, 50, nil, true, false) | |
1924 | so("206082327", HitTarget.Torso, 1, 1) | |
1925 | so("199145534", HitTarget.Torso, 1, 0.8) | |
1926 | blood = 0 | |
1927 | for i = 1, 2 do | |
1928 | MagicBlock(BrickColor.new("Really red"), cf(HitTarget.Torso.Position), 1, 1, 1, 5, 5, 5, 0.05, 1) | |
1929 | MagicRing(BrickColor.new("Really red"), cf(HitTarget.Torso.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.01) | |
1930 | end | |
1931 | MagicCircle(BrickColor.new("Really red"), cf(HitTarget.Torso.Position), 1, 1, 1, 2, 2, 2, 0.02) | |
1932 | local num = 0 | |
1933 | local eul = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1934 | for i = 1, 6 do | |
1935 | MagicCircle2(BrickColor.new("Really red"), cf(HitTarget.Torso.Position) * eul * euler(num, 0, 0), 3, 20, 3, -0.02, 3, -0.02, 0.02, 1) | |
1936 | MagicCircle2(BrickColor.new("Really red"), cf(HitTarget.Torso.Position) * eul * euler(0, 1.57, 0) * euler(num, 0, 0), 3, 20, 3, -0.02, 3, -0.02, 0.02, 1) | |
1937 | num = num + 1.046 | |
1938 | end | |
1939 | if Rooted.Value == false then | |
1940 | Torso.Velocity = RootPart.CFrame.lookVector * -50 + vt(0, 1, 0) * 100 | |
1941 | end | |
1942 | for i = 0, 1, 0.2 do | |
1943 | swait() | |
1944 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0) * euler(0, 0, 0), 0.4) | |
1945 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(-4, 0, 0), 0.4) | |
1946 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1.57) * euler(0, 0, 0), 0.4) | |
1947 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1948 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1.57) * euler(0, 0, 0), 0.4) | |
1949 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4) | |
1950 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3) | |
1951 | LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0, 1), 0.3) | |
1952 | end | |
1953 | Stagger.Value = false | |
1954 | StaggerHit.Value = false | |
1955 | else | |
1956 | do | |
1957 | cooldowns[4] = 80 | |
1958 | dec2.Parent = nil | |
1959 | dec.Parent = nil | |
1960 | HitTarget = nil | |
1961 | doing4 = false | |
1962 | attack = false | |
1963 | end | |
1964 | end | |
1965 | end | |
1966 | end | |
1967 | end | |
1968 | DecreaseStat = function(Model, Stat, Amount, Duration, cangui) | |
1969 | if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then | |
1970 | Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount | |
1971 | d = Instance.new("NumberValue", Model.Stats.Decrease) | |
1972 | dur = Instance.new("NumberValue", d) | |
1973 | dur.Name = "Duration" | |
1974 | dur.Value = Duration | |
1975 | game:GetService("Debris"):AddItem(d, 20) | |
1976 | if Stat == "Damage" then | |
1977 | d.Name = "DecreaseAtk" | |
1978 | else | |
1979 | if Stat == "Defense" then | |
1980 | d.Name = "DecreaseDef" | |
1981 | else | |
1982 | if Stat == "Movement" then | |
1983 | d.Name = "DecreaseMvmt" | |
1984 | end | |
1985 | end | |
1986 | end | |
1987 | if Model:findFirstChild("Torso") ~= nil then | |
1988 | display = "" | |
1989 | if Stat == "Damage" then | |
1990 | if Amount > 0 then | |
1991 | display = "-Damage" | |
1992 | else | |
1993 | display = "+Damage" | |
1994 | end | |
1995 | else | |
1996 | if Stat == "Defense" then | |
1997 | if Amount > 0 then | |
1998 | display = "-Defense" | |
1999 | else | |
2000 | display = "+Defense" | |
2001 | end | |
2002 | else | |
2003 | if Stat == "Movement" then | |
2004 | if Amount > 0 then | |
2005 | display = "-Movement" | |
2006 | else | |
2007 | display = "+Movement" | |
2008 | end | |
2009 | end | |
2010 | end | |
2011 | end | |
2012 | if cangui ~= true then | |
2013 | showDamage(Model, display, "Debuff") | |
2014 | end | |
2015 | end | |
2016 | d.Value = Amount | |
2017 | end | |
2018 | end | |
2019 | GetDist = function(Part1, Part2, magni) | |
2020 | local targ = Part1.Position - Part2.Position | |
2021 | local mag = targ.magnitude | |
2022 | if mag <= magni then | |
2023 | return true | |
2024 | else | |
2025 | return false | |
2026 | end | |
2027 | end | |
2028 | MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration) | |
2029 | for _,c in pairs(workspace:children()) do | |
2030 | local hum = c:findFirstChild("Humanoid") | |
2031 | if hum ~= nil then | |
2032 | local head = nil | |
2033 | for _,d in pairs(c:children()) do | |
2034 | if d.className == "Model" and ranged ~= true then | |
2035 | head = d:findFirstChild("Hitbox") | |
2036 | if d.Parent == Character then | |
2037 | break | |
2038 | end | |
2039 | if head ~= nil then | |
2040 | local targ = head.Position - Part.Position | |
2041 | local mag = targ.magnitude | |
2042 | if mag <= magni and c.Name ~= Player.Name then | |
2043 | ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
2044 | ref.Anchored = true | |
2045 | ref.CFrame = cf(head.Position) | |
2046 | game:GetService("Debris"):AddItem(ref, 1) | |
2047 | hitnum = math.random(1, 5) | |
2048 | if hitnum == 1 then | |
2049 | so("199148971", ref, 1, 1) | |
2050 | else | |
2051 | if hitnum == 2 then | |
2052 | so("199149025", ref, 1, 1) | |
2053 | else | |
2054 | if hitnum == 3 then | |
2055 | so("199149072", ref, 1, 1) | |
2056 | else | |
2057 | if hitnum == 4 then | |
2058 | so("199149109", ref, 1, 1) | |
2059 | else | |
2060 | if hitnum == 5 then | |
2061 | so("199149119", ref, 1, 1) | |
2062 | end | |
2063 | end | |
2064 | end | |
2065 | end | |
2066 | end | |
2067 | StaggerHit.Value = true | |
2068 | end | |
2069 | end | |
2070 | end | |
2071 | do | |
2072 | if d.className == "Part" and d.Name=="Torso" then | |
2073 | head = d | |
2074 | if head ~= nil then | |
2075 | local targ = head.Position - Part.Position | |
2076 | local mag = targ.magnitude | |
2077 | if mag <= magni and c.Name ~= Player.Name then | |
2078 | if stun == nil then | |
2079 | stun = math.random(5, 10) | |
2080 | end | |
2081 | local Rang = nil | |
2082 | if Ranged == false then | |
2083 | Rang = true | |
2084 | end | |
2085 | local stag = nil | |
2086 | if shbash == true then | |
2087 | stag = true | |
2088 | end | |
2089 | Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration) | |
2090 | end | |
2091 | end | |
2092 | end | |
2093 | do | |
2094 | -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT | |
2095 | ||
2096 | end | |
2097 | end | |
2098 | end | |
2099 | end | |
2100 | end | |
2101 | end | |
2102 | rayCast = function(Pos, Dir, Max, Ignore) | |
2103 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2104 | end | |
2105 | local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0) | |
2106 | LastPoint = Point | |
2107 | effect = function(Color, Ref, LP, P1, returnn) | |
2108 | if LP == nil or P1 == nil then | |
2109 | return | |
2110 | end | |
2111 | local effectsmsh = Instance.new("CylinderMesh") | |
2112 | effectsmsh.Scale = Vector3.new(0.2, 1, 0.2) | |
2113 | effectsmsh.Name = "Mesh" | |
2114 | local effectsg = Instance.new("Part") | |
2115 | NoOutline(effectsg) | |
2116 | effectsg.formFactor = 3 | |
2117 | effectsg.CanCollide = false | |
2118 | effectsg.Name = "Eff" | |
2119 | effectsg.Locked = true | |
2120 | effectsg.Anchored = true | |
2121 | effectsg.Size = Vector3.new(0.5, 1, 0.5) | |
2122 | effectsg.Parent = workspace | |
2123 | effectsmsh.Parent = effectsg | |
2124 | effectsg.BrickColor = BrickColor.new(Color) | |
2125 | effectsg.Reflectance = Ref | |
2126 | local point1 = P1 | |
2127 | local mg = (LP.p - point1.p).magnitude | |
2128 | effectsg.Size = Vector3.new(0.5, mg, 0.5) | |
2129 | effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0) | |
2130 | effectsmsh.Scale = Vector3.new(0.2, 1, 0.2) | |
2131 | game:GetService("Debris"):AddItem(effectsg, 2) | |
2132 | if returnn then | |
2133 | return effectsg | |
2134 | end | |
2135 | if not returnn then | |
2136 | table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh}) | |
2137 | end | |
2138 | end | |
2139 | MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent) | |
2140 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2141 | prt.Anchored = true | |
2142 | prt.CFrame = cframe | |
2143 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2144 | game:GetService("Debris"):AddItem(prt, 10) | |
2145 | if Type == 1 or Type == nil then | |
2146 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh}) | |
2147 | else | |
2148 | if Type == 2 then | |
2149 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh}) | |
2150 | else | |
2151 | if Type == 3 then | |
2152 | table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0}) | |
2153 | end | |
2154 | end | |
2155 | end | |
2156 | end | |
2157 | MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe) | |
2158 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2159 | prt.Anchored = true | |
2160 | prt.CFrame = cframe | |
2161 | msh = mesh("SpecialMesh", prt, "FileMesh", "14028428", vt(0, 0, 0), vt(x1, y1, z1)) | |
2162 | game:GetService("Debris"):AddItem(prt, 10) | |
2163 | table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe}) | |
2164 | end | |
2165 | MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2166 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2167 | prt.Anchored = true | |
2168 | prt.CFrame = cframe | |
2169 | local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1)) | |
2170 | game:GetService("Debris"):AddItem(prt, 10) | |
2171 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
2172 | end | |
2173 | MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2174 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
2175 | prt.Anchored = true | |
2176 | prt.CFrame = cframe * cf(x2, y2, z2) | |
2177 | local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1)) | |
2178 | game:GetService("Debris"):AddItem(prt, 10) | |
2179 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
2180 | end | |
2181 | MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push) | |
2182 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2183 | prt.Anchored = true | |
2184 | prt.CFrame = cframe | |
2185 | local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1)) | |
2186 | game:GetService("Debris"):AddItem(prt, 10) | |
2187 | table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push}) | |
2188 | end | |
2189 | MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2190 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2191 | prt.Anchored = true | |
2192 | prt.CFrame = cframe | |
2193 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2194 | game:GetService("Debris"):AddItem(prt, 10) | |
2195 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
2196 | end | |
2197 | MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe) | |
2198 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2199 | prt.Anchored = true | |
2200 | prt.CFrame = cframe | |
2201 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2202 | game:GetService("Debris"):AddItem(prt, 10) | |
2203 | table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe}) | |
2204 | end | |
2205 | MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2206 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2207 | prt.Anchored = true | |
2208 | prt.CFrame = cframe | |
2209 | local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1)) | |
2210 | game:GetService("Debris"):AddItem(prt, 10) | |
2211 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
2212 | end | |
2213 | ClangEffect = function(brickcolor, cframe, duration, decrease, size, power) | |
2214 | local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt()) | |
2215 | prt.Anchored = true | |
2216 | prt.CFrame = cframe | |
2217 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5)) | |
2218 | game:GetService("Debris"):AddItem(prt, 10) | |
2219 | table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil}) | |
2220 | end | |
2221 | MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2222 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2223 | prt.Anchored = true | |
2224 | prt.CFrame = cframe | |
2225 | local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
2226 | game:GetService("Debris"):AddItem(prt, 10) | |
2227 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
2228 | end | |
2229 | MagicFire = function(brickcolor, cframe, x1, y1, z1, delay) | |
2230 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt()) | |
2231 | prt.Anchored = true | |
2232 | prt.CFrame = cframe | |
2233 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2234 | game:GetService("Debris"):AddItem(prt, 10) | |
2235 | table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh}) | |
2236 | end | |
2237 | MagicFireWave = function(brickcolor, cframe, x1, y1, z1) | |
2238 | local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt()) | |
2239 | prt.Anchored = true | |
2240 | prt.CFrame = cframe | |
2241 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2242 | d = Instance.new("Decal") | |
2243 | d.Parent = prt | |
2244 | d.Texture = "http://www.roblox.com/asset/?id=26356434" | |
2245 | d.Face = "Top" | |
2246 | d = Instance.new("Decal") | |
2247 | d.Parent = prt | |
2248 | d.Texture = "http://www.roblox.com/asset/?id=26356434" | |
2249 | d.Face = "Bottom" | |
2250 | game:GetService("Debris"):AddItem(prt, 10) | |
2251 | table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh}) | |
2252 | end | |
2253 | ElecEffect = function(cff, x, y, z) | |
2254 | local prt = part(3, workspace, 0, 0, BrickColor.new("Bright red"), "Part", vt(1, 1, 1)) | |
2255 | prt.Anchored = true | |
2256 | prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
2257 | prt.CFrame = cf(prt.Position) | |
2258 | game:GetService("Debris"):AddItem(prt, 10) | |
2259 | xval = math.random() / 3 | |
2260 | yval = math.random() / 3 | |
2261 | zval = math.random() / 3 | |
2262 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval)) | |
2263 | Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh} | |
2264 | end | |
2265 | CloneBody = function() | |
2266 | for _,v in pairs(Torso.Parent:children()) do | |
2267 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
2268 | local c = part(3, workspace, 0, 0.5, BrickColor.new("Really black"), "Effect", v.Size) | |
2269 | c.Anchored = true | |
2270 | c.CFrame = v.CFrame | |
2271 | game:GetService("Debris"):AddItem(c, 5) | |
2272 | if v.Name == "Head" then | |
2273 | cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale) | |
2274 | end | |
2275 | table.insert(Effects, {c, "Disappear", 0.05}) | |
2276 | end | |
2277 | end | |
2278 | end | |
2279 | Clone = function(duration) | |
2280 | for _,v in pairs(Torso.Parent:children()) do | |
2281 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
2282 | local c = part(3, workspace, 0, 0, BrickColor.new("Really black"), "Effect", v.Size) | |
2283 | c.Anchored = true | |
2284 | c.CFrame = v.CFrame | |
2285 | game:GetService("Debris"):AddItem(c, 5) | |
2286 | if v.Name == "Head" then | |
2287 | cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale) | |
2288 | end | |
2289 | table.insert(Effects, {c, "Disappear", duration}) | |
2290 | else | |
2291 | do | |
2292 | do | |
2293 | if v.className == "Hat" then | |
2294 | n = v.Handle:clone() | |
2295 | n:BreakJoints() | |
2296 | n.archivable = true | |
2297 | n.Anchored = true | |
2298 | n.CanCollide = false | |
2299 | n.Name = "Effect" | |
2300 | n.BrickColor = BrickColor.new("Really black") | |
2301 | n.Parent = workspace | |
2302 | n.CFrame = v.Handle.CFrame | |
2303 | n.Transparency = 1 | |
2304 | n:BreakJoints() | |
2305 | table.insert(Effects, {n, "Disappear", duration}) | |
2306 | end | |
2307 | -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out DO_STMT | |
2308 | ||
2309 | -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
2310 | ||
2311 | -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out IF_STMT | |
2312 | ||
2313 | end | |
2314 | end | |
2315 | end | |
2316 | end | |
2317 | for _,v in pairs(modelzorz:children()) do | |
2318 | if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then | |
2319 | n = v:clone() | |
2320 | for _,b in pairs(n:children()) do | |
2321 | if b.className == "Motor" then | |
2322 | b.Parent = nil | |
2323 | end | |
2324 | end | |
2325 | n.archivable = true | |
2326 | n.Anchored = true | |
2327 | n.CanCollide = false | |
2328 | n.Name = "Effect" | |
2329 | n.BrickColor = BrickColor.new("Really black") | |
2330 | n.Parent = workspace | |
2331 | n.CFrame = v.CFrame | |
2332 | n.Transparency = 0 | |
2333 | n:BreakJoints() | |
2334 | table.insert(Effects, {n, "Disappear", duration}) | |
2335 | end | |
2336 | end | |
2337 | end | |
2338 | Cloak = function() | |
2339 | so("2767090", Torso, 1, 1) | |
2340 | Face.Parent = nil | |
2341 | Clone(0.02) | |
2342 | for _,v in pairs(Torso.Parent:children()) do | |
2343 | do | |
2344 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
2345 | coroutine.resume(coroutine.create(function() | |
2346 | for i = 0, 1, 0.1 do | |
2347 | wait() | |
2348 | v.Transparency = v.Transparency + 0.1 | |
2349 | end | |
2350 | v.Transparency = 1 | |
2351 | end)) | |
2352 | end | |
2353 | if v.className == "Hat" then | |
2354 | do | |
2355 | hatp = v.Handle | |
2356 | coroutine.resume(coroutine.create(function(derp) | |
2357 | for i = 0, 1, 0.1 do | |
2358 | wait() | |
2359 | derp.Transparency = derp.Transparency + 0.1 | |
2360 | end | |
2361 | derp.Transparency = 1 | |
2362 | end), hatp) | |
2363 | -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
2364 | ||
2365 | -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT | |
2366 | ||
2367 | end | |
2368 | end | |
2369 | end | |
2370 | end | |
2371 | for _,v in pairs(modelzorz:children()) do | |
2372 | if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then | |
2373 | coroutine.resume(coroutine.create(function() | |
2374 | for i = 0, 1, 0.1 do | |
2375 | wait() | |
2376 | v.Transparency = v.Transparency + 0.1 | |
2377 | end | |
2378 | v.Transparency = 1 | |
2379 | end)) | |
2380 | end | |
2381 | end | |
2382 | end | |
2383 | UnCloak = function() | |
2384 | so("2767090", Torso, 1, 1.1) | |
2385 | Face.Parent = Head | |
2386 | for _,v in pairs(Torso.Parent:children()) do | |
2387 | do | |
2388 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
2389 | coroutine.resume(coroutine.create(function() | |
2390 | for i = 0, 1, 0.1 do | |
2391 | wait() | |
2392 | v.Transparency = v.Transparency - 0.1 | |
2393 | end | |
2394 | v.Transparency = 0 | |
2395 | end)) | |
2396 | end | |
2397 | if v.className == "Hat" then | |
2398 | do | |
2399 | hatp = v.Handle | |
2400 | coroutine.resume(coroutine.create(function(derp) | |
2401 | for i = 0, 1, 0.1 do | |
2402 | wait() | |
2403 | derp.Transparency = derp.Transparency - 0.1 | |
2404 | end | |
2405 | derp.Transparency = 1 | |
2406 | end), hatp) | |
2407 | -- DECOMPILER ERROR at PC43: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
2408 | ||
2409 | -- DECOMPILER ERROR at PC43: LeaveBlock: unexpected jumping out IF_STMT | |
2410 | ||
2411 | end | |
2412 | end | |
2413 | end | |
2414 | end | |
2415 | for _,v in pairs(modelzorz:children()) do | |
2416 | if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then | |
2417 | coroutine.resume(coroutine.create(function() | |
2418 | for i = 0, 1, 0.1 do | |
2419 | wait() | |
2420 | v.Transparency = v.Transparency - 0.1 | |
2421 | end | |
2422 | for i = 0, 1, 0.3 do | |
2423 | wait() | |
2424 | v.Transparency = 0 | |
2425 | end | |
2426 | end)) | |
2427 | end | |
2428 | end | |
2429 | end | |
2430 | Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration) | |
2431 | if hit.Parent == nil then | |
2432 | return | |
2433 | end | |
2434 | if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then | |
2435 | ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
2436 | ref.Anchored = true | |
2437 | ref.CFrame = cf(hit.Position) | |
2438 | game:GetService("Debris"):AddItem(ref, 1) | |
2439 | hitnum = math.random(1, 5) | |
2440 | if hitnum == 1 then | |
2441 | so("199148971", ref, 1, 1) | |
2442 | else | |
2443 | if hitnum == 2 then | |
2444 | so("199149025", ref, 1, 1) | |
2445 | else | |
2446 | if hitnum == 3 then | |
2447 | so("199149072", ref, 1, 1) | |
2448 | else | |
2449 | if hitnum == 4 then | |
2450 | so("199149109", ref, 1, 1) | |
2451 | else | |
2452 | if hitnum == 5 then | |
2453 | so("199149119", ref, 1, 1) | |
2454 | end | |
2455 | end | |
2456 | end | |
2457 | end | |
2458 | end | |
2459 | StaggerHit.Value = true | |
2460 | end | |
2461 | h = hit.Parent:FindFirstChild("Humanoid") | |
2462 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
2463 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
2464 | return | |
2465 | end | |
2466 | if Player.Neutral == false then | |
2467 | if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then | |
2468 | return | |
2469 | end | |
2470 | if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then | |
2471 | return | |
2472 | end | |
2473 | end | |
2474 | c = Instance.new("ObjectValue") | |
2475 | c.Name = "creator" | |
2476 | c.Value = game:service("Players").LocalPlayer | |
2477 | c.Parent = h | |
2478 | RecentEnemy.Value = hit.Parent | |
2479 | game:GetService("Debris"):AddItem(c, 0.5) | |
2480 | if doing4 == false then | |
2481 | minim = minim * Atk.Value | |
2482 | maxim = maxim * Atk.Value | |
2483 | end | |
2484 | Damage = 0 | |
2485 | if minim == maxim then | |
2486 | Damage = maxim | |
2487 | else | |
2488 | Damage = math.random(minim, maxim) | |
2489 | end | |
2490 | blocked = false | |
2491 | enblock = nil | |
2492 | Stats = hit.Parent:findFirstChild("Stats") | |
2493 | if Stats == nil then | |
2494 | Character.Stats:Clone().Parent=hit.Parent | |
2495 | end | |
2496 | if Stats ~= nil then | |
2497 | Stats.Defense.Value=1 | |
2498 | invis = Stats:findFirstChild("Invisibility") | |
2499 | if (ranged == false or ranged == nil) and invis ~= nil then | |
2500 | invis.Value = 0 | |
2501 | end | |
2502 | enblock = Stats:findFirstChild("Block") | |
2503 | if enblock ~= nil and enblock.Value == true then | |
2504 | blocked = true | |
2505 | end | |
2506 | if Stats:findFirstChild("Defense") ~= nil then | |
2507 | if doing2 ~= true and doing4 ~= true then | |
2508 | local divide = Stats.Defense.Value | |
2509 | Damage = Damage / divide | |
2510 | end | |
2511 | do | |
2512 | Damage = Damage | |
2513 | if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then | |
2514 | hitnum = math.random(1, 5) | |
2515 | if hitnum == 1 then | |
2516 | so("199149321", hit, 1, 1) | |
2517 | else | |
2518 | if hitnum == 2 then | |
2519 | so("199149338", hit, 1, 1) | |
2520 | else | |
2521 | if hitnum == 3 then | |
2522 | so("199149367", hit, 1, 1) | |
2523 | else | |
2524 | if hitnum == 4 then | |
2525 | so("199149409", hit, 1, 1) | |
2526 | else | |
2527 | if hitnum == 5 then | |
2528 | so("199149452", hit, 1, 1) | |
2529 | end | |
2530 | end | |
2531 | end | |
2532 | end | |
2533 | end | |
2534 | else | |
2535 | if ranged == false or ranged == nil and blocked ~= true then | |
2536 | hitnum = math.random(1, 6) | |
2537 | if hitnum == 1 then | |
2538 | so("199149137", hit, 1, 1) | |
2539 | else | |
2540 | if hitnum == 2 then | |
2541 | so("199149186", hit, 1, 1) | |
2542 | else | |
2543 | if hitnum == 3 then | |
2544 | so("199149221", hit, 1, 1) | |
2545 | else | |
2546 | if hitnum == 4 then | |
2547 | so("199149235", hit, 1, 1) | |
2548 | else | |
2549 | if hitnum == 5 then | |
2550 | so("199149269", hit, 1, 1) | |
2551 | else | |
2552 | if hitnum == 6 then | |
2553 | so("199149297", hit, 1, 1) | |
2554 | end | |
2555 | end | |
2556 | end | |
2557 | end | |
2558 | end | |
2559 | end | |
2560 | end | |
2561 | end | |
2562 | if Damage <= 3 and staghit == true and ranged ~= true then | |
2563 | StaggerHit.Value = true | |
2564 | end | |
2565 | if Stats:findFirstChild("Stun") ~= nil then | |
2566 | if blocked == true then | |
2567 | incstun = incstun / 2 | |
2568 | end | |
2569 | if Stats.Stun.Value < Stats.StunThreshold.Value then | |
2570 | Stats.Stun.Value = Stats.Stun.Value + incstun | |
2571 | end | |
2572 | end | |
2573 | if Stats:findFirstChild("Stagger") ~= nil and stagger == true then | |
2574 | Stats.Stagger.Value = true | |
2575 | end | |
2576 | if blocked == true then | |
2577 | showDamage(hit.Parent, "Block", "Damage") | |
2578 | if ranged ~= true then | |
2579 | enblock.Value = false | |
2580 | Stagger.Value = true | |
2581 | hitnum = math.random(1, 2) | |
2582 | if hitnum == 1 then | |
2583 | so("199148933", hit, 1, 1) | |
2584 | else | |
2585 | if hitnum == 2 then | |
2586 | so("199148947", hit, 1, 1) | |
2587 | end | |
2588 | end | |
2589 | end | |
2590 | else | |
2591 | Damage = math.floor(Damage) | |
2592 | if hit.Parent:findFirstChild("Mark") == nil then | |
2593 | d = it("BoolValue", hit.Parent) | |
2594 | d.Name = "Mark" | |
2595 | b = it("NumberValue", d) | |
2596 | b.Name = "MarkTime" | |
2597 | b.Value = 200 | |
2598 | v = it("NumberValue", d) | |
2599 | v.Name = "MarkValue" | |
2600 | v.Value = 0 | |
2601 | if doing4 == true then | |
2602 | v.Value = 10 | |
2603 | end | |
2604 | sz = it("NumberValue", d) | |
2605 | sz.Name = "MarkSize" | |
2606 | sz.Value = 5 | |
2607 | st = it("StringValue", d) | |
2608 | st.Name = "MarkType" | |
2609 | st.Value = "Adjudicator" | |
2610 | local tehpart = hit.Parent:findFirstChild("HumanoidRootPart") | |
2611 | if tehpart == nil then | |
2612 | tehpart = hit.Parent:findFirstChild("Torso") | |
2613 | end | |
2614 | if hit.Parent.Name == "Neflhelm" then | |
2615 | tehpart = hit | |
2616 | end | |
2617 | if tehpart ~= nil then | |
2618 | markgui = it("BillboardGui", tehpart) | |
2619 | markgui.Name = "Mark Gui" | |
2620 | markgui.Size = UDim2.new(7, 0, 7, 0) | |
2621 | markgui.StudsOffset = vt(0, 10, 0) | |
2622 | markgui.AlwaysOnTop = true | |
2623 | markscy = it("ImageLabel", markgui) | |
2624 | markscy.Name = "Scythe" | |
2625 | markscy.BackgroundTransparency = 1 | |
2626 | markscy.Image = "rbxassetid://278007861" | |
2627 | markscy.ImageColor3 = Color3.new(1, 0, 0) | |
2628 | markscy.Size = UDim2.new(1, 0, 1, 0) | |
2629 | table.insert(MarkedGUI, {markgui, markscy}) | |
2630 | end | |
2631 | table.insert(Marked, {d, b, v, sz}) | |
2632 | else | |
2633 | mark = hit.Parent:findFirstChild("Mark") | |
2634 | if mark:findFirstChild("MarkTime") ~= nil then | |
2635 | mark.MarkTime.Value = 700 | |
2636 | end | |
2637 | if mark:findFirstChild("MarkValue") ~= nil then | |
2638 | if mark.MarkValue.Value >= 10 then | |
2639 | if mark:findFirstChild("MarkTime") ~= nil then | |
2640 | mark.MarkTime.Value = 400 | |
2641 | end | |
2642 | if mark.MarkType.Value == "Classic" then | |
2643 | mark.Parent = nil | |
2644 | Damage = Damage * 2 | |
2645 | print("double damage") | |
2646 | if hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
2647 | ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
2648 | ref.Anchored = true | |
2649 | ref.CFrame = hit.Parent.HumanoidRootPart.CFrame | |
2650 | game:GetService("Debris"):AddItem(ref, 5) | |
2651 | local nr = NumberRange.new | |
2652 | local ns = NumberSequence.new | |
2653 | local cs = ColorSequence.new | |
2654 | local parti = it("ParticleEmitter") | |
2655 | parti.Color = cs(NewCol, Color3.new(0, 0, 0)) | |
2656 | parti.LightEmission = 0 | |
2657 | parti.Size = ns(10) | |
2658 | parti.Texture = "http://www.roblox.com/asset/?id=243660364" | |
2659 | transseq = ns({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2660 | parti.Transparency = transseq | |
2661 | parti.ZOffset = 1 | |
2662 | parti.Acceleration = vt(0, 0, 0) | |
2663 | parti.Lifetime = nr(1) | |
2664 | parti.Rate = 20 | |
2665 | parti.Rotation = nr(0, 360) | |
2666 | parti.Speed = nr(0) | |
2667 | parti.VelocitySpread = 0 | |
2668 | parti.Parent = ref | |
2669 | parti.Enabled = true | |
2670 | table.insert(Effects, {parti, "PartiEmi", 20}) | |
2671 | markscy = it("ImageLabel", markgui) | |
2672 | markscy.Name = "Scythe" | |
2673 | markscy.BackgroundTransparency = 1 | |
2674 | markscy.Image = "rbxassetid://258927926" | |
2675 | markscy.ImageColor3 = Color3.new(1, 0, 0) | |
2676 | markscy.Size = UDim2.new(1, 0, 1, 0) | |
2677 | table.insert(Effects, {markgui, "AdjuEff", 10, markscy}) | |
2678 | end | |
2679 | elseif mark.MarkType.Value == "Adjudicator" and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
2680 | da = math.random(1, 4) | |
2681 | inc = 1 | |
2682 | if doing2 == true then | |
2683 | inc = 2 | |
2684 | end | |
2685 | if da == 1 then | |
2686 | DecreaseStat(Character, "Damage", -math.random(6, 10) / 100 * inc, 150, true) | |
2687 | DecreaseStat(Character, "Movement", -math.random(2, 6) / 100 * inc, 200, true) | |
2688 | else | |
2689 | if da == 2 then | |
2690 | DecreaseStat(Character, "Defense", -math.random(2, 6) / 100 * inc, 150, true) | |
2691 | DecreaseStat(Character, "Movement", -math.random(2, 6) / 100 * inc, 200, true) | |
2692 | else | |
2693 | if da == 3 then | |
2694 | DecreaseStat(hit.Parent, "Damage", math.random(6, 10) / 100 * inc, 150, true) | |
2695 | DecreaseStat(hit.Parent, "Movement", math.random(1, 3) / 100 * inc, 200, true) | |
2696 | else | |
2697 | if da == 4 then | |
2698 | DecreaseStat(hit.Parent, "Defense", math.random(2, 6) / 100 * inc, 150, true) | |
2699 | DecreaseStat(hit.Parent, "Movement", math.random(1, 3) / 100 * inc, 200, true) | |
2700 | end | |
2701 | end | |
2702 | end | |
2703 | end | |
2704 | ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt()) | |
2705 | ref.Anchored = true | |
2706 | ref.CFrame = hit.Parent.HumanoidRootPart.CFrame | |
2707 | game:GetService("Debris"):AddItem(ref, 5) | |
2708 | markgui = it("BillboardGui", ref) | |
2709 | markgui.Name = "Mark Gui" | |
2710 | markgui.Size = UDim2.new(7, 0, 7, 0) | |
2711 | markgui.StudsOffset = vt(0, 10, 0) | |
2712 | markgui.AlwaysOnTop = true | |
2713 | markscy = it("ImageLabel", markgui) | |
2714 | markscy.Name = "Scythe" | |
2715 | markscy.BackgroundTransparency = 1 | |
2716 | markscy.Image = "rbxassetid://187884215" | |
2717 | markscy.ImageColor3 = Color3.new(1, 0, 0) | |
2718 | markscy.Size = UDim2.new(1, 0, 1, 0) | |
2719 | table.insert(Effects, {markgui, "AdjuEff", 10, markscy}) | |
2720 | end | |
2721 | elseif --[[mark.MarkType.Value ~= "Thanatos" or --]]doing4 == true then | |
2722 | mark.MarkValue.Value = 10 | |
2723 | else | |
2724 | mark.MarkValue.Value = mark.MarkValue.Value + 1 | |
2725 | end | |
2726 | end | |
2727 | if mark:findFirstChild("MarkSize") ~= nil then | |
2728 | mark.MarkSize.Value = 5 | |
2729 | end | |
2730 | coroutine.resume(coroutine.create(function(Hum, Dam) | |
2731 | hit.Parent.Humanoid:TakeDamage(Damage) | |
2732 | end), h, Damage) | |
2733 | pursuitnum = 0 | |
2734 | if isinvis.Value == false then | |
2735 | invisnum.Value = math.floor(invisnum.Value + math.random(4, 8) + Damage / 5) | |
2736 | end | |
2737 | showDamage(hit.Parent, Damage, "Damage") | |
2738 | if DecreaseState ~= nil then | |
2739 | DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration) | |
2740 | end | |
2741 | if Type == "NormalDecreaseMvmt1" then | |
2742 | DecreaseStat(hit.Parent, "Movement", 0.1, 200) | |
2743 | end | |
2744 | if Type == "Knockdown" then | |
2745 | hum = hit.Parent.Humanoid | |
2746 | hum.PlatformStand = true | |
2747 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2748 | swait(1) | |
2749 | HHumanoid.PlatformStand = false | |
2750 | end), hum) | |
2751 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
2752 | local bodvol = Instance.new("BodyVelocity") | |
2753 | bodvol.velocity = angle * knockback | |
2754 | bodvol.P = 500 | |
2755 | bodvol.maxForce = Vector3.new(2000, 2000, 2000) | |
2756 | bodvol.Parent = hit | |
2757 | rl = Instance.new("BodyAngularVelocity") | |
2758 | rl.P = 3000 | |
2759 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
2760 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
2761 | rl.Parent = hit | |
2762 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
2763 | game:GetService("Debris"):AddItem(rl, 0.5) | |
2764 | else | |
2765 | do | |
2766 | if Type == "Knockdown2" then | |
2767 | hum = hit.Parent.Humanoid | |
2768 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
2769 | local bodvol = Instance.new("BodyVelocity") | |
2770 | bodvol.velocity = angle * knockback | |
2771 | bodvol.P = 500 | |
2772 | bodvol.maxForce = Vector3.new(2000, 2000, 2000) | |
2773 | bodvol.Parent = hit | |
2774 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
2775 | else | |
2776 | do | |
2777 | if Type == "Normal" or Type == "NormalDecreaseMvmt1" then | |
2778 | vp = Instance.new("BodyVelocity") | |
2779 | vp.P = 500 | |
2780 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
2781 | if KnockbackType == 1 then | |
2782 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
2783 | else | |
2784 | if KnockbackType == 2 then | |
2785 | vp.velocity = Property.CFrame.lookVector * knockback | |
2786 | end | |
2787 | end | |
2788 | game:GetService("Debris"):AddItem(vp, 0.5) | |
2789 | if knockback > 0 then | |
2790 | vp.Parent = hit.Parent.Torso | |
2791 | end | |
2792 | end | |
2793 | debounce = Instance.new("BoolValue") | |
2794 | debounce.Name = "DebounceHit" | |
2795 | debounce.Parent = hit.Parent | |
2796 | debounce.Value = true | |
2797 | game:GetService("Debris"):AddItem(debounce, Delay) | |
2798 | c = Instance.new("ObjectValue") | |
2799 | c.Name = "creator" | |
2800 | c.Value = Player | |
2801 | c.Parent = h | |
2802 | game:GetService("Debris"):AddItem(c, 0.5) | |
2803 | CRIT = false | |
2804 | end | |
2805 | end | |
2806 | end | |
2807 | end | |
2808 | end | |
2809 | end | |
2810 | end | |
2811 | end | |
2812 | end | |
2813 | end | |
2814 | end | |
2815 | -- end | |
2816 | --end | |
2817 | --end | |
2818 | --end | |
2819 | --end | |
2820 | showDamage = function(Char, Dealt, Type) | |
2821 | m = Instance.new("Model") | |
2822 | m.Name = "Effect" | |
2823 | c = Instance.new("Part") | |
2824 | c.Transparency = 1 | |
2825 | c.Name = "Head" | |
2826 | c.TopSurface = 0 | |
2827 | c.BottomSurface = 0 | |
2828 | c.formFactor = "Plate" | |
2829 | c.Size = Vector3.new(1, 0.4, 1) | |
2830 | b = Instance.new("BillboardGui", c) | |
2831 | b.Size = UDim2.new(5, 0, 5, 0) | |
2832 | b.AlwaysOnTop = true | |
2833 | damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0)) | |
2834 | if Type == "Damage" then | |
2835 | damgui.Font = "SourceSansBold" | |
2836 | if Dealt == "Block" then | |
2837 | damgui.TextColor3 = BrickColor.new("Bright blue").Color | |
2838 | else | |
2839 | if Dealt < 3 then | |
2840 | damgui.TextColor3 = BrickColor.new("White").Color | |
2841 | else | |
2842 | if Dealt >= 3 and Dealt < 20 then | |
2843 | damgui.TextColor3 = BrickColor.new("Cyan").Color | |
2844 | else | |
2845 | damgui.TextColor3 = BrickColor.new("Royal purple").Color | |
2846 | damgui.Font = "SourceSansBold" | |
2847 | end | |
2848 | end | |
2849 | end | |
2850 | else | |
2851 | if Type == "Debuff" then | |
2852 | damgui.TextColor3 = BrickColor.new("White").Color | |
2853 | else | |
2854 | if Type == "Interrupt" then | |
2855 | damgui.TextColor3 = BrickColor.new("New Yeller").Color | |
2856 | end | |
2857 | end | |
2858 | end | |
2859 | damgui.TextScaled = true | |
2860 | ms = Instance.new("CylinderMesh") | |
2861 | ms.Scale = Vector3.new(0.8, 0.8, 0.8) | |
2862 | ms.Parent = c | |
2863 | c.Reflectance = 0 | |
2864 | Instance.new("BodyGyro").Parent = c | |
2865 | c.Parent = m | |
2866 | if Char:findFirstChild("Head") ~= nil then | |
2867 | c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100)) | |
2868 | else | |
2869 | if Char.Parent:findFirstChild("Head") ~= nil then | |
2870 | c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100)) | |
2871 | end | |
2872 | end | |
2873 | f = Instance.new("BodyPosition") | |
2874 | f.P = 2000 | |
2875 | f.D = 100 | |
2876 | f.maxForce = Vector3.new(545000, 545000, 545000) | |
2877 | if Type == "Damage" then | |
2878 | f.position = c.Position + Vector3.new(0, 3, 0) | |
2879 | else | |
2880 | if Type == "Debuff" or Type == "Interrupt" then | |
2881 | f.position = c.Position + Vector3.new(0, 5, 0) | |
2882 | end | |
2883 | end | |
2884 | f.Parent = c | |
2885 | game:GetService("Debris"):AddItem(m, 5) | |
2886 | table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100}) | |
2887 | c.CanCollide = false | |
2888 | m.Parent = workspace | |
2889 | c.CanCollide = false | |
2890 | end | |
2891 | combo = 0 | |
2892 | ||
2893 | ob1d = function(mouse) | |
2894 | if arcorb == true then | |
2895 | arcorb = false | |
2896 | end | |
2897 | if attack == true or equipped == false then | |
2898 | return | |
2899 | end | |
2900 | deb = 0.5 | |
2901 | hold = true | |
2902 | if combo == 0 then | |
2903 | combo = 1 | |
2904 | attackone() | |
2905 | else | |
2906 | if combo == 1 then | |
2907 | combo = 2 | |
2908 | attacktwo() | |
2909 | else | |
2910 | if combo == 2 then | |
2911 | combo = 3 | |
2912 | attackthree() | |
2913 | else | |
2914 | if combo == 3 then | |
2915 | combo = 0 | |
2916 | attackfour() | |
2917 | end | |
2918 | end | |
2919 | end | |
2920 | end | |
2921 | coroutine.resume(coroutine.create(function() | |
2922 | for i = 1, 50 do | |
2923 | if attack == false then | |
2924 | swait() | |
2925 | end | |
2926 | end | |
2927 | if attack == false then | |
2928 | combo = 0 | |
2929 | end | |
2930 | end)) | |
2931 | end | |
2932 | ob1u = function(mouse) | |
2933 | hold = false | |
2934 | end | |
2935 | buttonhold = false | |
2936 | fenbarmove1.MouseButton1Click:connect(do1) | |
2937 | fenbarmove2.MouseButton1Click:connect(do2) | |
2938 | fenbarmove3.MouseButton1Click:connect(do3) | |
2939 | fenbarmove4.MouseButton1Click:connect(do4) | |
2940 | eul = 0 | |
2941 | equipped = false | |
2942 | key = function(key) | |
2943 | if attack == true then | |
2944 | return | |
2945 | end | |
2946 | if key == "z" then | |
2947 | pressedf = true | |
2948 | fnumb = 0 | |
2949 | attack = true | |
2950 | if equipped == false then | |
2951 | equipped = true | |
2952 | RSH = ch.Torso["Right Shoulder"] | |
2953 | LSH = ch.Torso["Left Shoulder"] | |
2954 | RSH.Parent = nil | |
2955 | LSH.Parent = nil | |
2956 | RW.Name = "Right Shoulder" | |
2957 | RW.Part0 = ch.Torso | |
2958 | RW.C0 = cf(1.5, 0.5, 0) | |
2959 | RW.C1 = cf(0, 0.5, 0) | |
2960 | RW.Part1 = ch["Right Arm"] | |
2961 | RW.Parent = ch.Torso | |
2962 | LW.Name = "Left Shoulder" | |
2963 | LW.Part0 = ch.Torso | |
2964 | LW.C0 = cf(-1.5, 0.5, 0) | |
2965 | LW.C1 = cf(0, 0.5, 0) | |
2966 | LW.Part1 = ch["Left Arm"] | |
2967 | LW.Parent = ch.Torso | |
2968 | Animate.Parent = nil | |
2969 | equipanim() | |
2970 | else | |
2971 | equipped = false | |
2972 | hideanim() | |
2973 | LH.C1 = LHC1 | |
2974 | RH.C1 = RHC1 | |
2975 | Animate.Parent = Humanoid | |
2976 | swait(0) | |
2977 | RW.Parent = nil | |
2978 | LW.Parent = nil | |
2979 | RSH.Parent = player.Character.Torso | |
2980 | LSH.Parent = player.Character.Torso | |
2981 | end | |
2982 | attack = false | |
2983 | end | |
2984 | if equipped == false then | |
2985 | return | |
2986 | end | |
2987 | if key == "x" and invisnum.Value > 5 then | |
2988 | Invisibility() | |
2989 | end | |
2990 | if key == "q" then | |
2991 | do1() | |
2992 | end | |
2993 | if key == "e" then | |
2994 | do2() | |
2995 | end | |
2996 | if key == "r" then | |
2997 | do3() | |
2998 | end | |
2999 | if key == "f" then | |
3000 | do4() | |
3001 | end | |
3002 | end | |
3003 | key2 = function(key) | |
3004 | end | |
3005 | s = function(mouse) | |
3006 | mouse.Button1Down:connect(function() | |
3007 | ob1d(mouse) | |
3008 | end) | |
3009 | mouse.Button1Up:connect(function() | |
3010 | ob1u(mouse) | |
3011 | end) | |
3012 | mouse.KeyDown:connect(key) | |
3013 | mouse.KeyUp:connect(key2) | |
3014 | player = Player | |
3015 | ch = Character | |
3016 | MMouse = mouse | |
3017 | end | |
3018 | ds = function(mouse) | |
3019 | end | |
3020 | Bin.Selected:connect(s) | |
3021 | Bin.Deselected:connect(ds) | |
3022 | print("Renegade loaded.") | |
3023 | local mananum = 0 | |
3024 | local donum = 0 | |
3025 | local stunnum = 0 | |
3026 | local staggeranim = false | |
3027 | local stunanim = false | |
3028 | local Point, LastPoint = nil, nil | |
3029 | local passivenum = 100 | |
3030 | local pnum2 = 0 | |
3031 | local walk = 0 | |
3032 | local walkforw = true | |
3033 | local addpassive = 0 | |
3034 | local gashnum = 0 | |
3035 | while true do | |
3036 | swait() | |
3037 | if Humanoid.Health <= 0 then | |
3038 | attack = true | |
3039 | for i = 1, #Marked do | |
3040 | if MarkedGUI[i] ~= nil and MarkedGUI[i][1] ~= nil then | |
3041 | MarkedGUI[i][1].Parent = nil | |
3042 | end | |
3043 | table.remove(MarkedGUI, i) | |
3044 | table.remove(Marked, i) | |
3045 | end | |
3046 | resumeControl() | |
3047 | modelzorz.Parent = workspace | |
3048 | game:GetService("Debris"):AddItem(modelzorz, 30) | |
3049 | for i = 1, #Weapon do | |
3050 | Weapon[i].Parent = modelzorz | |
3051 | Weapon[i].CanCollide = true | |
3052 | end | |
3053 | for i = 1, #Welds do | |
3054 | if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then | |
3055 | Welds[i].Parent = nil | |
3056 | else | |
3057 | Welds[i].Parent = prt1 | |
3058 | end | |
3059 | end | |
3060 | end | |
3061 | do | |
3062 | if fnumb < 21 then | |
3063 | fnumb = fnumb + 1 | |
3064 | if pressedf == false then | |
3065 | fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025 | |
3066 | tellbar.TextTransparency = tellbar.TextTransparency - 0.05 | |
3067 | tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05 | |
3068 | else | |
3069 | if fnumb == 20 then | |
3070 | fenframe5.Parent = nil | |
3071 | print("daigui") | |
3072 | end | |
3073 | fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025 | |
3074 | tellbar.TextTransparency = tellbar.TextTransparency + 0.05 | |
3075 | tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05 | |
3076 | end | |
3077 | end | |
3078 | if hbwld.Parent == nil then | |
3079 | hitbox2.Name = "Hitbox2" | |
3080 | else | |
3081 | hitbox2.Name = "Hitbox2" | |
3082 | end | |
3083 | if hbwld.Parent == nil then | |
3084 | hitbox2.Name = "Hitbox" | |
3085 | else | |
3086 | hitbox2.Name = "Hitbox2" | |
3087 | end | |
3088 | if doing2 == true then | |
3089 | gashnum = gashnum + 1 | |
3090 | if (gashnum) % 10 == 0 then | |
3091 | if 0 < mana.Value then | |
3092 | mana.Value = mana.Value - -2 | |
3093 | else | |
3094 | do2() | |
3095 | end | |
3096 | end | |
3097 | MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 2, 2, 2, 0.05) | |
3098 | MagicBlock(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 1, 1, 1, 1, 0.025) | |
3099 | MagicBlock(BrickColor.new("Really black"), prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2) * cf(0, math.random(-100, 100) / 100, math.random(-200, 200) / 100), 0, 0, 0, 1, 1, 1, 1, 1) | |
3100 | end | |
3101 | hitbox2.Parent = hitbox.Parent | |
3102 | hitbox2.Size = hitbox.Size | |
3103 | hitbox2.CFrame = hitboxCF | |
3104 | hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100) | |
3105 | hitbox.Transparency = 1 | |
3106 | hitbox2.Transparency = 1 | |
3107 | for i = 1, #Marked do | |
3108 | if Marked[i] ~= nil then | |
3109 | if Marked[i][1].Parent == nil then | |
3110 | MarkedGUI[i][1].Parent = nil | |
3111 | table.remove(MarkedGUI, i) | |
3112 | table.remove(Marked, i) | |
3113 | else | |
3114 | if MarkedGUI[i][1].Parent ~= nil then | |
3115 | MarkedGUI[i][1].Size = UDim2.new(7 + Marked[i][4].Value, 0, 7 + Marked[i][4].Value, 0) | |
3116 | if 0 < Marked[i][4].Value then | |
3117 | Marked[i][4].Value = Marked[i][4].Value - 1 | |
3118 | end | |
3119 | if MarkedGUI[i][2].Parent ~= nil then | |
3120 | if Marked[i][3].Value == 0 then | |
3121 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3122 | else | |
3123 | if Marked[i][3].Value == 1 then | |
3124 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3125 | else | |
3126 | if Marked[i][3].Value == 2 then | |
3127 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3128 | else | |
3129 | if Marked[i][3].Value == 3 then | |
3130 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3131 | else | |
3132 | if Marked[i][3].Value == 4 then | |
3133 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3134 | else | |
3135 | if Marked[i][3].Value == 5 then | |
3136 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3137 | else | |
3138 | if Marked[i][3].Value == 6 then | |
3139 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3140 | else | |
3141 | if Marked[i][3].Value == 7 then | |
3142 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3143 | else | |
3144 | if Marked[i][3].Value == 8 then | |
3145 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3146 | else | |
3147 | if Marked[i][3].Value == 9 then | |
3148 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3149 | else | |
3150 | if Marked[i][3].Value == 10 then | |
3151 | MarkedGUI[i][2].Image = "rbxassetid://203216041" | |
3152 | end | |
3153 | end | |
3154 | end | |
3155 | end | |
3156 | end | |
3157 | end | |
3158 | end | |
3159 | end | |
3160 | end | |
3161 | end | |
3162 | end | |
3163 | end | |
3164 | end | |
3165 | if Marked[i][2] ~= nil then | |
3166 | Marked[i][2].Value = Marked[i][2].Value - 1 | |
3167 | if Marked[i][2].Value <= 0 then | |
3168 | Marked[i][1].Parent = nil | |
3169 | MarkedGUI[i][1].Parent = nil | |
3170 | table.remove(MarkedGUI, i) | |
3171 | table.remove(Marked, i) | |
3172 | end | |
3173 | end | |
3174 | end | |
3175 | end | |
3176 | end | |
3177 | scarfp2.CFrame = cf(RootPart.Position, testpart.Position) * cf(0, 0, 0) | |
3178 | scarfp2.CFrame = scarfp2.CFrame + scarfp2.CFrame.lookVector * 0.5 | |
3179 | scarfp2.CFrame = scarfp2.CFrame * cf(0, 0, 0) * euler(1.57, 0, 0) | |
3180 | testpart.CFrame = cf(RootPart.Position - RootPart.Velocity) * cf(0, 1, 0) | |
3181 | if invisible == true then | |
3182 | addpassive = addpassive + 1 | |
3183 | for i = 1, 1 do | |
3184 | MagicCircle2(BrickColor.new("Black"), scarfp2.CFrame * euler(0, 0, math.rad(180)) * cf(math.random(-300, 300) / 100, math.random(-200, 200) / 100, math.random(-300, 300) / 100), 1.5, 10, 1.5, -0.2, 1, -0.2, 0.2) | |
3185 | end | |
3186 | if 50 <= addpassive then | |
3187 | addpassive = 0 | |
3188 | for _,c in pairs(workspace:children()) do | |
3189 | local hum = (c:findFirstChild("Humanoid")) | |
3190 | if hum ~= nil then | |
3191 | local head = nil | |
3192 | for _,d in pairs(c:children()) do | |
3193 | if d.Name == "HumanoidRootPart" then | |
3194 | local targ = d.Position - RootPart.Position | |
3195 | local mag = targ.magnitude | |
3196 | if mag <= 60 and c.Name ~= Player.Name then | |
3197 | mark = d.Parent:findFirstChild("Mark") | |
3198 | if mark ~= nil then | |
3199 | if (mark:findFirstChild("MarkTime")) ~= nil then | |
3200 | mark.MarkTime.Value = 500 | |
3201 | end | |
3202 | if (mark:findFirstChild("MarkValue")) ~= nil then | |
3203 | if (mark:findFirstChild("MarkSize")) ~= nil then | |
3204 | mark.MarkSize.Value = 5 | |
3205 | end | |
3206 | if mark.MarkValue.Value < 10 then | |
3207 | mark.MarkValue.Value = mark.MarkValue.Value + 1 | |
3208 | end | |
3209 | end | |
3210 | end | |
3211 | end | |
3212 | end | |
3213 | end | |
3214 | end | |
3215 | end | |
3216 | end | |
3217 | end | |
3218 | do | |
3219 | pursuitnum = pursuitnum + 1 | |
3220 | if 13 <= passivenum and 150 < pursuitnum and 0 < invisnum.Value then | |
3221 | invisnum.Value = invisnum.Value - 1 | |
3222 | passivenum = 0 | |
3223 | end | |
3224 | if 8 <= passivenum and invisible == true then | |
3225 | invisnum.Value = invisnum.Value - 1 | |
3226 | pursuitnum = 0 | |
3227 | passivenum = 0 | |
3228 | end | |
3229 | if 100 <= invisnum.Value then | |
3230 | invisnum.Value = 100 | |
3231 | end | |
3232 | if invisible == true and invisnum.Value <= 0 then | |
3233 | Invisibility() | |
3234 | end | |
3235 | passivenum = passivenum + 1 | |
3236 | if Stagger.Value == true and staggeranim == false then | |
3237 | coroutine.resume(coroutine.create(function() | |
3238 | staggeranim = true | |
3239 | while attack == true do | |
3240 | swait() | |
3241 | end | |
3242 | StaggerAnim() | |
3243 | StaggerHit.Value = false | |
3244 | Stagger.Value = false | |
3245 | staggeranim = false | |
3246 | end)) | |
3247 | end | |
3248 | if StaggerHit.Value == true and staggeranim == false then | |
3249 | coroutine.resume(coroutine.create(function() | |
3250 | staggeranim = true | |
3251 | while attack == true do | |
3252 | swait() | |
3253 | end | |
3254 | StaggerHitt() | |
3255 | StaggerHit.Value = false | |
3256 | Stagger.Value = false | |
3257 | staggeranim = false | |
3258 | end)) | |
3259 | end | |
3260 | if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then | |
3261 | Humanoid.WalkSpeed = 0 | |
3262 | else | |
3263 | Humanoid.WalkSpeed = 16 * Mvmt.Value | |
3264 | end | |
3265 | if StunT.Value <= Stun.Value and stunanim == false then | |
3266 | coroutine.resume(coroutine.create(function() | |
3267 | stunanim = true | |
3268 | while attack == true do | |
3269 | swait() | |
3270 | end | |
3271 | StunAnim() | |
3272 | Stun.Value = 0 | |
3273 | stunanim = false | |
3274 | end)) | |
3275 | end | |
3276 | local stunnum2 = 30 | |
3277 | if stunnum2 <= stunnum then | |
3278 | if 0 < Stun.Value then | |
3279 | Stun.Value = Stun.Value - 1 | |
3280 | end | |
3281 | stunnum = 0 | |
3282 | end | |
3283 | stunnum = stunnum + 1 | |
3284 | if 0.5 <= donum then | |
3285 | handidle = true | |
3286 | else | |
3287 | if donum <= 0 then | |
3288 | handidle = false | |
3289 | end | |
3290 | end | |
3291 | if handidle == false then | |
3292 | donum = donum + 0.003 | |
3293 | else | |
3294 | donum = donum - 0.003 | |
3295 | end | |
3296 | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3297 | local velderp = RootPart.Velocity.y | |
3298 | hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
3299 | if equipped == true then | |
3300 | if attack == false then | |
3301 | idle = idle + 1 | |
3302 | else | |
3303 | idle = 0 | |
3304 | end | |
3305 | if (500 <= idle and attack ~= false) or Anim == "Walk" then | |
3306 | if walkforw == true then | |
3307 | RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50) | |
3308 | LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50) | |
3309 | else | |
3310 | RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50) | |
3311 | LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50) | |
3312 | end | |
3313 | else | |
3314 | RH.C1 = clerp(RH.C1, RHC1, 0.2) | |
3315 | LH.C1 = clerp(LH.C1, LHC1, 0.2) | |
3316 | end | |
3317 | if 1 < RootPart.Velocity.y and hitfloor == nil then | |
3318 | Anim = "Jump" | |
3319 | if attack == false then | |
3320 | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2) | |
3321 | wld1.C0 = clerp(wld1.C0, cf(0, -2, 0) * euler(0.3, 0, -0.1), 0.2) | |
3322 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2) | |
3323 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2) | |
3324 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.5, 0, 0.5), 0.2) | |
3325 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
3326 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1, 0, -0.2), 0.2) | |
3327 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
3328 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2) | |
3329 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2) | |
3330 | end | |
3331 | else | |
3332 | if RootPart.Velocity.y < -1 and hitfloor == nil then | |
3333 | Anim = "Fall" | |
3334 | if attack == false then | |
3335 | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2) | |
3336 | wld1.C0 = clerp(wld1.C0, cf(0, -2, 0) * euler(0.3, 0, -0.1), 0.2) | |
3337 | Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2) | |
3338 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2) | |
3339 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1), 0.2) | |
3340 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
3341 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2), 0.2) | |
3342 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
3343 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2) | |
3344 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2) | |
3345 | end | |
3346 | else | |
3347 | if torvel < 1 and hitfloor ~= nil then | |
3348 | Anim = "Idle" | |
3349 | if attack == false then | |
3350 | handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.2) | |
3351 | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1.3, 0) * euler(0, 0, 1.8), 0.2) | |
3352 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.15) | |
3353 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.2, 0, 0) * euler(0, 0, -1), 0.15) | |
3354 | RW.C0 = clerp(RW.C0, cf(1.3, 0.4, -0.3) * euler(0.4, 0, 0.1) * euler(0, 1.2, 0), 0.15) | |
3355 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15) | |
3356 | LW.C0 = clerp(LW.C0, cf(-1.4, 0.4, -0.3) * euler(1.2, 0, 0.2) * euler(0, 1.4, 0), 0.15) | |
3357 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15) | |
3358 | RH.C0 = clerp(RH.C0, cf(0.9, -0.8, -0.6) * euler(0, 1.57, 0) * euler(0, 1, -0.2), 0.2) | |
3359 | LH.C0 = clerp(LH.C0, cf(-0.9, -0.5, 0.4) * euler(0, -1.57, 0) * euler(0, 1, -0.1), 0.2) | |
3360 | end | |
3361 | else | |
3362 | if 2 < torvel and torvel < 30 and hitfloor ~= nil then | |
3363 | Anim = "Walk" | |
3364 | walk = walk + 1 | |
3365 | if 15 - 5 * Mvmt.Value <= walk then | |
3366 | walk = 0 | |
3367 | if walkforw == true then | |
3368 | walkforw = false | |
3369 | else | |
3370 | if walkforw == false then | |
3371 | walkforw = true | |
3372 | end | |
3373 | end | |
3374 | end | |
3375 | if attack == false then | |
3376 | if mode == "Sheathed" then | |
3377 | handlewld.Part1 = Torso | |
3378 | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, -0.9) * cf(3.2, -3, -0.6), 0.3) | |
3379 | wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0), 0.3) | |
3380 | Neck.C0 = clerp(Neck.C0, necko * euler(0.1, 0, 0), 0.2) | |
3381 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.1, 0, 0), 0.2) | |
3382 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0.1) * euler(0, 0, 0), 0.2) | |
3383 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.1), 0.2) | |
3384 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.2) | |
3385 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.2) | |
3386 | else | |
3387 | handlewld.Part1 = RightArm | |
3388 | handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3) | |
3389 | wld1.C0 = clerp(wld1.C0, cf(0, -0.8, 0) * euler(0, 1.57, 0) * euler(-1.9, 0, 0), 0.3) | |
3390 | Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.15) | |
3391 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0.2, 0, 0) * euler(0, 0, -0.6), 0.15) | |
3392 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, -0.2) * euler(0.8, 0, -0.2) * euler(0, -2.6, 0), 0.15) | |
3393 | LW.C0 = clerp(LW.C0, cf(-0.2, 0.4, -1) * euler(1.4, 0, 0.4) * euler(0, -2, 0), 0.15) | |
3394 | RH.C0 = clerp(RH.C0, cf(1, -0.9, -0.3) * euler(0, 1.57, 0) * euler(-0.2, 0.6, 0) * euler(0, 0, 0.2), 0.2) | |
3395 | LH.C0 = clerp(LH.C0, cf(-1.3, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.2), 0.2) | |
3396 | end | |
3397 | end | |
3398 | else | |
3399 | end | |
3400 | end | |
3401 | end | |
3402 | end | |
3403 | end | |
3404 | if 0 < #Effects then | |
3405 | for e = 1, #Effects do | |
3406 | if Effects[e] ~= nil then | |
3407 | local Thing = Effects[e] | |
3408 | if Thing ~= nil then | |
3409 | local Part = Thing[1] | |
3410 | local Mode = Thing[2] | |
3411 | local Delay = Thing[3] | |
3412 | local IncX = Thing[4] | |
3413 | local IncY = Thing[5] | |
3414 | local IncZ = Thing[6] | |
3415 | if Thing[2] == "CylinderClang" then | |
3416 | if Thing[3] <= 1 then | |
3417 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3418 | Thing[7] = Thing[1].CFrame | |
3419 | effect("New Yeller", 0, Thing[8], Thing[7]) | |
3420 | Thing[8] = Thing[7] | |
3421 | Thing[3] = Thing[3] + Thing[4] | |
3422 | else | |
3423 | Part.Parent = nil | |
3424 | table.remove(Effects, e) | |
3425 | end | |
3426 | end | |
3427 | if Thing[2] == "showDamage" then | |
3428 | if Thing[6] < Thing[5] then | |
3429 | Thing[6] = Thing[6] + 1 | |
3430 | else | |
3431 | if Thing[6] < Thing[7] then | |
3432 | Thing[4].position = Thing[4].position + vt(0, -0.2, 0) | |
3433 | Thing[6] = Thing[6] + 1 | |
3434 | else | |
3435 | if Thing[6] < Thing[8] then | |
3436 | Thing[6] = Thing[6] + 1 | |
3437 | else | |
3438 | if Thing[6] < Thing[9] then | |
3439 | Thing[6] = Thing[6] + 1 | |
3440 | Thing[4].position = Thing[4].position + vt(0, 0.2, 0) | |
3441 | Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1 | |
3442 | Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1 | |
3443 | else | |
3444 | Thing[1].Parent = nil | |
3445 | table.remove(Effects, e) | |
3446 | end | |
3447 | end | |
3448 | end | |
3449 | end | |
3450 | end | |
3451 | if Thing[2] == "PartiEmi" then | |
3452 | Thing[3] = Thing[3] - 1 | |
3453 | if Thing[3] <= 0 then | |
3454 | Thing[1].Enabled = false | |
3455 | table.remove(Effects, e) | |
3456 | end | |
3457 | end | |
3458 | if Thing[2] == "AdjuEff" then | |
3459 | if 0 < Thing[3] then | |
3460 | Thing[3] = Thing[3] - 1 | |
3461 | Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0) | |
3462 | Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0) | |
3463 | Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1 | |
3464 | else | |
3465 | Thing[1].Parent = nil | |
3466 | table.remove(Effects, e) | |
3467 | end | |
3468 | end | |
3469 | if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" and Thing[2] ~= "PartiEmi" and Thing[2] ~= "AdjuEff" then | |
3470 | if Thing[1].Transparency <= 1 then | |
3471 | if Thing[2] == "Block1" then | |
3472 | Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3473 | Mesh = Thing[7] | |
3474 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3475 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3476 | else | |
3477 | if Thing[2] == "Block2" then | |
3478 | Thing[1].CFrame = Thing[1].CFrame | |
3479 | Mesh = Thing[7] | |
3480 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3481 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3482 | else | |
3483 | if Thing[2] == "Block3" then | |
3484 | Thing[9] = Thing[9] + 0.5 | |
3485 | Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0) | |
3486 | Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3487 | Mesh = Thing[7] | |
3488 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3489 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3490 | else | |
3491 | if Thing[2] == "Skull" then | |
3492 | Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8]) | |
3493 | Mesh = Thing[7] | |
3494 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3495 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3496 | else | |
3497 | if Thing[2] == "Cylinder" then | |
3498 | Mesh = Thing[7] | |
3499 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3500 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3501 | else | |
3502 | if Thing[2] == "Cylinder2" then | |
3503 | Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0) | |
3504 | Mesh = Thing[7] | |
3505 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3506 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3507 | else | |
3508 | if Thing[2] == "Blood" then | |
3509 | Mesh = Thing[7] | |
3510 | Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0) | |
3511 | Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6]) | |
3512 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3513 | else | |
3514 | if Thing[2] == "Elec" then | |
3515 | Mesh = Thing[10] | |
3516 | Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9]) | |
3517 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3518 | else | |
3519 | if Thing[2] == "Disappear" then | |
3520 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3521 | end | |
3522 | end | |
3523 | end | |
3524 | end | |
3525 | end | |
3526 | end | |
3527 | end | |
3528 | end | |
3529 | end | |
3530 | else | |
3531 | Part.Parent = nil | |
3532 | table.remove(Effects, e) | |
3533 | end | |
3534 | end | |
3535 | end | |
3536 | end | |
3537 | end | |
3538 | end | |
3539 | do | |
3540 | fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true) | |
3541 | fenbarmana4.Text = "Mana(" .. mana.Value .. ")" | |
3542 | fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0) | |
3543 | fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true) | |
3544 | fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")" | |
3545 | fenbarblock2:TweenSize((UDim2.new(0.4, 0, -4 * invisnum.Value / 100, 0)), nil, 1, 0.4, true) | |
3546 | fenbarblock3.Text = "Burst(" .. invisnum.Value .. ")" | |
3547 | fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true) | |
3548 | fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true) | |
3549 | fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true) | |
3550 | fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true) | |
3551 | for _,c in pairs(Decrease:children()) do | |
3552 | if (c:findFirstChild("Duration")) ~= nil then | |
3553 | c.Duration.Value = c.Duration.Value - 1 | |
3554 | if c.Duration.Value <= 0 then | |
3555 | c.Parent = nil | |
3556 | end | |
3557 | end | |
3558 | if c.Name == "DecreaseAtk" then | |
3559 | decreaseatk = decreaseatk + c.Value | |
3560 | else | |
3561 | if c.Name == "DecreaseDef" then | |
3562 | decreasedef = decreasedef + c.Value | |
3563 | else | |
3564 | if c.Name == "DecreaseMvmt" then | |
3565 | decreasemvmt = decreasemvmt + c.Value | |
3566 | end | |
3567 | end | |
3568 | end | |
3569 | end | |
3570 | Atk.Value = math.huge - (decreaseatk) | |
3571 | if Atk.Value <= 0 then | |
3572 | Atk.Value = math.huge | |
3573 | end | |
3574 | Def.Value = math.huge - (decreasedef) | |
3575 | if Def.Value <= 0 then | |
3576 | Def.Value = math.huge | |
3577 | end | |
3578 | Mvmt.Value = 1 - (decreasemvmt) | |
3579 | if Mvmt.Value <= 0 then | |
3580 | Mvmt.Value = 0 | |
3581 | end | |
3582 | decreaseatk = 0 | |
3583 | decreasedef = 0 | |
3584 | decreasemvmt = 0 | |
3585 | AtkVal = Atk.Value * 100 | |
3586 | AtkVal = math.floor(AtkVal) | |
3587 | AtkVal = AtkVal / 100 | |
3588 | fenbardamage.Text = "Damage\n(" .. AtkVal .. ")" | |
3589 | DefVal = Def.Value * 100 | |
3590 | DefVal = math.floor(DefVal) | |
3591 | DefVal = DefVal / 100 | |
3592 | fenbardef.Text = "Defense\n(" .. DefVal .. ")" | |
3593 | MvmtVal = Mvmt.Value * 100 | |
3594 | MvmtVal = math.floor(MvmtVal) | |
3595 | MvmtVal = MvmtVal / 100 | |
3596 | if Rooted.Value == true then | |
3597 | MvmtVal = 0 | |
3598 | end | |
3599 | fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")" | |
3600 | if StunT.Value <= Stun.Value then | |
3601 | fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true) | |
3602 | else | |
3603 | fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true) | |
3604 | end | |
3605 | fenbarstun3.Text = "Stun(" .. Stun.Value .. ")" | |
3606 | if 100 <= mana.Value then | |
3607 | mana.Value = 100 | |
3608 | else | |
3609 | if mananum <= 12 then | |
3610 | mananum = mananum + 1 | |
3611 | else | |
3612 | mananum = 0 | |
3613 | mana.Value = mana.Value + 100 | |
3614 | end | |
3615 | end | |
3616 | for i = 1, #cooldowns do | |
3617 | if cooldownmax <= cooldowns[i] then | |
3618 | cooldowns[i] = cooldownmax | |
3619 | else | |
3620 | cooldowns[i] = cooldowns[i] + cooldownsadd[i] | |
3621 | end | |
3622 | end | |
3623 | -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT | |
3624 | handleorb = LeftArm | |
3625 | -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT | |
3626 | handlearm = LeftArm | |
3627 | handleorbo = LeftArm | |
3628 | -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT | |
3629 | prt12 = handle | |
3630 | ||
3631 | end | |
3632 | end | |
3633 | end | |
3634 | end |