SHOW:
|
|
- or go back to the newest paste.
1 | - | --bird wings Gifted by OneRain, Local Script! |
1 | + | |
2 | - | --Jump Two Time |
2 | + | |
3 | - | --Down Press Q |
3 | + | |
4 | - | --Wings Spin Press A Two Time |
4 | + | |
5 | - | --Wings Spin Press D Two Time |
5 | + | |
6 | for i,v in pairs(script:GetChildren()) do | |
7 | ||
8 | pcall(function() v.Value = "" end) | |
9 | ||
10 | game:GetService("Debris"):AddItem(v,.1) | |
11 | ||
12 | end | |
13 | ||
14 | function weld(p0,p1,c0,c1,par) | |
15 | ||
16 | local w = Instance.new("Weld",p0 or par) | |
17 | ||
18 | w.Part0 = p0 | |
19 | ||
20 | w.Part1 = p1 | |
21 | ||
22 | w.C0 = c0 or CFrame.new() | |
23 | ||
24 | w.C1 = c1 or CFrame.new() | |
25 | ||
26 | return w | |
27 | ||
28 | end | |
29 | ||
30 | local motors = {} | |
31 | ||
32 | function motor(p0,p1,c0,c1,des,vel,par) | |
33 | ||
34 | local w = Instance.new("Motor6D",p0 or par) | |
35 | ||
36 | w.Part0 = p0 | |
37 | ||
38 | w.Part1 = p1 | |
39 | ||
40 | w.C0 = c0 or CFrame.new() | |
41 | ||
42 | w.C1 = c1 or CFrame.new() | |
43 | ||
44 | w.MaxVelocity = tonumber(vel) or .05 | |
45 | ||
46 | w.DesiredAngle = tonumber(des) or 0 | |
47 | ||
48 | return w | |
49 | ||
50 | end | |
51 | ||
52 | function lerp(a,b,c) | |
53 | ||
54 | return a+(b-a)*c | |
55 | ||
56 | end | |
57 | ||
58 | function clerp(c1,c2,al) | |
59 | ||
60 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
61 | ||
62 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
63 | ||
64 | for i,v in pairs(com1) do | |
65 | ||
66 | com1[i] = lerp(v,com2[i],al) | |
67 | ||
68 | end | |
69 | ||
70 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
71 | ||
72 | end | |
73 | ||
74 | function ccomplerp(c1,c2,al) | |
75 | ||
76 | local com1 = {c1:components()} | |
77 | ||
78 | local com2 = {c2:components()} | |
79 | ||
80 | for i,v in pairs(com1) do | |
81 | ||
82 | com1[i] = lerp(v,com2[i],al) | |
83 | ||
84 | end | |
85 | ||
86 | return CFrame.new(unpack(com1)) | |
87 | ||
88 | end | |
89 | ||
90 | function tickwave(time,length,offset) | |
91 | ||
92 | return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length | |
93 | ||
94 | end | |
95 | ||
96 | function invcol(c) | |
97 | ||
98 | c = c.Color | |
99 | ||
100 | return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r)) | |
101 | ||
102 | end | |
103 | ||
104 | local oc = oc or function(...) return ... end | |
105 | ||
106 | local plr = game.Players.LocalPlayer | |
107 | ||
108 | local char = plr.Character | |
109 | ||
110 | local tor = char.Torso | |
111 | ||
112 | local hum = char.Humanoid | |
113 | ||
114 | hum.PlatformStand = false | |
115 | ||
116 | pcall(function() | |
117 | ||
118 | char.Wings:Destroy() | |
119 | ||
120 | end) | |
121 | ||
122 | pcall(function() | |
123 | ||
124 | char.Angel:Destroy() -- hat | |
125 | ||
126 | end) | |
127 | ||
128 | local mod = Instance.new("Model",char) | |
129 | ||
130 | mod.Name = "Wings" | |
131 | ||
132 | local special = { | |
133 | ||
134 | --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)}, | |
135 | ||
136 | antiboomz0r = {"New black",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)}, | |
137 | ||
138 | --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)}, | |
139 | ||
140 | taart = {"Royal black",nil,.4,.4,true}, | |
141 | ||
142 | mitta = {"Black",nil,0,0,false}, | |
143 | ||
144 | penjuin3 = {"black",nil,0,0,false}, | |
145 | ||
146 | YOURNAMEHERE = {"Black","Bright red",.5,0,true,Color3.new(1,0,0),Color3.new(0,0,0)}, | |
147 | ||
148 | nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)}, | |
149 | ||
150 | littleau999 = {"Reddish red",1030,0,0,false}, | |
151 | ||
152 | unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)}, | |
153 | ||
154 | oxcool1 = {"Really black","black",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)}, | |
155 | ||
156 | krodmiss = {"Really black",nil,0,0,false}, | |
157 | ||
158 | } | |
159 | ||
160 | local topcolor = invcol(char.Torso.BrickColor) | |
161 | ||
162 | local feacolor = char.Torso.BrickColor | |
163 | ||
164 | local ptrans = 0 | |
165 | ||
166 | local pref = 0 | |
167 | ||
168 | local fire = false | |
169 | ||
170 | local fmcol = Color3.new() | |
171 | ||
172 | local fscol = Color3.new() | |
173 | ||
174 | local spec = special[plr.Name:lower()] | |
175 | ||
176 | if spec then | |
177 | ||
178 | topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7] | |
179 | ||
180 | end | |
181 | ||
182 | local part = Instance.new("Part") | |
183 | ||
184 | part.FormFactor = "Custom" | |
185 | ||
186 | part.Size = Vector3.new(.2,.2,.2) | |
187 | ||
188 | part.TopSurface,part.BottomSurface = 0,0 | |
189 | ||
190 | part.CanCollide = false | |
191 | ||
192 | part.BrickColor = topcolor | |
193 | ||
194 | part.Transparency = ptrans | |
195 | ||
196 | part.Reflectance = pref | |
197 | ||
198 | local ef = Instance.new("Fire",fire and part or nil) | |
199 | ||
200 | ef.Size = .15 | |
201 | ||
202 | ef.Color = fmcol or Color3.new() | |
203 | ||
204 | ef.SecondaryColor = fscol or Color3.new() | |
205 | ||
206 | part:BreakJoints() | |
207 | ||
208 | ||
209 | function newpart() | |
210 | ||
211 | local clone = part:Clone() | |
212 | ||
213 | clone.Parent = mod | |
214 | ||
215 | clone:BreakJoints() | |
216 | ||
217 | return clone | |
218 | ||
219 | end | |
220 | ||
221 | local feath = newpart() | |
222 | ||
223 | feath.BrickColor = feacolor | |
224 | ||
225 | feath.Transparency = 0 | |
226 | ||
227 | Instance.new("SpecialMesh",feath).MeshType = "Sphere" | |
228 | ||
229 | function newfeather() | |
230 | ||
231 | local clone = feath:Clone() | |
232 | ||
233 | clone.Parent = mod | |
234 | ||
235 | clone:BreakJoints() | |
236 | ||
237 | return clone | |
238 | ||
239 | end | |
240 | ||
241 | ||
242 | ---------- RIGHT WING | |
243 | ||
244 | local r1 = newpart() | |
245 | ||
246 | r1.Size = Vector3.new(.3,1.5,.3)*1.2 | |
247 | ||
248 | local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1) | |
249 | ||
250 | local r2 = newpart() | |
251 | ||
252 | r2.Size = Vector3.new(.4,1.8,.4)*1.2 | |
253 | ||
254 | local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1) | |
255 | ||
256 | local r3 = newpart() | |
257 | ||
258 | r3.Size = Vector3.new(.3,2.2,.3)*1.2 | |
259 | ||
260 | local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1) | |
261 | ||
262 | local r4 = newpart() | |
263 | ||
264 | r4.Size = Vector3.new(.25,1.2,.25)*1.2 | |
265 | ||
266 | local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1) | |
267 | ||
268 | local feather = newfeather() | |
269 | ||
270 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
271 | ||
272 | feather.Size = Vector3.new(.4,3,.3) | |
273 | ||
274 | weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) | |
275 | ||
276 | feather = newfeather() | |
277 | ||
278 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
279 | ||
280 | feather.Size = Vector3.new(.4,2.3,.3) | |
281 | ||
282 | weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) | |
283 | ||
284 | feather = newfeather() | |
285 | ||
286 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
287 | ||
288 | feather.Size = Vector3.new(.35,2.2,.25) | |
289 | ||
290 | weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) | |
291 | ||
292 | local rf3 = {} | |
293 | ||
294 | for i=0,7 do | |
295 | ||
296 | feather = newfeather() | |
297 | ||
298 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
299 | ||
300 | feather.Size = Vector3.new(.45,2.2,.35) | |
301 | ||
302 | table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) | |
303 | ||
304 | end | |
305 | ||
306 | local rf2 = {} | |
307 | ||
308 | for i=0,6 do | |
309 | ||
310 | feather = newfeather() | |
311 | ||
312 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
313 | ||
314 | feather.Size = Vector3.new(.45,2.2-i*.08,.3) | |
315 | ||
316 | table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) | |
317 | ||
318 | end | |
319 | ||
320 | local rf1 = {} | |
321 | ||
322 | for i=0,6 do | |
323 | ||
324 | feather = newfeather() | |
325 | ||
326 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
327 | ||
328 | feather.Size = Vector3.new(.37,1.65-i*.06,.25) | |
329 | ||
330 | table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) | |
331 | ||
332 | end | |
333 | ||
334 | ---------- LEFT WING | |
335 | ||
336 | local l1 = newpart() | |
337 | ||
338 | l1.Size = Vector3.new(.3,1.5,.3)*1.2 | |
339 | ||
340 | local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1) | |
341 | ||
342 | local l2 = newpart() | |
343 | ||
344 | l2.Size = Vector3.new(.4,1.8,.4)*1.2 | |
345 | ||
346 | local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1) | |
347 | ||
348 | local l3 = newpart() | |
349 | ||
350 | l3.Size = Vector3.new(.3,2.2,.3)*1.2 | |
351 | ||
352 | local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1) | |
353 | ||
354 | local l4 = newpart() | |
355 | ||
356 | l4.Size = Vector3.new(.25,1.2,.25)*1.2 | |
357 | ||
358 | local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1) | |
359 | ||
360 | local feather = newfeather() | |
361 | ||
362 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
363 | ||
364 | feather.Size = Vector3.new(.4,3,.3) | |
365 | ||
366 | weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) | |
367 | ||
368 | feather = newfeather() | |
369 | ||
370 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
371 | ||
372 | feather.Size = Vector3.new(.4,2.3,.3) | |
373 | ||
374 | weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) | |
375 | ||
376 | feather = newfeather() | |
377 | ||
378 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
379 | ||
380 | feather.Size = Vector3.new(.35,2.2,.25) | |
381 | ||
382 | weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) | |
383 | ||
384 | local lf3 = {} | |
385 | ||
386 | for i=0,7 do | |
387 | ||
388 | feather = newfeather() | |
389 | ||
390 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
391 | ||
392 | feather.Size = Vector3.new(.45,2.2,.35) | |
393 | ||
394 | table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) | |
395 | ||
396 | end | |
397 | ||
398 | local lf2 = {} | |
399 | ||
400 | for i=0,6 do | |
401 | ||
402 | feather = newfeather() | |
403 | ||
404 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
405 | ||
406 | feather.Size = Vector3.new(.45,2.2-i*.08,.3) | |
407 | ||
408 | table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) | |
409 | ||
410 | end | |
411 | ||
412 | local lf1 = {} | |
413 | ||
414 | for i=0,6 do | |
415 | ||
416 | feather = newfeather() | |
417 | ||
418 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
419 | ||
420 | feather.Size = Vector3.new(.37,1.65-i*.06,.25) | |
421 | ||
422 | table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) | |
423 | ||
424 | end | |
425 | ||
426 | local rwing = {rm1,rm2,rm3,rm4} | |
427 | ||
428 | local lwing = {lm1,lm2,lm3,lm4} | |
429 | ||
430 | local oc0 = {} | |
431 | ||
432 | for i,v in pairs(rwing) do | |
433 | ||
434 | oc0[v] = v.C0 | |
435 | ||
436 | end | |
437 | ||
438 | for i,v in pairs(lwing) do | |
439 | ||
440 | oc0[v] = v.C0 | |
441 | ||
442 | end | |
443 | ||
444 | function gotResized() | |
445 | ||
446 | if lastsize then | |
447 | ||
448 | if tor.Size == lastsize then return end -- This shouldn't happen? | |
449 | ||
450 | local scaleVec = tor.Size/lastsize | |
451 | ||
452 | for i,v in pairs(oc0) do | |
453 | ||
454 | oc0[i] = v-v.p+scaleVec*v.p | |
455 | ||
456 | end | |
457 | ||
458 | lastsize = tor.Size | |
459 | ||
460 | end | |
461 | ||
462 | lastsize = tor.Size | |
463 | ||
464 | end | |
465 | ||
466 | tor.Changed:connect(function(p) | |
467 | ||
468 | if p == "Size" then | |
469 | ||
470 | gotResized() | |
471 | ||
472 | end | |
473 | ||
474 | end) | |
475 | ||
476 | gotResized() | |
477 | ||
478 | local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0 | |
479 | ||
480 | local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} | |
481 | ||
482 | local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} | |
483 | ||
484 | local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0} | |
485 | ||
486 | local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0} | |
487 | ||
488 | local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0} | |
489 | ||
490 | ||
491 | function setwings(tab,time) | |
492 | ||
493 | time = time or 10 | |
494 | ||
495 | for i=1,4 do | |
496 | ||
497 | rwing[i].DesiredAngle = tab[i] | |
498 | ||
499 | lwing[i].DesiredAngle = tab[i] | |
500 | ||
501 | rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time | |
502 | ||
503 | lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time | |
504 | ||
505 | local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new()) | |
506 | ||
507 | local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new()) | |
508 | ||
509 | end | |
510 | ||
511 | for i,v in pairs(rf1) do | |
512 | ||
513 | v.DesiredAngle = tab[9] | |
514 | ||
515 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
516 | ||
517 | end | |
518 | ||
519 | for i,v in pairs(lf1) do | |
520 | ||
521 | v.DesiredAngle = tab[9] | |
522 | ||
523 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
524 | ||
525 | end | |
526 | ||
527 | for i,v in pairs(rf2) do | |
528 | ||
529 | v.DesiredAngle = tab[10] | |
530 | ||
531 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
532 | ||
533 | end | |
534 | ||
535 | for i,v in pairs(lf2) do | |
536 | ||
537 | v.DesiredAngle = tab[10] | |
538 | ||
539 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
540 | ||
541 | end | |
542 | ||
543 | for i,v in pairs(rf3) do | |
544 | ||
545 | v.DesiredAngle = tab[11] | |
546 | ||
547 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
548 | ||
549 | end | |
550 | ||
551 | for i,v in pairs(lf3) do | |
552 | ||
553 | v.DesiredAngle = tab[11] | |
554 | ||
555 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
556 | ||
557 | end | |
558 | ||
559 | end | |
560 | ||
561 | setwings(outhigh,1) | |
562 | ||
563 | flying = false | |
564 | ||
565 | moving = false | |
566 | ||
567 | for i,v in pairs(tor:GetChildren()) do | |
568 | ||
569 | if v.ClassName:lower():match("body") then | |
570 | ||
571 | v:Destroy() | |
572 | ||
573 | end | |
574 | ||
575 | end | |
576 | ||
577 | local ctor = tor:Clone() | |
578 | ||
579 | ctor:ClearAllChildren() | |
580 | ||
581 | ctor.Name = "cTorso" | |
582 | ||
583 | ctor.Transparency = 1 | |
584 | ||
585 | ctor.CanCollide = false | |
586 | ||
587 | ctor.FormFactor = "Custom" | |
588 | ||
589 | ctor.Size = Vector3.new(.2,.2,.2) | |
590 | ||
591 | ctor.Parent = mod | |
592 | ||
593 | weld(tor,ctor) | |
594 | ||
595 | local bg = Instance.new("BodyGyro",ctor) | |
596 | ||
597 | bg.maxTorque = Vector3.new() | |
598 | ||
599 | bg.P = 15000 | |
600 | ||
601 | bg.D = 1000 | |
602 | ||
603 | local bv = Instance.new("BodyVelocity",ctor) | |
604 | ||
605 | bv.maxForce = Vector3.new() | |
606 | ||
607 | bv.P = 15000 | |
608 | ||
609 | vel = Vector3.new() | |
610 | ||
611 | cf = CFrame.new() | |
612 | ||
613 | flspd = 0 | |
614 | ||
615 | ||
616 | keysdown = {} | |
617 | ||
618 | keypressed = {} | |
619 | ||
620 | ktime = {} | |
621 | ||
622 | descendtimer = 0 | |
623 | ||
624 | jumptime = tick() | |
625 | ||
626 | hum.Jumping:connect(function() | |
627 | ||
628 | jumptime = tick() | |
629 | ||
630 | end) | |
631 | ||
632 | cam = workspace.CurrentCamera | |
633 | ||
634 | kd = plr:GetMouse().KeyDown:connect(oc(function(key) | |
635 | ||
636 | keysdown[key] = true | |
637 | ||
638 | keypressed[key] = true | |
639 | ||
640 | if key == "q" then | |
641 | ||
642 | descendtimer = tick() | |
643 | ||
644 | elseif key == " " and not hum.Jump then | |
645 | ||
646 | jumptime = tick() | |
647 | ||
648 | elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then | |
649 | ||
650 | reqrotx = key == "a" and math.pi*2 or -math.pi*2 | |
651 | ||
652 | end | |
653 | ||
654 | ktime[key] = tick() | |
655 | ||
656 | end)) | |
657 | ||
658 | ku = plr:GetMouse().KeyUp:connect(function(key) | |
659 | ||
660 | keysdown[key] = false | |
661 | ||
662 | if key == " " then | |
663 | ||
664 | descendtimer = tick() | |
665 | ||
666 | end | |
667 | ||
668 | end) | |
669 | ||
670 | function mid(a,b,c) | |
671 | ||
672 | return math.max(a,math.min(b,c or -a)) | |
673 | ||
674 | end | |
675 | ||
676 | function bn(a) | |
677 | ||
678 | return a and 1 or 0 | |
679 | ||
680 | end | |
681 | ||
682 | function gm(tar) | |
683 | ||
684 | local m = 0 | |
685 | ||
686 | for i,v in pairs(tar:GetChildren()) do | |
687 | ||
688 | if v:IsA("BasePart") then | |
689 | ||
690 | m = m + v:GetMass() | |
691 | ||
692 | end | |
693 | ||
694 | m = m + gm(v) | |
695 | ||
696 | end | |
697 | ||
698 | return m | |
699 | ||
700 | end | |
701 | ||
702 | reqrotx = 0 | |
703 | ||
704 | local grav = 196.2 | |
705 | ||
706 | local con | |
707 | ||
708 | con = game:GetService("RunService").Stepped:connect(oc(function() | |
709 | ||
710 | --[[if not mod:IsDescendantOf(workspace) then | |
711 | ||
712 | pcall(function() kd:disconnect() end) | |
713 | ||
714 | pcall(function() ku:disconnect() end) | |
715 | ||
716 | bg:Destroy() | |
717 | ||
718 | bv:Destroy() | |
719 | ||
720 | con:disconnect() | |
721 | ||
722 | script:Destroy() | |
723 | ||
724 | return | |
725 | ||
726 | end]] | |
727 | ||
728 | local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity) | |
729 | ||
730 | local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z | |
731 | ||
732 | if flying then | |
733 | ||
734 | local lfldir = fldir | |
735 | ||
736 | fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit | |
737 | ||
738 | local lmoving = moving | |
739 | ||
740 | moving = fldir.magnitude > .1 | |
741 | ||
742 | if lmoving and not moving then | |
743 | ||
744 | idledir = lfldir*Vector3.new(1,0,1) | |
745 | ||
746 | descendtimer = tick() | |
747 | ||
748 | end | |
749 | ||
750 | local dbomb = fldir.Y < -.6 or (moving and keysdown["1"]) | |
751 | ||
752 | if moving and keysdown["0"] and lmoving then | |
753 | ||
754 | fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit | |
755 | ||
756 | end | |
757 | ||
758 | local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0)) | |
759 | ||
760 | local descending = (not moving and keysdown["q"] and not keysdown[" "]) | |
761 | ||
762 | cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07) | |
763 | ||
764 | local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05 | |
765 | ||
766 | hum.PlatformStand = true | |
767 | ||
768 | bg.maxTorque = Vector3.new(1,1,1)*9e5 | |
769 | ||
770 | local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector | |
771 | ||
772 | bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0) | |
773 | ||
774 | reqrotx = reqrotx - reqrotx/10 | |
775 | ||
776 | bv.maxForce = Vector3.new(1,1,1)*9e4*.5 | |
777 | ||
778 | local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2 | |
779 | ||
780 | local ani = tickwave(1.5-anioff,1) | |
781 | ||
782 | bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6) | |
783 | ||
784 | vel = moving and cf.lookVector*flspd or Vector3.new() | |
785 | ||
786 | flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4)) | |
787 | ||
788 | setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15) | |
789 | ||
790 | for i=1,4 do | |
791 | ||
792 | --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) | |
793 | ||
794 | rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2) | |
795 | ||
796 | lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2) | |
797 | ||
798 | end | |
799 | ||
800 | local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char}) | |
801 | ||
802 | if hit and down.Y < -.85 and tick()-flystart > 1 then | |
803 | ||
804 | flying = false | |
805 | ||
806 | hum.PlatformStand = false | |
807 | ||
808 | tor.Velocity = Vector3.new() | |
809 | ||
810 | end | |
811 | ||
812 | else | |
813 | ||
814 | bg.maxTorque = Vector3.new() | |
815 | ||
816 | bv.maxForce = Vector3.new() | |
817 | ||
818 | local ani = tickwave(walking and .8 or 4.5,1) | |
819 | ||
820 | setwings(idle,10) | |
821 | ||
822 | local x,y,z = fspd/160,uspd/700,sspd/900 | |
823 | ||
824 | for i=1,4 do | |
825 | ||
826 | rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2) | |
827 | ||
828 | lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2) | |
829 | ||
830 | end | |
831 | ||
832 | if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then | |
833 | ||
834 | vel = Vector3.new(0,50,0) | |
835 | ||
836 | bv.velocity = vel | |
837 | ||
838 | idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1) | |
839 | ||
840 | cf = tor.CFrame * CFrame.Angles(-.01,0,0) | |
841 | ||
842 | tor.CFrame = cf | |
843 | ||
844 | bg.cframe = cf | |
845 | ||
846 | flystart = tick() | |
847 | ||
848 | flying = true | |
849 | ||
850 | end | |
851 | ||
852 | end | |
853 | ||
854 | keypressed = {} | |
855 | ||
856 | end)) | |
857 | ||
858 | ||
859 | ||
860 | end fly() | |
861 | ||
862 | --Bird Wings By Rosemarijohn2 | |
863 | jun = game.Players.LocalPlayer | |
864 | Stuff = false | |
865 | --password | |
866 | function ssj() | |
867 | if Stuff == false then | |
868 | Stuff = true | |
869 | for u, c in pairs (jun.Character:GetChildren()) do | |
870 | if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then | |
871 | c.Handle.Transparency = 1 | |
872 | end | |
873 | end | |
874 | Hair22 = Instance.new("Part") | |
875 | Hair22 = Instance.new("Part") | |
876 | Hair22.Parent = jun.Character | |
877 | Hair22.Name = "Hair" | |
878 | Hair22.formFactor = "Symmetric" | |
879 | Hair22.Size = Vector3.new(1, 1, 1) | |
880 | Hair22.CFrame = jun.Character.Head.CFrame | |
881 | Hair22:BreakJoints() | |
882 | Hair22.CanCollide = false | |
883 | Hair22.TopSurface = "Smooth" | |
884 | Hair22.BottomSurface = "Smooth" | |
885 | Hair22.BrickColor = BrickColor.new("Really black") | |
886 | Weld = Instance.new("Weld") | |
887 | Weld.Part0 = jun.Character.Head | |
888 | Weld.Part1 = Hair22 | |
889 | Weld.Parent = jun.Character.Head | |
890 | Weld.C0 = CFrame.new(0, 0.26, 0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
891 | Mesh = Instance.new("SpecialMesh") | |
892 | Mesh.Parent = Hair22 | |
893 | Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
894 | Mesh.Scale = Vector3.new(1, 1, 1) | |
895 | BlastRing = Instance.new("Part") | |
896 | BlastRing.Parent = game.Lighting | |
897 | BlastRing.Name = "Blast" | |
898 | BlastRing.formFactor = "Symmetric" | |
899 | BlastRing.Size = Vector3.new(1, 1, 1) | |
900 | BlastRing.CanCollide = false | |
901 | BlastRing.TopSurface = "Smooth" | |
902 | BlastRing.BottomSurface = "Smooth" | |
903 | BlastRing.BrickColor = BrickColor.new("Really black") | |
904 | BlastRing.Reflectance = 0 | |
905 | BlastRing.Anchored = true | |
906 | Mesh2 = Instance.new("SpecialMesh") | |
907 | Mesh2.Parent = BlastRing | |
908 | Mesh2.MeshType = "FileMesh" | |
909 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
910 | Mesh2.Scale = Vector3.new(1, 5.8, 1) | |
911 | blastring2 = BlastRing:clone() | |
912 | Hair4 = Instance.new("Part") | |
913 | Hair4.Parent = jun.Character | |
914 | Hair4.Name = "Hair" | |
915 | Hair4.CanCollide = false | |
916 | Hair4.Locked = true | |
917 | Hair4.TopSurface = "Smooth" | |
918 | Hair4.BottomSurface = "Smooth" | |
919 | Hair4.formFactor = "Symmetric" | |
920 | Hair4.BrickColor = BrickColor.new("Really black") | |
921 | Hair4.CFrame = jun.Character.Torso.CFrame | |
922 | Hair4.Size = Vector3.new(1, 1, 1) | |
923 | Weld = Instance.new("Weld") | |
924 | Weld.Parent = jun.Character.Head | |
925 | Weld.Part0 = jun.Character.Head | |
926 | Weld.Part1 = Hair4 | |
927 | Weld.C0 = CFrame.new(0, 1, 0) | |
928 | Mesh = Instance.new("SpecialMesh") | |
929 | Mesh.Parent = Hair4 | |
930 | Mesh.Scale = Vector3.new(1.15, 1.8, 1.26) | |
931 | Mesh.MeshType = "FileMesh" | |
932 | Mesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
933 | Mesh.TextureId = "" | |
934 | Hair42 = Instance.new("Part") | |
935 | Hair42.Parent = jun.Character | |
936 | Hair42.Name = "Hair" | |
937 | Hair42.CanCollide = false | |
938 | Hair42.Locked = true | |
939 | Hair42.TopSurface = "Smooth" | |
940 | Hair42.BottomSurface = "Smooth" | |
941 | Hair42.formFactor = "Symmetric" | |
942 | Hair42.BrickColor = BrickColor.new("Bright black") | |
943 | Hair42.CFrame = jun.Character.Torso.CFrame | |
944 | Hair42.Size = Vector3.new(1, 1, 1) | |
945 | Weld = Instance.new("Weld") | |
946 | Weld.Parent = jun.Character.Torso | |
947 | Weld.Part1 = Hair42 | |
948 | Weld.Part0 = jun.Character.Head | |
949 | Weld.C0 = CFrame.new(0, -.6, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
950 | Mesh = Instance.new("SpecialMesh") | |
951 | Mesh.Parent = Hair42 | |
952 | Mesh.Scale = Vector3.new(1.3, 1.3, 1.3) | |
953 | Mesh.MeshType = "FileMesh" | |
954 | Mesh.MeshId = "http://www.roblox.com/asset/?id=15392960" | |
955 | Mesh.TextureId = "" | |
956 | Effect = Instance.new("Part") | |
957 | Effect.Parent = jun.Character | |
958 | Effect.Anchored = true | |
959 | Effect.CanCollide = false | |
960 | Effect.Size = Vector3.new(1, 1, 1) | |
961 | Effect.formFactor = "Symmetric" | |
962 | Effect.Transparency = 0.5 | |
963 | Effect.BrickColor = BrickColor.new("Deepblue,Really black") | |
964 | Effect.Reflectance = 0.3 | |
965 | Effect.TopSurface = "Smooth" | |
966 | Effect.BottomSurface = "Smooth" | |
967 | EffectMesh = Instance.new("CylinderMesh") | |
968 | EffectMesh.Parent = Effect | |
969 | EffectMesh.Scale = Vector3.new(1, 100, 1) | |
970 | blastring2.Parent = jun.Character | |
971 | blastring2.Position = jun.Character.Torso.Position | |
972 | blastring2.BrickColor = BrickColor.new("Really black") | |
973 | blastring2.Transparency = 0.7 | |
974 | blastring2.Reflectance = 0 | |
975 | jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, -0.5, -1) | |
976 | for i = 1 , 20 do | |
977 | Effect.CFrame = CFrame.new(jun.Character.Torso.Position) | |
978 | blastring2.CFrame = CFrame.new(jun.Character.Torso.Position) * CFrame.new(0, 0.5, -0.8) | |
979 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0, 0.5) | |
980 | blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.7, 0, 0.7) | |
981 | wait(0.001) | |
982 | end | |
983 | for i = 1 , 20 do | |
984 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(-0.5, 0, -0.5) | |
985 | blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(-0.7, 0, -0.7) | |
986 | wait(0.001) | |
987 | end | |
988 | blastring2.BrickColor = BrickColor.new("White") | |
989 | Effect.BrickColor = BrickColor.new("Really blue") | |
990 | for i = 1 , 20 do | |
991 | blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.7, 0, 0.7) | |
992 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0, 0.5) | |
993 | wait(0.001) | |
994 | end | |
995 | for i = 1 , 20 do | |
996 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(-0.5, 0, -0.5) | |
997 | blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(-0.7, 0, -0.7) | |
998 | wait(0.001) | |
999 | end | |
1000 | Effect:remove() | |
1001 | blastring2:remove() | |
1002 | lol = Instance.new("Explosion") | |
1003 | lol.Parent = game.Workspace | |
1004 | lol.Position = jun.Character.Torso.Position | |
1005 | lol.BlastRadius = 10 | |
1006 | lol.BlastPressure = 0 | |
1007 | --[[ex = Instance.new("Explosion") | |
1008 | ex.Position = jun.Character.Torso.Position | |
1009 | ex.BlastPressure = 0 | |
1010 | ex.Parent = workspace]] | |
1011 | jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0) | |
1012 | for i = 1 , 20 do | |
1013 | Effect.CFrame = CFrame.new(jun.Character.Torso.Position) | |
1014 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0, 0.5) | |
1015 | Effect.Transparency = Effect.Transparency + 0.01 | |
1016 | wait(0.05) | |
1017 | end | |
1018 | for i = 1 , 20 do | |
1019 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(-0.5, 0, -0.5) | |
1020 | Effect.BrickColor = BrickColor.new("Really black") | |
1021 | wait(0.05) | |
1022 | end | |
1023 | Effect:Remove() | |
1024 | game.Lighting.TimeOfDay = 15 | |
1025 | game.Lighting.FogEnd = 10000 | |
1026 | if jun.Character.Torso:findFirstChild("PwnFire") == nil then | |
1027 | local pie = Instance.new("Fire") | |
1028 | pie.Name = "PwnFire" | |
1029 | pie.Parent = jun.Character.Torso | |
1030 | pie.Size = 13 | |
1031 | pie.Color = BrickColor.new("Really blue").Color | |
1032 | pie.SecondaryColor = BrickColor.new("Really blue").Color | |
1033 | end | |
1034 | if jun.Character.Torso:findFirstChild("PwnSparkles") == nil then | |
1035 | pie = Instance.new("Sparkles") | |
1036 | pie.Name = "PwnSparkles" | |
1037 | pie.Parent = jun.Character.Torso | |
1038 | pie.SparkleColor = BrickColor.new("White").Color | |
1039 | end | |
1040 | jun.Character.Humanoid.MaxHealth = 350 | |
1041 | wait(0.3) | |
1042 | jun.Character.Humanoid.Health = 300 | |
1043 | end | |
1044 | end | |
1045 | function nossj() | |
1046 | if Stuff == true then | |
1047 | Stuff = false | |
1048 | if jun.Character.Torso:findFirstChild("PwnFire") ~= nil then | |
1049 | jun.Character.Torso:findFirstChild("PwnFire"):Remove() | |
1050 | end | |
1051 | if jun.Character.Torso:findFirstChild("PwnSparkles") ~= nil then | |
1052 | jun.Character.Torso:findFirstChild("PwnSparkles"):Remove() | |
1053 | end | |
1054 | p = Instance.new("Part") | |
1055 | p.Parent = jun.Character | |
1056 | p.Anchored = true | |
1057 | p.CanCollide = false | |
1058 | p.Transparency = 0 | |
1059 | p.formFactor = "Symmetric" | |
1060 | p.Size = Vector3.new(44, 44, 44) | |
1061 | p.TopSurface = "Smooth" | |
1062 | p.BottomSurface = "Smooth" | |
1063 | p.Name = "Sharingan" | |
1064 | p.Shape = "Ball" | |
1065 | p.CFrame = jun.Character.Torso.CFrame | |
1066 | p.BrickColor = BrickColor.new("Really black") | |
1067 | for i = 1 , 10 do | |
1068 | wait(0.05) | |
1069 | p.Size = p.Size + Vector3.new(-3, -3, -3) | |
1070 | p.Transparency = p.Transparency + 0.01 | |
1071 | p.CFrame = jun.Character.Torso.CFrame | |
1072 | end | |
1073 | p:Remove() | |
1074 | for u, c in pairs (jun.Character:GetChildren()) do | |
1075 | if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then | |
1076 | c.Handle.Transparency = 0 | |
1077 | end | |
1078 | if c.Name == "Hair" then | |
1079 | c:Remove() | |
1080 | end | |
1081 | end | |
1082 | for u, c in pairs (game.Lighting:GetChildren()) do | |
1083 | if c.className == "Pants" then | |
1084 | c.Parent = game.Workspace.satic | |
1085 | end | |
1086 | end | |
1087 | for u, c in pairs (game.Lighting:GetChildren()) do | |
1088 | if c.className == "Shirt" then | |
1089 | c.Parent = game.Workspace.satic | |
1090 | end | |
1091 | end | |
1092 | jun.Character.Humanoid.Health = 80 | |
1093 | wait() | |
1094 | jun.Character.Humanoid.MaxHealth = 100 | |
1095 | wait() | |
1096 | jun.Character.Torso.fire1:remove() | |
1097 | wait() | |
1098 | jun.Character.Torso.fire2:remove() | |
1099 | wait() | |
1100 | jun.Character.Torso.fire3:remove() | |
1101 | wait() | |
1102 | jun.Character.Torso.fire4:remove() | |
1103 | wait() | |
1104 | jun.Character.Torso.fire5:remove() | |
1105 | end | |
1106 | end | |
1107 | jun.Chatted:connect(function(Msg) | |
1108 | msg = Msg:lower() | |
1109 | if string.sub(msg, 1, 7) == "!" then | |
1110 | game.Lighting.FogColor = BrickColor.new("Really black").Color | |
1111 | wait() | |
1112 | game.Lighting.TimeOfDay = 16 | |
1113 | wait(0.3) | |
1114 | game.Lighting.TimeOfDay = 17 | |
1115 | wait(0.3) | |
1116 | game.Lighting.TimeOfDay = 18 | |
1117 | wait(0.3) | |
1118 | game.Lighting.TimeOfDay = 19 | |
1119 | wait(0.3) | |
1120 | game.Lighting.FogEnd = 1000 | |
1121 | wait(0.1) | |
1122 | game.Lighting.FogEnd = 800 | |
1123 | wait(0.1) | |
1124 | game.Lighting.FogEnd = 600 | |
1125 | wait(0.1) | |
1126 | game.Lighting.FogEnd = 500 | |
1127 | wait(0.1) | |
1128 | game.Lighting.FogEnd = 400 | |
1129 | wait(0.1) | |
1130 | game.Lighting.FogEnd = 300 | |
1131 | ssj() | |
1132 | end | |
1133 | if string.sub(msg, 1, 4) == "5" then | |
1134 | game.Lighting.FogColor = BrickColor.new("Really black").Color | |
1135 | wait() | |
1136 | game.Lighting.TimeOfDay = 16 | |
1137 | wait(0.3) | |
1138 | game.Lighting.TimeOfDay = 17 | |
1139 | wait(0.3) | |
1140 | game.Lighting.TimeOfDay = 18 | |
1141 | wait(0.3) | |
1142 | game.Lighting.TimeOfDay = 19 | |
1143 | wait(0.3) | |
1144 | game.Lighting.FogEnd = 1000 | |
1145 | wait(0.1) | |
1146 | game.Lighting.FogEnd = 800 | |
1147 | wait(0.1) | |
1148 | game.Lighting.FogEnd = 600 | |
1149 | wait(0.1) | |
1150 | game.Lighting.FogEnd = 500 | |
1151 | wait(0.1) | |
1152 | game.Lighting.FogEnd = 400 | |
1153 | wait(0.1) | |
1154 | game.Lighting.FogEnd = 300 | |
1155 | wait(0.1) | |
1156 | ssj() | |
1157 | end | |
1158 | if string.sub(msg, 1, 6) == "Dark" then | |
1159 | wait(0.1) | |
1160 | ssj() | |
1161 | end | |
1162 | if string.sub(msg, 1, 10) == "off" then | |
1163 | wait(0.1) | |
1164 | nossj() | |
1165 | end | |
1166 | if string.sub(msg, 1, 3) == "stop" then | |
1167 | wait(0.1) | |
1168 | nossj() | |
1169 | end | |
1170 | end) | |
1171 | function OnDeath() | |
1172 | wait() | |
1173 | nossj() | |
1174 | end | |
1175 | jun.Character.Humanoid.Died:connect(OnDeath) | |
1176 | jun = game.Players.LocalPlayer | |
1177 | Stuff = false | |
1178 | --password | |
1179 | Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Earth-shattering kamehameha" | |
1180 | script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Earth-shattering kamehameha" | |
1181 | local char = script.Parent.Parent.Parent.Character | |
1182 | local humanoid = char.Humanoid | |
1183 | local Head = char.Head | |
1184 | local Torso = char.Torso | |
1185 | local LeftArm = char["Left Arm"] | |
1186 | local RightArm = char["Right Arm"] | |
1187 | local LeftLeg = char["Left Leg"] | |
1188 | local RightLeg = char["Right Leg"] | |
1189 | local RightHip = Torso["Right Hip"] | |
1190 | local LeftHip = Torso["Left Hip"] | |
1191 | local Neck = Torso.Neck | |
1192 | local RightShoulder = Torso["Right Shoulder"] | |
1193 | local LeftShoulder = Torso["Left Shoulder"] | |
1194 | local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1195 | local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1196 | local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1197 | local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1198 | local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1199 | local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1200 | local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0) | |
1201 | local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0) | |
1202 | local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0) | |
1203 | local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0) | |
1204 | local taco = false | |
1205 | local taco2 = true | |
1206 | local time = game.Lighting.TimeOfDay | |
1207 | local h = tonumber(string.sub(time,1,2)) | |
1208 | local m = tonumber(string.sub(time,4,5))+1 | |
1209 | local s = tonumber(string.sub(time,7,8)) | |
1210 | local function frame() | |
1211 | TiltX = 0 | |
1212 | TiltY = 0 | |
1213 | TiltZ = 0 | |
1214 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1215 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ) | |
1216 | TiltX = -1.65 | |
1217 | TiltY = 0 | |
1218 | TiltZ = 0 | |
1219 | MoveX = 0 | |
1220 | MoveY = -0.31 | |
1221 | MoveZ = -0.4 | |
1222 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ) | |
1223 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ) | |
1224 | TiltX = -0.12 | |
1225 | TiltY = -0.01 | |
1226 | TiltZ = -0.1 | |
1227 | MoveX = 0 | |
1228 | MoveY = 0.2 | |
1229 | MoveZ = 0 | |
1230 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ) | |
1231 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ) | |
1232 | end | |
1233 | function switch(bool) | |
1234 | for i,v in pairs(char:GetChildren())do | |
1235 | if v == Torso or v == Head or v == LeftArm or v == RightArm or v == LeftLeg or v == RightLeg then | |
1236 | v.Anchored = bool | |
1237 | end end end | |
1238 | local function frame2() | |
1239 | TiltX = 0 | |
1240 | TiltY = 0 | |
1241 | TiltZ = 1.57 | |
1242 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1243 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ) | |
1244 | TiltX = 0.6 | |
1245 | TiltY = 0 | |
1246 | TiltZ = 0 | |
1247 | MoveX = 0 | |
1248 | MoveY = 0 | |
1249 | MoveZ = -0.3 | |
1250 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1251 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1252 | TiltX = -0.05 | |
1253 | TiltY = 0 | |
1254 | TiltZ = 0 | |
1255 | MoveX = 0 | |
1256 | MoveY = 0.1 | |
1257 | MoveZ = 0 | |
1258 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1259 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1260 | end | |
1261 | local function RefreshWelds() | |
1262 | Neck.C0 = NeckC0 | |
1263 | Neck.C1 = NeckC1 | |
1264 | RightShoulder.C0 = RightShoulderC0 | |
1265 | RightShoulder.C1 = RightShoulderC1 | |
1266 | LeftShoulder.C0 = LeftShoulderC0 | |
1267 | LeftShoulder.C1 = LeftShoulderC1 | |
1268 | RightHip.C0 = RightHipC0 | |
1269 | RightHip.C1 = RightHipC1 | |
1270 | LeftHip.C0 = LeftHipC0 | |
1271 | LeftHip.C1 = LeftHipC1 | |
1272 | end | |
1273 | local function Button1Down(mouse) | |
1274 | if taco then return end | |
1275 | taco = true | |
1276 | humanoid.PlatformStand = true | |
1277 | local staystill = Instance.new("BodyPosition",Torso) | |
1278 | staystill.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1279 | staystill.position = Torso.Position | |
1280 | frame() | |
1281 | local energy = Instance.new("Part",char) | |
1282 | energy.Size = Vector3.new(0.1,0.1,0.1) | |
1283 | energy.CanCollide = false | |
1284 | energy.Anchored = true | |
1285 | energy.Locked = true | |
1286 | energy.Shape = "Ball" | |
1287 | energy.TopSurface = "Smooth" | |
1288 | energy.BottomSurface = "Smooth" | |
1289 | energy.Color = Color3.new(0/255,50/255,255/255) | |
1290 | energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6) | |
1291 | local energy2 = Instance.new("Part",char) | |
1292 | energy2.Size = Vector3.new(0.1,0.1,0.1) | |
1293 | energy2.CanCollide = false | |
1294 | energy2.Anchored = true | |
1295 | energy2.Locked = true | |
1296 | energy2.Shape = "Ball" | |
1297 | energy2.TopSurface = "Smooth" | |
1298 | energy2.BottomSurface = "Smooth" | |
1299 | energy2.Color = Color3.new(255/255,0/255,0/255) | |
1300 | energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6) | |
1301 | local f1 = Instance.new("Fire",energy) | |
1302 | f1.Color = energy.Color | |
1303 | f1.SecondaryColor = Color3.new(0,0,0) | |
1304 | f1.Heat = 0 | |
1305 | local f2 = Instance.new("Fire",energy2) | |
1306 | f2.Color = energy2.Color | |
1307 | f2.SecondaryColor = Color3.new(1,1,1) | |
1308 | f2.Heat = 0 | |
1309 | local f1 = Instance.new("Fire",energy) | |
1310 | f1.Color = energy.Color | |
1311 | f1.SecondaryColor = Color3.new(0,0,0) | |
1312 | f1.Heat = 0 | |
1313 | local f2 = Instance.new("Fire",energy2) | |
1314 | f2.Color = energy2.Color | |
1315 | f2.SecondaryColor = Color3.new(1,1,1) | |
1316 | f2.Heat = 0 | |
1317 | local f1 = Instance.new("Fire",energy) | |
1318 | f1.Color = energy.Color | |
1319 | f1.SecondaryColor = Color3.new(0,0,0) | |
1320 | f1.Heat = 0 | |
1321 | local f2 = Instance.new("Fire",energy2) | |
1322 | f2.Color = energy2.Color | |
1323 | f2.SecondaryColor = Color3.new(1,1,1) | |
1324 | f2.Heat = 0 | |
1325 | switch(true) | |
1326 | wait(0.5) | |
1327 | repeat m = m * 2 if m >= 60 then m = 1 h = h + 1 end game.Lighting.TimeOfDay = ""..h..":"..m..":"..s.."" wait(0) until game.Lighting.TimeOfDay >= "18:00:00" | |
1328 | for i = 1,10 do | |
1329 | energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6) | |
1330 | energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6) | |
1331 | energy.Size = energy.Size + Vector3.new(0.5,0.5,0.5) | |
1332 | energy2.Size = energy2.Size + Vector3.new(0.5,0.5,0.5) | |
1333 | energy.Reflectance = energy.Reflectance + 0.1 | |
1334 | energy2.Reflectance = energy2.Reflectance + 0.1 | |
1335 | wait() | |
1336 | energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6) | |
1337 | energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6) | |
1338 | end | |
1339 | game:GetService("Chat"):Chat(Head,"EARTH SHATTERING!",0) | |
1340 | wait(0.6) | |
1341 | switch(false) | |
1342 | frame2() | |
1343 | wait() | |
1344 | switch(true) | |
1345 | for i = 1,10 do | |
1346 | wait() | |
1347 | energy.CFrame = energy.CFrame * CFrame.new(0,0.25,-0.25) | |
1348 | energy2.CFrame = energy2.CFrame * CFrame.new(0,0.25,-0.25) | |
1349 | end | |
1350 | for i = 1,20 do | |
1351 | energy.Size = energy.Size * Vector3.new(0.5,0.5,0.5) | |
1352 | energy2.Size = energy2.Size * Vector3.new(0.5,0.5,0.5) | |
1353 | energy.Reflectance = energy.Reflectance - 0.1 | |
1354 | energy2.Reflectance = energy2.Reflectance - 0.1 | |
1355 | wait() | |
1356 | energy.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5) | |
1357 | energy2.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5) | |
1358 | end | |
1359 | energy:Destroy() | |
1360 | energy2:Destroy() | |
1361 | wait(0.6) | |
1362 | game:GetService("Chat"):Chat(Head,"KAMEEHHHH",0) | |
1363 | local blast = Instance.new("Part",char) | |
1364 | blast.Size = Vector3.new(8,8,8) | |
1365 | blast.Shape = "Ball" | |
1366 | blast.TopSurface = "Smooth" | |
1367 | blast.BottomSurface = "Smooth" | |
1368 | blast.Anchored = true | |
1369 | blast.Locked = true | |
1370 | blast.CanCollide = false | |
1371 | blast.Color = Color3.new(255/255,0/255,125/255) | |
1372 | blast.Transparency = 0 | |
1373 | blast.CFrame = Torso.CFrame * CFrame.new(0,0.2,-6.5) | |
1374 | wait(0.6) | |
1375 | game:GetService("Chat"):Chat(Head,"HAMEEHHHHH",1) | |
1376 | local xf = Instance.new("Fire",blast) | |
1377 | xf.Size = 25 | |
1378 | xf.Color = blast.Color | |
1379 | xf.SecondaryColor = Color3.new(255/255,255/255,255/255) | |
1380 | xf.Heat = 0 | |
1381 | local xf = Instance.new("Fire",blast) | |
1382 | xf.Size = 25 | |
1383 | xf.Color = blast.Color | |
1384 | xf.SecondaryColor = Color3.new(255/255,255/255,255/255) | |
1385 | xf.Heat = 0 | |
1386 | for i = 1,20 do | |
1387 | blast.Transparency = blast.Transparency + 0.05 | |
1388 | blast.Reflectance = blast.Reflectance + 0.01 | |
1389 | wait(0.1) | |
1390 | if blast.Transparency >= 1 then | |
1391 | blast.Transparency = blast.Transparency - 0.1 | |
1392 | end end | |
1393 | blast.Transparency = 0.1 | |
1394 | wait(0.5) | |
1395 | game:GetService("Chat"):Chat(Head,"HAAAAAAHHHHHHHHH!",2) | |
1396 | coroutine.resume(coroutine.create(function() | |
1397 | for i = 1,5 do wait(0) | |
1398 | local p = Instance.new("Part",blast) | |
1399 | p.Size = Vector3.new(0,0,0) | |
1400 | p.Anchored = true | |
1401 | p.CanCollide = false | |
1402 | p.Locked = true | |
1403 | p.BrickColor = BrickColor.new("Really red") | |
1404 | p.TopSurface = "Smooth" | |
1405 | p.Reflectance = 0.3 | |
1406 | p.Transparency = 0.4 | |
1407 | p.BottomSurface = "Smooth" | |
1408 | p.CFrame = blast.CFrame * CFrame.new(0,0,0) | |
1409 | local m1 = Instance.new("SpecialMesh",p) | |
1410 | m1.Scale = p.Size | |
1411 | m1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1412 | local p2 = Instance.new("Part",blast) | |
1413 | p2.CFrame = blast.CFrame * CFrame.new(0,0,0) | |
1414 | p2.Size = Vector3.new(0,0,0) | |
1415 | p2.Anchored = true | |
1416 | p2.CanCollide = false | |
1417 | p2.Locked = true | |
1418 | p2.BrickColor = BrickColor.new("Deep blue") | |
1419 | p2.TopSurface = "Smooth" | |
1420 | p2.Reflectance = 0.3 | |
1421 | p2.Transparency = 0.4 | |
1422 | p2.BottomSurface = "Smooth" | |
1423 | local m2 = Instance.new("SpecialMesh",p2) | |
1424 | m2.Scale = p2.Size | |
1425 | m2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1426 | local p3 = Instance.new("Part",blast) | |
1427 | p3.Size = Vector3.new(0,0,0) | |
1428 | p3.Anchored = true | |
1429 | p3.CanCollide = false | |
1430 | p3.Locked = true | |
1431 | p3.Color = blast.Color | |
1432 | p3.TopSurface = "Smooth" | |
1433 | p3.Reflectance = 0.3 | |
1434 | p3.Transparency = 0.4 | |
1435 | p3.BottomSurface = "Smooth" | |
1436 | p3.CFrame = blast.CFrame * CFrame.new(0,0,0) | |
1437 | local m3 = Instance.new("SpecialMesh",p3) | |
1438 | m3.Scale = p.Size | |
1439 | m3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1440 | coroutine.resume(coroutine.create(function() | |
1441 | for i = 1,20 do wait(0) | |
1442 | m1.Scale = m1.Scale + Vector3.new(5,5,5) | |
1443 | p.CFrame = p.CFrame * CFrame.new(0,0,-5) | |
1444 | end | |
1445 | p:Destroy() | |
1446 | end)) | |
1447 | coroutine.resume(coroutine.create(function() | |
1448 | for i = 1,20 do wait(0) | |
1449 | m2.Scale = m2.Scale + Vector3.new(5,5,5) | |
1450 | p2.CFrame = p2.CFrame * CFrame.new(0,0,-5) | |
1451 | end | |
1452 | p2:Destroy() | |
1453 | end)) | |
1454 | coroutine.resume(coroutine.create(function() | |
1455 | for i = 1,20 do wait(0) | |
1456 | m3.Scale = m3.Scale + Vector3.new(5,5,5) | |
1457 | p3.CFrame = p3.CFrame * CFrame.new(0,0,-5) | |
1458 | end | |
1459 | p3:Destroy() | |
1460 | end))end end)) | |
1461 | local p = Instance.new("Part",blast) | |
1462 | p.Size = blast.Size | |
1463 | p.CanCollide = true | |
1464 | p.Anchored = true | |
1465 | p.Locked = true | |
1466 | p.Color = blast.Color | |
1467 | p.Reflectance = blast.Reflectance | |
1468 | p.Transparency = blast.Transparency | |
1469 | p.TopSurface = "Smooth" | |
1470 | p.BottomSurface = "Smooth" | |
1471 | p.CFrame = blast.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0) | |
1472 | p.Touched:connect(function(hit) | |
1473 | if not taco2 then return end | |
1474 | taco2 = false | |
1475 | if hit.Parent:findFirstChild("Humanoid")then | |
1476 | for i,v in pairs(hit.Parent:GetChildren())do | |
1477 | if v:IsA"Hat" then | |
1478 | v:Destroy() | |
1479 | elseif v:IsA"Part" then | |
1480 | v.Velocity = v.Position * Vector3.new(50,3,0) | |
1481 | v.RotVelocity = v.Position - v.Velocity | |
1482 | v.Parent:BreakJoints() | |
1483 | end end end | |
1484 | wait(8) | |
1485 | taco2 = true | |
1486 | end) | |
1487 | local mesh = Instance.new("CylinderMesh",p) | |
1488 | mesh.Scale = Vector3.new(1,0,1) | |
1489 | for i = 1,150 do | |
1490 | mesh.Scale = mesh.Scale + Vector3.new(-0.16,1.19,-0.16) | |
1491 | p.CFrame = p.CFrame * CFrame.new(0,-5,0) | |
1492 | wait(0) | |
1493 | mesh.Scale = mesh.Scale + Vector3.new(0.1599,0,0.1599) | |
1494 | end | |
1495 | blast:Destroy() | |
1496 | game.Lighting.TimeOfDay = 12 | |
1497 | switch(false) | |
1498 | RefreshWelds() | |
1499 | humanoid.PlatformStand = false | |
1500 | staystill:Destroy() | |
1501 | wait(8) | |
1502 | taco = false | |
1503 | end | |
1504 | script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end) | |
1505 | math.randomseed(tick()) | |
1506 | local pwn = game:service('Players').LocalPlayer | |
1507 | local char = pwn.Character | |
1508 | local pk = pwn.Backpack | |
1509 | local Human = char.Humanoid | |
1510 | local Torso = char.Torso | |
1511 | local Head = char.Head | |
1512 | local LeftArm = char["Left Arm"] | |
1513 | local RightArm = char["Right Arm"] | |
1514 | local LeftLeg = char["Left Leg"] | |
1515 | local RightLeg = char["Right Leg"] | |
1516 | local Neck = char.Torso["Neck"] | |
1517 | local RightShoulder = char.Torso["Right Shoulder"] | |
1518 | local LeftShoulder = char.Torso["Left Shoulder"] | |
1519 | local RightHip = char.Torso["Right Hip"] | |
1520 | local LeftHip = char.Torso["Left Hip"] | |
1521 | local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1522 | local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1523 | local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1524 | local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1525 | local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1526 | local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1527 | local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0) | |
1528 | local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0) | |
1529 | local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0) | |
1530 | local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0) | |
1531 | local Tewl = Instance.new("HopperBin",pk) | |
1532 | local Nim = "Time Blast" | |
1533 | local disabled = false | |
1534 | function ChargeWelds() | |
1535 | if Torso.Anchored then | |
1536 | Torso.CFrame = Torso.CFrame * CFrame.new(0,5,0) | |
1537 | else | |
1538 | Torso.Anchored = true | |
1539 | Torso.CFrame = Torso.CFrame * CFrame.new(0,5,0) | |
1540 | end | |
1541 | coroutine.resume(meshInsertion) | |
1542 | TiltX = 2 | |
1543 | TiltY = 0 | |
1544 | TiltZ = 2 | |
1545 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1546 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1547 | TiltX = 2 | |
1548 | TiltY = 0 | |
1549 | TiltZ = 2 | |
1550 | MoveX = 0 | |
1551 | MoveY = 0 | |
1552 | MoveZ = 0 | |
1553 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1554 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ) | |
1555 | TiltX = 0.3 | |
1556 | TiltY = 0 | |
1557 | TiltZ = 0.3 | |
1558 | MoveX = 0 | |
1559 | MoveY = 0 | |
1560 | MoveZ = 0 | |
1561 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1562 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1563 | end | |
1564 | function RefreshWelds() | |
1565 | Neck.C0 = NeckC0 | |
1566 | Neck.C1 = NeckC1 | |
1567 | RightShoulder.C0 = RightShoulderC0 | |
1568 | RightShoulder.C1 = RightShoulderC1 | |
1569 | LeftShoulder.C0 = LeftShoulderC0 | |
1570 | LeftShoulder.C1 = LeftShoulderC1 | |
1571 | RightHip.C0 = RightHipC0 | |
1572 | RightHip.C1 = RightHipC1 | |
1573 | LeftHip.C0 = LeftHipC0 | |
1574 | LeftHip.C1 = LeftHipC1 | |
1575 | end | |
1576 | function Welds1() | |
1577 | TiltX = 0 | |
1578 | TiltY = 0 | |
1579 | TiltZ = 1.57 | |
1580 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1581 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ) | |
1582 | TiltX = 0.6 | |
1583 | TiltY = 0 | |
1584 | TiltZ = 0 | |
1585 | MoveX = 0 | |
1586 | MoveY = 0 | |
1587 | MoveZ = -0.3 | |
1588 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1589 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1590 | TiltX = -0.05 | |
1591 | TiltY = 0 | |
1592 | TiltZ = 0 | |
1593 | MoveX = 0 | |
1594 | MoveY = 0.1 | |
1595 | MoveZ = 0 | |
1596 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1597 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1598 | end | |
1599 | function Welds2() | |
1600 | TiltX = 100 | |
1601 | TiltY = 20 | |
1602 | TiltZ = -20 | |
1603 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1604 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
1605 | TiltX = 0.6 | |
1606 | TiltY = 0 | |
1607 | TiltZ = 0 | |
1608 | MoveX = 0 | |
1609 | MoveY = 0 | |
1610 | MoveZ = -0.3 | |
1611 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1612 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1613 | TiltX = 0 | |
1614 | TiltY = 0 | |
1615 | TiltZ = 0 | |
1616 | MoveX = 0 | |
1617 | MoveY = 0 | |
1618 | MoveZ = 0 | |
1619 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1620 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
1621 | end | |
1622 | function onButton1Down(mouse) | |
1623 | if disabled == true then | |
1624 | return | |
1625 | end | |
1626 | Torso.Anchored = true | |
1627 | Human.PlatformStand = true | |
1628 | Human.WalkSpeed = 0 | |
1629 | disabled = true | |
1630 | narb = Instance.new("ForceField",char) | |
1631 | noob = narb:clone() | |
1632 | noobz = narb:clone() | |
1633 | nubz = narb:clone() | |
1634 | coroutine.resume(coroutine.create(function() | |
1635 | for x = 1,150 do | |
1636 | Torso.CFrame = Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-100,100),0) | |
1637 | wait() | |
1638 | end | |
1639 | end)) | |
1640 | chargeup() | |
1641 | local wow = Instance.new("Part",workspace) | |
1642 | wow.Anchored = true | |
1643 | wow.CanCollide = false | |
1644 | wow.Reflectance = 0.32 | |
1645 | wow.formFactor = "Custom" | |
1646 | wow.Size = Vector3.new(0.2,0.2,0.2) | |
1647 | wow.TopSurface = "Smooth" | |
1648 | wow.Transparency = 0 | |
1649 | wow.BottomSurface = "Smooth" | |
1650 | wow.CFrame = Torso.CFrame | |
1651 | wow.BrickColor = BrickColor.new("Really black") | |
1652 | local Mesh2 = Instance.new("SpecialMesh",wow) | |
1653 | Mesh2.MeshType = "FileMesh" | |
1654 | Mesh2.Scale = Vector3.new(4.5,0.5,4.5) | |
1655 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1656 | Mesh2.TextureId = "" | |
1657 | for i = 1,30 do | |
1658 | wow.CFrame = Torso.CFrame * CFrame.new(0,-7.5,0) | |
1659 | wait() | |
1660 | wow.CFrame = wow.CFrame * CFrame.fromEulerAnglesXYZ(0,-6,0) | |
1661 | wow.Transparency = wow.Transparency + 0.1 | |
1662 | end | |
1663 | local p = Instance.new("Part",char) | |
1664 | p.Anchored = true | |
1665 | p.CanCollide = false | |
1666 | p.Transparency = 0 | |
1667 | p.Reflectance = 0.3 | |
1668 | p.formFactor = "Symmetric" | |
1669 | p.Size = Vector3.new(12, 12, 12) | |
1670 | p.TopSurface = "Smooth" | |
1671 | p.BottomSurface = "Smooth" | |
1672 | p.Name = "Sharingan" | |
1673 | p.Shape = "Ball" | |
1674 | p.CFrame = Torso.CFrame | |
1675 | p.BrickColor = BrickColor.new("Lime green") | |
1676 | local lol = Instance.new("Explosion",workspace) | |
1677 | lol.Position = Torso.Position | |
1678 | lol.BlastRadius = 450 | |
1679 | lol.BlastPressure = 0 | |
1680 | for i = 1,10 do | |
1681 | wait() | |
1682 | p.Size = p.Size + Vector3.new(3,3,3) | |
1683 | p.CFrame = Torso.CFrame | |
1684 | p.Transparency = p.Transparency + 0.1 | |
1685 | end | |
1686 | game.Lighting.TimeOfDay = 6 | |
1687 | p:remove() | |
1688 | wow:remove() | |
1689 | Welds2() | |
1690 | wait(0.5) | |
1691 | Welds1() | |
1692 | wait(0.5) | |
1693 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0.1, 0, 2) | |
1694 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0.1, 0, -2) | |
1695 | wait(1) | |
1696 | for i = 1,20 do | |
1697 | game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random()) | |
1698 | wait() | |
1699 | end | |
1700 | game.Lighting.Ambient = Color3.new(1,1,1) | |
1701 | local model = Instance.new("Model",char) | |
1702 | local fer = Instance.new("Fire",Torso) | |
1703 | fer.Size = 30 | |
1704 | fer.Heat = 18 | |
1705 | fer.Color = BrickColor.new("Really red").Color | |
1706 | fer.SecondaryColor = BrickColor.new("Really black").Color | |
1707 | local smk = Instance.new("Smoke",Torso) | |
1708 | smk.Opacity = 1 | |
1709 | smk.RiseVelocity = 25 | |
1710 | smk.Size = 12 | |
1711 | smk.Color = BrickColor.new("Really red").Color | |
1712 | local O = Instance.new("Part",model) | |
1713 | O.Anchored = true | |
1714 | O.CanCollide = false | |
1715 | O.Transparency = 0 | |
1716 | O.Reflectance = 0.3 | |
1717 | O.formFactor = "Symmetric" | |
1718 | O.Size = Vector3.new(0, 0, 0) | |
1719 | O.TopSurface = "Smooth" | |
1720 | O.BottomSurface = "Smooth" | |
1721 | O.Name = "Sharingan" | |
1722 | O.Shape = "Ball" | |
1723 | O.CFrame = Torso.CFrame*CFrame.fromEulerAnglesXYZ(1.5, 0, 0) | |
1724 | O.BrickColor = BrickColor.new("Really red") | |
1725 | local Mesh = Instance.new("SpecialMesh") | |
1726 | Mesh.Parent = O | |
1727 | Mesh.MeshType = "FileMesh" | |
1728 | Mesh.Scale = Vector3.new(1.3, 1.3, 1.3) | |
1729 | Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1730 | Mesh.TextureId = "" | |
1731 | local O2 = Instance.new("Part",model) | |
1732 | O2.Anchored = true | |
1733 | O2.CanCollide = false | |
1734 | O2.Transparency = 0 | |
1735 | O2.Reflectance = 0.3 | |
1736 | O2.formFactor = "Symmetric" | |
1737 | O2.Size = Vector3.new(0, 0, 0) | |
1738 | O2.TopSurface = "Smooth" | |
1739 | O2.BottomSurface = "Smooth" | |
1740 | O2.Name = "Sharingan" | |
1741 | O2.Shape = "Ball" | |
1742 | O2.CFrame = Torso.CFrame | |
1743 | O2.BrickColor = BrickColor.new("Really red") | |
1744 | local Mesh3 = Instance.new("SpecialMesh") | |
1745 | Mesh3.Parent = O2 | |
1746 | Mesh3.MeshType = "FileMesh" | |
1747 | Mesh3.Scale = Vector3.new(1, 1, 1) | |
1748 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1749 | Mesh3.TextureId = "" | |
1750 | local O3 = Instance.new("Part",model) | |
1751 | O3.Anchored = true | |
1752 | O3.CanCollide = false | |
1753 | O3.Transparency = 0 | |
1754 | O3.Reflectance = 0.3 | |
1755 | O3.formFactor = "Symmetric" | |
1756 | O3.Size = Vector3.new(0, 0, 0) | |
1757 | O3.TopSurface = "Smooth" | |
1758 | O3.BottomSurface = "Smooth" | |
1759 | O3.Name = "Sharingan" | |
1760 | O3.Shape = "Ball" | |
1761 | O3.CFrame = Torso.CFrame*CFrame.fromEulerAnglesXYZ(1.5, 0, 0) | |
1762 | O3.BrickColor = BrickColor.new("Really red") | |
1763 | local Mesh4 = Instance.new("SpecialMesh") | |
1764 | Mesh4.Parent = O3 | |
1765 | Mesh4.MeshType = "FileMesh" | |
1766 | Mesh4.Scale = Vector3.new(1.3, 1.3, 1.3) | |
1767 | Mesh4.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1768 | Mesh4.TextureId = "" | |
1769 | local O4 = Instance.new("Part",model) | |
1770 | O4.Anchored = true | |
1771 | O4.CanCollide = false | |
1772 | O4.Transparency = 0 | |
1773 | O4.Reflectance = 0.3 | |
1774 | O4.formFactor = "Symmetric" | |
1775 | O4.Size = Vector3.new(0, 0, 0) | |
1776 | O4.TopSurface = "Smooth" | |
1777 | O4.BottomSurface = "Smooth" | |
1778 | O4.Name = "Sharingan" | |
1779 | O4.Shape = "Ball" | |
1780 | O4.CFrame = Torso.CFrame | |
1781 | O4.BrickColor = BrickColor.new("Really red") | |
1782 | local Mesh5 = Instance.new("SpecialMesh") | |
1783 | Mesh5.Parent = O4 | |
1784 | Mesh5.MeshType = "FileMesh" | |
1785 | Mesh5.Scale = Vector3.new(1, 1, 1) | |
1786 | Mesh5.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1787 | Mesh5.TextureId = "" | |
1788 | local pro = Instance.new("Part",char) | |
1789 | pro.Anchored = true | |
1790 | pro.CanCollide = true | |
1791 | pro.Transparency = 0.2 | |
1792 | pro.Reflectance = 0.3 | |
1793 | pro.formFactor = "Symmetric" | |
1794 | pro.Size = Vector3.new(1, 1, 1) | |
1795 | pro.TopSurface = "Smooth" | |
1796 | pro.BottomSurface = "Smooth" | |
1797 | pro.Name = "Sharingan" | |
1798 | pro.Shape = "Ball" | |
1799 | pro.BrickColor = BrickColor.new("White") | |
1800 | pro.CFrame = Torso.CFrame | |
1801 | pro.Touched:connect(onTouched) | |
1802 | local lol = Instance.new("Explosion",workspace) | |
1803 | lol.Position = Torso.Position | |
1804 | lol.BlastRadius = 65 | |
1805 | lol.BlastPressure = 900000 | |
1806 | lol.Hit:connect(explhit) | |
1807 | local Effect = Instance.new("Part",pro) | |
1808 | Effect.Anchored = true | |
1809 | Effect.CanCollide = false | |
1810 | Effect.Size = Vector3.new(1, 1, 1) | |
1811 | Effect.formFactor = "Symmetric" | |
1812 | Effect.Transparency = 0.6 | |
1813 | Effect.BrickColor = BrickColor.new("Toothpaste") | |
1814 | Effect.CFrame = Torso.CFrame | |
1815 | Effect.Reflectance = 0.6 | |
1816 | Effect.TopSurface = "Smooth" | |
1817 | Effect.BottomSurface = "Smooth" | |
1818 | local EffectMesh = Instance.new("CylinderMesh",Effect) | |
1819 | EffectMesh.Scale = Vector3.new(3, 90000, 3) | |
1820 | local effect = Effect:Clone() | |
1821 | local effectmesh = EffectMesh:Clone() | |
1822 | effect.Parent = pro | |
1823 | effectmesh.Parent = effect | |
1824 | for i = 1,75 do | |
1825 | effect.Reflectance = math.random() | |
1826 | Effect.Reflectance = math.random() | |
1827 | effectmesh.Scale = effectmesh.Scale + Vector3.new(1,0,1) | |
1828 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(2,0,2) | |
1829 | Mesh.Scale = Mesh.Scale + Vector3.new(3, 3, 3) | |
1830 | Mesh3.Scale = Mesh.Scale | |
1831 | Mesh4.Scale = Mesh.Scale | |
1832 | Mesh5.Scale = Mesh.Scale | |
1833 | O.CFrame = O.CFrame * CFrame.fromEulerAnglesXYZ(6,0,0) | |
1834 | O2.CFrame = O2.CFrame * CFrame.fromEulerAnglesXYZ(0,6,0) | |
1835 | O3.CFrame = O3.CFrame * CFrame.fromEulerAnglesXYZ(0,6,6) | |
1836 | O4.CFrame = O4.CFrame * CFrame.fromEulerAnglesXYZ(6,0,6) | |
1837 | pro.Size = pro.Size + Vector3.new(3,3,3) | |
1838 | pro.CFrame = Torso.CFrame | |
1839 | O.BrickColor = BrickColor.new("Lime green") | |
1840 | O2.BrickColor = BrickColor.new("Lime green") | |
1841 | O3.BrickColor = BrickColor.new("Lime green") | |
1842 | O4.BrickColor = BrickColor.new("Lime green") | |
1843 | pro.BrickColor = BrickColor.new("Really black") | |
1844 | wait() | |
1845 | end | |
1846 | coroutine.resume(core) | |
1847 | for i = 1,10 do | |
1848 | Effect.Reflectance = 0 + 0.1 | |
1849 | effect.Reflectance = 0 + 0.1 | |
1850 | EffectMesh.Scale = EffectMesh.Scale - Vector3.new(12,30,12) | |
1851 | effectmesh.Scale = effectmesh.Scale - Vector3.new(11,29,11) | |
1852 | O.Transparency = O.Transparency + 0.1 | |
1853 | O2.Transparency = O2.Transparency + 0.1 | |
1854 | O3.Transparency = O3.Transparency + 0.1 | |
1855 | O4.Transparency = O4.Transparency + 0.1 | |
1856 | pro.Transparency = p.Transparency + 0.01 | |
1857 | wait() | |
1858 | end | |
1859 | Effect:remove() | |
1860 | pro:remove() | |
1861 | fer:remove() | |
1862 | smk:remove() | |
1863 | noob:remove() | |
1864 | noobz:remove() | |
1865 | nubz:remove() | |
1866 | narb:remove() | |
1867 | RefreshWelds() | |
1868 | game.Lighting.TimeOfDay = 14 | |
1869 | game.Lighting.Brightness = 0 | |
1870 | model:remove() | |
1871 | Human.PlatformStand = false | |
1872 | Torso.Anchored = false | |
1873 | Human.WalkSpeed = 16 | |
1874 | wait(10) | |
1875 | disabled = false | |
1876 | end | |
1877 | function lul(mouse) | |
1878 | mouse.Icon = "http://www.roblox.com/asset/?id=41672909" | |
1879 | mouse.Button1Down:connect(onButton1Down) | |
1880 | end | |
1881 | function explhit(drumstep) | |
1882 | for d,s in pairs (drumstep:children()) do | |
1883 | if s.className == "Humanoid" then | |
1884 | s:takeDamage(80) | |
1885 | end | |
1886 | end | |
1887 | end | |
1888 | function chargeup() | |
1889 | Welds1() | |
1890 | wait(0.4) | |
1891 | ChargeWelds() | |
1892 | wait(0.3) | |
1893 | StartCharge() | |
1894 | wait() | |
1895 | MidCharge() | |
1896 | wait(0.5) | |
1897 | EndCharge() | |
1898 | wait(0.4) | |
1899 | end | |
1900 | function EndCharge() | |
1901 | local p = Instance.new("Part",char) | |
1902 | p.Anchored = true | |
1903 | p.CanCollide = false | |
1904 | p.Transparency = 0 | |
1905 | p.Reflectance = 0.3 | |
1906 | p.formFactor = "Symmetric" | |
1907 | p.Size = Vector3.new(12, 12, 12) | |
1908 | p.TopSurface = "Smooth" | |
1909 | p.BottomSurface = "Smooth" | |
1910 | p.Name = "Sharingan" | |
1911 | p.Shape = "Ball" | |
1912 | p.CFrame = Torso.CFrame | |
1913 | p.BrickColor = BrickColor.new("Really black") | |
1914 | for i = 1,10 do | |
1915 | p.Size = p.Size - Vector3.new(3,3,3) | |
1916 | p.CFrame = Torso.CFrame | |
1917 | wait() | |
1918 | end | |
1919 | p:remove() | |
1920 | end | |
1921 | function MidCharge() | |
1922 | local wow = Instance.new("Part",workspace) | |
1923 | wow.Anchored = true | |
1924 | wow.CanCollide = false | |
1925 | wow.Reflectance = 0.32 | |
1926 | wow.formFactor = "Custom" | |
1927 | wow.Size = Vector3.new(12,12,12) | |
1928 | wow.TopSurface = "Smooth" | |
1929 | wow.Transparency = 0.5 | |
1930 | wow.BottomSurface = "Smooth" | |
1931 | wow.CFrame = Torso.CFrame * CFrame.new(0,0,0) | |
1932 | wow.BrickColor = BrickColor.new("Really black") | |
1933 | local wow2 = Instance.new("Part",workspace) | |
1934 | wow2.Anchored = true | |
1935 | wow2.CanCollide = false | |
1936 | wow2.Reflectance = 0.32 | |
1937 | wow2.formFactor = "Custom" | |
1938 | wow2.Size = Vector3.new(12,12,12) | |
1939 | wow2.TopSurface = "Smooth" | |
1940 | wow2.Transparency = 0.5 | |
1941 | wow2.BottomSurface = "Smooth" | |
1942 | wow2.CFrame = Torso.CFrame * CFrame.new(0,0,0) | |
1943 | wow2.BrickColor = BrickColor.new("Lime green") | |
1944 | local wow11 = Instance.new("Part",workspace) | |
1945 | wow11.Anchored = true | |
1946 | wow11.CanCollide = false | |
1947 | wow11.Reflectance = 0.32 | |
1948 | wow11.formFactor = "Custom" | |
1949 | wow11.Size = Vector3.new(12,12,12) | |
1950 | wow11.TopSurface = "Smooth" | |
1951 | wow11.Transparency = 0.5 | |
1952 | wow11.BottomSurface = "Smooth" | |
1953 | wow11.CFrame = Torso.CFrame * CFrame.new(0,0,0) | |
1954 | wow11.BrickColor = BrickColor.new("Lavender") | |
1955 | local wow4 = Instance.new("Part",workspace) | |
1956 | wow4.Anchored = true | |
1957 | wow4.CanCollide = false | |
1958 | wow4.Reflectance = 0.32 | |
1959 | wow4.formFactor = "Custom" | |
1960 | wow4.Size = Vector3.new(12,12,12) | |
1961 | wow4.TopSurface = "Smooth" | |
1962 | wow4.Transparency = 0.5 | |
1963 | wow4.BottomSurface = "Smooth" | |
1964 | wow4.CFrame = Torso.CFrame * CFrame.new(0,0,0) | |
1965 | wow4.BrickColor = BrickColor.new("Toothpaste") | |
1966 | local Taco = Instance.new("SelectionBox",wow) | |
1967 | Taco.Visible = true | |
1968 | Taco.Color = BrickColor.new("Lime green") | |
1969 | Taco.Adornee = Taco.Parent | |
1970 | local Tacoz = Taco:clone() | |
1971 | Tacoz.Parent = wow2 | |
1972 | Tacoz.Color = BrickColor.new("Really black") | |
1973 | Tacoz.Adornee = Tacoz.Parent | |
1974 | local Taco5 = Tacoz:clone() | |
1975 | Taco5.Parent = wow4 | |
1976 | Taco5.Adornee = Taco5.Parent | |
1977 | Taco5.Color = BrickColor.new("Lavender") | |
1978 | local Tacosh = Tacoz:clone() | |
1979 | Tacosh.Parent = wow11 | |
1980 | Tacosh.Adornee = Tacosh.Parent | |
1981 | Tacosh.Color = BrickColor.new("Toothpaste") | |
1982 | for i = 1,20 do | |
1983 | wait() | |
1984 | wow11.CFrame = wow11.CFrame * CFrame.fromEulerAnglesXYZ(6,6,6) | |
1985 | wow4.CFrame = wow4.CFrame * CFrame.fromEulerAnglesXYZ(-6,-6,-6) | |
1986 | wow2.CFrame = wow2.CFrame * CFrame.fromEulerAnglesXYZ(-3,2,6) | |
1987 | wow.CFrame = wow.CFrame * CFrame.fromEulerAnglesXYZ(5,1,-6) | |
1988 | end | |
1989 | wow:remove() | |
1990 | wow2:remove() | |
1991 | wow4:remove() | |
1992 | wow11:remove() | |
1993 | end | |
1994 | function StartCharge() | |
1995 | local p = Instance.new("Part",char) | |
1996 | p.Anchored = true | |
1997 | p.CanCollide = false | |
1998 | p.Transparency = 0.6 | |
1999 | p.Reflectance = 0.3 | |
2000 | p.formFactor = "Symmetric" | |
2001 | p.Size = Vector3.new(3,3,3) | |
2002 | p.TopSurface = "Smooth" | |
2003 | p.BottomSurface = "Smooth" | |
2004 | p.Name = "Sharingan" | |
2005 | p.Shape = "Ball" | |
2006 | p.CFrame = Torso.CFrame | |
2007 | p.BrickColor = BrickColor.new("Really black") | |
2008 | local O = Instance.new("Part",model) | |
2009 | O.Anchored = true | |
2010 | O.CanCollide = false | |
2011 | O.Transparency = 0 | |
2012 | O.Reflectance = 0.3 | |
2013 | O.formFactor = "Symmetric" | |
2014 | O.Size = Vector3.new(0, 0, 0) | |
2015 | O.TopSurface = "Smooth" | |
2016 | O.BottomSurface = "Smooth" | |
2017 | O.Name = "Sharingan" | |
2018 | O.Shape = "Ball" | |
2019 | O.CFrame = Torso.CFrame | |
2020 | O.BrickColor = BrickColor.new("Lime green") | |
2021 | local Mesh = Instance.new("SpecialMesh") | |
2022 | Mesh.Parent = O | |
2023 | Mesh.MeshType = "FileMesh" | |
2024 | Mesh.Scale = Vector3.new(1.3, 1.3, 1.3) | |
2025 | Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2026 | Mesh.TextureId = "" | |
2027 | for i = 1,10 do | |
2028 | p.Size = p.Size + Vector3.new(3,3,3) | |
2029 | p.CFrame = Torso.CFrame | |
2030 | p.Transparency = p.Transparency + 0.1 | |
2031 | O.Transparency = O.Transparency + 0.1 | |
2032 | Mesh.Scale = Mesh.Scale + Vector3.new(4, 4, 4) | |
2033 | wait() | |
2034 | end | |
2035 | p:remove() | |
2036 | O:remove() | |
2037 | end | |
2038 | function onTouched(Taco) | |
2039 | if Taco.Parent.Name ~= pwn.Name and Taco.Parent.Parent.Name ~= pwn.Name then | |
2040 | if Taco.Parent.className == "Model" or Taco.Parent.Parent.className == "Model" then | |
2041 | for k,f in pairs(Taco.Parent:children()) do | |
2042 | if f.className == "Part" then | |
2043 | f.Anchored = false | |
2044 | coroutine.resume(coroutine.create(function() | |
2045 | f.Velocity = (Head.Position - f.Position).unit * -150 | |
2046 | wait(0.4) | |
2047 | f.Veclovity = Vector3.new(0,0,0) | |
2048 | end)) | |
2049 | elseif f.className == "ForceField" then | |
2050 | f:remove() | |
2051 | elseif f.className == "Hat" then | |
2052 | f:remove() | |
2053 | end | |
2054 | end | |
2055 | end | |
2056 | end | |
2057 | end | |
2058 | function shock() | |
2059 | local wowz = Instance.new("Part",workspace) | |
2060 | wowz.Anchored = true | |
2061 | wowz.CanCollide = false | |
2062 | wowz.Reflectance = 0.32 | |
2063 | wowz.formFactor = "Custom" | |
2064 | wowz.Size = Vector3.new(0.2,0.2,0.2) | |
2065 | wowz.TopSurface = "Smooth" | |
2066 | wowz.Transparency = 0 | |
2067 | wowz.BottomSurface = "Smooth" | |
2068 | wowz.CFrame = Torso.CFrame * CFrame.new(0,0,0) | |
2069 | wowz.BrickColor = BrickColor.new("Really black") | |
2070 | local Mesh2 = Instance.new("SpecialMesh",wow) | |
2071 | Mesh2.MeshType = "FileMesh" | |
2072 | Mesh2.Scale = Vector3.new(6,0.5,6) | |
2073 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2074 | Mesh2.TextureId = "" | |
2075 | for i = 1,30 do | |
2076 | wowz.CFrame = Torso.CFrame * CFrame.new(0,-2.5,0) | |
2077 | wait() | |
2078 | wowz.CFrame = wow.CFrame * CFrame.fromEulerAnglesXYZ(0,6,0) | |
2079 | wowz.BrickColor = BrickColor.Random() | |
2080 | end | |
2081 | wowz:remove() | |
2082 | end | |
2083 | function spinmesh() | |
2084 | local wowz = Instance.new("Part",char) | |
2085 | wowz.Anchored = true | |
2086 | wowz.CanCollide = false | |
2087 | wowz.Reflectance = 0.32 | |
2088 | wowz.Shape = "Ball" | |
2089 | wowz.Transparency = 0 | |
2090 | wowz.formFactor = "Custom" | |
2091 | wowz.Size = Vector3.new(9,9,9) | |
2092 | wowz.TopSurface = "Smooth" | |
2093 | wowz.BottomSurface = "Smooth" | |
2094 | wowz.CFrame = Torso.CFrame | |
2095 | wowz.BrickColor = BrickColor.new("Really black") | |
2096 | wait(3) | |
2097 | wowz:remove() | |
2098 | end | |
2099 | meshInsertion = coroutine.create(spinmesh) | |
2100 | core = coroutine.create(shock) | |
2101 | Tewl.Name = Nim | |
2102 | Tewl.Selected:connect(lul) |