SHOW:
|
|
- or go back to the newest paste.
1 | Player = game.Players.Spiderking765 | |
2 | - | 1.Player = game.Players.Spiderking765 |
2 | + | |
3 | 2.Char = Player.Character | |
4 | ||
5 | ||
6 | 3.Head = Char.Head | |
7 | ||
8 | ||
9 | 4.Torso = Char.Torso | |
10 | ||
11 | ||
12 | 5.h = Char.Humanoid | |
13 | ||
14 | ||
15 | 6.necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
16 | ||
17 | ||
18 | 7.local gairo = Instance.new("BodyGyro") | |
19 | ||
20 | ||
21 | 8.gairo.Parent = nil | |
22 | ||
23 | ||
24 | 9.if Char:findFirstChild("Weapon",true) ~= nil then | |
25 | ||
26 | ||
27 | 10.Char:findFirstChild("Weapon",true).Parent = nil | |
28 | ||
29 | ||
30 | 11.end | |
31 | ||
32 | ||
33 | 12.bets = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "} | |
34 | ||
35 | ||
36 | 13.--col = {"Really red,"white"} | |
37 | ||
38 | ||
39 | 14.--col = {"Really white","Really white","red"} | |
40 | ||
41 | ||
42 | 15.col = {"Really red","Really white","Really red"} | |
43 | ||
44 | ||
45 | 16.Anims = {} | |
46 | ||
47 | ||
48 | 17.act = {key = {}} | |
49 | ||
50 | ||
51 | 18.for i=1,#bets do table.insert(act.key,bets) end | |
52 | ||
53 | ||
54 | 19.act.mousedown = false | |
55 | ||
56 | ||
57 | 20.act.keydown = false | |
58 | ||
59 | ||
60 | 21.act.Walking = false | |
61 | ||
62 | ||
63 | 22.act.Jumping = false | |
64 | ||
65 | ||
66 | 23.act.Anim = "" | |
67 | ||
68 | ||
69 | 24.hitted=false | |
70 | ||
71 | ||
72 | 25.roflcopter=false | |
73 | ||
74 | ||
75 | 26.bodypos=Instance.new("BodyPosition") | |
76 | ||
77 | ||
78 | 27.holdshoot=false | |
79 | ||
80 | ||
81 | 28.Prop = {} | |
82 | ||
83 | ||
84 | 29.difficulty=0.05 | |
85 | ||
86 | ||
87 | 30.Prop.LegLength = 5 | |
88 | ||
89 | ||
90 | 31.Prop.LegWide = 1 | |
91 | ||
92 | ||
93 | 32.Prop.BallSize = 0.9 | |
94 | ||
95 | ||
96 | 33.--[[difficulty=0.1 | |
97 | ||
98 | ||
99 | 34.Prop.LegLength = 4 | |
100 | ||
101 | ||
102 | 35.Prop.LegWide = 0.8 | |
103 | ||
104 | ||
105 | 36.Prop.BallSize = 1 | |
106 | ||
107 | ||
108 | 37.difficulty=0.01 | |
109 | ||
110 | ||
111 | 38.Prop.LegLength = 50 | |
112 | ||
113 | ||
114 | 39.Prop.LegWide = 10 | |
115 | ||
116 | ||
117 | 40.Prop.BallSize = 10.3 | |
118 | ||
119 | ||
120 | 41.Prop.LegLength = 150 | |
121 | ||
122 | ||
123 | 42.Prop.LegWide = 60 | |
124 | ||
125 | ||
126 | 43.Prop.BallSize = 60.3]] | |
127 | ||
128 | ||
129 | 44.coroutine.resume(coroutine.create(function() | |
130 | ||
131 | ||
132 | 45.for i=0,50 do | |
133 | ||
134 | ||
135 | 46.wait() | |
136 | ||
137 | ||
138 | 47.h.WalkSpeed=18 | |
139 | ||
140 | ||
141 | 48.--h.WalkSpeed=5 | |
142 | ||
143 | ||
144 | 49.walksped=h.WalkSpeed | |
145 | ||
146 | ||
147 | 50.h.MaxHealth=math.huge | |
148 | ||
149 | ||
150 | 51.h.Health=math.huge | |
151 | ||
152 | ||
153 | 52.end | |
154 | ||
155 | ||
156 | 53.end)) | |
157 | ||
158 | ||
159 | 54.Spider = {w = {}} | |
160 | ||
161 | ||
162 | 55.attack = false | |
163 | ||
164 | ||
165 | 56.attackdebounce = false | |
166 | ||
167 | ||
168 | 57.it = Instance.new | |
169 | ||
170 | ||
171 | 58.bc = BrickColor.new | |
172 | ||
173 | ||
174 | 59.v3 = Vector3.new | |
175 | ||
176 | ||
177 | 60.cf = CFrame.new | |
178 | ||
179 | ||
180 | 61.ca = CFrame.Angles | |
181 | ||
182 | ||
183 | 62.pi = math.pi | |
184 | ||
185 | ||
186 | 63.rd = math.rad | |
187 | ||
188 | ||
189 | 64.br = BrickColor.new | |
190 | ||
191 | ||
192 | 65.function r(pa,ob) | |
193 | ||
194 | ||
195 | 66.pcall(function() pa[ob]:Remove() end) | |
196 | ||
197 | ||
198 | 67.end | |
199 | ||
200 | ||
201 | 68.function p(pa,sh,x,y,z,c,a,tr,re,bc) | |
202 | ||
203 | ||
204 | 69.local fp = it("Part",pa) | |
205 | ||
206 | ||
207 | 70.fp.formFactor = "Custom" | |
208 | ||
209 | ||
210 | 71.fp.Shape = sh | |
211 | ||
212 | ||
213 | 72.fp.Size = v3(x,y,z) | |
214 | ||
215 | ||
216 | 73.fp.CanCollide = c | |
217 | ||
218 | ||
219 | 74.fp.Anchored = false | |
220 | ||
221 | ||
222 | 75.fp.BrickColor = br(bc) | |
223 | ||
224 | ||
225 | 76.fp.Transparency = tr | |
226 | ||
227 | ||
228 | 77.fp.Reflectance = re | |
229 | ||
230 | ||
231 | 78.fp.BottomSurface = 0 | |
232 | ||
233 | ||
234 | 79.fp.TopSurface = 0 | |
235 | ||
236 | ||
237 | 80.fp.CFrame = Torso.CFrame + Vector3.new(0,50,0) | |
238 | ||
239 | ||
240 | 81.fp.Velocity = Vector3.new(0,10,0) | |
241 | ||
242 | ||
243 | 82.fp:BreakJoints() | |
244 | ||
245 | ||
246 | 83.return fp | |
247 | ||
248 | ||
249 | 84.end | |
250 | ||
251 | ||
252 | 85.function weld(pa,p0,p1,x,y,z,a,b,c) | |
253 | ||
254 | ||
255 | 86.local fw = it("Weld",pa) | |
256 | ||
257 | ||
258 | 87.fw.Part0 = p0 fw.Part1 = p1 | |
259 | ||
260 | ||
261 | 88.fw.C0 = cf(x,y,z) *ca(a,b,c) | |
262 | ||
263 | ||
264 | 89.return fw | |
265 | ||
266 | ||
267 | 90.end | |
268 | ||
269 | ||
270 | 91.function spm(ty,pa,ss) | |
271 | ||
272 | ||
273 | 92.local sp = it("SpecialMesh",pa) | |
274 | ||
275 | ||
276 | 93.sp.MeshType = ty | |
277 | ||
278 | ||
279 | 94.sp.Scale = Vector3.new(ss,ss,ss) | |
280 | ||
281 | ||
282 | 95.end | |
283 | ||
284 | ||
285 | 96.pcall(function() Torso.Spider:Remove() end) | |
286 | ||
287 | ||
288 | 97.wait(0.1) | |
289 | ||
290 | ||
291 | 98.pack = it("Model",Torso) | |
292 | ||
293 | ||
294 | 99.pack.Name = "Spider" | |
295 | ||
296 | ||
297 | 100.Spider.Back = p(pack,"Block",1.2,1.7,0.5,false,false,0,0,col[1]) | |
298 | ||
299 | ||
300 | 101.--Right Arm | |
301 | ||
302 | ||
303 | 102.Spider.RAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb1,Prop.BallSize) | |
304 | ||
305 | ||
306 | 103.Spider.w.RAb1 = weld(Spider.RAb1,Spider.Back,Spider.RAb1,0.5,0.6,0.35,0,0,0) Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
307 | ||
308 | ||
309 | 104.Spider.RAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
310 | ||
311 | ||
312 | 105.Spider.w.RAa1 = weld(Spider.RAa1,Spider.RAb1,Spider.RAa1,0,Prop.LegLength/2,0,0,0,0) | |
313 | ||
314 | ||
315 | 106.Spider.RAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb2,Prop.BallSize) | |
316 | ||
317 | ||
318 | 107.Spider.w.RAb2 = weld(Spider.RAb2,Spider.RAa1,Spider.RAb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
319 | ||
320 | ||
321 | 108.Spider.RAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
322 | ||
323 | ||
324 | 109.Spider.w.RAa2 = weld(Spider.RAa2,Spider.RAb2,Spider.RAa2,0,Prop.LegLength/2,0,0,0,0) | |
325 | ||
326 | ||
327 | 110.--Left Arm | |
328 | ||
329 | ||
330 | 111.Spider.LAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb1,Prop.BallSize) | |
331 | ||
332 | ||
333 | 112.Spider.w.LAb1 = weld(Spider.LAb1,Spider.Back,Spider.LAb1,-0.5,0.6,0.35,0,0,0) Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
334 | ||
335 | ||
336 | 113.Spider.LAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
337 | ||
338 | ||
339 | 114.Spider.w.LAa1 = weld(Spider.LAa1,Spider.LAb1,Spider.LAa1,0,Prop.LegLength/2,0,0,0,0) | |
340 | ||
341 | ||
342 | 115.Spider.LAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb2,Prop.BallSize) | |
343 | ||
344 | ||
345 | 116.Spider.w.LAb2 = weld(Spider.LAb2,Spider.LAa1,Spider.LAb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
346 | ||
347 | ||
348 | 117.Spider.LAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
349 | ||
350 | ||
351 | 118.Spider.w.LAa2 = weld(Spider.LAa2,Spider.LAb2,Spider.LAa2,0,Prop.LegLength/2,0,0,0,0) | |
352 | ||
353 | ||
354 | 119.--Upper Right | |
355 | ||
356 | ||
357 | 120.Spider.URb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb1,Prop.BallSize) | |
358 | ||
359 | ||
360 | 121.Spider.w.URb1 = weld(Spider.URb1,Spider.Back,Spider.URb1,0.5,-0.6,0.35,0,0,0) Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) | |
361 | ||
362 | ||
363 | 122.Spider.URa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
364 | ||
365 | ||
366 | 123.Spider.w.URa1 = weld(Spider.URa1,Spider.URb1,Spider.URa1,0,Prop.LegLength/2,0,0,0,0) | |
367 | ||
368 | ||
369 | 124.Spider.URb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb2,Prop.BallSize) | |
370 | ||
371 | ||
372 | 125.Spider.w.URb2 = weld(Spider.URb2,Spider.URa1,Spider.URb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
373 | ||
374 | ||
375 | 126.Spider.URa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
376 | ||
377 | ||
378 | 127.Spider.w.URa2 = weld(Spider.URa2,Spider.URb2,Spider.URa2,0,Prop.LegLength/2,0,0,0,0) | |
379 | ||
380 | ||
381 | 128.--Upper Left | |
382 | ||
383 | ||
384 | 129.Spider.ULb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb1,Prop.BallSize) | |
385 | ||
386 | ||
387 | 130.Spider.w.ULb1 = weld(Spider.ULb1,Spider.Back,Spider.ULb1,-0.5,-0.6,0.35,0,0,0) Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
388 | ||
389 | ||
390 | 131.Spider.ULa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
391 | ||
392 | ||
393 | 132.Spider.w.ULa1 = weld(Spider.ULa1,Spider.ULb1,Spider.ULa1,0,Prop.LegLength/2,0,0,0,0) | |
394 | ||
395 | ||
396 | 133.Spider.ULb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb2,Prop.BallSize) | |
397 | ||
398 | ||
399 | 134.Spider.w.ULb2 = weld(Spider.ULb2,Spider.ULa1,Spider.ULb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
400 | ||
401 | ||
402 | 135.Spider.ULa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
403 | ||
404 | ||
405 | 136.Spider.w.ULa2 = weld(Spider.ULa2,Spider.ULb2,Spider.ULa2,0,Prop.LegLength/2,0,0,0,0) | |
406 | ||
407 | ||
408 | 137.--Lower Right | |
409 | ||
410 | ||
411 | 138.Spider.LRb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb1,Prop.BallSize) | |
412 | ||
413 | ||
414 | 139.Spider.w.LRb1 = weld(Spider.LRb1,Spider.Back,Spider.LRb1,0.5,-0.6,0.35,0,0,0) Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) | |
415 | ||
416 | ||
417 | 140.Spider.LRa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
418 | ||
419 | ||
420 | 141.Spider.w.LRa1 = weld(Spider.LRa1,Spider.LRb1,Spider.LRa1,0,Prop.LegLength/2,0,0,0,0) | |
421 | ||
422 | ||
423 | 142.Spider.LRb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb2,Prop.BallSize) | |
424 | ||
425 | ||
426 | 143.Spider.w.LRb2 = weld(Spider.LRb2,Spider.LRa1,Spider.LRb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0) | |
427 | ||
428 | ||
429 | 144.Spider.LRa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
430 | ||
431 | ||
432 | 145.Spider.w.LRa2 = weld(Spider.LRa2,Spider.LRb2,Spider.LRa2,0,Prop.LegLength/2,0,0,0,0) | |
433 | ||
434 | ||
435 | 146.--Lower Left | |
436 | ||
437 | ||
438 | 147.Spider.LLb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb1,Prop.BallSize) | |
439 | ||
440 | ||
441 | 148.Spider.w.LLb1 = weld(Spider.LLb1,Spider.Back,Spider.LLb1,-0.5,-0.6,0.35,0,0,0) Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0) | |
442 | ||
443 | ||
444 | 149.Spider.LLa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
445 | ||
446 | ||
447 | 150.Spider.w.LLa1 = weld(Spider.LLa1,Spider.LLb1,Spider.LLa1,0,Prop.LegLength/2,0,0,0,0) | |
448 | ||
449 | ||
450 | 151.Spider.LLb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb2,Prop.BallSize) | |
451 | ||
452 | ||
453 | 152.Spider.w.LLb2 = weld(Spider.LLb2,Spider.LLa1,Spider.LLb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0) | |
454 | ||
455 | ||
456 | 153.Spider.LLa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
457 | ||
458 | ||
459 | 154.Spider.w.LLa2 = weld(Spider.LLa2,Spider.LLb2,Spider.LLa2,0,Prop.LegLength/2,0,0,0,0) | |
460 | ||
461 | ||
462 | 155.local prt1 = Instance.new("Part") | |
463 | ||
464 | ||
465 | 156.prt1.formFactor = 1 | |
466 | ||
467 | ||
468 | 157.prt1.Parent = pack | |
469 | ||
470 | ||
471 | 158.prt1.CanCollide = false | |
472 | ||
473 | ||
474 | 159.prt1.BrickColor = br(col[1]) | |
475 | ||
476 | ||
477 | 160.prt1.Name = "Part1" | |
478 | ||
479 | ||
480 | 161.prt1.Size = Vector3.new(1,1,1) | |
481 | ||
482 | ||
483 | 162.prt1.Position = Torso.Position | |
484 | ||
485 | ||
486 | 163.local prt2 = Instance.new("Part") | |
487 | ||
488 | ||
489 | 164.prt2.formFactor = 1 | |
490 | ||
491 | ||
492 | 165.prt2.Parent = pack | |
493 | ||
494 | ||
495 | 166.prt2.CanCollide = false | |
496 | ||
497 | ||
498 | 167.prt2.BrickColor = BrickColor.new("Really red") | |
499 | ||
500 | ||
501 | 168.prt2.Name = "Part2" | |
502 | ||
503 | ||
504 | 169.prt2.Reflectance=0.3 | |
505 | ||
506 | ||
507 | 170.prt2.Size = Vector3.new(1,2,1) | |
508 | ||
509 | ||
510 | 171.prt2.Position = Torso.Position | |
511 | ||
512 | ||
513 | 172.local prt3 = Instance.new("Part") | |
514 | ||
515 | ||
516 | 173.prt3.formFactor = 1 | |
517 | ||
518 | ||
519 | 174.prt3.Parent = pack | |
520 | ||
521 | ||
522 | 175.prt3.CanCollide = false | |
523 | ||
524 | ||
525 | 176.prt3.BrickColor = BrickColor.new("Medium stone grey") | |
526 | ||
527 | ||
528 | 177.prt3.Name = "Part3" | |
529 | ||
530 | ||
531 | 178.prt3.Reflectance=0.6 | |
532 | ||
533 | ||
534 | 179.prt3.Size = Vector3.new(1,2,1) | |
535 | ||
536 | ||
537 | 180.prt3.Position = Torso.Position | |
538 | ||
539 | ||
540 | 181.local prt4 = Instance.new("Part") | |
541 | ||
542 | ||
543 | 182.prt4.formFactor = 1 | |
544 | ||
545 | ||
546 | 183.prt4.Parent = pack | |
547 | ||
548 | ||
549 | 184.prt4.CanCollide = false | |
550 | ||
551 | ||
552 | 185.prt4.BrickColor = BrickColor.new("Really red") | |
553 | ||
554 | ||
555 | 186.prt4.Name = "Part4" | |
556 | ||
557 | ||
558 | 187.prt4.Reflectance=0.3 | |
559 | ||
560 | ||
561 | 188.prt4.Size = Vector3.new(1,1,1) | |
562 | ||
563 | ||
564 | 189.prt4.Position = Torso.Position | |
565 | ||
566 | ||
567 | 190.local prt5 = Instance.new("Part") | |
568 | ||
569 | ||
570 | 191.prt5.formFactor = 1 | |
571 | ||
572 | ||
573 | 192.prt5.Parent = pack | |
574 | ||
575 | ||
576 | 193.prt5.CanCollide = false | |
577 | ||
578 | ||
579 | 194.prt5.BrickColor = br(col[1]) | |
580 | ||
581 | ||
582 | 195.prt5.Name = "Part5" | |
583 | ||
584 | ||
585 | 196.prt5.Size = Vector3.new(1,1,1) | |
586 | ||
587 | ||
588 | 197.prt5.Position = Torso.Position | |
589 | ||
590 | ||
591 | 198.local prt6 = Instance.new("Part") | |
592 | ||
593 | ||
594 | 199.prt6.formFactor = 1 | |
595 | ||
596 | ||
597 | 200.prt6.Parent = pack | |
598 | ||
599 | ||
600 | 201.prt6.CanCollide = false | |
601 | ||
602 | ||
603 | 202.prt6.BrickColor = br(col[1]) | |
604 | ||
605 | ||
606 | 203.prt6.Name = "Part6" | |
607 | ||
608 | ||
609 | 204.prt6.Size = Vector3.new(1,1,1) | |
610 | ||
611 | ||
612 | 205.prt6.Position = Torso.Position | |
613 | ||
614 | ||
615 | 206.local prt7 = Instance.new("Part") | |
616 | ||
617 | ||
618 | 207.prt7.formFactor = 1 | |
619 | ||
620 | ||
621 | 208.prt7.Parent = pack | |
622 | ||
623 | ||
624 | 209.prt7.CanCollide = false | |
625 | ||
626 | ||
627 | 210.prt7.BrickColor = BrickColor.new("Really black") | |
628 | ||
629 | ||
630 | 211.prt7.Name = "Part7" | |
631 | ||
632 | ||
633 | 212.prt7.Size = Vector3.new(1,1,1) | |
634 | ||
635 | ||
636 | 213.prt7.Position = Torso.Position | |
637 | ||
638 | ||
639 | 214.local prt8 = Instance.new("Part") | |
640 | ||
641 | ||
642 | 215.prt8.formFactor = 1 | |
643 | ||
644 | ||
645 | 216.prt8.Parent = pack | |
646 | ||
647 | ||
648 | 217.prt8.CanCollide = false | |
649 | ||
650 | ||
651 | 218.prt8.BrickColor = br(col[1]) | |
652 | ||
653 | ||
654 | 219.prt8.Name = "Part8" | |
655 | ||
656 | ||
657 | 220.prt8.Size = Vector3.new(1,1,1) | |
658 | ||
659 | ||
660 | 221.prt8.Position = Torso.Position | |
661 | ||
662 | ||
663 | 222.local prt9 = Instance.new("Part") | |
664 | ||
665 | ||
666 | 223.prt9.formFactor = 1 | |
667 | ||
668 | ||
669 | 224.prt9.Parent = pack | |
670 | ||
671 | ||
672 | 225.prt9.CanCollide = false | |
673 | ||
674 | ||
675 | 226.prt9.BrickColor = br(col[1]) | |
676 | ||
677 | ||
678 | 227.prt9.Name = "Part9" | |
679 | ||
680 | ||
681 | 228.prt9.Size = Vector3.new(1,1,1) | |
682 | ||
683 | ||
684 | 229.prt9.Position = Torso.Position | |
685 | ||
686 | ||
687 | 230.local prt10 = Instance.new("Part") | |
688 | ||
689 | ||
690 | 231.prt10.formFactor = 1 | |
691 | ||
692 | ||
693 | 232.prt10.Parent = pack | |
694 | ||
695 | ||
696 | 233.prt10.CanCollide = false | |
697 | ||
698 | ||
699 | 234.prt10.BrickColor = br(col[1]) | |
700 | ||
701 | ||
702 | 235.prt10.Name = "Part10" | |
703 | ||
704 | ||
705 | 236.prt10.Size = Vector3.new(1,1,1) | |
706 | ||
707 | ||
708 | 237.prt10.Position = Torso.Position | |
709 | ||
710 | ||
711 | 238.local prt11 = Instance.new("Part") | |
712 | ||
713 | ||
714 | 239.prt11.formFactor = 1 | |
715 | ||
716 | ||
717 | 240.prt11.Parent = pack | |
718 | ||
719 | ||
720 | 241.prt11.CanCollide = false | |
721 | ||
722 | ||
723 | 242.prt11.BrickColor = br(col[1]) | |
724 | ||
725 | ||
726 | 243.prt11.Name = "Part11" | |
727 | ||
728 | ||
729 | 244.prt11.Size = Vector3.new(1,1,1) | |
730 | ||
731 | ||
732 | 245.prt11.Position = Torso.Position | |
733 | ||
734 | ||
735 | 246.local prt12 = Instance.new("Part") | |
736 | ||
737 | ||
738 | 247.prt12.formFactor = 1 | |
739 | ||
740 | ||
741 | 248.prt12.Parent = pack | |
742 | ||
743 | ||
744 | 249.prt12.CanCollide = false | |
745 | ||
746 | ||
747 | 250.prt12.BrickColor = br(col[1]) | |
748 | ||
749 | ||
750 | 251.prt12.Name = "Part12" | |
751 | ||
752 | ||
753 | 252.prt12.Size = Vector3.new(1,1,1) | |
754 | ||
755 | ||
756 | 253.prt12.Position = Torso.Position | |
757 | ||
758 | ||
759 | 254.local msh1 = Instance.new("BlockMesh") | |
760 | ||
761 | ||
762 | 255.msh1.Parent = prt1 | |
763 | ||
764 | ||
765 | 256.--msh1.Scale = Vector3.new(0.9,0.8,3) | |
766 | ||
767 | ||
768 | 257.msh1.Scale = Vector3.new(Prop.LegWide/0.9,Prop.LegWide/1,Prop.LegLength/1.3) | |
769 | ||
770 | ||
771 | 258.local msh2 = Instance.new("BlockMesh") | |
772 | ||
773 | ||
774 | 259.msh2.Parent = prt2 | |
775 | ||
776 | ||
777 | 260.--msh2.Scale = Vector3.new(0.3,2.5,1) | |
778 | ||
779 | ||
780 | 261.msh2.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/1.6,Prop.LegWide*1.3) | |
781 | ||
782 | ||
783 | 262.local msh3 = Instance.new("BlockMesh") | |
784 | ||
785 | ||
786 | 263.msh3.Parent = prt3 | |
787 | ||
788 | ||
789 | 264.--msh3.Scale = Vector3.new(0.1,2.6,1.5) | |
790 | ||
791 | ||
792 | 265.msh3.Scale = Vector3.new(Prop.LegWide/6,Prop.LegLength/1.6,Prop.LegWide*1.9) | |
793 | ||
794 | ||
795 | 266.local msh4 = Instance.new("SpecialMesh") | |
796 | ||
797 | ||
798 | 267.msh4.Parent = prt4 | |
799 | ||
800 | ||
801 | 268.msh4.MeshType = "Wedge" | |
802 | ||
803 | ||
804 | 269.--msh4.Scale = Vector3.new(0.3,2,1) | |
805 | ||
806 | ||
807 | 270.msh4.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/2,Prop.LegWide*1.3) | |
808 | ||
809 | ||
810 | 271.local msh5 = Instance.new("CylinderMesh") | |
811 | ||
812 | ||
813 | 272.msh5.Parent = prt5 | |
814 | ||
815 | ||
816 | 273.--msh5.Scale = Vector3.new(1.5,1,1.5) | |
817 | ||
818 | ||
819 | 274.msh5.Scale = Vector3.new(Prop.LegWide*2,Prop.LegLength/4,Prop.LegWide*2) | |
820 | ||
821 | ||
822 | 275.local msh6 = Instance.new("CylinderMesh") | |
823 | ||
824 | ||
825 | 276.msh6.Parent = prt6 | |
826 | ||
827 | ||
828 | 277.--msh6.Scale = Vector3.new(2.5,1.6,2.5) | |
829 | ||
830 | ||
831 | 278.msh6.Scale = Vector3.new(Prop.LegWide*3.1,Prop.LegLength/2.5,Prop.LegWide*3.1) | |
832 | ||
833 | ||
834 | 279.local msh7 = Instance.new("CylinderMesh") | |
835 | ||
836 | ||
837 | 280.msh7.Parent = prt7 | |
838 | ||
839 | ||
840 | 281.--msh7.Scale = Vector3.new(1.4,1.7,1.4) | |
841 | ||
842 | ||
843 | 282.msh7.Scale = Vector3.new(Prop.LegWide*1.8,Prop.LegLength/2.3,Prop.LegWide*1.8) | |
844 | ||
845 | ||
846 | 283.local msh8 = Instance.new("BlockMesh") | |
847 | ||
848 | ||
849 | 284.msh8.Parent = prt8 | |
850 | ||
851 | ||
852 | 285.--msh8.Scale = Vector3.new(0.5,2,0.5) | |
853 | ||
854 | ||
855 | 286.msh8.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) | |
856 | ||
857 | ||
858 | 287.local msh9 = Instance.new("BlockMesh") | |
859 | ||
860 | ||
861 | 288.msh9.Parent = prt9 | |
862 | ||
863 | ||
864 | 289.--msh9.Scale = Vector3.new(0.5,2,0.5) | |
865 | ||
866 | ||
867 | 290.msh9.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) | |
868 | ||
869 | ||
870 | 291.local msh10 = Instance.new("BlockMesh") | |
871 | ||
872 | ||
873 | 292.msh10.Parent = prt10 | |
874 | ||
875 | ||
876 | 293.--msh10.Scale = Vector3.new(0.5,2,0.5) | |
877 | ||
878 | ||
879 | 294.msh10.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) | |
880 | ||
881 | ||
882 | 295.local msh11 = Instance.new("BlockMesh") | |
883 | ||
884 | ||
885 | 296.msh11.Parent = prt11 | |
886 | ||
887 | ||
888 | 297.--msh11.Scale = Vector3.new(0.5,2,0.5) | |
889 | ||
890 | ||
891 | 298.msh11.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) | |
892 | ||
893 | ||
894 | 299.local msh12 = Instance.new("BlockMesh") | |
895 | ||
896 | ||
897 | 300.msh12.Parent = prt12 | |
898 | ||
899 | ||
900 | 301.--msh12.Scale = Vector3.new(0.5,2,0.5) | |
901 | ||
902 | ||
903 | 302.msh12.Scale = Vector3.new(0,0,0) | |
904 | ||
905 | ||
906 | 303.local wld1 = Instance.new("Weld") | |
907 | ||
908 | ||
909 | 304.wld1.Parent = prt1 | |
910 | ||
911 | ||
912 | 305.wld1.Part0 = prt1 | |
913 | ||
914 | ||
915 | 306.wld1.Part1 = Spider.RAa2 | |
916 | ||
917 | ||
918 | 307.--wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.5,0) | |
919 | ||
920 | ||
921 | 308.wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/6,0) | |
922 | ||
923 | ||
924 | 309.local wld2 = Instance.new("Weld") | |
925 | ||
926 | ||
927 | 310.wld2.Parent = prt2 | |
928 | ||
929 | ||
930 | 311.wld2.Part0 = prt2 | |
931 | ||
932 | ||
933 | 312.wld2.Part1 = prt1 | |
934 | ||
935 | ||
936 | 313.--wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0) | |
937 | ||
938 | ||
939 | 314.wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0) | |
940 | ||
941 | ||
942 | 315.local wld3 = Instance.new("Weld") | |
943 | ||
944 | ||
945 | 316.wld3.Parent = prt3 | |
946 | ||
947 | ||
948 | 317.wld3.Part0 = prt3 | |
949 | ||
950 | ||
951 | 318.wld3.Part1 = prt1 | |
952 | ||
953 | ||
954 | 319.--wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0) | |
955 | ||
956 | ||
957 | 320.wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0) | |
958 | ||
959 | ||
960 | 321.local wld4 = Instance.new("Weld") | |
961 | ||
962 | ||
963 | 322.wld4.Parent = prt4 | |
964 | ||
965 | ||
966 | 323.wld4.Part0 = prt4 | |
967 | ||
968 | ||
969 | 324.wld4.Part1 = prt2 | |
970 | ||
971 | ||
972 | 325.wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-4.2,0) | |
973 | ||
974 | ||
975 | 326.wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.1,0) | |
976 | ||
977 | ||
978 | 327.local wld5 = Instance.new("Weld") | |
979 | ||
980 | ||
981 | 328.wld5.Parent = prt5 | |
982 | ||
983 | ||
984 | 329.wld5.Part0 = prt5 | |
985 | ||
986 | ||
987 | 330.wld5.Part1 = Spider.LAa2 | |
988 | ||
989 | ||
990 | 331.--wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2.5,0) | |
991 | ||
992 | ||
993 | 332.wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.6,0) | |
994 | ||
995 | ||
996 | 333.local wld6 = Instance.new("Weld") | |
997 | ||
998 | ||
999 | 334.wld6.Parent = prt6 | |
1000 | ||
1001 | ||
1002 | 335.wld6.Part0 = prt6 | |
1003 | ||
1004 | ||
1005 | 336.wld6.Part1 = prt5 | |
1006 | ||
1007 | ||
1008 | 337.--wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0) | |
1009 | ||
1010 | ||
1011 | 338.wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/2.6,0) | |
1012 | ||
1013 | ||
1014 | 339.local wld7 = Instance.new("Weld") | |
1015 | ||
1016 | ||
1017 | 340.wld7.Parent = prt7 | |
1018 | ||
1019 | ||
1020 | 341.wld7.Part0 = prt7 | |
1021 | ||
1022 | ||
1023 | 342.wld7.Part1 = prt6 | |
1024 | ||
1025 | ||
1026 | 343.wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
1027 | ||
1028 | ||
1029 | 344.local wld8 = Instance.new("Weld") | |
1030 | ||
1031 | ||
1032 | 345.wld8.Parent = prt8 | |
1033 | ||
1034 | ||
1035 | 346.wld8.Part0 = prt8 | |
1036 | ||
1037 | ||
1038 | 347.wld8.Part1 = prt6 | |
1039 | ||
1040 | ||
1041 | 348.--wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(1.5,-1,0) | |
1042 | ||
1043 | ||
1044 | 349.wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(Prop.LegWide*2,-Prop.LegLength/4,0) | |
1045 | ||
1046 | ||
1047 | 350.local wld9 = Instance.new("Weld") | |
1048 | ||
1049 | ||
1050 | 351.wld9.Parent = prt9 | |
1051 | ||
1052 | ||
1053 | 352.wld9.Part0 = prt9 | |
1054 | ||
1055 | ||
1056 | 353.wld9.Part1 = prt6 | |
1057 | ||
1058 | ||
1059 | 354.--wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-1.5,-1,0) | |
1060 | ||
1061 | ||
1062 | 355.wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-Prop.LegWide*2,-Prop.LegLength/4,0) | |
1063 | ||
1064 | ||
1065 | 356.local wld10 = Instance.new("Weld") | |
1066 | ||
1067 | ||
1068 | 357.wld10.Parent = prt10 | |
1069 | ||
1070 | ||
1071 | 358.wld10.Part0 = prt10 | |
1072 | ||
1073 | ||
1074 | 359.wld10.Part1 = prt6 | |
1075 | ||
1076 | ||
1077 | 360.--wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-1,-1.5) | |
1078 | ||
1079 | ||
1080 | 361.wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,-Prop.LegWide*2) | |
1081 | ||
1082 | ||
1083 | 362.local wld11 = Instance.new("Weld") | |
1084 | ||
1085 | ||
1086 | 363.wld11.Parent = prt11 | |
1087 | ||
1088 | ||
1089 | 364.wld11.Part0 = prt11 | |
1090 | ||
1091 | ||
1092 | 365.wld11.Part1 = prt6 | |
1093 | ||
1094 | ||
1095 | 366.--wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-1,1.5) | |
1096 | ||
1097 | ||
1098 | 367.wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,Prop.LegWide*2) | |
1099 | ||
1100 | ||
1101 | 368.local wld12 = Instance.new("Weld") | |
1102 | ||
1103 | ||
1104 | 369.wld12.Parent = prt12 | |
1105 | ||
1106 | ||
1107 | 370.wld12.Part0 = prt12 | |
1108 | ||
1109 | ||
1110 | 371.wld12.Part1 = prt6 | |
1111 | ||
1112 | ||
1113 | 372.--wld12.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,0,0) | |
1114 | ||
1115 | ||
1116 | 373.wld12.C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0) | |
1117 | ||
1118 | ||
1119 | 374.wait() | |
1120 | ||
1121 | ||
1122 | 375.Spider.w.Back = weld(Spider.Back,Torso,Spider.Back,0,0,0.5,0,0,0) | |
1123 | ||
1124 | ||
1125 | 376.wait() | |
1126 | ||
1127 | ||
1128 | 377.Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0) | |
1129 | ||
1130 | ||
1131 | 378.function Anim() | |
1132 | ||
1133 | ||
1134 | 379.attack=true | |
1135 | ||
1136 | ||
1137 | 380.for i=0,1,0.1 do | |
1138 | ||
1139 | ||
1140 | 381.wait() | |
1141 | ||
1142 | ||
1143 | 382.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(70-(70*i)),0) | |
1144 | ||
1145 | ||
1146 | 383.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(40+(50*i)),0) | |
1147 | ||
1148 | ||
1149 | 384.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(-70+(70*i)),0) | |
1150 | ||
1151 | ||
1152 | 385.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(-40-(50*i)),0) | |
1153 | ||
1154 | ||
1155 | 386.end | |
1156 | ||
1157 | ||
1158 | 387.bodypos=Instance.new("BodyPosition") | |
1159 | ||
1160 | ||
1161 | 388.bodypos.P=500 | |
1162 | ||
1163 | ||
1164 | 389.bodypos.D=100 | |
1165 | ||
1166 | ||
1167 | 390.bodypos.maxForce=Vector3.new(0,math.huge,0) | |
1168 | ||
1169 | ||
1170 | 391.bodypos.position=Head.Position+Vector3.new(0,50,0) | |
1171 | ||
1172 | ||
1173 | 392.bodypos.Parent=Head | |
1174 | ||
1175 | ||
1176 | 393.while roflcopter==true do | |
1177 | ||
1178 | ||
1179 | 394.for i = 0,1,0.1 do | |
1180 | ||
1181 | ||
1182 | 395.wait() | |
1183 | ||
1184 | ||
1185 | 396.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(70-(70)),0) | |
1186 | ||
1187 | ||
1188 | 397.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(90+(360*i)),0) | |
1189 | ||
1190 | ||
1191 | 398.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(-70+(70)),0) | |
1192 | ||
1193 | ||
1194 | 399.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(-90+(360*i)),0) | |
1195 | ||
1196 | ||
1197 | 400.end | |
1198 | ||
1199 | ||
1200 | 401.end | |
1201 | ||
1202 | ||
1203 | 402.bodypos.Parent=nil | |
1204 | ||
1205 | ||
1206 | 403.for i=0,1,0.1 do | |
1207 | ||
1208 | ||
1209 | 404.wait() | |
1210 | ||
1211 | ||
1212 | 405.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(70-(70-70*i)),0) | |
1213 | ||
1214 | ||
1215 | 406.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(90-(50*i)),0) | |
1216 | ||
1217 | ||
1218 | 407.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(-70+(70-70*i)),0) | |
1219 | ||
1220 | ||
1221 | 408.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(-90+(50*i)),0) | |
1222 | ||
1223 | ||
1224 | 409.end | |
1225 | ||
1226 | ||
1227 | 410.attack=false | |
1228 | ||
1229 | ||
1230 | 411.end | |
1231 | ||
1232 | ||
1233 | 412.function RoflCopter() | |
1234 | ||
1235 | ||
1236 | 413.act.Jumping=true | |
1237 | ||
1238 | ||
1239 | 414.for i=0,1,0.1 do | |
1240 | ||
1241 | ||
1242 | 415.wait() | |
1243 | ||
1244 | ||
1245 | 416.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) | |
1246 | ||
1247 | ||
1248 | 417.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0) | |
1249 | ||
1250 | ||
1251 | 418.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
1252 | ||
1253 | ||
1254 | 419.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0) | |
1255 | ||
1256 | ||
1257 | 420.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0) | |
1258 | ||
1259 | ||
1260 | 421.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0) | |
1261 | ||
1262 | ||
1263 | 422.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) | |
1264 | ||
1265 | ||
1266 | 423.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0) | |
1267 | ||
1268 | ||
1269 | 424.end | |
1270 | ||
1271 | ||
1272 | 425.bodypos.P=500 | |
1273 | ||
1274 | ||
1275 | 426.bodypos.D=100 | |
1276 | ||
1277 | ||
1278 | 427.bodypos.maxForce=Vector3.new(0,math.huge,0) | |
1279 | ||
1280 | ||
1281 | 428.bodypos.position=Head.Position+Vector3.new(0,10,0) | |
1282 | ||
1283 | ||
1284 | 429.bodypos.Parent=Head | |
1285 | ||
1286 | ||
1287 | 430.while roflcopter==true do | |
1288 | ||
1289 | ||
1290 | 431.derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1291 | ||
1292 | ||
1293 | 432.derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1294 | ||
1295 | ||
1296 | 433.derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1297 | ||
1298 | ||
1299 | 434.derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1300 | ||
1301 | ||
1302 | 435.for i=0,1,0.1 do | |
1303 | ||
1304 | ||
1305 | 436.wait() | |
1306 | ||
1307 | ||
1308 | 437.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40+360*i),0) | |
1309 | ||
1310 | ||
1311 | 438.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0) | |
1312 | ||
1313 | ||
1314 | 439.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40+360*i),0) | |
1315 | ||
1316 | ||
1317 | 440.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0) | |
1318 | ||
1319 | ||
1320 | 441.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40+360*i),0) | |
1321 | ||
1322 | ||
1323 | 442.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0) | |
1324 | ||
1325 | ||
1326 | 443.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40+360*i),0) | |
1327 | ||
1328 | ||
1329 | 444.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0) | |
1330 | ||
1331 | ||
1332 | 445.end | |
1333 | ||
1334 | ||
1335 | 446.derpcon1:disconnect() | |
1336 | ||
1337 | ||
1338 | 447.derpcon2:disconnect() | |
1339 | ||
1340 | ||
1341 | 448.derpcon3:disconnect() | |
1342 | ||
1343 | ||
1344 | 449.derpcon4:disconnect() | |
1345 | ||
1346 | ||
1347 | 450.end | |
1348 | ||
1349 | ||
1350 | 451.bodypos.Parent=nil | |
1351 | ||
1352 | ||
1353 | 452.for i=0,1,0.1 do | |
1354 | ||
1355 | ||
1356 | 453.wait() | |
1357 | ||
1358 | ||
1359 | 454.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) | |
1360 | ||
1361 | ||
1362 | 455.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0) | |
1363 | ||
1364 | ||
1365 | 456.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
1366 | ||
1367 | ||
1368 | 457.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0) | |
1369 | ||
1370 | ||
1371 | 458.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0) | |
1372 | ||
1373 | ||
1374 | 459.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0) | |
1375 | ||
1376 | ||
1377 | 460.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) | |
1378 | ||
1379 | ||
1380 | 461.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0) | |
1381 | ||
1382 | ||
1383 | 462.end | |
1384 | ||
1385 | ||
1386 | 463.act.Jumping=false | |
1387 | ||
1388 | ||
1389 | 464.end | |
1390 | ||
1391 | ||
1392 | 465.function Shoot() | |
1393 | ||
1394 | ||
1395 | 466.attack=true | |
1396 | ||
1397 | ||
1398 | 467.for i=0,1,0.1 do | |
1399 | ||
1400 | ||
1401 | 468.wait() | |
1402 | ||
1403 | ||
1404 | 469.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1405 | ||
1406 | ||
1407 | 470.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1408 | ||
1409 | ||
1410 | 471.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70),0) | |
1411 | ||
1412 | ||
1413 | 472.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20*i),math.rad(-40+40*i),0) | |
1414 | ||
1415 | ||
1416 | 473.end | |
1417 | ||
1418 | ||
1419 | 474.gairo.Parent = Head | |
1420 | ||
1421 | ||
1422 | 475.gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
1423 | ||
1424 | ||
1425 | 476.gairo.P = 20e+003 | |
1426 | ||
1427 | ||
1428 | 477.gairo.cframe = Head.CFrame | |
1429 | ||
1430 | ||
1431 | 478.for i=0,1,0.1 do | |
1432 | ||
1433 | ||
1434 | 479.wait() | |
1435 | ||
1436 | ||
1437 | 480.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i) | |
1438 | ||
1439 | ||
1440 | 481.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1441 | ||
1442 | ||
1443 | 482.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1444 | ||
1445 | ||
1446 | 483.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20*i),math.rad(-70-20*i),0) | |
1447 | ||
1448 | ||
1449 | 484.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80*i),math.rad(-40+40),0) | |
1450 | ||
1451 | ||
1452 | 485.end | |
1453 | ||
1454 | ||
1455 | 486.wait(0.1) | |
1456 | ||
1457 | ||
1458 | 487.for i = 1,3 do | |
1459 | ||
1460 | ||
1461 | 488.DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) | |
1462 | ||
1463 | ||
1464 | 489.shoottrail2(prt7) | |
1465 | ||
1466 | ||
1467 | 490.wait(0.5) | |
1468 | ||
1469 | ||
1470 | 491.end | |
1471 | ||
1472 | ||
1473 | 492.for i=0,1,0.1 do | |
1474 | ||
1475 | ||
1476 | 493.wait() | |
1477 | ||
1478 | ||
1479 | 494.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57-1.57*i) | |
1480 | ||
1481 | ||
1482 | 495.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1483 | ||
1484 | ||
1485 | 496.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1486 | ||
1487 | ||
1488 | 497.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20+30*i),math.rad(-70-20+20*i),0) | |
1489 | ||
1490 | ||
1491 | 498.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80-100*i),math.rad(-40+40-40*i),0) | |
1492 | ||
1493 | ||
1494 | 499.end | |
1495 | ||
1496 | ||
1497 | 500.gairo.Parent=nil | |
1498 | ||
1499 | ||
1500 | 501.Torso.Neck.C0=necko | |
1501 | ||
1502 | ||
1503 | 502.attack=false | |
1504 | ||
1505 | ||
1506 | 503.end | |
1507 | ||
1508 | ||
1509 | 504.function Shoot2() | |
1510 | ||
1511 | ||
1512 | 505.attack=true | |
1513 | ||
1514 | ||
1515 | 506.for i=0,1,0.1 do | |
1516 | ||
1517 | ||
1518 | 507.wait() | |
1519 | ||
1520 | ||
1521 | 508.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1522 | ||
1523 | ||
1524 | 509.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1525 | ||
1526 | ||
1527 | 510.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60*i),math.rad(-70),0) | |
1528 | ||
1529 | ||
1530 | 511.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15*i),math.rad(-40-60*i),0) | |
1531 | ||
1532 | ||
1533 | 512.end | |
1534 | ||
1535 | ||
1536 | 513.for i=0,0.3,0.1 do | |
1537 | ||
1538 | ||
1539 | 514.wait(0.1) | |
1540 | ||
1541 | ||
1542 | 515.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1543 | ||
1544 | ||
1545 | 516.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1546 | ||
1547 | ||
1548 | 517.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60),math.rad(-70),0) | |
1549 | ||
1550 | ||
1551 | 518.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+40*i),math.rad(-40-60),0) | |
1552 | ||
1553 | ||
1554 | 519.DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) | |
1555 | ||
1556 | ||
1557 | 520.shoottrail2(prt7) | |
1558 | ||
1559 | ||
1560 | 521.end | |
1561 | ||
1562 | ||
1563 | 522.for i=0,1,0.1 do | |
1564 | ||
1565 | ||
1566 | 523.wait() | |
1567 | ||
1568 | ||
1569 | 524.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1570 | ||
1571 | ||
1572 | 525.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1573 | ||
1574 | ||
1575 | 526.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60+60*i),math.rad(-70),0) | |
1576 | ||
1577 | ||
1578 | 527.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+20-55*i),math.rad(-40-60+60*i),0) | |
1579 | ||
1580 | ||
1581 | 528.end | |
1582 | ||
1583 | ||
1584 | 529.attack=false | |
1585 | ||
1586 | ||
1587 | 530.end | |
1588 | ||
1589 | ||
1590 | 531.function Shoot3() | |
1591 | ||
1592 | ||
1593 | 532.attack=true | |
1594 | ||
1595 | ||
1596 | 533.for i=0,1,0.1 do | |
1597 | ||
1598 | ||
1599 | 534.wait() | |
1600 | ||
1601 | ||
1602 | 535.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1603 | ||
1604 | ||
1605 | 536.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1606 | ||
1607 | ||
1608 | 537.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70+70*i),math.rad(90*i)) | |
1609 | ||
1610 | ||
1611 | 538.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60*i),math.rad(-40+40*i),math.rad(3*i)) | |
1612 | ||
1613 | ||
1614 | 539.end | |
1615 | ||
1616 | ||
1617 | 540.for i=0,1,0.1 do | |
1618 | ||
1619 | ||
1620 | 541.wait() | |
1621 | ||
1622 | ||
1623 | 542.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1624 | ||
1625 | ||
1626 | 543.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1627 | ||
1628 | ||
1629 | 544.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60*i),math.rad(-70+70),math.rad(90)) | |
1630 | ||
1631 | ||
1632 | 545.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40*i),math.rad(-40+40),math.rad(3)) | |
1633 | ||
1634 | ||
1635 | 546.DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) | |
1636 | ||
1637 | ||
1638 | 547.shoottrail2(prt7) | |
1639 | ||
1640 | ||
1641 | 548.end | |
1642 | ||
1643 | ||
1644 | 549.for i=0,1,0.1 do | |
1645 | ||
1646 | ||
1647 | 550.wait() | |
1648 | ||
1649 | ||
1650 | 551.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1651 | ||
1652 | ||
1653 | 552.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1654 | ||
1655 | ||
1656 | 553.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60-10*i),math.rad(-70+70-70*i),math.rad(90-90*i)) | |
1657 | ||
1658 | ||
1659 | 554.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40-100*i),math.rad(-40+40-40*i),math.rad(3-3*i)) | |
1660 | ||
1661 | ||
1662 | 555.end | |
1663 | ||
1664 | ||
1665 | 556.attack=false | |
1666 | ||
1667 | ||
1668 | 557.end | |
1669 | ||
1670 | ||
1671 | 558.function Shoot4() | |
1672 | ||
1673 | ||
1674 | 559.attack=true | |
1675 | ||
1676 | ||
1677 | 560.for i=0,1,0.1 do | |
1678 | ||
1679 | ||
1680 | 561.wait() | |
1681 | ||
1682 | ||
1683 | 562.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1684 | ||
1685 | ||
1686 | 563.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1687 | ||
1688 | ||
1689 | 564.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60*i),math.rad(-70+70*i),math.rad(0)) | |
1690 | ||
1691 | ||
1692 | 565.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(-40+40*i),math.rad(0)) | |
1693 | ||
1694 | ||
1695 | 566.end | |
1696 | ||
1697 | ||
1698 | 567.for i=0,1,0.1 do | |
1699 | ||
1700 | ||
1701 | 568.wait() | |
1702 | ||
1703 | ||
1704 | 569.DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) | |
1705 | ||
1706 | ||
1707 | 570.shoottrail2(prt7) | |
1708 | ||
1709 | ||
1710 | 571.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1711 | ||
1712 | ||
1713 | 572.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1714 | ||
1715 | ||
1716 | 573.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60),math.rad(-70+70),math.rad(0)) | |
1717 | ||
1718 | ||
1719 | 574.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50*i),math.rad(-40+40),math.rad(0)) | |
1720 | ||
1721 | ||
1722 | 575.end | |
1723 | ||
1724 | ||
1725 | 576.for i=0,1,0.1 do | |
1726 | ||
1727 | ||
1728 | 577.wait() | |
1729 | ||
1730 | ||
1731 | 578.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
1732 | ||
1733 | ||
1734 | 579.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
1735 | ||
1736 | ||
1737 | 580.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60-60*i),math.rad(-70+70-70*i),math.rad(0)) | |
1738 | ||
1739 | ||
1740 | 581.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50-100*i),math.rad(-40+40-40*i),math.rad(0)) | |
1741 | ||
1742 | ||
1743 | 582.end | |
1744 | ||
1745 | ||
1746 | 583.attack=false | |
1747 | ||
1748 | ||
1749 | 584.end | |
1750 | ||
1751 | ||
1752 | 585.function Attack() | |
1753 | ||
1754 | ||
1755 | 586.attack=true | |
1756 | ||
1757 | ||
1758 | 587.for i=0,1,0.1 do | |
1759 | ||
1760 | ||
1761 | 588.wait() | |
1762 | ||
1763 | ||
1764 | 589.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0) | |
1765 | ||
1766 | ||
1767 | 590.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0) | |
1768 | ||
1769 | ||
1770 | 591.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1771 | ||
1772 | ||
1773 | 592.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1774 | ||
1775 | ||
1776 | 593.end | |
1777 | ||
1778 | ||
1779 | 594.ss(1) | |
1780 | ||
1781 | ||
1782 | 595.con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) | |
1783 | ||
1784 | ||
1785 | 596.con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) | |
1786 | ||
1787 | ||
1788 | 597.for i=0,1,0.2 do | |
1789 | ||
1790 | ||
1791 | 598.wait() | |
1792 | ||
1793 | ||
1794 | 599.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80+90*i),math.rad(70-70),0) | |
1795 | ||
1796 | ||
1797 | 600.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70*i),math.rad(40-40),0) | |
1798 | ||
1799 | ||
1800 | 601.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1801 | ||
1802 | ||
1803 | 602.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1804 | ||
1805 | ||
1806 | 603.end | |
1807 | ||
1808 | ||
1809 | 604.wait(0.1) | |
1810 | ||
1811 | ||
1812 | 605.con1:disconnect() | |
1813 | ||
1814 | ||
1815 | 606.con2:disconnect() | |
1816 | ||
1817 | ||
1818 | 607.for i=0,1,0.1 do | |
1819 | ||
1820 | ||
1821 | 608.wait() | |
1822 | ||
1823 | ||
1824 | 609.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120+10-10*i),math.rad(70-70+70*i),0) | |
1825 | ||
1826 | ||
1827 | 610.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70-70*i),math.rad(40-40+40*i),0) | |
1828 | ||
1829 | ||
1830 | 611.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1831 | ||
1832 | ||
1833 | 612.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1834 | ||
1835 | ||
1836 | 613.end | |
1837 | ||
1838 | ||
1839 | 614.attack=false | |
1840 | ||
1841 | ||
1842 | 615.end | |
1843 | ||
1844 | ||
1845 | 616.function MegaBonk() | |
1846 | ||
1847 | ||
1848 | 617.attack=true | |
1849 | ||
1850 | ||
1851 | 618.for i=0,1,0.1 do | |
1852 | ||
1853 | ||
1854 | 619.wait() | |
1855 | ||
1856 | ||
1857 | 620.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0) | |
1858 | ||
1859 | ||
1860 | 621.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0) | |
1861 | ||
1862 | ||
1863 | 622.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1864 | ||
1865 | ||
1866 | 623.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1867 | ||
1868 | ||
1869 | 624.end | |
1870 | ||
1871 | ||
1872 | 625.wait(0.1) | |
1873 | ||
1874 | ||
1875 | 626.for i=0,1,0.02 do | |
1876 | ||
1877 | ||
1878 | 627.wait() | |
1879 | ||
1880 | ||
1881 | 628.MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black")) | |
1882 | ||
1883 | ||
1884 | 629.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30*i),math.rad(70-70),0) | |
1885 | ||
1886 | ||
1887 | 630.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30*i),math.rad(40-40),0) | |
1888 | ||
1889 | ||
1890 | 631.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1891 | ||
1892 | ||
1893 | 632.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1894 | ||
1895 | ||
1896 | 633.end | |
1897 | ||
1898 | ||
1899 | 634.ss(1.3) | |
1900 | ||
1901 | ||
1902 | 635.con1=prt2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end) | |
1903 | ||
1904 | ||
1905 | 636.con2=Spider.RAa2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end) | |
1906 | ||
1907 | ||
1908 | 637.for i=0,1,0.2 do | |
1909 | ||
1910 | ||
1911 | 638.wait() | |
1912 | ||
1913 | ||
1914 | 639.MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black")) | |
1915 | ||
1916 | ||
1917 | 640.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30+110*i),math.rad(70-70),0) | |
1918 | ||
1919 | ||
1920 | 641.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120*i),math.rad(40-40),0) | |
1921 | ||
1922 | ||
1923 | 642.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1924 | ||
1925 | ||
1926 | 643.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1927 | ||
1928 | ||
1929 | 644.end | |
1930 | ||
1931 | ||
1932 | 645.MMMAGIC(prt4,Prop.BallSize*4,Prop.BallSize*4,Prop.BallSize*4,0,Prop.LegLength/2,0,BrickColor.new("Really black")) | |
1933 | ||
1934 | ||
1935 | 646.wait(0.5) | |
1936 | ||
1937 | ||
1938 | 647.con1:disconnect() | |
1939 | ||
1940 | ||
1941 | 648.con2:disconnect() | |
1942 | ||
1943 | ||
1944 | 649.for i=0,1,0.1 do | |
1945 | ||
1946 | ||
1947 | 650.wait() | |
1948 | ||
1949 | ||
1950 | 651.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-110+110),math.rad(70-70+70*i),0) | |
1951 | ||
1952 | ||
1953 | 652.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120-100*i),math.rad(40-40+40*i),0) | |
1954 | ||
1955 | ||
1956 | 653.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1957 | ||
1958 | ||
1959 | 654.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1960 | ||
1961 | ||
1962 | 655.end | |
1963 | ||
1964 | ||
1965 | 656.attack=false | |
1966 | ||
1967 | ||
1968 | 657.end | |
1969 | ||
1970 | ||
1971 | 658.function DualAttack() | |
1972 | ||
1973 | ||
1974 | 659.attack=true | |
1975 | ||
1976 | ||
1977 | 660.for i=0,1,0.1 do | |
1978 | ||
1979 | ||
1980 | 661.wait() | |
1981 | ||
1982 | ||
1983 | 662.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30*i),math.rad(70-90*i),0) | |
1984 | ||
1985 | ||
1986 | 663.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40+40*i),0) | |
1987 | ||
1988 | ||
1989 | 664.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
1990 | ||
1991 | ||
1992 | 665.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
1993 | ||
1994 | ||
1995 | 666.end | |
1996 | ||
1997 | ||
1998 | 667.ss(1) | |
1999 | ||
2000 | ||
2001 | 668.con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) | |
2002 | ||
2003 | ||
2004 | 669.con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) | |
2005 | ||
2006 | ||
2007 | 670.for i=0,1,0.2 do | |
2008 | ||
2009 | ||
2010 | 671.wait() | |
2011 | ||
2012 | ||
2013 | 672.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30),math.rad(70-90+100*i),0) | |
2014 | ||
2015 | ||
2016 | 673.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(40+40),0) | |
2017 | ||
2018 | ||
2019 | 674.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
2020 | ||
2021 | ||
2022 | 675.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
2023 | ||
2024 | ||
2025 | 676.end | |
2026 | ||
2027 | ||
2028 | 677.con1:disconnect() | |
2029 | ||
2030 | ||
2031 | 678.con2:disconnect() | |
2032 | ||
2033 | ||
2034 | 679.for i=0,1,0.1 do | |
2035 | ||
2036 | ||
2037 | 680.wait() | |
2038 | ||
2039 | ||
2040 | 681.Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30+30*i),math.rad(70-90+100-10*i),0) | |
2041 | ||
2042 | ||
2043 | 682.Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(40+40-40*i),0) | |
2044 | ||
2045 | ||
2046 | 683.Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
2047 | ||
2048 | ||
2049 | 684.Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) | |
2050 | ||
2051 | ||
2052 | 685.end | |
2053 | ||
2054 | ||
2055 | 686.attack=false | |
2056 | ||
2057 | ||
2058 | 687.end | |
2059 | ||
2060 | ||
2061 | 688.function Stomp() | |
2062 | ||
2063 | ||
2064 | 689.attack=true | |
2065 | ||
2066 | ||
2067 | 690.local vel2 = Instance.new("BodyVelocity") | |
2068 | ||
2069 | ||
2070 | 691.vel2.Parent = Player.Character.Torso | |
2071 | ||
2072 | ||
2073 | 692.vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 | |
2074 | ||
2075 | ||
2076 | 693.vel2.velocity = Vector3.new(0,1,0) * 20 | |
2077 | ||
2078 | ||
2079 | 694.wait(0.05) | |
2080 | ||
2081 | ||
2082 | 695.vel2.Parent=nil | |
2083 | ||
2084 | ||
2085 | 696.act.Jumping=true | |
2086 | ||
2087 | ||
2088 | 697.Char.Humanoid.WalkSpeed=0 | |
2089 | ||
2090 | ||
2091 | 698.for i=0,1,0.1 do | |
2092 | ||
2093 | ||
2094 | 699.wait() | |
2095 | ||
2096 | ||
2097 | 700.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(-40),0) | |
2098 | ||
2099 | ||
2100 | 701.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0) | |
2101 | ||
2102 | ||
2103 | 702.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
2104 | ||
2105 | ||
2106 | 703.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
2107 | ||
2108 | ||
2109 | 704.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(40),0) | |
2110 | ||
2111 | ||
2112 | 705.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0) | |
2113 | ||
2114 | ||
2115 | 706.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) | |
2116 | ||
2117 | ||
2118 | 707.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
2119 | ||
2120 | ||
2121 | 708.end | |
2122 | ||
2123 | ||
2124 | 709.for i=0,1,0.1 do | |
2125 | ||
2126 | ||
2127 | 710.wait() | |
2128 | ||
2129 | ||
2130 | 711.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(-40),0) | |
2131 | ||
2132 | ||
2133 | 712.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0) | |
2134 | ||
2135 | ||
2136 | 713.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40+40*i),0) | |
2137 | ||
2138 | ||
2139 | 714.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0) | |
2140 | ||
2141 | ||
2142 | 715.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(40),0) | |
2143 | ||
2144 | ||
2145 | 716.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0) | |
2146 | ||
2147 | ||
2148 | 717.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40-40*i),0) | |
2149 | ||
2150 | ||
2151 | 718.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0) | |
2152 | ||
2153 | ||
2154 | 719.end | |
2155 | ||
2156 | ||
2157 | 720.ss(0.9) | |
2158 | ||
2159 | ||
2160 | 721.con1=Spider.URa1.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end) | |
2161 | ||
2162 | ||
2163 | 722.con2=Spider.URa2.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end) | |
2164 | ||
2165 | ||
2166 | 723.for i=0,1,0.2 do | |
2167 | ||
2168 | ||
2169 | 724.wait() | |
2170 | ||
2171 | ||
2172 | 725.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(-40),0) | |
2173 | ||
2174 | ||
2175 | 726.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0) | |
2176 | ||
2177 | ||
2178 | 727.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(-40+40),0) | |
2179 | ||
2180 | ||
2181 | 728.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0) | |
2182 | ||
2183 | ||
2184 | 729.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(40),0) | |
2185 | ||
2186 | ||
2187 | 730.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0) | |
2188 | ||
2189 | ||
2190 | 731.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(40-40),0) | |
2191 | ||
2192 | ||
2193 | 732.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0) | |
2194 | ||
2195 | ||
2196 | 733.end | |
2197 | ||
2198 | ||
2199 | 734.wait(0.1) | |
2200 | ||
2201 | ||
2202 | 735.con1:disconnect() | |
2203 | ||
2204 | ||
2205 | 736.con2:disconnect() | |
2206 | ||
2207 | ||
2208 | 737.for i=0,1,0.1 do | |
2209 | ||
2210 | ||
2211 | 738.wait() | |
2212 | ||
2213 | ||
2214 | 739.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(-40),0) | |
2215 | ||
2216 | ||
2217 | 740.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0) | |
2218 | ||
2219 | ||
2220 | 741.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(-40+40-40*i),0) | |
2221 | ||
2222 | ||
2223 | 742.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0) | |
2224 | ||
2225 | ||
2226 | 743.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(40),0) | |
2227 | ||
2228 | ||
2229 | 744.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0) | |
2230 | ||
2231 | ||
2232 | 745.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(40-40+40*i),0) | |
2233 | ||
2234 | ||
2235 | 746.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0) | |
2236 | ||
2237 | ||
2238 | 747.end | |
2239 | ||
2240 | ||
2241 | 748.Char.Humanoid.WalkSpeed=walksped | |
2242 | ||
2243 | ||
2244 | 749.act.Jumping=false | |
2245 | ||
2246 | ||
2247 | 750.attack=false | |
2248 | ||
2249 | ||
2250 | 751.end | |
2251 | ||
2252 | ||
2253 | 752.function Jump() | |
2254 | ||
2255 | ||
2256 | 753.attack=true | |
2257 | ||
2258 | ||
2259 | 754.act.Jumping=true | |
2260 | ||
2261 | ||
2262 | 755.for i=0,1,0.1 do | |
2263 | ||
2264 | ||
2265 | 756.wait() | |
2266 | ||
2267 | ||
2268 | 757.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(-40),0) | |
2269 | ||
2270 | ||
2271 | 758.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0) | |
2272 | ||
2273 | ||
2274 | 759.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40),0) | |
2275 | ||
2276 | ||
2277 | 760.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0) | |
2278 | ||
2279 | ||
2280 | 761.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(40),0) | |
2281 | ||
2282 | ||
2283 | 762.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0) | |
2284 | ||
2285 | ||
2286 | 763.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40),0) | |
2287 | ||
2288 | ||
2289 | 764.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0) | |
2290 | ||
2291 | ||
2292 | 765.end | |
2293 | ||
2294 | ||
2295 | 766.for i=0,1,0.2 do | |
2296 | ||
2297 | ||
2298 | 767.wait() | |
2299 | ||
2300 | ||
2301 | 768.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(-40),0) | |
2302 | ||
2303 | ||
2304 | 769.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0) | |
2305 | ||
2306 | ||
2307 | 770.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(-40),0) | |
2308 | ||
2309 | ||
2310 | 771.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0) | |
2311 | ||
2312 | ||
2313 | 772.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(40),0) | |
2314 | ||
2315 | ||
2316 | 773.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0) | |
2317 | ||
2318 | ||
2319 | 774.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(40),0) | |
2320 | ||
2321 | ||
2322 | 775.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0) | |
2323 | ||
2324 | ||
2325 | 776.end | |
2326 | ||
2327 | ||
2328 | 777.local vel2 = Instance.new("BodyVelocity") | |
2329 | ||
2330 | ||
2331 | 778.vel2.Parent = Player.Character.Torso | |
2332 | ||
2333 | ||
2334 | 779.vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 | |
2335 | ||
2336 | ||
2337 | 780.vel2.velocity = Vector3.new(0,1,0) * 100 | |
2338 | ||
2339 | ||
2340 | 781.wait(0.1) | |
2341 | ||
2342 | ||
2343 | 782.vel2.Parent=nil | |
2344 | ||
2345 | ||
2346 | 783.for i=0,1,0.1 do | |
2347 | ||
2348 | ||
2349 | 784.wait() | |
2350 | ||
2351 | ||
2352 | 785.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(-40),0) | |
2353 | ||
2354 | ||
2355 | 786.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0) | |
2356 | ||
2357 | ||
2358 | 787.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(-40),0) | |
2359 | ||
2360 | ||
2361 | 788.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0) | |
2362 | ||
2363 | ||
2364 | 789.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(40),0) | |
2365 | ||
2366 | ||
2367 | 790.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0) | |
2368 | ||
2369 | ||
2370 | 791.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(40),0) | |
2371 | ||
2372 | ||
2373 | 792.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0) | |
2374 | ||
2375 | ||
2376 | 793.end | |
2377 | ||
2378 | ||
2379 | 794.act.Jumping=false | |
2380 | ||
2381 | ||
2382 | 795.attack=false | |
2383 | ||
2384 | ||
2385 | 796.end | |
2386 | ||
2387 | ||
2388 | 797.function shoottrail2(pos1) | |
2389 | ||
2390 | ||
2391 | 798.coroutine.resume(coroutine.create(function() | |
2392 | ||
2393 | ||
2394 | 799.spread2 = 0 | |
2395 | ||
2396 | ||
2397 | 800.range2 = Prop.LegLength*150 | |
2398 | ||
2399 | ||
2400 | 801.rangepower = Prop.LegLength*1.5 | |
2401 | ||
2402 | ||
2403 | 802.local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (pos1.Position).magnitude/100 | |
2404 | ||
2405 | ||
2406 | 803.--local dir = Head.CFrame.lookVector+spreadvector | |
2407 | ||
2408 | ||
2409 | 804.local dir = prt12.CFrame.lookVector+spreadvector | |
2410 | ||
2411 | ||
2412 | 805.local hit2,pos = rayCast(pos1.Position,dir,10,pack) | |
2413 | ||
2414 | ||
2415 | 806.local rangepos = range2 | |
2416 | ||
2417 | ||
2418 | 807.local function drawtrail(From,To) | |
2419 | ||
2420 | ||
2421 | 808.local effectsmsh = Instance.new("CylinderMesh") | |
2422 | ||
2423 | ||
2424 | 809.effectsmsh.Scale = Vector3.new(1,1,1) | |
2425 | ||
2426 | ||
2427 | 810.effectsmsh.Name = "Mesh" | |
2428 | ||
2429 | ||
2430 | 811.local effectsg = Instance.new("Part") | |
2431 | ||
2432 | ||
2433 | 812.effectsg.formFactor = 3 | |
2434 | ||
2435 | ||
2436 | 813.effectsg.CanCollide = false | |
2437 | ||
2438 | ||
2439 | 814.effectsg.Name = "Eff" | |
2440 | ||
2441 | ||
2442 | 815.effectsg.Locked = true | |
2443 | ||
2444 | ||
2445 | 816.effectsg.Anchored = true | |
2446 | ||
2447 | ||
2448 | 817.effectsg.Size = Vector3.new(Prop.LegLength/4,Prop.LegLength/5,Prop.LegLength/4) | |
2449 | ||
2450 | ||
2451 | 818.effectsg.Parent = pack | |
2452 | ||
2453 | ||
2454 | 819.effectsmsh.Parent = effectsg | |
2455 | ||
2456 | ||
2457 | 820.effectsg.BrickColor = BrickColor.new("Really black") | |
2458 | ||
2459 | ||
2460 | 821.effectsg.Reflectance = 0.25 | |
2461 | ||
2462 | ||
2463 | 822.local LP = From | |
2464 | ||
2465 | ||
2466 | 823.local point1 = To | |
2467 | ||
2468 | ||
2469 | 824.local mg = (LP - point1).magnitude | |
2470 | ||
2471 | ||
2472 | 825.effectsmsh.Scale = Vector3.new(1,mg*5,1) | |
2473 | ||
2474 | ||
2475 | 826.effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0) | |
2476 | ||
2477 | ||
2478 | 827.coroutine.resume(coroutine.create(function() | |
2479 | ||
2480 | ||
2481 | 828.for i = 0 , 1 , 0.2 do | |
2482 | ||
2483 | ||
2484 | 829.wait() | |
2485 | ||
2486 | ||
2487 | 830.effectsg.Transparency = 1*i | |
2488 | ||
2489 | ||
2490 | 831.effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i) | |
2491 | ||
2492 | ||
2493 | 832.end | |
2494 | ||
2495 | ||
2496 | 833.effectsg.Parent = nil | |
2497 | ||
2498 | ||
2499 | 834.end)) | |
2500 | ||
2501 | ||
2502 | 835.end | |
2503 | ||
2504 | ||
2505 | 836.local newpos = pos1.Position | |
2506 | ||
2507 | ||
2508 | 837.local inc = rangepower | |
2509 | ||
2510 | ||
2511 | 838.repeat | |
2512 | ||
2513 | ||
2514 | 839.wait() | |
2515 | ||
2516 | ||
2517 | 840.rangepos = rangepos - 10 | |
2518 | ||
2519 | ||
2520 | 841.dir = dir | |
2521 | ||
2522 | ||
2523 | 842.hit2,pos = rayCast(newpos,dir,inc,pack) | |
2524 | ||
2525 | ||
2526 | 843.drawtrail(newpos,pos) | |
2527 | ||
2528 | ||
2529 | 844.newpos = newpos + (dir * inc) | |
2530 | ||
2531 | ||
2532 | 845.if alt==1 then | |
2533 | ||
2534 | ||
2535 | 846.inc = 10 | |
2536 | ||
2537 | ||
2538 | 847.if inc >= 20 then | |
2539 | ||
2540 | ||
2541 | 848.inc = inc - 10 | |
2542 | ||
2543 | ||
2544 | 849.end | |
2545 | ||
2546 | ||
2547 | 850.end | |
2548 | ||
2549 | ||
2550 | 851.if hit2 ~= nil then | |
2551 | ||
2552 | ||
2553 | 852.rangepos = 0 | |
2554 | ||
2555 | ||
2556 | 853.end | |
2557 | ||
2558 | ||
2559 | 854.until rangepos <= 0 | |
2560 | ||
2561 | ||
2562 | 855.if hit2 ~= nil then | |
2563 | ||
2564 | ||
2565 | 856.local effectsmsh = Instance.new("SpecialMesh") | |
2566 | ||
2567 | ||
2568 | 857.effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356" | |
2569 | ||
2570 | ||
2571 | 858.--effectsmsh.Scale = Vector3.new(1,1,2.5) | |
2572 | ||
2573 | ||
2574 | 859.effectsmsh.Scale = Vector3.new(3,3,3) | |
2575 | ||
2576 | ||
2577 | 860.local effectsg = Instance.new("Part") | |
2578 | ||
2579 | ||
2580 | 861.effectsg.formFactor = 3 | |
2581 | ||
2582 | ||
2583 | 862.effectsg.CanCollide = false | |
2584 | ||
2585 | ||
2586 | 863.effectsg.Name = "Arrow" | |
2587 | ||
2588 | ||
2589 | 864.effectsg.Locked = true | |
2590 | ||
2591 | ||
2592 | 865.effectsg.Transparency = 1 | |
2593 | ||
2594 | ||
2595 | 866.effectsg.Size = Vector3.new(0.2,0.2,0.2) | |
2596 | ||
2597 | ||
2598 | 867.effectsg.Parent = pack | |
2599 | ||
2600 | ||
2601 | 868.effectsg.BrickColor = BrickColor.new("Really black") | |
2602 | ||
2603 | ||
2604 | 869.effectsmsh.Parent = effectsg | |
2605 | ||
2606 | ||
2607 | 870.effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2 | |
2608 | ||
2609 | ||
2610 | 871.local efwel = Instance.new("Weld") | |
2611 | ||
2612 | ||
2613 | 872.efwel.Parent = effectsg | |
2614 | ||
2615 | ||
2616 | 873.efwel.Part0 = effectsg | |
2617 | ||
2618 | ||
2619 | 874.efwel.Part1 = hit2 | |
2620 | ||
2621 | ||
2622 | 875.efwel.Parent = nil | |
2623 | ||
2624 | ||
2625 | 876.effectsg.Anchored = true | |
2626 | ||
2627 | ||
2628 | 877.local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75 | |
2629 | ||
2630 | ||
2631 | 878.--local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75 | |
2632 | ||
2633 | ||
2634 | 879.--local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5) | |
2635 | ||
2636 | ||
2637 | 880.local CJ = CFrame.new(HitPos) | |
2638 | ||
2639 | ||
2640 | 881.local C0 = effectsg.CFrame:inverse() * CJ | |
2641 | ||
2642 | ||
2643 | 882.local C1 = hit2.CFrame:inverse() * CJ | |
2644 | ||
2645 | ||
2646 | 883.--efwel.C0 = C0 | |
2647 | ||
2648 | ||
2649 | 884.--efwel.C1 = C1 | |
2650 | ||
2651 | ||
2652 | 885.--efwel.Parent = effectsg | |
2653 | ||
2654 | ||
2655 | 886.Damg = Prop.LegLength*5 | |
2656 | ||
2657 | ||
2658 | 887.coroutine.resume(coroutine.create(function() | |
2659 | ||
2660 | ||
2661 | 888.msound(1) | |
2662 | ||
2663 | ||
2664 | 889.coroutine.resume(coroutine.create(function() | |
2665 | ||
2666 | ||
2667 | 890.local c = game.Workspace:GetChildren(); | |
2668 | ||
2669 | ||
2670 | 891.for i = 1, #c do | |
2671 | ||
2672 | ||
2673 | 892.local hum = c:findFirstChild("Humanoid") | |
2674 | ||
2675 | ||
2676 | 893.if hum ~= nil and hum.Health ~= 0 then | |
2677 | ||
2678 | ||
2679 | 894.local head = c:findFirstChild("Head"); | |
2680 | ||
2681 | ||
2682 | 895.if head ~= nil then | |
2683 | ||
2684 | ||
2685 | 896.local targ = head.Position - effectsg.Position; | |
2686 | ||
2687 | ||
2688 | 897.local mag = targ.magnitude; | |
2689 | ||
2690 | ||
2691 | 898.if mag <= Prop.LegLength*3 then | |
2692 | ||
2693 | ||
2694 | 899.wait() | |
2695 | ||
2696 | ||
2697 | 900.DBHit(head,effectsg,Prop.LegLength) | |
2698 | ||
2699 | ||
2700 | 901.end | |
2701 | ||
2702 | ||
2703 | 902.end | |
2704 | ||
2705 | ||
2706 | 903.end | |
2707 | ||
2708 | ||
2709 | 904.end | |
2710 | ||
2711 | ||
2712 | 905.end)) | |
2713 | ||
2714 | ||
2715 | 906.EVENMOARMAGIX(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,0,0,0,BrickColor.new("Black")) | |
2716 | ||
2717 | ||
2718 | 907.for i = 0,5 do | |
2719 | ||
2720 | ||
2721 | 908.wait() | |
2722 | ||
2723 | ||
2724 | 909.MMMAGIC(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,BrickColor.new("Black")) | |
2725 | ||
2726 | ||
2727 | 910.end | |
2728 | ||
2729 | ||
2730 | 911.end)) | |
2731 | ||
2732 | ||
2733 | 912.coroutine.resume(coroutine.create(function() | |
2734 | ||
2735 | ||
2736 | 913.wait(3) | |
2737 | ||
2738 | ||
2739 | 914.effectsg.Parent = nil | |
2740 | ||
2741 | ||
2742 | 915.end)) | |
2743 | ||
2744 | ||
2745 | 916.if hit2.Parent:FindFirstChild("Humanoid") ~= nil then | |
2746 | ||
2747 | ||
2748 | 917.hum = hit2.Parent.Humanoid | |
2749 | ||
2750 | ||
2751 | 918.attackdebounce = false | |
2752 | ||
2753 | ||
2754 | 919.Damagefunc1(hit2,Damg,50) | |
2755 | ||
2756 | ||
2757 | 920.elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then | |
2758 | ||
2759 | ||
2760 | 921.hum = hit2.Parent.Parent.Humanoid | |
2761 | ||
2762 | ||
2763 | 922.attackdebounce = false | |
2764 | ||
2765 | ||
2766 | 923.Damagefunc1(hit2,Damg,50) | |
2767 | ||
2768 | ||
2769 | 924.end | |
2770 | ||
2771 | ||
2772 | 925.end | |
2773 | ||
2774 | ||
2775 | 926.end)) | |
2776 | ||
2777 | ||
2778 | 927.end | |
2779 | ||
2780 | ||
2781 | 928.function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants | |
2782 | ||
2783 | ||
2784 | 929.return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2785 | ||
2786 | ||
2787 | 930.end | |
2788 | ||
2789 | ||
2790 | 931.function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
2791 | ||
2792 | ||
2793 | 932.local msh1 = Instance.new("BlockMesh") | |
2794 | ||
2795 | ||
2796 | 933.msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
2797 | ||
2798 | ||
2799 | 934.S=Instance.new("Part") | |
2800 | ||
2801 | ||
2802 | 935.S.Name="Effect" | |
2803 | ||
2804 | ||
2805 | 936.S.formFactor=0 | |
2806 | ||
2807 | ||
2808 | 937.S.Size=Vector3.new(x1,y1,z1) | |
2809 | ||
2810 | ||
2811 | 938.S.BrickColor=color | |
2812 | ||
2813 | ||
2814 | 939.S.Reflectance = 0 | |
2815 | ||
2816 | ||
2817 | 940.S.TopSurface=0 | |
2818 | ||
2819 | ||
2820 | 941.S.BottomSurface=0 | |
2821 | ||
2822 | ||
2823 | 942.S.Transparency=0 | |
2824 | ||
2825 | ||
2826 | 943.S.Anchored=true | |
2827 | ||
2828 | ||
2829 | 944.S.CanCollide=false | |
2830 | ||
2831 | ||
2832 | 945.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2833 | ||
2834 | ||
2835 | 946.S.Parent=pack | |
2836 | ||
2837 | ||
2838 | 947.msh1.Parent = S | |
2839 | ||
2840 | ||
2841 | 948.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2842 | ||
2843 | ||
2844 | 949.end | |
2845 | ||
2846 | ||
2847 | 950.function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
2848 | ||
2849 | ||
2850 | 951.local msh1 = Instance.new("BlockMesh") | |
2851 | ||
2852 | ||
2853 | 952.msh1.Scale = Vector3.new(x1,y1,z1) | |
2854 | ||
2855 | ||
2856 | 953.S=Instance.new("Part") | |
2857 | ||
2858 | ||
2859 | 954.S.Name="Effect" | |
2860 | ||
2861 | ||
2862 | 955.S.formFactor=0 | |
2863 | ||
2864 | ||
2865 | 956.S.Size=Vector3.new(1,1,1) | |
2866 | ||
2867 | ||
2868 | 957.S.BrickColor=color | |
2869 | ||
2870 | ||
2871 | 958.S.Reflectance = 0 | |
2872 | ||
2873 | ||
2874 | 959.S.TopSurface=0 | |
2875 | ||
2876 | ||
2877 | 960.S.BottomSurface=0 | |
2878 | ||
2879 | ||
2880 | 961.S.Transparency=0 | |
2881 | ||
2882 | ||
2883 | 962.S.Anchored=true | |
2884 | ||
2885 | ||
2886 | 963.S.CanCollide=false | |
2887 | ||
2888 | ||
2889 | 964.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2890 | ||
2891 | ||
2892 | 965.S.Parent=pack | |
2893 | ||
2894 | ||
2895 | 966.msh1.Parent = S | |
2896 | ||
2897 | ||
2898 | 967.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2899 | ||
2900 | ||
2901 | 968.end | |
2902 | ||
2903 | ||
2904 | 969.function MOREMAGIX(part,cframe,x,y,z,color) | |
2905 | ||
2906 | ||
2907 | 970.p2=Instance.new("Part") | |
2908 | ||
2909 | ||
2910 | 971.p2.Name="Blast" | |
2911 | ||
2912 | ||
2913 | 972.p2.TopSurface=0 | |
2914 | ||
2915 | ||
2916 | 973.p2.BottomSurface=0 | |
2917 | ||
2918 | ||
2919 | 974.p2.CanCollide=false | |
2920 | ||
2921 | ||
2922 | 975.p2.Anchored=true | |
2923 | ||
2924 | ||
2925 | 976.p2.BrickColor=color | |
2926 | ||
2927 | ||
2928 | 977.p2.Size=Vector3.new(x,y,z) | |
2929 | ||
2930 | ||
2931 | 978.p2.formFactor="Symmetric" | |
2932 | ||
2933 | ||
2934 | 979.p2.CFrame=part.CFrame*CFrame.new(0,cframe,0) | |
2935 | ||
2936 | ||
2937 | 980.p2.Parent=pack | |
2938 | ||
2939 | ||
2940 | 981.m=Instance.new("BlockMesh") | |
2941 | ||
2942 | ||
2943 | 982.m.Parent=p2 | |
2944 | ||
2945 | ||
2946 | 983.m.Name="BlastMesh" | |
2947 | ||
2948 | ||
2949 | 984.coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) | |
2950 | ||
2951 | ||
2952 | 985.end | |
2953 | ||
2954 | ||
2955 | 986.function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
2956 | ||
2957 | ||
2958 | 987.local msh1 = Instance.new("SpecialMesh") | |
2959 | ||
2960 | ||
2961 | 988.msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
2962 | ||
2963 | ||
2964 | 989.msh1.MeshType = "Sphere" | |
2965 | ||
2966 | ||
2967 | 990.S=Instance.new("Part") | |
2968 | ||
2969 | ||
2970 | 991.S.Name="Effect" | |
2971 | ||
2972 | ||
2973 | 992.S.formFactor=0 | |
2974 | ||
2975 | ||
2976 | 993.S.Size=Vector3.new(x1,y1,z1) | |
2977 | ||
2978 | ||
2979 | 994.S.BrickColor=color | |
2980 | ||
2981 | ||
2982 | 995.S.Reflectance = 0 | |
2983 | ||
2984 | ||
2985 | 996.S.TopSurface=0 | |
2986 | ||
2987 | ||
2988 | 997.S.BottomSurface=0 | |
2989 | ||
2990 | ||
2991 | 998.S.Transparency=0 | |
2992 | ||
2993 | ||
2994 | 999.S.Anchored=true | |
2995 | ||
2996 | ||
2997 | 1000.S.CanCollide=false | |
2998 | ||
2999 | ||
3000 | 1001.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
3001 | ||
3002 | ||
3003 | 1002.S.Parent=pack | |
3004 | ||
3005 | ||
3006 | 1003.msh1.Parent = S | |
3007 | ||
3008 | ||
3009 | 1004.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
3010 | ||
3011 | ||
3012 | 1005.end | |
3013 | ||
3014 | ||
3015 | 1006.print("Y U NU GIVE CREDIT.") | |
3016 | ||
3017 | ||
3018 | 1007.function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
3019 | ||
3020 | ||
3021 | 1008.local msh1 = Instance.new("SpecialMesh") | |
3022 | ||
3023 | ||
3024 | 1009.msh1.Scale = Vector3.new(x1,y1,z1) | |
3025 | ||
3026 | ||
3027 | 1010.msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3028 | ||
3029 | ||
3030 | 1011.S=Instance.new("Part") | |
3031 | ||
3032 | ||
3033 | 1012.S.Name="Effect" | |
3034 | ||
3035 | ||
3036 | 1013.S.formFactor=0 | |
3037 | ||
3038 | ||
3039 | 1014.S.Size=Vector3.new(1,1,1) | |
3040 | ||
3041 | ||
3042 | 1015.S.BrickColor=color | |
3043 | ||
3044 | ||
3045 | 1016.S.Reflectance = 0 | |
3046 | ||
3047 | ||
3048 | 1017.S.TopSurface=0 | |
3049 | ||
3050 | ||
3051 | 1018.S.BottomSurface=0 | |
3052 | ||
3053 | ||
3054 | 1019.S.Transparency=0 | |
3055 | ||
3056 | ||
3057 | 1020.S.Anchored=true | |
3058 | ||
3059 | ||
3060 | 1021.S.CanCollide=false | |
3061 | ||
3062 | ||
3063 | 1022.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
3064 | ||
3065 | ||
3066 | 1023.S.Parent=pack | |
3067 | ||
3068 | ||
3069 | 1024.msh1.Parent = S | |
3070 | ||
3071 | ||
3072 | 1025.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
3073 | ||
3074 | ||
3075 | 1026.end | |
3076 | ||
3077 | ||
3078 | 1027.function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
3079 | ||
3080 | ||
3081 | 1028.local msh1 = Instance.new("SpecialMesh") | |
3082 | ||
3083 | ||
3084 | 1029.msh1.Scale = Vector3.new(x1,y1,z1) | |
3085 | ||
3086 | ||
3087 | 1030.msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
3088 | ||
3089 | ||
3090 | 1031.S=Instance.new("Part") | |
3091 | ||
3092 | ||
3093 | 1032.S.Name="Effect" | |
3094 | ||
3095 | ||
3096 | 1033.S.formFactor=0 | |
3097 | ||
3098 | ||
3099 | 1034.S.Size=Vector3.new(1,1,1) | |
3100 | ||
3101 | ||
3102 | 1035.S.BrickColor=color | |
3103 | ||
3104 | ||
3105 | 1036.S.Reflectance = 0 | |
3106 | ||
3107 | ||
3108 | 1037.S.TopSurface=0 | |
3109 | ||
3110 | ||
3111 | 1038.S.BottomSurface=0 | |
3112 | ||
3113 | ||
3114 | 1039.S.Transparency=0 | |
3115 | ||
3116 | ||
3117 | 1040.S.Anchored=true | |
3118 | ||
3119 | ||
3120 | 1041.S.CanCollide=false | |
3121 | ||
3122 | ||
3123 | 1042.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
3124 | ||
3125 | ||
3126 | 1043.S.Parent=pack | |
3127 | ||
3128 | ||
3129 | 1044.msh1.Parent = S | |
3130 | ||
3131 | ||
3132 | 1045.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
3133 | ||
3134 | ||
3135 | 1046.end | |
3136 | ||
3137 | ||
3138 | 1047.function DerpMagic(part,x1,y1,z1,x2,y2,z2,color) | |
3139 | ||
3140 | ||
3141 | 1048.local msh1 = Instance.new("BlockMesh") | |
3142 | ||
3143 | ||
3144 | 1049.msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
3145 | ||
3146 | ||
3147 | 1050.S=Instance.new("Part") | |
3148 | ||
3149 | ||
3150 | 1051.S.Name="Effect" | |
3151 | ||
3152 | ||
3153 | 1052.S.formFactor=0 | |
3154 | ||
3155 | ||
3156 | 1053.S.Size=Vector3.new(x1,y1,z1) | |
3157 | ||
3158 | ||
3159 | 1054.S.BrickColor=color | |
3160 | ||
3161 | ||
3162 | 1055.S.Reflectance = 0 | |
3163 | ||
3164 | ||
3165 | 1056.S.TopSurface=0 | |
3166 | ||
3167 | ||
3168 | 1057.S.BottomSurface=0 | |
3169 | ||
3170 | ||
3171 | 1058.S.Transparency=0 | |
3172 | ||
3173 | ||
3174 | 1059.S.Anchored=true | |
3175 | ||
3176 | ||
3177 | 1060.S.CanCollide=false | |
3178 | ||
3179 | ||
3180 | 1061.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3181 | ||
3182 | ||
3183 | 1062.S.Parent=pack | |
3184 | ||
3185 | ||
3186 | 1063.msh1.Parent = S | |
3187 | ||
3188 | ||
3189 | 1064.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
3190 | ||
3191 | ||
3192 | 1065.end | |
3193 | ||
3194 | ||
3195 | 1066.function ss(pitch) | |
3196 | ||
3197 | ||
3198 | 1067.local SlashSound = Instance.new("Sound") | |
3199 | ||
3200 | ||
3201 | 1068.--SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
3202 | ||
3203 | ||
3204 | 1069.SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" | |
3205 | ||
3206 | ||
3207 | 1070.SlashSound.Parent = workspace | |
3208 | ||
3209 | ||
3210 | 1071.SlashSound.Volume = .7 | |
3211 | ||
3212 | ||
3213 | 1072.SlashSound.Pitch = pitch | |
3214 | ||
3215 | ||
3216 | 1073.SlashSound.PlayOnRemove = true | |
3217 | ||
3218 | ||
3219 | 1074.coroutine.resume(coroutine.create(function() | |
3220 | ||
3221 | ||
3222 | 1075.wait(0) | |
3223 | ||
3224 | ||
3225 | 1076.SlashSound.Parent = nil | |
3226 | ||
3227 | ||
3228 | 1077.end)) | |
3229 | ||
3230 | ||
3231 | 1078.end | |
3232 | ||
3233 | ||
3234 | 1079.function equipsound(pitch) | |
3235 | ||
3236 | ||
3237 | 1080.local SlashSound = Instance.new("Sound") | |
3238 | ||
3239 | ||
3240 | 1081.SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
3241 | ||
3242 | ||
3243 | 1082.SlashSound.Parent = workspace | |
3244 | ||
3245 | ||
3246 | 1083.SlashSound.Volume = .5 | |
3247 | ||
3248 | ||
3249 | 1084.SlashSound.Pitch = pitch | |
3250 | ||
3251 | ||
3252 | 1085.SlashSound.PlayOnRemove = true | |
3253 | ||
3254 | ||
3255 | 1086.coroutine.resume(coroutine.create(function() | |
3256 | ||
3257 | ||
3258 | 1087.wait(0) | |
3259 | ||
3260 | ||
3261 | 1088.SlashSound.Parent = nil | |
3262 | ||
3263 | ||
3264 | 1089.end)) | |
3265 | ||
3266 | ||
3267 | 1090.end | |
3268 | ||
3269 | ||
3270 | 1091.function magicsound(pitch) | |
3271 | ||
3272 | ||
3273 | 1092.local SlashSound = Instance.new("Sound") | |
3274 | ||
3275 | ||
3276 | 1093.SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
3277 | ||
3278 | ||
3279 | 1094.SlashSound.Parent = workspace | |
3280 | ||
3281 | ||
3282 | 1095.SlashSound.Volume = .5 | |
3283 | ||
3284 | ||
3285 | 1096.SlashSound.Pitch = pitch | |
3286 | ||
3287 | ||
3288 | 1097.SlashSound.PlayOnRemove = true | |
3289 | ||
3290 | ||
3291 | 1098.coroutine.resume(coroutine.create(function() | |
3292 | ||
3293 | ||
3294 | 1099.wait(0) | |
3295 | ||
3296 | ||
3297 | 1100.SlashSound.Parent = nil | |
3298 | ||
3299 | ||
3300 | 1101.end)) | |
3301 | ||
3302 | ||
3303 | 1102.end | |
3304 | ||
3305 | ||
3306 | 1103.function critsound(pitch) | |
3307 | ||
3308 | ||
3309 | 1104.local SlashSound = Instance.new("Sound") | |
3310 | ||
3311 | ||
3312 | 1105.SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" | |
3313 | ||
3314 | ||
3315 | 1106.SlashSound.Parent = workspace | |
3316 | ||
3317 | ||
3318 | 1107.SlashSound.Volume = .7 | |
3319 | ||
3320 | ||
3321 | 1108.SlashSound.Pitch = pitch | |
3322 | ||
3323 | ||
3324 | 1109.SlashSound.PlayOnRemove = true | |
3325 | ||
3326 | ||
3327 | 1110.coroutine.resume(coroutine.create(function() | |
3328 | ||
3329 | ||
3330 | 1111.wait(0) | |
3331 | ||
3332 | ||
3333 | 1112.SlashSound.Parent = nil | |
3334 | ||
3335 | ||
3336 | 1113.end)) | |
3337 | ||
3338 | ||
3339 | 1114.end | |
3340 | ||
3341 | ||
3342 | 1115.function spikesound(pitch) | |
3343 | ||
3344 | ||
3345 | 1116.local SlashSound = Instance.new("Sound") | |
3346 | ||
3347 | ||
3348 | 1117.SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
3349 | ||
3350 | ||
3351 | 1118.SlashSound.Parent = workspace | |
3352 | ||
3353 | ||
3354 | 1119.SlashSound.Volume = .7 | |
3355 | ||
3356 | ||
3357 | 1120.SlashSound.Pitch = pitch | |
3358 | ||
3359 | ||
3360 | 1121.SlashSound.PlayOnRemove = true | |
3361 | ||
3362 | ||
3363 | 1122.coroutine.resume(coroutine.create(function() | |
3364 | ||
3365 | ||
3366 | 1123.wait(0) | |
3367 | ||
3368 | ||
3369 | 1124.SlashSound.Parent = nil | |
3370 | ||
3371 | ||
3372 | 1125.end)) | |
3373 | ||
3374 | ||
3375 | 1126.end | |
3376 | ||
3377 | ||
3378 | 1127.function msound(pitch) | |
3379 | ||
3380 | ||
3381 | 1128.local SlashSound = Instance.new("Sound") | |
3382 | ||
3383 | ||
3384 | 1129.SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148" | |
3385 | ||
3386 | ||
3387 | 1130.SlashSound.Parent = workspace | |
3388 | ||
3389 | ||
3390 | 1131.SlashSound.Volume = .7 | |
3391 | ||
3392 | ||
3393 | 1132.SlashSound.Pitch = pitch | |
3394 | ||
3395 | ||
3396 | 1133.SlashSound.PlayOnRemove = true | |
3397 | ||
3398 | ||
3399 | 1134.coroutine.resume(coroutine.create(function() | |
3400 | ||
3401 | ||
3402 | 1135.wait(0) | |
3403 | ||
3404 | ||
3405 | 1136.SlashSound.Parent = nil | |
3406 | ||
3407 | ||
3408 | 1137.end)) | |
3409 | ||
3410 | ||
3411 | 1138.end | |
3412 | ||
3413 | ||
3414 | 1139.function lasersound(pitch) | |
3415 | ||
3416 | ||
3417 | 1140.local SlashSound = Instance.new("Sound") | |
3418 | ||
3419 | ||
3420 | 1141.SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav" | |
3421 | ||
3422 | ||
3423 | 1142.SlashSound.Parent = workspace | |
3424 | ||
3425 | ||
3426 | 1143.SlashSound.Volume = .5 | |
3427 | ||
3428 | ||
3429 | 1144.SlashSound.Pitch = pitch | |
3430 | ||
3431 | ||
3432 | 1145.SlashSound.PlayOnRemove = true | |
3433 | ||
3434 | ||
3435 | 1146.coroutine.resume(coroutine.create(function() | |
3436 | ||
3437 | ||
3438 | 1147.wait(0) | |
3439 | ||
3440 | ||
3441 | 1148.SlashSound.Parent = nil | |
3442 | ||
3443 | ||
3444 | 1149.end)) | |
3445 | ||
3446 | ||
3447 | 1150.end | |
3448 | ||
3449 | ||
3450 | 1151.function omnomnom(pitch) | |
3451 | ||
3452 | ||
3453 | 1152.local SlashSound = Instance.new("Sound") | |
3454 | ||
3455 | ||
3456 | 1153.SlashSound.SoundId = "http://www.roblox.com/asset/?id=12544690" | |
3457 | ||
3458 | ||
3459 | 1154.SlashSound.Parent = workspace | |
3460 | ||
3461 | ||
3462 | 1155.SlashSound.Volume = .5 | |
3463 | ||
3464 | ||
3465 | 1156.SlashSound.Pitch = pitch | |
3466 | ||
3467 | ||
3468 | 1157.SlashSound.PlayOnRemove = true | |
3469 | ||
3470 | ||
3471 | 1158.coroutine.resume(coroutine.create(function() | |
3472 | ||
3473 | ||
3474 | 1159.wait(0) | |
3475 | ||
3476 | ||
3477 | 1160.SlashSound.Parent = nil | |
3478 | ||
3479 | ||
3480 | 1161.end)) | |
3481 | ||
3482 | ||
3483 | 1162.end | |
3484 | ||
3485 | ||
3486 | 1163.function msound(pitch) | |
3487 | ||
3488 | ||
3489 | 1164.local SlashSound = Instance.new("Sound") | |
3490 | ||
3491 | ||
3492 | 1165.SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148" | |
3493 | ||
3494 | ||
3495 | 1166.SlashSound.Parent = workspace | |
3496 | ||
3497 | ||
3498 | 1167.SlashSound.Volume = .7 | |
3499 | ||
3500 | ||
3501 | 1168.SlashSound.Pitch = pitch | |
3502 | ||
3503 | ||
3504 | 1169.SlashSound.PlayOnRemove = true | |
3505 | ||
3506 | ||
3507 | 1170.coroutine.resume(coroutine.create(function() | |
3508 | ||
3509 | ||
3510 | 1171.wait(0) | |
3511 | ||
3512 | ||
3513 | 1172.SlashSound.Parent = nil | |
3514 | ||
3515 | ||
3516 | 1173.end)) | |
3517 | ||
3518 | ||
3519 | 1174.end | |
3520 | ||
3521 | ||
3522 | 1175.function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
3523 | ||
3524 | ||
3525 | 1176.local msh1 = Instance.new("BlockMesh") | |
3526 | ||
3527 | ||
3528 | 1177.msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
3529 | ||
3530 | ||
3531 | 1178.S=Instance.new("Part") | |
3532 | ||
3533 | ||
3534 | 1179.S.Name="Effect" | |
3535 | ||
3536 | ||
3537 | 1180.S.formFactor=0 | |
3538 | ||
3539 | ||
3540 | 1181.S.Size=Vector3.new(x1,y1,z1) | |
3541 | ||
3542 | ||
3543 | 1182.S.BrickColor=color | |
3544 | ||
3545 | ||
3546 | 1183.S.Reflectance = 0 | |
3547 | ||
3548 | ||
3549 | 1184.S.TopSurface=0 | |
3550 | ||
3551 | ||
3552 | 1185.S.BottomSurface=0 | |
3553 | ||
3554 | ||
3555 | 1186.S.Transparency=0 | |
3556 | ||
3557 | ||
3558 | 1187.S.Anchored=true | |
3559 | ||
3560 | ||
3561 | 1188.S.CanCollide=false | |
3562 | ||
3563 | ||
3564 | 1189.S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3565 | ||
3566 | ||
3567 | 1190.S.Parent=workspace | |
3568 | ||
3569 | ||
3570 | 1191.msh1.Parent = S | |
3571 | ||
3572 | ||
3573 | 1192.coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
3574 | ||
3575 | ||
3576 | 1193.end | |
3577 | ||
3578 | ||
3579 | 1194.attackdebounce = false | |
3580 | ||
3581 | ||
3582 | 1195.Damagefunc1=function(hit,Damage,Knockback) | |
3583 | ||
3584 | ||
3585 | 1196.if hit.Parent==nil then | |
3586 | ||
3587 | ||
3588 | 1197.return | |
3589 | ||
3590 | ||
3591 | 1198.end | |
3592 | ||
3593 | ||
3594 | 1199.CPlayer=Bin | |
3595 | ||
3596 | ||
3597 | 1200.h=hit.Parent:FindFirstChild("Humanoid") | |
3598 | ||
3599 | ||
3600 | 1201.if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
3601 | ||
3602 | ||
3603 | 1202.if attackdebounce == false then | |
3604 | ||
3605 | ||
3606 | 1203.critsound(2) | |
3607 | ||
3608 | ||
3609 | 1204.attackdebounce = true | |
3610 | ||
3611 | ||
3612 | 1205.coroutine.resume(coroutine.create(function() | |
3613 | ||
3614 | ||
3615 | 1206.wait(0.1) | |
3616 | ||
3617 | ||
3618 | 1207.attackdebounce = false | |
3619 | ||
3620 | ||
3621 | 1208.end)) | |
3622 | ||
3623 | ||
3624 | 1209.Damage=Damage | |
3625 | ||
3626 | ||
3627 | 1210.--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
3628 | ||
3629 | ||
3630 | 1211.return | |
3631 | ||
3632 | ||
3633 | 1212.end]] | |
3634 | ||
3635 | ||
3636 | 1213.c=Instance.new("ObjectValue") | |
3637 | ||
3638 | ||
3639 | 1214.c.Name="creator" | |
3640 | ||
3641 | ||
3642 | 1215.c.Value=game.Players.LocalPlayer | |
3643 | ||
3644 | ||
3645 | 1216.c.Parent=h | |
3646 | ||
3647 | ||
3648 | 1217.game:GetService("Debris"):AddItem(c,.5) | |
3649 | ||
3650 | ||
3651 | 1218.-- print(c.Value) | |
3652 | ||
3653 | ||
3654 | 1219.if math.random(0,99)+math.random()<=5 then | |
3655 | ||
3656 | ||
3657 | 1220.CRIT=true | |
3658 | ||
3659 | ||
3660 | 1221.Damage=Damage*150 | |
3661 | ||
3662 | ||
3663 | 1222.--[[ Knockback=Knockback*2 | |
3664 | ||
3665 | ||
3666 | 1223.r=Instance.new("BodyAngularVelocity") | |
3667 | ||
3668 | ||
3669 | 1224.r.P=3000 | |
3670 | ||
3671 | ||
3672 | 1225.r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
3673 | ||
3674 | ||
3675 | 1226.r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
3676 | ||
3677 | ||
3678 | 1227.r.Parent=hit.Parent.Torso]] | |
3679 | ||
3680 | ||
3681 | 1228.--critsound(2) | |
3682 | ||
3683 | ||
3684 | 1229.end | |
3685 | ||
3686 | ||
3687 | 1230.Damage=Damage+math.random(50,100) | |
3688 | ||
3689 | ||
3690 | 1231.-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20)) | |
3691 | ||
3692 | ||
3693 | 1232.h:TakeDamage(Damage) | |
3694 | ||
3695 | ||
3696 | 1233.showDamage(hit.Parent,Damage,50) | |
3697 | ||
3698 | ||
3699 | 1234.vp=Instance.new("BodyVelocity") | |
3700 | ||
3701 | ||
3702 | 1235.vp.P=500 | |
3703 | ||
3704 | ||
3705 | 1236.vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
3706 | ||
3707 | ||
3708 | 1237.-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
3709 | ||
3710 | ||
3711 | 1238.vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
3712 | ||
3713 | ||
3714 | 1239.if Knockback>0 then | |
3715 | ||
3716 | ||
3717 | 1240.vp.Parent=hit.Parent.Torso | |
3718 | ||
3719 | ||
3720 | 1241.end | |
3721 | ||
3722 | ||
3723 | 1242.game:GetService("Debris"):AddItem(vp,.25) | |
3724 | ||
3725 | ||
3726 | 1243.--[[ r=Instance.new("BodyAngularVelocity") | |
3727 | ||
3728 | ||
3729 | 1244.r.P=3000 | |
3730 | ||
3731 | ||
3732 | 1245.r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
3733 | ||
3734 | ||
3735 | 1246.r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
3736 | ||
3737 | ||
3738 | 1247.r.Parent=hit.Parent.Torso]] | |
3739 | ||
3740 | ||
3741 | 1248.game:GetService("Debris"):AddItem(r,.5) | |
3742 | ||
3743 | ||
3744 | 1249.c=Instance.new("ObjectValue") | |
3745 | ||
3746 | ||
3747 | 1250.c.Name="creator" | |
3748 | ||
3749 | ||
3750 | 1251.c.Value=Player | |
3751 | ||
3752 | ||
3753 | 1252.c.Parent=h | |
3754 | ||
3755 | ||
3756 | 1253.game:GetService("Debris"):AddItem(c,.5) | |
3757 | ||
3758 | ||
3759 | 1254.CRIT=false | |
3760 | ||
3761 | ||
3762 | 1255.hitDeb=true | |
3763 | ||
3764 | ||
3765 | 1256.AttackPos=6 | |
3766 | ||
3767 | ||
3768 | 1257.end | |
3769 | ||
3770 | ||
3771 | 1258.end | |
3772 | ||
3773 | ||
3774 | 1259.end | |
3775 | ||
3776 | ||
3777 | 1260.Damagefunc2=function(hit,Damage,Knockback) | |
3778 | ||
3779 | ||
3780 | 1261.if hit.Parent==nil then | |
3781 | ||
3782 | ||
3783 | 1262.return | |
3784 | ||
3785 | ||
3786 | 1263.end | |
3787 | ||
3788 | ||
3789 | 1264.CPlayer=Bin | |
3790 | ||
3791 | ||
3792 | 1265.h=hit.Parent:FindFirstChild("Humanoid") | |
3793 | ||
3794 | ||
3795 | 1266.if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
3796 | ||
3797 | ||
3798 | 1267.if attackdebounce == false then | |
3799 | ||
3800 | ||
3801 | 1268.critsound(1) | |
3802 | ||
3803 | ||
3804 | 1269.attackdebounce = true | |
3805 | ||
3806 | ||
3807 | 1270.coroutine.resume(coroutine.create(function() | |
3808 | ||
3809 | ||
3810 | 1271.wait(0.1) | |
3811 | ||
3812 | ||
3813 | 1272.attackdebounce = false | |
3814 | ||
3815 | ||
3816 | 1273.end)) | |
3817 | ||
3818 | ||
3819 | 1274.Damage=Damage | |
3820 | ||
3821 | ||
3822 | 1275.--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
3823 | ||
3824 | ||
3825 | 1276.return | |
3826 | ||
3827 | ||
3828 | 1277.end]] | |
3829 | ||
3830 | ||
3831 | 1278.c=Instance.new("ObjectValue") | |
3832 | ||
3833 | ||
3834 | 1279.c.Name="creator" | |
3835 | ||
3836 | ||
3837 | 1280.c.Value=game.Players.LocalPlayer | |
3838 | ||
3839 | ||
3840 | 1281.c.Parent=h | |
3841 | ||
3842 | ||
3843 | 1282.game:GetService("Debris"):AddItem(c,.5) | |
3844 | ||
3845 | ||
3846 | 1283.-- print(c.Value) | |
3847 | ||
3848 | ||
3849 | 1284.if math.random(0,99)+math.random()<=5 then | |
3850 | ||
3851 | ||
3852 | 1285.CRIT=true | |
3853 | ||
3854 | ||
3855 | 1286.Damage=Damage*100 | |
3856 | ||
3857 | ||
3858 | 1287.--[[ Knockback=Knockback*2 | |
3859 | ||
3860 | ||
3861 | 1288.r=Instance.new("BodyAngularVelocity") | |
3862 | ||
3863 | ||
3864 | 1289.r.P=3000 | |
3865 | ||
3866 | ||
3867 | 1290.r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
3868 | ||
3869 | ||
3870 | 1291.r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
3871 | ||
3872 | ||
3873 | 1292.r.Parent=hit.Parent.Torso]] | |
3874 | ||
3875 | ||
3876 | 1293.--critsound(2) | |
3877 | ||
3878 | ||
3879 | 1294.end | |
3880 | ||
3881 | ||
3882 | 1295.Damage=Damage+math.random(50,100) | |
3883 | ||
3884 | ||
3885 | 1296.-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20)) | |
3886 | ||
3887 | ||
3888 | 1297.h:TakeDamage(Damage) | |
3889 | ||
3890 | ||
3891 | 1298.showDamage(hit.Parent,Damage,50) | |
3892 | ||
3893 | ||
3894 | 1299.vp=Instance.new("BodyVelocity") | |
3895 | ||
3896 | ||
3897 | 1300.vp.P=500 | |
3898 | ||
3899 | ||
3900 | 1301.vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
3901 | ||
3902 | ||
3903 | 1302.-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
3904 | ||
3905 | ||
3906 | 1303.vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
3907 | ||
3908 | ||
3909 | 1304.rl=Instance.new("BodyAngularVelocity") | |
3910 | ||
3911 | ||
3912 | 1305.rl.P=3000 | |
3913 | ||
3914 | ||
3915 | 1306.rl.maxTorque=Vector3.new(5000,5000,5000)*500000000 | |
3916 | ||
3917 | ||
3918 | 1307.rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
3919 | ||
3920 | ||
3921 | 1308.rl.Parent=t | |
3922 | ||
3923 | ||
3924 | 1309.game:GetService("Debris"):AddItem(rl,.2) | |
3925 | ||
3926 | ||
3927 | 1310.vl=Instance.new("BodyVelocity") | |
3928 | ||
3929 | ||
3930 | 1311.vl.P=4500 | |
3931 | ||
3932 | ||
3933 | 1312.vl.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3934 | ||
3935 | ||
3936 | 1313.vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0) | |
3937 | ||
3938 | ||
3939 | 1314.vl.Parent=t | |
3940 | ||
3941 | ||
3942 | 1315.game:GetService("Debris"):AddItem(vl,.2) | |
3943 | ||
3944 | ||
3945 | 1316.if Knockback>0 then | |
3946 | ||
3947 | ||
3948 | 1317.vp.Parent=hit.Parent.Torso | |
3949 | ||
3950 | ||
3951 | 1318.end | |
3952 | ||
3953 | ||
3954 | 1319.game:GetService("Debris"):AddItem(vp,.25) | |
3955 | ||
3956 | ||
3957 | 1320.--[[ r=Instance.new("BodyAngularVelocity") | |
3958 | ||
3959 | ||
3960 | 1321.r.P=3000 | |
3961 | ||
3962 | ||
3963 | 1322.r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
3964 | ||
3965 | ||
3966 | 1323.r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
3967 | ||
3968 | ||
3969 | 1324.r.Parent=hit.Parent.Torso]] | |
3970 | ||
3971 | ||
3972 | 1325.game:GetService("Debris"):AddItem(r,.5) | |
3973 | ||
3974 | ||
3975 | 1326.c=Instance.new("ObjectValue") | |
3976 | ||
3977 | ||
3978 | 1327.c.Name="creator" | |
3979 | ||
3980 | ||
3981 | 1328.c.Value=Player | |
3982 | ||
3983 | ||
3984 | 1329.c.Parent=h | |
3985 | ||
3986 | ||
3987 | 1330.game:GetService("Debris"):AddItem(c,.5) | |
3988 | ||
3989 | ||
3990 | 1331.CRIT=false | |
3991 | ||
3992 | ||
3993 | 1332.hitDeb=true | |
3994 | ||
3995 | ||
3996 | 1333.AttackPos=6 | |
3997 | ||
3998 | ||
3999 | 1334.end | |
4000 | ||
4001 | ||
4002 | 1335.end | |
4003 | ||
4004 | ||
4005 | 1336.end | |
4006 | ||
4007 | ||
4008 | 1337.slashdamage1=function(hit,Damage,Knockback) | |
4009 | ||
4010 | ||
4011 | 1338.if hit.Parent==nil then | |
4012 | ||
4013 | ||
4014 | 1339.return | |
4015 | ||
4016 | ||
4017 | 1340.end | |
4018 | ||
4019 | ||
4020 | 1341.CPlayer=Bin | |
4021 | ||
4022 | ||
4023 | 1342.h=hit.Parent:FindFirstChild("Humanoid") | |
4024 | ||
4025 | ||
4026 | 1343.if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
4027 | ||
4028 | ||
4029 | 1344.if attackdebounce == false then | |
4030 | ||
4031 | ||
4032 | 1345.attackdebounce = true | |
4033 | ||
4034 | ||
4035 | 1346.coroutine.resume(coroutine.create(function() | |
4036 | ||
4037 | ||
4038 | 1347.wait(0.1) | |
4039 | ||
4040 | ||
4041 | 1348.attackdebounce = false | |
4042 | ||
4043 | ||
4044 | 1349.end)) | |
4045 | ||
4046 | ||
4047 | 1350.Damage=Damage | |
4048 | ||
4049 | ||
4050 | 1351.--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
4051 | ||
4052 | ||
4053 | 1352.return | |
4054 | ||
4055 | ||
4056 | 1353.end]] | |
4057 | ||
4058 | ||
4059 | 1354.c=Instance.new("ObjectValue") | |
4060 | ||
4061 | ||
4062 | 1355.c.Name="creator" | |
4063 | ||
4064 | ||
4065 | 1356.c.Value=game.Players.LocalPlayer | |
4066 | ||
4067 | ||
4068 | 1357.c.Parent=h | |
4069 | ||
4070 | ||
4071 | 1358.game:GetService("Debris"):AddItem(c,.5) | |
4072 | ||
4073 | ||
4074 | 1359.-- print(c.Value) | |
4075 | ||
4076 | ||
4077 | 1360.if math.random(0,99)+math.random()<=5 then | |
4078 | ||
4079 | ||
4080 | 1361.Damage=Damage*50 | |
4081 | ||
4082 | ||
4083 | 1362.--[[ Knockback=Knockback*2 | |
4084 | ||
4085 | ||
4086 | 1363.r=Instance.new("BodyAngularVelocity") | |
4087 | ||
4088 | ||
4089 | 1364.r.P=3000 | |
4090 | ||
4091 | ||
4092 | 1365.r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
4093 | ||
4094 | ||
4095 | 1366.r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
4096 | ||
4097 | ||
4098 | 1367.r.Parent=hit.Parent.Torso]] | |
4099 | ||
4100 | ||
4101 | 1368.--critsound(2) | |
4102 | ||
4103 | ||
4104 | 1369.end | |
4105 | ||
4106 | ||
4107 | 1370.Damage=Damage+math.random(65,90) | |
4108 | ||
4109 | ||
4110 | 1371.-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20)) | |
4111 | ||
4112 | ||
4113 | 1372.h:TakeDamage(Damage) | |
4114 | ||
4115 | ||
4116 | 1373.showDamage(hit.Parent,Damage,50) | |
4117 | ||
4118 | ||
4119 | 1374.vp=Instance.new("BodyVelocity") | |
4120 | ||
4121 | ||
4122 | 1375.vp.P=500 | |
4123 | ||
4124 | ||
4125 | 1376.vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
4126 | ||
4127 | ||
4128 | 1377.-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
4129 | ||
4130 | ||
4131 | 1378.vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
4132 | ||
4133 | ||
4134 | 1379.if Knockback>0 then | |
4135 | ||
4136 | ||
4137 | 1380.vp.Parent=hit.Parent.Torso | |
4138 | ||
4139 | ||
4140 | 1381.end | |
4141 | ||
4142 | ||
4143 | 1382.game:GetService("Debris"):AddItem(vp,.25) | |
4144 | ||
4145 | ||
4146 | 1383.--[[ r=Instance.new("BodyAngularVelocity") | |
4147 | ||
4148 | ||
4149 | 1384.r.P=3000 | |
4150 | ||
4151 | ||
4152 | 1385.r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
4153 | ||
4154 | ||
4155 | 1386.r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
4156 | ||
4157 | ||
4158 | 1387.r.Parent=hit.Parent.Torso]] | |
4159 | ||
4160 | ||
4161 | 1388.game:GetService("Debris"):AddItem(r,.5) | |
4162 | ||
4163 | ||
4164 | 1389.c=Instance.new("ObjectValue") | |
4165 | ||
4166 | ||
4167 | 1390.c.Name="creator" | |
4168 | ||
4169 | ||
4170 | 1391.c.Value=Player | |
4171 | ||
4172 | ||
4173 | 1392.c.Parent=h | |
4174 | ||
4175 | ||
4176 | 1393.game:GetService("Debris"):AddItem(c,.5) | |
4177 | ||
4178 | ||
4179 | 1394.CRIT=false | |
4180 | ||
4181 | ||
4182 | 1395.hitDeb=true | |
4183 | ||
4184 | ||
4185 | 1396.AttackPos=6 | |
4186 | ||
4187 | ||
4188 | 1397.end | |
4189 | ||
4190 | ||
4191 | 1398.end | |
4192 | ||
4193 | ||
4194 | 1399.end | |
4195 | ||
4196 | ||
4197 | 1400.DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function | |
4198 | ||
4199 | ||
4200 | 1401.if hit.Parent==nil then | |
4201 | ||
4202 | ||
4203 | 1402.return | |
4204 | ||
4205 | ||
4206 | 1403.end | |
4207 | ||
4208 | ||
4209 | 1404.h=hit.Parent:FindFirstChild("Humanoid") | |
4210 | ||
4211 | ||
4212 | 1405.if h==nil then | |
4213 | ||
4214 | ||
4215 | 1406.h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
4216 | ||
4217 | ||
4218 | 1407.end | |
4219 | ||
4220 | ||
4221 | 1408.t=hit.Parent:FindFirstChild("Torso") | |
4222 | ||
4223 | ||
4224 | 1409.if h~=nil and t~=nil then | |
4225 | ||
4226 | ||
4227 | 1410.--[[ if h.Parent==Character then | |
4228 | ||
4229 | ||
4230 | 1411.return | |
4231 | ||
4232 | ||
4233 | 1412.end]] | |
4234 | ||
4235 | ||
4236 | 1413.critsound(1.5) | |
4237 | ||
4238 | ||
4239 | 1414.Damage=Dmg+math.random(20,100) | |
4240 | ||
4241 | ||
4242 | 1415.h:TakeDamage(Damage) | |
4243 | ||
4244 | ||
4245 | 1416.c=Instance.new("ObjectValue") | |
4246 | ||
4247 | ||
4248 | 1417.c.Name="creator" | |
4249 | ||
4250 | ||
4251 | 1418.c.Value=game.Players.LocalPlayer | |
4252 | ||
4253 | ||
4254 | 1419.c.Parent=h | |
4255 | ||
4256 | ||
4257 | 1420.game:GetService("Debris"):AddItem(c,.5) | |
4258 | ||
4259 | ||
4260 | 1421.showDamage(hit.Parent,Damage,59) | |
4261 | ||
4262 | ||
4263 | 1422.vl=Instance.new("BodyVelocity") | |
4264 | ||
4265 | ||
4266 | 1423.vl.P=4500 | |
4267 | ||
4268 | ||
4269 | 1424.vl.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
4270 | ||
4271 | ||
4272 | 1425.vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0) | |
4273 | ||
4274 | ||
4275 | 1426.vl.Parent=t | |
4276 | ||
4277 | ||
4278 | 1427.game:GetService("Debris"):AddItem(vl,.2) | |
4279 | ||
4280 | ||
4281 | 1428.rl=Instance.new("BodyAngularVelocity") | |
4282 | ||
4283 | ||
4284 | 1429.rl.P=3000 | |
4285 | ||
4286 | ||
4287 | 1430.rl.maxTorque=Vector3.new(5000,5000,5000)*500000000 | |
4288 | ||
4289 | ||
4290 | 1431.rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
4291 | ||
4292 | ||
4293 | 1432.rl.Parent=t | |
4294 | ||
4295 | ||
4296 | 1433.game:GetService("Debris"):AddItem(rl,.2) | |
4297 | ||
4298 | ||
4299 | 1434.else | |
4300 | ||
4301 | ||
4302 | 1435.if hit.CanCollide==false then | |
4303 | ||
4304 | ||
4305 | 1436.return | |
4306 | ||
4307 | ||
4308 | 1437.end | |
4309 | ||
4310 | ||
4311 | 1438.MagicCom:disconnect() | |
4312 | ||
4313 | ||
4314 | 1439.-- DBExplode(DB) | |
4315 | ||
4316 | ||
4317 | 1440.CRIT=false | |
4318 | ||
4319 | ||
4320 | 1441.end | |
4321 | ||
4322 | ||
4323 | 1442.end | |
4324 | ||
4325 | ||
4326 | 1443.showDamage=function(Char,Dealt,du) | |
4327 | ||
4328 | ||
4329 | 1444.m=Instance.new("Model") | |
4330 | ||
4331 | ||
4332 | 1445.m.Name=tostring(Dealt) | |
4333 | ||
4334 | ||
4335 | 1446.h=Instance.new("Humanoid") | |
4336 | ||
4337 | ||
4338 | 1447.h.Health=math.huge | |
4339 | ||
4340 | ||
4341 | 1448.h.MaxHealth=math.huge | |
4342 | ||
4343 | ||
4344 | 1449.h.Parent=m | |
4345 | ||
4346 | ||
4347 | 1450.c=Instance.new("Part") | |
4348 | ||
4349 | ||
4350 | 1451.c.Transparency=0 | |
4351 | ||
4352 | ||
4353 | 1452.c.BrickColor=BrickColor:Red() | |
4354 | ||
4355 | ||
4356 | 1453.c.Name="Head" | |
4357 | ||
4358 | ||
4359 | 1454.c.TopSurface=0 | |
4360 | ||
4361 | ||
4362 | 1455.c.BottomSurface=0 | |
4363 | ||
4364 | ||
4365 | 1456.c.formFactor="Plate" | |
4366 | ||
4367 | ||
4368 | 1457.c.Size=Vector3.new(1,.4,1) | |
4369 | ||
4370 | ||
4371 | 1458.ms=Instance.new("CylinderMesh") | |
4372 | ||
4373 | ||
4374 | 1459.ms.Bevel=.1 | |
4375 | ||
4376 | ||
4377 | 1460.ms.Scale=Vector3.new(.8,.8,.8) | |
4378 | ||
4379 | ||
4380 | 1461.ms.Parent=c | |
4381 | ||
4382 | ||
4383 | 1462.c.Reflectance=0 | |
4384 | ||
4385 | ||
4386 | 1463.Instance.new("BodyGyro").Parent=c | |
4387 | ||
4388 | ||
4389 | 1464.c.Parent=m | |
4390 | ||
4391 | ||
4392 | 1465.c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
4393 | ||
4394 | ||
4395 | 1466.f=Instance.new("BodyPosition") | |
4396 | ||
4397 | ||
4398 | 1467.f.P=2000 | |
4399 | ||
4400 | ||
4401 | 1468.f.D=100 | |
4402 | ||
4403 | ||
4404 | 1469.f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
4405 | ||
4406 | ||
4407 | 1470.f.position=c.Position+Vector3.new(0,3,0) | |
4408 | ||
4409 | ||
4410 | 1471.f.Parent=c | |
4411 | ||
4412 | ||
4413 | 1472.game:GetService("Debris"):AddItem(m,.5+du) | |
4414 | ||
4415 | ||
4416 | 1473.c.CanCollide=false | |
4417 | ||
4418 | ||
4419 | 1474.m.Parent=workspace | |
4420 | ||
4421 | ||
4422 | 1475.c.CanCollide=false | |
4423 | ||
4424 | ||
4425 | 1476.end | |
4426 | ||
4427 | ||
4428 | 1477.Anims.Walking = function() | |
4429 | ||
4430 | ||
4431 | 1478.derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
4432 | ||
4433 | ||
4434 | 1479.derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
4435 | ||
4436 | ||
4437 | 1480.derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
4438 | ||
4439 | ||
4440 | 1481.derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
4441 | ||
4442 | ||
4443 | 1482.for i=0,1,difficulty do | |
4444 | ||
4445 | ||
4446 | 1483.if act.Jumping ~= true then | |
4447 | ||
4448 | ||
4449 | 1484.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0) | |
4450 | ||
4451 | ||
4452 | 1485.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
4453 | ||
4454 | ||
4455 | 1486.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0) | |
4456 | ||
4457 | ||
4458 | 1487.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
4459 | ||
4460 | ||
4461 | 1488.wait() | |
4462 | ||
4463 | ||
4464 | 1489.end | |
4465 | ||
4466 | ||
4467 | 1490.end | |
4468 | ||
4469 | ||
4470 | 1491.coroutine.resume(coroutine.create(function() | |
4471 | ||
4472 | ||
4473 | 1492.for i=0,1,difficulty do | |
4474 | ||
4475 | ||
4476 | 1493.if act.Jumping ~= true then | |
4477 | ||
4478 | ||
4479 | 1494.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0) | |
4480 | ||
4481 | ||
4482 | 1495.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
4483 | ||
4484 | ||
4485 | 1496.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0) | |
4486 | ||
4487 | ||
4488 | 1497.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
4489 | ||
4490 | ||
4491 | 1498.wait() | |
4492 | ||
4493 | ||
4494 | 1499.end | |
4495 | ||
4496 | ||
4497 | 1500.end | |
4498 | ||
4499 | ||
4500 | 1501.for i=1,0,-difficulty do | |
4501 | ||
4502 | ||
4503 | 1502.if act.Jumping ~= true then | |
4504 | ||
4505 | ||
4506 | 1503.Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0) | |
4507 | ||
4508 | ||
4509 | 1504.Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
4510 | ||
4511 | ||
4512 | 1505.Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0) | |
4513 | ||
4514 | ||
4515 | 1506.Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
4516 | ||
4517 | ||
4518 | 1507.wait() | |
4519 | ||
4520 | ||
4521 | 1508.end | |
4522 | ||
4523 | ||
4524 | 1509.end | |
4525 | ||
4526 | ||
4527 | 1510.end)) | |
4528 | ||
4529 | ||
4530 | 1511.for i=1,0,-difficulty do | |
4531 | ||
4532 | ||
4533 | 1512.if act.Jumping ~= true then | |
4534 | ||
4535 | ||
4536 | 1513.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0) | |
4537 | ||
4538 | ||
4539 | 1514.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
4540 | ||
4541 | ||
4542 | 1515.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0) | |
4543 | ||
4544 | ||
4545 | 1516.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
4546 | ||
4547 | ||
4548 | 1517.wait() | |
4549 | ||
4550 | ||
4551 | 1518.end | |
4552 | ||
4553 | ||
4554 | 1519.end | |
4555 | ||
4556 | ||
4557 | 1520.derpcon1:disconnect() | |
4558 | ||
4559 | ||
4560 | 1521.derpcon2:disconnect() | |
4561 | ||
4562 | ||
4563 | 1522.derpcon3:disconnect() | |
4564 | ||
4565 | ||
4566 | 1523.derpcon4:disconnect() | |
4567 | ||
4568 | ||
4569 | 1524.if act.Jumping ~= true then | |
4570 | ||
4571 | ||
4572 | 1525.Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) | |
4573 | ||
4574 | ||
4575 | 1526.Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0) | |
4576 | ||
4577 | ||
4578 | 1527.Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
4579 | ||
4580 | ||
4581 | 1528.Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
4582 | ||
4583 | ||
4584 | 1529.end | |
4585 | ||
4586 | ||
4587 | 1530.end | |
4588 | ||
4589 | ||
4590 | 1531.--[[while true do | |
4591 | ||
4592 | ||
4593 | 1532.wait() | |
4594 | ||
4595 | ||
4596 | 1533.if act.Walking == true then return end | |
4597 | ||
4598 | ||
4599 | 1534.if Torso.Velocity.magnitude >= 19 then | |
4600 | ||
4601 | ||
4602 | 1535.act.Walking = true | |
4603 | ||
4604 | ||
4605 | 1536.Anims.Walking() | |
4606 | ||
4607 | ||
4608 | 1537.act.Walking = false | |
4609 | ||
4610 | ||
4611 | 1538.end | |
4612 | ||
4613 | ||
4614 | 1539.end ]] | |
4615 | ||
4616 | ||
4617 | 1540.t = it("Tool") | |
4618 | ||
4619 | ||
4620 | 1541.t.Equipped:connect(function(mouse) t:Remove() | |
4621 | ||
4622 | ||
4623 | 1542.Mouse = mouse | |
4624 | ||
4625 | ||
4626 | 1543.mouse.KeyDown:connect(function(k) act.keydown = true | |
4627 | ||
4628 | ||
4629 | 1544.pcall(function() act.key[k:lower()] = true end) | |
4630 | ||
4631 | ||
4632 | 1545.local kk = k:lower() | |
4633 | ||
4634 | ||
4635 | 1546.if kk == "w" or kk == "a" or kk == "s" or kk == "d" then | |
4636 | ||
4637 | ||
4638 | 1547.if act.Walking == true then return end | |
4639 | ||
4640 | ||
4641 | 1548.while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do | |
4642 | ||
4643 | ||
4644 | 1549.act.Walking = true | |
4645 | ||
4646 | ||
4647 | 1550.Anims.Walking() | |
4648 | ||
4649 | ||
4650 | 1551.wait() | |
4651 | ||
4652 | ||
4653 | 1552.end | |
4654 | ||
4655 | ||
4656 | 1553.act.Walking = false | |
4657 | ||
4658 | ||
4659 | 1554.end | |
4660 | ||
4661 | ||
4662 | 1555.if kk == "q" then | |
4663 | ||
4664 | ||
4665 | 1556.if roflcopter==false then | |
4666 | ||
4667 | ||
4668 | 1557.roflcopter=true | |
4669 | ||
4670 | ||
4671 | 1558.RoflCopter() | |
4672 | ||
4673 | ||
4674 | 1559.elseif roflcopter==true then | |
4675 | ||
4676 | ||
4677 | 1560.roflcopter=false | |
4678 | ||
4679 | ||
4680 | 1561.end | |
4681 | ||
4682 | ||
4683 | 1562.--[[if roflcopter==false then | |
4684 | ||
4685 | ||
4686 | 1563.roflcopter=true | |
4687 | ||
4688 | ||
4689 | 1564.Anim() | |
4690 | ||
4691 | ||
4692 | 1565.elseif roflcopter==true then | |
4693 | ||
4694 | ||
4695 | 1566.roflcopter=false | |
4696 | ||
4697 | ||
4698 | 1567.end]] | |
4699 | ||
4700 | ||
4701 | 1568.end | |
4702 | ||
4703 | ||
4704 | 1569.if kk == "e" then | |
4705 | ||
4706 | ||
4707 | 1570.bodypos.position=bodypos.position+Vector3.new(0,10,0) | |
4708 | ||
4709 | ||
4710 | 1571.end | |
4711 | ||
4712 | ||
4713 | 1572.if kk == "r" then | |
4714 | ||
4715 | ||
4716 | 1573.bodypos.position=bodypos.position-Vector3.new(0,10,0) | |
4717 | ||
4718 | ||
4719 | 1574.end | |
4720 | ||
4721 | ||
4722 | 1575.if attack == true then return end | |
4723 | ||
4724 | ||
4725 | 1576.if kk == "f" then | |
4726 | ||
4727 | ||
4728 | 1577.Shoot() | |
4729 | ||
4730 | ||
4731 | 1578.end | |
4732 | ||
4733 | ||
4734 | 1579.if kk == "g" then | |
4735 | ||
4736 | ||
4737 | 1580.Shoot2() | |
4738 | ||
4739 | ||
4740 | 1581.end | |
4741 | ||
4742 | ||
4743 | 1582.if kk == "h" then | |
4744 | ||
4745 | ||
4746 | 1583.Shoot3() | |
4747 | ||
4748 | ||
4749 | 1584.end | |
4750 | ||
4751 | ||
4752 | 1585.if kk == "j" then | |
4753 | ||
4754 | ||
4755 | 1586.Shoot4() | |
4756 | ||
4757 | ||
4758 | 1587.end | |
4759 | ||
4760 | ||
4761 | 1588.if kk == "z" then | |
4762 | ||
4763 | ||
4764 | 1589.Attack() | |
4765 | ||
4766 | ||
4767 | 1590.end | |
4768 | ||
4769 | ||
4770 | 1591.if kk == "x" then | |
4771 | ||
4772 | ||
4773 | 1592.DualAttack() | |
4774 | ||
4775 | ||
4776 | 1593.end | |
4777 | ||
4778 | ||
4779 | 1594.if kk == "c" then | |
4780 | ||
4781 | ||
4782 | 1595.MegaBonk() | |
4783 | ||
4784 | ||
4785 | 1596.end | |
4786 | ||
4787 | ||
4788 | 1597.if kk == "v" then | |
4789 | ||
4790 | ||
4791 | 1598.Stomp() | |
4792 | ||
4793 | ||
4794 | 1599.end | |
4795 | ||
4796 | ||
4797 | 1600.if kk == " " then | |
4798 | ||
4799 | ||
4800 | 1601.Jump() | |
4801 | ||
4802 | ||
4803 | 1602.end | |
4804 | ||
4805 | ||
4806 | 1603.end) | |
4807 | ||
4808 | ||
4809 | 1604.mouse.KeyUp:connect(function(k) act.keydown = false | |
4810 | ||
4811 | ||
4812 | 1605.pcall(function() act.key[k:lower()] = false end) | |
4813 | ||
4814 | ||
4815 | 1606.end) | |
4816 | ||
4817 | ||
4818 | 1607.end) | |
4819 | ||
4820 | ||
4821 | 1608.wait(0.1) | |
4822 | ||
4823 | ||
4824 | 1609.t.Parent = Char |