Advertisement
DevR0BLOX

Untitled

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