Advertisement
ezkatka1337

gud

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