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