SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | THE MURDERER | |
3 | Created by Quil_Cyndaquil (ROBLOX) | |
4 | MintyLatios (V3rmillion) | |
5 | Minty Latios#1938 | |
6 | ||
7 | Credit to CKbackup for the knife | |
8 | Credit to Rufus14 for the ragdolls | |
9 | ||
10 | ||
11 | --]] | |
12 | wait(1 / 60) | |
13 | Effects = { } | |
14 | local Player = game.Players.localPlayer | |
15 | local Character = Player.Character | |
16 | local Humanoid = Character.Humanoid | |
17 | local Mouse = Player:GetMouse() | |
18 | local LeftArm = Character["Left Arm"] | |
19 | local RightArm = Character["Right Arm"] | |
20 | local LeftLeg = Character["Left Leg"] | |
21 | local RightLeg = Character["Right Leg"] | |
22 | local Head = Character.Head | |
23 | local Torso = Character.Torso | |
24 | local Camera = game.Workspace.CurrentCamera | |
25 | local RootPart = Character.HumanoidRootPart | |
26 | local RootJoint = RootPart.RootJoint | |
27 | local attack = false | |
28 | local Anim = 'Idle' | |
29 | local Lighty = game:GetService"Lighting" | |
30 | local attacktype = 1 | |
31 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
32 | local velocity = RootPart.Velocity.y | |
33 | local sine = 0 | |
34 | local change = 1 | |
35 | local Create = LoadLibrary("RbxUtility").Create | |
36 | ||
37 | ||
38 | local chara = Character | |
39 | local m = Create("Model"){ | |
40 | Parent = Character, | |
41 | Name = "WeaponModel", | |
42 | } | |
43 | ||
44 | Humanoid.Animator.Parent = nil | |
45 | Character.Animate.Parent = nil | |
46 | ||
47 | Humanoid.WalkSpeed = 8 | |
48 | ||
49 | ||
50 | local newMotor = function(part0, part1, c0, c1) | |
51 | local w = Create('Motor'){ | |
52 | Parent = part0, | |
53 | Part0 = part0, | |
54 | Part1 = part1, | |
55 | C0 = c0, | |
56 | C1 = c1, | |
57 | } | |
58 | return w | |
59 | end | |
60 | ||
61 | function clerp(a, b, t) | |
62 | return a:lerp(b, t) | |
63 | end | |
64 | ||
65 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
66 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
67 | ||
68 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
69 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
70 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
71 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
72 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
73 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
74 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
75 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
76 | ||
77 | local rarmc1 = RW.C1 | |
78 | local larmc1 = LW.C1 | |
79 | local rlegc1 = RH.C1 | |
80 | local llegc1 = LH.C1 | |
81 | ||
82 | local resetc1 = false | |
83 | ||
84 | function PlayAnimationFromTable(table, speed, bool) | |
85 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
86 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
87 | RW.C0 = clerp(RW.C0, table[3], speed) | |
88 | LW.C0 = clerp(LW.C0, table[4], speed) | |
89 | RH.C0 = clerp(RH.C0, table[5], speed) | |
90 | LH.C0 = clerp(LH.C0, table[6], speed) | |
91 | if bool == true then | |
92 | if resetc1 == false then | |
93 | resetc1 = true | |
94 | RootJoint.C1 = RootJoint.C1 | |
95 | Torso.Neck.C1 = Torso.Neck.C1 | |
96 | RW.C1 = rarmc1 | |
97 | LW.C1 = larmc1 | |
98 | RH.C1 = rlegc1 | |
99 | LH.C1 = llegc1 | |
100 | end | |
101 | end | |
102 | end | |
103 | ||
104 | ArtificialHB = Create("BindableEvent", script){ | |
105 | Parent = script, | |
106 | Name = "Heartbeat", | |
107 | } | |
108 | ||
109 | script:WaitForChild("Heartbeat") | |
110 | ||
111 | frame = 1 / 30 | |
112 | tf = 0 | |
113 | allowframeloss = false | |
114 | tossremainder = false | |
115 | lastframe = tick() | |
116 | script.Heartbeat:Fire() | |
117 | ||
118 | ||
119 | New = function(Object, Parent, Name, Data) | |
120 | local Object = Instance.new(Object) | |
121 | for Index, Value in pairs(Data or {}) do | |
122 | Object[Index] = Value | |
123 | end | |
124 | Object.Parent = Parent | |
125 | Object.Name = Name | |
126 | return Object | |
127 | end | |
128 | ||
129 | if chara.Head:FindFirstChild"face" then | |
130 | chara.Head.face.Texture = "rbxassetid://67493879" | |
131 | end | |
132 | --Credit to Psychopath for this shit | |
133 | ||
134 | Knifu = New("Model",chara,"Knifu",{}) | |
135 | 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),}) | |
136 | Mesh = New("CylinderMesh",Handle,"Mesh",{}) | |
137 | KWeld = New("Weld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0=CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))}) | |
138 | 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,}) | |
139 | 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),}) | |
140 | 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),}) | |
141 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
142 | 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),}) | |
143 | 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),}) | |
144 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
145 | 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),}) | |
146 | 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),}) | |
147 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
148 | 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),}) | |
149 | 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),}) | |
150 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
151 | 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),}) | |
152 | 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,}) | |
153 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
154 | 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),}) | |
155 | 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),}) | |
156 | Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
157 | 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),}) | |
158 | 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,}) | |
159 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
160 | 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),}) | |
161 | 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,}) | |
162 | 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,}) | |
163 | 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),}) | |
164 | 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,}) | |
165 | 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,}) | |
166 | 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),}) | |
167 | 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,}) | |
168 | 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,}) | |
169 | 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),}) | |
170 | 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,}) | |
171 | 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,}) | |
172 | 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),}) | |
173 | 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,}) | |
174 | 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,}) | |
175 | 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),}) | |
176 | 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,}) | |
177 | 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,}) | |
178 | 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),}) | |
179 | 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,}) | |
180 | 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,}) | |
181 | 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),}) | |
182 | 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,}) | |
183 | 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,}) | |
184 | 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),}) | |
185 | 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,}) | |
186 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
187 | 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),}) | |
188 | 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),}) | |
189 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
190 | 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),}) | |
191 | 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),}) | |
192 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
193 | 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),}) | |
194 | 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),}) | |
195 | Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
196 | 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),}) | |
197 | 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),}) | |
198 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
199 | 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),}) | |
200 | 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),}) | |
201 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
202 | 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),}) | |
203 | ||
204 | local p1mit = Instance.new("ParticleEmitter",Hitbox) | |
205 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
206 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
207 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
208 | p1mit.Lifetime = NumberRange.new(2) | |
209 | p1mit.Rate = 100 | |
210 | p1mit.Enabled = false | |
211 | p1mit.Acceleration = Vector3.new(0,-5,0) | |
212 | p1mit.Rotation = NumberRange.new(0,359) | |
213 | p1mit.Speed = NumberRange.new(0) | |
214 | local p2mit = Instance.new("ParticleEmitter",BloodPart) | |
215 | p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" | |
216 | p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
217 | p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)}) | |
218 | p2mit.Lifetime = NumberRange.new(1) | |
219 | p2mit.Rate = 10 | |
220 | p2mit.Acceleration = Vector3.new(0,-10,0) | |
221 | p2mit.Speed = NumberRange.new(0) | |
222 | local p3mit = p2mit:Clone() | |
223 | p3mit.Parent = Blood2Part | |
224 | ||
225 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
226 | tf = tf + s | |
227 | if tf >= frame then | |
228 | if allowframeloss then | |
229 | script.Heartbeat:Fire() | |
230 | lastframe = tick() | |
231 | else | |
232 | for i = 1, math.floor(tf / frame) do | |
233 | script.Heartbeat:Fire() | |
234 | end | |
235 | lastframe = tick() | |
236 | end | |
237 | if tossremainder then | |
238 | tf = 0 | |
239 | else | |
240 | tf = tf - frame * math.floor(tf / frame) | |
241 | end | |
242 | end | |
243 | end) | |
244 | ||
245 | function swait(num) | |
246 | if num == 0 or num == nil then | |
247 | ArtificialHB.Event:wait() | |
248 | else | |
249 | for i = 0, num do | |
250 | ArtificialHB.Event:wait() | |
251 | end | |
252 | end | |
253 | end | |
254 | ||
255 | function RemoveOutlines(part) | |
256 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
257 | end | |
258 | ||
259 | ||
260 | local txt = Instance.new("BillboardGui", chara) | |
261 | txt.Adornee = chara.Head | |
262 | txt.Name = "Nametag" | |
263 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
264 | txt.StudsOffset = Vector3.new(-9, 6, 0) | |
265 | local text = Instance.new("TextLabel", txt) | |
266 | text.Size = UDim2.new(10, 0, 7, 0) | |
267 | text.TextSize = 24 | |
268 | text.Font = Enum.Font.Cartoon | |
269 | text.TextScaled = false | |
270 | text.BackgroundTransparency = 1 | |
271 | text.TextColor3 = Color3.new(1,1,1) | |
272 | text.TextStrokeTransparency = 0 | |
273 | text.TextStrokeColor3 = Color3.new(1,0,0) | |
274 | text.Text = "Michael Myers" | |
275 | ||
276 | function chat(...) | |
277 | local txxt = {...} | |
278 | local ch = coroutine.wrap(function() | |
279 | if chara:FindFirstChild("Chatt")~= nil then | |
280 | Character:FindFirstChild("Chatt"):destroy() | |
281 | end | |
282 | local txt = Instance.new("BillboardGui", chara) | |
283 | txt.Adornee = chara.Head | |
284 | txt.Name = "Chatt" | |
285 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
286 | txt.StudsOffset = Vector3.new(-9, 7, 0) | |
287 | local text = Instance.new("TextLabel", txt) | |
288 | text.Size = UDim2.new(10, 0, 7, 0) | |
289 | text.TextSize = 24 | |
290 | text.Font = Enum.Font.Cartoon | |
291 | text.TextScaled = false | |
292 | text.BackgroundTransparency = 1 | |
293 | text.TextColor3 = Color3.new(0,0,0) | |
294 | text.TextStrokeTransparency = 0 | |
295 | text.TextStrokeColor3 = Color3.new(1,0,0) | |
296 | text.Text = "" | |
297 | txxt = table.concat(txxt,"\t") | |
298 | for i = 1, #txxt do | |
299 | text.Text = txxt:sub(1,i) | |
300 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
301 | wait() | |
302 | end | |
303 | wait(2) | |
304 | for trans = 0,1,.1 do | |
305 | text.TextTransparency = trans | |
306 | text.TextStrokeTransparency = trans | |
307 | wait() | |
308 | end | |
309 | wait() | |
310 | txt:destroy() | |
311 | end) | |
312 | ||
313 | ch(...) | |
314 | end | |
315 | Player.Chatted:connect(chat) | |
316 | CFuncs = { | |
317 | ["Part"] = { | |
318 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
319 | local Part = Create("Part"){ | |
320 | Parent = Parent, | |
321 | Reflectance = Reflectance, | |
322 | Transparency = Transparency, | |
323 | CanCollide = false, | |
324 | Locked = true, | |
325 | BrickColor = BrickColor.new(tostring(BColor)), | |
326 | Name = Name, | |
327 | Size = Size, | |
328 | Material = Material, | |
329 | } | |
330 | RemoveOutlines(Part) | |
331 | return Part | |
332 | end; | |
333 | }; | |
334 | ||
335 | ["Mesh"] = { | |
336 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
337 | local Msh = Create(Mesh){ | |
338 | Parent = Part, | |
339 | Offset = OffSet, | |
340 | Scale = Scale, | |
341 | } | |
342 | if Mesh == "SpecialMesh" then | |
343 | Msh.MeshType = MeshType | |
344 | Msh.MeshId = MeshId | |
345 | end | |
346 | return Msh | |
347 | end; | |
348 | }; | |
349 | ||
350 | ["Mesh"] = { | |
351 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
352 | local Msh = Create(Mesh){ | |
353 | Parent = Part, | |
354 | Offset = OffSet, | |
355 | Scale = Scale, | |
356 | } | |
357 | if Mesh == "SpecialMesh" then | |
358 | Msh.MeshType = MeshType | |
359 | Msh.MeshId = MeshId | |
360 | end | |
361 | return Msh | |
362 | end; | |
363 | }; | |
364 | ||
365 | ["Weld"] = { | |
366 | Create = function(Parent, Part0, Part1, C0, C1) | |
367 | local Weld = Create("Weld"){ | |
368 | Parent = Parent, | |
369 | Part0 = Part0, | |
370 | Part1 = Part1, | |
371 | C0 = C0, | |
372 | C1 = C1, | |
373 | } | |
374 | return Weld | |
375 | end; | |
376 | }; | |
377 | ||
378 | ["Sound"] = { | |
379 | Create = function(id, par, vol, pit) | |
380 | coroutine.resume(coroutine.create(function() | |
381 | local S = Create("Sound"){ | |
382 | Volume = vol, | |
383 | Pitch = pit or 1, | |
384 | SoundId = id, | |
385 | Parent = par or workspace, | |
386 | } | |
387 | wait() | |
388 | S:play() | |
389 | game:GetService("Debris"):AddItem(S, 6) | |
390 | end)) | |
391 | end; | |
392 | }; | |
393 | ||
394 | ["ParticleEmitter"] = { | |
395 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
396 | local fp = Create("ParticleEmitter"){ | |
397 | Parent = Parent, | |
398 | Color = ColorSequence.new(Color1, Color2), | |
399 | LightEmission = LightEmission, | |
400 | Size = Size, | |
401 | Texture = Texture, | |
402 | Transparency = Transparency, | |
403 | ZOffset = ZOffset, | |
404 | Acceleration = Accel, | |
405 | Drag = Drag, | |
406 | LockedToPart = LockedToPart, | |
407 | VelocityInheritance = VelocityInheritance, | |
408 | EmissionDirection = EmissionDirection, | |
409 | Enabled = Enabled, | |
410 | Lifetime = LifeTime, | |
411 | Rate = Rate, | |
412 | Rotation = Rotation, | |
413 | RotSpeed = RotSpeed, | |
414 | Speed = Speed, | |
415 | VelocitySpread = VelocitySpread, | |
416 | } | |
417 | return fp | |
418 | end; | |
419 | }; | |
420 | ||
421 | CreateTemplate = { | |
422 | ||
423 | }; | |
424 | } | |
425 | ||
426 | function rayCast(Position, Direction, Range, Ignore) | |
427 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
428 | end | |
429 | ||
430 | ||
431 | FindNearestTorso = function(pos) | |
432 | local list = (game.Workspace:children()) | |
433 | local torso = nil | |
434 | local dist = 1000 | |
435 | local temp, human, temp2 = nil, nil, nil | |
436 | for x = 1, #list do | |
437 | temp2 = list[x] | |
438 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
439 | temp = temp2:findFirstChild("Torso") | |
440 | human = temp2:findFirstChild("Humanoid") | |
441 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
442 | local dohit = true | |
443 | if dohit == true then | |
444 | torso = temp | |
445 | dist = (temp.Position - pos).magnitude | |
446 | end | |
447 | end | |
448 | end | |
449 | end | |
450 | return torso, dist | |
451 | end | |
452 | ||
453 | function FindNearestTorsos(Position, Distance, SinglePlayer) | |
454 | if SinglePlayer then | |
455 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
456 | end | |
457 | local List = {} | |
458 | for i, v in pairs(workspace:GetChildren()) do | |
459 | if v:IsA("Model") then | |
460 | if v:findFirstChild("Torso") then | |
461 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
462 | if v ~= Character then | |
463 | if (v.Torso.Position - Position).magnitude <= Distance then | |
464 | table.insert(List, {v,(v.Torso.Position - Position).magnitude}) | |
465 | end | |
466 | end | |
467 | end | |
468 | end | |
469 | end | |
470 | end | |
471 | return List | |
472 | end | |
473 | ||
474 | ||
475 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
476 | if hit.Parent == nil then | |
477 | return | |
478 | end | |
479 | local h = hit.Parent:FindFirstChild("Humanoid") | |
480 | for _, v in pairs(hit.Parent:children()) do | |
481 | if v:IsA("Humanoid") then | |
482 | h = v | |
483 | end | |
484 | end | |
485 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
486 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
487 | if hit.Parent.DebounceHit.Value == true then | |
488 | return | |
489 | end | |
490 | end | |
491 | local c = Create("ObjectValue"){ | |
492 | Name = "creator", | |
493 | Value = game:service("Players").LocalPlayer, | |
494 | Parent = h, | |
495 | } | |
496 | game:GetService("Debris"):AddItem(c, .5) | |
497 | if HitSound ~= nil and HitPitch ~= nil then | |
498 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
499 | end | |
500 | local Damage = math.random(minim, maxim) | |
501 | local blocked = false | |
502 | local block = hit.Parent:findFirstChild("Block") | |
503 | if block ~= nil then | |
504 | if block.className == "IntValue" then | |
505 | if block.Value > 0 then | |
506 | blocked = true | |
507 | block.Value = block.Value - 1 | |
508 | print(block.Value) | |
509 | end | |
510 | end | |
511 | end | |
512 | if blocked == false then | |
513 | h.Health = h.Health - Damage | |
514 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
515 | else | |
516 | h.Health = h.Health - (Damage / 2) | |
517 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
518 | end | |
519 | if Type == "Knockdown" then | |
520 | local hum = hit.Parent.Humanoid | |
521 | hum.PlatformStand = true | |
522 | coroutine.resume(coroutine.create(function(HHumanoid) | |
523 | swait(1) | |
524 | HHumanoid.PlatformStand = false | |
525 | end), hum) | |
526 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
527 | local bodvol = Create("BodyVelocity"){ | |
528 | velocity = angle * knockback, | |
529 | P = 5000, | |
530 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
531 | Parent = hit, | |
532 | } | |
533 | local rl = Create("BodyAngularVelocity"){ | |
534 | P = 3000, | |
535 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
536 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
537 | Parent = hit, | |
538 | } | |
539 | game:GetService("Debris"):AddItem(bodvol, .5) | |
540 | game:GetService("Debris"):AddItem(rl, .5) | |
541 | elseif Type == "Normal" then | |
542 | local vp = Create("BodyVelocity"){ | |
543 | P = 500, | |
544 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
545 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
546 | } | |
547 | if knockback > 0 then | |
548 | vp.Parent = hit.Parent.Torso | |
549 | end | |
550 | game:GetService("Debris"):AddItem(vp, .5) | |
551 | elseif Type == "Up" then | |
552 | local bodyVelocity = Create("BodyVelocity"){ | |
553 | velocity = Vector3.new(0, 20, 0), | |
554 | P = 5000, | |
555 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
556 | Parent = hit, | |
557 | } | |
558 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
559 | elseif Type == "DarkUp" then | |
560 | coroutine.resume(coroutine.create(function() | |
561 | for i = 0, 1, 0.1 do | |
562 | swait() | |
563 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
564 | end | |
565 | end)) | |
566 | local bodyVelocity = Create("BodyVelocity"){ | |
567 | velocity = Vector3.new(0, 20, 0), | |
568 | P = 5000, | |
569 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
570 | Parent = hit, | |
571 | } | |
572 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
573 | elseif Type == "Snare" then | |
574 | local bp = Create("BodyPosition"){ | |
575 | P = 2000, | |
576 | D = 100, | |
577 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
578 | position = hit.Parent.Torso.Position, | |
579 | Parent = hit.Parent.Torso, | |
580 | } | |
581 | game:GetService("Debris"):AddItem(bp, 1) | |
582 | elseif Type == "Freeze" then | |
583 | local BodPos = Create("BodyPosition"){ | |
584 | P = 50000, | |
585 | D = 1000, | |
586 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
587 | position = hit.Parent.Torso.Position, | |
588 | Parent = hit.Parent.Torso, | |
589 | } | |
590 | local BodGy = Create("BodyGyro") { | |
591 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
592 | P = 20e+003, | |
593 | Parent = hit.Parent.Torso, | |
594 | cframe = hit.Parent.Torso.CFrame, | |
595 | } | |
596 | hit.Parent.Torso.Anchored = true | |
597 | coroutine.resume(coroutine.create(function(Part) | |
598 | swait(1.5) | |
599 | Part.Anchored = false | |
600 | end), hit.Parent.Torso) | |
601 | game:GetService("Debris"):AddItem(BodPos, 3) | |
602 | game:GetService("Debris"):AddItem(BodGy, 3) | |
603 | end | |
604 | local debounce = Create("BoolValue"){ | |
605 | Name = "DebounceHit", | |
606 | Parent = hit.Parent, | |
607 | Value = true, | |
608 | } | |
609 | game:GetService("Debris"):AddItem(debounce, Delay) | |
610 | c = Create("ObjectValue"){ | |
611 | Name = "creator", | |
612 | Value = Player, | |
613 | Parent = h, | |
614 | } | |
615 | game:GetService("Debris"):AddItem(c, .5) | |
616 | end | |
617 | end | |
618 | ||
619 | function ShowDamage(Pos, Text, Time, Color) | |
620 | local Rate = (1 / 30) | |
621 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
622 | local Text = (Text or "") | |
623 | local Time = (Time or 2) | |
624 | local Color = (Color or Color3.new(1, 0, 1)) | |
625 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
626 | EffectPart.Anchored = true | |
627 | local BillboardGui = Create("BillboardGui"){ | |
628 | Size = UDim2.new(3, 0, 3, 0), | |
629 | Adornee = EffectPart, | |
630 | Parent = EffectPart, | |
631 | } | |
632 | local TextLabel = Create("TextLabel"){ | |
633 | BackgroundTransparency = 1, | |
634 | Size = UDim2.new(1, 0, 1, 0), | |
635 | Text = Text, | |
636 | Font = "SciFi", | |
637 | TextColor3 = Color, | |
638 | TextScaled = true, | |
639 | Parent = BillboardGui, | |
640 | } | |
641 | game.Debris:AddItem(EffectPart, (Time)) | |
642 | EffectPart.Parent = game:GetService("Workspace") | |
643 | delay(0, function() | |
644 | local Frames = (Time / Rate) | |
645 | for Frame = 1, Frames do | |
646 | wait(Rate) | |
647 | local Percent = (Frame / Frames) | |
648 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
649 | TextLabel.TextTransparency = Percent | |
650 | end | |
651 | if EffectPart and EffectPart.Parent then | |
652 | EffectPart:Destroy() | |
653 | end | |
654 | end) | |
655 | end | |
656 | ||
657 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
658 | for _, c in pairs(workspace:children()) do | |
659 | local hum = c:findFirstChild("Humanoid") | |
660 | if hum ~= nil then | |
661 | local head = c:findFirstChild("Torso") | |
662 | if head ~= nil then | |
663 | local targ = head.Position - Part.Position | |
664 | local mag = targ.magnitude | |
665 | if mag <= Magnitude and c.Name ~= Player.Name then | |
666 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
667 | end | |
668 | end | |
669 | end | |
670 | end | |
671 | end | |
672 | ||
673 | EffectModel = Create("Model"){ | |
674 | Parent = Character, | |
675 | Name = "Effects", | |
676 | } | |
677 | ||
678 | Effects = { | |
679 | Block = { | |
680 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
681 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
682 | prt.Anchored = true | |
683 | prt.CFrame = cframe | |
684 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
685 | game:GetService("Debris"):AddItem(prt, 10) | |
686 | if Type == 1 or Type == nil then | |
687 | table.insert(Effects, { | |
688 | prt, | |
689 | "Block1", | |
690 | delay, | |
691 | x3, | |
692 | y3, | |
693 | z3, | |
694 | msh | |
695 | }) | |
696 | elseif Type == 2 then | |
697 | table.insert(Effects, { | |
698 | prt, | |
699 | "Block2", | |
700 | delay, | |
701 | x3, | |
702 | y3, | |
703 | z3, | |
704 | msh | |
705 | }) | |
706 | end | |
707 | end; | |
708 | }; | |
709 | ||
710 | Cylinder = { | |
711 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
712 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
713 | prt.Anchored = true | |
714 | prt.CFrame = cframe | |
715 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
716 | game:GetService("Debris"):AddItem(prt, 10) | |
717 | table.insert(Effects, { | |
718 | prt, | |
719 | "Cylinder", | |
720 | delay, | |
721 | x3, | |
722 | y3, | |
723 | z3, | |
724 | msh | |
725 | }) | |
726 | end; | |
727 | }; | |
728 | Head = { | |
729 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
730 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
731 | prt.Anchored = true | |
732 | prt.CFrame = cframe | |
733 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
734 | game:GetService("Debris"):AddItem(prt, 10) | |
735 | table.insert(Effects, { | |
736 | prt, | |
737 | "Cylinder", | |
738 | delay, | |
739 | x3, | |
740 | y3, | |
741 | z3, | |
742 | msh | |
743 | }) | |
744 | end; | |
745 | }; | |
746 | ||
747 | Sphere = { | |
748 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
749 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
750 | prt.Anchored = true | |
751 | prt.CFrame = cframe | |
752 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
753 | game:GetService("Debris"):AddItem(prt, 10) | |
754 | table.insert(Effects, { | |
755 | prt, | |
756 | "Cylinder", | |
757 | delay, | |
758 | x3, | |
759 | y3, | |
760 | z3, | |
761 | msh | |
762 | }) | |
763 | end; | |
764 | }; | |
765 | ||
766 | Elect = { | |
767 | Create = function(cff, x, y, z) | |
768 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
769 | prt.Anchored = true | |
770 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
771 | prt.CFrame = CFrame.new(prt.Position) | |
772 | game:GetService("Debris"):AddItem(prt, 2) | |
773 | local xval = math.random() / 2 | |
774 | local yval = math.random() / 2 | |
775 | local zval = math.random() / 2 | |
776 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
777 | table.insert(Effects, { | |
778 | prt, | |
779 | "Elec", | |
780 | 0.1, | |
781 | x, | |
782 | y, | |
783 | z, | |
784 | xval, | |
785 | yval, | |
786 | zval | |
787 | }) | |
788 | end; | |
789 | ||
790 | }; | |
791 | ||
792 | Ring = { | |
793 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
794 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
795 | prt.Anchored = true | |
796 | prt.CFrame = cframe | |
797 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
798 | game:GetService("Debris"):AddItem(prt, 10) | |
799 | table.insert(Effects, { | |
800 | prt, | |
801 | "Cylinder", | |
802 | delay, | |
803 | x3, | |
804 | y3, | |
805 | z3, | |
806 | msh | |
807 | }) | |
808 | end; | |
809 | }; | |
810 | ||
811 | ||
812 | Wave = { | |
813 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
814 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
815 | prt.Anchored = true | |
816 | prt.CFrame = cframe | |
817 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
818 | game:GetService("Debris"):AddItem(prt, 10) | |
819 | table.insert(Effects, { | |
820 | prt, | |
821 | "Cylinder", | |
822 | delay, | |
823 | x3, | |
824 | y3, | |
825 | z3, | |
826 | msh | |
827 | }) | |
828 | end; | |
829 | }; | |
830 | ||
831 | Break = { | |
832 | Create = function(brickcolor, cframe, x1, y1, z1) | |
833 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
834 | prt.Anchored = true | |
835 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
836 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
837 | local num = math.random(10, 50) / 1000 | |
838 | game:GetService("Debris"):AddItem(prt, 10) | |
839 | table.insert(Effects, { | |
840 | prt, | |
841 | "Shatter", | |
842 | num, | |
843 | prt.CFrame, | |
844 | math.random() - math.random(), | |
845 | 0, | |
846 | math.random(50, 100) / 100 | |
847 | }) | |
848 | end; | |
849 | }; | |
850 | ||
851 | Fire = { | |
852 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
853 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
854 | prt.Anchored = true | |
855 | prt.CFrame = cframe | |
856 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
857 | game:GetService("Debris"):AddItem(prt, 10) | |
858 | table.insert(Effects, { | |
859 | prt, | |
860 | "Fire", | |
861 | delay, | |
862 | 1, | |
863 | 1, | |
864 | 1, | |
865 | msh | |
866 | }) | |
867 | end; | |
868 | }; | |
869 | ||
870 | FireWave = { | |
871 | Create = function(brickcolor, cframe, x1, y1, z1) | |
872 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
873 | prt.Anchored = true | |
874 | prt.CFrame = cframe | |
875 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
876 | local d = Create("Decal"){ | |
877 | Parent = prt, | |
878 | Texture = "rbxassetid://26356434", | |
879 | Face = "Top", | |
880 | } | |
881 | local d = Create("Decal"){ | |
882 | Parent = prt, | |
883 | Texture = "rbxassetid://26356434", | |
884 | Face = "Bottom", | |
885 | } | |
886 | game:GetService("Debris"):AddItem(prt, 10) | |
887 | table.insert(Effects, { | |
888 | prt, | |
889 | "FireWave", | |
890 | 1, | |
891 | 30, | |
892 | math.random(400, 600) / 100, | |
893 | msh | |
894 | }) | |
895 | end; | |
896 | }; | |
897 | ||
898 | Lightning = { | |
899 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
900 | local magz = (p0 - p1).magnitude | |
901 | local curpos = p0 | |
902 | local trz = { | |
903 | -ofs, | |
904 | ofs | |
905 | } | |
906 | for i = 1, tym do | |
907 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
908 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
909 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
910 | li.Material = "Neon" | |
911 | if tym == i then | |
912 | local magz2 = (curpos - p1).magnitude | |
913 | li.Size = Vector3.new(th, th, magz2) | |
914 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
915 | table.insert(Effects, { | |
916 | li, | |
917 | "Disappear", | |
918 | last | |
919 | }) | |
920 | else | |
921 | do | |
922 | do | |
923 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
924 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
925 | game.Debris:AddItem(li, 10) | |
926 | table.insert(Effects, { | |
927 | li, | |
928 | "Disappear", | |
929 | last | |
930 | }) | |
931 | end | |
932 | end | |
933 | end | |
934 | end | |
935 | end | |
936 | }; | |
937 | ||
938 | EffectTemplate = { | |
939 | ||
940 | }; | |
941 | } | |
942 | ||
943 | function attackone() | |
944 | attack = true | |
945 | for i = 0, 1, 0.1 do | |
946 | swait() | |
947 | PlayAnimationFromTable({ | |
948 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
949 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
950 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
951 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
952 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
953 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
954 | }, .3, false) | |
955 | end | |
956 | attack = false | |
957 | end | |
958 | ||
959 | Mouse.KeyDown:connect(function(k) | |
960 | k = k:lower() | |
961 | if attack == false and k == '' then | |
962 | ||
963 | end | |
964 | end) | |
965 | ||
966 | abss = Instance.new("BillboardGui",Character) | |
967 | abss.Size = UDim2.new(10,0,10,0) | |
968 | abss.Enabled = false | |
969 | imgl = Instance.new("ImageLabel",abss) | |
970 | imgl.Position = UDim2.new(0,0,0,0) | |
971 | imgl.Size = UDim2.new(1,0,1,0) | |
972 | imgl.Image = "rbxassetid://711463989" | |
973 | imgl.BackgroundTransparency = 1 | |
974 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
975 | img2 = Instance.new("ImageLabel",abss) | |
976 | img2.Position = UDim2.new(0,0,0,0) | |
977 | img2.Size = UDim2.new(1,0,1,0) | |
978 | img2.Image = "rbxassetid://711463989" | |
979 | img2.BackgroundTransparency = 1 | |
980 | img2.ImageColor3 = Color3.new(.9,0,0) | |
981 | ||
982 | local targetted = nil; | |
983 | ||
984 | function ohshityougothit(dude) | |
985 | coroutine.wrap(function() | |
986 | repeat wait() until dude:FindFirstChild"Head" | |
987 | KnifuHit = New("Model",workspace,"KnifuHit",{}) | |
988 | game:GetService("Debris"):AddItem(KnifuHit,3) | |
989 | 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),}) | |
990 | Mesh = New("CylinderMesh",HWeldPart,"Mesh",{}) | |
991 | Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = dude.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),}) | |
992 | 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),}) | |
993 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
994 | 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),}) | |
995 | 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),}) | |
996 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
997 | 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),}) | |
998 | 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),}) | |
999 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
1000 | 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),}) | |
1001 | 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),}) | |
1002 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1003 | 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),}) | |
1004 | 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),}) | |
1005 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1006 | 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),}) | |
1007 | 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,}) | |
1008 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1009 | 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),}) | |
1010 | 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),}) | |
1011 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1012 | 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),}) | |
1013 | 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,}) | |
1014 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1015 | 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),}) | |
1016 | 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,}) | |
1017 | 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,}) | |
1018 | 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),}) | |
1019 | 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,}) | |
1020 | 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,}) | |
1021 | 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),}) | |
1022 | 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,}) | |
1023 | 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,}) | |
1024 | 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),}) | |
1025 | 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,}) | |
1026 | 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,}) | |
1027 | 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),}) | |
1028 | 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,}) | |
1029 | 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,}) | |
1030 | 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),}) | |
1031 | 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,}) | |
1032 | 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,}) | |
1033 | 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),}) | |
1034 | 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,}) | |
1035 | 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,}) | |
1036 | 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),}) | |
1037 | 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,}) | |
1038 | 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,}) | |
1039 | 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),}) | |
1040 | 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,}) | |
1041 | Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
1042 | 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),}) | |
1043 | 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),}) | |
1044 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1045 | 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),}) | |
1046 | 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),}) | |
1047 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1048 | 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),}) | |
1049 | 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),}) | |
1050 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
1051 | 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),}) | |
1052 | 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),}) | |
1053 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1054 | 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),}) | |
1055 | end)() | |
1056 | end | |
1057 | ||
1058 | function fuckingdie(dude) | |
1059 | if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then | |
1060 | dude.Humanoid.PlatformStand = true | |
1061 | local bgf = Instance.new("BodyGyro",dude.Head) | |
1062 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
1063 | local val = Instance.new("BoolValue",dude) | |
1064 | val.Name = "IsHit" | |
1065 | for i = 1, 6 do | |
1066 | local blo = Instance.new("Part",game.Workspace) | |
1067 | blo.Size = Vector3.new(.6,.2,.6) | |
1068 | blo.Material = "SmoothPlastic" | |
1069 | blo.BrickColor = BrickColor.new("Crimson") | |
1070 | blo.Position = dude.Head.Position | |
1071 | blo.CFrame = dude.Head.CFrame | |
1072 | game:GetService("Debris"):AddItem(blo,15) | |
1073 | end | |
1074 | local ds = coroutine.wrap(function() | |
1075 | wait(1) | |
1076 | if dude == targetted then | |
1077 | targetted = nil | |
1078 | end | |
1079 | dude:FindFirstChildOfClass"Humanoid".Health = 0 | |
1080 | (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Anchored = false | |
1081 | ragdoll(dude) | |
1082 | end) | |
1083 | ds() | |
1084 | end | |
1085 | end | |
1086 | ||
1087 | local Sitting = false | |
1088 | function fuckingdiethro(dude) | |
1089 | if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then | |
1090 | dude.Humanoid.PlatformStand = true | |
1091 | if dude:FindFirstChild"Head" then local bgf = Instance.new("BodyGyro",dude.Head) | |
1092 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) end | |
1093 | local val = Instance.new("BoolValue",dude) | |
1094 | val.Name = "IsHit" | |
1095 | if dude:FindFirstChild"Head" then | |
1096 | for i = 1, 6 do | |
1097 | local blo = Instance.new("Part",game.Workspace) | |
1098 | blo.Size = Vector3.new(.6,.2,.6) | |
1099 | blo.Material = "SmoothPlastic" | |
1100 | blo.BrickColor = BrickColor.new("Crimson") | |
1101 | blo.Position = dude.Head.Position | |
1102 | blo.CFrame = dude.Head.CFrame | |
1103 | game:GetService("Debris"):AddItem(blo,15) | |
1104 | end | |
1105 | end | |
1106 | local ds = coroutine.wrap(function() | |
1107 | if(dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso") then | |
1108 | (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Velocity = (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").CFrame.lookVector * -15 | |
1109 | end | |
1110 | wait(0.3) | |
1111 | if dude == targetted then | |
1112 | targetted = nil | |
1113 | end | |
1114 | dude:FindFirstChildOfClass"Humanoid".Health = 0 | |
1115 | ragdoll(dude) | |
1116 | end) | |
1117 | ds() | |
1118 | end | |
1119 | end | |
1120 | ||
1121 | function ragdoll(guy) | |
1122 | guy.Archivable = true | |
1123 | clone = guy:Clone() | |
1124 | clone.Parent = workspace | |
1125 | game:service'Debris':AddItem(clone,10) | |
1126 | for i,v in pairs(clone:GetChildren()) do | |
1127 | if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
1128 | v:destroy() | |
1129 | end | |
1130 | for i,p in pairs(v:GetChildren()) do | |
1131 | if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then | |
1132 | p:destroy() | |
1133 | end | |
1134 | end | |
1135 | end | |
1136 | for i,t in pairs(guy:GetChildren()) do | |
1137 | if t.ClassName == "Accessory" or t.ClassName == "ForceField" then | |
1138 | t:destroy() | |
1139 | end | |
1140 | end | |
1141 | for i,v in next, clone:children() do | |
1142 | if v:IsA"LocalScript" or v:IsA"Script" or v:IsA"ModuleScript" then | |
1143 | v.Disabled = true | |
1144 | wait() | |
1145 | v:destroy() | |
1146 | end | |
1147 | end | |
1148 | local vel | |
1149 | if clone:FindFirstChild"Torso" then | |
1150 | vel = Instance.new("BodyVelocity", clone.Torso) | |
1151 | vel.Velocity = clone.Torso.CFrame.lookVector * -5 | |
1152 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1153 | end | |
1154 | if clone:FindFirstChild"Head" and clone.Head:FindFirstChild"face" then | |
1155 | clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" | |
1156 | end | |
1157 | using = false | |
1158 | local leftarm = clone:findFirstChild("Left Arm") | |
1159 | local rightrm = clone:findFirstChild("Right Arm") | |
1160 | local leftleg = clone:findFirstChild("Left Leg") | |
1161 | local rightleg = clone:findFirstChild("Right Leg") | |
1162 | local head = clone:findFirstChild("Head") | |
1163 | for i, g in pairs(guy:GetChildren()) do | |
1164 | if g.ClassName == "Part" then | |
1165 | g:destroy() | |
1166 | end | |
1167 | end | |
1168 | for i, h in pairs(guy:GetChildren()) do | |
1169 | if h.ClassName == "Accesory" then | |
1170 | h:destroy() | |
1171 | end | |
1172 | end | |
1173 | ||
1174 | if head ~= nil then | |
1175 | local glue13 = Instance.new("Glue", clone.Torso) | |
1176 | glue13.Part0 = clone.Torso | |
1177 | glue13.Part1 = head | |
1178 | glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1179 | glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1180 | local collider13 = Instance.new("Part", head) | |
1181 | collider13.Position = Vector3.new(0,999,0) | |
1182 | collider13.Size = Vector3.new(0.5, 0.9, 0.9) | |
1183 | collider13.Shape = "Cylinder" | |
1184 | collider13.Transparency = 1 | |
1185 | local weld = Instance.new("Weld", collider13) | |
1186 | weld.Part0 = head | |
1187 | weld.Part1 = collider13 | |
1188 | weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80) | |
1189 | collider13.TopSurface = "Smooth" | |
1190 | collider13.BottomSurface = "Smooth" | |
1191 | collider13.formFactor = "Symmetric" | |
1192 | end | |
1193 | if leftleg ~= nil then | |
1194 | local glue = Instance.new("Glue", clone.Torso) | |
1195 | glue.Part0 = clone.Torso | |
1196 | glue.Part1 = leftleg | |
1197 | glue.Name = "Left leg" | |
1198 | local collider = Instance.new("Part", leftleg) | |
1199 | collider.Position = Vector3.new(0,999,0) | |
1200 | collider.Size = Vector3.new(1.7, 1, 1) | |
1201 | collider.Shape = "Cylinder" | |
1202 | local weld = Instance.new("Weld", collider) | |
1203 | weld.Part0 = leftleg | |
1204 | weld.Part1 = collider | |
1205 | weld.C0 = CFrame.Angles(0, 0, 80) | |
1206 | collider.TopSurface = "Smooth" | |
1207 | collider.BottomSurface = "Smooth" | |
1208 | collider.formFactor = "Symmetric" | |
1209 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1210 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1211 | collider.Transparency = 1 | |
1212 | end | |
1213 | ------------ | |
1214 | if rightleg ~= nil then | |
1215 | local glue1 = Instance.new("Glue", clone.Torso) | |
1216 | glue1.Part0 = clone.Torso | |
1217 | glue1.Part1 = rightleg | |
1218 | glue1.Name = "Right leg" | |
1219 | local collider1 = Instance.new("Part", rightleg) | |
1220 | collider1.Position = Vector3.new(0,999,0) | |
1221 | collider1.Size = Vector3.new(1.7, 1, 1) | |
1222 | collider1.Shape = "Cylinder" | |
1223 | local weld1 = Instance.new("Weld", collider1) | |
1224 | weld1.Part0 = rightleg | |
1225 | weld1.Part1 = collider1 | |
1226 | weld1.C0 = CFrame.Angles(0, 0, 80) | |
1227 | collider1.TopSurface = "Smooth" | |
1228 | collider1.BottomSurface = "Smooth" | |
1229 | collider1.formFactor = "Symmetric" | |
1230 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1231 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1232 | collider1.Transparency = 1 | |
1233 | end | |
1234 | ------------ | |
1235 | if rightrm ~= nil then | |
1236 | local glue11 = Instance.new("Glue", clone.Torso) | |
1237 | glue11.Part0 = clone.Torso | |
1238 | glue11.Part1 = rightrm | |
1239 | glue11.Name = "Right shoulder" | |
1240 | local collider11 = Instance.new("Part", rightrm) | |
1241 | collider11.Position = Vector3.new(0,9999,0) | |
1242 | collider11.Size = Vector3.new(1.8,1,1) | |
1243 | collider11.Shape = "Cylinder" | |
1244 | local weld11 = Instance.new("Weld", collider11) | |
1245 | weld11.Part0 = rightrm | |
1246 | weld11.Part1 = collider11 | |
1247 | weld11.C0 = CFrame.Angles(0, 0, 80) | |
1248 | collider11.TopSurface = "Smooth" | |
1249 | collider11.BottomSurface = "Smooth" | |
1250 | collider11.formFactor = "Symmetric" | |
1251 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1252 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1253 | collider11.Transparency = 1 | |
1254 | end | |
1255 | ------------ | |
1256 | if leftarm ~= nil then | |
1257 | local glue111 = Instance.new("Glue", clone.Torso) | |
1258 | glue111.Part0 = clone.Torso | |
1259 | glue111.Part1 = leftarm | |
1260 | glue111.Name = "Left shoulder" | |
1261 | local collider111 = Instance.new("Part", leftarm) | |
1262 | collider111.Position = Vector3.new(0,9999,0) | |
1263 | collider111.Size = Vector3.new(1.8,1,1) | |
1264 | collider111.Shape = "Cylinder" | |
1265 | local weld111 = Instance.new("Weld", collider111) | |
1266 | weld111.Part0 = leftarm | |
1267 | weld111.Part1 = collider111 | |
1268 | weld111.C0 = CFrame.Angles(0, 0, 80) | |
1269 | collider111.TopSurface = "Smooth" | |
1270 | collider111.BottomSurface = "Smooth" | |
1271 | collider111.formFactor = "Symmetric" | |
1272 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1273 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1274 | collider111.Transparency = 1 | |
1275 | ---------------- | |
1276 | sensoring = Instance.new("Part", clone.Torso) | |
1277 | sensoring.Size = Vector3.new(1.2,1.1,0.8) | |
1278 | sensoring.CanCollide = false | |
1279 | sensoring.Position = clone.Torso.Position | |
1280 | local welder = Instance.new("Weld", sensoring) | |
1281 | welder.Part0 = clone.Torso | |
1282 | welder.Part1 = sensoring | |
1283 | welder.C0 = welder.C0 * CFrame.new(0,0,1.05) | |
1284 | sensoring.Transparency = 1 | |
1285 | ----------------- | |
1286 | sensoring1 = Instance.new("Part", clone.Torso) | |
1287 | sensoring1.Size = Vector3.new(1.2,1.1,0.8) | |
1288 | sensoring1.CanCollide = false | |
1289 | sensoring1.Position = clone.Torso.Position | |
1290 | local welder1 = Instance.new("Weld", sensoring) | |
1291 | welder1.Part0 = clone.Torso | |
1292 | welder1.Part1 = sensoring1 | |
1293 | welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) | |
1294 | sensoring1.Transparency = 1 | |
1295 | end | |
1296 | clone.Name = guy.Name.." (Murdered)" | |
1297 | if vel then vel:destroy() end | |
1298 | ||
1299 | end | |
1300 | ||
1301 | local slashes = {} | |
1302 | table.insert(slashes,220833967) | |
1303 | table.insert(slashes,220833976) | |
1304 | table.insert(slashes,220834000) | |
1305 | table.insert(slashes,220834019) | |
1306 | function fucktheworld() | |
1307 | local a = Instance.new("ColorCorrectionEffect",Lighty) | |
1308 | a.TintColor = Color3.new(1,1,1) | |
1309 | local b = Instance.new("BlurEffect",Lighty) | |
1310 | b.Size = 0 | |
1311 | for i = 1,0, -.1 do | |
1312 | a.TintColor = Color3.new(i,i,i) | |
1313 | b.Size = b.Size + 1 | |
1314 | end | |
1315 | ||
1316 | wait(1) | |
1317 | ||
1318 | ||
1319 | coroutine.wrap(function() | |
1320 | for i,v in next, workspace:children() do | |
1321 | if v:IsA"Model" or v:IsA"Part" then | |
1322 | if v:FindFirstChildOfClass"Humanoid" and v ~= Character then | |
1323 | v:BreakJoints() | |
1324 | if v:FindFirstChild"Torso" then ragdoll(v) end | |
1325 | wait(.15) | |
1326 | end | |
1327 | end | |
1328 | end | |
1329 | end)() | |
1330 | ||
1331 | ||
1332 | for i = 1, 7 do | |
1333 | for i = 0,1,.3 do | |
1334 | a.TintColor = Color3.new(i,i,i) | |
1335 | wait() | |
1336 | end | |
1337 | local slash = math.random(1,4) | |
1338 | local sou = Instance.new("Sound",workspace) | |
1339 | sou.Pitch = math.random(0.75,1) | |
1340 | sou.Volume = 10 | |
1341 | sou.SoundId = "rbxassetid://"..slashes[slash] | |
1342 | sou:Play() | |
1343 | a.TintColor = Color3.new(0,0,0) | |
1344 | wait() | |
1345 | end | |
1346 | ||
1347 | --165487479 | |
1348 | ||
1349 | local sou = Instance.new("Sound",workspace) | |
1350 | sou.Pitch = 1 | |
1351 | sou.Volume = 10 | |
1352 | sou.SoundId = "rbxassetid://137473066" | |
1353 | sou:Play() | |
1354 | wait(3) | |
1355 | ||
1356 | for i = 0,1,.1 do | |
1357 | a.TintColor = Color3.new(i,i,i) | |
1358 | b.Size = b.Size - 1 | |
1359 | wait() | |
1360 | end | |
1361 | a:destroy() | |
1362 | game:service'Debris':AddItem(b,3) | |
1363 | end | |
1364 | function endit() | |
1365 | attack = true | |
1366 | Humanoid.WalkSpeed = 0 | |
1367 | Humanoid.JumpPower = 0 | |
1368 | for i = 0, 1, 0.1 do | |
1369 | swait() | |
1370 | PlayAnimationFromTable({ | |
1371 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1372 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1373 | CFrame.new(1.55124712, 1.10979831, 0.0157209933, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1374 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1375 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1376 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1377 | }, .3, false) | |
1378 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(-0.0327453725, -1.02458775, -0.0236971658, -1.00000048, 2.08819984e-09, -3.7252903e-09, -5.65341907e-09, -1.00000012, -2.57510692e-07, 3.7252903e-09, -2.57277861e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1379 | end | |
1380 | chat("This world is getting boring...") | |
1381 | wait(1.5) | |
1382 | chat("Well...") | |
1383 | wait(1) | |
1384 | chat("LETS MOVE ON TO THE NEXT!") | |
1385 | wait(2) | |
1386 | for i = 1, 3 do | |
1387 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=341336274", Character, 1, 1) | |
1388 | local part = Instance.new("Part",EffectModel) | |
1389 | part.Shape = "Ball" | |
1390 | part.Anchored = true | |
1391 | part.CanCollide = false | |
1392 | part.BrickColor = BrickColor.new"Really red" | |
1393 | part.Material = Enum.Material.Neon | |
1394 | part.Size = Vector3.new(1,1,1) | |
1395 | part.CFrame = BloodPart.CFrame | |
1396 | part.TopSurface,part.BottomSurface = 10,10 | |
1397 | for i = 0,1,.1 do | |
1398 | part.Size = part.Size+ Vector3.new(4,4,4) | |
1399 | part.Transparency = i | |
1400 | wait() | |
1401 | end | |
1402 | part:destroy() | |
1403 | wait(.05) | |
1404 | end | |
1405 | wait(.5) | |
1406 | attack = false | |
1407 | fucktheworld() | |
1408 | wait(2) | |
1409 | Humanoid.WalkSpeed = 8 | |
1410 | Humanoid.JumpPower = 50 | |
1411 | ||
1412 | end | |
1413 | function sleepchild() | |
1414 | attack = true | |
1415 | Humanoid.WalkSpeed = 0 | |
1416 | Humanoid.JumpPower = 0 | |
1417 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8) | |
1418 | local a = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("HumanoidRootPart") targetted:FindFirstChild("UpperTorso") | |
1419 | a.Anchored = true | |
1420 | RootPart.CFrame = a.CFrame * CFrame.new(0,0,1) | |
1421 | wait(.01) | |
1422 | Character.Torso.Anchored = true | |
1423 | for i = 0, 1, 0.1 do | |
1424 | swait() | |
1425 | PlayAnimationFromTable({ | |
1426 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1427 | CFrame.new(0.647793114, 1.49790704, -0.08620812, 0.919307768, 0.392846406, 0.0233431272, -0.391966701, 0.919319689, -0.0348359533, -0.0351450294, 0.0228752308, 0.999119997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1428 | CFrame.new(1.27472198, 0.948095679, -0.665119231, 0.15143548, 0.0339903161, -0.987882555, -0.986717343, -0.0542402044, -0.153123304, -0.0587876812, 0.997948885, 0.0253249966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1429 | CFrame.new(-0.563300252, 0.95589447, -1.39769626, 0.695959151, -0.718027294, -0.00878927112, -0.264074028, -0.244537428, -0.93298763, 0.667761326, 0.651642263, -0.359800428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1430 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1431 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1432 | }, .3, false) | |
1433 | --KWeld.C0 = clerp(KWeld.C0, CFrame.new(7.63306252e-06, -0.99992466, 0.249988556, -1.00000012, 1.46683306e-08, 0, 0, -3.8407743e-06, 1, 1.62981451e-09, 1.00000012, 3.85195017e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1434 | end | |
1435 | if targetted.Name == "Lime_Pidgey" or targetted.Name == "Quil_Cyndaquil" or targetted.Name == "CKbackup" or targetted.Name == "Salvo_Starly" then | |
1436 | wait(2) | |
1437 | a.Anchored = false | |
1438 | local sel = math.random(1,3) | |
1439 | if sel == 1 then | |
1440 | chat("What was I thinking...") | |
1441 | elseif sel == 2 then | |
1442 | if targetted.Name == "Quil_Cyndaquil" then | |
1443 | chat("Sorry, Nebula.") | |
1444 | elseif targetted.Name == "CKbackup" then | |
1445 | chat("Didn't know it was you, Sugarie") | |
1446 | elseif targetted.Name == "Salvo_Starly" then | |
1447 | chat("Didn't realize, Genocider. I'm so sorry.") | |
1448 | elseif targetted.Name == "Lime_Pidgey" then | |
1449 | chat("Ah, Jerry, So sorry, thought you were an enemy.") | |
1450 | end | |
1451 | elseif sel == 3 then | |
1452 | chat("Why.. did I try that..?") | |
1453 | end | |
1454 | for i = 0, 5, 0.1 do | |
1455 | swait() | |
1456 | PlayAnimationFromTable({ | |
1457 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1458 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1459 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1460 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1461 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1462 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1463 | }, .3, false) | |
1464 | end | |
1465 | attack = false | |
1466 | Character.Torso.Anchored = false | |
1467 | Humanoid.WalkSpeed = 8 | |
1468 | Humanoid.JumpPower = 50 | |
1469 | else | |
1470 | chat("Nap Time motherfucker...") | |
1471 | wait(2) | |
1472 | for i = 0, 1, 0.1 do | |
1473 | swait() | |
1474 | PlayAnimationFromTable({ | |
1475 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1476 | CFrame.new(0.647793114, 1.49790704, -0.08620812, 0.919307768, 0.392846406, 0.0233431272, -0.391966701, 0.919319689, -0.0348359533, -0.0351450294, 0.0228752308, 0.999119997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1477 | CFrame.new(1.28332329, 0.947640657, -0.594629169, 0.130690023, 0.303638369, -0.943781614, -0.986253858, -0.0572666377, -0.15499571, -0.101109855, 0.951064467, 0.291980326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1478 | CFrame.new(-0.563300252, 0.95589447, -1.39769626, 0.695959151, -0.718027294, -0.00878927112, -0.264074028, -0.244537428, -0.93298763, 0.667761326, 0.651642263, -0.359800428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1479 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1480 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1481 | }, .3, false) | |
1482 | --KWeld.C0 = clerp(KWeld.C0, CFrame.new(1.6214326e-05, -0.999932289, 0.249966294, -1, 7.4505806e-09, 0, 0, -3.24845314e-06, 1.00000012, -1.86264515e-08, 1.00000012, 3.21865082e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1483 | end | |
1484 | fuckingdie(targetted) | |
1485 | wait(1) | |
1486 | attack = false | |
1487 | Character.Torso.Anchored = false | |
1488 | Humanoid.WalkSpeed = 8 | |
1489 | Humanoid.JumpPower = 50 | |
1490 | end | |
1491 | end | |
1492 | ||
1493 | local combo = false | |
1494 | local input = "" | |
1495 | local didCombo = false | |
1496 | ||
1497 | function chainreaction() | |
1498 | attack = true | |
1499 | Humanoid.WalkSpeed = 0 | |
1500 | Humanoid.JumpPower = 0 | |
1501 | local func | |
1502 | for i = 0, 0.05, 0.1 do | |
1503 | swait() | |
1504 | PlayAnimationFromTable({ | |
1505 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1506 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1507 | CFrame.new(1.52798259, 0.437558174, 0.521697879, 0.997940063, -0.0485750884, 0.0419071428, -0.0418144763, 0.00291904411, 0.999121189, -0.0486547761, -0.99881494, 0.00088191824) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1508 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1509 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1510 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1511 | }, .4, false) | |
1512 | --KWeld.C0 = clerp(KWeld.C0, CFrame.new(-7.71878695e-06, -0.99999249, 0.25000006, -1.00000012, 5.82076609e-11, 8.94069672e-08, 8.94069672e-08, 4.42378223e-08, 1.00000012, 8.73114914e-11, 1.00000012, -4.3772161e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1513 | end | |
1514 | swait() | |
1515 | for i = 0, 0.45, 0.1 do | |
1516 | swait() | |
1517 | PlayAnimationFromTable({ | |
1518 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1519 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1520 | CFrame.new(1.55079103, 1.21950901, 0.0761990994, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1521 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1522 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1523 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1524 | }, .6, false) | |
1525 | end | |
1526 | for i,v in next, Knifu:children() do | |
1527 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1528 | v.Transparency = 1 | |
1529 | end | |
1530 | end | |
1531 | p2mit.Enabled = false | |
1532 | p3mit.Enabled = false | |
1533 | local stopIt = false | |
1534 | local asd | |
1535 | local count = 0 | |
1536 | asd = function(dude) | |
1537 | local torso = dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso" | |
1538 | local cTorso,mag = nil, 0 | |
1539 | if torso then | |
1540 | for i,v in next, FindNearestTorsos(torso.CFrame.p,15) do | |
1541 | if v[2] > mag then | |
1542 | cTorso = v[1] | |
1543 | mag = v[2] | |
1544 | end | |
1545 | wait() | |
1546 | end | |
1547 | count = count + 1 | |
1548 | fuckingdiethro(dude) | |
1549 | if not cTorso or mag < 1 or count > 7 then | |
1550 | stopIt = true | |
1551 | else | |
1552 | asd(cTorso) | |
1553 | end | |
1554 | else | |
1555 | stopIt = true | |
1556 | end | |
1557 | ||
1558 | ||
1559 | end | |
1560 | func = coroutine.wrap(function() | |
1561 | asd(targetted) | |
1562 | end)() | |
1563 | repeat wait() until stopIt == true | |
1564 | wait(3) | |
1565 | for i,v in next, Knifu:children() do | |
1566 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1567 | v.Transparency = 0 | |
1568 | end | |
1569 | end | |
1570 | p2mit.Enabled = true | |
1571 | p3mit.Enabled = true | |
1572 | attack = false | |
1573 | Humanoid.WalkSpeed = 8 | |
1574 | Humanoid.JumpPower = 50 | |
1575 | end | |
1576 | function throwit() | |
1577 | attack = true | |
1578 | Humanoid.WalkSpeed = 0 | |
1579 | for i = 0, 0.05, 0.1 do | |
1580 | swait() | |
1581 | PlayAnimationFromTable({ | |
1582 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1583 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1584 | CFrame.new(1.52798259, 0.437558174, 0.521697879, 0.997940063, -0.0485750884, 0.0419071428, -0.0418144763, 0.00291904411, 0.999121189, -0.0486547761, -0.99881494, 0.00088191824) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1585 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1586 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1587 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1588 | }, .4, false) | |
1589 | --KWeld.C0 = clerp(KWeld.C0, CFrame.new(-7.71878695e-06, -0.99999249, 0.25000006, -1.00000012, 5.82076609e-11, 8.94069672e-08, 8.94069672e-08, 4.42378223e-08, 1.00000012, 8.73114914e-11, 1.00000012, -4.3772161e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1590 | end | |
1591 | swait() | |
1592 | for i = 0, 0.45, 0.1 do | |
1593 | swait() | |
1594 | PlayAnimationFromTable({ | |
1595 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1596 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1597 | CFrame.new(1.55079103, 1.21950901, 0.0761990994, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1598 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1599 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1600 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1601 | }, .6, false) | |
1602 | end | |
1603 | if targetted.Name ~= "Quil_Cyndaquil" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "CKbackup" and targetted.Name ~= "Lime_Pidgey" then | |
1604 | for i,v in next, Knifu:children() do | |
1605 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1606 | v.Transparency = 1 | |
1607 | end | |
1608 | end | |
1609 | p2mit.Enabled = false | |
1610 | p3mit.Enabled = false | |
1611 | ohshityougothit(targetted) | |
1612 | fuckingdiethro(targetted) | |
1613 | wait(3) | |
1614 | for i,v in next, Knifu:children() do | |
1615 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1616 | v.Transparency = 0 | |
1617 | end | |
1618 | end | |
1619 | p2mit.Enabled = true | |
1620 | p3mit.Enabled = true | |
1621 | attack = false | |
1622 | Character.Torso.Anchored = false | |
1623 | Humanoid.WalkSpeed = 8 | |
1624 | Humanoid.JumpPower = 50 | |
1625 | elseif targetted.Name == "CKbackup" then | |
1626 | wait(2) | |
1627 | for i = 0, 1, 0.1 do | |
1628 | swait() | |
1629 | PlayAnimationFromTable({ | |
1630 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1631 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1632 | CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1633 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1634 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1635 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1636 | }, .3, false) | |
1637 | end | |
1638 | local sel = math.random(1,3) | |
1639 | if sel == 1 then | |
1640 | chat("Sorry, thought you were on the other side.") | |
1641 | elseif sel == 2 then | |
1642 | chat("I forgot, we are one and the same. Psychopaths.") | |
1643 | elseif sel == 3 then | |
1644 | chat("Oh, Psycho! How's the Genocider been?") | |
1645 | end | |
1646 | wait(2) | |
1647 | attack = false | |
1648 | Character.Torso.Anchored = false | |
1649 | Humanoid.WalkSpeed = 8 | |
1650 | Humanoid.JumpPower = 50 | |
1651 | elseif targetted.Name == "Lime_Pidgey" then | |
1652 | wait(2) | |
1653 | local sel = math.random(1,3) | |
1654 | if sel == 1 then | |
1655 | chat("Sorry, thought you were on the other side.") | |
1656 | elseif sel == 2 then | |
1657 | chat("Heyy... Jerry? I think it was?") | |
1658 | elseif sel == 3 then | |
1659 | chat("Uhh... Sorry.") | |
1660 | end | |
1661 | for i = 0, 5, 0.1 do | |
1662 | swait() | |
1663 | PlayAnimationFromTable({ | |
1664 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1665 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1666 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1667 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1668 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1669 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1670 | }, .3, false) | |
1671 | end | |
1672 | wait(2) | |
1673 | attack = false | |
1674 | Character.Torso.Anchored = false | |
1675 | Humanoid.WalkSpeed = 8 | |
1676 | Humanoid.JumpPower = 50 | |
1677 | elseif targetted.Name == "Salvo_Starly" then | |
1678 | wait(2) | |
1679 | for i = 0, 1, 0.1 do | |
1680 | swait() | |
1681 | PlayAnimationFromTable({ | |
1682 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1683 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1684 | CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1685 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1686 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1687 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1688 | }, .3, false) | |
1689 | end | |
1690 | local sel = math.random(1,3) | |
1691 | if sel == 1 then | |
1692 | chat("Sorry, thought you were on the other side.") | |
1693 | elseif sel == 2 then | |
1694 | chat("Ah, Genocider. We've got to talk more!") | |
1695 | elseif sel == 3 then | |
1696 | chat("Oh, it's you.. How's Sugarie?") | |
1697 | end | |
1698 | wait(2) | |
1699 | attack = false | |
1700 | Character.Torso.Anchored = false | |
1701 | Humanoid.WalkSpeed = 8 | |
1702 | Humanoid.JumpPower = 50 | |
1703 | else | |
1704 | wait(2) | |
1705 | for i = 0, 1, 0.1 do | |
1706 | swait() | |
1707 | PlayAnimationFromTable({ | |
1708 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1709 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1710 | CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1711 | CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1712 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1713 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1714 | }, .3, false) | |
1715 | end | |
1716 | local sel = math.random(1,3) | |
1717 | if sel == 1 then | |
1718 | chat("Why.. Did I even try?") | |
1719 | elseif sel == 2 then | |
1720 | chat("Sorry, Nebula. I thought you were against me") | |
1721 | elseif sel == 3 then | |
1722 | chat("I can't") | |
1723 | end | |
1724 | wait(2) | |
1725 | attack = false | |
1726 | Character.Torso.Anchored = false | |
1727 | Humanoid.WalkSpeed = 8 | |
1728 | Humanoid.JumpPower = 50 | |
1729 | end | |
1730 | end | |
1731 | function LockOn() | |
1732 | if Mouse.Target and Mouse.Target.Parent then | |
1733 | local a = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1734 | if a and a.Parent ~= Character then | |
1735 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
1736 | coroutine.wrap(function() | |
1737 | if targetted ~= Mouse.Target.Parent then | |
1738 | targetted = Mouse.Target.Parent | |
1739 | img2.Size = UDim2.new(1,0,1,0) | |
1740 | img2.ImageTransparency = 0 | |
1741 | img2.Position = UDim2.new(0,0,0,0) | |
1742 | for i = 0, 2, 0.1 do | |
1743 | swait() | |
1744 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
1745 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
1746 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
1747 | end | |
1748 | end | |
1749 | end)() | |
1750 | end | |
1751 | end | |
1752 | end | |
1753 | Mouse.KeyDown:connect(function(k) | |
1754 | if k == 'q' and attack == false and combo == false then | |
1755 | LockOn() | |
1756 | end | |
1757 | end) | |
1758 | Mouse.KeyDown:connect(function(k) | |
1759 | if k == 'z' and attack == false and targetted ~= nil and combo == false then | |
1760 | sleepchild() | |
1761 | end | |
1762 | end) | |
1763 | ||
1764 | ||
1765 | ||
1766 | Mouse.KeyDown:connect(function(k) | |
1767 | if targetted ~= nil and k == 't' and attack == false and combo == false then | |
1768 | throwit() | |
1769 | end | |
1770 | end) | |
1771 | ||
1772 | Mouse.KeyDown:connect(function(k) | |
1773 | if k == 'c' and attack == false and combo == false then | |
1774 | coroutine.wrap(function() | |
1775 | combo = true | |
1776 | Humanoid.WalkSpeed = 0 | |
1777 | Humanoid.JumpPower = 0 | |
1778 | local asd = false | |
1779 | for i = 0, 1.5, .1 do | |
1780 | wait(.1) | |
1781 | if combo == false then | |
1782 | asd = true | |
1783 | break; | |
1784 | end | |
1785 | end | |
1786 | if asd == false then | |
1787 | if combo == true or input ~= '' then | |
1788 | Humanoid.WalkSpeed = 8 | |
1789 | Humanoid.JumpPower = 50 | |
1790 | combo = false | |
1791 | input = '' | |
1792 | end | |
1793 | end | |
1794 | end)() | |
1795 | end | |
1796 | end) | |
1797 | ||
1798 | local Keys = { | |
1799 | [48] = "LShift", | |
1800 | [13] = "Enter", | |
1801 | [32] = "Space", | |
1802 | [47] = "RShift", | |
1803 | [92] = "Backslash", | |
1804 | [50] = "LCtrl", | |
1805 | [52] = "LAlt", | |
1806 | [49] = "RCtrl", | |
1807 | [51] = "RAlt", | |
1808 | [8] = "Backspace", | |
1809 | [45] = "CapsLock" | |
1810 | ||
1811 | } | |
1812 | ||
1813 | local alreadyEnded = false | |
1814 | Mouse.KeyDown:connect(function(k) | |
1815 | if k == 'n' and not attack and not combo then | |
1816 | Sitting = not Sitting | |
1817 | end | |
1818 | end) | |
1819 | ||
1820 | Mouse.KeyDown:connect(function(k) | |
1821 | if attack == false and combo == true then | |
1822 | k = string.lower(k) | |
1823 | if k == 'c' or k == 'q' or k == 'e' or k == 'h' or k == 'r' or k == 't' or k == 'n' or k == 'z' or k == 'x' or k == 'm' or k == 'w' or k == 'a' or k == 's' or k == 'd' then | |
1824 | if #input < 8 then | |
1825 | input = input..k | |
1826 | print(input) | |
1827 | end | |
1828 | elseif Keys[string.byte(k)] == "Enter" then | |
1829 | combo = false | |
1830 | warn("Trying to execute combo: "..input) | |
1831 | - | if string.lower(input) == "aawdq" then |
1831 | + | if string.lower(input) == "x" then |
1832 | if targetted and attack == false then | |
1833 | chainreaction() | |
1834 | elseif not targetted then | |
1835 | Humanoid.WalkSpeed = 8 | |
1836 | Humanoid.JumpPower = 50 | |
1837 | chat("I need a target!") | |
1838 | end | |
1839 | - | elseif string.lower(input) == "etwzx" then |
1839 | + | elseif string.lower(input) == "r" then |
1840 | if attack == false then | |
1841 | if not alreadyEnded then | |
1842 | alreadyEnded = true | |
1843 | endit() | |
1844 | else | |
1845 | Humanoid.WalkSpeed = 8 | |
1846 | Humanoid.JumpPower = 50 | |
1847 | chat("I can't end it again..!") | |
1848 | end | |
1849 | end | |
1850 | else | |
1851 | Humanoid.WalkSpeed = 8 | |
1852 | Humanoid.JumpPower = 50 | |
1853 | end | |
1854 | input = '' | |
1855 | end | |
1856 | end | |
1857 | end) | |
1858 | ||
1859 | local idleC = 0 | |
1860 | while true do | |
1861 | swait() | |
1862 | imgl.Rotation = imgl.Rotation + 3 | |
1863 | img2.Rotation = img2.Rotation + 3 | |
1864 | if targetted ~= nil then | |
1865 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1866 | abss.Enabled = true | |
1867 | elseif targetted == nil then | |
1868 | abss.Adornee = nil | |
1869 | abss.Enabled = false | |
1870 | end | |
1871 | for i, v in pairs(Character:GetChildren()) do | |
1872 | if v:IsA("Part") then | |
1873 | v.Material = "SmoothPlastic" | |
1874 | elseif v:IsA("Accessory") then | |
1875 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1876 | end | |
1877 | end | |
1878 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1879 | velocity = RootPart.Velocity.y | |
1880 | sine = sine + change | |
1881 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1882 | if RootPart.Velocity.y > 1 and hit == nil then | |
1883 | Anim = "Jump" | |
1884 | idleC = 0 | |
1885 | if attack == false then | |
1886 | PlayAnimationFromTable({ | |
1887 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1888 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1889 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1890 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1891 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1892 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1893 | }, .3, false) | |
1894 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
1895 | end | |
1896 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1897 | Anim = "Fall" | |
1898 | idleC = 0 | |
1899 | if attack == false then | |
1900 | PlayAnimationFromTable({ | |
1901 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1902 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1903 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1904 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1905 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1906 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1907 | }, .3, false) | |
1908 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
1909 | end | |
1910 | elseif Torsovelocity < 1 and hit ~= nil then | |
1911 | if Sitting then | |
1912 | Anim = "Sitting" | |
1913 | if attack == false then | |
1914 | idleC = idleC+1 | |
1915 | PlayAnimationFromTable({ | |
1916 | CFrame.new(0.000827711076, -1.65770507, 0.458721817, 0.999484241, -0.0122322068, 0.0296938289, 0.0252500642, 0.870653987, -0.491247624, -0.0198440049, 0.491744012, 0.870513737) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1917 | CFrame.new(-0.0562419407, 1.51485705, -0.185010612, 0.985933542, -0.147043079, -0.0794572532, 0.166523844, 0.904925764, 0.391636789, 0.014315445, -0.399359286, 0.916682839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1918 | CFrame.new(1.49053812, -0.00525209308, 0.341132015, 0.968288898, -0.249781534, 0.0050949771, 0.230188534, 0.899891436, 0.370417148, -0.0971082747, -0.35749796, 0.928851664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1919 | CFrame.new(-1.53550422, 0.00908520445, 0.289719999, 0.964274764, 0.237935737, 0.11645104, -0.264904231, 0.866110563, 0.423885047, -2.08616257e-06, -0.439589977, 0.898198724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1920 | CFrame.new(0.877631247, -1.43620968, -0.684172571, 0.881371081, -0.470902473, 0.0379017182, 0.26241079, 0.421269089, -0.868151844, 0.392844826, 0.775101304, 0.494869024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1921 | CFrame.new(-0.741793275, -1.41195464, -0.697883487, 0.966170251, 0.249477178, -0.0653936565, -0.179010332, 0.466165125, -0.866398215, -0.18566227, 0.848794281, 0.495053828) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1922 | }, .3, false) | |
1923 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
1924 | end | |
1925 | else | |
1926 | Anim = "Idle" | |
1927 | if attack == false then | |
1928 | idleC = idleC+1 | |
1929 | change = 1 | |
1930 | if idleC < 175 then | |
1931 | PlayAnimationFromTable({ | |
1932 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1933 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
1934 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
1935 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
1936 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1937 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1938 | }, .3, false) | |
1939 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
1940 | elseif idleC >= 175 and idleC < 200 then | |
1941 | PlayAnimationFromTable({ | |
1942 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1943 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1944 | CFrame.new(1.29851341, 0.443963498, -0.396169066, 0.0157513712, 0.186539456, -0.982321262, -0.998143196, 0.0607455187, -0.00446989527, 0.0588377416, 0.980567396, 0.187149927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1945 | CFrame.new(-1.0340364, 0.367607117, -0.614107132, 0.883662701, -0.353060901, 0.307383537, 0.318954408, -0.0265178736, -0.94740808, 0.342643917, 0.935224652, 0.0891784057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1946 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1947 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1948 | }, .1, false) | |
1949 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
1950 | elseif idleC >= 200 and idleC < 325 then | |
1951 | PlayAnimationFromTable({ | |
1952 | CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1953 | CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1954 | CFrame.new(1.29851341, 0.443963498, -0.396169066, 0.0157513712, 0.186539456, -0.982321262, -0.998143196, 0.0607455187, -0.00446989527, 0.0588377416, 0.980567396, 0.187149927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1955 | CFrame.new(-0.454344451, 0.36049974, -0.596875072, 0.572839379, -0.80925262, 0.130250588, 0.259049803, 0.0279791299, -0.965458691, 0.777655363, 0.586793959, 0.225664154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1956 | CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1957 | CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1958 | }, .01, false) | |
1959 | else | |
1960 | idleC = 0 | |
1961 | end | |
1962 | end | |
1963 | end | |
1964 | elseif Torsovelocity > 2 and hit ~= nil then | |
1965 | Anim = "Walk" | |
1966 | idleC = 0 | |
1967 | if attack == false then | |
1968 | PlayAnimationFromTable({ | |
1969 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
1970 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1971 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
1972 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
1973 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
1974 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
1975 | }, .3, false) | |
1976 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
1977 | end | |
1978 | end | |
1979 | if 0 < #Effects then | |
1980 | for e = 1, #Effects do | |
1981 | if Effects[e] ~= nil then | |
1982 | local Thing = Effects[e] | |
1983 | if Thing ~= nil then | |
1984 | local Part = Thing[1] | |
1985 | local Mode = Thing[2] | |
1986 | local Delay = Thing[3] | |
1987 | local IncX = Thing[4] | |
1988 | local IncY = Thing[5] | |
1989 | local IncZ = Thing[6] | |
1990 | if Thing[2] == "Shoot" then | |
1991 | local Look = Thing[1] | |
1992 | local move = 30 | |
1993 | if Thing[8] == 3 then | |
1994 | move = 10 | |
1995 | end | |
1996 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1997 | if Thing[10] ~= nil then | |
1998 | da = pos | |
1999 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2000 | cfa = CFrame.new(Thing[4], pos) | |
2001 | tehCF = cfa:lerp(cf2, 0.2) | |
2002 | Thing[1] = tehCF.lookVector | |
2003 | end | |
2004 | local mag = (Thing[4] - pos).magnitude | |
2005 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
2006 | if Thing[8] == 2 then | |
2007 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
2008 | end | |
2009 | Thing[4] = Thing[4] + Look * move | |
2010 | Thing[3] = Thing[3] - 1 | |
2011 | if 2 < Thing[5] then | |
2012 | Thing[5] = Thing[5] - 0.3 | |
2013 | Thing[6] = Thing[6] - 0.3 | |
2014 | end | |
2015 | if hit ~= nil then | |
2016 | Thing[3] = 0 | |
2017 | if Thing[8] == 1 or Thing[8] == 3 then | |
2018 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2019 | else | |
2020 | if Thing[8] == 2 then | |
2021 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2022 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
2023 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2024 | ref.Anchored = true | |
2025 | ref.CFrame = CFrame.new(pos) | |
2026 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2027 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2028 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
2029 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
2030 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2031 | end | |
2032 | end | |
2033 | end | |
2034 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2035 | ref.Anchored = true | |
2036 | ref.CFrame = CFrame.new(pos) | |
2037 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2038 | game:GetService("Debris"):AddItem(ref, 1) | |
2039 | end | |
2040 | if Thing[3] <= 0 then | |
2041 | table.remove(Effects, e) | |
2042 | end | |
2043 | end | |
2044 | do | |
2045 | do | |
2046 | if Thing[2] == "FireWave" then | |
2047 | if Thing[3] <= Thing[4] then | |
2048 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2049 | Thing[3] = Thing[3] + 1 | |
2050 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2051 | else | |
2052 | Part.Parent = nil | |
2053 | table.remove(Effects, e) | |
2054 | end | |
2055 | end | |
2056 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2057 | if Thing[1].Transparency <= 1 then | |
2058 | if Thing[2] == "Block1" then | |
2059 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2060 | Mesh = Thing[7] | |
2061 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2062 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2063 | else | |
2064 | if Thing[2] == "Block2" then | |
2065 | Thing[1].CFrame = Thing[1].CFrame | |
2066 | Mesh = Thing[7] | |
2067 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2068 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2069 | else | |
2070 | if Thing[2] == "Fire" then | |
2071 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2072 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2073 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2074 | else | |
2075 | if Thing[2] == "Cylinder" then | |
2076 | Mesh = Thing[7] | |
2077 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2078 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2079 | else | |
2080 | if Thing[2] == "Blood" then | |
2081 | Mesh = Thing[7] | |
2082 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2083 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2084 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2085 | else | |
2086 | if Thing[2] == "Elec" then | |
2087 | Mesh = Thing[10] | |
2088 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2089 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2090 | else | |
2091 | if Thing[2] == "Disappear" then | |
2092 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2093 | else | |
2094 | if Thing[2] == "Shatter" then | |
2095 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2096 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2097 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2098 | Thing[6] = Thing[6] + Thing[5] | |
2099 | end | |
2100 | end | |
2101 | end | |
2102 | end | |
2103 | end | |
2104 | end | |
2105 | end | |
2106 | end | |
2107 | else | |
2108 | Part.Parent = nil | |
2109 | table.remove(Effects, e) | |
2110 | end | |
2111 | end | |
2112 | end | |
2113 | end | |
2114 | end | |
2115 | end | |
2116 | end | |
2117 | end | |
2118 | end |