SHOW:
|
|
- or go back to the newest paste.
1 | -- Credits to linerider64 for making this script | |
2 | ModelName = "Gilgamesh" | |
3 | attack = false | |
4 | attacktype = 1 | |
5 | Hitdeb = 0 | |
6 | Hitdeb2 = 0 | |
7 | - | name = "Dark_Eccentric" |
7 | + | name = "eliteslayer816" |
8 | ---------------------------- | |
9 | --Customize mediafire | |
10 | Rage = 0 | |
11 | Rage = 200 | |
12 | mindamage = 10 | |
13 | maxdamage = 40 | |
14 | crtmaxdamage = 60 | |
15 | omindamage = mindamage | |
16 | omaxdamage = maxdamage | |
17 | ocrtmaxdamage = crtmaxdamage | |
18 | crtrate = 100/5 | |
19 | HP = 2000 | |
20 | WS = 16 | |
21 | jump = 50 | |
22 | --100%/critpercentage | |
23 | ||
24 | oblkbrkr = 3 | |
25 | blockbreaker = oblkbrkr | |
26 | ||
27 | ||
28 | handlecolor = BrickColor.new("Really black") | |
29 | bcolor = BrickColor.new("Institutional white") | |
30 | gemcolor = BrickColor.new("Really black") | |
31 | ||
32 | ||
33 | ||
34 | ------------------------------------------------------------------------------------------------------------------------------------- | |
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | if game.Workspace:findFirstChild(ModelName,true) ~= nil then | |
41 | game.Workspace:findFirstChild(ModelName,true).Parent = nil | |
42 | end | |
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | local bodyholder = Instance.new("Model") | |
50 | bodyholder.Name = ModelName | |
51 | bodyholder.Parent = game.Workspace | |
52 | Character = bodyholder | |
53 | ||
54 | ev = Instance.new("BoolValue",bodyholder) | |
55 | ev.Name = "EquippedVal" | |
56 | ev.Value = false | |
57 | --[[blk = Instance.new("BoolValue",bodyholder) | |
58 | blk.Name = "Block" | |
59 | blk.Value = false]] | |
60 | blkc = Instance.new("IntValue",blk) | |
61 | blkc.Name = "BlockPower" | |
62 | blkc.Value = blockpower | |
63 | SpawnPos = Instance.new("Vector3Value",script) | |
64 | SpawnPos.Name = "SpawnPos" | |
65 | SpawnPos.Value = Vector3.new(0,20,0) | |
66 | ||
67 | ||
68 | local Head = Instance.new("Part") | |
69 | Head.formFactor = 3 | |
70 | Head.CanCollide = true | |
71 | Head.Name = "Head" | |
72 | Head.Locked = true | |
73 | Head.Size = Vector3.new(4,2,2) | |
74 | Head.Parent = bodyholder | |
75 | Head.BrickColor = BrickColor.new("White") | |
76 | local smh = Instance.new("SpecialMesh",Head) | |
77 | smh.Scale = Vector3.new(1.25,1.25,1.25) | |
78 | local Torso = Instance.new("Part") | |
79 | Torso.formFactor = 3 | |
80 | Torso.CanCollide = true | |
81 | Torso.Name = "Torso" | |
82 | Torso.Locked = true | |
83 | Torso.Size = Vector3.new(4,4,2) | |
84 | Torso.Parent = bodyholder | |
85 | Torso.BrickColor = BrickColor.new("Really black") | |
86 | Torso.Reflectance = 0.1 | |
87 | Torso.CFrame = CFrame.new(SpawnPos.Value) | |
88 | local bg=Instance.new("BodyGyro") | |
89 | bg.Parent=Torso | |
90 | bg.P = 3000 | |
91 | bg.maxTorque = Vector3.new(1000,1000,1000) | |
92 | local msht = Instance.new("BlockMesh",Torso) | |
93 | local RightArm = Instance.new("Part") | |
94 | RightArm.formFactor = 3 | |
95 | RightArm.CanCollide = true | |
96 | RightArm.Name = "Right Arm" | |
97 | RightArm.Locked = true | |
98 | RightArm.Size = Vector3.new(2,4,2) | |
99 | RightArm.Parent = bodyholder | |
100 | RightArm.BrickColor = BrickColor.new("Really red") | |
101 | local mshra = Instance.new("BlockMesh",RightArm) | |
102 | local LeftArm = Instance.new("Part") | |
103 | LeftArm.formFactor = 3 | |
104 | LeftArm.CanCollide = true | |
105 | LeftArm.Name = "Left Arm" | |
106 | LeftArm.Locked = true | |
107 | LeftArm.Size = Vector3.new(2,4,2) | |
108 | LeftArm.Parent = bodyholder | |
109 | LeftArm.BrickColor = BrickColor.new("Really red") | |
110 | local mshla = Instance.new("BlockMesh",LeftArm) | |
111 | local RightLeg = Instance.new("Part") | |
112 | RightLeg.formFactor = 3 | |
113 | RightLeg.CanCollide = true | |
114 | RightLeg.Name = "Right Leg" | |
115 | RightLeg.Locked = true | |
116 | RightLeg.Size = Vector3.new(2,4,2) | |
117 | RightLeg.Parent = bodyholder | |
118 | RightLeg.BrickColor = BrickColor.new("Really black") | |
119 | local mshrl = Instance.new("BlockMesh",RightLeg) | |
120 | local LeftLeg = Instance.new("Part") | |
121 | LeftLeg.formFactor = 3 | |
122 | LeftLeg.CanCollide = true | |
123 | LeftLeg.Name = "Left Leg" | |
124 | LeftLeg.Locked = true | |
125 | LeftLeg.Size = Vector3.new(2,4,2) | |
126 | LeftLeg.Parent = bodyholder | |
127 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
128 | local mshll = Instance.new("BlockMesh",LeftLeg) | |
129 | ||
130 | --player | |
131 | player = nil | |
132 | --welds | |
133 | RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld") | |
134 | --what anim | |
135 | anim = "none" | |
136 | --save shoulders | |
137 | AoETrue = {} | |
138 | Neck = Instance.new("Motor") | |
139 | ||
140 | ||
141 | ||
142 | ||
143 | --derp | |
144 | RW.Part0 = Character.Torso | |
145 | RW.Part1 = Character["Right Arm"] | |
146 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
147 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
148 | RW.Parent = bodyholder | |
149 | -- | |
150 | LW.Part0 = Character.Torso | |
151 | LW.Part1 = Character["Left Arm"] | |
152 | LW.C0 = CFrame.new(-3, 1, 0) | |
153 | LW.C1 = CFrame.new(0, 1, 0) | |
154 | LW.Parent = bodyholder | |
155 | -- | |
156 | RWL.Part0 = Character.Torso | |
157 | RWL.Part1 = Character["Right Leg"] | |
158 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(0, 0, 0) | |
159 | RWL.C1 = CFrame.new(1, 2, 0) | |
160 | RWL.Parent = bodyholder | |
161 | -- | |
162 | LWL.Part0 = Character.Torso | |
163 | LWL.Part1 = Character["Left Leg"] | |
164 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(0, 0, 0) | |
165 | LWL.C1 = CFrame.new(-1, 2, 0) | |
166 | LWL.Parent = bodyholder | |
167 | -- | |
168 | Neck.Part0 = Character.Torso | |
169 | Neck.Part1 = Character.Head | |
170 | Neck.C0 = CFrame.new(0, 2, 0) * CFrame.Angles(0, 0, 0) | |
171 | Neck.C1 = CFrame.new(0, -1, 0) | |
172 | Neck.Parent = bodyholder | |
173 | ||
174 | ---- | |
175 | ||
176 | -- | |
177 | ||
178 | armorholder = Instance.new("Model") | |
179 | armorholder.Name = "Armor" | |
180 | armorholder.Parent = bodyholder | |
181 | ||
182 | ap1 = Instance.new("Part") | |
183 | ap1.formFactor = 3 | |
184 | ap1.CanCollide = false | |
185 | ap1.Name = "HelmP1" | |
186 | ap1.Locked = true | |
187 | ap1.Size = Vector3.new(2.7,1.5,0.2) | |
188 | ap1.Parent = armorholder | |
189 | ap1.BrickColor = BrickColor.new("Really red") | |
190 | am1 = Instance.new("BlockMesh",ap1) | |
191 | aw1 = Instance.new("Weld") | |
192 | aw1.Parent = ap1 | |
193 | aw1.Part0 = ap1 | |
194 | aw1.Part1 = Head | |
195 | aw1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
196 | aw1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-20), 0, 0) * CFrame.new(0, -1, 1.1) | |
197 | ap1a = Instance.new("Part") | |
198 | ap1a.formFactor = 3 | |
199 | ap1a.CanCollide = false | |
200 | ap1a.Name = "HelmP1a" | |
201 | ap1a.Locked = true | |
202 | ap1a.Size = Vector3.new(0.3,1.5,0.2) | |
203 | ap1a.Parent = armorholder | |
204 | ap1a.BrickColor = BrickColor.new("Really red") | |
205 | am1a = Instance.new("BlockMesh",ap1a) | |
206 | aw1a = Instance.new("Weld") | |
207 | aw1a.Parent = ap1a | |
208 | aw1a.Part0 = ap1a | |
209 | aw1a.Part1 = Head | |
210 | aw1a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
211 | aw1a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(10), 0, 0) * CFrame.new(0, 0.4, 1.3) | |
212 | ap2 = Instance.new("Part") | |
213 | ap2.formFactor = 3 | |
214 | ap2.CanCollide = false | |
215 | ap2.Name = "HelmP2" | |
216 | ap2.Locked = true | |
217 | ap2.Size = Vector3.new(0.2,0.75,1) | |
218 | ap2.Parent = armorholder | |
219 | ap2.BrickColor = BrickColor.new("Really red") | |
220 | am2 = Instance.new("BlockMesh",ap2) | |
221 | aw2 = Instance.new("Weld") | |
222 | aw2.Parent = ap2 | |
223 | aw2.Part0 = ap2 | |
224 | aw2.Part1 = Head | |
225 | aw2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
226 | aw2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(-1.25, -1, 0.55) | |
227 | ap3 = Instance.new("Part") | |
228 | ap3.formFactor = 3 | |
229 | ap3.CanCollide = false | |
230 | ap3.Name = "HelmP3" | |
231 | ap3.Locked = true | |
232 | ap3.Size = Vector3.new(0.2,0.75,1) | |
233 | ap3.Parent = armorholder | |
234 | ap3.BrickColor = BrickColor.new("Really red") | |
235 | am3 = Instance.new("BlockMesh",ap3) | |
236 | aw3 = Instance.new("Weld") | |
237 | aw3.Parent = ap3 | |
238 | aw3.Part0 = ap3 | |
239 | aw3.Part1 = Head | |
240 | aw3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
241 | aw3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(1.25, -1, 0.55) | |
242 | ap4 = Instance.new("Part") | |
243 | ap4.formFactor = 3 | |
244 | ap4.CanCollide = false | |
245 | ap4.Name = "HelmP4" | |
246 | ap4.Locked = true | |
247 | ap4.Size = Vector3.new(4,2.2,2.2) | |
248 | ap4.Parent = armorholder | |
249 | ap4.BrickColor = BrickColor.new("Really red") | |
250 | am4 = Instance.new("SpecialMesh",ap4) | |
251 | am4.Scale = Vector3.new(1.25,1.25,1.25) | |
252 | aw4 = Instance.new("Weld") | |
253 | aw4.Parent = ap4 | |
254 | aw4.Part0 = ap4 | |
255 | aw4.Part1 = Head | |
256 | aw4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
257 | aw4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0, -0.1) | |
258 | ap5 = Instance.new("Part") | |
259 | ap5.formFactor = 3 | |
260 | ap5.CanCollide = false | |
261 | ap5.Name = "HelmP5" | |
262 | ap5.Locked = true | |
263 | ap5.Size = Vector3.new(2,0.5,0.2) | |
264 | ap5.Parent = armorholder | |
265 | ap5.BrickColor = BrickColor.new("Really black") | |
266 | am5 = Instance.new("BlockMesh",ap5) | |
267 | aw5 = Instance.new("Weld") | |
268 | aw5.Parent = ap5 | |
269 | aw5.Part0 = ap5 | |
270 | aw5.Part1 = Head | |
271 | aw5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
272 | aw5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0, 1.15) | |
273 | ap6 = Instance.new("Part") | |
274 | ap6.formFactor = 3 | |
275 | ap6.CanCollide = false | |
276 | ap6.Name = "HelmP6" | |
277 | ap6.Locked = true | |
278 | ap6.Size = Vector3.new(0.2,1.5,2.5) | |
279 | ap6.Parent = armorholder | |
280 | ap6.BrickColor = BrickColor.new("Really red") | |
281 | am6 = Instance.new("BlockMesh",ap6) | |
282 | aw6 = Instance.new("Weld") | |
283 | aw6.Parent = ap6 | |
284 | aw6.Part0 = ap6 | |
285 | aw6.Part1 = Head | |
286 | aw6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
287 | aw6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(1.25, 0.25, 0) | |
288 | ap7 = Instance.new("Part") | |
289 | ap7.formFactor = 3 | |
290 | ap7.CanCollide = false | |
291 | ap7.Name = "HelmP7" | |
292 | ap7.Locked = true | |
293 | ap7.Size = Vector3.new(0.2,1.5,2.5) | |
294 | ap7.Parent = armorholder | |
295 | ap7.BrickColor = BrickColor.new("Really red") | |
296 | am7 = Instance.new("BlockMesh",ap7) | |
297 | aw7 = Instance.new("Weld") | |
298 | aw7.Parent = ap7 | |
299 | aw7.Part0 = ap7 | |
300 | aw7.Part1 = Head | |
301 | aw7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
302 | aw7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(-1.25, 0.25, 0) | |
303 | ap8 = Instance.new("Part") | |
304 | ap8.formFactor = 3 | |
305 | ap8.CanCollide = false | |
306 | ap8.Name = "HelmP8" | |
307 | ap8.Locked = true | |
308 | ap8.Size = Vector3.new(0.2,2,1) | |
309 | ap8.Parent = armorholder | |
310 | ap8.BrickColor = BrickColor.new("Really red") | |
311 | am8 = Instance.new("BlockMesh",ap8) | |
312 | aw8 = Instance.new("Weld") | |
313 | aw8.Parent = ap8 | |
314 | aw8.Part0 = ap8 | |
315 | aw8.Part1 = Head | |
316 | aw8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
317 | aw8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(-1.25, 0.25, -1) | |
318 | ap9 = Instance.new("Part") | |
319 | ap9.formFactor = 3 | |
320 | ap9.CanCollide = false | |
321 | ap9.Name = "HelmP9" | |
322 | ap9.Locked = true | |
323 | ap9.Size = Vector3.new(0.2,2,1) | |
324 | ap9.Parent = armorholder | |
325 | ap9.BrickColor = BrickColor.new("Really red") | |
326 | am9 = Instance.new("BlockMesh",ap9) | |
327 | aw9 = Instance.new("Weld") | |
328 | aw9.Parent = ap9 | |
329 | aw9.Part0 = ap9 | |
330 | aw9.Part1 = Head | |
331 | aw9.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
332 | aw9.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(1.25, 0.25, -1) | |
333 | ap9 = Instance.new("Part") | |
334 | ap9.formFactor = 3 | |
335 | ap9.CanCollide = false | |
336 | ap9.Name = "HelmP9" | |
337 | ap9.Locked = true | |
338 | ap9.Size = Vector3.new(2.7,2,0.2) | |
339 | ap9.Parent = armorholder | |
340 | ap9.BrickColor = BrickColor.new("Really red") | |
341 | am9 = Instance.new("BlockMesh",ap9) | |
342 | aw9 = Instance.new("Weld") | |
343 | aw9.Parent = ap9 | |
344 | aw9.Part0 = ap9 | |
345 | aw9.Part1 = Head | |
346 | aw9.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
347 | aw9.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0.25, -1.5) | |
348 | ap10 = Instance.new("Part") | |
349 | ap10.formFactor = 3 | |
350 | ap10.CanCollide = false | |
351 | ap10.Name = "HelmP10" | |
352 | ap10.Locked = true | |
353 | ap10.Size = Vector3.new(0.2,1,0.2) | |
354 | ap10.Parent = armorholder | |
355 | ap10.BrickColor = BrickColor.new("Really blue") | |
356 | am10 = Instance.new("CylinderMesh",ap10) | |
357 | aw10 = Instance.new("Weld") | |
358 | aw10.Parent = ap10 | |
359 | aw10.Part0 = ap10 | |
360 | aw10.Part1 = Head | |
361 | aw10.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
362 | aw10.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-45), 0, 0) * CFrame.new(0, -1.5, -1.5) | |
363 | ap11 = Instance.new("Part") | |
364 | ap11.formFactor = 3 | |
365 | ap11.CanCollide = false | |
366 | ap11.Name = "HelmP11" | |
367 | ap11.Locked = true | |
368 | ap11.Size = Vector3.new(1.5,1.5,1.5) | |
369 | ap11.Parent = armorholder | |
370 | ap11.BrickColor = BrickColor.new("White") | |
371 | am11 = Instance.new("SpecialMesh",ap11) | |
372 | am11.MeshType = "Sphere" | |
373 | aw11 = Instance.new("Weld") | |
374 | aw11.Parent = ap11 | |
375 | aw11.Part0 = ap11 | |
376 | aw11.Part1 = ap10 | |
377 | aw11.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
378 | aw11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, -1, 0) | |
379 | ap12 = Instance.new("Part") | |
380 | ap12.formFactor = 3 | |
381 | ap12.CanCollide = false | |
382 | ap12.Name = "HelmP12" | |
383 | ap12.Locked = true | |
384 | ap12.Size = Vector3.new(1,1,1) | |
385 | ap12.Parent = armorholder | |
386 | ap12.BrickColor = BrickColor.new("White") | |
387 | am12 = Instance.new("SpecialMesh",ap12) | |
388 | am12.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
389 | am12.Scale = Vector3.new(1.1,1,1.1) | |
390 | aw12 = Instance.new("Weld") | |
391 | aw12.Parent = ap12 | |
392 | aw12.Part0 = ap12 | |
393 | aw12.Part1 = ap10 | |
394 | aw12.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
395 | aw12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, -2, 0) | |
396 | ap13 = Instance.new("Part") | |
397 | ap13.formFactor = 3 | |
398 | ap13.CanCollide = false | |
399 | ap13.Name = "HelmP13" | |
400 | ap13.Locked = true | |
401 | ap13.Size = Vector3.new(1,1,1) | |
402 | ap13.Parent = armorholder | |
403 | ap13.BrickColor = BrickColor.new("Really blue") | |
404 | ap13.Reflectance = 0.1 | |
405 | am13 = Instance.new("SpecialMesh",ap13) | |
406 | am13.MeshType = "Sphere" | |
407 | am13.Scale = Vector3.new(1,1,1) | |
408 | aw13 = Instance.new("Weld") | |
409 | aw13.Parent = ap13 | |
410 | aw13.Part0 = ap13 | |
411 | aw13.Part1 = Head | |
412 | aw13.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
413 | aw13.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(1.25, 0.5, 0.25) | |
414 | ap14 = Instance.new("Part") | |
415 | ap14.formFactor = 3 | |
416 | ap14.CanCollide = false | |
417 | ap14.Name = "HelmP14" | |
418 | ap14.Locked = true | |
419 | ap14.Size = Vector3.new(1,1,1) | |
420 | ap14.Parent = armorholder | |
421 | ap14.BrickColor = BrickColor.new("Really blue") | |
422 | ap14.Reflectance = 0.1 | |
423 | am14 = Instance.new("SpecialMesh",ap14) | |
424 | am14.MeshType = "Sphere" | |
425 | am14.Scale = Vector3.new(1,1,1) | |
426 | aw14 = Instance.new("Weld") | |
427 | aw14.Parent = ap14 | |
428 | aw14.Part0 = ap14 | |
429 | aw14.Part1 = Head | |
430 | aw14.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
431 | aw14.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(-1.25, 0.5, 0.25) | |
432 | ap15 = Instance.new("Part") | |
433 | ap15.formFactor = 3 | |
434 | ap15.CanCollide = false | |
435 | ap15.Name = "HelmP15" | |
436 | ap15.Locked = true | |
437 | ap15.Size = Vector3.new(2.5,1.5,0.2) | |
438 | ap15.Parent = armorholder | |
439 | ap15.BrickColor = BrickColor.new("New Yeller") | |
440 | ap15.Reflectance = 0.1 | |
441 | am15 = Instance.new("BlockMesh",ap15) | |
442 | aw15 = Instance.new("Weld") | |
443 | aw15.Parent = ap15 | |
444 | aw15.Part0 = ap15 | |
445 | aw15.Part1 = Head | |
446 | aw15.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
447 | aw15.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, 0) * CFrame.new(0, 1, 1.75) | |
448 | ap16 = Instance.new("Part") | |
449 | ap16.formFactor = 3 | |
450 | ap16.CanCollide = false | |
451 | ap16.Name = "HelmP16" | |
452 | ap16.Locked = true | |
453 | ap16.Size = Vector3.new(0.2,1,2.5) | |
454 | ap16.Parent = armorholder | |
455 | ap16.BrickColor = BrickColor.new("New Yeller") | |
456 | ap16.Reflectance = 0.1 | |
457 | am16 = Instance.new("BlockMesh",ap16) | |
458 | aw16 = Instance.new("Weld") | |
459 | aw16.Parent = ap16 | |
460 | aw16.Part0 = ap16 | |
461 | aw16.Part1 = Head | |
462 | aw16.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
463 | aw16.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-20), 0) * CFrame.new(-1.6, 1.25, 0.6) | |
464 | ap17 = Instance.new("Part") | |
465 | ap17.formFactor = 3 | |
466 | ap17.CanCollide = false | |
467 | ap17.Name = "HelmP17" | |
468 | ap17.Locked = true | |
469 | ap17.Size = Vector3.new(0.2,1,2.5) | |
470 | ap17.Parent = armorholder | |
471 | ap17.BrickColor = BrickColor.new("New Yeller") | |
472 | ap17.Reflectance = 0.1 | |
473 | am17 = Instance.new("BlockMesh",ap17) | |
474 | aw17 = Instance.new("Weld") | |
475 | aw17.Parent = ap17 | |
476 | aw17.Part0 = ap17 | |
477 | aw17.Part1 = Head | |
478 | aw17.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
479 | aw17.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(20), 0) * CFrame.new(1.6, 1.25, 0.6) | |
480 | ap18 = Instance.new("Part") | |
481 | ap18.formFactor = 3 | |
482 | ap18.CanCollide = false | |
483 | ap18.Name = "HelmP18" | |
484 | ap18.Locked = true | |
485 | ap18.Size = Vector3.new(0.2,1.5,1.5) | |
486 | ap18.Parent = armorholder | |
487 | ap18.BrickColor = BrickColor.new("Really red") | |
488 | ap18.Reflectance = 0.1 | |
489 | am18 = Instance.new("BlockMesh",ap18) | |
490 | aw18 = Instance.new("Weld") | |
491 | aw18.Parent = ap18 | |
492 | aw18.Part0 = ap18 | |
493 | aw18.Part1 = Head | |
494 | aw18.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
495 | aw18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(30), 0) * CFrame.new(-1.7, 1, -1.1) | |
496 | ap19 = Instance.new("Part") | |
497 | ap19.formFactor = 3 | |
498 | ap19.CanCollide = false | |
499 | ap19.Name = "HelmP19" | |
500 | ap19.Locked = true | |
501 | ap19.Size = Vector3.new(0.2,1.5,1.5) | |
502 | ap19.Parent = armorholder | |
503 | ap19.BrickColor = BrickColor.new("Really red") | |
504 | ap19.Reflectance = 0.1 | |
505 | am19 = Instance.new("BlockMesh",ap19) | |
506 | aw19 = Instance.new("Weld") | |
507 | aw19.Parent = ap19 | |
508 | aw19.Part0 = ap19 | |
509 | aw19.Part1 = Head | |
510 | aw19.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
511 | aw19.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-30), 0) * CFrame.new(1.7, 1, -1.1) | |
512 | ap20 = Instance.new("Part") | |
513 | ap20.formFactor = 3 | |
514 | ap20.CanCollide = false | |
515 | ap20.Name = "HelmP20" | |
516 | ap20.Locked = true | |
517 | ap20.Size = Vector3.new(2.7,1.5,0.2) | |
518 | ap20.Parent = armorholder | |
519 | ap20.BrickColor = BrickColor.new("Really red") | |
520 | ap20.Reflectance = 0.1 | |
521 | am20 = Instance.new("BlockMesh",ap20) | |
522 | aw20 = Instance.new("Weld") | |
523 | aw20.Parent = ap20 | |
524 | aw20.Part0 = ap20 | |
525 | aw20.Part1 = Head | |
526 | aw20.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
527 | aw20.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0, 1, -1.7) | |
528 | ap21 = Instance.new("Part") | |
529 | ap21.formFactor = 3 | |
530 | ap21.CanCollide = false | |
531 | ap21.Name = "HelmP21" | |
532 | ap21.Locked = true | |
533 | ap21.Size = Vector3.new(0.2,0.2,0.2) | |
534 | ap21.Parent = armorholder | |
535 | ap21.Transparency = 0.9 | |
536 | ap21.BrickColor = BrickColor.new("New Yeller") | |
537 | am21 = Instance.new("BlockMesh",ap21) | |
538 | aw21 = Instance.new("Weld") | |
539 | aw21.Parent = ap21 | |
540 | aw21.Part0 = ap21 | |
541 | aw21.Part1 = Head | |
542 | aw21.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
543 | aw21.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0.55, 0.15, 1.2) | |
544 | ap22 = Instance.new("Part") | |
545 | ap22.formFactor = 3 | |
546 | ap22.CanCollide = false | |
547 | ap22.Name = "HelmP22" | |
548 | ap22.Locked = true | |
549 | ap22.Size = Vector3.new(0.2,0.2,0.2) | |
550 | ap22.Parent = armorholder | |
551 | ap22.BrickColor = BrickColor.new("New Yeller") | |
552 | ap22.Transparency = 0.9 | |
553 | am22 = Instance.new("BlockMesh",ap22) | |
554 | aw22 = Instance.new("Weld") | |
555 | aw22.Parent = ap22 | |
556 | aw22.Part0 = ap22 | |
557 | aw22.Part1 = Head | |
558 | aw22.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
559 | aw22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(-0.55, 0.15, 1.2) | |
560 | ap23 = Instance.new("Part") | |
561 | ap23.formFactor = 3 | |
562 | ap23.CanCollide = false | |
563 | ap23.Name = "HelmP23" | |
564 | ap23.Locked = true | |
565 | ap23.Size = Vector3.new(1,1,1) | |
566 | ap23.Parent = armorholder | |
567 | ap23.BrickColor = BrickColor.new("Dark stone grey") | |
568 | ap23.Reflectance = 0.1 | |
569 | am23 = Instance.new("BlockMesh",ap23) | |
570 | am23.Scale = Vector3.new(4,2,1.5) | |
571 | aw23 = Instance.new("Weld") | |
572 | aw23.Parent = ap23 | |
573 | aw23.Part0 = ap23 | |
574 | aw23.Part1 = Torso | |
575 | aw23.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
576 | aw23.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0, -1, 1) | |
577 | ap24 = Instance.new("Part") | |
578 | ap24.formFactor = 3 | |
579 | ap24.CanCollide = false | |
580 | ap24.Name = "HelmP24" | |
581 | ap24.Locked = true | |
582 | ap24.Size = Vector3.new(1,1,1) | |
583 | ap24.Parent = armorholder | |
584 | ap24.BrickColor = BrickColor.new("Dark stone grey") | |
585 | ap24.Reflectance = 0.1 | |
586 | am24 = Instance.new("BlockMesh",ap24) | |
587 | am24.Scale = Vector3.new(2,1,1.5) | |
588 | aw24 = Instance.new("Weld") | |
589 | aw24.Parent = ap24 | |
590 | aw24.Part0 = ap24 | |
591 | aw24.Part1 = Torso | |
592 | aw24.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
593 | aw24.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(-1.2, -0.5, 1.2) | |
594 | ap25 = Instance.new("Part") | |
595 | ap25.formFactor = 3 | |
596 | ap25.CanCollide = false | |
597 | ap25.Name = "HelmP25" | |
598 | ap25.Locked = true | |
599 | ap25.Size = Vector3.new(1,1,1) | |
600 | ap25.Parent = armorholder | |
601 | ap25.BrickColor = BrickColor.new("Dark stone grey") | |
602 | ap25.Reflectance = 0.1 | |
603 | am25 = Instance.new("BlockMesh",ap25) | |
604 | am25.Scale = Vector3.new(2,1,1.5) | |
605 | aw25 = Instance.new("Weld") | |
606 | aw25.Parent = ap25 | |
607 | aw25.Part0 = ap25 | |
608 | aw25.Part1 = Torso | |
609 | aw25.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
610 | aw25.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(1.2, -0.5, 1.2) | |
611 | ap26 = Instance.new("Part") | |
612 | ap26.formFactor = 3 | |
613 | ap26.CanCollide = false | |
614 | ap26.Name = "HelmP26" | |
615 | ap26.Locked = true | |
616 | ap26.Size = Vector3.new(1,1,1) | |
617 | ap26.Parent = armorholder | |
618 | ap26.BrickColor = BrickColor.new("Dark stone grey") | |
619 | ap26.Reflectance = 0.1 | |
620 | am26 = Instance.new("SpecialMesh",ap26) | |
621 | am26.Scale = Vector3.new(1.2,2,1.5) | |
622 | am26.MeshType = "Wedge" | |
623 | aw26 = Instance.new("Weld") | |
624 | aw26.Parent = ap26 | |
625 | aw26.Part0 = ap26 | |
626 | aw26.Part1 = Torso | |
627 | aw26.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
628 | aw26.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(-90), 0) * CFrame.new(1, 0.5, 1.2) | |
629 | ap27 = Instance.new("Part") | |
630 | ap27.formFactor = 3 | |
631 | ap27.CanCollide = false | |
632 | ap27.Name = "HelmP27" | |
633 | ap27.Locked = true | |
634 | ap27.Size = Vector3.new(1,1,1) | |
635 | ap27.Parent = armorholder | |
636 | ap27.BrickColor = BrickColor.new("Dark stone grey") | |
637 | ap27.Reflectance = 0.1 | |
638 | am27 = Instance.new("SpecialMesh",ap27) | |
639 | am27.Scale = Vector3.new(1.2,2,1.5) | |
640 | am27.MeshType = "Wedge" | |
641 | aw27 = Instance.new("Weld") | |
642 | aw27.Parent = ap27 | |
643 | aw27.Part0 = ap27 | |
644 | aw27.Part1 = Torso | |
645 | aw27.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
646 | aw27.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(90), 0) * CFrame.new(-1, 0.5, 1.2) | |
647 | ap28 = Instance.new("Part") | |
648 | ap28.formFactor = 3 | |
649 | ap28.CanCollide = false | |
650 | ap28.Name = "HelmP28" | |
651 | ap28.Locked = true | |
652 | ap28.Size = Vector3.new(1,1,1) | |
653 | ap28.Parent = armorholder | |
654 | ap28.BrickColor = BrickColor.new("Mid grey") | |
655 | ap28.Reflectance = 0.1 | |
656 | am28 = Instance.new("SpecialMesh",ap28) | |
657 | am28.Scale = Vector3.new(3.5,3.5,1) | |
658 | am28.MeshType = "Sphere" | |
659 | aw28 = Instance.new("Weld") | |
660 | aw28.Parent = ap28 | |
661 | aw28.Part0 = ap28 | |
662 | aw28.Part1 = Torso | |
663 | aw28.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
664 | aw28.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0, 0, 1) | |
665 | ap29 = Instance.new("Part") | |
666 | ap29.formFactor = 3 | |
667 | ap29.CanCollide = false | |
668 | ap29.Name = "HelmP29" | |
669 | ap29.Locked = true | |
670 | ap29.Size = Vector3.new(1,1,1) | |
671 | ap29.Parent = armorholder | |
672 | ap29.BrickColor = BrickColor.new("Really black") | |
673 | ap29.Reflectance = 0.1 | |
674 | am29 = Instance.new("BlockMesh",ap29) | |
675 | am29.Scale = Vector3.new(4.1,1,2.1) | |
676 | aw29 = Instance.new("Weld") | |
677 | aw29.Parent = ap29 | |
678 | aw29.Part0 = ap29 | |
679 | aw29.Part1 = Torso | |
680 | aw29.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
681 | aw29.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0, 2-0.5, 0) | |
682 | ap30 = Instance.new("Part") | |
683 | ap30.formFactor = 3 | |
684 | ap30.CanCollide = false | |
685 | ap30.Name = "HelmP30" | |
686 | ap30.Locked = true | |
687 | ap30.Size = Vector3.new(1,1,1) | |
688 | ap30.Parent = armorholder | |
689 | ap30.BrickColor = BrickColor.new("New Yeller") | |
690 | ap30.Reflectance = 0.1 | |
691 | am30 = Instance.new("CylinderMesh",ap30) | |
692 | am30.Scale = Vector3.new(1.5,1,1.5) | |
693 | aw30 = Instance.new("Weld") | |
694 | aw30.Parent = ap30 | |
695 | aw30.Part0 = ap30 | |
696 | aw30.Part1 = Torso | |
697 | aw30.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
698 | aw30.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), 0) * CFrame.new(0, 2-0.5, 1) | |
699 | ap30a = Instance.new("Part") | |
700 | ap30a.formFactor = 3 | |
701 | ap30a.CanCollide = false | |
702 | ap30a.Name = "HelmP30a" | |
703 | ap30a.Locked = true | |
704 | ap30a.Size = Vector3.new(1,1,1) | |
705 | ap30a.Parent = armorholder | |
706 | ap30a.BrickColor = BrickColor.new("New Yeller") | |
707 | ap30a.Reflectance = 0.1 | |
708 | am30a = Instance.new("CylinderMesh",ap30a) | |
709 | am30a.Scale = Vector3.new(0.75,1,0.75) | |
710 | aw30a = Instance.new("Weld") | |
711 | aw30a.Parent = ap30a | |
712 | aw30a.Part0 = ap30a | |
713 | aw30a.Part1 = Torso | |
714 | aw30a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
715 | aw30a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(20)) * CFrame.new(0.5, 2.2, 1) | |
716 | ap31a = Instance.new("Part") | |
717 | ap31a.formFactor = 3 | |
718 | ap31a.CanCollide = false | |
719 | ap31a.Name = "HelmP31a" | |
720 | ap31a.Locked = true | |
721 | ap31a.Size = Vector3.new(1,1,1) | |
722 | ap31a.Parent = armorholder | |
723 | ap31a.BrickColor = BrickColor.new("New Yeller") | |
724 | ap31a.Reflectance = 0.1 | |
725 | am31a = Instance.new("CylinderMesh",ap31a) | |
726 | am31a.Scale = Vector3.new(0.75,1,0.75) | |
727 | aw31a = Instance.new("Weld") | |
728 | aw31a.Parent = ap31a | |
729 | aw31a.Part0 = ap31a | |
730 | aw31a.Part1 = Torso | |
731 | aw31a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
732 | aw31a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-20)) * CFrame.new(-0.5, 2.2, 1) | |
733 | ap32a = Instance.new("Part") | |
734 | ap32a.formFactor = 3 | |
735 | ap32a.CanCollide = false | |
736 | ap32a.Name = "HelmP32a" | |
737 | ap32a.Locked = true | |
738 | ap32a.Size = Vector3.new(1,3,1) | |
739 | ap32a.Parent = armorholder | |
740 | ap32a.BrickColor = BrickColor.new("New Yeller") | |
741 | ap32a.Reflectance = 0.1 | |
742 | am32a = Instance.new("CylinderMesh",ap32a) | |
743 | am32a.Scale = Vector3.new(0.75,1,0.75) | |
744 | aw32a = Instance.new("Weld") | |
745 | aw32a.Parent = ap32a | |
746 | aw32a.Part0 = ap32a | |
747 | aw32a.Part1 = Torso | |
748 | aw32a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
749 | aw32a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.75, 4, 1) | |
750 | ap33a = Instance.new("Part") | |
751 | ap33a.formFactor = 3 | |
752 | ap33a.CanCollide = false | |
753 | ap33a.Name = "HelmP33a" | |
754 | ap33a.Locked = true | |
755 | ap33a.Size = Vector3.new(1,3,1) | |
756 | ap33a.Parent = armorholder | |
757 | ap33a.BrickColor = BrickColor.new("New Yeller") | |
758 | ap33a.Reflectance = 0.1 | |
759 | am33a = Instance.new("CylinderMesh",ap33a) | |
760 | am33a.Scale = Vector3.new(0.75,1,0.75) | |
761 | aw33a = Instance.new("Weld") | |
762 | aw33a.Parent = ap33a | |
763 | aw33a.Part0 = ap33a | |
764 | aw33a.Part1 = Torso | |
765 | aw33a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
766 | aw33a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.75, 4, 1) | |
767 | ||
768 | ap31 = Instance.new("Part") | |
769 | ap31.formFactor = 3 | |
770 | ap31.CanCollide = false | |
771 | ap31.Name = "HelmP31" | |
772 | ap31.Locked = true | |
773 | ap31.Size = Vector3.new(1,1,1) | |
774 | ap31.Parent = armorholder | |
775 | ap31.BrickColor = BrickColor.new("Dark stone grey") | |
776 | ap31.Reflectance = 0.1 | |
777 | am31 = Instance.new("BlockMesh",ap31) | |
778 | am31.Scale = Vector3.new(1.7,1,1.1) | |
779 | aw31 = Instance.new("Weld") | |
780 | aw31.Parent = ap31 | |
781 | aw31.Part0 = ap31 | |
782 | aw31.Part1 = Torso | |
783 | aw31.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
784 | aw31.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(-1.25, -0.8, -1.2) | |
785 | ap32 = Instance.new("Part") | |
786 | ap32.formFactor = 3 | |
787 | ap32.CanCollide = false | |
788 | ap32.Name = "HelmP32" | |
789 | ap32.Locked = true | |
790 | ap32.Size = Vector3.new(1,1,1) | |
791 | ap32.Parent = armorholder | |
792 | ap32.BrickColor = BrickColor.new("Dark stone grey") | |
793 | ap32.Reflectance = 0.1 | |
794 | am32 = Instance.new("BlockMesh",ap32) | |
795 | am32.Scale = Vector3.new(1.7,1,1.1) | |
796 | aw32 = Instance.new("Weld") | |
797 | aw32.Parent = ap32 | |
798 | aw32.Part0 = ap32 | |
799 | aw32.Part1 = Torso | |
800 | aw32.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
801 | aw32.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(1.25, -0.8, -1.2) | |
802 | ap33 = Instance.new("Part") | |
803 | ap33.formFactor = 3 | |
804 | ap33.CanCollide = false | |
805 | ap33.Name = "HelmP33" | |
806 | ap33.Locked = true | |
807 | ap33.Size = Vector3.new(1,1,1) | |
808 | ap33.Parent = armorholder | |
809 | ap33.BrickColor = BrickColor.new("Mid grey") | |
810 | ap33.Reflectance = 0.1 | |
811 | am33 = Instance.new("SpecialMesh",ap33) | |
812 | am33.Scale = Vector3.new(1.1,1.5,1.5) | |
813 | am33.MeshType = "Wedge" | |
814 | aw33 = Instance.new("Weld") | |
815 | aw33.Parent = ap33 | |
816 | aw33.Part0 = ap33 | |
817 | aw33.Part1 = Torso | |
818 | aw33.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
819 | aw33.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(90), 0) * CFrame.new(-1.25, 0.45, -1.2) | |
820 | ap34 = Instance.new("Part") | |
821 | ap34.formFactor = 3 | |
822 | ap34.CanCollide = false | |
823 | ap34.Name = "HelmP34" | |
824 | ap34.Locked = true | |
825 | ap34.Size = Vector3.new(1,1,1) | |
826 | ap34.Parent = armorholder | |
827 | ap34.BrickColor = BrickColor.new("Mid grey") | |
828 | ap34.Reflectance = 0.1 | |
829 | am34 = Instance.new("SpecialMesh",ap34) | |
830 | am34.Scale = Vector3.new(1.1,1.5,1.5) | |
831 | am34.MeshType = "Wedge" | |
832 | aw34 = Instance.new("Weld") | |
833 | aw34.Parent = ap34 | |
834 | aw34.Part0 = ap34 | |
835 | aw34.Part1 = Torso | |
836 | aw34.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
837 | aw34.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(-90), 0) * CFrame.new(1.25, 0.45, -1.2) | |
838 | ap35 = Instance.new("Part") | |
839 | ap35.formFactor = 3 | |
840 | ap35.CanCollide = false | |
841 | ap35.Name = "HelmP35" | |
842 | ap35.Locked = true | |
843 | ap35.Size = Vector3.new(3,0.5,2) | |
844 | ap35.Parent = armorholder | |
845 | ap35.BrickColor = BrickColor.new("Really black") | |
846 | ap35.Reflectance = 0.1 | |
847 | am35 = Instance.new("BlockMesh",ap35) | |
848 | aw35 = Instance.new("Weld") | |
849 | aw35.Parent = ap35 | |
850 | aw35.Part0 = ap35 | |
851 | aw35.Part1 = LeftArm | |
852 | aw35.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
853 | aw35.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0.5, -2, 0) | |
854 | ap36 = Instance.new("Part") | |
855 | ap36.formFactor = 3 | |
856 | ap36.CanCollide = false | |
857 | ap36.Name = "HelmP36" | |
858 | ap36.Locked = true | |
859 | ap36.Size = Vector3.new(3.1,0.5,2.1) | |
860 | ap36.Parent = armorholder | |
861 | ap36.BrickColor = BrickColor.new("New Yeller") | |
862 | ap36.Reflectance = 0.1 | |
863 | am36 = Instance.new("BlockMesh",ap36) | |
864 | am36.Scale = Vector3.new(1,0.9,1) | |
865 | aw36 = Instance.new("Weld") | |
866 | aw36.Parent = ap36 | |
867 | aw36.Part0 = ap36 | |
868 | aw36.Part1 = LeftArm | |
869 | aw36.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
870 | aw36.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), 0) * CFrame.new(0.5, -2, 0) | |
871 | ap37 = Instance.new("Part") | |
872 | ap37.formFactor = 3 | |
873 | ap37.CanCollide = false | |
874 | ap37.Name = "HelmP37" | |
875 | ap37.Locked = true | |
876 | ap37.Size = Vector3.new(3,0.3,2) | |
877 | ap37.Parent = armorholder | |
878 | ap37.BrickColor = BrickColor.new("Really black") | |
879 | ap37.Reflectance = 0.1 | |
880 | am37 = Instance.new("BlockMesh",ap37) | |
881 | aw37 = Instance.new("Weld") | |
882 | aw37.Parent = ap37 | |
883 | aw37.Part0 = ap37 | |
884 | aw37.Part1 = LeftArm | |
885 | aw37.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
886 | aw37.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-20)) * CFrame.new(0.5+1, -2+0.5, 0) | |
887 | ap38 = Instance.new("Part") | |
888 | ap38.formFactor = 3 | |
889 | ap38.CanCollide = false | |
890 | ap38.Name = "HelmP38" | |
891 | ap38.Locked = true | |
892 | ap38.Size = Vector3.new(3.1,0.3,2.1) | |
893 | ap38.Parent = armorholder | |
894 | ap38.BrickColor = BrickColor.new("New Yeller") | |
895 | ap38.Reflectance = 0.1 | |
896 | am38 = Instance.new("BlockMesh",ap38) | |
897 | am38.Scale = Vector3.new(1,0.9,1) | |
898 | aw38 = Instance.new("Weld") | |
899 | aw38.Parent = ap38 | |
900 | aw38.Part0 = ap38 | |
901 | aw38.Part1 = LeftArm | |
902 | aw38.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
903 | aw38.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-20)) * CFrame.new(0.5+1, -2+0.5, 0) | |
904 | ap39 = Instance.new("Part") | |
905 | ap39.formFactor = 3 | |
906 | ap39.CanCollide = false | |
907 | ap39.Name = "HelmP39" | |
908 | ap39.Locked = true | |
909 | ap39.Size = Vector3.new(4.1,0.75,2.1) | |
910 | ap39.Parent = armorholder | |
911 | ap39.BrickColor = BrickColor.new("Pastel yellow") | |
912 | am39 = Instance.new("SpecialMesh",ap39) | |
913 | am39.Scale = Vector3.new(1,1,1) | |
914 | am39.MeshType = "Sphere" | |
915 | aw39 = Instance.new("Weld") | |
916 | aw39.Parent = ap39 | |
917 | aw39.Part0 = ap39 | |
918 | aw39.Part1 = ap38 | |
919 | aw39.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
920 | aw39.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1, 0.25, 0) | |
921 | ap40 = Instance.new("Part") | |
922 | ap40.formFactor = 3 | |
923 | ap40.CanCollide = false | |
924 | ap40.Name = "HelmP40" | |
925 | ap40.Locked = true | |
926 | ap40.Size = Vector3.new(2.15,2.5,2.15) | |
927 | ap40.Parent = armorholder | |
928 | ap40.BrickColor = BrickColor.new("Really black") | |
929 | ap40.Reflectance = 0.1 | |
930 | am40 = Instance.new("BlockMesh",ap40) | |
931 | am40.Scale = Vector3.new(1,1,1) | |
932 | aw40 = Instance.new("Weld") | |
933 | aw40.Parent = ap40 | |
934 | aw40.Part0 = ap40 | |
935 | aw40.Part1 = LeftArm | |
936 | aw40.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
937 | aw40.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5, 0) | |
938 | ap41 = Instance.new("Part") | |
939 | ap41.formFactor = 3 | |
940 | ap41.CanCollide = false | |
941 | ap41.Name = "HelmP41" | |
942 | ap41.Locked = true | |
943 | ap41.Size = Vector3.new(2,0.4,2) | |
944 | ap41.Parent = armorholder | |
945 | ap41.BrickColor = BrickColor.new("White") | |
946 | ap41.Reflectance = 0.1 | |
947 | am41 = Instance.new("BlockMesh",ap41) | |
948 | am41.Scale = Vector3.new(1.01,1.01,1.01) | |
949 | aw41 = Instance.new("Weld") | |
950 | aw41.Parent = ap41 | |
951 | aw41.Part0 = ap41 | |
952 | aw41.Part1 = LeftArm | |
953 | aw41.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
954 | aw41.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 2-0.2, 0) | |
955 | ap42 = Instance.new("Part") | |
956 | ap42.formFactor = 3 | |
957 | ap42.CanCollide = false | |
958 | ap42.Name = "HelmP42" | |
959 | ap42.Locked = true | |
960 | ap42.Size = Vector3.new(2,1.5,2.1) | |
961 | ap42.Parent = armorholder | |
962 | ap42.BrickColor = BrickColor.new("Really blue") | |
963 | ap42.Reflectance = 0.1 | |
964 | am42 = Instance.new("SpecialMesh",ap42) | |
965 | am42.MeshType = "Sphere" | |
966 | aw42 = Instance.new("Weld") | |
967 | aw42.Parent = ap42 | |
968 | aw42.Part0 = ap42 | |
969 | aw42.Part1 = LeftArm | |
970 | aw42.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
971 | aw42.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, 0.5, 0) | |
972 | ap43 = Instance.new("Part") | |
973 | ap43.formFactor = 3 | |
974 | ap43.CanCollide = false | |
975 | ap43.Name = "HelmP43" | |
976 | ap43.Locked = true | |
977 | ap43.Size = Vector3.new(2,1.5,2.1) | |
978 | ap43.Parent = armorholder | |
979 | ap43.BrickColor = BrickColor.new("New Yeller") | |
980 | ap43.Reflectance = 0.1 | |
981 | am43 = Instance.new("SpecialMesh",ap43) | |
982 | am43.MeshType = "Sphere" | |
983 | am43.Scale = Vector3.new(0.9,1.3,1.01) | |
984 | aw43 = Instance.new("Weld") | |
985 | aw43.Parent = ap43 | |
986 | aw43.Part0 = ap43 | |
987 | aw43.Part1 = LeftArm | |
988 | aw43.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
989 | aw43.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, 0.5, 0) | |
990 | ||
991 | ap44 = Instance.new("Part") | |
992 | ap44.formFactor = 3 | |
993 | ap44.CanCollide = false | |
994 | ap44.Name = "HelmP44" | |
995 | ap44.Locked = true | |
996 | ap44.Size = Vector3.new(2,1.5,2.1) | |
997 | ap44.Parent = armorholder | |
998 | ap44.BrickColor = BrickColor.new("Really blue") | |
999 | ap44.Reflectance = 0.1 | |
1000 | am44 = Instance.new("SpecialMesh",ap44) | |
1001 | am44.MeshType = "Sphere" | |
1002 | aw44 = Instance.new("Weld") | |
1003 | aw44.Parent = ap44 | |
1004 | aw44.Part0 = ap44 | |
1005 | aw44.Part1 = RightArm | |
1006 | aw44.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1007 | aw44.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.5, 0.5, 0) | |
1008 | ap45 = Instance.new("Part") | |
1009 | ap45.formFactor = 3 | |
1010 | ap45.CanCollide = false | |
1011 | ap45.Name = "HelmP45" | |
1012 | ap45.Locked = true | |
1013 | ap45.Size = Vector3.new(2,1.5,2.1) | |
1014 | ap45.Parent = armorholder | |
1015 | ap45.BrickColor = BrickColor.new("New Yeller") | |
1016 | ap45.Reflectance = 0.1 | |
1017 | am45 = Instance.new("SpecialMesh",ap45) | |
1018 | am45.MeshType = "Sphere" | |
1019 | am45.Scale = Vector3.new(0.9,1.3,1.01) | |
1020 | aw45 = Instance.new("Weld") | |
1021 | aw45.Parent = ap45 | |
1022 | aw45.Part0 = ap45 | |
1023 | aw45.Part1 = RightArm | |
1024 | aw45.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1025 | aw45.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.5, 0.5, 0) | |
1026 | ap46 = Instance.new("Part") | |
1027 | ap46.formFactor = 3 | |
1028 | ap46.CanCollide = false | |
1029 | ap46.Name = "HelmP46" | |
1030 | ap46.Locked = true | |
1031 | ap46.Size = Vector3.new(2.15,2.5,2.15) | |
1032 | ap46.Parent = armorholder | |
1033 | ap46.BrickColor = BrickColor.new("Really black") | |
1034 | ap46.Reflectance = 0.1 | |
1035 | am46 = Instance.new("BlockMesh",ap46) | |
1036 | am46.Scale = Vector3.new(1,1,1) | |
1037 | aw46 = Instance.new("Weld") | |
1038 | aw46.Parent = ap46 | |
1039 | aw46.Part0 = ap46 | |
1040 | aw46.Part1 = RightArm | |
1041 | aw46.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1042 | aw46.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5, 0) | |
1043 | ap47 = Instance.new("Part") | |
1044 | ap47.formFactor = 3 | |
1045 | ap47.CanCollide = false | |
1046 | ap47.Name = "HelmP47" | |
1047 | ap47.Locked = true | |
1048 | ap47.Size = Vector3.new(2,0.4,2) | |
1049 | ap47.Parent = armorholder | |
1050 | ap47.BrickColor = BrickColor.new("White") | |
1051 | ap47.Reflectance = 0.1 | |
1052 | am47 = Instance.new("BlockMesh",ap47) | |
1053 | am47.Scale = Vector3.new(1.01,1.01,1.01) | |
1054 | aw47 = Instance.new("Weld") | |
1055 | aw47.Parent = ap47 | |
1056 | aw47.Part0 = ap47 | |
1057 | aw47.Part1 = RightArm | |
1058 | aw47.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1059 | aw47.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 2-0.2, 0) | |
1060 | ap48 = Instance.new("Part") | |
1061 | ap48.formFactor = 3 | |
1062 | ap48.CanCollide = false | |
1063 | ap48.Name = "HelmP48" | |
1064 | ap48.Locked = true | |
1065 | ap48.Size = Vector3.new(2.15,1.15,2.15) | |
1066 | ap48.Parent = armorholder | |
1067 | ap48.BrickColor = BrickColor.new("Really black") | |
1068 | ap48.Reflectance = 0.1 | |
1069 | am48 = Instance.new("BlockMesh",ap48) | |
1070 | am48.Scale = Vector3.new(1,1,1) | |
1071 | aw48 = Instance.new("Weld") | |
1072 | aw48.Parent = ap48 | |
1073 | aw48.Part0 = ap48 | |
1074 | aw48.Part1 = RightArm | |
1075 | aw48.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1076 | aw48.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, -1.5, 0) | |
1077 | ap49 = Instance.new("Part") | |
1078 | ap49.formFactor = 3 | |
1079 | ap49.CanCollide = false | |
1080 | ap49.Name = "HelmP49" | |
1081 | ap49.Locked = true | |
1082 | ap49.Size = Vector3.new(3,1.1,2.25) | |
1083 | ap49.Parent = armorholder | |
1084 | ap49.BrickColor = BrickColor.new("New Yeller") | |
1085 | ap49.Reflectance = 0.1 | |
1086 | am49 = Instance.new("BlockMesh",ap49) | |
1087 | am49.Scale = Vector3.new(1,1,1) | |
1088 | aw49 = Instance.new("Weld") | |
1089 | aw49.Parent = ap49 | |
1090 | aw49.Part0 = ap49 | |
1091 | aw49.Part1 = RightArm | |
1092 | aw49.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1093 | aw49.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, -1.5, 0) | |
1094 | ap50 = Instance.new("Part") | |
1095 | ap50.formFactor = 3 | |
1096 | ap50.CanCollide = false | |
1097 | ap50.Name = "HelmP50" | |
1098 | ap50.Locked = true | |
1099 | ap50.Size = Vector3.new(1.5,1.5,2.5) | |
1100 | ap50.Parent = armorholder | |
1101 | ap50.BrickColor = BrickColor.new("Really blue") | |
1102 | ap50.Reflectance = 0.1 | |
1103 | am50 = Instance.new("SpecialMesh",ap50) | |
1104 | am50.MeshType = "Sphere" | |
1105 | aw50 = Instance.new("Weld") | |
1106 | aw50.Parent = ap50 | |
1107 | aw50.Part0 = ap50 | |
1108 | aw50.Part1 = RightArm | |
1109 | aw50.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1110 | aw50.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, -1.25, 0) | |
1111 | ap51 = Instance.new("Part") | |
1112 | ap51.formFactor = 3 | |
1113 | ap51.CanCollide = false | |
1114 | ap51.Name = "HelmP51" | |
1115 | ap51.Locked = true | |
1116 | ap51.Size = Vector3.new(1,1,2.2) | |
1117 | ap51.Parent = armorholder | |
1118 | ap51.BrickColor = BrickColor.new("Really blue") | |
1119 | ap51.Reflectance = 0.1 | |
1120 | am51 = Instance.new("SpecialMesh",ap51) | |
1121 | am51.MeshType = "Sphere" | |
1122 | aw51 = Instance.new("Weld") | |
1123 | aw51.Parent = ap51 | |
1124 | aw51.Part0 = ap51 | |
1125 | aw51.Part1 = RightArm | |
1126 | aw51.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1127 | aw51.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1, -0.75, 0) | |
1128 | ||
1129 | ap52 = Instance.new("Part") | |
1130 | ap52.formFactor = 3 | |
1131 | ap52.CanCollide = false | |
1132 | ap52.Name = "HelmP52" | |
1133 | ap52.Locked = true | |
1134 | ap52.Size = Vector3.new(2.1,2,2.1) | |
1135 | ap52.Parent = armorholder | |
1136 | ap52.BrickColor = BrickColor.new("Mid grey") | |
1137 | ap52.Reflectance = 0.1 | |
1138 | am52 = Instance.new("BlockMesh",ap52) | |
1139 | aw52 = Instance.new("Weld") | |
1140 | aw52.Parent = ap52 | |
1141 | aw52.Part0 = ap52 | |
1142 | aw52.Part1 = RightLeg | |
1143 | aw52.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1144 | aw52.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1, 0.1) | |
1145 | ap53 = Instance.new("Part") | |
1146 | ap53.formFactor = 3 | |
1147 | ap53.CanCollide = false | |
1148 | ap53.Name = "HelmP53" | |
1149 | ap53.Locked = true | |
1150 | ap53.Size = Vector3.new(1.5,2.5,2.1) | |
1151 | ap53.Parent = armorholder | |
1152 | ap53.BrickColor = BrickColor.new("New Yeller") | |
1153 | ap53.Reflectance = 0.1 | |
1154 | am53 = Instance.new("BlockMesh",ap53) | |
1155 | aw53 = Instance.new("Weld") | |
1156 | aw53.Parent = ap53 | |
1157 | aw53.Part0 = ap53 | |
1158 | aw53.Part1 = RightLeg | |
1159 | aw53.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1160 | aw53.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1-0.5, 0.15) | |
1161 | ap54 = Instance.new("Part") | |
1162 | ap54.formFactor = 3 | |
1163 | ap54.CanCollide = false | |
1164 | ap54.Name = "HelmP54" | |
1165 | ap54.Locked = true | |
1166 | ap54.Size = Vector3.new(1.8,2.5,2.1) | |
1167 | ap54.Parent = armorholder | |
1168 | ap54.BrickColor = BrickColor.new("Mid grey") | |
1169 | ap54.Reflectance = 0.1 | |
1170 | am54 = Instance.new("BlockMesh",ap54) | |
1171 | aw54 = Instance.new("Weld") | |
1172 | aw54.Parent = ap54 | |
1173 | aw54.Part0 = ap54 | |
1174 | aw54.Part1 = RightLeg | |
1175 | aw54.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1176 | aw54.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1-0.75, 0.1) | |
1177 | ap55 = Instance.new("Part") | |
1178 | ap55.formFactor = 3 | |
1179 | ap55.CanCollide = false | |
1180 | ap55.Name = "HelmP55" | |
1181 | ap55.Locked = true | |
1182 | ap55.Size = Vector3.new(2.2,1.5,2.1) | |
1183 | ap55.Parent = armorholder | |
1184 | ap55.BrickColor = BrickColor.new("New Yeller") | |
1185 | ap55.Reflectance = 0.1 | |
1186 | am55 = Instance.new("BlockMesh",ap55) | |
1187 | aw55 = Instance.new("Weld") | |
1188 | aw55.Parent = ap55 | |
1189 | aw55.Part0 = ap55 | |
1190 | aw55.Part1 = RightLeg | |
1191 | aw55.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1192 | aw55.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1, 0.101) | |
1193 | ||
1194 | ap56 = Instance.new("Part") | |
1195 | ap56.formFactor = 3 | |
1196 | ap56.CanCollide = false | |
1197 | ap56.Name = "HelmP52" | |
1198 | ap56.Locked = true | |
1199 | ap56.Size = Vector3.new(2.1,2,2.1) | |
1200 | ap56.Parent = armorholder | |
1201 | ap56.BrickColor = BrickColor.new("Mid grey") | |
1202 | ap56.Reflectance = 0.1 | |
1203 | am56 = Instance.new("BlockMesh",ap56) | |
1204 | aw56 = Instance.new("Weld") | |
1205 | aw56.Parent = ap56 | |
1206 | aw56.Part0 = ap56 | |
1207 | aw56.Part1 = LeftLeg | |
1208 | aw56.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1209 | aw56.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1, 0.1) | |
1210 | ap57 = Instance.new("Part") | |
1211 | ap57.formFactor = 3 | |
1212 | ap57.CanCollide = false | |
1213 | ap57.Name = "HelmP53" | |
1214 | ap57.Locked = true | |
1215 | ap57.Size = Vector3.new(1.5,2.5,2.1) | |
1216 | ap57.Parent = armorholder | |
1217 | ap57.BrickColor = BrickColor.new("New Yeller") | |
1218 | ap57.Reflectance = 0.1 | |
1219 | am57 = Instance.new("BlockMesh",ap57) | |
1220 | aw57 = Instance.new("Weld") | |
1221 | aw57.Parent = ap57 | |
1222 | aw57.Part0 = ap57 | |
1223 | aw57.Part1 = LeftLeg | |
1224 | aw57.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1225 | aw57.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1-0.5, 0.15) | |
1226 | ap58 = Instance.new("Part") | |
1227 | ap58.formFactor = 3 | |
1228 | ap58.CanCollide = false | |
1229 | ap58.Name = "HelmP54" | |
1230 | ap58.Locked = true | |
1231 | ap58.Size = Vector3.new(1.8,2.5,2.1) | |
1232 | ap58.Parent = armorholder | |
1233 | ap58.BrickColor = BrickColor.new("Mid grey") | |
1234 | ap58.Reflectance = 0.1 | |
1235 | am58 = Instance.new("BlockMesh",ap58) | |
1236 | aw58 = Instance.new("Weld") | |
1237 | aw58.Parent = ap58 | |
1238 | aw58.Part0 = ap58 | |
1239 | aw58.Part1 = LeftLeg | |
1240 | aw58.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1241 | aw58.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1-0.75, 0.1) | |
1242 | ap59 = Instance.new("Part") | |
1243 | ap59.formFactor = 3 | |
1244 | ap59.CanCollide = false | |
1245 | ap59.Name = "HelmP55" | |
1246 | ap59.Locked = true | |
1247 | ap59.Size = Vector3.new(2.2,1.5,2.1) | |
1248 | ap59.Parent = armorholder | |
1249 | ap59.BrickColor = BrickColor.new("New Yeller") | |
1250 | ap59.Reflectance = 0.1 | |
1251 | am59 = Instance.new("BlockMesh",ap59) | |
1252 | aw59 = Instance.new("Weld") | |
1253 | aw59.Parent = ap59 | |
1254 | aw59.Part0 = ap59 | |
1255 | aw59.Part1 = LeftLeg | |
1256 | aw59.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1257 | aw59.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 1, 0.101) | |
1258 | ap60 = Instance.new("Part") | |
1259 | ap60.formFactor = 3 | |
1260 | ap60.CanCollide = false | |
1261 | ap60.Name = "HelmP60" | |
1262 | ap60.Locked = true | |
1263 | ap60.Size = Vector3.new(4,3,0.2) | |
1264 | ap60.Parent = armorholder | |
1265 | ap60.BrickColor = BrickColor.new("Really red") | |
1266 | am60 = Instance.new("BlockMesh",ap60) | |
1267 | aw60 = Instance.new("Weld") | |
1268 | aw60.Parent = ap60 | |
1269 | aw60.Part0 = ap60 | |
1270 | aw60.Part1 = Torso | |
1271 | aw60.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1272 | aw60.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 4.5-1.5, -1.1) | |
1273 | ap61 = Instance.new("Part") | |
1274 | ap61.formFactor = 3 | |
1275 | ap61.CanCollide = false | |
1276 | ap61.Name = "HelmP61" | |
1277 | ap61.Locked = true | |
1278 | ap61.Size = Vector3.new(0.2,3,2) | |
1279 | ap61.Parent = armorholder | |
1280 | ap61.BrickColor = BrickColor.new("Really red") | |
1281 | am61 = Instance.new("BlockMesh",ap61) | |
1282 | aw61 = Instance.new("Weld") | |
1283 | aw61.Parent = ap61 | |
1284 | aw61.Part0 = ap61 | |
1285 | aw61.Part1 = Torso | |
1286 | aw61.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1287 | aw61.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(2.1, 4.5-1.5,0) | |
1288 | ap62 = Instance.new("Part") | |
1289 | ap62.formFactor = 3 | |
1290 | ap62.CanCollide = false | |
1291 | ap62.Name = "HelmP62" | |
1292 | ap62.Locked = true | |
1293 | ap62.Size = Vector3.new(0.2,3,2) | |
1294 | ap62.Parent = armorholder | |
1295 | ap62.BrickColor = BrickColor.new("Really red") | |
1296 | am62 = Instance.new("BlockMesh",ap62) | |
1297 | aw62 = Instance.new("Weld") | |
1298 | aw62.Parent = ap62 | |
1299 | aw62.Part0 = ap62 | |
1300 | aw62.Part1 = Torso | |
1301 | aw62.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1302 | aw62.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-2.1, 4.5-1.5,0) | |
1303 | ||
1304 | ||
1305 | ||
1306 | ||
1307 | ||
1308 | RAP = Instance.new("Part") | |
1309 | RAP.formFactor = 0 | |
1310 | RAP.CanCollide = false | |
1311 | RAP.Name = "RAPart" | |
1312 | RAP.Locked = true | |
1313 | RAP.Size = Vector3.new(1,1,1) | |
1314 | RAP.Parent = bodyholder | |
1315 | RAP.Transparency = 1 | |
1316 | w = Instance.new("Weld") | |
1317 | w.Parent = RAP | |
1318 | w.Part0 = RAP | |
1319 | w.Part1 = RightArm | |
1320 | w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1321 | w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 2, 0) | |
1322 | LAP = Instance.new("Part") | |
1323 | LAP.formFactor = 0 | |
1324 | LAP.CanCollide = false | |
1325 | LAP.Name = "LAPart" | |
1326 | LAP.Locked = true | |
1327 | LAP.Size = Vector3.new(1,1,1) | |
1328 | LAP.Parent = bodyholder | |
1329 | LAP.Transparency = 1 | |
1330 | wl = Instance.new("Weld") | |
1331 | wl.Parent = LAP | |
1332 | wl.Part0 = LAP | |
1333 | wl.Part1 = LeftArm | |
1334 | wl.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1335 | wl.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 2, 0) | |
1336 | ||
1337 | swordholder = Instance.new("Model") | |
1338 | swordholder.Name = "Weapon" | |
1339 | swordholder.Parent = bodyholder | |
1340 | ||
1341 | prt1 = Instance.new("Part") | |
1342 | prt1.formFactor = 3 | |
1343 | prt1.CanCollide = false | |
1344 | prt1.Name = "NaginataHandle" | |
1345 | prt1.Locked = true | |
1346 | prt1.Size = Vector3.new(0.5,15,0.5) | |
1347 | prt1.Parent = swordholder | |
1348 | prt1.BrickColor = BrickColor.new("Really red") | |
1349 | m1 = Instance.new("CylinderMesh",prt1) | |
1350 | w1 = Instance.new("Weld") | |
1351 | w1.Parent = prt1 | |
1352 | w1.Part0 = prt1 | |
1353 | w1.Part1 = LAP | |
1354 | w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1355 | w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+10), math.rad(0), math.rad(0)) * CFrame.new(0,0,0) | |
1356 | prt2 = Instance.new("Part") | |
1357 | prt2.formFactor = 3 | |
1358 | prt2.CanCollide = false | |
1359 | prt2.Name = "NaginataBlade" | |
1360 | prt2.Locked = true | |
1361 | prt2.Size = Vector3.new(0.5,3,0.5) | |
1362 | prt2.Parent = swordholder | |
1363 | prt2.BrickColor = BrickColor.new("Mid grey") | |
1364 | prt2.Reflectance = 0.2 | |
1365 | m2 = Instance.new("BlockMesh",prt2) | |
1366 | w2 = Instance.new("Weld") | |
1367 | w2.Parent = prt2 | |
1368 | w2.Part0 = prt2 | |
1369 | w2.Part1 = prt1 | |
1370 | w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1371 | w2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-7.5,0) | |
1372 | prt3 = Instance.new("Part") | |
1373 | prt3.formFactor = 3 | |
1374 | prt3.CanCollide = false | |
1375 | prt3.Name = "NaginataBlade" | |
1376 | prt3.Locked = true | |
1377 | prt3.Size = Vector3.new(0.5,0.5,3) | |
1378 | prt3.Parent = swordholder | |
1379 | prt3.BrickColor = BrickColor.new("Mid grey") | |
1380 | prt3.Reflectance = 0.2 | |
1381 | m3 = Instance.new("BlockMesh",prt3) | |
1382 | w3 = Instance.new("Weld") | |
1383 | w3.Parent = prt3 | |
1384 | w3.Part0 = prt3 | |
1385 | w3.Part1 = prt1 | |
1386 | w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1387 | w3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-7.5,0) | |
1388 | prt4 = Instance.new("Part") | |
1389 | prt4.formFactor = 3 | |
1390 | prt4.CanCollide = false | |
1391 | prt4.Name = "NaginataBlade" | |
1392 | prt4.Locked = true | |
1393 | prt4.Size = Vector3.new(0.5,0.5,3) | |
1394 | prt4.Parent = swordholder | |
1395 | prt4.BrickColor = BrickColor.new("Mid grey") | |
1396 | prt4.Reflectance = 0.2 | |
1397 | m4 = Instance.new("SpecialMesh",prt4) | |
1398 | m4.MeshType = "Wedge" | |
1399 | w4 = Instance.new("Weld") | |
1400 | w4.Parent = prt4 | |
1401 | w4.Part0 = prt4 | |
1402 | w4.Part1 = prt1 | |
1403 | w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1404 | w4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0,-7.5+1.25,1.5) | |
1405 | prt5 = Instance.new("Part") | |
1406 | prt5.formFactor = 3 | |
1407 | prt5.CanCollide = false | |
1408 | prt5.Name = "NaginataBlade" | |
1409 | prt5.Locked = true | |
1410 | prt5.Size = Vector3.new(0.5,0.5,3) | |
1411 | prt5.Parent = swordholder | |
1412 | prt5.BrickColor = BrickColor.new("Mid grey") | |
1413 | prt5.Reflectance = 0.2 | |
1414 | m5 = Instance.new("SpecialMesh",prt5) | |
1415 | m5.MeshType = "Wedge" | |
1416 | w5 = Instance.new("Weld") | |
1417 | w5.Parent = prt5 | |
1418 | w5.Part0 = prt5 | |
1419 | w5.Part1 = prt1 | |
1420 | w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1421 | w5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(0)) * CFrame.new(0,-7.5+1.25,-1.5) | |
1422 | prt6 = Instance.new("Part") | |
1423 | prt6.formFactor = 3 | |
1424 | prt6.CanCollide = false | |
1425 | prt6.Name = "NaginataBlade" | |
1426 | prt6.Locked = true | |
1427 | prt6.Size = Vector3.new(0.5,2,3) | |
1428 | prt6.Parent = swordholder | |
1429 | prt6.BrickColor = BrickColor.new("Mid grey") | |
1430 | prt6.Reflectance = 0.2 | |
1431 | m6 = Instance.new("SpecialMesh",prt6) | |
1432 | m6.MeshType = "Wedge" | |
1433 | w6 = Instance.new("Weld") | |
1434 | w6.Parent = prt6 | |
1435 | w6.Part0 = prt6 | |
1436 | w6.Part1 = prt1 | |
1437 | w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1438 | w6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(180), math.rad(0)) * CFrame.new(0,-10.75,1) | |
1439 | prt7 = Instance.new("Part") | |
1440 | prt7.formFactor = 3 | |
1441 | prt7.CanCollide = false | |
1442 | prt7.Name = "NaginataBlade" | |
1443 | prt7.Locked = true | |
1444 | prt7.Size = Vector3.new(0.5,0.5,4) | |
1445 | prt7.Parent = swordholder | |
1446 | prt7.BrickColor = BrickColor.new("Mid grey") | |
1447 | prt7.Reflectance = 0.2 | |
1448 | m7 = Instance.new("BlockMesh",prt7) | |
1449 | w7 = Instance.new("Weld") | |
1450 | w7.Parent = prt7 | |
1451 | w7.Part0 = prt7 | |
1452 | w7.Part1 = prt1 | |
1453 | w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1454 | w7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-9,0) | |
1455 | prt8 = Instance.new("Part") | |
1456 | prt8.formFactor = 3 | |
1457 | prt8.CanCollide = false | |
1458 | prt8.Name = "NaginataBlade" | |
1459 | prt8.Locked = true | |
1460 | prt8.Size = Vector3.new(0.5,0.5,1) | |
1461 | prt8.Parent = swordholder | |
1462 | prt8.BrickColor = BrickColor.new("Mid grey") | |
1463 | prt8.Reflectance = 0.2 | |
1464 | m8 = Instance.new("SpecialMesh",prt8) | |
1465 | m8.MeshType = "Wedge" | |
1466 | w8 = Instance.new("Weld") | |
1467 | w8.Parent = prt8 | |
1468 | w8.Part0 = prt8 | |
1469 | w8.Part1 = prt1 | |
1470 | w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1471 | w8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0,-8.25,1.75) | |
1472 | prt9 = Instance.new("Part") | |
1473 | prt9.formFactor = 3 | |
1474 | prt9.CanCollide = false | |
1475 | prt9.Name = "NaginataBlade" | |
1476 | prt9.Locked = true | |
1477 | prt9.Size = Vector3.new(0.5,0.5,1) | |
1478 | prt9.Parent = swordholder | |
1479 | prt9.BrickColor = BrickColor.new("Mid grey") | |
1480 | prt9.Reflectance = 0.2 | |
1481 | m9 = Instance.new("SpecialMesh",prt9) | |
1482 | m9.MeshType = "Wedge" | |
1483 | w9 = Instance.new("Weld") | |
1484 | w9.Parent = prt9 | |
1485 | w9.Part0 = prt9 | |
1486 | w9.Part1 = prt1 | |
1487 | w9.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1488 | w9.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(0)) * CFrame.new(0,-8.25,-1.75) | |
1489 | prt10 = Instance.new("Part") | |
1490 | prt10.formFactor = 3 | |
1491 | prt10.CanCollide = false | |
1492 | prt10.Name = "NaginataBlade" | |
1493 | prt10.Locked = true | |
1494 | prt10.Size = Vector3.new(0.5,0.5,1) | |
1495 | prt10.Parent = swordholder | |
1496 | prt10.BrickColor = BrickColor.new("Mid grey") | |
1497 | prt10.Reflectance = 0.2 | |
1498 | m10 = Instance.new("SpecialMesh",prt10) | |
1499 | m10.MeshType = "Wedge" | |
1500 | w10 = Instance.new("Weld") | |
1501 | w10.Parent = prt10 | |
1502 | w10.Part0 = prt10 | |
1503 | w10.Part1 = prt1 | |
1504 | w10.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1505 | w10.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(180), math.rad(0)) * CFrame.new(0,-9-0.7,-1.75) | |
1506 | prt11 = Instance.new("Part") | |
1507 | prt11.formFactor = 3 | |
1508 | prt11.CanCollide = false | |
1509 | prt11.Name = "NaginataBottom" | |
1510 | prt11.Locked = true | |
1511 | prt11.Size = Vector3.new(1,1,1) | |
1512 | prt11.Parent = swordholder | |
1513 | prt11.BrickColor = BrickColor.new("Mid grey") | |
1514 | prt11.Reflectance = 0.2 | |
1515 | m11 = Instance.new("SpecialMesh",prt11) | |
1516 | m11.MeshType = "Sphere" | |
1517 | w11 = Instance.new("Weld") | |
1518 | w11.Parent = prt11 | |
1519 | w11.Part0 = prt11 | |
1520 | w11.Part1 = prt1 | |
1521 | w11.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1522 | w11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(180), math.rad(0)) * CFrame.new(0,7.5,0) | |
1523 | ||
1524 | pprt1 = Instance.new("Part") | |
1525 | pprt1.formFactor = 3 | |
1526 | pprt1.CanCollide = false | |
1527 | pprt1.Name = "ExcaliburHandle" | |
1528 | pprt1.Locked = true | |
1529 | pprt1.Size = Vector3.new(1,3,1) | |
1530 | pprt1.Parent = swordholder | |
1531 | pprt1.BrickColor = BrickColor.new("Really black") | |
1532 | mm1 = Instance.new("CylinderMesh",pprt1) | |
1533 | ww1 = Instance.new("Weld") | |
1534 | ww1.Parent = pprt1 | |
1535 | ww1.Part0 = pprt1 | |
1536 | ww1.Part1 = RAP | |
1537 | ww1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1538 | ww1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0,0,0) | |
1539 | pprt2 = Instance.new("Part") | |
1540 | pprt2.formFactor = 3 | |
1541 | pprt2.CanCollide = false | |
1542 | pprt2.Name = "ExcaliburCrest" | |
1543 | pprt2.Locked = true | |
1544 | pprt2.Size = Vector3.new(1,2,2) | |
1545 | pprt2.Parent = swordholder | |
1546 | pprt2.BrickColor = BrickColor.new("New Yeller") | |
1547 | mm2 = Instance.new("SpecialMesh",pprt2) | |
1548 | mm2.MeshType = "Sphere" | |
1549 | ww2 = Instance.new("Weld") | |
1550 | ww2.Parent = pprt2 | |
1551 | ww2.Part0 = pprt2 | |
1552 | ww2.Part1 = pprt1 | |
1553 | ww2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1554 | ww2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-2,0) | |
1555 | pprt3 = Instance.new("Part") | |
1556 | pprt3.formFactor = 3 | |
1557 | pprt3.CanCollide = false | |
1558 | pprt3.Name = "ExcaliburCrest" | |
1559 | pprt3.Locked = true | |
1560 | pprt3.Size = Vector3.new(1,2,1) | |
1561 | pprt3.Parent = swordholder | |
1562 | pprt3.BrickColor = BrickColor.new("New Yeller") | |
1563 | mm3 = Instance.new("SpecialMesh",pprt3) | |
1564 | mm3.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
1565 | mm3.Scale = Vector3.new(0.5,1,1) | |
1566 | ww3 = Instance.new("Weld") | |
1567 | ww3.Parent = pprt3 | |
1568 | ww3.Part0 = pprt3 | |
1569 | ww3.Part1 = pprt1 | |
1570 | ww3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1571 | ww3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0,-2,1) | |
1572 | pprt4 = Instance.new("Part") | |
1573 | pprt4.formFactor = 3 | |
1574 | pprt4.CanCollide = false | |
1575 | pprt4.Name = "ExcaliburCrest" | |
1576 | pprt4.Locked = true | |
1577 | pprt4.Size = Vector3.new(1,2,1) | |
1578 | pprt4.Parent = swordholder | |
1579 | pprt4.BrickColor = BrickColor.new("New Yeller") | |
1580 | mm4 = Instance.new("SpecialMesh",pprt4) | |
1581 | mm4.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
1582 | mm4.Scale = Vector3.new(0.5,1,1) | |
1583 | ww4 = Instance.new("Weld") | |
1584 | ww4.Parent = pprt4 | |
1585 | ww4.Part0 = pprt4 | |
1586 | ww4.Part1 = pprt1 | |
1587 | ww4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1588 | ww4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) * CFrame.new(0,-2,-1) | |
1589 | for i = -1 , 1 do | |
1590 | pprt5 = Instance.new("Part") | |
1591 | pprt5.formFactor = 3 | |
1592 | pprt5.CanCollide = false | |
1593 | pprt5.Name = "ExcaliburCrest" | |
1594 | pprt5.Locked = true | |
1595 | pprt5.Size = Vector3.new(1,2,1) | |
1596 | pprt5.Parent = swordholder | |
1597 | pprt5.BrickColor = BrickColor.new("Really red") | |
1598 | mm5 = Instance.new("SpecialMesh",pprt5) | |
1599 | mm5.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
1600 | mm5.Scale = Vector3.new(0.1,1.3,1.2) | |
1601 | ww5 = Instance.new("Weld") | |
1602 | ww5.Parent = pprt5 | |
1603 | ww5.Part0 = pprt5 | |
1604 | ww5.Part1 = pprt2 | |
1605 | ww5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1606 | ww5.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-90+30*i), math.rad(0), math.rad(0)) | |
1607 | end | |
1608 | for i = -1 , 1 do | |
1609 | pprt6 = Instance.new("Part") | |
1610 | pprt6.formFactor = 3 | |
1611 | pprt6.CanCollide = false | |
1612 | pprt6.Name = "ExcaliburCrest" | |
1613 | pprt6.Locked = true | |
1614 | pprt6.Size = Vector3.new(1,2,1) | |
1615 | pprt6.Parent = swordholder | |
1616 | pprt6.BrickColor = BrickColor.new("Really red") | |
1617 | mm6 = Instance.new("SpecialMesh",pprt6) | |
1618 | mm6.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
1619 | mm6.Scale = Vector3.new(0.1,1.3,1.2) | |
1620 | ww6 = Instance.new("Weld") | |
1621 | ww6.Parent = pprt6 | |
1622 | ww6.Part0 = pprt6 | |
1623 | ww6.Part1 = pprt2 | |
1624 | ww6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1625 | ww6.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+30*i), math.rad(0), math.rad(0)) | |
1626 | end | |
1627 | pprt7 = Instance.new("Part") | |
1628 | pprt7.formFactor = 3 | |
1629 | pprt7.CanCollide = false | |
1630 | pprt7.Name = "ExcaliburCrest" | |
1631 | pprt7.Locked = true | |
1632 | pprt7.Size = Vector3.new(1,0.5,1) | |
1633 | pprt7.Parent = swordholder | |
1634 | pprt7.BrickColor = BrickColor.new("Really red") | |
1635 | mm7 = Instance.new("CylinderMesh",pprt7) | |
1636 | mm7.Scale = Vector3.new(1.2,1,1.2) | |
1637 | ww7 = Instance.new("Weld") | |
1638 | ww7.Parent = pprt7 | |
1639 | ww7.Part0 = pprt7 | |
1640 | ww7.Part1 = pprt1 | |
1641 | ww7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1642 | ww7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,1.5,0) | |
1643 | pprt8 = Instance.new("Part") | |
1644 | pprt8.formFactor = 3 | |
1645 | pprt8.CanCollide = false | |
1646 | pprt8.Name = "ExcaliburBlade" | |
1647 | pprt8.Locked = true | |
1648 | pprt8.Size = Vector3.new(0.2,10,1) | |
1649 | pprt8.Parent = swordholder | |
1650 | pprt8.BrickColor = BrickColor.new("Really red") | |
1651 | mm8 = Instance.new("BlockMesh",pprt8) | |
1652 | mm8.Scale = Vector3.new(1,1,1) | |
1653 | ww8 = Instance.new("Weld") | |
1654 | ww8.Parent = pprt8 | |
1655 | ww8.Part0 = pprt8 | |
1656 | ww8.Part1 = pprt1 | |
1657 | ww8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1658 | ww8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-2.5-5,0) | |
1659 | pprt9 = Instance.new("Part") | |
1660 | pprt9.formFactor = 3 | |
1661 | pprt9.CanCollide = false | |
1662 | pprt9.Name = "ExcaliburBlade" | |
1663 | pprt9.Locked = true | |
1664 | pprt9.Size = Vector3.new(0.2,10,1.5) | |
1665 | pprt9.Parent = swordholder | |
1666 | pprt9.BrickColor = BrickColor.new("Bright orange") | |
1667 | mm9 = Instance.new("BlockMesh",pprt9) | |
1668 | mm9.Scale = Vector3.new(0.9,1,1) | |
1669 | ww9 = Instance.new("Weld") | |
1670 | ww9.Parent = pprt9 | |
1671 | ww9.Part0 = pprt9 | |
1672 | ww9.Part1 = pprt1 | |
1673 | ww9.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1674 | ww9.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-2.5-5,0) | |
1675 | pprt10 = Instance.new("Part") | |
1676 | pprt10.formFactor = 3 | |
1677 | pprt10.CanCollide = false | |
1678 | pprt10.Name = "ExcaliburTip" | |
1679 | pprt10.Locked = true | |
1680 | pprt10.Size = Vector3.new(0.2,0.75,2) | |
1681 | pprt10.Parent = swordholder | |
1682 | pprt10.BrickColor = BrickColor.new("Bright orange") | |
1683 | mm10 = Instance.new("SpecialMesh",pprt10) | |
1684 | mm10.Scale = Vector3.new(0.9,1,1) | |
1685 | mm10.MeshType = "Wedge" | |
1686 | ww10 = Instance.new("Weld") | |
1687 | ww10.Parent = pprt10 | |
1688 | ww10.Part0 = pprt10 | |
1689 | ww10.Part1 = pprt1 | |
1690 | ww10.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1691 | ww10.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) * CFrame.new(0,-12.5-1,-0.375) | |
1692 | pprt11 = Instance.new("Part") | |
1693 | pprt11.formFactor = 3 | |
1694 | pprt11.CanCollide = false | |
1695 | pprt11.Name = "ExcaliburTip" | |
1696 | pprt11.Locked = true | |
1697 | pprt11.Size = Vector3.new(0.2,0.75,2) | |
1698 | pprt11.Parent = swordholder | |
1699 | pprt11.BrickColor = BrickColor.new("Bright orange") | |
1700 | mm11 = Instance.new("SpecialMesh",pprt11) | |
1701 | mm11.Scale = Vector3.new(0.9,1,1) | |
1702 | mm11.MeshType = "Wedge" | |
1703 | ww11 = Instance.new("Weld") | |
1704 | ww11.Parent = pprt11 | |
1705 | ww11.Part0 = pprt11 | |
1706 | ww11.Part1 = pprt1 | |
1707 | ww11.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1708 | ww11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(180), math.rad(0)) * CFrame.new(0,-12.5-1,0.375) | |
1709 | pprt12 = Instance.new("Part") | |
1710 | pprt12.formFactor = 3 | |
1711 | pprt12.CanCollide = false | |
1712 | pprt12.Name = "ExcaliburTip" | |
1713 | pprt12.Locked = true | |
1714 | pprt12.Size = Vector3.new(0.2,0.5,2) | |
1715 | pprt12.Parent = swordholder | |
1716 | pprt12.BrickColor = BrickColor.new("Really red") | |
1717 | mm12 = Instance.new("SpecialMesh",pprt12) | |
1718 | mm12.Scale = Vector3.new(1,1,1) | |
1719 | mm12.MeshType = "Wedge" | |
1720 | ww12 = Instance.new("Weld") | |
1721 | ww12.Parent = pprt12 | |
1722 | ww12.Part0 = pprt12 | |
1723 | ww12.Part1 = pprt1 | |
1724 | ww12.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1725 | ww12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) * CFrame.new(0,-12.5-1,-0.25) | |
1726 | pprt13 = Instance.new("Part") | |
1727 | pprt13.formFactor = 3 | |
1728 | pprt13.CanCollide = false | |
1729 | pprt13.Name = "ExcaliburTip" | |
1730 | pprt13.Locked = true | |
1731 | pprt13.Size = Vector3.new(0.2,0.5,2) | |
1732 | pprt13.Parent = swordholder | |
1733 | pprt13.BrickColor = BrickColor.new("Really red") | |
1734 | mm13 = Instance.new("SpecialMesh",pprt13) | |
1735 | mm13.Scale = Vector3.new(1,1,1) | |
1736 | mm13.MeshType = "Wedge" | |
1737 | ww13 = Instance.new("Weld") | |
1738 | ww13.Parent = pprt13 | |
1739 | ww13.Part0 = pprt13 | |
1740 | ww13.Part1 = pprt1 | |
1741 | ww13.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1742 | ww13.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(180), math.rad(0)) * CFrame.new(0,-12.5-1,0.25) | |
1743 | pprt14 = Instance.new("Part") | |
1744 | pprt14.formFactor = 3 | |
1745 | pprt14.CanCollide = false | |
1746 | pprt14.Name = "ExcaliburBladeHitbox" | |
1747 | pprt14.Locked = true | |
1748 | pprt14.Size = Vector3.new(0.2,12,1.5) | |
1749 | pprt14.Parent = swordholder | |
1750 | pprt14.Transparency = 1 | |
1751 | ww14 = Instance.new("Weld") | |
1752 | ww14.Parent = pprt14 | |
1753 | ww14.Part0 = pprt14 | |
1754 | ww14.Part1 = pprt1 | |
1755 | ww14.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
1756 | ww14.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0,-8.5,0) | |
1757 | ||
1758 | ||
1759 | ||
1760 | ||
1761 | function unequipweld() | |
1762 | ||
1763 | end | |
1764 | ||
1765 | unequipweld() | |
1766 | ||
1767 | ||
1768 | ||
1769 | function equipweld() | |
1770 | ||
1771 | ||
1772 | end | |
1773 | ||
1774 | ||
1775 | ||
1776 | function ss(parent,p) --Slash | |
1777 | ||
1778 | local SlashSound = Instance.new("Sound") | |
1779 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
1780 | SlashSound.Parent = parent | |
1781 | SlashSound.Volume = .7 | |
1782 | SlashSound.Pitch = p | |
1783 | SlashSound.PlayOnRemove = true | |
1784 | coroutine.resume(coroutine.create(function() | |
1785 | wait() | |
1786 | SlashSound.Parent = nil | |
1787 | end)) | |
1788 | end | |
1789 | function uss(parent,p) --unsheath | |
1790 | ||
1791 | local SlashSound = Instance.new("Sound") | |
1792 | SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
1793 | SlashSound.Parent = parent | |
1794 | SlashSound.Volume = .7 | |
1795 | SlashSound.Pitch = p | |
1796 | SlashSound.PlayOnRemove = true | |
1797 | coroutine.resume(coroutine.create(function() | |
1798 | wait() | |
1799 | SlashSound.Parent = nil | |
1800 | end)) | |
1801 | end | |
1802 | function ms(parent,p) --Metal Cling Sound | |
1803 | ||
1804 | local SlashSound = Instance.new("Sound") | |
1805 | SlashSound.SoundId = "rbxasset://sounds\\metal.ogg" | |
1806 | SlashSound.Parent = parent | |
1807 | SlashSound.Volume = 1 | |
1808 | SlashSound.Pitch = p | |
1809 | SlashSound.PlayOnRemove = true | |
1810 | coroutine.resume(coroutine.create(function() | |
1811 | wait() | |
1812 | SlashSound.Parent = nil | |
1813 | end)) | |
1814 | end | |
1815 | ||
1816 | -- | |
1817 | -- | |
1818 | ||
1819 | function returndmg() | |
1820 | mindamage = omindamage | |
1821 | maxdamage = omaxdamage | |
1822 | crtmaxdamage = ocrtmaxdamage | |
1823 | end | |
1824 | ||
1825 | function subdmg(sub) | |
1826 | mindamage = omindamage - sub | |
1827 | maxdamage = omaxdamage - sub | |
1828 | crtmaxdamage = ocrtmaxdamage - sub | |
1829 | end | |
1830 | ||
1831 | function prcntdmg(sub) | |
1832 | mindamage = math.floor(omindamage - (omindamage*(sub/100))) | |
1833 | maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100))) | |
1834 | crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100))) | |
1835 | end | |
1836 | ||
1837 | function tagHumanoid(humanoid, player) | |
1838 | local creator_tag = Instance.new("ObjectValue") | |
1839 | creator_tag.Value = player | |
1840 | creator_tag.Name = "creator" | |
1841 | creator_tag.Parent = humanoid | |
1842 | end | |
1843 | ||
1844 | function untagHumanoid(humanoid) | |
1845 | if humanoid ~= nil then | |
1846 | local tag = humanoid:findFirstChild("creator") | |
1847 | if tag ~= nil then | |
1848 | tag.Parent = nil | |
1849 | end | |
1850 | end | |
1851 | end | |
1852 | ||
1853 | local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1854 | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1855 | end | |
1856 | ||
1857 | ||
1858 | ||
1859 | function equipanim() | |
1860 | attack = true | |
1861 | for i = 0.1 , 1 , 0.1 do | |
1862 | wait() | |
1863 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20*i), 0, math.rad(45*i)) | |
1864 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
1865 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20*i), 0, math.rad(-45*i)) | |
1866 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
1867 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(0, 0, math.rad(20*i)) | |
1868 | RWL.C1 = CFrame.new(1, 2, 0) | |
1869 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(0, 0, math.rad(-20*i)) | |
1870 | LWL.C1 = CFrame.new(-1, 2, 0) | |
1871 | end | |
1872 | attack = false | |
1873 | end | |
1874 | ||
1875 | ||
1876 | function damagesplat(dmg,hit,crit,blocked) | |
1877 | local mo = Instance.new("Model") | |
1878 | mo.Name = dmg | |
1879 | local pa = Instance.new("Part",mo) | |
1880 | pa.formFactor = 3 | |
1881 | pa.Size = Vector3.new(0.8,0.3,0.8) | |
1882 | if crit then | |
1883 | pa.BrickColor = BrickColor.new("New Yeller") | |
1884 | elseif not crit then | |
1885 | pa.BrickColor = BrickColor.new("Really red") | |
1886 | end | |
1887 | if blocked then pa.BrickColor = BrickColor.new("Really blue") end | |
1888 | pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0) | |
1889 | pa.Name = "Head" | |
1890 | local hah = Instance.new("Humanoid") | |
1891 | hah.Parent = mo | |
1892 | hah.MaxHealth = 0 | |
1893 | hah.Health = 0 | |
1894 | local bp = Instance.new("BodyPosition") | |
1895 | bp.P = 14000 | |
1896 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1897 | bp.position = hit.Position + Vector3.new(0, 5, 0) | |
1898 | coroutine.resume(coroutine.create(function() | |
1899 | wait() | |
1900 | mo.Parent = Character | |
1901 | bp.Parent = pa | |
1902 | wait(1.4) | |
1903 | mo:remove() | |
1904 | end)) | |
1905 | return pa | |
1906 | end | |
1907 | ||
1908 | function damage(hum,dmg,critornot) | |
1909 | local pa = damagesplat(dmg,hum.Torso,critornot) | |
1910 | hum:TakeDamage(dmg) | |
1911 | coroutine.resume(coroutine.create(function() | |
1912 | tagHumanoid(hum,Player) | |
1913 | wait(1) | |
1914 | untagHumanoid(hum) | |
1915 | end)) | |
1916 | return pa | |
1917 | ||
1918 | end | |
1919 | ||
1920 | function AddRage(add) | |
1921 | Rage = Rage + add | |
1922 | if Rage > MaxRage then | |
1923 | Rage = MaxRage | |
1924 | end | |
1925 | end | |
1926 | ||
1927 | function OT(hit) --Normal Damage | |
1928 | if Hitdeb == 1 then return end | |
1929 | if hit.Parent == nil then return end | |
1930 | local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then | |
1931 | if hum.Health <= 0 then return end | |
1932 | local critrandomizer = math.random(crtrate) | |
1933 | if critrandomizer ~= 1 then | |
1934 | local rndmdamage = math.random(mindamage,maxdamage) | |
1935 | damage(hum,rndmdamage,false) | |
1936 | elseif critrandomizer == 1 then | |
1937 | local rndmdamage = math.random(maxdamage,crtmaxdamage) | |
1938 | damage(hum,rndmdamage,true) | |
1939 | end | |
1940 | Hitdeb = 1 | |
1941 | end | |
1942 | end | |
1943 | ||
1944 | function OT2(hit) --Normal Damage | |
1945 | if Hitdeb2 == 1 then return end | |
1946 | if hit.Parent == nil then return end | |
1947 | local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then | |
1948 | if hum.Health <= 0 then return end | |
1949 | local critrandomizer = math.random(crtrate) | |
1950 | if critrandomizer ~= 1 then | |
1951 | local rndmdamage = math.random(mindamage,maxdamage)*2 | |
1952 | damage(hum,rndmdamage,false) | |
1953 | elseif critrandomizer == 1 then | |
1954 | local rndmdamage = math.random(maxdamage,crtmaxdamage)*2 | |
1955 | damage(hum,rndmdamage,true) | |
1956 | end | |
1957 | Hitdeb2 = 1 | |
1958 | end | |
1959 | end | |
1960 | ||
1961 | ||
1962 | function AoE(p,magnitude) | |
1963 | local c = game.Workspace:GetChildren(); | |
1964 | for i = 1, #c do | |
1965 | local hum = c[i]:findFirstChild("Humanoid") | |
1966 | if hum ~= nil and hum.Health ~= 0 then | |
1967 | local head = c[i]:findFirstChild("Head"); | |
1968 | if head ~= nil then | |
1969 | local mag = (head.Position - p).magnitude; | |
1970 | if mag <= magnitude and c[i].Name ~= Character.Name then | |
1971 | local foundd = false | |
1972 | for ii = 1 , #AoETrue do | |
1973 | if AoETrue[ii] == c[i].Name then | |
1974 | ||
1975 | foundd = true | |
1976 | end | |
1977 | end | |
1978 | if foundd then | |
1979 | ||
1980 | end | |
1981 | -- | |
1982 | if not foundd then | |
1983 | local critrandomizer = math.random(crtrate) | |
1984 | if critrandomizer ~= 1 then | |
1985 | local rndmdamage = math.random(mindamage,maxdamage) | |
1986 | damage(hum,rndmdamage,false) | |
1987 | elseif critrandomizer == 1 then | |
1988 | local rndmdamage = math.random(maxdamage,crtmaxdamage) | |
1989 | damage(hum,rndmdamage,true) | |
1990 | end | |
1991 | table.insert(AoETrue,c[i].Name) | |
1992 | end | |
1993 | end | |
1994 | end | |
1995 | end | |
1996 | end | |
1997 | for ii = 1 , #AoETrue do | |
1998 | table.remove(AoETrue,#AoETrue) | |
1999 | end | |
2000 | end | |
2001 | ||
2002 | -- | |
2003 | ||
2004 | ||
2005 | -- | |
2006 | ||
2007 | function effect(Color,Ref,LP,P1) | |
2008 | local effectsmsh = Instance.new("BlockMesh") | |
2009 | effectsmsh.Scale = Vector3.new(1,1,1) | |
2010 | effectsmsh.Name = "Mesh" | |
2011 | local effectsg = Instance.new("Part") | |
2012 | effectsg.formFactor = 3 | |
2013 | effectsg.CanCollide = false | |
2014 | effectsg.Name = "Eff" | |
2015 | effectsg.Locked = true | |
2016 | effectsg.Anchored = true | |
2017 | effectsg.Size = Vector3.new(0.2,1,0.2) | |
2018 | effectsg.Parent = bodyholder | |
2019 | effectsmsh.Parent = effectsg | |
2020 | effectsg.BrickColor = BrickColor.new(Color) | |
2021 | effectsg.Reflectance = Ref | |
2022 | local point1 = P1 | |
2023 | local mg = (LP.p - point1.p).magnitude | |
2024 | effectsg.Size = Vector3.new(0.2,mg,0.2) | |
2025 | effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0) | |
2026 | coroutine.resume(coroutine.create(function() | |
2027 | for i = 0 , 1 , 0.1 do | |
2028 | wait() | |
2029 | effectsg.Transparency = 1*i | |
2030 | effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i) | |
2031 | end | |
2032 | wait() | |
2033 | effectsg.Parent = nil | |
2034 | end)) | |
2035 | end | |
2036 | -- | |
2037 | ||
2038 | ||
2039 | con,con2,con3 = nil,nil,nil | |
2040 | conn,conn2,conn3 = nil,nil,nil | |
2041 | ||
2042 | function dmg1cnnct() | |
2043 | if con ~= nil then | |
2044 | con:disconnect() | |
2045 | Hitdeb = 0 | |
2046 | end | |
2047 | con = prt1.Touched:connect(OT) | |
2048 | con2 = prt7.Touched:connect(OT) | |
2049 | con3 = prt2.Touched:connect(OT) | |
2050 | end | |
2051 | ||
2052 | function dmg1dc() | |
2053 | if con ~= nil then | |
2054 | con:disconnect() | |
2055 | Hitdeb = 0 | |
2056 | end | |
2057 | if con2 ~= nil then | |
2058 | con2:disconnect() | |
2059 | Hitdeb = 0 | |
2060 | end | |
2061 | if con3 ~= nil then | |
2062 | con3:disconnect() | |
2063 | Hitdeb = 0 | |
2064 | end | |
2065 | end | |
2066 | ||
2067 | function dmg2cnnct() | |
2068 | if con ~= nil then | |
2069 | con:disconnect() | |
2070 | Hitdeb = 0 | |
2071 | end | |
2072 | conn = pprt14.Touched:connect(OT2) | |
2073 | conn2 = pprt1.Touched:connect(OT2) | |
2074 | end | |
2075 | ||
2076 | function dmg2dc() | |
2077 | if conn ~= nil then | |
2078 | conn:disconnect() | |
2079 | Hitdeb2 = 0 | |
2080 | end | |
2081 | if conn2 ~= nil then | |
2082 | conn2:disconnect() | |
2083 | Hitdeb2 = 0 | |
2084 | end | |
2085 | if conn3 ~= nil then | |
2086 | conn3:disconnect() | |
2087 | Hitdeb2 = 0 | |
2088 | end | |
2089 | end | |
2090 | ||
2091 | function rptddmg(value,des,inc) | |
2092 | coroutine.resume(coroutine.create(function() | |
2093 | repeat | |
2094 | wait(inc) | |
2095 | Hitdeb = 0 | |
2096 | until value == des | |
2097 | end)) | |
2098 | end | |
2099 | ||
2100 | function atktype(s,e) | |
2101 | coroutine.resume(coroutine.create(function () | |
2102 | attacktype = e | |
2103 | wait(0.25) | |
2104 | attacktype = s | |
2105 | end)) | |
2106 | end | |
2107 | ||
2108 | walking = false | |
2109 | jumping = false | |
2110 | Target = nil | |
2111 | ||
2112 | function Walk() | |
2113 | --if attack==true then return end | |
2114 | if walking then return end | |
2115 | for i = 0.1 , 1 , 0.1 do | |
2116 | if jumping then return end | |
2117 | wait() | |
2118 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20-40*i), 0, math.rad(45+20*i)) | |
2119 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2120 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20-40*i), 0, math.rad(-45-20*i)) | |
2121 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2122 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(20-10*i)) | |
2123 | RWL.C1 = CFrame.new(1, 2, 0) | |
2124 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(math.rad(-45*i), 0, math.rad(-20+10*i)) | |
2125 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2126 | end | |
2127 | repeat | |
2128 | for i = 0.1 , 1 , 0.1 do | |
2129 | if jumping then return end | |
2130 | wait() | |
2131 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-60-5*i), 0, math.rad(65)) | |
2132 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2133 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-60-5*i), 0, math.rad(-65)) | |
2134 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2135 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(math.rad(45-90*i), 0, math.rad(10)) | |
2136 | RWL.C1 = CFrame.new(1, 2, 0) | |
2137 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(math.rad(-45+90*i), 0, math.rad(-10)) | |
2138 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2139 | end | |
2140 | for i = 0.1 , 1 , 0.1 do | |
2141 | if jumping then return end | |
2142 | wait() | |
2143 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-65+5*i), 0, math.rad(65)) | |
2144 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2145 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-65+5*i), 0, math.rad(-65)) | |
2146 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2147 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(math.rad(-45+90*i), 0, math.rad(10)) | |
2148 | RWL.C1 = CFrame.new(1, 2, 0) | |
2149 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(math.rad(45-90*i), 0, math.rad(-10)) | |
2150 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2151 | end | |
2152 | until not walking or jumping | |
2153 | for i = 0.1 , 1 , 0.1 do | |
2154 | wait() | |
2155 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-60+40*i), 0, math.rad(65-20*i)) | |
2156 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2157 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-60+40*i), 0, math.rad(-65+20*i)) | |
2158 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2159 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(math.rad(45-45*i), 0, math.rad(10+10*i)) | |
2160 | RWL.C1 = CFrame.new(1, 2, 0) | |
2161 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(math.rad(-45+45*i), 0, math.rad(-10-10*i)) | |
2162 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2163 | end | |
2164 | end | |
2165 | ||
2166 | function Jump() | |
2167 | if attack==true then return end | |
2168 | if jumping then return end | |
2169 | jumping = true | |
2170 | Character.Humanoid.PlatformStand=false | |
2171 | Character.Humanoid.Jump=true | |
2172 | local vel = Instance.new("BodyVelocity",Torso) | |
2173 | vel.maxForce = Vector3.new(0,1,0) * math.huge | |
2174 | vel.P = vel.P * 5 | |
2175 | vel.velocity = Vector3.new(0,jump,0) | |
2176 | coroutine.resume(coroutine.create(function() | |
2177 | wait() wait() wait() wait() | |
2178 | vel.Parent=nil | |
2179 | end)) | |
2180 | for i = 0.1 , 1 , 0.1 do | |
2181 | wait() | |
2182 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20+200*i), 0, math.rad(45-20*i)) | |
2183 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2184 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20+200*i), 0, math.rad(-45+20*i)) | |
2185 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2186 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(math.rad(-10*i), 0, math.rad(20-10*i)) | |
2187 | RWL.C1 = CFrame.new(1, 2, 0) | |
2188 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(math.rad(-10*i), 0, math.rad(-20+10*i)) | |
2189 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2190 | end | |
2191 | wait(1) | |
2192 | for i = 0.1 , 1 , 0.1 do | |
2193 | wait() | |
2194 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(180-200*i), 0, math.rad(25+20*i)) | |
2195 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2196 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(180-200*i), 0, math.rad(-25-20*i)) | |
2197 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2198 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(math.rad(-10+10*i), 0, math.rad(10+10*i)) | |
2199 | RWL.C1 = CFrame.new(1, 2, 0) | |
2200 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(math.rad(-10+10*i), 0, math.rad(-10-10*i)) | |
2201 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2202 | end | |
2203 | jumping = false | |
2204 | end | |
2205 | ||
2206 | function NaginataSpin() | |
2207 | attack = true | |
2208 | dmg1cnnct() | |
2209 | local LastPoint = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2210 | ss(Head,math.random()) | |
2211 | for i = 0.1 , 1 , 0.1 do | |
2212 | wait() | |
2213 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(45)) | |
2214 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2215 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20+110*i), 0, math.rad(-45+35*i)) | |
2216 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2217 | w1.C0 = CFrame.Angles(math.rad(100+20*i), math.rad(90*i), math.rad(0)) * CFrame.new(0, 0, 0) | |
2218 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2219 | effect("White",0.5,LastPoint,Point) | |
2220 | LastPoint = Point | |
2221 | end | |
2222 | Hitdeb2 = 0 | |
2223 | for i = 0.1 , 1 , 0.1 do | |
2224 | wait() | |
2225 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(45)) | |
2226 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2227 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-10+20*i)) | |
2228 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2229 | w1.C0 = CFrame.Angles(math.rad(120), math.rad(90+360*i), math.rad(0)) * CFrame.new(0, 0, 0) | |
2230 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2231 | effect("White",0.5,LastPoint,Point) | |
2232 | LastPoint = Point | |
2233 | end | |
2234 | Hitdeb2 = 0 | |
2235 | for i = 0.15 , 1 , 0.15 do | |
2236 | wait() | |
2237 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(45)) | |
2238 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2239 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(90), 0, math.rad(10-10*i)) | |
2240 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2241 | w1.C0 = CFrame.Angles(math.rad(120), math.rad(90+270*i), math.rad(0)) * CFrame.new(0, 0, 0) | |
2242 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2243 | effect("White",0.5,LastPoint,Point) | |
2244 | LastPoint = Point | |
2245 | end | |
2246 | dmg1dc() | |
2247 | for i = 0.1 , 1 , 0.1 do | |
2248 | wait() | |
2249 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(45)) | |
2250 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2251 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(90-110*i), 0, math.rad(-45*i)) | |
2252 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2253 | w1.C0 = CFrame.Angles(math.rad(120-20*i), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2254 | end | |
2255 | wait(0.2) | |
2256 | attack = false | |
2257 | end | |
2258 | ||
2259 | function DualThrust() | |
2260 | attack = true | |
2261 | ss(Head,math.random()) | |
2262 | dmg1cnnct() | |
2263 | dmg2cnnct() | |
2264 | for i = 0.1 , 1 , 0.1 do | |
2265 | wait() | |
2266 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20+90*i), 0, math.rad(45-65*i)) | |
2267 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2268 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20+90*i), 0, math.rad(-45+65*i)) | |
2269 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2270 | w1.C0 = CFrame.Angles(math.rad(100+80*i), math.rad(0), math.rad(0)) * CFrame.new(0, 5*i, 0) | |
2271 | ww1.C0 = CFrame.Angles(math.rad(90+90*i), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2272 | end | |
2273 | local LastPoint = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2274 | local LastPoint2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2275 | for i = 0.2 , 1 , 0.2 do | |
2276 | wait() | |
2277 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-20+110*i)) | |
2278 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2279 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(70), 0, math.rad(20-110*i)) | |
2280 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2281 | w1.C0 = CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) * CFrame.new(0, 5, 0) | |
2282 | ww1.C0 = CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2283 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2284 | effect("Bright violet",0.5,LastPoint,Point) | |
2285 | LastPoint = Point | |
2286 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2287 | effect("Really red",0.5,LastPoint2,Point2) | |
2288 | LastPoint2 = Point2 | |
2289 | end | |
2290 | for i = 0.2 , 1 , 0.2 do | |
2291 | wait() | |
2292 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(70), 0, math.rad(90+10*i)) | |
2293 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2294 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-90-10*i)) | |
2295 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2296 | w1.C0 = CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) * CFrame.new(0, 5, 0) | |
2297 | ww1.C0 = CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2298 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2299 | effect("Bright violet",0.5,LastPoint,Point) | |
2300 | LastPoint = Point | |
2301 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2302 | effect("Really red",0.5,LastPoint2,Point2) | |
2303 | LastPoint2 = Point2 | |
2304 | end | |
2305 | dmg1dc() | |
2306 | dmg2dc() | |
2307 | for i = 0.1 , 1 , 0.1 do | |
2308 | wait() | |
2309 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(70-90*i), 0, math.rad(100-55*i)) | |
2310 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2311 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(70-90*i), 0, math.rad(-100+55*i)) | |
2312 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2313 | w1.C0 = CFrame.Angles(math.rad(180-80*i), math.rad(0), math.rad(0)) * CFrame.new(0, 5-5*i, 0) | |
2314 | ww1.C0 = CFrame.Angles(math.rad(180-90*i), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2315 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2316 | effect("Bright violet",0.5,LastPoint,Point) | |
2317 | LastPoint = Point | |
2318 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2319 | effect("Really red",0.5,LastPoint2,Point2) | |
2320 | LastPoint2 = Point2 | |
2321 | end | |
2322 | wait(0.5) | |
2323 | attack = false | |
2324 | end | |
2325 | ||
2326 | function Slash1() | |
2327 | attack = true | |
2328 | ss(Head,math.random()) | |
2329 | dmg1cnnct() | |
2330 | dmg2cnnct() | |
2331 | for i = 0.2 , 1 , 0.2 do | |
2332 | wait() | |
2333 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20+220*i), 0, math.rad(45-65*i)) | |
2334 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2335 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20+220*i), 0, math.rad(-45+65*i)) | |
2336 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2337 | w1.C0 = CFrame.Angles(math.rad(100), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2338 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2339 | end | |
2340 | local LastPoint = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2341 | local LastPoint2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2342 | for i = 0.2 , 1 , 0.2 do | |
2343 | wait() | |
2344 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(200+10*i), 0, math.rad(-20)) | |
2345 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2346 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(200+10*i), 0, math.rad(20)) | |
2347 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2348 | w1.C0 = CFrame.Angles(math.rad(100), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2349 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2350 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2351 | effect("Bright violet",0.5,LastPoint,Point) | |
2352 | LastPoint = Point | |
2353 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2354 | effect("Really red",0.5,LastPoint2,Point2) | |
2355 | LastPoint2 = Point2 | |
2356 | end | |
2357 | Hitdeb = 0 | |
2358 | Hitdeb2 = 0 | |
2359 | for i = 0.1 , 1 , 0.1 do | |
2360 | wait() | |
2361 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(210-220*i), 0, math.rad(-20-20*i)) | |
2362 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2363 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(210-220*i), 0, math.rad(20+20*i)) | |
2364 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2365 | w1.C0 = CFrame.Angles(math.rad(100), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2366 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2367 | local Point = prt4.CFrame * CFrame.new(0,prt4.Size.Y/-2,0) | |
2368 | effect("Bright violet",0.5,LastPoint,Point) | |
2369 | LastPoint = Point | |
2370 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2371 | effect("Really red",0.5,LastPoint2,Point2) | |
2372 | LastPoint2 = Point2 | |
2373 | end | |
2374 | for i = 0.1 , 1 , 0.1 do | |
2375 | wait() | |
2376 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-10-10*i), 0, math.rad(-40+85*i)) | |
2377 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2378 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-10-10*i), 0, math.rad(40-85*i)) | |
2379 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2380 | w1.C0 = CFrame.Angles(math.rad(100), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2381 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2382 | end | |
2383 | dmg2dc() | |
2384 | dmg1dc() | |
2385 | attack = false | |
2386 | end | |
2387 | ||
2388 | function Slash2() | |
2389 | attack = true | |
2390 | ss(Head,math.random()) | |
2391 | dmg2cnnct() | |
2392 | for i = 0.2 , 1 , 0.2 do | |
2393 | wait() | |
2394 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20+90*i), 0, math.rad(45+45*i)) | |
2395 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.rad(90*i), 0) | |
2396 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2397 | end | |
2398 | local LastPoint2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2399 | Hitdeb2 = 0 | |
2400 | for i = 0.1 , 1 , 0.1 do | |
2401 | wait() | |
2402 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(70), 0, math.rad(90-140*i)) | |
2403 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.rad(90), 0) | |
2404 | ww1.C0 = CFrame.Angles(math.rad(90+130*i), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2405 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2406 | effect("Really red",0.5,LastPoint2,Point2) | |
2407 | LastPoint2 = Point2 | |
2408 | end | |
2409 | Hitdeb2 = 0 | |
2410 | for i = 0.1 , 1 , 0.2 do | |
2411 | wait() | |
2412 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(70+10*i), 0, math.rad(90-140)) | |
2413 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.rad(90), 0) | |
2414 | ww1.C0 = CFrame.Angles(math.rad(90+130), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2415 | end | |
2416 | ss(Head,math.random()) | |
2417 | for i = 0.1 , 1 , 0.2 do | |
2418 | wait() | |
2419 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(80), 0, math.rad(90-140+140*i)) | |
2420 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.rad(90), 0) | |
2421 | ww1.C0 = CFrame.Angles(math.rad(90+130-130*i), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2422 | local Point2 = pprt14.CFrame * CFrame.new(0,pprt14.Size.Y/2,0) | |
2423 | effect("Really red",0.5,LastPoint2,Point2) | |
2424 | LastPoint2 = Point2 | |
2425 | end | |
2426 | dmg2dc() | |
2427 | for i = 0.1 , 1 , 0.1 do | |
2428 | wait() | |
2429 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(80-100*i), 0, math.rad(90-45*i)) | |
2430 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, math.rad(90-90*i), 0) | |
2431 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2432 | end | |
2433 | attack = false | |
2434 | end | |
2435 | ||
2436 | ||
2437 | ||
2438 | ||
2439 | function returnwelds() | |
2440 | RW.C0 = CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(45)) | |
2441 | RW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2442 | LW.C0 = CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-45)) | |
2443 | LW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
2444 | RWL.C0 = CFrame.new(2, -2, 0) * CFrame.Angles(0, 0, math.rad(20)) | |
2445 | RWL.C1 = CFrame.new(1, 2, 0) | |
2446 | LWL.C0 = CFrame.new(-2, -2, 0) * CFrame.Angles(0, 0, math.rad(-20)) | |
2447 | LWL.C1 = CFrame.new(-1, 2, 0) | |
2448 | w1.C0 = CFrame.Angles(math.rad(100), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2449 | ww1.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) * CFrame.new(0, 0, 0) | |
2450 | Neck.C0 = CFrame.new(0, 2, 0) * CFrame.Angles(0, 0, 0) | |
2451 | end | |
2452 | ||
2453 | ||
2454 | function Attackk(mag) | |
2455 | if attack then return end | |
2456 | if mag <= 8 then | |
2457 | local rndm = math.random(1,3) | |
2458 | if rndm == 1 then | |
2459 | NaginataSpin() | |
2460 | elseif rndm == 2 then | |
2461 | Slash1() | |
2462 | elseif rndm == 3 then | |
2463 | Slash2() | |
2464 | end | |
2465 | elseif mag > 8 then | |
2466 | local rndm = math.random(1,1) | |
2467 | if rndm == 1 then | |
2468 | DualThrust() | |
2469 | end | |
2470 | end | |
2471 | end | |
2472 | ||
2473 | local BG = Instance.new("BodyGyro",Torso) | |
2474 | BG.cframe = Torso.CFrame | |
2475 | BG.maxTorque = Vector3.new(0, math.huge,0) | |
2476 | BGSpin = 0 | |
2477 | ||
2478 | function FindTarget() | |
2479 | local c = game.Workspace:GetChildren(); | |
2480 | local nearestmag = 1500 | |
2481 | local nearestprsn = nil | |
2482 | for i = 1, #c do | |
2483 | local hum = c[i]:findFirstChild("Humanoid") | |
2484 | if hum ~= nil and hum.Health ~= 0 then | |
2485 | local head = c[i]:findFirstChild("Head"); | |
2486 | if head ~= nil then | |
2487 | local mag = (head.Position - Torso.Position).magnitude; | |
2488 | if mag <= 1500 and c[i].Name ~= Character.Name then | |
2489 | if mag < nearestmag then | |
2490 | nearestmag = mag | |
2491 | nearestprsn = c[i] | |
2492 | end | |
2493 | end | |
2494 | end | |
2495 | end | |
2496 | end | |
2497 | Target = nearestprsn | |
2498 | end | |
2499 | ||
2500 | ||
2501 | ||
2502 | ||
2503 | local Humanoid = Instance.new("Humanoid",bodyholder) | |
2504 | Humanoid.MaxHealth = HP | |
2505 | ||
2506 | equipanim() | |
2507 | wait(1) | |
2508 | coroutine.resume(coroutine.create(function(Hum) | |
2509 | for i=1,30 do | |
2510 | wait() | |
2511 | Hum.MaxHealth=2000 | |
2512 | Hum.Health=2000 | |
2513 | end | |
2514 | end),Humanoid) | |
2515 | bodyholder:MakeJoints() | |
2516 | Humanoid.Health = HP | |
2517 | Humanoid.WalkSpeed = WS | |
2518 | wait(1) | |
2519 | bodyholder.Torso.CFrame = CFrame.new(SpawnPos.Value) | |
2520 | Humanoid.Health = HP | |
2521 | script.Parent = Character | |
2522 | ||
2523 | ||
2524 | ||
2525 | repeat | |
2526 | wait(0.1) | |
2527 | Humanoid.Sit=false | |
2528 | Humanoid.PlatformStand=false | |
2529 | FindTarget() | |
2530 | if Target ~= nil then | |
2531 | BG.cframe = CFrame.new(Torso.Position,Target.Torso.Position) * CFrame.Angles(0,math.rad(BGSpin),0) | |
2532 | local mag = (Torso.Position-Target.Torso.Position).magnitude | |
2533 | if mag <= 20 then | |
2534 | Attackk(mag) | |
2535 | end | |
2536 | -- | |
2537 | pcall(function() | |
2538 | local pos4 = Vector3.new(Target.Torso.Position.x,bodyholder.Torso.Position.Y,Target.Torso.Position.z) | |
2539 | bg.cframe = CFrame.new(bodyholder.Torso.Position,pos4) | |
2540 | Humanoid:MoveTo(Target.Torso.Position + CFrame.new(Torso.Position,Target.Torso.Position).lookVector * -6,Target.Torso) | |
2541 | end) | |
2542 | if Target.Torso.Position.y > Torso.Position.y+5 then | |
2543 | coroutine.resume(coroutine.create(Jump)) | |
2544 | end | |
2545 | -- | |
2546 | else | |
2547 | BG.cframe = Torso.cframe | |
2548 | Humanoid:MoveTo(Torso.Position,Torso) | |
2549 | end | |
2550 | if true then | |
2551 | if (Torso.Velocity * Vector3.new(1,0,1)).magnitude > 2 then | |
2552 | --coroutine.resume(coroutine.create(Walk)) | |
2553 | walking = true | |
2554 | elseif (Torso.Velocity * Vector3.new(1,0,1)).magnitude < 2 then | |
2555 | walking = false | |
2556 | end | |
2557 | else | |
2558 | walking = false | |
2559 | end | |
2560 | until Humanoid.Health <= 0 | |
2561 | ||
2562 | wait(5) | |
2563 | Character.Parent = nil--mediafire |