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