SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Technomancer MiniBoss ]] | |
3 | ||
4 | ModelName = "Technomancer" | |
5 | attack = false | |
6 | attacktype = 1 | |
7 | Hitdeb = 0 | |
8 | Hitdeb2 = 0 | |
9 | - | name = "UilmateGate" |
9 | + | name = "eliteslayer816" |
10 | ---------------------------- | |
11 | --Customize mediafire | |
12 | booster1 = false | |
13 | booster2 = false | |
14 | booster3 = false | |
15 | booster4 = false | |
16 | booster5 = false | |
17 | booster6 = false | |
18 | booster7 = false | |
19 | booster8 = false | |
20 | booster9 = false | |
21 | time1 = false | |
22 | time2 = false | |
23 | time3 = false | |
24 | time4 = false | |
25 | time5 = false | |
26 | time6 = false | |
27 | time7 = false | |
28 | time8 = false | |
29 | time9 = false | |
30 | clocker = 0 | |
31 | Rage = 0 | |
32 | Rage = 200 | |
33 | mindamage = 5 | |
34 | maxdamage = 40 | |
35 | crtmaxdamage = 40 | |
36 | combo = 0 | |
37 | omindamage = mindamage | |
38 | omaxdamage = maxdamage | |
39 | ocrtmaxdamage = crtmaxdamage | |
40 | crtrate = 100/5 | |
41 | HP = 2000 | |
42 | WS = 8 | |
43 | jump = 50 | |
44 | --100%/critpercentage | |
45 | attack = false | |
46 | comboing = false | |
47 | oblkbrkr = 3 | |
48 | blockbreaker = oblkbrkr | |
49 | timer = 0 | |
50 | handlecolor = BrickColor.new("Black") | |
51 | bcolor = BrickColor.new("White") | |
52 | gemcolor = BrickColor.new("Black") | |
53 | ||
54 | ||
55 | ||
56 | ------------------------------------------------------------------------------------------------------------------------------------- | |
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | if game.Workspace:findFirstChild(ModelName,true) ~= nil then | |
63 | game.Workspace:findFirstChild(ModelName,true).Parent = nil | |
64 | end | |
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | local bodyholder = Instance.new("Model") | |
72 | bodyholder.Name = ModelName | |
73 | bodyholder.Parent = game.Workspace | |
74 | Character = bodyholder | |
75 | ||
76 | ev = Instance.new("BoolValue",bodyholder) | |
77 | ev.Name = "EquippedVal" | |
78 | ev.Value = false | |
79 | blk = Instance.new("BoolValue",bodyholder) | |
80 | blk.Name = "Block" | |
81 | blk.Value = false | |
82 | blkc = Instance.new("IntValue",blk) | |
83 | blkc.Name = "BlockPower" | |
84 | blkc.Value = blockpower | |
85 | SpawnPos = Instance.new("Vector3Value",script) | |
86 | SpawnPos.Name = "SpawnPos" | |
87 | SpawnPos.Value = game.Workspace[name].Head.Position--Vector3.new(20,10,0) | |
88 | ||
89 | local Head = Instance.new("Part") | |
90 | Head.formFactor = 3 | |
91 | Head.CanCollide = true | |
92 | Head.Name = "Head" | |
93 | Head.Locked = true | |
94 | Head.Size = Vector3.new(2,1,1) | |
95 | Head.Parent = bodyholder | |
96 | Head.BrickColor = BrickColor.new("Bright yellow") | |
97 | local smh = Instance.new("SpecialMesh",Head) | |
98 | smh.Scale = Vector3.new(1.25,1.25,1.25) | |
99 | local Torso = Instance.new("Part") | |
100 | Torso.formFactor = 3 | |
101 | Torso.CanCollide = true | |
102 | Torso.Name = "Torso" | |
103 | Torso.Locked = true | |
104 | Torso.Size = Vector3.new(2,2,1) | |
105 | Torso.Parent = bodyholder | |
106 | Torso.BrickColor = BrickColor.new("Black") | |
107 | Torso.Reflectance = 0.1 | |
108 | Torso.CFrame = CFrame.new(SpawnPos.Value) | |
109 | local RightArm = Instance.new("Part") | |
110 | RightArm.formFactor = 3 | |
111 | RightArm.CanCollide = true | |
112 | RightArm.Name = "Right Arm" | |
113 | RightArm.Locked = true | |
114 | RightArm.Size = Vector3.new(1,2,1) | |
115 | RightArm.Parent = bodyholder | |
116 | RightArm.BrickColor = BrickColor.new("Black") | |
117 | local LeftArm = Instance.new("Part") | |
118 | LeftArm.formFactor = 3 | |
119 | LeftArm.CanCollide = true | |
120 | LeftArm.Name = "Left Arm" | |
121 | LeftArm.Locked = true | |
122 | LeftArm.Size = Vector3.new(1,2,1) | |
123 | LeftArm.Parent = bodyholder | |
124 | LeftArm.BrickColor = BrickColor.new("Black") | |
125 | local RightLeg = Instance.new("Part") | |
126 | RightLeg.formFactor = 3 | |
127 | RightLeg.CanCollide = true | |
128 | RightLeg.Name = "Right Leg" | |
129 | RightLeg.Locked = true | |
130 | RightLeg.Size = Vector3.new(1,2,1) | |
131 | RightLeg.Parent = bodyholder | |
132 | RightLeg.BrickColor = BrickColor.new("Black") | |
133 | local LeftLeg = Instance.new("Part") | |
134 | LeftLeg.formFactor = 3 | |
135 | LeftLeg.CanCollide = true | |
136 | LeftLeg.Name = "Left Leg" | |
137 | LeftLeg.Locked = true | |
138 | LeftLeg.Size = Vector3.new(1,2,1) | |
139 | LeftLeg.Parent = bodyholder | |
140 | LeftLeg.BrickColor = BrickColor.new("Black") | |
141 | ||
142 | local hair = Instance.new("Part") | |
143 | hair.formFactor = "Plate" | |
144 | hair.CanCollide = false | |
145 | hair.Locked = true | |
146 | hair.Size = Vector3.new(1,0.8,1) | |
147 | hair.Parent = bodyholder | |
148 | local hm = Instance.new("SpecialMesh") | |
149 | hm.Parent = hair | |
150 | hm.MeshType = "FileMesh" | |
151 | hm.MeshId = "http://www.roblox.com/asset/?id=111787475" | |
152 | hm.TextureId = "http://www.roblox.com/asset/?id=111787686" | |
153 | hm.Scale = Vector3.new(2.5, 2.5, 2.5) | |
154 | local wh = Instance.new("Weld") | |
155 | wh.Parent = hair | |
156 | wh.Part0 = hair | |
157 | wh.Part1 = Head | |
158 | wh.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0, 0) | |
159 | wh.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
160 | ||
161 | local LAmsh = Instance.new("CharacterMesh") | |
162 | LAmsh.MeshId = "111777907" | |
163 | LAmsh.OverlayTextureId = "111778050" | |
164 | LAmsh.BodyPart = "LeftArm" | |
165 | LAmsh.Parent = bodyholder | |
166 | ||
167 | local LLmsh = Instance.new("CharacterMesh") | |
168 | LLmsh.MeshId = "111777942" | |
169 | LLmsh.OverlayTextureId = "111778050" | |
170 | LLmsh.BodyPart = "LeftLeg" | |
171 | LLmsh.Parent = bodyholder | |
172 | ||
173 | local RAmsh = Instance.new("CharacterMesh") | |
174 | RAmsh.MeshId = "111777972" | |
175 | RAmsh.OverlayTextureId = "111778050" | |
176 | RAmsh.BodyPart = "RightArm" | |
177 | RAmsh.Parent = bodyholder | |
178 | ||
179 | local RLmsh = Instance.new("CharacterMesh") | |
180 | RLmsh.MeshId = "111778023" | |
181 | RLmsh.OverlayTextureId = "111778050" | |
182 | RLmsh.BodyPart = "RightLeg" | |
183 | RLmsh.Parent = bodyholder | |
184 | ||
185 | local Tmsh = Instance.new("CharacterMesh") | |
186 | Tmsh.MeshId = "111777866" | |
187 | Tmsh.OverlayTextureId = "111778050" | |
188 | Tmsh.BodyPart = "Torso" | |
189 | Tmsh.Parent = bodyholder | |
190 | --player | |
191 | player = nil | |
192 | --welds | |
193 | RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld") | |
194 | --what anim | |
195 | anim = "none" | |
196 | --save shoulders | |
197 | AoETrue = {} | |
198 | Neck = Instance.new("Motor") | |
199 | ||
200 | ||
201 | ||
202 | ||
203 | --derp | |
204 | RW.Part0 = Character.Torso | |
205 | RW.Part1 = Character["Right Arm"] | |
206 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
207 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
208 | RW.Parent = bodyholder | |
209 | -- | |
210 | LW.Part0 = Character.Torso | |
211 | LW.Part1 = Character["Left Arm"] | |
212 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
213 | LW.C1 = CFrame.new(0, 0.5, 0) | |
214 | LW.Parent = bodyholder | |
215 | -- | |
216 | RWL.Part0 = Character.Torso | |
217 | RWL.Part1 = Character["Right Leg"] | |
218 | RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0) | |
219 | RWL.C1 = CFrame.new(0.5, 1, 0) | |
220 | RWL.Parent = bodyholder | |
221 | -- | |
222 | LWL.Part0 = Character.Torso | |
223 | LWL.Part1 = Character["Left Leg"] | |
224 | LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0) | |
225 | LWL.C1 = CFrame.new(-0.5, 1, 0) | |
226 | LWL.Parent = bodyholder | |
227 | -- | |
228 | Neck.Part0 = Character.Torso | |
229 | Neck.Part1 = Character.Head | |
230 | Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0) | |
231 | Neck.C1 = CFrame.new(0, -0.5, 0) | |
232 | Neck.Parent = bodyholder | |
233 | necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
234 | ---- | |
235 | ||
236 | -- | |
237 | ||
238 | RAP = Instance.new("Part") | |
239 | RAP.formFactor = 0 | |
240 | RAP.CanCollide = false | |
241 | RAP.Name = "RAPart" | |
242 | RAP.Locked = true | |
243 | RAP.Size = Vector3.new(1,1,1) | |
244 | RAP.Parent = bodyholder | |
245 | RAP.Transparency = 1 | |
246 | w = Instance.new("Weld") | |
247 | w.Parent = RAP | |
248 | w.Part0 = RAP | |
249 | w.Part1 = RightArm | |
250 | w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
251 | w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 2, 0) | |
252 | LAP = Instance.new("Part") | |
253 | LAP.formFactor = 0 | |
254 | LAP.CanCollide = false | |
255 | LAP.Name = "LAPart" | |
256 | LAP.Locked = true | |
257 | LAP.Size = Vector3.new(1,1,1) | |
258 | LAP.Parent = bodyholder | |
259 | LAP.Transparency = 1 | |
260 | wl = Instance.new("Weld") | |
261 | wl.Parent = LAP | |
262 | wl.Part0 = LAP | |
263 | wl.Part1 = LeftArm | |
264 | wl.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) | |
265 | wl.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 2, 0) | |
266 | ||
267 | swordholder = Instance.new("Model") | |
268 | swordholder.Name = "Weapon" | |
269 | swordholder.Parent = bodyholder | |
270 | ||
271 | local prt1 = Instance.new("Part") | |
272 | prt1.formFactor = 1 | |
273 | prt1.Parent = swordholder | |
274 | prt1.CanCollide = false | |
275 | prt1.BrickColor = BrickColor.new("Really black") | |
276 | prt1.Name = "Part1" | |
277 | prt1.Transparency = 0.4 | |
278 | prt1.Size = Vector3.new(1,1,1) | |
279 | prt1.Position = Torso.Position | |
280 | local prt2 = Instance.new("Part") | |
281 | prt2.formFactor = 1 | |
282 | prt2.Parent = swordholder | |
283 | prt2.CanCollide = false | |
284 | prt2.BrickColor = BrickColor.new("Bright red") | |
285 | prt2.Name = "Part2" | |
286 | prt2.Transparency = 0.4 | |
287 | prt2.Size = Vector3.new(1,1,1) | |
288 | prt2.Position = Torso.Position | |
289 | local prt3 = Instance.new("Part") | |
290 | prt3.formFactor = 1 | |
291 | prt3.Parent = swordholder | |
292 | prt3.CanCollide = false | |
293 | prt3.BrickColor = BrickColor.new("Really black") | |
294 | prt3.Name = "Part3" | |
295 | prt3.Transparency = 0.4 | |
296 | prt3.Size = Vector3.new(1,1,1) | |
297 | prt3.Position = Torso.Position | |
298 | local prt4 = Instance.new("Part") | |
299 | prt4.formFactor = 1 | |
300 | prt4.Parent = swordholder | |
301 | prt4.CanCollide = false | |
302 | prt4.BrickColor = BrickColor.new("Bright red") | |
303 | prt4.Name = "Part4" | |
304 | prt4.Transparency = 0.4 | |
305 | prt4.Size = Vector3.new(1,1,1) | |
306 | prt4.Position = Torso.Position | |
307 | local prt5 = Instance.new("Part") | |
308 | prt5.formFactor = 1 | |
309 | prt5.Parent = swordholder | |
310 | prt5.CanCollide = false | |
311 | prt5.BrickColor = BrickColor.new("Really black") | |
312 | prt5.Name = "Part5" | |
313 | prt5.Transparency = 0.4 | |
314 | prt5.Size = Vector3.new(1,1,1) | |
315 | prt5.Position = Torso.Position | |
316 | local prt6 = Instance.new("Part") | |
317 | prt6.formFactor = 1 | |
318 | prt6.Parent = swordholder | |
319 | prt6.CanCollide = false | |
320 | prt6.BrickColor = BrickColor.new("Bright red") | |
321 | prt6.Name = "Part6" | |
322 | prt6.Transparency = 0.4 | |
323 | prt6.Size = Vector3.new(1,1,1) | |
324 | prt6.Position = Torso.Position | |
325 | local prt7 = Instance.new("Part") | |
326 | prt7.formFactor = 1 | |
327 | prt7.Parent = swordholder | |
328 | prt7.CanCollide = false | |
329 | prt7.BrickColor = BrickColor.new("Really black") | |
330 | prt7.Name = "Part7" | |
331 | prt7.Transparency = 0.4 | |
332 | prt7.Size = Vector3.new(1,1,1) | |
333 | prt7.Position = Torso.Position | |
334 | local prt8 = Instance.new("Part") | |
335 | prt8.formFactor = 1 | |
336 | prt8.Parent = swordholder | |
337 | prt8.CanCollide = false | |
338 | prt8.BrickColor = BrickColor.new("Bright red") | |
339 | prt8.Name = "Part8" | |
340 | prt8.Transparency = 0.4 | |
341 | prt8.Size = Vector3.new(1,1,1) | |
342 | prt8.Position = Torso.Position | |
343 | swordholder:BreakJoints() | |
344 | ||
345 | local msh1 = Instance.new("BlockMesh") | |
346 | msh1.Parent = prt1 | |
347 | msh1.Scale = Vector3.new(0.5,1,0.5) | |
348 | local msh2 = Instance.new("BlockMesh") | |
349 | msh2.Parent = prt2 | |
350 | msh2.Scale = Vector3.new(0.5,1,0.5) | |
351 | local msh3 = Instance.new("BlockMesh") | |
352 | msh3.Parent = prt3 | |
353 | msh3.Scale = Vector3.new(0.5,1,0.5) | |
354 | local msh4 = Instance.new("BlockMesh") | |
355 | msh4.Parent = prt4 | |
356 | msh4.Scale = Vector3.new(0.5,1,0.5) | |
357 | local msh5 = Instance.new("BlockMesh") | |
358 | msh5.Parent = prt5 | |
359 | msh5.Scale = Vector3.new(0.5,1,0.5) | |
360 | local msh6 = Instance.new("BlockMesh") | |
361 | msh6.Parent = prt6 | |
362 | msh6.Scale = Vector3.new(0.5,1,0.5) | |
363 | local msh7 = Instance.new("BlockMesh") | |
364 | msh7.Parent = prt7 | |
365 | msh7.Scale = Vector3.new(0.5,1,0.5) | |
366 | local msh8 = Instance.new("BlockMesh") | |
367 | msh8.Parent = prt8 | |
368 | msh8.Scale = Vector3.new(0.5,1,0.5) | |
369 | local w1 = Instance.new("Weld") | |
370 | w1.Parent = prt1 | |
371 | w1.Part0 = prt1 | |
372 | w1.Part1 = Torso | |
373 | w1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
374 | local w2 = Instance.new("Weld") | |
375 | w2.Parent = prt2 | |
376 | w2.Part0 = prt2 | |
377 | w2.Part1 = Torso | |
378 | w2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
379 | local w3 = Instance.new("Weld") | |
380 | w3.Parent = prt3 | |
381 | w3.Part0 = prt3 | |
382 | w3.Part1 = Torso | |
383 | w3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
384 | local w4 = Instance.new("Weld") | |
385 | w4.Parent = prt4 | |
386 | w4.Part0 = prt4 | |
387 | w4.Part1 = Torso | |
388 | w4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
389 | local w5 = Instance.new("Weld") | |
390 | w5.Parent = prt5 | |
391 | w5.Part0 = prt5 | |
392 | w5.Part1 = Torso | |
393 | w5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
394 | local w6 = Instance.new("Weld") | |
395 | w6.Parent = prt6 | |
396 | w6.Part0 = prt6 | |
397 | w6.Part1 = Torso | |
398 | w6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
399 | local w7 = Instance.new("Weld") | |
400 | w7.Parent = prt7 | |
401 | w7.Part0 = prt7 | |
402 | w7.Part1 = Torso | |
403 | w7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
404 | local w8 = Instance.new("Weld") | |
405 | w8.Parent = prt8 | |
406 | w8.Part0 = prt8 | |
407 | w8.Part1 = Torso | |
408 | w8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
409 | local gairo = Instance.new("BodyGyro") | |
410 | gairo.Parent = nil | |
411 | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
412 | gairo.P = 20e+003 | |
413 | function unequipweld() | |
414 | ||
415 | end | |
416 | ||
417 | unequipweld() | |
418 | ||
419 | ||
420 | ||
421 | function equipweld() | |
422 | ||
423 | ||
424 | end | |
425 | ||
426 | ||
427 | function ss(parent,p) --Slash | |
428 | ||
429 | local SlashSound = Instance.new("Sound") | |
430 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
431 | SlashSound.Parent = parent | |
432 | SlashSound.Volume = .7 | |
433 | SlashSound.Pitch = p | |
434 | SlashSound.PlayOnRemove = true | |
435 | coroutine.resume(coroutine.create(function() | |
436 | wait() | |
437 | SlashSound.Parent = nil | |
438 | end)) | |
439 | end | |
440 | function uss(parent,p) --unsheath | |
441 | ||
442 | local SlashSound = Instance.new("Sound") | |
443 | SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
444 | SlashSound.Parent = parent | |
445 | SlashSound.Volume = .7 | |
446 | SlashSound.Pitch = p | |
447 | SlashSound.PlayOnRemove = true | |
448 | coroutine.resume(coroutine.create(function() | |
449 | wait() | |
450 | SlashSound.Parent = nil | |
451 | end)) | |
452 | end | |
453 | function ms(parent,p) --Metal Cling Sound | |
454 | ||
455 | local SlashSound = Instance.new("Sound") | |
456 | SlashSound.SoundId = "rbxasset://sounds\\metal.ogg" | |
457 | SlashSound.Parent = parent | |
458 | SlashSound.Volume = 1 | |
459 | SlashSound.Pitch = p | |
460 | SlashSound.PlayOnRemove = true | |
461 | coroutine.resume(coroutine.create(function() | |
462 | wait() | |
463 | SlashSound.Parent = nil | |
464 | end)) | |
465 | end | |
466 | ||
467 | -- | |
468 | -- | |
469 | ||
470 | function returndmg() | |
471 | mindamage = omindamage | |
472 | maxdamage = omaxdamage | |
473 | crtmaxdamage = ocrtmaxdamage | |
474 | end | |
475 | ||
476 | function subdmg(sub) | |
477 | mindamage = omindamage - sub | |
478 | maxdamage = omaxdamage - sub | |
479 | crtmaxdamage = ocrtmaxdamage - sub | |
480 | end | |
481 | ||
482 | function prcntdmg(sub) | |
483 | mindamage = math.floor(omindamage - (omindamage*(sub/100))) | |
484 | maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100))) | |
485 | crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100))) | |
486 | end | |
487 | ||
488 | function tagHumanoid(humanoid, player) | |
489 | local creator_tag = Instance.new("ObjectValue") | |
490 | creator_tag.Value = player | |
491 | creator_tag.Name = "creator" | |
492 | creator_tag.Parent = humanoid | |
493 | end | |
494 | ||
495 | function untagHumanoid(humanoid) | |
496 | if humanoid ~= nil then | |
497 | local tag = humanoid:findFirstChild("creator") | |
498 | if tag ~= nil then | |
499 | tag.Parent = nil | |
500 | end | |
501 | end | |
502 | end | |
503 | ||
504 | local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
505 | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
506 | end | |
507 | ||
508 | ||
509 | ||
510 | function equipanim() | |
511 | ||
512 | end | |
513 | ||
514 | ||
515 | function damagesplat(dmg,hit,crit,blocked) | |
516 | local mo = Instance.new("Model") | |
517 | mo.Name = dmg | |
518 | local pa = Instance.new("Part",mo) | |
519 | pa.formFactor = 3 | |
520 | pa.Size = Vector3.new(0.8,0.3,0.8) | |
521 | if crit then | |
522 | pa.BrickColor = BrickColor.new("Bright yellow") | |
523 | elseif not crit then | |
524 | pa.BrickColor = BrickColor.new("Bright red") | |
525 | end | |
526 | if blocked then pa.BrickColor = BrickColor.new("Bright blue") end | |
527 | pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0) | |
528 | pa.Name = "Head" | |
529 | local hah = Instance.new("Humanoid") | |
530 | hah.Parent = mo | |
531 | hah.MaxHealth = 0 | |
532 | hah.Health = 0 | |
533 | local bp = Instance.new("BodyPosition") | |
534 | bp.P = 14000 | |
535 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
536 | bp.position = hit.Position + Vector3.new(0, 5, 0) | |
537 | coroutine.resume(coroutine.create(function() | |
538 | wait() | |
539 | mo.Parent = Character | |
540 | bp.Parent = pa | |
541 | wait(1.4) | |
542 | mo:remove() | |
543 | end)) | |
544 | return pa | |
545 | end | |
546 | ||
547 | function damage(hum,dmg,critornot) | |
548 | local pa = damagesplat(dmg,hum.Torso,critornot) | |
549 | hum:TakeDamage(dmg) | |
550 | coroutine.resume(coroutine.create(function() | |
551 | tagHumanoid(hum,Player) | |
552 | wait(1) | |
553 | untagHumanoid(hum) | |
554 | end)) | |
555 | return pa | |
556 | ||
557 | end | |
558 | ||
559 | function lasersound(pitch) | |
560 | local SlashSound = Instance.new("Sound") | |
561 | SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav" | |
562 | SlashSound.Parent = workspace | |
563 | SlashSound.Volume = .5 | |
564 | SlashSound.Pitch = pitch | |
565 | SlashSound.PlayOnRemove = true | |
566 | coroutine.resume(coroutine.create(function() | |
567 | wait(0) | |
568 | SlashSound.Parent = nil | |
569 | end)) | |
570 | end | |
571 | ||
572 | ||
573 | function AoE(p,magnitude) | |
574 | local c = game.Workspace:GetChildren(); | |
575 | for i = 1, #c do | |
576 | local hum = c[i]:findFirstChild("Humanoid") | |
577 | if hum ~= nil and hum.Health ~= 0 then | |
578 | local head = c[i]:findFirstChild("Head"); | |
579 | if head ~= nil then | |
580 | local mag = (head.Position - p).magnitude; | |
581 | if mag <= magnitude and c[i].Name ~= Character.Name then | |
582 | local foundd = false | |
583 | for ii = 1 , #AoETrue do | |
584 | if AoETrue[ii] == c[i].Name then | |
585 | ||
586 | foundd = true | |
587 | end | |
588 | end | |
589 | if foundd then | |
590 | ||
591 | end | |
592 | -- | |
593 | if not foundd then | |
594 | local critrandomizer = math.random(crtrate) | |
595 | if critrandomizer ~= 1 then | |
596 | local rndmdamage = math.random(mindamage,maxdamage) | |
597 | damage(hum,rndmdamage,false) | |
598 | elseif critrandomizer == 1 then | |
599 | local rndmdamage = math.random(maxdamage,crtmaxdamage) | |
600 | damage(hum,rndmdamage,true) | |
601 | end | |
602 | table.insert(AoETrue,c[i].Name) | |
603 | end | |
604 | end | |
605 | end | |
606 | end | |
607 | end | |
608 | for ii = 1 , #AoETrue do | |
609 | table.remove(AoETrue,#AoETrue) | |
610 | end | |
611 | end | |
612 | ||
613 | -- | |
614 | ||
615 | ||
616 | -- | |
617 | ||
618 | function effect(Color,Ref,LP,P1) | |
619 | local effectsmsh = Instance.new("BlockMesh") | |
620 | effectsmsh.Scale = Vector3.new(1,1,1) | |
621 | effectsmsh.Name = "Mesh" | |
622 | local effectsg = Instance.new("Part") | |
623 | effectsg.formFactor = 3 | |
624 | effectsg.CanCollide = false | |
625 | effectsg.Name = "Eff" | |
626 | effectsg.Locked = true | |
627 | effectsg.Anchored = true | |
628 | effectsg.Size = Vector3.new(0.2,1,0.2) | |
629 | effectsg.Parent = bodyholder | |
630 | effectsmsh.Parent = effectsg | |
631 | effectsg.BrickColor = BrickColor.new(Color) | |
632 | effectsg.Reflectance = Ref | |
633 | local point1 = P1 | |
634 | local mg = (LP.p - point1.p).magnitude | |
635 | effectsg.Size = Vector3.new(0.2,mg,0.2) | |
636 | effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0) | |
637 | coroutine.resume(coroutine.create(function() | |
638 | for i = 0 , 1 , 0.1 do | |
639 | wait() | |
640 | effectsg.Transparency = 1*i | |
641 | effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i) | |
642 | end | |
643 | wait() | |
644 | effectsg.Parent = nil | |
645 | end)) | |
646 | end | |
647 | -- | |
648 | ||
649 | ||
650 | con,con2,con3 = nil,nil,nil | |
651 | conn,conn2,conn3 = nil,nil,nil | |
652 | ||
653 | function dmg1cnnct() | |
654 | if con ~= nil then | |
655 | con:disconnect() | |
656 | Hitdeb = 0 | |
657 | end | |
658 | con = prt4.Touched:connect(OT) | |
659 | con2 = prt5.Touched:connect(OT) | |
660 | end | |
661 | ||
662 | function dmg1dc() | |
663 | if con ~= nil then | |
664 | con:disconnect() | |
665 | Hitdeb = 0 | |
666 | end | |
667 | if con2 ~= nil then | |
668 | con2:disconnect() | |
669 | Hitdeb = 0 | |
670 | end | |
671 | end | |
672 | ||
673 | function dmg2cnnct() | |
674 | if con ~= nil then | |
675 | con:disconnect() | |
676 | Hitdeb = 0 | |
677 | end | |
678 | conn = prt14.Touched:connect(OT2) | |
679 | conn2 = prt15.Touched:connect(OT2) | |
680 | conn3 = prt16.Touched:connect(OT2) | |
681 | end | |
682 | ||
683 | function dmg2dc() | |
684 | if conn ~= nil then | |
685 | conn:disconnect() | |
686 | Hitdeb2 = 0 | |
687 | end | |
688 | if conn2 ~= nil then | |
689 | conn2:disconnect() | |
690 | Hitdeb2 = 0 | |
691 | end | |
692 | if conn3 ~= nil then | |
693 | conn3:disconnect() | |
694 | Hitdeb2 = 0 | |
695 | end | |
696 | end | |
697 | ||
698 | function rptddmg(value,des,inc) | |
699 | coroutine.resume(coroutine.create(function() | |
700 | repeat | |
701 | wait(inc) | |
702 | Hitdeb = 0 | |
703 | until value == des | |
704 | end)) | |
705 | end | |
706 | ||
707 | function atktype(s,e) | |
708 | coroutine.resume(coroutine.create(function () | |
709 | attacktype = e | |
710 | wait(0.25) | |
711 | attacktype = s | |
712 | end)) | |
713 | end | |
714 | ||
715 | walking = false | |
716 | jumping = false | |
717 | Target = nil | |
718 | ||
719 | function Walk() | |
720 | if walking then return end | |
721 | end | |
722 | ||
723 | function Jump() | |
724 | if jumping then return end | |
725 | jumping = true | |
726 | local vel = Instance.new("BodyVelocity",Torso) | |
727 | vel.maxForce = Vector3.new(0,1,0) * math.huge | |
728 | vel.P = vel.P * 5 | |
729 | vel.velocity = Vector3.new(0,jump,0) | |
730 | coroutine.resume(coroutine.create(function() | |
731 | wait() wait() wait() wait() | |
732 | vel.Parent=nil | |
733 | end)) | |
734 | for i = 0.1 , 1 , 0.1 do | |
735 | wait() | |
736 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-20+200*i), 0, math.rad(0)) | |
737 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) | |
738 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20+200*i), 0, math.rad(0)) | |
739 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) | |
740 | RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10*i), 0, math.rad(0)) | |
741 | RWL.C1 = CFrame.new(0.5, 1, 0) | |
742 | LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10*i), 0, math.rad(0)) | |
743 | LWL.C1 = CFrame.new(-0.5, 1, 0) | |
744 | end | |
745 | wait(1) | |
746 | for i = 0.1 , 1 , 0.1 do | |
747 | wait() | |
748 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(180-200*i), 0, math.rad(0)) | |
749 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) | |
750 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(180-200*i), 0, math.rad(0)) | |
751 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) | |
752 | RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10+10*i), 0, math.rad(0)) | |
753 | RWL.C1 = CFrame.new(0.5, 1, 0) | |
754 | LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10+10*i), 0, math.rad(0)) | |
755 | LWL.C1 = CFrame.new(-0.5, 1, 0) | |
756 | end | |
757 | jumping = false | |
758 | end | |
759 | ||
760 | function returnwelds() | |
761 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
762 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
763 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
764 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
765 | end | |
766 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
767 | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
768 | end | |
769 | function Laser(Part,Dmg) | |
770 | sp = Part.Position | |
771 | dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0) | |
772 | local hit,pos = rayCast(sp,dirr.lookVector,500,Character) | |
773 | local las=Instance.new("Part",Character) | |
774 | las.Anchored=true | |
775 | las.Locked=true | |
776 | las.CanCollide=false | |
777 | las.TopSurface=0 | |
778 | las.BottomSurface=0 | |
779 | las.FormFactor = "Custom" | |
780 | las.BrickColor=BrickColor.new("Bright red") | |
781 | las.Size=Vector3.new(1,1,1) | |
782 | las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) | |
783 | local msh=Instance.new("SpecialMesh",las) | |
784 | mag = (Part.Position-pos).magnitude | |
785 | msh.Scale=Vector3.new(0.1,mag,0.1) | |
786 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
787 | for i = 0,1,0.1 do | |
788 | wait() | |
789 | Part.Transparency = Part.Transparency + 0.1 | |
790 | Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15) | |
791 | end | |
792 | Part.Parent = nil | |
793 | end),las,msh) | |
794 | local las=Instance.new("Part",Character) | |
795 | las.Anchored=true | |
796 | las.Locked=true | |
797 | las.CanCollide=false | |
798 | las.TopSurface=0 | |
799 | las.BottomSurface=0 | |
800 | las.FormFactor = "Custom" | |
801 | las.BrickColor=BrickColor.new("Really black") | |
802 | las.Size=Vector3.new(1,1,1) | |
803 | las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) | |
804 | local msh=Instance.new("SpecialMesh",las) | |
805 | mag = (Part.Position-pos).magnitude | |
806 | msh.Scale=Vector3.new(0.1,mag,0.1) | |
807 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
808 | for i = 0,1,0.1 do | |
809 | wait() | |
810 | Part.Transparency = Part.Transparency + 0.1 | |
811 | Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05) | |
812 | end | |
813 | Part.Parent = nil | |
814 | end),las,msh) | |
815 | if pos ~= nil then | |
816 | local las2=Instance.new("Part",Character) | |
817 | las2.Anchored=true | |
818 | las2.Locked=true | |
819 | las2.CanCollide=false | |
820 | las2.TopSurface=0 | |
821 | las2.BottomSurface=0 | |
822 | las2.FormFactor = "Custom" | |
823 | las2.BrickColor=BrickColor.new("Bright red") | |
824 | las2.Size=Vector3.new(1,1,1) | |
825 | --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) | |
826 | las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0) | |
827 | local msh=Instance.new("BlockMesh",las2) | |
828 | mag = (Part.Position-pos).magnitude | |
829 | msh.Scale=Vector3.new(0.1,0.1,0.1) | |
830 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
831 | --wait(10) | |
832 | for i = 0,1,0.1 do | |
833 | wait() | |
834 | Part.Transparency = Part.Transparency + 0.1 | |
835 | Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5) | |
836 | end | |
837 | Part.Parent = nil | |
838 | end),las2,msh) | |
839 | end | |
840 | if hit ~= nil and pos ~= nil then | |
841 | if hit.Parent.className == "Hat" then | |
842 | if(hit.Parent.Parent:findFirstChild("Humanoid")~= nil)then | |
843 | if hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Parent.Name ~= Character.Name then | |
844 | hit.Parent.Parent.Humanoid:TakeDamage(Dmg) | |
845 | end | |
846 | end | |
847 | end | |
848 | if(hit.Parent:findFirstChild("Humanoid")~= nil)then | |
849 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Character.Name then | |
850 | hit.Parent.Humanoid:TakeDamage(Dmg) | |
851 | end | |
852 | end | |
853 | --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then | |
854 | hit.Parent.Humanoid:TakeDamage(Dmg) | |
855 | end]]-- | |
856 | end | |
857 | end | |
858 | function onehit() | |
859 | attack = true | |
860 | comboing = true | |
861 | for i = 0,1,0.1 do | |
862 | wait() | |
863 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
864 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
865 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
866 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
867 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
868 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
869 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
870 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
871 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
872 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
873 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
874 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
875 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
876 | end | |
877 | wait(0.1) | |
878 | gairo.Parent = Head | |
879 | gairo.cframe = Head.CFrame | |
880 | for i = 0,1,0.1 do | |
881 | wait() | |
882 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+1*i,0) | |
883 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i) | |
884 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
885 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
886 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
887 | --[[w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
888 | w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
889 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]] | |
890 | w4.C0 = CFrame.new(1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,2.355-0.785*i) | |
891 | w5.C0 = CFrame.new(-0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.14-1.57*i) | |
892 | --[[w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
893 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
894 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]] | |
895 | end | |
896 | wait(0.1) | |
897 | combo = 1 | |
898 | Laser(prt4,math.random(20,40)) | |
899 | Laser(prt5,math.random(20,40)) | |
900 | attack = false | |
901 | end | |
902 | function twohit() | |
903 | attack = true | |
904 | for i = 0,1,0.1 do | |
905 | wait() | |
906 | w4.C0 = CFrame.new(1.3-1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,2.355-0.785+0.785*i) | |
907 | w5.C0 = CFrame.new(-0.3+0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.14-1.57+1.57*i) | |
908 | w6.C0 = CFrame.new(0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.925+0.785*i) | |
909 | w7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71) | |
910 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+1-2*i,0) | |
911 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i) | |
912 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
913 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i) | |
914 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
915 | end | |
916 | wait(0.1) | |
917 | Laser(prt6,math.random(20,40)) | |
918 | Laser(prt7,math.random(20,40)) | |
919 | wait(0.1) | |
920 | attack = false | |
921 | combo = 2 | |
922 | end | |
923 | function threehit() | |
924 | attack = true | |
925 | for i = 0,1,0.1 do | |
926 | wait() | |
927 | w6.C0 = CFrame.new(0.3-0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.925+0.785-0.785*i) | |
928 | w7.C0 = CFrame.new(-1.3+1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,4.71) | |
929 | w8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i) | |
930 | w1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) | |
931 | w2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i) | |
932 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+1-2+1*i,0) | |
933 | LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
934 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
935 | RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5-1.27*i) | |
936 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
937 | end | |
938 | wait(0.1) | |
939 | Laser(prt8,math.random(20,40)) | |
940 | Laser(prt1,math.random(20,40)) | |
941 | Laser(prt2,math.random(20,40)) | |
942 | wait(0.1) | |
943 | attack = false | |
944 | combo = 3 | |
945 | end | |
946 | function fourhit() | |
947 | attack = true | |
948 | for i = 0,1,0.1 do | |
949 | wait() | |
950 | w8.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0.5*i,5.495-5.495+5.495*i) | |
951 | w1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) | |
952 | w2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,-0.5*i,0.785-0.785+0.785*i) | |
953 | w3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i) | |
954 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+math.rad(90)*i,0) | |
955 | LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77*i) | |
956 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
957 | RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-0.5-1.27+1*i) | |
958 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
959 | end | |
960 | wait(0.1) | |
961 | for i = 0,1,0.1 do | |
962 | wait() | |
963 | w3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i) | |
964 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(270),0) | |
965 | LW.C0 = CFrame.new(-1.5+0.5-0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77) | |
966 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0) | |
967 | RW.C0 = CFrame.new(1.5-0.5+0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57-1.57,0,1.57-0.5-1.27+1) | |
968 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
969 | Laser(prt3,math.random(5,15)) | |
970 | end | |
971 | wait(0.1) | |
972 | attack = false | |
973 | combo = 0 | |
974 | end | |
975 | function LaserWave() | |
976 | attack = true | |
977 | for i = 0,1,0.1 do | |
978 | wait() | |
979 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
980 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
981 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
982 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
983 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
984 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
985 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
986 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
987 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
988 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
989 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
990 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
991 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
992 | end | |
993 | wait(0.1) | |
994 | for i = 0,1,0.1 do | |
995 | wait() | |
996 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
997 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
998 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) | |
999 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1000 | w1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) | |
1001 | w3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57) | |
1002 | w5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14) | |
1003 | w7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71) | |
1004 | end | |
1005 | Laser(prt1,math.random(10,20)) | |
1006 | Laser(prt3,math.random(10,20)) | |
1007 | Laser(prt5,math.random(10,20)) | |
1008 | Laser(prt7,math.random(10,20)) | |
1009 | wait(0.1) | |
1010 | for i = 0,1,0.1 do | |
1011 | wait() | |
1012 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i) | |
1013 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1014 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i) | |
1015 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1016 | w1.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) | |
1017 | w3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57) | |
1018 | w5.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14) | |
1019 | w7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71) | |
1020 | end | |
1021 | for i = 0,1,0.1 do | |
1022 | wait() | |
1023 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
1024 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1025 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) | |
1026 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1027 | w2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i) | |
1028 | w4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i) | |
1029 | w6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i) | |
1030 | w8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i) | |
1031 | end | |
1032 | Laser(prt2,math.random(10,20)) | |
1033 | Laser(prt4,math.random(10,20)) | |
1034 | Laser(prt6,math.random(10,20)) | |
1035 | Laser(prt8,math.random(10,20)) | |
1036 | wait(0.1) | |
1037 | for i = 0,1,0.1 do | |
1038 | wait() | |
1039 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i) | |
1040 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1041 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i) | |
1042 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1043 | w2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i) | |
1044 | w4.C0 = CFrame.new(0,1.6+3,-1+1.5-1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77+1.77*i,0,-2.355*i) | |
1045 | w6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i) | |
1046 | w8.C0 = CFrame.new(0,1.6+3,-1+0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37+1.37*i,0,-5.495*i) | |
1047 | end | |
1048 | wait(0.1) | |
1049 | attack = false | |
1050 | end | |
1051 | function OverBlast() | |
1052 | attack = true | |
1053 | for i = 0,1,0.1 do | |
1054 | wait() | |
1055 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1056 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1057 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1058 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1059 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1060 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1061 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1062 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1063 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1064 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1065 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1066 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1067 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1068 | end | |
1069 | for i = 0,1.05,0.05 do | |
1070 | wait() | |
1071 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1072 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) | |
1073 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1074 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) | |
1075 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1076 | w1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28) | |
1077 | w2.C0 = CFrame.new(-1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.3*i,0.785+5.495*i) | |
1078 | w3.C0 = CFrame.new(1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.3*i,1.57+4.71*i) | |
1079 | w4.C0 = CFrame.new(1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,2.355+3.925*i) | |
1080 | w5.C0 = CFrame.new(-1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.1*i,3.14-3.14*i) | |
1081 | w6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i) | |
1082 | w7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i) | |
1083 | w8.C0 = CFrame.new(1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.1*i,5.495-5.495*i) | |
1084 | end | |
1085 | Laser(prt1,math.random(5,15)) | |
1086 | Laser(prt2,math.random(5,15)) | |
1087 | Laser(prt3,math.random(5,15)) | |
1088 | Laser(prt4,math.random(5,15)) | |
1089 | Laser(prt5,math.random(5,15)) | |
1090 | Laser(prt6,math.random(5,15)) | |
1091 | Laser(prt7,math.random(5,15)) | |
1092 | Laser(prt8,math.random(5,15)) | |
1093 | wait(0.2) | |
1094 | for i = 0,1.05,0.05 do | |
1095 | wait() | |
1096 | w1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28) | |
1097 | w2.C0 = CFrame.new(-1+0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.3-0.3*i,0.785+5.495) | |
1098 | w3.C0 = CFrame.new(1-0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.3+0.3*i,1.57+4.71) | |
1099 | w4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925) | |
1100 | w5.C0 = CFrame.new(-1.1-0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.1-0.1*i,3.14-3.14) | |
1101 | w6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925) | |
1102 | w7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71) | |
1103 | w8.C0 = CFrame.new(1.1+0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.1+0.1*i,5.495-5.495) | |
1104 | end | |
1105 | Laser(prt1,math.random(5,15)) | |
1106 | Laser(prt2,math.random(5,15)) | |
1107 | Laser(prt3,math.random(5,15)) | |
1108 | Laser(prt4,math.random(5,15)) | |
1109 | Laser(prt5,math.random(5,15)) | |
1110 | Laser(prt6,math.random(5,15)) | |
1111 | Laser(prt7,math.random(5,15)) | |
1112 | Laser(prt8,math.random(5,15)) | |
1113 | wait(0.5) | |
1114 | attack = false | |
1115 | end | |
1116 | function SpinBeam() | |
1117 | attack = true | |
1118 | for i = 0,1,0.1 do | |
1119 | wait() | |
1120 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1121 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1122 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1123 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1124 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1125 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1126 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1127 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1128 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1129 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1130 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1131 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1132 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1133 | end | |
1134 | for i = 0,1,0.1 do | |
1135 | wait() | |
1136 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1137 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1138 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1139 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1140 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1141 | w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1142 | w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1143 | w3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1144 | w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1145 | w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1146 | w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1147 | w7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1148 | w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1149 | end | |
1150 | gairo.Parent = Head | |
1151 | gairo.cframe = Head.CFrame | |
1152 | CF = Torso.CFrame | |
1153 | for i = 0,1,0.1 do | |
1154 | wait(0.1) | |
1155 | gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0) | |
1156 | Laser(prt3,math.random(10,20)) | |
1157 | Laser(prt7,math.random(10,20)) | |
1158 | end | |
1159 | wait(0.2) | |
1160 | gairo.Parent = nil | |
1161 | attack = false | |
1162 | end | |
1163 | function LaserBarrage() | |
1164 | attack = true | |
1165 | for i = 0,1,0.1 do | |
1166 | wait() | |
1167 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1168 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1169 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1170 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1171 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1172 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1173 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1174 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1175 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1176 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1177 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1178 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1179 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1180 | end | |
1181 | for i = 0,1,0.2 do | |
1182 | wait() | |
1183 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1184 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i) | |
1185 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1186 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i) | |
1187 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1188 | w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) | |
1189 | end | |
1190 | Laser(prt1,math.random(10,20)) | |
1191 | for i = 0,1,0.2 do | |
1192 | wait() | |
1193 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1194 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i) | |
1195 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1196 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,1.57-1.77-1.77*i) | |
1197 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1198 | w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) | |
1199 | end | |
1200 | for i = 0,1,0.2 do | |
1201 | wait() | |
1202 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1203 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i) | |
1204 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1205 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1206 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1207 | w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785) | |
1208 | end | |
1209 | Laser(prt2,math.random(10,20)) | |
1210 | for i = 0,1,0.2 do | |
1211 | wait() | |
1212 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1213 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i) | |
1214 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1215 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1216 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1217 | w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785) | |
1218 | end | |
1219 | for i = 0,1,0.2 do | |
1220 | wait() | |
1221 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1222 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i) | |
1223 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1224 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1225 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1226 | w3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57) | |
1227 | end | |
1228 | Laser(prt3,math.random(10,20)) | |
1229 | for i = 0,1,0.2 do | |
1230 | wait() | |
1231 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1232 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3+0.3*i,0,-1.57+1.77-1.77*i) | |
1233 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1234 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1235 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1236 | w3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57) | |
1237 | end | |
1238 | for i = 0,1,0.2 do | |
1239 | wait() | |
1240 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1241 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i) | |
1242 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1243 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1244 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1245 | w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355) | |
1246 | end | |
1247 | Laser(prt4,math.random(10,20)) | |
1248 | for i = 0,1,0.2 do | |
1249 | wait() | |
1250 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1251 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,-1.57+1.77-1.77*i) | |
1252 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1253 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1254 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1255 | w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355) | |
1256 | end | |
1257 | for i = 0,1,0.2 do | |
1258 | wait() | |
1259 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1260 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i) | |
1261 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1262 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i) | |
1263 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1264 | w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14) | |
1265 | end | |
1266 | Laser(prt5,math.random(10,20)) | |
1267 | for i = 0,1,0.2 do | |
1268 | wait() | |
1269 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1270 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,-1.57+1.77-1.77*i) | |
1271 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1272 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i) | |
1273 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1274 | w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14) | |
1275 | end | |
1276 | for i = 0,1,0.2 do | |
1277 | wait() | |
1278 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1279 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1280 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1281 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i) | |
1282 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1283 | w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925) | |
1284 | end | |
1285 | Laser(prt6,math.random(10,20)) | |
1286 | for i = 0,1,0.2 do | |
1287 | wait() | |
1288 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1289 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1290 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1291 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i) | |
1292 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1293 | w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925) | |
1294 | end | |
1295 | for i = 0,1,0.2 do | |
1296 | wait() | |
1297 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1298 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1299 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1300 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i) | |
1301 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1302 | w7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71) | |
1303 | end | |
1304 | Laser(prt7,math.random(10,20)) | |
1305 | for i = 0,1,0.2 do | |
1306 | wait() | |
1307 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1308 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1309 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1310 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i) | |
1311 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1312 | w7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71) | |
1313 | end | |
1314 | for i = 0,1,0.2 do | |
1315 | wait() | |
1316 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1317 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1318 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1319 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i) | |
1320 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1321 | w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495) | |
1322 | end | |
1323 | Laser(prt8,math.random(10,20)) | |
1324 | for i = 0,1,0.2 do | |
1325 | wait() | |
1326 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1327 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1328 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1329 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i) | |
1330 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1331 | w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495) | |
1332 | end | |
1333 | wait(0.5) | |
1334 | attack = false | |
1335 | end | |
1336 | function CloseRangedFire() | |
1337 | attack = true | |
1338 | for i = 0,1,0.1 do | |
1339 | wait() | |
1340 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1341 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1342 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1343 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1344 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1345 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1346 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1347 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1348 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1349 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1350 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1351 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1352 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1353 | end | |
1354 | for i = 0,1,0.1 do | |
1355 | wait() | |
1356 | w1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28) | |
1357 | w2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785) | |
1358 | w3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57) | |
1359 | w4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355) | |
1360 | w5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14) | |
1361 | w6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925) | |
1362 | w7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71) | |
1363 | w8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495) | |
1364 | end | |
1365 | Laser(prt1,math.random(5,10)) | |
1366 | Laser(prt2,math.random(5,10)) | |
1367 | Laser(prt3,math.random(5,10)) | |
1368 | Laser(prt4,math.random(5,10)) | |
1369 | Laser(prt5,math.random(5,10)) | |
1370 | Laser(prt6,math.random(5,10)) | |
1371 | Laser(prt7,math.random(5,10)) | |
1372 | Laser(prt8,math.random(5,10)) | |
1373 | wait(1) | |
1374 | attack = false | |
1375 | end | |
1376 | function SpinLaser() | |
1377 | attack = true | |
1378 | for i = 0,1,0.1 do | |
1379 | wait() | |
1380 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1381 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1382 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1383 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1384 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1385 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1386 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1387 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1388 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1389 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1390 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1391 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1392 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1393 | end | |
1394 | for i = 0,1,0.1 do | |
1395 | wait() | |
1396 | w1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i) | |
1397 | w2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i) | |
1398 | w3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i) | |
1399 | w4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i) | |
1400 | w5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i) | |
1401 | w6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i) | |
1402 | w7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i) | |
1403 | w8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i) | |
1404 | end | |
1405 | Laser(prt1,math.random(10,20)) | |
1406 | Laser(prt2,math.random(10,20)) | |
1407 | Laser(prt3,math.random(10,20)) | |
1408 | Laser(prt4,math.random(10,20)) | |
1409 | Laser(prt5,math.random(10,20)) | |
1410 | Laser(prt6,math.random(10,20)) | |
1411 | Laser(prt7,math.random(10,20)) | |
1412 | Laser(prt8,math.random(10,20)) | |
1413 | for i = 0,1,0.1 do | |
1414 | wait() | |
1415 | w1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28) | |
1416 | w2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785) | |
1417 | w3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57) | |
1418 | w4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355) | |
1419 | w5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14) | |
1420 | w6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925) | |
1421 | w7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71) | |
1422 | w8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495) | |
1423 | end | |
1424 | Laser(prt1,math.random(10,20)) | |
1425 | Laser(prt2,math.random(10,20)) | |
1426 | Laser(prt3,math.random(10,20)) | |
1427 | Laser(prt4,math.random(10,20)) | |
1428 | Laser(prt5,math.random(10,20)) | |
1429 | Laser(prt6,math.random(10,20)) | |
1430 | Laser(prt7,math.random(10,20)) | |
1431 | Laser(prt8,math.random(10,20)) | |
1432 | for i = 0,1,0.1 do | |
1433 | wait() | |
1434 | w1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28) | |
1435 | w2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5+0.5*i,0.785-0.785) | |
1436 | w3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5+0.5*i,1.57-1.57) | |
1437 | w4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5+0.5*i,2.355-2.355) | |
1438 | w5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5+0.5*i,3.14-3.14) | |
1439 | w6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5+0.5*i,3.925-3.925) | |
1440 | w7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5+0.5*i,4.71-4.71) | |
1441 | w8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5+0.5*i,5.495-5.495) | |
1442 | end | |
1443 | Laser(prt1,math.random(10,20)) | |
1444 | Laser(prt2,math.random(10,20)) | |
1445 | Laser(prt3,math.random(10,20)) | |
1446 | Laser(prt4,math.random(10,20)) | |
1447 | Laser(prt5,math.random(10,20)) | |
1448 | Laser(prt6,math.random(10,20)) | |
1449 | Laser(prt7,math.random(10,20)) | |
1450 | Laser(prt8,math.random(10,20)) | |
1451 | wait(1) | |
1452 | attack = false | |
1453 | end | |
1454 | function Implosion() | |
1455 | attack = true | |
1456 | for i = 0,1,0.1 do | |
1457 | wait() | |
1458 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1459 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1460 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1461 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1462 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1463 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1464 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1465 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1466 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1467 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1468 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1469 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1470 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1471 | end | |
1472 | for i = 0,1,0.1 do | |
1473 | wait() | |
1474 | w1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i) | |
1475 | w2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i) | |
1476 | w3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i) | |
1477 | w4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i) | |
1478 | w5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i) | |
1479 | w6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i) | |
1480 | w7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i) | |
1481 | w8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i) | |
1482 | end | |
1483 | Laser(prt1,math.random(5,10)) | |
1484 | Laser(prt2,math.random(5,10)) | |
1485 | Laser(prt3,math.random(5,10)) | |
1486 | Laser(prt4,math.random(5,10)) | |
1487 | Laser(prt5,math.random(5,10)) | |
1488 | Laser(prt6,math.random(5,10)) | |
1489 | Laser(prt7,math.random(5,10)) | |
1490 | Laser(prt8,math.random(5,10)) | |
1491 | for i = 0,1,0.1 do | |
1492 | wait() | |
1493 | w1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28) | |
1494 | w2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785) | |
1495 | w3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57) | |
1496 | w4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355) | |
1497 | w5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14) | |
1498 | w6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925) | |
1499 | w7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71) | |
1500 | w8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495) | |
1501 | end | |
1502 | Laser(prt1,math.random(5,10)) | |
1503 | Laser(prt2,math.random(5,10)) | |
1504 | Laser(prt3,math.random(5,10)) | |
1505 | Laser(prt4,math.random(5,10)) | |
1506 | Laser(prt5,math.random(5,10)) | |
1507 | Laser(prt6,math.random(5,10)) | |
1508 | Laser(prt7,math.random(5,10)) | |
1509 | Laser(prt8,math.random(5,10)) | |
1510 | for i = 0,1,0.1 do | |
1511 | wait() | |
1512 | w1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28) | |
1513 | w2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785) | |
1514 | w3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57) | |
1515 | w4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355) | |
1516 | w5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14) | |
1517 | w6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925) | |
1518 | w7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71) | |
1519 | w8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495) | |
1520 | end | |
1521 | Laser(prt1,math.random(5,10)) | |
1522 | Laser(prt2,math.random(5,10)) | |
1523 | Laser(prt3,math.random(5,10)) | |
1524 | Laser(prt4,math.random(5,10)) | |
1525 | Laser(prt5,math.random(5,10)) | |
1526 | Laser(prt6,math.random(5,10)) | |
1527 | Laser(prt7,math.random(5,10)) | |
1528 | Laser(prt8,math.random(5,10)) | |
1529 | wait(1) | |
1530 | attack = false | |
1531 | end | |
1532 | function LaserPillars() | |
1533 | attack = true | |
1534 | for i = 0,1,0.1 do | |
1535 | wait() | |
1536 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1537 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1538 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1539 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1540 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1541 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1542 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1543 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1544 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1545 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1546 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1547 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1548 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1549 | end | |
1550 | for i = 0,1,0.1 do | |
1551 | wait() | |
1552 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1553 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1554 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1555 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1556 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1557 | w1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i) | |
1558 | w2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i) | |
1559 | w3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i) | |
1560 | w4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i) | |
1561 | w5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i) | |
1562 | w6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i) | |
1563 | w7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i) | |
1564 | w8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i) | |
1565 | end | |
1566 | Laser(prt1,math.random(20,40)) | |
1567 | Laser(prt2,math.random(20,40)) | |
1568 | Laser(prt3,math.random(20,40)) | |
1569 | Laser(prt4,math.random(20,40)) | |
1570 | Laser(prt5,math.random(20,40)) | |
1571 | Laser(prt6,math.random(20,40)) | |
1572 | Laser(prt7,math.random(20,40)) | |
1573 | Laser(prt8,math.random(20,40)) | |
1574 | hur = 0 | |
1575 | for i = 0,1,0.1 do | |
1576 | wait(0.1) | |
1577 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1578 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1579 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1580 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1581 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1582 | w1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28) | |
1583 | w2.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0.785+2.5*i,0.785-0.785) | |
1584 | w3.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,1.57+2.5*i,1.57-1.57) | |
1585 | w4.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,2.355+2.5*i,2.355-2.355) | |
1586 | w5.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.14+2.5*i,3.14-3.14) | |
1587 | w6.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.925+2.5*i,3.925-3.925) | |
1588 | w7.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,4.71+2.5*i,4.71-4.71) | |
1589 | w8.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,5.495+2.5*i,5.495-5.495) | |
1590 | if hur == 1 then | |
1591 | Laser(prt1,math.random(20,40)) | |
1592 | Laser(prt2,math.random(20,40)) | |
1593 | Laser(prt3,math.random(20,40)) | |
1594 | Laser(prt4,math.random(20,40)) | |
1595 | Laser(prt5,math.random(20,40)) | |
1596 | Laser(prt6,math.random(20,40)) | |
1597 | Laser(prt7,math.random(20,40)) | |
1598 | Laser(prt8,math.random(20,40)) | |
1599 | hur = 0 | |
1600 | end | |
1601 | hur = hur + 1 | |
1602 | end | |
1603 | wait(1) | |
1604 | attack = false | |
1605 | end | |
1606 | function DodgeTheLaser() | |
1607 | attack = true | |
1608 | for i = 0,1,0.1 do | |
1609 | wait() | |
1610 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1611 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1612 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1613 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1614 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1615 | w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1616 | w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1617 | w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1618 | w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1619 | w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1620 | w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1621 | w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1622 | w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1623 | end | |
1624 | for i = 0,1,0.1 do | |
1625 | wait() | |
1626 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1627 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) | |
1628 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1629 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) | |
1630 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1631 | w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) | |
1632 | w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) | |
1633 | w3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57) | |
1634 | w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) | |
1635 | w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) | |
1636 | w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) | |
1637 | w7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71) | |
1638 | w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) | |
1639 | end | |
1640 | game:GetService("Chat"):Chat(Head,"DODGE THIS!",2) | |
1641 | gairo.Parent = Head | |
1642 | gairo.cframe = Head.CFrame | |
1643 | CF = Torso.CFrame | |
1644 | for i = 0,1,0.01 do | |
1645 | wait(0.1) | |
1646 | gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0) | |
1647 | Laser(prt3,math.random(10,20)) | |
1648 | Laser(prt7,math.random(10,20)) | |
1649 | end | |
1650 | wait() | |
1651 | gairo.Parent = nil | |
1652 | attack = false | |
1653 | end | |
1654 | function Attackk(mag) | |
1655 | if attack then return end | |
1656 | if mag <= 100 then | |
1657 | local rndm = math.random(1,10) | |
1658 | if rndm == 1 then | |
1659 | coroutine.resume(coroutine.create(function() | |
1660 | if combo == 0 and comboing == false then | |
1661 | onehit() | |
1662 | elseif combo == 1 then | |
1663 | twohit() | |
1664 | elseif combo == 2 then | |
1665 | threehit() | |
1666 | elseif combo == 3 then | |
1667 | fourhit() | |
1668 | gairo.Parent = nil | |
1669 | Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0) | |
1670 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1671 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1672 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1673 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1674 | wait(1) | |
1675 | comboing = false | |
1676 | end | |
1677 | end)) | |
1678 | elseif rndm == 2 and combo == 0 and timer >= 40 then | |
1679 | coroutine.resume(coroutine.create(function() | |
1680 | LaserWave() | |
1681 | end)) | |
1682 | elseif rndm == 3 and combo == 0 and timer >= 60 then | |
1683 | coroutine.resume(coroutine.create(function() | |
1684 | OverBlast() | |
1685 | end)) | |
1686 | elseif rndm == 4 and combo == 0 and timer >= 90 then | |
1687 | coroutine.resume(coroutine.create(function() | |
1688 | SpinBeam() | |
1689 | end)) | |
1690 | elseif rndm == 5 and combo == 0 and timer >= 135 then | |
1691 | coroutine.resume(coroutine.create(function() | |
1692 | LaserBarrage() | |
1693 | end)) | |
1694 | elseif rndm == 6 and combo == 0 and timer >= 202 then | |
1695 | coroutine.resume(coroutine.create(function() | |
1696 | CloseRangedFire() | |
1697 | end)) | |
1698 | elseif rndm == 7 and combo == 0 and timer >= 303 then | |
1699 | coroutine.resume(coroutine.create(function() | |
1700 | SpinLaser() | |
1701 | end)) | |
1702 | elseif rndm == 8 and combo == 0 and timer >= 454 then | |
1703 | coroutine.resume(coroutine.create(function() | |
1704 | Implosion() | |
1705 | end)) | |
1706 | elseif rndm == 9 and combo == 0 and timer >= 681 then | |
1707 | coroutine.resume(coroutine.create(function() | |
1708 | LaserPillars() | |
1709 | end)) | |
1710 | elseif rndm == 10 and combo == 0 and timer >= 1000 then | |
1711 | coroutine.resume(coroutine.create(function() | |
1712 | DodgeTheLaser() | |
1713 | end)) | |
1714 | end | |
1715 | end | |
1716 | coroutine.resume(coroutine.create(function() | |
1717 | wait(1) | |
1718 | if clocker == 0 then | |
1719 | timer = timer + 1 | |
1720 | elseif clocker == 1 then | |
1721 | timer = timer + 2 | |
1722 | elseif clocker == 2 then | |
1723 | timer = timer + 3 | |
1724 | elseif clocker == 3 then | |
1725 | timer = timer + 4 | |
1726 | elseif clocker == 4 then | |
1727 | timer = timer + 5 | |
1728 | elseif clocker == 5 then | |
1729 | timer = timer + 6 | |
1730 | elseif clocker == 6 then | |
1731 | timer = timer + 7 | |
1732 | elseif clocker == 7 then | |
1733 | timer = timer + 8 | |
1734 | elseif clocker == 8 then | |
1735 | timer = timer + 9 | |
1736 | elseif clocker == 9 then | |
1737 | timer = timer + 10 | |
1738 | end | |
1739 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*9/10 and booster1 == false then | |
1740 | booster1 = true | |
1741 | clocker = clocker + 1 | |
1742 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1743 | local parchat = math.random(1,2) | |
1744 | if parchat == 1 then | |
1745 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1746 | elseif parchat == 2 then | |
1747 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1748 | end | |
1749 | end | |
1750 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*8/10 and booster2 == false then | |
1751 | booster2 = true | |
1752 | clocker = clocker + 1 | |
1753 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1754 | local parchat = math.random(1,2) | |
1755 | if parchat == 1 then | |
1756 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1757 | elseif parchat == 2 then | |
1758 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1759 | end | |
1760 | end | |
1761 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*7/10 and booster3 == false then | |
1762 | booster3 = true | |
1763 | clocker = clocker + 1 | |
1764 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1765 | local parchat = math.random(1,2) | |
1766 | if parchat == 1 then | |
1767 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1768 | elseif parchat == 2 then | |
1769 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1770 | end | |
1771 | end | |
1772 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*6/10 and booster4 == false then | |
1773 | booster4 = true | |
1774 | clocker = clocker + 1 | |
1775 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1776 | local parchat = math.random(1,2) | |
1777 | if parchat == 1 then | |
1778 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1779 | elseif parchat == 2 then | |
1780 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1781 | end | |
1782 | end | |
1783 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*5/10 and booster5 == false then | |
1784 | booster5 = true | |
1785 | clocker = clocker + 1 | |
1786 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1787 | local parchat = math.random(1,2) | |
1788 | if parchat == 1 then | |
1789 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1790 | elseif parchat == 2 then | |
1791 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1792 | end | |
1793 | end | |
1794 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*4/10 and booster6 == false then | |
1795 | booster6 = true | |
1796 | clocker = clocker + 1 | |
1797 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed * 2 | |
1798 | local parchat = math.random(1,2) | |
1799 | if parchat == 1 then | |
1800 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1801 | elseif parchat == 2 then | |
1802 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1803 | end | |
1804 | end | |
1805 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*3/10 and booster7 == false then | |
1806 | booster7 = true | |
1807 | clocker = clocker + 1 | |
1808 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1809 | local parchat = math.random(1,2) | |
1810 | if parchat == 1 then | |
1811 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1812 | elseif parchat == 2 then | |
1813 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1814 | end | |
1815 | end | |
1816 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*2/10 and booster8 == false then | |
1817 | booster8 = true | |
1818 | clocker = clocker + 1 | |
1819 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1820 | local parchat = math.random(1,2) | |
1821 | if parchat == 1 then | |
1822 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1823 | elseif parchat == 2 then | |
1824 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1825 | end | |
1826 | end | |
1827 | if Character.Humanoid.Health < Character.Humanoid.MaxHealth*1/10 and booster9 == false then | |
1828 | booster9 = true | |
1829 | clocker = clocker + 1 | |
1830 | Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2 | |
1831 | local parchat = math.random(1,2) | |
1832 | if parchat == 1 then | |
1833 | game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2) | |
1834 | elseif parchat == 2 then | |
1835 | game:GetService("Chat"):Chat(Head,"Overclocking.",2) | |
1836 | end | |
1837 | end | |
1838 | end)) | |
1839 | if time1 == false and timer >= 40 then | |
1840 | time1 = true | |
1841 | local parchat = math.random(1,3) | |
1842 | if parchat == 1 then | |
1843 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1844 | elseif parchat == 2 then | |
1845 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1846 | elseif parchat == 3 then | |
1847 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1848 | end | |
1849 | end | |
1850 | if time2 == false and timer >= 60 then | |
1851 | time2 = true | |
1852 | local parchat = math.random(1,3) | |
1853 | if parchat == 1 then | |
1854 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1855 | elseif parchat == 2 then | |
1856 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1857 | elseif parchat == 3 then | |
1858 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1859 | end | |
1860 | end | |
1861 | if time3 == false and timer >= 90 then | |
1862 | time3 = true | |
1863 | local parchat = math.random(1,3) | |
1864 | if parchat == 1 then | |
1865 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1866 | elseif parchat == 2 then | |
1867 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1868 | elseif parchat == 3 then | |
1869 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1870 | end | |
1871 | end | |
1872 | if time4 == false and timer >= 135 then | |
1873 | time4 = true | |
1874 | local parchat = math.random(1,3) | |
1875 | if parchat == 1 then | |
1876 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1877 | elseif parchat == 2 then | |
1878 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1879 | elseif parchat == 3 then | |
1880 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1881 | end | |
1882 | end | |
1883 | if time5 == false and timer >= 202 then | |
1884 | time5 = true | |
1885 | local parchat = math.random(1,3) | |
1886 | if parchat == 1 then | |
1887 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1888 | elseif parchat == 2 then | |
1889 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1890 | elseif parchat == 3 then | |
1891 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1892 | end | |
1893 | end | |
1894 | if time6 == false and timer >= 303 then | |
1895 | time6 = true | |
1896 | local parchat = math.random(1,3) | |
1897 | if parchat == 1 then | |
1898 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1899 | elseif parchat == 2 then | |
1900 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1901 | elseif parchat == 3 then | |
1902 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1903 | end | |
1904 | end | |
1905 | if time7 == false and timer >= 454 then | |
1906 | time7 = true | |
1907 | local parchat = math.random(1,3) | |
1908 | if parchat == 1 then | |
1909 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1910 | elseif parchat == 2 then | |
1911 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1912 | elseif parchat == 3 then | |
1913 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1914 | end | |
1915 | end | |
1916 | if time8 == false and timer >= 681 then | |
1917 | time8 = true | |
1918 | local parchat = math.random(1,3) | |
1919 | if parchat == 1 then | |
1920 | game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2) | |
1921 | elseif parchat == 2 then | |
1922 | game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2) | |
1923 | elseif parchat == 3 then | |
1924 | game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2) | |
1925 | end | |
1926 | end | |
1927 | if time9 == false and timer >= 1000 then | |
1928 | time9 = true | |
1929 | local parchat = math.random(1,1) | |
1930 | if parchat == 1 then | |
1931 | game:GetService("Chat"):Chat(Head,"Overdrive Attack Enabaled.",2) | |
1932 | end | |
1933 | end | |
1934 | end | |
1935 | local BG = Instance.new("BodyGyro",Torso) | |
1936 | BG.cframe = Torso.CFrame | |
1937 | BG.maxTorque = Vector3.new(0, math.huge,0) | |
1938 | BGSpin = 0 | |
1939 | ||
1940 | function FindTarget() | |
1941 | local c = game.Workspace:GetChildren(); | |
1942 | local nearestmag = 1500 | |
1943 | local nearestprsn = nil | |
1944 | for i = 1, #c do | |
1945 | local hum = c[i]:findFirstChild("Humanoid") | |
1946 | if hum ~= nil and hum.Health ~= 0 then | |
1947 | local head = c[i]:findFirstChild("Head"); | |
1948 | if head ~= nil then | |
1949 | local mag = (head.Position - Torso.Position).magnitude; | |
1950 | if mag <= 1500 and c[i].Name ~= Character.Name then | |
1951 | if mag < nearestmag then | |
1952 | nearestmag = mag | |
1953 | nearestprsn = c[i] | |
1954 | end | |
1955 | end | |
1956 | end | |
1957 | end | |
1958 | end | |
1959 | Target = nearestprsn | |
1960 | end | |
1961 | ||
1962 | ||
1963 | ||
1964 | ||
1965 | local Humanoid = Instance.new("Humanoid",bodyholder) | |
1966 | Humanoid.MaxHealth = HP | |
1967 | ||
1968 | equipanim() | |
1969 | wait(1) | |
1970 | bodyholder:MakeJoints() | |
1971 | Humanoid.Health = HP | |
1972 | Humanoid.WalkSpeed = WS | |
1973 | wait(1) | |
1974 | bodyholder.Torso.CFrame = CFrame.new(SpawnPos.Value) | |
1975 | Humanoid.Health = HP | |
1976 | script.Parent = Character | |
1977 | ||
1978 | ||
1979 | ||
1980 | repeat | |
1981 | wait(0.1) | |
1982 | FindTarget() | |
1983 | if Target ~= nil then | |
1984 | BG.cframe = CFrame.new(Torso.Position,Target.Torso.Position) * CFrame.Angles(0,math.rad(BGSpin),0) | |
1985 | local mag = (Torso.Position-Target.Torso.Position).magnitude | |
1986 | if mag <= 400 then | |
1987 | Attackk(mag) | |
1988 | end | |
1989 | -- | |
1990 | pcall(function() | |
1991 | Humanoid:MoveTo(Target.Torso.Position + CFrame.new(Torso.Position,Target.Torso.Position).lookVector * -25,Target.Torso) | |
1992 | end) | |
1993 | if Target.Torso.Position.y > Torso.Position.y+5 then | |
1994 | coroutine.resume(coroutine.create(Jump)) | |
1995 | end | |
1996 | -- | |
1997 | else | |
1998 | BG.cframe = Torso.cframe | |
1999 | Humanoid:MoveTo(Torso.Position,Torso) | |
2000 | end | |
2001 | if true then | |
2002 | if (Torso.Velocity * Vector3.new(1,0,1)).magnitude > 2 then | |
2003 | coroutine.resume(coroutine.create(Walk)) | |
2004 | walking = true | |
2005 | elseif (Torso.Velocity * Vector3.new(1,0,1)).magnitude < 2 then | |
2006 | walking = false | |
2007 | end | |
2008 | else | |
2009 | walking = false | |
2010 | end | |
2011 | until Humanoid.Health <= 0 | |
2012 | wait(5) | |
2013 | Character.Parent = nil | |
2014 | --mediafire |