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 | GasMask = true | |
13 | ||
14 | if GasMask == true then | |
15 | o1 = Instance.new("Model") | |
16 | o2 = Instance.new("Part") | |
17 | o3 = Instance.new("SpecialMesh") | |
18 | o4 = Instance.new("Part") | |
19 | o5 = Instance.new("Part") | |
20 | o6 = Instance.new("Part") | |
21 | o7 = Instance.new("SpecialMesh") | |
22 | o8 = Instance.new("Part") | |
23 | o9 = Instance.new("Part") | |
24 | o10 = Instance.new("SpecialMesh") | |
25 | o11 = Instance.new("Part") | |
26 | o12 = Instance.new("Part") | |
27 | o13 = Instance.new("SpecialMesh") | |
28 | o14 = Instance.new("Part") | |
29 | o15 = Instance.new("Part") | |
30 | o16 = Instance.new("Part") | |
31 | o17 = Instance.new("Part") | |
32 | o1.Name = "MODEL" | |
33 | o2.Name = "Middle" | |
34 | o2.Parent = o1 | |
35 | o2.BrickColor = BrickColor.new("Pastel brown") | |
36 | o2.Transparency = 1 | |
37 | o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117) | |
38 | o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414) | |
39 | o2.Anchored = true | |
40 | - | sound.SoundId = "http://www.roblox.com/asset/?id=1099637855" |
40 | + | o2.FormFactor = Enum.FormFactor.Custom |
41 | o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
42 | o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006) | |
43 | o2.BottomSurface = Enum.SurfaceType.Smooth | |
44 | o2.TopSurface = Enum.SurfaceType.Smooth | |
45 | o2.Color = Color3.new(1, 0.8, 0.6) | |
46 | o3.Parent = o2 | |
47 | o3.Scale = Vector3.new(6.25, 6.25, 6.25) | |
48 | o3.MeshType = Enum.MeshType.FileMesh | |
49 | o4.Name = "Lense 1" | |
50 | o4.Parent = o1 | |
51 | o4.Material = Enum.Material.Metal | |
52 | o4.Transparency = 0.050000011920929 | |
53 | o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605) | |
54 | o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985) | |
55 | o4.Anchored = true | |
56 | o4.CanCollide = false | |
57 | o4.FormFactor = Enum.FormFactor.Custom | |
58 | o4.Shape = Enum.PartType.Cylinder | |
59 | o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998) | |
60 | o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478) | |
61 | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
62 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
63 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
64 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
65 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
66 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
67 | o5.Name = "Lense2" | |
68 | o5.Parent = o1 | |
69 | o5.Material = Enum.Material.Metal | |
70 | o5.Transparency = 0.050000011920929 | |
71 | o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277) | |
72 | o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985) | |
73 | o5.Anchored = true | |
74 | o5.CanCollide = false | |
75 | o5.FormFactor = Enum.FormFactor.Custom | |
76 | o5.Shape = Enum.PartType.Cylinder | |
77 | o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001) | |
78 | o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668) | |
79 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
80 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
81 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
82 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
83 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
84 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
85 | o6.Name = "Handle" | |
86 | o6.Parent = o1 | |
87 | o6.Material = Enum.Material.Metal | |
88 | o6.BrickColor = BrickColor.new("Really black") | |
89 | o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869) | |
90 | o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008) | |
91 | o6.Anchored = true | |
92 | o6.CanCollide = false | |
93 | o6.FormFactor = Enum.FormFactor.Plate | |
94 | o6.Size = Vector3.new(1, 0.400000006, 1) | |
95 | o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008) | |
96 | o6.BottomSurface = Enum.SurfaceType.Weld | |
97 | o6.TopSurface = Enum.SurfaceType.Smooth | |
98 | o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
99 | o7.Parent = o6 | |
100 | o7.MeshId = "http://www.roblox.com/asset/?id=5158270" | |
101 | o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001) | |
102 | o7.MeshType = Enum.MeshType.FileMesh | |
103 | o8.Name = "Straps" | |
104 | o8.Parent = o1 | |
105 | o8.Material = Enum.Material.Fabric | |
106 | o8.BrickColor = BrickColor.new("Really black") | |
107 | o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869) | |
108 | o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924) | |
109 | o8.Anchored = true | |
110 | o8.CanCollide = false | |
111 | o8.FormFactor = Enum.FormFactor.Custom | |
112 | o8.Shape = Enum.PartType.Cylinder | |
113 | o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999) | |
114 | o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762) | |
115 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
116 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
117 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
118 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
119 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
120 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
121 | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
122 | o9.Name = "Ring2" | |
123 | o9.Parent = o1 | |
124 | o9.BrickColor = BrickColor.new("Dark stone grey") | |
125 | o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477) | |
126 | o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005) | |
127 | o9.Anchored = true | |
128 | o9.CanCollide = false | |
129 | o9.FormFactor = Enum.FormFactor.Custom | |
130 | o9.Size = Vector3.new(0.600000024, 0.200000003, 1) | |
131 | o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195) | |
132 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
133 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
134 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
135 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
136 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
137 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
138 | o9.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
139 | o10.Parent = o9 | |
140 | o10.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
141 | o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012) | |
142 | o10.MeshType = Enum.MeshType.FileMesh | |
143 | o11.Name = "Straps" | |
144 | o11.Parent = o1 | |
145 | o11.Material = Enum.Material.Fabric | |
146 | o11.BrickColor = BrickColor.new("Really black") | |
147 | o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869) | |
148 | o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924) | |
149 | o11.Anchored = true | |
150 | o11.CanCollide = false | |
151 | o11.FormFactor = Enum.FormFactor.Custom | |
152 | o11.Shape = Enum.PartType.Cylinder | |
153 | o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999) | |
154 | o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762) | |
155 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
156 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
157 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
158 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
159 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
160 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
161 | o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
162 | o12.Name = "Ring1" | |
163 | o12.Parent = o1 | |
164 | o12.BrickColor = BrickColor.new("Dark stone grey") | |
165 | o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988) | |
166 | o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985) | |
167 | o12.Anchored = true | |
168 | o12.CanCollide = false | |
169 | o12.FormFactor = Enum.FormFactor.Custom | |
170 | o12.Size = Vector3.new(0.600000024, 0.200000003, 1) | |
171 | o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017) | |
172 | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
173 | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
174 | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
175 | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
176 | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
177 | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
178 | o12.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
179 | o13.Parent = o12 | |
180 | o13.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
181 | o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012) | |
182 | o13.MeshType = Enum.MeshType.FileMesh | |
183 | o14.Name = "Breather" | |
184 | o14.Parent = o1 | |
185 | o14.Material = Enum.Material.Metal | |
186 | o14.BrickColor = BrickColor.new("Really black") | |
187 | o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011) | |
188 | o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521) | |
189 | o14.Anchored = true | |
190 | o14.CanCollide = false | |
191 | o14.FormFactor = Enum.FormFactor.Custom | |
192 | o14.Shape = Enum.PartType.Cylinder | |
193 | o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003) | |
194 | o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762) | |
195 | o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
196 | o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
197 | o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
198 | o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
199 | o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
200 | o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
201 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
202 | o15.Name = "Breather" | |
203 | o15.Parent = o1 | |
204 | o15.Material = Enum.Material.Metal | |
205 | o15.BrickColor = BrickColor.new("Really black") | |
206 | o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011) | |
207 | o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521) | |
208 | o15.Anchored = true | |
209 | o15.CanCollide = false | |
210 | o15.FormFactor = Enum.FormFactor.Custom | |
211 | o15.Shape = Enum.PartType.Cylinder | |
212 | o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024) | |
213 | o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762) | |
214 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
215 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
216 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
217 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
218 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
219 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
220 | o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
221 | o16.Name = "Breather" | |
222 | o16.Parent = o1 | |
223 | o16.Material = Enum.Material.Metal | |
224 | o16.BrickColor = BrickColor.new("Really black") | |
225 | o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256) | |
226 | o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548) | |
227 | o16.Anchored = true | |
228 | o16.CanCollide = false | |
229 | o16.FormFactor = Enum.FormFactor.Custom | |
230 | o16.Shape = Enum.PartType.Cylinder | |
231 | o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75) | |
232 | o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967) | |
233 | o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
234 | o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
235 | o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
236 | o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
237 | o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
238 | o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
239 | o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
240 | o17.Name = "Breather" | |
241 | o17.Parent = o1 | |
242 | o17.Material = Enum.Material.Metal | |
243 | o17.BrickColor = BrickColor.new("Really black") | |
244 | o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109) | |
245 | o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548) | |
246 | o17.Anchored = true | |
247 | o17.CanCollide = false | |
248 | o17.FormFactor = Enum.FormFactor.Custom | |
249 | o17.Shape = Enum.PartType.Cylinder | |
250 | o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002) | |
251 | o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967) | |
252 | o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
253 | o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
254 | o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
255 | o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
256 | o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
257 | o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
258 | o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
259 | function onTouched(hit) | |
260 | local d = hit.Parent:GetChildren() | |
261 | for i=1, #d do | |
262 | if (d[i].className == "Hat") then | |
263 | d[i]:remove() | |
264 | end | |
265 | end | |
266 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then | |
267 | local g = o1:clone() | |
268 | g.Parent = hit.Parent | |
269 | local C = g:GetChildren() | |
270 | for i=1, #C do | |
271 | if C[i].className == "Part" then | |
272 | local W = Instance.new("Weld") | |
273 | W.Part0 = g.Middle | |
274 | W.Part1 = C[i] | |
275 | local CJ = CFrame.new(g.Middle.Position) | |
276 | local C0 = g.Middle.CFrame:inverse()*CJ | |
277 | local C1 = C[i].CFrame:inverse()*CJ | |
278 | W.C0 = C0 | |
279 | W.C1 = C1 | |
280 | W.Parent = g.Middle | |
281 | g.Middle.Transparency = 1 | |
282 | end | |
283 | local Y = Instance.new("Weld") | |
284 | Y.Part0 = hit.Parent.Head | |
285 | Y.Part1 = g.Middle | |
286 | Y.C0 = CFrame.new(0, 0, 0) | |
287 | Y.Parent = Y.Part0 | |
288 | end | |
289 | ||
290 | local h = g:GetChildren() | |
291 | for i = 1, # h do | |
292 | h[i].Anchored = false | |
293 | h[i].CanCollide = false | |
294 | end | |
295 | ||
296 | end | |
297 | end | |
298 | ||
299 | onTouched(game.Players.LocalPlayer.Character.Head) | |
300 | end | |
301 | - | text.TextColor3 = Color3.new(255,0,0) |
301 | + | |
302 | wait(1 / 60) | |
303 | - | text.Text = "The Fallen" |
303 | + | |
304 | local Player = game.Players.localPlayer | |
305 | local Character = Player.Character | |
306 | local Humanoid = Character.Humanoid | |
307 | local Mouse = Player:GetMouse() | |
308 | local LeftArm = Character["Left Arm"] | |
309 | local RightArm = Character["Right Arm"] | |
310 | local LeftLeg = Character["Left Leg"] | |
311 | local RightLeg = Character["Right Leg"] | |
312 | local Head = Character.Head | |
313 | local Torso = Character.Torso | |
314 | local Camera = game.Workspace.CurrentCamera | |
315 | local RootPart = Character.HumanoidRootPart | |
316 | local RootJoint = RootPart.RootJoint | |
317 | local attack = false | |
318 | local Anim = 'Idle' | |
319 | local Lighty = game:GetService"Lighting" | |
320 | local attacktype = 1 | |
321 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
322 | local velocity = RootPart.Velocity.y | |
323 | local sine = 0 | |
324 | - | text.Text = "The Fallen;" |
324 | + | |
325 | local Create = LoadLibrary("RbxUtility").Create | |
326 | ||
327 | ||
328 | local sound = Instance.new("Sound", Torso) | |
329 | sound.SoundId = "http://www.roblox.com/asset/?id=1185989277" | |
330 | - | text.Text = "The Fallen"; |
330 | + | |
331 | sound.Volume = 5 | |
332 | sound.Looped = true | |
333 | sound:play() | |
334 | ||
335 | ||
336 | local chara = Character | |
337 | local m = Create("Model"){ | |
338 | Parent = Character, | |
339 | Name = "WeaponModel", | |
340 | } | |
341 | - | text.Text = "The Fallen"; |
341 | + | |
342 | Humanoid.Animator.Parent = nil | |
343 | Character.Animate.Parent = nil | |
344 | ||
345 | Humanoid.WalkSpeed = 8 | |
346 | ||
347 | ||
348 | local newMotor = function(part0, part1, c0, c1) | |
349 | local w = Create('Motor'){ | |
350 | Parent = part0, | |
351 | Part0 = part0, | |
352 | Part1 = part1, | |
353 | C0 = c0, | |
354 | C1 = c1, | |
355 | } | |
356 | return w | |
357 | end | |
358 | ||
359 | function clerp(a, b, t) | |
360 | return a:lerp(b, t) | |
361 | end | |
362 | ||
363 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
364 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
365 | ||
366 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
367 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
368 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
369 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
370 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
371 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
372 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
373 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
374 | ||
375 | local rarmc1 = RW.C1 | |
376 | local larmc1 = LW.C1 | |
377 | local rlegc1 = RH.C1 | |
378 | local llegc1 = LH.C1 | |
379 | ||
380 | local resetc1 = false | |
381 | ||
382 | function PlayAnimationFromTable(table, speed, bool) | |
383 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
384 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
385 | RW.C0 = clerp(RW.C0, table[3], speed) | |
386 | LW.C0 = clerp(LW.C0, table[4], speed) | |
387 | RH.C0 = clerp(RH.C0, table[5], speed) | |
388 | LH.C0 = clerp(LH.C0, table[6], speed) | |
389 | if bool == true then | |
390 | if resetc1 == false then | |
391 | resetc1 = true | |
392 | RootJoint.C1 = RootJoint.C1 | |
393 | Torso.Neck.C1 = Torso.Neck.C1 | |
394 | RW.C1 = rarmc1 | |
395 | LW.C1 = larmc1 | |
396 | RH.C1 = rlegc1 | |
397 | LH.C1 = llegc1 | |
398 | end | |
399 | end | |
400 | end | |
401 | ||
402 | ArtificialHB = Create("BindableEvent", script){ | |
403 | Parent = script, | |
404 | Name = "Heartbeat", | |
405 | } | |
406 | ||
407 | script:WaitForChild("Heartbeat") | |
408 | ||
409 | frame = 1 / 30 | |
410 | tf = 0 | |
411 | allowframeloss = false | |
412 | tossremainder = false | |
413 | lastframe = tick() | |
414 | script.Heartbeat:Fire() | |
415 | ||
416 | ||
417 | New = function(Object, Parent, Name, Data) | |
418 | local Object = Instance.new(Object) | |
419 | for Index, Value in pairs(Data or {}) do | |
420 | Object[Index] = Value | |
421 | end | |
422 | Object.Parent = Parent | |
423 | Object.Name = Name | |
424 | return Object | |
425 | end | |
426 | ||
427 | if chara.Head:FindFirstChild"face" then | |
428 | chara.Head.face.Texture = "rbxassetid://116736257" | |
429 | end | |
430 | --Credit to Psychopath for this shit | |
431 | ||
432 | Knifu = New("Model",chara,"Knifu",{}) | |
433 | Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Sage green"),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),}) | |
434 | Mesh = New("CylinderMesh",Handle,"Mesh",{}) | |
435 | 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))}) | |
436 | 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,}) | |
437 | 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),}) | |
438 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Sage green"),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),}) | |
439 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
440 | 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),}) | |
441 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Sage green"),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),}) | |
442 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
443 | 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),}) | |
444 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Sage green"),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),}) | |
445 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
446 | 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),}) | |
447 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Sage green"),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),}) | |
448 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
449 | 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),}) | |
450 | 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,}) | |
451 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
452 | 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),}) | |
453 | BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Really red"),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),}) | |
454 | Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
455 | 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),}) | |
456 | 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,}) | |
457 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
458 | 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),}) | |
459 | 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,}) | |
460 | 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,}) | |
461 | 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),}) | |
462 | 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,}) | |
463 | 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,}) | |
464 | 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),}) | |
465 | 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,}) | |
466 | 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,}) | |
467 | 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),}) | |
468 | 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,}) | |
469 | 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,}) | |
470 | 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),}) | |
471 | 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,}) | |
472 | 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,}) | |
473 | 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),}) | |
474 | 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,}) | |
475 | 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,}) | |
476 | 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),}) | |
477 | 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,}) | |
478 | 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,}) | |
479 | 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),}) | |
480 | 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,}) | |
481 | 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,}) | |
482 | 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),}) | |
483 | 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,}) | |
484 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
485 | 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),}) | |
486 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Sage green"),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),}) | |
487 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
488 | 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),}) | |
489 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Sage green"),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),}) | |
490 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
491 | 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),}) | |
492 | Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Really red"),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),}) | |
493 | Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
494 | 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),}) | |
495 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really red"),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),}) | |
496 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
497 | 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),}) | |
498 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really red"),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),}) | |
499 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
500 | 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),}) | |
501 | ||
502 | local p1mit = Instance.new("ParticleEmitter",Hitbox) | |
503 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
504 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
505 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
506 | p1mit.Lifetime = NumberRange.new(2) | |
507 | p1mit.Rate = 100 | |
508 | p1mit.Enabled = false | |
509 | p1mit.Acceleration = Vector3.new(0,-5,0) | |
510 | p1mit.Rotation = NumberRange.new(0,359) | |
511 | p1mit.Speed = NumberRange.new(0) | |
512 | local p2mit = Instance.new("ParticleEmitter",BloodPart) | |
513 | p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" | |
514 | p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
515 | p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)}) | |
516 | p2mit.Lifetime = NumberRange.new(1) | |
517 | p2mit.Rate = 10 | |
518 | p2mit.Acceleration = Vector3.new(0,-10,0) | |
519 | p2mit.Speed = NumberRange.new(0) | |
520 | local p3mit = p2mit:Clone() | |
521 | p3mit.Parent = Blood2Part | |
522 | ||
523 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
524 | tf = tf + s | |
525 | if tf >= frame then | |
526 | if allowframeloss then | |
527 | script.Heartbeat:Fire() | |
528 | lastframe = tick() | |
529 | else | |
530 | for i = 1, math.floor(tf / frame) do | |
531 | script.Heartbeat:Fire() | |
532 | end | |
533 | lastframe = tick() | |
534 | end | |
535 | if tossremainder then | |
536 | tf = 0 | |
537 | else | |
538 | tf = tf - frame * math.floor(tf / frame) | |
539 | end | |
540 | end | |
541 | end) | |
542 | ||
543 | function swait(num) | |
544 | if num == 0 or num == nil then | |
545 | ArtificialHB.Event:wait() | |
546 | else | |
547 | for i = 0, num do | |
548 | ArtificialHB.Event:wait() | |
549 | end | |
550 | end | |
551 | end | |
552 | ||
553 | function RemoveOutlines(part) | |
554 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
555 | end | |
556 | ||
557 | CV="White" | |
558 | ||
559 | p = game.Players.LocalPlayer | |
560 | char = p.Character | |
561 | local txt = Instance.new("BillboardGui", char) | |
562 | txt.Adornee = char .Head | |
563 | txt.Name = "_status" | |
564 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
565 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
566 | local text = Instance.new("TextLabel", txt) | |
567 | text.Size = UDim2.new(10, 0, 7, 0) | |
568 | text.FontSize = "Size24" | |
569 | text.TextScaled = true | |
570 | text.TextTransparency = 0 | |
571 | text.BackgroundTransparency = 1 | |
572 | text.TextTransparency = 0 | |
573 | text.TextStrokeTransparency = 1 | |
574 | text.Font = "Arcade" | |
575 | text.TextStrokeColor3 = Color3.new(0,0,255) | |
576 | ||
577 | v=Instance.new("Part") | |
578 | v.Name = "ColorBrick" | |
579 | v.Parent=p.Character | |
580 | v.FormFactor="Symmetric" | |
581 | v.Anchored=true | |
582 | v.CanCollide=false | |
583 | v.BottomSurface="Smooth" | |
584 | v.TopSurface="Smooth" | |
585 | v.Size=Vector3.new(10,5,3) | |
586 | v.Transparency=1 | |
587 | v.CFrame=char.Torso.CFrame | |
588 | v.BrickColor=BrickColor.new(CV) | |
589 | v.Transparency=1 | |
590 | text.TextColor3 = Color3.new(255,255,0) | |
591 | v.Shape="Block" | |
592 | text.Text = "Masked man" | |
593 | coroutine.wrap(function() | |
594 | while wait() do | |
595 | wait() | |
596 | text.Text = "C=" | |
597 | wait() | |
598 | text.Text = "This is not right"; | |
599 | wait() | |
600 | local str = "" | |
601 | for i = 1, math.random(3,25) do | |
602 | str = str..string.char(math.random(65,122)) | |
603 | end | |
604 | text.Text = str | |
605 | wait() | |
606 | str = "" | |
607 | for i = 1, math.random(12,25) do | |
608 | str = str..string.char(math.random(48,122)) | |
609 | end | |
610 | wait() | |
611 | text.Text = str | |
612 | wait() | |
613 | text.Text = "Masked man;" | |
614 | wait() | |
615 | text.Text = "THE PAIN" | |
616 | wait() | |
617 | text.Text = "C=" | |
618 | wait() | |
619 | text.Text = "Masked man"; | |
620 | wait(2) | |
621 | text.Text = "Im not crazy"; | |
622 | wait() | |
623 | text.Text = "Its too late"; | |
624 | wait() | |
625 | for i = 1, math.random(12,25) do | |
626 | str = str..string.char(math.random(48,57)) | |
627 | end | |
628 | text.Text = str | |
629 | wait() | |
630 | text.Text = "Masked man"; | |
631 | wait(2) | |
632 | end | |
633 | end)() | |
634 | ||
635 | ||
636 | function chat(...) | |
637 | local txxt = {...} | |
638 | local ch = coroutine.wrap(function() | |
639 | if chara:FindFirstChild("Chatt")~= nil then | |
640 | Character:FindFirstChild("Chatt"):destroy() | |
641 | end | |
642 | local txt = Instance.new("BillboardGui", chara) | |
643 | txt.Adornee = chara.Head | |
644 | txt.Name = "Chatt" | |
645 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
646 | txt.StudsOffset = Vector3.new(-9, 7, 0) | |
647 | local text = Instance.new("TextLabel", txt) | |
648 | text.Size = UDim2.new(10, 0, 7, 0) | |
649 | text.TextSize = 24 | |
650 | text.Font = Enum.Font.Cartoon | |
651 | text.TextScaled = false | |
652 | text.BackgroundTransparency = 1 | |
653 | text.TextColor3 = Color3.new(0,0,0) | |
654 | text.TextStrokeTransparency = 0 | |
655 | text.TextStrokeColor3 = Color3.new(1,0,0) | |
656 | text.Text = "" | |
657 | txxt = table.concat(txxt,"\t") | |
658 | for i = 1, #txxt do | |
659 | text.Text = txxt:sub(1,i) | |
660 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
661 | wait() | |
662 | end | |
663 | wait(2) | |
664 | for trans = 0,1,.1 do | |
665 | text.TextTransparency = trans | |
666 | text.TextStrokeTransparency = trans | |
667 | wait() | |
668 | end | |
669 | wait() | |
670 | txt:destroy() | |
671 | end) | |
672 | ||
673 | ch(...) | |
674 | end | |
675 | Player.Chatted:connect(chat) | |
676 | CFuncs = { | |
677 | ["Part"] = { | |
678 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
679 | local Part = Create("Part"){ | |
680 | Parent = Parent, | |
681 | Reflectance = Reflectance, | |
682 | Transparency = Transparency, | |
683 | CanCollide = false, | |
684 | Locked = true, | |
685 | BrickColor = BrickColor.new(tostring(BColor)), | |
686 | Name = Name, | |
687 | Size = Size, | |
688 | Material = Material, | |
689 | } | |
690 | RemoveOutlines(Part) | |
691 | return Part | |
692 | end; | |
693 | }; | |
694 | ||
695 | ["Mesh"] = { | |
696 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
697 | local Msh = Create(Mesh){ | |
698 | Parent = Part, | |
699 | Offset = OffSet, | |
700 | Scale = Scale, | |
701 | } | |
702 | if Mesh == "SpecialMesh" then | |
703 | Msh.MeshType = MeshType | |
704 | Msh.MeshId = MeshId | |
705 | end | |
706 | return Msh | |
707 | end; | |
708 | }; | |
709 | ||
710 | ["Mesh"] = { | |
711 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
712 | local Msh = Create(Mesh){ | |
713 | Parent = Part, | |
714 | Offset = OffSet, | |
715 | Scale = Scale, | |
716 | } | |
717 | if Mesh == "SpecialMesh" then | |
718 | Msh.MeshType = MeshType | |
719 | Msh.MeshId = MeshId | |
720 | end | |
721 | return Msh | |
722 | end; | |
723 | }; | |
724 | ||
725 | ["Weld"] = { | |
726 | Create = function(Parent, Part0, Part1, C0, C1) | |
727 | local Weld = Create("Weld"){ | |
728 | Parent = Parent, | |
729 | Part0 = Part0, | |
730 | Part1 = Part1, | |
731 | C0 = C0, | |
732 | C1 = C1, | |
733 | } | |
734 | return Weld | |
735 | end; | |
736 | }; | |
737 | ||
738 | ["Sound"] = { | |
739 | Create = function(id, par, vol, pit) | |
740 | coroutine.resume(coroutine.create(function() | |
741 | local S = Create("Sound"){ | |
742 | Volume = vol, | |
743 | Pitch = pit or 1, | |
744 | SoundId = id, | |
745 | Parent = par or workspace, | |
746 | } | |
747 | wait() | |
748 | S:play() | |
749 | game:GetService("Debris"):AddItem(S, 6) | |
750 | end)) | |
751 | end; | |
752 | }; | |
753 | ||
754 | ["ParticleEmitter"] = { | |
755 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
756 | local fp = Create("ParticleEmitter"){ | |
757 | Parent = Parent, | |
758 | Color = ColorSequence.new(Color1, Color2), | |
759 | LightEmission = LightEmission, | |
760 | Size = Size, | |
761 | Texture = Texture, | |
762 | Transparency = Transparency, | |
763 | ZOffset = ZOffset, | |
764 | Acceleration = Accel, | |
765 | Drag = Drag, | |
766 | LockedToPart = LockedToPart, | |
767 | VelocityInheritance = VelocityInheritance, | |
768 | EmissionDirection = EmissionDirection, | |
769 | Enabled = Enabled, | |
770 | Lifetime = LifeTime, | |
771 | Rate = Rate, | |
772 | Rotation = Rotation, | |
773 | RotSpeed = RotSpeed, | |
774 | Speed = Speed, | |
775 | VelocitySpread = VelocitySpread, | |
776 | } | |
777 | return fp | |
778 | end; | |
779 | }; | |
780 | ||
781 | CreateTemplate = { | |
782 | ||
783 | }; | |
784 | } | |
785 | ||
786 | function rayCast(Position, Direction, Range, Ignore) | |
787 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
788 | end | |
789 | ||
790 | ||
791 | FindNearestTorso = function(pos) | |
792 | local list = (game.Workspace:children()) | |
793 | local torso = nil | |
794 | local dist = 1000 | |
795 | local temp, human, temp2 = nil, nil, nil | |
796 | for x = 1, #list do | |
797 | temp2 = list[x] | |
798 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
799 | temp = temp2:findFirstChild("Torso") | |
800 | human = temp2:findFirstChild("Humanoid") | |
801 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
802 | local dohit = true | |
803 | if dohit == true then | |
804 | torso = temp | |
805 | dist = (temp.Position - pos).magnitude | |
806 | end | |
807 | end | |
808 | end | |
809 | end | |
810 | return torso, dist | |
811 | end | |
812 | ||
813 | function FindNearestTorsos(Position, Distance, SinglePlayer) | |
814 | if SinglePlayer then | |
815 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
816 | end | |
817 | local List = {} | |
818 | for i, v in pairs(workspace:GetChildren()) do | |
819 | if v:IsA("Model") then | |
820 | if v:findFirstChild("Torso") then | |
821 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
822 | if v ~= Character then | |
823 | if (v.Torso.Position - Position).magnitude <= Distance then | |
824 | table.insert(List, {v,(v.Torso.Position - Position).magnitude}) | |
825 | end | |
826 | end | |
827 | end | |
828 | end | |
829 | end | |
830 | end | |
831 | return List | |
832 | end | |
833 | ||
834 | ||
835 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
836 | if hit.Parent == nil then | |
837 | return | |
838 | end | |
839 | local h = hit.Parent:FindFirstChild("Humanoid") | |
840 | for _, v in pairs(hit.Parent:children()) do | |
841 | if v:IsA("Humanoid") then | |
842 | h = v | |
843 | end | |
844 | end | |
845 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
846 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
847 | if hit.Parent.DebounceHit.Value == true then | |
848 | return | |
849 | end | |
850 | end | |
851 | local c = Create("ObjectValue"){ | |
852 | Name = "creator", | |
853 | Value = game:service("Players").LocalPlayer, | |
854 | Parent = h, | |
855 | } | |
856 | game:GetService("Debris"):AddItem(c, .5) | |
857 | if HitSound ~= nil and HitPitch ~= nil then | |
858 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
859 | end | |
860 | local Damage = math.random(minim, maxim) | |
861 | local blocked = false | |
862 | local block = hit.Parent:findFirstChild("Block") | |
863 | if block ~= nil then | |
864 | if block.className == "IntValue" then | |
865 | if block.Value > 0 then | |
866 | blocked = true | |
867 | block.Value = block.Value - 1 | |
868 | print(block.Value) | |
869 | end | |
870 | end | |
871 | end | |
872 | if blocked == false then | |
873 | h.Health = h.Health - Damage | |
874 | 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) | |
875 | else | |
876 | h.Health = h.Health - (Damage / 2) | |
877 | 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) | |
878 | end | |
879 | if Type == "Knockdown" then | |
880 | local hum = hit.Parent.Humanoid | |
881 | hum.PlatformStand = true | |
882 | coroutine.resume(coroutine.create(function(HHumanoid) | |
883 | swait(1) | |
884 | HHumanoid.PlatformStand = false | |
885 | end), hum) | |
886 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
887 | local bodvol = Create("BodyVelocity"){ | |
888 | velocity = angle * knockback, | |
889 | P = 5000, | |
890 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
891 | Parent = hit, | |
892 | } | |
893 | local rl = Create("BodyAngularVelocity"){ | |
894 | P = 3000, | |
895 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
896 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
897 | Parent = hit, | |
898 | } | |
899 | game:GetService("Debris"):AddItem(bodvol, .5) | |
900 | game:GetService("Debris"):AddItem(rl, .5) | |
901 | elseif Type == "Normal" then | |
902 | local vp = Create("BodyVelocity"){ | |
903 | P = 500, | |
904 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
905 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
906 | } | |
907 | if knockback > 0 then | |
908 | vp.Parent = hit.Parent.Torso | |
909 | end | |
910 | game:GetService("Debris"):AddItem(vp, .5) | |
911 | elseif Type == "Up" then | |
912 | local bodyVelocity = Create("BodyVelocity"){ | |
913 | velocity = Vector3.new(0, 20, 0), | |
914 | P = 5000, | |
915 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
916 | Parent = hit, | |
917 | } | |
918 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
919 | elseif Type == "DarkUp" then | |
920 | coroutine.resume(coroutine.create(function() | |
921 | for i = 0, 1, 0.1 do | |
922 | swait() | |
923 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
924 | end | |
925 | end)) | |
926 | local bodyVelocity = Create("BodyVelocity"){ | |
927 | velocity = Vector3.new(0, 20, 0), | |
928 | P = 5000, | |
929 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
930 | Parent = hit, | |
931 | } | |
932 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
933 | elseif Type == "Snare" then | |
934 | local bp = Create("BodyPosition"){ | |
935 | P = 2000, | |
936 | D = 100, | |
937 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
938 | position = hit.Parent.Torso.Position, | |
939 | Parent = hit.Parent.Torso, | |
940 | } | |
941 | game:GetService("Debris"):AddItem(bp, 1) | |
942 | elseif Type == "Freeze" then | |
943 | local BodPos = Create("BodyPosition"){ | |
944 | P = 50000, | |
945 | D = 1000, | |
946 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
947 | position = hit.Parent.Torso.Position, | |
948 | Parent = hit.Parent.Torso, | |
949 | } | |
950 | local BodGy = Create("BodyGyro") { | |
951 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
952 | P = 20e+003, | |
953 | Parent = hit.Parent.Torso, | |
954 | cframe = hit.Parent.Torso.CFrame, | |
955 | } | |
956 | hit.Parent.Torso.Anchored = true | |
957 | coroutine.resume(coroutine.create(function(Part) | |
958 | swait(1.5) | |
959 | Part.Anchored = false | |
960 | end), hit.Parent.Torso) | |
961 | game:GetService("Debris"):AddItem(BodPos, 3) | |
962 | game:GetService("Debris"):AddItem(BodGy, 3) | |
963 | end | |
964 | local debounce = Create("BoolValue"){ | |
965 | Name = "DebounceHit", | |
966 | Parent = hit.Parent, | |
967 | Value = true, | |
968 | } | |
969 | game:GetService("Debris"):AddItem(debounce, Delay) | |
970 | c = Create("ObjectValue"){ | |
971 | Name = "creator", | |
972 | Value = Player, | |
973 | Parent = h, | |
974 | } | |
975 | game:GetService("Debris"):AddItem(c, .5) | |
976 | end | |
977 | end | |
978 | ||
979 | function ShowDamage(Pos, Text, Time, Color) | |
980 | local Rate = (1 / 30) | |
981 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
982 | local Text = (Text or "") | |
983 | local Time = (Time or 2) | |
984 | local Color = (Color or Color3.new(1, 0, 1)) | |
985 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
986 | EffectPart.Anchored = true | |
987 | local BillboardGui = Create("BillboardGui"){ | |
988 | Size = UDim2.new(3, 0, 3, 0), | |
989 | Adornee = EffectPart, | |
990 | Parent = EffectPart, | |
991 | } | |
992 | local TextLabel = Create("TextLabel"){ | |
993 | BackgroundTransparency = 1, | |
994 | Size = UDim2.new(1, 0, 1, 0), | |
995 | Text = Text, | |
996 | Font = "SciFi", | |
997 | TextColor3 = Color, | |
998 | TextScaled = true, | |
999 | Parent = BillboardGui, | |
1000 | } | |
1001 | game.Debris:AddItem(EffectPart, (Time)) | |
1002 | EffectPart.Parent = game:GetService("Workspace") | |
1003 | delay(0, function() | |
1004 | local Frames = (Time / Rate) | |
1005 | for Frame = 1, Frames do | |
1006 | wait(Rate) | |
1007 | local Percent = (Frame / Frames) | |
1008 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1009 | TextLabel.TextTransparency = Percent | |
1010 | end | |
1011 | if EffectPart and EffectPart.Parent then | |
1012 | EffectPart:Destroy() | |
1013 | end | |
1014 | end) | |
1015 | end | |
1016 | ||
1017 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1018 | for _, c in pairs(workspace:children()) do | |
1019 | local hum = c:findFirstChild("Humanoid") | |
1020 | if hum ~= nil then | |
1021 | local head = c:findFirstChild("Torso") | |
1022 | if head ~= nil then | |
1023 | local targ = head.Position - Part.Position | |
1024 | local mag = targ.magnitude | |
1025 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1026 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1027 | end | |
1028 | end | |
1029 | end | |
1030 | end | |
1031 | end | |
1032 | ||
1033 | EffectModel = Create("Model"){ | |
1034 | Parent = Character, | |
1035 | Name = "Effects", | |
1036 | } | |
1037 | ||
1038 | Effects = { | |
1039 | Block = { | |
1040 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1041 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1042 | prt.Anchored = true | |
1043 | prt.CFrame = cframe | |
1044 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1045 | game:GetService("Debris"):AddItem(prt, 10) | |
1046 | if Type == 1 or Type == nil then | |
1047 | table.insert(Effects, { | |
1048 | prt, | |
1049 | "Block1", | |
1050 | delay, | |
1051 | x3, | |
1052 | y3, | |
1053 | z3, | |
1054 | msh | |
1055 | }) | |
1056 | elseif Type == 2 then | |
1057 | table.insert(Effects, { | |
1058 | prt, | |
1059 | "Block2", | |
1060 | delay, | |
1061 | x3, | |
1062 | y3, | |
1063 | z3, | |
1064 | msh | |
1065 | }) | |
1066 | end | |
1067 | end; | |
1068 | }; | |
1069 | ||
1070 | Cylinder = { | |
1071 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1072 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1073 | prt.Anchored = true | |
1074 | prt.CFrame = cframe | |
1075 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1076 | game:GetService("Debris"):AddItem(prt, 10) | |
1077 | table.insert(Effects, { | |
1078 | prt, | |
1079 | "Cylinder", | |
1080 | delay, | |
1081 | x3, | |
1082 | y3, | |
1083 | z3, | |
1084 | msh | |
1085 | }) | |
1086 | end; | |
1087 | }; | |
1088 | Head = { | |
1089 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1090 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1091 | prt.Anchored = true | |
1092 | prt.CFrame = cframe | |
1093 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1094 | game:GetService("Debris"):AddItem(prt, 10) | |
1095 | table.insert(Effects, { | |
1096 | prt, | |
1097 | "Cylinder", | |
1098 | delay, | |
1099 | x3, | |
1100 | y3, | |
1101 | z3, | |
1102 | msh | |
1103 | }) | |
1104 | end; | |
1105 | }; | |
1106 | ||
1107 | Sphere = { | |
1108 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1109 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1110 | prt.Anchored = true | |
1111 | prt.CFrame = cframe | |
1112 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1113 | game:GetService("Debris"):AddItem(prt, 10) | |
1114 | table.insert(Effects, { | |
1115 | prt, | |
1116 | "Cylinder", | |
1117 | delay, | |
1118 | x3, | |
1119 | y3, | |
1120 | z3, | |
1121 | msh | |
1122 | }) | |
1123 | end; | |
1124 | }; | |
1125 | ||
1126 | Elect = { | |
1127 | Create = function(cff, x, y, z) | |
1128 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
1129 | prt.Anchored = true | |
1130 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1131 | prt.CFrame = CFrame.new(prt.Position) | |
1132 | game:GetService("Debris"):AddItem(prt, 2) | |
1133 | local xval = math.random() / 2 | |
1134 | local yval = math.random() / 2 | |
1135 | local zval = math.random() / 2 | |
1136 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1137 | table.insert(Effects, { | |
1138 | prt, | |
1139 | "Elec", | |
1140 | 0.1, | |
1141 | x, | |
1142 | y, | |
1143 | z, | |
1144 | xval, | |
1145 | yval, | |
1146 | zval | |
1147 | }) | |
1148 | end; | |
1149 | ||
1150 | }; | |
1151 | ||
1152 | Ring = { | |
1153 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1154 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1155 | prt.Anchored = true | |
1156 | prt.CFrame = cframe | |
1157 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1158 | game:GetService("Debris"):AddItem(prt, 10) | |
1159 | table.insert(Effects, { | |
1160 | prt, | |
1161 | "Cylinder", | |
1162 | delay, | |
1163 | x3, | |
1164 | y3, | |
1165 | z3, | |
1166 | msh | |
1167 | }) | |
1168 | end; | |
1169 | }; | |
1170 | ||
1171 | ||
1172 | Wave = { | |
1173 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1174 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1175 | prt.Anchored = true | |
1176 | prt.CFrame = cframe | |
1177 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1178 | game:GetService("Debris"):AddItem(prt, 10) | |
1179 | table.insert(Effects, { | |
1180 | prt, | |
1181 | "Cylinder", | |
1182 | delay, | |
1183 | x3, | |
1184 | y3, | |
1185 | z3, | |
1186 | msh | |
1187 | }) | |
1188 | end; | |
1189 | }; | |
1190 | ||
1191 | Break = { | |
1192 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1193 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1194 | prt.Anchored = true | |
1195 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1196 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1197 | local num = math.random(10, 50) / 1000 | |
1198 | game:GetService("Debris"):AddItem(prt, 10) | |
1199 | table.insert(Effects, { | |
1200 | prt, | |
1201 | "Shatter", | |
1202 | num, | |
1203 | prt.CFrame, | |
1204 | math.random() - math.random(), | |
1205 | 0, | |
1206 | math.random(50, 100) / 100 | |
1207 | }) | |
1208 | end; | |
1209 | }; | |
1210 | ||
1211 | Fire = { | |
1212 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1213 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1214 | prt.Anchored = true | |
1215 | prt.CFrame = cframe | |
1216 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1217 | game:GetService("Debris"):AddItem(prt, 10) | |
1218 | table.insert(Effects, { | |
1219 | prt, | |
1220 | "Fire", | |
1221 | delay, | |
1222 | 1, | |
1223 | 1, | |
1224 | 1, | |
1225 | msh | |
1226 | }) | |
1227 | end; | |
1228 | }; | |
1229 | ||
1230 | FireWave = { | |
1231 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1232 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1233 | prt.Anchored = true | |
1234 | prt.CFrame = cframe | |
1235 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1236 | local d = Create("Decal"){ | |
1237 | Parent = prt, | |
1238 | Texture = "rbxassetid://26356434", | |
1239 | Face = "Top", | |
1240 | } | |
1241 | local d = Create("Decal"){ | |
1242 | Parent = prt, | |
1243 | Texture = "rbxassetid://26356434", | |
1244 | Face = "Bottom", | |
1245 | } | |
1246 | game:GetService("Debris"):AddItem(prt, 10) | |
1247 | table.insert(Effects, { | |
1248 | prt, | |
1249 | "FireWave", | |
1250 | 1, | |
1251 | 30, | |
1252 | math.random(400, 600) / 100, | |
1253 | msh | |
1254 | }) | |
1255 | end; | |
1256 | }; | |
1257 | ||
1258 | Lightning = { | |
1259 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1260 | local magz = (p0 - p1).magnitude | |
1261 | local curpos = p0 | |
1262 | local trz = { | |
1263 | -ofs, | |
1264 | ofs | |
1265 | } | |
1266 | for i = 1, tym do | |
1267 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1268 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1269 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1270 | li.Material = "Neon" | |
1271 | if tym == i then | |
1272 | local magz2 = (curpos - p1).magnitude | |
1273 | li.Size = Vector3.new(th, th, magz2) | |
1274 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1275 | table.insert(Effects, { | |
1276 | li, | |
1277 | "Disappear", | |
1278 | last | |
1279 | }) | |
1280 | else | |
1281 | do | |
1282 | do | |
1283 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1284 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1285 | game.Debris:AddItem(li, 10) | |
1286 | table.insert(Effects, { | |
1287 | li, | |
1288 | "Disappear", | |
1289 | last | |
1290 | }) | |
1291 | end | |
1292 | end | |
1293 | end | |
1294 | end | |
1295 | end | |
1296 | }; | |
1297 | ||
1298 | EffectTemplate = { | |
1299 | ||
1300 | }; | |
1301 | } | |
1302 | ||
1303 | function attackone() | |
1304 | attack = true | |
1305 | for i = 0, 1, 0.1 do | |
1306 | swait() | |
1307 | PlayAnimationFromTable({ | |
1308 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1309 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1310 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1311 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1312 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1313 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1314 | }, .3, false) | |
1315 | end | |
1316 | attack = false | |
1317 | end | |
1318 | ||
1319 | Mouse.KeyDown:connect(function(k) | |
1320 | k = k:lower() | |
1321 | if attack == false and k == '' then | |
1322 | ||
1323 | end | |
1324 | end) | |
1325 | ||
1326 | abss = Instance.new("BillboardGui",Character) | |
1327 | abss.Size = UDim2.new(10,0,10,0) | |
1328 | abss.Enabled = false | |
1329 | imgl = Instance.new("ImageLabel",abss) | |
1330 | imgl.Position = UDim2.new(0,0,0,0) | |
1331 | imgl.Size = UDim2.new(1,0,1,0) | |
1332 | imgl.Image = "rbxassetid://711463989" | |
1333 | imgl.BackgroundTransparency = 1 | |
1334 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
1335 | img2 = Instance.new("ImageLabel",abss) | |
1336 | img2.Position = UDim2.new(0,0,0,0) | |
1337 | img2.Size = UDim2.new(1,0,1,0) | |
1338 | img2.Image = "rbxassetid://711463989" | |
1339 | img2.BackgroundTransparency = 1 | |
1340 | img2.ImageColor3 = Color3.new(.9,0,0) | |
1341 | ||
1342 | local targetted = nil; | |
1343 | ||
1344 | function ohshityougothit(dude) | |
1345 | coroutine.wrap(function() | |
1346 | repeat wait() until dude:FindFirstChild"Head" | |
1347 | KnifuHit = New("Model",workspace,"KnifuHit",{}) | |
1348 | game:GetService("Debris"):AddItem(KnifuHit,3) | |
1349 | HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1350 | Mesh = New("CylinderMesh",HWeldPart,"Mesh",{}) | |
1351 | 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),}) | |
1352 | 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),}) | |
1353 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1354 | 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),}) | |
1355 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1356 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1357 | 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),}) | |
1358 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1359 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
1360 | 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),}) | |
1361 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1362 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1363 | 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),}) | |
1364 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1365 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1366 | 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),}) | |
1367 | - | clone.Name = guy.Name.." (Murdered)" |
1367 | + | |
1368 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1369 | 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),}) | |
1370 | 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),}) | |
1371 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1372 | 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),}) | |
1373 | 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,}) | |
1374 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1375 | 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),}) | |
1376 | 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,}) | |
1377 | 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,}) | |
1378 | 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),}) | |
1379 | 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,}) | |
1380 | 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,}) | |
1381 | 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),}) | |
1382 | 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,}) | |
1383 | 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,}) | |
1384 | 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),}) | |
1385 | 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,}) | |
1386 | 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,}) | |
1387 | 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),}) | |
1388 | 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,}) | |
1389 | 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,}) | |
1390 | 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),}) | |
1391 | 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,}) | |
1392 | 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,}) | |
1393 | 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),}) | |
1394 | 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,}) | |
1395 | 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,}) | |
1396 | 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),}) | |
1397 | 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,}) | |
1398 | 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,}) | |
1399 | 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),}) | |
1400 | 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,}) | |
1401 | Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
1402 | 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),}) | |
1403 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1404 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1405 | 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),}) | |
1406 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Sage green"),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),}) | |
1407 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1408 | 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),}) | |
1409 | 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),}) | |
1410 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
1411 | 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),}) | |
1412 | 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),}) | |
1413 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1414 | 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),}) | |
1415 | end)() | |
1416 | end | |
1417 | ||
1418 | function fuckingdie(dude) | |
1419 | if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then | |
1420 | dude.Humanoid.PlatformStand = true | |
1421 | local bgf = Instance.new("BodyGyro",dude.Head) | |
1422 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
1423 | local val = Instance.new("BoolValue",dude) | |
1424 | val.Name = "IsHit" | |
1425 | for i = 1, 6 do | |
1426 | local blo = Instance.new("Part",game.Workspace) | |
1427 | blo.Size = Vector3.new(.6,.2,.6) | |
1428 | blo.Material = "SmoothPlastic" | |
1429 | blo.BrickColor = BrickColor.new("Crimson") | |
1430 | blo.Position = dude.Head.Position | |
1431 | blo.CFrame = dude.Head.CFrame | |
1432 | game:GetService("Debris"):AddItem(blo,15) | |
1433 | end | |
1434 | local ds = coroutine.wrap(function() | |
1435 | wait(1) | |
1436 | if dude == targetted then | |
1437 | targetted = nil | |
1438 | end | |
1439 | dude:FindFirstChildOfClass"Humanoid".Health = 0 | |
1440 | (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Anchored = false | |
1441 | ragdoll(dude) | |
1442 | end) | |
1443 | ds() | |
1444 | end | |
1445 | end | |
1446 | ||
1447 | local Sitting = false | |
1448 | function fuckingdiethro(dude) | |
1449 | if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then | |
1450 | dude.Humanoid.PlatformStand = true | |
1451 | if dude:FindFirstChild"Head" then local bgf = Instance.new("BodyGyro",dude.Head) | |
1452 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) end | |
1453 | local val = Instance.new("BoolValue",dude) | |
1454 | val.Name = "IsHit" | |
1455 | if dude:FindFirstChild"Head" then | |
1456 | for i = 1, 6 do | |
1457 | local blo = Instance.new("Part",game.Workspace) | |
1458 | blo.Size = Vector3.new(.6,.2,.6) | |
1459 | blo.Material = "SmoothPlastic" | |
1460 | blo.BrickColor = BrickColor.new("Crimson") | |
1461 | blo.Position = dude.Head.Position | |
1462 | blo.CFrame = dude.Head.CFrame | |
1463 | game:GetService("Debris"):AddItem(blo,15) | |
1464 | end | |
1465 | end | |
1466 | local ds = coroutine.wrap(function() | |
1467 | if(dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso") then | |
1468 | (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 | |
1469 | end | |
1470 | wait(0.3) | |
1471 | if dude == targetted then | |
1472 | targetted = nil | |
1473 | end | |
1474 | dude:FindFirstChildOfClass"Humanoid".Health = 0 | |
1475 | ragdoll(dude) | |
1476 | end) | |
1477 | ds() | |
1478 | end | |
1479 | end | |
1480 | ||
1481 | function ragdoll(guy) | |
1482 | guy.Archivable = true | |
1483 | clone = guy:Clone() | |
1484 | clone.Parent = workspace | |
1485 | game:service'Debris':AddItem(clone,10) | |
1486 | for i,v in pairs(clone:GetChildren()) do | |
1487 | if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
1488 | v:destroy() | |
1489 | end | |
1490 | for i,p in pairs(v:GetChildren()) do | |
1491 | if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then | |
1492 | p:destroy() | |
1493 | end | |
1494 | end | |
1495 | end | |
1496 | for i,t in pairs(guy:GetChildren()) do | |
1497 | if t.ClassName == "Accessory" or t.ClassName == "ForceField" then | |
1498 | t:destroy() | |
1499 | end | |
1500 | end | |
1501 | for i,v in next, clone:children() do | |
1502 | if v:IsA"LocalScript" or v:IsA"Script" or v:IsA"ModuleScript" then | |
1503 | v.Disabled = true | |
1504 | wait() | |
1505 | v:destroy() | |
1506 | end | |
1507 | end | |
1508 | local vel | |
1509 | if clone:FindFirstChild"Torso" then | |
1510 | vel = Instance.new("BodyVelocity", clone.Torso) | |
1511 | vel.Velocity = clone.Torso.CFrame.lookVector * -5 | |
1512 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1513 | end | |
1514 | if clone:FindFirstChild"Head" and clone.Head:FindFirstChild"face" then | |
1515 | clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" | |
1516 | end | |
1517 | using = false | |
1518 | local leftarm = clone:findFirstChild("Left Arm") | |
1519 | local rightrm = clone:findFirstChild("Right Arm") | |
1520 | local leftleg = clone:findFirstChild("Left Leg") | |
1521 | local rightleg = clone:findFirstChild("Right Leg") | |
1522 | local head = clone:findFirstChild("Head") | |
1523 | for i, g in pairs(guy:GetChildren()) do | |
1524 | if g.ClassName == "Part" then | |
1525 | g:destroy() | |
1526 | end | |
1527 | end | |
1528 | for i, h in pairs(guy:GetChildren()) do | |
1529 | if h.ClassName == "Accesory" then | |
1530 | h:destroy() | |
1531 | end | |
1532 | end | |
1533 | ||
1534 | if head ~= nil then | |
1535 | local glue13 = Instance.new("Glue", clone.Torso) | |
1536 | glue13.Part0 = clone.Torso | |
1537 | glue13.Part1 = head | |
1538 | glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1539 | glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1540 | local collider13 = Instance.new("Part", head) | |
1541 | collider13.Position = Vector3.new(0,999,0) | |
1542 | collider13.Size = Vector3.new(0.5, 0.9, 0.9) | |
1543 | collider13.Shape = "Cylinder" | |
1544 | collider13.Transparency = 1 | |
1545 | local weld = Instance.new("Weld", collider13) | |
1546 | weld.Part0 = head | |
1547 | weld.Part1 = collider13 | |
1548 | weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80) | |
1549 | collider13.TopSurface = "Smooth" | |
1550 | collider13.BottomSurface = "Smooth" | |
1551 | collider13.formFactor = "Symmetric" | |
1552 | end | |
1553 | if leftleg ~= nil then | |
1554 | local glue = Instance.new("Glue", clone.Torso) | |
1555 | glue.Part0 = clone.Torso | |
1556 | glue.Part1 = leftleg | |
1557 | glue.Name = "Left leg" | |
1558 | local collider = Instance.new("Part", leftleg) | |
1559 | collider.Position = Vector3.new(0,999,0) | |
1560 | collider.Size = Vector3.new(1.7, 1, 1) | |
1561 | collider.Shape = "Cylinder" | |
1562 | local weld = Instance.new("Weld", collider) | |
1563 | weld.Part0 = leftleg | |
1564 | weld.Part1 = collider | |
1565 | weld.C0 = CFrame.Angles(0, 0, 80) | |
1566 | collider.TopSurface = "Smooth" | |
1567 | collider.BottomSurface = "Smooth" | |
1568 | collider.formFactor = "Symmetric" | |
1569 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1570 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1571 | collider.Transparency = 1 | |
1572 | end | |
1573 | ------------ | |
1574 | if rightleg ~= nil then | |
1575 | local glue1 = Instance.new("Glue", clone.Torso) | |
1576 | glue1.Part0 = clone.Torso | |
1577 | glue1.Part1 = rightleg | |
1578 | glue1.Name = "Right leg" | |
1579 | local collider1 = Instance.new("Part", rightleg) | |
1580 | collider1.Position = Vector3.new(0,999,0) | |
1581 | collider1.Size = Vector3.new(1.7, 1, 1) | |
1582 | collider1.Shape = "Cylinder" | |
1583 | local weld1 = Instance.new("Weld", collider1) | |
1584 | weld1.Part0 = rightleg | |
1585 | weld1.Part1 = collider1 | |
1586 | weld1.C0 = CFrame.Angles(0, 0, 80) | |
1587 | collider1.TopSurface = "Smooth" | |
1588 | collider1.BottomSurface = "Smooth" | |
1589 | collider1.formFactor = "Symmetric" | |
1590 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1591 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1592 | collider1.Transparency = 1 | |
1593 | end | |
1594 | ------------ | |
1595 | if rightrm ~= nil then | |
1596 | local glue11 = Instance.new("Glue", clone.Torso) | |
1597 | glue11.Part0 = clone.Torso | |
1598 | glue11.Part1 = rightrm | |
1599 | glue11.Name = "Right shoulder" | |
1600 | local collider11 = Instance.new("Part", rightrm) | |
1601 | collider11.Position = Vector3.new(0,9999,0) | |
1602 | collider11.Size = Vector3.new(1.8,1,1) | |
1603 | collider11.Shape = "Cylinder" | |
1604 | local weld11 = Instance.new("Weld", collider11) | |
1605 | weld11.Part0 = rightrm | |
1606 | weld11.Part1 = collider11 | |
1607 | weld11.C0 = CFrame.Angles(0, 0, 80) | |
1608 | collider11.TopSurface = "Smooth" | |
1609 | collider11.BottomSurface = "Smooth" | |
1610 | collider11.formFactor = "Symmetric" | |
1611 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1612 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1613 | collider11.Transparency = 1 | |
1614 | end | |
1615 | ------------ | |
1616 | if leftarm ~= nil then | |
1617 | local glue111 = Instance.new("Glue", clone.Torso) | |
1618 | glue111.Part0 = clone.Torso | |
1619 | glue111.Part1 = leftarm | |
1620 | glue111.Name = "Left shoulder" | |
1621 | local collider111 = Instance.new("Part", leftarm) | |
1622 | collider111.Position = Vector3.new(0,9999,0) | |
1623 | collider111.Size = Vector3.new(1.8,1,1) | |
1624 | collider111.Shape = "Cylinder" | |
1625 | local weld111 = Instance.new("Weld", collider111) | |
1626 | weld111.Part0 = leftarm | |
1627 | weld111.Part1 = collider111 | |
1628 | weld111.C0 = CFrame.Angles(0, 0, 80) | |
1629 | collider111.TopSurface = "Smooth" | |
1630 | collider111.BottomSurface = "Smooth" | |
1631 | collider111.formFactor = "Symmetric" | |
1632 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1633 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1634 | collider111.Transparency = 1 | |
1635 | ---------------- | |
1636 | sensoring = Instance.new("Part", clone.Torso) | |
1637 | sensoring.Size = Vector3.new(1.2,1.1,0.8) | |
1638 | sensoring.CanCollide = false | |
1639 | sensoring.Position = clone.Torso.Position | |
1640 | local welder = Instance.new("Weld", sensoring) | |
1641 | welder.Part0 = clone.Torso | |
1642 | welder.Part1 = sensoring | |
1643 | welder.C0 = welder.C0 * CFrame.new(0,0,1.05) | |
1644 | sensoring.Transparency = 1 | |
1645 | ----------------- | |
1646 | sensoring1 = Instance.new("Part", clone.Torso) | |
1647 | sensoring1.Size = Vector3.new(1.2,1.1,0.8) | |
1648 | sensoring1.CanCollide = false | |
1649 | sensoring1.Position = clone.Torso.Position | |
1650 | local welder1 = Instance.new("Weld", sensoring) | |
1651 | welder1.Part0 = clone.Torso | |
1652 | welder1.Part1 = sensoring1 | |
1653 | welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) | |
1654 | sensoring1.Transparency = 1 | |
1655 | end | |
1656 | clone.Name = guy.Name.." (Gassed)" | |
1657 | if vel then vel:destroy() end | |
1658 | ||
1659 | end | |
1660 | ||
1661 | local slashes = {} | |
1662 | table.insert(slashes,220833967) | |
1663 | table.insert(slashes,220833976) | |
1664 | table.insert(slashes,220834000) | |
1665 | table.insert(slashes,220834019) | |
1666 | function fucktheworld() | |
1667 | local a = Instance.new("ColorCorrectionEffect",Lighty) | |
1668 | a.TintColor = Color3.new(1,1,1) | |
1669 | local b = Instance.new("BlurEffect",Lighty) | |
1670 | b.Size = 0 | |
1671 | for i = 1,0, -.1 do | |
1672 | a.TintColor = Color3.new(i,i,i) | |
1673 | b.Size = b.Size + 1 | |
1674 | end | |
1675 | ||
1676 | wait(1) | |
1677 | ||
1678 | ||
1679 | coroutine.wrap(function() | |
1680 | for i,v in next, workspace:children() do | |
1681 | if v:IsA"Model" or v:IsA"Part" then | |
1682 | if v:FindFirstChildOfClass"Humanoid" and v ~= Character then | |
1683 | v:BreakJoints() | |
1684 | if v:FindFirstChild"Torso" then ragdoll(v) end | |
1685 | wait(.15) | |
1686 | end | |
1687 | end | |
1688 | end | |
1689 | end)() | |
1690 | ||
1691 | ||
1692 | for i = 1, 7 do | |
1693 | for i = 0,1,.3 do | |
1694 | a.TintColor = Color3.new(i,i,i) | |
1695 | wait() | |
1696 | end | |
1697 | local slash = math.random(1,4) | |
1698 | local sou = Instance.new("Sound",workspace) | |
1699 | sou.Pitch = math.random(0.75,1) | |
1700 | sou.Volume = 10 | |
1701 | sou.SoundId = "rbxassetid://"..slashes[slash] | |
1702 | sou:Play() | |
1703 | a.TintColor = Color3.new(0,0,0) | |
1704 | wait() | |
1705 | end | |
1706 | ||
1707 | --165487479 | |
1708 | ||
1709 | local sou = Instance.new("Sound",workspace) | |
1710 | sou.Pitch = 1 | |
1711 | sou.Volume = 10 | |
1712 | sou.SoundId = "rbxassetid://137473066" | |
1713 | sou:Play() | |
1714 | wait(3) | |
1715 | ||
1716 | for i = 0,1,.1 do | |
1717 | a.TintColor = Color3.new(i,i,i) | |
1718 | b.Size = b.Size - 1 | |
1719 | wait() | |
1720 | end | |
1721 | a:destroy() | |
1722 | game:service'Debris':AddItem(b,3) | |
1723 | end | |
1724 | function endit() | |
1725 | attack = true | |
1726 | Humanoid.WalkSpeed = 0 | |
1727 | Humanoid.JumpPower = 0 | |
1728 | for i = 0, 1, 0.1 do | |
1729 | swait() | |
1730 | PlayAnimationFromTable({ | |
1731 | 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), | |
1732 | 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), | |
1733 | 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), | |
1734 | 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), | |
1735 | 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), | |
1736 | 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), | |
1737 | }, .3, false) | |
1738 | 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) | |
1739 | end | |
1740 | chat("This world is getting boring...") | |
1741 | wait(1.5) | |
1742 | chat("Well...") | |
1743 | wait(1) | |
1744 | chat("LETS MOVE ON TO THE NEXT!") | |
1745 | wait(2) | |
1746 | for i = 1, 3 do | |
1747 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=341336274", Character, 1, 1) | |
1748 | local part = Instance.new("Part",EffectModel) | |
1749 | part.Shape = "Ball" | |
1750 | part.Anchored = true | |
1751 | part.CanCollide = false | |
1752 | part.BrickColor = BrickColor.new"Crimson" | |
1753 | part.Material = Enum.Material.Neon | |
1754 | part.Size = Vector3.new(1,1,1) | |
1755 | part.CFrame = BloodPart.CFrame | |
1756 | part.TopSurface,part.BottomSurface = 10,10 | |
1757 | for i = 0,1,.1 do | |
1758 | part.Size = part.Size+ Vector3.new(4,4,4) | |
1759 | part.Transparency = i | |
1760 | wait() | |
1761 | end | |
1762 | part:destroy() | |
1763 | wait(.05) | |
1764 | end | |
1765 | wait(.5) | |
1766 | attack = false | |
1767 | fucktheworld() | |
1768 | wait(2) | |
1769 | Humanoid.WalkSpeed = 8 | |
1770 | Humanoid.JumpPower = 50 | |
1771 | ||
1772 | end | |
1773 | function sleepchild() | |
1774 | attack = true | |
1775 | Humanoid.WalkSpeed = 0 | |
1776 | Humanoid.JumpPower = 0 | |
1777 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8) | |
1778 | local a = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("HumanoidRootPart") targetted:FindFirstChild("UpperTorso") | |
1779 | a.Anchored = true | |
1780 | RootPart.CFrame = a.CFrame * CFrame.new(0,0,1) | |
1781 | wait(.01) | |
1782 | Character.Torso.Anchored = true | |
1783 | for i = 0, 1, 0.1 do | |
1784 | swait() | |
1785 | PlayAnimationFromTable({ | |
1786 | 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), | |
1787 | 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), | |
1788 | 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), | |
1789 | 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), | |
1790 | 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), | |
1791 | 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), | |
1792 | }, .3, false) | |
1793 | --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) | |
1794 | end | |
1795 | if targetted.Name == "Lime_Pidgey" or targetted.Name == "Quil_Cyndaquil" or targetted.Name == "CKbackup" or targetted.Name == "Salvo_Starly" then | |
1796 | wait(2) | |
1797 | a.Anchored = false | |
1798 | local sel = math.random(1,3) | |
1799 | if sel == 1 then | |
1800 | chat("What was I thinking...") | |
1801 | elseif sel == 2 then | |
1802 | if targetted.Name == "Quil_Cyndaquil" then | |
1803 | chat("Sorry, Nebula.") | |
1804 | elseif targetted.Name == "CKbackup" then | |
1805 | chat("Didn't know it was you, Sugarie") | |
1806 | elseif targetted.Name == "Salvo_Starly" then | |
1807 | chat("Didn't realize, Genocider. I'm so sorry.") | |
1808 | elseif targetted.Name == "Lime_Pidgey" then | |
1809 | chat("Ah, Jerry, So sorry, thought you were an enemy.") | |
1810 | end | |
1811 | elseif sel == 3 then | |
1812 | chat("Why.. did I try that..?") | |
1813 | end | |
1814 | for i = 0, 5, 0.1 do | |
1815 | swait() | |
1816 | PlayAnimationFromTable({ | |
1817 | 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), | |
1818 | 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), | |
1819 | 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), | |
1820 | 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), | |
1821 | 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), | |
1822 | 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), | |
1823 | }, .3, false) | |
1824 | end | |
1825 | attack = false | |
1826 | Character.Torso.Anchored = false | |
1827 | Humanoid.WalkSpeed = 8 | |
1828 | Humanoid.JumpPower = 50 | |
1829 | else | |
1830 | chat("Go to sleep...") | |
1831 | wait(2) | |
1832 | for i = 0, 1, 0.1 do | |
1833 | swait() | |
1834 | PlayAnimationFromTable({ | |
1835 | 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), | |
1836 | 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), | |
1837 | 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), | |
1838 | 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), | |
1839 | 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), | |
1840 | 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), | |
1841 | }, .3, false) | |
1842 | --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) | |
1843 | end | |
1844 | fuckingdie(targetted) | |
1845 | wait(1) | |
1846 | attack = false | |
1847 | Character.Torso.Anchored = false | |
1848 | Humanoid.WalkSpeed = 8 | |
1849 | Humanoid.JumpPower = 50 | |
1850 | end | |
1851 | end | |
1852 | ||
1853 | local combo = false | |
1854 | local input = "" | |
1855 | local didCombo = false | |
1856 | ||
1857 | function chainreaction() | |
1858 | attack = true | |
1859 | Humanoid.WalkSpeed = 0 | |
1860 | Humanoid.JumpPower = 0 | |
1861 | local func | |
1862 | for i = 0, 0.05, 0.1 do | |
1863 | swait() | |
1864 | PlayAnimationFromTable({ | |
1865 | 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), | |
1866 | 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), | |
1867 | 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), | |
1868 | 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), | |
1869 | 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), | |
1870 | 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), | |
1871 | }, .4, false) | |
1872 | --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) | |
1873 | end | |
1874 | swait() | |
1875 | for i = 0, 0.45, 0.1 do | |
1876 | swait() | |
1877 | PlayAnimationFromTable({ | |
1878 | 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), | |
1879 | 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), | |
1880 | 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), | |
1881 | 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), | |
1882 | 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), | |
1883 | 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), | |
1884 | }, .6, false) | |
1885 | end | |
1886 | for i,v in next, Knifu:children() do | |
1887 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1888 | v.Transparency = 1 | |
1889 | end | |
1890 | end | |
1891 | p2mit.Enabled = false | |
1892 | p3mit.Enabled = false | |
1893 | local stopIt = false | |
1894 | local asd | |
1895 | local count = 0 | |
1896 | asd = function(dude) | |
1897 | local torso = dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso" | |
1898 | local cTorso,mag = nil, 0 | |
1899 | if torso then | |
1900 | for i,v in next, FindNearestTorsos(torso.CFrame.p,15) do | |
1901 | if v[2] > mag then | |
1902 | cTorso = v[1] | |
1903 | mag = v[2] | |
1904 | end | |
1905 | wait() | |
1906 | end | |
1907 | count = count + 1 | |
1908 | fuckingdiethro(dude) | |
1909 | if not cTorso or mag < 1 or count > 7 then | |
1910 | stopIt = true | |
1911 | else | |
1912 | asd(cTorso) | |
1913 | end | |
1914 | else | |
1915 | stopIt = true | |
1916 | end | |
1917 | ||
1918 | ||
1919 | end | |
1920 | func = coroutine.wrap(function() | |
1921 | asd(targetted) | |
1922 | end)() | |
1923 | repeat wait() until stopIt == true | |
1924 | wait(3) | |
1925 | for i,v in next, Knifu:children() do | |
1926 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1927 | v.Transparency = 0 | |
1928 | end | |
1929 | end | |
1930 | p2mit.Enabled = true | |
1931 | p3mit.Enabled = true | |
1932 | attack = false | |
1933 | Humanoid.WalkSpeed = 8 | |
1934 | Humanoid.JumpPower = 50 | |
1935 | end | |
1936 | function throwit() | |
1937 | attack = true | |
1938 | Humanoid.WalkSpeed = 0 | |
1939 | for i = 0, 0.05, 0.1 do | |
1940 | swait() | |
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.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), | |
1945 | 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), | |
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 | }, .4, false) | |
1949 | --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) | |
1950 | end | |
1951 | swait() | |
1952 | for i = 0, 0.45, 0.1 do | |
1953 | swait() | |
1954 | PlayAnimationFromTable({ | |
1955 | 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), | |
1956 | 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), | |
1957 | 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), | |
1958 | 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), | |
1959 | 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), | |
1960 | 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), | |
1961 | }, .6, false) | |
1962 | end | |
1963 | if targetted.Name ~= "Quil_Cyndaquil" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "CKbackup" and targetted.Name ~= "Lime_Pidgey" then | |
1964 | for i,v in next, Knifu:children() do | |
1965 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1966 | v.Transparency = 1 | |
1967 | end | |
1968 | end | |
1969 | p2mit.Enabled = false | |
1970 | p3mit.Enabled = false | |
1971 | ohshityougothit(targetted) | |
1972 | fuckingdiethro(targetted) | |
1973 | wait(3) | |
1974 | for i,v in next, Knifu:children() do | |
1975 | if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
1976 | v.Transparency = 0 | |
1977 | end | |
1978 | end | |
1979 | p2mit.Enabled = true | |
1980 | p3mit.Enabled = true | |
1981 | attack = false | |
1982 | Character.Torso.Anchored = false | |
1983 | Humanoid.WalkSpeed = 8 | |
1984 | Humanoid.JumpPower = 50 | |
1985 | elseif targetted.Name == "CKbackup" then | |
1986 | wait(2) | |
1987 | for i = 0, 1, 0.1 do | |
1988 | swait() | |
1989 | PlayAnimationFromTable({ | |
1990 | 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), | |
1991 | 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), | |
1992 | 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), | |
1993 | 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), | |
1994 | 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), | |
1995 | 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), | |
1996 | }, .3, false) | |
1997 | end | |
1998 | local sel = math.random(1,3) | |
1999 | if sel == 1 then | |
2000 | chat("Sorry, thought you were on the other side.") | |
2001 | elseif sel == 2 then | |
2002 | chat("I forgot, we are one and the same. Psychopaths.") | |
2003 | elseif sel == 3 then | |
2004 | chat("Oh, Psycho! How's the Genocider been?") | |
2005 | end | |
2006 | wait(2) | |
2007 | attack = false | |
2008 | Character.Torso.Anchored = false | |
2009 | Humanoid.WalkSpeed = 8 | |
2010 | Humanoid.JumpPower = 50 | |
2011 | elseif targetted.Name == "Lime_Pidgey" then | |
2012 | wait(2) | |
2013 | local sel = math.random(1,3) | |
2014 | if sel == 1 then | |
2015 | chat("Sorry, thought you were on the other side.") | |
2016 | elseif sel == 2 then | |
2017 | chat("Heyy... Jerry? I think it was?") | |
2018 | elseif sel == 3 then | |
2019 | chat("Uhh... Sorry.") | |
2020 | end | |
2021 | for i = 0, 5, 0.1 do | |
2022 | swait() | |
2023 | PlayAnimationFromTable({ | |
2024 | 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), | |
2025 | 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), | |
2026 | 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), | |
2027 | 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), | |
2028 | 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), | |
2029 | 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), | |
2030 | }, .3, false) | |
2031 | end | |
2032 | wait(2) | |
2033 | attack = false | |
2034 | Character.Torso.Anchored = false | |
2035 | Humanoid.WalkSpeed = 8 | |
2036 | Humanoid.JumpPower = 50 | |
2037 | elseif targetted.Name == "Salvo_Starly" then | |
2038 | wait(2) | |
2039 | for i = 0, 1, 0.1 do | |
2040 | swait() | |
2041 | PlayAnimationFromTable({ | |
2042 | 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), | |
2043 | 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), | |
2044 | 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), | |
2045 | 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), | |
2046 | 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), | |
2047 | 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), | |
2048 | }, .3, false) | |
2049 | end | |
2050 | local sel = math.random(1,3) | |
2051 | if sel == 1 then | |
2052 | chat("Sorry, thought you were on the other side.") | |
2053 | elseif sel == 2 then | |
2054 | chat("Ah, Genocider. We've got to talk more!") | |
2055 | elseif sel == 3 then | |
2056 | chat("Oh, it's you.. How's Sugarie?") | |
2057 | end | |
2058 | wait(2) | |
2059 | attack = false | |
2060 | Character.Torso.Anchored = false | |
2061 | Humanoid.WalkSpeed = 8 | |
2062 | Humanoid.JumpPower = 50 | |
2063 | else | |
2064 | wait(2) | |
2065 | for i = 0, 1, 0.1 do | |
2066 | swait() | |
2067 | PlayAnimationFromTable({ | |
2068 | 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), | |
2069 | 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), | |
2070 | 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), | |
2071 | 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), | |
2072 | 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), | |
2073 | 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), | |
2074 | }, .3, false) | |
2075 | end | |
2076 | local sel = math.random(1,3) | |
2077 | if sel == 1 then | |
2078 | chat("Why.. Did I even try?") | |
2079 | elseif sel == 2 then | |
2080 | chat("Sorry, Nebula. I thought you were against me") | |
2081 | elseif sel == 3 then | |
2082 | chat("I can't") | |
2083 | end | |
2084 | wait(2) | |
2085 | attack = false | |
2086 | Character.Torso.Anchored = false | |
2087 | Humanoid.WalkSpeed = 8 | |
2088 | Humanoid.JumpPower = 50 | |
2089 | end | |
2090 | end | |
2091 | function LockOn() | |
2092 | if Mouse.Target and Mouse.Target.Parent then | |
2093 | local a = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2094 | if a and a.Parent ~= Character then | |
2095 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
2096 | coroutine.wrap(function() | |
2097 | if targetted ~= Mouse.Target.Parent then | |
2098 | targetted = Mouse.Target.Parent | |
2099 | img2.Size = UDim2.new(1,0,1,0) | |
2100 | img2.ImageTransparency = 0 | |
2101 | img2.Position = UDim2.new(0,0,0,0) | |
2102 | for i = 0, 2, 0.1 do | |
2103 | swait() | |
2104 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
2105 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
2106 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
2107 | end | |
2108 | end | |
2109 | end)() | |
2110 | end | |
2111 | end | |
2112 | end | |
2113 | Mouse.KeyDown:connect(function(k) | |
2114 | if k == 'q' and attack == false and combo == false then | |
2115 | LockOn() | |
2116 | end | |
2117 | end) | |
2118 | Mouse.KeyDown:connect(function(k) | |
2119 | if k == 'z' and attack == false and targetted ~= nil and combo == false then | |
2120 | sleepchild() | |
2121 | end | |
2122 | end) | |
2123 | ||
2124 | ||
2125 | ||
2126 | Mouse.KeyDown:connect(function(k) | |
2127 | if targetted ~= nil and k == 't' and attack == false and combo == false then | |
2128 | throwit() | |
2129 | end | |
2130 | end) | |
2131 | ||
2132 | Mouse.KeyDown:connect(function(k) | |
2133 | if k == 'c' and attack == false and combo == false then | |
2134 | coroutine.wrap(function() | |
2135 | combo = true | |
2136 | Humanoid.WalkSpeed = 0 | |
2137 | Humanoid.JumpPower = 0 | |
2138 | local asd = false | |
2139 | for i = 0, 1.5, .1 do | |
2140 | wait(.1) | |
2141 | if combo == false then | |
2142 | asd = true | |
2143 | break; | |
2144 | end | |
2145 | end | |
2146 | if asd == false then | |
2147 | if combo == true or input ~= '' then | |
2148 | Humanoid.WalkSpeed = 8 | |
2149 | Humanoid.JumpPower = 50 | |
2150 | combo = false | |
2151 | input = '' | |
2152 | end | |
2153 | end | |
2154 | end)() | |
2155 | end | |
2156 | end) | |
2157 | ||
2158 | local Keys = { | |
2159 | [48] = "LShift", | |
2160 | [13] = "Enter", | |
2161 | [32] = "Space", | |
2162 | [47] = "RShift", | |
2163 | [92] = "Backslash", | |
2164 | [50] = "LCtrl", | |
2165 | [52] = "LAlt", | |
2166 | [49] = "RCtrl", | |
2167 | [51] = "RAlt", | |
2168 | [8] = "Backspace", | |
2169 | [45] = "CapsLock" | |
2170 | ||
2171 | } | |
2172 | ||
2173 | local alreadyEnded = false | |
2174 | Mouse.KeyDown:connect(function(k) | |
2175 | if k == 'n' and not attack and not combo then | |
2176 | Sitting = not Sitting | |
2177 | end | |
2178 | end) | |
2179 | ||
2180 | Mouse.KeyDown:connect(function(k) | |
2181 | if attack == false and combo == true then | |
2182 | k = string.lower(k) | |
2183 | 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 | |
2184 | if #input < 8 then | |
2185 | input = input..k | |
2186 | print(input) | |
2187 | end | |
2188 | elseif Keys[string.byte(k)] == "Enter" then | |
2189 | combo = false | |
2190 | warn("Trying to execute combo: "..input) | |
2191 | if string.lower(input) == "aawdq" then | |
2192 | if targetted and attack == false then | |
2193 | chainreaction() | |
2194 | elseif not targetted then | |
2195 | Humanoid.WalkSpeed = 8 | |
2196 | Humanoid.JumpPower = 50 | |
2197 | chat("I need a target!") | |
2198 | end | |
2199 | elseif string.lower(input) == "etwzx" then | |
2200 | if attack == false then | |
2201 | if not alreadyEnded then | |
2202 | alreadyEnded = true | |
2203 | endit() | |
2204 | else | |
2205 | Humanoid.WalkSpeed = 8 | |
2206 | Humanoid.JumpPower = 50 | |
2207 | chat("I can't end it again..!") | |
2208 | end | |
2209 | end | |
2210 | else | |
2211 | Humanoid.WalkSpeed = 8 | |
2212 | Humanoid.JumpPower = 50 | |
2213 | end | |
2214 | input = '' | |
2215 | end | |
2216 | end | |
2217 | end) | |
2218 | ||
2219 | local idleC = 0 | |
2220 | while true do | |
2221 | swait() | |
2222 | imgl.Rotation = imgl.Rotation + 3 | |
2223 | img2.Rotation = img2.Rotation + 3 | |
2224 | if targetted ~= nil then | |
2225 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2226 | abss.Enabled = true | |
2227 | elseif targetted == nil then | |
2228 | abss.Adornee = nil | |
2229 | abss.Enabled = false | |
2230 | end | |
2231 | for i, v in pairs(Character:GetChildren()) do | |
2232 | if v:IsA("Part") then | |
2233 | v.Material = "SmoothPlastic" | |
2234 | elseif v:IsA("Accessory") then | |
2235 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2236 | end | |
2237 | end | |
2238 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2239 | velocity = RootPart.Velocity.y | |
2240 | sine = sine + change | |
2241 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2242 | if RootPart.Velocity.y > 1 and hit == nil then | |
2243 | Anim = "Jump" | |
2244 | idleC = 0 | |
2245 | if attack == false then | |
2246 | PlayAnimationFromTable({ | |
2247 | 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), | |
2248 | 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), | |
2249 | 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), | |
2250 | 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), | |
2251 | 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), | |
2252 | 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), | |
2253 | }, .3, false) | |
2254 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
2255 | end | |
2256 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2257 | Anim = "Fall" | |
2258 | idleC = 0 | |
2259 | if attack == false then | |
2260 | PlayAnimationFromTable({ | |
2261 | 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), | |
2262 | 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), | |
2263 | 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), | |
2264 | 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), | |
2265 | 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), | |
2266 | 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), | |
2267 | }, .3, false) | |
2268 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
2269 | end | |
2270 | elseif Torsovelocity < 1 and hit ~= nil then | |
2271 | if Sitting then | |
2272 | Anim = "Sitting" | |
2273 | if attack == false then | |
2274 | idleC = idleC+1 | |
2275 | PlayAnimationFromTable({ | |
2276 | 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), | |
2277 | 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), | |
2278 | 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), | |
2279 | 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), | |
2280 | 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), | |
2281 | 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), | |
2282 | }, .3, false) | |
2283 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
2284 | end | |
2285 | else | |
2286 | Anim = "Idle" | |
2287 | if attack == false then | |
2288 | idleC = idleC+1 | |
2289 | change = 1 | |
2290 | if idleC < 175 then | |
2291 | PlayAnimationFromTable({ | |
2292 | 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), | |
2293 | 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), | |
2294 | 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)), | |
2295 | 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)), | |
2296 | 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), | |
2297 | 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), | |
2298 | }, .3, false) | |
2299 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
2300 | elseif idleC >= 175 and idleC < 200 then | |
2301 | PlayAnimationFromTable({ | |
2302 | 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), | |
2303 | 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), | |
2304 | 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), | |
2305 | 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), | |
2306 | 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), | |
2307 | 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), | |
2308 | }, .1, false) | |
2309 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
2310 | elseif idleC >= 200 and idleC < 325 then | |
2311 | PlayAnimationFromTable({ | |
2312 | 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), | |
2313 | 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), | |
2314 | 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), | |
2315 | 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), | |
2316 | 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), | |
2317 | 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), | |
2318 | }, .01, false) | |
2319 | else | |
2320 | idleC = 0 | |
2321 | end | |
2322 | end | |
2323 | end | |
2324 | elseif Torsovelocity > 2 and hit ~= nil then | |
2325 | Anim = "Walk" | |
2326 | idleC = 0 | |
2327 | if attack == false then | |
2328 | PlayAnimationFromTable({ | |
2329 | 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), | |
2330 | 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), | |
2331 | 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), | |
2332 | 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), | |
2333 | 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), | |
2334 | 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), | |
2335 | }, .3, false) | |
2336 | KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
2337 | end | |
2338 | end | |
2339 | if 0 < #Effects then | |
2340 | for e = 1, #Effects do | |
2341 | if Effects[e] ~= nil then | |
2342 | local Thing = Effects[e] | |
2343 | if Thing ~= nil then | |
2344 | local Part = Thing[1] | |
2345 | local Mode = Thing[2] | |
2346 | local Delay = Thing[3] | |
2347 | local IncX = Thing[4] | |
2348 | local IncY = Thing[5] | |
2349 | local IncZ = Thing[6] | |
2350 | if Thing[2] == "Shoot" then | |
2351 | local Look = Thing[1] | |
2352 | local move = 30 | |
2353 | if Thing[8] == 3 then | |
2354 | move = 10 | |
2355 | end | |
2356 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2357 | if Thing[10] ~= nil then | |
2358 | da = pos | |
2359 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2360 | cfa = CFrame.new(Thing[4], pos) | |
2361 | tehCF = cfa:lerp(cf2, 0.2) | |
2362 | Thing[1] = tehCF.lookVector | |
2363 | end | |
2364 | local mag = (Thing[4] - pos).magnitude | |
2365 | 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) | |
2366 | if Thing[8] == 2 then | |
2367 | 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) | |
2368 | end | |
2369 | Thing[4] = Thing[4] + Look * move | |
2370 | Thing[3] = Thing[3] - 1 | |
2371 | if 2 < Thing[5] then | |
2372 | Thing[5] = Thing[5] - 0.3 | |
2373 | Thing[6] = Thing[6] - 0.3 | |
2374 | end | |
2375 | if hit ~= nil then | |
2376 | Thing[3] = 0 | |
2377 | if Thing[8] == 1 or Thing[8] == 3 then | |
2378 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2379 | else | |
2380 | if Thing[8] == 2 then | |
2381 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2382 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
2383 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Crimson"), "Reference", Vector3.new()) | |
2384 | ref.Anchored = true | |
2385 | ref.CFrame = CFrame.new(pos) | |
2386 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2387 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2388 | 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) | |
2389 | 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) | |
2390 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2391 | end | |
2392 | end | |
2393 | end | |
2394 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Crimson"), "Reference", Vector3.new()) | |
2395 | ref.Anchored = true | |
2396 | ref.CFrame = CFrame.new(pos) | |
2397 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2398 | game:GetService("Debris"):AddItem(ref, 1) | |
2399 | end | |
2400 | if Thing[3] <= 0 then | |
2401 | table.remove(Effects, e) | |
2402 | end | |
2403 | end | |
2404 | do | |
2405 | do | |
2406 | if Thing[2] == "FireWave" then | |
2407 | if Thing[3] <= Thing[4] then | |
2408 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2409 | Thing[3] = Thing[3] + 1 | |
2410 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2411 | else | |
2412 | Part.Parent = nil | |
2413 | table.remove(Effects, e) | |
2414 | end | |
2415 | end | |
2416 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2417 | if Thing[1].Transparency <= 1 then | |
2418 | if Thing[2] == "Block1" then | |
2419 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2420 | Mesh = Thing[7] | |
2421 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2422 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2423 | else | |
2424 | if Thing[2] == "Block2" then | |
2425 | Thing[1].CFrame = Thing[1].CFrame | |
2426 | Mesh = Thing[7] | |
2427 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2428 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2429 | else | |
2430 | if Thing[2] == "Fire" then | |
2431 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2432 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2433 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2434 | else | |
2435 | if Thing[2] == "Cylinder" then | |
2436 | Mesh = Thing[7] | |
2437 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2438 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2439 | else | |
2440 | if Thing[2] == "Blood" then | |
2441 | Mesh = Thing[7] | |
2442 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2443 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2444 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2445 | else | |
2446 | if Thing[2] == "Elec" then | |
2447 | Mesh = Thing[10] | |
2448 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2449 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2450 | else | |
2451 | if Thing[2] == "Disappear" then | |
2452 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2453 | else | |
2454 | if Thing[2] == "Shatter" then | |
2455 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2456 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2457 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2458 | Thing[6] = Thing[6] + Thing[5] | |
2459 | end | |
2460 | end | |
2461 | end | |
2462 | end | |
2463 | end | |
2464 | end | |
2465 | end | |
2466 | end | |
2467 | else | |
2468 | Part.Parent = nil | |
2469 | table.remove(Effects, e) | |
2470 | end | |
2471 | end | |
2472 | end | |
2473 | end | |
2474 | end | |
2475 | end | |
2476 | end | |
2477 | end | |
2478 | end |