SHOW:
|
|
- or go back to the newest paste.
1 | - | User = game.Players.Tommydoodles |
1 | + | User = game.Players.Webooz |
2 | ||
3 | ||
4 | Char = User.Character | |
5 | ||
6 | --Char.Humanoid.MaxHealth = math.huge | |
7 | ||
8 | - | User = game.Players.Tommydoodles |
8 | + | User = game.Players.Webooz |
9 | ||
10 | Char = User.Character | |
11 | ||
12 | PrimaryColor = "Institutional white" | |
13 | ||
14 | SecondaryColor = "Pastel light blue" | |
15 | ||
16 | ThirdColor = "Medium blue" | |
17 | ||
18 | SkinColor = "Cool yellow" | |
19 | ||
20 | ||
21 | ||
22 | for i,v in pairs(Char:GetChildren()) do | |
23 | ||
24 | if v:IsA("CharacterMesh") then | |
25 | ||
26 | v:Remove() | |
27 | ||
28 | elseif v.Name == "Shirt" then | |
29 | ||
30 | v:Remove() | |
31 | ||
32 | elseif v.Name == "Pants" then | |
33 | ||
34 | elseif v.Name == "Torso" then | |
35 | ||
36 | if v:FindFirstChild("roblox") then | |
37 | ||
38 | v.roblox:Remove() | |
39 | ||
40 | end | |
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | elseif v:IsA("Hat") then | |
47 | ||
48 | v:Remove() | |
49 | ||
50 | elseif v.Name == "Head" then | |
51 | ||
52 | v.BrickColor = BrickColor.new(SkinColor) | |
53 | ||
54 | if v:FindFirstChild("face") ~= nil then | |
55 | ||
56 | v.face:Remove() | |
57 | ||
58 | end | |
59 | ||
60 | ||
61 | ||
62 | end | |
63 | ||
64 | end | |
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | local h = Instance.new("Part",Char) | |
71 | ||
72 | h.Name = "Hood" | |
73 | ||
74 | h.formFactor = "Custom" | |
75 | ||
76 | h.Size = Vector3.new(1,1,1) | |
77 | ||
78 | h.TopSurface = 0 | |
79 | ||
80 | h.Reflectance = 0 | |
81 | ||
82 | h.BottomSurface = 0 | |
83 | ||
84 | h.Position = h.Parent.Head.Position | |
85 | ||
86 | h.BrickColor = BrickColor.new(PrimaryColor) | |
87 | ||
88 | local x = Instance.new("Weld",h) | |
89 | ||
90 | x.Part0 = h | |
91 | ||
92 | x.Part1 = Char:FindFirstChild("Head") | |
93 | ||
94 | x.C0 = x.C0 + Vector3.new(0,-0.3,0) | |
95 | ||
96 | local sp = Instance.new("SpecialMesh",h) | |
97 | ||
98 | sp.MeshType = "FileMesh" | |
99 | ||
100 | sp.MeshId = "http://www.roblox.com/asset/?id=16952952" | |
101 | ||
102 | ||
103 | ||
104 | --torso | |
105 | ||
106 | prt1 = Instance.new("Part", Char) | |
107 | ||
108 | prt1.formFactor = "Symmetric" | |
109 | ||
110 | prt1.Size = Vector3.new(1,1,1) | |
111 | ||
112 | prt1.CanCollide = false | |
113 | ||
114 | prt1.BrickColor = BrickColor.new(PrimaryColor) | |
115 | ||
116 | prt1.TopSurface = "Smooth" | |
117 | ||
118 | prt1.Transparency = 0 | |
119 | ||
120 | prt1.BottomSurface = "Smooth" | |
121 | ||
122 | prtM = Instance.new("BlockMesh", prt1) | |
123 | ||
124 | prtM.Scale = Vector3.new(0.76,2.02,1.025) | |
125 | ||
126 | prt1:BreakJoints() | |
127 | ||
128 | prtW = Instance.new("Weld", prt1) | |
129 | ||
130 | prtW.Part0 = Char["Torso"] | |
131 | ||
132 | prtW.Part1 = prt1 | |
133 | ||
134 | prtW.C1 = CFrame.new(0.625,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
135 | ||
136 | ||
137 | ||
138 | prt2 = Instance.new("Part", Char) | |
139 | ||
140 | prt2.formFactor = "Symmetric" | |
141 | ||
142 | prt2.Size = Vector3.new(1,1,1) | |
143 | ||
144 | prt2.CanCollide = false | |
145 | ||
146 | prt2.BrickColor = BrickColor.new(PrimaryColor) | |
147 | ||
148 | prt2.TopSurface = "Smooth" | |
149 | ||
150 | prt2.Transparency = 0 | |
151 | ||
152 | prt2.BottomSurface = "Smooth" | |
153 | ||
154 | prt2M = Instance.new("BlockMesh", prt2) | |
155 | ||
156 | prt2M.Scale = Vector3.new(0.76,2.02,1.025) | |
157 | ||
158 | prt2:BreakJoints() | |
159 | ||
160 | prt2W = Instance.new("Weld", prt2) | |
161 | ||
162 | prt2W.Part0 = Char["Torso"] | |
163 | ||
164 | prt2W.Part1 = prt2 | |
165 | ||
166 | prt2W.C1 = CFrame.new(-0.625,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
167 | ||
168 | ||
169 | ||
170 | prt3 = Instance.new("Part", Char) | |
171 | ||
172 | prt3.formFactor = "Symmetric" | |
173 | ||
174 | prt3.Size = Vector3.new(1,1,1) | |
175 | ||
176 | prt3.CanCollide = false | |
177 | ||
178 | prt3.BrickColor = BrickColor.new(SecondaryColor) | |
179 | ||
180 | prt3.TopSurface = "Smooth" | |
181 | ||
182 | prt3.Transparency = 0 | |
183 | ||
184 | prt3.BottomSurface = "Smooth" | |
185 | ||
186 | prt3M = Instance.new("BlockMesh", prt3) | |
187 | ||
188 | prt3M.Scale = Vector3.new(2,2.01,1.01) | |
189 | ||
190 | prt3:BreakJoints() | |
191 | ||
192 | prt3W = Instance.new("Weld", prt3) | |
193 | ||
194 | prt3W.Part0 = Char["Torso"] | |
195 | ||
196 | prt3W.Part1 = prt3 | |
197 | ||
198 | prt3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
199 | ||
200 | ||
201 | ||
202 | ||
203 | ||
204 | _prt1 = Instance.new("Part", Char) | |
205 | ||
206 | _prt1.formFactor = "Symmetric" | |
207 | ||
208 | _prt1.Size = Vector3.new(1,1,1) | |
209 | ||
210 | _prt1.CanCollide = false | |
211 | ||
212 | _prt1.BrickColor = BrickColor.new(ThirdColor) | |
213 | ||
214 | _prt1.TopSurface = "Smooth" | |
215 | ||
216 | _prt1.Transparency = 0 | |
217 | ||
218 | _prt1.BottomSurface = "Smooth" | |
219 | ||
220 | _prt1M = Instance.new("BlockMesh", _prt1) | |
221 | ||
222 | _prt1M.Scale = Vector3.new(0.1,2.03,1.03) | |
223 | ||
224 | _prt1:BreakJoints() | |
225 | ||
226 | _prt1W = Instance.new("Weld", _prt1) | |
227 | ||
228 | _prt1W.Part0 = prt1 | |
229 | ||
230 | _prt1W.Part1 = _prt1 | |
231 | ||
232 | _prt1W.C1 = CFrame.new(-0.15,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
233 | ||
234 | ||
235 | ||
236 | _prt2 = Instance.new("Part", Char) | |
237 | ||
238 | _prt2.formFactor = "Symmetric" | |
239 | ||
240 | _prt2.Size = Vector3.new(1,1,1) | |
241 | ||
242 | _prt2.CanCollide = false | |
243 | ||
244 | _prt2.BrickColor = BrickColor.new(ThirdColor) | |
245 | ||
246 | _prt2.TopSurface = "Smooth" | |
247 | ||
248 | _prt2.Transparency = 0 | |
249 | ||
250 | _prt2.BottomSurface = "Smooth" | |
251 | ||
252 | _prt2M = Instance.new("BlockMesh", _prt2) | |
253 | ||
254 | _prt2M.Scale = Vector3.new(0.1,2.03,1.03) | |
255 | ||
256 | _prt2:BreakJoints() | |
257 | ||
258 | _prt2W = Instance.new("Weld", _prt2) | |
259 | ||
260 | _prt2W.Part0 = prt2 | |
261 | ||
262 | _prt2W.Part1 = _prt2 | |
263 | ||
264 | _prt2W.C1 = CFrame.new(0.15,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
265 | ||
266 | ||
267 | ||
268 | --legs | |
269 | ||
270 | ||
271 | ||
272 | prt4 = Instance.new("Part", Char) | |
273 | ||
274 | prt4.formFactor = "Symmetric" | |
275 | ||
276 | prt4.Size = Vector3.new(1,1,1) | |
277 | ||
278 | prt4.CanCollide = false | |
279 | ||
280 | prt4.BrickColor = BrickColor.new(PrimaryColor) | |
281 | ||
282 | prt4.TopSurface = "Smooth" | |
283 | ||
284 | prt4.Transparency = 0 | |
285 | ||
286 | prt4.BottomSurface = "Smooth" | |
287 | ||
288 | prt4M = Instance.new("BlockMesh", prt4) | |
289 | ||
290 | prt4M.Scale = Vector3.new(1.01,2.01,1.01) | |
291 | ||
292 | prt4:BreakJoints() | |
293 | ||
294 | prt4W = Instance.new("Weld", prt4) | |
295 | ||
296 | prt4W.Part0 = Char["Right Leg"] | |
297 | ||
298 | prt4W.Part1 = prt4 | |
299 | ||
300 | prt4W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
301 | ||
302 | ||
303 | ||
304 | prt5 = Instance.new("Part", Char) | |
305 | ||
306 | prt5.formFactor = "Symmetric" | |
307 | ||
308 | prt5.Size = Vector3.new(1,1,1) | |
309 | ||
310 | prt5.CanCollide = false | |
311 | ||
312 | prt5.BrickColor = BrickColor.new(PrimaryColor) | |
313 | ||
314 | prt5.TopSurface = "Smooth" | |
315 | ||
316 | prt5.Transparency = 0 | |
317 | ||
318 | prt5.BottomSurface = "Smooth" | |
319 | ||
320 | prt5M = Instance.new("BlockMesh", prt5) | |
321 | ||
322 | prt5M.Scale = Vector3.new(1.01,2.01,1.01) | |
323 | ||
324 | prt5:BreakJoints() | |
325 | ||
326 | prt5W = Instance.new("Weld", prt5) | |
327 | ||
328 | prt5W.Part0 = Char["Left Leg"] | |
329 | ||
330 | prt5W.Part1 = prt5 | |
331 | ||
332 | prt5W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
333 | ||
334 | ||
335 | ||
336 | prt6 = Instance.new("Part", Char) | |
337 | ||
338 | prt6.formFactor = "Symmetric" | |
339 | ||
340 | prt6.Size = Vector3.new(1,1,1) | |
341 | ||
342 | prt6.CanCollide = false | |
343 | ||
344 | prt6.BrickColor = BrickColor.new(PrimaryColor) | |
345 | ||
346 | prt6.TopSurface = "Smooth" | |
347 | ||
348 | prt6.Transparency = 0 | |
349 | ||
350 | prt6.BottomSurface = "Smooth" | |
351 | ||
352 | prt6M = Instance.new("BlockMesh", prt6) | |
353 | ||
354 | prt6M.Scale = Vector3.new(1.01,2.01,1.01) | |
355 | ||
356 | prt6:BreakJoints() | |
357 | ||
358 | prt6W = Instance.new("Weld", prt6) | |
359 | ||
360 | prt6W.Part0 = Char["Right Leg"] | |
361 | ||
362 | prt6W.Part1 = prt6 | |
363 | ||
364 | prt6W.C1 = CFrame.new(-0.25,0.05,0)*CFrame.Angles(math.rad(0),0,math.rad(-15)) | |
365 | ||
366 | ||
367 | ||
368 | prt7 = Instance.new("Part", Char) | |
369 | ||
370 | prt7.formFactor = "Symmetric" | |
371 | ||
372 | prt7.Size = Vector3.new(1,1,1) | |
373 | ||
374 | prt7.CanCollide = false | |
375 | ||
376 | prt7.BrickColor = BrickColor.new(PrimaryColor) | |
377 | ||
378 | prt7.TopSurface = "Smooth" | |
379 | ||
380 | prt7.Transparency = 0 | |
381 | ||
382 | prt7.BottomSurface = "Smooth" | |
383 | ||
384 | prt7M = Instance.new("BlockMesh", prt7) | |
385 | ||
386 | prt7M.Scale = Vector3.new(1.01,2.01,1.01) | |
387 | ||
388 | prt7:BreakJoints() | |
389 | ||
390 | prt7W = Instance.new("Weld", prt7) | |
391 | ||
392 | prt7W.Part0 = Char["Left Leg"] | |
393 | ||
394 | prt7W.Part1 = prt7 | |
395 | ||
396 | prt7W.C1 = CFrame.new(0.25,0.05,0)*CFrame.Angles(math.rad(0),0,math.rad(15)) | |
397 | ||
398 | ||
399 | ||
400 | ||
401 | ||
402 | _prt3 = Instance.new("Part", Char) | |
403 | ||
404 | _prt3.formFactor = "Symmetric" | |
405 | ||
406 | _prt3.Size = Vector3.new(1,1,1) | |
407 | ||
408 | _prt3.CanCollide = false | |
409 | ||
410 | _prt3.BrickColor = BrickColor.new(ThirdColor) | |
411 | ||
412 | _prt3.TopSurface = "Smooth" | |
413 | ||
414 | _prt3.Transparency = 0 | |
415 | ||
416 | _prt3.BottomSurface = "Smooth" | |
417 | ||
418 | _prt3M = Instance.new("BlockMesh", _prt3) | |
419 | ||
420 | _prt3M.Scale = Vector3.new(0.1,2.03,1.03) | |
421 | ||
422 | _prt3:BreakJoints() | |
423 | ||
424 | _prt3W = Instance.new("Weld", _prt3) | |
425 | ||
426 | _prt3W.Part0 = prt6 | |
427 | ||
428 | _prt3W.Part1 = _prt3 | |
429 | ||
430 | _prt3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
431 | ||
432 | ||
433 | ||
434 | _prt4 = Instance.new("Part", Char) | |
435 | ||
436 | _prt4.formFactor = "Symmetric" | |
437 | ||
438 | _prt4.Size = Vector3.new(1,1,1) | |
439 | ||
440 | _prt4.CanCollide = false | |
441 | ||
442 | _prt4.BrickColor = BrickColor.new(ThirdColor) | |
443 | ||
444 | _prt4.TopSurface = "Smooth" | |
445 | ||
446 | _prt4.Transparency = 0 | |
447 | ||
448 | _prt4.BottomSurface = "Smooth" | |
449 | ||
450 | _prt4M = Instance.new("BlockMesh", _prt4) | |
451 | ||
452 | _prt4M.Scale = Vector3.new(0.1,2.03,1.03) | |
453 | ||
454 | _prt4:BreakJoints() | |
455 | ||
456 | _prt4W = Instance.new("Weld", _prt4) | |
457 | ||
458 | _prt4W.Part0 = prt7 | |
459 | ||
460 | _prt4W.Part1 = _prt4 | |
461 | ||
462 | _prt4W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
463 | ||
464 | --arms | |
465 | ||
466 | ||
467 | ||
468 | prt8 = Instance.new("Part", Char) | |
469 | ||
470 | prt8.formFactor = "Symmetric" | |
471 | ||
472 | prt8.Size = Vector3.new(1,1,1) | |
473 | ||
474 | prt8.CanCollide = false | |
475 | ||
476 | prt8.BrickColor = BrickColor.new(PrimaryColor) | |
477 | ||
478 | prt8.TopSurface = "Smooth" | |
479 | ||
480 | prt8.Transparency = 0 | |
481 | ||
482 | prt8.BottomSurface = "Smooth" | |
483 | ||
484 | prt8M = Instance.new("BlockMesh", prt8) | |
485 | ||
486 | prt8M.Scale = Vector3.new(1.01,2.01,1.01) | |
487 | ||
488 | prt8:BreakJoints() | |
489 | ||
490 | prt8W = Instance.new("Weld", prt8) | |
491 | ||
492 | prt8W.Part0 = Char["Right Arm"] | |
493 | ||
494 | prt8W.Part1 = prt8 | |
495 | ||
496 | prt8W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
497 | ||
498 | ||
499 | ||
500 | prt9 = Instance.new("Part", Char) | |
501 | ||
502 | prt9.formFactor = "Symmetric" | |
503 | ||
504 | prt9.Size = Vector3.new(1,1,1) | |
505 | ||
506 | prt9.CanCollide = false | |
507 | ||
508 | prt9.BrickColor = BrickColor.new(PrimaryColor) | |
509 | ||
510 | prt9.TopSurface = "Smooth" | |
511 | ||
512 | prt9.Transparency = 0 | |
513 | ||
514 | prt9.BottomSurface = "Smooth" | |
515 | ||
516 | prt9M = Instance.new("BlockMesh", prt9) | |
517 | ||
518 | prt9M.Scale = Vector3.new(1.01,2.01,1.01) | |
519 | ||
520 | prt9:BreakJoints() | |
521 | ||
522 | prt9W = Instance.new("Weld", prt9) | |
523 | ||
524 | prt9W.Part0 = Char["Left Arm"] | |
525 | ||
526 | prt9W.Part1 = prt9 | |
527 | ||
528 | prt9W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
529 | ||
530 | ||
531 | ||
532 | function debris(part) | |
533 | ||
534 | delay(0, function() | |
535 | ||
536 | repeat wait(0.5) | |
537 | ||
538 | ||
539 | ||
540 | local deb = Instance.new("Part", part) | |
541 | ||
542 | deb.Size = Vector3.new(1,1,1) | |
543 | ||
544 | deb.CanCollide = false | |
545 | ||
546 | deb.BrickColor = BrickColor.new("White") | |
547 | ||
548 | deb.TopSurface = "Smooth" | |
549 | ||
550 | deb.Transparency = 0 | |
551 | ||
552 | deb.Anchored = true | |
553 | ||
554 | deb.BottomSurface = "Smooth" | |
555 | ||
556 | local debM = Instance.new("BlockMesh", flakef) | |
557 | ||
558 | debM.Scale = Vector3.new(math.random(1,10)/10,math.random(1,10)/10,math.random(1,10)/10) | |
559 | ||
560 | deb:BreakJoints() | |
561 | ||
562 | deb.CFrame = part.CFrame + Vector3.new(math.random(-50,50)/10,math.random(-50,50)/10,math.random(-50,50)/10) | |
563 | ||
564 | ||
565 | ||
566 | for i = 1,10 do | |
567 | ||
568 | deb.CFrame = deb.CFrame + Vector3.new(0,1,0) | |
569 | ||
570 | deb.CFrame = deb.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
571 | ||
572 | deb.Transparency = deb.Transparency + 0.1 | |
573 | ||
574 | wait() | |
575 | ||
576 | end | |
577 | ||
578 | ||
579 | ||
580 | until part.Parent ~= workspace | |
581 | ||
582 | end) | |
583 | ||
584 | end | |
585 | ||
586 | ||
587 | ||
588 | cen = Instance.new("Part", User.Character) | |
589 | ||
590 | cen.BottomSurface = "Smooth" | |
591 | ||
592 | cen.TopSurface = "Smooth" | |
593 | ||
594 | cen.CanCollide = false | |
595 | ||
596 | cen.formFactor = "Symmetric" | |
597 | ||
598 | cen.Size = Vector3.new(1,1,1) | |
599 | ||
600 | cen.BrickColor = BrickColor.new("Really black") | |
601 | ||
602 | cen.Transparency = 1 | |
603 | ||
604 | cen2 = Instance.new("Part", User.Character) | |
605 | ||
606 | cen2.BottomSurface = "Smooth" | |
607 | ||
608 | cen2.TopSurface = "Smooth" | |
609 | ||
610 | cen2.CanCollide = false | |
611 | ||
612 | cen2.formFactor = "Symmetric" | |
613 | ||
614 | cen2.Size = Vector3.new(1,1,1) | |
615 | ||
616 | cen2.BrickColor = BrickColor.new("Really black") | |
617 | ||
618 | cen2.Transparency = 1 | |
619 | ||
620 | ||
621 | ||
622 | cenw = Instance.new("Weld", cen) | |
623 | ||
624 | cenw.Part0 = Char["Torso"] | |
625 | ||
626 | cenw.Part1 = cen | |
627 | ||
628 | cenw.C1 = CFrame.new(-1.5,-0.5,0) | |
629 | ||
630 | ||
631 | ||
632 | cenw2 = Instance.new("Weld", cen2) | |
633 | ||
634 | cenw2.Part0 = Char["Torso"] | |
635 | ||
636 | cenw2.Part1 = cen2 | |
637 | ||
638 | cenw2.C1 = CFrame.new(1.5,-0.5,0) | |
639 | ||
640 | ||
641 | ||
642 | ||
643 | ||
644 | ||
645 | ||
646 | haw = Instance.new("Weld", cen) | |
647 | ||
648 | haw.Part0 = cen | |
649 | ||
650 | haw.Part1 = Char["Right Arm"] | |
651 | ||
652 | haw.C1 = CFrame.new(0,0.5,0) | |
653 | ||
654 | ||
655 | ||
656 | haw2 = Instance.new("Weld", cen2) | |
657 | ||
658 | haw2.Part0 = cen2 | |
659 | ||
660 | haw2.Part1 = Char["Left Arm"] | |
661 | ||
662 | haw2.C1 = CFrame.new(0,0.5,0) | |
663 | ||
664 | ||
665 | ||
666 | haw.Part1 = nil | |
667 | ||
668 | haw2.Part1 = nil | |
669 | ||
670 | ||
671 | ||
672 | -------------------------------------------- | |
673 | ||
674 | function MoveOne() | |
675 | ||
676 | haw.Part1 = Char["Right Arm"] | |
677 | ||
678 | haw2.Part1 = Char["Left Arm"] | |
679 | ||
680 | for i = 1,50,5 do | |
681 | ||
682 | haw.C0 = CFrame.Angles(math.rad(-i),0,0) | |
683 | ||
684 | haw2.C0 = CFrame.Angles(math.rad(-i),0,0) | |
685 | ||
686 | wait() | |
687 | ||
688 | end | |
689 | ||
690 | for i = 1,100,10 do | |
691 | ||
692 | haw.C0 = CFrame.Angles(math.rad(-45+i),0,0) | |
693 | ||
694 | haw2.C0 = CFrame.Angles(math.rad(-45+i),0,0) | |
695 | ||
696 | wait() | |
697 | ||
698 | end | |
699 | ||
700 | delay(0, function() | |
701 | ||
702 | for i = 1,50,5 do | |
703 | ||
704 | haw.C0 = CFrame.Angles(math.rad(45-i),0,0) | |
705 | ||
706 | haw2.C0 = CFrame.Angles(math.rad(45-i),0,0) | |
707 | ||
708 | wait() | |
709 | ||
710 | end | |
711 | ||
712 | haw.Part1 = nil | |
713 | ||
714 | haw2.Part1 = nil | |
715 | ||
716 | end) | |
717 | ||
718 | local ps = Char.Torso.CFrame | |
719 | ||
720 | local flakef = Instance.new("Part", Char) | |
721 | ||
722 | flakef.Size = Vector3.new(5,5,5) | |
723 | ||
724 | flakef.CanCollide = false | |
725 | ||
726 | flakef.BrickColor = BrickColor.new("White") | |
727 | ||
728 | flakef.TopSurface = "Smooth" | |
729 | ||
730 | flakef.Transparency = 0.5 | |
731 | ||
732 | flakef.Anchored = true | |
733 | ||
734 | flakef.BottomSurface = "Smooth" | |
735 | ||
736 | local flakeMf = Instance.new("SpecialMesh", flakef) | |
737 | ||
738 | flakeMf.MeshType = "FileMesh" | |
739 | ||
740 | flakeMf.Scale = Vector3.new(5,5,5) | |
741 | ||
742 | flakeMf.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
743 | ||
744 | flakef:BreakJoints() | |
745 | ||
746 | flakef.CFrame = (ps - Vector3.new(0,3,0)) + ps.lookVector*2 | |
747 | ||
748 | ||
749 | ||
750 | flakef.Touched:connect(function(hit) | |
751 | ||
752 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= User.Name then | |
753 | ||
754 | hit.Parent:BreakJoints() | |
755 | ||
756 | end | |
757 | ||
758 | end) | |
759 | ||
760 | ||
761 | ||
762 | for i = 1,50 do | |
763 | ||
764 | ||
765 | ||
766 | flakef.CFrame = (ps - Vector3.new(0,3,0)) + ps.lookVector*(i*2) | |
767 | ||
768 | ||
769 | ||
770 | local gho = flakef:clone() | |
771 | ||
772 | gho.Parent = Char | |
773 | ||
774 | gho.Anchored = true | |
775 | ||
776 | gho.CFrame = flakef.CFrame | |
777 | ||
778 | ||
779 | ||
780 | delay(0,function() | |
781 | ||
782 | for i = 1,10 do | |
783 | ||
784 | gho.Mesh.Scale = gho.Mesh.Scale + Vector3.new(0.1,0.1,0.1) | |
785 | ||
786 | gho.Transparency = gho.Transparency + 0.05 | |
787 | ||
788 | wait() | |
789 | ||
790 | end | |
791 | ||
792 | gho:Remove() | |
793 | ||
794 | end) | |
795 | ||
796 | wait() | |
797 | ||
798 | end | |
799 | ||
800 | local ring = flakef:clone() | |
801 | ||
802 | ring.Parent = Char | |
803 | ||
804 | ring.Anchored = true | |
805 | ||
806 | ring.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
807 | ||
808 | ring.CFrame = flakef.CFrame | |
809 | ||
810 | ring.CFrame = ring.CFrame*CFrame.Angles(math.rad(90),0,0) | |
811 | ||
812 | for i = 1,10 do | |
813 | ||
814 | ring.Mesh.Scale = ring.Mesh.Scale + Vector3.new(5,5,5) | |
815 | ||
816 | ring.Transparency = ring.Transparency + 0.05 | |
817 | ||
818 | flakef.Transparency = flakef.Transparency + 0.05 | |
819 | ||
820 | flakef.Mesh.Scale = flakef.Mesh.Scale + Vector3.new(2,2,2) | |
821 | ||
822 | wait() | |
823 | ||
824 | end | |
825 | ||
826 | ring:Remove() | |
827 | ||
828 | flakef:Remove() | |
829 | ||
830 | end | |
831 | ||
832 | ||
833 | ||
834 | ||
835 | ||
836 | function HandCharge() | |
837 | ||
838 | haw.Part1 = Char["Right Arm"] | |
839 | ||
840 | haw2.Part1 = Char["Left Arm"] | |
841 | ||
842 | ||
843 | ||
844 | for i = 1,130,5 do | |
845 | ||
846 | haw.C0 = CFrame.Angles(0,0,math.rad(i)) | |
847 | ||
848 | haw2.C0 = CFrame.Angles(0,0,math.rad(-i)) | |
849 | ||
850 | wait() | |
851 | ||
852 | end | |
853 | ||
854 | ||
855 | ||
856 | local sph1 = Instance.new("Part", Char) | |
857 | ||
858 | sph1.formFactor = "Symmetric" | |
859 | ||
860 | sph1.Size = Vector3.new(1,1,1) | |
861 | ||
862 | sph1.CanCollide = false | |
863 | ||
864 | sph1.BrickColor = BrickColor.new("White") | |
865 | ||
866 | sph1.TopSurface = "Smooth" | |
867 | ||
868 | sph1.Transparency = 0.5 | |
869 | ||
870 | sph1.BottomSurface = "Smooth" | |
871 | ||
872 | local sphM = Instance.new("SpecialMesh", sph1) | |
873 | ||
874 | sphM.MeshType = "Sphere" | |
875 | ||
876 | sphM.Scale = Vector3.new(2,2,2) | |
877 | ||
878 | sph1:BreakJoints() | |
879 | ||
880 | local sphW = Instance.new("Weld", sph1) | |
881 | ||
882 | sphW.Part0 = Char["Right Arm"] | |
883 | ||
884 | sphW.Part1 = sph1 | |
885 | ||
886 | sphW.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
887 | ||
888 | ||
889 | ||
890 | local sph2 = Instance.new("Part", Char) | |
891 | ||
892 | sph2.formFactor = "Symmetric" | |
893 | ||
894 | sph2.Size = Vector3.new(1,1,1) | |
895 | ||
896 | sph2.CanCollide = false | |
897 | ||
898 | sph2.BrickColor = BrickColor.new("White") | |
899 | ||
900 | sph2.TopSurface = "Smooth" | |
901 | ||
902 | sph2.Transparency = 0.5 | |
903 | ||
904 | sph2.BottomSurface = "Smooth" | |
905 | ||
906 | local sphM2 = Instance.new("SpecialMesh", sph2) | |
907 | ||
908 | sphM2.MeshType = "Sphere" | |
909 | ||
910 | sphM2.Scale = Vector3.new(2,2,2) | |
911 | ||
912 | sph2:BreakJoints() | |
913 | ||
914 | local sphW2 = Instance.new("Weld", sph2) | |
915 | ||
916 | sphW2.Part0 = Char["Left Arm"] | |
917 | ||
918 | sphW2.Part1 = sph2 | |
919 | ||
920 | sphW2.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
921 | ||
922 | ||
923 | ||
924 | local sph3 = Instance.new("Part", Char) | |
925 | ||
926 | sph3.formFactor = "Symmetric" | |
927 | ||
928 | sph3.Size = Vector3.new(1,1,1) | |
929 | ||
930 | sph3.CanCollide = false | |
931 | ||
932 | sph3.BrickColor = BrickColor.new("White") | |
933 | ||
934 | sph3.TopSurface = "Smooth" | |
935 | ||
936 | sph3.Transparency = 0.5 | |
937 | ||
938 | sph3.BottomSurface = "Smooth" | |
939 | ||
940 | local sphM3 = Instance.new("BlockMesh", sph3) | |
941 | ||
942 | sphM3.Scale = Vector3.new(.75,.75,.75) | |
943 | ||
944 | sph3:BreakJoints() | |
945 | ||
946 | local sphW3 = Instance.new("Weld", sph3) | |
947 | ||
948 | sphW3.Part0 = sph1 | |
949 | ||
950 | sphW3.Part1 = sph3 | |
951 | ||
952 | sphW3.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
953 | ||
954 | ||
955 | ||
956 | local sph4 = Instance.new("Part", Char) | |
957 | ||
958 | sph4.formFactor = "Symmetric" | |
959 | ||
960 | sph4.Size = Vector3.new(1,1,1) | |
961 | ||
962 | sph4.CanCollide = false | |
963 | ||
964 | sph4.BrickColor = BrickColor.new("White") | |
965 | ||
966 | sph4.TopSurface = "Smooth" | |
967 | ||
968 | sph4.Transparency = 0.5 | |
969 | ||
970 | sph4.BottomSurface = "Smooth" | |
971 | ||
972 | local sphM4 = Instance.new("BlockMesh", sph4) | |
973 | ||
974 | sphM4.Scale = Vector3.new(.75,.75,.75) | |
975 | ||
976 | sph4:BreakJoints() | |
977 | ||
978 | local sphW4 = Instance.new("Weld", sph4) | |
979 | ||
980 | sphW4.Part0 = sph2 | |
981 | ||
982 | sphW4.Part1 = sph4 | |
983 | ||
984 | sphW4.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
985 | ||
986 | ||
987 | ||
988 | ||
989 | ||
990 | delay(0, function() | |
991 | ||
992 | for i = 1,25 do | |
993 | ||
994 | local new = Instance.new("Part", Char) | |
995 | ||
996 | new.formFactor = "Symmetric" | |
997 | ||
998 | new.Size = Vector3.new(1,1,1) | |
999 | ||
1000 | new.CanCollide = false | |
1001 | ||
1002 | new.BrickColor = BrickColor.new("White") | |
1003 | ||
1004 | new.TopSurface = "Smooth" | |
1005 | ||
1006 | new.Transparency = 1 | |
1007 | ||
1008 | new.BottomSurface = "Smooth" | |
1009 | ||
1010 | local newM = Instance.new("SpecialMesh", new) | |
1011 | ||
1012 | newM.MeshType = "Sphere" | |
1013 | ||
1014 | newM.Scale = Vector3.new(0.5,2,0.5) | |
1015 | ||
1016 | new:BreakJoints() | |
1017 | ||
1018 | local newW = Instance.new("Weld", new) | |
1019 | ||
1020 | newW.Part0 = sph1 | |
1021 | ||
1022 | newW.Part1 = new | |
1023 | ||
1024 | newW.C1 = CFrame.new(0,10,0)*CFrame.Angles(math.rad(math.random(1,360)),0,math.rad(math.random(1,360))) | |
1025 | ||
1026 | delay(0, function() | |
1027 | ||
1028 | for i = 1,10 do | |
1029 | ||
1030 | sphW4.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
1031 | ||
1032 | ||
1033 | ||
1034 | newW.C1 = newW.C1 - Vector3.new(0,1,0) | |
1035 | ||
1036 | new.Transparency = new.Transparency - 0.05 | |
1037 | ||
1038 | wait() | |
1039 | ||
1040 | end | |
1041 | ||
1042 | new:Remove() | |
1043 | ||
1044 | end) | |
1045 | ||
1046 | wait(0.2) | |
1047 | ||
1048 | end | |
1049 | ||
1050 | end) | |
1051 | ||
1052 | ||
1053 | ||
1054 | ||
1055 | ||
1056 | for i = 1,25 do | |
1057 | ||
1058 | local new = Instance.new("Part", Char) | |
1059 | ||
1060 | new.formFactor = "Symmetric" | |
1061 | ||
1062 | new.Size = Vector3.new(1,1,1) | |
1063 | ||
1064 | new.CanCollide = false | |
1065 | ||
1066 | new.BrickColor = BrickColor.new("White") | |
1067 | ||
1068 | new.TopSurface = "Smooth" | |
1069 | ||
1070 | new.Transparency = 1 | |
1071 | ||
1072 | new.BottomSurface = "Smooth" | |
1073 | ||
1074 | local newM = Instance.new("SpecialMesh", new) | |
1075 | ||
1076 | newM.MeshType = "Sphere" | |
1077 | ||
1078 | newM.Scale = Vector3.new(0.5,2,0.5) | |
1079 | ||
1080 | new:BreakJoints() | |
1081 | ||
1082 | local newW = Instance.new("Weld", new) | |
1083 | ||
1084 | newW.Part0 = sph2 | |
1085 | ||
1086 | newW.Part1 = new | |
1087 | ||
1088 | newW.C1 = CFrame.new(0,10,0)*CFrame.Angles(math.rad(math.random(1,360)),0,math.rad(math.random(1,360))) | |
1089 | ||
1090 | ||
1091 | ||
1092 | new.Touched:connect(function(hit) | |
1093 | ||
1094 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= User.Name then | |
1095 | ||
1096 | hit.Parent:BreakJoints() | |
1097 | ||
1098 | end | |
1099 | ||
1100 | end) | |
1101 | ||
1102 | ||
1103 | ||
1104 | delay(0, function() | |
1105 | ||
1106 | for i = 1,10 do | |
1107 | ||
1108 | sphW3.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
1109 | ||
1110 | newW.C1 = newW.C1 - Vector3.new(0,1,0) | |
1111 | ||
1112 | new.Transparency = new.Transparency - 0.05 | |
1113 | ||
1114 | wait() | |
1115 | ||
1116 | end | |
1117 | ||
1118 | new:Remove() | |
1119 | ||
1120 | end) | |
1121 | ||
1122 | wait(0.2) | |
1123 | ||
1124 | end | |
1125 | ||
1126 | ||
1127 | ||
1128 | delay(0, function() | |
1129 | ||
1130 | for i = 1,50 do | |
1131 | ||
1132 | sph1.Transparency = sph1.Transparency + 0.01 | |
1133 | ||
1134 | sphM.Scale = sphM.Scale + Vector3.new(0.1,0.1,0.1) | |
1135 | ||
1136 | sph2.Transparency = sph2.Transparency + 0.01 | |
1137 | ||
1138 | sphM2.Scale = sphM2.Scale + Vector3.new(0.1,0.1,0.1) | |
1139 | ||
1140 | sph3.Transparency = sph3.Transparency + 0.01 | |
1141 | ||
1142 | sphM3.Scale = sphM3.Scale + Vector3.new(0.05,0.05,0.05) | |
1143 | ||
1144 | sph4.Transparency = sph4.Transparency + 0.01 | |
1145 | ||
1146 | sphM4.Scale = sphM4.Scale + Vector3.new(0.05,0.05,0.05) | |
1147 | ||
1148 | wait() | |
1149 | ||
1150 | end | |
1151 | ||
1152 | end) | |
1153 | ||
1154 | ||
1155 | ||
1156 | local tring = Instance.new("Part", Char) | |
1157 | ||
1158 | tring.formFactor = "Symmetric" | |
1159 | ||
1160 | tring.Size = Vector3.new(1,1,1) | |
1161 | ||
1162 | tring.CanCollide = false | |
1163 | ||
1164 | tring.BrickColor = BrickColor.new("White") | |
1165 | ||
1166 | tring.TopSurface = "Smooth" | |
1167 | ||
1168 | tring.Transparency = 0.5 | |
1169 | ||
1170 | tring.BottomSurface = "Smooth" | |
1171 | ||
1172 | local tringM = Instance.new("SpecialMesh", tring) | |
1173 | ||
1174 | tringM.MeshType = "FileMesh" | |
1175 | ||
1176 | tringM.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1177 | ||
1178 | tringM.Scale = Vector3.new(1,1,1) | |
1179 | ||
1180 | tring:BreakJoints() | |
1181 | ||
1182 | local tringW = Instance.new("Weld", tring) | |
1183 | ||
1184 | tringW.Part0 = Char["Torso"] | |
1185 | ||
1186 | tringW.Part1 = tring | |
1187 | ||
1188 | tringW.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
1189 | ||
1190 | for i = 1,100 do | |
1191 | ||
1192 | ag = i | |
1193 | ||
1194 | tringM.Scale = Vector3.new(i,i,i) | |
1195 | ||
1196 | tring.Transparency = tring.Transparency + 0.5/100 | |
1197 | ||
1198 | ||
1199 | ||
1200 | delay(0, function() | |
1201 | ||
1202 | for i,v in pairs(workspace:GetChildren()) do | |
1203 | ||
1204 | if v:FindFirstChild("Humanoid") and v.Name ~= User.Name and v:FindFirstChild("Head") and (v.Head.Position - Char.Head.Position).magntiude < ag/2 then | |
1205 | ||
1206 | v:BreakJoints() | |
1207 | ||
1208 | else | |
1209 | ||
1210 | end | |
1211 | ||
1212 | end | |
1213 | ||
1214 | end) | |
1215 | ||
1216 | ||
1217 | ||
1218 | wait() | |
1219 | ||
1220 | end | |
1221 | ||
1222 | tring:Remove() | |
1223 | ||
1224 | ||
1225 | ||
1226 | sph1:Remove() | |
1227 | ||
1228 | sph2:Remove() | |
1229 | ||
1230 | sph3:Remove() | |
1231 | ||
1232 | sph4:Remove() | |
1233 | ||
1234 | ||
1235 | ||
1236 | for i = 1,130,5 do | |
1237 | ||
1238 | haw.C0 = CFrame.Angles(0,0,math.rad(125-i)) | |
1239 | ||
1240 | haw2.C0 = CFrame.Angles(0,0,math.rad(-125+i)) | |
1241 | ||
1242 | wait() | |
1243 | ||
1244 | end | |
1245 | ||
1246 | haw.Part1 = nil | |
1247 | ||
1248 | haw2.Part1 = nil | |
1249 | ||
1250 | end | |
1251 | ||
1252 | -------------------------------------------- | |
1253 | ||
1254 | local _ = false | |
1255 | ||
1256 | if not script.Parent:IsA("HopperBin") then | |
1257 | ||
1258 | h = Instance.new("HopperBin", User.Backpack) | |
1259 | ||
1260 | h.Name = "watah" | |
1261 | ||
1262 | script.Parent = h | |
1263 | ||
1264 | end | |
1265 | ||
1266 | ||
1267 | ||
1268 | ||
1269 | ||
1270 | script.Parent.Selected:connect(function(mouse) | |
1271 | ||
1272 | ||
1273 | ||
1274 | mouse.Button1Down:connect(function() | |
1275 | ||
1276 | ||
1277 | ||
1278 | end) | |
1279 | ||
1280 | ||
1281 | ||
1282 | mouse.KeyDown:connect(function(key) | |
1283 | ||
1284 | if key == "q" and _ == false then | |
1285 | ||
1286 | _ = true | |
1287 | ||
1288 | MoveOne() | |
1289 | ||
1290 | _ = false | |
1291 | ||
1292 | elseif key == "e" and _ == false then | |
1293 | ||
1294 | _ = true | |
1295 | ||
1296 | HandCharge() | |
1297 | ||
1298 | _ = false | |
1299 | ||
1300 | end | |
1301 | ||
1302 | end) | |
1303 | ||
1304 | end) | |
1305 | ||
1306 | ||
1307 | ||
1308 | script.Parent.Deselected:connect(function() | |
1309 | ||
1310 | ||
1311 | ||
1312 | end) |