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