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