Advertisement
Otsakuseed

Wings

Sep 10th, 2019
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.89 KB | None | 0 0
  1. --[[
  2. ______________________________________________________________________
  3.  
  4. STARGLITCHER BY Lunnekoo/NoobyGames12
  5. CONVERTED TO OUTFIT BY Chir_no (AKA MikeSchmidt90)
  6. ______________________________________________________________________
  7. ]]--
  8. plr = owner -- change it to `script.Parent.Parent` if u parent it to PlayerGui and if it also run from module
  9. wait()
  10. char = plr.Character
  11. hum = char:FindFirstChildOfClass"Humanoid"
  12. h = char.Head
  13. root = char.HumanoidRootPart
  14. hed = char.Head
  15. local tors
  16. local larm
  17. local rarm
  18.  
  19. if hum.RigType == Enum.HumanoidRigType.R6 then
  20. tors = char.Torso
  21. larm = char['Left Arm']
  22. rarm = char['Right Arm']
  23. else
  24. tors = char.UpperTorso
  25. larm = char.LeftLowerArm
  26. rarm = char.RightLowerArm
  27. end
  28.  
  29. local halocolor = BrickColor.new("Pastel light blue")
  30. local halocolor2 = BrickColor.new("Cool yellow")
  31. local starcolor = BrickColor.new("Bright yellow")
  32. local lunacolor = BrickColor.new("Navy blue")
  33. local lunacolor2 = BrickColor.new("Bright blue")
  34. local wepcolor = BrickColor.new("Really black")
  35. local maincolor = BrickColor.new("Really black")
  36.  
  37. showextrawings = false
  38. WingColor = BrickColor.new("Really red")
  39.  
  40. local Create = LoadLibrary("RbxUtility").Create
  41.  
  42. CFuncs = {
  43. ["Part"] = {
  44. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  45. local Part = Create("Part"){
  46. Parent = Parent,
  47. Reflectance = Reflectance,
  48. Transparency = Transparency,
  49. CanCollide = false,
  50. Locked = true,
  51. BrickColor = BrickColor.new(tostring(BColor)),
  52. Name = Name,
  53. Size = Size,
  54. Material = Material,
  55. }
  56. RemoveOutlines(Part)
  57. return Part
  58. end;
  59. };
  60.  
  61. ["Mesh"] = {
  62. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  63. local Msh = Create(Mesh){
  64. Parent = Part,
  65. Offset = OffSet,
  66. Scale = Scale,
  67. }
  68. if Mesh == "SpecialMesh" then
  69. Msh.MeshType = MeshType
  70. Msh.MeshId = MeshId
  71. end
  72. return Msh
  73. end;
  74. };
  75.  
  76. ["Mesh"] = {
  77. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  78. local Msh = Create(Mesh){
  79. Parent = Part,
  80. Offset = OffSet,
  81. Scale = Scale,
  82. }
  83. if Mesh == "SpecialMesh" then
  84. Msh.MeshType = MeshType
  85. Msh.MeshId = MeshId
  86. end
  87. return Msh
  88. end;
  89. };
  90.  
  91. ["Weld"] = {
  92. Create = function(Parent, Part0, Part1, C0, C1)
  93. local Weld = Create("Weld"){
  94. Parent = Parent,
  95. Part0 = Part0,
  96. Part1 = Part1,
  97. C0 = C0,
  98. C1 = C1,
  99. }
  100. return Weld
  101. end;
  102. };
  103.  
  104. ["Sound"] = {
  105. Create = function(id, par, vol, pit)
  106. coroutine.resume(coroutine.create(function()
  107. local S = Create("Sound"){
  108. Volume = vol,
  109. Name = "EffectSoundo",
  110. Pitch = pit or 1,
  111. SoundId = id,
  112. Parent = par or workspace,
  113. }
  114. wait()
  115. S:play()
  116. game:GetService("Debris"):AddItem(S, 10)
  117. end))
  118. end;
  119. };
  120.  
  121. ["LongSound"] = {
  122. Create = function(id, par, vol, pit)
  123. coroutine.resume(coroutine.create(function()
  124. local S = Create("Sound"){
  125. Volume = vol,
  126. Pitch = pit or 1,
  127. SoundId = id,
  128. Parent = par or workspace,
  129. }
  130. wait()
  131. S:play()
  132. game:GetService("Debris"):AddItem(S, 30)
  133. end))
  134. end;
  135. };
  136.  
  137. ["ParticleEmitter"] = {
  138. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  139. local fp = Create("ParticleEmitter"){
  140. Parent = Parent,
  141. Color = ColorSequence.new(Color1, Color2),
  142. LightEmission = LightEmission,
  143. Size = Size,
  144. Texture = Texture,
  145. Transparency = Transparency,
  146. ZOffset = ZOffset,
  147. Acceleration = Accel,
  148. Drag = Drag,
  149. LockedToPart = LockedToPart,
  150. VelocityInheritance = VelocityInheritance,
  151. EmissionDirection = EmissionDirection,
  152. Enabled = Enabled,
  153. Lifetime = LifeTime,
  154. Rate = Rate,
  155. Rotation = Rotation,
  156. RotSpeed = RotSpeed,
  157. Speed = Speed,
  158. VelocitySpread = VelocitySpread,
  159. }
  160. return fp
  161. end;
  162. };
  163.  
  164. CreateTemplate = {
  165.  
  166. };
  167. }
  168.  
  169.  
  170.  
  171. New = function(Object, Parent, Name, Data)
  172. local Object = Instance.new(Object)
  173. for Index, Value in pairs(Data or {}) do
  174. Object[Index] = Value
  175. end
  176. Object.Parent = Parent
  177. Object.Name = Name
  178. return Object
  179. end
  180.  
  181. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  182. local p = Instance.new("Part")
  183. p.TopSurface = 0
  184. p.BottomSurface = 0
  185. p.Parent = parent
  186. p.Size = Vector3.new(0.1,0.1,0.1)
  187. p.Transparency = transparency
  188. p.Reflectance = reflectance
  189. p.CanCollide = false
  190. p.Locked = true
  191. p.BrickColor = brickcolor
  192. p.Material = material
  193. return p
  194. end
  195.  
  196. function CreateMesh(parent,meshtype,x1,y1,z1)
  197. local mesh = Instance.new("SpecialMesh",parent)
  198. mesh.MeshType = meshtype
  199. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  200. return mesh
  201. end
  202.  
  203. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  204. local mesh = Instance.new("SpecialMesh",parent)
  205. mesh.MeshType = "FileMesh"
  206. mesh.MeshId = meshid
  207. mesh.Scale = Vector3.new(x1,y1,z1)
  208. return mesh
  209. end
  210.  
  211.  
  212. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  213. local mesh = Instance.new("SpecialMesh",parent)
  214. mesh.MeshType = "FileMesh"
  215. mesh.MeshId = meshid
  216. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  217. mesh.Scale = Vector3.new(x1,y1,z1)
  218. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  219. return mesh
  220. end
  221.  
  222. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  223. local weld = Instance.new("Weld")
  224. weld.Parent = parent
  225. weld.Part0 = part0
  226. weld.Part1 = part1
  227. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  228. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  229. return weld
  230. end
  231.  
  232. function createchar()
  233. local m = Instance.new("Model",char)
  234. local m2 = Instance.new("Model",char)
  235. local m3 = Instance.new("Model",char)
  236. local mw1 = Instance.new("Model",char)
  237. local mw2 = Instance.new("Model",char)
  238.  
  239. local extrawingmod1 = Instance.new("Model",char)
  240. local extrawingmod2 = Instance.new("Model",char)
  241.  
  242. local handle = CreateParta(m,1,1,"Neon",maincolor)
  243. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  244. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  245.  
  246. --------------
  247.  
  248. --- Left wing.
  249.  
  250. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  251. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  252.  
  253. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  254. CreateMesh(wed,"Wedge",0.05,5,0.25)
  255. CreateWeld(wed,lwing1,wed,0,-4,0.125,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  256. A0 = Instance.new("Attachment", wed)
  257. A0.Position = Vector3.new(0,2.5,0.125)
  258. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  259. CreateMesh(wed,"Wedge",0.05,5,0.25)
  260. CreateWeld(wed,lwing1,wed,0,-4,0.125,math.rad(0),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  261. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  262. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  263. CreateWeld(wed,lwing1,wed,0,1.25,0.125,math.rad(180),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  264. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  265. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  266. CreateWeld(wed,lwing1,wed,0,1.25,0.125,math.rad(180),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  267. A1 = Instance.new("Attachment", wed)
  268. A1.Position = Vector3.new(0,-0.25,0.125)
  269.  
  270. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  271. CreateMesh(wed,"Wedge",0.25,0.25,1)
  272. CreateWeld(wed,lwing1,wed,0,-1,0.825,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  273. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  274. CreateMesh(wed,"Wedge",0.25,0.25,1)
  275. CreateWeld(wed,lwing1,wed,0,0.75,0.825,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  276. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  277. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  278. CreateWeld(wed,lwing1,wed,0,0.75,-0.2,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  279. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  280. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  281. CreateWeld(wed,lwing1,wed,0,-1,-0.2,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  282.  
  283. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  284. CreateMesh(wed,"Wedge",0.25,0.25,1)
  285. CreateWeld(wed,lwing1,wed,0,-1,0.825,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  286. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  287. CreateMesh(wed,"Wedge",0.25,0.25,1)
  288. CreateWeld(wed,lwing1,wed,0,0.75,0.825,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  289. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  290. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  291. CreateWeld(wed,lwing1,wed,0,0.75,-0.2,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  292. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  293. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  294. CreateWeld(wed,lwing1,wed,0,-1,-0.2,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  295.  
  296. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  297. CreateMesh(wed,"Brick",0.2,1,0.2)
  298. CreateWeld(wed,lwing1,wed,0,0,0,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  299. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  300. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  301. CreateWeld(wed,lwing1,wed,0,-0.6,0.05,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  302. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  303. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  304. CreateWeld(wed,lwing1,wed,0,-0.6,0.05,math.rad(270),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  305. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  306. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  307. CreateWeld(wed,lwing1,wed,0,-0.6,0.05,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  308. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  309. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  310. CreateWeld(wed,lwing1,wed,0,-0.6,0.05,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  311.  
  312. tl1 = Instance.new('Trail',wed)
  313. tl1.Attachment0 = A0
  314. tl1.Attachment1 = A1
  315. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  316. tl1.LightEmission = 1
  317. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  318. tl1.Color = ColorSequence.new(WingColor.Color)
  319. tl1.Lifetime = 0.6
  320.  
  321.  
  322. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  323. local lwing2weld = CreateWeld(lwing2,handle,lwing2,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  324.  
  325. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  326. CreateMesh(wed,"Wedge",0.05,5,0.25)
  327. CreateWeld(wed,lwing2,wed,0,-4,0.125,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  328. A0 = Instance.new("Attachment", wed)
  329. A0.Position = Vector3.new(0,2.5,0.125)
  330. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  331. CreateMesh(wed,"Wedge",0.05,5,0.25)
  332. CreateWeld(wed,lwing2,wed,0,-4,0.125,math.rad(0),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  333. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  334. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  335. CreateWeld(wed,lwing2,wed,0,1.25,0.125,math.rad(180),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  336. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  337. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  338. CreateWeld(wed,lwing2,wed,0,1.25,0.125,math.rad(180),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  339. A1 = Instance.new("Attachment", wed)
  340. A1.Position = Vector3.new(0,-0.25,0.125)
  341.  
  342. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  343. CreateMesh(wed,"Wedge",0.25,0.25,1)
  344. CreateWeld(wed,lwing2,wed,0,-1,0.825,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  345. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  346. CreateMesh(wed,"Wedge",0.25,0.25,1)
  347. CreateWeld(wed,lwing2,wed,0,0.75,0.825,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  348. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  349. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  350. CreateWeld(wed,lwing2,wed,0,0.75,-0.2,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  351. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  352. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  353. CreateWeld(wed,lwing2,wed,0,-1,-0.2,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  354.  
  355. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  356. CreateMesh(wed,"Wedge",0.25,0.25,1)
  357. CreateWeld(wed,lwing2,wed,0,-1,0.825,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  358. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  359. CreateMesh(wed,"Wedge",0.25,0.25,1)
  360. CreateWeld(wed,lwing2,wed,0,0.75,0.825,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  361. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  362. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  363. CreateWeld(wed,lwing2,wed,0,0.75,-0.2,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  364. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  365. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  366. CreateWeld(wed,lwing2,wed,0,-1,-0.2,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  367.  
  368. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  369. CreateMesh(wed,"Brick",0.2,1,0.2)
  370. CreateWeld(wed,lwing2,wed,0,0,0,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  371. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  372. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  373. CreateWeld(wed,lwing2,wed,0,-0.6,0.05,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  374. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  375. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  376. CreateWeld(wed,lwing2,wed,0,-0.6,0.05,math.rad(270),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  377. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  378. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  379. CreateWeld(wed,lwing2,wed,0,-0.6,0.05,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  380. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  381. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  382. CreateWeld(wed,lwing2,wed,0,-0.6,0.05,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  383.  
  384. tl2 = Instance.new('Trail',wed)
  385. tl2.Attachment0 = A0
  386. tl2.Attachment1 = A1
  387. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  388. tl2.LightEmission = 1
  389. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  390. tl2.Color = ColorSequence.new(WingColor.Color)
  391. tl2.Lifetime = 0.6
  392.  
  393. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  394. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  395. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  396.  
  397. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  398. CreateMesh(wed,"Wedge",0.05,5,0.25)
  399. CreateWeld(wed,lwing3,wed,0,-4,0.125,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  400. A0 = Instance.new("Attachment", wed)
  401. A0.Position = Vector3.new(0,2.5,0.125)
  402. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  403. CreateMesh(wed,"Wedge",0.05,5,0.25)
  404. CreateWeld(wed,lwing3,wed,0,-4,0.125,math.rad(0),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  405. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  406. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  407. CreateWeld(wed,lwing2,wed,0,1.25,0.125,math.rad(180),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  408. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  409. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  410. CreateWeld(wed,lwing3,wed,0,1.25,0.125,math.rad(180),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  411. A1 = Instance.new("Attachment", wed)
  412. A1.Position = Vector3.new(0,-0.25,0.125)
  413.  
  414. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  415. CreateMesh(wed,"Wedge",0.25,0.25,1)
  416. CreateWeld(wed,lwing3,wed,0,-1,0.825,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  417. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  418. CreateMesh(wed,"Wedge",0.25,0.25,1)
  419. CreateWeld(wed,lwing3,wed,0,0.75,0.825,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  420. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  421. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  422. CreateWeld(wed,lwing3,wed,0,0.75,-0.2,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  423. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  424. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  425. CreateWeld(wed,lwing3,wed,0,-1,-0.2,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  426.  
  427. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  428. CreateMesh(wed,"Wedge",0.25,0.25,1)
  429. CreateWeld(wed,lwing3,wed,0,-1,0.825,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  430. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  431. CreateMesh(wed,"Wedge",0.25,0.25,1)
  432. CreateWeld(wed,lwing3,wed,0,0.75,0.825,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  433. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  434. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  435. CreateWeld(wed,lwing3,wed,0,0.75,-0.2,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  436. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  437. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  438. CreateWeld(wed,lwing3,wed,0,-1,-0.2,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  439.  
  440. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  441. CreateMesh(wed,"Brick",0.2,1,0.2)
  442. CreateWeld(wed,lwing3,wed,0,0,0,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  443. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  444. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  445. CreateWeld(wed,lwing3,wed,0,-0.6,0.05,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  446. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  447. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  448. CreateWeld(wed,lwing3,wed,0,-0.6,0.05,math.rad(270),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  449. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  450. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  451. CreateWeld(wed,lwing3,wed,0,-0.6,0.05,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  452. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  453. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  454. CreateWeld(wed,lwing3,wed,0,-0.6,0.05,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  455.  
  456. tl3 = Instance.new('Trail',wed)
  457. tl3.Attachment0 = A0
  458. tl3.Attachment1 = A1
  459. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  460. tl3.LightEmission = 1
  461. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  462. tl3.Color = ColorSequence.new(WingColor.Color)
  463. tl3.Lifetime = 0.6
  464.  
  465. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  466. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  467. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  468.  
  469. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  470. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  471. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  472. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  473. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  474. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  475. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  476. CreateMesh(wed,"Wedge",0.05,0.5,3)
  477. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  478. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  479. CreateMesh(wed,"Wedge",0.05,3,0.5)
  480. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  481.  
  482. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  483. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  484. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  485.  
  486. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  487. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  488. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  489. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  490. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  491. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  492. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  493. CreateMesh(wed,"Wedge",0.05,0.5,3)
  494. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  495. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  496. CreateMesh(wed,"Wedge",0.05,3,0.5)
  497. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  498.  
  499. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  500. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  501. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  502.  
  503. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  504. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  505. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  506. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  507. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  508. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  509. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  510. CreateMesh(wed,"Wedge",0.05,0.5,3)
  511. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  512. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  513. CreateMesh(wed,"Wedge",0.05,3,0.5)
  514. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  515.  
  516. -- Right wing.
  517.  
  518. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  519. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  520. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(-5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  521.  
  522. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  523. CreateMesh(wed,"Wedge",0.05,5,0.25)
  524. CreateWeld(wed,rwing1,wed,0,-4,0.125,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  525. A0 = Instance.new("Attachment", wed)
  526. A0.Position = Vector3.new(0,2.5,0.125)
  527. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  528. CreateMesh(wed,"Wedge",0.05,5,0.25)
  529. CreateWeld(wed,rwing1,wed,0,-4,0.125,math.rad(0),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  530. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  531. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  532. CreateWeld(wed,rwing1,wed,0,1.25,0.125,math.rad(180),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  533. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  534. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  535. CreateWeld(wed,rwing1,wed,0,1.25,0.125,math.rad(180),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  536. A1 = Instance.new("Attachment", wed)
  537. A1.Position = Vector3.new(0,-0.25,0.125)
  538.  
  539. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  540. CreateMesh(wed,"Wedge",0.25,0.25,1)
  541. CreateWeld(wed,rwing1,wed,0,-1,0.825,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  542. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  543. CreateMesh(wed,"Wedge",0.25,0.25,1)
  544. CreateWeld(wed,rwing1,wed,0,0.75,0.825,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  545. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  546. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  547. CreateWeld(wed,rwing1,wed,0,0.75,-0.2,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  548. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  549. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  550. CreateWeld(wed,rwing1,wed,0,-1,-0.2,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  551.  
  552. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  553. CreateMesh(wed,"Wedge",0.25,0.25,1)
  554. CreateWeld(wed,rwing1,wed,0,-1,0.825,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  555. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  556. CreateMesh(wed,"Wedge",0.25,0.25,1)
  557. CreateWeld(wed,rwing1,wed,0,0.75,0.825,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  558. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  559. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  560. CreateWeld(wed,rwing1,wed,0,0.75,-0.2,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  561. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  562. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  563. CreateWeld(wed,rwing1,wed,0,-1,-0.2,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  564.  
  565. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  566. CreateMesh(wed,"Brick",0.2,1,0.2)
  567. CreateWeld(wed,rwing1,wed,0,0,0,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  568. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  569. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  570. CreateWeld(wed,rwing1,wed,0,-0.6,0.05,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  571. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  572. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  573. CreateWeld(wed,rwing1,wed,0,-0.6,0.05,math.rad(270),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  574. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  575. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  576. CreateWeld(wed,rwing1,wed,0,-0.6,0.05,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  577. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  578. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  579. CreateWeld(wed,rwing1,wed,0,-0.6,0.05,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  580.  
  581. tr1 = Instance.new('Trail',wed)
  582. tr1.Attachment0 = A0
  583. tr1.Attachment1 = A1
  584. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  585. tr1.LightEmission = 1
  586. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  587. tr1.Color = ColorSequence.new(WingColor.Color)
  588. tr1.Lifetime = 0.6
  589.  
  590. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  591. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  592. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,-1,0,math.rad(-10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  593.  
  594. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  595. CreateMesh(wed,"Wedge",0.05,5,0.25)
  596. CreateWeld(wed,rwing2,wed,0,-4,0.125,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  597. A0 = Instance.new("Attachment", wed)
  598. A0.Position = Vector3.new(0,2.5,0.125)
  599. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  600. CreateMesh(wed,"Wedge",0.05,5,0.25)
  601. CreateWeld(wed,rwing2,wed,0,-4,0.125,math.rad(0),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  602. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  603. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  604. CreateWeld(wed,rwing2,wed,0,1.25,0.125,math.rad(180),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  605. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  606. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  607. CreateWeld(wed,rwing2,wed,0,1.25,0.125,math.rad(180),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  608. A1 = Instance.new("Attachment", wed)
  609. A1.Position = Vector3.new(0,-0.25,0.125)
  610.  
  611. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  612. CreateMesh(wed,"Wedge",0.25,0.25,1)
  613. CreateWeld(wed,rwing2,wed,0,-1,0.825,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  614. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  615. CreateMesh(wed,"Wedge",0.25,0.25,1)
  616. CreateWeld(wed,rwing2,wed,0,0.75,0.825,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  617. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  618. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  619. CreateWeld(wed,rwing2,wed,0,0.75,-0.2,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  620. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  621. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  622. CreateWeld(wed,rwing2,wed,0,-1,-0.2,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  623.  
  624. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  625. CreateMesh(wed,"Wedge",0.25,0.25,1)
  626. CreateWeld(wed,rwing2,wed,0,-1,0.825,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  627. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  628. CreateMesh(wed,"Wedge",0.25,0.25,1)
  629. CreateWeld(wed,rwing2,wed,0,0.75,0.825,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  630. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  631. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  632. CreateWeld(wed,rwing2,wed,0,0.75,-0.2,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  633. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  634. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  635. CreateWeld(wed,rwing2,wed,0,-1,-0.2,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  636.  
  637. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  638. CreateMesh(wed,"Brick",0.2,1,0.2)
  639. CreateWeld(wed,rwing2,wed,0,0,0,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  640. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  641. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  642. CreateWeld(wed,rwing2,wed,0,-0.6,0.05,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  643. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  644. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  645. CreateWeld(wed,rwing2,wed,0,-0.6,0.05,math.rad(270),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  646. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  647. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  648. CreateWeld(wed,rwing2,wed,0,-0.6,0.05,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  649. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  650. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  651. CreateWeld(wed,rwing2,wed,0,-0.6,0.05,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  652.  
  653. tr2 = Instance.new('Trail',wed)
  654. tr2.Attachment0 = A0
  655. tr2.Attachment1 = A1
  656. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  657. tr2.LightEmission = 1
  658. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  659. tr2.Color = ColorSequence.new(WingColor.Color)
  660. tr2.Lifetime = 0.6
  661.  
  662. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  663. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  664. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,-2,0,math.rad(-15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  665.  
  666. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  667. CreateMesh(wed,"Wedge",0.05,5,0.25)
  668. CreateWeld(wed,rwing3,wed,0,-4,0.125,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  669. A0 = Instance.new("Attachment", wed)
  670. A0.Position = Vector3.new(0,2.5,0.125)
  671. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  672. CreateMesh(wed,"Wedge",0.05,5,0.25)
  673. CreateWeld(wed,rwing3,wed,0,-4,0.125,math.rad(0),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  674. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  675. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  676. CreateWeld(wed,rwing3,wed,0,1.25,0.125,math.rad(180),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  677. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  678. CreateMesh(wed,"Wedge",0.05,0.5,0.25)
  679. CreateWeld(wed,rwing3,wed,0,1.25,0.125,math.rad(180),math.rad(-90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  680. A1 = Instance.new("Attachment", wed)
  681. A1.Position = Vector3.new(0,-0.25,0.125)
  682.  
  683. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  684. CreateMesh(wed,"Wedge",0.25,0.25,1)
  685. CreateWeld(wed,rwing3,wed,0,-1,0.825,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  686. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  687. CreateMesh(wed,"Wedge",0.25,0.25,1)
  688. CreateWeld(wed,rwing3,wed,0,0.75,0.825,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  689. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  690. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  691. CreateWeld(wed,rwing3,wed,0,0.75,-0.2,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  692. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  693. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  694. CreateWeld(wed,rwing3,wed,0,-1,-0.2,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  695.  
  696. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  697. CreateMesh(wed,"Wedge",0.25,0.25,1)
  698. CreateWeld(wed,rwing3,wed,0,-1,0.825,math.rad(90),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  699. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  700. CreateMesh(wed,"Wedge",0.25,0.25,1)
  701. CreateWeld(wed,rwing3,wed,0,0.75,0.825,math.rad(90),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  702. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  703. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  704. CreateWeld(wed,rwing3,wed,0,0.75,-0.2,math.rad(270),math.rad(-90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  705. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  706. CreateMesh(wed,"Wedge",0.25,0.25,0.25)
  707. CreateWeld(wed,rwing3,wed,0,-1,-0.2,math.rad(270),math.rad(90),math.rad(180),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  708.  
  709. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  710. CreateMesh(wed,"Brick",0.2,1,0.2)
  711. CreateWeld(wed,rwing3,wed,0,0,0,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  712. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  713. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  714. CreateWeld(wed,rwing3,wed,0,-0.6,0.05,math.rad(270),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  715. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  716. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  717. CreateWeld(wed,rwing3,wed,0,-0.6,0.05,math.rad(270),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  718. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  719. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  720. CreateWeld(wed,rwing3,wed,0,-0.6,0.05,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  721. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  722. CreateMesh(wed,"Wedge",0.2,0.2,0.1)
  723. CreateWeld(wed,rwing3,wed,0,-0.6,0.05,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  724.  
  725. tr3 = Instance.new('Trail',wed)
  726. tr3.Attachment0 = A0
  727. tr3.Attachment1 = A1
  728. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  729. tr3.LightEmission = 1
  730. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  731. tr3.Color = ColorSequence.new(WingColor.Color)
  732. tr3.Lifetime = 0.6
  733.  
  734.  
  735. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  736. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  737. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  738.  
  739. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  740. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  741. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  742. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  743. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  744. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  745. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  746. CreateMesh(wed,"Wedge",0.05,0.5,3)
  747. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  748. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  749. CreateMesh(wed,"Wedge",0.05,3,0.5)
  750. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  751.  
  752. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  753. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  754. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  755.  
  756. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  758. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  759. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  760. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  761. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  762. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  763. CreateMesh(wed,"Wedge",0.05,0.5,3)
  764. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  765. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  766. CreateMesh(wed,"Wedge",0.05,3,0.5)
  767. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  768.  
  769. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  770. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  771. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  772.  
  773. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  775. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  776. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  777. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  778. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  779. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  780. CreateMesh(wed,"Wedge",0.05,0.5,3)
  781. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  782. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  783. CreateMesh(wed,"Wedge",0.05,3,0.5)
  784. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  785.  
  786. ---- HERES THE RING
  787.  
  788.  
  789. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  790. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  791. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  792. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  793. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  794. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  795. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  796. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  797. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  798.  
  799.  
  800. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  801. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  802. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  803.  
  804. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  805. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  806. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  807.  
  808.  
  809.  
  810. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  811. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  812. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  813.  
  814. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  815. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  816. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  817.  
  818. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  819. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  820. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  821.  
  822. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  823. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  824. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  825. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  826. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  827. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  828.  
  829. --- second ring
  830.  
  831. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  832. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  833. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  834. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  835. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  836. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  837. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  838. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  839. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  840.  
  841. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  842. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  843. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  844.  
  845. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  846. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  847. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  848.  
  849.  
  850.  
  851. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  852. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  853. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  854.  
  855. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  856. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  857. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  858.  
  859. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  860. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  861. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  862.  
  863. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  864. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  865. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  866. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  867. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  868. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  869.  
  870.  
  871.  
  872. for i, v in pairs(m:GetChildren()) do
  873. if v:IsA("Part") then
  874. v.BrickColor = BrickColor.new("Really black")
  875. v.Material = "Glass"
  876. end
  877. end
  878. for i, v in pairs(m2:GetChildren()) do
  879. if v:IsA("Part") then
  880. v.BrickColor = BrickColor.new("Crimson")
  881. v.Material = "Granite"
  882. end
  883. end
  884. for i, v in pairs(m3:GetChildren()) do
  885. if v:IsA("Part") then
  886. v.BrickColor = WingColor
  887. v.Material = "Neon"
  888. end
  889. end
  890. for i, v in pairs(mw2:GetChildren()) do
  891. if v:IsA("Part") then
  892. v.BrickColor = WingColor
  893. v.Material = "Neon"
  894. end
  895. end
  896. for i, v in pairs(mw1:GetChildren()) do
  897. if v:IsA("Part") then
  898. v.Transparency = 0
  899. v.BrickColor = WingColor
  900. v.Material = "Neon"
  901. end
  902. end
  903. for i, v in pairs(extrawingmod1:GetChildren()) do
  904. if v:IsA("Part") then
  905. v.Transparency = 1
  906. v.BrickColor = WingColor
  907. v.Material = "Neon"
  908. end
  909. end
  910. for i, v in pairs(extrawingmod2:GetChildren()) do
  911. if v:IsA("Part") then
  912. v.Transparency = 1
  913. v.BrickColor = WingColor
  914. v.Material = "Neon"
  915. end
  916. end
  917.  
  918. function swait(num)
  919. if num==0 or num==nil then
  920. game:service'RunService'.Stepped:wait(0)
  921. else
  922. for i=0,num do
  923. game:service'RunService'.Stepped:wait(0)
  924. end
  925. end
  926. end
  927.  
  928. it=Instance.new
  929. vt=Vector3.new
  930. cf=CFrame.new
  931. euler=CFrame.fromEulerAnglesXYZ
  932. angles=CFrame.Angles
  933.  
  934. function clerp(a,b,t)
  935. local qa = {QuaternionFromCFrame(a)}
  936. local qb = {QuaternionFromCFrame(b)}
  937. local ax, ay, az = a.x, a.y, a.z
  938. local bx, by, bz = b.x, b.y, b.z
  939. local _t = 1-t
  940. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  941. end
  942.  
  943. function QuaternionFromCFrame(cf)
  944. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  945. local trace = m00 + m11 + m22
  946. if trace > 0 then
  947. local s = math.sqrt(1 + trace)
  948. local recip = 0.5/s
  949. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  950. else
  951. local i = 0
  952. if m11 > m00 then
  953. i = 1
  954. end
  955. if m22 > (i == 0 and m00 or m11) then
  956. i = 2
  957. end
  958. if i == 0 then
  959. local s = math.sqrt(m00-m11-m22+1)
  960. local recip = 0.5/s
  961. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  962. elseif i == 1 then
  963. local s = math.sqrt(m11-m22-m00+1)
  964. local recip = 0.5/s
  965. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  966. elseif i == 2 then
  967. local s = math.sqrt(m22-m00-m11+1)
  968. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  969. end
  970. end
  971. end
  972.  
  973. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  974. local xs, ys, zs = x + x, y + y, z + z
  975. local wx, wy, wz = w*xs, w*ys, w*zs
  976. local xx = x*xs
  977. local xy = x*ys
  978. local xz = x*zs
  979. local yy = y*ys
  980. local yz = y*zs
  981. local zz = z*zs
  982. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  983. end
  984.  
  985. function QuaternionSlerp(a, b, t)
  986. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  987. local startInterp, finishInterp;
  988. if cosTheta >= 0.0001 then
  989. if (1 - cosTheta) > 0.0001 then
  990. local theta = math.acos(cosTheta)
  991. local invSinTheta = 1/math.sin(theta)
  992. startInterp = math.sin((1-t)*theta)*invSinTheta
  993. finishInterp = math.sin(t*theta)*invSinTheta
  994. else
  995. startInterp = 1-t
  996. finishInterp = t
  997. end
  998. else
  999. if (1+cosTheta) > 0.0001 then
  1000. local theta = math.acos(-cosTheta)
  1001. local invSinTheta = 1/math.sin(theta)
  1002. startInterp = math.sin((t-1)*theta)*invSinTheta
  1003. finishInterp = math.sin(t*theta)*invSinTheta
  1004. else
  1005. startInterp = t-1
  1006. finishInterp = t
  1007. end
  1008. end
  1009. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1010. end
  1011.  
  1012. local sine = 0
  1013. local change = 1
  1014.  
  1015. coroutine.resume(coroutine.create(function()
  1016. game:GetService("RunService").Stepped:connect(function()
  1017. coroutine.resume(coroutine.create(function()
  1018. swait()
  1019. for i, v in pairs(m:GetChildren()) do
  1020. if v:IsA("Part") then
  1021. v.BrickColor = BrickColor.new("Really black")
  1022. v.Material = "Glass"
  1023. end
  1024. end
  1025. for i, v in pairs(m2:GetChildren()) do
  1026. if v:IsA("Part") then
  1027. v.BrickColor = BrickColor.new("Crimson")
  1028. v.Material = "Granite"
  1029. end
  1030. end
  1031. for i, v in pairs(m3:GetChildren()) do
  1032. if v:IsA("Part") then
  1033. v.BrickColor = WingColor
  1034. v.Material = "Neon"
  1035. end
  1036. end
  1037. for i, v in pairs(mw2:GetChildren()) do
  1038. if v:IsA("Part") then
  1039. v.BrickColor = WingColor
  1040. v.Material = "Neon"
  1041. end
  1042. end
  1043. for i, v in pairs(mw1:GetChildren()) do
  1044. if v:IsA("Part") then
  1045. v.BrickColor = WingColor
  1046. v.Material = "Neon"
  1047. end
  1048. end
  1049. for i, v in pairs(extrawingmod1:GetChildren()) do
  1050. if v:IsA("Part") then
  1051. v.BrickColor = WingColor
  1052. if showextrawings then
  1053. v.Transparency = 0
  1054. elseif not showextrawings then
  1055. v.Transparency = 1
  1056. end
  1057. v.Material = "Neon"
  1058. end
  1059. end
  1060. for i, v in pairs(extrawingmod2:GetChildren()) do
  1061. if v:IsA("Part") then
  1062. v.BrickColor = WingColor
  1063. if showextrawings then
  1064. v.Transparency = 0
  1065. elseif not showextrawings then
  1066. v.Transparency = 1
  1067. end
  1068. v.Material = "Neon"
  1069. end
  1070. end
  1071. tr1.Color = ColorSequence.new(WingColor.Color)
  1072. tr2.Color = ColorSequence.new(WingColor.Color)
  1073. tr3.Color = ColorSequence.new(WingColor.Color)
  1074. tl1.Color = ColorSequence.new(WingColor.Color)
  1075. tl2.Color = ColorSequence.new(WingColor.Color)
  1076. tl3.Color = ColorSequence.new(WingColor.Color)
  1077. swait(1)
  1078. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  1079. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  1080. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  1081. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  1082. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  1083. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  1084.  
  1085. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  1086. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  1087. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  1088. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  1089. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  1090. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  1091. sine = sine + change
  1092.  
  1093. end))
  1094. end)
  1095. end))
  1096. end
  1097.  
  1098. createchar()
  1099.  
  1100. plr.Chatted:connect(function(msg)
  1101. if msg:sub(3) == "/e " then
  1102. msg = msg:sub(4)
  1103. end
  1104. if msg:sub(1,#"color="):lower() == "color=" then
  1105. local arg = msg:sub(#"color="+1)
  1106. local color = BrickColor.new(arg)
  1107. WingColor = color
  1108. elseif msg:sub(1,#"showexwings="):lower() == "showexwings=" then
  1109. local arg = msg:sub(#"showexwings="+1)
  1110. showextrawings = arg
  1111. end
  1112. end)
  1113.  
  1114. plr.CharacterAdded:connect(function()
  1115. char = plr.Character
  1116. hum = char:FindFirstChildOfClass"Humanoid"
  1117. h = char.Head
  1118. root = char.HumanoidRootPart
  1119. hed = char.Head
  1120.  
  1121. if hum.RigType == Enum.HumanoidRigType.R6 then
  1122. tors = char.Torso
  1123. larm = char['Left Arm']
  1124. rarm = char['Right Arm']
  1125. else
  1126. tors = char.UpperTorso
  1127. larm = char.LeftLowerArm
  1128. rarm = char.RightLowerArm
  1129. end
  1130. createchar()
  1131. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement