Advertisement
Guest User

Untitled

a guest
Jul 25th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.70 KB | None | 0 0
  1. ______________________________________________________________________
  2.  
  3. STARGLITCHER BY Lunnekoo/NoobyGames12
  4. CONVERTED TO OUTFIT BY Chir_no (AKA MikeSchmidt90)
  5. ______________________________________________________________________
  6. ]]--
  7. plr = script.Parent.Parent
  8. wait()
  9. char = plr.Character
  10. hum = char:FindFirstChildOfClass"Humanoid"
  11. h = char.Head
  12. root = char.HumanoidRootPart
  13. hed = char.Head
  14. local tors
  15. local larm
  16. local rarm
  17.  
  18. if hum.RigType == Enum.HumanoidRigType.R6 then
  19. tors = char.Torso
  20. larm = char['Left Arm']
  21. rarm = char['Right Arm']
  22. else
  23. tors = char.UpperTorso
  24. larm = char.LeftLowerArm
  25. rarm = char.RightLowerArm
  26. end
  27.  
  28. local halocolor = BrickColor.new("Pastel light blue")
  29. local halocolor2 = BrickColor.new("Cool yellow")
  30. local starcolor = BrickColor.new("Bright yellow")
  31. local lunacolor = BrickColor.new("Navy blue")
  32. local lunacolor2 = BrickColor.new("Bright blue")
  33. local wepcolor = BrickColor.new("Really black")
  34. local maincolor = BrickColor.new("Really black")
  35.  
  36. showextrawings = false
  37. WingColor = BrickColor.new("Really red")
  38.  
  39. local Create = LoadLibrary("RbxUtility").Create
  40.  
  41. CFuncs = {
  42. ["Part"] = {
  43. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  44. local Part = Create("Part"){
  45. Parent = Parent,
  46. Reflectance = Reflectance,
  47. Transparency = Transparency,
  48. CanCollide = false,
  49. Locked = true,
  50. BrickColor = BrickColor.new(tostring(BColor)),
  51. Name = Name,
  52. Size = Size,
  53. Material = Material,
  54. }
  55. RemoveOutlines(Part)
  56. return Part
  57. end;
  58. };
  59.  
  60. ["Mesh"] = {
  61. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  62. local Msh = Create(Mesh){
  63. Parent = Part,
  64. Offset = OffSet,
  65. Scale = Scale,
  66. }
  67. if Mesh == "SpecialMesh" then
  68. Msh.MeshType = MeshType
  69. Msh.MeshId = MeshId
  70. end
  71. return Msh
  72. end;
  73. };
  74.  
  75. ["Mesh"] = {
  76. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  77. local Msh = Create(Mesh){
  78. Parent = Part,
  79. Offset = OffSet,
  80. Scale = Scale,
  81. }
  82. if Mesh == "SpecialMesh" then
  83. Msh.MeshType = MeshType
  84. Msh.MeshId = MeshId
  85. end
  86. return Msh
  87. end;
  88. };
  89.  
  90. ["Weld"] = {
  91. Create = function(Parent, Part0, Part1, C0, C1)
  92. local Weld = Create("Weld"){
  93. Parent = Parent,
  94. Part0 = Part0,
  95. Part1 = Part1,
  96. C0 = C0,
  97. C1 = C1,
  98. }
  99. return Weld
  100. end;
  101. };
  102.  
  103. ["Sound"] = {
  104. Create = function(id, par, vol, pit)
  105. coroutine.resume(coroutine.create(function()
  106. local S = Create("Sound"){
  107. Volume = vol,
  108. Name = "EffectSoundo",
  109. Pitch = pit or 1,
  110. SoundId = id,
  111. Parent = par or workspace,
  112. }
  113. wait()
  114. S:play()
  115. game:GetService("Debris"):AddItem(S, 10)
  116. end))
  117. end;
  118. };
  119.  
  120. ["LongSound"] = {
  121. Create = function(id, par, vol, pit)
  122. coroutine.resume(coroutine.create(function()
  123. local S = Create("Sound"){
  124. Volume = vol,
  125. Pitch = pit or 1,
  126. SoundId = id,
  127. Parent = par or workspace,
  128. }
  129. wait()
  130. S:play()
  131. game:GetService("Debris"):AddItem(S, 30)
  132. end))
  133. end;
  134. };
  135.  
  136. ["ParticleEmitter"] = {
  137. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  138. local fp = Create("ParticleEmitter"){
  139. Parent = Parent,
  140. Color = ColorSequence.new(Color1, Color2),
  141. LightEmission = LightEmission,
  142. Size = Size,
  143. Texture = Texture,
  144. Transparency = Transparency,
  145. ZOffset = ZOffset,
  146. Acceleration = Accel,
  147. Drag = Drag,
  148. LockedToPart = LockedToPart,
  149. VelocityInheritance = VelocityInheritance,
  150. EmissionDirection = EmissionDirection,
  151. Enabled = Enabled,
  152. Lifetime = LifeTime,
  153. Rate = Rate,
  154. Rotation = Rotation,
  155. RotSpeed = RotSpeed,
  156. Speed = Speed,
  157. VelocitySpread = VelocitySpread,
  158. }
  159. return fp
  160. end;
  161. };
  162.  
  163. CreateTemplate = {
  164.  
  165. };
  166. }
  167.  
  168.  
  169.  
  170. New = function(Object, Parent, Name, Data)
  171. local Object = Instance.new(Object)
  172. for Index, Value in pairs(Data or {}) do
  173. Object[Index] = Value
  174. end
  175. Object.Parent = Parent
  176. Object.Name = Name
  177. return Object
  178. end
  179.  
  180. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  181. local p = Instance.new("Part")
  182. p.TopSurface = 0
  183. p.BottomSurface = 0
  184. p.Parent = parent
  185. p.Size = Vector3.new(0.1,0.1,0.1)
  186. p.Transparency = transparency
  187. p.Reflectance = reflectance
  188. p.CanCollide = false
  189. p.Locked = true
  190. p.BrickColor = brickcolor
  191. p.Material = material
  192. return p
  193. end
  194.  
  195. function CreateMesh(parent,meshtype,x1,y1,z1)
  196. local mesh = Instance.new("SpecialMesh",parent)
  197. mesh.MeshType = meshtype
  198. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  199. return mesh
  200. end
  201.  
  202. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  203. local mesh = Instance.new("SpecialMesh",parent)
  204. mesh.MeshType = "FileMesh"
  205. mesh.MeshId = meshid
  206. mesh.Scale = Vector3.new(x1,y1,z1)
  207. return mesh
  208. end
  209.  
  210.  
  211. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  212. local mesh = Instance.new("SpecialMesh",parent)
  213. mesh.MeshType = "FileMesh"
  214. mesh.MeshId = meshid
  215. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  216. mesh.Scale = Vector3.new(x1,y1,z1)
  217. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  218. return mesh
  219. end
  220.  
  221. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  222. local weld = Instance.new("Weld")
  223. weld.Parent = parent
  224. weld.Part0 = part0
  225. weld.Part1 = part1
  226. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  227. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  228. return weld
  229. end
  230.  
  231. function createchar()
  232. local m = Instance.new("Model",char)
  233. local m2 = Instance.new("Model",char)
  234. local m3 = Instance.new("Model",char)
  235. local mw1 = Instance.new("Model",char)
  236. local mw2 = Instance.new("Model",char)
  237.  
  238. local extrawingmod1 = Instance.new("Model",char)
  239. local extrawingmod2 = Instance.new("Model",char)
  240.  
  241. local handle = CreateParta(m,1,1,"Neon",maincolor)
  242. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  243. 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))
  244.  
  245. --------------
  246.  
  247. --- Left wing.
  248.  
  249. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  250. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  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,0.5,0.5)
  255. CreateWeld(wed,lwing1,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))
  256. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  257. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  258. CreateWeld(wed,lwing1,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))
  259. A0 = Instance.new('Attachment',wed)
  260. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  261. CreateMesh(wed,"Wedge",0.05,0.5,3)
  262. CreateWeld(wed,lwing1,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))
  263. A1 = Instance.new('Attachment',wed)
  264. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  265. CreateMesh(wed,"Wedge",0.05,3,0.5)
  266. CreateWeld(wed,lwing1,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))
  267.  
  268. tl1 = Instance.new('Trail',wed)
  269. tl1.Attachment0 = A0
  270. tl1.Attachment1 = A1
  271. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  272. tl1.LightEmission = 1
  273. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  274. tl1.Color = ColorSequence.new(WingColor.Color)
  275. tl1.Lifetime = 0.6
  276.  
  277.  
  278. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  279. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  280. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  281.  
  282. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  283. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  284. CreateWeld(wed,lwing2,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))
  285. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  286. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  287. CreateWeld(wed,lwing2,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))
  288. A0 = Instance.new('Attachment',wed)
  289. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  290. CreateMesh(wed,"Wedge",0.05,0.5,3)
  291. CreateWeld(wed,lwing2,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))
  292. A1 = Instance.new('Attachment',wed)
  293. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  294. CreateMesh(wed,"Wedge",0.05,3,0.5)
  295. CreateWeld(wed,lwing2,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))
  296.  
  297. tl2 = Instance.new('Trail',wed)
  298. tl2.Attachment0 = A0
  299. tl2.Attachment1 = A1
  300. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  301. tl2.LightEmission = 1
  302. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  303. tl2.Color = ColorSequence.new(WingColor.Color)
  304. tl2.Lifetime = 0.6
  305.  
  306. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  307. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  308. 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))
  309.  
  310. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  311. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  312. CreateWeld(wed,lwing3,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))
  313. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  314. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  315. CreateWeld(wed,lwing3,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))
  316. A0 = Instance.new('Attachment',wed)
  317. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  318. CreateMesh(wed,"Wedge",0.05,0.5,3)
  319. CreateWeld(wed,lwing3,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))
  320. A1 = Instance.new('Attachment',wed)
  321. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  322. CreateMesh(wed,"Wedge",0.05,3,0.5)
  323. CreateWeld(wed,lwing3,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))
  324.  
  325. tl3 = Instance.new('Trail',wed)
  326. tl3.Attachment0 = A0
  327. tl3.Attachment1 = A1
  328. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  329. tl3.LightEmission = 1
  330. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  331. tl3.Color = ColorSequence.new(WingColor.Color)
  332. tl3.Lifetime = 0.6
  333.  
  334. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  335. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  336. 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))
  337.  
  338. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  339. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  340. 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))
  341. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  342. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  343. 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))
  344. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  345. CreateMesh(wed,"Wedge",0.05,0.5,3)
  346. 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))
  347. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  348. CreateMesh(wed,"Wedge",0.05,3,0.5)
  349. 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))
  350.  
  351. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  352. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  353. 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))
  354.  
  355. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  356. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  357. 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))
  358. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  359. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  360. 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))
  361. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  362. CreateMesh(wed,"Wedge",0.05,0.5,3)
  363. 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))
  364. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  365. CreateMesh(wed,"Wedge",0.05,3,0.5)
  366. 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))
  367.  
  368. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  369. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  370. 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))
  371.  
  372. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  373. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  374. 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))
  375. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  376. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  377. 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))
  378. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  379. CreateMesh(wed,"Wedge",0.05,0.5,3)
  380. 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))
  381. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  382. CreateMesh(wed,"Wedge",0.05,3,0.5)
  383. 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))
  384.  
  385. -- Right wing.
  386.  
  387. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  388. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  389. 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))
  390.  
  391. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  392. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  393. CreateWeld(wed,rwing1,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))
  394. A0 = Instance.new('Attachment',wed)
  395. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  396. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  397. CreateWeld(wed,rwing1,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))
  398. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  399. CreateMesh(wed,"Wedge",0.05,0.5,3)
  400. CreateWeld(wed,rwing1,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))
  401. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  402. CreateMesh(wed,"Wedge",0.05,3,0.5)
  403. CreateWeld(wed,rwing1,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))
  404. A1 = Instance.new('Attachment',wed)
  405.  
  406. tr1 = Instance.new('Trail',wed)
  407. tr1.Attachment0 = A0
  408. tr1.Attachment1 = A1
  409. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  410. tr1.LightEmission = 1
  411. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  412. tr1.Color = ColorSequence.new(WingColor.Color)
  413. tr1.Lifetime = 0.6
  414.  
  415. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  416. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  417. 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))
  418.  
  419. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  420. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  421. CreateWeld(wed,rwing2,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))
  422. A0 = Instance.new('Attachment',wed)
  423. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  424. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  425. CreateWeld(wed,rwing2,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))
  426. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  427. CreateMesh(wed,"Wedge",0.05,0.5,3)
  428. CreateWeld(wed,rwing2,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))
  429. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  430. CreateMesh(wed,"Wedge",0.05,3,0.5)
  431. CreateWeld(wed,rwing2,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))
  432. A1 = Instance.new('Attachment',wed)
  433.  
  434. tr2 = Instance.new('Trail',wed)
  435. tr2.Attachment0 = A0
  436. tr2.Attachment1 = A1
  437. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  438. tr2.LightEmission = 1
  439. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  440. tr2.Color = ColorSequence.new(WingColor.Color)
  441. tr2.Lifetime = 0.6
  442.  
  443. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  444. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  445. 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))
  446.  
  447. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  448. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  449. CreateWeld(wed,rwing3,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))
  450. A0 = Instance.new('Attachment',wed)
  451. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  452. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  453. CreateWeld(wed,rwing3,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))
  454. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  455. CreateMesh(wed,"Wedge",0.05,0.5,3)
  456. CreateWeld(wed,rwing3,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))
  457. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  458. CreateMesh(wed,"Wedge",0.05,3,0.5)
  459. CreateWeld(wed,rwing3,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))
  460. A1 = Instance.new('Attachment',wed)
  461.  
  462. tr3 = Instance.new('Trail',wed)
  463. tr3.Attachment0 = A0
  464. tr3.Attachment1 = A1
  465. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  466. tr3.LightEmission = 1
  467. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  468. tr3.Color = ColorSequence.new(WingColor.Color)
  469. tr3.Lifetime = 0.6
  470.  
  471.  
  472. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  473. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  474. 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))
  475.  
  476. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  477. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  478. 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))
  479. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  480. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  481. 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))
  482. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  483. CreateMesh(wed,"Wedge",0.05,0.5,3)
  484. 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))
  485. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  486. CreateMesh(wed,"Wedge",0.05,3,0.5)
  487. 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))
  488.  
  489. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  490. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  491. 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))
  492.  
  493. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  494. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  495. 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))
  496. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  497. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  498. 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))
  499. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  500. CreateMesh(wed,"Wedge",0.05,0.5,3)
  501. 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))
  502. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  503. CreateMesh(wed,"Wedge",0.05,3,0.5)
  504. 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))
  505.  
  506. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  507. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  508. 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))
  509.  
  510. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  511. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  512. 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))
  513. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  514. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  515. 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))
  516. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  517. CreateMesh(wed,"Wedge",0.05,0.5,3)
  518. 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))
  519. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  520. CreateMesh(wed,"Wedge",0.05,3,0.5)
  521. 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))
  522.  
  523. ---- HERES THE RING
  524.  
  525.  
  526. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  527. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  528. 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))
  529. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  530. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  531. 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))
  532. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  533. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  534. 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))
  535.  
  536.  
  537. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  538. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  539. 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))
  540.  
  541. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  542. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  543. 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))
  544.  
  545.  
  546.  
  547. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  548. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  549. 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))
  550.  
  551. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  552. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  553. 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))
  554.  
  555. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  556. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  557. 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))
  558.  
  559. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  560. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  561. 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))
  562. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  563. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  564. 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))
  565.  
  566. --- second ring
  567.  
  568. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  569. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  570. 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))
  571. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  572. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  573. 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))
  574. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  575. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  576. 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))
  577.  
  578. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  579. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  580. 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))
  581.  
  582. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  583. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  584. 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))
  585.  
  586.  
  587.  
  588. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  589. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  590. 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))
  591.  
  592. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  593. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  594. 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))
  595.  
  596. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  597. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  598. 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))
  599.  
  600. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  601. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  602. 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))
  603. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  604. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  605. 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))
  606.  
  607.  
  608.  
  609. for i, v in pairs(m:GetChildren()) do
  610. if v:IsA("Part") then
  611. v.BrickColor = BrickColor.new("Really black")
  612. v.Material = "Glass"
  613. end
  614. end
  615. for i, v in pairs(m2:GetChildren()) do
  616. if v:IsA("Part") then
  617. v.BrickColor = BrickColor.new("Crimson")
  618. v.Material = "Granite"
  619. end
  620. end
  621. for i, v in pairs(m3:GetChildren()) do
  622. if v:IsA("Part") then
  623. v.BrickColor = WingColor
  624. v.Material = "Neon"
  625. end
  626. end
  627. for i, v in pairs(mw2:GetChildren()) do
  628. if v:IsA("Part") then
  629. v.BrickColor = WingColor
  630. v.Material = "Neon"
  631. end
  632. end
  633. for i, v in pairs(mw1:GetChildren()) do
  634. if v:IsA("Part") then
  635. v.Transparency = 0
  636. v.BrickColor = WingColor
  637. v.Material = "Neon"
  638. end
  639. end
  640. for i, v in pairs(extrawingmod1:GetChildren()) do
  641. if v:IsA("Part") then
  642. v.Transparency = 1
  643. v.BrickColor = WingColor
  644. v.Material = "Neon"
  645. end
  646. end
  647. for i, v in pairs(extrawingmod2:GetChildren()) do
  648. if v:IsA("Part") then
  649. v.Transparency = 1
  650. v.BrickColor = WingColor
  651. v.Material = "Neon"
  652. end
  653. end
  654.  
  655. function swait(num)
  656. if num==0 or num==nil then
  657. game:service'RunService'.Stepped:wait(0)
  658. else
  659. for i=0,num do
  660. game:service'RunService'.Stepped:wait(0)
  661. end
  662. end
  663. end
  664.  
  665. it=Instance.new
  666. vt=Vector3.new
  667. cf=CFrame.new
  668. euler=CFrame.fromEulerAnglesXYZ
  669. angles=CFrame.Angles
  670.  
  671. function clerp(a,b,t)
  672. local qa = {QuaternionFromCFrame(a)}
  673. local qb = {QuaternionFromCFrame(b)}
  674. local ax, ay, az = a.x, a.y, a.z
  675. local bx, by, bz = b.x, b.y, b.z
  676. local _t = 1-t
  677. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  678. end
  679.  
  680. function QuaternionFromCFrame(cf)
  681. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  682. local trace = m00 + m11 + m22
  683. if trace > 0 then
  684. local s = math.sqrt(1 + trace)
  685. local recip = 0.5/s
  686. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  687. else
  688. local i = 0
  689. if m11 > m00 then
  690. i = 1
  691. end
  692. if m22 > (i == 0 and m00 or m11) then
  693. i = 2
  694. end
  695. if i == 0 then
  696. local s = math.sqrt(m00-m11-m22+1)
  697. local recip = 0.5/s
  698. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  699. elseif i == 1 then
  700. local s = math.sqrt(m11-m22-m00+1)
  701. local recip = 0.5/s
  702. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  703. elseif i == 2 then
  704. local s = math.sqrt(m22-m00-m11+1)
  705. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  706. end
  707. end
  708. end
  709.  
  710. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  711. local xs, ys, zs = x + x, y + y, z + z
  712. local wx, wy, wz = w*xs, w*ys, w*zs
  713. local xx = x*xs
  714. local xy = x*ys
  715. local xz = x*zs
  716. local yy = y*ys
  717. local yz = y*zs
  718. local zz = z*zs
  719. 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))
  720. end
  721.  
  722. function QuaternionSlerp(a, b, t)
  723. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  724. local startInterp, finishInterp;
  725. if cosTheta >= 0.0001 then
  726. if (1 - cosTheta) > 0.0001 then
  727. local theta = math.acos(cosTheta)
  728. local invSinTheta = 1/math.sin(theta)
  729. startInterp = math.sin((1-t)*theta)*invSinTheta
  730. finishInterp = math.sin(t*theta)*invSinTheta
  731. else
  732. startInterp = 1-t
  733. finishInterp = t
  734. end
  735. else
  736. if (1+cosTheta) > 0.0001 then
  737. local theta = math.acos(-cosTheta)
  738. local invSinTheta = 1/math.sin(theta)
  739. startInterp = math.sin((t-1)*theta)*invSinTheta
  740. finishInterp = math.sin(t*theta)*invSinTheta
  741. else
  742. startInterp = t-1
  743. finishInterp = t
  744. end
  745. end
  746. 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
  747. end
  748.  
  749. local sine = 0
  750. local change = 1
  751.  
  752. coroutine.resume(coroutine.create(function()
  753. game:GetService("RunService").Stepped:connect(function()
  754. coroutine.resume(coroutine.create(function()
  755. swait()
  756. for i, v in pairs(m:GetChildren()) do
  757. if v:IsA("Part") then
  758. v.BrickColor = BrickColor.new("Really black")
  759. v.Material = "Glass"
  760. end
  761. end
  762. for i, v in pairs(m2:GetChildren()) do
  763. if v:IsA("Part") then
  764. v.BrickColor = BrickColor.new("Crimson")
  765. v.Material = "Granite"
  766. end
  767. end
  768. for i, v in pairs(m3:GetChildren()) do
  769. if v:IsA("Part") then
  770. v.BrickColor = WingColor
  771. v.Material = "Neon"
  772. end
  773. end
  774. for i, v in pairs(mw2:GetChildren()) do
  775. if v:IsA("Part") then
  776. v.BrickColor = WingColor
  777. v.Material = "Neon"
  778. end
  779. end
  780. for i, v in pairs(mw1:GetChildren()) do
  781. if v:IsA("Part") then
  782. v.BrickColor = WingColor
  783. v.Material = "Neon"
  784. end
  785. end
  786. for i, v in pairs(extrawingmod1:GetChildren()) do
  787. if v:IsA("Part") then
  788. v.BrickColor = WingColor
  789. if showextrawings then
  790. v.Transparency = 0
  791. elseif not showextrawings then
  792. v.Transparency = 1
  793. end
  794. v.Material = "Neon"
  795. end
  796. end
  797. for i, v in pairs(extrawingmod2:GetChildren()) do
  798. if v:IsA("Part") then
  799. v.BrickColor = WingColor
  800. if showextrawings then
  801. v.Transparency = 0
  802. elseif not showextrawings then
  803. v.Transparency = 1
  804. end
  805. v.Material = "Neon"
  806. end
  807. end
  808. tr1.Color = ColorSequence.new(WingColor.Color)
  809. tr2.Color = ColorSequence.new(WingColor.Color)
  810. tr3.Color = ColorSequence.new(WingColor.Color)
  811. tl1.Color = ColorSequence.new(WingColor.Color)
  812. tl2.Color = ColorSequence.new(WingColor.Color)
  813. tl3.Color = ColorSequence.new(WingColor.Color)
  814. swait(1)
  815. 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)
  816. 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)
  817. 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)
  818. 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)
  819. 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)
  820. 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)
  821.  
  822. 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)
  823. 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)
  824. 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)
  825. 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)
  826. 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)
  827. 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)
  828. sine = sine + change
  829.  
  830. end))
  831. end)
  832. end))
  833. end
  834.  
  835. createchar()
  836.  
  837. plr.Chatted:connect(function(msg)
  838. if msg:sub(3) == "/e " then
  839. msg = msg:sub(4)
  840. end
  841. if msg:sub(1,#"color="):lower() == "color=" then
  842. local arg = msg:sub(#"color="+1)
  843. local color = BrickColor.new(arg)
  844. WingColor = color
  845. elseif msg:sub(1,#"showexwings="):lower() == "showexwings=" then
  846. local arg = msg:sub(#"showexwings="+1)
  847. showextrawings = arg
  848. end
  849. end)
  850.  
  851. plr.CharacterAdded:connect(function()
  852. char = plr.Character
  853. hum = char:FindFirstChildOfClass"Humanoid"
  854. h = char.Head
  855. root = char.HumanoidRootPart
  856. hed = char.Head
  857.  
  858. if hum.RigType == Enum.HumanoidRigType.R6 then
  859. tors = char.Torso
  860. larm = char['Left Arm']
  861. rarm = char['Right Arm']
  862. else
  863. tors = char.UpperTorso
  864. larm = char.LeftLowerArm
  865. rarm = char.RightLowerArm
  866. end
  867. createchar()
  868. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement