View difference between Paste ID: EvC8gntF and U82ZjMX9
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2-
--||			   CREATED BY SHACKLUSTER
2+
--||			   CREATED BY SHACKLUSTER (Edit Made by SonicSydney)
3
--\\====================================================//--
4
5
wait(0.2)
6
7
Player = game:GetService("Players").LocalPlayer
8
PlayerGui = Player.PlayerGui
9
Cam = workspace.CurrentCamera
10
Backpack = Player.Backpack
11
Character = Player.Character
12
Humanoid = Character.Humanoid
13
Mouse = Player:GetMouse()
14
RootPart = Character["HumanoidRootPart"]
15
Torso = Character["Torso"]
16
Head = Character["Head"]
17
RightArm = Character["Right Arm"]
18
LeftArm = Character["Left Arm"]
19
RightLeg = Character["Right Leg"]
20
LeftLeg = Character["Left Leg"]
21
RootJoint = RootPart["RootJoint"]
22
Neck = Torso["Neck"]
23
RightShoulder = Torso["Right Shoulder"]
24
LeftShoulder = Torso["Left Shoulder"]
25
RightHip = Torso["Right Hip"]
26
LeftHip = Torso["Left Hip"]
27
local sick = Instance.new("Sound",Torso)
28
sick.SoundId = "rbxassetid://152000442"
29
sick.Looped = true
30
sick.Pitch = 1
31-
sick.Volume = 1
31+
sick.Volume = 3
32
sick:Play()
33
34
IT = Instance.new
35
CF = CFrame.new
36
VT = Vector3.new
37
RAD = math.rad
38
C3 = Color3.new
39
UD2 = UDim2.new
40
BRICKC = BrickColor.new
41
ANGLES = CFrame.Angles
42
EULER = CFrame.fromEulerAnglesXYZ
43
COS = math.cos
44
ACOS = math.acos
45
SIN = math.sin
46
ASIN = math.asin
47
ABS = math.abs
48
MRANDOM = math.random
49
FLOOR = math.floor
50
51
--//=================================\\
52
--|| 	      USEFUL VALUES
53
--\\=================================//
54
55
Animation_Speed = 3
56
Humanoid.HipHeight = 1
57
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
58
local Speed = 75
59
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
60
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
61
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
62
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
63
local DAMAGEMULTIPLIER = 1
64
local ANIM = "Idle"
65
local ATTACK = false
66
local EQUIPPED = false
67
local HOLD = false
68
local COMBO = 1
69
local Rooted = false
70
local SINE = 0
71
local KEYHOLD = false
72
local CHANGE = 2 / Animation_Speed
73
local WALKINGANIM = false
74
local VALUE1 = false
75
local VALUE2 = false
76
local ROBLOXIDLEANIMATION = IT("Animation")
77
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
78
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
79
--ROBLOXIDLEANIMATION.Parent = Humanoid
80
local WEAPONGUI = IT("ScreenGui", PlayerGui)
81
WEAPONGUI.Name = "Weapon GUI"
82
local Weapon = IT("Model")
83
Weapon.Name = "Adds"
84
local Effects = IT("Folder", Weapon)
85
Effects.Name = "Effects"
86
local ANIMATOR = Humanoid.Animator
87
local ANIMATE = Character.Animate
88
local UNANCHOR = true
89
local FORCEWINGS = false
90
91
--//=================================\\
92
--\\=================================//
93
94
95
--//=================================\\
96
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
97
--\\=================================//
98
99
ArtificialHB = Instance.new("BindableEvent", script)
100
ArtificialHB.Name = "ArtificialHB"
101
102
script:WaitForChild("ArtificialHB")
103
104
frame = Frame_Speed
105
tf = 0
106
allowframeloss = false
107
tossremainder = false
108
lastframe = tick()
109
script.ArtificialHB:Fire()
110
111
game:GetService("RunService").Heartbeat:connect(function(s, p)
112
	tf = tf + s
113
	if tf >= frame then
114
		if allowframeloss then
115
			script.ArtificialHB:Fire()
116
			lastframe = tick()
117
		else
118
			for i = 1, math.floor(tf / frame) do
119
				script.ArtificialHB:Fire()
120
			end
121
		lastframe = tick()
122
		end
123
		if tossremainder then
124
			tf = 0
125
		else
126
			tf = tf - frame * math.floor(tf / frame)
127
		end
128
	end
129
end)
130
131
--//=================================\\
132
--\\=================================//
133
134
--//=================================\\
135
--|| 	      SOME FUNCTIONS
136
--\\=================================//
137
138
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
139
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
140
end
141
142
function PositiveAngle(NUMBER)
143
	if NUMBER >= 0 then
144
		NUMBER = 0
145
	end
146
	return NUMBER
147
end
148
149
function NegativeAngle(NUMBER)
150
	if NUMBER <= 0 then
151
		NUMBER = 0
152
	end
153
	return NUMBER
154
end
155
156
function Swait(NUMBER)
157
	if NUMBER == 0 or NUMBER == nil then
158
		ArtificialHB.Event:wait()
159
	else
160
		for i = 1, NUMBER do
161
			ArtificialHB.Event:wait()
162
		end
163
	end
164
end
165
166
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
167
	local NEWMESH = IT(MESH)
168
	if MESH == "SpecialMesh" then
169
		NEWMESH.MeshType = MESHTYPE
170
		if MESHID ~= "nil" and MESHID ~= "" then
171
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
172
		end
173
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
174
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
175
		end
176
	end
177
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
178
	NEWMESH.Scale = SCALE
179
	NEWMESH.Parent = PARENT
180
	return NEWMESH
181
end
182
183
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
184
	local NEWPART = IT("Part")
185
	NEWPART.formFactor = FORMFACTOR
186
	NEWPART.Reflectance = REFLECTANCE
187
	NEWPART.Transparency = TRANSPARENCY
188
	NEWPART.CanCollide = false
189
	NEWPART.Locked = true
190
	NEWPART.Anchored = true
191
	if ANCHOR == false then
192
		NEWPART.Anchored = false
193
	end
194
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
195
	NEWPART.Name = NAME
196
	NEWPART.Size = SIZE
197
	NEWPART.Position = Torso.Position
198
	NEWPART.Material = MATERIAL
199
	NEWPART:BreakJoints()
200
	NEWPART.Parent = PARENT
201
	return NEWPART
202
end
203
204
function QuaternionFromCFrame(cf)
205
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
206
	local trace = m00 + m11 + m22
207
	if trace > 0 then 
208
		local s = math.sqrt(1 + trace)
209
		local recip = 0.5 / s
210
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
211
	else
212
		local i = 0
213
		if m11 > m00 then
214
			i = 1
215
		end
216
		if m22 > (i == 0 and m00 or m11) then
217
			i = 2
218
		end
219
		if i == 0 then
220
			local s = math.sqrt(m00 - m11 - m22 + 1)
221
			local recip = 0.5 / s
222
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
223
		elseif i == 1 then
224
			local s = math.sqrt(m11 - m22 - m00 + 1)
225
			local recip = 0.5 / s
226
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
227
		elseif i == 2 then
228
			local s = math.sqrt(m22 - m00 - m11 + 1)
229
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
230
		end
231
	end
232
end
233
 
234
function QuaternionToCFrame(px, py, pz, x, y, z, w)
235
	local xs, ys, zs = x + x, y + y, z + z
236
	local wx, wy, wz = w * xs, w * ys, w * zs
237
	local xx = x * xs
238
	local xy = x * ys
239
	local xz = x * zs
240
	local yy = y * ys
241
	local yz = y * zs
242
	local zz = z * zs
243
	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))
244
end
245
 
246
function QuaternionSlerp(a, b, t)
247
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
248
	local startInterp, finishInterp;
249
	if cosTheta >= 0.0001 then
250
		if (1 - cosTheta) > 0.0001 then
251
			local theta = ACOS(cosTheta)
252
			local invSinTheta = 1 / SIN(theta)
253
			startInterp = SIN((1 - t) * theta) * invSinTheta
254
			finishInterp = SIN(t * theta) * invSinTheta
255
		else
256
			startInterp = 1 - t
257
			finishInterp = t
258
		end
259
	else
260
		if (1 + cosTheta) > 0.0001 then
261
			local theta = ACOS(-cosTheta)
262
			local invSinTheta = 1 / SIN(theta)
263
			startInterp = SIN((t - 1) * theta) * invSinTheta
264
			finishInterp = SIN(t * theta) * invSinTheta
265
		else
266
			startInterp = t - 1
267
			finishInterp = t
268
		end
269
	end
270
	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
271
end
272
273
function Clerp(a, b, t)
274
	local qa = {QuaternionFromCFrame(a)}
275
	local qb = {QuaternionFromCFrame(b)}
276
	local ax, ay, az = a.x, a.y, a.z
277
	local bx, by, bz = b.x, b.y, b.z
278
	local _t = 1 - t
279
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
280
end
281
282
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
283
	local frame = IT("Frame")
284
	frame.BackgroundTransparency = TRANSPARENCY
285
	frame.BorderSizePixel = BORDERSIZEPIXEL
286
	frame.Position = POSITION
287
	frame.Size = SIZE
288
	frame.BackgroundColor3 = COLOR
289
	frame.BorderColor3 = BORDERCOLOR
290
	frame.Name = NAME
291
	frame.Parent = PARENT
292
	return frame
293
end
294
295
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
296
	local label = IT("TextLabel")
297
	label.BackgroundTransparency = 1
298
	label.Size = UD2(1, 0, 1, 0)
299
	label.Position = UD2(0, 0, 0, 0)
300
	label.TextColor3 = TEXTCOLOR
301
	label.TextStrokeTransparency = STROKETRANSPARENCY
302
	label.TextTransparency = TRANSPARENCY
303
	label.FontSize = TEXTFONTSIZE
304
	label.Font = TEXTFONT
305
	label.BorderSizePixel = BORDERSIZEPIXEL
306
	label.TextScaled = false
307
	label.Text = TEXT
308
	label.Name = NAME
309
	label.Parent = PARENT
310
	return label
311
end
312
313
function NoOutlines(PART)
314
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
315
end
316
317
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
318
	local NEWWELD = IT(TYPE)
319
	NEWWELD.Part0 = PART0
320
	NEWWELD.Part1 = PART1
321
	NEWWELD.C0 = C0
322
	NEWWELD.C1 = C1
323
	NEWWELD.Parent = PARENT
324
	return NEWWELD
325
end
326
327
local S = IT("Sound")
328
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
329
	local NEWSOUND = nil
330
	coroutine.resume(coroutine.create(function()
331
		NEWSOUND = S:Clone()
332
		NEWSOUND.Parent = PARENT
333
		NEWSOUND.Volume = VOLUME
334
		NEWSOUND.Pitch = PITCH
335
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
336
		NEWSOUND:play()
337
		if DOESLOOP == true then
338
			NEWSOUND.Looped = true
339
		else
340
			repeat wait(1) until NEWSOUND.Playing == false
341
			NEWSOUND:remove()
342
		end
343
	end))
344
	return NEWSOUND
345
end
346
347
function CFrameFromTopBack(at, top, back)
348
	local right = top:Cross(back)
349
	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)
350
end
351
352
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
353
function WACKYEFFECT(Table)
354
	local TYPE = (Table.EffectType or "Sphere")
355
	local SIZE = (Table.Size or VT(1,1,1))
356
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
357
	local TRANSPARENCY = (Table.Transparency or 0)
358
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
359
	local CFRAME = (Table.CFrame or Torso.CFrame)
360
	local MOVEDIRECTION = (Table.MoveToPos or nil)
361
	local ROTATION1 = (Table.RotationX or 0)
362
	local ROTATION2 = (Table.RotationY or 0)
363
	local ROTATION3 = (Table.RotationZ or 0)
364
	local MATERIAL = (Table.Material or "Neon")
365
	local COLOR = (Table.Color or C3(1,1,1))
366
	local TIME = (Table.Time or 45)
367
	local SOUNDID = (Table.SoundID or nil)
368
	local SOUNDPITCH = (Table.SoundPitch or nil)
369
	local SOUNDVOLUME = (Table.SoundVolume or nil)
370
	coroutine.resume(coroutine.create(function()
371
		local PLAYSSOUND = false
372
		local SOUND = nil
373
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
374
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
375
			PLAYSSOUND = true
376
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
377
		end
378
		EFFECT.Color = COLOR
379
		local MSH = nil
380
		if TYPE == "Sphere" then
381
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
382
		elseif TYPE == "Block" then
383
			MSH = IT("BlockMesh",EFFECT)
384
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
385
		elseif TYPE == "Wave" then
386
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
387
		elseif TYPE == "Ring" then
388
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
389
		elseif TYPE == "Slash" then
390
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
391
		elseif TYPE == "Round Slash" then
392
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
393
		elseif TYPE == "Swirl" then
394
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
395
		elseif TYPE == "Skull" then
396
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
397
		elseif TYPE == "Crystal" then
398
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
399
		end
400
		if MSH ~= nil then
401
			local MOVESPEED = nil
402
			if MOVEDIRECTION ~= nil then
403
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
404
			end
405
			local GROWTH = SIZE - ENDSIZE
406
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
407
			if TYPE == "Block" then
408
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
409
			else
410
				EFFECT.CFrame = CFRAME
411
			end
412
			for LOOP = 1, TIME+1 do
413
				Swait()
414
				MSH.Scale = MSH.Scale - GROWTH/TIME
415
				if TYPE == "Wave" then
416
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
417
				end
418
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
419
				if TYPE == "Block" then
420
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
421
				else
422
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
423
				end
424
				if MOVEDIRECTION ~= nil then
425
					local ORI = EFFECT.Orientation
426
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
427
					EFFECT.Orientation = ORI
428
				end
429
			end
430
			if PLAYSSOUND == false then
431
				EFFECT:remove()
432
			else
433
				SOUND.Stopped:Connect(function()
434
					EFFECT:remove()
435
				end)
436
			end
437
		else
438
			if PLAYSSOUND == false then
439
				EFFECT:remove()
440
			else
441
				repeat Swait() until SOUND.Playing == false
442
				EFFECT:remove()
443
			end
444
		end
445
	end))
446
end
447
448
function MakeForm(PART,TYPE)
449
	if TYPE == "Cyl" then
450
		local MSH = IT("CylinderMesh",PART)
451
	elseif TYPE == "Ball" then
452
		local MSH = IT("SpecialMesh",PART)
453
		MSH.MeshType = "Sphere"
454
	elseif TYPE == "Pine" then
455
		CreateMesh("SpecialMesh", PART, "FileMesh", "1033714", "", PART.Size, VT(0,0,0))
456
	end
457
end
458
459
Debris = game:GetService("Debris")
460
461
function CastProperRay(StartPos, EndPos, Distance, Ignore)
462
	local DIRECTION = CF(StartPos,EndPos).lookVector
463
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
464
end
465
466
function turnto(position)
467
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
468
end
469
470
--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})
471
function Lightning(Table)
472
	local Color = Table.Color or C3(1,1,1)
473
	local StartPos = Table.Start or Torso.Position
474
	local EndPos = Table.End or Mouse.Hit.p
475
	local SegmentLength = Table.SegmentL or 2
476
	local Thickness = Table.Thickness or 0.1
477
	local Dissapear = Table.DoesFade or false
478
	local Parent = Table.Ignore or Character
479
	local MaxDist = Table.MaxDist or 400
480
	local Branches = Table.Branches or false
481
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
482
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
483
	local LIGHTNINGMODEL = IT("Model",Effects)
484
	LIGHTNINGMODEL.Name = "Lightning"
485
	local LastBolt = nil
486
	for E = 1, DISTANCE do
487
		local ExtraSize = (DISTANCE-E)/15
488-
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
488+
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Really blue"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
489
		PART.Color = Color
490
		MakeForm(PART,"Cyl")
491
		if LastBolt == nil then
492
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
493
		else
494
			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)
495
		end
496
		LastBolt = PART
497
		if Branches == true then
498
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
499
			if CHOICE == 1 then
500
				local LASTBRANCH = nil
501
				for i = 1, MRANDOM(2,5) do
502
					local ExtraSize2 = ((DISTANCE-E)/25)/i
503-
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
503+
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Really blue"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
504
					PART.Color = Color
505
					MakeForm(PART,"Cyl")
506
					if LASTBRANCH == nil then
507
						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)
508
					else
509
						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)
510
					end
511
					LASTBRANCH = PART
512
				end
513
			end
514
		end
515
	end
516
	if Dissapear == true then
517
		coroutine.resume(coroutine.create(function()
518
			for i = 1, 30 do
519
				Swait()
520
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
521
					if c.ClassName == "Part" then
522
						c.Transparency = i/30
523
					end
524
				end
525
			end
526
			LIGHTNINGMODEL:remove()
527
		end))
528
	elseif Dissapear == false then
529
		Debris:AddItem(LIGHTNINGMODEL,0.1)
530
	end
531
	return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
532
end
533
534
local Particle = IT("ParticleEmitter",nil)
535
Particle.Enabled = false
536
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.7,0),NumberSequenceKeypoint.new(1,1)})
537
Particle.LightEmission = 0.5
538
Particle.Rate = 500
539
Particle.Rotation = NumberRange.new(-180, 180)
540
Particle.RotSpeed = NumberRange.new(-180, 180)
541
Particle.Texture = "http://www.roblox.com/asset/?id=51349099"
542
Particle.Color = ColorSequence.new(C3(1,1,1))
543
544
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
545
function ParticleEmitter(Table)
546
	local PRTCL = Particle:Clone()
547
	local Speed = Table.Speed or 5
548
	local Drag = Table.Drag or 0
549
	local Size1 = Table.Size1 or 1
550
	local Size2 = Table.Size2 or 5
551
	local Lifetime1 = Table.Lifetime1 or 1
552
	local Lifetime2 = Table.Lifetime2 or 1.5
553
	local Parent = Table.Parent or Torso
554
	local Emit = Table.Emit or 100
555
	local Offset = Table.Offset or 360
556
	local Enabled = Table.Enabled or false
557
	PRTCL.Parent = Parent
558
	PRTCL.Size = NumberSequence.new(Size1,Size2)
559
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
560
	PRTCL.Speed = NumberRange.new(Speed)
561
	PRTCL.VelocitySpread = Offset
562
	PRTCL.Drag = Drag
563
	if Enabled == false then
564
		PRTCL:Emit(Emit)
565
		Debris:AddItem(PRTCL,Lifetime2)
566
	else
567
		PRTCL.Enabled = true
568
	end
569
	return PRTCL
570
end
571
572
--//=================================\\
573
--||	     WEAPON CREATION
574
--\\=================================//
575
576-
local RWING = CreatePart(3, Weapon, "Neon", 0, 1, "Pearl", "Right Wing", (VT(2, 3, 2)*1.5),false)
576+
local RWING = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Right Wing", (VT(2, 3, 2)*1.5),false)
577
RWING.Color = C3(206/255, 163/255, 218/255)
578
local RWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, RWING, CF(1 , 2, 0.5), CF(-1.5, 0, 0))
579-
local LWING = CreatePart(3, Weapon, "Neon", 0, 1, "Pearl", "Left Wing", (VT(2, 3, 2)*1.5),false)
579+
local LWING = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Left Wing", (VT(2, 3, 2)*1.5),false)
580
LWING.Color = C3(206/255, 163/255, 218/255)
581
local LWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, LWING, CF(-1 , 2, 0.5), CF(1.6, 0, 0))
582
CreateMesh("SpecialMesh", RWING, "FileMesh", "90615661", "", VT(1.5,1.5,1.5)*0.8, VT(0,0,0))
583
CreateMesh("SpecialMesh", LWING, "FileMesh", "90615581", "", VT(1.5,1.5,1.5)*0.8, VT(0,0,0))
584-
local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(1,1,1),false)
584+
local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(1,1,1),false)
585
CreateMesh("SpecialMesh", Mask, "FileMesh", "395088733", "", VT(0.5,0.5,1), VT(0,0,0))
586
CreateWeldOrSnapOrMotor("Weld", Head, Head, Mask, CF(0,0,-0.5), CF(0, 0, 0))
587-
local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "New Yeller", "Mask", VT(1.3,0.1,1.3),false)
587+
local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(1.3,0.1,1.3),false)
588
MakeForm(Mask,"Cyl")
589
CreateWeldOrSnapOrMotor("Weld", Head, Head, Mask, CF(0,0.2,0), CF(0, 0, 0))
590-
local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(0.2, 0.7, 0.3),false)
590+
local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(0.2, 0.7, 0.3),false)
591
Black.Color = C3(0,0,0)
592
MakeForm(Black,"Ball")
593
CreateWeldOrSnapOrMotor("Weld", Head, Head, Black, CF(0,0.05,-0.6), CF(0, 0, 0))
594-
local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(1, 0.2, 0.3),false)
594+
local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(1, 0.2, 0.3),false)
595
Black.Color = C3(0,0,0)
596
MakeForm(Black,"Ball")
597
CreateWeldOrSnapOrMotor("Weld", Head, Head, Black, CF(0,0.1,-0.6), CF(0, 0, 0))
598-
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Mask", VT(0.1,0.1,0.1),false)
598+
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Mask", VT(0.1,0.1,0.1),false)
599
MakeForm(Eye,"Ball")
600
CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0.22,0.1,-0.7), CF(0, 0, 0))
601-
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Mask", VT(0.1,0.1,0.1),false)
601+
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Mask", VT(0.1,0.1,0.1),false)
602
MakeForm(Eye,"Ball")
603
CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(-0.22,0.1,-0.7), CF(0, 0, 0))
604-
local Horns = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "New Yeller", "Horns", VT(1,1,1),false)
604+
local Horns = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Horns", VT(1,1,1),false)
605
CreateWeldOrSnapOrMotor("Weld", Head, Head, Horns, CF(0,0.6,0.1), CF(0, 0, 0))
606
--704130856
607
local MSH = CreateMesh("SpecialMesh", Horns, "FileMesh", "704130637", "", VT(0.17, 0.17, 0.17), VT(0,0,0))
608
MSH.VertexColor = VT(1, 1, 0.5)
609-
local MaskPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(0.4,0.4,0.4),false)
609+
local MaskPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(0.4,0.4,0.4),false)
610
MakeForm(MaskPart,"Ball")
611
CreateWeldOrSnapOrMotor("Weld", Head, Head, MaskPart, CF(-0.35,0.35,-0.5), CF(0, 0, 0))
612-
local MaskPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(0.4,0.4,0.4),false)
612+
local MaskPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(0.4,0.4,0.4),false)
613
MakeForm(MaskPart,"Ball")
614
CreateWeldOrSnapOrMotor("Weld", Head, Head, MaskPart, CF(0.35,0.35,-0.5), CF(0, 0, 0))
615
616-
local Handle = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Handle", VT(0.2,1,0.2),false)
616+
local Handle = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Handle", VT(0.2,1,0.2),false)
617
MakeForm(Handle,"Cyl")
618
local Grasp = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Handle, CF(0,-1,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
619-
local Bop = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Bop", VT(0.5,0.5,0.5),false)
619+
local Bop = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Bop", VT(0.5,0.5,0.5),false)
620
MakeForm(Bop,"Ball")
621
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Bop, CF(0,0.7,0), CF(0, 0, 0))
622
local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Black", "Shield", VT(0.5,0.2,0.5),false)
623
MakeForm(Part,"Pine")
624
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
625-
local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Dark blue", "Shield", VT(0.6,0.3,0.6),false)
625+
local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Dark red", "Shield", VT(0.6,0.3,0.6),false)
626
MakeForm(Part,"Pine")
627
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.7,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
628-
local Blade = CreatePart(3, Weapon, "Glass", 0, 0, "Magenta", "Blade", VT(0.3,5,0.3),false)
628+
local Blade = CreatePart(3, Weapon, "Glass", 0, 0, "Bright red", "Blade", VT(0.3,5,0.3),false)
629
MakeForm(Blade,"Pine")
630
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Blade, CF(0,-2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
631
632-
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Shield", VT(1.05,0.1,1.05),false)
632+
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Dark red", "Shield", VT(1.05,0.1,1.05),false)
633
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(0,-0.3,0), CF(0, 0, 0))
634-
local ShieldBase = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Shield", VT(2,2,1),false)
634+
local ShieldBase = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(2,2,1),false)
635
CreateMesh("SpecialMesh", ShieldBase, "FileMesh", "395088733", "", VT(1,1,1), VT(0,0,0))
636
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, ShieldBase, CF(-0.5,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
637-
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Shield", VT(0,0,0),false)
637+
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false)
638
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
639
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.4,-0.3,0) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
640-
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Magenta", "Shield", VT(0,0,0),false)
640+
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dark red", "Shield", VT(0,0,0),false)
641
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
642
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.515,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
643-
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Shield", VT(0,0,0),false)
643+
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false)
644
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.7,0.7,1), VT(0,0,0))
645
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
646-
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Magenta", "Shield", VT(0,0,0),false)
646+
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dark red", "Shield", VT(0,0,0),false)
647
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.5,0.5,1), VT(0,0,0))
648
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
649-
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Shield", VT(0.8,2,0.2),false)
649+
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Bright red", "Shield", VT(0.8,2,0.2),false)
650
MakeForm(Shield,"Ball")
651
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
652-
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Shield", VT(0.8,0.2,2),false)
652+
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Bright red", "Shield", VT(0.8,0.2,2),false)
653
MakeForm(Shield,"Ball")
654
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
655-
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Magenta", "Shield", VT(0.8,2,0.3),false)
655+
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dark red", "Shield", VT(0.8,2,0.3),false)
656
MakeForm(Shield,"Ball")
657
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
658-
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Magenta", "Shield", VT(0.8,0.3,2),false)
658+
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dark red", "Shield", VT(0.8,0.3,2),false)
659
MakeForm(Shield,"Ball")
660
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
661
662
local SKILLTEXTCOLOR = BRICKC"Magenta".Color
663
local SKILLFONT = "SciFi"
664
local SKILLTEXTSIZE = 12
665
666
Humanoid.DisplayDistanceType = "None"
667
local naeeym2 = IT("BillboardGui",Character)
668
naeeym2.AlwaysOnTop = true
669
naeeym2.Size = UDim2.new(5,35,2,15)
670
naeeym2.StudsOffset = Vector3.new(0,1.3,0)
671
naeeym2.MaxDistance = 75
672
naeeym2.Adornee = Character.Head
673
naeeym2.Name = "Name"
674
naeeym2.PlayerToHideFrom = Player
675
local tecks2 = IT("TextLabel",naeeym2)
676
tecks2.BackgroundTransparency = 1
677
tecks2.TextScaled = true
678
tecks2.BorderSizePixel = 0
679
tecks2.Text = Player.Name
680
tecks2.Font = "SciFi"
681
tecks2.TextSize = 30
682
tecks2.TextStrokeTransparency = 0
683
tecks2.TextColor3 = C3(1,1,1)
684
tecks2.TextStrokeColor3 = SKILLTEXTCOLOR
685
tecks2.Size = UDim2.new(1,0,0.5,0)
686
tecks2.Parent = naeeym2
687
688
for _, c in pairs(Weapon:GetChildren()) do
689
	if c.ClassName == "Part" then
690
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
691
	end
692
end
693
694
Weapon.Parent = Character
695
696
Humanoid.Died:connect(function()
697
	ATTACK = true
698
end)
699
700
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Frame")
701
702
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[ Z - B - C - V - G - X ]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text")
703
704
--//=================================\\
705
--||			DAMAGING
706
--\\=================================//
707
708
function ApplyDamage(Humanoid,Damage,TorsoPart)
709
	local defence = Instance.new("BoolValue",Humanoid.Parent)
710
	defence.Name = ("HitBy"..Player.Name)
711
	game:GetService("Debris"):AddItem(defence, 0.001)
712
	Damage = Damage * DAMAGEMULTIPLIER
713
	if Humanoid.Health ~= 0 then
714
		local CritChance = MRANDOM(1,100)
715
		if Damage > Humanoid.Health then
716
			Damage = math.ceil(Humanoid.Health)
717
			if Damage == 0 then
718
				Damage = 0.1
719
			end
720
		end
721
		Humanoid.Health = Humanoid.Health - Damage
722
	end
723
end
724
725
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,FRAME)
726
	local CHILDREN = workspace:GetDescendants()
727
	for index, CHILD in pairs(CHILDREN) do
728
		if CHILD.ClassName == "Model" and CHILD ~= Character then
729
			if CHILD:FindFirstChild(Player.Name.."Frames") == nil then
730
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
731
				if HUM then
732
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
733
					if TORSO then
734
						if (TORSO.Position - POSITION).Magnitude <= RANGE and HUM.Health > 0 then
735
							local FRAMES = IT("Folder",CHILD)
736
							FRAMES.Name = (Player.Name.."Frames")
737
							local DMG = 0
738
							if MINDMG > 1 then
739
								DMG = MRANDOM(MINDMG,MAXDMG)
740
							else
741
								DMG = MINDMG
742
							end
743
							ApplyDamage(HUM,DMG,TORSO)
744
							CreateSound(12222242, TORSO, 5, 1, false)
745
							coroutine.resume(coroutine.create(function()
746
								for _, c in pairs(CHILD:GetDescendants()) do
747
									if c:IsA("BasePart") then
748
										local bv = Instance.new("BodyVelocity") 
749
										bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
750
										if POSITION.Y < TORSO.Position.Y then
751
											bv.velocity = CF(POSITION,TORSO.Position+VT(0,TORSO.Position.Y-POSITION.Y,0)).lookVector*FLING
752
										else
753
											bv.velocity = CF(POSITION,TORSO.Position+VT(0,5,0)).lookVector*FLING
754
										end
755
										bv.Parent = c
756
										c.Reflectance = c.Transparency
757
										c.Transparency = 1
758
										Debris:AddItem(bv,0.05)
759
									end
760
								end
761
								if HUM.Health > 0 then
762
									if FRAME > 0 then
763
										for i = 1, FRAME do
764
											for _, c in pairs(CHILD:GetDescendants()) do
765
												if c:IsA("BasePart") then
766
													c.Transparency = c.Reflectance
767
													c.Reflectance = 0
768
												end
769
											end
770
											wait()
771
											for _, c in pairs(CHILD:GetDescendants()) do
772
												if c:IsA("BasePart") then
773
													c.Reflectance = c.Transparency
774
													c.Transparency = 1
775
												end
776
											end
777
											wait()
778
										end
779
									else
780
										coroutine.resume(coroutine.create(function()
781
											HUM.CameraOffset = VT(MRANDOM(-35,35)/65,MRANDOM(-35,35)/65,MRANDOM(-35,35)/65)
782
										end))
783
										TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
784
									end
785
									for _, c in pairs(CHILD:GetDescendants()) do
786
										if c:IsA("BasePart") then
787
											c.Transparency = c.Reflectance
788
											c.Reflectance = 0
789
										end
790
									end
791
								else
792
									for _, c in pairs(CHILD:GetDescendants()) do
793
										if c:IsA("BasePart") then
794
											c.Transparency = c.Reflectance
795
											c.Reflectance = 0
796
										end
797
									end
798
								end
799
								coroutine.resume(coroutine.create(function()
800
									HUM.CameraOffset = VT(0,0,0)
801
								end))
802
								FRAMES:remove()
803
							end))
804
						end
805
					end
806
				end
807
			end
808
		end
809
	end
810
end
811
812
--//=================================\\
813
--||	ATTACK FUNCTIONS AND STUFF
814
--\\=================================//
815
816
function X()
817
	ATTACK = true
818
	Rooted = true
819
	local TOAIM = Mouse.Hit.p
820
	turnto(Mouse.Hit.p)
821
	local DONE = false
822
	Humanoid.HipHeight = 5
823
	for i=0, 0.2, 0.1 / Animation_Speed do
824
		Swait()
825
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
826
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), 0.75 / Animation_Speed)
827
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
828
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
829
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
830
	end
831
	for i=0, 1.3, 0.1 / Animation_Speed do
832
		Swait()
833
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(0), RAD(0), RAD(230)), 0.75 / Animation_Speed)
834
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
835
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
836
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
837
	end
838
	CreateSound(1537955136, Blade, 5, 1, false)
839-
	local SLICE = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Slash", VT(0,16,0))
839+
	local SLICE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Slash", VT(0,16,0))
840
	MakeForm(SLICE,"Ball")
841
	CreateSound(342793847, SLICE, 5, 3, false)
842
	SLICE.CFrame = CF(RootPart.CFrame*CF(0,0,4).p,TOAIM) * ANGLES(RAD(0), RAD(0), RAD(-45))
843
	--SLICE.Color = C3(100/255, 58/255, 104/255)
844
	ParticleEmitter({Speed = 2, Drag = 3, Size1 = 0.2, Size2 = 1, Lifetime1 = 1, Lifetime2 = 3, Parent = SLICE, Emit = 15, Offset = 360, Enabled = false})
845
	coroutine.resume(coroutine.create(function()
846
		Swait(35)
847
		SLICE.Transparency = 0
848
		for i = 1, 45 do
849
			Swait()
850
			SLICE.Size = SLICE.Size + VT(1+i/45,0,0)/5
851
		end
852
		wait(0.3)
853-
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "SlashBeam", VT(0,0,0))
853+
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "SlashBeam", VT(0,0,0))
854
		MakeForm(BEAM,"Cyl")
855
		BEAM.Color = SLICE.Color
856
		local AIMHIT,AIMPOS = CastProperRay(SLICE.Position,TOAIM,750,Character)
857
		local DISTANCE = (SLICE.Position - AIMPOS).Magnitude
858
		BEAM.CFrame = CF(SLICE.Position,AIMPOS)*CF(0,0,-(DISTANCE/2)-7.5)*ANGLES(RAD(90),RAD(0),RAD(0))
859
		BEAM.Size = VT(0,DISTANCE+15,0)
860
		BEAM.Mesh.Scale = VT(1.8,1,1.8)
861-
		local BOP = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Bop", VT(0,0,0))
861+
		local BOP = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Bop", VT(0,0,0))
862
		MakeForm(BOP,"Ball")
863
		BOP.Color = SLICE.Color
864
		BOP.CFrame = BEAM.CFrame*CF(0,-BEAM.Size.Y/2,0)
865
		wait(0.1)
866
		local SIZE = SLICE.Size.X
867
		local SOUND = CreateSound(415700134, SLICE, 10, 1, false)
868
		local PRT = ParticleEmitter({Speed = 0, Drag = 0, Size1 = 0.3, Size2 = 0.7, Lifetime1 = 1, Lifetime2 = 1.5, Parent = BEAM, Emit = 100, Offset = 360, Enabled = true})
869
		PRT.ZOffset = 12
870
		for i = 1, 25 do
871
			Swait()
872
			for i = 1, math.ceil(BEAM.Size.Y/5) do
873
				ApplyAoE(BEAM.CFrame*CF(0,BEAM.Size.Y/2-i*5,0).p,BEAM.Size.X/1.5,1,1,5,0)
874
			end
875
			BEAM.Size = BEAM.Size + VT(SIZE/25,0,SIZE/25)/1.8
876
			BOP.Size = BOP.Size + VT(SIZE/25,SIZE/25,SIZE/25)
877
			Humanoid.CameraOffset = VT(MRANDOM(-35,35)/65,MRANDOM(-35,35)/65,MRANDOM(-35,35)/65)
878
		end
879
		repeat
880
			Swait()
881
			BOP.CFrame = BEAM.CFrame*CF(0,-BEAM.Size.Y/2,0)
882
			--Lightning({Color = SLICE.Color, Start = SLICE.Position, End = SLICE.CFrame*CF(0,0,-15)*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, SegmentL = 2, Thickness = 0.3, DoesFade = true, Ignore = workspace, MaxDist = 45, Branches = false})
883
			SOUND.Parent = SLICE
884
			for i = 1, math.ceil(BEAM.Size.Y/5) do
885
				ApplyAoE(BEAM.CFrame*CF(0,BEAM.Size.Y/2-i*5,0).p,BEAM.Size.X/1.5,1,1,5,0)
886
			end
887
			Humanoid.CameraOffset = VT(MRANDOM(-35,35)/65,MRANDOM(-35,35)/65,MRANDOM(-35,35)/65)
888
		until SOUND.Playing == false
889
		BOP:remove()
890
		BEAM:remove()
891
		DONE = true
892
		Humanoid.CameraOffset = VT(0,0,0)
893
		for i = 1, 45 do
894
			Swait()
895
			SLICE.Size = SLICE.Size - VT(1+i/45,0,0)/5
896
		end
897
		SLICE:remove()
898
	end))
899
	for i=0, 1, 0.1 / Animation_Speed do
900
		Swait()
901
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(40), RAD(0), RAD(0)), 3 / Animation_Speed)
902
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(130)), 3 / Animation_Speed)
903
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 3 / Animation_Speed)
904
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-75), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
905
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 3 / Animation_Speed)
906
	end	
907
	FORCEWINGS = true
908
	for i = 1, 200 do
909
		Swait()
910
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
911
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(180+i)) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(i, -i, i*5), 0.75 / Animation_Speed)
912
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
913
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
914
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
915
	end
916
	repeat wait() until DONE == true
917
	RootJoint.C0 = CF(0,300,0)
918
	Humanoid.HipHeight = 1
919
	for i = 1, 50 do
920
		Swait()
921
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(40), RAD(0), RAD(0)), 3 / Animation_Speed)
922
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0), 0.25 / Animation_Speed)
923
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
924
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(32)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
925
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-32)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
926
	end
927
	ATTACK = false
928
	Rooted = false
929
	FORCEWINGS = false
930
end
931
function Intro()
932
	ATTACK = true
933
	Rooted = true
934
	for i=0, 0.2, 0.1 / Animation_Speed do
935
		Swait()
936
		LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.85) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed)
937
		RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.85) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed)
938
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(50)), 0.75 / Animation_Speed)
939
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
940
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
941
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
942
	end
943
	for i=0, 3, 0.1 / Animation_Speed do
944
		Swait()
945
		LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
946
		RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
947
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0-0.5 * COS(SINE), 0, 0) * ANGLES(RAD(0), RAD(0), RAD(50)), 0.75 / Animation_Speed)
948
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
949
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
950
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
951
	end
952
	CreateSound(1537955136, Blade, 5, 1, false)
953
	RWING.Transparency = 0
954
	LWING.Transparency = 0
955
	for i = 1, 15 do
956
		Swait()
957
		LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.55) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed)
958
		RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.55) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed)
959
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-50-((i/15)*360))), 0.75 / Animation_Speed)
960
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed)
961
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
962
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
963
	end	
964
	for i = 1, 15 do
965
		Swait()
966
		LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.55) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed)
967
		RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.55) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed)
968
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
969
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed)
970
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
971
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
972
	end	
973
	for i=0, 1, 0.1 / Animation_Speed do
974
		Swait()
975
		LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed)
976
		RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed)
977
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
978
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
979
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
980
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
981
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
982
	end
983
	ATTACK = false
984
	Rooted = false
985
end
986
function Z()
987
	ATTACK = true
988
	Rooted = true
989
	CreateSound(1537955136, Torso, 5, 1, false)
990
	for i=1, 15 do
991
		Swait()
992
		RootPart.CFrame = RootPart.CFrame * CF(0,0,0.5)
993
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+i/15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
994
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
995
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
996
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
997
	end
998
	for i=0, 0.3, 0.1 / Animation_Speed do
999
		Swait()
1000
		RootPart.CFrame = RootPart.CFrame * CF(0,0,0.015)
1001
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
1002
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
1003
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1004
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1005
	end
1006
	FORCEWINGS = true
1007
	for i = 1, 10 do
1008
		for i=0, 0.02, 0.1 / Animation_Speed do
1009
			Swait()
1010
			Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), 2 / Animation_Speed)
1011
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
1012
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-85)), 2 / Animation_Speed)
1013
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1014
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1015
		end
1016
		local RANDOM = MRANDOM(-7,7)/5
1017
		local RANDOM2 = MRANDOM(-7,7)/5
1018
		for i=0, 0.01, 0.1 / Animation_Speed do
1019
			Swait()
1020
			RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
1021
			Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
1022
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 3 / Animation_Speed)
1023
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 3 / Animation_Speed)
1024
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5+RANDOM, 0+RANDOM2) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1025
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1026
		end
1027
		local WAVES = {}
1028
		coroutine.resume(coroutine.create(function()
1029
			repeat
1030
				Swait()
1031
				for E = 1, #WAVES do
1032
					if WAVES[E] ~= nil then
1033
						ApplyAoE(WAVES[E].Position,3,25,35,35,3)
1034
						if WAVES[E].Transparency > 0.99 then
1035
							WAVES[E]:remove()
1036
							table.remove(WAVES,E)
1037
						else
1038
							WAVES[E].CFrame = WAVES[E].CFrame * CF(0,1.2,0)
1039
							WAVES[E].Transparency = WAVES[E].Transparency + 0.75/25
1040
						end
1041
					end
1042
				end
1043
			until #WAVES == 0
1044
		end))
1045-
		local Wave = CreatePart(3, Effects, "Glass", 0, 0.25, "New Yeller", "Wave", VT(1,3,1))
1045+
		local Wave = CreatePart(3, Effects, "Glass", 0, 0.25, "Bright red", "Wave", VT(1,3,1))
1046
		MakeForm(Wave,"Pine")
1047
		Wave.CFrame = Blade.CFrame
1048
		table.insert(WAVES,Wave)
1049
		CreateSound(1537955679, Wave, 7, 1, true)
1050
	end
1051
	ATTACK = false
1052
	Rooted = false
1053
	FORCEWINGS = false
1054
end
1055
function B()
1056
	ATTACK = true
1057
	Rooted = false
1058
	FORCEWINGS = true
1059
	for i=0, 1, 0.1 / Animation_Speed do
1060
		Swait()
1061
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1062
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1063
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1064
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1065
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1066
	end
1067
	CreateSound(1537955679, Blade, 7, 0.7, false)
1068
	Rooted = true
1069
	for i=0, 0.4, 0.1 / Animation_Speed do
1070
		Swait()
1071
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
1072
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1073
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1074
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1075
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1076
	end
1077
	coroutine.resume(coroutine.create(function()
1078
		local FRAME = RootPart.CFrame*CF(0,-5,-0.5)
1079
		for i = 1, 125 do
1080
			Swait()
1081
			FRAME = FRAME * CF(0,0,-1)
1082
			ApplyAoE(FRAME.p,5,45,55,35,15)
1083
			WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,18,1), Size2 = VT(1,0,1), Transparency = 0, Transparency2 = 1, CFrame = FRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1084
		end
1085
	end))
1086
	for i=0, 0.2, 0.1 / Animation_Speed do
1087
		Swait()
1088
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
1089
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1090
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1091
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1092
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1093
	end
1094
	FORCEWINGS = false
1095
	ATTACK = false
1096
	Rooted = false
1097
end
1098
function C()
1099
	FORCEWINGS = true
1100
	ATTACK = true
1101
	for i=0, 1, 0.1 / Animation_Speed do
1102
		Swait()
1103
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1104
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1105
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1106
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1107
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1108
	end
1109
	Rooted = true
1110-
	local Orb = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Orb", VT(0,0,0))
1110+
	local Orb = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Orb", VT(0,0,0))
1111
	MakeForm(Orb,"Ball")
1112
	Orb.CFrame = Blade.CFrame*CF(0,2.25,0)
1113
	for i = 1, 35 do
1114
		Swait()
1115
		Orb.CFrame = Blade.CFrame*CF(0,2.25,0)
1116
		Orb.Size = Orb.Size + VT(0.05,0.05,0.05)
1117
	end
1118-
	local MAIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Beam", VT(0,0,0))
1118+
	local MAIN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Beam", VT(0,0,0))
1119
	MakeForm(MAIN,"Cyl")
1120
	for i = 1, 200 do
1121
		Swait()
1122
		local AIMHIT,AIMPOS = CastProperRay(Orb.Position,Mouse.Hit.p,750,Character)
1123
		local DISTANCE = (Orb.Position - AIMPOS).Magnitude
1124
		MAIN.CFrame = CF(Orb.Position,AIMPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0))
1125
		MAIN.Size = VT(0.7,DISTANCE,0.7)
1126
		ApplyAoE(AIMPOS,3,35,65,35,20)
1127
	end
1128
	MAIN:remove()
1129
	ATTACK = false
1130
	Rooted = false
1131
	FORCEWINGS = false
1132
	for i = 1, 35 do
1133
		Swait()
1134
		Orb.Size = Orb.Size - VT(0.05,0.05,0.05)
1135
	end
1136
	Orb:remove()
1137
end
1138
function V()
1139
	FORCEWINGS = true
1140
	ATTACK = true
1141
	Rooted = true
1142
	local AREAS = {}
1143
	for i = 1, 15 do
1144
		local AREA = CF(RootPart.Position)* ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(6,35)).p
1145
		local HITFLOOR,HITPOS = CastProperRay(AREA+VT(0,35,0), AREA-VT(0,35,0), 65, Character)
1146
		if HITFLOOR then
1147
			table.insert(AREAS,HITPOS)
1148
		end
1149
	end
1150
	for E = 1, 35 do
1151
		Swait()
1152
		for i = 1, #AREAS do
1153
			WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,1,5), Size2 = VT(5,1,5), Transparency = 0.5, Transparency2 = 1, CFrame = CF(AREAS[i]) * ANGLES(RAD(0), RAD(E), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1154
		end
1155
		--LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.85) * ANGLES(RAD(0), RAD(65), RAD(0)), 0.75 / Animation_Speed)
1156
		--RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.85) * ANGLES(RAD(0), RAD(-65), RAD(0)), 0.75 / Animation_Speed)
1157
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
1158
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed)
1159
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1160
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1161
	end	
1162
	for E = 1, 12 do
1163
		Swait()
1164
		for i = 1, #AREAS do
1165
			WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,1,5), Size2 = VT(5,1,5), Transparency = 0.5, Transparency2 = 1, CFrame = CF(AREAS[i]) * ANGLES(RAD(0), RAD(E+35), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1166
		end
1167
		--LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed)
1168
		--RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed)
1169
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1170
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1171
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1172
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1173
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1174
	end
1175
	for i = 1, #AREAS do
1176
		ApplyAoE(AREAS[i],15,45,55,35,20)
1177-
		Lightning({Color = BRICKC"New Yeller".Color, Start = AREAS[i], End = AREAS[i]+VT(0,100,0), SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = workspace, MaxDist = 30, Branches = false})
1177+
		Lightning({Color = BRICKC"Bright red".Color, Start = AREAS[i], End = AREAS[i]+VT(0,100,0), SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = workspace, MaxDist = 30, Branches = false})
1178
		Lightning({Color = RWING.Color, Start = AREAS[i], End = AREAS[i]+VT(0,100,0), SegmentL = 2, Thickness = 0.3, DoesFade = true, Ignore = workspace, MaxDist = 35, Branches = false})
1179
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(9,5,9), Transparency = 0, Transparency2 = 1, CFrame = CF(AREAS[i]), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = 1537955136, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2})
1180
	end
1181
	for i=0, 0.5, 0.1 / Animation_Speed do
1182
		Swait()
1183
		--LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed)
1184
		--RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed)
1185
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1186
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1187
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1188
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1189
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1190
	end
1191
	FORCEWINGS = false
1192
	ATTACK = false
1193
	Rooted = false
1194
end
1195
function G()
1196
	ATTACK = true
1197
	Rooted = true
1198
	FORCEWINGS = true
1199
	CreateSound(1537955136, Torso, 5, 1, false)
1200
	for i=1, 15 do
1201
		Swait()
1202
		RootPart.CFrame = RootPart.CFrame * CF(0,0,0.8)
1203
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+i/15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
1204
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
1205
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1206
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1207
	end
1208
	for i=0, 0.3, 0.1 / Animation_Speed do
1209
		Swait()
1210
		RootPart.CFrame = RootPart.CFrame * CF(0,0,0.015)
1211
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
1212
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
1213
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1214
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1215
	end
1216
	for i=0, 1, 0.1 / Animation_Speed do
1217
		Swait()
1218
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1219
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1220
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1221
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1222
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1223
	end
1224
	CreateSound(1537955679, Blade, 7, 0.7, false)
1225
	for i=0, 0.4, 0.1 / Animation_Speed do
1226
		Swait()
1227
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
1228
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1229
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1230
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1231
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1232
	end
1233-
	local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Tornado", VT(5,45/2,5))
1233+
	local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Bright red", "Tornado", VT(5,45/2,5))
1234
	MakeForm(TORNADOBASE,"Ball")
1235
	TORNADOBASE.Mesh.Scale = VT(1,8,1)
1236-
	local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Tornado", VT(0,0,0))
1236+
	local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "Bright red", "Tornado", VT(0,0,0))
1237
	CreateMesh("SpecialMesh", SWIRL, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
1238-
	local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Tornado", VT(0,0,0))
1238+
	local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "Bright red", "Tornado", VT(0,0,0))
1239
	CreateMesh("SpecialMesh", SWIRL2, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
1240
	CreateSound(415700134, TORNADOBASE, 3, 0.5, true)
1241
	coroutine.resume(coroutine.create(function()
1242
		local FRAME = RootPart.CFrame*CF(0,-5,-0.5)
1243
		for E = 1, 185 do
1244
			Swait()
1245
			FRAME = FRAME * CF(0,0,-0.8)
1246
			TORNADOBASE.CFrame = FRAME*CF(0,TORNADOBASE.Size.Y/2,0)
1247
			SWIRL.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(E*5), RAD(0))
1248
			SWIRL2.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(-E*15), RAD(0))
1249
			for i = 1, math.ceil(TORNADOBASE.Size.Y/6) do
1250
				ApplyAoE(TORNADOBASE.CFrame*CF(0,TORNADOBASE.Size.Y/2,0)*CF(0,-i*6,0).p,8,2,2,-35,0)
1251
			end
1252
			WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(10,8,10), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(FRAME.p) * ANGLES(RAD(0), RAD(E*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = TORNADOBASE.Color, SoundID = nil, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2})
1253
		end
1254
		for i = 1, 15 do
1255
			Swait()
1256
			TORNADOBASE.Transparency = i/15
1257
			SWIRL.Transparency = i/15
1258
			SWIRL2.Transparency = i/15
1259
			SWIRL.CFrame = SWIRL.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0))
1260
			SWIRL2.CFrame = SWIRL2.CFrame * ANGLES(RAD(0), RAD(-i*15), RAD(0))
1261
		end
1262
		TORNADOBASE:remove()
1263
		SWIRL:remove()
1264
		SWIRL2:remove()
1265
	end))
1266
	for i=0, 0.2, 0.1 / Animation_Speed do
1267
		Swait()
1268
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
1269
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1270
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1271
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1272
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1273
	end
1274
	FORCEWINGS = false
1275
	ATTACK = false
1276
	Rooted = false
1277
end
1278
1279
--//=================================\\
1280
--||	  ASSIGN THINGS TO KEYS
1281
--\\=================================//
1282
1283
function MouseDown(Mouse)
1284
	if ATTACK == false then
1285
	end
1286
end
1287
1288
function MouseUp(Mouse)
1289
HOLD = false
1290
end
1291
1292
function KeyDown(Key)
1293
	KEYHOLD = true
1294
	if Key == "z" and ATTACK == false then
1295
		Z()
1296
	end
1297
1298
	if Key == "b" and ATTACK == false then
1299
		B()
1300
	end
1301
1302
	if Key == "c" and ATTACK == false then
1303
		C()
1304
	end
1305
1306
	if Key == "v" and ATTACK == false then
1307
		V()
1308
	end
1309
1310
	if Key == "g" and ATTACK == false then
1311
		G()
1312
	end
1313
1314
	if Key == "x" and ATTACK == false then
1315
		X()
1316
	end
1317
end
1318
1319
function KeyUp(Key)
1320
	KEYHOLD = false
1321
end
1322
1323
	Mouse.Button1Down:connect(function(NEWKEY)
1324
		MouseDown(NEWKEY)
1325
	end)
1326
	Mouse.Button1Up:connect(function(NEWKEY)
1327
		MouseUp(NEWKEY)
1328
	end)
1329
	Mouse.KeyDown:connect(function(NEWKEY)
1330
		KeyDown(NEWKEY)
1331
	end)
1332
	Mouse.KeyUp:connect(function(NEWKEY)
1333
		KeyUp(NEWKEY)
1334
	end)
1335
1336
--//=================================\\
1337
--\\=================================//
1338
1339
1340
function unanchor()
1341
	if UNANCHOR == true then
1342
		g = Character:GetChildren()
1343
		for i = 1, #g do
1344
			if g[i].ClassName == "Part" then
1345
				g[i].Anchored = false
1346
			end
1347
		end
1348
	end
1349
end
1350
1351
1352
--//=================================\\
1353
--||	WRAP THE WHOLE SCRIPT UP
1354
--\\=================================//
1355
1356
Humanoid.Changed:connect(function(Jump)
1357
	if Jump == "Jump" and (Disable_Jump == true) then
1358
		Humanoid.Jump = false
1359
	end
1360
end)
1361
1362
while true do
1363
	Swait()
1364
	script.Parent = WEAPONGUI
1365
	ANIMATE.Parent = nil
1366
	if Humanoid then
1367
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1368
		IDLEANIMATION:Play()
1369
	end
1370
	SINE = SINE + CHANGE*2
1371
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1372
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1373
	if ATTACK == false then
1374
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1375
		if TORSOVELOCITY < 1 then
1376
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.75 / Animation_Speed)
1377
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(35)), 0.75 / Animation_Speed)
1378
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(5 - 5 * COS(SINE / 12)), RAD(-35), RAD(12 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1379
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1380
		elseif TORSOVELOCITY > 1 then
1381
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1382
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.75 / Animation_Speed)
1383
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1384
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(-35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
1385
		end
1386
	end
1387
	if FORCEWINGS == true or ATTACK == false then
1388
		LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.7 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(12 * COS(SINE / 12)), RAD(45), RAD(0)), 0.75 / Animation_Speed)
1389
		RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.7 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(12 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.75 / Animation_Speed)
1390
	end
1391
	RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.7, -0.4) * ANGLES(RAD(-25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1392
	LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.7, -0.4) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1393
	unanchor()
1394
	Humanoid.MaxHealth = "inf"
1395
	Humanoid.Health = "inf"
1396
	if Rooted == false then
1397
		Disable_Jump = false
1398
		Humanoid.WalkSpeed = Speed
1399
	elseif Rooted == true then
1400
		Disable_Jump = true
1401
		Humanoid.WalkSpeed = 0
1402
	end
1403
	sick.SoundId = "rbxassetid://152000442"
1404
	sick.Looped = true
1405
	sick.Pitch = 1
1406
	sick.Volume = 1
1407
	sick.Parent = Torso
1408
	sick:Resume()
1409
	if VALUE1 == false then
1410
		VALUE1 = true
1411
		coroutine.resume(coroutine.create(function()
1412
			Intro()
1413
		end))
1414
	end
1415
	for _, c in pairs(Character:GetChildren()) do
1416
		if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1417
			c:remove()
1418
		end
1419
	end
1420
	Humanoid.Name = "Galacta "..Player.Name
1421
end
1422
1423
--//=================================\\
1424
--\\=================================//
1425
1426
1427
1428
1429
1430
--//====================================================\\--
1431
--||			  		 END OF SCRIPT
1432
--\\====================================================//--