View difference between Paste ID: w0HvM3AP and 6Dh8HrQp
SHOW: | | - or go back to the newest paste.
1
--By OmegaNoscope/hecc#5638, ask me before you decide to leak this. 
2
function sandbox(var,func)
3
	local env = getfenv(func)
4
	local newenv = setmetatable({},{
5
		__index = function(self,k)
6
			if k=="script" then
7
				return var
8
			else
9
				return env[k]
10
			end
11
		end,
12
	})
13
	setfenv(func,newenv)
14
	return func
15
end
16
cors = {}
17
mas = Instance.new("Model",game:GetService("Lighting"))
18
LocalScript0 = Instance.new("LocalScript")
19
ParticleEmitter1 = Instance.new("ParticleEmitter")
20
ParticleEmitter2 = Instance.new("ParticleEmitter")
21
ParticleEmitter3 = Instance.new("ParticleEmitter")
22
ParticleEmitter4 = Instance.new("ParticleEmitter")
23
ParticleEmitter5 = Instance.new("ParticleEmitter")
24
ParticleEmitter6 = Instance.new("ParticleEmitter")
25
ParticleEmitter7 = Instance.new("ParticleEmitter")
26
ParticleEmitter8 = Instance.new("ParticleEmitter")
27
LocalScript9 = Instance.new("LocalScript")
28
NumberValue10 = Instance.new("NumberValue")
29
NumberValue11 = Instance.new("NumberValue")
30
BoolValue12 = Instance.new("BoolValue")
31
ParticleEmitter13 = Instance.new("ParticleEmitter")
32
ParticleEmitter14 = Instance.new("ParticleEmitter")
33
ParticleEmitter15 = Instance.new("ParticleEmitter")
34
ParticleEmitter16 = Instance.new("ParticleEmitter")
35
ParticleEmitter17 = Instance.new("ParticleEmitter")
36
ParticleEmitter18 = Instance.new("ParticleEmitter")
37
ParticleEmitter19 = Instance.new("ParticleEmitter")
38
ParticleEmitter20 = Instance.new("ParticleEmitter")
39
ParticleEmitter21 = Instance.new("ParticleEmitter")
40
ParticleEmitter22 = Instance.new("ParticleEmitter")
41
LocalScript0.Name = "WarPheonix"
42
LocalScript0.Parent = mas
43
table.insert(cors,sandbox(LocalScript0,function()
44
45
wait(0.2)
46
Player = game:GetService("Players").LocalPlayer
47
PlayerGui = Player.PlayerGui
48
Cam = workspace.CurrentCamera
49
Backpack = Player.Backpack
50
Character = Player.Character
51
Humanoid = Character.Humanoid
52
Mouse = Player:GetMouse()
53
RootPart = Character.HumanoidRootPart
54
Torso = Character.Torso
55
Head = Character.Head
56
RightArm = Character["Right Arm"]
57
LeftArm = Character["Left Arm"]
58
RightLeg = Character["Right Leg"]
59
LeftLeg = Character["Left Leg"]
60
RootJoint = RootPart.RootJoint
61
Neck = Torso.Neck
62
RightShoulder = Torso["Right Shoulder"]
63
LeftShoulder = Torso["Left Shoulder"]
64
RightHip = Torso["Right Hip"]
65
LeftHip = Torso["Left Hip"]
66
local sick = Instance.new("Sound", Character)
67
	sick.SoundId = "rbxassetid://1843313417"
68-
	sick.SoundId = "rbxassetid://661079869"
68+
	sick.TimePosition = 15.5
69
	sick.Looped = true
70
IT = Instance.new
71
CF = CFrame.new
72
VT = Vector3.new
73
RAD = math.rad
74
C3 = Color3.new
75
UD2 = UDim2.new
76
BRICKC = BrickColor.new
77
ANGLES = CFrame.Angles
78
EULER = CFrame.fromEulerAnglesXYZ
79
COS = math.cos
80
ACOS = math.acos
81
SIN = math.sin
82
ASIN = math.asin
83
ABS = math.abs
84
MRANDOM = math.random
85
FLOOR = math.floor
86
87
local naeeym2 = Instance.new("BillboardGui",Character)
88
naeeym2.AlwaysOnTop = true
89
naeeym2.Size = UDim2.new(5,35,2,35)
90
naeeym2.StudsOffset = Vector3.new(0,4.5,0)
91
naeeym2.Adornee = Character.Head
92
naeeym2.Name = "Name"
93
naeeym2.MaxDistance = 200
94
local tecks2 = Instance.new("TextLabel",naeeym2)
95
tecks2.BackgroundTransparency = 1
96
tecks2.TextScaled = true
97
tecks2.BorderSizePixel = 0
98
tecks2.Text = " "
99
tecks2.Font = "Antique"
100
tecks2.TextSize = 0
101
tecks2.TextStrokeTransparency = 0
102
tecks2.TextColor3 = Color3.new(0, .012, .36)
103-
tecks2.TextStrokeColor3 = Color3.new(0.36, 0.012, 0.36)
103+
tecks2.TextStrokeColor3 = Color3.new(27/255, 42/255, 53/255)
104
tecks2.Size = UDim2.new(1,0,0.5,0)
105
tecks2.Parent = naeeym2
106
107
local naeeym3 = Instance.new("BillboardGui",Character)
108
naeeym3.AlwaysOnTop = true
109
naeeym3.Size = UDim2.new(5,35,2,35)
110
naeeym3.StudsOffset = Vector3.new(0,3,0)
111
naeeym3.Adornee = Character.Head
112
naeeym3.Name = "Name"
113
naeeym3.MaxDistance = 200
114
local tecks3 = Instance.new("TextLabel",naeeym2)
115
tecks3.BackgroundTransparency = 1
116
tecks3.TextScaled = true
117
tecks3.BorderSizePixel = 0
118
tecks3.Text = " "
119
tecks3.Font = "Antique"
120
tecks3.TextSize = 0
121
tecks3.TextStrokeTransparency = 1
122
tecks3.TextColor3 = Color3.new(125/255,125/255,125/255)
123
tecks3.TextStrokeColor3 = Color3.new(125/255,125/255,125/255)
124
tecks3.Size = UDim2.new(1,0,0.5,0)
125
tecks3.Parent = naeeym3
126
127
128
Animation_Speed = 3.3
129
Frame_Speed = 0.016666666666666666
130
local Speed = 16
131
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
132
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(17), RAD(180))
133
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(111), RAD(0))
134
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-111), RAD(0))
135
local DAMAGEMULTIPLIER = 1
136
local ANIM = "Idle"
137
local ATTACK = false
138
local EQUIPPED = false
139
local HOLD = false
140
local COMBO = 1
141
local Rooted = false
142
local SINE = 0
143
local KEYHOLD = false
144
local CHANGE = 2 / Animation_Speed
145
local WALKINGANIM = false
146
local VALUE1 = false
147
local VALUE2 = false
148
local ROBLOXIDLEANIMATION = IT("Animation")
149
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
150
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
151
local WEAPONGUI = IT("ScreenGui", PlayerGui)
152
WEAPONGUI.Name = "Weapon GUI"
153
local Effects = IT("Folder", Character)
154
Effects.Name = "Effects"
155
local ANIMATOR = Humanoid.Animator
156
local ANIMATE = Character.Animate
157
local UNANCHOR = true
158
local FLIGHT = false
159
local BODYPOS, GYRO, FLIGHTRING
160
local PARTICLES = false
161
local WINGS = false
162
local APPLYGYRO = true
163
local DIRECTTURN = false
164-
local PHEONIXCOLOR = C3(0.16, 0.012, 0.16)
164+
local PHEONIXCOLOR = C3(17/255, 17/255, 17/255)
165
ArtificialHB = Instance.new("BindableEvent", script)
166
ArtificialHB.Name = "ArtificialHB"
167
script:WaitForChild("ArtificialHB")
168
frame = Frame_Speed
169
tf = 0
170
allowframeloss = false
171
tossremainder = false
172
lastframe = tick()
173
script.ArtificialHB:Fire()
174
game:GetService("RunService").Heartbeat:connect(function(s, p)
175
	tf = tf + s
176
	if tf >= frame then
177
		if allowframeloss then
178
			script.ArtificialHB:Fire()
179
			lastframe = tick()
180
		else
181
			for i = 1, math.floor(tf / frame) do
182
				script.ArtificialHB:Fire()
183
			end
184
			lastframe = tick()
185
		end
186
		if tossremainder then
187
			tf = 0
188
		else
189
			tf = tf - frame * math.floor(tf / frame)
190
		end
191
	end
192
end)
193
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
194
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
195
end
196
function PositiveAngle(NUMBER)
197
	if NUMBER >= 0 then
198
		NUMBER = 0
199
	end
200
	return NUMBER
201
end
202
function NegativeAngle(NUMBER)
203
	if NUMBER <= 0 then
204
		NUMBER = 0
205
	end
206
	return NUMBER
207
end
208
function Swait(NUMBER)
209
	if NUMBER == 0 or NUMBER == nil then
210
		ArtificialHB.Event:wait()
211
	else
212
		for i = 1, NUMBER do
213
			ArtificialHB.Event:wait()
214
		end
215
	end
216
end
217
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
218
	local NEWMESH = IT(MESH)
219
	if MESH == "SpecialMesh" then
220
		NEWMESH.MeshType = MESHTYPE
221
		if MESHID ~= "nil" and MESHID ~= "" then
222
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
223
		end
224
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
225
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
226
		end
227
	end
228
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
229
	NEWMESH.Scale = SCALE
230
	NEWMESH.Parent = PARENT
231
	return NEWMESH
232
end
233
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
234
	local NEWPART = IT("Part")
235
	NEWPART.formFactor = FORMFACTOR
236
	NEWPART.Reflectance = REFLECTANCE
237
	NEWPART.Transparency = TRANSPARENCY
238
	NEWPART.CanCollide = false
239
	NEWPART.Locked = true
240
	NEWPART.Anchored = true
241
	if ANCHOR == false then
242
		NEWPART.Anchored = false
243
	end
244
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
245
	NEWPART.Name = NAME
246
	NEWPART.Size = SIZE
247
	NEWPART.Position = Torso.Position
248
	NEWPART.Material = MATERIAL
249
	NEWPART:BreakJoints()
250
	NEWPART.Parent = PARENT
251
	return NEWPART
252
end
253
local weldBetween = function(a, b)
254
	local weldd = Instance.new("ManualWeld")
255
	weldd.Part0 = a
256
	weldd.Part1 = b
257
	weldd.C0 = CFrame.new()
258
	weldd.C1 = b.CFrame:inverse() * a.CFrame
259
	weldd.Parent = a
260
	return weldd
261
end
262
function QuaternionFromCFrame(cf)
263
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
264
	local trace = m00 + m11 + m22
265
	if trace > 0 then
266
		local s = math.sqrt(1 + trace)
267
		local recip = 0.5 / s
268
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
269
	else
270
		local i = 0
271
		if m00 < m11 then
272
			i = 1
273
		end
274
		if m22 > (i == 0 and m00 or m11) then
275
			i = 2
276
		end
277
		if i == 0 then
278
			local s = math.sqrt(m00 - m11 - m22 + 1)
279
			local recip = 0.5 / s
280
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
281
		elseif i == 1 then
282
			local s = math.sqrt(m11 - m22 - m00 + 1)
283
			local recip = 0.5 / s
284
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
285
		elseif i == 2 then
286
			local s = math.sqrt(m22 - m00 - m11 + 1)
287
			local recip = 0.5 / s
288
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
289
		end
290
	end
291
end
292
function QuaternionToCFrame(px, py, pz, x, y, z, w)
293
	local xs, ys, zs = x + x, y + y, z + z
294
	local wx, wy, wz = w * xs, w * ys, w * zs
295
	local xx = x * xs
296
	local xy = x * ys
297
	local xz = x * zs
298
	local yy = y * ys
299
	local yz = y * zs
300
	local zz = z * zs
301
	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))
302
end
303
function QuaternionSlerp(a, b, t)
304
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
305
	local startInterp, finishInterp
306
	if cosTheta >= 1.0E-4 then
307
		if 1 - cosTheta > 1.0E-4 then
308
			local theta = ACOS(cosTheta)
309
			local invSinTheta = 1 / SIN(theta)
310
			startInterp = SIN((1 - t) * theta) * invSinTheta
311
			finishInterp = SIN(t * theta) * invSinTheta
312
		else
313
			startInterp = 1 - t
314
			finishInterp = t
315
		end
316
	elseif 1 + cosTheta > 1.0E-4 then
317
		local theta = ACOS(-cosTheta)
318
		local invSinTheta = 1 / SIN(theta)
319
		startInterp = SIN((t - 1) * theta) * invSinTheta
320
		finishInterp = SIN(t * theta) * invSinTheta
321
	else
322
		startInterp = t - 1
323
		finishInterp = t
324
	end
325
	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
326
end
327
function Clerp(a, b, t)
328
	local qa = {
329
		QuaternionFromCFrame(a)
330
	}
331
	local qb = {
332
		QuaternionFromCFrame(b)
333
	}
334
	local ax, ay, az = a.x, a.y, a.z
335
	local bx, by, bz = b.x, b.y, b.z
336
	local _t = 1 - t
337
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
338
end
339
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
340
	local frame = IT("Frame")
341
	frame.BackgroundTransparency = TRANSPARENCY
342
	frame.BorderSizePixel = BORDERSIZEPIXEL
343
	frame.Position = POSITION
344
	frame.Size = SIZE
345
	frame.BackgroundColor3 = COLOR
346
	frame.BorderColor3 = BORDERCOLOR
347
	frame.Name = NAME
348
	frame.Parent = PARENT
349
	return frame
350
end
351
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
352
	local label = IT("TextLabel")
353
	label.BackgroundTransparency = 1
354
	label.Size = UD2(1, 0, 1, 0)
355
	label.Position = UD2(0, 0, 0, 0)
356
	label.TextColor3 = TEXTCOLOR
357
	label.TextStrokeTransparency = STROKETRANSPARENCY
358
	label.TextTransparency = TRANSPARENCY
359
	label.FontSize = TEXTFONTSIZE
360
	label.Font = TEXTFONT
361
	label.BorderSizePixel = BORDERSIZEPIXEL
362
	label.TextScaled = false
363
	label.Text = TEXT
364
	label.Name = NAME
365
	label.Parent = PARENT
366
	return label
367
end
368
function NoOutlines(PART)
369
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
370
end
371
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
372
	local NEWWELD = IT(TYPE)
373
	NEWWELD.Part0 = PART0
374
	NEWWELD.Part1 = PART1
375
	NEWWELD.C0 = C0
376
	NEWWELD.C1 = C1
377
	NEWWELD.Parent = PARENT
378
	return NEWWELD
379
end
380
local S = IT("Sound")
381
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
382
	local NEWSOUND
383
	coroutine.resume(coroutine.create(function()
384
		NEWSOUND = S:Clone()
385
		NEWSOUND.Parent = PARENT
386
		NEWSOUND.Volume = VOLUME
387
		NEWSOUND.Pitch = PITCH
388
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
389
		NEWSOUND:play()
390
		if DOESLOOP == true then
391
			NEWSOUND.Looped = true
392
		else
393
			repeat
394
				wait(1)
395
			until NEWSOUND.Playing == false
396
			NEWSOUND:remove()
397
		end
398
	end))
399
	return NEWSOUND
400
end
401
function CFrameFromTopBack(at, top, back)
402
	local right = top:Cross(back)
403
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
404
end
405
function WACKYEFFECT(Table)
406
	local TYPE = Table.EffectType or "Sphere"
407
	local SIZE = Table.Size or VT(1, 1, 1)
408
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
409
	local TRANSPARENCY = Table.Transparency or 0
410
	local ENDTRANSPARENCY = Table.Transparency2 or 1
411
	local CFRAME = Table.CFrame or Torso.CFrame
412
	local MOVEDIRECTION = Table.MoveToPos or nil
413
	local ROTATION1 = Table.RotationX or 0
414
	local ROTATION2 = Table.RotationY or 0
415
	local ROTATION3 = Table.RotationZ or 0
416
	local MATERIAL = Table.Material or "Neon"
417-
	local COLOR = Table.Color or C3(0.16, 0.012, 0.16)
417+
	local COLOR = Table.Color or C3(17/255, 17/255, 17/255)
418
	local TIME = Table.Time or 45
419
	local SOUNDID = Table.SoundID or nil
420
	local SOUNDPITCH = Table.SoundPitch or nil
421
	local SOUNDVOLUME = Table.SoundVolume or nil
422
	coroutine.resume(coroutine.create(function()
423
		local PLAYSSOUND = false
424
		local SOUND
425
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
426
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
427
			PLAYSSOUND = true
428
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
429
		end
430
		EFFECT.Color = COLOR
431
		local MSH
432
		if TYPE == "Sphere" then
433
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
434
		elseif TYPE == "Block" then
435
			MSH = IT("BlockMesh", EFFECT)
436
			MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
437
		elseif TYPE == "Wave" then
438
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1254392112", "", SIZE, VT(0, 0, -SIZE.X / 8))
439
		elseif TYPE == "Ring" then
440
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
441
		elseif TYPE == "Slash" then
442
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
443
		elseif TYPE == "Round Slash" then
444
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
445
		elseif TYPE == "Swirl" then
446
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1254392112", "", SIZE, VT(0, 0, 0))
447
		elseif TYPE == "Skull" then
448
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
449
		elseif TYPE == "Crystal" then
450
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
451
		end
452
		if MSH ~= nil then
453
			local MOVESPEED
454
			if MOVEDIRECTION ~= nil then
455
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
456
			end
457
			local GROWTH = SIZE - ENDSIZE
458
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
459
			if TYPE == "Block" then
460
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
461
			else
462
				EFFECT.CFrame = CFRAME
463
			end
464
			for LOOP = 1, TIME + 1 do
465
				Swait()
466
				MSH.Scale = MSH.Scale - GROWTH / TIME
467
				if TYPE == "Wave" then
468
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
469
				end
470
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
471
				if TYPE == "Block" then
472
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
473
				else
474
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
475
				end
476
				if MOVEDIRECTION ~= nil then
477
					local ORI = EFFECT.Orientation
478
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
479
					EFFECT.Orientation = ORI
480
				end
481
			end
482
			if PLAYSSOUND == false then
483
				EFFECT:remove()
484
			else
485
				repeat
486
					Swait()
487
				until SOUND.Playing == false
488
				EFFECT:remove()
489
			end
490
		elseif PLAYSSOUND == false then
491
			EFFECT:remove()
492
		else
493
			repeat
494
				Swait()
495
			until SOUND.Playing == false
496
			EFFECT:remove()
497
		end
498
	end))
499
end
500
function MakeForm(PART, TYPE)
501
	if TYPE == "Cyl" then
502
		local MSH = IT("CylinderMesh", PART)
503
	elseif TYPE == "Ball" then
504
		local MSH = IT("SpecialMesh", PART)
505
		MSH.MeshType = "Sphere"
506
	elseif TYPE == "Wedge" then
507
		local MSH = IT("SpecialMesh", PART)
508
		MSH.MeshType = "Wedge"
509
	end
510
end
511
Debris = game:GetService("Debris")
512
function CastProperRay(StartPos, EndPos, Distance, Ignore)
513
	local DIRECTION = CF(StartPos, EndPos).lookVector
514
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
515
end
516
function turnto(position)
517
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
518
end
519
local DECAL = IT("Decal", nil)
520
function MagicRing(PART, CFRAME, VARIANT)
521
	if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
522
		local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0, 0, 0), false)
523
		local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
524
		local MESH = IT("BlockMesh", RING)
525
		local BOTTOMTEXTURE = DECAL:Clone()
526
		BOTTOMTEXTURE.Parent = RING
527
		BOTTOMTEXTURE.Face = "Bottom"
528
		BOTTOMTEXTURE.Name = "BottomTexture"
529
		local TOPTEXTURE = DECAL:Clone()
530
		TOPTEXTURE.Parent = RING
531
		TOPTEXTURE.Face = "Top"
532
		TOPTEXTURE.Name = "TopTexture"
533
		local T = script.RingEmit:Clone()
534
		T.Parent = RING
535
		local LIGHT = IT("PointLight", RING)
536
		if VARIANT == "Pheonix" then
537
			BOTTOMTEXTURE.Texture = " "
538
			TOPTEXTURE.Texture = " "
539
			T.Color = ColorSequence.new(PHEONIXCOLOR)
540
			CreateSound(0, RING, 5, 1, false)
541
		elseif VARIANT == "Sun" then
542
			BOTTOMTEXTURE.Texture = " "
543
			TOPTEXTURE.Texture = " "
544
			T.Color = ColorSequence.new(BRICKC("Really black").Color)
545
			CreateSound(0, RING, 5, 1, false)
546
			LIGHT.Color = BRICKC("Really black").Color
547
		elseif VARIANT == "Fire" then
548
			BOTTOMTEXTURE.Texture = " "
549
			TOPTEXTURE.Texture = " "
550
			T.Color = ColorSequence.new(BRICKC("Really black").Color)
551
			CreateSound(0, RING, 5, 1, false)
552
			LIGHT.Color = C3(0,0,0)
553
		end
554
		T.LightEmission = 1
555
		T:Emit(5)
556
		Debris:AddItem(T, 5)
557
		return RING, WELD, MESH
558
	end
559
end
560
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
561
	for _, c in pairs(PARENT:GetDescendants()) do
562
		if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
563
			local HUMANOID = c:FindFirstChildOfClass("Humanoid")
564
			local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
565
			if DIST > (TORSO.Position - FROM).Magnitude then
566
				table.insert(TABLE, c)
567
			end
568
		end
569
	end
570
end
571
local BACKATTACHMENT1 = IT("Attachment", Torso)
572
BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
573
local BACKATTACHMENT2 = IT("Attachment", Torso)
574
BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
575
local WINGS1 = script.Wing1
576
WINGS1.EmissionDirection="Right"
577
WINGS1.Size=NumberSequence.new(2)
578
local WINGS1B = script.Wing1B
579
WINGS1B.EmissionDirection="Right"
580
WINGS1B.Size=NumberSequence.new(2)
581
local WINGS2 = script.Wing2
582
WINGS2.EmissionDirection="Left"
583
WINGS2.Size=NumberSequence.new(2)
584
local WINGS2B = script.Wing2B
585
WINGS2B.EmissionDirection="Left"
586
WINGS2B.Size=NumberSequence.new(2)
587
WINGS1.Parent = BACKATTACHMENT1
588
WINGS1.LockedToPart=true
589
WINGS1B.Parent = BACKATTACHMENT1
590
WINGS1B.LockedToPart=true
591
WINGS2.Parent = BACKATTACHMENT2
592
WINGS2.LockedToPart=true
593
WINGS2B.Parent = BACKATTACHMENT2
594
WINGS2B.LockedToPart=true
595
local FACEATTACHMENT = IT("Attachment", Head)
596
FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
597
FACEATTACHMENT.Orientation = VT(0, 35, 0)
598
local EYE = script.Eye1
599
EYE.LockedToPart=true
600
EYE.Parent = FACEATTACHMENT
601
local EYE2 = script.Eye2
602
EYE2.Parent = FACEATTACHMENT
603
EYE2.LockedToPart=true
604
local TRAIL1 = script.PheonixTrail:Clone()
605
TRAIL1.LockedToPart=true
606
TRAIL1.Size=NumberSequence.new(.01)
607
TRAIL1.Parent = BACKATTACHMENT1
608
local TRAIL2 = script.PheonixTrail:Clone()
609
TRAIL2.LockedToPart=true
610
TRAIL2.Parent = BACKATTACHMENT2
611
TRAIL2.Size=NumberSequence.new(.01)
612
local LIGHT = IT("PointLight", FACEATTACHMENT)
613
LIGHT.Enabled = false
614
LIGHT.Brightness = 1
615
LIGHT.Range = 1
616
Humanoid.Died:connect(function()
617
	ATTACK = true
618
end)
619
function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant)
620
	local defence = Instance.new("BoolValue", Humanoid.Parent)
621
	defence.Name = "HitBy" .. Player.Name
622
	game:GetService("Debris"):AddItem(defence, 0.001)
623
	Damage = Damage * DAMAGEMULTIPLIER
624
	if Humanoid.Health ~= 0 then
625
		local CritChance = MRANDOM(1, 100)
626
		if Damage > Humanoid.Health then
627
			Damage = math.ceil(Humanoid.Health)
628
			if Damage == 0 then
629
				Damage = 0.1
630
			end
631
		end
632
		Humanoid.Health = Humanoid.Health - Damage
633
		if AfterBurn == true then
634
			Afterburn(Humanoid, Time, Damage / 5, Variant)
635
		end
636
	end
637
end
638
function Afterburn(Human, Time, Damage, Variant)
639
	coroutine.resume(coroutine.create(function()
640
		if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then
641
			local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")
642
			local FIRE
643
			if Variant == "Pheonix" then
644
				FIRE = script.PheonixBurn:Clone()
645
				FIRE.Parent = Torso
646
				FIRE.Enabled = true
647
			elseif Variant == "Sun" then
648
				FIRE = script.SunBurn:Clone()
649
				FIRE.Parent = Torso
650
				FIRE.Enabled = true
651
			elseif Variant == "Fire" then
652
				FIRE = script.Burn:Clone()
653
				FIRE.Parent = Torso
654
				FIRE.Enabled = true
655
			end
656
			for i = 1, Time do
657
				wait(0.5)
658
				Human.Health = Human.Health - Damage
659
			end
660
			wait(0.25)
661
			FIRE.Enabled = false
662
			Debris:AddItem(FIRE, 1.5)
663
		end
664
	end))
665
end
666
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES)
667
	local CHILDREN = workspace:GetChildren()
668
	for index, CHILD in pairs(CHILDREN) do
669
		if CHILD.ClassName == "Model" and CHILD ~= Character then
670
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
671
			if HUM then
672
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
673
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
674
					local DMG = MRANDOM(MINDMG, MAXDMG)
675
					ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT)
676
					if HUM.MaxHealth == math.huge then
677
						CHILD:BreakJoints()
678
					end
679
					if DOESCAMSHAKE == true then
680
						local CAMSHAKER = script.CamShake:Clone()
681
						CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
682
						CAMSHAKER.Timer.Value = CAMVALUES.TIMER
683
						CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
684
						CAMSHAKER.Parent = CHILD
685
						CAMSHAKER.Disabled = false
686
					end
687
					if FLING > 0 then
688
						for _, c in pairs(CHILD:GetChildren()) do
689
							if c:IsA("BasePart") then
690
								local bv = Instance.new("BodyVelocity")
691
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
692
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
693
								bv.Parent = c
694
								Debris:AddItem(bv, 0.05)
695
							end
696
						end
697
					end
698
				end
699
			end
700
		end
701
	end
702
end
703
function ShootingStar()
704
	ATTACK = true
705
	Rooted = false
706
	local GYRO = IT("BodyGyro", RootPart)
707
	GYRO.D = 20
708
	GYRO.P = 4000
709
	GYRO.MaxTorque = VT(0, 40000, 0)
710
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
711
	coroutine.resume(coroutine.create(function()
712
		for i = 1, 35 do
713
			Swait()
714
			MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
715
		end
716
	end))
717
	for i = 0, 1.8, 0.1 / Animation_Speed do
718
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
719
		Swait()
720
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
721
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
722
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
723
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
724
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
725
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
726
	end
727
	coroutine.resume(coroutine.create(function()
728
		local POSITION = Mouse.Hit.p
729
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
730
		FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
731
		local FIRE = script.SunFireball:Clone()
732
		FIRE.Parent = FIREBALL
733
		FIRE.Enabled = true
734
		local EXPLOSION = script.SunExplosion:Clone()
735
		EXPLOSION.Parent = FIREBALL
736
		CreateSound(463598785, FIREBALL, 5, 1, false)
737
		local DISTANCE = (RootPart.Position - POSITION).Magnitude
738
		local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 145, 0)) * CF(0, 0, -DISTANCE / 2)
739
		for i = 1, 75 do
740
			Swait()
741
			FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
742
		end
743
		FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
744
		for i = 1, 300 do
745
			Swait()
746
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
747
			local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
748
			if HITFLOOR ~= nil then
749
				FIRE.Enabled = false
750
				EXPLOSION:Emit(500)
751
				CreateSound(416328540, FIREBALL, 5, 1, false)
752
				ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
753
					SHAKE = 1,
754
					TIMER = 6,
755
					DOESFADE = true
756
				})
757
				WACKYEFFECT({
758
					EffectType = "Sphere",
759
					Size = VT(0, 0, 0),
760
					Size2 = VT(150, 150, 150),
761
					Transparency = 0,
762
					Transparency2 = 1,
763
					CFrame = CF(FIREBALL.Position),
764
					MoveToPos = nil,
765
					RotationX = 0,
766
					RotationY = 0,
767
					RotationZ = 0,
768
					Material = "Neon",
769-
					Color = C3(0.16, 0.012, 0.16),
769+
					Color = C3(17/255, 17/255, 17/255),
770
					SoundID = nil,
771
					SoundPitch = nil,
772
					SoundVolume = nil
773
				})
774
				wait(5)
775
				break
776
			end
777
		end
778
		FIREBALL:remove()
779
	end))
780
	GYRO:remove()
781
	RING.Anchored = true
782
	WELD:remove()
783
	coroutine.resume(coroutine.create(function()
784
		for i = 1, 35 do
785
			Swait()
786
			MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
787
		end
788
		RING:remove()
789
	end))
790
	ATTACK = false
791
	Rooted = false
792
end
793
function PheonixRage()
794
	ATTACK = true
795
	Rooted = true
796
	local A = false
797
	local B = false
798
	local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix")
799
	WELD:remove()
800
	RING.Anchored = true
801
	coroutine.resume(coroutine.create(function()
802
		for i = 1, 45 do
803
			Swait()
804
			MESH.Scale = MESH.Scale + VT(15, 0, 15)
805
		end
806
	end))
807
	coroutine.resume(coroutine.create(function()
808
		repeat
809
			Swait()
810
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
811
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
812
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
813
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
814
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
815
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
816
		until A == true
817
		repeat
818
			Swait()
819
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
820
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
821
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
822
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
823
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
824
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
825
		until B == true
826
		for i = 1, 45 do
827
			Swait()
828
			MESH.Scale = MESH.Scale - VT(15, 0, 15)
829
		end
830
		RING:remove()
831
	end))
832
	wait(1)
833
	for i = 1, 4 do
834
		WACKYEFFECT({
835
			EffectType = "Sphere",
836
			Size = VT(45, 45, 45),
837
			Size2 = VT(0, 0, 0),
838
			Transparency = 1,
839
			Transparency2 = 0.8,
840
			CFrame = CF(Torso.Position),
841
			MoveToPos = nil,
842
			RotationX = 0,
843
			RotationY = 0,
844
			RotationZ = 0,
845
			Material = "Neon",
846
			Color = PHEONIXCOLOR,
847
			SoundID = nil,
848
			SoundPitch = nil,
849
			SoundVolume = nil
850
		})
851
		wait(0.5)
852
	end
853
	A = true
854
	ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
855
		SHAKE = 2,
856
		TIMER = 25,
857
		DOESFADE = true
858
	})
859
	WACKYEFFECT({
860
		Time = 60,
861
		EffectType = "Sphere",
862
		Size = VT(40, 40, 40),
863
		Size2 = VT(140, 140, 140),
864
		Transparency = 0,
865
		Transparency2 = 1,
866
		CFrame = CF(Torso.Position),
867
		MoveToPos = nil,
868
		RotationX = 0,
869
		RotationY = 0,
870
		RotationZ = 0,
871
		Material = "Neon",
872-
		Color = C3(0.16, 0.012, 0.16),
872+
		Color = C3(17/255, 17/255, 17/255),
873
		SoundID = nil,
874
		SoundPitch = nil,
875
		SoundVolume = nil
876
	})
877
	WACKYEFFECT({
878
		Time = 60,
879
		EffectType = "Sphere",
880
		Size = VT(50, 50, 50),
881
		Size2 = VT(150, 150, 150),
882
		Transparency = 0.5,
883
		Transparency2 = 1,
884
		CFrame = CF(Torso.Position),
885
		MoveToPos = nil,
886
		RotationX = 0,
887
		RotationY = 0,
888
		RotationZ = 0,
889
		Material = "Neon",
890
		Color = PHEONIXCOLOR,
891
		SoundID = 462692971,
892
		SoundPitch = 0.8,
893
		SoundVolume = 6
894
	})
895
	local EXPLOSION = script.PheonixExplosion1:Clone()
896
	EXPLOSION.Parent = Torso
897
	EXPLOSION.Enabled = true
898
	local EXPLOSION2 = script.PheonixExplosion2:Clone()
899
	EXPLOSION2.Parent = Torso
900
	EXPLOSION2.Enabled = true
901
	wait(0.3)
902
	EXPLOSION.Enabled = false
903
	EXPLOSION2.Enabled = false
904
	Debris:AddItem(EXPLOSION, 5)
905
	Debris:AddItem(EXPLOSION2, 5)
906
	wait(1)
907
	B = true
908
	ATTACK = false
909
	Rooted = false
910
end
911
function Breath()
912
	ATTACK = true
913
	local POSITION = IT("BodyPosition", RootPart)
914
	POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p
915
	POSITION.D = 1250
916
	POSITION.P = 40000
917
	POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
918
	WINGS = true
919
	local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
920
	coroutine.resume(coroutine.create(function()
921
		for i = 1, 20 do
922
			Swait()
923
			MESH.Scale = MESH.Scale + VT(4, 0, 4)
924
		end
925
	end))
926
	for i = 1, 25 do
927
		Swait()
928
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
929
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
930
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
931
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
932
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
933
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
934
	end
935
	local GYRO = IT("BodyGyro", RootPart)
936
	GYRO.D = 20
937
	GYRO.P = 4000
938
	GYRO.MaxTorque = VT(0, 40000, 0)
939
	coroutine.resume(coroutine.create(function()
940
		repeat
941
			Swait()
942
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
943
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
944
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
945
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
946
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
947
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
948
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
949
		until ATTACK == false
950
		POSITION:remove()
951
		GYRO:remove()
952
		for i = 1, 20 do
953
			Swait()
954
			MESH.Scale = MESH.Scale - VT(4, 0, 4)
955
		end
956
		RING:remove()
957
	end))
958
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
959
	for i = 1, 35 do
960
		Swait()
961
		MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
962
	end
963
	wait(0.3)
964
	coroutine.resume(coroutine.create(function()
965
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
966
		FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p)
967
		local PARTICLES1 = script.PheonixFireball1:Clone()
968
		PARTICLES1.Parent = FIREBALL
969
		PARTICLES1.Enabled = true
970
		local PARTICLES2 = script.PheonixFireball2:Clone()
971
		PARTICLES2.Parent = FIREBALL
972
		PARTICLES2.Enabled = true
973
		CreateSound(463593339, FIREBALL, 6, 1, false)
974
		for i = 1, 250 do
975
			Swait()
976
			local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
977
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
978
			if HIT then
979
				ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
980
					SHAKE = 2,
981
					TIMER = 25,
982
					DOESFADE = true
983
				})
984
				WACKYEFFECT({
985
					Time = 60,
986
					EffectType = "Sphere",
987
					Size = VT(0, 0, 0),
988
					Size2 = VT(100, 100, 100),
989
					Transparency = 0,
990
					Transparency2 = 1,
991
					CFrame = CF(FIREBALL.Position),
992
					MoveToPos = nil,
993
					RotationX = 0,
994
					RotationY = 0,
995
					RotationZ = 0,
996
					Material = "Neon",
997-
					Color = C3(0.16, 0.012, 0.16),
997+
					Color = C3(17/255, 17/255, 17/255),
998
					SoundID = nil,
999
					SoundPitch = nil,
1000
					SoundVolume = nil
1001
				})
1002
				WACKYEFFECT({
1003
					Time = 60,
1004
					EffectType = "Sphere",
1005
					Size = VT(0, 0, 0),
1006
					Size2 = VT(120, 120, 120),
1007
					Transparency = 0.5,
1008
					Transparency2 = 1,
1009
					CFrame = CF(FIREBALL.Position),
1010
					MoveToPos = nil,
1011
					RotationX = 0,
1012
					RotationY = 0,
1013
					RotationZ = 0,
1014
					Material = "Neon",
1015
					Color = PHEONIXCOLOR,
1016
					SoundID = 462692971,
1017
					SoundPitch = 1,
1018
					SoundVolume = 6
1019
				})
1020
				PARTICLES1.Enabled = false
1021
				PARTICLES2.Enabled = false
1022
				local EXPLOSION = script.PheonixExplosion1:Clone()
1023
				EXPLOSION.Parent = FIREBALL
1024
				EXPLOSION.Enabled = true
1025
				local EXPLOSION2 = script.PheonixExplosion2:Clone()
1026
				EXPLOSION2.Parent = FIREBALL
1027
				EXPLOSION2.Enabled = true
1028
				wait(0.3)
1029
				EXPLOSION.Enabled = false
1030
				EXPLOSION2.Enabled = false
1031
				break
1032
			end
1033
		end
1034
		PARTICLES1.Enabled = false
1035
		PARTICLES2.Enabled = false
1036
		Debris:AddItem(FIREBALL, 7)
1037
	end))
1038
	wait(0.3)
1039
	coroutine.resume(coroutine.create(function()
1040
		WELD:remove()
1041
		RING.Anchored = true
1042
		for i = 1, 35 do
1043
			Swait()
1044
			MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
1045
		end
1046
		RING:remove()
1047
	end))
1048
	WINGS = false
1049
	ATTACK = false
1050
end
1051
function ThreeShootingStars()
1052
	ATTACK = true
1053
	Rooted = false
1054
	local POS1, POS2, POS3
1055
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
1056
	coroutine.resume(coroutine.create(function()
1057
		for i = 1, 35 do
1058
			Swait()
1059
			MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
1060
		end
1061
	end))
1062
	coroutine.resume(coroutine.create(function()
1063
		repeat
1064
			Swait()
1065
			if POS1 then
1066
				coroutine.resume(coroutine.create(function()
1067
					local POSITION = POS1
1068
					local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Dark indigo", "Fire", VT(3, 3, 3))
1069
					FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
1070
					local FIRE = script.SunFireball:Clone()
1071
					FIRE.Parent = FIREBALL
1072
					FIRE.Enabled = true
1073
					local EXPLOSION = script.SunExplosion:Clone()
1074
					EXPLOSION.Parent = FIREBALL
1075
					CreateSound(463598785, FIREBALL, 5, 1, false)
1076
					local DISTANCE = (RootPart.Position - POSITION).Magnitude
1077
					local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2)
1078
					for i = 1, 75 do
1079
						Swait()
1080
						FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
1081
					end
1082
					FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
1083
					for i = 1, 300 do
1084
						Swait()
1085
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1086
						local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
1087
						if HITFLOOR ~= nil then
1088
							FIRE.Enabled = false
1089
							EXPLOSION:Emit(500)
1090
							CreateSound(416328540, FIREBALL, 5, 1, false)
1091
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
1092
								SHAKE = 1,
1093
								TIMER = 6,
1094
								DOESFADE = true
1095
							})
1096
							WACKYEFFECT({
1097
								EffectType = "Sphere",
1098
								Size = VT(0, 0, 0),
1099
								Size2 = VT(150, 150, 150),
1100
								Transparency = 0,
1101
								Transparency2 = 1,
1102
								CFrame = CF(FIREBALL.Position),
1103
								MoveToPos = nil,
1104
								RotationX = 0,
1105
								RotationY = 0,
1106
								RotationZ = 0,
1107
								Material = "Neon",
1108-
								Color = C3(0.16, 0.012, 0.16),
1108+
								Color = C3(17/255, 17/255, 17/255),
1109
								SoundID = nil,
1110
								SoundPitch = nil,
1111
								SoundVolume = nil
1112
							})
1113
							wait(5)
1114
							break
1115
						end
1116
					end
1117
					FIREBALL:remove()
1118
				end))
1119
				POS1 = nil
1120
			end
1121
			if POS2 then
1122
				coroutine.resume(coroutine.create(function()
1123
					local POSITION = POS2
1124
					local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
1125
					FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
1126
					local FIRE = script.SunFireball:Clone()
1127
					FIRE.Parent = FIREBALL
1128
					FIRE.Enabled = true
1129
					local EXPLOSION = script.SunExplosion:Clone()
1130
					EXPLOSION.Parent = FIREBALL
1131
					CreateSound(463598785, FIREBALL, 5, 1, false)
1132
					local DISTANCE = (RootPart.Position - POSITION).Magnitude
1133
					local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2)
1134
					for i = 1, 75 do
1135
						Swait()
1136
						FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
1137
					end
1138
					FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
1139
					for i = 1, 300 do
1140
						Swait()
1141
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1142
						local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
1143
						if HITFLOOR ~= nil then
1144
							FIRE.Enabled = false
1145
							EXPLOSION:Emit(500)
1146
							CreateSound(416328540, FIREBALL, 5, 1, false)
1147
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
1148
								SHAKE = 1,
1149
								TIMER = 6,
1150
								DOESFADE = true
1151
							})
1152
							WACKYEFFECT({
1153
								EffectType = "Sphere",
1154
								Size = VT(0, 0, 0),
1155
								Size2 = VT(150, 150, 150),
1156
								Transparency = 0,
1157
								Transparency2 = 1,
1158
								CFrame = CF(FIREBALL.Position),
1159
								MoveToPos = nil,
1160
								RotationX = 0,
1161
								RotationY = 0,
1162
								RotationZ = 0,
1163
								Material = "Neon",
1164-
								Color = C3(0.16, 0.012, 0.16),
1164+
								Color = C3(17/255, 17/255, 17/255),
1165
								SoundID = nil,
1166
								SoundPitch = nil,
1167
								SoundVolume = nil
1168
							})
1169
							wait(5)
1170
							break
1171
						end
1172
					end
1173
					FIREBALL:remove()
1174
				end))
1175
				POS2 = nil
1176
			end
1177
			if POS3 then
1178
				coroutine.resume(coroutine.create(function()
1179
					local POSITION = POS3
1180
					local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
1181
					FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
1182
					local FIRE = script.SunFireball:Clone()
1183
					FIRE.Parent = FIREBALL
1184
					FIRE.Enabled = true
1185
					local EXPLOSION = script.SunExplosion:Clone()
1186
					EXPLOSION.Parent = FIREBALL
1187
					CreateSound(463598785, FIREBALL, 5, 1, false)
1188
					local DISTANCE = (RootPart.Position - POSITION).Magnitude
1189
					local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2)
1190
					for i = 1, 75 do
1191
						Swait()
1192
						FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
1193
					end
1194
					FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
1195
					for i = 1, 300 do
1196
						Swait()
1197
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1198
						local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
1199
						if HITFLOOR ~= nil then
1200
							FIRE.Enabled = false
1201
							EXPLOSION:Emit(500)
1202
							CreateSound(416328540, FIREBALL, 5, 1, false)
1203
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
1204
								SHAKE = 1,
1205
								TIMER = 6,
1206
								DOESFADE = true
1207
							})
1208
							WACKYEFFECT({
1209
								EffectType = "Sphere",
1210
								Size = VT(0, 0, 0),
1211
								Size2 = VT(150, 150, 150),
1212
								Transparency = 0,
1213
								Transparency2 = 1,
1214
								CFrame = CF(FIREBALL.Position),
1215
								MoveToPos = nil,
1216
								RotationX = 0,
1217
								RotationY = 0,
1218
								RotationZ = 0,
1219
								Material = "Neon",
1220-
								Color = C3(0.16, 0.012, 0.16),
1220+
								Color = C3(17/255, 17/255, 17/255),
1221
								SoundID = nil,
1222
								SoundPitch = nil,
1223
								SoundVolume = nil
1224
							})
1225
							wait(5)
1226
							break
1227
						end
1228
					end
1229
					FIREBALL:remove()
1230
				end))
1231
				POS3 = nil
1232
			end
1233
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
1234
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
1235
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1236
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1237
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1238
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1239
		until ATTACK == false
1240
	end))
1241
	wait(0.4)
1242
	POS1 = Mouse.Hit.p
1243
	wait(0.5)
1244
	POS2 = Mouse.Hit.p
1245
	wait(0.6)
1246
	POS3 = Mouse.Hit.p
1247
	wait(0.3)
1248
	RING.Anchored = true
1249
	WELD:remove()
1250
	coroutine.resume(coroutine.create(function()
1251
		for i = 1, 35 do
1252
			Swait()
1253
			MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
1254
		end
1255
		RING:remove()
1256
	end))
1257
	ATTACK = false
1258
	Rooted = false
1259
end
1260
function PheonixFlare()
1261
	ATTACK = true
1262
	Rooted = false
1263
	PARTICLES = true
1264
	coroutine.resume(coroutine.create(function()
1265
		repeat
1266
			Swait()
1267
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1268
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
1269
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1270
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1271
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1272
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1273
		until ATTACK == false
1274
	end))
1275
	CreateSound(462676772, Torso, 7, 1, false)
1276
	WINGS1.Acceleration = VT(9, 0, -12)
1277
	WINGS1B.Acceleration = VT(9, 0, -12)
1278
	WINGS2.Acceleration = VT(-9, 0, -12)
1279
	WINGS2B.Acceleration = VT(-9, 0, -12)
1280
	wait(0.25)
1281
	coroutine.resume(coroutine.create(function()
1282
		local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0))
1283
		WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1284
		local PARTICLES = script.Gale:Clone()
1285
		PARTICLES.Parent = WIND
1286
		PARTICLES.Enabled = true
1287
		CreateSound(376218535, WIND, 6, 1, false)
1288
		for i = 1, 250 do
1289
			Swait()
1290
			local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
1291
			WIND.CFrame = WIND.CFrame * CF(0, 0, -2)
1292
			if HIT then
1293
				ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, {
1294
					SHAKE = 3,
1295
					TIMER = 7,
1296
					DOESFADE = true
1297
				})
1298
				CreateSound(260430117, WIND, 3, 1, false)
1299
				WACKYEFFECT({
1300
					Time = 25,
1301
					EffectType = "Wave",
1302
					Size = VT(20, 0, 20),
1303
					Size2 = VT(60, 8, 60),
1304
					Transparency = 0.9,
1305
					Transparency2 = 1,
1306
					CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)),
1307
					MoveToPos = nil,
1308
					RotationX = 0,
1309
					RotationY = 0,
1310
					RotationZ = 0,
1311
					Material = "Neon",
1312-
					Color = C3(0.36, 0.012, 0.36),
1312+
					Color = C3(27/255, 42/255, 53/255),
1313
					SoundID = nil,
1314
					SoundPitch = nil,
1315
					SoundVolume = nil
1316
				})
1317
				WACKYEFFECT({
1318
					Time = 25,
1319
					EffectType = "Wave",
1320
					Size = VT(20, 0, 20),
1321
					Size2 = VT(60, 8, 60),
1322
					Transparency = 0.9,
1323
					Transparency2 = 1,
1324
					CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)),
1325
					MoveToPos = nil,
1326
					RotationX = 0,
1327
					RotationY = 0,
1328
					RotationZ = 0,
1329
					Material = "Neon",
1330-
					Color = C3(0.36, 0.012, 0.36),
1330+
					Color = C3(27/255, 42/255, 53/255),
1331
					SoundID = nil,
1332
					SoundPitch = nil,
1333
					SoundVolume = nil
1334
				})
1335
				break
1336
			end
1337
		end
1338
		PARTICLES.Enabled = false
1339
		Debris:AddItem(WIND, 7)
1340
	end))
1341
	wait(1)
1342
	CreateSound(462676772, Torso, 7, 1, false)
1343
	WINGS1.Acceleration = VT(9, 1, 4)
1344
	WINGS1B.Acceleration = VT(9, 1, 4)
1345
	WINGS2.Acceleration = VT(-9, 1, 4)
1346
	WINGS2B.Acceleration = VT(-9, 1, 4)
1347
	wait(0.25)
1348
	coroutine.resume(coroutine.create(function()
1349
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
1350
		FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1351
		local PARTICLES1 = script.PheonixFireball1:Clone()
1352
		PARTICLES1.Parent = FIREBALL
1353
		PARTICLES1.Enabled = true
1354
		local PARTICLES2 = script.PheonixFireball2:Clone()
1355
		PARTICLES2.Parent = FIREBALL
1356
		PARTICLES2.Enabled = true
1357
		CreateSound(463593339, FIREBALL, 6, 1, false)
1358
		for i = 1, 250 do
1359
			Swait()
1360
			local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
1361
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
1362
			if HIT then
1363
				ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
1364
					SHAKE = 2,
1365
					TIMER = 25,
1366
					DOESFADE = true
1367
				})
1368
				WACKYEFFECT({
1369
					Time = 60,
1370
					EffectType = "Sphere",
1371
					Size = VT(0, 0, 0),
1372
					Size2 = VT(120, 120, 120),
1373
					Transparency = 0,
1374
					Transparency2 = 1,
1375
					CFrame = CF(FIREBALL.Position),
1376
					MoveToPos = nil,
1377
					RotationX = 0,
1378
					RotationY = 0,
1379
					RotationZ = 0,
1380
					Material = "Neon",
1381-
					Color = C3(0.16, 0.012, 0.16),
1381+
					Color = C3(17/255, 17/255, 17/255),
1382
					SoundID = nil,
1383
					SoundPitch = nil,
1384
					SoundVolume = nil
1385
				})
1386
				WACKYEFFECT({
1387
					Time = 60,
1388
					EffectType = "Sphere",
1389
					Size = VT(0, 0, 0),
1390
					Size2 = VT(140, 140, 140),
1391
					Transparency = 0.5,
1392
					Transparency2 = 1,
1393
					CFrame = CF(FIREBALL.Position),
1394
					MoveToPos = nil,
1395
					RotationX = 0,
1396
					RotationY = 0,
1397
					RotationZ = 0,
1398
					Material = "Neon",
1399
					Color = PHEONIXCOLOR,
1400
					SoundID = 462692971,
1401
					SoundPitch = 1,
1402
					SoundVolume = 6
1403
				})
1404
				PARTICLES1.Enabled = false
1405
				PARTICLES2.Enabled = false
1406
				local EXPLOSION = script.PheonixExplosion1:Clone()
1407
				EXPLOSION.Parent = FIREBALL
1408
				EXPLOSION.Enabled = true
1409
				local EXPLOSION2 = script.PheonixExplosion2:Clone()
1410
				EXPLOSION2.Parent = FIREBALL
1411
				EXPLOSION2.Enabled = true
1412
				wait(0.3)
1413
				EXPLOSION.Enabled = false
1414
				EXPLOSION2.Enabled = false
1415
				break
1416
			end
1417
		end
1418
		PARTICLES1.Enabled = false
1419
		PARTICLES2.Enabled = false
1420
		Debris:AddItem(FIREBALL, 7)
1421
	end))
1422
	wait(0.5)
1423
	PARTICLES = false
1424
	ATTACK = false
1425
	Rooted = false
1426
end
1427
function PheonixFireballs()
1428
	ATTACK = true
1429
	local POWER = 1
1430
	DIRECTTURN = true
1431
	coroutine.resume(coroutine.create(function()
1432
		repeat
1433
			Swait()
1434
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1435
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1436
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1437
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1438
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1439
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1440
		until ATTACK == false
1441
	end))
1442
	local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
1443
	local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
1444
	for i = 1, 35 do
1445
		Swait()
1446
		MESH1.Scale = MESH1.Scale + VT(6, 0, 6)
1447
		MESH2.Scale = MESH2.Scale + VT(3, 0, 3)
1448
	end
1449
	repeat
1450
		wait()
1451
		POWER = POWER + 1
1452
	until KEYHOLD == false
1453
	if POWER <= 30 then
1454
		for i = 1, 15 do
1455
			wait(0.1)
1456
			coroutine.resume(coroutine.create(function()
1457
				local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2))
1458
				FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1459
				local PARTICLES1 = script.PheonixFireball1:Clone()
1460
				PARTICLES1.Parent = FIREBALL
1461
				PARTICLES1.Enabled = true
1462
				local PARTICLES2 = script.PheonixFireball2:Clone()
1463
				PARTICLES2.Parent = FIREBALL
1464
				PARTICLES2.Enabled = true
1465
				PARTICLES1.Size = NumberSequence.new(3, 0)
1466
				PARTICLES2.Size = NumberSequence.new(3, 0)
1467
				CreateSound(463593339, FIREBALL, 6, 1, false)
1468
				for i = 1, 250 do
1469
					Swait()
1470
					local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
1471
					FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1472
					if HIT then
1473
						ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, {
1474
							SHAKE = 2,
1475
							TIMER = 25,
1476
							DOESFADE = true
1477
						})
1478
						WACKYEFFECT({
1479
							Time = 60,
1480
							EffectType = "Sphere",
1481
							Size = VT(0, 0, 0),
1482
							Size2 = VT(50, 50, 50),
1483
							Transparency = 0,
1484
							Transparency2 = 1,
1485
							CFrame = CF(FIREBALL.Position),
1486
							MoveToPos = nil,
1487
							RotationX = 0,
1488
							RotationY = 0,
1489
							RotationZ = 0,
1490
							Material = "Neon",
1491-
							Color = C3(0.16, 0.012, 0.16),
1491+
							Color = C3(17/255, 17/255, 17/255),
1492
							SoundID = nil,
1493
							SoundPitch = nil,
1494
							SoundVolume = nil
1495
						})
1496
						WACKYEFFECT({
1497
							Time = 60,
1498
							EffectType = "Sphere",
1499
							Size = VT(0, 0, 0),
1500
							Size2 = VT(60, 60, 60),
1501
							Transparency = 0.5,
1502
							Transparency2 = 1,
1503
							CFrame = CF(FIREBALL.Position),
1504
							MoveToPos = nil,
1505
							RotationX = 0,
1506
							RotationY = 0,
1507
							RotationZ = 0,
1508
							Material = "Neon",
1509
							Color = PHEONIXCOLOR,
1510
							SoundID = 462692971,
1511
							SoundPitch = 1,
1512
							SoundVolume = 6
1513
						})
1514
						PARTICLES1.Enabled = false
1515
						PARTICLES2.Enabled = false
1516
						local EXPLOSION = script.PheonixExplosion1:Clone()
1517
						EXPLOSION.Parent = FIREBALL
1518
						EXPLOSION.Enabled = true
1519
						local EXPLOSION2 = script.PheonixExplosion2:Clone()
1520
						EXPLOSION2.Parent = FIREBALL
1521
						EXPLOSION2.Enabled = true
1522
						wait(0.3)
1523
						EXPLOSION.Enabled = false
1524
						EXPLOSION2.Enabled = false
1525
						break
1526
					end
1527
				end
1528
				PARTICLES1.Enabled = false
1529
				PARTICLES2.Enabled = false
1530
				Debris:AddItem(FIREBALL, 7)
1531
			end))
1532
		end
1533
	else
1534
		for E = 1, 5 do
1535
			do
1536
				local OFFSET = ANGLES(RAD(72 * E), RAD(72 * E), RAD(0)) * CF(0, 0, 75)
1537
				coroutine.resume(coroutine.create(function()
1538
					local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
1539
					FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p)
1540
					local PARTICLES1 = script.PheonixFireball1:Clone()
1541
					PARTICLES1.Parent = FIREBALL
1542
					PARTICLES1.Enabled = true
1543
					local PARTICLES2 = script.PheonixFireball2:Clone()
1544
					PARTICLES2.Parent = FIREBALL
1545
					PARTICLES2.Enabled = true
1546
					CreateSound(463593339, FIREBALL, 6, 1, false)
1547
					for i = 1, 650 do
1548
						Swait()
1549
						local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
1550
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
1551
						if HIT then
1552
							ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
1553
								SHAKE = 2,
1554
								TIMER = 25,
1555
								DOESFADE = true
1556
							})
1557
							WACKYEFFECT({
1558
								Time = 60,
1559
								EffectType = "Sphere",
1560
								Size = VT(0, 0, 0),
1561
								Size2 = VT(120, 120, 120),
1562
								Transparency = 0,
1563
								Transparency2 = 1,
1564
								CFrame = CF(FIREBALL.Position),
1565
								MoveToPos = nil,
1566
								RotationX = 0,
1567
								RotationY = 0,
1568
								RotationZ = 0,
1569
								Material = "Neon",
1570-
								Color = C3(0.16, 0.012, 0.16),
1570+
								Color = C3(17/255, 17/255, 17/255),
1571
								SoundID = nil,
1572
								SoundPitch = nil,
1573
								SoundVolume = nil
1574
							})
1575
							WACKYEFFECT({
1576
								Time = 60,
1577
								EffectType = "Sphere",
1578
								Size = VT(0, 0, 0),
1579
								Size2 = VT(140, 140, 140),
1580
								Transparency = 0.5,
1581
								Transparency2 = 1,
1582
								CFrame = CF(FIREBALL.Position),
1583
								MoveToPos = nil,
1584
								RotationX = 0,
1585
								RotationY = 0,
1586
								RotationZ = 0,
1587
								Material = "Neon",
1588
								Color = PHEONIXCOLOR,
1589
								SoundID = 462692971,
1590
								SoundPitch = 1,
1591
								SoundVolume = 6
1592
							})
1593
							PARTICLES1.Enabled = false
1594
							PARTICLES2.Enabled = false
1595
							local EXPLOSION = script.PheonixExplosion1:Clone()
1596
							EXPLOSION.Parent = FIREBALL
1597
							EXPLOSION.Enabled = true
1598
							local EXPLOSION2 = script.PheonixExplosion2:Clone()
1599
							EXPLOSION2.Parent = FIREBALL
1600
							EXPLOSION2.Enabled = true
1601
							wait(0.3)
1602
							EXPLOSION.Enabled = false
1603
							EXPLOSION2.Enabled = false
1604
							break
1605
						end
1606
					end
1607
					PARTICLES1.Enabled = false
1608
					PARTICLES2.Enabled = false
1609
					Debris:AddItem(FIREBALL, 7)
1610
				end))
1611
			end
1612
		end
1613
	end
1614
	wait(0.5)
1615
	WELD1:remove()
1616
	WELD2:remove()
1617
	RING1.Anchored = true
1618
	RING2.Anchored = true
1619
	coroutine.resume(coroutine.create(function()
1620
		for i = 1, 35 do
1621
			Swait()
1622
			MESH1.Scale = MESH1.Scale - VT(6, 0, 6)
1623
			MESH2.Scale = MESH2.Scale - VT(3, 0, 3)
1624
		end
1625
		RING1:remove()
1626
		RING2:remove()
1627
	end))
1628
	DIRECTTURN = false
1629
	ATTACK = false
1630
end
1631
function PheonixJump()
1632
	local DONE = false
1633
	local STRENGTH = 15
1634
	local UP = 5
1635
	ATTACK = true
1636
	DIRECTTURN = true
1637
	local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
1638
	for i = 1, 30 do
1639
		Swait()
1640
		MESH.Scale = MESH.Scale + VT(12, 0, 12)
1641
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
1642
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1643
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1644
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1645
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1646
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
1647
	end
1648
	local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
1649
		if NEWKEY == "w" and VALUE2 == false then
1650
			coroutine.resume(coroutine.create(function()
1651
				ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, {
1652
					SHAKE = 2,
1653
					TIMER = 15,
1654
					DOESFADE = true
1655
				})
1656
				WACKYEFFECT({
1657
					EffectType = "Sphere",
1658
					Size = VT(0, 0, 0),
1659
					Size2 = VT(50, 50, 50),
1660
					Transparency = 0,
1661
					Transparency2 = 1,
1662
					CFrame = CF(RING.Position),
1663
					MoveToPos = nil,
1664
					RotationX = 0,
1665
					RotationY = 0,
1666
					RotationZ = 0,
1667
					Material = "Neon",
1668-
					Color = C3(0.16, 0.012, 0.16),
1668+
					Color = C3(17/255, 17/255, 17/255),
1669
					SoundID = nil,
1670
					SoundPitch = nil,
1671
					SoundVolume = nil
1672
				})
1673
				WACKYEFFECT({
1674
					EffectType = "Sphere",
1675
					Size = VT(0, 0, 0),
1676
					Size2 = VT(70, 70, 70),
1677
					Transparency = 0.5,
1678
					Transparency2 = 1,
1679
					CFrame = CF(RING.Position),
1680
					MoveToPos = nil,
1681
					RotationX = 0,
1682
					RotationY = 0,
1683
					RotationZ = 0,
1684
					Material = "Neon",
1685
					Color = PHEONIXCOLOR,
1686
					SoundID = 462692971,
1687
					SoundPitch = 1.2,
1688
					SoundVolume = 6
1689
				})
1690
				local EXPLOSION = script.PheonixExplosion1:Clone()
1691
				EXPLOSION.Parent = RING
1692
				EXPLOSION.Enabled = true
1693
				local EXPLOSION2 = script.PheonixExplosion2:Clone()
1694
				EXPLOSION2.Parent = RING
1695
				EXPLOSION2.Enabled = true
1696
				wait(0.3)
1697
				EXPLOSION.Enabled = false
1698
				EXPLOSION2.Enabled = false
1699
				Debris:AddItem(RING, 3)
1700
			end))
1701
			CreateSound(462676772, Torso, 8, 1, false)
1702
			coroutine.resume(coroutine.create(function()
1703
				for i = 1, 25 do
1704
					Swait()
1705
					ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, {
1706
						SHAKE = 4,
1707
						TIMER = 5,
1708
						DOESFADE = true
1709
					})
1710
					WACKYEFFECT({
1711
						Time = 10,
1712
						EffectType = "Wave",
1713
						Size = VT(45, 5, 45) / 3,
1714
						Size2 = VT(35, 200, 35) / 5,
1715
						Transparency = 0.8,
1716
						Transparency2 = 1,
1717
						CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
1718
						MoveToPos = nil,
1719
						RotationX = 0,
1720
						RotationY = 5,
1721
						RotationZ = 0,
1722
						Material = "Neon",
1723-
						Color = C3(0.16, 0.012, 0.16),
1723+
						Color = C3(17/255, 17/255, 17/255),
1724
						SoundID = nil,
1725
						SoundPitch = nil,
1726
						SoundVolume = nil
1727
					})
1728
					WACKYEFFECT({
1729
						Time = 10,
1730
						EffectType = "Wave",
1731
						Size = VT(55, 5, 55) / 3,
1732
						Size2 = VT(45, 200, 45) / 5,
1733
						Transparency = 0.8,
1734
						Transparency2 = 1,
1735
						CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
1736
						MoveToPos = nil,
1737
						RotationX = 0,
1738
						RotationY = -5,
1739
						RotationZ = 0,
1740
						Material = "Neon",
1741
						Color = PHEONIXCOLOR,
1742
						SoundID = nil,
1743
						SoundPitch = nil,
1744
						SoundVolume = nil
1745
					})
1746
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(28.8 * i)), 2 / Animation_Speed)
1747
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
1748
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1749
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1750
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1751
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1752
				end
1753
				ATTACK = false
1754
			end))
1755
			repeat
1756
				VALUE2 = true
1757
				Swait()
1758
				BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p
1759
				if STRENGTH > 2.5 then
1760
					STRENGTH = STRENGTH - 0.1
1761
				else
1762
					STRENGTH = 2.5
1763
				end
1764
				if UP > 0 then
1765
					UP = UP - 0.15
1766
				else
1767
					UP = 0
1768
				end
1769
			until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
1770
			DONE = true
1771
		end
1772
	end)
1773
	repeat
1774
		Swait()
1775
		if STRENGTH < 50 then
1776
			STRENGTH = STRENGTH + 0.15
1777
			MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5)
1778
		end
1779
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
1780
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1781
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1782
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1783
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1784
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
1785
	until VALUE2 == true
1786
	DIRECTTURN = false
1787
	WELD:remove()
1788
	RING.Anchored = true
1789
	local SIZE = MESH.Scale.X
1790
	coroutine.resume(coroutine.create(function()
1791
		for i = 1, 30 do
1792
			Swait()
1793
			MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30
1794
		end
1795
		RING:remove()
1796
	end))
1797
	repeat
1798
		wait()
1799
	until DONE == true
1800
	KEYDOWN:disconnect()
1801
	VALUE2 = false
1802
end
1803
function DragonFirePillar()
1804
	ATTACK = true
1805
	local POS = Mouse.Hit.p
1806
	APPLYGYRO = false
1807
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire")
1808
	coroutine.resume(coroutine.create(function()
1809
		repeat
1810
			Swait()
1811
			GYRO.CFrame = CF(RootPart.Position, POS)
1812
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1813
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1814
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1815
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1816
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1817
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1818
		until ATTACK == false
1819
	end))
1820
	for i = 1, 40 do
1821
		MESH.Scale = MESH.Scale + VT(4, 0, 4)
1822
		Swait()
1823
	end
1824
	for i = 1, 6 do
1825
		WACKYEFFECT({
1826
			EffectType = "Sphere",
1827
			Size = VT(35, 35, 35),
1828
			Size2 = VT(0, 0, 0),
1829
			Transparency = 1,
1830
			Transparency2 = 0.5,
1831
			CFrame = CF(POS),
1832
			MoveToPos = nil,
1833
			RotationX = 0,
1834
			RotationY = 0,
1835
			RotationZ = 0,
1836
			Material = "Neon",
1837-
			Color = C3(0.16, 0.012, 0.16),
1837+
			Color = C3(17/255, 17/255, 17/255),
1838
			SoundID = nil,
1839
			SoundPitch = nil,
1840
			SoundVolume = nil
1841
		})
1842
		wait(1)
1843
	end
1844
	coroutine.resume(coroutine.create(function()
1845
		coroutine.resume(coroutine.create(function()
1846
			for i = 1, 30 do
1847
				Swait()
1848
				MESH.Scale = MESH.Scale - VT(4, 0, 4)
1849
			end
1850
			RING:remove()
1851
		end))
1852
		WACKYEFFECT({
1853
			Time = 640,
1854
			EffectType = "Sphere",
1855
			Size = VT(15, 500, 15),
1856
			Size2 = VT(10, 700, 10),
1857
			Transparency = 0,
1858
			Transparency2 = 1,
1859
			CFrame = CF(POS),
1860
			MoveToPos = nil,
1861
			RotationX = 0,
1862
			RotationY = 0,
1863
			RotationZ = 0,
1864
			Material = "Neon",
1865-
			Color = C3(0.36, 0.012, 0.36),
1865+
			Color = C3(27/255, 42/255, 53/255),
1866
			SoundID = nil,
1867
			SoundPitch = nil,
1868
			SoundVolume = nil
1869
		})
1870
		for i = 1, 15 do
1871
			ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, {
1872
				SHAKE = 5,
1873
				TIMER = 6,
1874
				DOESFADE = true
1875
			})
1876
			WACKYEFFECT({
1877
				Time = 125,
1878
				EffectType = "Wave",
1879
				Size = VT(0, 5, 0),
1880
				Size2 = VT(250, 35, 250),
1881
				Transparency = 0.4,
1882
				Transparency2 = 1,
1883
				CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1884
				MoveToPos = nil,
1885
				RotationX = 0,
1886
				RotationY = MRANDOM(-5, 5) * 2,
1887
				RotationZ = 0,
1888
				Material = "Neon",
1889-
				Color = C3(0.16, 0.012, 0.16),
1889+
				Color = C3(17/255, 17/255, 17/255),
1890
				SoundID = nil,
1891
				SoundPitch = MRANDOM(9, 11) / 10,
1892
				SoundVolume = 4
1893
			})
1894
			WACKYEFFECT({
1895
				Time = 75,
1896
				EffectType = "Swirl",
1897
				Size = VT(20, 20, 20),
1898
				Size2 = VT(65, 500, 65),
1899
				Transparency = 0.4,
1900
				Transparency2 = 1,
1901
				CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1902
				MoveToPos = nil,
1903
				RotationX = 0,
1904
				RotationY = MRANDOM(-5, 5) * 6,
1905
				RotationZ = 0,
1906
				Material = "Neon",
1907-
				Color = C3(0.16, 0.012, 0.16),
1907+
				Color = C3(17/255, 17/255, 17/255),
1908
				SoundID = nil,
1909
				SoundPitch = MRANDOM(9, 11) / 10,
1910
				SoundVolume = 4
1911
			})
1912
			WACKYEFFECT({
1913
				Time = 75,
1914
				EffectType = "Swirl",
1915
				Size = VT(20, 20, 20),
1916
				Size2 = VT(45, 600, 45),
1917
				Transparency = 0.4,
1918
				Transparency2 = 1,
1919
				CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1920
				MoveToPos = nil,
1921
				RotationX = 0,
1922
				RotationY = MRANDOM(-5, 5) * 6,
1923
				RotationZ = 0,
1924
				Material = "Neon",
1925-
				Color = C3(0.16, 0.012, 0.16),
1925+
				Color = C3(17/255, 17/255, 17/255),
1926
				SoundID = 304529688,
1927
				SoundPitch = MRANDOM(9, 11) / 10,
1928
				SoundVolume = 4
1929
			})
1930
			wait(0.6)
1931
		end
1932
	end))
1933
	APPLYGYRO = true
1934
	ATTACK = false
1935
end
1936
function PheonixTornado()
1937
	ATTACK = true
1938
	local BUILDUP = true
1939
	local HITS = {}
1940
	PARTICLES = true
1941
	coroutine.resume(coroutine.create(function()
1942
		repeat
1943
			Swait()
1944
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1945
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
1946
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1947
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1948
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1949
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1950
		until BUILDUP == false
1951
	end))
1952
	WINGS1.Acceleration = VT(9, 0, -12)
1953
	WINGS1B.Acceleration = VT(9, 0, -12)
1954
	WINGS2.Acceleration = VT(-9, 0, -12)
1955
	WINGS2B.Acceleration = VT(-9, 0, -12)
1956
	wait(1)
1957
	CreateSound(462676772, Torso, 7, 1, false)
1958
	WINGS1.Acceleration = VT(9, 1, 4)
1959
	WINGS1B.Acceleration = VT(9, 1, 4)
1960
	WINGS2.Acceleration = VT(-9, 1, 4)
1961
	WINGS2B.Acceleration = VT(-9, 1, 4)
1962
	wait(0.25)
1963
	AddChildrenToTable(Torso.Position, workspace, 35, HITS)
1964
	WACKYEFFECT({
1965
		Time = 40,
1966
		EffectType = "Swirl",
1967
		Size = VT(50, 5, 50),
1968
		Size2 = VT(50, 60, 50),
1969
		Transparency = 0.8,
1970
		Transparency2 = 1,
1971
		CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
1972
		MoveToPos = nil,
1973
		RotationX = 0,
1974
		RotationY = -5,
1975
		RotationZ = 0,
1976
		Material = "Neon",
1977-
		Color = C3(0.36, 0.012, 0.36),
1977+
		Color = C3(27/255, 42/255, 53/255),
1978
		SoundID = nil,
1979
		SoundPitch = nil,
1980
		SoundVolume = nil
1981
	})
1982
	BUILDUP = false
1983
	PARTICLES = false
1984
	if #HITS > 0 then
1985
		do
1986
			local BODIES = {}
1987
			if #HITS == 1 then
1988
				for i = 1, #HITS do
1989
					local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
1990
					local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
1991
					if HUM and TORSO and 0 < HUM.Health then
1992
						local POSITION = IT("BodyPosition", TORSO)
1993
						POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p
1994
						POSITION.D = 15
1995
						POSITION.P = 4000000
1996
						table.insert(BODIES, POSITION)
1997
					end
1998
				end
1999
			else
2000
				for i = 1, #HITS do
2001
					local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
2002
					local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
2003
					if HUM and TORSO and 0 < HUM.Health then
2004
						local POSITION = IT("BodyPosition", TORSO)
2005
						POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p
2006
						POSITION.D = 450
2007
						POSITION.P = 40000
2008
						POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2009
						table.insert(BODIES, POSITION)
2010
					end
2011
				end
2012
			end
2013
			local POS = RootPart.CFrame * CF(0, 35, -35).p
2014
			wait(1.75)
2015
			BODYPOS.D = 450
2016
			BODYPOS.Position = POS
2017
			wait(0.5)
2018
			APPLYGYRO = false
2019
			local E = 0
2020
			CreateSound(1417056081, RootPart, 10, 0.5, false)
2021
			for i = 1, 50 do
2022
				Swait()
2023
				E = E + 1
2024
				WACKYEFFECT({
2025
					Time = 25,
2026
					EffectType = "Wave",
2027
					Size = VT(45, 5, 45) / 3,
2028
					Size2 = VT(35, 200, 35) / 5,
2029
					Transparency = 0.8,
2030
					Transparency2 = 1,
2031
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2032
					MoveToPos = nil,
2033
					RotationX = 0,
2034
					RotationY = 5,
2035
					RotationZ = 0,
2036
					Material = "Neon",
2037-
					Color = C3(0.16, 0.012, 0.16),
2037+
					Color = C3(17/255, 17/255, 17/255),
2038
					SoundID = nil,
2039
					SoundPitch = nil,
2040
					SoundVolume = nil
2041
				})
2042
				WACKYEFFECT({
2043
					Time = 25,
2044
					EffectType = "Wave",
2045
					Size = VT(55, 5, 55) / 3,
2046
					Size2 = VT(45, 200, 45) / 5,
2047
					Transparency = 0.8,
2048
					Transparency2 = 1,
2049
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2050
					MoveToPos = nil,
2051
					RotationX = 0,
2052
					RotationY = -5,
2053
					RotationZ = 0,
2054
					Material = "Neon",
2055
					Color = PHEONIXCOLOR,
2056
					SoundID = nil,
2057
					SoundPitch = nil,
2058
					SoundVolume = nil
2059
				})
2060
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
2061
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2062
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2063
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2064
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2065
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2066
			end
2067
			local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0))
2068
			TORNADO.CFrame = CF(POS)
2069
			local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0))
2070
			local DECAL = IT("Decal", TORNADO)
2071
			DECAL.Texture = "rbxassetid://559849514"
2072
			DECAL.Transparency = 1
2073
			DECAL.Color3 = BRICKC("Dark indigo").Color
2074
			local LOOP = 0
2075
			for i = 1, 250 do
2076
				Swait()
2077
				E = E + 1
2078
				LOOP = LOOP + 1
2079
				if LOOP == 10 then
2080
					LOOP = 0
2081
					ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, {
2082
						SHAKE = 2,
2083
						TIMER = 4,
2084
						DOESFADE = true
2085
					})
2086
				end
2087
				TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
2088
				DECAL.Transparency = DECAL.Transparency - 0.002
2089
				WACKYEFFECT({
2090
					Time = 25,
2091
					EffectType = "Wave",
2092
					Size = VT(45, 5, 45) / 3,
2093
					Size2 = VT(35, 200, 35) / 5,
2094
					Transparency = 0.8,
2095
					Transparency2 = 1,
2096
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2097
					MoveToPos = nil,
2098
					RotationX = 0,
2099
					RotationY = 5,
2100
					RotationZ = 0,
2101
					Material = "Neon",
2102-
					Color = C3(0.16, 0.012, 0.16),
2102+
					Color = C3(17/255, 17/255, 17/255),
2103
					SoundID = nil,
2104
					SoundPitch = nil,
2105
					SoundVolume = nil
2106
				})
2107
				WACKYEFFECT({
2108
					Time = 25,
2109
					EffectType = "Wave",
2110
					Size = VT(55, 5, 55) / 3,
2111
					Size2 = VT(45, 200, 45) / 5,
2112
					Transparency = 0.9,
2113
					Transparency2 = 1,
2114
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2115
					MoveToPos = nil,
2116
					RotationX = 0,
2117
					RotationY = -5,
2118
					RotationZ = 0,
2119
					Material = "Neon",
2120
					Color = PHEONIXCOLOR,
2121
					SoundID = nil,
2122
					SoundPitch = nil,
2123
					SoundVolume = nil
2124
				})
2125
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
2126
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2127
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2128
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2129
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2130
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2131
			end
2132
			for i = 1, #BODIES do
2133
				BODIES[i]:remove()
2134
			end
2135
			coroutine.resume(coroutine.create(function()
2136
				for i = 1, 25 do
2137
					Swait()
2138
					DECAL.Transparency = DECAL.Transparency + 0.02
2139
					TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
2140
				end
2141
				TORNADO:remove()
2142
			end))
2143
			for i = 1, 75 do
2144
				Swait()
2145
				E = E + 1
2146
				LOOP = LOOP + 1
2147
				TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
2148
				DECAL.Transparency = DECAL.Transparency - 0.002
2149
				WACKYEFFECT({
2150
					Time = 25,
2151
					EffectType = "Wave",
2152
					Size = VT(45, 5, 45) / 3,
2153
					Size2 = VT(35, 200, 35) / 5,
2154
					Transparency = 0.8,
2155
					Transparency2 = 1,
2156
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2157
					MoveToPos = nil,
2158
					RotationX = 0,
2159
					RotationY = 5,
2160
					RotationZ = 0,
2161
					Material = "Neon",
2162-
					Color = C3(0.16, 0.012, 0.16),
2162+
					Color = C3(17/255, 17/255, 17/255),
2163
					SoundID = nil,
2164
					SoundPitch = nil,
2165
					SoundVolume = nil
2166
				})
2167
				WACKYEFFECT({
2168
					Time = 25,
2169
					EffectType = "Wave",
2170
					Size = VT(55, 5, 55) / 3,
2171
					Size2 = VT(45, 200, 45) / 5,
2172
					Transparency = 0.8,
2173
					Transparency2 = 1,
2174
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2175
					MoveToPos = nil,
2176
					RotationX = 0,
2177
					RotationY = -5,
2178
					RotationZ = 0,
2179
					Material = "Neon",
2180
					Color = PHEONIXCOLOR,
2181
					SoundID = nil,
2182
					SoundPitch = nil,
2183
					SoundVolume = nil
2184
				})
2185
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45 - 0.6 * i, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
2186
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2187
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2188
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2189
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2190
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2191
			end
2192
			BODYPOS.D = 75
2193
		end
2194
	end
2195
	APPLYGYRO = true
2196
	ATTACK = false
2197
end
2198
function PheonixNuke()
2199
	if Mouse.Target ~= nil then
2200
		ATTACK = true
2201
		Rooted = false
2202
		BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0)
2203
		BODYPOS.D = 700
2204
		coroutine.resume(coroutine.create(function()
2205
			repeat
2206
				Swait()
2207
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2208
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2209
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2210
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2211
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2212
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2213
			until ATTACK == false
2214
		end))
2215
		wait(1.5)
2216
		for i = 1, 4 do
2217
			WACKYEFFECT({
2218
				EffectType = "Sphere",
2219
				Size = VT(125, 125, 125),
2220
				Size2 = VT(0, 0, 0),
2221
				Transparency = 1,
2222
				Transparency2 = 0.8,
2223
				CFrame = CF(Torso.Position),
2224
				MoveToPos = nil,
2225
				RotationX = 0,
2226
				RotationY = 0,
2227
				RotationZ = 0,
2228
				Material = "Neon",
2229
				Color = PHEONIXCOLOR,
2230
				SoundID = nil,
2231
				SoundPitch = nil,
2232
				SoundVolume = nil
2233
			})
2234
			wait(0.7)
2235
		end
2236
		PARTICLES = true
2237
		WINGS1.Acceleration = VT(9, 3, 4)
2238
		WINGS1B.Acceleration = VT(9, 3, 4)
2239
		WINGS2.Acceleration = VT(-9, 3, 4)
2240
		WINGS2B.Acceleration = VT(-9, 3, 4)
2241
		wait(2)
2242
		CreateSound(462676772, Torso, 8, 1, false)
2243
		WINGS1.Acceleration = VT(9, -2, -12)
2244
		WINGS1B.Acceleration = VT(9, -2, -12)
2245
		WINGS2.Acceleration = VT(-9, -2, -12)
2246
		WINGS2B.Acceleration = VT(-9, -2, -12)
2247
		wait(1)
2248
		for i = 1, 5 do
2249
			local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
2250
			ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, {
2251
				SHAKE = 8,
2252
				TIMER = 25,
2253
				DOESFADE = true
2254
			})
2255
			for i = 1, 5 do
2256
				WACKYEFFECT({
2257
					Time = 120,
2258
					EffectType = "Swirl",
2259
					Size = VT(20, 20, 20),
2260
					Size2 = (VT(180, 180, 180) + VT(50, 50, 50) * i) * 2,
2261
					Transparency = 0.8,
2262
					Transparency2 = 1,
2263
					CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
2264
					MoveToPos = nil,
2265
					RotationX = 0,
2266
					RotationY = 6 + i,
2267
					RotationZ = 0,
2268
					Material = "Neon",
2269
					Color = PHEONIXCOLOR,
2270
					SoundID = nil,
2271
					SoundPitch = nil,
2272
					SoundVolume = nil
2273
				})
2274
			end
2275
			WACKYEFFECT({
2276
				Time = 80,
2277
				EffectType = "Sphere",
2278
				Size = VT(40, 40, 40),
2279
				Size2 = VT(240, 240, 240) * 2,
2280
				Transparency = 0,
2281
				Transparency2 = 1,
2282
				CFrame = CF(Torso.Position),
2283
				MoveToPos = nil,
2284
				RotationX = 0,
2285
				RotationY = 0,
2286
				RotationZ = 0,
2287
				Material = "Neon",
2288-
				Color = C3(0.16, 0.012, 0.16),
2288+
				Color = C3(17/255, 17/255, 17/255),
2289
				SoundID = nil,
2290
				SoundPitch = 1,
2291
				SoundVolume = 8
2292
			})
2293
			WACKYEFFECT({
2294
				Time = 80,
2295
				EffectType = "Sphere",
2296
				Size = VT(50, 50, 50),
2297
				Size2 = VT(250, 250, 250) * 2,
2298
				Transparency = 0.5,
2299
				Transparency2 = 1,
2300
				CFrame = CF(Torso.Position),
2301
				MoveToPos = nil,
2302
				RotationX = 0,
2303
				RotationY = 0,
2304
				RotationZ = 0,
2305
				Material = "Neon",
2306
				Color = PHEONIXCOLOR,
2307
				SoundID = nil,
2308
				SoundPitch = 0.7,
2309
				SoundVolume = 10
2310
			})
2311
			local EXPLOSION = script.PheonixExplosion1:Clone()
2312
			EXPLOSION.Parent = Torso
2313
			EXPLOSION.Enabled = true
2314
			local EXPLOSION2 = script.PheonixExplosion2:Clone()
2315
			EXPLOSION2.Parent = Torso
2316
			EXPLOSION2.Enabled = true
2317
			EXPLOSION.Drag = -5
2318
			EXPLOSION2.Drag = -5
2319
			EXPLOSION:Emit(100)
2320
			EXPLOSION2:Emit(100)
2321
			CreateSound(462692971, Effects, 2, 1, false)
2322
			for i = 1, 5 do
2323
				wait()
2324
				WACKYEFFECT({
2325
					Time = 40,
2326
					EffectType = "Wave",
2327
					Size = VT(20, 0, 20),
2328
					Size2 = (VT(160, 6, 160) + VT(50, 4, 50) * i) * 2,
2329
					Transparency = 0.8,
2330
					Transparency2 = 1,
2331
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
2332
					MoveToPos = nil,
2333
					RotationX = 0,
2334
					RotationY = -12 + i,
2335
					RotationZ = 0,
2336
					Material = "Neon",
2337-
					Color = C3(0.16, 0.012, 0.16),
2337+
					Color = C3(17/255, 17/255, 17/255),
2338
					SoundID = nil,
2339
					SoundPitch = nil,
2340
					SoundVolume = nil
2341
				})
2342
				WACKYEFFECT({
2343
					Time = 40,
2344
					EffectType = "Wave",
2345
					Size = VT(20, 0, 20),
2346
					Size2 = (VT(180, 6, 180) + VT(50, 5, 50) * i) * 2,
2347
					Transparency = 0.8,
2348
					Transparency2 = 1,
2349
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
2350
					MoveToPos = nil,
2351
					RotationX = 0,
2352
					RotationY = -12 + i,
2353
					RotationZ = 0,
2354
					Material = "Neon",
2355
					Color = PHEONIXCOLOR,
2356
					SoundID = nil,
2357
					SoundPitch = nil,
2358
					SoundVolume = nil
2359
				})
2360
			end
2361
			EXPLOSION.Enabled = false
2362
			EXPLOSION2.Enabled = false
2363
			Debris:AddItem(EXPLOSION, 5)
2364
			Debris:AddItem(EXPLOSION2, 5)
2365
			wait(0.4)
2366
		end
2367
		wait(0.6)
2368
		PARTICLES = false
2369
		BODYPOS.D = 75
2370
		ATTACK = false
2371
		Rooted = false
2372
	end
2373
end
2374
function MouseDown(Mouse)
2375
	if ATTACK == false then
2376
	end
2377
end
2378
function MouseUp(Mouse)
2379
	HOLD = false
2380
end
2381
function KeyDown(Key)
2382
	KEYHOLD = true
2383
	if EQUIPPED == true then
2384
		if FLIGHT == false then
2385
			if Key == "x" and ATTACK == false then
2386
				ShootingStar()
2387
			end
2388-
			if Key == "b" and ATTACK == false then
2388+
2389
				Breath()
2390
			end
2391
			if Key == "c" and ATTACK == false then
2392
				PheonixRage()
2393
			end
2394-
			if Key == "q" and ATTACK == false then
2394+
			if Key == "e" and ATTACK == false then
2395
				FLIGHT = true
2396
				GYRO = IT("BodyGyro", RootPart)
2397
				GYRO.D = 75
2398
				GYRO.P = 40000
2399
				GYRO.MaxTorque = VT(40000, 40000, 40000)
2400
				GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
2401
				BODYPOS = Instance.new("BodyPosition", RootPart)
2402
				BODYPOS.D = 100
2403
				BODYPOS.P = 20000
2404
				BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2405
				BODYPOS.position = RootPart.Position + VT(0, 3, 0)
2406
				do
2407
					local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
2408
					FLIGHTRING = RING
2409
					coroutine.resume(coroutine.create(function()
2410
						for i = 1, 40 do
2411
							Swait()
2412
							MESH.Scale = MESH.Scale + VT(4, 0, 4)
2413
						end
2414
					end))
2415
					PheonixJump()
2416
				end
2417
			end
2418
		elseif FLIGHT == true then
2419
			if Key == "x" and ATTACK == false and VALUE2 == false then
2420
				ThreeShootingStars()
2421
			end
2422
			if Key == "c" and ATTACK == false and VALUE2 == false then
2423
				PheonixFlare()
2424
			end
2425-
			if Key == "g" and ATTACK == false and VALUE2 == false then
2425+
2426
				DragonFirePillar()
2427
			end
2428
			if Key == "v" and ATTACK == false and VALUE2 == false then
2429
				PheonixTornado()
2430
			end
2431
			if Key == "n" and ATTACK == false and VALUE2 == false then
2432
				PheonixNuke()
2433
			end
2434-
			if Key == "q" and ATTACK == false and VALUE2 == false then
2434+
2435
				FLIGHT = false
2436
				coroutine.resume(coroutine.create(function()
2437
					if FLIGHTRING then
2438
						local MSH = FLIGHTRING.Mesh
2439
						local RING = FLIGHTRING
2440
						for i = 1, 40 do
2441
							Swait()
2442
							MSH.Scale = MSH.Scale - VT(4, 0, 4)
2443
						end
2444
						RING:remove()
2445
					end
2446
				end))
2447
			end
2448
			if Key == "r" and ATTACK == false and VALUE2 == false then
2449
				PheonixJump()
2450
			end
2451
			if Key == "z" and ATTACK == false and VALUE2 == false then
2452
				PheonixFireballs()()
2453
			end
2454
			if Key == "w" and ATTACK == false and VALUE2 == false then
2455
				repeat
2456
					VALUE2 = true
2457
					Swait()
2458
					BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p
2459
				until KEYHOLD == false
2460
				VALUE2 = false
2461
			end
2462
		end
2463
	end
2464-
	if Key == "f" and ATTACK == false and FLIGHT == false then
2464+
	if Key == "q" and ATTACK == false and FLIGHT == false then
2465
		if EQUIPPED == false then
2466
			EQUIPPED = true
2467
			EYE.Enabled = true
2468
			EYE2.Enabled = true
2469
			sick:Play()
2470-
		sick.Pitch = 0.95
2470+
2471-
		sick.Volume = .1
2471+
		sick.TimePosition = 15.5
2472
		sick.Volume = 1.5
2473
2474
		else
2475
			EQUIPPED = false
2476
			FLIGHT = false
2477
			EYE.Enabled = false
2478
			EYE2.Enabled = false
2479
			sick:Stop()
2480
		end
2481
	end
2482
	if string.byte(Key) == 50 and ATTACK == false then
2483
		if Speed == 16 then
2484
			Speed = 45
2485
		elseif Speed == 45 then
2486
			Speed = 16
2487
		end
2488
	end
2489
end
2490
function KeyUp(Key)
2491
	KEYHOLD = false
2492
end
2493
Mouse.Button1Down:connect(function(NEWKEY)
2494
	MouseDown(NEWKEY)
2495
end)
2496
Mouse.Button1Up:connect(function(NEWKEY)
2497
	MouseUp(NEWKEY)
2498
end)
2499
Mouse.KeyDown:connect(function(NEWKEY)
2500
	KeyDown(NEWKEY)
2501
end)
2502
Mouse.KeyUp:connect(function(NEWKEY)
2503
	KeyUp(NEWKEY)
2504
end)
2505
function unanchor()
2506
	if UNANCHOR == true then
2507
		g = Character:GetChildren()
2508
		for i = 1, #g do
2509
			if g[i].ClassName == "Part" then
2510
				g[i].Anchored = false
2511
			end
2512
		end
2513
	end
2514
end
2515
Humanoid.Changed:connect(function(Jump)
2516
	if Jump == "Jump" and Disable_Jump == true then
2517
		Humanoid.Jump = false
2518
	end
2519
end)
2520
local LOOP = 0
2521
local TWIST = true
2522
while true do
2523
	Swait()
2524
	script.Parent = WEAPONGUI
2525
	ANIMATE.Parent = nil
2526
	for _, v in next, Humanoid:GetPlayingAnimationTracks() do
2527
		v:Stop()
2528
	end
2529
	SINE = SINE + CHANGE
2530
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2531
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2532
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
2533
	local WALKSPEEDVALUE = 5
2534
	if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
2535
		if Humanoid.WalkSpeed <= 20 then
2536
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2537
			Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2538
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE * 2), -0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2539
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE * 2), 0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2540
		else
2541
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2.6))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed)
2542
			Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2.6))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2543
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), -0.125 * COS(SINE / WALKSPEEDVALUE * 1.3) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE * 1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE * 1.3))), 0.5 / Animation_Speed)
2544
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), 0.125 * COS(SINE / WALKSPEEDVALUE * 1.3) + 0.2 + -0.2 * COS(SINE / WALKSPEEDVALUE * 1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE * 1.3))), 0.5 / Animation_Speed)
2545
		end
2546
	elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then
2547
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2548
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2549
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2550
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2551
	end
2552
	if FLIGHT == false then
2553
		if GYRO ~= nil then
2554
			GYRO:remove()
2555
		end
2556
		if BODYPOS ~= nil then
2557
			BODYPOS:remove()
2558
		end
2559
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2560
			ANIM = "Jump"
2561
			if ATTACK == false then
2562
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2563
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2564
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2565
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2566
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2567
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2568
			end
2569
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2570
			ANIM = "Fall"
2571
			if ATTACK == false then
2572
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2573
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2574
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2575
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2576
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2577
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2578
			end
2579
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2580
			ANIM = "Idle"
2581
			if ATTACK == false then
2582
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2583
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2584
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2585
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2586
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2587
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2588
			end
2589
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2590
			ANIM = "Walk"
2591
			if ATTACK == false then
2592
				if Humanoid.WalkSpeed <= 30 then
2593
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2594
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2595
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
2596
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
2597
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2598
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2599
				elseif Humanoid.WalkSpeed > 30 then
2600
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2601
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2602
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE * 1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2603
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE * 1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2604
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed)
2605
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed)
2606
				end
2607
			end
2608
		end
2609
	elseif FLIGHT == true then
2610
		if APPLYGYRO == true then
2611
			if VALUE2 == false and DIRECTTURN == false then
2612
				if GYRO ~= nil then
2613
					GYRO.MaxTorque = VT(0, 40000, 0)
2614
					GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2615
				end
2616
			elseif GYRO ~= nil then
2617
				GYRO.MaxTorque = VT(40000, 40000, 40000)
2618
				GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2619
			end
2620
		end
2621
		if VALUE2 == false and ATTACK == false then
2622
			ANIM = "IdleFlight"
2623
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2624
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2625
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2626
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2627
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2628
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2629
		elseif VALUE2 == true and ATTACK == false then
2630
			ANIM = "Flight"
2631
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
2632
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2633
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2634
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2635
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2636
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2637
		end
2638
	end
2639
	local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
2640
	local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
2641
	if PARTICLES == false then
2642
		WINGS1.Acceleration = ACCEL1
2643
		WINGS1B.Acceleration = ACCEL1
2644
		WINGS2.Acceleration = ACCEL2
2645
		WINGS2B.Acceleration = ACCEL2
2646
	end
2647
	if FLIGHT == true or WINGS == true then
2648
		WINGS1.Enabled = true
2649
		WINGS1B.Enabled = true
2650
		WINGS2.Enabled = true
2651
		WINGS2B.Enabled = true
2652
	else
2653
		WINGS1.Enabled = false
2654
		WINGS1B.Enabled = false
2655
		WINGS2.Enabled = false
2656
		WINGS2B.Enabled = false
2657
	end
2658
	unanchor()
2659
	TRAIL1.Enabled = FLIGHT
2660
	TRAIL2.Enabled = FLIGHT
2661-
	Humanoid.MaxHealth = "inf"
2661+
2662-
	Humanoid.Health = "inf"
2662+
	Humanoid.MaxHealth = "10000000000000"
2663
	Humanoid.Health = "10000000000000"
2664
	if Rooted == false and FLIGHT == false then
2665
		Disable_Jump = false
2666
		Humanoid.WalkSpeed = Speed
2667
	elseif Rooted == true or FLIGHT == true then
2668
		Disable_Jump = true
2669
		Humanoid.WalkSpeed = 0
2670
	end
2671
2672
	if FLIGHT == true then
2673
		sick.Pitch = 1
2674
		sick.Volume = 1.5
2675
		LOOP = LOOP + 1
2676
		if LOOP >= 10 then
2677
			local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2678
			if HITFLOOR then
2679
				local DISTANCE = (RootPart.Position - HITPOS).Magnitude
2680
				local SIZE = (26 - DISTANCE) * 2
2681
				if TWIST == true then
2682
					TWIST = false
2683
					WACKYEFFECT({
2684
						Time = 25,
2685
						EffectType = "Wave",
2686
						Size = VT(SIZE / 2, 0, SIZE / 2),
2687
						Size2 = VT(SIZE, 6, SIZE),
2688
						Transparency = 0.6,
2689
						Transparency2 = 1,
2690
						CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
2691
						MoveToPos = nil,
2692
						RotationX = 0,
2693
						RotationY = 15,
2694
						RotationZ = 0,
2695-
						Color = C3(0.36, 0.012, 0.36),
2695+
2696
						Color = C3(27/255, 42/255, 53/255),
2697
						SoundID = nil,
2698
						SoundPitch = nil,
2699
						SoundVolume = nil
2700
					})
2701
				else
2702
					TWIST = true
2703
					WACKYEFFECT({
2704
						Time = 25,
2705
						EffectType = "Wave",
2706
						Size = VT(SIZE / 2, 0, SIZE / 2),
2707
						Size2 = VT(SIZE, 6, SIZE),
2708
						Transparency = 0.6,
2709
						Transparency2 = 1,
2710
						CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
2711
						MoveToPos = nil,
2712
						RotationX = 0,
2713
						RotationY = -15,
2714
						RotationZ = 0,
2715-
						Color = C3(0.36, 0.012, 0.36),
2715+
2716
						Color = C3(27/255, 42/255, 53/255),
2717
						SoundID = nil,
2718
						SoundPitch = nil,
2719
						SoundVolume = nil
2720
					})
2721
				end
2722
				LOOP = 0
2723
			end
2724
		end
2725
	else
2726
end
2727
	sick.Parent = Character
2728
	Humanoid.Name = "WarPheonix"
2729
end
2730
2731
end))
2732
ParticleEmitter1.Name = "RingEmit"
2733
ParticleEmitter1.Parent = LocalScript0
2734
ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1)
2735-
ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2735+
2736
ParticleEmitter1.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2737
ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0)
2738
ParticleEmitter1.Enabled = false
2739
ParticleEmitter1.LightEmission = 0
2740
ParticleEmitter1.Texture = "rbxassetid://1493478120"
2741
ParticleEmitter1.ZOffset = 1
2742
ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
2743
ParticleEmitter1.Rate = 5
2744
ParticleEmitter1.Speed = NumberRange.new(0, 0)
2745
ParticleEmitter2.Name = "Wing1"
2746
ParticleEmitter2.Parent = LocalScript0
2747
ParticleEmitter2.Transparency = NumberSequence.new(1,0.9,0.9,0,0.9,0.9,1)
2748-
ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2748+
2749
ParticleEmitter2.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2750
ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
2751
ParticleEmitter2.Enabled = false
2752
ParticleEmitter2.LightEmission = 0.5
2753
ParticleEmitter2.Texture = "rbxassetid://0"
2754
ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
2755
ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
2756
ParticleEmitter2.Rate = 999
2757
ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
2758
ParticleEmitter2.Speed = NumberRange.new(33, 33)
2759
ParticleEmitter2.VelocitySpread = 33
2760
ParticleEmitter3.Name = "SunFireball"
2761
ParticleEmitter3.Parent = LocalScript0
2762
ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2763
ParticleEmitter3.Rotation = NumberRange.new(0, 360)
2764-
ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2764+
2765
ParticleEmitter3.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2766
ParticleEmitter3.Enabled = false
2767
ParticleEmitter3.LightEmission = 0.25
2768
ParticleEmitter3.Texture = "rbxassetid://1195495135"
2769
ParticleEmitter3.ZOffset = 0.20000000298023
2770
ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0)
2771
ParticleEmitter3.Lifetime = NumberRange.new(1, 1)
2772
ParticleEmitter3.Rate = 300
2773
ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56)
2774
ParticleEmitter3.Speed = NumberRange.new(77, 77)
2775-
ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2775+
2776
ParticleEmitter3.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2777
ParticleEmitter4.Name = "SunExplosion"
2778
ParticleEmitter4.Parent = LocalScript0
2779
ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2780
ParticleEmitter4.Rotation = NumberRange.new(0, 360)
2781-
ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2781+
2782
ParticleEmitter4.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2783
ParticleEmitter4.Enabled = false
2784
ParticleEmitter4.LightEmission = 0.25
2785
ParticleEmitter4.Texture = "rbxassetid://1195495135"
2786
ParticleEmitter4.ZOffset = 0.20000000298023
2787
ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0)
2788
ParticleEmitter4.Lifetime = NumberRange.new(0, 3)
2789
ParticleEmitter4.Rate = 999
2790
ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56)
2791
ParticleEmitter4.Speed = NumberRange.new(150, 350)
2792-
ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16, 0),Color3.new(0.16, 0.012, 0.16))
2792+
2793
ParticleEmitter4.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255, 0),Color3.new(17/255, 17/255, 17/255))
2794
ParticleEmitter5.Name = "SunBurn"
2795
ParticleEmitter5.Parent = LocalScript0
2796
ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2797
ParticleEmitter5.Rotation = NumberRange.new(0, 360)
2798-
ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2798+
2799
ParticleEmitter5.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2800
ParticleEmitter5.Enabled = false
2801
ParticleEmitter5.LightEmission = 0
2802
ParticleEmitter5.Texture = "rbxassetid://1195495135"
2803
ParticleEmitter5.ZOffset = 0.5
2804
ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0)
2805
ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
2806
ParticleEmitter5.Rate = 300
2807
ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56)
2808
ParticleEmitter5.Speed = NumberRange.new(1, 1)
2809-
ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2809+
2810
ParticleEmitter5.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2811
ParticleEmitter6.Name = "PheonixBurn"
2812
ParticleEmitter6.Parent = LocalScript0
2813
ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2814-
ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2814+
2815
ParticleEmitter6.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2816
ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
2817
ParticleEmitter6.Enabled = false
2818
ParticleEmitter6.LightEmission = 0
2819
ParticleEmitter6.Texture = "rbxassetid://1195495135"
2820
ParticleEmitter6.ZOffset = 0.5
2821
ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0)
2822
ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
2823
ParticleEmitter6.Rate = 300
2824
ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
2825
ParticleEmitter6.Speed = NumberRange.new(1, 1)
2826
ParticleEmitter6.VelocitySpread = 360
2827
ParticleEmitter7.Name = "PheonixExplosion1"
2828
ParticleEmitter7.Parent = LocalScript0
2829
ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2830-
ParticleEmitter7.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2830+
2831
ParticleEmitter7.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2832
ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0)
2833
ParticleEmitter7.Enabled = false
2834
ParticleEmitter7.LightEmission = 0.5
2835
ParticleEmitter7.Texture = "rbxassetid://1195495135"
2836
ParticleEmitter7.ZOffset = 0.20000000298023
2837
ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0)
2838
ParticleEmitter7.Lifetime = NumberRange.new(0, 3)
2839
ParticleEmitter7.Rate = 999
2840
ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56)
2841
ParticleEmitter7.Speed = NumberRange.new(50, 50)
2842
ParticleEmitter7.VelocitySpread = 360
2843
ParticleEmitter8.Name = "PheonixExplosion2"
2844
ParticleEmitter8.Parent = LocalScript0
2845
ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2846
ParticleEmitter8.Rotation = NumberRange.new(0, 360)
2847
ParticleEmitter8.Size = NumberSequence.new(4,4)
2848-
ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2848+
2849
ParticleEmitter8.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2850
ParticleEmitter8.Enabled = false
2851
ParticleEmitter8.LightEmission = 0.69999998807907
2852
ParticleEmitter8.ZOffset = 0.20000000298023
2853
ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0)
2854
ParticleEmitter8.Lifetime = NumberRange.new(0, 3)
2855
ParticleEmitter8.Rate = 300
2856
ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56)
2857
ParticleEmitter8.Speed = NumberRange.new(70, 70)
2858-
ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2858+
2859
ParticleEmitter8.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2860
LocalScript9.Name = "CamShake"
2861
LocalScript9.Parent = LocalScript0
2862
LocalScript9.Disabled = true
2863
NumberValue10.Name = "Timer"
2864
NumberValue10.Parent = LocalScript9
2865
NumberValue10.Value = 35
2866
NumberValue11.Name = "Shake"
2867
NumberValue11.Parent = LocalScript9
2868
NumberValue11.Value = 5
2869
BoolValue12.Name = "DoesFade"
2870
BoolValue12.Parent = LocalScript9
2871
ParticleEmitter13.Name = "Gale"
2872
ParticleEmitter13.Parent = LocalScript0
2873
ParticleEmitter13.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2874-
ParticleEmitter13.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2874+
2875
ParticleEmitter13.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2876
ParticleEmitter13.Size = NumberSequence.new(8,6)
2877
ParticleEmitter13.Enabled = false
2878
ParticleEmitter13.Texture = "rbxassetid://0"
2879
ParticleEmitter13.Lifetime = NumberRange.new(1, 1)
2880
ParticleEmitter13.Rate = 50
2881
ParticleEmitter13.Speed = NumberRange.new(0, 0)
2882
ParticleEmitter14.Name = "PheonixFireball1"
2883
ParticleEmitter14.Parent = LocalScript0
2884
ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2885-
ParticleEmitter14.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2885+
2886
ParticleEmitter14.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2887
ParticleEmitter14.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0)
2888
ParticleEmitter14.Enabled = false
2889
ParticleEmitter14.LightEmission = 0.5
2890
ParticleEmitter14.Texture = "rbxassetid://1195495135"
2891
ParticleEmitter14.ZOffset = 0.5
2892
ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
2893
ParticleEmitter14.Rate = 1000
2894
ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
2895
ParticleEmitter14.Speed = NumberRange.new(77, 77)
2896
ParticleEmitter14.VelocitySpread = 370
2897
ParticleEmitter15.Name = "PheonixFireball2"
2898
ParticleEmitter15.Parent = LocalScript0
2899
ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2900
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
2901
ParticleEmitter15.Texture = "rbxassetid://1195495135"
2902-
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2902+
2903
ParticleEmitter15.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2904
ParticleEmitter15.Enabled = false
2905
ParticleEmitter15.LightEmission = 0
2906
ParticleEmitter15.ZOffset = 1
2907
ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
2908
ParticleEmitter15.Rate = 300
2909
ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
2910
ParticleEmitter15.Speed = NumberRange.new(77, 77)
2911-
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2911+
2912
ParticleEmitter15.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2913
ParticleEmitter16.Name = "Wing2"
2914
ParticleEmitter16.Parent = LocalScript0
2915
ParticleEmitter16.Transparency = NumberSequence.new(1,0.9,0.9,0,0.9,0.9,1)
2916-
ParticleEmitter16.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2916+
2917
ParticleEmitter16.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2918
ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
2919
ParticleEmitter16.Enabled = false
2920
ParticleEmitter16.LightEmission = 0.5
2921
ParticleEmitter16.Texture = "rbxassetid://0"
2922
ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
2923
ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
2924
ParticleEmitter16.Rate = 999
2925
ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
2926
ParticleEmitter16.Speed = NumberRange.new(33, 33)
2927
ParticleEmitter16.VelocitySpread = 33
2928
ParticleEmitter17.Name = "Wing1B"
2929
ParticleEmitter17.Parent = LocalScript0
2930
ParticleEmitter17.Transparency = NumberSequence.new(1,0.9,0.9,0.9,0.9,0.9,1)
2931
ParticleEmitter17.Rotation = NumberRange.new(0, 360)
2932
ParticleEmitter17.Texture = "rbxassetid://0"
2933-
ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2933+
2934
ParticleEmitter17.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2935
ParticleEmitter17.Enabled = false
2936
ParticleEmitter17.LightEmission = 0
2937
ParticleEmitter17.ZOffset = 0.20000000298023
2938
ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
2939
ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
2940
ParticleEmitter17.Rate = 150
2941
ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
2942
ParticleEmitter17.Speed = NumberRange.new(33, 33)
2943-
ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2943+
2944
ParticleEmitter17.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2945
ParticleEmitter18.Name = "Eye1"
2946
ParticleEmitter18.EmissionDirection="Right"
2947
ParticleEmitter18.Parent = LocalScript0
2948
ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1)
2949-
ParticleEmitter18.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2949+
2950
ParticleEmitter18.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2951
ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0)
2952
ParticleEmitter18.Enabled = false
2953
ParticleEmitter18.LightEmission = 0
2954
ParticleEmitter18.Texture = "rbxassetid://0"
2955
ParticleEmitter18.ZOffset = 0.20000000298023
2956
ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6)
2957
ParticleEmitter18.Lifetime = NumberRange.new(1, 1)
2958
ParticleEmitter18.Rate = 300
2959
ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
2960
ParticleEmitter18.VelocitySpread = 5
2961
ParticleEmitter19.Name = "Eye2"
2962
ParticleEmitter19.Parent = LocalScript0
2963
ParticleEmitter19.EmissionDirection="Right"
2964
ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1)
2965
ParticleEmitter19.Rotation = NumberRange.new(0, 360)
2966
ParticleEmitter19.Texture = "rbxassetid://0"
2967-
ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2967+
2968
ParticleEmitter19.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2969
ParticleEmitter19.Enabled = false
2970
ParticleEmitter19.LightEmission = 0
2971
ParticleEmitter19.ZOffset = 0.30000001192093
2972
ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6)
2973
ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5)
2974
ParticleEmitter19.Rate = 300
2975
ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
2976-
ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2976+
2977
ParticleEmitter19.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2978
ParticleEmitter20.Name = "Wing2B"
2979
ParticleEmitter20.Parent = LocalScript0
2980
ParticleEmitter20.Transparency = NumberSequence.new(1,0.9,0.9,0,0.9,0.9,1)
2981
ParticleEmitter20.Rotation = NumberRange.new(0, 360)
2982-
ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2982+
2983
ParticleEmitter20.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2984
ParticleEmitter20.Enabled = false
2985
ParticleEmitter20.Texture = "rbxassetid://0"
2986
ParticleEmitter20.LightEmission = 0
2987
ParticleEmitter20.ZOffset = 0.20000000298023
2988
ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
2989
ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
2990
ParticleEmitter20.Rate = 150
2991
ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
2992
ParticleEmitter20.Speed = NumberRange.new(33, 33)
2993-
ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
2993+
2994
ParticleEmitter20.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
2995
ParticleEmitter21.Name = "Burn"
2996
ParticleEmitter21.Parent = LocalScript0
2997
ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2998
ParticleEmitter21.Rotation = NumberRange.new(0, 360)
2999
ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0)
3000
ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 1, 1))
3001
ParticleEmitter21.Enabled = false
3002
ParticleEmitter21.LightEmission = 0
3003
ParticleEmitter21.Texture = "rbxassetid://1195495135"
3004
ParticleEmitter21.ZOffset = 0.5
3005
ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0)
3006
ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
3007
ParticleEmitter21.Rate = 300
3008
ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56)
3009
ParticleEmitter21.Speed = NumberRange.new(1, 1)
3010
ParticleEmitter21.VelocitySpread = 360
3011
ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 1, 1))
3012
ParticleEmitter22.Name = "PheonixTrail"
3013
ParticleEmitter22.Parent = LocalScript0
3014
ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3015
ParticleEmitter22.Rotation = NumberRange.new(0, 360)
3016-
ParticleEmitter22.Color = ColorSequence.new(Color3.new(0.16, 0.012, 0.16),Color3.new(0.16, 0.012, 0.16))
3016+
3017
ParticleEmitter22.Color = ColorSequence.new(Color3.new(17/255, 17/255, 17/255),Color3.new(17/255, 17/255, 17/255))
3018
ParticleEmitter22.Enabled = false
3019
ParticleEmitter22.LightEmission = 0
3020
ParticleEmitter22.Texture = "rbxassetid://1195495135"
3021
ParticleEmitter22.ZOffset = 0.5
3022
ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
3023
ParticleEmitter22.Rate = 300
3024
ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56)
3025
ParticleEmitter22.Speed = NumberRange.new(0, 0)
3026
ParticleEmitter22.VelocitySpread = 360
3027
ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
3028
for i,v in pairs(mas:GetChildren()) do
3029
	v.Parent = game:GetService("Lighting")
3030
	pcall(function() v:MakeJoints() end)
3031
end
3032
mas:Destroy()
3033
for i,v in pairs(cors) do
3034
	spawn(function()
3035
		pcall(v)
3036
	end)
3037
end
3038
3039
wait(math.randomseed(tick()))
3040
local plr=game.Players.LocalPlayer;ch=plr.Character;
3041
local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg'];
3042
local rj=ch.HumanoidRootPart.RootJoint;local neck=tor.Neck;
3043
local hum=ch.Humanoid
3044
local defWS=16
3045
local defJP=50
3046
local mo=plr:GetMouse();local cam=workspace.CurrentCamera;
3047
3048
local godName="OmegaNoscope"
3049
local godTalkSFX="rbxassetid://418252437"
3050
3051
local talkGui=Instance.new("BillboardGui",head)
3052
local im=Instance.new("ImageLabel",talkGui)
3053
local text=Instance.new("TextLabel",im)
3054
talkGui.Name="BillBoardGui"
3055
talkGui.Size=UDim2.new(15,0,5,0)
3056
talkGui.Active=true
3057
talkGui.ExtentsOffset=Vector3.new(0,3.25,0)
3058
3059
im.Position=UDim2.new(0.10000000149012,0,0,0)
3060
im.Size=UDim2.new(0.80000001192093,0,0.80000001192093,0)
3061
im.Position=UDim2.new(0.10000000149012,0,0,0)
3062
im.Active=true
3063
im.BackgroundColor3=Color3.new(0,0,0)
3064
im.BackgroundTransparency=1
3065
im.Image="http://www.roblox.com/asset/?id=0"
3066
3067
text.BackgroundTransparency=1
3068
text.Size=UDim2.new(1,0,1,0)
3069
text.BackgroundColor3=Color3.new(0,1,1)
3070
text.Font=Enum.Font.SourceSans
3071
text.FontSize=Enum.FontSize.Size14
3072
text.TextScaled=true
3073
text.TextWrapped=true
3074
text.Text=""
3075
3076
local talkSound=Instance.new("Sound",head)
3077
talkSound.SoundId=godTalkSFX
3078
talkSound.Volume=0.85
3079
3080
function say(msg,col,strokeCol,font)
3081
	coroutine.resume(coroutine.create(function()
3082
		text.TextColor3=col
3083
		text.TextStrokeColor3=strokeCol
3084
		text.Font=font
3085
		text.Text=""..godName..": "
3086
		for i=1,msg:len() do
3087
			local x=math.random(855,1155)
3088
			talkSound.Pitch=x/1000
3089
			talkSound:play()
3090
			text.Text=""..text.Text..""..msg:sub(i,i)..""
3091
			wait(.05)
3092
		end
3093
		wait(1.5)
3094
		text.Text=""
3095
	end))
3096
end
3097
3098-
	say(msg,Color3.new(0.36, 0.012, 0.36),Color3.new(0.36, 0.012, 0.36),"Fantasy")
3098+
3099-
end)
3099+
	say(msg,Color3.new(27/255, 42/255, 53/255),Color3.new(27/255, 42/255, 53/255),"Fantasy")
3100
end)
3101
local p = game.Players.LocalPlayer--300899323
3102
local char = p.Character
3103
local mouse = p:GetMouse()
3104
local larm = char["Left Arm"]
3105
local rarm = char["Right Arm"]
3106
local lleg = char["Left Leg"]
3107
local rleg = char["Right Leg"]
3108
local hed = char.Head
3109
local torso = char.Torso
3110
local hum = char.Humanoid
3111
local cam = game.Workspace.CurrentCamera
3112
local root = char.HumanoidRootPart
3113
local rj = root.RootJoint
3114
local deb = false
3115
local shot = 0
3116
local l = game:GetService("Lighting")
3117
local rs = game:GetService("RunService").RenderStepped
3118
local hb = game:GetService("RunService").Heartbeat
3119
local Stepped = game:GetService("RunService").Stepped
3120
--Left Arm
3121
m = Instance.new("Model")
3122
m.Name = "LeftArm"
3123
p1 = Instance.new("Part", m)
3124
p1.BrickColor = BrickColor.new("Dark indigo")
3125
p1.Material = Enum.Material.Neon
3126
p1.CFrame = CFrame.new(-1.5, 5.73969078, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3127
p1.Size = Vector3.new(0,0,0)
3128
p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3129
p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3130
p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3131
p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3132
p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3133
p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3134
b1 = Instance.new("SpecialMesh", p1)
3135
b1.MeshType = Enum.MeshType.Brick
3136
b1.Name = "Mesh"
3137
b1.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3138
p2 = Instance.new("Part", m)
3139
p2.BrickColor = BrickColor.new("Dark indigo")
3140
p2.Material = Enum.Material.Neon
3141
p2.CFrame = CFrame.new(-1.5, 6.03969383, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3142
p2.Size = Vector3.new(0,0,0)
3143
p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3144
p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3145
p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3146
p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3147
p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3148
p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3149
b2 = Instance.new("SpecialMesh", p2)
3150
b2.MeshType = Enum.MeshType.Brick
3151
b2.Name = "Mesh"
3152
b2.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3153
p3 = Instance.new("Part", m)
3154
p3.BrickColor = BrickColor.new("Dark indigo")
3155
p3.Material = Enum.Material.Neon
3156
p3.CFrame = CFrame.new(-1.5, 6.63968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3157
p3.Size = Vector3.new(0,0,0)
3158
p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3159
p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3160
p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3161
p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3162
p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3163
p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3164
b3 = Instance.new("SpecialMesh", p3)
3165
b3.MeshType = Enum.MeshType.Brick
3166
b3.Name = "Mesh"
3167
b3.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3168
p4 = Instance.new("Part", m)
3169
p4.BrickColor = BrickColor.new("Really black")
3170
p4.Material = Enum.Material.SmoothPlastic
3171
p4.Name = "LeftArmPlate"
3172
p4.Size = Vector3.new(1, 2, 1)
3173
p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3174
p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3175
p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3176
p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3177
p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3178
p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3179
b4 = Instance.new("SpecialMesh", p4)
3180
b4.MeshType = Enum.MeshType.Brick
3181
b4.Name = "Mesh"
3182
b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
3183
p5 = Instance.new("Part", m)
3184
p5.BrickColor = BrickColor.new("Dark indigo")
3185
p5.Material = Enum.Material.Neon
3186
p5.CFrame = CFrame.new(-1.5, 6.33969307, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3187
p5.Size = Vector3.new(0,0,0)
3188
p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3189
p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3190
p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3191
p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3192
p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3193
p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3194
b5 = Instance.new("SpecialMesh", p5)
3195
b5.MeshType = Enum.MeshType.Brick
3196
b5.Name = "Mesh"
3197
b5.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3198
p6 = Instance.new("Part", m)
3199
p6.BrickColor = BrickColor.new("Dark indigo")
3200
p6.Material = Enum.Material.Neon
3201
p6.CFrame = CFrame.new(-1.5, 5.73969078, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3202
p6.Size = Vector3.new(0,0,0)
3203
p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3204
p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3205
p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3206
p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3207
p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3208
p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3209
b6 = Instance.new("SpecialMesh", p6)
3210
b6.MeshType = Enum.MeshType.Brick
3211
b6.Name = "Mesh"
3212
b6.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3213
p7 = Instance.new("Part", m)
3214
p7.BrickColor = BrickColor.new("Dark indigo")
3215
p7.Material = Enum.Material.Neon
3216
p7.CFrame = CFrame.new(-1.5, 6.03969383, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3217
p7.FormFactor = Enum.FormFactor.Custom
3218
p7.Size = Vector3.new(0,0,0)
3219
p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3220
p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3221
p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3222
p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3223
p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3224
p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3225
b7 = Instance.new("SpecialMesh", p7)
3226
b7.MeshType = Enum.MeshType.Brick
3227
b7.Name = "Mesh"
3228
b7.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3229
p8 = Instance.new("Part", m)
3230
p8.BrickColor = BrickColor.new("Dark indigo")
3231
p8.Material = Enum.Material.Neon
3232
p8.CFrame = CFrame.new(-1.5, 6.33969307, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3233
p8.FormFactor = Enum.FormFactor.Custom
3234
p8.Size = Vector3.new(0,0,0)
3235
p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3236
p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3237
p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3238
p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3239
p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3240
p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3241
b8 = Instance.new("SpecialMesh", p8)
3242
b8.MeshType = Enum.MeshType.Brick
3243
b8.Name = "Mesh"
3244
b8.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3245
p9 = Instance.new("Part", m)
3246
p9.BrickColor = BrickColor.new("Dark indigo")
3247
p9.Material = Enum.Material.Neon
3248
p9.CFrame = CFrame.new(-1.5, 6.63968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3249
p9.FormFactor = Enum.FormFactor.Custom
3250
p9.Size = Vector3.new(0,0,0)
3251
p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3252
p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3253
p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3254
p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3255
p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3256
p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3257
b9 = Instance.new("SpecialMesh", p9)
3258
b9.MeshType = Enum.MeshType.Brick
3259
b9.Name = "Mesh"
3260
b9.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3261
p10 = Instance.new("Part", m)
3262
p10.BrickColor = BrickColor.new("Really black")
3263
p10.Material = Enum.Material.SmoothPlastic
3264
p10.CFrame = CFrame.new(-1.5, 6.78969193, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3265
p10.FormFactor = Enum.FormFactor.Custom
3266
p10.Size = Vector3.new(1, 0.349999994, 1)
3267
p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3268
p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3269
p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3270
p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3271
p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3272
p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3273
b10 = Instance.new("SpecialMesh", p10)
3274
b10.MeshType = Enum.MeshType.Brick
3275
b10.Name = "Mesh"
3276
b10.Scale = Vector3.new(1.12, 1.01999998, 1.12)
3277
p11 = Instance.new("Part", m)
3278
p11.BrickColor = BrickColor.new("Really black")
3279
p11.Material = Enum.Material.SmoothPlastic
3280
p11.CFrame = CFrame.new(-1.5, 6.48969078, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3281
p11.FormFactor = Enum.FormFactor.Custom
3282
p11.Size = Vector3.new(1, 0.25, 1)
3283
p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3284
p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3285
p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3286
p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3287
p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3288
p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3289
b11 = Instance.new("SpecialMesh", p11)
3290
b11.MeshType = Enum.MeshType.Brick
3291
b11.Name = "Mesh"
3292
b11.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
3293
p12 = Instance.new("Part", m)
3294
p12.BrickColor = BrickColor.new("Really black")
3295
p12.Material = Enum.Material.SmoothPlastic
3296
p12.CFrame = CFrame.new(-1.5, 6.18969154, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3297
p12.FormFactor = Enum.FormFactor.Custom
3298
p12.Size = Vector3.new(1, 0.25, 1)
3299
p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3300
p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3301
p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3302
p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3303
p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3304
p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3305
b12 = Instance.new("SpecialMesh", p12)
3306
b12.MeshType = Enum.MeshType.Brick
3307
b12.Name = "Mesh"
3308
b12.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
3309
p13 = Instance.new("Part", m)
3310
p13.BrickColor = BrickColor.new("Really black")
3311
p13.Material = Enum.Material.SmoothPlastic
3312
p13.CFrame = CFrame.new(-1.5, 5.88968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3313
p13.FormFactor = Enum.FormFactor.Custom
3314
p13.Size = Vector3.new(1, 0.25, 1)
3315
p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3316
p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3317
p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3318
p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3319
p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3320
p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3321
b13 = Instance.new("SpecialMesh", p13)
3322
b13.MeshType = Enum.MeshType.Brick
3323
b13.Name = "Mesh"
3324
b13.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
3325
p14 = Instance.new("Part", m)
3326
p14.BrickColor = BrickColor.new("Really black")
3327
p14.Material = Enum.Material.SmoothPlastic
3328
p14.CFrame = CFrame.new(-1.5, 5.58969307, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3329
p14.FormFactor = Enum.FormFactor.Custom
3330
p14.Size = Vector3.new(1, 0.25, 1)
3331
p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3332
p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3333
p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3334
p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3335
p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3336
p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3337
b14 = Instance.new("SpecialMesh", p14)
3338
b14.MeshType = Enum.MeshType.Brick
3339
b14.Name = "Mesh"
3340
b14.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
3341
p15 = Instance.new("Part", m)
3342
p15.BrickColor = BrickColor.new("Really black")
3343
p15.Material = Enum.Material.SmoothPlastic
3344
p15.CFrame = CFrame.new(-1.5, 6.63968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3345
p15.FormFactor = Enum.FormFactor.Custom
3346
p15.Size = Vector3.new(1, 1, 1)
3347
p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3348
p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3349
p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3350
p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3351
p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3352
p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3353
b15 = Instance.new("SpecialMesh", p15)
3354
b15.MeshType = Enum.MeshType.Brick
3355
b15.Name = "Mesh"
3356
p16 = Instance.new("Part", m)
3357
p16.BrickColor = BrickColor.new("Really black")
3358
p16.Material = Enum.Material.SmoothPlastic
3359
p16.CFrame = CFrame.new(-1.49142194, 4.80968094, 21.7695732, 1, 1.67448022e-007, -1.06342185e-007, -2.04123751e-007, 0.500000119, -0.866025269, -6.57511308e-008, 0.866025329, 0.5)
3360
p16.FormFactor = Enum.FormFactor.Custom
3361
p16.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3362
p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3363
p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3364
p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3365
p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3366
p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3367
p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3368
b16 = Instance.new("SpecialMesh", p16)
3369
b16.MeshType = Enum.MeshType.Brick
3370
b16.Name = "Mesh"
3371
b16.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3372
p17 = Instance.new("Part", m)
3373
p17.BrickColor = BrickColor.new("Really black")
3374
p17.Material = Enum.Material.SmoothPlastic
3375
p17.CFrame = CFrame.new(-1.50000083, 5.33968592, 22.4999943, 1, -9.44388034e-009, 5.2184074e-008, -7.54702114e-008, 0.999999881, 2.38418579e-007, 2.60919535e-008, 1.1920929e-007, 0.999999881)
3376
p17.FormFactor = Enum.FormFactor.Custom
3377
p17.Size = Vector3.new(1.01999998, 0.300000012, 1.01999998)
3378
p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3379
p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3380
p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3381
p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3382
p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3383
p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3384
b17 = Instance.new("SpecialMesh", p17)
3385
b17.MeshType = Enum.MeshType.Brick
3386
b17.Name = "Mesh"
3387
b17.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
3388
p18 = Instance.new("Part", m)
3389
p18.BrickColor = BrickColor.new("Really black")
3390
p18.Material = Enum.Material.SmoothPlastic
3391
p18.CFrame = CFrame.new(-1.50000072, 5.33968782, 22.4999962, 1, -3.77485776e-008, 7.82760807e-008, -1.03774902e-007, 0.999999881, 3.57627869e-007, 5.21839532e-008, 2.38418565e-007, 0.999999881)
3392
p18.FormFactor = Enum.FormFactor.Custom
3393
p18.Size = Vector3.new(1.00999999, 0.400000036, 1.00999999)
3394
p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3395
p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3396
p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3397
p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3398
p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3399
p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3400
b18 = Instance.new("SpecialMesh", p18)
3401
b18.MeshType = Enum.MeshType.Brick
3402
b18.Name = "Mesh"
3403
b18.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
3404
p19 = Instance.new("Part", m)
3405
p19.BrickColor = BrickColor.new("Really black")
3406
p19.Material = Enum.Material.SmoothPlastic
3407
p19.CFrame = CFrame.new(-1.5000006, 5.33968973, 22.4999981, 1, -6.60532748e-008, 1.04368084e-007, -1.32079592e-007, 0.999999881, 4.76837158e-007, 7.82759457e-008, 3.5762784e-007, 0.999999881)
3408
p19.FormFactor = Enum.FormFactor.Custom
3409
p19.Size = Vector3.new(0,0,0)
3410
p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3411
p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3412
p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3413
p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3414
p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3415
p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3416
b19 = Instance.new("SpecialMesh", p19)
3417
b19.MeshType = Enum.MeshType.Brick
3418
b19.Name = "Mesh"
3419
b19.Scale = Vector3.new(1.02999997, 0.50999999, 1.02999997)
3420
p20 = Instance.new("Part", m)
3421
p20.BrickColor = BrickColor.new("Really black")
3422
p20.Material = Enum.Material.Metal
3423
p20.CFrame = CFrame.new(-1.50000048, 5.33969164, 22.5, 1, -9.4357965e-008, 1.3046008e-007, -1.60384275e-007, 0.999999881, 5.96046448e-007, 1.04367942e-007, 4.76837101e-007, 0.999999881)
3424
p20.FormFactor = Enum.FormFactor.Custom
3425
p20.Size = Vector3.new(0,0,0)
3426
p20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3427
p20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3428
p20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3429
p20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3430
p20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3431
p20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3432
b20 = Instance.new("SpecialMesh", p20)
3433
b20.MeshType = Enum.MeshType.Brick
3434
b20.Name = "Mesh"
3435
b20.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
3436
p21 = Instance.new("Part", m)
3437
p21.BrickColor = BrickColor.new("Really black")
3438
p21.Material = Enum.Material.SmoothPlastic
3439
p21.CFrame = CFrame.new(-1.93255413, 4.43040705, 22.5000057, -1.61368675e-007, -0.707106769, -0.707106769, -4.62050195e-007, -0.707106471, 0.707106948, -0.999999881, -5.86611463e-007, 4.45824725e-007)
3440
p21.FormFactor = Enum.FormFactor.Custom
3441
p21.Size = Vector3.new(0.200000003, 0.200000048, 0.399999976)
3442
p21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3443
p21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3444
p21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3445
p21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3446
p21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3447
p21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3448
b21 = Instance.new("SpecialMesh", p21)
3449
b21.MeshType = Enum.MeshType.Wedge
3450
b21.Name = "Mesh"
3451
b21.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3452
p22 = Instance.new("Part", m)
3453
p22.BrickColor = BrickColor.new("Really black")
3454
p22.Material = Enum.Material.SmoothPlastic
3455
p22.CFrame = CFrame.new(-2.22184062, 4.80970049, 22.5000057, -6.50768897e-008, 0.866025269, 0.50000006, -7.82806978e-007, 0.499999732, -0.866025329, -0.999999881, 3.74247918e-007, -2.56530342e-007)
3456
p22.FormFactor = Enum.FormFactor.Custom
3457
p22.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3458
p22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3459
p22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3460
p22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3461
p22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3462
p22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3463
p22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3464
b22 = Instance.new("SpecialMesh", p22)
3465
b22.MeshType = Enum.MeshType.Brick
3466
b22.Name = "Mesh"
3467
b22.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3468
p23 = Instance.new("Part", m)
3469
p23.BrickColor = BrickColor.new("Really black")
3470
p23.Material = Enum.Material.SmoothPlastic
3471
p23.CFrame = CFrame.new(-2.41184235, 5.35969734, 22.5000076, -1.73507274e-007, 0.98480767, 0.17364803, -8.28146199e-007, 0.173647702, -0.984807611, -0.999999881, 1.49283139e-007, -3.43238185e-007)
3472
p23.FormFactor = Enum.FormFactor.Custom
3473
p23.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3474
p23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3475
p23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3476
p23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3477
p23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3478
p23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3479
p23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3480
b23 = Instance.new("SpecialMesh", p23)
3481
b23.MeshType = Enum.MeshType.Brick
3482
b23.Name = "Mesh"
3483
b23.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3484
p24 = Instance.new("Part", m)
3485
p24.BrickColor = BrickColor.new("Really black")
3486
p24.Material = Enum.Material.SmoothPlastic
3487
p24.CFrame = CFrame.new(-2.41184616, 5.92969847, 22.5000076, -1.73507232e-007, 0.984807611, -0.173648104, -8.12965368e-007, -0.173648402, -0.984807432, -0.999999881, 2.02498356e-008, -3.8854634e-007)
3488
p24.FormFactor = Enum.FormFactor.Custom
3489
p24.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3490
p24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3491
p24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3492
p24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3493
p24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3494
p24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3495
p24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3496
b24 = Instance.new("SpecialMesh", p24)
3497
b24.MeshType = Enum.MeshType.Brick
3498
b24.Name = "Mesh"
3499
b24.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3500
p25 = Instance.new("Part", m)
3501
p25.BrickColor = BrickColor.new("Really black")
3502
p25.Material = Enum.Material.SmoothPlastic
3503
p25.CFrame = CFrame.new(-2.14142036, 6.39827347, 22.5000114, -7.7074823e-008, 0.707106829, -0.70710659, -7.54731559e-007, -0.707106769, -0.707106471, -0.999999881, -1.79262827e-007, -4.39258827e-007)
3504
p25.FormFactor = Enum.FormFactor.Custom
3505
p25.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3506
p25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3507
p25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3508
p25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3509
p25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3510
p25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3511
p25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3512
b25 = Instance.new("SpecialMesh", p25)
3513
b25.MeshType = Enum.MeshType.Brick
3514
b25.Name = "Mesh"
3515
b25.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3516
p26 = Instance.new("Part", m)
3517
p26.BrickColor = BrickColor.new("Really black")
3518
p26.Material = Enum.Material.SmoothPlastic
3519
p26.CFrame = CFrame.new(-1.49142087, 6.39827442, 23.1500168, -0.999999881, 1.1920929e-007, 2.68220901e-007, 1.49011612e-007, -0.707106948, -0.707106233, -1.77625395e-007, -0.707107306, 0.707106113)
3520
p26.FormFactor = Enum.FormFactor.Custom
3521
p26.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3522
p26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3523
p26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3524
p26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3525
p26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3526
p26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3527
p26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3528
b26 = Instance.new("SpecialMesh", p26)
3529
b26.MeshType = Enum.MeshType.Brick
3530
b26.Name = "Mesh"
3531
b26.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3532
p27 = Instance.new("Part", m)
3533
p27.BrickColor = BrickColor.new("Really black")
3534
p27.Material = Enum.Material.SmoothPlastic
3535
p27.CFrame = CFrame.new(-1.49141955, 5.92969704, 23.420433, -0.999999881, -3.03310628e-007, 3.64177367e-007, 1.73600242e-007, -0.173648864, -0.984807312, 2.67648517e-008, -0.98480773, 0.173647434)
3536
p27.FormFactor = Enum.FormFactor.Custom
3537
p27.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3538
p27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3539
p27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3540
p27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3541
p27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3542
p27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3543
p27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3544
b27 = Instance.new("SpecialMesh", p27)
3545
b27.MeshType = Enum.MeshType.Brick
3546
b27.Name = "Mesh"
3547
b27.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3548
p28 = Instance.new("Part", m)
3549
p28.BrickColor = BrickColor.new("Really black")
3550
p28.Material = Enum.Material.SmoothPlastic
3551
p28.CFrame = CFrame.new(-1.49141943, 5.35969734, 23.4204254, -0.999999881, -3.81113438e-007, 3.10304756e-007, 1.64414772e-007, 0.173647091, -0.984807551, -6.59209363e-008, -0.984807372, -0.17364876)
3552
p28.FormFactor = Enum.FormFactor.Custom
3553
p28.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3554
p28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3555
p28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3556
p28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3557
p28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3558
p28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3559
p28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3560
b28 = Instance.new("SpecialMesh", p28)
3561
b28.MeshType = Enum.MeshType.Brick
3562
b28.Name = "Mesh"
3563
b28.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3564
p29 = Instance.new("Part", m)
3565
p29.BrickColor = BrickColor.new("Really black")
3566
p29.Material = Enum.Material.SmoothPlastic
3567
p29.CFrame = CFrame.new(-1.49141932, 4.80969858, 23.2304344, -0.999999881, -4.47128798e-007, 1.98065763e-007, 1.97699791e-007, 0.499998987, -0.866025448, -1.51352623e-007, -0.866024613, -0.500000715)
3568
p29.FormFactor = Enum.FormFactor.Custom
3569
p29.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3570
p29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3571
p29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3572
p29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3573
p29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3574
p29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3575
p29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3576
b29 = Instance.new("SpecialMesh", p29)
3577
b29.MeshType = Enum.MeshType.Brick
3578
b29.Name = "Mesh"
3579
b29.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3580
p30 = Instance.new("Part", m)
3581
p30.BrickColor = BrickColor.new("Really black")
3582
p30.Material = Enum.Material.SmoothPlastic
3583
p30.CFrame = CFrame.new(-1.49142027, 4.43040895, 22.9411469, -0.999999881, 4.25206935e-007, 1.94115486e-007, 4.85997248e-007, -0.707105517, 0.707107246, -5.38012159e-008, 0.707105875, 0.707107246)
3584
p30.FormFactor = Enum.FormFactor.Custom
3585
p30.Size = Vector3.new(0.200000003, 0.200000048, 0.399999976)
3586
p30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3587
p30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3588
p30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3589
p30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3590
p30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3591
p30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3592
b30 = Instance.new("SpecialMesh", p30)
3593
b30.MeshType = Enum.MeshType.Wedge
3594
b30.Name = "Mesh"
3595
b30.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3596
p31 = Instance.new("Part", m)
3597
p31.BrickColor = BrickColor.new("Really black")
3598
p31.Material = Enum.Material.SmoothPlastic
3599
p31.CFrame = CFrame.new(-1.49141979, 6.39827871, 21.8500175, 0.999999881, 3.40091276e-007, -1.70074486e-007, -5.85792634e-007, -0.707105458, -0.707107246, 1.83170471e-007, 0.707105815, -0.707107365)
3600
p31.FormFactor = Enum.FormFactor.Custom
3601
p31.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3602
p31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3603
p31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3604
p31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3605
p31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3606
p31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3607
p31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3608
b31 = Instance.new("SpecialMesh", p31)
3609
b31.MeshType = Enum.MeshType.Brick
3610
b31.Name = "Mesh"
3611
b31.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3612
p32 = Instance.new("Part", m)
3613
p32.BrickColor = BrickColor.new("Really black")
3614
p32.Material = Enum.Material.SmoothPlastic
3615
p32.CFrame = CFrame.new(-1.49141908, 4.43041086, 22.0588818, 0.999999881, -5.29441166e-008, -6.45117154e-007, -3.43892481e-007, -0.707107067, 0.707105517, 1.02492642e-007, -0.707107663, -0.707105637)
3616
p32.FormFactor = Enum.FormFactor.Custom
3617
p32.Size = Vector3.new(0.200000003, 0.200000048, 0.399999976)
3618
p32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3619
p32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3620
p32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3621
p32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3622
p32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3623
p32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3624
b32 = Instance.new("SpecialMesh", p32)
3625
b32.MeshType = Enum.MeshType.Wedge
3626
b32.Name = "Mesh"
3627
b32.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3628
p33 = Instance.new("Part", m)
3629
p33.BrickColor = BrickColor.new("Really black")
3630
p33.Material = Enum.Material.SmoothPlastic
3631
p33.CFrame = CFrame.new(-1.4914217, 5.92970181, 21.5795879, 0.999999881, 5.22213554e-007, 2.83446013e-008, -7.00635724e-007, -0.173646629, -0.984807253, 1.38921934e-007, 0.984807372, -0.17364946)
3632
p33.FormFactor = Enum.FormFactor.Custom
3633
p33.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3634
p33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3635
p33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3636
p33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3637
p33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3638
p33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3639
p33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3640
b33 = Instance.new("SpecialMesh", p33)
3641
b33.MeshType = Enum.MeshType.Brick
3642
b33.Name = "Mesh"
3643
b33.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3644
p34 = Instance.new("Part", m)
3645
p34.BrickColor = BrickColor.new("Really black")
3646
p34.Material = Enum.Material.SmoothPlastic
3647
p34.CFrame = CFrame.new(-1.49141932, 5.35969925, 21.5795956, 0.999999881, 5.04442426e-007, 2.22697935e-007, -7.44121166e-007, 0.17364943, -0.984806716, 1.65013844e-007, 0.984807849, 0.173646525)
3648
p34.FormFactor = Enum.FormFactor.Custom
3649
p34.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
3650
p34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3651
p34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3652
p34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3653
p34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3654
p34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3655
p34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3656
b34 = Instance.new("SpecialMesh", p34)
3657
b34.MeshType = Enum.MeshType.Brick
3658
b34.Name = "Mesh"
3659
b34.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
3660
w1 = Instance.new("Weld", p1)
3661
w1.Name = "Part_Weld"
3662
w1.Part0 = p1
3663
w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3664
w1.Part1 = p2
3665
w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3666
w2 = Instance.new("Weld", p2)
3667
w2.Name = "Part_Weld"
3668
w2.Part0 = p2
3669
w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3670
w2.Part1 = p3
3671
w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3672
w3 = Instance.new("Weld", p3)
3673
w3.Name = "LeftArmPlate_Weld"
3674
w3.Part0 = p3
3675
w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3676
w3.Part1 = p4
3677
w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3678
w4 = Instance.new("Weld", p4)
3679
w4.Name = "Part_Weld"
3680
w4.Part0 = p4
3681
w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3682
w4.Part1 = p5
3683
w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3684
w5 = Instance.new("Weld", p5)
3685
w5.Name = "Part_Weld"
3686
w5.Part0 = p5
3687
w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3688
w5.Part1 = p6
3689
w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3690
w6 = Instance.new("Weld", p6)
3691
w6.Name = "Part_Weld"
3692
w6.Part0 = p6
3693
w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3694
w6.Part1 = p7
3695
w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3696
w7 = Instance.new("Weld", p7)
3697
w7.Name = "Part_Weld"
3698
w7.Part0 = p7
3699
w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3700
w7.Part1 = p8
3701
w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3702
w8 = Instance.new("Weld", p8)
3703
w8.Name = "Part_Weld"
3704
w8.Part0 = p8
3705
w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3706
w8.Part1 = p9
3707
w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3708
w9 = Instance.new("Weld", p9)
3709
w9.Name = "Part_Weld"
3710
w9.Part0 = p9
3711
w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3712
w9.Part1 = p10
3713
w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3714
w10 = Instance.new("Weld", p10)
3715
w10.Name = "Part_Weld"
3716
w10.Part0 = p10
3717
w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3718
w10.Part1 = p11
3719
w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3720
w11 = Instance.new("Weld", p11)
3721
w11.Name = "Part_Weld"
3722
w11.Part0 = p11
3723
w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3724
w11.Part1 = p12
3725
w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3726
w12 = Instance.new("Weld", p12)
3727
w12.Name = "Part_Weld"
3728
w12.Part0 = p12
3729
w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3730
w12.Part1 = p13
3731
w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3732
w13 = Instance.new("Weld", p13)
3733
w13.Name = "Part_Weld"
3734
w13.Part0 = p13
3735
w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3736
w13.Part1 = p14
3737
w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3738
w14 = Instance.new("Weld", p14)
3739
w14.Name = "Part_Weld"
3740
w14.Part0 = p14
3741
w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3742
w14.Part1 = p15
3743
w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3744
w15 = Instance.new("Weld", p15)
3745
w15.Name = "Part_Weld"
3746
w15.Part0 = p15
3747
w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3748
w15.Part1 = p16
3749
w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
3750
w16 = Instance.new("Weld", p16)
3751
w16.Name = "Part_Weld"
3752
w16.Part0 = p16
3753
w16.C0 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
3754
w16.Part1 = p17
3755
w16.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3756
w17 = Instance.new("Weld", p17)
3757
w17.Name = "Part_Weld"
3758
w17.Part0 = p17
3759
w17.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3760
w17.Part1 = p18
3761
w17.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3762
w18 = Instance.new("Weld", p18)
3763
w18.Name = "Part_Weld"
3764
w18.Part0 = p18
3765
w18.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3766
w18.Part1 = p19
3767
w18.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3768
w19 = Instance.new("Weld", p19)
3769
w19.Name = "Part_Weld"
3770
w19.Part0 = p19
3771
w19.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3772
w19.Part1 = p20
3773
w19.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3774
w20 = Instance.new("Weld", p20)
3775
w20.Name = "Part_Weld"
3776
w20.Part0 = p20
3777
w20.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
3778
w20.Part1 = p21
3779
w20.C1 = CFrame.new(22.4999943, 10.3648901, -13.0979404, -3.09086232e-008, 1.63798575e-007, -1, -0.707106888, -0.70710665, -9.39673512e-008, -0.70710665, 0.707106888, 1.37678796e-007)
3780
w21 = Instance.new("Weld", p21)
3781
w21.Name = "Part_Weld"
3782
w21.Part0 = p21
3783
w21.C0 = CFrame.new(22.4999943, 10.3648901, -13.0979404, -3.09086232e-008, 1.63798575e-007, -1, -0.707106888, -0.70710665, -9.39673512e-008, -0.70710665, 0.707106888, 1.37678796e-007)
3784
w21.Part1 = p22
3785
w21.C1 = CFrame.new(22.4999981, -6.56083632, 15.8073826, 6.53831052e-008, -1.56958208e-007, -1, 0.866025388, 0.5, -2.18557226e-008, 0.5, -0.866025388, 1.68621398e-007)
3786
w22 = Instance.new("Weld", p22)
3787
w22.Name = "Part_Weld"
3788
w22.Part0 = p22
3789
w22.C0 = CFrame.new(22.4999981, -6.56083632, 15.8073826, 6.53831052e-008, -1.56958208e-007, -1, 0.866025388, 0.5, -2.18557226e-008, 0.5, -0.866025388, 1.68621398e-007)
3790
w22.Part1 = p23
3791
w22.C1 = CFrame.new(22.5, -0.667109907, 17.6726532, -4.30473222e-008, -2.02297542e-007, -1, 0.984807789, 0.17364794, -7.75219178e-008, 0.17364794, -0.984807789, 1.91749166e-007)
3792
w23 = Instance.new("Weld", p23)
3793
w23.Name = "Part_Weld"
3794
w23.Part0 = p23
3795
w23.C0 = CFrame.new(22.5, -0.667109907, 17.6726532, -4.30473222e-008, -2.02297542e-007, -1, 0.984807789, 0.17364794, -7.75219178e-008, 0.17364794, -0.984807789, 1.91749166e-007)
3796
w23.Part1 = p24
3797
w23.C1 = CFrame.new(22.5, 5.5165062, 17.3963699, -4.30473079e-008, -1.87116754e-007, -1, 0.98480773, -0.173648238, -9.9008588e-009, -0.173648238, -0.98480773, 1.91749152e-007)
3798
w24 = Instance.new("Weld", p24)
3799
w24.Name = "Part_Weld"
3800
w24.Part0 = p24
3801
w24.C0 = CFrame.new(22.5, 5.5165062, 17.3963699, -4.30473079e-008, -1.87116754e-007, -1, 0.98480773, -0.173648238, -9.9008588e-009, -0.173648238, -0.98480773, 1.91749152e-007)
3802
w24.Part1 = p25
3803
w24.C1 = CFrame.new(22.5000019, 14.6371164, 11.6086912, 5.33850866e-008, -1.28882959e-007, -1, 0.707106829, -0.707106769, 1.28882959e-007, -0.707106769, -0.707106829, 5.33851079e-008)
3804
w25 = Instance.new("Weld", p25)
3805
w25.Name = "Part_Weld"
3806
w25.Part0 = p25
3807
w25.C0 = CFrame.new(22.5000019, 14.6371164, 11.6086912, 5.33850866e-008, -1.28882959e-007, -1, 0.707106829, -0.707106769, 1.28882959e-007, -0.707106769, -0.707106829, 5.33851079e-008)
3808
w25.Part1 = p26
3809
w25.C1 = CFrame.new(-1.49141967, 29.4924316, -3.24661636, -1, -1.1920929e-007, -4.71654928e-008, 1.1920929e-007, -0.707106709, -0.707106888, 8.94069672e-008, -0.707106829, 0.70710665)
3810
w26 = Instance.new("Weld", p26)
3811
w26.Name = "Part_Weld"
3812
w26.Part0 = p26
3813
w26.C0 = CFrame.new(-1.49141967, 29.4924316, -3.24661636, -1, -1.1920929e-007, -4.71654928e-008, 1.1920929e-007, -0.707106709, -0.707106888, 8.94069672e-008, -0.707106829, 0.70710665)
3814
w26.Part1 = p27
3815
w26.C1 = CFrame.new(-1.49142396, 26.2059097, 13.748271, -1, -1.22925456e-007, 1.83316814e-007, -1.79966634e-007, -0.173648238, -0.98480773, 1.85296102e-007, -0.98480773, 0.173648149)
3816
w27 = Instance.new("Weld", p27)
3817
w27.Name = "Part_Weld"
3818
w27.Part0 = p27
3819
w27.C0 = CFrame.new(-1.49142396, 26.2059097, 13.748271, -1, -1.22925456e-007, 1.83316814e-007, -1.79966634e-007, -0.173648238, -0.98480773, 1.85296102e-007, -0.98480773, 0.173648149)
3820
w27.Part1 = p28
3821
w27.C1 = CFrame.new(-1.49142182, 20.0222931, 21.3207512, -1, -1.60415567e-007, 1.16723079e-007, -1.73416339e-007, 0.17364794, -0.98480773, 1.61053634e-007, -0.98480773, -0.173648015)
3822
w28 = Instance.new("Weld", p28)
3823
w28.Name = "Part_Weld"
3824
w28.Part0 = p28
3825
w28.C0 = CFrame.new(-1.49142182, 20.0222931, 21.3207512, -1, -1.60415567e-007, 1.16723079e-007, -1.73416339e-007, 0.17364794, -0.98480773, 1.61053634e-007, -0.98480773, -0.173648015)
3826
w28.Part1 = p29
3827
w28.C1 = CFrame.new(-1.49142063, 11.6331291, 26.311676, -1, -1.55435174e-007, 5.73833887e-008, -1.6416179e-007, 0.5, -0.866025329, 1.17385696e-007, -0.866025329, -0.500000119)
3828
w29 = Instance.new("Weld", p29)
3829
w29.Name = "Part_Weld"
3830
w29.Part0 = p29
3831
w29.C0 = CFrame.new(-1.49142063, 11.6331291, 26.311676, -1, -1.55435174e-007, 5.73833887e-008, -1.6416179e-007, 0.5, -0.866025329, 1.17385696e-007, -0.866025329, -0.500000119)
3832
w29.Part1 = p30
3833
w29.C1 = CFrame.new(-1.49142897, -4.49042225, -27.9532433, -1, 1.04557571e-007, 1.81026579e-007, 9.25360411e-008, -0.70710665, 0.707106829, 2.00373876e-007, 0.707106888, 0.707106769)
3834
w30 = Instance.new("Weld", p30)
3835
w30.Name = "Part_Weld"
3836
w30.Part0 = p30
3837
w30.C0 = CFrame.new(-1.49142897, -4.49042225, -27.9532433, -1, 1.04557571e-007, 1.81026579e-007, 9.25360411e-008, -0.70710665, 0.707106829, 2.00373876e-007, 0.707106888, 0.707106769)
3838
w30.Part1 = p31
3839
w30.C1 = CFrame.new(1.49142683, -2.32737827, 28.5731888, 1, -1.76048474e-007, -7.77491636e-008, -3.10438502e-008, -0.707106709, 0.707106769, -1.77897419e-007, -0.707106829, -0.707106829)
3840
w31 = Instance.new("Weld", p31)
3841
w31.Name = "Part_Weld"
3842
w31.Part0 = p31
3843
w31.C0 = CFrame.new(1.49142683, -2.32737827, 28.5731888, 1, -1.76048474e-007, -7.77491636e-008, -3.10438502e-008, -0.707106709, 0.707106769, -1.77897419e-007, -0.707106829, -0.707106829)
3844
w31.Part1 = p32
3845
w31.C1 = CFrame.new(1.49142444, 27.3293839, 3.86655521, 1, 9.41566256e-008, -1.8451928e-007, -6.23315088e-008, -0.70710665, -0.707107008, -2.35517859e-007, 0.707106888, -0.70710659)
3846
w32 = Instance.new("Weld", p32)
3847
w32.Name = "Part_Weld"
3848
w32.Part0 = p32
3849
w32.C0 = CFrame.new(1.49142444, 27.3293839, 3.86655521, 1, 9.41566256e-008, -1.8451928e-007, -6.23315088e-008, -0.70710665, -0.707107008, -2.35517859e-007, 0.707106888, -0.70710659)
3850
w32.Part1 = p33
3851
w32.C1 = CFrame.new(1.49143207, -18.1104279, 21.5624332, 1, -2.34282282e-007, -1.74181523e-007, 1.61463277e-007, -0.173648089, 0.98480773, -2.37625457e-007, -0.98480773, -0.173648238)
3852
w33 = Instance.new("Weld", p33)
3853
w33.Name = "Part_Weld"
3854
w33.Part0 = p33
3855
w33.C0 = CFrame.new(1.49143207, -18.1104279, 21.5624332, 1, -2.34282282e-007, -1.74181523e-007, 1.61463277e-007, -0.173648089, 0.98480773, -2.37625457e-007, -0.98480773, -0.173648238)
3856
w33.Part1 = p34
3857
w33.C1 = CFrame.new(1.49143016, -24.2940445, 13.5065851, 1, -2.49463085e-007, -1.74181523e-007, 2.35634644e-007, 0.173648074, 0.98480773, -1.83021399e-007, -0.98480773, 0.17364794)
3858
m.Parent = larm
3859
m:MakeJoints()
3860
----------------------------------------------------
3861
local cor = Instance.new("Part", larm.LeftArm)
3862
cor.Name = "Thingy"
3863
cor.Locked = true
3864
cor.BottomSurface = 0
3865
cor.CanCollide = false
3866
cor.Size = Vector3.new(1, 1, 1)
3867
cor.Transparency = 1
3868
cor.TopSurface = 0
3869
corw = Instance.new("Weld", cor)
3870
corw.Part0 = larm
3871
corw.Part1 = cor
3872
corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3873
corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3874
weld1 = Instance.new("Weld", larm.LeftArm)
3875
weld1.Part0 = cor
3876
weld1.Part1 = larm.LeftArm.LeftArmPlate
3877
weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3878
--Right Arm
3879
m2 = Instance.new("Model")
3880
m2.Name = "RightArm"
3881
p1 = Instance.new("Part", m2)
3882
p1.BrickColor = BrickColor.new("Dark indigo")
3883
p1.Material = Enum.Material.Neon
3884
p1.CFrame = CFrame.new(3.5, -9.44201183, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3885
p1.FormFactor = Enum.FormFactor.Custom
3886
p1.Size = Vector3.new(0,0,0)
3887
p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3888
p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3889
p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3890
p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3891
p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3892
p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3893
b1 = Instance.new("SpecialMesh", p1)
3894
b1.MeshType = Enum.MeshType.Brick
3895
b1.Name = "Mesh"
3896
b1.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3897
p2 = Instance.new("Part", m2)
3898
p2.BrickColor = BrickColor.new("Dark indigo")
3899
p2.Material = Enum.Material.Neon
3900
p2.CFrame = CFrame.new(3.5, -9.74201393, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3901
p2.FormFactor = Enum.FormFactor.Custom
3902
p2.Size = Vector3.new(0,0,0)
3903
p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3904
p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3905
p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3906
p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3907
p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3908
p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3909
b2 = Instance.new("SpecialMesh", p2)
3910
b2.MeshType = Enum.MeshType.Brick
3911
b2.Name = "Mesh"
3912
b2.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3913
p3 = Instance.new("Part", m2)
3914
p3.BrickColor = BrickColor.new("Dark indigo")
3915
p3.Material = Enum.Material.Neon
3916
p3.CFrame = CFrame.new(3.5, -9.14201164, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3917
p3.FormFactor = Enum.FormFactor.Custom
3918
p3.Size = Vector3.new(0,0,0)
3919
p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3920
p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3921
p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3922
p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3923
p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3924
p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3925
b3 = Instance.new("SpecialMesh", p3)
3926
b3.MeshType = Enum.MeshType.Brick
3927
b3.Name = "Mesh"
3928
b3.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3929
p4 = Instance.new("Part", m2)
3930
p4.BrickColor = BrickColor.new("Dark indigo")
3931
p4.Material = Enum.Material.Neon
3932
p4.CFrame = CFrame.new(3.5, -8.84201622, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3933
p4.FormFactor = Enum.FormFactor.Custom
3934
p4.Size = Vector3.new(0,0,0)
3935
p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3936
p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3937
p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3938
p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3939
p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3940
p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3941
b4 = Instance.new("SpecialMesh", p4)
3942
b4.MeshType = Enum.MeshType.Brick
3943
b4.Name = "Mesh"
3944
b4.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
3945
p5 = Instance.new("Part", m2)
3946
p5.BrickColor = BrickColor.new("Dark indigo")
3947
p5.Material = Enum.Material.Neon
3948
p5.CFrame = CFrame.new(3.5, -8.84201622, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3949
p5.FormFactor = Enum.FormFactor.Custom
3950
p5.Size = Vector3.new(0,0,0)
3951
p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3952
p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3953
p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3954
p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3955
p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3956
p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3957
b5 = Instance.new("SpecialMesh", p5)
3958
b5.MeshType = Enum.MeshType.Brick
3959
b5.Name = "Mesh"
3960
b5.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
3961
p6 = Instance.new("Part", m2)
3962
p6.BrickColor = BrickColor.new("Really black")
3963
p6.Material = Enum.Material.SmoothPlastic
3964
p6.CFrame = CFrame.new(3.5, -8.84201622, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3965
p6.FormFactor = Enum.FormFactor.Custom
3966
p6.Size = Vector3.new(1, 1, 1)
3967
p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3968
p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3969
p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3970
p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3971
p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3972
p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3973
b6 = Instance.new("SpecialMesh", p6)
3974
b6.MeshType = Enum.MeshType.Brick
3975
b6.Name = "Mesh"
3976
p7 = Instance.new("Part", m2)
3977
p7.BrickColor = BrickColor.new("Really black")
3978
p7.Material = Enum.Material.SmoothPlastic
3979
p7.Name = "RightArmPlate"
3980
p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3981
p7.FormFactor = Enum.FormFactor.Symmetric
3982
p7.Size = Vector3.new(1, 2, 1)
3983
p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
3984
p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
3985
p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
3986
p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
3987
p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
3988
p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
3989
b7 = Instance.new("SpecialMesh", p7)
3990
b7.MeshType = Enum.MeshType.Brick
3991
b7.Name = "Mesh"
3992
b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
3993
p8 = Instance.new("Part", m2)
3994
p8.BrickColor = BrickColor.new("Dark indigo")
3995
p8.Material = Enum.Material.Neon
3996
p8.CFrame = CFrame.new(3.5, -9.14201164, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
3997
p8.FormFactor = Enum.FormFactor.Custom
3998
p8.Size = Vector3.new(0,0,0)
3999
p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4000
p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4001
p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4002
p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4003
p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4004
p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4005
b8 = Instance.new("SpecialMesh", p8)
4006
b8.MeshType = Enum.MeshType.Brick
4007
b8.Name = "Mesh"
4008
b8.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
4009
p9 = Instance.new("Part", m2)
4010
p9.BrickColor = BrickColor.new("Really black")
4011
p9.Material = Enum.Material.SmoothPlastic
4012
p9.CFrame = CFrame.new(3.5, -8.69201183, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4013
p9.FormFactor = Enum.FormFactor.Custom
4014
p9.Size = Vector3.new(1, 0.349999994, 1)
4015
p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4016
p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4017
p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4018
p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4019
p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4020
p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4021
b9 = Instance.new("SpecialMesh", p9)
4022
b9.MeshType = Enum.MeshType.Brick
4023
b9.Name = "Mesh"
4024
b9.Scale = Vector3.new(1.12, 1.01999998, 1.12)
4025
p10 = Instance.new("Part", m2)
4026
p10.BrickColor = BrickColor.new("Really black")
4027
p10.Material = Enum.Material.SmoothPlastic
4028
p10.CFrame = CFrame.new(3.5, -8.99201584, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4029
p10.FormFactor = Enum.FormFactor.Custom
4030
p10.Size = Vector3.new(1, 0.25, 1)
4031
p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4032
p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4033
p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4034
p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4035
p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4036
p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4037
b10 = Instance.new("SpecialMesh", p10)
4038
b10.MeshType = Enum.MeshType.Brick
4039
b10.Name = "Mesh"
4040
b10.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
4041
p11 = Instance.new("Part", m2)
4042
p11.BrickColor = BrickColor.new("Really black")
4043
p11.Material = Enum.Material.SmoothPlastic
4044
p11.CFrame = CFrame.new(3.5, -9.29201508, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4045
p11.FormFactor = Enum.FormFactor.Custom
4046
p11.Size = Vector3.new(1, 0.25, 1)
4047
p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4048
p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4049
p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4050
p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4051
p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4052
p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4053
b11 = Instance.new("SpecialMesh", p11)
4054
b11.MeshType = Enum.MeshType.Brick
4055
b11.Name = "Mesh"
4056
b11.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
4057
p12 = Instance.new("Part", m2)
4058
p12.BrickColor = BrickColor.new("Really black")
4059
p12.Material = Enum.Material.SmoothPlastic
4060
p12.CFrame = CFrame.new(3.5, -9.59201431, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4061
p12.FormFactor = Enum.FormFactor.Custom
4062
p12.Size = Vector3.new(1, 0.25, 1)
4063
p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4064
p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4065
p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4066
p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4067
p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4068
p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4069
b12 = Instance.new("SpecialMesh", p12)
4070
b12.MeshType = Enum.MeshType.Brick
4071
b12.Name = "Mesh"
4072
b12.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
4073
p13 = Instance.new("Part", m2)
4074
p13.BrickColor = BrickColor.new("Dark indigo")
4075
p13.Material = Enum.Material.Neon
4076
p13.CFrame = CFrame.new(3.5, -9.44201088, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4077
p13.FormFactor = Enum.FormFactor.Custom
4078
p13.Size = Vector3.new(0,0,0)
4079
p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4080
p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4081
p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4082
p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4083
p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4084
p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4085
b13 = Instance.new("SpecialMesh", p13)
4086
b13.MeshType = Enum.MeshType.Brick
4087
b13.Name = "Mesh"
4088
b13.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
4089
p14 = Instance.new("Part", m2)
4090
p14.BrickColor = BrickColor.new("Really black")
4091
p14.Material = Enum.Material.SmoothPlastic
4092
p14.CFrame = CFrame.new(3.5, -9.89201069, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4093
p14.FormFactor = Enum.FormFactor.Custom
4094
p14.Size = Vector3.new(1, 0.25, 1)
4095
p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4096
p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4097
p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4098
p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4099
p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4100
p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4101
b14 = Instance.new("SpecialMesh", p14)
4102
b14.MeshType = Enum.MeshType.Brick
4103
b14.Name = "Mesh"
4104
b14.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
4105
p15 = Instance.new("Part", m2)
4106
p15.BrickColor = BrickColor.new("Dark indigo")
4107
p15.Material = Enum.Material.Neon
4108
p15.CFrame = CFrame.new(3.5, -9.74201298, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4109
p15.FormFactor = Enum.FormFactor.Custom
4110
p15.Size = Vector3.new(0,0,0)
4111
p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4112
p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4113
p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4114
p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4115
p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4116
p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4117
b15 = Instance.new("SpecialMesh", p15)
4118
b15.MeshType = Enum.MeshType.Brick
4119
b15.Name = "Mesh"
4120
b15.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
4121
p16 = Instance.new("Part", m2)
4122
p16.BrickColor = BrickColor.new("Really black")
4123
p16.Material = Enum.Material.SmoothPlastic
4124
p16.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4125
p16.FormFactor = Enum.FormFactor.Custom
4126
p16.Size = Vector3.new(1.01999998, 0.300000012, 1.01999998)
4127
p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4128
p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4129
p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4130
p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4131
p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4132
p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4133
b16 = Instance.new("SpecialMesh", p16)
4134
b16.MeshType = Enum.MeshType.Brick
4135
b16.Name = "Mesh"
4136
b16.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
4137
p17 = Instance.new("Part", m2)
4138
p17.BrickColor = BrickColor.new("Really black")
4139
p17.Material = Enum.Material.SmoothPlastic
4140
p17.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4141
p17.FormFactor = Enum.FormFactor.Custom
4142
p17.Size = Vector3.new(1.00999999, 0.400000036, 1.00999999)
4143
p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4144
p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4145
p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4146
p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4147
p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4148
p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4149
b17 = Instance.new("SpecialMesh", p17)
4150
b17.MeshType = Enum.MeshType.Brick
4151
b17.Name = "Mesh"
4152
b17.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
4153
p18 = Instance.new("Part", m2)
4154
p18.BrickColor = BrickColor.new("Really black")
4155
p18.Material = Enum.Material.Metal
4156
p18.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4157
p18.FormFactor = Enum.FormFactor.Custom
4158
p18.Size = Vector3.new(0,0,0)
4159
p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4160
p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4161
p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4162
p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4163
p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4164
p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4165
b18 = Instance.new("SpecialMesh", p18)
4166
b18.MeshType = Enum.MeshType.Brick
4167
b18.Name = "Mesh"
4168
b18.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
4169
p19 = Instance.new("Part", m2)
4170
p19.BrickColor = BrickColor.new("Really black")
4171
p19.Material = Enum.Material.SmoothPlastic
4172
p19.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4173
p19.FormFactor = Enum.FormFactor.Custom
4174
p19.Size = Vector3.new(0,0,0)
4175
p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4176
p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4177
p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4178
p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4179
p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4180
p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4181
b19 = Instance.new("SpecialMesh", p19)
4182
b19.MeshType = Enum.MeshType.Brick
4183
b19.Name = "Mesh"
4184
b19.Scale = Vector3.new(1.02999997, 0.50999999, 1.02999997)
4185
w1 = Instance.new("Weld", p1)
4186
w1.Name = "Part_Weld"
4187
w1.Part0 = p1
4188
w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4189
w1.Part1 = p2
4190
w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4191
w2 = Instance.new("Weld", p2)
4192
w2.Name = "Part_Weld"
4193
w2.Part0 = p2
4194
w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4195
w2.Part1 = p3
4196
w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4197
w3 = Instance.new("Weld", p3)
4198
w3.Name = "Part_Weld"
4199
w3.Part0 = p3
4200
w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4201
w3.Part1 = p4
4202
w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4203
w4 = Instance.new("Weld", p4)
4204
w4.Name = "Part_Weld"
4205
w4.Part0 = p4
4206
w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4207
w4.Part1 = p5
4208
w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4209
w5 = Instance.new("Weld", p5)
4210
w5.Name = "Part_Weld"
4211
w5.Part0 = p5
4212
w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4213
w5.Part1 = p6
4214
w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4215
w6 = Instance.new("Weld", p6)
4216
w6.Name = "RightArmPlate_Weld"
4217
w6.Part0 = p6
4218
w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4219
w6.Part1 = p7
4220
w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4221
w7 = Instance.new("Weld", p7)
4222
w7.Name = "Part_Weld"
4223
w7.Part0 = p7
4224
w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4225
w7.Part1 = p8
4226
w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4227
w8 = Instance.new("Weld", p8)
4228
w8.Name = "Part_Weld"
4229
w8.Part0 = p8
4230
w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4231
w8.Part1 = p9
4232
w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4233
w9 = Instance.new("Weld", p9)
4234
w9.Name = "Part_Weld"
4235
w9.Part0 = p9
4236
w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4237
w9.Part1 = p10
4238
w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4239
w10 = Instance.new("Weld", p10)
4240
w10.Name = "Part_Weld"
4241
w10.Part0 = p10
4242
w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4243
w10.Part1 = p11
4244
w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4245
w11 = Instance.new("Weld", p11)
4246
w11.Name = "Part_Weld"
4247
w11.Part0 = p11
4248
w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4249
w11.Part1 = p12
4250
w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4251
w12 = Instance.new("Weld", p12)
4252
w12.Name = "Part_Weld"
4253
w12.Part0 = p12
4254
w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4255
w12.Part1 = p13
4256
w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4257
w13 = Instance.new("Weld", p13)
4258
w13.Name = "Part_Weld"
4259
w13.Part0 = p13
4260
w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4261
w13.Part1 = p14
4262
w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4263
w14 = Instance.new("Weld", p14)
4264
w14.Name = "Part_Weld"
4265
w14.Part0 = p14
4266
w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4267
w14.Part1 = p15
4268
w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4269
w15 = Instance.new("Weld", p15)
4270
w15.Name = "Part_Weld"
4271
w15.Part0 = p15
4272
w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4273
w15.Part1 = p16
4274
w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4275
w16 = Instance.new("Weld", p16)
4276
w16.Name = "Part_Weld"
4277
w16.Part0 = p16
4278
w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4279
w16.Part1 = p17
4280
w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4281
w17 = Instance.new("Weld", p17)
4282
w17.Name = "Part_Weld"
4283
w17.Part0 = p17
4284
w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4285
w17.Part1 = p18
4286
w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4287
w18 = Instance.new("Weld", p18)
4288
w18.Name = "Part_Weld"
4289
w18.Part0 = p18
4290
w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4291
w18.Part1 = p19
4292
w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4293
m2.Parent = rarm
4294
m2:MakeJoints()
4295
----------------------------------------------------
4296
local cor2 = Instance.new("Part", rarm.RightArm)
4297
cor2.Name = "Thingy"
4298
cor2.Locked = true
4299
cor2.BottomSurface = 0
4300
cor2.CanCollide = false
4301
cor2.Size = Vector3.new(1, 1, 1)
4302
cor2.Transparency = 1
4303
cor2.TopSurface = 0
4304
corw2 = Instance.new("Weld", cor2)
4305
corw2.Part0 = rarm
4306
corw2.Part1 = cor2
4307
corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
4308
corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
4309
weld2 = Instance.new("Weld", rarm.RightArm)
4310
weld2.Part0 = cor2
4311
weld2.Part1 = rarm.RightArm.RightArmPlate
4312
weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
4313
--Torso
4314
m3 = Instance.new("Model")
4315
m3.Name = "Torso"
4316
p1 = Instance.new("Part", m3)
4317
p1.BrickColor = BrickColor.new("Really black")
4318
p1.Material = Enum.Material.Metal
4319
p1.Name = "TorsoPlate"
4320
p1.CFrame = CFrame.new(0, 3.10002589, 0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4321
p1.CanCollide = false
4322
p1.Locked = true
4323
p1.FormFactor = Enum.FormFactor.Custom
4324
p1.Size = Vector3.new(0,0,0)
4325
p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4326
p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4327
p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4328
p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4329
p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4330
p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4331
b1 = Instance.new("SpecialMesh", p1)
4332
b1.MeshType = Enum.MeshType.Brick
4333
b1.Name = "Mesh"
4334
b1.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4335
p2 = Instance.new("Part", m3)
4336
p2.BrickColor = BrickColor.new("Really black")
4337
p2.Material = Enum.Material.Metal
4338
p2.CFrame = CFrame.new(-0.450000942, 4.05002356, -0.100002818, -0.685070276, 0.686094284, 0.244853854, 0.616745472, 0.367372453, 0.696177125, 0.387690574, 0.627942622, -0.674821496)
4339
p2.CanCollide = false
4340
p2.Locked = true
4341
p2.FormFactor = Enum.FormFactor.Custom
4342
p2.Size = Vector3.new(0,0,0)
4343
b2 = Instance.new("SpecialMesh", p2)
4344
b2.MeshId = "http://www.roblox.com/asset/?id=0"
4345
b2.TextureId = ""
4346
b2.MeshType = Enum.MeshType.FileMesh
4347
b2.Name = "Mesh"
4348
b2.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4349
p3 = Instance.new("Part", m3)
4350
p3.BrickColor = BrickColor.new("Really black")
4351
p3.Material = Enum.Material.SmoothPlastic
4352
p3.CFrame = CFrame.new(0, 3.10002589, 0.970001996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4353
p3.CanCollide = false
4354
p3.Locked = true
4355
p3.FormFactor = Enum.FormFactor.Custom
4356
p3.Size = Vector3.new(2, 2, 0.200000018)
4357
p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4358
p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4359
p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4360
p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4361
p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4362
p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4363
b3 = Instance.new("SpecialMesh", p3)
4364
b3.MeshType = Enum.MeshType.Brick
4365
b3.Name = "Mesh"
4366
b3.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4367
p4 = Instance.new("Part", m3)
4368
p4.BrickColor = BrickColor.new("Really black")
4369
p4.Material = Enum.Material.SmoothPlastic
4370
p4.CFrame = CFrame.new(0, 4.00002623, 0.529999971, 1, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008)
4371
p4.CanCollide = false
4372
p4.Locked = true
4373
p4.FormFactor = Enum.FormFactor.Custom
4374
p4.Size = Vector3.new(2, 1.04000008, 0.239999995)
4375
p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4376
p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4377
p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4378
p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4379
p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4380
p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4381
b4 = Instance.new("SpecialMesh", p4)
4382
b4.MeshType = Enum.MeshType.Brick
4383
b4.Name = "Mesh"
4384
b4.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4385
p5 = Instance.new("Part", m3)
4386
p5.BrickColor = BrickColor.new("Really black")
4387
p5.Material = Enum.Material.SmoothPlastic
4388
p5.CFrame = CFrame.new(-0.499999821, 3.15002489, 0.0999978557, 7.54979084e-008, 1, 0, 4.37113918e-008, 0, 1, 1, -7.54978942e-008, -4.37113883e-008)
4389
p5.CanCollide = false
4390
p5.Locked = true
4391
p5.FormFactor = Enum.FormFactor.Custom
4392
p5.Size = Vector3.new(0.300000012, 1, 1.89999998)
4393
p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4394
p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4395
p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4396
p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4397
p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4398
p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4399
b5 = Instance.new("SpecialMesh", p5)
4400
b5.MeshType = Enum.MeshType.Wedge
4401
b5.Name = "Mesh"
4402
b5.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4403
p6 = Instance.new("Part", m3)
4404
p6.BrickColor = BrickColor.new("Really black")
4405
p6.Material = Enum.Material.SmoothPlastic
4406
p6.CFrame = CFrame.new(0.500000179, 3.15002489, 0.0999980345, -4.37113918e-008, -1, 0, -4.37113812e-008, 0, 1, -1, 4.37113847e-008, -4.37113883e-008)
4407
p6.CanCollide = false
4408
p6.Locked = true
4409
p6.FormFactor = Enum.FormFactor.Custom
4410
p6.Size = Vector3.new(0.300000012, 0.99999994, 1.89999998)
4411
p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4412
p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4413
p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4414
p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4415
p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4416
p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4417
b6 = Instance.new("SpecialMesh", p6)
4418
b6.MeshType = Enum.MeshType.Wedge
4419
b6.Name = "Mesh"
4420
b6.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4421
p7 = Instance.new("Part", m3)
4422
p7.BrickColor = BrickColor.new("Really black")
4423
p7.Material = Enum.Material.SmoothPlastic
4424
p7.CFrame = CFrame.new(1.63912773e-007, 3.20002794, 0.0999980569, -3.09086197e-008, -0.707106829, -0.707106769, -7.46200044e-008, -0.707106769, 0.707106829, -1, 7.46200044e-008, -3.09086197e-008)
4425
p7.CanCollide = false
4426
p7.Locked = true
4427
p7.FormFactor = Enum.FormFactor.Custom
4428
p7.Size = Vector3.new(0,0,0)
4429
p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4430
p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4431
p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4432
p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4433
p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4434
p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4435
b7 = Instance.new("SpecialMesh", p7)
4436
b7.MeshType = Enum.MeshType.Wedge
4437
b7.Name = "Mesh"
4438
p8 = Instance.new("Part", m3)
4439
p8.BrickColor = BrickColor.new("Really black")
4440
p8.Material = Enum.Material.SmoothPlastic
4441
p8.CFrame = CFrame.new(-1, 3.10002613, 0.520000935, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
4442
p8.CanCollide = false
4443
p8.Locked = true
4444
p8.FormFactor = Enum.FormFactor.Custom
4445
p8.Size = Vector3.new(1, 2, 0.200000018)
4446
p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4447
p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4448
p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4449
p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4450
p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4451
p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4452
b8 = Instance.new("SpecialMesh", p8)
4453
b8.MeshType = Enum.MeshType.Brick
4454
b8.Name = "Mesh"
4455
b8.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4456
p9 = Instance.new("Part", m3)
4457
p9.BrickColor = BrickColor.new("Really black")
4458
p9.Material = Enum.Material.SmoothPlastic
4459
p9.CFrame = CFrame.new(1, 3.10002613, 0.520001054, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
4460
p9.CanCollide = false
4461
p9.Locked = true
4462
p9.FormFactor = Enum.FormFactor.Custom
4463
p9.Size = Vector3.new(1, 2, 0.200000018)
4464
p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4465
p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4466
p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4467
p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4468
p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4469
p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4470
b9 = Instance.new("SpecialMesh", p9)
4471
b9.MeshType = Enum.MeshType.Brick
4472
b9.Name = "Mesh"
4473
b9.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4474
p10 = Instance.new("Part", m3)
4475
p10.BrickColor = BrickColor.new("Really black")
4476
p10.Material = Enum.Material.SmoothPlastic
4477
p10.CFrame = CFrame.new(0, 2.05002642, 0.539999843, 1, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008)
4478
p10.CanCollide = false
4479
p10.Locked = true
4480
p10.FormFactor = Enum.FormFactor.Custom
4481
p10.Size = Vector3.new(0,0,0)
4482
p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4483
p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4484
p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4485
p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4486
p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4487
p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4488
b10 = Instance.new("SpecialMesh", p10)
4489
b10.MeshType = Enum.MeshType.Brick
4490
b10.Name = "Mesh"
4491
b10.Scale = Vector3.new(1, 1.01999998, 1.01999998)
4492
p11 = Instance.new("Part", m3)
4493
p11.BrickColor = BrickColor.new("Really black")
4494
p11.Material = Enum.Material.Metal
4495
p11.CFrame = CFrame.new(0.499999523, 4.05002451, -0.0499982014, 1.00000024, -8.94069672e-008, -1.78813934e-007, -2.98023224e-008, 0.906307817, -0.422618449, -2.23517418e-007, 0.42261821, 0.906307697)
4496
p11.CanCollide = false
4497
p11.Locked = true
4498
p11.FormFactor = Enum.FormFactor.Custom
4499
p11.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4500
b11 = Instance.new("SpecialMesh", p11)
4501
b11.MeshId = "http://www.roblox.com/asset/?id=0"
4502
b11.TextureId = ""
4503
b11.MeshType = Enum.MeshType.FileMesh
4504
b11.Name = "Mesh"
4505
b11.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4506
p12 = Instance.new("Part", m3)
4507
p12.BrickColor = BrickColor.new("Really black")
4508
p12.Material = Enum.Material.Metal
4509
p12.Transparency = 1
4510
p12.Name = "Chain2Torso"
4511
p12.CFrame = CFrame.new(0.0500000007, 3.35002589, 0.0200020671, -4.37113883e-008, -1, 0, -4.37113883e-008, 1.91068547e-015, -1, 1, -4.37113883e-008, -4.37113883e-008)
4512
p12.CanCollide = false
4513
p12.Locked = true
4514
p12.FormFactor = Enum.FormFactor.Custom
4515
p12.Size = Vector3.new(0.699999988, 0.300000012, 0.300000012)
4516
b12 = Instance.new("SpecialMesh", p12)
4517
b12.MeshId = "http://www.roblox.com/asset/?id=0"
4518
b12.TextureId = ""
4519
b12.MeshType = Enum.MeshType.FileMesh
4520
b12.Name = "Mesh"
4521
b12.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4522
p13 = Instance.new("Part", m3)
4523
p13.BrickColor = BrickColor.new("Really black")
4524
p13.Material = Enum.Material.Metal
4525
p13.CFrame = CFrame.new(-0.700000763, 4.25002289, 0.349998087, -0.606457233, -0.374239564, 0.70153743, -0.641863465, -0.290311694, -0.709739804, 0.469277143, -0.880717754, -0.0641489923)
4526
p13.CanCollide = false
4527
p13.Locked = true
4528
p13.FormFactor = Enum.FormFactor.Custom
4529
p13.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4530
b13 = Instance.new("SpecialMesh", p13)
4531
b13.MeshId = "http://www.roblox.com/asset/?id=0"
4532
b13.TextureId = ""
4533
b13.MeshType = Enum.MeshType.FileMesh
4534
b13.Name = "Mesh"
4535
b13.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4536
p14 = Instance.new("Part", m3)
4537
p14.BrickColor = BrickColor.new("Really black")
4538
p14.Material = Enum.Material.Metal
4539
p14.CFrame = CFrame.new(-0.0500002243, 3.50002766, -0.150001988, -0.331867754, 0.457445055, -0.824989557, 0.877285957, -0.171802372, -0.448166817, -0.346746802, -0.87248385, -0.344294399)
4540
p14.CanCollide = false
4541
p14.Locked = true
4542
p14.FormFactor = Enum.FormFactor.Custom
4543
p14.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4544
b14 = Instance.new("SpecialMesh", p14)
4545
b14.MeshId = "http://www.roblox.com/asset/?id=0"
4546
b14.TextureId = ""
4547
b14.MeshType = Enum.MeshType.FileMesh
4548
b14.Name = "Mesh"
4549
b14.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4550
p15 = Instance.new("Part", m3)
4551
p15.BrickColor = BrickColor.new("Really black")
4552
p15.Material = Enum.Material.Metal
4553
p15.CFrame = CFrame.new(0.199999034, 3.55002332, -0.150001839, -0.0627828911, -0.802308202, -0.593599737, 0.678633273, -0.470427632, 0.564052343, -0.731789052, -0.367423117, 0.57400763)
4554
p15.CanCollide = false
4555
p15.Locked = true
4556
p15.FormFactor = Enum.FormFactor.Custom
4557
p15.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4558
b15 = Instance.new("SpecialMesh", p15)
4559
b15.MeshId = "http://www.roblox.com/asset/?id=0"
4560
b15.TextureId = ""
4561
b15.MeshType = Enum.MeshType.FileMesh
4562
b15.Name = "Mesh"
4563
b15.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4564
p16 = Instance.new("Part", m3)
4565
p16.BrickColor = BrickColor.new("Really black")
4566
p16.Material = Enum.Material.Metal
4567
p16.CFrame = CFrame.new(0.349999189, 3.70002842, -0.150001973, 0.994292557, 0.0709807873, 0.0796526894, -0.0587368309, 0.987431884, -0.146726117, -0.0890666768, 0.141209915, 0.985964835)
4568
p16.CanCollide = false
4569
p16.Locked = true
4570
p16.FormFactor = Enum.FormFactor.Custom
4571
p16.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4572
b16 = Instance.new("SpecialMesh", p16)
4573
b16.MeshId = "http://www.roblox.com/asset/?id=0"
4574
b16.TextureId = ""
4575
b16.MeshType = Enum.MeshType.FileMesh
4576
b16.Name = "Mesh"
4577
b16.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4578
p17 = Instance.new("Part", m3)
4579
p17.BrickColor = BrickColor.new("Really black")
4580
p17.Material = Enum.Material.Metal
4581
p17.CFrame = CFrame.new(-0.200000346, 3.70002747, -0.150002211, 0.964791715, 0.0184034109, -0.262370646, -0.0587368906, 0.987431884, -0.146726027, 0.256372869, 0.156970888, 0.953746974)
4582
p17.CanCollide = false
4583
p17.Locked = true
4584
p17.FormFactor = Enum.FormFactor.Custom
4585
p17.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4586
b17 = Instance.new("SpecialMesh", p17)
4587
b17.MeshId = "http://www.roblox.com/asset/?id=0"
4588
b17.TextureId = ""
4589
b17.MeshType = Enum.MeshType.FileMesh
4590
b17.Name = "Mesh"
4591
b17.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4592
p18 = Instance.new("Part", m3)
4593
p18.BrickColor = BrickColor.new("Really black")
4594
p18.Material = Enum.Material.Metal
4595
p18.CFrame = CFrame.new(-0.35000062, 3.85002661, -0.150002271, 0.407530367, -0.427938014, 0.806714416, 0.0989350602, 0.898891687, 0.426855773, -0.907816589, -0.0941444039, 0.40866372)
4596
p18.CanCollide = false
4597
p18.Locked = true
4598
p18.FormFactor = Enum.FormFactor.Custom
4599
p18.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4600
b18 = Instance.new("SpecialMesh", p18)
4601
b18.MeshId = "http://www.roblox.com/asset/?id=0"
4602
b18.TextureId = ""
4603
b18.MeshType = Enum.MeshType.FileMesh
4604
b18.Name = "Mesh"
4605
b18.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4606
p19 = Instance.new("Part", m3)
4607
p19.BrickColor = BrickColor.new("Really black")
4608
p19.Material = Enum.Material.Metal
4609
p19.CFrame = CFrame.new(0.599999547, 4.25002337, 1.49011612e-008, 0.450589776, 0.596651912, -0.664060116, 0.322663993, 0.584720135, 0.744305372, 0.832379937, -0.549644768, 0.0709509254)
4610
p19.CanCollide = false
4611
p19.Locked = true
4612
p19.FormFactor = Enum.FormFactor.Custom
4613
p19.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4614
b19 = Instance.new("SpecialMesh", p19)
4615
b19.MeshId = "http://www.roblox.com/asset/?id=0"
4616
b19.TextureId = ""
4617
b19.MeshType = Enum.MeshType.FileMesh
4618
b19.Name = "Mesh"
4619
b19.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4620
p20 = Instance.new("Part", m3)
4621
p20.BrickColor = BrickColor.new("Really black")
4622
p20.Material = Enum.Material.Metal
4623
p20.CFrame = CFrame.new(0.449999154, 3.90002728, -0.150000244, 0.148452312, 0.508259773, -0.848312676, -0.212012291, 0.85422945, 0.474703223, 0.965925753, 0.109381542, 0.234569833)
4624
p20.CanCollide = false
4625
p20.Locked = true
4626
p20.FormFactor = Enum.FormFactor.Custom
4627
p20.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4628
b20 = Instance.new("SpecialMesh", p20)
4629
b20.MeshId = "http://www.roblox.com/asset/?id=0"
4630
b20.TextureId = ""
4631
b20.MeshType = Enum.MeshType.FileMesh
4632
b20.Name = "Mesh"
4633
b20.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4634
p21 = Instance.new("Part", m3)
4635
p21.BrickColor = BrickColor.new("Really black")
4636
p21.Material = Enum.Material.Metal
4637
p21.CFrame = CFrame.new(0.699999869, 4.25002337, 0.200001985, -0.0996009707, 0.981125295, 0.165750414, -0.142243966, -0.178907469, 0.973529041, 0.98480773, 0.0733870864, 0.157378286)
4638
p21.CanCollide = false
4639
p21.Locked = true
4640
p21.FormFactor = Enum.FormFactor.Custom
4641
p21.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4642
b21 = Instance.new("SpecialMesh", p21)
4643
b21.MeshId = "http://www.roblox.com/asset/?id=0"
4644
b21.TextureId = ""
4645
b21.MeshType = Enum.MeshType.FileMesh
4646
b21.Name = "Mesh"
4647
b21.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4648
p22 = Instance.new("Part", m3)
4649
p22.BrickColor = BrickColor.new("Really black")
4650
p22.Material = Enum.Material.Metal
4651
p22.CFrame = CFrame.new(0.69999975, 4.25002289, 0.450001955, -0.167731196, 0.167446673, 0.971508265, 0.0449438766, -0.983146012, 0.17721194, 0.984807789, 0.0733873621, 0.157378122)
4652
p22.CanCollide = false
4653
p22.Locked = true
4654
p22.FormFactor = Enum.FormFactor.Custom
4655
p22.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4656
b22 = Instance.new("SpecialMesh", p22)
4657
b22.MeshId = "http://www.roblox.com/asset/?id=0"
4658
b22.TextureId = ""
4659
b22.MeshType = Enum.MeshType.FileMesh
4660
b22.Name = "Mesh"
4661
b22.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4662
p23 = Instance.new("Part", m3)
4663
p23.BrickColor = BrickColor.new("Really black")
4664
p23.Material = Enum.Material.Metal
4665
p23.CFrame = CFrame.new(0.699999511, 4.25002289, 0.700001478, 0.0593914539, -0.993999004, 0.0918651819, 0.163175613, -0.0811224878, -0.98325628, 0.984807849, 0.0733875483, 0.157378405)
4666
p23.CanCollide = false
4667
p23.Locked = true
4668
p23.FormFactor = Enum.FormFactor.Custom
4669
p23.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4670
b23 = Instance.new("SpecialMesh", p23)
4671
b23.MeshId = "http://www.roblox.com/asset/?id=0"
4672
b23.TextureId = ""
4673
b23.MeshType = Enum.MeshType.FileMesh
4674
b23.Name = "Mesh"
4675
b23.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4676
p24 = Instance.new("Part", m3)
4677
p24.BrickColor = BrickColor.new("Really black")
4678
p24.Material = Enum.Material.Metal
4679
p24.CFrame = CFrame.new(0.699999452, 4.25002289, 0.900001347, -0.197025463, -0.431517303, 0.880326331, 0.133022487, -0.90138948, -0.412070453, 0.971332312, 0.0359149873, 0.234997824)
4680
p24.CanCollide = false
4681
p24.Locked = true
4682
p24.FormFactor = Enum.FormFactor.Custom
4683
p24.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4684
b24 = Instance.new("SpecialMesh", p24)
4685
b24.MeshId = "http://www.roblox.com/asset/?id=0"
4686
b24.TextureId = ""
4687
b24.MeshType = Enum.MeshType.FileMesh
4688
b24.Name = "Mesh"
4689
b24.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4690
p25 = Instance.new("Part", m3)
4691
p25.BrickColor = BrickColor.new("Really black")
4692
p25.Material = Enum.Material.Metal
4693
p25.CFrame = CFrame.new(0.599999249, 4.25002289, 1.05000341, -0.793593884, -0.433597952, 0.42685172, 0.426002622, 0.104941569, 0.898615122, -0.434431762, 0.894975305, 0.101432741)
4694
p25.CanCollide = false
4695
p25.Locked = true
4696
p25.FormFactor = Enum.FormFactor.Custom
4697
p25.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4698
b25 = Instance.new("SpecialMesh", p25)
4699
b25.MeshId = "http://www.roblox.com/asset/?id=0"
4700
b25.TextureId = ""
4701
b25.MeshType = Enum.MeshType.FileMesh
4702
b25.Name = "Mesh"
4703
b25.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4704
p26 = Instance.new("Part", m3)
4705
p26.BrickColor = BrickColor.new("Really black")
4706
p26.Material = Enum.Material.Metal
4707
p26.CFrame = CFrame.new(0.399999261, 4.25002289, 1.09999716, 0.474074066, -0.73934859, 0.478140384, 0.876810074, 0.445984155, -0.17972827, -0.0803612769, 0.504442811, 0.859697402)
4708
p26.CanCollide = false
4709
p26.Locked = true
4710
p26.FormFactor = Enum.FormFactor.Custom
4711
p26.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4712
b26 = Instance.new("SpecialMesh", p26)
4713
b26.MeshId = "http://www.roblox.com/asset/?id=0"
4714
b26.TextureId = ""
4715
b26.MeshType = Enum.MeshType.FileMesh
4716
b26.Name = "Mesh"
4717
b26.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4718
p27 = Instance.new("Part", m3)
4719
p27.BrickColor = BrickColor.new("Really black")
4720
p27.Material = Enum.Material.Metal
4721
p27.CFrame = CFrame.new(0.249999076, 4.25002289, 1.20000076, 0.524626255, -0.838181257, 0.149064019, -0.503709316, -0.446768612, -0.739374638, 0.686326742, 0.31281051, -0.656585932)
4722
p27.CanCollide = false
4723
p27.Locked = true
4724
p27.FormFactor = Enum.FormFactor.Custom
4725
p27.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4726
b27 = Instance.new("SpecialMesh", p27)
4727
b27.MeshId = "http://www.roblox.com/asset/?id=0"
4728
b27.TextureId = ""
4729
b27.MeshType = Enum.MeshType.FileMesh
4730
b27.Name = "Mesh"
4731
b27.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4732
p28 = Instance.new("Part", m3)
4733
p28.BrickColor = BrickColor.new("Really black")
4734
p28.Material = Enum.Material.Metal
4735
p28.CFrame = CFrame.new(0.0499990731, 4.25002289, 1.20000088, 0.524626136, -0.838181317, 0.149063885, 0.588431716, 0.230477661, -0.775002301, 0.615236104, 0.494300276, 0.614126861)
4736
p28.CanCollide = false
4737
p28.Locked = true
4738
p28.FormFactor = Enum.FormFactor.Custom
4739
p28.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4740
b28 = Instance.new("SpecialMesh", p28)
4741
b28.MeshId = "http://www.roblox.com/asset/?id=0"
4742
b28.TextureId = ""
4743
b28.MeshType = Enum.MeshType.FileMesh
4744
b28.Name = "Mesh"
4745
b28.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4746
p29 = Instance.new("Part", m3)
4747
p29.BrickColor = BrickColor.new("Really black")
4748
p29.Material = Enum.Material.Metal
4749
p29.CFrame = CFrame.new(-0.200000852, 4.25002289, 1.20000088, 0.524626195, -0.838181257, 0.149063647, 0.664180398, 0.512506962, 0.544243872, -0.532571197, -0.186519295, 0.825577736)
4750
p29.CanCollide = false
4751
p29.Locked = true
4752
p29.FormFactor = Enum.FormFactor.Custom
4753
p29.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4754
b29 = Instance.new("SpecialMesh", p29)
4755
b29.MeshId = "http://www.roblox.com/asset/?id=0"
4756
b29.TextureId = ""
4757
b29.MeshType = Enum.MeshType.FileMesh
4758
b29.Name = "Mesh"
4759
b29.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4760
p30 = Instance.new("Part", m3)
4761
p30.BrickColor = BrickColor.new("Really black")
4762
p30.Material = Enum.Material.Metal
4763
p30.CFrame = CFrame.new(-0.400000989, 4.25002289, 1.15000105, -0.205189675, -0.942334533, -0.264392197, 0.472657442, 0.141141802, -0.869870245, 0.857025325, -0.303455055, 0.416440606)
4764
p30.CanCollide = false
4765
p30.Locked = true
4766
p30.FormFactor = Enum.FormFactor.Custom
4767
p30.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4768
b30 = Instance.new("SpecialMesh", p30)
4769
b30.MeshId = "http://www.roblox.com/asset/?id=0"
4770
b30.TextureId = ""
4771
b30.MeshType = Enum.MeshType.FileMesh
4772
b30.Name = "Mesh"
4773
b30.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4774
p31 = Instance.new("Part", m3)
4775
p31.BrickColor = BrickColor.new("Really black")
4776
p31.Material = Enum.Material.Metal
4777
p31.CFrame = CFrame.new(-0.550001025, 4.25002337, 0.999999702, 0.151335806, -0.651350021, -0.743532896, 0.979139984, 0.201951638, 0.022377044, 0.135582238, -0.731408894, 0.668325186)
4778
p31.CanCollide = false
4779
p31.Locked = true
4780
p31.FormFactor = Enum.FormFactor.Custom
4781
p31.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4782
b31 = Instance.new("SpecialMesh", p31)
4783
b31.MeshId = "http://www.roblox.com/asset/?id=0"
4784
b31.TextureId = ""
4785
b31.MeshType = Enum.MeshType.FileMesh
4786
b31.Name = "Mesh"
4787
b31.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4788
p32 = Instance.new("Part", m3)
4789
p32.BrickColor = BrickColor.new("Really black")
4790
p32.Material = Enum.Material.Metal
4791
p32.CFrame = CFrame.new(-0.700000763, 4.25002337, 0.800000489, -0.804778874, -0.593520701, 0.0080409348, 0.142058611, -0.205740049, -0.968240976, 0.576325178, -0.778077364, 0.249890015)
4792
p32.CanCollide = false
4793
p32.Locked = true
4794
p32.FormFactor = Enum.FormFactor.Custom
4795
p32.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4796
b32 = Instance.new("SpecialMesh", p32)
4797
b32.MeshId = "http://www.roblox.com/asset/?id=0"
4798
b32.TextureId = ""
4799
b32.MeshType = Enum.MeshType.FileMesh
4800
b32.Name = "Mesh"
4801
b32.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4802
p33 = Instance.new("Part", m3)
4803
p33.BrickColor = BrickColor.new("Really black")
4804
p33.Material = Enum.Material.Metal
4805
p33.CFrame = CFrame.new(-0.700000942, 4.25002289, 0.549999833, -0.526802063, -0.220915288, -0.820777893, 0.708702326, 0.418966174, -0.567634225, 0.469277024, -0.880717933, -0.0641489923)
4806
p33.CanCollide = false
4807
p33.Locked = true
4808
p33.FormFactor = Enum.FormFactor.Custom
4809
p33.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4810
b33 = Instance.new("SpecialMesh", p33)
4811
b33.MeshId = "http://www.roblox.com/asset/?id=0"
4812
b33.TextureId = ""
4813
b33.MeshType = Enum.MeshType.FileMesh
4814
b33.Name = "Mesh"
4815
b33.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4816
p34 = Instance.new("Part", m3)
4817
p34.BrickColor = BrickColor.new("Really black")
4818
p34.Material = Enum.Material.Metal
4819
p34.Name = "Connection"
4820
p34.CFrame = CFrame.new(0.0551848896, 3.35002589, -0.131655902, 0.635109425, -0.765570045, -0.102657467, -0.766416311, -0.641122162, 0.0396047123, -0.0961361453, 0.0535250306, -0.993928015)
4821
p34.CanCollide = false
4822
p34.Locked = true
4823
p34.FormFactor = Enum.FormFactor.Custom
4824
p34.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4825
b34 = Instance.new("SpecialMesh", p34)
4826
b34.MeshId = "http://www.roblox.com/asset/?id=0"
4827
b34.TextureId = ""
4828
b34.MeshType = Enum.MeshType.FileMesh
4829
b34.Name = "Mesh"
4830
b34.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4831
p35 = Instance.new("Part", m3)
4832
p35.BrickColor = BrickColor.new("Really black")
4833
p35.Material = Enum.Material.Metal
4834
p35.CFrame = CFrame.new(-0.600001037, 4.25002289, 0.149997264, 0.493824095, 0.604460001, 0.62511301, -0.565569818, -0.322785676, 0.758907318, 0.660506427, -0.728311539, 0.182464883)
4835
p35.CanCollide = false
4836
p35.Locked = true
4837
p35.FormFactor = Enum.FormFactor.Custom
4838
p35.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4839
b35 = Instance.new("SpecialMesh", p35)
4840
b35.MeshId = "http://www.roblox.com/asset/?id=0"
4841
b35.TextureId = ""
4842
b35.MeshType = Enum.MeshType.FileMesh
4843
b35.Name = "Mesh"
4844
b35.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4845
p36 = Instance.new("Part", m3)
4846
p36.BrickColor = BrickColor.new("Really black")
4847
p36.Material = Enum.Material.Metal
4848
p36.CFrame = CFrame.new(-0.500000834, 4.2000227, -2.52574682e-006, -0.285961747, 0.418113738, -0.862210572, 0.191904813, 0.906544387, 0.375965416, 0.93882823, -0.0579507053, -0.339474916)
4849
p36.CanCollide = false
4850
p36.Locked = true
4851
p36.FormFactor = Enum.FormFactor.Custom
4852
p36.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
4853
b36 = Instance.new("SpecialMesh", p36)
4854
b36.MeshId = "http://www.roblox.com/asset/?id=0"
4855
b36.TextureId = ""
4856
b36.MeshType = Enum.MeshType.FileMesh
4857
b36.Name = "Mesh"
4858
b36.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
4859
w1 = Instance.new("Weld", p2)
4860
w1.Name = "Joint"
4861
w1.Part0 = p2
4862
w1.C0 = CFrame.new(-0.211238861, -0.0362606049, -0.0810072422, -0.57012105, 0.811055779, -0.130959615, -0.254106343, -0.022495009, 0.966914535, 0.781275749, 0.584536016, 0.218919396)
4863
w1.Part1 = p18
4864
w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4865
w2 = Instance.new("Weld", p3)
4866
w2.Name = "Joint"
4867
w2.Part0 = p3
4868
w2.C0 = CFrame.new(0, 0, -0.470001936, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4869
w2.Part1 = p1
4870
w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4871
w3 = Instance.new("Weld", p4)
4872
w3.Name = "Joint"
4873
w3.Part0 = p4
4874
w3.C0 = CFrame.new(0, 0.0299999714, -0.900000334, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008)
4875
w3.Part1 = p1
4876
w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4877
w4 = Instance.new("Weld", p5)
4878
w4.Name = "Joint"
4879
w4.Part0 = p5
4880
w4.C0 = CFrame.new(2.38418579e-007, 0.5, 0.0500030518, -1, -9.67369829e-009, -5.33850759e-008, 4.45892816e-008, -0.707106829, -0.707106769, -3.09086161e-008, -0.707106769, 0.707106829)
4881
w4.Part1 = p7
4882
w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4883
w5 = Instance.new("Weld", p6)
4884
w5.Name = "Joint"
4885
w5.Part0 = p6
4886
w5.C0 = CFrame.new(0, 0.5, 0.0500030518, 1, -1.28027651e-008, 3.09086197e-008, -1.28027686e-008, 0.707106829, 0.707106769, -3.09086161e-008, -0.707106769, 0.707106829)
4887
w5.Part1 = p7
4888
w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4889
w6 = Instance.new("Weld", p7)
4890
w6.Name = "Joint"
4891
w6.Part0 = p7
4892
w6.C0 = CFrame.new(-0.400002003, 0.070712328, -0.0707120895, -3.09086197e-008, -7.46200044e-008, -1, -0.707106829, -0.707106769, 7.46200044e-008, -0.707106769, 0.707106829, -3.09086197e-008)
4893
w6.Part1 = p1
4894
w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4895
w7 = Instance.new("Weld", p8)
4896
w7.Name = "Joint"
4897
w7.Part0 = p8
4898
w7.C0 = CFrame.new(-0.0200009346, -2.38418579e-007, -1, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
4899
w7.Part1 = p1
4900
w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4901
w8 = Instance.new("Weld", p9)
4902
w8.Name = "Joint"
4903
w8.Part0 = p9
4904
w8.C0 = CFrame.new(-0.0200009346, -2.38418579e-007, 1, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
4905
w8.Part1 = p1
4906
w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4907
w9 = Instance.new("Weld", p10)
4908
w9.Name = "Joint"
4909
w9.Part0 = p10
4910
w9.C0 = CFrame.new(0, 0.0399997234, 1.04999948, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008)
4911
w9.Part1 = p1
4912
w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4913
w10 = Instance.new("Weld", p11)
4914
w10.Name = "Joint"
4915
w10.Part0 = p11
4916
w10.C0 = CFrame.new(0.100000024, 0.202390671, -0.0392093658, 0.450589836, 0.596651673, -0.664059937, 0.644212067, 0.297646403, 0.704554796, 0.618028879, -0.745260656, -0.250253737)
4917
w10.Part1 = p19
4918
w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4919
w11 = Instance.new("Weld", p12)
4920
w11.Name = "Joint"
4921
w11.Part0 = p12
4922
w11.C0 = CFrame.new(0.479997993, 0.0499999784, 0.25, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
4923
w11.Part1 = p1
4924
w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4925
w12 = Instance.new("Weld", p13)
4926
w12.Name = "Joint"
4927
w12.Part0 = p13
4928
w12.C0 = CFrame.new(-0.1545012, 0.138720512, 0.0829834938, 0.373496056, -0.501174688, -0.780592561, -0.602336764, 0.50893271, -0.614961803, 0.70547235, 0.699865282, -0.111791633)
4929
w12.Part1 = p35
4930
w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4931
w13 = Instance.new("Weld", p14)
4932
w13.Name = "Joint"
4933
w13.Part0 = p14
4934
w13.C0 = CFrame.new(-0.172863483, 0.0578804016, -0.0258672237, -0.849803627, -0.326939017, 0.413454711, 0.506076992, -0.286759645, 0.813421786, -0.147377193, 0.900488615, 0.409145683)
4935
w13.Part1 = p34
4936
w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4937
w14 = Instance.new("Weld", p15)
4938
w14.Name = "Joint"
4939
w14.Part0 = p15
4940
w14.C0 = CFrame.new(0.0923810005, -0.190912724, -0.00442934036, -0.0371075198, 0.56231159, -0.826092422, -0.73737216, -0.573347449, -0.357148677, -0.674466848, 0.595884562, 0.435908347)
4941
w14.Part1 = p16
4942
w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4943
w15 = Instance.new("Weld", p16)
4944
w15.Name = "Joint"
4945
w15.Part0 = p16
4946
w15.C0 = CFrame.new(0.0876817107, 0.204583645, -0.0213780403, 0.074026458, 0.445441723, -0.892245352, -0.0624118894, 0.895015597, 0.441646636, 0.995301366, 0.022993207, 0.0940556675)
4947
w15.Part1 = p20
4948
w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4949
w16 = Instance.new("Weld", p17)
4950
w16.Name = "Joint"
4951
w16.Part0 = p17
4952
w16.C0 = CFrame.new(0.156466246, -0.194725513, -0.0100102425, -0.460608691, 0.227749109, -0.85788697, 0.80572325, -0.29817903, -0.51176101, -0.372357011, -0.926941037, -0.0461589098)
4953
w16.Part1 = p14
4954
w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4955
w17 = Instance.new("Weld", p18)
4956
w17.Name = "Joint"
4957
w17.Part0 = p18
4958
w17.C0 = CFrame.new(0.046289444, -0.199023724, 0.0569794178, 0.154631272, -0.0373091251, -0.987267554, -0.489805043, 0.864940584, -0.109402351, 0.858009458, 0.500485599, 0.115472674)
4959
w17.Part1 = p17
4960
w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4961
w18 = Instance.new("Weld", p19)
4962
w18.Name = "Joint"
4963
w18.Part0 = p19
4964
w18.C0 = CFrame.new(0.211536884, -0.0502645969, -0.0522158146, 0.728958309, 0.445444137, 0.519806981, -0.683894217, 0.440442294, 0.581635118, 0.0301409438, -0.779480696, 0.625700712)
4965
w18.Part1 = p21
4966
w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4967
w19 = Instance.new("Weld", p20)
4968
w19.Name = "Joint"
4969
w19.Part0 = p20
4970
w19.C0 = CFrame.new(0.0722160339, 0.164483547, 0.0522456169, 0.148452476, 0.216069669, 0.965026319, 0.508259654, 0.820421398, -0.261879444, -0.848312438, 0.529360592, 0.0119740963)
4971
w19.Part1 = p11
4972
w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4973
w20 = Instance.new("Weld", p21)
4974
w20.Name = "Joint"
4975
w20.Part0 = p21
4976
w20.C0 = CFrame.new(0.246201992, 0.0183468163, 0.0393443108, 0.980159461, 0.195441127, 0.0330170989, -0.100333519, 0.345563769, 0.933016002, 0.170940176, -0.917817175, 0.358316928)
4977
w20.Part1 = p22
4978
w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4979
w21 = Instance.new("Weld", p22)
4980
w21.Name = "Joint"
4981
w21.Part0 = p22
4982
w21.C0 = CFrame.new(0.246201515, 0.0183467865, 0.0393443108, 0.96721822, 0.235350817, 0.0953874439, -0.0782081187, -0.0813006833, 0.993616521, 0.241603509, -0.968504071, -0.060229145)
4983
w21.Part1 = p23
4984
w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4985
w22 = Instance.new("Weld", p23)
4986
w22.Name = "Joint"
4987
w22.Part0 = p23
4988
w22.C0 = CFrame.new(0.196961403, 0.014677465, 0.031475544, 0.966579735, -0.137344033, 0.21647194, 0.256335169, 0.504686236, -0.824368834, 0.0039717555, 0.852307677, 0.523025632)
4989
w22.Part1 = p24
4990
w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4991
w23 = Instance.new("Weld", p24)
4992
w23.Name = "Joint"
4993
w23.Part0 = p24
4994
w23.C0 = CFrame.new(0.16540432, 0.0485391617, -0.0527825356, -0.208951756, 0.968707323, 0.133960381, -0.0571475253, 0.124654606, -0.990553021, -0.976254702, -0.214633241, 0.0293123852)
4995
w23.Part1 = p25
4996
w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4997
w24 = Instance.new("Weld", p25)
4998
w24.Name = "Joint"
4999
w24.Part0 = p25
5000
w24.C0 = CFrame.new(0.136999726, 0.131462574, -0.0802993774, 0.0322127938, 0.557586372, -0.829493642, -0.185464859, 0.81884563, 0.543226421, 0.982122838, 0.136343077, 0.129789978)
5001
w24.Part1 = p26
5002
w24.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5003
w25 = Instance.new("Weld", p26)
5004
w25.Name = "Joint"
5005
w25.Part0 = p26
5006
w25.C0 = CFrame.new(-0.0791475773, 0.161348343, 0.014251709, -0.2480997, -0.814228892, -0.524859786, -0.266315132, 0.578250885, -0.771169424, 0.931409001, -0.0515488982, -0.360305429)
5007
w25.Part1 = p27
5008
w25.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5009
w26 = Instance.new("Weld", p27)
5010
w26.Name = "Joint"
5011
w26.Part0 = p27
5012
w26.C0 = CFrame.new(-0.104925156, 0.167636156, -0.0298128128, 0.401087224, -0.216573805, 0.890070021, -0.510172248, 0.754199564, 0.413409412, -0.760824084, -0.619902253, 0.192009777)
5013
w26.Part1 = p28
5014
w26.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5015
w27 = Instance.new("Weld", p28)
5016
w27.Name = "Joint"
5017
w27.Part0 = p28
5018
w27.C0 = CFrame.new(-0.131156445, 0.209545135, -0.037266016, 0.338400394, -0.252909899, 0.906378388, -0.549903035, 0.728472173, 0.408576787, -0.763604522, -0.636682749, 0.10743928)
5019
w27.Part1 = p29
5020
w27.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5021
w28 = Instance.new("Weld", p29)
5022
w28.Name = "Joint"
5023
w28.Part0 = p29
5024
w28.C0 = CFrame.new(-0.0782968998, 0.176962137, -0.0710916519, -0.250144869, -0.239018306, -0.938241899, 0.254374206, 0.918783069, -0.301879942, 0.934195518, -0.314178288, -0.169028759)
5025
w28.Part1 = p30
5026
w28.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5027
w29 = Instance.new("Weld", p30)
5028
w29.Name = "Joint"
5029
w29.Part0 = p30
5030
w29.C0 = CFrame.new(-0.097776413, 0.186868906, -0.022808075, 0.547942579, -0.39773193, 0.735913277, -0.0455548018, 0.864242792, 0.501007974, -0.835274637, -0.30804801, 0.455436885)
5031
w29.Part1 = p31
5032
w29.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5033
w30 = Instance.new("Weld", p31)
5034
w30.Name = "Joint"
5035
w30.Part0 = p31
5036
w30.C0 = CFrame.new(-0.0498166084, 0.243983507, -0.0221347809, 0.0954426825, -0.396762908, -0.912945747, 0.131352007, 0.914132595, -0.38354671, 0.986730695, -0.0833105743, 0.139362901)
5037
w30.Part1 = p32
5038
w30.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5039
w31 = Instance.new("Weld", p32)
5040
w31.Name = "Joint"
5041
w31.Part0 = p32
5042
w31.C0 = CFrame.new(-0.144081593, 0.194519997, -0.0624723434, 0.795092285, -0.270274341, 0.542936563, -0.198274553, 0.730186164, 0.653846622, -0.573162735, -0.627518892, 0.526976764)
5043
w31.Part1 = p33
5044
w31.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5045
w32 = Instance.new("Weld", p33)
5046
w32.Name = "Joint"
5047
w32.Part0 = p33
5048
w32.C0 = CFrame.new(-0.0938563347, 0.176145077, 0.0128297806, 0.0848137587, -0.421895206, -0.902668893, -0.548244178, 0.736708403, -0.39583993, 0.832006574, 0.528455555, -0.168818489)
5049
w32.Part1 = p13
5050
w32.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5051
w33 = Instance.new("Weld", p34)
5052
w33.Name = "Joint"
5053
w33.Part0 = p34
5054
w33.C0 = CFrame.new(-0.0178728104, 0.0120868683, -0.150204837, -0.0961361453, -0.635109425, 0.766416311, 0.0535250939, 0.765570045, 0.641122162, -0.993928015, 0.102657512, -0.0396046676)
5055
w33.Part1 = p12
5056
w33.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5057
w34 = Instance.new("Weld", p35)
5058
w34.Name = "Joint"
5059
w34.Part0 = p35
5060
w34.C0 = CFrame.new(-0.0214147568, 0.185832024, -0.00280380249, 0.370351821, -0.344516218, -0.862640202, -0.918555975, 0.00231964141, -0.395284295, 0.138182849, 0.938777506, -0.315598398)
5061
w34.Part1 = p36
5062
w34.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5063
w35 = Instance.new("Weld", p36)
5064
w35.Name = "Joint"
5065
w35.Part0 = p36
5066
w35.C0 = CFrame.new(-0.136966705, -0.109280109, -0.0655572414, 0.678235054, 0.463834167, -0.569960475, 0.250202835, 0.583515286, 0.772598565, 0.690938354, -0.666609228, 0.279707849)
5067
w35.Part1 = p2
5068
w35.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
5069
m3.Parent = torso
5070
m3:MakeJoints()
5071
----------------------------------------------------
5072
local cor3 = Instance.new("Part", torso.Torso)
5073
cor3.Name = "Thingy"
5074
cor3.Locked = true
5075
cor3.BottomSurface = 0
5076
cor3.CanCollide = false
5077
cor3.Size = Vector3.new(1, 1, 1)
5078
cor3.Transparency = 1
5079
cor3.TopSurface = 0
5080
corw3 = Instance.new("Weld", cor3)
5081
corw3.Part0 = torso
5082
corw3.Part1 = cor3
5083
corw3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
5084
corw3.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
5085
weld3 = Instance.new("Weld", torso.Torso)
5086
weld3.Part0 = cor3
5087
weld3.Part1 = torso.Torso.TorsoPlate
5088
weld3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
5089
5090
5091
Player = game:GetService("Players").LocalPlayer
5092
PlayerGui = Player.PlayerGui
5093
Cam = workspace.CurrentCamera
5094
Backpack = Player.Backpack
5095
Character = Player.Character
5096
Humanoid = Character.Humanoid
5097
Mouse = Player:GetMouse()
5098
RootPart = Character["HumanoidRootPart"]
5099
Torso = Character["Torso"]
5100
Head = Character["Head"]
5101
RightArm = Character["Right Arm"]
5102
LeftArm = Character["Left Arm"]
5103
RightLeg = Character["Right Leg"]
5104
LeftLeg = Character["Left Leg"]
5105
RootJoint = RootPart["RootJoint"]
5106
Neck = Torso["Neck"]
5107
RightShoulder = Torso["Right Shoulder"]
5108
LeftShoulder = Torso["Left Shoulder"]
5109
RightHip = Torso["Right Hip"]
5110
LeftHip = Torso["Left Hip"]
5111
local sick = Instance.new("Sound",Character)
5112
5113
IT = Instance.new
5114
CF = CFrame.new
5115
VT = Vector3.new
5116
RAD = math.rad
5117
C3 = Color3.new
5118
UD2 = UDim2.new
5119
BRICKC = BrickColor.new
5120
ANGLES = CFrame.Angles
5121
EULER = CFrame.fromEulerAnglesXYZ
5122
COS = math.cos
5123
ACOS = math.acos
5124
SIN = math.sin
5125
ASIN = math.asin
5126
ABS = math.abs
5127
MRANDOM = math.random
5128
FLOOR = math.floor
5129
5130
--//=================================\\
5131
--|| 	      USEFUL VALUES
5132
--\\=================================//
5133
5134
Animation_Speed = 3
5135
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
5136
local Speed = 25
5137
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
5138
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
5139
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
5140
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
5141
local DAMAGEMULTIPLIER = 1
5142
local ANIM = "Idle"
5143
local ATTACK = false
5144
local EQUIPPED = false
5145
local HOLD = false
5146
local COMBO = 1
5147
local Rooted = false
5148
local SINE = 0
5149
local KEYHOLD = false
5150
local CHANGE = 2 / Animation_Speed
5151
local WALKINGANIM = false
5152
local VALUE1 = false
5153
local VALUE2 = false
5154
local ROBLOXIDLEANIMATION = IT("Animation")
5155
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
5156
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
5157
--ROBLOXIDLEANIMATION.Parent = Humanoid
5158
local WEAPONGUI = IT("ScreenGui", PlayerGui)
5159
WEAPONGUI.Name = "Weapon GUI"
5160
local Effects = IT("Folder", Character)
5161
Effects.Name = "Effects"
5162
local ANIMATOR = Humanoid.Animator
5163
local ANIMATE = Character.Animate
5164
local UNANCHOR = true
5165
local PLAYMAINANIM = true
5166
local BOLTSOUNDS = {168586621,168586586,178452241}
5167
5168
5169
5170
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
5171
	local NEWPART = IT("Part")
5172
	NEWPART.formFactor = FORMFACTOR
5173
	NEWPART.Reflectance = REFLECTANCE
5174
	NEWPART.Transparency = TRANSPARENCY
5175
	NEWPART.CanCollide = false
5176
	NEWPART.Locked = true
5177
	NEWPART.Anchored = true
5178
	if ANCHOR == false then
5179
		NEWPART.Anchored = false
5180
	end
5181
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
5182
	NEWPART.Name = NAME
5183
	NEWPART.Size = SIZE
5184
	NEWPART.Position = Torso.Position
5185
	NEWPART.Material = MATERIAL
5186
	NEWPART:BreakJoints()
5187
	NEWPART.Parent = PARENT
5188
	return NEWPART
5189
end
5190
5191
	local function weldBetween(a, b)
5192
	    local weldd = Instance.new("ManualWeld")
5193
	    weldd.Part0 = a
5194
	    weldd.Part1 = b
5195
	    weldd.C0 = CFrame.new()
5196
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
5197
	    weldd.Parent = a
5198
	    return weldd
5199
	end
5200
5201
5202
5203
5204
5205
5206
function NoOutlines(PART)
5207
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
5208
end
5209
5210
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
5211
	local NEWWELD = IT(TYPE)
5212
	NEWWELD.Part0 = PART0
5213
	NEWWELD.Part1 = PART1
5214
	NEWWELD.C0 = C0
5215
	NEWWELD.C1 = C1
5216
	NEWWELD.Parent = PARENT
5217
	return NEWWELD
5218
end
5219
5220
5221
5222
5223
5224
5225
function CFrameFromTopBack(at, top, back)
5226
	local right = top:Cross(back)
5227
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
5228
end
5229
5230
5231
5232
function MakeForm(PART,TYPE)
5233
	if TYPE == "Cyl" then
5234
		local MSH = IT("CylinderMesh",PART)
5235
	elseif TYPE == "Ball" then
5236
		local MSH = IT("SpecialMesh",PART)
5237
		MSH.MeshType = "Sphere"
5238
	elseif TYPE == "Wedge" then
5239
		local MSH = IT("SpecialMesh",PART)
5240
		MSH.MeshType = "Wedge"
5241
	end
5242
end
5243
5244
Debris = game:GetService("Debris")
5245
5246
function CastProperRay(StartPos, EndPos, Distance, Ignore)
5247
	local DIRECTION = CF(StartPos,EndPos).lookVector
5248
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
5249
end
5250
5251
local HATWELD = nil
5252
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
5253
	PLAYMAINANIM = false
5254
	if WhichPose == "Cast1" then
5255
		for i=0, Time, 0.1 / Animation_Speed do
5256
			Swait()
5257
			if Magic == true then
5258
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5259
			end
5260
			if Gyro ~= nil and Gyro ~= false then
5261
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
5262
			end
5263
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
5264
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
5265
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5266
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5267
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5268
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5269
		end
5270
	elseif WhichPose == "Cast2" then
5271
		for i=0, Time, 0.1 / Animation_Speed do
5272
			Swait()
5273
			if Magic == true then
5274
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5275
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5276
			end
5277
			if Gyro ~= nil and Gyro ~= false then
5278
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
5279
			end
5280
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5281
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
5282
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5283
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5284
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5285
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5286
		end
5287
	elseif WhichPose == "RightArmUp" then
5288
		for i=0, Time, 0.1 / Animation_Speed do
5289
			Swait()
5290
			if Magic == true then
5291
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5292
			end
5293
			if Gyro ~= nil and Gyro ~= false then
5294
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
5295
			end
5296
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
5297
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
5298
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5299
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5300
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5301
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5302
		end
5303
	elseif WhichPose == "Taunt" then
5304
		for i=0, Time, 0.1 / Animation_Speed do
5305
			Swait()
5306
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5307
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
5308
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5309
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5310
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5311
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5312
		end
5313
		HATWELD.Part0 = RightArm
5314
		HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
5315
		CreateSound(221057812,Torso,10,1,false)
5316
		for i=0, Time*2, 0.1 / Animation_Speed do
5317
			Swait()
5318
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5319
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
5320
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5321
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5322
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5323
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5324
		end
5325
		for i=0, Time, 0.1 / Animation_Speed do
5326
			Swait()
5327
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5328
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
5329
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5330
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5331
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5332
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5333
			HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
5334
		end
5335
		HATWELD.Part0 = Head
5336
		HATWELD.C0 = CF(0,0.35,0)
5337
	elseif WhichPose == "Prepare key" then
5338
		for i=0, Time, 0.1 / Animation_Speed do
5339
			Swait()
5340
			if Gyro ~= nil and Gyro ~= false then
5341
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
5342
			end
5343
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
5344
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
5345
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5346
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5347
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5348
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5349
		end
5350
	elseif WhichPose == "Turn key" then
5351
		for i=0, Time, 0.1 / Animation_Speed do
5352
			Swait()
5353
			if Gyro ~= nil and Gyro ~= false then
5354
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
5355
			end
5356
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
5357
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
5358
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5359
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5360
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5361
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5362
		end
5363
	end
5364
	PLAYMAINANIM = true
5365
end
5366
5367
--Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
5368
function Lightning(Table)
5369
	local Color = Table.Color or C3(1,1,1)
5370
	local StartPos = Table.Start or Torso.Position
5371
	local EndPos = Table.End or Mouse.Hit.p
5372
	local SegmentLength = Table.SegmentL or 2
5373
	local Thickness = Table.Thickness or 0.1
5374
	local Dissapear = Table.DoesFade or false
5375
	local Parent = Table.Ignore or Character
5376
	local MaxDist = Table.MaxDist or 400
5377
	local Branches = Table.Branches or false
5378
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
5379
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
5380
	local LIGHTNINGMODEL = IT("Model",Effects)
5381
	LIGHTNINGMODEL.Name = "Lightning"
5382
	local LastBolt = nil
5383
	for E = 1, DISTANCE do
5384
		local ExtraSize = (DISTANCE-E)/15
5385
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
5386
		PART.Color = Color
5387
		MakeForm(PART,"Cyl")
5388
		if LastBolt == nil then
5389
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5390
		else
5391
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5392
		end
5393
		LastBolt = PART
5394
		if Branches == true then
5395
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
5396
			if CHOICE == 1 then
5397
				local LASTBRANCH = nil
5398
				for i = 1, MRANDOM(2,5) do
5399
					local ExtraSize2 = ((DISTANCE-E)/25)/i
5400
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
5401
					PART.Color = Color
5402
					MakeForm(PART,"Cyl")
5403
					if LASTBRANCH == nil then
5404
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5405
					else
5406
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5407
					end
5408
					LASTBRANCH = PART
5409
				end
5410
			end
5411
		end
5412
	end
5413
	if Dissapear == true then
5414
		coroutine.resume(coroutine.create(function()
5415
			for i = 1, 10 do
5416
				Swait()
5417
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
5418
					if c.ClassName == "Part" then
5419
						c.Transparency = i/10
5420
					end
5421
				end
5422
			end
5423
			LIGHTNINGMODEL:remove()
5424
		end))
5425
	elseif Dissapear == false then
5426
		Debris:AddItem(LIGHTNINGMODEL,0.1)
5427
	end
5428
	return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
5429
end
5430
5431
--//=================================\\
5432
--||	     WEAPON CREATION
5433
--\\=================================//
5434
5435
for i = 1, 15 do
5436
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
5437
	FACE.Color = C3(0,0,0)
5438
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
5439
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
5440
end
5441
local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
5442
MakeForm(HAT1,"Cyl")
5443
HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
5444
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
5445
BELT.Color = C3(17/255, 17/255, 17/255)
5446
MakeForm(BELT,"Cyl")
5447
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
5448
local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
5449
MakeForm(HAT2,"Cyl")
5450
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
5451
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
5452
BELT.Color = C3(17/255, 17/255, 17/255)
5453
MakeForm(BELT,"Cyl")
5454
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
5455
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
5456
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
5457
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
5458
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
5459
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5460
BELT.Color = C3(17/255, 17/255, 17/255)
5461
MakeForm(BELT,"Cyl")
5462
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
5463
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5464
BELT.Color = C3(17/255, 17/255, 17/255)
5465
MakeForm(BELT,"Cyl")
5466
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
5467
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5468
BELT.Color = C3(17/255, 17/255, 17/255)
5469
MakeForm(BELT,"Cyl")
5470
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
5471
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5472
BELT.Color = C3(17/255, 17/255, 17/255)
5473
MakeForm(BELT,"Cyl")
5474
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
5475
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
5476
MakeForm(BELT,"Cyl")
5477
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
5478
Humanoid.DisplayDistanceType = "None"
5479
5480
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.6,0.1,1)/2,false)
5481
MakeForm(EYE,"Ball")
5482
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
5483
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.6,0.1,1)/2,false)
5484
MakeForm(EYE,"Ball")
5485
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
5486
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.1,1,1)/2,false)
5487
MakeForm(EYE,"Ball")
5488
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
5489
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.1,1,1)/2,false)
5490
MakeForm(EYE,"Ball")
5491
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
5492
5493
5494
for _, c in pairs(Character:GetChildren()) do
5495
	if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
5496
		c.Material = "Neon"
5497
		if c:FindFirstChildOfClass("ParticleEmitter") then
5498
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
5499
		end
5500
		c.Color = C3(1,1,1)
5501
		if c == Head then
5502
			if c:FindFirstChild("face") then
5503
				c.face:remove()
5504
			end
5505
		end
5506
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Hat" or c.Name == "Body Colors" then
5507
		c:remove()
5508
	end
5509
end
5510
local BODY = {}
5511
for _, c in pairs(Character:GetDescendants()) do
5512
	if c:IsA("BasePart") and c.Name ~= "Handle" then
5513
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
5514
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
5515
		end
5516
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
5517
	elseif c:IsA("JointInstance") then
5518
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
5519
	end
5520
end
5521
5522
Player = game:GetService("Players").LocalPlayer
5523
PlayerGui = Player.PlayerGui
5524
Cam = workspace.CurrentCamera
5525
Backpack = Player.Backpack
5526
Character = Player.Character
5527
Humanoid = Character.Humanoid
5528
Mouse = Player:GetMouse()
5529
RootPart = Character["HumanoidRootPart"]
5530
Torso = Character["Torso"]
5531
Head = Character["Head"]
5532
RightArm = Character["Right Arm"]
5533
LeftArm = Character["Left Arm"]
5534
RightLeg = Character["Right Leg"]
5535
LeftLeg = Character["Left Leg"]
5536
RootJoint = RootPart["RootJoint"]
5537
Neck = Torso["Neck"]
5538
RightShoulder = Torso["Right Shoulder"]
5539
LeftShoulder = Torso["Left Shoulder"]
5540
RightHip = Torso["Right Hip"]
5541
LeftHip = Torso["Left Hip"]
5542
local sick = Instance.new("Sound",Character)
5543
5544
IT = Instance.new
5545
CF = CFrame.new
5546
VT = Vector3.new
5547
RAD = math.rad
5548
C3 = Color3.new
5549
UD2 = UDim2.new
5550
BRICKC = BrickColor.new
5551
ANGLES = CFrame.Angles
5552
EULER = CFrame.fromEulerAnglesXYZ
5553
COS = math.cos
5554
ACOS = math.acos
5555
SIN = math.sin
5556
ASIN = math.asin
5557
ABS = math.abs
5558
MRANDOM = math.random
5559
FLOOR = math.floor
5560
5561
--//=================================\\
5562
--|| 	      USEFUL VALUES
5563
--\\=================================//
5564
5565
Animation_Speed = 3
5566
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
5567
local Speed = 25
5568
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
5569
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
5570
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
5571
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
5572
local DAMAGEMULTIPLIER = 1
5573
local ANIM = "Idle"
5574
local ATTACK = false
5575
local EQUIPPED = false
5576
local HOLD = false
5577
local COMBO = 1
5578
local Rooted = false
5579
local SINE = 0
5580
local KEYHOLD = false
5581
local CHANGE = 2 / Animation_Speed
5582
local WALKINGANIM = false
5583
local VALUE1 = false
5584
local VALUE2 = false
5585
local ROBLOXIDLEANIMATION = IT("Animation")
5586
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
5587
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
5588
--ROBLOXIDLEANIMATION.Parent = Humanoid
5589
local WEAPONGUI = IT("ScreenGui", PlayerGui)
5590
WEAPONGUI.Name = "Weapon GUI"
5591
local Effects = IT("Folder", Character)
5592
Effects.Name = "Effects"
5593
local ANIMATOR = Humanoid.Animator
5594
local ANIMATE = Character.Animate
5595
local UNANCHOR = true
5596
local PLAYMAINANIM = true
5597
local BOLTSOUNDS = {168586621,168586586,178452241}
5598
5599
5600
5601
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
5602
	local NEWPART = IT("Part")
5603
	NEWPART.formFactor = FORMFACTOR
5604
	NEWPART.Reflectance = REFLECTANCE
5605
	NEWPART.Transparency = TRANSPARENCY
5606
	NEWPART.CanCollide = false
5607
	NEWPART.Locked = true
5608
	NEWPART.Anchored = true
5609
	if ANCHOR == false then
5610
		NEWPART.Anchored = false
5611
	end
5612
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
5613
	NEWPART.Name = NAME
5614
	NEWPART.Size = SIZE
5615
	NEWPART.Position = Torso.Position
5616
	NEWPART.Material = MATERIAL
5617
	NEWPART:BreakJoints()
5618
	NEWPART.Parent = PARENT
5619
	return NEWPART
5620
end
5621
5622
	local function weldBetween(a, b)
5623
	    local weldd = Instance.new("ManualWeld")
5624
	    weldd.Part0 = a
5625
	    weldd.Part1 = b
5626
	    weldd.C0 = CFrame.new()
5627
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
5628
	    weldd.Parent = a
5629
	    return weldd
5630
	end
5631
5632
5633
5634
5635
5636
5637
function NoOutlines(PART)
5638
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
5639
end
5640
5641
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
5642
	local NEWWELD = IT(TYPE)
5643
	NEWWELD.Part0 = PART0
5644
	NEWWELD.Part1 = PART1
5645
	NEWWELD.C0 = C0
5646
	NEWWELD.C1 = C1
5647
	NEWWELD.Parent = PARENT
5648
	return NEWWELD
5649
end
5650
5651
5652
5653
5654
5655
5656
function CFrameFromTopBack(at, top, back)
5657
	local right = top:Cross(back)
5658
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
5659
end
5660
5661
5662
5663
function MakeForm(PART,TYPE)
5664
	if TYPE == "Cyl" then
5665
		local MSH = IT("CylinderMesh",PART)
5666
	elseif TYPE == "Ball" then
5667
		local MSH = IT("SpecialMesh",PART)
5668
		MSH.MeshType = "Sphere"
5669
	elseif TYPE == "Wedge" then
5670
		local MSH = IT("SpecialMesh",PART)
5671
		MSH.MeshType = "Wedge"
5672
	end
5673
end
5674
5675
Debris = game:GetService("Debris")
5676
5677
function CastProperRay(StartPos, EndPos, Distance, Ignore)
5678
	local DIRECTION = CF(StartPos,EndPos).lookVector
5679
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
5680
end
5681
5682
local HATWELD = nil
5683
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
5684
	PLAYMAINANIM = false
5685
	if WhichPose == "Cast1" then
5686
		for i=0, Time, 0.1 / Animation_Speed do
5687
			Swait()
5688
			if Magic == true then
5689
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5690
			end
5691
			if Gyro ~= nil and Gyro ~= false then
5692
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
5693
			end
5694
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
5695
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
5696
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5697
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5698
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5699
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5700
		end
5701
	elseif WhichPose == "Cast2" then
5702
		for i=0, Time, 0.1 / Animation_Speed do
5703
			Swait()
5704
			if Magic == true then
5705
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5706
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5707
			end
5708
			if Gyro ~= nil and Gyro ~= false then
5709
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
5710
			end
5711
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5712
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
5713
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5714
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5715
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5716
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5717
		end
5718
	elseif WhichPose == "RightArmUp" then
5719
		for i=0, Time, 0.1 / Animation_Speed do
5720
			Swait()
5721
			if Magic == true then
5722
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5723
			end
5724
			if Gyro ~= nil and Gyro ~= false then
5725
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
5726
			end
5727
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
5728
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
5729
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5730
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5731
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5732
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5733
		end
5734
	elseif WhichPose == "Taunt" then
5735
		for i=0, Time, 0.1 / Animation_Speed do
5736
			Swait()
5737
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5738
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
5739
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5740
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5741
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5742
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5743
		end
5744
		HATWELD.Part0 = RightArm
5745
		HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
5746
		CreateSound(221057812,Torso,10,1,false)
5747
		for i=0, Time*2, 0.1 / Animation_Speed do
5748
			Swait()
5749
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5750
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
5751
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5752
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5753
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5754
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5755
		end
5756
		for i=0, Time, 0.1 / Animation_Speed do
5757
			Swait()
5758
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
5759
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
5760
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5761
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5762
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5763
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5764
			HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
5765
		end
5766
		HATWELD.Part0 = Head
5767
		HATWELD.C0 = CF(0,0.35,0)
5768
	elseif WhichPose == "Prepare key" then
5769
		for i=0, Time, 0.1 / Animation_Speed do
5770
			Swait()
5771
			if Gyro ~= nil and Gyro ~= false then
5772
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
5773
			end
5774
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
5775
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
5776
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5777
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5778
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5779
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5780
		end
5781
	elseif WhichPose == "Turn key" then
5782
		for i=0, Time, 0.1 / Animation_Speed do
5783
			Swait()
5784
			if Gyro ~= nil and Gyro ~= false then
5785
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
5786
			end
5787
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
5788
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
5789
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
5790
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
5791
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
5792
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
5793
		end
5794
	end
5795
	PLAYMAINANIM = true
5796
end
5797
5798
--Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
5799
function Lightning(Table)
5800
	local Color = Table.Color or C3(1,1,1)
5801
	local StartPos = Table.Start or Torso.Position
5802
	local EndPos = Table.End or Mouse.Hit.p
5803
	local SegmentLength = Table.SegmentL or 2
5804
	local Thickness = Table.Thickness or 0.1
5805
	local Dissapear = Table.DoesFade or false
5806
	local Parent = Table.Ignore or Character
5807
	local MaxDist = Table.MaxDist or 400
5808
	local Branches = Table.Branches or false
5809
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
5810
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
5811
	local LIGHTNINGMODEL = IT("Model",Effects)
5812
	LIGHTNINGMODEL.Name = "Lightning"
5813
	local LastBolt = nil
5814
	for E = 1, DISTANCE do
5815
		local ExtraSize = (DISTANCE-E)/15
5816
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
5817
		PART.Color = Color
5818
		MakeForm(PART,"Cyl")
5819
		if LastBolt == nil then
5820
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5821
		else
5822
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5823
		end
5824
		LastBolt = PART
5825
		if Branches == true then
5826
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
5827
			if CHOICE == 1 then
5828
				local LASTBRANCH = nil
5829
				for i = 1, MRANDOM(2,5) do
5830
					local ExtraSize2 = ((DISTANCE-E)/25)/i
5831
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
5832
					PART.Color = Color
5833
					MakeForm(PART,"Cyl")
5834
					if LASTBRANCH == nil then
5835
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5836
					else
5837
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
5838
					end
5839
					LASTBRANCH = PART
5840
				end
5841
			end
5842
		end
5843
	end
5844
	if Dissapear == true then
5845
		coroutine.resume(coroutine.create(function()
5846
			for i = 1, 10 do
5847
				Swait()
5848
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
5849
					if c.ClassName == "Part" then
5850
						c.Transparency = i/10
5851
					end
5852
				end
5853
			end
5854
			LIGHTNINGMODEL:remove()
5855
		end))
5856
	elseif Dissapear == false then
5857
		Debris:AddItem(LIGHTNINGMODEL,0.1)
5858
	end
5859
	return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
5860
end
5861
5862
--//=================================\\
5863
--||	     WEAPON CREATION
5864
--\\=================================//
5865
5866
for i = 1, 15 do
5867
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
5868
	FACE.Color = C3(0,0,0)
5869
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
5870
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
5871
end
5872
local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
5873
MakeForm(HAT1,"Cyl")
5874
HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
5875
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
5876
BELT.Color = C3(17/255, 17/255, 17/255)
5877
MakeForm(BELT,"Cyl")
5878
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
5879
local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
5880
MakeForm(HAT2,"Cyl")
5881
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
5882
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
5883
BELT.Color = C3(17/255, 17/255, 17/255)
5884
MakeForm(BELT,"Cyl")
5885
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
5886
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
5887
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
5888
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
5889
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
5890
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5891
BELT.Color = C3(17/255, 17/255, 17/255)
5892
MakeForm(BELT,"Cyl")
5893
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
5894
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5895
BELT.Color = C3(17/255, 17/255, 17/255)
5896
MakeForm(BELT,"Cyl")
5897
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
5898
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5899
BELT.Color = C3(17/255, 17/255, 17/255)
5900
MakeForm(BELT,"Cyl")
5901
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
5902
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
5903
BELT.Color = C3(17/255, 17/255, 17/255)
5904
MakeForm(BELT,"Cyl")
5905
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
5906
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
5907
MakeForm(BELT,"Cyl")
5908
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
5909
Humanoid.DisplayDistanceType = "None"
5910
5911
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.6,0.1,1)/2,false)
5912
MakeForm(EYE,"Ball")
5913
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
5914
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.6,0.1,1)/2,false)
5915
MakeForm(EYE,"Ball")
5916
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
5917
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.1,1,1)/2,false)
5918
MakeForm(EYE,"Ball")
5919
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
5920
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark indigo", "FaceGradient", VT(0.1,1,1)/2,false)
5921
MakeForm(EYE,"Ball")
5922
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
5923
5924
5925
for _, c in pairs(Character:GetChildren()) do
5926
	if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
5927
		c.Material = "Neon"
5928
		if c:FindFirstChildOfClass("ParticleEmitter") then
5929
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
5930
		end
5931
		c.Color = C3(1,1,1)
5932
		if c == Head then
5933
			if c:FindFirstChild("face") then
5934
				c.face:remove()
5935
			end
5936
		end
5937
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Hat" or c.Name == "Body Colors" then
5938
		c:remove()
5939
	end
5940
end
5941
local BODY = {}
5942
for _, c in pairs(Character:GetDescendants()) do
5943
	if c:IsA("BasePart") and c.Name ~= "Handle" then
5944
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
5945
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
5946
		end
5947
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
5948
	elseif c:IsA("JointInstance") then
5949
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
5950
	end
5951
end
5952
5953
Player = game:GetService("Players").LocalPlayer
5954
PlayerGui = Player.PlayerGui
5955
Cam = workspace.CurrentCamera
5956
Backpack = Player.Backpack
5957
Character = Player.Character
5958
Humanoid = Character.Humanoid
5959
Mouse = Player:GetMouse()
5960
RootPart = Character["HumanoidRootPart"]
5961
Torso = Character["Torso"]
5962
Head = Character["Head"]
5963
RightArm = Character["Right Arm"]
5964
LeftArm = Character["Left Arm"]
5965
RightLeg = Character["Right Leg"]
5966
LeftLeg = Character["Left Leg"]
5967
RootJoint = RootPart["RootJoint"]
5968
Neck = Torso["Neck"]
5969
RightShoulder = Torso["Right Shoulder"]
5970
LeftShoulder = Torso["Left Shoulder"]
5971
RightHip = Torso["Right Hip"]
5972
LeftHip = Torso["Left Hip"]
5973
Character.Archivable = true
5974
5975
5976
IT = Instance.new
5977
CF = CFrame.new
5978
VT = Vector3.new
5979
RAD = math.rad
5980
C3 = Color3.new
5981
5982
BRICKC = BrickColor.new
5983
ANGLES = CFrame.Angles
5984
5985
5986
5987
5988
5989
5990
5991
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
5992
	local NEWPART = IT("Part")
5993
	
5994
5995
	
5996
	
5997
	if ANCHOR == false then
5998
		NEWPART.Anchored = false
5999
	end
6000
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
6001
	
6002
	NEWPART.Size = SIZE
6003
	
6004
	
6005
	NEWPART.Parent = PARENT
6006
	return NEWPART
6007
end
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
6018
	local NEWWELD = IT(TYPE)
6019
	NEWWELD.Part0 = PART0
6020
	NEWWELD.Part1 = PART1
6021
	NEWWELD.C0 = C0
6022
	NEWWELD.C1 = C1
6023
	NEWWELD.Parent = PARENT
6024
	return NEWWELD
6025
end
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
local LASTPART = Head
6037
for i = 1, 24 do
6038
	local MATH = (1-(i/30))
6039
	if LASTPART == Head then
6040
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
6041
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(30), RAD(220), RAD(90)), CF(-0.5, 1, 0.3))
6042
		LASTPART = Horn
6043
		Horn.Color = C3(17/255, 17/255, 17/255)
6044
	else
6045
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
6046
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3.33), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
6047
		LASTPART = Horn
6048
		Horn.Color = C3(17/255, 17/255, 17/255)
6049
	end
6050
end
6051
local LASTPART = Head
6052
for i = 1, 24 do
6053
	local MATH = (1-(i/30))
6054
	if LASTPART == Head then
6055
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
6056
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(30), RAD(-220), RAD(-90)), CF(0.5, 1, 0.3))
6057
		LASTPART = Horn
6058
		Horn.Color = C3(17/255, 17/255, 17/255)
6059
	else
6060
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
6061
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3.33), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
6062
		LASTPART = Horn
6063
		Horn.Color = C3(17/255, 17/255, 17/255)
6064
6065
	end
6066
end