View difference between Paste ID: tgdwEDhB and b56w6yPy
SHOW: | | - or go back to the newest paste.
1
--Converted with ttyyuu12345's model to script plugin v4
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
BillboardGui3 = Instance.new("BillboardGui")
22
TextLabel4 = Instance.new("TextLabel")
23
TextLabel5 = Instance.new("TextLabel")
24
ParticleEmitter6 = Instance.new("ParticleEmitter")
25
LocalScript7 = Instance.new("LocalScript")
26
NumberValue8 = Instance.new("NumberValue")
27
NumberValue9 = Instance.new("NumberValue")
28
BoolValue10 = Instance.new("BoolValue")
29
ParticleEmitter11 = Instance.new("ParticleEmitter")
30
ParticleEmitter12 = Instance.new("ParticleEmitter")
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
Part21 = Instance.new("Part")
40
SpecialMesh22 = Instance.new("SpecialMesh")
41
Folder23 = Instance.new("Folder")
42
CharacterMesh24 = Instance.new("CharacterMesh")
43
CharacterMesh25 = Instance.new("CharacterMesh")
44
CharacterMesh26 = Instance.new("CharacterMesh")
45
CharacterMesh27 = Instance.new("CharacterMesh")
46
CharacterMesh28 = Instance.new("CharacterMesh")
47
Part29 = Instance.new("Part")
48
SpecialMesh30 = Instance.new("SpecialMesh")
49
LocalScript0.Name = "SearingEmperor"
50
LocalScript0.Parent = mas
51
table.insert(cors,sandbox(LocalScript0,function()
52
--//====================================================\\--
53
--||			   CREATED BY SHACKLUSTER
54
--\\====================================================//--
55
56
wait(1)
57
58
Player = game:GetService("Players").LocalPlayer
59
PlayerGui = Player.PlayerGui
60
Cam = workspace.CurrentCamera
61
Backpack = Player.Backpack
62
repeat wait() until Player.Character
63
Character = Player.Character
64
repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
65
Humanoid = Character:FindFirstChildOfClass("Humanoid")
66
Mouse = Player:GetMouse()
67
RootPart = Character["HumanoidRootPart"]
68
Torso = Character["Torso"]
69
Head = Character["Head"]
70
RightArm = Character["Right Arm"]
71
LeftArm = Character["Left Arm"]
72
RightLeg = Character["Right Leg"]
73
LeftLeg = Character["Left Leg"]
74
RootJoint = RootPart["RootJoint"]
75
Neck = Torso["Neck"]
76
RightShoulder = Torso["Right Shoulder"]
77
LeftShoulder = Torso["Left Shoulder"]
78
RightHip = Torso["Right Hip"]
79
LeftHip = Torso["Left Hip"]
80
81
IT = Instance.new
82
CF = CFrame.new
83
VT = Vector3.new
84
RAD = math.rad
85
C3 = Color3.new
86
UD2 = UDim2.new
87
BRICKC = BrickColor.new
88
ANGLES = CFrame.Angles
89
EULER = CFrame.fromEulerAnglesXYZ
90
COS = math.cos
91
ACOS = math.acos
92
SIN = math.sin
93
ASIN = math.asin
94
ABS = math.abs
95
MRANDOM = math.random
96
FLOOR = math.floor
97
98
--//=================================\\
99
--|| 	      USEFUL VALUES
100
--\\=================================//
101
102
Animation_Speed = 3
103
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
104
local Speed = 16
105
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
106
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
107
local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
108
local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
109
local DAMAGEMULTIPLIER = 1
110
local ANIM = "Idle"
111
local ATTACK = false
112
local EQUIPPED = false
113
local HOLD = false
114
local COMBO = 1
115
local Rooted = false
116
local SINE = 0
117
local KEYHOLD = false
118
local CHANGE = 2 / Animation_Speed
119
local WALKINGANIM = false
120
local VALUE1 = false
121
local VALUE2 = false
122
local ROBLOXIDLEANIMATION = IT("Animation")
123
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
124
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
125
--ROBLOXIDLEANIMATION.Parent = Humanoid
126
local WEAPONGUI = IT("ScreenGui", PlayerGui)
127
WEAPONGUI.Name = "Weapon GUI"
128
local Effects = IT("Folder", Character)
129
Effects.Name = "Effects"
130
local SpecialEffects = IT("Folder", Character)
131
SpecialEffects.Name = "SpecialEffects"
132
local ANIMATOR = Humanoid.Animator
133
local ANIMATE = Character.Animate
134
local UNANCHOR = true
135
local REGENRATE = 1
136
local FULLREGEN = false
137
local POSEIDON = false
138
local EXPLOSIONSMALLSOUND = 439342426
139
local EXPLOSIONMEDIUMSOUND = 605005842
140
local EXPLOSIONLARGESOUND = 565538688
141
local CHARGE = 278641993
142
local POSEIDONSOUND = 374289727
143
local FIREBALLSOUND = 414517770
144
local BURNSOUND = 565777213
145
local FIREFIELD = false
146
local SEARING = false
147
local BODYPOS = nil
148
local GYRO = nil
149
local DIRECTTURN = false
150
local APPLYGYRO = true
151
local SONGS = {448290268,285883918,562367125,720006240,1604593557,306586318}
152
local CHOSENSONG = MRANDOM(1,#SONGS)
153
154
--//=================================\\
155
--\\=================================//
156
157
158
--//=================================\\
159
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
160
--\\=================================//
161
162
ArtificialHB = Instance.new("BindableEvent", script)
163
ArtificialHB.Name = "ArtificialHB"
164
165
script:WaitForChild("ArtificialHB")
166
167
frame = Frame_Speed
168
tf = 0
169
allowframeloss = false
170
tossremainder = false
171
lastframe = tick()
172
script.ArtificialHB:Fire()
173
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
194
--//=================================\\
195
--\\=================================//
196
197
--//=================================\\
198
--|| 	      SOME FUNCTIONS
199
--\\=================================//
200
201
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
202
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
203
end
204
205
function PositiveAngle(NUMBER)
206
	if NUMBER >= 0 then
207
		NUMBER = 0
208
	end
209
	return NUMBER
210
end
211
212
function NegativeAngle(NUMBER)
213
	if NUMBER <= 0 then
214
		NUMBER = 0
215
	end
216
	return NUMBER
217
end
218
219
function Swait(NUMBER)
220
	if NUMBER == 0 or NUMBER == nil then
221
		ArtificialHB.Event:wait()
222
	else
223
		for i = 1, NUMBER do
224
			ArtificialHB.Event:wait()
225
		end
226
	end
227
end
228
229
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
230
	local NEWMESH = IT(MESH)
231
	if MESH == "SpecialMesh" then
232
		NEWMESH.MeshType = MESHTYPE
233
		if MESHID ~= "nil" and MESHID ~= "" then
234
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
235
		end
236
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
237
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
238
		end
239
	end
240
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
241
	NEWMESH.Scale = SCALE
242
	NEWMESH.Parent = PARENT
243
	return NEWMESH
244
end
245
246
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
247
	local NEWPART = IT("Part")
248
	NEWPART.formFactor = FORMFACTOR
249
	NEWPART.Reflectance = REFLECTANCE
250
	NEWPART.Transparency = TRANSPARENCY
251
	NEWPART.CanCollide = false
252
	NEWPART.Locked = true
253
	NEWPART.Anchored = true
254
	if ANCHOR == false then
255
		NEWPART.Anchored = false
256
	end
257
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
258
	NEWPART.Name = NAME
259
	NEWPART.Size = SIZE
260
	NEWPART.Position = Torso.Position
261
	NEWPART.Material = MATERIAL
262
	NEWPART:BreakJoints()
263
	NEWPART.Parent = PARENT
264
	return NEWPART
265
end
266
267
	local function weldBetween(a, b)
268
	    local weldd = Instance.new("ManualWeld")
269
	    weldd.Part0 = a
270
	    weldd.Part1 = b
271
	    weldd.C0 = CFrame.new()
272
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
273
	    weldd.Parent = a
274
	    return weldd
275
	end
276
277
278
function QuaternionFromCFrame(cf)
279
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
280
	local trace = m00 + m11 + m22
281
	if trace > 0 then 
282
		local s = math.sqrt(1 + trace)
283
		local recip = 0.5 / s
284
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
285
	else
286
		local i = 0
287
		if m11 > m00 then
288
			i = 1
289
		end
290
		if m22 > (i == 0 and m00 or m11) then
291
			i = 2
292
		end
293
		if i == 0 then
294
			local s = math.sqrt(m00 - m11 - m22 + 1)
295
			local recip = 0.5 / s
296
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
297
		elseif i == 1 then
298
			local s = math.sqrt(m11 - m22 - m00 + 1)
299
			local recip = 0.5 / s
300
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
301
		elseif i == 2 then
302
			local s = math.sqrt(m22 - m00 - m11 + 1)
303
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
304
		end
305
	end
306
end
307
 
308
function QuaternionToCFrame(px, py, pz, x, y, z, w)
309
	local xs, ys, zs = x + x, y + y, z + z
310
	local wx, wy, wz = w * xs, w * ys, w * zs
311
	local xx = x * xs
312
	local xy = x * ys
313
	local xz = x * zs
314
	local yy = y * ys
315
	local yz = y * zs
316
	local zz = z * zs
317
	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))
318
end
319
 
320
function QuaternionSlerp(a, b, t)
321
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
322
	local startInterp, finishInterp;
323
	if cosTheta >= 0.0001 then
324
		if (1 - cosTheta) > 0.0001 then
325
			local theta = ACOS(cosTheta)
326
			local invSinTheta = 1 / SIN(theta)
327
			startInterp = SIN((1 - t) * theta) * invSinTheta
328
			finishInterp = SIN(t * theta) * invSinTheta
329
		else
330
			startInterp = 1 - t
331
			finishInterp = t
332
		end
333
	else
334
		if (1 + cosTheta) > 0.0001 then
335
			local theta = ACOS(-cosTheta)
336
			local invSinTheta = 1 / SIN(theta)
337
			startInterp = SIN((t - 1) * theta) * invSinTheta
338
			finishInterp = SIN(t * theta) * invSinTheta
339
		else
340
			startInterp = t - 1
341
			finishInterp = t
342
		end
343
	end
344
	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
345
end
346
347
function Clerp(a, b, t)
348
	local qa = {QuaternionFromCFrame(a)}
349
	local qb = {QuaternionFromCFrame(b)}
350
	local ax, ay, az = a.x, a.y, a.z
351
	local bx, by, bz = b.x, b.y, b.z
352
	local _t = 1 - t
353
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
354
end
355
356
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
357
	local frame = IT("Frame")
358
	frame.BackgroundTransparency = TRANSPARENCY
359
	frame.BorderSizePixel = BORDERSIZEPIXEL
360
	frame.Position = POSITION
361
	frame.Size = SIZE
362
	frame.BackgroundColor3 = COLOR
363
	frame.BorderColor3 = BORDERCOLOR
364
	frame.Name = NAME
365
	frame.Parent = PARENT
366
	return frame
367
end
368
369
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
370
	local label = IT("TextLabel")
371
	label.BackgroundTransparency = 1
372
	label.Size = UD2(1, 0, 1, 0)
373
	label.Position = UD2(0, 0, 0, 0)
374
	label.TextColor3 = TEXTCOLOR
375
	label.TextStrokeTransparency = STROKETRANSPARENCY
376
	label.TextTransparency = TRANSPARENCY
377
	label.FontSize = TEXTFONTSIZE
378
	label.Font = TEXTFONT
379
	label.BorderSizePixel = BORDERSIZEPIXEL
380
	label.TextScaled = false
381
	label.Text = TEXT
382
	label.Name = NAME
383
	label.Parent = PARENT
384
	return label
385
end
386
387
function NoOutlines(PART)
388
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
389
end
390
391
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
392
	local NEWWELD = IT(TYPE)
393
	NEWWELD.Part0 = PART0
394
	NEWWELD.Part1 = PART1
395
	NEWWELD.C0 = C0
396
	NEWWELD.C1 = C1
397
	NEWWELD.Parent = PARENT
398
	return NEWWELD
399
end
400
401
local S = IT("Sound")
402
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
403
	local NEWSOUND = nil
404
	coroutine.resume(coroutine.create(function()
405
		NEWSOUND = S:Clone()
406
		NEWSOUND.Parent = PARENT
407
		NEWSOUND.Volume = VOLUME
408
		NEWSOUND.Pitch = PITCH
409
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
410
		NEWSOUND:play()
411
		if DOESLOOP == true then
412
			NEWSOUND.Looped = true
413
		else
414
			repeat wait(1) until NEWSOUND.Playing == false
415
			NEWSOUND:remove()
416
		end
417
	end))
418
	return NEWSOUND
419
end
420
421
function CFrameFromTopBack(at, top, back)
422
	local right = top:Cross(back)
423
	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)
424
end
425
426
--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})
427
function WACKYEFFECT(Table)
428
	local TYPE = (Table.EffectType or "Sphere")
429
	local SIZE = (Table.Size or VT(1,1,1))
430
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
431
	local TRANSPARENCY = (Table.Transparency or 0)
432
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
433
	local CFRAME = (Table.CFrame or Torso.CFrame)
434
	local MOVEDIRECTION = (Table.MoveToPos or nil)
435
	local ROTATION1 = (Table.RotationX or 0)
436
	local ROTATION2 = (Table.RotationY or 0)
437
	local ROTATION3 = (Table.RotationZ or 0)
438
	local MATERIAL = (Table.Material or "Neon")
439
	local COLOR = (Table.Color or C3(1,1,1))
440
	local TIME = (Table.Time or 45)
441
	local SOUNDID = (Table.SoundID or nil)
442
	local SOUNDPITCH = (Table.SoundPitch or nil)
443
	local SOUNDVOLUME = (Table.SoundVolume or nil)
444
	coroutine.resume(coroutine.create(function()
445
		local PLAYSSOUND = false
446
		local SOUND = nil
447
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
448
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
449
			PLAYSSOUND = true
450
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
451
		end
452
		EFFECT.Color = COLOR
453
		local MSH = nil
454
		if TYPE == "Sphere" then
455
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
456
		elseif TYPE == "Block" then
457
			MSH = IT("BlockMesh",EFFECT)
458
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
459
		elseif TYPE == "Wave" then
460
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
461
		elseif TYPE == "Ring" then
462
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
463
		elseif TYPE == "Slash" then
464
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
465
		elseif TYPE == "Round Slash" then
466
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
467
		elseif TYPE == "Swirl" then
468
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
469
		elseif TYPE == "Skull" then
470
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
471
		elseif TYPE == "Crystal" then
472
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
473
		end
474
		if MSH ~= nil then
475
			local MOVESPEED = nil
476
			if MOVEDIRECTION ~= nil then
477
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
478
			end
479
			local GROWTH = SIZE - ENDSIZE
480
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
481
			if TYPE == "Block" then
482
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
483
			else
484
				EFFECT.CFrame = CFRAME
485
			end
486
			for LOOP = 1, TIME+1 do
487
				Swait()
488
				MSH.Scale = MSH.Scale - GROWTH/TIME
489
				if TYPE == "Wave" then
490
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
491
				end
492
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
493
				if TYPE == "Block" then
494
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
495
				else
496
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
497
				end
498
				if MOVEDIRECTION ~= nil then
499
					local ORI = EFFECT.Orientation
500
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
501
					EFFECT.Orientation = ORI
502
				end
503
			end
504
			if PLAYSSOUND == false then
505
				EFFECT:remove()
506
			else
507
				repeat Swait() until SOUND.Playing == false
508
				EFFECT:remove()
509
			end
510
		else
511
			if PLAYSSOUND == false then
512
				EFFECT:remove()
513
			else
514
				repeat Swait() until SOUND.Playing == false
515
				EFFECT:remove()
516
			end
517
		end
518
	end))
519
end
520
521
function MakeForm(PART,TYPE)
522
	if TYPE == "Cyl" then
523
		local MSH = IT("CylinderMesh",PART)
524
	elseif TYPE == "Ball" then
525
		local MSH = IT("SpecialMesh",PART)
526
		MSH.MeshType = "Sphere"
527
	elseif TYPE == "Wedge" then
528
		local MSH = IT("SpecialMesh",PART)
529
		MSH.MeshType = "Wedge"
530
	end
531
end
532
533
Debris = game:GetService("Debris")
534
535
function CastProperRay(StartPos, EndPos, Distance, Ignore)
536
	local DIRECTION = CF(StartPos,EndPos).lookVector
537
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
538
end
539
540
function Particles(Which,Parent,Enabled)
541
	if script:FindFirstChild(Which) then
542
		local PARTICLES = script:FindFirstChild(Which):Clone()
543
		PARTICLES.Parent = Parent
544
		PARTICLES.Name = "CurseParticles"
545
		if Enabled ~= true then	
546
			PARTICLES:Emit(Enabled)
547
			Debris:AddItem(PARTICLES,10)
548
		else
549
			PARTICLES.Enabled = true
550
			return PARTICLES
551
		end
552
	end
553
end
554
555
--//=================================\\
556
--||	     WEAPON CREATION
557
--\\=================================//
558
559
local GUI = script.NameGui
560
GUI.Parent = RootPart
561
GUI.PlayerToHideFrom = Player
562
Humanoid.DisplayDistanceType = "None"
563
GUI.Enabled = true
564
local Pauldrons = script.Pauldrons
565
Pauldrons.Parent = Character
566
Pauldrons.CFrame = Torso.CFrame
567
local WELD = weldBetween(Torso,Pauldrons)
568
Pauldrons.Anchored = false
569
Pauldrons.Transparency = 0
570
local FLINTLOCK = script.Flintlock
571
FLINTLOCK.Parent = Character
572
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, FLINTLOCK, CF(1,-1.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
573
574
local REGENSOUND = 487215897
575
for _, c in pairs(Character:GetDescendants()) do
576
	if c and c.Parent then
577
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
578
			local ACCESSORY = c.Parent
579
			c.Parent = Character
580
			if c then
581
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
582
					weldBetween(Head,c)
583
				else
584
					weldBetween(Torso,c)
585
				end
586
			end
587
			ACCESSORY:remove()
588
		end
589
	end
590
end
591
wait()
592
local BODY = {}
593
for _, c in pairs(Character:GetDescendants()) do
594
	if c:IsA("BasePart") then
595
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
596
		end
597
		local REGENVALUE = IT("BoolValue",c)
598
		REGENVALUE.Name = "IsRegening"
599
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
600
	elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
601
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
602
	end
603
end
604
function FullBodyRegen()
605
	if FULLREGEN == false then
606
		FULLREGEN = true
607
		Character.Parent = workspace
608
		GUI.Enabled = false
609
		CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
610
		UNANCHOR = false
611
		for e = 1, #BODY do
612
			if BODY[e] ~= nil then
613
				local STUFF = BODY[e]
614
				local PART = STUFF[1]
615
				local PARENT = STUFF[2]
616
				local MATERIAL = STUFF[3]
617
				local COLOR = STUFF[4]
618
				local TRANSPARENCY = STUFF[5]
619
				--local SIZE = STUFF[6]
620
				local NAME = STUFF[7]
621
				local VALUE = STUFF[8]
622
				PART.Parent = PARENT
623
				Humanoid.MaxHealth = "inf"
624
				Humanoid.Health = "inf"
625
				Humanoid.Parent = nil
626
				Humanoid = IT("Humanoid",Character)
627
				Humanoid.Died:Connect(FullBodyRegen)
628
				PART.Parent = PARENT
629
				if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
630
				VALUE.Value = true
631
				coroutine.resume(coroutine.create(function()
632
					PART.Transparency = 1
633
					CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
634
					local REGEN = script.Regen:Clone()
635
					REGEN.Parent = PART
636
					REGEN.Speed = NumberRange.new(30)
637
					REGEN:Emit(100)
638
					local REGENING = script.Regen2:Clone()
639
					REGENING.Parent = PART
640
					REGENING.Enabled = true
641
					REGENING.Speed = NumberRange.new(35)
642
					wait()
643
					local RANGE = 35
644
					for i = 1, math.ceil(REGENRATE*25) do
645
						wait()
646
						ApplyAoE(PART.Position,6,1,1,0,false)
647
						REGENING.Speed = NumberRange.new(RANGE)
648
						RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
649
					end
650
					REGEN.Speed = NumberRange.new(6)
651
					REGEN:Emit(60)
652
					wait(REGENRATE/3)
653
					RootPart.Velocity = VT(0,0,0)
654
					UNANCHOR = true
655
					GUI.Enabled = true
656
					PART.Transparency = 0
657
					REGEN.Rate = 50
658
					REGEN.Enabled = true
659
					REGENING.Enabled = false
660
					wait(REGENRATE/1.5)
661
					VALUE.Value = false
662
					Debris:AddItem(REGENING,5)
663
					FULLREGEN = false
664
					REGEN.Enabled = false
665
					Debris:AddItem(REGEN,5)
666
				end))
667
				end
668
			end
669
		end
670
	end
671
end
672
function Regen()
673
	Character.Parent = workspace
674
	for e = 1, #BODY do
675
		if BODY[e] ~= nil then
676
			local STUFF = BODY[e]
677
			local PART = STUFF[1]
678
			local PARENT = STUFF[2]
679
			local MATERIAL = STUFF[3]
680
			local COLOR = STUFF[4]
681
			local TRANSPARENCY = STUFF[5]
682
			--local SIZE = STUFF[6]
683
			local NAME = STUFF[7]
684
			local VALUE = STUFF[8]
685
			if PART.ClassName == "Part" and PART ~= RootPart then
686
				PART.Material = MATERIAL
687
				PART.Name = NAME
688
			end
689
			if PART.Parent ~= PARENT then
690
				PART.Parent = PARENT
691
				if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
692
					if VALUE.Value == false then
693
						VALUE.Value = true
694
						coroutine.resume(coroutine.create(function()
695
							PART.Transparency = 1
696
							wait(REGENRATE)
697
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
698
							local REGENING = script.Regen:Clone()
699
							REGENING.Parent = PART
700
							REGENING.Enabled = true
701
							for i = 1, math.ceil(REGENRATE*10) do
702
								wait()
703
								ApplyAoE(PART.Position,6,1,1,0,false)
704
							end
705
							wait(REGENRATE)	
706
							PART.Transparency = 0
707
							wait(REGENRATE/5)	
708
							REGENING.Enabled = false
709
							VALUE.Value = false
710
							Debris:AddItem(REGENING,5)
711
						end))
712
					end
713
				elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
714
					local VALUE = PARENT.IsRegening	
715
					if VALUE == false then
716
						VALUE.Value = true
717
						local PART = PART.Part1
718
						coroutine.resume(coroutine.create(function()
719
							PART.Transparency = 1
720
							wait(REGENRATE)
721
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
722
							local REGENING = script.Regen:Clone()
723
							REGENING.Parent = PART
724
							REGENING.Enabled = true
725
							for i = 1, math.ceil(REGENRATE*10) do
726
								wait()
727
								ApplyAoE(PART.Position,6,1,1,0,false)
728
							end
729
							wait(REGENRATE)		
730
							PART.Transparency = 0
731
							wait(REGENRATE/5)	
732
							REGENING.Enabled = false
733
							VALUE.Value = false
734
						end))	
735
					end
736
				end	
737
			end
738
		end
739
	end
740
end
741
742
for _, c in pairs(script.Package:GetChildren()) do
743
	c.Parent = Character
744
end
745
746
local b = IT("BodyForce",RootPart)
747
b.Name = "LowGrav"
748
b.force = Vector3.new(0,1500,0)
749
750
local SKILLTEXTCOLOR = C3(0,0,0)
751
local SKILLFONT = "Fantasy"
752
local SKILLTEXTSIZE = 7
753
754
local BACKATTACHMENT1 = IT("Attachment",Torso)
755
BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
756
local BACKATTACHMENT2 = IT("Attachment",Torso)
757
BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
758
759
Humanoid.Died:Connect(FullBodyRegen)
760
761
--//=================================\\
762
--||			DAMAGING
763
--\\=================================//
764
765
function ApplyDamage(Humanoid,Damage)
766
	if Humanoid.Health == math.huge then
767
		Humanoid.Parent:BreakJoints()
768
	else
769
		local MULTIPLY = Humanoid.MaxHealth/100
770
		Damage = Damage * DAMAGEMULTIPLIER
771
		if Humanoid.Health ~= 0 then
772
			Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
773
		end
774
	end
775
end
776
777
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
778
	local CHILDREN = workspace:GetDescendants()
779
	for index, CHILD in pairs(CHILDREN) do
780
		if CHILD.ClassName == "Model" and CHILD ~= Character then
781
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
782
			if HUM then
783
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
784
				if TORSO then
785
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
786
						if INSTAKILL == true or HUM.MaxHealth == math.huge then
787
							CHILD:BreakJoints()
788
						else
789
							local DMG = MRANDOM(MINDMG,MAXDMG)
790
							ApplyDamage(HUM,DMG)
791
						end
792
						if FLING > 0 then
793
							for _, c in pairs(CHILD:GetChildren()) do
794
								if c:IsA("BasePart") then
795
									local bv = Instance.new("BodyVelocity") 
796
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
797
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
798
									bv.Parent = c
799
									Debris:AddItem(bv,0.05)
800
								end
801
							end
802
						end
803
					end
804
				end
805
			end
806
		end
807
	end
808
end
809
810
--//=================================\\
811
--||	ATTACK FUNCTIONS AND STUFF
812
--\\=================================//
813
814
function Fireball()
815
	ATTACK = true
816
	Rooted = true
817
	local GYRO = IT("BodyGyro",RootPart)
818
	GYRO.D = 20
819
	GYRO.P = 4000
820
	GYRO.MaxTorque = VT(40000,40000,40000)
821
	local POSITION = IT("BodyPosition",RootPart)
822
	POSITION.Position = RootPart.Position+VT(0,2,0)
823
	POSITION.D = 450
824
	POSITION.P = 40000
825
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
826
	local FIRE = Particles("FistFire",RightArm,true)
827
	CreateSound(CHARGE,RightArm,6,1,false)
828
	coroutine.resume(coroutine.create(function()
829
		repeat
830
			Swait()
831
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
832
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
833
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
834
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
835
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
836
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
837
			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)
838
		until ATTACK == false
839
		FIRE.LockedToPart = false
840
		FIRE.Enabled = false
841
		Debris:AddItem(FIRE,5)
842
		GYRO:remove()
843
		POSITION:remove()
844
	end))
845
	wait(1)
846
	repeat
847
		Particles("ExplosionFire1",RightArm,70)
848
		coroutine.resume(coroutine.create(function()
849
			local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(10,10,10))
850
			FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
851
			CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
852
			local FLAME = Particles("FireballFire1",FIREBALL,true)
853
			local FLAME2 = Particles("FireballFire2",FIREBALL,true)
854
			for i = 1, 250 do
855
				Swait()
856
				local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
857
				FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
858
				if HIT then
859
					Particles("ExplosionFire1",FIREBALL,600)
860
					ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
861
					for i = 1, 3 do
862
						WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
863
					end
864
					for i = 1, 3 do
865
						WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
866
					end
867
					for i = 1, 5 do
868
						WACKYEFFECT({Time = 80+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
869
					end
870
					break
871
				end
872
			end
873
			FLAME.Enabled = false
874
			FLAME2.Enabled = false
875
			Debris:AddItem(FIREBALL,7)
876
		end))
877
		wait(0.1)
878
	until KEYHOLD == false
879
	wait(0.2)
880
	ATTACK = false
881
	Rooted = false
882
end
883
884
function FireField()
885
	ATTACK = true
886
	Rooted = true
887
	local A = false
888
	local POSITION = IT("BodyPosition",RootPart)
889
	POSITION.Position = RootPart.Position+VT(0,2,0)
890
	POSITION.D = 450
891
	POSITION.P = 40000
892
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
893
	coroutine.resume(coroutine.create(function()
894
		repeat
895
			Swait()
896
			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(25)), 1 / Animation_Speed)
897
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
898
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.85, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
899
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
900
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
901
			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)), 1 / Animation_Speed)
902
		until A == true
903
		repeat
904
			Swait()
905
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
906
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
907
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
908
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
909
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
910
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
911
		until ATTACK == false
912
		POSITION:remove()
913
	end))
914
	local RANGE = 75
915
	local REGENING = script.Regen2:Clone()
916
	REGENING.Parent = Torso
917
	REGENING.Enabled = true
918
	REGENING.Rate = 900
919
	REGENING.Speed = NumberRange.new(RANGE)
920
	wait()
921
	for i = 1, 75 do
922
		wait()
923
		ApplyAoE(Torso.Position,6,1,1,0,false)
924
		REGENING.Speed = NumberRange.new(RANGE)
925
		RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
926
	end
927
	REGENING.Enabled = false
928
	wait(0.5)
929
	for i = 1, 6 do
930
		WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
931
	end
932
	CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
933
	A = true
934
	local FLAME = Particles("Field",Torso,true)
935
	FLAME.Size = NumberSequence.new(0,25)
936
	FIREFIELD = true
937
	local SOUND = CreateSound(BURNSOUND,Torso,10,1,true)
938
	coroutine.resume(coroutine.create(function()
939
		for i = 1, 20 do
940
			wait(1)
941
			SOUND.Parent = Torso
942
			SOUND.Playing = true
943
			ApplyAoE(Torso.Position,100,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
944
			for i = 1, 2 do
945
				WACKYEFFECT({Time = 20+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(30,30,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
946
			end
947
			if SEARING == true then
948
				break
949
			end
950
		end
951
		FIREFIELD = false
952
		FLAME.Enabled = false
953
		Debris:AddItem(FLAME,5)
954
		SOUND:remove()
955
	end))
956
	wait(1)
957
	ATTACK = false
958
	Rooted = false
959
end
960
961
function SearingForm()
962
	ATTACK = true
963
	Rooted = true
964
	local POSITION = IT("BodyPosition",RootPart)
965
	POSITION.Position = RootPart.Position+VT(0,2,0)
966
	POSITION.D = 450
967
	POSITION.P = 40000
968
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
969
	coroutine.resume(coroutine.create(function()
970
		repeat
971
			Swait()
972
			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(25)), 1 / Animation_Speed)
973
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
974
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.8, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
975
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
976
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
977
			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)), 1 / Animation_Speed)
978
		until ATTACK == false
979
	end))
980
	local FIRES = {}
981
	local RANGE = 75
982
	local REGENING = script.Regen2:Clone()
983
	REGENING.Parent = Torso
984
	REGENING.Enabled = true
985
	REGENING.Rate = 900
986
	REGENING.Speed = NumberRange.new(RANGE)
987
	wait()
988
	for i = 1, 75 do
989
		wait()
990
		ApplyAoE(Torso.Position,6,1,1,0,false)
991
		REGENING.Speed = NumberRange.new(RANGE)
992
		RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
993
	end
994
	REGENING.Enabled = false
995
	wait(0.5)
996
	for i = 1, 6 do
997
		WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
998
	end
999
	local BUSY = true
1000
	Particles("ExplosionFire1",Torso,100)
1001
	SEARING = true
1002
	local WING1 = Particles("WingFire1",BACKATTACHMENT1,true)
1003
	local WING2 = Particles("WingFire1",BACKATTACHMENT2,true)
1004
	coroutine.resume(coroutine.create(function()
1005
		coroutine.resume(coroutine.create(function()		
1006
			repeat 
1007
				wait(1)
1008
				ApplyAoE(Torso.Position,20,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1009
			until SEARING == false
1010
		end))
1011
		repeat 
1012
			Swait()
1013
			local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
1014
			local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
1015
			WING1.Acceleration = ACCEL1
1016
			WING2.Acceleration = ACCEL2
1017
			local HIT,HITPOS = Raycast(RootPart.Position, RootPart.CFrame.lookVector, 4, Character)
1018
			if HIT then
1019
				ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1020
				CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1021
				CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1022
				for i = 1, 3 do
1023
					WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1024
				end
1025
				for i = 1, 3 do
1026
					WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1027
				end
1028
				Particles("ExplosionFire1",Torso,600)
1029
				BUSY = false
1030
				break
1031
			end
1032
		until SEARING == false
1033
	end))
1034
	for _, c in pairs(Character:GetChildren()) do
1035
		if c:IsA("BasePart") then
1036
			local FLAME = Particles("BodyFire",c,true)
1037
			table.insert(FIRES,FLAME)
1038
		end
1039
	end
1040
	POSITION:remove()
1041
	wait()
1042
	ApplyAoE(Torso.Position,120,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1043
	CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1044
	ATTACK = false
1045
	Rooted = false
1046
	GYRO = IT("BodyGyro",RootPart)
1047
	GYRO.D = 20
1048
	GYRO.P = 4000
1049
	GYRO.MaxTorque = VT(0,40000,0)
1050
	BODYPOS = IT("BodyPosition",RootPart)
1051
	BODYPOS.Position = RootPart.Position+VT(0,2,0)
1052
	BODYPOS.D = 450
1053
	BODYPOS.P = 40000
1054
	BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1055
	local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
1056
		if NEWKEY == "c" and ATTACK == false then
1057
			BUSY = false
1058
		end
1059
	end)
1060
	local HUM = Humanoid.Died:Connect(function()
1061
		BUSY = false
1062
		ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1063
		CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1064
		CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1065
		for i = 1, 3 do
1066
			WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1067
		end
1068
		for i = 1, 3 do
1069
			WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1070
		end
1071
		Particles("ExplosionFire1",Torso,600)
1072
	end)
1073
	repeat wait() until BUSY == false
1074
	for i = 1, #FIRES do
1075
		FIRES[i].Enabled = false
1076
		Debris:AddItem(FIRES[i],5)
1077
	end
1078
	HUM:disconnect()
1079
	WING1.Enabled = false
1080
	WING2.Enabled = false
1081
	WING1.LockedToPart = false
1082
	WING2.LockedToPart = false
1083
	Debris:AddItem(WING1,5)
1084
	Debris:AddItem(WING2,5)
1085
	KEYDOWN:disconnect()
1086
	SEARING = false
1087
	GYRO:remove()
1088
	BODYPOS:remove()
1089
	FullBodyRegen()
1090
end
1091
1092
function SearingOrb()
1093
	ATTACK = true
1094
	Rooted = true
1095
	local POSITION = IT("BodyPosition",RootPart)
1096
	POSITION.Position = RootPart.Position+VT(0,2,0)
1097
	POSITION.D = 450
1098
	POSITION.P = 40000
1099
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1100
	local FIRE = Particles("FistFire",RightArm,true)
1101
	local FIRE2 = Particles("FistFire",LeftArm,true)
1102
	CreateSound(CHARGE,Torso,6,1,false)
1103
	local NEWANIM = false
1104
	coroutine.resume(coroutine.create(function()
1105
		repeat
1106
			Swait()
1107
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1108
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1109
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1110
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1111
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1112
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1113
		until ATTACK == false or NEWANIM == true
1114
		if NEWANIM == true then
1115
			local GYRO = IT("BodyGyro",RootPart)
1116
			GYRO.D = 20
1117
			GYRO.P = 4000
1118
			GYRO.MaxTorque = VT(40000,40000,40000)
1119
			repeat
1120
				Swait()
1121
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1122
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1123
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1124
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1125
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1126
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1127
				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)
1128
			until ATTACK == false
1129
			GYRO:remove()
1130
		end
1131
		POSITION:remove()
1132
		FIRE.LockedToPart = false
1133
		FIRE.Enabled = false
1134
		Debris:AddItem(FIRE,5)
1135
		FIRE2.LockedToPart = false
1136
		FIRE2.Enabled = false
1137
		Debris:AddItem(FIRE2,5)
1138
	end))
1139
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
1140
	MakeForm(ORB,"Ball")
1141
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
1142
	local A = IT("Attachment",ORB)
1143
	local FIRES = Particles("FireballFire1",A,true)
1144
	FIRES.Size = NumberSequence.new(0)
1145
	FIRES.LockedToPart = true
1146
	local LOOP = 0
1147
	for i = 1, 500 do
1148
		Swait()
1149
		LOOP = LOOP + 1
1150
		if LOOP >= 30 then
1151
			LOOP = 0
1152
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1153
		end
1154
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1155
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1156
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1157
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1158
		FIRES.Enabled = true
1159
	end
1160
	wait(1)
1161
	if KEYHOLD == false then
1162
		coroutine.resume(coroutine.create(function()
1163
			ORB.Transparency = 1
1164
			FIRES.Enabled = false
1165
			Debris:AddItem(ORB,10)
1166
			ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1167
			CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false)
1168
			CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false)
1169
			for i = 1, 3 do
1170
				WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1171
			end
1172
			for i = 1, 3 do
1173
				WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1174
			end
1175
			Particles("ExplosionFire1",ORB,1200)
1176
			for i = 1, 15 do
1177
				WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1178
			end
1179
		end))
1180
	else
1181
		for i = 1, 100 do
1182
			Swait()
1183
			ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5
1184
			ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1185
			FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1186
			FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1187
		end
1188
		ORB.Transparency = 1
1189
		FIRES.Enabled = false
1190
		Debris:AddItem(ORB,10)
1191
		CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1192
		for _, c in pairs(Character:GetChildren()) do
1193
			if c:IsA("BasePart") then
1194
				Particles("ExplosionFire2",c,25)
1195
			end
1196
		end
1197
		NEWANIM = true
1198
		wait(0.5)
1199
		for i = 1, 15 do
1200
			wait(0.1)
1201
			coroutine.resume(coroutine.create(function()
1202
				local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2,2,2))
1203
				FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
1204
				CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
1205
				local FLAME = Particles("FireballFire3",FIREBALL,true)
1206
				for i = 1, 250 do
1207
					Swait()
1208
					local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character)
1209
					FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
1210
					if HIT then
1211
						CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
1212
						local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Fire", VT(75,0,75), true)
1213
						local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Fire", VT(75,0,75), true)
1214
						FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1215
						FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0))
1216
						coroutine.resume(coroutine.create(function()
1217
							local FLAMES = Particles("DebrisFire",FIELD,true)
1218
							local FLAMES2 = Particles("DebrisFire",FIELD2,true)
1219
							for i = 1, 15 do
1220
								wait(1)
1221
								ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1222
							end
1223
							FLAMES.Enabled = false
1224
							FLAMES2.Enabled = false
1225
							Debris:AddItem(FIELD,5)
1226
							Debris:AddItem(FIELD2,5)
1227
						end))
1228
						Particles("ExplosionFire2",FIREBALL,600)
1229
						break
1230
					end
1231
				end
1232
				FLAME.Enabled = false
1233
				Debris:AddItem(FIREBALL,7)
1234
			end))
1235
		end
1236
	end
1237
	wait(0.3)
1238
	ATTACK = false
1239
	Rooted = false
1240
end
1241
1242
function Shroud()
1243
	if Mouse.Target ~= nil then
1244
		if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1245
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
1246
			local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1247
			if TORSO and HUM.Health > 0 then
1248
				local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
1249
				if DISTANCE < 100 then
1250
					ATTACK = true
1251
					POSEIDON = false
1252
					Rooted = true
1253
					local GYRO = IT("BodyGyro",RootPart)
1254
					GYRO.D = 20
1255
					GYRO.P = 4000
1256
					GYRO.MaxTorque = VT(40000,40000,40000)
1257
					local POSITION = IT("BodyPosition",RootPart)
1258
					POSITION.Position = RootPart.Position+VT(0,2,0)
1259
					POSITION.D = 450
1260
					POSITION.P = 40000
1261
					POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1262
					local TARGETTING = true
1263
					local HIT = false
1264
					local FIRES = {}
1265
					for _, c in pairs(Character:GetChildren()) do
1266
						if c:IsA("BasePart") then
1267
							local FLAME = Particles("BodyFire",c,true)
1268
							FLAME.Rate = 15
1269
							table.insert(FIRES,FLAME)
1270
						end
1271
					end
1272
					CreateSound(CHARGE,Torso,6,1,false)
1273
					coroutine.resume(coroutine.create(function()
1274
						repeat
1275
							GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
1276
							Swait()
1277
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1278
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1279
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1280
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1281
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1282
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1283
						until TARGETTING == false
1284
						repeat
1285
							GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
1286
							POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p
1287
							DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
1288
							Swait()
1289
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1290
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1291
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1292
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1293
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1294
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1295
						until HIT == true
1296
						POSITION:remove()
1297
						GYRO:remove()
1298
					end))
1299
					wait(0.5)
1300
					repeat wait() until HOLD == true
1301
					for _, c in pairs(Character:GetChildren()) do
1302
						if c:IsA("BasePart") then
1303
							local FLAME = Particles("BodyFire",c,true)
1304
							table.insert(FIRES,FLAME)
1305
						end
1306
					end
1307
					for _, c in pairs(Character:GetChildren()) do
1308
						if c:IsA("BasePart") then
1309
							c.Transparency = 1
1310
						end
1311
					end
1312
					TARGETTING = false
1313
					for i = 1, 100 do
1314
						wait()
1315
						if DISTANCE < 5 or DISTANCE >= 200 then
1316
							break
1317
						end
1318
					end
1319
					HIT = true
1320
					if DISTANCE < 5 then
1321
						for i = 1, #FIRES do
1322
							FIRES[i].Enabled = false
1323
						end
1324
						for _, c in pairs(HUM.Parent:GetChildren()) do
1325
							if c:IsA("BasePart") then
1326
								local FLAME = Particles("BodyFire",c,true)
1327
								table.insert(FIRES,FLAME)
1328
							end
1329
						end
1330
						CreateSound(FIREBALLSOUND,Torso,6,1,false)
1331
						RootPart.CFrame = TORSO.CFrame
1332
						local WELD = weldBetween(RootPart,TORSO)
1333
						repeat wait() until HOLD == true
1334
						CreateSound(416328540,Torso,6,1,false)
1335
						WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1336
						local bv = Instance.new("BodyVelocity") 
1337
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1338
						bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125
1339
						bv.Parent = TORSO
1340
						for i = 1, 70 do
1341
							wait(0.1)
1342
							if TORSO.Parent == nil then
1343
								break
1344
							end
1345
							WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1346
						end
1347
						UNANCHOR = false
1348
						bv:remove()
1349
						wait(1)
1350
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1351
						CreateSound(FIREBALLSOUND,Torso,6,1,false)
1352
						UNANCHOR = true
1353
						local bv = Instance.new("BodyVelocity") 
1354
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1355
						bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
1356
						bv.Parent = TORSO
1357
						local LANDED = false
1358
						for i = 1, 500 do
1359
							wait()
1360
							Ignore = {Character,HUM.Parent}
1361
							WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1362
							local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1363
							local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
1364
							if HITFLOOR or FULLREGEN == true then
1365
								LANDED = true
1366
								break
1367
							end
1368
							if TORSO.Parent == nil then
1369
								break
1370
							end
1371
						end
1372
						if TORSO.Parent ~= nil then
1373
							UNANCHOR = false
1374
							bv:remove()
1375
							wait(1)
1376
							WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Dark indigo".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1377
							CreateSound(FIREBALLSOUND,Torso,6,1,false)
1378
							UNANCHOR = true
1379
							local bv = Instance.new("BodyVelocity") 
1380
							bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1381
							bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
1382
							bv.Parent = TORSO
1383
							local LANDED = false
1384
							for i = 1, 500 do
1385
								wait()
1386
								Ignore = {Character,HUM.Parent}
1387
								WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.9, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1388
								local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1389
								local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
1390
								if HITFLOOR or FULLREGEN == true then
1391
									LANDED = true
1392
									break
1393
								end
1394
								if TORSO.Parent == nil then
1395
									break
1396
								end
1397
							end
1398
							bv:remove()
1399
							if LANDED == true then
1400
								UNANCHOR = false
1401
								for i = 1, 10 do
1402
									ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1403
								end
1404
								CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false)
1405
								CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false)
1406
								Particles("ExplosionFire1",TORSO,120)
1407
								for i = 1, 15 do
1408
									WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1409
								end
1410
								WELD:remove()
1411
								wait(0.3)
1412
								UNANCHOR = true
1413
							else
1414
								WELD:remove()
1415
							end
1416
						end
1417
					end
1418
					for i = 1, #FIRES do
1419
						FIRES[i].Enabled = false
1420
						Debris:AddItem(FIRES[i],5)
1421
					end
1422
					for _, c in pairs(Character:GetChildren()) do
1423
						if c:IsA("BasePart") and c ~= RootPart then
1424
							c.Transparency = 0
1425
						end
1426
					end
1427
					RootPart.Velocity = VT(0,0,0)
1428
					ATTACK = false
1429
					Rooted = false
1430
				end
1431
			end
1432
		end
1433
	end
1434
end
1435
1436
function Spitter()
1437
	ATTACK = true
1438
	Rooted = true
1439
	local GYRO = IT("BodyGyro",RootPart)
1440
	GYRO.D = 20
1441
	GYRO.P = 4000
1442
	GYRO.MaxTorque = VT(40000,40000,40000)
1443
	local POSITION = IT("BodyPosition",RootPart)
1444
	POSITION.Position = RootPart.Position+VT(0,2,0)
1445
	POSITION.D = 450
1446
	POSITION.P = 40000
1447
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1448
	local FIRE = Particles("FistFire",RightArm,true)
1449
	CreateSound(CHARGE,RightArm,6,0.8,false)
1450
	coroutine.resume(coroutine.create(function()
1451
		repeat
1452
			Swait()
1453
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1454
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1455
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1456
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1457
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1458
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1459
			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)
1460
		until ATTACK == false
1461
		FIRE.LockedToPart = false
1462
		FIRE.Enabled = false
1463
		Debris:AddItem(FIRE,5)
1464
		GYRO:remove()
1465
		POSITION:remove()
1466
	end))
1467
	local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
1468
	MakeForm(FIREBALL,"Ball")
1469
	FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
1470
	local CORE = IT("Attachment",FIREBALL)
1471
	local FIRES = Particles("FireballFire1",CORE,true)
1472
	FIRES.Size = NumberSequence.new(0)
1473
	FIRES.LockedToPart = true
1474
	local LOOP = 0
1475
	repeat
1476
		Swait()
1477
		LOOP = LOOP + 1
1478
		if LOOP == 20 then
1479
			LOOP = 0
1480
			WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1481
		end
1482
		if FIREBALL.Size.X < 20 then
1483
			FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
1484
			FIRES.Size = NumberSequence.new(FIREBALL.Size.Y/1.5)
1485
			FIRES.Speed = NumberRange.new(0,FIREBALL.Size.Y/2)
1486
		end
1487
		FIRES.Enabled = true
1488
		FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
1489
	until KEYHOLD == false and FIREBALL.Size.X >= 10
1490
	CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
1491
	coroutine.resume(coroutine.create(function()
1492
		FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
1493
		local RANGE = 75
1494
		local FLAME = Particles("Field",CORE,true)
1495
		FLAME.Speed = NumberRange.new(0,FIREBALL.Size.X*5)
1496
		FLAME.Size = NumberSequence.new(0,25)
1497
		for i = 1, 600 do
1498
			LOOP = LOOP + 1
1499
			if LOOP == 20 then
1500
				LOOP = 0
1501
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
1502
				WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1503
			end
1504
			Swait()
1505
			FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
1506
			local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
1507
			if HIT then
1508
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1509
				CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
1510
				CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
1511
				for i = 1, 3 do
1512
					WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1513
				end
1514
				for i = 1, 3 do
1515
					WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1516
				end
1517
				Particles("ExplosionFire1",FIREBALL,1200)
1518
				for i = 1, 15 do
1519
					WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X*10,FIREBALL.Size.X*10,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1520
				end
1521
				break
1522
			end
1523
		end
1524
		FLAME.Enabled = false
1525
		FIRES.Enabled = false
1526
		for i = 1, 10 do
1527
			Swait()
1528
			FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
1529
		end
1530
		Debris:AddItem(FIREBALL,5)
1531
	end))
1532
	wait(0.5)
1533
	ATTACK = false
1534
	Rooted = false
1535
end
1536
1537
function Devastor()
1538
	ATTACK = true
1539
	Rooted = true
1540
	local POSITION = IT("BodyPosition",RootPart)
1541
	POSITION.Position = RootPart.Position+VT(0,2,0)
1542
	POSITION.D = 450
1543
	POSITION.P = 40000
1544
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1545
	local FIRE = Particles("FistFire",RightArm,true)
1546
	local FIRE2 = Particles("FistFire",LeftArm,true)
1547
	CreateSound(CHARGE,Torso,6,1,false)
1548
	local NEWANIM = false
1549
	coroutine.resume(coroutine.create(function()
1550
		repeat
1551
			Swait()
1552
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1553
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1554
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1555
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1556
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1557
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1558
		until ATTACK == false or NEWANIM == true
1559
		if NEWANIM == true then
1560
			local GYRO = IT("BodyGyro",RootPart)
1561
			GYRO.D = 20
1562
			GYRO.P = 4000
1563
			GYRO.MaxTorque = VT(40000,40000,40000)
1564
			repeat
1565
				Swait()
1566
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1567
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1568
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1569
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1570
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1571
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1572
				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)
1573
			until ATTACK == false
1574
			GYRO:remove()
1575
		end
1576
		POSITION:remove()
1577
		FIRE.LockedToPart = false
1578
		FIRE.Enabled = false
1579
		Debris:AddItem(FIRE,5)
1580
		FIRE2.LockedToPart = false
1581
		FIRE2.Enabled = false
1582
		Debris:AddItem(FIRE2,5)
1583
	end))
1584
	local FIRETABLE = {}
1585
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
1586
	MakeForm(ORB,"Ball")
1587
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
1588
	local A = IT("Attachment",ORB)
1589
	local FIRES = Particles("FireballFire1",A,true)
1590
	FIRES.Size = NumberSequence.new(0)
1591
	FIRES.LockedToPart = true
1592
	local LOOP = 0
1593
	for i = 1, 200 do
1594
		Swait()
1595
		LOOP = LOOP + 1
1596
		if LOOP >= 30 then
1597
			LOOP = 0
1598
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1599
		end
1600
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1601
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1602
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1603
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1604
		FIRES.Enabled = true
1605
	end
1606
	RightArm.Transparency = 1
1607
	LeftArm.Transparency = 1
1608
	FIRE.Enabled = false
1609
	FIRE2.Enabled = false
1610
	for _, c in pairs(Character:GetChildren()) do
1611
		if c:IsA("BasePart") then
1612
			local FLAME = Particles("BodyFire",c,true)
1613
			table.insert(FIRETABLE,FLAME)
1614
		end
1615
	end
1616
	CreateSound(CHARGE,Torso,6,0.5,false)
1617
	for i = 1, 200 do
1618
		Swait()
1619
		LOOP = LOOP + 1
1620
		if LOOP >= 30 then
1621
			LOOP = 0
1622
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1623
		end
1624
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1625
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1626
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1627
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1628
		FIRES.Enabled = true
1629
	end
1630
	for _, c in pairs(Character:GetChildren()) do
1631
		if c:IsA("BasePart") then
1632
			c.Transparency = 1
1633
		end
1634
	end
1635
	for i = 1, #FIRETABLE do
1636
		FIRETABLE[i].Enabled = false
1637
		Debris:AddItem(FIRETABLE[i],5)
1638
	end
1639
	for i = 1, 400 do
1640
		Swait()
1641
		LOOP = LOOP + 1
1642
		if LOOP >= 30 then
1643
			LOOP = 0
1644
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1645
		end
1646
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1647
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1648
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1649
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1650
		FIRES.Enabled = true
1651
	end
1652
	wait(0.5)
1653
	FIRES.Lifetime = NumberRange.new(2,5)
1654
	FIRES.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,ORB.Size.Y/1.5),NumberSequenceKeypoint.new(0.5,ORB.Size.Y/2),NumberSequenceKeypoint.new(1,0)})
1655
	FIRES.LockedToPart = false
1656
	CreateSound(FIREBALLSOUND,Effects,4,1,false)
1657
	coroutine.resume(coroutine.create(function()
1658
		ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
1659
		for i = 1, 1200 do
1660
			Swait()
1661
			ORB.CFrame = ORB.CFrame*CF(0,0,-1)
1662
			local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
1663
			if HIT then
1664
				break
1665
			end
1666
		end
1667
		for i = 1, 6 do
1668
			ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1669
			CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
1670
			CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
1671
			for i = 1, 3 do
1672
				WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1673
			end
1674
			for i = 1, 3 do
1675
				WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1676
			end
1677
			for i = 1, 15 do
1678
				WACKYEFFECT({Time = 120+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(ORB.Size.X*30,15,ORB.Size.X*30), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Steel blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1679
			end
1680
			wait(1)
1681
		end
1682
		FIRES.Enabled = false
1683
		for i = 1, 10 do
1684
			Swait()
1685
			ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
1686
		end
1687
		Debris:AddItem(ORB,5)
1688
	end))
1689
	wait(1)
1690
	FullBodyRegen()
1691
	ATTACK = false
1692
	Rooted = false
1693
end
1694
1695
--//=================================\\
1696
--||	 	 	MISC
1697
--\\=================================//
1698
1699
function Lock()
1700
	ATTACK = true
1701
	Rooted = true
1702
	local GYRO = IT("BodyGyro",RootPart)
1703
	GYRO.D = 50
1704
	GYRO.P = 4000
1705
	GYRO.MaxTorque = VT(40000,40000,40000)
1706
	local POSITION = IT("BodyPosition",RootPart)
1707
	POSITION.Position = RootPart.Position+VT(0,1,0)
1708
	POSITION.D = 450
1709
	POSITION.P = 40000
1710
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1711
	local FLINT = FLINTLOCK:Clone()
1712
	FLINTLOCK.Transparency = 1
1713
	FLINT.Parent = Character
1714
	local SHOT = false
1715
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, FLINT, CF(-0.05,-1.65,0) * ANGLES(RAD(180),RAD(0),RAD(0)), CF(0, 0, 0))
1716
	coroutine.resume(coroutine.create(function()
1717
		repeat
1718
			Swait()
1719
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1720
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1721
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1722
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1723
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1724
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1725
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1726
		until SHOT == true
1727
		CreateSound(213603013,RightArm,4,1,false)
1728
		local FROM = FLINT.CFrame*CF(0,1.043,0.231).p
1729
		local Ignore = Character
1730
		local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1731
		local TO = Mouse.Hit.p
1732
		local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Ignore)
1733
		if AIMHIT ~= nil then
1734
			if AIMHIT.Parent ~= Character then
1735
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1736
					local HUM = AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
1737
					if HUM then
1738
						ApplyDamage(HUM,MRANDOM(70,90))
1739
					end
1740
				end
1741
			end
1742
		end
1743
		local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0))
1744
		MakeForm(TRAIL,"Cyl")
1745
		local DIST = (FLINT.CFrame*CF(0,1.043,0.231).p - AIMPOS).Magnitude
1746
		TRAIL.Size = VT(0.1,DIST,0.1)
1747
		TRAIL.CFrame = CF(FLINT.CFrame*CF(0,1.043,0.231).p, AIMPOS) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1748
		coroutine.resume(coroutine.create(function()
1749
			for i = 1, 5 do
1750
				Swait()
1751
				TRAIL.Transparency = TRAIL.Transparency + 0.1
1752
			end
1753
			TRAIL:remove()
1754
		end))
1755
		repeat
1756
			Swait()
1757
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1758
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1759
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1760
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1761
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1762
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1763
		until ATTACK == false
1764
		GYRO:remove()
1765
		POSITION:remove()
1766
		FLINT:remove()
1767
		FLINTLOCK.Transparency = 0
1768
	end))
1769
	wait(0.3)
1770
	SHOT = true
1771
	wait(0.5)
1772
	ATTACK = false
1773
	Rooted = false
1774
end
1775
1776
function Jupiter()
1777
	ATTACK = true
1778
	Rooted = true
1779
	local POSITION = IT("BodyPosition",RootPart)
1780
	POSITION.Position = RootPart.Position+VT(0,0.2,0)
1781
	POSITION.D = 450
1782
	POSITION.P = 40000
1783
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1784
	coroutine.resume(coroutine.create(function()
1785
		repeat
1786
			Swait()
1787
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
1788
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1789
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1790
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1791
			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)
1792
			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)
1793
		until ATTACK == false
1794
	end))
1795
	wait(0.5)
1796
	repeat wait() until KEYHOLD == false
1797
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Shamrock".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
1798
	POSITION:remove()
1799
	RootPart.Velocity = VT(0,150,0)
1800
	ATTACK = false
1801
	Rooted = false
1802
end
1803
1804
function Taunt()
1805
	ATTACK = true
1806
	Rooted = true
1807
	local TAUNT = CreateSound(159882303,Torso,10,1,false)
1808
	coroutine.resume(coroutine.create(function()
1809
		repeat
1810
			Swait()
1811
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1812
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1813
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1814
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1815
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1816
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1817
		until ATTACK == false
1818
	end))
1819
	repeat wait() until TAUNT.Playing == false
1820
	ATTACK = false
1821
	Rooted = false
1822
end
1823
1824
--//=================================\\
1825
--||	  ASSIGN THINGS TO KEYS
1826
--\\=================================//
1827
1828
function MouseDown(Mouse)
1829
	HOLD = true
1830
	if ATTACK == false then
1831
	end
1832
end
1833
1834
function MouseUp(Mouse)
1835
	HOLD = false
1836
end
1837
1838
local MUSIC = CreateSound(285883918,Character,3,1,true)
1839
1840
function KeyDown(Key)
1841
	KEYHOLD = true
1842
	if ATTACK == false and FULLREGEN == false then
1843
		if Key == "z" then
1844
			Fireball()
1845
		end
1846
	
1847
		if Key == "b" and FIREFIELD == false and SEARING == false then
1848
			FireField()
1849
		end
1850
	
1851
		if Key == "c" and SEARING == false then
1852
			SearingForm()
1853
		end
1854
	
1855
		if Key == "v" and SEARING == false then
1856
			SearingOrb()
1857
		end
1858
1859
		if Key == "q" and SEARING == false then
1860
			Shroud()
1861
		end
1862
1863
		if Key == "x" and SEARING == false then
1864
			Jupiter()
1865
			wait(2)
1866
			Devastor()
1867
		end
1868
	
1869
		if Key == "e" then
1870
			Spitter()
1871
		end
1872
1873
		if Key == "g" then
1874
			Lock()
1875
		end
1876
1877
		if Key == "j" then
1878
			Jupiter()
1879
		end
1880
1881
		if Key == "t" and SEARING == false then
1882
			Taunt()
1883
		end
1884
1885
		if Key == "h" then
1886
			if POSEIDON == false then
1887
				POSEIDON = true
1888
				CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false)
1889
			else
1890
				POSEIDON = false
1891
			end
1892
		end
1893
	end
1894
1895
	if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
1896
		repeat
1897
			VALUE2 = true
1898
			Swait()
1899
			BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
1900
		until KEYHOLD == false
1901
		VALUE2 = false
1902
	end
1903
1904
	if string.byte(Key) == 50 and ATTACK == false then
1905
		if Speed == 16 then
1906
			Speed = 45
1907
		elseif Speed == 45 then
1908
			Speed = 16
1909
		end
1910
	end
1911
1912
	if Key == "1" then
1913
		MUSIC:Play()
1914
		CHOSENSONG = CHOSENSONG + 1
1915
		if CHOSENSONG > #SONGS then
1916
			CHOSENSONG = 1
1917
		end
1918
	end
1919
end
1920
1921
function KeyUp(Key)
1922
	KEYHOLD = false
1923
end
1924
1925
	Mouse.Button1Down:connect(function(NEWKEY)
1926
		MouseDown(NEWKEY)
1927
	end)
1928
	Mouse.Button1Up:connect(function(NEWKEY)
1929
		MouseUp(NEWKEY)
1930
	end)
1931
	Mouse.KeyDown:connect(function(NEWKEY)
1932
		KeyDown(NEWKEY)
1933
	end)
1934
	Mouse.KeyUp:connect(function(NEWKEY)
1935
		KeyUp(NEWKEY)
1936
	end)
1937
1938
--//=================================\\
1939
--\\=================================//
1940
1941
function unanchor()
1942
	if UNANCHOR == true then
1943
		for _, c in pairs(Character:GetChildren()) do
1944
			if c:IsA("BasePart") then
1945
				c.Anchored = false
1946
			end
1947
		end
1948
	else
1949
		for _, c in pairs(Character:GetChildren()) do
1950
			if c:IsA("BasePart") then
1951
				c.Anchored = true
1952
			end
1953
		end
1954
	end
1955
end
1956
1957
--//=================================\\
1958
--||	WRAP THE WHOLE SCRIPT UP
1959
--\\=================================//
1960
1961
Humanoid.Changed:connect(function(Jump)
1962
	if Jump == "Jump" and (Disable_Jump == true) then
1963
		Humanoid.Jump = false
1964
	end
1965
end)
1966
1967
local LOOP = 0
1968
1969
while true do
1970
	Swait()
1971
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1972
		Humanoid = IT("Humanoid",Character)
1973
	end
1974
	Effects.Parent = Character
1975
	script.Parent = WEAPONGUI
1976
	ANIMATE.Parent = nil
1977
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1978
	    v:Stop();
1979
	end
1980
	SINE = SINE + CHANGE
1981
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1982
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1983
	Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects}
1984
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1985
	local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore)
1986
	local WALKSPEEDVALUE = 5
1987
	if SEARING == false then
1988
		if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
1989
			if Humanoid.WalkSpeed <= 20 then
1990
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
1991
				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) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1992
				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) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
1993
				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) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
1994
			elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
1995
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
1996
				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*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1997
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -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)
1998
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 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)
1999
			end
2000
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
2001
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2002
			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)
2003
			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)
2004
			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)
2005
		end
2006
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2007
			ANIM = "Jump"
2008
			if ATTACK == false then
2009
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2010
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2011
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2012
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2013
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
2014
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
2015
		    end
2016
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2017
			ANIM = "Fall"
2018
			if ATTACK == false then
2019
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(8*COS(SINE / 6))), 1 / Animation_Speed)
2020
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-8*COS(SINE / 6))), 1 / Animation_Speed)
2021
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2022
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2023
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
2024
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
2025
			end
2026
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2027
			ANIM = "Idle"
2028
			if ATTACK == false then
2029
				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(25)), 1 / Animation_Speed)
2030
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
2031
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2032
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 1 * COS(SINE / 12)), RAD(25), RAD(20 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2033
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2034
				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)), 1 / Animation_Speed)
2035
			end
2036
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2037
			ANIM = "Walk"
2038
			if ATTACK == false then
2039
				if Humanoid.WalkSpeed <= 20 then
2040
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2041
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2042
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
2043
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
2044
					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)
2045
					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)
2046
				elseif Humanoid.WalkSpeed > 20 then
2047
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2048
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2049
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2050
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2051
					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)
2052
					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)
2053
				end
2054
			end
2055
		end
2056
	elseif SEARING == true then
2057
		if APPLYGYRO == true then
2058
			if VALUE2 == false and DIRECTTURN == false then
2059
				if GYRO ~= nil then
2060
					GYRO.MaxTorque = VT(0,40000,0)
2061
					GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2062
				end
2063
			else
2064
				if GYRO ~= nil then
2065
					GYRO.MaxTorque = VT(80000,40000,80000)
2066
					GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2067
				end
2068
			end
2069
		end
2070
		if VALUE2 == false and ATTACK == false then
2071
			ANIM = "IdleFlight"
2072
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2073
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2074
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2075
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2076
			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)
2077
			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)
2078
		elseif VALUE2 == true and ATTACK == false then
2079
			ANIM = "Flight"
2080
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
2081
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2082
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
2083
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2084
			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)
2085
			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)
2086
		end
2087
	end
2088
	unanchor()
2089
	Humanoid.MaxHealth = "inf"
2090
	Humanoid.Health = "inf"
2091
	if Rooted == false then
2092
		Disable_Jump = false
2093
		Humanoid.WalkSpeed = Speed
2094
	elseif Rooted == true then
2095
		Disable_Jump = true
2096
		Humanoid.WalkSpeed = 0
2097
	end
2098
	Regen()
2099
	if Head:FindFirstChild("face") then
2100
		Head.face.Texture = "rbxassetid://608798717"
2101
		Head.face.Transparency = Head.Transparency
2102
	end
2103
	for _, c in pairs(Character:GetDescendants()) do
2104
		if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then
2105
			c:remove()
2106
		end
2107
		if c.ClassName == "ParticleEmitter" then
2108
			if c.Name ~= "Regen" and c.Name ~= "Regen2" and c.Name ~= "CurseParticles" and c.Parent.Parent == Character then
2109
				c:remove()
2110
			end
2111
		end
2112
		if c and c.Parent then
2113
			if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
2114
				local ACCESSORY = c.Parent
2115
				c.Parent = Character
2116
				local REGENVALUE = IT("BoolValue",c)
2117
				REGENVALUE.Name = "IsRegening"
2118
				table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
2119
				if c then
2120
					if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
2121
						local WELD = weldBetween(Head,c)
2122
						table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
2123
					else
2124
						local WELD = weldBetween(Torso,c)
2125
						table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
2126
					end
2127
				end
2128
				ACCESSORY:remove()
2129
			end
2130
		end
2131
	end
2132
	for _, c in pairs(Character:GetChildren()) do
2133
		if SEARING == true and c:IsA("BasePart") then
2134
			c.Transparency = 1
2135
		end
2136
	end
2137
	MUSIC.Parent = Character
2138
	MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG]
2139
	MUSIC.Pitch = 1
2140
	if CHOSENSONG ~= 5 then
2141
		MUSIC.Volume = 2
2142
	else
2143
		MUSIC.Volume = 4
2144
	end 
2145
	MUSIC.Playing = true
2146
	if POSEIDON == true and FULLREGEN == false then
2147
		LOOP = LOOP + 1
2148
		local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
2149
		FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))
2150
		FLOOR.CanCollide = true
2151
		Debris:AddItem(FLOOR,0.2)
2152
		local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
2153
		FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0))
2154
		FLOOR.CanCollide = true
2155
		Debris:AddItem(FLOOR,0.2)
2156
		if LOOP >= 5 then
2157
			LOOP = 0
2158
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Shamrock".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2159
		end
2160
	end
2161
	RootJoint.Parent = RootPart
2162
	Humanoid.DisplayDistanceType = "None"
2163
	Humanoid.Name = "Searing Emperor"
2164
end
2165
2166
--//=================================\\
2167
--\\=================================//
2168
2169
2170
2171
2172
2173
--//====================================================\\--
2174
--||			  		 END OF SCRIPT
2175
--\\====================================================//--
2176
end))
2177
ParticleEmitter1.Name = "Regen"
2178
ParticleEmitter1.Parent = LocalScript0
2179
ParticleEmitter1.Speed = NumberRange.new(1, 1)
2180
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
2181
ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2182
ParticleEmitter1.Enabled = false
2183
ParticleEmitter1.LightEmission = 0.89999997615814
2184
ParticleEmitter1.Texture = "rbxassetid://296874871"
2185
ParticleEmitter1.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2186
ParticleEmitter1.ZOffset = 1
2187
ParticleEmitter1.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
2188
ParticleEmitter1.Acceleration = Vector3.new(0, 3, 0)
2189
ParticleEmitter1.Drag = 3
2190
ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
2191
ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
2192
ParticleEmitter1.Rate = 300
2193
ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
2194
ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
2195
ParticleEmitter1.VelocitySpread = 360
2196
ParticleEmitter2.Name = "Regen2"
2197
ParticleEmitter2.Parent = LocalScript0
2198
ParticleEmitter2.Speed = NumberRange.new(1, 1)
2199
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
2200
ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2201
ParticleEmitter2.Enabled = false
2202
ParticleEmitter2.LightEmission = 0.89999997615814
2203
ParticleEmitter2.Texture = "rbxassetid://296874871"
2204
ParticleEmitter2.Transparency = NumberSequence.new(1,1,0.7704918384552,0.29508197307587,0.24590164422989,0.37704920768738,0.62841534614563,0.90710383653641,1)
2205
ParticleEmitter2.ZOffset = 1
2206
ParticleEmitter2.Size = NumberSequence.new(0,0.81967234611511,0.7103830575943,0.49180328845978,0)
2207
ParticleEmitter2.Drag = 5
2208
ParticleEmitter2.EmissionDirection = Enum.NormalId.Right
2209
ParticleEmitter2.Lifetime = NumberRange.new(1, 1)
2210
ParticleEmitter2.Rate = 70
2211
ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
2212
ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
2213
ParticleEmitter2.VelocitySpread = 360
2214
BillboardGui3.Name = "NameGui"
2215
BillboardGui3.Parent = LocalScript0
2216
BillboardGui3.Enabled = false
2217
BillboardGui3.Size = UDim2.new(7.5, 0, 1.5, 0)
2218
BillboardGui3.AlwaysOnTop = true
2219
BillboardGui3.MaxDistance = 70
2220
BillboardGui3.SizeOffset = Vector2.new(0, 4)
2221
TextLabel4.Name = "PlayerName"
2222
TextLabel4.Parent = BillboardGui3
2223
TextLabel4.Transparency = 1
2224
TextLabel4.Size = UDim2.new(1, 0, 1, 0)
2225
TextLabel4.BackgroundColor = BrickColor.new("Institutional white")
2226
TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
2227
TextLabel4.BackgroundTransparency = 1
2228
TextLabel4.BorderColor = BrickColor.new("Institutional white")
2229
TextLabel4.BorderColor3 = Color3.new(1, 1, 1)
2230
TextLabel4.BorderSizePixel = 0
2231
TextLabel4.Font = Enum.Font.Antique
2232
TextLabel4.FontSize = Enum.FontSize.Size14
2233
TextLabel4.Text = "Shackluster"
2234
TextLabel4.TextColor = BrickColor.new("Sand violet metallic")
2235
TextLabel4.TextColor3 = Color3.new(0.580392, 0.580392, 0.580392)
2236
TextLabel4.TextScaled = true
2237
TextLabel4.TextSize = 14
2238
TextLabel4.TextStrokeColor3 = Color3.new(0.337255, 0.337255, 0.337255)
2239
TextLabel4.TextStrokeTransparency = 0
2240
TextLabel4.TextWrap = true
2241
TextLabel4.TextWrapped = true
2242
TextLabel5.Name = "Title"
2243
TextLabel5.Parent = BillboardGui3
2244
TextLabel5.Position = UDim2.new(-0.75, 0, 0.899999976, 0)
2245
TextLabel5.Transparency = 1
2246
TextLabel5.Size = UDim2.new(2.5, 0, 1.5, 0)
2247
TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
2248
TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
2249
TextLabel5.BackgroundTransparency = 1
2250
TextLabel5.BorderColor = BrickColor.new("Institutional white")
2251
TextLabel5.BorderColor3 = Color3.new(1, 1, 1)
2252
TextLabel5.BorderSizePixel = 0
2253
TextLabel5.Font = Enum.Font.Antique
2254
TextLabel5.FontSize = Enum.FontSize.Size14
2255
TextLabel5.Text = "The Searing Emperor"
2256
TextLabel5.TextColor = BrickColor.new("Alder")
2257
TextLabel5.TextColor3 = Color3.new(0.666667, 0.333333, 1)
2258
TextLabel5.TextScaled = true
2259
TextLabel5.TextSize = 14
2260
TextLabel5.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
2261
TextLabel5.TextStrokeTransparency = 0
2262
TextLabel5.TextWrap = true
2263
TextLabel5.TextWrapped = true
2264
ParticleEmitter6.Name = "FistFire"
2265
ParticleEmitter6.Parent = LocalScript0
2266
ParticleEmitter6.Speed = NumberRange.new(3, 3)
2267
ParticleEmitter6.Rotation = NumberRange.new(0, 360)
2268
ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2269
ParticleEmitter6.Enabled = false
2270
ParticleEmitter6.LightEmission = 0.89999997615814
2271
ParticleEmitter6.Texture = "rbxassetid://296874871"
2272
ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.2896174788475,0.25683063268661,0.4426229596138,0.62841534614563,1)
2273
ParticleEmitter6.ZOffset = 1
2274
ParticleEmitter6.Size = NumberSequence.new(0,0,0.7103830575943,0.49180328845978,0)
2275
ParticleEmitter6.Acceleration = Vector3.new(0, 3, 0)
2276
ParticleEmitter6.Drag = 1
2277
ParticleEmitter6.EmissionDirection = Enum.NormalId.Bottom
2278
ParticleEmitter6.Lifetime = NumberRange.new(2, 2)
2279
ParticleEmitter6.LockedToPart = true
2280
ParticleEmitter6.Rate = 300
2281
ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
2282
ParticleEmitter6.SpreadAngle = Vector2.new(45, 45)
2283
ParticleEmitter6.VelocitySpread = 45
2284
LocalScript7.Name = "CamShake"
2285
LocalScript7.Parent = LocalScript0
2286
table.insert(cors,sandbox(LocalScript7,function()
2287
wait()
2288
VT = Vector3.new
2289
MRANDOM = math.random
2290
local A = nil
2291
local B = nil
2292
local C = nil
2293
local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
2294
for _, c in pairs(script:GetChildren()) do
2295
	if c.Name == "Timer" then
2296
		A = c.Value
2297
	elseif c.Name == "Shake" then
2298
		B = c.Value*5
2299
	elseif c.Name == "DoesFade" then
2300
		C = c.Value
2301
	end
2302
end
2303
local TIMER = A or 35
2304
local SHAKE = B or 5
2305
local FADE = C or true
2306
if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
2307
	if FADE == true then
2308
		local FADER = SHAKE/TIMER
2309
		for i = 1, TIMER do
2310
			wait()
2311
			HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
2312
		end
2313
		HUMANOID.CameraOffset = VT(0,0,0)
2314
	else
2315
		for i = 1, TIMER do
2316
			wait()
2317
			HUMANOID.CameraOffset = VT(MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10)
2318
		end
2319
		HUMANOID.CameraOffset = VT(0,0,0)
2320
	end
2321
end
2322
script:remove()
2323
end))
2324
LocalScript7.Disabled = true
2325
NumberValue8.Name = "Timer"
2326
NumberValue8.Parent = LocalScript7
2327
NumberValue8.Value = 35
2328
NumberValue9.Name = "Shake"
2329
NumberValue9.Parent = LocalScript7
2330
NumberValue9.Value = 5
2331
BoolValue10.Name = "DoesFade"
2332
BoolValue10.Parent = LocalScript7
2333
ParticleEmitter11.Name = "FireballFire2"
2334
ParticleEmitter11.Parent = LocalScript0
2335
ParticleEmitter11.Rotation = NumberRange.new(0, 360)
2336
ParticleEmitter11.Color = ColorSequence.new(Color3.new(0.14902, 0.886275, 1),Color3.new(0, 0.666667, 1))
2337
ParticleEmitter11.Enabled = false
2338
ParticleEmitter11.LightEmission = 0.89999997615814
2339
ParticleEmitter11.Texture = "rbxassetid://296874871"
2340
ParticleEmitter11.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2341
ParticleEmitter11.ZOffset = 2
2342
ParticleEmitter11.Size = NumberSequence.new(5,5,1.8032789230347,0)
2343
ParticleEmitter11.Drag = 1
2344
ParticleEmitter11.EmissionDirection = Enum.NormalId.Right
2345
ParticleEmitter11.Lifetime = NumberRange.new(0, 1.5)
2346
ParticleEmitter11.Rate = 9999
2347
ParticleEmitter11.RotSpeed = NumberRange.new(-56, 56)
2348
ParticleEmitter11.SpreadAngle = Vector2.new(360, 360)
2349
ParticleEmitter11.VelocitySpread = 360
2350
ParticleEmitter12.Name = "ExplosionFire2"
2351
ParticleEmitter12.Parent = LocalScript0
2352
ParticleEmitter12.Speed = NumberRange.new(7, 270)
2353
ParticleEmitter12.Rotation = NumberRange.new(0, 360)
2354
ParticleEmitter12.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2355
ParticleEmitter12.Enabled = false
2356
ParticleEmitter12.LightEmission = 0.89999997615814
2357
ParticleEmitter12.Texture = "rbxassetid://296874871"
2358
ParticleEmitter12.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2359
ParticleEmitter12.ZOffset = 1
2360
ParticleEmitter12.Size = NumberSequence.new(0,0.98360657691956,1.530054807663,0)
2361
ParticleEmitter12.Drag = 8
2362
ParticleEmitter12.EmissionDirection = Enum.NormalId.Right
2363
ParticleEmitter12.Lifetime = NumberRange.new(2, 4)
2364
ParticleEmitter12.Rate = 300
2365
ParticleEmitter12.RotSpeed = NumberRange.new(-56, 56)
2366
ParticleEmitter12.SpreadAngle = Vector2.new(360, 360)
2367
ParticleEmitter12.VelocitySpread = 360
2368
ParticleEmitter13.Name = "Field"
2369
ParticleEmitter13.Parent = LocalScript0
2370
ParticleEmitter13.Speed = NumberRange.new(20, 50)
2371
ParticleEmitter13.Rotation = NumberRange.new(0, 360)
2372
ParticleEmitter13.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2373
ParticleEmitter13.Enabled = false
2374
ParticleEmitter13.LightEmission = 0.89999997615814
2375
ParticleEmitter13.Texture = "rbxassetid://296874871"
2376
ParticleEmitter13.Transparency = NumberSequence.new(1,0.92349725961685,0.87978142499924,0.92349725961685,1)
2377
ParticleEmitter13.ZOffset = 1
2378
ParticleEmitter13.Size = NumberSequence.new(0,10)
2379
ParticleEmitter13.EmissionDirection = Enum.NormalId.Right
2380
ParticleEmitter13.Lifetime = NumberRange.new(2, 4)
2381
ParticleEmitter13.Rate = 999
2382
ParticleEmitter13.RotSpeed = NumberRange.new(-56, 56)
2383
ParticleEmitter13.SpreadAngle = Vector2.new(360, 360)
2384
ParticleEmitter13.VelocitySpread = 360
2385
ParticleEmitter14.Name = "BodyFire"
2386
ParticleEmitter14.Parent = LocalScript0
2387
ParticleEmitter14.Speed = NumberRange.new(1, 1)
2388
ParticleEmitter14.Rotation = NumberRange.new(0, 360)
2389
ParticleEmitter14.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2390
ParticleEmitter14.Enabled = false
2391
ParticleEmitter14.LightEmission = 0.89999997615814
2392
ParticleEmitter14.Texture = "rbxassetid://296874871"
2393
ParticleEmitter14.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
2394
ParticleEmitter14.ZOffset = 1
2395
ParticleEmitter14.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
2396
ParticleEmitter14.Acceleration = Vector3.new(0, 3, 0)
2397
ParticleEmitter14.Drag = 3
2398
ParticleEmitter14.EmissionDirection = Enum.NormalId.Right
2399
ParticleEmitter14.Lifetime = NumberRange.new(1, 1)
2400
ParticleEmitter14.Rate = 300
2401
ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
2402
ParticleEmitter14.SpreadAngle = Vector2.new(360, 360)
2403
ParticleEmitter14.VelocitySpread = 360
2404
ParticleEmitter15.Name = "WingFire1"
2405
ParticleEmitter15.Parent = LocalScript0
2406
ParticleEmitter15.Speed = NumberRange.new(8, 8)
2407
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
2408
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2409
ParticleEmitter15.Enabled = false
2410
ParticleEmitter15.LightEmission = 0.89999997615814
2411
ParticleEmitter15.Texture = "rbxassetid://296874871"
2412
ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2413
ParticleEmitter15.ZOffset = 1
2414
ParticleEmitter15.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
2415
ParticleEmitter15.Acceleration = Vector3.new(8, 5, -7)
2416
ParticleEmitter15.EmissionDirection = Enum.NormalId.Back
2417
ParticleEmitter15.Lifetime = NumberRange.new(2.5, 2.5)
2418
ParticleEmitter15.LockedToPart = true
2419
ParticleEmitter15.Rate = 300
2420
ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
2421
ParticleEmitter15.SpreadAngle = Vector2.new(15, 5)
2422
ParticleEmitter15.VelocitySpread = 15
2423
ParticleEmitter16.Name = "WingFire2"
2424
ParticleEmitter16.Parent = LocalScript0
2425
ParticleEmitter16.Speed = NumberRange.new(8, 8)
2426
ParticleEmitter16.Rotation = NumberRange.new(0, 360)
2427
ParticleEmitter16.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2428
ParticleEmitter16.Enabled = false
2429
ParticleEmitter16.LightEmission = 0.89999997615814
2430
ParticleEmitter16.Texture = "rbxassetid://296874871"
2431
ParticleEmitter16.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2432
ParticleEmitter16.ZOffset = 1
2433
ParticleEmitter16.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
2434
ParticleEmitter16.Acceleration = Vector3.new(-8, 5, -7)
2435
ParticleEmitter16.EmissionDirection = Enum.NormalId.Back
2436
ParticleEmitter16.Lifetime = NumberRange.new(2.5, 2.5)
2437
ParticleEmitter16.LockedToPart = true
2438
ParticleEmitter16.Rate = 300
2439
ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
2440
ParticleEmitter16.SpreadAngle = Vector2.new(15, 5)
2441
ParticleEmitter16.VelocitySpread = 15
2442
ParticleEmitter17.Name = "ExplosionFire1"
2443
ParticleEmitter17.Parent = LocalScript0
2444
ParticleEmitter17.Speed = NumberRange.new(7, 670)
2445
ParticleEmitter17.Rotation = NumberRange.new(0, 360)
2446
ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2447
ParticleEmitter17.Enabled = false
2448
ParticleEmitter17.LightEmission = 0.89999997615814
2449
ParticleEmitter17.Texture = "rbxassetid://296874871"
2450
ParticleEmitter17.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2451
ParticleEmitter17.ZOffset = 1
2452
ParticleEmitter17.Size = NumberSequence.new(10,10,7.0491800308228,0)
2453
ParticleEmitter17.Drag = 5
2454
ParticleEmitter17.EmissionDirection = Enum.NormalId.Right
2455
ParticleEmitter17.Lifetime = NumberRange.new(2, 4)
2456
ParticleEmitter17.Rate = 300
2457
ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
2458
ParticleEmitter17.SpreadAngle = Vector2.new(360, 360)
2459
ParticleEmitter17.VelocitySpread = 360
2460
ParticleEmitter18.Name = "FireballFire1"
2461
ParticleEmitter18.Parent = LocalScript0
2462
ParticleEmitter18.Rotation = NumberRange.new(0, 360)
2463
ParticleEmitter18.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2464
ParticleEmitter18.Enabled = false
2465
ParticleEmitter18.LightEmission = 0.89999997615814
2466
ParticleEmitter18.Texture = "rbxassetid://296874871"
2467
ParticleEmitter18.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2468
ParticleEmitter18.ZOffset = 1
2469
ParticleEmitter18.Size = NumberSequence.new(10,10,7.0491800308228,0)
2470
ParticleEmitter18.Drag = 1
2471
ParticleEmitter18.EmissionDirection = Enum.NormalId.Right
2472
ParticleEmitter18.Lifetime = NumberRange.new(0, 1.5)
2473
ParticleEmitter18.Rate = 9999
2474
ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
2475
ParticleEmitter18.SpreadAngle = Vector2.new(360, 360)
2476
ParticleEmitter18.VelocitySpread = 360
2477
ParticleEmitter19.Name = "FireballFire3"
2478
ParticleEmitter19.Parent = LocalScript0
2479
ParticleEmitter19.Rotation = NumberRange.new(0, 360)
2480
ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2481
ParticleEmitter19.Enabled = false
2482
ParticleEmitter19.LightEmission = 0.89999997615814
2483
ParticleEmitter19.Texture = "rbxassetid://296874871"
2484
ParticleEmitter19.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2485
ParticleEmitter19.ZOffset = 1
2486
ParticleEmitter19.Size = NumberSequence.new(2.7868854999542,4.4808745384216,4.5901637077332,0)
2487
ParticleEmitter19.Drag = 1
2488
ParticleEmitter19.EmissionDirection = Enum.NormalId.Right
2489
ParticleEmitter19.Lifetime = NumberRange.new(0, 1.5)
2490
ParticleEmitter19.Rate = 9999
2491
ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
2492
ParticleEmitter19.SpreadAngle = Vector2.new(360, 360)
2493
ParticleEmitter19.VelocitySpread = 360
2494
ParticleEmitter20.Name = "DebrisFire"
2495
ParticleEmitter20.Parent = LocalScript0
2496
ParticleEmitter20.Speed = NumberRange.new(2, 2)
2497
ParticleEmitter20.Rotation = NumberRange.new(0, 360)
2498
ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2499
ParticleEmitter20.Enabled = false
2500
ParticleEmitter20.LightEmission = 0.89999997615814
2501
ParticleEmitter20.Texture = "rbxassetid://296874871"
2502
ParticleEmitter20.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
2503
ParticleEmitter20.ZOffset = 1
2504
ParticleEmitter20.Size = NumberSequence.new(2.677595615387,3.9890713691711,4.6448087692261,3.8251371383667,0)
2505
ParticleEmitter20.Acceleration = Vector3.new(0, 25, 0)
2506
ParticleEmitter20.Drag = 3
2507
ParticleEmitter20.EmissionDirection = Enum.NormalId.Right
2508
ParticleEmitter20.Lifetime = NumberRange.new(0, 3)
2509
ParticleEmitter20.Rate = 300
2510
ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
2511
ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
2512
ParticleEmitter20.VelocitySpread = 360
2513
Part21.Name = "Pauldrons"
2514
Part21.Parent = LocalScript0
2515
Part21.CFrame = CFrame.new(47.1000023, 21.5235691, 58.9999733, -1, 0, 0, 0, 1, 0, 0, 0, -1)
2516
Part21.Orientation = Vector3.new(0, 180, 0)
2517
Part21.Position = Vector3.new(47.1000023, 21.5235691, 58.9999733)
2518
Part21.Rotation = Vector3.new(-180, 0, -180)
2519
Part21.Transparency = 1
2520
Part21.Size = Vector3.new(3.4000001, 2.20000005, 1)
2521
Part21.Anchored = true
2522
Part21.BottomSurface = Enum.SurfaceType.Smooth
2523
Part21.CanCollide = false
2524
Part21.Locked = true
2525
Part21.TopSurface = Enum.SurfaceType.Smooth
2526
Part21.FormFactor = Enum.FormFactor.Custom
2527
Part21.formFactor = Enum.FormFactor.Custom
2528
SpecialMesh22.Parent = Part21
2529
SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=204454962 "
2530
SpecialMesh22.TextureId = "rbxassetid://855840122"
2531
SpecialMesh22.MeshType = Enum.MeshType.FileMesh
2532
Folder23.Name = "Package"
2533
Folder23.Parent = LocalScript0
2534
CharacterMesh24.Parent = Folder23
2535
CharacterMesh24.BodyPart = Enum.BodyPart.Torso
2536
CharacterMesh24.MeshId = 27111894
2537
CharacterMesh25.Parent = Folder23
2538
CharacterMesh25.BodyPart = Enum.BodyPart.LeftLeg
2539
CharacterMesh25.MeshId = 27111857
2540
CharacterMesh26.Parent = Folder23
2541
CharacterMesh26.BodyPart = Enum.BodyPart.RightLeg
2542
CharacterMesh26.MeshId = 27111882
2543
CharacterMesh27.Name = "Superhero Left Arm"
2544
CharacterMesh27.Parent = Folder23
2545
CharacterMesh27.BodyPart = Enum.BodyPart.LeftArm
2546
CharacterMesh27.MeshId = 32328397
2547
CharacterMesh28.Name = "Superhero Right Arm"
2548
CharacterMesh28.Parent = Folder23
2549
CharacterMesh28.BodyPart = Enum.BodyPart.RightArm
2550
CharacterMesh28.MeshId = 32328563
2551
Part29.Name = "Flintlock"
2552
Part29.Parent = LocalScript0
2553
Part29.CFrame = CFrame.new(-11.2999983, 4.42351913, 92.0999756, -1, 0, 0, 0, -1, 0, 0, 0, 1)
2554
Part29.Orientation = Vector3.new(0, 0, 180)
2555
Part29.Position = Vector3.new(-11.2999983, 4.42351913, 92.0999756)
2556
Part29.Rotation = Vector3.new(0, 0, -180)
2557
Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
2558
Part29.Size = Vector3.new(1, 2, 1)
2559
Part29.Anchored = true
2560
Part29.BottomSurface = Enum.SurfaceType.Smooth
2561
Part29.BrickColor = BrickColor.new("Black")
2562
Part29.CanCollide = false
2563
Part29.Locked = true
2564
Part29.TopSurface = Enum.SurfaceType.Smooth
2565
Part29.brickColor = BrickColor.new("Black")
2566
Part29.FormFactor = Enum.FormFactor.Plate
2567
Part29.formFactor = Enum.FormFactor.Plate
2568
SpecialMesh30.Parent = Part29
2569
SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=13508017"
2570
SpecialMesh30.Scale = Vector3.new(1.5, 1.5, 1.5)
2571
SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=13508018"
2572
SpecialMesh30.MeshType = Enum.MeshType.FileMesh
2573
for i,v in pairs(mas:GetChildren()) do
2574
	v.Parent = workspace
2575
	pcall(function() v:MakeJoints() end)
2576
end
2577
mas:Destroy()
2578
for i,v in pairs(cors) do
2579
	spawn(function()
2580
		pcall(v)
2581
	end)
2582
end