Advertisement
Axtem

Angel Wings

Jun 10th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.25 KB | None | 0 0
  1. Evil={'dlwrock'}
  2. if not (script.Parent:IsA('HopperBin')) then
  3. bin=Instance.new('HopperBin',game.Players.HonorableLegitPwnage.Backpack)
  4. bin.TextureId='http://www.roblox.com/asset/?id=54353092'
  5. bin.Name='AlaFly'
  6. script.Parent=bin
  7. else
  8. bin=script.Parent
  9. end
  10. player=bin.Parent.Parent
  11. debris=game:service('Debris')
  12. new=Instance.new
  13. fnew=CFrame.new
  14. brick=BrickColor.new
  15. vnew=Vector3.new
  16. rot=CFrame.fromEulerAnglesXYZ
  17. if script.className~='LocalScript'then
  18. bin:remove()
  19. end
  20. T=new('Sound')
  21. T.SoundId='rbxassetid://2101157'
  22. T.Pitch=.4
  23. motors={
  24. right={},
  25. left={},
  26. mains={}
  27. }
  28. X=function(f)coroutine.resume(coroutine.create(f))end
  29. life=function(obj,time)debris:AddItem(obj,time)end
  30. local bv,bg,torso,Lmotor,Rmotor,head
  31. fly=250
  32. findt=function()
  33. for i,v in pairs(player.Character:children())do
  34. if v.Name=='Torso'then
  35. return v
  36. end
  37. end
  38. end
  39. wing=function()
  40. torso=player.Character.Torso
  41. for i,v in pairs(torso.Parent:children())do
  42. if v.Name=='WingMain'then
  43. v:remove()
  44. end
  45. end
  46. mainwingpart=new('WedgePart')
  47. mainwingpart.Name='WingMain'
  48. mainwingpart.CanCollide=false
  49. mainwingpart.Size=vnew(1,1,1)
  50. mainwingpart.Transparency=1
  51. mainwingpart.BrickColor=BrickColor.White()
  52. mainwingpart.Parent=player.Character
  53. weld=new('Weld',torso)
  54. weld.Part0=weld.Parent
  55. weld.Part1=mainwingpart
  56. weld.C0=fnew(0,.4,0)
  57. WingRight=new('WedgePart')
  58. WingRight.formFactor=3
  59. WingRight.Size=vnew(.04,.3,.5)
  60. WingRight.CanCollide=false
  61. WingRight.BrickColor=BrickColor.White()
  62. WingRight.Parent=mainwingpart
  63. Rmotor=new('Motor',mainwingpart)
  64. Rmotor.Part0=Rmotor.Parent
  65. Rmotor.Part1=WingRight
  66. Rmotor.C1=rot(0,math.pi/1.5,0)+vnew(-.18,-.10,.8)
  67. nextpp=nil
  68. dan=-2
  69. for w=1,15 do
  70. wait()
  71. dan=dan+1
  72. pp=new('WedgePart')
  73. pp.Locked=true
  74. pp.BrickColor=BrickColor.White()
  75. pp.formFactor=3
  76. if w==1 then
  77. pp.Size=vnew(.3,2.5,.8)
  78. else
  79. pp.Size=vnew(.3,1/(w/5),2/w)
  80. end
  81. pp.CanCollide=false
  82. pp.BrickColor=BrickColor.White()
  83. pp.CFrame=WingRight.CFrame
  84. pp.Material='Slate'
  85. pp.Parent=WingRight
  86. if dan==1 then
  87. dan=0
  88. asdlal=new('WedgePart')
  89. asdlal.BrickColor=BrickColor.White()
  90. asdlal.formFactor=3
  91. asdlal.Size=vnew(.25,pp.Size.y,15/w)
  92. for lawlz,Evil in pairs(Evil)do
  93. if player.Name==Evil then
  94. asdlal:remove()
  95. asdlal=new('WedgePart')
  96. asdlal.formFactor=3
  97. asdlal.BrickColor=BrickColor.White()
  98. asdlal.Size=vnew(.25,.8,15/w)
  99. end
  100. end
  101. asdlal.Locked=true
  102. asdlal.CanCollide=false
  103. asdlal.Material='Slate'
  104. asdlal.Parent=pp
  105. mmm=new('Motor',pp)
  106. mmm.Part0=pp
  107. mmm.Part1=asdlal
  108. mmm.C0=fnew(0,0,-asdlal.Size.z/2)
  109. end
  110. if w==1 then
  111. ppmotor=new('Motor',WingRight)
  112. else
  113. ppmotor=new('Motor',nextpp)
  114. end
  115. table.insert(motors.right,ppmotor)
  116. ppmotor.Part0=ppmotor.Parent
  117. ppmotor.Part1=pp
  118. if w==1 then
  119. ppmotor.C0=rot(-.04,-math.pi/6,0)+vnew(.3,0,-.1)
  120. else
  121. ppmotor.C0=rot(-.1/(w/7),-.07,0)+vnew(0,pp.Size.y,0)
  122. end
  123. nextpp=pp
  124. end
  125. WingLeft=new('WedgePart')
  126. WingLeft.formFactor=3
  127. WingLeft.Size=vnew(.04,.3,.5)
  128. WingLeft.CanCollide=false
  129. WingLeft.BrickColor=BrickColor.White()
  130. WingLeft.Parent=mainwingpart
  131. Lmotor=new('Motor',mainwingpart)
  132. Lmotor.Part0=Lmotor.Parent
  133. Lmotor.Part1=WingLeft
  134. Lmotor.C1=rot(0,-math.pi/1.5,0)+vnew(0.18,-.10,.8)
  135. nextpp=nil
  136. dan=-2
  137. for w=1,15 do
  138. wait()
  139. dan=dan+1
  140. pp=new('WedgePart')
  141. pp.Locked=true
  142. pp.BrickColor=BrickColor.White()
  143. pp.formFactor=3
  144. if w==1 then
  145. pp.Size=vnew(.3,2.5,.8)
  146. else
  147. pp.Size=vnew(.3,1/(w/5),2/w)
  148. end
  149. pp.CanCollide=false
  150. pp.BrickColor=BrickColor.White()
  151. pp.CFrame=WingLeft.CFrame
  152. pp.Material='Slate'
  153. pp.Parent=WingLeft
  154. if dan==1 then
  155. dan=0
  156. asdlal=new('WedgePart')
  157. asdlal.BrickColor=BrickColor.White()
  158. asdlal.formFactor=3
  159. asdlal.Size=vnew(.25,pp.Size.y,15/w)
  160. for lawlz,Evil in pairs(Evil)do
  161. if player.Name==Evil then
  162. asdlal:remove()
  163. asdlal=new('WedgePart')
  164. asdlal.formFactor=3
  165. asdlal.BrickColor=BrickColor.White()
  166. asdlal.Size=vnew(.25,.8,15/w)
  167. end
  168. end
  169. asdlal.Locked=true
  170. asdlal.CanCollide=false
  171. asdlal.Material='Slate'
  172. asdlal.Parent=pp
  173. mmm=new('Motor',pp)
  174. mmm.Part0=pp
  175. mmm.Part1=asdlal
  176. mmm.C0=fnew(0,0,-asdlal.Size.z/2)
  177. end
  178. if w==1 then
  179. ppmotor=new('Motor',WingLeft)
  180. else
  181. ppmotor=new('Motor',nextpp)
  182. end
  183. ppmotor.Part0=ppmotor.Parent
  184. table.insert(motors.left,ppmotor)
  185. ppmotor.Part1=pp
  186. if w==1 then
  187. ppmotor.C0=rot(-.04,math.pi/6,0)+vnew(-.3,0,-.1)
  188. else
  189. ppmotor.C0=rot(-.1/(w/7),.07,0)+vnew(0,pp.Size.y,0)
  190. end
  191. nextpp=pp
  192. end
  193. X(function()
  194. for i,v in pairs(motors.right)do
  195. v.C1=rot(.1,0,0)
  196. wait()
  197. end
  198. for i,v in pairs(motors.right)do
  199. v.C1=rot(0,-.1,-.1)
  200. wait()
  201. end
  202. end)
  203. X(function()
  204. for i,v in pairs(motors.left)do
  205. v.C1=rot(.1,0,0)
  206. wait()
  207. end
  208. for i,v in pairs(motors.left)do
  209. v.C1=rot(0,.1,.1)
  210. wait()
  211. end
  212. end)
  213. X(function()
  214. for i,v in pairs(motors.right)do
  215. v.C1=rot(.1,0,0)
  216. wait()
  217. end
  218. for i,v in pairs(motors.right)do
  219. v.C1=rot(0,-.1,0)
  220. wait()
  221. end
  222. end)
  223. X(function()
  224. for i,v in pairs(motors.left)do
  225. v.C1=rot(.1,0,0)
  226. wait()
  227. end
  228. for i,v in pairs(motors.left)do
  229. v.C1=rot(0,.1,0)
  230. wait()
  231. end
  232. end)
  233. Rmotor.MaxVelocity=.1
  234. Lmotor.MaxVelocity=.1
  235. Lmotor.DesiredAngle=.8
  236. Rmotor.DesiredAngle=-.8
  237. end
  238. leftarm=function(bool)
  239. X(function()
  240. newlarm=new('Motor6D')
  241. newlarm.Name='Left Shoulder'
  242. newlarm.Parent=player.Character.Torso
  243. newlarm.Part0=player.Character.Torso
  244. newlarm.Part1=player.Character['Left Arm']
  245. wait()--hmm
  246. newlarm.C0=fnew(-1,.5,0,0,0,-1,0,1,0,1,0,0)
  247. newlarm.C1=fnew(.5,.5,0,0,0,-1,0,1,0,1,0,0)
  248. if bool==false then return newlarm end
  249. an=player.Character.Animate
  250. an.Disabled=true
  251. an.Disabled=false
  252. end)
  253. return newlarm
  254. end
  255. Name=function()
  256. name=''
  257. for LA=1,3 do
  258. name=name..string.char(math.random(0,255))
  259. end
  260. return name
  261. end
  262. Lazer=function(m)wllwlw=false
  263. for i,v in pairs(Evil)do
  264. if v==player.Name then
  265. wllwlw=true break
  266. end
  267. end
  268. if wllwlw==false then return end
  269. if asdTroll~=nil then return end
  270. asdTroll='asd'
  271. rarm=rightarm(false)
  272. rarm.MaxVelocity=.2
  273. rarm.DesiredAngle=math.rad(110)
  274. larm=leftarm(false)
  275. larm.MaxVelocity=.2
  276. larm.DesiredAngle=-math.rad(110)
  277. lball=new('Part')
  278. life(lball,10)
  279. lball.Shape=0
  280. lball.Size=vnew(1,1,1)
  281. lball.CanCollide=false
  282. lball.BottomSurface=0
  283. lball.TopSurface=0
  284. lball.Transparency=.5
  285. lball.BrickColor=BrickColor.White()
  286. for i,v in pairs(Evil)do
  287. if player.Name==v then
  288. lball.BrickColor=BrickColor.White()
  289. end
  290. end
  291. lball.Parent=player.Character
  292. lweld=new('Weld',larm.Part1)
  293. lweld.Part0=lweld.Parent
  294. lweld.Part1=lball
  295. lweld.C0=fnew(0,-4,0)
  296. rball=new('Part')
  297. life(rball,10)
  298. rball.Shape=0
  299. rball.Size=vnew(1,1,1)
  300. rball.Transparency=.5
  301. rball.CanCollide=false
  302. rball.BottomSurface=0
  303. rball.TopSurface=0
  304. rball.BrickColor=BrickColor.White()
  305. for i,v in pairs(Evil)do
  306. if player.Name==v then
  307. rball.BrickColor=BrickColor.White()
  308. end
  309. end
  310. rball.Parent=player.Character
  311. rweld=new('Weld',rarm.Part1)
  312. rweld.Part0=rweld.Parent
  313. rweld.Part1=rball
  314. rweld.C0=fnew(0,-4,0)
  315. X(function()
  316. X(function()
  317. for KG=1,157 do wait()
  318. part=new('Part')
  319. life(part,.2)
  320. part.Transparency=.3
  321. asdrandom=(math.random(5,20)/10)+KG/40
  322. new('BlockMesh',part).Scale=vnew(asdrandom,asdrandom,asdrandom)
  323. part.Size=vnew(1,1,1)
  324. part.Anchored=true
  325. part.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+lball.Position
  326. part.Name='asd'
  327. part.BrickColor=BrickColor.White()
  328. for i,v in pairs(Evil)do
  329. if player.Name==v then
  330. part.BrickColor=BrickColor.White()
  331. end
  332. end
  333. part.Parent=lball
  334. end
  335. end)
  336. for KG2=1,157 do wait()
  337. part=new('Part')
  338. life(part,.2)
  339. part.Transparency=.3
  340. asdrandom=(math.random(5,20)/10)+KG2/40
  341. new('BlockMesh',part).Scale=vnew(asdrandom,asdrandom,asdrandom)
  342. part.Size=vnew(1,1,1)
  343. part.Anchored=true
  344. part.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+rball.Position
  345. part.Name='asd'
  346. part.BrickColor=BrickColor.White()
  347. for i,v in pairs(Evil)do
  348. if player.Name==v then
  349. part.BrickColor=BrickColor.White()
  350. end
  351. end
  352. part.Parent=rball
  353. end
  354. rball:remove()
  355. lball:remove()
  356. rightarm(true)
  357. leftarm(true)
  358. asdTroll=nil
  359. for wasd=1,200 do
  360. if pp~=nil then pp:remove()end
  361. if asdTroll~=nil then return end
  362. pos=m.Hit.p
  363. pp=new('WedgePart')
  364. life(pp,.1)
  365. pp.formFactor=3
  366. pp.BrickColor=BrickColor.White()
  367. pp.Transparency=.2
  368. pp.Size=vnew(6,1000,6)
  369. pp.CFrame=CFrame.new(pos.x,pos.y+(pp.Size.y/2),pos.z)+vnew(math.random(-3,3),0,math.random(-3,3))
  370. exp=Instance.new('Explosion')
  371. exp.Position=pos+vnew(math.random(-3,3),0,math.random(-3,3))
  372. exp.BlastRadius=30
  373. exp.Parent=workspace
  374. Join=new('Part')
  375. Join.formFactor=0
  376. Join.Size=vnew(1,1,1)
  377. new('SpecialMesh',Join).MeshType='Sphere'
  378. Join.Mesh.Scale=vnew(60,60,60)
  379. Join.Anchored=true
  380. Join.BottomSurface=0
  381. Join.TopSurface=0
  382. Join.BrickColor=BrickColor.White()
  383. Join.Transparency=.5
  384. Join.CFrame=rot(0,math.rad(3.6*wasd)*2,0)+pos+vnew(math.random(-3,3),0,math.random(-3,3))
  385. Join.Parent=pp
  386. pJoin=new('Part')
  387. life(pJoin,.4)
  388. new('BlockMesh',pJoin).Scale=vnew(10,10,10)+vnew((wasd/30),(wasd/30),(wasd/30))
  389. pJoin.formFactor=0
  390. pJoin.Size=vnew(1,1,1)
  391. pJoin.Anchored=true
  392. pJoin.BrickColor=BrickColor.White()
  393. pJoin.Transparency=.5
  394. pJoin.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+pos+vnew(math.random(-3,3),0,math.random(-3,3))
  395. pJoin.Parent=workspace
  396. pp.Parent=player.Character
  397. wait()
  398. pp.BrickColor=BrickColor.White()
  399. end
  400. end)
  401. -- rightarm(true)
  402. end
  403. rightarm=function(bool)
  404. if pcall(function()
  405. newrarm=new('Motor6D')
  406. newrarm.Name='Right Shoulder'
  407. newrarm.Parent=player.Character.Torso
  408. newrarm.Part0=player.Character.Torso
  409. newrarm.Part1=player.Character['Right Arm']
  410. newrarm.C0=fnew(1,.5,0,0,0,1,0,1,0,-1,0,0)
  411. newrarm.C1=fnew(-.5,.5,0,0,0,1,0,1,0,-1,0,0)
  412. if bool==false then return newlarm end
  413. pcall(function()
  414. an=player.Character.Animate
  415. an.Disabled=true
  416. an.Disabled=false
  417. end)
  418. end)then
  419. return newrarm
  420. end
  421. end
  422. light=function()
  423. if pcall(function()torso=player.Character.Torso end)then
  424. else
  425. return
  426. end
  427. larm=leftarm(false)
  428. tt=T:clone()
  429. life(tt,0)
  430. tt.Parent=workspace
  431. tt:play()
  432. Pl=new('WedgePart')
  433. life(Pl,20)
  434. Pl.CFrame=torso.CFrame+torso.CFrame.lookVector*6
  435. Pl.Anchored=true
  436. Pl.CanCollide=false
  437. Pl.Parent=workspace
  438. leftarm(true)
  439. end
  440. bodys=function(asd)
  441. for i,v in pairs(torso:children())do
  442. if v:IsA('BodyVelocity')or v:IsA('BodyGyro')then
  443. v:remove()
  444. end
  445. end
  446. if asd==true then return end
  447. bv=new('BodyVelocity')
  448. bg=new('BodyGyro')
  449. bv.maxForce=vnew(math.huge,math.huge,math.huge)
  450. bv.velocity=vnew(0,0,0)
  451. bg.maxTorque=vnew(0,0,0)
  452. bg.Parent=torso
  453. bv.Parent=torso
  454. end
  455. ball=function(asd)
  456. for i,v in pairs(player.Character:children())do
  457. if v.Name=='Fly Ball'then
  458. v:remove()
  459. end
  460. end
  461. if asd==true then return end
  462. part=new('Part')
  463. part.Shape=0
  464. part.BottomSurface=0
  465. part.TopSurface=0
  466. part.Size=torso.Size*5
  467. part.Transparency=.5
  468. part.BrickColor=BrickColor.White()
  469. part.CanCollide=false
  470. part.CFrame=torso.CFrame
  471. part.Name='Fly Ball'
  472. part.Parent=player.Character
  473. weld=new('Weld')
  474. weld.Parent=torso
  475. weld.Part0=weld.Parent
  476. weld.Part1=part
  477. part.Touched:connect(function()
  478. for i=1,5 do
  479. wait()
  480. part.Transparency=.5-i/10
  481. end
  482. part.Transparency=.5
  483. end)
  484. end
  485. script.Parent.Selected:connect(function(m)
  486. torso=player.Character.Torso
  487. bodys(true)
  488. m.KeyDown:connect(function(k)
  489. if k=='q'then
  490. fly=fly-10
  491. if fly<0 then
  492. fly=10
  493. end
  494. elseif k=='r'then
  495. wing()
  496. elseif k=='f'then
  497. Lazer(m)
  498. elseif k=='t'then
  499. X(function()player.Character.WingMain:remove()end)
  500. elseif k=='e'then
  501. fly=fly+10
  502. elseif k=='y'then
  503. MUp=false
  504. bodys(false)
  505. elseif k=='p'then
  506. print'asd'
  507. elseif k=='b'then
  508. fly=150
  509. elseif k=='x'then
  510. X(function()
  511. if m.Target==workspace or m.Target==nil then return end
  512. ko=new('ObjectValue')
  513. game:service('Debris'):AddItem(ko,1)
  514. ko.Value=player
  515. ko.Name='creator'
  516. for i,v in pairs(m.Target.Parent:children())do
  517. if v:IsA('Humanoid')then
  518. ko.Parent=v
  519. v.Torso:BreakJoints()
  520. X(function()
  521. for asd=1,100 do
  522. wait()
  523. part=new('WedgePart')
  524. game:service('Debris'):AddItem(part,.2)
  525. part.formFactor=0
  526. part.Transparency=.3
  527. part.Anchored=true
  528. part.CanCollide=false
  529. part.CFrame=rot(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))+v.Torso.Position
  530. part.Size=vnew(2,2,2)
  531. part.BrickColor=BrickColor.White()
  532. random=math.random(part.Size.x,part.Size.x*2)
  533. new('BlockMesh',part).Scale=vnew(random,random,random)
  534. part.Parent=workspace
  535. end
  536. end)
  537. end
  538. end
  539. end)
  540. end
  541. end)
  542. m.Button1Down:connect(function()
  543. ball(true)
  544. bodys(false)
  545. MUp=false
  546. rightarm(false)
  547. leftarm(false)
  548. bg.maxTorque=Vector3.new(900000,900000,900000)
  549. bg.cframe=fnew(torso.Position,m.hit.p)*rot(math.rad(-60),0,0)
  550. bv.velocity=fnew(torso.Position,m.hit.p).lookVector*fly
  551. end)
  552. m.Move:connect(function()
  553. if MUp==true then return end
  554. torso=player.Character.Torso
  555. X(function()
  556. bg.maxTorque=vnew(math.huge,math.huge,math.huge)
  557. bg.cframe=fnew(torso.Position,m.hit.p)*rot(math.rad(-60),0,0)
  558. bv.velocity=fnew(torso.Position,m.hit.p).lookVector*fly
  559. end)
  560. end)
  561. m.Button1Up:connect(function()
  562. MUp=true
  563. ball(true)
  564. bodys(false)
  565. rightarm(true)
  566. leftarm(true)
  567. bv.maxForce=vnew(10000,10000,10000)
  568. delay(2,function()if MUp==true then bodys(true)end end)
  569. torso.Velocity=vnew(0,0,0)
  570. torso.RotVelocity=vnew(0,0,0)
  571. torso.CFrame=fnew(torso.Position,m.hit.p)*rot(0,0,0)
  572. torso.Velocity=vnew(0,0,0)
  573. torso.RotVelocity=vnew(0,0,0)
  574. end)
  575. end)
  576. bin.Deselected:connect(function()
  577. X(function()
  578. ball(true)
  579. bodys(true)
  580. torso.Velocity=vnew(0,0,0)
  581. torso.RotVelocity=vnew(0,0,0)
  582. end)
  583. end)
  584. function onTouched(part)
  585. local h = part.Parent:findFirstChild("Humanoid")
  586. if h~=nil then
  587. h.Health = 0
  588. end
  589. end
  590. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement