Advertisement
ChronoShindo

Ultimate Wing

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